braid-design-system@33.10.0
Minor Changes
-
Box, atoms: Add
stickytoposition. (#1806)EXAMPLE USAGE:
<Box position="sticky" top={0} ... />
-
Box, atoms: Deprecate
outlinevaluenone, andboxShadowvalueoutlineFocus. (#1810)Previously it was recommended to hide an element's
outlinein favour of usingboxShadow="outlineFocus".Braid now leverages the
outlineproperty directly, managing focus rings of interactive elements as part of its scoped CSS reset.MIGRATION GUIDE:
For styling the focus ring via
Box:- Remove usage of
outline="none"andboxShadow="outlineFocus" - Refer to
focus outlinesfor guidance on leveraging Braid's focus outline styles.
- <Box outline="none" className={styles.customFocusStyles} /> + <Box />
For styling the focus outline of an element based on the focus of another element, see
outlineStyle. - Remove usage of
-
seekBusiness: Migrate to updated visual language (#1819)
Migrate
seekBusinesstheme to new visual language.
Adopts theseekJobstheme for the latest design standards, rather than the legacyapactheme, while retaining theseekBusinessbrand accent colour.
Patch Changes
-
ButtonIcon: Ensure the focus outline is styled consistently with other components. (#1810)
Fix issue which caused the Braid focus outline to show along with the native browser focus outline.
-
apac: Deprecate theme in favour of
seekJobstheme (#1820)MIGRATION GUIDE:
# App.tsx - import apac from 'braid-design-system/themes/apac'; + import seekJobs from 'braid-design-system/themes/seekJobs'; - <BraidProvider theme={apac} ...> + <BraidProvider theme={seekJobs} ...>
-
Migrate from custom focus ring visibility to native
:focus-visiblebehaviour. (#1810)Previously Braid would change the presentation of focus ring outlines based on the user input, i.e. mouse or keyboard,
to prevent showing focus rings on click.
With the updated Browser Support Policy, we can now leverage the native:focus-visiblepseudo class instead. -
Dialog, Drawer: Ensure the focus outline is correctly applied to the title. (#1810)
Fix issue where focus outline would not be long enough to wrap the entire title text in certain situations.