@mui/x-tree-view 9.4.0 → 9.6.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 +251 -0
- package/RichTreeView/RichTreeView.js +1 -1
- package/RichTreeView/RichTreeView.mjs +1 -1
- package/SimpleTreeView/SimpleTreeView.js +1 -1
- package/SimpleTreeView/SimpleTreeView.mjs +1 -1
- package/TreeItem/TreeItem.d.mts +1 -1
- package/TreeItem/TreeItem.d.ts +1 -1
- package/TreeItem/TreeItem.js +1 -1
- package/TreeItem/TreeItem.mjs +1 -1
- package/TreeItemDragAndDropOverlay/TreeItemDragAndDropOverlay.js +1 -1
- package/TreeItemDragAndDropOverlay/TreeItemDragAndDropOverlay.mjs +1 -1
- package/TreeItemIcon/TreeItemIcon.js +1 -1
- package/TreeItemIcon/TreeItemIcon.mjs +1 -1
- package/TreeItemProvider/TreeItemProvider.js +1 -1
- package/TreeItemProvider/TreeItemProvider.mjs +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/components/RichTreeViewItems.d.mts +6 -1
- package/internals/components/RichTreeViewItems.d.ts +6 -1
- package/internals/plugins/labelEditing/itemPlugin.js +6 -5
- package/internals/plugins/labelEditing/itemPlugin.mjs +6 -5
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,256 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.6.0
|
|
4
|
+
|
|
5
|
+
_Jun 18, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 📊 New features for the radial bar charts, like percentage min radius and disabling tick labels.
|
|
10
|
+
|
|
11
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
12
|
+
@adamowski10, @Anexus5919, @Morteza-hp, @mustafajw07, @TargiX
|
|
13
|
+
|
|
14
|
+
The following team members contributed to this release:
|
|
15
|
+
@alexfauquette, @arminmeh, @brijeshb42, @cherniavskii, @hasdfa, @Janpot, @JCQuintas, @michelengelen, @noraleonte, @oliviertassinari, @rita-codes, @sai6855
|
|
16
|
+
|
|
17
|
+
### Data Grid
|
|
18
|
+
|
|
19
|
+
#### `@mui/x-data-grid@9.6.0`
|
|
20
|
+
|
|
21
|
+
- [DataGrid] Define `overflowAnchor` style at the right element (#22849) @arminmeh
|
|
22
|
+
- [DataGrid] Fix scrollbars not showing up on scroll on iOS (#22832) @cherniavskii
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid-pro@9.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
25
|
+
|
|
26
|
+
Same changes as in `@mui/x-data-grid@9.6.0`, plus:
|
|
27
|
+
|
|
28
|
+
- [DataGridPro] Prevent incorrect row range capping on the first page with known `rowCount` (#22808) @michelengelen
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@9.6.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@9.6.0`.
|
|
33
|
+
|
|
34
|
+
### Date and Time Pickers
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers@9.6.0`
|
|
37
|
+
|
|
38
|
+
- [pickers] Fix `AdapterMomentHijri.getDaysInMonth` returning the Gregorian month length (#22774) @Anexus5919
|
|
39
|
+
- [l10n] Improve Persian (fa-IR) locale (#22454) @Morteza-hp
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-date-pickers-pro@9.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
42
|
+
|
|
43
|
+
Same changes as in `@mui/x-date-pickers@9.6.0`.
|
|
44
|
+
|
|
45
|
+
### Charts
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-charts@9.6.0`
|
|
48
|
+
|
|
49
|
+
- [charts] Add `disableTickLabel` prop to radial axes (#22801) @JCQuintas
|
|
50
|
+
- [charts] Fix bug when `min` is in axis domain (#22827) @alexfauquette
|
|
51
|
+
- [charts] Fix wheel zoom not centering on cursor position (#22811) @JCQuintas
|
|
52
|
+
- [charts] Remove zoom gesture registration from community package (#22753) @sai6855
|
|
53
|
+
- [charts] Support percentage values for radial axis `minRadius`/`maxRadius` (#22803) @JCQuintas
|
|
54
|
+
- [charts] Support `unknownColor` in color scale (#22813) @alexfauquette
|
|
55
|
+
- [charts] Document click listener for scatter composition (#22809) @sai6855
|
|
56
|
+
|
|
57
|
+
#### `@mui/x-charts-pro@9.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
58
|
+
|
|
59
|
+
Same changes as in `@mui/x-charts@9.6.0`.
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-charts-premium@9.6.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
62
|
+
|
|
63
|
+
Same changes as in `@mui/x-charts-pro@9.6.0`, plus:
|
|
64
|
+
|
|
65
|
+
- [charts-premium] Add `geoFeatureKey` to transform features identifier (#22848) @alexfauquette
|
|
66
|
+
- [charts-premium] Allow to remove Antartica (#22815) @alexfauquette
|
|
67
|
+
- [charts-premium] Regenerate `ScatterPlotPremium` `propTypes` (#22829) @rita-codes
|
|
68
|
+
- [charts-premium] Support maps tooltip positioned on items (#22648) @alexfauquette
|
|
69
|
+
- [docs] Show how to export maps (#22837) @alexfauquette
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Tree View
|
|
73
|
+
|
|
74
|
+
#### `@mui/x-tree-view@9.6.0`
|
|
75
|
+
|
|
76
|
+
Internal changes.
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-tree-view-pro@9.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
79
|
+
|
|
80
|
+
Same changes as in `@mui/x-tree-view@9.6.0`.
|
|
81
|
+
|
|
82
|
+
### Scheduler
|
|
83
|
+
|
|
84
|
+
#### `@mui/x-scheduler@9.0.0-beta.2`
|
|
85
|
+
|
|
86
|
+
- [scheduler] Add dispose lifecycle to `SchedulerLazyLoadingPlugin` (#22532) @rita-codes
|
|
87
|
+
- [scheduler] Add responsive mobile week view and responsive typography (#22593) @noraleonte
|
|
88
|
+
- [scheduler] Add stable weekday token to `recurrenceWeeklyPresetLabel` (#22733) @mustafajw07
|
|
89
|
+
- [scheduler] Create accessibility documentation section (#22557) @mustafajw07
|
|
90
|
+
- [scheduler] Decouple `MonthViewProps` from day time grid props (#22802) @mustafajw07
|
|
91
|
+
- [scheduler] Export missing public scheduler types (#22785) @mustafajw07
|
|
92
|
+
- [scheduler] Fix JSDoc defaults and improve public type readability (#22784) @mustafajw07
|
|
93
|
+
- [scheduler] Fix `aria-labelledby` on events referencing non-existent header IDs (#22778) @rita-codes
|
|
94
|
+
- [scheduler] Move `EventCalendarStyledContext` to internals (#22787) @mustafajw07
|
|
95
|
+
- [scheduler] Normalize all-day recurring occurrences to whole days (#22792) @Anexus5919
|
|
96
|
+
- [scheduler] Recalculate `DayTimeGrid` `hasScroll` on container resize (#22780) @Anexus5919
|
|
97
|
+
- [scheduler] Recompute `nowUpdatedEveryMinute` only on timezone change (#22793) @Anexus5919
|
|
98
|
+
- [scheduler] Register auto-scroll once instead of on every render (#22794) @Anexus5919
|
|
99
|
+
- [scheduler] Remove duplicate dividers in the day/time grid (#22795) @Anexus5919
|
|
100
|
+
- [scheduler] Remove unused `--has-scroll` CSS variable from `DayTimeGrid` (#22799) @Anexus5919
|
|
101
|
+
- [scheduler] Remove vestigial async from internal drop handler (#22781) @mustafajw07
|
|
102
|
+
- [scheduler] Return a primitive key from the Calendar lazy-loading selector (#22791) @Anexus5919
|
|
103
|
+
- [scheduler] Throw on invalid event dates instead of emitting `NaN` timestamps (#22740) @rita-codes
|
|
104
|
+
- [scheduler] Tighten `StandaloneEventProps` data typing (#22796) @mustafajw07
|
|
105
|
+
- [scheduler] Update feedback banner to say beta instead of alpha (#22804) @rita-codes
|
|
106
|
+
- [scheduler] Use `@base-ui` `generateId` for event ids in `createEventModel` (#22788) @rita-codes
|
|
107
|
+
- [scheduler] Clear clipboard after pasting a cut event (#22773) @Anexus5919
|
|
108
|
+
- [scheduler] Show drag placeholder when re-entering the same position (#22775) @Anexus5919
|
|
109
|
+
- [scheduler] Validate missing and duplicate event ids (#22790) @Anexus5919
|
|
110
|
+
- [l10n] Improve Polish (pl-PL) locale (#22612) @adamowski10
|
|
111
|
+
|
|
112
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
113
|
+
|
|
114
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.2`, plus:
|
|
115
|
+
|
|
116
|
+
- [scheduler-premium] Expose premium model types through public API (#22798) @mustafajw07
|
|
117
|
+
- [scheduler-premium] Remove non-functional `onPreferencesChange` prop from `EventTimelinePremium` (#22777) @rita-codes
|
|
118
|
+
- [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
|
|
119
|
+
|
|
120
|
+
### Codemod
|
|
121
|
+
|
|
122
|
+
#### `@mui/x-codemod@9.6.0`
|
|
123
|
+
|
|
124
|
+
Internal changes.
|
|
125
|
+
|
|
126
|
+
### Docs
|
|
127
|
+
|
|
128
|
+
- [docs] Fix link-check build timeout by disabling serve directory listing (#22836) @Janpot
|
|
129
|
+
- [docs] Show how to export maps (#22837) @alexfauquette
|
|
130
|
+
- [docs] Add radial bar overview demo with custom overlays (#22776) @JCQuintas
|
|
131
|
+
- [docs] Add weather composition demo (#22723) @TargiX
|
|
132
|
+
- [docs] Add docs overview gallery and playground (#22488) @hasdfa
|
|
133
|
+
- [docs] Clarify 'Scrolling without render gaps' (#22629) @oliviertassinari
|
|
134
|
+
- [docs] Fix typo in release instructions (#22864) @brijeshb42
|
|
135
|
+
|
|
136
|
+
### Core
|
|
137
|
+
|
|
138
|
+
- [code-infra] Fix lint issues (#22757) @brijeshb42
|
|
139
|
+
- [code-infra] Fix remaining Dependabot security alerts (#22761) @Janpot
|
|
140
|
+
- [code-infra] Remove release:build from docs:build script (#22852) @brijeshb42
|
|
141
|
+
- [code-infra] Unpin `@mui/utils` version to allow dedupe (#22828) @mustafajw07
|
|
142
|
+
- [docs-infra] Cap Netlify Next.js build parallelism to avoid OOM (#22847) @Janpot
|
|
143
|
+
- [docs-infra] Remove i18n codebase (#22591) @brijeshb42
|
|
144
|
+
- [internal] Fix failing React 18 unit tests (#22846) @brijeshb42
|
|
145
|
+
|
|
146
|
+
### Miscellaneous
|
|
147
|
+
|
|
148
|
+
- [core] Add remove-proptypes markers to generated `propTypes` (#22850) @JCQuintas
|
|
149
|
+
- [core] Bump vitest packages to 4.1.8 to fix browser-test version skew (#22845) @Janpot
|
|
150
|
+
- [core] Reduce e2e build concurrency to avoid OOM (#22843) @Janpot
|
|
151
|
+
- [core] Strip proptypes from Production bundles (#22750) @sai6855
|
|
152
|
+
- [test] Wait for `GridToolbarCustom` rows before screenshot (#22844) @Janpot
|
|
153
|
+
|
|
154
|
+
## 9.5.0
|
|
155
|
+
|
|
156
|
+
_Jun 11, 2026_
|
|
157
|
+
|
|
158
|
+
We'd like to extend a big thank you to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
159
|
+
|
|
160
|
+
- 🎁 New [`multiSelect` column type for Data Grid Pro](https://mui.com/x/react-data-grid/column-definition/#MultiSelectColumn)
|
|
161
|
+
- 🚀 New [renderer="svg-progressive"](https://mui.com/x/react-charts/scatter/#progressive-renderer) paints scatter points in batched frames so large datasets render smoothly without blocking the main thread.
|
|
162
|
+
- 🐞 Bugfixes
|
|
163
|
+
- 📚 Documentation improvements
|
|
164
|
+
|
|
165
|
+
Special thanks go out to community members @mustafajw07 and @Anexus5919 for their valuable contribution.
|
|
166
|
+
|
|
167
|
+
The following team members contributed to this release:
|
|
168
|
+
@alexfauquette, @JCQuintas, @rita-codes, @rluzists1, @sai6855, @siriwatknp, @arminmeh, @brijeshb42
|
|
169
|
+
|
|
170
|
+
### Data Grid
|
|
171
|
+
|
|
172
|
+
#### `@mui/x-data-grid@9.5.0`
|
|
173
|
+
|
|
174
|
+
- [DataGrid] Restrict warning messages to non-production environments in various components (#22461) @sai6855
|
|
175
|
+
- [DataGrid] Prevent React state update before mount (#22374) @arminmeh
|
|
176
|
+
|
|
177
|
+
#### `@mui/x-data-grid-pro@9.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
178
|
+
|
|
179
|
+
Same changes as in `@mui/x-data-grid@9.5.0`, plus:
|
|
180
|
+
|
|
181
|
+
- [DataGridPro] Add new `multiSelect` column type (#21157) @siriwatknp
|
|
182
|
+
|
|
183
|
+
#### `@mui/x-data-grid-premium@9.5.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
184
|
+
|
|
185
|
+
Same changes as in `@mui/x-data-grid-pro@9.5.0`.
|
|
186
|
+
|
|
187
|
+
### Date and Time Pickers
|
|
188
|
+
|
|
189
|
+
#### `@mui/x-date-pickers@9.5.0`
|
|
190
|
+
|
|
191
|
+
- [pickers] Fix missing export of `th-TH` (#22703) @alexfauquette
|
|
192
|
+
|
|
193
|
+
#### `@mui/x-date-pickers-pro@9.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
194
|
+
|
|
195
|
+
Same changes as in `@mui/x-date-pickers@9.5.0`.
|
|
196
|
+
|
|
197
|
+
### Charts
|
|
198
|
+
|
|
199
|
+
#### `@mui/x-charts@9.5.0`
|
|
200
|
+
|
|
201
|
+
- [charts] Add `FocusedBar` component to `BarScatterComposition` demo (#22704) @sai6855
|
|
202
|
+
- [charts] Add dedicated Bubble Chart documentation page (#22688) @mustafajw07
|
|
203
|
+
- [charts] Add progressive scatter renderer (#22518) @JCQuintas
|
|
204
|
+
- [charts] Avoid full axis pipeline rebuild on resize (#22695) @JCQuintas
|
|
205
|
+
- [charts] Document focus indicator in composition page (#22712) @JCQuintas
|
|
206
|
+
- [charts] Fix `ChartsTooltip` `container` and `disablePortal` props being ignored (#22690) @JCQuintas
|
|
207
|
+
- [charts] Make ordinal scales O(1) to copy and re-range (#22691) @JCQuintas
|
|
208
|
+
- [charts] Stabilize WebGL bar rendering at sub-pixel widths (#22678) @JCQuintas
|
|
209
|
+
- [charts] Use the series config to define value types (#22693) @sai6855
|
|
210
|
+
- [charts] Decouple interaction hook from the cartesian zoom (#22708) @alexfauquette
|
|
211
|
+
|
|
212
|
+
#### `@mui/x-charts-pro@9.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
213
|
+
|
|
214
|
+
Same changes as in `@mui/x-charts@9.5.0`, plus:
|
|
215
|
+
|
|
216
|
+
- [charts-pro] Add missing focus highlight (#22689) @alexfauquette
|
|
217
|
+
|
|
218
|
+
#### `@mui/x-charts-premium@9.5.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
219
|
+
|
|
220
|
+
Same changes as in `@mui/x-charts-pro@9.5.0`, plus:
|
|
221
|
+
|
|
222
|
+
- [charts-premium] Set `Heatmap` WebGL render as stable (#22665) @alexfauquette
|
|
223
|
+
- [charts-premium] Stabilize candlestick charts (#22666) @alexfauquette
|
|
224
|
+
- [charts-premium] Stabilize the radial charts (#22655) @alexfauquette
|
|
225
|
+
|
|
226
|
+
### Scheduler
|
|
227
|
+
|
|
228
|
+
#### `@mui/x-scheduler@9.0.0-beta.1`
|
|
229
|
+
|
|
230
|
+
Internal changes.
|
|
231
|
+
|
|
232
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
233
|
+
|
|
234
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.1`, plus:
|
|
235
|
+
|
|
236
|
+
- [scheduler] Remove dead CSS variable writes in `EventTimelinePremiumContent` (#22720) @rita-codes
|
|
237
|
+
- [scheduler] Show scope dialog when deleting a recurring event (#22552) @Anexus5919
|
|
238
|
+
|
|
239
|
+
### Core
|
|
240
|
+
|
|
241
|
+
- [docs-infra] Fix immutable cache headers for `/\_next/static` assets (#22747) @brijeshb42
|
|
242
|
+
- [docs-infra] Prefix `/\_next/static` cache header rule with `/x` basePath (#22748) @brijeshb42
|
|
243
|
+
- [code-infra] Update dependencies to resolve Dependabot security alerts (#22714) @Janpot
|
|
244
|
+
|
|
245
|
+
### Docs
|
|
246
|
+
|
|
247
|
+
- [docs] Fix broken links checker crashing on 404 known-targets fetch (#22707) @sai6855
|
|
248
|
+
- [docs] Fix country data (#22716) @alexfauquette
|
|
249
|
+
|
|
250
|
+
### Miscellaneous
|
|
251
|
+
|
|
252
|
+
- [legal] Update EULA links in docs (#22717) @rluzists1
|
|
253
|
+
|
|
3
254
|
## 9.4.0
|
|
4
255
|
|
|
5
256
|
<!-- generated comparing v9.3.0..master -->
|
|
@@ -133,7 +133,7 @@ const RichTreeView = exports.RichTreeView = /*#__PURE__*/React.forwardRef(functi
|
|
|
133
133
|
});
|
|
134
134
|
});
|
|
135
135
|
if (process.env.NODE_ENV !== "production") RichTreeView.displayName = "RichTreeView";
|
|
136
|
-
process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
|
|
136
|
+
process.env.NODE_ENV !== "production" ? RichTreeView.propTypes /* remove-proptypes */ = {
|
|
137
137
|
// ----------------------------- Warning --------------------------------
|
|
138
138
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
139
139
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -126,7 +126,7 @@ const RichTreeView = /*#__PURE__*/React.forwardRef(function RichTreeView(inProps
|
|
|
126
126
|
});
|
|
127
127
|
});
|
|
128
128
|
if (process.env.NODE_ENV !== "production") RichTreeView.displayName = "RichTreeView";
|
|
129
|
-
process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
|
|
129
|
+
process.env.NODE_ENV !== "production" ? RichTreeView.propTypes /* remove-proptypes */ = {
|
|
130
130
|
// ----------------------------- Warning --------------------------------
|
|
131
131
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
132
132
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -113,7 +113,7 @@ const SimpleTreeView = exports.SimpleTreeView = /*#__PURE__*/React.forwardRef(fu
|
|
|
113
113
|
});
|
|
114
114
|
});
|
|
115
115
|
if (process.env.NODE_ENV !== "production") SimpleTreeView.displayName = "SimpleTreeView";
|
|
116
|
-
process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes = {
|
|
116
|
+
process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes /* remove-proptypes */ = {
|
|
117
117
|
// ----------------------------- Warning --------------------------------
|
|
118
118
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
119
119
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -106,7 +106,7 @@ const SimpleTreeView = /*#__PURE__*/React.forwardRef(function SimpleTreeView(inP
|
|
|
106
106
|
});
|
|
107
107
|
});
|
|
108
108
|
if (process.env.NODE_ENV !== "production") SimpleTreeView.displayName = "SimpleTreeView";
|
|
109
|
-
process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes = {
|
|
109
|
+
process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes /* remove-proptypes */ = {
|
|
110
110
|
// ----------------------------- Warning --------------------------------
|
|
111
111
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
112
112
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
package/TreeItem/TreeItem.d.mts
CHANGED
|
@@ -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" | "
|
|
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" | "dir" | "visible" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "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
|
};
|
package/TreeItem/TreeItem.d.ts
CHANGED
|
@@ -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" | "
|
|
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" | "dir" | "visible" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "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
|
};
|
package/TreeItem/TreeItem.js
CHANGED
|
@@ -350,7 +350,7 @@ const TreeItem = exports.TreeItem = /*#__PURE__*/React.forwardRef(function TreeI
|
|
|
350
350
|
}));
|
|
351
351
|
});
|
|
352
352
|
if (process.env.NODE_ENV !== "production") TreeItem.displayName = "TreeItem";
|
|
353
|
-
process.env.NODE_ENV !== "production" ? TreeItem.propTypes = {
|
|
353
|
+
process.env.NODE_ENV !== "production" ? TreeItem.propTypes /* remove-proptypes */ = {
|
|
354
354
|
// ----------------------------- Warning --------------------------------
|
|
355
355
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
356
356
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
package/TreeItem/TreeItem.mjs
CHANGED
|
@@ -343,7 +343,7 @@ export const TreeItem = /*#__PURE__*/React.forwardRef(function TreeItem(inProps,
|
|
|
343
343
|
}));
|
|
344
344
|
});
|
|
345
345
|
if (process.env.NODE_ENV !== "production") TreeItem.displayName = "TreeItem";
|
|
346
|
-
process.env.NODE_ENV !== "production" ? TreeItem.propTypes = {
|
|
346
|
+
process.env.NODE_ENV !== "production" ? TreeItem.propTypes /* remove-proptypes */ = {
|
|
347
347
|
// ----------------------------- Warning --------------------------------
|
|
348
348
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
349
349
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -66,7 +66,7 @@ function TreeItemDragAndDropOverlay(props) {
|
|
|
66
66
|
}
|
|
67
67
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(TreeItemDragAndDropOverlayRoot, (0, _extends2.default)({}, props));
|
|
68
68
|
}
|
|
69
|
-
process.env.NODE_ENV !== "production" ? TreeItemDragAndDropOverlay.propTypes = {
|
|
69
|
+
process.env.NODE_ENV !== "production" ? TreeItemDragAndDropOverlay.propTypes /* remove-proptypes */ = {
|
|
70
70
|
// ----------------------------- Warning --------------------------------
|
|
71
71
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
72
72
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -60,7 +60,7 @@ function TreeItemDragAndDropOverlay(props) {
|
|
|
60
60
|
}
|
|
61
61
|
return /*#__PURE__*/_jsx(TreeItemDragAndDropOverlayRoot, _extends({}, props));
|
|
62
62
|
}
|
|
63
|
-
process.env.NODE_ENV !== "production" ? TreeItemDragAndDropOverlay.propTypes = {
|
|
63
|
+
process.env.NODE_ENV !== "production" ? TreeItemDragAndDropOverlay.propTypes /* remove-proptypes */ = {
|
|
64
64
|
// ----------------------------- Warning --------------------------------
|
|
65
65
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
66
66
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -67,7 +67,7 @@ function TreeItemIcon(props) {
|
|
|
67
67
|
}
|
|
68
68
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, (0, _extends2.default)({}, iconProps));
|
|
69
69
|
}
|
|
70
|
-
process.env.NODE_ENV !== "production" ? TreeItemIcon.propTypes = {
|
|
70
|
+
process.env.NODE_ENV !== "production" ? TreeItemIcon.propTypes /* remove-proptypes */ = {
|
|
71
71
|
// ----------------------------- Warning --------------------------------
|
|
72
72
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
73
73
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -60,7 +60,7 @@ function TreeItemIcon(props) {
|
|
|
60
60
|
}
|
|
61
61
|
return /*#__PURE__*/_jsx(Icon, _extends({}, iconProps));
|
|
62
62
|
}
|
|
63
|
-
process.env.NODE_ENV !== "production" ? TreeItemIcon.propTypes = {
|
|
63
|
+
process.env.NODE_ENV !== "production" ? TreeItemIcon.propTypes /* remove-proptypes */ = {
|
|
64
64
|
// ----------------------------- Warning --------------------------------
|
|
65
65
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
66
66
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -33,7 +33,7 @@ function TreeItemProvider(props) {
|
|
|
33
33
|
})
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
process.env.NODE_ENV !== "production" ? TreeItemProvider.propTypes = {
|
|
36
|
+
process.env.NODE_ENV !== "production" ? TreeItemProvider.propTypes /* remove-proptypes */ = {
|
|
37
37
|
// ----------------------------- Warning --------------------------------
|
|
38
38
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
39
39
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -26,7 +26,7 @@ function TreeItemProvider(props) {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
process.env.NODE_ENV !== "production" ? TreeItemProvider.propTypes = {
|
|
29
|
+
process.env.NODE_ENV !== "production" ? TreeItemProvider.propTypes /* remove-proptypes */ = {
|
|
30
30
|
// ----------------------------- Warning --------------------------------
|
|
31
31
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
32
32
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
package/index.js
CHANGED
package/index.mjs
CHANGED
|
@@ -2,7 +2,12 @@ import * as React from 'react';
|
|
|
2
2
|
import { SlotComponentProps } from '@mui/utils/types';
|
|
3
3
|
import { TreeItem, TreeItemProps } from "../../TreeItem/index.mjs";
|
|
4
4
|
import { TreeViewItemId } from "../../models/index.mjs";
|
|
5
|
-
export declare const RichTreeViewItem: React.
|
|
5
|
+
export declare const RichTreeViewItem: React.MemoExoticComponent<({
|
|
6
|
+
itemSlot,
|
|
7
|
+
itemSlotProps,
|
|
8
|
+
itemId,
|
|
9
|
+
skipChildren
|
|
10
|
+
}: RichTreeViewItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
11
|
export declare function RichTreeViewItems<TProps extends object>(props: RichTreeViewItemsProps<TProps>): import("react/jsx-runtime").JSX.Element;
|
|
7
12
|
interface RichTreeViewItemsOwnerState {
|
|
8
13
|
itemId: TreeViewItemId;
|
|
@@ -2,7 +2,12 @@ import * as React from 'react';
|
|
|
2
2
|
import { SlotComponentProps } from '@mui/utils/types';
|
|
3
3
|
import { TreeItem, TreeItemProps } from "../../TreeItem/index.js";
|
|
4
4
|
import { TreeViewItemId } from "../../models/index.js";
|
|
5
|
-
export declare const RichTreeViewItem: React.
|
|
5
|
+
export declare const RichTreeViewItem: React.MemoExoticComponent<({
|
|
6
|
+
itemSlot,
|
|
7
|
+
itemSlotProps,
|
|
8
|
+
itemId,
|
|
9
|
+
skipChildren
|
|
10
|
+
}: RichTreeViewItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
11
|
export declare function RichTreeViewItems<TProps extends object>(props: RichTreeViewItemsProps<TProps>): import("react/jsx-runtime").JSX.Element;
|
|
7
12
|
interface RichTreeViewItemsOwnerState {
|
|
8
13
|
itemId: TreeViewItemId;
|
|
@@ -23,11 +23,12 @@ const useLabelEditingItemPlugin = ({
|
|
|
23
23
|
const [labelInputValue, setLabelInputValue] = React.useState(label);
|
|
24
24
|
const isItemEditable = (0, _store.useStore)(store, _selectors.labelSelectors.isItemEditable, itemId);
|
|
25
25
|
const isItemBeingEdited = (0, _store.useStore)(store, _selectors.labelSelectors.isItemBeingEdited, itemId);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
|
|
27
|
+
// When not editing, the input must mirror the current label. This resets any
|
|
28
|
+
// uncommitted edits when the user cancels (Escape) and syncs external label changes.
|
|
29
|
+
if (!isItemBeingEdited && labelInputValue !== label) {
|
|
30
|
+
setLabelInputValue(label);
|
|
31
|
+
}
|
|
31
32
|
return {
|
|
32
33
|
propsEnhancers: {
|
|
33
34
|
label: () => ({
|
|
@@ -17,11 +17,12 @@ export const useLabelEditingItemPlugin = ({
|
|
|
17
17
|
const [labelInputValue, setLabelInputValue] = React.useState(label);
|
|
18
18
|
const isItemEditable = useStore(store, labelSelectors.isItemEditable, itemId);
|
|
19
19
|
const isItemBeingEdited = useStore(store, labelSelectors.isItemBeingEdited, itemId);
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
|
|
21
|
+
// When not editing, the input must mirror the current label. This resets any
|
|
22
|
+
// uncommitted edits when the user cancels (Escape) and syncs external label changes.
|
|
23
|
+
if (!isItemBeingEdited && labelInputValue !== label) {
|
|
24
|
+
setLabelInputValue(label);
|
|
25
|
+
}
|
|
25
26
|
return {
|
|
26
27
|
propsEnhancers: {
|
|
27
28
|
label: () => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-tree-view",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.6.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The community edition of the MUI X Tree View components.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.29.7",
|
|
35
35
|
"@base-ui/utils": "^0.2.9",
|
|
36
|
-
"@mui/utils": "9.0.1",
|
|
36
|
+
"@mui/utils": "^9.0.1",
|
|
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.
|
|
41
|
+
"@mui/x-internals": "^9.6.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@emotion/react": "^11.9.0",
|
|
@@ -273,6 +273,9 @@
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
},
|
|
276
|
+
"imports": {
|
|
277
|
+
"#formatErrorMessage": "@mui/x-internals/formatErrorMessage"
|
|
278
|
+
},
|
|
276
279
|
"main": "./index.js",
|
|
277
280
|
"types": "./index.d.ts"
|
|
278
281
|
}
|