@mui/x-date-pickers 7.2.0 → 7.3.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 (166) hide show
  1. package/AdapterDateFnsBase/AdapterDateFnsBase.d.ts +1 -1
  2. package/AdapterDateFnsJalali/AdapterDateFnsJalali.d.ts +1 -1
  3. package/AdapterDayjs/AdapterDayjs.d.ts +1 -1
  4. package/AdapterLuxon/AdapterLuxon.d.ts +1 -1
  5. package/AdapterMoment/AdapterMoment.d.ts +1 -1
  6. package/AdapterMomentHijri/AdapterMomentHijri.d.ts +1 -1
  7. package/AdapterMomentJalaali/AdapterMomentJalaali.d.ts +1 -1
  8. package/CHANGELOG.md +204 -2
  9. package/DateCalendar/DateCalendar.js +1 -2
  10. package/DateCalendar/DayCalendar.js +1 -2
  11. package/DateCalendar/useCalendarState.d.ts +1 -3
  12. package/DateTimePicker/DateTimePickerTabs.js +1 -2
  13. package/DateTimePicker/DateTimePickerToolbar.js +1 -2
  14. package/DesktopDateTimePicker/DesktopDateTimePicker.js +1 -2
  15. package/DesktopDateTimePicker/DesktopDateTimePickerLayout.js +1 -2
  16. package/PickersCalendarHeader/PickersCalendarHeader.js +1 -2
  17. package/PickersLayout/PickersLayout.js +1 -2
  18. package/PickersSectionList/PickersSectionList.js +1 -2
  19. package/PickersTextField/PickersInputBase/PickersInputBase.js +1 -2
  20. package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.js +1 -2
  21. package/PickersTextField/PickersTextField.js +1 -2
  22. package/TimeClock/Clock.js +1 -2
  23. package/TimeClock/ClockNumbers.d.ts +1 -1
  24. package/TimeClock/TimeClock.js +1 -2
  25. package/TimePicker/TimePickerToolbar.js +1 -2
  26. package/hooks/useClearableField.js +1 -2
  27. package/icons/index.js +1 -2
  28. package/index.js +1 -1
  29. package/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.js +1 -2
  30. package/internals/components/PickersToolbar.js +1 -2
  31. package/internals/demo/DemoContainer.js +1 -2
  32. package/internals/hooks/defaultizedFieldProps.d.ts +3 -3
  33. package/internals/hooks/useClockReferenceDate.d.ts +1 -1
  34. package/internals/hooks/useDesktopPicker/useDesktopPicker.js +1 -2
  35. package/internals/hooks/useField/useField.utils.d.ts +13 -13
  36. package/internals/hooks/useMobilePicker/useMobilePicker.js +1 -2
  37. package/internals/utils/date-time-utils.d.ts +2 -2
  38. package/internals/utils/date-utils.d.ts +10 -10
  39. package/internals/utils/getDefaultReferenceDate.d.ts +2 -3
  40. package/internals/utils/time-utils.d.ts +6 -6
  41. package/internals/utils/utils.d.ts +1 -1
  42. package/locales/caES.js +26 -30
  43. package/locales/esES.js +21 -24
  44. package/modern/DateCalendar/DateCalendar.js +1 -2
  45. package/modern/DateCalendar/DayCalendar.js +1 -2
  46. package/modern/DateTimePicker/DateTimePickerTabs.js +1 -2
  47. package/modern/DateTimePicker/DateTimePickerToolbar.js +1 -2
  48. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +1 -2
  49. package/modern/DesktopDateTimePicker/DesktopDateTimePickerLayout.js +1 -2
  50. package/modern/PickersCalendarHeader/PickersCalendarHeader.js +1 -2
  51. package/modern/PickersLayout/PickersLayout.js +1 -2
  52. package/modern/PickersSectionList/PickersSectionList.js +1 -2
  53. package/modern/PickersTextField/PickersInputBase/PickersInputBase.js +1 -2
  54. package/modern/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.js +1 -2
  55. package/modern/PickersTextField/PickersTextField.js +1 -2
  56. package/modern/TimeClock/Clock.js +1 -2
  57. package/modern/TimeClock/TimeClock.js +1 -2
  58. package/modern/TimePicker/TimePickerToolbar.js +1 -2
  59. package/modern/hooks/useClearableField.js +1 -2
  60. package/modern/icons/index.js +1 -2
  61. package/modern/index.js +1 -1
  62. package/modern/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.js +1 -2
  63. package/modern/internals/components/PickersToolbar.js +1 -2
  64. package/modern/internals/demo/DemoContainer.js +1 -2
  65. package/modern/internals/hooks/useDesktopPicker/useDesktopPicker.js +1 -2
  66. package/modern/internals/hooks/useMobilePicker/useMobilePicker.js +1 -2
  67. package/modern/locales/caES.js +26 -30
  68. package/modern/locales/esES.js +21 -24
  69. package/node/DateCalendar/DateCalendar.js +1 -1
  70. package/node/DateCalendar/DayCalendar.js +1 -1
  71. package/node/DateCalendar/PickersFadeTransitionGroup.js +1 -1
  72. package/node/DateCalendar/PickersSlideTransition.js +1 -1
  73. package/node/DateCalendar/useCalendarState.js +1 -1
  74. package/node/DateCalendar/useIsDateDisabled.js +1 -1
  75. package/node/DateField/DateField.js +1 -1
  76. package/node/DatePicker/DatePicker.js +1 -1
  77. package/node/DatePicker/DatePickerToolbar.js +1 -1
  78. package/node/DatePicker/shared.js +1 -1
  79. package/node/DateTimeField/DateTimeField.js +1 -1
  80. package/node/DateTimePicker/DateTimePicker.js +1 -1
  81. package/node/DateTimePicker/DateTimePickerTabs.js +1 -1
  82. package/node/DateTimePicker/DateTimePickerToolbar.js +1 -1
  83. package/node/DateTimePicker/shared.js +1 -1
  84. package/node/DayCalendarSkeleton/DayCalendarSkeleton.js +1 -1
  85. package/node/DesktopDatePicker/DesktopDatePicker.js +1 -1
  86. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +1 -1
  87. package/node/DesktopDateTimePicker/DesktopDateTimePickerLayout.js +1 -1
  88. package/node/DesktopTimePicker/DesktopTimePicker.js +1 -1
  89. package/node/DigitalClock/DigitalClock.js +1 -1
  90. package/node/LocalizationProvider/LocalizationProvider.js +1 -1
  91. package/node/MobileDatePicker/MobileDatePicker.js +1 -1
  92. package/node/MobileDateTimePicker/MobileDateTimePicker.js +1 -1
  93. package/node/MobileTimePicker/MobileTimePicker.js +1 -1
  94. package/node/MonthCalendar/MonthCalendar.js +1 -1
  95. package/node/MonthCalendar/PickersMonth.js +1 -1
  96. package/node/MultiSectionDigitalClock/MultiSectionDigitalClock.js +1 -1
  97. package/node/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +1 -1
  98. package/node/PickersActionBar/PickersActionBar.js +1 -1
  99. package/node/PickersCalendarHeader/PickersCalendarHeader.js +1 -1
  100. package/node/PickersDay/PickersDay.js +1 -1
  101. package/node/PickersLayout/PickersLayout.js +1 -1
  102. package/node/PickersLayout/usePickerLayout.js +1 -1
  103. package/node/PickersSectionList/PickersSectionList.js +1 -1
  104. package/node/PickersShortcuts/PickersShortcuts.js +1 -1
  105. package/node/PickersTextField/PickersFilledInput/PickersFilledInput.js +1 -1
  106. package/node/PickersTextField/PickersInput/PickersInput.js +1 -1
  107. package/node/PickersTextField/PickersInputBase/PickersInputBase.js +1 -1
  108. package/node/PickersTextField/PickersOutlinedInput/Outline.js +1 -1
  109. package/node/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.js +1 -1
  110. package/node/PickersTextField/PickersTextField.js +1 -1
  111. package/node/StaticDatePicker/StaticDatePicker.js +1 -1
  112. package/node/StaticDateTimePicker/StaticDateTimePicker.js +1 -1
  113. package/node/StaticTimePicker/StaticTimePicker.js +1 -1
  114. package/node/TimeClock/Clock.js +1 -1
  115. package/node/TimeClock/ClockNumber.js +1 -1
  116. package/node/TimeClock/ClockNumbers.js +1 -1
  117. package/node/TimeClock/ClockPointer.js +1 -1
  118. package/node/TimeClock/TimeClock.js +1 -1
  119. package/node/TimeField/TimeField.js +1 -1
  120. package/node/TimePicker/TimePicker.js +1 -1
  121. package/node/TimePicker/TimePickerToolbar.js +1 -1
  122. package/node/TimePicker/shared.js +1 -1
  123. package/node/YearCalendar/PickersYear.js +1 -1
  124. package/node/YearCalendar/YearCalendar.js +1 -1
  125. package/node/dateViewRenderers/dateViewRenderers.js +1 -1
  126. package/node/hooks/useClearableField.js +1 -1
  127. package/node/icons/index.js +1 -1
  128. package/node/index.js +1 -1
  129. package/node/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.js +1 -1
  130. package/node/internals/components/PickersModalDialog.js +1 -1
  131. package/node/internals/components/PickersPopper.js +1 -1
  132. package/node/internals/components/PickersToolbar.js +1 -1
  133. package/node/internals/components/PickersToolbarButton.js +1 -1
  134. package/node/internals/components/PickersToolbarText.js +1 -1
  135. package/node/internals/demo/DemoContainer.js +1 -1
  136. package/node/internals/hooks/date-helpers-hooks.js +1 -1
  137. package/node/internals/hooks/useClockReferenceDate.js +1 -1
  138. package/node/internals/hooks/useDesktopPicker/useDesktopPicker.js +1 -1
  139. package/node/internals/hooks/useField/useField.js +1 -1
  140. package/node/internals/hooks/useField/useFieldCharacterEditing.js +1 -1
  141. package/node/internals/hooks/useField/useFieldState.js +1 -1
  142. package/node/internals/hooks/useField/useFieldV6TextField.js +1 -1
  143. package/node/internals/hooks/useField/useFieldV7TextField.js +1 -1
  144. package/node/internals/hooks/useIsLandscape.js +1 -1
  145. package/node/internals/hooks/useMobilePicker/useMobilePicker.js +1 -1
  146. package/node/internals/hooks/useOpenState.js +1 -1
  147. package/node/internals/hooks/usePicker/usePickerValue.js +1 -1
  148. package/node/internals/hooks/usePicker/usePickerViews.js +1 -1
  149. package/node/internals/hooks/useStaticPicker/useStaticPicker.js +1 -1
  150. package/node/internals/hooks/useUtils.js +1 -1
  151. package/node/internals/hooks/useValidation.js +1 -1
  152. package/node/internals/hooks/useValueWithTimezone.js +1 -1
  153. package/node/internals/hooks/useViews.js +1 -1
  154. package/node/locales/caES.js +26 -30
  155. package/node/locales/esES.js +21 -24
  156. package/node/timeViewRenderers/timeViewRenderers.js +1 -1
  157. package/package.json +3 -5
  158. package/timeViewRenderers/timeViewRenderers.d.ts +1 -1
  159. package/internals/components/DateTimeViewWrapper/DateTimeViewWrapper.d.ts +0 -2
  160. package/internals/components/DateTimeViewWrapper/DateTimeViewWrapper.js +0 -5
  161. package/internals/components/DateTimeViewWrapper/index.d.ts +0 -1
  162. package/internals/components/DateTimeViewWrapper/index.js +0 -1
  163. package/modern/internals/components/DateTimeViewWrapper/DateTimeViewWrapper.js +0 -5
  164. package/modern/internals/components/DateTimeViewWrapper/index.js +0 -1
  165. package/node/internals/components/DateTimeViewWrapper/DateTimeViewWrapper.js +0 -11
  166. package/node/internals/components/DateTimeViewWrapper/index.js +0 -12
@@ -54,7 +54,7 @@ export declare class AdapterDateFnsBase<DateFnsLocale extends DateFnsLocaleBase>
54
54
  };
55
55
  longFormatters: DateFnsAdapterBaseOptions<DateFnsLocale>['longFormatters'];
56
56
  constructor(props: DateFnsAdapterBaseOptions<DateFnsLocale>);
57
- date: <T extends string | null | undefined>(value?: T | undefined) => DateBuilderReturnType<T, Date>;
57
+ date: <T extends string | null | undefined>(value?: T) => DateBuilderReturnType<T, Date>;
58
58
  getInvalidDate: () => Date;
59
59
  getTimezone: () => string;
60
60
  setTimezone: (value: Date) => Date;
@@ -44,7 +44,7 @@ export declare class AdapterDateFnsJalali implements MuiPickersAdapter<Date, Dat
44
44
  end: string;
45
45
  };
46
46
  constructor({ locale, formats }?: AdapterOptions<DateFnsLocale, never>);
47
- date: <T extends string | null | undefined>(value?: T | undefined) => DateBuilderReturnType<T, Date>;
47
+ date: <T extends string | null | undefined>(value?: T) => DateBuilderReturnType<T, Date>;
48
48
  getInvalidDate: () => Date;
49
49
  getTimezone: () => string;
50
50
  setTimezone: (value: Date) => Date;
@@ -63,7 +63,7 @@ export declare class AdapterDayjs implements MuiPickersAdapter<Dayjs, string> {
63
63
  * See https://github.com/iamkun/dayjs/blob/b3624de619d6e734cd0ffdbbd3502185041c1b60/src/plugin/timezone/index.js#L72
64
64
  */
65
65
  private adjustOffset;
66
- date: <T extends string | null | undefined>(value?: T | undefined, timezone?: PickersTimezone) => DateBuilderReturnType<T, defaultDayjs.Dayjs>;
66
+ date: <T extends string | null | undefined>(value?: T, timezone?: PickersTimezone) => DateBuilderReturnType<T, Dayjs>;
67
67
  getInvalidDate: () => defaultDayjs.Dayjs;
68
68
  getTimezone: (value: Dayjs) => string;
69
69
  setTimezone: (value: Dayjs, timezone: PickersTimezone) => Dayjs;
@@ -43,7 +43,7 @@ export declare class AdapterLuxon implements MuiPickersAdapter<DateTime, string>
43
43
  formatTokenMap: FieldFormatTokenMap;
44
44
  constructor({ locale, formats }?: AdapterOptions<string, never>);
45
45
  private setLocaleToValue;
46
- date: <T extends string | null | undefined>(value?: T | undefined, timezone?: PickersTimezone) => DateBuilderReturnType<T, DateTime<boolean>>;
46
+ date: <T extends string | null | undefined>(value?: T, timezone?: PickersTimezone) => DateBuilderReturnType<T, DateTime>;
47
47
  getInvalidDate: () => DateTime<true> | DateTime<false>;
48
48
  getTimezone: (value: DateTime) => string;
49
49
  setTimezone: (value: DateTime, timezone: PickersTimezone) => DateTime;
@@ -48,7 +48,7 @@ export declare class AdapterMoment implements MuiPickersAdapter<Moment, string>
48
48
  private createSystemDate;
49
49
  private createUTCDate;
50
50
  private createTZDate;
51
- date: <T extends string | null | undefined>(value?: T | undefined, timezone?: PickersTimezone) => DateBuilderReturnType<T, defaultMoment.Moment>;
51
+ date: <T extends string | null | undefined>(value?: T, timezone?: PickersTimezone) => DateBuilderReturnType<T, Moment>;
52
52
  getInvalidDate: () => defaultMoment.Moment;
53
53
  getTimezone: (value: Moment) => string;
54
54
  setTimezone: (value: Moment, timezone: PickersTimezone) => Moment;
@@ -37,7 +37,7 @@ export declare class AdapterMomentHijri extends AdapterMoment implements MuiPick
37
37
  isTimezoneCompatible: boolean;
38
38
  formatTokenMap: FieldFormatTokenMap;
39
39
  constructor({ formats, instance }?: AdapterOptions<string, typeof defaultHMoment>);
40
- date: <T extends string | null | undefined>(value?: T | undefined) => DateBuilderReturnType<T, defaultHMoment.Moment>;
40
+ date: <T extends string | null | undefined>(value?: T) => DateBuilderReturnType<T, Moment>;
41
41
  getTimezone: () => string;
42
42
  setTimezone: (value: Moment) => Moment;
43
43
  parse: (value: string, format: string) => defaultHMoment.Moment | null;
@@ -37,7 +37,7 @@ export declare class AdapterMomentJalaali extends AdapterMoment implements MuiPi
37
37
  moment: typeof defaultJMoment;
38
38
  formatTokenMap: FieldFormatTokenMap;
39
39
  constructor({ formats, instance }?: AdapterOptions<string, typeof defaultJMoment>);
40
- date: <T extends string | null | undefined>(value?: T | undefined) => DateBuilderReturnType<T, defaultJMoment.Moment>;
40
+ date: <T extends string | null | undefined>(value?: T) => DateBuilderReturnType<T, Moment>;
41
41
  getTimezone: () => string;
42
42
  setTimezone: (value: Moment) => Moment;
43
43
  parse: (value: string, format: string) => defaultJMoment.Moment | null;
package/CHANGELOG.md CHANGED
@@ -3,6 +3,158 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 7.3.1
7
+
8
+ _Apr 26, 2024_
9
+
10
+ We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🎁 Scatter Charts get a [z-axis to allow coloring data points independently from their coordinates](https://mui.com/x/react-charts/scatter/#color-scale)
13
+ - 🌍 Improve Catalan (ca-ES) and Spanish (es-ES) locales on the Date and Time Pickers
14
+ - 🐞 Bugfixes
15
+ - 📚 Documentation improvements
16
+
17
+ ### Data Grid
18
+
19
+ #### `@mui/x-data-grid@7.3.1`
20
+
21
+ - [DataGrid] Fix date filtering for negative timezone offsets (#12836) @cherniavskii
22
+ - [DataGrid] Fix flex column width when used with pinned columns (#12849) @romgrk
23
+ - [DataGrid] Fix group header resize (#12863) @arminmeh
24
+ - [DataGrid] Pass slot props to `columnHeaders` slot (#12768) @cherniavskii
25
+
26
+ #### `@mui/x-data-grid-pro@7.3.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
27
+
28
+ Same changes as in `@mui/x-data-grid@7.3.1`.
29
+
30
+ #### `@mui/x-data-grid-premium@7.3.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
31
+
32
+ Same changes as in `@mui/x-data-grid-pro@7.3.1`.
33
+
34
+ ### Date and Time Pickers
35
+
36
+ #### `@mui/x-date-pickers@7.3.1`
37
+
38
+ - [l10n] Improve Catalan (ca-ES) locale (#12856) @soler1212
39
+ - [l10n] Improve Spanish (es-ES) locale (#12858) @soler1212
40
+
41
+ #### `@mui/x-date-pickers-pro@7.3.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
42
+
43
+ Same changes as in `@mui/x-date-pickers@7.3.1`.
44
+
45
+ ### Charts
46
+
47
+ #### `@mui/x-charts@7.3.1`
48
+
49
+ - [charts] Add documentation on border radius alternative for `BarCharts` (#12859) @JCQuintas
50
+ - [charts] Add z-axis to colorize scatter charts (#12738) @alexfauquette
51
+ - [charts] Fix left/bottomAxis not picking up default axis id (#12894) @JCQuintas
52
+ - [charts] Improve default tooltip content (#12257) @oliviertassinari
53
+ - [charts] Round y values for bar chart (#12846) @alexfauquette
54
+
55
+ ### Tree View
56
+
57
+ #### `@mui/x-tree-view@7.3.1`
58
+
59
+ - [TreeView] Remove un-needed `aria-activedescendant` attribute (#12867) @flaviendelangle
60
+ - [TreeView] Rework the selection internals (#12703) @flaviendelangle
61
+ - [TreeView] Use the order in which the items are displayed for `type-ahead` (#12827) @flaviendelangle
62
+
63
+ ### Docs
64
+
65
+ - [docs] Add demo for styling charts with `sx` props (#12791) @derek-0000
66
+ - [docs] Cover webpack 4 support in migration guide (#12710) @cherniavskii
67
+ - [docs] Document interfaces for charts (#12656) @alexfauquette
68
+ - [docs] Fix Vale regression (#12862) @oliviertassinari
69
+ - [docs] Improve Data Grid migration guide (#12879) @MBilalShafi
70
+ - [docs] Update Column features availability (#12865) @DanailH
71
+
72
+ ### Core
73
+
74
+ - [core] Fix `l10n` GH workflow (#12895) @LukasTy
75
+ - [core] Match Base UI and Toolpad @oliviertassinari
76
+ - [core] Remove redundant `setupFiles` entries in `package.json` (#12899) @LukasTy
77
+ - [core] Use `describeTreeView` for focus tests (#12698) @flaviendelangle
78
+ - [core] Use `describeTreeView` for type-ahead tests (#12811) @flaviendelangle
79
+ - [code-infra] Change package manager to `pnpm` (#11875) @LukasTy
80
+ - [code-infra] Closer sync with eslint config of codebase (#12864) @oliviertassinari
81
+ - [support-infra] Add release announcement to GitHub workflows (#11867) (#12843) @michelengelen
82
+
83
+ ## 7.3.0
84
+
85
+ _Apr 18, 2024_
86
+
87
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
88
+
89
+ - 📄 Support [unknown and estimated row count in server-side pagination](https://mui.com/x/react-data-grid/pagination/#index-based-pagination) (#12490) @MBilalShafi
90
+ - 🎨 Support color scales in Charts (#12490) @alexfauquette
91
+ Add a [`colorMap` configuration](https://mui.com/x/react-charts/styling/#values-color) to an axis, and the chart will use it to select colors.
92
+ Each impacted chart ([bar charts](https://mui.com/x/react-charts/bars/#color-scale), [line charts](https://mui.com/x/react-charts/lines/#color-scale), [scatter charts](https://mui.com/x/react-charts/scatter/#color-scale)) has a dedicated section explaining how this color map is impacting it.
93
+
94
+ <img src="https://github.com/mui/mui-x/assets/45398769/f0066606-3486-4c4e-b3be-7fdd56d763c3" alt="scatter chart with gradient along y-axis" />
95
+
96
+ - 🌍 Improve Danish (da-DK) locale on the Data Grid
97
+ - 🐞 Bugfixes
98
+ - 📚 Documentation improvements
99
+
100
+ ### Data Grid
101
+
102
+ #### `@mui/x-data-grid@7.3.0`
103
+
104
+ - [DataGrid] Fix calling `onCellEditStop` on error (#12747) @sai6855
105
+ - [DataGrid] Fix column resize (#12792) @romgrk
106
+ - [DataGrid] Fix column separators (#12808) @romgrk
107
+ - [DataGrid] Limit panel width to not exceed screen width (#12799) @cherniavskii
108
+ - [DataGrid] Support advanced server-side pagination use cases (#12474) @MBilalShafi
109
+ - [DataGrid] Support state export and restore on grid density (#12671) @MBilalShafi
110
+ - [l10n] Improve Danish (da-DK) locale (#12784) @EmilBahnsen
111
+
112
+ #### `@mui/x-data-grid-pro@7.3.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
113
+
114
+ Same changes as in `@mui/x-data-grid@7.3.0`, plus:
115
+
116
+ - [DataGridPro] Implement header filter height (#12666) @romgrk
117
+
118
+ #### `@mui/x-data-grid-premium@7.3.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
119
+
120
+ Same changes as in `@mui/x-data-grid-pro@7.3.0`.
121
+
122
+ ### Charts
123
+
124
+ #### Breaking change
125
+
126
+ A typo fix:
127
+
128
+ ```diff
129
+ - ContinuouseScaleName
130
+ + ContinuousScaleName
131
+ ```
132
+
133
+ #### `@mui/x-charts@7.3.0`
134
+
135
+ - [charts] Add `dataIndex` to series `valueFormatter` (#12745) @JCQuintas
136
+ - [charts] Add color scale (#12490) @alexfauquette
137
+ - [charts] Do not document the usage of `DEFAULT_X_AXIS_KEY` and `DEFAULT_Y_AXIS_KEY` (#12780) @alexfauquette
138
+ - [charts] Export more utils (#12744) @alexfauquette
139
+ - [charts] Fix passing slot props down to `PieArcLabel` (#12806) @JCQuintas
140
+
141
+ ### Tree View
142
+
143
+ #### `@mui/x-tree-view@7.3.0`
144
+
145
+ - [TreeView] Support `defaultMuiPrevented` on the `onFocus` prop of the root slot (#12813) @flaviendelangle
146
+
147
+ ### Docs
148
+
149
+ - [docs] Add grid cell display example to the migration guide (#12793) @romgrk
150
+ - [docs] Use charts classes objects (#12781) @alexfauquette
151
+ - [docs] Fix layout shift on demos (#12816) @zanivan
152
+ - [test] Increase timeout for test that sometimes fail on `DateTimeRangePicker` (#12786) @LukasTy
153
+
154
+ ### Core
155
+
156
+ - [docs-infra] Prepare infra to document charts interfaces (#12653) @alexfauquette
157
+
6
158
  ## 7.2.0
7
159
 
8
160
  _Apr 12, 2024_
@@ -168,7 +320,7 @@ Same changes as in `@mui/x-date-pickers@7.1.1`, plus:
168
320
  - [docs] Fix type arguments in Custom Field page (#12619) @Juneezee
169
321
  - [docs] Fix typo in `getItemId` prop description (#12637) @flaviendelangle
170
322
  - [docs] Make the Charts `margin` usage more visible (#12591) @alexfauquette
171
- - [docs] Match IE 11 spacing with Material UI @oliviertassinari
323
+ - [docs] Match IE 11 spacing with Material UI @oliviertassinari
172
324
  - [docs] Move data grid interfaces to standard API page layout (#12016) @alexfauquette
173
325
  - [docs] Remove ` around @default values (#12158) @alexfauquette
174
326
  - [docs] Remove `day` from the default `dayOfWeekFormatter` function params (#12644) @LukasTy
@@ -431,7 +583,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0`, plus:
431
583
  - [docs] Update links to v6 (#12496) @cherniavskii
432
584
  - [docs] Update links to v7 docs (#12500) @noraleonte
433
585
  - [docs] Update supported versions (#12508) @joserodolfofreitas
434
- - [docs] Update "What's new in MUI X" page #12527 @cherniavskii
586
+ - [docs] Update "What's new in MUI X" page #12527 @cherniavskii
435
587
 
436
588
  ### Core
437
589
 
@@ -3058,6 +3210,56 @@ Here is an example of the renaming for the `<ChartsTooltip />` component.
3058
3210
  - [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
3059
3211
  - [license] Correctly throw errors (#10924) @oliviertassinari
3060
3212
 
3213
+ ## 6.19.11
3214
+
3215
+ _Apr 18, 2024_
3216
+
3217
+ We'd like to offer a big thanks to the 1 contributor who made this release possible. Here are some highlights ✨:
3218
+
3219
+ - 🐞 Bugfixes
3220
+
3221
+ ### Data Grid
3222
+
3223
+ #### `@mui/x-data-grid@6.19.11`
3224
+
3225
+ - [DataGrid] Fix virtualization memory leak (#12812) @romgrk
3226
+
3227
+ #### `@mui/x-data-grid-pro@6.19.11` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
3228
+
3229
+ Same changes as in `@mui/x-data-grid@6.19.11`.
3230
+
3231
+ #### `@mui/x-data-grid-premium@6.19.11` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
3232
+
3233
+ Same changes as in `@mui/x-data-grid-pro@6.19.11`.
3234
+
3235
+ ## 6.19.10
3236
+
3237
+ _Apr 12, 2024_
3238
+
3239
+ We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
3240
+
3241
+ - 🐞 Bugfixes
3242
+ - 📚 Documentation improvements
3243
+
3244
+ ### Data Grid
3245
+
3246
+ #### `@mui/x-data-grid@6.19.10`
3247
+
3248
+ - [DataGrid] Do not escape double quotes when copying to clipboard (#12734) @cherniavskii
3249
+ - [DataGrid] Fix bug in suspense (#12754) @cherniavskii
3250
+
3251
+ #### `@mui/x-data-grid-pro@6.19.10` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
3252
+
3253
+ Same changes as in `@mui/x-data-grid@6.19.10`.
3254
+
3255
+ #### `@mui/x-data-grid-premium@6.19.10` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
3256
+
3257
+ Same changes as in `@mui/x-data-grid-pro@6.19.10`.
3258
+
3259
+ ### Core
3260
+
3261
+ - [core] Update the docs release source branch (#12685) @LukasTy
3262
+
3061
3263
  ## 6.19.9
3062
3264
 
3063
3265
  _Apr 5, 2024_
@@ -22,8 +22,7 @@ import { getDateCalendarUtilityClass } from './dateCalendarClasses';
22
22
  import { useControlledValueWithTimezone } from '../internals/hooks/useValueWithTimezone';
23
23
  import { singleItemValueManager } from '../internals/utils/valueManagers';
24
24
  import { VIEW_HEIGHT } from '../internals/constants/dimensions';
25
- import { jsx as _jsx } from "react/jsx-runtime";
26
- import { jsxs as _jsxs } from "react/jsx-runtime";
25
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
27
26
  const useUtilityClasses = ownerState => {
28
27
  const {
29
28
  classes
@@ -16,8 +16,7 @@ import { PickersSlideTransition } from './PickersSlideTransition';
16
16
  import { useIsDateDisabled } from './useIsDateDisabled';
17
17
  import { findClosestEnabledDate, getWeekdays } from '../internals/utils/date-utils';
18
18
  import { getDayCalendarUtilityClass } from './dayCalendarClasses';
19
- import { jsx as _jsx } from "react/jsx-runtime";
20
- import { jsxs as _jsxs } from "react/jsx-runtime";
19
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
20
  const useUtilityClasses = ownerState => {
22
21
  const {
23
22
  classes
@@ -22,9 +22,7 @@ interface ChangeFocusedDayPayload<TDate extends PickerValidDate> {
22
22
  */
23
23
  withoutMonthSwitchingAnimation?: boolean;
24
24
  }
25
- export declare const createCalendarStateReducer: <TDate extends PickerValidDate>(reduceAnimations: boolean, disableSwitchToMonthOnDayFocus: boolean, utils: MuiPickersAdapter<TDate, any>) => (state: CalendarState<TDate>, action: {
26
- type: "finishMonthSwitchingAnimation";
27
- } | ReducerAction<"changeMonth", ChangeMonthPayload<TDate>> | ReducerAction<"changeFocusedDay", ChangeFocusedDayPayload<TDate>>) => CalendarState<TDate>;
25
+ export declare const createCalendarStateReducer: <TDate extends PickerValidDate>(reduceAnimations: boolean, disableSwitchToMonthOnDayFocus: boolean, utils: MuiPickersAdapter<TDate>) => (state: CalendarState<TDate>, action: ReducerAction<'finishMonthSwitchingAnimation'> | ReducerAction<'changeMonth', ChangeMonthPayload<TDate>> | ReducerAction<'changeFocusedDay', ChangeFocusedDayPayload<TDate>>) => CalendarState<TDate>;
28
26
  interface UseCalendarStateParams<TDate extends PickerValidDate> extends Pick<DateCalendarDefaultizedProps<TDate>, 'value' | 'referenceDate' | 'disableFuture' | 'disablePast' | 'minDate' | 'maxDate' | 'onMonthChange' | 'reduceAnimations' | 'shouldDisableDate'> {
29
27
  disableSwitchToMonthOnDayFocus?: boolean;
30
28
  timezone: PickersTimezone;
@@ -9,8 +9,7 @@ import { TimeIcon, DateRangeIcon } from '../icons';
9
9
  import { useLocaleText } from '../internals/hooks/useUtils';
10
10
  import { getDateTimePickerTabsUtilityClass } from './dateTimePickerTabsClasses';
11
11
  import { isDatePickerView } from '../internals/utils/date-utils';
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
13
  const viewToTab = view => {
15
14
  if (isDatePickerView(view)) {
16
15
  return 'date';
@@ -16,8 +16,7 @@ import { MULTI_SECTION_CLOCK_SECTION_WIDTH } from '../internals/constants/dimens
16
16
  import { formatMeridiem } from '../internals/utils/date-utils';
17
17
  import { pickersToolbarTextClasses } from '../internals/components/pickersToolbarTextClasses';
18
18
  import { pickersToolbarClasses } from '../internals';
19
- import { jsx as _jsx } from "react/jsx-runtime";
20
- import { jsxs as _jsxs } from "react/jsx-runtime";
19
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
20
  const useUtilityClasses = ownerState => {
22
21
  const {
23
22
  classes,
@@ -21,8 +21,7 @@ import { VIEW_HEIGHT, isDatePickerView, isInternalTimeView } from '../internals'
21
21
  import { multiSectionDigitalClockClasses, multiSectionDigitalClockSectionClasses } from '../MultiSectionDigitalClock';
22
22
  import { digitalClockClasses } from '../DigitalClock';
23
23
  import { DesktopDateTimePickerLayout } from './DesktopDateTimePickerLayout';
24
- import { jsx as _jsx } from "react/jsx-runtime";
25
- import { jsxs as _jsxs } from "react/jsx-runtime";
24
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
26
25
  const rendererInterceptor = function rendererInterceptor(inViewRenderers, popperView, rendererProps) {
27
26
  const {
28
27
  openTo,
@@ -3,8 +3,7 @@ import PropTypes from 'prop-types';
3
3
  import clsx from 'clsx';
4
4
  import Divider from '@mui/material/Divider';
5
5
  import { PickersLayoutContentWrapper, PickersLayoutRoot, pickersLayoutClasses, usePickerLayout } from '../PickersLayout';
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- import { jsxs as _jsxs } from "react/jsx-runtime";
6
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
7
  /**
9
8
  * @ignore - internal component.
10
9
  */
@@ -16,8 +16,7 @@ import { ArrowDropDownIcon } from '../icons';
16
16
  import { PickersArrowSwitcher } from '../internals/components/PickersArrowSwitcher';
17
17
  import { usePreviousMonthDisabled, useNextMonthDisabled } from '../internals/hooks/date-helpers-hooks';
18
18
  import { getPickersCalendarHeaderUtilityClass, pickersCalendarHeaderClasses } from './pickersCalendarHeaderClasses';
19
- import { jsx as _jsx } from "react/jsx-runtime";
20
- import { jsxs as _jsxs } from "react/jsx-runtime";
19
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
20
  const useUtilityClasses = ownerState => {
22
21
  const {
23
22
  classes
@@ -5,8 +5,7 @@ import { styled, useThemeProps } from '@mui/material/styles';
5
5
  import { unstable_composeClasses as composeClasses } from '@mui/utils';
6
6
  import { pickersLayoutClasses, getPickersLayoutUtilityClass } from './pickersLayoutClasses';
7
7
  import usePickerLayout from './usePickerLayout';
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
- import { jsx as _jsx } from "react/jsx-runtime";
8
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
10
9
  const useUtilityClasses = ownerState => {
11
10
  const {
12
11
  isLandscape,
@@ -8,8 +8,7 @@ import composeClasses from '@mui/utils/composeClasses';
8
8
  import useForkRef from '@mui/utils/useForkRef';
9
9
  import { styled, useThemeProps } from '@mui/material/styles';
10
10
  import { getPickersSectionListUtilityClass, pickersSectionListClasses } from './pickersSectionListClasses';
11
- import { jsx as _jsx } from "react/jsx-runtime";
12
- import { jsxs as _jsxs } from "react/jsx-runtime";
11
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
12
  export const PickersSectionListRoot = styled('div', {
14
13
  name: 'MuiPickersSectionList',
15
14
  slot: 'Root',
@@ -13,8 +13,7 @@ import { useSlotProps } from '@mui/base/utils';
13
13
  import visuallyHidden from '@mui/utils/visuallyHidden';
14
14
  import { pickersInputBaseClasses, getPickersInputBaseUtilityClass } from './pickersInputBaseClasses';
15
15
  import { Unstable_PickersSectionList as PickersSectionList, Unstable_PickersSectionListRoot as PickersSectionListRoot, Unstable_PickersSectionListSection as PickersSectionListSection, Unstable_PickersSectionListSectionSeparator as PickersSectionListSectionSeparator, Unstable_PickersSectionListSectionContent as PickersSectionListSectionContent } from '../../PickersSectionList';
16
- import { jsx as _jsx } from "react/jsx-runtime";
17
- import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
18
17
  const round = value => Math.round(value * 1e5) / 1e5;
19
18
  export const PickersInputBaseRoot = styled('div', {
20
19
  name: 'MuiPickersInputBase',
@@ -11,8 +11,7 @@ import { pickersOutlinedInputClasses, getPickersOutlinedInputUtilityClass } from
11
11
  import Outline from './Outline';
12
12
  import { PickersInputBase } from '../PickersInputBase';
13
13
  import { PickersInputBaseRoot, PickersInputBaseSectionsContainer } from '../PickersInputBase/PickersInputBase';
14
- import { jsxs as _jsxs } from "react/jsx-runtime";
15
- import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
16
15
  const PickersOutlinedInputRoot = styled(PickersInputBaseRoot, {
17
16
  name: 'MuiPickersOutlinedInput',
18
17
  slot: 'Root',
@@ -16,8 +16,7 @@ import { getPickersTextFieldUtilityClass } from './pickersTextFieldClasses';
16
16
  import { PickersOutlinedInput } from './PickersOutlinedInput';
17
17
  import { PickersFilledInput } from './PickersFilledInput';
18
18
  import { PickersInput } from './PickersInput';
19
- import { jsx as _jsx } from "react/jsx-runtime";
20
- import { jsxs as _jsxs } from "react/jsx-runtime";
19
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
20
  const VARIANT_COMPONENT = {
22
21
  standard: PickersInput,
23
22
  filled: PickersFilledInput,
@@ -9,8 +9,7 @@ import { useLocaleText, useUtils } from '../internals/hooks/useUtils';
9
9
  import { CLOCK_HOUR_WIDTH, getHours, getMinutes } from './shared';
10
10
  import { getClockUtilityClass } from './clockClasses';
11
11
  import { formatMeridiem } from '../internals/utils/date-utils';
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
13
  const useUtilityClasses = ownerState => {
15
14
  const {
16
15
  classes
@@ -18,7 +18,7 @@ interface GetHourNumbersOptions<TDate extends PickerValidDate> {
18
18
  * @ignore - internal component.
19
19
  */
20
20
  export declare const getHourNumbers: <TDate extends PickerValidDate>({ ampm, value, getClockNumberText, isDisabled, selectedId, utils, }: GetHourNumbersOptions<TDate>) => React.JSX.Element[];
21
- export declare const getMinutesNumbers: <TDate extends PickerValidDate>({ utils, value, isDisabled, getClockNumberText, selectedId, }: Omit<GetHourNumbersOptions<TDate>, "value" | "ampm"> & {
21
+ export declare const getMinutesNumbers: <TDate extends PickerValidDate>({ utils, value, isDisabled, getClockNumberText, selectedId, }: Omit<GetHourNumbersOptions<TDate>, 'ampm' | 'value'> & {
22
22
  value: number;
23
23
  }) => React.JSX.Element[];
24
24
  export {};
@@ -18,8 +18,7 @@ import { getHourNumbers, getMinutesNumbers } from './ClockNumbers';
18
18
  import { useControlledValueWithTimezone } from '../internals/hooks/useValueWithTimezone';
19
19
  import { singleItemValueManager } from '../internals/utils/valueManagers';
20
20
  import { useClockReferenceDate } from '../internals/hooks/useClockReferenceDate';
21
- import { jsx as _jsx } from "react/jsx-runtime";
22
- import { jsxs as _jsxs } from "react/jsx-runtime";
21
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
22
  const useUtilityClasses = ownerState => {
24
23
  const {
25
24
  classes
@@ -14,8 +14,7 @@ import { useLocaleText, useUtils } from '../internals/hooks/useUtils';
14
14
  import { useMeridiemMode } from '../internals/hooks/date-helpers-hooks';
15
15
  import { getTimePickerToolbarUtilityClass, timePickerToolbarClasses } from './timePickerToolbarClasses';
16
16
  import { formatMeridiem } from '../internals/utils/date-utils';
17
- import { jsx as _jsx } from "react/jsx-runtime";
18
- import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
19
18
  const useUtilityClasses = ownerState => {
20
19
  const {
21
20
  theme,
@@ -8,8 +8,7 @@ import MuiIconButton from '@mui/material/IconButton';
8
8
  import InputAdornment from '@mui/material/InputAdornment';
9
9
  import { ClearIcon } from '../icons';
10
10
  import { useLocaleText } from '../internals/hooks/useUtils';
11
- import { jsx as _jsx } from "react/jsx-runtime";
12
- import { jsxs as _jsxs } from "react/jsx-runtime";
11
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
12
  export const useClearableField = props => {
14
13
  const localeText = useLocaleText();
15
14
  const {
package/icons/index.js CHANGED
@@ -4,8 +4,7 @@ import * as React from 'react';
4
4
  /**
5
5
  * @ignore - internal component.
6
6
  */
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
8
  export const ArrowDropDownIcon = createSvgIcon( /*#__PURE__*/_jsx("path", {
10
9
  d: "M7 10l5 5 5-5z"
11
10
  }), 'ArrowDropDown');
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v7.2.0
2
+ * @mui/x-date-pickers v7.3.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -12,8 +12,7 @@ import { useSlotProps } from '@mui/base/utils';
12
12
  import IconButton from '@mui/material/IconButton';
13
13
  import { ArrowLeftIcon, ArrowRightIcon } from '../../../icons';
14
14
  import { getPickersArrowSwitcherUtilityClass } from './pickersArrowSwitcherClasses';
15
- import { jsx as _jsx } from "react/jsx-runtime";
16
- import { jsxs as _jsxs } from "react/jsx-runtime";
15
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
16
  const PickersArrowSwitcherRoot = styled('div', {
18
17
  name: 'MuiPickersArrowSwitcher',
19
18
  slot: 'Root',
@@ -7,8 +7,7 @@ import Typography from '@mui/material/Typography';
7
7
  import { styled, useThemeProps } from '@mui/material/styles';
8
8
  import { unstable_composeClasses as composeClasses } from '@mui/utils';
9
9
  import { getPickersToolbarUtilityClass } from './pickersToolbarClasses';
10
- import { jsx as _jsx } from "react/jsx-runtime";
11
- import { jsxs as _jsxs } from "react/jsx-runtime";
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
11
  const useUtilityClasses = ownerState => {
13
12
  const {
14
13
  classes,
@@ -4,8 +4,7 @@ import Stack, { stackClasses } from '@mui/material/Stack';
4
4
  import Typography from '@mui/material/Typography';
5
5
  import { textFieldClasses } from '@mui/material/TextField';
6
6
  import { pickersTextFieldClasses } from '@mui/x-date-pickers/PickersTextField';
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
8
  const getChildTypeFromChildName = childName => {
10
9
  if (childName.match(/^([A-Za-z]+)Range(Calendar|Clock)$/)) {
11
10
  return 'multi-panel-UI-view';
@@ -4,16 +4,16 @@ import { PickerValidDate } from '../../models';
4
4
  export interface UseDefaultizedDateFieldBaseProps<TDate extends PickerValidDate> extends BaseDateValidationProps<TDate> {
5
5
  format?: string;
6
6
  }
7
- export declare const useDefaultizedDateField: <TDate extends PickerValidDate, TKnownProps extends UseDefaultizedDateFieldBaseProps<TDate>, TAllProps extends {}>(props: TKnownProps & TAllProps) => TAllProps & Omit<TKnownProps, keyof UseDefaultizedDateFieldBaseProps<any>> & Required<Pick<TKnownProps, keyof UseDefaultizedDateFieldBaseProps<any>>>;
7
+ export declare const useDefaultizedDateField: <TDate extends PickerValidDate, TKnownProps extends UseDefaultizedDateFieldBaseProps<TDate>, TAllProps extends {}>(props: TKnownProps & TAllProps) => TAllProps & DefaultizedProps<TKnownProps, keyof UseDefaultizedDateFieldBaseProps<any>>;
8
8
  export interface UseDefaultizedTimeFieldBaseProps extends BaseTimeValidationProps {
9
9
  format?: string;
10
10
  }
11
11
  export declare const useDefaultizedTimeField: <TDate extends PickerValidDate, TKnownProps extends UseDefaultizedTimeFieldBaseProps & {
12
12
  ampm?: boolean | undefined;
13
- }, TAllProps extends {}>(props: TKnownProps & TAllProps) => TAllProps & Omit<TKnownProps, keyof UseDefaultizedTimeFieldBaseProps> & Required<Pick<TKnownProps, keyof UseDefaultizedTimeFieldBaseProps>>;
13
+ }, TAllProps extends {}>(props: TKnownProps & TAllProps) => TAllProps & DefaultizedProps<TKnownProps, keyof UseDefaultizedTimeFieldBaseProps>;
14
14
  export interface UseDefaultizedDateTimeFieldBaseProps<TDate extends PickerValidDate> extends BaseDateValidationProps<TDate>, BaseTimeValidationProps {
15
15
  format?: string;
16
16
  }
17
17
  export declare const useDefaultizedDateTimeField: <TDate extends PickerValidDate, TKnownProps extends UseDefaultizedDateTimeFieldBaseProps<TDate> & DateTimeValidationProps<TDate> & TimeValidationProps<TDate> & {
18
18
  ampm?: boolean | undefined;
19
- }, TAllProps extends {}>(props: TKnownProps & TAllProps) => TAllProps & Omit<TKnownProps, keyof UseDefaultizedDateTimeFieldBaseProps<any>> & Required<Pick<TKnownProps, keyof UseDefaultizedDateTimeFieldBaseProps<any>>>;
19
+ }, TAllProps extends {}>(props: TKnownProps & TAllProps) => TAllProps & DefaultizedProps<TKnownProps, keyof UseDefaultizedDateTimeFieldBaseProps<any>>;
@@ -2,7 +2,7 @@ import { MuiPickersAdapter, PickersTimezone, PickerValidDate } from '../../model
2
2
  export declare const useClockReferenceDate: <TDate extends PickerValidDate, TProps extends {}>({ value, referenceDate: referenceDateProp, utils, props, timezone, }: {
3
3
  value: TDate;
4
4
  referenceDate: TDate | undefined;
5
- utils: MuiPickersAdapter<TDate, any>;
5
+ utils: MuiPickersAdapter<TDate>;
6
6
  props: TProps;
7
7
  timezone: PickersTimezone;
8
8
  }) => TDate;
@@ -14,8 +14,7 @@ import { useUtils } from '../useUtils';
14
14
  import { usePicker } from '../usePicker';
15
15
  import { LocalizationProvider } from '../../../LocalizationProvider';
16
16
  import { PickersLayout } from '../../../PickersLayout';
17
- import { jsx as _jsx } from "react/jsx-runtime";
18
- import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
19
18
  /**
20
19
  * Hook managing all the single-date desktop pickers:
21
20
  * - DesktopDatePicker