-
Notifications
You must be signed in to change notification settings - Fork 97
feat(dropdowns): add hasSelection prop for use with <Option type="next">
#1971
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
Conversation
| 'data-garden-version': PACKAGE_VERSION | ||
| })` | ||
| direction: ${props => (props.theme.rtl ? 'rtl' : 'ltr')}; | ||
| text-align: start; /* [1] */ |
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.
Took the opportunity to improve styling robustness.
|
This is a comment that makes it easier to find me ;) |
|
Hi @jzempel I checked the pattern demo and it looks great! |
ze-flo
left a comment
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.
Nice work! 🔥
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 plan on adding that example to Website?
Description
The new
<Option hasSelection>prop adds an indication the the nested listbox contains selected options. Implementations will be expected to add accessibly hidden text to thetype="next"option, indicating that there are selected options in the nested listbox.Detail
Took the opportunity to clean up
dropdownsstorybook pattern demos:buttoncustomization directly into the top-levelMenustoryMenu&Comboboxportal stories into oneMenu& newComboboxnested stories into oneChecklist
npm start)?bedrock)