-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Masthead): React masthead alternate logo and tooltip options #4401
feat(Masthead): React masthead alternate logo and tooltip options #4401
Conversation
Deploy preview created for package Built with commit: 7ba924ba2bcb7d56e90c2aafb21b71b95663696d |
Deploy preview created for package Built with commit: 7ba924ba2bcb7d56e90c2aafb21b71b95663696d |
…am/carbon-for-ibm-dotcom into feat/custom-masthead-logo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Do we have a place where this can be demoed?
Not yet, I'll set up a Codesandbox with a mock example. |
Related Ticket(s)
#3906
Description
The masthead now accepts an optional logo options from IBM.com translation files which allows the setting of an alternate IBM logo to use, as well as an optional tooltip when the icon is hovered over. When an alternate logo is used, settings include an expiration date and allow/deny lists for controlling paths on which it can be displayed. The tooltip can be used with both default and alternate logos.
Changelog
New
MastheadLogo
service to determine whether an alternate logo can be used based on values passed in the objectMasthead
component now accepts options from IBM.com translations for an alternate logo and tooltipConditionalWrapper
componentChanged