@mui/lab 5.0.0-alpha.98 → 6.0.0-alpha.0

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 (462) hide show
  1. package/AdapterDateFns/AdapterDateFns.d.ts +3 -0
  2. package/AdapterDateFns/AdapterDateFns.js +4 -4
  3. package/AdapterDayjs/AdapterDayjs.d.ts +3 -0
  4. package/AdapterDayjs/AdapterDayjs.js +4 -4
  5. package/AdapterLuxon/AdapterLuxon.d.ts +3 -0
  6. package/AdapterLuxon/AdapterLuxon.js +4 -4
  7. package/AdapterMoment/AdapterMoment.d.ts +3 -0
  8. package/AdapterMoment/AdapterMoment.js +4 -4
  9. package/Alert/Alert.js +3 -2
  10. package/AlertTitle/AlertTitle.js +3 -2
  11. package/Autocomplete/Autocomplete.js +3 -2
  12. package/AvatarGroup/AvatarGroup.js +3 -2
  13. package/CHANGELOG.md +5895 -397
  14. package/CalendarPicker/CalendarPicker.d.ts +6 -5
  15. package/CalendarPicker/CalendarPicker.js +3 -2
  16. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +4 -3
  17. package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +3 -2
  18. package/ClockPicker/ClockPicker.d.ts +6 -5
  19. package/ClockPicker/ClockPicker.js +3 -2
  20. package/DatePicker/DatePicker.d.ts +2 -2
  21. package/DatePicker/DatePicker.js +2 -2
  22. package/DateRangePicker/DateRangePicker.d.ts +4 -3
  23. package/DateRangePicker/DateRangePicker.js +1 -2
  24. package/DateRangePickerDay/DateRangePickerDay.d.ts +5 -4
  25. package/DateRangePickerDay/DateRangePickerDay.js +1 -2
  26. package/DateTimePicker/DateTimePicker.d.ts +3 -2
  27. package/DateTimePicker/DateTimePicker.js +3 -2
  28. package/DesktopDatePicker/DesktopDatePicker.d.ts +3 -2
  29. package/DesktopDatePicker/DesktopDatePicker.js +3 -2
  30. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +3 -2
  31. package/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -2
  32. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +3 -2
  33. package/DesktopDateTimePicker/DesktopDateTimePicker.js +3 -2
  34. package/DesktopTimePicker/DesktopTimePicker.d.ts +3 -2
  35. package/DesktopTimePicker/DesktopTimePicker.js +3 -2
  36. package/LoadingButton/LoadingButton.d.ts +53 -50
  37. package/LoadingButton/LoadingButton.js +28 -44
  38. package/LoadingButton/loadingButtonClasses.d.ts +1 -1
  39. package/LoadingButton/loadingButtonClasses.js +2 -1
  40. package/LocalizationProvider/LocalizationProvider.d.ts +3 -2
  41. package/LocalizationProvider/LocalizationProvider.js +3 -2
  42. package/Masonry/Masonry.d.ts +51 -41
  43. package/Masonry/Masonry.js +75 -89
  44. package/Masonry/masonryClasses.d.ts +1 -1
  45. package/Masonry/masonryClasses.js +2 -1
  46. package/MobileDatePicker/MobileDatePicker.d.ts +3 -2
  47. package/MobileDatePicker/MobileDatePicker.js +3 -2
  48. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +3 -2
  49. package/MobileDateRangePicker/MobileDateRangePicker.js +1 -2
  50. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +3 -2
  51. package/MobileDateTimePicker/MobileDateTimePicker.js +3 -2
  52. package/MobileTimePicker/MobileTimePicker.d.ts +3 -2
  53. package/MobileTimePicker/MobileTimePicker.js +3 -2
  54. package/MonthPicker/MonthPicker.d.ts +4 -3
  55. package/MonthPicker/MonthPicker.js +3 -2
  56. package/Pagination/Pagination.js +3 -2
  57. package/Pagination/usePagination.js +2 -0
  58. package/PaginationItem/PaginationItem.js +3 -2
  59. package/PickersDay/PickersDay.d.ts +4 -3
  60. package/PickersDay/PickersDay.js +3 -2
  61. package/README.md +5 -13
  62. package/Rating/Rating.js +3 -2
  63. package/Skeleton/Skeleton.js +3 -2
  64. package/SpeedDial/SpeedDial.js +3 -2
  65. package/SpeedDialAction/SpeedDialAction.js +3 -2
  66. package/SpeedDialIcon/SpeedDialIcon.js +3 -2
  67. package/StaticDatePicker/StaticDatePicker.d.ts +3 -2
  68. package/StaticDatePicker/StaticDatePicker.js +3 -2
  69. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +3 -2
  70. package/StaticDateRangePicker/StaticDateRangePicker.js +1 -2
  71. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +3 -2
  72. package/StaticDateTimePicker/StaticDateTimePicker.js +3 -2
  73. package/StaticTimePicker/StaticTimePicker.d.ts +3 -2
  74. package/StaticTimePicker/StaticTimePicker.js +3 -2
  75. package/TabContext/TabContext.d.ts +1 -1
  76. package/TabContext/TabContext.js +10 -19
  77. package/TabList/TabList.d.ts +14 -12
  78. package/TabList/TabList.js +10 -15
  79. package/TabPanel/TabPanel.js +12 -24
  80. package/TabPanel/tabPanelClasses.d.ts +1 -1
  81. package/TabPanel/tabPanelClasses.js +2 -1
  82. package/TimePicker/TimePicker.d.ts +3 -2
  83. package/TimePicker/TimePicker.js +3 -2
  84. package/Timeline/Timeline.d.ts +2 -37
  85. package/Timeline/Timeline.js +23 -31
  86. package/Timeline/Timeline.types.d.ts +28 -0
  87. package/Timeline/Timeline.types.js +1 -0
  88. package/Timeline/TimelineContext.js +1 -3
  89. package/Timeline/index.d.ts +1 -2
  90. package/Timeline/index.js +1 -0
  91. package/Timeline/timelineClasses.d.ts +14 -1
  92. package/Timeline/timelineClasses.js +3 -2
  93. package/TimelineConnector/TimelineConnector.js +10 -18
  94. package/TimelineConnector/timelineConnectorClasses.d.ts +1 -1
  95. package/TimelineConnector/timelineConnectorClasses.js +2 -1
  96. package/TimelineContent/TimelineContent.js +13 -23
  97. package/TimelineContent/timelineContentClasses.d.ts +3 -1
  98. package/TimelineContent/timelineContentClasses.js +3 -2
  99. package/TimelineDot/TimelineDot.js +14 -29
  100. package/TimelineDot/timelineDotClasses.d.ts +1 -1
  101. package/TimelineDot/timelineDotClasses.js +2 -1
  102. package/TimelineItem/TimelineItem.d.ts +1 -1
  103. package/TimelineItem/TimelineItem.js +23 -32
  104. package/TimelineItem/timelineItemClasses.d.ts +3 -1
  105. package/TimelineItem/timelineItemClasses.js +3 -2
  106. package/TimelineOppositeContent/TimelineOppositeContent.js +13 -23
  107. package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +3 -1
  108. package/TimelineOppositeContent/timelineOppositeContentClasses.js +3 -2
  109. package/TimelineSeparator/TimelineSeparator.js +10 -18
  110. package/TimelineSeparator/timelineSeparatorClasses.d.ts +1 -1
  111. package/TimelineSeparator/timelineSeparatorClasses.js +2 -1
  112. package/ToggleButton/ToggleButton.js +3 -2
  113. package/ToggleButtonGroup/ToggleButtonGroup.js +3 -2
  114. package/TreeItem/TreeItem.d.ts +8 -84
  115. package/TreeItem/TreeItem.js +15 -419
  116. package/TreeItem/index.d.ts +0 -5
  117. package/TreeItem/index.js +1 -3
  118. package/TreeView/TreeView.d.ts +8 -141
  119. package/TreeView/TreeView.js +16 -978
  120. package/TreeView/index.d.ts +0 -3
  121. package/TreeView/index.js +1 -2
  122. package/YearPicker/YearPicker.d.ts +5 -4
  123. package/YearPicker/YearPicker.js +3 -3
  124. package/index.js +5 -2
  125. package/internal/convertTimelinePositionToClass.d.ts +1 -0
  126. package/internal/convertTimelinePositionToClass.js +4 -0
  127. package/internal/svg-icons/ArrowDropDown.js +3 -1
  128. package/internal/svg-icons/ArrowLeft.js +3 -1
  129. package/internal/svg-icons/ArrowRight.js +3 -1
  130. package/internal/svg-icons/Calendar.js +3 -1
  131. package/internal/svg-icons/Clock.js +4 -3
  132. package/internal/svg-icons/DateRange.js +3 -1
  133. package/internal/svg-icons/Pen.js +3 -1
  134. package/internal/svg-icons/Time.js +4 -3
  135. package/legacy/AdapterDateFns/AdapterDateFns.js +4 -5
  136. package/legacy/AdapterDayjs/AdapterDayjs.js +4 -5
  137. package/legacy/AdapterLuxon/AdapterLuxon.js +4 -5
  138. package/legacy/AdapterMoment/AdapterMoment.js +4 -5
  139. package/legacy/Alert/Alert.js +3 -2
  140. package/legacy/AlertTitle/AlertTitle.js +3 -2
  141. package/legacy/Autocomplete/Autocomplete.js +3 -2
  142. package/legacy/AvatarGroup/AvatarGroup.js +3 -2
  143. package/legacy/CalendarPicker/CalendarPicker.js +3 -2
  144. package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +3 -2
  145. package/legacy/ClockPicker/ClockPicker.js +3 -2
  146. package/legacy/DatePicker/DatePicker.js +2 -2
  147. package/legacy/DateRangePicker/DateRangePicker.js +1 -2
  148. package/legacy/DateRangePickerDay/DateRangePickerDay.js +1 -2
  149. package/legacy/DateTimePicker/DateTimePicker.js +3 -2
  150. package/legacy/DesktopDatePicker/DesktopDatePicker.js +3 -2
  151. package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -2
  152. package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +3 -2
  153. package/legacy/DesktopTimePicker/DesktopTimePicker.js +3 -2
  154. package/legacy/LoadingButton/LoadingButton.js +33 -49
  155. package/legacy/LoadingButton/loadingButtonClasses.js +2 -1
  156. package/legacy/LocalizationProvider/LocalizationProvider.js +3 -2
  157. package/legacy/Masonry/Masonry.js +80 -98
  158. package/legacy/Masonry/masonryClasses.js +2 -1
  159. package/legacy/MobileDatePicker/MobileDatePicker.js +3 -2
  160. package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +1 -2
  161. package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +3 -2
  162. package/legacy/MobileTimePicker/MobileTimePicker.js +3 -2
  163. package/legacy/MonthPicker/MonthPicker.js +3 -2
  164. package/legacy/Pagination/Pagination.js +3 -2
  165. package/legacy/Pagination/usePagination.js +2 -0
  166. package/legacy/PaginationItem/PaginationItem.js +3 -2
  167. package/legacy/PickersDay/PickersDay.js +3 -2
  168. package/legacy/Rating/Rating.js +3 -2
  169. package/legacy/Skeleton/Skeleton.js +3 -2
  170. package/legacy/SpeedDial/SpeedDial.js +3 -2
  171. package/legacy/SpeedDialAction/SpeedDialAction.js +3 -2
  172. package/legacy/SpeedDialIcon/SpeedDialIcon.js +3 -2
  173. package/legacy/StaticDatePicker/StaticDatePicker.js +3 -2
  174. package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +1 -2
  175. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +3 -2
  176. package/legacy/StaticTimePicker/StaticTimePicker.js +3 -2
  177. package/legacy/TabContext/TabContext.js +13 -23
  178. package/legacy/TabList/TabList.js +8 -13
  179. package/legacy/TabPanel/TabPanel.js +10 -22
  180. package/legacy/TabPanel/tabPanelClasses.js +2 -1
  181. package/legacy/TimePicker/TimePicker.js +3 -2
  182. package/legacy/Timeline/Timeline.js +25 -31
  183. package/legacy/Timeline/Timeline.types.js +1 -0
  184. package/legacy/Timeline/TimelineContext.js +1 -3
  185. package/legacy/Timeline/index.js +1 -0
  186. package/legacy/Timeline/timelineClasses.js +3 -2
  187. package/legacy/TimelineConnector/TimelineConnector.js +8 -16
  188. package/legacy/TimelineConnector/timelineConnectorClasses.js +2 -1
  189. package/legacy/TimelineContent/TimelineContent.js +13 -23
  190. package/legacy/TimelineContent/timelineContentClasses.js +3 -2
  191. package/legacy/TimelineDot/TimelineDot.js +17 -32
  192. package/legacy/TimelineDot/timelineDotClasses.js +2 -1
  193. package/legacy/TimelineItem/TimelineItem.js +31 -43
  194. package/legacy/TimelineItem/timelineItemClasses.js +3 -2
  195. package/legacy/TimelineOppositeContent/TimelineOppositeContent.js +13 -23
  196. package/legacy/TimelineOppositeContent/timelineOppositeContentClasses.js +3 -2
  197. package/legacy/TimelineSeparator/TimelineSeparator.js +8 -16
  198. package/legacy/TimelineSeparator/timelineSeparatorClasses.js +2 -1
  199. package/legacy/ToggleButton/ToggleButton.js +3 -2
  200. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +3 -2
  201. package/legacy/TreeItem/TreeItem.js +15 -421
  202. package/legacy/TreeItem/index.js +1 -3
  203. package/legacy/TreeView/TreeView.js +16 -1041
  204. package/legacy/TreeView/index.js +1 -2
  205. package/legacy/YearPicker/YearPicker.js +3 -3
  206. package/legacy/index.js +5 -2
  207. package/legacy/internal/convertTimelinePositionToClass.js +4 -0
  208. package/legacy/internal/svg-icons/ArrowDropDown.js +3 -1
  209. package/legacy/internal/svg-icons/ArrowLeft.js +3 -1
  210. package/legacy/internal/svg-icons/ArrowRight.js +3 -1
  211. package/legacy/internal/svg-icons/Calendar.js +3 -1
  212. package/legacy/internal/svg-icons/Clock.js +4 -3
  213. package/legacy/internal/svg-icons/DateRange.js +3 -1
  214. package/legacy/internal/svg-icons/Pen.js +3 -1
  215. package/legacy/internal/svg-icons/Time.js +4 -3
  216. package/modern/AdapterDateFns/AdapterDateFns.js +4 -4
  217. package/modern/AdapterDayjs/AdapterDayjs.js +4 -4
  218. package/modern/AdapterLuxon/AdapterLuxon.js +4 -4
  219. package/modern/AdapterMoment/AdapterMoment.js +4 -4
  220. package/modern/Alert/Alert.js +3 -2
  221. package/modern/AlertTitle/AlertTitle.js +3 -2
  222. package/modern/Autocomplete/Autocomplete.js +3 -2
  223. package/modern/AvatarGroup/AvatarGroup.js +3 -2
  224. package/modern/CalendarPicker/CalendarPicker.js +3 -2
  225. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +3 -2
  226. package/modern/ClockPicker/ClockPicker.js +3 -2
  227. package/modern/DatePicker/DatePicker.js +2 -2
  228. package/modern/DateRangePicker/DateRangePicker.js +1 -2
  229. package/modern/DateRangePickerDay/DateRangePickerDay.js +1 -2
  230. package/modern/DateTimePicker/DateTimePicker.js +3 -2
  231. package/modern/DesktopDatePicker/DesktopDatePicker.js +3 -2
  232. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -2
  233. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +3 -2
  234. package/modern/DesktopTimePicker/DesktopTimePicker.js +3 -2
  235. package/modern/LoadingButton/LoadingButton.js +27 -44
  236. package/modern/LoadingButton/loadingButtonClasses.js +2 -1
  237. package/modern/LocalizationProvider/LocalizationProvider.js +3 -2
  238. package/modern/Masonry/Masonry.js +75 -89
  239. package/modern/Masonry/masonryClasses.js +2 -1
  240. package/modern/MobileDatePicker/MobileDatePicker.js +3 -2
  241. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +1 -2
  242. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +3 -2
  243. package/modern/MobileTimePicker/MobileTimePicker.js +3 -2
  244. package/modern/MonthPicker/MonthPicker.js +3 -2
  245. package/modern/Pagination/Pagination.js +3 -2
  246. package/modern/Pagination/usePagination.js +2 -0
  247. package/modern/PaginationItem/PaginationItem.js +3 -2
  248. package/modern/PickersDay/PickersDay.js +3 -2
  249. package/modern/Rating/Rating.js +3 -2
  250. package/modern/Skeleton/Skeleton.js +3 -2
  251. package/modern/SpeedDial/SpeedDial.js +3 -2
  252. package/modern/SpeedDialAction/SpeedDialAction.js +3 -2
  253. package/modern/SpeedDialIcon/SpeedDialIcon.js +3 -2
  254. package/modern/StaticDatePicker/StaticDatePicker.js +3 -2
  255. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +1 -2
  256. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +3 -2
  257. package/modern/StaticTimePicker/StaticTimePicker.js +3 -2
  258. package/modern/TabContext/TabContext.js +10 -19
  259. package/modern/TabList/TabList.js +10 -15
  260. package/modern/TabPanel/TabPanel.js +12 -24
  261. package/modern/TabPanel/tabPanelClasses.js +2 -1
  262. package/modern/TimePicker/TimePicker.js +3 -2
  263. package/modern/Timeline/Timeline.js +23 -31
  264. package/modern/Timeline/Timeline.types.js +1 -0
  265. package/modern/Timeline/TimelineContext.js +1 -3
  266. package/modern/Timeline/index.js +1 -0
  267. package/modern/Timeline/timelineClasses.js +3 -2
  268. package/modern/TimelineConnector/TimelineConnector.js +10 -18
  269. package/modern/TimelineConnector/timelineConnectorClasses.js +2 -1
  270. package/modern/TimelineContent/TimelineContent.js +13 -23
  271. package/modern/TimelineContent/timelineContentClasses.js +3 -2
  272. package/modern/TimelineDot/TimelineDot.js +14 -29
  273. package/modern/TimelineDot/timelineDotClasses.js +2 -1
  274. package/modern/TimelineItem/TimelineItem.js +23 -32
  275. package/modern/TimelineItem/timelineItemClasses.js +3 -2
  276. package/modern/TimelineOppositeContent/TimelineOppositeContent.js +13 -23
  277. package/modern/TimelineOppositeContent/timelineOppositeContentClasses.js +3 -2
  278. package/modern/TimelineSeparator/TimelineSeparator.js +10 -18
  279. package/modern/TimelineSeparator/timelineSeparatorClasses.js +2 -1
  280. package/modern/ToggleButton/ToggleButton.js +3 -2
  281. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +3 -2
  282. package/modern/TreeItem/TreeItem.js +15 -419
  283. package/modern/TreeItem/index.js +1 -3
  284. package/modern/TreeView/TreeView.js +16 -978
  285. package/modern/TreeView/index.js +1 -2
  286. package/modern/YearPicker/YearPicker.js +3 -3
  287. package/modern/index.js +5 -2
  288. package/modern/internal/convertTimelinePositionToClass.js +4 -0
  289. package/modern/internal/svg-icons/ArrowDropDown.js +3 -1
  290. package/modern/internal/svg-icons/ArrowLeft.js +3 -1
  291. package/modern/internal/svg-icons/ArrowRight.js +3 -1
  292. package/modern/internal/svg-icons/Calendar.js +3 -1
  293. package/modern/internal/svg-icons/Clock.js +4 -3
  294. package/modern/internal/svg-icons/DateRange.js +3 -1
  295. package/modern/internal/svg-icons/Pen.js +3 -1
  296. package/modern/internal/svg-icons/Time.js +4 -3
  297. package/node/AdapterDateFns/AdapterDateFns.js +4 -5
  298. package/node/AdapterDateFns/index.js +0 -2
  299. package/node/AdapterDayjs/AdapterDayjs.js +4 -5
  300. package/node/AdapterDayjs/index.js +0 -2
  301. package/node/AdapterLuxon/AdapterLuxon.js +4 -5
  302. package/node/AdapterLuxon/index.js +0 -2
  303. package/node/AdapterMoment/AdapterMoment.js +4 -5
  304. package/node/AdapterMoment/index.js +0 -2
  305. package/node/Alert/Alert.js +6 -16
  306. package/node/Alert/index.js +0 -2
  307. package/node/AlertTitle/AlertTitle.js +6 -16
  308. package/node/AlertTitle/index.js +0 -2
  309. package/node/Autocomplete/Autocomplete.js +6 -16
  310. package/node/Autocomplete/index.js +0 -2
  311. package/node/AvatarGroup/AvatarGroup.js +6 -16
  312. package/node/AvatarGroup/index.js +0 -2
  313. package/node/CalendarPicker/CalendarPicker.js +7 -13
  314. package/node/CalendarPicker/index.js +2 -6
  315. package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +7 -15
  316. package/node/CalendarPickerSkeleton/index.js +2 -6
  317. package/node/ClockPicker/ClockPicker.js +7 -13
  318. package/node/ClockPicker/index.js +2 -6
  319. package/node/DatePicker/DatePicker.js +5 -11
  320. package/node/DatePicker/index.js +2 -6
  321. package/node/DateRangePicker/DateRangePicker.js +5 -10
  322. package/node/DateRangePicker/index.js +2 -6
  323. package/node/DateRangePickerDay/DateRangePickerDay.js +5 -12
  324. package/node/DateRangePickerDay/index.js +2 -6
  325. package/node/DateTimePicker/DateTimePicker.js +6 -11
  326. package/node/DateTimePicker/index.js +2 -6
  327. package/node/DesktopDatePicker/DesktopDatePicker.js +6 -11
  328. package/node/DesktopDatePicker/index.js +2 -6
  329. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -10
  330. package/node/DesktopDateRangePicker/index.js +2 -6
  331. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +6 -11
  332. package/node/DesktopDateTimePicker/index.js +2 -6
  333. package/node/DesktopTimePicker/DesktopTimePicker.js +6 -11
  334. package/node/DesktopTimePicker/index.js +2 -6
  335. package/node/LoadingButton/LoadingButton.js +28 -57
  336. package/node/LoadingButton/index.js +2 -8
  337. package/node/LoadingButton/loadingButtonClasses.js +6 -8
  338. package/node/LocalizationProvider/LocalizationProvider.js +5 -10
  339. package/node/LocalizationProvider/index.js +2 -6
  340. package/node/Masonry/Masonry.js +75 -105
  341. package/node/Masonry/index.js +2 -8
  342. package/node/Masonry/masonryClasses.js +6 -8
  343. package/node/MobileDatePicker/MobileDatePicker.js +6 -11
  344. package/node/MobileDatePicker/index.js +2 -6
  345. package/node/MobileDateRangePicker/MobileDateRangePicker.js +5 -10
  346. package/node/MobileDateRangePicker/index.js +2 -6
  347. package/node/MobileDateTimePicker/MobileDateTimePicker.js +6 -11
  348. package/node/MobileDateTimePicker/index.js +2 -6
  349. package/node/MobileTimePicker/MobileTimePicker.js +6 -11
  350. package/node/MobileTimePicker/index.js +2 -6
  351. package/node/MonthPicker/MonthPicker.js +7 -15
  352. package/node/MonthPicker/index.js +2 -6
  353. package/node/Pagination/Pagination.js +6 -16
  354. package/node/Pagination/index.js +0 -3
  355. package/node/Pagination/usePagination.js +1 -2
  356. package/node/PaginationItem/PaginationItem.js +6 -16
  357. package/node/PaginationItem/index.js +0 -2
  358. package/node/PickersDay/PickersDay.js +7 -15
  359. package/node/PickersDay/index.js +2 -6
  360. package/node/Rating/Rating.js +6 -16
  361. package/node/Rating/index.js +0 -2
  362. package/node/Skeleton/Skeleton.js +6 -16
  363. package/node/Skeleton/index.js +0 -2
  364. package/node/SpeedDial/SpeedDial.js +6 -16
  365. package/node/SpeedDial/index.js +0 -2
  366. package/node/SpeedDialAction/SpeedDialAction.js +6 -16
  367. package/node/SpeedDialAction/index.js +0 -2
  368. package/node/SpeedDialIcon/SpeedDialIcon.js +6 -16
  369. package/node/SpeedDialIcon/index.js +0 -2
  370. package/node/StaticDatePicker/StaticDatePicker.js +6 -11
  371. package/node/StaticDatePicker/index.js +2 -6
  372. package/node/StaticDateRangePicker/StaticDateRangePicker.js +5 -10
  373. package/node/StaticDateRangePicker/index.js +2 -6
  374. package/node/StaticDateTimePicker/StaticDateTimePicker.js +6 -11
  375. package/node/StaticDateTimePicker/index.js +2 -6
  376. package/node/StaticTimePicker/StaticTimePicker.js +6 -11
  377. package/node/StaticTimePicker/index.js +2 -6
  378. package/node/TabContext/TabContext.js +11 -32
  379. package/node/TabContext/index.js +2 -6
  380. package/node/TabList/TabList.js +12 -30
  381. package/node/TabList/index.js +0 -2
  382. package/node/TabPanel/TabPanel.js +14 -39
  383. package/node/TabPanel/index.js +2 -8
  384. package/node/TabPanel/tabPanelClasses.js +6 -8
  385. package/node/TimePicker/TimePicker.js +6 -11
  386. package/node/TimePicker/index.js +2 -6
  387. package/node/Timeline/Timeline.js +25 -47
  388. package/node/Timeline/Timeline.types.js +5 -0
  389. package/node/Timeline/TimelineContext.js +3 -10
  390. package/node/Timeline/index.js +14 -8
  391. package/node/Timeline/timelineClasses.js +6 -8
  392. package/node/TimelineConnector/TimelineConnector.js +12 -33
  393. package/node/TimelineConnector/index.js +2 -8
  394. package/node/TimelineConnector/timelineConnectorClasses.js +6 -8
  395. package/node/TimelineContent/TimelineContent.js +15 -39
  396. package/node/TimelineContent/index.js +2 -8
  397. package/node/TimelineContent/timelineContentClasses.js +6 -8
  398. package/node/TimelineDot/TimelineDot.js +16 -44
  399. package/node/TimelineDot/index.js +2 -8
  400. package/node/TimelineDot/timelineDotClasses.js +6 -8
  401. package/node/TimelineItem/TimelineItem.js +24 -48
  402. package/node/TimelineItem/index.js +2 -8
  403. package/node/TimelineItem/timelineItemClasses.js +6 -8
  404. package/node/TimelineOppositeContent/TimelineOppositeContent.js +15 -39
  405. package/node/TimelineOppositeContent/index.js +2 -8
  406. package/node/TimelineOppositeContent/timelineOppositeContentClasses.js +6 -8
  407. package/node/TimelineSeparator/TimelineSeparator.js +12 -33
  408. package/node/TimelineSeparator/index.js +2 -8
  409. package/node/TimelineSeparator/timelineSeparatorClasses.js +6 -8
  410. package/node/ToggleButton/ToggleButton.js +6 -16
  411. package/node/ToggleButton/index.js +0 -2
  412. package/node/ToggleButtonGroup/ToggleButtonGroup.js +6 -16
  413. package/node/ToggleButtonGroup/index.js +0 -2
  414. package/node/TreeItem/TreeItem.js +17 -438
  415. package/node/TreeItem/index.js +7 -32
  416. package/node/TreeView/TreeView.js +18 -993
  417. package/node/TreeView/index.js +7 -23
  418. package/node/YearPicker/YearPicker.js +5 -11
  419. package/node/YearPicker/index.js +2 -6
  420. package/node/index.js +5 -109
  421. package/node/internal/convertTimelinePositionToClass.js +10 -0
  422. package/node/internal/svg-icons/ArrowDropDown.js +5 -12
  423. package/node/internal/svg-icons/ArrowLeft.js +5 -12
  424. package/node/internal/svg-icons/ArrowRight.js +5 -12
  425. package/node/internal/svg-icons/Calendar.js +5 -12
  426. package/node/internal/svg-icons/Clock.js +5 -12
  427. package/node/internal/svg-icons/DateRange.js +5 -12
  428. package/node/internal/svg-icons/Pen.js +5 -12
  429. package/node/internal/svg-icons/Time.js +5 -12
  430. package/node/useAutocomplete/index.js +0 -1
  431. package/package.json +15 -14
  432. package/themeAugmentation/components.d.ts +5 -10
  433. package/themeAugmentation/overrides.d.ts +2 -4
  434. package/themeAugmentation/props.d.ts +2 -4
  435. package/TreeItem/TreeItemContent.d.ts +0 -50
  436. package/TreeItem/TreeItemContent.js +0 -128
  437. package/TreeItem/treeItemClasses.d.ts +0 -24
  438. package/TreeItem/treeItemClasses.js +0 -6
  439. package/TreeItem/useTreeItem.d.ts +0 -11
  440. package/TreeItem/useTreeItem.js +0 -74
  441. package/TreeView/TreeViewContext.js +0 -12
  442. package/TreeView/descendants.js +0 -198
  443. package/TreeView/treeViewClasses.d.ts +0 -8
  444. package/TreeView/treeViewClasses.js +0 -6
  445. package/legacy/TreeItem/TreeItemContent.js +0 -125
  446. package/legacy/TreeItem/treeItemClasses.js +0 -6
  447. package/legacy/TreeItem/useTreeItem.js +0 -74
  448. package/legacy/TreeView/TreeViewContext.js +0 -12
  449. package/legacy/TreeView/descendants.js +0 -211
  450. package/legacy/TreeView/treeViewClasses.js +0 -6
  451. package/modern/TreeItem/TreeItemContent.js +0 -128
  452. package/modern/TreeItem/treeItemClasses.js +0 -6
  453. package/modern/TreeItem/useTreeItem.js +0 -74
  454. package/modern/TreeView/TreeViewContext.js +0 -12
  455. package/modern/TreeView/descendants.js +0 -198
  456. package/modern/TreeView/treeViewClasses.js +0 -6
  457. package/node/TreeItem/TreeItemContent.js +0 -147
  458. package/node/TreeItem/treeItemClasses.js +0 -17
  459. package/node/TreeItem/useTreeItem.js +0 -89
  460. package/node/TreeView/TreeViewContext.js +0 -24
  461. package/node/TreeView/descendants.js +0 -217
  462. package/node/TreeView/treeViewClasses.js +0 -17
@@ -1,3 +1,2 @@
1
1
  export { default } from './TreeView';
2
- export { default as treeViewClasses } from './treeViewClasses';
3
- export * from './treeViewClasses';
2
+ export * from './TreeView';
@@ -1,21 +1,21 @@
1
+ 'use client';
2
+
1
3
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
4
  var warnedOnce = false;
3
-
4
5
  var warn = function warn() {
5
6
  if (!warnedOnce) {
6
7
  console.warn(['MUI: The YearPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { YearPicker } from '@mui/x-date-pickers'`", "or `import { YearPicker } from '@mui/x-date-pickers/YearPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
7
8
  warnedOnce = true;
8
9
  }
9
10
  };
10
-
11
11
  /**
12
+ * @deprecated The YearPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
12
13
  * @ignore - do not document.
13
14
  */
14
15
  var YearPicker = function DeprecatedYearPicker() {
15
16
  warn();
16
17
  return null;
17
18
  };
18
-
19
19
  export default YearPicker;
20
20
  export var yearPickerClasses = {};
21
21
  export var getYearPickerUtilityClass = function getYearPickerUtilityClass(slot) {
package/legacy/index.js CHANGED
@@ -1,5 +1,7 @@
1
- /** @license MUI v5.0.0-alpha.98
1
+ /**
2
+ * @mui/lab v6.0.0-alpha.0
2
3
  *
4
+ * @license MIT
3
5
  * This source code is licensed under the MIT license found in the
4
6
  * LICENSE file in the root directory of this source tree.
5
7
  */
@@ -103,8 +105,9 @@ export * from './TreeItem';
103
105
  export { default as TreeView } from './TreeView';
104
106
  export * from './TreeView';
105
107
  export { default as YearPicker } from './YearPicker';
106
- export * from './YearPicker'; // createFilterOptions is exported from Autocomplete
108
+ export * from './YearPicker';
107
109
 
110
+ // createFilterOptions is exported from Autocomplete
108
111
  export { default as useAutocomplete } from './useAutocomplete';
109
112
  export { default as Masonry } from './Masonry';
110
113
  export * from './Masonry';
@@ -0,0 +1,4 @@
1
+ import { capitalize } from '@mui/material/utils';
2
+ export default function convertTimelinePositionToClass(position) {
3
+ return position === 'alternate-reverse' ? 'positionAlternateReverse' : "position".concat(capitalize(position));
4
+ }
@@ -1,9 +1,11 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  import { createSvgIcon } from '@mui/material/utils';
5
+
3
6
  /**
4
7
  * @ignore - internal component.
5
8
  */
6
-
7
9
  import { jsx as _jsx } from "react/jsx-runtime";
8
10
  export default createSvgIcon( /*#__PURE__*/_jsx("path", {
9
11
  d: "M7 10l5 5 5-5z"
@@ -1,9 +1,11 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  import { createSvgIcon } from '@mui/material/utils';
5
+
3
6
  /**
4
7
  * @ignore - internal component.
5
8
  */
6
-
7
9
  import { jsx as _jsx } from "react/jsx-runtime";
8
10
  export default createSvgIcon( /*#__PURE__*/_jsx("path", {
9
11
  d: "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"
@@ -1,9 +1,11 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  import { createSvgIcon } from '@mui/material/utils';
5
+
3
6
  /**
4
7
  * @ignore - internal component.
5
8
  */
6
-
7
9
  import { jsx as _jsx } from "react/jsx-runtime";
8
10
  export default createSvgIcon( /*#__PURE__*/_jsx("path", {
9
11
  d: "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"
@@ -1,9 +1,11 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  import { createSvgIcon } from '@mui/material/utils';
5
+
3
6
  /**
4
7
  * @ignore - internal component.
5
8
  */
6
-
7
9
  import { jsx as _jsx } from "react/jsx-runtime";
8
10
  export default createSvgIcon( /*#__PURE__*/_jsx("path", {
9
11
  d: "M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"
@@ -1,11 +1,12 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  import { createSvgIcon } from '@mui/material/utils';
5
+
3
6
  /**
4
7
  * @ignore - internal component.
5
8
  */
6
-
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
10
  export default createSvgIcon( /*#__PURE__*/_jsxs(React.Fragment, {
10
11
  children: [/*#__PURE__*/_jsx("path", {
11
12
  d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
@@ -1,9 +1,11 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  import { createSvgIcon } from '@mui/material/utils';
5
+
3
6
  /**
4
7
  * @ignore - internal component.
5
8
  */
6
-
7
9
  import { jsx as _jsx } from "react/jsx-runtime";
8
10
  export default createSvgIcon( /*#__PURE__*/_jsx("path", {
9
11
  d: "M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"
@@ -1,9 +1,11 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  import { createSvgIcon } from '@mui/material/utils';
5
+
3
6
  /**
4
7
  * @ignore - internal component.
5
8
  */
6
-
7
9
  import { jsx as _jsx } from "react/jsx-runtime";
8
10
  export default createSvgIcon( /*#__PURE__*/_jsx("path", {
9
11
  d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
@@ -1,11 +1,12 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  import { createSvgIcon } from '@mui/material/utils';
5
+
3
6
  /**
4
7
  * @ignore - internal component.
5
8
  */
6
-
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
10
  export default createSvgIcon( /*#__PURE__*/_jsxs(React.Fragment, {
10
11
  children: [/*#__PURE__*/_jsx("path", {
11
12
  d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
@@ -1,16 +1,16 @@
1
1
  let warnedOnce = false;
2
-
3
2
  const warn = () => {
4
3
  if (!warnedOnce) {
5
4
  console.warn(['MUI: The AdapterDateFns class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
6
5
  warnedOnce = true;
7
6
  }
8
- }; // tslint:disable-next-line:no-unnecessary-class
9
-
7
+ };
10
8
 
9
+ /**
10
+ * @deprecated The AdapterDateFns class was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
11
+ */
11
12
  export default class AdapterDateFns {
12
13
  constructor() {
13
14
  warn();
14
15
  }
15
-
16
16
  }
@@ -1,16 +1,16 @@
1
1
  let warnedOnce = false;
2
-
3
2
  const warn = () => {
4
3
  if (!warnedOnce) {
5
4
  console.warn(['MUI: The AdapterDayjs class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
6
5
  warnedOnce = true;
7
6
  }
8
- }; // tslint:disable-next-line:no-unnecessary-class
9
-
7
+ };
10
8
 
9
+ /**
10
+ * @deprecated The AdapterDayjs class was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
11
+ */
11
12
  export default class AdapterDayjs {
12
13
  constructor() {
13
14
  warn();
14
15
  }
15
-
16
16
  }
@@ -1,16 +1,16 @@
1
1
  let warnedOnce = false;
2
-
3
2
  const warn = () => {
4
3
  if (!warnedOnce) {
5
4
  console.warn(['MUI: The AdapterLuxon class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterLuxon } from '@mui/x-date-pickers/AdapterLuxon'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
6
5
  warnedOnce = true;
7
6
  }
8
- }; // tslint:disable-next-line:no-unnecessary-class
9
-
7
+ };
10
8
 
9
+ /**
10
+ * @deprecated The AdapterLuxon class was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
11
+ */
11
12
  export default class AdapterLuxon {
12
13
  constructor() {
13
14
  warn();
14
15
  }
15
-
16
16
  }
@@ -1,16 +1,16 @@
1
1
  let warnedOnce = false;
2
-
3
2
  const warn = () => {
4
3
  if (!warnedOnce) {
5
4
  console.warn(['MUI: The AdapterMoment class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
6
5
  warnedOnce = true;
7
6
  }
8
- }; // tslint:disable-next-line:no-unnecessary-class
9
-
7
+ };
10
8
 
9
+ /**
10
+ * @deprecated The AdapterMoment class was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
11
+ */
11
12
  export default class AdapterMoment {
12
13
  constructor() {
13
14
  warn();
14
15
  }
15
-
16
16
  }
@@ -1,18 +1,19 @@
1
+ 'use client';
2
+
1
3
  import _extends from "@babel/runtime/helpers/esm/extends";
2
4
  import * as React from 'react';
3
5
  import Alert from '@mui/material/Alert';
4
6
  import { jsx as _jsx } from "react/jsx-runtime";
5
7
  let warnedOnce = false;
8
+
6
9
  /**
7
10
  * @ignore - do not document.
8
11
  */
9
-
10
12
  export default /*#__PURE__*/React.forwardRef(function DeprecatedAlert(props, ref) {
11
13
  if (!warnedOnce) {
12
14
  console.warn(['MUI: The Alert component was moved from the lab to the core.', '', "You should use `import { Alert } from '@mui/material'`", "or `import Alert from '@mui/material/Alert'`"].join('\n'));
13
15
  warnedOnce = true;
14
16
  }
15
-
16
17
  return /*#__PURE__*/_jsx(Alert, _extends({
17
18
  ref: ref
18
19
  }, props));
@@ -1,18 +1,19 @@
1
+ 'use client';
2
+
1
3
  import _extends from "@babel/runtime/helpers/esm/extends";
2
4
  import * as React from 'react';
3
5
  import AlertTitle from '@mui/material/AlertTitle';
4
6
  import { jsx as _jsx } from "react/jsx-runtime";
5
7
  let warnedOnce = false;
8
+
6
9
  /**
7
10
  * @ignore - do not document.
8
11
  */
9
-
10
12
  export default /*#__PURE__*/React.forwardRef(function DeprecatedAlertTitle(props, ref) {
11
13
  if (!warnedOnce) {
12
14
  console.warn(['MUI: The AlertTitle component was moved from the lab to the core.', '', "You should use `import { AlertTitle } from '@mui/material'`", "or `import AlertTitle from '@mui/material/AlertTitle'`"].join('\n'));
13
15
  warnedOnce = true;
14
16
  }
15
-
16
17
  return /*#__PURE__*/_jsx(AlertTitle, _extends({
17
18
  ref: ref
18
19
  }, props));
@@ -1,18 +1,19 @@
1
+ 'use client';
2
+
1
3
  import _extends from "@babel/runtime/helpers/esm/extends";
2
4
  import * as React from 'react';
3
5
  import Autocomplete from '@mui/material/Autocomplete';
4
6
  import { jsx as _jsx } from "react/jsx-runtime";
5
7
  let warnedOnce = false;
8
+
6
9
  /**
7
10
  * @ignore - do not document.
8
11
  */
9
-
10
12
  export default /*#__PURE__*/React.forwardRef(function DeprecatedAutocomplete(props, ref) {
11
13
  if (!warnedOnce) {
12
14
  console.warn(['MUI: The Autocomplete component was moved from the lab to the core.', '', "You should use `import { Autocomplete } from '@mui/material'`", "or `import Autocomplete from '@mui/material/Autocomplete'`"].join('\n'));
13
15
  warnedOnce = true;
14
16
  }
15
-
16
17
  return /*#__PURE__*/_jsx(Autocomplete, _extends({
17
18
  ref: ref
18
19
  }, props));
@@ -1,18 +1,19 @@
1
+ 'use client';
2
+
1
3
  import _extends from "@babel/runtime/helpers/esm/extends";
2
4
  import * as React from 'react';
3
5
  import AvatarGroup from '@mui/material/AvatarGroup';
4
6
  import { jsx as _jsx } from "react/jsx-runtime";
5
7
  let warnedOnce = false;
8
+
6
9
  /**
7
10
  * @ignore - do not document.
8
11
  */
9
-
10
12
  export default /*#__PURE__*/React.forwardRef(function DeprecatedAvatarGroup(props, ref) {
11
13
  if (!warnedOnce) {
12
14
  console.warn(['MUI: The AvatarGroup component was moved from the lab to the core.', '', "You should use `import { AvatarGroup } from '@mui/material'`", "or `import AvatarGroup from '@mui/material/AvatarGroup'`"].join('\n'));
13
15
  warnedOnce = true;
14
16
  }
15
-
16
17
  return /*#__PURE__*/_jsx(AvatarGroup, _extends({
17
18
  ref: ref
18
19
  }, props));
@@ -1,15 +1,16 @@
1
+ 'use client';
2
+
1
3
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
4
  import * as React from 'react';
3
5
  let warnedOnce = false;
4
-
5
6
  const warn = () => {
6
7
  if (!warnedOnce) {
7
8
  console.warn(['MUI: The CalendarPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { CalendarPicker } from '@mui/x-date-pickers'`", "or `import { CalendarPicker } from '@mui/x-date-pickers/CalendarPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
9
  warnedOnce = true;
9
10
  }
10
11
  };
11
-
12
12
  /**
13
+ * @deprecated The CalendarPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
14
  * @ignore - do not document.
14
15
  */
15
16
  const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker() {
@@ -1,15 +1,16 @@
1
+ 'use client';
2
+
1
3
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
4
  import * as React from 'react';
3
5
  let warnedOnce = false;
4
-
5
6
  const warn = () => {
6
7
  if (!warnedOnce) {
7
8
  console.warn(['MUI: The CalendarPickerSkeleton component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { CalendarPickerSkeleton } from '@mui/x-date-pickers'`", "or `import { CalendarPickerSkeleton } from '@mui/x-date-pickers/CalendarPickerSkeleton'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
9
  warnedOnce = true;
9
10
  }
10
11
  };
11
-
12
12
  /**
13
+ * @deprecated The CalendarPickerSkeleton component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
14
  * @ignore - do not document.
14
15
  */
15
16
  const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton() {
@@ -1,15 +1,16 @@
1
+ 'use client';
2
+
1
3
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
4
  import * as React from 'react';
3
5
  let warnedOnce = false;
4
-
5
6
  const warn = () => {
6
7
  if (!warnedOnce) {
7
8
  console.warn(['MUI: The ClockPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { ClockPicker } from '@mui/x-date-pickers'`", "or `import { ClockPicker } from '@mui/x-date-pickers/ClockPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
9
  warnedOnce = true;
9
10
  }
10
11
  };
11
-
12
12
  /**
13
+ * @deprecated The ClockPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
14
  * @ignore - do not document.
14
15
  */
15
16
  const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker() {
@@ -1,14 +1,14 @@
1
+ 'use client';
2
+
1
3
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
4
  import * as React from 'react';
3
5
  let warnedOnce = false;
4
-
5
6
  const warn = () => {
6
7
  if (!warnedOnce) {
7
8
  console.warn(['MUI: The DatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { DatePicker } from '@mui/x-date-pickers'`", "or `import { DatePicker } from '@mui/x-date-pickers/DatePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
9
  warnedOnce = true;
9
10
  }
10
11
  };
11
-
12
12
  /**
13
13
  * @ignore - do not document.
14
14
  */
@@ -1,15 +1,14 @@
1
1
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
2
  import * as React from 'react';
3
3
  let warnedOnce = false;
4
-
5
4
  const warn = () => {
6
5
  if (!warnedOnce) {
7
6
  console.warn(['MUI: The DateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { DateRangePicker } from '@mui/x-date-pickers-pro/DateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
7
  warnedOnce = true;
9
8
  }
10
9
  };
11
-
12
10
  /**
11
+ * @deprecated The DateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
12
  * @ignore - do not document.
14
13
  */
15
14
  const DateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDateRangePicker() {
@@ -1,15 +1,14 @@
1
1
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
2
  import * as React from 'react';
3
3
  let warnedOnce = false;
4
-
5
4
  const warn = () => {
6
5
  if (!warnedOnce) {
7
6
  console.warn(['MUI: The DateRangePickerDay component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DateRangePickerDay } from '@mui/x-date-pickers-pro'`", "or `import { DateRangePickerDay } from '@mui/x-date-pickers-pro/DateRangePickerDay'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
7
  warnedOnce = true;
9
8
  }
10
9
  };
11
-
12
10
  /**
11
+ * @deprecated The DateRangePickerDay component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
12
  * @ignore - do not document.
14
13
  */
15
14
  const DateRangePickerDay = /*#__PURE__*/React.forwardRef(function DeprecatedDateRangePickerDay() {
@@ -1,15 +1,16 @@
1
+ 'use client';
2
+
1
3
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
4
  import * as React from 'react';
3
5
  let warnedOnce = false;
4
-
5
6
  const warn = () => {
6
7
  if (!warnedOnce) {
7
8
  console.warn(['MUI: The DateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { DateTimePicker } from '@mui/x-date-pickers'`", "or `import { DateTimePicker } from '@mui/x-date-pickers/DateTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
9
  warnedOnce = true;
9
10
  }
10
11
  };
11
-
12
12
  /**
13
+ * @deprecated The DateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
14
  * @ignore - do not document.
14
15
  */
15
16
  const DateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDateTimePicker() {
@@ -1,15 +1,16 @@
1
+ 'use client';
2
+
1
3
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
4
  import * as React from 'react';
3
5
  let warnedOnce = false;
4
-
5
6
  const warn = () => {
6
7
  if (!warnedOnce) {
7
8
  console.warn(['MUI: The DesktopDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { DesktopDatePicker } from '@mui/x-date-pickers'`", "or `import { DesktopDatePicker } from '@mui/x-date-pickers/DesktopDatePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
9
  warnedOnce = true;
9
10
  }
10
11
  };
11
-
12
12
  /**
13
+ * @deprecated The DesktopDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
14
  * @ignore - do not document.
14
15
  */
15
16
  const DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDatePicker() {
@@ -1,15 +1,14 @@
1
1
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
2
  import * as React from 'react';
3
3
  let warnedOnce = false;
4
-
5
4
  const warn = () => {
6
5
  if (!warnedOnce) {
7
6
  console.warn(['MUI: The DesktopDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DesktopDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { DesktopDateRangePicker } from '@mui/x-date-pickers-pro/DesktopDateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
7
  warnedOnce = true;
9
8
  }
10
9
  };
11
-
12
10
  /**
11
+ * @deprecated The DesktopDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
12
  * @ignore - do not document.
14
13
  */
15
14
  const DesktopDateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDateRangePicker() {
@@ -1,15 +1,16 @@
1
+ 'use client';
2
+
1
3
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
4
  import * as React from 'react';
3
5
  let warnedOnce = false;
4
-
5
6
  const warn = () => {
6
7
  if (!warnedOnce) {
7
8
  console.warn(['MUI: The DesktopDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { DesktopDateTimePicker } from '@mui/x-date-pickers'`", "or `import { DesktopDateTimePicker } from '@mui/x-date-pickers/DesktopDateTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
9
  warnedOnce = true;
9
10
  }
10
11
  };
11
-
12
12
  /**
13
+ * @deprecated The DesktopDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
14
  * @ignore - do not document.
14
15
  */
15
16
  const DesktopDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDateTimePicker() {
@@ -1,15 +1,16 @@
1
+ 'use client';
2
+
1
3
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
4
  import * as React from 'react';
3
5
  let warnedOnce = false;
4
-
5
6
  const warn = () => {
6
7
  if (!warnedOnce) {
7
8
  console.warn(['MUI: The DesktopTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { DesktopTimePicker } from '@mui/x-date-pickers'`", "or `import { DesktopTimePicker } from '@mui/x-date-pickers/DesktopTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
9
  warnedOnce = true;
9
10
  }
10
11
  };
11
-
12
12
  /**
13
+ * @deprecated The DesktopTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
14
  * @ignore - do not document.
14
15
  */
15
16
  const DesktopTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopTimePicker() {