@mui/x-date-pickers 9.9.0 → 9.10.1
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 +217 -0
- package/DateCalendar/useIsDateDisabled.d.mts +1 -1
- package/DateCalendar/useIsDateDisabled.d.ts +1 -1
- package/DatePicker/shared.d.mts +2 -1
- package/DatePicker/shared.d.ts +2 -1
- package/DateTimePicker/DateTimePickerTabs.d.mts +4 -14
- package/DateTimePicker/DateTimePickerTabs.d.ts +4 -14
- package/DateTimePicker/DateTimePickerTabs.js +13 -9
- package/DateTimePicker/DateTimePickerTabs.mjs +13 -9
- package/DateTimePicker/shared.d.mts +3 -2
- package/DateTimePicker/shared.d.ts +3 -2
- package/DigitalClock/DigitalClock.d.mts +1 -1
- package/DigitalClock/DigitalClock.d.ts +1 -1
- package/PickersActionBar/PickersActionBar.d.mts +0 -3
- package/PickersActionBar/PickersActionBar.d.ts +0 -3
- package/PickersLayout/PickersLayout.d.mts +2 -2
- package/PickersLayout/PickersLayout.d.ts +2 -2
- package/PickersLayout/PickersLayout.types.d.mts +4 -4
- package/PickersLayout/PickersLayout.types.d.ts +4 -4
- package/PickersSectionList/PickersSectionList.d.mts +1 -1
- package/PickersSectionList/PickersSectionList.d.ts +1 -1
- package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.mts +11 -11
- package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.ts +11 -11
- package/PickersTextField/PickersInput/pickersInputClasses.d.mts +11 -11
- package/PickersTextField/PickersInput/pickersInputClasses.d.ts +11 -11
- package/PickersTextField/PickersInputBase/PickersInputBase.d.mts +2 -2
- package/PickersTextField/PickersInputBase/PickersInputBase.d.ts +2 -2
- package/PickersTextField/PickersInputBase/PickersInputBase.js +9 -19
- package/PickersTextField/PickersInputBase/PickersInputBase.mjs +9 -19
- package/PickersTextField/PickersInputBase/pickersInputBaseClasses.js +1 -1
- package/PickersTextField/PickersInputBase/pickersInputBaseClasses.mjs +1 -1
- package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.mts +11 -11
- package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.ts +11 -11
- package/PickersTextField/PickersTextField.d.mts +1 -1
- package/PickersTextField/PickersTextField.d.ts +1 -1
- package/PickersTextField/PickersTextField.types.d.mts +6 -5
- package/PickersTextField/PickersTextField.types.d.ts +6 -5
- package/TimeClock/ClockNumbers.d.mts +1 -1
- package/TimeClock/ClockNumbers.d.ts +1 -1
- package/TimePicker/shared.d.mts +2 -1
- package/TimePicker/shared.d.ts +2 -1
- package/YearCalendar/yearCalendarClasses.d.mts +1 -1
- package/YearCalendar/yearCalendarClasses.d.ts +1 -1
- package/hooks/useSplitFieldProps.d.mts +1 -1
- package/hooks/useSplitFieldProps.d.ts +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/components/PickerFieldUI.d.mts +1 -1
- package/internals/components/PickerFieldUI.d.ts +1 -1
- package/internals/components/PickerPopper/PickerPopper.d.mts +2 -1
- package/internals/components/PickerPopper/PickerPopper.d.ts +2 -1
- package/internals/components/PickerPopper/pickerPopperClasses.d.mts +1 -1
- package/internals/components/PickerPopper/pickerPopperClasses.d.ts +1 -1
- package/internals/components/PickerViewRoot/PickerViewRoot.d.mts +1 -1
- package/internals/components/PickerViewRoot/PickerViewRoot.d.ts +1 -1
- package/internals/components/PickersArrowSwitcher/pickersArrowSwitcherClasses.d.mts +1 -1
- package/internals/components/PickersArrowSwitcher/pickersArrowSwitcherClasses.d.ts +1 -1
- package/internals/components/PickersModalDialog.d.mts +4 -3
- package/internals/components/PickersModalDialog.d.ts +4 -3
- package/internals/components/pickersToolbarClasses.d.mts +1 -1
- package/internals/components/pickersToolbarClasses.d.ts +1 -1
- package/internals/hooks/date-helpers-hooks.d.mts +1 -1
- package/internals/hooks/date-helpers-hooks.d.ts +1 -1
- package/internals/hooks/useField/useField.utils.d.mts +3 -3
- package/internals/hooks/useField/useField.utils.d.ts +3 -3
- package/internals/utils/date-utils.d.mts +2 -2
- package/internals/utils/date-utils.d.ts +2 -2
- package/internals/utils/time-utils.d.mts +2 -2
- package/internals/utils/time-utils.d.ts +2 -2
- package/locales/beBY.d.mts +5 -5
- package/locales/beBY.d.ts +5 -5
- package/locales/bgBG.d.mts +5 -5
- package/locales/bgBG.d.ts +5 -5
- package/locales/bnBD.d.mts +5 -5
- package/locales/bnBD.d.ts +5 -5
- package/locales/caES.d.mts +5 -5
- package/locales/caES.d.ts +5 -5
- package/locales/csCZ.d.mts +5 -5
- package/locales/csCZ.d.ts +5 -5
- package/locales/daDK.d.mts +5 -5
- package/locales/daDK.d.ts +5 -5
- package/locales/deDE.d.mts +5 -5
- package/locales/deDE.d.ts +5 -5
- package/locales/elGR.d.mts +5 -5
- package/locales/elGR.d.ts +5 -5
- package/locales/enUS.d.mts +5 -5
- package/locales/enUS.d.ts +5 -5
- package/locales/esES.d.mts +5 -5
- package/locales/esES.d.ts +5 -5
- package/locales/eu.d.mts +5 -5
- package/locales/eu.d.ts +5 -5
- package/locales/faIR.d.mts +5 -5
- package/locales/faIR.d.ts +5 -5
- package/locales/fiFI.d.mts +5 -5
- package/locales/fiFI.d.ts +5 -5
- package/locales/frFR.d.mts +5 -5
- package/locales/frFR.d.ts +5 -5
- package/locales/heIL.d.mts +5 -5
- package/locales/heIL.d.ts +5 -5
- package/locales/hrHR.d.mts +5 -5
- package/locales/hrHR.d.ts +5 -5
- package/locales/huHU.d.mts +5 -5
- package/locales/huHU.d.ts +5 -5
- package/locales/isIS.d.mts +5 -5
- package/locales/isIS.d.ts +5 -5
- package/locales/itIT.d.mts +5 -5
- package/locales/itIT.d.ts +5 -5
- package/locales/jaJP.d.mts +5 -5
- package/locales/jaJP.d.ts +5 -5
- package/locales/koKR.d.mts +5 -5
- package/locales/koKR.d.ts +5 -5
- package/locales/kzKZ.d.mts +5 -5
- package/locales/kzKZ.d.ts +5 -5
- package/locales/mk.d.mts +5 -5
- package/locales/mk.d.ts +5 -5
- package/locales/nbNO.d.mts +5 -5
- package/locales/nbNO.d.ts +5 -5
- package/locales/nlNL.d.mts +5 -5
- package/locales/nlNL.d.ts +5 -5
- package/locales/nnNO.d.mts +5 -5
- package/locales/nnNO.d.ts +5 -5
- package/locales/plPL.d.mts +5 -5
- package/locales/plPL.d.ts +5 -5
- package/locales/ptBR.d.mts +5 -5
- package/locales/ptBR.d.ts +5 -5
- package/locales/ptPT.d.mts +5 -5
- package/locales/ptPT.d.ts +5 -5
- package/locales/roRO.d.mts +5 -5
- package/locales/roRO.d.ts +5 -5
- package/locales/ruRU.d.mts +5 -5
- package/locales/ruRU.d.ts +5 -5
- package/locales/skSK.d.mts +5 -5
- package/locales/skSK.d.ts +5 -5
- package/locales/svSE.d.mts +5 -5
- package/locales/svSE.d.ts +5 -5
- package/locales/thTH.d.mts +5 -5
- package/locales/thTH.d.ts +5 -5
- package/locales/trTR.d.mts +5 -5
- package/locales/trTR.d.ts +5 -5
- package/locales/ukUA.d.mts +5 -5
- package/locales/ukUA.d.ts +5 -5
- package/locales/urPK.d.mts +5 -5
- package/locales/urPK.d.ts +5 -5
- package/locales/utils/getPickersLocalization.d.mts +5 -5
- package/locales/utils/getPickersLocalization.d.ts +5 -5
- package/locales/viVN.d.mts +5 -5
- package/locales/viVN.d.ts +5 -5
- package/locales/zhCN.d.mts +5 -5
- package/locales/zhCN.d.ts +5 -5
- package/locales/zhHK.d.mts +5 -5
- package/locales/zhHK.d.ts +5 -5
- package/locales/zhTW.d.mts +5 -5
- package/locales/zhTW.d.ts +5 -5
- package/package.json +2 -2
- package/timeViewRenderers/timeViewRenderers.d.mts +1 -1
- package/timeViewRenderers/timeViewRenderers.d.ts +1 -1
- package/validation/extractValidationProps.d.mts +1 -1
- package/validation/extractValidationProps.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,222 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.10.1
|
|
4
|
+
|
|
5
|
+
_Jul 23, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 🦮 Improve accessibility of the Charts and Pickers components.
|
|
10
|
+
- 🐞 Bugfixes
|
|
11
|
+
- 📚 Documentation improvements
|
|
12
|
+
|
|
13
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
14
|
+
@kevincorizi-sbt, @mustafajw07, @SamanPandey-in
|
|
15
|
+
|
|
16
|
+
The following team members contributed to this release:
|
|
17
|
+
@brijeshb42, @hasdfa, @JCQuintas, @LukasTy, @michelengelen, @noraleonte, @rita-codes, @silviuaavram
|
|
18
|
+
|
|
19
|
+
### Data Grid
|
|
20
|
+
|
|
21
|
+
#### `@mui/x-data-grid@9.10.1`
|
|
22
|
+
|
|
23
|
+
- [data grid] Fix `getColumn` return type not reflecting that it can return undefined (#23165) @JCQuintas
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid-pro@9.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
26
|
+
|
|
27
|
+
Same changes as in `@mui/x-data-grid@9.10.1`.
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid-premium@9.10.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
30
|
+
|
|
31
|
+
Same changes as in `@mui/x-data-grid-pro@9.10.1`.
|
|
32
|
+
|
|
33
|
+
### Date and Time Pickers
|
|
34
|
+
|
|
35
|
+
#### `@mui/x-date-pickers@9.10.1`
|
|
36
|
+
|
|
37
|
+
- [pickers] Fix format placeholder brightness with a start adornment (#23189) @LukasTy
|
|
38
|
+
|
|
39
|
+
#### `@mui/x-date-pickers-pro@9.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
40
|
+
|
|
41
|
+
Same changes as in `@mui/x-date-pickers@9.10.1`, plus:
|
|
42
|
+
|
|
43
|
+
- [DateRangePicker] Fix broken active range position underline in single input range fields (#23166) @LukasTy
|
|
44
|
+
|
|
45
|
+
### Charts
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-charts@9.10.1`
|
|
48
|
+
|
|
49
|
+
- [charts] Fix pie chart disappearing when an arc spans almost the full circle (#23145) @JCQuintas
|
|
50
|
+
- [charts] Set `aria-hidden` on accessibility proxy divs at initialization (#23186) @kevincorizi-sbt
|
|
51
|
+
- [charts] Fix keyboard navigation on series with different lengths (#23182) @JCQuintas
|
|
52
|
+
- [charts] Fix out of bounds keyboard navigation (#23180) @silviuaavram
|
|
53
|
+
|
|
54
|
+
#### `@mui/x-charts-pro@9.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
55
|
+
|
|
56
|
+
Same changes as in `@mui/x-charts@9.10.1`, plus:
|
|
57
|
+
|
|
58
|
+
- [charts-pro] Fix highlight shifting on sampled bar charts (#23190) @noraleonte
|
|
59
|
+
- [charts-pro] Sampled band highlight falls back to single-band width for Date/object values (#23024) @SamanPandey-in
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-charts-premium@9.10.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
62
|
+
|
|
63
|
+
Same changes as in `@mui/x-charts-pro@9.10.1`.
|
|
64
|
+
|
|
65
|
+
### Tree View
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-tree-view@9.10.1`
|
|
68
|
+
|
|
69
|
+
- [TreeView] Fix selection propagation to exclude disabled items (#23012) @michelengelen
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-tree-view-pro@9.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-tree-view@9.10.1`.
|
|
74
|
+
|
|
75
|
+
### Scheduler
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-scheduler@9.0.0-beta.7`
|
|
78
|
+
|
|
79
|
+
- [scheduler] Polish `EventCalendar` rendering for multi-resource events (#23161) @mustafajw07
|
|
80
|
+
- [scheduler] Responsive header (#22954) @noraleonte
|
|
81
|
+
|
|
82
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.7` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
83
|
+
|
|
84
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.7`, plus:
|
|
85
|
+
|
|
86
|
+
- [scheduler-premium] Add the dependencies data model (#23117) @rita-codes
|
|
87
|
+
- [scheduler-premium] Dependencies - Render the FS arrow (#23162) @rita-codes
|
|
88
|
+
|
|
89
|
+
### Codemod
|
|
90
|
+
|
|
91
|
+
#### `@mui/x-codemod@9.10.1`
|
|
92
|
+
|
|
93
|
+
Internal changes.
|
|
94
|
+
|
|
95
|
+
### Docs
|
|
96
|
+
|
|
97
|
+
- [docs] Fix clearing, layout shift, and prop leak in Pickers demos (#23191) @LukasTy
|
|
98
|
+
|
|
99
|
+
### Core
|
|
100
|
+
|
|
101
|
+
- [code-infra] Validate working of specific code-infra canary (#23207) @brijeshb42
|
|
102
|
+
|
|
103
|
+
### Miscellaneous
|
|
104
|
+
|
|
105
|
+
- [chat] Normalize message part link URLs (#23187) @hasdfa
|
|
106
|
+
- [x-chat] Fix object URL leaks for submitted attachments (#23198) @hasdfa
|
|
107
|
+
- [internals] Make disposable types self-contained without `esnext.disposable` lib (#23164) @JCQuintas
|
|
108
|
+
|
|
109
|
+
## 9.10.0
|
|
110
|
+
|
|
111
|
+
_Jul 17, 2026_
|
|
112
|
+
|
|
113
|
+
We'd like to extend a big thank you to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
114
|
+
|
|
115
|
+
- 📊 Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` for Charts
|
|
116
|
+
- ⚙️ Allow opt-in `data-*` attributes on `slotProps`. [Read more](https://mui.com/x/common-concepts/custom-components/#passing-data-attributes-to-slots)
|
|
117
|
+
- 🐞 Bugfixes
|
|
118
|
+
- 📚 Documentation improvements
|
|
119
|
+
|
|
120
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
121
|
+
@Anexus5919, @mustafajw07
|
|
122
|
+
|
|
123
|
+
The following team members contributed to this release:
|
|
124
|
+
@brijeshb42, @Janpot, @JCQuintas, @LukasTy, @noraleonte
|
|
125
|
+
|
|
126
|
+
### Data Grid
|
|
127
|
+
|
|
128
|
+
#### `@mui/x-data-grid@9.10.0`
|
|
129
|
+
|
|
130
|
+
Internal changes.
|
|
131
|
+
|
|
132
|
+
#### `@mui/x-data-grid-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
133
|
+
|
|
134
|
+
Same changes as in `@mui/x-data-grid@9.10.0`.
|
|
135
|
+
|
|
136
|
+
#### `@mui/x-data-grid-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
137
|
+
|
|
138
|
+
Same changes as in `@mui/x-data-grid-pro@9.10.0`.
|
|
139
|
+
|
|
140
|
+
### Date and Time Pickers
|
|
141
|
+
|
|
142
|
+
#### `@mui/x-date-pickers@9.10.0`
|
|
143
|
+
|
|
144
|
+
Internal changes.
|
|
145
|
+
|
|
146
|
+
#### `@mui/x-date-pickers-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
147
|
+
|
|
148
|
+
Same changes as in `@mui/x-date-pickers@9.10.0`.
|
|
149
|
+
|
|
150
|
+
### Charts
|
|
151
|
+
|
|
152
|
+
#### `@mui/x-charts@9.10.0`
|
|
153
|
+
|
|
154
|
+
- [charts] Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` (#23144) @JCQuintas
|
|
155
|
+
|
|
156
|
+
#### `@mui/x-charts-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
157
|
+
|
|
158
|
+
Same changes as in `@mui/x-charts@9.10.0`.
|
|
159
|
+
|
|
160
|
+
#### `@mui/x-charts-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
161
|
+
|
|
162
|
+
Same changes as in `@mui/x-charts-pro@9.10.0`.
|
|
163
|
+
|
|
164
|
+
### Tree View
|
|
165
|
+
|
|
166
|
+
#### `@mui/x-tree-view@9.10.0`
|
|
167
|
+
|
|
168
|
+
Internal changes.
|
|
169
|
+
|
|
170
|
+
#### `@mui/x-tree-view-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
171
|
+
|
|
172
|
+
Same changes as in `@mui/x-tree-view@9.10.0`, plus:
|
|
173
|
+
|
|
174
|
+
- [tree-view] Fix pre-loaded items not caching (#23155) @noraleonte
|
|
175
|
+
|
|
176
|
+
### Scheduler
|
|
177
|
+
|
|
178
|
+
#### `@mui/x-scheduler@9.0.0-beta.6`
|
|
179
|
+
|
|
180
|
+
- [scheduler] Carry custom event data through the edit dialog submit (#22874) @Anexus5919
|
|
181
|
+
- [scheduler] Support array values for `CalendarEvent.resource` (#23109) @mustafajw07
|
|
182
|
+
|
|
183
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
184
|
+
|
|
185
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.6`.
|
|
186
|
+
|
|
187
|
+
### Chat
|
|
188
|
+
|
|
189
|
+
#### `@mui/x-chat@9.0.0-alpha.14`
|
|
190
|
+
|
|
191
|
+
- [chat] Reuse `resolveComponentProps` from `@mui/utils` (#23095) @LukasTy
|
|
192
|
+
|
|
193
|
+
#### `@mui/x-chat-headless@9.0.0-alpha.14`
|
|
194
|
+
|
|
195
|
+
Internal changes.
|
|
196
|
+
|
|
197
|
+
### Codemod
|
|
198
|
+
|
|
199
|
+
#### `@mui/x-codemod@9.10.0`
|
|
200
|
+
|
|
201
|
+
Internal changes.
|
|
202
|
+
|
|
203
|
+
### Docs
|
|
204
|
+
|
|
205
|
+
- [docs] Fix bugs on Scheduler overview page (#23147) @noraleonte
|
|
206
|
+
|
|
207
|
+
### Core
|
|
208
|
+
|
|
209
|
+
- [code-infra] Fix changelog dependency exclusion and l10n routing (#23112) @LukasTy
|
|
210
|
+
- [code-infra] Port codebase to use `tsgo` (#22826) @brijeshb42
|
|
211
|
+
- [code-infra] Reduce `release:build` concurrency to mitigate `tsgo` OOM kills (#23139) @LukasTy
|
|
212
|
+
- [core] Allow opt-in `data-*` attributes on `slotProps` (#22128) @LukasTy
|
|
213
|
+
|
|
214
|
+
### Miscellaneous
|
|
215
|
+
|
|
216
|
+
- [core] Ignore `code-infra-renovate[bot]` commits in changelog (#23153) @Janpot
|
|
217
|
+
- [website] Fix broken `ChatBox` API link (#23149) @brijeshb42
|
|
218
|
+
- [test] Fix WebGL benchmark timeout on CI (#23142) @JCQuintas
|
|
219
|
+
|
|
3
220
|
## 9.9.0
|
|
4
221
|
|
|
5
222
|
_Jul 9, 2026_
|
|
@@ -10,4 +10,4 @@ export declare const useIsDateDisabled: ({
|
|
|
10
10
|
disableFuture,
|
|
11
11
|
disablePast,
|
|
12
12
|
timezone
|
|
13
|
-
}: ValidateDateProps & DefaultizedProps<TimezoneProps,
|
|
13
|
+
}: ValidateDateProps & DefaultizedProps<TimezoneProps, 'timezone'>) => (day: PickerValidDate | null) => boolean;
|
|
@@ -10,4 +10,4 @@ export declare const useIsDateDisabled: ({
|
|
|
10
10
|
disableFuture,
|
|
11
11
|
disablePast,
|
|
12
12
|
timezone
|
|
13
|
-
}: ValidateDateProps & DefaultizedProps<TimezoneProps,
|
|
13
|
+
}: ValidateDateProps & DefaultizedProps<TimezoneProps, 'timezone'>) => (day: PickerValidDate | null) => boolean;
|
package/DatePicker/shared.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
3
4
|
import type { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.mjs";
|
|
4
5
|
import type { DateValidationError, DateView } from "../models/index.mjs";
|
|
5
6
|
import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.mjs";
|
|
@@ -17,7 +18,7 @@ export interface BaseDatePickerSlots extends DateCalendarSlots {
|
|
|
17
18
|
toolbar?: React.JSXElementConstructor<DatePickerToolbarProps>;
|
|
18
19
|
}
|
|
19
20
|
export interface BaseDatePickerSlotProps extends DateCalendarSlotProps {
|
|
20
|
-
toolbar?: ExportedDatePickerToolbarProps
|
|
21
|
+
toolbar?: WithDataAttributes<ExportedDatePickerToolbarProps>;
|
|
21
22
|
}
|
|
22
23
|
export type DatePickerViewRenderers<TView extends DateView> = PickerViewRendererLookup<PickerValue, TView, DateViewRendererProps<TView>>;
|
|
23
24
|
export interface BaseDatePickerProps extends BasePickerInputProps<PickerValue, DateView, DateValidationError>, ExportedDateCalendarProps {
|
package/DatePicker/shared.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
3
4
|
import type { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.js";
|
|
4
5
|
import type { DateValidationError, DateView } from "../models/index.js";
|
|
5
6
|
import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.js";
|
|
@@ -17,7 +18,7 @@ export interface BaseDatePickerSlots extends DateCalendarSlots {
|
|
|
17
18
|
toolbar?: React.JSXElementConstructor<DatePickerToolbarProps>;
|
|
18
19
|
}
|
|
19
20
|
export interface BaseDatePickerSlotProps extends DateCalendarSlotProps {
|
|
20
|
-
toolbar?: ExportedDatePickerToolbarProps
|
|
21
|
+
toolbar?: WithDataAttributes<ExportedDatePickerToolbarProps>;
|
|
21
22
|
}
|
|
22
23
|
export type DatePickerViewRenderers<TView extends DateView> = PickerViewRendererLookup<PickerValue, TView, DateViewRendererProps<TView>>;
|
|
23
24
|
export interface BaseDatePickerProps extends BasePickerInputProps<PickerValue, DateView, DateValidationError>, ExportedDateCalendarProps {
|
|
@@ -22,18 +22,8 @@ export interface DateTimePickerTabsProps extends ExportedBaseTabsProps {
|
|
|
22
22
|
*/
|
|
23
23
|
classes?: Partial<DateTimePickerTabsClasses>;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
* - [Custom slots and subcomponents](https://mui.com/x/react-date-pickers/custom-components/)
|
|
30
|
-
*
|
|
31
|
-
* API:
|
|
32
|
-
*
|
|
33
|
-
* - [DateTimePickerTabs API](https://mui.com/x/api/date-pickers/date-time-picker-tabs/)
|
|
34
|
-
*/
|
|
35
|
-
declare const DateTimePickerTabs: {
|
|
36
|
-
(inProps: DateTimePickerTabsProps): React.JSX.Element | null;
|
|
37
|
-
propTypes: any;
|
|
38
|
-
};
|
|
25
|
+
declare function DateTimePickerTabs(inProps: DateTimePickerTabsProps): React.JSX.Element | null;
|
|
26
|
+
declare namespace DateTimePickerTabs {
|
|
27
|
+
var propTypes: any;
|
|
28
|
+
}
|
|
39
29
|
export { DateTimePickerTabs };
|
|
@@ -22,18 +22,8 @@ export interface DateTimePickerTabsProps extends ExportedBaseTabsProps {
|
|
|
22
22
|
*/
|
|
23
23
|
classes?: Partial<DateTimePickerTabsClasses>;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
* - [Custom slots and subcomponents](https://mui.com/x/react-date-pickers/custom-components/)
|
|
30
|
-
*
|
|
31
|
-
* API:
|
|
32
|
-
*
|
|
33
|
-
* - [DateTimePickerTabs API](https://mui.com/x/api/date-pickers/date-time-picker-tabs/)
|
|
34
|
-
*/
|
|
35
|
-
declare const DateTimePickerTabs: {
|
|
36
|
-
(inProps: DateTimePickerTabsProps): React.JSX.Element | null;
|
|
37
|
-
propTypes: any;
|
|
38
|
-
};
|
|
25
|
+
declare function DateTimePickerTabs(inProps: DateTimePickerTabsProps): React.JSX.Element | null;
|
|
26
|
+
declare namespace DateTimePickerTabs {
|
|
27
|
+
var propTypes: any;
|
|
28
|
+
}
|
|
39
29
|
export { DateTimePickerTabs };
|
|
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
value: true
|
|
8
8
|
});
|
|
9
9
|
exports.DateTimePickerTabs = void 0;
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
12
|
var React = _interopRequireWildcard(require("react"));
|
|
11
13
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
12
14
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -21,6 +23,7 @@ var _dateUtils = require("../internals/utils/date-utils");
|
|
|
21
23
|
var _usePickerPrivateContext = require("../internals/hooks/usePickerPrivateContext");
|
|
22
24
|
var _hooks = require("../hooks");
|
|
23
25
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
26
|
+
const _excluded = ["dateIcon", "timeIcon", "hidden", "className", "classes", "sx"];
|
|
24
27
|
const viewToTab = view => {
|
|
25
28
|
if ((0, _dateUtils.isDatePickerView)(view)) {
|
|
26
29
|
return 'date';
|
|
@@ -71,13 +74,14 @@ const DateTimePickerTabs = exports.DateTimePickerTabs = function DateTimePickerT
|
|
|
71
74
|
name: 'MuiDateTimePickerTabs'
|
|
72
75
|
});
|
|
73
76
|
const {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
dateIcon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.DateRangeIcon, {}),
|
|
78
|
+
timeIcon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.TimeIcon, {}),
|
|
79
|
+
hidden = typeof window === 'undefined' || window.innerHeight < 667,
|
|
80
|
+
className,
|
|
81
|
+
classes: classesProp,
|
|
82
|
+
sx
|
|
83
|
+
} = props,
|
|
84
|
+
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
81
85
|
const translations = (0, _usePickerTranslations.usePickerTranslations)();
|
|
82
86
|
const {
|
|
83
87
|
ownerState
|
|
@@ -93,7 +97,7 @@ const DateTimePickerTabs = exports.DateTimePickerTabs = function DateTimePickerT
|
|
|
93
97
|
if (hidden) {
|
|
94
98
|
return null;
|
|
95
99
|
}
|
|
96
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(DateTimePickerTabsRoot, {
|
|
100
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(DateTimePickerTabsRoot, (0, _extends2.default)({}, other, {
|
|
97
101
|
ownerState: ownerState,
|
|
98
102
|
variant: "fullWidth",
|
|
99
103
|
value: viewToTab(view),
|
|
@@ -113,7 +117,7 @@ const DateTimePickerTabs = exports.DateTimePickerTabs = function DateTimePickerT
|
|
|
113
117
|
children: timeIcon
|
|
114
118
|
})
|
|
115
119
|
})]
|
|
116
|
-
});
|
|
120
|
+
}));
|
|
117
121
|
};
|
|
118
122
|
if (process.env.NODE_ENV !== "production") DateTimePickerTabs.displayName = "DateTimePickerTabs";
|
|
119
123
|
process.env.NODE_ENV !== "production" ? DateTimePickerTabs.propTypes /* remove-proptypes */ = {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
|
+
const _excluded = ["dateIcon", "timeIcon", "hidden", "className", "classes", "sx"];
|
|
3
6
|
import * as React from 'react';
|
|
4
7
|
import clsx from 'clsx';
|
|
5
8
|
import PropTypes from 'prop-types';
|
|
@@ -64,13 +67,14 @@ const DateTimePickerTabs = function DateTimePickerTabs(inProps) {
|
|
|
64
67
|
name: 'MuiDateTimePickerTabs'
|
|
65
68
|
});
|
|
66
69
|
const {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
dateIcon = /*#__PURE__*/_jsx(DateRangeIcon, {}),
|
|
71
|
+
timeIcon = /*#__PURE__*/_jsx(TimeIcon, {}),
|
|
72
|
+
hidden = typeof window === 'undefined' || window.innerHeight < 667,
|
|
73
|
+
className,
|
|
74
|
+
classes: classesProp,
|
|
75
|
+
sx
|
|
76
|
+
} = props,
|
|
77
|
+
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
74
78
|
const translations = usePickerTranslations();
|
|
75
79
|
const {
|
|
76
80
|
ownerState
|
|
@@ -86,7 +90,7 @@ const DateTimePickerTabs = function DateTimePickerTabs(inProps) {
|
|
|
86
90
|
if (hidden) {
|
|
87
91
|
return null;
|
|
88
92
|
}
|
|
89
|
-
return /*#__PURE__*/_jsxs(DateTimePickerTabsRoot, {
|
|
93
|
+
return /*#__PURE__*/_jsxs(DateTimePickerTabsRoot, _extends({}, other, {
|
|
90
94
|
ownerState: ownerState,
|
|
91
95
|
variant: "fullWidth",
|
|
92
96
|
value: viewToTab(view),
|
|
@@ -106,7 +110,7 @@ const DateTimePickerTabs = function DateTimePickerTabs(inProps) {
|
|
|
106
110
|
children: timeIcon
|
|
107
111
|
})
|
|
108
112
|
})]
|
|
109
|
-
});
|
|
113
|
+
}));
|
|
110
114
|
};
|
|
111
115
|
if (process.env.NODE_ENV !== "production") DateTimePickerTabs.displayName = "DateTimePickerTabs";
|
|
112
116
|
process.env.NODE_ENV !== "production" ? DateTimePickerTabs.propTypes /* remove-proptypes */ = {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
3
4
|
import type { DateOrTimeView, DateTimeValidationError } from "../models/index.mjs";
|
|
4
5
|
import type { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.mjs";
|
|
5
6
|
import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.mjs";
|
|
@@ -30,11 +31,11 @@ export interface BaseDateTimePickerSlotProps extends DateCalendarSlotProps, Digi
|
|
|
30
31
|
/**
|
|
31
32
|
* Props passed down to the tabs component.
|
|
32
33
|
*/
|
|
33
|
-
tabs?: DateTimePickerTabsProps
|
|
34
|
+
tabs?: WithDataAttributes<DateTimePickerTabsProps>;
|
|
34
35
|
/**
|
|
35
36
|
* Props passed down to the toolbar component.
|
|
36
37
|
*/
|
|
37
|
-
toolbar?: ExportedDateTimePickerToolbarProps
|
|
38
|
+
toolbar?: WithDataAttributes<ExportedDateTimePickerToolbarProps>;
|
|
38
39
|
}
|
|
39
40
|
export type DateTimePickerViewRenderers<TView extends DateOrTimeViewWithMeridiem> = PickerViewRendererLookup<PickerValue, TView, Omit<DateViewRendererProps<TView>, 'slots' | 'slotProps'> & Omit<TimeViewRendererProps<TimeViewWithMeridiem, BaseClockProps<TimeViewWithMeridiem>>, 'slots' | 'slotProps'>>;
|
|
40
41
|
export interface BaseDateTimePickerProps extends Omit<BasePickerInputProps<PickerValue, DateOrTimeViewWithMeridiem, DateTimeValidationError>, 'views'>, Omit<ExportedDateCalendarProps, 'onViewChange' | 'views'>, DigitalTimePickerProps, ExportedValidateDateTimeProps {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
3
4
|
import type { DateOrTimeView, DateTimeValidationError } from "../models/index.js";
|
|
4
5
|
import type { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.js";
|
|
5
6
|
import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.js";
|
|
@@ -30,11 +31,11 @@ export interface BaseDateTimePickerSlotProps extends DateCalendarSlotProps, Digi
|
|
|
30
31
|
/**
|
|
31
32
|
* Props passed down to the tabs component.
|
|
32
33
|
*/
|
|
33
|
-
tabs?: DateTimePickerTabsProps
|
|
34
|
+
tabs?: WithDataAttributes<DateTimePickerTabsProps>;
|
|
34
35
|
/**
|
|
35
36
|
* Props passed down to the toolbar component.
|
|
36
37
|
*/
|
|
37
|
-
toolbar?: ExportedDateTimePickerToolbarProps
|
|
38
|
+
toolbar?: WithDataAttributes<ExportedDateTimePickerToolbarProps>;
|
|
38
39
|
}
|
|
39
40
|
export type DateTimePickerViewRenderers<TView extends DateOrTimeViewWithMeridiem> = PickerViewRendererLookup<PickerValue, TView, Omit<DateViewRendererProps<TView>, 'slots' | 'slotProps'> & Omit<TimeViewRendererProps<TimeViewWithMeridiem, BaseClockProps<TimeViewWithMeridiem>>, 'slots' | 'slotProps'>>;
|
|
40
41
|
export interface BaseDateTimePickerProps extends Omit<BasePickerInputProps<PickerValue, DateOrTimeViewWithMeridiem, DateTimeValidationError>, 'views'>, Omit<ExportedDateCalendarProps, 'onViewChange' | 'views'>, DigitalTimePickerProps, ExportedValidateDateTimeProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { DigitalClockProps } from "./DigitalClock.types.mjs";
|
|
3
|
-
export declare const DigitalClockItem: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, keyof import("@mui/material/MenuItem").MenuItemOwnProps> & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, "
|
|
3
|
+
export declare const DigitalClockItem: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, keyof import("@mui/material/MenuItem").MenuItemOwnProps> & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, "LinkComponent" | "TouchRippleProps" | "action" | "centerRipple" | "children" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "nativeButton" | "onFocusVisible" | "tabIndex" | "touchRippleRef" | "type" | keyof import("@mui/material/MenuItem").MenuItemOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "LinkComponent" | "TouchRippleProps" | "action" | "autoFocus" | "centerRipple" | "children" | "className" | "classes" | "dense" | "disableGutters" | "disableRipple" | "disableTouchRipple" | "disabled" | "divider" | "focusRipple" | "focusVisibleClassName" | "nativeButton" | "onFocusVisible" | "selected" | "style" | "sx" | "tabIndex" | "touchRippleRef" | "type"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
4
4
|
type DigitalClockComponent = ((props: DigitalClockProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
5
5
|
propTypes?: any;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { DigitalClockProps } from "./DigitalClock.types.js";
|
|
3
|
-
export declare const DigitalClockItem: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, keyof import("@mui/material/MenuItem").MenuItemOwnProps> & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, "
|
|
3
|
+
export declare const DigitalClockItem: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, keyof import("@mui/material/MenuItem").MenuItemOwnProps> & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, "LinkComponent" | "TouchRippleProps" | "action" | "centerRipple" | "children" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "nativeButton" | "onFocusVisible" | "tabIndex" | "touchRippleRef" | "type" | keyof import("@mui/material/MenuItem").MenuItemOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "LinkComponent" | "TouchRippleProps" | "action" | "autoFocus" | "centerRipple" | "children" | "className" | "classes" | "dense" | "disableGutters" | "disableRipple" | "disableTouchRipple" | "disabled" | "divider" | "focusRipple" | "focusVisibleClassName" | "nativeButton" | "onFocusVisible" | "selected" | "style" | "sx" | "tabIndex" | "touchRippleRef" | "type"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
4
4
|
type DigitalClockComponent = ((props: DigitalClockProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
5
5
|
propTypes?: any;
|
|
6
6
|
};
|
|
@@ -22,8 +22,5 @@ export interface PickersActionBarProps extends DialogActionsProps {
|
|
|
22
22
|
* - [PickersActionBar API](https://mui.com/x/api/date-pickers/pickers-action-bar/)
|
|
23
23
|
*/
|
|
24
24
|
declare function PickersActionBarComponent(props: PickersActionBarProps): React.JSX.Element | null;
|
|
25
|
-
declare namespace PickersActionBarComponent {
|
|
26
|
-
var propTypes: any;
|
|
27
|
-
}
|
|
28
25
|
declare const PickersActionBar: React.MemoExoticComponent<typeof PickersActionBarComponent>;
|
|
29
26
|
export { PickersActionBar };
|
|
@@ -22,8 +22,5 @@ export interface PickersActionBarProps extends DialogActionsProps {
|
|
|
22
22
|
* - [PickersActionBar API](https://mui.com/x/api/date-pickers/pickers-action-bar/)
|
|
23
23
|
*/
|
|
24
24
|
declare function PickersActionBarComponent(props: PickersActionBarProps): React.JSX.Element | null;
|
|
25
|
-
declare namespace PickersActionBarComponent {
|
|
26
|
-
var propTypes: any;
|
|
27
|
-
}
|
|
28
25
|
declare const PickersActionBar: React.MemoExoticComponent<typeof PickersActionBarComponent>;
|
|
29
26
|
export { PickersActionBar };
|
|
@@ -3,10 +3,10 @@ import type { PickerLayoutOwnerState, PickersLayoutProps } from "./PickersLayout
|
|
|
3
3
|
import type { PickerValidValue } from "../internals/models/index.mjs";
|
|
4
4
|
export declare const PickersLayoutRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
5
|
ownerState: PickerLayoutOwnerState;
|
|
6
|
-
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.
|
|
6
|
+
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
|
|
7
7
|
export declare const PickersLayoutContentWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
8
8
|
ownerState: PickerLayoutOwnerState;
|
|
9
|
-
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.
|
|
9
|
+
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
|
|
10
10
|
type PickersLayoutComponent = (<TValue extends PickerValidValue>(props: PickersLayoutProps<TValue> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
11
11
|
propTypes?: any;
|
|
12
12
|
};
|
|
@@ -3,10 +3,10 @@ import type { PickerLayoutOwnerState, PickersLayoutProps } from "./PickersLayout
|
|
|
3
3
|
import type { PickerValidValue } from "../internals/models/index.js";
|
|
4
4
|
export declare const PickersLayoutRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
5
|
ownerState: PickerLayoutOwnerState;
|
|
6
|
-
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.
|
|
6
|
+
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
|
|
7
7
|
export declare const PickersLayoutContentWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
8
8
|
ownerState: PickerLayoutOwnerState;
|
|
9
|
-
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.
|
|
9
|
+
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
|
|
10
10
|
type PickersLayoutComponent = (<TValue extends PickerValidValue>(props: PickersLayoutProps<TValue> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
11
11
|
propTypes?: any;
|
|
12
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
-
import type { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
+
import type { SlotComponentProps, WithDataAttributes } from '@mui/utils/types';
|
|
4
4
|
import type { PickersActionBar, PickersActionBarProps } from "../PickersActionBar/index.mjs";
|
|
5
5
|
import type { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.mjs";
|
|
6
6
|
import type { ExportedBaseTabsProps } from "../internals/models/props/tabs.mjs";
|
|
@@ -51,7 +51,7 @@ export interface ExportedPickersLayoutSlotProps<TValue extends PickerValidValue>
|
|
|
51
51
|
/**
|
|
52
52
|
* Props passed down to the layoutRoot component.
|
|
53
53
|
*/
|
|
54
|
-
layout?: Partial<PickersLayoutProps<TValue
|
|
54
|
+
layout?: WithDataAttributes<Partial<PickersLayoutProps<TValue>>>;
|
|
55
55
|
}
|
|
56
56
|
export interface PickersLayoutSlots<TValue extends PickerValidValue> extends ExportedPickersLayoutSlots<TValue> {
|
|
57
57
|
/**
|
|
@@ -68,11 +68,11 @@ export interface PickersLayoutSlotProps<TValue extends PickerValidValue> extends
|
|
|
68
68
|
/**
|
|
69
69
|
* Props passed down to the tabs component.
|
|
70
70
|
*/
|
|
71
|
-
tabs?: ExportedBaseTabsProps
|
|
71
|
+
tabs?: WithDataAttributes<ExportedBaseTabsProps>;
|
|
72
72
|
/**
|
|
73
73
|
* Props passed down to the toolbar component.
|
|
74
74
|
*/
|
|
75
|
-
toolbar?: ExportedBaseToolbarProps
|
|
75
|
+
toolbar?: WithDataAttributes<ExportedBaseToolbarProps>;
|
|
76
76
|
}
|
|
77
77
|
export interface PickersLayoutProps<TValue extends PickerValidValue> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'className'> {
|
|
78
78
|
className?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
-
import type { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
+
import type { SlotComponentProps, WithDataAttributes } from '@mui/utils/types';
|
|
4
4
|
import type { PickersActionBar, PickersActionBarProps } from "../PickersActionBar/index.js";
|
|
5
5
|
import type { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.js";
|
|
6
6
|
import type { ExportedBaseTabsProps } from "../internals/models/props/tabs.js";
|
|
@@ -51,7 +51,7 @@ export interface ExportedPickersLayoutSlotProps<TValue extends PickerValidValue>
|
|
|
51
51
|
/**
|
|
52
52
|
* Props passed down to the layoutRoot component.
|
|
53
53
|
*/
|
|
54
|
-
layout?: Partial<PickersLayoutProps<TValue
|
|
54
|
+
layout?: WithDataAttributes<Partial<PickersLayoutProps<TValue>>>;
|
|
55
55
|
}
|
|
56
56
|
export interface PickersLayoutSlots<TValue extends PickerValidValue> extends ExportedPickersLayoutSlots<TValue> {
|
|
57
57
|
/**
|
|
@@ -68,11 +68,11 @@ export interface PickersLayoutSlotProps<TValue extends PickerValidValue> extends
|
|
|
68
68
|
/**
|
|
69
69
|
* Props passed down to the tabs component.
|
|
70
70
|
*/
|
|
71
|
-
tabs?: ExportedBaseTabsProps
|
|
71
|
+
tabs?: WithDataAttributes<ExportedBaseTabsProps>;
|
|
72
72
|
/**
|
|
73
73
|
* Props passed down to the toolbar component.
|
|
74
74
|
*/
|
|
75
|
-
toolbar?: ExportedBaseToolbarProps
|
|
75
|
+
toolbar?: WithDataAttributes<ExportedBaseToolbarProps>;
|
|
76
76
|
}
|
|
77
77
|
export interface PickersLayoutProps<TValue extends PickerValidValue> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'className'> {
|
|
78
78
|
className?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { PickersSectionListProps } from "./PickersSectionList.types.mjs";
|
|
3
|
-
export declare const PickersSectionListRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.
|
|
3
|
+
export declare const PickersSectionListRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
export declare const PickersSectionListSection: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
5
5
|
export declare const PickersSectionListSectionSeparator: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
6
6
|
export declare const PickersSectionListSectionContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { PickersSectionListProps } from "./PickersSectionList.types.js";
|
|
3
|
-
export declare const PickersSectionListRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.
|
|
3
|
+
export declare const PickersSectionListRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
export declare const PickersSectionListSection: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
5
5
|
export declare const PickersSectionListSectionSeparator: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
6
6
|
export declare const PickersSectionListSectionContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|