@mui/lab 5.0.0-alpha.100

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 (757) hide show
  1. package/AdapterDateFns/AdapterDateFns.d.ts +3 -0
  2. package/AdapterDateFns/AdapterDateFns.js +16 -0
  3. package/AdapterDateFns/index.d.ts +1 -0
  4. package/AdapterDateFns/index.js +1 -0
  5. package/AdapterDateFns/package.json +6 -0
  6. package/AdapterDayjs/AdapterDayjs.d.ts +3 -0
  7. package/AdapterDayjs/AdapterDayjs.js +16 -0
  8. package/AdapterDayjs/index.d.ts +1 -0
  9. package/AdapterDayjs/index.js +1 -0
  10. package/AdapterDayjs/package.json +6 -0
  11. package/AdapterLuxon/AdapterLuxon.d.ts +3 -0
  12. package/AdapterLuxon/AdapterLuxon.js +16 -0
  13. package/AdapterLuxon/index.d.ts +1 -0
  14. package/AdapterLuxon/index.js +1 -0
  15. package/AdapterLuxon/package.json +6 -0
  16. package/AdapterMoment/AdapterMoment.d.ts +3 -0
  17. package/AdapterMoment/AdapterMoment.js +16 -0
  18. package/AdapterMoment/index.d.ts +1 -0
  19. package/AdapterMoment/index.js +1 -0
  20. package/AdapterMoment/package.json +6 -0
  21. package/Alert/Alert.d.ts +2 -0
  22. package/Alert/Alert.js +19 -0
  23. package/Alert/index.d.ts +2 -0
  24. package/Alert/index.js +1 -0
  25. package/Alert/package.json +6 -0
  26. package/AlertTitle/AlertTitle.d.ts +2 -0
  27. package/AlertTitle/AlertTitle.js +19 -0
  28. package/AlertTitle/index.d.ts +2 -0
  29. package/AlertTitle/index.js +1 -0
  30. package/AlertTitle/package.json +6 -0
  31. package/Autocomplete/Autocomplete.d.ts +1 -0
  32. package/Autocomplete/Autocomplete.js +19 -0
  33. package/Autocomplete/index.d.ts +2 -0
  34. package/Autocomplete/index.js +1 -0
  35. package/Autocomplete/package.json +6 -0
  36. package/AvatarGroup/AvatarGroup.d.ts +2 -0
  37. package/AvatarGroup/AvatarGroup.js +19 -0
  38. package/AvatarGroup/index.d.ts +2 -0
  39. package/AvatarGroup/index.js +1 -0
  40. package/AvatarGroup/package.json +6 -0
  41. package/CHANGELOG.md +9458 -0
  42. package/CalendarPicker/CalendarPicker.d.ts +14 -0
  43. package/CalendarPicker/CalendarPicker.js +20 -0
  44. package/CalendarPicker/index.d.ts +2 -0
  45. package/CalendarPicker/index.js +2 -0
  46. package/CalendarPicker/package.json +6 -0
  47. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +13 -0
  48. package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +24 -0
  49. package/CalendarPickerSkeleton/index.d.ts +2 -0
  50. package/CalendarPickerSkeleton/index.js +2 -0
  51. package/CalendarPickerSkeleton/package.json +6 -0
  52. package/ClockPicker/ClockPicker.d.ts +14 -0
  53. package/ClockPicker/ClockPicker.js +20 -0
  54. package/ClockPicker/index.d.ts +2 -0
  55. package/ClockPicker/index.js +2 -0
  56. package/ClockPicker/package.json +6 -0
  57. package/DatePicker/DatePicker.d.ts +10 -0
  58. package/DatePicker/DatePicker.js +19 -0
  59. package/DatePicker/index.d.ts +2 -0
  60. package/DatePicker/index.js +2 -0
  61. package/DatePicker/package.json +6 -0
  62. package/DateRangePicker/DateRangePicker.d.ts +11 -0
  63. package/DateRangePicker/DateRangePicker.js +19 -0
  64. package/DateRangePicker/index.d.ts +2 -0
  65. package/DateRangePicker/index.js +2 -0
  66. package/DateRangePicker/package.json +6 -0
  67. package/DateRangePickerDay/DateRangePickerDay.d.ts +13 -0
  68. package/DateRangePickerDay/DateRangePickerDay.js +23 -0
  69. package/DateRangePickerDay/index.d.ts +2 -0
  70. package/DateRangePickerDay/index.js +2 -0
  71. package/DateRangePickerDay/package.json +6 -0
  72. package/DateTimePicker/DateTimePicker.d.ts +10 -0
  73. package/DateTimePicker/DateTimePicker.js +19 -0
  74. package/DateTimePicker/index.d.ts +2 -0
  75. package/DateTimePicker/index.js +2 -0
  76. package/DateTimePicker/package.json +6 -0
  77. package/DesktopDatePicker/DesktopDatePicker.d.ts +10 -0
  78. package/DesktopDatePicker/DesktopDatePicker.js +19 -0
  79. package/DesktopDatePicker/index.d.ts +2 -0
  80. package/DesktopDatePicker/index.js +2 -0
  81. package/DesktopDatePicker/package.json +6 -0
  82. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +10 -0
  83. package/DesktopDateRangePicker/DesktopDateRangePicker.js +19 -0
  84. package/DesktopDateRangePicker/index.d.ts +2 -0
  85. package/DesktopDateRangePicker/index.js +2 -0
  86. package/DesktopDateRangePicker/package.json +6 -0
  87. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +10 -0
  88. package/DesktopDateTimePicker/DesktopDateTimePicker.js +19 -0
  89. package/DesktopDateTimePicker/index.d.ts +2 -0
  90. package/DesktopDateTimePicker/index.js +2 -0
  91. package/DesktopDateTimePicker/package.json +6 -0
  92. package/DesktopTimePicker/DesktopTimePicker.d.ts +10 -0
  93. package/DesktopTimePicker/DesktopTimePicker.js +19 -0
  94. package/DesktopTimePicker/index.d.ts +2 -0
  95. package/DesktopTimePicker/index.js +2 -0
  96. package/DesktopTimePicker/package.json +6 -0
  97. package/LICENSE +21 -0
  98. package/LoadingButton/LoadingButton.d.ts +75 -0
  99. package/LoadingButton/LoadingButton.js +236 -0
  100. package/LoadingButton/index.d.ts +5 -0
  101. package/LoadingButton/index.js +3 -0
  102. package/LoadingButton/loadingButtonClasses.d.ts +22 -0
  103. package/LoadingButton/loadingButtonClasses.js +6 -0
  104. package/LoadingButton/package.json +6 -0
  105. package/LocalizationProvider/LocalizationProvider.d.ts +10 -0
  106. package/LocalizationProvider/LocalizationProvider.js +18 -0
  107. package/LocalizationProvider/index.d.ts +2 -0
  108. package/LocalizationProvider/index.js +2 -0
  109. package/LocalizationProvider/package.json +6 -0
  110. package/Masonry/Masonry.d.ts +62 -0
  111. package/Masonry/Masonry.js +347 -0
  112. package/Masonry/index.d.ts +5 -0
  113. package/Masonry/index.js +3 -0
  114. package/Masonry/masonryClasses.d.ts +8 -0
  115. package/Masonry/masonryClasses.js +6 -0
  116. package/Masonry/package.json +6 -0
  117. package/MobileDatePicker/MobileDatePicker.d.ts +10 -0
  118. package/MobileDatePicker/MobileDatePicker.js +19 -0
  119. package/MobileDatePicker/index.d.ts +2 -0
  120. package/MobileDatePicker/index.js +2 -0
  121. package/MobileDatePicker/package.json +6 -0
  122. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +10 -0
  123. package/MobileDateRangePicker/MobileDateRangePicker.js +19 -0
  124. package/MobileDateRangePicker/index.d.ts +2 -0
  125. package/MobileDateRangePicker/index.js +2 -0
  126. package/MobileDateRangePicker/package.json +6 -0
  127. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +10 -0
  128. package/MobileDateTimePicker/MobileDateTimePicker.js +19 -0
  129. package/MobileDateTimePicker/index.d.ts +2 -0
  130. package/MobileDateTimePicker/index.js +2 -0
  131. package/MobileDateTimePicker/package.json +6 -0
  132. package/MobileTimePicker/MobileTimePicker.d.ts +10 -0
  133. package/MobileTimePicker/MobileTimePicker.js +19 -0
  134. package/MobileTimePicker/index.d.ts +2 -0
  135. package/MobileTimePicker/index.js +2 -0
  136. package/MobileTimePicker/package.json +6 -0
  137. package/MonthPicker/MonthPicker.d.ts +13 -0
  138. package/MonthPicker/MonthPicker.js +24 -0
  139. package/MonthPicker/index.d.ts +2 -0
  140. package/MonthPicker/index.js +2 -0
  141. package/MonthPicker/package.json +6 -0
  142. package/Pagination/Pagination.d.ts +2 -0
  143. package/Pagination/Pagination.js +19 -0
  144. package/Pagination/index.d.ts +4 -0
  145. package/Pagination/index.js +2 -0
  146. package/Pagination/package.json +6 -0
  147. package/Pagination/usePagination.d.ts +2 -0
  148. package/Pagination/usePagination.js +1 -0
  149. package/PaginationItem/PaginationItem.d.ts +2 -0
  150. package/PaginationItem/PaginationItem.js +19 -0
  151. package/PaginationItem/index.d.ts +2 -0
  152. package/PaginationItem/index.js +1 -0
  153. package/PaginationItem/package.json +6 -0
  154. package/PickersDay/PickersDay.d.ts +13 -0
  155. package/PickersDay/PickersDay.js +24 -0
  156. package/PickersDay/index.d.ts +2 -0
  157. package/PickersDay/index.js +2 -0
  158. package/PickersDay/package.json +6 -0
  159. package/README.md +36 -0
  160. package/Rating/Rating.d.ts +2 -0
  161. package/Rating/Rating.js +19 -0
  162. package/Rating/index.d.ts +2 -0
  163. package/Rating/index.js +1 -0
  164. package/Rating/package.json +6 -0
  165. package/Skeleton/Skeleton.d.ts +2 -0
  166. package/Skeleton/Skeleton.js +19 -0
  167. package/Skeleton/index.d.ts +2 -0
  168. package/Skeleton/index.js +1 -0
  169. package/Skeleton/package.json +6 -0
  170. package/SpeedDial/SpeedDial.d.ts +2 -0
  171. package/SpeedDial/SpeedDial.js +19 -0
  172. package/SpeedDial/index.d.ts +2 -0
  173. package/SpeedDial/index.js +1 -0
  174. package/SpeedDial/package.json +6 -0
  175. package/SpeedDialAction/SpeedDialAction.d.ts +2 -0
  176. package/SpeedDialAction/SpeedDialAction.js +19 -0
  177. package/SpeedDialAction/index.d.ts +2 -0
  178. package/SpeedDialAction/index.js +1 -0
  179. package/SpeedDialAction/package.json +6 -0
  180. package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -0
  181. package/SpeedDialIcon/SpeedDialIcon.js +19 -0
  182. package/SpeedDialIcon/index.d.ts +2 -0
  183. package/SpeedDialIcon/index.js +1 -0
  184. package/SpeedDialIcon/package.json +6 -0
  185. package/StaticDatePicker/StaticDatePicker.d.ts +10 -0
  186. package/StaticDatePicker/StaticDatePicker.js +19 -0
  187. package/StaticDatePicker/index.d.ts +2 -0
  188. package/StaticDatePicker/index.js +2 -0
  189. package/StaticDatePicker/package.json +6 -0
  190. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +10 -0
  191. package/StaticDateRangePicker/StaticDateRangePicker.js +19 -0
  192. package/StaticDateRangePicker/index.d.ts +2 -0
  193. package/StaticDateRangePicker/index.js +2 -0
  194. package/StaticDateRangePicker/package.json +6 -0
  195. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +10 -0
  196. package/StaticDateTimePicker/StaticDateTimePicker.js +19 -0
  197. package/StaticDateTimePicker/index.d.ts +2 -0
  198. package/StaticDateTimePicker/index.js +2 -0
  199. package/StaticDateTimePicker/package.json +6 -0
  200. package/StaticTimePicker/StaticTimePicker.d.ts +10 -0
  201. package/StaticTimePicker/StaticTimePicker.js +19 -0
  202. package/StaticTimePicker/index.d.ts +2 -0
  203. package/StaticTimePicker/index.js +2 -0
  204. package/StaticTimePicker/package.json +6 -0
  205. package/TabContext/TabContext.d.ts +31 -0
  206. package/TabContext/TabContext.js +85 -0
  207. package/TabContext/index.d.ts +2 -0
  208. package/TabContext/index.js +2 -0
  209. package/TabContext/package.json +6 -0
  210. package/TabList/TabList.d.ts +39 -0
  211. package/TabList/TabList.js +51 -0
  212. package/TabList/index.d.ts +2 -0
  213. package/TabList/index.js +1 -0
  214. package/TabList/package.json +6 -0
  215. package/TabPanel/TabPanel.d.ts +37 -0
  216. package/TabPanel/TabPanel.js +102 -0
  217. package/TabPanel/index.d.ts +5 -0
  218. package/TabPanel/index.js +3 -0
  219. package/TabPanel/package.json +6 -0
  220. package/TabPanel/tabPanelClasses.d.ts +8 -0
  221. package/TabPanel/tabPanelClasses.js +6 -0
  222. package/TimePicker/TimePicker.d.ts +10 -0
  223. package/TimePicker/TimePicker.js +19 -0
  224. package/TimePicker/index.d.ts +2 -0
  225. package/TimePicker/index.js +2 -0
  226. package/TimePicker/package.json +6 -0
  227. package/Timeline/Timeline.d.ts +59 -0
  228. package/Timeline/Timeline.js +125 -0
  229. package/Timeline/TimelineContext.d.ts +6 -0
  230. package/Timeline/TimelineContext.js +12 -0
  231. package/Timeline/index.d.ts +5 -0
  232. package/Timeline/index.js +3 -0
  233. package/Timeline/package.json +6 -0
  234. package/Timeline/timelineClasses.d.ts +3 -0
  235. package/Timeline/timelineClasses.js +6 -0
  236. package/TimelineConnector/TimelineConnector.d.ts +33 -0
  237. package/TimelineConnector/TimelineConnector.js +82 -0
  238. package/TimelineConnector/index.d.ts +5 -0
  239. package/TimelineConnector/index.js +3 -0
  240. package/TimelineConnector/package.json +6 -0
  241. package/TimelineConnector/timelineConnectorClasses.d.ts +8 -0
  242. package/TimelineConnector/timelineConnectorClasses.js +6 -0
  243. package/TimelineContent/TimelineContent.d.ts +33 -0
  244. package/TimelineContent/TimelineContent.js +99 -0
  245. package/TimelineContent/index.d.ts +5 -0
  246. package/TimelineContent/index.js +3 -0
  247. package/TimelineContent/package.json +6 -0
  248. package/TimelineContent/timelineContentClasses.d.ts +14 -0
  249. package/TimelineContent/timelineContentClasses.js +6 -0
  250. package/TimelineDot/TimelineDot.d.ts +50 -0
  251. package/TimelineDot/TimelineDot.js +131 -0
  252. package/TimelineDot/index.d.ts +5 -0
  253. package/TimelineDot/index.js +3 -0
  254. package/TimelineDot/package.json +6 -0
  255. package/TimelineDot/timelineDotClasses.d.ts +24 -0
  256. package/TimelineDot/timelineDotClasses.js +6 -0
  257. package/TimelineItem/TimelineItem.d.ts +36 -0
  258. package/TimelineItem/TimelineItem.js +135 -0
  259. package/TimelineItem/index.d.ts +5 -0
  260. package/TimelineItem/index.js +3 -0
  261. package/TimelineItem/package.json +6 -0
  262. package/TimelineItem/timelineItemClasses.d.ts +16 -0
  263. package/TimelineItem/timelineItemClasses.js +6 -0
  264. package/TimelineOppositeContent/TimelineOppositeContent.d.ts +37 -0
  265. package/TimelineOppositeContent/TimelineOppositeContent.js +101 -0
  266. package/TimelineOppositeContent/index.d.ts +5 -0
  267. package/TimelineOppositeContent/index.js +3 -0
  268. package/TimelineOppositeContent/package.json +6 -0
  269. package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -0
  270. package/TimelineOppositeContent/timelineOppositeContentClasses.js +6 -0
  271. package/TimelineSeparator/TimelineSeparator.d.ts +33 -0
  272. package/TimelineSeparator/TimelineSeparator.js +79 -0
  273. package/TimelineSeparator/index.d.ts +5 -0
  274. package/TimelineSeparator/index.js +3 -0
  275. package/TimelineSeparator/package.json +6 -0
  276. package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -0
  277. package/TimelineSeparator/timelineSeparatorClasses.js +6 -0
  278. package/ToggleButton/ToggleButton.d.ts +2 -0
  279. package/ToggleButton/ToggleButton.js +19 -0
  280. package/ToggleButton/index.d.ts +2 -0
  281. package/ToggleButton/index.js +1 -0
  282. package/ToggleButton/package.json +6 -0
  283. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -0
  284. package/ToggleButtonGroup/ToggleButtonGroup.js +19 -0
  285. package/ToggleButtonGroup/index.d.ts +2 -0
  286. package/ToggleButtonGroup/index.js +1 -0
  287. package/ToggleButtonGroup/package.json +6 -0
  288. package/TreeItem/TreeItem.d.ts +87 -0
  289. package/TreeItem/TreeItem.js +423 -0
  290. package/TreeItem/TreeItemContent.d.ts +50 -0
  291. package/TreeItem/TreeItemContent.js +128 -0
  292. package/TreeItem/index.d.ts +7 -0
  293. package/TreeItem/index.js +4 -0
  294. package/TreeItem/package.json +6 -0
  295. package/TreeItem/treeItemClasses.d.ts +24 -0
  296. package/TreeItem/treeItemClasses.js +6 -0
  297. package/TreeItem/useTreeItem.d.ts +11 -0
  298. package/TreeItem/useTreeItem.js +74 -0
  299. package/TreeView/TreeView.d.ts +144 -0
  300. package/TreeView/TreeView.js +982 -0
  301. package/TreeView/TreeViewContext.js +12 -0
  302. package/TreeView/descendants.js +198 -0
  303. package/TreeView/index.d.ts +5 -0
  304. package/TreeView/index.js +3 -0
  305. package/TreeView/package.json +6 -0
  306. package/TreeView/treeViewClasses.d.ts +8 -0
  307. package/TreeView/treeViewClasses.js +6 -0
  308. package/YearPicker/YearPicker.d.ts +14 -0
  309. package/YearPicker/YearPicker.js +24 -0
  310. package/YearPicker/index.d.ts +2 -0
  311. package/YearPicker/index.js +2 -0
  312. package/YearPicker/package.json +6 -0
  313. package/index.d.ts +155 -0
  314. package/index.js +110 -0
  315. package/internal/svg-icons/ArrowDropDown.d.ts +7 -0
  316. package/internal/svg-icons/ArrowDropDown.js +10 -0
  317. package/internal/svg-icons/ArrowLeft.d.ts +7 -0
  318. package/internal/svg-icons/ArrowLeft.js +10 -0
  319. package/internal/svg-icons/ArrowRight.d.ts +7 -0
  320. package/internal/svg-icons/ArrowRight.js +10 -0
  321. package/internal/svg-icons/Calendar.d.ts +7 -0
  322. package/internal/svg-icons/Calendar.js +10 -0
  323. package/internal/svg-icons/Clock.d.ts +7 -0
  324. package/internal/svg-icons/Clock.js +15 -0
  325. package/internal/svg-icons/DateRange.d.ts +7 -0
  326. package/internal/svg-icons/DateRange.js +10 -0
  327. package/internal/svg-icons/Pen.d.ts +7 -0
  328. package/internal/svg-icons/Pen.js +10 -0
  329. package/internal/svg-icons/Time.d.ts +7 -0
  330. package/internal/svg-icons/Time.js +15 -0
  331. package/legacy/AdapterDateFns/AdapterDateFns.js +19 -0
  332. package/legacy/AdapterDateFns/index.js +1 -0
  333. package/legacy/AdapterDayjs/AdapterDayjs.js +19 -0
  334. package/legacy/AdapterDayjs/index.js +1 -0
  335. package/legacy/AdapterLuxon/AdapterLuxon.js +19 -0
  336. package/legacy/AdapterLuxon/index.js +1 -0
  337. package/legacy/AdapterMoment/AdapterMoment.js +19 -0
  338. package/legacy/AdapterMoment/index.js +1 -0
  339. package/legacy/Alert/Alert.js +19 -0
  340. package/legacy/Alert/index.js +1 -0
  341. package/legacy/AlertTitle/AlertTitle.js +19 -0
  342. package/legacy/AlertTitle/index.js +1 -0
  343. package/legacy/Autocomplete/Autocomplete.js +19 -0
  344. package/legacy/Autocomplete/index.js +1 -0
  345. package/legacy/AvatarGroup/AvatarGroup.js +19 -0
  346. package/legacy/AvatarGroup/index.js +1 -0
  347. package/legacy/CalendarPicker/CalendarPicker.js +20 -0
  348. package/legacy/CalendarPicker/index.js +2 -0
  349. package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +24 -0
  350. package/legacy/CalendarPickerSkeleton/index.js +2 -0
  351. package/legacy/ClockPicker/ClockPicker.js +20 -0
  352. package/legacy/ClockPicker/index.js +2 -0
  353. package/legacy/DatePicker/DatePicker.js +19 -0
  354. package/legacy/DatePicker/index.js +2 -0
  355. package/legacy/DateRangePicker/DateRangePicker.js +19 -0
  356. package/legacy/DateRangePicker/index.js +2 -0
  357. package/legacy/DateRangePickerDay/DateRangePickerDay.js +23 -0
  358. package/legacy/DateRangePickerDay/index.js +2 -0
  359. package/legacy/DateTimePicker/DateTimePicker.js +19 -0
  360. package/legacy/DateTimePicker/index.js +2 -0
  361. package/legacy/DesktopDatePicker/DesktopDatePicker.js +19 -0
  362. package/legacy/DesktopDatePicker/index.js +2 -0
  363. package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +19 -0
  364. package/legacy/DesktopDateRangePicker/index.js +2 -0
  365. package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +19 -0
  366. package/legacy/DesktopDateTimePicker/index.js +2 -0
  367. package/legacy/DesktopTimePicker/DesktopTimePicker.js +19 -0
  368. package/legacy/DesktopTimePicker/index.js +2 -0
  369. package/legacy/LoadingButton/LoadingButton.js +229 -0
  370. package/legacy/LoadingButton/index.js +3 -0
  371. package/legacy/LoadingButton/loadingButtonClasses.js +6 -0
  372. package/legacy/LocalizationProvider/LocalizationProvider.js +18 -0
  373. package/legacy/LocalizationProvider/index.js +2 -0
  374. package/legacy/Masonry/Masonry.js +357 -0
  375. package/legacy/Masonry/index.js +3 -0
  376. package/legacy/Masonry/masonryClasses.js +6 -0
  377. package/legacy/MobileDatePicker/MobileDatePicker.js +19 -0
  378. package/legacy/MobileDatePicker/index.js +2 -0
  379. package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +19 -0
  380. package/legacy/MobileDateRangePicker/index.js +2 -0
  381. package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +19 -0
  382. package/legacy/MobileDateTimePicker/index.js +2 -0
  383. package/legacy/MobileTimePicker/MobileTimePicker.js +19 -0
  384. package/legacy/MobileTimePicker/index.js +2 -0
  385. package/legacy/MonthPicker/MonthPicker.js +24 -0
  386. package/legacy/MonthPicker/index.js +2 -0
  387. package/legacy/Pagination/Pagination.js +19 -0
  388. package/legacy/Pagination/index.js +2 -0
  389. package/legacy/Pagination/usePagination.js +1 -0
  390. package/legacy/PaginationItem/PaginationItem.js +19 -0
  391. package/legacy/PaginationItem/index.js +1 -0
  392. package/legacy/PickersDay/PickersDay.js +24 -0
  393. package/legacy/PickersDay/index.js +2 -0
  394. package/legacy/Rating/Rating.js +19 -0
  395. package/legacy/Rating/index.js +1 -0
  396. package/legacy/Skeleton/Skeleton.js +19 -0
  397. package/legacy/Skeleton/index.js +1 -0
  398. package/legacy/SpeedDial/SpeedDial.js +19 -0
  399. package/legacy/SpeedDial/index.js +1 -0
  400. package/legacy/SpeedDialAction/SpeedDialAction.js +19 -0
  401. package/legacy/SpeedDialAction/index.js +1 -0
  402. package/legacy/SpeedDialIcon/SpeedDialIcon.js +19 -0
  403. package/legacy/SpeedDialIcon/index.js +1 -0
  404. package/legacy/StaticDatePicker/StaticDatePicker.js +19 -0
  405. package/legacy/StaticDatePicker/index.js +2 -0
  406. package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +19 -0
  407. package/legacy/StaticDateRangePicker/index.js +2 -0
  408. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +19 -0
  409. package/legacy/StaticDateTimePicker/index.js +2 -0
  410. package/legacy/StaticTimePicker/StaticTimePicker.js +19 -0
  411. package/legacy/StaticTimePicker/index.js +2 -0
  412. package/legacy/TabContext/TabContext.js +82 -0
  413. package/legacy/TabContext/index.js +2 -0
  414. package/legacy/TabList/TabList.js +48 -0
  415. package/legacy/TabList/index.js +1 -0
  416. package/legacy/TabPanel/TabPanel.js +100 -0
  417. package/legacy/TabPanel/index.js +3 -0
  418. package/legacy/TabPanel/tabPanelClasses.js +6 -0
  419. package/legacy/TimePicker/TimePicker.js +19 -0
  420. package/legacy/TimePicker/index.js +2 -0
  421. package/legacy/Timeline/Timeline.js +119 -0
  422. package/legacy/Timeline/TimelineContext.js +12 -0
  423. package/legacy/Timeline/index.js +3 -0
  424. package/legacy/Timeline/timelineClasses.js +6 -0
  425. package/legacy/TimelineConnector/TimelineConnector.js +78 -0
  426. package/legacy/TimelineConnector/index.js +3 -0
  427. package/legacy/TimelineConnector/timelineConnectorClasses.js +6 -0
  428. package/legacy/TimelineContent/TimelineContent.js +92 -0
  429. package/legacy/TimelineContent/index.js +3 -0
  430. package/legacy/TimelineContent/timelineContentClasses.js +6 -0
  431. package/legacy/TimelineDot/TimelineDot.js +127 -0
  432. package/legacy/TimelineDot/index.js +3 -0
  433. package/legacy/TimelineDot/timelineDotClasses.js +6 -0
  434. package/legacy/TimelineItem/TimelineItem.js +130 -0
  435. package/legacy/TimelineItem/index.js +3 -0
  436. package/legacy/TimelineItem/timelineItemClasses.js +6 -0
  437. package/legacy/TimelineOppositeContent/TimelineOppositeContent.js +94 -0
  438. package/legacy/TimelineOppositeContent/index.js +3 -0
  439. package/legacy/TimelineOppositeContent/timelineOppositeContentClasses.js +6 -0
  440. package/legacy/TimelineSeparator/TimelineSeparator.js +76 -0
  441. package/legacy/TimelineSeparator/index.js +3 -0
  442. package/legacy/TimelineSeparator/timelineSeparatorClasses.js +6 -0
  443. package/legacy/ToggleButton/ToggleButton.js +19 -0
  444. package/legacy/ToggleButton/index.js +1 -0
  445. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +19 -0
  446. package/legacy/ToggleButtonGroup/index.js +1 -0
  447. package/legacy/TreeItem/TreeItem.js +425 -0
  448. package/legacy/TreeItem/TreeItemContent.js +125 -0
  449. package/legacy/TreeItem/index.js +4 -0
  450. package/legacy/TreeItem/treeItemClasses.js +6 -0
  451. package/legacy/TreeItem/useTreeItem.js +74 -0
  452. package/legacy/TreeView/TreeView.js +1045 -0
  453. package/legacy/TreeView/TreeViewContext.js +12 -0
  454. package/legacy/TreeView/descendants.js +211 -0
  455. package/legacy/TreeView/index.js +3 -0
  456. package/legacy/TreeView/treeViewClasses.js +6 -0
  457. package/legacy/YearPicker/YearPicker.js +24 -0
  458. package/legacy/YearPicker/index.js +2 -0
  459. package/legacy/index.js +110 -0
  460. package/legacy/internal/svg-icons/ArrowDropDown.js +10 -0
  461. package/legacy/internal/svg-icons/ArrowLeft.js +10 -0
  462. package/legacy/internal/svg-icons/ArrowRight.js +10 -0
  463. package/legacy/internal/svg-icons/Calendar.js +10 -0
  464. package/legacy/internal/svg-icons/Clock.js +15 -0
  465. package/legacy/internal/svg-icons/DateRange.js +10 -0
  466. package/legacy/internal/svg-icons/Pen.js +10 -0
  467. package/legacy/internal/svg-icons/Time.js +15 -0
  468. package/legacy/themeAugmentation/index.js +1 -0
  469. package/legacy/useAutocomplete/index.js +1 -0
  470. package/modern/AdapterDateFns/AdapterDateFns.js +16 -0
  471. package/modern/AdapterDateFns/index.js +1 -0
  472. package/modern/AdapterDayjs/AdapterDayjs.js +16 -0
  473. package/modern/AdapterDayjs/index.js +1 -0
  474. package/modern/AdapterLuxon/AdapterLuxon.js +16 -0
  475. package/modern/AdapterLuxon/index.js +1 -0
  476. package/modern/AdapterMoment/AdapterMoment.js +16 -0
  477. package/modern/AdapterMoment/index.js +1 -0
  478. package/modern/Alert/Alert.js +19 -0
  479. package/modern/Alert/index.js +1 -0
  480. package/modern/AlertTitle/AlertTitle.js +19 -0
  481. package/modern/AlertTitle/index.js +1 -0
  482. package/modern/Autocomplete/Autocomplete.js +19 -0
  483. package/modern/Autocomplete/index.js +1 -0
  484. package/modern/AvatarGroup/AvatarGroup.js +19 -0
  485. package/modern/AvatarGroup/index.js +1 -0
  486. package/modern/CalendarPicker/CalendarPicker.js +20 -0
  487. package/modern/CalendarPicker/index.js +2 -0
  488. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +24 -0
  489. package/modern/CalendarPickerSkeleton/index.js +2 -0
  490. package/modern/ClockPicker/ClockPicker.js +20 -0
  491. package/modern/ClockPicker/index.js +2 -0
  492. package/modern/DatePicker/DatePicker.js +19 -0
  493. package/modern/DatePicker/index.js +2 -0
  494. package/modern/DateRangePicker/DateRangePicker.js +19 -0
  495. package/modern/DateRangePicker/index.js +2 -0
  496. package/modern/DateRangePickerDay/DateRangePickerDay.js +23 -0
  497. package/modern/DateRangePickerDay/index.js +2 -0
  498. package/modern/DateTimePicker/DateTimePicker.js +19 -0
  499. package/modern/DateTimePicker/index.js +2 -0
  500. package/modern/DesktopDatePicker/DesktopDatePicker.js +19 -0
  501. package/modern/DesktopDatePicker/index.js +2 -0
  502. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +19 -0
  503. package/modern/DesktopDateRangePicker/index.js +2 -0
  504. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +19 -0
  505. package/modern/DesktopDateTimePicker/index.js +2 -0
  506. package/modern/DesktopTimePicker/DesktopTimePicker.js +19 -0
  507. package/modern/DesktopTimePicker/index.js +2 -0
  508. package/modern/LoadingButton/LoadingButton.js +237 -0
  509. package/modern/LoadingButton/index.js +3 -0
  510. package/modern/LoadingButton/loadingButtonClasses.js +6 -0
  511. package/modern/LocalizationProvider/LocalizationProvider.js +18 -0
  512. package/modern/LocalizationProvider/index.js +2 -0
  513. package/modern/Masonry/Masonry.js +347 -0
  514. package/modern/Masonry/index.js +3 -0
  515. package/modern/Masonry/masonryClasses.js +6 -0
  516. package/modern/MobileDatePicker/MobileDatePicker.js +19 -0
  517. package/modern/MobileDatePicker/index.js +2 -0
  518. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +19 -0
  519. package/modern/MobileDateRangePicker/index.js +2 -0
  520. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +19 -0
  521. package/modern/MobileDateTimePicker/index.js +2 -0
  522. package/modern/MobileTimePicker/MobileTimePicker.js +19 -0
  523. package/modern/MobileTimePicker/index.js +2 -0
  524. package/modern/MonthPicker/MonthPicker.js +24 -0
  525. package/modern/MonthPicker/index.js +2 -0
  526. package/modern/Pagination/Pagination.js +19 -0
  527. package/modern/Pagination/index.js +2 -0
  528. package/modern/Pagination/usePagination.js +1 -0
  529. package/modern/PaginationItem/PaginationItem.js +19 -0
  530. package/modern/PaginationItem/index.js +1 -0
  531. package/modern/PickersDay/PickersDay.js +24 -0
  532. package/modern/PickersDay/index.js +2 -0
  533. package/modern/Rating/Rating.js +19 -0
  534. package/modern/Rating/index.js +1 -0
  535. package/modern/Skeleton/Skeleton.js +19 -0
  536. package/modern/Skeleton/index.js +1 -0
  537. package/modern/SpeedDial/SpeedDial.js +19 -0
  538. package/modern/SpeedDial/index.js +1 -0
  539. package/modern/SpeedDialAction/SpeedDialAction.js +19 -0
  540. package/modern/SpeedDialAction/index.js +1 -0
  541. package/modern/SpeedDialIcon/SpeedDialIcon.js +19 -0
  542. package/modern/SpeedDialIcon/index.js +1 -0
  543. package/modern/StaticDatePicker/StaticDatePicker.js +19 -0
  544. package/modern/StaticDatePicker/index.js +2 -0
  545. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +19 -0
  546. package/modern/StaticDateRangePicker/index.js +2 -0
  547. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +19 -0
  548. package/modern/StaticDateTimePicker/index.js +2 -0
  549. package/modern/StaticTimePicker/StaticTimePicker.js +19 -0
  550. package/modern/StaticTimePicker/index.js +2 -0
  551. package/modern/TabContext/TabContext.js +85 -0
  552. package/modern/TabContext/index.js +2 -0
  553. package/modern/TabList/TabList.js +51 -0
  554. package/modern/TabList/index.js +1 -0
  555. package/modern/TabPanel/TabPanel.js +102 -0
  556. package/modern/TabPanel/index.js +3 -0
  557. package/modern/TabPanel/tabPanelClasses.js +6 -0
  558. package/modern/TimePicker/TimePicker.js +19 -0
  559. package/modern/TimePicker/index.js +2 -0
  560. package/modern/Timeline/Timeline.js +125 -0
  561. package/modern/Timeline/TimelineContext.js +12 -0
  562. package/modern/Timeline/index.js +3 -0
  563. package/modern/Timeline/timelineClasses.js +6 -0
  564. package/modern/TimelineConnector/TimelineConnector.js +82 -0
  565. package/modern/TimelineConnector/index.js +3 -0
  566. package/modern/TimelineConnector/timelineConnectorClasses.js +6 -0
  567. package/modern/TimelineContent/TimelineContent.js +99 -0
  568. package/modern/TimelineContent/index.js +3 -0
  569. package/modern/TimelineContent/timelineContentClasses.js +6 -0
  570. package/modern/TimelineDot/TimelineDot.js +131 -0
  571. package/modern/TimelineDot/index.js +3 -0
  572. package/modern/TimelineDot/timelineDotClasses.js +6 -0
  573. package/modern/TimelineItem/TimelineItem.js +135 -0
  574. package/modern/TimelineItem/index.js +3 -0
  575. package/modern/TimelineItem/timelineItemClasses.js +6 -0
  576. package/modern/TimelineOppositeContent/TimelineOppositeContent.js +101 -0
  577. package/modern/TimelineOppositeContent/index.js +3 -0
  578. package/modern/TimelineOppositeContent/timelineOppositeContentClasses.js +6 -0
  579. package/modern/TimelineSeparator/TimelineSeparator.js +79 -0
  580. package/modern/TimelineSeparator/index.js +3 -0
  581. package/modern/TimelineSeparator/timelineSeparatorClasses.js +6 -0
  582. package/modern/ToggleButton/ToggleButton.js +19 -0
  583. package/modern/ToggleButton/index.js +1 -0
  584. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +19 -0
  585. package/modern/ToggleButtonGroup/index.js +1 -0
  586. package/modern/TreeItem/TreeItem.js +423 -0
  587. package/modern/TreeItem/TreeItemContent.js +128 -0
  588. package/modern/TreeItem/index.js +4 -0
  589. package/modern/TreeItem/treeItemClasses.js +6 -0
  590. package/modern/TreeItem/useTreeItem.js +74 -0
  591. package/modern/TreeView/TreeView.js +982 -0
  592. package/modern/TreeView/TreeViewContext.js +12 -0
  593. package/modern/TreeView/descendants.js +198 -0
  594. package/modern/TreeView/index.js +3 -0
  595. package/modern/TreeView/treeViewClasses.js +6 -0
  596. package/modern/YearPicker/YearPicker.js +24 -0
  597. package/modern/YearPicker/index.js +2 -0
  598. package/modern/index.js +110 -0
  599. package/modern/internal/svg-icons/ArrowDropDown.js +10 -0
  600. package/modern/internal/svg-icons/ArrowLeft.js +10 -0
  601. package/modern/internal/svg-icons/ArrowRight.js +10 -0
  602. package/modern/internal/svg-icons/Calendar.js +10 -0
  603. package/modern/internal/svg-icons/Clock.js +15 -0
  604. package/modern/internal/svg-icons/DateRange.js +10 -0
  605. package/modern/internal/svg-icons/Pen.js +10 -0
  606. package/modern/internal/svg-icons/Time.js +15 -0
  607. package/modern/themeAugmentation/index.js +1 -0
  608. package/modern/useAutocomplete/index.js +1 -0
  609. package/node/AdapterDateFns/AdapterDateFns.js +24 -0
  610. package/node/AdapterDateFns/index.js +15 -0
  611. package/node/AdapterDayjs/AdapterDayjs.js +24 -0
  612. package/node/AdapterDayjs/index.js +15 -0
  613. package/node/AdapterLuxon/AdapterLuxon.js +24 -0
  614. package/node/AdapterLuxon/index.js +15 -0
  615. package/node/AdapterMoment/AdapterMoment.js +24 -0
  616. package/node/AdapterMoment/index.js +15 -0
  617. package/node/Alert/Alert.js +38 -0
  618. package/node/Alert/index.js +15 -0
  619. package/node/AlertTitle/AlertTitle.js +38 -0
  620. package/node/AlertTitle/index.js +15 -0
  621. package/node/Autocomplete/Autocomplete.js +38 -0
  622. package/node/Autocomplete/index.js +15 -0
  623. package/node/AvatarGroup/AvatarGroup.js +38 -0
  624. package/node/AvatarGroup/index.js +15 -0
  625. package/node/CalendarPicker/CalendarPicker.js +34 -0
  626. package/node/CalendarPicker/index.js +30 -0
  627. package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +41 -0
  628. package/node/CalendarPickerSkeleton/index.js +30 -0
  629. package/node/ClockPicker/ClockPicker.js +34 -0
  630. package/node/ClockPicker/index.js +30 -0
  631. package/node/DatePicker/DatePicker.js +32 -0
  632. package/node/DatePicker/index.js +30 -0
  633. package/node/DateRangePicker/DateRangePicker.js +32 -0
  634. package/node/DateRangePicker/index.js +30 -0
  635. package/node/DateRangePickerDay/DateRangePickerDay.js +39 -0
  636. package/node/DateRangePickerDay/index.js +30 -0
  637. package/node/DateTimePicker/DateTimePicker.js +32 -0
  638. package/node/DateTimePicker/index.js +30 -0
  639. package/node/DesktopDatePicker/DesktopDatePicker.js +32 -0
  640. package/node/DesktopDatePicker/index.js +30 -0
  641. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +32 -0
  642. package/node/DesktopDateRangePicker/index.js +30 -0
  643. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +32 -0
  644. package/node/DesktopDateTimePicker/index.js +30 -0
  645. package/node/DesktopTimePicker/DesktopTimePicker.js +32 -0
  646. package/node/DesktopTimePicker/index.js +30 -0
  647. package/node/LoadingButton/LoadingButton.js +257 -0
  648. package/node/LoadingButton/index.js +42 -0
  649. package/node/LoadingButton/loadingButtonClasses.js +17 -0
  650. package/node/LocalizationProvider/LocalizationProvider.js +31 -0
  651. package/node/LocalizationProvider/index.js +30 -0
  652. package/node/Masonry/Masonry.js +373 -0
  653. package/node/Masonry/index.js +42 -0
  654. package/node/Masonry/masonryClasses.js +17 -0
  655. package/node/MobileDatePicker/MobileDatePicker.js +32 -0
  656. package/node/MobileDatePicker/index.js +30 -0
  657. package/node/MobileDateRangePicker/MobileDateRangePicker.js +32 -0
  658. package/node/MobileDateRangePicker/index.js +30 -0
  659. package/node/MobileDateTimePicker/MobileDateTimePicker.js +32 -0
  660. package/node/MobileDateTimePicker/index.js +30 -0
  661. package/node/MobileTimePicker/MobileTimePicker.js +32 -0
  662. package/node/MobileTimePicker/index.js +30 -0
  663. package/node/MonthPicker/MonthPicker.js +41 -0
  664. package/node/MonthPicker/index.js +30 -0
  665. package/node/Pagination/Pagination.js +38 -0
  666. package/node/Pagination/index.js +23 -0
  667. package/node/Pagination/usePagination.js +15 -0
  668. package/node/PaginationItem/PaginationItem.js +38 -0
  669. package/node/PaginationItem/index.js +15 -0
  670. package/node/PickersDay/PickersDay.js +41 -0
  671. package/node/PickersDay/index.js +30 -0
  672. package/node/Rating/Rating.js +38 -0
  673. package/node/Rating/index.js +15 -0
  674. package/node/Skeleton/Skeleton.js +38 -0
  675. package/node/Skeleton/index.js +15 -0
  676. package/node/SpeedDial/SpeedDial.js +38 -0
  677. package/node/SpeedDial/index.js +15 -0
  678. package/node/SpeedDialAction/SpeedDialAction.js +38 -0
  679. package/node/SpeedDialAction/index.js +15 -0
  680. package/node/SpeedDialIcon/SpeedDialIcon.js +38 -0
  681. package/node/SpeedDialIcon/index.js +15 -0
  682. package/node/StaticDatePicker/StaticDatePicker.js +32 -0
  683. package/node/StaticDatePicker/index.js +30 -0
  684. package/node/StaticDateRangePicker/StaticDateRangePicker.js +32 -0
  685. package/node/StaticDateRangePicker/index.js +30 -0
  686. package/node/StaticDateTimePicker/StaticDateTimePicker.js +32 -0
  687. package/node/StaticDateTimePicker/index.js +30 -0
  688. package/node/StaticTimePicker/StaticTimePicker.js +32 -0
  689. package/node/StaticTimePicker/index.js +30 -0
  690. package/node/TabContext/TabContext.js +106 -0
  691. package/node/TabContext/index.js +30 -0
  692. package/node/TabList/TabList.js +72 -0
  693. package/node/TabList/index.js +15 -0
  694. package/node/TabPanel/TabPanel.js +123 -0
  695. package/node/TabPanel/index.js +42 -0
  696. package/node/TabPanel/tabPanelClasses.js +17 -0
  697. package/node/TimePicker/TimePicker.js +32 -0
  698. package/node/TimePicker/index.js +30 -0
  699. package/node/Timeline/Timeline.js +147 -0
  700. package/node/Timeline/TimelineContext.js +24 -0
  701. package/node/Timeline/index.js +42 -0
  702. package/node/Timeline/timelineClasses.js +17 -0
  703. package/node/TimelineConnector/TimelineConnector.js +103 -0
  704. package/node/TimelineConnector/index.js +42 -0
  705. package/node/TimelineConnector/timelineConnectorClasses.js +17 -0
  706. package/node/TimelineContent/TimelineContent.js +121 -0
  707. package/node/TimelineContent/index.js +42 -0
  708. package/node/TimelineContent/timelineContentClasses.js +17 -0
  709. package/node/TimelineDot/TimelineDot.js +152 -0
  710. package/node/TimelineDot/index.js +42 -0
  711. package/node/TimelineDot/timelineDotClasses.js +17 -0
  712. package/node/TimelineItem/TimelineItem.js +158 -0
  713. package/node/TimelineItem/index.js +42 -0
  714. package/node/TimelineItem/timelineItemClasses.js +17 -0
  715. package/node/TimelineOppositeContent/TimelineOppositeContent.js +123 -0
  716. package/node/TimelineOppositeContent/index.js +42 -0
  717. package/node/TimelineOppositeContent/timelineOppositeContentClasses.js +17 -0
  718. package/node/TimelineSeparator/TimelineSeparator.js +100 -0
  719. package/node/TimelineSeparator/index.js +42 -0
  720. package/node/TimelineSeparator/timelineSeparatorClasses.js +17 -0
  721. package/node/ToggleButton/ToggleButton.js +38 -0
  722. package/node/ToggleButton/index.js +15 -0
  723. package/node/ToggleButtonGroup/ToggleButtonGroup.js +38 -0
  724. package/node/ToggleButtonGroup/index.js +15 -0
  725. package/node/TreeItem/TreeItem.js +447 -0
  726. package/node/TreeItem/TreeItemContent.js +147 -0
  727. package/node/TreeItem/index.js +51 -0
  728. package/node/TreeItem/treeItemClasses.js +17 -0
  729. package/node/TreeItem/useTreeItem.js +89 -0
  730. package/node/TreeView/TreeView.js +1002 -0
  731. package/node/TreeView/TreeViewContext.js +24 -0
  732. package/node/TreeView/descendants.js +217 -0
  733. package/node/TreeView/index.js +42 -0
  734. package/node/TreeView/treeViewClasses.js +17 -0
  735. package/node/YearPicker/YearPicker.js +36 -0
  736. package/node/YearPicker/index.js +30 -0
  737. package/node/index.js +1098 -0
  738. package/node/internal/svg-icons/ArrowDropDown.js +25 -0
  739. package/node/internal/svg-icons/ArrowLeft.js +25 -0
  740. package/node/internal/svg-icons/ArrowRight.js +25 -0
  741. package/node/internal/svg-icons/Calendar.js +25 -0
  742. package/node/internal/svg-icons/Clock.js +29 -0
  743. package/node/internal/svg-icons/DateRange.js +25 -0
  744. package/node/internal/svg-icons/Pen.js +25 -0
  745. package/node/internal/svg-icons/Time.js +29 -0
  746. package/node/themeAugmentation/index.js +2 -0
  747. package/node/useAutocomplete/index.js +19 -0
  748. package/package.json +67 -0
  749. package/themeAugmentation/components.d.ts +78 -0
  750. package/themeAugmentation/index.d.ts +3 -0
  751. package/themeAugmentation/index.js +1 -0
  752. package/themeAugmentation/overrides.d.ts +35 -0
  753. package/themeAugmentation/package.json +6 -0
  754. package/themeAugmentation/props.d.ts +36 -0
  755. package/useAutocomplete/index.d.ts +1 -0
  756. package/useAutocomplete/index.js +1 -0
  757. package/useAutocomplete/package.json +6 -0
@@ -0,0 +1,229 @@
1
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
3
+ import _extends from "@babel/runtime/helpers/esm/extends";
4
+ import * as React from 'react';
5
+ import PropTypes from 'prop-types';
6
+ import { chainPropTypes } from '@mui/utils';
7
+ import { capitalize, unstable_useId as useId } from '@mui/material/utils';
8
+ import { unstable_composeClasses as composeClasses } from '@mui/base';
9
+ import { styled, useThemeProps } from '@mui/material/styles';
10
+ import Button from '@mui/material/Button';
11
+ import CircularProgress from '@mui/material/CircularProgress';
12
+ import loadingButtonClasses, { getLoadingButtonUtilityClass } from './loadingButtonClasses';
13
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { jsxs as _jsxs } from "react/jsx-runtime";
15
+
16
+ var useUtilityClasses = function useUtilityClasses(ownerState) {
17
+ var loading = ownerState.loading,
18
+ loadingPosition = ownerState.loadingPosition,
19
+ classes = ownerState.classes;
20
+ var slots = {
21
+ root: ['root', loading && 'loading'],
22
+ startIcon: [loading && "startIconLoading".concat(capitalize(loadingPosition))],
23
+ endIcon: [loading && "endIconLoading".concat(capitalize(loadingPosition))],
24
+ loadingIndicator: ['loadingIndicator', loading && "loadingIndicator".concat(capitalize(loadingPosition))]
25
+ };
26
+ var composedClasses = composeClasses(slots, getLoadingButtonUtilityClass, classes);
27
+ return _extends({}, classes, composedClasses);
28
+ }; // TODO use `import { rootShouldForwardProp } from '../styles/styled';` once move to core
29
+
30
+
31
+ var rootShouldForwardProp = function rootShouldForwardProp(prop) {
32
+ return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as' && prop !== 'classes';
33
+ };
34
+
35
+ var LoadingButtonRoot = styled(Button, {
36
+ shouldForwardProp: function shouldForwardProp(prop) {
37
+ return rootShouldForwardProp(prop) || prop === 'classes';
38
+ },
39
+ name: 'MuiLoadingButton',
40
+ slot: 'Root',
41
+ overridesResolver: function overridesResolver(props, styles) {
42
+ return [styles.root, styles.startIconLoadingStart && _defineProperty({}, "& .".concat(loadingButtonClasses.startIconLoadingStart), styles.startIconLoadingStart), styles.endIconLoadingEnd && _defineProperty({}, "& .".concat(loadingButtonClasses.endIconLoadingEnd), styles.endIconLoadingEnd)];
43
+ }
44
+ })(function (_ref3) {
45
+ var ownerState = _ref3.ownerState,
46
+ theme = _ref3.theme;
47
+ return _extends(_defineProperty({}, "& .".concat(loadingButtonClasses.startIconLoadingStart, ", & .").concat(loadingButtonClasses.endIconLoadingEnd), {
48
+ transition: theme.transitions.create(['opacity'], {
49
+ duration: theme.transitions.duration.short
50
+ }),
51
+ opacity: 0
52
+ }), ownerState.loadingPosition === 'center' && _defineProperty({
53
+ transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color'], {
54
+ duration: theme.transitions.duration.short
55
+ })
56
+ }, "&.".concat(loadingButtonClasses.loading), {
57
+ color: 'transparent'
58
+ }), ownerState.loadingPosition === 'start' && ownerState.fullWidth && _defineProperty({}, "& .".concat(loadingButtonClasses.startIconLoadingStart, ", & .").concat(loadingButtonClasses.endIconLoadingEnd), {
59
+ transition: theme.transitions.create(['opacity'], {
60
+ duration: theme.transitions.duration.short
61
+ }),
62
+ opacity: 0,
63
+ marginRight: -8
64
+ }), ownerState.loadingPosition === 'end' && ownerState.fullWidth && _defineProperty({}, "& .".concat(loadingButtonClasses.startIconLoadingStart, ", & .").concat(loadingButtonClasses.endIconLoadingEnd), {
65
+ transition: theme.transitions.create(['opacity'], {
66
+ duration: theme.transitions.duration.short
67
+ }),
68
+ opacity: 0,
69
+ marginLeft: -8
70
+ }));
71
+ });
72
+ var LoadingButtonLoadingIndicator = styled('div', {
73
+ name: 'MuiLoadingButton',
74
+ slot: 'LoadingIndicator',
75
+ overridesResolver: function overridesResolver(props, styles) {
76
+ var ownerState = props.ownerState;
77
+ return [styles.loadingIndicator, styles["loadingIndicator".concat(capitalize(ownerState.loadingPosition))]];
78
+ }
79
+ })(function (_ref7) {
80
+ var theme = _ref7.theme,
81
+ ownerState = _ref7.ownerState;
82
+ return _extends({
83
+ position: 'absolute',
84
+ visibility: 'visible',
85
+ display: 'flex'
86
+ }, ownerState.loadingPosition === 'start' && (ownerState.variant === 'outlined' || ownerState.variant === 'contained') && {
87
+ left: ownerState.size === 'small' ? 10 : 14
88
+ }, ownerState.loadingPosition === 'start' && ownerState.variant === 'text' && {
89
+ left: 6
90
+ }, ownerState.loadingPosition === 'center' && {
91
+ left: '50%',
92
+ transform: 'translate(-50%)',
93
+ color: (theme.vars || theme).palette.action.disabled
94
+ }, ownerState.loadingPosition === 'end' && (ownerState.variant === 'outlined' || ownerState.variant === 'contained') && {
95
+ right: ownerState.size === 'small' ? 10 : 14
96
+ }, ownerState.loadingPosition === 'end' && ownerState.variant === 'text' && {
97
+ right: 6
98
+ }, ownerState.loadingPosition === 'start' && ownerState.fullWidth && {
99
+ position: 'relative',
100
+ left: -10
101
+ }, ownerState.loadingPosition === 'end' && ownerState.fullWidth && {
102
+ position: 'relative',
103
+ right: -10
104
+ });
105
+ });
106
+ var LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inProps, ref) {
107
+ var props = useThemeProps({
108
+ props: inProps,
109
+ name: 'MuiLoadingButton'
110
+ });
111
+
112
+ var children = props.children,
113
+ _props$disabled = props.disabled,
114
+ disabled = _props$disabled === void 0 ? false : _props$disabled,
115
+ idProp = props.id,
116
+ _props$loading = props.loading,
117
+ loading = _props$loading === void 0 ? false : _props$loading,
118
+ loadingIndicatorProp = props.loadingIndicator,
119
+ _props$loadingPositio = props.loadingPosition,
120
+ loadingPosition = _props$loadingPositio === void 0 ? 'center' : _props$loadingPositio,
121
+ _props$variant = props.variant,
122
+ variant = _props$variant === void 0 ? 'text' : _props$variant,
123
+ other = _objectWithoutProperties(props, ["children", "disabled", "id", "loading", "loadingIndicator", "loadingPosition", "variant"]);
124
+
125
+ var id = useId(idProp);
126
+ var loadingIndicator = loadingIndicatorProp != null ? loadingIndicatorProp : /*#__PURE__*/_jsx(CircularProgress, {
127
+ "aria-labelledby": id,
128
+ color: "inherit",
129
+ size: 16
130
+ });
131
+
132
+ var ownerState = _extends({}, props, {
133
+ disabled: disabled,
134
+ loading: loading,
135
+ loadingIndicator: loadingIndicator,
136
+ loadingPosition: loadingPosition,
137
+ variant: variant
138
+ });
139
+
140
+ var classes = useUtilityClasses(ownerState);
141
+ var loadingButtonLoadingIndicator = loading ? /*#__PURE__*/_jsx(LoadingButtonLoadingIndicator, {
142
+ className: classes.loadingIndicator,
143
+ ownerState: ownerState,
144
+ children: loadingIndicator
145
+ }) : null;
146
+ return /*#__PURE__*/_jsxs(LoadingButtonRoot, _extends({
147
+ disabled: disabled || loading,
148
+ id: id,
149
+ ref: ref
150
+ }, other, {
151
+ variant: variant,
152
+ classes: classes,
153
+ ownerState: ownerState,
154
+ children: [ownerState.loadingPosition === 'end' ? children : loadingButtonLoadingIndicator, ownerState.loadingPosition === 'end' ? loadingButtonLoadingIndicator : children]
155
+ }));
156
+ });
157
+ process.env.NODE_ENV !== "production" ? LoadingButton.propTypes
158
+ /* remove-proptypes */
159
+ = {
160
+ // ----------------------------- Warning --------------------------------
161
+ // | These PropTypes are generated from the TypeScript type definitions |
162
+ // | To update them edit the d.ts file and run "yarn proptypes" |
163
+ // ----------------------------------------------------------------------
164
+
165
+ /**
166
+ * The content of the component.
167
+ */
168
+ children: PropTypes.node,
169
+
170
+ /**
171
+ * Override or extend the styles applied to the component.
172
+ */
173
+ classes: PropTypes.object,
174
+
175
+ /**
176
+ * If `true`, the component is disabled.
177
+ * @default false
178
+ */
179
+ disabled: PropTypes.bool,
180
+
181
+ /**
182
+ * @ignore
183
+ */
184
+ id: PropTypes.string,
185
+
186
+ /**
187
+ * If `true`, the loading indicator is shown.
188
+ * @default false
189
+ */
190
+ loading: PropTypes.bool,
191
+
192
+ /**
193
+ * Element placed before the children if the button is in loading state.
194
+ * The node should contain an element with `role="progressbar"` with an accessible name.
195
+ * By default we render a `CircularProgress` that is labelled by the button itself.
196
+ * @default <CircularProgress color="inherit" size={16} />
197
+ */
198
+ loadingIndicator: PropTypes.node,
199
+
200
+ /**
201
+ * The loading indicator can be positioned on the start, end, or the center of the button.
202
+ * @default 'center'
203
+ */
204
+ loadingPosition: chainPropTypes(PropTypes.oneOf(['start', 'end', 'center']), function (props) {
205
+ if (props.loadingPosition === 'start' && !props.startIcon) {
206
+ return new Error("MUI: The loadingPosition=\"start\" should be used in combination with startIcon.");
207
+ }
208
+
209
+ if (props.loadingPosition === 'end' && !props.endIcon) {
210
+ return new Error("MUI: The loadingPosition=\"end\" should be used in combination with endIcon.");
211
+ }
212
+
213
+ return null;
214
+ }),
215
+
216
+ /**
217
+ * The system prop that allows defining system overrides as well as additional CSS styles.
218
+ */
219
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
220
+
221
+ /**
222
+ * The variant to use.
223
+ * @default 'text'
224
+ */
225
+ variant: PropTypes
226
+ /* @typescript-to-proptypes-ignore */
227
+ .oneOfType([PropTypes.oneOf(['contained', 'outlined', 'text']), PropTypes.string])
228
+ } : void 0;
229
+ export default LoadingButton;
@@ -0,0 +1,3 @@
1
+ export { default } from './LoadingButton';
2
+ export { default as loadingButtonClasses } from './loadingButtonClasses';
3
+ export * from './loadingButtonClasses';
@@ -0,0 +1,6 @@
1
+ import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
2
+ export function getLoadingButtonUtilityClass(slot) {
3
+ return generateUtilityClass('MuiLoadingButton', slot);
4
+ }
5
+ var loadingButtonClasses = generateUtilityClasses('MuiLoadingButton', ['root', 'loading', 'loadingIndicator', 'loadingIndicatorCenter', 'loadingIndicatorStart', 'loadingIndicatorEnd', 'endIconLoadingEnd', 'startIconLoadingStart']);
6
+ export default loadingButtonClasses;
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+ var warnedOnce = false;
3
+
4
+ var warn = function warn() {
5
+ if (!warnedOnce) {
6
+ console.warn(['MUI: The LocalizationProvider component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { LocalizationProvider } from '@mui/x-date-pickers'`", "or `import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
7
+ warnedOnce = true;
8
+ }
9
+ };
10
+
11
+ /**
12
+ * @ignore - do not document.
13
+ */
14
+ var LocalizationProvider = /*#__PURE__*/React.forwardRef(function DeprecatedLocalizationProvider() {
15
+ warn();
16
+ return null;
17
+ });
18
+ export default LocalizationProvider;
@@ -0,0 +1,2 @@
1
+ export { default } from './LocalizationProvider';
2
+ export * from './LocalizationProvider';
@@ -0,0 +1,357 @@
1
+ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ import _typeof from "@babel/runtime/helpers/esm/typeof";
4
+ import _extends from "@babel/runtime/helpers/esm/extends";
5
+ import { unstable_composeClasses as composeClasses } from '@mui/base';
6
+ import { flushSync } from 'react-dom';
7
+ import { styled, useThemeProps } from '@mui/material/styles';
8
+ import { createUnarySpacing, getValue, handleBreakpoints, unstable_resolveBreakpointValues as resolveBreakpointValues } from '@mui/system';
9
+ import { deepmerge, unstable_useForkRef as useForkRef } from '@mui/utils';
10
+ import clsx from 'clsx';
11
+ import PropTypes from 'prop-types';
12
+ import * as React from 'react';
13
+ import { getMasonryUtilityClass } from './masonryClasses';
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ export var parseToNumber = function parseToNumber(val) {
17
+ return Number(val.replace('px', ''));
18
+ };
19
+ var lineBreakStyle = {
20
+ flexBasis: '100%',
21
+ width: 0,
22
+ margin: 0,
23
+ padding: 0
24
+ };
25
+
26
+ var useUtilityClasses = function useUtilityClasses(ownerState) {
27
+ var classes = ownerState.classes;
28
+ var slots = {
29
+ root: ['root']
30
+ };
31
+ return composeClasses(slots, getMasonryUtilityClass, classes);
32
+ };
33
+
34
+ export var getStyle = function getStyle(_ref) {
35
+ var ownerState = _ref.ownerState,
36
+ theme = _ref.theme;
37
+ var styles = {
38
+ width: '100%',
39
+ display: 'flex',
40
+ flexFlow: 'column wrap',
41
+ alignContent: 'flex-start',
42
+ boxSizing: 'border-box',
43
+ '& > *': {
44
+ boxSizing: 'border-box'
45
+ }
46
+ };
47
+ var stylesSSR = {}; // Only applicable for Server-Side Rendering
48
+
49
+ if (ownerState.isSSR) {
50
+ var orderStyleSSR = {};
51
+ var defaultSpacing = parseToNumber(theme.spacing(ownerState.defaultSpacing));
52
+
53
+ for (var i = 1; i <= ownerState.defaultColumns; i += 1) {
54
+ orderStyleSSR["&:nth-of-type(".concat(ownerState.defaultColumns, "n+").concat(i % ownerState.defaultColumns, ")")] = {
55
+ order: i
56
+ };
57
+ }
58
+
59
+ stylesSSR.height = ownerState.defaultHeight;
60
+ stylesSSR.margin = -(defaultSpacing / 2);
61
+ stylesSSR['& > *'] = _extends({}, styles['& > *'], orderStyleSSR, {
62
+ margin: defaultSpacing / 2,
63
+ width: "calc(".concat((100 / ownerState.defaultColumns).toFixed(2), "% - ").concat(defaultSpacing, "px)")
64
+ });
65
+ return _extends({}, styles, stylesSSR);
66
+ }
67
+
68
+ var spacingValues = resolveBreakpointValues({
69
+ values: ownerState.spacing,
70
+ breakpoints: theme.breakpoints.values
71
+ });
72
+ var transformer = createUnarySpacing(theme);
73
+
74
+ var spacingStyleFromPropValue = function spacingStyleFromPropValue(propValue) {
75
+ var spacing; // in case of string/number value
76
+
77
+ if (typeof propValue === 'string' && !Number.isNaN(Number(propValue)) || typeof propValue === 'number') {
78
+ var themeSpacingValue = Number(propValue);
79
+ spacing = getValue(transformer, themeSpacingValue);
80
+ } else {
81
+ spacing = propValue;
82
+ }
83
+
84
+ return _extends({
85
+ margin: "calc(0px - (".concat(spacing, " / 2))"),
86
+ '& > *': {
87
+ margin: "calc(".concat(spacing, " / 2)")
88
+ }
89
+ }, ownerState.maxColumnHeight && {
90
+ height: typeof spacing === 'number' ? Math.ceil(ownerState.maxColumnHeight + parseToNumber(spacing)) : "calc(".concat(ownerState.maxColumnHeight, "px + ").concat(spacing, ")")
91
+ });
92
+ };
93
+
94
+ styles = deepmerge(styles, handleBreakpoints({
95
+ theme: theme
96
+ }, spacingValues, spacingStyleFromPropValue));
97
+ var columnValues = resolveBreakpointValues({
98
+ values: ownerState.columns,
99
+ breakpoints: theme.breakpoints.values
100
+ });
101
+
102
+ var columnStyleFromPropValue = function columnStyleFromPropValue(propValue) {
103
+ var columnValue = Number(propValue);
104
+ var width = "".concat((100 / columnValue).toFixed(2), "%");
105
+ var spacing = typeof spacingValues === 'string' && !Number.isNaN(Number(spacingValues)) || typeof spacingValues === 'number' ? getValue(transformer, Number(spacingValues)) : '0px';
106
+ return {
107
+ '& > *': {
108
+ width: "calc(".concat(width, " - ").concat(spacing, ")")
109
+ }
110
+ };
111
+ };
112
+
113
+ styles = deepmerge(styles, handleBreakpoints({
114
+ theme: theme
115
+ }, columnValues, columnStyleFromPropValue)); // configure width for responsive spacing values
116
+
117
+ if (_typeof(spacingValues) === 'object') {
118
+ styles = deepmerge(styles, handleBreakpoints({
119
+ theme: theme
120
+ }, spacingValues, function (propValue, breakpoint) {
121
+ if (breakpoint) {
122
+ var themeSpacingValue = Number(propValue);
123
+ var lastBreakpoint = Object.keys(columnValues).pop();
124
+ var spacing = getValue(transformer, themeSpacingValue);
125
+ var column = _typeof(columnValues) === 'object' ? columnValues[breakpoint] || columnValues[lastBreakpoint] : columnValues;
126
+ var width = "".concat((100 / column).toFixed(2), "%");
127
+ return {
128
+ '& > *': {
129
+ width: "calc(".concat(width, " - ").concat(spacing, ")")
130
+ }
131
+ };
132
+ }
133
+
134
+ return null;
135
+ }));
136
+ }
137
+
138
+ return styles;
139
+ };
140
+ var MasonryRoot = styled('div', {
141
+ name: 'MuiMasonry',
142
+ slot: 'Root',
143
+ overridesResolver: function overridesResolver(props, styles) {
144
+ return [styles.root];
145
+ }
146
+ })(getStyle);
147
+ var Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
148
+ var props = useThemeProps({
149
+ props: inProps,
150
+ name: 'MuiMasonry'
151
+ });
152
+
153
+ var children = props.children,
154
+ className = props.className,
155
+ _props$component = props.component,
156
+ component = _props$component === void 0 ? 'div' : _props$component,
157
+ _props$columns = props.columns,
158
+ columns = _props$columns === void 0 ? 4 : _props$columns,
159
+ _props$spacing = props.spacing,
160
+ spacing = _props$spacing === void 0 ? 1 : _props$spacing,
161
+ defaultColumns = props.defaultColumns,
162
+ defaultHeight = props.defaultHeight,
163
+ defaultSpacing = props.defaultSpacing,
164
+ other = _objectWithoutProperties(props, ["children", "className", "component", "columns", "spacing", "defaultColumns", "defaultHeight", "defaultSpacing"]);
165
+
166
+ var masonryRef = React.useRef();
167
+
168
+ var _React$useState = React.useState(),
169
+ maxColumnHeight = _React$useState[0],
170
+ setMaxColumnHeight = _React$useState[1];
171
+
172
+ var isSSR = !maxColumnHeight && defaultHeight && defaultColumns !== undefined && defaultSpacing !== undefined;
173
+
174
+ var _React$useState2 = React.useState(isSSR ? defaultColumns - 1 : 0),
175
+ numberOfLineBreaks = _React$useState2[0],
176
+ setNumberOfLineBreaks = _React$useState2[1];
177
+
178
+ var ownerState = _extends({}, props, {
179
+ spacing: spacing,
180
+ columns: columns,
181
+ maxColumnHeight: maxColumnHeight,
182
+ defaultColumns: defaultColumns,
183
+ defaultHeight: defaultHeight,
184
+ defaultSpacing: defaultSpacing,
185
+ isSSR: isSSR
186
+ });
187
+
188
+ var classes = useUtilityClasses(ownerState);
189
+
190
+ var handleResize = function handleResize(masonryChildren) {
191
+ if (!masonryRef.current || !masonryChildren || masonryChildren.length === 0) {
192
+ return;
193
+ }
194
+
195
+ var masonry = masonryRef.current;
196
+ var masonryFirstChild = masonryRef.current.firstChild;
197
+ var parentWidth = masonry.clientWidth;
198
+ var firstChildWidth = masonryFirstChild.clientWidth;
199
+
200
+ if (parentWidth === 0 || firstChildWidth === 0) {
201
+ return;
202
+ }
203
+
204
+ var firstChildComputedStyle = window.getComputedStyle(masonryFirstChild);
205
+ var firstChildMarginLeft = parseToNumber(firstChildComputedStyle.marginLeft);
206
+ var firstChildMarginRight = parseToNumber(firstChildComputedStyle.marginRight);
207
+ var currentNumberOfColumns = Math.round(parentWidth / (firstChildWidth + firstChildMarginLeft + firstChildMarginRight));
208
+ var columnHeights = new Array(currentNumberOfColumns).fill(0);
209
+ var skip = false;
210
+ masonry.childNodes.forEach(function (child) {
211
+ if (child.nodeType !== Node.ELEMENT_NODE || child.dataset.class === 'line-break' || skip) {
212
+ return;
213
+ }
214
+
215
+ var childComputedStyle = window.getComputedStyle(child);
216
+ var childMarginTop = parseToNumber(childComputedStyle.marginTop);
217
+ var childMarginBottom = parseToNumber(childComputedStyle.marginBottom); // if any one of children isn't rendered yet, masonry's height shouldn't be computed yet
218
+
219
+ var childHeight = parseToNumber(childComputedStyle.height) ? Math.ceil(parseToNumber(childComputedStyle.height)) + childMarginTop + childMarginBottom : 0;
220
+
221
+ if (childHeight === 0) {
222
+ skip = true;
223
+ return;
224
+ } // if there is a nested image that isn't rendered yet, masonry's height shouldn't be computed yet
225
+
226
+
227
+ for (var i = 0; i < child.childNodes.length; i += 1) {
228
+ var nestedChild = child.childNodes[i];
229
+
230
+ if (nestedChild.tagName === 'IMG' && nestedChild.clientHeight === 0) {
231
+ skip = true;
232
+ break;
233
+ }
234
+ }
235
+
236
+ if (!skip) {
237
+ // find the current shortest column (where the current item will be placed)
238
+ var currentMinColumnIndex = columnHeights.indexOf(Math.min.apply(Math, _toConsumableArray(columnHeights)));
239
+ columnHeights[currentMinColumnIndex] += childHeight;
240
+ var order = currentMinColumnIndex + 1;
241
+ child.style.order = order;
242
+ }
243
+ });
244
+
245
+ if (!skip) {
246
+ // In React 18, state updates in a ResizeObserver's callback are happening after the paint which causes flickering
247
+ // when doing some visual updates in it. Using flushSync ensures that the dom will be painted after the states updates happen
248
+ // Related issue - https://github.com/facebook/react/issues/24331
249
+ flushSync(function () {
250
+ setMaxColumnHeight(Math.max.apply(Math, _toConsumableArray(columnHeights)));
251
+ setNumberOfLineBreaks(currentNumberOfColumns > 0 ? currentNumberOfColumns - 1 : 0);
252
+ });
253
+ }
254
+ };
255
+
256
+ var observer = React.useRef(typeof ResizeObserver === 'undefined' ? undefined : new ResizeObserver(handleResize));
257
+ React.useEffect(function () {
258
+ var resizeObserver = observer.current; // IE and old browsers are not supported
259
+
260
+ if (resizeObserver === undefined) {
261
+ return undefined;
262
+ }
263
+
264
+ if (masonryRef.current) {
265
+ masonryRef.current.childNodes.forEach(function (childNode) {
266
+ resizeObserver.observe(childNode);
267
+ });
268
+ }
269
+
270
+ return function () {
271
+ return resizeObserver ? resizeObserver.disconnect() : {};
272
+ };
273
+ }, [columns, spacing, children]);
274
+ var handleRef = useForkRef(ref, masonryRef); // columns are likely to have different heights and hence can start to merge;
275
+ // a line break at the end of each column prevents columns from merging
276
+
277
+ var lineBreaks = new Array(numberOfLineBreaks).fill('').map(function (_, index) {
278
+ return /*#__PURE__*/_jsx("span", {
279
+ "data-class": "line-break",
280
+ style: _extends({}, lineBreakStyle, {
281
+ order: index + 1
282
+ })
283
+ }, index);
284
+ });
285
+ return /*#__PURE__*/_jsxs(MasonryRoot, _extends({
286
+ as: component,
287
+ className: clsx(classes.root, className),
288
+ ref: handleRef,
289
+ ownerState: ownerState
290
+ }, other, {
291
+ children: [children, lineBreaks]
292
+ }));
293
+ });
294
+ process.env.NODE_ENV !== "production" ? Masonry.propTypes
295
+ /* remove-proptypes */
296
+ = {
297
+ // ----------------------------- Warning --------------------------------
298
+ // | These PropTypes are generated from the TypeScript type definitions |
299
+ // | To update them edit the d.ts file and run "yarn proptypes" |
300
+ // ----------------------------------------------------------------------
301
+
302
+ /**
303
+ * The content of the component.
304
+ */
305
+ children: PropTypes
306
+ /* @typescript-to-proptypes-ignore */
307
+ .node.isRequired,
308
+
309
+ /**
310
+ * Override or extend the styles applied to the component.
311
+ */
312
+ classes: PropTypes.object,
313
+
314
+ /**
315
+ * @ignore
316
+ */
317
+ className: PropTypes.string,
318
+
319
+ /**
320
+ * Number of columns.
321
+ * @default 4
322
+ */
323
+ columns: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
324
+
325
+ /**
326
+ * The component used for the root node.
327
+ * Either a string to use a HTML element or a component.
328
+ */
329
+ component: PropTypes.elementType,
330
+
331
+ /**
332
+ * The default number of columns of the component. This is provided for server-side rendering.
333
+ */
334
+ defaultColumns: PropTypes.number,
335
+
336
+ /**
337
+ * The default height of the component in px. This is provided for server-side rendering.
338
+ */
339
+ defaultHeight: PropTypes.number,
340
+
341
+ /**
342
+ * The default spacing of the component. Like `spacing`, it is a factor of the theme's spacing. This is provided for server-side rendering.
343
+ */
344
+ defaultSpacing: PropTypes.number,
345
+
346
+ /**
347
+ * Defines the space between children. It is a factor of the theme's spacing.
348
+ * @default 1
349
+ */
350
+ spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
351
+
352
+ /**
353
+ * Allows defining system overrides as well as additional CSS styles.
354
+ */
355
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
356
+ } : void 0;
357
+ export default Masonry;
@@ -0,0 +1,3 @@
1
+ export { default } from './Masonry';
2
+ export * from './masonryClasses';
3
+ export { default as masonryClasses } from './masonryClasses';
@@ -0,0 +1,6 @@
1
+ import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
2
+ export function getMasonryUtilityClass(slot) {
3
+ return generateUtilityClass('MuiMasonry', slot);
4
+ }
5
+ var masonryClasses = generateUtilityClasses('MuiMasonry', ['root']);
6
+ export default masonryClasses;
@@ -0,0 +1,19 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ import * as React from 'react';
3
+ var warnedOnce = false;
4
+
5
+ var warn = function warn() {
6
+ if (!warnedOnce) {
7
+ console.warn(['MUI: The MobileDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { MobileDatePicker } from '@mui/x-date-pickers'`", "or `import { MobileDatePicker } from '@mui/x-date-pickers/MobileDatePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
+ warnedOnce = true;
9
+ }
10
+ };
11
+
12
+ /**
13
+ * @ignore - do not document.
14
+ */
15
+ var MobileDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDatePicker(props, ref) {
16
+ warn();
17
+ return null;
18
+ });
19
+ export default MobileDatePicker;
@@ -0,0 +1,2 @@
1
+ export { default } from './MobileDatePicker';
2
+ export * from './MobileDatePicker';
@@ -0,0 +1,19 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ import * as React from 'react';
3
+ var warnedOnce = false;
4
+
5
+ var warn = function warn() {
6
+ if (!warnedOnce) {
7
+ console.warn(['MUI: The MobileDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { MobileDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { MobileDateRangePicker } from '@mui/x-date-pickers-pro/MobileDateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
+ warnedOnce = true;
9
+ }
10
+ };
11
+
12
+ /**
13
+ * @ignore - do not document.
14
+ */
15
+ var MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDateRangePicker() {
16
+ warn();
17
+ return null;
18
+ });
19
+ export default MobileDateRangePicker;
@@ -0,0 +1,2 @@
1
+ export { default } from './MobileDateRangePicker';
2
+ export * from './MobileDateRangePicker';