Skip to content
Compare
Choose a tag to compare
@seek-oss-ci seek-oss-ci released this 28 Jan 04:11
· 146 commits to master since this release
e0b2f45

Minor Changes

  • theme: Expose web fonts href on runtime tokens (#1685)

    Extend the webFonts runtime token to include the href property containing the web font URL.
    This enables custom handling of web fonts beyond injecting the pre-constructed link tag(s).

    EXAMPLE USAGE:

    import seekJobs from 'braid-design-system/themes/seekJobs';
    
    const webFontHrefs = seekJobs.webFonts.map(({ href }) => href);
    
    // => [ "https://www.seek.com.au/static/shared-web/seeksans.css" ]
  • Rating: Adopt brandAccent tone (#1693)

    The stars in the Rating component now use the brandAccent tone rather than the rating token from the theme.

    As a result the rating variable has been deprecated and will be removed in a future release.

    MIGRATION GUIDE:

    // styles.css.ts
    import { vars } from 'braid-design-system/css';
    
    export const myStyle = style({
    -  color: vars.foreground.rating,
    +  color: vars.foreground.brandAccent,
    });
  • Rating: Add tone support (#1693)

    For usages where the Rating component should not be accentuated, the tone prop can be used to apply neutral tone.

    EXAMPLE USAGE:

    <Rating tone="neutral" />

Patch Changes

  • AccordionItem: Fix issue that caused data props to be incorrectly parsed. (#1680)

  • MenuRenderer, OverflowMenu: Ensure the menu has a maximum height. (#1679)

  • Apply import order rules internally (#1689)

  • Remove default React import internally (#1690)