@mui/system 5.2.6 → 5.4.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/Box/Box.d.ts +1 -0
- package/CHANGELOG.md +423 -60
- package/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/createStyled.js +9 -1
- package/cssVars/createCssVarsProvider.js +2 -2
- package/cssVars/createGetCssVar.d.ts +5 -0
- package/cssVars/createGetCssVar.js +27 -0
- package/esm/createStyled.js +9 -1
- package/esm/cssVars/createCssVarsProvider.js +2 -2
- package/esm/cssVars/createGetCssVar.js +20 -0
- package/esm/index.js +1 -1
- package/esm/typography.js +4 -1
- package/index.d.ts +2 -1
- package/index.js +5 -5
- package/legacy/createStyled.js +17 -4
- package/legacy/cssVars/createCssVarsProvider.js +2 -2
- package/legacy/cssVars/{createGetThemeVar.js → createGetCssVar.js} +10 -4
- package/legacy/index.js +2 -2
- package/legacy/typography.js +4 -1
- package/modern/createStyled.js +9 -1
- package/modern/cssVars/createCssVarsProvider.js +2 -2
- package/modern/cssVars/createGetCssVar.js +20 -0
- package/modern/index.js +2 -2
- package/modern/typography.js +4 -1
- package/package.json +9 -9
- package/styleFunctionSx/styleFunctionSx.d.ts +1 -0
- package/typography.js +6 -2
- package/cssVars/createGetThemeVar.d.ts +0 -1
- package/cssVars/createGetThemeVar.js +0 -22
- package/esm/cssVars/createGetThemeVar.js +0 -15
- package/modern/cssVars/createGetThemeVar.js +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,363 @@
|
|
|
1
|
-
|
|
1
|
+
# [Versions](https://mui.com/versions/)
|
|
2
|
+
|
|
3
|
+
## 5.4.1
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.4.0..master -->
|
|
6
|
+
|
|
7
|
+
_Feb 8, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- ♿️ Snackbar messages are now announced by NVDA when using Firefox (#30774) @eps1lon
|
|
12
|
+
- Several 🐛 bug fixes and 📚 documentation improvements.
|
|
13
|
+
|
|
14
|
+
### `@mui/material@5.4.1`
|
|
15
|
+
|
|
16
|
+
- ​<!-- 37 -->[AvatarGroup] Enable targeting of additional Avatar when max props is passed (#30794) @mogrady88
|
|
17
|
+
- ​<!-- 36 -->[Badge] Fix showzero and invisible condition (#30899) @alisasanib
|
|
18
|
+
- ​<!-- 35 -->[ButtonBase] Expose ref to TouchRipple (#30901) @m4theushw
|
|
19
|
+
- ​<!-- 15 -->[Fab] Add support for the default theme colors (#30846) @alisasanib
|
|
20
|
+
- ​<!-- 11 -->[SelectInput] Only attach click handler to label if a labelId is passed (#30239) @johsunds
|
|
21
|
+
- ​<!-- 09 -->[Snackbar] Ensure messages are announced in NVDA+FF (#30774) @eps1lon
|
|
22
|
+
|
|
23
|
+
### `@mui/base@5.0.0-alpha.68`
|
|
24
|
+
|
|
25
|
+
- ​<!-- 10 -->[SelectUnstyled] Improve exported types (#30895) @michaldudak
|
|
26
|
+
|
|
27
|
+
### `@mui/lab@5.0.0-alpha.68`
|
|
28
|
+
|
|
29
|
+
- ​<!-- 12 -->[Pickers] Fix `onDismiss` handler in `MobileDatePicker` (#30768) @Ashish2097
|
|
30
|
+
- ​<!-- 06 -->[TimePicker] Add font family for clock numbers (#30738) @alisasanib
|
|
31
|
+
|
|
32
|
+
### `@mui/joy@5.0.0-alpha.14`
|
|
33
|
+
|
|
34
|
+
- ​<!-- 14 -->[Joy] Add `IconButton` component (#30864) @siriwatknp
|
|
35
|
+
- ​<!-- 13 -->[Joy] Use icon inside a Button (#30803) @siriwatknp
|
|
36
|
+
|
|
37
|
+
### Docs
|
|
38
|
+
|
|
39
|
+
- ​<!-- 16 -->[examples] Fix vitejs example and improve HMR (#30897) @mihailgaberov
|
|
40
|
+
- ​<!-- 33 -->[docs] Improve autocomplete "limit tags" demo (#30910) @danilo-leal
|
|
41
|
+
- ​<!-- 34 -->[docs] Sync translations with Crowdin (#30950) @l10nbot
|
|
42
|
+
- ​<!-- 38 -->[docs] Improve description of the disableRestoreFocus prop of the `TrapFocus` (#30912) @flaviendelangle
|
|
43
|
+
- ​<!-- 32 -->[docs] Remove ul with div children and replace with nav element (#30534) @joeframbach
|
|
44
|
+
- ​<!-- 31 -->[docs] Add Saleor to showcase (#30924) @cherniavskii
|
|
45
|
+
- ​<!-- 30 -->[docs] Include JSS in styling solution interoperability guide (#30736) @garronej
|
|
46
|
+
- ​<!-- 29 -->[docs] Fix contents of link-underline-hover (#30904) @pppp606
|
|
47
|
+
- ​<!-- 28 -->[docs] Fix markdown table format (#30947) @oliviertassinari
|
|
48
|
+
- ​<!-- 27 -->[docs] Add missing import to RTL guide (#30891) @CFarhad
|
|
49
|
+
- ​<!-- 26 -->[docs] Fix WithStyles import statement for @mui/styles (#30942) @altruity
|
|
50
|
+
- ​<!-- 25 -->[docs] Fix broken roadmap table (#30943) @cherniavskii
|
|
51
|
+
- ​<!-- 24 -->[docs] Fix broken URL in "Edit this page" button (#30923) @cherniavskii
|
|
52
|
+
- ​<!-- 23 -->[docs] Migrate content to the new location (#30757) @siriwatknp
|
|
53
|
+
- ​<!-- 22 -->[docs] Fix the link to the Vite.js example project (#30872) @GneyHabub
|
|
54
|
+
- ​<!-- 21 -->[docs] Clarify the minimum configuration for TypeScript (#30790) @mnajdova
|
|
55
|
+
- ​<!-- 20 -->[docs] Clarify what the name of @mui/material is (#30866) @oliviertassinari
|
|
56
|
+
- ​<!-- 19 -->[docs] Remove migration from the releases page (#30863) @mnajdova
|
|
57
|
+
- ​<!-- 18 -->[docs] Update Instructions for Google Maps Autocomplete (#30849) @kjschabra
|
|
58
|
+
- ​<!-- 17 -->[docs] Hotfix notification <b> (#30862) @siriwatknp
|
|
59
|
+
- ​<!-- 04 -->[website] Sample GA to avoid hit limit (#30919) @oliviertassinari
|
|
60
|
+
- ​<!-- 03 -->[website] Hide scrollbars of hero containers (#29474) @theiliad
|
|
61
|
+
- ​<!-- 02 -->[website] Polishing spacing and other small things (#30828) @danilo-leal
|
|
62
|
+
- ​<!-- 01 -->[website] Close the Developer Advocate role (#30867) @oliviertassinari
|
|
63
|
+
|
|
64
|
+
### Core
|
|
65
|
+
|
|
66
|
+
- ​<!-- 37 -->[core] Batch small fixes (#30952) @oliviertassinari
|
|
67
|
+
- ​<!-- 34 -->[core] Rename the GitHub org (#30944) @oliviertassinari
|
|
68
|
+
- ​<!-- 33 -->[core] Fix propTypes in components where OverridableStringUnion is used (#30682) @paales
|
|
69
|
+
- ​<!-- 08 -->[test] Codify the difference between keyup and keydown in SelectUnstyled (#30857) @eps1lon
|
|
70
|
+
- ​<!-- 07 -->[test] Fix typo (#30841) @caioagiani
|
|
71
|
+
- ​<!-- 05 -->[utils] Use built-in hook when available for useId (#30654) @eps1lon
|
|
72
|
+
|
|
73
|
+
All contributors of this release in alphabetical order: @alisasanib, @altruity, @Ashish2097, @caioagiani, @CFarhad, @cherniavskii, @danilo-leal, @eps1lon, @flaviendelangle, @garronej, @GneyHabub, @joeframbach, @johsunds, @kjschabra, @m4theushw, @michaldudak, @mihailgaberov, @mnajdova, @mogrady88, @oliviertassinari, @paales, @pppp606, @siriwatknp, @theiliad
|
|
74
|
+
|
|
75
|
+
## 5.4.0
|
|
76
|
+
|
|
77
|
+
<!-- generated comparing v5.3.1..master -->
|
|
78
|
+
|
|
79
|
+
_Feb 1, 2022_
|
|
80
|
+
|
|
81
|
+
A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
|
|
82
|
+
|
|
83
|
+
- 🛠 @goncalovf added an example project using [MUI with Vite.js](https://github.com/mui/material-ui/tree/master/examples/vitejs) (#28241)
|
|
84
|
+
- Number of 🐛 bug fixes and 📚 documentation improvements.
|
|
85
|
+
|
|
86
|
+
### `@mui/material@5.4.0`
|
|
87
|
+
|
|
88
|
+
#### Breaking changes
|
|
89
|
+
|
|
90
|
+
- ​<!-- 27 -->[core] Do not reexport Base from Material (#30853) @michaldudak
|
|
91
|
+
|
|
92
|
+
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.
|
|
93
|
+
|
|
94
|
+
Developers are still encouraged to evaluate the Base components, but they should do so by explicitly installing the `@mui/base` package.
|
|
95
|
+
|
|
96
|
+
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`.
|
|
97
|
+
|
|
98
|
+
Note: the utility components, such as ClickAwayListener, NoSsr, Portal, and TextareaAutosize continue to be exported from both `@mui/material` and `@mui/base`.
|
|
99
|
+
|
|
100
|
+
If you're encountering build errors after upgrading @mui/material, do the following:
|
|
101
|
+
|
|
102
|
+
1. Install @mui/base: npm install @mui/base or yarn add @mui/base
|
|
103
|
+
2. Make sure the version of @mui/base match the version of @mui/material
|
|
104
|
+
3. Change the import paths of unstyled components from @mui/material to @mui/base, e.g.:
|
|
105
|
+
|
|
106
|
+
```diff
|
|
107
|
+
- @import ButtonUnstyled from '@mui/material/ButtonUnstyled';
|
|
108
|
+
+ @import ButtonUnstyled from '@mui/base/ButtonUnstyled';
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
#### Changes
|
|
112
|
+
|
|
113
|
+
- ​<!-- 30 -->[Autocomplete] Add `readOnly` prop (#30706) @ZeeshanTamboli
|
|
114
|
+
- ​<!-- 29 -->[Autocomplete] Fix typos in the page (#30737) @austinewuncler
|
|
115
|
+
- ​<!-- 14 -->[FormControlLabel][formgroup] add Mui-error class (#30656) @alisasanib
|
|
116
|
+
- ​<!-- 13 -->[Grid] Fix prop check for applying wrap-reverse (#30813) @Hubbz
|
|
117
|
+
- ​<!-- 07 -->[TextField] Remove notch when no label is added (#30560) @alisasanib
|
|
118
|
+
- ​<!-- 06 -->[TextField] Remove usage of dangerouslySetInnerHTML (#30776) @Jack-Works
|
|
119
|
+
- ​<!-- 05 -->[TreeView] Select node when key `Enter` is pressed (#30795) @dryrainbow
|
|
120
|
+
- ​<!-- 04 -->[useMediaQuery] Ensure no tearing in React 18 (#30655) @eps1lon
|
|
121
|
+
|
|
122
|
+
### `@mui/base@5.0.0-alpha.67`
|
|
123
|
+
|
|
124
|
+
- ​<!-- 11 -->[SelectUnstyled] Create unstyled select (+ hook) (#30113) @michaldudak
|
|
125
|
+
|
|
126
|
+
### `@mui/lab@5.0.0-alpha.67`
|
|
127
|
+
|
|
128
|
+
- ​<!-- 23 -->[DateTimePicker] Fix month view highlight wrong tab (#30773) @DiegoYungh
|
|
129
|
+
- ​<!-- 12 -->[pickers] Enable the sx props on all components (#30749) @boutahlilsoufiane
|
|
130
|
+
|
|
131
|
+
### Docs
|
|
132
|
+
|
|
133
|
+
- ​<!-- 28 -->[blog] Introducing callback support in style overrides (#30668) @siriwatknp
|
|
134
|
+
- ​<!-- 23 -->[docs] Add notifications for the blog posts (#30852) @siriwatknp
|
|
135
|
+
- ​<!-- 22 -->[docs] Improve the interoperability guide (#30785) @mnajdova
|
|
136
|
+
- ​<!-- 21 -->[docs] Improve the Getting Started documentation content (#30808) @mnajdova
|
|
137
|
+
- ​<!-- 20 -->[docs] Fix typo in ad fallback (#30823) @cherniavskii
|
|
138
|
+
- ​<!-- 19 -->[docs] Change ThemeProvider API links (#30705) @atakanzen
|
|
139
|
+
- ​<!-- 18 -->[docs] Retain vendor prefixing in rtl example (#30710) @ryancogswell
|
|
140
|
+
- ​<!-- 17 -->[docs] Fix typo in the Popper ScrollPlayground demo (#30780) @tanyabouman
|
|
141
|
+
- ​<!-- 16 -->[docs] Small fixes on the jss-to-tss migration guide (#30734) @garronej
|
|
142
|
+
- ​<!-- 15 -->[examples] Add Vite.js example (#28241) @goncalovf
|
|
143
|
+
|
|
144
|
+
### Core
|
|
145
|
+
|
|
146
|
+
- ​<!-- 29 -->[core] Clarify the label, to match with MUI X (#30831) @oliviertassinari
|
|
147
|
+
- ​<!-- 26 -->[core] Remove none code related instructions from git (#30843) @oliviertassinari
|
|
148
|
+
- ​<!-- 25 -->[core] Fix typos in comments for scripts (#30809) @aefox
|
|
149
|
+
- ​<!-- 24 -->[core] Fix 301 link in the blog @oliviertassinari
|
|
150
|
+
- ​<!-- 10 -->[test] Fix tests on Node 16 (#30819) @michaldudak
|
|
151
|
+
- ​<!-- 09 -->[test] Add explicit types to support noImplicityAny=false (#30798) @m4theushw
|
|
152
|
+
- ​<!-- 08 -->[test] Support React.useId format in \*DescriptionOf (#30657) @eps1lon
|
|
153
|
+
- ​<!-- 03 -->[website] Fix SEO issues (#30829) @oliviertassinari
|
|
154
|
+
- ​<!-- 02 -->[website] Add designer position page (#30708) @danilo-leal
|
|
155
|
+
- ​<!-- 01 -->[website] Polish /about page (#30747) @oliviertassinari
|
|
156
|
+
|
|
157
|
+
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
|
|
158
|
+
|
|
159
|
+
## 5.3.1
|
|
160
|
+
|
|
161
|
+
<!-- generated comparing v5.3.0..master -->
|
|
162
|
+
|
|
163
|
+
_Jan 24, 2022_
|
|
164
|
+
|
|
165
|
+
A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
166
|
+
|
|
167
|
+
- 🛠 @mnajdova added interoperability guide for using Tailwind CSS (#30700)
|
|
168
|
+
- A meaningful number of 🐛 bug fixes and 📚 documentation improvements.
|
|
169
|
+
|
|
170
|
+
### `@mui/icons-material@5.3.1`
|
|
171
|
+
|
|
172
|
+
- ​<!-- 04 -->[icons] Fix naming typos (#30512) @MrHBS
|
|
173
|
+
- ​<!-- 03 -->[icons] Makes material-icons work with Joy (#30681) @siriwatknp
|
|
174
|
+
|
|
175
|
+
### `@mui/base@5.0.0-alpha.66`
|
|
176
|
+
|
|
177
|
+
- ​<!-- 02 -->[SliderUnstyled] Improve typings on some internal utils (#30614) @mnajdova
|
|
178
|
+
|
|
179
|
+
### Core
|
|
180
|
+
|
|
181
|
+
- ​<!-- 24 -->[core] Batch small changes (#30690) @oliviertassinari
|
|
182
|
+
- ​<!-- 23 -->[core] Add new structure to ignore list crowdin (#30608) @siriwatknp
|
|
183
|
+
- ​<!-- 22 -->[core] Correct version in package.json (#30677) @michaldudak
|
|
184
|
+
- ​<!-- 01 -->[test] Fix buildApiUtils tests on Windows (#30698) @michaldudak
|
|
185
|
+
|
|
186
|
+
### Docs
|
|
187
|
+
|
|
188
|
+
- ​<!-- 26 -->[blog] Enable blog index (#30724) @siriwatknp
|
|
189
|
+
- ​<!-- 25 -->[blog] Introducing the Row Grouping feature (#30598) @alexfauquette
|
|
190
|
+
- ​<!-- 21 -->[docs] Fix SEO crawl errors (#30733) @oliviertassinari
|
|
191
|
+
- ​<!-- 20 -->[docs] Update migration-v4.md (#30721) @ddecrulle
|
|
192
|
+
- ​<!-- 19 -->[docs] Fix migration issues detected by `ahrefs` (#30751) @siriwatknp
|
|
193
|
+
- ​<!-- 18 -->[docs] Add interoprability guide for using Tailwind CSS (#30700) @mnajdova
|
|
194
|
+
- ​<!-- 17 -->[docs] Fix typo in containedSizeMedium class (#30723) @aaneitchik
|
|
195
|
+
- ​<!-- 16 -->[docs] Hotfix the wrong URL in X marketing page (#30729) @siriwatknp
|
|
196
|
+
- ​<!-- 15 -->[docs] Post migration preparation fix (#30716) @siriwatknp
|
|
197
|
+
- ​<!-- 14 -->[docs] Update remix example to restore from error pages (#30592) @mnajdova
|
|
198
|
+
- ​<!-- 13 -->[docs] Use new URLs when enable_redirects is true (#30704) @siriwatknp
|
|
199
|
+
- ​<!-- 12 -->[docs] Add a missing bracket in the migration-v4 guide (#30616) @chaosmirage
|
|
200
|
+
- ​<!-- 11 -->[docs] Add Checkbox color prop change (#30697) @aaneitchik
|
|
201
|
+
- ​<!-- 10 -->[docs] Fix migration to have singular urls (#30695) @siriwatknp
|
|
202
|
+
- ​<!-- 09 -->[docs] Update UXPin link to new landing page (#30691) @Evomatic
|
|
203
|
+
- ​<!-- 08 -->[docs] Close user menu on click in the responsive app bar demo (#30664) @NoahYarian
|
|
204
|
+
- ​<!-- 07 -->[docs] Clear the difference between UI and React components (#29930) @oliviertassinari
|
|
205
|
+
- ​<!-- 06 -->[docs] Make Autocomplete docs gender neutral (#30679) @exequielbc
|
|
206
|
+
- ​<!-- 05 -->[docs] Update doc structure for X components (#30684) @siriwatknp
|
|
207
|
+
|
|
208
|
+
All contributors of this release in alphabetical order: @aaneitchik, @alexfauquette, @chaosmirage, @ddecrulle, @Evomatic, @exequielbc, @michaldudak, @mnajdova, @MrHBS, @NoahYarian, @oliviertassinari, @siriwatknp
|
|
209
|
+
|
|
210
|
+
## 5.3.0
|
|
211
|
+
|
|
212
|
+
<!-- generated comparing v5.2.8..master -->
|
|
213
|
+
|
|
214
|
+
_Jan 17, 2022_
|
|
215
|
+
|
|
216
|
+
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
217
|
+
|
|
218
|
+
- 🛠 @siriwatknp added support for callbacks in styleOverrides (#30524)
|
|
219
|
+
- 🧩 @ZeeshanTamboli and @VicHofs improved customization of components (#30515, #30212)
|
|
220
|
+
- 🛠 @hbjORbj fixed the use of ResizeObserver in Masonry component (#29896)
|
|
221
|
+
- 📄 @danilo-leal and @siriwatknp created our own blog home page (#30121)
|
|
222
|
+
|
|
223
|
+
### `@mui/material@5.3.0`
|
|
224
|
+
|
|
225
|
+
- [Autocomplete] Add ability to pass props to `Paper` component (#30515) @ZeeshanTamboli
|
|
226
|
+
- [Select] Add defaultOpen prop (#30212) @VicHofs
|
|
227
|
+
|
|
228
|
+
### `@mui/system@5.3.0`
|
|
229
|
+
|
|
230
|
+
- [system][box, grid, typography] `textTransform` prop should work directly on component (#30437) @hbjORbj
|
|
231
|
+
- [system] Support callback value in `styleOverrides` slot (#30524) @siriwatknp
|
|
232
|
+
|
|
233
|
+
### `@mui/lab@5.0.0-alpha.65`
|
|
234
|
+
|
|
235
|
+
- [Masonry] Observe every masonry child to trigger computation when needed (#29896) @hbjORbj
|
|
236
|
+
- [MobileDatePicker] Fix calling onOpen when readOnly is true (#30561) @alisasanib
|
|
237
|
+
|
|
238
|
+
### `@mui/codemod@5.3.0`
|
|
239
|
+
|
|
240
|
+
- [codemod] Bump `jscodeshift` to remove `colors` dependency (#30578) @siriwatknp
|
|
241
|
+
|
|
242
|
+
### `@mui/styled-engine-sc@5.3.0`
|
|
243
|
+
|
|
244
|
+
- [styled-engine-sc] Add the withConfig API to enable using the babel plugin for styled-comonents (#30589) @mnajdova
|
|
245
|
+
|
|
246
|
+
### `@mui/joy@5.0.0-alpha.11`
|
|
247
|
+
|
|
248
|
+
- [Joy] Add `SvgIcon` component (#30570) @hbjORbj
|
|
249
|
+
|
|
250
|
+
### `@mui/base@5.0.0-alpha.65`
|
|
251
|
+
|
|
252
|
+
- [SliderUnstyled] Add useSlider hook and polish (#30094) @mnajdova
|
|
253
|
+
|
|
254
|
+
### Docs
|
|
255
|
+
|
|
256
|
+
- [docs] End code block in test/README.md (#30531) @yaboi
|
|
257
|
+
- [docs] Remove redundant grouping in /components/radio-buttons/ (#30065) @eps1lon
|
|
258
|
+
- [docs] Update migration scripts and e2e tests (#30583) @siriwatknp
|
|
259
|
+
- [docs] Fix migration guides for versions older than v4 (#30595) @kkirsche
|
|
260
|
+
- [docs] Inform about specific files for DataGrid locales (#30411) @alexfauquette
|
|
261
|
+
- [docs] jss-to-tss migration advise to drop clsx in favor of cx (#30527) @garronej
|
|
262
|
+
- [docs] Fix integration with MUI X (#30593) @oliviertassinari
|
|
263
|
+
- [docs] Adding peer dependencies explanation on @mui/lab README.md (#30532) @glaucoheitor
|
|
264
|
+
- [docs] Add missing quote in migration docs (#30587) @Atralbus
|
|
265
|
+
- [docs] Update link to Doit sponsor (#30586) @oliviertassinari
|
|
266
|
+
- [docs] Add products identifier and drawer (#30283) @siriwatknp
|
|
267
|
+
- [website] Fix code button with installation command (#30622) @danilo-leal
|
|
268
|
+
- [website] Add a Blog index page (#30121) @danilo-leal
|
|
269
|
+
- [website] Migrate Twitter from @MaterialUI to @MUI_hq @oliviertassinari
|
|
270
|
+
- [website] Add Andrii to the About Us page (#30581) @cherniavskii
|
|
271
|
+
|
|
272
|
+
### Core
|
|
273
|
+
|
|
274
|
+
- [core] Revert changes to peer dependencies (#30662) @oliviertassinari
|
|
275
|
+
- [core] Renovate should not try to update node (#30659) @oliviertassinari
|
|
276
|
+
- [core] Remove dead files (#30663) @oliviertassinari
|
|
277
|
+
- [core] Fix outdated TypeScript template (#30596) @oliviertassinari
|
|
278
|
+
- [core] Remove extra `</p>` from header of README.md (#30530) @yaboi
|
|
279
|
+
- [core] Fix `docs:api` script for Windows OS (#30533) @ZeeshanTamboli
|
|
280
|
+
|
|
281
|
+
All contributors of this release in alphabetical order: @alexfauquette, @alisasanib, @Atralbus, @cherniavskii, @danilo-leal, @eps1lon, @garronej, @glaucoheitor, @hbjORbj, @kkirsche, @mnajdova, @oliviertassinari, @siriwatknp, @VicHofs, @yaboi, @ZeeshanTamboli
|
|
282
|
+
|
|
283
|
+
## 5.2.8
|
|
284
|
+
|
|
285
|
+
<!-- generated comparing v5.2.7..master -->
|
|
286
|
+
|
|
287
|
+
_Jan 10, 2022_
|
|
288
|
+
|
|
289
|
+
A big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
290
|
+
|
|
291
|
+
- A meaningful number of 🐛 bug fixes and 📚 documentation improvements.
|
|
292
|
+
|
|
293
|
+
### `@mui/material@5.2.8`
|
|
294
|
+
|
|
295
|
+
- ​<!-- 05 -->[TextField][inputlabel] Remove `pointer-events: none` property (#30493) @hbjORbj
|
|
296
|
+
- ​<!-- 02 -->[Slider] Add `input` slot to components and componentsProps (#30362) @alexandre-lelain
|
|
297
|
+
|
|
298
|
+
### `@mui/joy@5.0.0-alpha.10`
|
|
299
|
+
|
|
300
|
+
- ​<!-- 04 -->[Joy] Add `Typography` component (#30489) @siriwatknp
|
|
301
|
+
- ​<!-- 03 -->[Joy] Add functional `Switch` component (#30487) @siriwatknp
|
|
302
|
+
|
|
303
|
+
### Docs
|
|
304
|
+
|
|
305
|
+
- ​<!-- 18 -->[docs] Update markdown parser to remove backticks from description (#30495) @aefox
|
|
306
|
+
- ​<!-- 17 -->[docs] Fix the crash when applying custom colors (#30563) @siriwatknp
|
|
307
|
+
- ​<!-- 16 -->[docs] Location change of Sebastian (#30528) @eps1lon
|
|
308
|
+
- ​<!-- 15 -->[docs] Lint markdown in the CI (#30395) @oliviertassinari
|
|
309
|
+
- ​<!-- 14 -->[docs] Fix `componentsProps` API docs and PropTypes (#30502) @ZeeshanTamboli
|
|
310
|
+
- ​<!-- 13 -->[docs] Codemod doc for overriding styles using tss (#30499) @garronej
|
|
311
|
+
- ​<!-- 12 -->[docs] fix edge case when replacing data-grid url for migration (#30505) @siriwatknp
|
|
312
|
+
- ​<!-- 11 -->[docs] fix replace url for migration (#30503) @siriwatknp
|
|
313
|
+
- ​<!-- 10 -->[docs] Prepare scripts for migrating to new structure (#30386) @siriwatknp
|
|
314
|
+
- ​<!-- 09 -->[docs] Adjust RTL Guide demos to fully support RTL (#30387) @noam-honig
|
|
315
|
+
- ​<!-- 08 -->[docs] Move @eps1lon to community (#30473) @oliviertassinari
|
|
316
|
+
- ​<!-- 07 -->[docs] Fix typo and spelling in the-sx-prop.md (#30482) @aefox
|
|
317
|
+
- ​<!-- 06 -->[docs] More general docs polishing (#30371) @danilo-leal
|
|
318
|
+
- ​<!-- 01 -->[website] Add José on the /about page (#30492) @danilo-leal
|
|
319
|
+
|
|
320
|
+
All contributors of this release in alphabetical order: @aefox, @alexandre-lelain, @danilo-leal, @eps1lon, @garronej, @hbjORbj, @noam-honig, @oliviertassinari, @siriwatknp, @ZeeshanTamboli
|
|
321
|
+
|
|
322
|
+
## 5.2.7
|
|
323
|
+
|
|
324
|
+
<!-- generated comparing v5.2.6..master -->
|
|
325
|
+
|
|
326
|
+
_Jan 3, 2022_
|
|
327
|
+
|
|
328
|
+
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
329
|
+
|
|
330
|
+
- 📓 Improvements on the Vietnamese (vi-VN) and Finnish (fi-FI) locales (#30426, #30442) @hckhanh @Certificate
|
|
331
|
+
- And more 🐛 bug fixes and 📚 documentation improvements.
|
|
332
|
+
|
|
333
|
+
### `@mui/material@5.2.7`
|
|
334
|
+
|
|
335
|
+
- ​<!-- 14 -->[Autocomplete] Fix calling onChange for duplicate values (#30374) @alisasanib
|
|
336
|
+
- ​<!-- 13 -->[Avatar] Fix TypeScript error on imgProps (#30255) @ahmad-reza619
|
|
337
|
+
- ​<!-- 12 -->[Badge] Fix `classes` prop TypeScript type (#30427) @ZeeshanTamboli
|
|
338
|
+
- ​<!-- 03 -->[SvgIcon] Allow viewBox to inherit from Component through inheritViewBox prop (#29954) @alex-dikusar
|
|
339
|
+
- ​<!-- 04 -->[SvgIcon] Correct API docs and code style (#30470) @michaldudak
|
|
340
|
+
|
|
341
|
+
### Docs
|
|
342
|
+
|
|
343
|
+
- ​<!-- 11 -->[blog] 2021 (#30425) @oliviertassinari
|
|
344
|
+
- ​<!-- 15 -->[docs] Fix typo on the Grid docs page (#30446) @abhi45
|
|
345
|
+
- ​<!-- 07 -->[docs] Fix `useMediaQuery` SSR example to v5 theme API (#30454) @ValentinH
|
|
346
|
+
- ​<!-- 11 -->[docs] Improve the migration guide and add examples for transforming to `tss-react` (#30388) @mnajdova
|
|
347
|
+
- ​<!-- 09 -->[docs] Make the reference to the select clearer (#30460) @boazrymland
|
|
348
|
+
- ​<!-- 08 -->[docs] Sync translations with Crowdin (#30385) @l10nbot
|
|
349
|
+
- ​<!-- 06 -->[example] Avoid double rendering in the Remix example (#30366) @mnajdova
|
|
350
|
+
- ​<!-- 05 -->[i18n] improve viVN locale (#30426) @hckhanh
|
|
351
|
+
- ​<!-- 04 -->[l10n] Improve fiFI locale (#30442) @Certificate
|
|
352
|
+
- ​<!-- 02 -->[website] Add new batch of open roles (#30282) @oliviertassinari
|
|
353
|
+
- ​<!-- 01 -->[website] Refactor page context with next router (#30020) @siriwatknp
|
|
354
|
+
|
|
355
|
+
### Core
|
|
356
|
+
|
|
357
|
+
- ​<!-- 13 -->[core] Automatically close issues that are incomplete and inactive (#30459) @oliviertassinari
|
|
358
|
+
- ​<!-- 10 -->[core] Remove contrib tweet (#30455) @oliviertassinari
|
|
359
|
+
|
|
360
|
+
All contributors of this release in alphabetical order: @abhi45, @ahmad-reza619, @alex-dikusar, @alisasanib, @boazrymland, @Certificate, @hckhanh, @l10nbot, @michaldudak, @mnajdova, @oliviertassinari, @siriwatknp, @ValentinH, @ZeeshanTamboli
|
|
2
361
|
|
|
3
362
|
## 5.2.6
|
|
4
363
|
|
|
@@ -199,7 +558,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
|
|
|
199
558
|
|
|
200
559
|
<a href="https://mui.com/components/tables/#unstyled-table"><img width="800" alt="unstyled table" src="https://user-images.githubusercontent.com/4512430/144862194-584356ef-7d9d-462c-a631-186a7e716193.png"></a>
|
|
201
560
|
|
|
202
|
-
You can follow our progress with unstyled components at https://github.com/mui
|
|
561
|
+
You can follow our progress with unstyled components at https://github.com/mui/material-ui/issues/27170.
|
|
203
562
|
|
|
204
563
|
- 🎉 We have added an example of how to use MUI with [Remix](https://remix.run/) (#29952) @mnajdova
|
|
205
564
|
|
|
@@ -1173,8 +1532,8 @@ _Sep 1, 2021_
|
|
|
1173
1532
|
|
|
1174
1533
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
1175
1534
|
|
|
1176
|
-
- 🎉 Renamed packages to `@mui/*` as part of rebranding the company, following the strategy of expanding the library scope beyond Material Design. For more details about it, check the [GitHub discussion](https://github.com/mui
|
|
1177
|
-
- 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui
|
|
1535
|
+
- 🎉 Renamed packages to `@mui/*` as part of rebranding the company, following the strategy of expanding the library scope beyond Material Design. For more details about it, check the [GitHub discussion](https://github.com/mui/material-ui/discussions/27803).
|
|
1536
|
+
- 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/guides/migration-v4/#preset-safe)
|
|
1178
1537
|
- 🧪 Added new `<Mansory>` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj 👏!
|
|
1179
1538
|
|
|
1180
1539
|
### `@mui/material@5.0.0-rc.0`
|
|
@@ -1185,7 +1544,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
1185
1544
|
|
|
1186
1545
|
replace `@material-ui/*` prefix with `@mui/*`:
|
|
1187
1546
|
|
|
1188
|
-
```
|
|
1547
|
+
```sh
|
|
1189
1548
|
@material-ui/system -> @mui/system
|
|
1190
1549
|
@material-ui/styles -> @mui/styles
|
|
1191
1550
|
@material-ui/lab -> @mui/lab
|
|
@@ -1198,7 +1557,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
1198
1557
|
|
|
1199
1558
|
except these 3 packages that are renamed.
|
|
1200
1559
|
|
|
1201
|
-
```
|
|
1560
|
+
```sh
|
|
1202
1561
|
@material-ui/core => @mui/material // represents Material Design components.
|
|
1203
1562
|
@material-ui/icons => @mui/icons-material // represents Material Design icons.
|
|
1204
1563
|
@material-ui/unstyled => @mui/base // fully functional components with minimum styles.
|
|
@@ -1206,7 +1565,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
1206
1565
|
|
|
1207
1566
|
> **Note**: `@mui/base` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
|
|
1208
1567
|
|
|
1209
|
-
We encourage you to use the [codemod](https://github.com/mui
|
|
1568
|
+
We encourage you to use the [codemod](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) for smooth migration.
|
|
1210
1569
|
|
|
1211
1570
|
#### Changes
|
|
1212
1571
|
|
|
@@ -1274,7 +1633,7 @@ _Aug 24, 2021_
|
|
|
1274
1633
|
|
|
1275
1634
|
A big thanks to the 26 contributors who made this release possible. Here are some highlights ✨:
|
|
1276
1635
|
|
|
1277
|
-
- 🐛 Fixed a lot of bugs and regressions to get us closer to the [v5 stable release milestone](https://github.com/mui
|
|
1636
|
+
- 🐛 Fixed a lot of bugs and regressions to get us closer to the [v5 stable release milestone](https://github.com/mui/material-ui/milestone/44)
|
|
1278
1637
|
- 📚 Improved the docs and the migration guide for upgrading to v5
|
|
1279
1638
|
|
|
1280
1639
|
### `@material-ui/core@5.0.0-beta.5`
|
|
@@ -1669,7 +2028,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
1669
2028
|
|
|
1670
2029
|
<a href="https://mui.com/components/switches/#unstyled"><img width="832" alt="switch" src="https://user-images.githubusercontent.com/3165635/125192249-236f8a80-e247-11eb-9df9-17d476379a32.png"></a>
|
|
1671
2030
|
|
|
1672
|
-
You can follow our progress at https://github.com/mui
|
|
2031
|
+
You can follow our progress at https://github.com/mui/material-ui/issues/27170.
|
|
1673
2032
|
|
|
1674
2033
|
- 💄 We have updated the default `info` `success` `warning` color to be more accessible (#26817) @siriwatknp.
|
|
1675
2034
|
You can find the new [default values](https://mui.com/customization/palette/#default-values) in the documentation.
|
|
@@ -1775,9 +2134,9 @@ _Jul 01, 2021_
|
|
|
1775
2134
|
|
|
1776
2135
|
A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
1777
2136
|
|
|
1778
|
-
- 🎉 This is the first beta release of v5! A huge thanks to everyone who helped to make this happen! We're targeting the 1st of September for a stable release, and will use the next two months to polish v5, and ease the migration from v4. You can follow [the v5 stable milestone](https://github.com/mui
|
|
2137
|
+
- 🎉 This is the first beta release of v5! A huge thanks to everyone who helped to make this happen! We're targeting the 1st of September for a stable release, and will use the next two months to polish v5, and ease the migration from v4. You can follow [the v5 stable milestone](https://github.com/mui/material-ui/milestone/44) for more details. We now encourage any new projects to start on v5.
|
|
1779
2138
|
- 🚀 We have completed all the planned breaking changes.
|
|
1780
|
-
- ⚒️ We added the codemod CLI to simplify migration to v5 (#26941) @eps1lon. You can find it at [`@material-ui/codemod`](https://github.com/mui
|
|
2139
|
+
- ⚒️ We added the codemod CLI to simplify migration to v5 (#26941) @eps1lon. You can find it at [`@material-ui/codemod`](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod).
|
|
1781
2140
|
- 🐛 The majority of other changes in this release were bug fixes, test utilities and docs.
|
|
1782
2141
|
|
|
1783
2142
|
### `@material-ui/core@5.0.0-beta.0`
|
|
@@ -1786,7 +2145,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
1786
2145
|
|
|
1787
2146
|
- [Tabs] Remove unnecessary wrapper from Tab (#26926) @siriwatknp
|
|
1788
2147
|
|
|
1789
|
-
`span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui
|
|
2148
|
+
`span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui/material-ui/pull/26666).
|
|
1790
2149
|
|
|
1791
2150
|
```diff
|
|
1792
2151
|
<button class="MuiTab-root">
|
|
@@ -1799,7 +2158,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
1799
2158
|
|
|
1800
2159
|
- [BottomNavigation] Remove wrapper from BottomNavigationAction (#26923) @siriwatknp
|
|
1801
2160
|
|
|
1802
|
-
`span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui
|
|
2161
|
+
`span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui/material-ui/pull/26666).
|
|
1803
2162
|
|
|
1804
2163
|
```diff
|
|
1805
2164
|
<button class="MuiBottomNavigationAction-root">
|
|
@@ -1911,7 +2270,7 @@ _Jun 23, 2021_
|
|
|
1911
2270
|
|
|
1912
2271
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
1913
2272
|
|
|
1914
|
-
- 🚀 We have only 2 left in the [breaking changes](https://github.com/mui
|
|
2273
|
+
- 🚀 We have only 2 left in the [breaking changes](https://github.com/mui/material-ui/issues/20012). The plan to release 5.0.0-beta.0 is on July 1st and will start to promote its usage over v4.
|
|
1915
2274
|
- 🎨 We have updated `Slider` to match current [Material Design guidelines](https://material.io/components/sliders).
|
|
1916
2275
|
|
|
1917
2276
|
<a href="https://mui.com/components/slider/#continuous-sliders"><img width="247" alt="" src="https://user-images.githubusercontent.com/3165635/121884800-a8808600-cd13-11eb-8cdf-e25de8f1ba73.png" style="margin: auto"></a>
|
|
@@ -1953,7 +2312,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
1953
2312
|
|
|
1954
2313
|
- ​<!-- 09 -->[theme] Improve default breakpoints (#26746) @siriwatknp
|
|
1955
2314
|
|
|
1956
|
-
The default breakpoints were changed to better match the common use cases. They also better match the Material Design guidelines. [Read more about the change](https://github.com/mui
|
|
2315
|
+
The default breakpoints were changed to better match the common use cases. They also better match the Material Design guidelines. [Read more about the change](https://github.com/mui/material-ui/issues/21902).
|
|
1957
2316
|
|
|
1958
2317
|
```diff
|
|
1959
2318
|
{
|
|
@@ -2007,7 +2366,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
2007
2366
|
|
|
2008
2367
|
- ​<!-- 14 -->[IconButton] Remove label span (#26801) @siriwatknp
|
|
2009
2368
|
|
|
2010
|
-
`span` element that wraps children has been removed. `label` classKey is also removed. More details about [this change](https://github.com/mui
|
|
2369
|
+
`span` element that wraps children has been removed. `label` classKey is also removed. More details about [this change](https://github.com/mui/material-ui/pull/26666).
|
|
2011
2370
|
|
|
2012
2371
|
```diff
|
|
2013
2372
|
<button class="MuiIconButton-root">
|
|
@@ -2128,7 +2487,7 @@ A big thanks to the 11 contributors who made this release possible. Here are som
|
|
|
2128
2487
|
|
|
2129
2488
|
- ⚒️ We've introduced a new `useTheme` and `useThemeProps` hooks in the `@material-ui/system` package.
|
|
2130
2489
|
We believe that this package can be used as a standalone styling solution for building custom design systems (#26649) @mnajdova.
|
|
2131
|
-
- 💥 Made progress with the breaking changes. We have done 105 of the 109 changes [planned](https://github.com/mui
|
|
2490
|
+
- 💥 Made progress with the breaking changes. We have done 105 of the 109 changes [planned](https://github.com/mui/material-ui/issues/20012). We are getting closer to our goal of releasing 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui/material-ui/milestone/35) for more details.
|
|
2132
2491
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
2133
2492
|
|
|
2134
2493
|
### `@material-ui/core@5.0.0-alpha.37`
|
|
@@ -2340,7 +2699,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
2340
2699
|
|
|
2341
2700
|
- 👩🎤 We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova.
|
|
2342
2701
|
- 📦 Save [10 kB gzipped](https://bundlephobia.com/package/@material-ui/core@5.0.0-alpha.34) by removing the dependency on `@material-ui/styles` (JSS) from the core and the lab (#26377, #26382, #26376) @mnajdova.
|
|
2343
|
-
- ⚒️ Add many new [codemods](https://github.com/mui
|
|
2702
|
+
- ⚒️ Add many new [codemods](https://github.com/mui/material-ui/blob/HEAD/packages/mui-codemod/README.md) to automate the migration from v4 to v5 (#24867) @mbrookes.
|
|
2344
2703
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
2345
2704
|
|
|
2346
2705
|
### `@material-ui/core@5.0.0-alpha.35`
|
|
@@ -2501,7 +2860,7 @@ _May 18, 2021_
|
|
|
2501
2860
|
|
|
2502
2861
|
A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
|
|
2503
2862
|
|
|
2504
|
-
- 💥 Make progress with the breaking changes. We have done 89 of the 109 changes [planned](https://github.com/mui
|
|
2863
|
+
- 💥 Make progress with the breaking changes. We have done 89 of the 109 changes [planned](https://github.com/mui/material-ui/issues/20012). We will release 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui/material-ui/milestone/35) for more details.
|
|
2505
2864
|
- 🚀 Make progress with components migration to emotion. We have done 153 of the 168 components (almost there!)
|
|
2506
2865
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
2507
2866
|
|
|
@@ -2571,6 +2930,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
2571
2930
|
```
|
|
2572
2931
|
|
|
2573
2932
|
- ​<!-- 63 -->[Autocomplete] Rename getOptionSelected to isOptionEqualToValue (#26173) @m4theushw
|
|
2933
|
+
|
|
2574
2934
|
```diff
|
|
2575
2935
|
<Autocomplete
|
|
2576
2936
|
- getOptionSelected={(option, value) => option.title === value.title}
|
|
@@ -2664,7 +3024,7 @@ _May 9, 2021_
|
|
|
2664
3024
|
|
|
2665
3025
|
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
2666
3026
|
|
|
2667
|
-
- 💥 Make progress with the breaking changes. We have done 81 of the 109 changes [planned](https://github.com/mui
|
|
3027
|
+
- 💥 Make progress with the breaking changes. We have done 81 of the 109 changes [planned](https://github.com/mui/material-ui/issues/20012). We will release 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui/material-ui/milestone/35) for more details.
|
|
2668
3028
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
2669
3029
|
|
|
2670
3030
|
### `@material-ui/core@5.0.0-alpha.33`
|
|
@@ -3169,7 +3529,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
3169
3529
|
#### Breaking changes
|
|
3170
3530
|
|
|
3171
3531
|
- [FormControl] Change default variant from standard to outlined (#24895) @petyosi
|
|
3172
|
-
Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui
|
|
3532
|
+
Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
|
|
3173
3533
|
|
|
3174
3534
|
```diff
|
|
3175
3535
|
-<FormControl value="Standard" />
|
|
@@ -3181,7 +3541,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
3181
3541
|
- [Menu] The `selectedMenu` variant will not vertically align the selected item with the anchor anymore. (#25691) @m4theushw
|
|
3182
3542
|
- [Popover] Remove the `getContentAnchorEl` prop to simplify the positioning logic. (#25691) @m4theushw
|
|
3183
3543
|
- [Select] Change default variant from standard to outlined (#24895) @petyosi
|
|
3184
|
-
Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui
|
|
3544
|
+
Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
|
|
3185
3545
|
|
|
3186
3546
|
```diff
|
|
3187
3547
|
-<Select value="Standard" />
|
|
@@ -3385,7 +3745,7 @@ A big thanks to the 26 contributors who made this release possible. Here are som
|
|
|
3385
3745
|
```
|
|
3386
3746
|
|
|
3387
3747
|
This feature was made possible by the recent migration to emotion.
|
|
3388
|
-
You can [find the other issues](https://github.com/mui
|
|
3748
|
+
You can [find the other issues](https://github.com/mui/material-ui/issues?q=is%3Aopen+is%3Aissue+label%3A%22component%3A+Grid%22) unlocked by the migration to emotion on the Grid component that are left to be solved.
|
|
3389
3749
|
|
|
3390
3750
|
- 👩🎤 Convert 3 components to emotion (#25541, #25516, #25521) @rajzik, @praveenkumar-kalidass, @siriwatknp.
|
|
3391
3751
|
- 📚 Migrate 8 component demo pages to the `sx`, `Stack`, and `styled` API @vicasas.
|
|
@@ -4144,7 +4504,7 @@ All contributors of this release in alphabetical order: @artola, @CyanoFresh, @d
|
|
|
4144
4504
|
|
|
4145
4505
|
## 5.0.0-alpha.23
|
|
4146
4506
|
|
|
4147
|
-
|
|
4507
|
+
_Jan 14, 2021_
|
|
4148
4508
|
|
|
4149
4509
|
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
4150
4510
|
|
|
@@ -4259,7 +4619,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
4259
4619
|
|
|
4260
4620
|
## 5.0.0-alpha.22
|
|
4261
4621
|
|
|
4262
|
-
|
|
4622
|
+
_Jan 4, 2021_
|
|
4263
4623
|
|
|
4264
4624
|
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
4265
4625
|
|
|
@@ -4311,7 +4671,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
4311
4671
|
|
|
4312
4672
|
## 5.0.0-alpha.21
|
|
4313
4673
|
|
|
4314
|
-
|
|
4674
|
+
_Dec 30, 2020_
|
|
4315
4675
|
|
|
4316
4676
|
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
4317
4677
|
|
|
@@ -4384,7 +4744,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
4384
4744
|
|
|
4385
4745
|
## 5.0.0-alpha.20
|
|
4386
4746
|
|
|
4387
|
-
|
|
4747
|
+
_Dec 21, 2020_
|
|
4388
4748
|
|
|
4389
4749
|
A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
4390
4750
|
|
|
@@ -4462,7 +4822,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
4462
4822
|
|
|
4463
4823
|
## 5.0.0-alpha.19
|
|
4464
4824
|
|
|
4465
|
-
|
|
4825
|
+
_Dec 13, 2020_
|
|
4466
4826
|
|
|
4467
4827
|
A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
|
|
4468
4828
|
|
|
@@ -4590,7 +4950,7 @@ A big thanks to the 24 contributors who made this release possible. Here are som
|
|
|
4590
4950
|
|
|
4591
4951
|
## 5.0.0-alpha.18
|
|
4592
4952
|
|
|
4593
|
-
|
|
4953
|
+
_Dec 3, 2020_
|
|
4594
4954
|
|
|
4595
4955
|
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
4596
4956
|
|
|
@@ -4603,7 +4963,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
4603
4963
|
|
|
4604
4964
|
- [Box] Remove deprecated props (#23716) @mnajdova
|
|
4605
4965
|
All props are now available under the `sx` prop. A deprecation will be landing in v4.
|
|
4606
|
-
Thanks to @mbrookes developers can automate the migration with a [codemod](https://github.com/mui
|
|
4966
|
+
Thanks to @mbrookes developers can automate the migration with a [codemod](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#box-sx-prop).
|
|
4607
4967
|
|
|
4608
4968
|
```diff
|
|
4609
4969
|
-<Box p={2} bgColor="primary.main">
|
|
@@ -4682,7 +5042,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
4682
5042
|
|
|
4683
5043
|
## 5.0.0-alpha.17
|
|
4684
5044
|
|
|
4685
|
-
|
|
5045
|
+
_Nov 23, 2020_
|
|
4686
5046
|
|
|
4687
5047
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
4688
5048
|
|
|
@@ -4849,14 +5209,14 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
4849
5209
|
|
|
4850
5210
|
## 5.0.0-alpha.16
|
|
4851
5211
|
|
|
4852
|
-
|
|
5212
|
+
_Nov 14, 2020_
|
|
4853
5213
|
|
|
4854
5214
|
A big thanks to the 34 contributors who made this release possible. Here are some highlights ✨:
|
|
4855
5215
|
|
|
4856
5216
|
- 📅 Migrate the date picker to the lab (#22692) @dmtrKovalenko.
|
|
4857
|
-
We have integrated the components with the code infrastructure. Next we will migrate all the GitHub issues from [material-ui-pickers](https://github.com/mui
|
|
5217
|
+
We have integrated the components with the code infrastructure. Next we will migrate all the GitHub issues from [material-ui-pickers](https://github.com/mui/material-ui-pickers) and archive the repository. This migration will help provide first-class support for the date picker components. The component will stay in the lab as long as necessary to reach the high quality bar we have for core components. You can find the [new documentation here](https://mui.com/components/pickers/).
|
|
4858
5218
|
|
|
4859
|
-
While the source code is currently hosted in the [main repository](https://github.com/mui
|
|
5219
|
+
While the source code is currently hosted in the [main repository](https://github.com/mui/material-ui), we might move it to the [x repository](https://github.com/mui/mui-x) in the future, depending on what is easier for the commercial date range picker. The date picker will stay open source no matter what.
|
|
4860
5220
|
|
|
4861
5221
|
- 📚 Revamp the documentation for [the system](https://mui.com/system/basics/). The System contains CSS utilities. The documentation now promotes the use of the `sx` prop. It's ideal for adding one-off styles, e.g. padding, but when pushed to its limits, it can be used to implement quickly a complete page.
|
|
4862
5222
|
- 👩🎨 Upgrade emotion to v11 (#23007) @mnajdova.
|
|
@@ -4867,7 +5227,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
|
|
|
4867
5227
|
#### Breaking changes
|
|
4868
5228
|
|
|
4869
5229
|
- [TextField] Change default variant from standard to outlined (#23503) @mbrookes
|
|
4870
|
-
Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui
|
|
5230
|
+
Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
|
|
4871
5231
|
|
|
4872
5232
|
```diff
|
|
4873
5233
|
-<TextField value="Standard" />
|
|
@@ -4953,7 +5313,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
|
|
|
4953
5313
|
|
|
4954
5314
|
## 5.0.0-alpha.15
|
|
4955
5315
|
|
|
4956
|
-
|
|
5316
|
+
_Nov 4, 2020_
|
|
4957
5317
|
|
|
4958
5318
|
A big thanks to the 20 contributors who made this release possible. Here are some highlights ✨:
|
|
4959
5319
|
|
|
@@ -4964,11 +5324,11 @@ A big thanks to the 20 contributors who made this release possible. Here are som
|
|
|
4964
5324
|
|
|
4965
5325
|
**Why an unstyled package?**
|
|
4966
5326
|
|
|
4967
|
-
While engineering teams are successfully building custom design systems by wrapping Material-UI, we [occasionally hear](https://github.com/mui
|
|
5327
|
+
While engineering teams are successfully building custom design systems by wrapping Material-UI, we [occasionally hear](https://github.com/mui/material-ui/issues/6218) that Material Design or our styling solution are something they don't need. Some teams prefer SASS, others prefer to customize the components starting from a pristine state. What all these teams have in common is that they value the features coming from the components, such as accessibility.
|
|
4968
5328
|
|
|
4969
5329
|
The unstyled package goes one step down in the abstraction layer, providing more flexibility. Angular Material introduced this approach two years ago. Today their unstyled components account for [25% of the usage](https://npm-stat.com/charts.html?package=%40angular%2Fmaterial&package=%40angular%2Fcdk&from=2017-11-03&to=2020-11-03).
|
|
4970
5330
|
|
|
4971
|
-
Another reason for introducing this package is to prepare the groundwork for a [second theme](https://github.com/mui
|
|
5331
|
+
Another reason for introducing this package is to prepare the groundwork for a [second theme](https://github.com/mui/material-ui/issues/22485) (not Material Design based).
|
|
4972
5332
|
|
|
4973
5333
|
A note on the terminology: "unstyled" means that the components have the same API as the "styled" components but come without CSS. Material-UI also contains "headless" components that exposes a hook API, e.g. [useAutocomplete](https://mui.com/components/autocomplete/#useautocomplete) or [usePagination](https://mui.com/components/pagination/#usepagination).
|
|
4974
5334
|
|
|
@@ -5065,7 +5425,7 @@ A big thanks to the 20 contributors who made this release possible. Here are som
|
|
|
5065
5425
|
|
|
5066
5426
|
## 5.0.0-alpha.14
|
|
5067
5427
|
|
|
5068
|
-
|
|
5428
|
+
_Oct 23, 2020_
|
|
5069
5429
|
|
|
5070
5430
|
A big thanks to the 23 contributors who made this release possible.
|
|
5071
5431
|
Here are some highlights ✨:
|
|
@@ -5116,12 +5476,14 @@ Here are some highlights ✨:
|
|
|
5116
5476
|
You can read [their migration guide](https://popper.js.org/docs/v2/migration-guide/) or the following summary:
|
|
5117
5477
|
|
|
5118
5478
|
- The CSS prefixes have changed:
|
|
5479
|
+
|
|
5119
5480
|
```diff
|
|
5120
5481
|
popper: {
|
|
5121
5482
|
zIndex: 1,
|
|
5122
5483
|
- '&[x-placement*="bottom"] $arrow': {
|
|
5123
5484
|
+ '&[data-popper-placement*="bottom"] $arrow': {
|
|
5124
5485
|
```
|
|
5486
|
+
|
|
5125
5487
|
- Method names have changed.
|
|
5126
5488
|
|
|
5127
5489
|
```diff
|
|
@@ -5236,7 +5598,7 @@ Here are some highlights ✨:
|
|
|
5236
5598
|
|
|
5237
5599
|
## 5.0.0-alpha.13
|
|
5238
5600
|
|
|
5239
|
-
|
|
5601
|
+
_Oct 17, 2020_
|
|
5240
5602
|
|
|
5241
5603
|
A big thanks to the 25 contributors who made this release possible.
|
|
5242
5604
|
Here are some highlights ✨:
|
|
@@ -5362,7 +5724,7 @@ Here are some highlights ✨:
|
|
|
5362
5724
|
|
|
5363
5725
|
## 5.0.0-alpha.12
|
|
5364
5726
|
|
|
5365
|
-
|
|
5727
|
+
_Oct 11, 2020_
|
|
5366
5728
|
|
|
5367
5729
|
A big thanks to the 45 contributors who made this release possible.
|
|
5368
5730
|
Here are some highlights ✨:
|
|
@@ -5586,7 +5948,7 @@ Here are some highlights ✨:
|
|
|
5586
5948
|
|
|
5587
5949
|
## 5.0.0-alpha.11
|
|
5588
5950
|
|
|
5589
|
-
|
|
5951
|
+
_Sep 26, 2020_
|
|
5590
5952
|
|
|
5591
5953
|
A big thanks to the 29 contributors who made this release possible.
|
|
5592
5954
|
Here are some highlights ✨:
|
|
@@ -5602,7 +5964,7 @@ Here are some highlights ✨:
|
|
|
5602
5964
|
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/)).
|
|
5603
5965
|
|
|
5604
5966
|
This change has been in our roadmap for more than a year.
|
|
5605
|
-
We announced it in the [v4 release blog post](https://
|
|
5967
|
+
We announced it in the [v4 release blog post](https://mui.com/blog/material-ui-v4-is-out/) as a direction v5 would take.
|
|
5606
5968
|
|
|
5607
5969
|
- 🛠 A first iteration on the unstyled components.
|
|
5608
5970
|
|
|
@@ -5820,7 +6182,7 @@ More documentation are coming.
|
|
|
5820
6182
|
|
|
5821
6183
|
## 5.0.0-alpha.10
|
|
5822
6184
|
|
|
5823
|
-
|
|
6185
|
+
_Sep 15, 2020_
|
|
5824
6186
|
|
|
5825
6187
|
A big thanks to the 16 contributors who made this release possible.
|
|
5826
6188
|
Here are some highlights ✨:
|
|
@@ -5885,13 +6247,13 @@ Here are some highlights ✨:
|
|
|
5885
6247
|
|
|
5886
6248
|
Before:
|
|
5887
6249
|
|
|
5888
|
-
```
|
|
6250
|
+
```sh
|
|
5889
6251
|
theme.spacing(2) => 16
|
|
5890
6252
|
```
|
|
5891
6253
|
|
|
5892
6254
|
After:
|
|
5893
6255
|
|
|
5894
|
-
```
|
|
6256
|
+
```sh
|
|
5895
6257
|
theme.spacing(2) => '16px'
|
|
5896
6258
|
```
|
|
5897
6259
|
|
|
@@ -5950,7 +6312,7 @@ Here are some highlights ✨:
|
|
|
5950
6312
|
|
|
5951
6313
|
## 5.0.0-alpha.9
|
|
5952
6314
|
|
|
5953
|
-
|
|
6315
|
+
_Sep 6, 2020_
|
|
5954
6316
|
|
|
5955
6317
|
A big thanks to the 14 contributors who made this release possible.
|
|
5956
6318
|
Here are some highlights ✨:
|
|
@@ -6003,7 +6365,7 @@ Here are some highlights ✨:
|
|
|
6003
6365
|
|
|
6004
6366
|
## 5.0.0-alpha.8
|
|
6005
6367
|
|
|
6006
|
-
|
|
6368
|
+
_Aug 31, 2020_
|
|
6007
6369
|
|
|
6008
6370
|
A big thanks to the 19 contributors who made this release possible.
|
|
6009
6371
|
Here are some highlights ✨:
|
|
@@ -6179,7 +6541,7 @@ const theme = createMuiTheme({
|
|
|
6179
6541
|
|
|
6180
6542
|
## 5.0.0-alpha.7
|
|
6181
6543
|
|
|
6182
|
-
|
|
6544
|
+
_Aug 22, 2020_
|
|
6183
6545
|
|
|
6184
6546
|
A big thanks to the 22 contributors who made this release possible.
|
|
6185
6547
|
Here are some highlights ✨:
|
|
@@ -6309,7 +6671,7 @@ Here are some highlights ✨:
|
|
|
6309
6671
|
|
|
6310
6672
|
## 5.0.0-alpha.6
|
|
6311
6673
|
|
|
6312
|
-
|
|
6674
|
+
_Aug 13, 2020_
|
|
6313
6675
|
|
|
6314
6676
|
A big thanks to the 26 contributors who made this release possible.
|
|
6315
6677
|
Here are some highlights ✨:
|
|
@@ -6352,7 +6714,7 @@ Here are some highlights ✨:
|
|
|
6352
6714
|
|
|
6353
6715
|
### `@material-ui/core@v5.0.0-alpha.6`
|
|
6354
6716
|
|
|
6355
|
-
|
|
6717
|
+
#### Breaking changes
|
|
6356
6718
|
|
|
6357
6719
|
- [Avatar] Rename variant circle -> circular for consistency (#22015) @kodai3
|
|
6358
6720
|
Rename `circle` to `circular` for consistency. The possible values should be adjectives, not nouns:
|
|
@@ -6511,7 +6873,7 @@ Here are some highlights ✨:
|
|
|
6511
6873
|
+},
|
|
6512
6874
|
```
|
|
6513
6875
|
|
|
6514
|
-
|
|
6876
|
+
#### Changes
|
|
6515
6877
|
|
|
6516
6878
|
- [Avatar] Custom variant (#22139) @mnajdova
|
|
6517
6879
|
- [Badge] Add missing class key (#22095) @kodai3
|
|
@@ -6531,7 +6893,7 @@ Here are some highlights ✨:
|
|
|
6531
6893
|
|
|
6532
6894
|
### `@material-ui/lab@v5.0.0-alpha.6`
|
|
6533
6895
|
|
|
6534
|
-
|
|
6896
|
+
#### Breaking changes
|
|
6535
6897
|
|
|
6536
6898
|
- [Skeleton] Rename variant circle -> circular and rect -> rectangular for consistency (#22053) @kodai3
|
|
6537
6899
|
Rename `circle` to `circular` and `rect` to `rectangular` for consistency. The possible values should be adjectives, not nouns:
|
|
@@ -6543,7 +6905,7 @@ Here are some highlights ✨:
|
|
|
6543
6905
|
+<Skeleton variant="rectangular">
|
|
6544
6906
|
```
|
|
6545
6907
|
|
|
6546
|
-
|
|
6908
|
+
#### Changes
|
|
6547
6909
|
|
|
6548
6910
|
- [Autocomplete] Add support for "{label: string}" data type as a default for "options" (#21992) @DanailH
|
|
6549
6911
|
- [TreeView] Add disabled prop (#20133) @netochaves
|
|
@@ -6595,7 +6957,7 @@ Here are some highlights ✨:
|
|
|
6595
6957
|
|
|
6596
6958
|
## 5.0.0-alpha.5
|
|
6597
6959
|
|
|
6598
|
-
|
|
6960
|
+
_July 28, 2020_
|
|
6599
6961
|
|
|
6600
6962
|
A big thanks to the 18 contributors who made this release possible.
|
|
6601
6963
|
|
|
@@ -6666,7 +7028,7 @@ A big thanks to the 18 contributors who made this release possible.
|
|
|
6666
7028
|
|
|
6667
7029
|
## 5.0.0-alpha.4
|
|
6668
7030
|
|
|
6669
|
-
|
|
7031
|
+
_July 19, 2020_
|
|
6670
7032
|
|
|
6671
7033
|
A big thanks to the 11 contributors who made this release possible.
|
|
6672
7034
|
|
|
@@ -6708,7 +7070,7 @@ A big thanks to the 11 contributors who made this release possible.
|
|
|
6708
7070
|
|
|
6709
7071
|
## 5.0.0-alpha.3
|
|
6710
7072
|
|
|
6711
|
-
|
|
7073
|
+
_July 12, 2020_
|
|
6712
7074
|
|
|
6713
7075
|
A big thanks to the 14 contributors who made this release possible.
|
|
6714
7076
|
|
|
@@ -6757,7 +7119,7 @@ A big thanks to the 14 contributors who made this release possible.
|
|
|
6757
7119
|
|
|
6758
7120
|
## 5.0.0-alpha.2
|
|
6759
7121
|
|
|
6760
|
-
|
|
7122
|
+
_July 4, 2020_
|
|
6761
7123
|
|
|
6762
7124
|
A big thanks to the 16 contributors who made this release possible.
|
|
6763
7125
|
|
|
@@ -6819,7 +7181,7 @@ A big thanks to the 16 contributors who made this release possible.
|
|
|
6819
7181
|
|
|
6820
7182
|
## 5.0.0-alpha.1
|
|
6821
7183
|
|
|
6822
|
-
|
|
7184
|
+
_June 27, 2020_
|
|
6823
7185
|
|
|
6824
7186
|
A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
|
|
6825
7187
|
|
|
@@ -6935,6 +7297,7 @@ A big thanks to the 33 contributors who made this release possible. Here are som
|
|
|
6935
7297
|
```
|
|
6936
7298
|
|
|
6937
7299
|
- [Accordion] typescript: The `event` in `onChange` is no longer typed as a `React.ChangeEvent` but `React.SyntheticEvent`.
|
|
7300
|
+
|
|
6938
7301
|
```diff
|
|
6939
7302
|
-<Accordion onChange={(event: React.ChangeEvent<{}>, expanded: boolean) => {}} />
|
|
6940
7303
|
+<Accordion onChange={(event: React.SyntheticEvent, expanded: boolean) => {}} />
|
|
@@ -7021,4 +7384,4 @@ A big thanks to the 33 contributors who made this release possible. Here are som
|
|
|
7021
7384
|
|
|
7022
7385
|
## Older versions
|
|
7023
7386
|
|
|
7024
|
-
Changes before 5.x are listed in our [changelog for older versions](https://github.com/mui
|
|
7387
|
+
Changes before 5.x are listed in our [changelog for older versions](https://github.com/mui/material-ui/blob/HEAD/CHANGELOG.old.md).
|