From 45d609e1ad4588c17170b41585e5df2c10606edb Mon Sep 17 00:00:00 2001 From: Diego Andai Date: Wed, 27 Nov 2024 14:07:36 -0300 Subject: [PATCH] [core] Cherry pick React 19 added to peer dependencies to v5.x (#44578) --- packages/mui-docs/package.json | 4 ++-- packages/mui-icons-material/package.json | 4 ++-- packages/mui-lab/package.json | 6 +++--- packages/mui-material-nextjs/package.json | 4 ++-- packages/mui-material/package.json | 6 +++--- packages/mui-private-theming/package.json | 4 ++-- packages/mui-styled-engine/package.json | 2 +- packages/mui-styles/package.json | 4 ++-- packages/mui-system/package.json | 4 ++-- packages/mui-types/package.json | 2 +- packages/mui-utils/package.json | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/mui-docs/package.json b/packages/mui-docs/package.json index 9839d30994c6a3..16ad4c09e2277b 100644 --- a/packages/mui-docs/package.json +++ b/packages/mui-docs/package.json @@ -54,9 +54,9 @@ "@mui/icons-material": "^5.0.0", "@mui/material": "^5.0.0", "@mui/system": "^5.0.0", - "@types/react": "^17.0.0 || ^18.0.0", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", "next": "^13.5.1 || ^14", - "react": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/mui-icons-material/package.json b/packages/mui-icons-material/package.json index 3eb2c80bc7c4fb..1ccb6037bbdebd 100644 --- a/packages/mui-icons-material/package.json +++ b/packages/mui-icons-material/package.json @@ -69,8 +69,8 @@ }, "peerDependencies": { "@mui/material": "^5.0.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/mui-lab/package.json b/packages/mui-lab/package.json index 4036389d37d7dd..1bb6ad89b4b63d 100644 --- a/packages/mui-lab/package.json +++ b/packages/mui-lab/package.json @@ -65,9 +65,9 @@ "@emotion/react": "^11.5.0", "@emotion/styled": "^11.3.0", "@mui/material": ">=5.15.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/mui-material-nextjs/package.json b/packages/mui-material-nextjs/package.json index b04eb2204a8546..9e6d6bd1e7454e 100644 --- a/packages/mui-material-nextjs/package.json +++ b/packages/mui-material-nextjs/package.json @@ -51,9 +51,9 @@ "@emotion/cache": "^11.11.0", "@emotion/server": "^11.11.0", "@mui/material": "^5.0.0", - "@types/react": "^17.0.0 || ^18.0.0", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", "next": "^13.0.0 || ^14.0.0", - "react": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index 9c51f8ddc170cf..7bb484f6f8da99 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -87,9 +87,9 @@ "peerDependencies": { "@emotion/react": "^11.5.0", "@emotion/styled": "^11.3.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/mui-private-theming/package.json b/packages/mui-private-theming/package.json index 7befd4a6c27d58..99e9173e4c8ae6 100644 --- a/packages/mui-private-theming/package.json +++ b/packages/mui-private-theming/package.json @@ -51,8 +51,8 @@ "react": "^18.3.1" }, "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/mui-styled-engine/package.json b/packages/mui-styled-engine/package.json index a88348fa89c753..684223567debcb 100644 --- a/packages/mui-styled-engine/package.json +++ b/packages/mui-styled-engine/package.json @@ -56,7 +56,7 @@ "peerDependencies": { "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", - "react": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@emotion/react": { diff --git a/packages/mui-styles/package.json b/packages/mui-styles/package.json index c7432ed8d02ab3..155a82f8a8919d 100644 --- a/packages/mui-styles/package.json +++ b/packages/mui-styles/package.json @@ -69,8 +69,8 @@ "sinon": "^15.2.0" }, "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/mui-system/package.json b/packages/mui-system/package.json index 8c6f067b18dd4d..f67007071f50f8 100644 --- a/packages/mui-system/package.json +++ b/packages/mui-system/package.json @@ -69,8 +69,8 @@ "peerDependencies": { "@emotion/react": "^11.5.0", "@emotion/styled": "^11.3.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/mui-types/package.json b/packages/mui-types/package.json index 4de4da481a2c8e..1a4fa5a7a28474 100644 --- a/packages/mui-types/package.json +++ b/packages/mui-types/package.json @@ -43,7 +43,7 @@ "@types/react": "^18.3.3" }, "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/mui-utils/package.json b/packages/mui-utils/package.json index a105eeb854a360..d6e422659c9acb 100644 --- a/packages/mui-utils/package.json +++ b/packages/mui-utils/package.json @@ -63,8 +63,8 @@ "sinon": "^15.2.0" }, "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": {