Skip to content

Conversation

@jzempel
Copy link
Member

@jzempel jzempel commented Nov 14, 2024

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 the type="next" option, indicating that there are selected options in the nested listbox.

Screenshot 2024-11-14 at 5 07 58 PM

Detail

Took the opportunity to clean up dropdowns storybook pattern demos:

  • moved button customization directly into the top-level Menu story
  • combined Menu & Combobox portal stories into one
  • moved existing Menu & new Combobox nested stories into one

Checklist

  • 👌 design updates will be Garden Designer approved (add the designer as a reviewer)
  • 🌐 demo is up-to-date (npm start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • ⚫ renders as expected in dark mode
  • 🤘 renders as expected with Bedrock CSS (?bedrock)
  • 💂‍♂️ includes new unit tests. Maintain existing coverage (always >= 96%)
  • ♿ tested for WCAG 2.1 AA accessibility compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

@jzempel jzempel requested a review from a team as a code owner November 14, 2024 22:15
'data-garden-version': PACKAGE_VERSION
})`
direction: ${props => (props.theme.rtl ? 'rtl' : 'ltr')};
text-align: start; /* [1] */
Copy link
Member Author

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.

@wiktoria-w
Copy link

This is a comment that makes it easier to find me ;)

@wiktoria-w
Copy link

Hi @jzempel I checked the pattern demo and it looks great!

Copy link
Contributor

@ze-flo ze-flo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! 🔥

Copy link
Contributor

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?

@jzempel jzempel merged commit 23e010e into main Nov 18, 2024
9 checks passed
@jzempel jzempel deleted the jzempel/indeterminate-combobox branch November 18, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants