@mui/x-date-pickers-pro 8.22.1 → 8.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +211 -0
- package/DateRangeCalendar/DateRangeCalendar.js +4 -2
- package/DateRangePicker/DateRangePicker.js +1 -1
- package/DateRangePickerDay/DateRangePickerDay.js +1 -1
- package/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
- package/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
- package/DesktopTimeRangePicker/DesktopTimeRangePicker.js +1 -1
- package/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
- package/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
- package/MobileTimeRangePicker/MobileTimeRangePicker.js +1 -1
- package/PickersRangeCalendarHeader/PickersRangeCalendarHeader.js +3 -1
- package/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
- package/TimeRangePicker/TimeRangePicker.js +1 -1
- package/esm/DateRangeCalendar/DateRangeCalendar.js +4 -2
- package/esm/DateRangePicker/DateRangePicker.js +1 -1
- package/esm/DateRangePickerDay/DateRangePickerDay.js +1 -1
- package/esm/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
- package/esm/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
- package/esm/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
- package/esm/DesktopTimeRangePicker/DesktopTimeRangePicker.js +1 -1
- package/esm/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
- package/esm/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
- package/esm/MobileTimeRangePicker/MobileTimeRangePicker.js +1 -1
- package/esm/PickersRangeCalendarHeader/PickersRangeCalendarHeader.js +3 -1
- package/esm/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
- package/esm/TimeRangePicker/TimeRangePicker.js +1 -1
- package/esm/index.js +1 -1
- package/esm/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.js +1 -1
- package/esm/internals/hooks/useMobileRangePicker/useMobileRangePicker.js +1 -1
- package/esm/internals/hooks/useStaticRangePicker/useStaticRangePicker.js +3 -1
- package/index.js +1 -1
- package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.js +1 -1
- package/internals/hooks/useMobileRangePicker/useMobileRangePicker.js +1 -1
- package/internals/hooks/useStaticRangePicker/useStaticRangePicker.js +3 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,217 @@
|
|
|
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.24.0
|
|
9
|
+
|
|
10
|
+
_Jan 8, 2026_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- ⚡️Add bar [batch renderer](https://mui.com/x/react-charts/bars/#performance), result in a significant performance improvement when rendering thousands of bars
|
|
15
|
+
- 📊 Add [range bar chart](https://mui.com/x/react-charts/range-bar/) to render
|
|
16
|
+

|
|
17
|
+
- 🌎 Improved Danish (da-DK) and Japanese (ja-JP) locales on the Data Grid
|
|
18
|
+
|
|
19
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
20
|
+
@anders-noerrelykke, @auloin, @sai6855, @yuito-it
|
|
21
|
+
|
|
22
|
+
The following team members contributed to this release:
|
|
23
|
+
@alelthomas, @alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @JCQuintas, @mapache-salvaje, @siriwatknp
|
|
24
|
+
|
|
25
|
+
### Data Grid
|
|
26
|
+
|
|
27
|
+
#### `@mui/x-data-grid@8.24.0`
|
|
28
|
+
|
|
29
|
+
- [l10n] Improve Danish (da-DK) locale (#20828) @anders-noerrelykke
|
|
30
|
+
- [l10n] Improve Japanese (ja-JP) locale (#20251) @yuito-it
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-data-grid-pro@8.24.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
33
|
+
|
|
34
|
+
Same changes as in `@mui/x-data-grid@8.24.0`, plus:
|
|
35
|
+
|
|
36
|
+
- [DataGridPro] Fix header filter height for `density="compact"` (#20834) @arminmeh
|
|
37
|
+
|
|
38
|
+
#### `@mui/x-data-grid-premium@8.24.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
39
|
+
|
|
40
|
+
Same changes as in `@mui/x-data-grid-pro@8.24.0`.
|
|
41
|
+
|
|
42
|
+
### Date and Time Pickers
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-date-pickers@8.24.0`
|
|
45
|
+
|
|
46
|
+
- [pickers] Fix Styles applied to PickersDay when MuiPickersDay-dayOutsideMonth is used (#20719) @sai6855
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-date-pickers-pro@8.24.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
49
|
+
|
|
50
|
+
Same changes as in `@mui/x-date-pickers@8.24.0`.
|
|
51
|
+
|
|
52
|
+
### Charts
|
|
53
|
+
|
|
54
|
+
#### `@mui/x-charts@8.24.0`
|
|
55
|
+
|
|
56
|
+
- [charts] Add `VisibilityManager` logic to allow managing series/items (#20571) @JCQuintas
|
|
57
|
+
- [charts] Add `identifierSerializer` configuration (#20775) @JCQuintas
|
|
58
|
+
- [charts] Add `serializeIdentifier` instance function (#20791) @JCQuintas
|
|
59
|
+
- [charts] Add bar batch renderer (#20457) @bernardobelchior
|
|
60
|
+
- [charts] Allow animating bar, line, and pie elements to hidden state (#20798) @JCQuintas
|
|
61
|
+
- [charts] Fix failing lint step (#20813) @bernardobelchior
|
|
62
|
+
- [charts] Fix tooltip anchored to item (#20783) @alexfauquette
|
|
63
|
+
- [charts] Fix type casting in getCategoryAxisConfig and applySeriesLayout functions (#20797) @sai6855
|
|
64
|
+
- [charts] Let keyboard navigation avoid overflow and handle nullish values (#20757) @alexfauquette
|
|
65
|
+
- [charts] Refactor `PieChart` and `PieChartPro` to use `slots` and `slotProps` directly (#20795) @sai6855
|
|
66
|
+
- [charts] Refactor `useRegisterPointerEventHandlers` (#20824) @bernardobelchior
|
|
67
|
+
- [charts] Update legend types to allow hiding/showing items (#20784) @JCQuintas
|
|
68
|
+
|
|
69
|
+
#### `@mui/x-charts-pro@8.24.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
70
|
+
|
|
71
|
+
Same changes as in `@mui/x-charts@8.24.0`, plus:
|
|
72
|
+
|
|
73
|
+
- [charts-pro] Pass `slotProps.toolbar` to `Toolbar` in `PieChartPro` (#20796) @sai6855
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-charts-premium@8.24.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
76
|
+
|
|
77
|
+
Same changes as in `@mui/x-charts-pro@8.24.0`, plus:
|
|
78
|
+
|
|
79
|
+
- [charts-premium] Add range bar chart (#20275) @bernardobelchior
|
|
80
|
+
|
|
81
|
+
### Tree View
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-tree-view@8.24.0`
|
|
84
|
+
|
|
85
|
+
- [tree view] Introduce a Tree View Store to clean the internals (#20051) @flaviendelangle
|
|
86
|
+
|
|
87
|
+
#### `@mui/x-tree-view-pro@8.24.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
88
|
+
|
|
89
|
+
Same changes as in `@mui/x-tree-view@8.24.0`.
|
|
90
|
+
|
|
91
|
+
### Codemod
|
|
92
|
+
|
|
93
|
+
#### `@mui/x-codemod@8.24.0`
|
|
94
|
+
|
|
95
|
+
Internal changes.
|
|
96
|
+
|
|
97
|
+
### Docs
|
|
98
|
+
|
|
99
|
+
- [docs] Fix axis size default values (#20799) @bernardobelchior
|
|
100
|
+
- [docs] Update What's New in MUI X page with post v8 features (DX-118) (#20787) @alelthomas
|
|
101
|
+
- [docs] Fix `onAccept`'s `context.source` documentation to use 'view' instead of 'picker' (#20465) @auloin
|
|
102
|
+
- [docs] Revise the Charts Brush doc (#20792) @mapache-salvaje
|
|
103
|
+
- [docs] Revise the Charts Highlighting doc (#20788) @mapache-salvaje
|
|
104
|
+
- [docs] Revise the Charts Label doc (#20794) @mapache-salvaje
|
|
105
|
+
- [docs] Revise the Charts Export doc (#20779) @mapache-salvaje
|
|
106
|
+
|
|
107
|
+
### Core
|
|
108
|
+
|
|
109
|
+
- [code-infra] Fix v8.23.0 release date (#20767) @bernardobelchior
|
|
110
|
+
- [code-infra] Remove `glob-gitignore` (#20801) @bernardobelchior
|
|
111
|
+
- [code-infra] Remove `nyc` (#20804) @bernardobelchior
|
|
112
|
+
- [code-infra] Remove `stream-browserify` and `null-loader` (#20805) @bernardobelchior
|
|
113
|
+
- [code-infra] Remove `stylelint-config-tailwindcss` (#20807) @bernardobelchior
|
|
114
|
+
- [code-infra] Remove unused `path` package (#20802) @bernardobelchior
|
|
115
|
+
- [code-infra] Retry flaky e2e test on webkit (#20806) @JCQuintas
|
|
116
|
+
- [internal] Add `internal` slot to properly generate components CSS layer (#20763) @siriwatknp
|
|
117
|
+
|
|
118
|
+
## 8.23.0
|
|
119
|
+
|
|
120
|
+
_Dec 24, 2025_
|
|
121
|
+
|
|
122
|
+
We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
123
|
+
|
|
124
|
+
- 🧮 Support Data Grid `size`, `size(true)`, and `size(false)` [aggregations for `'boolean'` column type](https://mui.com/x/react-data-grid/aggregation/#usage-with-row-grouping)
|
|
125
|
+
- 🔎 Allow zooming a heatmap
|
|
126
|
+
|
|
127
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
128
|
+
@henkerik, @sai6855
|
|
129
|
+
|
|
130
|
+
The following team members contributed to this release:
|
|
131
|
+
@alelthomas, @alexfauquette, @arminmeh, @bernardobelchior, @brijeshb42, @flaviendelangle, @JCQuintas, @mapache-salvaje, @MBilalShafi, @siriwatknp
|
|
132
|
+
|
|
133
|
+
### Data Grid
|
|
134
|
+
|
|
135
|
+
#### `@mui/x-data-grid@8.23.0`
|
|
136
|
+
|
|
137
|
+
- [DataGrid] Fix columns state and columns prop sync issue (#20703) @arminmeh
|
|
138
|
+
- [DataGrid] Fix filter datetime with seconds (#20557) @siriwatknp
|
|
139
|
+
- [DataGrid] Add new `includeHeaderFilters` flag to include header filters when autosizing columns (#20510) @siriwatknp
|
|
140
|
+
- [DataGrid] Prevent default on `Enter` key down when starting editing (#20751) @siriwatknp
|
|
141
|
+
- [l10n] Improve Portuguese from Portugal (pt-PT) locale (#20722) @Copilot
|
|
142
|
+
|
|
143
|
+
#### `@mui/x-data-grid-pro@8.23.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
144
|
+
|
|
145
|
+
Same changes as in `@mui/x-data-grid@8.23.0`, plus:
|
|
146
|
+
|
|
147
|
+
- [DataGridPro] Fix crash on rows change in tree data with pagination (#20215) @Copilot
|
|
148
|
+
|
|
149
|
+
#### `@mui/x-data-grid-premium@8.23.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
150
|
+
|
|
151
|
+
Same changes as in `@mui/x-data-grid-pro@8.23.0`, plus:
|
|
152
|
+
|
|
153
|
+
- [DataGridPremium] Add aggregation for `'boolean'` column type (#20683) @arminmeh
|
|
154
|
+
- [DataGridPremium] Fix strategy value computation with row grouping (#20725) @MBilalShafi
|
|
155
|
+
- [DataGridPremium] Handle `isRowSelectable()` checks for the rows missing due to `keepNonExistentRowsSelected` (#20668) @arminmeh
|
|
156
|
+
|
|
157
|
+
### Date and Time Pickers
|
|
158
|
+
|
|
159
|
+
#### `@mui/x-date-pickers@8.23.0`
|
|
160
|
+
|
|
161
|
+
Internal changes.
|
|
162
|
+
|
|
163
|
+
#### `@mui/x-date-pickers-pro@8.23.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
164
|
+
|
|
165
|
+
Same changes as in `@mui/x-date-pickers@8.23.0`.
|
|
166
|
+
|
|
167
|
+
### Charts
|
|
168
|
+
|
|
169
|
+
#### `@mui/x-charts@8.23.0`
|
|
170
|
+
|
|
171
|
+
- [charts] Custom stack functions implementation (#20679) @JCQuintas
|
|
172
|
+
- [charts] Extract keyboard focus navigation to the series config (#20693) @alexfauquette
|
|
173
|
+
- [charts] Fix demo not wrapping in mobile (#20713) @JCQuintas
|
|
174
|
+
- [charts] Fix missing dependencies in `x-charts-vendor` (#20685) @henkerik
|
|
175
|
+
- [charts] Remove webkit test differences (#20707) @JCQuintas
|
|
176
|
+
|
|
177
|
+
#### `@mui/x-charts-pro@8.23.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
178
|
+
|
|
179
|
+
Same changes as in `@mui/x-charts@8.23.0`, plus:
|
|
180
|
+
|
|
181
|
+
- [charts-pro] Allow registering preview plots from higher tier packages (#20716) @bernardobelchior
|
|
182
|
+
- [charts-pro] Fix erroneous behavior when adding/removing pointers from zoom&pan gestures (#20698) @JCQuintas
|
|
183
|
+
- [charts-pro] Move heatmap highlight handling to plot component (#20701) @bernardobelchior
|
|
184
|
+
- [charts-pro] Add zoom to heatmap (#20708) @bernardobelchior
|
|
185
|
+
|
|
186
|
+
#### `@mui/x-charts-premium@8.23.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
187
|
+
|
|
188
|
+
Same changes as in `@mui/x-charts-pro@8.23.0`.
|
|
189
|
+
|
|
190
|
+
### Tree View
|
|
191
|
+
|
|
192
|
+
#### `@mui/x-tree-view@8.23.0`
|
|
193
|
+
|
|
194
|
+
- [tree view] Add new APIs to disable selection feature for tree view item (#20666) @siriwatknp
|
|
195
|
+
|
|
196
|
+
#### `@mui/x-tree-view-pro@8.23.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
197
|
+
|
|
198
|
+
Same changes as in `@mui/x-tree-view@8.23.0`.
|
|
199
|
+
|
|
200
|
+
### Codemod
|
|
201
|
+
|
|
202
|
+
#### `@mui/x-codemod@8.23.0`
|
|
203
|
+
|
|
204
|
+
Internal changes.
|
|
205
|
+
|
|
206
|
+
### Docs
|
|
207
|
+
|
|
208
|
+
- [docs] Clarify feature availability and relationship between Community and Pro/Premium docs (#20714) @mapache-salvaje
|
|
209
|
+
- [docs] Copyedit Tree View docs and apply new component style rules (DX-19) (#20652) @mapache-salvaje
|
|
210
|
+
- [docs] Fix `ColumnPinningDynamicRowHeight` demo (#20750) @sai6855
|
|
211
|
+
- [docs] Clean up Charts docs sidebar (DX-97) (#20700) @alelthomas
|
|
212
|
+
- [docs] Fix tick labels not being shown on a demo (#20718) @sai6855
|
|
213
|
+
|
|
214
|
+
### Core
|
|
215
|
+
|
|
216
|
+
- [code-infra] Bump prettier to 3.7.4 (#20709) @JCQuintas
|
|
217
|
+
- [code-infra] Fix contributor generation logic in changelog script (#20705) @brijeshb42
|
|
218
|
+
|
|
8
219
|
## 8.22.1
|
|
9
220
|
|
|
10
221
|
_Dec 17, 2025_
|
|
@@ -37,7 +37,7 @@ var _DateRangePickerDay2 = require("../DateRangePickerDay2");
|
|
|
37
37
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
38
38
|
const _excluded = ["value", "defaultValue", "referenceDate", "onChange", "className", "classes", "disableFuture", "disablePast", "minDate", "maxDate", "shouldDisableDate", "reduceAnimations", "onMonthChange", "rangePosition", "defaultRangePosition", "onRangePositionChange", "calendars", "currentMonthCalendarPosition", "slots", "slotProps", "loading", "renderLoading", "disableHighlightToday", "focusedView", "onFocusedViewChange", "readOnly", "disabled", "showDaysOutsideCurrentMonth", "dayOfWeekFormatter", "disableAutoMonthSwitching", "autoFocus", "fixedWeekNumber", "disableDragEditing", "displayWeekNumber", "timezone", "availableRangePositions", "views", "view", "openTo", "onViewChange"],
|
|
39
39
|
_excluded2 = ["isDragging", "rangeDragDay", "draggingDatePosition"];
|
|
40
|
-
const releaseInfo = "
|
|
40
|
+
const releaseInfo = "MTc2NzgzMDQwMDAwMA==";
|
|
41
41
|
const DateRangeCalendarRoot = (0, _styles.styled)('div', {
|
|
42
42
|
name: 'MuiDateRangeCalendar',
|
|
43
43
|
slot: 'Root'
|
|
@@ -57,7 +57,9 @@ const DateRangeCalendarMonthContainer = (0, _styles.styled)('div', {
|
|
|
57
57
|
}
|
|
58
58
|
}));
|
|
59
59
|
const weeksContainerHeight = (_dimensions.DAY_RANGE_SIZE + _dimensions.DAY_MARGIN * 2) * 6;
|
|
60
|
-
const InnerDayCalendarForRange = (0, _styles.styled)(_internals.DayCalendar
|
|
60
|
+
const InnerDayCalendarForRange = (0, _styles.styled)(_internals.DayCalendar, {
|
|
61
|
+
slot: 'internal'
|
|
62
|
+
})(({
|
|
61
63
|
theme
|
|
62
64
|
}) => ({
|
|
63
65
|
minWidth: 312,
|
|
@@ -206,7 +206,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
206
206
|
* @param {TValue} value The value that was just accepted.
|
|
207
207
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
208
208
|
* - `validationError`: validation result of the current value
|
|
209
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
209
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
210
210
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
211
211
|
*/
|
|
212
212
|
onAccept: _propTypes.default.func,
|
|
@@ -235,7 +235,7 @@ const DateRangePickerDayRaw = /*#__PURE__*/React.forwardRef(function DateRangePi
|
|
|
235
235
|
showDaysOutsideCurrentMonth
|
|
236
236
|
} = props,
|
|
237
237
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
238
|
-
(0, _xLicense.useLicenseVerifier)('x-date-pickers-pro', "
|
|
238
|
+
(0, _xLicense.useLicenseVerifier)('x-date-pickers-pro', "MTc2NzgzMDQwMDAwMA==");
|
|
239
239
|
const adapter = (0, _hooks.usePickerAdapter)();
|
|
240
240
|
const shouldRenderHighlight = isHighlighting && !outsideCurrentMonth;
|
|
241
241
|
const shouldRenderPreview = isPreviewing && !outsideCurrentMonth;
|
|
@@ -239,7 +239,7 @@ process.env.NODE_ENV !== "production" ? DateTimeRangePicker.propTypes = {
|
|
|
239
239
|
* @param {TValue} value The value that was just accepted.
|
|
240
240
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
241
241
|
* - `validationError`: validation result of the current value
|
|
242
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
242
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
243
243
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
244
244
|
*/
|
|
245
245
|
onAccept: _propTypes.default.func,
|
|
@@ -216,7 +216,7 @@ DesktopDateRangePicker.propTypes = {
|
|
|
216
216
|
* @param {TValue} value The value that was just accepted.
|
|
217
217
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
218
218
|
* - `validationError`: validation result of the current value
|
|
219
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
219
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
220
220
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
221
221
|
*/
|
|
222
222
|
onAccept: _propTypes.default.func,
|
|
@@ -336,7 +336,7 @@ DesktopDateTimeRangePicker.propTypes = {
|
|
|
336
336
|
* @param {TValue} value The value that was just accepted.
|
|
337
337
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
338
338
|
* - `validationError`: validation result of the current value
|
|
339
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
339
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
340
340
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
341
341
|
*/
|
|
342
342
|
onAccept: _propTypes.default.func,
|
|
@@ -242,7 +242,7 @@ DesktopTimeRangePicker.propTypes = {
|
|
|
242
242
|
* @param {TValue} value The value that was just accepted.
|
|
243
243
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
244
244
|
* - `validationError`: validation result of the current value
|
|
245
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
245
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
246
246
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
247
247
|
*/
|
|
248
248
|
onAccept: _propTypes.default.func,
|
|
@@ -213,7 +213,7 @@ MobileDateRangePicker.propTypes = {
|
|
|
213
213
|
* @param {TValue} value The value that was just accepted.
|
|
214
214
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
215
215
|
* - `validationError`: validation result of the current value
|
|
216
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
216
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
217
217
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
218
218
|
*/
|
|
219
219
|
onAccept: _propTypes.default.func,
|
|
@@ -336,7 +336,7 @@ MobileDateTimeRangePicker.propTypes = {
|
|
|
336
336
|
* @param {TValue} value The value that was just accepted.
|
|
337
337
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
338
338
|
* - `validationError`: validation result of the current value
|
|
339
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
339
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
340
340
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
341
341
|
*/
|
|
342
342
|
onAccept: _propTypes.default.func,
|
|
@@ -230,7 +230,7 @@ MobileTimeRangePicker.propTypes = {
|
|
|
230
230
|
* @param {TValue} value The value that was just accepted.
|
|
231
231
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
232
232
|
* - `validationError`: validation result of the current value
|
|
233
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
233
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
234
234
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
235
235
|
*/
|
|
236
236
|
onAccept: _propTypes.default.func,
|
|
@@ -18,7 +18,9 @@ var _hooks = require("@mui/x-date-pickers/hooks");
|
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
19
|
const _excluded = ["calendars", "month", "monthIndex", "labelId"],
|
|
20
20
|
_excluded2 = ["format", "slots", "slotProps", "currentMonth", "onMonthChange", "disableFuture", "disablePast", "minDate", "maxDate", "timezone", "reduceAnimations", "views", "view"];
|
|
21
|
-
const PickersRangeCalendarHeaderContentMultipleCalendars = (0, _styles.styled)(_internals.PickersArrowSwitcher
|
|
21
|
+
const PickersRangeCalendarHeaderContentMultipleCalendars = (0, _styles.styled)(_internals.PickersArrowSwitcher, {
|
|
22
|
+
slot: 'internal'
|
|
23
|
+
})({
|
|
22
24
|
padding: '12px 16px 4px 16px',
|
|
23
25
|
display: 'flex',
|
|
24
26
|
alignItems: 'center',
|
|
@@ -172,7 +172,7 @@ StaticDateRangePicker.propTypes = {
|
|
|
172
172
|
* @param {TValue} value The value that was just accepted.
|
|
173
173
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
174
174
|
* - `validationError`: validation result of the current value
|
|
175
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
175
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
176
176
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
177
177
|
*/
|
|
178
178
|
onAccept: _propTypes.default.func,
|
|
@@ -174,7 +174,7 @@ process.env.NODE_ENV !== "production" ? TimeRangePicker.propTypes = {
|
|
|
174
174
|
* @param {TValue} value The value that was just accepted.
|
|
175
175
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
176
176
|
* - `validationError`: validation result of the current value
|
|
177
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
177
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
178
178
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
179
179
|
*/
|
|
180
180
|
onAccept: _propTypes.default.func,
|
|
@@ -30,7 +30,7 @@ import { PickersRangeCalendarHeader } from "../PickersRangeCalendarHeader/index.
|
|
|
30
30
|
import { useNullablePickerRangePositionContext } from "../internals/hooks/useNullablePickerRangePositionContext.js";
|
|
31
31
|
import { dateRangePickerDay2Classes } from "../DateRangePickerDay2/index.js";
|
|
32
32
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
33
|
-
const releaseInfo = "
|
|
33
|
+
const releaseInfo = "MTc2NzgzMDQwMDAwMA==";
|
|
34
34
|
const DateRangeCalendarRoot = styled('div', {
|
|
35
35
|
name: 'MuiDateRangeCalendar',
|
|
36
36
|
slot: 'Root'
|
|
@@ -50,7 +50,9 @@ const DateRangeCalendarMonthContainer = styled('div', {
|
|
|
50
50
|
}
|
|
51
51
|
}));
|
|
52
52
|
const weeksContainerHeight = (DAY_RANGE_SIZE + DAY_MARGIN * 2) * 6;
|
|
53
|
-
const InnerDayCalendarForRange = styled(DayCalendar
|
|
53
|
+
const InnerDayCalendarForRange = styled(DayCalendar, {
|
|
54
|
+
slot: 'internal'
|
|
55
|
+
})(({
|
|
54
56
|
theme
|
|
55
57
|
}) => ({
|
|
56
58
|
minWidth: 312,
|
|
@@ -199,7 +199,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
199
199
|
* @param {TValue} value The value that was just accepted.
|
|
200
200
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
201
201
|
* - `validationError`: validation result of the current value
|
|
202
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
202
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
203
203
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
204
204
|
*/
|
|
205
205
|
onAccept: PropTypes.func,
|
|
@@ -228,7 +228,7 @@ const DateRangePickerDayRaw = /*#__PURE__*/React.forwardRef(function DateRangePi
|
|
|
228
228
|
showDaysOutsideCurrentMonth
|
|
229
229
|
} = props,
|
|
230
230
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
231
|
-
useLicenseVerifier('x-date-pickers-pro', "
|
|
231
|
+
useLicenseVerifier('x-date-pickers-pro', "MTc2NzgzMDQwMDAwMA==");
|
|
232
232
|
const adapter = usePickerAdapter();
|
|
233
233
|
const shouldRenderHighlight = isHighlighting && !outsideCurrentMonth;
|
|
234
234
|
const shouldRenderPreview = isPreviewing && !outsideCurrentMonth;
|
|
@@ -232,7 +232,7 @@ process.env.NODE_ENV !== "production" ? DateTimeRangePicker.propTypes = {
|
|
|
232
232
|
* @param {TValue} value The value that was just accepted.
|
|
233
233
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
234
234
|
* - `validationError`: validation result of the current value
|
|
235
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
235
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
236
236
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
237
237
|
*/
|
|
238
238
|
onAccept: PropTypes.func,
|
|
@@ -209,7 +209,7 @@ DesktopDateRangePicker.propTypes = {
|
|
|
209
209
|
* @param {TValue} value The value that was just accepted.
|
|
210
210
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
211
211
|
* - `validationError`: validation result of the current value
|
|
212
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
212
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
213
213
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
214
214
|
*/
|
|
215
215
|
onAccept: PropTypes.func,
|
|
@@ -329,7 +329,7 @@ DesktopDateTimeRangePicker.propTypes = {
|
|
|
329
329
|
* @param {TValue} value The value that was just accepted.
|
|
330
330
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
331
331
|
* - `validationError`: validation result of the current value
|
|
332
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
332
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
333
333
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
334
334
|
*/
|
|
335
335
|
onAccept: PropTypes.func,
|
|
@@ -235,7 +235,7 @@ DesktopTimeRangePicker.propTypes = {
|
|
|
235
235
|
* @param {TValue} value The value that was just accepted.
|
|
236
236
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
237
237
|
* - `validationError`: validation result of the current value
|
|
238
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
238
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
239
239
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
240
240
|
*/
|
|
241
241
|
onAccept: PropTypes.func,
|
|
@@ -206,7 +206,7 @@ MobileDateRangePicker.propTypes = {
|
|
|
206
206
|
* @param {TValue} value The value that was just accepted.
|
|
207
207
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
208
208
|
* - `validationError`: validation result of the current value
|
|
209
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
209
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
210
210
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
211
211
|
*/
|
|
212
212
|
onAccept: PropTypes.func,
|
|
@@ -329,7 +329,7 @@ MobileDateTimeRangePicker.propTypes = {
|
|
|
329
329
|
* @param {TValue} value The value that was just accepted.
|
|
330
330
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
331
331
|
* - `validationError`: validation result of the current value
|
|
332
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
332
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
333
333
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
334
334
|
*/
|
|
335
335
|
onAccept: PropTypes.func,
|
|
@@ -223,7 +223,7 @@ MobileTimeRangePicker.propTypes = {
|
|
|
223
223
|
* @param {TValue} value The value that was just accepted.
|
|
224
224
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
225
225
|
* - `validationError`: validation result of the current value
|
|
226
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
226
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
227
227
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
228
228
|
*/
|
|
229
229
|
onAccept: PropTypes.func,
|
|
@@ -11,7 +11,9 @@ import { PickersCalendarHeader } from '@mui/x-date-pickers/PickersCalendarHeader
|
|
|
11
11
|
import { PickersArrowSwitcher, useNextMonthDisabled, usePreviousMonthDisabled } from '@mui/x-date-pickers/internals';
|
|
12
12
|
import { usePickerAdapter, usePickerTranslations } from '@mui/x-date-pickers/hooks';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
const PickersRangeCalendarHeaderContentMultipleCalendars = styled(PickersArrowSwitcher
|
|
14
|
+
const PickersRangeCalendarHeaderContentMultipleCalendars = styled(PickersArrowSwitcher, {
|
|
15
|
+
slot: 'internal'
|
|
16
|
+
})({
|
|
15
17
|
padding: '12px 16px 4px 16px',
|
|
16
18
|
display: 'flex',
|
|
17
19
|
alignItems: 'center',
|
|
@@ -165,7 +165,7 @@ StaticDateRangePicker.propTypes = {
|
|
|
165
165
|
* @param {TValue} value The value that was just accepted.
|
|
166
166
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
167
167
|
* - `validationError`: validation result of the current value
|
|
168
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
168
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
169
169
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
170
170
|
*/
|
|
171
171
|
onAccept: PropTypes.func,
|
|
@@ -167,7 +167,7 @@ process.env.NODE_ENV !== "production" ? TimeRangePicker.propTypes = {
|
|
|
167
167
|
* @param {TValue} value The value that was just accepted.
|
|
168
168
|
* @param {FieldChangeHandlerContext<TError>} context Context about this acceptance:
|
|
169
169
|
* - `validationError`: validation result of the current value
|
|
170
|
-
* - `source`: source of the acceptance. One of 'field' | '
|
|
170
|
+
* - `source`: source of the acceptance. One of 'field' | 'view' | 'unknown'
|
|
171
171
|
* - `shortcut` (optional): the shortcut metadata if the value was accepted via a shortcut selection
|
|
172
172
|
*/
|
|
173
173
|
onAccept: PropTypes.func,
|
package/esm/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export const useDesktopRangePicker = _ref => {
|
|
|
18
18
|
steps
|
|
19
19
|
} = _ref,
|
|
20
20
|
pickerParams = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
21
|
-
useLicenseVerifier('x-date-pickers-pro', "
|
|
21
|
+
useLicenseVerifier('x-date-pickers-pro', "MTc2NzgzMDQwMDAwMA==");
|
|
22
22
|
const {
|
|
23
23
|
slots,
|
|
24
24
|
slotProps,
|
|
@@ -20,7 +20,7 @@ export const useMobileRangePicker = _ref => {
|
|
|
20
20
|
steps
|
|
21
21
|
} = _ref,
|
|
22
22
|
pickerParams = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
23
|
-
useLicenseVerifier('x-date-pickers-pro', "
|
|
23
|
+
useLicenseVerifier('x-date-pickers-pro', "MTc2NzgzMDQwMDAwMA==");
|
|
24
24
|
const {
|
|
25
25
|
slots,
|
|
26
26
|
slotProps: innerSlotProps,
|
|
@@ -9,7 +9,9 @@ import { useRangePosition } from "../useRangePosition.js";
|
|
|
9
9
|
import { PickerRangePositionContext } from "../../../hooks/usePickerRangePositionContext.js";
|
|
10
10
|
import { createRangePickerStepNavigation } from "../../utils/createRangePickerStepNavigation.js";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
const PickerStaticLayout = styled(PickersLayout
|
|
12
|
+
const PickerStaticLayout = styled(PickersLayout, {
|
|
13
|
+
slot: 'internal'
|
|
14
|
+
})(({
|
|
13
15
|
theme
|
|
14
16
|
}) => ({
|
|
15
17
|
overflow: 'hidden',
|
package/index.js
CHANGED
|
@@ -25,7 +25,7 @@ const useDesktopRangePicker = _ref => {
|
|
|
25
25
|
steps
|
|
26
26
|
} = _ref,
|
|
27
27
|
pickerParams = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);
|
|
28
|
-
(0, _xLicense.useLicenseVerifier)('x-date-pickers-pro', "
|
|
28
|
+
(0, _xLicense.useLicenseVerifier)('x-date-pickers-pro', "MTc2NzgzMDQwMDAwMA==");
|
|
29
29
|
const {
|
|
30
30
|
slots,
|
|
31
31
|
slotProps,
|
|
@@ -27,7 +27,7 @@ const useMobileRangePicker = _ref => {
|
|
|
27
27
|
steps
|
|
28
28
|
} = _ref,
|
|
29
29
|
pickerParams = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);
|
|
30
|
-
(0, _xLicense.useLicenseVerifier)('x-date-pickers-pro', "
|
|
30
|
+
(0, _xLicense.useLicenseVerifier)('x-date-pickers-pro', "MTc2NzgzMDQwMDAwMA==");
|
|
31
31
|
const {
|
|
32
32
|
slots,
|
|
33
33
|
slotProps: innerSlotProps,
|
|
@@ -16,7 +16,9 @@ var _usePickerRangePositionContext = require("../../../hooks/usePickerRangePosit
|
|
|
16
16
|
var _createRangePickerStepNavigation = require("../../utils/createRangePickerStepNavigation");
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
18
|
const _excluded = ["props", "steps"];
|
|
19
|
-
const PickerStaticLayout = (0, _styles.styled)(_PickersLayout.PickersLayout
|
|
19
|
+
const PickerStaticLayout = (0, _styles.styled)(_PickersLayout.PickersLayout, {
|
|
20
|
+
slot: 'internal'
|
|
21
|
+
})(({
|
|
20
22
|
theme
|
|
21
23
|
}) => ({
|
|
22
24
|
overflow: 'hidden',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-date-pickers-pro",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.24.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Pro plan edition of the MUI X Date and Time Picker components.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"clsx": "^2.1.1",
|
|
36
36
|
"prop-types": "^15.8.1",
|
|
37
37
|
"react-transition-group": "^4.4.5",
|
|
38
|
-
"@mui/x-date-pickers": "8.
|
|
39
|
-
"@mui/x-
|
|
40
|
-
"@mui/x-
|
|
38
|
+
"@mui/x-date-pickers": "8.24.0",
|
|
39
|
+
"@mui/x-internals": "8.24.0",
|
|
40
|
+
"@mui/x-license": "8.24.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@emotion/react": "^11.9.0",
|