Skip to content

Conversation

@Jeremy-Walton
Copy link
Member

@Jeremy-Walton Jeremy-Walton commented Nov 3, 2025

Why?

Some projects have had the desire to utilize a segmented control for nicer form radio group selection.

What Changed

What changed in this PR?

  • Add new component
  • Update incorrect documentation still referencing placeholder selectors
  • Fix links between components in navigation
  • Update component generator template
    • No longer reference placeholder selectors
    • Include source code link
  • Flip dependency graph so components are above the base instead of the other way round
  • Bump version number to prep for release
  • Add simple form generator for Rails apps to easily use this control (and link in docs)
  • Add segmented control to form group grid definition
  • Add support for disabled state

Quality Assurance

  • Have you tagged the PR with the correct labels?
  • Have you validated the changes?
    • Have you run linters? (yarn sanity-check)
    • Have you run prettier?
    • Have you tried building the css?
    • Have you tried building storybook?
  • [ ] Have you updated any usage of changed tokens?
  • Did you add a component?
    • Have you added it to the dependency graph?
    • Have you added it to the docs?
  • [ ] Did you update a component?
    • [ ] Have you updated the dependency graph?
    • [ ] Have you updated the docs?
  • Do you need to update the package version?

Screenshots

Screenshot 2025-11-02 at 6 53 15 PM Screenshot 2025-11-02 at 6 53 21 PM Screenshot 2025-11-02 at 6 53 29 PM Screenshot 2025-11-02 at 6 53 35 PM Screenshot 2025-11-05 at 5 04 35 PM Screenshot 2025-11-05 at 5 02 35 PM Screenshot 2025-11-05 at 5 02 32 PM

@Jeremy-Walton Jeremy-Walton self-assigned this Nov 3, 2025
@Jeremy-Walton Jeremy-Walton added documentation Improvements or additions to documentation Components Changes to a component Repository Change Changes to the repository that don't affect the package code labels Nov 3, 2025
@Jeremy-Walton Jeremy-Walton marked this pull request as ready for review November 5, 2025 22:05
Copy link
Contributor

@theoluciano theoluciano left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍🏼

@Jeremy-Walton Jeremy-Walton merged commit 1b1d4a2 into main Nov 10, 2025
1 check passed
@Jeremy-Walton Jeremy-Walton deleted the segmented-control branch November 10, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Components Changes to a component documentation Improvements or additions to documentation Repository Change Changes to the repository that don't affect the package code

Development

Successfully merging this pull request may close these issues.

4 participants