braid-design-system@32.23.1
Patch Changes
-
RadioItem: Improve
checkedvisual affordance whendisabled(#1564)Improve the visual affordance of the
checkedstate whendisabledacross all themes and colour modes. -
MenuRenderer, OverflowMenu: Limit the menu height (#1567)
Limit the menu to show a maximum of around 10 items before scrolling (a little less so it's evident there is more to scroll to).
-
TextLink: Default to weak inside secondary tone (#1561)
Align the
secondarytone with other non-neutral text tones, making the foreground color of links inherit the tone of the wrappingTextcomponent.EXAMPLE USAGE:
In the following example theTextLinkwill now follow thesecondarytone from the wrappingTextcomponent:<Text tone="secondary"> <TextLink href="#">Link</TextLink> </Text>
Previously this would have retained the default link colour from the theme.
-
Standardise
disabled&criticalstate across form fields (#1564)Improves the consistency of form fields when combining both
disabledandcriticaltone, which includes:- Hiding
criticalborders - Hiding
messageand not reserving space for it unless explicitly providing thereserveMessageSpaceprop.
- Hiding