@mui/system 6.2.0 → 6.2.1
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 +35 -0
- package/colorManipulator/colorManipulator.js +5 -0
- package/esm/colorManipulator/colorManipulator.js +5 -0
- package/esm/version/index.js +2 -2
- package/index.js +1 -1
- package/modern/colorManipulator/colorManipulator.js +5 -0
- package/modern/index.js +1 -1
- package/modern/version/index.js +2 -2
- package/package.json +5 -5
- package/version/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 6.2.1
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v6.2.0..master -->
|
|
6
|
+
|
|
7
|
+
_Dec 17, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 10 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@6.2.1`
|
|
12
|
+
|
|
13
|
+
- Update `overridesResolver` return from object to array of styles (#44752) @siddhantantil39
|
|
14
|
+
- [Pagination] Use correct `aria-current` value (#44753) @jacklaurencegaray
|
|
15
|
+
- [Select] Set `aria-required` & `aria-invalid` on `combobox` instead of hidden input (#44731) @ben-pomelo
|
|
16
|
+
|
|
17
|
+
### `@mui/system@6.2.1`
|
|
18
|
+
|
|
19
|
+
- Warns if the hex color contains trailing space (#44538) @siriwatknp
|
|
20
|
+
|
|
21
|
+
### Docs
|
|
22
|
+
|
|
23
|
+
- [material-ui][Dialog] Fix crashing of DraggableDialog demo (#44747) @sai6855
|
|
24
|
+
- [material-ui][TextField] Update `react-number-format` demo to use the recommended prop (#44743) @siriwatknp
|
|
25
|
+
- [material-ui][TextField] Add size default prop to api docs (#44714) @sai6855
|
|
26
|
+
- [material-ui][TextField] Add suffix shrink demo (#44744) @siriwatknp
|
|
27
|
+
|
|
28
|
+
### Core
|
|
29
|
+
|
|
30
|
+
- [api-docs-builder] Preserve multiline prop descriptions with `rawDescriptions` option (#44737) @vladmoroz
|
|
31
|
+
- Fix running mocha related scripts on Windows locally (#44664) @ChristopherJamesL
|
|
32
|
+
- Update `eslint-plugin-jsx-a11y` (#44701) @ZeeshanTamboli
|
|
33
|
+
- Add documentation to `useThemeProps`, `deepmerge` and `composeClasses` functions (#44703) @JCQuintas
|
|
34
|
+
- [examples] Add Theme Mode Switch to Next.js TS example (#43576) @TurtIeSocks
|
|
35
|
+
|
|
36
|
+
All contributors of this release in alphabetical order: @ben-pomelo, @ChristopherJamesL, @jacklaurencegaray, @JCQuintas, @sai6855, @siddhantantil39, @siriwatknp, @TurtIeSocks, @vladmoroz, @ZeeshanTamboli
|
|
37
|
+
|
|
3
38
|
## 6.2.0
|
|
4
39
|
|
|
5
40
|
<!-- generated comparing v6.1.10..master -->
|
|
@@ -54,6 +54,11 @@ function hexToRgb(color) {
|
|
|
54
54
|
if (colors && colors[0].length === 1) {
|
|
55
55
|
colors = colors.map(n => n + n);
|
|
56
56
|
}
|
|
57
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
58
|
+
if (color.length !== color.trim().length) {
|
|
59
|
+
console.error(`MUI: The color: "${color}" is invalid. Make sure the color input doesn't contain leading/trailing space.`);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
57
62
|
return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {
|
|
58
63
|
return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
|
|
59
64
|
}).join(', ')})` : '';
|
|
@@ -30,6 +30,11 @@ export function hexToRgb(color) {
|
|
|
30
30
|
if (colors && colors[0].length === 1) {
|
|
31
31
|
colors = colors.map(n => n + n);
|
|
32
32
|
}
|
|
33
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
34
|
+
if (color.length !== color.trim().length) {
|
|
35
|
+
console.error(`MUI: The color: "${color}" is invalid. Make sure the color input doesn't contain leading/trailing space.`);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
33
38
|
return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {
|
|
34
39
|
return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
|
|
35
40
|
}).join(', ')})` : '';
|
package/esm/version/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export const version = "6.2.
|
|
1
|
+
export const version = "6.2.1";
|
|
2
2
|
export const major = Number("6");
|
|
3
3
|
export const minor = Number("2");
|
|
4
|
-
export const patch = Number("
|
|
4
|
+
export const patch = Number("1");
|
|
5
5
|
export const prerelease = undefined;
|
|
6
6
|
export default version;
|
package/index.js
CHANGED
|
@@ -30,6 +30,11 @@ export function hexToRgb(color) {
|
|
|
30
30
|
if (colors && colors[0].length === 1) {
|
|
31
31
|
colors = colors.map(n => n + n);
|
|
32
32
|
}
|
|
33
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
34
|
+
if (color.length !== color.trim().length) {
|
|
35
|
+
console.error(`MUI: The color: "${color}" is invalid. Make sure the color input doesn't contain leading/trailing space.`);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
33
38
|
return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {
|
|
34
39
|
return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
|
|
35
40
|
}).join(', ')})` : '';
|
package/modern/index.js
CHANGED
package/modern/version/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export const version = "6.2.
|
|
1
|
+
export const version = "6.2.1";
|
|
2
2
|
export const major = Number("6");
|
|
3
3
|
export const minor = Number("2");
|
|
4
|
-
export const patch = Number("
|
|
4
|
+
export const patch = Number("1");
|
|
5
5
|
export const prerelease = undefined;
|
|
6
6
|
export default version;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/system",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.1",
|
|
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.2.
|
|
34
|
-
"@mui/
|
|
35
|
-
"@mui/utils": "^6.2.
|
|
36
|
-
"@mui/
|
|
33
|
+
"@mui/private-theming": "^6.2.1",
|
|
34
|
+
"@mui/styled-engine": "^6.2.1",
|
|
35
|
+
"@mui/utils": "^6.2.1",
|
|
36
|
+
"@mui/types": "^7.2.20"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@emotion/react": "^11.5.0",
|
package/version/index.js
CHANGED
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.version = exports.prerelease = exports.patch = exports.minor = exports.major = exports.default = void 0;
|
|
7
|
-
const version = exports.version = "6.2.
|
|
7
|
+
const version = exports.version = "6.2.1";
|
|
8
8
|
const major = exports.major = Number("6");
|
|
9
9
|
const minor = exports.minor = Number("2");
|
|
10
|
-
const patch = exports.patch = Number("
|
|
10
|
+
const patch = exports.patch = Number("1");
|
|
11
11
|
const prerelease = exports.prerelease = undefined;
|
|
12
12
|
var _default = exports.default = version;
|