@mui/system 5.16.7 → 5.16.8

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,52 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.16.8
4
+
5
+ <!-- generated comparing v5.16.7..v5.x -->
6
+
7
+ _Nov 26, 2024_
8
+
9
+ A big thanks to the 8 contributors who made this release possible.
10
+
11
+ ### `@mui/material@5.16.8`
12
+
13
+ - Cherry pick ref accessing PRs (#44543) @DiegoAndai
14
+
15
+ ### `@mui/utils@5.16.8`
16
+
17
+ - Skip deep clone React element (v5.x) (#44494) @jukkatupamaki
18
+
19
+ ### Docs
20
+
21
+ - Keep sponsors up to date @oliviertassinari
22
+ - Fix MUI Treasury Layout broken links (#43753) @oliviertassinari
23
+ - Strengthen CSP rule @oliviertassinari
24
+ - Give up on restoring search @oliviertassinari
25
+ - Normalize next major message @oliviertassinari
26
+ - Fix versions URL @oliviertassinari
27
+ - Fix use of absolute URLs (#43567) @oliviertassinari
28
+ - Restore search on v5 (#43566) @oliviertassinari
29
+ - Fix link from v5 to v6 (#43585) @alexfauquette
30
+ - Updated mui-x roadmap links with the new project URL (@michelengelen) (#43446) @michelengelen
31
+ - Fix broken link to Next.js docs @oliviertassinari
32
+
33
+ ### Core
34
+
35
+ - [blog] Polish Upcoming changes to MUI X pricing in 2024 (#43438) @oliviertassinari
36
+ - [blog] Add video to the Pigment CSS blog post (#42500) @oliviertassinari
37
+ - [blog] Announcing pricing changes Sep 2024 (#43272) @cherniavskii
38
+ - Prepare for moving to v5.x branch (#43447) @siriwatknp
39
+ - [core] Cherry pick #42346 to v5 (#44475) @DiegoAndai
40
+ - [core] Fix CI on v5.x branch (#44487) @DiegoAndai
41
+ - [core] Fix CI on v5.x branch (#43564) @oliviertassinari
42
+ - [examples] Fix v5 clone example instructions (#43755) @oliviertassinari
43
+ - [examples] Fix CLI download instructions @oliviertassinari
44
+ - [examples] Fix CDN live preview example @oliviertassinari
45
+ - [examples] Fix more examples to work with v5 @oliviertassinari
46
+ - [examples] Freeze examples dependency range (#43435) @oliviertassinari
47
+
48
+ All contributors of this release in alphabetical order: @alexfauquette, @cherniavskii, @DiegoAndai, @jukkatupamaki, @michelengelen, @oliviertassinari, @rluzists1, @siriwatknp
49
+
3
50
  ## 5.16.7
4
51
 
5
52
  <!-- generated comparing v5.16.6..master -->
package/README.md CHANGED
@@ -16,4 +16,4 @@ npm install @mui/system @emotion/react @emotion/styled
16
16
 
17
17
  <!-- #default-branch-switch -->
18
18
 
19
- Visit [https://mui.com/system/getting-started/](https://mui.com/system/getting-started/) to view the full documentation.
19
+ Visit [https://v5.mui.com/system/getting-started/](https://v5.mui.com/system/getting-started/) to view the full documentation.
@@ -130,9 +130,9 @@ function createGrid(options = {}) {
130
130
  }, other, {
131
131
  children: React.Children.map(children, child => {
132
132
  if ( /*#__PURE__*/React.isValidElement(child) && (0, _isMuiElement.default)(child, ['Grid'])) {
133
- var _child$props$unstable;
133
+ var _unstable_level, _child$props;
134
134
  return /*#__PURE__*/React.cloneElement(child, {
135
- unstable_level: (_child$props$unstable = child.props.unstable_level) != null ? _child$props$unstable : level + 1
135
+ unstable_level: (_unstable_level = (_child$props = child.props) == null ? void 0 : _child$props.unstable_level) != null ? _unstable_level : level + 1
136
136
  });
137
137
  }
138
138
  return child;
@@ -90,7 +90,7 @@ export interface CreateCssVarsProviderResult<
90
90
  disableStyleSheetGeneration?: boolean;
91
91
  }
92
92
  >,
93
- ) => React.ReactElement;
93
+ ) => React.JSX.Element;
94
94
  useColorScheme: () => ColorSchemeContextValue<ColorScheme>;
95
95
  getInitColorSchemeScript: typeof InitColorSchemeScript;
96
96
  }
@@ -121,9 +121,9 @@ export default function createGrid(options = {}) {
121
121
  }, other, {
122
122
  children: React.Children.map(children, child => {
123
123
  if ( /*#__PURE__*/React.isValidElement(child) && isMuiElement(child, ['Grid'])) {
124
- var _child$props$unstable;
124
+ var _unstable_level, _child$props;
125
125
  return /*#__PURE__*/React.cloneElement(child, {
126
- unstable_level: (_child$props$unstable = child.props.unstable_level) != null ? _child$props$unstable : level + 1
126
+ unstable_level: (_unstable_level = (_child$props = child.props) == null ? void 0 : _child$props.unstable_level) != null ? _unstable_level : level + 1
127
127
  });
128
128
  }
129
129
  return child;
@@ -1,7 +1,7 @@
1
- export const version = "5.16.7";
1
+ export const version = "5.16.8";
2
2
  export const major = Number("5");
3
3
  export const minor = Number("16");
4
- export const patch = Number("7");
4
+ export const patch = Number("8");
5
5
  export const preReleaseLabel = undefined || null;
6
6
  export const preReleaseNumber = Number(undefined) || null;
7
7
  export default version;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/system v5.16.7
2
+ * @mui/system v5.16.8
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -134,9 +134,9 @@ export default function createGrid() {
134
134
  }, other, {
135
135
  children: React.Children.map(children, function (child) {
136
136
  if ( /*#__PURE__*/React.isValidElement(child) && isMuiElement(child, ['Grid'])) {
137
- var _child$props$unstable;
137
+ var _unstable_level, _child$props;
138
138
  return /*#__PURE__*/React.cloneElement(child, {
139
- unstable_level: (_child$props$unstable = child.props.unstable_level) != null ? _child$props$unstable : level + 1
139
+ unstable_level: (_unstable_level = (_child$props = child.props) == null ? void 0 : _child$props.unstable_level) != null ? _unstable_level : level + 1
140
140
  });
141
141
  }
142
142
  return child;
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/system v5.16.7
2
+ * @mui/system v5.16.8
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -1,7 +1,7 @@
1
- export var version = "5.16.7";
1
+ export var version = "5.16.8";
2
2
  export var major = Number("5");
3
3
  export var minor = Number("16");
4
- export var patch = Number("7");
4
+ export var patch = Number("8");
5
5
  export var preReleaseLabel = undefined || null;
6
6
  export var preReleaseNumber = Number(undefined) || null;
7
7
  export default version;
@@ -121,7 +121,7 @@ export default function createGrid(options = {}) {
121
121
  children: React.Children.map(children, child => {
122
122
  if ( /*#__PURE__*/React.isValidElement(child) && isMuiElement(child, ['Grid'])) {
123
123
  return /*#__PURE__*/React.cloneElement(child, {
124
- unstable_level: child.props.unstable_level ?? level + 1
124
+ unstable_level: child.props?.unstable_level ?? level + 1
125
125
  });
126
126
  }
127
127
  return child;
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/system v5.16.7
2
+ * @mui/system v5.16.8
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -1,7 +1,7 @@
1
- export const version = "5.16.7";
1
+ export const version = "5.16.8";
2
2
  export const major = Number("5");
3
3
  export const minor = Number("16");
4
- export const patch = Number("7");
4
+ export const patch = Number("8");
5
5
  export const preReleaseLabel = undefined || null;
6
6
  export const preReleaseNumber = Number(undefined) || null;
7
7
  export default version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/system",
3
- "version": "5.16.7",
3
+ "version": "5.16.8",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "MUI System is a set of CSS utilities to help you build custom designs more efficiently. It makes it possible to rapidly lay out custom designs.",
@@ -20,7 +20,7 @@
20
20
  "bugs": {
21
21
  "url": "https://github.com/mui/material-ui/issues"
22
22
  },
23
- "homepage": "https://mui.com/system/getting-started/",
23
+ "homepage": "https://v5.mui.com/system/getting-started/",
24
24
  "funding": {
25
25
  "type": "opencollective",
26
26
  "url": "https://opencollective.com/mui-org"
@@ -30,16 +30,16 @@
30
30
  "clsx": "^2.1.0",
31
31
  "csstype": "^3.1.3",
32
32
  "prop-types": "^15.8.1",
33
+ "@mui/styled-engine": "^5.16.8",
34
+ "@mui/private-theming": "^5.16.8",
33
35
  "@mui/types": "^7.2.15",
34
- "@mui/private-theming": "^5.16.6",
35
- "@mui/utils": "^5.16.6",
36
- "@mui/styled-engine": "^5.16.6"
36
+ "@mui/utils": "^5.16.8"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@emotion/react": "^11.5.0",
40
40
  "@emotion/styled": "^11.3.0",
41
- "@types/react": "^17.0.0 || ^18.0.0",
42
- "react": "^17.0.0 || ^18.0.0"
41
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
42
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "@types/react": {
package/version/index.js CHANGED
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.version = exports.preReleaseNumber = exports.preReleaseLabel = exports.patch = exports.minor = exports.major = exports.default = void 0;
7
- const version = exports.version = "5.16.7";
7
+ const version = exports.version = "5.16.8";
8
8
  const major = exports.major = Number("5");
9
9
  const minor = exports.minor = Number("16");
10
- const patch = exports.patch = Number("7");
10
+ const patch = exports.patch = Number("8");
11
11
  const preReleaseLabel = exports.preReleaseLabel = undefined || null;
12
12
  const preReleaseNumber = exports.preReleaseNumber = Number(undefined) || null;
13
13
  var _default = exports.default = version;