Skip to content

Commit aa22ca2

Browse files
committed
feat(react): upgrade react-spring for react 19 support
1 parent f480e26 commit aa22ca2

File tree

34 files changed

+26203
-34023
lines changed

34 files changed

+26203
-34023
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@
7676
"yargs": "^17.7.2"
7777
},
7878
"resolutions": {
79+
"@react-spring/core": "^10.0.0",
80+
"@react-spring/web": "^10.0.0",
7981
"@types/react": "^18.3.1",
8082
"@types/react-dom": "^18.3.1",
8183
"@types/eslint": "7.29.0",

packages/annotations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@nivo/colors": "workspace:*",
3232
"@nivo/core": "workspace:*",
3333
"@nivo/theming": "workspace:*",
34-
"@react-spring/web": "9.4.5 || ^9.7.2",
34+
"@react-spring/web": "9.4.5 || ^9.7.2 || ^10.0",
3535
"lodash": "^4.17.21"
3636
},
3737
"peerDependencies": {

packages/arcs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"@nivo/core": "workspace:*",
3333
"@nivo/text": "workspace:*",
3434
"@nivo/theming": "workspace:*",
35-
"@react-spring/core": "9.4.5 || ^9.7.2",
36-
"@react-spring/web": "9.4.5 || ^9.7.2",
35+
"@react-spring/core": "9.4.5 || ^9.7.2 || ^10.0",
36+
"@react-spring/web": "9.4.5 || ^9.7.2 || ^10.0",
3737
"@types/d3-shape": "^3.1.6",
3838
"d3-shape": "^3.2.0"
3939
},

packages/axes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@nivo/scales": "workspace:*",
3232
"@nivo/text": "workspace:*",
3333
"@nivo/theming": "workspace:*",
34-
"@react-spring/web": "9.4.5 || ^9.7.2",
34+
"@react-spring/web": "9.4.5 || ^9.7.2 || ^10.0",
3535
"@types/d3-format": "^1.4.1",
3636
"@types/d3-time-format": "^2.3.1",
3737
"d3-format": "^1.4.4",

packages/bar/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@nivo/text": "workspace:*",
4040
"@nivo/theming": "workspace:*",
4141
"@nivo/tooltip": "workspace:*",
42-
"@react-spring/web": "9.4.5 || ^9.7.2",
42+
"@react-spring/web": "9.4.5 || ^9.7.2 || ^10.0",
4343
"@types/d3-scale": "^4.0.8",
4444
"@types/d3-shape": "^3.1.6",
4545
"d3-scale": "^4.0.2",

packages/boxplot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@nivo/scales": "workspace:*",
4343
"@nivo/theming": "workspace:*",
4444
"@nivo/tooltip": "workspace:*",
45-
"@react-spring/web": "9.4.5 || ^9.7.2",
45+
"@react-spring/web": "9.4.5 || ^9.7.2 || ^10.0",
4646
"@types/d3-scale": "^4.0.8",
4747
"@types/d3-shape": "^3.1.6",
4848
"d3-scale": "^4.0.2",

packages/bullet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@nivo/text": "workspace:*",
3838
"@nivo/theming": "workspace:*",
3939
"@nivo/tooltip": "workspace:*",
40-
"@react-spring/web": "9.4.5 || ^9.7.2"
40+
"@react-spring/web": "9.4.5 || ^9.7.2 || ^10.0"
4141
},
4242
"peerDependencies": {
4343
"react": "^16.14 || ^17.0 || ^18.0 || ^19.0"

packages/bump/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@nivo/theming": "workspace:*",
4040
"@nivo/tooltip": "workspace:*",
4141
"@nivo/voronoi": "workspace:*",
42-
"@react-spring/web": "9.4.5 || ^9.7.2",
42+
"@react-spring/web": "9.4.5 || ^9.7.2 || ^10.0",
4343
"@types/d3-scale": "^4.0.8",
4444
"@types/d3-shape": "^3.1.6",
4545
"d3-scale": "^4.0.2",

packages/chord/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"@nivo/text": "workspace:*",
3737
"@nivo/theming": "workspace:*",
3838
"@nivo/tooltip": "workspace:*",
39-
"@react-spring/core": "9.4.5 || ^9.7.2",
40-
"@react-spring/web": "9.4.5 || ^9.7.2",
39+
"@react-spring/core": "9.4.5 || ^9.7.2 || ^10.0",
40+
"@react-spring/web": "9.4.5 || ^9.7.2 || ^10.0",
4141
"@types/d3-chord": "^3.0.1",
4242
"@types/d3-shape": "^3.1.6",
4343
"d3-chord": "^1.0.6",

packages/circle-packing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@nivo/core": "workspace:*",
4141
"@nivo/theming": "workspace:*",
4242
"@nivo/tooltip": "workspace:*",
43-
"@react-spring/web": "9.4.5 || ^9.7.2",
43+
"@react-spring/web": "9.4.5 || ^9.7.2 || ^10.0",
4444
"@types/d3-hierarchy": "^3.1.7",
4545
"d3-hierarchy": "^3.1.2",
4646
"lodash": "^4.17.21"

0 commit comments

Comments
 (0)