Skip to content

Releases: seek-oss/braid-design-system

@braid-design-system/[email protected]

24 May 04:49
1905d8f
Compare
Choose a tag to compare

Patch Changes

  • Update Crackle CLI dependency (#1480)

  • MenuButton: Improve virtual touch target positioning for narrow elements (#1493)

    To maintain accessibility for smaller interactive elements, Braid uses a virtual touch target to maintain the minimum hit area.
    This change ensures that the virtual element is always centered to the visual target, in particular when the width of the visual target is narrower than the minimum hit area.

[email protected]

09 Apr 05:50
8e63734
Compare
Choose a tag to compare

Minor Changes

  • Update semantic icon assets. (#1481)

    IconCritical: Move from circle to diamond outline. Increase the visual distinction from IconInfo.
    IconLanguage: Move from globe to characters. Better represents the concept of language. Previous asset available as IconGlobe.

    MIGRATION GUIDE

    As the above are updates to semantics icons, consumers are unaffected if their usage follows the icon's semantic intent.
    For those choosing the icon based on its visual appearance, please review the usage and consider decoupling from the semantic system icon for safer upgrades.

  • Add new icons to the library (#1481)

Patch Changes

  • Update Capsize dependencies (#1477)

[email protected]

22 Feb 01:10
fce830d
Compare
Choose a tag to compare

Patch Changes

  • Update Capsize dependencies (#1456)

  • Checkbox: Improve tri-state handling (#1458)

    Fixes a bug in tri-state Checkbox where transitioning from mixed to checked could result in the visual presentation being out of sync with the desired state.

[email protected]

18 Feb 23:39
5fdb3aa
Compare
Choose a tag to compare

Patch Changes

  • Text, Heading: Fix maxLines cropping of decending characters (#1451)

    Fixes a bug when using -webkit-box, where the descender on the last line of text could be cropped based on the combination of line height and font size.

[email protected]

09 Feb 04:35
8691ca5
Compare
Choose a tag to compare

Patch Changes

  • Tab: Remove cropping of the icon slot (#1447)

    Previously the icon slot on a Tab was cropped on the left to improve alignment with the active tab indicator.
    For most icons in a Tab, this was subtle polish, but for others it had the undesirable side effect of clipping the side of the icon.

    Removing the cropping until we have a better solution for trimming whitespace around icons.

  • Badge: Allow Badge to take arrays of values (#1443)

    Previously, Badge only accepted a string as children, to prevent the use of other components inside a Badge.

    However, when a variable is included with text inside the Badge, the children property is interpreted as an array. This prevents a very reasonable use case from being allowed:

    <Badge>{jobs.length} Jobs</Badge>
    // Error: Type '{ children: string[]; }' is not assignable to type 'BadgeProps'.

    This change allows Badge to accept a string, number, or array thereof.

  • Fix circular dependencies (#1444)

[email protected]

02 Feb 03:14
354eefc
Compare
Choose a tag to compare

Minor Changes

  • IconSocialX: Add new icon (#1438)

    Add the new IconSocialX component to the suite of social icons, enabling teams to migrate across from IconSocialTwitter which has now been marked as deprecated.

    EXAMPLE USAGE:

    <IconSocialX />

    MIGRATION GUIDE:
    Teams should migrate from IconSocialTwitter to IconSocialX at their earliest convenience. The IconSocialTwitter component will be removed in a future release.

    -<IconSocialTwitter />
    +<IconSocialX />
  • IconSort: Add new icon (#1438)

    EXAMPLE USAGE:

    <IconSort />

Patch Changes

  • Icons: Update social icons (#1438)

    Update the suite of social icons to be more uniformly sized alongside each other as well as updating the Medium icon to reflect the latest branding.

  • IconMoney: Update artwork to be currency agnostic (#1438)

[email protected]

24 Jan 23:44
411def6
Compare
Choose a tag to compare

Patch Changes

  • Update react-focus-lock to avoid build warnings in Rollup and Vite (#1433)

[email protected]

24 Jan 00:48
ef2d2d0
Compare
Choose a tag to compare

Minor Changes

  • Rating: Add weight support (#1430)

    Provide a weight prop to customise the weight of the text rating alongside the stars.

    EXAMPLE USAGE:

    <Rating rating={3} weight="strong" />

@braid-design-system/[email protected]

24 Jan 23:44
411def6
Compare
Choose a tag to compare

Minor Changes

  • Add optional logoHref prop to HeaderNavigation, which allows you to customise the route when clicking the Logo. (#1435)

@braid-design-system/[email protected]

24 Jan 00:48
ef2d2d0
Compare
Choose a tag to compare

Minor Changes

  • Add HeaderNavigation component, used for showing site Logo, theme picker, and displaying the MenuButton component on smaller screens. (#1429)