@mui/lab 5.0.0-alpha.54 → 5.0.0-alpha.58

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 (328) 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 +257 -10
  6. package/CalendarPicker/CalendarPicker.d.ts +106 -106
  7. package/CalendarPicker/CalendarPicker.js +1 -1
  8. package/CalendarPicker/PickersCalendar.d.ts +47 -47
  9. package/CalendarPicker/PickersCalendarHeader.d.ts +43 -43
  10. package/CalendarPicker/PickersFadeTransitionGroup.d.ts +12 -12
  11. package/CalendarPicker/PickersFadeTransitionGroup.js +1 -1
  12. package/CalendarPicker/PickersSlideTransition.d.ts +16 -16
  13. package/CalendarPicker/PickersSlideTransition.js +1 -1
  14. package/CalendarPicker/index.d.ts +5 -5
  15. package/CalendarPicker/shared.d.ts +1 -1
  16. package/CalendarPicker/useCalendarState.d.ts +32 -32
  17. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +41 -41
  18. package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -1
  19. package/CalendarPickerSkeleton/index.d.ts +3 -3
  20. package/ClockPicker/Clock.d.ts +28 -28
  21. package/ClockPicker/ClockNumber.d.ts +19 -19
  22. package/ClockPicker/ClockNumber.js +1 -1
  23. package/ClockPicker/ClockNumbers.d.ts +24 -24
  24. package/ClockPicker/ClockPicker.d.ts +121 -121
  25. package/ClockPicker/ClockPicker.js +1 -1
  26. package/ClockPicker/ClockPickerStandalone.d.ts +28 -28
  27. package/ClockPicker/ClockPointer.d.ts +23 -23
  28. package/ClockPicker/index.d.ts +5 -5
  29. package/ClockPicker/shared.d.ts +5 -5
  30. package/DatePicker/DatePicker.d.ts +27 -27
  31. package/DatePicker/DatePickerToolbar.d.ts +23 -23
  32. package/DatePicker/DatePickerToolbar.js +1 -1
  33. package/DatePicker/index.d.ts +2 -2
  34. package/DatePicker/shared.d.ts +45 -45
  35. package/DateRangePicker/DateRangePicker.d.ts +65 -65
  36. package/DateRangePicker/DateRangePickerInput.d.ts +35 -35
  37. package/DateRangePicker/DateRangePickerToolbar.d.ts +15 -15
  38. package/DateRangePicker/DateRangePickerToolbar.js +1 -1
  39. package/DateRangePicker/DateRangePickerView.d.ts +44 -44
  40. package/DateRangePicker/DateRangePickerViewDesktop.d.ts +29 -29
  41. package/DateRangePicker/DateRangePickerViewMobile.d.ts +17 -17
  42. package/DateRangePicker/RangeTypes.d.ts +8 -8
  43. package/DateRangePicker/date-range-manager.d.ts +14 -14
  44. package/DateRangePicker/index.d.ts +3 -3
  45. package/DateRangePickerDay/DateRangePickerDay.d.ts +79 -79
  46. package/DateRangePickerDay/DateRangePickerDay.js +1 -1
  47. package/DateRangePickerDay/index.d.ts +2 -2
  48. package/DateTimePicker/DateTimePicker.d.ts +27 -27
  49. package/DateTimePicker/DateTimePickerTabs.d.ts +13 -13
  50. package/DateTimePicker/DateTimePickerToolbar.d.ts +7 -7
  51. package/DateTimePicker/DateTimePickerToolbar.js +1 -1
  52. package/DateTimePicker/index.d.ts +2 -2
  53. package/DateTimePicker/shared.d.ts +67 -67
  54. package/DesktopDatePicker/DesktopDatePicker.d.ts +20 -20
  55. package/DesktopDatePicker/index.d.ts +2 -2
  56. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +64 -64
  57. package/DesktopDateRangePicker/index.d.ts +2 -2
  58. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +20 -20
  59. package/DesktopDateTimePicker/index.d.ts +2 -2
  60. package/DesktopTimePicker/DesktopTimePicker.d.ts +20 -20
  61. package/DesktopTimePicker/index.d.ts +2 -2
  62. package/LoadingButton/LoadingButton.js +20 -7
  63. package/LoadingButton/loadingButtonClasses.d.ts +22 -22
  64. package/LoadingButton/loadingButtonClasses.js +1 -1
  65. package/LocalizationProvider/LocalizationProvider.d.ts +35 -35
  66. package/LocalizationProvider/index.d.ts +2 -2
  67. package/Masonry/Masonry.js +73 -51
  68. package/Masonry/masonryClasses.d.ts +8 -8
  69. package/Masonry/masonryClasses.js +1 -1
  70. package/MobileDatePicker/MobileDatePicker.d.ts +20 -20
  71. package/MobileDatePicker/index.d.ts +2 -2
  72. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +64 -64
  73. package/MobileDateRangePicker/index.d.ts +2 -2
  74. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +20 -20
  75. package/MobileDateTimePicker/index.d.ts +2 -2
  76. package/MobileTimePicker/MobileTimePicker.d.ts +20 -20
  77. package/MobileTimePicker/index.d.ts +2 -2
  78. package/MonthPicker/MonthPicker.d.ts +53 -53
  79. package/MonthPicker/MonthPicker.js +3 -2
  80. package/MonthPicker/PickersMonth.d.ts +15 -15
  81. package/MonthPicker/PickersMonth.js +19 -14
  82. package/MonthPicker/index.d.ts +3 -3
  83. package/PickersDay/PickersDay.d.ts +93 -93
  84. package/PickersDay/PickersDay.js +1 -1
  85. package/PickersDay/index.d.ts +4 -4
  86. package/StaticDatePicker/StaticDatePicker.d.ts +25 -25
  87. package/StaticDatePicker/index.d.ts +2 -2
  88. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +67 -67
  89. package/StaticDateRangePicker/index.d.ts +2 -2
  90. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +25 -25
  91. package/StaticDateTimePicker/index.d.ts +2 -2
  92. package/StaticTimePicker/StaticTimePicker.d.ts +25 -25
  93. package/StaticTimePicker/index.d.ts +2 -2
  94. package/TabPanel/TabPanel.js +1 -1
  95. package/TabPanel/tabPanelClasses.d.ts +8 -8
  96. package/TabPanel/tabPanelClasses.js +1 -1
  97. package/TimePicker/TimePicker.d.ts +27 -27
  98. package/TimePicker/TimePickerToolbar.d.ts +23 -23
  99. package/TimePicker/TimePickerToolbar.js +1 -1
  100. package/TimePicker/index.d.ts +2 -2
  101. package/TimePicker/shared.d.ts +36 -36
  102. package/Timeline/Timeline.d.ts +59 -59
  103. package/Timeline/Timeline.js +1 -1
  104. package/Timeline/TimelineContext.d.ts +6 -6
  105. package/Timeline/index.d.ts +5 -5
  106. package/Timeline/timelineClasses.d.ts +3 -3
  107. package/Timeline/timelineClasses.js +1 -1
  108. package/TimelineConnector/TimelineConnector.js +1 -1
  109. package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
  110. package/TimelineConnector/timelineConnectorClasses.js +1 -1
  111. package/TimelineContent/TimelineContent.js +1 -1
  112. package/TimelineContent/timelineContentClasses.d.ts +14 -14
  113. package/TimelineContent/timelineContentClasses.js +1 -1
  114. package/TimelineDot/TimelineDot.js +1 -1
  115. package/TimelineDot/timelineDotClasses.d.ts +24 -24
  116. package/TimelineDot/timelineDotClasses.js +1 -1
  117. package/TimelineItem/TimelineItem.js +1 -1
  118. package/TimelineItem/timelineItemClasses.d.ts +16 -16
  119. package/TimelineItem/timelineItemClasses.js +1 -1
  120. package/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  121. package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
  122. package/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
  123. package/TimelineSeparator/TimelineSeparator.js +1 -1
  124. package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
  125. package/TimelineSeparator/timelineSeparatorClasses.js +1 -1
  126. package/TreeItem/TreeItem.js +1 -1
  127. package/TreeItem/treeItemClasses.d.ts +24 -24
  128. package/TreeItem/treeItemClasses.js +1 -1
  129. package/TreeView/TreeView.js +1 -1
  130. package/TreeView/treeViewClasses.d.ts +8 -8
  131. package/TreeView/treeViewClasses.js +1 -1
  132. package/YearPicker/PickersYear.d.ts +28 -28
  133. package/YearPicker/PickersYear.js +2 -2
  134. package/YearPicker/YearPicker.d.ts +44 -44
  135. package/YearPicker/YearPicker.js +1 -1
  136. package/YearPicker/index.d.ts +5 -5
  137. package/YearPicker/yearPickerClasses.d.ts +3 -3
  138. package/YearPicker/yearPickerClasses.js +1 -1
  139. package/index.d.ts +3 -0
  140. package/index.js +4 -2
  141. package/internal/pickers/KeyboardDateInput.d.ts +4 -4
  142. package/internal/pickers/Picker/Picker.d.ts +33 -33
  143. package/internal/pickers/Picker/PickerView.d.ts +3 -3
  144. package/internal/pickers/PickersArrowSwitcher.d.ts +41 -41
  145. package/internal/pickers/PickersModalDialog.d.ts +47 -47
  146. package/internal/pickers/PickersPopper.d.ts +33 -33
  147. package/internal/pickers/PickersToolbar.d.ts +14 -14
  148. package/internal/pickers/PickersToolbar.js +1 -1
  149. package/internal/pickers/PickersToolbarButton.d.ts +13 -13
  150. package/internal/pickers/PickersToolbarText.d.ts +8 -8
  151. package/internal/pickers/PickersToolbarText.js +1 -1
  152. package/internal/pickers/PureDateInput.d.ts +80 -80
  153. package/internal/pickers/constants/dimensions.d.ts +4 -4
  154. package/internal/pickers/constants/prop-types.d.ts +1 -1
  155. package/internal/pickers/date-time-utils.d.ts +8 -8
  156. package/internal/pickers/date-utils.d.ts +52 -52
  157. package/internal/pickers/hooks/date-helpers-hooks.d.ts +16 -16
  158. package/internal/pickers/hooks/useIsLandscape.d.ts +4 -4
  159. package/internal/pickers/hooks/useMaskedInput.d.ts +7 -7
  160. package/internal/pickers/hooks/useOpenState.d.ts +10 -10
  161. package/internal/pickers/hooks/usePickerState.d.ts +38 -38
  162. package/internal/pickers/hooks/useUtils.d.ts +7 -7
  163. package/internal/pickers/hooks/useValidation.d.ts +23 -23
  164. package/internal/pickers/hooks/useViews.d.ts +19 -19
  165. package/internal/pickers/test-utils.js +14 -6
  166. package/internal/pickers/text-field-helper.d.ts +11 -11
  167. package/internal/pickers/time-utils.d.ts +33 -33
  168. package/internal/pickers/typings/BasePicker.d.ts +95 -95
  169. package/internal/pickers/typings/Views.d.ts +1 -1
  170. package/internal/pickers/typings/helpers.d.ts +9 -9
  171. package/internal/pickers/utils.d.ts +7 -7
  172. package/internal/pickers/wrappers/DesktopTooltipWrapper.d.ts +4 -4
  173. package/internal/pickers/wrappers/DesktopWrapper.d.ts +16 -16
  174. package/internal/pickers/wrappers/MobileWrapper.d.ts +14 -14
  175. package/internal/pickers/wrappers/ResponsiveWrapper.d.ts +23 -23
  176. package/internal/pickers/wrappers/StaticWrapper.d.ts +10 -10
  177. package/internal/pickers/wrappers/WrapperProps.d.ts +13 -13
  178. package/internal/pickers/wrappers/WrapperVariantContext.d.ts +11 -11
  179. package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
  180. package/internal/svg-icons/ArrowLeft.d.ts +7 -7
  181. package/internal/svg-icons/ArrowRight.d.ts +7 -7
  182. package/internal/svg-icons/Calendar.d.ts +7 -7
  183. package/internal/svg-icons/Clock.d.ts +7 -7
  184. package/internal/svg-icons/DateRange.d.ts +7 -7
  185. package/internal/svg-icons/Pen.d.ts +7 -7
  186. package/internal/svg-icons/Time.d.ts +7 -7
  187. package/legacy/CalendarPicker/CalendarPicker.js +1 -1
  188. package/legacy/CalendarPicker/PickersFadeTransitionGroup.js +1 -1
  189. package/legacy/CalendarPicker/PickersSlideTransition.js +1 -1
  190. package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -1
  191. package/legacy/ClockPicker/ClockNumber.js +1 -1
  192. package/legacy/ClockPicker/ClockPicker.js +1 -1
  193. package/legacy/DatePicker/DatePickerToolbar.js +1 -1
  194. package/legacy/DateRangePicker/DateRangePickerToolbar.js +1 -1
  195. package/legacy/DateRangePickerDay/DateRangePickerDay.js +1 -1
  196. package/legacy/DateTimePicker/DateTimePickerToolbar.js +1 -1
  197. package/legacy/LoadingButton/LoadingButton.js +20 -6
  198. package/legacy/LoadingButton/loadingButtonClasses.js +1 -1
  199. package/legacy/Masonry/Masonry.js +73 -49
  200. package/legacy/Masonry/masonryClasses.js +1 -1
  201. package/legacy/MonthPicker/MonthPicker.js +3 -2
  202. package/legacy/MonthPicker/PickersMonth.js +20 -15
  203. package/legacy/PickersDay/PickersDay.js +1 -1
  204. package/legacy/TabPanel/TabPanel.js +1 -1
  205. package/legacy/TabPanel/tabPanelClasses.js +1 -1
  206. package/legacy/TimePicker/TimePickerToolbar.js +1 -1
  207. package/legacy/Timeline/Timeline.js +1 -1
  208. package/legacy/Timeline/timelineClasses.js +1 -1
  209. package/legacy/TimelineConnector/TimelineConnector.js +1 -1
  210. package/legacy/TimelineConnector/timelineConnectorClasses.js +1 -1
  211. package/legacy/TimelineContent/TimelineContent.js +1 -1
  212. package/legacy/TimelineContent/timelineContentClasses.js +1 -1
  213. package/legacy/TimelineDot/TimelineDot.js +1 -1
  214. package/legacy/TimelineDot/timelineDotClasses.js +1 -1
  215. package/legacy/TimelineItem/TimelineItem.js +1 -1
  216. package/legacy/TimelineItem/timelineItemClasses.js +1 -1
  217. package/legacy/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  218. package/legacy/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
  219. package/legacy/TimelineSeparator/TimelineSeparator.js +1 -1
  220. package/legacy/TimelineSeparator/timelineSeparatorClasses.js +1 -1
  221. package/legacy/TreeItem/TreeItem.js +1 -1
  222. package/legacy/TreeItem/treeItemClasses.js +1 -1
  223. package/legacy/TreeView/TreeView.js +1 -1
  224. package/legacy/TreeView/treeViewClasses.js +1 -1
  225. package/legacy/YearPicker/PickersYear.js +2 -2
  226. package/legacy/YearPicker/YearPicker.js +1 -1
  227. package/legacy/YearPicker/yearPickerClasses.js +1 -1
  228. package/legacy/index.js +4 -2
  229. package/legacy/internal/pickers/PickersToolbar.js +1 -1
  230. package/legacy/internal/pickers/PickersToolbarText.js +1 -1
  231. package/legacy/internal/pickers/test-utils.js +11 -7
  232. package/legacy/useAutocomplete/index.js +1 -1
  233. package/modern/CalendarPicker/CalendarPicker.js +1 -1
  234. package/modern/CalendarPicker/PickersFadeTransitionGroup.js +1 -1
  235. package/modern/CalendarPicker/PickersSlideTransition.js +1 -1
  236. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -1
  237. package/modern/ClockPicker/ClockNumber.js +1 -1
  238. package/modern/ClockPicker/ClockPicker.js +1 -1
  239. package/modern/DatePicker/DatePickerToolbar.js +1 -1
  240. package/modern/DateRangePicker/DateRangePickerToolbar.js +1 -1
  241. package/modern/DateRangePickerDay/DateRangePickerDay.js +1 -1
  242. package/modern/DateTimePicker/DateTimePickerToolbar.js +1 -1
  243. package/modern/LoadingButton/LoadingButton.js +20 -7
  244. package/modern/LoadingButton/loadingButtonClasses.js +1 -1
  245. package/modern/Masonry/Masonry.js +69 -51
  246. package/modern/Masonry/masonryClasses.js +1 -1
  247. package/modern/MonthPicker/MonthPicker.js +3 -2
  248. package/modern/MonthPicker/PickersMonth.js +19 -14
  249. package/modern/PickersDay/PickersDay.js +1 -1
  250. package/modern/TabPanel/TabPanel.js +1 -1
  251. package/modern/TabPanel/tabPanelClasses.js +1 -1
  252. package/modern/TimePicker/TimePickerToolbar.js +1 -1
  253. package/modern/Timeline/Timeline.js +1 -1
  254. package/modern/Timeline/timelineClasses.js +1 -1
  255. package/modern/TimelineConnector/TimelineConnector.js +1 -1
  256. package/modern/TimelineConnector/timelineConnectorClasses.js +1 -1
  257. package/modern/TimelineContent/TimelineContent.js +1 -1
  258. package/modern/TimelineContent/timelineContentClasses.js +1 -1
  259. package/modern/TimelineDot/TimelineDot.js +1 -1
  260. package/modern/TimelineDot/timelineDotClasses.js +1 -1
  261. package/modern/TimelineItem/TimelineItem.js +1 -1
  262. package/modern/TimelineItem/timelineItemClasses.js +1 -1
  263. package/modern/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  264. package/modern/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
  265. package/modern/TimelineSeparator/TimelineSeparator.js +1 -1
  266. package/modern/TimelineSeparator/timelineSeparatorClasses.js +1 -1
  267. package/modern/TreeItem/TreeItem.js +1 -1
  268. package/modern/TreeItem/treeItemClasses.js +1 -1
  269. package/modern/TreeView/TreeView.js +1 -1
  270. package/modern/TreeView/treeViewClasses.js +1 -1
  271. package/modern/YearPicker/PickersYear.js +2 -2
  272. package/modern/YearPicker/YearPicker.js +1 -1
  273. package/modern/YearPicker/yearPickerClasses.js +1 -1
  274. package/modern/index.js +4 -2
  275. package/modern/internal/pickers/PickersToolbar.js +1 -1
  276. package/modern/internal/pickers/PickersToolbarText.js +1 -1
  277. package/modern/internal/pickers/test-utils.js +14 -6
  278. package/modern/useAutocomplete/index.js +1 -1
  279. package/node/CalendarPicker/CalendarPicker.js +4 -4
  280. package/node/CalendarPicker/PickersFadeTransitionGroup.js +2 -2
  281. package/node/CalendarPicker/PickersSlideTransition.js +2 -2
  282. package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -4
  283. package/node/ClockPicker/ClockNumber.js +2 -2
  284. package/node/ClockPicker/ClockPicker.js +4 -4
  285. package/node/DatePicker/DatePickerToolbar.js +2 -2
  286. package/node/DateRangePicker/DateRangePickerToolbar.js +2 -2
  287. package/node/DateRangePickerDay/DateRangePickerDay.js +4 -4
  288. package/node/DateTimePicker/DateTimePickerToolbar.js +2 -2
  289. package/node/LoadingButton/LoadingButton.js +21 -8
  290. package/node/LoadingButton/loadingButtonClasses.js +3 -3
  291. package/node/Masonry/Masonry.js +74 -52
  292. package/node/Masonry/masonryClasses.js +3 -3
  293. package/node/MonthPicker/MonthPicker.js +6 -5
  294. package/node/MonthPicker/PickersMonth.js +20 -15
  295. package/node/PickersDay/PickersDay.js +4 -4
  296. package/node/TabPanel/TabPanel.js +2 -2
  297. package/node/TabPanel/tabPanelClasses.js +3 -3
  298. package/node/TimePicker/TimePickerToolbar.js +4 -4
  299. package/node/Timeline/Timeline.js +2 -2
  300. package/node/Timeline/timelineClasses.js +3 -3
  301. package/node/TimelineConnector/TimelineConnector.js +2 -2
  302. package/node/TimelineConnector/timelineConnectorClasses.js +3 -3
  303. package/node/TimelineContent/TimelineContent.js +2 -2
  304. package/node/TimelineContent/timelineContentClasses.js +3 -3
  305. package/node/TimelineDot/TimelineDot.js +2 -2
  306. package/node/TimelineDot/timelineDotClasses.js +3 -3
  307. package/node/TimelineItem/TimelineItem.js +2 -2
  308. package/node/TimelineItem/timelineItemClasses.js +3 -3
  309. package/node/TimelineOppositeContent/TimelineOppositeContent.js +2 -2
  310. package/node/TimelineOppositeContent/timelineOppositeContentClasses.js +3 -3
  311. package/node/TimelineSeparator/TimelineSeparator.js +2 -2
  312. package/node/TimelineSeparator/timelineSeparatorClasses.js +3 -3
  313. package/node/TreeItem/TreeItem.js +2 -2
  314. package/node/TreeItem/treeItemClasses.js +3 -3
  315. package/node/TreeView/TreeView.js +2 -2
  316. package/node/TreeView/treeViewClasses.js +3 -3
  317. package/node/YearPicker/PickersYear.js +5 -5
  318. package/node/YearPicker/YearPicker.js +2 -2
  319. package/node/YearPicker/yearPickerClasses.js +3 -3
  320. package/node/index.js +23 -2
  321. package/node/internal/pickers/PickersToolbar.js +2 -2
  322. package/node/internal/pickers/PickersToolbarText.js +2 -2
  323. package/node/internal/pickers/test-utils.js +15 -7
  324. package/node/useAutocomplete/index.js +3 -3
  325. package/package.json +7 -7
  326. package/themeAugmentation/components.d.ts +10 -0
  327. package/useAutocomplete/index.d.ts +1 -1
  328. package/useAutocomplete/index.js +1 -1
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -7,7 +7,7 @@ import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import clsx from 'clsx';
9
9
  import { styled, useThemeProps } from '@mui/material/styles';
10
- import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/core';
10
+ import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/base';
11
11
  import MonthPicker from '../MonthPicker/MonthPicker';
12
12
  import { useCalendarState } from './useCalendarState';
13
13
  import { useDefaultDates, useUtils } from '../internal/pickers/hooks/useUtils';
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Fade from '@mui/material/Fade';
4
4
  import { styled } from '@mui/material/styles';
5
- import { generateUtilityClasses } from '@mui/core';
5
+ import { generateUtilityClasses } from '@mui/base';
6
6
  import { TransitionGroup } from 'react-transition-group';
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
8
  var classes = generateUtilityClasses('PrivatePickersFadeTransitionGroup', ['root']);
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
4
  import * as React from 'react';
5
5
  import clsx from 'clsx';
6
6
  import { styled } from '@mui/material/styles';
7
- import { generateUtilityClasses } from '@mui/core';
7
+ import { generateUtilityClasses } from '@mui/base';
8
8
  import { CSSTransition, TransitionGroup } from 'react-transition-group';
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
10
  var classes = generateUtilityClasses('PrivatePickersSlideTransition', ['root', 'slideEnter-left', 'slideEnter-right', 'slideEnterActive', 'slideEnterActive', 'slideExit', 'slideExitActiveLeft-left', 'slideExitActiveLeft-right']);
@@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import Skeleton from '@mui/material/Skeleton';
7
7
  import { styled, useThemeProps } from '@mui/material/styles';
8
- import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/core';
8
+ import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/base';
9
9
  import { DAY_SIZE, DAY_MARGIN } from '../internal/pickers/constants/dimensions';
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  export function getCalendarPickerSkeletonUtilityClass(slot) {
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import * as React from 'react';
5
5
  import clsx from 'clsx';
6
6
  import { styled } from '@mui/material/styles';
7
- import { generateUtilityClasses } from '@mui/core';
7
+ import { generateUtilityClasses } from '@mui/base';
8
8
  import { CLOCK_WIDTH, CLOCK_HOUR_WIDTH } from './shared';
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
10
  export var classes = generateUtilityClasses('PrivateClockNumber', ['selected', 'disabled']);
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { unstable_useId as useId } from '@mui/utils';
5
5
  import { styled, useThemeProps } from '@mui/material/styles';
6
- import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/core';
6
+ import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/base';
7
7
  import Clock from './Clock';
8
8
  import { pipe } from '../internal/pickers/utils';
9
9
  import { useUtils, useNow } from '../internal/pickers/hooks/useUtils';
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
4
  import * as React from 'react';
5
5
  import Typography from '@mui/material/Typography';
6
6
  import { styled } from '@mui/material/styles';
7
- import { generateUtilityClasses } from '@mui/core';
7
+ import { generateUtilityClasses } from '@mui/base';
8
8
  import PickersToolbar from '../internal/pickers/PickersToolbar';
9
9
  import { useUtils } from '../internal/pickers/hooks/useUtils';
10
10
  import { isYearAndMonthViews, isYearOnlyView } from './shared';
@@ -6,7 +6,7 @@ var _Typography;
6
6
  import * as React from 'react';
7
7
  import Typography from '@mui/material/Typography';
8
8
  import { styled } from '@mui/material/styles';
9
- import { generateUtilityClasses } from '@mui/core';
9
+ import { generateUtilityClasses } from '@mui/base';
10
10
  import PickersToolbar from '../internal/pickers/PickersToolbar';
11
11
  import { useUtils } from '../internal/pickers/hooks/useUtils';
12
12
  import PickersToolbarButton from '../internal/pickers/PickersToolbarButton';
@@ -5,7 +5,7 @@ import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import clsx from 'clsx';
7
7
  import { alpha, styled } from '@mui/material/styles';
8
- import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/core';
8
+ import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/base';
9
9
  import { DAY_MARGIN } from '../internal/pickers/constants/dimensions';
10
10
  import { useUtils } from '../internal/pickers/hooks/useUtils';
11
11
  import PickersDay, { areDayPropsEqual } from '../PickersDay/PickersDay';
@@ -6,7 +6,7 @@ var _DateTimePickerToolba, _DateTimePickerToolba2;
6
6
 
7
7
  import * as React from 'react';
8
8
  import { styled } from '@mui/material/styles';
9
- import { generateUtilityClasses } from '@mui/core';
9
+ import { generateUtilityClasses } from '@mui/base';
10
10
  import PickersToolbarText from '../internal/pickers/PickersToolbarText';
11
11
  import PickersToolbar from '../internal/pickers/PickersToolbar';
12
12
  import PickersToolbarButton from '../internal/pickers/PickersToolbarButton';
@@ -5,7 +5,7 @@ import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { chainPropTypes } from '@mui/utils';
7
7
  import { capitalize } from '@mui/material/utils';
8
- import { unstable_composeClasses as composeClasses } from '@mui/core';
8
+ import { unstable_composeClasses as composeClasses } from '@mui/base';
9
9
  import { styled, useThemeProps } from '@mui/material/styles';
10
10
  import Button from '@mui/material/Button';
11
11
  import CircularProgress from '@mui/material/CircularProgress';
@@ -83,14 +83,18 @@ var LoadingButtonLoadingIndicator = styled('div', {
83
83
  position: 'absolute',
84
84
  visibility: 'visible',
85
85
  display: 'flex'
86
- }, ownerState.loadingPosition === 'start' && {
86
+ }, ownerState.loadingPosition === 'start' && (ownerState.variant === 'outlined' || ownerState.variant === 'contained') && {
87
87
  left: 14
88
+ }, ownerState.loadingPosition === 'start' && ownerState.variant === 'text' && {
89
+ left: 6
88
90
  }, ownerState.loadingPosition === 'center' && {
89
91
  left: '50%',
90
92
  transform: 'translate(-50%)',
91
93
  color: theme.palette.action.disabled
92
- }, ownerState.loadingPosition === 'end' && {
94
+ }, ownerState.loadingPosition === 'end' && (ownerState.variant === 'outlined' || ownerState.variant === 'contained') && {
93
95
  right: 14
96
+ }, ownerState.loadingPosition === 'end' && ownerState.variant === 'text' && {
97
+ right: 6
94
98
  }, ownerState.loadingPosition === 'start' && ownerState.fullWidth && {
95
99
  position: 'relative',
96
100
  left: -10
@@ -120,13 +124,16 @@ var LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inProps
120
124
  loadingIndicator = _props$loadingIndicat === void 0 ? LoadingIndicator : _props$loadingIndicat,
121
125
  _props$loadingPositio = props.loadingPosition,
122
126
  loadingPosition = _props$loadingPositio === void 0 ? 'center' : _props$loadingPositio,
123
- other = _objectWithoutProperties(props, ["children", "disabled", "loading", "loadingIndicator", "loadingPosition"]);
127
+ _props$variant = props.variant,
128
+ variant = _props$variant === void 0 ? 'text' : _props$variant,
129
+ other = _objectWithoutProperties(props, ["children", "disabled", "loading", "loadingIndicator", "loadingPosition", "variant"]);
124
130
 
125
131
  var ownerState = _extends({}, props, {
126
132
  disabled: disabled,
127
133
  loading: loading,
128
134
  loadingIndicator: loadingIndicator,
129
- loadingPosition: loadingPosition
135
+ loadingPosition: loadingPosition,
136
+ variant: variant
130
137
  });
131
138
 
132
139
  var classes = useUtilityClasses(ownerState);
@@ -134,6 +141,7 @@ var LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inProps
134
141
  disabled: disabled || loading,
135
142
  ref: ref
136
143
  }, other, {
144
+ variant: variant,
137
145
  classes: classes,
138
146
  ownerState: ownerState,
139
147
  children: ownerState.loadingPosition === 'end' ? /*#__PURE__*/_jsxs(React.Fragment, {
@@ -206,6 +214,12 @@ process.env.NODE_ENV !== "production" ? LoadingButton.propTypes
206
214
  /**
207
215
  * The system prop that allows defining system overrides as well as additional CSS styles.
208
216
  */
209
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
217
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
218
+
219
+ /**
220
+ * The variant to use.
221
+ * @default 'text'
222
+ */
223
+ variant: PropTypes.oneOf(['contained', 'outlined', 'text'])
210
224
  } : void 0;
211
225
  export default LoadingButton;
@@ -1,4 +1,4 @@
1
- import { generateUtilityClass, generateUtilityClasses } from '@mui/core';
1
+ import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
2
2
  export function getLoadingButtonUtilityClass(slot) {
3
3
  return generateUtilityClass('MuiLoadingButton', slot);
4
4
  }
@@ -2,7 +2,7 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  import _typeof from "@babel/runtime/helpers/esm/typeof";
4
4
  import _extends from "@babel/runtime/helpers/esm/extends";
5
- import { unstable_composeClasses as composeClasses } from '@mui/core';
5
+ import { unstable_composeClasses as composeClasses } from '@mui/base';
6
6
  import { styled, useThemeProps } from '@mui/material/styles';
7
7
  import { createUnarySpacing, getValue, handleBreakpoints, unstable_resolveBreakpointValues as resolveBreakpointValues } from '@mui/system';
8
8
  import { deepmerge, unstable_useForkRef as useForkRef } from '@mui/utils';
@@ -172,72 +172,96 @@ var Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
172
172
  });
173
173
 
174
174
  var classes = useUtilityClasses(ownerState);
175
- React.useEffect(function () {
176
- var handleResize = function handleResize() {
177
- var parentWidth = masonryRef.current.clientWidth;
178
- var childWidth = masonryRef.current.firstChild.clientWidth;
179
- var firstChildComputedStyle = window.getComputedStyle(masonryRef.current.firstChild);
180
- var firstChildMarginLeft = parseToNumber(firstChildComputedStyle.marginLeft);
181
- var firstChildMarginRight = parseToNumber(firstChildComputedStyle.marginRight);
182
-
183
- if (parentWidth === 0 || childWidth === 0) {
184
- return;
185
- }
186
175
 
187
- var currentNumberOfColumns = Math.round(parentWidth / (childWidth + firstChildMarginLeft + firstChildMarginRight));
188
- var columnHeights = new Array(currentNumberOfColumns).fill(0);
189
- var skip = false;
190
- masonryRef.current.childNodes.forEach(function (child) {
191
- if (child.nodeType !== Node.ELEMENT_NODE || child.dataset.class === 'line-break' || skip) {
192
- return;
193
- }
176
+ var handleResize = function handleResize(elements) {
177
+ if (!elements) {
178
+ return;
179
+ }
194
180
 
195
- var childComputedStyle = window.getComputedStyle(child);
196
- var childMarginTop = parseToNumber(childComputedStyle.marginTop);
197
- var childMarginBottom = parseToNumber(childComputedStyle.marginBottom); // if any one of children isn't rendered yet, masonry's height shouldn't be computed yet
181
+ var masonry;
182
+ var masonryFirstChild;
183
+ var parentWidth;
184
+ var childWidth;
185
+
186
+ if (elements[0].target.className.includes(classes.root)) {
187
+ var _elements$, _masonryFirstChild, _masonryFirstChild$co, _masonryFirstChild2;
188
+
189
+ masonry = elements[0].target;
190
+ parentWidth = elements[0].contentRect.width;
191
+ masonryFirstChild = ((_elements$ = elements[1]) == null ? void 0 : _elements$.target) || masonry.firstChild;
192
+ childWidth = ((_masonryFirstChild = masonryFirstChild) == null ? void 0 : (_masonryFirstChild$co = _masonryFirstChild.contentRect) == null ? void 0 : _masonryFirstChild$co.width) || ((_masonryFirstChild2 = masonryFirstChild) == null ? void 0 : _masonryFirstChild2.clientWidth) || 0;
193
+ } else {
194
+ var _elements$2, _masonry$contentRect;
195
+
196
+ masonryFirstChild = elements[0].target;
197
+ childWidth = elements[0].contentRect.width;
198
+ masonry = ((_elements$2 = elements[1]) == null ? void 0 : _elements$2.target) || masonryFirstChild.parentElement;
199
+ parentWidth = ((_masonry$contentRect = masonry.contentRect) == null ? void 0 : _masonry$contentRect.width) || masonry.clientWidth;
200
+ }
198
201
 
199
- var childHeight = parseToNumber(childComputedStyle.height) ? Math.ceil(parseToNumber(childComputedStyle.height)) + childMarginTop + childMarginBottom : 0;
202
+ if (parentWidth === 0 || childWidth === 0 || !masonry || !masonryFirstChild) {
203
+ return;
204
+ }
200
205
 
201
- if (childHeight === 0) {
202
- skip = true;
203
- return;
204
- } // if there is a nested image that isn't rendered yet, masonry's height shouldn't be computed yet
206
+ var firstChildComputedStyle = window.getComputedStyle(masonryFirstChild);
207
+ var firstChildMarginLeft = parseToNumber(firstChildComputedStyle.marginLeft);
208
+ var firstChildMarginRight = parseToNumber(firstChildComputedStyle.marginRight);
209
+ var currentNumberOfColumns = Math.round(parentWidth / (childWidth + firstChildMarginLeft + firstChildMarginRight));
210
+ var columnHeights = new Array(currentNumberOfColumns).fill(0);
211
+ var skip = false;
212
+ masonry.childNodes.forEach(function (child) {
213
+ if (child.nodeType !== Node.ELEMENT_NODE || child.dataset.class === 'line-break' || skip) {
214
+ return;
215
+ }
205
216
 
217
+ var childComputedStyle = window.getComputedStyle(child);
218
+ var childMarginTop = parseToNumber(childComputedStyle.marginTop);
219
+ var childMarginBottom = parseToNumber(childComputedStyle.marginBottom); // if any one of children isn't rendered yet, masonry's height shouldn't be computed yet
206
220
 
207
- for (var i = 0; i < child.childNodes.length; i += 1) {
208
- var nestedChild = child.childNodes[i];
221
+ var childHeight = parseToNumber(childComputedStyle.height) ? Math.ceil(parseToNumber(childComputedStyle.height)) + childMarginTop + childMarginBottom : 0;
222
+
223
+ if (childHeight === 0) {
224
+ skip = true;
225
+ return;
226
+ } // if there is a nested image that isn't rendered yet, masonry's height shouldn't be computed yet
209
227
 
210
- if (nestedChild.tagName === 'IMG' && nestedChild.clientHeight === 0) {
211
- skip = true;
212
- break;
213
- }
214
- }
215
228
 
216
- if (!skip) {
217
- // find the current shortest column (where the current item will be placed)
218
- var currentMinColumnIndex = columnHeights.indexOf(Math.min.apply(Math, _toConsumableArray(columnHeights)));
219
- columnHeights[currentMinColumnIndex] += childHeight;
220
- var order = currentMinColumnIndex + 1;
221
- child.style.order = order;
229
+ for (var i = 0; i < child.childNodes.length; i += 1) {
230
+ var nestedChild = child.childNodes[i];
231
+
232
+ if (nestedChild.tagName === 'IMG' && nestedChild.clientHeight === 0) {
233
+ skip = true;
234
+ break;
222
235
  }
223
- });
236
+ }
224
237
 
225
238
  if (!skip) {
226
- setMaxColumnHeight(Math.max.apply(Math, _toConsumableArray(columnHeights)));
227
- var numOfLineBreaks = currentNumberOfColumns > 0 ? currentNumberOfColumns - 1 : 0;
228
- setNumberOfLineBreaks(numOfLineBreaks);
239
+ // find the current shortest column (where the current item will be placed)
240
+ var currentMinColumnIndex = columnHeights.indexOf(Math.min.apply(Math, _toConsumableArray(columnHeights)));
241
+ columnHeights[currentMinColumnIndex] += childHeight;
242
+ var order = currentMinColumnIndex + 1;
243
+ child.style.order = order;
229
244
  }
230
- }; // IE and old browsers are not supported
245
+ });
231
246
 
247
+ if (!skip) {
248
+ setMaxColumnHeight(Math.max.apply(Math, _toConsumableArray(columnHeights)));
249
+ var numOfLineBreaks = currentNumberOfColumns > 0 ? currentNumberOfColumns - 1 : 0;
250
+ setNumberOfLineBreaks(numOfLineBreaks);
251
+ }
252
+ };
253
+
254
+ var observer = React.useRef(typeof ResizeObserver === 'undefined' ? undefined : new ResizeObserver(handleResize));
255
+ React.useEffect(function () {
256
+ var resizeObserver = observer.current; // IE and old browsers are not supported
232
257
 
233
- if (typeof ResizeObserver === 'undefined') {
258
+ if (resizeObserver === undefined) {
234
259
  return undefined;
235
260
  }
236
261
 
237
- var resizeObserver = new ResizeObserver(handleResize);
238
262
  var container = masonryRef.current;
239
263
 
240
- if (container) {
264
+ if (container && resizeObserver) {
241
265
  // only the masonry container and its first child are observed for resizing;
242
266
  // this might cause unforeseen problems in some use cases;
243
267
  resizeObserver.observe(container);
@@ -248,7 +272,7 @@ var Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
248
272
  }
249
273
 
250
274
  return function () {
251
- resizeObserver.disconnect();
275
+ return resizeObserver ? resizeObserver.disconnect() : {};
252
276
  };
253
277
  }, [columns, spacing, children]);
254
278
  var handleRef = useForkRef(ref, masonryRef);
@@ -1,4 +1,4 @@
1
- import { generateUtilityClass, generateUtilityClasses } from '@mui/core';
1
+ import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
2
2
  export function getMasonryUtilityClass(slot) {
3
3
  return generateUtilityClass('MuiMasonry', slot);
4
4
  }
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import { styled, useThemeProps } from '@mui/material/styles';
7
- import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/core';
7
+ import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/base';
8
8
  import PickersMonth from './PickersMonth';
9
9
  import { useUtils, useNow } from '../internal/pickers/hooks/useUtils';
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -31,7 +31,8 @@ var MonthPickerRoot = styled('div', {
31
31
  width: 310,
32
32
  display: 'flex',
33
33
  flexWrap: 'wrap',
34
- alignContent: 'stretch'
34
+ alignContent: 'stretch',
35
+ margin: '0 4px'
35
36
  });
36
37
  var MonthPicker = /*#__PURE__*/React.forwardRef(function MonthPicker(inProps, ref) {
37
38
  var props = useThemeProps({
@@ -1,11 +1,11 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
2
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
3
+ import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import * as React from 'react';
5
5
  import clsx from 'clsx';
6
6
  import Typography from '@mui/material/Typography';
7
- import { styled } from '@mui/material/styles';
8
- import { generateUtilityClasses } from '@mui/core';
7
+ import { styled, alpha } from '@mui/material/styles';
8
+ import { generateUtilityClasses } from '@mui/base';
9
9
  import { onSpaceOrEnter } from '../internal/pickers/utils';
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  var classes = generateUtilityClasses('PrivatePickersMonth', ['root', 'selected']);
@@ -13,29 +13,34 @@ var PickersMonthRoot = styled(Typography, {
13
13
  skipSx: true
14
14
  })(function (_ref) {
15
15
  var theme = _ref.theme;
16
- return _defineProperty({
16
+ return _extends({
17
17
  flex: '1 0 33.33%',
18
18
  display: 'flex',
19
19
  alignItems: 'center',
20
20
  justifyContent: 'center',
21
+ color: 'unset',
22
+ backgroundColor: 'transparent',
23
+ border: 0,
24
+ outline: 0
25
+ }, theme.typography.subtitle1, _defineProperty({
26
+ margin: '8px 0',
27
+ height: 36,
28
+ borderRadius: 18,
21
29
  cursor: 'pointer',
22
- height: 64,
23
- outline: 0,
24
- transition: theme.transitions.create('font-size', {
25
- duration: '100ms'
26
- }),
27
- '&:focus': {
28
- color: theme.palette.primary.main,
29
- fontWeight: theme.typography.fontWeightMedium
30
+ '&:focus, &:hover': {
31
+ backgroundColor: alpha(theme.palette.action.active, theme.palette.action.hoverOpacity)
30
32
  },
31
33
  '&:disabled': {
32
34
  pointerEvents: 'none',
33
35
  color: theme.palette.text.secondary
34
36
  }
35
37
  }, "&.".concat(classes.selected), {
36
- color: theme.palette.primary.main,
37
- fontWeight: theme.typography.fontWeightMedium
38
- });
38
+ color: theme.palette.primary.contrastText,
39
+ backgroundColor: theme.palette.primary.main,
40
+ '&:focus, &:hover': {
41
+ backgroundColor: theme.palette.primary.dark
42
+ }
43
+ }));
39
44
  });
40
45
  /**
41
46
  * @ignore - do not document.
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
6
6
  import clsx from 'clsx';
7
7
  import ButtonBase from '@mui/material/ButtonBase';
8
8
  import { unstable_useEnhancedEffect as useEnhancedEffect } from '@mui/utils';
9
- import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/core';
9
+ import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/base';
10
10
  import { useTheme, alpha, styled, useThemeProps } from '@mui/material/styles';
11
11
  import { useForkRef } from '@mui/material/utils';
12
12
  import { useUtils } from '../internal/pickers/hooks/useUtils';
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import { styled, useThemeProps } from '@mui/material/styles';
7
- import { unstable_composeClasses as composeClasses } from '@mui/core';
7
+ import { unstable_composeClasses as composeClasses } from '@mui/base';
8
8
  import { getTabPanelUtilityClass } from './tabPanelClasses';
9
9
  import { getPanelId, getTabId, useTabContext } from '../TabContext';
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { generateUtilityClass, generateUtilityClasses } from '@mui/core';
1
+ import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
2
2
  export function getTabPanelUtilityClass(slot) {
3
3
  return generateUtilityClass('MuiTabPanel', slot);
4
4
  }
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
4
  import * as React from 'react';
5
5
  import clsx from 'clsx';
6
6
  import { useTheme, styled } from '@mui/material/styles';
7
- import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/core';
7
+ import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/base';
8
8
  import PickersToolbarText from '../internal/pickers/PickersToolbarText';
9
9
  import PickersToolbarButton from '../internal/pickers/PickersToolbarButton';
10
10
  import PickersToolbar from '../internal/pickers/PickersToolbar';
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import { capitalize } from '@mui/material/utils';
7
- import { unstable_composeClasses as composeClasses } from '@mui/core';
7
+ import { unstable_composeClasses as composeClasses } from '@mui/base';
8
8
  import { styled, useThemeProps } from '@mui/material/styles';
9
9
  import TimelineContext from './TimelineContext';
10
10
  import { getTimelineUtilityClass } from './timelineClasses';
@@ -1,4 +1,4 @@
1
- import { generateUtilityClass, generateUtilityClasses } from '@mui/core';
1
+ import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
2
2
  export function getTimelineUtilityClass(slot) {
3
3
  return generateUtilityClass('MuiTimeline', slot);
4
4
  }
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
3
3
  import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
- import { unstable_composeClasses as composeClasses } from '@mui/core';
6
+ import { unstable_composeClasses as composeClasses } from '@mui/base';
7
7
  import { styled, useThemeProps } from '@mui/material/styles';
8
8
  import { getTimelineConnectorUtilityClass } from './timelineConnectorClasses';
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { generateUtilityClass, generateUtilityClasses } from '@mui/core';
1
+ import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
2
2
  export function getTimelineConnectorUtilityClass(slot) {
3
3
  return generateUtilityClass('MuiTimelineConnector', slot);
4
4
  }
@@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import { capitalize } from '@mui/material/utils';
7
7
  import { styled, useThemeProps } from '@mui/material/styles';
8
- import { unstable_composeClasses as composeClasses } from '@mui/core';
8
+ import { unstable_composeClasses as composeClasses } from '@mui/base';
9
9
  import Typography from '@mui/material/Typography';
10
10
  import TimelineContext from '../Timeline/TimelineContext';
11
11
  import { getTimelineContentUtilityClass } from './timelineContentClasses';
@@ -1,4 +1,4 @@
1
- import { generateUtilityClass, generateUtilityClasses } from '@mui/core';
1
+ import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
2
2
  export function getTimelineContentUtilityClass(slot) {
3
3
  return generateUtilityClass('MuiTimelineContent', slot);
4
4
  }