@mui/private-theming 6.0.0-rc.0 → 6.0.0

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,51 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 6.0.0
4
+
5
+ <!-- generated comparing v6.0.0-rc.0..master -->
6
+
7
+ _Aug 27, 2024_
8
+
9
+ We are excited to announce the stable release of Material-UI v6 🎉, check out [the blog post](https://mui.com/blog/material-ui-v6-is-out/) to see all the updates.
10
+
11
+ ### `@mui/material@6.0.0`
12
+
13
+ - Change React.ReactElement<any,any> type from any to unknown (#43358) @sai6855
14
+ - [Pagination] Update `getItemAriaLabel` page param type (#43399) @sydneyjodon-wk
15
+ - [Unstable_TrapFocus] Fix `getTabbable` function return type (#42237) @KalmarLorand
16
+
17
+ ### `@mui/lab@6.0.0-beta.8`
18
+
19
+ - [button] Add missing customize points for span (#43436) @oliviertassinari
20
+
21
+ ### Docs
22
+
23
+ - Fix broken links (#43144) @DiegoAndai
24
+ - Updated mui-x roadmap links with the new project URL (#43444) @michelengelen
25
+ - Update pnpm order, move to second (#42712) @ahmadnadeem6236
26
+ - Fix CSS theme variables section (#43439) @siriwatknp
27
+ - Add two Toolpad Core components to Material UI sidebar (#43391) @prakhargupta1
28
+ - Fix licensingModel -> licenseModel @oliviertassinari
29
+ - Fix Stack Overflow issue canned response @oliviertassinari
30
+ - Avoid referencing MUI Core @oliviertassinari
31
+ - Fix description of eslint-plugin-material-ui @oliviertassinari
32
+ - [docs-infra] Polish reportBrokenLinks.js to support Base UI @oliviertassinari
33
+ - [material-ui] Clarify RTL language support in localization guide (#41784) @bahmanworld
34
+ - [material-ui] Refine templates theme selector (#43396) @zanivan
35
+
36
+ ### Core
37
+
38
+ - Prepare for v6 stable release (#43454) @siriwatknp
39
+ - [blog] Polish Upcoming changes to MUI X pricing in 2024 (#43438) @oliviertassinari
40
+ - [blog] Add Material UI v6 stable release (#41932) @siriwatknp
41
+ - [ci] Fix the release:changelog cmd (#43451) @mnajdova
42
+ - [core] Allow `^6.0.0` for `@mui/` dependencies in `@mui/docs` (#43445) @LukasTy
43
+ - [code-infra] Babel plugin to fully resolve imported paths (#43294) @Janpot
44
+ - [infra] Add closing message workflow (#43450) @michelengelen
45
+ - [website] Make beta chip consistent for Toolpad (#43392) @prakhargupta1
46
+
47
+ All contributors of this release in alphabetical order: @ahmadnadeem6236, @bahmanworld, @DiegoAndai, @Janpot, @KalmarLorand, @LukasTy, @michelengelen, @mnajdova, @oliviertassinari, @prakhargupta1, @sai6855, @siriwatknp, @sydneyjodon-wk, @zanivan
48
+
3
49
  ## 6.0.0-rc.0
4
50
 
5
51
  <!-- generated comparing v6.0.0-beta.6..next -->
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { exactProp } from '@mui/utils';
4
- import ThemeContext from '../useTheme/ThemeContext';
5
- import useTheme from '../useTheme';
6
- import nested from './nested';
4
+ import ThemeContext from "../useTheme/ThemeContext.js";
5
+ import useTheme from "../useTheme/index.js";
6
+ import nested from "./nested.js";
7
7
 
8
8
  // To support composition of theme.
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- export { default } from './ThemeProvider';
2
- export { default as unstable_nested } from './nested';
1
+ export { default } from "./ThemeProvider.js";
2
+ export { default as unstable_nested } from "./nested.js";
package/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @mui/private-theming v6.0.0-rc.0
2
+ * @mui/private-theming v6.0.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
- export { default as ThemeProvider } from './ThemeProvider';
9
- export * from './ThemeProvider';
10
- export { default as useTheme } from './useTheme';
8
+ export { default as ThemeProvider } from "./ThemeProvider/index.js";
9
+ export * from "./ThemeProvider/index.js";
10
+ export { default as useTheme } from "./useTheme/index.js";
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { exactProp } from '@mui/utils';
4
- import ThemeContext from '../useTheme/ThemeContext';
5
- import useTheme from '../useTheme';
6
- import nested from './nested';
4
+ import ThemeContext from "../useTheme/ThemeContext.js";
5
+ import useTheme from "../useTheme/index.js";
6
+ import nested from "./nested.js";
7
7
 
8
8
  // To support composition of theme.
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- export { default } from './ThemeProvider';
2
- export { default as unstable_nested } from './nested';
1
+ export { default } from "./ThemeProvider.js";
2
+ export { default as unstable_nested } from "./nested.js";
package/modern/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @mui/private-theming v6.0.0-rc.0
2
+ * @mui/private-theming v6.0.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
- export { default as ThemeProvider } from './ThemeProvider';
9
- export * from './ThemeProvider';
10
- export { default as useTheme } from './useTheme';
8
+ export { default as ThemeProvider } from "./ThemeProvider/index.js";
9
+ export * from "./ThemeProvider/index.js";
10
+ export { default as useTheme } from "./useTheme/index.js";
@@ -1 +1 @@
1
- export { default } from './useTheme';
1
+ export { default } from "./useTheme.js";
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import ThemeContext from './ThemeContext';
2
+ import ThemeContext from "./ThemeContext.js";
3
3
  export default function useTheme() {
4
4
  const theme = React.useContext(ThemeContext);
5
5
  if (process.env.NODE_ENV !== 'production') {
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/private-theming v6.0.0-rc.0
2
+ * @mui/private-theming v6.0.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/private-theming",
3
- "version": "6.0.0-rc.0",
3
+ "version": "6.0.0",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Private - The React theme context to be shared between `@mui/styles` and `@mui/material`.",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@babel/runtime": "^7.25.0",
30
30
  "prop-types": "^15.8.1",
31
- "@mui/utils": "6.0.0-rc.0"
31
+ "@mui/utils": "^6.0.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
package/useTheme/index.js CHANGED
@@ -1 +1 @@
1
- export { default } from './useTheme';
1
+ export { default } from "./useTheme.js";
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import ThemeContext from './ThemeContext';
2
+ import ThemeContext from "./ThemeContext.js";
3
3
  export default function useTheme() {
4
4
  const theme = React.useContext(ThemeContext);
5
5
  if (process.env.NODE_ENV !== 'production') {