@mui/material 5.16.9 → 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,21 @@
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
+
3
19
  ## 5.16.9
4
20
 
5
21
  <!-- generated comparing v5.16.8..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
  }
@@ -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.9
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
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.16.9
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.9";
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("9");
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;
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.16.9
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.9";
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("9");
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;
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.16.9
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.9";
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("9");
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.9",
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/core-downloads-tracker": "^5.16.9",
39
- "@mui/utils": "^5.16.8",
40
38
  "@mui/types": "^7.2.15",
41
- "@mui/system": "^5.16.8"
39
+ "@mui/system": "^5.16.8",
40
+ "@mui/utils": "^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.9
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,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.16.9
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
@@ -7,7 +7,7 @@ import { DistributiveOmit, OverridableTypeMap } from '@mui/types';
7
7
  * @template TypeMap The interface the defines the props and a default root element of the component.
8
8
  */
9
9
  export type PolymorphicComponent<TypeMap extends OverridableTypeMap> = {
10
- <RootComponent extends React.ElementType = TypeMap['defaultComponent']>(props: PolymorphicProps<TypeMap, RootComponent>): JSX.Element | null;
10
+ <RootComponent extends React.ElementType = TypeMap['defaultComponent']>(props: PolymorphicProps<TypeMap, RootComponent>): React.JSX.Element | null;
11
11
  propTypes?: any;
12
12
  displayName?: string | undefined;
13
13
  };
package/version/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export const version = "5.16.9";
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("9");
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;