-
Notifications
You must be signed in to change notification settings - Fork 4.6k
UI: Add Fieldset primitives
#74296
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
base: trunk
Are you sure you want to change the base?
UI: Add Fieldset primitives
#74296
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 2.59 MB ℹ️ View Unchanged
|
Part of #74178
What?
Add
Fieldsetprimitive components to@wordpress/ui.Why?
These adopt the same label/description styles used in
BaseControlin@wordpress/components(andFieldin@wordpress/ui), but providefieldsetsemantics instead. They are modular from the outset, and based on Base UI.How?
A context-based
Descriptionsubcomponent is added by us to the Base UI components. This will be necessary in things like ourRadioControlreplacement, which has a description for the entire group.Testing Instructions
See stories in Storybook.
Screenshots or screencast