@mui/x-tree-view 9.0.0-alpha.4 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,377 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.0.0
4
+
5
+ <!-- generated comparing v9.0.0-rc.0..master -->
6
+
7
+ _Apr 8, 2026_
8
+
9
+ 🥳 We're excited to announce the stable release of MUI X v9!
10
+ This major release includes many new features and improvements. Here are some highlights ✨:
11
+
12
+ - Data Grid – [Charts integration](https://mui.com/x/react-data-grid/charts-integration/) [Premium]
13
+ - Data Grid – [AI Assistant](https://mui.com/x/react-data-grid/ai-assistant/) [Premium]
14
+ - Data Grid – [Undo and redo](https://mui.com/x/react-data-grid/undo-redo/) [Premium]
15
+ - Data Grid – [Drag fill](https://mui.com/x/react-data-grid/clipboard/#drag-to-fill) [Premium]
16
+ - Data Grid – [longText column type](https://mui.com/x/react-data-grid/column-definition/#column-types)
17
+ - Charts – [Interaction and accessibility](https://mui.com/x/react-charts/accessibility/)
18
+ - Charts – [Candlestick](https://mui.com/x/react-charts/candlestick/) [Premium]
19
+ - Charts – [Range bar charts](https://mui.com/x/react-charts/range-bar/) [Premium]
20
+ - Charts – [WebGL Heatmap renderer](https://mui.com/x/react-charts/heatmap/#webgl-renderer) [Premium]
21
+ - Tree View – [Virtualization](https://mui.com/x/react-tree-view/rich-tree-view/virtualization/) [Pro]
22
+ - New [Scheduler](https://mui.com/x/react-scheduler/) packages [Alpha]
23
+
24
+ We'd like to extend a big thank you to the 5 contributors who made this release possible.
25
+ The following team members contributed to this release:
26
+ @DanailH, @LukasTy, @MBilalShafi, @oliviertassinari, @siriwatknp
27
+
28
+ ### Data Grid
29
+
30
+ #### `@mui/x-data-grid@9.0.0`
31
+
32
+ Internal changes.
33
+
34
+ #### `@mui/x-data-grid-pro@9.0.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
35
+
36
+ Same changes as in `@mui/x-data-grid@9.0.0`, plus:
37
+
38
+ - [DataGridPro] Preserve parent selection for non-selectable children (#21132) @MBilalShafi
39
+
40
+ #### `@mui/x-data-grid-premium@9.0.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
41
+
42
+ Same changes as in `@mui/x-data-grid-pro@9.0.0`, plus:
43
+
44
+ - [DataGridPremium] Drag fill (#21717) @MBilalShafi
45
+
46
+ ### Date and Time Pickers
47
+
48
+ #### Breaking changes
49
+
50
+ - Removed the legacy Pickers and Field TextField props (for example: `InputProps`) in favor of the nested `slotProps`. [Read more](https://mui.com/x/migration/migration-pickers-v8/#drop-deprecated-pickerstextfield-props)
51
+ - The `utils` field in `PickersAdapterContextValue` has been removed in favor of the `adapter` field.
52
+ This should no longer affect you, as the context export has also been removed.
53
+ - `MuiPickersAdapterContext` export has been removed.
54
+ Prefer using the `usePickerAdapter` hook. [Read more](https://mui.com/x/migration/migration-pickers-v8/#localizationprovider-breaking-changes).
55
+
56
+ #### `@mui/x-date-pickers@9.0.0`
57
+
58
+ - [pickers] Refactor `PickersTextField` to use `slotProps` approach (#22002) @LukasTy
59
+ - [pickers] Remove deprecated LocalizationProvider legacy API (#22010) @LukasTy
60
+
61
+ #### `@mui/x-date-pickers-pro@9.0.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
62
+
63
+ Same changes as in `@mui/x-date-pickers@9.0.0`.
64
+
65
+ ### Charts
66
+
67
+ #### `@mui/x-charts@9.0.0`
68
+
69
+ Internal changes.
70
+
71
+ #### `@mui/x-charts-pro@9.0.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
72
+
73
+ Same changes as in `@mui/x-charts@9.0.0`.
74
+
75
+ #### `@mui/x-charts-premium@9.0.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
76
+
77
+ Same changes as in `@mui/x-charts-pro@9.0.0`.
78
+
79
+ ### Tree View
80
+
81
+ #### `@mui/x-tree-view@9.0.0`
82
+
83
+ Internal changes.
84
+
85
+ #### `@mui/x-tree-view-pro@9.0.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
86
+
87
+ Same changes as in `@mui/x-tree-view@9.0.0`.
88
+
89
+ ### Scheduler
90
+
91
+ #### `@mui/x-scheduler@9.0.0-alpha.0`
92
+
93
+ Internal changes.
94
+
95
+ #### `@mui/x-scheduler-premium@9.0.0-alpha.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
96
+
97
+ Same changes as in `@mui/x-scheduler-pro@9.0.0-alpha.0`.
98
+
99
+ ### Codemod
100
+
101
+ #### `@mui/x-codemod@9.0.0`
102
+
103
+ Internal changes.
104
+
105
+ ### Docs
106
+
107
+ - [docs] Add explanation for v8 -> v9 license migration (#22004) @DanailH
108
+
109
+ ### Core
110
+
111
+ - [code-infra] Optimize dependency definition (#22006) @LukasTy
112
+ - [internal] Prepare v9 stable (#22018) @siriwatknp
113
+ - [internal] Remove 'conf' from codebase (#21989) @oliviertassinari
114
+
115
+ ## 9.0.0-rc.0
116
+
117
+ <!-- generated comparing v9.0.0-beta.0..master -->
118
+
119
+ _Apr 7, 2026_
120
+
121
+ We'd like to extend a big thank you to the 18 contributors who made this release possible.
122
+
123
+ Special thanks go out to these community members for their valuable contributions:
124
+ @mixelburg, @sibananda485, @youjin-hong
125
+
126
+ The following team members contributed to this release:
127
+ @aemartos, @alexfauquette, @arminmeh, @brijeshb42, @flaviendelangle, @JCQuintas, @LukasTy, @mapache-salvaje, @MBilalShafi, @michelengelen, @noraleonte, @rita-codes, @romgrk, @siriwatknp, @ZeeshanTamboli
128
+
129
+ ### Data Grid
130
+
131
+ #### `@mui/x-data-grid@9.0.0-rc.0`
132
+
133
+ - [DataGrid] Rename filter panel `Columns` label to singular `Column` (#21935) @youjin-hong
134
+ - [DataGrid] Export `GridColumnUnsortedIconProps` for custom column icon slots (#21658) @mixelburg
135
+ - [DataGrid] Remove `x-virtualizer`'s `virtualScroller` from public API (#21936) @romgrk
136
+ - [DataGrid][virtualizer] Scrolling without render gaps (#21616) @romgrk
137
+
138
+ #### `@mui/x-data-grid-pro@9.0.0-rc.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
139
+
140
+ Same changes as in `@mui/x-data-grid@9.0.0-rc.0`, plus:
141
+
142
+ - [DataGridPro] Improve trigger for nested row reordering (#21642) @MBilalShafi
143
+ - [DataGridPro] Undeprecate `onRowsScrollEnd` prop (#21912) @MBilalShafi
144
+
145
+ #### `@mui/x-data-grid-premium@9.0.0-rc.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
146
+
147
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-rc.0`, plus:
148
+
149
+ - [DataGridPremium] Fix clipboard paste issue in portal (#21931) @sibananda485
150
+
151
+ ### Date and Time Pickers
152
+
153
+ #### Breaking changes
154
+
155
+ - Accessible DOM structure is now the only default. [Read more](https://mui.com/x/migration/migration-pickers-v8/#accessible-dom-structure-is-now-the-default)
156
+ - The `PickerDay2` and `DateRangePickerDay2` components were propagated to stable while removing the previous defaults. [Read more](https://mui.com/x/migration/migration-pickers-v8/#day-slot)
157
+
158
+ #### `@mui/x-date-pickers@9.0.0-rc.0`
159
+
160
+ - [pickers] Remove `PickersDay` and `DateRangePickerDay` and promote their `2` versions as replacements (#21739) @michelengelen
161
+
162
+ #### `@mui/x-date-pickers-pro@9.0.0-rc.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
163
+
164
+ Same changes as in `@mui/x-date-pickers@9.0.0-rc.0`.
165
+
166
+ ### Charts
167
+
168
+ #### `@mui/x-charts@9.0.0-rc.0.0`
169
+
170
+ - [charts] Make line visibility toggle start from the baseline (#21893) @alexfauquette
171
+ - [charts] Remove the container overflow (#21955) @alexfauquette
172
+ - [charts] Revert `theme.alpha` for non-channel token (#21965) @siriwatknp
173
+
174
+ #### `@mui/x-charts-pro@9.0.0-rc.0.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
175
+
176
+ Same changes as in `@mui/x-charts@9.0.0-rc.0.0`, plus:
177
+
178
+ - [charts-pro] Zoom slider touch improvements (#21832) @JCQuintas
179
+ - [charts-pro] Add `seriesIds` filter to zoom slider preview (#21933) @JCQuintas
180
+ - [charts-pro] Fix zoom slider preview with discard filter mode (#21883) @JCQuintas
181
+
182
+ #### `@mui/x-charts-premium@9.0.0-rc.0.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
183
+
184
+ Same changes as in `@mui/x-charts-pro@9.0.0-rc.0.0`, plus:
185
+
186
+ - [charts-premium] Add series `valueFormatter` to candlestick chart (#21905) @JCQuintas
187
+ - [charts-premium] Add zoom slider preview support for candlestick charts (#21914) @JCQuintas
188
+ - [charts-premium] Allow color customization in `Candlestick` chart (#21838) @JCQuintas
189
+ - [charts-premium] Support hide/show for OHLC (candlestick) series (#21807) @Copilot
190
+ - [charts-premium] Add `dataset` support to `Candlestick` chart (#21872) @JCQuintas
191
+ - [charts-premium] Add candlestick page to sidebar navigation (#21834) @JCQuintas
192
+
193
+ ### Tree View
194
+
195
+ #### `@mui/x-tree-view@9.0.0-rc.0`
196
+
197
+ Internal changes.
198
+
199
+ #### `@mui/x-tree-view-pro@9.0.0-rc.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
200
+
201
+ Same changes as in `@mui/x-tree-view@9.0.0-rc.0`, plus:
202
+
203
+ - [RichTreeViewPro] Allow to auto-expand lazy loaded items (#21759) @flaviendelangle
204
+
205
+ ### Scheduler
206
+
207
+ #### `@mui/x-scheduler@9.0.0-alpha.0`
208
+
209
+ - [scheduler] Add locale files, adapt l10n scripts, and add localization table to docs (#21870) @rita-codes
210
+ - [scheduler] Add planned features to the docs (#21705) @rita-codes
211
+ - [scheduler] Add scheduler to docs introduction (#21845) @rita-codes
212
+ - [scheduler] Add wide docs to scheduler (#21860) @noraleonte
213
+ - [scheduler] All day event bugfixes (#21884) @noraleonte
214
+ - [scheduler] Autofocus title field (#21947) @noraleonte
215
+ - [scheduler] Change default event creation trigger to single click (#21979) @rita-codes
216
+ - [scheduler] Change order of the views on the view selector (#21904) @rita-codes
217
+ - [scheduler] Disabled border color for the repeat day picker in dark mode (#21987) @rita-codes
218
+ - [scheduler] Drop unused dependency (#21956) @flaviendelangle
219
+ - [scheduler] Fix all-day event shifting to previous day in negative UTC offsets (#21994) @rita-codes
220
+ - [scheduler] Fix dark theme localization demos (#21992) @noraleonte
221
+ - [scheduler] Fix licensing confusion in docs (#21939) @rita-codes
222
+ - [scheduler] Fix preferences menu width shift when toggling options + Improve preferences menu accessibility (#21902) @rita-codes
223
+ - [scheduler] Prepare for the alpha launch (#21859) @rita-codes
224
+ - [scheduler] Sync Base UI internals and apply good practices (#21946) @flaviendelangle
225
+ - [scheduler] Update close modal aria label translation (#21940) @rita-codes
226
+ - [scheduler] Add Spanish (es-ES) locale (#21900) @rita-codes
227
+ - [scheduler] Improve French (fr-FR) locale (#21941) @rita-codes
228
+ - [scheduler] Improve Romanian (ro-RO) locale (#21942) @rita-codes
229
+
230
+ #### `@mui/x-scheduler-premium@9.0.0-alpha.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
231
+
232
+ Same changes as in `@mui/x-scheduler@9.0.0-alpha.0`.
233
+
234
+ ### Codemod
235
+
236
+ #### `@mui/x-codemod@9.0.0-rc.0`
237
+
238
+ Internal changes.
239
+
240
+ ### Docs
241
+
242
+ - [docs] Fix JSDOM → jsdom casing (#21907) @JCQuintas
243
+ - [docs] Remove Joy UI references and dependency (#21937) @siriwatknp
244
+ - [docs] Remove none generated files (#21886) @alexfauquette
245
+ - [docs] Remove unused interactive demo code (#21945) @LukasTy
246
+ - [docs] Revise the Funnel doc (#21677) @mapache-salvaje
247
+ - [docs] Revise the Line chart docs (#21554) @mapache-salvaje
248
+ - [docs] Revise the Radar doc (#21674) @mapache-salvaje
249
+ - [docs] Revise the Sankey doc (#21678) @mapache-salvaje
250
+ - [docs] Revise the Scatter chart docs (#21564) @mapache-salvaje
251
+
252
+ ### Core
253
+
254
+ - [docs-infra] Update to the latest monorepo (#21971) @brijeshb42
255
+ - [internal] Remove checks for `materialVersion >= 6` (#21975) @LukasTy
256
+
257
+ ### Miscellaneous
258
+
259
+ - [core] Bump @mui/material to v9.0.0-beta.1 (#21858) @siriwatknp
260
+ - [core] Update browserslistrc (#21974) @siriwatknp
261
+ - [deps] Bump minimum core packages to 7.3.0 to adopt theme color manipulator (#21892) @siriwatknp
262
+ - [telemetry] Prefer upstream remote over origin for `projectId` (#21882) @aemartos
263
+ - [telemetry] Send `repoHash`, `[x]packageNameHash`, and `rootPathHash` alongside `projectId` (#21896) @aemartos
264
+ - [test] Exclude flaky `DataGrid` argos test (#21977) @MBilalShafi
265
+ - [test] Fix flaky `DataGrid` test (#22000) @arminmeh
266
+ - [test] Remove `componentsProp` test from `describeConformance` (#21897) @ZeeshanTamboli
267
+ - [x-license] Change `orderId` type from `number` to `string` (#21885) @aemartos
268
+
269
+ ## 9.0.0-beta.0
270
+
271
+ <!-- generated comparing v9.0.0-alpha.4..master -->
272
+
273
+ _Mar 27, 2026_
274
+
275
+ We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
276
+
277
+ - 🔊 New Charts voiceover component for improved screen reader support
278
+ - ⌨️ Charts keyboard navigation improvements: axis tooltip now shows when navigating with the keyboard
279
+ - 📊 Charts axes now can be set to automatically resize to fit their content
280
+ - 📝 New `rowCheckbox` slot in Data Grid for easier checkbox column customization
281
+ - ⚡️ `fetchRows()` API in Data Grid Pro now defaults `start` and `end` based on scroll position with lazy loading
282
+ - 🐞 Bugfixes and internal improvements
283
+
284
+ The following team members contributed to this release:
285
+ @aemartos, @alexfauquette, @arminmeh, @cherniavskii, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes
286
+
287
+ ### Data Grid
288
+
289
+ #### `@mui/x-data-grid@9.0.0-beta.0`
290
+
291
+ - [DataGrid] Add `rowCheckbox` slot for easier customization (#21797) @michelengelen
292
+ - [DataGrid] Prevent repeated `hasScrollbar` state updates (#21820) @arminmeh
293
+
294
+ #### `@mui/x-data-grid-pro@9.0.0-beta.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
295
+
296
+ Same changes as in `@mui/x-data-grid@9.0.0-beta.0`, plus:
297
+
298
+ - [DataGridPro] `fetchRows()` API's default `start` and `end` params based on scroll position with lazy loading (#21742) @arminmeh
299
+
300
+ #### `@mui/x-data-grid-premium@9.0.0-beta.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
301
+
302
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-beta.0`.
303
+
304
+ ### Date and Time Pickers
305
+
306
+ #### `@mui/x-date-pickers@9.0.0-beta.0`
307
+
308
+ Internal changes.
309
+
310
+ #### `@mui/x-date-pickers-pro@9.0.0-beta.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
311
+
312
+ Same changes as in `@mui/x-date-pickers@9.0.0-beta.0`.
313
+
314
+ ### Charts
315
+
316
+ #### `@mui/x-charts@9.0.0-beta.0`
317
+
318
+ - [charts] Add `className` prop to Pro chart plot components (#21793) @JCQuintas
319
+ - [charts] Add experimental position-based pointer interaction for line series (#21809) @JCQuintas
320
+ - [charts] Add l10n to the bar accessibility (#21815) @alexfauquette
321
+ - [charts] Add localization for the basic charts (#21822) @alexfauquette
322
+ - [charts] Add voiceover component (#21344) @alexfauquette
323
+ - [charts] Allow axes to automatically resize to content (#21087) @JCQuintas
324
+ - [charts] Document multiple use-cases for references (#21768) @alexfauquette
325
+ - [charts] Remove compatibility layer for React vs native events (#21780) @JCQuintas
326
+ - [charts] Remove deprecated `barLabel` props (#21783) @alexfauquette
327
+ - [charts] Show axis tooltip when navigating with keyboard (#21689) @Copilot
328
+
329
+ #### `@mui/x-charts-pro@9.0.0-beta.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
330
+
331
+ Same changes as in `@mui/x-charts@9.0.0-beta.0`.
332
+
333
+ #### `@mui/x-charts-premium@9.0.0-beta.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
334
+
335
+ Same changes as in `@mui/x-charts-pro@9.0.0-beta.0`.
336
+
337
+ ### Tree View
338
+
339
+ #### `@mui/x-tree-view@9.0.0-alpha.4`
340
+
341
+ Internal changes.
342
+
343
+ #### `@mui/x-tree-view-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
344
+
345
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
346
+
347
+ ### Codemod
348
+
349
+ #### `@mui/x-codemod@9.0.0-alpha.4`
350
+
351
+ Internal changes.
352
+
353
+ ### Docs
354
+
355
+ - [docs] Document how to customize voiceover announcement (#21833) @alexfauquette
356
+ - [docs] Remove Discord mention from docs (#21855) @mapache-salvaje
357
+ - [docs] Remove stabilized experimental feature from demo (#21869) @JCQuintas
358
+ - [docs] Update telemetry guide to reflect pseudonymous data collection and license compliance (#21812) @aemartos
359
+ - [docs] Revise the Sparkline doc (#21614) @mapache-salvaje
360
+ - [docs] Revise the Gauge doc (#21673) @mapache-salvaje
361
+ - [docs] Revise the Heatmap doc (#21676) @mapache-salvaje
362
+
363
+ ### Core
364
+
365
+ - [code-infra] Remove unused deps and unify es-toolkit via catalog (#21840) @Janpot
366
+ - [code-infra] Update @mui/internal-bundle-size-checker to canary.68 (#21836) @Janpot
367
+ - [code-infra] Update next (#21837) @Janpot
368
+ - [internal] Remove headless data grid packages (#21843) @cherniavskii
369
+
370
+ ### Miscellaneous
371
+
372
+ - Add @romgrk to CODEOWNERS for `x-virtualizer` and `x-internals` (#21819) @Copilot
373
+ - [x-license] add 2022 plan version (#21814) @aemartos
374
+
3
375
  ## 9.0.0-alpha.4
4
376
 
5
377
  _Mar 19, 2026_
@@ -59,7 +431,7 @@ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.4`.
59
431
  - [charts] Remove deprecated `useMouseTracker()` (#21787) @alexfauquette
60
432
  - [charts] Remove deprecated classes (#21775) @alexfauquette
61
433
  - [charts] Remove deprecated props from PieArcLabel animation (#21789) @alexfauquette
62
- - [charts] Remove get*UtilityClass from public exports (#21769) @JCQuintas
434
+ - [charts] Remove get\*UtilityClass from public exports (#21769) @JCQuintas
63
435
  - [charts] Remove the deprecated `disableHover` property (#21785) @alexfauquette
64
436
  - [charts] Remove the deprecated `message` prop (#21784) @alexfauquette
65
437
  - [charts] Remove deprecated props about voronoi (#21796) @alexfauquette
@@ -207,7 +579,7 @@ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
207
579
  - Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
208
580
  - The `<RichTreeViewPro />` component has now virtualization enabled by default.
209
581
  - The items used inside the `<RichTreeViewPro />` now have a default height of `32px`.
210
- - The events of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
582
+ - The items of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
211
583
 
212
584
  #### `@mui/x-tree-view@9.0.0-alpha.3`
213
585
 
@@ -138,18 +138,18 @@ export declare function useExtractRichTreeViewParameters<R extends TreeViewValid
138
138
  onFocusCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
139
139
  onBlur?: React.FocusEventHandler<HTMLUListElement> | undefined;
140
140
  onBlurCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
141
- onChange?: React.FormEventHandler<HTMLUListElement> | undefined;
142
- onChangeCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
141
+ onChange?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
142
+ onChangeCapture?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
143
143
  onBeforeInput?: React.InputEventHandler<HTMLUListElement> | undefined;
144
- onBeforeInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
145
- onInput?: React.FormEventHandler<HTMLUListElement> | undefined;
146
- onInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
147
- onReset?: React.FormEventHandler<HTMLUListElement> | undefined;
148
- onResetCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
149
- onSubmit?: React.FormEventHandler<HTMLUListElement> | undefined;
150
- onSubmitCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
151
- onInvalid?: React.FormEventHandler<HTMLUListElement> | undefined;
152
- onInvalidCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
144
+ onBeforeInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
145
+ onInput?: React.InputEventHandler<HTMLUListElement> | undefined;
146
+ onInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
147
+ onReset?: React.ReactEventHandler<HTMLUListElement> | undefined;
148
+ onResetCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
149
+ onSubmit?: React.SubmitEventHandler<HTMLUListElement> | undefined;
150
+ onSubmitCapture?: React.SubmitEventHandler<HTMLUListElement> | undefined;
151
+ onInvalid?: React.ReactEventHandler<HTMLUListElement> | undefined;
152
+ onInvalidCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
153
153
  onLoad?: React.ReactEventHandler<HTMLUListElement> | undefined;
154
154
  onLoadCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
155
155
  onError?: React.ReactEventHandler<HTMLUListElement> | undefined;
@@ -138,18 +138,18 @@ export declare function useExtractRichTreeViewParameters<R extends TreeViewValid
138
138
  onFocusCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
139
139
  onBlur?: React.FocusEventHandler<HTMLUListElement> | undefined;
140
140
  onBlurCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
141
- onChange?: React.FormEventHandler<HTMLUListElement> | undefined;
142
- onChangeCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
141
+ onChange?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
142
+ onChangeCapture?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
143
143
  onBeforeInput?: React.InputEventHandler<HTMLUListElement> | undefined;
144
- onBeforeInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
145
- onInput?: React.FormEventHandler<HTMLUListElement> | undefined;
146
- onInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
147
- onReset?: React.FormEventHandler<HTMLUListElement> | undefined;
148
- onResetCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
149
- onSubmit?: React.FormEventHandler<HTMLUListElement> | undefined;
150
- onSubmitCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
151
- onInvalid?: React.FormEventHandler<HTMLUListElement> | undefined;
152
- onInvalidCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
144
+ onBeforeInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
145
+ onInput?: React.InputEventHandler<HTMLUListElement> | undefined;
146
+ onInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
147
+ onReset?: React.ReactEventHandler<HTMLUListElement> | undefined;
148
+ onResetCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
149
+ onSubmit?: React.SubmitEventHandler<HTMLUListElement> | undefined;
150
+ onSubmitCapture?: React.SubmitEventHandler<HTMLUListElement> | undefined;
151
+ onInvalid?: React.ReactEventHandler<HTMLUListElement> | undefined;
152
+ onInvalidCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
153
153
  onLoad?: React.ReactEventHandler<HTMLUListElement> | undefined;
154
154
  onLoadCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
155
155
  onError?: React.ReactEventHandler<HTMLUListElement> | undefined;
@@ -137,18 +137,18 @@ export declare function useExtractSimpleTreeViewParameters<Multiple extends bool
137
137
  onFocusCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
138
138
  onBlur?: React.FocusEventHandler<HTMLUListElement> | undefined;
139
139
  onBlurCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
140
- onChange?: React.FormEventHandler<HTMLUListElement> | undefined;
141
- onChangeCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
140
+ onChange?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
141
+ onChangeCapture?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
142
142
  onBeforeInput?: React.InputEventHandler<HTMLUListElement> | undefined;
143
- onBeforeInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
144
- onInput?: React.FormEventHandler<HTMLUListElement> | undefined;
145
- onInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
146
- onReset?: React.FormEventHandler<HTMLUListElement> | undefined;
147
- onResetCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
148
- onSubmit?: React.FormEventHandler<HTMLUListElement> | undefined;
149
- onSubmitCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
150
- onInvalid?: React.FormEventHandler<HTMLUListElement> | undefined;
151
- onInvalidCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
143
+ onBeforeInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
144
+ onInput?: React.InputEventHandler<HTMLUListElement> | undefined;
145
+ onInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
146
+ onReset?: React.ReactEventHandler<HTMLUListElement> | undefined;
147
+ onResetCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
148
+ onSubmit?: React.SubmitEventHandler<HTMLUListElement> | undefined;
149
+ onSubmitCapture?: React.SubmitEventHandler<HTMLUListElement> | undefined;
150
+ onInvalid?: React.ReactEventHandler<HTMLUListElement> | undefined;
151
+ onInvalidCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
152
152
  onLoad?: React.ReactEventHandler<HTMLUListElement> | undefined;
153
153
  onLoadCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
154
154
  onError?: React.ReactEventHandler<HTMLUListElement> | undefined;
@@ -137,18 +137,18 @@ export declare function useExtractSimpleTreeViewParameters<Multiple extends bool
137
137
  onFocusCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
138
138
  onBlur?: React.FocusEventHandler<HTMLUListElement> | undefined;
139
139
  onBlurCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
140
- onChange?: React.FormEventHandler<HTMLUListElement> | undefined;
141
- onChangeCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
140
+ onChange?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
141
+ onChangeCapture?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
142
142
  onBeforeInput?: React.InputEventHandler<HTMLUListElement> | undefined;
143
- onBeforeInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
144
- onInput?: React.FormEventHandler<HTMLUListElement> | undefined;
145
- onInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
146
- onReset?: React.FormEventHandler<HTMLUListElement> | undefined;
147
- onResetCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
148
- onSubmit?: React.FormEventHandler<HTMLUListElement> | undefined;
149
- onSubmitCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
150
- onInvalid?: React.FormEventHandler<HTMLUListElement> | undefined;
151
- onInvalidCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
143
+ onBeforeInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
144
+ onInput?: React.InputEventHandler<HTMLUListElement> | undefined;
145
+ onInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
146
+ onReset?: React.ReactEventHandler<HTMLUListElement> | undefined;
147
+ onResetCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
148
+ onSubmit?: React.SubmitEventHandler<HTMLUListElement> | undefined;
149
+ onSubmitCapture?: React.SubmitEventHandler<HTMLUListElement> | undefined;
150
+ onInvalid?: React.ReactEventHandler<HTMLUListElement> | undefined;
151
+ onInvalidCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
152
152
  onLoad?: React.ReactEventHandler<HTMLUListElement> | undefined;
153
153
  onLoadCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
154
154
  onError?: React.ReactEventHandler<HTMLUListElement> | undefined;
@@ -15,7 +15,7 @@ export declare const TreeItemErrorContainer: import("@emotion/styled").StyledCom
15
15
  export declare const TreeItemLoadingContainer: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/CircularProgress").CircularProgressProps, keyof import("@mui/material/CircularProgress").CircularProgressProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
16
16
  export declare const TreeItemCheckbox: import("@emotion/styled").StyledComponent<Pick<Omit<CheckboxProps & {
17
17
  visible?: boolean;
18
- }, "ref"> & React.RefAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "aria-expanded" | "aria-disabled" | "onDoubleClick" | "aria-hidden" | "content" | "slots" | "slotProps" | "className" | "classes" | "color" | "sx" | "suppressHydrationWarning" | "id" | "lang" | "name" | "nonce" | "part" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "icon" | "disabled" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "action" | "checked" | "visible" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "indeterminate" | "readOnly" | "required" | "size" | "component" | "checkedIcon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "inputProps" | "inputRef" | "indeterminateIcon" | keyof React.RefAttributes<HTMLButtonElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
18
+ }, "ref"> & React.RefAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "aria-expanded" | "aria-disabled" | "onDoubleClick" | "aria-hidden" | "content" | "slots" | "slotProps" | "className" | "classes" | "color" | "sx" | "suppressHydrationWarning" | "id" | "lang" | "name" | "nonce" | "part" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "icon" | "disabled" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "action" | "checked" | "visible" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "indeterminate" | "readOnly" | "required" | "size" | "component" | "checkedIcon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "indeterminateIcon" | keyof React.RefAttributes<HTMLButtonElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
19
19
  type TreeItemComponent = ((props: TreeItemProps & React.RefAttributes<HTMLLIElement>) => React.JSX.Element) & {
20
20
  propTypes?: any;
21
21
  };
@@ -15,7 +15,7 @@ export declare const TreeItemErrorContainer: import("@emotion/styled").StyledCom
15
15
  export declare const TreeItemLoadingContainer: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/CircularProgress").CircularProgressProps, keyof import("@mui/material/CircularProgress").CircularProgressProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
16
16
  export declare const TreeItemCheckbox: import("@emotion/styled").StyledComponent<Pick<Omit<CheckboxProps & {
17
17
  visible?: boolean;
18
- }, "ref"> & React.RefAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "aria-expanded" | "aria-disabled" | "onDoubleClick" | "aria-hidden" | "content" | "slots" | "slotProps" | "className" | "classes" | "color" | "sx" | "suppressHydrationWarning" | "id" | "lang" | "name" | "nonce" | "part" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "icon" | "disabled" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "action" | "checked" | "visible" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "indeterminate" | "readOnly" | "required" | "size" | "component" | "checkedIcon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "inputProps" | "inputRef" | "indeterminateIcon" | keyof React.RefAttributes<HTMLButtonElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
18
+ }, "ref"> & React.RefAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "aria-expanded" | "aria-disabled" | "onDoubleClick" | "aria-hidden" | "content" | "slots" | "slotProps" | "className" | "classes" | "color" | "sx" | "suppressHydrationWarning" | "id" | "lang" | "name" | "nonce" | "part" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "icon" | "disabled" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "action" | "checked" | "visible" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "indeterminate" | "readOnly" | "required" | "size" | "component" | "checkedIcon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "indeterminateIcon" | keyof React.RefAttributes<HTMLButtonElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
19
19
  type TreeItemComponent = ((props: TreeItemProps & React.RefAttributes<HTMLLIElement>) => React.JSX.Element) & {
20
20
  propTypes?: any;
21
21
  };
@@ -14,7 +14,6 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
14
14
  var _clsx = _interopRequireDefault(require("clsx"));
15
15
  var _CircularProgress = _interopRequireDefault(require("@mui/material/CircularProgress"));
16
16
  var _unsupportedProp = _interopRequireDefault(require("@mui/utils/unsupportedProp"));
17
- var _styles = require("@mui/material/styles");
18
17
  var _Collapse = _interopRequireDefault(require("@mui/material/Collapse"));
19
18
  var _Checkbox = _interopRequireDefault(require("@mui/material/Checkbox"));
20
19
  var _useSlotProps = _interopRequireDefault(require("@mui/utils/useSlotProps"));
@@ -77,17 +76,17 @@ const TreeItemContent = exports.TreeItemContent = (0, _zeroStyled.styled)('div',
77
76
  backgroundColor: (theme.vars || theme).palette.action.focus
78
77
  },
79
78
  '&[data-selected]': {
80
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : (0, _styles.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity),
79
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity),
81
80
  '&:hover': {
82
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : (0, _styles.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
81
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`),
83
82
  // Reset on touch devices, it doesn't add specificity
84
83
  '@media (hover: none)': {
85
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : (0, _styles.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity)
84
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity)
86
85
  }
87
86
  }
88
87
  },
89
88
  '&[data-selected][data-focused]': {
90
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : (0, _styles.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
89
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.focusOpacity}`)
91
90
  }
92
91
  }));
93
92
  const TreeItemLabel = exports.TreeItemLabel = (0, _zeroStyled.styled)('div', {
@@ -9,7 +9,6 @@ import PropTypes from 'prop-types';
9
9
  import clsx from 'clsx';
10
10
  import CircularProgress from '@mui/material/CircularProgress';
11
11
  import unsupportedProp from '@mui/utils/unsupportedProp';
12
- import { alpha } from '@mui/material/styles';
13
12
  import Collapse from '@mui/material/Collapse';
14
13
  import MuiCheckbox from '@mui/material/Checkbox';
15
14
  import useSlotProps from '@mui/utils/useSlotProps';
@@ -70,17 +69,17 @@ export const TreeItemContent = styled('div', {
70
69
  backgroundColor: (theme.vars || theme).palette.action.focus
71
70
  },
72
71
  '&[data-selected]': {
73
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
72
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity),
74
73
  '&:hover': {
75
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
74
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`),
76
75
  // Reset on touch devices, it doesn't add specificity
77
76
  '@media (hover: none)': {
78
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
77
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity)
79
78
  }
80
79
  }
81
80
  },
82
81
  '&[data-selected][data-focused]': {
83
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
82
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.focusOpacity}`)
84
83
  }
85
84
  }));
86
85
  export const TreeItemLabel = styled('div', {
@@ -8,7 +8,6 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports.TreeItemDragAndDropOverlay = TreeItemDragAndDropOverlay;
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
- var _styles = require("@mui/material/styles");
12
11
  var _createStyled = require("@mui/system/createStyled");
13
12
  var _zeroStyled = require("../internals/zero-styled");
14
13
  var _jsxRuntime = require("react/jsx-runtime");
@@ -33,7 +32,7 @@ const TreeItemDragAndDropOverlayRoot = (0, _zeroStyled.styled)('div', {
33
32
  style: {
34
33
  marginLeft: 'calc(var(--TreeView-indentMultiplier) * var(--TreeView-itemDepth))',
35
34
  borderRadius: theme.shape.borderRadius,
36
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.darkChannel} / ${theme.vars.palette.action.focusOpacity})` : (0, _styles.alpha)(theme.palette.primary.dark, theme.palette.action.focusOpacity)
35
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.dark, (theme.vars || theme).palette.action.focusOpacity)
37
36
  }
38
37
  }, {
39
38
  props: {
@@ -2,7 +2,6 @@
2
2
 
3
3
  import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import PropTypes from 'prop-types';
5
- import { alpha } from '@mui/material/styles';
6
5
  import { shouldForwardProp } from '@mui/system/createStyled';
7
6
  import { styled } from "../internals/zero-styled/index.mjs";
8
7
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -27,7 +26,7 @@ const TreeItemDragAndDropOverlayRoot = styled('div', {
27
26
  style: {
28
27
  marginLeft: 'calc(var(--TreeView-indentMultiplier) * var(--TreeView-itemDepth))',
29
28
  borderRadius: theme.shape.borderRadius,
30
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.darkChannel} / ${theme.vars.palette.action.focusOpacity})` : alpha(theme.palette.primary.dark, theme.palette.action.focusOpacity)
29
+ backgroundColor: theme.alpha((theme.vars || theme).palette.primary.dark, (theme.vars || theme).palette.action.focusOpacity)
31
30
  }
32
31
  }, {
33
32
  props: {
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v9.0.0-alpha.4
2
+ * @mui/x-tree-view v9.0.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v9.0.0-alpha.4
2
+ * @mui/x-tree-view v9.0.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -12,9 +12,9 @@ import { TreeViewExpansionPlugin } from "../plugins/expansion/index.mjs";
12
12
  import { TreeViewItemPluginManager } from "./TreeViewItemPluginManager.mjs";
13
13
  export class MinimalTreeViewStore extends Store {
14
14
  initialParameters = null;
15
- eventManager = (() => new EventManager())();
16
- timeoutManager = (() => new TimeoutManager())();
17
- itemPluginManager = (() => new TreeViewItemPluginManager())();
15
+ eventManager = new EventManager();
16
+ timeoutManager = new TimeoutManager();
17
+ itemPluginManager = new TreeViewItemPluginManager();
18
18
  constructor(parameters, instanceName, mapper) {
19
19
  const minimalInitialState = createMinimalInitialState(parameters);
20
20
  const initialState = mapper.getInitialState(minimalInitialState, parameters);
@@ -1,6 +1,6 @@
1
1
  export class TimeoutManager {
2
- timeoutIds = (() => new Map())();
3
- intervalIds = (() => new Map())();
2
+ timeoutIds = new Map();
3
+ intervalIds = new Map();
4
4
  startTimeout = (key, delay, fn) => {
5
5
  this.clearTimeout(key);
6
6
  const id = setTimeout(() => {
@@ -3,13 +3,13 @@ import { TreeViewLabelEditingPlugin } from "../plugins/labelEditing/index.mjs";
3
3
  import { MinimalTreeViewStore } from "../MinimalTreeViewStore/index.mjs";
4
4
  import { parametersToStateMapper } from "./RichTreeViewStore.utils.mjs";
5
5
  export class ExtendableRichTreeViewStore extends MinimalTreeViewStore {
6
- labelEditing = (() => new TreeViewLabelEditingPlugin(this))();
6
+ labelEditing = new TreeViewLabelEditingPlugin(this);
7
7
 
8
8
  /**
9
9
  * Mapper of the RichTreeViewStore.
10
10
  * Can be used by classes extending the RichTreeViewStore to create their own mapper.
11
11
  */
12
- static rawMapper = (() => parametersToStateMapper)();
12
+ static rawMapper = parametersToStateMapper;
13
13
  buildPublicAPI() {
14
14
  return _extends({}, super.buildPublicAPI(), this.labelEditing.buildPublicAPI());
15
15
  }
@@ -4,7 +4,7 @@ import { MinimalTreeViewStore } from "../MinimalTreeViewStore/index.mjs";
4
4
  import { TreeViewJSXItemsPlugin } from "../plugins/jsxItems/index.mjs";
5
5
  import { parametersToStateMapper } from "./SimpleTreeViewStore.utils.mjs";
6
6
  export class SimpleTreeViewStore extends MinimalTreeViewStore {
7
- jsxItems = (() => new TreeViewJSXItemsPlugin(this))();
7
+ jsxItems = new TreeViewJSXItemsPlugin(this);
8
8
  constructor(parameters) {
9
9
  super(_extends({}, parameters, {
10
10
  items: EMPTY_ARRAY
@@ -132,18 +132,18 @@ export declare function useTreeViewRootProps<TStore extends TreeViewAnyStore>(st
132
132
  onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLUListElement> | undefined;
133
133
  onFocusCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
134
134
  onBlurCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
135
- onChange?: React.FormEventHandler<HTMLUListElement> | undefined;
136
- onChangeCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
135
+ onChange?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
136
+ onChangeCapture?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
137
137
  onBeforeInput?: React.InputEventHandler<HTMLUListElement> | undefined;
138
- onBeforeInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
139
- onInput?: React.FormEventHandler<HTMLUListElement> | undefined;
140
- onInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
141
- onReset?: React.FormEventHandler<HTMLUListElement> | undefined;
142
- onResetCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
143
- onSubmit?: React.FormEventHandler<HTMLUListElement> | undefined;
144
- onSubmitCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
145
- onInvalid?: React.FormEventHandler<HTMLUListElement> | undefined;
146
- onInvalidCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
138
+ onBeforeInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
139
+ onInput?: React.InputEventHandler<HTMLUListElement> | undefined;
140
+ onInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
141
+ onReset?: React.ReactEventHandler<HTMLUListElement> | undefined;
142
+ onResetCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
143
+ onSubmit?: React.SubmitEventHandler<HTMLUListElement> | undefined;
144
+ onSubmitCapture?: React.SubmitEventHandler<HTMLUListElement> | undefined;
145
+ onInvalid?: React.ReactEventHandler<HTMLUListElement> | undefined;
146
+ onInvalidCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
147
147
  onLoad?: React.ReactEventHandler<HTMLUListElement> | undefined;
148
148
  onLoadCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
149
149
  onError?: React.ReactEventHandler<HTMLUListElement> | undefined;
@@ -132,18 +132,18 @@ export declare function useTreeViewRootProps<TStore extends TreeViewAnyStore>(st
132
132
  onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLUListElement> | undefined;
133
133
  onFocusCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
134
134
  onBlurCapture?: React.FocusEventHandler<HTMLUListElement> | undefined;
135
- onChange?: React.FormEventHandler<HTMLUListElement> | undefined;
136
- onChangeCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
135
+ onChange?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
136
+ onChangeCapture?: React.ChangeEventHandler<HTMLUListElement, Element> | undefined;
137
137
  onBeforeInput?: React.InputEventHandler<HTMLUListElement> | undefined;
138
- onBeforeInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
139
- onInput?: React.FormEventHandler<HTMLUListElement> | undefined;
140
- onInputCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
141
- onReset?: React.FormEventHandler<HTMLUListElement> | undefined;
142
- onResetCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
143
- onSubmit?: React.FormEventHandler<HTMLUListElement> | undefined;
144
- onSubmitCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
145
- onInvalid?: React.FormEventHandler<HTMLUListElement> | undefined;
146
- onInvalidCapture?: React.FormEventHandler<HTMLUListElement> | undefined;
138
+ onBeforeInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
139
+ onInput?: React.InputEventHandler<HTMLUListElement> | undefined;
140
+ onInputCapture?: React.InputEventHandler<HTMLUListElement> | undefined;
141
+ onReset?: React.ReactEventHandler<HTMLUListElement> | undefined;
142
+ onResetCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
143
+ onSubmit?: React.SubmitEventHandler<HTMLUListElement> | undefined;
144
+ onSubmitCapture?: React.SubmitEventHandler<HTMLUListElement> | undefined;
145
+ onInvalid?: React.ReactEventHandler<HTMLUListElement> | undefined;
146
+ onInvalidCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
147
147
  onLoad?: React.ReactEventHandler<HTMLUListElement> | undefined;
148
148
  onLoadCapture?: React.ReactEventHandler<HTMLUListElement> | undefined;
149
149
  onError?: React.ReactEventHandler<HTMLUListElement> | undefined;
@@ -8,7 +8,7 @@ export class TreeViewJSXItemsPlugin {
8
8
  * Tracks which component instance owns each item id,
9
9
  * so that duplicate ids from different components can be detected.
10
10
  */
11
- itemOwners = (() => new Map())();
11
+ itemOwners = new Map();
12
12
  constructor(store) {
13
13
  this.store = store;
14
14
  store.itemPluginManager.register(useJSXItemsItemPlugin, jsxItemsitemWrapper);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-tree-view",
3
- "version": "9.0.0-alpha.4",
3
+ "version": "9.0.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The community edition of the MUI X Tree View components.",
6
6
  "license": "MIT",
@@ -32,19 +32,19 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.28.6",
35
- "@base-ui/utils": "^0.2.3",
36
- "@mui/utils": "^7.3.7",
35
+ "@base-ui/utils": "^0.2.6",
36
+ "@mui/utils": "9.0.0",
37
37
  "@types/react-transition-group": "^4.4.12",
38
38
  "clsx": "^2.1.1",
39
39
  "prop-types": "^15.8.1",
40
40
  "react-transition-group": "^4.4.5",
41
- "@mui/x-internals": "9.0.0-alpha.4"
41
+ "@mui/x-internals": "^9.0.0"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@emotion/react": "^11.9.0",
45
45
  "@emotion/styled": "^11.8.1",
46
- "@mui/material": "^5.15.14 || ^6.0.0 || ^7.0.0",
47
- "@mui/system": "^5.15.14 || ^6.0.0 || ^7.0.0",
46
+ "@mui/material": "^7.3.0 || ^9.0.0",
47
+ "@mui/system": "^7.3.0 || ^9.0.0",
48
48
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
49
49
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
50
50
  },
package/utils/cache.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- import { TreeViewItemMeta } from "../internals/models/index.mjs";
2
1
  type DataSourceCacheDefaultConfig = {
3
2
  /**
4
3
  * Time To Live for each cache entry in milliseconds.
@@ -7,32 +6,32 @@ type DataSourceCacheDefaultConfig = {
7
6
  */
8
7
  ttl?: number;
9
8
  };
10
- export interface DataSourceCache {
9
+ export interface DataSourceCache<T = any> {
11
10
  /**
12
11
  * Set the cache entry for the given key.
13
12
  * @param {string} key The key of type `string`
14
- * @param {TreeViewItemMeta[]} value The value to be stored in the cache
13
+ * @param {T[]} value The value to be stored in the cache
15
14
  */
16
- set: (key: string, value: TreeViewItemMeta[]) => void;
15
+ set: (key: string, value: T[]) => void;
17
16
  /**
18
17
  * Get the cache entry for the given key.
19
18
  * @param {string} key The key of type `string`
20
- * @returns {TreeViewItemMeta[]} The value stored in the cache
19
+ * @returns {T[] | undefined | -1} The value stored in the cache, `undefined` if not found, or `-1` if the cache entry is stale.
21
20
  */
22
- get: (key: string) => TreeViewItemMeta[] | undefined | -1;
21
+ get: (key: string) => T[] | undefined | -1;
23
22
  /**
24
23
  * Clear the cache.
25
24
  */
26
25
  clear: () => void;
27
26
  }
28
- export declare class DataSourceCacheDefault {
27
+ export declare class DataSourceCacheDefault<T = any> implements DataSourceCache<T> {
29
28
  private cache;
30
29
  private ttl;
31
30
  constructor({
32
31
  ttl
33
32
  }: DataSourceCacheDefaultConfig);
34
- set(key: string, value: TreeViewItemMeta[]): void;
35
- get(key: string): TreeViewItemMeta[] | undefined | -1;
33
+ set(key: string, value: T[]): void;
34
+ get(key: string): T[] | undefined | -1;
36
35
  clear(): void;
37
36
  }
38
37
  export {};
package/utils/cache.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { TreeViewItemMeta } from "../internals/models/index.js";
2
1
  type DataSourceCacheDefaultConfig = {
3
2
  /**
4
3
  * Time To Live for each cache entry in milliseconds.
@@ -7,32 +6,32 @@ type DataSourceCacheDefaultConfig = {
7
6
  */
8
7
  ttl?: number;
9
8
  };
10
- export interface DataSourceCache {
9
+ export interface DataSourceCache<T = any> {
11
10
  /**
12
11
  * Set the cache entry for the given key.
13
12
  * @param {string} key The key of type `string`
14
- * @param {TreeViewItemMeta[]} value The value to be stored in the cache
13
+ * @param {T[]} value The value to be stored in the cache
15
14
  */
16
- set: (key: string, value: TreeViewItemMeta[]) => void;
15
+ set: (key: string, value: T[]) => void;
17
16
  /**
18
17
  * Get the cache entry for the given key.
19
18
  * @param {string} key The key of type `string`
20
- * @returns {TreeViewItemMeta[]} The value stored in the cache
19
+ * @returns {T[] | undefined | -1} The value stored in the cache, `undefined` if not found, or `-1` if the cache entry is stale.
21
20
  */
22
- get: (key: string) => TreeViewItemMeta[] | undefined | -1;
21
+ get: (key: string) => T[] | undefined | -1;
23
22
  /**
24
23
  * Clear the cache.
25
24
  */
26
25
  clear: () => void;
27
26
  }
28
- export declare class DataSourceCacheDefault {
27
+ export declare class DataSourceCacheDefault<T = any> implements DataSourceCache<T> {
29
28
  private cache;
30
29
  private ttl;
31
30
  constructor({
32
31
  ttl
33
32
  }: DataSourceCacheDefaultConfig);
34
- set(key: string, value: TreeViewItemMeta[]): void;
35
- get(key: string): TreeViewItemMeta[] | undefined | -1;
33
+ set(key: string, value: T[]): void;
34
+ get(key: string): T[] | undefined | -1;
36
35
  clear(): void;
37
36
  }
38
37
  export {};