@mui/material-nextjs 5.16.8 → 5.16.12

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,54 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v5.16.12
4
+
5
+ <!-- generated comparing v5.16.11..v5.x -->
6
+
7
+ _Dec 16, 2024_
8
+
9
+ Material UI v5 is now compatible with React 19 (#44720) @DiegoAndai
10
+
11
+ ### Core
12
+
13
+ - Bump react 19 in v5 (#44720) @DiegoAndai
14
+ - Add `latest-v5` tag to v5 releases (#44757) @DiegoAndai
15
+
16
+ All contributors of this release in alphabetical order: @DiegoAndai
17
+
18
+ ## 5.16.11
19
+
20
+ <!-- generated comparing v5.16.9..v5.x -->
21
+
22
+ _Dec 11, 2024_
23
+
24
+ A big thanks to the contributor who made this release possible.
25
+
26
+ ### Core
27
+
28
+ - Bump pnpm to 9.14.4 in v5 (#44705) @DiegoAndai
29
+ - Fix UMD examples (#44706) @DiegoAndai
30
+ - [typescript] Rescue missing backports v5 (#44712) @DiegoAndai
31
+
32
+ All contributors of this release in alphabetical order: @DiegoAndai
33
+
34
+ ## 5.16.9
35
+
36
+ <!-- generated comparing v5.16.8..v5.x -->
37
+
38
+ _Dec 3, 2024_
39
+
40
+ A big thanks to the 2 contributors who made this release possible.
41
+
42
+ ### `@mui/material@5.16.9`
43
+
44
+ - [Tabs] Cherry pick `ScrollbarSize` ref being overridden fix (#44595) @DiegoAndai
45
+
46
+ ### Core
47
+
48
+ - Ignore browserslist and remove tag latest (#44589) @siriwatknp
49
+
50
+ All contributors of this release in alphabetical order: @DiegoAndai, @siriwatknp
51
+
3
52
  ## 5.16.8
4
53
 
5
54
  <!-- 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,
@@ -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,
@@ -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,
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.12",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Collection of utilities for integration between Material UI and Next.js.",
@@ -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 {};