Skip to content

Commit 1eafb22

Browse files
PierreCrbfoyarashbaptadn
authored
Upgrade to Chakra UI v1 (#91)
* start migration to v1 * migration to ChakraUI v1 * upgrade version & start debugging * add theme * continue upgrade * fix all error for migration * fix bug & ts-ignore * fix menu icon * update theme * Multiple fixes, handle button icons * Fix types * Fix background grid * Fix tests * Fix clear popover color * Fix code panel * Fix tests * Upgrade circleci node version * Upgrade circle ci node version * Fix tests * Add preview for Icon and IconButton * Upgrade next.js * Upgrade to official chakra v1 release * Fix Header layout * Fix build, fix codesandbox packages * Fix z-index on popover, fix search bar * Fix icon preview and multiple inconsistencies * Fix tests * Fix default props and some previews * Fix tests * Fix searchbar clear button * Add v0 menu entry * Update templates * Fix searchbar zindex * Fix env variable name Co-authored-by: Hugo FOYART <[email protected]> Co-authored-by: shinework <[email protected]>
1 parent e43cc8d commit 1eafb22

File tree

105 files changed

+6139
-5541
lines changed

Some content is hidden

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

105 files changed

+6139
-5541
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
build:
88
docker:
99
# specify the version you desire here
10-
- image: circleci/node:10.16.3
10+
- image: circleci/node:11.10.1
1111

1212
steps:
1313
- checkout

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
"dependencies": {
66
"@bugsnag/js": "^6.5.2",
77
"@bugsnag/plugin-react": "^6.5.0",
8-
"@chakra-ui/core": "^0.5.2",
9-
"@emotion/core": "^10.0.27",
10-
"@emotion/styled": "^10.0.27",
8+
"@chakra-ui/icons": "^1.0.1",
9+
"@chakra-ui/react": "^1.0.1",
10+
"@chakra-ui/theme": "^1.0.1",
11+
"@emotion/react": "^11.1.1",
12+
"@emotion/styled": "^11.0.0",
1113
"@mdx-js/react": "^1.5.5",
1214
"@reach/combobox": "^0.7.3",
1315
"@rehooks/local-storage": "^2.1.1",
@@ -16,7 +18,7 @@
1618
"codesandbox": "^2.1.11",
1719
"coloreact": "^0.3.1",
1820
"copy-to-clipboard": "^3.2.1",
19-
"emotion-theming": "^10.0.27",
21+
"framer-motion": "^2.9.4",
2022
"lodash": "^4.17.15",
2123
"lodash-es": "^4.17.15",
2224
"lz-string": "^1.4.4",
@@ -37,7 +39,7 @@
3739
"redux": "^4.0.5",
3840
"redux-persist": "^6.0.0",
3941
"redux-undo": "^1.0.0",
40-
"typescript": "^3.7.5",
42+
"typescript": "3.8",
4143
"webpack-bundle-analyzer": "^3.6.0"
4244
},
4345
"scripts": {

scripts/ref.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"description": "The variant of the badge"
3838
},
3939
{
40-
"name": "variantColor",
40+
"name": "colorScheme",
4141
"type": { "type": "string" },
4242
"description": "The color scheme of the badge"
4343
}
@@ -107,7 +107,7 @@
107107
"description": "The variant of the button style to use."
108108
},
109109
{
110-
"name": "variantColor",
110+
"name": "colorScheme",
111111
"type": { "type": "string" },
112112
"description": "The color scheme of the button."
113113
}
@@ -179,7 +179,7 @@
179179
"description": "The value to be used in the checkbox input.\nThis is the value that will be returned on form submission."
180180
},
181181
{
182-
"name": "variantColor",
182+
"name": "colorScheme",
183183
"type": { "type": "string" },
184184
"description": "The color scheme of the checkbox."
185185
}
@@ -265,7 +265,7 @@
265265
"description": "The variant of the tag."
266266
},
267267
{
268-
"name": "variantColor",
268+
"name": "colorScheme",
269269
"type": { "type": "string" },
270270
"description": "The color scheme of the tag."
271271
}

0 commit comments

Comments
 (0)