@mui/system 7.3.10 → 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/CHANGELOG.md +35 -0
- package/ThemeProvider/ThemeProvider.d.ts +2 -1
- package/cssVars/createCssVarsProvider.js +2 -1
- package/esm/ThemeProvider/ThemeProvider.d.ts +2 -1
- 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 +4 -4
- package/version/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
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
|
+
|
|
3
38
|
## 7.3.10
|
|
4
39
|
|
|
5
40
|
<!-- generated comparing v7.3.9..v7.x -->
|
|
@@ -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>>;
|
|
@@ -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
|
},
|
|
@@ -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>>;
|
|
@@ -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.11",
|
|
31
32
|
"@mui/styled-engine": "^7.3.10",
|
|
32
|
-
"@mui/
|
|
33
|
-
"@mui/types": "^7.4.12"
|
|
34
|
-
"@mui/utils": "^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;
|