@mui/x-date-pickers 9.9.0 → 9.10.1

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 (158) hide show
  1. package/CHANGELOG.md +217 -0
  2. package/DateCalendar/useIsDateDisabled.d.mts +1 -1
  3. package/DateCalendar/useIsDateDisabled.d.ts +1 -1
  4. package/DatePicker/shared.d.mts +2 -1
  5. package/DatePicker/shared.d.ts +2 -1
  6. package/DateTimePicker/DateTimePickerTabs.d.mts +4 -14
  7. package/DateTimePicker/DateTimePickerTabs.d.ts +4 -14
  8. package/DateTimePicker/DateTimePickerTabs.js +13 -9
  9. package/DateTimePicker/DateTimePickerTabs.mjs +13 -9
  10. package/DateTimePicker/shared.d.mts +3 -2
  11. package/DateTimePicker/shared.d.ts +3 -2
  12. package/DigitalClock/DigitalClock.d.mts +1 -1
  13. package/DigitalClock/DigitalClock.d.ts +1 -1
  14. package/PickersActionBar/PickersActionBar.d.mts +0 -3
  15. package/PickersActionBar/PickersActionBar.d.ts +0 -3
  16. package/PickersLayout/PickersLayout.d.mts +2 -2
  17. package/PickersLayout/PickersLayout.d.ts +2 -2
  18. package/PickersLayout/PickersLayout.types.d.mts +4 -4
  19. package/PickersLayout/PickersLayout.types.d.ts +4 -4
  20. package/PickersSectionList/PickersSectionList.d.mts +1 -1
  21. package/PickersSectionList/PickersSectionList.d.ts +1 -1
  22. package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.mts +11 -11
  23. package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.ts +11 -11
  24. package/PickersTextField/PickersInput/pickersInputClasses.d.mts +11 -11
  25. package/PickersTextField/PickersInput/pickersInputClasses.d.ts +11 -11
  26. package/PickersTextField/PickersInputBase/PickersInputBase.d.mts +2 -2
  27. package/PickersTextField/PickersInputBase/PickersInputBase.d.ts +2 -2
  28. package/PickersTextField/PickersInputBase/PickersInputBase.js +9 -19
  29. package/PickersTextField/PickersInputBase/PickersInputBase.mjs +9 -19
  30. package/PickersTextField/PickersInputBase/pickersInputBaseClasses.js +1 -1
  31. package/PickersTextField/PickersInputBase/pickersInputBaseClasses.mjs +1 -1
  32. package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.mts +11 -11
  33. package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.ts +11 -11
  34. package/PickersTextField/PickersTextField.d.mts +1 -1
  35. package/PickersTextField/PickersTextField.d.ts +1 -1
  36. package/PickersTextField/PickersTextField.types.d.mts +6 -5
  37. package/PickersTextField/PickersTextField.types.d.ts +6 -5
  38. package/TimeClock/ClockNumbers.d.mts +1 -1
  39. package/TimeClock/ClockNumbers.d.ts +1 -1
  40. package/TimePicker/shared.d.mts +2 -1
  41. package/TimePicker/shared.d.ts +2 -1
  42. package/YearCalendar/yearCalendarClasses.d.mts +1 -1
  43. package/YearCalendar/yearCalendarClasses.d.ts +1 -1
  44. package/hooks/useSplitFieldProps.d.mts +1 -1
  45. package/hooks/useSplitFieldProps.d.ts +1 -1
  46. package/index.js +1 -1
  47. package/index.mjs +1 -1
  48. package/internals/components/PickerFieldUI.d.mts +1 -1
  49. package/internals/components/PickerFieldUI.d.ts +1 -1
  50. package/internals/components/PickerPopper/PickerPopper.d.mts +2 -1
  51. package/internals/components/PickerPopper/PickerPopper.d.ts +2 -1
  52. package/internals/components/PickerPopper/pickerPopperClasses.d.mts +1 -1
  53. package/internals/components/PickerPopper/pickerPopperClasses.d.ts +1 -1
  54. package/internals/components/PickerViewRoot/PickerViewRoot.d.mts +1 -1
  55. package/internals/components/PickerViewRoot/PickerViewRoot.d.ts +1 -1
  56. package/internals/components/PickersArrowSwitcher/pickersArrowSwitcherClasses.d.mts +1 -1
  57. package/internals/components/PickersArrowSwitcher/pickersArrowSwitcherClasses.d.ts +1 -1
  58. package/internals/components/PickersModalDialog.d.mts +4 -3
  59. package/internals/components/PickersModalDialog.d.ts +4 -3
  60. package/internals/components/pickersToolbarClasses.d.mts +1 -1
  61. package/internals/components/pickersToolbarClasses.d.ts +1 -1
  62. package/internals/hooks/date-helpers-hooks.d.mts +1 -1
  63. package/internals/hooks/date-helpers-hooks.d.ts +1 -1
  64. package/internals/hooks/useField/useField.utils.d.mts +3 -3
  65. package/internals/hooks/useField/useField.utils.d.ts +3 -3
  66. package/internals/utils/date-utils.d.mts +2 -2
  67. package/internals/utils/date-utils.d.ts +2 -2
  68. package/internals/utils/time-utils.d.mts +2 -2
  69. package/internals/utils/time-utils.d.ts +2 -2
  70. package/locales/beBY.d.mts +5 -5
  71. package/locales/beBY.d.ts +5 -5
  72. package/locales/bgBG.d.mts +5 -5
  73. package/locales/bgBG.d.ts +5 -5
  74. package/locales/bnBD.d.mts +5 -5
  75. package/locales/bnBD.d.ts +5 -5
  76. package/locales/caES.d.mts +5 -5
  77. package/locales/caES.d.ts +5 -5
  78. package/locales/csCZ.d.mts +5 -5
  79. package/locales/csCZ.d.ts +5 -5
  80. package/locales/daDK.d.mts +5 -5
  81. package/locales/daDK.d.ts +5 -5
  82. package/locales/deDE.d.mts +5 -5
  83. package/locales/deDE.d.ts +5 -5
  84. package/locales/elGR.d.mts +5 -5
  85. package/locales/elGR.d.ts +5 -5
  86. package/locales/enUS.d.mts +5 -5
  87. package/locales/enUS.d.ts +5 -5
  88. package/locales/esES.d.mts +5 -5
  89. package/locales/esES.d.ts +5 -5
  90. package/locales/eu.d.mts +5 -5
  91. package/locales/eu.d.ts +5 -5
  92. package/locales/faIR.d.mts +5 -5
  93. package/locales/faIR.d.ts +5 -5
  94. package/locales/fiFI.d.mts +5 -5
  95. package/locales/fiFI.d.ts +5 -5
  96. package/locales/frFR.d.mts +5 -5
  97. package/locales/frFR.d.ts +5 -5
  98. package/locales/heIL.d.mts +5 -5
  99. package/locales/heIL.d.ts +5 -5
  100. package/locales/hrHR.d.mts +5 -5
  101. package/locales/hrHR.d.ts +5 -5
  102. package/locales/huHU.d.mts +5 -5
  103. package/locales/huHU.d.ts +5 -5
  104. package/locales/isIS.d.mts +5 -5
  105. package/locales/isIS.d.ts +5 -5
  106. package/locales/itIT.d.mts +5 -5
  107. package/locales/itIT.d.ts +5 -5
  108. package/locales/jaJP.d.mts +5 -5
  109. package/locales/jaJP.d.ts +5 -5
  110. package/locales/koKR.d.mts +5 -5
  111. package/locales/koKR.d.ts +5 -5
  112. package/locales/kzKZ.d.mts +5 -5
  113. package/locales/kzKZ.d.ts +5 -5
  114. package/locales/mk.d.mts +5 -5
  115. package/locales/mk.d.ts +5 -5
  116. package/locales/nbNO.d.mts +5 -5
  117. package/locales/nbNO.d.ts +5 -5
  118. package/locales/nlNL.d.mts +5 -5
  119. package/locales/nlNL.d.ts +5 -5
  120. package/locales/nnNO.d.mts +5 -5
  121. package/locales/nnNO.d.ts +5 -5
  122. package/locales/plPL.d.mts +5 -5
  123. package/locales/plPL.d.ts +5 -5
  124. package/locales/ptBR.d.mts +5 -5
  125. package/locales/ptBR.d.ts +5 -5
  126. package/locales/ptPT.d.mts +5 -5
  127. package/locales/ptPT.d.ts +5 -5
  128. package/locales/roRO.d.mts +5 -5
  129. package/locales/roRO.d.ts +5 -5
  130. package/locales/ruRU.d.mts +5 -5
  131. package/locales/ruRU.d.ts +5 -5
  132. package/locales/skSK.d.mts +5 -5
  133. package/locales/skSK.d.ts +5 -5
  134. package/locales/svSE.d.mts +5 -5
  135. package/locales/svSE.d.ts +5 -5
  136. package/locales/thTH.d.mts +5 -5
  137. package/locales/thTH.d.ts +5 -5
  138. package/locales/trTR.d.mts +5 -5
  139. package/locales/trTR.d.ts +5 -5
  140. package/locales/ukUA.d.mts +5 -5
  141. package/locales/ukUA.d.ts +5 -5
  142. package/locales/urPK.d.mts +5 -5
  143. package/locales/urPK.d.ts +5 -5
  144. package/locales/utils/getPickersLocalization.d.mts +5 -5
  145. package/locales/utils/getPickersLocalization.d.ts +5 -5
  146. package/locales/viVN.d.mts +5 -5
  147. package/locales/viVN.d.ts +5 -5
  148. package/locales/zhCN.d.mts +5 -5
  149. package/locales/zhCN.d.ts +5 -5
  150. package/locales/zhHK.d.mts +5 -5
  151. package/locales/zhHK.d.ts +5 -5
  152. package/locales/zhTW.d.mts +5 -5
  153. package/locales/zhTW.d.ts +5 -5
  154. package/package.json +2 -2
  155. package/timeViewRenderers/timeViewRenderers.d.mts +1 -1
  156. package/timeViewRenderers/timeViewRenderers.d.ts +1 -1
  157. package/validation/extractValidationProps.d.mts +1 -1
  158. package/validation/extractValidationProps.d.ts +1 -1
@@ -16,4 +16,4 @@ export interface PickersArrowSwitcherClasses {
16
16
  }
17
17
  export type PickersArrowSwitcherClassKey = keyof PickersArrowSwitcherClasses;
18
18
  export declare function getPickersArrowSwitcherUtilityClass(slot: string): string;
19
- export declare const pickersArrowSwitcherClasses: Record<"root" | "button" | "spacer" | "previousIconButton" | "nextIconButton" | "leftArrowIcon" | "rightArrowIcon", string>;
19
+ export declare const pickersArrowSwitcherClasses: Record<"button" | "leftArrowIcon" | "nextIconButton" | "previousIconButton" | "rightArrowIcon" | "root" | "spacer", string>;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import type { DialogProps as MuiDialogProps } from '@mui/material/Dialog';
3
3
  import type { PaperProps as MuiPaperProps } from '@mui/material/Paper';
4
4
  import type { TransitionProps as MuiTransitionProps } from '@mui/material/transitions';
5
+ import type { WithDataAttributes } from '@mui/utils/types';
5
6
  export interface PickersModalDialogSlots {
6
7
  /**
7
8
  * Custom component for the dialog inside which the views are rendered on mobile.
@@ -23,15 +24,15 @@ export interface PickersModalDialogSlotProps {
23
24
  /**
24
25
  * Props passed down to the [`Dialog`](https://mui.com/material-ui/api/dialog/) component.
25
26
  */
26
- dialog?: Partial<MuiDialogProps>;
27
+ dialog?: WithDataAttributes<Partial<MuiDialogProps>>;
27
28
  /**
28
29
  * Props passed down to the mobile [Paper](https://mui.com/material-ui/api/paper/) component.
29
30
  */
30
- mobilePaper?: Partial<MuiPaperProps>;
31
+ mobilePaper?: WithDataAttributes<Partial<MuiPaperProps>>;
31
32
  /**
32
33
  * Props passed down to the mobile [Transition](https://mui.com/material-ui/transitions/) component.
33
34
  */
34
- mobileTransition?: Partial<MuiTransitionProps>;
35
+ mobileTransition?: WithDataAttributes<Partial<MuiTransitionProps>>;
35
36
  }
36
37
  export interface PickersModalDialogProps {
37
38
  /**
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import type { DialogProps as MuiDialogProps } from '@mui/material/Dialog';
3
3
  import type { PaperProps as MuiPaperProps } from '@mui/material/Paper';
4
4
  import type { TransitionProps as MuiTransitionProps } from '@mui/material/transitions';
5
+ import type { WithDataAttributes } from '@mui/utils/types';
5
6
  export interface PickersModalDialogSlots {
6
7
  /**
7
8
  * Custom component for the dialog inside which the views are rendered on mobile.
@@ -23,15 +24,15 @@ export interface PickersModalDialogSlotProps {
23
24
  /**
24
25
  * Props passed down to the [`Dialog`](https://mui.com/material-ui/api/dialog/) component.
25
26
  */
26
- dialog?: Partial<MuiDialogProps>;
27
+ dialog?: WithDataAttributes<Partial<MuiDialogProps>>;
27
28
  /**
28
29
  * Props passed down to the mobile [Paper](https://mui.com/material-ui/api/paper/) component.
29
30
  */
30
- mobilePaper?: Partial<MuiPaperProps>;
31
+ mobilePaper?: WithDataAttributes<Partial<MuiPaperProps>>;
31
32
  /**
32
33
  * Props passed down to the mobile [Transition](https://mui.com/material-ui/transitions/) component.
33
34
  */
34
- mobileTransition?: Partial<MuiTransitionProps>;
35
+ mobileTransition?: WithDataAttributes<Partial<MuiTransitionProps>>;
35
36
  }
36
37
  export interface PickersModalDialogProps {
37
38
  /**
@@ -8,4 +8,4 @@ export interface PickersToolbarClasses {
8
8
  }
9
9
  export type PickersToolbarClassKey = keyof PickersToolbarClasses;
10
10
  export declare function getPickersToolbarUtilityClass(slot: string): string;
11
- export declare const pickersToolbarClasses: Record<"root" | "title" | "content", string>;
11
+ export declare const pickersToolbarClasses: Record<"content" | "root" | "title", string>;
@@ -8,4 +8,4 @@ export interface PickersToolbarClasses {
8
8
  }
9
9
  export type PickersToolbarClassKey = keyof PickersToolbarClasses;
10
10
  export declare function getPickersToolbarUtilityClass(slot: string): string;
11
- export declare const pickersToolbarClasses: Record<"root" | "title" | "content", string>;
11
+ export declare const pickersToolbarClasses: Record<"content" | "root" | "title", string>;
@@ -20,5 +20,5 @@ export declare function usePreviousMonthDisabled(month: PickerValidDate, {
20
20
  }: Pick<MonthValidationOptions, 'disablePast' | 'minDate' | 'timezone'>): boolean;
21
21
  export declare function useMeridiemMode(date: PickerValidDate | null, ampm: boolean | undefined, onChange: PickerOnChangeFn, selectionState?: PickerSelectionState): {
22
22
  meridiemMode: import("../utils/time-utils.mjs").Meridiem | null;
23
- handleMeridiemChange: (mode: "am" | "pm") => void;
23
+ handleMeridiemChange: (mode: 'am' | 'pm') => void;
24
24
  };
@@ -20,5 +20,5 @@ export declare function usePreviousMonthDisabled(month: PickerValidDate, {
20
20
  }: Pick<MonthValidationOptions, 'disablePast' | 'minDate' | 'timezone'>): boolean;
21
21
  export declare function useMeridiemMode(date: PickerValidDate | null, ampm: boolean | undefined, onChange: PickerOnChangeFn, selectionState?: PickerSelectionState): {
22
22
  meridiemMode: import("../utils/time-utils.js").Meridiem | null;
23
- handleMeridiemChange: (mode: "am" | "pm") => void;
23
+ handleMeridiemChange: (mode: 'am' | 'pm') => void;
24
24
  };
@@ -1,7 +1,7 @@
1
1
  import type { FieldSectionsValueBoundaries, SectionOrdering, FieldSectionValueBoundaries, FieldParsedSelectedSections } from "./useField.types.mjs";
2
2
  import type { FieldSectionType, FieldSection, MuiPickersAdapter, FieldSectionContentType, PickersTimezone, PickerValidDate, FieldSelectedSections, PickerValueType, InferFieldSection } from "../../../models/index.mjs";
3
3
  import type { PickerValidValue } from "../../models/index.mjs";
4
- export declare const getDateSectionConfigFromFormatToken: (adapter: MuiPickersAdapter, formatToken: string) => Pick<FieldSection, "type" | "contentType"> & {
4
+ export declare const getDateSectionConfigFromFormatToken: (adapter: MuiPickersAdapter, formatToken: string) => Pick<FieldSection, 'type' | 'contentType'> & {
5
5
  maxLength: number | undefined;
6
6
  };
7
7
  export declare const getDaysInWeekStr: (adapter: MuiPickersAdapter, format: string) => string[];
@@ -16,8 +16,8 @@ export declare const isStringNumber: (valueStr: string, localizedDigits: string[
16
16
  * Warning: Should only be called with non-localized digits. Call `removeLocalizedDigits` with your value if needed.
17
17
  */
18
18
  export declare const cleanLeadingZeros: (valueStr: string, size: number) => string;
19
- export declare const cleanDigitSectionValue: (adapter: MuiPickersAdapter, value: number, sectionBoundaries: FieldSectionValueBoundaries<any>, localizedDigits: string[], section: Pick<FieldSection, "format" | "type" | "contentType" | "hasLeadingZerosInFormat" | "hasLeadingZerosInInput" | "maxLength">) => string;
20
- export declare const getSectionVisibleValue: (section: FieldSection, target: "input-rtl" | "input-ltr" | "non-input", localizedDigits: string[]) => string;
19
+ export declare const cleanDigitSectionValue: (adapter: MuiPickersAdapter, value: number, sectionBoundaries: FieldSectionValueBoundaries<any>, localizedDigits: string[], section: Pick<FieldSection, 'format' | 'type' | 'contentType' | 'hasLeadingZerosInFormat' | 'hasLeadingZerosInInput' | 'maxLength'>) => string;
20
+ export declare const getSectionVisibleValue: (section: FieldSection, target: 'input-rtl' | 'input-ltr' | 'non-input', localizedDigits: string[]) => string;
21
21
  export declare const changeSectionValueFormat: (adapter: MuiPickersAdapter, valueStr: string, currentFormat: string, newFormat: string) => string;
22
22
  export declare const doesSectionFormatHaveLeadingZeros: (adapter: MuiPickersAdapter, contentType: FieldSectionContentType, sectionType: FieldSectionType, format: string) => boolean;
23
23
  /**
@@ -1,7 +1,7 @@
1
1
  import type { FieldSectionsValueBoundaries, SectionOrdering, FieldSectionValueBoundaries, FieldParsedSelectedSections } from "./useField.types.js";
2
2
  import type { FieldSectionType, FieldSection, MuiPickersAdapter, FieldSectionContentType, PickersTimezone, PickerValidDate, FieldSelectedSections, PickerValueType, InferFieldSection } from "../../../models/index.js";
3
3
  import type { PickerValidValue } from "../../models/index.js";
4
- export declare const getDateSectionConfigFromFormatToken: (adapter: MuiPickersAdapter, formatToken: string) => Pick<FieldSection, "type" | "contentType"> & {
4
+ export declare const getDateSectionConfigFromFormatToken: (adapter: MuiPickersAdapter, formatToken: string) => Pick<FieldSection, 'type' | 'contentType'> & {
5
5
  maxLength: number | undefined;
6
6
  };
7
7
  export declare const getDaysInWeekStr: (adapter: MuiPickersAdapter, format: string) => string[];
@@ -16,8 +16,8 @@ export declare const isStringNumber: (valueStr: string, localizedDigits: string[
16
16
  * Warning: Should only be called with non-localized digits. Call `removeLocalizedDigits` with your value if needed.
17
17
  */
18
18
  export declare const cleanLeadingZeros: (valueStr: string, size: number) => string;
19
- export declare const cleanDigitSectionValue: (adapter: MuiPickersAdapter, value: number, sectionBoundaries: FieldSectionValueBoundaries<any>, localizedDigits: string[], section: Pick<FieldSection, "format" | "type" | "contentType" | "hasLeadingZerosInFormat" | "hasLeadingZerosInInput" | "maxLength">) => string;
20
- export declare const getSectionVisibleValue: (section: FieldSection, target: "input-rtl" | "input-ltr" | "non-input", localizedDigits: string[]) => string;
19
+ export declare const cleanDigitSectionValue: (adapter: MuiPickersAdapter, value: number, sectionBoundaries: FieldSectionValueBoundaries<any>, localizedDigits: string[], section: Pick<FieldSection, 'format' | 'type' | 'contentType' | 'hasLeadingZerosInFormat' | 'hasLeadingZerosInInput' | 'maxLength'>) => string;
20
+ export declare const getSectionVisibleValue: (section: FieldSection, target: 'input-rtl' | 'input-ltr' | 'non-input', localizedDigits: string[]) => string;
21
21
  export declare const changeSectionValueFormat: (adapter: MuiPickersAdapter, valueStr: string, currentFormat: string, newFormat: string) => string;
22
22
  export declare const doesSectionFormatHaveLeadingZeros: (adapter: MuiPickersAdapter, contentType: FieldSectionContentType, sectionType: FieldSectionType, format: string) => boolean;
23
23
  /**
@@ -26,8 +26,8 @@ export declare const applyDefaultDate: (adapter: MuiPickersAdapter, value: Picke
26
26
  export declare const areDatesEqual: (adapter: MuiPickersAdapter, a: PickerValidDate | null, b: PickerValidDate | null) => boolean;
27
27
  export declare const getMonthsInYear: (adapter: MuiPickersAdapter, year: PickerValidDate) => PickerValidDate[];
28
28
  export declare const getTodayDate: (adapter: MuiPickersAdapter, timezone: PickersTimezone, valueType?: PickerValueType) => PickerValidDate;
29
- export declare const formatMeridiem: (adapter: MuiPickersAdapter, meridiem: "am" | "pm") => string;
30
- export declare const DATE_VIEWS: readonly ["year", "month", "day"];
29
+ export declare const formatMeridiem: (adapter: MuiPickersAdapter, meridiem: 'am' | 'pm') => string;
30
+ export declare const DATE_VIEWS: readonly ['year', 'month', 'day'];
31
31
  export declare const isDatePickerView: (view: DateOrTimeViewWithMeridiem) => view is DateView;
32
32
  export declare const resolveDateFormat: (adapter: MuiPickersAdapter, {
33
33
  format,
@@ -26,8 +26,8 @@ export declare const applyDefaultDate: (adapter: MuiPickersAdapter, value: Picke
26
26
  export declare const areDatesEqual: (adapter: MuiPickersAdapter, a: PickerValidDate | null, b: PickerValidDate | null) => boolean;
27
27
  export declare const getMonthsInYear: (adapter: MuiPickersAdapter, year: PickerValidDate) => PickerValidDate[];
28
28
  export declare const getTodayDate: (adapter: MuiPickersAdapter, timezone: PickersTimezone, valueType?: PickerValueType) => PickerValidDate;
29
- export declare const formatMeridiem: (adapter: MuiPickersAdapter, meridiem: "am" | "pm") => string;
30
- export declare const DATE_VIEWS: readonly ["year", "month", "day"];
29
+ export declare const formatMeridiem: (adapter: MuiPickersAdapter, meridiem: 'am' | 'pm') => string;
30
+ export declare const DATE_VIEWS: readonly ['year', 'month', 'day'];
31
31
  export declare const isDatePickerView: (view: DateOrTimeViewWithMeridiem) => view is DateView;
32
32
  export declare const resolveDateFormat: (adapter: MuiPickersAdapter, {
33
33
  format,
@@ -1,7 +1,7 @@
1
1
  import type { MuiPickersAdapter, PickerValidDate } from "../../models/index.mjs";
2
2
  import type { DateOrTimeViewWithMeridiem, TimeViewWithMeridiem } from "../models/index.mjs";
3
- export declare const EXPORTED_TIME_VIEWS: readonly ["hours", "minutes", "seconds"];
4
- export declare const TIME_VIEWS: readonly ["hours", "minutes", "seconds", "meridiem"];
3
+ export declare const EXPORTED_TIME_VIEWS: readonly ['hours', 'minutes', 'seconds'];
4
+ export declare const TIME_VIEWS: readonly ['hours', 'minutes', 'seconds', 'meridiem'];
5
5
  export declare const isTimeView: (view: DateOrTimeViewWithMeridiem) => boolean;
6
6
  export declare const isInternalTimeView: (view: DateOrTimeViewWithMeridiem) => view is TimeViewWithMeridiem;
7
7
  export type Meridiem = 'am' | 'pm';
@@ -1,7 +1,7 @@
1
1
  import type { MuiPickersAdapter, PickerValidDate } from "../../models/index.js";
2
2
  import type { DateOrTimeViewWithMeridiem, TimeViewWithMeridiem } from "../models/index.js";
3
- export declare const EXPORTED_TIME_VIEWS: readonly ["hours", "minutes", "seconds"];
4
- export declare const TIME_VIEWS: readonly ["hours", "minutes", "seconds", "meridiem"];
3
+ export declare const EXPORTED_TIME_VIEWS: readonly ['hours', 'minutes', 'seconds'];
4
+ export declare const TIME_VIEWS: readonly ['hours', 'minutes', 'seconds', 'meridiem'];
5
5
  export declare const isTimeView: (view: DateOrTimeViewWithMeridiem) => boolean;
6
6
  export declare const isInternalTimeView: (view: DateOrTimeViewWithMeridiem) => view is TimeViewWithMeridiem;
7
7
  export type Meridiem = 'am' | 'pm';
@@ -4,6 +4,11 @@ export declare const beBY: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const beBY: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
package/locales/beBY.d.ts CHANGED
@@ -4,6 +4,11 @@ export declare const beBY: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const beBY: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
@@ -4,6 +4,11 @@ export declare const bgBG: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const bgBG: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
package/locales/bgBG.d.ts CHANGED
@@ -4,6 +4,11 @@ export declare const bgBG: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const bgBG: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
@@ -4,6 +4,11 @@ export declare const bnBD: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const bnBD: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
package/locales/bnBD.d.ts CHANGED
@@ -4,6 +4,11 @@ export declare const bnBD: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const bnBD: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
@@ -4,6 +4,11 @@ export declare const caES: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const caES: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
package/locales/caES.d.ts CHANGED
@@ -4,6 +4,11 @@ export declare const caES: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const caES: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
@@ -4,6 +4,11 @@ export declare const csCZ: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const csCZ: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
package/locales/csCZ.d.ts CHANGED
@@ -4,6 +4,11 @@ export declare const csCZ: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const csCZ: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
@@ -4,6 +4,11 @@ export declare const daDK: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const daDK: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
package/locales/daDK.d.ts CHANGED
@@ -4,6 +4,11 @@ export declare const daDK: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const daDK: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
@@ -4,6 +4,11 @@ export declare const deDE: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const deDE: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
package/locales/deDE.d.ts CHANGED
@@ -4,6 +4,11 @@ export declare const deDE: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const deDE: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
@@ -4,6 +4,11 @@ export declare const elGR: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const elGR: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
package/locales/elGR.d.ts CHANGED
@@ -4,6 +4,11 @@ export declare const elGR: {
4
4
  MuiLocalizationProvider: {
5
5
  defaultProps: {
6
6
  localeText: {
7
+ datePickerToolbarTitle?: string | undefined;
8
+ timePickerToolbarTitle?: string | undefined;
9
+ dateTimePickerToolbarTitle?: string | undefined;
10
+ dateRangePickerToolbarTitle?: string | undefined;
11
+ timeRangePickerToolbarTitle?: string | undefined;
7
12
  previousMonth?: string | undefined;
8
13
  nextMonth?: string | undefined;
9
14
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -71,11 +76,6 @@ export declare const elGR: {
71
76
  seconds?: string | undefined;
72
77
  meridiem?: string | undefined;
73
78
  empty?: string | undefined;
74
- datePickerToolbarTitle?: string | undefined;
75
- timePickerToolbarTitle?: string | undefined;
76
- dateTimePickerToolbarTitle?: string | undefined;
77
- dateRangePickerToolbarTitle?: string | undefined;
78
- timeRangePickerToolbarTitle?: string | undefined;
79
79
  };
80
80
  };
81
81
  };
@@ -5,6 +5,11 @@ export declare const enUS: {
5
5
  MuiLocalizationProvider: {
6
6
  defaultProps: {
7
7
  localeText: {
8
+ datePickerToolbarTitle?: string | undefined;
9
+ timePickerToolbarTitle?: string | undefined;
10
+ dateTimePickerToolbarTitle?: string | undefined;
11
+ dateRangePickerToolbarTitle?: string | undefined;
12
+ timeRangePickerToolbarTitle?: string | undefined;
8
13
  previousMonth?: string | undefined;
9
14
  nextMonth?: string | undefined;
10
15
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -72,11 +77,6 @@ export declare const enUS: {
72
77
  seconds?: string | undefined;
73
78
  meridiem?: string | undefined;
74
79
  empty?: string | undefined;
75
- datePickerToolbarTitle?: string | undefined;
76
- timePickerToolbarTitle?: string | undefined;
77
- dateTimePickerToolbarTitle?: string | undefined;
78
- dateRangePickerToolbarTitle?: string | undefined;
79
- timeRangePickerToolbarTitle?: string | undefined;
80
80
  };
81
81
  };
82
82
  };
package/locales/enUS.d.ts CHANGED
@@ -5,6 +5,11 @@ export declare const enUS: {
5
5
  MuiLocalizationProvider: {
6
6
  defaultProps: {
7
7
  localeText: {
8
+ datePickerToolbarTitle?: string | undefined;
9
+ timePickerToolbarTitle?: string | undefined;
10
+ dateTimePickerToolbarTitle?: string | undefined;
11
+ dateRangePickerToolbarTitle?: string | undefined;
12
+ timeRangePickerToolbarTitle?: string | undefined;
8
13
  previousMonth?: string | undefined;
9
14
  nextMonth?: string | undefined;
10
15
  calendarWeekNumberHeaderLabel?: string | undefined;
@@ -72,11 +77,6 @@ export declare const enUS: {
72
77
  seconds?: string | undefined;
73
78
  meridiem?: string | undefined;
74
79
  empty?: string | undefined;
75
- datePickerToolbarTitle?: string | undefined;
76
- timePickerToolbarTitle?: string | undefined;
77
- dateTimePickerToolbarTitle?: string | undefined;
78
- dateRangePickerToolbarTitle?: string | undefined;
79
- timeRangePickerToolbarTitle?: string | undefined;
80
80
  };
81
81
  };
82
82
  };