All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
11.1.5 (2019-12-27)
- add outline variant on buttons (3b2c8ed)
11.1.4 (2019-11-23)
- avoid SSR warning on Text (38af635)
11.1.3 (2019-11-22)
- enable all system on Text (5937e59)
11.1.2 (2019-11-22)
- fix internal theme usage (fc74682)
11.1.1 (2019-09-27)
- add dark mode support (bddd575)
11.0.2 (2019-08-30)
- a11y: add focus ring on Button (b24487a)
- a11y: remove aria-describedby (redundant with aria-labelledby) (03d4d94)
11.0.1 (2019-08-27)
- remove smooth-ui system (baf257f)
10.1.0 (2019-05-04)
10.0.7 (2019-04-17)
Note: Version bump only for package smooth-ui
10.0.6 (2019-04-09)
- fix down & between behaviour (86f642b)
10.0.5 (2019-04-09)
- fix grid gutter (6e33f60)
10.0.4 (2019-04-05)
- fix grid responsive values (f003fac)
10.0.3 (2019-03-29)
10.0.2 (2019-03-21)
- minor fixes for Tooltip & Popover (2e49c75)
10.0.1 (2019-03-21)
- fix Row behaviour (8a81124)
10.0.0 (2019-03-20)
-
- 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)
9.0.2 (2019-02-20)
- fix Label component style (9806ae6)
9.0.1 (2019-02-04)
- augment system specificity (f6aace4)
9.0.0 (2019-02-04)
-
prop
utility has been removed
- Undocumented utilities are no longer exported
controlFocus
has been renamedbaseFocus
,controlFocus
is only for controls (when control prop istrue
)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)
- add control option to Checkbox (#102) (f26186c)
- add scroll-lock to modals, fixes #25 (#103) (23f35dd)
8.0.1 (2019-01-17)
- system: fix issue with space utilities (#97) (192a3aa)
- types: replace TS definition globalStyle by Normalize (#95) (ea162a3)
8.0.0 (2019-01-16)
OriginalComponent.withComponent(NewComponent)
is replaced byuiAs(OriginalComponent, NewComponent)
as={NewComponent}
is replaced by uiAs={NewComponent}
globalStyle()
is now replaced by Normalize
component
7.1.1 (2019-01-11)
7.1.0 (2019-01-07)
7.0.5 (2018-11-11)
- sc: fix withComponent (a1d8cf4)
7.0.4 (2018-11-01)
- globalStyle: correctly export normalize (a202061)
7.0.3 (2018-10-24)
- modals: replace focus-trap by focus-lock (#69) (77872db)
- sc: fix withComponent + styled behaviour (f8e45cc)
7.0.2 (2018-10-23)
7.0.1 (2018-10-19)
- sc: fix withComponent usage (3f882c5)
7.0.0 (2018-10-18)
- "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)
- 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)
- emotion: fix css function (9d61910)
6.0.0 (2018-10-17)
- 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)
-
- styled-components v4 is required
.extend
has been removed, please usestyled()
insteadcomponent
prop has been removed, please useas
instead
- A lot of classes have been removed.
Introduced a new default size "md".
5.1.3 (2018-09-26)
5.1.2 (2018-09-17)
- 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)
5.1.1 (2018-09-08)
- improve tree shaking (fc07a34)
5.1.0 (2018-09-08)
- emotion: fix
.extend
behaviour using emotion (0eaad36), closes #29 - Modal: fix warning about ref (563354c)
- deprecate "component" in favor of "as" (c065d09), closes #33
- a11y: support "prefers-reduce-motion" (a76d417), closes #39
- add "sideEffects: false" in package.json (f9acb75)
4.3.2 (2018-09-03)
- Row: fix default gutter (d97b267)
4.3.1 (2018-08-16)
- rollup: correctly optimize build (73d4f27)
4.3.0 (2018-06-15)
- 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)