@mui/system 5.14.13 → 5.14.14
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/Box/Box.d.ts +1 -1
- package/CHANGELOG.md +73 -0
- package/Container/createContainer.d.ts +1 -1
- package/esm/style.js +0 -5
- package/index.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/style.js +0 -6
- package/modern/index.js +1 -1
- package/modern/style.js +0 -5
- package/package.json +2 -2
- package/style.js +0 -5
package/Box/Box.d.ts
CHANGED
|
@@ -182,7 +182,7 @@ export type SystemProps<Theme extends object = {}> = {
|
|
|
182
182
|
| ((theme: Theme) => ResponsiveStyleValue<AllSystemCSSProperties[K]>);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export interface BoxOwnProps<Theme extends object = SystemTheme> extends SystemProps<
|
|
185
|
+
export interface BoxOwnProps<Theme extends object = SystemTheme> extends SystemProps<Theme> {
|
|
186
186
|
children?: React.ReactNode;
|
|
187
187
|
/**
|
|
188
188
|
* The component used for the root node.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.14.14
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.14.13..master -->
|
|
6
|
+
|
|
7
|
+
_Oct 17, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
11
|
+
|
|
12
|
+
### `@mui/material@5.14.14`
|
|
13
|
+
|
|
14
|
+
- ​<!-- 29 -->[material-ui][AppBar] Support all default palette colors in TypeScript (#39389) @BreakBB
|
|
15
|
+
- ​<!-- 28 -->[material-ui][AvatarGroup] Add `renderSurplus` prop (#39283) @uuxxx
|
|
16
|
+
- ​<!-- 25 -->[material-ui][Box] Fix system properties has incorrect `Theme` interface when applied directly (#39404) @Semigradsky
|
|
17
|
+
- ​<!-- 04 -->[material-ui][Pagination] Update `type` parameter of `getItemAriaLabel` prop (#39390) @Simer13
|
|
18
|
+
- ​<!-- 06 -->[material][tab] Show/hide scroll buttons for dynamically added children (#39415) @brijeshb42
|
|
19
|
+
|
|
20
|
+
### `@mui/base@5.0.0-beta.20`
|
|
21
|
+
|
|
22
|
+
- ​<!-- 26 -->[base-ui][Menu] Do not reopen the menu after clicking on a trigger in Safari (#39393) @michaldudak
|
|
23
|
+
|
|
24
|
+
### `@mui/material-next@6.0.0-alpha.106`
|
|
25
|
+
|
|
26
|
+
- ​<!-- 23 -->[Divider][material-next] Add Divider component (#39179) @Best-Sardar
|
|
27
|
+
|
|
28
|
+
### `@mui/joy@5.0.0-beta.11`
|
|
29
|
+
|
|
30
|
+
- ​<!-- 08 -->[joy-ui][List] Add the `marker` prop (#39313) @siriwatknp
|
|
31
|
+
- ​<!-- 07 -->[joy-ui][Skeleton] Fix semi-transparent scenario when with surface components and color inversion (#39400) @TheNatkat
|
|
32
|
+
- ​<!-- 06 -->[joy-ui][Textarea] Fix focus ring for error state (#39391) @vineetjk
|
|
33
|
+
|
|
34
|
+
### `@mui/icons-material@5.14.14`
|
|
35
|
+
|
|
36
|
+
- ​<!-- 09 -->[icons] Fix VoiceChatOutlined showing the wrong icon (#39418) @devuser200
|
|
37
|
+
|
|
38
|
+
### `@mui/system@5.14.14`
|
|
39
|
+
|
|
40
|
+
- ​<!-- 03 -->[mui-system][style] bug fix for style value check color in nullable object (#39457) @DarhkVoyd
|
|
41
|
+
|
|
42
|
+
### `@mui/styled-engine-sc@6.0.0-alpha.2`
|
|
43
|
+
|
|
44
|
+
- ​<!-- 05 -->[styled-engine-sc] Fix TS issues because of missing types (#39395) @mnajdova
|
|
45
|
+
|
|
46
|
+
### Docs
|
|
47
|
+
|
|
48
|
+
- ​<!-- 27 -->[docs][base-ui] Renaming demos to BaseXxx (#39104) @christophermorin
|
|
49
|
+
- ​<!-- 26 -->[docs] Accessibility in Base UI (#39264) @michaldudak
|
|
50
|
+
- ​<!-- 22 -->[docs] Fix 301 redirection @oliviertassinari
|
|
51
|
+
- ​<!-- 21 -->[docs] Improve Base UI table of contents for APIs (#39412) @ZeeshanTamboli
|
|
52
|
+
- ​<!-- 20 -->[docs] Adjust design kits-related content (#39367) @danilo-leal
|
|
53
|
+
- ​<!-- 19 -->[docs] Revise the Contributing Guide (#39190) @samuelsycamore
|
|
54
|
+
- ​<!-- 12 -->[docs][joy-ui] Fix row hover prop name in the Table page (#39431) @adrienbrault
|
|
55
|
+
- ​<!-- 11 -->[docs][joy-ui] Fix color inversion demos (#39403) @danilo-leal
|
|
56
|
+
- ​<!-- 10 -->[docs][material-ui] Remove irrelevant TODO from Snackbar demo (#39396) @ZeeshanTamboli
|
|
57
|
+
- ​<!-- 06 -->[docs][material-ui][Table] Bug in "Sorting & Selecting" demo (#39426) @codewithrabeeh
|
|
58
|
+
- ​<!-- 05 -->[docs][joy-ui][typography] Update docs after lineHeight changes (#39366) @zanivan
|
|
59
|
+
|
|
60
|
+
### Core
|
|
61
|
+
|
|
62
|
+
- ​<!-- 24 -->[core] Fix multiple typos across the repo (#39422) @parikshitadhikari
|
|
63
|
+
- ​<!-- 18 -->[docs-infra] Add refinements to the API content design (#39425) @danilo-leal
|
|
64
|
+
- ​<!-- 17 -->[docs-infra] Add a min height to the layout component (#39416) @danilo-leal
|
|
65
|
+
- ​<!-- 16 -->[docs-infra] Prevent horizontal scroll in the TOC (#39417) @danilo-leal
|
|
66
|
+
- ​<!-- 15 -->[docs-infra] Add a collapsible list & table views to the API content display (#38265) @alexfauquette
|
|
67
|
+
- ​<!-- 14 -->[docs-infra] Adjust the `kbd` tag styles (#39397) @danilo-leal
|
|
68
|
+
- ​<!-- 13 -->[docs-infra] Fix strong style regression (#39384) @oliviertassinari
|
|
69
|
+
- ​<!-- 04 -->[website] Add the LinkedIn profile to the contributors section on the About page (#39455) @chhawinder
|
|
70
|
+
- ​<!-- 03 -->[website] Update new role template (#39386) @oliviertassinari
|
|
71
|
+
- ​<!-- 02 -->[website] Add stray design fine-tunning to the Pricing page (#39472) @danilo-leal
|
|
72
|
+
- ​<!-- 01 -->[website] Fix career anchor link to perks & benefits @oliviertassinari
|
|
73
|
+
|
|
74
|
+
All contributors of this release in alphabetical order: @adrienbrault, @alexfauquette, @Best-Sardar, @BreakBB, @brijeshb42, @chhawinder, @christophermorin, @codewithrabeeh, @danilo-leal, @DarhkVoyd, @devuser200, @michaldudak, @mnajdova, @oliviertassinari, @parikshitadhikari, @samuelsycamore, @Semigradsky, @Simer13, @siriwatknp, @TheNatkat, @uuxxx, @vineetjk, @zanivan, @ZeeshanTamboli
|
|
75
|
+
|
|
3
76
|
## 5.14.13
|
|
4
77
|
|
|
5
78
|
<!-- generated comparing v5.14.12..master -->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Interpolation, StyledComponent } from '@mui/styled-engine';
|
|
2
|
+
import { Interpolation, MUIStyledComponent as StyledComponent } from '@mui/styled-engine';
|
|
3
3
|
import { OverridableComponent } from '@mui/types';
|
|
4
4
|
import { ContainerProps, ContainerTypeMap } from './ContainerProps';
|
|
5
5
|
import { Theme as DefaultTheme } from '../createTheme';
|
package/esm/style.js
CHANGED
|
@@ -29,11 +29,6 @@ export function getStyleValue(themeMapping, transform, propValueFinal, userValue
|
|
|
29
29
|
} else {
|
|
30
30
|
value = getPath(themeMapping, propValueFinal) || userValue;
|
|
31
31
|
}
|
|
32
|
-
if (typeof value === 'object') {
|
|
33
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
34
|
-
console.warn(`MUI: The value found in theme for prop: "${propValueFinal}" is an [Object] instead of string or number. Check if you forgot to add the correct dotted notation, eg, "background.paper" instead of "background".`);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
32
|
if (transform) {
|
|
38
33
|
value = transform(value, userValue, themeMapping);
|
|
39
34
|
}
|
package/index.js
CHANGED
package/legacy/index.js
CHANGED
package/legacy/style.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
3
2
|
import { unstable_capitalize as capitalize } from '@mui/utils';
|
|
4
3
|
import responsivePropType from './responsivePropType';
|
|
5
4
|
import { handleBreakpoints } from './breakpoints';
|
|
@@ -35,11 +34,6 @@ export function getStyleValue(themeMapping, transform, propValueFinal) {
|
|
|
35
34
|
} else {
|
|
36
35
|
value = getPath(themeMapping, propValueFinal) || userValue;
|
|
37
36
|
}
|
|
38
|
-
if (_typeof(value) === 'object') {
|
|
39
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
40
|
-
console.warn("MUI: The value found in theme for prop: \"".concat(propValueFinal, "\" is an [Object] instead of string or number. Check if you forgot to add the correct dotted notation, eg, \"background.paper\" instead of \"background\"."));
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
37
|
if (transform) {
|
|
44
38
|
value = transform(value, userValue, themeMapping);
|
|
45
39
|
}
|
package/modern/index.js
CHANGED
package/modern/style.js
CHANGED
|
@@ -29,11 +29,6 @@ export function getStyleValue(themeMapping, transform, propValueFinal, userValue
|
|
|
29
29
|
} else {
|
|
30
30
|
value = getPath(themeMapping, propValueFinal) || userValue;
|
|
31
31
|
}
|
|
32
|
-
if (typeof value === 'object') {
|
|
33
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
34
|
-
console.warn(`MUI: The value found in theme for prop: "${propValueFinal}" is an [Object] instead of string or number. Check if you forgot to add the correct dotted notation, eg, "background.paper" instead of "background".`);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
32
|
if (transform) {
|
|
38
33
|
value = transform(value, userValue, themeMapping);
|
|
39
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/system",
|
|
3
|
-
"version": "5.14.
|
|
3
|
+
"version": "5.14.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "CSS utilities for rapidly laying out custom designs.",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/runtime": "^7.23.1",
|
|
30
|
-
"@mui/private-theming": "^5.14.
|
|
30
|
+
"@mui/private-theming": "^5.14.14",
|
|
31
31
|
"@mui/styled-engine": "^5.14.13",
|
|
32
32
|
"@mui/types": "^7.2.6",
|
|
33
33
|
"@mui/utils": "^5.14.13",
|
package/style.js
CHANGED
|
@@ -38,11 +38,6 @@ function getStyleValue(themeMapping, transform, propValueFinal, userValue = prop
|
|
|
38
38
|
} else {
|
|
39
39
|
value = getPath(themeMapping, propValueFinal) || userValue;
|
|
40
40
|
}
|
|
41
|
-
if (typeof value === 'object') {
|
|
42
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
43
|
-
console.warn(`MUI: The value found in theme for prop: "${propValueFinal}" is an [Object] instead of string or number. Check if you forgot to add the correct dotted notation, eg, "background.paper" instead of "background".`);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
41
|
if (transform) {
|
|
47
42
|
value = transform(value, userValue, themeMapping);
|
|
48
43
|
}
|