-
Notifications
You must be signed in to change notification settings - Fork 91
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(dropdowns): add hasSelection
prop for use with <Option type="next">
#1971
Conversation
export const StyledField = styled.div.attrs({ | ||
'data-garden-id': COMPONENT_ID, | ||
'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! |
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
dropdowns
storybook pattern demos:button
customization directly into the top-levelMenu
storyMenu
&Combobox
portal stories into oneMenu
& newCombobox
nested stories into oneChecklist
npm start
)?bedrock
)