@mui/system 5.3.0 → 5.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,140 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.4.0
4
+
5
+ <!-- generated comparing v5.3.1..master -->
6
+
7
+ _Feb 1, 2022_
8
+
9
+ A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🛠 @goncalovf added an example project using [MUI with Vite.js](https://github.com/mui-org/material-ui/tree/master/examples/vitejs) (#28241)
12
+ - Number of 🐛 bug fixes and 📚 documentation improvements.
13
+
14
+ ### `@mui/material@5.4.0`
15
+
16
+ #### Breaking changes
17
+
18
+ - &#8203;<!-- 27 -->[core] Do not reexport Base from Material (#30853) @michaldudak
19
+
20
+ All Base components were exported from the `@mui/material` package and treated as stable even though the `@mui/base` package is in development. It could create a lot of confusion if developers start using Base components, depend on them, and demand quality found in "proper" Material components. We admit it was a mistake to reexport these components without marking them as unstable.
21
+
22
+ Developers are still encouraged to evaluate the Base components, but they should do so by explicitly installing the `@mui/base` package.
23
+
24
+ This is technically a breaking change as it removes a number of components from the `@mui/material` package. However, we believe that removing the components now and potentially breaking the codebases will do less harm than introducing "silent" breaking changes to Base components while continuing reexporting them from `@mui/material`.
25
+
26
+ Note: the utility components, such as ClickAwayListener, NoSsr, Portal, and TextareaAutosize continue to be exported from both `@mui/material` and `@mui/base`.
27
+
28
+ If you're encountering build errors after upgrading @mui/material, do the following:
29
+
30
+ 1. Install @mui/base: npm install @mui/base or yarn add @mui/base
31
+ 2. Make sure the version of @mui/base match the version of @mui/material
32
+ 3. Change the import paths of unstyled components from @mui/material to @mui/base, e.g.:
33
+
34
+ ```diff
35
+ - @import ButtonUnstyled from '@mui/material/ButtonUnstyled';
36
+ + @import ButtonUnstyled from '@mui/base/ButtonUnstyled';
37
+ ```
38
+
39
+ #### Changes
40
+
41
+ - &#8203;<!-- 30 -->[Autocomplete] Add `readOnly` prop (#30706) @ZeeshanTamboli
42
+ - &#8203;<!-- 29 -->[Autocomplete] Fix typos in the page (#30737) @austinewuncler
43
+ - &#8203;<!-- 14 -->[FormControlLabel][formgroup] add Mui-error class (#30656) @alisasanib
44
+ - &#8203;<!-- 13 -->[Grid] Fix prop check for applying wrap-reverse (#30813) @Hubbz
45
+ - &#8203;<!-- 07 -->[TextField] Remove notch when no label is added (#30560) @alisasanib
46
+ - &#8203;<!-- 06 -->[TextField] Remove usage of dangerouslySetInnerHTML (#30776) @Jack-Works
47
+ - &#8203;<!-- 05 -->[TreeView] Select node when key `Enter` is pressed (#30795) @dryrainbow
48
+ - &#8203;<!-- 04 -->[useMediaQuery] Ensure no tearing in React 18 (#30655) @eps1lon
49
+
50
+ ### `@mui/base@5.0.0-alpha.67`
51
+
52
+ - &#8203;<!-- 11 -->[SelectUnstyled] Create unstyled select (+ hook) (#30113) @michaldudak
53
+
54
+ ### `@mui/lab@5.0.0-alpha.67`
55
+
56
+ - &#8203;<!-- 23 -->[DateTimePicker] Fix month view highlight wrong tab (#30773) @DiegoYungh
57
+ - &#8203;<!-- 12 -->[pickers] Enable the sx props on all components (#30749) @boutahlilsoufiane
58
+
59
+ ### Docs
60
+
61
+ - &#8203;<!-- 28 -->[blog] Introducing callback support in style overrides (#30668) @siriwatknp
62
+ - &#8203;<!-- 23 -->[docs] Add notifications for the blog posts (#30852) @siriwatknp
63
+ - &#8203;<!-- 22 -->[docs] Improve the interoperability guide (#30785) @mnajdova
64
+ - &#8203;<!-- 21 -->[docs] Improve the Getting Started documentation content (#30808) @mnajdova
65
+ - &#8203;<!-- 20 -->[docs] Fix typo in ad fallback (#30823) @cherniavskii
66
+ - &#8203;<!-- 19 -->[docs] Change ThemeProvider API links (#30705) @atakanzen
67
+ - &#8203;<!-- 18 -->[docs] Retain vendor prefixing in rtl example (#30710) @ryancogswell
68
+ - &#8203;<!-- 17 -->[docs] Fix typo in the Popper ScrollPlayground demo (#30780) @tanyabouman
69
+ - &#8203;<!-- 16 -->[docs] Small fixes on the jss-to-tss migration guide (#30734) @garronej
70
+ - &#8203;<!-- 15 -->[examples] Add Vite.js example (#28241) @goncalovf
71
+
72
+ ### Core
73
+
74
+ - &#8203;<!-- 29 -->[core] Clarify the label, to match with MUI X (#30831) @oliviertassinari
75
+ - &#8203;<!-- 26 -->[core] Remove none code related instructions from git (#30843) @oliviertassinari
76
+ - &#8203;<!-- 25 -->[core] Fix typos in comments for scripts (#30809) @aefox
77
+ - &#8203;<!-- 24 -->[core] Fix 301 link in the blog @oliviertassinari
78
+ - &#8203;<!-- 10 -->[test] Fix tests on Node 16 (#30819) @michaldudak
79
+ - &#8203;<!-- 09 -->[test] Add explicit types to support noImplicityAny=false (#30798) @m4theushw
80
+ - &#8203;<!-- 08 -->[test] Support React.useId format in \*DescriptionOf (#30657) @eps1lon
81
+ - &#8203;<!-- 03 -->[website] Fix SEO issues (#30829) @oliviertassinari
82
+ - &#8203;<!-- 02 -->[website] Add designer position page (#30708) @danilo-leal
83
+ - &#8203;<!-- 01 -->[website] Polish /about page (#30747) @oliviertassinari
84
+
85
+ All contributors of this release in alphabetical order: @aefox, @alisasanib, @atakanzen, @austinewuncler, @boutahlilsoufiane, @cherniavskii, @danilo-leal, @DiegoYungh, @dryrainbow, @eps1lon, @garronej, @goncalovf, @Hubbz, @Jack-Works, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @ryancogswell, @siriwatknp, @tanyabouman, @ZeeshanTamboli
86
+
87
+ ## 5.3.1
88
+
89
+ <!-- generated comparing v5.3.0..master -->
90
+
91
+ _Jan 24, 2022_
92
+
93
+ A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
94
+
95
+ - 🛠 @mnajdova added interoperability guide for using Tailwind CSS (#30700)
96
+ - A meaningful number of 🐛 bug fixes and 📚 documentation improvements.
97
+
98
+ ### `@mui/icons-material@5.3.1`
99
+
100
+ - &#8203;<!-- 04 -->[icons] Fix naming typos (#30512) @MrHBS
101
+ - &#8203;<!-- 03 -->[icons] Makes material-icons work with Joy (#30681) @siriwatknp
102
+
103
+ ### `@mui/base@5.0.0-alpha.66`
104
+
105
+ - &#8203;<!-- 02 -->[SliderUnstyled] Improve typings on some internal utils (#30614) @mnajdova
106
+
107
+ ### Core
108
+
109
+ - &#8203;<!-- 24 -->[core] Batch small changes (#30690) @oliviertassinari
110
+ - &#8203;<!-- 23 -->[core] Add new structure to ignore list crowdin (#30608) @siriwatknp
111
+ - &#8203;<!-- 22 -->[core] Correct version in package.json (#30677) @michaldudak
112
+ - &#8203;<!-- 01 -->[test] Fix buildApiUtils tests on Windows (#30698) @michaldudak
113
+
114
+ ### Docs
115
+
116
+ - &#8203;<!-- 26 -->[blog] Enable blog index (#30724) @siriwatknp
117
+ - &#8203;<!-- 25 -->[blog] Introducing the Row Grouping feature (#30598) @alexfauquette
118
+ - &#8203;<!-- 21 -->[docs] Fix SEO crawl errors (#30733) @oliviertassinari
119
+ - &#8203;<!-- 20 -->[docs] Update migration-v4.md (#30721) @ddecrulle
120
+ - &#8203;<!-- 19 -->[docs] Fix migration issues detected by `ahrefs` (#30751) @siriwatknp
121
+ - &#8203;<!-- 18 -->[docs] Add interoprability guide for using Tailwind CSS (#30700) @mnajdova
122
+ - &#8203;<!-- 17 -->[docs] Fix typo in containedSizeMedium class (#30723) @aaneitchik
123
+ - &#8203;<!-- 16 -->[docs] Hotfix the wrong URL in X marketing page (#30729) @siriwatknp
124
+ - &#8203;<!-- 15 -->[docs] Post migration preparation fix (#30716) @siriwatknp
125
+ - &#8203;<!-- 14 -->[docs] Update remix example to restore from error pages (#30592) @mnajdova
126
+ - &#8203;<!-- 13 -->[docs] Use new URLs when enable_redirects is true (#30704) @siriwatknp
127
+ - &#8203;<!-- 12 -->[docs] Add a missing bracket in the migration-v4 guide (#30616) @chaosmirage
128
+ - &#8203;<!-- 11 -->[docs] Add Checkbox color prop change (#30697) @aaneitchik
129
+ - &#8203;<!-- 10 -->[docs] Fix migration to have singular urls (#30695) @siriwatknp
130
+ - &#8203;<!-- 09 -->[docs] Update UXPin link to new landing page (#30691) @Evomatic
131
+ - &#8203;<!-- 08 -->[docs] Close user menu on click in the responsive app bar demo (#30664) @NoahYarian
132
+ - &#8203;<!-- 07 -->[docs] Clear the difference between UI and React components (#29930) @oliviertassinari
133
+ - &#8203;<!-- 06 -->[docs] Make Autocomplete docs gender neutral (#30679) @exequielbc
134
+ - &#8203;<!-- 05 -->[docs] Update doc structure for X components (#30684) @siriwatknp
135
+
136
+ All contributors of this release in alphabetical order: @aaneitchik, @alexfauquette, @chaosmirage, @ddecrulle, @Evomatic, @exequielbc, @michaldudak, @mnajdova, @MrHBS, @NoahYarian, @oliviertassinari, @siriwatknp
137
+
3
138
  ## 5.3.0
4
139
 
5
140
  <!-- generated comparing v5.2.8..master -->
@@ -5757,7 +5892,7 @@ Here are some highlights ✨:
5757
5892
  Last but not least, the change allows us to take advantage dynamic style props. We will use them for dynamic color props, variant props, and new style props (an improved [system](https://mui.com/system/basics/)).
5758
5893
 
5759
5894
  This change has been in our roadmap for more than a year.
5760
- We announced it in the [v4 release blog post](https://medium.com/material-ui/material-ui-v4-is-out-4b7587d1e701) as a direction v5 would take.
5895
+ We announced it in the [v4 release blog post](https://mui.com/blog/material-ui-v4-is-out/) as a direction v5 would take.
5761
5896
 
5762
5897
  - 🛠 A first iteration on the unstyled components.
5763
5898
 
@@ -10,7 +10,7 @@ export interface ThemeProviderProps<Theme = DefaultTheme> {
10
10
  * It should preferably be used at **the root of your component tree**.
11
11
  * API:
12
12
  *
13
- * - [ThemeProvider API](https://mui.com/api/theme-provider/)
13
+ * - [ThemeProvider API](/customization/theming/#themeprovider)
14
14
  */
15
15
  export default function ThemeProvider<T = DefaultTheme>(
16
16
  props: ThemeProviderProps<T>,
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.3.0
1
+ /** @license MUI v5.4.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.3.0
1
+ /** @license MUI v5.4.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.3.0
1
+ /** @license MUI v5.4.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/system",
3
- "version": "5.3.0",
3
+ "version": "5.4.0",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "CSS utilities for rapidly laying out custom designs.",