@mui/lab 5.0.0-alpha.52 → 5.0.0-alpha.56

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 (384) hide show
  1. package/AdapterDateFns/index.d.ts +1 -1
  2. package/AdapterDayjs/index.d.ts +1 -1
  3. package/AdapterLuxon/index.d.ts +1 -1
  4. package/AdapterMoment/index.d.ts +1 -1
  5. package/CHANGELOG.md +302 -9
  6. package/CalendarPicker/CalendarPicker.d.ts +106 -96
  7. package/CalendarPicker/CalendarPicker.js +13 -1
  8. package/CalendarPicker/PickersCalendar.d.ts +47 -45
  9. package/CalendarPicker/PickersCalendar.js +9 -3
  10. package/CalendarPicker/PickersCalendarHeader.d.ts +43 -42
  11. package/CalendarPicker/PickersCalendarHeader.js +5 -4
  12. package/CalendarPicker/PickersFadeTransitionGroup.d.ts +12 -12
  13. package/CalendarPicker/PickersFadeTransitionGroup.js +1 -1
  14. package/CalendarPicker/PickersSlideTransition.d.ts +16 -16
  15. package/CalendarPicker/PickersSlideTransition.js +1 -1
  16. package/CalendarPicker/index.d.ts +5 -5
  17. package/CalendarPicker/shared.d.ts +1 -1
  18. package/CalendarPicker/useCalendarState.d.ts +32 -32
  19. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +41 -41
  20. package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +2 -2
  21. package/CalendarPickerSkeleton/index.d.ts +3 -3
  22. package/ClockPicker/Clock.d.ts +28 -28
  23. package/ClockPicker/ClockNumber.d.ts +19 -19
  24. package/ClockPicker/ClockNumber.js +1 -1
  25. package/ClockPicker/ClockNumbers.d.ts +24 -24
  26. package/ClockPicker/ClockPicker.d.ts +121 -121
  27. package/ClockPicker/ClockPicker.js +1 -1
  28. package/ClockPicker/ClockPickerStandalone.d.ts +28 -28
  29. package/ClockPicker/ClockPointer.d.ts +23 -23
  30. package/ClockPicker/index.d.ts +5 -5
  31. package/ClockPicker/shared.d.ts +5 -5
  32. package/DatePicker/DatePicker.d.ts +27 -27
  33. package/DatePicker/DatePicker.js +2 -0
  34. package/DatePicker/DatePickerToolbar.d.ts +23 -23
  35. package/DatePicker/DatePickerToolbar.js +1 -1
  36. package/DatePicker/index.d.ts +2 -2
  37. package/DatePicker/shared.d.ts +45 -45
  38. package/DateRangePicker/DateRangePicker.d.ts +65 -65
  39. package/DateRangePicker/DateRangePicker.js +2 -0
  40. package/DateRangePicker/DateRangePickerInput.d.ts +35 -35
  41. package/DateRangePicker/DateRangePickerToolbar.d.ts +15 -15
  42. package/DateRangePicker/DateRangePickerToolbar.js +1 -1
  43. package/DateRangePicker/DateRangePickerView.d.ts +44 -44
  44. package/DateRangePicker/DateRangePickerViewDesktop.d.ts +29 -29
  45. package/DateRangePicker/DateRangePickerViewMobile.d.ts +17 -17
  46. package/DateRangePicker/RangeTypes.d.ts +8 -8
  47. package/DateRangePicker/date-range-manager.d.ts +14 -14
  48. package/DateRangePicker/index.d.ts +3 -3
  49. package/DateRangePickerDay/DateRangePickerDay.d.ts +79 -79
  50. package/DateRangePickerDay/DateRangePickerDay.js +2 -2
  51. package/DateRangePickerDay/index.d.ts +2 -2
  52. package/DateTimePicker/DateTimePicker.d.ts +27 -27
  53. package/DateTimePicker/DateTimePicker.js +2 -0
  54. package/DateTimePicker/DateTimePickerTabs.d.ts +13 -13
  55. package/DateTimePicker/DateTimePickerToolbar.d.ts +7 -7
  56. package/DateTimePicker/DateTimePickerToolbar.js +1 -1
  57. package/DateTimePicker/index.d.ts +2 -2
  58. package/DateTimePicker/shared.d.ts +67 -67
  59. package/DesktopDatePicker/DesktopDatePicker.d.ts +20 -20
  60. package/DesktopDatePicker/DesktopDatePicker.js +2 -0
  61. package/DesktopDatePicker/index.d.ts +2 -2
  62. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +64 -64
  63. package/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -0
  64. package/DesktopDateRangePicker/index.d.ts +2 -2
  65. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +20 -20
  66. package/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -0
  67. package/DesktopDateTimePicker/index.d.ts +2 -2
  68. package/DesktopTimePicker/DesktopTimePicker.d.ts +20 -20
  69. package/DesktopTimePicker/index.d.ts +2 -2
  70. package/LoadingButton/LoadingButton.js +20 -7
  71. package/LoadingButton/loadingButtonClasses.d.ts +22 -22
  72. package/LoadingButton/loadingButtonClasses.js +1 -1
  73. package/LocalizationProvider/LocalizationProvider.d.ts +35 -35
  74. package/LocalizationProvider/index.d.ts +2 -2
  75. package/Masonry/Masonry.js +83 -98
  76. package/Masonry/masonryClasses.d.ts +8 -8
  77. package/Masonry/masonryClasses.js +1 -1
  78. package/MobileDatePicker/MobileDatePicker.d.ts +20 -20
  79. package/MobileDatePicker/MobileDatePicker.js +2 -0
  80. package/MobileDatePicker/index.d.ts +2 -2
  81. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +64 -64
  82. package/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
  83. package/MobileDateRangePicker/index.d.ts +2 -2
  84. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +20 -20
  85. package/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
  86. package/MobileDateTimePicker/index.d.ts +2 -2
  87. package/MobileTimePicker/MobileTimePicker.d.ts +20 -20
  88. package/MobileTimePicker/index.d.ts +2 -2
  89. package/MonthPicker/MonthPicker.d.ts +53 -49
  90. package/MonthPicker/MonthPicker.js +23 -6
  91. package/MonthPicker/PickersMonth.d.ts +15 -15
  92. package/MonthPicker/PickersMonth.js +19 -14
  93. package/MonthPicker/index.d.ts +3 -3
  94. package/PickersDay/PickersDay.d.ts +93 -93
  95. package/PickersDay/PickersDay.js +2 -2
  96. package/PickersDay/index.d.ts +4 -4
  97. package/StaticDatePicker/StaticDatePicker.d.ts +25 -25
  98. package/StaticDatePicker/StaticDatePicker.js +2 -0
  99. package/StaticDatePicker/index.d.ts +2 -2
  100. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +67 -67
  101. package/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
  102. package/StaticDateRangePicker/index.d.ts +2 -2
  103. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +25 -25
  104. package/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
  105. package/StaticDateTimePicker/index.d.ts +2 -2
  106. package/StaticTimePicker/StaticTimePicker.d.ts +25 -25
  107. package/StaticTimePicker/index.d.ts +2 -2
  108. package/TabPanel/TabPanel.js +2 -2
  109. package/TabPanel/tabPanelClasses.d.ts +8 -8
  110. package/TabPanel/tabPanelClasses.js +1 -1
  111. package/TimePicker/TimePicker.d.ts +27 -27
  112. package/TimePicker/TimePickerToolbar.d.ts +23 -23
  113. package/TimePicker/TimePickerToolbar.js +1 -1
  114. package/TimePicker/index.d.ts +2 -2
  115. package/TimePicker/shared.d.ts +36 -36
  116. package/Timeline/Timeline.d.ts +59 -59
  117. package/Timeline/Timeline.js +2 -2
  118. package/Timeline/TimelineContext.d.ts +6 -6
  119. package/Timeline/index.d.ts +5 -5
  120. package/Timeline/timelineClasses.d.ts +3 -3
  121. package/Timeline/timelineClasses.js +1 -1
  122. package/TimelineConnector/TimelineConnector.js +2 -2
  123. package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
  124. package/TimelineConnector/timelineConnectorClasses.js +1 -1
  125. package/TimelineContent/TimelineContent.js +2 -2
  126. package/TimelineContent/timelineContentClasses.d.ts +14 -14
  127. package/TimelineContent/timelineContentClasses.js +1 -1
  128. package/TimelineDot/TimelineDot.js +2 -2
  129. package/TimelineDot/timelineDotClasses.d.ts +24 -24
  130. package/TimelineDot/timelineDotClasses.js +1 -1
  131. package/TimelineItem/TimelineItem.js +2 -2
  132. package/TimelineItem/timelineItemClasses.d.ts +16 -16
  133. package/TimelineItem/timelineItemClasses.js +1 -1
  134. package/TimelineOppositeContent/TimelineOppositeContent.js +2 -2
  135. package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
  136. package/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
  137. package/TimelineSeparator/TimelineSeparator.js +2 -2
  138. package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
  139. package/TimelineSeparator/timelineSeparatorClasses.js +1 -1
  140. package/TreeItem/TreeItem.js +2 -2
  141. package/TreeItem/treeItemClasses.d.ts +24 -24
  142. package/TreeItem/treeItemClasses.js +1 -1
  143. package/TreeView/TreeView.js +2 -2
  144. package/TreeView/treeViewClasses.d.ts +8 -8
  145. package/TreeView/treeViewClasses.js +1 -1
  146. package/YearPicker/PickersYear.d.ts +28 -28
  147. package/YearPicker/PickersYear.js +2 -2
  148. package/YearPicker/YearPicker.d.ts +44 -42
  149. package/YearPicker/YearPicker.js +18 -2
  150. package/YearPicker/index.d.ts +5 -5
  151. package/YearPicker/yearPickerClasses.d.ts +3 -3
  152. package/YearPicker/yearPickerClasses.js +1 -1
  153. package/index.d.ts +3 -0
  154. package/index.js +4 -2
  155. package/internal/pickers/KeyboardDateInput.d.ts +4 -4
  156. package/internal/pickers/Picker/Picker.d.ts +33 -33
  157. package/internal/pickers/Picker/PickerView.d.ts +3 -3
  158. package/internal/pickers/PickersArrowSwitcher.d.ts +41 -41
  159. package/internal/pickers/PickersModalDialog.d.ts +47 -47
  160. package/internal/pickers/PickersPopper.d.ts +33 -33
  161. package/internal/pickers/PickersToolbar.d.ts +14 -14
  162. package/internal/pickers/PickersToolbar.js +1 -1
  163. package/internal/pickers/PickersToolbarButton.d.ts +13 -13
  164. package/internal/pickers/PickersToolbarText.d.ts +8 -8
  165. package/internal/pickers/PickersToolbarText.js +1 -1
  166. package/internal/pickers/PureDateInput.d.ts +80 -80
  167. package/internal/pickers/constants/dimensions.d.ts +4 -4
  168. package/internal/pickers/constants/prop-types.d.ts +1 -1
  169. package/internal/pickers/date-time-utils.d.ts +8 -8
  170. package/internal/pickers/date-utils.d.ts +52 -52
  171. package/internal/pickers/hooks/date-helpers-hooks.d.ts +16 -16
  172. package/internal/pickers/hooks/useIsLandscape.d.ts +4 -4
  173. package/internal/pickers/hooks/useMaskedInput.d.ts +7 -7
  174. package/internal/pickers/hooks/useOpenState.d.ts +10 -10
  175. package/internal/pickers/hooks/usePickerState.d.ts +38 -38
  176. package/internal/pickers/hooks/useUtils.d.ts +7 -7
  177. package/internal/pickers/hooks/useValidation.d.ts +23 -23
  178. package/internal/pickers/hooks/useViews.d.ts +19 -19
  179. package/internal/pickers/test-utils.js +17 -7
  180. package/internal/pickers/text-field-helper.d.ts +11 -11
  181. package/internal/pickers/time-utils.d.ts +33 -33
  182. package/internal/pickers/typings/BasePicker.d.ts +95 -95
  183. package/internal/pickers/typings/Views.d.ts +1 -1
  184. package/internal/pickers/typings/helpers.d.ts +9 -9
  185. package/internal/pickers/utils.d.ts +7 -7
  186. package/internal/pickers/wrappers/DesktopTooltipWrapper.d.ts +4 -4
  187. package/internal/pickers/wrappers/DesktopWrapper.d.ts +16 -16
  188. package/internal/pickers/wrappers/MobileWrapper.d.ts +14 -14
  189. package/internal/pickers/wrappers/ResponsiveWrapper.d.ts +23 -23
  190. package/internal/pickers/wrappers/StaticWrapper.d.ts +10 -10
  191. package/internal/pickers/wrappers/WrapperProps.d.ts +13 -13
  192. package/internal/pickers/wrappers/WrapperVariantContext.d.ts +11 -11
  193. package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
  194. package/internal/svg-icons/ArrowLeft.d.ts +7 -7
  195. package/internal/svg-icons/ArrowRight.d.ts +7 -7
  196. package/internal/svg-icons/Calendar.d.ts +7 -7
  197. package/internal/svg-icons/Clock.d.ts +7 -7
  198. package/internal/svg-icons/DateRange.d.ts +7 -7
  199. package/internal/svg-icons/Pen.d.ts +7 -7
  200. package/internal/svg-icons/Time.d.ts +7 -7
  201. package/legacy/CalendarPicker/CalendarPicker.js +13 -1
  202. package/legacy/CalendarPicker/PickersCalendar.js +10 -3
  203. package/legacy/CalendarPicker/PickersCalendarHeader.js +5 -4
  204. package/legacy/CalendarPicker/PickersFadeTransitionGroup.js +1 -1
  205. package/legacy/CalendarPicker/PickersSlideTransition.js +1 -1
  206. package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +2 -2
  207. package/legacy/ClockPicker/ClockNumber.js +1 -1
  208. package/legacy/ClockPicker/ClockPicker.js +1 -1
  209. package/legacy/DatePicker/DatePicker.js +2 -0
  210. package/legacy/DatePicker/DatePickerToolbar.js +1 -1
  211. package/legacy/DateRangePicker/DateRangePicker.js +2 -0
  212. package/legacy/DateRangePicker/DateRangePickerToolbar.js +1 -1
  213. package/legacy/DateRangePickerDay/DateRangePickerDay.js +2 -2
  214. package/legacy/DateTimePicker/DateTimePicker.js +2 -0
  215. package/legacy/DateTimePicker/DateTimePickerToolbar.js +1 -1
  216. package/legacy/DesktopDatePicker/DesktopDatePicker.js +2 -0
  217. package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -0
  218. package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -0
  219. package/legacy/LoadingButton/LoadingButton.js +20 -6
  220. package/legacy/LoadingButton/loadingButtonClasses.js +1 -1
  221. package/legacy/Masonry/Masonry.js +83 -96
  222. package/legacy/Masonry/masonryClasses.js +1 -1
  223. package/legacy/MobileDatePicker/MobileDatePicker.js +2 -0
  224. package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
  225. package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
  226. package/legacy/MonthPicker/MonthPicker.js +22 -5
  227. package/legacy/MonthPicker/PickersMonth.js +20 -15
  228. package/legacy/PickersDay/PickersDay.js +2 -2
  229. package/legacy/StaticDatePicker/StaticDatePicker.js +2 -0
  230. package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
  231. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
  232. package/legacy/TabPanel/TabPanel.js +2 -2
  233. package/legacy/TabPanel/tabPanelClasses.js +1 -1
  234. package/legacy/TimePicker/TimePickerToolbar.js +1 -1
  235. package/legacy/Timeline/Timeline.js +2 -2
  236. package/legacy/Timeline/timelineClasses.js +1 -1
  237. package/legacy/TimelineConnector/TimelineConnector.js +2 -2
  238. package/legacy/TimelineConnector/timelineConnectorClasses.js +1 -1
  239. package/legacy/TimelineContent/TimelineContent.js +2 -2
  240. package/legacy/TimelineContent/timelineContentClasses.js +1 -1
  241. package/legacy/TimelineDot/TimelineDot.js +2 -2
  242. package/legacy/TimelineDot/timelineDotClasses.js +1 -1
  243. package/legacy/TimelineItem/TimelineItem.js +2 -2
  244. package/legacy/TimelineItem/timelineItemClasses.js +1 -1
  245. package/legacy/TimelineOppositeContent/TimelineOppositeContent.js +2 -2
  246. package/legacy/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
  247. package/legacy/TimelineSeparator/TimelineSeparator.js +2 -2
  248. package/legacy/TimelineSeparator/timelineSeparatorClasses.js +1 -1
  249. package/legacy/TreeItem/TreeItem.js +2 -2
  250. package/legacy/TreeItem/treeItemClasses.js +1 -1
  251. package/legacy/TreeView/TreeView.js +2 -2
  252. package/legacy/TreeView/treeViewClasses.js +1 -1
  253. package/legacy/YearPicker/PickersYear.js +2 -2
  254. package/legacy/YearPicker/YearPicker.js +18 -2
  255. package/legacy/YearPicker/yearPickerClasses.js +1 -1
  256. package/legacy/index.js +4 -2
  257. package/legacy/internal/pickers/PickersToolbar.js +1 -1
  258. package/legacy/internal/pickers/PickersToolbarText.js +1 -1
  259. package/legacy/internal/pickers/test-utils.js +13 -8
  260. package/legacy/useAutocomplete/index.js +1 -1
  261. package/modern/CalendarPicker/CalendarPicker.js +13 -1
  262. package/modern/CalendarPicker/PickersCalendar.js +9 -3
  263. package/modern/CalendarPicker/PickersCalendarHeader.js +5 -4
  264. package/modern/CalendarPicker/PickersFadeTransitionGroup.js +1 -1
  265. package/modern/CalendarPicker/PickersSlideTransition.js +1 -1
  266. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +2 -2
  267. package/modern/ClockPicker/ClockNumber.js +1 -1
  268. package/modern/ClockPicker/ClockPicker.js +1 -1
  269. package/modern/DatePicker/DatePicker.js +2 -0
  270. package/modern/DatePicker/DatePickerToolbar.js +1 -1
  271. package/modern/DateRangePicker/DateRangePicker.js +2 -0
  272. package/modern/DateRangePicker/DateRangePickerToolbar.js +1 -1
  273. package/modern/DateRangePickerDay/DateRangePickerDay.js +2 -2
  274. package/modern/DateTimePicker/DateTimePicker.js +2 -0
  275. package/modern/DateTimePicker/DateTimePickerToolbar.js +1 -1
  276. package/modern/DesktopDatePicker/DesktopDatePicker.js +2 -0
  277. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -0
  278. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -0
  279. package/modern/LoadingButton/LoadingButton.js +20 -7
  280. package/modern/LoadingButton/loadingButtonClasses.js +1 -1
  281. package/modern/Masonry/Masonry.js +79 -98
  282. package/modern/Masonry/masonryClasses.js +1 -1
  283. package/modern/MobileDatePicker/MobileDatePicker.js +2 -0
  284. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
  285. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
  286. package/modern/MonthPicker/MonthPicker.js +23 -6
  287. package/modern/MonthPicker/PickersMonth.js +19 -14
  288. package/modern/PickersDay/PickersDay.js +2 -2
  289. package/modern/StaticDatePicker/StaticDatePicker.js +2 -0
  290. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
  291. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
  292. package/modern/TabPanel/TabPanel.js +2 -2
  293. package/modern/TabPanel/tabPanelClasses.js +1 -1
  294. package/modern/TimePicker/TimePickerToolbar.js +1 -1
  295. package/modern/Timeline/Timeline.js +2 -2
  296. package/modern/Timeline/timelineClasses.js +1 -1
  297. package/modern/TimelineConnector/TimelineConnector.js +2 -2
  298. package/modern/TimelineConnector/timelineConnectorClasses.js +1 -1
  299. package/modern/TimelineContent/TimelineContent.js +2 -2
  300. package/modern/TimelineContent/timelineContentClasses.js +1 -1
  301. package/modern/TimelineDot/TimelineDot.js +2 -2
  302. package/modern/TimelineDot/timelineDotClasses.js +1 -1
  303. package/modern/TimelineItem/TimelineItem.js +2 -2
  304. package/modern/TimelineItem/timelineItemClasses.js +1 -1
  305. package/modern/TimelineOppositeContent/TimelineOppositeContent.js +2 -2
  306. package/modern/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
  307. package/modern/TimelineSeparator/TimelineSeparator.js +2 -2
  308. package/modern/TimelineSeparator/timelineSeparatorClasses.js +1 -1
  309. package/modern/TreeItem/TreeItem.js +2 -2
  310. package/modern/TreeItem/treeItemClasses.js +1 -1
  311. package/modern/TreeView/TreeView.js +2 -2
  312. package/modern/TreeView/treeViewClasses.js +1 -1
  313. package/modern/YearPicker/PickersYear.js +2 -2
  314. package/modern/YearPicker/YearPicker.js +18 -2
  315. package/modern/YearPicker/yearPickerClasses.js +1 -1
  316. package/modern/index.js +4 -2
  317. package/modern/internal/pickers/PickersToolbar.js +1 -1
  318. package/modern/internal/pickers/PickersToolbarText.js +1 -1
  319. package/modern/internal/pickers/test-utils.js +17 -7
  320. package/modern/useAutocomplete/index.js +1 -1
  321. package/node/CalendarPicker/CalendarPicker.js +16 -4
  322. package/node/CalendarPicker/PickersCalendar.js +9 -3
  323. package/node/CalendarPicker/PickersCalendarHeader.js +5 -4
  324. package/node/CalendarPicker/PickersFadeTransitionGroup.js +2 -2
  325. package/node/CalendarPicker/PickersSlideTransition.js +2 -2
  326. package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +5 -5
  327. package/node/ClockPicker/ClockNumber.js +2 -2
  328. package/node/ClockPicker/ClockPicker.js +4 -4
  329. package/node/DatePicker/DatePicker.js +2 -0
  330. package/node/DatePicker/DatePickerToolbar.js +2 -2
  331. package/node/DateRangePicker/DateRangePicker.js +2 -0
  332. package/node/DateRangePicker/DateRangePickerToolbar.js +2 -2
  333. package/node/DateRangePickerDay/DateRangePickerDay.js +5 -5
  334. package/node/DateTimePicker/DateTimePicker.js +2 -0
  335. package/node/DateTimePicker/DateTimePickerToolbar.js +2 -2
  336. package/node/DesktopDatePicker/DesktopDatePicker.js +2 -0
  337. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -0
  338. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -0
  339. package/node/LoadingButton/LoadingButton.js +21 -8
  340. package/node/LoadingButton/loadingButtonClasses.js +3 -3
  341. package/node/Masonry/Masonry.js +88 -100
  342. package/node/Masonry/masonryClasses.js +3 -3
  343. package/node/MobileDatePicker/MobileDatePicker.js +2 -0
  344. package/node/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
  345. package/node/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
  346. package/node/MonthPicker/MonthPicker.js +26 -9
  347. package/node/MonthPicker/PickersMonth.js +20 -15
  348. package/node/PickersDay/PickersDay.js +5 -5
  349. package/node/StaticDatePicker/StaticDatePicker.js +2 -0
  350. package/node/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
  351. package/node/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
  352. package/node/TabPanel/TabPanel.js +3 -3
  353. package/node/TabPanel/tabPanelClasses.js +3 -3
  354. package/node/TimePicker/TimePickerToolbar.js +4 -4
  355. package/node/Timeline/Timeline.js +3 -3
  356. package/node/Timeline/timelineClasses.js +3 -3
  357. package/node/TimelineConnector/TimelineConnector.js +3 -3
  358. package/node/TimelineConnector/timelineConnectorClasses.js +3 -3
  359. package/node/TimelineContent/TimelineContent.js +3 -3
  360. package/node/TimelineContent/timelineContentClasses.js +3 -3
  361. package/node/TimelineDot/TimelineDot.js +3 -3
  362. package/node/TimelineDot/timelineDotClasses.js +3 -3
  363. package/node/TimelineItem/TimelineItem.js +3 -3
  364. package/node/TimelineItem/timelineItemClasses.js +3 -3
  365. package/node/TimelineOppositeContent/TimelineOppositeContent.js +3 -3
  366. package/node/TimelineOppositeContent/timelineOppositeContentClasses.js +3 -3
  367. package/node/TimelineSeparator/TimelineSeparator.js +3 -3
  368. package/node/TimelineSeparator/timelineSeparatorClasses.js +3 -3
  369. package/node/TreeItem/TreeItem.js +3 -3
  370. package/node/TreeItem/treeItemClasses.js +3 -3
  371. package/node/TreeView/TreeView.js +3 -3
  372. package/node/TreeView/treeViewClasses.js +3 -3
  373. package/node/YearPicker/PickersYear.js +5 -5
  374. package/node/YearPicker/YearPicker.js +19 -3
  375. package/node/YearPicker/yearPickerClasses.js +3 -3
  376. package/node/index.js +23 -2
  377. package/node/internal/pickers/PickersToolbar.js +2 -2
  378. package/node/internal/pickers/PickersToolbarText.js +2 -2
  379. package/node/internal/pickers/test-utils.js +17 -7
  380. package/node/useAutocomplete/index.js +3 -3
  381. package/package.json +7 -6
  382. package/themeAugmentation/components.d.ts +10 -0
  383. package/useAutocomplete/index.d.ts +1 -1
  384. package/useAutocomplete/index.js +1 -1
@@ -1 +1 @@
1
- export { default } from '@date-io/date-fns';
1
+ export { default } from '@date-io/date-fns';
@@ -1 +1 @@
1
- export { default } from '@date-io/dayjs';
1
+ export { default } from '@date-io/dayjs';
@@ -1 +1 @@
1
- export { default } from '@date-io/luxon';
1
+ export { default } from '@date-io/luxon';
@@ -1 +1 @@
1
- export { default } from '@date-io/moment';
1
+ export { default } from '@date-io/moment';
package/CHANGELOG.md CHANGED
@@ -1,5 +1,298 @@
1
1
  ### [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.2.0
4
+
5
+ <!-- generated comparing v5.1.1..master -->
6
+
7
+ _Nov 23, 2021_
8
+
9
+ A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🧪 Created another unstyled component: [TabsUnstyled](https://mui.com/components/tabs/#unstyled) (#29597) @mnajdova.
12
+ - 🎉 Updated the Material Icons set with the latest changes from Google (#29328) @michaldudak / (#29818) @chao813.
13
+ This update adds 200 new icons and tweaks the appearance of many more.
14
+ With it, we're getting close to having 2000 icons in our set.
15
+ - 🐛 Fixed bugs and improved the infrastructure and documentation 📚.
16
+
17
+ ### `@mui/material@5.2.0`
18
+
19
+ - [IconButton] Remove on hover effect when `disableRipple` is set (#29298) @adamfitzgibbon
20
+ - [i18n] Add the amharic language (#29153) @NatiG100
21
+ - [material] Fix types for `variants.style` to accept callbacks (#29610) @mnajdova
22
+ - [Popper] Simplify prop types (#29680) @michaldudak
23
+ - [Select] Include aria-selected=false when option not selected (#29695) @michaldudak
24
+ - [useMediaQuery] Fix crash in Safari < 14 and IE 11 (#29776) @eps1lon
25
+ - [useMediaQuery] Ensure no tearing in React 18 (#28491) @eps1lon
26
+
27
+ ### `@mui/codemod@5.2.0`
28
+
29
+ - [codemod] Fix `jss-to-styled` to support multiple withStyles (#29824) @siriwatknp
30
+
31
+ ### `@mui/icons-material@5.2.0`
32
+
33
+ - [icons] Sync new Google Material Icons (#29818) @chao813
34
+ - [icons] Sync recent Material Icons from Google (#29328) @michaldudak
35
+
36
+ ### `@mui/system@5.2.0`
37
+
38
+ - [Box] Fix `sx` prop runtime issue when used as function (#29830) @mnajdova
39
+ - [system] Fix `sx` throw error when value is `null` or `undefined` (#29756) @siriwatknp
40
+ - [system] Fix minor CssVars issues (#29747) @siriwatknp
41
+
42
+ ### `@mui/styled-engine@5.2.0`
43
+
44
+ - [styled-engine] Fix props inference in styled-engine (#29739) @Janpot
45
+
46
+ ### `@mui/base@5.0.0-alpha.56`
47
+
48
+ - [FormControlUnstyled] `focused` is always false unless explicitly set to `true` @mwilkins91
49
+ - [TabsUnstyled] Introduce new component (#29597) @mnajdova
50
+
51
+ ### `@mui/lab@5.0.0-alpha.56`
52
+
53
+ - [DatePicker][timepicker] Add missing component declarations (#29517) @longzheng
54
+ - [Masonry] exports from root package (#29754) @abhinav-22-tech
55
+ - [pickers] Widen accepted `luxon` version range (#29761) @eps1lon
56
+
57
+ ### Docs
58
+
59
+ - [blog] MUI X v5 blog post (#29590) @DanailH
60
+ - [blog] Polish the Benny Joo joins MUI post (#29697) @oliviertassinari
61
+ - [CHANGELOG] Explain why we do breaking changes @oliviertassinari
62
+ - [core] Update latest issue template for codesandbox CI (#29783) @eps1lon
63
+ - [core] Ensure `@mui/core` is an alias for `@mui/base` (#29762) @eps1lon
64
+ - [docs] Fix broken Next and Previous links (#29711) @scallaway
65
+ - [docs] Add a note that ToggleButton exclusive does not enforce selection (#29812) @mmacu
66
+ - [docs] Update the list of supported locales (#29831) @michaldudak
67
+ - [docs] Update tooltip doc to better define touch action (#29717) @gnowland
68
+ - [website] Standardize the background color from the MUI team photos (#29738) @danilo-leal
69
+ - [website] Add Bharat to the About Us Page (#29714) @bharatkashyap
70
+ - [website] Add about page entry for jan (#29701) @Janpot
71
+ - [website] Adding Prakhar to the about page (#29737) @danilo-leal
72
+
73
+ ### Core
74
+
75
+ - [test] Allow debugging with Chrome and VSCode inspector (#29777) @eps1lon
76
+ - [test] Use renderer clock instead of custom useFakeTimers call (#29778) @eps1lon
77
+ - [test] Only mock Date in regression tests (#29763) @eps1lon
78
+ - [test] Disable nightly integration tests on `next` branch (#29748) @eps1lon
79
+ - [test] Allow configuring clock directly from `createRenderer` (#29684) @eps1lon
80
+ - [test] Accept backslashes as path separators in test CLI (#29694) @michaldudak
81
+ - [utils] Use built-in hook when available for useId (#26489) @eps1lon
82
+
83
+ All contributors of this release in alphabetical order: @abhinav-22-tech, @adamfitzgibbon, @bharatkashyap, @chao813, @DanailH, @danilo-leal, @eps1lon, @gnowland, @Janpot, @longzheng, @michaldudak, @mmacu, @mnajdova, @mwilkins91, @NatiG100, @oliviertassinari, @scallaway, @siriwatknp
84
+
85
+ ## 5.1.1
86
+
87
+ <!-- generated comparing v5.1.0..master -->
88
+
89
+ _Nov 16, 2021_
90
+
91
+ A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
92
+
93
+ - 🛠 Renamed `@mui/core` to `@mui/base` (#29585) @michaldudak.
94
+ - And many more 🐛 bug fixes and 📚 improvements.
95
+
96
+ ### `@mui/material@5.1.1`
97
+
98
+ - &#8203;<!-- 34 -->[Breadcrumbs][divider] Replace decimal spacing values with integers and css calc (#29526) @anikcreative
99
+ - &#8203;<!-- 10 -->[Select][nativeselect] Add `multiple` class (#29566) @aaronholla
100
+ - &#8203;<!-- 09 -->[Popper] Split into PopperUnstyled and Popper (#29488) @michaldudak
101
+ - &#8203;<!-- 08 -->[Select] Make it clear that `Select` is not a root component (#29593) @hbjORbj
102
+ - &#8203;<!-- 13 -->[l10n] Improved Dutch (nl-NL) locale (#29592) @flipvrijn
103
+ - &#8203;<!-- 10 -->[Table] Improve pagination range, use "en dash" over "hyphen" (#29579) @narekmal
104
+
105
+ ### `@mui/base@5.0.0-alpha.55`
106
+
107
+ #### Breaking changes
108
+
109
+ - &#8203;<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
110
+
111
+ Based on the results of the [poll](https://twitter.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
112
+
113
+ The new name better reflects the purpose of the package: it contains unstyled components, hooks, and utilities that serve as a **base** to build on.
114
+
115
+ ```diff
116
+ -import { useSwitch } from '@mui/core/SwitchUnstyled';
117
+ +import { useSwitch } from '@mui/base/SwitchUnstyled';
118
+ ```
119
+
120
+ ### `@mui/lab@5.0.0-alpha.55`
121
+
122
+ - &#8203;<!-- 12 -->[LoadingButton] Text variant spacing fixed for both start and end (#29194) @joshua-lawrence
123
+ - &#8203;<!-- 11 -->[Masonry] Check if container or child exists to prevent error (#29452) @hbjORbj
124
+
125
+ ### Docs
126
+
127
+ - &#8203;<!-- 25 -->[docs] Correct bundler configuration for using legacy MUI build (#29146) @petermikitsh
128
+ - &#8203;<!-- 24 -->[docs] Fix typo on autocomplete.md (#29570) @netizer
129
+ - &#8203;<!-- 23 -->[docs] Fix dark mode on branding pages (#29611) @alexfauquette
130
+ - &#8203;<!-- 22 -->[docs] Do not render CSS section in API docs navbar if there are no CSS classes (#29622) @ZeeshanTamboli
131
+ - &#8203;<!-- 21 -->[docs] Fix link locale handling (#29624) @oliviertassinari
132
+ - &#8203;<!-- 20 -->[docs] Fix Search navigation (#29623) @oliviertassinari
133
+ - &#8203;<!-- 19 -->[docs] Fix broken link & update MUI packages explanation (#29583) @siriwatknp
134
+ - &#8203;<!-- 18 -->[docs] Do not repeat language snippet in url in Algolia search (#29483) @hbjORbj
135
+ - &#8203;<!-- 17 -->[docs] Update `ThemeProvider` API link (#29573) @siriwatknp
136
+ - &#8203;<!-- 16 -->[docs] Remove svg logos from the Support page (#29431) @oliviertassinari
137
+ - &#8203;<!-- 15 -->[docs] Link UXPin integration (#29422) @oliviertassinari
138
+ - &#8203;<!-- 14 -->[docs] Link to the new public roadmap for the design kits (#29433) @oliviertassinari
139
+ - &#8203;<!-- 28 -->[docs] correct bundler configuration for using legacy MUI build (#29146) @petermikitsh
140
+ - &#8203;<!-- 01 -->[website] Fix premium plan release date (#29430) @oliviertassinari
141
+ - &#8203;<!-- 02 -->[website] Add GitHub icon button to the navbar (#29640) @danilo-leal
142
+ - &#8203;<!-- 39 -->[blog] Support many authors in markdown pages (#29633) @m4theushw
143
+
144
+ ### Core
145
+
146
+ - &#8203;<!-- 33 -->[core] Add `experiments` index page (#29582) @siriwatknp
147
+ - &#8203;<!-- 32 -->[core] Move s3 bucket ownership to mui-org (#29609) @eps1lon
148
+ - &#8203;<!-- 31 -->[core] Improve support request message (#29614) @mnajdova
149
+ - &#8203;<!-- 30 -->[core] Use support request Github Action (#29594) @mnajdova
150
+ - &#8203;<!-- 29 -->[core] Remove unused `getJsxPreview` util (#29586) @ZeeshanTamboli
151
+ - &#8203;<!-- 28 -->[core] Use GitHub issue forms (#28038) @oliviertassinari
152
+ - &#8203;<!-- 26 -->[core] Add playground (#29423) @oliviertassinari
153
+ - &#8203;<!-- 07 -->[test] Correctly identify what the `raf` helper is for (#29683) @eps1lon
154
+ - &#8203;<!-- 06 -->[test] Verify a quilted ImageList is created as test title suggests (#29565) @daniel-sachs
155
+ - &#8203;<!-- 05 -->[test] Replace `createServerRender` with `createRenderer` (#29503) @eps1lon
156
+ - &#8203;<!-- 04 -->[test] Always ignore "useLayoutEffect has no effect on the server"-warning (#29502) @eps1lon
157
+ - &#8203;<!-- 03 -->[test] Restore StrictMode by default (#29589) @eps1lon
158
+ - &#8203;<!-- 02 -->[test] createPickerRender -> createPickerRenderer (#29575) @eps1lon
159
+ - &#8203;<!-- 09 -->[test] Allow experimental CLI to run exact test (#29685) @eps1lon
160
+
161
+ All contributors of this release in alphabetical order: @aaronholla, @alexfauquette, @anikcreative, @daniel-sachs, @eps1lon, @flipvrijn, @hbjORbj, @joshua-lawrence, @michaldudak, @mnajdova, @netizer, @oliviertassinari, @petermikitsh, @siriwatknp, @ZeeshanTamboli
162
+
163
+ ## 5.1.0
164
+
165
+ <!-- generated comparing v5.0.6..master -->
166
+
167
+ _Nov 8, 2021_
168
+
169
+ A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
170
+
171
+ - 🎉 Support custom elements under `ButtonGroup` (#28645) @ZeeshanTamboli
172
+ - 🛠 Add support for arrays in the `sx` prop (#29297) @siriwatknp
173
+ - And many more 🐛 bug fixes and 📚 improvements.
174
+
175
+ ### `@mui/material@5.1.0`
176
+
177
+ - &#8203;<!-- 68 -->[Autocomplete] Fix `hiddenLabel` prop of `TextField variant={filled}` inside Autocomplete (#29234) @jatinsandilya
178
+ - &#8203;<!-- 67 -->[Box] Support generateClassName and defaultClassName (#29347) @siriwatknp
179
+ - &#8203;<!-- 66 -->[ButtonGroup] Fix variant outlined always has primary color borders on hover (#29487) @ZeeshanTamboli
180
+ - &#8203;<!-- 65 -->[ButtonGroup] Support different elements under ButtonGroup (#28645) @ZeeshanTamboli
181
+ - &#8203;<!-- 62 -->[CssBaseline] Add `enableColorScheme` prop so enable using `color-scheme` property to deal with dark mode (#29454) @alexfauquette
182
+ - &#8203;<!-- 29 -->[FormControlLabel] Narrow the label type (#29324) @michaldudak
183
+ - &#8203;<!-- 28 -->[Grid] Fix usage when columns > 12 (#29196) @tanay123456789
184
+ - &#8203;<!-- 27 -->[InputBase] Do not repeat the same classname (#29353) @hbjORbj
185
+ - &#8203;<!-- 30 -->[InputBase] Remove WebkitAppearance from search type (#29383) @nicbarajas
186
+ - &#8203;<!-- 25 -->[ListItem] Add missing exports (#29571) @robcaldecott
187
+ - &#8203;<!-- 22 -->[Pagination] Allow customization of icons (#29336) @mbeltramin
188
+ - &#8203;<!-- 11 -->[TextField] Fix bootstrap, normalize.css, sanitize.css conflicts (#28674) @ChrisClaude
189
+ - &#8203;<!-- 10 -->[TextField] Fix invisible wrap within notched inputs (#29088) @DASPRiD
190
+ - &#8203;<!-- 09 -->[Tooltip] `open` prop in `componentsProps.popper` can be optional (#29370) @ZeeshanTamboli
191
+ - &#8203;<!-- 08 -->[Tooltip] Fix `className` not getting applied from PopperProps (#29023) @ZeeshanTamboli
192
+ - &#8203;<!-- 07 -->[useRadioGroup] Convert to TypeScript (#29326) @eps1lon
193
+
194
+ ### `@mui/system@5.1.0`
195
+
196
+ - &#8203;<!-- 21 -->[system] Introduce `mode` to CssVarsProvider (#29418) @siriwatknp
197
+ - &#8203;<!-- 20 -->[system] Improve breakpoints resolver function (#29300) @hbjORbj
198
+ - &#8203;<!-- 19 -->[system] Add array support for `sx` prop (#29297) @siriwatknp
199
+
200
+ ### `@mui/codemod@5.1.0`
201
+
202
+ - &#8203;<!-- 64 -->[codemod] Add codemod parser flag (#29059) (#29229) @ElonVolo
203
+
204
+ ### `@mui/lab@5.0.0-alpha.54`
205
+
206
+ - &#8203;<!-- 52 -->[DatePicker] Fix disabled/readOnly for view components (#28815) @adamfitzgibbon
207
+ - &#8203;<!-- 24 -->[Masonry] Fix crash on unmount when using React 18 (#29358) @eps1lon
208
+ - &#8203;<!-- 23 -->[Masonry] Improve height computation and detect changes in `children` (#29351) @hbjORbj
209
+
210
+ ### `@mui/joy@5.0.0-alpha.0`
211
+
212
+ - &#8203;<!-- 28 -->[Joy] Update default theme (#29478) @siriwatknp
213
+ - &#8203;<!-- 26 -->[Joy] Export CssVarsProvider with default theme (#29150) @siriwatknp
214
+ - &#8203;<!-- 25 -->[Joy] Remove `private` to leverage CodeSandbox (#29280) @siriwatknp
215
+
216
+ ### Docs
217
+
218
+ - &#8203;<!-- 51 -->[docs] Add differences between styled and sx (#28685) @eric-burel
219
+ - &#8203;<!-- 50 -->[docs] Track usage of dark mode in Google Analytics (#29419) @oliviertassinari
220
+ - &#8203;<!-- 49 -->[docs] Remove create-mui-theme as it is no longer working (#29472) @IPJT
221
+ - &#8203;<!-- 48 -->[docs] Fix warnings in AppSearch (#29459) @eps1lon
222
+ - &#8203;<!-- 47 -->[docs] Add framework example for ClassNameGenerator (#29453) @siriwatknp
223
+ - &#8203;<!-- 46 -->[docs] Fix layout shift when scrolling (#29436) @oliviertassinari
224
+ - &#8203;<!-- 45 -->[docs] Fix layout-shift on id='main-content' (#29425) @oliviertassinari
225
+ - &#8203;<!-- 44 -->[docs] Remove usage of `process.browser` (#29438) @oliviertassinari
226
+ - &#8203;<!-- 43 -->[docs] Add instruction on how to use the child selector API with emotion (#29350) @mnajdova
227
+ - &#8203;<!-- 42 -->[docs] Fix small typos (#29424) @oliviertassinari
228
+ - &#8203;<!-- 41 -->[docs] Fix TOC highlighting logic (#29435) @oliviertassinari
229
+ - &#8203;<!-- 40 -->[docs] Fix about page flags (#29314) @mbrookes
230
+ - &#8203;<!-- 39 -->[docs] Fix Box JS docs (#29282) @Pablion
231
+ - &#8203;<!-- 38 -->[docs] Update storybook section in migration to v5 docs (#28800) @siriwatknp
232
+ - &#8203;<!-- 37 -->[docs] Document how to enable color on dark mode (#29340) @Wimukti
233
+ - &#8203;<!-- 36 -->[docs] Display search functionality in all viewports (#28819) @eps1lon
234
+ - &#8203;<!-- 35 -->[docs] Query heading for ToC on demand (#29204) @eps1lon
235
+ - &#8203;<!-- 34 -->[docs] Add next.js styled-component guide and update links to example (#29118) @Jareechang
236
+ - &#8203;<!-- 33 -->[docs] Fix overriding `MuiTextField`'s default props in the migration guide (#29174) @tm1000
237
+ - &#8203;<!-- 32 -->[docs] Fix "clickable" and "deletable" typos (#28702) @jacklaurencegaray
238
+ - &#8203;<!-- 31 -->[docs] Update migration-v4 docs for wrong import path (#29042) @busches
239
+ - &#8203;<!-- 30 -->[docs] Add GitHub icon change to "Migration from v4 to v5" guide (#29182) @dan-mba
240
+ - &#8203;<!-- 06 -->[website] Benny Joo joining MUI (#29499) @mnajdova
241
+ - &#8203;<!-- 05 -->[website] Update the `Print export` feature info on the pricing page (#29484) @DanailH
242
+ - &#8203;<!-- 04 -->[website] Improve the dev rel role description (#29477) @oliviertassinari
243
+ - &#8203;<!-- 03 -->[website] Add customers section on Design Kits and Templates marketing pages (#29168) @danilo-leal
244
+ - &#8203;<!-- 02 -->[website] Improvements to the /core product page @danilo-leal
245
+ - &#8203;<!-- 01 -->[website] Fix typo on the About Page (#29286) @gssakash
246
+
247
+ ### Core
248
+
249
+ - &#8203;<!-- 63 -->[core] Handle RecordType and FieldType in generatePropDescription.ts (#29467) @flaviendelangle
250
+ - &#8203;<!-- 61 -->[core] Convert a named color to lowercase (#29465) @ainatenhi
251
+ - &#8203;<!-- 60 -->[core] Allow to reuse functions from `docs:api` (#28828) @m4theushw
252
+ - &#8203;<!-- 59 -->[core] Commit new nextjs 12 tsconfig (#29458) @eps1lon
253
+ - &#8203;<!-- 58 -->[core] Settle on MUI X for the official name (#29420) @oliviertassinari
254
+ - &#8203;<!-- 57 -->[core] Add mui as a npm keyword (#29427) @oliviertassinari
255
+ - &#8203;<!-- 56 -->[core] Fix issue template redirection (#29432) @oliviertassinari
256
+ - &#8203;<!-- 55 -->[core] Remove unecessary destructuration (#29354) @oliviertassinari
257
+ - &#8203;<!-- 54 -->[core] Use cross-env to set env variables in material-icons scripts (#29327) @michaldudak
258
+ - &#8203;<!-- 53 -->[core] Don't bump peer dependency ranges on dependency updates (#29303) @eps1lon
259
+ - &#8203;<!-- 18 -->[test] Fix browser tests (#29505) @eps1lon
260
+ - &#8203;<!-- 69 -->[test] Fix missing act warnings in latest React 18 alpha (#29357) @eps1lon
261
+ - &#8203;<!-- 17 -->[test] Replace `createClientRender` with new `createRenderer` API (#29471) @eps1lon
262
+ - &#8203;<!-- 16 -->[test] Fix possible "missing act" warning (#29463) @eps1lon
263
+ - &#8203;<!-- 15 -->[test] Remove render#baseElement (#29462) @eps1lon
264
+ - &#8203;<!-- 14 -->[test] Expose `AbortController` on global (#29360) @eps1lon
265
+ - &#8203;<!-- 13 -->[test] Add internal test for uniqe `name` in `Rating` (#29329) @eps1lon
266
+ - &#8203;<!-- 12 -->[test] Fix browser tests (#29305) @eps1lon
267
+
268
+ All contributors of this release in alphabetical order: @adamfitzgibbon, @ainatenhi, @alexfauquette, @busches, @ChrisClaude, @dan-mba, @DanailH, @danilo-leal, @DASPRiD, @ElonVolo, @eps1lon, @eric-burel, @flaviendelangle, @gssakash, @hbjORbj, @IPJT, @jacklaurencegaray, @Jareechang, @jatinsandilya, @m4theushw, @mbeltramin, @mbrookes, @michaldudak, @mnajdova, @nicbarajas, @oliviertassinari, @Pablion, @robcaldecott, @siriwatknp, @tanay123456789, @tm1000, @Wimukti, @ZeeshanTamboli
269
+
270
+ ## 5.0.6
271
+
272
+ <!-- generated comparing v5.0.5..master -->
273
+
274
+ _Oct 27, 2021_
275
+
276
+ A big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
277
+
278
+ - 🔧 Fix reported TypeScript issues on the `@mui/system` package because some packages were not released
279
+
280
+ ### `@mui/material@5.0.6`
281
+
282
+ - &#8203;<!-- 4 -->[Autocomplete] Fix `clearOnBlur` prop (#29208) @hbjORbj
283
+ - &#8203;<!-- 2 -->[Rating] Remove z-index from decimal stars (#29295) @williamhaley
284
+
285
+ ### `@mui/system@5.0.6`
286
+
287
+ - &#8203;<!-- 5 -->[system] Fix various issues reported by using @mui/styled-engine-sc (#29035) @mnajdova
288
+ - &#8203;<!-- 1 -->[system] Fix executing server-side Emotion component as function interpolation (#29290) @Andarist
289
+
290
+ ### Docs
291
+
292
+ - &#8203;<!-- 3 -->[blog] Q3 2021 Update (#28970) @oliviertassinari
293
+
294
+ All contributors of this release in alphabetical order: @Andarist, @hbjORbj, @oliviertassinari, @williamhaley
295
+
3
296
  ## 5.0.5
4
297
 
5
298
  <!-- generated comparing v5.0.4..master -->
@@ -9,16 +302,16 @@ _Oct 26, 2021_
9
302
  A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
10
303
 
11
304
  - 🔧 Implement `Masonry` using Flexbox by @hbjORbj.
12
- - 🧪 Add three components to `@mui/core` by @rebeccahongsf and @hbjORbj.
305
+ - 🧪 Add three components to `@mui/base` by @rebeccahongsf and @hbjORbj.
13
306
 
14
307
  ### `@mui/codemod@5.0.5`
15
308
 
16
309
  - &#8203;<!-- 38 -->[codemod] Support new package name in `link-underline-hover` transformer (#29214) @siriwatknp
17
310
 
18
- ### `@mui/core@5.0.0-alpha.52`
311
+ ### `@mui/base@5.0.0-alpha.52`
19
312
 
20
313
  - &#8203;<!-- 39 -->[ClickAwayListener] Move to the core package (#29186) @hbjORbj
21
- - &#8203;<!-- 13 -->[Popper] Move from mui-material to mui-core (#28923) @rebeccahongsf
314
+ - &#8203;<!-- 13 -->[Popper] Move from mui-material to mui-base (#28923) @rebeccahongsf
22
315
  - &#8203;<!-- 04 -->[TextareaAutosize] Move to the core package (#29148) @hbjORbj
23
316
 
24
317
  ### `@mui/lab@5.0.0-alpha.52`
@@ -87,7 +380,7 @@ _Oct 14, 2021_
87
380
 
88
381
  A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
89
382
 
90
- - 🧪 Added `UnstyledInput` and `useInput` hook in the the first component in @mui/core package @michaldudak (#28053)
383
+ - 🧪 Added `UnstyledInput` and `useInput` hook in the the first component in @mui/base package @michaldudak (#28053)
91
384
  - 🐛 Fixed many bugs and improved the documentation 📚.
92
385
 
93
386
  ### `@mui/material@5.0.4`
@@ -102,7 +395,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
102
395
 
103
396
  - &#8203;<!-- 05 -->[system] Update typing for `style` function (#28744) @hbjORbj
104
397
 
105
- ### `@mui/core@5.0.0-alpha.51`
398
+ ### `@mui/base@5.0.0-alpha.51`
106
399
 
107
400
  - &#8203;<!-- 07 -->[InputUnstyled] Create unstyled input and useInput hook (#28053) @michaldudak
108
401
 
@@ -171,7 +464,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
171
464
 
172
465
  - &#8203;<!-- 42 -->Don't allow styled-components APIs on mui styled function (#28807) @hbjORbj
173
466
 
174
- ### `@mui/core@5.0.0-alpha.50`
467
+ ### `@mui/base@5.0.0-alpha.50`
175
468
 
176
469
  - &#8203;<!-- 38 -->[ButtonUnstyled] Don't set redundant role=button (#28488) @michaldudak
177
470
  - &#8203;<!-- 43 -->[SliderUnstyled] Prevent unknown-prop error when using marks prop (#28868) @hbjORbj
@@ -550,10 +843,10 @@ A big thanks to the 18 contributors who made this release possible. Here are som
550
843
  ```
551
844
  @material-ui/core => @mui/material // represents Material Design components.
552
845
  @material-ui/icons => @mui/icons-material // represents Material Design icons.
553
- @material-ui/unstyled => @mui/core // fully functional components with minimum styles.
846
+ @material-ui/unstyled => @mui/base // fully functional components with minimum styles.
554
847
  ```
555
848
 
556
- > **Note**: `@mui/core` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
849
+ > **Note**: `@mui/base` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
557
850
 
558
851
  We encourage you to use the [codemod](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) for smooth migration.
559
852
 
@@ -568,7 +861,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
568
861
  - &#8203;<!-- 05 -->[ToggleButtonGroup] Add "disabled" prop (#27998) @chetas411
569
862
  - &#8203;<!-- 34 -->[core] Export types for module augmentation (#28078) @m4theushw
570
863
 
571
- ### `@mui/core@5.0.0-alpha.45`
864
+ ### `@mui/base@5.0.0-alpha.45`
572
865
 
573
866
  - &#8203;<!-- 38 -->[Button] Create ButtonUnstyled and useButton (#27600) @michaldudak
574
867
 
@@ -1,96 +1,106 @@
1
- import * as React from 'react';
2
- import { ExportedCalendarProps } from './PickersCalendar';
3
- import { PickerOnChangeFn } from '../internal/pickers/hooks/useViews';
4
- import { ExportedCalendarHeaderProps } from './PickersCalendarHeader';
5
- import { ExportedYearPickerProps } from '../YearPicker/YearPicker';
6
- import { CalendarPickerView } from './shared';
7
- export interface CalendarPickerClasses {
8
- /** Styles applied to the root element. */
9
- root: string;
10
- /** Styles applied to the transition group element. */
11
- viewTransitionContainer: string;
12
- }
13
- export declare type CalendarPickerClassKey = keyof CalendarPickerClasses;
14
- export interface CalendarPickerProps<TDate> extends ExportedCalendarProps<TDate>, ExportedYearPickerProps<TDate>, ExportedCalendarHeaderProps<TDate> {
15
- className?: string;
16
- date: TDate | null;
17
- /**
18
- * Default calendar month displayed when `value={null}`.
19
- */
20
- defaultCalendarMonth?: TDate;
21
- /**
22
- * @default false
23
- */
24
- disableFuture?: boolean;
25
- /**
26
- * @default false
27
- */
28
- disablePast?: boolean;
29
- /**
30
- * Max selectable date. @DateIOType
31
- */
32
- maxDate?: TDate;
33
- /**
34
- * Min selectable date. @DateIOType
35
- */
36
- minDate?: TDate;
37
- /**
38
- * Callback fired on view change.
39
- */
40
- onViewChange?: (view: CalendarPickerView) => void;
41
- /**
42
- * Callback fired on date change
43
- */
44
- onChange: PickerOnChangeFn<TDate>;
45
- /**
46
- * Callback firing on month change. @DateIOType
47
- */
48
- onMonthChange?: (date: TDate) => void;
49
- /**
50
- * Initially open view.
51
- * @default 'day'
52
- */
53
- openTo?: CalendarPickerView;
54
- /**
55
- * Disable heavy animations.
56
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
57
- */
58
- reduceAnimations?: boolean;
59
- /**
60
- * Component displaying when passed `loading` true.
61
- * @default () => <span data-mui-test="loading-progress">...</span>
62
- */
63
- renderLoading?: () => React.ReactNode;
64
- /**
65
- * Disable specific date. @DateIOType
66
- */
67
- shouldDisableDate?: (day: TDate) => boolean;
68
- /**
69
- * Controlled open view.
70
- */
71
- view?: CalendarPickerView;
72
- /**
73
- * Views for calendar picker.
74
- * @default ['year', 'day']
75
- */
76
- views?: readonly CalendarPickerView[];
77
- }
78
- export declare type ExportedCalendarPickerProps<TDate> = Omit<CalendarPickerProps<TDate>, 'date' | 'view' | 'views' | 'openTo' | 'onChange' | 'changeView' | 'slideDirection' | 'currentMonth' | 'className'>;
79
- interface CalendarPickerPropsWithClasses<TDate> extends CalendarPickerProps<TDate> {
80
- classes?: Partial<CalendarPickerClasses>;
81
- }
82
- export declare function getCalendarPickerUtilityClass(slot: string): string;
83
- export declare const calendarPickerClasses: CalendarPickerClasses;
84
- export declare const defaultReduceAnimations: boolean;
85
- declare const _default: <TDate>(props: CalendarPickerPropsWithClasses<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
86
- /**
87
- *
88
- * Demos:
89
- *
90
- * - [Date Picker](https://mui.com/components/date-picker/)
91
- *
92
- * API:
93
- *
94
- * - [CalendarPicker API](https://mui.com/api/calendar-picker/)
95
- */
96
- export default _default;
1
+ import * as React from 'react';
2
+ import { ExportedCalendarProps } from './PickersCalendar';
3
+ import { PickerOnChangeFn } from '../internal/pickers/hooks/useViews';
4
+ import { ExportedCalendarHeaderProps } from './PickersCalendarHeader';
5
+ import { ExportedYearPickerProps } from '../YearPicker/YearPicker';
6
+ import { CalendarPickerView } from './shared';
7
+ export interface CalendarPickerClasses {
8
+ /** Styles applied to the root element. */
9
+ root: string;
10
+ /** Styles applied to the transition group element. */
11
+ viewTransitionContainer: string;
12
+ }
13
+ export declare type CalendarPickerClassKey = keyof CalendarPickerClasses;
14
+ export interface CalendarPickerProps<TDate> extends ExportedCalendarProps<TDate>, ExportedYearPickerProps<TDate>, ExportedCalendarHeaderProps<TDate> {
15
+ className?: string;
16
+ date: TDate | null;
17
+ /**
18
+ * Default calendar month displayed when `value={null}`.
19
+ */
20
+ defaultCalendarMonth?: TDate;
21
+ /**
22
+ * If `true`, the picker and text field are disabled.
23
+ * @default false
24
+ */
25
+ disabled?: boolean;
26
+ /**
27
+ * @default false
28
+ */
29
+ disableFuture?: boolean;
30
+ /**
31
+ * @default false
32
+ */
33
+ disablePast?: boolean;
34
+ /**
35
+ * Max selectable date. @DateIOType
36
+ */
37
+ maxDate?: TDate;
38
+ /**
39
+ * Min selectable date. @DateIOType
40
+ */
41
+ minDate?: TDate;
42
+ /**
43
+ * Callback fired on view change.
44
+ */
45
+ onViewChange?: (view: CalendarPickerView) => void;
46
+ /**
47
+ * Callback fired on date change
48
+ */
49
+ onChange: PickerOnChangeFn<TDate>;
50
+ /**
51
+ * Callback firing on month change. @DateIOType
52
+ */
53
+ onMonthChange?: (date: TDate) => void;
54
+ /**
55
+ * Initially open view.
56
+ * @default 'day'
57
+ */
58
+ openTo?: CalendarPickerView;
59
+ /**
60
+ * Make picker read only.
61
+ * @default false
62
+ */
63
+ readOnly?: boolean;
64
+ /**
65
+ * Disable heavy animations.
66
+ * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
67
+ */
68
+ reduceAnimations?: boolean;
69
+ /**
70
+ * Component displaying when passed `loading` true.
71
+ * @default () => <span data-mui-test="loading-progress">...</span>
72
+ */
73
+ renderLoading?: () => React.ReactNode;
74
+ /**
75
+ * Disable specific date. @DateIOType
76
+ */
77
+ shouldDisableDate?: (day: TDate) => boolean;
78
+ /**
79
+ * Controlled open view.
80
+ */
81
+ view?: CalendarPickerView;
82
+ /**
83
+ * Views for calendar picker.
84
+ * @default ['year', 'day']
85
+ */
86
+ views?: readonly CalendarPickerView[];
87
+ }
88
+ export declare type ExportedCalendarPickerProps<TDate> = Omit<CalendarPickerProps<TDate>, 'date' | 'view' | 'views' | 'openTo' | 'onChange' | 'changeView' | 'slideDirection' | 'currentMonth' | 'className'>;
89
+ interface CalendarPickerPropsWithClasses<TDate> extends CalendarPickerProps<TDate> {
90
+ classes?: Partial<CalendarPickerClasses>;
91
+ }
92
+ export declare function getCalendarPickerUtilityClass(slot: string): string;
93
+ export declare const calendarPickerClasses: CalendarPickerClasses;
94
+ export declare const defaultReduceAnimations: boolean;
95
+ declare const _default: <TDate>(props: CalendarPickerPropsWithClasses<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
96
+ /**
97
+ *
98
+ * Demos:
99
+ *
100
+ * - [Date Picker](https://mui.com/components/date-picker/)
101
+ *
102
+ * API:
103
+ *
104
+ * - [CalendarPicker API](https://mui.com/api/calendar-picker/)
105
+ */
106
+ export default _default;
@@ -8,7 +8,7 @@ import * as React from 'react';
8
8
  import PropTypes from 'prop-types';
9
9
  import clsx from 'clsx';
10
10
  import { styled, useThemeProps } from '@mui/material/styles';
11
- import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/core';
11
+ import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/base';
12
12
  import MonthPicker from '../MonthPicker/MonthPicker';
13
13
  import { useCalendarState } from './useCalendarState';
14
14
  import { useDefaultDates, useUtils } from '../internal/pickers/hooks/useUtils';
@@ -230,6 +230,12 @@ process.env.NODE_ENV !== "production" ? CalendarPicker.propTypes
230
230
  */
231
231
  defaultCalendarMonth: PropTypes.any,
232
232
 
233
+ /**
234
+ * If `true`, the picker and text field are disabled.
235
+ * @default false
236
+ */
237
+ disabled: PropTypes.bool,
238
+
233
239
  /**
234
240
  * @default false
235
241
  */
@@ -278,6 +284,12 @@ process.env.NODE_ENV !== "production" ? CalendarPicker.propTypes
278
284
  */
279
285
  openTo: PropTypes.oneOf(['day', 'month', 'year']),
280
286
 
287
+ /**
288
+ * Make picker read only.
289
+ * @default false
290
+ */
291
+ readOnly: PropTypes.bool,
292
+
281
293
  /**
282
294
  * Disable heavy animations.
283
295
  * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)