@mui/material-nextjs 5.16.8 → 5.16.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,76 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v5.16.13
4
+
5
+ <!-- generated comparing v5.16.12..v5.x -->
6
+
7
+ _Dec 24, 2024_
8
+
9
+ A big thanks to the 2 contributors who made this release possible.
10
+
11
+ ### `@mui/material-nextjs@5.16.13`
12
+
13
+ - Support Next 15.0.0 in v5 (#44853) @DiegoAndai
14
+
15
+ ### Docs
16
+
17
+ - [material-ui] Fix crashing of DraggableDialog demo (#44811) @sai6855
18
+
19
+ ### Core
20
+
21
+ - Use React 18's JSX runtime for v5.x UMD builds (#44815) @DiegoAndai
22
+
23
+ All contributors of this release in alphabetical order: @DiegoAndai, @sai6855
24
+
25
+ ## v5.16.12
26
+
27
+ <!-- generated comparing v5.16.11..v5.x -->
28
+
29
+ _Dec 16, 2024_
30
+
31
+ Material UI v5 is now compatible with React 19 (#44720) @DiegoAndai
32
+
33
+ ### Core
34
+
35
+ - Bump react 19 in v5 (#44720) @DiegoAndai
36
+ - Add `latest-v5` tag to v5 releases (#44757) @DiegoAndai
37
+
38
+ All contributors of this release in alphabetical order: @DiegoAndai
39
+
40
+ ## 5.16.11
41
+
42
+ <!-- generated comparing v5.16.9..v5.x -->
43
+
44
+ _Dec 11, 2024_
45
+
46
+ A big thanks to the contributor who made this release possible.
47
+
48
+ ### Core
49
+
50
+ - Bump pnpm to 9.14.4 in v5 (#44705) @DiegoAndai
51
+ - Fix UMD examples (#44706) @DiegoAndai
52
+ - [typescript] Rescue missing backports v5 (#44712) @DiegoAndai
53
+
54
+ All contributors of this release in alphabetical order: @DiegoAndai
55
+
56
+ ## 5.16.9
57
+
58
+ <!-- generated comparing v5.16.8..v5.x -->
59
+
60
+ _Dec 3, 2024_
61
+
62
+ A big thanks to the 2 contributors who made this release possible.
63
+
64
+ ### `@mui/material@5.16.9`
65
+
66
+ - [Tabs] Cherry pick `ScrollbarSize` ref being overridden fix (#44595) @DiegoAndai
67
+
68
+ ### Core
69
+
70
+ - Ignore browserslist and remove tag latest (#44589) @siriwatknp
71
+
72
+ All contributors of this release in alphabetical order: @DiegoAndai, @siriwatknp
73
+
3
74
  ## 5.16.8
4
75
 
5
76
  <!-- generated comparing v5.16.7..v5.x -->
@@ -66,7 +66,7 @@ export default function AppRouterCacheProvider(props) {
66
66
  var name = _ref.name,
67
67
  isGlobal = _ref.isGlobal;
68
68
  var style = registry.cache.inserted[name];
69
- if (typeof style !== 'boolean') {
69
+ if (typeof style === 'string') {
70
70
  if (isGlobal) {
71
71
  globals.push({
72
72
  name: name,
@@ -0,0 +1 @@
1
+ export * from '../v13-appRouter';
@@ -0,0 +1 @@
1
+ export * from '../v13-pagesRouter';
@@ -62,7 +62,7 @@ export default function AppRouterCacheProvider(props) {
62
62
  isGlobal
63
63
  }) => {
64
64
  const style = registry.cache.inserted[name];
65
- if (typeof style !== 'boolean') {
65
+ if (typeof style === 'string') {
66
66
  if (isGlobal) {
67
67
  globals.push({
68
68
  name,
@@ -0,0 +1 @@
1
+ export * from '../v13-appRouter';
@@ -0,0 +1 @@
1
+ export * from '../v13-pagesRouter';
@@ -70,7 +70,7 @@ function AppRouterCacheProvider(props) {
70
70
  isGlobal
71
71
  }) => {
72
72
  const style = registry.cache.inserted[name];
73
- if (typeof style !== 'boolean') {
73
+ if (typeof style === 'string') {
74
74
  if (isGlobal) {
75
75
  globals.push({
76
76
  name,
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _v13AppRouter = require("../v13-appRouter");
7
+ Object.keys(_v13AppRouter).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _v13AppRouter[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _v13AppRouter[key];
14
+ }
15
+ });
16
+ });
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _v13PagesRouter = require("../v13-pagesRouter");
7
+ Object.keys(_v13PagesRouter).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _v13PagesRouter[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _v13PagesRouter[key];
14
+ }
15
+ });
16
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/material-nextjs",
3
- "version": "5.16.8",
3
+ "version": "5.16.13",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Collection of utilities for integration between Material UI and Next.js.",
@@ -31,7 +31,7 @@
31
31
  "@emotion/server": "^11.11.0",
32
32
  "@mui/material": "^5.0.0",
33
33
  "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
34
- "next": "^13.0.0 || ^14.0.0",
34
+ "next": "^13.0.0 || ^14.0.0 || ^15.0.0",
35
35
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
36
36
  },
37
37
  "peerDependenciesMeta": {
@@ -63,7 +63,7 @@ export default function AppRouterCacheProvider(props) {
63
63
  isGlobal
64
64
  }) => {
65
65
  const style = registry.cache.inserted[name];
66
- if (typeof style !== 'boolean') {
66
+ if (typeof style === 'string') {
67
67
  if (isGlobal) {
68
68
  globals.push({
69
69
  name,
@@ -18,6 +18,6 @@ export declare function documentGetInitialProps(ctx: DocumentContext, options?:
18
18
  emotionCache?: EmotionCache;
19
19
  plugins?: Plugin[];
20
20
  }): Promise<import("next/dist/shared/lib/utils").RenderPageResult & {
21
- styles?: React.ReactFragment | JSX.Element | React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | undefined;
21
+ styles?: React.ReactElement[] | Iterable<React.ReactNode> | React.JSX.Element;
22
22
  } & DocumentHeadTagsProps>;
23
23
  export {};
@@ -0,0 +1 @@
1
+ export * from '../v13-appRouter';
@@ -0,0 +1 @@
1
+ export * from '../v13-appRouter';
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "main": "../node/v15-appRouter/index.js",
5
+ "types": "./index.d.ts"
6
+ }
@@ -0,0 +1 @@
1
+ export * from '../v13-pagesRouter';
@@ -0,0 +1 @@
1
+ export * from '../v13-pagesRouter';
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "main": "../node/v15-pagesRouter/index.js",
5
+ "types": "./index.d.ts"
6
+ }