@mui/x-date-pickers 7.0.0-alpha.5 → 7.0.0-alpha.7
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 +408 -6
- package/DateCalendar/DateCalendar.js +6 -4
- package/DateCalendar/DateCalendar.types.d.ts +0 -8
- package/DigitalClock/DigitalClock.js +3 -2
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.js +9 -13
- package/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +4 -8
- package/PickersSectionList/PickersSectionList.d.ts +11 -0
- package/PickersSectionList/PickersSectionList.js +223 -0
- package/PickersSectionList/PickersSectionList.types.d.ts +56 -0
- package/PickersSectionList/index.d.ts +4 -0
- package/PickersSectionList/index.js +2 -0
- package/PickersSectionList/package.json +6 -0
- package/PickersSectionList/pickersSectionListClasses.d.ts +11 -0
- package/PickersSectionList/pickersSectionListClasses.js +6 -0
- package/TimeClock/TimeClock.js +3 -2
- package/index.d.ts +1 -0
- package/index.js +4 -1
- package/internals/components/{PickersTextField → PickersInput}/Outline.d.ts +1 -0
- package/internals/components/{PickersTextField → PickersInput}/Outline.js +35 -19
- package/internals/components/PickersInput/PickersFilledInput.d.ts +3 -0
- package/internals/components/PickersInput/PickersFilledInput.js +166 -0
- package/internals/components/PickersInput/PickersInput.d.ts +15 -0
- package/internals/components/{PickersTextField → PickersInput}/PickersInput.js +78 -106
- package/internals/components/PickersInput/PickersInput.types.d.ts +60 -0
- package/internals/components/PickersInput/PickersOutlinedInput.d.ts +3 -0
- package/internals/components/PickersInput/PickersOutlinedInput.js +117 -0
- package/internals/components/PickersInput/PickersStandardInput.d.ts +3 -0
- package/internals/components/PickersInput/PickersStandardInput.js +123 -0
- package/internals/components/PickersInput/index.d.ts +4 -0
- package/internals/components/PickersInput/index.js +3 -0
- package/internals/components/PickersInput/pickersInputClasses.d.ts +84 -0
- package/internals/components/PickersInput/pickersInputClasses.js +18 -0
- package/internals/components/PickersTextField/PickersTextField.d.ts +1 -2
- package/internals/components/PickersTextField/PickersTextField.js +15 -6
- package/internals/components/PickersTextField/PickersTextField.types.d.ts +46 -3
- package/internals/components/PickersTextField/pickersTextFieldClasses.d.ts +0 -31
- package/internals/components/PickersTextField/pickersTextFieldClasses.js +3 -6
- package/internals/hooks/useField/useField.js +8 -1
- package/internals/hooks/useViews.d.ts +4 -4
- package/internals/hooks/useViews.js +13 -13
- package/internals/models/props/clock.d.ts +0 -9
- package/legacy/DateCalendar/DateCalendar.js +6 -4
- package/legacy/DigitalClock/DigitalClock.js +3 -2
- package/legacy/MultiSectionDigitalClock/MultiSectionDigitalClock.js +9 -13
- package/legacy/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +4 -8
- package/legacy/PickersSectionList/PickersSectionList.js +230 -0
- package/legacy/PickersSectionList/index.js +2 -0
- package/legacy/PickersSectionList/pickersSectionListClasses.js +6 -0
- package/legacy/TimeClock/TimeClock.js +3 -2
- package/legacy/index.js +4 -1
- package/legacy/internals/components/{PickersTextField → PickersInput}/Outline.js +40 -22
- package/legacy/internals/components/PickersInput/PickersFilledInput.js +161 -0
- package/legacy/internals/components/{PickersTextField → PickersInput}/PickersInput.js +75 -90
- package/legacy/internals/components/PickersInput/PickersInput.types.js +1 -0
- package/legacy/internals/components/PickersInput/PickersOutlinedInput.js +110 -0
- package/legacy/internals/components/PickersInput/PickersStandardInput.js +117 -0
- package/legacy/internals/components/PickersInput/index.js +3 -0
- package/legacy/internals/components/PickersInput/pickersInputClasses.js +18 -0
- package/legacy/internals/components/PickersTextField/PickersTextField.js +16 -7
- package/legacy/internals/components/PickersTextField/pickersTextFieldClasses.js +3 -6
- package/legacy/internals/hooks/useField/useField.js +8 -1
- package/legacy/internals/hooks/useViews.js +13 -13
- package/legacy/locales/ruRU.js +1 -2
- package/locales/ruRU.js +1 -2
- package/modern/DateCalendar/DateCalendar.js +6 -4
- package/modern/DigitalClock/DigitalClock.js +3 -2
- package/modern/MultiSectionDigitalClock/MultiSectionDigitalClock.js +9 -13
- package/modern/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +4 -8
- package/modern/PickersSectionList/PickersSectionList.js +221 -0
- package/modern/PickersSectionList/PickersSectionList.types.js +1 -0
- package/modern/PickersSectionList/index.js +2 -0
- package/modern/PickersSectionList/pickersSectionListClasses.js +6 -0
- package/modern/TimeClock/TimeClock.js +3 -2
- package/modern/index.js +4 -1
- package/modern/internals/components/{PickersTextField → PickersInput}/Outline.js +35 -19
- package/modern/internals/components/PickersInput/PickersFilledInput.js +165 -0
- package/modern/internals/components/{PickersTextField → PickersInput}/PickersInput.js +78 -106
- package/modern/internals/components/PickersInput/PickersInput.types.js +1 -0
- package/modern/internals/components/PickersInput/PickersOutlinedInput.js +117 -0
- package/modern/internals/components/PickersInput/PickersStandardInput.js +123 -0
- package/modern/internals/components/PickersInput/index.js +3 -0
- package/modern/internals/components/PickersInput/pickersInputClasses.js +18 -0
- package/modern/internals/components/PickersTextField/PickersTextField.js +15 -6
- package/modern/internals/components/PickersTextField/pickersTextFieldClasses.js +3 -6
- package/modern/internals/hooks/useField/useField.js +8 -1
- package/modern/internals/hooks/useViews.js +13 -13
- package/modern/locales/ruRU.js +1 -2
- package/node/DateCalendar/DateCalendar.js +6 -4
- package/node/DigitalClock/DigitalClock.js +3 -2
- package/node/MultiSectionDigitalClock/MultiSectionDigitalClock.js +9 -13
- package/node/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +4 -8
- package/node/PickersSectionList/PickersSectionList.js +228 -0
- package/node/PickersSectionList/index.js +49 -0
- package/node/PickersSectionList/pickersSectionListClasses.js +14 -0
- package/node/TimeClock/TimeClock.js +3 -2
- package/node/index.js +13 -1
- package/node/internals/components/{PickersTextField → PickersInput}/Outline.js +35 -19
- package/node/internals/components/PickersInput/PickersFilledInput.js +174 -0
- package/node/internals/components/{PickersTextField → PickersInput}/PickersInput.js +80 -108
- package/node/internals/components/PickersInput/PickersInput.types.js +5 -0
- package/node/internals/components/PickersInput/PickersOutlinedInput.js +125 -0
- package/node/internals/components/PickersInput/PickersStandardInput.js +132 -0
- package/node/internals/components/PickersInput/index.js +32 -0
- package/node/internals/components/PickersInput/pickersInputClasses.js +29 -0
- package/node/internals/components/PickersTextField/PickersTextField.js +15 -6
- package/node/internals/components/PickersTextField/pickersTextFieldClasses.js +6 -9
- package/node/internals/hooks/useField/useField.js +8 -1
- package/node/internals/hooks/useViews.js +13 -13
- package/node/locales/ruRU.js +1 -2
- package/package.json +5 -5
- package/internals/components/PickersTextField/PickersInput.d.ts +0 -3
- package/internals/components/PickersTextField/PickersInput.types.d.ts +0 -45
- /package/{internals/components/PickersTextField/PickersInput.types.js → PickersSectionList/PickersSectionList.types.js} +0 -0
- /package/{legacy/internals/components/PickersTextField → internals/components/PickersInput}/PickersInput.types.js +0 -0
- /package/{modern/internals/components/PickersTextField/PickersInput.types.js → legacy/PickersSectionList/PickersSectionList.types.js} +0 -0
- /package/node/{internals/components/PickersTextField/PickersInput.types.js → PickersSectionList/PickersSectionList.types.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,236 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 7.0.0-alpha.7
|
|
7
|
+
|
|
8
|
+
_Jan 5, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎁 New component to create a Tree View from a structured data source:
|
|
13
|
+
|
|
14
|
+
You can now directly pass your data to the `RichTreeView` component instead of manually converting it into JSX `TreeItem` components:
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
const ITEMS = [
|
|
18
|
+
{
|
|
19
|
+
id: 'node-1',
|
|
20
|
+
label: 'Node 1',
|
|
21
|
+
children: [
|
|
22
|
+
{ id: 'node-1-1', label: Node 1.1' },
|
|
23
|
+
{ id: 'node-1-2', label: Node 1.2' },
|
|
24
|
+
],
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
id: 'node-2',
|
|
28
|
+
label: 'Node 2',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
<RichTreeView
|
|
33
|
+
items={MUI_X_PRODUCTS}
|
|
34
|
+
defaultCollapseIcon={<ExpandMoreIcon />}
|
|
35
|
+
defaultExpandIcon={<ChevronRightIcon />}
|
|
36
|
+
/>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
- 🌍 Improve Czech (cs-CZ) locale on the Data Grid
|
|
40
|
+
- 🐞 Bugfixes
|
|
41
|
+
|
|
42
|
+
### Data Grid
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-data-grid@7.0.0-alpha.7`
|
|
45
|
+
|
|
46
|
+
- [DataGrid] Don't evaluate `hasEval` when `disableEval` is set (#11516) @reihwald
|
|
47
|
+
- [DataGrid] follow warning message guideline for `autoPageSize` and `autoHeight` (#11585) @Sboonny
|
|
48
|
+
- [DataGrid] Replace `eval` with `new Function` (#11557) @oliviertassinari
|
|
49
|
+
- [DataGrid] Warn devs when `autoPageSize` is used with `autoHeight` (#11554) @Sboonny
|
|
50
|
+
- [l10n] Improve Czech (cs-CZ) locale (#11526) @fdebef
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-data-grid-pro@7.0.0-alpha.7` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
53
|
+
|
|
54
|
+
Same changes as in `@mui/x-data-grid@7.0.0-alpha.7`.
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-data-grid-premium@7.0.0-alpha.7` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
57
|
+
|
|
58
|
+
Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.7`.
|
|
59
|
+
|
|
60
|
+
### Date Pickers
|
|
61
|
+
|
|
62
|
+
#### `@mui/x-date-pickers@7.0.0-alpha.7`
|
|
63
|
+
|
|
64
|
+
- [pickers] Fix views management (#11419) @LukasTy
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-date-pickers-pro@7.0.0-alpha.7` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
67
|
+
|
|
68
|
+
Same changes as in `@mui/x-date-pickers@7.0.0-alpha.7`.
|
|
69
|
+
|
|
70
|
+
### Charts / `@mui/x-charts@7.0.0-alpha.7`
|
|
71
|
+
|
|
72
|
+
- [charts] Add `arcLabelRadius` property (#11487) @alexfauquette
|
|
73
|
+
- [charts] Fix `null` in line chart using dataset (#11550) @alexfauquette
|
|
74
|
+
|
|
75
|
+
### Tree View
|
|
76
|
+
|
|
77
|
+
#### Breaking changes
|
|
78
|
+
|
|
79
|
+
- The expansion props have been renamed to better describe their behaviors:
|
|
80
|
+
|
|
81
|
+
| Old name | New name |
|
|
82
|
+
| :---------------- | :---------------------- |
|
|
83
|
+
| `onNodeToggle` | `onExpandedNodesChange` |
|
|
84
|
+
| `expanded` | `expandedNodes` |
|
|
85
|
+
| `defaultExpanded` | `defaultExpandedNodes` |
|
|
86
|
+
|
|
87
|
+
```diff
|
|
88
|
+
<TreeView
|
|
89
|
+
- onNodeToggle={handleExpansionChange}
|
|
90
|
+
+ onExpandedNodesChange={handleExpansionChange}
|
|
91
|
+
|
|
92
|
+
- expanded={expandedNodes}
|
|
93
|
+
+ expandedNodes={expandedNodes}
|
|
94
|
+
|
|
95
|
+
- defaultExpanded={defaultExpandedNodes}
|
|
96
|
+
+ defaultExpandedNodes={defaultExpandedNodes}
|
|
97
|
+
/>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
- The selection props have been renamed to better describe their behaviors:
|
|
101
|
+
|
|
102
|
+
| Old name | New name |
|
|
103
|
+
| :---------------- | :---------------------- |
|
|
104
|
+
| `onNodeSelect` | `onSelectedNodesChange` |
|
|
105
|
+
| `selected` | `selectedNodes` |
|
|
106
|
+
| `defaultSelected` | `defaultSelectedNodes` |
|
|
107
|
+
|
|
108
|
+
```diff
|
|
109
|
+
<TreeView
|
|
110
|
+
- onNodeSelect={handleSelectionChange}
|
|
111
|
+
+ onSelectedNodesChange={handleSelectionChange}
|
|
112
|
+
|
|
113
|
+
- selected={selectedNodes}
|
|
114
|
+
+ selectedNodes={selectedNodes}
|
|
115
|
+
|
|
116
|
+
- defaultSelected={defaultSelectedNodes}
|
|
117
|
+
+ defaultSelectedNodes={defaultSelectedNodes}
|
|
118
|
+
/>
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
#### `@mui/x-tree-view@7.0.0-alpha.7`
|
|
122
|
+
|
|
123
|
+
- [TreeView] Improve the expansion API (#11476) @flaviendelangle
|
|
124
|
+
- [TreeView] Improve the selection API (#11560) @flaviendelangle
|
|
125
|
+
- [TreeView] Introduce the `items` prop (#11059) @flaviendelangle
|
|
126
|
+
|
|
127
|
+
### Docs
|
|
128
|
+
|
|
129
|
+
- [docs] Add example for TreeView `onNodeExpansionToggle` prop (#11547) @flaviendelangle
|
|
130
|
+
- [docs] Clarify Pickers usage with Luxon (#11545) @LukasTy
|
|
131
|
+
- [docs] Complete transition to next branch (#11521) @oliviertassinari
|
|
132
|
+
- [docs] Fix 404 links in the docs @oliviertassinari
|
|
133
|
+
- [docs] Fix over page fetching @oliviertassinari
|
|
134
|
+
- [docs] Lint `next.config.js` (#11514) @oliviertassinari
|
|
135
|
+
|
|
136
|
+
### Core
|
|
137
|
+
|
|
138
|
+
- [core] Fix release changelog (#11496) @romgrk
|
|
139
|
+
- [core] Fix use of ::before & ::after (#11515) @oliviertassinari
|
|
140
|
+
- [core] Localize the issue template to MUI X (#11511) @oliviertassinari
|
|
141
|
+
- [core] Regen api files (#11542) @flaviendelangle
|
|
142
|
+
- [core] Remove issue emoji @oliviertassinari
|
|
143
|
+
- [core] Sync the release instructions with MUI Core @oliviertassinari
|
|
144
|
+
- [core] Yaml format match most common convention @oliviertassinari
|
|
145
|
+
|
|
146
|
+
## 7.0.0-alpha.6
|
|
147
|
+
|
|
148
|
+
_Dec 22, 2023_
|
|
149
|
+
|
|
150
|
+
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
151
|
+
|
|
152
|
+
- 🎁 Data Grid now supports `Date` objects in the `filterModel`
|
|
153
|
+
- 🌍 Improve Russian (ru-RU) locale on the Data Grid
|
|
154
|
+
- 🐞 Bugfixes
|
|
155
|
+
|
|
156
|
+
### Data Grid
|
|
157
|
+
|
|
158
|
+
#### Breaking changes
|
|
159
|
+
|
|
160
|
+
- The filter panel no longer uses the native version of the [`Select`](https://mui.com/material-ui/react-select/) component for all components.
|
|
161
|
+
- The `getOptionValue` and `getOptionLabel` props were removed from the following components:
|
|
162
|
+
|
|
163
|
+
- `GridEditSingleSelectCell`
|
|
164
|
+
- `GridFilterInputSingleSelect`
|
|
165
|
+
- `GridFilterInputMultipleSingleSelect`
|
|
166
|
+
|
|
167
|
+
Use the `getOptionValue` and `getOptionLabel` properties on the `singleSelect` column definition instead:
|
|
168
|
+
|
|
169
|
+
```tsx
|
|
170
|
+
const column: GridColDef = {
|
|
171
|
+
type: 'singleSelect',
|
|
172
|
+
field: 'country',
|
|
173
|
+
valueOptions: [
|
|
174
|
+
{ code: 'BR', name: 'Brazil' },
|
|
175
|
+
{ code: 'FR', name: 'France' },
|
|
176
|
+
],
|
|
177
|
+
getOptionValue: (value: any) => value.code,
|
|
178
|
+
getOptionLabel: (value: any) => value.name,
|
|
179
|
+
};
|
|
180
|
+
```
|
|
181
|
+
- The `filterModel` now supports `Date` objects as values for `date` and `dateTime` column types.
|
|
182
|
+
The `filterModel` still accepts strings as values for `date` and `dateTime` column types,
|
|
183
|
+
but all updates to the `filterModel` coming from the UI (e.g. filter panel) will set the value as a `Date` object.
|
|
184
|
+
|
|
185
|
+
#### `@mui/x-data-grid@7.0.0-alpha.6`
|
|
186
|
+
|
|
187
|
+
- [DataGrid] Fix typos in the JSDoc (#11451) @flaviendelangle
|
|
188
|
+
- [DataGrid] Make `checkboxSelection` respect the `disableMultipleRowSelection` prop (#11448) @cherniavskii
|
|
189
|
+
- [DataGrid] Support `Date` objects in filter model (#7069) @cherniavskii
|
|
190
|
+
- [DataGrid] Use non-native `Select`s by default (#11330) @cherniavskii
|
|
191
|
+
- [l10n] Improve Russian (ru-RU) locale (#11441) @wensiet
|
|
192
|
+
|
|
193
|
+
#### `@mui/x-data-grid-pro@7.0.0-alpha.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
194
|
+
|
|
195
|
+
Same changes as in `@mui/x-data-grid@7.0.0-alpha.6`.
|
|
196
|
+
|
|
197
|
+
#### `@mui/x-data-grid-premium@7.0.0-alpha.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
198
|
+
|
|
199
|
+
Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.6`.
|
|
200
|
+
|
|
201
|
+
### Date Pickers
|
|
202
|
+
|
|
203
|
+
#### `@mui/x-date-pickers@7.0.0-alpha.6`
|
|
204
|
+
|
|
205
|
+
- [fields] Adjust `PickersInput` sizing styles (#11392) @noraleonte
|
|
206
|
+
- [fields] Fix section pasting (#11447) @LukasTy
|
|
207
|
+
- [pickers] Add `PickersTextField` `standard` and `filled` variants (#11250) @noraleonte
|
|
208
|
+
- [pickers] Cleanup error messages in `PickersSectionList` (#11449) @flaviendelangle
|
|
209
|
+
- [pickers] Create new component `PickersSectionList` (#11352) @flaviendelangle
|
|
210
|
+
|
|
211
|
+
#### `@mui/x-date-pickers-pro@7.0.0-alpha.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
212
|
+
|
|
213
|
+
Same changes as in `@mui/x-date-pickers@7.0.0-alpha.6`.
|
|
214
|
+
|
|
215
|
+
### Charts / `@mui/x-charts@7.0.0-alpha.5`
|
|
216
|
+
|
|
217
|
+
- [charts] Allow percentage values for pie chart center and radius (#11464) @alexfauquette
|
|
218
|
+
- [charts] Improve dataset typing (#11372) @alexfauquette
|
|
219
|
+
- [charts] Make error message more explicit (#11457) @alexfauquette
|
|
220
|
+
- [charts] Make the helper `ChartsText` component public (#11370) @alexfauquette
|
|
221
|
+
|
|
222
|
+
### Docs
|
|
223
|
+
|
|
224
|
+
- [docs] Document `false` default values for boolean props (#11477) @cherniavskii
|
|
225
|
+
- [docs] Improve Pickers `name` prop examples (#11422) @LukasTy
|
|
226
|
+
- [docs] Limit `date-fns` package to v2 in codesandbox (#11463) @LukasTy
|
|
227
|
+
|
|
228
|
+
### Core
|
|
229
|
+
|
|
230
|
+
- [core] Add missing breaking changes to changelog (#11420) @MBilalShafi
|
|
231
|
+
- [core] Cherry pick follow up (#11469) @LukasTy
|
|
232
|
+
- [core] Fix `cherry-pick` action (#11446) @LukasTy
|
|
233
|
+
- [core] Fix security regressions in cherry-pick-next-to-master.yml (#11482) @MBilalShafi
|
|
234
|
+
- [test] Reload the page if its blank and there are no links to the remaining tests (#11466) @cherniavskii
|
|
235
|
+
|
|
6
236
|
## 7.0.0-alpha.5
|
|
7
237
|
|
|
8
238
|
_Dec 14, 2023_
|
|
@@ -43,12 +273,93 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.5`.
|
|
|
43
273
|
- The slot interfaces got renamed to match with `@mui/base` naming.
|
|
44
274
|
The `SlotsComponent` suffix has been replaced with `Slots` and `SlotsComponentsProps` with `SlotProps`.
|
|
45
275
|
|
|
46
|
-
```diff
|
|
47
|
-
- DateCalendarSlotsComponent
|
|
48
|
-
+ DateCalendarSlots
|
|
49
|
-
- DateCalendarSlotsComponentsProps
|
|
50
|
-
+ DateCalendarSlotProps
|
|
51
|
-
```
|
|
276
|
+
```diff
|
|
277
|
+
- DateCalendarSlotsComponent
|
|
278
|
+
+ DateCalendarSlots
|
|
279
|
+
- DateCalendarSlotsComponentsProps
|
|
280
|
+
+ DateCalendarSlotProps
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
- Move `inputRef` inside the props passed to the field hooks
|
|
284
|
+
|
|
285
|
+
The field hooks now only receive the props instead of an object containing both the props and the `inputRef`.
|
|
286
|
+
|
|
287
|
+
```diff
|
|
288
|
+
- const { inputRef, ...otherProps } = props
|
|
289
|
+
- const fieldResponse = useDateField({ props: otherProps, inputRef });
|
|
290
|
+
+ const fieldResponse = useDateField(props);
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
If you are using a multi input range field hook, the same applies to `startInputRef` and `endInputRef` params
|
|
294
|
+
|
|
295
|
+
```diff
|
|
296
|
+
- const { inputRef: startInputRef, ...otherStartTextFieldProps } = startTextFieldProps
|
|
297
|
+
- const { inputRef: endInputRef, ...otherEndTextFieldProps } = endTextFieldProps
|
|
298
|
+
|
|
299
|
+
const fieldResponse = useMultiInputDateRangeField({
|
|
300
|
+
sharedProps,
|
|
301
|
+
- startTextFieldProps: otherStartTextFieldProps,
|
|
302
|
+
- endTextFieldProps: otherEndTextFieldProps,
|
|
303
|
+
- startInputRef
|
|
304
|
+
- endInputRef,
|
|
305
|
+
+ startTextFieldProps,
|
|
306
|
+
+ endTextFieldProps
|
|
307
|
+
});
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
- Rename the ref returned by the field hooks to `inputRef`
|
|
311
|
+
|
|
312
|
+
When used with the v6 TextField approach (where the input is an `<input />` HTML element), the field hooks return a ref that needs to be passed to the `<input />` element.
|
|
313
|
+
This ref was previously named `ref` and has been renamed `inputRef` for extra clarity.
|
|
314
|
+
|
|
315
|
+
```diff
|
|
316
|
+
const fieldResponse = useDateField(props);
|
|
317
|
+
|
|
318
|
+
- return <input ref={fieldResponse.ref} />
|
|
319
|
+
+ return <input ref={fieldResponse.inputRef} />
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
If you are using a multi input range field hook, the same applies to the ref in the `startDate` and `endDate` objects
|
|
323
|
+
|
|
324
|
+
```diff
|
|
325
|
+
const fieldResponse = useDateField(props);
|
|
326
|
+
|
|
327
|
+
return (
|
|
328
|
+
<div>
|
|
329
|
+
- <input ref={fieldResponse.startDate.ref} />
|
|
330
|
+
+ <input ref={fieldResponse.startDate.inputRef} />
|
|
331
|
+
<span>–</span>
|
|
332
|
+
- <input ref={fieldResponse.endDate.ref} />
|
|
333
|
+
+ <input ref={fieldResponse.endDate.inputRef} />
|
|
334
|
+
</div>
|
|
335
|
+
)
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
- Restructure the API of `useClearableField`
|
|
339
|
+
|
|
340
|
+
The `useClearableField` hook API has been simplified to now take a `props` parameter instead of a `fieldProps`, `InputProps`, `clearable`, `onClear`, `slots` and `slotProps` parameters.
|
|
341
|
+
|
|
342
|
+
You should now be able to directly pass the returned value from your field hook (e.g: `useDateField`) to `useClearableField`
|
|
343
|
+
|
|
344
|
+
```diff
|
|
345
|
+
const fieldResponse = useDateField(props);
|
|
346
|
+
|
|
347
|
+
- const { InputProps, onClear, clearable, slots, slotProps, ...otherFieldProps } = fieldResponse
|
|
348
|
+
- const { InputProps: ProcessedInputProps, fieldProps: processedFieldProps } = useClearableField({
|
|
349
|
+
- fieldProps: otherFieldProps,
|
|
350
|
+
- InputProps,
|
|
351
|
+
- clearable,
|
|
352
|
+
- onClear,
|
|
353
|
+
- slots,
|
|
354
|
+
- slotProps,
|
|
355
|
+
- });
|
|
356
|
+
-
|
|
357
|
+
- return <MyCustomTextField {...processedFieldProps} InputProps={ProcessedInputProps} />
|
|
358
|
+
|
|
359
|
+
+ const processedFieldProps = useClearableField(fieldResponse);
|
|
360
|
+
+
|
|
361
|
+
+ return <MyCustomTextField {...processedFieldProps} />
|
|
362
|
+
```
|
|
52
363
|
|
|
53
364
|
#### `@mui/x-date-pickers@7.0.0-alpha.5`
|
|
54
365
|
|
|
@@ -1029,6 +1340,97 @@ Here is an example of the renaming for the `<ChartsTooltip />` component.
|
|
|
1029
1340
|
- [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
|
|
1030
1341
|
- [license] Correctly throw errors (#10924) @oliviertassinari
|
|
1031
1342
|
|
|
1343
|
+
## 6.18.7
|
|
1344
|
+
|
|
1345
|
+
_Jan 5, 2024_
|
|
1346
|
+
|
|
1347
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
1348
|
+
|
|
1349
|
+
- 🌍 Improve Czech (cs-CZ) locale on Data Grid (#11429) @wensiet
|
|
1350
|
+
- 🐞 Bugfixes
|
|
1351
|
+
|
|
1352
|
+
### Data Grid
|
|
1353
|
+
|
|
1354
|
+
#### `@mui/x-data-grid@6.18.7`
|
|
1355
|
+
|
|
1356
|
+
- [DataGrid] Don't evaluate `hasEval` when `disableEval` is set (#11553) @reihwald
|
|
1357
|
+
- [l10n] Update Czech (cs-CZ) locale (#11498) @fdebef
|
|
1358
|
+
|
|
1359
|
+
#### `@mui/x-data-grid-pro@6.18.7` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
1360
|
+
|
|
1361
|
+
Same changes as in `@mui/x-data-grid@6.18.7`.
|
|
1362
|
+
|
|
1363
|
+
#### `@mui/x-data-grid-premium@6.18.7` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
1364
|
+
|
|
1365
|
+
Same changes as in `@mui/x-data-grid-pro@6.18.7`.
|
|
1366
|
+
|
|
1367
|
+
### Date Pickers
|
|
1368
|
+
|
|
1369
|
+
#### `@mui/x-date-pickers@6.18.7`
|
|
1370
|
+
|
|
1371
|
+
- [pickers] Fix views management (@LukasTy) (#11572)
|
|
1372
|
+
|
|
1373
|
+
#### `@mui/x-date-pickers-pro@6.18.7` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
1374
|
+
|
|
1375
|
+
Same changes as in `@mui/x-date-pickers@6.18.7`.
|
|
1376
|
+
|
|
1377
|
+
### Charts / `@mui/x-charts@6.18.7`
|
|
1378
|
+
|
|
1379
|
+
- [charts] Fix `null` in line chart using dataset (@alexfauquette) (#11561)
|
|
1380
|
+
|
|
1381
|
+
### Docs
|
|
1382
|
+
|
|
1383
|
+
- [docs] Clarify Pickers usage with Luxon (#11566) @LukasTy
|
|
1384
|
+
|
|
1385
|
+
## 6.18.6
|
|
1386
|
+
|
|
1387
|
+
_Dec 22, 2023_
|
|
1388
|
+
|
|
1389
|
+
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
1390
|
+
|
|
1391
|
+
- 🌍 Improve Russian (ru-RU) locale (#11429) @wensiet
|
|
1392
|
+
- 🐞 Bugfixes
|
|
1393
|
+
|
|
1394
|
+
### Data Grid
|
|
1395
|
+
|
|
1396
|
+
#### `@mui/x-data-grid@6.18.6`
|
|
1397
|
+
|
|
1398
|
+
- [DataGrid] Fix typos in the JSDoc (#11475) @flaviendelangle
|
|
1399
|
+
- [l10n] Improve Russian (ru-RU) locale (#11429) @wensiet
|
|
1400
|
+
|
|
1401
|
+
#### `@mui/x-data-grid-pro@6.18.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
1402
|
+
|
|
1403
|
+
Same changes as in `@mui/x-data-grid@6.18.6`.
|
|
1404
|
+
|
|
1405
|
+
#### `@mui/x-data-grid-premium@6.18.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
1406
|
+
|
|
1407
|
+
Same changes as in `@mui/x-data-grid-pro@6.18.6`.
|
|
1408
|
+
|
|
1409
|
+
### Date Pickers
|
|
1410
|
+
|
|
1411
|
+
#### `@mui/x-date-pickers@6.18.6`
|
|
1412
|
+
|
|
1413
|
+
- [fields] Fix section pasting (#11467) @LukasTy
|
|
1414
|
+
|
|
1415
|
+
#### `@mui/x-date-pickers-pro@6.18.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
1416
|
+
|
|
1417
|
+
Same changes as in `@mui/x-date-pickers@6.18.6`.
|
|
1418
|
+
|
|
1419
|
+
### Charts / `@mui/x-charts@6.18.4`
|
|
1420
|
+
|
|
1421
|
+
- [charts] Allow percentage values for pie chart center and radius (#11464) @alexfauquette
|
|
1422
|
+
- [charts] Make error message more explicit (#11457) @alexfauquette
|
|
1423
|
+
- [charts] Make the helper `ChartsText` component public (#11370) @alexfauquette
|
|
1424
|
+
- [charts] Improve dataset typing (#11372) @alexfauquette
|
|
1425
|
+
- [charts] Fix size overflow (#11385) @alexfauquette
|
|
1426
|
+
|
|
1427
|
+
### Docs
|
|
1428
|
+
|
|
1429
|
+
- [docs] Document false default values for boolean props (#11489) @cherniavskii
|
|
1430
|
+
- [docs] Improve Pickers `name` prop examples (#11442) @LukasTy
|
|
1431
|
+
- [docs] Limit `date-fns` package to v2 in codesandbox (#11478) @LukasTy
|
|
1432
|
+
- [test] Reload the page if its blank and there are no links to the remaining tests (#11471) @cherniavskii
|
|
1433
|
+
|
|
1032
1434
|
## 6.18.5
|
|
1033
1435
|
|
|
1034
1436
|
_Dec 14, 2023_
|
|
@@ -254,9 +254,9 @@ export const DateCalendar = /*#__PURE__*/React.forwardRef(function DateCalendar(
|
|
|
254
254
|
const handleSelectedDayChange = useEventCallback(day => {
|
|
255
255
|
if (day) {
|
|
256
256
|
// If there is a date already selected, then we want to keep its time
|
|
257
|
-
return handleValueChange(mergeDateAndTime(utils, day, value != null ? value : referenceDate), 'finish');
|
|
257
|
+
return handleValueChange(mergeDateAndTime(utils, day, value != null ? value : referenceDate), 'finish', view);
|
|
258
258
|
}
|
|
259
|
-
return handleValueChange(day, 'finish');
|
|
259
|
+
return handleValueChange(day, 'finish', view);
|
|
260
260
|
});
|
|
261
261
|
React.useEffect(() => {
|
|
262
262
|
if (value != null && utils.isValid(value)) {
|
|
@@ -425,9 +425,11 @@ process.env.NODE_ENV !== "production" ? DateCalendar.propTypes = {
|
|
|
425
425
|
monthsPerRow: PropTypes.oneOf([3, 4]),
|
|
426
426
|
/**
|
|
427
427
|
* Callback fired when the value changes.
|
|
428
|
-
* @template
|
|
429
|
-
* @
|
|
428
|
+
* @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.
|
|
429
|
+
* @template TView The view type. Will be one of date or time views.
|
|
430
|
+
* @param {TValue} value The new value.
|
|
430
431
|
* @param {PickerSelectionState | undefined} selectionState Indicates if the date selection is complete.
|
|
432
|
+
* @param {TView | undefined} selectedView Indicates the view in which the selection has been made.
|
|
431
433
|
*/
|
|
432
434
|
onChange: PropTypes.func,
|
|
433
435
|
/**
|
|
@@ -6,7 +6,6 @@ import { PickersCalendarHeader, PickersCalendarHeaderProps, PickersCalendarHeade
|
|
|
6
6
|
import { DayCalendarSlots, DayCalendarSlotProps, ExportedDayCalendarProps } from './DayCalendar';
|
|
7
7
|
import { DateCalendarClasses } from './dateCalendarClasses';
|
|
8
8
|
import { BaseDateValidationProps, YearValidationProps, MonthValidationProps, DayValidationProps } from '../internals/models/validation';
|
|
9
|
-
import { PickerSelectionState } from '../internals/hooks/usePicker/usePickerValue.types';
|
|
10
9
|
import { ExportedUseViewsOptions } from '../internals/hooks/useViews';
|
|
11
10
|
import { DateView, TimezoneProps } from '../models';
|
|
12
11
|
import { DefaultizedProps } from '../internals/models/helpers';
|
|
@@ -74,13 +73,6 @@ export interface DateCalendarProps<TDate> extends ExportedDateCalendarProps<TDat
|
|
|
74
73
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`.
|
|
75
74
|
*/
|
|
76
75
|
referenceDate?: TDate;
|
|
77
|
-
/**
|
|
78
|
-
* Callback fired when the value changes.
|
|
79
|
-
* @template TDate
|
|
80
|
-
* @param {TDate | null} value The new value.
|
|
81
|
-
* @param {PickerSelectionState | undefined} selectionState Indicates if the date selection is complete.
|
|
82
|
-
*/
|
|
83
|
-
onChange?: (value: TDate | null, selectionState?: PickerSelectionState) => void;
|
|
84
76
|
className?: string;
|
|
85
77
|
classes?: Partial<DateCalendarClasses>;
|
|
86
78
|
/**
|
|
@@ -328,8 +328,9 @@ process.env.NODE_ENV !== "production" ? DigitalClock.propTypes = {
|
|
|
328
328
|
minutesStep: PropTypes.number,
|
|
329
329
|
/**
|
|
330
330
|
* Callback fired when the value changes.
|
|
331
|
-
* @template
|
|
332
|
-
* @
|
|
331
|
+
* @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.
|
|
332
|
+
* @template TView The view type. Will be one of date or time views.
|
|
333
|
+
* @param {TValue} value The new value.
|
|
333
334
|
* @param {PickerSelectionState | undefined} selectionState Indicates if the date selection is complete.
|
|
334
335
|
* @param {TView | undefined} selectedView Indicates the view in which the selection has been made.
|
|
335
336
|
*/
|
|
@@ -122,7 +122,7 @@ export const MultiSectionDigitalClock = /*#__PURE__*/React.forwardRef(function M
|
|
|
122
122
|
}, [ampm, inViews]);
|
|
123
123
|
const {
|
|
124
124
|
view,
|
|
125
|
-
|
|
125
|
+
setValueAndGoToNextView,
|
|
126
126
|
focusedView
|
|
127
127
|
} = useViews({
|
|
128
128
|
view: inView,
|
|
@@ -134,7 +134,7 @@ export const MultiSectionDigitalClock = /*#__PURE__*/React.forwardRef(function M
|
|
|
134
134
|
onFocusedViewChange
|
|
135
135
|
});
|
|
136
136
|
const handleMeridiemValueChange = useEventCallback(newValue => {
|
|
137
|
-
|
|
137
|
+
setValueAndGoToNextView(newValue, 'finish', 'meridiem');
|
|
138
138
|
});
|
|
139
139
|
const {
|
|
140
140
|
meridiemMode,
|
|
@@ -215,11 +215,6 @@ export const MultiSectionDigitalClock = /*#__PURE__*/React.forwardRef(function M
|
|
|
215
215
|
throw new Error('not supported');
|
|
216
216
|
}
|
|
217
217
|
}, [ampm, valueOrReferenceDate, disableIgnoringDatePartForTimeValidation, maxTime, meridiemMode, minTime, minutesStep, shouldDisableTime, utils, disableFuture, disablePast, now, views]);
|
|
218
|
-
const handleSectionChange = useEventCallback((sectionView, newValue) => {
|
|
219
|
-
const viewIndex = views.indexOf(sectionView);
|
|
220
|
-
const nextView = views[viewIndex + 1];
|
|
221
|
-
setValueAndGoToView(newValue, nextView, sectionView);
|
|
222
|
-
});
|
|
223
218
|
const buildViewProps = React.useCallback(viewToBuild => {
|
|
224
219
|
switch (viewToBuild) {
|
|
225
220
|
case 'hours':
|
|
@@ -227,7 +222,7 @@ export const MultiSectionDigitalClock = /*#__PURE__*/React.forwardRef(function M
|
|
|
227
222
|
return {
|
|
228
223
|
onChange: hours => {
|
|
229
224
|
const valueWithMeridiem = convertValueToMeridiem(hours, meridiemMode, ampm);
|
|
230
|
-
|
|
225
|
+
setValueAndGoToNextView(utils.setHours(valueOrReferenceDate, valueWithMeridiem), 'finish', 'hours');
|
|
231
226
|
},
|
|
232
227
|
items: getHourSectionOptions({
|
|
233
228
|
now,
|
|
@@ -245,7 +240,7 @@ export const MultiSectionDigitalClock = /*#__PURE__*/React.forwardRef(function M
|
|
|
245
240
|
{
|
|
246
241
|
return {
|
|
247
242
|
onChange: minutes => {
|
|
248
|
-
|
|
243
|
+
setValueAndGoToNextView(utils.setMinutes(valueOrReferenceDate, minutes), 'finish', 'minutes');
|
|
249
244
|
},
|
|
250
245
|
items: getTimeSectionOptions({
|
|
251
246
|
value: utils.getMinutes(valueOrReferenceDate),
|
|
@@ -262,7 +257,7 @@ export const MultiSectionDigitalClock = /*#__PURE__*/React.forwardRef(function M
|
|
|
262
257
|
{
|
|
263
258
|
return {
|
|
264
259
|
onChange: seconds => {
|
|
265
|
-
|
|
260
|
+
setValueAndGoToNextView(utils.setSeconds(valueOrReferenceDate, seconds), 'finish', 'seconds');
|
|
266
261
|
},
|
|
267
262
|
items: getTimeSectionOptions({
|
|
268
263
|
value: utils.getSeconds(valueOrReferenceDate),
|
|
@@ -299,7 +294,7 @@ export const MultiSectionDigitalClock = /*#__PURE__*/React.forwardRef(function M
|
|
|
299
294
|
default:
|
|
300
295
|
throw new Error(`Unknown view: ${viewToBuild} found.`);
|
|
301
296
|
}
|
|
302
|
-
}, [now, value, ampm, utils, timeSteps.hours, timeSteps.minutes, timeSteps.seconds, localeText.hoursClockNumberText, localeText.minutesClockNumberText, localeText.secondsClockNumberText, meridiemMode,
|
|
297
|
+
}, [now, value, ampm, utils, timeSteps.hours, timeSteps.minutes, timeSteps.seconds, localeText.hoursClockNumberText, localeText.minutesClockNumberText, localeText.secondsClockNumberText, meridiemMode, setValueAndGoToNextView, valueOrReferenceDate, disabled, isTimeDisabled, handleMeridiemChange]);
|
|
303
298
|
const viewTimeOptions = React.useMemo(() => {
|
|
304
299
|
return views.reduce((result, currentView) => {
|
|
305
300
|
return _extends({}, result, {
|
|
@@ -397,8 +392,9 @@ process.env.NODE_ENV !== "production" ? MultiSectionDigitalClock.propTypes = {
|
|
|
397
392
|
minutesStep: PropTypes.number,
|
|
398
393
|
/**
|
|
399
394
|
* Callback fired when the value changes.
|
|
400
|
-
* @template
|
|
401
|
-
* @
|
|
395
|
+
* @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.
|
|
396
|
+
* @template TView The view type. Will be one of date or time views.
|
|
397
|
+
* @param {TValue} value The new value.
|
|
402
398
|
* @param {PickerSelectionState | undefined} selectionState Indicates if the date selection is complete.
|
|
403
399
|
* @param {TView | undefined} selectedView Indicates the view in which the selection has been made.
|
|
404
400
|
*/
|
|
@@ -47,7 +47,7 @@ const MultiSectionDigitalClockSectionRoot = styled(MenuList, {
|
|
|
47
47
|
'&:not(:first-of-type)': {
|
|
48
48
|
borderLeft: `1px solid ${(theme.vars || theme).palette.divider}`
|
|
49
49
|
},
|
|
50
|
-
'
|
|
50
|
+
'&::after': {
|
|
51
51
|
display: 'block',
|
|
52
52
|
content: '""',
|
|
53
53
|
// subtracting the height of one item, extra margin and borders to make sure the max height is correct
|
|
@@ -117,17 +117,13 @@ export const MultiSectionDigitalClockSection = /*#__PURE__*/React.forwardRef(fun
|
|
|
117
117
|
return;
|
|
118
118
|
}
|
|
119
119
|
const activeItem = containerRef.current.querySelector('[role="option"][tabindex="0"], [role="option"][aria-selected="true"]');
|
|
120
|
+
if (active && autoFocus && activeItem) {
|
|
121
|
+
activeItem.focus();
|
|
122
|
+
}
|
|
120
123
|
if (!activeItem || previousActive.current === activeItem) {
|
|
121
|
-
// Handle setting the ref to null if the selected item is ever reset via UI
|
|
122
|
-
if (previousActive.current !== activeItem) {
|
|
123
|
-
previousActive.current = activeItem;
|
|
124
|
-
}
|
|
125
124
|
return;
|
|
126
125
|
}
|
|
127
126
|
previousActive.current = activeItem;
|
|
128
|
-
if (active && autoFocus) {
|
|
129
|
-
activeItem.focus();
|
|
130
|
-
}
|
|
131
127
|
const offsetTop = activeItem.offsetTop;
|
|
132
128
|
|
|
133
129
|
// Subtracting the 4px of extra margin intended for the first visible section item
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PickersSectionListProps } from './PickersSectionList.types';
|
|
3
|
+
export declare const PickersSectionListRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
|
+
export declare const PickersSectionListSection: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
5
|
+
export declare const PickersSectionListSectionSeparator: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
6
|
+
export declare const PickersSectionListSectionContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
7
|
+
type PickersSectionListComponent = ((props: PickersSectionListProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
8
|
+
propTypes?: any;
|
|
9
|
+
};
|
|
10
|
+
declare const PickersSectionList: PickersSectionListComponent;
|
|
11
|
+
export { PickersSectionList };
|