-
Notifications
You must be signed in to change notification settings - Fork 77
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: 1020: Shellbar pass popoverProps to SearchInput #1091
Conversation
+ fix: productSwitch aria-label and its documentation + fix: popover props doc markdown
Deploy preview for fundamental-react ready! Built with commit cc344d1 |
//to always show search-results popup towards bottom | ||
disableEdgeDetection: true, | ||
placement: 'bottom' | ||
} |
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.
Should we add these as defaults (in shellbar only - not searchinput in general) for consumers that they can then override if they want to?
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.
Makes sense
/** For navigating between products. An object that contains an accessible label for product switch button. */ | ||
productSwitch: PropTypes.shape({ | ||
/** Accessible label for product switch button */ | ||
label: PropTypes.string.isRequired |
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.
👏 Should we mark this as a breaking change when merging since this is now required?
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.
LGTM 🚢 I know we have the issue going on with the snapshots but I think it's fine to merge this then fix the bug separately. It's up to you though
Description
With this change
placement='bottom'
anddisableEdgeDetection=true
productSwitch.label
productSwitch.label
prop is now requiredproductSwitch.label
prop documentedwidthSizingType
prop documentation markdown is fixed. Earlier, using MD codefixes #1020