@mui/lab 7.0.0-beta.9 → 7.0.1-beta.18

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 (267) hide show
  1. package/CHANGELOG.md +615 -0
  2. package/Masonry/Masonry.js +9 -10
  3. package/TabPanel/TabPanel.d.ts +1 -1
  4. package/TabPanel/TabPanel.js +1 -2
  5. package/Timeline/Timeline.types.d.ts +1 -1
  6. package/TimelineConnector/TimelineConnector.d.ts +1 -1
  7. package/TimelineConnector/TimelineConnector.js +1 -2
  8. package/TimelineContent/TimelineContent.d.ts +2 -1
  9. package/TimelineDot/TimelineDot.d.ts +1 -1
  10. package/TimelineItem/TimelineItem.d.ts +1 -1
  11. package/TimelineOppositeContent/TimelineOppositeContent.d.ts +2 -1
  12. package/TimelineSeparator/TimelineSeparator.d.ts +1 -1
  13. package/TimelineSeparator/TimelineSeparator.js +1 -2
  14. package/esm/Masonry/Masonry.js +4 -5
  15. package/esm/TabPanel/TabPanel.d.ts +1 -1
  16. package/esm/TabPanel/TabPanel.js +1 -2
  17. package/esm/Timeline/Timeline.types.d.ts +1 -1
  18. package/esm/TimelineConnector/TimelineConnector.d.ts +1 -1
  19. package/esm/TimelineConnector/TimelineConnector.js +1 -2
  20. package/esm/TimelineContent/TimelineContent.d.ts +2 -1
  21. package/esm/TimelineDot/TimelineDot.d.ts +1 -1
  22. package/esm/TimelineItem/TimelineItem.d.ts +1 -1
  23. package/esm/TimelineOppositeContent/TimelineOppositeContent.d.ts +2 -1
  24. package/esm/TimelineSeparator/TimelineSeparator.d.ts +1 -1
  25. package/esm/TimelineSeparator/TimelineSeparator.js +1 -2
  26. package/esm/index.js +1 -1
  27. package/esm/internal/svg-icons/ArrowDropDown.d.ts +1 -1
  28. package/esm/internal/svg-icons/ArrowLeft.d.ts +1 -1
  29. package/esm/internal/svg-icons/ArrowRight.d.ts +1 -1
  30. package/esm/internal/svg-icons/Calendar.d.ts +1 -1
  31. package/esm/internal/svg-icons/Clock.d.ts +1 -1
  32. package/esm/internal/svg-icons/DateRange.d.ts +1 -1
  33. package/esm/internal/svg-icons/Pen.d.ts +1 -1
  34. package/esm/internal/svg-icons/Time.d.ts +1 -1
  35. package/index.js +1 -1
  36. package/internal/svg-icons/ArrowDropDown.d.ts +1 -1
  37. package/internal/svg-icons/ArrowLeft.d.ts +1 -1
  38. package/internal/svg-icons/ArrowRight.d.ts +1 -1
  39. package/internal/svg-icons/Calendar.d.ts +1 -1
  40. package/internal/svg-icons/Clock.d.ts +1 -1
  41. package/internal/svg-icons/DateRange.d.ts +1 -1
  42. package/internal/svg-icons/Pen.d.ts +1 -1
  43. package/internal/svg-icons/Time.d.ts +1 -1
  44. package/package.json +17 -27
  45. package/modern/AdapterDateFns/AdapterDateFns.d.ts +0 -6
  46. package/modern/AdapterDateFns/AdapterDateFns.js +0 -16
  47. package/modern/AdapterDateFns/index.d.ts +0 -1
  48. package/modern/AdapterDateFns/index.js +0 -1
  49. package/modern/AdapterDayjs/AdapterDayjs.d.ts +0 -6
  50. package/modern/AdapterDayjs/AdapterDayjs.js +0 -16
  51. package/modern/AdapterDayjs/index.d.ts +0 -1
  52. package/modern/AdapterDayjs/index.js +0 -1
  53. package/modern/AdapterLuxon/AdapterLuxon.d.ts +0 -6
  54. package/modern/AdapterLuxon/AdapterLuxon.js +0 -16
  55. package/modern/AdapterLuxon/index.d.ts +0 -1
  56. package/modern/AdapterLuxon/index.js +0 -1
  57. package/modern/AdapterMoment/AdapterMoment.d.ts +0 -6
  58. package/modern/AdapterMoment/AdapterMoment.js +0 -16
  59. package/modern/AdapterMoment/index.d.ts +0 -1
  60. package/modern/AdapterMoment/index.js +0 -1
  61. package/modern/CalendarPicker/CalendarPicker.d.ts +0 -15
  62. package/modern/CalendarPicker/CalendarPicker.js +0 -21
  63. package/modern/CalendarPicker/index.d.ts +0 -2
  64. package/modern/CalendarPicker/index.js +0 -2
  65. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +0 -14
  66. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +0 -25
  67. package/modern/CalendarPickerSkeleton/index.d.ts +0 -2
  68. package/modern/CalendarPickerSkeleton/index.js +0 -2
  69. package/modern/ClockPicker/ClockPicker.d.ts +0 -15
  70. package/modern/ClockPicker/ClockPicker.js +0 -21
  71. package/modern/ClockPicker/index.d.ts +0 -2
  72. package/modern/ClockPicker/index.js +0 -2
  73. package/modern/DatePicker/DatePicker.d.ts +0 -10
  74. package/modern/DatePicker/DatePicker.js +0 -19
  75. package/modern/DatePicker/index.d.ts +0 -2
  76. package/modern/DatePicker/index.js +0 -2
  77. package/modern/DateRangePicker/DateRangePicker.d.ts +0 -12
  78. package/modern/DateRangePicker/DateRangePicker.js +0 -18
  79. package/modern/DateRangePicker/index.d.ts +0 -2
  80. package/modern/DateRangePicker/index.js +0 -2
  81. package/modern/DateRangePickerDay/DateRangePickerDay.d.ts +0 -14
  82. package/modern/DateRangePickerDay/DateRangePickerDay.js +0 -22
  83. package/modern/DateRangePickerDay/index.d.ts +0 -2
  84. package/modern/DateRangePickerDay/index.js +0 -2
  85. package/modern/DateTimePicker/DateTimePicker.d.ts +0 -11
  86. package/modern/DateTimePicker/DateTimePicker.js +0 -20
  87. package/modern/DateTimePicker/index.d.ts +0 -2
  88. package/modern/DateTimePicker/index.js +0 -2
  89. package/modern/DesktopDatePicker/DesktopDatePicker.d.ts +0 -11
  90. package/modern/DesktopDatePicker/DesktopDatePicker.js +0 -20
  91. package/modern/DesktopDatePicker/index.d.ts +0 -2
  92. package/modern/DesktopDatePicker/index.js +0 -2
  93. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +0 -11
  94. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -18
  95. package/modern/DesktopDateRangePicker/index.d.ts +0 -2
  96. package/modern/DesktopDateRangePicker/index.js +0 -2
  97. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +0 -11
  98. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +0 -20
  99. package/modern/DesktopDateTimePicker/index.d.ts +0 -2
  100. package/modern/DesktopDateTimePicker/index.js +0 -2
  101. package/modern/DesktopTimePicker/DesktopTimePicker.d.ts +0 -11
  102. package/modern/DesktopTimePicker/DesktopTimePicker.js +0 -20
  103. package/modern/DesktopTimePicker/index.d.ts +0 -2
  104. package/modern/DesktopTimePicker/index.js +0 -2
  105. package/modern/LoadingButton/LoadingButton.d.ts +0 -3
  106. package/modern/LoadingButton/LoadingButton.js +0 -23
  107. package/modern/LoadingButton/index.d.ts +0 -2
  108. package/modern/LoadingButton/index.js +0 -1
  109. package/modern/LocalizationProvider/LocalizationProvider.d.ts +0 -11
  110. package/modern/LocalizationProvider/LocalizationProvider.js +0 -19
  111. package/modern/LocalizationProvider/index.d.ts +0 -2
  112. package/modern/LocalizationProvider/index.js +0 -2
  113. package/modern/Masonry/Masonry.d.ts +0 -62
  114. package/modern/Masonry/Masonry.js +0 -338
  115. package/modern/Masonry/index.d.ts +0 -4
  116. package/modern/Masonry/index.js +0 -3
  117. package/modern/Masonry/masonryClasses.d.ts +0 -8
  118. package/modern/Masonry/masonryClasses.js +0 -7
  119. package/modern/MobileDatePicker/MobileDatePicker.d.ts +0 -11
  120. package/modern/MobileDatePicker/MobileDatePicker.js +0 -20
  121. package/modern/MobileDatePicker/index.d.ts +0 -2
  122. package/modern/MobileDatePicker/index.js +0 -2
  123. package/modern/MobileDateRangePicker/MobileDateRangePicker.d.ts +0 -11
  124. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +0 -18
  125. package/modern/MobileDateRangePicker/index.d.ts +0 -2
  126. package/modern/MobileDateRangePicker/index.js +0 -2
  127. package/modern/MobileDateTimePicker/MobileDateTimePicker.d.ts +0 -11
  128. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +0 -20
  129. package/modern/MobileDateTimePicker/index.d.ts +0 -2
  130. package/modern/MobileDateTimePicker/index.js +0 -2
  131. package/modern/MobileTimePicker/MobileTimePicker.d.ts +0 -11
  132. package/modern/MobileTimePicker/MobileTimePicker.js +0 -20
  133. package/modern/MobileTimePicker/index.d.ts +0 -2
  134. package/modern/MobileTimePicker/index.js +0 -2
  135. package/modern/MonthPicker/MonthPicker.d.ts +0 -14
  136. package/modern/MonthPicker/MonthPicker.js +0 -25
  137. package/modern/MonthPicker/index.d.ts +0 -2
  138. package/modern/MonthPicker/index.js +0 -2
  139. package/modern/PickersDay/PickersDay.d.ts +0 -14
  140. package/modern/PickersDay/PickersDay.js +0 -25
  141. package/modern/PickersDay/index.d.ts +0 -2
  142. package/modern/PickersDay/index.js +0 -2
  143. package/modern/StaticDatePicker/StaticDatePicker.d.ts +0 -11
  144. package/modern/StaticDatePicker/StaticDatePicker.js +0 -20
  145. package/modern/StaticDatePicker/index.d.ts +0 -2
  146. package/modern/StaticDatePicker/index.js +0 -2
  147. package/modern/StaticDateRangePicker/StaticDateRangePicker.d.ts +0 -11
  148. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +0 -18
  149. package/modern/StaticDateRangePicker/index.d.ts +0 -2
  150. package/modern/StaticDateRangePicker/index.js +0 -2
  151. package/modern/StaticDateTimePicker/StaticDateTimePicker.d.ts +0 -11
  152. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +0 -20
  153. package/modern/StaticDateTimePicker/index.d.ts +0 -2
  154. package/modern/StaticDateTimePicker/index.js +0 -2
  155. package/modern/StaticTimePicker/StaticTimePicker.d.ts +0 -11
  156. package/modern/StaticTimePicker/StaticTimePicker.js +0 -20
  157. package/modern/StaticTimePicker/index.d.ts +0 -2
  158. package/modern/StaticTimePicker/index.js +0 -2
  159. package/modern/TabContext/TabContext.d.ts +0 -29
  160. package/modern/TabContext/TabContext.js +0 -76
  161. package/modern/TabContext/index.d.ts +0 -2
  162. package/modern/TabContext/index.js +0 -2
  163. package/modern/TabList/TabList.d.ts +0 -30
  164. package/modern/TabList/TabList.js +0 -44
  165. package/modern/TabList/index.d.ts +0 -2
  166. package/modern/TabList/index.js +0 -1
  167. package/modern/TabPanel/TabPanel.d.ts +0 -41
  168. package/modern/TabPanel/TabPanel.js +0 -96
  169. package/modern/TabPanel/index.d.ts +0 -4
  170. package/modern/TabPanel/index.js +0 -3
  171. package/modern/TabPanel/tabPanelClasses.d.ts +0 -10
  172. package/modern/TabPanel/tabPanelClasses.js +0 -7
  173. package/modern/TimePicker/TimePicker.d.ts +0 -11
  174. package/modern/TimePicker/TimePicker.js +0 -20
  175. package/modern/TimePicker/index.d.ts +0 -2
  176. package/modern/TimePicker/index.js +0 -2
  177. package/modern/Timeline/Timeline.d.ts +0 -24
  178. package/modern/Timeline/Timeline.js +0 -114
  179. package/modern/Timeline/Timeline.types.d.ts +0 -27
  180. package/modern/Timeline/Timeline.types.js +0 -1
  181. package/modern/Timeline/TimelineContext.d.ts +0 -6
  182. package/modern/Timeline/TimelineContext.js +0 -12
  183. package/modern/Timeline/index.d.ts +0 -4
  184. package/modern/Timeline/index.js +0 -4
  185. package/modern/Timeline/timelineClasses.d.ts +0 -16
  186. package/modern/Timeline/timelineClasses.js +0 -7
  187. package/modern/TimelineConnector/TimelineConnector.d.ts +0 -31
  188. package/modern/TimelineConnector/TimelineConnector.js +0 -72
  189. package/modern/TimelineConnector/index.d.ts +0 -4
  190. package/modern/TimelineConnector/index.js +0 -3
  191. package/modern/TimelineConnector/timelineConnectorClasses.d.ts +0 -8
  192. package/modern/TimelineConnector/timelineConnectorClasses.js +0 -7
  193. package/modern/TimelineContent/TimelineContent.d.ts +0 -32
  194. package/modern/TimelineContent/TimelineContent.js +0 -89
  195. package/modern/TimelineContent/index.d.ts +0 -4
  196. package/modern/TimelineContent/index.js +0 -3
  197. package/modern/TimelineContent/timelineContentClasses.d.ts +0 -16
  198. package/modern/TimelineContent/timelineContentClasses.js +0 -7
  199. package/modern/TimelineDot/TimelineDot.d.ts +0 -44
  200. package/modern/TimelineDot/TimelineDot.js +0 -123
  201. package/modern/TimelineDot/index.d.ts +0 -4
  202. package/modern/TimelineDot/index.js +0 -3
  203. package/modern/TimelineDot/timelineDotClasses.d.ts +0 -24
  204. package/modern/TimelineDot/timelineDotClasses.js +0 -7
  205. package/modern/TimelineItem/TimelineItem.d.ts +0 -35
  206. package/modern/TimelineItem/TimelineItem.js +0 -128
  207. package/modern/TimelineItem/index.d.ts +0 -4
  208. package/modern/TimelineItem/index.js +0 -3
  209. package/modern/TimelineItem/timelineItemClasses.d.ts +0 -18
  210. package/modern/TimelineItem/timelineItemClasses.js +0 -7
  211. package/modern/TimelineOppositeContent/TimelineOppositeContent.d.ts +0 -35
  212. package/modern/TimelineOppositeContent/TimelineOppositeContent.js +0 -91
  213. package/modern/TimelineOppositeContent/index.d.ts +0 -4
  214. package/modern/TimelineOppositeContent/index.js +0 -3
  215. package/modern/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +0 -16
  216. package/modern/TimelineOppositeContent/timelineOppositeContentClasses.js +0 -7
  217. package/modern/TimelineSeparator/TimelineSeparator.d.ts +0 -31
  218. package/modern/TimelineSeparator/TimelineSeparator.js +0 -69
  219. package/modern/TimelineSeparator/index.d.ts +0 -4
  220. package/modern/TimelineSeparator/index.js +0 -3
  221. package/modern/TimelineSeparator/timelineSeparatorClasses.d.ts +0 -8
  222. package/modern/TimelineSeparator/timelineSeparatorClasses.js +0 -7
  223. package/modern/TreeItem/TreeItem.d.ts +0 -11
  224. package/modern/TreeItem/TreeItem.js +0 -19
  225. package/modern/TreeItem/index.d.ts +0 -2
  226. package/modern/TreeItem/index.js +0 -2
  227. package/modern/TreeView/TreeView.d.ts +0 -11
  228. package/modern/TreeView/TreeView.js +0 -20
  229. package/modern/TreeView/index.d.ts +0 -2
  230. package/modern/TreeView/index.js +0 -2
  231. package/modern/YearPicker/YearPicker.d.ts +0 -15
  232. package/modern/YearPicker/YearPicker.js +0 -24
  233. package/modern/YearPicker/index.d.ts +0 -2
  234. package/modern/YearPicker/index.js +0 -2
  235. package/modern/index.d.ts +0 -78
  236. package/modern/index.js +0 -88
  237. package/modern/internal/convertTimelinePositionToClass.d.ts +0 -1
  238. package/modern/internal/convertTimelinePositionToClass.js +0 -4
  239. package/modern/internal/svg-icons/ArrowDropDown.d.ts +0 -7
  240. package/modern/internal/svg-icons/ArrowDropDown.js +0 -12
  241. package/modern/internal/svg-icons/ArrowLeft.d.ts +0 -7
  242. package/modern/internal/svg-icons/ArrowLeft.js +0 -12
  243. package/modern/internal/svg-icons/ArrowRight.d.ts +0 -7
  244. package/modern/internal/svg-icons/ArrowRight.js +0 -12
  245. package/modern/internal/svg-icons/Calendar.d.ts +0 -7
  246. package/modern/internal/svg-icons/Calendar.js +0 -12
  247. package/modern/internal/svg-icons/Clock.d.ts +0 -7
  248. package/modern/internal/svg-icons/Clock.js +0 -16
  249. package/modern/internal/svg-icons/DateRange.d.ts +0 -7
  250. package/modern/internal/svg-icons/DateRange.js +0 -12
  251. package/modern/internal/svg-icons/Pen.d.ts +0 -7
  252. package/modern/internal/svg-icons/Pen.js +0 -12
  253. package/modern/internal/svg-icons/Time.d.ts +0 -7
  254. package/modern/internal/svg-icons/Time.js +0 -16
  255. package/modern/package.json +0 -1
  256. package/modern/themeAugmentation/components.d.ts +0 -63
  257. package/modern/themeAugmentation/components.js +0 -2
  258. package/modern/themeAugmentation/index.d.ts +0 -3
  259. package/modern/themeAugmentation/index.js +0 -1
  260. package/modern/themeAugmentation/overrides.d.ts +0 -28
  261. package/modern/themeAugmentation/overrides.js +0 -4
  262. package/modern/themeAugmentation/props.d.ts +0 -28
  263. package/modern/themeAugmentation/props.js +0 -2
  264. package/modern/useAutocomplete/index.d.ts +0 -1
  265. package/modern/useAutocomplete/index.js +0 -1
  266. package/modern/zero-styled/index.d.ts +0 -1
  267. package/modern/zero-styled/index.js +0 -2
@@ -1,25 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The PickersDay component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { PickersDay } from '@mui/x-date-pickers'`", "or `import { PickersDay } from '@mui/x-date-pickers/PickersDay'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The PickersDay 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/.
14
- * @ignore - do not document.
15
- */
16
- const PickersDay = /*#__PURE__*/React.forwardRef(function DeprecatedPickersDay() {
17
- warn();
18
- return null;
19
- });
20
- export default PickersDay;
21
- export const pickersDayClasses = {};
22
- export const getPickersDayUtilityClass = slot => {
23
- warn();
24
- return '';
25
- };
@@ -1,2 +0,0 @@
1
- export { default } from "./PickersDay.js";
2
- export * from "./PickersDay.js";
@@ -1,2 +0,0 @@
1
- export { default } from "./PickersDay.js";
2
- export * from "./PickersDay.js";
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
3
- propTypes?: any;
4
- };
5
- /**
6
- * @deprecated The StaticDatePicker 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/.
7
- * @ignore - do not document.
8
- */
9
- declare const StaticDatePicker: StaticDatePickerComponent;
10
- export default StaticDatePicker;
11
- export type StaticDatePickerProps<TDate> = Record<any, any>;
@@ -1,20 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The StaticDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { StaticDatePicker } from '@mui/x-date-pickers'`", "or `import { StaticDatePicker } from '@mui/x-date-pickers/StaticDatePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The StaticDatePicker 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/.
14
- * @ignore - do not document.
15
- */
16
- const StaticDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticDatePicker() {
17
- warn();
18
- return null;
19
- });
20
- export default StaticDatePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./StaticDatePicker.js";
2
- export * from "./StaticDatePicker.js";
@@ -1,2 +0,0 @@
1
- export { default } from "./StaticDatePicker.js";
2
- export * from "./StaticDatePicker.js";
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
3
- propTypes?: any;
4
- };
5
- /**
6
- * @deprecated The StaticDateRangePicker 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/.
7
- * @ignore - do not document.
8
- */
9
- declare const StaticDateRangePicker: StaticDateRangePickerComponent;
10
- export default StaticDateRangePicker;
11
- export type StaticDateRangePickerProps = Record<any, any>;
@@ -1,18 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-unused-vars */
2
- import * as React from 'react';
3
- let warnedOnce = false;
4
- const warn = () => {
5
- if (!warnedOnce) {
6
- console.warn(['MUI: The StaticDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { StaticDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { StaticDateRangePicker } from '@mui/x-date-pickers-pro/StaticDateRangePicker'`", '', '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
- * @deprecated The StaticDateRangePicker 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/.
12
- * @ignore - do not document.
13
- */
14
- const StaticDateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticDateRangePicker() {
15
- warn();
16
- return null;
17
- });
18
- export default StaticDateRangePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./StaticDateRangePicker.js";
2
- export * from "./StaticDateRangePicker.js";
@@ -1,2 +0,0 @@
1
- export { default } from "./StaticDateRangePicker.js";
2
- export * from "./StaticDateRangePicker.js";
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
3
- propTypes?: any;
4
- };
5
- /**
6
- * @deprecated The StaticDateTimePicker 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/.
7
- * @ignore - do not document.
8
- */
9
- declare const StaticDateTimePicker: StaticDateTimePickerComponent;
10
- export default StaticDateTimePicker;
11
- export type StaticDateTimePickerProps<TDate> = Record<any, any>;
@@ -1,20 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The StaticDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { StaticDateTimePicker } from '@mui/x-date-pickers'`", "or `import { StaticDateTimePicker } from '@mui/x-date-pickers/StaticDateTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The StaticDateTimePicker 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/.
14
- * @ignore - do not document.
15
- */
16
- const StaticDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticDateTimePicker() {
17
- warn();
18
- return null;
19
- });
20
- export default StaticDateTimePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./StaticDateTimePicker.js";
2
- export * from "./StaticDateTimePicker.js";
@@ -1,2 +0,0 @@
1
- export { default } from "./StaticDateTimePicker.js";
2
- export * from "./StaticDateTimePicker.js";
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
3
- propTypes?: any;
4
- };
5
- /**
6
- * @deprecated The StaticTimePicker 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/.
7
- * @ignore - do not document.
8
- */
9
- declare const StaticTimePicker: StaticTimePickerComponent;
10
- export default StaticTimePicker;
11
- export type StaticTimePickerProps<TDate> = Record<any, any>;
@@ -1,20 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The StaticTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { StaticTimePicker } from '@mui/x-date-pickers'`", "or `import { StaticTimePicker } from '@mui/x-date-pickers/StaticTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The StaticTimePicker 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/.
14
- * @ignore - do not document.
15
- */
16
- const StaticTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticTimePicker() {
17
- warn();
18
- return null;
19
- });
20
- export default StaticTimePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./StaticTimePicker.js";
2
- export * from "./StaticTimePicker.js";
@@ -1,2 +0,0 @@
1
- export { default } from "./StaticTimePicker.js";
2
- export * from "./StaticTimePicker.js";
@@ -1,29 +0,0 @@
1
- import * as React from 'react';
2
- export interface TabContextValue {
3
- idPrefix: string;
4
- value: string;
5
- }
6
- export interface TabContextProps {
7
- /**
8
- * The content of the component.
9
- */
10
- children?: React.ReactNode;
11
- /**
12
- * The value of the currently selected `Tab`.
13
- */
14
- value: string | number;
15
- }
16
- /**
17
- *
18
- * Demos:
19
- *
20
- * - [Tabs](https://mui.com/material-ui/react-tabs/)
21
- *
22
- * API:
23
- *
24
- * - [TabContext API](https://mui.com/material-ui/api/tab-context/)
25
- */
26
- export default function TabContext(props: TabContextProps): React.JSX.Element;
27
- export function useTabContext(): TabContextValue | null;
28
- export function getPanelId(context: TabContextValue, tabValue: string): string;
29
- export function getTabId(context: TabContextValue, tabValue: string): string;
@@ -1,76 +0,0 @@
1
- 'use client';
2
-
3
- import * as React from 'react';
4
- import PropTypes from 'prop-types';
5
-
6
- /**
7
- * @type {React.Context<{ idPrefix: string; value: string } | null>}
8
- */
9
- import { jsx as _jsx } from "react/jsx-runtime";
10
- const Context = /*#__PURE__*/React.createContext(null);
11
- if (process.env.NODE_ENV !== 'production') {
12
- Context.displayName = 'TabContext';
13
- }
14
- function useUniquePrefix() {
15
- const [id, setId] = React.useState(null);
16
- React.useEffect(() => {
17
- setId(`mui-p-${Math.round(Math.random() * 1e5)}`);
18
- }, []);
19
- return id;
20
- }
21
- export default function TabContext(props) {
22
- const {
23
- children,
24
- value
25
- } = props;
26
- const idPrefix = useUniquePrefix();
27
- const context = React.useMemo(() => {
28
- return {
29
- idPrefix,
30
- value
31
- };
32
- }, [idPrefix, value]);
33
- return /*#__PURE__*/_jsx(Context.Provider, {
34
- value: context,
35
- children: children
36
- });
37
- }
38
- process.env.NODE_ENV !== "production" ? TabContext.propTypes /* remove-proptypes */ = {
39
- // ┌────────────────────────────── Warning ──────────────────────────────┐
40
- // │ These PropTypes are generated from the TypeScript type definitions. │
41
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
42
- // └─────────────────────────────────────────────────────────────────────┘
43
- /**
44
- * The content of the component.
45
- */
46
- children: PropTypes.node,
47
- /**
48
- * The value of the currently selected `Tab`.
49
- */
50
- value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired
51
- } : void 0;
52
-
53
- /**
54
- * @returns {unknown}
55
- */
56
- export function useTabContext() {
57
- return React.useContext(Context);
58
- }
59
- export function getPanelId(context, value) {
60
- const {
61
- idPrefix
62
- } = context;
63
- if (idPrefix === null) {
64
- return null;
65
- }
66
- return `${context.idPrefix}-P-${value}`;
67
- }
68
- export function getTabId(context, value) {
69
- const {
70
- idPrefix
71
- } = context;
72
- if (idPrefix === null) {
73
- return null;
74
- }
75
- return `${context.idPrefix}-T-${value}`;
76
- }
@@ -1,2 +0,0 @@
1
- export { default } from "./TabContext.js";
2
- export * from "./TabContext.js";
@@ -1,2 +0,0 @@
1
- export { default } from "./TabContext.js";
2
- export * from "./TabContext.js";
@@ -1,30 +0,0 @@
1
- import * as React from 'react';
2
- import { TabsTypeMap } from '@mui/material/Tabs';
3
- import { DistributiveOmit } from '@mui/types';
4
- import { OverridableComponent, OverrideProps } from '@mui/material/OverridableComponent';
5
- interface TabListOwnProps extends DistributiveOmit<TabsTypeMap['props'], 'children' | 'value'> {
6
- /**
7
- * A list of `<Tab />` elements.
8
- */
9
- children?: React.ReactNode;
10
- }
11
- export interface TabListTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = TabsTypeMap['defaultComponent']> {
12
- props: AdditionalProps & TabListOwnProps;
13
- defaultComponent: RootComponent;
14
- }
15
-
16
- /**
17
- *
18
- * Demos:
19
- *
20
- * - [Tabs](https://mui.com/material-ui/react-tabs/)
21
- *
22
- * API:
23
- *
24
- * - [TabList API](https://mui.com/material-ui/api/tab-list/)
25
- * - inherits [Tabs API](https://mui.com/material-ui/api/tabs/)
26
- */
27
- declare const TabList: OverridableComponent<TabListTypeMap>;
28
- export type TabListClassKey = keyof NonNullable<TabListTypeMap['props']['classes']>;
29
- export type TabListProps<RootComponent extends React.ElementType = TabListTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TabListTypeMap<AdditionalProps, RootComponent>, RootComponent>;
30
- export default TabList;
@@ -1,44 +0,0 @@
1
- 'use client';
2
-
3
- import * as React from 'react';
4
- import PropTypes from 'prop-types';
5
- import Tabs from '@mui/material/Tabs';
6
- import { useTabContext, getTabId, getPanelId } from "../TabContext/index.js";
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- const TabList = /*#__PURE__*/React.forwardRef(function TabList(props, ref) {
9
- const {
10
- children: childrenProp,
11
- ...other
12
- } = props;
13
- const context = useTabContext();
14
- if (context === null) {
15
- throw new TypeError('No TabContext provided');
16
- }
17
- const children = React.Children.map(childrenProp, child => {
18
- if (! /*#__PURE__*/React.isValidElement(child)) {
19
- return null;
20
- }
21
- return /*#__PURE__*/React.cloneElement(child, {
22
- // SOMEDAY: `Tabs` will set those themselves
23
- 'aria-controls': getPanelId(context, child.props.value),
24
- id: getTabId(context, child.props.value)
25
- });
26
- });
27
- return /*#__PURE__*/_jsx(Tabs, {
28
- ...other,
29
- ref: ref,
30
- value: context.value,
31
- children: children
32
- });
33
- });
34
- process.env.NODE_ENV !== "production" ? TabList.propTypes /* remove-proptypes */ = {
35
- // ┌────────────────────────────── Warning ──────────────────────────────┐
36
- // │ These PropTypes are generated from the TypeScript type definitions. │
37
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
38
- // └─────────────────────────────────────────────────────────────────────┘
39
- /**
40
- * A list of `<Tab />` elements.
41
- */
42
- children: PropTypes.node
43
- } : void 0;
44
- export default TabList;
@@ -1,2 +0,0 @@
1
- export { default } from "./TabList.js";
2
- export * from "./TabList.js";
@@ -1 +0,0 @@
1
- export { default } from "./TabList.js";
@@ -1,41 +0,0 @@
1
- import * as React from 'react';
2
- import { InternalStandardProps as StandardProps } from '@mui/material';
3
- import { Theme } from '@mui/material/styles';
4
- import { SxProps } from '@mui/system';
5
- import { TabPanelClasses } from "./tabPanelClasses.js";
6
- export interface TabPanelProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
7
- /**
8
- * The content of the component.
9
- */
10
- children?: React.ReactNode;
11
- /**
12
- * Override or extend the styles applied to the component.
13
- */
14
- classes?: Partial<TabPanelClasses>;
15
- /**
16
- * The system prop that allows defining system overrides as well as additional CSS styles.
17
- */
18
- sx?: SxProps<Theme>;
19
- /**
20
- * The `value` of the corresponding `Tab`. Must use the index of the `Tab` when
21
- * no `value` was passed to `Tab`.
22
- */
23
- value: string | number;
24
- /**
25
- * Always keep the children in the DOM.
26
- * @default false
27
- */
28
- keepMounted?: boolean;
29
- }
30
-
31
- /**
32
- *
33
- * Demos:
34
- *
35
- * - [Tabs](https://mui.com/material-ui/react-tabs/)
36
- *
37
- * API:
38
- *
39
- * - [TabPanel API](https://mui.com/material-ui/api/tab-panel/)
40
- */
41
- export default function TabPanel(props: TabPanelProps): React.JSX.Element;
@@ -1,96 +0,0 @@
1
- 'use client';
2
-
3
- import * as React from 'react';
4
- import PropTypes from 'prop-types';
5
- import clsx from 'clsx';
6
- import { styled, useThemeProps } from '@mui/material/styles';
7
- import composeClasses from '@mui/utils/composeClasses';
8
- import { getTabPanelUtilityClass } from "./tabPanelClasses.js";
9
- import { getPanelId, getTabId, useTabContext } from "../TabContext/index.js";
10
- import { jsx as _jsx } from "react/jsx-runtime";
11
- const useUtilityClasses = ownerState => {
12
- const {
13
- classes,
14
- hidden
15
- } = ownerState;
16
- const slots = {
17
- root: ['root', hidden && 'hidden']
18
- };
19
- return composeClasses(slots, getTabPanelUtilityClass, classes);
20
- };
21
- const TabPanelRoot = styled('div', {
22
- name: 'MuiTabPanel',
23
- slot: 'Root',
24
- overridesResolver: (props, styles) => styles.root
25
- })(({
26
- theme
27
- }) => ({
28
- padding: theme.spacing(3)
29
- }));
30
- const TabPanel = /*#__PURE__*/React.forwardRef(function TabPanel(inProps, ref) {
31
- const props = useThemeProps({
32
- props: inProps,
33
- name: 'MuiTabPanel'
34
- });
35
- const {
36
- children,
37
- className,
38
- value,
39
- keepMounted = false,
40
- ...other
41
- } = props;
42
- const ownerState = {
43
- ...props
44
- };
45
- const classes = useUtilityClasses(ownerState);
46
- const context = useTabContext();
47
- if (context === null) {
48
- throw new TypeError('No TabContext provided');
49
- }
50
- const id = getPanelId(context, value);
51
- const tabId = getTabId(context, value);
52
- return /*#__PURE__*/_jsx(TabPanelRoot, {
53
- "aria-labelledby": tabId,
54
- className: clsx(classes.root, className),
55
- hidden: value !== context.value,
56
- id: id,
57
- ref: ref,
58
- role: "tabpanel",
59
- ownerState: ownerState,
60
- ...other,
61
- children: (keepMounted || value === context.value) && children
62
- });
63
- });
64
- process.env.NODE_ENV !== "production" ? TabPanel.propTypes /* remove-proptypes */ = {
65
- // ┌────────────────────────────── Warning ──────────────────────────────┐
66
- // │ These PropTypes are generated from the TypeScript type definitions. │
67
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
68
- // └─────────────────────────────────────────────────────────────────────┘
69
- /**
70
- * The content of the component.
71
- */
72
- children: PropTypes.node,
73
- /**
74
- * Override or extend the styles applied to the component.
75
- */
76
- classes: PropTypes.object,
77
- /**
78
- * @ignore
79
- */
80
- className: PropTypes.string,
81
- /**
82
- * Always keep the children in the DOM.
83
- * @default false
84
- */
85
- keepMounted: PropTypes.bool,
86
- /**
87
- * The system prop that allows defining system overrides as well as additional CSS styles.
88
- */
89
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
90
- /**
91
- * The `value` of the corresponding `Tab`. Must use the index of the `Tab` when
92
- * no `value` was passed to `Tab`.
93
- */
94
- value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired
95
- } : void 0;
96
- export default TabPanel;
@@ -1,4 +0,0 @@
1
- export { default } from "./TabPanel.js";
2
- export * from "./TabPanel.js";
3
- export { default as tabPanelClasses } from "./tabPanelClasses.js";
4
- export * from "./tabPanelClasses.js";
@@ -1,3 +0,0 @@
1
- export { default } from "./TabPanel.js";
2
- export { default as tabPanelClasses } from "./tabPanelClasses.js";
3
- export * from "./tabPanelClasses.js";
@@ -1,10 +0,0 @@
1
- export interface TabPanelClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root `div` element if `hidden={true}`. */
5
- hidden: string;
6
- }
7
- export type TabPanelClassKey = keyof TabPanelClasses;
8
- export declare function getTabPanelUtilityClass(slot: string): string;
9
- declare const tabPanelClasses: TabPanelClasses;
10
- export default tabPanelClasses;
@@ -1,7 +0,0 @@
1
- import generateUtilityClass from '@mui/utils/generateUtilityClass';
2
- import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
3
- export function getTabPanelUtilityClass(slot) {
4
- return generateUtilityClass('MuiTabPanel', slot);
5
- }
6
- const tabPanelClasses = generateUtilityClasses('MuiTabPanel', ['root', 'hidden']);
7
- export default tabPanelClasses;
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
3
- propTypes?: any;
4
- };
5
- /**
6
- * @deprecated The StaticTimePicker 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/.
7
- * @ignore - do not document.
8
- */
9
- declare const TimePicker: TimePickerComponent;
10
- export default TimePicker;
11
- export type TimePickerProps<TDate> = Record<any, any>;
@@ -1,20 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The TimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { TimePicker } from '@mui/x-date-pickers'`", "or `import { TimePicker } from '@mui/x-date-pickers/TimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The StaticTimePicker 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/.
14
- * @ignore - do not document.
15
- */
16
- const TimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedTimePicker() {
17
- warn();
18
- return null;
19
- });
20
- export default TimePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./TimePicker.js";
2
- export * from "./TimePicker.js";
@@ -1,2 +0,0 @@
1
- export { default } from "./TimePicker.js";
2
- export * from "./TimePicker.js";
@@ -1,24 +0,0 @@
1
- import * as React from 'react';
2
- import { TimelineProps } from "./Timeline.types.js";
3
- /**
4
- *
5
- * Demos:
6
- *
7
- * - [Timeline](https://mui.com/material-ui/react-timeline/)
8
- *
9
- * API:
10
- *
11
- * - [Timeline API](https://mui.com/material-ui/api/timeline/)
12
- */
13
- declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLUListElement>>;
14
- /**
15
- *
16
- * Demos:
17
- *
18
- * - [Timeline](https://mui.com/components/timeline/)
19
- *
20
- * API:
21
- *
22
- * - [Timeline API](https://mui.com/api/timeline/)
23
- */
24
- export default Timeline;