@mui/x-date-pickers 9.0.3 → 9.1.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.
@@ -81,9 +81,13 @@ class AdapterDateFns extends _AdapterDateFnsBase.AdapterDateFnsBase {
81
81
  /* v8 ignore start */
82
82
  if (process.env.NODE_ENV !== 'production') {
83
83
  if (typeof _addDays.addDays !== 'function') {
84
+ // TODO: fix mui/no-guarded-throw
85
+ // eslint-disable-next-line mui/no-guarded-throw
84
86
  throw new Error(['MUI: The `date-fns` package v2.x is not compatible with this adapter.', 'Please, install v3.x or v4.x of the package or use the `AdapterDateFnsV2` instead.'].join('\n'));
85
87
  }
86
88
  if (!_format.longFormatters) {
89
+ // TODO: fix mui/no-guarded-throw
90
+ // eslint-disable-next-line mui/no-guarded-throw
87
91
  throw new Error('MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.');
88
92
  }
89
93
  }
@@ -75,9 +75,13 @@ export class AdapterDateFns extends AdapterDateFnsBase {
75
75
  /* v8 ignore start */
76
76
  if (process.env.NODE_ENV !== 'production') {
77
77
  if (typeof addDays !== 'function') {
78
+ // TODO: fix mui/no-guarded-throw
79
+ // eslint-disable-next-line mui/no-guarded-throw
78
80
  throw new Error(['MUI: The `date-fns` package v2.x is not compatible with this adapter.', 'Please, install v3.x or v4.x of the package or use the `AdapterDateFnsV2` instead.'].join('\n'));
79
81
  }
80
82
  if (!longFormatters) {
83
+ // TODO: fix mui/no-guarded-throw
84
+ // eslint-disable-next-line mui/no-guarded-throw
81
85
  throw new Error('MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.');
82
86
  }
83
87
  }
@@ -118,9 +118,13 @@ class AdapterDateFnsJalali extends _AdapterDateFnsBase.AdapterDateFnsBase {
118
118
  /* v8 ignore start */
119
119
  if (process.env.NODE_ENV !== 'production') {
120
120
  if (typeof _addDays.addDays !== 'function') {
121
+ // TODO: fix mui/no-guarded-throw
122
+ // eslint-disable-next-line mui/no-guarded-throw
121
123
  throw new Error(['MUI: The `date-fns-jalali` package v2.x is not compatible with this adapter.', 'Please, install v3.x or v4.x of the package or use the `AdapterDateFnsJalaliV2` instead.'].join('\n'));
122
124
  }
123
125
  if (!_format.longFormatters) {
126
+ // TODO: fix mui/no-guarded-throw
127
+ // eslint-disable-next-line mui/no-guarded-throw
124
128
  throw new Error('MUI: The minimum supported `date-fns-jalali` package version compatible with this adapter is `3.2.x`.');
125
129
  }
126
130
  }
@@ -111,9 +111,13 @@ export class AdapterDateFnsJalali extends AdapterDateFnsBase {
111
111
  /* v8 ignore start */
112
112
  if (process.env.NODE_ENV !== 'production') {
113
113
  if (typeof addDays !== 'function') {
114
+ // TODO: fix mui/no-guarded-throw
115
+ // eslint-disable-next-line mui/no-guarded-throw
114
116
  throw new Error(['MUI: The `date-fns-jalali` package v2.x is not compatible with this adapter.', 'Please, install v3.x or v4.x of the package or use the `AdapterDateFnsJalaliV2` instead.'].join('\n'));
115
117
  }
116
118
  if (!longFormatters) {
119
+ // TODO: fix mui/no-guarded-throw
120
+ // eslint-disable-next-line mui/no-guarded-throw
117
121
  throw new Error('MUI: The minimum supported `date-fns-jalali` package version compatible with this adapter is `3.2.x`.');
118
122
  }
119
123
  }
@@ -127,6 +127,8 @@ class AdapterDateFnsJalali extends _AdapterDateFnsBase.AdapterDateFnsBase {
127
127
  /* v8 ignore start */
128
128
  if (process.env.NODE_ENV !== 'production') {
129
129
  if (typeof _index4.default !== 'function') {
130
+ // TODO: fix mui/no-guarded-throw
131
+ // eslint-disable-next-line mui/no-guarded-throw
130
132
  throw new Error(['MUI: This adapter is only compatible with `date-fns-jalali` v2.x package versions.', 'Please, install v2.x of the package or use the `AdapterDateFnsJalali` instead.'].join('\n'));
131
133
  }
132
134
  }
@@ -119,6 +119,8 @@ export class AdapterDateFnsJalali extends AdapterDateFnsBase {
119
119
  /* v8 ignore start */
120
120
  if (process.env.NODE_ENV !== 'production') {
121
121
  if (typeof addDays !== 'function') {
122
+ // TODO: fix mui/no-guarded-throw
123
+ // eslint-disable-next-line mui/no-guarded-throw
122
124
  throw new Error(['MUI: This adapter is only compatible with `date-fns-jalali` v2.x package versions.', 'Please, install v2.x of the package or use the `AdapterDateFnsJalali` instead.'].join('\n'));
123
125
  }
124
126
  }
@@ -91,6 +91,8 @@ class AdapterDateFns extends _AdapterDateFnsBase.AdapterDateFnsBase {
91
91
  /* v8 ignore start */
92
92
  if (process.env.NODE_ENV !== 'production') {
93
93
  if (typeof _index.default !== 'function') {
94
+ // TODO: fix mui/no-guarded-throw
95
+ // eslint-disable-next-line mui/no-guarded-throw
94
96
  throw new Error(['MUI: This adapter is only compatible with `date-fns` v2.x package versions.', 'Please, install v2.x of the package or use the `AdapterDateFns` instead.'].join('\n'));
95
97
  }
96
98
  }
@@ -83,6 +83,8 @@ export class AdapterDateFns extends AdapterDateFnsBase {
83
83
  /* v8 ignore start */
84
84
  if (process.env.NODE_ENV !== 'production') {
85
85
  if (typeof addDays !== 'function') {
86
+ // TODO: fix mui/no-guarded-throw
87
+ // eslint-disable-next-line mui/no-guarded-throw
86
88
  throw new Error(['MUI: This adapter is only compatible with `date-fns` v2.x package versions.', 'Please, install v2.x of the package or use the `AdapterDateFns` instead.'].join('\n'));
87
89
  }
88
90
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,225 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.1.0
4
+
5
+ _May 8, 2026_
6
+
7
+ We'd like to extend a big thank you to the 14 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - ⚡️ Add a WebGL renderer to the [Scatter chart](https://mui.com/x/react-charts/scatter/#webgl-renderer), and apply the same WebGL performance patterns to the candlestick and heatmap [Premium]
10
+ - 🐞 Bugfixes
11
+ - 📚 Documentation improvements
12
+
13
+ Special thanks go out to these community members for their valuable contributions:
14
+ @Anexus5919, @gaetanodanelli, @imazizbohra, @mustafajw07
15
+
16
+ The following team members contributed to this release:
17
+ @alexfauquette, @brijeshb42, @flaviendelangle, @JCQuintas, @LukasTy, @mapache-salvaje, @MBilalShafi, @michelengelen, @oliviertassinari, @rita-codes
18
+
19
+ ### Data Grid
20
+
21
+ #### `@mui/x-data-grid@9.1.0`
22
+
23
+ - [DataGrid] Fix accessibility violation in detail panel toggle column header (#22178) @michelengelen
24
+ - [DataGrid] Fix active filter detection for array values (#22340) @MBilalShafi
25
+ - [DataGrid] Fix crash when grouping/tree-data values match `Object.prototype` property names (#22312) @LukasTy
26
+ - [DataGrid] Position overlays below top pinned rows (#22341) @MBilalShafi
27
+ - [l10n] Improve Italian (it-IT) locale (#22290) @gaetanodanelli
28
+
29
+ #### `@mui/x-data-grid-pro@9.1.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
30
+
31
+ Same changes as in `@mui/x-data-grid@9.1.0`, plus:
32
+
33
+ - [DataGridPro] Fix column unpin restoring stale position after reorder (#22250) @michelengelen
34
+
35
+ #### `@mui/x-data-grid-premium@9.1.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
36
+
37
+ Same changes as in `@mui/x-data-grid-pro@9.1.0`, plus:
38
+
39
+ - [DataGridPremium] Fix aggregation column header title truncation without ellipsis (#22248) @michelengelen
40
+
41
+ ### Date and Time Pickers
42
+
43
+ #### `@mui/x-date-pickers@9.1.0`
44
+
45
+ - [pickers] Fix duplicate hour label in `MultiSectionDigitalClock` on DST day (#22110) @LukasTy
46
+ - [l10n] Improve Italian (it-IT) locale (#22290) @gaetanodanelli
47
+
48
+ #### `@mui/x-date-pickers-pro@9.1.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
49
+
50
+ Same changes as in `@mui/x-date-pickers@9.1.0`.
51
+
52
+ ### Charts
53
+
54
+ #### `@mui/x-charts@9.1.0`
55
+
56
+ - [charts] Add `ChartsAxisHighlightValue` component (#21803) @Copilot
57
+ - [charts] Create `ChartsRadialAxisHighlight` (#22241) @alexfauquette
58
+ - [charts] Remove useless extends (#22313) @alexfauquette
59
+ - [charts] Use `PolarAxisConfig` in polar plugin internals (#22315) @alexfauquette
60
+
61
+ #### `@mui/x-charts-pro@9.1.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
62
+
63
+ Same changes as in `@mui/x-charts@9.1.0`.
64
+
65
+ #### `@mui/x-charts-premium@9.1.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
66
+
67
+ Same changes as in `@mui/x-charts-pro@9.1.0`, plus:
68
+
69
+ - [charts-premium] Add WebGL renderer to `ScatterChartPremium` (#22157) @JCQuintas
70
+ - [charts-premium] Add highlight to the `RadialLineChart` (#22156) @alexfauquette
71
+ - [charts-premium] Apply WebGL perf patterns to candlestick + heatmap (#22223) @JCQuintas
72
+ - [charts-premium] Introduce the `RadialBarChart` (#22268) @alexfauquette
73
+
74
+ ### Tree View
75
+
76
+ #### `@mui/x-tree-view@9.1.0`
77
+
78
+ - [tree view] Fix stale Tree View `apiRef` after keyed remount (#22342) @MBilalShafi
79
+
80
+ #### `@mui/x-tree-view-pro@9.1.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
81
+
82
+ Same changes as in `@mui/x-tree-view@9.1.0`.
83
+
84
+ ### Scheduler
85
+
86
+ #### `@mui/x-scheduler@9.0.0-alpha.5`
87
+
88
+ - [scheduler] Make `EventItem` interactive by integrating button props for keyboard accessibility (#22160) @mustafajw07
89
+ - [scheduler] Migrate color switch to Base UI `ToggleGroup` (#22254) @flaviendelangle
90
+ - [scheduler] Rename Scheduler headless packages (#22273) @rita-codes
91
+ - [scheduler] Use TreeView for the resource sidebar (#22261) @flaviendelangle
92
+ - [scheduler] Use fieldset/legend instead of headings for form sections in the event dialog (#22095) @Anexus5919
93
+ - [scheduler] Added `position: relative` for consistent layout (#22284) @mustafajw07
94
+ - [l10n] Improve Italian (it-IT) locale (#22290) @gaetanodanelli
95
+
96
+ #### `@mui/x-scheduler-premium@9.0.0-alpha.5` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
97
+
98
+ Same changes as in `@mui/x-scheduler@9.0.0-alpha.5`, plus:
99
+
100
+ - [scheduler] Replace per-view headers with a generic `EventTimelinePremiumHeader` in the `EventTimeline` (#22222) @rita-codes
101
+
102
+ ### Codemod
103
+
104
+ #### `@mui/x-codemod@9.1.0`
105
+
106
+ Internal changes.
107
+
108
+ ### Docs
109
+
110
+ - [docs] Migrate `FlightPicker` overview demo to v9 `slotProps` shape (#22272) @LukasTy
111
+ - [docs] Standardize Scheduler docs style and formatting (#22161) @mapache-salvaje
112
+ - [docs] Add feedback form to the scheduler docs (#22237) @rita-codes
113
+ - [docs] Fix `GridToolbarCustom` demo crash in DataGrid (#21950) @MBilalShafi
114
+ - [docs] Do not resolve axes in charts (#22307) @alexfauquette
115
+ - [docs] Fix no longer valid link (#22371) @LukasTy
116
+ - [docs] Replace broken CodeSandbox iframes in migration guides (#22352) @LukasTy
117
+
118
+ ### Core
119
+
120
+ - [code-infra] Bump browser `testTimeout` to absorb React 19 slowness (#22236) @LukasTy
121
+ - [code-infra] Use vale rules from code-infra package (#22256) @brijeshb42
122
+ - [code-infra] Fix broken valelint and docs build (#22362) @LukasTy
123
+ - [internal] Prepare renaming LICENSE file to LICENSE.md (#22055) @imazizbohra
124
+ - [internal] Remove outdated .woff files (#22286) @oliviertassinari
125
+ - [internal] Replace Codspeed with `@mui/internal-benchmark` for charts (#22243) @JCQuintas
126
+
127
+ ### Miscellaneous
128
+
129
+ - [internal-gestures] Add passive option to `TurnWheelGesture` (#22349) @JCQuintas
130
+ - [internal-gestures] Enforce pointer-type filter in `ShadowRoot` branch (#22327) @JCQuintas
131
+ - [internal-gestures] Improve passive event listener handling (#22329) @JCQuintas
132
+ - [internal-gestures] Inline wheel-delta clamp per axis (#22331) @JCQuintas
133
+ - [internal-gestures] Return read-only pointer map without copy (#22330) @JCQuintas
134
+ - [internal-gestures] Track multi-tap reset timeout to prevent leak (#22326) @JCQuintas
135
+
136
+ ## 9.0.4
137
+
138
+ _Apr 28, 2026_
139
+
140
+ We'd like to extend a big thank you to the 4 contributors who made this release possible. Here are some highlights ✨:
141
+
142
+ - Fix Pickers previous (v9.0.3) release ensuring the latest `@mui/x-internals` version usage
143
+
144
+ The following team members contributed to this release:
145
+ @alexfauquette, @JCQuintas, @LukasTy, @mj12albert
146
+
147
+ ### Data Grid
148
+
149
+ #### `@mui/x-data-grid@9.0.4`
150
+
151
+ Internal changes.
152
+
153
+ #### `@mui/x-data-grid-pro@9.0.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
154
+
155
+ Same changes as in `@mui/x-data-grid@9.0.4`.
156
+
157
+ #### `@mui/x-data-grid-premium@9.0.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
158
+
159
+ Same changes as in `@mui/x-data-grid-pro@9.0.4`.
160
+
161
+ ### Date and Time Pickers
162
+
163
+ #### `@mui/x-date-pickers@9.0.4`
164
+
165
+ Internal changes.
166
+
167
+ #### `@mui/x-date-pickers-pro@9.0.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
168
+
169
+ Same changes as in `@mui/x-date-pickers@9.0.4`.
170
+
171
+ ### Charts
172
+
173
+ #### `@mui/x-charts@9.0.4`
174
+
175
+ - [charts] Exclude hidden series and items from keyboard navigation (alt approach) (#22221) @JCQuintas
176
+ - [charts] Fix line interaction with `area` and `conectNulls` (#22227) @alexfauquette
177
+ - [charts] Implement the continuous case of `getAxisIndex` for rotation axis (#22230) @alexfauquette
178
+
179
+ #### `@mui/x-charts-pro@9.0.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
180
+
181
+ Same changes as in `@mui/x-charts@9.0.4`.
182
+
183
+ #### `@mui/x-charts-premium@9.0.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
184
+
185
+ Same changes as in `@mui/x-charts-pro@9.0.4` plus:
186
+
187
+ - [charts-premium] Add `showMark` and `shape` properties to radial line (#22226) @alexfauquette
188
+
189
+ ### Tree View
190
+
191
+ #### `@mui/x-tree-view@9.0.4`
192
+
193
+ Internal changes.
194
+
195
+ #### `@mui/x-tree-view-pro@9.0.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
196
+
197
+ Same changes as in `@mui/x-tree-view@9.0.4`.
198
+
199
+ ### Scheduler
200
+
201
+ #### `@mui/x-scheduler@9.0.4`
202
+
203
+ Internal changes.
204
+
205
+ #### `@mui/x-scheduler-premium@9.0.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
206
+
207
+ Same changes as in `@mui/x-scheduler@9.0.4`.
208
+
209
+ ### Codemod
210
+
211
+ #### `@mui/x-codemod@9.0.4`
212
+
213
+ Internal changes.
214
+
215
+ ### Docs
216
+
217
+ - [docs] Update WCAG links (#22234) @mj12albert
218
+
219
+ ### Core
220
+
221
+ - [code-infra] Avoid overriding `renovate` `ignoredPaths` (#22228) @LukasTy
222
+
3
223
  ## 9.0.3
4
224
 
5
225
  _Apr 27, 2026_
package/LICENSE CHANGED
@@ -1,3 +1,5 @@
1
+ # License
2
+
1
3
  MIT License
2
4
 
3
5
  Copyright (c) 2020 Material-UI SAS
@@ -32,9 +32,16 @@ const getHourSectionOptions = ({
32
32
  const isFocused = hour => {
33
33
  return isSelected(hour, adapter.getHours(valueOrReferenceDate));
34
34
  };
35
+
36
+ // Anchor label generation to a fixed non-transition day (month=0, day=15) —
37
+ // `adapter.setHours(now, N)` on a transition day can roll forward and emit
38
+ // duplicate labels (see https://github.com/mui/mui-x/issues/22084). Order:
39
+ // `setMonth` first so day-overflow is harmless; non-Gregorian adapters land
40
+ // on a different month-15 here but are all TZ-incompatible.
41
+ const labelReferenceDate = adapter.setDate(adapter.setMonth(adapter.startOfDay(now), 0), 15);
35
42
  const endHour = ampm ? 11 : 23;
36
43
  for (let hour = 0; hour <= endHour; hour += timeStep) {
37
- let label = adapter.format(adapter.setHours(now, hour), ampm ? 'hours12h' : 'hours24h');
44
+ let label = adapter.format(adapter.setHours(labelReferenceDate, hour), ampm ? 'hours12h' : 'hours24h');
38
45
  const ariaLabel = resolveAriaLabel(parseInt(label, 10).toString());
39
46
  label = adapter.formatNumber(label);
40
47
  result.push({
@@ -26,9 +26,16 @@ export const getHourSectionOptions = ({
26
26
  const isFocused = hour => {
27
27
  return isSelected(hour, adapter.getHours(valueOrReferenceDate));
28
28
  };
29
+
30
+ // Anchor label generation to a fixed non-transition day (month=0, day=15) —
31
+ // `adapter.setHours(now, N)` on a transition day can roll forward and emit
32
+ // duplicate labels (see https://github.com/mui/mui-x/issues/22084). Order:
33
+ // `setMonth` first so day-overflow is harmless; non-Gregorian adapters land
34
+ // on a different month-15 here but are all TZ-incompatible.
35
+ const labelReferenceDate = adapter.setDate(adapter.setMonth(adapter.startOfDay(now), 0), 15);
29
36
  const endHour = ampm ? 11 : 23;
30
37
  for (let hour = 0; hour <= endHour; hour += timeStep) {
31
- let label = adapter.format(adapter.setHours(now, hour), ampm ? 'hours12h' : 'hours24h');
38
+ let label = adapter.format(adapter.setHours(labelReferenceDate, hour), ampm ? 'hours12h' : 'hours24h');
32
39
  const ariaLabel = resolveAriaLabel(parseInt(label, 10).toString());
33
40
  label = adapter.formatNumber(label);
34
41
  result.push({
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v9.0.3
2
+ * @mui/x-date-pickers v9.1.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v9.0.3
2
+ * @mui/x-date-pickers v9.1.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -123,6 +123,8 @@ exports.cleanLeadingZeros = cleanLeadingZeros;
123
123
  const cleanDigitSectionValue = (adapter, value, sectionBoundaries, localizedDigits, section) => {
124
124
  if (process.env.NODE_ENV !== 'production') {
125
125
  if (section.type !== 'day' && section.contentType === 'digit-with-letter') {
126
+ // TODO: fix mui/no-guarded-throw
127
+ // eslint-disable-next-line mui/no-guarded-throw
126
128
  throw new Error([`MUI X: The token "${section.format}" is a digit format with letter in it.'
127
129
  This type of format is only supported for 'day' sections`].join('\n'));
128
130
  }
@@ -165,6 +167,8 @@ exports.getSectionVisibleValue = getSectionVisibleValue;
165
167
  const changeSectionValueFormat = (adapter, valueStr, currentFormat, newFormat) => {
166
168
  if (process.env.NODE_ENV !== 'production') {
167
169
  if (getDateSectionConfigFromFormatToken(adapter, currentFormat).type === 'weekDay') {
170
+ // TODO: fix mui/no-guarded-throw
171
+ // eslint-disable-next-line mui/no-guarded-throw
168
172
  throw new Error("changeSectionValueFormat doesn't support week day formats");
169
173
  }
170
174
  }
@@ -108,6 +108,8 @@ export const cleanLeadingZeros = (valueStr, size) => {
108
108
  export const cleanDigitSectionValue = (adapter, value, sectionBoundaries, localizedDigits, section) => {
109
109
  if (process.env.NODE_ENV !== 'production') {
110
110
  if (section.type !== 'day' && section.contentType === 'digit-with-letter') {
111
+ // TODO: fix mui/no-guarded-throw
112
+ // eslint-disable-next-line mui/no-guarded-throw
111
113
  throw new Error([`MUI X: The token "${section.format}" is a digit format with letter in it.'
112
114
  This type of format is only supported for 'day' sections`].join('\n'));
113
115
  }
@@ -148,6 +150,8 @@ export const getSectionVisibleValue = (section, target, localizedDigits) => {
148
150
  export const changeSectionValueFormat = (adapter, valueStr, currentFormat, newFormat) => {
149
151
  if (process.env.NODE_ENV !== 'production') {
150
152
  if (getDateSectionConfigFromFormatToken(adapter, currentFormat).type === 'weekDay') {
153
+ // TODO: fix mui/no-guarded-throw
154
+ // eslint-disable-next-line mui/no-guarded-throw
151
155
  throw new Error("changeSectionValueFormat doesn't support week day formats");
152
156
  }
153
157
  }
package/locales/itIT.js CHANGED
@@ -37,8 +37,7 @@ const itITPickers = {
37
37
  dateTimePickerToolbarTitle: 'Seleziona data e orario',
38
38
  timePickerToolbarTitle: 'Seleziona orario',
39
39
  dateRangePickerToolbarTitle: 'Seleziona intervallo di date',
40
- // timeRangePickerToolbarTitle: 'Select time range',
41
-
40
+ timeRangePickerToolbarTitle: 'Seleziona intervallo di orari',
42
41
  // Clock labels
43
42
  clockLabelText: (view, formattedTime) => `Seleziona ${views[view]}. ${!formattedTime ? 'Nessun orario selezionato' : `L'ora selezionata è ${formattedTime}`}`,
44
43
  hoursClockNumberText: hours => `${hours} ore`,
@@ -54,7 +53,7 @@ const itITPickers = {
54
53
  // Open Picker labels
55
54
  openDatePickerDialogue: formattedDate => formattedDate ? `Scegli la data, la data selezionata è ${formattedDate}` : 'Scegli la data',
56
55
  openTimePickerDialogue: formattedTime => formattedTime ? `Scegli l'ora, l'ora selezionata è ${formattedTime}` : "Scegli l'ora",
57
- // openRangePickerDialogue: formattedRange => formattedRange ? `Choose range, selected range is ${formattedRange}` : 'Choose range',
56
+ openRangePickerDialogue: formattedRange => formattedRange ? `Scegli l'intervallo, l'intervallo selezionato è ${formattedRange}` : "Scegli l'intervallo",
58
57
  fieldClearLabel: 'Cancella valore',
59
58
  // Table labels
60
59
  timeTableLabel: "scegli un'ora",
package/locales/itIT.mjs CHANGED
@@ -31,8 +31,7 @@ const itITPickers = {
31
31
  dateTimePickerToolbarTitle: 'Seleziona data e orario',
32
32
  timePickerToolbarTitle: 'Seleziona orario',
33
33
  dateRangePickerToolbarTitle: 'Seleziona intervallo di date',
34
- // timeRangePickerToolbarTitle: 'Select time range',
35
-
34
+ timeRangePickerToolbarTitle: 'Seleziona intervallo di orari',
36
35
  // Clock labels
37
36
  clockLabelText: (view, formattedTime) => `Seleziona ${views[view]}. ${!formattedTime ? 'Nessun orario selezionato' : `L'ora selezionata è ${formattedTime}`}`,
38
37
  hoursClockNumberText: hours => `${hours} ore`,
@@ -48,7 +47,7 @@ const itITPickers = {
48
47
  // Open Picker labels
49
48
  openDatePickerDialogue: formattedDate => formattedDate ? `Scegli la data, la data selezionata è ${formattedDate}` : 'Scegli la data',
50
49
  openTimePickerDialogue: formattedTime => formattedTime ? `Scegli l'ora, l'ora selezionata è ${formattedTime}` : "Scegli l'ora",
51
- // openRangePickerDialogue: formattedRange => formattedRange ? `Choose range, selected range is ${formattedRange}` : 'Choose range',
50
+ openRangePickerDialogue: formattedRange => formattedRange ? `Scegli l'intervallo, l'intervallo selezionato è ${formattedRange}` : "Scegli l'intervallo",
52
51
  fieldClearLabel: 'Cancella valore',
53
52
  // Table labels
54
53
  timeTableLabel: "scegli un'ora",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers",
3
- "version": "9.0.3",
3
+ "version": "9.1.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The community edition of the MUI X Date and Time Picker components.",
6
6
  "license": "MIT",
@@ -39,7 +39,7 @@
39
39
  "clsx": "^2.1.1",
40
40
  "prop-types": "^15.8.1",
41
41
  "react-transition-group": "^4.4.5",
42
- "@mui/x-internals": "^9.0.0"
42
+ "@mui/x-internals": "^9.1.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@emotion/react": "^11.9.0",
@@ -638,196 +638,196 @@
638
638
  }
639
639
  },
640
640
  "./StaticTimePicker": {
641
- "import": {
642
- "types": "./StaticTimePicker/index.d.mts",
643
- "default": "./StaticTimePicker/index.mjs"
644
- },
645
641
  "require": {
646
642
  "types": "./StaticTimePicker/index.d.ts",
647
643
  "default": "./StaticTimePicker/index.js"
648
644
  },
645
+ "import": {
646
+ "types": "./StaticTimePicker/index.d.mts",
647
+ "default": "./StaticTimePicker/index.mjs"
648
+ },
649
649
  "default": {
650
650
  "types": "./StaticTimePicker/index.d.mts",
651
651
  "default": "./StaticTimePicker/index.mjs"
652
652
  }
653
653
  },
654
654
  "./TimeClock": {
655
- "import": {
656
- "types": "./TimeClock/index.d.mts",
657
- "default": "./TimeClock/index.mjs"
658
- },
659
655
  "require": {
660
656
  "types": "./TimeClock/index.d.ts",
661
657
  "default": "./TimeClock/index.js"
662
658
  },
659
+ "import": {
660
+ "types": "./TimeClock/index.d.mts",
661
+ "default": "./TimeClock/index.mjs"
662
+ },
663
663
  "default": {
664
664
  "types": "./TimeClock/index.d.mts",
665
665
  "default": "./TimeClock/index.mjs"
666
666
  }
667
667
  },
668
668
  "./TimeField": {
669
- "import": {
670
- "types": "./TimeField/index.d.mts",
671
- "default": "./TimeField/index.mjs"
672
- },
673
669
  "require": {
674
670
  "types": "./TimeField/index.d.ts",
675
671
  "default": "./TimeField/index.js"
676
672
  },
673
+ "import": {
674
+ "types": "./TimeField/index.d.mts",
675
+ "default": "./TimeField/index.mjs"
676
+ },
677
677
  "default": {
678
678
  "types": "./TimeField/index.d.mts",
679
679
  "default": "./TimeField/index.mjs"
680
680
  }
681
681
  },
682
682
  "./TimePicker": {
683
- "import": {
684
- "types": "./TimePicker/index.d.mts",
685
- "default": "./TimePicker/index.mjs"
686
- },
687
683
  "require": {
688
684
  "types": "./TimePicker/index.d.ts",
689
685
  "default": "./TimePicker/index.js"
690
686
  },
687
+ "import": {
688
+ "types": "./TimePicker/index.d.mts",
689
+ "default": "./TimePicker/index.mjs"
690
+ },
691
691
  "default": {
692
692
  "types": "./TimePicker/index.d.mts",
693
693
  "default": "./TimePicker/index.mjs"
694
694
  }
695
695
  },
696
696
  "./YearCalendar": {
697
- "import": {
698
- "types": "./YearCalendar/index.d.mts",
699
- "default": "./YearCalendar/index.mjs"
700
- },
701
697
  "require": {
702
698
  "types": "./YearCalendar/index.d.ts",
703
699
  "default": "./YearCalendar/index.js"
704
700
  },
701
+ "import": {
702
+ "types": "./YearCalendar/index.d.mts",
703
+ "default": "./YearCalendar/index.mjs"
704
+ },
705
705
  "default": {
706
706
  "types": "./YearCalendar/index.d.mts",
707
707
  "default": "./YearCalendar/index.mjs"
708
708
  }
709
709
  },
710
710
  "./dateViewRenderers": {
711
- "import": {
712
- "types": "./dateViewRenderers/index.d.mts",
713
- "default": "./dateViewRenderers/index.mjs"
714
- },
715
711
  "require": {
716
712
  "types": "./dateViewRenderers/index.d.ts",
717
713
  "default": "./dateViewRenderers/index.js"
718
714
  },
715
+ "import": {
716
+ "types": "./dateViewRenderers/index.d.mts",
717
+ "default": "./dateViewRenderers/index.mjs"
718
+ },
719
719
  "default": {
720
720
  "types": "./dateViewRenderers/index.d.mts",
721
721
  "default": "./dateViewRenderers/index.mjs"
722
722
  }
723
723
  },
724
724
  "./hooks": {
725
- "import": {
726
- "types": "./hooks/index.d.mts",
727
- "default": "./hooks/index.mjs"
728
- },
729
725
  "require": {
730
726
  "types": "./hooks/index.d.ts",
731
727
  "default": "./hooks/index.js"
732
728
  },
729
+ "import": {
730
+ "types": "./hooks/index.d.mts",
731
+ "default": "./hooks/index.mjs"
732
+ },
733
733
  "default": {
734
734
  "types": "./hooks/index.d.mts",
735
735
  "default": "./hooks/index.mjs"
736
736
  }
737
737
  },
738
738
  "./internals": {
739
- "import": {
740
- "types": "./internals/index.d.mts",
741
- "default": "./internals/index.mjs"
742
- },
743
739
  "require": {
744
740
  "types": "./internals/index.d.ts",
745
741
  "default": "./internals/index.js"
746
742
  },
743
+ "import": {
744
+ "types": "./internals/index.d.mts",
745
+ "default": "./internals/index.mjs"
746
+ },
747
747
  "default": {
748
748
  "types": "./internals/index.d.mts",
749
749
  "default": "./internals/index.mjs"
750
750
  }
751
751
  },
752
752
  "./locales": {
753
- "import": {
754
- "types": "./locales/index.d.mts",
755
- "default": "./locales/index.mjs"
756
- },
757
753
  "require": {
758
754
  "types": "./locales/index.d.ts",
759
755
  "default": "./locales/index.js"
760
756
  },
757
+ "import": {
758
+ "types": "./locales/index.d.mts",
759
+ "default": "./locales/index.mjs"
760
+ },
761
761
  "default": {
762
762
  "types": "./locales/index.d.mts",
763
763
  "default": "./locales/index.mjs"
764
764
  }
765
765
  },
766
766
  "./managers": {
767
- "import": {
768
- "types": "./managers/index.d.mts",
769
- "default": "./managers/index.mjs"
770
- },
771
767
  "require": {
772
768
  "types": "./managers/index.d.ts",
773
769
  "default": "./managers/index.js"
774
770
  },
771
+ "import": {
772
+ "types": "./managers/index.d.mts",
773
+ "default": "./managers/index.mjs"
774
+ },
775
775
  "default": {
776
776
  "types": "./managers/index.d.mts",
777
777
  "default": "./managers/index.mjs"
778
778
  }
779
779
  },
780
780
  "./models": {
781
- "import": {
782
- "types": "./models/index.d.mts",
783
- "default": "./models/index.mjs"
784
- },
785
781
  "require": {
786
782
  "types": "./models/index.d.ts",
787
783
  "default": "./models/index.js"
788
784
  },
785
+ "import": {
786
+ "types": "./models/index.d.mts",
787
+ "default": "./models/index.mjs"
788
+ },
789
789
  "default": {
790
790
  "types": "./models/index.d.mts",
791
791
  "default": "./models/index.mjs"
792
792
  }
793
793
  },
794
794
  "./themeAugmentation": {
795
- "import": {
796
- "types": "./themeAugmentation/index.d.mts",
797
- "default": "./themeAugmentation/index.mjs"
798
- },
799
795
  "require": {
800
796
  "types": "./themeAugmentation/index.d.ts",
801
797
  "default": "./themeAugmentation/index.js"
802
798
  },
799
+ "import": {
800
+ "types": "./themeAugmentation/index.d.mts",
801
+ "default": "./themeAugmentation/index.mjs"
802
+ },
803
803
  "default": {
804
804
  "types": "./themeAugmentation/index.d.mts",
805
805
  "default": "./themeAugmentation/index.mjs"
806
806
  }
807
807
  },
808
808
  "./timeViewRenderers": {
809
- "import": {
810
- "types": "./timeViewRenderers/index.d.mts",
811
- "default": "./timeViewRenderers/index.mjs"
812
- },
813
809
  "require": {
814
810
  "types": "./timeViewRenderers/index.d.ts",
815
811
  "default": "./timeViewRenderers/index.js"
816
812
  },
813
+ "import": {
814
+ "types": "./timeViewRenderers/index.d.mts",
815
+ "default": "./timeViewRenderers/index.mjs"
816
+ },
817
817
  "default": {
818
818
  "types": "./timeViewRenderers/index.d.mts",
819
819
  "default": "./timeViewRenderers/index.mjs"
820
820
  }
821
821
  },
822
822
  "./validation": {
823
- "import": {
824
- "types": "./validation/index.d.mts",
825
- "default": "./validation/index.mjs"
826
- },
827
823
  "require": {
828
824
  "types": "./validation/index.d.ts",
829
825
  "default": "./validation/index.js"
830
826
  },
827
+ "import": {
828
+ "types": "./validation/index.d.mts",
829
+ "default": "./validation/index.mjs"
830
+ },
831
831
  "default": {
832
832
  "types": "./validation/index.d.mts",
833
833
  "default": "./validation/index.mjs"