8000 [core] Bump react 19 in v5 (#44720) · mui/material-ui@dd990df · GitHub
[go: up one dir, main page]

Skip to content

Commit dd990df

Browse files
authored
[core] Bump react 19 in v5 (#44720)
1 parent 5dede3d commit dd990df

File tree

80 files changed

+1679
-1208
lines changed

Some content is hidden

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

80 files changed

+1679
-1208
lines changed

apps/pigment-css-next-app/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
"@emotion/cache": "latest",
2020
"local-ui-lib": "workspace:^",
2121
"next": "latest",
22-
"react": "^18.3.1",
23-
"react-dom": "^18.3.1"
22+
"react": "^19.0.0",
23+
"react-dom": "^19.0.0"
2424
},
2525
"devDependencies": {
2626
"@pigment-css/unplugin": "file:../../packages/pigment-css-unplugin",
2727
"@pigment-css/nextjs-plugin": "file:../../packages/pigment-css-nextjs-plugin",
2828
"@types/node": "^20.5.7",
29-
"@types/react": "^18.3.3",
30-
"@types/react-dom": "^18.3.0",
29+
"@types/react": "^19.0.0",
30+
"@types/react-dom": "^19.0.0",
3131
"eslint": "^8.56.0",
32-
"typescript": "^5.3.3"
32+
"typescript": "^5.6.3"
3333
}
3434
}

apps/pigment-css-vite-app/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"@mui/icons-material": "file:../../packages/mui-icons-material/build",
1818
"clsx": "^2.1.0",
1919
"local-ui-lib": "workspace:^",
20-
"react": "^18.3.1",
21-
"react-dom": "^18.3.1",
20+
"react": "^19.0.0",
21+
"react-dom": "^19.0.0",
2222
"react-router": "^6.22.1",
2323
"react-router-dom": "^6.22.1"
2424
},
@@ -27,8 +27,8 @@
2727
"@babel/preset-react": "^7.23.3",
2828
"@babel/preset-typescript": "^7.23.3",
2929
"@pigment-css/vite-plugin": "file:../../packages/pigment-css-vite-plugin",
30-
"@types/react": "^18.3.3",
31-
"@types/react-dom": "^18.3.0",
30+
"@types/react": "^19.0.0",
31+
"@types/react-dom": "^19.0.0",
3232
"@vitejs/plugin-react": "^4.2.1",
3333
"postcss": "^8.4.35",
3434
"postcss-combine-media-query": "^1.0.1",

benchmark/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
},
1313
"dependencies": {
1414
"@chakra-ui/system": "^2.6.2",
15-
"@emotion/react": "^11.11.4",
15+
"@emotion/react": "^11.13.5",
1616
"@emotion/server": "^11.11.0",
17-
"@emotion/styled": "^11.11.0",
17+
"@emotion/styled": "^11.13.5",
1818
"@mui/material": "workspace:^",
1919
"@mui/styles": "workspace:^",
2020
"@mui/system": "workspace:^",
@@ -26,9 +26,9 @@
2626
"jss": "^10.10.0",
2727
"playwright": "^1.42.1",
2828
"prop-types": "^15.8.1",
29-
"react": "^18.3.1",
30-
"react-dom": "^18.3.1",
31-
"react-is": "^18.3.1",
29+
"react": "^19.0.0",
30+
"react-dom": "^19.0.0",
31+
"react-is": "^19.0.0",
3232
"react-jss": "^10.10.0",
3333
"react-redux": "^8.1.3",
3434
"redux": "^4.2.1",

docs/data/base/components/modal/SpringModal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ const Fade = React.forwardRef(function Fade(props, ref) {
8080
});
8181

8282
return (
83+
// @ts-expect-error https://github.com/pmndrs/react-spring/issues/2341
8384
<animated.div ref={ref} style={style} {...other}>
8485
{children}
8586
</animated.div>

docs/data/base/components/modal/SpringModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ const Fade = React.forwardRef<HTMLDivElement, FadeProps>(function Fade(props, re
8686
});
8787

8888
return (
89+
// @ts-expect-error https://github.com/pmndrs/react-spring/issues/2341
8990
<animated.div ref={ref} style={style} {...other}>
9091
{children}
9192
</animated.div>

docs/data/base/components/transitions/ReactSpring.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,10 @@ function ReactSpringTransition({ children }) {
144144
}
145145
}, [requestedEnter, api, onExited]);
146146

147-
return <animated.div style={springs}>{children}</animated.div>;
147+
return (
148+
// @ts-expect-error https://github.com/pmndrs/react-spring/issues/2341
149+
<animated.div style={springs}>{children}</animated.div>
150+
);
148151
}
149152

150153
ReactSpringTransition.propTypes = {

docs/data/base/components/transitions/ReactSpring.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,8 @@ function ReactSpringTransition({ children }: React.PropsWithChildren<{}>) {
139139
}
140140
}, [requestedEnter, api, onExited]);
141141

142-
return <animated.div style={springs}>{children}</animated.div>;
142+
return (
143+
// @ts-expect-error https://github.com/pmndrs/react-spring/issues/2341
144+
<animated.div style={springs}>{children}</animated.div>
145+
);
143146
}

docs/data/base/getting-started/quickstart/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Please note that [react](https://www.npmjs.com/package/react) and [react-dom](ht
3434

3535
```json
3636
"peerDependencies": {
37-
"react": "^17.0.0 || ^18.0.0",
38-
"react-dom": "^17.0.0 || ^18.0.0"
37+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
38+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
3939
},
4040
```
4141

docs/data/joy/getting-started/installation/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Please note that [react](https://www.npmjs.com/package/react) and [react-dom](ht
2929

3030
```json
3131
"peerDependencies": {
32-
"react": "^17.0.0 || ^18.0.0",
33-
"react-dom": "^17.0.0 || ^18.0.0"
32+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
33+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
3434
},
3535
```
3636

docs/data/material/components/modal/SpringModal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const Fade = React.forwardRef(function Fade(props, ref) {
3333
});
3434

3535
return (
36+
// @ts-expect-error https://github.com/pmndrs/react-spring/issues/2341
3637
<animated.div ref={ref} style={style} {...other}>
3738
{React.cloneElement(children, { onClick })}
3839
</animated.div>

0 commit comments

Comments
 (0)
0