@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
@@ -6,20 +6,20 @@ export interface PickersFilledInputClasses extends PickersInputBaseClasses {
6
6
  export type PickersFilledInputClassKey = keyof PickersFilledInputClasses;
7
7
  export declare function getPickersFilledInputUtilityClass(slot: string): string;
8
8
  export declare const pickersFilledInputClasses: {
9
- root: string;
10
- input: string;
11
- underline: string;
12
- sectionContent: string;
9
+ activeBar: string;
10
+ adornedEnd: string;
11
+ adornedStart: string;
13
12
  disabled: string;
14
- readOnly: string;
15
- focused: string;
16
13
  error: string;
14
+ focused: string;
15
+ input: string;
17
16
  inputSizeSmall: string;
18
17
  notchedOutline: string;
19
- sectionsContainer: string;
20
- sectionBefore: string;
18
+ readOnly: string;
19
+ root: string;
21
20
  sectionAfter: string;
22
- adornedStart: string;
23
- adornedEnd: string;
24
- activeBar: string;
21
+ sectionBefore: string;
22
+ sectionContent: string;
23
+ sectionsContainer: string;
24
+ underline: string;
25
25
  };
@@ -6,20 +6,20 @@ export interface PickersFilledInputClasses extends PickersInputBaseClasses {
6
6
  export type PickersFilledInputClassKey = keyof PickersFilledInputClasses;
7
7
  export declare function getPickersFilledInputUtilityClass(slot: string): string;
8
8
  export declare const pickersFilledInputClasses: {
9
- root: string;
10
- input: string;
11
- underline: string;
12
- sectionContent: string;
9
+ activeBar: string;
10
+ adornedEnd: string;
11
+ adornedStart: string;
13
12
  disabled: string;
14
- readOnly: string;
15
- focused: string;
16
13
  error: string;
14
+ focused: string;
15
+ input: string;
17
16
  inputSizeSmall: string;
18
17
  notchedOutline: string;
19
- sectionsContainer: string;
20
- sectionBefore: string;
18
+ readOnly: string;
19
+ root: string;
21
20
  sectionAfter: string;
22
- adornedStart: string;
23
- adornedEnd: string;
24
- activeBar: string;
21
+ sectionBefore: string;
22
+ sectionContent: string;
23
+ sectionsContainer: string;
24
+ underline: string;
25
25
  };
@@ -6,20 +6,20 @@ export interface PickersInputClasses extends PickersInputBaseClasses {
6
6
  export type PickersInputClassKey = keyof PickersInputClasses;
7
7
  export declare function getPickersInputUtilityClass(slot: string): string;
8
8
  export declare const pickersInputClasses: {
9
- root: string;
10
- input: string;
11
- underline: string;
12
- sectionContent: string;
9
+ activeBar: string;
10
+ adornedEnd: string;
11
+ adornedStart: string;
13
12
  disabled: string;
14
- readOnly: string;
15
- focused: string;
16
13
  error: string;
14
+ focused: string;
15
+ input: string;
17
16
  inputSizeSmall: string;
18
17
  notchedOutline: string;
19
- sectionsContainer: string;
20
- sectionBefore: string;
18
+ readOnly: string;
19
+ root: string;
21
20
  sectionAfter: string;
22
- adornedStart: string;
23
- adornedEnd: string;
24
- activeBar: string;
21
+ sectionBefore: string;
22
+ sectionContent: string;
23
+ sectionsContainer: string;
24
+ underline: string;
25
25
  };
@@ -6,20 +6,20 @@ export interface PickersInputClasses extends PickersInputBaseClasses {
6
6
  export type PickersInputClassKey = keyof PickersInputClasses;
7
7
  export declare function getPickersInputUtilityClass(slot: string): string;
8
8
  export declare const pickersInputClasses: {
9
- root: string;
10
- input: string;
11
- underline: string;
12
- sectionContent: string;
9
+ activeBar: string;
10
+ adornedEnd: string;
11
+ adornedStart: string;
13
12
  disabled: string;
14
- readOnly: string;
15
- focused: string;
16
13
  error: string;
14
+ focused: string;
15
+ input: string;
17
16
  inputSizeSmall: string;
18
17
  notchedOutline: string;
19
- sectionsContainer: string;
20
- sectionBefore: string;
18
+ readOnly: string;
19
+ root: string;
21
20
  sectionAfter: string;
22
- adornedStart: string;
23
- adornedEnd: string;
24
- activeBar: string;
21
+ sectionBefore: string;
22
+ sectionContent: string;
23
+ sectionsContainer: string;
24
+ underline: string;
25
25
  };
@@ -3,8 +3,8 @@ import type { PickersInputBaseProps } from "./PickersInputBase.types.mjs";
3
3
  import type { PickerTextFieldOwnerState } from "../../models/fields.mjs";
4
4
  export declare const PickersInputBaseRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
5
5
  ownerState: PickerTextFieldOwnerState;
6
- }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
7
- export declare const PickersInputBaseSectionsContainer: import("@emotion/styled").StyledComponent<Pick<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement> | keyof import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
6
+ }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
7
+ export declare const PickersInputBaseSectionsContainer: import("@emotion/styled").StyledComponent<Pick<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement> | keyof import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
8
8
  ownerState: PickerTextFieldOwnerState;
9
9
  }, {}, {}>;
10
10
  /**
@@ -3,8 +3,8 @@ import type { PickersInputBaseProps } from "./PickersInputBase.types.js";
3
3
  import type { PickerTextFieldOwnerState } from "../../models/fields.js";
4
4
  export declare const PickersInputBaseRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
5
5
  ownerState: PickerTextFieldOwnerState;
6
- }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
7
- export declare const PickersInputBaseSectionsContainer: import("@emotion/styled").StyledComponent<Pick<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement> | keyof import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
6
+ }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
7
+ export declare const PickersInputBaseSectionsContainer: import("@emotion/styled").StyledComponent<Pick<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement> | keyof import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
8
8
  ownerState: PickerTextFieldOwnerState;
9
9
  }, {}, {}>;
10
10
  /**
@@ -100,39 +100,28 @@ const PickersInputBaseSectionsContainer = exports.PickersInputBaseSectionsContai
100
100
  paddingTop: 1
101
101
  }
102
102
  }, {
103
+ // While the field is empty and blurred, the format is shown as a placeholder.
103
104
  props: {
104
- hasStartAdornment: false,
105
105
  isFieldFocused: false,
106
106
  isFieldValueEmpty: true
107
107
  },
108
- style: {
109
- color: 'currentColor',
110
- opacity: 0
111
- }
112
- }, {
113
- props: {
114
- hasStartAdornment: false,
115
- isFieldFocused: false,
116
- isFieldValueEmpty: true,
117
- inputHasLabel: false
118
- },
119
108
  style: theme.vars ? {
120
109
  opacity: theme.vars.opacity.inputPlaceholder
121
110
  } : {
122
111
  opacity: theme.palette.mode === 'light' ? 0.42 : 0.5
123
112
  }
124
113
  }, {
114
+ // ...except when a non-shrunk label sits in the notch, where the format would overlap it.
115
+ // A start adornment always shrinks the label, so it never triggers this case.
125
116
  props: {
126
- hasStartAdornment: false,
127
117
  isFieldFocused: false,
128
118
  isFieldValueEmpty: true,
119
+ hasStartAdornment: false,
129
120
  inputHasLabel: true,
130
- isLabelShrunk: true
121
+ isLabelShrunk: false
131
122
  },
132
- style: theme.vars ? {
133
- opacity: theme.vars.opacity.inputPlaceholder
134
- } : {
135
- opacity: theme.palette.mode === 'light' ? 0.42 : 0.5
123
+ style: {
124
+ opacity: 0
136
125
  }
137
126
  }]
138
127
  }));
@@ -242,7 +231,8 @@ const useUtilityClasses = (classes, ownerState) => {
242
231
  return (0, _composeClasses.default)(slots, _pickersInputBaseClasses.getPickersInputBaseUtilityClass, classes);
243
232
  };
244
233
  function resolveSectionElementWidth(sectionElement, rootRef, index, dateRangePosition) {
245
- if (sectionElement.content.id) {
234
+ // Only measure sections that belong to a range date.
235
+ if (sectionElement.content['data-range-position'] !== undefined) {
246
236
  const activeSectionElements = rootRef.current?.querySelectorAll(`[data-sectionindex="${index}"] [data-range-position="${dateRangePosition}"]`);
247
237
  if (activeSectionElements) {
248
238
  return Array.from(activeSectionElements).reduce((currentActiveBarWidth, element) => {
@@ -93,39 +93,28 @@ export const PickersInputBaseSectionsContainer = styled(PickersSectionListRoot,
93
93
  paddingTop: 1
94
94
  }
95
95
  }, {
96
+ // While the field is empty and blurred, the format is shown as a placeholder.
96
97
  props: {
97
- hasStartAdornment: false,
98
98
  isFieldFocused: false,
99
99
  isFieldValueEmpty: true
100
100
  },
101
- style: {
102
- color: 'currentColor',
103
- opacity: 0
104
- }
105
- }, {
106
- props: {
107
- hasStartAdornment: false,
108
- isFieldFocused: false,
109
- isFieldValueEmpty: true,
110
- inputHasLabel: false
111
- },
112
101
  style: theme.vars ? {
113
102
  opacity: theme.vars.opacity.inputPlaceholder
114
103
  } : {
115
104
  opacity: theme.palette.mode === 'light' ? 0.42 : 0.5
116
105
  }
117
106
  }, {
107
+ // ...except when a non-shrunk label sits in the notch, where the format would overlap it.
108
+ // A start adornment always shrinks the label, so it never triggers this case.
118
109
  props: {
119
- hasStartAdornment: false,
120
110
  isFieldFocused: false,
121
111
  isFieldValueEmpty: true,
112
+ hasStartAdornment: false,
122
113
  inputHasLabel: true,
123
- isLabelShrunk: true
114
+ isLabelShrunk: false
124
115
  },
125
- style: theme.vars ? {
126
- opacity: theme.vars.opacity.inputPlaceholder
127
- } : {
128
- opacity: theme.palette.mode === 'light' ? 0.42 : 0.5
116
+ style: {
117
+ opacity: 0
129
118
  }
130
119
  }]
131
120
  }));
@@ -235,7 +224,8 @@ const useUtilityClasses = (classes, ownerState) => {
235
224
  return composeClasses(slots, getPickersInputBaseUtilityClass, classes);
236
225
  };
237
226
  function resolveSectionElementWidth(sectionElement, rootRef, index, dateRangePosition) {
238
- if (sectionElement.content.id) {
227
+ // Only measure sections that belong to a range date.
228
+ if (sectionElement.content['data-range-position'] !== undefined) {
239
229
  const activeSectionElements = rootRef.current?.querySelectorAll(`[data-sectionindex="${index}"] [data-range-position="${dateRangePosition}"]`);
240
230
  if (activeSectionElements) {
241
231
  return Array.from(activeSectionElements).reduce((currentActiveBarWidth, element) => {
@@ -11,4 +11,4 @@ var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generat
11
11
  function getPickersInputBaseUtilityClass(slot) {
12
12
  return (0, _generateUtilityClass.default)('MuiPickersInputBase', slot);
13
13
  }
14
- const pickersInputBaseClasses = exports.pickersInputBaseClasses = (0, _generateUtilityClasses.default)('MuiPickersInputBase', ['root', 'focused', 'disabled', 'error', 'notchedOutline', 'sectionContent', 'sectionBefore', 'sectionAfter', 'adornedStart', 'adornedEnd', 'input', 'inputSizeSmall', 'activeBar']);
14
+ const pickersInputBaseClasses = exports.pickersInputBaseClasses = (0, _generateUtilityClasses.default)('MuiPickersInputBase', ['root', 'focused', 'disabled', 'readOnly', 'error', 'notchedOutline', 'sectionsContainer', 'sectionContent', 'sectionBefore', 'sectionAfter', 'adornedStart', 'adornedEnd', 'input', 'inputSizeSmall', 'activeBar']);
@@ -3,4 +3,4 @@ import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
3
3
  export function getPickersInputBaseUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiPickersInputBase', slot);
5
5
  }
6
- export const pickersInputBaseClasses = generateUtilityClasses('MuiPickersInputBase', ['root', 'focused', 'disabled', 'error', 'notchedOutline', 'sectionContent', 'sectionBefore', 'sectionAfter', 'adornedStart', 'adornedEnd', 'input', 'inputSizeSmall', 'activeBar']);
6
+ export const pickersInputBaseClasses = generateUtilityClasses('MuiPickersInputBase', ['root', 'focused', 'disabled', 'readOnly', 'error', 'notchedOutline', 'sectionsContainer', 'sectionContent', 'sectionBefore', 'sectionAfter', 'adornedStart', 'adornedEnd', 'input', 'inputSizeSmall', 'activeBar']);
@@ -6,19 +6,19 @@ export interface PickersOutlinedInputClasses extends PickersInputBaseClasses {
6
6
  export type PickersOutlinedInputClassKey = keyof PickersOutlinedInputClasses;
7
7
  export declare function getPickersOutlinedInputUtilityClass(slot: string): string;
8
8
  export declare const pickersOutlinedInputClasses: {
9
- root: string;
10
- input: string;
11
- notchedOutline: string;
12
- sectionContent: string;
9
+ activeBar: string;
10
+ adornedEnd: string;
11
+ adornedStart: string;
13
12
  disabled: string;
14
- readOnly: string;
15
- focused: string;
16
13
  error: string;
14
+ focused: string;
15
+ input: string;
17
16
  inputSizeSmall: string;
18
- sectionsContainer: string;
19
- sectionBefore: string;
17
+ notchedOutline: string;
18
+ readOnly: string;
19
+ root: string;
20
20
  sectionAfter: string;
21
- adornedStart: string;
22
- adornedEnd: string;
23
- activeBar: string;
21
+ sectionBefore: string;
22
+ sectionContent: string;
23
+ sectionsContainer: string;
24
24
  };
@@ -6,19 +6,19 @@ export interface PickersOutlinedInputClasses extends PickersInputBaseClasses {
6
6
  export type PickersOutlinedInputClassKey = keyof PickersOutlinedInputClasses;
7
7
  export declare function getPickersOutlinedInputUtilityClass(slot: string): string;
8
8
  export declare const pickersOutlinedInputClasses: {
9
- root: string;
10
- input: string;
11
- notchedOutline: string;
12
- sectionContent: string;
9
+ activeBar: string;
10
+ adornedEnd: string;
11
+ adornedStart: string;
13
12
  disabled: string;
14
- readOnly: string;
15
- focused: string;
16
13
  error: string;
14
+ focused: string;
15
+ input: string;
17
16
  inputSizeSmall: string;
18
- sectionsContainer: string;
19
- sectionBefore: string;
17
+ notchedOutline: string;
18
+ readOnly: string;
19
+ root: string;
20
20
  sectionAfter: string;
21
- adornedStart: string;
22
- adornedEnd: string;
23
- activeBar: string;
21
+ sectionBefore: string;
22
+ sectionContent: string;
23
+ sectionsContainer: string;
24
24
  };
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- declare const PickersTextField: React.ForwardRefExoticComponent<(Omit<import("./PickersTextField.types.mjs").PickersStandardTextFieldProps, "ref"> | Omit<import("./PickersTextField.types.mjs").PickersOutlinedTextFieldProps, "ref"> | Omit<import("./PickersTextField.types.mjs").PickersFilledTextFieldProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
2
+ declare const PickersTextField: React.ForwardRefExoticComponent<(Omit<import("./PickersTextField.types.mjs").PickersFilledTextFieldProps, "ref"> | Omit<import("./PickersTextField.types.mjs").PickersOutlinedTextFieldProps, "ref"> | Omit<import("./PickersTextField.types.mjs").PickersStandardTextFieldProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
3
3
  export { PickersTextField };
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- declare const PickersTextField: React.ForwardRefExoticComponent<(Omit<import("./PickersTextField.types.js").PickersStandardTextFieldProps, "ref"> | Omit<import("./PickersTextField.types.js").PickersOutlinedTextFieldProps, "ref"> | Omit<import("./PickersTextField.types.js").PickersFilledTextFieldProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
2
+ declare const PickersTextField: React.ForwardRefExoticComponent<(Omit<import("./PickersTextField.types.js").PickersFilledTextFieldProps, "ref"> | Omit<import("./PickersTextField.types.js").PickersOutlinedTextFieldProps, "ref"> | Omit<import("./PickersTextField.types.js").PickersStandardTextFieldProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
3
3
  export { PickersTextField };
@@ -3,6 +3,7 @@ import type { FormControlProps } from '@mui/material/FormControl';
3
3
  import type { FormHelperTextProps } from '@mui/material/FormHelperText';
4
4
  import type { InputLabelProps } from '@mui/material/InputLabel';
5
5
  import type { TextFieldVariants } from '@mui/material/TextField';
6
+ import type { WithDataAttributes } from '@mui/utils/types';
6
7
  import type { PickersInputBaseProps, PickersInputPropsUsedByField } from "./PickersInputBase/PickersInputBase.types.mjs";
7
8
  import type { PickersInputProps } from "./PickersInput/index.mjs";
8
9
  import type { PickersOutlinedInputProps } from "./PickersOutlinedInput/index.mjs";
@@ -36,11 +37,11 @@ export interface PickersTextFieldSlots {
36
37
  formHelperText?: React.ElementType;
37
38
  }
38
39
  export interface PickersTextFieldSlotProps<InputPropsType extends PickersInputBaseProps> {
39
- root?: Partial<FormControlProps>;
40
- input?: Partial<InputPropsType>;
41
- inputLabel?: Partial<InputLabelProps>;
42
- htmlInput?: React.ComponentPropsWithRef<'input'>;
43
- formHelperText?: Partial<FormHelperTextProps>;
40
+ root?: WithDataAttributes<Partial<FormControlProps>>;
41
+ input?: WithDataAttributes<Partial<InputPropsType>>;
42
+ inputLabel?: WithDataAttributes<Partial<InputLabelProps>>;
43
+ htmlInput?: WithDataAttributes<React.ComponentPropsWithRef<'input'>>;
44
+ formHelperText?: WithDataAttributes<Partial<FormHelperTextProps>>;
44
45
  }
45
46
  export interface PickersTextFieldSlotsAndSlotProps<InputPropsType extends PickersInputBaseProps> {
46
47
  /**
@@ -3,6 +3,7 @@ import type { FormControlProps } from '@mui/material/FormControl';
3
3
  import type { FormHelperTextProps } from '@mui/material/FormHelperText';
4
4
  import type { InputLabelProps } from '@mui/material/InputLabel';
5
5
  import type { TextFieldVariants } from '@mui/material/TextField';
6
+ import type { WithDataAttributes } from '@mui/utils/types';
6
7
  import type { PickersInputBaseProps, PickersInputPropsUsedByField } from "./PickersInputBase/PickersInputBase.types.js";
7
8
  import type { PickersInputProps } from "./PickersInput/index.js";
8
9
  import type { PickersOutlinedInputProps } from "./PickersOutlinedInput/index.js";
@@ -36,11 +37,11 @@ export interface PickersTextFieldSlots {
36
37
  formHelperText?: React.ElementType;
37
38
  }
38
39
  export interface PickersTextFieldSlotProps<InputPropsType extends PickersInputBaseProps> {
39
- root?: Partial<FormControlProps>;
40
- input?: Partial<InputPropsType>;
41
- inputLabel?: Partial<InputLabelProps>;
42
- htmlInput?: React.ComponentPropsWithRef<'input'>;
43
- formHelperText?: Partial<FormHelperTextProps>;
40
+ root?: WithDataAttributes<Partial<FormControlProps>>;
41
+ input?: WithDataAttributes<Partial<InputPropsType>>;
42
+ inputLabel?: WithDataAttributes<Partial<InputLabelProps>>;
43
+ htmlInput?: WithDataAttributes<React.ComponentPropsWithRef<'input'>>;
44
+ formHelperText?: WithDataAttributes<Partial<FormHelperTextProps>>;
44
45
  }
45
46
  export interface PickersTextFieldSlotsAndSlotProps<InputPropsType extends PickersInputBaseProps> {
46
47
  /**
@@ -31,7 +31,7 @@ export declare const getMinutesNumbers: ({
31
31
  isDisabled,
32
32
  getClockNumberText,
33
33
  selectedId
34
- }: Omit<GetHourNumbersOptions, "ampm" | "value"> & {
34
+ }: Omit<GetHourNumbersOptions, 'ampm' | 'value'> & {
35
35
  value: number;
36
36
  }) => React.JSX.Element[];
37
37
  export {};
@@ -31,7 +31,7 @@ export declare const getMinutesNumbers: ({
31
31
  isDisabled,
32
32
  getClockNumberText,
33
33
  selectedId
34
- }: Omit<GetHourNumbersOptions, "ampm" | "value"> & {
34
+ }: Omit<GetHourNumbersOptions, 'ampm' | 'value'> & {
35
35
  value: number;
36
36
  }) => React.JSX.Element[];
37
37
  export {};
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { DefaultizedProps } from '@mui/x-internals/types';
3
+ import type { WithDataAttributes } from '@mui/utils/types';
3
4
  import type { TimeClockSlots, TimeClockSlotProps } from "../TimeClock/TimeClock.types.mjs";
4
5
  import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.mjs";
5
6
  import type { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.mjs";
@@ -18,7 +19,7 @@ export interface BaseTimePickerSlots extends TimeClockSlots {
18
19
  toolbar?: React.JSXElementConstructor<TimePickerToolbarProps>;
19
20
  }
20
21
  export interface BaseTimePickerSlotProps extends TimeClockSlotProps {
21
- toolbar?: ExportedTimePickerToolbarProps;
22
+ toolbar?: WithDataAttributes<ExportedTimePickerToolbarProps>;
22
23
  }
23
24
  export type TimePickerViewRenderers<TView extends TimeViewWithMeridiem> = PickerViewRendererLookup<PickerValue, TView, TimeViewRendererProps<TView, BaseClockProps<TView>>>;
24
25
  export interface BaseTimePickerProps<TView extends TimeViewWithMeridiem> extends BasePickerInputProps<PickerValue, TView, TimeValidationError>, ExportedBaseClockProps {
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { DefaultizedProps } from '@mui/x-internals/types';
3
+ import type { WithDataAttributes } from '@mui/utils/types';
3
4
  import type { TimeClockSlots, TimeClockSlotProps } from "../TimeClock/TimeClock.types.js";
4
5
  import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.js";
5
6
  import type { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.js";
@@ -18,7 +19,7 @@ export interface BaseTimePickerSlots extends TimeClockSlots {
18
19
  toolbar?: React.JSXElementConstructor<TimePickerToolbarProps>;
19
20
  }
20
21
  export interface BaseTimePickerSlotProps extends TimeClockSlotProps {
21
- toolbar?: ExportedTimePickerToolbarProps;
22
+ toolbar?: WithDataAttributes<ExportedTimePickerToolbarProps>;
22
23
  }
23
24
  export type TimePickerViewRenderers<TView extends TimeViewWithMeridiem> = PickerViewRendererLookup<PickerValue, TView, TimeViewRendererProps<TView, BaseClockProps<TView>>>;
24
25
  export interface BaseTimePickerProps<TView extends TimeViewWithMeridiem> extends BasePickerInputProps<PickerValue, TView, TimeValidationError>, ExportedBaseClockProps {
@@ -10,4 +10,4 @@ export interface YearCalendarClasses {
10
10
  }
11
11
  export type YearCalendarClassKey = keyof YearCalendarClasses;
12
12
  export declare function getYearCalendarUtilityClass(slot: string): string;
13
- export declare const yearCalendarClasses: Record<"root" | "disabled" | "button" | "selected", string>;
13
+ export declare const yearCalendarClasses: Record<"button" | "disabled" | "root" | "selected", string>;
@@ -10,4 +10,4 @@ export interface YearCalendarClasses {
10
10
  }
11
11
  export type YearCalendarClassKey = keyof YearCalendarClasses;
12
12
  export declare function getYearCalendarUtilityClass(slot: string): string;
13
- export declare const yearCalendarClasses: Record<"root" | "disabled" | "button" | "selected", string>;
13
+ export declare const yearCalendarClasses: Record<"button" | "disabled" | "root" | "selected", string>;
@@ -1,6 +1,6 @@
1
1
  import { DATE_TIME_VALIDATION_PROP_NAMES, DATE_VALIDATION_PROP_NAMES, TIME_VALIDATION_PROP_NAMES } from "../validation/extractValidationProps.mjs";
2
2
  import type { PickerValueType } from "../models/common.mjs";
3
- declare const SHARED_FIELD_INTERNAL_PROP_NAMES: readonly ["value", "defaultValue", "referenceDate", "format", "formatDensity", "onChange", "timezone", "onError", "shouldRespectLeadingZeros", "selectedSections", "onSelectedSectionsChange", "fieldRef", "startFieldRef", "endFieldRef", "disabled", "readOnly", "dateSeparator", "autoFocus", "focused"];
3
+ declare const SHARED_FIELD_INTERNAL_PROP_NAMES: readonly ['value', 'defaultValue', 'referenceDate', 'format', 'formatDensity', 'onChange', 'timezone', 'onError', 'shouldRespectLeadingZeros', 'selectedSections', 'onSelectedSectionsChange', 'fieldRef', 'startFieldRef', 'endFieldRef', 'disabled', 'readOnly', 'dateSeparator', 'autoFocus', 'focused'];
4
4
  export type InternalPropNames<TValueType extends PickerValueType> = (typeof SHARED_FIELD_INTERNAL_PROP_NAMES)[number] | (TValueType extends 'date' | 'date-time' ? (typeof DATE_VALIDATION_PROP_NAMES)[number] : never) | (TValueType extends 'time' | 'date-time' ? (typeof TIME_VALIDATION_PROP_NAMES)[number] : never) | (TValueType extends 'date-time' ? (typeof DATE_TIME_VALIDATION_PROP_NAMES)[number] : never);
5
5
  /**
6
6
  * Split the props received by the field component into:
@@ -1,6 +1,6 @@
1
1
  import { DATE_TIME_VALIDATION_PROP_NAMES, DATE_VALIDATION_PROP_NAMES, TIME_VALIDATION_PROP_NAMES } from "../validation/extractValidationProps.js";
2
2
  import type { PickerValueType } from "../models/common.js";
3
- declare const SHARED_FIELD_INTERNAL_PROP_NAMES: readonly ["value", "defaultValue", "referenceDate", "format", "formatDensity", "onChange", "timezone", "onError", "shouldRespectLeadingZeros", "selectedSections", "onSelectedSectionsChange", "fieldRef", "startFieldRef", "endFieldRef", "disabled", "readOnly", "dateSeparator", "autoFocus", "focused"];
3
+ declare const SHARED_FIELD_INTERNAL_PROP_NAMES: readonly ['value', 'defaultValue', 'referenceDate', 'format', 'formatDensity', 'onChange', 'timezone', 'onError', 'shouldRespectLeadingZeros', 'selectedSections', 'onSelectedSectionsChange', 'fieldRef', 'startFieldRef', 'endFieldRef', 'disabled', 'readOnly', 'dateSeparator', 'autoFocus', 'focused'];
4
4
  export type InternalPropNames<TValueType extends PickerValueType> = (typeof SHARED_FIELD_INTERNAL_PROP_NAMES)[number] | (TValueType extends 'date' | 'date-time' ? (typeof DATE_VALIDATION_PROP_NAMES)[number] : never) | (TValueType extends 'time' | 'date-time' ? (typeof TIME_VALIDATION_PROP_NAMES)[number] : never) | (TValueType extends 'date-time' ? (typeof DATE_TIME_VALIDATION_PROP_NAMES)[number] : never);
5
5
  /**
6
6
  * Split the props received by the field component into:
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v9.9.0
2
+ * @mui/x-date-pickers v9.10.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v9.9.0
2
+ * @mui/x-date-pickers v9.10.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -9,7 +9,7 @@ import type { UseFieldReturnValue, UseFieldProps } from "../hooks/useField/index
9
9
  import type { PickersTextFieldProps } from "../../PickersTextField/index.mjs";
10
10
  export declare const cleanFieldResponse: <TFieldResponse extends MakeOptional<UseFieldReturnValue<ExportedPickerFieldUIProps & {
11
11
  [key: string]: any;
12
- }>, "onClear" | "clearable">>(fieldResponse: TFieldResponse) => ExportedPickerFieldUIProps & {
12
+ }>, 'onClear' | 'clearable'>>(fieldResponse: TFieldResponse) => ExportedPickerFieldUIProps & {
13
13
  openPickerAriaLabel: string;
14
14
  textFieldProps: Partial<PickersTextFieldProps>;
15
15
  };
@@ -9,7 +9,7 @@ import type { UseFieldReturnValue, UseFieldProps } from "../hooks/useField/index
9
9
  import type { PickersTextFieldProps } from "../../PickersTextField/index.js";
10
10
  export declare const cleanFieldResponse: <TFieldResponse extends MakeOptional<UseFieldReturnValue<ExportedPickerFieldUIProps & {
11
11
  [key: string]: any;
12
- }>, "onClear" | "clearable">>(fieldResponse: TFieldResponse) => ExportedPickerFieldUIProps & {
12
+ }>, 'onClear' | 'clearable'>>(fieldResponse: TFieldResponse) => ExportedPickerFieldUIProps & {
13
13
  openPickerAriaLabel: string;
14
14
  textFieldProps: Partial<PickersTextFieldProps>;
15
15
  };
@@ -4,6 +4,7 @@ import type { PopperProps as MuiPopperProps, PopperPlacementType, PopperProps }
4
4
  import type { TrapFocusProps as MuiTrapFocusProps } from '@mui/material/Unstable_TrapFocus';
5
5
  import type { TransitionProps as MuiTransitionProps } from '@mui/material/transitions';
6
6
  import type { SlotComponentPropsFromProps } from '@mui/x-internals/types';
7
+ import type { WithDataAttributes } from '@mui/utils/types';
7
8
  import type { PickerPopperClasses } from "./pickerPopperClasses.mjs";
8
9
  import type { PickerOwnerState } from "../../../models/index.mjs";
9
10
  export interface PickerPopperOwnerState extends PickerOwnerState {
@@ -39,7 +40,7 @@ export interface PickerPopperSlotProps {
39
40
  /**
40
41
  * Props passed down to the desktop [Transition](https://mui.com/material-ui/transitions/) component.
41
42
  */
42
- desktopTransition?: Partial<MuiTransitionProps>;
43
+ desktopTransition?: WithDataAttributes<Partial<MuiTransitionProps>>;
43
44
  /**
44
45
  * Props passed down to the [FocusTrap](https://mui.com/base-ui/react-focus-trap/) component on desktop.
45
46
  */
@@ -4,6 +4,7 @@ import type { PopperProps as MuiPopperProps, PopperPlacementType, PopperProps }
4
4
  import type { TrapFocusProps as MuiTrapFocusProps } from '@mui/material/Unstable_TrapFocus';
5
5
  import type { TransitionProps as MuiTransitionProps } from '@mui/material/transitions';
6
6
  import type { SlotComponentPropsFromProps } from '@mui/x-internals/types';
7
+ import type { WithDataAttributes } from '@mui/utils/types';
7
8
  import type { PickerPopperClasses } from "./pickerPopperClasses.js";
8
9
  import type { PickerOwnerState } from "../../../models/index.js";
9
10
  export interface PickerPopperOwnerState extends PickerOwnerState {
@@ -39,7 +40,7 @@ export interface PickerPopperSlotProps {
39
40
  /**
40
41
  * Props passed down to the desktop [Transition](https://mui.com/material-ui/transitions/) component.
41
42
  */
42
- desktopTransition?: Partial<MuiTransitionProps>;
43
+ desktopTransition?: WithDataAttributes<Partial<MuiTransitionProps>>;
43
44
  /**
44
45
  * Props passed down to the [FocusTrap](https://mui.com/base-ui/react-focus-trap/) component on desktop.
45
46
  */
@@ -6,4 +6,4 @@ export interface PickerPopperClasses {
6
6
  }
7
7
  export type PickerPopperClassKey = keyof PickerPopperClasses;
8
8
  export declare function getPickerPopperUtilityClass(slot: string): string;
9
- export declare const pickerPopperClasses: Record<"root" | "paper", string>;
9
+ export declare const pickerPopperClasses: Record<"paper" | "root", string>;
@@ -6,4 +6,4 @@ export interface PickerPopperClasses {
6
6
  }
7
7
  export type PickerPopperClassKey = keyof PickerPopperClasses;
8
8
  export declare function getPickerPopperUtilityClass(slot: string): string;
9
- export declare const pickerPopperClasses: Record<"root" | "paper", string>;
9
+ export declare const pickerPopperClasses: Record<"paper" | "root", string>;
@@ -1 +1 @@
1
- export declare const PickerViewRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
1
+ export declare const PickerViewRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
@@ -1 +1 @@
1
- export declare const PickerViewRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
1
+ export declare const PickerViewRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
@@ -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>;