@mui/system 5.13.7 → 5.14.0
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.js +1 -0
- package/Box/index.js +1 -0
- package/CHANGELOG.md +72 -6
- package/Container/Container.js +1 -0
- package/Container/index.js +1 -0
- package/GlobalStyles/GlobalStyles.js +1 -0
- package/GlobalStyles/index.js +1 -0
- package/README.md +1 -1
- package/Stack/Stack.js +1 -0
- package/Stack/index.js +1 -0
- package/ThemeProvider/ThemeProvider.js +1 -0
- package/ThemeProvider/index.js +1 -0
- package/Unstable_Grid/Grid.js +1 -0
- package/Unstable_Grid/index.js +1 -0
- package/createBox.js +1 -0
- package/cssVars/index.js +1 -0
- package/cssVars/useCurrentColorScheme.js +1 -0
- package/esm/Box/Box.js +2 -0
- package/esm/Box/index.js +2 -0
- package/esm/Container/Container.js +2 -0
- package/esm/Container/index.js +2 -0
- package/esm/GlobalStyles/GlobalStyles.js +2 -0
- package/esm/GlobalStyles/index.js +2 -0
- package/esm/Stack/Stack.js +2 -0
- package/esm/Stack/index.js +2 -0
- package/esm/ThemeProvider/ThemeProvider.js +2 -0
- package/esm/ThemeProvider/index.js +2 -0
- package/esm/Unstable_Grid/Grid.js +2 -0
- package/esm/Unstable_Grid/index.js +2 -0
- package/esm/createBox.js +2 -0
- package/esm/cssVars/index.js +2 -0
- package/esm/cssVars/useCurrentColorScheme.js +2 -0
- package/esm/index.js +2 -0
- package/esm/useTheme.js +2 -0
- package/esm/useThemeProps/index.js +2 -0
- package/esm/useThemeProps/useThemeProps.js +2 -0
- package/esm/useThemeWithoutDefault.js +2 -0
- package/index.js +2 -1
- package/legacy/Box/Box.js +2 -0
- package/legacy/Box/index.js +2 -0
- package/legacy/Container/Container.js +2 -0
- package/legacy/Container/index.js +2 -0
- package/legacy/GlobalStyles/GlobalStyles.js +2 -0
- package/legacy/GlobalStyles/index.js +2 -0
- package/legacy/Stack/Stack.js +2 -0
- package/legacy/Stack/index.js +2 -0
- package/legacy/ThemeProvider/ThemeProvider.js +2 -0
- package/legacy/ThemeProvider/index.js +2 -0
- package/legacy/Unstable_Grid/Grid.js +2 -0
- package/legacy/Unstable_Grid/index.js +2 -0
- package/legacy/createBox.js +2 -0
- package/legacy/cssVars/index.js +2 -0
- package/legacy/cssVars/useCurrentColorScheme.js +2 -0
- package/legacy/index.js +3 -1
- package/legacy/useTheme.js +2 -0
- package/legacy/useThemeProps/index.js +2 -0
- package/legacy/useThemeProps/useThemeProps.js +2 -0
- package/legacy/useThemeWithoutDefault.js +2 -0
- package/modern/Box/Box.js +2 -0
- package/modern/Box/index.js +2 -0
- package/modern/Container/Container.js +2 -0
- package/modern/Container/index.js +2 -0
- package/modern/GlobalStyles/GlobalStyles.js +2 -0
- package/modern/GlobalStyles/index.js +2 -0
- package/modern/Stack/Stack.js +2 -0
- package/modern/Stack/index.js +2 -0
- package/modern/ThemeProvider/ThemeProvider.js +2 -0
- package/modern/ThemeProvider/index.js +2 -0
- package/modern/Unstable_Grid/Grid.js +2 -0
- package/modern/Unstable_Grid/index.js +2 -0
- package/modern/createBox.js +2 -0
- package/modern/cssVars/index.js +2 -0
- package/modern/cssVars/useCurrentColorScheme.js +2 -0
- package/modern/index.js +3 -1
- package/modern/useTheme.js +2 -0
- package/modern/useThemeProps/index.js +2 -0
- package/modern/useThemeProps/useThemeProps.js +2 -0
- package/modern/useThemeWithoutDefault.js +2 -0
- package/package.json +1 -1
- package/useTheme.js +1 -0
- package/useThemeProps/index.js +1 -0
- package/useThemeProps/useThemeProps.js +1 -0
- package/useThemeWithoutDefault.js +1 -0
package/Box/Box.js
CHANGED
package/Box/index.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,71 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.14.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.13.7..master -->
|
|
6
|
+
|
|
7
|
+
_Jul 11, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 💫 Material UI, Joy UI, and Base UI are compatible with [NextJS App Router](https://nextjs.org/docs/app) (#37656) @mj12albert
|
|
12
|
+
- 📚 Added new guides for integrating with Next.js 13 App Router (#37656) @mj12albert
|
|
13
|
+
- Ⓜ️ [Material UI guide](https://mui.com/material-ui/guides/next-js-app-router/)
|
|
14
|
+
- 🅙 [Joy UI guide](https://mui.com/joy-ui/guides/next-js-app-router/)
|
|
15
|
+
- 🅱️ [Base UI guide](https://mui.com/base-ui/guides/next-js-app-router/)
|
|
16
|
+
- 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements.
|
|
17
|
+
|
|
18
|
+
### `@mui/material@5.14.0`
|
|
19
|
+
|
|
20
|
+
- [Autocomplete] Enable global customization of different options (#36971) @nicolas-ot
|
|
21
|
+
|
|
22
|
+
### `@mui/material-next@6.0.0-alpha.92`
|
|
23
|
+
|
|
24
|
+
- [Slider][material-next] Slider restructure and style improvements (#37644) @DiegoAndai
|
|
25
|
+
|
|
26
|
+
### `@mui/joy@5.0.0-alpha.87`
|
|
27
|
+
|
|
28
|
+
- [ButtonGroup] Fix style for single Button (#37692) @MaybePixem
|
|
29
|
+
- Fix theme typography fallback value (#37845) @siriwatknp
|
|
30
|
+
|
|
31
|
+
### `@mui/icons-material@5.14.0`
|
|
32
|
+
|
|
33
|
+
- [icons-material] Rebuild icons with `"use client"` (#37894) @mj12albert
|
|
34
|
+
|
|
35
|
+
### Docs
|
|
36
|
+
|
|
37
|
+
- [docs] Polish ukraine banner (#37905) @oliviertassinari
|
|
38
|
+
- [docs] Reduce ukraine banner size (#34795) @oliviertassinari
|
|
39
|
+
- [docs] Add callouts about controlled vs uncontrolled components in Core docs (#37849) @samuelsycamore
|
|
40
|
+
- [docs] Add missing Portal elements to Tailwind CSS interoperability guide (#37807) @enrique-ramirez
|
|
41
|
+
- [docs] Small pickers migration improvement (#37815) @alexfauquette
|
|
42
|
+
- [docs] Fix pickers product name (#37825) @LukasTy
|
|
43
|
+
- [docs][Joy][Link] Set `variant` and `color` defaults for the playground (#37817) @Studio384
|
|
44
|
+
- [docs][Joy][Table] Add `undefined` as an option to `stripe` (#37816) @Studio384
|
|
45
|
+
- [docs][base] Add Tailwind CSS & plain CSS demo on the Snackbar page (#37812) @mnajdova
|
|
46
|
+
- [docs][base] Add Tailwind CSS & plain CSS demo on Badge page (#37768) @mnajdova
|
|
47
|
+
- [docs][base] Fix Nested modal demo positioning (#37506) @gitstart
|
|
48
|
+
- [docs][base] Add Tailwind CSS & plain CSS demo on the Switch page (#37728) @mnajdova
|
|
49
|
+
- [docs-infra] Remove code tags in ToC (#37834) @cherniavskii
|
|
50
|
+
- [docs-infra] Fixes in API pages generation (#37813) @mnajdova
|
|
51
|
+
- [docs-infra] Add test case when using sh (#37818) @oliviertassinari
|
|
52
|
+
- [docs-infra] Use icons instead of words for the code copy button (#37664) @danilo-leal
|
|
53
|
+
- [docs-infra] Fix code parser (#37828) @alexfauquette
|
|
54
|
+
- [docs-infra] Fix `marked` deprecation warning (#37769) @alexfauquette
|
|
55
|
+
- [docs-infra] Allows to use codeblock in the docs (#37643) @alexfauquette
|
|
56
|
+
- [docs-infra][joy] Change Joy UI's playground variant selector (#37821) @danilo-leal
|
|
57
|
+
|
|
58
|
+
### Core
|
|
59
|
+
|
|
60
|
+
- [core] Prepend "use-client" directive + add docs and examples for using MUI libraries with Next.js App Router (#37656) @mj12albert
|
|
61
|
+
- [core] Fix imports to React (#37863) @oliviertassinari
|
|
62
|
+
- [core] Disambiguate eslint plugin name @oliviertassinari
|
|
63
|
+
- [core] Sync the lint script name with the other repositories @oliviertassinari
|
|
64
|
+
- [core] Point to Crowdin directly @oliviertassinari
|
|
65
|
+
- [website] Sync career page (#37847) @oliviertassinari
|
|
66
|
+
|
|
67
|
+
All contributors of this release in alphabetical order: @alexfauquette, @cherniavskii, @danilo-leal, @DiegoAndai, @enrique-ramirez, @gitstart, @LukasTy, @MaybePixem, @mj12albert, @mnajdova, @nicolas-ot, @oliviertassinari, @samuelsycamore, @siriwatknp, @Studio384
|
|
68
|
+
|
|
3
69
|
## 5.13.7
|
|
4
70
|
|
|
5
71
|
<!-- generated comparing v5.13.6..master -->
|
|
@@ -521,7 +587,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
521
587
|
|
|
522
588
|
There is codemod that you can run in your project to do the transformation:
|
|
523
589
|
|
|
524
|
-
```
|
|
590
|
+
```bash
|
|
525
591
|
npx @mui/codemod v5.0.0/base-remove-component-prop <path>
|
|
526
592
|
```
|
|
527
593
|
|
|
@@ -620,7 +686,7 @@ A big thanks to the 12 contributors who made this release possible. Here are som
|
|
|
620
686
|
|
|
621
687
|
You can use this [codemod](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/src/v5.0.0/base-remove-unstyled-suffix.js) to help with the migration:
|
|
622
688
|
|
|
623
|
-
```
|
|
689
|
+
```bash
|
|
624
690
|
npx @mui/codemod v5.0.0/base-remove-unstyled-suffix <path>
|
|
625
691
|
```
|
|
626
692
|
|
|
@@ -6265,7 +6331,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
6265
6331
|
|
|
6266
6332
|
replace `@material-ui/*` prefix with `@mui/*`:
|
|
6267
6333
|
|
|
6268
|
-
```
|
|
6334
|
+
```bash
|
|
6269
6335
|
@material-ui/system -> @mui/system
|
|
6270
6336
|
@material-ui/styles -> @mui/styles
|
|
6271
6337
|
@material-ui/lab -> @mui/lab
|
|
@@ -6278,7 +6344,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
6278
6344
|
|
|
6279
6345
|
except these 3 packages that are renamed.
|
|
6280
6346
|
|
|
6281
|
-
```
|
|
6347
|
+
```bash
|
|
6282
6348
|
@material-ui/core => @mui/material // represents Material Design components.
|
|
6283
6349
|
@material-ui/icons => @mui/icons-material // represents Material Design icons.
|
|
6284
6350
|
@material-ui/unstyled => @mui/base // fully functional components with minimum styles.
|
|
@@ -10973,13 +11039,13 @@ Here are some highlights ✨:
|
|
|
10973
11039
|
|
|
10974
11040
|
Before:
|
|
10975
11041
|
|
|
10976
|
-
```
|
|
11042
|
+
```bash
|
|
10977
11043
|
theme.spacing(2) => 16
|
|
10978
11044
|
```
|
|
10979
11045
|
|
|
10980
11046
|
After:
|
|
10981
11047
|
|
|
10982
|
-
```
|
|
11048
|
+
```bash
|
|
10983
11049
|
theme.spacing(2) => '16px'
|
|
10984
11050
|
```
|
|
10985
11051
|
|
package/Container/Container.js
CHANGED
package/Container/index.js
CHANGED
package/GlobalStyles/index.js
CHANGED
package/README.md
CHANGED
package/Stack/Stack.js
CHANGED
package/Stack/index.js
CHANGED
package/ThemeProvider/index.js
CHANGED
package/Unstable_Grid/Grid.js
CHANGED
package/Unstable_Grid/index.js
CHANGED
package/createBox.js
CHANGED
package/cssVars/index.js
CHANGED
package/esm/Box/Box.js
CHANGED
package/esm/Box/index.js
CHANGED
package/esm/Container/index.js
CHANGED
package/esm/Stack/Stack.js
CHANGED
package/esm/Stack/index.js
CHANGED
package/esm/createBox.js
CHANGED
package/esm/cssVars/index.js
CHANGED
package/esm/index.js
CHANGED
package/esm/useTheme.js
CHANGED
package/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/system v5.
|
|
2
|
+
* @mui/system v5.14.0
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
"use strict";
|
|
9
|
+
'use client';
|
|
9
10
|
|
|
10
11
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
11
12
|
Object.defineProperty(exports, "__esModule", {
|
package/legacy/Box/Box.js
CHANGED
package/legacy/Box/index.js
CHANGED
package/legacy/Stack/Stack.js
CHANGED
package/legacy/Stack/index.js
CHANGED
package/legacy/createBox.js
CHANGED
package/legacy/cssVars/index.js
CHANGED
package/legacy/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/system v5.
|
|
2
|
+
* @mui/system v5.14.0
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
+
'use client';
|
|
9
|
+
|
|
8
10
|
import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils";
|
|
9
11
|
export { css, keyframes, StyledEngineProvider } from '@mui/styled-engine';
|
|
10
12
|
export { default as GlobalStyles } from './GlobalStyles';
|
package/legacy/useTheme.js
CHANGED
package/modern/Box/Box.js
CHANGED
package/modern/Box/index.js
CHANGED
package/modern/Stack/Stack.js
CHANGED
package/modern/Stack/index.js
CHANGED
package/modern/createBox.js
CHANGED
package/modern/cssVars/index.js
CHANGED
package/modern/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/system v5.
|
|
2
|
+
* @mui/system v5.14.0
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
+
'use client';
|
|
9
|
+
|
|
8
10
|
import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils";
|
|
9
11
|
export { css, keyframes, StyledEngineProvider } from '@mui/styled-engine';
|
|
10
12
|
export { default as GlobalStyles } from './GlobalStyles';
|
package/modern/useTheme.js
CHANGED
package/package.json
CHANGED
package/useTheme.js
CHANGED
package/useThemeProps/index.js
CHANGED