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

Commit 0151c02

Browse files
committed
v9.0.0
1 parent 4cc8cbd commit 0151c02

File tree

8 files changed

+280
-6
lines changed

8 files changed

+280
-6
lines changed

CHANGELOG.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,78 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [9.0.0](https://github.com/smooth-code/smooth-ui/compare/v8.1.0...v9.0.0) (2019-02-04)
7+
8+
9+
### Bug Fixes
10+
11+
* **types:** fix TypeScript definitions ([5a02542](https://github.com/smooth-code/smooth-ui/commit/5a02542))
12+
* **types:** fix TypeScript definitions ([#108](https://github.com/smooth-code/smooth-ui/issues/108)) ([87eda0b](https://github.com/smooth-code/smooth-ui/commit/87eda0b))
13+
14+
15+
### Features
16+
17+
* simplify API & fixes theme bugs ([3ac41ec](https://github.com/smooth-code/smooth-ui/commit/3ac41ec))
18+
* simplify core & remove theme dependency ([cec1029](https://github.com/smooth-code/smooth-ui/commit/cec1029))
19+
20+
21+
### BREAKING CHANGES
22+
23+
* - `prop` utility has been removed
24+
- Undocumented utilities are no longer exported
25+
- `controlFocus` has been renamed `baseFocus`, `controlFocus` is only
26+
for controls (when control prop is `true`)
27+
- `mixin` function is no longer available, also mixins have changed
28+
29+
**Mixins:**
30+
31+
Previously mixins were called using `mixin` helper:
32+
33+
```js
34+
import { styled, mixin } from '@smooth-ui/core-sc'
35+
36+
const Styled = styled.div`
37+
color: ${mixin('colorLevel', 'red', 5)};
38+
`
39+
```
40+
41+
All mixins are now exported:
42+
43+
```js
44+
import { styled, colorLevel } from '@smooth-ui/core-sc'
45+
46+
const Styled = styled.div`
47+
color: ${colorLevel('red', 5)};
48+
`
49+
```
50+
51+
**Theme**
52+
53+
Theme is no longer required, Smooth UI will work well without theme and
54+
you can override only needed properties without having to load the
55+
entire theme.
56+
57+
The benefit from that approach is that code splitting is fully
58+
efficient, if you use only one component in Smooth UI you will load only
59+
theme primitives of this component.
60+
61+
The size of a result bundle that is using only a `Button`:
62+
63+
```
64+
202K bundle-smooth-ui-v8.js
65+
194K bundle-smooth-ui-v9.js
66+
65K bundle-smooth-ui-v8.js.gz
67+
63K bundle-smooth-ui-v9.js.gz
68+
```
69+
70+
As you can see the bundle has been reduced of 8K (no gzip) and of 2K
71+
(gzip).
72+
* remove uiAs prop & uiAs helper
73+
74+
75+
76+
77+
678
# [8.1.0](https://github.com/smooth-code/smooth-ui/compare/v8.0.1...v8.1.0) (2019-01-22)
779

880

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"packages": [
44
"packages/*"
55
],
6-
"version": "8.1.0",
6+
"version": "9.0.0",
77
"npmClient": "yarn",
88
"useWorkspaces": true
99
}

packages/core-em/CHANGELOG.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,75 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [9.0.0](https://github.com/smooth-code/smooth-ui/compare/v8.1.0...v9.0.0) (2019-02-04)
7+
8+
9+
### Bug Fixes
10+
11+
* **types:** fix TypeScript definitions ([#108](https://github.com/smooth-code/smooth-ui/issues/108)) ([87eda0b](https://github.com/smooth-code/smooth-ui/commit/87eda0b))
12+
13+
14+
### Features
15+
16+
* simplify core & remove theme dependency ([cec1029](https://github.com/smooth-code/smooth-ui/commit/cec1029))
17+
18+
19+
### BREAKING CHANGES
20+
21+
* - `prop` utility has been removed
22+
- Undocumented utilities are no longer exported
23+
- `controlFocus` has been renamed `baseFocus`, `controlFocus` is only
24+
for controls (when control prop is `true`)
25+
- `mixin` function is no longer available, also mixins have changed
26+
27+
**Mixins:**
28+
29+
Previously mixins were called using `mixin` helper:
30+
31+
```js
32+
import { styled, mixin } from '@smooth-ui/core-sc'
33+
34+
const Styled = styled.div`
35+
color: ${mixin('colorLevel', 'red', 5)};
36+
`
37+
```
38+
39+
All mixins are now exported:
40+
41+
```js
42+
import { styled, colorLevel } from '@smooth-ui/core-sc'
43+
44+
const Styled = styled.div`
45+
color: ${colorLevel('red', 5)};
46+
`
47+
```
48+
49+
**Theme**
50+
51+
Theme is no longer required, Smooth UI will work well without theme and
52+
you can override only needed properties without having to load the
53+
entire theme.
54+
55+
The benefit from that approach is that code splitting is fully
56+
efficient, if you use only one component in Smooth UI you will load only
57+
theme primitives of this component.
58+
59+
The size of a result bundle that is using only a `Button`:
60+
61+
```
62+
202K bundle-smooth-ui-v8.js
63+
194K bundle-smooth-ui-v9.js
64+
65K bundle-smooth-ui-v8.js.gz
65+
63K bundle-smooth-ui-v9.js.gz
66+
```
67+
68+
As you can see the bundle has been reduced of 8K (no gzip) and of 2K
69+
(gzip).
70+
71+
72+
73+
74+
675
# [8.1.0](https://github.com/smooth-code/smooth-ui/compare/v8.0.1...v8.1.0) (2019-01-22)
776

877

packages/core-em/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@smooth-ui/core-em",
33
"description": "Modern React UI Library",
4-
"version": "8.1.0",
4+
"version": "9.0.0",
55
"keywords": [
66
"emotion",
77
"ui",
@@ -26,7 +26,7 @@
2626
"access": "public"
2727
},
2828
"dependencies": {
29-
"@smooth-ui/system": "^8.1.0",
29+
"@smooth-ui/system": "^9.0.0",
3030
"polished": "^2.3.3",
3131
"prop-types": "^15.6.2",
3232
"react-focus-lock": "^1.17.7",

packages/core-sc/CHANGELOG.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,75 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [9.0.0](https://github.com/smooth-code/smooth-ui/compare/v8.1.0...v9.0.0) (2019-02-04)
7+
8+
9+
### Bug Fixes
10+
11+
* **types:** fix TypeScript definitions ([#108](https://github.com/smooth-code/smooth-ui/issues/108)) ([87eda0b](https://github.com/smooth-code/smooth-ui/commit/87eda0b))
12+
13+
14+
### Features
15+
16+
* simplify core & remove theme dependency ([cec1029](https://github.com/smooth-code/smooth-ui/commit/cec1029))
17+
18+
19+
### BREAKING CHANGES
20+
21+
* - `prop` utility has been removed
22+
- Undocumented utilities are no longer exported
23+
- `controlFocus` has been renamed `baseFocus`, `controlFocus` is only
24+
for controls (when control prop is `true`)
25+
- `mixin` function is no longer available, also mixins have changed
26+
27+
**Mixins:**
28+
29+
Previously mixins were called using `mixin` helper:
30+
31+
```js
32+
import { styled, mixin } from '@smooth-ui/core-sc'
33+
34+
const Styled = styled.div`
35+
color: ${mixin('colorLevel', 'red', 5)};
36+
`
37+
```
38+
39+
All mixins are now exported:
40+
41+
```js
42+
import { styled, colorLevel } from '@smooth-ui/core-sc'
43+
44+
const Styled = styled.div`
45+
color: ${colorLevel('red', 5)};
46+
`
47+
```
48+
49+
**Theme**
50+
51+
Theme is no longer required, Smooth UI will work well without theme and
52+
you can override only needed properties without having to load the
53+
entire theme.
54+
55+
The benefit from that approach is that code splitting is fully
56+
efficient, if you use only one component in Smooth UI you will load only
57+
theme primitives of this component.
58+
59+
The size of a result bundle that is using only a `Button`:
60+
61+
```
62+
202K bundle-smooth-ui-v8.js
63+
194K bundle-smooth-ui-v9.js
64+
65K bundle-smooth-ui-v8.js.gz
65+
63K bundle-smooth-ui-v9.js.gz
66+
```
67+
68+
As you can see the bundle has been reduced of 8K (no gzip) and of 2K
69+
(gzip).
70+
71+
72+
73+
74+
675
# [8.1.0](https://github.com/smooth-code/smooth-ui/compare/v8.0.1...v8.1.0) (2019-01-22)
776

877

packages/core-sc/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@smooth-ui/core-sc",
33
"description": "Modern React UI Library",
4-
"version": "8.1.0",
4+
"version": "9.0.0",
55
"keywords": [
66
"styled-components",
77
"ui",
@@ -26,7 +26,7 @@
2626
"access": "public"
2727
},
2828
"dependencies": {
29-
"@smooth-ui/system": "^8.1.0",
29+
"@smooth-ui/system": "^9.0.0",
3030
"polished": "^2.3.3",
3131
"prop-types": "^15.6.2",
3232
"react-focus-lock": "^1.17.7",

packages/system/CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,70 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [9.0.0](https://github.com/smooth-code/smooth-ui/compare/v8.1.0...v9.0.0) (2019-02-04)
7+
8+
9+
### Features
10+
11+
* simplify core & remove theme dependency ([cec1029](https://github.com/smooth-code/smooth-ui/commit/cec1029))
12+
13+
14+
### BREAKING CHANGES
15+
16+
* - `prop` utility has been removed
17+
- Undocumented utilities are no longer exported
18+
- `controlFocus` has been renamed `baseFocus`, `controlFocus` is only
19+
for controls (when control prop is `true`)
20+
- `mixin` function is no longer available, also mixins have changed
21+
22+
**Mixins:**
23+
24+
Previously mixins were called using `mixin` helper:
25+
26+
```js
27+
import { styled, mixin } from '@smooth-ui/core-sc'
28+
29+
const Styled = styled.div`
30+
color: ${mixin('colorLevel', 'red', 5)};
31+
`
32+
```
33+
34+
All mixins are now exported:
35+
36+
```js
37+
import { styled, colorLevel } from '@smooth-ui/core-sc'
38+
39+
const Styled = styled.div`
40+
color: ${colorLevel('red', 5)};
41+
`
42+
```
43+
44+
**Theme**
45+
46+
Theme is no longer required, Smooth UI will work well without theme and
47+
you can override only needed properties without having to load the
48+
entire theme.
49+
50+
The benefit from that approach is that code splitting is fully
51+
efficient, if you use only one component in Smooth UI you will load only
52+
theme primitives of this component.
53+
54+
The size of a result bundle that is using only a `Button`:
55+
56+
```
57+
202K bundle-smooth-ui-v8.js
58+
194K bundle-smooth-ui-v9.js
59+
65K bundle-smooth-ui-v8.js.gz
60+
63K bundle-smooth-ui-v9.js.gz
61+
```
62+
63+
As you can see the bundle has been reduced of 8K (no gzip) and of 2K
64+
(gzip).
65+
66+
67+
68+
69+
670
# [8.1.0](https://github.com/smooth-code/smooth-ui/compare/v8.0.1...v8.1.0) (2019-01-22)
771

872
**Note:** Version bump only for package @smooth-ui/system

packages/system/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@smooth-ui/system",
33
"description": "Modern style system for styled-components & emotion.",
4-
"version": "8.1.0",
4+
"version": "9.0.0",
55
"keywords": [
66
"emotion",
77
"styled-components",

0 commit comments

Comments
 (0)