@mui/x-date-pickers 7.0.0-alpha.8 → 7.0.0-alpha.9

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 (240) hide show
  1. package/AdapterLuxon/AdapterLuxon.d.ts +1 -1
  2. package/AdapterLuxon/AdapterLuxon.js +4 -12
  3. package/CHANGELOG.md +379 -2
  4. package/DatePicker/DatePicker.js +0 -3
  5. package/DatePicker/DatePickerToolbar.js +0 -3
  6. package/DateTimePicker/DateTimePicker.js +0 -3
  7. package/DateTimePicker/DateTimePickerToolbar.js +0 -3
  8. package/DesktopDatePicker/DesktopDatePicker.js +0 -3
  9. package/DesktopDateTimePicker/DesktopDateTimePicker.js +0 -3
  10. package/DesktopTimePicker/DesktopTimePicker.js +0 -3
  11. package/MobileDatePicker/MobileDatePicker.js +0 -3
  12. package/MobileDateTimePicker/MobileDateTimePicker.js +0 -3
  13. package/MobileTimePicker/MobileTimePicker.js +0 -3
  14. package/MonthCalendar/MonthCalendar.js +0 -3
  15. package/MonthCalendar/MonthCalendar.types.d.ts +0 -3
  16. package/PickersCalendarHeader/PickersCalendarHeader.js +0 -3
  17. package/PickersCalendarHeader/PickersCalendarHeader.types.d.ts +0 -3
  18. package/PickersSectionList/PickersSectionList.js +6 -1
  19. package/PickersTextField/PickersFilledInput/PickersFilledInput.d.ts +11 -0
  20. package/{internals/components/PickersInput → PickersTextField/PickersFilledInput}/PickersFilledInput.js +98 -25
  21. package/PickersTextField/PickersFilledInput/index.d.ts +4 -0
  22. package/PickersTextField/PickersFilledInput/index.js +2 -0
  23. package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.ts +23 -0
  24. package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.js +8 -0
  25. package/PickersTextField/PickersInput/PickersInput.d.ts +10 -0
  26. package/PickersTextField/PickersInput/PickersInput.js +196 -0
  27. package/{internals/components → PickersTextField}/PickersInput/index.d.ts +2 -2
  28. package/PickersTextField/PickersInput/index.js +2 -0
  29. package/PickersTextField/PickersInput/pickersInputClasses.d.ts +22 -0
  30. package/PickersTextField/PickersInput/pickersInputClasses.js +8 -0
  31. package/PickersTextField/PickersInputBase/PickersInputBase.d.ts +16 -0
  32. package/{internals/components/PickersInput/PickersInput.js → PickersTextField/PickersInputBase/PickersInputBase.js} +106 -27
  33. package/{internals/components/PickersInput/PickersInput.types.d.ts → PickersTextField/PickersInputBase/PickersInputBase.types.d.ts} +3 -13
  34. package/PickersTextField/PickersInputBase/index.d.ts +4 -0
  35. package/PickersTextField/PickersInputBase/index.js +2 -0
  36. package/PickersTextField/PickersInputBase/pickersInputBaseClasses.d.ts +31 -0
  37. package/PickersTextField/PickersInputBase/pickersInputBaseClasses.js +6 -0
  38. package/{internals/components/PickersInput → PickersTextField/PickersOutlinedInput}/Outline.d.ts +3 -0
  39. package/{modern/internals/components/PickersInput → PickersTextField/PickersOutlinedInput}/Outline.js +5 -1
  40. package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.d.ts +10 -0
  41. package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.js +190 -0
  42. package/PickersTextField/PickersOutlinedInput/index.d.ts +4 -0
  43. package/PickersTextField/PickersOutlinedInput/index.js +2 -0
  44. package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.ts +22 -0
  45. package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.js +8 -0
  46. package/PickersTextField/PickersTextField.d.ts +3 -0
  47. package/PickersTextField/PickersTextField.js +258 -0
  48. package/{internals/components/PickersTextField → PickersTextField}/PickersTextField.types.d.ts +5 -2
  49. package/PickersTextField/index.d.ts +8 -0
  50. package/PickersTextField/index.js +6 -0
  51. package/PickersTextField/package.json +6 -0
  52. package/README.md +1 -1
  53. package/StaticDatePicker/StaticDatePicker.js +0 -3
  54. package/StaticDateTimePicker/StaticDateTimePicker.js +0 -3
  55. package/StaticTimePicker/StaticTimePicker.js +0 -3
  56. package/TimePicker/TimePicker.js +0 -3
  57. package/TimePicker/TimePickerToolbar.js +0 -3
  58. package/YearCalendar/YearCalendar.js +0 -3
  59. package/YearCalendar/YearCalendar.types.d.ts +0 -3
  60. package/index.d.ts +2 -1
  61. package/index.js +3 -2
  62. package/internals/hooks/useField/useField.js +6 -4
  63. package/internals/hooks/useField/useField.types.d.ts +4 -2
  64. package/internals/hooks/useField/useField.utils.d.ts +19 -9
  65. package/internals/hooks/useField/useField.utils.js +68 -21
  66. package/internals/hooks/useField/useFieldCharacterEditing.d.ts +2 -1
  67. package/internals/hooks/useField/useFieldCharacterEditing.js +12 -8
  68. package/internals/hooks/useField/useFieldState.d.ts +1 -0
  69. package/internals/hooks/useField/useFieldState.js +9 -7
  70. package/internals/models/props/basePickerProps.d.ts +0 -3
  71. package/internals/models/props/toolbar.d.ts +0 -3
  72. package/internals/utils/valueManagers.js +2 -2
  73. package/legacy/AdapterLuxon/AdapterLuxon.js +4 -12
  74. package/legacy/DatePicker/DatePicker.js +0 -3
  75. package/legacy/DatePicker/DatePickerToolbar.js +0 -3
  76. package/legacy/DateTimePicker/DateTimePicker.js +0 -3
  77. package/legacy/DateTimePicker/DateTimePickerToolbar.js +0 -3
  78. package/legacy/DesktopDatePicker/DesktopDatePicker.js +0 -3
  79. package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +0 -3
  80. package/legacy/DesktopTimePicker/DesktopTimePicker.js +0 -3
  81. package/legacy/MobileDatePicker/MobileDatePicker.js +0 -3
  82. package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +0 -3
  83. package/legacy/MobileTimePicker/MobileTimePicker.js +0 -3
  84. package/legacy/MonthCalendar/MonthCalendar.js +0 -3
  85. package/legacy/PickersCalendarHeader/PickersCalendarHeader.js +0 -3
  86. package/legacy/PickersSectionList/PickersSectionList.js +6 -1
  87. package/legacy/{internals/components/PickersInput → PickersTextField/PickersFilledInput}/PickersFilledInput.js +99 -26
  88. package/legacy/PickersTextField/PickersFilledInput/index.js +2 -0
  89. package/legacy/PickersTextField/PickersFilledInput/pickersFilledInputClasses.js +8 -0
  90. package/legacy/PickersTextField/PickersInput/PickersInput.js +190 -0
  91. package/legacy/PickersTextField/PickersInput/index.js +2 -0
  92. package/legacy/PickersTextField/PickersInput/pickersInputClasses.js +8 -0
  93. package/legacy/{internals/components/PickersInput/PickersInput.js → PickersTextField/PickersInputBase/PickersInputBase.js} +106 -27
  94. package/legacy/PickersTextField/PickersInputBase/index.js +2 -0
  95. package/legacy/PickersTextField/PickersInputBase/pickersInputBaseClasses.js +6 -0
  96. package/legacy/{internals/components/PickersInput → PickersTextField/PickersOutlinedInput}/Outline.js +7 -1
  97. package/legacy/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.js +183 -0
  98. package/legacy/PickersTextField/PickersOutlinedInput/index.js +2 -0
  99. package/legacy/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.js +8 -0
  100. package/legacy/{internals/components/PickersTextField → PickersTextField}/PickersTextField.js +128 -8
  101. package/legacy/PickersTextField/index.js +6 -0
  102. package/legacy/StaticDatePicker/StaticDatePicker.js +0 -3
  103. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +0 -3
  104. package/legacy/StaticTimePicker/StaticTimePicker.js +0 -3
  105. package/legacy/TimePicker/TimePicker.js +0 -3
  106. package/legacy/TimePicker/TimePickerToolbar.js +0 -3
  107. package/legacy/YearCalendar/YearCalendar.js +0 -3
  108. package/legacy/index.js +3 -2
  109. package/legacy/internals/hooks/useField/useField.js +6 -4
  110. package/legacy/internals/hooks/useField/useField.utils.js +71 -20
  111. package/legacy/internals/hooks/useField/useFieldCharacterEditing.js +12 -8
  112. package/legacy/internals/hooks/useField/useFieldState.js +15 -11
  113. package/legacy/internals/utils/valueManagers.js +2 -2
  114. package/modern/AdapterLuxon/AdapterLuxon.js +3 -11
  115. package/modern/DatePicker/DatePicker.js +0 -3
  116. package/modern/DatePicker/DatePickerToolbar.js +0 -3
  117. package/modern/DateTimePicker/DateTimePicker.js +0 -3
  118. package/modern/DateTimePicker/DateTimePickerToolbar.js +0 -3
  119. package/modern/DesktopDatePicker/DesktopDatePicker.js +0 -3
  120. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +0 -3
  121. package/modern/DesktopTimePicker/DesktopTimePicker.js +0 -3
  122. package/modern/MobileDatePicker/MobileDatePicker.js +0 -3
  123. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +0 -3
  124. package/modern/MobileTimePicker/MobileTimePicker.js +0 -3
  125. package/modern/MonthCalendar/MonthCalendar.js +0 -3
  126. package/modern/PickersCalendarHeader/PickersCalendarHeader.js +0 -3
  127. package/modern/PickersSectionList/PickersSectionList.js +6 -1
  128. package/modern/{internals/components/PickersInput → PickersTextField/PickersFilledInput}/PickersFilledInput.js +98 -25
  129. package/modern/PickersTextField/PickersFilledInput/index.js +2 -0
  130. package/modern/PickersTextField/PickersFilledInput/pickersFilledInputClasses.js +8 -0
  131. package/modern/PickersTextField/PickersInput/PickersInput.js +196 -0
  132. package/modern/PickersTextField/PickersInput/index.js +2 -0
  133. package/modern/PickersTextField/PickersInput/pickersInputClasses.js +8 -0
  134. package/modern/{internals/components/PickersInput/PickersInput.js → PickersTextField/PickersInputBase/PickersInputBase.js} +106 -27
  135. package/modern/PickersTextField/PickersInputBase/index.js +2 -0
  136. package/modern/PickersTextField/PickersInputBase/pickersInputBaseClasses.js +6 -0
  137. package/{internals/components/PickersInput → modern/PickersTextField/PickersOutlinedInput}/Outline.js +5 -1
  138. package/modern/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.js +190 -0
  139. package/modern/PickersTextField/PickersOutlinedInput/index.js +2 -0
  140. package/modern/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.js +8 -0
  141. package/modern/PickersTextField/PickersTextField.js +258 -0
  142. package/modern/PickersTextField/index.js +6 -0
  143. package/modern/StaticDatePicker/StaticDatePicker.js +0 -3
  144. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +0 -3
  145. package/modern/StaticTimePicker/StaticTimePicker.js +0 -3
  146. package/modern/TimePicker/TimePicker.js +0 -3
  147. package/modern/TimePicker/TimePickerToolbar.js +0 -3
  148. package/modern/YearCalendar/YearCalendar.js +0 -3
  149. package/modern/index.js +3 -2
  150. package/modern/internals/hooks/useField/useField.js +5 -3
  151. package/modern/internals/hooks/useField/useField.utils.js +68 -21
  152. package/modern/internals/hooks/useField/useFieldCharacterEditing.js +12 -8
  153. package/modern/internals/hooks/useField/useFieldState.js +9 -7
  154. package/modern/internals/utils/valueManagers.js +2 -2
  155. package/node/AdapterLuxon/AdapterLuxon.js +3 -11
  156. package/node/DatePicker/DatePicker.js +0 -3
  157. package/node/DatePicker/DatePickerToolbar.js +0 -3
  158. package/node/DateTimePicker/DateTimePicker.js +0 -3
  159. package/node/DateTimePicker/DateTimePickerToolbar.js +0 -3
  160. package/node/DesktopDatePicker/DesktopDatePicker.js +0 -3
  161. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +0 -3
  162. package/node/DesktopTimePicker/DesktopTimePicker.js +0 -3
  163. package/node/MobileDatePicker/MobileDatePicker.js +0 -3
  164. package/node/MobileDateTimePicker/MobileDateTimePicker.js +0 -3
  165. package/node/MobileTimePicker/MobileTimePicker.js +0 -3
  166. package/node/MonthCalendar/MonthCalendar.js +0 -3
  167. package/node/PickersCalendarHeader/PickersCalendarHeader.js +0 -3
  168. package/node/PickersSectionList/PickersSectionList.js +6 -1
  169. package/node/{internals/components/PickersInput → PickersTextField/PickersFilledInput}/PickersFilledInput.js +102 -30
  170. package/node/PickersTextField/PickersFilledInput/index.js +25 -0
  171. package/node/PickersTextField/PickersFilledInput/pickersFilledInputClasses.js +16 -0
  172. package/node/PickersTextField/PickersInput/PickersInput.js +204 -0
  173. package/node/{internals/components → PickersTextField}/PickersInput/index.js +0 -7
  174. package/node/PickersTextField/PickersInput/pickersInputClasses.js +16 -0
  175. package/node/{internals/components/PickersInput/PickersInput.js → PickersTextField/PickersInputBase/PickersInputBase.js} +105 -27
  176. package/node/PickersTextField/PickersInputBase/index.js +25 -0
  177. package/node/PickersTextField/PickersInputBase/pickersInputBaseClasses.js +14 -0
  178. package/node/{internals/components/PickersInput → PickersTextField/PickersOutlinedInput}/Outline.js +5 -1
  179. package/node/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.js +197 -0
  180. package/node/PickersTextField/PickersOutlinedInput/index.js +25 -0
  181. package/node/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.js +16 -0
  182. package/node/{internals/components/PickersTextField → PickersTextField}/PickersTextField.js +128 -9
  183. package/node/PickersTextField/index.js +78 -0
  184. package/node/StaticDatePicker/StaticDatePicker.js +0 -3
  185. package/node/StaticDateTimePicker/StaticDateTimePicker.js +0 -3
  186. package/node/StaticTimePicker/StaticTimePicker.js +0 -3
  187. package/node/TimePicker/TimePicker.js +0 -3
  188. package/node/TimePicker/TimePickerToolbar.js +0 -3
  189. package/node/YearCalendar/YearCalendar.js +0 -3
  190. package/node/index.js +17 -5
  191. package/node/internals/hooks/useField/useField.js +5 -3
  192. package/node/internals/hooks/useField/useField.utils.js +73 -22
  193. package/node/internals/hooks/useField/useFieldCharacterEditing.js +11 -7
  194. package/node/internals/hooks/useField/useFieldState.js +8 -6
  195. package/node/internals/utils/valueManagers.js +2 -2
  196. package/package.json +7 -7
  197. package/themeAugmentation/components.d.ts +26 -0
  198. package/themeAugmentation/overrides.d.ts +16 -0
  199. package/themeAugmentation/props.d.ts +16 -0
  200. package/internals/components/PickersInput/PickersFilledInput.d.ts +0 -3
  201. package/internals/components/PickersInput/PickersInput.d.ts +0 -13
  202. package/internals/components/PickersInput/PickersOutlinedInput.d.ts +0 -3
  203. package/internals/components/PickersInput/PickersOutlinedInput.js +0 -117
  204. package/internals/components/PickersInput/PickersStandardInput.d.ts +0 -3
  205. package/internals/components/PickersInput/PickersStandardInput.js +0 -123
  206. package/internals/components/PickersInput/index.js +0 -3
  207. package/internals/components/PickersInput/pickersInputClasses.d.ts +0 -84
  208. package/internals/components/PickersInput/pickersInputClasses.js +0 -18
  209. package/internals/components/PickersTextField/PickersTextField.d.ts +0 -2
  210. package/internals/components/PickersTextField/PickersTextField.js +0 -138
  211. package/internals/components/PickersTextField/index.d.ts +0 -1
  212. package/internals/components/PickersTextField/index.js +0 -1
  213. package/legacy/internals/components/PickersInput/PickersOutlinedInput.js +0 -110
  214. package/legacy/internals/components/PickersInput/PickersStandardInput.js +0 -117
  215. package/legacy/internals/components/PickersInput/index.js +0 -3
  216. package/legacy/internals/components/PickersInput/pickersInputClasses.js +0 -18
  217. package/legacy/internals/components/PickersTextField/index.js +0 -1
  218. package/modern/internals/components/PickersInput/PickersOutlinedInput.js +0 -117
  219. package/modern/internals/components/PickersInput/PickersStandardInput.js +0 -123
  220. package/modern/internals/components/PickersInput/index.js +0 -3
  221. package/modern/internals/components/PickersInput/pickersInputClasses.js +0 -18
  222. package/modern/internals/components/PickersTextField/PickersTextField.js +0 -138
  223. package/modern/internals/components/PickersTextField/index.js +0 -1
  224. package/node/internals/components/PickersInput/PickersOutlinedInput.js +0 -125
  225. package/node/internals/components/PickersInput/PickersStandardInput.js +0 -132
  226. package/node/internals/components/PickersInput/pickersInputClasses.js +0 -29
  227. package/node/internals/components/PickersTextField/index.js +0 -12
  228. /package/{internals/components/PickersInput/PickersInput.types.js → PickersTextField/PickersInputBase/PickersInputBase.types.js} +0 -0
  229. /package/{internals/components/PickersTextField → PickersTextField}/PickersTextField.types.js +0 -0
  230. /package/{internals/components/PickersTextField → PickersTextField}/pickersTextFieldClasses.d.ts +0 -0
  231. /package/{internals/components/PickersTextField → PickersTextField}/pickersTextFieldClasses.js +0 -0
  232. /package/legacy/{internals/components/PickersInput/PickersInput.types.js → PickersTextField/PickersInputBase/PickersInputBase.types.js} +0 -0
  233. /package/legacy/{internals/components/PickersTextField → PickersTextField}/PickersTextField.types.js +0 -0
  234. /package/legacy/{internals/components/PickersTextField → PickersTextField}/pickersTextFieldClasses.js +0 -0
  235. /package/modern/{internals/components/PickersInput/PickersInput.types.js → PickersTextField/PickersInputBase/PickersInputBase.types.js} +0 -0
  236. /package/modern/{internals/components/PickersTextField → PickersTextField}/PickersTextField.types.js +0 -0
  237. /package/modern/{internals/components/PickersTextField → PickersTextField}/pickersTextFieldClasses.js +0 -0
  238. /package/node/{internals/components/PickersInput/PickersInput.types.js → PickersTextField/PickersInputBase/PickersInputBase.types.js} +0 -0
  239. /package/node/{internals/components/PickersTextField → PickersTextField}/PickersTextField.types.js +0 -0
  240. /package/node/{internals/components/PickersTextField → PickersTextField}/pickersTextFieldClasses.js +0 -0
@@ -94,6 +94,6 @@ export declare class AdapterLuxon implements MuiPickersAdapter<DateTime, string>
94
94
  setMilliseconds: (value: DateTime, milliseconds: number) => DateTime<boolean>;
95
95
  getDaysInMonth: (value: DateTime) => import("luxon").PossibleDaysInMonth;
96
96
  getWeekArray: (value: DateTime) => DateTime<boolean>[][];
97
- getWeekNumber: (value: DateTime) => any;
97
+ getWeekNumber: (value: DateTime) => number;
98
98
  getYearRange: ([start, end]: [DateTime, DateTime]) => DateTime<boolean>[];
99
99
  }
@@ -338,10 +338,7 @@ export class AdapterLuxon {
338
338
  return value.startOf('month');
339
339
  };
340
340
  this.startOfWeek = value => {
341
- return value.startOf('week',
342
- // TODO: remove when `@types/luxon` add support for the parameter.
343
- // @ts-ignore
344
- {
341
+ return value.startOf('week', {
345
342
  useLocaleWeeks: true
346
343
  });
347
344
  };
@@ -355,10 +352,7 @@ export class AdapterLuxon {
355
352
  return value.endOf('month');
356
353
  };
357
354
  this.endOfWeek = value => {
358
- return value.endOf('week',
359
- // TODO: remove when `@types/luxon` add support for the parameter.
360
- // @ts-ignore
361
- {
355
+ return value.endOf('week', {
362
356
  useLocaleWeeks: true
363
357
  });
364
358
  };
@@ -480,10 +474,8 @@ export class AdapterLuxon {
480
474
  return weeks;
481
475
  };
482
476
  this.getWeekNumber = value => {
483
- var _value$localeWeekNumb;
484
- // TODO: remove when `@types/luxon` add support for the parameter.
485
- // @ts-ignore
486
- return (_value$localeWeekNumb = value.localeWeekNumber) != null ? _value$localeWeekNumb : value.weekNumber;
477
+ var _value$localWeekNumbe;
478
+ return (_value$localWeekNumbe = value.localWeekNumber) != null ? _value$localWeekNumbe : value.weekNumber;
487
479
  };
488
480
  this.getYearRange = ([start, end]) => {
489
481
  const startDate = this.startOfYear(start);
package/CHANGELOG.md CHANGED
@@ -3,6 +3,344 @@
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.0.0-alpha.9
7
+
8
+ _Jan 19, 2024_
9
+
10
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🎁 The Data Grid headers have been refactored to bring immense improvements to scrolling, state management, and overall performance of the grid.
13
+ - ⚙️ The Data Grid disabled column-specific features like filtering, sorting, grouping, etc. could now be accessed programmatically. See the related [docs](https://next.mui.com/x/react-data-grid/api-object/#access-the-disabled-column-features) section.
14
+ - 🚀 Uplift the `SimpleTreeView` customization examples (#11424) @noraleonte
15
+ - 🌍 Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11668) on the Data Grid @BCaspari
16
+ - 🐞 Bugfixes
17
+ - 💔 Bump `@mui/material` peer dependency for all packages (#11692) @LukasTy
18
+ The minimum required version of `@mui/material` is now `5.15.0`.
19
+
20
+ ### Data Grid
21
+
22
+ #### Breaking changes
23
+
24
+ - The `ariaV7` experimental flag has been removed and the Data Grid now uses the improved accessibility implementation by default.
25
+ If you were using the `ariaV7` flag, you can remove it from the `experimentalFeatures` prop:
26
+
27
+ ```diff
28
+ -<DataGrid experimentalFeatures={{ ariaV7: true }} />
29
+ +<DataGrid />
30
+ ```
31
+
32
+ The most notable changes that might affect your application or tests are:
33
+
34
+ - The `role="grid"` attribute along with related ARIA attributes are now applied to the inner `div` element instead of the root `div` element:
35
+
36
+ ```diff
37
+ -<div class="MuiDataGrid-root" role="grid" aria-colcount="5" aria-rowcount="101" aria-multiselectable="false">
38
+ +<div class="MuiDataGrid-root">
39
+ <div class="MuiDataGrid-toolbarContainer"></div>
40
+ - <div class="MuiDataGrid-main"></div>
41
+ + <div class="MuiDataGrid-main" role="grid" aria-colcount="5" aria-rowcount="101" aria-multiselectable="false"></div>
42
+ <div class="MuiDataGrid-footerContainer"></div>
43
+ </div>
44
+ ```
45
+
46
+ - When the [Tree data](https://next.mui.com/x/react-data-grid/tree-data/) feature is used, the grid role is now `role="treegrid"` instead of `role="grid"`.
47
+ - The Data Grid cells now have `role="gridcell"` instead of `role="cell"`.
48
+
49
+ - The buttons in toolbar composable components `GridToolbarColumnsButton`, `GridToolbarFilterButton`, `GridToolbarDensity`, and `GridToolbarExport` are now wrapped with a tooltip component and have a consistent interface. To override some props corresponding to the toolbar buttons or their corresponding tooltips, you can use the `slotProps` prop. Following is an example diff. See [Toolbar section](https://next.mui.com/x/react-data-grid/components/#toolbar) for more details.
50
+
51
+ ```diff
52
+ function CustomToolbar() {
53
+ return (
54
+ <GridToolbarContainer>
55
+ <GridToolbarColumnsButton />
56
+ <GridToolbarFilterButton
57
+ - title="Custom filter" // 🛑 This was previously forwarded to the tooltip component
58
+ + slotProps={{ tooltip: { title: 'Custom filter' } }} // ✅ This is the correct way now
59
+ />
60
+ <GridToolbarDensitySelector
61
+ - variant="outlined" // 🛑 This was previously forwarded to the button component
62
+ + slotProps={{ button: { variant: 'outlined' } }} // ✅ This is the correct way now
63
+ />
64
+ </GridToolbarContainer>
65
+ );
66
+ }
67
+ ```
68
+
69
+ - Column grouping is now enabled by default. The flag `columnGrouping` is no longer needed to be passed to the `experimentalFeatures` prop to enable it.
70
+
71
+ ```diff
72
+ -<DataGrid experimentalFeatures={{ columnGrouping: true }} />
73
+ +<DataGrid />
74
+ ```
75
+
76
+ - The column grouping API methods `getColumnGroupPath` and `getAllGroupDetails` are no longer prefixed with `unstable_`.
77
+
78
+ - The column grouping selectors `gridFocusColumnGroupHeaderSelector` and `gridTabIndexColumnGroupHeaderSelector` are no longer prefixed with `unstable_`.
79
+
80
+ - The disabled column specific features like `hiding`, `sorting`, `filtering`, `pinning`, `row grouping`, etc could now be controlled programmatically using `initialState`, respective controlled models, or the [API object](https://next.mui.com/x/react-data-grid/api-object/). See the related [docs](https://next.mui.com/x/react-data-grid/api-object/#access-the-disabled-column-features) section.
81
+
82
+ #### `@mui/x-data-grid@7.0.0-alpha.9`
83
+
84
+ - [DataGrid] Allow to filter non-filterable columns programmatically (#11538) @MBilalShafi
85
+ - [DataGrid] Allow to programmatically sort unsortable columns (#11512) @MBilalShafi
86
+ - [DataGrid] Fix incorrect default value for `filterModel.logicOperator` (#11673) @MBilalShafi
87
+ - [DataGrid] Make `column grouping` feature stable (#11698) @MBilalShafi
88
+ - [DataGrid] Remove the `ariaV7` experimental flag (#11428) @cherniavskii
89
+ - [DataGrid] Start the FAQ page (#11686) @MBilalShafi
90
+ - [DataGrid] Sticky headers (#10059) @romgrk
91
+ - [DataGrid] Wrap toolbar buttons with tooltip (#11357) @MBilalShafi
92
+ - [l10n] Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11668) @BCaspari
93
+
94
+ #### `@mui/x-data-grid-pro@7.0.0-alpha.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
95
+
96
+ Same changes as in `@mui/x-data-grid@7.0.0-alpha.9`, plus:
97
+
98
+ - [DataGridPro] Allow non-pinnable columns to be pinned programmatically (#11680) @MBilalShafi
99
+
100
+ #### `@mui/x-data-grid-premium@7.0.0-alpha.9` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
101
+
102
+ Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.9`, plus:
103
+
104
+ - [DataGridPremium] Allow aggregation to be applied for non-aggregable columns (#11574) @MBilalShafi
105
+ - [DataGridPremium] Allow programmatically grouping non-groupable columns (#11539) @MBilalShafi
106
+
107
+ ### Date Pickers
108
+
109
+ #### Breaking changes
110
+
111
+ - The `locales` export has been removed from the root of the packages.
112
+ If you were importing locales from the root, be sure to update it:
113
+
114
+ ```diff
115
+ -import { frFR } from '@mui/x-date-pickers';
116
+ +import { frFR } from '@mui/x-date-pickers/locales';
117
+ ```
118
+
119
+ #### `@mui/x-date-pickers@7.0.0-alpha.9`
120
+
121
+ - [fields] Make `PickersTextField` and its dependencies public (#11581) @flaviendelangle
122
+ - [fields] Support farsi digits (#11639) @flaviendelangle
123
+ - [pickers] Fix AdapterLuxon `getWeekNumber` behavior (#11697) @LukasTy
124
+ - [pickers] Stop root exporting `locales` (#11612) @LukasTy
125
+
126
+ #### `@mui/x-date-pickers-pro@7.0.0-alpha.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
127
+
128
+ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.9`.
129
+
130
+ ### Charts / `@mui/x-charts@7.0.0-alpha.9`
131
+
132
+ - [charts] Do not propagate `innerRadius` and `outerRadius` to the DOM (#11689) @alexfauquette
133
+ - [charts] Fix default `stackOffset` for `LineChart` (#11647) @alexfauquette
134
+ - [charts] Remove a TS ignore (#11688) @alexfauquette
135
+
136
+ ### Tree View
137
+
138
+ #### Breaking changes
139
+
140
+ - The `expandIcon` / `defaultExpandIcon` props, used to expand the children of a node (rendered when it is collapsed),
141
+ is now defined as a slot both on the Tree View and the Tree Item components.
142
+
143
+ If you were using the `ChevronRight` icon from `@mui/icons-material`,
144
+ you can stop passing it to your component because it is now the default value:
145
+
146
+ ```diff
147
+ -import ChevronRightIcon from '@mui/icons-material/ChevronRight';
148
+
149
+ <SimpleTreeView
150
+ - defaultExpandIcon={<ChevronRightIcon />}
151
+ >
152
+ {items}
153
+ </SimpleTreeView>
154
+ ```
155
+
156
+ If you were passing another icon to your Tree View component,
157
+ you need to use the new `expandIcon` slot on this component:
158
+
159
+ ```diff
160
+ <SimpleTreeView
161
+ - defaultExpandIcon={<MyCustomExpandIcon />}
162
+ + slots={{ expandIcon: MyCustomExpandIcon }}
163
+ >
164
+ {items}
165
+ </SimpleTreeView>
166
+ ```
167
+
168
+ If you were passing another icon to your Tree Item component,
169
+ you need to use the new `expandIcon` slot on this component:
170
+
171
+ ```diff
172
+ <SimpleTreeView>
173
+ <TreeItem
174
+ nodeId="1"
175
+ label="Node 1"
176
+ - expandIcon={<MyCustomExpandIcon />}
177
+ + slots={{ expandIcon: MyCustomExpandIcon }}
178
+ />
179
+ </SimpleTreeView>
180
+ ```
181
+
182
+ - The `collapseIcon` / `defaultCollapseIcon` props, used to collapse the children of a node (rendered when it is expanded),
183
+ is now defined as a slot both on the Tree View and the Tree Item components.
184
+
185
+ If you were using the `ExpandMore` icon from `@mui/icons-material`,
186
+ you can stop passing it to your component because it is now the default value:
187
+
188
+ ```diff
189
+ - import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
190
+
191
+ <SimpleTreeView
192
+ - defaultCollapseIcon={<ExpandMoreIcon />}
193
+ >
194
+ {items}
195
+ </SimpleTreeView>
196
+ ```
197
+
198
+ If you were passing another icon to your Tree View component,
199
+ you need to use the new `collapseIcon` slot on this component:
200
+
201
+ ```diff
202
+ <SimpleTreeView
203
+ - defaultCollapseIcon={<MyCustomCollapseIcon />}
204
+ + slots={{ collapseIcon: MyCustomCollapseIcon }}
205
+ >
206
+ {items}
207
+ </SimpleTreeView>
208
+ ```
209
+
210
+ If you were passing another icon to your Tree Item component,
211
+ you need to use the new `collapseIcon` slot on this component:
212
+
213
+ ```diff
214
+ <SimpleTreeView>
215
+ <TreeItem
216
+ nodeId="1"
217
+ label="Node 1"
218
+ - collapseIcon={<MyCustomCollapseIcon />}
219
+ + slots={{ collapseIcon: MyCustomCollapseIcon }}
220
+ />
221
+ </SimpleTreeView>
222
+ ```
223
+
224
+ - The `useTreeItem` hook has been renamed `useTreeItemState`.
225
+ This will help create a new headless version of the `TreeItem` component based on a future `useTreeItem` hook.
226
+
227
+ ```diff
228
+ -import { TreeItem, useTreeItem } from '@mui/x-tree-view/TreeItem';
229
+ +import { TreeItem, useTreeItemState } from '@mui/x-tree-view/TreeItem';
230
+
231
+ const CustomContent = React.forwardRef((props, ref) => {
232
+ - const { disabled } = useTreeItem(props.nodeId);
233
+ + const { disabled } = useTreeItemState(props.nodeId);
234
+
235
+ // Render some UI
236
+ });
237
+
238
+ function App() {
239
+ return (
240
+ <SimpleTreeView>
241
+ <TreeItem ContentComponent={CustomContent} />
242
+ </SimpleTreeView>
243
+ )
244
+ }
245
+ ```
246
+
247
+ - The `parentIcon` prop has been removed from the Tree View components.
248
+
249
+ If you were passing an icon to your Tree View component,
250
+ you can achieve the same behavior
251
+ by passing the same icon to both the `collapseIcon` and the `expandIcon` slots on this component:
252
+
253
+ ```diff
254
+ <SimpleTreeView
255
+ - defaultParentIcon={<MyCustomParentIcon />}
256
+ + slots={{ collapseIcon: MyCustomParentIcon, expandIcon: MyCustomParentIcon }}
257
+ >
258
+ {items}
259
+ </SimpleTreeView>
260
+ ```
261
+
262
+ - The `endIcon` / `defaultEndIcon` props, rendered next to an item without children,
263
+ is now defined as a slot both on the Tree View and the Tree Item components.
264
+
265
+ If you were passing an icon to your Tree View component,
266
+ you need to use the new `endIcon` slot on this component:
267
+
268
+ ```diff
269
+ <SimpleTreeView
270
+ - defaultEndIcon={<MyCustomEndIcon />}
271
+ + slots={{ endIcon: MyCustomEndIcon }}
272
+ >
273
+ {items}
274
+ </SimpleTreeView>
275
+ ```
276
+
277
+ If you were passing an icon to your Tree Item component,
278
+ you need to use the new `endIcon` slot on this component:
279
+
280
+ ```diff
281
+ <SimpleTreeView>
282
+ <TreeItem
283
+ nodeId="1"
284
+ label="Node 1"
285
+ - endIcon={<MyCustomEndIcon />}
286
+ + slots={{ endIcon: MyCustomEndIcon }}
287
+ />
288
+ </SimpleTreeView>
289
+ ```
290
+
291
+ - The `icon` prop, rendered next to an item without children,
292
+ is now defined as a slot on the Tree Item component.
293
+
294
+ If you were passing an icon to your Tree Item component,
295
+ you need to use the new `icon` slot on this component:
296
+
297
+ ```diff
298
+ <SimpleTreeView>
299
+ <TreeItem
300
+ nodeId="1"
301
+ label="Node 1"
302
+ - icon={<MyCustomIcon />}
303
+ + slots={{ icon: MyCustomIcon }}
304
+ />
305
+ </SimpleTreeView>
306
+ ```
307
+
308
+ #### `@mui/x-tree-view@7.0.0-alpha.9`
309
+
310
+ - [TreeView] Adjust expansion and selection docs (#11723) @noraleonte
311
+ - [TreeView] Improve plugin signature definition (#11665) @flaviendelangle
312
+ - [TreeView] Make each plugin responsible for its context value (#11623) @flaviendelangle
313
+ - [TreeView] Migrate remaining icon props to slots (#11713) @flaviendelangle
314
+ - [TreeView] Pass through `Theme` generic to variants (#11480) @dhulme
315
+ - [TreeView] Rename `useTreeItem` to `useTreeItemState` (#11712) @flaviendelangle
316
+ - [TreeView] Add `slots` and `slotProps` on the Tree View components (#11664) @flaviendelangle
317
+ - [TreeView] Explore a better plugin model API (#11567) @flaviendelangle
318
+
319
+ ### Docs
320
+
321
+ - [docs] Clean the pickers migration guide (#11694) @flaviendelangle
322
+ - [docs] Cleanup and fix Pickers Playground styling (#11700) @LukasTy
323
+ - [docs] First draft of the Tree View custom plugin doc (#11564) @flaviendelangle
324
+ - [docs] Fix Pickers migration syntax and diffs (#11695) @LukasTy
325
+ - [docs] Fix generated tree view API docs (#11737) @LukasTy
326
+ - [docs] Generate docs for Tree View slots (#11730) @flaviendelangle
327
+ - [docs] Improve codemod for v7 (#11650) @oliviertassinari
328
+ - [docs] Improve data grid `pageSizeOptions` prop documentation (#11682) @oliviertassinari
329
+ - [docs] Parse markdown on API docs demo titles (#11728) @LukasTy
330
+ - [docs] Remove the description from the `className` prop (#11693) @oliviertassinari
331
+ - [docs] Uplift `SimpleTreeView` customization examples (#11424) @noraleonte
332
+ - [docs] Uplift the Date Pickers playground (#11555) @danilo-leal
333
+
334
+ ### Core
335
+
336
+ - [core] Bump `@mui/material` peer dependency for all packages (#11692) @LukasTy
337
+ - [core] Make `karma` run in parallel (#11571) @romgrk
338
+ - [core] make `karma-parallel` run under a new command (#11716) @romgrk
339
+ - [code-infra] Migrate all prettier APIs to the async version (#11732) @Janpot
340
+ - [code-infra] Update the Babel macro path (#11479) @michaldudak
341
+ - [docs-infra] Enforce brand name rules (#11651) @oliviertassinari
342
+ - [test] Fix flaky Data Grid test (#11725) @cherniavskii
343
+
6
344
  ## 7.0.0-alpha.8
7
345
 
8
346
  _Jan 11, 2024_
@@ -103,8 +441,8 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
103
441
  id: 'node-1',
104
442
  label: 'Node 1',
105
443
  children: [
106
- { id: 'node-1-1', label: Node 1.1' },
107
- { id: 'node-1-2', label: Node 1.2' },
444
+ { id: 'node-1-1', label: 'Node 1.1' },
445
+ { id: 'node-1-2', label: 'Node 1.2' },
108
446
  ],
109
447
  },
110
448
  {
@@ -1119,10 +1457,20 @@ And if you need the exact same output you can apply the following transformation
1119
1457
  - The `adapter.toISO` method have been removed, you can directly use your date library:
1120
1458
 
1121
1459
  ```diff
1460
+ // For Day.js
1122
1461
  -const isoString = adapter.toISO(value);
1123
1462
  +const isoString = value.toISOString();
1463
+
1464
+ // For Luxon
1465
+ -const isoString = adapter.toISO(value);
1124
1466
  +const isoString = value.toUTC().toISO({ format: 'extended' });
1467
+
1468
+ // For DateFns
1469
+ -const isoString = adapter.toISO(value);
1125
1470
  +const isoString = dateFns.formatISO(value, { format: 'extended' });
1471
+
1472
+ // For Moment
1473
+ -const isoString = adapter.toISO(value);
1126
1474
  +const isoString = value.toISOString();
1127
1475
  ```
1128
1476
 
@@ -1424,6 +1772,35 @@ Here is an example of the renaming for the `<ChartsTooltip />` component.
1424
1772
  - [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
1425
1773
  - [license] Correctly throw errors (#10924) @oliviertassinari
1426
1774
 
1775
+ ## 6.19.1
1776
+
1777
+ _Jan 19, 2024_
1778
+
1779
+ We'd like to offer a big thanks to the 1 contributors who made this release possible. Here are some highlights ✨:
1780
+
1781
+ - 🌍 Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
1782
+ - 🐞 Bugfixes
1783
+
1784
+ ### Data Grid
1785
+
1786
+ #### `@mui/x-data-grid@6.19.1`
1787
+
1788
+ - [l10n] Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
1789
+
1790
+ #### `@mui/x-data-grid-pro@6.19.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1791
+
1792
+ Same changes as in `@mui/x-data-grid@6.19.1`.
1793
+
1794
+ #### `@mui/x-data-grid-premium@6.19.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1795
+
1796
+ Same changes as in `@mui/x-data-grid-pro@6.19.1`.
1797
+
1798
+ ### Charts / `@mui/x-charts@6.19.1`
1799
+
1800
+ - [charts] Add `arcLabelRadius` property (#11563) @alexfauquette
1801
+ - [charts] Do not propagate `innerRadius` and `outerRadius` to the DOM (#11719) @alexfauquette
1802
+ - [charts] Fix default `stackOffset` for `LineChart` (#11703) @alexfauquette
1803
+
1427
1804
  ## 6.19.0
1428
1805
 
1429
1806
  _Jan 11, 2024_
@@ -55,9 +55,6 @@ process.env.NODE_ENV !== "production" ? DatePicker.propTypes = {
55
55
  * - the `input` element if there is a field rendered.
56
56
  */
57
57
  autoFocus: PropTypes.bool,
58
- /**
59
- * Class name applied to the root element.
60
- */
61
58
  className: PropTypes.string,
62
59
  /**
63
60
  * If `true`, the popover or modal will close after submitting the full date.
@@ -93,9 +93,6 @@ process.env.NODE_ENV !== "production" ? DatePickerToolbar.propTypes = {
93
93
  // | To update them edit the TypeScript types and run "yarn proptypes" |
94
94
  // ----------------------------------------------------------------------
95
95
  classes: PropTypes.object,
96
- /**
97
- * className applied to the root component.
98
- */
99
96
  className: PropTypes.string,
100
97
  disabled: PropTypes.bool,
101
98
  /**
@@ -65,9 +65,6 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes = {
65
65
  * - the `input` element if there is a field rendered.
66
66
  */
67
67
  autoFocus: PropTypes.bool,
68
- /**
69
- * Class name applied to the root element.
70
- */
71
68
  className: PropTypes.string,
72
69
  /**
73
70
  * If `true`, the popover or modal will close after submitting the full date.
@@ -308,9 +308,6 @@ process.env.NODE_ENV !== "production" ? DateTimePickerToolbar.propTypes = {
308
308
  * Override or extend the styles applied to the component.
309
309
  */
310
310
  classes: PropTypes.object,
311
- /**
312
- * className applied to the root component.
313
- */
314
311
  className: PropTypes.string,
315
312
  disabled: PropTypes.bool,
316
313
  /**
@@ -80,9 +80,6 @@ DesktopDatePicker.propTypes = {
80
80
  * - the `input` element if there is a field rendered.
81
81
  */
82
82
  autoFocus: PropTypes.bool,
83
- /**
84
- * Class name applied to the root element.
85
- */
86
83
  className: PropTypes.string,
87
84
  /**
88
85
  * If `true`, the popover or modal will close after submitting the full date.
@@ -128,9 +128,6 @@ DesktopDateTimePicker.propTypes = {
128
128
  * - the `input` element if there is a field rendered.
129
129
  */
130
130
  autoFocus: PropTypes.bool,
131
- /**
132
- * Class name applied to the root element.
133
- */
134
131
  className: PropTypes.string,
135
132
  /**
136
133
  * If `true`, the popover or modal will close after submitting the full date.
@@ -111,9 +111,6 @@ DesktopTimePicker.propTypes = {
111
111
  * - the `input` element if there is a field rendered.
112
112
  */
113
113
  autoFocus: PropTypes.bool,
114
- /**
115
- * Class name applied to the root element.
116
- */
117
114
  className: PropTypes.string,
118
115
  /**
119
116
  * If `true`, the popover or modal will close after submitting the full date.
@@ -77,9 +77,6 @@ MobileDatePicker.propTypes = {
77
77
  * - the `input` element if there is a field rendered.
78
78
  */
79
79
  autoFocus: PropTypes.bool,
80
- /**
81
- * Class name applied to the root element.
82
- */
83
80
  className: PropTypes.string,
84
81
  /**
85
82
  * If `true`, the popover or modal will close after submitting the full date.
@@ -97,9 +97,6 @@ MobileDateTimePicker.propTypes = {
97
97
  * - the `input` element if there is a field rendered.
98
98
  */
99
99
  autoFocus: PropTypes.bool,
100
- /**
101
- * Class name applied to the root element.
102
- */
103
100
  className: PropTypes.string,
104
101
  /**
105
102
  * If `true`, the popover or modal will close after submitting the full date.
@@ -90,9 +90,6 @@ MobileTimePicker.propTypes = {
90
90
  * - the `input` element if there is a field rendered.
91
91
  */
92
92
  autoFocus: PropTypes.bool,
93
- /**
94
- * Class name applied to the root element.
95
- */
96
93
  className: PropTypes.string,
97
94
  /**
98
95
  * If `true`, the popover or modal will close after submitting the full date.
@@ -239,9 +239,6 @@ process.env.NODE_ENV !== "production" ? MonthCalendar.propTypes = {
239
239
  * Override or extend the styles applied to the component.
240
240
  */
241
241
  classes: PropTypes.object,
242
- /**
243
- * className applied to the root element.
244
- */
245
242
  className: PropTypes.string,
246
243
  /**
247
244
  * The default selected value.
@@ -12,9 +12,6 @@ export interface ExportedMonthCalendarProps {
12
12
  }
13
13
  export interface MonthCalendarProps<TDate> extends ExportedMonthCalendarProps, MonthValidationProps<TDate>, BaseDateValidationProps<TDate>, TimezoneProps {
14
14
  autoFocus?: boolean;
15
- /**
16
- * className applied to the root element.
17
- */
18
15
  className?: string;
19
16
  /**
20
17
  * Override or extend the styles applied to the component.
@@ -231,9 +231,6 @@ process.env.NODE_ENV !== "production" ? PickersCalendarHeader.propTypes = {
231
231
  * Override or extend the styles applied to the component.
232
232
  */
233
233
  classes: PropTypes.object,
234
- /**
235
- * className applied to the root element.
236
- */
237
234
  className: PropTypes.string,
238
235
  currentMonth: PropTypes.any.isRequired,
239
236
  disabled: PropTypes.bool,
@@ -50,9 +50,6 @@ export interface PickersCalendarHeaderProps<TDate> extends ExportedPickersArrowS
50
50
  * Override or extend the styles applied to the component.
51
51
  */
52
52
  classes?: Partial<PickersCalendarHeaderClasses>;
53
- /**
54
- * className applied to the root element.
55
- */
56
53
  className?: string;
57
54
  /**
58
55
  * The system prop that allows defining system overrides as well as additional CSS styles.
@@ -7,6 +7,7 @@ import PropTypes from 'prop-types';
7
7
  import { useSlotProps } from '@mui/base/utils';
8
8
  import composeClasses from '@mui/utils/composeClasses';
9
9
  import useForkRef from '@mui/utils/useForkRef';
10
+ import { useThemeProps } from '@mui/material/styles';
10
11
  import { getPickersSectionListUtilityClass, pickersSectionListClasses } from './pickersSectionListClasses';
11
12
  import { jsx as _jsx } from "react/jsx-runtime";
12
13
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -105,8 +106,12 @@ function PickersSection(props) {
105
106
  children: [/*#__PURE__*/_jsx(SectionSeparator, _extends({}, sectionSeparatorBeforeProps)), /*#__PURE__*/_jsx(SectionContent, _extends({}, sectionContentProps)), /*#__PURE__*/_jsx(SectionSeparator, _extends({}, sectionSeparatorAfterProps))]
106
107
  }));
107
108
  }
108
- const PickersSectionList = /*#__PURE__*/React.forwardRef(function PickersSectionList(props, ref) {
109
+ const PickersSectionList = /*#__PURE__*/React.forwardRef(function PickersSectionList(inProps, ref) {
109
110
  var _slots$root;
111
+ const props = useThemeProps({
112
+ props: inProps,
113
+ name: 'MuiPickersSectionList'
114
+ });
110
115
  const {
111
116
  slots,
112
117
  slotProps,
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { PickersInputBaseProps } from '../PickersInputBase';
3
+ export interface PickersFilledInputProps extends PickersInputBaseProps {
4
+ disableUnderline?: boolean;
5
+ hiddenLabel?: boolean;
6
+ }
7
+ /**
8
+ * @ignore - internal component.
9
+ */
10
+ declare const PickersFilledInput: React.ForwardRefExoticComponent<Omit<PickersFilledInputProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
+ export { PickersFilledInput };