@mui/x-tree-view 9.7.0 → 9.8.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 +130 -1
- package/RichTreeView/RichTreeView.d.mts +1 -1
- package/RichTreeView/RichTreeView.d.ts +1 -1
- package/RichTreeView/RichTreeView.types.d.mts +10 -10
- package/RichTreeView/RichTreeView.types.d.ts +10 -10
- package/RichTreeView/richTreeViewClasses.d.mts +1 -1
- package/RichTreeView/richTreeViewClasses.d.ts +1 -1
- package/RichTreeView/useExtractRichTreeViewParameters.d.mts +4 -4
- package/RichTreeView/useExtractRichTreeViewParameters.d.ts +4 -4
- package/SimpleTreeView/SimpleTreeView.d.mts +1 -1
- package/SimpleTreeView/SimpleTreeView.d.ts +1 -1
- package/SimpleTreeView/SimpleTreeView.types.d.mts +9 -9
- package/SimpleTreeView/SimpleTreeView.types.d.ts +9 -9
- package/SimpleTreeView/simpleTreeViewClasses.d.mts +1 -1
- package/SimpleTreeView/simpleTreeViewClasses.d.ts +1 -1
- package/SimpleTreeView/useExtractSimpleTreeViewParameters.d.mts +3 -3
- package/SimpleTreeView/useExtractSimpleTreeViewParameters.d.ts +3 -3
- package/TreeItem/TreeItem.d.mts +3 -3
- package/TreeItem/TreeItem.d.ts +3 -3
- package/TreeItem/TreeItem.types.d.mts +10 -10
- package/TreeItem/TreeItem.types.d.ts +10 -10
- package/TreeItemDragAndDropOverlay/TreeItemDragAndDropOverlay.d.mts +1 -1
- package/TreeItemDragAndDropOverlay/TreeItemDragAndDropOverlay.d.ts +1 -1
- package/TreeItemDragAndDropOverlay/TreeItemDragAndDropOverlay.types.d.mts +2 -2
- package/TreeItemDragAndDropOverlay/TreeItemDragAndDropOverlay.types.d.ts +2 -2
- package/TreeItemIcon/TreeItemIcon.d.mts +1 -1
- package/TreeItemIcon/TreeItemIcon.d.ts +1 -1
- package/TreeItemIcon/TreeItemIcon.types.d.mts +3 -3
- package/TreeItemIcon/TreeItemIcon.types.d.ts +3 -3
- package/TreeItemLabelInput/TreeItemLabelInput.types.d.mts +2 -2
- package/TreeItemLabelInput/TreeItemLabelInput.types.d.ts +2 -2
- package/TreeItemProvider/TreeItemProvider.d.mts +1 -1
- package/TreeItemProvider/TreeItemProvider.d.ts +1 -1
- package/TreeItemProvider/TreeItemProvider.types.d.mts +2 -2
- package/TreeItemProvider/TreeItemProvider.types.d.ts +2 -2
- package/hooks/useApplyPropagationToSelectedItemsOnMount.d.mts +1 -1
- package/hooks/useApplyPropagationToSelectedItemsOnMount.d.ts +1 -1
- package/hooks/useRichTreeViewApiRef.d.mts +3 -3
- package/hooks/useRichTreeViewApiRef.d.ts +3 -3
- package/hooks/useSimpleTreeViewApiRef.d.mts +2 -2
- package/hooks/useSimpleTreeViewApiRef.d.ts +2 -2
- package/hooks/useTreeItemModel.d.mts +1 -1
- package/hooks/useTreeItemModel.d.ts +1 -1
- package/hooks/useTreeItemUtils/useTreeItemUtils.d.mts +3 -3
- package/hooks/useTreeItemUtils/useTreeItemUtils.d.ts +3 -3
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/MinimalTreeViewStore/MinimalTreeViewStore.d.mts +3 -3
- package/internals/MinimalTreeViewStore/MinimalTreeViewStore.d.ts +3 -3
- package/internals/MinimalTreeViewStore/MinimalTreeViewStore.types.d.mts +2 -2
- package/internals/MinimalTreeViewStore/MinimalTreeViewStore.types.d.ts +2 -2
- package/internals/MinimalTreeViewStore/MinimalTreeViewStore.utils.d.mts +2 -2
- package/internals/MinimalTreeViewStore/MinimalTreeViewStore.utils.d.ts +2 -2
- package/internals/MinimalTreeViewStore/TreeViewItemPluginManager.d.mts +1 -1
- package/internals/MinimalTreeViewStore/TreeViewItemPluginManager.d.ts +1 -1
- package/internals/RichTreeViewStore/RichTreeViewStore.d.mts +2 -2
- package/internals/RichTreeViewStore/RichTreeViewStore.d.ts +2 -2
- package/internals/RichTreeViewStore/RichTreeViewStore.types.d.mts +3 -3
- package/internals/RichTreeViewStore/RichTreeViewStore.types.d.ts +3 -3
- package/internals/RichTreeViewStore/RichTreeViewStore.utils.d.mts +2 -2
- package/internals/RichTreeViewStore/RichTreeViewStore.utils.d.ts +2 -2
- package/internals/SimpleTreeViewStore/SimpleTreeViewStore.d.mts +1 -1
- package/internals/SimpleTreeViewStore/SimpleTreeViewStore.d.ts +1 -1
- package/internals/SimpleTreeViewStore/SimpleTreeViewStore.types.d.mts +1 -1
- package/internals/SimpleTreeViewStore/SimpleTreeViewStore.types.d.ts +1 -1
- package/internals/SimpleTreeViewStore/SimpleTreeViewStore.utils.d.mts +2 -2
- package/internals/SimpleTreeViewStore/SimpleTreeViewStore.utils.d.ts +2 -2
- package/internals/TreeViewItemDepthContext/TreeViewItemDepthContext.d.mts +2 -2
- package/internals/TreeViewItemDepthContext/TreeViewItemDepthContext.d.ts +2 -2
- package/internals/TreeViewProvider/TreeViewContext.d.mts +2 -2
- package/internals/TreeViewProvider/TreeViewContext.d.ts +2 -2
- package/internals/TreeViewProvider/TreeViewProvider.d.mts +2 -2
- package/internals/TreeViewProvider/TreeViewProvider.d.ts +2 -2
- package/internals/TreeViewProvider/TreeViewProvider.types.d.mts +5 -5
- package/internals/TreeViewProvider/TreeViewProvider.types.d.ts +5 -5
- package/internals/TreeViewProvider/TreeViewStyleContext.d.mts +1 -1
- package/internals/TreeViewProvider/TreeViewStyleContext.d.ts +1 -1
- package/internals/TreeViewProvider/useTreeViewBuildContext.d.mts +2 -2
- package/internals/TreeViewProvider/useTreeViewBuildContext.d.ts +2 -2
- package/internals/components/RichTreeViewItems.d.mts +4 -3
- package/internals/components/RichTreeViewItems.d.ts +4 -3
- package/internals/hooks/useTreeViewRootProps.d.mts +5 -5
- package/internals/hooks/useTreeViewRootProps.d.ts +5 -5
- package/internals/hooks/useTreeViewStore.d.mts +1 -1
- package/internals/hooks/useTreeViewStore.d.ts +1 -1
- package/internals/models/events.d.mts +2 -2
- package/internals/models/events.d.ts +2 -2
- package/internals/models/itemPlugin.d.mts +5 -5
- package/internals/models/itemPlugin.d.ts +5 -5
- package/internals/models/treeView.d.mts +1 -1
- package/internals/models/treeView.d.ts +1 -1
- package/internals/plugins/expansion/TreeViewExpansionPlugin.d.mts +1 -1
- package/internals/plugins/expansion/TreeViewExpansionPlugin.d.ts +1 -1
- package/internals/plugins/expansion/selectors.d.mts +1 -1
- package/internals/plugins/expansion/selectors.d.ts +1 -1
- package/internals/plugins/expansion/utils.d.mts +1 -1
- package/internals/plugins/expansion/utils.d.ts +1 -1
- package/internals/plugins/focus/TreeViewFocusPlugin.d.mts +1 -1
- package/internals/plugins/focus/TreeViewFocusPlugin.d.ts +1 -1
- package/internals/plugins/focus/selectors.d.mts +1 -1
- package/internals/plugins/focus/selectors.d.ts +1 -1
- package/internals/plugins/id/selectors.d.mts +1 -1
- package/internals/plugins/id/selectors.d.ts +1 -1
- package/internals/plugins/items/TreeViewItemsPlugin.d.mts +2 -2
- package/internals/plugins/items/TreeViewItemsPlugin.d.ts +2 -2
- package/internals/plugins/items/selectors.d.mts +3 -3
- package/internals/plugins/items/selectors.d.ts +3 -3
- package/internals/plugins/items/utils.d.mts +2 -2
- package/internals/plugins/items/utils.d.ts +2 -2
- package/internals/plugins/jsxItems/TreeViewJSXItemsPlugin.d.mts +2 -2
- package/internals/plugins/jsxItems/TreeViewJSXItemsPlugin.d.ts +2 -2
- package/internals/plugins/jsxItems/TreeViewJSXItemsPlugin.js +2 -1
- package/internals/plugins/jsxItems/TreeViewJSXItemsPlugin.mjs +2 -1
- package/internals/plugins/jsxItems/itemPlugin.d.mts +2 -2
- package/internals/plugins/jsxItems/itemPlugin.d.ts +2 -2
- package/internals/plugins/keyboardNavigation/TreeViewKeyboardNavigationPlugin.d.mts +1 -1
- package/internals/plugins/keyboardNavigation/TreeViewKeyboardNavigationPlugin.d.ts +1 -1
- package/internals/plugins/labelEditing/TreeViewLabelEditingPlugin.d.mts +2 -2
- package/internals/plugins/labelEditing/TreeViewLabelEditingPlugin.d.ts +2 -2
- package/internals/plugins/labelEditing/itemPlugin.d.mts +2 -2
- package/internals/plugins/labelEditing/itemPlugin.d.ts +2 -2
- package/internals/plugins/labelEditing/selectors.d.mts +1 -1
- package/internals/plugins/labelEditing/selectors.d.ts +1 -1
- package/internals/plugins/lazyLoading/selectors.d.mts +1 -1
- package/internals/plugins/lazyLoading/selectors.d.ts +1 -1
- package/internals/plugins/lazyLoading/types.d.mts +1 -1
- package/internals/plugins/lazyLoading/types.d.ts +1 -1
- package/internals/plugins/selection/itemPlugin.d.mts +3 -3
- package/internals/plugins/selection/itemPlugin.d.ts +3 -3
- package/internals/plugins/selection/selectors.d.mts +1 -1
- package/internals/plugins/selection/selectors.d.ts +1 -1
- package/internals/utils/tree.d.mts +1 -1
- package/internals/utils/tree.d.ts +1 -1
- package/package.json +2 -2
- package/themeAugmentation/components.d.mts +1 -1
- package/themeAugmentation/components.d.ts +1 -1
- package/themeAugmentation/overrides.d.mts +3 -3
- package/themeAugmentation/overrides.d.ts +3 -3
- package/themeAugmentation/props.d.mts +3 -3
- package/themeAugmentation/props.d.ts +3 -3
- package/useTreeItem/useTreeItem.d.mts +4 -4
- package/useTreeItem/useTreeItem.d.ts +4 -4
- package/useTreeItem/useTreeItem.types.d.mts +3 -3
- package/useTreeItem/useTreeItem.types.d.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,135 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.8.0
|
|
4
|
+
|
|
5
|
+
_Jul 2, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 🗺️ New [`MapImagePlot`](https://mui.com/x/react-charts/map/) for rendering raster base maps, with `onItemClick` support on map shapes (Premium)
|
|
10
|
+
- 📊 New [`usePolarGeometry`](https://mui.com/x/react-charts/hooks/use-polar-geometry/) hook to build custom radial overlays
|
|
11
|
+
- 🐞 Bugfixes
|
|
12
|
+
- 📚 Documentation improvements
|
|
13
|
+
|
|
14
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
15
|
+
@Anexus5919, @aromanio, @greymoth-jp, @mustafajw07, @timbuckley, @voidmatcha
|
|
16
|
+
|
|
17
|
+
The following team members contributed to this release:
|
|
18
|
+
@alexfauquette, @arminmeh, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @joserodolfofreitas, @LukasTy, @mapache-salvaje, @michelengelen, @rita-codes, @sai6855
|
|
19
|
+
|
|
20
|
+
### Data Grid
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid@9.8.0`
|
|
23
|
+
|
|
24
|
+
- [DataGrid] Prevent cell editing from resurrecting a deleted row (#22958) @Anexus5919
|
|
25
|
+
- [DataGrid] Avoid reading `type` of `undefined` in `gridRowUtils` (#21808) @timbuckley
|
|
26
|
+
- [DataGrid] Improved get started tutorial (#22911) @joserodolfofreitas
|
|
27
|
+
- [l10n] Improve Japanese (ja-JP) locale (#23001) @greymoth-jp
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid-pro@9.8.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
30
|
+
|
|
31
|
+
Same changes as in `@mui/x-data-grid@9.8.0`.
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-premium@9.8.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid-pro@9.8.0`, plus:
|
|
36
|
+
|
|
37
|
+
- [DataGridPremium] Escape `singleSelect` values in Excel export with `escapeFormulas` enabled (#22851) @Anexus5919
|
|
38
|
+
|
|
39
|
+
### Date and Time Pickers
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-date-pickers@9.8.0`
|
|
42
|
+
|
|
43
|
+
- [pickers] Fix localized digit crash (#22995) @alexfauquette
|
|
44
|
+
- [pickers] Flag the first and last visible day cell across year boundaries (#22981) @Anexus5919
|
|
45
|
+
- [pickers] Use calendar day tokens in `AdapterMomentHijri` and `AdapterMomentJalaali` formats (#22974) @Anexus5919
|
|
46
|
+
- [pickers] Use the Hijri day token in `AdapterMomentHijri` `normalDateWithWeekday` (#22972) @Anexus5919
|
|
47
|
+
- [l10n] Improve Romanian (ro-RO) locale (#22969) @aromanio
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-date-pickers-pro@9.8.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
50
|
+
|
|
51
|
+
Same changes as in `@mui/x-date-pickers@9.8.0`, plus:
|
|
52
|
+
|
|
53
|
+
- [DateRangeCalendar] Fix auto month-switch across the year boundary (#22987) @Anexus5919
|
|
54
|
+
|
|
55
|
+
### Charts
|
|
56
|
+
|
|
57
|
+
#### `@mui/x-charts@9.8.0`
|
|
58
|
+
|
|
59
|
+
- [charts] Decouple `d3-geo` from the universal tooltip (#23011) @sai6855
|
|
60
|
+
- [charts] Deduplicate `getGroupingConfig` (#22889) @sai6855
|
|
61
|
+
- [charts] Expose `usePolarGeometry` hook for radial overlays (#22892) @mustafajw07
|
|
62
|
+
|
|
63
|
+
#### `@mui/x-charts-pro@9.8.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
64
|
+
|
|
65
|
+
Same changes as in `@mui/x-charts@9.8.0`.
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts-premium@9.8.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
68
|
+
|
|
69
|
+
Same changes as in `@mui/x-charts-pro@9.8.0`, plus:
|
|
70
|
+
|
|
71
|
+
- [charts-premium] Add `onItemClick` support for the Map shapes (#22876) @sai6855
|
|
72
|
+
- [charts-premium] Replace `dataIndex` with `name` in map identifier (#22891) @sai6855
|
|
73
|
+
- [charts-premium] Share helper function (#23030) @alexfauquette
|
|
74
|
+
- [charts-premium] Extract shared WebGL utilities across bar/scatter/heatmap renderers (#22466) @sai6855
|
|
75
|
+
- [charts-premium] Add `MapImagePlot` for raster base maps (#22977) @JCQuintas
|
|
76
|
+
|
|
77
|
+
### Tree View
|
|
78
|
+
|
|
79
|
+
#### `@mui/x-tree-view@9.8.0`
|
|
80
|
+
|
|
81
|
+
- [TreeView] Fix extra selection event when clicking a collapsed parent item (#22249) @michelengelen
|
|
82
|
+
- [TreeView] Enforce top-level type imports (#23034) @Janpot
|
|
83
|
+
|
|
84
|
+
#### `@mui/x-tree-view-pro@9.8.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
85
|
+
|
|
86
|
+
Same changes as in `@mui/x-tree-view@9.8.0`.
|
|
87
|
+
|
|
88
|
+
### Scheduler
|
|
89
|
+
|
|
90
|
+
#### `@mui/x-scheduler@9.0.0-beta.4`
|
|
91
|
+
|
|
92
|
+
- [scheduler] Enforce top-level type imports (#22931) @Janpot
|
|
93
|
+
- [scheduler] Keep the occurrence date when editing only one recurring event (#23007) @Anexus5919
|
|
94
|
+
- [scheduler] Track bundle size of scheduler packages (#22682) @flaviendelangle
|
|
95
|
+
- [scheduler] Add `viewConfig` prop to limit displayed hours in the day and week views (#22929) @flaviendelangle
|
|
96
|
+
|
|
97
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
98
|
+
|
|
99
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.4`, plus:
|
|
100
|
+
|
|
101
|
+
- [scheduler] Collapsible resources in the timeline (#22920) @rita-codes
|
|
102
|
+
|
|
103
|
+
### Codemod
|
|
104
|
+
|
|
105
|
+
#### `@mui/x-codemod@9.8.0`
|
|
106
|
+
|
|
107
|
+
Internal changes.
|
|
108
|
+
|
|
109
|
+
### Docs
|
|
110
|
+
|
|
111
|
+
- [docs] Add recipe for conditional master-detail panels (#22971) @michelengelen
|
|
112
|
+
- [docs] Add recipe for describing active filters in the toolbar (#22970) @michelengelen
|
|
113
|
+
- [docs] Add recipe for triggering clipboard copy from a button (#22967) @michelengelen
|
|
114
|
+
- [docs] Clarify that `fieldRef.current.focusField()` is the canonical way to focus a field (#22937) @michelengelen
|
|
115
|
+
- [docs][scheduler] Another copyediting pass across the Scheduler docs (#22619) @mapache-salvaje
|
|
116
|
+
- [docs][charts] Add map example for arbitrary GeoJSON shapes (#22976) @JCQuintas
|
|
117
|
+
- [docs][charts] Double point count in `ScatterAsyncRenderer` demo (#22906) @JCQuintas
|
|
118
|
+
|
|
119
|
+
### Core
|
|
120
|
+
|
|
121
|
+
- [code-infra] Fix tracking branch bug in release script (#22956) @michelengelen
|
|
122
|
+
- [code-infra] Remove mark-duplicate workflow (#22994) @cherniavskii
|
|
123
|
+
- [code-infra] Revert `nanoid@3.3.15` `minimumReleaseAge` exemption (#22953) @LukasTy
|
|
124
|
+
|
|
125
|
+
### Miscellaneous
|
|
126
|
+
|
|
127
|
+
- [internals] Fix `ERR_UNSUPPORTED_DIR_IMPORT` for `core-js-pure` in Node ESM (#22985) @michelengelen
|
|
128
|
+
- [internals] Harden `useDisposable` React internals read with safeReact (#22986) @rita-codes
|
|
129
|
+
- [internals] Replace core-js `DisposableStack` ponyfill with a minimal fallback (#23002) @sai6855
|
|
130
|
+
- [test] Assert the edited `dateTime` cell value in the e2e edit test (#22982) @voidmatcha
|
|
131
|
+
- [virtualizer] Remeasure scrollbars when layout changes (#22914) @arminmeh
|
|
132
|
+
|
|
3
133
|
## 9.7.0
|
|
4
134
|
|
|
5
135
|
_Jun 25, 2026_
|
|
@@ -178,7 +308,6 @@ Same changes as in `@mui/x-charts-pro@9.6.0`, plus:
|
|
|
178
308
|
- [charts-premium] Support maps tooltip positioned on items (#22648) @alexfauquette
|
|
179
309
|
- [docs] Show how to export maps (#22837) @alexfauquette
|
|
180
310
|
|
|
181
|
-
|
|
182
311
|
### Tree View
|
|
183
312
|
|
|
184
313
|
#### `@mui/x-tree-view@9.6.0`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RichTreeViewProps } from "./RichTreeView.types.mjs";
|
|
2
|
+
import type { RichTreeViewProps } from "./RichTreeView.types.mjs";
|
|
3
3
|
export declare const RichTreeViewRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, keyof React.ClassAttributes<HTMLUListElement> | keyof React.HTMLAttributes<HTMLUListElement>>, {}>;
|
|
4
4
|
type RichTreeViewComponent = (<R extends {}, Multiple extends boolean | undefined = undefined>(props: RichTreeViewProps<R, Multiple> & React.RefAttributes<HTMLUListElement>) => React.JSX.Element) & {
|
|
5
5
|
propTypes?: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RichTreeViewProps } from "./RichTreeView.types.js";
|
|
2
|
+
import type { RichTreeViewProps } from "./RichTreeView.types.js";
|
|
3
3
|
export declare const RichTreeViewRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, keyof React.ClassAttributes<HTMLUListElement> | keyof React.HTMLAttributes<HTMLUListElement>>, {}>;
|
|
4
4
|
type RichTreeViewComponent = (<R extends {}, Multiple extends boolean | undefined = undefined>(props: RichTreeViewProps<R, Multiple> & React.RefAttributes<HTMLUListElement>) => React.JSX.Element) & {
|
|
5
5
|
propTypes?: any;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { SxProps } from '@mui/system/styleFunctionSx';
|
|
4
|
-
import { RichTreeViewClasses } from "./richTreeViewClasses.mjs";
|
|
5
|
-
import { RichTreeViewItemsSlotProps, RichTreeViewItemsSlots } from "../internals/components/RichTreeViewItems.mjs";
|
|
6
|
-
import { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.mjs";
|
|
7
|
-
import { RichTreeViewStore } from "../internals/RichTreeViewStore/index.mjs";
|
|
8
|
-
import { TreeViewValidItem } from "../models/items.mjs";
|
|
9
|
-
import { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.mjs";
|
|
10
|
-
import { TreeViewPublicAPI } from "../internals/models/index.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { Theme } from '@mui/material/styles';
|
|
3
|
+
import type { SxProps } from '@mui/system/styleFunctionSx';
|
|
4
|
+
import type { RichTreeViewClasses } from "./richTreeViewClasses.mjs";
|
|
5
|
+
import type { RichTreeViewItemsSlotProps, RichTreeViewItemsSlots } from "../internals/components/RichTreeViewItems.mjs";
|
|
6
|
+
import type { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.mjs";
|
|
7
|
+
import type { RichTreeViewStore } from "../internals/RichTreeViewStore/index.mjs";
|
|
8
|
+
import type { TreeViewValidItem } from "../models/items.mjs";
|
|
9
|
+
import type { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.mjs";
|
|
10
|
+
import type { TreeViewPublicAPI } from "../internals/models/index.mjs";
|
|
11
11
|
export interface RichTreeViewSlots extends TreeViewSlots, Omit<RichTreeViewItemsSlots, 'root'> {
|
|
12
12
|
/**
|
|
13
13
|
* Element rendered at the root.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { SxProps } from '@mui/system/styleFunctionSx';
|
|
4
|
-
import { RichTreeViewClasses } from "./richTreeViewClasses.js";
|
|
5
|
-
import { RichTreeViewItemsSlotProps, RichTreeViewItemsSlots } from "../internals/components/RichTreeViewItems.js";
|
|
6
|
-
import { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
7
|
-
import { RichTreeViewStore } from "../internals/RichTreeViewStore/index.js";
|
|
8
|
-
import { TreeViewValidItem } from "../models/items.js";
|
|
9
|
-
import { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.js";
|
|
10
|
-
import { TreeViewPublicAPI } from "../internals/models/index.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { Theme } from '@mui/material/styles';
|
|
3
|
+
import type { SxProps } from '@mui/system/styleFunctionSx';
|
|
4
|
+
import type { RichTreeViewClasses } from "./richTreeViewClasses.js";
|
|
5
|
+
import type { RichTreeViewItemsSlotProps, RichTreeViewItemsSlots } from "../internals/components/RichTreeViewItems.js";
|
|
6
|
+
import type { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
7
|
+
import type { RichTreeViewStore } from "../internals/RichTreeViewStore/index.js";
|
|
8
|
+
import type { TreeViewValidItem } from "../models/items.js";
|
|
9
|
+
import type { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.js";
|
|
10
|
+
import type { TreeViewPublicAPI } from "../internals/models/index.js";
|
|
11
11
|
export interface RichTreeViewSlots extends TreeViewSlots, Omit<RichTreeViewItemsSlots, 'root'> {
|
|
12
12
|
/**
|
|
13
13
|
* Element rendered at the root.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeViewClasses } from "../internals/TreeViewProvider/TreeViewStyleContext.mjs";
|
|
1
|
+
import type { TreeViewClasses } from "../internals/TreeViewProvider/TreeViewStyleContext.mjs";
|
|
2
2
|
export interface RichTreeViewClasses extends Omit<TreeViewClasses, 'itemDragAndDropOverlay' | 'itemErrorIcon' | 'itemLoadingIcon'> {}
|
|
3
3
|
export type RichTreeViewClassKey = keyof RichTreeViewClasses;
|
|
4
4
|
export declare function getRichTreeViewUtilityClass(slot: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeViewClasses } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
1
|
+
import type { TreeViewClasses } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
2
2
|
export interface RichTreeViewClasses extends Omit<TreeViewClasses, 'itemDragAndDropOverlay' | 'itemErrorIcon' | 'itemLoadingIcon'> {}
|
|
3
3
|
export type RichTreeViewClassKey = keyof RichTreeViewClasses;
|
|
4
4
|
export declare function getRichTreeViewUtilityClass(slot: string): string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewValidItem } from "../models/index.mjs";
|
|
3
|
-
import { RichTreeViewProps } from "./RichTreeView.types.mjs";
|
|
4
|
-
import { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.mjs";
|
|
5
|
-
import { RichTreeViewStore } from "../internals/RichTreeViewStore/index.mjs";
|
|
2
|
+
import type { TreeViewValidItem } from "../models/index.mjs";
|
|
3
|
+
import type { RichTreeViewProps } from "./RichTreeView.types.mjs";
|
|
4
|
+
import type { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.mjs";
|
|
5
|
+
import type { RichTreeViewStore } from "../internals/RichTreeViewStore/index.mjs";
|
|
6
6
|
export declare function useExtractRichTreeViewParameters<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined>(props: RichTreeViewProps<R, Multiple>): {
|
|
7
7
|
apiRef: import("./RichTreeView.types.mjs").RichTreeViewApiRef<any, any> | undefined;
|
|
8
8
|
slots: import("./RichTreeView.types.mjs").RichTreeViewSlots | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewValidItem } from "../models/index.js";
|
|
3
|
-
import { RichTreeViewProps } from "./RichTreeView.types.js";
|
|
4
|
-
import { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.js";
|
|
5
|
-
import { RichTreeViewStore } from "../internals/RichTreeViewStore/index.js";
|
|
2
|
+
import type { TreeViewValidItem } from "../models/index.js";
|
|
3
|
+
import type { RichTreeViewProps } from "./RichTreeView.types.js";
|
|
4
|
+
import type { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.js";
|
|
5
|
+
import type { RichTreeViewStore } from "../internals/RichTreeViewStore/index.js";
|
|
6
6
|
export declare function useExtractRichTreeViewParameters<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined>(props: RichTreeViewProps<R, Multiple>): {
|
|
7
7
|
apiRef: import("./RichTreeView.types.js").RichTreeViewApiRef<any, any> | undefined;
|
|
8
8
|
slots: import("./RichTreeView.types.js").RichTreeViewSlots | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SimpleTreeViewProps } from "./SimpleTreeView.types.mjs";
|
|
2
|
+
import type { SimpleTreeViewProps } from "./SimpleTreeView.types.mjs";
|
|
3
3
|
export declare const SimpleTreeViewRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
4
4
|
ownerState: SimpleTreeViewProps<any>;
|
|
5
5
|
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, keyof React.ClassAttributes<HTMLUListElement> | keyof React.HTMLAttributes<HTMLUListElement>>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SimpleTreeViewProps } from "./SimpleTreeView.types.js";
|
|
2
|
+
import type { SimpleTreeViewProps } from "./SimpleTreeView.types.js";
|
|
3
3
|
export declare const SimpleTreeViewRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
4
4
|
ownerState: SimpleTreeViewProps<any>;
|
|
5
5
|
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, keyof React.ClassAttributes<HTMLUListElement> | keyof React.HTMLAttributes<HTMLUListElement>>, {}>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
4
|
-
import { SxProps } from '@mui/system/styleFunctionSx';
|
|
5
|
-
import { SimpleTreeViewClasses } from "./simpleTreeViewClasses.mjs";
|
|
6
|
-
import { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.mjs";
|
|
7
|
-
import { SimpleTreeViewStore } from "../internals/SimpleTreeViewStore/index.mjs";
|
|
8
|
-
import { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.mjs";
|
|
9
|
-
import { TreeViewPublicAPI } from "../internals/models/index.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { Theme } from '@mui/material/styles';
|
|
3
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
4
|
+
import type { SxProps } from '@mui/system/styleFunctionSx';
|
|
5
|
+
import type { SimpleTreeViewClasses } from "./simpleTreeViewClasses.mjs";
|
|
6
|
+
import type { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.mjs";
|
|
7
|
+
import type { SimpleTreeViewStore } from "../internals/SimpleTreeViewStore/index.mjs";
|
|
8
|
+
import type { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.mjs";
|
|
9
|
+
import type { TreeViewPublicAPI } from "../internals/models/index.mjs";
|
|
10
10
|
export interface SimpleTreeViewSlots extends TreeViewSlots {
|
|
11
11
|
/**
|
|
12
12
|
* Element rendered at the root.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
4
|
-
import { SxProps } from '@mui/system/styleFunctionSx';
|
|
5
|
-
import { SimpleTreeViewClasses } from "./simpleTreeViewClasses.js";
|
|
6
|
-
import { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
7
|
-
import { SimpleTreeViewStore } from "../internals/SimpleTreeViewStore/index.js";
|
|
8
|
-
import { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.js";
|
|
9
|
-
import { TreeViewPublicAPI } from "../internals/models/index.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { Theme } from '@mui/material/styles';
|
|
3
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
4
|
+
import type { SxProps } from '@mui/system/styleFunctionSx';
|
|
5
|
+
import type { SimpleTreeViewClasses } from "./simpleTreeViewClasses.js";
|
|
6
|
+
import type { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
7
|
+
import type { SimpleTreeViewStore } from "../internals/SimpleTreeViewStore/index.js";
|
|
8
|
+
import type { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.js";
|
|
9
|
+
import type { TreeViewPublicAPI } from "../internals/models/index.js";
|
|
10
10
|
export interface SimpleTreeViewSlots extends TreeViewSlots {
|
|
11
11
|
/**
|
|
12
12
|
* Element rendered at the root.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeViewClasses } from "../internals/TreeViewProvider/TreeViewStyleContext.mjs";
|
|
1
|
+
import type { TreeViewClasses } from "../internals/TreeViewProvider/TreeViewStyleContext.mjs";
|
|
2
2
|
export interface SimpleTreeViewClasses extends Omit<TreeViewClasses, 'itemDragAndDropOverlay' | 'itemLabelInput' | 'itemErrorIcon' | 'itemLoadingIcon'> {}
|
|
3
3
|
export type SimpleTreeViewClassKey = keyof SimpleTreeViewClasses;
|
|
4
4
|
export declare function getSimpleTreeViewUtilityClass(slot: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeViewClasses } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
1
|
+
import type { TreeViewClasses } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
2
2
|
export interface SimpleTreeViewClasses extends Omit<TreeViewClasses, 'itemDragAndDropOverlay' | 'itemLabelInput' | 'itemErrorIcon' | 'itemLoadingIcon'> {}
|
|
3
3
|
export type SimpleTreeViewClassKey = keyof SimpleTreeViewClasses;
|
|
4
4
|
export declare function getSimpleTreeViewUtilityClass(slot: string): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SimpleTreeViewProps } from "./SimpleTreeView.types.mjs";
|
|
3
|
-
import { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.mjs";
|
|
4
|
-
import { SimpleTreeViewStore } from "../internals/SimpleTreeViewStore/index.mjs";
|
|
2
|
+
import type { SimpleTreeViewProps } from "./SimpleTreeView.types.mjs";
|
|
3
|
+
import type { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.mjs";
|
|
4
|
+
import type { SimpleTreeViewStore } from "../internals/SimpleTreeViewStore/index.mjs";
|
|
5
5
|
export declare function useExtractSimpleTreeViewParameters<Multiple extends boolean | undefined>(props: SimpleTreeViewProps<Multiple>): {
|
|
6
6
|
apiRef: import("./SimpleTreeView.types.mjs").SimpleTreeViewApiRef<any> | undefined;
|
|
7
7
|
slots: import("./SimpleTreeView.types.mjs").SimpleTreeViewSlots | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SimpleTreeViewProps } from "./SimpleTreeView.types.js";
|
|
3
|
-
import { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.js";
|
|
4
|
-
import { SimpleTreeViewStore } from "../internals/SimpleTreeViewStore/index.js";
|
|
2
|
+
import type { SimpleTreeViewProps } from "./SimpleTreeView.types.js";
|
|
3
|
+
import type { UseTreeViewStoreParameters } from "../internals/hooks/useTreeViewStore.js";
|
|
4
|
+
import type { SimpleTreeViewStore } from "../internals/SimpleTreeViewStore/index.js";
|
|
5
5
|
export declare function useExtractSimpleTreeViewParameters<Multiple extends boolean | undefined>(props: SimpleTreeViewProps<Multiple>): {
|
|
6
6
|
apiRef: import("./SimpleTreeView.types.js").SimpleTreeViewApiRef<any> | undefined;
|
|
7
7
|
slots: import("./SimpleTreeView.types.js").SimpleTreeViewSlots | undefined;
|
package/TreeItem/TreeItem.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
3
|
-
import { TreeItemProps } from "./TreeItem.types.mjs";
|
|
4
|
-
import { UseTreeItemStatus } from "../useTreeItem/index.mjs";
|
|
2
|
+
import type { CheckboxProps } from '@mui/material/Checkbox';
|
|
3
|
+
import type { TreeItemProps } from "./TreeItem.types.mjs";
|
|
4
|
+
import type { UseTreeItemStatus } from "../useTreeItem/index.mjs";
|
|
5
5
|
export declare const TreeItemRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, keyof React.ClassAttributes<HTMLLIElement> | keyof React.LiHTMLAttributes<HTMLLIElement>>, {}>;
|
|
6
6
|
export declare const TreeItemContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
7
7
|
status: UseTreeItemStatus;
|
package/TreeItem/TreeItem.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
3
|
-
import { TreeItemProps } from "./TreeItem.types.js";
|
|
4
|
-
import { UseTreeItemStatus } from "../useTreeItem/index.js";
|
|
2
|
+
import type { CheckboxProps } from '@mui/material/Checkbox';
|
|
3
|
+
import type { TreeItemProps } from "./TreeItem.types.js";
|
|
4
|
+
import type { UseTreeItemStatus } from "../useTreeItem/index.js";
|
|
5
5
|
export declare const TreeItemRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, keyof React.ClassAttributes<HTMLLIElement> | keyof React.LiHTMLAttributes<HTMLLIElement>>, {}>;
|
|
6
6
|
export declare const TreeItemContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
7
7
|
status: UseTreeItemStatus;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import { SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
5
|
-
import { TransitionProps } from '@mui/material/transitions';
|
|
6
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
7
|
-
import { UseTreeItemParameters, UseTreeItemStatus } from "../useTreeItem/index.mjs";
|
|
8
|
-
import { TreeItemClasses } from "./treeItemClasses.mjs";
|
|
9
|
-
import { TreeItemIconSlotProps, TreeItemIconSlots } from "../TreeItemIcon/index.mjs";
|
|
10
|
-
import { TreeViewCancellableEventHandler } from "../models/index.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SxProps } from '@mui/system';
|
|
3
|
+
import type { Theme } from '@mui/material/styles';
|
|
4
|
+
import type { SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
5
|
+
import type { TransitionProps } from '@mui/material/transitions';
|
|
6
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
7
|
+
import type { UseTreeItemParameters, UseTreeItemStatus } from "../useTreeItem/index.mjs";
|
|
8
|
+
import type { TreeItemClasses } from "./treeItemClasses.mjs";
|
|
9
|
+
import type { TreeItemIconSlotProps, TreeItemIconSlots } from "../TreeItemIcon/index.mjs";
|
|
10
|
+
import type { TreeViewCancellableEventHandler } from "../models/index.mjs";
|
|
11
11
|
export interface TreeItemSlots extends TreeItemIconSlots {
|
|
12
12
|
/**
|
|
13
13
|
* The component that renders the root.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import { SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
5
|
-
import { TransitionProps } from '@mui/material/transitions';
|
|
6
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
7
|
-
import { UseTreeItemParameters, UseTreeItemStatus } from "../useTreeItem/index.js";
|
|
8
|
-
import { TreeItemClasses } from "./treeItemClasses.js";
|
|
9
|
-
import { TreeItemIconSlotProps, TreeItemIconSlots } from "../TreeItemIcon/index.js";
|
|
10
|
-
import { TreeViewCancellableEventHandler } from "../models/index.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SxProps } from '@mui/system';
|
|
3
|
+
import type { Theme } from '@mui/material/styles';
|
|
4
|
+
import type { SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
5
|
+
import type { TransitionProps } from '@mui/material/transitions';
|
|
6
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
7
|
+
import type { UseTreeItemParameters, UseTreeItemStatus } from "../useTreeItem/index.js";
|
|
8
|
+
import type { TreeItemClasses } from "./treeItemClasses.js";
|
|
9
|
+
import type { TreeItemIconSlotProps, TreeItemIconSlots } from "../TreeItemIcon/index.js";
|
|
10
|
+
import type { TreeViewCancellableEventHandler } from "../models/index.js";
|
|
11
11
|
export interface TreeItemSlots extends TreeItemIconSlots {
|
|
12
12
|
/**
|
|
13
13
|
* The component that renders the root.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeItemDragAndDropOverlayProps } from "./TreeItemDragAndDropOverlay.types.mjs";
|
|
1
|
+
import type { TreeItemDragAndDropOverlayProps } from "./TreeItemDragAndDropOverlay.types.mjs";
|
|
2
2
|
declare function TreeItemDragAndDropOverlay(props: TreeItemDragAndDropOverlayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace TreeItemDragAndDropOverlay {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeItemDragAndDropOverlayProps } from "./TreeItemDragAndDropOverlay.types.js";
|
|
1
|
+
import type { TreeItemDragAndDropOverlayProps } from "./TreeItemDragAndDropOverlay.types.js";
|
|
2
2
|
declare function TreeItemDragAndDropOverlay(props: TreeItemDragAndDropOverlayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace TreeItemDragAndDropOverlay {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { TreeViewItemsReorderingAction } from "../models/index.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { TreeViewItemsReorderingAction } from "../models/index.mjs";
|
|
3
3
|
export interface TreeItemDragAndDropOverlayProps {
|
|
4
4
|
action?: TreeViewItemsReorderingAction;
|
|
5
5
|
style?: React.CSSProperties;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { TreeViewItemsReorderingAction } from "../models/index.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { TreeViewItemsReorderingAction } from "../models/index.js";
|
|
3
3
|
export interface TreeItemDragAndDropOverlayProps {
|
|
4
4
|
action?: TreeViewItemsReorderingAction;
|
|
5
5
|
style?: React.CSSProperties;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeItemIconProps } from "./TreeItemIcon.types.mjs";
|
|
1
|
+
import type { TreeItemIconProps } from "./TreeItemIcon.types.mjs";
|
|
2
2
|
declare function TreeItemIcon(props: TreeItemIconProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace TreeItemIcon {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeItemIconProps } from "./TreeItemIcon.types.js";
|
|
1
|
+
import type { TreeItemIconProps } from "./TreeItemIcon.types.js";
|
|
2
2
|
declare function TreeItemIcon(props: TreeItemIconProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace TreeItemIcon {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
-
import { UseTreeItemStatus } from "../useTreeItem/index.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
+
import type { UseTreeItemStatus } from "../useTreeItem/index.mjs";
|
|
4
4
|
export interface TreeItemIconSlots {
|
|
5
5
|
/**
|
|
6
6
|
* The icon used to collapse the item.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
-
import { UseTreeItemStatus } from "../useTreeItem/index.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
+
import type { UseTreeItemStatus } from "../useTreeItem/index.js";
|
|
4
4
|
export interface TreeItemIconSlots {
|
|
5
5
|
/**
|
|
6
6
|
* The icon used to collapse the item.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { TreeViewCancellableEventHandler } from "../models/index.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { TreeViewCancellableEventHandler } from "../models/index.mjs";
|
|
3
3
|
export interface TreeItemLabelInputProps {
|
|
4
4
|
value?: string;
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { TreeViewCancellableEventHandler } from "../models/index.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { TreeViewCancellableEventHandler } from "../models/index.js";
|
|
3
3
|
export interface TreeItemLabelInputProps {
|
|
4
4
|
value?: string;
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeItemProviderProps } from "./TreeItemProvider.types.mjs";
|
|
1
|
+
import type { TreeItemProviderProps } from "./TreeItemProvider.types.mjs";
|
|
2
2
|
declare function TreeItemProvider(props: TreeItemProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace TreeItemProvider {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeItemProviderProps } from "./TreeItemProvider.types.js";
|
|
1
|
+
import type { TreeItemProviderProps } from "./TreeItemProvider.types.js";
|
|
2
2
|
declare function TreeItemProvider(props: TreeItemProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace TreeItemProvider {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { TreeViewItemId } from "../models/index.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { TreeViewItemId } from "../models/index.mjs";
|
|
3
3
|
export interface TreeItemProviderProps {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
itemId: TreeViewItemId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { TreeViewItemId } from "../models/index.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { TreeViewItemId } from "../models/index.js";
|
|
3
3
|
export interface TreeItemProviderProps {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
itemId: TreeViewItemId;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeViewItemId, TreeViewSelectionPropagation } from "../models/index.mjs";
|
|
1
|
+
import type { TreeViewItemId, TreeViewSelectionPropagation } from "../models/index.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* Applies the selection propagation rules to the selected items.
|
|
4
4
|
* The value is only computed during the first render, any update of the parameters will be ignored.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeViewItemId, TreeViewSelectionPropagation } from "../models/index.js";
|
|
1
|
+
import type { TreeViewItemId, TreeViewSelectionPropagation } from "../models/index.js";
|
|
2
2
|
/**
|
|
3
3
|
* Applies the selection propagation rules to the selected items.
|
|
4
4
|
* The value is only computed during the first render, any update of the parameters will be ignored.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewDefaultItemModelProperties, TreeViewValidItem } from "../models/index.mjs";
|
|
3
|
-
import { TreeViewPublicAPI } from "../internals/models/index.mjs";
|
|
4
|
-
import { RichTreeViewStore } from "../internals/RichTreeViewStore/index.mjs";
|
|
2
|
+
import type { TreeViewDefaultItemModelProperties, TreeViewValidItem } from "../models/index.mjs";
|
|
3
|
+
import type { TreeViewPublicAPI } from "../internals/models/index.mjs";
|
|
4
|
+
import type { RichTreeViewStore } from "../internals/RichTreeViewStore/index.mjs";
|
|
5
5
|
/**
|
|
6
6
|
* Creates the ref to pass to the `apiRef` prop of the `RichTreeView` component.
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewDefaultItemModelProperties, TreeViewValidItem } from "../models/index.js";
|
|
3
|
-
import { TreeViewPublicAPI } from "../internals/models/index.js";
|
|
4
|
-
import { RichTreeViewStore } from "../internals/RichTreeViewStore/index.js";
|
|
2
|
+
import type { TreeViewDefaultItemModelProperties, TreeViewValidItem } from "../models/index.js";
|
|
3
|
+
import type { TreeViewPublicAPI } from "../internals/models/index.js";
|
|
4
|
+
import type { RichTreeViewStore } from "../internals/RichTreeViewStore/index.js";
|
|
5
5
|
/**
|
|
6
6
|
* Creates the ref to pass to the `apiRef` prop of the `RichTreeView` component.
|
|
7
7
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewPublicAPI } from "../internals/models/index.mjs";
|
|
3
|
-
import { SimpleTreeViewStore } from "../internals/SimpleTreeViewStore/index.mjs";
|
|
2
|
+
import type { TreeViewPublicAPI } from "../internals/models/index.mjs";
|
|
3
|
+
import type { SimpleTreeViewStore } from "../internals/SimpleTreeViewStore/index.mjs";
|
|
4
4
|
/**
|
|
5
5
|
* Creates the ref to pass to the `apiRef` prop of the `SimpleTreeView` component.
|
|
6
6
|
*/
|