@mui/x-date-pickers 8.26.0 → 8.27.2
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 +225 -0
- package/DateCalendar/DayCalendar.js +5 -0
- package/MonthCalendar/MonthCalendar.js +6 -1
- package/YearCalendar/YearCalendar.js +6 -1
- package/esm/DateCalendar/DayCalendar.js +5 -0
- package/esm/MonthCalendar/MonthCalendar.js +6 -1
- package/esm/YearCalendar/YearCalendar.js +6 -1
- package/esm/index.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,231 @@
|
|
|
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.27.2
|
|
9
|
+
|
|
10
|
+
_Feb 20, 2026_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
|
|
16
|
+
### Data Grid
|
|
17
|
+
|
|
18
|
+
#### `@mui/x-data-grid@8.27.2`
|
|
19
|
+
|
|
20
|
+
Internal changes.
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid-pro@8.27.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
|
+
|
|
24
|
+
Same changes as in `@mui/x-data-grid@8.27.2`, plus:
|
|
25
|
+
|
|
26
|
+
- [DataGridPro] Fix number input visibility in header filters (#21345) @michelengelen
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid-premium@8.27.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
29
|
+
|
|
30
|
+
Same changes as in `@mui/x-data-grid-pro@8.27.2`.
|
|
31
|
+
|
|
32
|
+
### Date and Time Pickers
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-date-pickers@8.27.2`
|
|
35
|
+
|
|
36
|
+
- [DatePicker] Add keyboard support for selecting day, month, and year (#21399) @michelengelen
|
|
37
|
+
|
|
38
|
+
#### `@mui/x-date-pickers-pro@8.27.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
39
|
+
|
|
40
|
+
Same changes as in `@mui/x-date-pickers@8.27.2`, plus:
|
|
41
|
+
|
|
42
|
+
- [DateRangePicker] Fix timezone update issue leading to `invalidRange` error (#21382) @michelengelen
|
|
43
|
+
|
|
44
|
+
### Charts
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts@8.27.2`
|
|
47
|
+
|
|
48
|
+
Internal changes.
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts-pro@8.27.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-charts@8.27.2`, plus:
|
|
53
|
+
|
|
54
|
+
- [charts-pro] Handle edge case in export image (#21206) @bernardobelchior
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-charts-premium@8.27.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
57
|
+
|
|
58
|
+
Same changes as in `@mui/x-charts-pro@8.27.2`.
|
|
59
|
+
|
|
60
|
+
### Tree View
|
|
61
|
+
|
|
62
|
+
#### `@mui/x-tree-view@8.27.2`
|
|
63
|
+
|
|
64
|
+
- [tree view] Focus item sibling on unmount instead of the 1st item (#21386) @flaviendelangle
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-tree-view-pro@8.27.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
67
|
+
|
|
68
|
+
Same changes as in `@mui/x-tree-view@8.27.2`.
|
|
69
|
+
|
|
70
|
+
### Codemod
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-codemod@8.27.2`
|
|
73
|
+
|
|
74
|
+
Internal changes.
|
|
75
|
+
|
|
76
|
+
### Core
|
|
77
|
+
|
|
78
|
+
- [code-infra] Only ignore `renovate[bot]` in changelog generation script (#21188) @bernardobelchior
|
|
79
|
+
|
|
80
|
+
## v8.27.1
|
|
81
|
+
|
|
82
|
+
<!-- generated comparing v8.27.0..v8.x -->
|
|
83
|
+
|
|
84
|
+
_Feb 13, 2026_
|
|
85
|
+
|
|
86
|
+
We'd like to extend a big thank you to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
87
|
+
|
|
88
|
+
- 📝 CSS bundler support is no longer needed for the Data Grid
|
|
89
|
+
- 🐞 Bugfixes
|
|
90
|
+
|
|
91
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
92
|
+
@sai6855
|
|
93
|
+
|
|
94
|
+
The following team members contributed to this release:
|
|
95
|
+
@arminmeh, @cherniavskii, @flaviendelangle, @mj12albert, @MBilalShafi
|
|
96
|
+
|
|
97
|
+
### Data Grid
|
|
98
|
+
|
|
99
|
+
#### `@mui/x-data-grid@8.27.1`
|
|
100
|
+
|
|
101
|
+
- [DataGrid] Hide column menu icon when there are no items (#21303) @MBilalShafi
|
|
102
|
+
- [DataGrid] Migrate styled imports and remove `index.css` (#21176) @MBilalShafi
|
|
103
|
+
- [DataGrid] Optimize `GridRootStyles` overrides resolver (#21251) @sai6855
|
|
104
|
+
|
|
105
|
+
#### `@mui/x-data-grid-pro@8.27.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
106
|
+
|
|
107
|
+
Same changes as in `@mui/x-data-grid@8.27.1`, plus:
|
|
108
|
+
|
|
109
|
+
- [DataGridPro] Fix column pinning issue with `restoreState` (#21305) @MBilalShafi
|
|
110
|
+
- [DataGridPro] Fix lazy loading params for page with one row (#21238) @MBilalShafi
|
|
111
|
+
- [DataGridPro] Properly extract parent path (#21301) @arminmeh
|
|
112
|
+
|
|
113
|
+
#### `@mui/x-data-grid-premium@8.27.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
114
|
+
|
|
115
|
+
Same changes as in `@mui/x-data-grid-pro@8.27.1`, plus:
|
|
116
|
+
|
|
117
|
+
- [DataGridPremium] Fix aggregation display when `initialState` has both `sortModel` and `pinnedColumns` (#21152) @mj12albert
|
|
118
|
+
|
|
119
|
+
### Tree View
|
|
120
|
+
|
|
121
|
+
#### `@mui/x-tree-view@8.27.1`
|
|
122
|
+
|
|
123
|
+
- [tree view] Fix `apiRef.current.setItemExpansion()` (#21095) @flaviendelangle
|
|
124
|
+
|
|
125
|
+
#### `@mui/x-tree-view-pro@8.27.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
126
|
+
|
|
127
|
+
Same changes as in `@mui/x-tree-view@8.27.1`.
|
|
128
|
+
|
|
129
|
+
### Core
|
|
130
|
+
|
|
131
|
+
- [internal] Add CLI for translation using LLM (#21299) @cherniavskii
|
|
132
|
+
|
|
133
|
+
## v8.27.0
|
|
134
|
+
|
|
135
|
+
_Feb 2, 2026_
|
|
136
|
+
|
|
137
|
+
We'd like to extend a big thank you to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
138
|
+
|
|
139
|
+
- 📝 Data Grid supports new `longText` [column type](https://mui.com/x/react-data-grid/column-definition/#column-types)
|
|
140
|
+
|
|
141
|
+
The following team members contributed to this release:
|
|
142
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @MBilalShafi, @siriwatknp
|
|
143
|
+
|
|
144
|
+
### Data Grid
|
|
145
|
+
|
|
146
|
+
#### `@mui/x-data-grid@8.27.0`
|
|
147
|
+
|
|
148
|
+
- [DataGrid] Fix virtualization crash by preventing out-of-bounds `focusedVirtualCell` indices (#21123) @cherniavskii
|
|
149
|
+
- [DataGrid] Fix focus steal issue with `<Dialog />` (#21106) @MBilalShafi
|
|
150
|
+
- [DataGrid] Add new `longText` column type (#21103) @siriwatknp
|
|
151
|
+
|
|
152
|
+
#### `@mui/x-data-grid-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
153
|
+
|
|
154
|
+
Same changes as in `@mui/x-data-grid@8.27.0`.
|
|
155
|
+
|
|
156
|
+
#### `@mui/x-data-grid-premium@8.27.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
157
|
+
|
|
158
|
+
Same changes as in `@mui/x-data-grid-pro@8.27.0`, plus:
|
|
159
|
+
|
|
160
|
+
- [DataGridPremium] Fix focus retention when undo/redo operations are done on the same cell (#21110) @arminmeh
|
|
161
|
+
|
|
162
|
+
### Date and Time Pickers
|
|
163
|
+
|
|
164
|
+
#### `@mui/x-date-pickers@8.27.0`
|
|
165
|
+
|
|
166
|
+
Internal changes.
|
|
167
|
+
|
|
168
|
+
#### `@mui/x-date-pickers-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
169
|
+
|
|
170
|
+
Same changes as in `@mui/x-date-pickers@8.27.0`.
|
|
171
|
+
|
|
172
|
+
### Charts
|
|
173
|
+
|
|
174
|
+
#### `@mui/x-charts@8.27.0`
|
|
175
|
+
|
|
176
|
+
- [charts] Deprecate `AxisId` class in favour of to `data-axis-id` attribute (#21048) @JCQuintas
|
|
177
|
+
|
|
178
|
+
#### `@mui/x-charts-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
179
|
+
|
|
180
|
+
Same changes as in `@mui/x-charts@8.27.0`, plus:
|
|
181
|
+
|
|
182
|
+
- [charts-pro] Add `onItemClick` to the heatmap (#20817) (#21030) @alexfauquette
|
|
183
|
+
|
|
184
|
+
#### `@mui/x-charts-premium@8.27.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
185
|
+
|
|
186
|
+
Same changes as in `@mui/x-charts-pro@8.27.0`, plus:
|
|
187
|
+
|
|
188
|
+
- [charts-premium] Fix wrong `defaultSlots` in premium charts (#21052) @bernardobelchior
|
|
189
|
+
|
|
190
|
+
### Tree View
|
|
191
|
+
|
|
192
|
+
#### `@mui/x-tree-view@8.27.0`
|
|
193
|
+
|
|
194
|
+
Internal changes.
|
|
195
|
+
|
|
196
|
+
#### `@mui/x-tree-view-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
197
|
+
|
|
198
|
+
Same changes as in `@mui/x-tree-view@8.27.0`, plus:
|
|
199
|
+
|
|
200
|
+
- [RichTreeViewPro] Do not export `useSimpleTreeViewApiRef()` and `useRichTreeViewApiRef()` from pro package (#21145) @flaviendelangle
|
|
201
|
+
|
|
202
|
+
### Codemod
|
|
203
|
+
|
|
204
|
+
#### `@mui/x-codemod@8.27.0`
|
|
205
|
+
|
|
206
|
+
Internal changes.
|
|
207
|
+
|
|
208
|
+
### Docs
|
|
209
|
+
|
|
210
|
+
- [docs] Fix DataGrid's cell edit renderers (@arminmeh) (#21041) @github-actions[bot]
|
|
211
|
+
|
|
212
|
+
### Core
|
|
213
|
+
|
|
214
|
+
- [code-infra] Add `consistent-type-imports` rule to the grid packages (#21119) @arminmeh
|
|
215
|
+
- [code-infra] Allow user to select target branch if it exists for current major (#21005) @JCQuintas
|
|
216
|
+
- [code-infra] Fix the target branch condition in the release script (#21051) @arminmeh
|
|
217
|
+
- [code-infra] Update docs deploy script to fetch from `v8.x` (#21013) @arminmeh
|
|
218
|
+
|
|
219
|
+
## 8.26.1
|
|
220
|
+
|
|
221
|
+
_Jan 23, 2026_
|
|
222
|
+
|
|
223
|
+
Release highlight ✨:
|
|
224
|
+
|
|
225
|
+
- 🐞 Hotfix for Data Grid Premium type imports
|
|
226
|
+
|
|
227
|
+
### Data Grid
|
|
228
|
+
|
|
229
|
+
#### `@mui/x-data-grid-premium@8.26.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
230
|
+
|
|
231
|
+
- [DataGridPremium] Fix type import (#21033) @arminmeh
|
|
232
|
+
|
|
8
233
|
## 8.26.0
|
|
9
234
|
|
|
10
235
|
_Jan 22, 2026_
|
|
@@ -179,7 +179,7 @@ const MonthCalendar = exports.MonthCalendar = /*#__PURE__*/React.forwardRef(func
|
|
|
179
179
|
}
|
|
180
180
|
return shouldDisableMonth(monthToValidate);
|
|
181
181
|
}, [disableFuture, disablePast, maxDate, minDate, now, shouldDisableMonth, adapter]);
|
|
182
|
-
const handleMonthSelection = (0, _useEventCallback.default)((
|
|
182
|
+
const handleMonthSelection = (0, _useEventCallback.default)((_event, month) => {
|
|
183
183
|
if (readOnly) {
|
|
184
184
|
return;
|
|
185
185
|
}
|
|
@@ -223,6 +223,11 @@ const MonthCalendar = exports.MonthCalendar = /*#__PURE__*/React.forwardRef(func
|
|
|
223
223
|
focusMonth((monthsInYear + month + (isRtl ? -1 : 1)) % monthsInYear);
|
|
224
224
|
event.preventDefault();
|
|
225
225
|
break;
|
|
226
|
+
case 'Enter':
|
|
227
|
+
case ' ':
|
|
228
|
+
handleMonthSelection(event, month);
|
|
229
|
+
event.preventDefault();
|
|
230
|
+
break;
|
|
226
231
|
default:
|
|
227
232
|
break;
|
|
228
233
|
}
|
|
@@ -194,7 +194,7 @@ const YearCalendar = exports.YearCalendar = /*#__PURE__*/React.forwardRef(functi
|
|
|
194
194
|
const yearToValidate = adapter.startOfYear(dateToValidate);
|
|
195
195
|
return shouldDisableYear(yearToValidate);
|
|
196
196
|
}, [disableFuture, disablePast, maxDate, minDate, now, shouldDisableYear, adapter]);
|
|
197
|
-
const handleYearSelection = (0, _useEventCallback.default)((
|
|
197
|
+
const handleYearSelection = (0, _useEventCallback.default)((_event, year) => {
|
|
198
198
|
if (readOnly) {
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
@@ -231,6 +231,11 @@ const YearCalendar = exports.YearCalendar = /*#__PURE__*/React.forwardRef(functi
|
|
|
231
231
|
focusYear(year + horizontalDirection);
|
|
232
232
|
event.preventDefault();
|
|
233
233
|
break;
|
|
234
|
+
case 'Enter':
|
|
235
|
+
case ' ':
|
|
236
|
+
handleYearSelection(event, year);
|
|
237
|
+
event.preventDefault();
|
|
238
|
+
break;
|
|
234
239
|
default:
|
|
235
240
|
break;
|
|
236
241
|
}
|
|
@@ -337,6 +337,11 @@ export function DayCalendar(inProps) {
|
|
|
337
337
|
focusDay(adapter.addMonths(day, -1));
|
|
338
338
|
event.preventDefault();
|
|
339
339
|
break;
|
|
340
|
+
case 'Enter':
|
|
341
|
+
case ' ':
|
|
342
|
+
handleDaySelect(day);
|
|
343
|
+
event.preventDefault();
|
|
344
|
+
break;
|
|
340
345
|
default:
|
|
341
346
|
break;
|
|
342
347
|
}
|
|
@@ -171,7 +171,7 @@ export const MonthCalendar = /*#__PURE__*/React.forwardRef(function MonthCalenda
|
|
|
171
171
|
}
|
|
172
172
|
return shouldDisableMonth(monthToValidate);
|
|
173
173
|
}, [disableFuture, disablePast, maxDate, minDate, now, shouldDisableMonth, adapter]);
|
|
174
|
-
const handleMonthSelection = useEventCallback((
|
|
174
|
+
const handleMonthSelection = useEventCallback((_event, month) => {
|
|
175
175
|
if (readOnly) {
|
|
176
176
|
return;
|
|
177
177
|
}
|
|
@@ -215,6 +215,11 @@ export const MonthCalendar = /*#__PURE__*/React.forwardRef(function MonthCalenda
|
|
|
215
215
|
focusMonth((monthsInYear + month + (isRtl ? -1 : 1)) % monthsInYear);
|
|
216
216
|
event.preventDefault();
|
|
217
217
|
break;
|
|
218
|
+
case 'Enter':
|
|
219
|
+
case ' ':
|
|
220
|
+
handleMonthSelection(event, month);
|
|
221
|
+
event.preventDefault();
|
|
222
|
+
break;
|
|
218
223
|
default:
|
|
219
224
|
break;
|
|
220
225
|
}
|
|
@@ -187,7 +187,7 @@ export const YearCalendar = /*#__PURE__*/React.forwardRef(function YearCalendar(
|
|
|
187
187
|
const yearToValidate = adapter.startOfYear(dateToValidate);
|
|
188
188
|
return shouldDisableYear(yearToValidate);
|
|
189
189
|
}, [disableFuture, disablePast, maxDate, minDate, now, shouldDisableYear, adapter]);
|
|
190
|
-
const handleYearSelection = useEventCallback((
|
|
190
|
+
const handleYearSelection = useEventCallback((_event, year) => {
|
|
191
191
|
if (readOnly) {
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
@@ -224,6 +224,11 @@ export const YearCalendar = /*#__PURE__*/React.forwardRef(function YearCalendar(
|
|
|
224
224
|
focusYear(year + horizontalDirection);
|
|
225
225
|
event.preventDefault();
|
|
226
226
|
break;
|
|
227
|
+
case 'Enter':
|
|
228
|
+
case ' ':
|
|
229
|
+
handleYearSelection(event, year);
|
|
230
|
+
event.preventDefault();
|
|
231
|
+
break;
|
|
227
232
|
default:
|
|
228
233
|
break;
|
|
229
234
|
}
|
package/esm/index.js
CHANGED
package/index.js
CHANGED