@mui/x-tree-view-pro 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/RichTreeViewPro/RichTreeViewPro.d.mts +1 -1
- package/RichTreeViewPro/RichTreeViewPro.d.ts +1 -1
- package/RichTreeViewPro/RichTreeViewPro.js +2 -2
- package/RichTreeViewPro/RichTreeViewPro.mjs +2 -2
- package/RichTreeViewPro/RichTreeViewPro.types.d.mts +7 -7
- package/RichTreeViewPro/RichTreeViewPro.types.d.ts +7 -7
- package/RichTreeViewPro/richTreeViewProClasses.d.mts +1 -1
- package/RichTreeViewPro/richTreeViewProClasses.d.ts +1 -1
- package/RichTreeViewPro/useExtractRichTreeViewProParameters.d.mts +4 -4
- package/RichTreeViewPro/useExtractRichTreeViewProParameters.d.ts +4 -4
- package/components/RichTreeViewVirtualizedItems.d.mts +1 -1
- package/components/RichTreeViewVirtualizedItems.d.ts +1 -1
- package/hooks/useRichTreeViewProApiRef.d.mts +3 -3
- package/hooks/useRichTreeViewProApiRef.d.ts +3 -3
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/RichTreeViewProStore/RichTreeViewProStore.d.mts +2 -2
- package/internals/RichTreeViewProStore/RichTreeViewProStore.d.ts +2 -2
- package/internals/RichTreeViewProStore/RichTreeViewProStore.types.d.mts +5 -5
- package/internals/RichTreeViewProStore/RichTreeViewProStore.types.d.ts +5 -5
- package/internals/RichTreeViewProStore/RichTreeViewProStore.utils.d.mts +2 -2
- package/internals/RichTreeViewProStore/RichTreeViewProStore.utils.d.ts +2 -2
- package/internals/plugins/itemsReordering/TreeViewItemsReorderingPlugin.d.mts +3 -3
- package/internals/plugins/itemsReordering/TreeViewItemsReorderingPlugin.d.ts +3 -3
- package/internals/plugins/itemsReordering/itemPlugin.d.mts +3 -3
- package/internals/plugins/itemsReordering/itemPlugin.d.ts +3 -3
- package/internals/plugins/itemsReordering/selectors.d.mts +2 -2
- package/internals/plugins/itemsReordering/selectors.d.ts +2 -2
- package/internals/plugins/itemsReordering/types.d.mts +1 -1
- package/internals/plugins/itemsReordering/types.d.ts +1 -1
- package/internals/plugins/itemsReordering/utils.d.mts +3 -3
- package/internals/plugins/itemsReordering/utils.d.ts +3 -3
- package/internals/plugins/lazyLoading/TreeViewLazyLoadingPlugin.d.mts +2 -2
- package/internals/plugins/lazyLoading/TreeViewLazyLoadingPlugin.d.ts +2 -2
- package/internals/plugins/lazyLoading/types.d.mts +1 -1
- package/internals/plugins/lazyLoading/types.d.ts +1 -1
- package/internals/plugins/lazyLoading/utils.d.mts +2 -2
- package/internals/plugins/lazyLoading/utils.d.ts +2 -2
- package/internals/plugins/virtualization/selectors.d.mts +1 -1
- package/internals/plugins/virtualization/selectors.d.ts +1 -1
- package/package.json +5 -5
- package/themeAugmentation/components.d.mts +1 -1
- package/themeAugmentation/components.d.ts +1 -1
- package/themeAugmentation/overrides.d.mts +1 -1
- package/themeAugmentation/overrides.d.ts +1 -1
- package/themeAugmentation/props.d.mts +1 -1
- package/themeAugmentation/props.d.ts +1 -1
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 { RichTreeViewProProps } from "./RichTreeViewPro.types.mjs";
|
|
2
|
+
import type { RichTreeViewProProps } from "./RichTreeViewPro.types.mjs";
|
|
3
3
|
export declare const RichTreeViewProRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
4
4
|
ownerState: RichTreeViewProProps<any, 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 { RichTreeViewProProps } from "./RichTreeViewPro.types.js";
|
|
2
|
+
import type { RichTreeViewProProps } from "./RichTreeViewPro.types.js";
|
|
3
3
|
export declare const RichTreeViewProRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
4
4
|
ownerState: RichTreeViewProProps<any, any>;
|
|
5
5
|
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, keyof React.ClassAttributes<HTMLUListElement> | keyof React.HTMLAttributes<HTMLUListElement>>, {}>;
|
|
@@ -59,8 +59,8 @@ const RichTreeViewProRoot = exports.RichTreeViewProRoot = (0, _zeroStyled.styled
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
const packageInfo = {
|
|
62
|
-
releaseDate: "
|
|
63
|
-
version: "9.
|
|
62
|
+
releaseDate: "MTc4Mjk1MDQwMDAwMA==",
|
|
63
|
+
version: "9.8.0",
|
|
64
64
|
name: 'x-tree-view-pro'
|
|
65
65
|
};
|
|
66
66
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { SxProps } from '@mui/system/styleFunctionSx';
|
|
4
|
-
import { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
5
|
-
import { RichTreeViewItemsSlots, RichTreeViewItemsSlotProps, TreeViewSlots, TreeViewSlotProps, UseTreeViewStoreParameters, TreeViewPublicAPI } from '@mui/x-tree-view/internals';
|
|
6
|
-
import { RichTreeViewProClasses } from "./richTreeViewProClasses.mjs";
|
|
7
|
-
import { RichTreeViewProStore } from "../internals/RichTreeViewProStore/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 { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
5
|
+
import type { RichTreeViewItemsSlots, RichTreeViewItemsSlotProps, TreeViewSlots, TreeViewSlotProps, UseTreeViewStoreParameters, TreeViewPublicAPI } from '@mui/x-tree-view/internals';
|
|
6
|
+
import type { RichTreeViewProClasses } from "./richTreeViewProClasses.mjs";
|
|
7
|
+
import type { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.mjs";
|
|
8
8
|
export interface RichTreeViewProSlots extends TreeViewSlots, Omit<RichTreeViewItemsSlots, 'root'> {
|
|
9
9
|
/**
|
|
10
10
|
* Element rendered at the root.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { SxProps } from '@mui/system/styleFunctionSx';
|
|
4
|
-
import { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
5
|
-
import { RichTreeViewItemsSlots, RichTreeViewItemsSlotProps, TreeViewSlots, TreeViewSlotProps, UseTreeViewStoreParameters, TreeViewPublicAPI } from '@mui/x-tree-view/internals';
|
|
6
|
-
import { RichTreeViewProClasses } from "./richTreeViewProClasses.js";
|
|
7
|
-
import { RichTreeViewProStore } from "../internals/RichTreeViewProStore/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 { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
5
|
+
import type { RichTreeViewItemsSlots, RichTreeViewItemsSlotProps, TreeViewSlots, TreeViewSlotProps, UseTreeViewStoreParameters, TreeViewPublicAPI } from '@mui/x-tree-view/internals';
|
|
6
|
+
import type { RichTreeViewProClasses } from "./richTreeViewProClasses.js";
|
|
7
|
+
import type { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.js";
|
|
8
8
|
export interface RichTreeViewProSlots extends TreeViewSlots, Omit<RichTreeViewItemsSlots, 'root'> {
|
|
9
9
|
/**
|
|
10
10
|
* Element rendered at the root.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeViewClasses } from '@mui/x-tree-view/internals';
|
|
1
|
+
import type { TreeViewClasses } from '@mui/x-tree-view/internals';
|
|
2
2
|
export interface RichTreeViewProClasses extends TreeViewClasses {}
|
|
3
3
|
export type RichTreeViewProClassKey = keyof RichTreeViewProClasses;
|
|
4
4
|
export declare function getRichTreeViewProUtilityClass(slot: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeViewClasses } from '@mui/x-tree-view/internals';
|
|
1
|
+
import type { TreeViewClasses } from '@mui/x-tree-view/internals';
|
|
2
2
|
export interface RichTreeViewProClasses extends TreeViewClasses {}
|
|
3
3
|
export type RichTreeViewProClassKey = keyof RichTreeViewProClasses;
|
|
4
4
|
export declare function getRichTreeViewProUtilityClass(slot: string): string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
-
import { UseTreeViewStoreParameters } from '@mui/x-tree-view/internals';
|
|
4
|
-
import { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.mjs";
|
|
5
|
-
import { RichTreeViewProProps } from "./RichTreeViewPro.types.mjs";
|
|
2
|
+
import type { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
+
import type { UseTreeViewStoreParameters } from '@mui/x-tree-view/internals';
|
|
4
|
+
import type { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.mjs";
|
|
5
|
+
import type { RichTreeViewProProps } from "./RichTreeViewPro.types.mjs";
|
|
6
6
|
export declare function useExtractRichTreeViewProParameters<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined>(props: RichTreeViewProProps<R, Multiple>): {
|
|
7
7
|
apiRef: import("./RichTreeViewPro.types.mjs").RichTreeViewProApiRef<any, any> | undefined;
|
|
8
8
|
slots: import("./RichTreeViewPro.types.mjs").RichTreeViewProSlots | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
-
import { UseTreeViewStoreParameters } from '@mui/x-tree-view/internals';
|
|
4
|
-
import { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.js";
|
|
5
|
-
import { RichTreeViewProProps } from "./RichTreeViewPro.types.js";
|
|
2
|
+
import type { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
+
import type { UseTreeViewStoreParameters } from '@mui/x-tree-view/internals';
|
|
4
|
+
import type { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.js";
|
|
5
|
+
import type { RichTreeViewProProps } from "./RichTreeViewPro.types.js";
|
|
6
6
|
export declare function useExtractRichTreeViewProParameters<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined>(props: RichTreeViewProProps<R, Multiple>): {
|
|
7
7
|
apiRef: import("./RichTreeViewPro.types.js").RichTreeViewProApiRef<any, any> | undefined;
|
|
8
8
|
slots: import("./RichTreeViewPro.types.js").RichTreeViewProSlots | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RichTreeViewItemsProps } from '@mui/x-tree-view/internals';
|
|
1
|
+
import type { RichTreeViewItemsProps } from '@mui/x-tree-view/internals';
|
|
2
2
|
export declare function RichTreeViewVirtualizedItems<TProps extends object>(props: RichTreeViewItemsProps<TProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RichTreeViewItemsProps } from '@mui/x-tree-view/internals';
|
|
1
|
+
import type { RichTreeViewItemsProps } from '@mui/x-tree-view/internals';
|
|
2
2
|
export declare function RichTreeViewVirtualizedItems<TProps extends object>(props: RichTreeViewItemsProps<TProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewPublicAPI } from '@mui/x-tree-view/internals';
|
|
3
|
-
import { TreeViewDefaultItemModelProperties, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
4
|
-
import { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.mjs";
|
|
2
|
+
import type { TreeViewPublicAPI } from '@mui/x-tree-view/internals';
|
|
3
|
+
import type { TreeViewDefaultItemModelProperties, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
4
|
+
import type { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.mjs";
|
|
5
5
|
/**
|
|
6
6
|
* Creates the ref to pass to the `apiRef` prop of the `RichTreeViewPro` component.
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewPublicAPI } from '@mui/x-tree-view/internals';
|
|
3
|
-
import { TreeViewDefaultItemModelProperties, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
4
|
-
import { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.js";
|
|
2
|
+
import type { TreeViewPublicAPI } from '@mui/x-tree-view/internals';
|
|
3
|
+
import type { TreeViewDefaultItemModelProperties, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
4
|
+
import type { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.js";
|
|
5
5
|
/**
|
|
6
6
|
* Creates the ref to pass to the `apiRef` prop of the `RichTreeViewPro` component.
|
|
7
7
|
*/
|
package/index.js
CHANGED
package/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtendableRichTreeViewStore } from '@mui/x-tree-view/internals';
|
|
2
|
-
import { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
-
import { RichTreeViewProStoreParameters, RichTreeViewProState } from "./RichTreeViewProStore.types.mjs";
|
|
2
|
+
import type { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
+
import type { RichTreeViewProStoreParameters, RichTreeViewProState } from "./RichTreeViewProStore.types.mjs";
|
|
4
4
|
import { TreeViewLazyLoadingPlugin } from "../plugins/lazyLoading/index.mjs";
|
|
5
5
|
import { TreeViewItemsReorderingPlugin } from "../plugins/itemsReordering/index.mjs";
|
|
6
6
|
export declare class RichTreeViewProStore<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined> extends ExtendableRichTreeViewStore<R, Multiple, RichTreeViewProState<R, Multiple>, RichTreeViewProStoreParameters<R, Multiple>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtendableRichTreeViewStore } from '@mui/x-tree-view/internals';
|
|
2
|
-
import { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
-
import { RichTreeViewProStoreParameters, RichTreeViewProState } from "./RichTreeViewProStore.types.js";
|
|
2
|
+
import type { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
+
import type { RichTreeViewProStoreParameters, RichTreeViewProState } from "./RichTreeViewProStore.types.js";
|
|
4
4
|
import { TreeViewLazyLoadingPlugin } from "../plugins/lazyLoading/index.js";
|
|
5
5
|
import { TreeViewItemsReorderingPlugin } from "../plugins/itemsReordering/index.js";
|
|
6
6
|
export declare class RichTreeViewProStore<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined> extends ExtendableRichTreeViewStore<R, Multiple, RichTreeViewProState<R, Multiple>, RichTreeViewProStoreParameters<R, Multiple>> {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RichTreeViewStoreParameters, RichTreeViewState } from '@mui/x-tree-view/internals';
|
|
2
|
-
import { TreeViewDOMStructure, TreeViewItemId, TreeViewItemsReorderingAction, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
-
import { DataSourceCache } from '@mui/x-tree-view/utils';
|
|
4
|
-
import { TreeViewItemReorderPosition } from "../plugins/itemsReordering/index.mjs";
|
|
5
|
-
import { DataSource } from "../plugins/lazyLoading/index.mjs";
|
|
1
|
+
import type { RichTreeViewStoreParameters, RichTreeViewState } from '@mui/x-tree-view/internals';
|
|
2
|
+
import type { TreeViewDOMStructure, TreeViewItemId, TreeViewItemsReorderingAction, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
+
import type { DataSourceCache } from '@mui/x-tree-view/utils';
|
|
4
|
+
import type { TreeViewItemReorderPosition } from "../plugins/itemsReordering/index.mjs";
|
|
5
|
+
import type { DataSource } from "../plugins/lazyLoading/index.mjs";
|
|
6
6
|
export interface RichTreeViewProState<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined> extends RichTreeViewState<R, Multiple> {
|
|
7
7
|
/**
|
|
8
8
|
* Determine if a given item can be reordered.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RichTreeViewStoreParameters, RichTreeViewState } from '@mui/x-tree-view/internals';
|
|
2
|
-
import { TreeViewDOMStructure, TreeViewItemId, TreeViewItemsReorderingAction, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
-
import { DataSourceCache } from '@mui/x-tree-view/utils';
|
|
4
|
-
import { TreeViewItemReorderPosition } from "../plugins/itemsReordering/index.js";
|
|
5
|
-
import { DataSource } from "../plugins/lazyLoading/index.js";
|
|
1
|
+
import type { RichTreeViewStoreParameters, RichTreeViewState } from '@mui/x-tree-view/internals';
|
|
2
|
+
import type { TreeViewDOMStructure, TreeViewItemId, TreeViewItemsReorderingAction, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
3
|
+
import type { DataSourceCache } from '@mui/x-tree-view/utils';
|
|
4
|
+
import type { TreeViewItemReorderPosition } from "../plugins/itemsReordering/index.js";
|
|
5
|
+
import type { DataSource } from "../plugins/lazyLoading/index.js";
|
|
6
6
|
export interface RichTreeViewProState<R extends TreeViewValidItem<R>, Multiple extends boolean | undefined> extends RichTreeViewState<R, Multiple> {
|
|
7
7
|
/**
|
|
8
8
|
* Determine if a given item can be reordered.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TreeViewParametersToStateMapper } from '@mui/x-tree-view/internals';
|
|
2
|
-
import { RichTreeViewProStoreParameters, RichTreeViewProState } from "./RichTreeViewProStore.types.mjs";
|
|
1
|
+
import type { TreeViewParametersToStateMapper } from '@mui/x-tree-view/internals';
|
|
2
|
+
import type { RichTreeViewProStoreParameters, RichTreeViewProState } from "./RichTreeViewProStore.types.mjs";
|
|
3
3
|
export declare const parametersToStateMapper: TreeViewParametersToStateMapper<any, any, RichTreeViewProState<any, any>, RichTreeViewProStoreParameters<any, any>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TreeViewParametersToStateMapper } from '@mui/x-tree-view/internals';
|
|
2
|
-
import { RichTreeViewProStoreParameters, RichTreeViewProState } from "./RichTreeViewProStore.types.js";
|
|
1
|
+
import type { TreeViewParametersToStateMapper } from '@mui/x-tree-view/internals';
|
|
2
|
+
import type { RichTreeViewProStoreParameters, RichTreeViewProState } from "./RichTreeViewProStore.types.js";
|
|
3
3
|
export declare const parametersToStateMapper: TreeViewParametersToStateMapper<any, any, RichTreeViewProState<any, any>, RichTreeViewProStoreParameters<any, any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TreeViewItemId } from '@mui/x-tree-view/models';
|
|
2
|
-
import { TreeViewItemItemReorderingValidActions } from "./types.mjs";
|
|
3
|
-
import { RichTreeViewProStore } from "../../RichTreeViewProStore/RichTreeViewProStore.mjs";
|
|
1
|
+
import type { TreeViewItemId } from '@mui/x-tree-view/models';
|
|
2
|
+
import type { TreeViewItemItemReorderingValidActions } from "./types.mjs";
|
|
3
|
+
import type { RichTreeViewProStore } from "../../RichTreeViewProStore/RichTreeViewProStore.mjs";
|
|
4
4
|
export declare class TreeViewItemsReorderingPlugin {
|
|
5
5
|
private store;
|
|
6
6
|
constructor(store: RichTreeViewProStore<any, any>);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TreeViewItemId } from '@mui/x-tree-view/models';
|
|
2
|
-
import { TreeViewItemItemReorderingValidActions } from "./types.js";
|
|
3
|
-
import { RichTreeViewProStore } from "../../RichTreeViewProStore/RichTreeViewProStore.js";
|
|
1
|
+
import type { TreeViewItemId } from '@mui/x-tree-view/models';
|
|
2
|
+
import type { TreeViewItemItemReorderingValidActions } from "./types.js";
|
|
3
|
+
import type { RichTreeViewProStore } from "../../RichTreeViewProStore/RichTreeViewProStore.js";
|
|
4
4
|
export declare class TreeViewItemsReorderingPlugin {
|
|
5
5
|
private store;
|
|
6
6
|
constructor(store: RichTreeViewProStore<any, any>);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewCancellableEventHandler } from '@mui/x-tree-view/models';
|
|
3
|
-
import { TreeViewItemPlugin } from '@mui/x-tree-view/internals';
|
|
4
|
-
import { TreeItemDragAndDropOverlayProps } from '@mui/x-tree-view/TreeItemDragAndDropOverlay';
|
|
2
|
+
import type { TreeViewCancellableEventHandler } from '@mui/x-tree-view/models';
|
|
3
|
+
import type { TreeViewItemPlugin } from '@mui/x-tree-view/internals';
|
|
4
|
+
import type { TreeItemDragAndDropOverlayProps } from '@mui/x-tree-view/TreeItemDragAndDropOverlay';
|
|
5
5
|
export declare const useTreeViewItemsReorderingItemPlugin: TreeViewItemPlugin;
|
|
6
6
|
interface UseTreeItemRootSlotPropsFromItemsReordering {
|
|
7
7
|
draggable?: true;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TreeViewCancellableEventHandler } from '@mui/x-tree-view/models';
|
|
3
|
-
import { TreeViewItemPlugin } from '@mui/x-tree-view/internals';
|
|
4
|
-
import { TreeItemDragAndDropOverlayProps } from '@mui/x-tree-view/TreeItemDragAndDropOverlay';
|
|
2
|
+
import type { TreeViewCancellableEventHandler } from '@mui/x-tree-view/models';
|
|
3
|
+
import type { TreeViewItemPlugin } from '@mui/x-tree-view/internals';
|
|
4
|
+
import type { TreeItemDragAndDropOverlayProps } from '@mui/x-tree-view/TreeItemDragAndDropOverlay';
|
|
5
5
|
export declare const useTreeViewItemsReorderingItemPlugin: TreeViewItemPlugin;
|
|
6
6
|
interface UseTreeItemRootSlotPropsFromItemsReordering {
|
|
7
7
|
draggable?: true;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeViewItemId } from '@mui/x-tree-view/models';
|
|
2
|
-
import { RichTreeViewProState } from "../../RichTreeViewProStore/index.mjs";
|
|
1
|
+
import type { TreeViewItemId } from '@mui/x-tree-view/models';
|
|
2
|
+
import type { RichTreeViewProState } from "../../RichTreeViewProStore/index.mjs";
|
|
3
3
|
export declare const itemsReorderingSelectors: {
|
|
4
4
|
/**
|
|
5
5
|
* Gets the properties of the current reordering.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeViewItemId } from '@mui/x-tree-view/models';
|
|
2
|
-
import { RichTreeViewProState } from "../../RichTreeViewProStore/index.js";
|
|
1
|
+
import type { TreeViewItemId } from '@mui/x-tree-view/models';
|
|
2
|
+
import type { RichTreeViewProState } from "../../RichTreeViewProStore/index.js";
|
|
3
3
|
export declare const itemsReorderingSelectors: {
|
|
4
4
|
/**
|
|
5
5
|
* Gets the properties of the current reordering.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TreeViewItemId, TreeViewItemsReorderingAction, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
-
import { TreeViewItemItemReorderingValidActions, TreeViewItemReorderPosition } from "./types.mjs";
|
|
3
|
-
import { RichTreeViewProState, RichTreeViewProStore } from "../../RichTreeViewProStore/index.mjs";
|
|
1
|
+
import type { TreeViewItemId, TreeViewItemsReorderingAction, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
+
import type { TreeViewItemItemReorderingValidActions, TreeViewItemReorderPosition } from "./types.mjs";
|
|
3
|
+
import type { RichTreeViewProState, RichTreeViewProStore } from "../../RichTreeViewProStore/index.mjs";
|
|
4
4
|
/**
|
|
5
5
|
* Checks if the item with the id itemIdB is an ancestor of the item with the id itemIdA.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TreeViewItemId, TreeViewItemsReorderingAction, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
-
import { TreeViewItemItemReorderingValidActions, TreeViewItemReorderPosition } from "./types.js";
|
|
3
|
-
import { RichTreeViewProState, RichTreeViewProStore } from "../../RichTreeViewProStore/index.js";
|
|
1
|
+
import type { TreeViewItemId, TreeViewItemsReorderingAction, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
+
import type { TreeViewItemItemReorderingValidActions, TreeViewItemReorderPosition } from "./types.js";
|
|
3
|
+
import type { RichTreeViewProState, RichTreeViewProStore } from "../../RichTreeViewProStore/index.js";
|
|
4
4
|
/**
|
|
5
5
|
* Checks if the item with the id itemIdB is an ancestor of the item with the id itemIdA.
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeViewItemId, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
-
import { RichTreeViewProStore } from "../../RichTreeViewProStore/RichTreeViewProStore.mjs";
|
|
1
|
+
import type { TreeViewItemId, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
+
import type { RichTreeViewProStore } from "../../RichTreeViewProStore/RichTreeViewProStore.mjs";
|
|
3
3
|
export declare const TREE_VIEW_LAZY_LOADED_ITEMS_INITIAL_STATE: {
|
|
4
4
|
loading: {};
|
|
5
5
|
errors: {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeViewItemId, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
-
import { RichTreeViewProStore } from "../../RichTreeViewProStore/RichTreeViewProStore.js";
|
|
1
|
+
import type { TreeViewItemId, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
+
import type { RichTreeViewProStore } from "../../RichTreeViewProStore/RichTreeViewProStore.js";
|
|
3
3
|
export declare const TREE_VIEW_LAZY_LOADED_ITEMS_INITIAL_STATE: {
|
|
4
4
|
loading: {};
|
|
5
5
|
errors: {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeViewItemId, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
-
import { TreeViewLazyLoadingPlugin } from "./TreeViewLazyLoadingPlugin.mjs";
|
|
1
|
+
import type { TreeViewItemId, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
+
import type { TreeViewLazyLoadingPlugin } from "./TreeViewLazyLoadingPlugin.mjs";
|
|
3
3
|
export declare enum RequestStatus {
|
|
4
4
|
QUEUED = 0,
|
|
5
5
|
PENDING = 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeViewItemId, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
-
import { TreeViewLazyLoadingPlugin } from "./TreeViewLazyLoadingPlugin.js";
|
|
1
|
+
import type { TreeViewItemId, TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
2
|
+
import type { TreeViewLazyLoadingPlugin } from "./TreeViewLazyLoadingPlugin.js";
|
|
3
3
|
export declare enum RequestStatus {
|
|
4
4
|
QUEUED = 0,
|
|
5
5
|
PENDING = 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RichTreeViewProState } from "../../RichTreeViewProStore/index.mjs";
|
|
1
|
+
import type { RichTreeViewProState } from "../../RichTreeViewProStore/index.mjs";
|
|
2
2
|
export declare const virtualizationSelectors: {
|
|
3
3
|
enabled: (state: RichTreeViewProState<any, any>) => boolean;
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RichTreeViewProState } from "../../RichTreeViewProStore/index.js";
|
|
1
|
+
import type { RichTreeViewProState } from "../../RichTreeViewProStore/index.js";
|
|
2
2
|
export declare const virtualizationSelectors: {
|
|
3
3
|
enabled: (state: RichTreeViewProState<any, any>) => boolean;
|
|
4
4
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-tree-view-pro",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.8.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Pro plan edition of the MUI X Tree View components.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"react-transition-group": "^4.4.5",
|
|
41
41
|
"reselect": "^5.2.0",
|
|
42
42
|
"use-sync-external-store": "^1.6.0",
|
|
43
|
-
"@mui/x-internals": "^9.
|
|
44
|
-
"@mui/x-license": "^9.
|
|
45
|
-
"@mui/x-tree-view": "^9.
|
|
46
|
-
"@mui/x-virtualizer": "0.5.
|
|
43
|
+
"@mui/x-internals": "^9.8.0",
|
|
44
|
+
"@mui/x-license": "^9.8.0",
|
|
45
|
+
"@mui/x-tree-view": "^9.8.0",
|
|
46
|
+
"@mui/x-virtualizer": "0.5.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material/styles';
|
|
1
|
+
import type { ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material/styles';
|
|
2
2
|
export interface TreeViewProComponents<Theme = unknown> {
|
|
3
3
|
MuiRichTreeViewPro?: {
|
|
4
4
|
defaultProps?: ComponentsProps['MuiRichTreeViewPro'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material/styles';
|
|
1
|
+
import type { ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material/styles';
|
|
2
2
|
export interface TreeViewProComponents<Theme = unknown> {
|
|
3
3
|
MuiRichTreeViewPro?: {
|
|
4
4
|
defaultProps?: ComponentsProps['MuiRichTreeViewPro'];
|