Patch Changes
-
BraidTestProvider: Provide
scrollIntoView
stub function for jsdom (#1590)Fixes an issue where
scrollIntoView
is 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
formAccent
tosecondary
tone, from all caps to provided casing, and fromxsmall
tosmall
size. -
Text, Heading: Ensure
maxLines
truncates 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
label
prop 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
Spread
to be the same asInline
children.
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)