@mui/x-date-pickers 9.0.0-alpha.2 → 9.0.0-alpha.3
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 +123 -1
- package/DateCalendar/PickersSlideTransition.js +7 -13
- package/DateCalendar/PickersSlideTransition.mjs +7 -13
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/components/PickersModalDialog.js +7 -4
- package/internals/components/PickersModalDialog.mjs +7 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,127 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0-alpha.3
|
|
4
|
+
|
|
5
|
+
_Mar 12, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 🐞 Bugfixes and internal improvements
|
|
10
|
+
|
|
11
|
+
The following team members contributed to this release:
|
|
12
|
+
@aemartos, @alexfauquette, @bernardobelchior, @brijeshb42, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @MBilalShafi, @michelengelen, @rita-codes, @sai6855, @siriwatknp
|
|
13
|
+
|
|
14
|
+
### Data Grid
|
|
15
|
+
|
|
16
|
+
#### `@mui/x-data-grid@9.0.0-alpha.3`
|
|
17
|
+
|
|
18
|
+
- [DataGrid] Fix crash when `rows` and `rowModesModel` are updated simultaneously (#21265) @michelengelen
|
|
19
|
+
- [DataGrid] Add missing `resizablePanelHandle` classes to `gridClasses` object (#21538) @sai6855
|
|
20
|
+
- [DataGrid] Refactor `headerAlign` style calls (#21541) @sai6855
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
|
+
|
|
24
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.3`, plus:
|
|
25
|
+
|
|
26
|
+
- [DataGridPro] Add `role="presentation"` to detail panel toggle header content (#21634) @michelengelen
|
|
27
|
+
- [DataGridPro] Fix sorting not reflected in nested server-side data (#21619) @MBilalShafi
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
30
|
+
|
|
31
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.3`.
|
|
32
|
+
|
|
33
|
+
### Date and Time Pickers
|
|
34
|
+
|
|
35
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.3`
|
|
36
|
+
|
|
37
|
+
- [pickers] Refactor `DateRangePickerDay` overrides to use a centralized `elementOverrides` object (#21426) @sai6855
|
|
38
|
+
- [pickers] Migrate from deprecated props for `PickersModalDialog` (#21702) @siriwatknp
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.3`.
|
|
43
|
+
|
|
44
|
+
### Charts
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts@9.0.0-alpha.3`
|
|
47
|
+
|
|
48
|
+
- [charts] Differentiate Line Plot roots classes (#21679) @JCQuintas
|
|
49
|
+
- [charts] Enable keyboard navigation by default (#21675) @alexfauquette
|
|
50
|
+
- [charts] Fix keyboard tooltip radar (#21667) @alexfauquette
|
|
51
|
+
- [charts] Fix selector default parameter (#21638) @JCQuintas
|
|
52
|
+
- [charts] Fix tooltip blink between node and pointer anchor (#21611) @alexfauquette
|
|
53
|
+
- [charts] Let tooltip and legend reflect the line shape (#21475) @alexfauquette
|
|
54
|
+
- [charts] Refactor `BarChart` classes structure (#21601) @JCQuintas
|
|
55
|
+
- [charts] Refactor `LineChart` classes structure (#21648) @JCQuintas
|
|
56
|
+
- [charts] Refactor `ScatterChart` classes structure (#21651) @JCQuintas
|
|
57
|
+
- [charts] Refactor `PieChart` classes structure (#21649) @JCQuintas
|
|
58
|
+
- [charts] Remove batch rendering checks in highlight selectors (#21646) @bernardobelchior
|
|
59
|
+
- [charts] Standardize generic arg names to `SeriesType` (#21694) @alexfauquette
|
|
60
|
+
- [charts] Simplify highlight hooks return types (#21695) @alexfauquette
|
|
61
|
+
|
|
62
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
63
|
+
|
|
64
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.3`, plus:
|
|
65
|
+
|
|
66
|
+
- [charts-pro] Fix heatmap style override from `arc` to `cell` (#21693) @Copilot
|
|
67
|
+
- [charts-pro] Fix image export truncated when page is zoomed out (#21685) @bernardobelchior
|
|
68
|
+
- [charts-pro] Speed-up heatmap cell search with an index lookup (#21130) @alexfauquette
|
|
69
|
+
- [charts-pro] Fix heatmap highlight not working (#21710) @Copilot
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
|
|
74
|
+
|
|
75
|
+
- [charts-premium] Re-enable WebGL tests (#21708) @bernardobelchior
|
|
76
|
+
|
|
77
|
+
### Tree View
|
|
78
|
+
|
|
79
|
+
#### Breaking changes
|
|
80
|
+
|
|
81
|
+
- Remove `TreeViewBaseItem` type (use `TreeViewDefaultItemModelProperties` or a custom interface)
|
|
82
|
+
- Remove `useTreeViewApiRef` hook (use `useRichTreeViewApiRef`, `useSimpleTreeViewApiRef`, or `useRichTreeViewProApiRef`)
|
|
83
|
+
- Remove `status` from content slot props returned by `getContentProps()` (use `data-*` attributes; `status` on `useTreeItem` return value is unchanged)
|
|
84
|
+
- Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
|
|
85
|
+
- The `<RichTreeViewPro />` component has now virtualization enabled by default.
|
|
86
|
+
- The items used inside the `<RichTreeViewPro />` now have a default height of `32px`.
|
|
87
|
+
- The events of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
|
|
88
|
+
|
|
89
|
+
#### `@mui/x-tree-view@9.0.0-alpha.3`
|
|
90
|
+
|
|
91
|
+
- [tree view] Remove deprecated APIs (#21591) @flaviendelangle
|
|
92
|
+
- [tree view] Fix collapsed children not selected with `selectionPropagation.descendants` in `SimpleTreeView` (#21253) @flaviendelangle
|
|
93
|
+
|
|
94
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
95
|
+
|
|
96
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.3`, plus:
|
|
97
|
+
|
|
98
|
+
- [RichTreeViewPro] Make the virtualization opt-out and port the layout doc from the data grid (#21461) @flaviendelangle
|
|
99
|
+
|
|
100
|
+
### Codemod
|
|
101
|
+
|
|
102
|
+
#### `@mui/x-codemod@9.0.0-alpha.3`
|
|
103
|
+
|
|
104
|
+
Internal changes.
|
|
105
|
+
|
|
106
|
+
### Docs
|
|
107
|
+
|
|
108
|
+
- [docs] Fix `AssistantWithDataSource` demo crashing (#21555) @sai6855
|
|
109
|
+
- [docs] Remove `Preview` pill from Sankey (#21623) @bernardobelchior
|
|
110
|
+
- [docs] Migrate internal Material UI deprecated APIs (#21680) @siriwatknp
|
|
111
|
+
- [docs] Remove `New` flag on Tree View and Date and Time Pickers features released before v9 alpha (#21585) @flaviendelangle
|
|
112
|
+
|
|
113
|
+
### Core
|
|
114
|
+
|
|
115
|
+
- [code-infra] Remove checkout step (#21688) @Janpot
|
|
116
|
+
- [code-infra] Fix contributor generation in changelog (#21718) @brijeshb42
|
|
117
|
+
- [docs-infra] Do not point to non-existent v8 subdomain (#21640) @cherniavskii
|
|
118
|
+
|
|
119
|
+
### Miscellaneous
|
|
120
|
+
|
|
121
|
+
- [test] Add missing tests for forwarding props to filter operators in DataGrid (#21441) @siriwatknp
|
|
122
|
+
- [x-license] Export additional license types and constants (#21625) @aemartos
|
|
123
|
+
- [x-license] Refactor license verification to accept package info object and add v9 version gating (#21690) @aemartos
|
|
124
|
+
|
|
3
125
|
## 9.0.0-alpha.2
|
|
4
126
|
|
|
5
127
|
_Mar 5, 2026_
|
|
@@ -92,7 +214,7 @@ Internal changes.
|
|
|
92
214
|
|
|
93
215
|
- [docs] Add backticks and parentheses to all functions and hooks (DX-173) (#21496) @mapache-salvaje
|
|
94
216
|
- [docs] Remove mentions of `mySvgRef` (#21559) @bernardobelchior
|
|
95
|
-
- [docs] Update Roadmap section in the docs
|
|
217
|
+
- [docs] Update Roadmap section in the docs (#20892) @alelthomas
|
|
96
218
|
- [docs] Add tutorial and example app for aggregation with row grouping (DX-162) (#21102) @mapache-salvaje
|
|
97
219
|
- [docs] Fix missing codemod docs (#21604) @JCQuintas
|
|
98
220
|
|
|
@@ -30,22 +30,16 @@ const useUtilityClasses = (classes, ownerState) => {
|
|
|
30
30
|
};
|
|
31
31
|
return (0, _composeClasses.default)(slots, _pickersSlideTransitionClasses.getPickersSlideTransitionUtilityClass, classes);
|
|
32
32
|
};
|
|
33
|
+
const elementOverrides = ['slideEnter-left', 'slideEnter-right', 'slideEnterActive', 'slideExit', 'slideExitActiveLeft-left', 'slideExitActiveLeft-right'];
|
|
33
34
|
const PickersSlideTransitionRoot = (0, _styles.styled)(_reactTransitionGroup.TransitionGroup, {
|
|
34
35
|
name: 'MuiPickersSlideTransition',
|
|
35
36
|
slot: 'Root',
|
|
36
|
-
overridesResolver: (_, styles) =>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}, {
|
|
43
|
-
[`.${_pickersSlideTransitionClasses.pickersSlideTransitionClasses.slideExit}`]: styles.slideExit
|
|
44
|
-
}, {
|
|
45
|
-
[`.${_pickersSlideTransitionClasses.pickersSlideTransitionClasses['slideExitActiveLeft-left']}`]: styles['slideExitActiveLeft-left']
|
|
46
|
-
}, {
|
|
47
|
-
[`.${_pickersSlideTransitionClasses.pickersSlideTransitionClasses['slideExitActiveLeft-right']}`]: styles['slideExitActiveLeft-right']
|
|
48
|
-
}]
|
|
37
|
+
overridesResolver: (_, styles) => elementOverrides.reduce((acc, key) => {
|
|
38
|
+
acc.push({
|
|
39
|
+
[`.${_pickersSlideTransitionClasses.pickersSlideTransitionClasses[key]}`]: styles[key]
|
|
40
|
+
});
|
|
41
|
+
return acc;
|
|
42
|
+
}, [styles.root])
|
|
49
43
|
})(({
|
|
50
44
|
theme
|
|
51
45
|
}) => {
|
|
@@ -22,22 +22,16 @@ const useUtilityClasses = (classes, ownerState) => {
|
|
|
22
22
|
};
|
|
23
23
|
return composeClasses(slots, getPickersSlideTransitionUtilityClass, classes);
|
|
24
24
|
};
|
|
25
|
+
const elementOverrides = ['slideEnter-left', 'slideEnter-right', 'slideEnterActive', 'slideExit', 'slideExitActiveLeft-left', 'slideExitActiveLeft-right'];
|
|
25
26
|
const PickersSlideTransitionRoot = styled(TransitionGroup, {
|
|
26
27
|
name: 'MuiPickersSlideTransition',
|
|
27
28
|
slot: 'Root',
|
|
28
|
-
overridesResolver: (_, styles) =>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}, {
|
|
35
|
-
[`.${pickersSlideTransitionClasses.slideExit}`]: styles.slideExit
|
|
36
|
-
}, {
|
|
37
|
-
[`.${pickersSlideTransitionClasses['slideExitActiveLeft-left']}`]: styles['slideExitActiveLeft-left']
|
|
38
|
-
}, {
|
|
39
|
-
[`.${pickersSlideTransitionClasses['slideExitActiveLeft-right']}`]: styles['slideExitActiveLeft-right']
|
|
40
|
-
}]
|
|
29
|
+
overridesResolver: (_, styles) => elementOverrides.reduce((acc, key) => {
|
|
30
|
+
acc.push({
|
|
31
|
+
[`.${pickersSlideTransitionClasses[key]}`]: styles[key]
|
|
32
|
+
});
|
|
33
|
+
return acc;
|
|
34
|
+
}, [styles.root])
|
|
41
35
|
})(({
|
|
42
36
|
theme
|
|
43
37
|
}) => {
|
package/index.js
CHANGED
package/index.mjs
CHANGED
|
@@ -48,7 +48,6 @@ function PickersModalDialog(props) {
|
|
|
48
48
|
onPopperExited
|
|
49
49
|
} = (0, _usePickerPrivateContext.usePickerPrivateContext)();
|
|
50
50
|
const Dialog = slots?.dialog ?? PickersModalDialogRoot;
|
|
51
|
-
const Transition = slots?.mobileTransition ?? _Fade.default;
|
|
52
51
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Dialog, (0, _extends2.default)({
|
|
53
52
|
open: open,
|
|
54
53
|
onClose: () => {
|
|
@@ -56,10 +55,14 @@ function PickersModalDialog(props) {
|
|
|
56
55
|
onPopperExited?.();
|
|
57
56
|
}
|
|
58
57
|
}, slotProps?.dialog, {
|
|
59
|
-
TransitionComponent: Transition,
|
|
60
|
-
TransitionProps: slotProps?.mobileTransition,
|
|
61
58
|
PaperComponent: slots?.mobilePaper,
|
|
62
|
-
|
|
59
|
+
slots: (0, _extends2.default)({
|
|
60
|
+
transition: slots?.mobileTransition ?? _Fade.default
|
|
61
|
+
}, slotProps?.dialog?.slots),
|
|
62
|
+
slotProps: (0, _extends2.default)({
|
|
63
|
+
transition: slotProps?.mobileTransition,
|
|
64
|
+
paper: slotProps?.mobilePaper
|
|
65
|
+
}, slotProps?.dialog?.slotProps),
|
|
63
66
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(PickersModalDialogContent, {
|
|
64
67
|
children: children
|
|
65
68
|
})
|
|
@@ -40,7 +40,6 @@ export function PickersModalDialog(props) {
|
|
|
40
40
|
onPopperExited
|
|
41
41
|
} = usePickerPrivateContext();
|
|
42
42
|
const Dialog = slots?.dialog ?? PickersModalDialogRoot;
|
|
43
|
-
const Transition = slots?.mobileTransition ?? Fade;
|
|
44
43
|
return /*#__PURE__*/_jsx(Dialog, _extends({
|
|
45
44
|
open: open,
|
|
46
45
|
onClose: () => {
|
|
@@ -48,10 +47,14 @@ export function PickersModalDialog(props) {
|
|
|
48
47
|
onPopperExited?.();
|
|
49
48
|
}
|
|
50
49
|
}, slotProps?.dialog, {
|
|
51
|
-
TransitionComponent: Transition,
|
|
52
|
-
TransitionProps: slotProps?.mobileTransition,
|
|
53
50
|
PaperComponent: slots?.mobilePaper,
|
|
54
|
-
|
|
51
|
+
slots: _extends({
|
|
52
|
+
transition: slots?.mobileTransition ?? Fade
|
|
53
|
+
}, slotProps?.dialog?.slots),
|
|
54
|
+
slotProps: _extends({
|
|
55
|
+
transition: slotProps?.mobileTransition,
|
|
56
|
+
paper: slotProps?.mobilePaper
|
|
57
|
+
}, slotProps?.dialog?.slotProps),
|
|
55
58
|
children: /*#__PURE__*/_jsx(PickersModalDialogContent, {
|
|
56
59
|
children: children
|
|
57
60
|
})
|