braid-design-system@32.24.1
Patch Changes
-
BraidTestProvider: Provide
scrollIntoViewstub function for jsdom (#1590)Fixes an issue where
scrollIntoViewis not defined in jsdom, causing tests to fail with the following error:Error: Uncaught [TypeError: highlightedItem?.scrollIntoView is not a function] -
Autosuggest: Update suggestion group heading design (#1581)
Updating the design of the suggestion group headings, moving from
formAccenttosecondarytone, from all caps to provided casing, and fromxsmalltosmallsize. -
Text, Heading: Ensure
maxLinestruncates correctly when used as the direct child of a flex container. (#1580) -
Validate accessible field labels in development (#1591)
Introduce development-time validation for the
labelprop on form fields to guard against blank values and guide towards the alternative labelling options that are available.
This validation helps ensure that all fields are accessible to screen readers and other assistive technologies. -
Spread: Apply content width to children (#1583)
Align the behaviour of children in
Spreadto be the same asInlinechildren.
This makes their behaviour more predicatable when spreading full width elements, while also ensuring child elements are not stretched vertically. -
Icons: Support rendering inline as child of a flex container (#1585)