@mui/lab 5.0.0-alpha.53 → 5.0.0-alpha.57

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