@mui/x-date-pickers 9.5.0 → 9.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (547) hide show
  1. package/AdapterDateFns/AdapterDateFns.d.mts +2 -2
  2. package/AdapterDateFns/AdapterDateFns.d.ts +2 -2
  3. package/AdapterDateFnsBase/AdapterDateFnsBase.d.mts +2 -2
  4. package/AdapterDateFnsBase/AdapterDateFnsBase.d.ts +2 -2
  5. package/AdapterDateFnsJalali/AdapterDateFnsJalali.d.mts +2 -2
  6. package/AdapterDateFnsJalali/AdapterDateFnsJalali.d.ts +2 -2
  7. package/AdapterDateFnsJalaliV2/AdapterDateFnsJalaliV2.d.mts +1 -1
  8. package/AdapterDateFnsJalaliV2/AdapterDateFnsJalaliV2.d.ts +1 -1
  9. package/AdapterDateFnsV2/AdapterDateFnsV2.d.mts +1 -1
  10. package/AdapterDateFnsV2/AdapterDateFnsV2.d.ts +1 -1
  11. package/AdapterDayjs/AdapterDayjs.d.mts +29 -29
  12. package/AdapterDayjs/AdapterDayjs.d.ts +29 -29
  13. package/AdapterDayjs/AdapterDayjs.mjs +1 -0
  14. package/AdapterDayjsBuddhist/AdapterDayjsBuddhist.d.mts +4 -4
  15. package/AdapterDayjsBuddhist/AdapterDayjsBuddhist.d.ts +4 -4
  16. package/AdapterDayjsBuddhist/AdapterDayjsBuddhist.mjs +1 -0
  17. package/AdapterLuxon/AdapterLuxon.d.mts +1 -1
  18. package/AdapterLuxon/AdapterLuxon.d.ts +1 -1
  19. package/AdapterMoment/AdapterMoment.d.mts +29 -28
  20. package/AdapterMoment/AdapterMoment.d.ts +29 -28
  21. package/AdapterMomentHijri/AdapterMomentHijri.d.mts +15 -13
  22. package/AdapterMomentHijri/AdapterMomentHijri.d.ts +15 -13
  23. package/AdapterMomentHijri/AdapterMomentHijri.js +3 -0
  24. package/AdapterMomentHijri/AdapterMomentHijri.mjs +4 -0
  25. package/AdapterMomentJalaali/AdapterMomentJalaali.d.mts +13 -12
  26. package/AdapterMomentJalaali/AdapterMomentJalaali.d.ts +13 -12
  27. package/AdapterMomentJalaali/AdapterMomentJalaali.mjs +1 -0
  28. package/CHANGELOG.md +261 -0
  29. package/DateCalendar/DateCalendar.d.mts +1 -1
  30. package/DateCalendar/DateCalendar.d.ts +1 -1
  31. package/DateCalendar/DateCalendar.js +1 -1
  32. package/DateCalendar/DateCalendar.mjs +1 -1
  33. package/DateCalendar/DateCalendar.types.d.mts +16 -16
  34. package/DateCalendar/DateCalendar.types.d.ts +16 -16
  35. package/DateCalendar/DayCalendar.d.mts +9 -9
  36. package/DateCalendar/DayCalendar.d.ts +9 -9
  37. package/DateCalendar/PickersFadeTransitionGroup.d.mts +1 -1
  38. package/DateCalendar/PickersFadeTransitionGroup.d.ts +1 -1
  39. package/DateCalendar/PickersSlideTransition.d.mts +3 -3
  40. package/DateCalendar/PickersSlideTransition.d.ts +3 -3
  41. package/DateCalendar/useCalendarState.d.mts +3 -3
  42. package/DateCalendar/useCalendarState.d.ts +3 -3
  43. package/DateCalendar/useIsDateDisabled.d.mts +3 -3
  44. package/DateCalendar/useIsDateDisabled.d.ts +3 -3
  45. package/DateField/DateField.d.mts +1 -1
  46. package/DateField/DateField.d.ts +1 -1
  47. package/DateField/DateField.js +2 -1
  48. package/DateField/DateField.mjs +2 -1
  49. package/DateField/DateField.types.d.mts +6 -6
  50. package/DateField/DateField.types.d.ts +6 -6
  51. package/DateField/useDateField.d.mts +1 -1
  52. package/DateField/useDateField.d.ts +1 -1
  53. package/DatePicker/DatePicker.d.mts +1 -1
  54. package/DatePicker/DatePicker.d.ts +1 -1
  55. package/DatePicker/DatePicker.js +1 -1
  56. package/DatePicker/DatePicker.mjs +1 -1
  57. package/DatePicker/DatePicker.types.d.mts +4 -4
  58. package/DatePicker/DatePicker.types.d.ts +4 -4
  59. package/DatePicker/DatePickerToolbar.d.mts +2 -2
  60. package/DatePicker/DatePickerToolbar.d.ts +2 -2
  61. package/DatePicker/DatePickerToolbar.js +1 -1
  62. package/DatePicker/DatePickerToolbar.mjs +1 -1
  63. package/DatePicker/shared.d.mts +10 -10
  64. package/DatePicker/shared.d.ts +10 -10
  65. package/DateTimeField/DateTimeField.d.mts +1 -1
  66. package/DateTimeField/DateTimeField.d.ts +1 -1
  67. package/DateTimeField/DateTimeField.js +2 -1
  68. package/DateTimeField/DateTimeField.mjs +2 -1
  69. package/DateTimeField/DateTimeField.types.d.mts +7 -7
  70. package/DateTimeField/DateTimeField.types.d.ts +7 -7
  71. package/DateTimeField/useDateTimeField.d.mts +1 -1
  72. package/DateTimeField/useDateTimeField.d.ts +1 -1
  73. package/DateTimePicker/DateTimePicker.d.mts +1 -1
  74. package/DateTimePicker/DateTimePicker.d.ts +1 -1
  75. package/DateTimePicker/DateTimePicker.js +1 -1
  76. package/DateTimePicker/DateTimePicker.mjs +1 -1
  77. package/DateTimePicker/DateTimePicker.types.d.mts +5 -5
  78. package/DateTimePicker/DateTimePicker.types.d.ts +5 -5
  79. package/DateTimePicker/DateTimePickerTabs.d.mts +2 -2
  80. package/DateTimePicker/DateTimePickerTabs.d.ts +2 -2
  81. package/DateTimePicker/DateTimePickerTabs.js +1 -1
  82. package/DateTimePicker/DateTimePickerTabs.mjs +1 -1
  83. package/DateTimePicker/DateTimePickerToolbar.d.mts +5 -5
  84. package/DateTimePicker/DateTimePickerToolbar.d.ts +5 -5
  85. package/DateTimePicker/DateTimePickerToolbar.js +1 -1
  86. package/DateTimePicker/DateTimePickerToolbar.mjs +1 -1
  87. package/DateTimePicker/shared.d.mts +15 -15
  88. package/DateTimePicker/shared.d.ts +15 -15
  89. package/DayCalendarSkeleton/DayCalendarSkeleton.d.mts +3 -3
  90. package/DayCalendarSkeleton/DayCalendarSkeleton.d.ts +3 -3
  91. package/DayCalendarSkeleton/DayCalendarSkeleton.js +1 -1
  92. package/DayCalendarSkeleton/DayCalendarSkeleton.mjs +1 -1
  93. package/DesktopDatePicker/DesktopDatePicker.d.mts +1 -1
  94. package/DesktopDatePicker/DesktopDatePicker.d.ts +1 -1
  95. package/DesktopDatePicker/DesktopDatePicker.js +2 -2
  96. package/DesktopDatePicker/DesktopDatePicker.mjs +2 -2
  97. package/DesktopDatePicker/DesktopDatePicker.types.d.mts +4 -4
  98. package/DesktopDatePicker/DesktopDatePicker.types.d.ts +4 -4
  99. package/DesktopDateTimePicker/DesktopDateTimePicker.d.mts +1 -1
  100. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +1 -1
  101. package/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -2
  102. package/DesktopDateTimePicker/DesktopDateTimePicker.mjs +2 -2
  103. package/DesktopDateTimePicker/DesktopDateTimePicker.types.d.mts +6 -6
  104. package/DesktopDateTimePicker/DesktopDateTimePicker.types.d.ts +6 -6
  105. package/DesktopDateTimePicker/DesktopDateTimePickerLayout.d.mts +2 -2
  106. package/DesktopDateTimePicker/DesktopDateTimePickerLayout.d.ts +2 -2
  107. package/DesktopDateTimePicker/DesktopDateTimePickerLayout.js +1 -1
  108. package/DesktopDateTimePicker/DesktopDateTimePickerLayout.mjs +1 -1
  109. package/DesktopTimePicker/DesktopTimePicker.d.mts +1 -1
  110. package/DesktopTimePicker/DesktopTimePicker.d.ts +1 -1
  111. package/DesktopTimePicker/DesktopTimePicker.js +2 -2
  112. package/DesktopTimePicker/DesktopTimePicker.mjs +2 -2
  113. package/DesktopTimePicker/DesktopTimePicker.types.d.mts +8 -8
  114. package/DesktopTimePicker/DesktopTimePicker.types.d.ts +8 -8
  115. package/DigitalClock/DigitalClock.d.mts +1 -1
  116. package/DigitalClock/DigitalClock.d.ts +1 -1
  117. package/DigitalClock/DigitalClock.js +1 -1
  118. package/DigitalClock/DigitalClock.mjs +1 -1
  119. package/DigitalClock/DigitalClock.types.d.mts +6 -6
  120. package/DigitalClock/DigitalClock.types.d.ts +6 -6
  121. package/LocalizationProvider/LocalizationProvider.d.mts +2 -2
  122. package/LocalizationProvider/LocalizationProvider.d.ts +2 -2
  123. package/LocalizationProvider/LocalizationProvider.js +1 -1
  124. package/LocalizationProvider/LocalizationProvider.mjs +1 -1
  125. package/MobileDatePicker/MobileDatePicker.d.mts +1 -1
  126. package/MobileDatePicker/MobileDatePicker.d.ts +1 -1
  127. package/MobileDatePicker/MobileDatePicker.js +2 -2
  128. package/MobileDatePicker/MobileDatePicker.mjs +2 -2
  129. package/MobileDatePicker/MobileDatePicker.types.d.mts +3 -3
  130. package/MobileDatePicker/MobileDatePicker.types.d.ts +3 -3
  131. package/MobileDateTimePicker/MobileDateTimePicker.d.mts +1 -1
  132. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +1 -1
  133. package/MobileDateTimePicker/MobileDateTimePicker.js +2 -2
  134. package/MobileDateTimePicker/MobileDateTimePicker.mjs +2 -2
  135. package/MobileDateTimePicker/MobileDateTimePicker.types.d.mts +3 -3
  136. package/MobileDateTimePicker/MobileDateTimePicker.types.d.ts +3 -3
  137. package/MobileTimePicker/MobileTimePicker.d.mts +2 -2
  138. package/MobileTimePicker/MobileTimePicker.d.ts +2 -2
  139. package/MobileTimePicker/MobileTimePicker.js +2 -2
  140. package/MobileTimePicker/MobileTimePicker.mjs +2 -2
  141. package/MobileTimePicker/MobileTimePicker.types.d.mts +5 -5
  142. package/MobileTimePicker/MobileTimePicker.types.d.ts +5 -5
  143. package/MonthCalendar/MonthCalendar.d.mts +2 -2
  144. package/MonthCalendar/MonthCalendar.d.ts +2 -2
  145. package/MonthCalendar/MonthCalendar.js +1 -1
  146. package/MonthCalendar/MonthCalendar.mjs +1 -1
  147. package/MonthCalendar/MonthCalendar.types.d.mts +8 -8
  148. package/MonthCalendar/MonthCalendar.types.d.ts +8 -8
  149. package/MonthCalendar/MonthCalendarButton.d.mts +3 -3
  150. package/MonthCalendar/MonthCalendarButton.d.ts +3 -3
  151. package/MultiSectionDigitalClock/MultiSectionDigitalClock.d.mts +1 -1
  152. package/MultiSectionDigitalClock/MultiSectionDigitalClock.d.ts +1 -1
  153. package/MultiSectionDigitalClock/MultiSectionDigitalClock.js +1 -1
  154. package/MultiSectionDigitalClock/MultiSectionDigitalClock.mjs +1 -1
  155. package/MultiSectionDigitalClock/MultiSectionDigitalClock.types.d.mts +7 -7
  156. package/MultiSectionDigitalClock/MultiSectionDigitalClock.types.d.ts +7 -7
  157. package/MultiSectionDigitalClock/MultiSectionDigitalClock.utils.d.mts +2 -2
  158. package/MultiSectionDigitalClock/MultiSectionDigitalClock.utils.d.ts +2 -2
  159. package/MultiSectionDigitalClock/MultiSectionDigitalClockSection.d.mts +3 -3
  160. package/MultiSectionDigitalClock/MultiSectionDigitalClockSection.d.ts +3 -3
  161. package/PickerDay/PickerDay.d.mts +1 -1
  162. package/PickerDay/PickerDay.d.ts +1 -1
  163. package/PickerDay/PickerDay.js +1 -1
  164. package/PickerDay/PickerDay.mjs +1 -1
  165. package/PickerDay/PickerDay.types.d.mts +5 -5
  166. package/PickerDay/PickerDay.types.d.ts +5 -5
  167. package/PickersActionBar/PickersActionBar.d.mts +1 -1
  168. package/PickersActionBar/PickersActionBar.d.ts +1 -1
  169. package/PickersActionBar/PickersActionBar.js +1 -1
  170. package/PickersActionBar/PickersActionBar.mjs +1 -1
  171. package/PickersCalendarHeader/PickersCalendarHeader.d.mts +1 -1
  172. package/PickersCalendarHeader/PickersCalendarHeader.d.ts +1 -1
  173. package/PickersCalendarHeader/PickersCalendarHeader.js +1 -1
  174. package/PickersCalendarHeader/PickersCalendarHeader.mjs +1 -1
  175. package/PickersCalendarHeader/PickersCalendarHeader.types.d.mts +9 -9
  176. package/PickersCalendarHeader/PickersCalendarHeader.types.d.ts +9 -9
  177. package/PickersLayout/PickersLayout.d.mts +2 -2
  178. package/PickersLayout/PickersLayout.d.ts +2 -2
  179. package/PickersLayout/PickersLayout.js +1 -1
  180. package/PickersLayout/PickersLayout.mjs +1 -1
  181. package/PickersLayout/PickersLayout.types.d.mts +11 -11
  182. package/PickersLayout/PickersLayout.types.d.ts +11 -11
  183. package/PickersLayout/usePickerLayout.d.mts +2 -2
  184. package/PickersLayout/usePickerLayout.d.ts +2 -2
  185. package/PickersSectionList/PickersSectionList.js +2 -2
  186. package/PickersSectionList/PickersSectionList.mjs +2 -2
  187. package/PickersSectionList/PickersSectionList.types.d.mts +4 -4
  188. package/PickersSectionList/PickersSectionList.types.d.ts +4 -4
  189. package/PickersShortcuts/PickersShortcuts.d.mts +3 -3
  190. package/PickersShortcuts/PickersShortcuts.d.ts +3 -3
  191. package/PickersShortcuts/PickersShortcuts.js +1 -1
  192. package/PickersShortcuts/PickersShortcuts.mjs +1 -1
  193. package/PickersTextField/PickersFilledInput/PickersFilledInput.d.mts +2 -2
  194. package/PickersTextField/PickersFilledInput/PickersFilledInput.d.ts +2 -2
  195. package/PickersTextField/PickersFilledInput/PickersFilledInput.js +2 -1
  196. package/PickersTextField/PickersFilledInput/PickersFilledInput.mjs +2 -1
  197. package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.mts +1 -1
  198. package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.ts +1 -1
  199. package/PickersTextField/PickersInput/PickersInput.d.mts +2 -2
  200. package/PickersTextField/PickersInput/PickersInput.d.ts +2 -2
  201. package/PickersTextField/PickersInput/PickersInput.js +2 -1
  202. package/PickersTextField/PickersInput/PickersInput.mjs +2 -1
  203. package/PickersTextField/PickersInput/pickersInputClasses.d.mts +1 -1
  204. package/PickersTextField/PickersInput/pickersInputClasses.d.ts +1 -1
  205. package/PickersTextField/PickersInputBase/PickersInputBase.d.mts +2 -2
  206. package/PickersTextField/PickersInputBase/PickersInputBase.d.ts +2 -2
  207. package/PickersTextField/PickersInputBase/PickersInputBase.js +17 -2
  208. package/PickersTextField/PickersInputBase/PickersInputBase.mjs +17 -2
  209. package/PickersTextField/PickersInputBase/PickersInputBase.types.d.mts +6 -5
  210. package/PickersTextField/PickersInputBase/PickersInputBase.types.d.ts +6 -5
  211. package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.d.mts +1 -1
  212. package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.d.ts +1 -1
  213. package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.js +13 -9
  214. package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.mjs +13 -9
  215. package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.mts +1 -1
  216. package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.ts +1 -1
  217. package/PickersTextField/PickersTextField.js +5 -2
  218. package/PickersTextField/PickersTextField.mjs +5 -2
  219. package/PickersTextField/PickersTextField.types.d.mts +6 -6
  220. package/PickersTextField/PickersTextField.types.d.ts +6 -6
  221. package/PickersTextField/usePickerTextFieldOwnerState.d.mts +1 -1
  222. package/PickersTextField/usePickerTextFieldOwnerState.d.ts +1 -1
  223. package/StaticDatePicker/StaticDatePicker.d.mts +1 -1
  224. package/StaticDatePicker/StaticDatePicker.d.ts +1 -1
  225. package/StaticDatePicker/StaticDatePicker.js +2 -2
  226. package/StaticDatePicker/StaticDatePicker.mjs +2 -2
  227. package/StaticDatePicker/StaticDatePicker.types.d.mts +3 -3
  228. package/StaticDatePicker/StaticDatePicker.types.d.ts +3 -3
  229. package/StaticDateTimePicker/StaticDateTimePicker.d.mts +1 -1
  230. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +1 -1
  231. package/StaticDateTimePicker/StaticDateTimePicker.js +2 -2
  232. package/StaticDateTimePicker/StaticDateTimePicker.mjs +2 -2
  233. package/StaticDateTimePicker/StaticDateTimePicker.types.d.mts +3 -3
  234. package/StaticDateTimePicker/StaticDateTimePicker.types.d.ts +3 -3
  235. package/StaticTimePicker/StaticTimePicker.d.mts +1 -1
  236. package/StaticTimePicker/StaticTimePicker.d.ts +1 -1
  237. package/StaticTimePicker/StaticTimePicker.js +2 -2
  238. package/StaticTimePicker/StaticTimePicker.mjs +2 -2
  239. package/StaticTimePicker/StaticTimePicker.types.d.mts +4 -4
  240. package/StaticTimePicker/StaticTimePicker.types.d.ts +4 -4
  241. package/TimeClock/Clock.d.mts +5 -5
  242. package/TimeClock/Clock.d.ts +5 -5
  243. package/TimeClock/Clock.js +76 -30
  244. package/TimeClock/Clock.mjs +76 -30
  245. package/TimeClock/ClockNumber.d.mts +2 -2
  246. package/TimeClock/ClockNumber.d.ts +2 -2
  247. package/TimeClock/ClockNumbers.d.mts +1 -1
  248. package/TimeClock/ClockNumbers.d.ts +1 -1
  249. package/TimeClock/ClockPointer.d.mts +2 -2
  250. package/TimeClock/ClockPointer.d.ts +2 -2
  251. package/TimeClock/TimeClock.d.mts +1 -1
  252. package/TimeClock/TimeClock.d.ts +1 -1
  253. package/TimeClock/TimeClock.js +1 -1
  254. package/TimeClock/TimeClock.mjs +1 -1
  255. package/TimeClock/TimeClock.types.d.mts +5 -5
  256. package/TimeClock/TimeClock.types.d.ts +5 -5
  257. package/TimeField/TimeField.d.mts +1 -1
  258. package/TimeField/TimeField.d.ts +1 -1
  259. package/TimeField/TimeField.js +2 -1
  260. package/TimeField/TimeField.mjs +2 -1
  261. package/TimeField/TimeField.types.d.mts +7 -7
  262. package/TimeField/TimeField.types.d.ts +7 -7
  263. package/TimeField/useTimeField.d.mts +1 -1
  264. package/TimeField/useTimeField.d.ts +1 -1
  265. package/TimePicker/TimePicker.d.mts +1 -1
  266. package/TimePicker/TimePicker.d.ts +1 -1
  267. package/TimePicker/TimePicker.js +1 -1
  268. package/TimePicker/TimePicker.mjs +1 -1
  269. package/TimePicker/TimePicker.types.d.mts +4 -4
  270. package/TimePicker/TimePicker.types.d.ts +4 -4
  271. package/TimePicker/TimePickerToolbar.d.mts +2 -2
  272. package/TimePicker/TimePickerToolbar.d.ts +2 -2
  273. package/TimePicker/TimePickerToolbar.js +1 -1
  274. package/TimePicker/TimePickerToolbar.mjs +1 -1
  275. package/TimePicker/shared.d.mts +11 -11
  276. package/TimePicker/shared.d.ts +11 -11
  277. package/YearCalendar/YearCalendar.d.mts +1 -1
  278. package/YearCalendar/YearCalendar.d.ts +1 -1
  279. package/YearCalendar/YearCalendar.js +1 -1
  280. package/YearCalendar/YearCalendar.mjs +1 -1
  281. package/YearCalendar/YearCalendar.types.d.mts +8 -8
  282. package/YearCalendar/YearCalendar.types.d.ts +8 -8
  283. package/YearCalendar/YearCalendarButton.d.mts +3 -3
  284. package/YearCalendar/YearCalendarButton.d.ts +3 -3
  285. package/dateViewRenderers/dateViewRenderers.d.mts +3 -3
  286. package/dateViewRenderers/dateViewRenderers.d.ts +3 -3
  287. package/hooks/useIsValidValue.d.mts +1 -1
  288. package/hooks/useIsValidValue.d.ts +1 -1
  289. package/hooks/usePickerActionsContext.d.mts +2 -2
  290. package/hooks/usePickerActionsContext.d.ts +2 -2
  291. package/hooks/usePickerAdapter.d.mts +2 -2
  292. package/hooks/usePickerAdapter.d.ts +2 -2
  293. package/hooks/usePickerContext.d.mts +1 -1
  294. package/hooks/usePickerContext.d.ts +1 -1
  295. package/hooks/useSplitFieldProps.d.mts +1 -1
  296. package/hooks/useSplitFieldProps.d.ts +1 -1
  297. package/index.js +1 -1
  298. package/index.mjs +1 -1
  299. package/internals/components/PickerFieldUI.d.mts +7 -7
  300. package/internals/components/PickerFieldUI.d.ts +7 -7
  301. package/internals/components/PickerPopper/PickerPopper.d.mts +7 -7
  302. package/internals/components/PickerPopper/PickerPopper.d.ts +7 -7
  303. package/internals/components/PickerProvider.d.mts +6 -6
  304. package/internals/components/PickerProvider.d.ts +6 -6
  305. package/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.d.mts +1 -1
  306. package/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.d.ts +1 -1
  307. package/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.types.d.mts +6 -6
  308. package/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.types.d.ts +6 -6
  309. package/internals/components/PickersModalDialog.d.mts +3 -3
  310. package/internals/components/PickersModalDialog.d.ts +3 -3
  311. package/internals/components/PickersToolbar.d.mts +2 -2
  312. package/internals/components/PickersToolbar.d.ts +2 -2
  313. package/internals/components/PickersToolbarButton.d.mts +4 -4
  314. package/internals/components/PickersToolbarButton.d.ts +4 -4
  315. package/internals/components/PickersToolbarText.d.mts +2 -2
  316. package/internals/components/PickersToolbarText.d.ts +2 -2
  317. package/internals/demo/DemoContainer.d.mts +2 -2
  318. package/internals/demo/DemoContainer.d.ts +2 -2
  319. package/internals/hooks/PickerDay.types.d.mts +1 -1
  320. package/internals/hooks/PickerDay.types.d.ts +1 -1
  321. package/internals/hooks/date-helpers-hooks.d.mts +3 -3
  322. package/internals/hooks/date-helpers-hooks.d.ts +3 -3
  323. package/internals/hooks/useClockReferenceDate.d.mts +2 -2
  324. package/internals/hooks/useClockReferenceDate.d.ts +2 -2
  325. package/internals/hooks/useControlledValue.d.mts +2 -3
  326. package/internals/hooks/useControlledValue.d.ts +2 -3
  327. package/internals/hooks/useDesktopPicker/useDesktopPicker.d.mts +2 -2
  328. package/internals/hooks/useDesktopPicker/useDesktopPicker.d.ts +2 -2
  329. package/internals/hooks/useDesktopPicker/useDesktopPicker.types.d.mts +10 -10
  330. package/internals/hooks/useDesktopPicker/useDesktopPicker.types.d.ts +10 -10
  331. package/internals/hooks/useField/buildSectionsFromFormat.d.mts +2 -2
  332. package/internals/hooks/useField/buildSectionsFromFormat.d.ts +2 -2
  333. package/internals/hooks/useField/syncSelectionToDOM.d.mts +3 -3
  334. package/internals/hooks/useField/syncSelectionToDOM.d.ts +3 -3
  335. package/internals/hooks/useField/useField.d.mts +2 -2
  336. package/internals/hooks/useField/useField.d.ts +2 -2
  337. package/internals/hooks/useField/useField.js +18 -0
  338. package/internals/hooks/useField/useField.mjs +18 -0
  339. package/internals/hooks/useField/useField.types.d.mts +5 -4
  340. package/internals/hooks/useField/useField.types.d.ts +5 -4
  341. package/internals/hooks/useField/useField.utils.d.mts +3 -4
  342. package/internals/hooks/useField/useField.utils.d.ts +3 -4
  343. package/internals/hooks/useField/useField.utils.js +1 -3
  344. package/internals/hooks/useField/useField.utils.mjs +0 -1
  345. package/internals/hooks/useField/useFieldCharacterEditing.d.mts +2 -2
  346. package/internals/hooks/useField/useFieldCharacterEditing.d.ts +2 -2
  347. package/internals/hooks/useField/useFieldHiddenInputProps.d.mts +2 -2
  348. package/internals/hooks/useField/useFieldHiddenInputProps.d.ts +2 -2
  349. package/internals/hooks/useField/useFieldInternalPropsWithDefaults.d.mts +1 -1
  350. package/internals/hooks/useField/useFieldInternalPropsWithDefaults.d.ts +1 -1
  351. package/internals/hooks/useField/useFieldRootProps.d.mts +5 -4
  352. package/internals/hooks/useField/useFieldRootProps.d.ts +5 -4
  353. package/internals/hooks/useField/useFieldRootProps.js +95 -8
  354. package/internals/hooks/useField/useFieldRootProps.mjs +95 -8
  355. package/internals/hooks/useField/useFieldSectionContainerProps.d.mts +2 -2
  356. package/internals/hooks/useField/useFieldSectionContainerProps.d.ts +2 -2
  357. package/internals/hooks/useField/useFieldSectionContainerProps.js +35 -4
  358. package/internals/hooks/useField/useFieldSectionContainerProps.mjs +34 -4
  359. package/internals/hooks/useField/useFieldSectionContentProps.d.mts +6 -6
  360. package/internals/hooks/useField/useFieldSectionContentProps.d.ts +6 -6
  361. package/internals/hooks/useField/useFieldSectionContentProps.js +3 -1
  362. package/internals/hooks/useField/useFieldSectionContentProps.mjs +3 -1
  363. package/internals/hooks/useField/useFieldState.d.mts +3 -3
  364. package/internals/hooks/useField/useFieldState.d.ts +3 -3
  365. package/internals/hooks/useFieldOwnerState.d.mts +2 -2
  366. package/internals/hooks/useFieldOwnerState.d.ts +2 -2
  367. package/internals/hooks/useMobilePicker/useMobilePicker.d.mts +2 -2
  368. package/internals/hooks/useMobilePicker/useMobilePicker.d.ts +2 -2
  369. package/internals/hooks/useMobilePicker/useMobilePicker.types.d.mts +10 -10
  370. package/internals/hooks/useMobilePicker/useMobilePicker.types.d.ts +10 -10
  371. package/internals/hooks/useNullableFieldPrivateContext.d.mts +2 -2
  372. package/internals/hooks/useNullableFieldPrivateContext.d.ts +2 -2
  373. package/internals/hooks/usePicker/hooks/useOrientation.d.mts +1 -1
  374. package/internals/hooks/usePicker/hooks/useOrientation.d.ts +1 -1
  375. package/internals/hooks/usePicker/hooks/useValueAndOpenStates.d.mts +5 -5
  376. package/internals/hooks/usePicker/hooks/useValueAndOpenStates.d.ts +5 -5
  377. package/internals/hooks/usePicker/usePicker.d.mts +2 -2
  378. package/internals/hooks/usePicker/usePicker.d.ts +2 -2
  379. package/internals/hooks/usePicker/usePicker.types.d.mts +10 -10
  380. package/internals/hooks/usePicker/usePicker.types.d.ts +10 -10
  381. package/internals/hooks/usePickerDayOwnerState.d.mts +2 -2
  382. package/internals/hooks/usePickerDayOwnerState.d.ts +2 -2
  383. package/internals/hooks/useReduceAnimations.js +4 -1
  384. package/internals/hooks/useReduceAnimations.mjs +4 -1
  385. package/internals/hooks/useStaticPicker/useStaticPicker.d.mts +2 -2
  386. package/internals/hooks/useStaticPicker/useStaticPicker.d.ts +2 -2
  387. package/internals/hooks/useStaticPicker/useStaticPicker.types.d.mts +5 -5
  388. package/internals/hooks/useStaticPicker/useStaticPicker.types.d.ts +5 -5
  389. package/internals/hooks/useToolbarOwnerState.d.mts +1 -1
  390. package/internals/hooks/useToolbarOwnerState.d.ts +1 -1
  391. package/internals/hooks/useUtils.d.mts +1 -1
  392. package/internals/hooks/useUtils.d.ts +1 -1
  393. package/internals/hooks/useViews.d.mts +4 -4
  394. package/internals/hooks/useViews.d.ts +4 -4
  395. package/internals/models/common.d.mts +1 -1
  396. package/internals/models/common.d.ts +1 -1
  397. package/internals/models/fields.d.mts +1 -1
  398. package/internals/models/fields.d.ts +1 -1
  399. package/internals/models/helpers.d.mts +2 -2
  400. package/internals/models/helpers.d.ts +2 -2
  401. package/internals/models/manager.d.mts +1 -1
  402. package/internals/models/manager.d.ts +1 -1
  403. package/internals/models/props/basePickerProps.d.mts +7 -8
  404. package/internals/models/props/basePickerProps.d.ts +7 -8
  405. package/internals/models/props/tabs.d.mts +2 -2
  406. package/internals/models/props/tabs.d.ts +2 -2
  407. package/internals/models/props/time.d.mts +6 -6
  408. package/internals/models/props/time.d.ts +6 -6
  409. package/internals/models/props/toolbar.d.mts +3 -3
  410. package/internals/models/props/toolbar.d.ts +3 -3
  411. package/internals/models/value.d.mts +1 -1
  412. package/internals/models/value.d.ts +1 -1
  413. package/internals/utils/createNonRangePickerStepNavigation.d.mts +1 -1
  414. package/internals/utils/createNonRangePickerStepNavigation.d.ts +1 -1
  415. package/internals/utils/createStepNavigation.d.mts +1 -1
  416. package/internals/utils/createStepNavigation.d.ts +1 -1
  417. package/internals/utils/date-time-utils.d.mts +4 -4
  418. package/internals/utils/date-time-utils.d.ts +4 -4
  419. package/internals/utils/date-utils.d.mts +2 -2
  420. package/internals/utils/date-utils.d.ts +2 -2
  421. package/internals/utils/getDefaultReferenceDate.d.mts +1 -1
  422. package/internals/utils/getDefaultReferenceDate.d.ts +1 -1
  423. package/internals/utils/time-utils.d.mts +2 -2
  424. package/internals/utils/time-utils.d.ts +2 -2
  425. package/internals/utils/utils.d.mts +3 -3
  426. package/internals/utils/utils.d.ts +3 -3
  427. package/internals/utils/valueManagers.d.mts +2 -3
  428. package/internals/utils/valueManagers.d.ts +2 -3
  429. package/internals/utils/views.d.mts +1 -1
  430. package/internals/utils/views.d.ts +1 -1
  431. package/locales/beBY.d.mts +1 -1
  432. package/locales/beBY.d.ts +1 -1
  433. package/locales/bgBG.d.mts +1 -1
  434. package/locales/bgBG.d.ts +1 -1
  435. package/locales/bnBD.d.mts +1 -1
  436. package/locales/bnBD.d.ts +1 -1
  437. package/locales/caES.d.mts +1 -1
  438. package/locales/caES.d.ts +1 -1
  439. package/locales/csCZ.d.mts +1 -1
  440. package/locales/csCZ.d.ts +1 -1
  441. package/locales/daDK.d.mts +1 -1
  442. package/locales/daDK.d.ts +1 -1
  443. package/locales/deDE.d.mts +1 -1
  444. package/locales/deDE.d.ts +1 -1
  445. package/locales/elGR.d.mts +1 -1
  446. package/locales/elGR.d.ts +1 -1
  447. package/locales/enUS.d.mts +1 -1
  448. package/locales/enUS.d.ts +1 -1
  449. package/locales/esES.d.mts +1 -1
  450. package/locales/esES.d.ts +1 -1
  451. package/locales/eu.d.mts +1 -1
  452. package/locales/eu.d.ts +1 -1
  453. package/locales/faIR.d.mts +1 -1
  454. package/locales/faIR.d.ts +1 -1
  455. package/locales/faIR.js +21 -22
  456. package/locales/faIR.mjs +21 -22
  457. package/locales/fiFI.d.mts +1 -1
  458. package/locales/fiFI.d.ts +1 -1
  459. package/locales/frFR.d.mts +1 -1
  460. package/locales/frFR.d.ts +1 -1
  461. package/locales/heIL.d.mts +1 -1
  462. package/locales/heIL.d.ts +1 -1
  463. package/locales/hrHR.d.mts +1 -1
  464. package/locales/hrHR.d.ts +1 -1
  465. package/locales/huHU.d.mts +1 -1
  466. package/locales/huHU.d.ts +1 -1
  467. package/locales/isIS.d.mts +1 -1
  468. package/locales/isIS.d.ts +1 -1
  469. package/locales/itIT.d.mts +1 -1
  470. package/locales/itIT.d.ts +1 -1
  471. package/locales/jaJP.d.mts +1 -1
  472. package/locales/jaJP.d.ts +1 -1
  473. package/locales/koKR.d.mts +1 -1
  474. package/locales/koKR.d.ts +1 -1
  475. package/locales/kzKZ.d.mts +1 -1
  476. package/locales/kzKZ.d.ts +1 -1
  477. package/locales/nbNO.d.mts +1 -1
  478. package/locales/nbNO.d.ts +1 -1
  479. package/locales/nlNL.d.mts +1 -1
  480. package/locales/nlNL.d.ts +1 -1
  481. package/locales/nnNO.d.mts +1 -1
  482. package/locales/nnNO.d.ts +1 -1
  483. package/locales/plPL.d.mts +1 -1
  484. package/locales/plPL.d.ts +1 -1
  485. package/locales/ptBR.d.mts +1 -1
  486. package/locales/ptBR.d.ts +1 -1
  487. package/locales/ptPT.d.mts +1 -1
  488. package/locales/ptPT.d.ts +1 -1
  489. package/locales/roRO.d.mts +1 -1
  490. package/locales/roRO.d.ts +1 -1
  491. package/locales/ruRU.d.mts +1 -1
  492. package/locales/ruRU.d.ts +1 -1
  493. package/locales/skSK.d.mts +1 -1
  494. package/locales/skSK.d.ts +1 -1
  495. package/locales/svSE.d.mts +1 -1
  496. package/locales/svSE.d.ts +1 -1
  497. package/locales/thTH.d.mts +1 -1
  498. package/locales/thTH.d.ts +1 -1
  499. package/locales/trTR.d.mts +1 -1
  500. package/locales/trTR.d.ts +1 -1
  501. package/locales/ukUA.d.mts +1 -1
  502. package/locales/ukUA.d.ts +1 -1
  503. package/locales/urPK.d.mts +1 -1
  504. package/locales/urPK.d.ts +1 -1
  505. package/locales/utils/getPickersLocalization.d.mts +1 -1
  506. package/locales/utils/getPickersLocalization.d.ts +1 -1
  507. package/locales/utils/pickersLocaleTextApi.d.mts +2 -2
  508. package/locales/utils/pickersLocaleTextApi.d.ts +2 -2
  509. package/locales/viVN.d.mts +1 -1
  510. package/locales/viVN.d.ts +1 -1
  511. package/locales/zhCN.d.mts +1 -1
  512. package/locales/zhCN.d.ts +1 -1
  513. package/locales/zhHK.d.mts +1 -1
  514. package/locales/zhHK.d.ts +1 -1
  515. package/locales/zhTW.d.mts +1 -1
  516. package/locales/zhTW.d.ts +1 -1
  517. package/managers/useDateManager.d.mts +4 -4
  518. package/managers/useDateManager.d.ts +4 -4
  519. package/managers/useDateTimeManager.d.mts +5 -5
  520. package/managers/useDateTimeManager.d.ts +5 -5
  521. package/managers/useTimeManager.d.mts +5 -5
  522. package/managers/useTimeManager.d.ts +5 -5
  523. package/models/adapters.d.mts +3 -3
  524. package/models/adapters.d.ts +3 -3
  525. package/models/fields.d.mts +4 -4
  526. package/models/fields.d.ts +4 -4
  527. package/models/pickers.d.mts +1 -1
  528. package/models/pickers.d.ts +1 -1
  529. package/package.json +6 -3
  530. package/themeAugmentation/components.d.mts +16 -16
  531. package/themeAugmentation/components.d.ts +16 -16
  532. package/themeAugmentation/overrides.d.mts +20 -20
  533. package/themeAugmentation/overrides.d.ts +20 -20
  534. package/themeAugmentation/props.d.mts +38 -38
  535. package/themeAugmentation/props.d.ts +38 -38
  536. package/timeViewRenderers/timeViewRenderers.d.mts +6 -6
  537. package/timeViewRenderers/timeViewRenderers.d.ts +6 -6
  538. package/validation/extractValidationProps.d.mts +1 -1
  539. package/validation/extractValidationProps.d.ts +1 -1
  540. package/validation/useValidation.d.mts +2 -3
  541. package/validation/useValidation.d.ts +2 -3
  542. package/validation/validateDate.d.mts +4 -4
  543. package/validation/validateDate.d.ts +4 -4
  544. package/validation/validateDateTime.d.mts +6 -6
  545. package/validation/validateDateTime.d.ts +6 -6
  546. package/validation/validateTime.d.mts +4 -4
  547. package/validation/validateTime.d.ts +4 -4
@@ -1,19 +1,19 @@
1
1
  import * as React from 'react';
2
- import { DefaultizedProps } from '@mui/x-internals/types';
3
- import { DateOrTimeView, DateTimeValidationError } from "../models/index.js";
4
- import { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.js";
5
- import { BasePickerInputProps } from "../internals/models/props/basePickerProps.js";
6
- import { DateTimePickerTabsProps } from "./DateTimePickerTabs.js";
7
- import { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.js";
8
- import { DateTimePickerToolbarProps, ExportedDateTimePickerToolbarProps } from "./DateTimePickerToolbar.js";
9
- import { PickerViewRendererLookup } from "../internals/hooks/usePicker/index.js";
10
- import { DateViewRendererProps } from "../dateViewRenderers/index.js";
11
- import { TimeViewRendererProps } from "../timeViewRenderers/index.js";
12
- import { BaseClockProps, DigitalTimePickerProps } from "../internals/models/props/time.js";
13
- import { DateOrTimeViewWithMeridiem, PickerValue, TimeViewWithMeridiem } from "../internals/models/index.js";
14
- import { ExportedValidateDateTimeProps, ValidateDateTimePropsToDefault } from "../validation/validateDateTime.js";
15
- import { DigitalClockSlotProps, DigitalClockSlots } from "../DigitalClock/index.js";
16
- import { MultiSectionDigitalClockSlotProps, MultiSectionDigitalClockSlots } from "../MultiSectionDigitalClock/index.js";
2
+ import type { DefaultizedProps } from '@mui/x-internals/types';
3
+ import type { DateOrTimeView, DateTimeValidationError } from "../models/index.js";
4
+ import type { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.js";
5
+ import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.js";
6
+ import type { DateTimePickerTabsProps } from "./DateTimePickerTabs.js";
7
+ import type { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.js";
8
+ import type { DateTimePickerToolbarProps, ExportedDateTimePickerToolbarProps } from "./DateTimePickerToolbar.js";
9
+ import type { PickerViewRendererLookup } from "../internals/hooks/usePicker/index.js";
10
+ import type { DateViewRendererProps } from "../dateViewRenderers/index.js";
11
+ import type { TimeViewRendererProps } from "../timeViewRenderers/index.js";
12
+ import type { BaseClockProps, DigitalTimePickerProps } from "../internals/models/props/time.js";
13
+ import type { DateOrTimeViewWithMeridiem, PickerValue, TimeViewWithMeridiem } from "../internals/models/index.js";
14
+ import type { ExportedValidateDateTimeProps, ValidateDateTimePropsToDefault } from "../validation/validateDateTime.js";
15
+ import type { DigitalClockSlotProps, DigitalClockSlots } from "../DigitalClock/index.js";
16
+ import type { MultiSectionDigitalClockSlotProps, MultiSectionDigitalClockSlots } from "../MultiSectionDigitalClock/index.js";
17
17
  export interface BaseDateTimePickerSlots extends DateCalendarSlots, DigitalClockSlots, MultiSectionDigitalClockSlots {
18
18
  /**
19
19
  * Tabs enabling toggling between date and time pickers.
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { Theme } from '@mui/material/styles';
3
- import { SxProps } from '@mui/system';
4
- import { DayCalendarSkeletonClasses } from "./dayCalendarSkeletonClasses.mjs";
2
+ import type { Theme } from '@mui/material/styles';
3
+ import type { SxProps } from '@mui/system';
4
+ import type { DayCalendarSkeletonClasses } from "./dayCalendarSkeletonClasses.mjs";
5
5
  type HTMLDivProps = React.JSX.IntrinsicElements['div'];
6
6
  export interface DayCalendarSkeletonProps extends HTMLDivProps {
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { Theme } from '@mui/material/styles';
3
- import { SxProps } from '@mui/system';
4
- import { DayCalendarSkeletonClasses } from "./dayCalendarSkeletonClasses.js";
2
+ import type { Theme } from '@mui/material/styles';
3
+ import type { SxProps } from '@mui/system';
4
+ import type { DayCalendarSkeletonClasses } from "./dayCalendarSkeletonClasses.js";
5
5
  type HTMLDivProps = React.JSX.IntrinsicElements['div'];
6
6
  export interface DayCalendarSkeletonProps extends HTMLDivProps {
7
7
  /**
@@ -88,7 +88,7 @@ function DayCalendarSkeleton(inProps) {
88
88
  }, index))
89
89
  }));
90
90
  }
91
- process.env.NODE_ENV !== "production" ? DayCalendarSkeleton.propTypes = {
91
+ process.env.NODE_ENV !== "production" ? DayCalendarSkeleton.propTypes /* remove-proptypes */ = {
92
92
  // ----------------------------- Warning --------------------------------
93
93
  // | These PropTypes are generated from the TypeScript type definitions |
94
94
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -81,7 +81,7 @@ function DayCalendarSkeleton(inProps) {
81
81
  }, index))
82
82
  }));
83
83
  }
84
- process.env.NODE_ENV !== "production" ? DayCalendarSkeleton.propTypes = {
84
+ process.env.NODE_ENV !== "production" ? DayCalendarSkeleton.propTypes /* remove-proptypes */ = {
85
85
  // ----------------------------- Warning --------------------------------
86
86
  // | These PropTypes are generated from the TypeScript type definitions |
87
87
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DesktopDatePickerProps } from "./DesktopDatePicker.types.mjs";
2
+ import type { DesktopDatePickerProps } from "./DesktopDatePicker.types.mjs";
3
3
  type DesktopDatePickerComponent = ((props: DesktopDatePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DesktopDatePickerProps } from "./DesktopDatePicker.types.js";
2
+ import type { DesktopDatePickerProps } from "./DesktopDatePicker.types.js";
3
3
  type DesktopDatePickerComponent = ((props: DesktopDatePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };
@@ -70,7 +70,7 @@ const DesktopDatePicker = exports.DesktopDatePicker = /*#__PURE__*/React.forward
70
70
  return renderPicker();
71
71
  });
72
72
  if (process.env.NODE_ENV !== "production") DesktopDatePicker.displayName = "DesktopDatePicker";
73
- DesktopDatePicker.propTypes = {
73
+ process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes /* remove-proptypes */ = {
74
74
  // ----------------------------- Warning --------------------------------
75
75
  // | These PropTypes are generated from the TypeScript type definitions |
76
76
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -392,4 +392,4 @@ DesktopDatePicker.propTypes = {
392
392
  * @default 4
393
393
  */
394
394
  yearsPerRow: _propTypes.default.oneOf([3, 4])
395
- };
395
+ } : void 0;
@@ -63,7 +63,7 @@ const DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DesktopDatePick
63
63
  return renderPicker();
64
64
  });
65
65
  if (process.env.NODE_ENV !== "production") DesktopDatePicker.displayName = "DesktopDatePicker";
66
- DesktopDatePicker.propTypes = {
66
+ process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes /* remove-proptypes */ = {
67
67
  // ----------------------------- Warning --------------------------------
68
68
  // | These PropTypes are generated from the TypeScript type definitions |
69
69
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -385,5 +385,5 @@ DesktopDatePicker.propTypes = {
385
385
  * @default 4
386
386
  */
387
387
  yearsPerRow: PropTypes.oneOf([3, 4])
388
- };
388
+ } : void 0;
389
389
  export { DesktopDatePicker };
@@ -1,7 +1,7 @@
1
- import { MakeOptional } from '@mui/x-internals/types';
2
- import { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.mjs";
3
- import { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.mjs";
4
- import { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.mjs";
1
+ import type { MakeOptional } from '@mui/x-internals/types';
2
+ import type { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.mjs";
3
+ import type { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.mjs";
4
+ import type { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.mjs";
5
5
  export interface DesktopDatePickerSlots extends BaseDatePickerSlots, MakeOptional<UseDesktopPickerSlots, 'field' | 'openPickerIcon'> {}
6
6
  export interface DesktopDatePickerSlotProps extends BaseDatePickerSlotProps, ExportedUseDesktopPickerSlotProps {}
7
7
  export interface DesktopDatePickerProps extends BaseDatePickerProps, DesktopOnlyPickerProps, ExportedYearCalendarProps {
@@ -1,7 +1,7 @@
1
- import { MakeOptional } from '@mui/x-internals/types';
2
- import { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.js";
3
- import { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.js";
4
- import { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.js";
1
+ import type { MakeOptional } from '@mui/x-internals/types';
2
+ import type { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.js";
3
+ import type { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.js";
4
+ import type { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.js";
5
5
  export interface DesktopDatePickerSlots extends BaseDatePickerSlots, MakeOptional<UseDesktopPickerSlots, 'field' | 'openPickerIcon'> {}
6
6
  export interface DesktopDatePickerSlotProps extends BaseDatePickerSlotProps, ExportedUseDesktopPickerSlotProps {}
7
7
  export interface DesktopDatePickerProps extends BaseDatePickerProps, DesktopOnlyPickerProps, ExportedYearCalendarProps {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DesktopDateTimePickerProps } from "./DesktopDateTimePicker.types.mjs";
2
+ import type { DesktopDateTimePickerProps } from "./DesktopDateTimePicker.types.mjs";
3
3
  type DesktopDateTimePickerComponent = ((props: DesktopDateTimePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DesktopDateTimePickerProps } from "./DesktopDateTimePicker.types.js";
2
+ import type { DesktopDateTimePickerProps } from "./DesktopDateTimePicker.types.js";
3
3
  type DesktopDateTimePickerComponent = ((props: DesktopDateTimePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };
@@ -154,7 +154,7 @@ const DesktopDateTimePicker = exports.DesktopDateTimePicker = /*#__PURE__*/React
154
154
  return renderPicker();
155
155
  });
156
156
  if (process.env.NODE_ENV !== "production") DesktopDateTimePicker.displayName = "DesktopDateTimePicker";
157
- DesktopDateTimePicker.propTypes = {
157
+ process.env.NODE_ENV !== "production" ? DesktopDateTimePicker.propTypes /* remove-proptypes */ = {
158
158
  // ----------------------------- Warning --------------------------------
159
159
  // | These PropTypes are generated from the TypeScript type definitions |
160
160
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -546,4 +546,4 @@ DesktopDateTimePicker.propTypes = {
546
546
  * @default 4
547
547
  */
548
548
  yearsPerRow: _propTypes.default.oneOf([3, 4])
549
- };
549
+ } : void 0;
@@ -147,7 +147,7 @@ const DesktopDateTimePicker = /*#__PURE__*/React.forwardRef(function DesktopDate
147
147
  return renderPicker();
148
148
  });
149
149
  if (process.env.NODE_ENV !== "production") DesktopDateTimePicker.displayName = "DesktopDateTimePicker";
150
- DesktopDateTimePicker.propTypes = {
150
+ process.env.NODE_ENV !== "production" ? DesktopDateTimePicker.propTypes /* remove-proptypes */ = {
151
151
  // ----------------------------- Warning --------------------------------
152
152
  // | These PropTypes are generated from the TypeScript type definitions |
153
153
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -539,5 +539,5 @@ DesktopDateTimePicker.propTypes = {
539
539
  * @default 4
540
540
  */
541
541
  yearsPerRow: PropTypes.oneOf([3, 4])
542
- };
542
+ } : void 0;
543
543
  export { DesktopDateTimePicker };
@@ -1,9 +1,9 @@
1
- import { MakeOptional } from '@mui/x-internals/types';
2
- import { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.mjs";
3
- import { BaseDateTimePickerProps, BaseDateTimePickerSlots, BaseDateTimePickerSlotProps } from "../DateTimePicker/shared.mjs";
4
- import { DateOrTimeView } from "../models/index.mjs";
5
- import { DigitalTimePickerProps } from "../internals/models/props/time.mjs";
6
- import { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.mjs";
1
+ import type { MakeOptional } from '@mui/x-internals/types';
2
+ import type { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.mjs";
3
+ import type { BaseDateTimePickerProps, BaseDateTimePickerSlots, BaseDateTimePickerSlotProps } from "../DateTimePicker/shared.mjs";
4
+ import type { DateOrTimeView } from "../models/index.mjs";
5
+ import type { DigitalTimePickerProps } from "../internals/models/props/time.mjs";
6
+ import type { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.mjs";
7
7
  export interface DesktopDateTimePickerSlots extends BaseDateTimePickerSlots, MakeOptional<UseDesktopPickerSlots, 'field' | 'openPickerIcon'> {}
8
8
  export interface DesktopDateTimePickerSlotProps extends BaseDateTimePickerSlotProps, ExportedUseDesktopPickerSlotProps {}
9
9
  export interface DesktopDateTimePickerProps extends BaseDateTimePickerProps, DesktopOnlyPickerProps, DigitalTimePickerProps, ExportedYearCalendarProps {
@@ -1,9 +1,9 @@
1
- import { MakeOptional } from '@mui/x-internals/types';
2
- import { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.js";
3
- import { BaseDateTimePickerProps, BaseDateTimePickerSlots, BaseDateTimePickerSlotProps } from "../DateTimePicker/shared.js";
4
- import { DateOrTimeView } from "../models/index.js";
5
- import { DigitalTimePickerProps } from "../internals/models/props/time.js";
6
- import { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.js";
1
+ import type { MakeOptional } from '@mui/x-internals/types';
2
+ import type { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.js";
3
+ import type { BaseDateTimePickerProps, BaseDateTimePickerSlots, BaseDateTimePickerSlotProps } from "../DateTimePicker/shared.js";
4
+ import type { DateOrTimeView } from "../models/index.js";
5
+ import type { DigitalTimePickerProps } from "../internals/models/props/time.js";
6
+ import type { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.js";
7
7
  export interface DesktopDateTimePickerSlots extends BaseDateTimePickerSlots, MakeOptional<UseDesktopPickerSlots, 'field' | 'openPickerIcon'> {}
8
8
  export interface DesktopDateTimePickerSlotProps extends BaseDateTimePickerSlotProps, ExportedUseDesktopPickerSlotProps {}
9
9
  export interface DesktopDateTimePickerProps extends BaseDateTimePickerProps, DesktopOnlyPickerProps, DigitalTimePickerProps, ExportedYearCalendarProps {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { PickersLayoutProps } from "../PickersLayout/index.mjs";
3
- import { PickerValidValue } from "../internals/models/index.mjs";
2
+ import type { PickersLayoutProps } from "../PickersLayout/index.mjs";
3
+ import type { PickerValidValue } from "../internals/models/index.mjs";
4
4
  type DesktopDateTimePickerLayoutComponent = (<TValue extends PickerValidValue>(props: PickersLayoutProps<TValue> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
5
5
  propTypes?: any;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { PickersLayoutProps } from "../PickersLayout/index.js";
3
- import { PickerValidValue } from "../internals/models/index.js";
2
+ import type { PickersLayoutProps } from "../PickersLayout/index.js";
3
+ import type { PickerValidValue } from "../internals/models/index.js";
4
4
  type DesktopDateTimePickerLayoutComponent = (<TValue extends PickerValidValue>(props: PickersLayoutProps<TValue> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
5
5
  propTypes?: any;
6
6
  };
@@ -64,7 +64,7 @@ const DesktopDateTimePickerLayout = exports.DesktopDateTimePickerLayout = /*#__P
64
64
  });
65
65
  });
66
66
  if (process.env.NODE_ENV !== "production") DesktopDateTimePickerLayout.displayName = "DesktopDateTimePickerLayout";
67
- process.env.NODE_ENV !== "production" ? DesktopDateTimePickerLayout.propTypes = {
67
+ process.env.NODE_ENV !== "production" ? DesktopDateTimePickerLayout.propTypes /* remove-proptypes */ = {
68
68
  // ----------------------------- Warning --------------------------------
69
69
  // | These PropTypes are generated from the TypeScript type definitions |
70
70
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -57,7 +57,7 @@ const DesktopDateTimePickerLayout = /*#__PURE__*/React.forwardRef(function Deskt
57
57
  });
58
58
  });
59
59
  if (process.env.NODE_ENV !== "production") DesktopDateTimePickerLayout.displayName = "DesktopDateTimePickerLayout";
60
- process.env.NODE_ENV !== "production" ? DesktopDateTimePickerLayout.propTypes = {
60
+ process.env.NODE_ENV !== "production" ? DesktopDateTimePickerLayout.propTypes /* remove-proptypes */ = {
61
61
  // ----------------------------- Warning --------------------------------
62
62
  // | These PropTypes are generated from the TypeScript type definitions |
63
63
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DesktopTimePickerProps } from "./DesktopTimePicker.types.mjs";
2
+ import type { DesktopTimePickerProps } from "./DesktopTimePicker.types.mjs";
3
3
  type DesktopTimePickerComponent = ((props: DesktopTimePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DesktopTimePickerProps } from "./DesktopTimePicker.types.js";
2
+ import type { DesktopTimePickerProps } from "./DesktopTimePicker.types.js";
3
3
  type DesktopTimePickerComponent = ((props: DesktopTimePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };
@@ -86,7 +86,7 @@ const DesktopTimePicker = exports.DesktopTimePicker = /*#__PURE__*/React.forward
86
86
  return renderPicker();
87
87
  });
88
88
  if (process.env.NODE_ENV !== "production") DesktopTimePicker.displayName = "DesktopTimePicker";
89
- DesktopTimePicker.propTypes = {
89
+ process.env.NODE_ENV !== "production" ? DesktopTimePicker.propTypes /* remove-proptypes */ = {
90
90
  // ----------------------------- Warning --------------------------------
91
91
  // | These PropTypes are generated from the TypeScript type definitions |
92
92
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -366,4 +366,4 @@ DesktopTimePicker.propTypes = {
366
366
  * Available views.
367
367
  */
368
368
  views: _propTypes.default.arrayOf(_propTypes.default.oneOf(['hours', 'minutes', 'seconds']).isRequired)
369
- };
369
+ } : void 0;
@@ -79,7 +79,7 @@ const DesktopTimePicker = /*#__PURE__*/React.forwardRef(function DesktopTimePick
79
79
  return renderPicker();
80
80
  });
81
81
  if (process.env.NODE_ENV !== "production") DesktopTimePicker.displayName = "DesktopTimePicker";
82
- DesktopTimePicker.propTypes = {
82
+ process.env.NODE_ENV !== "production" ? DesktopTimePicker.propTypes /* remove-proptypes */ = {
83
83
  // ----------------------------- Warning --------------------------------
84
84
  // | These PropTypes are generated from the TypeScript type definitions |
85
85
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -359,5 +359,5 @@ DesktopTimePicker.propTypes = {
359
359
  * Available views.
360
360
  */
361
361
  views: PropTypes.arrayOf(PropTypes.oneOf(['hours', 'minutes', 'seconds']).isRequired)
362
- };
362
+ } : void 0;
363
363
  export { DesktopTimePicker };
@@ -1,11 +1,11 @@
1
- import { MakeOptional } from '@mui/x-internals/types';
2
- import { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.mjs";
3
- import { BaseTimePickerProps, BaseTimePickerSlots, BaseTimePickerSlotProps } from "../TimePicker/shared.mjs";
4
- import { TimeViewWithMeridiem } from "../internals/models/index.mjs";
5
- import { DigitalTimePickerProps } from "../internals/models/props/time.mjs";
6
- import { DigitalClockSlots, DigitalClockSlotProps } from "../DigitalClock/index.mjs";
7
- import { MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from "../MultiSectionDigitalClock/index.mjs";
8
- import { TimeView } from "../models/index.mjs";
1
+ import type { MakeOptional } from '@mui/x-internals/types';
2
+ import type { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.mjs";
3
+ import type { BaseTimePickerProps, BaseTimePickerSlots, BaseTimePickerSlotProps } from "../TimePicker/shared.mjs";
4
+ import type { TimeViewWithMeridiem } from "../internals/models/index.mjs";
5
+ import type { DigitalTimePickerProps } from "../internals/models/props/time.mjs";
6
+ import type { DigitalClockSlots, DigitalClockSlotProps } from "../DigitalClock/index.mjs";
7
+ import type { MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from "../MultiSectionDigitalClock/index.mjs";
8
+ import type { TimeView } from "../models/index.mjs";
9
9
  export interface DesktopTimePickerSlots extends BaseTimePickerSlots, MakeOptional<UseDesktopPickerSlots, 'field' | 'openPickerIcon'>, DigitalClockSlots, MultiSectionDigitalClockSlots {}
10
10
  export interface DesktopTimePickerSlotProps extends BaseTimePickerSlotProps, ExportedUseDesktopPickerSlotProps, DigitalClockSlotProps, MultiSectionDigitalClockSlotProps {}
11
11
  export interface DesktopTimePickerProps extends BaseTimePickerProps<TimeViewWithMeridiem>, DesktopOnlyPickerProps, DigitalTimePickerProps {
@@ -1,11 +1,11 @@
1
- import { MakeOptional } from '@mui/x-internals/types';
2
- import { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.js";
3
- import { BaseTimePickerProps, BaseTimePickerSlots, BaseTimePickerSlotProps } from "../TimePicker/shared.js";
4
- import { TimeViewWithMeridiem } from "../internals/models/index.js";
5
- import { DigitalTimePickerProps } from "../internals/models/props/time.js";
6
- import { DigitalClockSlots, DigitalClockSlotProps } from "../DigitalClock/index.js";
7
- import { MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from "../MultiSectionDigitalClock/index.js";
8
- import { TimeView } from "../models/index.js";
1
+ import type { MakeOptional } from '@mui/x-internals/types';
2
+ import type { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.js";
3
+ import type { BaseTimePickerProps, BaseTimePickerSlots, BaseTimePickerSlotProps } from "../TimePicker/shared.js";
4
+ import type { TimeViewWithMeridiem } from "../internals/models/index.js";
5
+ import type { DigitalTimePickerProps } from "../internals/models/props/time.js";
6
+ import type { DigitalClockSlots, DigitalClockSlotProps } from "../DigitalClock/index.js";
7
+ import type { MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from "../MultiSectionDigitalClock/index.js";
8
+ import type { TimeView } from "../models/index.js";
9
9
  export interface DesktopTimePickerSlots extends BaseTimePickerSlots, MakeOptional<UseDesktopPickerSlots, 'field' | 'openPickerIcon'>, DigitalClockSlots, MultiSectionDigitalClockSlots {}
10
10
  export interface DesktopTimePickerSlotProps extends BaseTimePickerSlotProps, ExportedUseDesktopPickerSlotProps, DigitalClockSlotProps, MultiSectionDigitalClockSlotProps {}
11
11
  export interface DesktopTimePickerProps extends BaseTimePickerProps<TimeViewWithMeridiem>, DesktopOnlyPickerProps, DigitalTimePickerProps {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DigitalClockProps } from "./DigitalClock.types.mjs";
2
+ import type { DigitalClockProps } from "./DigitalClock.types.mjs";
3
3
  export declare const DigitalClockItem: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, keyof import("@mui/material/MenuItem").MenuItemOwnProps> & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, "tabIndex" | "children" | "type" | "nativeButton" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | keyof import("@mui/material/MenuItem").MenuItemOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "disabled" | "autoFocus" | "dense" | "style" | "tabIndex" | "className" | "children" | "classes" | "type" | "sx" | "disableGutters" | "divider" | "nativeButton" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
4
4
  type DigitalClockComponent = ((props: DigitalClockProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
5
5
  propTypes?: any;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DigitalClockProps } from "./DigitalClock.types.js";
2
+ import type { DigitalClockProps } from "./DigitalClock.types.js";
3
3
  export declare const DigitalClockItem: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, keyof import("@mui/material/MenuItem").MenuItemOwnProps> & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, "tabIndex" | "children" | "type" | "nativeButton" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | keyof import("@mui/material/MenuItem").MenuItemOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "disabled" | "autoFocus" | "dense" | "style" | "tabIndex" | "className" | "children" | "classes" | "type" | "sx" | "disableGutters" | "divider" | "nativeButton" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
4
4
  type DigitalClockComponent = ((props: DigitalClockProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
5
5
  propTypes?: any;
@@ -324,7 +324,7 @@ const DigitalClock = exports.DigitalClock = /*#__PURE__*/React.forwardRef(functi
324
324
  }));
325
325
  });
326
326
  if (process.env.NODE_ENV !== "production") DigitalClock.displayName = "DigitalClock";
327
- process.env.NODE_ENV !== "production" ? DigitalClock.propTypes = {
327
+ process.env.NODE_ENV !== "production" ? DigitalClock.propTypes /* remove-proptypes */ = {
328
328
  // ----------------------------- Warning --------------------------------
329
329
  // | These PropTypes are generated from the TypeScript type definitions |
330
330
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -317,7 +317,7 @@ export const DigitalClock = /*#__PURE__*/React.forwardRef(function DigitalClock(
317
317
  }));
318
318
  });
319
319
  if (process.env.NODE_ENV !== "production") DigitalClock.displayName = "DigitalClock";
320
- process.env.NODE_ENV !== "production" ? DigitalClock.propTypes = {
320
+ process.env.NODE_ENV !== "production" ? DigitalClock.propTypes /* remove-proptypes */ = {
321
321
  // ----------------------------- Warning --------------------------------
322
322
  // | These PropTypes are generated from the TypeScript type definitions |
323
323
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
2
- import { SlotComponentProps } from '@mui/utils/types';
3
- import MenuItem from '@mui/material/MenuItem';
4
- import { DigitalClockClasses } from "./digitalClockClasses.mjs";
5
- import { BaseClockProps, DigitalClockOnlyProps, ExportedBaseClockProps } from "../internals/models/props/time.mjs";
6
- import { PickerOwnerState, TimeView, PickerValidDate } from "../models/index.mjs";
1
+ import type * as React from 'react';
2
+ import type { SlotComponentProps } from '@mui/utils/types';
3
+ import type MenuItem from '@mui/material/MenuItem';
4
+ import type { DigitalClockClasses } from "./digitalClockClasses.mjs";
5
+ import type { BaseClockProps, DigitalClockOnlyProps, ExportedBaseClockProps } from "../internals/models/props/time.mjs";
6
+ import type { PickerOwnerState, TimeView, PickerValidDate } from "../models/index.mjs";
7
7
  export interface ExportedDigitalClockProps extends ExportedBaseClockProps, DigitalClockOnlyProps {}
8
8
  export interface DigitalClockSlots {
9
9
  /**
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
2
- import { SlotComponentProps } from '@mui/utils/types';
3
- import MenuItem from '@mui/material/MenuItem';
4
- import { DigitalClockClasses } from "./digitalClockClasses.js";
5
- import { BaseClockProps, DigitalClockOnlyProps, ExportedBaseClockProps } from "../internals/models/props/time.js";
6
- import { PickerOwnerState, TimeView, PickerValidDate } from "../models/index.js";
1
+ import type * as React from 'react';
2
+ import type { SlotComponentProps } from '@mui/utils/types';
3
+ import type MenuItem from '@mui/material/MenuItem';
4
+ import type { DigitalClockClasses } from "./digitalClockClasses.js";
5
+ import type { BaseClockProps, DigitalClockOnlyProps, ExportedBaseClockProps } from "../internals/models/props/time.js";
6
+ import type { PickerOwnerState, TimeView, PickerValidDate } from "../models/index.js";
7
7
  export interface ExportedDigitalClockProps extends ExportedBaseClockProps, DigitalClockOnlyProps {}
8
8
  export interface DigitalClockSlots {
9
9
  /**
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { AdapterFormats, MuiPickersAdapter, PickerValidDate } from "../models/index.mjs";
3
- import { PickersInputLocaleText } from "../locales/index.mjs";
2
+ import type { AdapterFormats, MuiPickersAdapter, PickerValidDate } from "../models/index.mjs";
3
+ import type { PickersInputLocaleText } from "../locales/index.mjs";
4
4
  export interface PickersAdapterContextValue {
5
5
  defaultDates: {
6
6
  minDate: PickerValidDate;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { AdapterFormats, MuiPickersAdapter, PickerValidDate } from "../models/index.js";
3
- import { PickersInputLocaleText } from "../locales/index.js";
2
+ import type { AdapterFormats, MuiPickersAdapter, PickerValidDate } from "../models/index.js";
3
+ import type { PickersInputLocaleText } from "../locales/index.js";
4
4
  export interface PickersAdapterContextValue {
5
5
  defaultDates: {
6
6
  minDate: PickerValidDate;
@@ -95,7 +95,7 @@ const LocalizationProvider = exports.LocalizationProvider = function Localizatio
95
95
  });
96
96
  };
97
97
  if (process.env.NODE_ENV !== "production") LocalizationProvider.displayName = "LocalizationProvider";
98
- process.env.NODE_ENV !== "production" ? LocalizationProvider.propTypes = {
98
+ process.env.NODE_ENV !== "production" ? LocalizationProvider.propTypes /* remove-proptypes */ = {
99
99
  // ----------------------------- Warning --------------------------------
100
100
  // | These PropTypes are generated from the TypeScript type definitions |
101
101
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -88,7 +88,7 @@ export const LocalizationProvider = function LocalizationProvider(inProps) {
88
88
  });
89
89
  };
90
90
  if (process.env.NODE_ENV !== "production") LocalizationProvider.displayName = "LocalizationProvider";
91
- process.env.NODE_ENV !== "production" ? LocalizationProvider.propTypes = {
91
+ process.env.NODE_ENV !== "production" ? LocalizationProvider.propTypes /* remove-proptypes */ = {
92
92
  // ----------------------------- Warning --------------------------------
93
93
  // | These PropTypes are generated from the TypeScript type definitions |
94
94
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { MobileDatePickerProps } from "./MobileDatePicker.types.mjs";
2
+ import type { MobileDatePickerProps } from "./MobileDatePicker.types.mjs";
3
3
  type MobileDatePickerComponent = ((props: MobileDatePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { MobileDatePickerProps } from "./MobileDatePicker.types.js";
2
+ import type { MobileDatePickerProps } from "./MobileDatePicker.types.js";
3
3
  type MobileDatePickerComponent = ((props: MobileDatePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };
@@ -68,7 +68,7 @@ const MobileDatePicker = exports.MobileDatePicker = /*#__PURE__*/React.forwardRe
68
68
  return renderPicker();
69
69
  });
70
70
  if (process.env.NODE_ENV !== "production") MobileDatePicker.displayName = "MobileDatePicker";
71
- MobileDatePicker.propTypes = {
71
+ process.env.NODE_ENV !== "production" ? MobileDatePicker.propTypes /* remove-proptypes */ = {
72
72
  // ----------------------------- Warning --------------------------------
73
73
  // | These PropTypes are generated from the TypeScript type definitions |
74
74
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -390,4 +390,4 @@ MobileDatePicker.propTypes = {
390
390
  * @default 3
391
391
  */
392
392
  yearsPerRow: _propTypes.default.oneOf([3, 4])
393
- };
393
+ } : void 0;
@@ -61,7 +61,7 @@ const MobileDatePicker = /*#__PURE__*/React.forwardRef(function MobileDatePicker
61
61
  return renderPicker();
62
62
  });
63
63
  if (process.env.NODE_ENV !== "production") MobileDatePicker.displayName = "MobileDatePicker";
64
- MobileDatePicker.propTypes = {
64
+ process.env.NODE_ENV !== "production" ? MobileDatePicker.propTypes /* remove-proptypes */ = {
65
65
  // ----------------------------- Warning --------------------------------
66
66
  // | These PropTypes are generated from the TypeScript type definitions |
67
67
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -383,5 +383,5 @@ MobileDatePicker.propTypes = {
383
383
  * @default 3
384
384
  */
385
385
  yearsPerRow: PropTypes.oneOf([3, 4])
386
- };
386
+ } : void 0;
387
387
  export { MobileDatePicker };
@@ -1,6 +1,6 @@
1
- import { MakeOptional } from '@mui/x-internals/types';
2
- import { UseMobilePickerSlots, MobileOnlyPickerProps, ExportedUseMobilePickerSlotProps } from "../internals/hooks/useMobilePicker/index.mjs";
3
- import { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.mjs";
1
+ import type { MakeOptional } from '@mui/x-internals/types';
2
+ import type { UseMobilePickerSlots, MobileOnlyPickerProps, ExportedUseMobilePickerSlotProps } from "../internals/hooks/useMobilePicker/index.mjs";
3
+ import type { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.mjs";
4
4
  export interface MobileDatePickerSlots extends BaseDatePickerSlots, MakeOptional<UseMobilePickerSlots, 'field'> {}
5
5
  export interface MobileDatePickerSlotProps extends BaseDatePickerSlotProps, ExportedUseMobilePickerSlotProps {}
6
6
  export interface MobileDatePickerProps extends BaseDatePickerProps, MobileOnlyPickerProps {
@@ -1,6 +1,6 @@
1
- import { MakeOptional } from '@mui/x-internals/types';
2
- import { UseMobilePickerSlots, MobileOnlyPickerProps, ExportedUseMobilePickerSlotProps } from "../internals/hooks/useMobilePicker/index.js";
3
- import { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.js";
1
+ import type { MakeOptional } from '@mui/x-internals/types';
2
+ import type { UseMobilePickerSlots, MobileOnlyPickerProps, ExportedUseMobilePickerSlotProps } from "../internals/hooks/useMobilePicker/index.js";
3
+ import type { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.js";
4
4
  export interface MobileDatePickerSlots extends BaseDatePickerSlots, MakeOptional<UseMobilePickerSlots, 'field'> {}
5
5
  export interface MobileDatePickerSlotProps extends BaseDatePickerSlotProps, ExportedUseMobilePickerSlotProps {}
6
6
  export interface MobileDatePickerProps extends BaseDatePickerProps, MobileOnlyPickerProps {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { MobileDateTimePickerProps } from "./MobileDateTimePicker.types.mjs";
2
+ import type { MobileDateTimePickerProps } from "./MobileDateTimePicker.types.mjs";
3
3
  type MobileDateTimePickerComponent = ((props: MobileDateTimePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { MobileDateTimePickerProps } from "./MobileDateTimePicker.types.js";
2
+ import type { MobileDateTimePickerProps } from "./MobileDateTimePicker.types.js";
3
3
  type MobileDateTimePickerComponent = ((props: MobileDateTimePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };