@mui/x-date-pickers 9.8.0 → 9.10.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 (192) hide show
  1. package/CHANGELOG.md +230 -0
  2. package/DateCalendar/DayCalendar.d.mts +1 -1
  3. package/DateCalendar/DayCalendar.d.ts +1 -1
  4. package/DateCalendar/PickersFadeTransitionGroup.d.mts +1 -1
  5. package/DateCalendar/PickersFadeTransitionGroup.d.ts +1 -1
  6. package/DateCalendar/PickersSlideTransition.d.mts +1 -1
  7. package/DateCalendar/PickersSlideTransition.d.ts +1 -1
  8. package/DateCalendar/useIsDateDisabled.d.mts +1 -1
  9. package/DateCalendar/useIsDateDisabled.d.ts +1 -1
  10. package/DatePicker/shared.d.mts +2 -1
  11. package/DatePicker/shared.d.ts +2 -1
  12. package/DateTimePicker/DateTimePickerTabs.d.mts +4 -14
  13. package/DateTimePicker/DateTimePickerTabs.d.ts +4 -14
  14. package/DateTimePicker/DateTimePickerTabs.js +13 -9
  15. package/DateTimePicker/DateTimePickerTabs.mjs +13 -9
  16. package/DateTimePicker/DateTimePickerToolbar.d.mts +1 -1
  17. package/DateTimePicker/DateTimePickerToolbar.d.ts +1 -1
  18. package/DateTimePicker/shared.d.mts +3 -2
  19. package/DateTimePicker/shared.d.ts +3 -2
  20. package/DayCalendarSkeleton/DayCalendarSkeleton.d.mts +1 -1
  21. package/DayCalendarSkeleton/DayCalendarSkeleton.d.ts +1 -1
  22. package/DigitalClock/DigitalClock.d.mts +1 -1
  23. package/DigitalClock/DigitalClock.d.ts +1 -1
  24. package/MonthCalendar/MonthCalendarButton.d.mts +1 -1
  25. package/MonthCalendar/MonthCalendarButton.d.ts +1 -1
  26. package/PickersActionBar/PickersActionBar.d.mts +1 -4
  27. package/PickersActionBar/PickersActionBar.d.ts +1 -4
  28. package/PickersLayout/PickersLayout.d.mts +2 -2
  29. package/PickersLayout/PickersLayout.d.ts +2 -2
  30. package/PickersLayout/PickersLayout.types.d.mts +4 -4
  31. package/PickersLayout/PickersLayout.types.d.ts +4 -4
  32. package/PickersSectionList/PickersSectionList.d.mts +1 -1
  33. package/PickersSectionList/PickersSectionList.d.ts +1 -1
  34. package/PickersShortcuts/PickersShortcuts.d.mts +1 -1
  35. package/PickersShortcuts/PickersShortcuts.d.ts +1 -1
  36. package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.mts +11 -11
  37. package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.ts +11 -11
  38. package/PickersTextField/PickersInput/pickersInputClasses.d.mts +11 -11
  39. package/PickersTextField/PickersInput/pickersInputClasses.d.ts +11 -11
  40. package/PickersTextField/PickersInputBase/PickersInputBase.d.mts +2 -2
  41. package/PickersTextField/PickersInputBase/PickersInputBase.d.ts +2 -2
  42. package/PickersTextField/PickersOutlinedInput/Outline.d.mts +1 -1
  43. package/PickersTextField/PickersOutlinedInput/Outline.d.ts +1 -1
  44. package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.mts +11 -11
  45. package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.ts +11 -11
  46. package/PickersTextField/PickersTextField.d.mts +1 -1
  47. package/PickersTextField/PickersTextField.d.ts +1 -1
  48. package/PickersTextField/PickersTextField.types.d.mts +6 -5
  49. package/PickersTextField/PickersTextField.types.d.ts +6 -5
  50. package/TimeClock/Clock.d.mts +1 -1
  51. package/TimeClock/Clock.d.ts +1 -1
  52. package/TimeClock/ClockNumber.d.mts +1 -1
  53. package/TimeClock/ClockNumber.d.ts +1 -1
  54. package/TimeClock/ClockNumbers.d.mts +2 -2
  55. package/TimeClock/ClockNumbers.d.ts +2 -2
  56. package/TimeClock/ClockPointer.d.mts +1 -1
  57. package/TimeClock/ClockPointer.d.ts +1 -1
  58. package/TimePicker/TimePickerToolbar.d.mts +1 -1
  59. package/TimePicker/TimePickerToolbar.d.ts +1 -1
  60. package/TimePicker/shared.d.mts +2 -1
  61. package/TimePicker/shared.d.ts +2 -1
  62. package/YearCalendar/YearCalendarButton.d.mts +1 -1
  63. package/YearCalendar/YearCalendarButton.d.ts +1 -1
  64. package/YearCalendar/yearCalendarClasses.d.mts +1 -1
  65. package/YearCalendar/yearCalendarClasses.d.ts +1 -1
  66. package/dateViewRenderers/dateViewRenderers.d.mts +1 -1
  67. package/dateViewRenderers/dateViewRenderers.d.ts +1 -1
  68. package/hooks/useSplitFieldProps.d.mts +1 -1
  69. package/hooks/useSplitFieldProps.d.ts +1 -1
  70. package/index.js +1 -1
  71. package/index.mjs +1 -1
  72. package/internals/components/PickerFieldUI.d.mts +3 -3
  73. package/internals/components/PickerFieldUI.d.ts +3 -3
  74. package/internals/components/PickerPopper/PickerPopper.d.mts +3 -2
  75. package/internals/components/PickerPopper/PickerPopper.d.ts +3 -2
  76. package/internals/components/PickerPopper/pickerPopperClasses.d.mts +1 -1
  77. package/internals/components/PickerPopper/pickerPopperClasses.d.ts +1 -1
  78. package/internals/components/PickerProvider.d.mts +1 -1
  79. package/internals/components/PickerProvider.d.ts +1 -1
  80. package/internals/components/PickerViewRoot/PickerViewRoot.d.mts +1 -1
  81. package/internals/components/PickerViewRoot/PickerViewRoot.d.ts +1 -1
  82. package/internals/components/PickersArrowSwitcher/pickersArrowSwitcherClasses.d.mts +1 -1
  83. package/internals/components/PickersArrowSwitcher/pickersArrowSwitcherClasses.d.ts +1 -1
  84. package/internals/components/PickersModalDialog.d.mts +5 -4
  85. package/internals/components/PickersModalDialog.d.ts +5 -4
  86. package/internals/components/pickersToolbarClasses.d.mts +1 -1
  87. package/internals/components/pickersToolbarClasses.d.ts +1 -1
  88. package/internals/demo/DemoContainer.d.mts +2 -2
  89. package/internals/demo/DemoContainer.d.ts +2 -2
  90. package/internals/hooks/date-helpers-hooks.d.mts +1 -1
  91. package/internals/hooks/date-helpers-hooks.d.ts +1 -1
  92. package/internals/hooks/useDesktopPicker/useDesktopPicker.d.mts +1 -1
  93. package/internals/hooks/useDesktopPicker/useDesktopPicker.d.ts +1 -1
  94. package/internals/hooks/useField/useField.utils.d.mts +3 -3
  95. package/internals/hooks/useField/useField.utils.d.ts +3 -3
  96. package/internals/hooks/useMobilePicker/useMobilePicker.d.mts +1 -1
  97. package/internals/hooks/useMobilePicker/useMobilePicker.d.ts +1 -1
  98. package/internals/hooks/useStaticPicker/useStaticPicker.d.mts +1 -1
  99. package/internals/hooks/useStaticPicker/useStaticPicker.d.ts +1 -1
  100. package/internals/utils/date-utils.d.mts +2 -2
  101. package/internals/utils/date-utils.d.ts +2 -2
  102. package/internals/utils/time-utils.d.mts +2 -2
  103. package/internals/utils/time-utils.d.ts +2 -2
  104. package/locales/beBY.d.mts +5 -5
  105. package/locales/beBY.d.ts +5 -5
  106. package/locales/bgBG.d.mts +5 -5
  107. package/locales/bgBG.d.ts +5 -5
  108. package/locales/bnBD.d.mts +5 -5
  109. package/locales/bnBD.d.ts +5 -5
  110. package/locales/caES.d.mts +5 -5
  111. package/locales/caES.d.ts +5 -5
  112. package/locales/csCZ.d.mts +5 -5
  113. package/locales/csCZ.d.ts +5 -5
  114. package/locales/daDK.d.mts +5 -5
  115. package/locales/daDK.d.ts +5 -5
  116. package/locales/deDE.d.mts +5 -5
  117. package/locales/deDE.d.ts +5 -5
  118. package/locales/elGR.d.mts +5 -5
  119. package/locales/elGR.d.ts +5 -5
  120. package/locales/enUS.d.mts +5 -5
  121. package/locales/enUS.d.ts +5 -5
  122. package/locales/esES.d.mts +5 -5
  123. package/locales/esES.d.ts +5 -5
  124. package/locales/eu.d.mts +5 -5
  125. package/locales/eu.d.ts +5 -5
  126. package/locales/faIR.d.mts +5 -5
  127. package/locales/faIR.d.ts +5 -5
  128. package/locales/fiFI.d.mts +5 -5
  129. package/locales/fiFI.d.ts +5 -5
  130. package/locales/frFR.d.mts +5 -5
  131. package/locales/frFR.d.ts +5 -5
  132. package/locales/heIL.d.mts +5 -5
  133. package/locales/heIL.d.ts +5 -5
  134. package/locales/hrHR.d.mts +5 -5
  135. package/locales/hrHR.d.ts +5 -5
  136. package/locales/huHU.d.mts +5 -5
  137. package/locales/huHU.d.ts +5 -5
  138. package/locales/isIS.d.mts +5 -5
  139. package/locales/isIS.d.ts +5 -5
  140. package/locales/itIT.d.mts +5 -5
  141. package/locales/itIT.d.ts +5 -5
  142. package/locales/jaJP.d.mts +5 -5
  143. package/locales/jaJP.d.ts +5 -5
  144. package/locales/koKR.d.mts +5 -5
  145. package/locales/koKR.d.ts +5 -5
  146. package/locales/kzKZ.d.mts +5 -5
  147. package/locales/kzKZ.d.ts +5 -5
  148. package/locales/mk.d.mts +5 -5
  149. package/locales/mk.d.ts +5 -5
  150. package/locales/nbNO.d.mts +5 -5
  151. package/locales/nbNO.d.ts +5 -5
  152. package/locales/nlNL.d.mts +5 -5
  153. package/locales/nlNL.d.ts +5 -5
  154. package/locales/nnNO.d.mts +5 -5
  155. package/locales/nnNO.d.ts +5 -5
  156. package/locales/plPL.d.mts +5 -5
  157. package/locales/plPL.d.ts +5 -5
  158. package/locales/ptBR.d.mts +5 -5
  159. package/locales/ptBR.d.ts +5 -5
  160. package/locales/ptPT.d.mts +5 -5
  161. package/locales/ptPT.d.ts +5 -5
  162. package/locales/roRO.d.mts +5 -5
  163. package/locales/roRO.d.ts +5 -5
  164. package/locales/ruRU.d.mts +5 -5
  165. package/locales/ruRU.d.ts +5 -5
  166. package/locales/skSK.d.mts +5 -5
  167. package/locales/skSK.d.ts +5 -5
  168. package/locales/svSE.d.mts +5 -5
  169. package/locales/svSE.d.ts +5 -5
  170. package/locales/thTH.d.mts +5 -5
  171. package/locales/thTH.d.ts +5 -5
  172. package/locales/trTR.d.mts +5 -5
  173. package/locales/trTR.d.ts +5 -5
  174. package/locales/ukUA.d.mts +5 -5
  175. package/locales/ukUA.d.ts +5 -5
  176. package/locales/urPK.d.mts +5 -5
  177. package/locales/urPK.d.ts +5 -5
  178. package/locales/utils/getPickersLocalization.d.mts +5 -5
  179. package/locales/utils/getPickersLocalization.d.ts +5 -5
  180. package/locales/viVN.d.mts +5 -5
  181. package/locales/viVN.d.ts +5 -5
  182. package/locales/zhCN.d.mts +5 -5
  183. package/locales/zhCN.d.ts +5 -5
  184. package/locales/zhHK.d.mts +5 -5
  185. package/locales/zhHK.d.ts +5 -5
  186. package/locales/zhTW.d.mts +5 -5
  187. package/locales/zhTW.d.ts +5 -5
  188. package/package.json +3 -3
  189. package/timeViewRenderers/timeViewRenderers.d.mts +3 -3
  190. package/timeViewRenderers/timeViewRenderers.d.ts +3 -3
  191. package/validation/extractValidationProps.d.mts +1 -1
  192. package/validation/extractValidationProps.d.ts +1 -1
@@ -39,7 +39,7 @@ export declare const renderTimeViewClock: ({
39
39
  showViewSwitcher,
40
40
  disableIgnoringDatePartForTimeValidation,
41
41
  timezone
42
- }: TimeViewRendererProps<TimeView, TimeClockProps<TimeView>>) => import("react/jsx-runtime").JSX.Element;
42
+ }: TimeViewRendererProps<TimeView, TimeClockProps<TimeView>>) => import("react").JSX.Element;
43
43
  export declare const renderDigitalClockTimeView: ({
44
44
  view,
45
45
  onViewChange,
@@ -69,7 +69,7 @@ export declare const renderDigitalClockTimeView: ({
69
69
  timeSteps,
70
70
  skipDisabled,
71
71
  timezone
72
- }: TimeViewRendererProps<Extract<TimeView, "hours">, Omit<DigitalClockProps, "timeStep"> & Pick<TimePickerProps, "timeSteps">>) => import("react/jsx-runtime").JSX.Element;
72
+ }: TimeViewRendererProps<Extract<TimeView, 'hours'>, Omit<DigitalClockProps, 'timeStep'> & Pick<TimePickerProps, 'timeSteps'>>) => import("react").JSX.Element;
73
73
  export declare const renderMultiSectionDigitalClockTimeView: ({
74
74
  view,
75
75
  onViewChange,
@@ -99,4 +99,4 @@ export declare const renderMultiSectionDigitalClockTimeView: ({
99
99
  timeSteps,
100
100
  skipDisabled,
101
101
  timezone
102
- }: TimeViewRendererProps<TimeViewWithMeridiem, MultiSectionDigitalClockProps>) => import("react/jsx-runtime").JSX.Element;
102
+ }: TimeViewRendererProps<TimeViewWithMeridiem, MultiSectionDigitalClockProps>) => import("react").JSX.Element;
@@ -8,4 +8,4 @@ export declare const DATE_TIME_VALIDATION_PROP_NAMES: (keyof DateTimeValidationP
8
8
  */
9
9
  export declare const extractValidationProps: <Props extends {
10
10
  [key: string]: any;
11
- }>(props: Props) => Pick<Props, "maxDate" | "minDate" | "disablePast" | "disableFuture" | "shouldDisableYear" | "shouldDisableMonth" | "shouldDisableDate" | "minTime" | "maxTime" | "minutesStep" | "shouldDisableTime" | "disableIgnoringDatePartForTimeValidation" | "ampm" | "minDateTime" | "maxDateTime">;
11
+ }>(props: Props) => Pick<Props, "ampm" | "disableFuture" | "disableIgnoringDatePartForTimeValidation" | "disablePast" | "maxDate" | "maxDateTime" | "maxTime" | "minDate" | "minDateTime" | "minTime" | "minutesStep" | "shouldDisableDate" | "shouldDisableMonth" | "shouldDisableTime" | "shouldDisableYear">;
@@ -8,4 +8,4 @@ export declare const DATE_TIME_VALIDATION_PROP_NAMES: (keyof DateTimeValidationP
8
8
  */
9
9
  export declare const extractValidationProps: <Props extends {
10
10
  [key: string]: any;
11
- }>(props: Props) => Pick<Props, "maxDate" | "minDate" | "disablePast" | "disableFuture" | "shouldDisableYear" | "shouldDisableMonth" | "shouldDisableDate" | "minTime" | "maxTime" | "minutesStep" | "shouldDisableTime" | "disableIgnoringDatePartForTimeValidation" | "ampm" | "minDateTime" | "maxDateTime">;
11
+ }>(props: Props) => Pick<Props, "ampm" | "disableFuture" | "disableIgnoringDatePartForTimeValidation" | "disablePast" | "maxDate" | "maxDateTime" | "maxTime" | "minDate" | "minDateTime" | "minTime" | "minutesStep" | "shouldDisableDate" | "shouldDisableMonth" | "shouldDisableTime" | "shouldDisableYear">;