Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Latest commit

Β 

History

History
838 lines (323 loc) Β· 21.6 KB

CHANGELOG.md

File metadata and controls

838 lines (323 loc) Β· 21.6 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

11.1.5 (2019-12-27)

Features

  • add outline variant on buttons (3b2c8ed)

11.1.4 (2019-11-23)

Bug Fixes

  • avoid SSR warning on Text (38af635)

11.1.3 (2019-11-22)

Features

  • enable all system on Text (5937e59)

11.1.2 (2019-11-22)

Bug Fixes

  • fix internal theme usage (fc74682)

11.1.1 (2019-09-27)

Features

11.0.2 (2019-08-30)

Bug Fixes

  • a11y: add focus ring on Button (b24487a)
  • a11y: remove aria-describedby (redundant with aria-labelledby) (03d4d94)

11.0.1 (2019-08-27)

Bug Fixes

  • remove smooth-ui system (baf257f)

10.1.0 (2019-05-04)

Features

10.0.7 (2019-04-17)

Note: Version bump only for package smooth-ui

10.0.6 (2019-04-09)

Bug Fixes

  • fix down & between behaviour (86f642b)

10.0.5 (2019-04-09)

Bug Fixes

10.0.4 (2019-04-05)

Bug Fixes

  • fix grid responsive values (f003fac)

10.0.3 (2019-03-29)

Bug Fixes

10.0.2 (2019-03-21)

Bug Fixes

  • minor fixes for Tooltip & Popover (2e49c75)

10.0.1 (2019-03-21)

Bug Fixes

10.0.0 (2019-03-20)

Features

  • popover, tooltips, responsive grid, hooks (#122) (7bc0b8c)

BREAKING CHANGES

    • React v16.8+ is now required (hooks inside)
  • Grid, Col and Row gutter prop is now based on system, be careful!
  • Toggler now returns an array [toggled, onToggle] instead of an object

9.1.0 (2019-03-07)

Bug Fixes

Features

9.0.2 (2019-02-20)

Bug Fixes

  • fix Label component style (9806ae6)

9.0.1 (2019-02-04)

Bug Fixes

  • augment system specificity (f6aace4)

9.0.0 (2019-02-04)

Bug Fixes

  • types: fix TypeScript definitions (5a02542)
  • types: fix TypeScript definitions (#108) (87eda0b)

Features

  • simplify API & fixes theme bugs (3ac41ec)
  • simplify core & remove theme dependency (cec1029)

BREAKING CHANGES

    • prop utility has been removed
  • Undocumented utilities are no longer exported
  • controlFocus has been renamed baseFocus, controlFocus is only for controls (when control prop is true)
  • mixin function is no longer available, also mixins have changed

Mixins:

Previously mixins were called using mixin helper:

import { styled, mixin } from '@smooth-ui/core-sc'

const Styled = styled.div`
  color: ${mixin('colorLevel', 'red', 5)};
`

All mixins are now exported:

import { styled, colorLevel } from '@smooth-ui/core-sc'

const Styled = styled.div`
  color: ${colorLevel('red', 5)};
`

Theme

Theme is no longer required, Smooth UI will work well without theme and you can override only needed properties without having to load the entire theme.

The benefit from that approach is that code splitting is fully efficient, if you use only one component in Smooth UI you will load only theme primitives of this component.

The size of a result bundle that is using only a Button:

 202K  bundle-smooth-ui-v8.js
 194K  bundle-smooth-ui-v9.js
  65K  bundle-smooth-ui-v8.js.gz
  63K  bundle-smooth-ui-v9.js.gz

As you can see the bundle has been reduced of 8K (no gzip) and of 2K (gzip).

  • remove uiAs prop & uiAs helper

8.1.0 (2019-01-22)

Bug Fixes

  • modal: prevent injecting __scTheme in DOM props (2dad70f), closes #99

Features

8.0.1 (2019-01-17)

Bug Fixes

  • system: fix issue with space utilities (#97) (192a3aa)
  • types: replace TS definition globalStyle by Normalize (#95) (ea162a3)

8.0.0 (2019-01-16)

Bug Fixes

Features

  • support emotion 10 & remove hacks (#93) (d311640)
  • system: add textTransform (753eecd)

BREAKING CHANGES

  • OriginalComponent.withComponent(NewComponent) is replaced by uiAs(OriginalComponent, NewComponent)

as={NewComponent} is replaced by uiAs={NewComponent}

globalStyle() is now replaced by Normalize component

7.1.1 (2019-01-11)

Bug Fixes

7.1.0 (2019-01-07)

Features

7.0.5 (2018-11-11)

Bug Fixes

7.0.4 (2018-11-01)

Bug Fixes

  • globalStyle: correctly export normalize (a202061)

7.0.3 (2018-10-24)

Bug Fixes

  • modals: replace focus-trap by focus-lock (#69) (77872db)
  • sc: fix withComponent + styled behaviour (f8e45cc)

7.0.2 (2018-10-23)

Bug Fixes

7.0.1 (2018-10-19)

Bug Fixes

  • sc: fix withComponent usage (3f882c5)

7.0.0 (2018-10-18)

Features

BREAKING CHANGES

  • "persistent" prop has been removed from Modal, Modal are now non-persistent.

"sui-modal-backdrop" has been removed, it is now "sui-modal".

6.0.2 (2018-10-17)

Bug Fixes

  • correctly apply system (49e975d)
  • emotion: fix css & styled function with babel-plugin-emotion (a214b18)
  • emotion: fix css function (29448df)

6.0.1 (2018-10-17)

Bug Fixes

  • emotion: fix css function (9d61910)

6.0.0 (2018-10-17)

Features

  • expose cx & keyframes from emotion (c226981)
  • flatten style & remove classNames (34dd3fc)
  • select now accepts children instead of options (1a26480), closes #60
  • support styled-components v4 (b25675a)

BREAKING CHANGES

    • styled-components v4 is required
  • .extend has been removed, please use styled() instead
  • component prop has been removed, please use as instead
  • A lot of classes have been removed.

Introduced a new default size "md".

5.1.3 (2018-09-26)

Bug Fixes

  • theme: Use th() instead of const color (#50) (bdb1f0d)

5.1.2 (2018-09-17)

Bug Fixes

  • Breakpoint: add missing "sm" breakpoint in PropTypes (#47) (4cbeee0)
  • button: use theme line-height (#46) (c815158)
  • Grid: fix Row gutter, default to 8px instead of 16px (#49) (d4fb2cd)

Features

  • Modal: add persistent option to modal (#48) (eef5b6e)

5.1.1 (2018-09-08)

Performance Improvements

5.1.0 (2018-09-08)

Bug Fixes

  • emotion: fix .extend behaviour using emotion (0eaad36), closes #29
  • Modal: fix warning about ref (563354c)

Features

  • deprecate "component" in favor of "as" (c065d09), closes #33
  • a11y: support "prefers-reduce-motion" (a76d417), closes #39

Performance Improvements

  • add "sideEffects: false" in package.json (f9acb75)

4.3.2 (2018-09-03)

Bug Fixes

  • Row: fix default gutter (d97b267)

4.3.1 (2018-08-16)

Performance Improvements

  • rollup: correctly optimize build (73d4f27)

4.3.0 (2018-06-15)

Bug Fixes

Features

  • Better support for (#15) (9d5b290) 4.2.2 (2018-06-12) Bug Fixes fix peerDependencies (c89b2fa) 4.2.1 (2018-06-02) Bug Fixes modal: fix default opened (26c1d0c) fix `import X from 'smooth-ui/X' (41564b9) 4.2.0 (2018-05-30) Features add Button default variant (primary) (2ccb3d8) 4.1.2 (2018-05-29) Bug Fixes fix import X from 'smooth-ui/X' (08c82d5) 4.1.1 (2018-05-29) Bug Fixes fix animations (2a2e72e) 4.1.0 (2018-05-29) Bug Fixes remove "transition: all" (5773201), closes #8 Features add Modal (7d27a07) add Toggler (88bc002) 4.0.1 (2018-05-28) 4.0.0 (2018-05-28) Features various (7ad7b4c) BREAKING CHANGES Remove default variant on buttons controlFocusBoxShadow is now a mixin 3.0.2 (2018-04-29) Bug Fixes fix down (a60351a) 3.0.1 (2018-04-29) 3.0.0 (2018-04-29) Features add up, down and between (883edb6) BREAKING CHANGES upTo is now up rename breakPoints into breakpoints in theme 2.0.0 (2018-04-01) Bug Fixes ControlFeedback: fix export name (2e7daf8) Features Alert: add alerts (ec57ee4) BREAKING CHANGES Alert: Mixins are now a function that takes props and return another function. 1.2.2 (2018-02-20) Bug Fixes fix bind in extend surcharge (98df43a) 1.2.1 (2018-02-20) Bug Fixes fix withComponent (9fcdb26) 1.2.0 (2018-02-20) Features support withComponent on Input, Button (1252d4f) 1.1.0 (2018-02-20) Features export all utils (e723014) 1.0.0 (2018-02-20) Features add variants to buttons (4fdfc73) flatten theme & utils (4c33e13) BREAKING CHANGES previous version will break if you use theme. 0.2.0 (2018-02-13) Features add gutter to grid (0133098) 0.1.1 (2018-02-08) Bug Fixes fix box, checkbox, col style def (67cb8c1) 0.1.0 (2018-02-08) Features add form validation (f6314a3) 0.0.3 (2018-02-06) Bug Fixes add missing components (363b3bd) 0.0.2 (2018-02-06) 0.0.1 (2018-02-06)