@mui/system 6.0.1 → 6.0.2
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 +50 -1
- package/InitColorSchemeScript/InitColorSchemeScript.js +5 -5
- package/index.js +1 -1
- package/modern/InitColorSchemeScript/InitColorSchemeScript.js +5 -5
- package/modern/index.js +1 -1
- package/modern/version/index.js +2 -2
- package/node/InitColorSchemeScript/InitColorSchemeScript.js +5 -5
- package/node/index.js +1 -1
- package/node/version/index.js +2 -2
- package/package.json +4 -4
- package/version/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 6.0.2
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v6.0.1..master -->
|
|
6
|
+
|
|
7
|
+
_Sep 3, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 11 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@6.0.2`
|
|
12
|
+
|
|
13
|
+
- ​<!-- 07 -->Fix `createTheme` with just color schemes (#43518) @siriwatknp
|
|
14
|
+
- ​<!-- 06 -->[Menu,Popover] Fix Backdrop props descriptions (#43503) @Michael-Hutchinson
|
|
15
|
+
- ​<!-- 05 -->[MenuList] Do not react to an event with modifier key pressed (#43505) @MateuszGroth
|
|
16
|
+
|
|
17
|
+
### `@mui/system@6.0.2`
|
|
18
|
+
|
|
19
|
+
- ​<!-- 08 -->[InitColorSchemeScript] Use `let/const` instead of `var` (#43468) @ishon19
|
|
20
|
+
- ​<!-- 04 -->Fix composeClasses v6 behavior change (#43537) @oliviertassinari
|
|
21
|
+
|
|
22
|
+
### `@mui/codemod@6.0.2`
|
|
23
|
+
|
|
24
|
+
- ​<!-- 19 -->Skip `ListItemButton` import for unrelated files (#43532) @siriwatknp
|
|
25
|
+
|
|
26
|
+
### Docs
|
|
27
|
+
|
|
28
|
+
- ​<!-- 10 -->[figma] Clarity state or Figma Plugin component export (#43543) @oliviertassinari
|
|
29
|
+
- ​<!-- 09 -->[material-ui] Fix template shadow tokens (#43514) @zanivan
|
|
30
|
+
- ​<!-- 15 -->Update version support range (#43565) @oliviertassinari
|
|
31
|
+
- ​<!-- 14 -->Polish Material UI Sync plugin code format @oliviertassinari
|
|
32
|
+
|
|
33
|
+
### Core
|
|
34
|
+
|
|
35
|
+
- ​<!-- 24 -->[blog] Update Material UI v6 blog post link to reflect correct section title (#43535) @Michael-Hutchinson
|
|
36
|
+
- ​<!-- 23 -->[blog] Makes the v5 name change clearer @oliviertassinari
|
|
37
|
+
- ​<!-- 22 -->[blog] Fix typo in Material UI v6 blog post (#43502) @iamandrewluca
|
|
38
|
+
- ​<!-- 21 -->[code-infra] Add missing @babel/runtime dependency to @mui/material-pigment-css (#43473) @Janpot
|
|
39
|
+
- ​<!-- 20 -->[code-infra] Remove permissions in publish-canaries.yml (#43491) @oliviertassinari
|
|
40
|
+
- ​<!-- 18 -->[core] Fix CodeQL scan (#43547) @oliviertassinari
|
|
41
|
+
- ​<!-- 17 -->[core] Fix CHANGELOG `@mui/material@6.0.1` version (#43516) @DiegoAndai
|
|
42
|
+
- ​<!-- 14 -->[docs-infra] Reduce description max-length (#43562) @oliviertassinari
|
|
43
|
+
- ​<!-- 13 -->[docs-infra] Crash on invalid callout type (#43546) @oliviertassinari
|
|
44
|
+
- ​<!-- 12 -->[docs-infra] Fix GitHub source link redirection (#43534) @oliviertassinari
|
|
45
|
+
- ​<!-- 09 -->[infra] Fixed workflow file path (#43528) @michelengelen
|
|
46
|
+
- ​<!-- 03 -->[typescript] Fix missing `Theme` generic (#43523) @siriwatknp
|
|
47
|
+
- ​<!-- 02 -->[website] Match pricing label with page @oliviertassinari
|
|
48
|
+
- ​<!-- 01 -->[website] Update Premium price and remove any mention to cap (#43466) @joserodolfofreitas
|
|
49
|
+
|
|
50
|
+
All contributors of this release in alphabetical order: @DiegoAndai, @iamandrewluca, @ishon19, @Janpot, @joserodolfofreitas, @MateuszGroth, @Michael-Hutchinson, @michelengelen, @oliviertassinari, @siriwatknp, @zanivan
|
|
51
|
+
|
|
3
52
|
## v6.0.1
|
|
4
53
|
|
|
5
54
|
<!-- generated comparing v6.0.0..master -->
|
|
@@ -8,7 +57,7 @@ _Aug 29, 2024_
|
|
|
8
57
|
|
|
9
58
|
A big thanks to the 12 contributors who made this release possible. It contains bug fixes and documentation improvements.
|
|
10
59
|
|
|
11
|
-
### `@mui/material@6.0.
|
|
60
|
+
### `@mui/material@6.0.1`
|
|
12
61
|
|
|
13
62
|
- Attach default light color scheme when enabling CSS theme variables (#43493) @siriwatknp
|
|
14
63
|
- [Skeleton] Apply the wave animation to the correct element (#43474) @mnajdova
|
|
@@ -49,13 +49,13 @@ export default function InitColorSchemeScript(options) {
|
|
|
49
49
|
dangerouslySetInnerHTML: {
|
|
50
50
|
__html: `(function() {
|
|
51
51
|
try {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
let colorScheme = '';
|
|
53
|
+
const mode = localStorage.getItem('${modeStorageKey}') || 'system';
|
|
54
|
+
const dark = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';
|
|
55
|
+
const light = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';
|
|
56
56
|
if (mode === 'system') {
|
|
57
57
|
// handle system mode
|
|
58
|
-
|
|
58
|
+
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
59
59
|
if (mql.matches) {
|
|
60
60
|
colorScheme = dark
|
|
61
61
|
} else {
|
package/index.js
CHANGED
|
@@ -49,13 +49,13 @@ export default function InitColorSchemeScript(options) {
|
|
|
49
49
|
dangerouslySetInnerHTML: {
|
|
50
50
|
__html: `(function() {
|
|
51
51
|
try {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
let colorScheme = '';
|
|
53
|
+
const mode = localStorage.getItem('${modeStorageKey}') || 'system';
|
|
54
|
+
const dark = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';
|
|
55
|
+
const light = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';
|
|
56
56
|
if (mode === 'system') {
|
|
57
57
|
// handle system mode
|
|
58
|
-
|
|
58
|
+
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
59
59
|
if (mql.matches) {
|
|
60
60
|
colorScheme = dark
|
|
61
61
|
} else {
|
package/modern/index.js
CHANGED
package/modern/version/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export const version = "6.0.
|
|
1
|
+
export const version = "6.0.2";
|
|
2
2
|
export const major = Number("6");
|
|
3
3
|
export const minor = Number("0");
|
|
4
|
-
export const patch = Number("
|
|
4
|
+
export const patch = Number("2");
|
|
5
5
|
export const preReleaseLabel = undefined || null;
|
|
6
6
|
export const preReleaseNumber = Number(undefined) || null;
|
|
7
7
|
export default version;
|
|
@@ -58,13 +58,13 @@ function InitColorSchemeScript(options) {
|
|
|
58
58
|
dangerouslySetInnerHTML: {
|
|
59
59
|
__html: `(function() {
|
|
60
60
|
try {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
let colorScheme = '';
|
|
62
|
+
const mode = localStorage.getItem('${modeStorageKey}') || 'system';
|
|
63
|
+
const dark = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';
|
|
64
|
+
const light = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';
|
|
65
65
|
if (mode === 'system') {
|
|
66
66
|
// handle system mode
|
|
67
|
-
|
|
67
|
+
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
68
68
|
if (mql.matches) {
|
|
69
69
|
colorScheme = dark
|
|
70
70
|
} else {
|
package/node/index.js
CHANGED
package/node/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 = "6.0.
|
|
7
|
+
const version = exports.version = "6.0.2";
|
|
8
8
|
const major = exports.major = Number("6");
|
|
9
9
|
const minor = exports.minor = Number("0");
|
|
10
|
-
const patch = exports.patch = Number("
|
|
10
|
+
const patch = exports.patch = Number("2");
|
|
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/system",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
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.",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"clsx": "^2.1.1",
|
|
31
31
|
"csstype": "^3.1.3",
|
|
32
32
|
"prop-types": "^15.8.1",
|
|
33
|
-
"@mui/private-theming": "^6.0.
|
|
34
|
-
"@mui/styled-engine": "^6.0.
|
|
33
|
+
"@mui/private-theming": "^6.0.2",
|
|
34
|
+
"@mui/styled-engine": "^6.0.2",
|
|
35
35
|
"@mui/types": "^7.2.16",
|
|
36
|
-
"@mui/utils": "^6.0.
|
|
36
|
+
"@mui/utils": "^6.0.2"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@emotion/react": "^11.5.0",
|
package/version/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export const version = "6.0.
|
|
1
|
+
export const version = "6.0.2";
|
|
2
2
|
export const major = Number("6");
|
|
3
3
|
export const minor = Number("0");
|
|
4
|
-
export const patch = Number("
|
|
4
|
+
export const patch = Number("2");
|
|
5
5
|
export const preReleaseLabel = undefined || null;
|
|
6
6
|
export const preReleaseNumber = Number(undefined) || null;
|
|
7
7
|
export default version;
|