braid-design-system

Themeable design system for the SEEK Group

MIT License

Downloads
20.9K
Stars
1.5K
Committers
33

Bot releases are visible (Hide)

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)
braid-design-system - v18.1.2

Published by seek-oss-ci almost 5 years ago

18.1.2 (2019-12-30)

Bug Fixes

  • OverflowMenu: Allow conditional rendering in OverflowMenu children (#437) (930a5a2)
braid-design-system - v18.1.1

Published by seek-oss-ci almost 5 years ago

18.1.1 (2019-12-30)

Bug Fixes

  • IconPhone: Make IconPhone sizing more consistent (#436) (dd203c6)
braid-design-system - v18.1.0

Published by seek-oss-ci almost 5 years ago

18.1.0 (2019-12-27)

Features

  • Add ‘IconWorkExperience’ component (#435) (fa80878)
braid-design-system - v18.0.4

Published by seek-oss-ci almost 5 years ago

18.0.4 (2019-12-24)

Bug Fixes

braid-design-system - v18.0.3

Published by seek-oss-ci almost 5 years ago

18.0.3 (2019-12-19)

Bug Fixes

  • Button: Increase weak hover contrast on dark backgrounds (#426) (c1621bb)
braid-design-system - v18.0.2

Published by seek-oss-ci almost 5 years ago

18.0.2 (2019-12-17)

Bug Fixes

  • Columns: Ensure collapsed "content" columns are full width (#425) (1f6e927)
braid-design-system - v18.0.1

Published by seek-oss-ci almost 5 years ago

18.0.1 (2019-12-10)

Bug Fixes

braid-design-system - v18.0.0

Published by seek-oss-ci almost 5 years ago

18.0.0 (2019-12-09)

Bug Fixes

  • Inline: Remove top margin when Inline is not first child (#416) (6533a92)

BREAKING CHANGES

  • Inline: Even though this is a bug fix, it could cause unwanted side effects to your designs if you were relying on this incorrect behaviour.
braid-design-system - v17.4.0

Published by seek-oss-ci almost 5 years ago

17.4.0 (2019-12-09)

Features

  • Autosuggest: Add 'scrollToTopOnMobile' prop (#417) (07a5752)
braid-design-system - v17.3.1

Published by seek-oss-ci almost 5 years ago

17.3.1 (2019-12-06)

Bug Fixes

  • Loader: Show instantly, add delayVisibility to prevent flicker (#415) (1df152a)
braid-design-system - v17.3.0

Published by seek-oss-ci almost 5 years ago

17.3.0 (2019-12-05)

Features

  • TextLink: Add support for visited link styles (#414) (707948d)
braid-design-system - v17.2.0

Published by seek-oss-ci almost 5 years ago

17.2.0 (2019-12-03)

Features

  • Add "align" to Stack and Inline, add "alignY" to Columns (#413) (bd157e0)
braid-design-system - v17.1.0

Published by seek-oss-ci almost 5 years ago

17.1.0 (2019-11-25)

Features

  • Add support for text alignment to Text & Heading (#411) (c7ccee9)
braid-design-system - v17.0.0

Published by seek-oss-ci almost 5 years ago

17.0.0 (2019-11-21)

Features

  • Expand breakpoints to 'mobile', 'tablet' and 'desktop' (#409) (2881482)

Description

We previously only had two breakpoints: mobile and desktop. This renames the existing desktop breakpoint to tablet, and introduces a new desktop breakpoint which is 992px across all themes.

To leverage this, all responsive props now support an optional third value, e.g.:

<Box padding={['small', 'medium', 'large']}>
<Stack space={['small', 'medium', 'large']}>
<Inline space={['small', 'medium', 'large']}>
<Columns space={['small', 'medium', 'large']}>

💥 Breaking Changes

  • Columns: The collapse boolean prop has been replaced with collapseBelow which accepts a breakpoint name.
  • Hidden: The mobile and desktop boolean props have been replaced with above and below props which accept a breakpoint name.
  • Breakpoint Tokens: The theme.responsiveBreakpoint token has been replaced with the theme.breakpoint object, e.g. theme.breakpoint.tablet.
  • Typography Tokens: The desktop typography tokens have been renamed to tablet.
  • Theme Utils: The desktopStyles and responsiveStyles functions have been replaced by the more general purpose responsiveStyle function.

Migration Guide

⚛️ Columns

Now that we have multiple breakpoints, you need to specify which screen size you want the columns to collapse below.

-<Columns collapse>
+<Columns collapseBelow="tablet">

⚛️ Hidden

Usages of the old mobile prop should be replaced with below="tablet".

-<Hidden mobile>
+<Hidden below="tablet">

Usages of the old desktop prop should be replaced with above="mobile".

-<Hidden desktop>
+<Hidden above="mobile">

🍬 Breakpoint Tokens

The theme.responsiveBreakpoint token has been replaced with the theme.breakpoint object, e.g. theme.breakpoint.tablet.

Usages of theme.responsiveBreakpoint should be replaced with theme.breakpoint.tablet:

-theme.responsiveBreakpoint;
+theme.breakpoint.tablet;

🍬 Typography Tokens

The desktop typography tokens have been renamed to tablet:

-theme.typography.heading.level.1.desktop.size
+theme.typography.heading.level.1.tablet.size

-theme.typography.text.standard.desktop.size
+theme.typography.text.standard.tablet.size

🍬 Theme Utils

The desktopStyles function has been replaced by the more general purpose responsiveStyle function:

-theme.utils.desktopStyles({ ... });
+theme.utils.responsiveStyle({
+  tablet: { ... },
+});

The responsiveStyles function with positional arguments has been replaced with responsiveStyle (note "Style" vs "Styles") which accepts breakpoint-based styles in an object form:

-theme.utils.responsiveStyles({ ... }, { ... });
+theme.utils.responsiveStyle({
+  mobile: { ... },
+  tablet: { ... },
+});
Package Rankings
Top 2.35% on Npmjs.org
Badges
Extracted from project README
npm
Related Projects