@mui/system 7.3.9 → 7.3.11
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 -0
- package/CHANGELOG.md +82 -0
- package/Grid/deleteLegacyGridProps.js +1 -1
- package/README.md +2 -2
- package/ThemeProvider/ThemeProvider.d.ts +2 -1
- package/createBreakpoints/createBreakpoints.d.ts +4 -4
- package/cssVars/createCssVarsProvider.js +2 -1
- package/esm/Box/Box.d.ts +1 -0
- package/esm/Grid/deleteLegacyGridProps.js +1 -1
- package/esm/ThemeProvider/ThemeProvider.d.ts +2 -1
- package/esm/createBreakpoints/createBreakpoints.d.ts +4 -4
- package/esm/cssVars/createCssVarsProvider.js +2 -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/Box/Box.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export interface BoxTypeMap<AdditionalProps = {}, RootComponent extends React.El
|
|
|
40
40
|
*
|
|
41
41
|
* - [Box (Joy UI)](https://mui.com/joy-ui/react-box/)
|
|
42
42
|
* - [Box (Material UI)](https://mui.com/material-ui/react-box/)
|
|
43
|
+
* - [Menubar (Material UI)](https://mui.com/material-ui/react-menubar/)
|
|
43
44
|
* - [Box (MUI System)](https://mui.com/system/react-box/)
|
|
44
45
|
*
|
|
45
46
|
* API:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,87 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 7.3.11
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v7.3.10..v7.x -->
|
|
6
|
+
|
|
7
|
+
_May 6, 2026_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 5 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@7.3.11`
|
|
12
|
+
|
|
13
|
+
- [autocomplete] Fix highlight sync and scroll preservation (#48350) @mj12albert
|
|
14
|
+
- [autocomplete] Fix popper rendering issues (#48343) @mj12albert
|
|
15
|
+
- [autocomplete] Improve highlight tracking and selection state (#48318) @mj12albert
|
|
16
|
+
- [button] Fix `startIcon` alignment (#48339) @mj12albert
|
|
17
|
+
- [button] Remove duplicated className entries (#48284) @silviuaavram
|
|
18
|
+
- [checkbox] Set `aria-checked=mixed` when indeterminate (#48286) @mj12albert
|
|
19
|
+
- [dialog][drawer][focus trap] Fix initial focus target (#48324) @mj12albert
|
|
20
|
+
- [drawer] Fix transition jump (#48340) @mj12albert
|
|
21
|
+
- [input] Fix layout shift with display: flex (#48359) @oliviertassinari
|
|
22
|
+
- [inputs] Fix autofocus in SSR environment (#48307) @mj12albert
|
|
23
|
+
- [popper] Persist positioning styles when popperOptions changes reference (#48302) @mj12albert
|
|
24
|
+
- [switch] Fix incorrect `role` with `slotProps.input` (#48472) @mj12albert
|
|
25
|
+
- [utils] Add shadow dom utils (#48309) @mj12albert
|
|
26
|
+
|
|
27
|
+
### Docs
|
|
28
|
+
|
|
29
|
+
- [docs] Update banner to announce v9 (#48299) @siriwatknp
|
|
30
|
+
- [docs] Add v9 in the versions select in v7.mui.com (#48233) @alexfauquette
|
|
31
|
+
|
|
32
|
+
### Core
|
|
33
|
+
|
|
34
|
+
- [internal] Update some host-reference entries (#48225) @silviuaavram
|
|
35
|
+
|
|
36
|
+
All contributors of this release in alphabetical order: @alexfauquette, @mj12albert, @oliviertassinari, @silviuaavram, @siriwatknp
|
|
37
|
+
|
|
38
|
+
## 7.3.10
|
|
39
|
+
|
|
40
|
+
<!-- generated comparing v7.3.9..v7.x -->
|
|
41
|
+
|
|
42
|
+
_Apr 8, 2026_
|
|
43
|
+
|
|
44
|
+
A big thanks to the 15 contributors who made this release possible. A few highlights ✨:
|
|
45
|
+
|
|
46
|
+
- 📖 Added the Menubar component page to the docs.
|
|
47
|
+
|
|
48
|
+
### `@mui/material@7.3.10`
|
|
49
|
+
|
|
50
|
+
- [alert][dialog] Accessibility improvements (#48161) @silviuaavram
|
|
51
|
+
- [autocomplete] Add `root` slot (#47916) @GerardasB
|
|
52
|
+
- [autocomplete] Fix helper text focusing input when clicked (#48162) @mj12albert
|
|
53
|
+
- [autocomplete] Fix popup reopening on window focus regain with openOnFocus (#47914) @aman44444
|
|
54
|
+
- [autocomplete] Optimize selected option lookup (#48027) @anchmelev
|
|
55
|
+
- [autocomplete] Support full slots for clearIndicator and popupIndicator (#47913) @silviuaavram
|
|
56
|
+
- [button-base] Fix native button detection (#47994) @mj12albert
|
|
57
|
+
- [input] Fix high contrast cutoff on first character (#48160) @silviuaavram
|
|
58
|
+
- [list item text][card header] Revert cleanup of duplicated CSS rules (#47938) @sai6855
|
|
59
|
+
- [popper] Add missing classes export (#48033) @mj12albert
|
|
60
|
+
- [select] Fix focus visible always set on menu item (#48022) @silviuaavram
|
|
61
|
+
- [slider] Accept readonly array for the value prop (#47961) @pcorpet
|
|
62
|
+
- [switch] Add border to make it visible in high contrast mode (#48210) @silviuaavram
|
|
63
|
+
- [theme] Do not create channel tokens for custom colors when `nativeColor` is used (#48144) @ZeeshanTamboli
|
|
64
|
+
- [transitions] Performance improvements & misc fixes (#48217) @mj12albert
|
|
65
|
+
|
|
66
|
+
### Docs
|
|
67
|
+
|
|
68
|
+
- [codemod] Add v7 migration docs for deprecated Autocomplete APIs and Autocomplete codemod (#47954) @ZeeshanTamboli
|
|
69
|
+
- [menubar] Add Menubar component page (#47942) @siriwatknp
|
|
70
|
+
- [progress] Label all demo components (#48168) @mj12albert
|
|
71
|
+
- [system] Update `styled` API docs for easier understanding (#47969) @olivier-lxo
|
|
72
|
+
- Fix the dark mode footer row shadow for the Data Grid on the advanced components page (#48152) @arminmeh
|
|
73
|
+
- Fix MUI X redirects (#47917) @cherniavskii
|
|
74
|
+
- Use direct palette vars in Tailwind v4 snippet (#47955) @Ahmad-Alaziz
|
|
75
|
+
|
|
76
|
+
### Core
|
|
77
|
+
|
|
78
|
+
- [blog] Blogpost for upcoming price changes for MUI X (#47820) @DanailH
|
|
79
|
+
- [blog] Update the 2026 price changes blogpost (#47944) @DanailH
|
|
80
|
+
- [code-infra] Add pkg-pr-new as dev dependency (#48023) @silviuaavram
|
|
81
|
+
- [docs-infra] Update Release Instructions and Search Index v7 (#48109) @dav-is
|
|
82
|
+
|
|
83
|
+
All contributors of this release in alphabetical order: @Ahmad-Alaziz, @aman44444, @anchmelev, @arminmeh, @cherniavskii, @DanailH, @dav-is, @GerardasB, @mj12albert, @olivier-lxo, @pcorpet, @sai6855, @silviuaavram, @siriwatknp, @ZeeshanTamboli
|
|
84
|
+
|
|
3
85
|
## 7.3.9
|
|
4
86
|
|
|
5
87
|
<!-- generated comparing v7.3.8..v7.x -->
|
|
@@ -10,7 +10,7 @@ const getLegacyGridWarning = propName => {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
// #host-reference
|
|
13
|
-
return `The \`${propName}\` prop has been removed. See https://mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`;
|
|
13
|
+
return `The \`${propName}\` prop has been removed. See https://v7.mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`;
|
|
14
14
|
};
|
|
15
15
|
const warnedAboutProps = [];
|
|
16
16
|
|
package/README.md
CHANGED
|
@@ -9,11 +9,11 @@ Install the package in your project directory with:
|
|
|
9
9
|
<!-- #npm-tag-reference -->
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npm install @mui/system @emotion/react @emotion/styled
|
|
12
|
+
npm install @mui/system@^7.0.0 @emotion/react @emotion/styled
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Documentation
|
|
16
16
|
|
|
17
17
|
<!-- #host-reference -->
|
|
18
18
|
|
|
19
|
-
Visit [https://mui.com/system/getting-started/](https://mui.com/system/getting-started/) to view the full documentation.
|
|
19
|
+
Visit [https://v7.mui.com/system/getting-started/](https://v7.mui.com/system/getting-started/) to view the full documentation.
|
|
@@ -14,11 +14,12 @@ export interface ThemeProviderProps<Theme = DefaultTheme> {
|
|
|
14
14
|
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
// #host-reference
|
|
17
18
|
/**
|
|
18
19
|
* This component makes the `theme` available down the React tree.
|
|
19
20
|
* It should preferably be used at **the root of your component tree**.
|
|
20
21
|
* API:
|
|
21
22
|
*
|
|
22
|
-
* - [ThemeProvider API](https://mui.com/material-ui/customization/theming/#themeprovider)
|
|
23
|
+
* - [ThemeProvider API](https://v7.mui.com/material-ui/customization/theming/#themeprovider)
|
|
23
24
|
*/
|
|
24
25
|
export default function ThemeProvider<T = DefaultTheme>(props: ThemeProviderProps<T>): React.ReactElement<ThemeProviderProps<T>>;
|
|
@@ -26,13 +26,13 @@ export interface Breakpoints {
|
|
|
26
26
|
/**
|
|
27
27
|
* @param key - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px.
|
|
28
28
|
* @returns A media query string ready to be used with most styling solutions, which matches screen widths greater than the screen size given by the breakpoint key (inclusive).
|
|
29
|
-
* @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-up-key-media-query)
|
|
29
|
+
* @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-up-key-media-query)
|
|
30
30
|
*/
|
|
31
31
|
up: (key: Breakpoint | number) => string;
|
|
32
32
|
/**
|
|
33
33
|
* @param key - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px.
|
|
34
34
|
* @returns A media query string ready to be used with most styling solutions, which matches screen widths less than the screen size given by the breakpoint key (exclusive).
|
|
35
|
-
* @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-down-key-media-query)
|
|
35
|
+
* @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-down-key-media-query)
|
|
36
36
|
*/
|
|
37
37
|
down: (key: Breakpoint | number) => string;
|
|
38
38
|
/**
|
|
@@ -40,14 +40,14 @@ export interface Breakpoints {
|
|
|
40
40
|
* @param end - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px.
|
|
41
41
|
* @returns A media query string ready to be used with most styling solutions, which matches screen widths greater than
|
|
42
42
|
* the screen size given by the breakpoint key in the first argument (inclusive) and less than the screen size given by the breakpoint key in the second argument (exclusive).
|
|
43
|
-
* @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-between-start-end-media-query)
|
|
43
|
+
* @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-between-start-end-media-query)
|
|
44
44
|
*/
|
|
45
45
|
between: (start: Breakpoint | number, end: Breakpoint | number) => string;
|
|
46
46
|
/**
|
|
47
47
|
* @param key - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px.
|
|
48
48
|
* @returns A media query string ready to be used with most styling solutions, which matches screen widths starting from
|
|
49
49
|
* the screen size given by the breakpoint key (inclusive) and stopping at the screen size given by the next breakpoint key (exclusive).
|
|
50
|
-
* @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-only-key-media-query)
|
|
50
|
+
* @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-only-key-media-query)
|
|
51
51
|
*/
|
|
52
52
|
only: (key: Breakpoint) => string;
|
|
53
53
|
/**
|
|
@@ -238,7 +238,8 @@ function createCssVarsProvider(options) {
|
|
|
238
238
|
setColorScheme,
|
|
239
239
|
setMode: process.env.NODE_ENV === 'production' ? setMode : newMode => {
|
|
240
240
|
if (memoTheme.colorSchemeSelector === 'media') {
|
|
241
|
-
|
|
241
|
+
// #host-reference
|
|
242
|
+
console.error(['MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).', 'To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.', 'To learn more, visit https://v7.mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually'].join('\n'));
|
|
242
243
|
}
|
|
243
244
|
setMode(newMode);
|
|
244
245
|
},
|
package/esm/Box/Box.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export interface BoxTypeMap<AdditionalProps = {}, RootComponent extends React.El
|
|
|
40
40
|
*
|
|
41
41
|
* - [Box (Joy UI)](https://mui.com/joy-ui/react-box/)
|
|
42
42
|
* - [Box (Material UI)](https://mui.com/material-ui/react-box/)
|
|
43
|
+
* - [Menubar (Material UI)](https://mui.com/material-ui/react-menubar/)
|
|
43
44
|
* - [Box (MUI System)](https://mui.com/system/react-box/)
|
|
44
45
|
*
|
|
45
46
|
* API:
|
|
@@ -4,7 +4,7 @@ const getLegacyGridWarning = propName => {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
// #host-reference
|
|
7
|
-
return `The \`${propName}\` prop has been removed. See https://mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`;
|
|
7
|
+
return `The \`${propName}\` prop has been removed. See https://v7.mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`;
|
|
8
8
|
};
|
|
9
9
|
const warnedAboutProps = [];
|
|
10
10
|
|
|
@@ -14,11 +14,12 @@ export interface ThemeProviderProps<Theme = DefaultTheme> {
|
|
|
14
14
|
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
// #host-reference
|
|
17
18
|
/**
|
|
18
19
|
* This component makes the `theme` available down the React tree.
|
|
19
20
|
* It should preferably be used at **the root of your component tree**.
|
|
20
21
|
* API:
|
|
21
22
|
*
|
|
22
|
-
* - [ThemeProvider API](https://mui.com/material-ui/customization/theming/#themeprovider)
|
|
23
|
+
* - [ThemeProvider API](https://v7.mui.com/material-ui/customization/theming/#themeprovider)
|
|
23
24
|
*/
|
|
24
25
|
export default function ThemeProvider<T = DefaultTheme>(props: ThemeProviderProps<T>): React.ReactElement<ThemeProviderProps<T>>;
|
|
@@ -26,13 +26,13 @@ export interface Breakpoints {
|
|
|
26
26
|
/**
|
|
27
27
|
* @param key - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px.
|
|
28
28
|
* @returns A media query string ready to be used with most styling solutions, which matches screen widths greater than the screen size given by the breakpoint key (inclusive).
|
|
29
|
-
* @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-up-key-media-query)
|
|
29
|
+
* @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-up-key-media-query)
|
|
30
30
|
*/
|
|
31
31
|
up: (key: Breakpoint | number) => string;
|
|
32
32
|
/**
|
|
33
33
|
* @param key - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px.
|
|
34
34
|
* @returns A media query string ready to be used with most styling solutions, which matches screen widths less than the screen size given by the breakpoint key (exclusive).
|
|
35
|
-
* @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-down-key-media-query)
|
|
35
|
+
* @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-down-key-media-query)
|
|
36
36
|
*/
|
|
37
37
|
down: (key: Breakpoint | number) => string;
|
|
38
38
|
/**
|
|
@@ -40,14 +40,14 @@ export interface Breakpoints {
|
|
|
40
40
|
* @param end - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px.
|
|
41
41
|
* @returns A media query string ready to be used with most styling solutions, which matches screen widths greater than
|
|
42
42
|
* the screen size given by the breakpoint key in the first argument (inclusive) and less than the screen size given by the breakpoint key in the second argument (exclusive).
|
|
43
|
-
* @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-between-start-end-media-query)
|
|
43
|
+
* @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-between-start-end-media-query)
|
|
44
44
|
*/
|
|
45
45
|
between: (start: Breakpoint | number, end: Breakpoint | number) => string;
|
|
46
46
|
/**
|
|
47
47
|
* @param key - A breakpoint key (`xs`, `sm`, etc.) or a screen width number in px.
|
|
48
48
|
* @returns A media query string ready to be used with most styling solutions, which matches screen widths starting from
|
|
49
49
|
* the screen size given by the breakpoint key (inclusive) and stopping at the screen size given by the next breakpoint key (exclusive).
|
|
50
|
-
* @see [API documentation](https://mui.com/material-ui/customization/breakpoints/#theme-breakpoints-only-key-media-query)
|
|
50
|
+
* @see [API documentation](https://v7.mui.com/material-ui/customization/breakpoints/#theme-breakpoints-only-key-media-query)
|
|
51
51
|
*/
|
|
52
52
|
only: (key: Breakpoint) => string;
|
|
53
53
|
/**
|
|
@@ -230,7 +230,8 @@ export default function createCssVarsProvider(options) {
|
|
|
230
230
|
setColorScheme,
|
|
231
231
|
setMode: process.env.NODE_ENV === 'production' ? setMode : newMode => {
|
|
232
232
|
if (memoTheme.colorSchemeSelector === 'media') {
|
|
233
|
-
|
|
233
|
+
// #host-reference
|
|
234
|
+
console.error(['MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).', 'To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.', 'To learn more, visit https://v7.mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually'].join('\n'));
|
|
234
235
|
}
|
|
235
236
|
setMode(newMode);
|
|
236
237
|
},
|
package/esm/index.js
CHANGED
package/esm/version/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export const version = "7.3.
|
|
1
|
+
export const version = "7.3.11";
|
|
2
2
|
export const major = Number("7");
|
|
3
3
|
export const minor = Number("3");
|
|
4
|
-
export const patch = Number("
|
|
4
|
+
export const patch = Number("11");
|
|
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.3.
|
|
3
|
+
"version": "7.3.11",
|
|
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
|
"keywords": [
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"clsx": "^2.1.1",
|
|
29
29
|
"csstype": "^3.2.3",
|
|
30
30
|
"prop-types": "^15.8.1",
|
|
31
|
-
"@mui/private-theming": "^7.3.
|
|
32
|
-
"@mui/styled-engine": "^7.3.
|
|
33
|
-
"@mui/
|
|
34
|
-
"@mui/
|
|
31
|
+
"@mui/private-theming": "^7.3.11",
|
|
32
|
+
"@mui/styled-engine": "^7.3.10",
|
|
33
|
+
"@mui/utils": "^7.3.11",
|
|
34
|
+
"@mui/types": "^7.4.12"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@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.3.
|
|
7
|
+
const version = exports.version = "7.3.11";
|
|
8
8
|
const major = exports.major = Number("7");
|
|
9
9
|
const minor = exports.minor = Number("3");
|
|
10
|
-
const patch = exports.patch = Number("
|
|
10
|
+
const patch = exports.patch = Number("11");
|
|
11
11
|
const prerelease = exports.prerelease = undefined;
|
|
12
12
|
var _default = exports.default = version;
|