Skip to content
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

SegmentedControl improvements: keyboard interactions, composition, icon #149

Merged
merged 13 commits into from
Feb 17, 2025

Conversation

mkrause
Copy link
Collaborator

@mkrause mkrause commented Feb 13, 2025

Resolves #137, and part of #116.

This PR:

  • Updates SegmentedControl with a more standard keyboard interactions implementation that conforms to ARIA guidelines.
  • Refactors the component to use composition rather than a JSON prop for the child items.
  • Adds the ability to use an icon as a segmented control button (and buttons in general).

@mkrause mkrause changed the title (#137) Segmented control improvements Segmented control improvements Feb 13, 2025
@mkrause mkrause marked this pull request as ready for review February 14, 2025 15:22
@mkrause mkrause requested a review from spli02 February 14, 2025 15:22
@mkrause mkrause self-assigned this Feb 14, 2025
@mkrause mkrause added this to the Baklava v1.0 milestone Feb 17, 2025
@mkrause mkrause changed the title Segmented control improvements SegmentedControl: implement better keyboard accessibility Feb 17, 2025
@mkrause mkrause changed the title SegmentedControl: implement better keyboard accessibility SegmentedControl improvements: keyboard interactions, composition, icon Feb 17, 2025
@mkrause mkrause merged commit 96df86d into master Feb 17, 2025
2 checks passed
@mkrause mkrause deleted the feature/gh-137-segmented-control-improvements branch February 17, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SegmentedControl improvements
2 participants