-
Notifications
You must be signed in to change notification settings - Fork 56
[OUDS] feat(component): update control items to last versions #3239
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: tokenator-update-tokens-20251120163403
Are you sure you want to change the base?
[OUDS] feat(component): update control items to last versions #3239
Conversation
louismaximepiton
left a comment
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.
It's looking alright, just a few words are missing in the radio-button page and also maybe some changes need to be done in that same page regarding the fiedset element
|
|
||
| <ControlItem /> | ||
|
|
||
| #### Control items list |
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.
This architecture is missing in the radio-button page
| To add critical information to some of the options, add a `.radio-button-additional-label` as a sibling of a `.control-item-label`. Make sure the additional label is accessible by adding an `aria-describedby` attribute to the input. | ||
| To add critical information to some of the options, add a `.radio-button-extra-label` as a sibling of a `.control-item-label`. Make sure the extra label is accessible by adding an `aria-describedby` attribute to the input. | ||
|
|
||
| <Example code={`<div class="radio-button-item"> |
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.
I think we should have <fieldset> in this page as well https://www.w3.org/WAI/tutorials/forms/grouping/
|
|
||
| #### Checkboxes | ||
|
|
||
| - <span class="tag tag-small rounded-none tag-positive">New</span> Checkbox component has been updated to 2.4.0. Read more in our [checkbox page]([[docsref:/forms/checkbox]]). |
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.
I think this should be warning at least, since the DOM is updated
nilloq
left a comment
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.
Nice components, I just added a small comment
| Here is the associated JavaScript to set a checkbox as indeterminate. | ||
|
|
||
| ```javascript | ||
| const checkbox = document.getElementById('checkbox') |
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.
To be consistent with the above example, it should be
| const checkbox = document.getElementById('checkboxIndeterminate') |
Types of change
Related issues
Closes #3212 #3213 #3214
Context & Motivation
Description
Checklists
Checklist (for Core Team only)
Progression (for Core Team only)
ouds/mainfollowing conventional commitLive previews