@mui/x-date-pickers 8.29.0 → 8.29.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 +104 -1
- package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.js +11 -8
- package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.mjs +11 -8
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/hooks/useField/useField.utils.d.mts +0 -1
- package/internals/hooks/useField/useField.utils.d.ts +0 -1
- package/internals/hooks/useField/useField.utils.js +2 -2
- package/internals/hooks/useField/useField.utils.mjs +1 -1
- package/internals/hooks/useField/useFieldSectionContentProps.d.mts +2 -2
- package/internals/hooks/useField/useFieldSectionContentProps.d.ts +2 -2
- package/internals/hooks/useField/useFieldSectionContentProps.js +14 -11
- package/internals/hooks/useField/useFieldSectionContentProps.mjs +14 -11
- package/package.json +182 -182
package/CHANGELOG.md
CHANGED
|
@@ -5,8 +5,111 @@
|
|
|
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.29.2
|
|
9
|
+
|
|
10
|
+
_Jul 2, 2026_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
|
|
16
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
17
|
+
@Anexus5919, @timbuckley
|
|
18
|
+
|
|
19
|
+
The following team members contributed to this release:
|
|
20
|
+
@alexfauquette, @arminmeh, @brijeshb42, @cherniavskii, @LukasTy, @MBilalShafi
|
|
21
|
+
|
|
22
|
+
### Data Grid
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid@8.29.2`
|
|
25
|
+
|
|
26
|
+
- [DataGrid] Avoid reading `type` of `undefined` in `gridRowUtils` (#22963) @timbuckley
|
|
27
|
+
- [DataGrid] Define `overflowAnchor` style at the right element (#22860) @arminmeh
|
|
28
|
+
- [DataGrid] Fix panel placement jump on mount (#22946) @cherniavskii
|
|
29
|
+
- [DataGrid] Fix scrollbars not showing up on scroll on iOS (#22884) @cherniavskii
|
|
30
|
+
- [DataGrid] Wait for rows before reacting on `autosizeOnMount` (#22886) @MBilalShafi
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-data-grid-pro@8.29.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
33
|
+
|
|
34
|
+
Same changes as in `@mui/x-data-grid@8.29.2`.
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-data-grid-premium@8.29.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-data-grid-pro@8.29.2`, plus:
|
|
39
|
+
|
|
40
|
+
- [DataGridPremium] Escape `singleSelect` values in Excel export with `escapeFormulas` enabled (#22966) @Anexus5919
|
|
41
|
+
|
|
42
|
+
### Date and Time Pickers
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-date-pickers@8.29.2`
|
|
45
|
+
|
|
46
|
+
- [pickers] Fix localized digit crash (#23010) @alexfauquette
|
|
47
|
+
- [pickers] Respect explicit `notched` prop on the outlined `PickersTextField` (#22875) (#22893) @LukasTy
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-date-pickers-pro@8.29.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
50
|
+
|
|
51
|
+
Same changes as in `@mui/x-date-pickers@8.29.2`.
|
|
52
|
+
|
|
53
|
+
### Charts
|
|
54
|
+
|
|
55
|
+
#### `@mui/x-charts@8.29.2`
|
|
56
|
+
|
|
57
|
+
Internal changes.
|
|
58
|
+
|
|
59
|
+
#### `@mui/x-charts-pro@8.29.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
60
|
+
|
|
61
|
+
Same changes as in `@mui/x-charts@8.29.2`.
|
|
62
|
+
|
|
63
|
+
#### `@mui/x-charts-premium@8.29.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
64
|
+
|
|
65
|
+
Same changes as in `@mui/x-charts-pro@8.29.2`.
|
|
66
|
+
|
|
67
|
+
### Tree View
|
|
68
|
+
|
|
69
|
+
#### `@mui/x-tree-view@8.29.2`
|
|
70
|
+
|
|
71
|
+
Internal changes.
|
|
72
|
+
|
|
73
|
+
#### `@mui/x-tree-view-pro@8.29.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
74
|
+
|
|
75
|
+
Same changes as in `@mui/x-tree-view@8.29.2`.
|
|
76
|
+
|
|
77
|
+
### Codemod
|
|
78
|
+
|
|
79
|
+
#### `@mui/x-codemod@8.29.2`
|
|
80
|
+
|
|
81
|
+
Internal changes.
|
|
82
|
+
|
|
83
|
+
### Core
|
|
84
|
+
|
|
85
|
+
- [code-infra] Pin mui-public actions to nearest git hash (#22824) @brijeshb42
|
|
86
|
+
- [internal] Switch resolutions to workspace overrides (#22865) @cherniavskii
|
|
87
|
+
|
|
88
|
+
### Miscellaneous
|
|
89
|
+
|
|
90
|
+
- [virtualizer] Improve the dimensions' initial state (#22890) @arminmeh
|
|
91
|
+
- [virtualizer] Remeasure scrollbars when layout changes (#23003) @arminmeh
|
|
92
|
+
|
|
93
|
+
## 8.29.1
|
|
94
|
+
|
|
95
|
+
_Jun 11, 2026_
|
|
96
|
+
|
|
97
|
+
### Data Grid
|
|
98
|
+
|
|
99
|
+
#### `@mui/x-data-grid@8.29.1`
|
|
100
|
+
|
|
101
|
+
- [DataGrid] Prevent React state update before mount (#22749) @arminmeh
|
|
102
|
+
|
|
103
|
+
#### `@mui/x-data-grid-pro@8.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
104
|
+
|
|
105
|
+
Same changes as in `@mui/x-data-grid@8.29.1`.
|
|
106
|
+
|
|
107
|
+
#### `@mui/x-data-grid-premium@8.29.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
108
|
+
|
|
109
|
+
Same changes as in `@mui/x-data-grid-pro@8.29.1`.
|
|
110
|
+
|
|
8
111
|
## 8.29.0
|
|
9
|
-
|
|
112
|
+
|
|
10
113
|
_Jun 5, 2026_
|
|
11
114
|
|
|
12
115
|
We'd like to extend a big thank you to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
@@ -112,14 +112,17 @@ const PickersOutlinedInput = exports.PickersOutlinedInput = /*#__PURE__*/React.f
|
|
|
112
112
|
root: PickersOutlinedInputRoot,
|
|
113
113
|
input: PickersOutlinedInputSectionsContainer
|
|
114
114
|
},
|
|
115
|
-
renderSuffix: state =>
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
115
|
+
renderSuffix: state => {
|
|
116
|
+
const isNotched = typeof notched !== 'undefined' ? notched : Boolean(state.adornedStart || state.focused || state.filled);
|
|
117
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Outline.default, {
|
|
118
|
+
shrink: isNotched,
|
|
119
|
+
notched: isNotched,
|
|
120
|
+
className: classes.notchedOutline,
|
|
121
|
+
label: label != null && label !== '' && muiFormControl?.required ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
122
|
+
children: [label, "\u2009", '*']
|
|
123
|
+
}) : label
|
|
124
|
+
});
|
|
125
|
+
}
|
|
123
126
|
}, other, {
|
|
124
127
|
label: label,
|
|
125
128
|
classes: classes,
|
|
@@ -105,14 +105,17 @@ const PickersOutlinedInput = /*#__PURE__*/React.forwardRef(function PickersOutli
|
|
|
105
105
|
root: PickersOutlinedInputRoot,
|
|
106
106
|
input: PickersOutlinedInputSectionsContainer
|
|
107
107
|
},
|
|
108
|
-
renderSuffix: state =>
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
108
|
+
renderSuffix: state => {
|
|
109
|
+
const isNotched = typeof notched !== 'undefined' ? notched : Boolean(state.adornedStart || state.focused || state.filled);
|
|
110
|
+
return /*#__PURE__*/_jsx(Outline, {
|
|
111
|
+
shrink: isNotched,
|
|
112
|
+
notched: isNotched,
|
|
113
|
+
className: classes.notchedOutline,
|
|
114
|
+
label: label != null && label !== '' && muiFormControl?.required ? /*#__PURE__*/_jsxs(React.Fragment, {
|
|
115
|
+
children: [label, "\u2009", '*']
|
|
116
|
+
}) : label
|
|
117
|
+
});
|
|
118
|
+
}
|
|
116
119
|
}, other, {
|
|
117
120
|
label: label,
|
|
118
121
|
classes: classes,
|
package/index.js
CHANGED
package/index.mjs
CHANGED
|
@@ -6,7 +6,6 @@ export declare const getDateSectionConfigFromFormatToken: (adapter: MuiPickersAd
|
|
|
6
6
|
};
|
|
7
7
|
export declare const getDaysInWeekStr: (adapter: MuiPickersAdapter, format: string) => string[];
|
|
8
8
|
export declare const getLetterEditingOptions: (adapter: MuiPickersAdapter, timezone: PickersTimezone, sectionType: FieldSectionType, format: string) => string[];
|
|
9
|
-
export declare const FORMAT_SECONDS_NO_LEADING_ZEROS = "s";
|
|
10
9
|
export declare const getLocalizedDigits: (adapter: MuiPickersAdapter) => string[];
|
|
11
10
|
export declare const removeLocalizedDigits: (valueStr: string, localizedDigits: string[]) => string;
|
|
12
11
|
export declare const applyLocalizedDigits: (valueStr: string, localizedDigits: string[]) => string;
|
|
@@ -6,7 +6,6 @@ export declare const getDateSectionConfigFromFormatToken: (adapter: MuiPickersAd
|
|
|
6
6
|
};
|
|
7
7
|
export declare const getDaysInWeekStr: (adapter: MuiPickersAdapter, format: string) => string[];
|
|
8
8
|
export declare const getLetterEditingOptions: (adapter: MuiPickersAdapter, timezone: PickersTimezone, sectionType: FieldSectionType, format: string) => string[];
|
|
9
|
-
export declare const FORMAT_SECONDS_NO_LEADING_ZEROS = "s";
|
|
10
9
|
export declare const getLocalizedDigits: (adapter: MuiPickersAdapter) => string[];
|
|
11
10
|
export declare const removeLocalizedDigits: (valueStr: string, localizedDigits: string[]) => string;
|
|
12
11
|
export declare const applyLocalizedDigits: (valueStr: string, localizedDigits: string[]) => string;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.validateSections = exports.removeLocalizedDigits = exports.parseSelectedSections = exports.mergeDateIntoReferenceDate = exports.isStringNumber = exports.isAndroid = exports.getSectionsBoundaries = exports.getSectionVisibleValue = exports.getSectionOrder = exports.getLocalizedDigits = exports.getLetterEditingOptions = exports.getDaysInWeekStr = exports.getDateSectionConfigFromFormatToken = exports.getDateFromDateSections = exports.doesSectionFormatHaveLeadingZeros = exports.createDateStrForV7HiddenInputFromSections = exports.createDateStrForV6InputFromSections = exports.cleanLeadingZeros = exports.cleanDigitSectionValue = exports.changeSectionValueFormat = exports.applyLocalizedDigits =
|
|
6
|
+
exports.validateSections = exports.removeLocalizedDigits = exports.parseSelectedSections = exports.mergeDateIntoReferenceDate = exports.isStringNumber = exports.isAndroid = exports.getSectionsBoundaries = exports.getSectionVisibleValue = exports.getSectionOrder = exports.getLocalizedDigits = exports.getLetterEditingOptions = exports.getDaysInWeekStr = exports.getDateSectionConfigFromFormatToken = exports.getDateFromDateSections = exports.doesSectionFormatHaveLeadingZeros = exports.createDateStrForV7HiddenInputFromSections = exports.createDateStrForV6InputFromSections = exports.cleanLeadingZeros = exports.cleanDigitSectionValue = exports.changeSectionValueFormat = exports.applyLocalizedDigits = void 0;
|
|
7
7
|
var _dateUtils = require("../../utils/date-utils");
|
|
8
8
|
var _timeUtils = require("../../utils/time-utils");
|
|
9
9
|
const getDateSectionConfigFromFormatToken = (adapter, formatToken) => {
|
|
@@ -63,7 +63,7 @@ const getLetterEditingOptions = (adapter, timezone, sectionType, format) => {
|
|
|
63
63
|
// This format should be the same on all the adapters
|
|
64
64
|
// If some adapter does not respect this convention, then we will need to hardcode the format on each adapter.
|
|
65
65
|
exports.getLetterEditingOptions = getLetterEditingOptions;
|
|
66
|
-
const FORMAT_SECONDS_NO_LEADING_ZEROS =
|
|
66
|
+
const FORMAT_SECONDS_NO_LEADING_ZEROS = 's';
|
|
67
67
|
const NON_LOCALIZED_DIGITS = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
|
68
68
|
const getLocalizedDigits = adapter => {
|
|
69
69
|
const today = adapter.date(undefined);
|
|
@@ -54,7 +54,7 @@ export const getLetterEditingOptions = (adapter, timezone, sectionType, format)
|
|
|
54
54
|
|
|
55
55
|
// This format should be the same on all the adapters
|
|
56
56
|
// If some adapter does not respect this convention, then we will need to hardcode the format on each adapter.
|
|
57
|
-
|
|
57
|
+
const FORMAT_SECONDS_NO_LEADING_ZEROS = 's';
|
|
58
58
|
const NON_LOCALIZED_DIGITS = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
|
59
59
|
export const getLocalizedDigits = adapter => {
|
|
60
60
|
const today = adapter.date(undefined);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UseFieldStateReturnValue } from "./useFieldState.mjs";
|
|
2
2
|
import { FieldSection, PickerManager } from "../../../models/index.mjs";
|
|
3
3
|
import { UseFieldDOMGetters, UseFieldInternalProps } from "./useField.types.mjs";
|
|
4
|
-
import { UseFieldCharacterEditingReturnValue } from "./useFieldCharacterEditing.mjs";
|
|
5
|
-
import { PickersSectionElement } from "../../../PickersSectionList/index.mjs";
|
|
4
|
+
import type { UseFieldCharacterEditingReturnValue } from "./useFieldCharacterEditing.mjs";
|
|
5
|
+
import type { PickersSectionElement } from "../../../PickersSectionList/index.mjs";
|
|
6
6
|
/**
|
|
7
7
|
* Generate the props to pass to the content element of each section of the field.
|
|
8
8
|
* It is not used by the non-accessible DOM structure (with an <input /> element for editing).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UseFieldStateReturnValue } from "./useFieldState.js";
|
|
2
2
|
import { FieldSection, PickerManager } from "../../../models/index.js";
|
|
3
3
|
import { UseFieldDOMGetters, UseFieldInternalProps } from "./useField.types.js";
|
|
4
|
-
import { UseFieldCharacterEditingReturnValue } from "./useFieldCharacterEditing.js";
|
|
5
|
-
import { PickersSectionElement } from "../../../PickersSectionList/index.js";
|
|
4
|
+
import type { UseFieldCharacterEditingReturnValue } from "./useFieldCharacterEditing.js";
|
|
5
|
+
import type { PickersSectionElement } from "../../../PickersSectionList/index.js";
|
|
6
6
|
/**
|
|
7
7
|
* Generate the props to pass to the content element of each section of the field.
|
|
8
8
|
* It is not used by the non-accessible DOM structure (with an <input /> element for editing).
|
|
@@ -10,6 +10,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _useEventCallback = _interopRequireDefault(require("@mui/utils/useEventCallback"));
|
|
11
11
|
var _hooks = require("../../../hooks");
|
|
12
12
|
var _syncSelectionToDOM = require("./syncSelectionToDOM");
|
|
13
|
+
var _useField = require("./useField.utils");
|
|
13
14
|
/**
|
|
14
15
|
* Generate the props to pass to the content element of each section of the field.
|
|
15
16
|
* It is not used by the non-accessible DOM structure (with an <input /> element for editing).
|
|
@@ -34,6 +35,7 @@ function useFieldSectionContentProps(parameters) {
|
|
|
34
35
|
sectionsValueBoundaries,
|
|
35
36
|
state,
|
|
36
37
|
value,
|
|
38
|
+
localizedDigits,
|
|
37
39
|
// Methods to update the states
|
|
38
40
|
clearActiveSection,
|
|
39
41
|
setCharacterQuery,
|
|
@@ -154,10 +156,10 @@ function useFieldSectionContentProps(parameters) {
|
|
|
154
156
|
onFocus: createFocusHandler(sectionIndex),
|
|
155
157
|
// Aria attributes
|
|
156
158
|
'aria-readonly': readOnly,
|
|
157
|
-
'aria-valuenow': getSectionValueNow(section, adapter),
|
|
159
|
+
'aria-valuenow': getSectionValueNow(section, adapter, localizedDigits),
|
|
158
160
|
'aria-valuemin': sectionBoundaries.minimum,
|
|
159
161
|
'aria-valuemax': sectionBoundaries.maximum,
|
|
160
|
-
'aria-valuetext': section.value ? getSectionValueText(section, adapter) : translations.empty,
|
|
162
|
+
'aria-valuetext': section.value ? getSectionValueText(section, adapter, localizedDigits) : translations.empty,
|
|
161
163
|
'aria-label': translations[section.type],
|
|
162
164
|
'aria-disabled': disabled,
|
|
163
165
|
// Other
|
|
@@ -173,9 +175,9 @@ function useFieldSectionContentProps(parameters) {
|
|
|
173
175
|
children: section.value || section.placeholder,
|
|
174
176
|
inputMode: section.contentType === 'letter' ? 'text' : 'numeric'
|
|
175
177
|
};
|
|
176
|
-
}, [sectionsValueBoundaries, isContainerEditable, disabled, readOnly, isEditable, translations, adapter, handleInput, handlePaste, handleMouseUp, handleDragOver, createFocusHandler, fieldValueManager, value]);
|
|
178
|
+
}, [sectionsValueBoundaries, isContainerEditable, disabled, readOnly, isEditable, translations, adapter, localizedDigits, handleInput, handlePaste, handleMouseUp, handleDragOver, createFocusHandler, fieldValueManager, value]);
|
|
177
179
|
}
|
|
178
|
-
function getSectionValueText(section, adapter) {
|
|
180
|
+
function getSectionValueText(section, adapter, localizedDigits) {
|
|
179
181
|
if (!section.value) {
|
|
180
182
|
return undefined;
|
|
181
183
|
}
|
|
@@ -183,7 +185,7 @@ function getSectionValueText(section, adapter) {
|
|
|
183
185
|
case 'month':
|
|
184
186
|
{
|
|
185
187
|
if (section.contentType === 'digit') {
|
|
186
|
-
const dateWithMonth = adapter.setMonth(adapter.date(), Number(section.value) - 1);
|
|
188
|
+
const dateWithMonth = adapter.setMonth(adapter.date(), Number((0, _useField.removeLocalizedDigits)(section.value, localizedDigits)) - 1);
|
|
187
189
|
return adapter.isValid(dateWithMonth) ? adapter.format(dateWithMonth, 'month') : '';
|
|
188
190
|
}
|
|
189
191
|
const parsedDate = adapter.parse(section.value, section.format);
|
|
@@ -191,7 +193,7 @@ function getSectionValueText(section, adapter) {
|
|
|
191
193
|
}
|
|
192
194
|
case 'day':
|
|
193
195
|
if (section.contentType === 'digit') {
|
|
194
|
-
const dateWithDay = adapter.setDate(adapter.startOfYear(adapter.date()), Number(section.value));
|
|
196
|
+
const dateWithDay = adapter.setDate(adapter.startOfYear(adapter.date()), Number((0, _useField.removeLocalizedDigits)(section.value, localizedDigits)));
|
|
195
197
|
return adapter.isValid(dateWithDay) ? adapter.format(dateWithDay, 'dayOfMonthFull') : '';
|
|
196
198
|
}
|
|
197
199
|
return section.value;
|
|
@@ -202,10 +204,11 @@ function getSectionValueText(section, adapter) {
|
|
|
202
204
|
return undefined;
|
|
203
205
|
}
|
|
204
206
|
}
|
|
205
|
-
function getSectionValueNow(section, adapter) {
|
|
207
|
+
function getSectionValueNow(section, adapter, localizedDigits) {
|
|
206
208
|
if (!section.value) {
|
|
207
209
|
return undefined;
|
|
208
210
|
}
|
|
211
|
+
const nonLocalizedValue = (0, _useField.removeLocalizedDigits)(section.value, localizedDigits);
|
|
209
212
|
switch (section.type) {
|
|
210
213
|
case 'weekDay':
|
|
211
214
|
{
|
|
@@ -213,7 +216,7 @@ function getSectionValueNow(section, adapter) {
|
|
|
213
216
|
// TODO: improve by resolving the week day number from a letter week day
|
|
214
217
|
return undefined;
|
|
215
218
|
}
|
|
216
|
-
return Number(
|
|
219
|
+
return Number(nonLocalizedValue);
|
|
217
220
|
}
|
|
218
221
|
case 'meridiem':
|
|
219
222
|
{
|
|
@@ -224,16 +227,16 @@ function getSectionValueNow(section, adapter) {
|
|
|
224
227
|
return undefined;
|
|
225
228
|
}
|
|
226
229
|
case 'day':
|
|
227
|
-
return section.contentType === 'digit-with-letter' ? parseInt(
|
|
230
|
+
return section.contentType === 'digit-with-letter' ? parseInt(nonLocalizedValue, 10) : Number(nonLocalizedValue);
|
|
228
231
|
case 'month':
|
|
229
232
|
{
|
|
230
233
|
if (section.contentType === 'digit') {
|
|
231
|
-
return Number(
|
|
234
|
+
return Number(nonLocalizedValue);
|
|
232
235
|
}
|
|
233
236
|
const parsedDate = adapter.parse(section.value, section.format);
|
|
234
237
|
return parsedDate ? adapter.getMonth(parsedDate) + 1 : undefined;
|
|
235
238
|
}
|
|
236
239
|
default:
|
|
237
|
-
return section.contentType !== 'letter' ? Number(
|
|
240
|
+
return section.contentType !== 'letter' ? Number(nonLocalizedValue) : undefined;
|
|
238
241
|
}
|
|
239
242
|
}
|
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import useEventCallback from '@mui/utils/useEventCallback';
|
|
3
3
|
import { usePickerAdapter, usePickerTranslations } from "../../../hooks/index.mjs";
|
|
4
4
|
import { syncSelectionToDOM } from "./syncSelectionToDOM.mjs";
|
|
5
|
+
import { removeLocalizedDigits } from "./useField.utils.mjs";
|
|
5
6
|
/**
|
|
6
7
|
* Generate the props to pass to the content element of each section of the field.
|
|
7
8
|
* It is not used by the non-accessible DOM structure (with an <input /> element for editing).
|
|
@@ -26,6 +27,7 @@ export function useFieldSectionContentProps(parameters) {
|
|
|
26
27
|
sectionsValueBoundaries,
|
|
27
28
|
state,
|
|
28
29
|
value,
|
|
30
|
+
localizedDigits,
|
|
29
31
|
// Methods to update the states
|
|
30
32
|
clearActiveSection,
|
|
31
33
|
setCharacterQuery,
|
|
@@ -146,10 +148,10 @@ export function useFieldSectionContentProps(parameters) {
|
|
|
146
148
|
onFocus: createFocusHandler(sectionIndex),
|
|
147
149
|
// Aria attributes
|
|
148
150
|
'aria-readonly': readOnly,
|
|
149
|
-
'aria-valuenow': getSectionValueNow(section, adapter),
|
|
151
|
+
'aria-valuenow': getSectionValueNow(section, adapter, localizedDigits),
|
|
150
152
|
'aria-valuemin': sectionBoundaries.minimum,
|
|
151
153
|
'aria-valuemax': sectionBoundaries.maximum,
|
|
152
|
-
'aria-valuetext': section.value ? getSectionValueText(section, adapter) : translations.empty,
|
|
154
|
+
'aria-valuetext': section.value ? getSectionValueText(section, adapter, localizedDigits) : translations.empty,
|
|
153
155
|
'aria-label': translations[section.type],
|
|
154
156
|
'aria-disabled': disabled,
|
|
155
157
|
// Other
|
|
@@ -165,9 +167,9 @@ export function useFieldSectionContentProps(parameters) {
|
|
|
165
167
|
children: section.value || section.placeholder,
|
|
166
168
|
inputMode: section.contentType === 'letter' ? 'text' : 'numeric'
|
|
167
169
|
};
|
|
168
|
-
}, [sectionsValueBoundaries, isContainerEditable, disabled, readOnly, isEditable, translations, adapter, handleInput, handlePaste, handleMouseUp, handleDragOver, createFocusHandler, fieldValueManager, value]);
|
|
170
|
+
}, [sectionsValueBoundaries, isContainerEditable, disabled, readOnly, isEditable, translations, adapter, localizedDigits, handleInput, handlePaste, handleMouseUp, handleDragOver, createFocusHandler, fieldValueManager, value]);
|
|
169
171
|
}
|
|
170
|
-
function getSectionValueText(section, adapter) {
|
|
172
|
+
function getSectionValueText(section, adapter, localizedDigits) {
|
|
171
173
|
if (!section.value) {
|
|
172
174
|
return undefined;
|
|
173
175
|
}
|
|
@@ -175,7 +177,7 @@ function getSectionValueText(section, adapter) {
|
|
|
175
177
|
case 'month':
|
|
176
178
|
{
|
|
177
179
|
if (section.contentType === 'digit') {
|
|
178
|
-
const dateWithMonth = adapter.setMonth(adapter.date(), Number(section.value) - 1);
|
|
180
|
+
const dateWithMonth = adapter.setMonth(adapter.date(), Number(removeLocalizedDigits(section.value, localizedDigits)) - 1);
|
|
179
181
|
return adapter.isValid(dateWithMonth) ? adapter.format(dateWithMonth, 'month') : '';
|
|
180
182
|
}
|
|
181
183
|
const parsedDate = adapter.parse(section.value, section.format);
|
|
@@ -183,7 +185,7 @@ function getSectionValueText(section, adapter) {
|
|
|
183
185
|
}
|
|
184
186
|
case 'day':
|
|
185
187
|
if (section.contentType === 'digit') {
|
|
186
|
-
const dateWithDay = adapter.setDate(adapter.startOfYear(adapter.date()), Number(section.value));
|
|
188
|
+
const dateWithDay = adapter.setDate(adapter.startOfYear(adapter.date()), Number(removeLocalizedDigits(section.value, localizedDigits)));
|
|
187
189
|
return adapter.isValid(dateWithDay) ? adapter.format(dateWithDay, 'dayOfMonthFull') : '';
|
|
188
190
|
}
|
|
189
191
|
return section.value;
|
|
@@ -194,10 +196,11 @@ function getSectionValueText(section, adapter) {
|
|
|
194
196
|
return undefined;
|
|
195
197
|
}
|
|
196
198
|
}
|
|
197
|
-
function getSectionValueNow(section, adapter) {
|
|
199
|
+
function getSectionValueNow(section, adapter, localizedDigits) {
|
|
198
200
|
if (!section.value) {
|
|
199
201
|
return undefined;
|
|
200
202
|
}
|
|
203
|
+
const nonLocalizedValue = removeLocalizedDigits(section.value, localizedDigits);
|
|
201
204
|
switch (section.type) {
|
|
202
205
|
case 'weekDay':
|
|
203
206
|
{
|
|
@@ -205,7 +208,7 @@ function getSectionValueNow(section, adapter) {
|
|
|
205
208
|
// TODO: improve by resolving the week day number from a letter week day
|
|
206
209
|
return undefined;
|
|
207
210
|
}
|
|
208
|
-
return Number(
|
|
211
|
+
return Number(nonLocalizedValue);
|
|
209
212
|
}
|
|
210
213
|
case 'meridiem':
|
|
211
214
|
{
|
|
@@ -216,16 +219,16 @@ function getSectionValueNow(section, adapter) {
|
|
|
216
219
|
return undefined;
|
|
217
220
|
}
|
|
218
221
|
case 'day':
|
|
219
|
-
return section.contentType === 'digit-with-letter' ? parseInt(
|
|
222
|
+
return section.contentType === 'digit-with-letter' ? parseInt(nonLocalizedValue, 10) : Number(nonLocalizedValue);
|
|
220
223
|
case 'month':
|
|
221
224
|
{
|
|
222
225
|
if (section.contentType === 'digit') {
|
|
223
|
-
return Number(
|
|
226
|
+
return Number(nonLocalizedValue);
|
|
224
227
|
}
|
|
225
228
|
const parsedDate = adapter.parse(section.value, section.format);
|
|
226
229
|
return parsedDate ? adapter.getMonth(parsedDate) + 1 : undefined;
|
|
227
230
|
}
|
|
228
231
|
default:
|
|
229
|
-
return section.contentType !== 'letter' ? Number(
|
|
232
|
+
return section.contentType !== 'letter' ? Number(nonLocalizedValue) : undefined;
|
|
230
233
|
}
|
|
231
234
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-date-pickers",
|
|
3
|
-
"version": "8.29.
|
|
3
|
+
"version": "8.29.2",
|
|
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": "8.29.
|
|
42
|
+
"@mui/x-internals": "8.29.2"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@emotion/react": "^11.9.0",
|
|
@@ -204,630 +204,630 @@
|
|
|
204
204
|
}
|
|
205
205
|
},
|
|
206
206
|
"./AdapterDayjs": {
|
|
207
|
-
"require": {
|
|
208
|
-
"types": "./AdapterDayjs/index.d.ts",
|
|
209
|
-
"default": "./AdapterDayjs/index.js"
|
|
210
|
-
},
|
|
211
207
|
"import": {
|
|
212
208
|
"types": "./AdapterDayjs/index.d.mts",
|
|
213
209
|
"default": "./AdapterDayjs/index.mjs"
|
|
214
210
|
},
|
|
211
|
+
"require": {
|
|
212
|
+
"types": "./AdapterDayjs/index.d.ts",
|
|
213
|
+
"default": "./AdapterDayjs/index.js"
|
|
214
|
+
},
|
|
215
215
|
"default": {
|
|
216
216
|
"types": "./AdapterDayjs/index.d.mts",
|
|
217
217
|
"default": "./AdapterDayjs/index.mjs"
|
|
218
218
|
}
|
|
219
219
|
},
|
|
220
220
|
"./AdapterLuxon": {
|
|
221
|
-
"require": {
|
|
222
|
-
"types": "./AdapterLuxon/index.d.ts",
|
|
223
|
-
"default": "./AdapterLuxon/index.js"
|
|
224
|
-
},
|
|
225
221
|
"import": {
|
|
226
222
|
"types": "./AdapterLuxon/index.d.mts",
|
|
227
223
|
"default": "./AdapterLuxon/index.mjs"
|
|
228
224
|
},
|
|
225
|
+
"require": {
|
|
226
|
+
"types": "./AdapterLuxon/index.d.ts",
|
|
227
|
+
"default": "./AdapterLuxon/index.js"
|
|
228
|
+
},
|
|
229
229
|
"default": {
|
|
230
230
|
"types": "./AdapterLuxon/index.d.mts",
|
|
231
231
|
"default": "./AdapterLuxon/index.mjs"
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
234
|
"./AdapterMoment": {
|
|
235
|
-
"require": {
|
|
236
|
-
"types": "./AdapterMoment/index.d.ts",
|
|
237
|
-
"default": "./AdapterMoment/index.js"
|
|
238
|
-
},
|
|
239
235
|
"import": {
|
|
240
236
|
"types": "./AdapterMoment/index.d.mts",
|
|
241
237
|
"default": "./AdapterMoment/index.mjs"
|
|
242
238
|
},
|
|
239
|
+
"require": {
|
|
240
|
+
"types": "./AdapterMoment/index.d.ts",
|
|
241
|
+
"default": "./AdapterMoment/index.js"
|
|
242
|
+
},
|
|
243
243
|
"default": {
|
|
244
244
|
"types": "./AdapterMoment/index.d.mts",
|
|
245
245
|
"default": "./AdapterMoment/index.mjs"
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
"./AdapterMomentHijri": {
|
|
249
|
-
"require": {
|
|
250
|
-
"types": "./AdapterMomentHijri/index.d.ts",
|
|
251
|
-
"default": "./AdapterMomentHijri/index.js"
|
|
252
|
-
},
|
|
253
249
|
"import": {
|
|
254
250
|
"types": "./AdapterMomentHijri/index.d.mts",
|
|
255
251
|
"default": "./AdapterMomentHijri/index.mjs"
|
|
256
252
|
},
|
|
253
|
+
"require": {
|
|
254
|
+
"types": "./AdapterMomentHijri/index.d.ts",
|
|
255
|
+
"default": "./AdapterMomentHijri/index.js"
|
|
256
|
+
},
|
|
257
257
|
"default": {
|
|
258
258
|
"types": "./AdapterMomentHijri/index.d.mts",
|
|
259
259
|
"default": "./AdapterMomentHijri/index.mjs"
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
262
|
"./AdapterMomentJalaali": {
|
|
263
|
-
"require": {
|
|
264
|
-
"types": "./AdapterMomentJalaali/index.d.ts",
|
|
265
|
-
"default": "./AdapterMomentJalaali/index.js"
|
|
266
|
-
},
|
|
267
263
|
"import": {
|
|
268
264
|
"types": "./AdapterMomentJalaali/index.d.mts",
|
|
269
265
|
"default": "./AdapterMomentJalaali/index.mjs"
|
|
270
266
|
},
|
|
267
|
+
"require": {
|
|
268
|
+
"types": "./AdapterMomentJalaali/index.d.ts",
|
|
269
|
+
"default": "./AdapterMomentJalaali/index.js"
|
|
270
|
+
},
|
|
271
271
|
"default": {
|
|
272
272
|
"types": "./AdapterMomentJalaali/index.d.mts",
|
|
273
273
|
"default": "./AdapterMomentJalaali/index.mjs"
|
|
274
274
|
}
|
|
275
275
|
},
|
|
276
276
|
"./DateCalendar": {
|
|
277
|
-
"require": {
|
|
278
|
-
"types": "./DateCalendar/index.d.ts",
|
|
279
|
-
"default": "./DateCalendar/index.js"
|
|
280
|
-
},
|
|
281
277
|
"import": {
|
|
282
278
|
"types": "./DateCalendar/index.d.mts",
|
|
283
279
|
"default": "./DateCalendar/index.mjs"
|
|
284
280
|
},
|
|
281
|
+
"require": {
|
|
282
|
+
"types": "./DateCalendar/index.d.ts",
|
|
283
|
+
"default": "./DateCalendar/index.js"
|
|
284
|
+
},
|
|
285
285
|
"default": {
|
|
286
286
|
"types": "./DateCalendar/index.d.mts",
|
|
287
287
|
"default": "./DateCalendar/index.mjs"
|
|
288
288
|
}
|
|
289
289
|
},
|
|
290
290
|
"./DateField": {
|
|
291
|
-
"require": {
|
|
292
|
-
"types": "./DateField/index.d.ts",
|
|
293
|
-
"default": "./DateField/index.js"
|
|
294
|
-
},
|
|
295
291
|
"import": {
|
|
296
292
|
"types": "./DateField/index.d.mts",
|
|
297
293
|
"default": "./DateField/index.mjs"
|
|
298
294
|
},
|
|
295
|
+
"require": {
|
|
296
|
+
"types": "./DateField/index.d.ts",
|
|
297
|
+
"default": "./DateField/index.js"
|
|
298
|
+
},
|
|
299
299
|
"default": {
|
|
300
300
|
"types": "./DateField/index.d.mts",
|
|
301
301
|
"default": "./DateField/index.mjs"
|
|
302
302
|
}
|
|
303
303
|
},
|
|
304
304
|
"./DatePicker": {
|
|
305
|
-
"require": {
|
|
306
|
-
"types": "./DatePicker/index.d.ts",
|
|
307
|
-
"default": "./DatePicker/index.js"
|
|
308
|
-
},
|
|
309
305
|
"import": {
|
|
310
306
|
"types": "./DatePicker/index.d.mts",
|
|
311
307
|
"default": "./DatePicker/index.mjs"
|
|
312
308
|
},
|
|
309
|
+
"require": {
|
|
310
|
+
"types": "./DatePicker/index.d.ts",
|
|
311
|
+
"default": "./DatePicker/index.js"
|
|
312
|
+
},
|
|
313
313
|
"default": {
|
|
314
314
|
"types": "./DatePicker/index.d.mts",
|
|
315
315
|
"default": "./DatePicker/index.mjs"
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
"./DateTimeField": {
|
|
319
|
-
"require": {
|
|
320
|
-
"types": "./DateTimeField/index.d.ts",
|
|
321
|
-
"default": "./DateTimeField/index.js"
|
|
322
|
-
},
|
|
323
319
|
"import": {
|
|
324
320
|
"types": "./DateTimeField/index.d.mts",
|
|
325
321
|
"default": "./DateTimeField/index.mjs"
|
|
326
322
|
},
|
|
323
|
+
"require": {
|
|
324
|
+
"types": "./DateTimeField/index.d.ts",
|
|
325
|
+
"default": "./DateTimeField/index.js"
|
|
326
|
+
},
|
|
327
327
|
"default": {
|
|
328
328
|
"types": "./DateTimeField/index.d.mts",
|
|
329
329
|
"default": "./DateTimeField/index.mjs"
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
332
|
"./DateTimePicker": {
|
|
333
|
-
"require": {
|
|
334
|
-
"types": "./DateTimePicker/index.d.ts",
|
|
335
|
-
"default": "./DateTimePicker/index.js"
|
|
336
|
-
},
|
|
337
333
|
"import": {
|
|
338
334
|
"types": "./DateTimePicker/index.d.mts",
|
|
339
335
|
"default": "./DateTimePicker/index.mjs"
|
|
340
336
|
},
|
|
337
|
+
"require": {
|
|
338
|
+
"types": "./DateTimePicker/index.d.ts",
|
|
339
|
+
"default": "./DateTimePicker/index.js"
|
|
340
|
+
},
|
|
341
341
|
"default": {
|
|
342
342
|
"types": "./DateTimePicker/index.d.mts",
|
|
343
343
|
"default": "./DateTimePicker/index.mjs"
|
|
344
344
|
}
|
|
345
345
|
},
|
|
346
346
|
"./DayCalendarSkeleton": {
|
|
347
|
-
"require": {
|
|
348
|
-
"types": "./DayCalendarSkeleton/index.d.ts",
|
|
349
|
-
"default": "./DayCalendarSkeleton/index.js"
|
|
350
|
-
},
|
|
351
347
|
"import": {
|
|
352
348
|
"types": "./DayCalendarSkeleton/index.d.mts",
|
|
353
349
|
"default": "./DayCalendarSkeleton/index.mjs"
|
|
354
350
|
},
|
|
351
|
+
"require": {
|
|
352
|
+
"types": "./DayCalendarSkeleton/index.d.ts",
|
|
353
|
+
"default": "./DayCalendarSkeleton/index.js"
|
|
354
|
+
},
|
|
355
355
|
"default": {
|
|
356
356
|
"types": "./DayCalendarSkeleton/index.d.mts",
|
|
357
357
|
"default": "./DayCalendarSkeleton/index.mjs"
|
|
358
358
|
}
|
|
359
359
|
},
|
|
360
360
|
"./DesktopDatePicker": {
|
|
361
|
-
"require": {
|
|
362
|
-
"types": "./DesktopDatePicker/index.d.ts",
|
|
363
|
-
"default": "./DesktopDatePicker/index.js"
|
|
364
|
-
},
|
|
365
361
|
"import": {
|
|
366
362
|
"types": "./DesktopDatePicker/index.d.mts",
|
|
367
363
|
"default": "./DesktopDatePicker/index.mjs"
|
|
368
364
|
},
|
|
365
|
+
"require": {
|
|
366
|
+
"types": "./DesktopDatePicker/index.d.ts",
|
|
367
|
+
"default": "./DesktopDatePicker/index.js"
|
|
368
|
+
},
|
|
369
369
|
"default": {
|
|
370
370
|
"types": "./DesktopDatePicker/index.d.mts",
|
|
371
371
|
"default": "./DesktopDatePicker/index.mjs"
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
374
|
"./DesktopDateTimePicker": {
|
|
375
|
-
"require": {
|
|
376
|
-
"types": "./DesktopDateTimePicker/index.d.ts",
|
|
377
|
-
"default": "./DesktopDateTimePicker/index.js"
|
|
378
|
-
},
|
|
379
375
|
"import": {
|
|
380
376
|
"types": "./DesktopDateTimePicker/index.d.mts",
|
|
381
377
|
"default": "./DesktopDateTimePicker/index.mjs"
|
|
382
378
|
},
|
|
379
|
+
"require": {
|
|
380
|
+
"types": "./DesktopDateTimePicker/index.d.ts",
|
|
381
|
+
"default": "./DesktopDateTimePicker/index.js"
|
|
382
|
+
},
|
|
383
383
|
"default": {
|
|
384
384
|
"types": "./DesktopDateTimePicker/index.d.mts",
|
|
385
385
|
"default": "./DesktopDateTimePicker/index.mjs"
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
388
|
"./DesktopTimePicker": {
|
|
389
|
-
"require": {
|
|
390
|
-
"types": "./DesktopTimePicker/index.d.ts",
|
|
391
|
-
"default": "./DesktopTimePicker/index.js"
|
|
392
|
-
},
|
|
393
389
|
"import": {
|
|
394
390
|
"types": "./DesktopTimePicker/index.d.mts",
|
|
395
391
|
"default": "./DesktopTimePicker/index.mjs"
|
|
396
392
|
},
|
|
393
|
+
"require": {
|
|
394
|
+
"types": "./DesktopTimePicker/index.d.ts",
|
|
395
|
+
"default": "./DesktopTimePicker/index.js"
|
|
396
|
+
},
|
|
397
397
|
"default": {
|
|
398
398
|
"types": "./DesktopTimePicker/index.d.mts",
|
|
399
399
|
"default": "./DesktopTimePicker/index.mjs"
|
|
400
400
|
}
|
|
401
401
|
},
|
|
402
402
|
"./DigitalClock": {
|
|
403
|
-
"require": {
|
|
404
|
-
"types": "./DigitalClock/index.d.ts",
|
|
405
|
-
"default": "./DigitalClock/index.js"
|
|
406
|
-
},
|
|
407
403
|
"import": {
|
|
408
404
|
"types": "./DigitalClock/index.d.mts",
|
|
409
405
|
"default": "./DigitalClock/index.mjs"
|
|
410
406
|
},
|
|
407
|
+
"require": {
|
|
408
|
+
"types": "./DigitalClock/index.d.ts",
|
|
409
|
+
"default": "./DigitalClock/index.js"
|
|
410
|
+
},
|
|
411
411
|
"default": {
|
|
412
412
|
"types": "./DigitalClock/index.d.mts",
|
|
413
413
|
"default": "./DigitalClock/index.mjs"
|
|
414
414
|
}
|
|
415
415
|
},
|
|
416
416
|
"./LocalizationProvider": {
|
|
417
|
-
"require": {
|
|
418
|
-
"types": "./LocalizationProvider/index.d.ts",
|
|
419
|
-
"default": "./LocalizationProvider/index.js"
|
|
420
|
-
},
|
|
421
417
|
"import": {
|
|
422
418
|
"types": "./LocalizationProvider/index.d.mts",
|
|
423
419
|
"default": "./LocalizationProvider/index.mjs"
|
|
424
420
|
},
|
|
421
|
+
"require": {
|
|
422
|
+
"types": "./LocalizationProvider/index.d.ts",
|
|
423
|
+
"default": "./LocalizationProvider/index.js"
|
|
424
|
+
},
|
|
425
425
|
"default": {
|
|
426
426
|
"types": "./LocalizationProvider/index.d.mts",
|
|
427
427
|
"default": "./LocalizationProvider/index.mjs"
|
|
428
428
|
}
|
|
429
429
|
},
|
|
430
430
|
"./MobileDatePicker": {
|
|
431
|
-
"require": {
|
|
432
|
-
"types": "./MobileDatePicker/index.d.ts",
|
|
433
|
-
"default": "./MobileDatePicker/index.js"
|
|
434
|
-
},
|
|
435
431
|
"import": {
|
|
436
432
|
"types": "./MobileDatePicker/index.d.mts",
|
|
437
433
|
"default": "./MobileDatePicker/index.mjs"
|
|
438
434
|
},
|
|
435
|
+
"require": {
|
|
436
|
+
"types": "./MobileDatePicker/index.d.ts",
|
|
437
|
+
"default": "./MobileDatePicker/index.js"
|
|
438
|
+
},
|
|
439
439
|
"default": {
|
|
440
440
|
"types": "./MobileDatePicker/index.d.mts",
|
|
441
441
|
"default": "./MobileDatePicker/index.mjs"
|
|
442
442
|
}
|
|
443
443
|
},
|
|
444
444
|
"./MobileDateTimePicker": {
|
|
445
|
-
"require": {
|
|
446
|
-
"types": "./MobileDateTimePicker/index.d.ts",
|
|
447
|
-
"default": "./MobileDateTimePicker/index.js"
|
|
448
|
-
},
|
|
449
445
|
"import": {
|
|
450
446
|
"types": "./MobileDateTimePicker/index.d.mts",
|
|
451
447
|
"default": "./MobileDateTimePicker/index.mjs"
|
|
452
448
|
},
|
|
449
|
+
"require": {
|
|
450
|
+
"types": "./MobileDateTimePicker/index.d.ts",
|
|
451
|
+
"default": "./MobileDateTimePicker/index.js"
|
|
452
|
+
},
|
|
453
453
|
"default": {
|
|
454
454
|
"types": "./MobileDateTimePicker/index.d.mts",
|
|
455
455
|
"default": "./MobileDateTimePicker/index.mjs"
|
|
456
456
|
}
|
|
457
457
|
},
|
|
458
458
|
"./MobileTimePicker": {
|
|
459
|
-
"require": {
|
|
460
|
-
"types": "./MobileTimePicker/index.d.ts",
|
|
461
|
-
"default": "./MobileTimePicker/index.js"
|
|
462
|
-
},
|
|
463
459
|
"import": {
|
|
464
460
|
"types": "./MobileTimePicker/index.d.mts",
|
|
465
461
|
"default": "./MobileTimePicker/index.mjs"
|
|
466
462
|
},
|
|
463
|
+
"require": {
|
|
464
|
+
"types": "./MobileTimePicker/index.d.ts",
|
|
465
|
+
"default": "./MobileTimePicker/index.js"
|
|
466
|
+
},
|
|
467
467
|
"default": {
|
|
468
468
|
"types": "./MobileTimePicker/index.d.mts",
|
|
469
469
|
"default": "./MobileTimePicker/index.mjs"
|
|
470
470
|
}
|
|
471
471
|
},
|
|
472
472
|
"./MonthCalendar": {
|
|
473
|
-
"require": {
|
|
474
|
-
"types": "./MonthCalendar/index.d.ts",
|
|
475
|
-
"default": "./MonthCalendar/index.js"
|
|
476
|
-
},
|
|
477
473
|
"import": {
|
|
478
474
|
"types": "./MonthCalendar/index.d.mts",
|
|
479
475
|
"default": "./MonthCalendar/index.mjs"
|
|
480
476
|
},
|
|
477
|
+
"require": {
|
|
478
|
+
"types": "./MonthCalendar/index.d.ts",
|
|
479
|
+
"default": "./MonthCalendar/index.js"
|
|
480
|
+
},
|
|
481
481
|
"default": {
|
|
482
482
|
"types": "./MonthCalendar/index.d.mts",
|
|
483
483
|
"default": "./MonthCalendar/index.mjs"
|
|
484
484
|
}
|
|
485
485
|
},
|
|
486
486
|
"./MultiSectionDigitalClock": {
|
|
487
|
-
"require": {
|
|
488
|
-
"types": "./MultiSectionDigitalClock/index.d.ts",
|
|
489
|
-
"default": "./MultiSectionDigitalClock/index.js"
|
|
490
|
-
},
|
|
491
487
|
"import": {
|
|
492
488
|
"types": "./MultiSectionDigitalClock/index.d.mts",
|
|
493
489
|
"default": "./MultiSectionDigitalClock/index.mjs"
|
|
494
490
|
},
|
|
491
|
+
"require": {
|
|
492
|
+
"types": "./MultiSectionDigitalClock/index.d.ts",
|
|
493
|
+
"default": "./MultiSectionDigitalClock/index.js"
|
|
494
|
+
},
|
|
495
495
|
"default": {
|
|
496
496
|
"types": "./MultiSectionDigitalClock/index.d.mts",
|
|
497
497
|
"default": "./MultiSectionDigitalClock/index.mjs"
|
|
498
498
|
}
|
|
499
499
|
},
|
|
500
500
|
"./PickerDay2": {
|
|
501
|
-
"require": {
|
|
502
|
-
"types": "./PickerDay2/index.d.ts",
|
|
503
|
-
"default": "./PickerDay2/index.js"
|
|
504
|
-
},
|
|
505
501
|
"import": {
|
|
506
502
|
"types": "./PickerDay2/index.d.mts",
|
|
507
503
|
"default": "./PickerDay2/index.mjs"
|
|
508
504
|
},
|
|
505
|
+
"require": {
|
|
506
|
+
"types": "./PickerDay2/index.d.ts",
|
|
507
|
+
"default": "./PickerDay2/index.js"
|
|
508
|
+
},
|
|
509
509
|
"default": {
|
|
510
510
|
"types": "./PickerDay2/index.d.mts",
|
|
511
511
|
"default": "./PickerDay2/index.mjs"
|
|
512
512
|
}
|
|
513
513
|
},
|
|
514
514
|
"./PickersActionBar": {
|
|
515
|
-
"require": {
|
|
516
|
-
"types": "./PickersActionBar/index.d.ts",
|
|
517
|
-
"default": "./PickersActionBar/index.js"
|
|
518
|
-
},
|
|
519
515
|
"import": {
|
|
520
516
|
"types": "./PickersActionBar/index.d.mts",
|
|
521
517
|
"default": "./PickersActionBar/index.mjs"
|
|
522
518
|
},
|
|
519
|
+
"require": {
|
|
520
|
+
"types": "./PickersActionBar/index.d.ts",
|
|
521
|
+
"default": "./PickersActionBar/index.js"
|
|
522
|
+
},
|
|
523
523
|
"default": {
|
|
524
524
|
"types": "./PickersActionBar/index.d.mts",
|
|
525
525
|
"default": "./PickersActionBar/index.mjs"
|
|
526
526
|
}
|
|
527
527
|
},
|
|
528
528
|
"./PickersCalendarHeader": {
|
|
529
|
-
"require": {
|
|
530
|
-
"types": "./PickersCalendarHeader/index.d.ts",
|
|
531
|
-
"default": "./PickersCalendarHeader/index.js"
|
|
532
|
-
},
|
|
533
529
|
"import": {
|
|
534
530
|
"types": "./PickersCalendarHeader/index.d.mts",
|
|
535
531
|
"default": "./PickersCalendarHeader/index.mjs"
|
|
536
532
|
},
|
|
533
|
+
"require": {
|
|
534
|
+
"types": "./PickersCalendarHeader/index.d.ts",
|
|
535
|
+
"default": "./PickersCalendarHeader/index.js"
|
|
536
|
+
},
|
|
537
537
|
"default": {
|
|
538
538
|
"types": "./PickersCalendarHeader/index.d.mts",
|
|
539
539
|
"default": "./PickersCalendarHeader/index.mjs"
|
|
540
540
|
}
|
|
541
541
|
},
|
|
542
542
|
"./PickersDay": {
|
|
543
|
-
"require": {
|
|
544
|
-
"types": "./PickersDay/index.d.ts",
|
|
545
|
-
"default": "./PickersDay/index.js"
|
|
546
|
-
},
|
|
547
543
|
"import": {
|
|
548
544
|
"types": "./PickersDay/index.d.mts",
|
|
549
545
|
"default": "./PickersDay/index.mjs"
|
|
550
546
|
},
|
|
547
|
+
"require": {
|
|
548
|
+
"types": "./PickersDay/index.d.ts",
|
|
549
|
+
"default": "./PickersDay/index.js"
|
|
550
|
+
},
|
|
551
551
|
"default": {
|
|
552
552
|
"types": "./PickersDay/index.d.mts",
|
|
553
553
|
"default": "./PickersDay/index.mjs"
|
|
554
554
|
}
|
|
555
555
|
},
|
|
556
556
|
"./PickersLayout": {
|
|
557
|
-
"require": {
|
|
558
|
-
"types": "./PickersLayout/index.d.ts",
|
|
559
|
-
"default": "./PickersLayout/index.js"
|
|
560
|
-
},
|
|
561
557
|
"import": {
|
|
562
558
|
"types": "./PickersLayout/index.d.mts",
|
|
563
559
|
"default": "./PickersLayout/index.mjs"
|
|
564
560
|
},
|
|
561
|
+
"require": {
|
|
562
|
+
"types": "./PickersLayout/index.d.ts",
|
|
563
|
+
"default": "./PickersLayout/index.js"
|
|
564
|
+
},
|
|
565
565
|
"default": {
|
|
566
566
|
"types": "./PickersLayout/index.d.mts",
|
|
567
567
|
"default": "./PickersLayout/index.mjs"
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
570
|
"./PickersSectionList": {
|
|
571
|
-
"require": {
|
|
572
|
-
"types": "./PickersSectionList/index.d.ts",
|
|
573
|
-
"default": "./PickersSectionList/index.js"
|
|
574
|
-
},
|
|
575
571
|
"import": {
|
|
576
572
|
"types": "./PickersSectionList/index.d.mts",
|
|
577
573
|
"default": "./PickersSectionList/index.mjs"
|
|
578
574
|
},
|
|
575
|
+
"require": {
|
|
576
|
+
"types": "./PickersSectionList/index.d.ts",
|
|
577
|
+
"default": "./PickersSectionList/index.js"
|
|
578
|
+
},
|
|
579
579
|
"default": {
|
|
580
580
|
"types": "./PickersSectionList/index.d.mts",
|
|
581
581
|
"default": "./PickersSectionList/index.mjs"
|
|
582
582
|
}
|
|
583
583
|
},
|
|
584
584
|
"./PickersShortcuts": {
|
|
585
|
-
"require": {
|
|
586
|
-
"types": "./PickersShortcuts/index.d.ts",
|
|
587
|
-
"default": "./PickersShortcuts/index.js"
|
|
588
|
-
},
|
|
589
585
|
"import": {
|
|
590
586
|
"types": "./PickersShortcuts/index.d.mts",
|
|
591
587
|
"default": "./PickersShortcuts/index.mjs"
|
|
592
588
|
},
|
|
589
|
+
"require": {
|
|
590
|
+
"types": "./PickersShortcuts/index.d.ts",
|
|
591
|
+
"default": "./PickersShortcuts/index.js"
|
|
592
|
+
},
|
|
593
593
|
"default": {
|
|
594
594
|
"types": "./PickersShortcuts/index.d.mts",
|
|
595
595
|
"default": "./PickersShortcuts/index.mjs"
|
|
596
596
|
}
|
|
597
597
|
},
|
|
598
598
|
"./PickersTextField": {
|
|
599
|
-
"require": {
|
|
600
|
-
"types": "./PickersTextField/index.d.ts",
|
|
601
|
-
"default": "./PickersTextField/index.js"
|
|
602
|
-
},
|
|
603
599
|
"import": {
|
|
604
600
|
"types": "./PickersTextField/index.d.mts",
|
|
605
601
|
"default": "./PickersTextField/index.mjs"
|
|
606
602
|
},
|
|
603
|
+
"require": {
|
|
604
|
+
"types": "./PickersTextField/index.d.ts",
|
|
605
|
+
"default": "./PickersTextField/index.js"
|
|
606
|
+
},
|
|
607
607
|
"default": {
|
|
608
608
|
"types": "./PickersTextField/index.d.mts",
|
|
609
609
|
"default": "./PickersTextField/index.mjs"
|
|
610
610
|
}
|
|
611
611
|
},
|
|
612
612
|
"./StaticDatePicker": {
|
|
613
|
-
"require": {
|
|
614
|
-
"types": "./StaticDatePicker/index.d.ts",
|
|
615
|
-
"default": "./StaticDatePicker/index.js"
|
|
616
|
-
},
|
|
617
613
|
"import": {
|
|
618
614
|
"types": "./StaticDatePicker/index.d.mts",
|
|
619
615
|
"default": "./StaticDatePicker/index.mjs"
|
|
620
616
|
},
|
|
617
|
+
"require": {
|
|
618
|
+
"types": "./StaticDatePicker/index.d.ts",
|
|
619
|
+
"default": "./StaticDatePicker/index.js"
|
|
620
|
+
},
|
|
621
621
|
"default": {
|
|
622
622
|
"types": "./StaticDatePicker/index.d.mts",
|
|
623
623
|
"default": "./StaticDatePicker/index.mjs"
|
|
624
624
|
}
|
|
625
625
|
},
|
|
626
626
|
"./StaticDateTimePicker": {
|
|
627
|
-
"require": {
|
|
628
|
-
"types": "./StaticDateTimePicker/index.d.ts",
|
|
629
|
-
"default": "./StaticDateTimePicker/index.js"
|
|
630
|
-
},
|
|
631
627
|
"import": {
|
|
632
628
|
"types": "./StaticDateTimePicker/index.d.mts",
|
|
633
629
|
"default": "./StaticDateTimePicker/index.mjs"
|
|
634
630
|
},
|
|
631
|
+
"require": {
|
|
632
|
+
"types": "./StaticDateTimePicker/index.d.ts",
|
|
633
|
+
"default": "./StaticDateTimePicker/index.js"
|
|
634
|
+
},
|
|
635
635
|
"default": {
|
|
636
636
|
"types": "./StaticDateTimePicker/index.d.mts",
|
|
637
637
|
"default": "./StaticDateTimePicker/index.mjs"
|
|
638
638
|
}
|
|
639
639
|
},
|
|
640
640
|
"./StaticTimePicker": {
|
|
641
|
-
"require": {
|
|
642
|
-
"types": "./StaticTimePicker/index.d.ts",
|
|
643
|
-
"default": "./StaticTimePicker/index.js"
|
|
644
|
-
},
|
|
645
641
|
"import": {
|
|
646
642
|
"types": "./StaticTimePicker/index.d.mts",
|
|
647
643
|
"default": "./StaticTimePicker/index.mjs"
|
|
648
644
|
},
|
|
645
|
+
"require": {
|
|
646
|
+
"types": "./StaticTimePicker/index.d.ts",
|
|
647
|
+
"default": "./StaticTimePicker/index.js"
|
|
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
|
-
"require": {
|
|
656
|
-
"types": "./TimeClock/index.d.ts",
|
|
657
|
-
"default": "./TimeClock/index.js"
|
|
658
|
-
},
|
|
659
655
|
"import": {
|
|
660
656
|
"types": "./TimeClock/index.d.mts",
|
|
661
657
|
"default": "./TimeClock/index.mjs"
|
|
662
658
|
},
|
|
659
|
+
"require": {
|
|
660
|
+
"types": "./TimeClock/index.d.ts",
|
|
661
|
+
"default": "./TimeClock/index.js"
|
|
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
|
-
"require": {
|
|
670
|
-
"types": "./TimeField/index.d.ts",
|
|
671
|
-
"default": "./TimeField/index.js"
|
|
672
|
-
},
|
|
673
669
|
"import": {
|
|
674
670
|
"types": "./TimeField/index.d.mts",
|
|
675
671
|
"default": "./TimeField/index.mjs"
|
|
676
672
|
},
|
|
673
|
+
"require": {
|
|
674
|
+
"types": "./TimeField/index.d.ts",
|
|
675
|
+
"default": "./TimeField/index.js"
|
|
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
|
-
"require": {
|
|
684
|
-
"types": "./TimePicker/index.d.ts",
|
|
685
|
-
"default": "./TimePicker/index.js"
|
|
686
|
-
},
|
|
687
683
|
"import": {
|
|
688
684
|
"types": "./TimePicker/index.d.mts",
|
|
689
685
|
"default": "./TimePicker/index.mjs"
|
|
690
686
|
},
|
|
687
|
+
"require": {
|
|
688
|
+
"types": "./TimePicker/index.d.ts",
|
|
689
|
+
"default": "./TimePicker/index.js"
|
|
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
|
-
"require": {
|
|
698
|
-
"types": "./YearCalendar/index.d.ts",
|
|
699
|
-
"default": "./YearCalendar/index.js"
|
|
700
|
-
},
|
|
701
697
|
"import": {
|
|
702
698
|
"types": "./YearCalendar/index.d.mts",
|
|
703
699
|
"default": "./YearCalendar/index.mjs"
|
|
704
700
|
},
|
|
701
|
+
"require": {
|
|
702
|
+
"types": "./YearCalendar/index.d.ts",
|
|
703
|
+
"default": "./YearCalendar/index.js"
|
|
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
|
-
"require": {
|
|
712
|
-
"types": "./dateViewRenderers/index.d.ts",
|
|
713
|
-
"default": "./dateViewRenderers/index.js"
|
|
714
|
-
},
|
|
715
711
|
"import": {
|
|
716
712
|
"types": "./dateViewRenderers/index.d.mts",
|
|
717
713
|
"default": "./dateViewRenderers/index.mjs"
|
|
718
714
|
},
|
|
715
|
+
"require": {
|
|
716
|
+
"types": "./dateViewRenderers/index.d.ts",
|
|
717
|
+
"default": "./dateViewRenderers/index.js"
|
|
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
|
-
"require": {
|
|
726
|
-
"types": "./hooks/index.d.ts",
|
|
727
|
-
"default": "./hooks/index.js"
|
|
728
|
-
},
|
|
729
725
|
"import": {
|
|
730
726
|
"types": "./hooks/index.d.mts",
|
|
731
727
|
"default": "./hooks/index.mjs"
|
|
732
728
|
},
|
|
729
|
+
"require": {
|
|
730
|
+
"types": "./hooks/index.d.ts",
|
|
731
|
+
"default": "./hooks/index.js"
|
|
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
|
-
"require": {
|
|
740
|
-
"types": "./internals/index.d.ts",
|
|
741
|
-
"default": "./internals/index.js"
|
|
742
|
-
},
|
|
743
739
|
"import": {
|
|
744
740
|
"types": "./internals/index.d.mts",
|
|
745
741
|
"default": "./internals/index.mjs"
|
|
746
742
|
},
|
|
743
|
+
"require": {
|
|
744
|
+
"types": "./internals/index.d.ts",
|
|
745
|
+
"default": "./internals/index.js"
|
|
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
|
-
"require": {
|
|
754
|
-
"types": "./locales/index.d.ts",
|
|
755
|
-
"default": "./locales/index.js"
|
|
756
|
-
},
|
|
757
753
|
"import": {
|
|
758
754
|
"types": "./locales/index.d.mts",
|
|
759
755
|
"default": "./locales/index.mjs"
|
|
760
756
|
},
|
|
757
|
+
"require": {
|
|
758
|
+
"types": "./locales/index.d.ts",
|
|
759
|
+
"default": "./locales/index.js"
|
|
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
|
-
"require": {
|
|
768
|
-
"types": "./managers/index.d.ts",
|
|
769
|
-
"default": "./managers/index.js"
|
|
770
|
-
},
|
|
771
767
|
"import": {
|
|
772
768
|
"types": "./managers/index.d.mts",
|
|
773
769
|
"default": "./managers/index.mjs"
|
|
774
770
|
},
|
|
771
|
+
"require": {
|
|
772
|
+
"types": "./managers/index.d.ts",
|
|
773
|
+
"default": "./managers/index.js"
|
|
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
|
-
"require": {
|
|
782
|
-
"types": "./models/index.d.ts",
|
|
783
|
-
"default": "./models/index.js"
|
|
784
|
-
},
|
|
785
781
|
"import": {
|
|
786
782
|
"types": "./models/index.d.mts",
|
|
787
783
|
"default": "./models/index.mjs"
|
|
788
784
|
},
|
|
785
|
+
"require": {
|
|
786
|
+
"types": "./models/index.d.ts",
|
|
787
|
+
"default": "./models/index.js"
|
|
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
|
-
"require": {
|
|
796
|
-
"types": "./themeAugmentation/index.d.ts",
|
|
797
|
-
"default": "./themeAugmentation/index.js"
|
|
798
|
-
},
|
|
799
795
|
"import": {
|
|
800
796
|
"types": "./themeAugmentation/index.d.mts",
|
|
801
797
|
"default": "./themeAugmentation/index.mjs"
|
|
802
798
|
},
|
|
799
|
+
"require": {
|
|
800
|
+
"types": "./themeAugmentation/index.d.ts",
|
|
801
|
+
"default": "./themeAugmentation/index.js"
|
|
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
|
-
"require": {
|
|
810
|
-
"types": "./timeViewRenderers/index.d.ts",
|
|
811
|
-
"default": "./timeViewRenderers/index.js"
|
|
812
|
-
},
|
|
813
809
|
"import": {
|
|
814
810
|
"types": "./timeViewRenderers/index.d.mts",
|
|
815
811
|
"default": "./timeViewRenderers/index.mjs"
|
|
816
812
|
},
|
|
813
|
+
"require": {
|
|
814
|
+
"types": "./timeViewRenderers/index.d.ts",
|
|
815
|
+
"default": "./timeViewRenderers/index.js"
|
|
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
|
-
"require": {
|
|
824
|
-
"types": "./validation/index.d.ts",
|
|
825
|
-
"default": "./validation/index.js"
|
|
826
|
-
},
|
|
827
823
|
"import": {
|
|
828
824
|
"types": "./validation/index.d.mts",
|
|
829
825
|
"default": "./validation/index.mjs"
|
|
830
826
|
},
|
|
827
|
+
"require": {
|
|
828
|
+
"types": "./validation/index.d.ts",
|
|
829
|
+
"default": "./validation/index.js"
|
|
830
|
+
},
|
|
831
831
|
"default": {
|
|
832
832
|
"types": "./validation/index.d.mts",
|
|
833
833
|
"default": "./validation/index.mjs"
|