@mui/lab 5.0.0-alpha.87 → 5.0.0-alpha.90

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.
Files changed (242) hide show
  1. package/AdapterDateFns/AdapterDateFns.d.ts +3 -0
  2. package/AdapterDateFns/AdapterDateFns.js +16 -0
  3. package/AdapterDateFns/index.d.ts +1 -1
  4. package/AdapterDateFns/index.js +1 -1
  5. package/AdapterDayjs/AdapterDayjs.d.ts +3 -0
  6. package/AdapterDayjs/AdapterDayjs.js +16 -0
  7. package/AdapterDayjs/index.d.ts +1 -1
  8. package/AdapterDayjs/index.js +1 -1
  9. package/AdapterLuxon/AdapterLuxon.d.ts +3 -0
  10. package/AdapterLuxon/AdapterLuxon.js +16 -0
  11. package/AdapterLuxon/index.d.ts +1 -1
  12. package/AdapterLuxon/index.js +1 -1
  13. package/AdapterMoment/AdapterMoment.d.ts +3 -0
  14. package/AdapterMoment/AdapterMoment.js +16 -0
  15. package/AdapterMoment/index.d.ts +1 -1
  16. package/AdapterMoment/index.js +1 -1
  17. package/CHANGELOG.md +190 -0
  18. package/CalendarPicker/CalendarPicker.d.ts +5 -1
  19. package/CalendarPicker/CalendarPicker.js +6 -9
  20. package/CalendarPicker/index.d.ts +1 -2
  21. package/CalendarPicker/index.js +1 -1
  22. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +4 -1
  23. package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +10 -23
  24. package/CalendarPickerSkeleton/index.d.ts +1 -2
  25. package/CalendarPickerSkeleton/index.js +1 -1
  26. package/ClockPicker/ClockPicker.d.ts +5 -1
  27. package/ClockPicker/ClockPicker.js +6 -9
  28. package/ClockPicker/index.d.ts +1 -2
  29. package/ClockPicker/index.js +1 -1
  30. package/DatePicker/DatePicker.d.ts +1 -1
  31. package/DatePicker/DatePicker.js +4 -448
  32. package/DatePicker/index.d.ts +1 -1
  33. package/DatePicker/index.js +2 -1
  34. package/DateTimePicker/DateTimePicker.d.ts +1 -1
  35. package/DateTimePicker/DateTimePicker.js +4 -536
  36. package/DateTimePicker/index.d.ts +1 -1
  37. package/DateTimePicker/index.js +2 -1
  38. package/DesktopDatePicker/DesktopDatePicker.d.ts +1 -1
  39. package/DesktopDatePicker/DesktopDatePicker.js +4 -412
  40. package/DesktopDatePicker/index.d.ts +1 -1
  41. package/DesktopDatePicker/index.js +2 -1
  42. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +1 -1
  43. package/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -500
  44. package/DesktopDateTimePicker/index.d.ts +1 -1
  45. package/DesktopDateTimePicker/index.js +2 -1
  46. package/DesktopTimePicker/DesktopTimePicker.d.ts +1 -1
  47. package/DesktopTimePicker/DesktopTimePicker.js +4 -330
  48. package/DesktopTimePicker/index.d.ts +2 -2
  49. package/DesktopTimePicker/index.js +2 -1
  50. package/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  51. package/LocalizationProvider/LocalizationProvider.js +3 -22
  52. package/LocalizationProvider/index.d.ts +1 -1
  53. package/LocalizationProvider/index.js +2 -1
  54. package/Masonry/Masonry.js +14 -7
  55. package/MobileDatePicker/MobileDatePicker.d.ts +1 -1
  56. package/MobileDatePicker/MobileDatePicker.js +3 -425
  57. package/MobileDatePicker/index.d.ts +1 -1
  58. package/MobileDatePicker/index.js +2 -1
  59. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +1 -1
  60. package/MobileDateTimePicker/MobileDateTimePicker.js +4 -514
  61. package/MobileDateTimePicker/index.d.ts +1 -1
  62. package/MobileDateTimePicker/index.js +2 -1
  63. package/MobileTimePicker/MobileTimePicker.d.ts +1 -1
  64. package/MobileTimePicker/MobileTimePicker.js +4 -344
  65. package/MobileTimePicker/index.d.ts +1 -1
  66. package/MobileTimePicker/index.js +2 -1
  67. package/MonthPicker/MonthPicker.d.ts +4 -1
  68. package/MonthPicker/MonthPicker.js +10 -9
  69. package/MonthPicker/index.d.ts +1 -2
  70. package/MonthPicker/index.js +1 -1
  71. package/PickersDay/PickersDay.d.ts +4 -1
  72. package/PickersDay/PickersDay.js +10 -23
  73. package/PickersDay/index.d.ts +1 -2
  74. package/PickersDay/index.js +1 -1
  75. package/StaticDatePicker/StaticDatePicker.d.ts +1 -1
  76. package/StaticDatePicker/StaticDatePicker.js +4 -386
  77. package/StaticDatePicker/index.d.ts +1 -1
  78. package/StaticDatePicker/index.js +2 -1
  79. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +1 -1
  80. package/StaticDateTimePicker/StaticDateTimePicker.js +4 -474
  81. package/StaticDateTimePicker/index.d.ts +1 -1
  82. package/StaticDateTimePicker/index.js +2 -1
  83. package/StaticTimePicker/StaticTimePicker.d.ts +1 -1
  84. package/StaticTimePicker/StaticTimePicker.js +4 -304
  85. package/StaticTimePicker/index.d.ts +2 -2
  86. package/StaticTimePicker/index.js +2 -1
  87. package/TimePicker/TimePicker.d.ts +1 -1
  88. package/TimePicker/TimePicker.js +4 -366
  89. package/TimePicker/index.d.ts +1 -1
  90. package/TimePicker/index.js +2 -1
  91. package/Timeline/Timeline.d.ts +1 -1
  92. package/YearPicker/YearPicker.d.ts +5 -1
  93. package/YearPicker/YearPicker.js +10 -8
  94. package/YearPicker/index.d.ts +2 -2
  95. package/YearPicker/index.js +2 -1
  96. package/index.js +1 -1
  97. package/legacy/AdapterDateFns/AdapterDateFns.js +19 -0
  98. package/legacy/AdapterDateFns/index.js +1 -1
  99. package/legacy/AdapterDayjs/AdapterDayjs.js +19 -0
  100. package/legacy/AdapterDayjs/index.js +1 -1
  101. package/legacy/AdapterLuxon/AdapterLuxon.js +19 -0
  102. package/legacy/AdapterLuxon/index.js +1 -1
  103. package/legacy/AdapterMoment/AdapterMoment.js +19 -0
  104. package/legacy/AdapterMoment/index.js +1 -1
  105. package/legacy/CalendarPicker/CalendarPicker.js +6 -9
  106. package/legacy/CalendarPicker/index.js +1 -1
  107. package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +10 -23
  108. package/legacy/CalendarPickerSkeleton/index.js +1 -1
  109. package/legacy/ClockPicker/ClockPicker.js +6 -9
  110. package/legacy/ClockPicker/index.js +1 -1
  111. package/legacy/DatePicker/DatePicker.js +4 -448
  112. package/legacy/DatePicker/index.js +2 -1
  113. package/legacy/DateTimePicker/DateTimePicker.js +4 -536
  114. package/legacy/DateTimePicker/index.js +2 -1
  115. package/legacy/DesktopDatePicker/DesktopDatePicker.js +4 -412
  116. package/legacy/DesktopDatePicker/index.js +2 -1
  117. package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -500
  118. package/legacy/DesktopDateTimePicker/index.js +2 -1
  119. package/legacy/DesktopTimePicker/DesktopTimePicker.js +4 -330
  120. package/legacy/DesktopTimePicker/index.js +2 -1
  121. package/legacy/LocalizationProvider/LocalizationProvider.js +3 -22
  122. package/legacy/LocalizationProvider/index.js +2 -1
  123. package/legacy/Masonry/Masonry.js +14 -7
  124. package/legacy/MobileDatePicker/MobileDatePicker.js +3 -425
  125. package/legacy/MobileDatePicker/index.js +2 -1
  126. package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +4 -514
  127. package/legacy/MobileDateTimePicker/index.js +2 -1
  128. package/legacy/MobileTimePicker/MobileTimePicker.js +4 -344
  129. package/legacy/MobileTimePicker/index.js +2 -1
  130. package/legacy/MonthPicker/MonthPicker.js +10 -9
  131. package/legacy/MonthPicker/index.js +1 -1
  132. package/legacy/PickersDay/PickersDay.js +10 -23
  133. package/legacy/PickersDay/index.js +1 -1
  134. package/legacy/StaticDatePicker/StaticDatePicker.js +4 -386
  135. package/legacy/StaticDatePicker/index.js +2 -1
  136. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +4 -474
  137. package/legacy/StaticDateTimePicker/index.js +2 -1
  138. package/legacy/StaticTimePicker/StaticTimePicker.js +4 -304
  139. package/legacy/StaticTimePicker/index.js +2 -1
  140. package/legacy/TimePicker/TimePicker.js +4 -366
  141. package/legacy/TimePicker/index.js +2 -1
  142. package/legacy/YearPicker/YearPicker.js +10 -8
  143. package/legacy/YearPicker/index.js +2 -1
  144. package/legacy/index.js +1 -1
  145. package/modern/AdapterDateFns/AdapterDateFns.js +16 -0
  146. package/modern/AdapterDateFns/index.js +1 -1
  147. package/modern/AdapterDayjs/AdapterDayjs.js +16 -0
  148. package/modern/AdapterDayjs/index.js +1 -1
  149. package/modern/AdapterLuxon/AdapterLuxon.js +16 -0
  150. package/modern/AdapterLuxon/index.js +1 -1
  151. package/modern/AdapterMoment/AdapterMoment.js +16 -0
  152. package/modern/AdapterMoment/index.js +1 -1
  153. package/modern/CalendarPicker/CalendarPicker.js +6 -9
  154. package/modern/CalendarPicker/index.js +1 -1
  155. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +10 -23
  156. package/modern/CalendarPickerSkeleton/index.js +1 -1
  157. package/modern/ClockPicker/ClockPicker.js +6 -9
  158. package/modern/ClockPicker/index.js +1 -1
  159. package/modern/DatePicker/DatePicker.js +4 -448
  160. package/modern/DatePicker/index.js +2 -1
  161. package/modern/DateTimePicker/DateTimePicker.js +4 -536
  162. package/modern/DateTimePicker/index.js +2 -1
  163. package/modern/DesktopDatePicker/DesktopDatePicker.js +4 -412
  164. package/modern/DesktopDatePicker/index.js +2 -1
  165. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -500
  166. package/modern/DesktopDateTimePicker/index.js +2 -1
  167. package/modern/DesktopTimePicker/DesktopTimePicker.js +4 -330
  168. package/modern/DesktopTimePicker/index.js +2 -1
  169. package/modern/LocalizationProvider/LocalizationProvider.js +3 -22
  170. package/modern/LocalizationProvider/index.js +2 -1
  171. package/modern/Masonry/Masonry.js +14 -7
  172. package/modern/MobileDatePicker/MobileDatePicker.js +3 -425
  173. package/modern/MobileDatePicker/index.js +2 -1
  174. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +4 -514
  175. package/modern/MobileDateTimePicker/index.js +2 -1
  176. package/modern/MobileTimePicker/MobileTimePicker.js +4 -344
  177. package/modern/MobileTimePicker/index.js +2 -1
  178. package/modern/MonthPicker/MonthPicker.js +10 -9
  179. package/modern/MonthPicker/index.js +1 -1
  180. package/modern/PickersDay/PickersDay.js +10 -23
  181. package/modern/PickersDay/index.js +1 -1
  182. package/modern/StaticDatePicker/StaticDatePicker.js +4 -386
  183. package/modern/StaticDatePicker/index.js +2 -1
  184. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +4 -474
  185. package/modern/StaticDateTimePicker/index.js +2 -1
  186. package/modern/StaticTimePicker/StaticTimePicker.js +4 -304
  187. package/modern/StaticTimePicker/index.js +2 -1
  188. package/modern/TimePicker/TimePicker.js +4 -366
  189. package/modern/TimePicker/index.js +2 -1
  190. package/modern/YearPicker/YearPicker.js +10 -8
  191. package/modern/YearPicker/index.js +2 -1
  192. package/modern/index.js +1 -1
  193. package/node/AdapterDateFns/AdapterDateFns.js +24 -0
  194. package/node/AdapterDateFns/index.js +4 -2
  195. package/node/AdapterDayjs/AdapterDayjs.js +24 -0
  196. package/node/AdapterDayjs/index.js +4 -2
  197. package/node/AdapterLuxon/AdapterLuxon.js +24 -0
  198. package/node/AdapterLuxon/index.js +4 -2
  199. package/node/AdapterMoment/AdapterMoment.js +24 -0
  200. package/node/AdapterMoment/index.js +4 -2
  201. package/node/CalendarPicker/CalendarPicker.js +8 -15
  202. package/node/CalendarPicker/index.js +17 -10
  203. package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +15 -30
  204. package/node/CalendarPickerSkeleton/index.js +16 -15
  205. package/node/ClockPicker/ClockPicker.js +8 -15
  206. package/node/ClockPicker/index.js +17 -10
  207. package/node/DatePicker/DatePicker.js +4 -454
  208. package/node/DatePicker/index.js +18 -3
  209. package/node/DateTimePicker/DateTimePicker.js +4 -542
  210. package/node/DateTimePicker/index.js +18 -3
  211. package/node/DesktopDatePicker/DesktopDatePicker.js +4 -418
  212. package/node/DesktopDatePicker/index.js +18 -3
  213. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -506
  214. package/node/DesktopDateTimePicker/index.js +18 -3
  215. package/node/DesktopTimePicker/DesktopTimePicker.js +4 -336
  216. package/node/DesktopTimePicker/index.js +19 -2
  217. package/node/LocalizationProvider/LocalizationProvider.js +3 -28
  218. package/node/LocalizationProvider/index.js +18 -3
  219. package/node/Masonry/Masonry.js +14 -7
  220. package/node/MobileDatePicker/MobileDatePicker.js +3 -431
  221. package/node/MobileDatePicker/index.js +18 -3
  222. package/node/MobileDateTimePicker/MobileDateTimePicker.js +4 -520
  223. package/node/MobileDateTimePicker/index.js +18 -3
  224. package/node/MobileTimePicker/MobileTimePicker.js +4 -350
  225. package/node/MobileTimePicker/index.js +18 -3
  226. package/node/MonthPicker/MonthPicker.js +15 -15
  227. package/node/MonthPicker/index.js +16 -15
  228. package/node/PickersDay/PickersDay.js +15 -30
  229. package/node/PickersDay/index.js +16 -15
  230. package/node/StaticDatePicker/StaticDatePicker.js +4 -392
  231. package/node/StaticDatePicker/index.js +18 -3
  232. package/node/StaticDateTimePicker/StaticDateTimePicker.js +4 -480
  233. package/node/StaticDateTimePicker/index.js +18 -3
  234. package/node/StaticTimePicker/StaticTimePicker.js +4 -310
  235. package/node/StaticTimePicker/index.js +19 -2
  236. package/node/TimePicker/TimePicker.js +4 -372
  237. package/node/TimePicker/index.js +18 -3
  238. package/node/YearPicker/YearPicker.js +15 -19
  239. package/node/YearPicker/index.js +18 -13
  240. package/node/index.js +1 -1
  241. package/package.json +6 -25
  242. package/themeAugmentation/index.d.ts +0 -2
@@ -0,0 +1,3 @@
1
+ export default class AdapterDateFns {
2
+ constructor();
3
+ }
@@ -0,0 +1,16 @@
1
+ let warnedOnce = false;
2
+
3
+ const warn = () => {
4
+ if (!warnedOnce) {
5
+ console.warn(['MUI: The AdapterDateFns class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
6
+ warnedOnce = true;
7
+ }
8
+ }; // tslint:disable-next-line:no-unnecessary-class
9
+
10
+
11
+ export default class AdapterDateFns {
12
+ constructor() {
13
+ warn();
14
+ }
15
+
16
+ }
@@ -1 +1 @@
1
- export { AdapterDateFns as default } from '@mui/x-date-pickers/AdapterDateFns';
1
+ export { default } from './AdapterDateFns';
@@ -1 +1 @@
1
- export { AdapterDateFns as default } from '@mui/x-date-pickers/AdapterDateFns';
1
+ export { default } from './AdapterDateFns';
@@ -0,0 +1,3 @@
1
+ export default class AdapterDayjs {
2
+ constructor();
3
+ }
@@ -0,0 +1,16 @@
1
+ let warnedOnce = false;
2
+
3
+ const warn = () => {
4
+ if (!warnedOnce) {
5
+ console.warn(['MUI: The AdapterDayjs class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
6
+ warnedOnce = true;
7
+ }
8
+ }; // tslint:disable-next-line:no-unnecessary-class
9
+
10
+
11
+ export default class AdapterDayjs {
12
+ constructor() {
13
+ warn();
14
+ }
15
+
16
+ }
@@ -1 +1 @@
1
- export { AdapterDayjs as default } from '@mui/x-date-pickers/AdapterDayjs';
1
+ export { default } from './AdapterDayjs';
@@ -1 +1 @@
1
- export { AdapterDayjs as default } from '@mui/x-date-pickers/AdapterDayjs';
1
+ export { default } from './AdapterDayjs';
@@ -0,0 +1,3 @@
1
+ export default class AdapterLuxon {
2
+ constructor();
3
+ }
@@ -0,0 +1,16 @@
1
+ let warnedOnce = false;
2
+
3
+ const warn = () => {
4
+ if (!warnedOnce) {
5
+ console.warn(['MUI: The AdapterLuxon class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterLuxon } from '@mui/x-date-pickers/AdapterLuxon'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
6
+ warnedOnce = true;
7
+ }
8
+ }; // tslint:disable-next-line:no-unnecessary-class
9
+
10
+
11
+ export default class AdapterLuxon {
12
+ constructor() {
13
+ warn();
14
+ }
15
+
16
+ }
@@ -1 +1 @@
1
- export { AdapterLuxon as default } from '@mui/x-date-pickers/AdapterLuxon';
1
+ export { default } from './AdapterLuxon';
@@ -1 +1 @@
1
- export { AdapterLuxon as default } from '@mui/x-date-pickers/AdapterLuxon';
1
+ export { default } from './AdapterLuxon';
@@ -0,0 +1,3 @@
1
+ export default class AdapterMoment {
2
+ constructor();
3
+ }
@@ -0,0 +1,16 @@
1
+ let warnedOnce = false;
2
+
3
+ const warn = () => {
4
+ if (!warnedOnce) {
5
+ console.warn(['MUI: The AdapterMoment class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
6
+ warnedOnce = true;
7
+ }
8
+ }; // tslint:disable-next-line:no-unnecessary-class
9
+
10
+
11
+ export default class AdapterMoment {
12
+ constructor() {
13
+ warn();
14
+ }
15
+
16
+ }
@@ -1 +1 @@
1
- export { AdapterMoment as default } from '@mui/x-date-pickers/AdapterMoment';
1
+ export { default } from './AdapterMoment';
@@ -1 +1 @@
1
- export { AdapterMoment as default } from '@mui/x-date-pickers/AdapterMoment';
1
+ export { default } from './AdapterMoment';
package/CHANGELOG.md CHANGED
@@ -1,5 +1,195 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.9.0
4
+
5
+ <!-- generated comparing v5.8.7..master -->
6
+
7
+ _Jul 12, 2022_
8
+
9
+ A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🧪 Exported Grid v2 as `Unstable_Grid2` (#33479) @siriwatknp
12
+ - 📖 Added a guide for using Joy UI and Material UI together (#33396) @siriwatknp
13
+ - 🐛 Fixed a few bugs in Material UI components. Thanks to @ZeeshanTamboli, @ivan-ngchakming, and @joebingham-wk.
14
+ - many other 🐛 bug fixes and 📚 documentation improvements
15
+ - our documentation site is now running with React 18! (#33196) @mnajdova
16
+
17
+ ### `@mui/material@5.9.0`
18
+
19
+ - [CssBaseline] Fixes in overriding style (#33338) @ZeeshanTamboli
20
+ - [Autocomplete] Remove unnecessary `clsx` wrapper for single className (#33398) @ZeeshanTamboli
21
+ - [Grid] Export new grid as unstable (#33479) @siriwatknp
22
+ - [Tooltip] Fix children mouse over detection (#32321) @ivan-ngchakming
23
+ - [TypeScript] getCssVar autocomplete for Material UI (#33464) @siriwatknp
24
+ - [TypeScript] Fix theme options components types to use `Theme` (#33434) @siriwatknp
25
+ - [TypeScript] Reexports necessary types for module augmentation (#33397) @siriwatknp
26
+ - [ScopedCssBaseline] Add sx typings (#33474) @joebingham-wk
27
+
28
+ ### `@mui/system@5.9.0`
29
+
30
+ - [System] Add offset feature to Grid (#33415) @siriwatknp
31
+ - [system] Add new `Grid` implementation (#32746) @siriwatknp
32
+
33
+ ### `@mui/lab@5.0.0-alpha.90`
34
+
35
+ - [lab] Remove the pickers (#33386) @flaviendelangle
36
+ - [Masonry] Support `rem`/`em` values for `spacing` prop (#33384) @hbjORbj
37
+
38
+ ### `@mui/base@5.0.0-alpha.89`
39
+
40
+ - Base] Change the order of class names merged in useSlotProps (#33383) @michaldudak
41
+ - [ModalUnstyled] Accept callbacks in componentsProps (#33181) @michaldudak
42
+ - [SelectUnstyled] Accept callbacks in componentsProps (#33197) @michaldudak
43
+ - [TabsUnstyled] Accept callbacks in componentsProps (#33284) @michaldudak
44
+
45
+ ### `@mui/joy@5.0.0-alpha.36`
46
+
47
+ - [Joy] Add guide about using Joy and Material UI together (#33396) @siriwatknp
48
+ - [Joy] Fix variants color palette regressions (#33394) @danilo-leal
49
+
50
+ ### Docs
51
+
52
+ - [docs] Correcting small grammatical error (#33393) @robyyo
53
+ - [docs] Link to the correct package on Joy component pages (#33439) @cherniavskii
54
+ - [docs] Fix e2e tests (#33477) @siriwatknp
55
+ - [docs] Fix dead links (#33462) @oliviertassinari
56
+ - [docs] Cleanup the migration (#33463) @siriwatknp
57
+ - [docs] Fix broken Sponsoring services links @samuelsycamore
58
+ - [docs] Improve repo README with light/dark logos, relative links and more (#33356) @samuelsycamore
59
+ - [docs] Update links to MUI X Overview and Introduction pages (#33201) @samuelsycamore
60
+ - [docs] Update to React 18 (#33196) @mnajdova
61
+ - [docs] Simplify "Upload button" demo (#33326) @baharalidurrani
62
+ - [docs] Add "refine" demo to showcase (#33240) @omeraplak
63
+ - [docs] Add webpack alias for legacy utils package (#33376) @jgbae
64
+ - [docs] Improve external link icons synonyms (#33257) @davidgarciab
65
+ - [examples] Update MUI Base with Tailwind CSS to use the latest versions of the dependencies (#33401) @mnajdova
66
+ - [examples] Add MUI base example (#33154) @siriwatknp
67
+
68
+ ### Core
69
+
70
+ - [core] Fix @mui/monorepo regression for the import of the docs infra (#33390) @Janpot
71
+ - [core] Remove old babel resolve rule (#33432) @oliviertassinari
72
+ - [website] Shorten the plan descriptions on the pricing page (#32984) @joserodolfofreitas
73
+ - [website] Link EULA in the license quantity section (#33292) @oliviertassinari
74
+
75
+ All contributors of this release in alphabetical order: @baharalidurrani, @cherniavskii, @danilo-leal, @davidgarciab, @flaviendelangle, @hbjORbj, @ivan-ngchakming, @Janpot, @jgbae, @joebingham-wk, @joserodolfofreitas, @michaldudak, @mnajdova, @oliviertassinari, @omeraplak, @robyyo, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
76
+
77
+ ## 5.8.7
78
+
79
+ <!-- generated comparing v5.8.6..master -->
80
+
81
+ _Jul 4, 2022_
82
+
83
+ A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
84
+
85
+ - 🐛 Fixed an issue causing Typescript errors when building a project with Material UI v5.8.6 (@michaldudak)
86
+ - 🐛 Fixed a few bugs in Material UI components. Thanks @henriqueholtz, @jake-collibra, @MattiasMartens and @TimoWilhelm!
87
+ - many other 🐛 bug fixes and 📚 documentation improvements
88
+
89
+ ### `@mui/material@5.8.7`
90
+
91
+ - [Autocomplete] Add some missing props in `useAutocomplete` (#33269) @henriqueholtz
92
+ - [Autocomplete] Extend `componentsProps` to include `popper` and `popupIndicator` slots (#33283) @jake-collibra
93
+ - [Select] Annotate empty string as valid value prop (#33088) @MattiasMartens
94
+ - [SnackbarContent] Fix message text color with css var provider (#33285) @TimoWilhelm
95
+
96
+ ### `@mui/styled-engine@5.8.7`
97
+
98
+ - [styled-engine] Add missing type dependency on csstype (#33310) @Methuselah96
99
+
100
+ ### `@mui/system@5.8.7`
101
+
102
+ - [system] Simplify theme input types for `CssVarsProvider` (#33381) @siriwatknp
103
+ - [system] Export required types (#33324) @michaldudak
104
+
105
+ ### `@mui/joy@5.0.0-alpha.35`
106
+
107
+ - [Joy] Add radio button documentation (#33254) @siriwatknp
108
+ - [Joy] Add switch documentation (#33302) @siriwatknp
109
+ - [Joy] Batch a couple of documentation refinements (#33158)
110
+ - [Joy] Enable Joy and Material UI compatibility (#33379) @siriwatknp
111
+
112
+ ### `@mui/base@5.0.0-alpha.88`
113
+
114
+ - [base] Remove a type incompatible with Typescript 3.5 (#33361) @michaldudak
115
+ - [BadgeUnstyled] Export BadgeUnstyledOwnProps interface to fix typescript compiler error (#33314) @aaronlademann-wf
116
+ - [TablePaginationUnstyled] Accept callbacks in componentsProps (#33309) @michaldudak
117
+
118
+ ### Docs
119
+
120
+ - [docs] Fix Link typings in the react-router example (#32308) @aaarichter
121
+ - [docs] Add caveat about class components with Tooltip (#33325) @joshkel
122
+ - [docs] Fix SEO issues (#33288) @oliviertassinari
123
+ - [docs] Fix Slider's "player" demo (#33267) @xlianghang
124
+ - [website] Link MUI Toolpad in mui.com (#33287) @oliviertassinari
125
+
126
+ All contributors of this release in alphabetical order: @aaarichter, @aaronlademann-wf, @danilo-leal, @henriqueholtz, @jake-collibra, @joshkel, @MattiasMartens, @Methuselah96, @michaldudak, @oliviertassinari, @siriwatknp, @TimoWilhelm, @xlianghang
127
+
128
+ ## 5.8.6
129
+
130
+ <!-- generated comparing v5.8.5..master -->
131
+
132
+ _Jun 27, 2022_
133
+
134
+ A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
135
+
136
+ - ⚒️ Fixed React 18 issues in few components
137
+ - 🚀 Improved the TypeScript augmentation when using CSS variables with `@mui/material`
138
+ - many other 🐛 bug fixes and 📚 documentation improvements
139
+
140
+ ### `@mui/material@5.8.6`
141
+
142
+ - &#8203;<!-- 27 -->[Alert] Add support for CSS vars (#32624) @haneenmahd
143
+ - &#8203;<!-- 26 -->[Alert] Use `getContrastText` for filled variant font color (#29813) @SamoraMabuya
144
+
145
+ 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
146
+
147
+ - &#8203;<!-- 11 -->[OutlinedInput] Fix `ownerState` undefined in theme style overrides (#33241) @siriwatknp
148
+ - &#8203;<!-- 08 -->[Tabs] Fix crash when used with React 18 & Suspense (#33277) @mnajdova
149
+ - &#8203;<!-- 05 -->[TypeScript] Add CSS vars type augmentation for Material UI (#33211) @siriwatknp
150
+
151
+ ### `@mui/system@5.8.6`
152
+
153
+ - &#8203;<!-- 09 -->[system] Add enableColorScheme option to getInitColorSchemeScript (#33261) @siriwatknp
154
+
155
+ ### `@mui/utils@5.8.6`
156
+
157
+ - &#8203;<!-- 04 -->[utils] Allow state prefix to be configurable (#32972) @siriwatknp
158
+
159
+ ### `@mui/base@5.0.0-alpha.87`
160
+
161
+ - &#8203;<!-- 25 -->[base] Improve the return type of useSlotProps (#33279) @michaldudak
162
+ - &#8203;<!-- 24 -->[base] Improve some types (#33270) @mnajdova
163
+ - &#8203;<!-- 13 -->[MenuUnstyled] Fix keyboard accessibility of menu items (#33145) @michaldudak
164
+ - &#8203;<!-- 12 -->[ModalManager] Lock body scroll when container is inside shadow DOM (#33168) @jacobweberbowery
165
+ - &#8203;<!-- 10 -->[SliderUnstyled] Use useSlotProps (#33132) @michaldudak
166
+ - &#8203;<!-- 07 -->[TextareaAutosize] Fix crash when used with React 18 & Suspense (#33238) @howlettt
167
+ - &#8203;<!-- 06 -->[TextareaAutosize] Fix warnings for too many renders in React 18 (#33253) @mnajdova
168
+
169
+ ### `@mui/joy@5.0.0-alpha.34`
170
+
171
+ - &#8203;<!-- 14 -->[Joy] Add `Sheet` doc (#32820) @hbjORbj
172
+
173
+ ### Docs
174
+
175
+ - &#8203;<!-- 23 -->[blog] Polish Why you should migrate to Material UI v5 today (#33244) @oliviertassinari
176
+ - &#8203;<!-- 21 -->[docs] Add note in docs about `componentsProps.root` taking precedence (#33097) @ZeeshanTamboli
177
+ - &#8203;<!-- 20 -->[docs] Remove a note about Base components being reexported from Material UI (#33265) @michaldudak
178
+ - &#8203;<!-- 19 -->[docs] Update code snippet in docs for custom color palette (#32946) @ZeeshanTamboli
179
+ - &#8203;<!-- 18 -->[docs] Fix the docs for production class generation (#31933) @Fafruch
180
+ - &#8203;<!-- 17 -->[docs] Fix internal link in Box page (#33149) @davidgarciab
181
+ - &#8203;<!-- 16 -->[docs] Badge component link in Base docs should be under Data Display section (#33249) @ZeeshanTamboli
182
+ - &#8203;<!-- 15 -->[examples] Fix comment typo (#33256) @WinmezzZ
183
+
184
+ ### Core
185
+
186
+ - &#8203;<!-- 22 -->[core] Remove dead code (#33243) @oliviertassinari
187
+ - &#8203;<!-- 03 -->[website] Fix the scroll-top for all the website (#33215) @oliviertassinari
188
+ - &#8203;<!-- 02 -->[website] List new core role @oliviertassinari
189
+ - &#8203;<!-- 01 -->[website] Fix navigation menu close behavior (#33203) @oliviertassinari
190
+
191
+ All contributors of this release in alphabetical order: @davidgarciab, @Fafruch, @haneenmahd, @hbjORbj, @howlettt, @jacobweberbowery, @michaldudak, @mnajdova, @oliviertassinari, @SamoraMabuya, @siriwatknp, @WinmezzZ, @ZeeshanTamboli
192
+
3
193
  ## 5.8.5
4
194
 
5
195
  <!-- generated comparing v5.8.4..master -->
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import { CalendarPickerProps } from '@mui/x-date-pickers/CalendarPicker';
3
2
  declare type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
3
  propTypes?: any;
5
4
  };
@@ -8,3 +7,8 @@ declare type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate
8
7
  */
9
8
  declare const CalendarPicker: CalendarPickerComponent;
10
9
  export default CalendarPicker;
10
+ export declare const calendarPickerClasses: {};
11
+ export declare type CalendarPickerClassKey = any;
12
+ export declare type CalendarPickerClasses = any;
13
+ export declare type CalendarPickerProps<TDate> = Record<any, any>;
14
+ export declare type CalendarPickerView = 'year' | 'day' | 'month';
@@ -1,12 +1,10 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
2
  import * as React from 'react';
3
- import { CalendarPicker as XCalendarPicker } from '@mui/x-date-pickers/CalendarPicker';
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
3
  let warnedOnce = false;
6
4
 
7
5
  const warn = () => {
8
6
  if (!warnedOnce) {
9
- console.warn(['MUI: The CalendarPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', 'The component will no longer be exported from `@mui/lab` in the first release of July 2022.', '', "You should use `import { CalendarPicker } from '@mui/x-date-pickers'`", "or `import { CalendarPicker } from '@mui/x-date-pickers/CalendarPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
7
+ console.warn(['MUI: The CalendarPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { CalendarPicker } from '@mui/x-date-pickers'`", "or `import { CalendarPicker } from '@mui/x-date-pickers/CalendarPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
10
8
  warnedOnce = true;
11
9
  }
12
10
  };
@@ -14,10 +12,9 @@ const warn = () => {
14
12
  /**
15
13
  * @ignore - do not document.
16
14
  */
17
- const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker(props, ref) {
15
+ const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker() {
18
16
  warn();
19
- return /*#__PURE__*/_jsx(XCalendarPicker, _extends({
20
- ref: ref
21
- }, props));
17
+ return null;
22
18
  });
23
- export default CalendarPicker;
19
+ export default CalendarPicker;
20
+ export const calendarPickerClasses = {};
@@ -1,3 +1,2 @@
1
1
  export { default } from './CalendarPicker';
2
- export { calendarPickerClasses } from '@mui/x-date-pickers/CalendarPicker';
3
- export type { CalendarPickerClassKey, CalendarPickerClasses, CalendarPickerProps, CalendarPickerView, } from '@mui/x-date-pickers/CalendarPicker';
2
+ export * from './CalendarPicker';
@@ -1,2 +1,2 @@
1
1
  export { default } from './CalendarPicker';
2
- export { calendarPickerClasses } from '@mui/x-date-pickers/CalendarPicker';
2
+ export * from './CalendarPicker';
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import { CalendarPickerSkeletonProps } from '@mui/x-date-pickers/CalendarPickerSkeleton';
3
2
  declare type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
3
  propTypes?: any;
5
4
  };
@@ -8,3 +7,7 @@ declare type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonPr
8
7
  */
9
8
  declare const CalendarPickerSkeleton: CalendarPickerSkeletonComponent;
10
9
  export default CalendarPickerSkeleton;
10
+ export declare const calendarPickerSkeletonClasses: {};
11
+ export declare const getCalendarPickerSkeletonUtilityClass: (slot: string) => string;
12
+ export declare type CalendarPickerSkeletonProps = Record<any, any>;
13
+ export declare type CalendarPickerSkeletonClassKey = any;
@@ -1,13 +1,10 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
2
  import * as React from 'react';
3
- import PropTypes from 'prop-types';
4
- import { CalendarPickerSkeleton as XCalendarPickerSkeleton } from '@mui/x-date-pickers/CalendarPickerSkeleton';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
3
  let warnedOnce = false;
7
4
 
8
5
  const warn = () => {
9
6
  if (!warnedOnce) {
10
- console.warn(['MUI: The CalendarPickerSkeleton component was moved from `@mui/lab` to `@mui/x-date-pickers`.', 'The component will no longer be exported from `@mui/lab` in the first release of July 2022.', '', "You should use `import { CalendarPickerSkeleton } from '@mui/x-date-pickers'`", "or `import { CalendarPickerSkeleton } from '@mui/x-date-pickers/CalendarPickerSkeleton'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
7
+ console.warn(['MUI: The CalendarPickerSkeleton component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { CalendarPickerSkeleton } from '@mui/x-date-pickers'`", "or `import { CalendarPickerSkeleton } from '@mui/x-date-pickers/CalendarPickerSkeleton'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
11
8
  warnedOnce = true;
12
9
  }
13
10
  };
@@ -15,23 +12,13 @@ const warn = () => {
15
12
  /**
16
13
  * @ignore - do not document.
17
14
  */
18
- const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton(props, ref) {
15
+ const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton() {
19
16
  warn();
20
- return /*#__PURE__*/_jsx(XCalendarPickerSkeleton, _extends({
21
- ref: ref
22
- }, props));
17
+ return null;
23
18
  });
24
- process.env.NODE_ENV !== "production" ? CalendarPickerSkeleton.propTypes
25
- /* remove-proptypes */
26
- = {
27
- // ----------------------------- Warning --------------------------------
28
- // | These PropTypes are generated from the TypeScript type definitions |
29
- // | To update them edit TypeScript types and run "yarn proptypes" |
30
- // ----------------------------------------------------------------------
31
-
32
- /**
33
- * @ignore
34
- */
35
- children: PropTypes.node
36
- } : void 0;
37
- export default CalendarPickerSkeleton;
19
+ export default CalendarPickerSkeleton;
20
+ export const calendarPickerSkeletonClasses = {};
21
+ export const getCalendarPickerSkeletonUtilityClass = slot => {
22
+ warn();
23
+ return '';
24
+ };
@@ -1,3 +1,2 @@
1
1
  export { default } from './CalendarPickerSkeleton';
2
- export { calendarPickerSkeletonClasses, getCalendarPickerSkeletonUtilityClass, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
3
- export type { CalendarPickerSkeletonClassKey, CalendarPickerSkeletonProps, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
2
+ export * from './CalendarPickerSkeleton';
@@ -1,2 +1,2 @@
1
1
  export { default } from './CalendarPickerSkeleton';
2
- export { calendarPickerSkeletonClasses, getCalendarPickerSkeletonUtilityClass } from '@mui/x-date-pickers/CalendarPickerSkeleton';
2
+ export * from './CalendarPickerSkeleton';
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import { ClockPickerProps } from '@mui/x-date-pickers/ClockPicker';
3
2
  declare type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
3
  propTypes?: any;
5
4
  };
@@ -8,3 +7,8 @@ declare type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & Re
8
7
  */
9
8
  declare const ClockPicker: ClockPickerComponent;
10
9
  export default ClockPicker;
10
+ export declare const clockPickerClasses: {};
11
+ export declare type ClockPickerProps<TDate> = Record<any, any>;
12
+ export declare type ClockPickerView = 'hours' | 'minutes' | 'seconds';
13
+ export declare type ClockPickerClasses = any;
14
+ export declare type ClockPickerClassKey = any;
@@ -1,12 +1,10 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
2
  import * as React from 'react';
3
- import { ClockPicker as XClockPicker } from '@mui/x-date-pickers/ClockPicker';
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
3
  let warnedOnce = false;
6
4
 
7
5
  const warn = () => {
8
6
  if (!warnedOnce) {
9
- console.warn(['MUI: The ClockPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', 'The component will no longer be exported from `@mui/lab` in the first release of July 2022.', '', "You should use `import { ClockPicker } from '@mui/x-date-pickers'`", "or `import { ClockPicker } from '@mui/x-date-pickers/ClockPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
7
+ console.warn(['MUI: The ClockPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { ClockPicker } from '@mui/x-date-pickers'`", "or `import { ClockPicker } from '@mui/x-date-pickers/ClockPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
10
8
  warnedOnce = true;
11
9
  }
12
10
  };
@@ -14,10 +12,9 @@ const warn = () => {
14
12
  /**
15
13
  * @ignore - do not document.
16
14
  */
17
- const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker(props, ref) {
15
+ const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker() {
18
16
  warn();
19
- return /*#__PURE__*/_jsx(XClockPicker, _extends({
20
- ref: ref
21
- }, props));
17
+ return null;
22
18
  });
23
- export default ClockPicker;
19
+ export default ClockPicker;
20
+ export const clockPickerClasses = {};
@@ -1,3 +1,2 @@
1
1
  export { default } from './ClockPicker';
2
- export { clockPickerClasses } from '@mui/x-date-pickers/ClockPicker';
3
- export type { ClockPickerClasses, ClockPickerClassKey, ClockPickerProps, ClockPickerView, } from '@mui/x-date-pickers/ClockPicker';
2
+ export * from './ClockPicker';
@@ -1,2 +1,2 @@
1
1
  export { default } from './ClockPicker';
2
- export { clockPickerClasses } from '@mui/x-date-pickers/ClockPicker';
2
+ export * from './ClockPicker';
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
3
2
  declare type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
3
  propTypes?: any;
5
4
  };
@@ -8,3 +7,4 @@ declare type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & Reac
8
7
  */
9
8
  declare const DatePicker: DatePickerComponent;
10
9
  export default DatePicker;
10
+ export declare type DatePickerProps<TDate> = Record<any, any>;