@mui/lab 5.0.0-alpha.63 → 5.0.0-alpha.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +284 -33
- package/CalendarPicker/PickersCalendar.js +6 -18
- package/CalendarPicker/PickersCalendarHeader.js +5 -15
- package/CalendarPicker/PickersFadeTransitionGroup.js +1 -3
- package/CalendarPicker/PickersSlideTransition.js +1 -3
- package/ClockPicker/Clock.js +6 -18
- package/ClockPicker/ClockNumber.js +1 -3
- package/ClockPicker/ClockPicker.js +4 -1
- package/ClockPicker/ClockPointer.js +2 -6
- package/DatePicker/DatePicker.js +5 -1
- package/DatePicker/DatePickerToolbar.js +2 -6
- package/DateRangePicker/DateRangePicker.js +5 -1
- package/DateRangePicker/DateRangePickerInput.js +1 -3
- package/DateRangePicker/DateRangePickerToolbar.js +2 -6
- package/DateRangePicker/DateRangePickerViewDesktop.js +4 -12
- package/DateTimePicker/DateTimePicker.js +5 -1
- package/DateTimePicker/DateTimePickerTabs.js +2 -4
- package/DateTimePicker/DateTimePickerToolbar.js +4 -12
- package/DesktopDatePicker/DesktopDatePicker.js +5 -1
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -1
- package/DesktopDateTimePicker/DesktopDateTimePicker.js +5 -1
- package/Masonry/Masonry.js +12 -34
- package/MobileDatePicker/MobileDatePicker.js +5 -1
- package/MobileDateRangePicker/MobileDateRangePicker.js +5 -1
- package/MobileDateTimePicker/MobileDateTimePicker.js +5 -1
- package/MonthPicker/PickersMonth.js +1 -3
- package/README.md +4 -4
- package/StaticDatePicker/StaticDatePicker.js +5 -1
- package/StaticDateRangePicker/StaticDateRangePicker.js +5 -1
- package/StaticDateTimePicker/StaticDateTimePicker.js +5 -1
- package/TimePicker/TimePickerToolbar.js +4 -12
- package/TreeView/TreeView.js +4 -0
- package/YearPicker/PickersYear.js +2 -6
- package/index.js +1 -1
- package/internal/pickers/Picker/Picker.js +1 -3
- package/internal/pickers/PickersArrowSwitcher.js +2 -6
- package/internal/pickers/PickersModalDialog.js +3 -9
- package/internal/pickers/PickersPopper.js +2 -6
- package/internal/pickers/PickersToolbar.js +2 -6
- package/internal/pickers/PickersToolbarButton.js +1 -3
- package/internal/pickers/PickersToolbarText.d.ts +1 -1
- package/internal/pickers/PickersToolbarText.js +1 -3
- package/internal/pickers/PureDateInput.js +6 -4
- package/internal/pickers/wrappers/PickerStaticWrapper.js +1 -2
- package/legacy/CalendarPicker/PickersCalendar.js +6 -18
- package/legacy/CalendarPicker/PickersCalendarHeader.js +5 -15
- package/legacy/CalendarPicker/PickersFadeTransitionGroup.js +1 -3
- package/legacy/CalendarPicker/PickersSlideTransition.js +1 -3
- package/legacy/ClockPicker/Clock.js +6 -18
- package/legacy/ClockPicker/ClockNumber.js +1 -3
- package/legacy/ClockPicker/ClockPicker.js +4 -1
- package/legacy/ClockPicker/ClockPointer.js +2 -6
- package/legacy/DatePicker/DatePicker.js +5 -1
- package/legacy/DatePicker/DatePickerToolbar.js +2 -6
- package/legacy/DateRangePicker/DateRangePicker.js +5 -1
- package/legacy/DateRangePicker/DateRangePickerInput.js +1 -3
- package/legacy/DateRangePicker/DateRangePickerToolbar.js +2 -6
- package/legacy/DateRangePicker/DateRangePickerViewDesktop.js +4 -12
- package/legacy/DateTimePicker/DateTimePicker.js +5 -1
- package/legacy/DateTimePicker/DateTimePickerTabs.js +2 -4
- package/legacy/DateTimePicker/DateTimePickerToolbar.js +4 -12
- package/legacy/DesktopDatePicker/DesktopDatePicker.js +5 -1
- package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -1
- package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +5 -1
- package/legacy/Masonry/Masonry.js +12 -34
- package/legacy/MobileDatePicker/MobileDatePicker.js +5 -1
- package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +5 -1
- package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +5 -1
- package/legacy/MonthPicker/PickersMonth.js +1 -3
- package/legacy/StaticDatePicker/StaticDatePicker.js +5 -1
- package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +5 -1
- package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +5 -1
- package/legacy/TimePicker/TimePickerToolbar.js +4 -12
- package/legacy/TreeView/TreeView.js +4 -0
- package/legacy/YearPicker/PickersYear.js +2 -6
- package/legacy/index.js +1 -1
- package/legacy/internal/pickers/Picker/Picker.js +1 -3
- package/legacy/internal/pickers/PickersArrowSwitcher.js +2 -6
- package/legacy/internal/pickers/PickersModalDialog.js +3 -9
- package/legacy/internal/pickers/PickersPopper.js +2 -6
- package/legacy/internal/pickers/PickersToolbar.js +2 -6
- package/legacy/internal/pickers/PickersToolbarButton.js +1 -3
- package/legacy/internal/pickers/PickersToolbarText.js +1 -3
- package/legacy/internal/pickers/PureDateInput.js +6 -4
- package/legacy/internal/pickers/test-utils.js +2 -1
- package/legacy/internal/pickers/wrappers/PickerStaticWrapper.js +1 -2
- package/modern/CalendarPicker/PickersCalendar.js +6 -18
- package/modern/CalendarPicker/PickersCalendarHeader.js +5 -15
- package/modern/CalendarPicker/PickersFadeTransitionGroup.js +1 -3
- package/modern/CalendarPicker/PickersSlideTransition.js +1 -3
- package/modern/ClockPicker/Clock.js +6 -18
- package/modern/ClockPicker/ClockNumber.js +1 -3
- package/modern/ClockPicker/ClockPicker.js +4 -1
- package/modern/ClockPicker/ClockPointer.js +2 -6
- package/modern/DatePicker/DatePicker.js +5 -1
- package/modern/DatePicker/DatePickerToolbar.js +2 -6
- package/modern/DateRangePicker/DateRangePicker.js +5 -1
- package/modern/DateRangePicker/DateRangePickerInput.js +1 -3
- package/modern/DateRangePicker/DateRangePickerToolbar.js +2 -6
- package/modern/DateRangePicker/DateRangePickerViewDesktop.js +4 -12
- package/modern/DateTimePicker/DateTimePicker.js +5 -1
- package/modern/DateTimePicker/DateTimePickerTabs.js +2 -4
- package/modern/DateTimePicker/DateTimePickerToolbar.js +4 -12
- package/modern/DesktopDatePicker/DesktopDatePicker.js +5 -1
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -1
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +5 -1
- package/modern/Masonry/Masonry.js +12 -30
- package/modern/MobileDatePicker/MobileDatePicker.js +5 -1
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +5 -1
- package/modern/MobileDateTimePicker/MobileDateTimePicker.js +5 -1
- package/modern/MonthPicker/PickersMonth.js +1 -3
- package/modern/StaticDatePicker/StaticDatePicker.js +5 -1
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +5 -1
- package/modern/StaticDateTimePicker/StaticDateTimePicker.js +5 -1
- package/modern/TimePicker/TimePickerToolbar.js +4 -12
- package/modern/TreeView/TreeView.js +4 -0
- package/modern/YearPicker/PickersYear.js +2 -6
- package/modern/index.js +1 -1
- package/modern/internal/pickers/Picker/Picker.js +1 -3
- package/modern/internal/pickers/PickersArrowSwitcher.js +2 -6
- package/modern/internal/pickers/PickersModalDialog.js +3 -9
- package/modern/internal/pickers/PickersPopper.js +2 -6
- package/modern/internal/pickers/PickersToolbar.js +2 -6
- package/modern/internal/pickers/PickersToolbarButton.js +1 -3
- package/modern/internal/pickers/PickersToolbarText.js +1 -3
- package/modern/internal/pickers/PureDateInput.js +6 -4
- package/modern/internal/pickers/wrappers/PickerStaticWrapper.js +1 -2
- package/node/CalendarPicker/PickersCalendar.js +6 -18
- package/node/CalendarPicker/PickersCalendarHeader.js +5 -15
- package/node/CalendarPicker/PickersFadeTransitionGroup.js +1 -3
- package/node/CalendarPicker/PickersSlideTransition.js +1 -3
- package/node/ClockPicker/Clock.js +6 -18
- package/node/ClockPicker/ClockNumber.js +1 -3
- package/node/ClockPicker/ClockPicker.js +4 -1
- package/node/ClockPicker/ClockPointer.js +2 -6
- package/node/DatePicker/DatePicker.js +5 -1
- package/node/DatePicker/DatePickerToolbar.js +2 -6
- package/node/DateRangePicker/DateRangePicker.js +5 -1
- package/node/DateRangePicker/DateRangePickerInput.js +1 -3
- package/node/DateRangePicker/DateRangePickerToolbar.js +2 -6
- package/node/DateRangePicker/DateRangePickerViewDesktop.js +4 -12
- package/node/DateTimePicker/DateTimePicker.js +5 -1
- package/node/DateTimePicker/DateTimePickerTabs.js +2 -4
- package/node/DateTimePicker/DateTimePickerToolbar.js +4 -12
- package/node/DesktopDatePicker/DesktopDatePicker.js +5 -1
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -1
- package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +5 -1
- package/node/Masonry/Masonry.js +12 -34
- package/node/MobileDatePicker/MobileDatePicker.js +5 -1
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +5 -1
- package/node/MobileDateTimePicker/MobileDateTimePicker.js +5 -1
- package/node/MonthPicker/PickersMonth.js +1 -3
- package/node/StaticDatePicker/StaticDatePicker.js +5 -1
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +5 -1
- package/node/StaticDateTimePicker/StaticDateTimePicker.js +5 -1
- package/node/TimePicker/TimePickerToolbar.js +4 -12
- package/node/TreeView/TreeView.js +4 -0
- package/node/YearPicker/PickersYear.js +2 -6
- package/node/index.js +1 -1
- package/node/internal/pickers/Picker/Picker.js +1 -3
- package/node/internal/pickers/PickersArrowSwitcher.js +2 -6
- package/node/internal/pickers/PickersModalDialog.js +3 -9
- package/node/internal/pickers/PickersPopper.js +2 -6
- package/node/internal/pickers/PickersToolbar.js +2 -6
- package/node/internal/pickers/PickersToolbarButton.js +1 -3
- package/node/internal/pickers/PickersToolbarText.js +1 -3
- package/node/internal/pickers/PureDateInput.js +6 -4
- package/node/internal/pickers/wrappers/PickerStaticWrapper.js +1 -2
- package/package.json +7 -7
- package/themeAugmentation/components.d.ts +99 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,251 @@
|
|
|
1
|
-
|
|
1
|
+
# [Versions](https://mui.com/versions/)
|
|
2
|
+
|
|
3
|
+
## 5.4.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.3.1..master -->
|
|
6
|
+
|
|
7
|
+
_Feb 1, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🛠 @goncalovf added an example project using [MUI with Vite.js](https://github.com/mui-org/material-ui/tree/master/examples/vitejs) (#28241)
|
|
12
|
+
- Number of 🐛 bug fixes and 📚 documentation improvements.
|
|
13
|
+
|
|
14
|
+
### `@mui/material@5.4.0`
|
|
15
|
+
|
|
16
|
+
#### Breaking changes
|
|
17
|
+
|
|
18
|
+
- ​<!-- 27 -->[core] Do not reexport Base from Material (#30853) @michaldudak
|
|
19
|
+
|
|
20
|
+
All Base components were exported from the `@mui/material` package and treated as stable even though the `@mui/base` package is in development. It could create a lot of confusion if developers start using Base components, depend on them, and demand quality found in "proper" Material components. We admit it was a mistake to reexport these components without marking them as unstable.
|
|
21
|
+
|
|
22
|
+
Developers are still encouraged to evaluate the Base components, but they should do so by explicitly installing the `@mui/base` package.
|
|
23
|
+
|
|
24
|
+
This is technically a breaking change as it removes a number of components from the `@mui/material` package. However, we believe that removing the components now and potentially breaking the codebases will do less harm than introducing "silent" breaking changes to Base components while continuing reexporting them from `@mui/material`.
|
|
25
|
+
|
|
26
|
+
Note: the utility components, such as ClickAwayListener, NoSsr, Portal, and TextareaAutosize continue to be exported from both `@mui/material` and `@mui/base`.
|
|
27
|
+
|
|
28
|
+
If you're encountering build errors after upgrading @mui/material, do the following:
|
|
29
|
+
|
|
30
|
+
1. Install @mui/base: npm install @mui/base or yarn add @mui/base
|
|
31
|
+
2. Make sure the version of @mui/base match the version of @mui/material
|
|
32
|
+
3. Change the import paths of unstyled components from @mui/material to @mui/base, e.g.:
|
|
33
|
+
|
|
34
|
+
```diff
|
|
35
|
+
- @import ButtonUnstyled from '@mui/material/ButtonUnstyled';
|
|
36
|
+
+ @import ButtonUnstyled from '@mui/base/ButtonUnstyled';
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
#### Changes
|
|
40
|
+
|
|
41
|
+
- ​<!-- 30 -->[Autocomplete] Add `readOnly` prop (#30706) @ZeeshanTamboli
|
|
42
|
+
- ​<!-- 29 -->[Autocomplete] Fix typos in the page (#30737) @austinewuncler
|
|
43
|
+
- ​<!-- 14 -->[FormControlLabel][formgroup] add Mui-error class (#30656) @alisasanib
|
|
44
|
+
- ​<!-- 13 -->[Grid] Fix prop check for applying wrap-reverse (#30813) @Hubbz
|
|
45
|
+
- ​<!-- 07 -->[TextField] Remove notch when no label is added (#30560) @alisasanib
|
|
46
|
+
- ​<!-- 06 -->[TextField] Remove usage of dangerouslySetInnerHTML (#30776) @Jack-Works
|
|
47
|
+
- ​<!-- 05 -->[TreeView] Select node when key `Enter` is pressed (#30795) @dryrainbow
|
|
48
|
+
- ​<!-- 04 -->[useMediaQuery] Ensure no tearing in React 18 (#30655) @eps1lon
|
|
49
|
+
|
|
50
|
+
### `@mui/base@5.0.0-alpha.67`
|
|
51
|
+
|
|
52
|
+
- ​<!-- 11 -->[SelectUnstyled] Create unstyled select (+ hook) (#30113) @michaldudak
|
|
53
|
+
|
|
54
|
+
### `@mui/lab@5.0.0-alpha.67`
|
|
55
|
+
|
|
56
|
+
- ​<!-- 23 -->[DateTimePicker] Fix month view highlight wrong tab (#30773) @DiegoYungh
|
|
57
|
+
- ​<!-- 12 -->[pickers] Enable the sx props on all components (#30749) @boutahlilsoufiane
|
|
58
|
+
|
|
59
|
+
### Docs
|
|
60
|
+
|
|
61
|
+
- ​<!-- 28 -->[blog] Introducing callback support in style overrides (#30668) @siriwatknp
|
|
62
|
+
- ​<!-- 23 -->[docs] Add notifications for the blog posts (#30852) @siriwatknp
|
|
63
|
+
- ​<!-- 22 -->[docs] Improve the interoperability guide (#30785) @mnajdova
|
|
64
|
+
- ​<!-- 21 -->[docs] Improve the Getting Started documentation content (#30808) @mnajdova
|
|
65
|
+
- ​<!-- 20 -->[docs] Fix typo in ad fallback (#30823) @cherniavskii
|
|
66
|
+
- ​<!-- 19 -->[docs] Change ThemeProvider API links (#30705) @atakanzen
|
|
67
|
+
- ​<!-- 18 -->[docs] Retain vendor prefixing in rtl example (#30710) @ryancogswell
|
|
68
|
+
- ​<!-- 17 -->[docs] Fix typo in the Popper ScrollPlayground demo (#30780) @tanyabouman
|
|
69
|
+
- ​<!-- 16 -->[docs] Small fixes on the jss-to-tss migration guide (#30734) @garronej
|
|
70
|
+
- ​<!-- 15 -->[examples] Add Vite.js example (#28241) @goncalovf
|
|
71
|
+
|
|
72
|
+
### Core
|
|
73
|
+
|
|
74
|
+
- ​<!-- 29 -->[core] Clarify the label, to match with MUI X (#30831) @oliviertassinari
|
|
75
|
+
- ​<!-- 26 -->[core] Remove none code related instructions from git (#30843) @oliviertassinari
|
|
76
|
+
- ​<!-- 25 -->[core] Fix typos in comments for scripts (#30809) @aefox
|
|
77
|
+
- ​<!-- 24 -->[core] Fix 301 link in the blog @oliviertassinari
|
|
78
|
+
- ​<!-- 10 -->[test] Fix tests on Node 16 (#30819) @michaldudak
|
|
79
|
+
- ​<!-- 09 -->[test] Add explicit types to support noImplicityAny=false (#30798) @m4theushw
|
|
80
|
+
- ​<!-- 08 -->[test] Support React.useId format in \*DescriptionOf (#30657) @eps1lon
|
|
81
|
+
- ​<!-- 03 -->[website] Fix SEO issues (#30829) @oliviertassinari
|
|
82
|
+
- ​<!-- 02 -->[website] Add designer position page (#30708) @danilo-leal
|
|
83
|
+
- ​<!-- 01 -->[website] Polish /about page (#30747) @oliviertassinari
|
|
84
|
+
|
|
85
|
+
All contributors of this release in alphabetical order: @aefox, @alisasanib, @atakanzen, @austinewuncler, @boutahlilsoufiane, @cherniavskii, @danilo-leal, @DiegoYungh, @dryrainbow, @eps1lon, @garronej, @goncalovf, @Hubbz, @Jack-Works, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @ryancogswell, @siriwatknp, @tanyabouman, @ZeeshanTamboli
|
|
86
|
+
|
|
87
|
+
## 5.3.1
|
|
88
|
+
|
|
89
|
+
<!-- generated comparing v5.3.0..master -->
|
|
90
|
+
|
|
91
|
+
_Jan 24, 2022_
|
|
92
|
+
|
|
93
|
+
A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
94
|
+
|
|
95
|
+
- 🛠 @mnajdova added interoperability guide for using Tailwind CSS (#30700)
|
|
96
|
+
- A meaningful number of 🐛 bug fixes and 📚 documentation improvements.
|
|
97
|
+
|
|
98
|
+
### `@mui/icons-material@5.3.1`
|
|
99
|
+
|
|
100
|
+
- ​<!-- 04 -->[icons] Fix naming typos (#30512) @MrHBS
|
|
101
|
+
- ​<!-- 03 -->[icons] Makes material-icons work with Joy (#30681) @siriwatknp
|
|
102
|
+
|
|
103
|
+
### `@mui/base@5.0.0-alpha.66`
|
|
104
|
+
|
|
105
|
+
- ​<!-- 02 -->[SliderUnstyled] Improve typings on some internal utils (#30614) @mnajdova
|
|
106
|
+
|
|
107
|
+
### Core
|
|
108
|
+
|
|
109
|
+
- ​<!-- 24 -->[core] Batch small changes (#30690) @oliviertassinari
|
|
110
|
+
- ​<!-- 23 -->[core] Add new structure to ignore list crowdin (#30608) @siriwatknp
|
|
111
|
+
- ​<!-- 22 -->[core] Correct version in package.json (#30677) @michaldudak
|
|
112
|
+
- ​<!-- 01 -->[test] Fix buildApiUtils tests on Windows (#30698) @michaldudak
|
|
113
|
+
|
|
114
|
+
### Docs
|
|
115
|
+
|
|
116
|
+
- ​<!-- 26 -->[blog] Enable blog index (#30724) @siriwatknp
|
|
117
|
+
- ​<!-- 25 -->[blog] Introducing the Row Grouping feature (#30598) @alexfauquette
|
|
118
|
+
- ​<!-- 21 -->[docs] Fix SEO crawl errors (#30733) @oliviertassinari
|
|
119
|
+
- ​<!-- 20 -->[docs] Update migration-v4.md (#30721) @ddecrulle
|
|
120
|
+
- ​<!-- 19 -->[docs] Fix migration issues detected by `ahrefs` (#30751) @siriwatknp
|
|
121
|
+
- ​<!-- 18 -->[docs] Add interoprability guide for using Tailwind CSS (#30700) @mnajdova
|
|
122
|
+
- ​<!-- 17 -->[docs] Fix typo in containedSizeMedium class (#30723) @aaneitchik
|
|
123
|
+
- ​<!-- 16 -->[docs] Hotfix the wrong URL in X marketing page (#30729) @siriwatknp
|
|
124
|
+
- ​<!-- 15 -->[docs] Post migration preparation fix (#30716) @siriwatknp
|
|
125
|
+
- ​<!-- 14 -->[docs] Update remix example to restore from error pages (#30592) @mnajdova
|
|
126
|
+
- ​<!-- 13 -->[docs] Use new URLs when enable_redirects is true (#30704) @siriwatknp
|
|
127
|
+
- ​<!-- 12 -->[docs] Add a missing bracket in the migration-v4 guide (#30616) @chaosmirage
|
|
128
|
+
- ​<!-- 11 -->[docs] Add Checkbox color prop change (#30697) @aaneitchik
|
|
129
|
+
- ​<!-- 10 -->[docs] Fix migration to have singular urls (#30695) @siriwatknp
|
|
130
|
+
- ​<!-- 09 -->[docs] Update UXPin link to new landing page (#30691) @Evomatic
|
|
131
|
+
- ​<!-- 08 -->[docs] Close user menu on click in the responsive app bar demo (#30664) @NoahYarian
|
|
132
|
+
- ​<!-- 07 -->[docs] Clear the difference between UI and React components (#29930) @oliviertassinari
|
|
133
|
+
- ​<!-- 06 -->[docs] Make Autocomplete docs gender neutral (#30679) @exequielbc
|
|
134
|
+
- ​<!-- 05 -->[docs] Update doc structure for X components (#30684) @siriwatknp
|
|
135
|
+
|
|
136
|
+
All contributors of this release in alphabetical order: @aaneitchik, @alexfauquette, @chaosmirage, @ddecrulle, @Evomatic, @exequielbc, @michaldudak, @mnajdova, @MrHBS, @NoahYarian, @oliviertassinari, @siriwatknp
|
|
137
|
+
|
|
138
|
+
## 5.3.0
|
|
139
|
+
|
|
140
|
+
<!-- generated comparing v5.2.8..master -->
|
|
141
|
+
|
|
142
|
+
_Jan 17, 2022_
|
|
143
|
+
|
|
144
|
+
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
145
|
+
|
|
146
|
+
- 🛠 @siriwatknp added support for callbacks in styleOverrides (#30524)
|
|
147
|
+
- 🧩 @ZeeshanTamboli and @VicHofs improved customization of components (#30515, #30212)
|
|
148
|
+
- 🛠 @hbjORbj fixed the use of ResizeObserver in Masonry component (#29896)
|
|
149
|
+
- 📄 @danilo-leal and @siriwatknp created our own blog home page (#30121)
|
|
150
|
+
|
|
151
|
+
### `@mui/material@5.3.0`
|
|
152
|
+
|
|
153
|
+
- [Autocomplete] Add ability to pass props to `Paper` component (#30515) @ZeeshanTamboli
|
|
154
|
+
- [Select] Add defaultOpen prop (#30212) @VicHofs
|
|
155
|
+
|
|
156
|
+
### `@mui/system@5.3.0`
|
|
157
|
+
|
|
158
|
+
- [system][box, grid, typography] `textTransform` prop should work directly on component (#30437) @hbjORbj
|
|
159
|
+
- [system] Support callback value in `styleOverrides` slot (#30524) @siriwatknp
|
|
160
|
+
|
|
161
|
+
### `@mui/lab@5.0.0-alpha.65`
|
|
162
|
+
|
|
163
|
+
- [Masonry] Observe every masonry child to trigger computation when needed (#29896) @hbjORbj
|
|
164
|
+
- [MobileDatePicker] Fix calling onOpen when readOnly is true (#30561) @alisasanib
|
|
165
|
+
|
|
166
|
+
### `@mui/codemod@5.3.0`
|
|
167
|
+
|
|
168
|
+
- [codemod] Bump `jscodeshift` to remove `colors` dependency (#30578) @siriwatknp
|
|
169
|
+
|
|
170
|
+
### `@mui/styled-engine-sc@5.3.0`
|
|
171
|
+
|
|
172
|
+
- [styled-engine-sc] Add the withConfig API to enable using the babel plugin for styled-comonents (#30589) @mnajdova
|
|
173
|
+
|
|
174
|
+
### `@mui/joy@5.0.0-alpha.11`
|
|
175
|
+
|
|
176
|
+
- [Joy] Add `SvgIcon` component (#30570) @hbjORbj
|
|
177
|
+
|
|
178
|
+
### `@mui/base@5.0.0-alpha.65`
|
|
179
|
+
|
|
180
|
+
- [SliderUnstyled] Add useSlider hook and polish (#30094) @mnajdova
|
|
181
|
+
|
|
182
|
+
### Docs
|
|
183
|
+
|
|
184
|
+
- [docs] End code block in test/README.md (#30531) @yaboi
|
|
185
|
+
- [docs] Remove redundant grouping in /components/radio-buttons/ (#30065) @eps1lon
|
|
186
|
+
- [docs] Update migration scripts and e2e tests (#30583) @siriwatknp
|
|
187
|
+
- [docs] Fix migration guides for versions older than v4 (#30595) @kkirsche
|
|
188
|
+
- [docs] Inform about specific files for DataGrid locales (#30411) @alexfauquette
|
|
189
|
+
- [docs] jss-to-tss migration advise to drop clsx in favor of cx (#30527) @garronej
|
|
190
|
+
- [docs] Fix integration with MUI X (#30593) @oliviertassinari
|
|
191
|
+
- [docs] Adding peer dependencies explanation on @mui/lab README.md (#30532) @glaucoheitor
|
|
192
|
+
- [docs] Add missing quote in migration docs (#30587) @Atralbus
|
|
193
|
+
- [docs] Update link to Doit sponsor (#30586) @oliviertassinari
|
|
194
|
+
- [docs] Add products identifier and drawer (#30283) @siriwatknp
|
|
195
|
+
- [website] Fix code button with installation command (#30622) @danilo-leal
|
|
196
|
+
- [website] Add a Blog index page (#30121) @danilo-leal
|
|
197
|
+
- [website] Migrate Twitter from @MaterialUI to @MUI_hq @oliviertassinari
|
|
198
|
+
- [website] Add Andrii to the About Us page (#30581) @cherniavskii
|
|
199
|
+
|
|
200
|
+
### Core
|
|
201
|
+
|
|
202
|
+
- [core] Revert changes to peer dependencies (#30662) @oliviertassinari
|
|
203
|
+
- [core] Renovate should not try to update node (#30659) @oliviertassinari
|
|
204
|
+
- [core] Remove dead files (#30663) @oliviertassinari
|
|
205
|
+
- [core] Fix outdated TypeScript template (#30596) @oliviertassinari
|
|
206
|
+
- [core] Remove extra `</p>` from header of README.md (#30530) @yaboi
|
|
207
|
+
- [core] Fix `docs:api` script for Windows OS (#30533) @ZeeshanTamboli
|
|
208
|
+
|
|
209
|
+
All contributors of this release in alphabetical order: @alexfauquette, @alisasanib, @Atralbus, @cherniavskii, @danilo-leal, @eps1lon, @garronej, @glaucoheitor, @hbjORbj, @kkirsche, @mnajdova, @oliviertassinari, @siriwatknp, @VicHofs, @yaboi, @ZeeshanTamboli
|
|
210
|
+
|
|
211
|
+
## 5.2.8
|
|
212
|
+
|
|
213
|
+
<!-- generated comparing v5.2.7..master -->
|
|
214
|
+
|
|
215
|
+
_Jan 10, 2022_
|
|
216
|
+
|
|
217
|
+
A big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
218
|
+
|
|
219
|
+
- A meaningful number of 🐛 bug fixes and 📚 documentation improvements.
|
|
220
|
+
|
|
221
|
+
### `@mui/material@5.2.8`
|
|
222
|
+
|
|
223
|
+
- ​<!-- 05 -->[TextField][inputlabel] Remove `pointer-events: none` property (#30493) @hbjORbj
|
|
224
|
+
- ​<!-- 02 -->[Slider] Add `input` slot to components and componentsProps (#30362) @alexandre-lelain
|
|
225
|
+
|
|
226
|
+
### `@mui/joy@5.0.0-alpha.10`
|
|
227
|
+
|
|
228
|
+
- ​<!-- 04 -->[Joy] Add `Typography` component (#30489) @siriwatknp
|
|
229
|
+
- ​<!-- 03 -->[Joy] Add functional `Switch` component (#30487) @siriwatknp
|
|
230
|
+
|
|
231
|
+
### Docs
|
|
232
|
+
|
|
233
|
+
- ​<!-- 18 -->[docs] Update markdown parser to remove backticks from description (#30495) @aefox
|
|
234
|
+
- ​<!-- 17 -->[docs] Fix the crash when applying custom colors (#30563) @siriwatknp
|
|
235
|
+
- ​<!-- 16 -->[docs] Location change of Sebastian (#30528) @eps1lon
|
|
236
|
+
- ​<!-- 15 -->[docs] Lint markdown in the CI (#30395) @oliviertassinari
|
|
237
|
+
- ​<!-- 14 -->[docs] Fix `componentsProps` API docs and PropTypes (#30502) @ZeeshanTamboli
|
|
238
|
+
- ​<!-- 13 -->[docs] Codemod doc for overriding styles using tss (#30499) @garronej
|
|
239
|
+
- ​<!-- 12 -->[docs] fix edge case when replacing data-grid url for migration (#30505) @siriwatknp
|
|
240
|
+
- ​<!-- 11 -->[docs] fix replace url for migration (#30503) @siriwatknp
|
|
241
|
+
- ​<!-- 10 -->[docs] Prepare scripts for migrating to new structure (#30386) @siriwatknp
|
|
242
|
+
- ​<!-- 09 -->[docs] Adjust RTL Guide demos to fully support RTL (#30387) @noam-honig
|
|
243
|
+
- ​<!-- 08 -->[docs] Move @eps1lon to community (#30473) @oliviertassinari
|
|
244
|
+
- ​<!-- 07 -->[docs] Fix typo and spelling in the-sx-prop.md (#30482) @aefox
|
|
245
|
+
- ​<!-- 06 -->[docs] More general docs polishing (#30371) @danilo-leal
|
|
246
|
+
- ​<!-- 01 -->[website] Add José on the /about page (#30492) @danilo-leal
|
|
247
|
+
|
|
248
|
+
All contributors of this release in alphabetical order: @aefox, @alexandre-lelain, @danilo-leal, @eps1lon, @garronej, @hbjORbj, @noam-honig, @oliviertassinari, @siriwatknp, @ZeeshanTamboli
|
|
2
249
|
|
|
3
250
|
## 5.2.7
|
|
4
251
|
|
|
@@ -1225,7 +1472,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
1225
1472
|
|
|
1226
1473
|
replace `@material-ui/*` prefix with `@mui/*`:
|
|
1227
1474
|
|
|
1228
|
-
```
|
|
1475
|
+
```sh
|
|
1229
1476
|
@material-ui/system -> @mui/system
|
|
1230
1477
|
@material-ui/styles -> @mui/styles
|
|
1231
1478
|
@material-ui/lab -> @mui/lab
|
|
@@ -1238,7 +1485,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
1238
1485
|
|
|
1239
1486
|
except these 3 packages that are renamed.
|
|
1240
1487
|
|
|
1241
|
-
```
|
|
1488
|
+
```sh
|
|
1242
1489
|
@material-ui/core => @mui/material // represents Material Design components.
|
|
1243
1490
|
@material-ui/icons => @mui/icons-material // represents Material Design icons.
|
|
1244
1491
|
@material-ui/unstyled => @mui/base // fully functional components with minimum styles.
|
|
@@ -2611,6 +2858,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
2611
2858
|
```
|
|
2612
2859
|
|
|
2613
2860
|
- ​<!-- 63 -->[Autocomplete] Rename getOptionSelected to isOptionEqualToValue (#26173) @m4theushw
|
|
2861
|
+
|
|
2614
2862
|
```diff
|
|
2615
2863
|
<Autocomplete
|
|
2616
2864
|
- getOptionSelected={(option, value) => option.title === value.title}
|
|
@@ -4184,7 +4432,7 @@ All contributors of this release in alphabetical order: @artola, @CyanoFresh, @d
|
|
|
4184
4432
|
|
|
4185
4433
|
## 5.0.0-alpha.23
|
|
4186
4434
|
|
|
4187
|
-
|
|
4435
|
+
_Jan 14, 2021_
|
|
4188
4436
|
|
|
4189
4437
|
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
4190
4438
|
|
|
@@ -4299,7 +4547,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
4299
4547
|
|
|
4300
4548
|
## 5.0.0-alpha.22
|
|
4301
4549
|
|
|
4302
|
-
|
|
4550
|
+
_Jan 4, 2021_
|
|
4303
4551
|
|
|
4304
4552
|
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
4305
4553
|
|
|
@@ -4351,7 +4599,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
4351
4599
|
|
|
4352
4600
|
## 5.0.0-alpha.21
|
|
4353
4601
|
|
|
4354
|
-
|
|
4602
|
+
_Dec 30, 2020_
|
|
4355
4603
|
|
|
4356
4604
|
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
4357
4605
|
|
|
@@ -4424,7 +4672,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
4424
4672
|
|
|
4425
4673
|
## 5.0.0-alpha.20
|
|
4426
4674
|
|
|
4427
|
-
|
|
4675
|
+
_Dec 21, 2020_
|
|
4428
4676
|
|
|
4429
4677
|
A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
4430
4678
|
|
|
@@ -4502,7 +4750,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
4502
4750
|
|
|
4503
4751
|
## 5.0.0-alpha.19
|
|
4504
4752
|
|
|
4505
|
-
|
|
4753
|
+
_Dec 13, 2020_
|
|
4506
4754
|
|
|
4507
4755
|
A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
|
|
4508
4756
|
|
|
@@ -4630,7 +4878,7 @@ A big thanks to the 24 contributors who made this release possible. Here are som
|
|
|
4630
4878
|
|
|
4631
4879
|
## 5.0.0-alpha.18
|
|
4632
4880
|
|
|
4633
|
-
|
|
4881
|
+
_Dec 3, 2020_
|
|
4634
4882
|
|
|
4635
4883
|
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
4636
4884
|
|
|
@@ -4722,7 +4970,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
4722
4970
|
|
|
4723
4971
|
## 5.0.0-alpha.17
|
|
4724
4972
|
|
|
4725
|
-
|
|
4973
|
+
_Nov 23, 2020_
|
|
4726
4974
|
|
|
4727
4975
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
4728
4976
|
|
|
@@ -4889,7 +5137,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
4889
5137
|
|
|
4890
5138
|
## 5.0.0-alpha.16
|
|
4891
5139
|
|
|
4892
|
-
|
|
5140
|
+
_Nov 14, 2020_
|
|
4893
5141
|
|
|
4894
5142
|
A big thanks to the 34 contributors who made this release possible. Here are some highlights ✨:
|
|
4895
5143
|
|
|
@@ -4993,7 +5241,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
|
|
|
4993
5241
|
|
|
4994
5242
|
## 5.0.0-alpha.15
|
|
4995
5243
|
|
|
4996
|
-
|
|
5244
|
+
_Nov 4, 2020_
|
|
4997
5245
|
|
|
4998
5246
|
A big thanks to the 20 contributors who made this release possible. Here are some highlights ✨:
|
|
4999
5247
|
|
|
@@ -5105,7 +5353,7 @@ A big thanks to the 20 contributors who made this release possible. Here are som
|
|
|
5105
5353
|
|
|
5106
5354
|
## 5.0.0-alpha.14
|
|
5107
5355
|
|
|
5108
|
-
|
|
5356
|
+
_Oct 23, 2020_
|
|
5109
5357
|
|
|
5110
5358
|
A big thanks to the 23 contributors who made this release possible.
|
|
5111
5359
|
Here are some highlights ✨:
|
|
@@ -5156,12 +5404,14 @@ Here are some highlights ✨:
|
|
|
5156
5404
|
You can read [their migration guide](https://popper.js.org/docs/v2/migration-guide/) or the following summary:
|
|
5157
5405
|
|
|
5158
5406
|
- The CSS prefixes have changed:
|
|
5407
|
+
|
|
5159
5408
|
```diff
|
|
5160
5409
|
popper: {
|
|
5161
5410
|
zIndex: 1,
|
|
5162
5411
|
- '&[x-placement*="bottom"] $arrow': {
|
|
5163
5412
|
+ '&[data-popper-placement*="bottom"] $arrow': {
|
|
5164
5413
|
```
|
|
5414
|
+
|
|
5165
5415
|
- Method names have changed.
|
|
5166
5416
|
|
|
5167
5417
|
```diff
|
|
@@ -5276,7 +5526,7 @@ Here are some highlights ✨:
|
|
|
5276
5526
|
|
|
5277
5527
|
## 5.0.0-alpha.13
|
|
5278
5528
|
|
|
5279
|
-
|
|
5529
|
+
_Oct 17, 2020_
|
|
5280
5530
|
|
|
5281
5531
|
A big thanks to the 25 contributors who made this release possible.
|
|
5282
5532
|
Here are some highlights ✨:
|
|
@@ -5402,7 +5652,7 @@ Here are some highlights ✨:
|
|
|
5402
5652
|
|
|
5403
5653
|
## 5.0.0-alpha.12
|
|
5404
5654
|
|
|
5405
|
-
|
|
5655
|
+
_Oct 11, 2020_
|
|
5406
5656
|
|
|
5407
5657
|
A big thanks to the 45 contributors who made this release possible.
|
|
5408
5658
|
Here are some highlights ✨:
|
|
@@ -5626,7 +5876,7 @@ Here are some highlights ✨:
|
|
|
5626
5876
|
|
|
5627
5877
|
## 5.0.0-alpha.11
|
|
5628
5878
|
|
|
5629
|
-
|
|
5879
|
+
_Sep 26, 2020_
|
|
5630
5880
|
|
|
5631
5881
|
A big thanks to the 29 contributors who made this release possible.
|
|
5632
5882
|
Here are some highlights ✨:
|
|
@@ -5642,7 +5892,7 @@ Here are some highlights ✨:
|
|
|
5642
5892
|
Last but not least, the change allows us to take advantage dynamic style props. We will use them for dynamic color props, variant props, and new style props (an improved [system](https://mui.com/system/basics/)).
|
|
5643
5893
|
|
|
5644
5894
|
This change has been in our roadmap for more than a year.
|
|
5645
|
-
We announced it in the [v4 release blog post](https://
|
|
5895
|
+
We announced it in the [v4 release blog post](https://mui.com/blog/material-ui-v4-is-out/) as a direction v5 would take.
|
|
5646
5896
|
|
|
5647
5897
|
- 🛠 A first iteration on the unstyled components.
|
|
5648
5898
|
|
|
@@ -5860,7 +6110,7 @@ More documentation are coming.
|
|
|
5860
6110
|
|
|
5861
6111
|
## 5.0.0-alpha.10
|
|
5862
6112
|
|
|
5863
|
-
|
|
6113
|
+
_Sep 15, 2020_
|
|
5864
6114
|
|
|
5865
6115
|
A big thanks to the 16 contributors who made this release possible.
|
|
5866
6116
|
Here are some highlights ✨:
|
|
@@ -5925,13 +6175,13 @@ Here are some highlights ✨:
|
|
|
5925
6175
|
|
|
5926
6176
|
Before:
|
|
5927
6177
|
|
|
5928
|
-
```
|
|
6178
|
+
```sh
|
|
5929
6179
|
theme.spacing(2) => 16
|
|
5930
6180
|
```
|
|
5931
6181
|
|
|
5932
6182
|
After:
|
|
5933
6183
|
|
|
5934
|
-
```
|
|
6184
|
+
```sh
|
|
5935
6185
|
theme.spacing(2) => '16px'
|
|
5936
6186
|
```
|
|
5937
6187
|
|
|
@@ -5990,7 +6240,7 @@ Here are some highlights ✨:
|
|
|
5990
6240
|
|
|
5991
6241
|
## 5.0.0-alpha.9
|
|
5992
6242
|
|
|
5993
|
-
|
|
6243
|
+
_Sep 6, 2020_
|
|
5994
6244
|
|
|
5995
6245
|
A big thanks to the 14 contributors who made this release possible.
|
|
5996
6246
|
Here are some highlights ✨:
|
|
@@ -6043,7 +6293,7 @@ Here are some highlights ✨:
|
|
|
6043
6293
|
|
|
6044
6294
|
## 5.0.0-alpha.8
|
|
6045
6295
|
|
|
6046
|
-
|
|
6296
|
+
_Aug 31, 2020_
|
|
6047
6297
|
|
|
6048
6298
|
A big thanks to the 19 contributors who made this release possible.
|
|
6049
6299
|
Here are some highlights ✨:
|
|
@@ -6219,7 +6469,7 @@ const theme = createMuiTheme({
|
|
|
6219
6469
|
|
|
6220
6470
|
## 5.0.0-alpha.7
|
|
6221
6471
|
|
|
6222
|
-
|
|
6472
|
+
_Aug 22, 2020_
|
|
6223
6473
|
|
|
6224
6474
|
A big thanks to the 22 contributors who made this release possible.
|
|
6225
6475
|
Here are some highlights ✨:
|
|
@@ -6349,7 +6599,7 @@ Here are some highlights ✨:
|
|
|
6349
6599
|
|
|
6350
6600
|
## 5.0.0-alpha.6
|
|
6351
6601
|
|
|
6352
|
-
|
|
6602
|
+
_Aug 13, 2020_
|
|
6353
6603
|
|
|
6354
6604
|
A big thanks to the 26 contributors who made this release possible.
|
|
6355
6605
|
Here are some highlights ✨:
|
|
@@ -6392,7 +6642,7 @@ Here are some highlights ✨:
|
|
|
6392
6642
|
|
|
6393
6643
|
### `@material-ui/core@v5.0.0-alpha.6`
|
|
6394
6644
|
|
|
6395
|
-
|
|
6645
|
+
#### Breaking changes
|
|
6396
6646
|
|
|
6397
6647
|
- [Avatar] Rename variant circle -> circular for consistency (#22015) @kodai3
|
|
6398
6648
|
Rename `circle` to `circular` for consistency. The possible values should be adjectives, not nouns:
|
|
@@ -6551,7 +6801,7 @@ Here are some highlights ✨:
|
|
|
6551
6801
|
+},
|
|
6552
6802
|
```
|
|
6553
6803
|
|
|
6554
|
-
|
|
6804
|
+
#### Changes
|
|
6555
6805
|
|
|
6556
6806
|
- [Avatar] Custom variant (#22139) @mnajdova
|
|
6557
6807
|
- [Badge] Add missing class key (#22095) @kodai3
|
|
@@ -6571,7 +6821,7 @@ Here are some highlights ✨:
|
|
|
6571
6821
|
|
|
6572
6822
|
### `@material-ui/lab@v5.0.0-alpha.6`
|
|
6573
6823
|
|
|
6574
|
-
|
|
6824
|
+
#### Breaking changes
|
|
6575
6825
|
|
|
6576
6826
|
- [Skeleton] Rename variant circle -> circular and rect -> rectangular for consistency (#22053) @kodai3
|
|
6577
6827
|
Rename `circle` to `circular` and `rect` to `rectangular` for consistency. The possible values should be adjectives, not nouns:
|
|
@@ -6583,7 +6833,7 @@ Here are some highlights ✨:
|
|
|
6583
6833
|
+<Skeleton variant="rectangular">
|
|
6584
6834
|
```
|
|
6585
6835
|
|
|
6586
|
-
|
|
6836
|
+
#### Changes
|
|
6587
6837
|
|
|
6588
6838
|
- [Autocomplete] Add support for "{label: string}" data type as a default for "options" (#21992) @DanailH
|
|
6589
6839
|
- [TreeView] Add disabled prop (#20133) @netochaves
|
|
@@ -6635,7 +6885,7 @@ Here are some highlights ✨:
|
|
|
6635
6885
|
|
|
6636
6886
|
## 5.0.0-alpha.5
|
|
6637
6887
|
|
|
6638
|
-
|
|
6888
|
+
_July 28, 2020_
|
|
6639
6889
|
|
|
6640
6890
|
A big thanks to the 18 contributors who made this release possible.
|
|
6641
6891
|
|
|
@@ -6706,7 +6956,7 @@ A big thanks to the 18 contributors who made this release possible.
|
|
|
6706
6956
|
|
|
6707
6957
|
## 5.0.0-alpha.4
|
|
6708
6958
|
|
|
6709
|
-
|
|
6959
|
+
_July 19, 2020_
|
|
6710
6960
|
|
|
6711
6961
|
A big thanks to the 11 contributors who made this release possible.
|
|
6712
6962
|
|
|
@@ -6748,7 +6998,7 @@ A big thanks to the 11 contributors who made this release possible.
|
|
|
6748
6998
|
|
|
6749
6999
|
## 5.0.0-alpha.3
|
|
6750
7000
|
|
|
6751
|
-
|
|
7001
|
+
_July 12, 2020_
|
|
6752
7002
|
|
|
6753
7003
|
A big thanks to the 14 contributors who made this release possible.
|
|
6754
7004
|
|
|
@@ -6797,7 +7047,7 @@ A big thanks to the 14 contributors who made this release possible.
|
|
|
6797
7047
|
|
|
6798
7048
|
## 5.0.0-alpha.2
|
|
6799
7049
|
|
|
6800
|
-
|
|
7050
|
+
_July 4, 2020_
|
|
6801
7051
|
|
|
6802
7052
|
A big thanks to the 16 contributors who made this release possible.
|
|
6803
7053
|
|
|
@@ -6859,7 +7109,7 @@ A big thanks to the 16 contributors who made this release possible.
|
|
|
6859
7109
|
|
|
6860
7110
|
## 5.0.0-alpha.1
|
|
6861
7111
|
|
|
6862
|
-
|
|
7112
|
+
_June 27, 2020_
|
|
6863
7113
|
|
|
6864
7114
|
A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
|
|
6865
7115
|
|
|
@@ -6975,6 +7225,7 @@ A big thanks to the 33 contributors who made this release possible. Here are som
|
|
|
6975
7225
|
```
|
|
6976
7226
|
|
|
6977
7227
|
- [Accordion] typescript: The `event` in `onChange` is no longer typed as a `React.ChangeEvent` but `React.SyntheticEvent`.
|
|
7228
|
+
|
|
6978
7229
|
```diff
|
|
6979
7230
|
-<Accordion onChange={(event: React.ChangeEvent<{}>, expanded: boolean) => {}} />
|
|
6980
7231
|
+<Accordion onChange={(event: React.SyntheticEvent, expanded: boolean) => {}} />
|
|
@@ -12,16 +12,12 @@ import SlideTransition from './PickersSlideTransition';
|
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
const weeksContainerHeight = (DAY_SIZE + DAY_MARGIN * 4) * 6;
|
|
15
|
-
const PickersCalendarDayHeader = styled('div'
|
|
16
|
-
skipSx: true
|
|
17
|
-
})({
|
|
15
|
+
const PickersCalendarDayHeader = styled('div')({
|
|
18
16
|
display: 'flex',
|
|
19
17
|
justifyContent: 'center',
|
|
20
18
|
alignItems: 'center'
|
|
21
19
|
});
|
|
22
|
-
const PickersCalendarWeekDayLabel = styled(Typography
|
|
23
|
-
skipSx: true
|
|
24
|
-
})(({
|
|
20
|
+
const PickersCalendarWeekDayLabel = styled(Typography)(({
|
|
25
21
|
theme
|
|
26
22
|
}) => ({
|
|
27
23
|
width: 36,
|
|
@@ -33,27 +29,19 @@ const PickersCalendarWeekDayLabel = styled(Typography, {
|
|
|
33
29
|
alignItems: 'center',
|
|
34
30
|
color: theme.palette.text.secondary
|
|
35
31
|
}));
|
|
36
|
-
const PickersCalendarLoadingContainer = styled('div'
|
|
37
|
-
skipSx: true
|
|
38
|
-
})({
|
|
32
|
+
const PickersCalendarLoadingContainer = styled('div')({
|
|
39
33
|
display: 'flex',
|
|
40
34
|
justifyContent: 'center',
|
|
41
35
|
alignItems: 'center',
|
|
42
36
|
minHeight: weeksContainerHeight
|
|
43
37
|
});
|
|
44
|
-
const PickersCalendarSlideTransition = styled(SlideTransition
|
|
45
|
-
skipSx: true
|
|
46
|
-
})({
|
|
38
|
+
const PickersCalendarSlideTransition = styled(SlideTransition)({
|
|
47
39
|
minHeight: weeksContainerHeight
|
|
48
40
|
});
|
|
49
|
-
const PickersCalendarWeekContainer = styled('div'
|
|
50
|
-
skipSx: true
|
|
51
|
-
})({
|
|
41
|
+
const PickersCalendarWeekContainer = styled('div')({
|
|
52
42
|
overflow: 'hidden'
|
|
53
43
|
});
|
|
54
|
-
const PickersCalendarWeek = styled('div'
|
|
55
|
-
skipSx: true
|
|
56
|
-
})({
|
|
44
|
+
const PickersCalendarWeek = styled('div')({
|
|
57
45
|
margin: `${DAY_MARGIN}px 0`,
|
|
58
46
|
display: 'flex',
|
|
59
47
|
justifyContent: 'center'
|
|
@@ -11,9 +11,7 @@ import PickersArrowSwitcher from '../internal/pickers/PickersArrowSwitcher';
|
|
|
11
11
|
import { usePreviousMonthDisabled, useNextMonthDisabled } from '../internal/pickers/hooks/date-helpers-hooks';
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
const PickersCalendarHeaderRoot = styled('div'
|
|
15
|
-
skipSx: true
|
|
16
|
-
})({
|
|
14
|
+
const PickersCalendarHeaderRoot = styled('div')({
|
|
17
15
|
display: 'flex',
|
|
18
16
|
alignItems: 'center',
|
|
19
17
|
marginTop: 16,
|
|
@@ -24,9 +22,7 @@ const PickersCalendarHeaderRoot = styled('div', {
|
|
|
24
22
|
maxHeight: 30,
|
|
25
23
|
minHeight: 30
|
|
26
24
|
});
|
|
27
|
-
const PickersCalendarHeaderLabel = styled('div'
|
|
28
|
-
skipSx: true
|
|
29
|
-
})(({
|
|
25
|
+
const PickersCalendarHeaderLabel = styled('div')(({
|
|
30
26
|
theme
|
|
31
27
|
}) => _extends({
|
|
32
28
|
display: 'flex',
|
|
@@ -38,19 +34,13 @@ const PickersCalendarHeaderLabel = styled('div', {
|
|
|
38
34
|
}, theme.typography.body1, {
|
|
39
35
|
fontWeight: theme.typography.fontWeightMedium
|
|
40
36
|
}));
|
|
41
|
-
const PickersCalendarHeaderLabelItem = styled('div'
|
|
42
|
-
skipSx: true
|
|
43
|
-
})({
|
|
37
|
+
const PickersCalendarHeaderLabelItem = styled('div')({
|
|
44
38
|
marginRight: 6
|
|
45
39
|
});
|
|
46
|
-
const PickersCalendarHeaderSwitchViewButton = styled(IconButton
|
|
47
|
-
skipSx: true
|
|
48
|
-
})({
|
|
40
|
+
const PickersCalendarHeaderSwitchViewButton = styled(IconButton)({
|
|
49
41
|
marginRight: 'auto'
|
|
50
42
|
});
|
|
51
|
-
const PickersCalendarHeaderSwitchView = styled(ArrowDropDownIcon
|
|
52
|
-
skipSx: true
|
|
53
|
-
})(({
|
|
43
|
+
const PickersCalendarHeaderSwitchView = styled(ArrowDropDownIcon)(({
|
|
54
44
|
theme,
|
|
55
45
|
ownerState
|
|
56
46
|
}) => _extends({
|
|
@@ -7,9 +7,7 @@ import { TransitionGroup } from 'react-transition-group';
|
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
const classes = generateUtilityClasses('PrivatePickersFadeTransitionGroup', ['root']);
|
|
9
9
|
const animationDuration = 500;
|
|
10
|
-
const PickersFadeTransitionGroupRoot = styled(TransitionGroup
|
|
11
|
-
skipSx: true
|
|
12
|
-
})({
|
|
10
|
+
const PickersFadeTransitionGroupRoot = styled(TransitionGroup)({
|
|
13
11
|
display: 'block',
|
|
14
12
|
position: 'relative'
|
|
15
13
|
});
|
|
@@ -9,9 +9,7 @@ import { CSSTransition, TransitionGroup } from 'react-transition-group';
|
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
const classes = generateUtilityClasses('PrivatePickersSlideTransition', ['root', 'slideEnter-left', 'slideEnter-right', 'slideEnterActive', 'slideEnterActive', 'slideExit', 'slideExitActiveLeft-left', 'slideExitActiveLeft-right']);
|
|
11
11
|
export const slideAnimationDuration = 350;
|
|
12
|
-
const PickersSlideTransitionRoot = styled(TransitionGroup
|
|
13
|
-
skipSx: true
|
|
14
|
-
})(({
|
|
12
|
+
const PickersSlideTransitionRoot = styled(TransitionGroup)(({
|
|
15
13
|
theme
|
|
16
14
|
}) => {
|
|
17
15
|
const slideTransition = theme.transitions.create('transform', {
|