Releases: seek-oss/braid-design-system
braid-design-system@32.12.1
Patch Changes
-
When animating an SVG circle, it seems that the width changes slightly, which on Loader was causing the right-most one to push off the boundaries of the SVG View Box. (#1370)
This has been fixed so clipping should no longer occur.
@braid-design-system/source.macro@0.1.0
Minor Changes
- Initial release of the
source.macro
package (#1362)
braid-design-system@32.12.0
Minor Changes
-
Button, ButtonLink: Default to neutral ghost in non-legacy themes (#1363)
By default, a button now has a
neutral
tone and uses theghost
variant, allowing the visual prominence to be increased or decreased as required, enabling colour to be applied as accents and with purpose, rather than by default.<Button /> // => tone="neutral" & variant="ghost"
To compliment this, when a
tone
is purposefully applied, the default variant becomessolid
to maximise its impact — allowing the visual prominence to be reduced as needed.<Button tone="brandAccent" /> // => tone="brandAccent" & variant="solid"
No change for
apac
andseekBusiness
consumersGiven the fundamental change in approach to colour and usage of such a core component, this change has been isolated to newer themes and does not impact
apac
andseekBusiness
consumers.These themes will continue to have a tone of
formAccent
and asolid
variant by default, allowing consumers to adopt this new approach as part of the design uplift when migrating to an updated theme, e.g.seekJobs
.
braid-design-system@32.11.0
Minor Changes
-
Button, ButtonLink: Provide
formAccent
as the name for undefined tone (#1359)Formalise the name of the
undefined
tone asformAccent
, making it more discoverable as an accent available for increased prominence.Note: Consumers should only apply this tone where an action should be emphasized explicitly. The
undefined
value is still valid for buttons that should follow the default button style of the theme.EXAMPLE USAGE:
<Button tone="formAccent">...</Button>
braid-design-system@32.9.2
Patch Changes
- Update dependencies for codemod (#1353)
braid-design-system@32.10.0
Minor Changes
-
seekJobs: Change link colour to neutral (#1347)
Changing the
foregroundColor
token forlink
on theseekJobs
theme to align with neutral text.
Our different approach to using colour has seen links dialled back to compete less with other messaging and CTAs.This affects the following usages across the system:
vars.foregroundColor.link
Text
(usingtone="link"
)TextLink
and (TextLinkButton
)
Patch Changes
-
TextLink, TextLinkButton: Underline regular links in non-legacy themes (#1347)
To improve affordance beyond primarily being colour, a
TextLink
(andTextLinkButton
) will now always be underlined, in line with best practice accessibility guidelines.Given this has not been the case previously, this decision has been applied to non-legacy themes only, as such only affecting consumers of
seekJobs
,docs
andwireframe
. -
TextLink, TextLinkButton: Apply themed focus outline (#1347)
Apply a focus outline using the relevant focus attributes from the theme, bringing
TextLink
(andTextLinkButton
) into line with the focus treatment applied to rest of the system. -
TextLink, TextLinkButton: Reduce
weak
links toregular
font weight (#1347)The font weight of a
weak
link is now reduced toregular
weight, reducing the link's visual prominence in addition to following the neutral text colour. -
docs: Lighten soft background tokens (#1347)
Lighten the
brandAccentSoft
andformAccentSoft
background tokens for thedocs
theme. -
Dialog, Drawer: Adapt max height to available viewport space (#1352)
Make use of the new dynamic viewport units for applying a max height to modal elements such as
Dialog
andDrawer
. These new units take into account dynamic browser toolbars that expand and contract as the user scrolls, ensuring the browser interface never obscures the web site content.Fix also incorporates fallback for older browsers to use regular viewport units.
braid-design-system@32.9.1
Patch Changes
-
Drawer: Prevent close button protruding in left position (#1351)
Fixes an issue where the close button could protrude from a
Drawer
.
This was only visible when settingposition
toleft
and between a small range of screen widths — above 660px (small
content width) and below 768px (tablet
breakpoint). -
RadioGroup: Ensure
reserveMessageSpace
prevents layout shift correctly (#1349)Consider the
reserveMessageSpace
prop as well asmessage
when conditionally applying internal padding between radio list and field message.
braid-design-system@32.9.0
Minor Changes
-
Page: Add component (#1343)
The new
Page
component establishes a consistent page-level layout by managing the relationship between the footer and the main content.By default, for pages with limited content the
footer
will at a minimum be placed at the bottom of the screen, pushed beyond as the page content grows.For pages with dynamic content, it is recommended to place the footer out of view by setting the
footerPosition
prop tobelowFold
to prevent the footer from popping in and out of view when the page content changes, e.g. toggling between a loading indicator and content.EXAMPLE USAGE:
<Page footer={<Footer />}> <Header /> {/* page content... */} </Page>
Patch Changes
-
TabPanel: Align focus outline radius to scale (#1345)
Increase the radius of the focus outline to better align to the scale. A
TabPanel
is typically a "large" element containing entire sections of UI, so using thelarge
radius to better align to the radius scale.
braid-design-system@32.8.3
Patch Changes
-
apac, seekBusiness: Increase
medium
font weight (#1331)The unicode range of Thai characters is not satisfied by the preferred fonts specified for the
apac
theme, resulting in these characters falling through and being rendered bysans-serif
— which applies a platform-specific font.
These system fonts do not have support for the semi-bold weight chosen formedium
, resulting in the visual weight ofmedium
text being rounded down toregular
— providing no differentiation relative to other text in the UI.In addition, due to both
Helvetica
andArial
not having amedium
weight, these fallbacks also have the same problem, even for Latin characters.By increasing the value of
medium
, it will now round tostrong
when the rendered font cannot satisfymedium
— preventing the loss of hierarchy.This only affects apac-based themes, namely
apac
andseekBusiness
.
braid-design-system@32.8.2
Patch Changes
-
Drawer, Dialog: Increase gutter around close button (#1328)
Fix for a regression where the gutter around the close button was reduced — resulting in visually clashing with the content when scrolling.