@mui/lab 5.0.0-alpha.85 → 5.0.0-alpha.88
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 +224 -14
- package/CalendarPicker/CalendarPicker.js +4 -2
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
- package/ClockPicker/ClockPicker.js +4 -2
- package/DatePicker/DatePicker.js +4 -7
- package/DateRangePicker/DateRangePicker.js +0 -14
- package/DateTimePicker/DateTimePicker.js +4 -7
- package/DesktopDatePicker/DesktopDatePicker.js +4 -7
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -14
- package/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
- package/DesktopTimePicker/DesktopTimePicker.js +4 -7
- package/LocalizationProvider/LocalizationProvider.js +4 -2
- package/Masonry/Masonry.js +8 -3
- package/MobileDatePicker/MobileDatePicker.js +4 -7
- package/MobileDateRangePicker/MobileDateRangePicker.js +0 -14
- package/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
- package/MobileTimePicker/MobileTimePicker.js +4 -7
- package/MonthPicker/MonthPicker.js +4 -2
- package/PickersDay/PickersDay.js +4 -2
- package/README.md +1 -1
- package/StaticDatePicker/StaticDatePicker.js +4 -7
- package/StaticDateRangePicker/StaticDateRangePicker.js +0 -14
- package/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
- package/StaticTimePicker/StaticTimePicker.js +4 -7
- package/TimePicker/TimePicker.js +4 -7
- package/YearPicker/YearPicker.js +3 -2
- package/index.js +1 -1
- package/legacy/CalendarPicker/CalendarPicker.js +4 -2
- package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
- package/legacy/ClockPicker/ClockPicker.js +4 -2
- package/legacy/DatePicker/DatePicker.js +4 -7
- package/legacy/DateRangePicker/DateRangePicker.js +0 -14
- package/legacy/DateTimePicker/DateTimePicker.js +4 -7
- package/legacy/DesktopDatePicker/DesktopDatePicker.js +4 -7
- package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -14
- package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
- package/legacy/DesktopTimePicker/DesktopTimePicker.js +4 -7
- package/legacy/LocalizationProvider/LocalizationProvider.js +4 -2
- package/legacy/Masonry/Masonry.js +8 -3
- package/legacy/MobileDatePicker/MobileDatePicker.js +4 -7
- package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +0 -14
- package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
- package/legacy/MobileTimePicker/MobileTimePicker.js +4 -7
- package/legacy/MonthPicker/MonthPicker.js +4 -2
- package/legacy/PickersDay/PickersDay.js +4 -2
- package/legacy/StaticDatePicker/StaticDatePicker.js +4 -7
- package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +0 -14
- package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
- package/legacy/StaticTimePicker/StaticTimePicker.js +4 -7
- package/legacy/TimePicker/TimePicker.js +4 -7
- package/legacy/YearPicker/YearPicker.js +3 -2
- package/legacy/index.js +1 -1
- package/modern/CalendarPicker/CalendarPicker.js +4 -2
- package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
- package/modern/ClockPicker/ClockPicker.js +4 -2
- package/modern/DatePicker/DatePicker.js +4 -7
- package/modern/DateRangePicker/DateRangePicker.js +0 -14
- package/modern/DateTimePicker/DateTimePicker.js +4 -7
- package/modern/DesktopDatePicker/DesktopDatePicker.js +4 -7
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -14
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
- package/modern/DesktopTimePicker/DesktopTimePicker.js +4 -7
- package/modern/LocalizationProvider/LocalizationProvider.js +4 -2
- package/modern/Masonry/Masonry.js +8 -3
- package/modern/MobileDatePicker/MobileDatePicker.js +4 -7
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +0 -14
- package/modern/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
- package/modern/MobileTimePicker/MobileTimePicker.js +4 -7
- package/modern/MonthPicker/MonthPicker.js +4 -2
- package/modern/PickersDay/PickersDay.js +4 -2
- package/modern/StaticDatePicker/StaticDatePicker.js +4 -7
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +0 -14
- package/modern/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
- package/modern/StaticTimePicker/StaticTimePicker.js +4 -7
- package/modern/TimePicker/TimePicker.js +4 -7
- package/modern/YearPicker/YearPicker.js +3 -2
- package/modern/index.js +1 -1
- package/node/CalendarPicker/CalendarPicker.js +4 -2
- package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
- package/node/ClockPicker/ClockPicker.js +4 -2
- package/node/DatePicker/DatePicker.js +4 -7
- package/node/DateRangePicker/DateRangePicker.js +0 -17
- package/node/DateTimePicker/DateTimePicker.js +4 -7
- package/node/DesktopDatePicker/DesktopDatePicker.js +4 -7
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -17
- package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
- package/node/DesktopTimePicker/DesktopTimePicker.js +4 -7
- package/node/LocalizationProvider/LocalizationProvider.js +4 -2
- package/node/Masonry/Masonry.js +9 -3
- package/node/MobileDatePicker/MobileDatePicker.js +4 -7
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +0 -17
- package/node/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
- package/node/MobileTimePicker/MobileTimePicker.js +4 -7
- package/node/MonthPicker/MonthPicker.js +4 -2
- package/node/PickersDay/PickersDay.js +4 -2
- package/node/StaticDatePicker/StaticDatePicker.js +4 -7
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +0 -17
- package/node/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
- package/node/StaticTimePicker/StaticTimePicker.js +4 -7
- package/node/TimePicker/TimePicker.js +4 -7
- package/node/YearPicker/YearPicker.js +3 -2
- package/node/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,215 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.8.6
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.8.5..master -->
|
|
6
|
+
|
|
7
|
+
_Jun 27, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- ⚒️ Fixed React 18 issues in few components
|
|
12
|
+
- 🚀 Improved the TypeScript augmentation when using CSS variables with `@mui/material`
|
|
13
|
+
- many other 🐛 bug fixes and 📚 documentation improvements
|
|
14
|
+
|
|
15
|
+
### `@mui/material@5.8.6`
|
|
16
|
+
|
|
17
|
+
- ​<!-- 27 -->[Alert] Add support for CSS vars (#32624) @haneenmahd
|
|
18
|
+
- ​<!-- 26 -->[Alert] Use `getContrastText` for filled variant font color (#29813) @SamoraMabuya
|
|
19
|
+
|
|
20
|
+
Note: The color of the text in the warning contained `Alert` in dark mode was changed to black in order to improve the color contrast ratio
|
|
21
|
+
|
|
22
|
+
- ​<!-- 11 -->[OutlinedInput] Fix `ownerState` undefined in theme style overrides (#33241) @siriwatknp
|
|
23
|
+
- ​<!-- 08 -->[Tabs] Fix crash when used with React 18 & Suspense (#33277) @mnajdova
|
|
24
|
+
- ​<!-- 05 -->[TypeScript] Add CSS vars type augmentation for Material UI (#33211) @siriwatknp
|
|
25
|
+
|
|
26
|
+
### `@mui/system@5.8.6`
|
|
27
|
+
|
|
28
|
+
- ​<!-- 09 -->[system] Add enableColorScheme option to getInitColorSchemeScript (#33261) @siriwatknp
|
|
29
|
+
|
|
30
|
+
### `@mui/utils@5.8.6`
|
|
31
|
+
|
|
32
|
+
- ​<!-- 04 -->[utils] Allow state prefix to be configurable (#32972) @siriwatknp
|
|
33
|
+
|
|
34
|
+
### `@mui/base@5.0.0-alpha.87`
|
|
35
|
+
|
|
36
|
+
- ​<!-- 25 -->[base] Improve the return type of useSlotProps (#33279) @michaldudak
|
|
37
|
+
- ​<!-- 24 -->[base] Improve some types (#33270) @mnajdova
|
|
38
|
+
- ​<!-- 13 -->[MenuUnstyled] Fix keyboard accessibility of menu items (#33145) @michaldudak
|
|
39
|
+
- ​<!-- 12 -->[ModalManager] Lock body scroll when container is inside shadow DOM (#33168) @jacobweberbowery
|
|
40
|
+
- ​<!-- 10 -->[SliderUnstyled] Use useSlotProps (#33132) @michaldudak
|
|
41
|
+
- ​<!-- 07 -->[TextareaAutosize] Fix crash when used with React 18 & Suspense (#33238) @howlettt
|
|
42
|
+
- ​<!-- 06 -->[TextareaAutosize] Fix warnings for too many renders in React 18 (#33253) @mnajdova
|
|
43
|
+
|
|
44
|
+
### `@mui/joy@5.0.0-alpha.34`
|
|
45
|
+
|
|
46
|
+
- ​<!-- 14 -->[Joy] Add `Sheet` doc (#32820) @hbjORbj
|
|
47
|
+
|
|
48
|
+
### Docs
|
|
49
|
+
|
|
50
|
+
- ​<!-- 23 -->[blog] Polish Why you should migrate to Material UI v5 today (#33244) @oliviertassinari
|
|
51
|
+
- ​<!-- 21 -->[docs] Add note in docs about `componentsProps.root` taking precedence (#33097) @ZeeshanTamboli
|
|
52
|
+
- ​<!-- 20 -->[docs] Remove a note about Base components being reexported from Material UI (#33265) @michaldudak
|
|
53
|
+
- ​<!-- 19 -->[docs] Update code snippet in docs for custom color palette (#32946) @ZeeshanTamboli
|
|
54
|
+
- ​<!-- 18 -->[docs] Fix the docs for production class generation (#31933) @Fafruch
|
|
55
|
+
- ​<!-- 17 -->[docs] Fix internal link in Box page (#33149) @davidgarciab
|
|
56
|
+
- ​<!-- 16 -->[docs] Badge component link in Base docs should be under Data Display section (#33249) @ZeeshanTamboli
|
|
57
|
+
- ​<!-- 15 -->[examples] Fix comment typo (#33256) @WinmezzZ
|
|
58
|
+
|
|
59
|
+
### Core
|
|
60
|
+
|
|
61
|
+
- ​<!-- 22 -->[core] Remove dead code (#33243) @oliviertassinari
|
|
62
|
+
- ​<!-- 03 -->[website] Fix the scroll-top for all the website (#33215) @oliviertassinari
|
|
63
|
+
- ​<!-- 02 -->[website] List new core role @oliviertassinari
|
|
64
|
+
- ​<!-- 01 -->[website] Fix navigation menu close behavior (#33203) @oliviertassinari
|
|
65
|
+
|
|
66
|
+
All contributors of this release in alphabetical order: @davidgarciab, @Fafruch, @haneenmahd, @hbjORbj, @howlettt, @jacobweberbowery, @michaldudak, @mnajdova, @oliviertassinari, @SamoraMabuya, @siriwatknp, @WinmezzZ, @ZeeshanTamboli
|
|
67
|
+
|
|
68
|
+
## 5.8.5
|
|
69
|
+
|
|
70
|
+
<!-- generated comparing v5.8.4..master -->
|
|
71
|
+
|
|
72
|
+
_Jun 20, 2022_
|
|
73
|
+
|
|
74
|
+
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
75
|
+
|
|
76
|
+
- 🚀 Added support for CSS variables in the `Avatar` component and the `SpeedDialAction` component respectively by @vicasas and @gin1314
|
|
77
|
+
- many other 🐛 bug fixes and 📚 documentation improvements
|
|
78
|
+
|
|
79
|
+
### `@mui/material@5.8.5`
|
|
80
|
+
|
|
81
|
+
- ​<!-- 30 -->[Avatar] Add support for CSS variables (#32499) @vicasas
|
|
82
|
+
- ​<!-- 19 -->[Dialog] Fix broken styles if `maxWidth` is set to `false` (#32987) @kmurgic
|
|
83
|
+
- ​<!-- 04 -->[SpeedDialAction] Add support for CSS variables (#32608) @gin1314
|
|
84
|
+
- ​<!-- 02 -->[Tabs] Increment scroll of the minimum amount possible (#33103) @oliviertassinari
|
|
85
|
+
|
|
86
|
+
### `@mui/codemod@5.8.5`
|
|
87
|
+
|
|
88
|
+
- ​<!-- 24 -->[codemod] Preserve comments within jss-to-tss-react (#33170) @ryancogswell
|
|
89
|
+
|
|
90
|
+
### `@mui/lab@5.0.0-alpha.87`
|
|
91
|
+
|
|
92
|
+
- ​<!-- 06 -->[Masonry] Fix flickering when used with React 18 (#33163) @mnajdova
|
|
93
|
+
|
|
94
|
+
### `@mui/base@5.0.0-alpha.86`
|
|
95
|
+
|
|
96
|
+
- ​<!-- 29 -->[BadgeUnstyled] Accept callbacks in componentsProps (#33176) @michaldudak
|
|
97
|
+
- ​<!-- 25 -->[ButtonUnstyled] Use useSlotProps (#33096) @michaldudak
|
|
98
|
+
- ​<!-- 11 -->[FormControlUnstyled] Accept callbacks in componentsProps (#33180) @michaldudak
|
|
99
|
+
- ​<!-- 10 -->[InputUnstyled] Use useSlotProps (#33094) @michaldudak
|
|
100
|
+
- ​<!-- 05 -->[ModalUnstyled] Define ownerState and slot props' types (#32901) @michaldudak
|
|
101
|
+
- ​<!-- 03 -->[SwitchUnstyled] Use useSlotProps (#33174) @michaldudak
|
|
102
|
+
|
|
103
|
+
### `@mui/joy@5.0.0-alpha.33`
|
|
104
|
+
|
|
105
|
+
- ​<!-- 09 -->[Joy] Add Checkbox documentation (#33171) @siriwatknp
|
|
106
|
+
- ​<!-- 08 -->[Joy] Add List documentation (#33120) @siriwatknp
|
|
107
|
+
- ​<!-- 07 -->[Joy] Make slider displays Joy classname (#33051) @siriwatknp
|
|
108
|
+
|
|
109
|
+
### Docs
|
|
110
|
+
|
|
111
|
+
- ​<!-- 28 -->[blog] Update Blogpost to clear confusion on "no impact" disclaimer. (#33131) @joserodolfofreitas
|
|
112
|
+
- ​<!-- 27 -->[blog] Add post about v5 Migration guide update (#33063) @samuelsycamore
|
|
113
|
+
- ​<!-- 26 -->[blog] Fix display on Safari (#33102) @oliviertassinari
|
|
114
|
+
- ​<!-- 18 -->[docs] Add guide on how to use MUI Base with Tailwind CSS (#33100) @mnajdova
|
|
115
|
+
- ​<!-- 17 -->[docs] Improve Joy template UX (#33159) @siriwatknp
|
|
116
|
+
- ​<!-- 16 -->[docs] Update Shadow DOM guide (#33160) @cherniavskii
|
|
117
|
+
- ​<!-- 15 -->[docs] Fix SEO regressions (#33106) @oliviertassinari
|
|
118
|
+
- ​<!-- 14 -->[docs] Add job ad in table of content (#33143) @mnajdova
|
|
119
|
+
- ​<!-- 13 -->[docs] Add customization as a value proposition (#33014) @oliviertassinari
|
|
120
|
+
- ​<!-- 12 -->[examples] Add example using nextjs & @mui/styles as a starter for the migration to v5 (#33005) @mnajdova
|
|
121
|
+
- ​<!-- 01 -->[website] Replace Airtable with Ashby links for applying to a opened position (#33193) @DanailH
|
|
122
|
+
|
|
123
|
+
### Core
|
|
124
|
+
|
|
125
|
+
- ​<!-- 31 -->[core] Add CSS variables support for Material UI components (#32835) @siriwatknp
|
|
126
|
+
- ​<!-- 23 -->[core] Add name to workspace root package.json (#33226) @Janpot
|
|
127
|
+
- ​<!-- 22 -->[core] Update bug template with generic instruction (#33153) @joserodolfofreitas
|
|
128
|
+
- ​<!-- 21 -->[core] Remove dead and redundant code (#33125) @oliviertassinari
|
|
129
|
+
- ​<!-- 20 -->[core] Improve inline code rendering within the details tag (#33086) @Harmouch101
|
|
130
|
+
|
|
131
|
+
All contributors of this release in alphabetical order: @cherniavskii, @DanailH, @gin1314, @Harmouch101, @Janpot, @joserodolfofreitas, @kmurgic, @michaldudak, @mnajdova, @oliviertassinari, @ryancogswell, @samuelsycamore, @siriwatknp, @vicasas
|
|
132
|
+
|
|
133
|
+
## 5.8.4
|
|
134
|
+
|
|
135
|
+
<!-- generated comparing v5.8.3..master -->
|
|
136
|
+
|
|
137
|
+
_Jun 14, 2022_
|
|
138
|
+
|
|
139
|
+
A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
|
|
140
|
+
|
|
141
|
+
- 🚀 Added support for custom breakpoints in the `Grid` component by @boutahlilsoufiane
|
|
142
|
+
- 📚 Added guide on how to use Material UI with Shadow DOM by @cherniavskii
|
|
143
|
+
- many other 🐛 bug fixes and 📚 documentation improvements
|
|
144
|
+
|
|
145
|
+
### `@mui/material@5.8.4`
|
|
146
|
+
|
|
147
|
+
- ​<!-- 36 -->[Button] Add missing classes in `ButtonClasses` type (#33040) @ZeeshanTamboli
|
|
148
|
+
- ​<!-- 20 -->[Grid] Fix prop-type key regression (#33123) @oliviertassinari
|
|
149
|
+
- ​<!-- 19 -->[Grid] Support custom breakpoints (#31998) @boutahlilsoufiane
|
|
150
|
+
- ​<!-- 18 -->[Grow] Limit CSS transition bug workaround to Safari 15.4 only (#32996) @igordanchenko
|
|
151
|
+
- ​<!-- 17 -->[Hidden] Remove dependency on hoist-non-react-statics (#33015) @oliviertassinari
|
|
152
|
+
- ​<!-- 12 -->[Link] Add support for CSS variables (#33036) @winderica
|
|
153
|
+
- ​<!-- 07 -->[Popover] Export `getOffsetTop` & `getOffsetLeft` from Popover's index and add typings (#32959) @rart
|
|
154
|
+
- ​<!-- 06 -->[Slider] Fix SliderValueLabelProps type (#32895) @oliviertassinari
|
|
155
|
+
- ​<!-- 05 -->[Snackbar] Remove `RTL` direction specific logic (#32808) @aaarichter
|
|
156
|
+
- ​<!-- 04 -->[StepIcon] Fix text centering when changing browser font size (#32706) @alansouzati
|
|
157
|
+
- ​<!-- 02 -->[Tabs] Scroll by width of the first visible tab if only one tab is partially visible (#32778) @frankkluijtmans
|
|
158
|
+
|
|
159
|
+
### `@mui/system@5.8.4`
|
|
160
|
+
|
|
161
|
+
- ​<!-- 38 -->[Stack, system] Apply correct responsive styles if any custom breakpoints are provided (#32913) @ZeeshanTamboli
|
|
162
|
+
- ​<!-- 03 -->[system] Fix missing typings for ColorFormat (#32417) @l-zoy
|
|
163
|
+
|
|
164
|
+
### `@mui/codemod@5.8.4`
|
|
165
|
+
|
|
166
|
+
- ​<!-- 35 -->[codemod] Add support for `@mui/styles/makeStyles` imports (#32962) @joshkel
|
|
167
|
+
|
|
168
|
+
### `@mui/lab@5.0.0-alpha.86`
|
|
169
|
+
|
|
170
|
+
- ​<!-- 08 -->[pickers] Fix broken ref forwarding (#33107) @oliviertassinari
|
|
171
|
+
- ​<!-- 13 -->[lab] Fix React's `forwardRef` warning when importing from the index (#33134) @mnajdova
|
|
172
|
+
|
|
173
|
+
### `@mui/base@5.0.0-alpha.85`
|
|
174
|
+
|
|
175
|
+
- ​<!-- 11 -->[MenuUnstyled] Accept callbacks in componentsProps (#32997) @michaldudak
|
|
176
|
+
- ​<!-- 10 -->[ModalUnstyled] Fix errors from the W3C validator about incorrect aria-hidden attribute on some elements (#30920) @mkrtchian
|
|
177
|
+
- ​<!-- 09 -->[ModalUnstyled] Fix behavior of not respecting props ariaHidden value (#32055) @tech-meppem
|
|
178
|
+
|
|
179
|
+
### `@mui/joy@5.0.0-alpha.32`
|
|
180
|
+
|
|
181
|
+
- ​<!-- 16 -->[Joy] Miscellaneous card fixes (#33129) @siriwatknp
|
|
182
|
+
- ​<!-- 15 -->[Joy] Miscellaneous fixes (#33073) @siriwatknp
|
|
183
|
+
- ​<!-- 14 -->[Joy] Add typography and link docs (#33047) @siriwatknp
|
|
184
|
+
|
|
185
|
+
### Docs
|
|
186
|
+
|
|
187
|
+
- ​<!-- 40 -->[Contributing.md] Local install instructions (#32975) @Moizsohail
|
|
188
|
+
- ​<!-- 32 -->[docs] Add responsive AppBar with drawer (#32769) @dvlprAlamin
|
|
189
|
+
- ​<!-- 31 -->[docs] Move codesandbox to MUI org (#33122) @oliviertassinari
|
|
190
|
+
- ​<!-- 30 -->[docs] Add Shadow DOM guide (#33007) @cherniavskii
|
|
191
|
+
- ​<!-- 29 -->[docs] Fix typo in Material UI overview page (#33087) @oliviertassinari
|
|
192
|
+
- ​<!-- 28 -->[docs] Miscellaneous fixes in `MUI Base` docs (#33091) @ZeeshanTamboli
|
|
193
|
+
- ​<!-- 27 -->[docs] Fix GitHub capitalization (#33071) @oliviertassinari
|
|
194
|
+
- ​<!-- 26 -->[docs] Fix a typo in `InputUnstyled` docs (#33077) @ZeeshanTamboli
|
|
195
|
+
- ​<!-- 25 -->[docs] Add notification for Joy blog post (#33059) @siriwatknp
|
|
196
|
+
- ​<!-- 24 -->[docs] Improve aspect ratio docs and integration (#33065) @siriwatknp
|
|
197
|
+
- ​<!-- 34 -->[docs] Update code block copy label (#33128) @siriwatknp
|
|
198
|
+
- ​<!-- 23 -->[docs] Fix typo in Autocomplete CSS API (#32838) @KeaghanKennedy
|
|
199
|
+
- ​<!-- 22 -->[docs] Improvements for Radio Group Rating Docs (#32843) @Kai-W
|
|
200
|
+
- ​<!-- 21 -->[docs] Enable Joy pages (#33064) @siriwatknp
|
|
201
|
+
- ​<!-- 02 -->[website] Add Joy UI to the pricing page (#33099) @danilo-leal
|
|
202
|
+
- ​<!-- 01 -->[website] Clarify the pricing a bit (#33069) @oliviertassinari
|
|
203
|
+
|
|
204
|
+
### Core
|
|
205
|
+
|
|
206
|
+
- ​<!-- 39 -->yarn proptypes @oliviertassinari
|
|
207
|
+
- ​<!-- 34 -->[core] Update dependencies to fix security vulnerabilities (#33095) @michaldudak
|
|
208
|
+
- ​<!-- 33 -->[core] Import new line convention (#33068) @oliviertassinari
|
|
209
|
+
- ​<!-- 37 -->[core] Make repository configurable in changelog script (#33130) @Janpot
|
|
210
|
+
|
|
211
|
+
All contributors of this release in alphabetical order: @aaarichter, @alansouzati, @boutahlilsoufiane, @cherniavskii, @danilo-leal, @dvlprAlamin, @frankkluijtmans, @igordanchenko, @Janpot, @joshkel, @Kai-W, @KeaghanKennedy, @l-zoy, @michaldudak, @mkrtchian, @mnajdova, @Moizsohail, @oliviertassinari, @pushys, @rart, @siriwatknp, @tech-meppem, @winderica, @ZeeshanTamboli
|
|
212
|
+
|
|
3
213
|
## 5.8.3
|
|
4
214
|
|
|
5
215
|
<!-- generated comparing v5.8.2..master -->
|
|
@@ -9,25 +219,25 @@ _Jun 7, 2022_
|
|
|
9
219
|
A big thanks to the 15 contributors who made this release possible.
|
|
10
220
|
This release is mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
11
221
|
|
|
12
|
-
|
|
222
|
+
### `@mui/material@5.8.3`
|
|
13
223
|
|
|
14
224
|
- [Alert] Constrain message width and allow overflow (#32747) @Janpot
|
|
15
225
|
- [Checkbox] Add support for CSS variables (#32579) @haneenmahd
|
|
16
226
|
- [Slider] Fix positioning of tooltips on vertical slider (#32919) @abhinav-22-tech
|
|
17
227
|
|
|
18
|
-
|
|
228
|
+
### `@mui/system@5.8.3`
|
|
19
229
|
|
|
20
230
|
- [system] Configurable attributes for libraries (#32971) @siriwatknp
|
|
21
231
|
|
|
22
|
-
|
|
232
|
+
### `@mui/codemod@5.8.3`
|
|
23
233
|
|
|
24
234
|
- [codemod] Fix infinite loop in jss-to-tss-react and add TODO (#33048) @ryancogswell
|
|
25
235
|
|
|
26
|
-
|
|
236
|
+
### `@mui/lab@5.0.0-alpha.85`
|
|
27
237
|
|
|
28
238
|
- [pickers] Add deprecations when importing pickers from the lab (#32950) @flaviendelangle
|
|
29
239
|
|
|
30
|
-
|
|
240
|
+
### `@mui/joy@5.0.0-alpha.31`
|
|
31
241
|
|
|
32
242
|
- [Joy] Add `Slider` component and demos (#32694) @hbjORbj
|
|
33
243
|
- [Joy] Add articles about customization approaches (#32887) @siriwatknp
|
|
@@ -35,7 +245,7 @@ This release is mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
|
35
245
|
- [Joy] Add docs about dark mode (#33002) @siriwatknp
|
|
36
246
|
- [Joy] Add template UIs & first look blog post (#32791) @danilo-leal
|
|
37
247
|
|
|
38
|
-
|
|
248
|
+
### `@mui/base@5.0.0-alpha.84`
|
|
39
249
|
|
|
40
250
|
- [base] Remove @mui/system in tests (#32945) @kevinji
|
|
41
251
|
- [ButtonUnstyled] Accept callbacks in componentsProps (#32991) @michaldudak
|
|
@@ -44,7 +254,7 @@ This release is mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
|
44
254
|
- [TabPanelUnstyled] Define ownerState and slot props' types (#32928) @michaldudak
|
|
45
255
|
- [TabsListUnstyled] Define ownerState and slot props' types (#32925) @michaldudak
|
|
46
256
|
|
|
47
|
-
|
|
257
|
+
### Docs
|
|
48
258
|
|
|
49
259
|
- [blog] Fix anchor link scroll (#32994) @oliviertassinari
|
|
50
260
|
- [docs] Add "Migration" section to sidebar and revise v4-v5 content (#32740) @samuelsycamore
|
|
@@ -62,7 +272,7 @@ This release is mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
|
62
272
|
- [website] Polish the pricing page (#32811) @oliviertassinari
|
|
63
273
|
- [website] Remove unnecessary `address` dependency (#32957) @michaldudak
|
|
64
274
|
|
|
65
|
-
|
|
275
|
+
### Core
|
|
66
276
|
|
|
67
277
|
- [core] Improve icon synonyms (#32742) @oliviertassinari
|
|
68
278
|
- [core] Prepare Next.js config for React 18 (#32963) @michaldudak
|
|
@@ -1021,7 +1231,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
1021
1231
|
- ​<!-- 25 -->[core] Update playwright docker to match the specified version (#31236) @siriwatknp
|
|
1022
1232
|
- ​<!-- 24 -->[core] Remove parallel on buildTypes (#31189) @siriwatknp
|
|
1023
1233
|
- ​<!-- 23 -->[core] Fix propTypes generation for optional any props (#31141) @m4theushw
|
|
1024
|
-
- ​<!-- 04 -->[
|
|
1234
|
+
- ​<!-- 04 -->[typescript] Remove variants deprecation (#31239) @siriwatknp
|
|
1025
1235
|
|
|
1026
1236
|
All contributors of this release in alphabetical order: @adriancampos, @Andarist, @bonellia, @davwheat, @greengiraffe, @hbjORbj, @iclaude3, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @PunitSoniME, @RedHeadphone, @robertwt7, @samuelsycamore, @siriwatknp, @sviande
|
|
1027
1237
|
|
|
@@ -1086,7 +1296,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
1086
1296
|
- [Select] Allow customizing Select based on its variant (#30788) @michaldudak
|
|
1087
1297
|
- [Portal] Re-export 'Portal' in material (#31003) @liradb2000
|
|
1088
1298
|
- [ToggleButton] Add prop types for `onClick` and `onChange` (#30883) @sydneyjodon-wk
|
|
1089
|
-
- [
|
|
1299
|
+
- [typescript] Added TypeText declaration to the exports file (#30890) @agauravdev
|
|
1090
1300
|
|
|
1091
1301
|
### `@mui/system@5.4.2`
|
|
1092
1302
|
|
|
@@ -2000,7 +2210,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
2000
2210
|
- ​<!-- 33 -->[core] Add `experiments` index page (#29582) @siriwatknp
|
|
2001
2211
|
- ​<!-- 32 -->[core] Move s3 bucket ownership to mui-org (#29609) @eps1lon
|
|
2002
2212
|
- ​<!-- 31 -->[core] Improve support request message (#29614) @mnajdova
|
|
2003
|
-
- ​<!-- 30 -->[core] Use support request
|
|
2213
|
+
- ​<!-- 30 -->[core] Use support request GitHub Action (#29594) @mnajdova
|
|
2004
2214
|
- ​<!-- 29 -->[core] Remove unused `getJsxPreview` util (#29586) @ZeeshanTamboli
|
|
2005
2215
|
- ​<!-- 28 -->[core] Use GitHub issue forms (#28038) @oliviertassinari
|
|
2006
2216
|
- ​<!-- 26 -->[core] Add playground (#29423) @oliviertassinari
|
|
@@ -4524,8 +4734,8 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
4524
4734
|
- ​<!-- 29 -->[Button] Rename `pending` prop to `loading` in LoadingButton (#25874) @m4theushw
|
|
4525
4735
|
|
|
4526
4736
|
```diff
|
|
4527
|
-
-<LoadingButton pending pendingIndicator="Pending
|
|
4528
|
-
+<LoadingButton loading loadingIndicator="Pending
|
|
4737
|
+
-<LoadingButton pending pendingIndicator="Pending…" pendingPosition="end" />
|
|
4738
|
+
+<LoadingButton loading loadingIndicator="Pending…" loadingPosition="end" />
|
|
4529
4739
|
```
|
|
4530
4740
|
|
|
4531
4741
|
- ​<!-- 25 -->[ButtonBase] Remove buttonRef prop (#25896) @m4theushw
|
|
@@ -6055,7 +6265,7 @@ A big thanks to the 24 contributors who made this release possible. Here are som
|
|
|
6055
6265
|
- [docs] Fix duplicated styles generated from emotion (#23809) @mnajdova
|
|
6056
6266
|
- [docs] Fix icon alignment in /components/breadcrumbs (#23818) @eps1lon
|
|
6057
6267
|
- [docs] Fix production deploy (#23963) @eps1lon
|
|
6058
|
-
- [docs] Fix source on
|
|
6268
|
+
- [docs] Fix source on GitHub links (#23821) @praveenkumar-kalidass
|
|
6059
6269
|
- [docs] Fix StickyHeaderTable round borders (#23882) @antoniopacheco
|
|
6060
6270
|
- [docs] Fix typo in date picker dayjs adapter name (#23935) @andresmrm
|
|
6061
6271
|
- [docs] Improve system properties page (#23961) @mnajdova
|
|
@@ -14,8 +14,10 @@ const warn = () => {
|
|
|
14
14
|
/**
|
|
15
15
|
* @ignore - do not document.
|
|
16
16
|
*/
|
|
17
|
-
const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker(props) {
|
|
17
|
+
const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker(props, ref) {
|
|
18
18
|
warn();
|
|
19
|
-
return /*#__PURE__*/_jsx(XCalendarPicker, _extends({
|
|
19
|
+
return /*#__PURE__*/_jsx(XCalendarPicker, _extends({
|
|
20
|
+
ref: ref
|
|
21
|
+
}, props));
|
|
20
22
|
});
|
|
21
23
|
export default CalendarPicker;
|
|
@@ -15,9 +15,11 @@ const warn = () => {
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton(props) {
|
|
18
|
+
const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton(props, ref) {
|
|
19
19
|
warn();
|
|
20
|
-
return /*#__PURE__*/_jsx(XCalendarPickerSkeleton, _extends({
|
|
20
|
+
return /*#__PURE__*/_jsx(XCalendarPickerSkeleton, _extends({
|
|
21
|
+
ref: ref
|
|
22
|
+
}, props));
|
|
21
23
|
});
|
|
22
24
|
process.env.NODE_ENV !== "production" ? CalendarPickerSkeleton.propTypes
|
|
23
25
|
/* remove-proptypes */
|
|
@@ -14,8 +14,10 @@ const warn = () => {
|
|
|
14
14
|
/**
|
|
15
15
|
* @ignore - do not document.
|
|
16
16
|
*/
|
|
17
|
-
const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker(props) {
|
|
17
|
+
const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker(props, ref) {
|
|
18
18
|
warn();
|
|
19
|
-
return /*#__PURE__*/_jsx(XClockPicker, _extends({
|
|
19
|
+
return /*#__PURE__*/_jsx(XClockPicker, _extends({
|
|
20
|
+
ref: ref
|
|
21
|
+
}, props));
|
|
20
22
|
});
|
|
21
23
|
export default ClockPicker;
|
package/DatePicker/DatePicker.js
CHANGED
|
@@ -15,9 +15,11 @@ const warn = () => {
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
const DatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDatePicker(props) {
|
|
18
|
+
const DatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDatePicker(props, ref) {
|
|
19
19
|
warn();
|
|
20
|
-
return /*#__PURE__*/_jsx(XDatePicker, _extends({
|
|
20
|
+
return /*#__PURE__*/_jsx(XDatePicker, _extends({
|
|
21
|
+
ref: ref
|
|
22
|
+
}, props));
|
|
21
23
|
});
|
|
22
24
|
process.env.NODE_ENV !== "production" ? DatePicker.propTypes
|
|
23
25
|
/* remove-proptypes */
|
|
@@ -198,11 +200,6 @@ process.env.NODE_ENV !== "production" ? DatePicker.propTypes
|
|
|
198
200
|
current: PropTypes.object
|
|
199
201
|
})]),
|
|
200
202
|
|
|
201
|
-
/**
|
|
202
|
-
* @ignore
|
|
203
|
-
*/
|
|
204
|
-
key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
205
|
-
|
|
206
203
|
/**
|
|
207
204
|
* @ignore
|
|
208
205
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
3
|
let warnedOnce = false;
|
|
5
4
|
|
|
6
5
|
const warn = () => {
|
|
@@ -17,17 +16,4 @@ const DateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDateRan
|
|
|
17
16
|
warn();
|
|
18
17
|
return null;
|
|
19
18
|
});
|
|
20
|
-
process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes
|
|
21
|
-
/* remove-proptypes */
|
|
22
|
-
= {
|
|
23
|
-
// ----------------------------- Warning --------------------------------
|
|
24
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
25
|
-
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
26
|
-
// ----------------------------------------------------------------------
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @ignore
|
|
30
|
-
*/
|
|
31
|
-
key: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
32
|
-
} : void 0;
|
|
33
19
|
export default DateRangePicker;
|
|
@@ -15,9 +15,11 @@ const warn = () => {
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
const DateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDateTimePicker(props) {
|
|
18
|
+
const DateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDateTimePicker(props, ref) {
|
|
19
19
|
warn();
|
|
20
|
-
return /*#__PURE__*/_jsx(XDateTimePicker, _extends({
|
|
20
|
+
return /*#__PURE__*/_jsx(XDateTimePicker, _extends({
|
|
21
|
+
ref: ref
|
|
22
|
+
}, props));
|
|
21
23
|
});
|
|
22
24
|
process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
|
|
23
25
|
/* remove-proptypes */
|
|
@@ -244,11 +246,6 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
|
|
|
244
246
|
current: PropTypes.object
|
|
245
247
|
})]),
|
|
246
248
|
|
|
247
|
-
/**
|
|
248
|
-
* @ignore
|
|
249
|
-
*/
|
|
250
|
-
key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
251
|
-
|
|
252
249
|
/**
|
|
253
250
|
* @ignore
|
|
254
251
|
*/
|
|
@@ -15,9 +15,11 @@ const warn = () => {
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
const DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDatePicker(props) {
|
|
18
|
+
const DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDatePicker(props, ref) {
|
|
19
19
|
warn();
|
|
20
|
-
return /*#__PURE__*/_jsx(XDesktopDatePicker, _extends({
|
|
20
|
+
return /*#__PURE__*/_jsx(XDesktopDatePicker, _extends({
|
|
21
|
+
ref: ref
|
|
22
|
+
}, props));
|
|
21
23
|
});
|
|
22
24
|
process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes
|
|
23
25
|
/* remove-proptypes */
|
|
@@ -180,11 +182,6 @@ process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes
|
|
|
180
182
|
current: PropTypes.object
|
|
181
183
|
})]),
|
|
182
184
|
|
|
183
|
-
/**
|
|
184
|
-
* @ignore
|
|
185
|
-
*/
|
|
186
|
-
key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
187
|
-
|
|
188
185
|
/**
|
|
189
186
|
* @ignore
|
|
190
187
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
3
|
let warnedOnce = false;
|
|
5
4
|
|
|
6
5
|
const warn = () => {
|
|
@@ -17,17 +16,4 @@ const DesktopDateRangePicker = /*#__PURE__*/React.forwardRef(function Deprecated
|
|
|
17
16
|
warn();
|
|
18
17
|
return null;
|
|
19
18
|
});
|
|
20
|
-
process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes
|
|
21
|
-
/* remove-proptypes */
|
|
22
|
-
= {
|
|
23
|
-
// ----------------------------- Warning --------------------------------
|
|
24
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
25
|
-
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
26
|
-
// ----------------------------------------------------------------------
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @ignore
|
|
30
|
-
*/
|
|
31
|
-
key: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
32
|
-
} : void 0;
|
|
33
19
|
export default DesktopDateRangePicker;
|
|
@@ -15,9 +15,11 @@ const warn = () => {
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
const DesktopDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDateTimePicker(props) {
|
|
18
|
+
const DesktopDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDateTimePicker(props, ref) {
|
|
19
19
|
warn();
|
|
20
|
-
return /*#__PURE__*/_jsx(XDesktopDateTimePicker, _extends({
|
|
20
|
+
return /*#__PURE__*/_jsx(XDesktopDateTimePicker, _extends({
|
|
21
|
+
ref: ref
|
|
22
|
+
}, props));
|
|
21
23
|
});
|
|
22
24
|
process.env.NODE_ENV !== "production" ? DesktopDateTimePicker.propTypes
|
|
23
25
|
/* remove-proptypes */
|
|
@@ -226,11 +228,6 @@ process.env.NODE_ENV !== "production" ? DesktopDateTimePicker.propTypes
|
|
|
226
228
|
current: PropTypes.object
|
|
227
229
|
})]),
|
|
228
230
|
|
|
229
|
-
/**
|
|
230
|
-
* @ignore
|
|
231
|
-
*/
|
|
232
|
-
key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
233
|
-
|
|
234
231
|
/**
|
|
235
232
|
* @ignore
|
|
236
233
|
*/
|
|
@@ -15,9 +15,11 @@ const warn = () => {
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
const DesktopTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopTimePicker(props) {
|
|
18
|
+
const DesktopTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopTimePicker(props, ref) {
|
|
19
19
|
warn();
|
|
20
|
-
return /*#__PURE__*/_jsx(XDesktopTimePicker, _extends({
|
|
20
|
+
return /*#__PURE__*/_jsx(XDesktopTimePicker, _extends({
|
|
21
|
+
ref: ref
|
|
22
|
+
}, props));
|
|
21
23
|
});
|
|
22
24
|
process.env.NODE_ENV !== "production" ? DesktopTimePicker.propTypes
|
|
23
25
|
/* remove-proptypes */
|
|
@@ -159,11 +161,6 @@ process.env.NODE_ENV !== "production" ? DesktopTimePicker.propTypes
|
|
|
159
161
|
current: PropTypes.object
|
|
160
162
|
})]),
|
|
161
163
|
|
|
162
|
-
/**
|
|
163
|
-
* @ignore
|
|
164
|
-
*/
|
|
165
|
-
key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
166
|
-
|
|
167
164
|
/**
|
|
168
165
|
* @ignore
|
|
169
166
|
*/
|
|
@@ -15,9 +15,11 @@ const warn = () => {
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
const LocalizationProvider = /*#__PURE__*/React.forwardRef(function DeprecatedLocalizationProvider(props) {
|
|
18
|
+
const LocalizationProvider = /*#__PURE__*/React.forwardRef(function DeprecatedLocalizationProvider(props, ref) {
|
|
19
19
|
warn();
|
|
20
|
-
return /*#__PURE__*/_jsx(XLocalizationProvider, _extends({
|
|
20
|
+
return /*#__PURE__*/_jsx(XLocalizationProvider, _extends({
|
|
21
|
+
ref: ref
|
|
22
|
+
}, props));
|
|
21
23
|
});
|
|
22
24
|
process.env.NODE_ENV !== "production" ? LocalizationProvider.propTypes
|
|
23
25
|
/* remove-proptypes */
|
package/Masonry/Masonry.js
CHANGED
|
@@ -2,6 +2,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
const _excluded = ["children", "className", "component", "columns", "spacing", "defaultColumns", "defaultHeight", "defaultSpacing"];
|
|
4
4
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
5
|
+
import { flushSync } from 'react-dom';
|
|
5
6
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
6
7
|
import { createUnarySpacing, getValue, handleBreakpoints, unstable_resolveBreakpointValues as resolveBreakpointValues } from '@mui/system';
|
|
7
8
|
import { deepmerge, unstable_useForkRef as useForkRef } from '@mui/utils';
|
|
@@ -229,9 +230,13 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
|
229
230
|
});
|
|
230
231
|
|
|
231
232
|
if (!skip) {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
// In React 18, state updates in a ResizeObserver's callback are happening after the paint which causes flickering
|
|
234
|
+
// when doing some visual updates in it. Using flushSync ensures that the dom will be painted after the states updates happen
|
|
235
|
+
// Related issue - https://github.com/facebook/react/issues/24331
|
|
236
|
+
flushSync(() => {
|
|
237
|
+
setMaxColumnHeight(Math.max(...columnHeights));
|
|
238
|
+
setNumberOfLineBreaks(currentNumberOfColumns > 0 ? currentNumberOfColumns - 1 : 0);
|
|
239
|
+
});
|
|
235
240
|
}
|
|
236
241
|
};
|
|
237
242
|
|
|
@@ -15,9 +15,11 @@ const warn = () => {
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
const MobileDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDatePicker(props) {
|
|
18
|
+
const MobileDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDatePicker(props, ref) {
|
|
19
19
|
warn();
|
|
20
|
-
return /*#__PURE__*/_jsx(XMobileDatePicker, _extends({
|
|
20
|
+
return /*#__PURE__*/_jsx(XMobileDatePicker, _extends({
|
|
21
|
+
ref: ref
|
|
22
|
+
}, props));
|
|
21
23
|
});
|
|
22
24
|
process.env.NODE_ENV !== "production" ? MobileDatePicker.propTypes
|
|
23
25
|
/* remove-proptypes */
|
|
@@ -191,11 +193,6 @@ process.env.NODE_ENV !== "production" ? MobileDatePicker.propTypes
|
|
|
191
193
|
current: PropTypes.object
|
|
192
194
|
})]),
|
|
193
195
|
|
|
194
|
-
/**
|
|
195
|
-
* @ignore
|
|
196
|
-
*/
|
|
197
|
-
key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
198
|
-
|
|
199
196
|
/**
|
|
200
197
|
* @ignore
|
|
201
198
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
3
|
let warnedOnce = false;
|
|
5
4
|
|
|
6
5
|
const warn = () => {
|
|
@@ -17,17 +16,4 @@ const MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedM
|
|
|
17
16
|
warn();
|
|
18
17
|
return null;
|
|
19
18
|
});
|
|
20
|
-
process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes
|
|
21
|
-
/* remove-proptypes */
|
|
22
|
-
= {
|
|
23
|
-
// ----------------------------- Warning --------------------------------
|
|
24
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
25
|
-
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
26
|
-
// ----------------------------------------------------------------------
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @ignore
|
|
30
|
-
*/
|
|
31
|
-
key: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
32
|
-
} : void 0;
|
|
33
19
|
export default MobileDateRangePicker;
|
|
@@ -15,9 +15,11 @@ const warn = () => {
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
const MobileDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDateTimePicker(props) {
|
|
18
|
+
const MobileDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDateTimePicker(props, ref) {
|
|
19
19
|
warn();
|
|
20
|
-
return /*#__PURE__*/_jsx(XMobileDateTimePicker, _extends({
|
|
20
|
+
return /*#__PURE__*/_jsx(XMobileDateTimePicker, _extends({
|
|
21
|
+
ref: ref
|
|
22
|
+
}, props));
|
|
21
23
|
});
|
|
22
24
|
process.env.NODE_ENV !== "production" ? MobileDateTimePicker.propTypes
|
|
23
25
|
/* remove-proptypes */
|
|
@@ -237,11 +239,6 @@ process.env.NODE_ENV !== "production" ? MobileDateTimePicker.propTypes
|
|
|
237
239
|
current: PropTypes.object
|
|
238
240
|
})]),
|
|
239
241
|
|
|
240
|
-
/**
|
|
241
|
-
* @ignore
|
|
242
|
-
*/
|
|
243
|
-
key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
244
|
-
|
|
245
242
|
/**
|
|
246
243
|
* @ignore
|
|
247
244
|
*/
|