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

Commit ce6c8ad

Browse files
Merge pull request #364 from chakra-ui/develop
ci: Releases @chakra-ui/[email protected] & @chakra-ui/nuxt@^0.2.0 🎉 (Upgrades emotion to @emotion/css)
2 parents d04bcaa + 2083620 commit ce6c8ad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1023
-349
lines changed

.eslintrc.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ module.exports = {
33
env: {
44
node: true
55
},
6-
plugins: ['testing-library'],
6+
plugins: [
7+
'testing-library',
8+
'@emotion'
9+
],
710
extends: [
811
'plugin:vue/essential',
912
'@vue/standard',
@@ -28,7 +31,8 @@ module.exports = {
2831
]
2932
}
3033
],
31-
'template-curly-spacing': 0
34+
'template-curly-spacing': 0,
35+
'@emotion/pkg-renaming': 'error'
3236
},
3337
parserOptions: {
3438
parser: 'babel-eslint'

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

.storybook/config.js

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,59 +7,59 @@ import Canvas from './components/Canvas.vue'
77
import storyBookTheme from './theme'
88

99
import {
10-
faBraille,
11-
faAnchor,
12-
faPlus,
13-
faCoffee,
14-
faAmbulance,
15-
faCalendar,
16-
faCar,
17-
faCaretLeft,
18-
faBolt,
19-
faUserSlash,
20-
faCheckCircle,
21-
faCog,
22-
faLock,
23-
faEye,
24-
faEyeSlash } from '@fortawesome/free-solid-svg-icons'
25-
26-
import {
27-
faChevronCircleUp,
28-
faSearch,
29-
faTimesCircle } from '@fortawesome/pro-light-svg-icons'
30-
31-
import {
32-
faGithub
33-
} from '@fortawesome/free-brands-svg-icons'
34-
35-
import {
36-
faDiscord
37-
} from '@fortawesome/free-brands-svg-icons'
10+
feAnchor,
11+
fePlus,
12+
feShoppingBag,
13+
feCalendar,
14+
feShoppingCart,
15+
feChevronLeft,
16+
feStar,
17+
feUserMinus,
18+
feCheckCircle,
19+
feSettings,
20+
feLock,
21+
feEye,
22+
feSearch,
23+
feEyeOff,
24+
feGithub,
25+
feAirplay,
26+
feCloudRain,
27+
feUploadCloud,
28+
feMap,
29+
feSend,
30+
feServer
31+
} from 'feather-icons-paths'
3832

3933
Vue.use(Chakra, {
4034
icons: {
41-
iconPack: 'fa',
4235
iconSet: {
43-
faBraille,
44-
faAnchor,
45-
faPlus,
46-
faCoffee,
47-
faAmbulance,
48-
faCalendar,
49-
faCar,
50-
faCaretLeft,
51-
faBolt,
52-
faUserSlash,
53-
faChevronCircleUp,
54-
faSearch,
55-
faTimesCircle,
56-
faGithub,
57-
faDiscord,
58-
faCheckCircle,
59-
faCog,
60-
faLock,
61-
faEye,
62-
faEyeSlash
36+
feAnchor,
37+
fePlus,
38+
feShoppingBag,
39+
feCalendar,
40+
feShoppingCart,
41+
feChevronLeft,
42+
feStar,
43+
feUserMinus,
44+
feCheckCircle,
45+
feSettings,
46+
feLock,
47+
feEye,
48+
feSearch,
49+
feEyeOff,
50+
feGithub,
51+
feAirplay,
52+
feCloudRain,
53+
feUploadCloud,
54+
feMap,
55+
feSend,
56+
feServer
57+
},
58+
extend: {
59+
discord: {
60+
path: `<path fill="currentColor" d="M297.216 243.2c0 15.616-11.52 28.416-26.112 28.416-14.336 0-26.112-12.8-26.112-28.416s11.52-28.416 26.112-28.416c14.592 0 26.112 12.8 26.112 28.416zm-119.552-28.416c-14.592 0-26.112 12.8-26.112 28.416s11.776 28.416 26.112 28.416c14.592 0 26.112-12.8 26.112-28.416.256-15.616-11.52-28.416-26.112-28.416zM448 52.736V512c-64.494-56.994-43.868-38.128-118.784-107.776l13.568 47.36H52.48C23.552 451.584 0 428.032 0 398.848V52.736C0 23.552 23.552 0 52.48 0h343.04C424.448 0 448 23.552 448 52.736zm-72.96 242.688c0-82.432-36.864-149.248-36.864-149.248-36.864-27.648-71.936-26.88-71.936-26.88l-3.584 4.096c43.52 13.312 63.744 32.512 63.744 32.512-60.811-33.329-132.244-33.335-191.232-7.424-9.472 4.352-15.104 7.424-15.104 7.424s21.248-20.224 67.328-33.536l-2.56-3.072s-35.072-.768-71.936 26.88c0 0-36.864 66.816-36.864 149.248 0 0 21.504 37.12 78.08 38.912 0 0 9.472-11.52 17.152-21.248-32.512-9.728-44.8-30.208-44.8-30.208 3.766 2.636 9.976 6.053 10.496 6.4 43.21 24.198 104.588 32.126 159.744 8.96 8.96-3.328 18.944-8.192 29.44-15.104 0 0-12.8 20.992-46.336 30.464 7.68 9.728 16.896 20.736 16.896 20.736 56.576-1.792 78.336-38.912 78.336-38.912z" fa-key="3" fill="currentColor"></path>`,
61+
viewBox: '0 0 496 512'
62+
}
6363
}
6464
}
6565
})

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ Head over here => https://vue.chakra-ui.com
5454
- [Storybook Components](#storybook-components)
5555
- [Development for Contributing:](#development-for-contributing)
5656
- [Related](#related)
57-
- [Contributors ✨](#contributors)
57+
- [Contributors ✨](#contributors-)
5858

5959
## Installation
6060

6161
```bash
62-
yarn add @chakra-ui/vue emotion
62+
yarn add @chakra-ui/vue @emotion/css
6363
```
6464

6565
or
6666

6767
```bash
68-
npm install @chakra-ui/vue emotion
68+
npm install @chakra-ui/vue @emotion/css
6969
```
7070

7171
<a id="nuxt-usage"></a>
@@ -74,7 +74,7 @@ npm install @chakra-ui/vue emotion
7474
> If you're using Nuxt, you need to install `@nuxtjs/emotion` package as well to server-side render your styles.
7575
7676
```bash
77-
yarn add @chakra-ui/vue emotion @nuxtjs/emotion
77+
yarn add @chakra-ui/vue @emotion/css @nuxtjs/emotion
7878
```
7979

8080
## Usage

package.json

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"website"
1616
],
1717
"nohoist": [
18-
"core-js"
18+
"core-js",
19+
"@chakra-ui/vue"
1920
]
2021
},
2122
"scripts": {
@@ -39,25 +40,16 @@
3940
"deploy-storybook": "storybook-to-ghpages -- --out=.out",
4041
"now-build-storybook": "build-storybook -o dist/storybook",
4142
"docs:dev": "yarn docs-dev",
43+
"docs:lint": "yarn workspace chakra-ui-docs lint",
4244
"theme:dev": "yarn workspace @chakra-ui/theme-vue build",
4345
"docs-dev": "yarn workspace chakra-ui-docs dev",
4446
"evalbundle": "bundlesize"
4547
},
4648
"dependencies": {
47-
"@babel/core": "^7.9.0",
48-
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
49-
"@babel/plugin-transform-modules-commonjs": "^7.7.4",
50-
"@babel/plugin-transform-parameters": "^7.7.4",
51-
"@babel/preset-env": "^7.9.5",
52-
"@changesets/cli": "^2.7.1",
53-
"@commitlint/cli": "^8.2.0",
54-
"@commitlint/config-conventional": "^8.2.0",
55-
"@fortawesome/free-brands-svg-icons": "^5.12.0",
56-
"@fortawesome/free-solid-svg-icons": "^5.11.2",
57-
"@fortawesome/pro-light-svg-icons": "^5.11.2",
49+
"@emotion/css": "^11.0.0",
5850
"@mdx-js/vue-loader": "^1.6.1",
5951
"@nuxtjs/dotenv": "^1.4.0",
60-
"@nuxtjs/emotion": "^0.0.1",
52+
"@nuxtjs/emotion": "^0.1.0",
6153
"@nuxtjs/now-builder": "^0.17.1",
6254
"@nuxtjs/router": "^1.5.0",
6355
"@popperjs/core": "^2.4.0",
@@ -69,28 +61,7 @@
6961
"@storybook/theming": "^5.2.8",
7062
"@storybook/vue": "^5.3.3",
7163
"@styled-system/css": "^5.0.23",
72-
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
73-
"@vue/babel-plugin-transform-vue-jsx": "^1.1.2",
74-
"@vue/babel-preset-app": "^4.1.1",
75-
"@vue/babel-preset-jsx": "^1.1.2",
76-
"@vue/cli-plugin-babel": "^3.11.0",
77-
"@vue/cli-plugin-eslint": "^3.11.0",
78-
"@vue/cli-plugin-pwa": "^3.11.0",
79-
"@vue/cli-plugin-unit-jest": "^3.11.0",
80-
"@vue/eslint-config-standard": "^4.0.0",
81-
"@vue/test-utils": "1.0.0-beta.29",
8264
"aria-hidden": "^1.1.1",
83-
"babel-core": "7.0.0-bridge.0",
84-
"babel-helper-vue-jsx-merge-props": "^2.0.3",
85-
"babel-jest": "^23.6.0",
86-
"babel-loader": "^8.0.6",
87-
"babel-plugin-syntax-jsx": "^6.18.0",
88-
"babel-plugin-transform-es2015-for-of": "^6.23.0",
89-
"babel-plugin-transform-vue-jsx": "^3.7.0",
90-
"babel-preset-env": "^1.7.0",
91-
"babel-preset-es2015": "^6.24.1",
92-
"babel-preset-vue": "^2.0.2",
93-
"babelrc-rollup": "^3.0.0",
9465
"breadstick": "^0.2.14",
9566
"can-use-dom": "^0.1.0",
9667
"chakra-loader": "latest",
@@ -99,10 +70,10 @@
9970
"core-js": "^3.6.4",
10071
"defu": "^2.0.4",
10172
"dotenv-defaults": "^1.1.1",
102-
"emotion": "^10.0.27",
10373
"eslint": "^5.16.0",
10474
"eslint-plugin-vue": "^5.0.0",
10575
"eslint-plugin-vue-a11y": "^0.0.31",
76+
"feather-icons-paths": "^1.0.8",
10677
"file-contributors": "^1.0.2",
10778
"focus-trap": "^5.1.0",
10879
"focus-trap-vue": "^0.0.4",
@@ -134,15 +105,46 @@
134105
},
135106
"devDependencies": {
136107
"@babel/cli": "^7.8.4",
108+
"@babel/core": "^7.9.0",
109+
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
110+
"@babel/plugin-transform-modules-commonjs": "^7.7.4",
111+
"@babel/plugin-transform-parameters": "^7.7.4",
112+
"@babel/preset-env": "^7.9.5",
137113
"@babel/runtime-corejs2": "^7.8.7",
114+
"@changesets/cli": "^2.7.1",
115+
"@commitlint/cli": "^8.2.0",
116+
"@commitlint/config-conventional": "^8.2.0",
117+
"@emotion/babel-plugin": "^11.1.2",
118+
"@emotion/eslint-plugin": "^11.0.0",
138119
"@nuxtjs/eslint-config": "^3.0.0",
139120
"@nuxtjs/eslint-module": "^1.0.0",
140121
"@nuxtjs/module-test-utils": "^1.6.1",
141122
"@testing-library/jest-dom": "^5.1.1",
142123
"@testing-library/user-event": "^10.0.0",
143124
"@testing-library/vue": "^4.1.0",
125+
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
126+
"@vue/babel-plugin-transform-vue-jsx": "^1.1.2",
127+
"@vue/babel-preset-app": "^4.1.1",
128+
"@vue/babel-preset-jsx": "^1.1.2",
129+
"@vue/cli-plugin-babel": "^3.11.0",
130+
"@vue/cli-plugin-eslint": "^3.11.0",
131+
"@vue/cli-plugin-pwa": "^3.11.0",
132+
"@vue/cli-plugin-unit-jest": "^3.11.0",
144133
"@vue/devtools": "^5.3.3",
134+
"@vue/eslint-config-standard": "^4.0.0",
135+
"@vue/test-utils": "1.0.0-beta.29",
136+
"babel-core": "7.0.0-bridge.0",
145137
"babel-eslint": "^10.1.0",
138+
"babel-helper-vue-jsx-merge-props": "^2.0.3",
139+
"babel-jest": "^23.6.0",
140+
"babel-loader": "^8.0.6",
141+
"babel-plugin-syntax-jsx": "^6.18.0",
142+
"babel-plugin-transform-es2015-for-of": "^6.23.0",
143+
"babel-plugin-transform-vue-jsx": "^3.7.0",
144+
"babel-preset-env": "^1.7.0",
145+
"babel-preset-es2015": "^6.24.1",
146+
"babel-preset-vue": "^2.0.2",
147+
"babelrc-rollup": "^3.0.0",
146148
"bundlesize": "^0.18.0",
147149
"cross-env": "^7.0.2",
148150
"eslint-config-prettier": "^6.10.0",

packages/chakra-ui-core/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,52 @@
11
# Change Log
22

3+
## 0.7.0
4+
5+
### Minor Changes
6+
7+
- 8715f8c: Upgraded `emotion` dependencies to namespaced `@emotion/css` packages
8+
9+
### Patch Changes
10+
11+
- 6b21ca5: Upgraded to @nuxtjs/emotion@^0.1.0
12+
- 98ccc9f: Added support for feather-icons to Chakr aUI Vue
13+
- eb47ac5: Removes UMD builds for Chakra UI Vue
14+
15+
## 0.7.0-next.3
16+
17+
### Patch Changes
18+
19+
- Removes UMD builds for Chakra UI Vue
20+
21+
## 0.7.0-next.2
22+
23+
### Patch Changes
24+
25+
- Added support for feather-icons to Chakr aUI Vue
26+
27+
## 0.7.0-next.1
28+
29+
### Patch Changes
30+
31+
- Upgraded to @nuxtjs/emotion@^0.1.0
32+
33+
## 0.7.0-next.0
34+
35+
### Minor Changes
36+
37+
- Upgraded `emotion` dependencies to namespaced `@emotion/css` packages
38+
339
## 0.6.6
440

541
### Patch Changes
642

743
**🌟 New features**
44+
845
- feat: include all known css properties #319
946
- feat(CStack): allow stack html elements #324
1047

1148
**🛠 Bug fixes**
49+
1250
- fix(creset): include font-family to global styles #323
1351
- fix(inputgroup): default inputgroup z-index to containing element zindex #325
1452
- Documentation fixes #329, #328, #321

packages/chakra-ui-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chakra-ui/vue",
3-
"version": "0.6.6",
3+
"version": "0.7.0",
44
"description": "Build Accessible and Responsive Vue.js websites and applications with speed ⚡️",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",
@@ -49,7 +49,7 @@
4949
"v-scroll-lock": "^1.1.0"
5050
},
5151
"peerDependencies": {
52-
"emotion": "^10.0.27",
52+
"@emotion/css": "^11.0.0",
5353
"vue": "^2.6.10"
5454
},
5555
"devDependencies": {

0 commit comments

Comments
 (0)