@mui/x-date-pickers-pro 8.2.0 → 8.3.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 +107 -0
- 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,113 @@
|
|
|
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.0
|
|
9
|
+
|
|
10
|
+
_May 8, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🎨 Added new styling options and shapes for `<FunnelChart />`, including `variant`, `borderRadius`, `pyramid`, and `step-pyramid` curves.
|
|
15
|
+
- 📚 Documentation improvements
|
|
16
|
+
- 🐞 Bugfixes
|
|
17
|
+
|
|
18
|
+
Special thanks go out to this community member for a valuable contribution:
|
|
19
|
+
@ptuukkan.
|
|
20
|
+
Team members who have contributed to this release:
|
|
21
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @rita-codes, @romgrk.
|
|
22
|
+
|
|
23
|
+
### Data Grid
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid@8.3.0`
|
|
26
|
+
|
|
27
|
+
- [DataGrid] Fix cell editing of computed columns with data source (#17684) @ptuukkan
|
|
28
|
+
- [DataGrid] Fix lazy loading crash with `isRowSelectable` prop (#17629) @MBilalShafi
|
|
29
|
+
- [DataGrid] Fix: use CSS nonce (#17726) @romgrk
|
|
30
|
+
- [DataGrid] Ignore `preProcessEditCellProps` for non-editable columns when starting a row update (#17732) @arminmeh
|
|
31
|
+
- [DataGrid] Avoid applying row selection propagation on filtered rows (#17739) @MBilalShafi
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid@8.3.0`.
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@8.3.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@8.3.0`.
|
|
40
|
+
|
|
41
|
+
### Date and Time Pickers
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-date-pickers@8.3.0`
|
|
44
|
+
|
|
45
|
+
- [DateTimePicker] Fix focus behavior on desktop variant (#17719) @LukasTy
|
|
46
|
+
- [pickers] Avoid `DigitalClock` stealing focus from a Picker open button on close (#17686) @LukasTy
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-date-pickers-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
49
|
+
|
|
50
|
+
Same changes as in `@mui/x-date-pickers@8.3.0`, plus:
|
|
51
|
+
|
|
52
|
+
- [DateRangePicker] Fix to reset range position after closing mobile Picker (#17631) @LukasTy
|
|
53
|
+
|
|
54
|
+
### Charts
|
|
55
|
+
|
|
56
|
+
- The `<FunnelChart />` series now accepts a `variant='outlined'` prop for a simpler style.
|
|
57
|
+
<img width="398" alt="Screenshot 2025-05-06 at 20 36 12" src="https://github.com/user-attachments/assets/00fef14f-9026-421e-a4b6-7e081adce1e8" />
|
|
58
|
+
|
|
59
|
+
- Add a `borderRadius` property to `<FunnelChart />`. All funnels have `8px` as a default value.
|
|
60
|
+
<img width="386" alt="Screenshot 2025-05-06 at 14 00 20" src="https://github.com/user-attachments/assets/4f4cc0e7-01ce-4ed6-a0e1-a387f78def23" />
|
|
61
|
+
|
|
62
|
+
- Add a `pyramid` curve to `<FunnelChart />`, which allows creation of a pyramid-shaped funnel.
|
|
63
|
+
<img width="344" alt="Screenshot 2025-05-06 at 14 32 59" src="https://github.com/user-attachments/assets/0b2896e0-0478-4766-bb1b-258a4977a751" />
|
|
64
|
+
|
|
65
|
+
- Add a `step-pyramid` curve to `<FunnelChart />`, which creates a stepped-pyramid like shape.
|
|
66
|
+
<img width="344" alt="Screenshot 2025-05-06 at 14 33 03" src="https://github.com/user-attachments/assets/894f0ab3-7898-40fe-b0df-560feea4085a" />
|
|
67
|
+
|
|
68
|
+
#### `@mui/x-charts@8.3.0`
|
|
69
|
+
|
|
70
|
+
- [charts] Add charts toolbar with zoom options (#17615) @bernardobelchior
|
|
71
|
+
- [charts] Add zoom slider (#17496) @bernardobelchior
|
|
72
|
+
- [charts] Cleanup compiler warnings (#17360) @alexfauquette
|
|
73
|
+
- [charts] Fix `<PieArcLabel />` not taking `arcLabelRadius` into account (#17655) @bernardobelchior
|
|
74
|
+
- [charts] Fix spark line not having clip path (#17501) @bernardobelchior
|
|
75
|
+
- [charts] Fix type issue with ESM (#17624) @alexfauquette
|
|
76
|
+
- [charts] Improve `<MarkElement />` performance (#17546) @bernardobelchior
|
|
77
|
+
- [charts] Rename `materialSlots` internal constant (#17710) @bernardobelchior
|
|
78
|
+
- [charts] Update zoom slider design (#17682) @bernardobelchior
|
|
79
|
+
- [charts] Fix zoom being documented as available for heatmap (#17657) @bernardobelchior
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-charts-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
82
|
+
|
|
83
|
+
Same changes as in `@mui/x-charts@8.3.0`, plus:
|
|
84
|
+
|
|
85
|
+
- [charts-pro] Add `pyramid` curve to `<FunnelChart />` (#17665) @JCQuintas
|
|
86
|
+
- [charts-pro] Add `variant='outlined'` to `<FunnelChart />` series (#17661) @JCQuintas
|
|
87
|
+
- [charts-pro] Add a `borderRadius` property to `<FunnelChart />` (#17660) @JCQuintas
|
|
88
|
+
|
|
89
|
+
### Tree View
|
|
90
|
+
|
|
91
|
+
#### `@mui/x-tree-view@8.3.0`
|
|
92
|
+
|
|
93
|
+
- [tree view] Bug fix - Escape does not cancel Drag n Drop (#17735) @rita-codes
|
|
94
|
+
- [tree view] Fix keyboard navigation error (#17685) @rita-codes
|
|
95
|
+
- [tree view] Continue cleaning the plugin system (#17386) @flaviendelangle
|
|
96
|
+
|
|
97
|
+
#### `@mui/x-tree-view-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
98
|
+
|
|
99
|
+
Same changes as in `@mui/x-tree-view@8.3.0`.
|
|
100
|
+
|
|
101
|
+
### Docs
|
|
102
|
+
|
|
103
|
+
- [charts] Add population pyramid demo (#17652) @bernardobelchior
|
|
104
|
+
- [charts] Fix randomised argos test (#17658) @JCQuintas
|
|
105
|
+
- [docs] Make preview messaging consistent in charts @bernardobelchior
|
|
106
|
+
|
|
107
|
+
### Core
|
|
108
|
+
|
|
109
|
+
- [code-infra] Avoid `node` types in the built packages (#17533) @LukasTy
|
|
110
|
+
- [code-infra] Add `pkg.pr.new` publishing (#17402) @Janpot
|
|
111
|
+
- [code-infra] Normalize author package in org @oliviertassinari
|
|
112
|
+
- [code-infra] Remove required checkout step (#17729) @JCQuintas
|
|
113
|
+
- [docs-infra] Normalize netlify.toml in org @oliviertassinari
|
|
114
|
+
|
|
8
115
|
## 8.2.0
|
|
9
116
|
|
|
10
117
|
_May 1, 2025_
|
|
@@ -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 = "MTc0NjY1NTIwMDAwMA==";
|
|
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', "MTc0NjY1NTIwMDAwMA==");
|
|
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 = "MTc0NjY1NTIwMDAwMA==";
|
|
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', "MTc0NjY1NTIwMDAwMA==");
|
|
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', "MTc0NjY1NTIwMDAwMA==");
|
|
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', "MTc0NjY1NTIwMDAwMA==");
|
|
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', "MTc0NjY1NTIwMDAwMA==");
|
|
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', "MTc0NjY1NTIwMDAwMA==");
|
|
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.0",
|
|
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-
|
|
41
|
-
"@mui/x-internals": "8.
|
|
42
|
-
"@mui/x-
|
|
40
|
+
"@mui/x-license": "8.3.0",
|
|
41
|
+
"@mui/x-internals": "8.3.0",
|
|
42
|
+
"@mui/x-date-pickers": "8.3.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@emotion/react": "^11.9.0",
|