@mui/x-date-pickers 8.0.0-alpha.7 → 8.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 (158) hide show
  1. package/CHANGELOG.md +551 -3
  2. package/DateCalendar/DayCalendar.js +2 -0
  3. package/DateField/DateField.js +26 -31
  4. package/DateField/DateField.types.d.ts +6 -15
  5. package/DateField/useDateField.d.ts +1 -1
  6. package/DateField/useDateField.js +2 -1
  7. package/DateTimeField/DateTimeField.js +26 -31
  8. package/DateTimeField/DateTimeField.types.d.ts +6 -15
  9. package/DateTimeField/useDateTimeField.d.ts +1 -1
  10. package/DateTimeField/useDateTimeField.js +2 -1
  11. package/DesktopDatePicker/DesktopDatePicker.js +0 -11
  12. package/DesktopDateTimePicker/DesktopDateTimePicker.js +1 -12
  13. package/DesktopTimePicker/DesktopTimePicker.js +1 -12
  14. package/MobileDatePicker/MobileDatePicker.js +0 -9
  15. package/MobileDateTimePicker/MobileDateTimePicker.js +0 -9
  16. package/MobileTimePicker/MobileTimePicker.js +0 -9
  17. package/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +2 -0
  18. package/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
  19. package/TimeClock/ClockPointer.js +2 -0
  20. package/TimeField/TimeField.js +25 -30
  21. package/TimeField/TimeField.types.d.ts +6 -15
  22. package/TimeField/useTimeField.d.ts +1 -1
  23. package/TimeField/useTimeField.js +2 -1
  24. package/hooks/useParsedFormat.d.ts +8 -6
  25. package/hooks/useParsedFormat.js +10 -12
  26. package/hooks/usePickerActionsContext.d.ts +1 -1
  27. package/hooks/usePickerContext.d.ts +4 -2
  28. package/hooks/usePickerContext.js +2 -1
  29. package/hooks/useSplitFieldProps.d.ts +12 -3
  30. package/hooks/useSplitFieldProps.js +8 -3
  31. package/index.js +1 -1
  32. package/internals/components/PickerFieldUI.d.ts +132 -0
  33. package/internals/components/PickerFieldUI.js +306 -0
  34. package/internals/components/PickerProvider.d.ts +25 -4
  35. package/internals/components/PickerProvider.js +11 -6
  36. package/internals/hooks/useDesktopPicker/useDesktopPicker.d.ts +1 -1
  37. package/internals/hooks/useDesktopPicker/useDesktopPicker.js +21 -94
  38. package/internals/hooks/useDesktopPicker/useDesktopPicker.types.d.ts +8 -31
  39. package/internals/hooks/useField/index.d.ts +3 -1
  40. package/internals/hooks/useField/index.js +3 -2
  41. package/internals/hooks/useField/useField.d.ts +1 -10
  42. package/internals/hooks/useField/useField.js +16 -19
  43. package/internals/hooks/useField/useField.types.d.ts +11 -4
  44. package/internals/hooks/useField/useFieldInternalPropsWithDefaults.d.ts +15 -0
  45. package/internals/hooks/useField/useFieldInternalPropsWithDefaults.js +46 -0
  46. package/internals/hooks/useField/useFieldV6TextField.js +3 -0
  47. package/internals/hooks/useField/useFieldV7TextField.js +6 -3
  48. package/internals/hooks/useFieldOwnerState.d.ts +1 -2
  49. package/internals/hooks/useMobilePicker/useMobilePicker.d.ts +1 -1
  50. package/internals/hooks/useMobilePicker/useMobilePicker.js +20 -49
  51. package/internals/hooks/useMobilePicker/useMobilePicker.types.d.ts +6 -14
  52. package/internals/hooks/useNullablePickerContext.d.ts +5 -0
  53. package/internals/hooks/useNullablePickerContext.js +10 -0
  54. package/internals/hooks/usePicker/usePicker.d.ts +1 -2
  55. package/internals/hooks/usePicker/usePicker.js +0 -3
  56. package/internals/hooks/usePicker/usePicker.types.d.ts +2 -3
  57. package/internals/hooks/usePicker/usePickerProvider.d.ts +8 -2
  58. package/internals/hooks/usePicker/usePickerProvider.js +22 -2
  59. package/internals/hooks/usePicker/usePickerValue.js +5 -11
  60. package/internals/hooks/usePicker/usePickerValue.types.d.ts +5 -2
  61. package/internals/hooks/useUtils.d.ts +4 -3
  62. package/internals/index.d.ts +6 -3
  63. package/internals/index.js +1 -1
  64. package/internals/models/fields.d.ts +3 -16
  65. package/internals/models/manager.d.ts +3 -0
  66. package/internals/models/props/basePickerProps.d.ts +0 -12
  67. package/locales/utils/getPickersLocalization.d.ts +0 -7
  68. package/locales/utils/getPickersLocalization.js +0 -13
  69. package/managers/index.d.ts +3 -3
  70. package/managers/useDateManager.d.ts +1 -1
  71. package/managers/useDateManager.js +9 -1
  72. package/managers/useDateTimeManager.d.ts +1 -1
  73. package/managers/useDateTimeManager.js +9 -1
  74. package/managers/useTimeManager.d.ts +1 -1
  75. package/managers/useTimeManager.js +9 -1
  76. package/models/fields.d.ts +4 -4
  77. package/models/manager.d.ts +12 -3
  78. package/modern/DateCalendar/DayCalendar.js +2 -0
  79. package/modern/DateField/DateField.js +26 -31
  80. package/modern/DateField/useDateField.js +2 -1
  81. package/modern/DateTimeField/DateTimeField.js +26 -31
  82. package/modern/DateTimeField/useDateTimeField.js +2 -1
  83. package/modern/DesktopDatePicker/DesktopDatePicker.js +0 -11
  84. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +1 -12
  85. package/modern/DesktopTimePicker/DesktopTimePicker.js +1 -12
  86. package/modern/MobileDatePicker/MobileDatePicker.js +0 -9
  87. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +0 -9
  88. package/modern/MobileTimePicker/MobileTimePicker.js +0 -9
  89. package/modern/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +2 -0
  90. package/modern/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
  91. package/modern/TimeClock/ClockPointer.js +2 -0
  92. package/modern/TimeField/TimeField.js +25 -30
  93. package/modern/TimeField/useTimeField.js +2 -1
  94. package/modern/hooks/useParsedFormat.js +10 -12
  95. package/modern/hooks/usePickerContext.js +2 -1
  96. package/modern/hooks/useSplitFieldProps.js +8 -3
  97. package/modern/index.js +1 -1
  98. package/modern/internals/components/PickerFieldUI.js +306 -0
  99. package/modern/internals/components/PickerProvider.js +11 -6
  100. package/modern/internals/hooks/useDesktopPicker/useDesktopPicker.js +21 -94
  101. package/modern/internals/hooks/useField/index.js +3 -2
  102. package/modern/internals/hooks/useField/useField.js +16 -19
  103. package/modern/internals/hooks/useField/useFieldInternalPropsWithDefaults.js +46 -0
  104. package/modern/internals/hooks/useField/useFieldV6TextField.js +3 -0
  105. package/modern/internals/hooks/useField/useFieldV7TextField.js +6 -3
  106. package/modern/internals/hooks/useMobilePicker/useMobilePicker.js +20 -49
  107. package/modern/internals/hooks/useNullablePickerContext.js +10 -0
  108. package/modern/internals/hooks/usePicker/usePicker.js +0 -3
  109. package/modern/internals/hooks/usePicker/usePickerProvider.js +22 -2
  110. package/modern/internals/hooks/usePicker/usePickerValue.js +5 -11
  111. package/modern/internals/index.js +1 -1
  112. package/modern/locales/utils/getPickersLocalization.js +0 -13
  113. package/modern/managers/useDateManager.js +9 -1
  114. package/modern/managers/useDateTimeManager.js +9 -1
  115. package/modern/managers/useTimeManager.js +9 -1
  116. package/node/DateCalendar/DayCalendar.js +1 -0
  117. package/node/DateField/DateField.js +26 -31
  118. package/node/DateField/useDateField.js +2 -1
  119. package/node/DateTimeField/DateTimeField.js +26 -31
  120. package/node/DateTimeField/useDateTimeField.js +2 -1
  121. package/node/DesktopDatePicker/DesktopDatePicker.js +0 -11
  122. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +1 -12
  123. package/node/DesktopTimePicker/DesktopTimePicker.js +1 -12
  124. package/node/MobileDatePicker/MobileDatePicker.js +0 -9
  125. package/node/MobileDateTimePicker/MobileDateTimePicker.js +0 -9
  126. package/node/MobileTimePicker/MobileTimePicker.js +0 -9
  127. package/node/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +1 -0
  128. package/node/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
  129. package/node/TimeClock/ClockPointer.js +1 -0
  130. package/node/TimeField/TimeField.js +25 -30
  131. package/node/TimeField/useTimeField.js +2 -1
  132. package/node/hooks/useParsedFormat.js +10 -12
  133. package/node/hooks/usePickerContext.js +4 -3
  134. package/node/hooks/useSplitFieldProps.js +7 -2
  135. package/node/index.js +1 -1
  136. package/node/internals/components/PickerFieldUI.js +318 -0
  137. package/node/internals/components/PickerProvider.js +13 -8
  138. package/node/internals/hooks/useDesktopPicker/useDesktopPicker.js +23 -96
  139. package/node/internals/hooks/useField/index.js +3 -2
  140. package/node/internals/hooks/useField/useField.js +17 -21
  141. package/node/internals/hooks/useField/useFieldInternalPropsWithDefaults.js +55 -0
  142. package/node/internals/hooks/useField/useFieldV6TextField.js +3 -0
  143. package/node/internals/hooks/useField/useFieldV7TextField.js +6 -3
  144. package/node/internals/hooks/useMobilePicker/useMobilePicker.js +20 -49
  145. package/node/internals/hooks/useNullablePickerContext.js +16 -0
  146. package/node/internals/hooks/usePicker/usePicker.js +0 -3
  147. package/node/internals/hooks/usePicker/usePickerProvider.js +22 -2
  148. package/node/internals/hooks/usePicker/usePickerValue.js +5 -11
  149. package/node/internals/index.js +21 -3
  150. package/node/locales/utils/getPickersLocalization.js +2 -16
  151. package/node/managers/useDateManager.js +9 -1
  152. package/node/managers/useDateTimeManager.js +9 -1
  153. package/node/managers/useTimeManager.js +9 -1
  154. package/package.json +2 -2
  155. package/internals/utils/convertFieldResponseIntoMuiTextFieldProps.d.ts +0 -3
  156. package/internals/utils/convertFieldResponseIntoMuiTextFieldProps.js +0 -44
  157. package/modern/internals/utils/convertFieldResponseIntoMuiTextFieldProps.js +0 -44
  158. package/node/internals/utils/convertFieldResponseIntoMuiTextFieldProps.js +0 -52
package/CHANGELOG.md CHANGED
@@ -5,6 +5,213 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
7
 
8
+ ## 8.0.0-alpha.9
9
+
10
+ _Jan 24, 2025_
11
+
12
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 🌍 Improve Persian (fa-IR) and Urdu (ur-PK) locales on the Data Grid
15
+ - 📚 Documentation improvements
16
+ - 🐞 Bugfixes
17
+
18
+ Special thanks go out to the community contributors who have helped make this release possible:
19
+ @AxharKhan, @lauri865, @mapache-salvaje, @mostafaRoosta74.
20
+
21
+ Following are all team members who have contributed to this release:
22
+ @alexfauquette, @cherniavskii, @Janpot, @JCQuintas, @LukasTy, @arminmeh.
23
+
24
+ ### Data Grid
25
+
26
+ #### `@mui/x-data-grid@v8.0.0-alpha.9`
27
+
28
+ - [DataGrid] Fix toggling preference panel from toolbar (#16274) @lauri865
29
+ - [DataGrid] Only try to mount filter button if there are filters present (#16267) @lauri865
30
+ - [DataGrid] Revert `apiRef` to be `MutableRefObject` for React versions < 19 (#16279) @arminmeh
31
+ - [l10n] Improve Persian (fa-IR) locale (#16312) @mostafaRoosta74
32
+ - [l10n] Improve Urdu (ur-PK) locale (#16295) @AxharKhan
33
+
34
+ #### `@mui/x-data-grid-pro@v8.0.0-alpha.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
35
+
36
+ Same changes as in `@mui/x-data-grid@v8.0.0-alpha.9`.
37
+
38
+ #### `@mui/x-data-grid-premium@v8.0.0-alpha.9` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
39
+
40
+ Same changes as in `@mui/x-data-grid-pro@v8.0.0-alpha.9`.
41
+
42
+ ### Date and Time Pickers
43
+
44
+ #### `@mui/x-date-pickers@v8.0.0-alpha.9`
45
+
46
+ - [fields] Reset `all` selected state on section edit (#16223) @LukasTy
47
+
48
+ #### `@mui/x-date-pickers-pro@v8.0.0-alpha.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
49
+
50
+ Same changes as in `@mui/x-date-pickers@v8.0.0-alpha.9`.
51
+
52
+ ### Charts
53
+
54
+ #### Breaking Changes
55
+
56
+ The `experimentalMarkRendering` prop has been removed from the `LineChart` component.
57
+ The line mark are now `<circle />` element by default.
58
+ And you can chose another shape by adding a `shape` property to your line series.
59
+
60
+ The codemod only removes the `experimentalMarkRendering` prop.
61
+ If you relied on the fact that marks were `path` elements, you need to update your logic.
62
+
63
+ #### `@mui/x-charts@v8.0.0-alpha.9`
64
+
65
+ - [charts] Expand line with step interpolation (#16229) @alexfauquette
66
+ - [charts] Fix hydration mismatch (#16261) @alexfauquette
67
+ - [charts] Fix zoom option reactivity (#16262) @alexfauquette
68
+ - [charts] Move legend getter to series config (#16307) @alexfauquette
69
+ - [charts] Use `<circle />` instead of `<path />` for line marks by default (#15220) @alexfauquette
70
+
71
+ #### `@mui/x-charts-pro@v8.0.0-alpha.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
72
+
73
+ Same changes as in `@mui/x-charts@v8.0.0-alpha.9`, plus:
74
+
75
+ - [charts-pro] Fix `pro` components watermark (#16222) @JCQuintas
76
+
77
+ ### Tree View
78
+
79
+ #### `@mui/x-tree-view@v8.0.0-alpha.9`
80
+
81
+ Internal changes.
82
+
83
+ #### `@mui/x-tree-view-pro@v8.0.0-alpha.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
84
+
85
+ Same changes as in `@mui/x-tree-view@v8.0.0-alpha.9`.
86
+
87
+ ### Docs
88
+
89
+ - [docs] Fix `domainLimit` definition (#16270) @alexfauquette
90
+ - [docs] Fix tiny line chart breaking change (#16268) @alexfauquette
91
+ - [docs] Revise planned feature callouts and descriptions (#16290) @mapache-salvaje
92
+ - [docs] Copyedit the Aggregation doc (#16200) @mapache-salvaje
93
+ - [docs] Revise the Data Grid getting started docs (#15757) @mapache-salvaje
94
+ - [code-infra] Add 'use client' directive (#16273) @Janpot
95
+ - [code-infra] Allow dispatch of manual cherry-pick workflow (#16299) @JCQuintas
96
+ - [code-infra] Update changelog script (#16218) @cherniavskii
97
+ - [test] Fix flaky column pinning tests (#16219) @cherniavskii
98
+ - [test] Fix flaky tests (#16257) @lauri865
99
+
100
+ ## 8.0.0-alpha.8
101
+
102
+ _Jan 16, 2025_
103
+
104
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
105
+
106
+ - 🍬 Improved design for Data Grid [Header filters](https://next.mui.com/x/react-data-grid/filtering/header-filters/)
107
+
108
+ <img width="100%" alt="Data Grid Header filters" src="https://github.com/user-attachments/assets/74a50cd9-7a55-41fc-a2b8-f8a0d5b9120e" />
109
+
110
+ - 🔄 Data Grid [Scroll restoration](https://next.mui.com/x/react-data-grid/scrolling/#scroll-restoration)
111
+ - 📊 Charts support server-side rendering under [some conditions](https://next.mui.com/x/react-charts/getting-started/#server-side-rendering)
112
+ - 🐞 Bugfixes
113
+
114
+ Special thanks go out to the community contributors who have helped make this release possible:
115
+ @lauri865.
116
+ Following are all team members who have contributed to this release:
117
+ @arminmeh, @romgrk, @samuelsycamore, @alexfauquette, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @michelengelen.
118
+
119
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
120
+
121
+ ### Data Grid
122
+
123
+ #### Breaking changes
124
+
125
+ - The clear button in header filter cells has been moved to the header filter menu. Use `slotProps={{ headerFilterCell: { showClearIcon: true } }}` to restore the clear button in the cell.
126
+
127
+ #### `@mui/x-data-grid@8.0.0-alpha.8`
128
+
129
+ - [DataGrid] Improve scrollbar deadzone with overlay scrollbars (#15961) @lauri865
130
+ - [DataGrid] Header filter design improvements (#15991) @KenanYusuf
131
+ - [DataGrid] Scroll restoration (#15623) @lauri865
132
+ - [DataGrid] Fix row, cell and header memoizations (#15666) @lauri865
133
+
134
+ #### `@mui/x-data-grid-pro@8.0.0-alpha.8` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
135
+
136
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.8`, plus:
137
+
138
+ - [DataGridPro] Add test for column pinning with disabled column virtualization (#16176) @cherniavskii
139
+ - [DataGridPro] Fix width of right-pinned column group during resize (#16199) @cherniavskii
140
+
141
+ #### `@mui/x-data-grid-premium@8.0.0-alpha.8` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
142
+
143
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.8`.
144
+
145
+ ### Date and Time Pickers
146
+
147
+ #### Breaking changes
148
+
149
+ - The field is now editable if rendered inside a mobile Picker — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#field-editing-on-mobile-pickers)
150
+ - The `useMultiInputDateRangeField`, `useMultiInputTimeRangeField`, and `useMultiInputDateTimeRangeField` hooks have been removed in favor of the new `useMultiInputRangeField` hook — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#usemultiinputdaterangefield)
151
+ - The component passed to the `field` slot no longer receives the `value`, `onChange`, `timezone`, `format`, `disabled`, `formatDensity`, `enableAccessibleFieldDOMStructure`, `selectedSections` and `onSelectedSectionsChange` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-field)
152
+
153
+ #### `@mui/x-date-pickers@8.0.0-alpha.8`
154
+
155
+ - [pickers] Let the field components handle their opening UI, and allow field editing on mobile pickers (#15671) @flaviendelangle
156
+ - [pickers] Remove code duplication for the multi input range fields (#15505) @flaviendelangle
157
+ - [pickers] Rename `onRangePositionChange` into `setRangePosition` in `usePickerRangePositionContext` (#16189) @flaviendelangle
158
+ - [pickers] Use context to pass props from the picker to the field (#16042) @flaviendelangle
159
+
160
+ #### `@mui/x-date-pickers-pro@8.0.0-alpha.8` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
161
+
162
+ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.8`.
163
+
164
+ ### Charts
165
+
166
+ #### Breaking changes
167
+
168
+ - Charts tooltip markers now have different styles for each chart type. The tooltip and legend marks are now the same.
169
+ - Duplicate axis id's across `x` and `y` axis now log a warning in dev mode. Axis ids should be unique to prevent internal issues.
170
+
171
+ #### `@mui/x-charts@8.0.0-alpha.8`
172
+
173
+ - [charts] Fix flaky charts tests (#16180) @JCQuintas
174
+ - [charts] Handle case where gradient stop `offset` could be `Infinite` (#16131) @JCQuintas
175
+ - [charts] Make `useChartGradientId` public (#16106) @JCQuintas
176
+ - [charts] Move z-axis to plugin (#16130) @alexfauquette
177
+ - [charts] Plot data at first render if `skipAnimation` is set to `true` (#16166) @alexfauquette
178
+ - [charts] Replace tooltip mark with style (#16117) @JCQuintas
179
+ - [charts] Support `rtl` for gradient legend (#16115) @JCQuintas
180
+ - [charts] Use plugin system for series and axes (#15865) @alexfauquette
181
+
182
+ #### `@mui/x-charts-pro@8.0.0-alpha.8` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
183
+
184
+ Same changes as in `@mui/x-charts@8.0.0-alpha.8`.
185
+
186
+ ### Tree View
187
+
188
+ #### `@mui/x-tree-view@8.0.0-alpha.8`
189
+
190
+ No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.7`.
191
+
192
+ #### `@mui/x-tree-view-pro@8.0.0-alpha.8` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
193
+
194
+ Same changes as in `@mui/x-tree-view@8.0.0-alpha.8`.
195
+
196
+ ### Docs
197
+
198
+ - [docs] Add example for custom legend (#16169) @alexfauquette
199
+ - [docs] Add full custom field creation example (#15194) @flaviendelangle
200
+ - [docs] Copyedit the Data Grid cell selection page (#16099) @samuelsycamore
201
+ - [docs] Fix demo rendering issue on Codesandbox (#16118) @arminmeh
202
+ - [docs] Remove broken links (#16167) @alexfauquette
203
+ - [docs] Split the Data Grid editing page (#14931) @MBilalShafi
204
+ - [docs] Fix wrong props warnings (#16119) @JCQuintas
205
+
206
+ ### Core
207
+
208
+ - [core] Type all references as `RefObject` (#16124) @arminmeh
209
+ - [code-infra] Refactor `react` and `react-dom` definitions to simplify dep resolving (#16160) @LukasTy
210
+ - [code-infra] Stop renovate from updating `date-fns-v2` (#16158) @LukasTy
211
+ - [infra] Improve cherry-pick action target list (#16184) @michelengelen
212
+ - [test] Fix flaky column pinning unit test (#16202) @cherniavskii
213
+ - [test] Fix flaky screenshot (#16182) @cherniavskii
214
+
8
215
  ## 8.0.0-alpha.7
9
216
 
10
217
  _Jan 9, 2025_
@@ -542,7 +749,7 @@ Same changes as in `@mui/x-tree-view@8.0.0-alpha.3`.
542
749
  - [code-infra] Playwright 1.49 (#15493) @JCQuintas
543
750
  - [test] Force hover in headless Chrome (#15710) @cherniavskii
544
751
 
545
- ## v8.0.0-alpha.2
752
+ ## 8.0.0-alpha.2
546
753
 
547
754
  _Nov 29, 2024_
548
755
 
@@ -669,7 +876,7 @@ Same changes as in `@mui/x-tree-view@v8.0.0-alpha.2`.
669
876
  - [core] Remove dead translation key (#15566) @oliviertassinari
670
877
  - [code-infra] Auto-merge `@types/node` bumps (#15591) @LukasTy
671
878
 
672
- ## v8.0.0-alpha.1
879
+ ## 8.0.0-alpha.1
673
880
 
674
881
  _Nov 22, 2024_
675
882
 
@@ -1002,6 +1209,347 @@ Same changes as in `@mui/x-charts@8.0.0-alpha.0`.
1002
1209
  - [release] v8 preparation (#15054) @michelengelen
1003
1210
  - [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
1004
1211
 
1212
+ ## 7.24.1
1213
+
1214
+ _Jan 24, 2025_
1215
+
1216
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
1217
+
1218
+ - 🐞 Bugfixes
1219
+ - 🌍 Improve Persian (fa-IR) locale on the Data Grid
1220
+
1221
+ Special thanks go out to the community contributors who have helped make this release possible:
1222
+ @mostafaRoosta74, @lauri865.
1223
+
1224
+ Following are all team members who have contributed to this release:
1225
+ @alexfauquette, @JCQuintas, @cherniavskii, @LukasTy, @arminmeh.
1226
+
1227
+ ### Data Grid
1228
+
1229
+ #### `@mui/x-data-grid@7.24.1`
1230
+
1231
+ - [DataGrid] Fix toggling preference panel from toolbar (#16276) @lauri865
1232
+ - [DataGrid] Only try to mount filter button if there are filters present (#16269) @lauri865
1233
+ - [DataGrid] Revert `apiRef` to be `MutableRefObject` for React versions < 19 (#16320) @arminmeh
1234
+ - [l10n] Improve Persian (fa-IR) locale (#15964) @mostafaRoosta74
1235
+
1236
+ #### `@mui/x-data-grid-pro@7.24.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1237
+
1238
+ Same changes as in `@mui/x-data-grid@7.24.1`.
1239
+
1240
+ #### `@mui/x-data-grid-premium@7.24.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1241
+
1242
+ Same changes as in `@mui/x-data-grid-pro@7.24.1`.
1243
+
1244
+ ### Date and Time Pickers
1245
+
1246
+ #### `@mui/x-date-pickers@7.24.1`
1247
+
1248
+ - [fields] Reset `all` selected state on section edit (#16232) @LukasTy
1249
+
1250
+ #### `@mui/x-date-pickers-pro@7.24.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1251
+
1252
+ Same changes as in `@mui/x-date-pickers@7.24.1`.
1253
+
1254
+ ### Charts
1255
+
1256
+ #### `@mui/x-charts@7.24.1`
1257
+
1258
+ - [charts] Handle case where gradient stop `offset` could be `Infinite` (@JCQuintas) (#16309) @JCQuintas
1259
+
1260
+ #### `@mui/x-charts-pro@7.24.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1261
+
1262
+ Same changes as in `@mui/x-charts@7.24.1`.
1263
+
1264
+ ### Tree View
1265
+
1266
+ #### `@mui/x-tree-view@7.24.1`
1267
+
1268
+ Internal changes.
1269
+
1270
+ #### `@mui/x-tree-view-pro@7.24.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1271
+
1272
+ Same changes as in `@mui/x-tree-view@7.24.1`.
1273
+
1274
+ ### Docs
1275
+
1276
+ - [docs] Fix `domainLimit` definition (#16271) @alexfauquette
1277
+
1278
+ ### Core
1279
+
1280
+ - [core] Make `@mui/x-internals` a dependency of `@mui/x-license` (#16265) @alexfauquette
1281
+ - [test] Fix flaky column pinning tests (#16228) @cherniavskii
1282
+ - [test] Fix flaky tests (#16264) @lauri865
1283
+
1284
+ ## 7.24.0
1285
+
1286
+ _Jan 17, 2025_
1287
+
1288
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
1289
+
1290
+ - 🔄 Data Grid [Scroll restoration](https://next.mui.com/x/react-data-grid/scrolling/#scroll-restoration)
1291
+ - 🐞 Bugfixes
1292
+
1293
+ Special thanks go out to the community contributors who have helped make this release possible:
1294
+ @lauri865, @AxharKhan.
1295
+ Following are all team members who have contributed to this release:
1296
+ @KenanYusuf, @arminmeh, @cherniavskii, @michelengelen, @samuelsycamore, @LukasTy.
1297
+
1298
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
1299
+
1300
+ ### Data Grid
1301
+
1302
+ #### `@mui/x-data-grid@7.24.0`
1303
+
1304
+ - [DataGrid] Fix resizing right pinned column (#16193) @KenanYusuf
1305
+ - [DataGrid] Improve scrollbar deadzone with overlay scrollbars (#16212) @lauri865
1306
+ - [DataGrid] Scroll restoration (#16208) @lauri865
1307
+ - [DataGrid] Fix row, cell and header memoizations (#16195) @lauri865
1308
+ - [l10n] Improve Urdu (ur-PK) locale (#16081) @AxharKhan
1309
+
1310
+ #### `@mui/x-data-grid-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1311
+
1312
+ Same changes as in `@mui/x-data-grid@7.24.0`, plus:
1313
+
1314
+ - [DataGridPro] Add test for column pinning with disabled column virtualization (#16196) @cherniavskii
1315
+ - [DataGridPro] Fix width of right-pinned column group during resize (#16207) @cherniavskii
1316
+
1317
+ #### `@mui/x-data-grid-premium@7.24.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1318
+
1319
+ Same changes as in `@mui/x-data-grid-pro@7.24.0`.
1320
+
1321
+ ### Date and Time Pickers
1322
+
1323
+ #### `@mui/x-date-pickers@7.24.0`
1324
+
1325
+ Internal changes.
1326
+
1327
+ #### `@mui/x-date-pickers-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1328
+
1329
+ Same changes as in `@mui/x-date-pickers@7.24.0`.
1330
+
1331
+ ### Charts
1332
+
1333
+ #### `@mui/x-charts@7.24.0`
1334
+
1335
+ Internal changes.
1336
+
1337
+ #### `@mui/x-charts-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1338
+
1339
+ Same changes as in `@mui/x-charts@7.24.0`.
1340
+
1341
+ ### Tree View
1342
+
1343
+ #### `@mui/x-tree-view@7.24.0`
1344
+
1345
+ Internal changes.
1346
+
1347
+ #### `@mui/x-tree-view-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1348
+
1349
+ Same changes as in `@mui/x-tree-view@7.24.0`.
1350
+
1351
+ ### Docs
1352
+
1353
+ - [docs] Copyedit the Data Grid cell selection page (#16213) @samuelsycamore
1354
+ - [docs] Fix demo rendering issue on Codesandbox (#16129) @arminmeh
1355
+
1356
+ ### Core
1357
+
1358
+ - [core] Type all references as `RefObject` (#16125) @arminmeh
1359
+ - [code-infra] Refactor `react` and `react-dom` definitions to simplify dep resolving (#16214) @LukasTy
1360
+ - [infra] Improve cherry-pick action target list (#16188) @michelengelen
1361
+ - [test] Fix flaky column pinning unit test (#16209) @cherniavskii
1362
+
1363
+ ## 7.23.6
1364
+
1365
+ _Jan 9, 2025_
1366
+
1367
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
1368
+
1369
+ - 🌍 Add Chinese (Taiwan) (zh-TW) locale on the Date and Time Pickers
1370
+ - 🌍 Improve Norwegian (nb-NO) locale on the Date and Time Pickers
1371
+ - 🌍 Improve Dutch (nl-NL) locale on the Data Grid
1372
+ - 🐞 Bugfixes
1373
+
1374
+ Special thanks go out to the community contributors who have helped make this release possible:
1375
+ @josteinjhauge, @derek-0000, @nusr, @k-rajat19, @tomashauser.
1376
+ Following are all team members who have contributed to this release:
1377
+ @flaviendelangle, @LukasTy, @MBilalShafi, @arminmeh, @oliviertassinari, @cherniavskii.
1378
+
1379
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
1380
+
1381
+ ### Data Grid
1382
+
1383
+ #### `@mui/x-data-grid@7.23.6`
1384
+
1385
+ - [DataGrid] Improve React 19 support (#16048) @LukasTy
1386
+ - [DataGrid] Add `name` attribute to selection checkboxes (#16041) @derek-0000
1387
+ - [DataGrid] Fix number filter field formatting values while typing (#16068) @arminmeh
1388
+ - [DataGrid] Fix select all checkbox state reset with server side data (#16039) @MBilalShafi
1389
+
1390
+ #### `@mui/x-data-grid-pro@7.23.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1391
+
1392
+ Same changes as in `@mui/x-data-grid@7.23.6`.
1393
+
1394
+ #### `@mui/x-data-grid-premium@7.23.6` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1395
+
1396
+ Same changes as in `@mui/x-data-grid-pro@7.23.6`.
1397
+
1398
+ ### Date and Time Pickers
1399
+
1400
+ #### `@mui/x-date-pickers@7.23.6`
1401
+
1402
+ - [pickers] Improve React 19 support (#16048) @LukasTy
1403
+ - [l10n] Add Chinese (Taiwan) (zh-TW) locale (#16057) @nusr
1404
+ - [l10n] Improve Norwegian (nb-NO) locale (#16083) @josteinjhauge
1405
+ - [pickers] Support `date-fns-jalali` v4 (#16013) @LukasTy
1406
+
1407
+ #### `@mui/x-date-pickers-pro@7.23.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1408
+
1409
+ Same changes as in `@mui/x-date-pickers@7.23.6`.
1410
+
1411
+ ### Charts
1412
+
1413
+ #### `@mui/x-charts@7.23.6`
1414
+
1415
+ - [charts] Improve React 19 support (#16048) @LukasTy
1416
+ - [charts] Fix 301 redirection in the API documentation @oliviertassinari
1417
+
1418
+ #### `@mui/x-charts-pro@7.23.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1419
+
1420
+ Same changes as in `@mui/x-charts@7.23.6`.
1421
+
1422
+ ### Tree View
1423
+
1424
+ #### `@mui/x-tree-view@7.23.6`
1425
+
1426
+ - [TreeView] Improve React 19 support (#16048) @LukasTy
1427
+
1428
+ #### `@mui/x-tree-view-pro@7.23.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1429
+
1430
+ Same changes as in `@mui/x-tree-view@7.23.6`.
1431
+
1432
+ ### Docs
1433
+
1434
+ - [docs] Fix `EditingWithDatePickers` demo (#16047) @k-rajat19
1435
+ - [docs] Fix doc warning for automatic children selection on tree view (#16037) @flaviendelangle
1436
+ - [docs] Fix non-existing "adapter" property of `LocalizationProvider` (#16088) @tomashauser
1437
+
1438
+ ### Core
1439
+
1440
+ - [core] Clarify the release strategy (#16012) @MBilalShafi
1441
+ - [core] Update the `release:version` docs (#16040) @cherniavskii
1442
+
1443
+ ## 7.23.5
1444
+
1445
+ _Dec 27, 2024_
1446
+
1447
+ Here are some highlights ✨:
1448
+
1449
+ - 🐞 Fix version mismatch issue in Data Grid codesandbox/stackblitz demos
1450
+
1451
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
1452
+
1453
+ ### Data Grid
1454
+
1455
+ #### `@mui/x-data-grid@7.23.5`
1456
+
1457
+ No changes since `@mui/x-data-grid@v7.23.4`.
1458
+
1459
+ #### `@mui/x-data-grid-pro@7.23.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1460
+
1461
+ Same changes as in `@mui/x-data-grid@7.23.5`.
1462
+
1463
+ #### `@mui/x-data-grid-premium@7.23.5` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1464
+
1465
+ Same changes as in `@mui/x-data-grid-pro@7.23.5`.
1466
+
1467
+ ## 7.23.4
1468
+
1469
+ _Dec 27, 2024_
1470
+
1471
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
1472
+
1473
+ - 🌍 Improve Dutch (nl-NL) locale on the Data Grid
1474
+ - 🐞 Bugfixes
1475
+
1476
+ Special thanks go out to the community contributor who has helped make this release possible:
1477
+ @JoepVerkoelen.
1478
+ Following are all team members who have contributed to this release:
1479
+ @arminmeh, @oliviertassinari.
1480
+
1481
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
1482
+
1483
+ ### Data Grid
1484
+
1485
+ #### `@mui/x-data-grid@7.23.4`
1486
+
1487
+ - [DataGrid] Fix header filters showing clear button while empty (#15990) @k-rajat19
1488
+ - [DataGrid] Replace `forwardRef` with a shim for forward compatibility (#15984) @lauri865
1489
+ - [l10n] Improve Dutch (nl-NL) locale (#15920) @JoepVerkoelen
1490
+
1491
+ #### `@mui/x-data-grid-pro@7.23.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1492
+
1493
+ Same changes as in `@mui/x-data-grid@7.23.4`.
1494
+
1495
+ #### `@mui/x-data-grid-premium@7.23.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1496
+
1497
+ Same changes as in `@mui/x-data-grid-pro@7.23.4`, plus:
1498
+
1499
+ - [DataGridPremium] Fix column pinning with checkbox selection and row grouping (#15949) @k-rajat19
1500
+
1501
+ ### Docs
1502
+
1503
+ - [docs] Fix outdated link to handbook (#15855) @oliviertassinari
1504
+
1505
+ ## 7.23.3
1506
+
1507
+ _Dec 19, 2024_
1508
+
1509
+ We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
1510
+
1511
+ - 🌍 Improve Korean (ko-KR) locale on the Data Grid
1512
+ - 🐞 Bugfixes
1513
+
1514
+ Special thanks go out to the community contributors who have helped make this release possible:
1515
+ @k-rajat19, @good-jinu.
1516
+ Following are all team members who have contributed to this release:
1517
+ @KenanYusuf, @MBilalShafi, @arminmeh, @flaviendelangle.
1518
+
1519
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
1520
+
1521
+ ### Data Grid
1522
+
1523
+ #### `@mui/x-data-grid@7.23.3`
1524
+
1525
+ - [DataGrid] Allow passing custom props to `.main` element (#15919) @MBilalShafi
1526
+ - [DataGrid] Consider `columnGroupHeaderHeight` prop in `getTotalHeaderHeight` method (#15927) @k-rajat19
1527
+ - [DataGrid] Deprecate `indeterminateCheckboxAction` prop (#15862) @MBilalShafi
1528
+ - [DataGrid] Fix `aria-label` value for group checkboxes (#15861) @MBilalShafi
1529
+ - [DataGrid] Fix autosizing with virtualized columns (#15929) @k-rajat19
1530
+ - [DataGrid] Round dimensions to avoid subpixel rendering error (#15873) @KenanYusuf
1531
+ - [DataGrid] Toggle menu on click in `<GridActionsCell />` (#15871) @k-rajat19
1532
+ - [DataGrid] Trigger row spanning computation on rows update (#15872) @MBilalShafi
1533
+ - [l10n] Improve Korean (ko-KR) locale (#15906) @good-jinu
1534
+
1535
+ #### `@mui/x-data-grid-pro@7.23.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1536
+
1537
+ Same changes as in `@mui/x-data-grid@7.23.3`.
1538
+
1539
+ #### `@mui/x-data-grid-premium@7.23.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
1540
+
1541
+ Same changes as in `@mui/x-data-grid-pro@7.23.3`.
1542
+
1543
+ ### Date and Time Pickers
1544
+
1545
+ #### `@mui/x-date-pickers@7.23.3`
1546
+
1547
+ - [pickers] Add verification to disable skipped hours in spring forward DST (#15918) @flaviendelangle
1548
+
1549
+ #### `@mui/x-date-pickers-pro@7.23.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
1550
+
1551
+ Same changes as in `@mui/x-date-pickers@7.23.3`.
1552
+
1005
1553
  ## 7.23.2
1006
1554
 
1007
1555
  _Dec 12, 2024_
@@ -1243,7 +1791,7 @@ Same changes as in `@mui/x-tree-view@7.23.0`.
1243
1791
 
1244
1792
  - [core] Update @mui/monorepo (#15574) @oliviertassinari
1245
1793
 
1246
- ## v7.22.3
1794
+ ## 7.22.3
1247
1795
 
1248
1796
  _Nov 21, 2024_
1249
1797
 
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
2
4
  import _extends from "@babel/runtime/helpers/esm/extends";
3
5
  const _excluded = ["parentProps", "day", "focusableDay", "selectedDays", "isDateDisabled", "currentMonthNumber", "isViewFocused"],
@@ -1,19 +1,14 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
3
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
- const _excluded = ["slots", "slotProps", "InputProps", "inputProps"];
4
+ const _excluded = ["slots", "slotProps"];
6
5
  import * as React from 'react';
7
6
  import PropTypes from 'prop-types';
8
- import MuiTextField from '@mui/material/TextField';
9
7
  import { useThemeProps } from '@mui/material/styles';
10
- import useSlotProps from '@mui/utils/useSlotProps';
11
8
  import { refType } from '@mui/utils';
12
9
  import { useDateField } from "./useDateField.js";
13
- import { useClearableField } from "../hooks/index.js";
14
- import { PickersTextField } from "../PickersTextField/index.js";
15
- import { convertFieldResponseIntoMuiTextFieldProps } from "../internals/utils/convertFieldResponseIntoMuiTextFieldProps.js";
16
- import { useFieldOwnerState } from "../internals/hooks/useFieldOwnerState.js";
10
+ import { PickerFieldUI, useFieldTextFieldProps } from "../internals/components/PickerFieldUI.js";
11
+ import { CalendarIcon } from "../icons/index.js";
17
12
  import { jsx as _jsx } from "react/jsx-runtime";
18
13
  /**
19
14
  * Demos:
@@ -32,33 +27,21 @@ const DateField = /*#__PURE__*/React.forwardRef(function DateField(inProps, inRe
32
27
  });
33
28
  const {
34
29
  slots,
35
- slotProps,
36
- InputProps,
37
- inputProps
30
+ slotProps
38
31
  } = themeProps,
39
32
  other = _objectWithoutPropertiesLoose(themeProps, _excluded);
40
- const ownerState = useFieldOwnerState(themeProps);
41
- const TextField = slots?.textField ?? (inProps.enableAccessibleFieldDOMStructure === false ? MuiTextField : PickersTextField);
42
- const textFieldProps = useSlotProps({
43
- elementType: TextField,
44
- externalSlotProps: slotProps?.textField,
45
- externalForwardedProps: other,
46
- additionalProps: {
47
- ref: inRef
48
- },
49
- ownerState
33
+ const textFieldProps = useFieldTextFieldProps({
34
+ slotProps,
35
+ ref: inRef,
36
+ externalForwardedProps: other
50
37
  });
51
-
52
- // TODO: Remove when mui/material-ui#35088 will be merged
53
- textFieldProps.inputProps = _extends({}, inputProps, textFieldProps.inputProps);
54
- textFieldProps.InputProps = _extends({}, InputProps, textFieldProps.InputProps);
55
38
  const fieldResponse = useDateField(textFieldProps);
56
- const convertedFieldResponse = convertFieldResponseIntoMuiTextFieldProps(fieldResponse);
57
- const processedFieldProps = useClearableField(_extends({}, convertedFieldResponse, {
58
- slots,
59
- slotProps
60
- }));
61
- return /*#__PURE__*/_jsx(TextField, _extends({}, processedFieldProps));
39
+ return /*#__PURE__*/_jsx(PickerFieldUI, {
40
+ slots: slots,
41
+ slotProps: slotProps,
42
+ fieldResponse: fieldResponse,
43
+ defaultOpenPickerIcon: CalendarIcon
44
+ });
62
45
  });
63
46
  process.env.NODE_ENV !== "production" ? DateField.propTypes = {
64
47
  // ----------------------------- Warning --------------------------------
@@ -76,6 +59,12 @@ process.env.NODE_ENV !== "production" ? DateField.propTypes = {
76
59
  * @default false
77
60
  */
78
61
  clearable: PropTypes.bool,
62
+ /**
63
+ * The position at which the clear button is placed.
64
+ * If the field is not clearable, the button is not rendered.
65
+ * @default 'end'
66
+ */
67
+ clearButtonPosition: PropTypes.oneOf(['end', 'start']),
79
68
  /**
80
69
  * The color of the component.
81
70
  * It supports both default and custom theme colors, which can be added as shown in the
@@ -219,6 +208,12 @@ process.env.NODE_ENV !== "production" ? DateField.propTypes = {
219
208
  * @param {FieldSelectedSections} newValue The new selected sections.
220
209
  */
221
210
  onSelectedSectionsChange: PropTypes.func,
211
+ /**
212
+ * The position at which the opening button is placed.
213
+ * If there is no picker to open, the button is not rendered
214
+ * @default 'end'
215
+ */
216
+ openPickerButtonPosition: PropTypes.oneOf(['end', 'start']),
222
217
  /**
223
218
  * If `true`, the component is read-only.
224
219
  * When read-only, the value cannot be changed but the user can interact with the interface.