braid-design-system

Themeable design system for the SEEK Group

MIT License

Downloads
20.9K
Stars
1.5K
Committers
33

Bot releases are hidden (Show)

braid-design-system - v20.0.1

Published by seek-oss-ci over 4 years ago

20.0.1 (2020-01-27)

Bug Fixes

braid-design-system - v20.0.0

Published by seek-oss-ci over 4 years ago

20.0.0 (2020-01-24)

Bug Fixes

  • Checkbox,Radio,Toggle: Remove space around fields (#468) (bcf39b2)

Breaking Change

Surrounding white space has been removed from Checkbox, Radio and Toggle components. You'll need to explicitly reintroduce it.

Description

Checkbox, Radio and Toggle components currently reserve surrounding white space to ensure that they satisfy a minimum touchable size. Unfortunately, this clashes with our layout philosophy of first-class white space via layout components.

In order to fix this problem, we've made the hit targets absolute so that the empty space isn't part of the document flow. For example:

Before:

After:

Since this introduces the risk of overlapping hit targets where the user may inadvertently activate the wrong element, you should ensure that there is enough surrounding white space. Generally this is already the case since this is standard design practice, particularly when designing for mobile, but it's worth being aware of.

To help debug this in development mode, you can add a data-braid-debug attribute anywhere in the DOM tree to visualise the hit targets nested within it.

For example:

<Box data-braid-debug>
  <Card>
    <Stack space="medium">
      <Checkbox label="Checkbox" />
      <Checkbox label="Checkbox" />
      <Checkbox label="Checkbox" />
    </Stack>
  </Card>
</Box>

Migration Guide

Since white space has been removed from the layout, you'll need to explicitly reintroduce it.

In most cases, the ideal fix is to ensure that the space between elements is handled by a Stack:

+<Stack space="medium">
  <Checkbox label="..." />
  <Checkbox label="..." />
  <Checkbox label="..." />
+</Stack>

If you're finding this migration difficult, please let us know so we can give you a hand.

braid-design-system - v19.0.1

Published by seek-oss-ci over 4 years ago

19.0.1 (2020-01-21)

Bug Fixes

braid-design-system - v19.0.0

Published by seek-oss-ci almost 5 years ago

19.0.0 (2020-01-19)

Features

  • Stop reserving message space below fields by default (#460) (ac7879a)

BREAKING CHANGES

  • Form fields no longer reserve message space below them by default. This behaviour is still available but is opt in rather than opt out.
braid-design-system - v18.13.0

Published by seek-oss-ci almost 5 years ago

18.13.0 (2020-01-16)

Features

braid-design-system - v18.12.0

Published by seek-oss-ci almost 5 years ago

18.12.0 (2020-01-15)

Features

braid-design-system - v18.11.0

Published by seek-oss-ci almost 5 years ago

18.11.0 (2020-01-15)

Features

braid-design-system - v18.10.0

Published by seek-oss-ci almost 5 years ago

18.10.0 (2020-01-15)

Features

braid-design-system - v18.9.1

Published by seek-oss-ci almost 5 years ago

18.9.1 (2020-01-15)

Bug Fixes

  • Bullet: Use custom bullets to fix cross-browser rendering (#452) (557137d)
braid-design-system - v18.9.0

Published by seek-oss-ci almost 5 years ago

18.9.0 (2020-01-15)

Features

braid-design-system - v18.8.2

Published by seek-oss-ci almost 5 years ago

18.8.2 (2020-01-15)

Bug Fixes

  • seekAnz: Update positive colour to improve contrast (#455) (9ed445e)
braid-design-system - v18.8.1

Published by seek-oss-ci almost 5 years ago

18.8.1 (2020-01-14)

Bug Fixes

  • Stack,Inline,Tiles: Disallow strings as children (#451) (a8f0462)
braid-design-system - v18.8.0

Published by seek-oss-ci almost 5 years ago

18.8.0 (2020-01-13)

Features

  • Add truncate support to Text and Heading (#449) (9aaed14)
braid-design-system - v18.7.0

Published by seek-oss-ci almost 5 years ago

18.7.0 (2020-01-13)

Features

braid-design-system - v18.6.0

Published by seek-oss-ci almost 5 years ago

18.6.0 (2020-01-13)

Features

  • Add BackgroundProvider for handling custom background colors (#446) (940e391)
braid-design-system - v18.5.1

Published by seek-oss-ci almost 5 years ago

18.5.1 (2020-01-10)

Bug Fixes

  • Autosuggest: Fix invalid action error (#448) (f798996)
braid-design-system - v18.5.0

Published by seek-oss-ci almost 5 years ago

18.5.0 (2020-01-08)

Features

  • OverflowMenuItem: Add data prop support (#445) (e718b06)
braid-design-system - v18.4.0

Published by seek-oss-ci almost 5 years ago

18.4.0 (2020-01-08)

Features

  • Icons: Add refresh and statistics icons (#444) (a23a6f7)
braid-design-system - v18.3.0

Published by seek-oss-ci almost 5 years ago

18.3.0 (2020-01-06)

Features

  • Tiles: Add โ€˜Tilesโ€™ layout component (#439) (77b8021)
braid-design-system - v18.2.0

Published by seek-oss-ci almost 5 years ago

18.2.0 (2020-01-05)

Features

  • Stack: Allow Stacks to be semantic lists (#440) (17f3eb9)
Package Rankings
Top 2.35% on Npmjs.org
Badges
Extracted from project README
npm
Related Projects