@mui/material 5.16.8 → 5.16.11

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,39 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.16.11
4
+
5
+ <!-- generated comparing v5.16.9..v5.x -->
6
+
7
+ _Dec 11, 2024_
8
+
9
+ A big thanks to the contributor who made this release possible.
10
+
11
+ ### Core
12
+
13
+ - Bump pnpm to 9.14.4 in v5 (#44705) @DiegoAndai
14
+ - Fix UMD examples (#44706) @DiegoAndai
15
+ - [typescript] Rescue missing backports v5 (#44712) @DiegoAndai
16
+
17
+ All contributors of this release in alphabetical order: @DiegoAndai
18
+
19
+ ## 5.16.9
20
+
21
+ <!-- generated comparing v5.16.8..v5.x -->
22
+
23
+ _Dec 3, 2024_
24
+
25
+ A big thanks to the 2 contributors who made this release possible.
26
+
27
+ ### `@mui/material@5.16.9`
28
+
29
+ - [Tabs] Cherry pick `ScrollbarSize` ref being overridden fix (#44595) @DiegoAndai
30
+
31
+ ### Core
32
+
33
+ - Ignore browserslist and remove tag latest (#44589) @siriwatknp
34
+
35
+ All contributors of this release in alphabetical order: @DiegoAndai, @siriwatknp
36
+
3
37
  ## 5.16.8
4
38
 
5
39
  <!-- generated comparing v5.16.7..v5.x -->
@@ -5,7 +5,7 @@ export interface ClickAwayListenerProps {
5
5
  /**
6
6
  * The wrapped element.
7
7
  */
8
- children: React.ReactElement;
8
+ children: React.ReactElement<any>;
9
9
  /**
10
10
  * If `true`, the React tree is ignored and only the DOM tree is considered.
11
11
  * This prop changes how portaled elements are handled.
@@ -40,7 +40,7 @@ export interface ClickAwayListenerProps {
40
40
  *
41
41
  * - [ClickAwayListener API](https://mui.com/material-ui/api/click-away-listener/)
42
42
  */
43
- declare function ClickAwayListener(props: ClickAwayListenerProps): JSX.Element;
43
+ declare function ClickAwayListener(props: ClickAwayListenerProps): React.JSX.Element;
44
44
  declare namespace ClickAwayListener {
45
45
  var propTypes: any;
46
46
  }
package/NoSsr/NoSsr.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { NoSsrProps } from './NoSsr.types';
3
3
  /**
4
4
  * NoSsr purposely removes components from the subject of Server Side Rendering (SSR).
@@ -18,7 +18,7 @@ import { NoSsrProps } from './NoSsr.types';
18
18
  *
19
19
  * - [NoSsr API](https://mui.com/material-ui/api/no-ssr/)
20
20
  */
21
- declare function NoSsr(props: NoSsrProps): JSX.Element;
21
+ declare function NoSsr(props: NoSsrProps): React.JSX.Element;
22
22
  declare namespace NoSsr {
23
23
  var propTypes: any;
24
24
  }
@@ -51,9 +51,10 @@ export default function ScrollbarSize(props) {
51
51
  onChange(scrollbarHeight.current);
52
52
  }, [onChange]);
53
53
  return /*#__PURE__*/_jsx("div", _extends({
54
- style: styles,
54
+ style: styles
55
+ }, other, {
55
56
  ref: nodeRef
56
- }, other));
57
+ }));
57
58
  }
58
59
  process.env.NODE_ENV !== "production" ? ScrollbarSize.propTypes = {
59
60
  onChange: PropTypes.func.isRequired
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { FocusTrapProps } from './FocusTrap.types';
3
3
  /**
4
4
  * @ignore - internal component.
5
5
  */
6
- declare function FocusTrap(props: FocusTrapProps): JSX.Element;
6
+ declare function FocusTrap(props: FocusTrapProps): React.JSX.Element;
7
7
  declare namespace FocusTrap {
8
8
  var propTypes: any;
9
9
  }
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.16.8
2
+ * @mui/material v5.16.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -48,9 +48,10 @@ export default function ScrollbarSize(props) {
48
48
  onChange(scrollbarHeight.current);
49
49
  }, [onChange]);
50
50
  return /*#__PURE__*/_jsx("div", _extends({
51
- style: styles,
51
+ style: styles
52
+ }, other, {
52
53
  ref: nodeRef
53
- }, other));
54
+ }));
54
55
  }
55
56
  process.env.NODE_ENV !== "production" ? ScrollbarSize.propTypes = {
56
57
  onChange: PropTypes.func.isRequired
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.16.8
2
+ * @mui/material v5.16.11
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.8";
1
+ export var version = "5.16.11";
2
2
  export var major = Number("5");
3
3
  export var minor = Number("16");
4
- export var patch = Number("8");
4
+ export var patch = Number("11");
5
5
  export var preReleaseLabel = undefined || null;
6
6
  export var preReleaseNumber = Number(undefined) || null;
7
7
  export default version;
@@ -51,9 +51,10 @@ export default function ScrollbarSize(props) {
51
51
  onChange(scrollbarHeight.current);
52
52
  }, [onChange]);
53
53
  return /*#__PURE__*/_jsx("div", _extends({
54
- style: styles,
54
+ style: styles
55
+ }, other, {
55
56
  ref: nodeRef
56
- }, other));
57
+ }));
57
58
  }
58
59
  process.env.NODE_ENV !== "production" ? ScrollbarSize.propTypes = {
59
60
  onChange: PropTypes.func.isRequired
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.16.8
2
+ * @mui/material v5.16.11
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.8";
1
+ export const version = "5.16.11";
2
2
  export const major = Number("5");
3
3
  export const minor = Number("16");
4
- export const patch = Number("8");
4
+ export const patch = Number("11");
5
5
  export const preReleaseLabel = undefined || null;
6
6
  export const preReleaseNumber = Number(undefined) || null;
7
7
  export default version;
@@ -59,9 +59,10 @@ function ScrollbarSize(props) {
59
59
  onChange(scrollbarHeight.current);
60
60
  }, [onChange]);
61
61
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", (0, _extends2.default)({
62
- style: styles,
62
+ style: styles
63
+ }, other, {
63
64
  ref: nodeRef
64
- }, other));
65
+ }));
65
66
  }
66
67
  process.env.NODE_ENV !== "production" ? ScrollbarSize.propTypes = {
67
68
  onChange: _propTypes.default.func.isRequired
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.16.8
2
+ * @mui/material v5.16.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -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.8";
7
+ const version = exports.version = "5.16.11";
8
8
  const major = exports.major = Number("5");
9
9
  const minor = exports.minor = Number("16");
10
- const patch = exports.patch = Number("8");
10
+ const patch = exports.patch = Number("11");
11
11
  const preReleaseLabel = exports.preReleaseLabel = undefined || null;
12
12
  const preReleaseNumber = exports.preReleaseNumber = Number(undefined) || null;
13
13
  var _default = exports.default = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/material",
3
- "version": "5.16.8",
3
+ "version": "5.16.11",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.",
@@ -35,10 +35,10 @@
35
35
  "prop-types": "^15.8.1",
36
36
  "react-is": "^18.3.1",
37
37
  "react-transition-group": "^4.4.5",
38
- "@mui/system": "^5.16.8",
39
38
  "@mui/types": "^7.2.15",
39
+ "@mui/system": "^5.16.8",
40
40
  "@mui/utils": "^5.16.8",
41
- "@mui/core-downloads-tracker": "^5.16.8"
41
+ "@mui/core-downloads-tracker": "^5.16.11"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@emotion/react": "^11.5.0",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.16.8
2
+ * @mui/material v5.16.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -48860,9 +48860,10 @@
48860
48860
  onChange(scrollbarHeight.current);
48861
48861
  }, [onChange]);
48862
48862
  return /*#__PURE__*/jsxRuntime_1("div", _extends({
48863
- style: styles,
48863
+ style: styles
48864
+ }, other, {
48864
48865
  ref: nodeRef
48865
- }, other));
48866
+ }));
48866
48867
  }
48867
48868
  ScrollbarSize.propTypes = {
48868
48869
  onChange: PropTypes.func.isRequired