diff --git a/babel.config.js b/babel.config.js index b67f02fa534d..31279ecad068 100644 --- a/babel.config.js +++ b/babel.config.js @@ -30,7 +30,6 @@ const defaultAlias = { '@mui/x-tree-view': resolveAliasPath('./packages/x-tree-view/src'), '@mui/x-tree-view-pro': resolveAliasPath('./packages/x-tree-view-pro/src'), '@mui/x-internals': resolveAliasPath('./packages/x-internals/src'), - '@mui/material-nextjs': '@mui/monorepo/packages/mui-material-nextjs/src', '@mui-internal/api-docs-builder': resolveAliasPath( './node_modules/@mui/monorepo/packages/api-docs-builder', ), diff --git a/docs/package.json b/docs/package.json index aca4dfdc157a..b1389e9b87cf 100644 --- a/docs/package.json +++ b/docs/package.json @@ -32,7 +32,6 @@ "@mui/joy": "^5.0.0-beta.48", "@mui/lab": "^5.0.0-alpha.173", "@mui/material": "^5.16.11", - "@mui/material-nextjs": "^5.16.8", "@mui/styles": "^5.16.11", "@mui/system": "^5.16.8", "@mui/utils": "^5.16.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 058a1f47988f..25a9db4e0e57 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -440,9 +440,6 @@ importers: '@mui/material': specifier: ^5.16.11 version: 5.16.11(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@mui/material-nextjs': - specifier: ^5.16.8 - version: 5.16.8(@emotion/cache@11.14.0)(@emotion/server@11.11.0)(@mui/material@5.16.11(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.17)(next@15.1.1(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@mui/styles': specifier: ^5.16.11 version: 5.16.11(@types/react@18.3.17)(react@18.3.1) @@ -3184,24 +3181,6 @@ packages: '@types/react': optional: true - '@mui/material-nextjs@5.16.8': - resolution: {integrity: sha512-UJhXaizQWrl3a5uXeCYyAHITXZnRBJJFCarccXk04gH5+NS9UArNl20mG6emyuPwV67UDh8DBNUSjpHd1pTVGg==} - engines: {node: '>=12.0.0'} - peerDependencies: - '@emotion/cache': ^11.11.0 - '@emotion/server': ^11.11.0 - '@mui/material': ^5.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 || ^19.0.0 - peerDependenciesMeta: - '@emotion/cache': - optional: true - '@emotion/server': - optional: true - '@types/react': - optional: true - '@mui/material@5.16.11': resolution: {integrity: sha512-uoc67oecKdnVKaMHBVE433YrMuxQs22xY5nIjRb5sAPB+GaeZQWp8brQ3/adeH6k2IDa8+9i2IVd4fNLuvHSvA==} engines: {node: '>=12.0.0'} @@ -12163,17 +12142,6 @@ snapshots: '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react@18.3.1) '@types/react': 18.3.17 - '@mui/material-nextjs@5.16.8(@emotion/cache@11.14.0)(@emotion/server@11.11.0)(@mui/material@5.16.11(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.17)(next@15.1.1(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': - dependencies: - '@babel/runtime': 7.26.0 - '@mui/material': 5.16.11(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - next: 15.1.1(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react: 18.3.1 - optionalDependencies: - '@emotion/cache': 11.14.0 - '@emotion/server': 11.11.0 - '@types/react': 18.3.17 - '@mui/material@5.16.11(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react@18.3.1))(@types/react@18.3.17)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.26.0 diff --git a/renovate.json b/renovate.json index eb56e266d6d0..38f4e54f1c4b 100644 --- a/renovate.json +++ b/renovate.json @@ -88,7 +88,6 @@ "@mui/joy", "@mui/lab", "@mui/material", - "@mui/material-nextjs", "@mui/styles", "@mui/system", "@mui/types", diff --git a/scripts/useMaterialUIv6.mjs b/scripts/useMaterialUIv6.mjs index abc2fe55845b..e730521d69f8 100644 --- a/scripts/useMaterialUIv6.mjs +++ b/scripts/useMaterialUIv6.mjs @@ -9,7 +9,6 @@ const pnpmUpdate = childProcess.spawnSync( '@mui/system@6.x', '@mui/icons-material@6.x', '@mui/utils@6.x', - '@mui/material-nextjs@6.x', '@mui/styles@6.x', '@mui/lab@latest', ], diff --git a/test/regressions/index.test.ts b/test/regressions/index.test.ts index 472ba8ee836c..3f159c9bf6b5 100644 --- a/test/regressions/index.test.ts +++ b/test/regressions/index.test.ts @@ -14,7 +14,12 @@ function sleep(timeoutMS: number | undefined) { const isMaterialUIv6 = materialPackageJson.version.startsWith('6.'); // Tests that need a longer timeout. -const timeSensitiveSuites = ['ColumnAutosizingAsync', 'DensitySelectorGrid']; +const timeSensitiveSuites = [ + 'ColumnAutosizingAsync', + 'DensitySelectorGrid', + 'DataGridOverlays', + 'PopularFeaturesDemo', +]; const isConsoleWarningIgnored = (msg?: string) => { const isMuiV6Error = diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js index 2ada3fe5f14a..fc0446a9ae48 100644 --- a/webpackBaseConfig.js +++ b/webpackBaseConfig.js @@ -21,10 +21,6 @@ module.exports = { '@mui/x-tree-view-pro': path.resolve(__dirname, './packages/x-tree-view-pro/src'), '@mui/x-license': path.resolve(__dirname, './packages/x-license/src'), '@mui/x-internals': path.resolve(__dirname, './packages/x-internals/src'), - '@mui/material-nextjs': path.resolve( - __dirname, - './node_modules/@mui/monorepo/packages/mui-material-nextjs/src', - ), docs: path.resolve(__dirname, './node_modules/@mui/monorepo/docs'), docsx: path.resolve(__dirname, './docs'), },