@mui/x-date-pickers-pro 8.2.0 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +199 -6
- package/DateRangeCalendar/DateRangeCalendar.js +1 -1
- package/DateRangePickerDay/DateRangePickerDay.js +1 -1
- package/esm/DateRangeCalendar/DateRangeCalendar.js +1 -1
- package/esm/DateRangePickerDay/DateRangePickerDay.js +1 -1
- package/esm/index.js +1 -1
- package/esm/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.js +2 -2
- package/esm/internals/hooks/useMobileRangePicker/useMobileRangePicker.js +2 -2
- package/index.js +1 -1
- package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.js +2 -2
- package/internals/hooks/useMobileRangePicker/useMobileRangePicker.js +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,201 @@
|
|
|
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.3.1
|
|
9
|
+
|
|
10
|
+
_May 14, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🌍 Improve Norwegian Bokmål (nb-NO) locale on the Data Grid
|
|
15
|
+
- 🌍 Improve Korean (ko-KR) locale on the Data Grid and Pickers
|
|
16
|
+
- 📚 Documentation improvements
|
|
17
|
+
- 🐞 Bugfixes
|
|
18
|
+
|
|
19
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
20
|
+
@100pearlcent, @htollefsen, @JanPretzel, @sai6855.
|
|
21
|
+
Following are all team members who have contributed to this release:
|
|
22
|
+
@bernardobelchior, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @MBilalShafi, @oliviertassinari, @prakhargupta1.
|
|
23
|
+
|
|
24
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
25
|
+
|
|
26
|
+
### Data Grid
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid@8.3.1`
|
|
29
|
+
|
|
30
|
+
- [DataGrid] Add `reason` param for `onRowSelectionModelChange` callback (#17545) @sai6855
|
|
31
|
+
- [DataGrid] Fix `renderContext` calculation loop (#17779) @cherniavskii
|
|
32
|
+
- [DataGrid] Fix column spanning jump on scroll (#17759) @cherniavskii
|
|
33
|
+
- [DataGrid] Fix material augmentation not working (#17761) @cherniavskii
|
|
34
|
+
- [DataGrid] Use arguments selector for checkbox props (#17683) @MBilalShafi
|
|
35
|
+
- [l10n] Improve Norwegian Bokmål (nb-NO) locale (#17766) @htollefsen
|
|
36
|
+
- [l10n] Improve Korean (ko-KR) locale (#17484) @100pearlcent
|
|
37
|
+
|
|
38
|
+
#### `@mui/x-data-grid-pro@8.3.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
39
|
+
|
|
40
|
+
Same changes as in `@mui/x-data-grid@8.3.1`.
|
|
41
|
+
|
|
42
|
+
#### `@mui/x-data-grid-premium@8.3.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
43
|
+
|
|
44
|
+
Same changes as in `@mui/x-data-grid-pro@8.3.1`, plus:
|
|
45
|
+
|
|
46
|
+
- [DataGridPremium] Fix aggregation label not being used in pivot panel (#17760) @cherniavskii
|
|
47
|
+
|
|
48
|
+
### Date and Time Pickers
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-date-pickers@8.3.1`
|
|
51
|
+
|
|
52
|
+
- [fields] Add notch to the field outlined when the label is manually shrank (#17620) @flaviendelangle
|
|
53
|
+
- [l10n] Improve Korean (ko-KR) locale (#17484) @100pearlcent
|
|
54
|
+
|
|
55
|
+
#### `@mui/x-date-pickers-pro@8.3.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
56
|
+
|
|
57
|
+
Same changes as in `@mui/x-date-pickers@8.3.1`.
|
|
58
|
+
|
|
59
|
+
### Charts
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-charts@8.3.1`
|
|
62
|
+
|
|
63
|
+
- [charts] Fix infinite tick number when zoom range is zero (#17750) @bernardobelchior
|
|
64
|
+
- [charts] Improve tick rendering performance (#17755) @bernardobelchior
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-charts-pro@8.3.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
67
|
+
|
|
68
|
+
Same changes as in `@mui/x-charts@8.3.1`, plus:
|
|
69
|
+
|
|
70
|
+
- [charts-pro] Fix ESM build issue with Vite (#17774) @bernardobelchior
|
|
71
|
+
- [charts-pro] Add benchmark for zoomed in scatter chart (#17756) @bernardobelchior
|
|
72
|
+
|
|
73
|
+
### Tree View
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-tree-view@8.3.1`
|
|
76
|
+
|
|
77
|
+
Internal changes.
|
|
78
|
+
|
|
79
|
+
#### `@mui/x-tree-view-pro@8.3.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
80
|
+
|
|
81
|
+
Same changes as in `@mui/x-tree-view@8.3.1`.
|
|
82
|
+
|
|
83
|
+
### Docs
|
|
84
|
+
|
|
85
|
+
- [docs] Fix 301 to Next.js docs for license @oliviertassinari
|
|
86
|
+
- [docs] Fix AI assistant API URL (#17745) @oliviertassinari
|
|
87
|
+
- [docs] Fix heading structure in README @oliviertassinari
|
|
88
|
+
- [docs] Fix translation keys documentation (#17811) @JanPretzel
|
|
89
|
+
- [docs] Improve CHANGELOG format @oliviertassinari
|
|
90
|
+
|
|
91
|
+
### Core
|
|
92
|
+
|
|
93
|
+
- [core] Apply YAML convention, blank line only at top level @oliviertassinari
|
|
94
|
+
- [code-infra] Fix dynamic import missing extensions (#17767) @Janpot
|
|
95
|
+
- [code-infra] Replace `mocha` with `vitest` for browser & jsdom tests (#14508) @JCQuintas
|
|
96
|
+
- [scheduler] Create the package and setup a private doc page (#17239) @flaviendelangle
|
|
97
|
+
|
|
98
|
+
## 8.3.0
|
|
99
|
+
|
|
100
|
+
_May 8, 2025_
|
|
101
|
+
|
|
102
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
103
|
+
|
|
104
|
+
- 🎨 Added new styling options and shapes for `<FunnelChart />`, including `variant`, `borderRadius`, `pyramid`, and `step-pyramid` curves.
|
|
105
|
+
- 📚 Documentation improvements
|
|
106
|
+
- 🐞 Bugfixes
|
|
107
|
+
|
|
108
|
+
Special thanks go out to this community member for a valuable contribution: @ptuukkan.
|
|
109
|
+
Team members who have contributed to this release: @alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @rita-codes, @romgrk.
|
|
110
|
+
|
|
111
|
+
### Data Grid
|
|
112
|
+
|
|
113
|
+
#### `@mui/x-data-grid@8.3.0`
|
|
114
|
+
|
|
115
|
+
- [DataGrid] Fix cell editing of computed columns with data source (#17684) @ptuukkan
|
|
116
|
+
- [DataGrid] Fix lazy loading crash with `isRowSelectable` prop (#17629) @MBilalShafi
|
|
117
|
+
- [DataGrid] Fix: use CSS nonce (#17726) @romgrk
|
|
118
|
+
- [DataGrid] Ignore `preProcessEditCellProps` for non-editable columns when starting a row update (#17732) @arminmeh
|
|
119
|
+
- [DataGrid] Avoid applying row selection propagation on filtered rows (#17739) @MBilalShafi
|
|
120
|
+
|
|
121
|
+
#### `@mui/x-data-grid-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
122
|
+
|
|
123
|
+
Same changes as in `@mui/x-data-grid@8.3.0`.
|
|
124
|
+
|
|
125
|
+
#### `@mui/x-data-grid-premium@8.3.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
126
|
+
|
|
127
|
+
Same changes as in `@mui/x-data-grid-pro@8.3.0`.
|
|
128
|
+
|
|
129
|
+
### Date and Time Pickers
|
|
130
|
+
|
|
131
|
+
#### `@mui/x-date-pickers@8.3.0`
|
|
132
|
+
|
|
133
|
+
- [DateTimePicker] Fix focus behavior on desktop variant (#17719) @LukasTy
|
|
134
|
+
- [pickers] Avoid `DigitalClock` stealing focus from a Picker open button on close (#17686) @LukasTy
|
|
135
|
+
|
|
136
|
+
#### `@mui/x-date-pickers-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
137
|
+
|
|
138
|
+
Same changes as in `@mui/x-date-pickers@8.3.0`, plus:
|
|
139
|
+
|
|
140
|
+
- [DateRangePicker] Fix to reset range position after closing mobile Picker (#17631) @LukasTy
|
|
141
|
+
|
|
142
|
+
### Charts
|
|
143
|
+
|
|
144
|
+
- The `<FunnelChart />` series now accepts a `variant='outlined'` prop for a simpler style.
|
|
145
|
+
<img width="398" alt="Screenshot 2025-05-06 at 20 36 12" src="https://github.com/user-attachments/assets/00fef14f-9026-421e-a4b6-7e081adce1e8" />
|
|
146
|
+
|
|
147
|
+
- Add a `borderRadius` property to `<FunnelChart />`. All funnels have `8px` as a default value.
|
|
148
|
+
<img width="386" alt="Screenshot 2025-05-06 at 14 00 20" src="https://github.com/user-attachments/assets/4f4cc0e7-01ce-4ed6-a0e1-a387f78def23" />
|
|
149
|
+
|
|
150
|
+
- Add a `pyramid` curve to `<FunnelChart />`, which allows creation of a pyramid-shaped funnel.
|
|
151
|
+
<img width="344" alt="Screenshot 2025-05-06 at 14 32 59" src="https://github.com/user-attachments/assets/0b2896e0-0478-4766-bb1b-258a4977a751" />
|
|
152
|
+
|
|
153
|
+
- Add a `step-pyramid` curve to `<FunnelChart />`, which creates a stepped-pyramid like shape.
|
|
154
|
+
<img width="344" alt="Screenshot 2025-05-06 at 14 33 03" src="https://github.com/user-attachments/assets/894f0ab3-7898-40fe-b0df-560feea4085a" />
|
|
155
|
+
|
|
156
|
+
#### `@mui/x-charts@8.3.0`
|
|
157
|
+
|
|
158
|
+
- [charts] Add charts toolbar with zoom options (#17615) @bernardobelchior
|
|
159
|
+
- [charts] Add zoom slider (#17496) @bernardobelchior
|
|
160
|
+
- [charts] Cleanup compiler warnings (#17360) @alexfauquette
|
|
161
|
+
- [charts] Fix `<PieArcLabel />` not taking `arcLabelRadius` into account (#17655) @bernardobelchior
|
|
162
|
+
- [charts] Fix spark line not having clip path (#17501) @bernardobelchior
|
|
163
|
+
- [charts] Fix type issue with ESM (#17624) @alexfauquette
|
|
164
|
+
- [charts] Improve `<MarkElement />` performance (#17546) @bernardobelchior
|
|
165
|
+
- [charts] Rename `materialSlots` internal constant (#17710) @bernardobelchior
|
|
166
|
+
- [charts] Update zoom slider design (#17682) @bernardobelchior
|
|
167
|
+
- [charts] Fix zoom being documented as available for heatmap (#17657) @bernardobelchior
|
|
168
|
+
|
|
169
|
+
#### `@mui/x-charts-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
170
|
+
|
|
171
|
+
Same changes as in `@mui/x-charts@8.3.0`, plus:
|
|
172
|
+
|
|
173
|
+
- [charts-pro] Add `pyramid` curve to `<FunnelChart />` (#17665) @JCQuintas
|
|
174
|
+
- [charts-pro] Add `variant='outlined'` to `<FunnelChart />` series (#17661) @JCQuintas
|
|
175
|
+
- [charts-pro] Add a `borderRadius` property to `<FunnelChart />` (#17660) @JCQuintas
|
|
176
|
+
|
|
177
|
+
### Tree View
|
|
178
|
+
|
|
179
|
+
#### `@mui/x-tree-view@8.3.0`
|
|
180
|
+
|
|
181
|
+
- [tree view] Bug fix - Escape does not cancel Drag n Drop (#17735) @rita-codes
|
|
182
|
+
- [tree view] Fix keyboard navigation error (#17685) @rita-codes
|
|
183
|
+
- [tree view] Continue cleaning the plugin system (#17386) @flaviendelangle
|
|
184
|
+
|
|
185
|
+
#### `@mui/x-tree-view-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
186
|
+
|
|
187
|
+
Same changes as in `@mui/x-tree-view@8.3.0`.
|
|
188
|
+
|
|
189
|
+
### Docs
|
|
190
|
+
|
|
191
|
+
- [charts] Add population pyramid demo (#17652) @bernardobelchior
|
|
192
|
+
- [charts] Fix randomised argos test (#17658) @JCQuintas
|
|
193
|
+
- [docs] Make preview messaging consistent in charts @bernardobelchior
|
|
194
|
+
|
|
195
|
+
### Core
|
|
196
|
+
|
|
197
|
+
- [code-infra] Avoid `node` types in the built packages (#17533) @LukasTy
|
|
198
|
+
- [code-infra] Add `pkg.pr.new` publishing (#17402) @Janpot
|
|
199
|
+
- [code-infra] Normalize author package in org @oliviertassinari
|
|
200
|
+
- [code-infra] Remove required checkout step (#17729) @JCQuintas
|
|
201
|
+
- [docs-infra] Normalize netlify.toml in org @oliviertassinari
|
|
202
|
+
|
|
8
203
|
## 8.2.0
|
|
9
204
|
|
|
10
205
|
_May 1, 2025_
|
|
@@ -424,8 +619,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
424
619
|
- 📚 Documentation improvements
|
|
425
620
|
- 🐞 Bugfixes
|
|
426
621
|
|
|
427
|
-
Team members who have contributed to this release:
|
|
428
|
-
@bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @noraleonte, @romgrk, @alexfauquette.
|
|
622
|
+
Team members who have contributed to this release: @bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @noraleonte, @romgrk, @alexfauquette.
|
|
429
623
|
|
|
430
624
|
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
431
625
|
|
|
@@ -738,7 +932,7 @@ We'd like to offer a big thanks to the 21 contributors who made this release pos
|
|
|
738
932
|
- 🌍 Improve Chinese (zh-CN), (zh-HK), (zh-TW), Czech (cs-CZ), Korean (ko-KR) and Slovak (sk-Sk) locales on the Data Grid
|
|
739
933
|
- 🌍 Improve Chinese (zh-CN), (zh-HK) and (zh-TW) locales on the Pickers
|
|
740
934
|
|
|
741
|
-
|
|
935
|
+
### Breaking changes
|
|
742
936
|
|
|
743
937
|
- ℹ️ The peer dependency on `@mui/material` has been updated to accept only v7.
|
|
744
938
|
This has been done to increase the adoption rate of ESM.
|
|
@@ -751,7 +945,7 @@ Following are all team members who have contributed to this release:
|
|
|
751
945
|
|
|
752
946
|
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
753
947
|
|
|
754
|
-
|
|
948
|
+
### Alpha release highlights
|
|
755
949
|
|
|
756
950
|
Below are the highlights of the alpha releases leading up to this beta release:
|
|
757
951
|
|
|
@@ -3045,8 +3239,7 @@ We'd like to offer a big thanks to the 4 contributors who made this release poss
|
|
|
3045
3239
|
|
|
3046
3240
|
- 🐞 Bugfixes
|
|
3047
3241
|
|
|
3048
|
-
Team members who have contributed to this release:
|
|
3049
|
-
@arminmeh, @cherniavskii, @LukasTy, @michelengelen.
|
|
3242
|
+
Team members who have contributed to this release: @arminmeh, @cherniavskii, @LukasTy, @michelengelen.
|
|
3050
3243
|
|
|
3051
3244
|
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
3052
3245
|
|
|
@@ -35,7 +35,7 @@ var _useNullablePickerRangePositionContext = require("../internals/hooks/useNull
|
|
|
35
35
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
36
36
|
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"],
|
|
37
37
|
_excluded2 = ["isDragging", "rangeDragDay", "draggingDatePosition"];
|
|
38
|
-
const releaseInfo = "
|
|
38
|
+
const releaseInfo = "MTc0NzE3MzYwMDAwMA==";
|
|
39
39
|
const DateRangeCalendarRoot = (0, _styles.styled)('div', {
|
|
40
40
|
name: 'MuiDateRangeCalendar',
|
|
41
41
|
slot: 'Root'
|
|
@@ -234,7 +234,7 @@ const DateRangePickerDayRaw = /*#__PURE__*/React.forwardRef(function DateRangePi
|
|
|
234
234
|
showDaysOutsideCurrentMonth
|
|
235
235
|
} = props,
|
|
236
236
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
237
|
-
(0, _xLicense.useLicenseVerifier)('x-date-pickers-pro', "
|
|
237
|
+
(0, _xLicense.useLicenseVerifier)('x-date-pickers-pro', "MTc0NzE3MzYwMDAwMA==");
|
|
238
238
|
const utils = (0, _internals.useUtils)();
|
|
239
239
|
const shouldRenderHighlight = isHighlighting && !outsideCurrentMonth;
|
|
240
240
|
const shouldRenderPreview = isPreviewing && !outsideCurrentMonth;
|
|
@@ -28,7 +28,7 @@ import { DAY_RANGE_SIZE, DAY_MARGIN } from "../internals/constants/dimensions.js
|
|
|
28
28
|
import { PickersRangeCalendarHeader } from "../PickersRangeCalendarHeader/index.js";
|
|
29
29
|
import { useNullablePickerRangePositionContext } from "../internals/hooks/useNullablePickerRangePositionContext.js";
|
|
30
30
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
31
|
-
const releaseInfo = "
|
|
31
|
+
const releaseInfo = "MTc0NzE3MzYwMDAwMA==";
|
|
32
32
|
const DateRangeCalendarRoot = styled('div', {
|
|
33
33
|
name: 'MuiDateRangeCalendar',
|
|
34
34
|
slot: 'Root'
|
|
@@ -227,7 +227,7 @@ const DateRangePickerDayRaw = /*#__PURE__*/React.forwardRef(function DateRangePi
|
|
|
227
227
|
showDaysOutsideCurrentMonth
|
|
228
228
|
} = props,
|
|
229
229
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
230
|
-
useLicenseVerifier('x-date-pickers-pro', "
|
|
230
|
+
useLicenseVerifier('x-date-pickers-pro', "MTc0NzE3MzYwMDAwMA==");
|
|
231
231
|
const utils = useUtils();
|
|
232
232
|
const shouldRenderHighlight = isHighlighting && !outsideCurrentMonth;
|
|
233
233
|
const shouldRenderPreview = isPreviewing && !outsideCurrentMonth;
|
package/esm/index.js
CHANGED
|
@@ -19,7 +19,7 @@ export const useDesktopRangePicker = _ref => {
|
|
|
19
19
|
steps
|
|
20
20
|
} = _ref,
|
|
21
21
|
pickerParams = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
22
|
-
useLicenseVerifier('x-date-pickers-pro', "
|
|
22
|
+
useLicenseVerifier('x-date-pickers-pro', "MTc0NzE3MzYwMDAwMA==");
|
|
23
23
|
const {
|
|
24
24
|
slots,
|
|
25
25
|
slotProps,
|
|
@@ -44,7 +44,7 @@ export const useDesktopRangePicker = _ref => {
|
|
|
44
44
|
viewContainerRole,
|
|
45
45
|
localeText,
|
|
46
46
|
getStepNavigation,
|
|
47
|
-
onPopperExited: useEventCallback(() => rangePositionResponse.setRangePosition('start'))
|
|
47
|
+
onPopperExited: useEventCallback(() => rangePositionResponse.setRangePosition(props.defaultRangePosition ?? 'start'))
|
|
48
48
|
}));
|
|
49
49
|
const Field = slots.field;
|
|
50
50
|
const _useSlotProps = useSlotProps({
|
|
@@ -21,7 +21,7 @@ export const useMobileRangePicker = _ref => {
|
|
|
21
21
|
steps
|
|
22
22
|
} = _ref,
|
|
23
23
|
pickerParams = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
24
|
-
useLicenseVerifier('x-date-pickers-pro', "
|
|
24
|
+
useLicenseVerifier('x-date-pickers-pro', "MTc0NzE3MzYwMDAwMA==");
|
|
25
25
|
const {
|
|
26
26
|
slots,
|
|
27
27
|
slotProps: innerSlotProps,
|
|
@@ -47,7 +47,7 @@ export const useMobileRangePicker = _ref => {
|
|
|
47
47
|
viewContainerRole: 'dialog',
|
|
48
48
|
localeText,
|
|
49
49
|
getStepNavigation,
|
|
50
|
-
onPopperExited: useEventCallback(() => rangePositionResponse.setRangePosition('start'))
|
|
50
|
+
onPopperExited: useEventCallback(() => rangePositionResponse.setRangePosition(props.defaultRangePosition ?? 'start'))
|
|
51
51
|
}));
|
|
52
52
|
const labelId = providerProps.privateContextValue.labelId;
|
|
53
53
|
const isToolbarHidden = innerSlotProps?.toolbar?.hidden ?? false;
|
package/index.js
CHANGED
|
@@ -27,7 +27,7 @@ const useDesktopRangePicker = _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', "MTc0NzE3MzYwMDAwMA==");
|
|
31
31
|
const {
|
|
32
32
|
slots,
|
|
33
33
|
slotProps,
|
|
@@ -52,7 +52,7 @@ const useDesktopRangePicker = _ref => {
|
|
|
52
52
|
viewContainerRole,
|
|
53
53
|
localeText,
|
|
54
54
|
getStepNavigation,
|
|
55
|
-
onPopperExited: (0, _useEventCallback.default)(() => rangePositionResponse.setRangePosition('start'))
|
|
55
|
+
onPopperExited: (0, _useEventCallback.default)(() => rangePositionResponse.setRangePosition(props.defaultRangePosition ?? 'start'))
|
|
56
56
|
}));
|
|
57
57
|
const Field = slots.field;
|
|
58
58
|
const _useSlotProps = (0, _useSlotProps2.default)({
|
|
@@ -29,7 +29,7 @@ const useMobileRangePicker = _ref => {
|
|
|
29
29
|
steps
|
|
30
30
|
} = _ref,
|
|
31
31
|
pickerParams = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);
|
|
32
|
-
(0, _xLicense.useLicenseVerifier)('x-date-pickers-pro', "
|
|
32
|
+
(0, _xLicense.useLicenseVerifier)('x-date-pickers-pro', "MTc0NzE3MzYwMDAwMA==");
|
|
33
33
|
const {
|
|
34
34
|
slots,
|
|
35
35
|
slotProps: innerSlotProps,
|
|
@@ -55,7 +55,7 @@ const useMobileRangePicker = _ref => {
|
|
|
55
55
|
viewContainerRole: 'dialog',
|
|
56
56
|
localeText,
|
|
57
57
|
getStepNavigation,
|
|
58
|
-
onPopperExited: (0, _useEventCallback.default)(() => rangePositionResponse.setRangePosition('start'))
|
|
58
|
+
onPopperExited: (0, _useEventCallback.default)(() => rangePositionResponse.setRangePosition(props.defaultRangePosition ?? 'start'))
|
|
59
59
|
}));
|
|
60
60
|
const labelId = providerProps.privateContextValue.labelId;
|
|
61
61
|
const isToolbarHidden = innerSlotProps?.toolbar?.hidden ?? false;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-date-pickers-pro",
|
|
3
|
-
"version": "8.
|
|
4
|
-
"description": "The Pro plan edition of the Date and Time Picker components (MUI X).",
|
|
3
|
+
"version": "8.3.1",
|
|
5
4
|
"author": "MUI Team",
|
|
5
|
+
"description": "The Pro plan edition of the MUI X Date and Time Picker components.",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"license": "SEE LICENSE IN LICENSE",
|
|
8
8
|
"bugs": {
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"directory": "packages/x-date-pickers-pro"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@babel/runtime": "^7.27.
|
|
35
|
+
"@babel/runtime": "^7.27.1",
|
|
36
36
|
"@mui/utils": "^7.0.2",
|
|
37
37
|
"clsx": "^2.1.1",
|
|
38
38
|
"prop-types": "^15.8.1",
|
|
39
39
|
"react-transition-group": "^4.4.5",
|
|
40
|
-
"@mui/x-date-pickers": "8.
|
|
41
|
-
"@mui/x-
|
|
42
|
-
"@mui/x-
|
|
40
|
+
"@mui/x-date-pickers": "8.3.1",
|
|
41
|
+
"@mui/x-license": "8.3.1",
|
|
42
|
+
"@mui/x-internals": "8.3.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@emotion/react": "^11.9.0",
|