UNPKG

364 kBMarkdownView Raw
1# [Versions](https://mui.com/versions/)
2
3## 5.3.1
4
5<!-- generated comparing v5.3.0..master -->
6
7_Jan 24, 2022_
8
9A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
10
11- 🛠 @mnajdova added interoperability guide for using Tailwind CSS (#30700)
12- A meaningful number of 🐛 bug fixes and 📚 documentation improvements.
13
14### `@mui/icons-material@5.3.1`
15
16- &#8203;<!-- 04 -->[icons] Fix naming typos (#30512) @MrHBS
17- &#8203;<!-- 03 -->[icons] Makes material-icons work with Joy (#30681) @siriwatknp
18
19### `@mui/base@5.0.0-alpha.66`
20
21- &#8203;<!-- 02 -->[SliderUnstyled] Improve typings on some internal utils (#30614) @mnajdova
22
23### Core
24
25- &#8203;<!-- 24 -->[core] Batch small changes (#30690) @oliviertassinari
26- &#8203;<!-- 23 -->[core] Add new structure to ignore list crowdin (#30608) @siriwatknp
27- &#8203;<!-- 22 -->[core] Correct version in package.json (#30677) @michaldudak
28- &#8203;<!-- 01 -->[test] Fix buildApiUtils tests on Windows (#30698) @michaldudak
29
30### Docs
31
32- &#8203;<!-- 26 -->[blog] Enable blog index (#30724) @siriwatknp
33- &#8203;<!-- 25 -->[blog] Introducing the Row Grouping feature (#30598) @alexfauquette
34- &#8203;<!-- 21 -->[docs] Fix SEO crawl errors (#30733) @oliviertassinari
35- &#8203;<!-- 20 -->[docs] Update migration-v4.md (#30721) @ddecrulle
36- &#8203;<!-- 19 -->[docs] Fix migration issues detected by `ahrefs` (#30751) @siriwatknp
37- &#8203;<!-- 18 -->[docs] Add interoprability guide for using Tailwind CSS (#30700) @mnajdova
38- &#8203;<!-- 17 -->[docs] Fix typo in containedSizeMedium class (#30723) @aaneitchik
39- &#8203;<!-- 16 -->[docs] Hotfix the wrong URL in X marketing page (#30729) @siriwatknp
40- &#8203;<!-- 15 -->[docs] Post migration preparation fix (#30716) @siriwatknp
41- &#8203;<!-- 14 -->[docs] Update remix example to restore from error pages (#30592) @mnajdova
42- &#8203;<!-- 13 -->[docs] Use new URLs when enable_redirects is true (#30704) @siriwatknp
43- &#8203;<!-- 12 -->[docs] Add a missing bracket in the migration-v4 guide (#30616) @chaosmirage
44- &#8203;<!-- 11 -->[docs] Add Checkbox color prop change (#30697) @aaneitchik
45- &#8203;<!-- 10 -->[docs] Fix migration to have singular urls (#30695) @siriwatknp
46- &#8203;<!-- 09 -->[docs] Update UXPin link to new landing page (#30691) @Evomatic
47- &#8203;<!-- 08 -->[docs] Close user menu on click in the responsive app bar demo (#30664) @NoahYarian
48- &#8203;<!-- 07 -->[docs] Clear the difference between UI and React components (#29930) @oliviertassinari
49- &#8203;<!-- 06 -->[docs] Make Autocomplete docs gender neutral (#30679) @exequielbc
50- &#8203;<!-- 05 -->[docs] Update doc structure for X components (#30684) @siriwatknp
51
52All contributors of this release in alphabetical order: @aaneitchik, @alexfauquette, @chaosmirage, @ddecrulle, @Evomatic, @exequielbc, @michaldudak, @mnajdova, @MrHBS, @NoahYarian, @oliviertassinari, @siriwatknp
53
54## 5.3.0
55
56<!-- generated comparing v5.2.8..master -->
57
58_Jan 17, 2022_
59
60A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
61
62- 🛠 @siriwatknp added support for callbacks in styleOverrides (#30524)
63- 🧩 @ZeeshanTamboli and @VicHofs improved customization of components (#30515, #30212)
64- 🛠 @hbjORbj fixed the use of ResizeObserver in Masonry component (#29896)
65- 📄 @danilo-leal and @siriwatknp created our own blog home page (#30121)
66
67### `@mui/material@5.3.0`
68
69- [Autocomplete] Add ability to pass props to `Paper` component (#30515) @ZeeshanTamboli
70- [Select] Add defaultOpen prop (#30212) @VicHofs
71
72### `@mui/system@5.3.0`
73
74- [system][box, grid, typography] `textTransform` prop should work directly on component (#30437) @hbjORbj
75- [system] Support callback value in `styleOverrides` slot (#30524) @siriwatknp
76
77### `@mui/lab@5.0.0-alpha.65`
78
79- [Masonry] Observe every masonry child to trigger computation when needed (#29896) @hbjORbj
80- [MobileDatePicker] Fix calling onOpen when readOnly is true (#30561) @alisasanib
81
82### `@mui/codemod@5.3.0`
83
84- [codemod] Bump `jscodeshift` to remove `colors` dependency (#30578) @siriwatknp
85
86### `@mui/styled-engine-sc@5.3.0`
87
88- [styled-engine-sc] Add the withConfig API to enable using the babel plugin for styled-comonents (#30589) @mnajdova
89
90### `@mui/joy@5.0.0-alpha.11`
91
92- [Joy] Add `SvgIcon` component (#30570) @hbjORbj
93
94### `@mui/base@5.0.0-alpha.65`
95
96- [SliderUnstyled] Add useSlider hook and polish (#30094) @mnajdova
97
98### Docs
99
100- [docs] End code block in test/README.md (#30531) @yaboi
101- [docs] Remove redundant grouping in /components/radio-buttons/ (#30065) @eps1lon
102- [docs] Update migration scripts and e2e tests (#30583) @siriwatknp
103- [docs] Fix migration guides for versions older than v4 (#30595) @kkirsche
104- [docs] Inform about specific files for DataGrid locales (#30411) @alexfauquette
105- [docs] jss-to-tss migration advise to drop clsx in favor of cx (#30527) @garronej
106- [docs] Fix integration with MUI X (#30593) @oliviertassinari
107- [docs] Adding peer dependencies explanation on @mui/lab README.md (#30532) @glaucoheitor
108- [docs] Add missing quote in migration docs (#30587) @Atralbus
109- [docs] Update link to Doit sponsor (#30586) @oliviertassinari
110- [docs] Add products identifier and drawer (#30283) @siriwatknp
111- [website] Fix code button with installation command (#30622) @danilo-leal
112- [website] Add a Blog index page (#30121) @danilo-leal
113- [website] Migrate Twitter from @MaterialUI to @MUI_hq @oliviertassinari
114- [website] Add Andrii to the About Us page (#30581) @cherniavskii
115
116### Core
117
118- [core] Revert changes to peer dependencies (#30662) @oliviertassinari
119- [core] Renovate should not try to update node (#30659) @oliviertassinari
120- [core] Remove dead files (#30663) @oliviertassinari
121- [core] Fix outdated TypeScript template (#30596) @oliviertassinari
122- [core] Remove extra `</p>` from header of README.md (#30530) @yaboi
123- [core] Fix `docs:api` script for Windows OS (#30533) @ZeeshanTamboli
124
125All contributors of this release in alphabetical order: @alexfauquette, @alisasanib, @Atralbus, @cherniavskii, @danilo-leal, @eps1lon, @garronej, @glaucoheitor, @hbjORbj, @kkirsche, @mnajdova, @oliviertassinari, @siriwatknp, @VicHofs, @yaboi, @ZeeshanTamboli
126
127## 5.2.8
128
129<!-- generated comparing v5.2.7..master -->
130
131_Jan 10, 2022_
132
133A big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
134
135- A meaningful number of 🐛 bug fixes and 📚 documentation improvements.
136
137### `@mui/material@5.2.8`
138
139- &#8203;<!-- 05 -->[TextField][inputlabel] Remove `pointer-events: none` property (#30493) @hbjORbj
140- &#8203;<!-- 02 -->[Slider] Add `input` slot to components and componentsProps (#30362) @alexandre-lelain
141
142### `@mui/joy@5.0.0-alpha.10`
143
144- &#8203;<!-- 04 -->[Joy] Add `Typography` component (#30489) @siriwatknp
145- &#8203;<!-- 03 -->[Joy] Add functional `Switch` component (#30487) @siriwatknp
146
147### Docs
148
149- &#8203;<!-- 18 -->[docs] Update markdown parser to remove backticks from description (#30495) @aefox
150- &#8203;<!-- 17 -->[docs] Fix the crash when applying custom colors (#30563) @siriwatknp
151- &#8203;<!-- 16 -->[docs] Location change of Sebastian (#30528) @eps1lon
152- &#8203;<!-- 15 -->[docs] Lint markdown in the CI (#30395) @oliviertassinari
153- &#8203;<!-- 14 -->[docs] Fix `componentsProps` API docs and PropTypes (#30502) @ZeeshanTamboli
154- &#8203;<!-- 13 -->[docs] Codemod doc for overriding styles using tss (#30499) @garronej
155- &#8203;<!-- 12 -->[docs] fix edge case when replacing data-grid url for migration (#30505) @siriwatknp
156- &#8203;<!-- 11 -->[docs] fix replace url for migration (#30503) @siriwatknp
157- &#8203;<!-- 10 -->[docs] Prepare scripts for migrating to new structure (#30386) @siriwatknp
158- &#8203;<!-- 09 -->[docs] Adjust RTL Guide demos to fully support RTL (#30387) @noam-honig
159- &#8203;<!-- 08 -->[docs] Move @eps1lon to community (#30473) @oliviertassinari
160- &#8203;<!-- 07 -->[docs] Fix typo and spelling in the-sx-prop.md (#30482) @aefox
161- &#8203;<!-- 06 -->[docs] More general docs polishing (#30371) @danilo-leal
162- &#8203;<!-- 01 -->[website] Add José on the /about page (#30492) @danilo-leal
163
164All contributors of this release in alphabetical order: @aefox, @alexandre-lelain, @danilo-leal, @eps1lon, @garronej, @hbjORbj, @noam-honig, @oliviertassinari, @siriwatknp, @ZeeshanTamboli
165
166## 5.2.7
167
168<!-- generated comparing v5.2.6..master -->
169
170_Jan 3, 2022_
171
172A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
173
174- 📓 Improvements on the Vietnamese (vi-VN) and Finnish (fi-FI) locales (#30426, #30442) @hckhanh @Certificate
175- And more 🐛 bug fixes and 📚 documentation improvements.
176
177### `@mui/material@5.2.7`
178
179- &#8203;<!-- 14 -->[Autocomplete] Fix calling onChange for duplicate values (#30374) @alisasanib
180- &#8203;<!-- 13 -->[Avatar] Fix TypeScript error on imgProps (#30255) @ahmad-reza619
181- &#8203;<!-- 12 -->[Badge] Fix `classes` prop TypeScript type (#30427) @ZeeshanTamboli
182- &#8203;<!-- 03 -->[SvgIcon] Allow viewBox to inherit from Component through inheritViewBox prop (#29954) @alex-dikusar
183- &#8203;<!-- 04 -->[SvgIcon] Correct API docs and code style (#30470) @michaldudak
184
185### Docs
186
187- &#8203;<!-- 11 -->[blog] 2021 (#30425) @oliviertassinari
188- &#8203;<!-- 15 -->[docs] Fix typo on the Grid docs page (#30446) @abhi45
189- &#8203;<!-- 07 -->[docs] Fix `useMediaQuery` SSR example to v5 theme API (#30454) @ValentinH
190- &#8203;<!-- 11 -->[docs] Improve the migration guide and add examples for transforming to `tss-react` (#30388) @mnajdova
191- &#8203;<!-- 09 -->[docs] Make the reference to the select clearer (#30460) @boazrymland
192- &#8203;<!-- 08 -->[docs] Sync translations with Crowdin (#30385) @l10nbot
193- &#8203;<!-- 06 -->[example] Avoid double rendering in the Remix example (#30366) @mnajdova
194- &#8203;<!-- 05 -->[i18n] improve viVN locale (#30426) @hckhanh
195- &#8203;<!-- 04 -->[l10n] Improve fiFI locale (#30442) @Certificate
196- &#8203;<!-- 02 -->[website] Add new batch of open roles (#30282) @oliviertassinari
197- &#8203;<!-- 01 -->[website] Refactor page context with next router (#30020) @siriwatknp
198
199### Core
200
201- &#8203;<!-- 13 -->[core] Automatically close issues that are incomplete and inactive (#30459) @oliviertassinari
202- &#8203;<!-- 10 -->[core] Remove contrib tweet (#30455) @oliviertassinari
203
204All contributors of this release in alphabetical order: @abhi45, @ahmad-reza619, @alex-dikusar, @alisasanib, @boazrymland, @Certificate, @hckhanh, @l10nbot, @michaldudak, @mnajdova, @oliviertassinari, @siriwatknp, @ValentinH, @ZeeshanTamboli
205
206## 5.2.6
207
208<!-- generated comparing v5.2.5..master -->
209
210_Dec 27, 2021_
211
212A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
213
214- 📓 The Norwegian Bokmål (nb-NO) locale was added (#27520) @wogsland
215- 🛠 Introduced a new `useBadge` hook in the `@mui/base` package (#30246) @mnajdova
216- And more 🐛 bug fixes and 📚 documentation improvements.
217
218### `@mui/material@5.2.6`
219
220- &#8203;<!-- 24 -->[ButtonGroup] Fix typo in ButtonGroupContext's interface (#30376) @kealjones-wk
221- &#8203;<!-- 03 -->[l10n] Add Norwegian Bokmål (nb-NO) locale (#27520) @wogsland
222
223### `@mui/base@5.0.0-alpha.62`
224
225- &#8203;<!-- 26 -->[BadgeUnstyled] Add useBadge hook (#30246) @mnajdova
226
227### `@mui/joy@5.0.0-alpha.8`
228
229- &#8203;<!-- 04 -->[Joy] Button API (#29962) @siriwatknp
230
231### Docs
232
233- &#8203;<!-- 27 -->[docs] Fix color coercion (#30319) @Janpot
234- &#8203;<!-- 25 -->[blog] Fix file import conflict resolution (#30391) @oliviertassinari
235- &#8203;<!-- 21 -->[docs] Fix crash on Safari because of unsupported lookahead feature (#30345) @cherniavskii
236- &#8203;<!-- 20 -->[docs] Update to new website domain (#30396) @ryota-murakami
237- &#8203;<!-- 19 -->[docs] Fix text from material-ui to @mui to reflect v5 name changes (#30393) @pupudu
238- &#8203;<!-- 18 -->[docs] Fix a11y in Menu demos (#30378) @ZeeshanTamboli
239- &#8203;<!-- 17 -->[docs] Document how to unmount transition child (#30382) @oliviertassinari
240- &#8203;<!-- 16 -->[docs] The current standard for quotes is QUOTATION MARK @oliviertassinari
241- &#8203;<!-- 15 -->[docs] Fix 404 links (#30380) @oliviertassinari
242- &#8203;<!-- 14 -->[docs] Fix Breadcrumb description (#30307) @jamesmelzer
243- &#8203;<!-- 13 -->[docs] Modify injection order for Gatsby and SSR examples (#30358) @ShuPink
244- &#8203;<!-- 12 -->[docs] Improve the translation experience (#30373) @oliviertassinari
245- &#8203;<!-- 11 -->[docs] Sync translations with Crowdin (#30176) @l10nbot
246- &#8203;<!-- 10 -->[docs] Fix link to /size-snapshot (#30363) @oliviertassinari
247- &#8203;<!-- 09 -->[docs] Fix incorrect aria label in SpeedDial demo (#30354) @chwallen
248- &#8203;<!-- 08 -->[docs] Fix incorrect number of breakpoint helpers (#30353) @chwallen
249- &#8203;<!-- 07 -->[docs] Update outdated links (#30260) @oliviertassinari
250- &#8203;<!-- 06 -->[docs] Support redirects from old urls to /material/\* (#30286) @siriwatknp
251- &#8203;<!-- 05 -->[examples] Fix CSS modules integration (#30381) @oliviertassinari
252- &#8203;<!-- 02 -->[website] Fix SEO issues (#30372) @oliviertassinari
253- &#8203;<!-- 01 -->[website] Sync sponsors (#30259) @oliviertassinari
254
255### Core
256
257- &#8203;<!-- 28 -->[core] Rename Material-UI to MUI (#30338) @ZeeshanTamboli
258- &#8203;<!-- 23 -->[core] Fix warning in dev mode (#30368) @oliviertassinari
259- &#8203;<!-- 22 -->[core] Update `buildApi` script to support new structure (#30245) @siriwatknp
260
261All contributors of this release in alphabetical order: @cherniavskii, @chwallen, @jamesmelzer, @Janpot, @kealjones-wk, @l10nbot, @mnajdova, @oliviertassinari, @pupudu, @ryota-murakami, @ShuPink, @siriwatknp, @wogsland, @ZeeshanTamboli
262
263## 5.2.5
264
265<!-- generated comparing v5.2.4..master -->
266
267_Dec 20, 2021_
268
269A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
270
271- 🛠 This release mostly improves what's behind the scenes: infrastructure and tests
272- 📓 Danish (da-DK) locale was added (#29485) @mikk5829
273- 🖌 Polished the design of Base components (#30149) and the docs in general (#29994) @danilo-leal
274- 📚 Many additions and improvements to the documentation were made
275
276### `@mui/material@5.2.5`
277
278- [l10n] Add Danish (da-DK) locale (#29485) @mikk5829
279- [LoadingButton] Label progressbar by the LoadingButton (#30002) @eps1lon
280- [Tabs] Remove unnecessary `Partial<>` type around TabIndicatorProps type (#30254) @ZeeshanTamboli
281
282### `@mui/system@5.2.5`
283
284- [system] Use `useEnhancedEffect` to prevent flicker (#30216) @hbjORbj
285
286### `@mui/lab@5.0.0-alpha.61`
287
288- [pickers] Fix the wrong MuiClockPicker's ArrowSwitcher slot name (#30226) @rejetto
289
290### Docs
291
292- [docs] Run JS compiler on markdown output (#29732) @Janpot
293- [Badge] Add tests for `anchorOrigin` prop (#30147) @daniel-sachs
294- [docs] Add cssmodule injection order comments to Nextjs example (#30213) @ShuPink
295- [docs] Remove extra word in Select component code example comments (#30281) @KThompso
296- [docs] Improve the description of the Accordion (#30253) @jamesmelzer
297- [docs] Heading capitalization convention @oliviertassinari
298- [docs] Rename remaining 'unstyled' references to 'base' (#30206) @michaldudak
299- [docs] Add to migration doc about ref type specificity (#30114) @hbjORbj
300- [docs] Add script to clone pages (#30107) @siriwatknp
301- [docs] Correct colors in breakpoints documentation (#30219) @michaldudak
302- [docs] Sync icon search UI state with the url (#30075) @Janpot
303- [docs] Base components demos design polish (#30149) @danilo-leal
304- [docs] General documentation polish (#29994) @danilo-leal
305- [examples] Fix typo in the remix example's README (#30289) @lemol
306- [website] Remove expired gold sponsor (#30222) @oliviertassinari
307- [website] Remove broken showcase links (#30217) @mnajdova
308
309### Core
310
311- [test] Reduce bundle size comparison memory consumption (#30195) @Janpot
312- [core] make snapshot comparison more resilient (#30183) @Janpot
313- [core] update formatted ts demo to support new structure (#30248) @siriwatknp
314- [core] cache dependencies in github actions (#30211) @siriwatknp
315- [core] fix root package version (#30204) @siriwatknp
316- [core] Fail the build when the dangerjs script errors (#30186) @Janpot
317- [test] Add E2E website tests (#30128) @siriwatknp
318
319All contributors of this release in alphabetical order: @daniel-sachs, @danilo-leal, @eps1lon, @hbjORbj, @jamesmelzer, @Janpot, @KThompso, @lemol, @michaldudak, @mikk5829, @mnajdova, @oliviertassinari, @rejetto, @ShuPink, @siriwatknp, @ZeeshanTamboli
320
321## 5.2.4
322
323<!-- generated comparing v5.2.3..master -->
324
325_Dec 14, 2021_
326
327A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
328
329- ✨ Add `not` operator to `theme.breakpoints` (#29311) @Philipp000
330
331 ```js
332 const styles = (theme) => ({
333 root: {
334 backgroundColor: 'blue',
335 // Match [xs, md) and [md + 1, ∞)
336 // [xs, md) and [lg, ∞)
337 // [0px, 900px) and [1200px, ∞)
338 [theme.breakpoints.not('md')]: {
339 backgroundColor: 'red',
340 },
341 },
342 });
343 ```
344
345- And many more 🐛 bug fixes and 📚 improvements.
346
347### `@mui/material@5.2.4`
348
349- &#8203;<!-- 14 -->[esm] Correct a styles imports (#29976) @Janpot
350- &#8203;<!-- 12 -->[GlobalStyles] Fix `theme` type (#30072) @mnajdova
351- &#8203;<!-- 11 -->[Grid] Fix grid items to respond to the container's responsive columns (#29715) @kkorach
352- &#8203;<!-- 04 -->[TextField] Fix missing space before asterisk in `OutlinedInput`'s label (#29630) @alisasanib
353- &#8203;<!-- 03 -->[Transition] Allow any valid HTML attribute to be passed (#29888) @Janpot
354- &#8203;<!-- 02 -->[types] Fix discrepancy between core and system `ThemeOptions` (#30095) @fmeum
355- &#8203;<!-- 09 -->[InputBase] Add prop for disabling global styles (#29213) @bryan-hunter
356- &#8203;<!-- 08 -->[Select] Improve multiple logic (#30135) @ladygo93
357
358### `@mui/system@5.2.4`
359
360- &#8203;<!-- 06 -->[system] Don't transition when re-appearing (#30108) @eps1lon
361- &#8203;<!-- 05 -->[system] Add `not` operator to `breakpoints` (#29311) @Philipp000
362
363### `@mui/base@5.0.0-alpha.60`
364
365- &#8203;<!-- 25 -->[BadgeUnstyled] Make it conformant with other base components (#30141) @mnajdova
366
367### `@mui/icons-material@5.2.4`
368
369- &#8203;<!-- 10 -->[icons] Correct location of icon download folder (#29839) @yaboi
370
371### Docs
372
373- &#8203;<!-- 22 -->[docs] Explain the use of Select's label in FormControl (#30189) @michaldudak
374- &#8203;<!-- 21 -->[docs] Don't run nprogress on shallow routing (#30087) @Janpot
375- &#8203;<!-- 20 -->[docs] Add Data Driven Forms to related projects (#30078) @rvsia
376- &#8203;<!-- 19 -->[docs] Sync translations with Crowdin (#30067) @l10nbot
377- &#8203;<!-- 18 -->[docs] Fix link on "Custom variables" section in the Theming page #30100 @danilo-leal
378- &#8203;<!-- 17 -->[docs] Fix justifyContent option in the Grid interactive demo (#30117) @danilo-leal
379- &#8203;<!-- 16 -->[docs] Add tip to help access the docs of a previous version when finding answers in StackOverflow (#30101) @danilo-leal
380- &#8203;<!-- 15 -->[docs] Fix import example inside Unstyled Backdrop section (#30098) @TheodosiouTh
381- &#8203;<!-- 01 -->[website] Column pinning and Tree data are out (#30136) @oliviertassinari
382- &#8203;<!-- 07 -->[survey] Remove survey promotion items (#30122) @danilo-leal
383
384### Core
385
386- &#8203;<!-- 23 -->[core] Fix link to Open Collective @oliviertassinari
387- &#8203;<!-- 26 -->[core] Update snapshots and s3 fallback (#30134) @Janpot
388- &#8203;<!-- 24 -->[ci] Update CI bucket (#30080) @Janpot
389- &#8203;<!-- 13 -->[fix] size:snapshot for mui-material-next and mui-joy components (#30106) @Janpot
390
391All contributors of this release in alphabetical order: @alisasanib, @bryan-hunter, @danilo-leal, @eps1lon, @fmeum, @Janpot, @kkorach, @l10nbot, @ladygo93, @michaldudak, @mnajdova, @oliviertassinari, @Philipp000, @rvsia, @TheodosiouTh, @yaboi
392
393## 5.2.3
394
395<!-- generated comparing v5.2.2..master -->
396
397_Dec 6, 2021_
398
399A big thanks to the 25 contributors who made this release possible. Here are some highlights ✨:
400
401- ✨ We have introduced a new unstyled component in `@mui/base`: `TablePagination` (#29759) @mnajdova
402
403 <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>
404
405 You can follow our progress with unstyled components at https://github.com/mui-org/material-ui/issues/27170.
406
407- 🎉 We have added an example of how to use MUI with [Remix](https://remix.run/) (#29952) @mnajdova
408
409- And many more 🐛 bug fixes and 📚 improvements.
410
411### `@mui/material@5.2.3`
412
413- &#8203;<!-- 33 -->[Accordion] Add a test for handling `square` prop (#29972) @daniel-sachs
414- &#8203;<!-- 32 -->[Alert] Fix `square` Paper prop (#30027) @ZeeshanTamboli
415- &#8203;<!-- 31 -->[AvatarGroup] Allow specifying total number of avatars (#29898) @eduardomcv
416- &#8203;<!-- 29 -->[Button] Fix regression from context API (#29982) @siriwatknp
417- &#8203;<!-- 13 -->[Grid] Fix generated classes for `spacing` prop when the value is object (#29880) @jayeclark
418- &#8203;<!-- 10 -->[Select] Should not crash when an empty array is passed with `multiple` enabled (#29957) @Domino987
419
420### `@mui/system@5.2.3`
421
422- &#8203;<!-- 06 -->[system] Fix return type of `createBox` (#29989) @mnajdova
423- &#8203;<!-- 05 -->[system] Support boolean values in typescript for the `sx` prop when used as array (#29911) @tasugi
424
425### `@mui/utils@5.2.3`
426
427- &#8203;<!-- 03 -->[utils] Add typings for `@mui-material/styles/cssUtils` (#29621) @Semigradsky
428
429### `@mui/icons-material@5.2.1`
430
431- &#8203;<!-- 12 -->[icons] Consolidate ignored icons into one list (#29843) @chao813
432
433### `@mui/base@5.0.0-alpha.59`
434
435- &#8203;<!-- 30 -->[base] Fix missing ClickAwayListener barrel index export (#30000) @oliviertassinari
436- &#8203;<!-- 04 -->[TablePaginationUnstyled] Introduce new component (#29759) @mnajdova
437
438### `@mui/lab@5.0.0-alpha.59`
439
440- &#8203;<!-- 27 -->[DateRangePicker] Fix `DateRangePickerDayProps` interface (#29067) @jonathanrtuck
441- &#8203;<!-- 10 -->[Pickers] Remove propagation of custom props to the `MonthPicker` component's DOM element (#30021) @ZeeshanTamboli
442- &#8203;<!-- 08 -->[StaticDatePicker] Add className and slot to PickerStaticWrapper (#29619) @kkorach
443
444### `@mui/joy@5.0.0-alpha.5`
445
446- &#8203;<!-- 11 -->[Joy] Theme setup (#29846) @siriwatknp
447
448### Docs
449
450- &#8203;<!-- 34 -->[docs] Fix link in TypeScript doc page (#30044) @genzyy
451- &#8203;<!-- 26 -->[docs] Remove the 'WIP' icon from the 'Group & Pivot' page title (#30077) @flaviendelangle
452- &#8203;<!-- 25 -->[docs] Add warning that `@mui/styled-engine-sc` does not work in SSR (#30026) @mnajdova
453- &#8203;<!-- 24 -->[docs] Add section for CSS specificity in the migration guide (#30008) @hbjORbj
454- &#8203;<!-- 28 -->[docs] Clarify comment in migration doc (#30076) @hbjORbj
455- &#8203;<!-- 23 -->[docs] Sync translations with Crowdin (#30041) @l10nbot
456- &#8203;<!-- 22 -->[docs] Explain how Paper changes shade in dark mode (#30003) @michaldudak
457- &#8203;<!-- 21 -->[docs] Update nextjs-typescript-example (#29974) @huydhoang
458- &#8203;<!-- 20 -->[docs] Add missing global state classes to API docs generator (#29945) @michaldudak
459- &#8203;<!-- 19 -->[docs] Fix benchmarks folder link (#29981) @fourjr
460- &#8203;<!-- 18 -->[docs] Improve wording in StackOverflow section of support page (#29956) @ronwarner
461- &#8203;<!-- 17 -->[docs] Remove Black Friday sale notification (#29936) @mbrookes
462- &#8203;<!-- 16 -->[examples] Fix typos in the Remix example (#30071) @MichaelDeBoey
463- &#8203;<!-- 15 -->[examples] Add Remix example (#29952) @mnajdova
464- &#8203;<!-- 14 -->[examples] Fix lint issue for displayName missing in the Next.js examples (#29985) @ZeeshanTamboli
465- &#8203;<!-- 09 -->[Stack] Document system props in Stack API (#30069) @ThewBear
466- &#8203;<!-- 07 -->[survey] Add a banner and card for promoting the 2021 survey (#29950) @danilo-leal
467- &#8203;<!-- 02 -->[website] Correct the Careers page description (#30073) @michaldudak
468- &#8203;<!-- 01 -->[website] Fix 301 links (#30040) @oliviertassinari
469
470### Core
471
472- &#8203;<!-- 31 -->[core] Batch small changes (#30042) @oliviertassinari
473- &#8203;<!-- 28 -->[core] Transition to a new StackOverflow tag (#29967) @oliviertassinari
474
475All contributors of this release in alphabetical order: @chao813, @daniel-sachs, @danilo-leal, @Domino987, @eduardomcv, @flaviendelangle, @fourjr, @genzyy, @hbjORbj, @huydhoang, @jayeclark, @jonathanrtuck, @kkorach, @l10nbot, @mbrookes, @MichaelDeBoey, @michaldudak, @mnajdova, @oliviertassinari, @ronwarner, @Semigradsky, @siriwatknp, @tasugi, @ThewBear, @ZeeshanTamboli
476
477## 5.2.2
478
479<!-- generated comparing v5.2.1..master -->
480
481_Nov 29, 2021_
482
483A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
484
485- ♿️ Improved accessibility of `Snackbar` and `TextField` in `@mui/material` (#29782) (#29850) (#29852) @eps1lon.
486- 🎉 Added support for `sx` syntax inside `styled()` utility (#29833) @mnajdova.
487- 🎉 Added support for more options for `createCssVarsProvider` in `@mui/system` (#29845) (#29857) @hbjORbj.
488- And many more 🐛 bug fixes and 📚 improvements.
489
490### `@mui/material@5.2.2`
491
492- &#8203;<!-- 14 -->[MenuList] Add component prop (#29882) @Harshikerfuffle
493- &#8203;<!-- 13 -->[Snackbar] Interrupt auto-hide on keyboard interaction (#29852) @eps1lon
494- &#8203;<!-- 12 -->[Snackbar] Dismiss on Escape press (#29850) @eps1lon
495- &#8203;<!-- 06 -->[TextField] Associate accessible name and description by default (#29782) @eps1lon
496
497### `@mui/joy@5.0.0-alpha.4`
498
499- &#8203;<!-- 15 -->[Joy] Add `Button` - 1st iteration (#29464) @siriwatknp
500
501### `@mui/codemod@5.2.1`
502
503- &#8203;<!-- 28 -->[codemod] Fix alias import for box-sx-prop (#29902) @siriwatknp
504
505### `@mui/system@5.2.2`
506
507- &#8203;<!-- 11 -->[system] CSSVarsProvider cleans up `html[style]` when unmounting (#29946) @eps1lon
508- &#8203;<!-- 10 -->[system] Add support for `disableTransitionOnChange` in `createCssVarsProvider` (#29857) @hbjORbj
509- &#8203;<!-- 09 -->[system] Add support for `enableColorScheme` in `createCssVarsProvider` (#29845) @hbjORbj
510
511### `@mui/utils@5.2.2`
512
513- &#8203;<!-- 05 -->[useId] Trade random collisions for collisions on overflow (#29781) @eps1lon
514- &#8203;<!-- 04 -->[useIsFocusVisible] Convert to TypeScript (#29779) @eps1lon
515
516### Docs
517
518- &#8203;<!-- 24 -->[docs] Fix v5-beta confusing example description (#29932) @oliviertassinari
519- &#8203;<!-- 23 -->[docs] Apply the z-index on the right DOM element (#29934) @oliviertassinari
520- &#8203;<!-- 22 -->[docs] Improve git diff format (#29935) @oliviertassinari
521- &#8203;<!-- 21 -->[docs] Fix typo (#29866) @sinclairity
522- &#8203;<!-- 20 -->[docs] Fix key display (#29933) @oliviertassinari
523- &#8203;<!-- 19 -->[docs] Fix outdated link to next/link docs (#29937) @radlinskii
524- &#8203;<!-- 18 -->[docs] Add how to pass `sx` prop (#29905) @siriwatknp
525- &#8203;<!-- 17 -->[docs] Fix typo in notifications @mbrookes
526- &#8203;<!-- 16 -->[docs] Black Friday sale notification @mbrookes
527- &#8203;<!-- 03 -->[website] Fix canonical links (#29938) @oliviertassinari
528- &#8203;<!-- 02 -->[website] Fix SEO issues (#29939) @oliviertassinari
529- &#8203;<!-- 01 -->[website] Improvements to the /x product page (#28964) @danilo-leal
530
531### Core
532
533- &#8203;<!-- 27 -->[core] Remove dead code (#29940) @oliviertassinari
534- &#8203;<!-- 26 -->[core] Move benchmark CI job from AZP to CircleCI (#29894) @eps1lon
535- &#8203;<!-- 25 -->[core] Fix PR detection pattern in test_bundle_size_monitor (#29895) @eps1lon
536- &#8203;<!-- 08 -->[test] Fix browser tests (#29929) @eps1lon
537- &#8203;<!-- 07 -->[test] Reject shorthand properties in style matchers (#29893) @eps1lon
538
539All contributors of this release in alphabetical order: @danilo-leal, @eps1lon, @Harshikerfuffle, @hbjORbj, @mbrookes, @oliviertassinari, @radlinskii, @sinclairity, @siriwatknp
540
541## 5.2.1
542
543<!-- generated comparing v5.2.0..master -->
544
545_Nov 25, 2021_
546
547A big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
548
549This is an early release to fix `export 'useId' (imported as 'React') was not found in 'react'` when bundling code depending on MUI Core.
550
551- &#8203;<!-- 10 -->[AppBar][docs] Add a fully responsive demo to docs (#29829) @karakib2k18
552- &#8203;<!-- 9 -->[core] Fix PR run detection in test_bundle_size_monitor (#29879) @eps1lon
553- &#8203;<!-- 8 -->[core] Move bundle size monitoring to CircleCI (#29876) @eps1lon
554- &#8203;<!-- 7 -->[docs] Add keys to Responsive AppBar demo (#29884) @mbrookes
555- &#8203;<!-- 6 -->[docs] MUI's 2021 Developer survey (#29765) @newguy-123
556- &#8203;<!-- 5 -->[docs] Smoother image loading UX (#29858) @oliviertassinari
557- &#8203;<!-- 4 -->[Select] Fix select display value with React Nodes (#29836) @kegi
558- &#8203;<!-- 3 -->[system] Add `experimental_sx` utility (#29833) @mnajdova
559- &#8203;<!-- 2 -->[test] Ignore "detected multiple renderers" warning for now (#29854) @eps1lon
560- &#8203;<!-- 1 -->[useMediaQuery][utils] Remove usage of React 18 APIs (#29870) @eps1lon
561
562All contributors of this release in alphabetical order: @eps1lon, @karakib2k18, @kegi, @mbrookes, @mnajdova, @newguy-123, @oliviertassinari
563
564## 5.2.0
565
566<!-- generated comparing v5.1.1..master -->
567
568_Nov 23, 2021_
569
570A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
571
572- 🧪 Created another unstyled component: [TabsUnstyled](https://mui.com/components/tabs/#unstyled) (#29597) @mnajdova.
573- 🎉 Updated the Material Icons set with the latest changes from Google (#29328) @michaldudak / (#29818) @chao813.
574 This update adds 200 new icons and tweaks the appearance of many more.
575 With it, we're getting close to having 2000 icons in our set.
576- 🐛 Fixed bugs and improved the infrastructure and documentation 📚.
577
578### `@mui/material@5.2.0`
579
580- [IconButton] Remove on hover effect when `disableRipple` is set (#29298) @adamfitzgibbon
581- [i18n] Add the amharic language (#29153) @NatiG100
582- [material] Fix types for `variants.style` to accept callbacks (#29610) @mnajdova
583- [Popper] Simplify prop types (#29680) @michaldudak
584- [Select] Include aria-selected=false when option not selected (#29695) @michaldudak
585- [useMediaQuery] Fix crash in Safari < 14 and IE 11 (#29776) @eps1lon
586- [useMediaQuery] Ensure no tearing in React 18 (#28491) @eps1lon
587
588### `@mui/codemod@5.2.0`
589
590- [codemod] Fix `jss-to-styled` to support multiple withStyles (#29824) @siriwatknp
591
592### `@mui/icons-material@5.2.0`
593
594- [icons] Sync new Google Material Icons (#29818) @chao813
595- [icons] Sync recent Material Icons from Google (#29328) @michaldudak
596
597### `@mui/system@5.2.0`
598
599- [Box] Fix `sx` prop runtime issue when used as function (#29830) @mnajdova
600- [system] Fix `sx` throw error when value is `null` or `undefined` (#29756) @siriwatknp
601- [system] Fix minor CssVars issues (#29747) @siriwatknp
602
603### `@mui/styled-engine@5.2.0`
604
605- [styled-engine] Fix props inference in styled-engine (#29739) @Janpot
606
607### `@mui/base@5.0.0-alpha.56`
608
609- [FormControlUnstyled] `focused` is always false unless explicitly set to `true` @mwilkins91
610- [TabsUnstyled] Introduce new component (#29597) @mnajdova
611
612### `@mui/lab@5.0.0-alpha.56`
613
614- [DatePicker][timepicker] Add missing component declarations (#29517) @longzheng
615- [Masonry] exports from root package (#29754) @abhinav-22-tech
616- [pickers] Widen accepted `luxon` version range (#29761) @eps1lon
617
618### Docs
619
620- [blog] MUI X v5 blog post (#29590) @DanailH
621- [blog] Polish the Benny Joo joins MUI post (#29697) @oliviertassinari
622- [CHANGELOG] Explain why we do breaking changes @oliviertassinari
623- [core] Update latest issue template for codesandbox CI (#29783) @eps1lon
624- [core] Ensure `@mui/core` is an alias for `@mui/base` (#29762) @eps1lon
625- [docs] Fix broken Next and Previous links (#29711) @scallaway
626- [docs] Add a note that ToggleButton exclusive does not enforce selection (#29812) @mmacu
627- [docs] Update the list of supported locales (#29831) @michaldudak
628- [docs] Update tooltip doc to better define touch action (#29717) @gnowland
629- [website] Standardize the background color from the MUI team photos (#29738) @danilo-leal
630- [website] Add Bharat to the About Us Page (#29714) @bharatkashyap
631- [website] Add about page entry for jan (#29701) @Janpot
632- [website] Adding Prakhar to the about page (#29737) @danilo-leal
633
634### Core
635
636- [test] Allow debugging with Chrome and VSCode inspector (#29777) @eps1lon
637- [test] Use renderer clock instead of custom useFakeTimers call (#29778) @eps1lon
638- [test] Only mock Date in regression tests (#29763) @eps1lon
639- [test] Disable nightly integration tests on `next` branch (#29748) @eps1lon
640- [test] Allow configuring clock directly from `createRenderer` (#29684) @eps1lon
641- [test] Accept backslashes as path separators in test CLI (#29694) @michaldudak
642- [utils] Use built-in hook when available for useId (#26489) @eps1lon
643
644All contributors of this release in alphabetical order: @abhinav-22-tech, @adamfitzgibbon, @bharatkashyap, @chao813, @DanailH, @danilo-leal, @eps1lon, @gnowland, @Janpot, @longzheng, @michaldudak, @mmacu, @mnajdova, @mwilkins91, @NatiG100, @oliviertassinari, @scallaway, @siriwatknp
645
646## 5.1.1
647
648<!-- generated comparing v5.1.0..master -->
649
650_Nov 16, 2021_
651
652A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
653
654- 🛠 Renamed `@mui/core` to `@mui/base` (#29585) @michaldudak.
655- And many more 🐛 bug fixes and 📚 improvements.
656
657### `@mui/material@5.1.1`
658
659- &#8203;<!-- 34 -->[Breadcrumbs][divider] Replace decimal spacing values with integers and css calc (#29526) @anikcreative
660- &#8203;<!-- 10 -->[Select][nativeselect] Add `multiple` class (#29566) @aaronholla
661- &#8203;<!-- 09 -->[Popper] Split into PopperUnstyled and Popper (#29488) @michaldudak
662- &#8203;<!-- 08 -->[Select] Make it clear that `Select` is not a root component (#29593) @hbjORbj
663- &#8203;<!-- 13 -->[l10n] Improved Dutch (nl-NL) locale (#29592) @flipvrijn
664- &#8203;<!-- 10 -->[Table] Improve pagination range, use "en dash" over "hyphen" (#29579) @narekmal
665
666### `@mui/base@5.0.0-alpha.55`
667
668#### Breaking changes
669
670- &#8203;<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
671
672 Based on the results of the [poll](https://twitter.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
673
674 The new name better reflects the purpose of the package: it contains unstyled components, hooks, and utilities that serve as a **base** to build on.
675
676 ```diff
677 -import { useSwitch } from '@mui/core/SwitchUnstyled';
678 +import { useSwitch } from '@mui/base/SwitchUnstyled';
679 ```
680
681### `@mui/lab@5.0.0-alpha.55`
682
683- &#8203;<!-- 12 -->[LoadingButton] Text variant spacing fixed for both start and end (#29194) @joshua-lawrence
684- &#8203;<!-- 11 -->[Masonry] Check if container or child exists to prevent error (#29452) @hbjORbj
685
686### Docs
687
688- &#8203;<!-- 25 -->[docs] Correct bundler configuration for using legacy MUI build (#29146) @petermikitsh
689- &#8203;<!-- 24 -->[docs] Fix typo on autocomplete.md (#29570) @netizer
690- &#8203;<!-- 23 -->[docs] Fix dark mode on branding pages (#29611) @alexfauquette
691- &#8203;<!-- 22 -->[docs] Do not render CSS section in API docs navbar if there are no CSS classes (#29622) @ZeeshanTamboli
692- &#8203;<!-- 21 -->[docs] Fix link locale handling (#29624) @oliviertassinari
693- &#8203;<!-- 20 -->[docs] Fix Search navigation (#29623) @oliviertassinari
694- &#8203;<!-- 19 -->[docs] Fix broken link & update MUI packages explanation (#29583) @siriwatknp
695- &#8203;<!-- 18 -->[docs] Do not repeat language snippet in url in Algolia search (#29483) @hbjORbj
696- &#8203;<!-- 17 -->[docs] Update `ThemeProvider` API link (#29573) @siriwatknp
697- &#8203;<!-- 16 -->[docs] Remove svg logos from the Support page (#29431) @oliviertassinari
698- &#8203;<!-- 15 -->[docs] Link UXPin integration (#29422) @oliviertassinari
699- &#8203;<!-- 14 -->[docs] Link to the new public roadmap for the design kits (#29433) @oliviertassinari
700- &#8203;<!-- 28 -->[docs] correct bundler configuration for using legacy MUI build (#29146) @petermikitsh
701- &#8203;<!-- 01 -->[website] Fix premium plan release date (#29430) @oliviertassinari
702- &#8203;<!-- 02 -->[website] Add GitHub icon button to the navbar (#29640) @danilo-leal
703- &#8203;<!-- 39 -->[blog] Support many authors in markdown pages (#29633) @m4theushw
704
705### Core
706
707- &#8203;<!-- 33 -->[core] Add `experiments` index page (#29582) @siriwatknp
708- &#8203;<!-- 32 -->[core] Move s3 bucket ownership to mui-org (#29609) @eps1lon
709- &#8203;<!-- 31 -->[core] Improve support request message (#29614) @mnajdova
710- &#8203;<!-- 30 -->[core] Use support request Github Action (#29594) @mnajdova
711- &#8203;<!-- 29 -->[core] Remove unused `getJsxPreview` util (#29586) @ZeeshanTamboli
712- &#8203;<!-- 28 -->[core] Use GitHub issue forms (#28038) @oliviertassinari
713- &#8203;<!-- 26 -->[core] Add playground (#29423) @oliviertassinari
714- &#8203;<!-- 07 -->[test] Correctly identify what the `raf` helper is for (#29683) @eps1lon
715- &#8203;<!-- 06 -->[test] Verify a quilted ImageList is created as test title suggests (#29565) @daniel-sachs
716- &#8203;<!-- 05 -->[test] Replace `createServerRender` with `createRenderer` (#29503) @eps1lon
717- &#8203;<!-- 04 -->[test] Always ignore "useLayoutEffect has no effect on the server"-warning (#29502) @eps1lon
718- &#8203;<!-- 03 -->[test] Restore StrictMode by default (#29589) @eps1lon
719- &#8203;<!-- 02 -->[test] createPickerRender -> createPickerRenderer (#29575) @eps1lon
720- &#8203;<!-- 09 -->[test] Allow experimental CLI to run exact test (#29685) @eps1lon
721
722All contributors of this release in alphabetical order: @aaronholla, @alexfauquette, @anikcreative, @daniel-sachs, @eps1lon, @flipvrijn, @hbjORbj, @joshua-lawrence, @michaldudak, @mnajdova, @netizer, @oliviertassinari, @petermikitsh, @siriwatknp, @ZeeshanTamboli
723
724## 5.1.0
725
726<!-- generated comparing v5.0.6..master -->
727
728_Nov 8, 2021_
729
730A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
731
732- 🎉 Support custom elements under `ButtonGroup` (#28645) @ZeeshanTamboli
733- 🛠 Add support for arrays in the `sx` prop (#29297) @siriwatknp
734- And many more 🐛 bug fixes and 📚 improvements.
735
736### `@mui/material@5.1.0`
737
738- &#8203;<!-- 68 -->[Autocomplete] Fix `hiddenLabel` prop of `TextField variant={filled}` inside Autocomplete (#29234) @jatinsandilya
739- &#8203;<!-- 67 -->[Box] Support generateClassName and defaultClassName (#29347) @siriwatknp
740- &#8203;<!-- 66 -->[ButtonGroup] Fix variant outlined always has primary color borders on hover (#29487) @ZeeshanTamboli
741- &#8203;<!-- 65 -->[ButtonGroup] Support different elements under ButtonGroup (#28645) @ZeeshanTamboli
742- &#8203;<!-- 62 -->[CssBaseline] Add `enableColorScheme` prop so enable using `color-scheme` property to deal with dark mode (#29454) @alexfauquette
743- &#8203;<!-- 29 -->[FormControlLabel] Narrow the label type (#29324) @michaldudak
744- &#8203;<!-- 28 -->[Grid] Fix usage when columns > 12 (#29196) @tanay123456789
745- &#8203;<!-- 27 -->[InputBase] Do not repeat the same classname (#29353) @hbjORbj
746- &#8203;<!-- 30 -->[InputBase] Remove WebkitAppearance from search type (#29383) @nicbarajas
747- &#8203;<!-- 25 -->[ListItem] Add missing exports (#29571) @robcaldecott
748- &#8203;<!-- 22 -->[Pagination] Allow customization of icons (#29336) @mbeltramin
749- &#8203;<!-- 11 -->[TextField] Fix bootstrap, normalize.css, sanitize.css conflicts (#28674) @ChrisClaude
750- &#8203;<!-- 10 -->[TextField] Fix invisible wrap within notched inputs (#29088) @DASPRiD
751- &#8203;<!-- 09 -->[Tooltip] `open` prop in `componentsProps.popper` can be optional (#29370) @ZeeshanTamboli
752- &#8203;<!-- 08 -->[Tooltip] Fix `className` not getting applied from PopperProps (#29023) @ZeeshanTamboli
753- &#8203;<!-- 07 -->[useRadioGroup] Convert to TypeScript (#29326) @eps1lon
754
755### `@mui/system@5.1.0`
756
757- &#8203;<!-- 21 -->[system] Introduce `mode` to CssVarsProvider (#29418) @siriwatknp
758- &#8203;<!-- 20 -->[system] Improve breakpoints resolver function (#29300) @hbjORbj
759- &#8203;<!-- 19 -->[system] Add array support for `sx` prop (#29297) @siriwatknp
760
761### `@mui/codemod@5.1.0`
762
763- &#8203;<!-- 64 -->[codemod] Add codemod parser flag (#29059) (#29229) @ElonVolo
764
765### `@mui/lab@5.0.0-alpha.54`
766
767- &#8203;<!-- 52 -->[DatePicker] Fix disabled/readOnly for view components (#28815) @adamfitzgibbon
768- &#8203;<!-- 24 -->[Masonry] Fix crash on unmount when using React 18 (#29358) @eps1lon
769- &#8203;<!-- 23 -->[Masonry] Improve height computation and detect changes in `children` (#29351) @hbjORbj
770
771### `@mui/joy@5.0.0-alpha.0`
772
773- &#8203;<!-- 28 -->[Joy] Update default theme (#29478) @siriwatknp
774- &#8203;<!-- 26 -->[Joy] Export CssVarsProvider with default theme (#29150) @siriwatknp
775- &#8203;<!-- 25 -->[Joy] Remove `private` to leverage CodeSandbox (#29280) @siriwatknp
776
777### Docs
778
779- &#8203;<!-- 51 -->[docs] Add differences between styled and sx (#28685) @eric-burel
780- &#8203;<!-- 50 -->[docs] Track usage of dark mode in Google Analytics (#29419) @oliviertassinari
781- &#8203;<!-- 49 -->[docs] Remove create-mui-theme as it is no longer working (#29472) @IPJT
782- &#8203;<!-- 48 -->[docs] Fix warnings in AppSearch (#29459) @eps1lon
783- &#8203;<!-- 47 -->[docs] Add framework example for ClassNameGenerator (#29453) @siriwatknp
784- &#8203;<!-- 46 -->[docs] Fix layout shift when scrolling (#29436) @oliviertassinari
785- &#8203;<!-- 45 -->[docs] Fix layout-shift on id='main-content' (#29425) @oliviertassinari
786- &#8203;<!-- 44 -->[docs] Remove usage of `process.browser` (#29438) @oliviertassinari
787- &#8203;<!-- 43 -->[docs] Add instruction on how to use the child selector API with emotion (#29350) @mnajdova
788- &#8203;<!-- 42 -->[docs] Fix small typos (#29424) @oliviertassinari
789- &#8203;<!-- 41 -->[docs] Fix TOC highlighting logic (#29435) @oliviertassinari
790- &#8203;<!-- 40 -->[docs] Fix about page flags (#29314) @mbrookes
791- &#8203;<!-- 39 -->[docs] Fix Box JS docs (#29282) @Pablion
792- &#8203;<!-- 38 -->[docs] Update storybook section in migration to v5 docs (#28800) @siriwatknp
793- &#8203;<!-- 37 -->[docs] Document how to enable color on dark mode (#29340) @Wimukti
794- &#8203;<!-- 36 -->[docs] Display search functionality in all viewports (#28819) @eps1lon
795- &#8203;<!-- 35 -->[docs] Query heading for ToC on demand (#29204) @eps1lon
796- &#8203;<!-- 34 -->[docs] Add next.js styled-component guide and update links to example (#29118) @Jareechang
797- &#8203;<!-- 33 -->[docs] Fix overriding `MuiTextField`'s default props in the migration guide (#29174) @tm1000
798- &#8203;<!-- 32 -->[docs] Fix "clickable" and "deletable" typos (#28702) @jacklaurencegaray
799- &#8203;<!-- 31 -->[docs] Update migration-v4 docs for wrong import path (#29042) @busches
800- &#8203;<!-- 30 -->[docs] Add GitHub icon change to "Migration from v4 to v5" guide (#29182) @dan-mba
801- &#8203;<!-- 06 -->[website] Benny Joo joining MUI (#29499) @mnajdova
802- &#8203;<!-- 05 -->[website] Update the `Print export` feature info on the pricing page (#29484) @DanailH
803- &#8203;<!-- 04 -->[website] Improve the dev rel role description (#29477) @oliviertassinari
804- &#8203;<!-- 03 -->[website] Add customers section on Design Kits and Templates marketing pages (#29168) @danilo-leal
805- &#8203;<!-- 02 -->[website] Improvements to the /core product page @danilo-leal
806- &#8203;<!-- 01 -->[website] Fix typo on the About Page (#29286) @gssakash
807
808### Core
809
810- &#8203;<!-- 63 -->[core] Handle RecordType and FieldType in generatePropDescription.ts (#29467) @flaviendelangle
811- &#8203;<!-- 61 -->[core] Convert a named color to lowercase (#29465) @ainatenhi
812- &#8203;<!-- 60 -->[core] Allow to reuse functions from `docs:api` (#28828) @m4theushw
813- &#8203;<!-- 59 -->[core] Commit new nextjs 12 tsconfig (#29458) @eps1lon
814- &#8203;<!-- 58 -->[core] Settle on MUI X for the official name (#29420) @oliviertassinari
815- &#8203;<!-- 57 -->[core] Add mui as a npm keyword (#29427) @oliviertassinari
816- &#8203;<!-- 56 -->[core] Fix issue template redirection (#29432) @oliviertassinari
817- &#8203;<!-- 55 -->[core] Remove unecessary destructuration (#29354) @oliviertassinari
818- &#8203;<!-- 54 -->[core] Use cross-env to set env variables in material-icons scripts (#29327) @michaldudak
819- &#8203;<!-- 53 -->[core] Don't bump peer dependency ranges on dependency updates (#29303) @eps1lon
820- &#8203;<!-- 18 -->[test] Fix browser tests (#29505) @eps1lon
821- &#8203;<!-- 69 -->[test] Fix missing act warnings in latest React 18 alpha (#29357) @eps1lon
822- &#8203;<!-- 17 -->[test] Replace `createClientRender` with new `createRenderer` API (#29471) @eps1lon
823- &#8203;<!-- 16 -->[test] Fix possible "missing act" warning (#29463) @eps1lon
824- &#8203;<!-- 15 -->[test] Remove render#baseElement (#29462) @eps1lon
825- &#8203;<!-- 14 -->[test] Expose `AbortController` on global (#29360) @eps1lon
826- &#8203;<!-- 13 -->[test] Add internal test for uniqe `name` in `Rating` (#29329) @eps1lon
827- &#8203;<!-- 12 -->[test] Fix browser tests (#29305) @eps1lon
828
829All contributors of this release in alphabetical order: @adamfitzgibbon, @ainatenhi, @alexfauquette, @busches, @ChrisClaude, @dan-mba, @DanailH, @danilo-leal, @DASPRiD, @ElonVolo, @eps1lon, @eric-burel, @flaviendelangle, @gssakash, @hbjORbj, @IPJT, @jacklaurencegaray, @Jareechang, @jatinsandilya, @m4theushw, @mbeltramin, @mbrookes, @michaldudak, @mnajdova, @nicbarajas, @oliviertassinari, @Pablion, @robcaldecott, @siriwatknp, @tanay123456789, @tm1000, @Wimukti, @ZeeshanTamboli
830
831## 5.0.6
832
833<!-- generated comparing v5.0.5..master -->
834
835_Oct 27, 2021_
836
837A big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
838
839- 🔧 Fix reported TypeScript issues on the `@mui/system` package because some packages were not released
840
841### `@mui/material@5.0.6`
842
843- &#8203;<!-- 4 -->[Autocomplete] Fix `clearOnBlur` prop (#29208) @hbjORbj
844- &#8203;<!-- 2 -->[Rating] Remove z-index from decimal stars (#29295) @williamhaley
845
846### `@mui/system@5.0.6`
847
848- &#8203;<!-- 5 -->[system] Fix various issues reported by using @mui/styled-engine-sc (#29035) @mnajdova
849- &#8203;<!-- 1 -->[system] Fix executing server-side Emotion component as function interpolation (#29290) @Andarist
850
851### Docs
852
853- &#8203;<!-- 3 -->[blog] Q3 2021 Update (#28970) @oliviertassinari
854
855All contributors of this release in alphabetical order: @Andarist, @hbjORbj, @oliviertassinari, @williamhaley
856
857## 5.0.5
858
859<!-- generated comparing v5.0.4..master -->
860
861_Oct 26, 2021_
862
863A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
864
865- 🔧 Implement `Masonry` using Flexbox by @hbjORbj.
866- 🧪 Add three components to `@mui/base` by @rebeccahongsf and @hbjORbj.
867
868### `@mui/codemod@5.0.5`
869
870- &#8203;<!-- 38 -->[codemod] Support new package name in `link-underline-hover` transformer (#29214) @siriwatknp
871
872### `@mui/base@5.0.0-alpha.52`
873
874- &#8203;<!-- 39 -->[ClickAwayListener] Move to the core package (#29186) @hbjORbj
875- &#8203;<!-- 13 -->[Popper] Move from mui-material to mui-base (#28923) @rebeccahongsf
876- &#8203;<!-- 04 -->[TextareaAutosize] Move to the core package (#29148) @hbjORbj
877
878### `@mui/lab@5.0.0-alpha.52`
879
880- &#8203;<!-- 16 -->[Masonry] Improve demo styles (#29218) @hbjORbj
881- &#8203;<!-- 15 -->[Masonry] Implement Masonry using Flexbox (#28059) @hbjORbj
882
883### `@mui/icons@5.0.5`
884
885- &#8203;<!-- 19 -->[icons] Add TipsAndUpdates icon (#29004) @hbjORbj
886
887### `@mui/material@5.0.5`
888
889- &#8203;<!-- 40 -->[CardMedia] Apply specified `img` role instead of custom `image` role (#29172) @eps1lon
890- &#8203;<!-- 32 -->[CSSBaseline] Remove incorrect @deprecated annotation (#29069) @adamfitzgibbon
891- &#8203;<!-- 20 -->[Grid] Support custom columns with nested grid (#28743) @Devesh21700Kumar
892- &#8203;<!-- 18 -->[InputBase] Remove wrong theme overriding with MUI's default theme (#29157) @hbjORbj
893- &#8203;<!-- 17 -->[LoadingButton] Fix `fullWidth` styling (#28652) @nikitabobers
894- &#8203;<!-- 16 -->[Popper] make Popper display:none whenever it's closed (#29233) @adamfitzgibbon
895- &#8203;<!-- 14 -->[Menu] Reduce min-height & padding in menu-item with dense property (#29180) @jatinsandilya
896- &#8203;<!-- 07 -->[Tab] `iconPosition` prop added in Tab (#28764) @deepanshu2506
897- &#8203;<!-- 03 -->[Tooltip] Correct inconsistent prop precedence (#29132) @michaldudak
898
899### `@mui/system@5.0.5`
900
901- &#8203;<!-- 11 -->[system] Allow function type for `sx` prop (#29198) @hbjORbj
902- &#8203;<!-- 10 -->[system] Fix various issues reported by using @mui/styled-engine-sc (#29035) @mnajdova
903- &#8203;<!-- 09 -->[system] Fix `colorScheme` conflict between application (#29139) @siriwatknp
904- &#8203;<!-- 08 -->[system] Add `unstable_createCssVarsProvider` api (#28965) @siriwatknp
905
906### Documentation
907
908- &#8203;<!-- 31 -->[docs] Fix path to `DataGrid` CSV export options page (#29220) @DanailH
909- &#8203;<!-- 30 -->[docs] Give anonymous components a name (#29189) @eps1lon
910- &#8203;<!-- 29 -->[docs] Add deploy context variables (#29195) @siriwatknp
911- &#8203;<!-- 28 -->[docs] Add MUI packages explanation (#29073) @siriwatknp
912- &#8203;<!-- 27 -->[docs] Fix typo in CSP policy (#29187) @JuliaNeumann
913- &#8203;<!-- 26 -->[docs] Dark mode conditional content rendering (#28665) @michal-perlakowski
914- &#8203;<!-- 25 -->[docs] Fix ClassNameGenerator introduced version #29177 @siriwatknp
915- &#8203;<!-- 24 -->[docs] Add missing `justifyContent` values and update box styling (#29117) @omarmosid
916- &#8203;<!-- 23 -->[docs] Make landing page hero section scrollable (#29141) @waxidiotic
917- &#8203;<!-- 22 -->[docs] Discourage importing different bundles directly (#29133) @eps1lon
918- &#8203;<!-- 21 -->[docs] Update module augmentation reference url (#29064) @gnowland
919- &#8203;<!-- 12 -->[pricing] Add tooltip to pricing icon (#28959) @siriwatknp
920- &#8203;<!-- 07 -->[Team] Add Alexandre in the about page (#29289)
921- &#8203;<!-- 02 -->[website] Fix status label overflow in AdvancedShowcase (#29143) @LorenzHenk
922- &#8203;<!-- 01 -->[website] Update legacy logos (#28908) @michaldudak
923
924### Core
925
926- &#8203;<!-- 37 -->[core] Order repro methods by preference (#29156) @eps1lon
927- &#8203;<!-- 36 -->[core] Remove unnecessary usages of `useEventCallback` (#28910) @NMinhNguyen
928- &#8203;<!-- 35 -->[core] add `unstable_ClassNameGenerator` API (#29051) @siriwatknp
929- &#8203;<!-- 34 -->[core] Fix issues when using styled-components (#29048) @mnajdova
930- &#8203;<!-- 33 -->[core] replace hard-coded classname with classes (#29070) @siriwatknp
931- &#8203;<!-- 06 -->[test] Add documentation for visual regression tests (#29154) @eps1lon
932- &#8203;<!-- 05 -->[test] Enable "missing act" warnings using new proposal (#29167) @eps1lon
933
934All contributors of this release in alphabetical order: @adamfitzgibbon, @DanailH, @deepanshu2506, @Devesh21700Kumar, @eps1lon, @gnowland, @hbjORbj, @jatinsandilya, @JuliaNeumann, @LorenzHenk, @michal-perlakowski, @michaldudak, @mnajdova, @nikitabobers, @NMinhNguyen, @omarmosid, @rebeccahongsf, @siriwatknp, @waxidiotic
935
936## 5.0.4
937
938<!-- generated comparing v5.0.3..master -->
939
940_Oct 14, 2021_
941
942A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
943
944- 🧪 Added `UnstyledInput` and `useInput` hook in the the first component in @mui/base package @michaldudak (#28053)
945- 🐛 Fixed many bugs and improved the documentation 📚.
946
947### `@mui/material@5.0.4`
948
949- &#8203;<!-- 31 -->[Chip] disable ripple only if onDelete is present. (#29034) @mottox2
950- &#8203;<!-- 06 -->[Pagination] Fix clicking on `...` triggering `onChange` with page value `null` (#28884) @ZeeshanTamboli
951- &#8203;<!-- 04 -->[Tabs] Alternative way to disable ":first-child is unsafe" error (#28982) @hbjORbj
952- &#8203;<!-- 03 -->[Tabs] Fix ":first-child is potentially unsafe" error (#28890) @hbjORbj
953- &#8203;<!-- 01 -->[transitions] Mark `children` as required where nullish `children` would crash at runtime (#29028) @eps1lon
954
955### `@mui/system@5.0.4`
956
957- &#8203;<!-- 05 -->[system] Update typing for `style` function (#28744) @hbjORbj
958
959### `@mui/base@5.0.0-alpha.51`
960
961- &#8203;<!-- 07 -->[InputUnstyled] Create unstyled input and useInput hook (#28053) @michaldudak
962
963### `@mui/lab@5.0.0-alpha.51`
964
965- &#8203;<!-- 25 -->[DesktopDatePicker] add Paper props to pass down to Paper component (#28865) @amen-souissi
966
967### Docs
968
969- &#8203;<!-- 24 -->[docs] Add JSDoc to `theme.breakpoints` (#29039) @eps1lon
970- &#8203;<!-- 23 -->[docs] Rename broken package names in docs pointing to `@mui/material` (#29006) @visualfanatic
971- &#8203;<!-- 22 -->[docs] Add troubleshooting guide for unexpected styles (#28907) @mnajdova
972- &#8203;<!-- 21 -->[docs] Fix issues reported by ahref (#28986) @mnajdova
973- &#8203;<!-- 20 -->[docs] Remove json translations for dropped locales (#28987) @mnajdova
974- &#8203;<!-- 19 -->[docs] Fix type signature of renderGroup in Autocomplete (#28876) @tanyabouman
975- &#8203;<!-- 18 -->[docs] Minor typo in v4-v5 migration docs (#28995) @kgregory
976- &#8203;<!-- 17 -->[docs] Add `mui-image` related project (#28621) @benmneb
977- &#8203;<!-- 16 -->[docs] Update Getting Started Templates' Source URIs (#28929) @epodol
978- &#8203;<!-- 15 -->[docs] Improve search experience (#28801) @siriwatknp
979- &#8203;<!-- 14 -->[docs] Fix demo of the responsive drawer (#28226) @goncalovf
980- &#8203;<!-- 13 -->[docs] Fix global theme link demo (#28974) @ZeeshanTamboli
981- &#8203;<!-- 12 -->[docs] Update box example to use 'backgroundColor' rather than 'bgColor' (#28958) @Jareechang
982- &#8203;<!-- 11 -->[docs] corrected `Box` import for `sx-prop` example (#28873) @phudekar
983- &#8203;<!-- 10 -->[docs] Fix footnote ID links in CONTRIBUTING.md (#28849) @officialpiyush
984- &#8203;<!-- 09 -->[docs] Fix color & density playground (#28803) @siriwatknp
985- &#8203;<!-- 08 -->[docs] Improve visibility of styled engine configuration section in installation guide (#28903) @Jareechang
986
987### Core
988
989- &#8203;<!-- 30 -->[core] Prevent yarn cache growing infinitely (#29040) @eps1lon
990- &#8203;<!-- 29 -->[core] Update browserslist (#29025) @eps1lon
991- &#8203;<!-- 28 -->[core] Update `peerDependencies` to require `latest` instead of `next` (#29007) @eps1lon
992- &#8203;<!-- 27 -->[core] Increase memory limit for size:snapshot (#29005) @eps1lon
993- &#8203;<!-- 26 -->[core] Init `private` Joy package (#28957) @siriwatknp
994- &#8203;<!-- 02 -->[test] Remove a11y snapshot tests (#28887) @eps1lon
995
996All contributors of this release in alphabetical order: @amen-souissi, @benmneb, @epodol, @eps1lon, @goncalovf, @hbjORbj, @Jareechang, @kgregory, @michaldudak, @mnajdova, @mottox2, @officialpiyush, @phudekar, @siriwatknp, @tanyabouman, @visualfanatic, @ZeeshanTamboli
997
998## 5.0.3
999
1000<!-- generated comparing v5.0.2..master -->
1001
1002_Oct 7, 2021_
1003
1004A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
1005
1006- 🧪 Created the first component in @mui/material-next - our v6 prototype package.
1007- 🐛 Fixed many bugs and improved the documentation 📚.
1008
1009### `@mui/material@5.0.3`
1010
1011- &#8203;<!-- 10 -->[Stack] Add props & variants types in the theme (#28843) @mnajdova
1012- &#8203;<!-- 12 -->[InputLabel] Fix condition for applying formControl overrides (#28707) @yevheniiminin
1013- &#8203;<!-- 05 -->[Tooltip] Allow overriding internal components and their props (#28692) @michaldudak
1014- &#8203;<!-- 04 -->[transitions] Fix `addEndListener` not being called with the DOM node (#28715) @eps1lon
1015
1016### `@mui/codemod@5.0.3`
1017
1018- &#8203;<!-- 37 -->[codemod] Fix `optimal-imports` to support v4 and v5-alpha, beta (#28812) @siriwatknp
1019
1020### `@mui/system@5.0.3`
1021
1022- &#8203;<!-- 09 -->[system] Add padding/margin-block/inline to spacing (#28813) @smmoosavi
1023
1024### `@mui/styled-engine-sc@5.0.3`
1025
1026- &#8203;<!-- 42 -->Don't allow styled-components APIs on mui styled function (#28807) @hbjORbj
1027
1028### `@mui/base@5.0.0-alpha.50`
1029
1030- &#8203;<!-- 38 -->[ButtonUnstyled] Don't set redundant role=button (#28488) @michaldudak
1031- &#8203;<!-- 43 -->[SliderUnstyled] Prevent unknown-prop error when using marks prop (#28868) @hbjORbj
1032
1033### `@mui/lab@5.0.0-alpha.50`
1034
1035- &#8203;<!-- 11 -->[pickers] Change view even if `onViewChange` is set (#28765) @eps1lon
1036
1037### `@mui/material-next@6.0.0-alpha.4`
1038
1039- &#8203;<!-- 39 -->[Button-next] Create Button in material-next (#28313) @michaldudak
1040
1041### Docs
1042
1043- &#8203;<!-- 34 -->[docs] Add alike v4 default button color in migration (#28881) @siriwatknp
1044- &#8203;<!-- 34 -->[docs] Use PNG instead of SVG for color preview (#28699) @eps1lon
1045- &#8203;<!-- 33 -->[docs] Use client-side navigation when activating docsearch results (#28750) @eps1lon
1046- &#8203;<!-- 32 -->[docs] Fluid icon size in icons search (#28747) @eps1lon
1047- &#8203;<!-- 31 -->[docs] Fix the wrong import in docs grid page (#28863) @taghi-khavari
1048- &#8203;<!-- 30 -->[docs] Fix typo in Pagination docs (#28864) @ZeeshanTamboli
1049- &#8203;<!-- 29 -->[docs] Fix 404 links (#28710) @mnajdova
1050- &#8203;<!-- 28 -->[docs] Fix typo in Mui CSS classname (#28725) @cacpgomes
1051- &#8203;<!-- 27 -->[docs] Match example to codesandbox demo and update ID link (#28762) @AnilSeervi
1052- &#8203;<!-- 26 -->[docs] Fix typo in system/box documentation (#28822) @iamsergo
1053- &#8203;<!-- 25 -->[docs] Use HTML standards for autocomplete attributes (#28827) @epodol
1054- &#8203;<!-- 24 -->[docs] Improve styled-components integration (#28713) @mnajdova
1055- &#8203;<!-- 23 -->[docs] Correct Select's menu placement description (#28748) @michaldudak
1056- &#8203;<!-- 22 -->[docs] AdapterDayJS -> AdapterDayjs (#28770) @veerreshr
1057- &#8203;<!-- 21 -->[docs] Theme documentation, typo fix (#28805) @saeedseyfi
1058- &#8203;<!-- 20 -->[docs] Add the last diamond sponsor (#28737) @hbjORbj
1059- &#8203;<!-- 19 -->[docs] Fix various links in CONTRIBUTING (#28751) @AnilSeervi
1060- &#8203;<!-- 18 -->[docs] Only add JSS to demos (#28698) @eps1lon
1061- &#8203;<!-- 17 -->[docs] Update v5 status in release schedule (#28700) @owais635
1062- &#8203;<!-- 16 -->[docs] Fix typo in /guides/styled-engine (#28720) @Sharry0
1063- &#8203;<!-- 15 -->[docs] Fix typo in chip documentation (#28641) @avranju94
1064- &#8203;<!-- 14 -->[docs] Fix versions page (#28682) @mnajdova
1065- &#8203;<!-- 13 -->[docs] Remove legacy team page (#28646) @mnajdova
1066- &#8203;<!-- 41 -->[website] add "React" to the hero description (#28830) @danilo-leal
1067- &#8203;<!-- 03 -->[website] Fix constantly reloading when Russian language is set (#28869) @mnajdova
1068- &#8203;<!-- 02 -->[website] Compress one avatar image on about us page (#28823) @hbjORbj
1069- &#8203;<!-- 01 -->[website] Hide 'become a diamond sponsor' box on landing page (#28814) @hbjORbj
1070- &#8203;<!-- 40 -->[website] Update Benny's profile on about us page (#28816) @hbjORbj
1071
1072### Core
1073
1074- &#8203;<!-- 36 -->[core] Remove `--exact` from `release:version` (#28840) @siriwatknp
1075- &#8203;<!-- 35 -->[core] Neglect framer from release flow (#28680) @siriwatknp
1076- &#8203;<!-- 08 -->[test] Add a test for not allowing styled-components' APIs on mui `styled` function (#28862) @hbjORbj
1077- &#8203;<!-- 07 -->[test] Fix instances where type tests were only passing due to object being part of ReactNode (#28804) @eps1lon
1078- &#8203;<!-- 06 -->[test] Move ByMuiTest to test/utils (#28509) @eps1lon
1079
1080All contributors of this release in alphabetical order: @AnilSeervi, @avranju94, @cacpgomes, @danilo-leal, @epodol, @eps1lon, @hbjORbj, @iamsergo, @michaldudak, @mnajdova, @owais635, @saeedseyfi, @Sharry0, @siriwatknp, @smmoosavi, @taghi-khavari, @veerreshr, @yevheniiminin, @ZeeshanTamboli
1081
1082## 5.0.2
1083
1084<!-- generated comparing v5.0.1..master -->
1085
1086_Sep 29, 2021_
1087
1088A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
1089
1090- 🔧 Improve `jss-to-styled` codemod to use new package names.
1091- And many more 🐛 bug fixes and 📚 improvements.
1092
1093### `@mui/material@5.0.2`
1094
1095- &#8203;<!-- 28 -->[Checkbox] Fix form submission with empty value (#28423) @garronej
1096- &#8203;<!-- 08 -->[Slider] Don't error on minimal changes with readonly value (#28472) @eps1lon
1097- &#8203;<!-- 07 -->[Switch] Fix style overrides on input (#28576) @praveenkumar-kalidass
1098- &#8203;<!-- 03 -->[useMediaQuery] Add types for `matchMedia` option and deprecate exported interfaces (#28413) @eps1lon
1099
1100### `@mui/codemod@5.0.2`
1101
1102- &#8203;<!-- 27 -->[codemod] Add MenuItem v.1.0.0 transform for primaryText property (#28640) @dmitry-yudakov
1103- &#8203;<!-- 26 -->[codemod] Update the imports in `jss-to-styled` to match the new package names (#28667) @mnajdova
1104
1105### `@mui/system@5.0.2`
1106
1107- &#8203;<!-- 06 -->[system] Fix types to support theme callbacks on pseudo and nested selectors (#28570) @mnajdova
1108
1109### Docs
1110
1111- &#8203;<!-- 23 -->[docs] Remove languages: fr, de, ja, es, ru (#28663) @mnajdova
1112- &#8203;<!-- 22 -->[docs] Improve old doc versions discoverability (#28651) @danilo-leal
1113- &#8203;<!-- 21 -->[docs] Make the Toggle Button size demo use default icon size (#28656) @danilo-leal
1114- &#8203;<!-- 20 -->[docs] Uniformize the code's font family (#28582) @oliviertassinari
1115- &#8203;<!-- 19 -->[docs] Removed duplicate line in date-ranger-picker.md file (#28635) @naveen-bharathi
1116- &#8203;<!-- 18 -->[docs] Fix title MUI x2 (#28634) @oliviertassinari
1117- &#8203;<!-- 17 -->[docs] Polish email validation logic (#28255) @kiznick
1118- &#8203;<!-- 16 -->[docs] Improve migration-v4.md phrasing (#28253) @adamthewebguy
1119- &#8203;<!-- 15 -->[docs] Fix color in example (#28527) @alexeagleson
1120- &#8203;<!-- 14 -->[docs] Fix typo in generated class names section (#28549) @fxlemire
1121- &#8203;<!-- 13 -->[docs] Mention Premium pricing cap (#28581) @oliviertassinari
1122- &#8203;<!-- 12 -->[docs] Update examples to use latest mui #28565 @siriwatknp
1123- &#8203;<!-- 11 -->[docs] Push the fixes on Next.js's Link to the examples (#28178) @oliviertassinari
1124- &#8203;<!-- 10 -->[docs] Fix wrong name for zIndex's property example in /system/ (#28541) @chetrit
1125- &#8203;<!-- 08 -->[examples] Nextjs Link missing passHref #28588 (#28661) @Brlaney
1126- &#8203;<!-- 02 -->[website] Iteration on the pricing page (#28406) @danilo-leal
1127- &#8203;<!-- 01 -->[website] Batch fixes (#28564) @siriwatknp
1128
1129### Core
1130
1131- &#8203;<!-- 25 -->[core] Improve Renovate groups (#28642) @eps1lon
1132- &#8203;<!-- 24 -->[core] Batch small changes (#28553) @oliviertassinari
1133- &#8203;<!-- 05 -->[test] Document where the value for SwitchBase#value comes from (#28638) @eps1lon
1134- &#8203;<!-- 04 -->[test] Make `seconds` `views` test pass in browsers (#28511) @eps1lon
1135
1136All contributors of this release in alphabetical order: @adamthewebguy, @alexeagleson, @Brlaney, @chetrit, @danilo-leal, @dmitry-yudakov, @eps1lon, @fxlemire, @garronej, @kiznick, @mnajdova, @naveen-bharathi, @oliviertassinari, @praveenkumar-kalidass, @siriwatknp
1137
1138## 5.0.1
1139
1140<!-- generated comparing v5.0.0..master -->
1141
1142_Sep 22, 2021_
1143
1144A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
1145
1146- 🔎 Improve the search on the documentation.
1147- 📚 Improve the v4 to v5 migration guide.
1148- And many more 🐛 bug fixes and 📚 improvements.
1149
1150### `@mui/material@5.0.1`
1151
1152- &#8203;<!-- 18 -->[Radio] Fix support for number value type (#26772) @sakura90
1153- &#8203;<!-- 12 -->[useMediaQuery] Reduce bundle size (#28412) @eps1lon
1154
1155### `@mui/codemod@5.0.1`
1156
1157- &#8203;<!-- 43 -->[codemod] Cover edge case for theme-spacing #28400 @siriwatknp
1158
1159### `@mui/lab@5.0.0-alpha.48`
1160
1161- &#8203;<!-- 36 -->[DateTimePicker] Support `seconds` `view` (#25095) @breitembach
1162- &#8203;<!-- 13 -->[TimePicker] Fire change event when meridiem changes (#26600) @coder-freestyle
1163
1164### Docs
1165
1166- &#8203;<!-- 35 -->[docs] Fix missing exit animation for transition Poppers (#28506) @eps1lon
1167- &#8203;<!-- 34 -->[docs] Fix migration v5 docs (#28530) @siriwatknp
1168- &#8203;<!-- 33 -->[docs] Avoid re-mounting the whole tree when switching theme direction (#28495) @eps1lon
1169- &#8203;<!-- 32 -->[docs] Fix html compliance (#28429) @oliviertassinari
1170- &#8203;<!-- 31 -->[docs] Use hyphen-case for CSS properties in /system/properties (#28489) @chetrit
1171- &#8203;<!-- 30 -->[docs] Update caret position in comments to match npm scope (#28426) @eps1lon
1172- &#8203;<!-- 29 -->[docs] Fix CONTRIBUTING to point out to master as targeted branch (#28396) @mnajdova
1173- &#8203;<!-- 28 -->[docs] Update examples to remove 'beta' (#28475) @oliviertassinari
1174- &#8203;<!-- 27 -->[docs] Fix 404 links to MUI X API (#28176) @oliviertassinari
1175- &#8203;<!-- 26 -->[docs] Fix broken/incorrect attributes links in Avatar and NativeSelect API pages (#28417) @xenostar
1176- &#8203;<!-- 25 -->[docs] Explain how `<Alert icon={false} />` behaves (#28348) @nguyenkhanhnam
1177- &#8203;<!-- 24 -->[docs] Fix typo in /system/the-sx-prop (#28393) @danwoods
1178- &#8203;<!-- 23 -->[docs] Correct the migration doc (#28391) @michaldudak
1179- &#8203;<!-- 22 -->[docs] Fix the notification display logic (#28389) @oliviertassinari
1180- &#8203;<!-- 21 -->[docs] Add notification for v5 @oliviertassinari
1181- &#8203;<!-- 20 -->[docs] Fix typo (#28521) @valse
1182- &#8203;<!-- 12 -->[website] Implement algolia redesign (#28252) @hbjORbj
1183- &#8203;<!-- 11 -->[website] Update data-grid dependencies #28531 @siriwatknp
1184- &#8203;<!-- 10 -->[website] Cleanup unused files after rebranding (#28505) @siriwatknp
1185- &#8203;<!-- 09 -->[website] Update /company pages to use marketing website Header and Footer (#28498) @danilo-leal
1186- &#8203;<!-- 08 -->[website] Optimize images (#28486) @michaldudak
1187- &#8203;<!-- 07 -->[website] Add components index page (#28485) @siriwatknp
1188- &#8203;<!-- 06 -->[website] Fix typo (#28478) @oliviertassinari
1189- &#8203;<!-- 05 -->[website] Fix crash (#28474) @oliviertassinari
1190- &#8203;<!-- 04 -->[website] Close the open engineering roles (#28428) @oliviertassinari
1191- &#8203;<!-- 03 -->[website] Fix 40x links (#28401) @mnajdova
1192- &#8203;<!-- 02 -->[website] Fix SEO issues reported by moz.com (#28402) @mnajdova
1193- &#8203;<!-- 01 -->[website] Fix production issues (#28384) @siriwatknp
1194
1195### Core
1196
1197- &#8203;<!-- 44 -->[core] Fix release:changelog base branch (#28533) @mnajdova
1198- &#8203;<!-- 42 -->[core] Remove code handling JSS components (#28421) @eps1lon
1199- &#8203;<!-- 41 -->[core] Remove unused dependencies (#28468) @eps1lon
1200- &#8203;<!-- 40 -->[core] Ensure both docs bundles are analyzeable (#28410) @eps1lon
1201- &#8203;<!-- 39 -->[core] Switch to webpack 5 (#28248) @eps1lon
1202- &#8203;<!-- 38 -->[core] Batch small changes (#28177) @oliviertassinari
1203- &#8203;<!-- 37 -->[core] Update publish tag to latest (#28382) @mnajdova
1204- &#8203;<!-- 19 -->[framer] Update @mui/\* dependencies (#28469) @eps1lon
1205- &#8203;<!-- 17 -->[test] Add custom queries to `screen` (#28507) @eps1lon
1206- &#8203;<!-- 16 -->[test] Run listChangedFiles against master (#28504) @eps1lon
1207- &#8203;<!-- 15 -->[test] Increase BrowserStack timeout for Firefox (#28476) @oliviertassinari
1208- &#8203;<!-- 14 -->[test] Use testing-library alpha when running React 18 tests (#28267) @eps1lon
1209
1210All contributors of this release in alphabetical order: @breitembach, @chetrit, @coder-freestyle, @danilo-leal, @danwoods, @eps1lon, @hbjORbj, @michaldudak, @mnajdova, @nguyenkhanhnam, @oliviertassinari, @sakura90, @siriwatknp, @valse, @xenostar
1211
1212## 5.0.0
1213
1214<!-- generated comparing v5.0.0-rc.1..next -->
1215
1216_Sep 16, 2021_
1217
1218After over 400 days of development and over 40 canary releases, we are excited to introduce [MUI Core v5.0.0](https://mui.com/blog/mui-core-v5/)!
1219
1220Some statistics with the released of v5.0.0 compared to the one of v4.0.0:
1221
1222- 5,832 new commits
1223- From 2M downloads/month to 9.5M downloads/month on npm
1224- From 350k users/month to 700k users/month on the documentation
1225
1226A big thanks to the 600+ contributors who made the release possible!
1227
1228The 5.0.0 version includes all changes done in the alpha, beta, and rc releases listed below.
1229These are the changes done from the last release candidate version (5.0.0-rc.1):
1230
1231### `@mui/material@5.0.0`
1232
1233- &#8203;<!-- 15 -->[Autocomplete] Fix reset value on blur for freeSolo input (#28190) @praveenkumar-kalidass
1234- &#8203;<!-- 14 -->[ButtonBase] Revert to the pre-unstyled implementation (#28225) @michaldudak
1235- &#8203;<!-- 13 -->[Checkbox] Fix color proptype typo (#28265) @sydneyjodon-wk
1236- &#8203;<!-- 40 -->[Tooltip] Ensure user-select CSS property is reverted after touch end (#28372) @tholman
1237
1238### `@mui/system@5.0.0`
1239
1240- &#8203;<!-- 25 -->[system] Fix missing typings for createSpacing (#28361) @eps1lon
1241
1242### `@mui/codemod@5.0.0`
1243
1244- &#8203;<!-- 21 -->[codemod] Fix jss-to-styled to support other export class, function etc. (#28321) @jedwards1211
1245
1246### `@mui/lab@5.0.0-alpha.46`
1247
1248- &#8203;<!-- 09 -->[DateTimePicker] Change bottom position of AM/PM buttons (#27534) @nikitabobers
1249- &#8203;<!-- 02 -->[pickers] Add visual regression tests for open views (#28224) @eps1lon
1250
1251### Docs
1252
1253- &#8203;<!-- 38 -->[blog] Introducing MUI Core v5.0 (#27912) @oliviertassinari
1254- &#8203;<!-- 08 -->[docs] Fix quotes in font-face literal (#28260) @Aurelain
1255- &#8203;<!-- 07 -->[docs] Update redirects to X's docs (#28263) @m4theushw
1256- &#8203;<!-- 06 -->[docs] Change Material-UI to MUI in the console (#28270) @mbrookes
1257- &#8203;<!-- 05 -->[docs] Docs redesign adjustments (#28203) @mnajdova
1258- &#8203;<!-- 04 -->[docs] How to compose theme in steps (#28246) @goncalovf
1259- &#8203;<!-- 03 -->[docs] Fix DataGrid demo console warning in Table docs (#28235) @ZeeshanTamboli
1260- &#8203;<!-- 32 -->[docs] Fix typo in v4 to v5 migration guide (#28353) @zadeviggers
1261- &#8203;<!-- 17 -->[docs] Fix typo in transition docs (#28312) @tamboliasir1
1262- &#8203;<!-- 20 -->[docs] Use https for material-ui & reactcommunity links (#28304) @aghArdeshir
1263- &#8203;<!-- 22 -->[docs] Add IBM Plex font locally (#28325) @siriwatknp
1264- &#8203;<!-- 26 -->[docs] Fix failing client-side navigation for /api routes (#28356) @eps1lon
1265- &#8203;<!-- 29 -->[docs] Update the nav order (#28323) @mbrookes
1266- &#8203;<!-- 30 -->[docs] Compress images with ImageOptim @oliviertassinari
1267- &#8203;<!-- 34 -->[docs] Replace remaining unstyled package reference (#28351) @michaldudak
1268- &#8203;<!-- 35 -->[docs] No import from react-router (#28329) @eps1lon
1269- &#8203;<!-- 36 -->[website] Refine website before go-live (#28081) @siriwatknp
1270- &#8203;<!-- 31 -->[website] Update manifest to new logo (#28355) @siriwatknp
1271- &#8203;<!-- 01 -->[website] Add product-x page (#28106) @siriwatknp
1272- &#8203;<!-- 24 -->[website] Revert store URL to material-ui.com/store (#28365) @michaldudak
1273- &#8203;<!-- 33 -->[website] Rename domain to mui.com (#28332) @mnajdova
1274
1275### Core
1276
1277- &#8203;<!-- 12 -->[core] Replace Material-UI with MUI (#28243) @mnajdova
1278- &#8203;<!-- 11 -->[core] Prepare for v5 stable release (#28240) @mnajdova
1279- &#8203;<!-- 10 -->[core] Mark lines that needs to be changed with a major release (#28238) @mnajdova
1280- &#8203;<!-- 18 -->[core] Various updates to what we consider the default branch (#28328) @eps1lon
1281- &#8203;<!-- 23 -->[core] Remove experimental bundle size tracking page (#28334) @eps1lon
1282- &#8203;<!-- 27 -->[core] Support release:build with cmd.exe (#28318) @michaldudak
1283- &#8203;<!-- 28 -->[core] Remove unnecessary titleize warning (#28349) @eps1lon
1284- &#8203;<!-- 37 -->[core] Batch small fixes (#28381) @oliviertassinari
1285- &#8203;<!-- 16 -->[test] Recommend yarn t over test:watch (#28254) @eps1lon
1286- &#8203;<!-- 19 -->[test] Lazily import fixtures (#28239) @eps1lon
1287- &#8203;<!-- 39 -->[test] Assert on user-select that has the same value across browsers (#28378) @eps1lon
1288
1289All contributors of this release in alphabetical order: @aghArdeshir, @Aurelain, @eps1lon, @goncalovf, @jedwards1211, @m4theushw, @mbrookes, @michald
1290udak, @mnajdova, @nikitabobers, @praveenkumar-kalidass, @siriwatknp, @sydneyjodon-wk, @tamboliasir1, @tholman, @zadeviggers, @ZeeshanTamboli
1291
1292## 5.0.0-rc.1
1293
1294<!-- generated comparing v5.0.0-rc.0..next -->
1295
1296_Sep 8, 2021_
1297
1298A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
1299
1300- 📚 Improved the codemod and migration guide for upgrading to v5
1301- 🐛 Fixed some bugs and regressions
1302
1303### `@mui/material@5.0.0-rc.1`
1304
1305- &#8203;<!-- 46 -->[Autocomplete] Fix virtualization regression (#28129) @oliviertassinari
1306- &#8203;<!-- 45 -->[Button] Use deeper imports from unstyled, correct docs (#28074) @michaldudak
1307- &#8203;<!-- 44 -->[ButtonBase] Fix ripple persisting on blur (#28186) @michaldudak
1308- &#8203;<!-- 14 -->[Link] Infer `ref` type from `component` (#28101) @eps1lon
1309- &#8203;<!-- 11 -->[Popper] Fix bundle size regression (#27910) @oliviertassinari
1310- &#8203;<!-- 10 -->[Select] Merge `ref` of `Select` and `input` element (#28054) @DouglasPds
1311- &#8203;<!-- 07 -->[Tabs] Improve error message formatting for invalid `value` (#28172) @eps1lon
1312
1313### `@mui/system@5.0.0-rc.1`
1314
1315- &#8203;<!-- 47 -->[system] Change type of return value of overridesResolver (#28220) @hbjORbj
1316- &#8203;<!-- 09 -->[system] Fix zero value condition (#28219) @siriwatknp
1317- &#8203;<!-- 08 -->[system] Shorten class names in production (#27932) @oliviertassinari
1318
1319### `@mui/codemod@5.0.0-rc.1`
1320
1321- &#8203;<!-- 42 -->[codemod] Fix various reported issues on `preset-safe` (#28183) @mnajdova
1322
1323### `@mui/lab@5.0.0-alpha.46`
1324
1325- &#8203;<!-- 43 -->[ClockPicker] Fix to narrow hover area for am hours in am/pm clock (#28207) @eps1lon
1326- &#8203;<!-- 13 -->[Masonry] Improve the styling on the demos (#27957) @hbjORbj
1327- &#8203;<!-- 12 -->[MasonryItem] Fix crash on unmount when using React 18 (#28202) @eps1lon
1328
1329### Docs
1330
1331- &#8203;<!-- 33 -->[docs] Fixes makeStyles migration example (#28213) @RomarQ
1332- &#8203;<!-- 32 -->[docs] Fix some outdated migration guide (#28222) @siriwatknp
1333- &#8203;<!-- 31 -->[docs] Update previews (#28223) @eps1lon
1334- &#8203;<!-- 30 -->[docs] Demo how to use a specific slide direction for Snackbar (#28211) @goncalovf
1335- &#8203;<!-- 29 -->[docs] Improve docs for creating dark theme (#28104) @mnajdova
1336- &#8203;<!-- 28 -->[docs] Don't use Material theme in unstyled demos (#28073) @michaldudak
1337- &#8203;<!-- 27 -->[docs] Fix api doc import example (#28199) @siriwatknp
1338- &#8203;<!-- 26 -->[docs] Remove demo for re-creating Material-UI switches (#28042) @eps1lon
1339- &#8203;<!-- 25 -->[docs] Improve legibility of CTA on landing page (#28124) @akashshyamdev
1340- &#8203;<!-- 24 -->[docs] Fix Link outdated default underline prop (#28134) @outofgamut
1341- &#8203;<!-- 23 -->[docs] Fix branding theme leaking on the templates (#28120) @mnajdova
1342- &#8203;<!-- 22 -->[docs] Fix wrong package name in codemod (#28118) @aleccaputo
1343- &#8203;<!-- 21 -->[docs] Cancelled subscription @oliviertassinari
1344- &#8203;<!-- 20 -->[docs] Remove style duplication (#28087) @oliviertassinari
1345- &#8203;<!-- 19 -->[docs] Fix migration guide typo (#28113) @paullaros
1346- &#8203;<!-- 18 -->[docs] Reorder app bar actions (#28089) @mnajdova
1347- &#8203;<!-- 17 -->[docs] Support Material design theme in MarkdownElement (#28109) @eps1lon
1348- &#8203;<!-- 16 -->[docs] Improve diamond sponsors in the navigation (#28090) @mnajdova
1349- &#8203;<!-- 15 -->[docs] Remove unnecessary comma (#28072) @michaldudak
1350- &#8203;<!-- 04 -->[website] Add new careers page (#28184) @hbjORbj
1351- &#8203;<!-- 03 -->[website] Disable Next.js font optimization (#28128) @michaldudak
1352- &#8203;<!-- 02 -->[website] Polish design-kits & templates (#28131) @siriwatknp
1353- &#8203;<!-- 01 -->[website] Update utm referral params #28040 @siriwatknp
1354
1355### Core
1356
1357- &#8203;<!-- 41 -->[core] Misc bundle size tracking improvements (#28205) @eps1lon
1358- &#8203;<!-- 40 -->[core] Ensure code preview is valid JavaScript (#28215) @eps1lon
1359- &#8203;<!-- 39 -->[core] Create @mui/material-next package (#28200) @michaldudak
1360- &#8203;<!-- 38 -->[core] Rename directories to match the new package names (#28185) @mnajdova
1361- &#8203;<!-- 37 -->[core] Remove unused include (#28187) @eps1lon
1362- &#8203;<!-- 36 -->[core] Fix PR detection mechanism for upstream PRs (#28171) @eps1lon
1363- &#8203;<!-- 35 -->[core] Simplify ResizeObserver logic (#28037) @oliviertassinari
1364- &#8203;<!-- 34 -->[core] Include TS modules in rollup import resolution (#28094) @michaldudak
1365- &#8203;<!-- 06 -->[test] Update test to consider unsuppressed double render logs in React 18 (#28068) @eps1lon
1366- &#8203;<!-- 05 -->[typescript] Make types of componentsProps consistent (#27499) @michaldudak
1367
1368All contributors of this release in alphabetical order: @akashshyamdev, @aleccaputo, @DouglasPds, @eps1lon, @goncalovf,
1369@hbjORbj, @michaldudak, @mnajdova, @oliviertassinari, @outofgamut, @paullaros, @RomarQ, @siriwatknp
1370
1371## 5.0.0-rc.0
1372
1373<!-- generated comparing v5.0.0-beta.5..next -->
1374
1375_Sep 1, 2021_
1376
1377A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
1378
1379- 🎉 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-org/material-ui/discussions/27803).
1380- 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/guides/migration-v4/#preset-safe)
1381- 🧪 Added new `<Mansory>` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj 👏!
1382
1383### `@mui/material@5.0.0-rc.0`
1384
1385#### Breaking changes
1386
1387- &#8203;<!-- 33 -->[core] Rename packages (#28049) @mnajdova
1388
1389 replace `@material-ui/*` prefix with `@mui/*`:
1390
1391 ```sh
1392 @material-ui/system -> @mui/system
1393 @material-ui/styles -> @mui/styles
1394 @material-ui/lab -> @mui/lab
1395 @material-ui/types -> @mui/types
1396 @material-ui/styled-engine -> @mui/styled-engine
1397 @material-ui/styled-engine-sc ->@mui/styled-engine-sc
1398 @material-ui/private-theming -> @mui/private-theming
1399 @material-ui/codemod -> @mui/codemod
1400 ```
1401
1402 except these 3 packages that are renamed.
1403
1404 ```sh
1405 @material-ui/core => @mui/material // represents Material Design components.
1406 @material-ui/icons => @mui/icons-material // represents Material Design icons.
1407 @material-ui/unstyled => @mui/base // fully functional components with minimum styles.
1408 ```
1409
1410 > **Note**: `@mui/base` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
1411
1412 We encourage you to use the [codemod](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) for smooth migration.
1413
1414#### Changes
1415
1416- &#8203;<!-- 39 -->[Autocomplete] Update warning for `value` prop (#27977) @vedadeepta
1417- &#8203;<!-- 37 -->[ButtonGroup] Update PropTypes to match augmentable interface (#27944) @aaronlademann-wf
1418- &#8203;<!-- 36 -->[CardMedia] Add `image` role if `image` prop is specified but no image `component` is specified (#27676) @eps1lon
1419- &#8203;<!-- 10 -->[InputBase] Fix autofill issue (#28070) @mnajdova
1420- &#8203;<!-- 08 -->[Tabs] Fix indicator position when tab size changes (ResizeObserver) (#27791) @hbjORbj
1421- &#8203;<!-- 06 -->[TextareaAutosize] Sync height when the width of the textarea changes (#27840) @hbjORbj
1422- &#8203;<!-- 05 -->[ToggleButtonGroup] Add "disabled" prop (#27998) @chetas411
1423- &#8203;<!-- 34 -->[core] Export types for module augmentation (#28078) @m4theushw
1424
1425### `@mui/base@5.0.0-alpha.45`
1426
1427- &#8203;<!-- 38 -->[Button] Create ButtonUnstyled and useButton (#27600) @michaldudak
1428
1429### `@mui/lab@5.0.0-rc.0`
1430
1431- &#8203;<!-- 09 -->[Masonry] Add new component (#27439) @hbjORbj
1432
1433### `@mui/codemod@5.0.0-rc.0`
1434
1435- &#8203;<!-- 35 -->[codemod] Add `mui-replace` codemod transform (#28060) @siriwatknp
1436
1437### Docs
1438
1439- &#8203;<!-- 28 -->[docs] Fix preview for multiline JSX attributes (#28092) @eps1lon
1440- &#8203;<!-- 27 -->[docs] Add a recommendation for hoisting GlobalStyles to static constant (#28088) @mnajdova
1441- &#8203;<!-- 26 -->[docs] Update toolbar menu to behave closer to default (#28086) @oliviertassinari
1442- &#8203;<!-- 25 -->[docs] Markdown redesign polish (#27956) @mnajdova
1443- &#8203;<!-- 24 -->[docs] Fully translated /api/\* pages (#28044) @eps1lon
1444- &#8203;<!-- 23 -->[docs] Fix matchSorter import path in Autocomplete (#28063) @StefanBRas
1445- &#8203;<!-- 22 -->[docs] Fix Fab demo overflow on mobile (#28033) @rajzik
1446- &#8203;<!-- 21 -->[docs] Add notistack example compatible with v5.x.x (#27881) @iamhosseindhv
1447- &#8203;<!-- 20 -->[docs] Change sign-up template autocomplete to use "new-password" (#28028) @StefanTobler
1448- &#8203;<!-- 19 -->[docs] Improve the support expectations for developers (#27999) @oliviertassinari
1449- &#8203;<!-- 18 -->[docs] Don't use nested ternary (#27986) @eps1lon
1450- &#8203;<!-- 17 -->[docs] Sync redirections from X into Core @oliviertassinari
1451- &#8203;<!-- 16 -->[docs] Fix typo '.MuiOutinedInput' -> '.MuiOutlinedInput' (#27997) @rsxdalv
1452- &#8203;<!-- 15 -->[docs] fix floating action button broken demo (#27976) @rajzik
1453- &#8203;<!-- 14 -->[docs] Update correct variable name (#27960) @bene-we
1454- &#8203;<!-- 13 -->[docs] Fix Performance typo (#27965) @tdmiller1
1455- &#8203;<!-- 12 -->[docs] Add GridExportCSVOptions page to documentation pages (#27951) @flaviendelangle
1456- &#8203;<!-- 04 -->[website] Add product core page (#27952) @siriwatknp
1457- &#8203;<!-- 03 -->[website] Make AppBar height and border consistent with nav header (#28085) @michaldudak
1458- &#8203;<!-- 02 -->[website] Fix typos in the rebranding (#28069) @oliviertassinari
1459- &#8203;<!-- 01 -->[website] Refine home, pricing and about pages (#27927) @siriwatknp
1460
1461### Core
1462
1463- &#8203;<!-- 11 -->[eslint-plugin-material-ui] Only require translation of word characters and not API (#28043) @eps1lon
1464- &#8203;<!-- 32 -->[core] Use lintable pattern for debounced callbacks (#27985) @eps1lon
1465- &#8203;<!-- 31 -->[core] Remove file-wide disables of `no-use-before-define` (#27984) @eps1lon
1466- &#8203;<!-- 30 -->[core] Improve `release:changelog` script (#27941) @eps1lon
1467- &#8203;<!-- 29 -->[core] Enforce curly braces for block statements (#27946) @eps1lon
1468- &#8203;<!-- 07 -->[test] Disable BrowserStack for PRs (#28041) @eps1lon
1469
1470All contributors of this release in alphabetical order: @aaronlademann-wf, @bene-we, @chetas411, @eps1lon, @flaviendelangle, @hbjORbj, @iamhosseindhv, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @rajzik, @rsxdalv, @siriwatknp, @StefanBRas, @StefanTobler, @tdmiller1, @vedadeepta
1471
1472## 5.0.0-beta.5
1473
1474<!-- generated comparing v5.0.0-beta.4..next -->
1475
1476_Aug 24, 2021_
1477
1478A big thanks to the 26 contributors who made this release possible. Here are some highlights ✨:
1479
1480- 🐛 Fixed a lot of bugs and regressions to get us closer to the [v5 stable release milestone](https://github.com/mui-org/material-ui/milestone/44)
1481- 📚 Improved the docs and the migration guide for upgrading to v5
1482
1483### `@material-ui/core@5.0.0-beta.5`
1484
1485#### Breaking changes
1486
1487- &#8203;<!-- 36 --> [core] Update `.browserslistrc` file (#27788) @DanailH
1488
1489 The targets of the default bundle have changed:
1490
1491 - Chrome 90 (up from 84)
1492 - Edge 91 (up from 85)
1493 - Safari 14 (macOS) (up from 13.1) and 12.4 (iOS) (up from 12.2)
1494 - Opera 76 (up from 70)
1495
1496- &#8203;<!-- 43 --> [Autocomplete] Rename Value type to AutocompleteValue (#27804) @michaldudak
1497
1498 The `useAutocomplete` hook used a type called `Value`. It was a very generic name for a type specific to the `Autocomplete` control, so it was removed to `AutocompleteValue`.
1499
1500 ```diff
1501 -import { Value } from '@material-ui/core/useAutocomplete';
1502 +import { AutocompleteValue } from '@material-ui/core/useAutocomplete';
1503 ```
1504
1505#### Changes
1506
1507- &#8203;<!-- 42 --> [AppBar] Fix transparency issue on dark mode (#27281) @will-amaral
1508- &#8203;<!-- 29 --> Revert "[BottomNavigation] onClick does not fire if tapped while scrolling (#22524)" (#27690) @eps1lon
1509- &#8203;<!-- 68 --> [Autocomplete] Add verbose warning for defaultValue (#27925) @vedadeepta
1510- &#8203;<!-- 78 --> [Badge] Add missing classes to exported class object (#27943) @pvdstel
1511- &#8203;<!-- 41 --> [ButtonGroup] Allow `size` customization via module augmentation (#27834) @aaronlademann-wf
1512- &#8203;<!-- 67 --> [InputBase] Preserve host state when changing `rows` from undefined to defined (#27683) @eps1lon
1513- &#8203;<!-- 18 --> [InputLabel] Apply `asterisk` class when `required` (#27738) @alexile
1514- &#8203;<!-- 26 --> [Select] Fix NativeSelect propagating classes to the DOM element (#27797) @mnajdova
1515- &#8203;<!-- 28 --> [Stack] Match the customization standard (#27777) @oliviertassinari
1516- &#8203;<!-- 70 --> [SvgIcon] Apply custom color if defined in the theme (#27923) @eps1lon
1517- &#8203;<!-- 65 --> [Switch] Add optional `track` slot to SwitchUnstyled (#27916) @michaldudak
1518- &#8203;<!-- 52 --> [Tooltip] Fix broken arrow position in rtl (#27868) @mnajdova
1519- &#8203;<!-- 02 --> [transitions] Allow to run Slide into a custom container (#26623) @benny0642
1520
1521### `@material-ui/system@5.0.0-beta.5`
1522
1523#### Breaking changes
1524
1525- &#8203;<!-- 40 --> [system] Rename `styleProps` to `ownerState` (#27830) @mnajdova
1526
1527 The change was done in order to better reflect what they are, not what we think they will be used for.
1528
1529 ```diff
1530 <SomeSlotComponent
1531 - styleProps={propsAndState}
1532 + ownerState={propsAndState}
1533 />
1534 ```
1535
1536#### Changes
1537
1538- &#8203;<!-- 63 --> [system] Remove dependency on `overridesResolver` for the `variants` (#27859) @mnajdova
1539- &#8203;<!-- 32 --> [system] Forward `classes` prop if no slot specified in the options (#27795) @mnajdova
1540- &#8203;<!-- 46 --> [system] Fix pseudo class overridden in variants (#27847) @hbjORbj
1541
1542### `@material-ui/icons@5.0.0-beta.5`
1543
1544- &#8203;<!-- 13 --> [icons] Improve GitHub size (#27740) @oliviertassinari
1545
1546### `@material-ui/styled-engine@5.0.0-beta.5`
1547
1548- &#8203;<!-- 27 --> [styled-engine] Remove unecessary aliases (#27779) @oliviertassinari
1549- &#8203;<!-- 14 --> [styled-engine] Drop withComponent support (#27780) @oliviertassinari
1550
1551### `@material-ui/unstyled@5.0.0-alpha.44`
1552
1553- &#8203;<!-- 07 --> [core] Utilize `CSS.supports` in `SliderUnstyled` component (#27724) @DanailH
1554
1555### `@material-ui/lab@5.0.0-alpha.44`
1556
1557- &#8203;<!-- 54 --> [DatePicker] Fix click-away logic requiring second click in some cases (#24877) @eps1lon
1558- &#8203;<!-- 05 --> [lab] Use the public API for module augmentation (#27735) @oliviertassinari
1559- &#8203;<!-- 25 --> [Timeline] Fix color="inherit" on TimelineDot (#27794) @mnajdova
1560
1561### Docs
1562
1563- &#8203;<!-- 77 --> [docs] Redesign on markdown page (#27860) @mnajdova
1564- &#8203;<!-- 76 --> [docs] Split changelog into current and old (#27942) @eps1lon
1565- &#8203;<!-- 74 --> [docs] Migration, emphasize theme structure change (#27935) @oliviertassinari
1566- &#8203;<!-- 72 --> [docs] Fix missing `href` for AppDrawerNavItems (#27936) @eps1lon
1567- &#8203;<!-- 71 --> [docs] Pass window of iframe to framed demos (#27924) @eps1lon
1568- &#8203;<!-- 69 --> [docs] Simplify Select Chip demo styling (#27864) @LorenzHenk
1569- &#8203;<!-- 60 --> [docs] Move from Redux to React Context (#27828) @eps1lon
1570- &#8203;<!-- 58 --> [docs] Correct the useAutocomplete import path (#27805) @michaldudak
1571- &#8203;<!-- 56 --> [docs] Fix Tooltip flicker when hovering between code icon and demo (#27841) @eps1lon
1572- &#8203;<!-- 55 --> [docs] Don't log if a request was aborted in ServerRequestDatePicker demo (#27843) @eps1lon
1573- &#8203;<!-- 53 --> [docs] Fix false-positive useToolbar warning when using the demo toolbar menu (#27842) @eps1lon
1574- &#8203;<!-- 51 --> [docs] Add missing import (#27850) @nguyenyou
1575- &#8203;<!-- 50 --> [docs] Fix circular integration demo (#27856) @LorenzHenk
1576- &#8203;<!-- 48 --> [docs] A few examples is enough (#27874) @mekouar-mehdi
1577- &#8203;<!-- 47 --> [docs] Improve README.md (#27852) @surajkumar016
1578- &#8203;<!-- 45 --> [docs] Fix rtl issue on the demos (#27865) @mnajdova
1579- &#8203;<!-- 44 --> [docs] Apply the new branding theme and do the AppBar redesign (#27789) @mnajdova
1580- &#8203;<!-- 39 --> [docs] Improve grammar in 'Align list items' section (#27730) @atorenherrinton
1581- &#8203;<!-- 38 --> [docs] Make API documentation tables horizontally scrollable (#27787) @jakeanq
1582- &#8203;<!-- 37 --> [docs] Fix typo on "Customized dialogs" section (#27827) @nomanoff
1583- &#8203;<!-- 33 --> [docs] Fix Autocomplete country layout shift (#27814) @oliviertassinari
1584- &#8203;<!-- 23 --> [docs] Improve accessible labels for Card demos (#27675) @eps1lon
1585- &#8203;<!-- 22 --> [docs] Run in StrictMode by default (#27693) @eps1lon
1586- &#8203;<!-- 21 --> [docs] Display TypeScript code of demo if requested (#27691) @eps1lon
1587- &#8203;<!-- 20 --> [docs] Use country image instead of emoji (#27723) @qiweiii
1588- &#8203;<!-- 17 --> [docs] Zero runtime themeAugmentation documentation (#27706) @eps1lon
1589- &#8203;<!-- 15 --> [docs] Fix MobileTextStepper example to match description (#27682) @nolastemgarden
1590- &#8203;<!-- 12 --> [docs] Document the transfer-list limitations (#27783) @oliviertassinari
1591- &#8203;<!-- 11 --> [docs] Move TypeScript docs in context (#27782) @oliviertassinari
1592- &#8203;<!-- 10 --> [docs] Prefer linking API source TypeScript (#27781) @oliviertassinari
1593- &#8203;<!-- 09 --> [docs] Improve the Modal onClose migration (#27775) @oliviertassinari
1594- &#8203;<!-- 08 --> [docs] Fix outdated styled-engine docs (#27778) @oliviertassinari
1595- &#8203;<!-- 06 --> [docs] Improve right to left guide (#27713) @mnajdova
1596- &#8203;<!-- 04 --> [docs] Consistent line break (#27728) @oliviertassinari
1597- &#8203;<!-- 03 --> [docs] Don't dispatch ignored "reset code variant" actions (#27712) @eps1lon
1598- &#8203;<!-- 01 --> [docs] Fix sentence to be more grammatically correct (#27733) @atorenherrinton
1599- &#8203;<!-- 16 --> [examples] Add code sandbox config with node version (#27798) @qiweiii
1600- &#8203;<!-- 59 --> Revert "[examples] Fix nextjs with styled-components example (#27583)" (#27921) @mnajdova
1601- &#8203;<!-- 57 --> Revert "[examples] Update create-react-app examples with styled-components to use package aliases (#27591)" (#27917) @mnajdova
1602- &#8203;<!-- 66 --> [I10n] Add Khmer (kh-KH) locale support (#27915) @teachhay
1603- &#8203;<!-- 62 --> [website] Add templates & design-kits page (#27811) @siriwatknp
1604- &#8203;<!-- 61 --> [website] Improve rebranding homepage performance (#27838) @siriwatknp
1605- &#8203;<!-- 49 --> [website] Honest a11y value proposition (#27826) @eps1lon
1606- &#8203;<!-- 35 --> [website] Improve homepage rebranding (#27663) @siriwatknp
1607- &#8203;<!-- 24 --> [website] A few polish (#27741) @oliviertassinari
1608- &#8203;<!-- 73 --> [website] Polish homepage (#27930) @oliviertassinari
1609
1610### Core
1611
1612- &#8203;<!-- 64 --> [core] Fix various flip: false regressions (#27920) @mnajdova
1613- &#8203;<!-- 31 --> [core] Fix typo in code comment (#27818) @hamidreza-nateghi
1614- &#8203;<!-- 19 --> [core] Fix typos in repository (#27785) @JEONGJIHUN
1615- &#8203;<!-- 75 --> [test] Current behavior when disabling components variants (#27376) @noviicee
1616- &#8203;<!-- 30 --> [tests Improve test for checking if classes is forwarded to any DOM element (#27815) @mnajdova
1617- &#8203;<!-- 34 --> [tests] Replace legacy `describeConformance` with `describeConformanceV5` (#27817) @mnajdova
1618
1619All contributors of this release in alphabetical order: @aaronlademann-wf, @alexile, @atorenherrinton, @benny0642, @DanailH, @eps1lon, @hamidreza-nateghi, @hbjORbj, @jakeanq, @JEONGJIHUN, @LorenzHenk, @mekouar-mehdi, @michaldudak, @mnajdova, @nguyenyou, @nolastemgarden, @nomanoff, @noviicee, @oliviertassinari, @pvdstel, @qiweiii, @siriwatknp, @surajkumar016, @teachhay, @vedadeepta, @will-amaral
1620
1621## 5.0.0-beta.4
1622
1623<!-- generated comparing v5.0.0-beta.3..next -->
1624
1625_Aug 13, 2021_
1626
1627A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
1628
1629- 🐛 Grid's "auto" behavior has been fixed by @aaronlademann-wf (#27514)
1630- ♿ An important bug with the keyboard navigation in MenuList was fixed (#27526) @ryancogswell
1631
1632### `@material-ui/core@5.0.0-beta.4`
1633
1634#### Breaking changes
1635
1636- &#8203;<!-- 07 -->[Grid] Fix "auto" behavior to match natural width of its content (#27514) @aaronlademann-wf
1637
1638#### Changes
1639
1640- &#8203;<!-- 30 -->[ButtonBase] Fix tabIndex type (#27684) @kylegach
1641- &#8203;<!-- 13 -->[MenuList] Fix text navigation (#27526) @ryancogswell
1642- &#8203;<!-- 01 -->[l10n] Add Arabic Sudan (ar-SD) locale (#27588) @YassinHussein
1643- &#8203;<!-- 23 -->[Radio] Fix size prop forwarding with custom icons (#27656) @DouglasPds
1644- &#8203;<!-- 10 -->[TextField] Password visibility icons ( "visibility" ⇔ "visibility-off" ) should be reversed (#27507) @tonextone
1645- &#8203;<!-- 18 -->[ToggleButton] Fix handling of color prop (#27635) @oliviertassinari
1646
1647### `@material-ui/codemods@5.0.0-beta.4`
1648
1649- &#8203;<!-- 20 -->[codemod] Fix filename case sensitive duplicate @oliviertassinari
1650
1651### `@material-ui/system@5.0.0-beta.4`
1652
1653- &#8203;<!-- 28 -->[StyledEngineProvider] Remove unnecessary emotion cache export (#27680) @garronej
1654- &#8203;<!-- 11 -->[system] Fix missing filterProps in compose type (#27618) @R-Bower
1655
1656### `@material-ui/labs@5.0.0-alpha.42`
1657
1658- &#8203;<!-- 27 -->[CalendarPicker] Improve contrast between enabled and disabled days (#27603) @nikitabobers
1659- &#8203;<!-- 32 -->[PickersDay] Render `children` if specified (#27462) @abriginets
1660- &#8203;<!-- 05 -->[TreeView] Fix TreeItem label overflow (#27585) @LorenzHenk
1661
1662### Docs
1663
1664- &#8203;<!-- 36 -->[docs] Update guides for @material-ui/styled-engine-sc installation (#27602) @mnajdova
1665- &#8203;<!-- 35 -->[docs] Document that @material-ui/styles is not strict mode compatible (#27639) @oliviertassinari
1666- &#8203;<!-- 34 -->[docs] Link to "Customization of Theme" from relevant theme interfaces (#27689) @eps1lon
1667- &#8203;<!-- 33 -->[docs] Update CSP page (#27627) @mnajdova
1668- &#8203;<!-- 29 -->[docs] Reorder and rename "enforce value" ToggleButton demo (#27678) @LorenzHenk
1669- &#8203;<!-- 12 -->[docs] Fix missing dependency in the DataGrid demo (#27597) @m4theushw
1670- &#8203;<!-- 04 -->[docs] img should have a src attribute (#27632) @oliviertassinari
1671- &#8203;<!-- 03 -->[docs] Add badges to Transfer List (#27634) @oliviertassinari
1672- &#8203;<!-- 02 -->[docs] Recommend the `direct-import` babel plugin over `transform-import` (#27335) @umidbekk
1673- &#8203;<!-- 37 -->[docs] Remove unused code (#27711) @eps1lon
1674- &#8203;<!-- 39 -->[docs] Improve virtualization demo (#27340) @vedadeepta
1675- &#8203;<!-- 31 -->[examples] Include a follow-up on the example (#27620) @matiasherranz
1676- &#8203;<!-- 26 -->[website] Add about page (#27599) @siriwatknp
1677- &#8203;<!-- 25 -->[website] Add pricing page (#27598) @siriwatknp
1678
1679### Core
1680
1681- &#8203;<!-- 16 -->[core] Batch small changes (#27636) @oliviertassinari
1682- &#8203;<!-- 06 -->[core] Change range strategy to bump (#27652) @oliviertassinari
1683- &#8203;<!-- 24 -->[core] Fix visual regression example images (#27660) @eps1lon
1684- &#8203;<!-- 38 -->[core] Remove diff when running yarn docs:dev (#27720) @eps1lon
1685- &#8203;<!-- 22 -->[core] Remove mocks of require.context in markdown loader (#27406) @eps1lon
1686- &#8203;<!-- 09 -->[core] Reduce use CSS when Checkbox disableRipple is set (#27568) @oliviertassinari
1687- &#8203;<!-- 08 -->[test] Add coverage for jss-to-styled prefix from filename (#27522) @eps1lon
1688- &#8203;<!-- 15 -->[test] Add current behavior for a11y name vs visible name for PickersDay (#27661) @eps1lon
1689- &#8203;<!-- 17 -->[test] Dodge double logging in dev mode (#27653) @oliviertassinari
1690- &#8203;<!-- 14 -->[test] Enable skipped test fixed by upstream React fix (#27615) @eps1lon
1691- &#8203;<!-- 19 -->[theme] Add missed variants in Components interface (#27453) @nikitabobers
1692
1693All contributors of this release in alphabetical order: @aaronlademann-wf, @abriginets, @DouglasPds, @eps1lon, @garronej, @kylegach, @LorenzHenk, @m4theushw, @matiasherranz, @mnajdova, @nikitabobers, @oliviertassinari, @R-Bower, @ryancogswell, @siriwatknp, @tonextone, @umidbekk, @vedadeepta, @YassinHussein
1694
1695## 5.0.0-beta.3
1696
1697<!-- generated comparing v5.0.0-beta.2..next -->
1698
1699_Aug 6, 2021_
1700
1701A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
1702
1703- &#8203;<!-- 28 -->✨ `jss-to-styled` codemod has been improved to support `createStyles` and `<React.Fragment>` usage (#27578) @mnajdova
1704
1705### `@material-ui/core@5.0.0-beta.3`
1706
1707- &#8203;<!-- 33 -->[Modal] Restore `overflowX` and `overflowY` styles (#27487) @PCOffline
1708- &#8203;<!-- 07 -->[Modal] Remove unnecessary check for children.props.tabIndex (#27374) @noviicee
1709- &#8203;<!-- 14 -->[Select] Fix regression for icon not rotating (#27511) @mnajdova
1710
1711### `@material-ui/system@5.0.0-beta.3`
1712
1713- &#8203;<!-- 38 -->[system] Added top, left, right and bottom border color CSS properties to system (#27580) @R-Bower
1714
1715### `@material-ui/codemod@5.0.0-beta.3`
1716
1717- &#8203;<!-- 28 -->[codemod] Add support for `createStyles` usage in `jss-to-styled` (#27578) @mnajdova
1718- &#8203;<!-- 11 -->[codemod] Fix `jss-to-styled` PREFIX generation on Windows (#27491) @mnajdova
1719- &#8203;<!-- 39 -->[codemod] Fix `jss-to-styled` codemod to handle React.Fragment as root (#27495) @mnajdova
1720
1721### `@material-ui/unstyled@5.0.0-alpha.42`
1722
1723- &#8203;<!-- 13 -->[FormControl] Create FormControlUnstyled (#27240) @michaldudak
1724- &#8203;<!-- 23 -->[Autocomplete] Move useAutocomplete to the Unstyled package (#27485) @michaldudak
1725
1726### Docs
1727
1728- &#8203;<!-- 40 -->[docs] Fix layout shift when opening hash anchor (#27619) @oliviertassinari
1729- &#8203;<!-- 35 -->[docs] Add TypeScript guide for the `sx` prop (#27417) @mnajdova
1730- &#8203;<!-- 32 -->[docs] Hardcode listed colors in /customization/color/#playground (#27446) @eps1lon
1731- &#8203;<!-- 31 -->[docs] Bring back Select#onChange signature API (#27443) @eps1lon
1732- &#8203;<!-- 27 -->[docs] Remove backticks in the title (#27567) @oliviertassinari
1733- &#8203;<!-- 26 -->[docs] Fix 404 links (#27566) @oliviertassinari
1734- &#8203;<!-- 25 -->[docs] Use the same h2 for the customization demos (#27569) @oliviertassinari
1735- &#8203;<!-- 22 -->[docs] Fix syntax error in v5 migration `styled` api example (#27518) @kimbaudi
1736- &#8203;<!-- 21 -->[docs] Improve SSR configuration with emotion (#27496) @frandiox
1737- &#8203;<!-- 19 -->[docs] Change "pseudo-classes" to "state classes" (#27570) @michaldudak
1738- &#8203;<!-- 18 -->[docs] Add StackBlitz edit demo integration (#27391) @sulco
1739- &#8203;<!-- 12 -->[docs] Remove unnecessary generic argument (#27516) @bezpalko
1740- &#8203;<!-- 08 -->[docs] Add customization demos (#27411) @siriwatknp
1741- &#8203;<!-- 04 -->[docs] Restore initial descriptionRegExp logic (#27436) @oliviertassinari
1742- &#8203;<!-- 03 -->[docs] Polish jss-to-styled docs (#27457) @oliviertassinari
1743- &#8203;<!-- 34 -->[examples] Fix nextjs with styled-components example (#27583) @mnajdova
1744- &#8203;<!-- 29 -->[examples] Update create-react-app examples with styled-components to use package aliases (#27591) @mnajdova
1745- &#8203;<!-- 09 -->[examples] Improve integration examples with Next.js (#27331) @Harshita-Kanal
1746- &#8203;<!-- 37 -->[website] Add spicefactory as gold sponsor @oliviertassinari
1747- &#8203;<!-- 30 -->[website] Homepage rebranding (#27488) @siriwatknp
1748- &#8203;<!-- 24 -->[website] Add Flavien to team and about pages (#27575) @flaviendelangle
1749- &#8203;<!-- 17 -->[website] Add Ryan to Community contributors for Stack Overflow contributions (#27529) @ryancogswell
1750- &#8203;<!-- 02 -->[website] Add references section to home (#27444) @siriwatknp
1751
1752### Core
1753
1754- &#8203;<!-- 20 -->[core] rebaseWhen=auto does not seem to work (#27565) @oliviertassinari
1755- &#8203;<!-- 10 -->[core] Improve instructions for the @material-ui/styles migration (#27466) @mnajdova
1756- &#8203;<!-- 06 -->[core] Batch small changes (#27435) @oliviertassinari
1757- &#8203;<!-- 01 -->[core] Receive patch and minor dependency updates (#27455) @eps1lon
1758- &#8203;<!-- 16 -->[test] Update coverage to include all @material-ui packages (#27521) @eps1lon
1759- &#8203;<!-- 15 -->[test] Lint codemod tests (#27519) @eps1lon
1760- &#8203;<!-- 05 -->[test] Allow tests to run for 6s before timeout (#27456) @oliviertassinari
1761
1762All contributors of this release in alphabetical order: @bezpalko, @eps1lon, @flaviendelangle, @frandiox, @Harshita-Kanal, @kimbaudi, @michaldudak, @mnajdova, @noviicee, @oliviertassinari, @PCOffline, @R-Bower, @ryancogswell, @siriwatknp, @sulco
1763
1764## 5.0.0-beta.2
1765
1766<!-- generated comparing v5.0.0-beta.1..next -->
1767
1768_Jul 26, 2021_
1769
1770A big thanks to the 20 contributors who made this release possible. Here are some highlights ✨:
1771
1772- ✨ We introduced new codemod for converting JSS styles to emotion (#27292) @siriwatknp
1773 It should help adoption of v5, by making possible the removal of JSS sooner.
1774
1775- 🐛 The majority of other changes in this release were bug fixes, test utilities and docs.
1776
1777### `@material-ui/core@5.0.0-beta.2`
1778
1779- &#8203;<!-- 54 -->[Autocomplete] Explain how the loading prop works (#27416) @michaldudak
1780- &#8203;<!-- 49 -->[Autocomplete] Update input value when the input changes (#27313) @turtleseason
1781- &#8203;<!-- 09 -->[Autocomplete] Popper is not closing when the Autocomplete is disabled (#27312) @Goodiec
1782- &#8203;<!-- 42 -->[Checkbox] Skip default hover styles with `disableRipple` (#27314) @faan234
1783- &#8203;<!-- 50 -->[Dialog] Fix override paper styles (#27423) @newsiberian
1784- &#8203;<!-- 17 -->[Grid] Remove width prop for rowSpacing (#27326) @sashkopavlenko
1785- &#8203;<!-- 33 -->[Input] Merge `componentsProps` correctly (#27371) @mnajdova
1786- &#8203;<!-- 55 -->[Pagination] Fixed usePagination requires @emotion in development mode (#27348) @ruppysuppy
1787- &#8203;<!-- 07 -->[Pagination] Fix :hover effect on previous/next button (#27304) @Aubrey-Li
1788- &#8203;<!-- 03 -->[Popper] Consistent timing of popper instance creation (#27233) @eps1lon
1789- &#8203;<!-- 45 -->[Select] Add `SelectChangeEvent` for accurate types for event in onChange prop (#27370) @eps1lon
1790- &#8203;<!-- 18 -->[Tabs] Use theme transition duration for the Tab animation (#27303) @florianbepunkt
1791- &#8203;<!-- 35 -->[TextField] Allow custom colors in FormLabel (#27337) @oliviertassinari
1792- &#8203;<!-- 14 -->[TextField] Fix name of componentsProps (#27338) @oliviertassinari
1793- &#8203;<!-- 04 -->[transitions] Make sure inline styles used for transition values if declared (#27140) @eps1lon
1794
1795### `@material-ui/codemod@5.0.0-beta.2`
1796
1797- &#8203;<!-- 57 -->[codemod] Add `optimal-imports` for v5 (#27404) @mnajdova
1798- &#8203;<!-- 48 -->[codemod] Add jss to emotion codemod (#27292) @siriwatknp
1799- &#8203;<!-- 34 -->[codemod] Fix running codemod CLI on Windows (#27395) @michaldudak
1800- &#8203;<!-- 32 -->[codemod] Fix published version (#27384) @eps1lon
1801- &#8203;<!-- 10 -->[codemod] Improve README.md (#27257) @mnajdova
1802
1803### `@material-ui/unstyled@5.0.0-alpha.41`
1804
1805- &#8203;<!-- 36 -->[NoSsr] Move NoSsr to the Unstyled package (#27356) @michaldudak
1806
1807### `@material-ui/utils@5.0.0-beta.1`
1808
1809- &#8203;<!-- 43 -->[utils] Convert createChainedFunction to TypeScript (#27386) @eps1lon
1810
1811### `@material-ui/system@5.0.0-beta.2`
1812
1813- &#8203;<!-- 39 -->[system] Compute display name of `styled` component if `name` isn't set (#27401) @eps1lon
1814- &#8203;<!-- 08 -->[system] Adds missing type for `shouldForwardProp` (#27310) @KLubin1
1815
1816### `@material-ui/lab@5.0.0-alpha.41`
1817
1818- &#8203;<!-- 58 -->[pickers] Only accept dates from adapters in min/max props (#27392) @eps1lon
1819- &#8203;<!-- 15 -->[pickers] Fallback to today if all possible dates are disabled (#27294) @eps1lon
1820- &#8203;<!-- 06 -->[pickers] Minify error when LocalizationProvider is missing (#27295) @eps1lon
1821- &#8203;<!-- 01 -->[pickers] Fix Fade animation behavior change (#27283) @oliviertassinari
1822
1823### Docs
1824
1825- &#8203;<!-- 56 -->[docs] Display Popper arrow correctly (#27339) @Patil2099
1826- &#8203;<!-- 53 -->[docs] Focus pickers introduction on Material-UI (#27394) @eps1lon
1827- &#8203;<!-- 51 -->[docs] Fix wrong import path in @material-ui/styles section (#27427) @WeldonTan
1828- &#8203;<!-- 47 -->[docs] Update color imports (#27321) @siriwatknp
1829- &#8203;<!-- 38 -->[docs] Sync params of callbacks between types and JSDoc description (#27366) @eps1lon
1830- &#8203;<!-- 37 -->[docs] Add migration note for synthetic native events in onChange (#27368) @eps1lon
1831- &#8203;<!-- 31 -->[docs] Improve unstyled docs (#27382) @oliviertassinari
1832- &#8203;<!-- 30 -->[docs] Update `Transitions` page (#27319) @siriwatknp
1833- &#8203;<!-- 29 -->[docs] Add Unstyled components docs page (#27158) @michaldudak
1834- &#8203;<!-- 28 -->[docs] Fix app bar regression (#27373) @mnajdova
1835- &#8203;<!-- 27 -->[docs] Update migration guide to have a section on nested classes (#27354) @mnajdova
1836- &#8203;<!-- 25 -->[docs] Convert App\* components to emotion (#27150) @eps1lon
1837- &#8203;<!-- 23 -->[docs] Fix duplicate "Theme" header (#27353) @eps1lon
1838- &#8203;<!-- 22 -->[docs] Remove horizontal scrollbar in MiniDrawer (#27055) @AlvesJorge
1839- &#8203;<!-- 21 -->[docs] Add `makeStyles` explanation in troubleshooting (#27322) @siriwatknp
1840- &#8203;<!-- 20 -->[docs] Fix ExpansionPanel migration notes (#27352) @eps1lon
1841- &#8203;<!-- 19 -->[docs] Transpile markdown files (#27349) @eps1lon
1842- &#8203;<!-- 12 -->[docs] Fix typo in the word typography (#27329) @tudi2d
1843- &#8203;<!-- 11 -->[docs] Use actual symbol of kilogram (#27332) @getsnoopy
1844- &#8203;<!-- 02 -->[docs] Make migration doc easier to follow (#26948) @siriwatknp
1845- &#8203;<!-- 46 -->[examples] Cleanup `gatsby` examples (#27375) @mnajdova
1846- &#8203;<!-- 41 -->[examples] Create nextjs example using styled-components (#27088) @hboylan
1847- &#8203;<!-- 26 -->[examples] Update gatsby example to use custom plugin (#27357) @mnajdova
1848
1849### Core
1850
1851- &#8203;<!-- 24 -->[core] Remove obsolete styles documentation (#27350) @eps1lon
1852- &#8203;<!-- 13 -->[core] Fix GitHub language detection (#27298) @oliviertassinari
1853- &#8203;<!-- 44 -->[test] Include coverage report of browser tests (#27389) @eps1lon
1854- &#8203;<!-- 40 -->[test] Add current behavior for getDisplayName with context components (#27402) @eps1lon
1855- &#8203;<!-- 05 -->[test] Enable skipped picker tests (#27268) @eps1lon
1856- &#8203;<!-- 52 -->[website] Add hero section to homepage (#27364) @siriwatknp
1857
1858All contributors of this release in alphabetical order: @AlvesJorge, @Aubrey-Li, @eps1lon, @faan234, @florianbepunkt, @g
1859etsnoopy, @Goodiec, @hboylan, @KLubin1, @michaldudak, @mnajdova, @newsiberian, @oliviertassinari, @Patil2099, @ruppysupp
1860y, @sashkopavlenko, @siriwatknp, @tudi2d, @turtleseason, @WeldonTan
1861
1862## 5.0.0-beta.1
1863
1864<!-- generated comparing v5.0.0-beta.0..next -->
1865
1866_Jul 14, 2021_
1867
1868A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
1869
1870- ✨ We have introduced a new unstyled component: the Switch (#26688) @michaldudak
1871 You can find two new versions of the Switch. A component without any styles: [`SwitchUnstyled`](https://mui.com/components/switches/#unstyled), and a hook: [`useSwitch`](https://mui.com/components/switches/#useswitch-hook).
1872
1873 <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>
1874
1875 You can follow our progress at https://github.com/mui-org/material-ui/issues/27170.
1876
1877- 💄 We have updated the default `info` `success` `warning` color to be more accessible (#26817) @siriwatknp.
1878 You can find the new [default values](https://mui.com/customization/palette/#default-values) in the documentation.
1879
1880 <a href="https://mui.com/customization/palette/#default-values"><img width="780" alt="colors" src="https://user-images.githubusercontent.com/3165635/125192657-4864fd00-e249-11eb-9dc1-44857b25b3b8.png"></a>
1881
1882### `@material-ui/core@5.0.0-beta.1`
1883
1884#### Breaking changes
1885
1886- [Fab] Remove no longer necessary span wrapper (#27112) @siriwatknp
1887- [ToggleButton] Remove no longer necessary span wrapper (#27111) @siriwatknp
1888
1889#### Changes
1890
1891- [Autocomplete] Add componentsProps (#27183) @michal-perlakowski
1892- [Avatar] Fix support for crossOrigin (#27013) @ShirasawaSama
1893- [ButtonBase] Correct `disableRipple` API description (#27187) @michaldudak
1894- [ButtonGroup] Add color palette types (#27215) @ShirasawaSama
1895- [SwitchBase] Bring back `checked` and mark as deprecated (#27047) @siriwatknp
1896- [TextField] Remove redundant useFormControl implementation (#27197) @michaldudak
1897- [theme] Add missing MuiRating types to components.d.ts (#27086) @rajzik
1898- [theme] Remove `createV4Spacing` from `adaptV4Theme` (#27072) @siriwatknp
1899- [theme] Update default `info` `success` `warning` color (#26817) @siriwatknp
1900- [ToggleButton] Add color palette types (#27046) @ShirasawaSama
1901- [ToggleButton] Fix the api page (#27164) @oliviertassinari
1902
1903### `@material-ui/unstyled@5.0.0-alpha.40`
1904
1905- [Switch] Create SwitchUnstyled and useSwitch (#26688) @michaldudak
1906
1907### `@material-ui/codemod@5.0.0-beta.1`
1908
1909- [codemod] Add v5 important migration (#27032) @siriwatknp
1910- [codemod] Fix v5 codemods on Windows (#27254) @michaldudak
1911
1912### `@material-ui/system@5.0.0-beta.1`
1913
1914- [Box] Add breakpoint value support to maxWidth prop (#26984) @ansh-saini
1915
1916### `@material-ui/lab@5.0.0-alpha.40`
1917
1918- [CalendarPicker] Fix slide transition regression (#27273) @eps1lon
1919- [CalendarPicker] Use transition components from core instead of a custom implementation (#27043) @eps1lon
1920- [pickers] Fix default value of text keys (#26990) @oliviertassinari
1921- [TimePicker] Change default minutes and seconds to zero (#27037) @michal-perlakowski
1922
1923### Docs
1924
1925- [blog] Q2 2021 Update (#27089) @oliviertassinari
1926- [docs] Add information that the label prop in FormControlLabel is now @michal-perlakowski
1927- [docs] Don't crash page if an Ad crashes (#27178) @eps1lon
1928- [docs] Fix alt description of movavi backer @oliviertassinari
1929- [docs] Fix import source of hidden component (#27116) @vimutti77
1930- [docs] Fix layout regression (#27272) @oliviertassinari
1931- [docs] Fix syntax error in /styles/api markdown (#27176) @sahil-blulabs
1932- [docs] Fix the link for the sx props page (#27202) @mnajdova
1933- [docs] Fix theme context example code (#27053) @moshfeu
1934- [docs] Fix typo in CONTRIBUTING.md (#27218) Ayush Dubey
1935- [docs] Fix typos (#27074) @michaldudak
1936- [docs] Improve nav semantics (#27138) @eps1lon
1937- [docs] Migrate Ad\* components to emotion (#27159) @mnajdova
1938- [docs] Migrate rest of the docs to emotion (#27184) @mnajdova
1939- [docs] Move versions from \_app PageContext to page-specific context (#27078) @eps1lon
1940- [docs] Only bundle one version of the demos in production (#27020) @eps1lon
1941- [docs] Reduce layout shift on landing page (#27251) @eps1lon
1942- [docs] Remove Ethical Ads (#27173) @mbrookes
1943- [docs] Remove unused fs polyfill (#27069) @eps1lon
1944- [docs] Remove usage of `url` package (#27151) @eps1lon
1945- [docs] Replace react-text-mask with react-imask in integration example (#27071) @michal-perlakowski
1946- [docs] Sort the size in a more logical order (#27186) @oliviertassinari
1947- [docs] Use actual link to paperbase (#27063) @eps1lon
1948- [docs] Use custom markdown loader for landing page (#27065) @eps1lon
1949- [docs] Use webpack 5 (#27077) @eps1lon
1950- [examples] Fix CDN warning (#27229) @oliviertassinari
1951- [examples] Remove `StyledEngineProvider` as JSS is not used (#27133) @mnajdova
1952- [examples] Remove forgotten StyledEngineProvider (#27163) @oliviertassinari
1953
1954### Core
1955
1956- [core] Batch small changes (#26970) @oliviertassinari
1957- [core] Configure Renovate (#27003) @renovate[bot]
1958- [core] Migrate remaining mentions of Dependabot to Renovate (#27118) @eps1lon
1959- [core] Run yarn deduplicate on Renovate updates (#27115) @eps1lon
1960- [test] Document broken React 18 behavior of Autocomplete (#27242) @eps1lon
1961- [test] Increase BS timeout to 6min (#27179) @oliviertassinari
1962- [test] Migrate regressions to emotion (#27010) @vicasas
1963- [test] Narrow down React 18 compat issues (#27134) @eps1lon
1964- [test] Remove StyledEngineProvider usage from regressions and e2e test @mnajdova
1965- [test] Run React 18 integration tests with new createRoot API (#26672) @eps1lon
1966- [test] Update tests with latest state of StrictMode compatibility (#27042) @eps1lon
1967- [test] Use DOM events instead of mocked, partial events (#27198) @eps1lon
1968- [website] Open 4 new roles (#27123) @oliviertassinari
1969- [blog] Danilo Leal joins Material-UI (#27231) @oliviertassinari
1970
1971All contributors of this release in alphabetical order: @eps1lon, @mbrookes, @michal-perlakowski, @michaldudak, @mnajdova, @moshfeu, @oliviertassinari, @rajzik, @renovate[bot], @sahil-blulabs, @ShirasawaSama, @siriwatknp, @vimutti77
1972
1973## 5.0.0-beta.0
1974
1975<!-- generated comparing v5.0.0-alpha.38..next -->
1976
1977_Jul 01, 2021_
1978
1979A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
1980
1981- 🎉 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-org/material-ui/milestone/44) for more details. We now encourage any new projects to start on v5.
1982- 🚀 We have completed all the planned breaking changes.
1983- ⚒️ We added the codemod CLI to simplify migration to v5 (#26941) @eps1lon. You can find it at [`@material-ui/codemod`](https://github.com/mui-org/material-ui/tree/HEAD/packages/mui-codemod).
1984- 🐛 The majority of other changes in this release were bug fixes, test utilities and docs.
1985
1986### `@material-ui/core@5.0.0-beta.0`
1987
1988#### Breaking changes
1989
1990- [Tabs] Remove unnecessary wrapper from Tab (#26926) @siriwatknp
1991
1992 `span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui-org/material-ui/pull/26666).
1993
1994 ```diff
1995 <button class="MuiTab-root">
1996 - <span class="MuiTab-wrapper">
1997 {icon}
1998 {label}
1999 - </span>
2000 </button>
2001 ```
2002
2003- [BottomNavigation] Remove wrapper from BottomNavigationAction (#26923) @siriwatknp
2004
2005 `span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui-org/material-ui/pull/26666).
2006
2007 ```diff
2008 <button class="MuiBottomNavigationAction-root">
2009 - <span class="MuiBottomNavigationAction-wrapper">
2010 {icon}
2011 <span class="MuiBottomNavigationAction-label">
2012 {label}
2013 </span>
2014 - </span>
2015 </button>
2016 ```
2017
2018#### Changes
2019
2020- &#8203;<!-- 19 -->[Box] Fix TypeScript error on maxWidth prop (#26859) @ansh-saini
2021- &#8203;<!-- 04 -->[Dialog] Automatically label by its DialogTitle (#26814) @eps1lon
2022- &#8203;<!-- 32 -->[Hidden] Bring back and mark as deprecated (#26908) @siriwatknp
2023- &#8203;<!-- 53 -->[List] Add button runtime deprecation warning (#26743) @siriwatknp
2024- &#8203;<!-- 03 -->[Modal] Type BackdropProps according to styled version (#26836) @eps1lon
2025- &#8203;<!-- 21 -->[Radio] Fix `defaultValue` to match the other value types (#26945) @oliviertassinari
2026- &#8203;<!-- 48 -->[Stepper] Add completed to global pseudo-classes (#26953) @michal-perlakowski
2027- &#8203;<!-- 25 -->[Stepper] Fix support for no connectors (#26874) @varandasi
2028- &#8203;<!-- 20 -->[TextField] Prevent `hiddenLabel` from spreading to DOM (#26864) @siriwatknp
2029- &#8203;<!-- 18 -->[TextField] Fix label disappearing when focusing a button (#26933) @michal-perlakowski
2030
2031### `@material-ui/codemod@5.0.0-beta.0`
2032
2033- &#8203;<!-- 37 -->[codemod] Add CLI (#26941) @eps1lon
2034
2035### @material-ui/icons@5.0.0-beta.0
2036
2037- &#8203;<!-- 29 -->[icons] Regenerate transpiled files (#26985) @eps1lon
2038
2039### @material-ui/lab@5.0.0-alpha.39
2040
2041#### Breaking changes
2042
2043- [DatePicker] Remove helper text default value (#26866) @DouglasPds
2044
2045 Make the default rendered text field closer to the most common use cases (denser).
2046
2047 ```diff
2048 <DatePicker
2049 label="Helper text example"
2050 value={value}
2051 onChange={onChange}
2052 renderInput={(params) => (
2053 - <TextField {...params} />
2054 + <TextField {...params} helperText={params?.inputProps?.placeholder} />
2055 )}
2056 >
2057 ```
2058
2059#### Changes
2060
2061- &#8203;<!-- 12 -->[lab] Fix missing dependency on unstyled (#26937) @fishyFrogFace
2062- &#8203;<!-- 50 -->[pickers] Consider TDate in ToolbarComponent types (#27035) @michal-perlakowski
2063
2064### `@material-ui/system@5.0.0-beta.0`
2065
2066- &#8203;<!-- 14 -->[system] Support array overridesResolver (#26824) @siriwatknp
2067
2068### Docs
2069
2070- &#8203;<!-- 49 -->[docs] Add notes to Table demo about stableSort (#27025) @CarlosGomez-dev
2071- &#8203;<!-- 47 -->[docs] Add gold sponsor (#26968) @oliviertassinari
2072- &#8203;<!-- 42 -->[docs] Update unstyled demos to not depend on `@material-ui/core` (#26869) @mnajdova
2073- &#8203;<!-- 41 -->[docs] Fix demo paths in windows (#27004) @eps1lon
2074- &#8203;<!-- 40 -->[docs] Export all locales (#27002) @eps1lon
2075- &#8203;<!-- 38 -->[docs] Misc CONTRIBUTING.md changes (#26925) @eps1lon
2076- &#8203;<!-- 35 -->[docs] Fix /components/hidden merge conflict (#26997) @eps1lon
2077- &#8203;<!-- 26 -->[docs] Fix 404 links (#26963) @oliviertassinari
2078- &#8203;<!-- 24 -->[docs] Remove link that points to v4 blog post (#26960) @steveafrost
2079- &#8203;<!-- 16 -->[docs] Use custom webpack loader for markdown (#26774) @eps1lon
2080- &#8203;<!-- 11 -->[docs] Fix 301 links (#26942) @oliviertassinari
2081- &#8203;<!-- 01 -->[docs] Add page for the `sx` prop (#26769) @mnajdova
2082- &#8203;<!-- 52 -->[docs] pre-fill issue when a demo crashes (#27034) @eps1lon
2083- &#8203;<!-- 54 -->[docs] Move styled page under system (#26818)
2084
2085### Core
2086
2087- &#8203;<!-- 46 -->[core] Inline rollup-plugin-size-snapshot (#26986) @eps1lon
2088- &#8203;<!-- 43 -->[core] Remove unused props clone (#26992) @oliviertassinari
2089- &#8203;<!-- 36 -->[core] Fix tests on Windows (#26931) @michaldudak
2090- &#8203;<!-- 31 -->[core] Fix merge conflict between #26954 and #26874 @oliviertassinari
2091- &#8203;<!-- 22 -->[core] Upgrade issues-helper to v2 (#26955) @michal-perlakowski
2092- &#8203;<!-- 05 -->[core] Fix merge conflict (#26928) @eps1lon
2093- &#8203;<!-- 45 -->[test] Convert HiddenCSS tests to testing-library (#27019) @eps1lon
2094- &#8203;<!-- 44 -->[test] Convert NativeSelectInput tests to testing-library (#26952) @eps1lon
2095- &#8203;<!-- 39 -->[test] Add a default mount implementation to conformance tests (#26949) @eps1lon
2096- &#8203;<!-- 28 -->[test] Update tests to pass react@next (#26967) @eps1lon
2097- &#8203;<!-- 27 -->[test] Add types to describeConformanceV5 (#26954) @eps1lon
2098- &#8203;<!-- 17 -->[test] Use createPickerMount where appropriate (#26951) @eps1lon
2099- &#8203;<!-- 15 -->[test] Convert SwipeableDrawer tests to testing-library (#26916) @eps1lon
2100- &#8203;<!-- 13 -->[test] Convert Menu tests to testing-library (#26915) @eps1lon
2101- &#8203;<!-- 10 -->[test] Convert Popover tests to testing-library (#26913) @eps1lon
2102- &#8203;<!-- 08 -->[test] Convert Modal tests to testing-library (#26912) @eps1lon
2103- &#8203;<!-- 07 -->[test] Make remaining testing-library tests StrictMode compatible (#26924) @eps1lon
2104- &#8203;<!-- 51 -->[test] Only allow wrapping enzyme mount not creating (#27018) @eps1lon
2105- &#8203;<!-- 06 -->[typescript] Disallow spreading TransitionHandlerProps (#26927) @eps1lon
2106
2107All contributors of this release in alphabetical order: @ansh-saini, @BC-M, @CarlosGomez-dev, @DouglasPds, @eps1lon, @fishyFrogFace, @michal-perlakowski, @michaldudak, @mnajdova, @oliviertassinari, @siriwatknp, @steveafrost, @varandasi
2108
2109## 5.0.0-alpha.38
2110
2111<!-- generated comparing v5.0.0-alpha.37..next -->
2112
2113_Jun 23, 2021_
2114
2115A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
2116
2117- 🚀 We have only 2 left in the [breaking changes](https://github.com/mui-org/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.
2118- 🎨 We have updated `Slider` to match current [Material Design guidelines](https://material.io/components/sliders).
2119
2120 <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>
2121
2122- 💡 `IconButton` now supports 3 sizes (`small, medium, large`). [See demo](https://mui.com/components/buttons/#sizes-2).
2123- ♿️ We have improved the default style of the `Link` to be more accessible (#26145) @ahmed-28
2124
2125 <a href="https://mui.com/components/links/"><img width="543" alt="" src="https://user-images.githubusercontent.com/3165635/123097983-ef1b6200-d430-11eb-97da-b491fba5df49.png"></a>
2126
2127### `@material-ui/core@5.0.0-alpha.38`
2128
2129#### Breaking changes
2130
2131- &#8203;<!-- 05 -->[Menu] Use ButtonBase in MenuItem (#26591) @siriwatknp
2132
2133 - Change the default value of `anchorOrigin.vertical` to follow the Material Design guidelines. The menu now displays below the anchor instead of on top of it. You can restore the previous behavior with:
2134
2135 ```diff
2136 <Menu
2137 + anchorOrigin={{
2138 + vertical: 'top',
2139 + horizontal: 'left',
2140 + }}
2141 ```
2142
2143 - The `MenuItem` component inherits the `ButtonBase` component instead of `ListItem`. The class names related to "MuiListItem-\*" are removed and theming `ListItem` is no longer affecting `MenuItem`.
2144
2145 ```diff
2146 -<li className="MuiButtonBase-root MuiMenuItem-root MuiListItem-root">
2147 +<li className="MuiButtonBase-root MuiMenuItem-root">
2148 ```
2149
2150 - The prop `listItemClasses` was removed, you can use `classes` instead.
2151
2152 ```diff
2153 -<MenuItem listItemClasses={{...}}>
2154 +<MenuItem classes={{...}}>
2155 ```
2156
2157- &#8203;<!-- 09 -->[theme] Improve default breakpoints (#26746) @siriwatknp
2158
2159 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-org/material-ui/issues/21902).
2160
2161 ```diff
2162 {
2163 xs: 0,
2164 sm: 600,
2165 - md: 960,
2166 + md: 900,
2167 - lg: 1280,
2168 + lg: 1200,
2169 - xl: 1920,
2170 + xl: 1536,
2171 }
2172 ```
2173
2174 If you prefer the old breakpoint values, use the snippet below.
2175
2176 ```js
2177 import { createTheme } from '@material-ui/core/styles';
2178
2179 const theme = createTheme({
2180 breakpoints: {
2181 values: {
2182 xs: 0,
2183 sm: 600,
2184 md: 960,
2185 lg: 1280,
2186 xl: 1920,
2187 },
2188 },
2189 });
2190 ```
2191
2192- &#8203;<!-- 10 -->[IconButton] Add size `large` and update styles (#26748) @siriwatknp
2193
2194 The default size's padding is reduced to `8px` which makes the default IconButton size of `40px`. To get the old default size (`48px`), use `size="large"`. The change was done to better match Google's products when Material Design stopped documenting the icon button pattern.
2195
2196 ```diff
2197 - <IconButton>
2198 + <IconButton size="large">
2199 ```
2200
2201- &#8203;<!-- 08 -->[Slider] Adjust css to match the specification (#26632) @siriwatknp
2202
2203 Rework the CSS to match the latest [Material Design guidelines](https://material.io/components/sliders) and make custom styles more intuitive. [See documentation](https://mui.com/components/slider/).
2204
2205 <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>
2206
2207 You can reduce the density of the slider, closer to v4 with the [`size="small"` prop](https://mui.com/components/slider/#sizes).
2208
2209 <a href="https://mui.com/components/slider/#sizes"><img width="330" alt="" src="https://user-images.githubusercontent.com/3165635/123076549-8aa0d880-d419-11eb-8835-06cd2b21b2d3.png" style="margin: auto"></a>
2210
2211- &#8203;<!-- 14 -->[IconButton] Remove label span (#26801) @siriwatknp
2212
2213 `span` element that wraps children has been removed. `label` classKey is also removed. More details about [this change](https://github.com/mui-org/material-ui/pull/26666).
2214
2215 ```diff
2216 <button class="MuiIconButton-root">
2217 - <span class="MuiIconButton-label">
2218 <svg />
2219 - </span>
2220 </button>
2221 ```
2222
2223- &#8203;<!-- 19 -->[core] Remove `unstable_` prefix on the `useThemeProps` hook (#26777) @mnajdova
2224
2225 The following utilities were renamed to not contain the `unstable_` prefix:
2226
2227 - `@material-ui/sytstem`
2228
2229 ```diff
2230 import {
2231 - unstable_useThemeProps,
2232 + useThemeProps,
2233 } from '@material-ui/system';
2234 ```
2235
2236 - `@material-ui/core`
2237
2238 ```diff
2239 import {
2240 - unstable_useThemeProps,
2241 + useThemeProps,
2242 } from '@material-ui/core/styles';
2243 ```
2244
2245#### Changes
2246
2247- &#8203;<!-- 33 -->[Alert] Add support for custom colors (#26831) @varandasi
2248- &#8203;<!-- 32 -->[Button] Fix loading text invisible when disabled (#26857) @DanielBretzigheimer
2249- &#8203;<!-- 43 -->[ButtonBase] Consider as a link with a custom component and `to` prop (#26576) @shadab14meb346
2250- &#8203;<!-- 17 -->[ButtonBase] Derive state on render instead of in layout effects (#26762) @eps1lon
2251- &#8203;<!-- 37 --> [Drawer] Fix incorrect z-index (#26791) @michal-perlakowski
2252- &#8203;<!-- 28 -->[Drawer] Remove incorrect transition handler props (#26835) @eps1lon
2253- &#8203;<!-- 01 -->[Link] Improve accessibility support (#26145) @ahmed-28
2254- &#8203;<!-- 41 -->[Modal] Fix calculating scrollbar size when using custom scrollbar (#26816) @michal-perlakowski
2255- &#8203;<!-- 29 -->[Rating] Make input ids less predictable (#26493) @eps1lon
2256- &#8203;<!-- 27 -->[Stepper] Add componentsProps.label to StepLabel (#26807) @michal-perlakowski
2257- &#8203;<!-- 36 -->[Tabs] Show error when Tab has display: none (#26783) @michal-perlakowski
2258- &#8203;<!-- 46 -->[theme] Add base color palette type to components (#26697) @siriwatknp
2259
2260### `@material-ui/system@5.0.0-alpha.38`
2261
2262#### Breaking Changes
2263
2264- &#8203;<!-- 35 -->[system] Normalize api for `createBox` (#26820) @mnajdova
2265
2266 ```diff
2267 import { createBox } from '@material-ui/system';
2268
2269 -const styled = createBox(defaultTheme);
2270 +const styled = createBox({ defaultTheme });
2271 ```
2272
2273#### Changes
2274
2275- &#8203;<!-- 12 -->[system] Add ThemeProvider component (#26787) @mnajdova
2276
2277### Docs
2278
2279- &#8203;<!-- 45 -->[docs] Fix misspelling of the word Typography (#26898) @dmrqx
2280- &#8203;<!-- 42 -->[docs] Instruct users to install @material-ui/icons with the next tag (#26873) @michal-perlakowski
2281- &#8203;<!-- 26 -->[docs] Sync translations (#26828) @l10nbot
2282- &#8203;<!-- 25 -->[docs] Improve grammar of autocomplete/autofill section (#26798) @dijonkitchen
2283- &#8203;<!-- 18 -->[docs] Explain "inherited props" better in the props table (#26778) @eps1lon
2284- &#8203;<!-- 16 -->[docs] Fix documentation for upgrading to v5 (#26812) @tungdt-90
2285- &#8203;<!-- 13 -->[docs] Improve notification color (#26796) @mnajdova
2286- &#8203;<!-- 11 -->[docs] Fix various a11y issues with /customization/color (#26757) @eps1lon
2287- &#8203;<!-- 04 -->[docs] Move custom theme to frame (#26744) @siriwatknp
2288- &#8203;<!-- 02 -->[docs] Fix small PT typo fix: inciar -> iniciar (#26775) @brunocavalcante
2289- &#8203;<!-- 03 -->[I10n] Add Chinese (Hong Kong) (zh-HK) locale (#26637) @kshuiroy
2290- &#8203;<!-- 44 -->[l10n] Add sinhalese (siLK) locale (#26875) @pavinduLakshan
2291- &#8203;<!-- 39 -->[examples] Rename nextjs typescript theme from tsx to ts (#26862) @Izhaki
2292
2293### Core
2294
2295- &#8203;<!-- 38 -->[test] Fix Drawer test API @oliviertassinari
2296- &#8203;<!-- 34 -->[test] Adjust expected useAutocomplete error messages for React 18 (#26858) @eps1lon
2297- &#8203;<!-- 30 -->[test] Convert Drawer tests to testing-library (#26837) @eps1lon
2298- &#8203;<!-- 23 -->[test] Convert remaining enzyme tests to testing-library (#26832) @eps1lon
2299- &#8203;<!-- 22 -->[test] Ignore ReactDOM.hydrate deprecation warnings (#26815) @eps1lon
2300- &#8203;<!-- 06 -->[test] Reduce flakiness (#26761) @eps1lon
2301- &#8203;<!-- 07 -->[useId] Reduce likelyhood of collisions (#26758) @eps1lon
2302- &#8203;<!-- 31 -->yarn deduplicate @oliviertassinari
2303- &#8203;<!-- 21 -->Fix running framer's prettier under pwsh (#26819) @michaldudak
2304- &#8203;<!-- 40 -->[core] Update babel-plugin-optimize-clsx (#26861) @oliviertassinari
2305- &#8203;<!-- 24 -->[core] Assume no document.all at runtime (#26821) @eps1lon
2306- &#8203;<!-- 20 -->[core] Remove dependency on `@material-ui/private-theming` (#26793) @mnajdova
2307- &#8203;<!-- 15 -->[core] Remove dependency on `@material-ui/styled-engine` (#26792) @mnajdova
2308
2309All contributors of this release in alphabetical order: @ahmed-28, @brunocavalcante, @DanielBretzigheimer, @dijonkitchen, @dmrqx, @eps1lon, @Izhaki, @kshuiroy, @l10nbot, @michal-perlakowski, @michaldudak, @mnajdova, @oliviertassinari, @pavinduLakshan, @shadab14meb346, @siriwatknp, @tungdt-90, @varandasi
2310
2311## 5.0.0-alpha.37
2312
2313<!-- generated comparing v5.0.0-alpha.36..next -->
2314
2315_Jun 15, 2021_
2316
2317A big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
2318
2319- 💄 Add support for responsive props on the Grid component (#26590) @likitarai1.
2320 This fixes a longstanding issue. You can now specify different values for each breakpoint.
2321
2322 ```jsx
2323 <Grid container spacing={{ xs: 2, md: 3 }} columns={{ xs: 1, sm: 2, md: 3 }}>
2324 <Grid item xs={2} sm={4} md={4} />
2325 <Grid item xs={2} sm={4} md={4} />
2326 <Grid item xs={2} sm={4} md={4} />
2327 </Grid>
2328 ```
2329
2330 Head to the [documentation](https://mui.com/components/grid/#responsive-values) for more details.
2331
2332- ⚒️ We've introduced a new `useTheme` and `useThemeProps` hooks in the `@material-ui/system` package.
2333 We believe that this package can be used as a standalone styling solution for building custom design systems (#26649) @mnajdova.
2334- 💥 Made progress with the breaking changes. We have done 105 of the 109 changes [planned](https://github.com/mui-org/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-org/material-ui/milestone/35) for more details.
2335- And many more 🐛 bug fixes and 📚 improvements.
2336
2337### `@material-ui/core@5.0.0-alpha.37`
2338
2339#### Breaking changes
2340
2341- &#8203;<!-- 10 -->[Button] Remove label span (#26666) @siriwatknp
2342
2343 The `span` element that wraps children has been removed. `label` classKey is also removed. The nested span was required for fixing a flexbox issue with iOS < 11.0.
2344
2345 ```diff
2346 <button class="MuiButton-root">
2347 - <span class="MuiButton-label">
2348 children
2349 - </span>
2350 </button>
2351 ```
2352
2353#### Changes
2354
2355- &#8203;<!-- 08 -->[Button] Add missing color type (#26593) @sakura90
2356- &#8203;<!-- 07 -->[Grid] Add responsive direction and spacing props (#26590) @likitarai1
2357- &#8203;<!-- 05 -->[List] Add ListItemButton export to index (#26667) @chadmuro
2358- &#8203;<!-- 09 -->[theme] Fix missing exported Breakpoints types (#26684) @robphoenix
2359
2360### `@material-ui/system@5.0.0-alpha.37`
2361
2362#### Breaking changes
2363
2364- &#8203;<!-- 26 -->[system] Remove `theme` & `isRtl` from `useThemeProps` (#26701) @mnajdova
2365
2366 The `isRtl` and `theme` props are no longer added by the `useThemeProps` hook. You can use the `useTheme` hook for this.
2367
2368 ```diff
2369 -import { unstable_useThemeProps as useThemeProps } from '@material-ui/core/styles';
2370 +import { unstable_useThemeProps as useThemeProps, useTheme } from '@material-ui/core/styles';
2371
2372 const Component = (inProps) => {
2373 - const { isRtl, theme, ...props } = useThemeProps({ props: inProps, name: 'MuiComponent' });
2374 + const props = useThemeProps({ props: inProps, name: 'MuiComponent' });
2375
2376 + const theme = useTheme();
2377 + const isRtl = theme.direction === 'rtl';
2378 //.. rest of the code
2379 }
2380 ```
2381
2382#### Changes
2383
2384- &#8203;<!-- 16 -->[system] Add useThemeProps & useTheme hooks (#26649) @mnajdova
2385- &#8203;<!-- 15 -->[system] Add color manipulators (#26668) @mnajdova
2386- &#8203;<!-- 06 -->[system] Fix support of custom shape in createTheme (#26673) @varandasi
2387
2388### `@material-ui/unstyled@5.0.0-alpha.37`
2389
2390- &#8203;<!-- 04 -->[Slider] Improve TS definition (#26642) @mnajdova
2391- &#8203;<!-- 21 -->[TrapFocus] Capture nodeToRestore via relatedTarget (#26696) @eps1lon
2392
2393### `@material-ui/icons@5.0.0-alpha.37`
2394
2395- &#8203;<!-- 03 -->Revert "[icons] Only ship ES modules (#26310)" (#26656) @eps1lon
2396
2397 The changes that we have tried in #26310 were breaking the integration with Next.js.
2398
2399### `@material-ui/lab@5.0.0-alpha.37`
2400
2401- &#8203;<!-- 29 -->[core] Remove unused useKeyDown (#26765) @eps1lon
2402- &#8203;<!-- 28 -->[DateTimePicker] Fix not visible selected tab icon (#26624) @nikitabobers
2403
2404### Docs
2405
2406- &#8203;<!-- 20 -->[blog] Michał Dudak joins Material-UI (#26700) @oliviertassinari
2407- &#8203;<!-- 27 -->[docs] Migrate onepirate premium template to emotion part2 (#26707) @vicasas
2408- &#8203;<!-- 24 -->[docs] Fix TextField demo layout (#26710) @vicasas
2409- &#8203;<!-- 19 -->[docs] Improve Paperbase demo (#26711) @oliviertassinari
2410- &#8203;<!-- 17 -->[docs] Migrate onepirate premium template to emotion part1 (#26671) @vicasas
2411- &#8203;<!-- 14 -->[docs] Migrate paperbase premium template to emotion (#26658) @vicasas
2412- &#8203;<!-- 25 -->[List] Fix demo to have correct semantic (#26742) @siriwatknp
2413
2414### Core
2415
2416- &#8203;<!-- 23 -->[core] Monitore size of key system modules (#26712) @oliviertassinari
2417- &#8203;<!-- 22 -->[core] Batch small changes (#26738) @oliviertassinari
2418- &#8203;<!-- 18 -->[core] Batch small changes (#26628) @oliviertassinari
2419- &#8203;<!-- 13 -->[test] Ignore ReactDOM.render deprecation warning (#26683) @eps1lon
2420- &#8203;<!-- 12 -->[test] Run e2e test with React 18 on a schedule (#26690) @eps1lon
2421- &#8203;<!-- 11 -->[test] Count profiler renders not passive effects (#26678) @eps1lon
2422- &#8203;<!-- 02 -->[test] Bundling fixtures should not override source build with published build (#26657) @eps1lon
2423- &#8203;<!-- 01 -->[test] Make tests oblivious to StrictMode (#26654) @eps1lon
2424
2425All contributors of this release in alphabetical order: @chadmuro, @eps1lon, @likitarai1, @mnajdova, @nikitabobers, @oliviertassinari, @robphoenix, @sakura90, @siriwatknp, @varandasi, @vicasas
2426
2427## 5.0.0-alpha.36
2428
2429<!-- generated comparing v5.0.0-alpha.35..next -->
2430
2431_Jun 8, 2021_
2432
2433A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
2434
2435- ⚒️ We've introduced a new `ListItemButton` component that should prevent common mistakes when using `<ListItem button />` and help with customization and TypeScript support (#26446) @siriwatknp.
2436- 👩‍🎤 `experimentalStyled` is now available without the `experimental` prefix.
2437 We're confident that its API shouldn't receive any major changes until the stable release of v5 (#26558) @mnajdova.
2438- 📦 `@material-ui/icons` only ships ES modules and no longer CommonJS modules.
2439 This reduces the download size of the package from 1.7 MB to 1.2 MB and install size from 15.6 MB to 6.7 MB (#26310) @eps1lon.
2440- 💄 Add support for [row and column spacing](https://mui.com/components/grid/#row-amp-column-spacing) in the Grid component (#26559) @likitarai1.
2441 <img width="549" alt="grid spacing demo" src="https://user-images.githubusercontent.com/3165635/121089288-383fa500-c7e7-11eb-8c43-53457b7430f1.png">
2442
2443 Note that this feature was already available for [CSS grid users](https://mui.com/components/grid/#css-grid-layout) with the `rowGap` and `columnGap` props.
2444
2445### `@material-ui/core@5.0.0-alpha.36`
2446
2447#### Breaking changes
2448
2449- &#8203;<!-- 10 -->[AppBar] Fix background color on dark mode (#26545) @siriwatknp
2450
2451 The `color` prop has no longer any effect in dark mode. The app bar uses the background color required by the elevation to follow the [Material Design guidelines](https://material.io/design/color/dark-theme.html). Use `enableColorOnDark` to restore the behavior of v4.
2452
2453 ```jsx
2454 <AppBar enableColorOnDark />
2455 ```
2456
2457- &#8203;<!-- 13 -->[core] Rename `experimentalStyled` to `styled` (#26558) @mnajdova
2458
2459 Remove the experimental prefix, this module is going stable:
2460
2461 ```diff
2462 -import { experimentalStyled as styled } from '@material-ui/core/styles';
2463 +import { styled } from '@material-ui/core/styles';
2464 ```
2465
2466- &#8203;<!-- 03 -->[SwitchBase] Replace IconButton with ButtonBase (#26460) @siriwatknp
2467- &#8203;<!-- 25 -->[theme] Improve default `primary`, `secondary` and `error` theme palette (#26555) @siriwatknp
2468
2469#### Changes
2470
2471- &#8203;<!-- 17 -->[Box] Fix module 'clsx' not found in system (#26553) @coder-freestyle
2472- &#8203;<!-- 07 -->[Box] Fix runtime error when using styled-components without ThemeProvider (#26548) @mnajdova
2473- &#8203;<!-- 27 -->[Radio][checkbox] Don't forward `color` to DOM elements (#26625) @siriwatknp
2474- &#8203;<!-- 01 -->[Dialog] Flatten DialogTitle DOM structure, remove `disableTypography` (#26323) @eps1lon
2475- &#8203;<!-- 31 -->[Grid] Add rowSpacing and columnSpacing props (#26559) @likitarai1
2476- &#8203;<!-- 34 -->[List] extract button from ListItem to ListItemButton (#26446) @siriwatknp
2477- &#8203;<!-- 23 -->[Popover] Fix PaperProps.ref breaking positioning (#26560) @vedadeepta
2478- &#8203;<!-- 19 -->[Rating] onChangeActive shouldn't be fired on blur/focus (#26584) @coder-freestyle
2479- &#8203;<!-- 11 -->[Select] Fix custom font size centering arrow (#26570) @sarahannnicholson
2480- &#8203;<!-- 06 -->[styled] Convert implicit styleProps to explicit (#26461) @mnajdova@siriwatknp
2481- &#8203;<!-- 08 -->[Tabs] Fix RTL indicator (#26470) @siriwatknp
2482- &#8203;<!-- 02 -->[Tabs] Fix arrow rotation in vertical & RTL (#26527) @siriwatknp
2483- &#8203;<!-- 20 -->[TextField] Fix support for custom `size` prop value (#26585) @coder-freestyle
2484- &#8203;<!-- 04 -->[Tooltip] Finish exiting once started (#26535) @eps1lon
2485
2486### `@material-ui/icons@5.0.0-alpha.36`
2487
2488#### Breaking changes
2489
2490- &#8203;<!-- 15 -->[icons] Only ship ES modules (#26310) @eps1lon
2491
2492 The `require()` of `@material-ui/icons` is no longer supported.
2493 This should not affect you if you're using a bundler like `webpack` or `snowpack` or meta frameworks like `next` or `gatsby`.
2494
2495### `@material-ui/lab@5.0.0-alpha.36`
2496
2497#### Breaking changes
2498
2499- &#8203;<!-- 29 -->[pickers] Remove `openPickerIcon` prop in favor of `components.OpenPickerIcon` (#26223) @vedadeepta
2500
2501 ```diff
2502 <DateTimePicker
2503 components={{
2504 LeftArrowIcon: AlarmIcon,
2505 RightArrowIcon: SnoozeIcon,
2506 + OpenPickerIcon: ClockIcon,
2507 }}
2508 - openPickerIcon={<ClockIcon />}
2509 ```
2510
2511### `@material-ui/system@5.0.0-alpha.36`
2512
2513- &#8203;<!-- 18 -->[system] Add createTheme util (#26490) @mnajdova
2514
2515### Docs
2516
2517- &#8203;<!-- 28 -->[docs] Migrate templates to emotion (#26604) @vicasas
2518- &#8203;<!-- 26 -->[docs] Remove custom primary & secondary color (#26541) @siriwatknp
2519- &#8203;<!-- 24 -->[docs] Don't escape prop descriptions for markdown table context (#26579) @eps1lon
2520- &#8203;<!-- 22 -->[docs] Prepare for data grid auto-generated docs (#26477) @m4theushw
2521- &#8203;<!-- 21 -->[docs] Fix typo sx !== xs (#26596) @onpaws
2522- &#8203;<!-- 16 -->[docs] Multiple select demos moving when selecting values (#26539) @itsnorbertkalacska
2523- &#8203;<!-- 14 -->[docs] Improve migration guide for `@material-ui/styles` (#26552) @mnajdova
2524- &#8203;<!-- 12 -->[docs] `Rating` `value` is nullable in `onChange` (#26542) @sakura90
2525- &#8203;<!-- 30 -->[example] Remove the dependency on @material-ui/styles (#26567) @garfunkelvila
2526
2527### Core
2528
2529- &#8203;<!-- 33 -->[core] Ignore latest prettier run in git-blame @eps1lon
2530- &#8203;<!-- 32 -->[core] Format @eps1lon
2531- &#8203;<!-- 05 -->[test] Add bundle fixtures (#23166) @eps1lon
2532- &#8203;<!-- 09 -->[website] Add Michał to the About Us page (#26557) @michaldudak
2533
2534All contributors of this release in alphabetical order: @coder-freestyle, @eps1lon, @garfunkelvila, @itsnorbertkalacska, @likitarai1, @m4theushw, @michaldudak, @mnajdova, @onpaws, @sakura90, @sarahannnicholson, @siriwatknp, @vedadeepta, @vicasas
2535
2536## 5.0.0-alpha.35
2537
2538<!-- generated comparing v5.0.0-alpha.34..next -->
2539
2540_May 31, 2021_
2541
2542A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
2543
2544- 👩‍🎤 We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova.
2545- 📦 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.
2546- ⚒️ Add many new [codemods](https://github.com/mui-org/material-ui/blob/HEAD/packages/mui-codemod/README.md) to automate the migration from v4 to v5 (#24867) @mbrookes.
2547- And many more 🐛 bug fixes and 📚 improvements.
2548
2549### `@material-ui/core@5.0.0-alpha.35`
2550
2551#### Breaking changes
2552
2553- [styles] Remove `makeStyles` from `@material-ui/core` (#26382) @mnajdova
2554
2555 The `makeStyles` JSS utility is no longer exported from `@material-ui/core`. You can use `@material-ui/styles` instead. Make sure to add a `ThemeProvider` at the root of your application, as the `defaultTheme` is no longer available. If you are using this utility together with `@material-ui/core`, it's recommended you use the `ThemeProvider` component from `@material-ui/core` instead.
2556
2557 ```diff
2558 -import { makeStyles } from '@material-ui/core/styles';
2559 +import { makeStyles } from '@material-ui/styles';
2560 +import { createTheme, ThemeProvider } from '@material-ui/core/styles';
2561
2562 +const theme = createTheme();
2563 const useStyles = makeStyles((theme) => ({
2564 background: theme.palette.primary.main,
2565 }));
2566 function Component() {
2567 const classes = useStyles();
2568 return <div className={classes.root} />
2569 }
2570
2571 // In the root of your app
2572 function App(props) {
2573 - return <Component />;
2574 + return <ThemeProvider theme={theme}><Component {...props} /></ThemeProvider>;
2575 }
2576 ```
2577
2578- [styles] Remove `withStyles` from `@material-ui/core` (#26377) @mnajdova
2579
2580 The `withStyles` JSS utility is no longer exported from `@material-ui/core`. You can use `@material-ui/styles` instead. Make sure to add a `ThemeProvider` at the root of your application, as the `defaultTheme` is no longer available. If you are using this utility together with `@material-ui/core`, you should use the `ThemeProvider` component from `@material-ui/core` instead.
2581
2582 ```diff
2583 -import { withStyles } from '@material-ui/core/styles';
2584 +import { withStyles } from '@material-ui/styles';
2585 +import { createTheme, ThemeProvider } from '@material-ui/core/styles';
2586
2587 +const defaultTheme = createTheme();
2588 const MyComponent = withStyles((props) => {
2589 const { classes, className, ...other } = props;
2590 return <div className={clsx(className, classes.root)} {...other} />
2591 })(({ theme }) => ({ root: { background: theme.palette.primary.main }}));
2592
2593 function App() {
2594 - return <MyComponent />;
2595 + return <ThemeProvider theme={defaultTheme}><MyComponent /></ThemeProvider>;
2596 }
2597 ```
2598
2599- [styles] Merge options in `experimentalStyled` (#26396) @mnajdova
2600
2601 The options inside the `experimentalStyled` module are now merged under one object. In the coming weeks, we will rename ths module: `styled()` to signal that it's no longer experimental.
2602
2603 ```diff
2604 -experimentalStyled(Button, { shouldForwardProp: (prop) => prop !== 'something' }, { skipSx: true })(...);
2605 +experimentalStyled(Button, { shouldForwardProp: (prop) => prop !== 'something', skipSx: true })(...);
2606 ```
2607
2608- [Tabs] Update `min` & `max` width and remove `minWidth` media query (#26458) @siriwatknp
2609
2610 Update the implementation to better match Material Design:
2611
2612 - Tab `minWidth` changed from `72px` => `90px` (without media-query) according to [material-design spec](https://material.io/components/tabs#specs)
2613 - Tab `maxWidth` changed from `264px` => `360px` according to [material-design spec](https://material.io/components/tabs#specs)
2614
2615#### Changes
2616
2617- [ButtonBase] Fix role="button" attribute (#26271) @Gautam-Arora24
2618- [Dialog] Fix support for custom breakpoints (#26331) @jeferson-sb
2619- [Select] Open popup below button (#26200) @oliviertassinari
2620- [TextField] Add variants support, e.g. custom sizes (#26468) @siriwatknp
2621- [Tooltip] Improve handling of small vs. touch screens (#26097) @oliviertassinari
2622
2623### `@material-ui/codemod@5.0.0-alpha.35`
2624
2625- [codemod] Add multiple codemods to migrate components from v4 to v5 (#24867) @mbrookes
2626- [codemod] Correct path and add target placeholder (#26414) @mbrookes
2627
2628### `@material-ui/icons@5.0.0-alpha.35`
2629
2630- [icons] Use array children instead of React fragments (#26309) @eps1lon
2631
2632 Reduce a bit the size of the package.
2633
2634### `@material-ui/system@5.0.0-alpha.35`
2635
2636We are progressively moving all modules that are relevant to styling custom design systems in this package. It's meant to be complementary with `@material-ui/unstyled`.
2637
2638- [system] Add Box to system (#26379) @mnajdova
2639- [system] Add createStyled utility (#26485) @mnajdova
2640
2641### `@material-ui/styled-engine-sc@5.0.0-alpha.35`
2642
2643- [styled-engine] Fix styled() util to respect `options` (#26339) @pasDamola
2644
2645### `@material-ui/lab@5.0.0-alpha.35`
2646
2647#### Breaking changes
2648
2649- [pickers] Remove allowKeyboardControl (#26451) @eps1lon
2650- [ClockPicker] Rework keyboard implementation (#26400) @eps1lon
2651
2652 Remove the `allowKeyboardControl` prop from ClockPicker (and TimePicker and variants). Keyboard navigation now works by default.
2653
2654#### Changes
2655
2656- [Button] Migrate LoadingButton to emotion (#26370) @siriwatknp
2657- [ClockPicker] Selected option is the active descendant (#26411) @eps1lon
2658- [DatePicker] Migrate CalendarPicker to emotion (#26390) @siriwatknp
2659- [DatePicker] Migrate CalendarPickerSkeleton to emotion (#26335) @siriwatknp
2660- [DateRangePicker] Migrate DateRangePickerDay to emotion (#26368) @siriwatknp
2661- [DateRangePicker] Migrate internal components to emotion (#26326) @siriwatknp
2662- [pickers] Migrate PickersCalendarHeader to emotion (#26354) @siriwatknp
2663- [pickers] Migrate PickersModalDialog to emotion (#26355) @siriwatknp
2664- [pickers] Migrate PickersPopper to emotion (#26391) @siriwatknp
2665- [pickers] Migrate PickersTransition to emotion (#26353) @siriwatknp
2666- [TimePicker] Migrate ClockPicker to emotion (#26389) @siriwatknp
2667- [TreeView] Correctly select items in deeply nested trees (#26413) @Dru89
2668
2669### Docs
2670
2671- [docs] Add page for `experimentalStyled()` (#26361) @mnajdova
2672- [docs] Add TypeScript convention (#26259) @siriwatknp
2673- [docs] Add warning about git-blame-ignore-revs (#26487) @eps1lon
2674- [docs] Clarify migration from Hidden (#26348) @m4theushw
2675- [docs] Fix grammar for style library page (#26325) @mbrookes
2676- [docs] Persist copied state indefinitely or until the user moves their cursor (#26336) @eps1lon
2677- [docs] Typo in MultipleSelect (#26466) @wolfykey
2678- [docs] Update system installation for v5 (#26481) @mnajdova
2679- [template] Demo how to retreive form value (#26393) @akshitsuri
2680
2681### Core
2682
2683- [core] Batch small changes (#26434) @oliviertassinari
2684- [core] Fix peer dependencies declaration with yarn v2 (#26433) @oliviertassinari
2685- [core] Remove `@material-ui/styles` dependencies from declaration files too (#26376) @mnajdova
2686- [core] Revert Leverage CircleCI workspaces for jobs after checkout (#26444) @eps1lon
2687- [test] Don't hoist constant elements (#26448) @eps1lon
2688- [test] Fix prop-type warning (#26432) @oliviertassinari
2689- [test] Flush scheduled effects before user event returns (#26447) @eps1lon
2690- [test] Move ClockPicker tests to ClockPicker.test (#26407) @eps1lon
2691- [test] setProps from createPickerRender should set props on the rendered element (#26405) @eps1lon
2692- [utils] Convert useId to TypeScript (#26491) @eps1lon
2693- [website] Add Material-UI X page (#25794) @DanailH
2694- [website] Add open application section (#26501) @oliviertassinari
2695- [website] Add Siriwat to team page (#26406) @siriwatknp
2696
2697All contributors of this release in alphabetical order: @akshitsuri, @DanailH, @Dru89, @eps1lon, @Gautam-Arora24, @jeferson-sb, @m4theushw, @mbrookes, @mnajdova, @oliviertassinari, @pasDamola, @siriwatknp, @wolfykey
2698
2699## 5.0.0-alpha.34
2700
2701_May 18, 2021_
2702
2703<!-- generated comparing v5.0.0-alpha.33..next -->
2704
2705A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
2706
2707- 💥 Make progress with the breaking changes. We have done 89 of the 109 changes [planned](https://github.com/mui-org/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-org/material-ui/milestone/35) for more details.
2708- 🚀 Make progress with components migration to emotion. We have done 153 of the 168 components (almost there!)
2709- And many more 🐛 bug fixes and 📚 improvements.
2710
2711### `@material-ui/core@5.0.0-alpha.34`
2712
2713#### Breaking change
2714
2715- &#8203;<!-- 47 -->[Select][nativeselect] Polish CSS classes (#26186) @m4theushw
2716
2717 **Select, NativeSelect**
2718
2719 Merge the `selectMenu` slot into `select`. Slot `selectMenu` was redundant. The `root` slot is no longer applied to the select, but to the root.
2720
2721 ```diff
2722 -<NativeSelect classes={{ root: 'class1', select: 'class2', selectMenu: 'class3' }} />
2723 +<NativeSelect classes={{ select: 'class1 class2 class3' }} />
2724 ```
2725
2726 **TablePagination**
2727
2728 Move the custom class on `input` to `select`. The `input` key is being applied on another element.
2729
2730 ```diff
2731 <TablePagination
2732 - classes={{ input: 'foo' }}
2733 + classes={{ select: 'foo' }}
2734 />
2735 ```
2736
2737- &#8203;<!-- 45 -->[core] Move `StyledEngineProvider` to `@material-ui/core/styles` (#26265) @mnajdova
2738
2739 Change location of `StyledEngineProvider` import.
2740
2741 ```diff
2742 -import StyledEngineProvider from '@material-ui/core/StyledEngineProvider';
2743 +import { StyledEngineProvider } from '@material-ui/core/styles';
2744 ```
2745
2746- &#8203;<!-- 39 -->[Autocomplete] Apply .Mui-focused instead of data-focus on the focused option (#26181) @m4theushw
2747
2748 The `data-focus` attribute is not set on the focused option anymore, instead, global class names are used.
2749
2750 ```diff
2751 -'.MuiAutocomplete-option[data-focus="true"]': {
2752 +'.MuiAutocomplete-option.Mui-focused': {
2753 ```
2754
2755- &#8203;<!-- 31 -->[Radio] Make color primary default (#26180) @vicasas
2756- &#8203;<!-- 03 -->[Switch] Make color primary default (#26182) @vicasas
2757- &#8203;<!-- 10 -->[pickers] Drop ResponsiveWrapper usage (#26123) @eps1lon
2758
2759 When a responsive picker changes from mobile to desktop, it will now clear its entire state. To keep the original behavior you can implement a controlled picker:
2760
2761 ```js
2762 function ResponsiveDateTimePicker(props) {
2763 const [open, setOpen] = React.useState(false);
2764
2765 return (
2766 <DateTimePicker
2767 open={open}
2768 onClose={() => setOpen(false)}
2769 onOpen={() => setOpen(true)}
2770 {...props}
2771 />
2772 );
2773 }
2774 ```
2775
2776- &#8203;<!-- 63 -->[Autocomplete] Rename getOptionSelected to isOptionEqualToValue (#26173) @m4theushw
2777
2778 ```diff
2779 <Autocomplete
2780 - getOptionSelected={(option, value) => option.title === value.title}
2781 + isOptionEqualToValue={(option, value) => option.title === value.title}
2782 />
2783 ```
2784
2785> Follow [this link](https://mui.com/guides/migration-v4/#main-content) for full migration from v4 => v5
2786
2787#### Changes
2788
2789- &#8203;<!-- 61 -->[TextField] Fix hiddenLabel type of FilledInput (#26290) @siriwatknp
2790- &#8203;<!-- 54 -->[TextField] Fix classes forward to InputBase (#26231) @arpitBhalla
2791- &#8203;<!-- 17 -->[Autocomplete] Fix missing 'createOption' in AutocompleteCloseReason type (#26197) @Gautam-Arora24
2792- &#8203;<!-- 30 -->[Autocomplete] Reduce CSS specificity by 1 (#26238) @Gautam-Arora24
2793- &#8203;<!-- 07 -->[ButtonBase] Omit aria-disabled if not disabled (#26189) @Gautam-Arora24
2794- &#8203;<!-- 18 -->[colors] Fix A inconsistencies (#26196) @oliviertassinari
2795- &#8203;<!-- 08 -->[examples] Fix dynamic global styles & global styles leak in the ssr examples (#26177) @mnajdova
2796- &#8203;<!-- 57 -->[Slider] Fix support for non primary colors (#26285) @davidfdriscoll
2797- &#8203;<!-- 56 -->[Slider] Center value label for disabled slider (#26257) @davidfdriscoll
2798- &#8203;<!-- 19 -->[styled-engine] Fix styled-components not supporting empty style (#26098) @ruppysuppy
2799- &#8203;<!-- 21 -->[styles] Fix overrides type issues (#26228) @mnajdova
2800- &#8203;<!-- 64 -->[Container] Fix support for custom breakpoints (#26328) @alanszp
2801
2802### `@material-ui/lab@5.0.0-alpha.34`
2803
2804- &#8203;<!-- 68 -->[pickers] Migrate TimePickerToolbar to emotion (#26274) @siriwatknp
2805- &#8203;<!-- 67 -->[pickers] Migrate DatePickerToolbar to emotion (#26292) @siriwatknp
2806- &#8203;<!-- 66 -->[DateTimePicker] Migrate DateTimePickerTabs and Toolbar to emotion (#26327) @siriwatknp
2807- &#8203;<!-- 33 -->[DatePicker] Migrate PickersYear to emotion (#25949) @siriwatknp
2808- &#8203;<!-- 35 -->[DateRangePicker] Migrate PickersToolbarText to emotion (#25983) @siriwatknp
2809- &#8203;<!-- 46 -->[pickers] Migrate StaticWrapper to emotion (#26275) @siriwatknp
2810- &#8203;<!-- 58 -->[pickers] Migrate Clock to emotion (#26278) @siriwatknp
2811- &#8203;<!-- 43 -->[pickers] Migrate PickersToolbar to emotion (#26273) @siriwatknp
2812- &#8203;<!-- 42 -->[pickers] Migrate ClockNumber to emotion (#26058) @siriwatknp
2813- &#8203;<!-- 41 -->[pickers] Migrate ClockPointer to emotion (#26057) @siriwatknp
2814- &#8203;<!-- 32 -->[pickers] Migrate PickersMonth to emotion (#26021) @siriwatknp
2815- &#8203;<!-- 26 -->[pickers] Migrate MonthPicker to emotion (#26025) @siriwatknp
2816- &#8203;<!-- 25 -->[pickers] Migrate PickersDay to emotion (#25995) @siriwatknp
2817- &#8203;<!-- 06 -->[pickers] Migrate PickersToolbarButton to emotion (#25989) @siriwatknp
2818
2819### `@material-ui/icons@5.0.0-alpha.34`
2820
2821- &#8203;<!-- 52 -->[icons] Remove extraneous React.Fragment (#26308) @eps1lon
2822- &#8203;<!-- 50 -->[icons] Synchronize icons (#26302) @eps1lon
2823
2824 New DriveFileMove icon and its variants
2825
2826### Docs
2827
2828- &#8203;<!-- 16 -->[NProgressBar] Fix invalid ARIA and HTML (#26234) @eps1lon
2829- &#8203;<!-- 65 -->[docs] Simplify demos slider (#26324) @oliviertassinari
2830- &#8203;<!-- 48 -->[docs] Use transpiled icons directly (#26268) @eps1lon
2831- &#8203;<!-- 44 -->[docs] Remove dependency on withStyles from @material-ui/core/styles (#26269) @mnajdova
2832- &#8203;<!-- 40 -->[docs] Add Jalali date picker demo (#26243) @smmoosavi
2833- &#8203;<!-- 37 -->[docs] Remove last dependencies on `makeStyles` from `@material-ui/core/styles` (#26246) @mnajdova
2834- &#8203;<!-- 29 -->[docs] Polish the pickers demo (#26094) @oliviertassinari
2835- &#8203;<!-- 28 -->[docs] Fix broken overrides link on API pages (#26244) @mnajdova
2836- &#8203;<!-- 27 -->[docs] Improve documentation for Buttons (#26184) @arpitBhalla
2837- &#8203;<!-- 24 -->[docs] Emphasize on props for screen readers (#26222) @atisheyJain03
2838- &#8203;<!-- 23 -->[docs] Link third-party routing in Bottom Navigation (#26190) @arpitBhalla
2839- &#8203;<!-- 22 -->[docs] Migrate Select, Progress demos to emotion (#26178) @mnajdova
2840- &#8203;<!-- 20 -->[docs] Add accessibility section to Badges (#26009) @likitarai1
2841- &#8203;<!-- 15 -->[docs] Migrate Popper, Drawer demos to emotion (#26183) @mnajdova
2842- &#8203;<!-- 12 -->[docs] Use public next/router events API (#26233) @eps1lon
2843- &#8203;<!-- 11 -->[docs] Remove remnants Hidden component (#26191) @vicasas
2844- &#8203;<!-- 09 -->[docs] Ensure TreeView demos don't overflow demo container (#26161) @eps1lon
2845- &#8203;<!-- 05 -->[docs] Fix a typo in the import statement of LocalizationProvider (#26226) @huyenltnguyen
2846- &#8203;<!-- 04 -->[docs] Improve react-admin coverage in the showcase (#26169) @fzaninotto
2847- &#8203;<!-- 02 -->[docs] Fix Workbox that are causing infinite loading of site (#26193) @arpitBhalla
2848
2849### Core
2850
2851- &#8203;<!-- 60 -->[core] Skip sx prop in internal components (#26235) @mnajdova
2852- &#8203;<!-- 59 -->[core] Remove `withStyles` dependencies from `@material-ui/core/styles` (#26277) @mnajdova
2853- &#8203;<!-- 55 -->[core] Include human readable target in the BrowserStack build (#26322) @eps1lon
2854- &#8203;<!-- 53 -->[core] Fix NotchedOutlineProps type (#26305) @gnowland
2855- &#8203;<!-- 51 -->[core] Add file for git-blame --ignore-revs-file (#26295) @eps1lon
2856- &#8203;<!-- 49 -->[core] Ensure component class keys aren't missing (#25754) @eps1lon
2857- &#8203;<!-- 38 -->[core] Drop support for blocking mode (#26262) @eps1lon
2858- &#8203;<!-- 36 -->[core] Don't download monorepo packages (#26261) @eps1lon
2859- &#8203;<!-- 14 -->[core] Batch small changes (#26199) @oliviertassinari
2860- &#8203;<!-- 13 -->[core] Extract classes descriptions from TypeScript (#25933) @eps1lon
2861- &#8203;<!-- 34 -->[styled-engine] Fix test script (#26258) @ruppysuppy
2862
2863All contributors of this release in alphabetical order: @arpitBhalla, @atisheyJain03, @davidfdriscoll, @eps1lon, @fzaninotto, @Gautam-Arora24, @gnowland, @huyenltnguyen, @likitarai1, @m4theushw, @mnajdova, @oliviertassinari, @ruppysuppy, @siriwatknp, @smmoosavi, @vicas
2864
2865## 5.0.0-alpha.33
2866
2867_May 9, 2021_
2868
2869A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
2870
2871- 💥 Make progress with the breaking changes. We have done 81 of the 109 changes [planned](https://github.com/mui-org/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-org/material-ui/milestone/35) for more details.
2872- And many more 🐛 bug fixes and 📚 improvements.
2873
2874### `@material-ui/core@5.0.0-alpha.33`
2875
2876#### Breaking changes
2877
2878- &#8203;<!-- 09 -->[core] Remove deprecated innerRef prop (#26028) @m4theushw
2879
2880 **withStyles**
2881
2882 Replace the `innerRef` prop with the `ref` prop. Refs are now automatically forwarded to the inner component.
2883
2884 ```diff
2885 import * as React from 'react';
2886 import { withStyles } from '@material-ui/core/styles';
2887 const MyComponent = withStyles({
2888 root: {
2889 backgroundColor: 'red',
2890 },
2891 })(({ classes }) => <div className={classes.root} />);
2892 function MyOtherComponent(props) {
2893 const ref = React.useRef();
2894 - return <MyComponent innerRef={ref} />;
2895 + return <MyComponent ref={ref} />;
2896 }
2897 ```
2898
2899 **withTheme**
2900
2901 Replace the `innerRef` prop with the `ref` prop. Refs are now automatically forwarded to the inner component.
2902
2903 ```diff
2904 import * as React from 'react';
2905 import { withTheme } from '@material-ui/core/styles';
2906 const MyComponent = withTheme(({ theme }) => <div>{props.theme.direction}</div>);
2907 function MyOtherComponent(props) {
2908 const ref = React.useRef();
2909 - return <MyComponent innerRef={ref} />;
2910 + return <MyComponent ref={ref} />;
2911 }
2912 ```
2913
2914- &#8203;<!-- 10 -->[theme] Rename `createMuiTheme` to `createTheme` (#25992) @m4theushw
2915
2916 Developers only need one theme in their application. A prefix would suggest a second theme is needed. It's not the case. `createMuiTheme` will be removed in v6.
2917
2918 ```diff
2919 -import { createMuiTheme } from '@material-ui/core/styles';
2920 +import { createTheme } from '@material-ui/core/styles';
2921
2922 -const theme = createMuiTheme({
2923 +const theme = createTheme({
2924 ```
2925
2926- &#8203;<!-- 74 -->[theme] Remove MuiThemeProvider alias (#26171) @m4theushw
2927
2928 The `MuiThemeProvider` is no longer exported. Use `ThemeProvider` instead. It was removed from the documentation during v4-beta, 2 years ago.
2929
2930 ```diff
2931 -import { MuiThemeProvider } from '@material-ui/core/styles';
2932 +import { ThemeProvider } from '@material-ui/core/styles';
2933 ```
2934
2935- &#8203;<!-- 20 -->[Box] Remove the `clone` prop (#26031) @m4theushw
2936
2937 Its behavior can be obtained using the `sx` prop.
2938
2939 ```diff
2940 -<Box sx={{ border: '1px dashed grey' }} clone>
2941 - <Button>Save</Button>
2942 -</Box>
2943 +<Button sx={{ border: '1px dashed grey' }}>Save</Button>
2944 ```
2945
2946- &#8203;<!-- 51 -->[Box] Remove render prop (#26113) @m4theushw
2947
2948 Its behavior can be obtained using the `sx` prop directly on the child if it's a Material-UI component. For non-Material-UI components use the `sx` prop in conjunction with the `component` prop:
2949
2950 ```diff
2951 -<Box sx={{ border: '1px dashed grey' }}>
2952 - {(props) => <Button {...props}>Save</Button>}
2953 -</Box>
2954 +<Button sx={{ border: '1px dashed grey' }}>Save</Button>
2955 ```
2956
2957 ```diff
2958 -<Box sx={{ border: '1px dashed grey' }}>
2959 - {(props) => <button {...props}>Save</button>}
2960 -</Box>
2961 +<Box component="button" sx={{ border: '1px dashed grey' }}>Save</Box>
2962 ```
2963
2964- &#8203;<!-- 25 -->[Checkbox] Make color="primary" default (#26002) @vicasas
2965
2966 This better matches the Material Design guidelines.
2967
2968 ```diff
2969 -<Checkbox />
2970 +<Checkbox color="secondary />
2971 ```
2972
2973- &#8203;<!-- 30 -->[Select] Remove `labelWidth` prop (#26026) @m4theushw
2974
2975 The `label` prop now fulfills the same purpose, using CSS layout instead of JavaScript measurement to render the gap in the outlined. The TextField already handles it by default.
2976
2977 ```diff
2978 -<Select variant="outlined" labelWidth={20} />
2979 +<Select label="Gender" />
2980 ```
2981
2982- &#8203;<!-- 50 -->[core] Remove `styled` JSS utility from `@material-ui/core/styles` (#26101) @mnajdova
2983
2984 The `styled` **JSS** utility is no longer exported from `@material-ui/core/styles`. You can use `@material-ui/styles/styled` instead. Make sure to add a `ThemeProvider` at the root of your application, as the `defaultTheme` is no longer available. If you are using this utility together with `@material-ui/core`, it's recommended you use the `ThemeProvider` component from `@material-ui/core/styles` instead.
2985
2986 ```diff
2987 -import { styled } from '@material-ui/core/styles';
2988 +import { styled } from '@material-ui/styles';
2989 +import { createTheme, ThemeProvider } from '@material-ui/core/styles';
2990
2991 +const theme = createTheme();
2992 const MyComponent = styled('div')(({ theme }) => ({ background: theme.palette.primary.main }));
2993
2994 function App(props) {
2995 - return <MyComponent />;
2996 + return <ThemeProvider theme={theme}><MyComponent {...props} /></ThemeProvider>;
2997 }
2998 ```
2999
3000 For new components, you can instead use the `experimentalStyled()` helper powered by emotion/sc.
3001
3002 ```jsx
3003 import { experimentalStyled as styled } from '@material-ui/core/styles';
3004 ```
3005
3006- &#8203;<!-- 63 -->[Hidden] Remove component (#26135) @m4theushw
3007
3008 Removed in favor of using the `sx` prop or the `useMediaQuery` hook.
3009
3010 Use the `sx` prop to replace `implementation="css"`:
3011
3012 ```diff
3013 -<Hidden implementation="css" xlUp><Paper /></Hidden>
3014 -<Hidden implementation="css" xlUp><button /></Hidden>
3015 +<Paper sx={{ display: { xl: 'none', xs: 'block' } }} />
3016 +<Box component="button" sx={{ display: { xl: 'none', xs: 'block' } }} />
3017 ```
3018
3019 ```diff
3020 -<Hidden implementation="css" mdDown><Paper /></Hidden>
3021 -<Hidden implementation="css" mdDown><button /></Hidden>
3022 +<Paper sx={{ display: { xs: 'none', md: 'block' } }} />
3023 +<Box component="button" sx={{ display: { xs: 'none', md: 'block' } }} />
3024 ```
3025
3026 Use the `useMediaQuery` hook to replace `implementation="js"`:
3027
3028 ```diff
3029 -<Hidden implementation="js" xlUp><Paper /></Hidden>
3030 +const hidden = useMediaQuery(theme => theme.breakpoints.up('xl'));
3031 +return hidden ? null : <Paper />;
3032 ```
3033
3034- &#8203;<!-- 64 -->[withWidth] Remove API (#26136) @m4theushw
3035
3036 Removed in favor of the `useMediaQuery` hook. You can reproduce the same functionality creating a custom hook as described [here](https://mui.com/components/use-media-query/#migrating-from-withwidth).
3037
3038- &#8203;<!-- 75 -->[Autocomplete] Rename values of the reason argument (#26172) @m4theushw
3039
3040 Rename the values of the reason argument in `onChange` and `onClose` for consistency:
3041
3042 1. `create-option` to `createOption`
3043 2. `select-option` to `selectOption`
3044 3. `remove-option` to `removeOption`
3045
3046- &#8203;<!-- 28 -->[core] Remove `withTheme` from `@material-ui/core` (#26051) @mnajdova
3047
3048 The `withTheme` utility has been removed from the `@material-ui/core/styles` package. You can use the `@material-ui/styles/withTheme` instead. Make sure to add a `ThemeProvider` at the root of your application, as the `defaultTheme` is no longer available. If you are using this utility together with `@material-ui/core`, it's recommended you use the `ThemeProvider` from `@material-ui/core/styles` instead.
3049
3050 ```diff
3051 import * as React from 'react';
3052 -import { withTheme } from '@material-ui/core/styles';
3053 +import { withTheme } from '@material-ui/styles';
3054 +import { createTheme, ThemeProvider } from '@material-ui/core/styles';
3055
3056 +const theme = createTheme();
3057 const MyComponent = withTheme(({ theme }) => <div>{props.theme.direction}</div>);
3058
3059 function App(props) {
3060 - return <MyComponent />;
3061 + return <ThemeProvider theme={theme}><MyComponent {...props} /></ThemeProvider>;
3062 }
3063 ```
3064
3065- &#8203;<!-- 15 -->[core] Remove `createStyles` from `@material-ui/core` (#26018) @mnajdova
3066
3067 - The `createGenerateClassName` module is no longer exported from `@material-ui/core/styles`. You should import it directly from `@material-ui/styles`.
3068
3069 ```diff
3070 -import { createGenerateClassName } from '@material-ui/core/styles';
3071 +import { createGenerateClassName } from '@material-ui/styles';
3072 ```
3073
3074 - The `jssPreset` object is no longer exported from `@material-ui/core/styles`. You should import it directly from `@material-ui/styles`.
3075
3076 ```diff
3077 -import { jssPreset } from '@material-ui/core/styles';
3078 +import { jssPreset } from '@material-ui/styles';
3079 ```
3080
3081 - The `ServerStyleSheets` component is no longer exported from `@material-ui/core/styles`. You should import it directly from `@material-ui/styles`.
3082
3083 ```diff
3084 -import { ServerStyleSheets } from '@material-ui/core/styles';
3085 +import { ServerStyleSheets } from '@material-ui/styles';
3086 ```
3087
3088- The `StylesProvider` component is no longer exported from `@material-ui/core/styles`. You should import it directly from `@material-ui/styles`.
3089
3090 ```diff
3091 -import { StylesProvider } from '@material-ui/core/styles';
3092 +import { StylesProvider } from '@material-ui/styles';
3093 ```
3094
3095- The `useThemeVariants` hook is no longer exported from `@material-ui/core/styles`. You should import it directly from `@material-ui/styles`.
3096
3097 ```diff
3098 -import { useThemeVariants } from '@material-ui/core/styles';
3099 +import { useThemeVariants } from '@material-ui/styles';
3100 ```
3101
3102- [FormControlLabel] The `label` prop is now required.
3103
3104#### Changes
3105
3106- &#8203;<!-- 47 -->[Dialog] Improve support for custom breakpoints (#26092) @oliviertassinari
3107- &#8203;<!-- 32 -->[IconButton] Fix default color prop (#26064) @Jack-Works
3108- &#8203;<!-- 27 -->[Radio] Migrate RadioButtonIcon to emotion (#26068) @mnajdova
3109- &#8203;<!-- 33 -->[SwipeableDrawer] Migrate SwipeArea to emotion (#26059) @mnajdova
3110- &#8203;<!-- 72 -->[Table] Synchronize horizontal sticky header position with body (#26159) @LiKang6688
3111- &#8203;<!-- 69 -->[Tabs] Fix support for null children in TabList (#26170) @hubertokf
3112- &#8203;<!-- 31 -->[Tabs] Fix keyboard traversal over disabled tabs (#26061) @anish-khanna
3113- &#8203;<!-- 55 -->[TextField] Fix missing `standard` variant classes in types (#26115) @siriwatknp
3114- &#8203;<!-- 54 -->[TextField] Allow to customize Typography in FormControlLabel (#25883) @mousemke
3115- &#8203;<!-- 17 -->[theme] Fix transition duration default value customization (#26054) @anshuman9999
3116
3117### `@material-ui/lab@5.0.0-alpha.33`
3118
3119#### Breaking changes
3120
3121- &#8203;<!-- 08 -->[Timeline] Add support for position override on items (#25974) @simonecervini
3122
3123 Rename the `align` prop to `position` to reduce confusion.
3124
3125 ```diff
3126 -<Timeline align="alternate">
3127 +<Timeline position="alternate">
3128 ```
3129
3130 ```diff
3131 -<Timeline align="left">
3132 +<Timeline position="right">
3133 ```
3134
3135 ```diff
3136 -<Timeline align="right">
3137 +<Timeline position="left">
3138 ```
3139
3140- &#8203;<!-- 56 -->[pickers] Remove customization of deep components (#26118) @eps1lon
3141
3142#### Changes
3143
3144- &#8203;<!-- 02 -->[DatePicker] Migrate YearPicker to emotion (#25928) @siriwatknp
3145- &#8203;<!-- 14 -->[DateRangePicker] Fix not being opened on click (#26016) @eps1lon
3146- &#8203;<!-- 48 -->[pickers] Fix ref types (#26121) @eps1lon
3147- &#8203;<!-- 43 -->[pickers] Rely on native behavior for disabled/readOnly behavior (#26055) @eps1lon
3148- &#8203;<!-- 29 -->[pickers] Remove unused components from mobile and desktop variants (#26066) @eps1lon
3149- &#8203;<!-- 23 -->[pickers] Document readonly/disabled pickers (#26056) @eps1lon
3150- &#8203;<!-- 19 -->[pickers] Remove unused components from static variants (#26052) @eps1lon
3151- &#8203;<!-- 13 -->[pickers] Toggle mobile keyboard view in the same commit as the view changes (#26017) @eps1lon
3152- &#8203;<!-- 11 -->[pickers] Remove redundant aria-hidden (#26014) @eps1lon
3153- &#8203;<!-- 04 -->[pickers] Ensure input value is reset in the same commit as the value (#25972) @eps1lon
3154- &#8203;<!-- 49 -->[internal][pickers] Pass desktop wrapper props explicitly (#26120) @eps1lon
3155- &#8203;<!-- 44 -->[internal][pickers] Move useInterceptProps into module (#26090) @eps1lon
3156- &#8203;<!-- 37 -->[internal][pickers] Explicit default toolbar components (#26075) @eps1lon
3157- &#8203;<!-- 35 -->[internal][pickers] Move validation from config to module (#26074) @eps1lon
3158- &#8203;<!-- 21 -->[internal][pickers] Minimal types for defaultizing in useInterceptProps (#26063) @eps1lon
3159- &#8203;<!-- 18 -->[internal][pickers] Don't validate inputFormat in production (#26053) @eps1lon
3160- &#8203;<!-- 12 -->[internal][pickers] Remove unused styles (#26023) @eps1lon
3161- &#8203;<!-- 03 -->[internal][pickers] Remove `AllSharedPickerProps` and `AllSharedDateRangePickerProps` (#26005) @eps1lon
3162
3163### Docs
3164
3165- &#8203;<!-- 77 -->[docs] Migrate Tabs, Table, Snackbar demos to emotion (#26175) @mnajdova
3166- &#8203;<!-- 73 -->[docs] Fix dynamic global styles (#25690) @mnajdova
3167- &#8203;<!-- 71 -->[docs] Fixed React.forwardRef missing display name ESLint error (#26160) @arpitBhalla
3168- &#8203;<!-- 70 -->[docs] Migrate Tooltip, Steppers demos to emotion (#26165) @mnajdova
3169- &#8203;<!-- 68 -->[docs] Migrate Dialog demos to emotion (#26162) @vicasas
3170- &#8203;<!-- 67 -->[docs] Remove `makeStyles` from landing pages (#26130) @mnajdova
3171- &#8203;<!-- 65 -->[docs] Add new customized switch examples (#26096) @DanielBretzigheimer
3172- &#8203;<!-- 62 -->[docs] Migrate Autocomplete demos (#26127) @mnajdova
3173- &#8203;<!-- 61 -->[docs] Remove `@material-ui/core/styles` from the styles pages (#26126) @mnajdova
3174- &#8203;<!-- 60 -->[docs] Update templates, premium-themes to use `makeStyles` from `@material-ui/styles` (#26131) @mnajdova
3175- &#8203;<!-- 59 -->[docs] Migrate TreeView demos (#26146) @mnajdova
3176- &#8203;<!-- 57 -->[docs] More explicit breakpoint documentation in `sx` (#26140) @eps1lon
3177- &#8203;<!-- 53 -->[docs] Explicitly describe how the media query affects the rendered version (#26129) @eps1lon
3178- &#8203;<!-- 45 -->[docs] Fix 301 link to store (#26095) @oliviertassinari
3179- &#8203;<!-- 42 -->[docs] Normalize name use for state in pickers demo (#26093) @oliviertassinari
3180- &#8203;<!-- 41 -->[docs] Consistent type name in docs (#26077) @jamesaucode
3181- &#8203;<!-- 38 -->[docs] Remove `makeStyles` dependency from core in modules (#26071) @mnajdova
3182- &#8203;<!-- 34 -->[docs] Add links for demo in different deploys (#26065) @eps1lon
3183- &#8203;<!-- 26 -->[docs] Add section for useFormControl (#25927) @t49tran
3184- &#8203;<!-- 24 -->[docs] Add Styled Engine page (#25911) @mnajdova
3185- &#8203;<!-- 16 -->[docs] Migrate Timeline demos to emotion (#26036) @vicasas
3186- &#8203;<!-- 07 -->[docs] Document all the colors available (#26015) @anshuman9999
3187- &#8203;<!-- 01 -->[docs] Avoid extracting classes twice (#25973) @oliviertassinari
3188
3189### Core
3190
3191- &#8203;<!-- 52 -->[test] Add test for behavior when picker variant changes (#26128) @eps1lon
3192- &#8203;<!-- 36 -->[test] testing-library patterns for playwright tests (#25860) @eps1lon
3193- &#8203;<!-- 22 -->[test] Remove scheduler/tracing (#26062) @eps1lon
3194- &#8203;<!-- 05 -->[test] Remove duplicate property (#26011) @eps1lon
3195- &#8203;<!-- 76 -->[core] Link to experimental size-comparison page (#26179) @eps1lon
3196- &#8203;<!-- 66 -->[core] Update typings for theme's components (#26125) @mnajdova
3197- &#8203;<!-- 58 -->[core] Improve `react@experimental` compat (#26116) @eps1lon
3198- &#8203;<!-- 46 -->[core] Remove more dependencies on `@material-ui/styles` (#26100) @mnajdova
3199- &#8203;<!-- 40 -->[core] Batch small changes (#26083) @oliviertassinari
3200- &#8203;<!-- 39 -->[core] ComponentType -> JSXElementConstructor (#26081) @eps1lon
3201- &#8203;<!-- 06 -->[core] Create new @material-ui/private-theming package (#25986) @mnajdova
3202
3203All contributors of this release in alphabetical order: @anish-khanna, @anshuman9999, @arpitBhalla, @DanielBretzigheimer, @eps1lon, @hubertokf, @Jack-Works, @jamesaucode, @LiKang6688, @m4theushw, @mnajdova, @mousemke, @oliviertassinari, @simonecervini, @siriwatknp, @t49tran, @vicasas
3204
3205## 5.0.0-alpha.32
3206
3207<!-- generated comparing v5.0.0-alpha.31..next -->
3208
3209_Apr 27, 2021_
3210
3211A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
3212
3213- 👩‍🎤 We have completed the migration to emotion of all components in `@material-ui/core`. We will focus on the components in `@material-ui/lab` next.
3214- 💥 Make progress with the breaking changes plan. We have done 38 out of 41 breaking changes that can be deprecated. We have done 21 out of the 39 that can't have deprecations. Once done, we will focus on updating the component for better following material design, and to improve the aesthetic.
3215- 💄 Support extending the theme for custom color and size values in all components.
3216- And many more 🐛 bug fixes and 📚 improvements.
3217
3218### `@material-ui/core@5.0.0-alpha.32`
3219
3220#### Breaking changes
3221
3222- &#8203;<!-- 46 --> [Table] Rename padding="default" to padding="normal" (#25924) @m4theushw
3223
3224 ```diff
3225 -<Table padding="default" />
3226 -<TableCell padding="default" />
3227 +<Table padding="normal" />
3228 +<TableCell padding="normal" />
3229 ```
3230
3231- &#8203;<!-- 29 -->[Button] Rename `pending` prop to `loading` in LoadingButton (#25874) @m4theushw
3232
3233 ```diff
3234 -<LoadingButton pending pendingIndicator="Pending..." pendingPosition="end" />
3235 +<LoadingButton loading loadingIndicator="Pending..." loadingPosition="end" />
3236 ```
3237
3238- &#8203;<!-- 25 -->[ButtonBase] Remove buttonRef prop (#25896) @m4theushw
3239
3240 ```diff
3241 -<ButtonBase buttonRef={ref} />
3242 +<ButtonBase ref={ref} />
3243 ```
3244
3245 ```diff
3246 -<Button buttonRef={ref} />
3247 +<Button ref={ref} />
3248 ```
3249
3250- &#8203;<!-- 41 -->[Checkbox][switch] Remove checked argument from onChange (#25871) @m4theushw
3251
3252 ```diff
3253 function MyCheckbox() {
3254 - const handleChange = (event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => {
3255 + const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {
3256 + const checked = event.target.checked;
3257 };
3258 return <Checkbox onChange={handleChange} />;
3259 }
3260 ```
3261
3262 ```diff
3263 function MySwitch() {
3264 - const handleChange = (event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => {
3265 + const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {
3266 + const checked = event.target.checked;
3267 };
3268 return <Switch onChange={handleChange} />;
3269 }
3270 ```
3271
3272- &#8203;<!-- 42 -->[theme] Remove theme.breakpoints.width helper (#25918) @m4theushw
3273
3274 ```diff
3275 -theme.breakpoints.width('md')
3276 +theme.breakpoints.values.md
3277 ```
3278
3279- &#8203;<!-- 32 -->[theme] Remove theme.typography.round helper (#25914) @m4theushw
3280
3281 The `theme.typography.round` helper was removed because it was no longer used. If you need it, use the function below:
3282
3283 ```js
3284 function round(value) {
3285 return Math.round(value * 1e5) / 1e5;
3286 }
3287 ```
3288
3289#### Changes
3290
3291- &#8203;<!-- 03 -->[Container] Fix maxWidth="false" resulting in incorrect css (#25869) @mnajdova
3292- &#8203;<!-- 49 -->[core] Improve support for extended props in theme (#25934) @vicasas
3293- &#8203;<!-- 45 -->[core] Fix various too wide `classes` types (AppBar, Card, Link, LoadingButton, MenuItem) (#25917) @eps1lon
3294- &#8203;<!-- 05 -->[Drawer] Fix classes forwarded to DOM node for docked drawer (#25870) @mnajdova
3295- &#8203;<!-- 21 -->[IconButton] Support custom colors and sizes (#25890) @Vikram710
3296- &#8203;<!-- 16 -->[l10n] Add Bengali (bnBD) locale (#25841) @Knoxo
3297- &#8203;<!-- 34 -->[Rating] Support custom sizes (#25922) @vicasas
3298- &#8203;<!-- 30 -->[Select] Fix classes leaking on the DOM (#25894) @siriwatknp
3299- &#8203;<!-- 43 -->[Stack] Fix support of spacing falsy values (#25937) @simonecervini
3300- &#8203;<!-- 22 -->[Table] Migrate TablePagination to emotion (#25809) @siriwatknp
3301- &#8203;<!-- 26 -->[Tabs] Migrate Tabs to emotion (#25824) @siriwatknp
3302- &#8203;<!-- 50 -->[TextField] Remove utlity class name for margin="none" (#25969) @oliviertassinari
3303- &#8203;<!-- 24 -->[TextField] Make the `position` prop required in InputAdornment (#25891) @m4theushw
3304- &#8203;<!-- 23 -->[theme] Remove fade color helper (#25895) @m4theushw
3305
3306### `@material-ui/lab@5.0.0-alpha.32`
3307
3308- &#8203;<!-- 53 -->[DateTimePicker] `date` is nullable in `onChange` (#25981) @eps1lon
3309- &#8203;<!-- 39 -->[internal][pickers] Remove unused TView type argument (#25936) @eps1lon
3310- &#8203;<!-- 48 -->[internal][pickers] Inline some BasePickerProps usages (#25971) @eps1lon
3311- &#8203;<!-- 44 -->[internal][pickers] Entangle what *Props vs All*Props means (#25938) @eps1lon
3312- &#8203;<!-- 19 -->[lab] Update slot components to use overridesResolver (#25906) @mnajdova
3313- &#8203;<!-- 40 -->[Timeline] Remove use of nth-child in favor of nth-of-type (#25915) @wellwellmissesanderson
3314- &#8203;<!-- 06 -->[Timeline] Migrate Timeline to emotion (#25838) @siriwatknp
3315- &#8203;<!-- 55 -->[TreeView] Migrate TreeItem to emotion (#25835) @siriwatknp
3316
3317### `@material-ui/styled-engine@5.0.0-alpha.32`
3318
3319- &#8203;<!-- 02 -->[styled-engine] Skip variants resolver for non root slots by default (#25865) @mnajdova
3320
3321### `@material-ui/system@5.0.0-alpha.32`
3322
3323- &#8203;<!-- 12 -->[system] Add missing `main` entry for styleFunctionSx (#25885) @eps1lon
3324
3325### `@material-ui/types@6.0.0`
3326
3327This package is just re-released since version 5.1.7 had a breaking change.
3328
3329### Docs
3330
3331- &#8203;<!-- 28 -->[Autocomplete] Fix tagSize class typo (#25908) @JanMisker
3332- &#8203;<!-- 51 -->[DataGrid] Update docs sections (#25980) @dtassone
3333- &#8203;<!-- 38 -->[docs] Batch small fixes (#25807) @m4theushw
3334- &#8203;<!-- 13 -->[docs] Explicitly list demos of unstyled components (#25900) @eps1lon
3335- &#8203;<!-- 04 -->[docs] Expose heading links in a11y tree (#25861) @eps1lon
3336- &#8203;<!-- 58 -->[docs] Fix minor typo (#26001) @onpaws
3337- &#8203;<!-- 09 -->[docs] Fix global styles leaking on different pages (#25855) @mnajdova
3338- &#8203;<!-- 31 -->[docs] Fix Typography api docs for `paragraph` prop (#25929) @DanailH
3339- &#8203;<!-- 17 -->[docs] Fix Slider's classes wrong description (#25907) @mnajdova
3340- &#8203;<!-- 37 -->[docs] Grammar correction in autocomplete API (#25910) @gruber76
3341- &#8203;<!-- 15 -->[docs] Require documentation of demos (#25811) @eps1lon
3342- &#8203;<!-- 36 -->[docs] Update minimum required TypeScript version (#25930) @eps1lon
3343- &#8203;<!-- 56 -->[Table] Improve description of TablePagination.rowsPerPageOptions (#25982) @kevinlul
3344
3345### Core
3346
3347- &#8203;<!-- 54 -->[core] Fix wrong imports to '@material-ui/styles' (#25984) @mnajdova
3348- &#8203;<!-- 52 -->[core] Ensure props spreading works as expected (#25939) @oliviertassinari
3349- &#8203;<!-- 47 -->[core] Batch small changes (#25968) @oliviertassinari
3350- &#8203;<!-- 35 -->[core] Enable trailing comma in TypeScript files (#25931) @eps1lon
3351- &#8203;<!-- 33 -->[core] Remove @typescript-to-proptypes-generate handlers (#25909) @eps1lon
3352- &#8203;<!-- 18 -->[core] Update slots components to enable flatten specificity for overrides (#25853, #25864, #25881, #25884, #25887, #25904, #25892) @mnajdova
3353- &#8203;<!-- 27 -->[test] Add current behavior of inverleaving elements on mousedown (#25903) @eps1lon
3354- &#8203;<!-- 20 -->[test] Add test validator to improve DX (#25854) @siriwatknp
3355- &#8203;<!-- 57 -->[test] Fix duplicate key in TreeItem test (#26000) @mnajdova
3356
3357All contributors of this release in alphabetical order: @DanailH, @dtassone, @eps1lon, @gruber76, @JanMisker, @kevinlul, @Knoxo, @m4theushw, @mnajdova, @oliviertassinari, @simonecervini, @siriwatknp, @vicasas, @Vikram710, @wellwellmissesanderson
3358
3359## 5.0.0-alpha.31
3360
3361<!-- generated comparing v5.0.0-alpha.30..next -->
3362
3363_Apr 20, 2021_
3364
3365A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
3366
3367- 👩‍🎤 Migrate 4 components to emotion.
3368- 💥 Resume work on the breaking changes, aim for v5.0.0-beta.0 in the next coming months.
3369- And many more 🐛 bug fixes and 📚 improvements.
3370
3371### `@material-ui/core@5.0.0-alpha.31`
3372
3373#### Breaking changes
3374
3375- [FormControl] Change default variant from standard to outlined (#24895) @petyosi
3376 Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui-org/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
3377
3378 ```diff
3379 -<FormControl value="Standard" />
3380 -<FormControl value="Outlined" variant="outlined" />
3381 +<FormControl value="Standard" variant="standard" />
3382 +<FormControl value="Outlined" />
3383 ```
3384
3385- [Menu] The `selectedMenu` variant will not vertically align the selected item with the anchor anymore. (#25691) @m4theushw
3386- [Popover] Remove the `getContentAnchorEl` prop to simplify the positioning logic. (#25691) @m4theushw
3387- [Select] Change default variant from standard to outlined (#24895) @petyosi
3388 Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui-org/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
3389
3390 ```diff
3391 -<Select value="Standard" />
3392 -<Select value="Outlined" variant="outlined" />
3393 +<Select value="Standard" variant="standard" />
3394 +<Select value="Outlined" />
3395 ```
3396
3397#### Changes
3398
3399- &#8203;<!-- 17 -->[Alert] Fix action to be aligned with the text (#25768) @mnajdova
3400- &#8203;<!-- 30 -->[Avatar] Fix onload event not firing when img cached (#25793) @npandrei
3401- &#8203;<!-- 35 -->[Box] Add utility mui class (#25802) @mnajdova
3402- &#8203;<!-- 24 -->[core] Don't call noop event.persist() (#25782) @eps1lon
3403- &#8203;<!-- 52 -->[Dialog] Fix support of custom breakpoint units (#25788) @Vikram710
3404- &#8203;<!-- 26 -->[List] Fix support for list item container style overrides (#25777) @mnajdova
3405- &#8203;<!-- 21 -->[Rating] Allow clearing ratings with arrow keys (#25645) @Vikram710
3406- &#8203;<!-- 05 -->[Rating] Fix focus visible regression (#25698) @oliviertassinari
3407- &#8203;<!-- 46 -->[Select] Fix specificity of style overrides (#25766) @robphoenix
3408- &#8203;<!-- 39 -->[Select] Fix className overwritten (#25815) @siriwatknp
3409- &#8203;<!-- 33 -->[Select] Fix overrides for slots (#25796) @mnajdova
3410- &#8203;<!-- 19 -->[Snackbar] Fix hidden overlay blocking interactions regression (#25739) @MieleVL
3411- &#8203;<!-- 13 -->[TextField] Fix InputAdornment classes (#25749) @mnajdova
3412- &#8203;<!-- 07 -->[theme] Avoid mutating args in createSpacing (#25745) @eps1lon
3413
3414### `@material-ui/lab@5.0.0-alpha.31`
3415
3416#### Breaking changes
3417
3418- &#8203;<!-- 37 -->[Pickers] Rename DayPicker to CalendarPicker (#25810) @eps1lon
3419
3420 ```diff
3421 -import DayPicker from '@material-ui/lab/DayPicker';
3422 +import CalendarPicker from '@material-ui/lab/CalendarPicker';
3423
3424 createMuiTheme({
3425 components: {
3426 - MuiDayPicker: {},
3427 + MuiCalendarPicker: {},
3428 }
3429 })
3430 ```
3431
3432- &#8203;<!-- 04 -->[Pickers] Rename PickersCalendarSkeleton to CalendarPickerSkeleton (#25679) @eps1lon
3433
3434 ```diff
3435 -import PickersCalendarSkeleton from '@material-ui/lab/PickersCalendarSkeleton';
3436 +import CalendarPickerSkeleton from '@material-ui/lab/CalendarPickerSkeleton';
3437 ```
3438
3439- &#8203;<!-- 06 -->[Pickers] Rename `date` `view` to `day` (#25685) @eps1lon
3440
3441 ```diff
3442 -<DatePicker openTo="date" views={['date', 'month']} />
3443 +<DatePicker openTo="day" views={['day', 'month']} />
3444 ```
3445
3446#### Changes
3447
3448- &#8203;<!-- 16 -->[DateRangePicker] Add DateRangePickerDay to theme augmentation list (#25758) @ifndefdeadmau5
3449- &#8203;<!-- 38 -->[Pickers] Rename internal DayPickerView to CalendarPickerView (#25817) @eps1lon
3450- &#8203;<!-- 41 -->[Pickers] Remove `TView` generic in CalendarPicker (#25818) @eps1lon
3451- &#8203;<!-- 40 -->[Pickers] Use passive effect to attach close-on-escape listener (#25819) @eps1lon
3452- &#8203;<!-- 50 -->[Timeline] Migrate TimelineDot to emotion (#25830) @vicasas
3453- &#8203;<!-- 28 -->[Timeline] Migrate TimelineContent to emotion (#25781) @siriwatknp
3454- &#8203;<!-- 53 -->[Timeline] Migrate TimelineItem to emotion (#25822) @vicasas
3455- &#8203;<!-- 47 -->[Timeline] Migrate TimelineOppositeContent to emotion (#25816) @vicasas
3456- &#8203;<!-- 54 -->[TrapFocus] Make isEnabled and getDoc optional (#25784) @m4theushw
3457
3458### `@material-ui/styled-engine@5.0.0-alpha.31`
3459
3460- &#8203;<!-- 27 -->[styled-engine] Fix shouldForwardProp on slots (#25780) @mnajdova
3461- &#8203;<!-- 11 -->[styled-engine] Improve GlobalStyles props (#25751) @mnajdova
3462
3463### `@material-ui/unstyled@5.0.0-alpha.31`
3464
3465- &#8203;<!-- 14 -->[unstyled] Convert generateUtilityClass(es) to TypeScript (#25753) @eps1lon
3466
3467### Docs
3468
3469- &#8203;<!-- 31 -->[Avatar] Set backgroundColor from string (#25789) @Vikram710
3470- &#8203;<!-- 59 -->[docs] Add demos for public picker components (#25812) @eps1lon
3471- &#8203;<!-- 49 -->[docs] Add example with switch dark/light mode (#25823) @Vikram710
3472- &#8203;<!-- 01 -->[docs] Add package headings to 5.0.0-alpha.30 changelog (#25733) @eps1lon
3473- &#8203;<!-- 61 -->[docs] Add unstyled section to all components coming with the package (#25843) @mnajdova
3474- &#8203;<!-- 10 -->[docs] Breakdown Chip demos into smaller ones (#25750) @vicasas
3475- &#8203;<!-- 12 -->[docs] Document circular progress inherit (#25736) @oliviertassinari
3476- &#8203;<!-- 58 -->[docs] Fix /production-error crash (#25839) @eps1lon
3477- &#8203;<!-- 48 -->[docs] Fix ad duplication (#25831) @oliviertassinari
3478- &#8203;<!-- 09 -->[docs] Fix autocommplete disable event value (#25752) @oliviertassinari
3479- &#8203;<!-- 56 -->[docs] Fix inline-preview selection controls (#25834) @oliviertassinari
3480- &#8203;<!-- 29 -->[docs] Fix Horizontally centered demo (#25787) @viditrv123
3481- &#8203;<!-- 45 -->[docs] Improve pickers migration docs from v3 (#25813) @ahmed-28
3482- &#8203;<!-- 15 -->[docs] Move DataGrid editing nav link (#25769) @dtassone
3483- &#8203;<!-- 36 -->[docs] Replace Typography color values with system values (#25805) @oliviertassinari
3484- &#8203;<!-- 60 -->[docs] Remove one inline-style (#25671) @oliviertassinari
3485- &#8203;<!-- 18 -->[docs] Use gender neutral pronoun for Swipeable Drawer (#25775) @catchanuj
3486- &#8203;<!-- 20 -->[examples] Add TypeScript for styled-components engine (#25675) @jqrun
3487- &#8203;<!-- 23 -->[l10n] zhTW refinement (#25786) @shakatoday
3488- &#8203;<!-- 44 -->[Tabs] Add demo for routing with Tabs (#25827) @ahmed-28
3489- &#8203;<!-- 57 -->[website] Add Matheus Wichman (#25801) @m4theushw
3490
3491### Core
3492
3493- &#8203;<!-- 42 -->[core] Batch small changes (#25804) @oliviertassinari
3494- &#8203;<!-- 02 -->[core] Document token permissions of release:changelog (#25732) @eps1lon
3495- &#8203;<!-- 34 -->[core] Error when installing in unsupported node environments (#25795) @eps1lon
3496- &#8203;<!-- 43 -->[core] Fix rgba to hex conversion (#25825) @saeedeyvazy
3497- &#8203;<!-- 08 -->[core] Normalize usage of pseudo classes selectors (#25748) @mnajdova
3498- &#8203;<!-- 51 -->[core] Remove unused public types (#25833) @oliviertassinari
3499- &#8203;<!-- 25 -->[core] Remove incorrect overridesResolver usages (#25778) @mnajdova
3500- &#8203;<!-- 03 -->[test] Use public imports (#25686) @vicasas
3501- &#8203;<!-- 22 -->[core] Use readonly arrays where possible (#25746) @eps1lon
3502
3503All contributors of this release in alphabetical order: @ahmed-28, @catchanuj, @dtassone, @eps1lon, @ifndefdeadmau5, @jqrun, @m4theushw, @MieleVL, @mnajdova, @npandrei, @oliviertassinari, @petyosi, @robphoenix, @saeedeyvazy, @shakatoday, @siriwatknp, @vicasas, @viditrv123, @Vikram710
3504
3505## 5.0.0-alpha.30
3506
3507<!-- generated comparing v5.0.0-alpha.29..next -->
3508
3509_Apr 12, 2021_
3510
3511A big thanks to the 21 contributors who made this release possible. Here are some highlights ✨:
3512
3513- 👩‍🎤 Migrate 9 components to emotion.
3514- And many more 🐛 bug fixes and 📚 improvements.
3515
3516### `@material-ui/core@5.0.0-alpha.30`
3517
3518- &#8203;<!-- 19 -->[Alert] Vertically align action on top (#25654) @xdshivani
3519- &#8203;<!-- 37 -->[Autocomplete] Fix text field standard visual regression (#25676) @oliviertassinari
3520- &#8203;<!-- 08 -->[CssBaseline] Fix @font-face rule broken in styleOverrides (#25583) @mnajdova
3521- &#8203;<!-- 45 -->[Grid] Support custom number of columns (#25636) @Avi98
3522- &#8203;<!-- 15 -->[InputBase] Fix autofill typo (#25651) @michal-perlakowski
3523- &#8203;<!-- 43 -->[LinearProgress] Add color="inherit" support (#25641) @itscharlieliu
3524- &#8203;<!-- 06 -->[Pagination] Allow to differentiate more item types (#25622) @ruppysuppy
3525- &#8203;<!-- 35 -->[Popover] Add popoverClasses export to type declarations (#25695) @tomasznguyen
3526- &#8203;<!-- 33 -->[Rating] Add highlight selected rating only (#25649) @Vikram710
3527- &#8203;<!-- 14 -->[Rating] Migrate to emotion (#25588) @natac13
3528- &#8203;<!-- 38 -->[Select] Migrate to emotion (#25653) @mnajdova
3529- &#8203;<!-- 17 -->[Select] Migrate NativeSelect to emotion (#24698) @duganbrett
3530- &#8203;<!-- 28 -->[SpeedDial] Fix broken aria reference issue (#25665) @RiyaNegi
3531- &#8203;<!-- 05 -->[Stepper] Migrate MobileStepper to emotion (#25589) @natac13
3532- &#8203;<!-- 13 -->[styles] Outdated warning message (#25637) @bhairavee23
3533- &#8203;<!-- 32 -->[Table] Remove legacy fix for JSS (#25692) @oliviertassinari
3534- &#8203;<!-- 10 -->[Table] Migrate TableSortLabel to emotion (#25638) @natac13
3535- &#8203;<!-- 16 -->[TabPanel] Migrate to emotion (#25646) @tomasznguyen
3536- &#8203;<!-- 11 -->[TextareaAutosize] Fix resizing bug on Firefox (#25634) @bhairavee23
3537- &#8203;<!-- 44 -->[TextField] Add textFieldClasses export to type declarations (#25696) @tomasznguyen
3538- &#8203;<!-- 39 -->[theme] Change default bgColor to white in light mode (#25730) @saleebm
3539- &#8203;<!-- 02 -->[ToggleButton] Add fullWidth prop (#25585) @hcz
3540- &#8203;<!-- 40 -->[typescript] Add muiName to declarations (#25689) @michal-perlakowski
3541
3542### `@material-ui/lab@5.0.0-alpha.30`
3543
3544- &#8203;<!-- 20 -->[Timeline] Migrate TimelineSeparator to emotion (#25666) @vicasas
3545- &#8203;<!-- 18 -->[Timeline] Migrate TimelineConnector to emotion (#25663) @vicasas
3546- &#8203;<!-- 42 -->[TimePicker] Use clock icon when editing in mobile mode (#25569) @alcwhite
3547- &#8203;<!-- 29 -->[TreeView] Migrate to emotion (#25673) @tomasznguyen
3548
3549### Docs
3550
3551- &#8203;<!-- 31 -->[blog] Fix typos @oliviertassinari
3552- &#8203;<!-- 41 -->[docs] Migrate TextField demos to emotion (#25626) @vicasas
3553- &#8203;<!-- 36 -->[docs] Bump stylis-plugin-rtl requirement (#25661) @mnajdova
3554- &#8203;<!-- 34 -->[docs] Ensure old api-docs translations are cleaned (#25680) @eps1lon
3555- &#8203;<!-- 25 -->[docs] Fix typo in v4 migration doc (#25678) @thameera
3556- &#8203;<!-- 23 -->[docs] Fix useLayoutEffect warning (#25670) @oliviertassinari
3557- &#8203;<!-- 22 -->[docs] Fix a11y issue in the SpeedDial docs (#25669) @RiyaNegi
3558- &#8203;<!-- 12 -->[docs] Cover TypeScript commands in codemod readme (#25640) @StuffByLiang
3559- &#8203;<!-- 09 -->[docs] Migrate Popover demos to emotion (#25620) @vicasas
3560- &#8203;<!-- 07 -->[docs] Fix typo in switches and checkboxes doc (#25639) @dimitropoulos
3561- &#8203;<!-- 03 -->[docs] Add interoperability section for Portal (#25575) @mnajdova
3562- &#8203;<!-- 01 -->[docs] Fix side nav scroll position (#25619) @misaka3
3563- &#8203;<!-- 30 -->[website] Q1 2021 Update (#25591) @oliviertassinari
3564- &#8203;<!-- 04 -->[website] Matheus Wichman joins Material-UI (#25590) @oliviertassinari
3565
3566### Core
3567
3568- &#8203;<!-- 27 -->[test] Use public api in lab (#25682) @vicasas
3569- &#8203;<!-- 26 -->[test] Test types of .spec lab files (#25684) @eps1lon
3570- &#8203;<!-- 24 -->[core] Fix build step for unstyled package (#25672) @oliviertassinari
3571- &#8203;<!-- 21 -->[core] Ensure react-is uses v17 (#25668) @eps1lon
3572
3573All contributors of this release in alphabetical order: @alcwhite, @bhairavee23, @dimitropoulos, @duganbrett, @eps1lon, @hcz, @itscharlieliu, @michal-perlakowski, @misaka3, @mnajdova, @natac13, @oliviertassinari, @RiyaNegi, @ruppysuppy, @saleebm, @StuffByLiang, @thameera, @tomasznguyen, @vicasas, @Vikram710, @xdshivani
3574
3575## 5.0.0-alpha.29
3576
3577<!-- generated comparing v5.0.0-alpha.28..next -->
3578
3579_Apr 4, 2021_
3580
3581A big thanks to the 26 contributors who made this release possible. Here are some highlights ✨:
3582
3583- 🙌 Add support in the Grid for any spacing value (#25503) @ZakMiller.
3584 For instance:
3585
3586 ```jsx
3587 <Grid container spacing={1.5}>
3588 <Grid container spacing="30px">
3589 ```
3590
3591 This feature was made possible by the recent migration to emotion.
3592 You can [find the other issues](https://github.com/mui-org/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.
3593
3594- 👩‍🎤 Convert 3 components to emotion (#25541, #25516, #25521) @rajzik, @praveenkumar-kalidass, @siriwatknp.
3595- 📚 Migrate 8 component demo pages to the `sx`, `Stack`, and `styled` API @vicasas.
3596- And many more 🐛 bug fixes and 📚 improvements.
3597
3598### `@material-ui/core@5.0.0-alpha.29`
3599
3600- &#8203;<!-- 39 -->[AppBar] Fix type support of overridable component (#25456) @heleg
3601- &#8203;<!-- 26 -->[Autocomplete] Fix Async demo in docs (#25536) @kanish671
3602- &#8203;<!-- 23 -->[Autocomplete] Fix TypeScript wrapper example (#25530) @JanKaczmarkiewicz
3603- &#8203;<!-- 21 -->[Backdrop] Remove z-index: -1 (#25524) @silver-snoopy
3604- &#8203;<!-- 41 -->[Card] Add component prop support (#25537) @silver-snoopy
3605- &#8203;<!-- 31 -->[CssBaseline] Migrate ScopedCssBaseline to emotion (#25541) @rajzik
3606- &#8203;<!-- 03 -->[Divider] Support middle variant with vertical orientation (#25428) @vedadeepta
3607- &#8203;<!-- 16 -->[Grid] Support decimal spacing (#25503) @ZakMiller
3608- &#8203;<!-- 28 -->[List] Remove background inheritance of ListSubheader (#25532) @tanmoyopenroot
3609- &#8203;<!-- 40 -->[Paper] Support dark mode brightening based on elevation (#25522) @m4theushw
3610- &#8203;<!-- 43 -->[Select] Fix selection of non-options (#25567) @oliviertassinari
3611- &#8203;<!-- 34 -->[Select] Set aria-expanded to false when listbox is collapsed (#25545) @Harish-Karthick
3612- &#8203;<!-- 18 -->[SpeedDial] Call focus on escape (#25509) @tanmoyopenroot
3613- &#8203;<!-- 20 -->[Stack] Add component prop (#25526) @silver-snoopy
3614- &#8203;<!-- 07 -->[Stack] Fix the :not selector (#25484) @Andarist
3615- &#8203;<!-- 24 -->[Stepper] Migrate StepButton to emotion (#25516) @praveenkumar-kalidass
3616- &#8203;<!-- 22 -->[Stepper] Migrate Stepper to emotion (#25521) @siriwatknp
3617- &#8203;<!-- 01 -->[Tabs] Don't animate scroll on first render (#25469) @manziEric
3618- &#8203;<!-- 25 -->[Tooltip] Fix forwarded classes (#25535) @silver-snoopy
3619
3620### `@material-ui/unstyled@5.0.0-alpha.29`
3621
3622- &#8203;<!-- 38 -->[Slider] Allow disabling the left and right thumbs swap (#25547) @michal-perlakowski
3623
3624### `@material-ui/lab@5.0.0-alpha.29`
3625
3626- &#8203;<!-- 12 -->[DateRangePicker] Fix props naming in DatePicker components (#25504) @callmeberzerker
3627- &#8203;<!-- 04 -->[DateRangePickerInput][internal] Inline makeDateRangePicker calls (#25470) @eps1lon
3628- &#8203;<!-- 06 -->[StaticDateRangePicker] Fix inconsistent name for theme props (#25483) @eps1lon
3629- &#8203;<!-- 17 -->[Pickers] Move own internals from lab internals to dedicated file (#25498) @eps1lon
3630
3631### Docs
3632
3633- &#8203;<!-- 46 -->[docs] Provide an alternative to right-to-left (#25584) @dariusk
3634- &#8203;<!-- 45 -->[docs] Add note for typescript on the styled() customization guide (#25576) @mnajdova
3635- &#8203;<!-- 44 -->[docs] Replace incorrect instances of defined with define (#25572) @surajpoddar16
3636- &#8203;<!-- 42 -->[docs] Fix spelling error in roadmap.md file (#25570) @Brlaney
3637- &#8203;<!-- 37 -->[docs] Migrate Card demos to emotion (#25557) @vicasas
3638- &#8203;<!-- 36 -->[docs] Fix typo in data grid (#25561) @michael-001
3639- &#8203;<!-- 33 -->[docs] Migrate Menu demos to emotion (#25554) @vicasas
3640- &#8203;<!-- 32 -->[docs] Fix <kbd> style in dark mode (#25551) @m4theushw
3641- &#8203;<!-- 30 -->[docs] Document changing skeleton color (#25542) @ZakMiller
3642- &#8203;<!-- 29 -->[docs] Improve coverage of TypeScript theme augmentation (#25489) @ashishshuklabs
3643- &#8203;<!-- 27 -->[docs] Update minimizing-bundle-size.md (#25534) @nguyenyou
3644- &#8203;<!-- 15 -->[docs] Migrate Portal demos to emotion (#25505) @vicasas
3645- &#8203;<!-- 14 -->[docs] Migrate NoSSR demos to emotion (#25506) @vicasas
3646- &#8203;<!-- 13 -->[docs] Migrate ClickAwayListener demos to emotion (#25507) @vicasas
3647- &#8203;<!-- 10 -->[docs] Cover change of React support (#25487) @oliviertassinari
3648- &#8203;<!-- 09 -->[docs] Migrate Transitions demos to emotion (#25488) @vicasas
3649- &#8203;<!-- 08 -->[docs] Fix Stack divider demo (#25491) @oliviertassinari
3650- &#8203;<!-- 02 -->[docs] Migrate Icons demos to emotion (#25412) @vicasas
3651
3652### Core
3653
3654- &#8203;<!-- 19 -->[core] Use latest TypeScript in typescript-to-proptypes (#25512) @eps1lon
3655- &#8203;<!-- 11 -->[core] Update the codesandbox issue templates (#25501) @oliviertassinari
3656- &#8203;<!-- 05 -->[test] Wait on e2e server to start before starting runner (#25476) @eps1lon
3657
3658All contributors of this release in alphabetical order: @Andarist, @ashishshuklabs, @Brlaney, @callmeberzerker, @dariusk, @eps1lon, @Harish-Karthick, @heleg, @JanKaczmarkiewicz, @kanish671, @m4theushw, @manziEric, @michael-001, @michal-perlakowski, @mnajdova, @nguyenyou, @oliviertassinari, @praveenkumar-kalidass, @rajzik, @silver-snoopy, @siriwatknp, @surajpoddar16, @tanmoyopenroot, @vedadeepta, @vicasas, @ZakMiller
3659
3660## 5.0.0-alpha.28
3661
3662_Mar 22, 2021_
3663
3664A big thanks to the 34 contributors who made this release possible. Here are some highlights ✨:
3665
3666- 👩‍🎤 Convert 9 components to emotion (#25267, #25216, #25264, #25197, #25372, #25281, #25210, #25279, #2528) @natac13 @tomasznguyen @kayuapi.
3667 85% of the components have been migrated so far, thanks to the help of the community.
3668- 📚 Migrate 18 component demo pages to the `sx`, `Stack`, and `styled` API @vicasas.
3669 This was also an importunity to breakdown the existing large demos into smaller and more focuses ones.
3670- Add a new Stack component (#25149) @souporserious
3671 The component allows to workaround the lack of support for the CSS flexbox `gap` property across browsers.
3672
3673 <img width="830" alt="stack" src="https://user-images.githubusercontent.com/3165635/112068427-29434200-8b6a-11eb-94e8-057535423b0f.png">
3674
3675 See the documentation for [more details](https://mui.com/components/stack/).
3676
3677- And many more 🐛 bug fixes and 📚 improvements.
3678
3679### `@material-ui/core@5.0.0-alpha.28`
3680
3681#### Breaking changes
3682
3683- [core] Drop support for React 16 (#25464) @eps1lon
3684- &#8203;<!-- 36 -->[core] Drop support for node 10 (#25306) @eps1lon
3685
3686#### Changes
3687
3688- &#8203;<!-- 70 -->[Autocomplete] Warn when the input didn't resolve in time (#25311) @LaneRamp
3689- &#8203;<!-- 26 -->[Autocomplete] Fix styleOverrides support (#25276) @manziEric
3690- &#8203;<!-- 68 -->[ButtonBase] Allow to customize the link component via theme (#25331) @vedadeepta
3691- &#8203;<!-- 43 -->[ButtonBase] Fix default type attribute (submit -> button) (#25323) @RTEYL
3692- &#8203;<!-- 73 -->[ButtonGroup] Support custom colors (#25413) @oliviertassinari
3693- &#8203;<!-- 13 -->[CircularProgress] Fix animation when disableShrink={true} (#25247) @duongdev
3694- &#8203;<!-- 29 -->[Dialog] Fix typo (#25287) @aheimlich
3695- &#8203;<!-- 22 -->[Dialog] Migrate DialogContentText to emotion (#25267) @tomasznguyen
3696- &#8203;<!-- 04 -->[Dialog] Migrate Dialog to emotion (#25216) @natac13
3697- &#8203;<!-- 79 -->[Drawer] Fix RTL support (#25453) @silver-snoopy
3698- &#8203;<!-- 50 -->[Menu] Migrate to emotion (#25264) @tomasz-crozzroads
3699- &#8203;<!-- 77 -->[Paper] Fix component prop type error (#25426) @heleg
3700- &#8203;<!-- 17 -->[Popover] Migrate to emotion (#25197) @tomasznguyen
3701- &#8203;<!-- 59 -->[Radio] Fix html structure (#25398) @oliviertassinari
3702- &#8203;<!-- 58 -->[Select] Fix focus background when variant="outlined" (#25393) @christiaan
3703- &#8203;<!-- 62 -->[Slider] Add `tabIndex` prop (#25388) @johnloven
3704- &#8203;<!-- 88 -->[Snackbar] Fix prop type error for 'key' prop (#25431) @jansedlon
3705- &#8203;<!-- 38 -->[SpeedDial] Reset tooltip state when the speed dial is closed (#25259) @m4theushw
3706- &#8203;<!-- 71 -->[Stack] Add new component (#25149) @souporserious
3707- &#8203;<!-- 81 -->[Stepper] Migrate StepLabel to emotion (#25372) @praveenkumar-kalidass
3708- &#8203;<!-- 27 -->[Stepper] Migrate StepIcon to emotion (#25281) @praveenkumar-kalidass
3709- &#8203;<!-- 08 -->[Stepper] Migrate StepContent to emotion (#25210) @praveenkumar-kalidass
3710- &#8203;<!-- 30 -->[SwipeableDrawer] Fix hideBackDrop support (#25275) @manziEric
3711- &#8203;<!-- 75 -->[Table] Fix duplicated keys in TablePagination rows per page (#25309) @martinfrancois
3712- &#8203;<!-- 72 -->[Table] Consistency with DataTable (#25414) @oliviertassinari
3713- &#8203;<!-- 76 -->[TextField] Size small for multiline (#25423) @julihereu
3714- &#8203;<!-- 48 -->[TextField] Migrate InputAdornment to emotion (#25279) @kayuapi
3715- &#8203;<!-- 47 -->[TextField] Migrate to emotion (#25286) @tomasznguyen
3716- &#8203;<!-- 74 -->[ToggleButton] Add color prop (#25390) @AlfredoGJ
3717- &#8203;<!-- 82 -->[Tooltip] Make `disableFocusListener` prop comment clearer (#25455) @jansedlon
3718- &#8203;<!-- 24 -->[Tooltip] Fix placement regression (#25255) @oliviertassinari
3719- &#8203;<!-- 25 -->[Transition] Add easing prop to override default timing function (#25245) @jeferson-sb
3720
3721### `@material-ui/lab@5.0.0-alpha.28`
3722
3723- &#8203;<!-- 85 -->[Pickers] Follow "private by default" in makeDateRangePicker (#25424) @eps1lon
3724- &#8203;<!-- 53 -->[Pickers] Simplify internals of \*Wrapper components (#25369) @eps1lon
3725- &#8203;<!-- 35 -->[Pickers] Remove `make*` HOCs (#25172) @eps1lon
3726- &#8203;<!-- 19 -->[Pickers] Remove propTypes in production for exotic components (#25261) @eps1lon
3727- [Pickers] Unify ref behavior (#25425) @eps1lon
3728- [Pickers] Sort properties (#25473) @eps1lon
3729
3730### `@material-ui/utils@5.0.0-alpha.28`
3731
3732- &#8203;<!-- 90 -->[utils] Fix useForkRef typings rejecting nullish (#25468) @eps1lon
3733- &#8203;<!-- 54 -->[utils] Allow functional updates in TypeScript declaration of useControlled (#25378) @MikhailTSE
3734- &#8203;<!-- 28 -->[utils] Add a new integer propType (#25224) @fayzzzm
3735
3736### Docs
3737
3738- &#8203;<!-- 56 -->[docs] Fix typo in migration-v4.md (#25384) @Tollwood
3739- &#8203;<!-- 86 -->[docs] Use defaultCodeOpen where appropriate (#25418) @eps1lon
3740- &#8203;<!-- 84 -->[docs] Support RTL with styled components (#25457) @silver-snoopy
3741- &#8203;<!-- 83 -->[docs] Improve the docs of the Grid component (#25429) @oliviertassinari
3742- &#8203;<!-- 80 -->[docs] Migrate Switch demos to emotion (#25366) @vicasas
3743- &#8203;<!-- 78 -->[docs] Use Stack in demos (#25419) @vicasas
3744- &#8203;<!-- 69 -->[docs] Migrate Checkbox demos to emotion (#25394) @vicasas
3745- &#8203;<!-- 67 -->[docs] Migrate Radio demos to emotion (#25396) @vicasas
3746- &#8203;<!-- 66 -->[docs] Update icon link to fonts.google.com (#25410) @BGehrels
3747- &#8203;<!-- 60 -->[docs] Migrate Avatar demos to emotion (#25375) @vicasas
3748- &#8203;<!-- 57 -->[docs] Fix multiline textfields docs to use minRows/maxRows (#25383) @saleebm
3749- &#8203;<!-- 55 -->[docs] Consolidate environment variables into next.config (#25386) @eps1lon
3750- &#8203;<!-- 52 -->[docs] Use `env` next config over DefinePlugin (#25373) @eps1lon
3751- &#8203;<!-- 49 -->[docs] Migrate SpeedDial to emotion (#25367) @vicasas
3752- &#8203;<!-- 46 -->[docs] Refine the used prop-type to discriminate number from integer (#25334) @fayzzzm
3753- &#8203;<!-- 45 -->[docs] Migrate AppBar demos to emotion (#25335) @m4theushw
3754- &#8203;<!-- 44 -->[docs] Migrate Grid demos to emotion (#25332) @vicasas
3755- &#8203;<!-- 42 -->[docs] Migrate Toggle Button demos to emotion (#25333) @vicasas
3756- &#8203;<!-- 41 -->[docs] Migrate Links demos to emotion (#25303) @vicasas
3757- &#8203;<!-- 40 -->[docs] Migrate Breadcrumbs demos to emotion (#25302) @vicasas
3758- &#8203;<!-- 34 -->[docs] Migrate Image List demos to emotion (#25301) @vicasas
3759- &#8203;<!-- 33 -->[docs] Bring clarity about the IE 11 support policy: it's partial (#25262) @oliviertassinari
3760- &#8203;<!-- 31 -->[docs] Add the new demo page for the data grid (#25284) @DanailH
3761- &#8203;<!-- 23 -->[docs] Migrate List demos to emotion (#25266) @vicasas
3762- &#8203;<!-- 21 -->[docs] Migrate Chip demos to emotion (#25268) @vicasas
3763- &#8203;<!-- 20 -->[docs] Add missing props to \*DatePicker API (#25254) @eps1lon
3764- &#8203;<!-- 18 -->[docs] Improve accessibility of the basic menu demo (#25207) @ee0pdt
3765- &#8203;<!-- 16 -->[docs] Migrate Fab demos to emotion (#25251) @vicasas
3766- &#8203;<!-- 15 -->[docs] Migrate Rating demos to emotion (#25252) @vicasas
3767- &#8203;<!-- 14 -->[docs] Migrate Transfer List demos to emotion (#25253) @vicasas
3768- &#8203;<!-- 07 -->[docs] Remove dead generatePropTypeDescription method (#25188) @fayzzzm
3769- &#8203;<!-- 06 -->[docs] Migrate Skeleton demos to emotion (#25212) @vicasas
3770- &#8203;<!-- 05 -->[docs] Migrate Paper demos to emotion (#25213) @vicasas
3771- &#8203;<!-- 03 -->[docs] Migrate Container demos to emotion (#25220) @vicasas
3772- &#8203;<!-- 01 -->[docs] Add GlobalStyles API (#25191) @eps1lon
3773
3774### Core
3775
3776- &#8203;<!-- 63 -->[benchmark] Set intended environment (#25402) @eps1lon
3777- &#8203;<!-- 11 -->[core] Remove .propTypes when the props are empty (#25193) @eps1lon
3778- &#8203;<!-- 91 -->[core] Fix allSettled usage (#25461) @eps1lon
3779- &#8203;<!-- 87 -->[core] Switch to React 17 (#25416) @eps1lon
3780- &#8203;<!-- 65 -->[core] Bump missed node versions (#25385) @eps1lon
3781- &#8203;<!-- 39 -->[core] Batch small changes (#25330) @oliviertassinari
3782- &#8203;<!-- 37 -->[core] Use Promise.allSettled over .all where appropriate (#25315) @eps1lon
3783- &#8203;<!-- 92 -->[test] Use fixture terminology in e2e and visual regression tests (#25466) @eps1lon
3784- &#8203;<!-- 89 -->[test] Create end-to-end testing CI job (#25405) @eps1lon
3785- &#8203;<!-- 64 -->[test] Transpile more similar to prod bundle (#25406) @eps1lon
3786- &#8203;<!-- 32 -->[test] Minor improvements to `describeConformance` (#25297) @eps1lon
3787- &#8203;<!-- 12 -->[test] Fix warnings in the demos (#25140) @oliviertassinari
3788- &#8203;<!-- 10 -->[test] Convert createClientRender to TypeScript (#25249) @eps1lon
3789- &#8203;<!-- 09 -->[test] Increase ttp setup timeout (#25248) @eps1lon
3790- &#8203;<!-- 02 -->[test] Improve typescript-to-proptypes test suite (#25209) @eps1lon
3791
3792All contributors of this release in alphabetical order: @aheimlich, @AlfredoGJ, @BGehrels, @christiaan, @DanailH, @duongdev, @ee0pdt, @eps1lon, @fayzzzm, @heleg, @jansedlon, @jeferson-sb, @johnloven, @julihereu, @kayuapi, @LaneRamp, @m4theushw, @manziEric, @martinfrancois, @MikhailTSE, @natac13, @oliviertassinari, @praveenkumar-kalidass, @RTEYL, @saleebm, @silver-snoopy, @souporserious, @Tollwood, @tomasz-crozzroads, @tomasznguyen, @vedadeepta, @vicasas
3793
3794## 5.0.0-alpha.27
3795
3796<!-- generated comparing v5.0.0-alpha.26..next -->
3797
3798_Mar 5, 2021_
3799
3800A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
3801
3802- 👩‍🎤 Convert 8 components to emotion (#25091, #25158, #25146, #25142, #25166) @natac13, @mngu, @m4theushw, @praveenkumar-kalidass.
3803- 📚 Convert 5 components demos to emotion (#25164, #25183, #25180, #25145, #25138) @vicasas
3804- And many more 🐛 bug fixes and 📚 improvements.
3805
3806### `@material-ui/core@5.0.0-alpha.27`
3807
3808- &#8203;<!-- 16 -->[Autocomplete] Support readonly type for the options (#25155) @silver-snoopy
3809- &#8203;<!-- 13 -->[Drawer] Migrate to emotion (#25091) @natac13
3810- &#8203;<!-- 20 -->[LinearProgress] Migrate to emotion (#25158) @mngu
3811- &#8203;<!-- 06 -->[Pagination] Migrate Pagination and PaginationItem to emotion (#25146) @mngu
3812- &#8203;<!-- 21 -->[Radio] Migrate to emotion (#25152) @mngu
3813- &#8203;<!-- 10 -->[Snackbar] Migrate to emotion (#25142) @m4theushw
3814- &#8203;<!-- 25 -->[SpeedDial] Migrate to emotion (#25166) @m4theushw
3815- &#8203;<!-- 12 -->[Stepper] Migrate StepConnector to emotion (#25092) @praveenkumar-kalidass
3816- &#8203;<!-- 07 -->[styled] Fix override logic to support component without root (#25143) @niting143
3817- &#8203;<!-- 08 -->[Table] Remove default role logic in TableCell (#25105) @silver-snoopy
3818- &#8203;<!-- 27 -->[Table] Use primary cover over secondary for selected state (#25182) @beaudry
3819- &#8203;<!-- 23 -->[theme] Fix styleOverrides with nested selectors (#25156) @ruppysuppy
3820
3821### `@material-ui/system@5.0.0-alpha.27`
3822
3823- &#8203;<!-- 02 -->[system] Fix behavior of visuallyHidden when used with `sx` prop (#25110) @niting143
3824
3825### `@material-ui/lab@5.0.0-alpha.27`
3826
3827#### Breaking changes
3828
3829- &#8203;<!-- 18 -->[Pickers] Remove `dateAdapter` prop (#25162) @eps1lon
3830
3831The prop didn't solve any important problem better than any of its alternatives do.
3832
3833```diff
3834-<DatePicker dateAdapter={x} />
3835+<LocalizationProvider dateAdapter={x}>
3836+ <DatePicker />
3837+</LocalizationProvider>
3838```
3839
3840#### Changes
3841
3842- &#8203;<!-- 19 -->[Pickers][internal] Use React.forwardRef instead of forwardedRef prop (#25173) @eps1lon
3843
3844### `@material-ui/styles@5.0.0-alpha.27`
3845
3846- &#8203;<!-- 03 -->[styles] Use capitalize from utils (#25136) @eps1lon
3847
3848### Docs
3849
3850- &#8203;<!-- 22 -->[docs] Migrate Bottom Navigation demos to emotion (#25180) @vicasas
3851- &#8203;<!-- 09 -->[docs] Migrate Button demos to emotion (#25138) @vicasas
3852- &#8203;<!-- 17 -->[docs] Migrate Divider demos to emotion (#25145) @vicasas
3853- &#8203;<!-- 24 -->[docs] Migrate Pagination demos to emotion (#25183) @vicasas
3854- &#8203;<!-- 26 -->[docs] Migrate Typography demos to emotion (#25164) @vicasas
3855- &#8203;<!-- 11 -->[docs] Remove CircleCI from backers (#24801) @mbrookes
3856- &#8203;<!-- 14 -->[docs] Update the used testing libraries (#25144) @oliviertassinari
3857
3858### Core
3859
3860- &#8203;<!-- 01 -->[CHANGELOG] Better document breaking changes @oliviertassinari
3861- &#8203;<!-- 05 -->[core] Modernize icons `builder:src` (#25137) @eps1lon
3862- &#8203;<!-- 04 -->[core] Properly use BABEL_ENV test and development (#25139) @eps1lon
3863- &#8203;<!-- 15 -->[test] Add (manual) visual regression test for icons (#25160) @eps1lon
3864
3865All contributors of this release in alphabetical order: @beaudry, @eps1lon, @m4theushw, @mbrookes, @mngu, @natac13, @niting143, @oliviertassinari, @praveenkumar-kalidass, @ruppysuppy, @silver-snoopy, @vicasas
3866
3867## 5.0.0-alpha.26
3868
3869<!-- generated comparing v5.0.0-alpha.25..next -->
3870
3871_Feb 27, 2021_
3872
3873A big thanks to the 26 contributors who made this release possible. Here are some highlights ✨:
3874
3875- 👩‍🎤 Convert 11 components to emotion (#24696, #24631, #24857, #25048, #24693, #24663, #25007, #24688, #24665, #24878, #24571) @praveenkuma @natac13 @xs9627 @povilass @m4theushw @natac13 @natac13 @DanailH @duganbrett @duganbrett @praveenkumar-kalidass @vinyldarkscratch.
3876 75% of the components have been migrated so far, thanks to the help of the community.
3877- 🦴 Convert 4 components to the unstyled pattern (#24985, #24857, #24890, #24957) @povilass.
3878 This change doesn't introduce any breaking changes. Hence, most of the conversion effort will be done post v5-stable.
3879- 📚 Fix the generation of the API pages for the date pickers (#25101, #25100, #25086, #25089, #25085, #25084) @eps1lon.
3880 This is a follow-up effort after we have merged `material-ui-pickers`. The components are written in TypeScript which required us to upgrade our infra.
3881- 👌 Improve the Slider thumb and track animation (#24968) @remyoudemans.
3882 The thumb is now moving with a light transition between different values unless it's dragged.
3883 <img src="https://user-images.githubusercontent.com/3165635/109394906-b7405a00-7929-11eb-829a-3b5246c30c08.gif" width="412" height="110" />
3884- 💅 Convert 5 components with custom colors support (#25099, #25088) @mngu.
3885 This change makes it easier to leverage custom palettes
3886- And many more 🐛 bug fixes and 📚 improvements.
3887
3888### `@material-ui/core@5.0.0-alpha.26`
3889
3890#### Breaking changes
3891
3892- &#8203;<!-- 089 -->[Tabs] Change the default indicatorColor and textColor prop values to "primary" (#25063) @Dripcoding
3893
3894 This is done to match the most common use cases with Material Design. You can restore the previous behavior with:
3895
3896 ```diff
3897 -<Tabs />
3898 +<Tabs indicatorColor="primary" textColor="inherit" />
3899 ```
3900
3901#### Changes
3902
3903- &#8203;<!-- 099 -->[AppBar][circularprogress][LinearProgress] Support custom colors (#25099) @mngu
3904- &#8203;<!-- 102 -->[Autocomplete] Prevent closing on no-option text click (#25103) @silver-snoopy
3905- &#8203;<!-- 101 -->[Autocomplete] Fix ListboxComponent slot regression (#25102) @oliviertassinari
3906- &#8203;<!-- 035 -->[Autocomplete] Fix the return type of AutocompleteGetTagProps (#24950) @joemaffei
3907- &#8203;<!-- 029 -->[Autocomplete] Migrate to emotion (#24696) @natac13
3908- &#8203;<!-- 091 -->[Button] Fix ripple stuck after displaying the context menu (#25004) @DanailH
3909- &#8203;<!-- 082 -->[Button] Fix forward classes to ButtonBase (#25072) @praveenkumar-kalidass
3910- &#8203;<!-- 034 -->[Chip] Normalize Material Design States (#24915) @oliviertassinari
3911- &#8203;<!-- 031 -->[Chip] Fix focus-visible regression (#24906) @oliviertassinari
3912- &#8203;<!-- 018 -->[CircularProgress] Make source easier to read (#24893) @oliviertassinari
3913- &#8203;<!-- 053 -->[Menu] Migrate MenuItem to emotion (#24631) @xs9627
3914- &#8203;<!-- 079 -->[Paper] Fix type support of overridable component (#25059) @mngu
3915- &#8203;<!-- 051 -->[Skeleton] Fix global theme customization (#24983) @glocore
3916- &#8203;<!-- 067 -->[Slider] Improve thumb and track animation (#24968) @remyoudemans
3917- &#8203;<!-- 009 -->[Slider] Fix override of event.target when preparing change events (#24782) @praveenkumar-kalidass
3918- &#8203;<!-- 097 -->[Snackbar] Migrate SnackbarContent to emotion (#25048) @m4theushw
3919- &#8203;<!-- 028 -->[SwipeableDrawer] Fix detection of native scroll container (#24903) @oliviertassinari
3920- &#8203;<!-- 059 -->[Switch] Migrate to emotion (#24693) @natac13
3921- &#8203;<!-- 050 -->[Switch] Update to follow current MD guidelines (#24954) @hxqlin
3922- &#8203;<!-- 016 -->[Table] Migrate TableCell to emotion (#24663) @natac13
3923- &#8203;<!-- 094 -->[TextField] Support custom color and size (#25088) @mngu
3924- &#8203;<!-- 093 -->[TextField] Fix input adornment color (#25090) @manziEric
3925- &#8203;<!-- 081 -->[TextField] Fix FilledInput AA contrast issue (#25046) @Dripcoding
3926- &#8203;<!-- 072 -->[TextField] Migrate FormControlLabel to emotion (#25007) @DanailH
3927- &#8203;<!-- 069 -->[TextField] Fix label wrap, display an ellipsis instead (#25012) @NekoApocalypse
3928- &#8203;<!-- 052 -->[TextField] Migrate OutlinedInput to emotion (#24688) @duganbrett
3929- &#8203;<!-- 048 -->[TextField] Fix focused={true} disabled={true} infinite render (#24961) @oliviertassinari
3930- &#8203;<!-- 019 -->[TextField] Migrate FormLabel and InputLabel to emotion (#24665) @duganbrett
3931- &#8203;<!-- 077 -->[theme] Update theme.palette.text.secondary to match the spec (#25060) @Dripcoding
3932- &#8203;<!-- 058 -->[ToggleButton] Migrate ToggleButtonGroup to emotion (#24878) @praveenkumar-kalidass
3933- &#8203;<!-- 098 -->[Tooltip] Migrate to emotion (#24571) @vinyldarkscratch
3934
3935### `@material-ui/unstyled@5.0.0-alpha.26`
3936
3937- &#8203;<!-- 033 -->[Portal] Migrate to unstyled (#24890) @povilass
3938- &#8203;<!-- 047 -->[TrapFocus] Migrate to unstyled (#24957) @povilass
3939- &#8203;<!-- 060 -->[Backdrop] Migrate to unstyled (#24985) @povilass
3940- &#8203;<!-- 078 -->[Modal] Migrate to emotion + unstyled (#24857) @povilass
3941
3942### `@material-ui/lab@5.0.0-alpha.26`
3943
3944- &#8203;<!-- 071 -->[Pickers] Fix scroll-jump when opening with a selected value (#25010) @eps1lon
3945- &#8203;<!-- 066 -->[Pickers] Rework keyboard navigation implementation (#24315) @eps1lon
3946- &#8203;<!-- 065 -->[Pickers] Fix picker components not opening on click in React 17 (#24981) @eps1lon
3947- &#8203;<!-- 013 -->[Pickers] Fix outdated link to PickersDay (#24883) @oliviertassinari
3948
3949### `@material-ui/icons@5.0.0-alpha.26`
3950
3951- &#8203;<!-- 087 -->[icons] Synchronize icons (#25055) @eps1lon
3952
3953 The icons were synchronized with https://material.io/resources/icons/. This change increases the number of supported icons from 1,349 to 1,781 per theme (we support 5 themes). The breaking changes:
3954
3955 ```diff
3956 // AmpStories -> Download
3957 -AmpStories
3958 +Download
3959 -AmpStoriesOutlined
3960 +DownloadOutlined
3961 -AmpStoriesRounded
3962 +DownloadRounded
3963 -AmpStoriesSharp
3964 +DownloadSharp
3965 -AmpStoriesTwoTone
3966 +DownloadTwoTone
3967 // Outbond -> Outbound
3968 -Outbond
3969 +Outbound
3970 -OutbondOutlined
3971 +OutboundOutlined
3972 -OutbondRounded
3973 +OutboundRounded
3974 -OutbondSharp
3975 +OutboundSharp
3976 -OutbondTwoTone
3977 +OutboundTwoTone
3978 ```
3979
3980 We are getting closer to the maximum number of icons our infrastructure can support. In the future, we might remove the least popular icons in favor of the most frequently used ones.
3981
3982### `@material-ui/system@5.0.0-alpha.26`
3983
3984- &#8203;<!-- 057 -->[system] Fix gap, rowGap, columnGap, borderRadius reponsive support (#24994) @oliviertassinari
3985
3986### `@material-ui/utils@5.0.0-alpha.26`
3987
3988- &#8203;<!-- 025 -->[utils] Fix isMuiElement types (#24936) @oliviertassinari
3989
3990### Docs
3991
3992- &#8203;<!-- 100 -->[docs] Add DateRangePickerDay, PickersDay, PickersCalendarSkeleton, MontherPicker API (#25101) @eps1lon
3993- &#8203;<!-- 096 -->[docs] Add DayPicker API (#25100) @eps1lon
3994- &#8203;<!-- 095 -->[docs] Improve description of builderbook (#25086) @klyburke
3995- &#8203;<!-- 092 -->[docs] Add API of ClockPicker (#25089) @eps1lon
3996- &#8203;<!-- 090 -->[docs] Add API of \*DateRangePicker components (#25085) @eps1lon
3997- &#8203;<!-- 088 -->[docs] Add API of \*DateTimePicker components (#25084) @eps1lon
3998- &#8203;<!-- 084 -->[docs] Add graphql-starter to Example Projects (#25068) @koistya
3999- &#8203;<!-- 083 -->[docs] Migrate Alert demos to emotion (#25074) @m4theushw
4000- &#8203;<!-- 075 -->[docs] Add codesandbox example for styled-components (#25050) @jony89
4001- &#8203;<!-- 056 -->[docs] Wrong link @oliviertassinari
4002- &#8203;<!-- 049 -->[docs] Improve error message when GitHub API fail (#24976) @oliviertassinari
4003- &#8203;<!-- 037 -->[docs] Separate simple and nested modal demos (#24938) @ydubinskyi
4004- &#8203;<!-- 030 -->[docs] Remove under construction icons from DataGrid feature pages (#24946) @DanailH
4005- &#8203;<!-- 020 -->[docs] Fix prefers-color-scheme switch (#24902) @oliviertassinari
4006- &#8203;<!-- 001 -->[docs] Add yarn install step, safer @oliviertassinari
4007- &#8203;<!-- 055 -->[examples] Fix code sandbox link GitHub branch (#24996) @kevbarns
4008
4009### Core
4010
4011- &#8203;<!-- 086 -->[core] Prevent out-of-memory in test_types_next (#25079) @eps1lon
4012- &#8203;<!-- 085 -->[core] Pin playwright image to known working version (#25080) @eps1lon
4013- &#8203;<!-- 080 -->[core] Remove need to reinject backdrop (#25071) @oliviertassinari
4014- &#8203;<!-- 074 -->[core] Batch small changes (#25015) @oliviertassinari
4015- &#8203;<!-- 068 -->[core] More cleanup on Pickers code (#25020) @dborstelmann
4016- &#8203;<!-- 063 -->[core] Allow running full pipeline with various React versions (#25005) @eps1lon
4017- &#8203;<!-- 061 -->[core] Fix missing codecov report (#25006) @eps1lon
4018- &#8203;<!-- 040 -->[core] Fix release:tag pushing to first push remote (#24960) @eps1lon
4019- &#8203;<!-- 039 -->[core] Fix cache miss when using playwright docker images (#24942) @eps1lon
4020- &#8203;<!-- 023 -->[core] Prevent out-of-memory when type-checking in CI (#24933) @eps1lon
4021- &#8203;<!-- 022 -->[core] Disable page size tracking (#24932) @eps1lon
4022- &#8203;<!-- 021 -->[core] Extract linting into separate CI job (#24930) @eps1lon
4023- &#8203;<!-- 017 -->[core] Only clone props if needed (#24892) @oliviertassinari
4024- &#8203;<!-- 015 -->[core] listChangedFiles returns an empty list with no changed files (#24879) @eps1lon
4025- &#8203;<!-- 014 -->[core] Remove dead code in docs:dev (#24880) @oliviertassinari
4026- &#8203;<!-- 012 -->[core] Fix a few stylelint error (#24885) @oliviertassinari
4027- &#8203;<!-- 011 -->[core] Fix name of Safari target (#24881) @oliviertassinari
4028- &#8203;<!-- 010 -->[core] Prefer return over throw in chainPropTypes (#24882) @oliviertassinari
4029- &#8203;<!-- 006 -->[core] Support /r/issue-template back (#24870) @oliviertassinari
4030- &#8203;<!-- 003 -->[core] Simplify xxxClasses types (#24736) @oliviertassinari
4031- &#8203;<!-- 076 -->[test] Improve BrowserStack configuration (#25049) @oliviertassinari
4032- &#8203;<!-- 073 -->[test] Track bundle size of unstyled components (#25047) @oliviertassinari
4033- &#8203;<!-- 070 -->[test] Make `render` required with describeConformanceV5 (#25003) @oliviertassinari
4034- &#8203;<!-- 064 -->[test] Move a11y tree exclusion to appropriate document (#24998) @eps1lon
4035- &#8203;<!-- 062 -->[test] Test with ClickAwayListener mount on onClickCapture (#25001) @eps1lon
4036- &#8203;<!-- 045 -->[test] Improve various timer related issues (#24963) @eps1lon
4037- &#8203;<!-- 043 -->[test] Avoid Rate Limit Exceeded (#24931) @oliviertassinari
4038- &#8203;<!-- 042 -->[test] Remove internal icons smoke test (#24969) @eps1lon
4039- &#8203;<!-- 041 -->[test] Reduce compile time of test:karma in watchmode drastically (#24967) @eps1lon
4040- &#8203;<!-- 038 -->[test] Dedupe missing act warnings for HoC (#24949) @eps1lon
4041- &#8203;<!-- 036 -->[test] Consolidate on a single API (#24884) @oliviertassinari
4042- &#8203;<!-- 027 -->[test] Update react next patch (#24934) @eps1lon
4043- &#8203;<!-- 026 -->[test] Link CircleCI URL in BS (#24935) @oliviertassinari
4044- &#8203;<!-- 024 -->[test] Run more tests at the same time (#24886) @oliviertassinari
4045- &#8203;<!-- 008 -->[test] Dedupe missing act warnings by component name (#24871) @eps1lon
4046- &#8203;<!-- 007 -->[test] Enable type-unaware versions of disabled typed-aware lint rules (#24873) @eps1lon
4047- &#8203;<!-- 005 -->[test] Initial workspace definition (#24869) @eps1lon
4048- &#8203;<!-- 004 -->[test] Add current behavior of focus during mount in Popper (#24863) @eps1lon
4049- &#8203;<!-- 002 -->[test] Increase BrowserStack timeout to 6min (#24861) @oliviertassinari
4050
4051All contributors of this release in alphabetical order: @DanailH, @dborstelmann, @Dripcoding, @duganbrett, @eps1lon, @glocore, @hxqlin, @joemaffei, @jony89, @kevbarns, @klyburke, @koistya, @m4theushw, @manziEric, @mngu, @natac13, @NekoApocalypse, @oliviertassinari, @povilass, @praveenkumar-kalidass, @remyoudemans, @silver-snoopy, @vinyldarkscratch, @xs9627, @ydubinskyi
4052
4053## 5.0.0-alpha.25
4054
4055<!-- generated comparing v5.0.0-alpha.24..next -->
4056
4057_Feb 11, 2021_
4058
4059A big thanks to the 30 contributors who made this release possible. Here are some highlights ✨:
4060
4061- 👩‍🎤 Convert 32 components to emotion. Around 64% of the components have been migrated so far, thanks to the help of the community. We aim to migrate them all before the end of Q1 2021.
4062 The podium of the most active community members in the migration 🏆:
4063
4064 1. @natac13 x17
4065 2. @vicasas x5
4066 3. @kodai3 x4
4067
4068- 📐 Add a subset of the system as flattened props on `Typography` (#24496) @mnajdova.
4069 Now, you can do:
4070
4071 ```jsx
4072 <Typography padding={2} color="text.secondary" />
4073 ```
4074
4075- 📅 Focus on the date pickers, 5 fixes and 3 docs improvements.
4076- 💅 Provide a new [`darkScrollbar()`](https://mui.com/components/css-baseline/#scrollbars) CSS utility to improve the native scrollbar in dark mode. The documentation uses it.
4077
4078### `@material-ui/core@5.0.0-alpha.25`
4079
4080#### Breaking changes
4081
4082- Increase the minimum version of TypeScript supported from v3.2 to v3.5. (#24795) @petyosi
4083
4084 We try to align with types released from [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) (i.e. packages published on npm under the `@types` namespace).
4085 We will not change the minimum supported version in a major version of Material-UI.
4086 However, we generally recommend to not use a TypeScript version older than the [lowest supported version of DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped#older-versions-of-typescript-33-and-earlier).
4087
4088#### Changes
4089
4090- &#8203;<!-- 03 -->[ImageList] Migrate to emotion (#24615) @kodai3
4091- &#8203;<!-- 04 -->[Dialog] Migrate DialogTitle to emotion (#24623) @vicasas
4092- &#8203;<!-- 05 -->[TextField] Prepare removal of labelWidth prop (#24595) @oliviertassinari
4093- &#8203;<!-- 08 -->[ImageList] Migrate ImageListItem to emotion (#24619) @kodai3
4094- &#8203;<!-- 09 -->[Card] Migrate CardMedia to emotion (#24625) @natac13
4095- &#8203;<!-- 10 -->[Card] Migrate CardHeader to emotion (#24626) @natac13
4096- &#8203;<!-- 11 -->[TextField] Migrate FilledInput to emotion (#24634) @mnajdova
4097- &#8203;<!-- 12 -->[Fab] Migrate to emotion (#24618) @natac13
4098- &#8203;<!-- 14 -->[ClickAwayListener] Fix `children` and `onClickAway` types (#24565) @eps1lon
4099- &#8203;<!-- 15 -->[List] Migrate ListItemIcon to emotion (#24630) @vicasas
4100- &#8203;<!-- 17 -->[Card] Migrate CardActionArea to emotion (#24636) @natac13
4101- &#8203;<!-- 18 -->[DataTable] Add example in docs for data table (#24428) @DanailH
4102- &#8203;<!-- 19 -->[CircularProgress] Migrate to emotion (#24622) @natac13
4103- &#8203;<!-- 20 -->[ImageList] Migrate ImageListItemBar to emotion (#24632) @kodai3
4104- &#8203;<!-- 21 -->[TextField] Migrate Input component to emotion (#24638) @duganbrett
4105- &#8203;<!-- 22 -->[Tab] Migrate to emotion (#24651) @natac13
4106- &#8203;<!-- 24 -->[Table] Migrate to emotion (#24657) @natac13
4107- &#8203;<!-- 25 -->[List] Migrate ListItemAvatar to emotion (#24656) @vicasas
4108- &#8203;<!-- 26 -->[TextField] Migrate FormControl to emotion (#24659) @duganbrett
4109- &#8203;<!-- 27 -->[Table] Migrate TableContainer to emotion (#24666) @natac13
4110- &#8203;<!-- 28 -->[Tab] Migrate TabScrollButton to emotion (#24654) @natac13
4111- &#8203;<!-- 29 -->[Card] Warn on raised + outlined (#24648) @sumarlidason
4112- &#8203;<!-- 32 -->[TextField] Migrate FormHelperText to emotion (#24661) @duganbrett
4113- &#8203;<!-- 33 -->[Dialog] Migrate DialogContent to emotion (#24670) @vicasas
4114- &#8203;<!-- 36 -->[Typography] Add system props (#24496) @mnajdova
4115- &#8203;<!-- 38 -->[Paper] Improve warning on invalid combinations of variant and elevation (#24667) @eps1lon
4116- &#8203;<!-- 39 -->[Chip] Migrate to emotion (#24649) @natac13
4117- &#8203;<!-- 41 -->[ToggleButton] Migrate to emotion (#24674) @natac13
4118- &#8203;<!-- 42 -->[Step] Migrate to emotion (#24678) @natac13
4119- &#8203;<!-- 45 -->[Link] Fix CSS prefix property casing with emotion (#24701) @idanrozin
4120- &#8203;<!-- 50 -->[Card] Use the default elevation (#24733) @oliviertassinari
4121- &#8203;<!-- 53 -->[Typography] Remove align inherit noise (#24717) @oliviertassinari
4122- &#8203;<!-- 56 -->[Dialog] Convert role `none presentation` to `presentation` (#24500) @hallzac2
4123- &#8203;<!-- 64 -->[TextField] Improve baseline alignment with start adornment (#24742) @praveenkumar-kalidass
4124- &#8203;<!-- 65 -->[Popper] Fix usage of ownerDocument with anchorEl (#24753) @ruppysuppy
4125- &#8203;<!-- 75 -->[Table] Migrate TableBody to emotion (#24703) @natac13
4126- &#8203;<!-- 76 -->[Table] Migrate TableRow to emotion (#24687) @natac13
4127- &#8203;<!-- 77 -->[TextField] Migrate FormGroup to emotion (#24685) @vicasas
4128- &#8203;<!-- 82 -->[CssBaseline] Make dark mode scrollbar overrides an optional function (#24780) @dborstelmann
4129- &#8203;<!-- 83 -->[ButtonGroup] Migrate ButtonGroup to emotion (#24775) @mirefly
4130- &#8203;<!-- 87 -->[Checkbox] Migrate to emotion (#24702) @natac13
4131- &#8203;<!-- 89 -->[Table] Migrate TableHead to emotion (#24686) @natac13
4132- &#8203;<!-- 90 -->[Table] Migrate TableFooter to emotion (#24684) @natac13
4133- &#8203;<!-- 92 -->[Skeleton] Migrate to emotion (#24652) @kodai3
4134
4135### `@material-ui/system@5.0.0-alpha.25`
4136
4137#### Breaking changes
4138
4139- &#8203;<!-- 78 -->[system] Use spacing unit in `gap`, `rowGap`, and `columnGap` (#24794) @ruppysuppy
4140
4141 If you were using a number previously, you need to provide the value in `px` to bypass the new transformation with `theme.spacing`. The change was done for consistency with the Grid spacing prop and the other system spacing properties, e.g. `<Box padding={2}>`.
4142
4143 ```diff
4144 <Box
4145 - gap={2}
4146 + gap="2px"
4147 >
4148 ```
4149
4150### `@material-ui/styled-engine@5.0.0-alpha.25`
4151
4152- &#8203;<!-- 34 -->[styled-engine] Fix GlobalStyles not to throw when no theme is available (#24671) @mnajdova
4153
4154### `@material-ui/types@5.0.0-alpha.25`
4155
4156#### Breaking changes
4157
4158- &#8203;<!-- 91 -->[types] Rename the exported `Omit` type in `@material-ui/types`. (#24795) @petyosi
4159 The module is now called `DistributiveOmit`. The change removes the confusion with the built-in `Omit` helper introduced in TypeScript v3.5. The built-in `Omit`, while similar, is non-distributive. This leads to differences when applied to union types. [See this StackOverflow answer for further details](https://stackoverflow.com/a/57103940/1009797).
4160
4161```diff
4162-import { Omit } from '@material-ui/types';
4163+import { DistributiveOmit } from '@material-ui/types';
4164```
4165
4166#### Changes
4167
4168- &#8203;<!-- 61 -->[types] Remove implicit children from PropInjector (#24746) @eps1lon
4169
4170### `@material-ui/lab@5.0.0-alpha.25`
4171
4172- &#8203;<!-- 02 -->[Pickers] Fix role attribute (#24621) @EkaterinaMozheiko
4173- &#8203;<!-- 35 -->[Pickers] Fix `showTodayButton` not returning the current time (#24650) @anthonyraymond
4174- &#8203;<!-- 44 -->[Pickers] Ensure components have a display name in DEV (#24676) @eps1lon
4175- &#8203;<!-- 49 -->[Pickers] Fix more name inconsistencies (#24734) @oliviertassinari
4176- &#8203;<!-- 54 -->[Pickers] Dismiss on clickaway when using the desktop variant (#24653) @eps1lon
4177- &#8203;<!-- 69 -->[Pickers] Add missing periods at end of some descriptions (#24791) @fulin426
4178- &#8203;<!-- 81 -->[Pickers] Enable YearPicker documentation (#24830) @oliviertassinari
4179- &#8203;<!-- 88 -->[Pickers] Fix useState related console warnings in examples (#24848) @ydubinskyi
4180
4181### Docs
4182
4183- &#8203;<!-- 06 -->[docs] Add sorting section (#24637) @dtassone
4184- &#8203;<!-- 13 -->[docs] Include in docs directive to silence `eslint` erroneous warning (#24644) @silviot
4185- &#8203;<!-- 23 -->[docs] Clarifying the documentation about Chip behavior (#24645) @KarimOurrai
4186- &#8203;<!-- 30 -->[docs] Update Typography in migration guide (#24662) @mbrookes
4187- &#8203;<!-- 37 -->[examples] Update examples to use StyledEngineProvider (#24489) @mnajdova
4188- &#8203;<!-- 40 -->[docs] Add API documentation for \*DatePicker components (#24655) @eps1lon
4189- &#8203;<!-- 47 -->[docs] Add HoodieBees to sponsors (#24735) @mbrookes
4190- &#8203;<!-- 48 -->[docs] Fix indent @oliviertassinari
4191- &#8203;<!-- 55 -->[docs] Make <main> responsive to font size (#24531) @eps1lon
4192- &#8203;<!-- 59 -->[docs] Follow similar demo pattern for date and time pickers (#24739) @eps1lon
4193- &#8203;<!-- 66 -->[docs] Add information about local dev environment (#24771) @plug-n-play
4194- &#8203;<!-- 67 -->[docs] Add tcespal to Showcase (#24793) @ArnaultNouvel
4195- &#8203;<!-- 68 -->[docs] Fix CssBaseline typography description (#24802) @xiaoyu-tamu
4196- &#8203;<!-- 70 -->[docs] Add 'playlist' synonym to 'menu' (#24754) @Lagicrus
4197- &#8203;<!-- 71 -->[docs] Add more similar icons (#24799) @oliviertassinari
4198- &#8203;<!-- 72 -->[docs] Fix typo in the error message generated by createMuiTheme (#24827) @mbrookes
4199- &#8203;<!-- 73 -->[examples] Align more with the v5 recommended approach (#24798) @Tejaswiangotu123
4200- &#8203;<!-- 74 -->[docs] Update ButtonGroup demos to match v5 (#24797) @SCollinA
4201- &#8203;<!-- 84 -->[docs] Fix formatting of `mask` prop description (#24842) @eps1lon
4202- &#8203;<!-- 92 -->[docs] Add read synonym to drafts (#24854) @Lagicrus
4203
4204### Core
4205
4206- &#8203;<!-- 01 -->[core] Fix release:tag pushing to material-ui-docs (#24633) @eps1lon
4207- &#8203;<!-- 16 -->[core] Fix `next` using stale pages (#24635) @eps1lon
4208- &#8203;<!-- 31 -->[test] Skip JSDOM in style related conformance tests (#24668) @mnajdova
4209- &#8203;<!-- 43 -->[test] Conformance to handle wrapped elements (#24679) @natac13
4210- &#8203;<!-- 51 -->[core] Batch small changes (#24705) @oliviertassinari
4211- &#8203;<!-- 52 -->[test] Run more tests in Strict Mode (#24646) @oliviertassinari
4212- &#8203;<!-- 57 -->[test] Avoid visual flakiness (#24737) @oliviertassinari
4213- &#8203;<!-- 60 -->[core] Remove deprecated SimplifiedPropsOf/Simplify types (#24750) @petyosi
4214- &#8203;<!-- 62 -->[core] Disable type-checking of .propTypes (#24747) @eps1lon
4215- &#8203;<!-- 63 -->[test] Allow setting react-dist-tag via pipeline parameter (#24755) @eps1lon
4216- &#8203;<!-- 79 -->[test] Don't run dev CI for dependabot pushes (#24833) @eps1lon
4217- &#8203;<!-- 80 -->[test] Isolate Tooltip tests more (#24834) @eps1lon
4218- &#8203;<!-- 85 -->[test] Clear emotion cache between tests (#24837) @eps1lon
4219- &#8203;<!-- 86 -->[core] Save/restore actual yarn cache folder (#24844) @eps1lon
4220- &#8203;<!-- 91 -->[test] Increase timeout to 4000ms for screenshots (#24850) @oliviertassinari
4221
4222All contributors of this release in alphabetical order: @anthonyraymond, @ArnaultNouvel, @DanailH, @dborstelmann, @dtassone, @duganbrett, @EkaterinaMozheiko, @eps1lon, @fulin426, @hallzac2, @idanrozin, @KarimOurrai, @kodai3, @Lagicrus, @mbrookes, @mirefly, @mnajdova, @natac13, @oliviertassinari, @petyosi, @plug-n-play, @praveenkumar-kalidass, @ruppysuppy, @SCollinA, @silviot, @sumarlidason, @Tejaswiangotu123, @vicasas, @xiaoyu-tamu, @ydubinskyi
4223
4224## 5.0.0-alpha.24
4225
4226<!-- generated comparing v5.0.0-alpha.23..next -->
4227
4228_Jan 26, 2021_
4229
4230A big thanks to the 23 contributors who made this release possible. Here are some highlights ✨:
4231
4232- 👩‍🎤 Convert 31 components to emotion. Around 40% of the components have been migrated so far thanks to the help of the community.
4233- 🐛 Fix two long-standing issues with the Grid. Solve the horizontal scrollbar as well as dimensions when nesting (#24332) @greguintow.
4234- 📚 Fix various display issues on API documentation pages (#24526, #24503, #24504. #24517, #24417).
4235- 📐 Add a subset of the system as flatten props on the CSS utility components (`Grid` and `Box` so far, `Typography` and `Stack` coming later) (#24485, #24499) @mnajdova.
4236
4237 ```jsx
4238 <Box m={2}>
4239 ```
4240
4241### `@material-ui/core@5.0.0-alpha.24`
4242
4243- &#8203;<!-- 85 -->[Dialog] Migrate DialogActions to emotion (#24613) @vicasas
4244- &#8203;<!-- 84 -->[Toolbar] Migrate to emotion (#24567) @natac13
4245- &#8203;<!-- 83 -->[Hidden] Fix unsupported props warning when sx prop is used (#24624) @mnajdova
4246- &#8203;<!-- 82 -->[List] Migrate ListItemText to emotion (#24602) @natac13
4247- &#8203;<!-- 80 -->[List] Migrate ListItemSecondaryAction to emotion (#24593) @xs9627
4248- &#8203;<!-- 79 -->[BottomNavigation] Migrate to emotion (#24556) @vinyldarkscratch
4249- &#8203;<!-- 77 -->[CardActions] Fix wrong classes export name (#24609) @mnajdova
4250- &#8203;<!-- 76 -->[Card] Migrate CardContent to emotion (#24600) @vicasas
4251- &#8203;<!-- 75 -->[Card] Migrate to emotion (#24597) @povilass
4252- &#8203;<!-- 74 -->[TextField] Migrate InputBase to emotion (#24555) @duganbrett
4253- &#8203;<!-- 73 -->[Accordion] Allow to disable gutter/spacing (#24532) @TimonPllkrn
4254- &#8203;<!-- 72 -->[List] Migrate to emotion (#24560) @vinyldarkscratch
4255- &#8203;<!-- 71 -->[Card] Migrate CardActions to emotion (#24604) @vicasas
4256- &#8203;<!-- 69 -->[List] Migrate ListSubheader to emotion (#24561) @vinyldarkscratch
4257- &#8203;<!-- 68 -->[Breadcrumbs] Migrate to emotion (#24522) @vinyldarkscratch
4258- &#8203;<!-- 67 -->[Divider] Migrate to emotion (#24558) @vinyldarkscratch
4259- &#8203;<!-- 66 -->[Switch] Migrate SwitchBase to emotion (#24552) @vinyldarkscratch
4260- &#8203;<!-- 65 -->[Hidden] Migrate to emotion (#24544) @vinyldarkscratch
4261- &#8203;<!-- 64 -->[List] Migrate ListItem to emotion (#24543) @xs9627
4262- &#8203;<!-- 62 -->[TextField] Fix Google Translate zero-width space issue (#24563) @d3mp
4263- &#8203;<!-- 61 -->[Table] Separate classes for different labels (#24568) @tonysepia
4264- &#8203;<!-- 58 -->[Accordion] Migrate AccordionSummary to emotion (#24540) @vinyldarkscratch
4265- &#8203;<!-- 57 -->[IconButton] Migrate to emotion (#24542) @vinyldarkscratch
4266- &#8203;<!-- 54 -->[Accordion] Migrate AccordionActions to emotion (#24538) @vinyldarkscratch
4267- &#8203;<!-- 53 -->[Accordion] Migrate AccordionDetails to emotion (#24539) @vinyldarkscratch
4268- &#8203;<!-- 50 -->[Link] Migrate to emotion (#24529) @praveenkumar-kalidass
4269- &#8203;<!-- 49 -->[Accordion] Migrate to emotion (#24518) @vinyldarkscratch
4270- &#8203;<!-- 46 -->[Backdrop] Migrate to emotion (#24523) @vinyldarkscratch
4271- &#8203;<!-- 39 -->[Grid] Add system props (#24499) @mnajdova
4272- &#8203;<!-- 38 -->[Icon] Migrate to emotion (#24516) @vinyldarkscratch
4273- &#8203;<!-- 36 -->[Collapse] Migrate to emotion (#24501) @vinyldarkscratch
4274- &#8203;<!-- 33 -->[SvgIcon] Migrate to emotion (#24506) @oliviertassinari
4275- &#8203;<!-- 32 -->[Avatar] Migrate AvatarGroup to emotion (#24452) @praveenkumar-kalidass
4276- &#8203;<!-- 31 -->[Box] Add back system props (#24485) @mnajdova
4277- &#8203;<!-- 30 -->[Alert] Migrate AlertTitle to emotion (#24448) @povilass
4278- &#8203;<!-- 26 -->[Alert] Migrate to emotion (#24442) @kutnickclose
4279- &#8203;<!-- 21 -->[l10n] Improve Hebrew translation (#24449) @eladmotola
4280- &#8203;<!-- 19 -->[Checkbox][switch] Document defaultChecked (#24446) @praveenkumar-kalidass
4281- &#8203;<!-- 18 -->[AppBar] Migrate to emotion (#24439) @povilass
4282- &#8203;<!-- 16 -->[l10n] Improve German translation (#24436) @lukaselmer
4283- &#8203;<!-- 15 -->[Button][badge] Support custom colors and sizes (#24408) @mnajdova
4284- &#8203;<!-- 10 -->[Grid] Fix horizontal scrollbar and nested dimensions (#24332) @greguintow
4285- &#8203;<!-- 07 -->[Grid] Migrate to emotion (#24395) @mnajdova
4286- &#8203;<!-- 06 -->[Badge] Fix TS custom variants (#24407) @mnajdova
4287
4288### `@material-ui/lab@5.0.0-alpha.24`
4289
4290- &#8203;<!-- 48 -->[DatePicker] Remove unnecessary wrapping dom node (#24533) @mxsph
4291- &#8203;<!-- 12 -->[DateRangePicker] Remove variant prop override for Textfield (#24433) @praveenkumar-kalidass
4292- &#8203;<!-- 03 -->[lab] Reflect draft pattern of picker value in implementation (#24367) @eps1lon
4293
4294### `@material-ui/styled-engine@5.0.0-alpha.24`
4295
4296- &#8203;<!-- 13 -->[styled-engine] Rename StylesProvider to StyledEngineProvider (#24429) @mnajdova
4297
4298### `@material-ui/system@5.0.0-alpha.24`
4299
4300- &#8203;<!-- 44 -->[system] Fix handling of null-ish values (#24530) @oliviertassinari
4301
4302### `@material-ui/unstyled@5.0.0-alpha.24`
4303
4304- &#8203;<!-- 08 -->[unstyled] Convert composeClasses to TypeScript (#24396) @eps1lon
4305
4306### `@material-ui/utils@5.0.0-alpha.24`
4307
4308- &#8203;<!-- 60 -->[utils] `useEventCallback` `args` defaults to `unknown[]` (#24564) @eps1lon
4309- &#8203;<!-- 11 -->[utils] Fix requirePropFactory to merge validators (#24423) @mnajdova
4310
4311### Docs
4312
4313- &#8203;<!-- 86 -->[examples] Patch preact example not working (#24616)
4314- &#8203;<!-- 78 -->[docs] Add missing newline in component JSDoc (#24610) @eps1lon
4315- &#8203;<!-- 70 -->[docs] Add API of picker components (#24497) @eps1lon
4316- &#8203;<!-- 63 -->[examples] Add `locale` prop to the Nextjs Link component (#24596) @CyanoFresh
4317- &#8203;<!-- 52 -->[docs] List required props first in /api/\* (#24526) @eps1lon
4318- &#8203;<!-- 45 -->[docs] Mention the system props when available in the API pages (#24503) @mnajdova
4319- &#8203;<!-- 43 -->[docs] Improve system properties page (#24524) @mnajdova
4320- &#8203;<!-- 42 -->[docs] Fix malformed component API description (#24504) @eps1lon
4321- &#8203;<!-- 41 -->[docs] Fix ToC "Component name" fragment link on /api/\* (#24517) @eps1lon
4322- &#8203;<!-- 40 -->[docs] Fix ToC on /api pages linking to api-docs (#24515) @eps1lon
4323- &#8203;<!-- 37 -->[docs] Add comment explaining specificity bump on Select (#24509) @KarimMokhtar
4324- &#8203;<!-- 28 -->[docs] Compute spreadable from tests (#24490) @eps1lon
4325- &#8203;<!-- 27 -->[docs] Fix label bug in stepper vertical demo (#24491) @artola
4326- &#8203;<!-- 20 -->[docs] Update Divjoy URL (#24447) @mbrookes
4327- &#8203;<!-- 17 -->[docs] Improve packages description (#24330) @oliviertassinari
4328- &#8203;<!-- 14 -->[docs] Fix content-layout-shift (#24418) @oliviertassinari
4329- &#8203;<!-- 09 -->[docs] Document default values of external props (#24417) @eps1lon
4330- &#8203;<!-- 02 -->[docs] Update in-house ads (#24410) @mbrookes @ewldev
4331
4332### Core
4333
4334- &#8203;<!-- 87 -->[core] Skip downloading browser binaries in codesandbox/ci (#24628) @eps1lon
4335- &#8203;<!-- 81 -->[core] Batch small changes (#24599) @oliviertassinari
4336- &#8203;<!-- 59 -->[test] Simplify DatePicker tests (#24545) @eps1lon
4337- &#8203;<!-- 51 -->[core] Improve pseudo classes overrides error (#24535) @mnajdova
4338- &#8203;<!-- 35 -->[core] Fix styleProps to always contain all props (#24505) @mnajdova
4339- &#8203;<!-- 34 -->[test] Fix AvatarGroup failing test (#24512) @mnajdova
4340- &#8203;<!-- 29 -->[pickers] Sort tests (#24481) @eps1lon
4341- &#8203;<!-- 25 -->[test] Split tests in describeConformanceV5 to isolate them (#24479) @mnajdova
4342- &#8203;<!-- 24 -->[core] Do not forward classes prop by default in experimentalStyled (#24451) @mnajdova
4343- &#8203;<!-- 23 -->[core] Pass styleProps on all slots in the styled() components (#24454) @mnajdova
4344- &#8203;<!-- 22 -->[core] Batch small changes (#24445) @oliviertassinari
4345- &#8203;<!-- 01 -->[core] Normalize generating declaration files (#24411) @eps1lon
4346
4347All contributors of this release in alphabetical order: @artola, @CyanoFresh, @d3mp, @duganbrett, @eladmotola, @eps1lon, @ewldev, @greguintow, @KarimMokhtar, @kutnickclose, @lukaselmer, @mbrookes, @mnajdova, @mxsph, @natac13, @oliviertassinari, @povilass, @praveenkumar-kalidass, @TimonPllkrn, @tonysepia, @vicasas, @vinyldarkscratch, @xs9627
4348
4349## 5.0.0-alpha.23
4350
4351_Jan 14, 2021_
4352
4353A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
4354
4355- 📚 Only document public paths in module augmentation (#24267) @eps1lon
4356- 👩‍🎤 Migrate the Paper and CssBaseline to emotion (#24397, #24176) @povilass @mnajdova
4357
4358 We have reached a point where we feel confident that the new approach should make it to v5 stable. An issue has been created to track the progress with the migration to emotion: #24405. Your contribution to this effort and the ones from the community are welcome 🙌.
4359
4360- 📅 Various improvements on the date picker components (#24301, #24309, #24275, #24298, #24319) @m4theushw @eps1lon @huzaima @praveenkumar-kalidass
4361- And many more 🐛 bug fixes and 📚 improvements.
4362
4363### `@material-ui/core@v5.0.0-alpha.23`/`@material-ui/unstyled@v5.0.0-alpha.23`
4364
4365- [Container] Fix disableGutters style not applied (#24284) @povilass
4366- [Paper] Migrate to emotion (#24397) @povilass
4367- [Slider] Allow mobile VO users to interact with Sliders (#23902) @CodySchaaf
4368- [SwipeableDrawer] Add bleeding demo (#24268) @vicasas
4369- [SwipeableDrawer] Fix overflow scroll computation logic (#24225) @yann120
4370- [Table] Fix "more than" translation in es-ES (#24356) @vicasas
4371- [TextField] Fix error color for form input with secondary color (#24290) @praveenkumar-kalidass
4372- [Button] Fix resolution of default props (#24253) @oliviertassinari
4373
4374### `@material-ui/lab@v5.0.0-alpha.23`
4375
4376#### Breaking changes
4377
4378- [DateRangePicker] Remove DateRangDelimiter (#24298) @huzaima
4379
4380 You can migrate away from it with:
4381
4382 ```diff
4383 diff --git a/docs/src/pages/components/date-range-picker/BasicDateRangePicker.tsx b/docs/src/pages/components/date-range-picker/BasicDateRangePicker.tsx
4384 index 72a89f9a11..2742fa6811 100644
4385 --- a/docs/src/pages/components/date-range-picker/BasicDateRangePicker.tsx
4386 +++ b/docs/src/pages/components/date-range-picker/BasicDateRangePicker.tsx
4387 @@ -3,7 +3,7 @@ import TextField from '@material-ui/core/TextField';
4388 import DateRangePicker, { DateRange } from '@material-ui/lab/DateRangePicker';
4389 import AdapterDateFns from '@material-ui/lab/AdapterDateFns';
4390 import LocalizationProvider from '@material-ui/lab/LocalizationProvider';
4391 -import DateRangeDelimiter from '@material-ui/lab/DateRangeDelimiter';
4392 +import Box from '@material-ui/core/Box';
4393
4394 export default function BasicDateRangePicker() {
4395 const [value, setValue] = React.useState<DateRange<Date>>([null, null]);
4396 @@ -20,7 +20,7 @@ export default function BasicDateRangePicker() {
4397 renderInput={(startProps, endProps) => (
4398 <React.Fragment>
4399 <TextField {...startProps} variant="standard" />
4400 - <DateRangeDelimiter> to </DateRangeDelimiter>
4401 + <Box sx={{ mx: 2 }}>to</Box>
4402 <TextField {...endProps} variant="standard" />
4403 </React.Fragment>
4404 )}
4405 ```
4406
4407#### Changes
4408
4409- [DatePicker] Fix out of range month selection (#24301) @m4theushw
4410- [DatePicker] Replace withDefaultProps with useThemeProps (#24309) @m4theushw
4411- [DatePicker] Simplify ExtendWrapper type (#24275) @eps1lon
4412- [DatePicker] Reduce coupling of parsing picker input value and props (#24319) @eps1lon
4413- [TimePicker] Add pointer cursor for clock in desktop (#24276) @praveenkumar-kalidass
4414- [lab] Drop usage of createStyles (#24158) @eps1lon
4415- [lab] Fix import paths in generated declaration files (#24380) @eps1lon
4416- [lab] Prevent possible null pointer in useValidation (#24318) @eps1lon
4417
4418### `@material-ui/styled-engine@v5.0.0-alpha.23`/`@material-ui/styled-engine-sc@v5.0.0-alpha.23`
4419
4420- [styled-engine] Add `GlobalStyles` component (#24176) @mnajdova
4421
4422### Docs
4423
4424- [docs] Add example performance Stepper vertical (#24292) @vicasas
4425- [docs] Change Link example from JS to TS (#24291) @vicasas
4426- [docs] Do not show 'Add' if user input matches existing option (#24333) @ramdog
4427- [docs] Focus docs search input when the shortcut is clicked (#24296) @eps1lon
4428- [docs] Further template the CSS API descriptions (#24360) @mbrookes
4429- [docs] Improve Next.js Link integration (#24258) @oliviertassinari
4430- [docs] Misc API fixes (#24357) @mbrookes
4431- [docs] Prevent kbd to wrap (#24269) @oliviertassinari
4432- [docs] Simplify icon button docs (#24317) @baharalidurrani
4433- [docs] Standardize some API descriptions (#24274) @mbrookes
4434- [docs] Sync AppSearch.tsx with AppSearch.js (#24363) @Lagicrus
4435- [docs] Update CONTRIBUTING being accepted (#24306) @vicasas
4436- [docs] Update right to left compatibility plugin version (#24370) @mnajdova
4437- [docs] Widen example datetime-local picker so it's not clipped (#24324) @ramdog
4438- [website] Add BrandingFooter (#24095) @mnajdova
4439- [website] Add Discover more (#24327) @oliviertassinari
4440- [website] Add newsletter (#24322) @oliviertassinari
4441- [website] Fix regressions @oliviertassinari
4442- [website] Improve typography theme (#24386) @oliviertassinari
4443
4444### Core
4445
4446- [core] Create issue labeled (#24283) @xrkffgg
4447- [core] Fix eslint @oliviertassinari
4448- [core] Skip downloading browser binaries when building docs (#24393) @eps1lon
4449- [core] Small changes (#24329) @oliviertassinari
4450- [core] Support public paths in module augmentation (#24267) @eps1lon
4451- [core] Update classes generation logic (#24371) @mnajdova
4452- [core] Update issue mark duplicate (#24311) @xrkffgg
4453- [core] Update issues helper version (#24379) @xrkffgg
4454- [test] Add pipeline task for performance monitoring (#24289) @eps1lon
4455- [test] Compensate for Circle CI's low performance (#24358) @oliviertassinari
4456- [test] Debug expensive GH actions still runing for l10nbot (#24392) @eps1lon
4457- [test] Move callback args to right side of assertion (#24366) @eps1lon
4458- [test] Persist new declaration files in CI cache (#24313) @eps1lon
4459- [test] Reduce download times of playwright binaries (#24364) @eps1lon
4460- [test] Skip expensive GitHub actions on l10nbot commits (#24303) @eps1lon
4461- [test] Test declaration files in TS nightly (#24391) @eps1lon
4462- [styles] Define useThemeProps as unstable and fix TS issues (#24383) @mnajdova
4463
4464## 5.0.0-alpha.22
4465
4466_Jan 4, 2021_
4467
4468A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
4469
4470- ♿️ Fix major accessibility issue with the Autocomplete (#24213) @inform880
4471- 👩‍🎤 Migrate the Container to emotion (#24227) @oliviertassinari
4472- 🐛 Fix Next.js regression and other cross-platform issues with the build (#24200, #24223)
4473- And many more 🐛 bug fixes and 📚 improvements.
4474
4475### `@material-ui/core@v5.0.0-alpha.22`/`@material-ui/unstyled@v5.0.0-alpha.22`
4476
4477- [Autocomplete] Fix VoiceOver not reading the correct activedescendant (#24213) @inform880
4478- [Autocomplete] Warn when value is invalid (#24202) @Sandeep0695
4479- [Button] Fix disableElevation regression (#24251) @oliviertassinari
4480- [Container] Migrate to emotion (#24227) @oliviertassinari
4481- [Pagination] Fix className forwarding when type is ellipsis (#24256) @andrelmlins
4482- [Select] Improve description on how it extends the Input components (#24180) @azza85
4483- [styled] Fix missing types for `sx` (#24211) @mnajdova
4484- [styled] Remove unused type parameters from StyledOptions (#24255) @eps1lon
4485- [styled] Support components without theme (#24214) @mnajdova
4486- [styles] Fix classes logic (#24250) @oliviertassinari
4487- [styles] Improve the classes structure (#24249) @oliviertassinari
4488
4489### `@material-ui/lab@v5.0.0-alpha.22`
4490
4491- [DatePicker] Fix year only view, hide the current month (#24205) @hyeonhong
4492- [DatePicker] Nested imports for better DX (#24147) @oliviertassinari
4493- [DatePicker] Remove unused type parameters (#24257) @eps1lon
4494- [TimePicker] Prevent conflicting type parameter in `ClockProps#getClockLabelText` (#24193) @eps1lon
4495
4496### Docs
4497
4498- [docs] Accept pages written in TypeScript (#24230) @oliviertassinari
4499- [docs] Document emotion migration breaking changes (#24229) @luminaxster
4500- [docs] Fix broken benchmark link (#24210) @jalaj-k
4501- [docs] Fix codesandbox datagrid demo (#24218) @brno32
4502- [docs] Fix iframe demos with emotion (#24232) @oliviertassinari
4503- [docs] Sync translations (#24161) @l10nbot
4504
4505### Core
4506
4507- [test] More granular progress tracking of relative type imports (#24233) @eps1lon
4508- [core] Add missing sx typings on the components migrated to emotion (#24208) @mnajdova
4509- [core] Batch small changes (#24224) @oliviertassinari
4510- [core] Create issue mark duplicate (#24184) @xrkffgg
4511- [core] Fix generation of package.json (#24223) @oliviertassinari
4512- [core] Fix relative import of types (#24248) @oliviertassinari
4513- [core] Platform agnostic build script for envinfo (#24200) @eps1lon
4514- [core] Remove unused generics from experimentalStyled (#24192) @eps1lon
4515
4516## 5.0.0-alpha.21
4517
4518_Dec 30, 2020_
4519
4520A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
4521
4522- 👩‍🎤 Migrate the Avatar to emotion (#24114) @oliviertassinari
4523- 👩‍🎤 Migrate the Button to emotion (#24107, #24100) @mnajdova
4524- ♿️ Improve TrapFocus behavior, ignore the container as a tabbable element (#23364) @gregnb
4525 In rare cases, an element might not longer be tabbable when looping, e.g. overflow container in Firefox.
4526 You can work around the problem by adding a `tabIndex={0}` or customizing the `getTabbable` prop.
4527- And many more 🐛 bug fixes and 📚 improvements.
4528
4529### `@material-ui/core@v5.0.0-alpha.21`/`@material-ui/unstyled@v5.0.0-alpha.21`
4530
4531- [Avatar] Migrate to emotion (#24114) @oliviertassinari
4532- [ButtonBase] Migrate styles to emotion (#24100) @mnajdova
4533- [Button] Migrate styles to emotion (#24107) @mnajdova
4534- [unstyled] Add utils for generating utility classes (#24126) @mnajdova
4535- [TrapFocus] Fix trap to only focus on tabbable elements (#23364) @gregnb
4536- [Link] Improve integration with Next.js (#24121) @kelvinsanchez15
4537- [Select] Fix overflow showing scrollbar (#24085) @Segebre
4538- [Slider] Fix circular type reference in SliderValueLabel (#24190) @eps1lon
4539- [Skeleton] Fix default TypeScript component type (#24191) @eps1lon
4540
4541### `@material-ui/system@v5.0.0-alpha.21`
4542
4543- [system] Fix sx prop typings to support grid gap props (#24093) @mnajdova
4544- [system] Improve the SxProp typings structure, by splitting them in a separate module. (#24090) @mnajdova
4545- [system] Replace grid gap properties (#24094) @mnajdova
4546
4547### `@material-ui/lab@v5.0.0-alpha.21`
4548
4549- [DatePicker] Allow to customize icons (#24017) @jackcwu
4550- [DatePicker] Fix missing component for theme augmentation (#24092) @rajzik
4551- [DatePicker] Hide outline on container (#24108) @oliviertassinari
4552- [DatePicker] Fix accessibility issue with heading (#24183) @gracektay
4553- [TimePicker] Improve the design to fit on smaller screens (#23855) @marianayap
4554- [TreeView] Add preventScroll for tree focus (#24105) @praveenkumar-kalidass
4555
4556### `@material-ui/styles@v5.0.0-alpha.21`
4557
4558- [styles] Fix for supporting non string props in propsToClassKey (#24101) @mnajdova
4559
4560### `@material-ui/styled-engine@v5.0.0-alpha.21`/`@material-ui/styled-engine-sc@v5.0.0-alpha.21`
4561
4562- [styled-engine] Fix StylesProvider injectFirst with sc (#24104) @mnajdova
4563
4564### Docs
4565
4566- [docs] Add examples for adding and removing Typography variants (#24088) @mnajdova
4567- [docs] Fix typo (#24123) @ajonp
4568- [docs] Fix warning about wrong prop type (#24117) @mnajdova
4569- [docs] Rename "Customization > Theme > Global" to "Customization > Theme > Components" (#24115) @mnajdova
4570- [docs] Rename customization/components to customization/how-to-customize (#24089) @mnajdova
4571- [docs] Replace process.browser with typeof navigator (#24122) @softshipper
4572- [docs] Sync translations (#24152) @l10nbot
4573- [docs] Update Fontsource install instructions (#24120) @DecliningLotus
4574- [docs] Add system grid page (#24119) @mnajdova
4575- [blog] 2020 in review and beyond (#24130) @oliviertassinari
4576- [docs] Improve naming and structure of the Customization and Guide pages (#24175) @mnajdova
4577
4578### Core
4579
4580- [core] Batch small changes (#24131) @oliviertassinari
4581- [core] Fix overridesResolver on the core components and added tests (#24125) @mnajdova
4582- [core] Reduce number of files included in language server (#24165) @eps1lon
4583- [core] Reduce response time of initial PR bot comment (#24168) @eps1lon
4584- [core] Refactor styled() components to ease out the migration process (#24124) @mnajdova
4585- [test] Add more packages to browser test suite (#24155) @eps1lon
4586- [core] Monitor progress of fixing type imports (#24188) @eps1lon
4587- [core] Fix build on Windows (#24187) @oliviertassinari
4588
4589## 5.0.0-alpha.20
4590
4591_Dec 21, 2020_
4592
4593A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
4594
4595- 👩‍🎤 Migrate the Typography to emotion (#23841) @DanailH
4596
4597 This change allows to add typography variants in the theme and to use them directly:
4598
4599 ```jsx
4600 const theme = createMuiTheme({
4601 typography: {
4602 poster: {
4603 color: 'red',
4604 },
4605 },
4606 });
4607 <Typography variant="poster">poster</Typography>;
4608 ```
4609
4610 [A full demo](https://codesandbox.io/s/fontsizetheme-material-demo-forked-l9u05?file=/demo.tsx:725-773)
4611
4612- 📚 Add a shortcut to open the Algolia search (#23959) @hmaddisb.
4613- And many more 🐛 bug fixes and 📚 improvements.
4614
4615### `@material-ui/core@v5.0.0-alpha.20`/`@material-ui/unstyled@v5.0.0-alpha.20`
4616
4617#### Breaking changes
4618
4619- [CssBaseline] Change body font size to body1 (1rem) (#24018) @mbrookes
4620
4621 The new default matches the variant used by the Typography component. To return to the previous size, you can override it in the theme:
4622
4623 ```js
4624 const theme = createMuiTheme({
4625 typography: {
4626 body1: {
4627 fontSize: '0.875rem',
4628 },
4629 },
4630 });
4631 ```
4632
4633#### Changes
4634
4635- [Badge] Fix the classes description to reflect the correct component (#24035) @mnajdova
4636- [Select] Fix aria-describedby attribute (#24027) @HVish
4637- [Skeleton] Fix Circle border radius on Safari (#24054) @anatolzak
4638- [Slider][badge] Fix classes prop not working (#24034) @mnajdova
4639- [Typography] Migrate styles to emotion (#23841) @DanailH
4640
4641### `@material-ui/styled-engine@v5.0.0-alpha.20`/`@material-ui/styled-engine-sc@v5.0.0-alpha.20`
4642
4643- [styled-engine] Add name and slot options (#23964) @mnajdova
4644- [styled-engine] Add StylesProvider with injectFirst option (#23934) @mnajdova
4645
4646### `@material-ui/system@v5.0.0-alpha.20`
4647
4648- [system] Fix transform not firing when theme provided (#24010) @ZovcIfzm
4649
4650### Docs
4651
4652- [docs] Add a shortcut to access the search bar (#23959) @hmaddisb
4653- [docs] Animate component's mounting and unmounting (#24049) @cjoecker
4654- [docs] Fix collapse API docs description of 'hidden' style condition (#24053) @jaiwanth-v
4655- [docs] Improve color demo snippet spacing (#24009) @yukinoda
4656- [docs] Improve displayed versions (#24051) @oliviertassinari
4657- [docs] Show a better file on codesandbox (#24052) @oliviertassinari
4658- [docs] Update customization/components and customization/global pages (#24016) @mnajdova
4659- [docs] Update the CSS injection guide (#24020) @mnajdova
4660
4661### Core
4662
4663- [core] Batch small changes (#24038) @oliviertassinari
4664- [core] Track size of /unstyled (#24021) @eps1lon
4665- [core] Use consistent naming scheme for ttp annotations (#24022) @eps1lon
4666
4667## 5.0.0-alpha.19
4668
4669_Dec 13, 2020_
4670
4671A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
4672
4673- 👩‍🎤 Migrate the Badge to emotion (#23745) @mnajdova.
4674- 🌏 Add infrastructure to translate the API pages (#23852) @mbrookes.
4675- And many more 🐛 bug fixes and 📚 improvements.
4676
4677### `@material-ui/core@v5.0.0-alpha.19`
4678
4679#### Breaking changes
4680
4681- [Icon][svgicon] Change default fontSize from default to medium (#23950) @mbrookes
4682
4683 The default value of `fontSize` was changed from `default` to `medium` for consistency.
4684 In the unlikey event that you were using the value `default`, the prop can be removed:
4685
4686 ```diff
4687 -<SvgIcon fontSize="default">{iconPath}</SvgIcon>
4688 +<SvgIcon>{iconPath}</SvgIcon>
4689 ```
4690
4691- [TextField] Add size prop for outlined and filled input (#23832) @mayralgr
4692
4693 Rename `marginDense` and `inputMarginDense` classes to `sizeSmall` and `inputSizeSmall` to match the prop.
4694
4695#### Changes
4696
4697- [Autocomplete] Document onChange last `details` param (#23942) @natac13
4698- [Autocomplete] Fix useAutocomplete groupedOptions type (#23854) @ZachCMP
4699- [Autocomplete] Improve DX/UX when getOptionLabel is not configured correctly (#23884) @marianayap
4700- [Autocomplete] Improve getOptionSelected description (#23817) @smartshivkat
4701- [Badge] Create unstyled component & move to emotion (#23745) @mnajdova
4702- [Grid] Improve support for nested grid (#23913) @gbrochar
4703- [Grid] Fix side effects when direction="column" and xs={} is used (#23900) @Kai-W
4704- [Select] Fix description, value is not required (#23940) @natac13
4705- [Slider] Remove color prop in unstyled (#23840) @mnajdova
4706- [Slider] Replaced inlined isHostComponent with the utils (#23880) @mnajdova
4707- [SwipeableDrawer] Refactor internals (#23944) @eps1lon
4708- [TextField] Add documentation for hidden label (#23915) @Fredestrik
4709- [TextField] Fix the color leak of the textbox (#23912) @szabgab
4710- [useMediaQuery] Fix a false return at the first call (#23806) @marthaerm
4711- [utils] Fix minified errors throwing with \_formatMuiErrorMessage (#23828) @eps1lon
4712
4713### `@material-ui/unstyled@v5.0.0-alpha.19`
4714
4715- [core] Use Lerna to publish (#23793) @oliviertassinari
4716
4717### `@material-ui/system@v5.0.0-alpha.19`
4718
4719#### Breaking changes
4720
4721- [system] Move visually hidden helper to utils (#23974) @eps1lon
4722
4723 Only applies if you've installed v5.0.0-alpha.1
4724
4725 ```diff
4726 -import { visuallyHidden } from '@material-ui/system';
4727 +import { visuallyHidden } from '@material-ui/utils';
4728 ```
4729
4730#### Changes
4731
4732- [core] Use Lerna to publish (#23793) @oliviertassinari
4733
4734### `@material-ui/lab@v5.0.0-alpha.19`
4735
4736- [core] Use Lerna to publish (#23793) @oliviertassinari
4737
4738### `@material-ui/utils@v5.0.0-alpha.19`
4739
4740- [core] Use Lerna to publish (#23793) @oliviertassinari
4741
4742### `@material-ui/styles@v5.0.0-alpha.19`
4743
4744- [core] Use Lerna to publish (#23793) @oliviertassinari
4745
4746### Docs
4747
4748- [example] Change Box to new sx prop (#23937) @natac13
4749- [example] Explain package choice (#23938, #23958) @mnajdova
4750- [example] Update nextjs examples to fix hydration (#23936) @mnajdova
4751- [docs] Add API tradeoff section for the sx prop (#23962) @mnajdova
4752- [docs] Add ELEVATOR to backers (#23977) @mbrookes
4753- [docs] Add eslint rule to docs (#23843) @jens-ox
4754- [docs] Add infrastructure to translate API pages (#23852) @mbrookes
4755- [docs] Add link to the sx docs page in the API description (#23967) @mnajdova
4756- [docs] Add prepend option on emotion caches to allow JSS style overrides (#23892) @mnajdova
4757- [docs] Add Vercel deploy config (#23910) @eps1lon
4758- [docs] Allow codesandbox deploy for demos in X (#23644) @oliviertassinari
4759- [docs] Copy icons to clipboard (#23850) @CodeWithGuruji
4760- [docs] Fix breakpoints typos (#23893) @mnajdova
4761- [docs] Fix color contrast of code within links (#23819) @eps1lon
4762- [docs] Fix duplicated styles generated from emotion (#23809) @mnajdova
4763- [docs] Fix icon alignment in /components/breadcrumbs (#23818) @eps1lon
4764- [docs] Fix production deploy (#23963) @eps1lon
4765- [docs] Fix source on Github links (#23821) @praveenkumar-kalidass
4766- [docs] Fix StickyHeaderTable round borders (#23882) @antoniopacheco
4767- [docs] Fix typo in date picker dayjs adapter name (#23935) @andresmrm
4768- [docs] Improve system properties page (#23961) @mnajdova
4769- [docs] Link module augmentation in TypeScript @oliviertassinari
4770- [docs] Make stable width of localization example (#23820) @sujinleeme
4771- [docs] Mention Adobe XD (#23978) @oliviertassinari
4772- [docs] Prefer system shorthands (#23970) @oliviertassinari
4773- [docs] Remove 'TODO' comment from buildApi script (#23973) @mbrookes
4774- [docs] Sync translations (#23742, #23842) @l10nbot
4775- [docs] Update Badge examples to use Box instead of makeStyles (#23927) @mnajdova
4776
4777### Core
4778
4779- [test] Add conformance tests for testing the `theme.components` options for the v5 components (#23896) @mnajdova
4780- [test] Include type path mappings in language server (#23905) @eps1lon
4781- [test] Make Popper tests StrictMode agnostic (#23838) @eps1lon
4782- [test] Run benchmarks in Azure Pipelines when approved (#23895) @eps1lon
4783- [test] Skip tests with cascading network requests (#23823) @eps1lon
4784- [core] All packages are published from /build (#23886) @oliviertassinari
4785- [core] Batch small changes (#23853) @oliviertassinari
4786- [core] Fix failing CI on HEAD (#23947) @oliviertassinari
4787- [core] Force LF for text files (#23932) @eps1lon
4788- [core] Improve envinfo instructions (#23918) @eps1lon
4789- [core] Replace fs-extra deprecated function (exists) (#23848) @leonardopliski
4790- [core] Use Lerna to publish (#23793) @oliviertassinari
4791- [core] Use playwright instead of puppeteer (#23906) @eps1lon
4792- [core] Add envinfo --json flag (#23883) @eps1lon
4793- [core] Ask for output from envinfo in issues (#23881) @eps1lon
4794
4795## 5.0.0-alpha.18
4796
4797_Dec 3, 2020_
4798
4799A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
4800
4801- Fix most of the issues with the system (#23716, #23635, #23737, #23733, #23700, #23688) @mnajdova.
4802- And many more 🐛 bug fixes and 📚 improvements.
4803
4804### `@material-ui/core@v5.0.0-alpha.18`
4805
4806#### Breaking changes
4807
4808- [Box] Remove deprecated props (#23716) @mnajdova
4809 All props are now available under the `sx` prop. A deprecation will be landing in v4.
4810 Thanks to @mbrookes developers can automate the migration with a [codemod](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#box-sx-prop).
4811
4812 ```diff
4813 -<Box p={2} bgColor="primary.main">
4814 +<Box sx={{ p: 2, bgColor: 'primary.main' }}>
4815 ```
4816
4817#### Changes
4818
4819- [Autocomplete] Add ability to override key down events handlers (#23487) @hessaam
4820- [Autocomplete] Better isolate test case (#23704) @oliviertassinari
4821- [Autocomplete] Fix highlight change event (#23718) @TakumaKira
4822- [Box] Fix TypeScript issue when component prop is used (#23686) @mnajdova
4823- [experimentalStyled] Make sx style fn optional (#23714) @mnajdova
4824- [l10n] Improve Brazilian (pt-BR) locale (#23707) @m4rcelofs
4825- [l10n] Improve Korean (ko-KR) locale (#23794) @sujinleeme
4826- [Select] Add disabled attribute in input element when disabled (#23778) @praveenkumar-kalidass
4827- [Switch] Add preventDefault check for state change (#23786) @praveenkumar-kalidass
4828- [Tabs] Remove duplicate styles (#23561) @cmfcmf
4829
4830### `@material-ui/system@v5.0.0-alpha.18`
4831
4832- [system] Allow values to use shorter string when the prop name is contained in the value (#23635) @mnajdova
4833- [system] Another round of perf improvements (#23737) @mnajdova
4834- [system] Fix transform return value to support CSSObject (#23733) @mnajdova
4835- [system] Make borderRadius multiply a theme's design token (#23700) @mnajdova
4836- [system] Various perf gain experiments (#23688) @mnajdova
4837
4838### `@material-ui/styles@v5.0.0-alpha.18`
4839
4840- [styles] Small performance gain (#23749) @oliviertassinari
4841- [styles] Update mergeClasses types to more closely match its implementation (#23705) @etrepum
4842
4843### `@material-ui/utils@v5.0.0-alpha.18`
4844
4845- [system] Another round of perf improvements (#23737) @mnajdova
4846
4847### `@material-ui/lab@v5.0.0-alpha.18`
4848
4849- [DatePicker] Found one prop that was renamed (#23676) @oliviertassinari
4850- [DateRangePicker] Allow same date selection (#23701) @hmaddisb
4851
4852### `@material-ui/styled-engine@v5.0.0-alpha.18`/`@material-ui/styled-engine-sc@v5.0.0-alpha.18`
4853
4854- [styled-engine] Fix tagged template syntax with multiple expressions (#23269) @eps1lon
4855
4856### Docs
4857
4858- [docs] Add settings panel to allow system mode (#23722) @mbrookes
4859- [docs] Add v5 peer dependencies in README (#23751) @johnrichardrinehart
4860- [docs] Document using codesandbox-ci (#23800) @brorlarsnicklas
4861- [docs] Fix link name for canadacasino (#23799) @eps1lon
4862- [docs] Fix various a11y issues reported by lighthouse (#23791) @eps1lon
4863- [docs] Improve prop descriptions (#23723) @oliviertassinari
4864- [docs] Improve SEO structure (#23748) @oliviertassinari
4865- [docs] Improve settings toggle button styling (#23754) @mbrookes
4866- [docs] Misc fixes (#23756) @mbrookes
4867- [docs] Move instructions for starting the docs earlier in the file (#23801) @brorlarsnicklas
4868- [docs] Prepare v5.0.0-alpha.17 (#23680) @oliviertassinari
4869- [docs] Remove unused abstraction (#23724) @oliviertassinari
4870- [docs] Sync translations (#23682) @l10nbot
4871
4872### Core
4873
4874- [benchmark] Improve printed results (#23729) @oliviertassinari
4875- [benchmark] Test styleFunctionSx vs. @styled-system/css (#23702) @mnajdova
4876- [benchmark] Update with latest (#23694) @oliviertassinari
4877- [core] Batch small changes (#23678) @oliviertassinari
4878- [core] Fix ci @oliviertassinari
4879- [core] Fix error handling on upload (#23734) @eps1lon
4880- [core] Fully clear composite TypeScript project state (#23805) @eps1lon
4881- [core] Remove unused classes (#23473) @jens-ox
4882- [test] Add conformance test suite for v5 (#23798) @mnajdova
4883- [test] Cleanup skipped tests (#23732) @eps1lon
4884- [test] Misc improvements to experimental and browser test runner (#23699) @eps1lon
4885- [test] Stay busy until document.fonts is ready (#23736) @eps1lon
4886
4887## 5.0.0-alpha.17
4888
4889_Nov 23, 2020_
4890
4891A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
4892
4893- 📚 Improve the IntelliSense support for the `sx` prop (#23599) @mnajdova.
4894 You should now get a description for each property of the system. For instance with `mx`:
4895
4896 ![system TypeScript](https://user-images.githubusercontent.com/3165635/99920493-20f60a00-2d24-11eb-8748-c5dd7fe85cbd.png)
4897
4898- 💅 Migrate the first core component to the v5 styling architecture (#23308) @mnajdova.
4899 We have spent the last few months iterating on the new styling approach in the lab, and are confident enough in the new approach to move it to the core, so we have migrated the Slider. We will wait a week or two to collect feedback on it, before scaling it to the rest of the codebase.
4900- 📅 Fix the first few issues on the date picker components since the migration in the lab.
4901- And many more 🐛 bug fixes and 📚 improvements.
4902
4903### `@material-ui/core@v5.0.0-alpha.17`
4904
4905#### Breaking changes
4906
4907- [Slider] Migrate to emotion (#23308) @mnajdova
4908
4909 By default, emotion injects its style after JSS, this breaks the computed styles. In order to get the correct CSS injection order until all the components are migrated, you need to wrap the root of your application with:
4910
4911 ```jsx
4912 import * as React from 'react';
4913 import ReactDOM from 'react-dom';
4914 import { StylesProvider } from '@material-ui/core';
4915 import App from './App';
4916
4917 ReactDOM.render(
4918 <StylesProvider injectFirst>
4919 <App />
4920 </StylesProvider>,
4921 document.querySelector('#root'),
4922 );
4923 ```
4924
4925 This enforces emotion being injected first. [More details](https://mui.com/guides/interoperability/#css-injection-order) in the documentation.
4926
4927- [Autocomplete] Rename `closeIcon` prop with `clearIcon` to avoid confusion (#23617) @akhilmhdh.
4928
4929 ```diff
4930 -<Autocomplete closeIcon={icon} />
4931 +<Autocomplete clearIcon={icon} />
4932 ```
4933
4934- [Dialog] Remove the `disableBackdropClick` prop. It's redundant with the `reason` argument (#23607) @eps1lon.
4935
4936 ```diff
4937 <Dialog
4938 - disableBackdropClick
4939 - onClose={handleClose}
4940 + onClose={(event, reason) => {
4941 + if (reason !== 'backdropClick') {
4942 + onClose(event, reason);
4943 + }
4944 + }}
4945 />
4946 ```
4947
4948- [Modal] Remove the `disableBackdropClick` prop. It's redundant with the `reason` argument (#23607) @eps1lon.
4949
4950 ```diff
4951 <Modal
4952 - disableBackdropClick
4953 - onClose={handleClose}
4954 + onClose={(event, reason) => {
4955 + if (reason !== 'backdropClick') {
4956 + onClose(event, reason);
4957 + }
4958 + }}
4959 />
4960 ```
4961
4962- [Modal] Remove the `onEscapeKeyDown` prop. It's redundant with the `reason` argument. (#23571) @eps1lon
4963
4964 ```diff
4965 <Modal
4966 - onEscapeKeyDown={handleEscapeKeyDown}
4967 + onClose={(event, reason) => {
4968 + if (reason === "escapeKeyDown") {
4969 + handleEscapeKeyDown(event);
4970 + }
4971 + }}
4972 />;
4973 ```
4974
4975#### Changes
4976
4977- [CircularProgress][linearprogress] Change components from div to span (#23587) @bruno-azzi
4978- [Grid] Improve warning when a prop is missing (#23630) @udayRedI
4979- [Icon] Allow customizing the 'material-icons' base class name (#23613) @rart
4980- [Select] Fix focus() call on ref (#23302) @reedanders
4981- [Slider] Add test case for triggering a specific value (#23642) @Thehambalamba
4982- [Slider] General cleanup and add classes prop for unstyled (#23569) @mnajdova
4983- [styles] Add support for TypeScript 4.1 (#23633) @eps1lon
4984
4985### `@material-ui/codemod@v5.0.0-alpha.17`
4986
4987- [codemod] Add moved-lab-modules (#23588) @eps1lon
4988 This codemod is part of our effort to make the migration from v4 to v5 as painless as possible.
4989
4990### `@material-ui/utils@v5.0.0-alpha.17`
4991
4992- [Grid] Improve warning when a prop is missing (#23630) @udayRedI
4993
4994### `@material-ui/system@v5.0.0-alpha.17`
4995
4996- [system] Improve the `sx` prop IntelliSense (#23599) @mnajdova
4997
4998### `@material-ui/unstyled@v5.0.0-alpha.17`
4999
5000- [Slider] Replace core Slider with SliderStyled (#23308) @mnajdova
5001
5002### `@material-ui/lab@v5.0.0-alpha.17`
5003
5004#### Breaking changes
5005
5006- [DatePicker] Change the import path of the date adapters (#23568) @eps1lon.
5007 It better fits with the current import convention.
5008
5009 ```diff
5010 -import AdapterDateFns from '@material-ui/lab/dateAdapter/date-fns';
5011 +import AdapterDateFns from '@material-ui/lab/AdapterDateFns';
5012 ```
5013
5014#### Changes
5015
5016- [DatePicker] Add missing exports (#23621) @havgry
5017- [DatePicker] Add missing TypeScript definitions (#23560) @mbrookes
5018- [DatePicker] Fix false-positive when validating mask in Safari (#23602) @eps1lon
5019- [DatePicker] Fix missing manifest for typescript packages (#23564) @eps1lon
5020- [TimePicker] Prevent scroll when interacting with the clock (#23563) @knightss27
5021
5022### Docs
5023
5024- [docs] Add advanced page for the system (#23596) @mnajdova
5025- [docs] Add docs for typography in system (#23510) @oliviertassinari
5026- [docs] API pages i18n (#23214) @mbrookes
5027- [docs] Create pickers migration guide (#23605) @dmtrKovalenko
5028- [docs] Enable TS language service for docs/src (#23576) @eps1lon
5029- [docs] Explain the information listed on the system properties page (#23566) @mnajdova
5030- [docs] Fix /api client-side routing (#23586) @eps1lon
5031- [docs] Fix the Box section title on migration-v4 guide (#23679) @claudioldf
5032- [docs] Generate default values for docs from the unstyled components (#23614) @mnajdova
5033- [docs] Increase printWidth from 80 to 85(#23512) @eps1lon
5034- [docs] Prevent layout jumps from img loading in system demo (#23504) @eps1lon
5035- [docs] Remove controlled Tooltip example in Slider (#23625) @micsidoruk
5036- [docs] Remove dead demos in the system basics page (#23565) @mnajdova
5037- [docs] Replace emotion-server packages with @emotion/server (#23557) @numToStr
5038- [docs] Sync translations (#23648) @l10nbot
5039
5040### Core
5041
5042- [core] Add support for TypeScript 4.1 (#23633) @eps1lon
5043- [core] Batch small changes (#23554) @oliviertassinari
5044- [core] Cleanup emotion dependencies (#23556) @eps1lon
5045- [core] Fix formatting (#23567) @eps1lon
5046- [core] Fix tracked component size regression (#23516) @eps1lon
5047- [core] Fix transpilation target of UMD bundle (#23618) @eps1lon
5048- [test] Create chunks for Argos (#23518) @oliviertassinari
5049- [test] Debug argos-cli upload failures (#23623) @eps1lon
5050- [test] Enable experimental-timezone tests (#23595) @eps1lon
5051- [test] Misc visual regression flakiness improvements (#23619) @eps1lon
5052- [test] Use playwright instead of vrtest (#23500) @eps1lon
5053
5054## 5.0.0-alpha.16
5055
5056_Nov 14, 2020_
5057
5058A big thanks to the 34 contributors who made this release possible. Here are some highlights ✨:
5059
5060- 📅 Migrate the date picker to the lab (#22692) @dmtrKovalenko.
5061 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-org/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/).
5062
5063 While the source code is currently hosted in the [main repository](https://github.com/mui-org/material-ui), we might move it to the [x repository](https://github.com/mui-org/material-ui-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.
5064
5065- 📚 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.
5066- 👩‍🎨 Upgrade emotion to v11 (#23007) @mnajdova.
5067- And many more 🐛 bug fixes and 📚 improvements.
5068
5069### `@material-ui/core@v5.0.0-alpha.16`
5070
5071#### Breaking changes
5072
5073- [TextField] Change default variant from standard to outlined (#23503) @mbrookes
5074 Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui-org/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
5075
5076 ```diff
5077 -<TextField value="Standard" />
5078 -<TextField value="Outlined" variant="outlined" />
5079 +<TextField value="Standard" variant="standard" />
5080 +<TextField value="Outlined" />
5081 ```
5082
5083- [Autocomplete] Remove `debug` in favor of `open` and dev tools (#23377) @eps1lon
5084 There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://twitter.com/sulco/status/1305841873945272321), or React devtools props.
5085
5086#### Changes
5087
5088- [Autocomplete] Use Popper when `disablePortal` (#23263) @eps1lon
5089- [Box] Better DX for deprecated props (#23285) @eps1lon
5090- [codemod] Add a codemod for the Box sx prop (#23465) @mbrookes
5091- [CssBaseline] Add dark mode scrollbar support (#23407) @mmmols
5092- [Slider] Extract slots as standalone components (#22893) @mnajdova
5093- [Stepper] Fix the icon prop support in StepLabel (#23408) @randyshoopman
5094- [theme] Add htmlFontSize to Typography interface (#23412) @fergusmcdonald
5095- [Tooltip] Fix PopperProps popper modifiers not being merged properly (#23421) @dominique-mueller
5096- [Tooltip] Long press select text on iOS (#23466) @hmaddisb
5097- [Tooltip] Unexpected behaviour onOpen/onClose (#23482) @brorlarsnicklas
5098
5099### `@material-ui/lab@v5.0.0-alpha.16`
5100
5101- [DatePicker] Migrate to the lab #22692 @dmtrKovalenko
5102
5103### `@material-ui/system@v5.0.0-alpha.16`
5104
5105- [system] Add typography prop that will pull from theme.typography (#23451) @mnajdova
5106- [system] Create separate margin and padding functions (#23452) @mnajdova
5107- [system] Export styleFunctionSx and improve signature (#23397) @mnajdova
5108- [system] Merge breakpoints in correct order (#23380) @mnajdova
5109- [system] Remove css utility in favor of sx (#23454) @mnajdova
5110- [system] Warn for spacing when non integer value is used with theme.spacing array (#23460) @mnajdova
5111
5112### `@material-ui/styled-engine@v5.0.0-alpha.16`
5113
5114- [styled-engine] Upgrade emotion to 11 RC (#23007) @mnajdova
5115
5116### `@material-ui/unstyled@v5.0.0-alpha.16`
5117
5118- [Slider] Extract slots as standalone components (#22893) @mnajdova
5119
5120### `@material-ui/codemod@v5.0.0-alpha.16`
5121
5122- [TextField] Change default variant from standard to outlined (#23503) @mbrookes
5123
5124### Docs
5125
5126- [docs] Allow to host code in a different repo (#23390) @oliviertassinari
5127- [docs] CHANGELOG for v5.0.0-alpha.15 (#23383) @oliviertassinari
5128- [docs] Fix examples download URLs to match the correct branch name (#23467) @matchatype
5129- [docs] Fix links being opened when dismissing context menus (#23491) @eps1lon
5130- [docs] Fix the Netlify proxy for localization of X (#23387) @oliviertassinari
5131- [docs] Fix usage of palette.type instead of palette.mode in docs (#23414) @hubgit
5132- [docs] Improve documentation of the system (#23294) @mnajdova
5133- [docs] Improve feedback a11y (#23459) @eps1lon
5134- [docs] Improve formatting of the system (#23509) @oliviertassinari
5135- [docs] Improve migration guide for theme.palette (#23416) @hubgit
5136- [docs] Mention delay instead of transition twice (#23393) @benmneb
5137- [docs] Prepare Material-UI X (#1893) @oliviertassinari
5138- [docs] Redirect legacy GridList pages to ImageList (#23456) @eps1lon
5139- [docs] Remove redundant aria-label when wrapped in Tooltip (#23455) @eps1lon
5140- [docs] Sync translations (#23316) @l10nbot
5141- [docs] Update buildAPI script to handle the "styled" components (#23370) @mnajdova
5142- [docs] Update new components in the roadmap (#23507) @mbrookes
5143- [docs] Update translations (#23501) @l10nbot
5144
5145### Core
5146
5147- [core] Batch small changes (#23422) @oliviertassinari
5148- [core] Fix skipped ignore patterns (#23474) @eps1lon
5149- [core] Switch to globby and fast-glob (#23382) @eps1lon
5150- [test] Increase timeout threshold for slow Firefox tests (#23463) @eps1lon
5151- [test] Make sure system properties are in the same order when generating CSS (#23388) @mnajdova
5152- [test] Prefer longhand properties (#23445) @eps1lon
5153- [test] Remove data-mui-test from tests (#23498) @eps1lon
5154- [test] Remove keyDown#force (#23488) @eps1lon
5155- [test] Use adapter instead of native Date (#23475) @eps1lon
5156- [test] Use fake timers in visual regression tests (#23464) @eps1lon
5157
5158## 5.0.0-alpha.15
5159
5160_Nov 4, 2020_
5161
5162A big thanks to the 20 contributors who made this release possible. Here are some highlights ✨:
5163
5164- ⚛️ Add support for React 17 (#23311) @eps1lon.
5165 React 17 release is unusual because it doesn't add any new developer-facing features. It was released a couple of days ago. You can learn more about it in the [introduction post](https://reactjs.org/blog/2020/10/20/react-v17.html). Material-UI now supports `^16.8.0 || ^17.0.0`.
5166- 🛠 Introduce a new `@material-ui/unstyled` package (#23270) @mnajdova.
5167 This package will host the unstyled version of the components. In this first iteration, only the Slider is available. You can find it documented under the [same page](https://mui.com/components/slider-styled/#unstyled-slider) as the styled version.
5168
5169 **Why an unstyled package?**
5170
5171 While engineering teams are successfully building custom design systems by wrapping Material-UI, we [occasionally hear](https://github.com/mui-org/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.
5172
5173 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).
5174
5175 Another reason for introducing this package is to prepare the groundwork for a [second theme](https://github.com/mui-org/material-ui/issues/22485) (not Material Design based).
5176
5177 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).
5178
5179 This change is part of our strategy to iterate on the v5 architecture with the `Slider` first. In the next alpha release, we plan to replace the v4 slider with the v5 slider. Once the new approach is stress-tested and validated, we will roll it out to all the components.
5180
5181- And many more 🐛 bug fixes and 📚 improvements.
5182
5183### `@material-ui/core@v5.0.0-alpha.15`
5184
5185#### Breaking changes
5186
5187- [AppBar] Fix z-index when position="static" (#23325) @sujinleeme
5188 Remove z-index when position static and relative
5189- [theme] Fix error message for augmentColor failure (#23371) @reedanders
5190 The signature of `theme.palette.augmentColor` helper has changed:
5191
5192 ```diff
5193 -theme.palette.augmentColor(red);
5194 +theme.palette.augmentColor({ color: red, name: 'brand' });
5195 ```
5196
5197#### Changes
5198
5199- [Autocomplete] Fix unclickable area between text input and endAdornment (#23229) @sujinleeme
5200- [Autocomplete] Follow Material Design State spec (#23323) @sujinleeme
5201- [Avatar] Fix usage of srcset property (#23286) @matheuspiment
5202- [ClickAwayListener] Fix mounting behavior in Portals in React 17 (#23315) @eps1lon
5203- [core] Allow React 17 (#23311) @eps1lon
5204- [Icon] Fix translation, e.g Google Translate (#23237) @cbeltrangomez84
5205- [LinearProgress] Fix Safari's bug during composition of different paint (#23293) @montogeek
5206- [Radio] Fix dot misalignment in Safari (#23239) @anasufana
5207- [styled-engine] Fix tagged template syntax with multiple expressions (#23269) @eps1lon
5208- [Table] Fix empty row logic when displaying all (#23280) @JoaoJesus94
5209- [Table] Fix handling of rowsPerPage={-1} (#23299) @JoaoJesus94
5210- [TextareaAutosize] Fix container with no intrinsic height (#23273) @sujinleeme
5211- [TextField] Fix disabled color in Safari (#23375) @Morteza-Jenabzadeh
5212- [theme] Fix spacing string arguments (#23224) @GuilleDF
5213- [Tooltip] Fix excess spacing (#23233) @benneq
5214
5215### `@material-ui/unstyled@v5.0.0-alpha.15`
5216
5217- [unstyled] Create package and move SliderUnstyled there (#23270) @mnajdova
5218- [core] Allow React 17 (#23311) @eps1lon
5219
5220### `@material-ui/lab@v5.0.0-alpha.15`
5221
5222- [lab] Migrate Timeline to TypeScript (#23242) @oliviertassinari
5223- [core] Allow React 17 (#23311) @eps1lon
5224
5225### `@material-ui/icons@v5.0.0-alpha.15`
5226
5227- [core] Allow React 17 (#23311) @eps1lon
5228
5229### `@material-ui/styles@v5.0.0-alpha.15`
5230
5231- [core] Allow React 17 (#23311) @eps1lon
5232
5233### `@material-ui/system@v5.0.0-alpha.15`
5234
5235- [core] Allow React 17 (#23311) @eps1lon
5236- [theme] Fix spacing string arguments (#23224) @GuilleDF
5237
5238### Docs
5239
5240- [Transition] Document default appear value (#23221) @GuilleDF
5241- [blog] Danail Hadjiatanasov joins Material-UI (#23223) @oliviertassinari
5242- [docs] Add Material-UI Builder to in-house ads (#23342) @mbrookes
5243- [docs] Fix a few typos and add comma (#23284) @reedanders
5244- [docs] Fix few propTypes in Inputs (#23331) @youknowhat
5245- [docs] Fix language cookie (#23324) @mbrookes
5246- [docs] Fix typo in `README.md` (#23329) @mtsknn
5247- [docs] Guard against unknown value in userLanguage cookie (#23336) @mbrookes
5248- [docs] Make it clearer that custom router is supported (#23304) @Maxgit3
5249- [docs] Sync translations (#23080) @l10nbot
5250- [docs] Update homepage quotes (#23326) @mbrookes
5251- [docs] Update nav translations (#23234) @mbrookes
5252- [docs] Update system pages to use sx prop instead of deprecated Box props (#23368) @mnajdova
5253- [docs] Use present tense for bool prop descriptions (#23274) @mbrookes
5254
5255### Core
5256
5257- [utils] Add all @material-ui/core/utils to @material-ui/utils (#23264) @mnajdova
5258- [core] Batch small changes (#23327) @oliviertassinari
5259- [core] Fix implicit transitive 'csstype' dependency (#23301) @quinnturner
5260- [core] Move material-ui-benchmark into benchmark/server (#23271) @eps1lon
5261- [core] Replace temp package with node built-ins (#23262) @eps1lon
5262- [core] Restrict top level imports that target CJS modules (#23159) @eps1lon
5263- [test] Fix unexpected console warn/error spy swallowing unrelated messages (#23312) @eps1lon
5264- [test] Fix various issues with the new cli on windows (#23381) @eps1lon
5265- [test] Improve test debugging (#23372) @eps1lon
5266- [test] Introduce experimental CLI (#23369) @eps1lon
5267- [test] Prevent growing call stack in custom keyDown/keyUp (#23321) @eps1lon
5268- [test] Run with Safari 13 (#23292) @eps1lon
5269
5270## 5.0.0-alpha.14
5271
5272_Oct 23, 2020_
5273
5274A big thanks to the 23 contributors who made this release possible.
5275Here are some highlights ✨:
5276
5277- 💄 Introduce a new `sx` prop (#23053, #23205) @mnajdova
5278 We have resumed the work on Material-UI System. This is made possible by the latest progress on the new styling solution of v5.
5279 You can read the [introduction blog post](https://medium.com/material-ui/introducing-material-ui-design-system-93e921beb8df) that we did for the system two years ago.
5280
5281 The system is meant to solve the following problems:
5282
5283 1. Naming things is hard. How should a class name, JSS style rule, or styled component be named?
5284 2. Jumping between JS and CSS in the editor wastes time. This is particularly true as the complexity (LOCs/# of elements) of a component increases. It's still true when using the `styled()` API.
5285 3. Introducing a `makeStyles` for the first time in a component is daunting. For example, it's why https://github.com/vscodeshift/material-ui-codemorphs#add-usestyles-hook exists. What if we had less code to type, gaining velocity when writing styles?
5286 4. Pulling values out from the theme can be cumbersome. How can we make it less painful to increase the usage of design tokens?
5287
5288 This new iteration of the system brings two major improvements:
5289
5290 - It moves from the support of a subset of CSS to the support of a superset of CSS.
5291 Learning the shorthand is optional. It's no longer necessary to moving back to styled() when the system doesn't support a specific CSS property.
5292 - It moves from support on Box only to any core component (starting with the slider).
5293
5294 ```jsx
5295 import Slider from '@material-ui/lab/SliderStyled';
5296
5297 // Set the primary color and a vertical margin of 16px on desktop.
5298 <Slider sx={{ color: 'primary.main', my: { xs: 0, md: 2 } }} />;
5299 ```
5300
5301- ✨ Upgrade Popper.js from v1 to v2 (#21761) @joshwooding
5302 The change reduces the bundle size (-1 kB gzipped) while fixing bugs at the same time.
5303
5304- 🐛 Fix broken nested imports with the icons package (#23157) @eps1lon
5305 The revamp of the bundling strategy in #22814 has broken the nested imports.
5306 Imports such as the one below should work again with this release:
5307
5308 ```jsx
5309 import CloseIcon from '@material-ui/icons/Close';
5310 ```
5311
5312- And many more 🐛 bug fixes and 📚 improvements.
5313
5314### `@material-ui/core@v5.0.0-alpha.14`
5315
5316#### Breaking changes
5317
5318- [Popper] Upgrade to popper.js to v2 (#21761) @joshwooding
5319 This third-party library has introduced a lot of changes.<br />
5320 You can read [their migration guide](https://popper.js.org/docs/v2/migration-guide/) or the following summary:
5321
5322 - The CSS prefixes have changed:
5323
5324 ```diff
5325 popper: {
5326 zIndex: 1,
5327 - '&[x-placement*="bottom"] $arrow': {
5328 + '&[data-popper-placement*="bottom"] $arrow': {
5329 ```
5330
5331 - Method names have changed.
5332
5333 ```diff
5334 -popperRef.current.scheduleUpdate()
5335 +popperRef.current.update()
5336 ```
5337
5338 ```diff
5339 -popperRef.current.update()
5340 +popperRef.current.forceUpdate()
5341 ```
5342
5343 - Modifiers' API has changed a lot. There are too many changes to be covered here.
5344
5345- [withMobileDialog] Remove this higher-order component (#23202) @RDIL
5346 The hook API allows a simpler and more flexible solution than the HOC:
5347
5348 ```diff
5349 -import withMobileDialog from '@material-ui/core/withMobileDialog';
5350 +import { useTheme, useMediaQuery } from '@material-ui/core';
5351
5352 function ResponsiveDialog(props) {
5353 - const { fullScreen } = props;
5354 + const theme = useTheme();
5355 + const fullScreen = useMediaQuery(theme.breakpoints.down('sm'));
5356 const [open, setOpen] = React.useState(false);
5357
5358 // ...
5359
5360 -export default withMobileDialog()(ResponsiveDialog);
5361 +export default ResponsiveDialog;
5362 ```
5363
5364#### Changes
5365
5366- [Box] Add sx prop (#23053) @mnajdova
5367- [Box] Deprecate system props (#23206) @mnajdova
5368- [Card] Use flex display for CardHeader.avatar (#23169) @mordechaim
5369- [Container] Fix support of custom breakpoint units (#23191) @espipj
5370- [Container] Revert max-width change for xs @oliviertassinari
5371- [InputBase] Use ref prop instead of inputRef prop on input component (#23174) @GuilleDF
5372- [l10n] Add Kazakh (kz-KZ) locale (#23195) @abdulgafur24
5373- [Rating] Ensure hover and click are in sync (#23117) @redbmk
5374- [Select] Fix SelectDisplayProps className concat (#23211) @reedanders
5375
5376### `@material-ui/styled-engine@v5.0.0-alpha.14`
5377
5378- [styled] Add @babel/runtime dependency (#23175) @koistya
5379
5380### `@material-ui/system@v5.0.0-alpha.14`
5381
5382- [Box] Add sx prop (#23053) @mnajdova
5383- [core] Fix bundles for packages without subpackages (#23157) @eps1lon
5384
5385### `@material-ui/icons@v5.0.0-alpha.14`
5386
5387- [core] Fix bundles for packages without subpackages (#23157) @eps1lon
5388
5389### `@material-ui/lab@v5.0.0-alpha.14`
5390
5391#### Breaking changes
5392
5393- [AvatarGroup] Move from lab to core (#23121) @mbrookes
5394 Move the component from the lab to the core. This component will become stable.
5395
5396 ```diff
5397 -import AvatarGroup from '@material-ui/lab/AvatarGroup';
5398 +import AvatarGroup from '@material-ui/core/AvatarGroup';
5399 ```
5400
5401#### Changes
5402
5403- [Slider] Add sx prop in SliderStyled (#23205) @mnajdova
5404
5405### `@material-ui/utils@v5.0.0-alpha.14`
5406
5407- [utils] Fix types of chainPropTypes (#23123) @oliviertassinari
5408- [core] Fix bundles for packages without subpackages (#23157) @eps1lon
5409
5410### `@material-ui/types@v5.2.0-alpha.14`
5411
5412- [types] Add LICENSE files (#23162) @lielfr
5413
5414### Docs
5415
5416- [examples] Remove reason example project (#23158) @mnajdova
5417- [examples] Update cdn example to use @material-ui/core@next (#23153) @mnajdova
5418- [examples] Update preact to use the @material-ui/core@next (#23154) @mnajdova
5419- [examples] Update ssr example to use @material-ui/core@next (#23155) @mnajdova
5420- [examples] Updated nextjs-typescript example to use @material-ui/core@next (#23119) @numToStr
5421- [docs] Add Menu component example with explicit positioning prop values (#23167) @jaebradley
5422- [docs] Add page feedback (#22885) @mbrookes
5423- [docs] Add Performance section for Modal (#23168) @jaebradley
5424- [docs] Better document CardActionArea (#23196) @el1f
5425- [docs] Cleaner image of font-size equation (#23189) @CamDavidsonPilon
5426- [docs] Fix casing typo (#23148) @piperchester
5427- [docs] Fix typo in steppers (#23163) @AGDholo
5428- [docs] Fix typo on interoperability page (#23177) @SassNinja
5429- [docs] Improve migration v5 guide @oliviertassinari
5430- [docs] Lazy load demo toolbar (#23108) @eps1lon
5431- [docs] Remove unused style selectors `extendedIcon` (#23160) @MatejKastak
5432- [docs] Use Box sx prop on all Slider examples #23217 @mnajdova
5433
5434### Core
5435
5436- [benchmark] Add theme-ui and chakra-ui Box scenarios (#23180) @mnajdova
5437- [benchmark] Create separate workspace (#23209) @eps1lon
5438- [benchmark] Extracted Profiler & added output in readme (#23178) @mnajdova
5439- [core] Batch small changes (#23116) @oliviertassinari
5440- [core] Improve bundle size comment (#23110) @eps1lon
5441- [core] Prevent unstable chunks in size snapshot (#23181) @eps1lon
5442
5443## 5.0.0-alpha.13
5444
5445_Oct 17, 2020_
5446
5447A big thanks to the 25 contributors who made this release possible.
5448Here are some highlights ✨:
5449
5450- 📦 Ship modern bundle (#22814) @eps1lon.
5451 This is a significant update to the [browsers supported](https://mui.com/getting-started/supported-platforms/) by Material-UI.
5452 The previous policy was defined 2 years ago, and the landscape has evolved since then. The package now includes 4 bundles:
5453
5454 1. `stable` (default, formerly `esm`) which targets a snapshot (on release) of `> 0.5%, last 2 versions, Firefox ESR, not dead, not IE 11"`
5455 2. `node` (formerly default) which targets a snapshot (on release) of `maintained node versions`
5456 3. `legacy` (new) which is `stable` + IE11
5457 4. `modern` (formerly `es`) which targets the last 1 version of evergreen browsers and active node (currently that is 14
5458
5459 The change yields a 6% reduction in bundle size 📦 (Babel only).
5460 In the coming weeks, we will refactor the internals to take advantage of the new browser capabilities that dropping these older platforms allows. For instance, we might be able to remove the span we render inside the `<Button>` to work around [Flexbug #9](https://github.com/philipwalton/flexbugs/blob/master/README.md#flexbug-9).
5461
5462 Check the updated [Supported platforms documentation](https://mui.com/getting-started/supported-platforms/) and [new "minimizing bundle size" guide](https://mui.com/guides/minimizing-bundle-size/).
5463
5464 If you target IE11, you need to use the new bundle (`legacy`). We are treating IE11 as a second class-citizen, which is a continuation of the direction taken in #22873.
5465
5466- 🚀 Improve the internal benchmark suite (#22923, #23058) @mnajdova.
5467 This was a prerequisite step to improve the [system](https://mui.com/system/basics/). We needed to be able to measure performance. After #22945, we have measured that the `Box` component is x3 faster in v5-alpha compared to v4.
5468- ✏️ A new blog post: [Q3 2020 Update](https://mui.com/blog/2020-q3-update/) (#23055) @oliviertassinari.
5469- 🐙 Migrate more tests to react-testing-library @deiga, @Morteza-Jenabzadeh, @nicholas-l.
5470- And many more 🐛 bug fixes and 📚 improvements.
5471
5472### `@material-ui/core@v5.0.0-alpha.13`
5473
5474#### Breaking changes
5475
5476- [core] Ship modern bundle (#22814) @eps1lon
5477
5478#### Change
5479
5480- [Autocomplete] Fix autoHighlight synchronization (#23025) @Tubaleviao
5481- [Autocomplete] Ignore keydown event until IME is confirmed (#23050) @jiggum
5482- [Card] Fix action area hover style on touch devices (#23079) @giulianovarriale
5483- [Slider] Align value label text center (#23075) @LorenzHenk
5484- [SwipeableDrawer] Decorrelate swipeAreaWidth and initial jumping amount (#23042) @omidtajik
5485- [Tooltip] Fix followCursor preventing onMouseMove on children (#23104) @eps1lon
5486- [Tooltip] Refactor event handling (#23092) @eps1lon
5487- [theme] Add missing types for theme overrides (#23028) @povilass
5488- [l10n] Add Arabic (ar_EG) locale (#23006) @GoldenWings
5489
5490### `@material-ui/lab@v5.0.0-alpha.13`
5491
5492- [TreeView] Fix bundle size link and refactor array spreads (#22992) @joshwooding
5493- [TreeView] Fix `alpha` color utility instead of deprecated `fade` (#22978) @joshwooding
5494- [core] Ship modern bundle (#22814) @eps1lon
5495
5496### `@material-ui/utils@v5.0.0-alpha.13`
5497
5498- [core] Ship modern bundle (#22814) @eps1lon
5499
5500### `@material-ui/system@v5.0.0-alpha.13`
5501
5502- [core] Ship modern bundle (#22814) @eps1lon
5503
5504### `@material-ui/styles@v5.0.0-alpha.13`
5505
5506- [core] Ship modern bundle (#22814) @eps1lon
5507
5508### `@material-ui/styled-engine@v5.0.0-alpha.13`
5509
5510- [core] Ship modern bundle (#22814) @eps1lon
5511
5512### `@material-ui/styled-engine-sc@v5.0.0-alpha.13`
5513
5514- [core] Ship modern bundle (#22814) @eps1lon
5515
5516### `@material-ui/icons@v5.0.0-alpha.13`
5517
5518- [core] Ship modern bundle (#22814) @eps1lon
5519
5520### Docs
5521
5522- [blog] Allow to support card preview (#23087) @oliviertassinari
5523- [blog] Q3 2020 Update (#23055) @oliviertassinari
5524- [docs] Add a new demo to the showcase (#22949) @adonig
5525- [docs] Add demo for Link underline (#23074) @LorenzHenk
5526- [docs] Add logarithmic slider demo (#23076) @LorenzHenk
5527- [docs] Add react-admin in related projects page (#23097) @fzaninotto
5528- [docs] Change color to palette (#23046) @mockingjet
5529- [docs] Don't suggest putting a Switch inside a ListItemSecondaryAction (#23018) @sirlantis
5530- [docs] Fix docs:dev (#23023) @eps1lon
5531- [docs] Fix vertical alignment of Slider demo (#23059) @r0zar
5532- [docs] Fix wrong variable characters (#23066) @AGDholo
5533- [docs] Improve docs for Table sticky column grouping (#23100) @andre-silva-14
5534- [docs] Improve icon preview color contrast (#22974) @oliviertassinari
5535- [docs] Interoperability guide updates (#23030) @mnajdova
5536- [docs] Move outdated versions into a collapsible section (#23029) @NoNamePro0
5537- [docs] Point to material-ui-x/next instead of master @oliviertassinari
5538- [docs] Restore ButtonBases images (#23083) @eps1lon
5539- [docs] Slider demos clean up (#22964) @mnajdova
5540- [docs] Sync translations (#22888) @l10nbot
5541- [examples] Update gatsby example to use @material-ui/\* next (#23089) @mnajdova
5542- [examples] Update gatsby-theme example to use @material-ui/\* next #23093 @mnajdova
5543- [examples] Update nextjs example project to use @material-ui/\* next (#23094) @mnajdova
5544
5545### Core
5546
5547- [benchmark] Add browser benchmark (#22923) @mnajdova
5548- [benchmark] Fix benchmark scripts & moved scenarios to correct benchmark project (#23058) @mnajdova
5549- [test] Enable failing unexpected console warn|error in browser tests (#23063) @eps1lon
5550- [test] Fail each test on unexpected console logs in test:unit (#23064) @eps1lon
5551- [test] Introduce toHaveInlineStyle and toHaveComputedStyle matcher (#23054) @eps1lon
5552- [test] Migrate ButtonBase to react-testing-library (#23011) @deiga
5553- [test] Migrate IconButton to react-testing-library (#22972) @Morteza-Jenabzadeh
5554- [test] Migrate InputBase to react-testing-library (#23014) @deiga
5555- [test] Migrate SpeedDial to react-testing-library (#23021) @nicholas-l
5556- [test] Migrate TableCell to react-testing-library (#23095) @nicholas-l
5557- [test] Migrate TableRow to react-testing-library (#23105) @deiga
5558- [test] Move some work out of evaluation phase (#23112) @eps1lon
5559- [test] Supress 404 img warnings in browser tests (#23106) @eps1lon
5560- [test] Throw on console.(error|warn) outside of test (#22907) @eps1lon
5561- [test] Use dot reporter in CI (#23026) @eps1lon
5562- [core] Add support for iOS Safari 12 (#23068) @eps1lon
5563- [core] Also format dot files & folders (#22975) @oliviertassinari
5564- [core] Extend yarn size:why (#22979) @eps1lon
5565- [core] Fix react-next test (#23027) @oliviertassinari
5566- [core] Lint CSS (#22976) @oliviertassinari
5567- [core] Misc modules/\* cleanup (#22983) @eps1lon
5568
5569## 5.0.0-alpha.12
5570
5571_Oct 11, 2020_
5572
5573A big thanks to the 45 contributors who made this release possible.
5574Here are some highlights ✨:
5575
5576- 🧪 The promotion of 4 components from the lab to core: Autocomplete, Pagination, SpeedDial, and ToggleButton. These components have been in the lab for more than 10 months @mbrookes.
5577- 📦 Switch the style engine of the `Box` component from JSS to _@material-ui/styled-engine_ (use emotion by default) (#22945) @mnajdova.
5578 The early benchmark we have run shows that performance has improved. We will share more detailed results in #21657.
5579- 🐙 Migrate a large portion of the tests from enzyme to react-testing-library @eladmotola, @baterson, @bewong89, @devrasec, @guillermaster, @itamar244, @jeferson-sb, @The24thDS.
5580 Last month, react-testing-library had [more downloads](https://npm-stat.com/charts.html?package=enzyme&package=%40testing-library%2Freact&from=2019-10-10&to=2020-10-10) than enzyme in the ecosystem!
5581- 🏷 Add support for tooltips [following the cursor](https://mui.com/components/tooltips/#follow-cursor) (#22876) @xtrixia.
5582- And many more 🐛 bug fixes and 📚 improvements.
5583
5584### `@material-ui/core@v5.0.0-alpha.12`
5585
5586#### Breaking changes
5587
5588- [Accordion] Remove `display:flex` from AccordionDetails (#22809) @croraf
5589 The style was too opinionated. Most developers expect `display: block`.
5590- [Accordion] Replace IconButton wrapper with div (#22817) @croraf
5591 Remove IconButtonProps prop from AccordionSummary.
5592 The component renders a `<div>` element instead of an IconButton.
5593 The prop is no longer relevant.
5594- [Box] Add mui styled usage (#22945) @mnajdova
5595 Change the style-engine powering the Box component from JSS to the style engine adatper (emotion by default).
5596- [CircularProgress] Drop IE11 wobbly workaround (#22873) @suliskh
5597 The IE11 workaround is harming performance on the latest browsers.
5598 This change is part of a best-effort strategy to keep IE11 support.
5599 We are degrading the UX and DX with IE11 where we can improve the components on modern browsers.
5600- [Table] Rename onChangeRowsPerPage and onChangePage (#22900) @eladmotola
5601 The change was done to match the API convention.
5602
5603 ```diff
5604 <TablePagination
5605 - onChangeRowsPerPage={()=>{}}
5606 - onChangePage={()=>{}}
5607 + onRowsPerPageChange={()=>{}}
5608 + onPageChange={()=>{}}
5609 ```
5610
5611- [theme] Rename fade to alpha (#22834) @mnajdova
5612 Better describe its functionality. The previous name was leading to confusion when the input color already had an alpha value. The helper **overrides** the alpha value of the color.
5613
5614 ```diff
5615 - import { fade } from '@material-ui/core/styles';
5616 + import { alpha } from '@material-ui/core/styles';
5617
5618 const classes = makeStyles(theme => ({
5619 - backgroundColor: fade(theme.palette.primary.main, theme.palette.action.selectedOpacity),
5620 + backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
5621 }));
5622 ```
5623
5624- [Tooltip] Make `interactive` default (#22382) @eps1lon
5625 The previous default behavior failed [success criterion 1.4.3 ("hoverable") in WCAG 2.1](https://www.w3.org/TR/WCAG21/#content-on-hover-or-focus).
5626 To reflect the new default value, the prop was renamed to `disableInteractive`.
5627 If you want to restore the old behavior (thus not reaching level AA), you can apply the following diff:
5628
5629 ```diff
5630 -<Tooltip>
5631 +<Tooltip disableInteractive>
5632 # Interactive tooltips no longer need the `interactive` prop.
5633 -<Tooltip interactive>
5634 +<Tooltip>
5635 ```
5636
5637#### Changes
5638
5639- [Accordion] Remove incorrect demo which nests input in button (#22898) @croraf
5640- [Autocomplete] Fix filtering when value is already selected (#22935) @montelius
5641- [Autocomplete] Fix virtualization example in IE11 (#22940) @bearfromtheabyss
5642- [Autocomplete] Restrict component props in `renderInput` (#22789) @eps1lon
5643- [Box] Add types for `ref` (#22927) @lcswillems
5644- [Button] Fix invalid type value (#22883) @oliviertassinari
5645- [Button] Improve loading transition (#22884) @oliviertassinari
5646- [Grid] Clarify document about direction column limitation (#22871) @ThewBear
5647- [IconButton] Improve warning against non root onClick listeners (#22821) @pranjanpr
5648- [Popper] Use placement viewport instead of window (#22748) @maksimgm
5649- [Select] Add generic support for value (#22839) @AntoineGrandchamp
5650- [Skeleton] Fix importing with named export (#22879) @0prodigy
5651- [SpeedDial] Fix keyboard navigation when uncontrolled (#22826) @akharkhonov
5652- [styled] Specify emotion & styled-components as optional peer dependencies (#22808) @mnajdova
5653- [styled] Support default theme when none is available (#22791) @mnajdova
5654- [Tabs] Fix RTL scrollbar with Chrome 85 (#22830) @ankit
5655- [TextField] Pass minRows to InputComponent (#22831) @suliskh
5656- [ToggleButton] Fix vertical double border (#22825) @Avi98
5657- [ToggleButton] Match ToggleButtonGroup name and render function name (#22790) @jjoselv
5658- [Tooltip] Add placement `followCursor` (#22876) @xtrixia
5659- [Tooltip] Improve docs and warning for custom children (#22775) @brorlarsnicklas
5660- [Tooltip] Use label semantics (#22729) @eps1lon
5661- [useAutocomplete] Fix getXProps functions type (#22749) @kentaro84207
5662
5663### `@material-ui/styled-engine@v5.0.0-alpha.12`
5664
5665- [styled] Support default theme when none is available (#22791) @mnajdova
5666
5667### `@material-ui/lab@v5.0.0-alpha.12`
5668
5669#### Breaking changes
5670
5671- [Autocomplete] Move from lab to core (#22715) @mbrookes
5672 Move the component from the lab to the core. This component will become stable.
5673
5674 ```diff
5675 -import Autocomplete from '@material-ui/lab/Autocomplete';
5676 -import useAutocomplete from '@material-ui/lab/useAutocomplete';
5677 +import Autocomplete from '@material-ui/core/Autocomplete';
5678 +import useAutocomplete from '@material-ui/core/useAutocomplete';
5679 ```
5680
5681- [Pagination] Move from lab to core (#22848) @mbrookes
5682 Move the component from the lab to the core. This component will become stable.
5683
5684 ```diff
5685 -import Pagination from '@material-ui/lab/Pagination';
5686 -import PaginationItem from '@material-ui/lab/PaginationItem';
5687 -import { usePagination } from '@material-ui/lab/Pagination';
5688 +import Pagination from '@material-ui/core/Pagination';
5689 +import PaginationItem from '@material-ui/core/PaginationItem';
5690 +import usePagination from '@material-ui/core/usePagination';
5691 ```
5692
5693- [SpeedDial] Move from lab to core (#22743) @mbrookes
5694 Move the component from the lab to the core. This component will become stable.
5695
5696 ```diff
5697 -import SpeedDial from '@material-ui/lab/SpeedDial';
5698 -import SpeedDialAction from '@material-ui/lab/SpeedDialAction';
5699 -import SpeedDialIcon from '@material-ui/lab/SpeedDialIcon';
5700 +import SpeedDial from '@material-ui/core/SpeedDial';
5701 +import SpeedDialAction from '@material-ui/core/SpeedDialAction';
5702 +import SpeedDialIcon from '@material-ui/core/SpeedDialIcon';
5703 ```
5704
5705- [ToggleButton] Move from lab to core (#22784) @mbrookes
5706 Move the component from the lab to the core. This component will become stable.
5707
5708 ```diff
5709 -import ToggleButton from '@material-ui/lab/ToggleButton';
5710 -import ToggleButtonGroup from '@material-ui/lab/ToggleButtonGroup';
5711 +import ToggleButton from '@material-ui/core/ToggleButton';
5712 +import ToggleButtonGroup from '@material-ui/core/ToggleButtonGroup';
5713 ```
5714
5715- [TreeView] Improve customization of tree item (#22846) @joshwooding
5716 Remove `onLabelClick` and `onIconClick`.
5717
5718#### Changes
5719
5720- [AvatarGroup] Add variant prop (#22832) @hjades
5721- [SliderStyled] Fix mark label alignment on coarse pointer devices (#22849) @joshwooding
5722
5723### Docs
5724
5725- [docs] Add example for using styled-components as styled-engine (#22788) @mnajdova
5726- [docs] Add longhand system API props to docs (#22796) @possibilities
5727- [docs] Box & system cleanup (#22962) @mnajdova
5728- [docs] CONTRIBUTING.md only yarn is supported (#22754) @Yashvirani
5729- [docs] Document createSvgIcon() (#22843) @mbrookes
5730- [docs] Document inherited props (#22318) @oliviertassinari
5731- [docs] Document LoadingButton behavior (#22878) @eps1lon
5732- [docs] Fix dark theme for input field on autocomplete (#22711) @GauravKesarwani
5733- [docs] Fix material icon search details view (#22793) @skr571999
5734- [docs] Fix type vs. mode and capitalization of createMuiTheme (#22844) @joshwooding
5735- [docs] Fix typo in guides/typescript (#22806) @croraf
5736- [docs] Fix various typos (#22842) @kkirsche
5737- [docs] For non-SSR language, internal search fall back to English (#22902) @bicstone
5738- [docs] Improve CRA example (#22967) @spursbyte
5739- [docs] Improve FormControl duplication warning (#22823) @talgautb
5740- [docs] Improve perf when opening the drawer (#22781) @eps1lon
5741- [docs] Improve SEO on titles (#22742) @oliviertassinari
5742- [docs] Improve the left side-nav (#22780) @oliviertassinari
5743- [docs] Include peer deps in installation steps (#22889) @numToStr
5744- [docs] Link all the examples in docs (#22891) @Avi98
5745- [docs] More robust description matcher (#22836) @eps1lon
5746- [docs] Reduce risk of 404 when changing the default branch (#22801) @eps1lon
5747- [docs] Resolve .tsx first (#22315) @oliviertassinari
5748- [docs] Simplify locales example (#22747) @mbrookes
5749- [docs] Sync translations (#22752, #22851) @l10nbot
5750- [docs] Update installation guide to contain peer dependencies (#22787) @mnajdova
5751- [docs] Update ToggleButton import (#22971) @mbrookes
5752- [docs] Use demo name as codesandbox name (#22926) @eps1lon
5753
5754### Core
5755
5756- [benchmark] Add cross-env to fix window run issue (#22895) @mnajdova
5757- [core] Batch small changes (#22746) @oliviertassinari
5758- [core] Batch small changes (#22847) @oliviertassinari
5759- [core] Drop babel-plugin-transform-dev-warning (#22802) @eps1lon
5760- [core] Misc dependency fixes (#22909) @eps1lon
5761- [test] Apply lazy forwardRef fix (#22904) @eps1lon
5762- [test] Autocomplete drop "defaultProps" pattern (#22896) @eps1lon
5763- [test] Fix react-next patch (#22800) @eps1lon
5764- [test] Migrate Accordion to react-testing-library (#22952) @bewong89
5765- [test] Migrate Backdrop to react-testing-library (#22931) @itamar244
5766- [test] Migrate Container to react-testing-library (#22919) @eladmotola
5767- [test] Migrate CssBaseline to react-testing-library (#22920) @eladmotola
5768- [test] Migrate Fab to react-testing-library (#22959) @The24thDS
5769- [test] Migrate Fade to react-testing-library (#22918) @eladmotola
5770- [test] Migrate Grow to react-testing-library (#22917) @eladmotola
5771- [test] Migrate List to react-testing-library (#22929) @eladmotola
5772- [test] Migrate MenuList and ImageListItem to react-testing-library (#22958) @eladmotola
5773- [test] Migrate MobileStepper to react-testing-library (#22963) @devrasec
5774- [test] Migrate more components to react-testing-library (#22872) @baterson
5775- [test] Migrate more components to react-testing-library (#22874) @baterson
5776- [test] Migrate more components to react-testing-library (#22892) @baterson
5777- [test] Migrate NativeSelect to react-testing-library (#22970) @guillermaster
5778- [test] Migrate NativeSelectInput to react-testing-library (#22910) @baterson
5779- [test] Migrate RadioGroup to react-testing-library (#22953) @eladmotola
5780- [test] Migrate Slide to react-testing-library (#22913) @eladmotola
5781- [test] Migrate SpeedDialIcon to react-testing-library (#22965) @jeferson-sb
5782- [test] Migrate TabIndicator to react-testing-library (#22906) @eladmotola
5783- [test] Migrate TextField to react-testing-library (#22944) @The24thDS
5784- [test] Migrate useTheme,withTheme to react-testing-library (#22928) @eladmotola
5785- [test] Migrate Zoom to react-testing-library (#22914) @eladmotola
5786- [test] Prevent nextjs build cache to grow indefinitely (#22948) @eps1lon
5787- [test] Simplify usage of `yarn mocha` (#22899) @eps1lon
5788- [test] Solve 2000ms timeout (#22778) @oliviertassinari
5789- [test] Update react next patch (#22890) @eps1lon
5790- [test] Use appropriate templates for csb CI (#22943) @eps1lon
5791- [test] Verbose reporter in CI (#22924) @eps1lon
5792
5793## 5.0.0-alpha.11
5794
5795_Sep 26, 2020_
5796
5797A big thanks to the 29 contributors who made this release possible.
5798Here are some highlights ✨:
5799
5800- 👩‍🎨 A first iteration on the new styling solution.
5801
5802 You can find a [new version](https://mui.com/components/slider-styled/) of the slider in the lab powered by [emotion](https://emotion.sh/).
5803
5804 In the event that you are already using styled-components in your application, you can swap emotion for styled-components 💅. Check [this CodeSandbox](https://codesandbox.io/s/sliderstyled-with-styled-components-forked-olc27?file=/package.json) for a demo. It relies on aliases to prevent any bundle size overhead.
5805
5806 The new styling solution saves 2kB gzipped in the bundle compared to JSS, and about 14 kB gzipped if you were already using emotion or styled-components.
5807
5808 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/)).
5809
5810 This change has been in our roadmap for more than a year.
5811 We announced it in the [v4 release blog post](https://mui.com/blog/material-ui-v4-is-out/) as a direction v5 would take.
5812
5813- 🛠 A first iteration on the unstyled components.
5814
5815 You can find a [new version](https://mui.com/components/slider-styled/#UnstyledSlider.tsx) of the slider in the lab without any styles.
5816 The unstyled component weighs 6.5 kB gzipped, compared with 26 kB for the styled version when used standalone. The component is best suited for use when you want to fully customize the look of the component without reimplementing the JavaScript and accessibility logic.
5817
5818- ⚡️ A first alpha of the [DataGrid](https://mui.com/components/data-grid/) component.
5819
5820 It has taken 6 months of development since the initial commit (March 15th, 2020) to make the first alpha release of the grid. The component comes in two versions:
5821 @material-ui/data-grid is licensed under MIT, while @material-ui/x-grid is licensed under a commercial license.
5822
5823- 🪓 Keep working on the breaking changes.
5824
5825 We aim to complete most of the breaking changes during the alpha stage of v5.
5826 We will move to beta once all the breaking changes we have anticipated are handled.
5827 As always, you should find a clear and simple upgrade path for each of them.
5828 You can learn more about the breaking changes left to be done in #22700.
5829
5830- And many more 🐛 bug fixes and 📚 improvements.
5831
5832### `@material-ui/core@v5.0.0-alpha.11`
5833
5834#### Breaking changes
5835
5836- [Chip] Rename `default` variant to `filled` (#22683) @mnajdova
5837 Rename `default` variant to `filled` for consistency.
5838
5839 ```diff
5840 -<Chip variant="default">
5841 +<Chip variant="filled">
5842 ```
5843
5844- [Tabs] Add allowScrollButtonsMobile prop for mobile view (#22700) @GauravKesarwani
5845 The API that controls the scroll buttons has been split it into two props:
5846
5847 - The `scrollButtons` prop controls when the scroll buttons are displayed depending on the space available.
5848 - The `allowScrollButtonsMobile` prop removes the CSS media query that systematically hides the scroll buttons on mobile.
5849
5850 ```diff
5851 -<Tabs scrollButtons="on" />
5852 -<Tabs scrollButtons="desktop" />
5853 -<Tabs scrollButtons="off" />
5854 +<Tabs scrollButtons allowScrollButtonsMobile />
5855 +<Tabs scrollButtons />
5856 +<Tabs scrollButtons={false} />
5857 ```
5858
5859- [theme] Improve breakpoints definitions (#22695) @mnajdova
5860 Breakpoints are now treated as values instead of ranges.
5861 The behavior of `down(key)` was changed to define media query less than the value defined with the corresponding breakpoint (exclusive).
5862 The behavior of `between(start, end)` was also updated to define media query for the values between the actual values of start (inclusive) and end (exclusive).
5863
5864 Find examples of the changes required defined below:
5865
5866```diff
5867-theme.breakpoints.down('sm') // '@media (max-width:959.95px)' - [0, sm + 1) => [0, md)
5868+theme.breakpoints.down('md') // '@media (max-width:959.95px)' - [0, md)
5869```
5870
5871```diff
5872-theme.breakpoints.between('sm', 'md') // '@media (min-width:600px) and (max-width:1279.95px)' - [sm, md + 1) => [sm, lg)
5873+theme.breakpoints.between('sm', 'lg') // '@media (min-width:600px) and (max-width:1279.95px)' - [sm, lg)
5874```
5875
5876- [theme] Rename `type` to `mode` (#22687) @mnajdova
5877 Renames `theme.palette.type` to `theme.palette.mode`, to better follow the "dark mode" term that is usually used for describing this feature.
5878
5879 ```diff
5880 import { createMuiTheme } from '@material-ui/core/styles';
5881
5882 -const theme = createMuiTheme({palette: { type: 'dark' }}),
5883 +const theme = createMuiTheme({palette: { mode: 'dark' }}),
5884 ```
5885
5886 The changes are supported by the `adaptV4Theme()` for easing the migration
5887
5888#### Changes
5889
5890- [Checkbox] Improve indeterminate UI (#22635) @oliviertassinari
5891- [Chip] Fix prop-type support for custom variants (#22603) @cansin
5892- [icons] Expose a data-test-id attribute on all svg icons (#22634) @jaebradley
5893- [Rating] Add form integration test suite (#22573) @eps1lon
5894- [Rating] Simpler customization of active "no value" styles (#22613) @eps1lon
5895- [Rating] Treat as input when readOnly (#22606) @eps1lon
5896- [Rating] Treat read-only as image (#22639) @eps1lon
5897- [Select] Improve docs for displayEmpty prop (#22601) @mihaipanait
5898- [Slider] Better tracking of mouse events (#22557, #22638) @chrisinajar, @oliviertassinari
5899- [Slider] Create unstyled version and migrate to emotion & styled-components (#22435) @mnajdova
5900- [Slider] Export components from lab and renamed to fit file names (#22723) @mnajdova
5901- [Slider] Fix value label display for custom value component (#22614) @NoNonsense126
5902- [Stepper] Add slight transition (#22654) @xtrixia
5903- [Tabs] Fix TabScrollButton using absolute path (#22690) @4vanger
5904- [Tabs] Only scroll the visible tabs (#22600) @quochuy
5905- [theme] convertLength does not work for fromUnit !== 'px' (#22739) @brorlarsnicklas
5906- [theme] Fix createSpacing.d.ts definition (#22645) @dabretin
5907- [theme] Fix Hidden breakpoints issues and updates the migration guide (#22702) @mnajdova
5908
5909### `@material-ui/lab@v5.0.0-alpha.11`
5910
5911#### Breaking changes
5912
5913- [Alert] Move from lab to core (#22651) @mbrookes
5914 Move the component from the lab to the core. This component will become stable.
5915
5916 ```diff
5917 -import Alert from '@material-ui/lab/Alert';
5918 -import AlertTitle from '@material-ui/lab/AlertTitle';
5919 +import Alert from '@material-ui/core/Alert';
5920 +import AlertTitle from '@material-ui/core/AlertTitle';
5921 ```
5922
5923- [Rating] Move from lab to core (#22725) @mbrookes
5924 Move the component from the lab to the core. This component will become stable.
5925
5926 ```diff
5927 -import Rating from '@material-ui/lab/Rating';
5928 +import Rating from '@material-ui/core/Rating';
5929 ```
5930
5931- [Skeleton] Move from lab to core (#22740) @mbrookes
5932 Move the component from the lab to the core. This component will become stable.
5933
5934 ```diff
5935 -import Skeleton from '@material-ui/lab/Skeleton';
5936 +import Skeleton from '@material-ui/core/Skeleton';
5937 ```
5938
5939- [Autocomplete] Get root elements of options via renderOption (#22591) @ImanMahmoudinasab
5940 After this change, the full DOM structure of the option is exposed.
5941 It makes customizations easier.
5942 You can recover from the change with:
5943
5944 ```diff
5945 <Autocomplete
5946 - renderOption={(option, { selected }) => (
5947 - <React.Fragment>
5948 + renderOption={(props, option, { selected }) => (
5949 + <li {...props}>
5950 <Checkbox
5951 icon={icon}
5952 checkedIcon={checkedIcon}
5953 style={{ marginRight: 8 }}
5954 checked={selected}
5955 />
5956 {option.title}
5957 - </React.Fragment>
5958 + </li>
5959 )}
5960 />
5961 ```
5962
5963#### Changes
5964
5965- [lab] Fix transitive dependencies in @material-ui/lab (#22671) @koistya
5966- [Autocomplete] Add "remove-option" to AutocompleteCloseReason type (#22672) @iansjk
5967- [Autocomplete] Don't close popup when Ctrl/Meta is pressed (#22696) @montelius
5968- [Autocomplete] Fix accessibility issue with empty option set (#22712) @tylerjlawson
5969- [Autocomplete] Update GitHub customization example (#22735) @hmaddisb
5970
5971### `@material-ui/styled-engine@v5.0.0-alpha.11`
5972
5973The new default style engine leveraging emotion.
5974
5975### `@material-ui/styled-engine-sc@v5.0.0-alpha.11`
5976
5977Allows developer to swap emotion with styled-components.
5978More documentation are coming.
5979
5980### `@material-ui/icons@v5.0.0-alpha.11`
5981
5982- [icons] Synchronize with Google (#22680) @delewis13
5983
5984### `@material-ui/styles@v5.0.0-alpha.11`
5985
5986- [Slider] Create unstyled version and migrate to emotion & styled-components (#22435) @mnajdova
5987
5988### `@material-ui/system@v5.0.0-alpha.11`
5989
5990- [core] Port createSpacing to TypeScript (#22720) @eps1lon
5991
5992### Docs
5993
5994- [blog] New posts (#22607) @oliviertassinari
5995- [docs] Add additional context to Autocomplete asynchronous documentation (#22621) @jaebradley
5996- [docs] Add emotion dependencies in codesandbox examples (#22736) @mnajdova
5997- [docs] Add props from Unstyled component to Styled API page (#22733) @mnajdova
5998- [docs] Add ui-schema in related projects (#22644) @elbakerino
5999- [docs] Avoid confusion between layout grid and data grid (#22681) @oliviertassinari
6000- [docs] Batch small changes (#22646) @oliviertassinari
6001- [docs] Configuring redirects for MUI X (#22632) @dtassone
6002- [docs] Customized hook at Autocomplete issue in dark mode (#22605) @hmaddisb
6003- [docs] Encourage DataGrid in /components/tables/ over alternatives (#22637) @oliviertassinari
6004- [docs] Fix emotion broken in SSR (#22731) @mnajdova
6005- [docs] Fix markdown metadata yaml (#22629) @oliviertassinari
6006- [docs] Fix static asset loading with X @oliviertassinari
6007- [docs] Improve Dashboard template (#22647) @pak1989
6008- [docs] Improve DX for docs generation (#22619) @eps1lon
6009- [docs] Migrate templates to TypeScript (#22650) @oliviertassinari
6010- [docs] New Crowdin updates (#22620) @mbrookes
6011- [docs] Prevent toolbar tooltips overlapping demos (#22732) @eps1lon
6012- [docs] Reduce indirections (#22642) @Arsikod
6013- [docs] Reference experimental slider demos correctly (#22738) @eps1lon
6014- [docs] Remove minimum-scale from meta viewport in docs (#22724) @barik
6015- [docs] Remove wrong migration instruction (#22710) @oliviertassinari
6016- [docs] Use codesandbox deploy for demos created from deploy previews (#22616) @eps1lon
6017
6018### Core
6019
6020- [core] Port createSpacing to TypeScript (#22720) @eps1lon
6021- [core] Replace ChangeEvent<{}> with SyntheticEvent (#22716) @eps1lon
6022- [core] Use ttp sources directly (#22706) @eps1lon
6023- [test] Add skip ci to Crowdin commit message (#22685) @mbrookes
6024- [test] Only run on push for master/next (#22624) @eps1lon
6025- [test] Run CircleCI anytime (#22676) @eps1lon
6026
6027## 5.0.0-alpha.10
6028
6029_Sep 15, 2020_
6030
6031A big thanks to the 16 contributors who made this release possible.
6032Here are some highlights ✨:
6033
6034- Keep working on the breaking changes before v5-beta.
6035 As always, you should find a clear and simple upgrade path for each of them.
6036- And many more 🐛 bug fixes and 📚 improvements.
6037
6038### `@material-ui/core@v5.0.0-alpha.10`
6039
6040#### Breaking changes
6041
6042- [Accordion] Normalize focusVisible logic (#22567) @oliviertassinari
6043 Rename `focused` to `focusVisible` for consistency with the other components:
6044
6045 ```diff
6046 <Accordion
6047 classes={{
6048 - focused: 'custom-focus-visible-classname',
6049 + focusVisible: 'custom-focus-visible-classname',
6050 }}
6051 />
6052 ```
6053
6054- [Stepper] Remove Paper and built-in padding (#22564) @mbrookes
6055 The root component (Paper) was replaced with a `<div>`. Stepper no longer has elevation, nor inherits Paper's props. This change is meant to encourage composition.
6056
6057 ```diff
6058 -<Stepper elevation={2}>
6059 - <Step>
6060 - <StepLabel>Hello world</StepLabel>
6061 - </Step>
6062 -</Stepper>
6063 +<Paper square elevation={2}>
6064 + <Stepper>
6065 + <Step>
6066 + <StepLabel>Hello world</StepLabel>
6067 + </Step>
6068 + </Stepper>
6069 +<Paper>
6070 ```
6071
6072 Remove the built-in 24px padding for consistency with the other components that avoid reserving space anytime it's possible.
6073
6074 ```diff
6075 -<Stepper>
6076 - <Step>
6077 - <StepLabel>Hello world</StepLabel>
6078 - </Step>
6079 -</Stepper>
6080 +<Stepper style={{ padding: 24 }}>
6081 + <Step>
6082 + <StepLabel>Hello world</StepLabel>
6083 + </Step>
6084 +</Stepper>
6085 ```
6086
6087- [theme] Always return default spacing value with px units (#22552) @mbrookes
6088
6089 `theme.spacing` now returns single values with px units by default.
6090 This change improves the integration with styled-components & emotion (with the CSS template strings syntax).
6091
6092 Before:
6093
6094 ```sh
6095 theme.spacing(2) => 16
6096 ```
6097
6098 After:
6099
6100 ```sh
6101 theme.spacing(2) => '16px'
6102 ```
6103
6104- [theme] Remove palette.text.hint key (#22537) @mbrookes
6105
6106 The `theme.palette.text.hint` key was available but unused in Material-UI v4 components.
6107 You can use `adaptV4Theme()` to restore the previous behavior.
6108
6109#### Changes
6110
6111- [BottomNavigation] onClick does not fire if tapped while scrolling (#22524) @EliasJorgensen
6112- [Button] Remove dead code (#22566) @oliviertassinari
6113- [Chip] Fix focus visible style (#22430) @alexmotoc
6114- [ImageList] Refactor using CSS grid & React context (#22395) @mbrookes
6115- [Slider] Improve integration with form libraries (#22548) @NoNonsense126
6116- [StepIcon] Add className in render SvgIcon (#22559) @ZouYouShun
6117- [SwipeableDrawer] Avoid blocking events (#22525) @JadRizk
6118- [theme] Support spacing and border radius with CSS unit (#22530) @madmanwithabike
6119- [theme] Fix theme object global leak (#22517) @eps1lon
6120- [theme] Increase usage of the disabled design tokens (#22570) @LorenzHenk
6121
6122### `@material-ui/lab@v5.0.0-alpha.10`
6123
6124#### Breaking changes
6125
6126- [Rating] Use different shape for empty and filled icons (#22554) @oliviertassinari
6127 Change the default empty icon to improve accessibility (1.4.1 WCAG 2.1).
6128 If you have a custom `icon` prop but no `emptyIcon` prop, you can restore the previous behavior with:
6129
6130 ```diff
6131 <Rating
6132 icon={customIcon}
6133 + emptyIcon={null}
6134 />
6135 ```
6136
6137#### Changes
6138
6139- [Autocomplete] Improve TypeScript in the Google Maps demo (#22555) @L-U-C-K-Y
6140- [Rating] Explain some styles in code comments (#22571) @eps1lon
6141
6142### Docs
6143
6144- [docs] Improve Font Awesome integration (#22496) @chrislambe
6145- [docs] Clarify SSG acronym in Next.js example (#22558) @leerob
6146- [docs] Add redirection for links published on npm (#22575) @oliviertassinari
6147- [docs] Add LightyearVPN to showcase (#22568) @lightyearvpn
6148- [docs] Fix typo, extra 'you' (#22560) @jedsmit
6149- [docs] Option to disable ads (#22574) @oliviertassinari
6150
6151### Core
6152
6153- [core] Remove usage of deprecated event.keyCode (#22569) @oliviertassinari
6154- [core] Remove references to other objects from created theme (#22523) @eps1lon
6155- [core] Batch small changes (#22565) @oliviertassinari
6156
6157## 5.0.0-alpha.9
6158
6159_Sep 6, 2020_
6160
6161A big thanks to the 14 contributors who made this release possible.
6162Here are some highlights ✨:
6163
6164- 💎 A new diamond sponsor: [DoiT](https://www.doit-intl.com/), thank you!
6165- 📚 Include the default value of the props in IntelliSense (#22447) @eps1lon
6166- ⚛️ More source migrated to TypeScript and testing-library (#22441) @baterson
6167- And many more 🐛 bug fixes and 📚 improvements.
6168
6169### `@material-ui/core@v5.0.0-alpha.9`
6170
6171#### Breaking changes
6172
6173- [Modal] Remove `onRendered` prop from Modal and Portal (#22464) @eps1lon
6174 Depending on your use case either use a [callback ref](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) on the child element or an effect hook in the child component.
6175
6176#### Changes
6177
6178- [Modal] Convert ModalManager to TypeScript (#22465) @eps1lon
6179- [Paper] Fix elevation warning when rendering (#22494) @nesso-pfl
6180- [Slider] Edge against swallowing of mouse up event (#22401) @motiejunas
6181- [Tabs] Add option to show scrollbar (#22438) @LogyLeo
6182- [Tabs] Document visibleScrollBar default value (#22475) @eps1lon
6183- [TextField] Remove excessive catching of hiddenLabel prop (#22444) @croraf
6184
6185### `@material-ui/lab@v5.0.0-alpha.9`
6186
6187- [docs] Include default values in IntelliSense (#22447) @eps1lon
6188
6189### Docs
6190
6191- [docs] Add DoiT diamond sponsor (#22436) @oliviertassinari
6192- [docs] Bump markdown-to-jsx (#22474) @eps1lon
6193- [docs] Change showcase approval process (#22398) @africanzoe
6194- [docs] Fix close context menu if repeated (#22463) @eps1lon
6195- [docs] Fix Next.js example (#22457) @bhati
6196- [docs] Fix TypeScript deps in CodeSandbox (#22346) @oliviertassinari
6197- [docs] Fix unresolved returntypes for props (#22459) @eps1lon
6198- [docs] Fix usage of overrides instead of styleOverrides (#22478) @discodanne
6199- [docs] Improve Backstage showcase (#22458) @stefanalund
6200- [docs] Improve styles basics.md section (#22440) @bxie
6201- [docs] Include default values in IntelliSense (#22447) @eps1lon
6202
6203### Core
6204
6205- [core] Batch small changes (#22461) @oliviertassinari
6206- [core] Fix useEventCallback type (#22448) @kodai3
6207- [core] Try out new JSX transform where available (#22455) @eps1lon
6208- [test] Migrate more components to react-testing-library (#22441) @baterson
6209
6210## 5.0.0-alpha.8
6211
6212_Aug 31, 2020_
6213
6214A big thanks to the 19 contributors who made this release possible.
6215Here are some highlights ✨:
6216
6217- 🎨 Inverse the customization API of the theme to be component-centric (#22347, #22293) @mnajdova.
6218
6219```jsx
6220const theme = createMuiTheme({
6221 components: {
6222 MuiIconButton: {
6223 defaultProps: {
6224 size: 'small',
6225 },
6226 styleOverrides: {
6227 sizeSmall: {
6228 marginLeft: 4,
6229 marginRight: 4,
6230 padding: 12,
6231 },
6232 },
6233 },
6234 },
6235});
6236```
6237
6238- ✨ Add [text in divider](https://mui.com/components/dividers/#dividers-with-text) support (#22285) @ShehryarShoukat96
6239
6240 ```jsx
6241 <Divider>{'CENTER'}</Divider>
6242 ```
6243
6244 <img width="530" alt="divider" src="https://user-images.githubusercontent.com/3165635/91740018-01cb5e80-ebb3-11ea-9a7f-6ddb48b3f496.png">
6245
6246- ♿️ A bunch of accessibility fixes (#22366, #22374, #22377, #22340, #22376) @fakeharahman @alexmotoc @eps1lon @oliviertassinari
6247- ⚛️ Increase adoption of TypeScript in the codebase (#22389, #22367, #22282) @Luchanso, @oliviertassinari
6248
6249### `@material-ui/core@v5.0.0-alpha.8`
6250
6251#### Breaking changes
6252
6253- [theme] Rename theme keys to defaultProps and styleOverrides (#22347) @mnajdova
6254- [theme] Restructure component definitions (#22293) @mnajdova
6255 The components' definition inside the theme were restructure under the `components` key, to allow people easier discoverability about the definitions regarding one component.
6256
6257 1. `props`
6258
6259 ```diff
6260 import { createMuiTheme } from '@material-ui/core/styles';
6261
6262 const theme = createMuiTheme({
6263 - props: {
6264 - MuiButton: {
6265 - disableRipple: true,
6266 - },
6267 - },
6268 + components: {
6269 + MuiButton: {
6270 + defaultProps: {
6271 + disableRipple: true,
6272 + },
6273 + },
6274 + },
6275 });
6276 ```
6277
6278 2. `overrides`
6279
6280 ```diff
6281 import { createMuiTheme } from '@material-ui/core/styles';
6282
6283 const theme = createMuiTheme({
6284 - overrides: {
6285 - MuiButton: {
6286 - root: { padding: 0 },
6287 - },
6288 - },
6289 + components: {
6290 + MuiButton: {
6291 + styleOverrides: {
6292 + root: { padding: 0 },
6293 + },
6294 + },
6295 + },
6296 });
6297 ```
6298
6299 Note that if you don't have the time to upgrade the structure of the theme, you
6300 can use the `adaptV4Theme()` adapter.
6301
6302- [GridList] Rename to ImageList (#22311) @mbrookes
6303- [GridList] Rename Tile to Item (#22385) @mbrookes
6304 Rename the `GridList` components to `ImageList` to align with the current Material Design naming.
6305
6306 ```diff
6307 -import GridList from '@material-ui/core/GridList';
6308 -import GridListTile from '@material-ui/core/GridListTile';
6309 -import GridListTileBar from '@material-ui/core/GridListTileBar';
6310 +import ImageList from '@material-ui/core/ImageList';
6311 +import ImageListItem from '@material-ui/core/ImageListItem';
6312 +import ImageListItemBar from '@material-ui/core/ImageListItemBar';
6313
6314 -<GridList>
6315 - <GridListTile>
6316 +<ImageList>
6317 + <ImageListItem>
6318 <img src="file.jpg" alt="Image title" />
6319 - <GridListTileBar
6320 + <ImageListItemBar
6321 title="Title"
6322 subtitle="Subtitle"
6323 />
6324 - </GridListTile>
6325 -</GridList>
6326 + </ImageListItem>
6327 +</ImageList>
6328 ```
6329
6330#### Changes
6331
6332- [Breadcrumbs] Fix wrong role usage (#22366) @fakeharahman
6333- [Breadcrumbs] More robust focus capture (#22374) @eps1lon
6334- [ButtonBase] Reset box-sizing to border-box (#22316) @su8ru
6335- [Dialog] Fix unexpected close when releasing click on backdrop (#22310) @danbrud
6336- [Divider] Add text in divider (#22285) @ShehryarShoukat96
6337- [Slider] Respect disabled property when already focused (#22247) @pireads
6338- [Tabs] Don't fire onChange if current value (#22381) @jjoselv
6339- [Tabs] Improve focus management on list with no active tabs (#22377) @alexmotoc
6340- [theme] Add theme.mixins.gutters() in adaptV4Theme (#22396) @mnajdova
6341- [Tooltip] Improve readability (#22340) @oliviertassinari
6342- [Tooltip] Meet dismissable WCAG criterion (#22376) @eps1lon
6343- [l10n] Improve th-TH locale (#22350) @vimutti77
6344
6345### `@material-ui/lab@v5.0.0-alpha.8`
6346
6347- [docs] Add IntelliSense for each class in the `classes` prop (#22312) @eps1lon
6348
6349### `@material-ui/styles@v5.0.0-alpha.8`
6350
6351- [theme] Restructure component definitions (#22293) @mnajdova
6352
6353### `@material-ui/utils@v5.0.0-alpha.8`
6354
6355- [core] Move utils package to TypeScript (#22367) @oliviertassinari
6356
6357### Docs
6358
6359- [docs] Add Content Security Policy guide (#22383) @tjg37
6360- [docs] Add IntelliSense for each class in the `classes` prop (#22312) @eps1lon
6361- [docs] Add links in the header (#22210) @oliviertassinari
6362- [docs] Fix Argos-ci 404 link (#22362) @brunocechet
6363- [docs] Fix test README typo @mbrookes
6364- [docs] Forward x data-grid (#22400) @oliviertassinari
6365- [docs] Transpile demo .ts files (#22388) @eps1lon
6366- [docs] Add Backstage to showcase (#22428) @stefanalund
6367- [docs] Update Fontsource installation instructions (#22431) @DecliningLotus
6368
6369### Core
6370
6371- [icons] Label them as vendored for GitHub (#22397) @oliviertassinari
6372- [test] DialogContent with testing-library (#22356) @baterson
6373- [test] DialogContentText with testing-library (#22357) @baterson
6374- [test] DialogTitle with testing-library (#22358) @baterson
6375- [test] Enable tests that weren't working in JSDOM (#22360) @eps1lon
6376- [test] Fix failing tests on Windows (#22369) @eps1lon
6377- [test] Update react 17 patch (#22391) @eps1lon
6378- [core] Add explicit dependency on `@types/yargs` (#22339) @eps1lon
6379- [core] Add useEnhancedEffect module (#22317) @oliviertassinari
6380- [core] Batch small changes (#22314) @oliviertassinari
6381- [core] Fix setRef types (#22389) @Luchanso
6382- [core] Include TypeScript definitions in GitHub source (#22282) @oliviertassinari
6383- [core] Refactor how we ignore default values in docs (#22355) @eps1lon
6384- [core] Update SECURITY.md to account for v5 @oliviertassinari
6385
6386## 5.0.0-alpha.7
6387
6388_Aug 22, 2020_
6389
6390A big thanks to the 22 contributors who made this release possible.
6391Here are some highlights ✨:
6392
6393- 💎 A new diamond sponsor: [Octopus](https://octopus.com/), thank you!
6394- ⚛️ Migrate parts of the codebase to TypeScript (#22295, #22280, #22179, #22195) @rothbart, @eps1lon, @oliviertassinari.
6395- 💅 Add support for custom variant to most of the components (9 new components in this release) @mnajdova
6396- ⚛️ Keep working on React 17 support (#22270, #22262) @eps1lon
6397- And many more 🐛 bug fixes and 📚 improvements.
6398
6399### `@material-ui/core@v5.0.0-alpha.7`
6400
6401### Breaking changes
6402
6403- [Menu] Remove transition onX props (#22212) @mbrookes
6404 The onE\* transition props were removed. Use TransitionProps instead.
6405
6406 ```diff
6407 <Menu
6408 - onEnter={onEnter}
6409 - onEntered={onEntered},
6410 - onEntering={onEntered},
6411 - onExit={onEntered},
6412 - onExited={onEntered},
6413 - onExiting={onEntered}
6414 + TransitionProps={{
6415 + onEnter,
6416 + onEntered,
6417 + onEntering,
6418 + onExit,
6419 + onExited,
6420 + onExiting,
6421 + }}
6422 >
6423 ```
6424
6425- [Popover] Remove transition onX props (#22184) @mbrookes
6426 The onE\* transition props were removed. Use TransitionProps instead.
6427
6428 ```diff
6429 <Popover
6430 - onEnter={onEnter}
6431 - onEntered={onEntered},
6432 - onEntering={onEntered},
6433 - onExit={onEntered},
6434 - onExited={onEntered},
6435 - onExiting={onEntered}
6436 + TransitionProps={{
6437 + onEnter,
6438 + onEntered,
6439 + onEntering,
6440 + onExit,
6441 + onExited,
6442 + onExiting,
6443 + }}
6444 />
6445 ```
6446
6447- [TextField] Improve line-height reset (#22149) @imnasnainaec
6448 Increase the line-height by 4px to support long descender on special alphabets.
6449 If you were overriding the input vertical padding, reduce it by 4px.
6450
6451### Changes
6452
6453- [Accordion] Fix scroll anchoring (#22292) @brickmaker17
6454- [colorManipulator] Add support for CSS Color Module Level 4 (#20790) @marcosvega91
6455- [Divider] Custom variant (#22182) @mnajdova
6456- [Fab] Custom variant (#22189) @mnajdova
6457- [l10n] Add Thai (th-TH) locale (#22242) @smoogi
6458- [l10n] Improve ja-JP locale (#22287) @chelproc
6459- [Link] Custom variant (#22204) @mnajdova
6460- [Paper] Custom variant (#22216) @mnajdova
6461- [Slider] Improve touch passive event handling (#22269) @mikhalev-im
6462- [Stepper] Fix spacing without StepContent (#22199) @Floriferous
6463- [SwipeableDrawer] Fix prevented inner scroll (#22254) @BramKaashoek
6464- [Tabs] Add aria-orientation of vertical (#22291) @eps1lon
6465- [Tabs] Document how to make scroll icons visible (#22255) @Sorgrum
6466- [TextField] Add hidden label to multi-line filled textfield (#22284) @fakeharahman
6467- [Toolbar] Custom variant (#22217) @mnajdova
6468- [TrapFocus] Entangle effects (#22155) @eps1lon
6469- [TrapFocus] Fix compatibility issues with React 17 (#22270) @eps1lon
6470- [TrapFocus] Prevent possible crash in React 17 (#22262) @eps1lon
6471
6472### `@material-ui/icons@v5.0.0-alpha.7`
6473
6474- [icons] Synchronize icons (#22186) @oliviertassinari
6475
6476### `@material-ui/styles@v5.0.0-alpha.7`
6477
6478- [core] Change children to be optional (#22134) @suliskh
6479
6480### `@material-ui/lab@v5.0.0-alpha.7`
6481
6482- [Alert] Custom variant (#22218) @mnajdova
6483- [Pagination] Custom variant (#22220, #22219) @mnajdova
6484- [Skeleton] Custom variant (#22243) @mnajdova
6485- [SpeedDial] Add support for uncontrolled open state (#22248) @akharkhonov
6486- [Timeline] Custom variant (#22244) @mnajdova
6487
6488### Docs
6489
6490- [docs] Add Design resources in installation (#22209) @oliviertassinari
6491- [docs] Add Octopus diamond sponsor (#22177) @oliviertassinari
6492- [docs] Better track usage of icons (#22187) @oliviertassinari
6493- [docs] Change property/properties to prop/props (#22271) @mbrookes
6494- [docs] Document TextField helperText height (#22146) @morgan-sam
6495- [docs] Fix `@global` being considered a class (#22297) @eps1lon
6496- [docs] Fix a typo on TextField components (#22300) @Renfrew
6497- [docs] Fix use of removed transition onE\* props (#22286) @mbrookes
6498- [docs] Improve codesandbox generation logic (#22221) @oliviertassinari
6499- [docs] Migrate Onepirate to TypeScript (#22295) @rothbart
6500- [docs] Migrate Dashboard template to TypeScript (#22280) @oliviertassinari
6501- [docs] Fix minimizing-bundle-size.md (#22298) @Primajin
6502
6503### Core
6504
6505- [core] Batch small changes (#22183) @oliviertassinari
6506- [core] Change children to be optional (#22134) @suliskh
6507- [test] Clear fake timers only in afterEach hook (#22307) @dmtrKovalenko
6508- [test] Convert initMatchers to TypeScript (#22179) @eps1lon
6509- [test] Improve toHaveVirtualFocus error message (#22185) @eps1lon
6510- [test] Lint fix the custom rules plugin for useThemeVariants (#22192) @mnajdova
6511- [test] Make all tests runnable with React 17 (#22290) @eps1lon
6512- [test] Prevent swallowing errors during setup (#22196) @eps1lon
6513- [test] Setup infra for tests in TypeScript (#22195) @eps1lon
6514- [test] Update react next patch (#22260) @eps1lon
6515
6516## 5.0.0-alpha.6
6517
6518_Aug 13, 2020_
6519
6520A big thanks to the 26 contributors who made this release possible.
6521Here are some highlights ✨:
6522
6523- 💅 Introduce a new dynamic variant API (#21648) @mnajdova.
6524 This API allows developers to add new variants on the Material-UI's components right from the theme, without having to wrap the components.
6525 For instance with the Button:
6526
6527 ```tsx
6528 // Define the style that should be applied, for specific props.
6529 const theme = createMuiTheme({
6530 variants: {
6531 MuiButton: [
6532 {
6533 props: { variant: 'dashed', color: 'secondary' },
6534 styles: {
6535 border: `4px dashed ${red[500]}`,
6536 },
6537 },
6538 ],
6539 },
6540 });
6541
6542 // Retain type safety.
6543 declare module '@material-ui/core/Button/Button' {
6544 interface ButtonPropsVariantOverrides {
6545 dashed: true;
6546 }
6547 }
6548
6549 // Enjoy!
6550 <Button variant="dashed" />;
6551 ```
6552
6553 More details in [the documentation](https://mui.com/customization/components/#adding-new-component-variants) and [RFC](#21749).
6554
6555- 👮 Add documentation for the [TrapFocus](https://mui.com/components/trap-focus/) component (#22062) @oliviertassinari.
6556- ⚛️ Prepare support for React v17 (#22093, #22105, #22143, #22111) @eps1lon.
6557- 🚧 We have undertaken breaking changes.
6558
6559### `@material-ui/core@v5.0.0-alpha.6`
6560
6561#### Breaking changes
6562
6563- [Avatar] Rename variant circle -> circular for consistency (#22015) @kodai3
6564 Rename `circle` to `circular` for consistency. The possible values should be adjectives, not nouns:
6565
6566 ```diff
6567 -<Avatar variant="circle">
6568 +<Avatar variant="circular">
6569 ```
6570
6571- [Badge] Rename overlap circle -> circular and rectangle -> rectangular for consistency (#22050) @kodai3
6572 Rename `circle` to `circular` and `rectangle` to `rectangular` for consistency. The possible values should be adjectives, not nouns:
6573
6574 ```diff
6575 -<Badge overlap="circle">
6576 -<Badge overlap="rectangle">
6577 +<Badge overlap="circular">
6578 +<Badge overlap="rectangular">
6579 ```
6580
6581- [CircularProgress] Remove static variant, simplify determinate (#22060) @mbrookes
6582 The `static` variant has been merged into the `determinate` variant, with the latter assuming the appearance of the former.
6583 The removed variant was rarely useful. It was an exception to Material Design, and was removed from the specification.
6584
6585 ```diff
6586 -<CircularProgress variant="determinate" />
6587 ```
6588
6589 ```diff
6590 -<CircularProgress variant="static" classes={{ static: 'className' }} />
6591 +<CircularProgress variant="determinate" classes={{ determinate: 'className' }} />
6592 ```
6593
6594- [Dialog] Remove transition onX props (#22113) @mbrookes
6595 The onE\* transition props were removed. Use TransitionProps instead.
6596
6597 ```diff
6598 <Dialog
6599 - onEnter={onEnter}
6600 - onEntered={onEntered},
6601 - onEntering={onEntered},
6602 - onExit={onEntered},
6603 - onExited={onEntered},
6604 - onExiting={onEntered}
6605 + TransitionProps={{
6606 + onEnter,
6607 + onEntered,
6608 + onEntering,
6609 + onExit,
6610 + onExited,
6611 + onExiting,
6612 + }}
6613 />
6614 ```
6615
6616- [Fab] Rename round -> circular for consistency (#21903) @kodai3
6617 Rename `round` to `circular` for consistency. The possible values should be adjectives, not nouns:
6618
6619 ```diff
6620 -<Fab variant="round">
6621 +<Fab variant="circular">
6622 ```
6623
6624- [List] Improve hover/select/focus UI display (#21930) @joshwooding
6625- [Pagination] Rename round -> circular for consistency (#22009) @kodai3
6626 Rename `round` to `circular` for consistency. The possible values should be adjectives, not nouns:
6627
6628 ```diff
6629 -<Pagination shape="round">
6630 -<PaginationItem shape="round">
6631 +<Pagination shape="circular">
6632 +<PaginationItem shape="circular">
6633 ```
6634
6635- [RootRef] Remove component (#21974) @eps1lon
6636 This component was removed. You can get a reference to the underlying DOM node of our components via `ref` prop.
6637 The component relied on [`ReactDOM.findDOMNode`](https://reactjs.org/docs/react-dom.html#finddomnode) which is [deprecated in `React.StrictMode`](https://reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage).
6638
6639 ```diff
6640 -<RootRef rootRef={ref}>
6641 - <Button />
6642 -</RootRef>
6643 +<Button ref={ref} />
6644 ```
6645
6646- [Snackbar] Change the default position on desktop (#21980) @kodai3
6647 The notification now displays at the bottom left on large screens.
6648 It better matches the behavior of Gmail, Google Keep, material.io, etc.
6649 You can restore the previous behavior with:
6650
6651 ```diff
6652 -<Snackbar />
6653 +<Snackbar anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }} />
6654 ```
6655
6656- [Snackbar] Remove transition onX props (#22107) @mbrookes
6657 The onE\* transition props were removed. Use TransitionProps instead.
6658
6659 ```diff
6660 <Snackbar
6661 - onEnter={onEnter}
6662 - onEntered={onEntered},
6663 - onEntering={onEntered},
6664 - onExit={onEntered},
6665 - onExited={onEntered},
6666 - onExiting={onEntered}
6667 + TransitionProps={{
6668 + onEnter,
6669 + onEntered,
6670 + onEntering,
6671 + onExit,
6672 + onExited,
6673 + onExiting,
6674 + }}
6675 />
6676 ```
6677
6678- [TextareaAutosize] Rename rowsMax->maxRows & rowsMin->minRows (#21873) @mhayk
6679 Rename `rowsMin`/`rowsMax` prop with `mi Rows`/`maxRows` for consistency with HTML attributes.
6680
6681 ```diff
6682 -<TextField rowsMax={6}>
6683 -<TextareAutosize rowsMin={1}>
6684 -<TextareAutosize rowsMax={6}>
6685 +<TextField maxRows={6}>
6686 +<TextareAutosize minRows={1}>
6687 +<TextareAutosize maxRows={6}>
6688 ```
6689
6690- [TextField] Better isolate static textarea behavior to dynamic one (#21995) @AxartInc
6691 Better isolate the fixed textarea height behavior to the dynamic one.
6692 You need to use the `rowsMin` prop in the following case:
6693
6694 ```diff
6695 -<TextField rows={2} rowsMax={5} />
6696 +<TextField rowsMin={2} rowsMax={5} />
6697 ```
6698
6699 Remove the `rows` prop, use the `rowsMin` prop instead.
6700 This change aims to clarify the behavior of the prop.
6701
6702 ```diff
6703 -<TextareaAutosize rows={2} />
6704 +<TextareaAutosize rowsMin={2} />
6705 ```
6706
6707- [theme] Remove theme.mixins.gutters (#22109) @joshwooding
6708 The abstraction hasn't proven to be used frequently enough to be valuable.
6709
6710 ```diff
6711 -theme.mixins.gutters(),
6712 +paddingLeft: theme.spacing(2),
6713 +paddingRight: theme.spacing(2),
6714 +[theme.breakpoints.up('sm')]: {
6715 + paddingLeft: theme.spacing(3),
6716 + paddingRight: theme.spacing(3),
6717 +},
6718 ```
6719
6720#### Changes
6721
6722- [Avatar] Custom variant (#22139) @mnajdova
6723- [Badge] Add missing class key (#22095) @kodai3
6724- [Badge] Custom variant (#22140) @mnajdova
6725- [Button] Improved variant type names & cleanup tests (#22010) @mnajdova
6726- [ButtonBase] Forward type to other components than 'button' (#22172) @eps1lon
6727- [ButtonGroup] Custom variant (#22160) @mnajdova
6728- [Chip] Custom variant (#22161) @mnajdova
6729- [CssBaseline] Add text size adjust property (#22089) @Tolsee
6730- [l10n] Add Greek (el-GR) locale (#21988) @tmanolat
6731- [Table] Cell small's right padding is bigger than medium (#22017) @adamlaurencik
6732- [TrapFocus] Add documentation (#22062) @oliviertassinari
6733- [Typography] Add custom variants support (#22006) @mnajdova
6734- [useIsFocusVisible] Remove focus-visible if focus is re-targetted (#22102) @eps1lon
6735- [core] Fix various potential issues with multiple windows (#22159) @scottander
6736- [core] Improve hook dependencies in useControlled.js (#21977) @roth1002
6737
6738### `@material-ui/lab@v5.0.0-alpha.6`
6739
6740#### Breaking changes
6741
6742- [Skeleton] Rename variant circle -> circular and rect -> rectangular for consistency (#22053) @kodai3
6743 Rename `circle` to `circular` and `rect` to `rectangular` for consistency. The possible values should be adjectives, not nouns:
6744
6745 ```diff
6746 -<Skeleton variant="circle">
6747 -<Skeleton variant="rect">
6748 +<Skeleton variant="circular">
6749 +<Skeleton variant="rectangular">
6750 ```
6751
6752#### Changes
6753
6754- [Autocomplete] Add support for "{label: string}" data type as a default for "options" (#21992) @DanailH
6755- [TreeView] Add disabled prop (#20133) @netochaves
6756- [TreeView] Simplify focus logic (#22098) @eps1lon
6757- [TreeView] Test current behavior of active item removal (#21720) @eps1lon
6758- [TreeView] Test selection behavior (#21901) @joshwooding
6759
6760### `@material-ui/system@v5.0.0-alpha.6`
6761
6762- [core] Bump csstype to 3.0.0 (#22048) @eps1lon
6763
6764### Docs
6765
6766- [docs] Add 'size' prop to ToggleButton API docs (#22052) @zenje
6767- [docs] Add ClassKeys migration description for Renaming API (#22061) @kodai3
6768- [docs] Add a label to the TreeView demos (#21900) @joshwooding
6769- [docs] Add missing JSDoc for various props (#22005) @eps1lon
6770- [docs] Add the services that support MUI in readme (#22137) @naineet
6771- [docs] Add trailingSlash: true (#22008) @oliviertassinari
6772- [docs] Add visibility to TypeScript examples (#22013) @esemeniuc
6773- [docs] Avoid using any type in Tabs examples (#22091) @tacigar
6774- [docs] Bump next to 9.5.0 (#21975) @eps1lon
6775- [docs] Disallow undefined array members at runtime where they're unexpected (#21990) @eps1lon
6776- [docs] Improve Autocomplete GitHub demo (#22153) @aquibbaig
6777- [docs] Improve draggable dialog demo wording (#22021) @Sanskar95
6778- [docs] Improve transition props API descriptions (#21952) @maksimgm
6779- [docs] Port buildApi to TypeScript (#22055) @eps1lon
6780- [docs] Update build instructions for component API (#21970) @eps1lon
6781- [docs] Update grouped instruction of autocomplete (#22056) @yfng96
6782- [docs] Use `import * as React from 'react';` (#22058) @mbrookes
6783- [docs] Use pickers v4 (#22023) @eps1lon
6784
6785### Core
6786
6787- [core] Allow running prettier from material-ui-x (#22071) @oliviertassinari
6788- [core] Bump csstype to 3.0.0 (#22048) @eps1lon
6789- [core] Fix next and prevent future regressions (#22135) @eps1lon
6790- [core] Improve merge-conflict label automation (#22065) @eps1lon
6791- [core] Lint cleanup (#21972) @eps1lon
6792- [core] Resolve all dot-prop versions to 5.x (#22007) @eps1lon
6793- [core] Small changes (#22020) @oliviertassinari
6794- [Security] Bump elliptic from 6.5.0 to 6.5.3 (#21997) @dependabot-preview
6795- [test] Drop css-loader (#21999) @eps1lon
6796- [test] Lint framer workspace (#22002) @eps1lon
6797- [test] Lint useThemeVariants with custom rules plugin (#21963) @eps1lon
6798- [test] Run same tests in coverage and unit (#22092) @eps1lon
6799- [test] Type-check framerx package (#21868) @eps1lon
6800- [test] Work on React v17 (#22093, #22105, #22143, #22111) @eps1lon
6801
6802## 5.0.0-alpha.5
6803
6804_July 28, 2020_
6805
6806A big thanks to the 18 contributors who made this release possible.
6807
6808### `@material-ui/core@v5.0.0-alpha.5`
6809
6810#### Breaking changes
6811
6812- [Grid] Rename justify prop to justifyContent (#21845) @mnajdova
6813
6814 Rename `justify` prop with `justifyContent` to be aligned with the CSS property name.
6815
6816 ```diff
6817 -<Grid justify="center">
6818 +<Grid justifyContent="center">
6819 ```
6820
6821#### Changes
6822
6823- [Accordion] Add new classes key (#21920) @natac13
6824- [Accordion] Fix IconButtonProps spreading logic (#21850) @kgregory
6825- [Avatar] Fix group size (#21896) @natac13
6826- [Button] Custom variant (#21648) @mnajdova
6827- [CssBaseline] Export ScopedCssBaseline from barrel index (#21869) @mherczeg
6828- [Dialog] Fix body scrollbar close behavior (#21951) @maksimgm
6829- [Icon] Hide name placeholder while "Material Icons" font is loading (#21950) @maksimgm
6830- [Select] Ensure that onChange is called before onClose (#21878) @DanailH
6831- [Slider] Make `index` public in the ValueLabel props (#21932) @govardhan-srinivas
6832
6833### `@material-ui/lab@v5.0.0-alpha.5`
6834
6835- [TreeView] Change focus management to aria-activedescendant (#21695) @joshwooding
6836- [TreeView] Fix crash when shift clicking a clean tree (#21899) @joshwooding
6837
6838### Framer
6839
6840- [framer] Refactor as switch (#21885) @mhkasif
6841- [framer] Update with latest sources (#21888) @eps1lon
6842
6843### Docs
6844
6845- [blog] Q2 2020 Update (#21822) @oliviertassinari
6846- [docs] Add expand all and select all to controlled tree demo (#21929) @joshwooding
6847- [docs] Add useRadioGroup section (#21910) @kodai3
6848- [docs] Autocomplete is not showing options even though they exist (#21949) @maksimgm
6849- [docs] Change the destination branch for PRs (#21870) @DanailH
6850- [docs] Fix Skeleton inline example (#21918) @ppecheux
6851- [docs] Fix custom Snackbar width on mobile (#21948) @ruhci28
6852- [docs] Fix the type of the second argument of 'createMuiTheme' function (#21859) @DanailH
6853- [docs] Improve ad display @oliviertassinari
6854- [docs] Improve documentation of theme.breakpoints (#21922) @ruhci28
6855- [docs] Link react-hook-form (#21886) @jeffshek
6856- [docs] Mention @MuiContrib in CONTRIBUTING (#21891) @eps1lon
6857- [docs] Replace latests tags with next in the codesandbox (#21851) @mnajdova
6858- [docs] Update gold sponsor to Text-Em-All (formerly Call-Em-All) (#21897) @jonmiller0
6859- [docs] Update testing guide (#21863) @eps1lon
6860
6861### Core
6862
6863- [test] Enable more StrictMode tests (#21817) @eps1lon
6864- [test] Lint internal typescript-to-proptypes fork (#21876) @eps1lon
6865- [test] Pass didWarnControlledToUncontrolled between tests (#21875) @eps1lon
6866- [test] Unify import to `test/utils (#21856) @eps1lon
6867- [core] Add warnings where ref-forwarding components/elements are required (#21883) @eps1lon
6868- [core] Automatically tweet about good first issues (#21879) @eps1lon
6869- [core] Batch small changes (#21928) @oliviertassinari
6870- [core] Remove /test-utils (#21855) @eps1lon
6871- [core] Throw on unused `typescript-to-proptypes-ignore` directives (#21867) @eps1lon
6872
6873## 5.0.0-alpha.4
6874
6875_July 19, 2020_
6876
6877A big thanks to the 11 contributors who made this release possible.
6878
6879### `@material-ui/core@v5.0.0-alpha.4`
6880
6881#### Breaking changes
6882
6883- [core] Drop support for non-ref-forwarding class components (#21811) @eps1lon
6884 Support for non-ref-forwarding class components in the `component` prop or as an immediate `children` has been dropped. If you were using `unstable_createStrictModeTheme` or didn't see any warnings related to `findDOMNode` in `React.StrictMode` then you don't need to do anything.
6885 Otherwise check out the ["Caveat with refs" section in our composition guide](/guides/composition/#caveat-with-refs) to find out how to migrate.
6886 This change affects almost all components where you're using the `component` prop or passing `children` to components that require `children` to be elements (e.g. `<MenuList><CustomMenuItem /></MenuList>`)
6887- [Stepper] Use context API (#21613) @baterson
6888 Rely on the context over the `React.cloneElement()` API.
6889 This change makes composition easier.
6890
6891### `@material-ui/icons@v5.0.0-alpha.4`
6892
6893- [icons] Add Google brand icon (#21807) @bmg02
6894
6895### Docs
6896
6897- [docs] Break up Select demos (#21792) @cjoecker
6898- [docs] Change RMUIF info to new version (#21812) @phoqe
6899- [docs] Fix Spanish translation (#21800) @adamsr123
6900- [docs] Fix nav color (#21780) @mbrookes
6901- [docs] Update advanced-de.md (#21786) @jasonericdavis
6902
6903### Core
6904
6905- [core] Allow dist tag as argv in use-react-dist-tag (#21810) @eps1lon
6906- [core] Drop support for non-ref-forwarding class components (#21811) @eps1lon
6907- [core] Lint with typescript-eslint parser (#21758) @oliviertassinari
6908- [core] One label is enough @oliviertassinari
6909- [core] Remove lint:fix command @oliviertassinari
6910- [test] Enable "missing act()"-warnings (#21802) @eps1lon
6911- [test] Improve stack trace for unexpected errors (#21818) @eps1lon
6912- [test] Update react next patch (#21746) @eps1lon
6913- [test] Use testing-library in withStyles (#21804) @eps1lon
6914
6915## 5.0.0-alpha.3
6916
6917_July 12, 2020_
6918
6919A big thanks to the 14 contributors who made this release possible.
6920
6921### `@material-ui/core@v5.0.0-alpha.3`
6922
6923- [Avatar] Avoid usage of z-index (#21685) @nvdai2401
6924- [GridList] Fix crash when loading images (#21741) @paradoxxxzero
6925- [List] Fix secondary action position when disableGutters={true} (#21732) @kgregory
6926- [TablePagination] Fix broken labelling if SelectProps provided ids (#21703) @eps1lon
6927- [theme] Fix custom breakpoint in CSS Media Queries (#21759) @nkrivous
6928- [TrapFocus] Fix disableAutoFocus prop (#21612) @oliviertassinari
6929
6930### `@material-ui/lab@v5.0.0-alpha.3`
6931
6932- [lab] Fix TypeScript theme overrides support (#21724) @cjoecker
6933- [Autocomplete] Fail form validation if required is filled when `multiple` (#21692, #21670) @weslenng, @eps1lon
6934
6935### Docs
6936
6937- [examples] Include troubleshooting for next.js (#21683) @ocavue
6938- [docs] Add ethicalads.io (#21752) @oliviertassinari
6939- [docs] Apply small fixes (#21754) @jaironalves
6940- [docs] Batch small changes (#21669) @oliviertassinari
6941- [docs] Bump next to 9.4.4 (#21690) @eps1lon
6942- [docs] Fix custom switch ripple color (#21729) @xanderoku
6943- [docs] Fix text from showcase (#21755) @cjoecker
6944- [docs] Improve customized timeline demo (#21739) @mageprincess
6945- [docs] Move more prop docs into IntelliSense (#21659) @eps1lon
6946- [docs] Move more prop docs into IntelliSense (#21687) @eps1lon
6947- [docs] Recommend default branch (#21719) @eps1lon
6948- [docs] Remove `@document` directive from IntelliSense (#21688) @eps1lon
6949- [docs] Track web-vitals (#21702) @eps1lon
6950
6951### Core
6952
6953- [test] Allow container + hydrate in render (#21747) @eps1lon
6954- [test] Bump url-loader (#21689) @eps1lon
6955- [test] Restore clock between each test (#21760) @eps1lon
6956- [test] Run lab unit tests in browser (#21691) @eps1lon
6957- [core] Allow generating markdown api docs for subset of components (#21731) @eps1lon
6958- [core] Batch small changes (#21756) @oliviertassinari
6959- [core] Don't bail out early if docs:api fails (#21726) @eps1lon
6960- [core] Remove dead code from docs:api (#21730) @eps1lon
6961- [core] Simplify debounce (#21666) @NMinhNguyen
6962- [core] Use common yarn version (#21779) @eps1lon
6963
6964## 5.0.0-alpha.2
6965
6966_July 4, 2020_
6967
6968A big thanks to the 16 contributors who made this release possible.
6969
6970### `@material-ui/core@v5.0.0-alpha.2`
6971
6972#### Breaking changes
6973
6974- [Button] Make primary the default color (#21594) @mbrookes
6975 The button `color` prop is now "primary" by default, and "default" has been removed. This makes the button closer to the Material Design specification and simplifies the API.
6976
6977 ```diff
6978 -<Button color="default" />
6979 -<Button color="primary" />
6980 +<Button />
6981 +<Button />
6982 ```
6983
6984- [ExpansionPanel] Remove component (#21630) @mnajdova
6985 This completes our effort on renaming the ExpansionPanel component Accordion
6986- [Collapse] Add orientation and horizontal support (#20619) @darkowic
6987 The `collapsedHeight` prop was renamed `collapsedSize` to support the horizontal direction.
6988
6989 ```diff
6990 -<Collapse collapsedHeight={40}>
6991 +<Collapse collapsedSize={40}>
6992 ```
6993
6994#### Changes
6995
6996- [Card] Fix vertically center header action (#21646) @kgregory
6997- [l10n] Update cs-CZ and sk-SK locales (#21656) @char0n
6998- [l10n] Update sv-SE locale (#21631) @tbz
6999- [Menu] Remove overflow style in MenuItem (#21644) @tj3407
7000- [MenuItem] Add types for ListItemClasses (#21654) @eps1lon
7001- [Slider] Fix cannot read property 'focus' of null (#21653) @mageprincess
7002- [TextField] Fix CSS isolation issue (#21665) @Codetalker777
7003- [TrapFocus] Fix portal support (#21610) @mnajdova
7004- [TypeScript] Fix version support (#21640) @jakubfiglak
7005
7006### `@material-ui/lab@v5.0.0-alpha.2`
7007
7008- [TreeView] Improve node registration and fix other issues (#21574) @joshwooding
7009
7010### Docs
7011
7012- [blog] Post survey results 2020 (#21555) @mnajdova
7013- [docs] Add new showcase (#21637) @cjoecker
7014- [docs] CodeFund is shutting down (#21632) @oliviertassinari
7015- [docs] Document next version (#21591) @oliviertassinari
7016- [docs] Enable docs search on v5.0.0 & fix duplicate on master @oliviertassinari
7017- [docs] Fix ad issues @oliviertassinari
7018- [docs] Move more prop docs into IntelliSense (#21655) @eps1lon
7019- [docs] Remove in-context translation code & files (#21633) @mbrookes
7020- [example] Remove dead dependency from next-typescript (#21628) @StefanWerW
7021
7022### Core
7023
7024- [test] Add toWarnDev() and toErrorDev() matcher (#21581) @eps1lon
7025
7026## 5.0.0-alpha.1
7027
7028_June 27, 2020_
7029
7030A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
7031
7032- 🔄 Introduce a new `LoadingButton` component in the lab (#21389) @mnajdova.
7033- 📍 Synchronize icons with Google, add 200 new icons (#21498) @alecananian
7034- 💥 Start working on breaking changes.
7035
7036### `@material-ui/core@v5.0.0-alpha.1`
7037
7038#### Breaking changes
7039
7040- [Divider] Use border instead of background color (#18965) @mikejav.
7041 It prevents inconsistent height on scaled screens. For people customizing the color of the border, the change requires changing the override CSS property:
7042
7043 ```diff
7044 .MuiDivider-root {
7045 - background-color: #f00;
7046 + border-color: #f00;
7047 }
7048 ```
7049
7050- [Rating] Rename `visuallyhidden` to `visuallyHidden` for consistency (#21413) @mnajdova.
7051
7052 ```diff
7053 <Rating
7054 classes={{
7055 - visuallyhidden: 'custom-visually-hidden-classname',
7056 + visuallyHidden: 'custom-visually-hidden-classname',
7057 }}
7058 />
7059 ```
7060
7061- [Typography] Replace the `srOnly` prop so as to not duplicate the capabilities of [System](https://mui.com/system/basics/) (#21413) @mnajdova.
7062
7063 ```diff
7064 -import Typography from '@material-ui/core/Typography';
7065 +import { visuallyHidden } from '@material-ui/utils';
7066 +import styled from 'styled-component';
7067
7068 +const Span = styled('span')(visuallyHidden);
7069
7070 -<Typography variant="srOnly">Create a user</Typography>
7071 +<Span>Create a user</Span>
7072 ```
7073
7074- [TablePagination] Add showFirstButton and showLastButton support (#20750) @ShahAnuj2610.
7075 The customization of the table pagination's actions labels must be done with the `getItemAriaLabel` prop. This increases consistency with the `Pagination` component.
7076
7077 ```diff
7078 <TablePagination
7079 - backIconButtonText="Avant"
7080 - nextIconButtonText="Après
7081 + getItemAriaLabel={…}
7082 ```
7083
7084- [ExpansionPanel] Rename to Accordion (#21494) @mnajdova.
7085 Use a more common the naming convention:
7086
7087 ```diff
7088 -import ExpansionPanel from '@material-ui/core/ExpansionPanel';
7089 -import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary';
7090 -import ExpansionPanelDetails from '@material-ui/core/ExpansionPanelDetails';
7091 -import ExpansionPanelActions from '@material-ui/core/ExpansionPanelActions';
7092 +import Accordion from '@material-ui/core/Accordion';
7093 +import AccordionSummary from '@material-ui/core/AccordionSummary';
7094 +import AccordionDetails from '@material-ui/core/AccordionDetails';
7095 +import AccordionActions from '@material-ui/core/AccordionActions';
7096
7097 -<ExpansionPanel>
7098 +<Accordion>
7099 - <ExpansionPanelSummary>
7100 + <AccordionSummary>
7101 <Typography>Location</Typography>
7102 <Typography>Select trip destination</Typography>
7103 - </ExpansionPanelSummary>
7104 + </AccordionSummary>
7105 - <ExpansionPanelDetails>
7106 + <AccordionDetails>
7107 <Chip label="Barbados" onDelete={() => {}} />
7108 <Typography variant="caption">Select your destination of choice</Typography>
7109 - </ExpansionPanelDetails>
7110 + </AccordionDetails>
7111 <Divider />
7112 - <ExpansionPanelActions>
7113 + <AccordionActions>
7114 <Button size="small">Cancel</Button>
7115 <Button size="small" color="primary">Save</Button>
7116 - </ExpansionPanelActions>
7117 + </AccordionActions>
7118 -</ExpansionPanel>
7119 +</Accordion>
7120 ```
7121
7122- [BottomNavigation] typescript: The `event` in `onChange` is no longer typed as a `React.ChangeEvent` but `React.SyntheticEvent`.
7123
7124 ```diff
7125 -<BottomNavigation onChange={(event: React.ChangeEvent<{}>) => {}} />
7126 +<BottomNavigation onChange={(event: React.SyntheticEvent) => {}} />
7127 ```
7128
7129- [Slider] typescript: The `event` in `onChange` is no longer typed as a `React.ChangeEvent` but `React.SyntheticEvent`.
7130
7131 ```diff
7132 -<Slider onChange={(event: React.ChangeEvent<{}>, value: unknown) => {}} />
7133 +<Slider onChange={(event: React.SyntheticEvent, value: unknown) => {}} />
7134 ```
7135
7136- [Tabs] typescript: The `event` in `onChange` is no longer typed as a `React.ChangeEvent` but `React.SyntheticEvent`.
7137
7138 ```diff
7139 -<Tabs onChange={(event: React.ChangeEvent<{}>, value: unknown) => {}} />
7140 +<Tabs onChange={(event: React.SyntheticEvent, value: unknown) => {}} />
7141 ```
7142
7143- [Accordion] typescript: The `event` in `onChange` is no longer typed as a `React.ChangeEvent` but `React.SyntheticEvent`.
7144
7145 ```diff
7146 -<Accordion onChange={(event: React.ChangeEvent<{}>, expanded: boolean) => {}} />
7147 +<Accordion onChange={(event: React.SyntheticEvent, expanded: boolean) => {}} />
7148 ```
7149
7150#### Changes
7151
7152- [Badge] Fix transition flicker (#21557) @mnajdova
7153- [ButtonGroup] Improve contained hover style (#21532) @alecananian
7154- [l10n] Improve Russian translation (#21480) @AntonLukichev
7155- [l10n] Improve zh-CN, add zh-TW (#21493) @Jack-Works
7156- [LinearProgress] High frequency updates (#21416) @dnicerio
7157- [Stepper] Fix optional label alignment (#21420) @curtislin7
7158- [Table] Move prop docs into IntelliSense (#21530) @oliviertassinari
7159- [TablePagination] Add showFirstButton and showLastButton support (#20750) @ShahAnuj2610
7160- [Tabs] Fix useCallback missing arguments (#21471) @KitsonBroadhurst
7161- [TextField] Fix FilledInput disable hover style when disabled (#21457) @tchmnn
7162
7163### `@material-ui/lab@v5.0.0-alpha.1`
7164
7165- [Autocomplete] Fix support for renderTags={() => null} (#21460) @matthenschke
7166- [LoadingButton] Introduce new component (#21389) @mnajdova
7167- [Pagination] Fix display when boundaryCount={0} (#21446) @guimacrf
7168- [Skeleton] Fix text border (#21543) @el1f
7169- [Timeline] Align dots with content (#21402) @mnajdova
7170- [TreeView] Minor styling changes (#21573) @joshwooding
7171- [TreeView] Simplify customization (#21514) @joshwooding
7172
7173### `@material-ui/icons@v5.0.0-alpha.1`
7174
7175- [icons] Synchronize icons with Google (#21498) @alecananian
7176
7177### `@material-ui/system@v5.0.0-alpha.1`
7178
7179- [system] Introduce visuallyHidden style utility (#21413) @mnajdova
7180
7181### Docs
7182
7183- [docs] Add CSP support section to docs (#21479) @razor-x
7184- [docs] Add explicit example for extending existing palette colors (#21458) @BennyHinrichs
7185- [docs] Add more details about breakpoint widths (#21545) @Muzietto
7186- [docs] Add new gold sponsor @oliviertassinari
7187- [docs] Add transitions customization page (#21456) @mnajdova
7188- [docs] Correct syntax errors to improve document readability (#21515) @AGDholo
7189- [docs] Document type="number" limitation (#21500) @IwalkAlone
7190- [docs] Entry for translations and fix grammar error (#21478) @jaironalves
7191- [docs] Fix broken "customization" anchor link (#21506) @connorads
7192- [docs] Fix typo in MultipleSelects.js (#21510) @ShiyuCheng2018
7193- [docs] Fix typo in SpeedDialIcon classes comment (#21398) @zachbradshaw
7194- [docs] Fix typo in TextField required prop (#21538) @HumbertoL
7195- [docs] Fix version in localized urls (#21442) @tchmnn
7196- [docs] Format english markdown files (#21463) @eps1lon
7197- [docs] Format some previously unformatted, untranslated files (#21558) @eps1lon
7198- [docs] Hide duplicate table borders (#20809) @marcosvega91
7199- [docs] Improve docs for useMediaQuery and breakpoint (#21512) @DDDDDanica
7200- [docs] Improve npm homepage links (#21452) @eps1lon
7201- [docs] Move more prop docs into IntelliSense (#21383) @eps1lon
7202- [docs] Restrict docs markdown and demos to 80ch (#21481) @eps1lon
7203- [docs] Reword palette intention and fix format (#21477) @DDDDDanica
7204- [docs] Update v4 migration guide (#21462) @eps1lon
7205
7206### Core
7207
7208- [typescript-to-proptypes] Integrate into monorepo @eps1lon
7209- [test] Add type test CardHeader title component (#21590) @eps1lon
7210- [test] Fix type tests not being type checked (#21539) @eps1lon
7211- [test] Ignore empty vrtests (#21450) @eps1lon
7212- [test] Improve makeStyles error coverage (#21568) @eps1lon
7213- [test] Migrate Typography to testing-library (#21534) @marcosvega91
7214- [test] Move size comparison details to separate page (#21504) @eps1lon
7215- [test] Use testing-library in MenuItem (#21391) @eps1lon
7216- [test] Use testing-library in StepButton (#21406) @baterson
7217- [test] Use testing-library in Stepper (#21400) @baterson
7218- [core] Batch small changes (#21419) @oliviertassinari
7219- [core] Batch small changes (#21553) @oliviertassinari
7220- [core] Disable caching for yarn proptypes permanently (#21414) @eps1lon
7221- [core] Extend env for build script (#21403) @eps1lon
7222- [core] Fix react next patch and prevent regression (#21495) @eps1lon
7223- [core] Fork typescript-to-proptypes (#21497) @eps1lon
7224- [core] Misc branch cleaning (#21459) @eps1lon
7225- [core] Misc prettier changes (#21484) @eps1lon
7226- [core] Run prettier on the JSON sources (#21556) @oliviertassinari
7227- [core] Type custom `onChange` implementations with a generic react event (#21552) @eps1lon
7228
7229## Older versions
7230
7231Changes before 5.x are listed in our [changelog for older versions](https://github.com/mui-org/material-ui/blob/HEAD/CHANGELOG.old.md).
7232
\No newline at end of file