-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RadioControl
: add support for option help text (#63751)
* Add support for help text * Alternative, help text is not part of the label and describes the option * More meaningful help text in example * CHANGELOG * Refactor existing usages from custom labels to using the `helpText` property * Use the Text component for the help text * helpText => description * Remove nested ternary * Reuse basecontrol help text styles * Tweak spacing * Rename Storybook example * Remove unused import * Move vertical spacing before help text from row-gap to padding * Increase horizontal gap between radio and label * Tweak spacing * Add unit tests * Rework calculating and assigning element IDs for labels and descriptions * Use correct classname modifier * Add test comment
- Loading branch information
Showing
9 changed files
with
403 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.