@mui/lab 5.0.0-alpha.84 → 5.0.0-alpha.85

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 (221) hide show
  1. package/AdapterDateFns/index.d.ts +1 -1
  2. package/AdapterDayjs/index.d.ts +1 -1
  3. package/AdapterLuxon/index.d.ts +1 -1
  4. package/AdapterMoment/index.d.ts +1 -1
  5. package/CHANGELOG.md +74 -2
  6. package/CalendarPicker/CalendarPicker.d.ts +10 -0
  7. package/CalendarPicker/CalendarPicker.js +21 -0
  8. package/CalendarPicker/index.d.ts +3 -2
  9. package/CalendarPicker/index.js +2 -1
  10. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +10 -0
  11. package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +35 -0
  12. package/CalendarPickerSkeleton/index.d.ts +3 -2
  13. package/CalendarPickerSkeleton/index.js +2 -1
  14. package/ClockPicker/ClockPicker.d.ts +10 -0
  15. package/ClockPicker/ClockPicker.js +21 -0
  16. package/ClockPicker/index.d.ts +3 -2
  17. package/ClockPicker/index.js +2 -1
  18. package/DatePicker/DatePicker.d.ts +10 -0
  19. package/DatePicker/DatePicker.js +466 -0
  20. package/DatePicker/index.d.ts +2 -2
  21. package/DatePicker/index.js +1 -1
  22. package/DateRangePicker/DateRangePicker.d.ts +11 -11
  23. package/DateRangePicker/index.d.ts +2 -2
  24. package/DateRangePickerDay/DateRangePickerDay.d.ts +13 -13
  25. package/DateRangePickerDay/index.d.ts +2 -2
  26. package/DateTimePicker/DateTimePicker.d.ts +10 -0
  27. package/DateTimePicker/DateTimePicker.js +554 -0
  28. package/DateTimePicker/index.d.ts +2 -2
  29. package/DateTimePicker/index.js +1 -1
  30. package/DesktopDatePicker/DesktopDatePicker.d.ts +10 -0
  31. package/DesktopDatePicker/DesktopDatePicker.js +430 -0
  32. package/DesktopDatePicker/index.d.ts +2 -2
  33. package/DesktopDatePicker/index.js +1 -1
  34. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +10 -10
  35. package/DesktopDateRangePicker/index.d.ts +2 -2
  36. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +10 -0
  37. package/DesktopDateTimePicker/DesktopDateTimePicker.js +518 -0
  38. package/DesktopDateTimePicker/index.d.ts +2 -2
  39. package/DesktopDateTimePicker/index.js +1 -1
  40. package/DesktopTimePicker/DesktopTimePicker.d.ts +10 -0
  41. package/DesktopTimePicker/DesktopTimePicker.js +348 -0
  42. package/DesktopTimePicker/index.d.ts +2 -2
  43. package/LoadingButton/loadingButtonClasses.d.ts +22 -22
  44. package/LocalizationProvider/LocalizationProvider.d.ts +10 -0
  45. package/LocalizationProvider/LocalizationProvider.js +35 -0
  46. package/LocalizationProvider/index.d.ts +2 -2
  47. package/LocalizationProvider/index.js +1 -1
  48. package/Masonry/masonryClasses.d.ts +8 -8
  49. package/MobileDatePicker/MobileDatePicker.d.ts +10 -0
  50. package/MobileDatePicker/MobileDatePicker.js +444 -0
  51. package/MobileDatePicker/index.d.ts +2 -2
  52. package/MobileDatePicker/index.js +1 -1
  53. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +10 -10
  54. package/MobileDateRangePicker/index.d.ts +2 -2
  55. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +10 -0
  56. package/MobileDateTimePicker/MobileDateTimePicker.js +532 -0
  57. package/MobileDateTimePicker/index.d.ts +2 -2
  58. package/MobileDateTimePicker/index.js +1 -1
  59. package/MobileTimePicker/MobileTimePicker.d.ts +10 -0
  60. package/MobileTimePicker/MobileTimePicker.js +362 -0
  61. package/MobileTimePicker/index.d.ts +2 -2
  62. package/MobileTimePicker/index.js +1 -1
  63. package/MonthPicker/MonthPicker.d.ts +10 -0
  64. package/MonthPicker/MonthPicker.js +21 -0
  65. package/MonthPicker/index.d.ts +3 -2
  66. package/MonthPicker/index.js +2 -1
  67. package/PickersDay/PickersDay.d.ts +10 -0
  68. package/PickersDay/PickersDay.js +35 -0
  69. package/PickersDay/index.d.ts +3 -2
  70. package/PickersDay/index.js +2 -1
  71. package/StaticDatePicker/StaticDatePicker.d.ts +10 -0
  72. package/StaticDatePicker/StaticDatePicker.js +404 -0
  73. package/StaticDatePicker/index.d.ts +2 -2
  74. package/StaticDatePicker/index.js +1 -1
  75. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +10 -10
  76. package/StaticDateRangePicker/index.d.ts +2 -2
  77. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +10 -0
  78. package/StaticDateTimePicker/StaticDateTimePicker.js +492 -0
  79. package/StaticDateTimePicker/index.d.ts +2 -2
  80. package/StaticDateTimePicker/index.js +1 -1
  81. package/StaticTimePicker/StaticTimePicker.d.ts +10 -0
  82. package/StaticTimePicker/StaticTimePicker.js +322 -0
  83. package/StaticTimePicker/index.d.ts +2 -2
  84. package/TabPanel/tabPanelClasses.d.ts +8 -8
  85. package/TimePicker/TimePicker.d.ts +10 -0
  86. package/TimePicker/TimePicker.js +384 -0
  87. package/TimePicker/index.d.ts +2 -2
  88. package/TimePicker/index.js +1 -1
  89. package/Timeline/Timeline.d.ts +59 -59
  90. package/Timeline/TimelineContext.d.ts +6 -6
  91. package/Timeline/index.d.ts +5 -5
  92. package/Timeline/timelineClasses.d.ts +3 -3
  93. package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
  94. package/TimelineContent/timelineContentClasses.d.ts +14 -14
  95. package/TimelineDot/timelineDotClasses.d.ts +24 -24
  96. package/TimelineItem/timelineItemClasses.d.ts +16 -16
  97. package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
  98. package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
  99. package/TreeItem/treeItemClasses.d.ts +24 -24
  100. package/TreeView/treeViewClasses.d.ts +8 -8
  101. package/YearPicker/YearPicker.d.ts +10 -0
  102. package/YearPicker/YearPicker.js +21 -0
  103. package/YearPicker/index.d.ts +2 -2
  104. package/index.js +1 -1
  105. package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
  106. package/internal/svg-icons/ArrowLeft.d.ts +7 -7
  107. package/internal/svg-icons/ArrowRight.d.ts +7 -7
  108. package/internal/svg-icons/Calendar.d.ts +7 -7
  109. package/internal/svg-icons/Clock.d.ts +7 -7
  110. package/internal/svg-icons/DateRange.d.ts +7 -7
  111. package/internal/svg-icons/Pen.d.ts +7 -7
  112. package/internal/svg-icons/Time.d.ts +7 -7
  113. package/legacy/CalendarPicker/CalendarPicker.js +21 -0
  114. package/legacy/CalendarPicker/index.js +2 -1
  115. package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +35 -0
  116. package/legacy/CalendarPickerSkeleton/index.js +2 -1
  117. package/legacy/ClockPicker/ClockPicker.js +21 -0
  118. package/legacy/ClockPicker/index.js +2 -1
  119. package/legacy/DatePicker/DatePicker.js +466 -0
  120. package/legacy/DatePicker/index.js +1 -1
  121. package/legacy/DateTimePicker/DateTimePicker.js +554 -0
  122. package/legacy/DateTimePicker/index.js +1 -1
  123. package/legacy/DesktopDatePicker/DesktopDatePicker.js +430 -0
  124. package/legacy/DesktopDatePicker/index.js +1 -1
  125. package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +518 -0
  126. package/legacy/DesktopDateTimePicker/index.js +1 -1
  127. package/legacy/DesktopTimePicker/DesktopTimePicker.js +348 -0
  128. package/legacy/LocalizationProvider/LocalizationProvider.js +35 -0
  129. package/legacy/LocalizationProvider/index.js +1 -1
  130. package/legacy/MobileDatePicker/MobileDatePicker.js +444 -0
  131. package/legacy/MobileDatePicker/index.js +1 -1
  132. package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +532 -0
  133. package/legacy/MobileDateTimePicker/index.js +1 -1
  134. package/legacy/MobileTimePicker/MobileTimePicker.js +362 -0
  135. package/legacy/MobileTimePicker/index.js +1 -1
  136. package/legacy/MonthPicker/MonthPicker.js +21 -0
  137. package/legacy/MonthPicker/index.js +2 -1
  138. package/legacy/PickersDay/PickersDay.js +35 -0
  139. package/legacy/PickersDay/index.js +2 -1
  140. package/legacy/StaticDatePicker/StaticDatePicker.js +404 -0
  141. package/legacy/StaticDatePicker/index.js +1 -1
  142. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +492 -0
  143. package/legacy/StaticDateTimePicker/index.js +1 -1
  144. package/legacy/StaticTimePicker/StaticTimePicker.js +322 -0
  145. package/legacy/TimePicker/TimePicker.js +384 -0
  146. package/legacy/TimePicker/index.js +1 -1
  147. package/legacy/YearPicker/YearPicker.js +21 -0
  148. package/legacy/index.js +1 -1
  149. package/modern/CalendarPicker/CalendarPicker.js +21 -0
  150. package/modern/CalendarPicker/index.js +2 -1
  151. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +35 -0
  152. package/modern/CalendarPickerSkeleton/index.js +2 -1
  153. package/modern/ClockPicker/ClockPicker.js +21 -0
  154. package/modern/ClockPicker/index.js +2 -1
  155. package/modern/DatePicker/DatePicker.js +466 -0
  156. package/modern/DatePicker/index.js +1 -1
  157. package/modern/DateTimePicker/DateTimePicker.js +554 -0
  158. package/modern/DateTimePicker/index.js +1 -1
  159. package/modern/DesktopDatePicker/DesktopDatePicker.js +430 -0
  160. package/modern/DesktopDatePicker/index.js +1 -1
  161. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +518 -0
  162. package/modern/DesktopDateTimePicker/index.js +1 -1
  163. package/modern/DesktopTimePicker/DesktopTimePicker.js +348 -0
  164. package/modern/LocalizationProvider/LocalizationProvider.js +35 -0
  165. package/modern/LocalizationProvider/index.js +1 -1
  166. package/modern/MobileDatePicker/MobileDatePicker.js +444 -0
  167. package/modern/MobileDatePicker/index.js +1 -1
  168. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +532 -0
  169. package/modern/MobileDateTimePicker/index.js +1 -1
  170. package/modern/MobileTimePicker/MobileTimePicker.js +362 -0
  171. package/modern/MobileTimePicker/index.js +1 -1
  172. package/modern/MonthPicker/MonthPicker.js +21 -0
  173. package/modern/MonthPicker/index.js +2 -1
  174. package/modern/PickersDay/PickersDay.js +35 -0
  175. package/modern/PickersDay/index.js +2 -1
  176. package/modern/StaticDatePicker/StaticDatePicker.js +404 -0
  177. package/modern/StaticDatePicker/index.js +1 -1
  178. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +492 -0
  179. package/modern/StaticDateTimePicker/index.js +1 -1
  180. package/modern/StaticTimePicker/StaticTimePicker.js +322 -0
  181. package/modern/TimePicker/TimePicker.js +384 -0
  182. package/modern/TimePicker/index.js +1 -1
  183. package/modern/YearPicker/YearPicker.js +21 -0
  184. package/modern/index.js +1 -1
  185. package/node/CalendarPicker/CalendarPicker.js +39 -0
  186. package/node/CalendarPicker/index.js +7 -3
  187. package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +54 -0
  188. package/node/CalendarPickerSkeleton/index.js +8 -4
  189. package/node/ClockPicker/ClockPicker.js +39 -0
  190. package/node/ClockPicker/index.js +7 -3
  191. package/node/DatePicker/DatePicker.js +485 -0
  192. package/node/DatePicker/index.js +4 -2
  193. package/node/DateTimePicker/DateTimePicker.js +573 -0
  194. package/node/DateTimePicker/index.js +4 -2
  195. package/node/DesktopDatePicker/DesktopDatePicker.js +449 -0
  196. package/node/DesktopDatePicker/index.js +4 -2
  197. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +537 -0
  198. package/node/DesktopDateTimePicker/index.js +4 -2
  199. package/node/DesktopTimePicker/DesktopTimePicker.js +367 -0
  200. package/node/LocalizationProvider/LocalizationProvider.js +54 -0
  201. package/node/LocalizationProvider/index.js +4 -2
  202. package/node/MobileDatePicker/MobileDatePicker.js +463 -0
  203. package/node/MobileDatePicker/index.js +4 -2
  204. package/node/MobileDateTimePicker/MobileDateTimePicker.js +551 -0
  205. package/node/MobileDateTimePicker/index.js +4 -2
  206. package/node/MobileTimePicker/MobileTimePicker.js +381 -0
  207. package/node/MobileTimePicker/index.js +4 -2
  208. package/node/MonthPicker/MonthPicker.js +39 -0
  209. package/node/MonthPicker/index.js +8 -4
  210. package/node/PickersDay/PickersDay.js +54 -0
  211. package/node/PickersDay/index.js +8 -4
  212. package/node/StaticDatePicker/StaticDatePicker.js +423 -0
  213. package/node/StaticDatePicker/index.js +4 -2
  214. package/node/StaticDateTimePicker/StaticDateTimePicker.js +511 -0
  215. package/node/StaticDateTimePicker/index.js +4 -2
  216. package/node/StaticTimePicker/StaticTimePicker.js +341 -0
  217. package/node/TimePicker/TimePicker.js +403 -0
  218. package/node/TimePicker/index.js +4 -2
  219. package/node/YearPicker/YearPicker.js +39 -0
  220. package/node/index.js +1 -1
  221. package/package.json +3 -3
@@ -1 +1 @@
1
- export { AdapterDateFns as default } from '@mui/x-date-pickers/AdapterDateFns';
1
+ export { AdapterDateFns as default } from '@mui/x-date-pickers/AdapterDateFns';
@@ -1 +1 @@
1
- export { AdapterDayjs as default } from '@mui/x-date-pickers/AdapterDayjs';
1
+ export { AdapterDayjs as default } from '@mui/x-date-pickers/AdapterDayjs';
@@ -1 +1 @@
1
- export { AdapterLuxon as default } from '@mui/x-date-pickers/AdapterLuxon';
1
+ export { AdapterLuxon as default } from '@mui/x-date-pickers/AdapterLuxon';
@@ -1 +1 @@
1
- export { AdapterMoment as default } from '@mui/x-date-pickers/AdapterMoment';
1
+ export { AdapterMoment as default } from '@mui/x-date-pickers/AdapterMoment';
package/CHANGELOG.md CHANGED
@@ -1,5 +1,77 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.8.3
4
+
5
+ <!-- generated comparing v5.8.2..master -->
6
+
7
+ _Jun 7, 2022_
8
+
9
+ A big thanks to the 15 contributors who made this release possible.
10
+ This release is mostly about 🐛 bug fixes and 📚 documentation improvements.
11
+
12
+ ## `@mui/material@5.8.3`
13
+
14
+ - [Alert] Constrain message width and allow overflow (#32747) @Janpot
15
+ - [Checkbox] Add support for CSS variables (#32579) @haneenmahd
16
+ - [Slider] Fix positioning of tooltips on vertical slider (#32919) @abhinav-22-tech
17
+
18
+ ## `@mui/system@5.8.3`
19
+
20
+ - [system] Configurable attributes for libraries (#32971) @siriwatknp
21
+
22
+ ## `@mui/codemod@5.8.3
23
+
24
+ - [codemod] Fix infinite loop in jss-to-tss-react and add TODO (#33048) @ryancogswell
25
+
26
+ ## `@mui/lab@5.0.0-alpha.85`
27
+
28
+ - [pickers] Add deprecations when importing pickers from the lab (#32950) @flaviendelangle
29
+
30
+ ## `@mui/joy@5.0.0-alpha.31`
31
+
32
+ - [Joy] Add `Slider` component and demos (#32694) @hbjORbj
33
+ - [Joy] Add articles about customization approaches (#32887) @siriwatknp
34
+ - [Joy] Add automatic adjustment page to core features (#32980) @siriwatknp
35
+ - [Joy] Add docs about dark mode (#33002) @siriwatknp
36
+ - [Joy] Add template UIs & first look blog post (#32791) @danilo-leal
37
+
38
+ ## `@mui/base@5.0.0-alpha.84`
39
+
40
+ - [base] Remove @mui/system in tests (#32945) @kevinji
41
+ - [ButtonUnstyled] Accept callbacks in componentsProps (#32991) @michaldudak
42
+ - [SwitchUnstyled] Accept callbacks in componentsProps (#32993) @michaldudak
43
+ - [TablePaginationUnstyled] Define ownerState and slot props' types (#32905) @michaldudak
44
+ - [TabPanelUnstyled] Define ownerState and slot props' types (#32928) @michaldudak
45
+ - [TabsListUnstyled] Define ownerState and slot props' types (#32925) @michaldudak
46
+
47
+ ## Docs
48
+
49
+ - [blog] Fix anchor link scroll (#32994) @oliviertassinari
50
+ - [docs] Add "Migration" section to sidebar and revise v4-v5 content (#32740) @samuelsycamore
51
+ - [docs] Add What doesn't count as a breaking change? (#32850) @oliviertassinari
52
+ - [docs] Fix 301 link @oliviertassinari
53
+ - [docs] Fix icon color in `BadgeUnstyled` docs (#32976) @ZeeshanTamboli
54
+ - [docs] Improve product identifier (#32707) @danilo-leal
55
+ - [docs] Improve UX with back to top (#32896) @oliviertassinari
56
+ - [docs] Polish overview page to Material UI (#32954) @oliviertassinari
57
+ - [docs] Redirect older URLs (#33037) @oliviertassinari
58
+ - [docs] Remove pickers page from the Lab section (#32961) @DanailH
59
+ - [docs] Show product identifier on updated MUI X Introduction pages (#32966) @samuelsycamore
60
+ - [docs] Throw on 301 links (#32939) @oliviertassinari
61
+ - [website] Add Gerda to the about page (#33038) @danilo-leal
62
+ - [website] Polish the pricing page (#32811) @oliviertassinari
63
+ - [website] Remove unnecessary `address` dependency (#32957) @michaldudak
64
+
65
+ ## Core
66
+
67
+ - [core] Improve icon synonyms (#32742) @oliviertassinari
68
+ - [core] Prepare Next.js config for React 18 (#32963) @michaldudak
69
+ - [core] Remove dead logic (#32940) @oliviertassinari
70
+ - [core] Update dependencies to fix security vulnerabilities (#32947) @michaldudak
71
+ - Add security link to README for Tidelift @mbrookes
72
+
73
+ All contributors of this release in alphabetical order: @abhinav-22-tech, @DanailH, @danilo-leal, @flaviendelangle, @haneenmahd, @hbjORbj, @Janpot, @kevinji, @mbrookes, @michaldudak, @oliviertassinari, @ryancogswell, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
74
+
3
75
  ## 5.8.2
4
76
 
5
77
  <!-- generated comparing v5.8.1..master -->
@@ -2598,7 +2670,7 @@ _Sep 1, 2021_
2598
2670
  A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
2599
2671
 
2600
2672
  - 🎉 Renamed packages to `@mui/*` as part of rebranding the company, following the strategy of expanding the library scope beyond Material Design. For more details about it, check the [GitHub discussion](https://github.com/mui/material-ui/discussions/27803).
2601
- - 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/material-ui/guides/migration-v4/#preset-safe)
2673
+ - 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/material-ui/migration/migration-v4/#preset-safe)
2602
2674
  - 🧪 Added new `<Mansory>` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj 👏!
2603
2675
 
2604
2676
  ### `@mui/material@5.0.0-rc.0`
@@ -4003,7 +4075,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
4003
4075
  />
4004
4076
  ```
4005
4077
 
4006
- > Follow [this link](https://mui.com/material-ui/guides/migration-v4/#main-content) for full migration from v4 => v5
4078
+ > Follow [this link](https://mui.com/material-ui/migration/migration-v4/) for full migration from v4 => v5
4007
4079
 
4008
4080
  #### Changes
4009
4081
 
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { CalendarPickerProps } from '@mui/x-date-pickers/CalendarPicker';
3
+ declare type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const CalendarPicker: CalendarPickerComponent;
10
+ export default CalendarPicker;
@@ -0,0 +1,21 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import * as React from 'react';
3
+ import { CalendarPicker as XCalendarPicker } from '@mui/x-date-pickers/CalendarPicker';
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ let warnedOnce = false;
6
+
7
+ const warn = () => {
8
+ if (!warnedOnce) {
9
+ console.warn(['MUI: The CalendarPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', 'The component will no longer be exported from `@mui/lab` in the first release of July 2022.', '', "You should use `import { CalendarPicker } from '@mui/x-date-pickers'`", "or `import { CalendarPicker } from '@mui/x-date-pickers/CalendarPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
10
+ warnedOnce = true;
11
+ }
12
+ };
13
+
14
+ /**
15
+ * @ignore - do not document.
16
+ */
17
+ const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker(props) {
18
+ warn();
19
+ return /*#__PURE__*/_jsx(XCalendarPicker, _extends({}, props));
20
+ });
21
+ export default CalendarPicker;
@@ -1,2 +1,3 @@
1
- export { CalendarPicker as default, calendarPickerClasses, } from '@mui/x-date-pickers/CalendarPicker';
2
- export type { CalendarPickerClassKey, CalendarPickerClasses, CalendarPickerProps, CalendarPickerView, } from '@mui/x-date-pickers/CalendarPicker';
1
+ export { default } from './CalendarPicker';
2
+ export { calendarPickerClasses } from '@mui/x-date-pickers/CalendarPicker';
3
+ export type { CalendarPickerClassKey, CalendarPickerClasses, CalendarPickerProps, CalendarPickerView, } from '@mui/x-date-pickers/CalendarPicker';
@@ -1 +1,2 @@
1
- export { CalendarPicker as default, calendarPickerClasses } from '@mui/x-date-pickers/CalendarPicker';
1
+ export { default } from './CalendarPicker';
2
+ export { calendarPickerClasses } from '@mui/x-date-pickers/CalendarPicker';
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { CalendarPickerSkeletonProps } from '@mui/x-date-pickers/CalendarPickerSkeleton';
3
+ declare type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const CalendarPickerSkeleton: CalendarPickerSkeletonComponent;
10
+ export default CalendarPickerSkeleton;
@@ -0,0 +1,35 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import * as React from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import { CalendarPickerSkeleton as XCalendarPickerSkeleton } from '@mui/x-date-pickers/CalendarPickerSkeleton';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ let warnedOnce = false;
7
+
8
+ const warn = () => {
9
+ if (!warnedOnce) {
10
+ console.warn(['MUI: The CalendarPickerSkeleton component was moved from `@mui/lab` to `@mui/x-date-pickers`.', 'The component will no longer be exported from `@mui/lab` in the first release of July 2022.', '', "You should use `import { CalendarPickerSkeleton } from '@mui/x-date-pickers'`", "or `import { CalendarPickerSkeleton } from '@mui/x-date-pickers/CalendarPickerSkeleton'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
11
+ warnedOnce = true;
12
+ }
13
+ };
14
+
15
+ /**
16
+ * @ignore - do not document.
17
+ */
18
+ const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton(props) {
19
+ warn();
20
+ return /*#__PURE__*/_jsx(XCalendarPickerSkeleton, _extends({}, props));
21
+ });
22
+ process.env.NODE_ENV !== "production" ? CalendarPickerSkeleton.propTypes
23
+ /* remove-proptypes */
24
+ = {
25
+ // ----------------------------- Warning --------------------------------
26
+ // | These PropTypes are generated from the TypeScript type definitions |
27
+ // | To update them edit TypeScript types and run "yarn proptypes" |
28
+ // ----------------------------------------------------------------------
29
+
30
+ /**
31
+ * @ignore
32
+ */
33
+ children: PropTypes.node
34
+ } : void 0;
35
+ export default CalendarPickerSkeleton;
@@ -1,2 +1,3 @@
1
- export { CalendarPickerSkeleton as default, calendarPickerSkeletonClasses, getCalendarPickerSkeletonUtilityClass, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
2
- export type { CalendarPickerSkeletonClassKey, CalendarPickerSkeletonProps, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
1
+ export { default } from './CalendarPickerSkeleton';
2
+ export { calendarPickerSkeletonClasses, getCalendarPickerSkeletonUtilityClass, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
3
+ export type { CalendarPickerSkeletonClassKey, CalendarPickerSkeletonProps, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
@@ -1 +1,2 @@
1
- export { CalendarPickerSkeleton as default, calendarPickerSkeletonClasses, getCalendarPickerSkeletonUtilityClass } from '@mui/x-date-pickers/CalendarPickerSkeleton';
1
+ export { default } from './CalendarPickerSkeleton';
2
+ export { calendarPickerSkeletonClasses, getCalendarPickerSkeletonUtilityClass } from '@mui/x-date-pickers/CalendarPickerSkeleton';
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { ClockPickerProps } from '@mui/x-date-pickers/ClockPicker';
3
+ declare type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const ClockPicker: ClockPickerComponent;
10
+ export default ClockPicker;
@@ -0,0 +1,21 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import * as React from 'react';
3
+ import { ClockPicker as XClockPicker } from '@mui/x-date-pickers/ClockPicker';
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ let warnedOnce = false;
6
+
7
+ const warn = () => {
8
+ if (!warnedOnce) {
9
+ console.warn(['MUI: The ClockPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', 'The component will no longer be exported from `@mui/lab` in the first release of July 2022.', '', "You should use `import { ClockPicker } from '@mui/x-date-pickers'`", "or `import { ClockPicker } from '@mui/x-date-pickers/ClockPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
10
+ warnedOnce = true;
11
+ }
12
+ };
13
+
14
+ /**
15
+ * @ignore - do not document.
16
+ */
17
+ const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker(props) {
18
+ warn();
19
+ return /*#__PURE__*/_jsx(XClockPicker, _extends({}, props));
20
+ });
21
+ export default ClockPicker;
@@ -1,2 +1,3 @@
1
- export { ClockPicker as default, clockPickerClasses } from '@mui/x-date-pickers/ClockPicker';
2
- export type { ClockPickerClasses, ClockPickerClassKey, ClockPickerProps, ClockPickerView, } from '@mui/x-date-pickers/ClockPicker';
1
+ export { default } from './ClockPicker';
2
+ export { clockPickerClasses } from '@mui/x-date-pickers/ClockPicker';
3
+ export type { ClockPickerClasses, ClockPickerClassKey, ClockPickerProps, ClockPickerView, } from '@mui/x-date-pickers/ClockPicker';
@@ -1 +1,2 @@
1
- export { ClockPicker as default, clockPickerClasses } from '@mui/x-date-pickers/ClockPicker';
1
+ export { default } from './ClockPicker';
2
+ export { clockPickerClasses } from '@mui/x-date-pickers/ClockPicker';
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
3
+ declare type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const DatePicker: DatePickerComponent;
10
+ export default DatePicker;