-
Notifications
You must be signed in to change notification settings - Fork 17
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
Create SegmentedControl component #1635
Create SegmentedControl component #1635
Conversation
|
Visit the preview URL for this PR (updated for commit 68d7add): https://penumbra-ui-preview--pr1635-jessepinho-segmented-gabxck8d.web.app (expires Fri, 09 Aug 2024 22:32:11 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 709d729610ef7a6369b23f1cb2b820a60cc685b1 |
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.
…pages (#1634) * Add table title functionality * Start building v2 pages * Build out Identicon properly * Start building out assets table * Add truncate to Text * Add iconOnly='adornment' to Button * Create the new CopyToClipboardButton * Create Shrink0 util component * Create AddressViewComponent * Create initial SegmentedControl * Convert to using Radix's RadioGroup * Add docblock * Update hover overlay * Fix border * Rename 'reset' to 'buttonBase'; add a cursor * Use buttonBase elsewhere as well * Add type to props * Update AddressViewComponent tests * Delete code that will be part of another PR * Add tests * Delete SegmentedControl for now * Return null * Create SegmentedControl component (#1635) * Create SegmentedControl component * Add density tag
This PR creates a
<SegmentedControl />
component built on top of Radix's<RadioGroup />
component, making it fully accessible and keyboard-controllable.