Skip to content

Commit 2a4b7a3

Browse files
committed
fix support react 18.0 < 20.0
1 parent 73d3be1 commit 2a4b7a3

File tree

6 files changed

+169
-170
lines changed

6 files changed

+169
-170
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
</div>
2121

2222

23+
`^1.1.0 support react >=18.0.0 <20.0.0`
2324

2425

2526
## Features

example/package.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
"pages:deploy": "NODE_VERSION=18 yarn build-storybook && wrangler pages deploy ./storybook-static --project-name=acrool-react-dialog --branch main"
1111
},
1212
"resolutions": {
13-
"styled-components": "5.3.9",
14-
"framer-motion": "11.11.8"
13+
"styled-components": "6.1.17"
1514
},
1615
"dependencies": {
17-
"@acrool/js-utils": "^3.2.12",
18-
"@acrool/react-grid": "^5.2.5",
16+
"@acrool/js-utils": "^3.2.15",
17+
"@acrool/react-grid": "6.0.2",
1918
"@acrool/react-dialog": "link:..",
2019
"@chromatic-com/storybook": "^1.5.0",
2120
"@emotion/is-prop-valid": "^1.2.2",
@@ -28,11 +27,10 @@
2827
"@storybook/react-vite": "^8.1.10",
2928
"@storybook/test": "^8.1.10",
3029
"@swc/core": "^1.3.68",
31-
"@swc/plugin-styled-components": "^1.5.68",
30+
"@swc/plugin-styled-components": "6.8.2",
3231
"@types/dom-to-image": "^2.6.7",
33-
"@types/react": "^18.0.28",
34-
"@types/react-dom": "^18.0.11",
35-
"@types/styled-components": "^5.1.26",
32+
"@types/react": "^19.1.2",
33+
"@types/react-dom": "^19.1.2",
3634
"@vitejs/plugin-react-swc": "^3.0.0",
3735
"dom-to-image": "^2.6.0",
3836
"framer-motion": "link:../node_modules/framer-motion",
@@ -41,7 +39,7 @@
4139
"sass": "^1.77.1",
4240
"storybook": "^8.1.10",
4341
"storybook-dark-mode": "^4.0.2",
44-
"styled-components": "5.3.9",
42+
"styled-components": "6.1.17",
4543
"typescript": "^5.2.2",
4644
"vite": "^5.2.0",
4745
"vite-plugin-svgr": "^4.2.0",

0 commit comments

Comments
 (0)