@mui/system 7.1.0 → 7.1.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 +72 -0
- package/createStyled/createStyled.js +9 -4
- package/createTheme/shape.d.ts +1 -1
- package/esm/createStyled/createStyled.js +9 -4
- package/esm/createTheme/shape.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/version/index.js +2 -2
- package/index.js +1 -1
- package/package.json +5 -5
- package/version/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 7.1.1
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v7.1.0..master -->
|
|
6
|
+
|
|
7
|
+
_May 30, 2025_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 15 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@7.1.1`
|
|
12
|
+
|
|
13
|
+
- [Autocomplete] Fix label shrink issue when `renderValue` is used with empty array in multiple mode (#46047) @ZeeshanTamboli
|
|
14
|
+
- [Autocomplete] Prevent `renderValue` from being skipped when value is 0 (#46145) @LakshitAgarwal
|
|
15
|
+
- [Autocomplete] Add note in JSDoc for non-TextField components in `renderInput` (#46141) @khllbnomrn
|
|
16
|
+
- [Chip] Add slots and slotProps (#46098) @sai6855
|
|
17
|
+
- [Menu] Remove depreacted `MenuListProps` from demos (#46144) @sai6855
|
|
18
|
+
- [TablePaginationActions] Export TablePaginationActions as new component (#46149) @sai6855
|
|
19
|
+
- [SnackbarContent] Fix `square` prop not working (#46196) @0210shivam
|
|
20
|
+
- [SnackbarContent] Fix error when theme value is CSS variable (#46198) @0210shivam
|
|
21
|
+
|
|
22
|
+
### `@mui/codemod@7.1.1`
|
|
23
|
+
|
|
24
|
+
- Add package name option (#45977) @siriwatknp
|
|
25
|
+
|
|
26
|
+
### `@mui/system@7.1.1`
|
|
27
|
+
|
|
28
|
+
- Skip styled component from being transformed (#46129) @siriwatknp
|
|
29
|
+
- Update the type for borderRadius (#46154) @codiini
|
|
30
|
+
|
|
31
|
+
### `@mui/styled-engine@7.1.1`
|
|
32
|
+
|
|
33
|
+
- Fix variant props callback type to spread `ownerState` (#46187) @siriwatknp
|
|
34
|
+
|
|
35
|
+
### `@mui/stylis-plugin-rtl@7.1.1`
|
|
36
|
+
|
|
37
|
+
- Fix RTL does not work with CSS layer with a new package (#46230) @siriwatknp
|
|
38
|
+
|
|
39
|
+
### Docs
|
|
40
|
+
|
|
41
|
+
- [Dialog] Remove deprecated TransitionComponent from demo (#46185) @sai6855
|
|
42
|
+
- [Grid] Remove direction `column` and `column-reverse` from the demo (#46127) @0210shivam
|
|
43
|
+
- [Grid] Update grid migration guide (#46057) @sai6855
|
|
44
|
+
- [templates] Fix rendering of logos in dark mode (#46221) @sai6855
|
|
45
|
+
- [ToggleButtonGroup] Add spacing demo (#46058) @sai6855
|
|
46
|
+
- Fix typo in dark mode docs (#46229) @ZeeshanTamboli
|
|
47
|
+
- Clarify Next.js + Tailwind CSS v3 integration requirements (#46176) @chaitanyasharma1011
|
|
48
|
+
- Fix GridLegacy docs order (#46135) @oliviertassinari
|
|
49
|
+
- Update upgrade guide for resolution of `react-is` (#46002) @siriwatknp
|
|
50
|
+
- Remove oudated scaffoldhub ad (#46090) @oliviertassinari
|
|
51
|
+
- Show how to target global state classes with CSS Modules (#45992) @RubemMazzetto
|
|
52
|
+
|
|
53
|
+
### Core
|
|
54
|
+
|
|
55
|
+
- [code-infra] Add plugin to check for index file access (#46178) @Janpot
|
|
56
|
+
- [code-infra] Bump eslint to v9 (#46222) @brijeshb42
|
|
57
|
+
- [code-infra] Move packages to mui/mui-public (#46155) @Janpot
|
|
58
|
+
- [code-infra] Move `chai` to peerDep (#46227) @JCQuintas
|
|
59
|
+
- [code-infra] Avoid loading barrel file during type checking (#46177) @Janpot
|
|
60
|
+
- [code-infra] Remove unnecessary ref from `HighlightedCode` component (#46151) @ZeeshanTamboli
|
|
61
|
+
- [code-infra] Import mocha type instead of global (#46108) @JCQuintas
|
|
62
|
+
- [code-infra] Dependabot also create branches (795a481) @oliviertassinari
|
|
63
|
+
- [code-infra] Avoid running continuous release on forks (#46103) @Janpot
|
|
64
|
+
- [code-infra] Remove checkout job altogether (#46100) @Janpot
|
|
65
|
+
- [code-infra] Remove required checkout workflows in circleci (#46099) @Janpot
|
|
66
|
+
- Run pnpm docs:sync-team (c8f1da5) @oliviertassinari
|
|
67
|
+
- Upgrade MUI X packages to v8 (#45990) @KenanYusuf
|
|
68
|
+
- Minor detail to reduce confusion (4c64b72) @oliviertassinari
|
|
69
|
+
- Update security.md (#45839) @DiegoAndai
|
|
70
|
+
- Apply yml convention, blank line only at top level (f273220) @oliviertassinari
|
|
71
|
+
- Add comment that lab should be in alpha (#45999) @oliviertassinari
|
|
72
|
+
|
|
73
|
+
All contributors of this release in alphabetical order: @0210shivam, @brijeshb42, @chaitanyasharma1011, @codiini, @DiegoAndai, @Janpot, @JCQuintas, @KenanYusuf, @khllbnomrn, @LakshitAgarwal, @oliviertassinari, @RubemMazzetto, @sai6855, @siriwatknp, @ZeeshanTamboli
|
|
74
|
+
|
|
3
75
|
## 7.1.0
|
|
4
76
|
|
|
5
77
|
<!-- generated comparing v7.0.2..master -->
|
|
@@ -150,10 +150,15 @@ function createStyled(input = {}) {
|
|
|
150
150
|
...options
|
|
151
151
|
});
|
|
152
152
|
const transformStyle = style => {
|
|
153
|
-
// On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
154
|
-
//
|
|
155
|
-
//
|
|
156
|
-
|
|
153
|
+
// - On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
154
|
+
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
155
|
+
// which are basically components used as a selectors.
|
|
156
|
+
// - `style` could be a styled component from a babel plugin for component selectors, This condition
|
|
157
|
+
// makes sure that we do not interpolate them.
|
|
158
|
+
if (style.__emotion_real === style) {
|
|
159
|
+
return style;
|
|
160
|
+
}
|
|
161
|
+
if (typeof style === 'function') {
|
|
157
162
|
return function styleFunctionProcessor(props) {
|
|
158
163
|
return processStyle(props, style);
|
|
159
164
|
};
|
package/createTheme/shape.d.ts
CHANGED
|
@@ -141,10 +141,15 @@ export default function createStyled(input = {}) {
|
|
|
141
141
|
...options
|
|
142
142
|
});
|
|
143
143
|
const transformStyle = style => {
|
|
144
|
-
// On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
145
|
-
//
|
|
146
|
-
//
|
|
147
|
-
|
|
144
|
+
// - On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
145
|
+
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
146
|
+
// which are basically components used as a selectors.
|
|
147
|
+
// - `style` could be a styled component from a babel plugin for component selectors, This condition
|
|
148
|
+
// makes sure that we do not interpolate them.
|
|
149
|
+
if (style.__emotion_real === style) {
|
|
150
|
+
return style;
|
|
151
|
+
}
|
|
152
|
+
if (typeof style === 'function') {
|
|
148
153
|
return function styleFunctionProcessor(props) {
|
|
149
154
|
return processStyle(props, style);
|
|
150
155
|
};
|
package/esm/index.js
CHANGED
package/esm/version/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export const version = "7.1.
|
|
1
|
+
export const version = "7.1.1";
|
|
2
2
|
export const major = Number("7");
|
|
3
3
|
export const minor = Number("1");
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/system",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"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.",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"clsx": "^2.1.1",
|
|
30
30
|
"csstype": "^3.1.3",
|
|
31
31
|
"prop-types": "^15.8.1",
|
|
32
|
-
"@mui/
|
|
33
|
-
"@mui/
|
|
34
|
-
"@mui/
|
|
35
|
-
"@mui/
|
|
32
|
+
"@mui/private-theming": "^7.1.1",
|
|
33
|
+
"@mui/types": "^7.4.3",
|
|
34
|
+
"@mui/styled-engine": "^7.1.1",
|
|
35
|
+
"@mui/utils": "^7.1.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@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 = "7.1.
|
|
7
|
+
const version = exports.version = "7.1.1";
|
|
8
8
|
const major = exports.major = Number("7");
|
|
9
9
|
const minor = exports.minor = Number("1");
|
|
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;
|