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

Commit

Permalink
v9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Feb 4, 2019
1 parent 4cc8cbd commit 0151c02
Show file tree
Hide file tree
Showing 8 changed files with 280 additions and 6 deletions.
72 changes: 72 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,78 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [9.0.0](https://github.com/smooth-code/smooth-ui/compare/v8.1.0...v9.0.0) (2019-02-04)


### Bug Fixes

* **types:** fix TypeScript definitions ([5a02542](https://github.com/smooth-code/smooth-ui/commit/5a02542))
* **types:** fix TypeScript definitions ([#108](https://github.com/smooth-code/smooth-ui/issues/108)) ([87eda0b](https://github.com/smooth-code/smooth-ui/commit/87eda0b))


### Features

* simplify API & fixes theme bugs ([3ac41ec](https://github.com/smooth-code/smooth-ui/commit/3ac41ec))
* simplify core & remove theme dependency ([cec1029](https://github.com/smooth-code/smooth-ui/commit/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:

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

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

All mixins are now exported:

```js
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](https://github.com/smooth-code/smooth-ui/compare/v8.0.1...v8.1.0) (2019-01-22)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": [
"packages/*"
],
"version": "8.1.0",
"version": "9.0.0",
"npmClient": "yarn",
"useWorkspaces": true
}
69 changes: 69 additions & 0 deletions packages/core-em/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,75 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [9.0.0](https://github.com/smooth-code/smooth-ui/compare/v8.1.0...v9.0.0) (2019-02-04)


### Bug Fixes

* **types:** fix TypeScript definitions ([#108](https://github.com/smooth-code/smooth-ui/issues/108)) ([87eda0b](https://github.com/smooth-code/smooth-ui/commit/87eda0b))


### Features

* simplify core & remove theme dependency ([cec1029](https://github.com/smooth-code/smooth-ui/commit/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:

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

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

All mixins are now exported:

```js
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).





# [8.1.0](https://github.com/smooth-code/smooth-ui/compare/v8.0.1...v8.1.0) (2019-01-22)


Expand Down
4 changes: 2 additions & 2 deletions packages/core-em/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@smooth-ui/core-em",
"description": "Modern React UI Library",
"version": "8.1.0",
"version": "9.0.0",
"keywords": [
"emotion",
"ui",
Expand All @@ -26,7 +26,7 @@
"access": "public"
},
"dependencies": {
"@smooth-ui/system": "^8.1.0",
"@smooth-ui/system": "^9.0.0",
"polished": "^2.3.3",
"prop-types": "^15.6.2",
"react-focus-lock": "^1.17.7",
Expand Down
69 changes: 69 additions & 0 deletions packages/core-sc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,75 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [9.0.0](https://github.com/smooth-code/smooth-ui/compare/v8.1.0...v9.0.0) (2019-02-04)


### Bug Fixes

* **types:** fix TypeScript definitions ([#108](https://github.com/smooth-code/smooth-ui/issues/108)) ([87eda0b](https://github.com/smooth-code/smooth-ui/commit/87eda0b))


### Features

* simplify core & remove theme dependency ([cec1029](https://github.com/smooth-code/smooth-ui/commit/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:

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

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

All mixins are now exported:

```js
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).





# [8.1.0](https://github.com/smooth-code/smooth-ui/compare/v8.0.1...v8.1.0) (2019-01-22)


Expand Down
4 changes: 2 additions & 2 deletions packages/core-sc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@smooth-ui/core-sc",
"description": "Modern React UI Library",
"version": "8.1.0",
"version": "9.0.0",
"keywords": [
"styled-components",
"ui",
Expand All @@ -26,7 +26,7 @@
"access": "public"
},
"dependencies": {
"@smooth-ui/system": "^8.1.0",
"@smooth-ui/system": "^9.0.0",
"polished": "^2.3.3",
"prop-types": "^15.6.2",
"react-focus-lock": "^1.17.7",
Expand Down
64 changes: 64 additions & 0 deletions packages/system/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,70 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [9.0.0](https://github.com/smooth-code/smooth-ui/compare/v8.1.0...v9.0.0) (2019-02-04)


### Features

* simplify core & remove theme dependency ([cec1029](https://github.com/smooth-code/smooth-ui/commit/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:

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

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

All mixins are now exported:

```js
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).





# [8.1.0](https://github.com/smooth-code/smooth-ui/compare/v8.0.1...v8.1.0) (2019-01-22)

**Note:** Version bump only for package @smooth-ui/system
Expand Down
2 changes: 1 addition & 1 deletion packages/system/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@smooth-ui/system",
"description": "Modern style system for styled-components & emotion.",
"version": "8.1.0",
"version": "9.0.0",
"keywords": [
"emotion",
"styled-components",
Expand Down

0 comments on commit 0151c02

Please sign in to comment.