@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
@@ -3,10 +3,10 @@ import type { PickerLayoutOwnerState, PickersLayoutProps } from "./PickersLayout
3
3
  import type { PickerValidValue } from "../internals/models/index.mjs";
4
4
  export declare const PickersLayoutRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
5
5
  ownerState: PickerLayoutOwnerState;
6
- }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
6
+ }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
7
7
  export declare const PickersLayoutContentWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
8
8
  ownerState: PickerLayoutOwnerState;
9
- }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
9
+ }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
10
10
  type PickersLayoutComponent = (<TValue extends PickerValidValue>(props: PickersLayoutProps<TValue> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
11
11
  propTypes?: any;
12
12
  };
@@ -3,10 +3,10 @@ import type { PickerLayoutOwnerState, PickersLayoutProps } from "./PickersLayout
3
3
  import type { PickerValidValue } from "../internals/models/index.js";
4
4
  export declare const PickersLayoutRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
5
5
  ownerState: PickerLayoutOwnerState;
6
- }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
6
+ }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
7
7
  export declare const PickersLayoutContentWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
8
8
  ownerState: PickerLayoutOwnerState;
9
- }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
9
+ }, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
10
10
  type PickersLayoutComponent = (<TValue extends PickerValidValue>(props: PickersLayoutProps<TValue> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
11
11
  propTypes?: any;
12
12
  };
@@ -1,6 +1,6 @@
1
1
  import type * as React from 'react';
2
2
  import type { SxProps, Theme } from '@mui/material/styles';
3
- import type { SlotComponentProps } from '@mui/utils/types';
3
+ import type { SlotComponentProps, WithDataAttributes } from '@mui/utils/types';
4
4
  import type { PickersActionBar, PickersActionBarProps } from "../PickersActionBar/index.mjs";
5
5
  import type { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.mjs";
6
6
  import type { ExportedBaseTabsProps } from "../internals/models/props/tabs.mjs";
@@ -51,7 +51,7 @@ export interface ExportedPickersLayoutSlotProps<TValue extends PickerValidValue>
51
51
  /**
52
52
  * Props passed down to the layoutRoot component.
53
53
  */
54
- layout?: Partial<PickersLayoutProps<TValue>>;
54
+ layout?: WithDataAttributes<Partial<PickersLayoutProps<TValue>>>;
55
55
  }
56
56
  export interface PickersLayoutSlots<TValue extends PickerValidValue> extends ExportedPickersLayoutSlots<TValue> {
57
57
  /**
@@ -68,11 +68,11 @@ export interface PickersLayoutSlotProps<TValue extends PickerValidValue> extends
68
68
  /**
69
69
  * Props passed down to the tabs component.
70
70
  */
71
- tabs?: ExportedBaseTabsProps;
71
+ tabs?: WithDataAttributes<ExportedBaseTabsProps>;
72
72
  /**
73
73
  * Props passed down to the toolbar component.
74
74
  */
75
- toolbar?: ExportedBaseToolbarProps;
75
+ toolbar?: WithDataAttributes<ExportedBaseToolbarProps>;
76
76
  }
77
77
  export interface PickersLayoutProps<TValue extends PickerValidValue> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'className'> {
78
78
  className?: string;
@@ -1,6 +1,6 @@
1
1
  import type * as React from 'react';
2
2
  import type { SxProps, Theme } from '@mui/material/styles';
3
- import type { SlotComponentProps } from '@mui/utils/types';
3
+ import type { SlotComponentProps, WithDataAttributes } from '@mui/utils/types';
4
4
  import type { PickersActionBar, PickersActionBarProps } from "../PickersActionBar/index.js";
5
5
  import type { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.js";
6
6
  import type { ExportedBaseTabsProps } from "../internals/models/props/tabs.js";
@@ -51,7 +51,7 @@ export interface ExportedPickersLayoutSlotProps<TValue extends PickerValidValue>
51
51
  /**
52
52
  * Props passed down to the layoutRoot component.
53
53
  */
54
- layout?: Partial<PickersLayoutProps<TValue>>;
54
+ layout?: WithDataAttributes<Partial<PickersLayoutProps<TValue>>>;
55
55
  }
56
56
  export interface PickersLayoutSlots<TValue extends PickerValidValue> extends ExportedPickersLayoutSlots<TValue> {
57
57
  /**
@@ -68,11 +68,11 @@ export interface PickersLayoutSlotProps<TValue extends PickerValidValue> extends
68
68
  /**
69
69
  * Props passed down to the tabs component.
70
70
  */
71
- tabs?: ExportedBaseTabsProps;
71
+ tabs?: WithDataAttributes<ExportedBaseTabsProps>;
72
72
  /**
73
73
  * Props passed down to the toolbar component.
74
74
  */
75
- toolbar?: ExportedBaseToolbarProps;
75
+ toolbar?: WithDataAttributes<ExportedBaseToolbarProps>;
76
76
  }
77
77
  export interface PickersLayoutProps<TValue extends PickerValidValue> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'className'> {
78
78
  className?: string;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { PickersSectionListProps } from "./PickersSectionList.types.mjs";
3
- export declare const PickersSectionListRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
3
+ export declare const PickersSectionListRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
4
4
  export declare const PickersSectionListSection: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
5
5
  export declare const PickersSectionListSectionSeparator: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
6
6
  export declare const PickersSectionListSectionContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { PickersSectionListProps } from "./PickersSectionList.types.js";
3
- export declare const PickersSectionListRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
3
+ export declare const PickersSectionListRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
4
4
  export declare const PickersSectionListSection: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
5
5
  export declare const PickersSectionListSectionSeparator: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
6
6
  export declare const PickersSectionListSectionContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
@@ -39,7 +39,7 @@ export interface PickersShortcutsProps<TValue extends PickerValidValue> extends
39
39
  *
40
40
  * - [PickersShortcuts API](https://mui.com/x/api/date-pickers/pickers-shortcuts/)
41
41
  */
42
- declare function PickersShortcuts<TValue extends PickerValidValue>(props: PickersShortcutsProps<TValue>): import("react/jsx-runtime").JSX.Element | null;
42
+ declare function PickersShortcuts<TValue extends PickerValidValue>(props: PickersShortcutsProps<TValue>): import("react").JSX.Element | null;
43
43
  declare namespace PickersShortcuts {
44
44
  var propTypes: any;
45
45
  }
@@ -39,7 +39,7 @@ export interface PickersShortcutsProps<TValue extends PickerValidValue> extends
39
39
  *
40
40
  * - [PickersShortcuts API](https://mui.com/x/api/date-pickers/pickers-shortcuts/)
41
41
  */
42
- declare function PickersShortcuts<TValue extends PickerValidValue>(props: PickersShortcutsProps<TValue>): import("react/jsx-runtime").JSX.Element | null;
42
+ declare function PickersShortcuts<TValue extends PickerValidValue>(props: PickersShortcutsProps<TValue>): import("react").JSX.Element | null;
43
43
  declare namespace PickersShortcuts {
44
44
  var propTypes: any;
45
45
  }
@@ -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
  /**
@@ -7,5 +7,5 @@ interface OutlineProps extends React.HTMLAttributes<HTMLFieldSetElement> {
7
7
  /**
8
8
  * @ignore - internal component.
9
9
  */
10
- export default function Outline(props: OutlineProps): import("react/jsx-runtime").JSX.Element;
10
+ export default function Outline(props: OutlineProps): React.JSX.Element;
11
11
  export {};
@@ -7,5 +7,5 @@ interface OutlineProps extends React.HTMLAttributes<HTMLFieldSetElement> {
7
7
  /**
8
8
  * @ignore - internal component.
9
9
  */
10
- export default function Outline(props: OutlineProps): import("react/jsx-runtime").JSX.Element;
10
+ export default function Outline(props: OutlineProps): React.JSX.Element;
11
11
  export {};
@@ -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
  /**
@@ -47,4 +47,4 @@ export interface ClockOwnerState extends PickerOwnerState {
47
47
  /**
48
48
  * @ignore - internal component.
49
49
  */
50
- export declare function Clock(inProps: ClockProps): import("react/jsx-runtime").JSX.Element;
50
+ export declare function Clock(inProps: ClockProps): React.JSX.Element;
@@ -47,4 +47,4 @@ export interface ClockOwnerState extends PickerOwnerState {
47
47
  /**
48
48
  * @ignore - internal component.
49
49
  */
50
- export declare function Clock(inProps: ClockProps): import("react/jsx-runtime").JSX.Element;
50
+ export declare function Clock(inProps: ClockProps): React.JSX.Element;
@@ -34,4 +34,4 @@ export interface ClockNumberOwnerState extends PickerOwnerState {
34
34
  /**
35
35
  * @ignore - internal component.
36
36
  */
37
- export declare function ClockNumber(inProps: ClockNumberProps): import("react/jsx-runtime").JSX.Element;
37
+ export declare function ClockNumber(inProps: ClockNumberProps): React.JSX.Element;
@@ -34,4 +34,4 @@ export interface ClockNumberOwnerState extends PickerOwnerState {
34
34
  /**
35
35
  * @ignore - internal component.
36
36
  */
37
- export declare function ClockNumber(inProps: ClockNumberProps): import("react/jsx-runtime").JSX.Element;
37
+ export declare function ClockNumber(inProps: ClockNumberProps): React.JSX.Element;
@@ -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
- }) => import("react/jsx-runtime").JSX.Element[];
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
- }) => import("react/jsx-runtime").JSX.Element[];
36
+ }) => React.JSX.Element[];
37
37
  export {};
@@ -28,4 +28,4 @@ export interface ClockPointerOwnerState extends PickerOwnerState {
28
28
  /**
29
29
  * @ignore - internal component.
30
30
  */
31
- export declare function ClockPointer(inProps: ClockPointerProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare function ClockPointer(inProps: ClockPointerProps): React.JSX.Element;
@@ -28,4 +28,4 @@ export interface ClockPointerOwnerState extends PickerOwnerState {
28
28
  /**
29
29
  * @ignore - internal component.
30
30
  */
31
- export declare function ClockPointer(inProps: ClockPointerProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare function ClockPointer(inProps: ClockPointerProps): React.JSX.Element;
@@ -20,7 +20,7 @@ export interface ExportedTimePickerToolbarProps extends ExportedBaseToolbarProps
20
20
  *
21
21
  * - [TimePickerToolbar API](https://mui.com/x/api/date-pickers/time-picker-toolbar/)
22
22
  */
23
- declare function TimePickerToolbar(inProps: TimePickerToolbarProps): import("react/jsx-runtime").JSX.Element;
23
+ declare function TimePickerToolbar(inProps: TimePickerToolbarProps): import("react").JSX.Element;
24
24
  declare namespace TimePickerToolbar {
25
25
  var propTypes: any;
26
26
  }
@@ -20,7 +20,7 @@ export interface ExportedTimePickerToolbarProps extends ExportedBaseToolbarProps
20
20
  *
21
21
  * - [TimePickerToolbar API](https://mui.com/x/api/date-pickers/time-picker-toolbar/)
22
22
  */
23
- declare function TimePickerToolbar(inProps: TimePickerToolbarProps): import("react/jsx-runtime").JSX.Element;
23
+ declare function TimePickerToolbar(inProps: TimePickerToolbarProps): import("react").JSX.Element;
24
24
  declare namespace TimePickerToolbar {
25
25
  var propTypes: any;
26
26
  }
@@ -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 {
@@ -20,4 +20,4 @@ export interface YearCalendarButtonProps {
20
20
  /**
21
21
  * @ignore - internal component.
22
22
  */
23
- export declare const YearCalendarButton: React.MemoExoticComponent<(props: YearCalendarButtonProps) => import("react/jsx-runtime").JSX.Element>;
23
+ export declare const YearCalendarButton: React.MemoExoticComponent<(props: YearCalendarButtonProps) => React.JSX.Element>;
@@ -20,4 +20,4 @@ export interface YearCalendarButtonProps {
20
20
  /**
21
21
  * @ignore - internal component.
22
22
  */
23
- export declare const YearCalendarButton: React.MemoExoticComponent<(props: YearCalendarButtonProps) => import("react/jsx-runtime").JSX.Element>;
23
+ export declare const YearCalendarButton: React.MemoExoticComponent<(props: YearCalendarButtonProps) => React.JSX.Element>;
@@ -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>;
@@ -46,4 +46,4 @@ export declare const renderDateViewCalendar: ({
46
46
  fixedWeekNumber,
47
47
  displayWeekNumber,
48
48
  timezone
49
- }: DateViewRendererProps<DateView>) => import("react/jsx-runtime").JSX.Element;
49
+ }: DateViewRendererProps<DateView>) => import("react").JSX.Element;
@@ -46,4 +46,4 @@ export declare const renderDateViewCalendar: ({
46
46
  fixedWeekNumber,
47
47
  displayWeekNumber,
48
48
  timezone
49
- }: DateViewRendererProps<DateView>) => import("react/jsx-runtime").JSX.Element;
49
+ }: DateViewRendererProps<DateView>) => import("react").JSX.Element;