@mui/x-tree-view 8.1.0 → 8.3.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 +233 -7
- package/RichTreeView/RichTreeView.js +0 -6
- package/RichTreeView/RichTreeView.plugins.d.ts +1 -1
- package/RichTreeView/RichTreeView.types.d.ts +1 -7
- package/RichTreeView/index.d.ts +2 -2
- package/SimpleTreeView/SimpleTreeView.js +0 -6
- package/SimpleTreeView/SimpleTreeView.plugins.d.ts +1 -1
- package/SimpleTreeView/SimpleTreeView.types.d.ts +1 -7
- package/SimpleTreeView/index.d.ts +1 -1
- package/TreeItem/index.d.ts +2 -2
- package/TreeItemDragAndDropOverlay/index.d.ts +1 -1
- package/TreeItemIcon/index.d.ts +1 -1
- package/TreeItemLabelInput/index.d.ts +1 -1
- package/TreeItemProvider/index.d.ts +1 -1
- package/esm/RichTreeView/RichTreeView.js +0 -6
- package/esm/RichTreeView/RichTreeView.plugins.d.ts +1 -1
- package/esm/RichTreeView/RichTreeView.types.d.ts +1 -7
- package/esm/RichTreeView/index.d.ts +2 -2
- package/esm/SimpleTreeView/SimpleTreeView.js +0 -6
- package/esm/SimpleTreeView/SimpleTreeView.plugins.d.ts +1 -1
- package/esm/SimpleTreeView/SimpleTreeView.types.d.ts +1 -7
- package/esm/SimpleTreeView/index.d.ts +1 -1
- package/esm/TreeItem/index.d.ts +2 -2
- package/esm/TreeItemDragAndDropOverlay/index.d.ts +1 -1
- package/esm/TreeItemIcon/index.d.ts +1 -1
- package/esm/TreeItemLabelInput/index.d.ts +1 -1
- package/esm/TreeItemProvider/index.d.ts +1 -1
- package/esm/hooks/useTreeItemUtils/useTreeItemUtils.d.ts +6 -6
- package/esm/index.js +1 -1
- package/esm/internals/TreeViewItemDepthContext/TreeViewItemDepthContext.d.ts +1 -1
- package/esm/internals/TreeViewProvider/TreeViewProvider.types.d.ts +1 -1
- package/esm/internals/TreeViewProvider/index.d.ts +1 -1
- package/esm/internals/corePlugins/corePlugins.d.ts +1 -1
- package/esm/internals/corePlugins/index.d.ts +1 -1
- package/esm/internals/corePlugins/useTreeViewId/index.d.ts +1 -1
- package/esm/internals/corePlugins/useTreeViewId/useTreeViewId.selectors.d.ts +2 -2
- package/esm/internals/corePlugins/useTreeViewId/useTreeViewId.types.d.ts +2 -2
- package/esm/internals/corePlugins/useTreeViewInstanceEvents/index.d.ts +1 -1
- package/esm/internals/corePlugins/useTreeViewInstanceEvents/useTreeViewInstanceEvents.d.ts +1 -1
- package/esm/internals/corePlugins/useTreeViewOptionalPlugins/index.d.ts +1 -1
- package/esm/internals/index.d.ts +14 -14
- package/esm/internals/index.js +1 -1
- package/esm/internals/models/helpers.d.ts +1 -1
- package/esm/internals/models/itemPlugin.d.ts +3 -3
- package/esm/internals/models/plugin.d.ts +15 -24
- package/esm/internals/models/treeView.d.ts +3 -4
- package/esm/internals/plugins/useTreeViewExpansion/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.js +4 -3
- package/esm/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.d.ts +31 -31
- package/esm/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.types.d.ts +2 -2
- package/esm/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.utils.d.ts +2 -2
- package/esm/internals/plugins/useTreeViewFocus/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewFocus/useTreeViewFocus.selectors.d.ts +72 -72
- package/esm/internals/plugins/useTreeViewFocus/useTreeViewFocus.types.d.ts +4 -4
- package/esm/internals/plugins/useTreeViewItems/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewItems/useTreeViewItems.js +1 -1
- package/esm/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.d.ts +54 -54
- package/esm/internals/plugins/useTreeViewItems/useTreeViewItems.types.d.ts +2 -2
- package/esm/internals/plugins/useTreeViewJSXItems/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewJSXItems/useTreeViewJSXItems.types.d.ts +2 -2
- package/esm/internals/plugins/useTreeViewKeyboardNavigation/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewLabel/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewLabel/useTreeViewLabel.js +1 -1
- package/esm/internals/plugins/useTreeViewLabel/useTreeViewLabel.selectors.d.ts +5 -5
- package/esm/internals/plugins/useTreeViewLabel/useTreeViewLabel.types.d.ts +2 -2
- package/esm/internals/plugins/useTreeViewLazyLoading/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.selectors.d.ts +56 -56
- package/esm/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.types.d.ts +2 -3
- package/esm/internals/plugins/useTreeViewSelection/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.js +4 -3
- package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.selectors.d.ts +71 -71
- package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.types.d.ts +3 -3
- package/esm/internals/useTreeView/{extractPluginParamsFromProps.d.ts → useExtractPluginParamsFromProps.d.ts} +8 -9
- package/esm/internals/useTreeView/useExtractPluginParamsFromProps.js +51 -0
- package/esm/internals/useTreeView/useTreeView.js +3 -5
- package/esm/internals/useTreeView/useTreeView.types.d.ts +2 -3
- package/esm/internals/useTreeView/useTreeViewBuildContext.d.ts +4 -8
- package/esm/internals/useTreeView/useTreeViewBuildContext.js +8 -7
- package/esm/internals/utils/TreeViewStore.d.ts +1 -1
- package/esm/internals/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +1 -1
- package/esm/internals/utils/tree.d.ts +2 -2
- package/esm/internals/utils/tree.js +1 -1
- package/esm/themeAugmentation/components.js +1 -0
- package/esm/themeAugmentation/index.d.ts +3 -3
- package/esm/themeAugmentation/overrides.d.ts +0 -4
- package/esm/themeAugmentation/overrides.js +4 -0
- package/esm/themeAugmentation/props.d.ts +0 -2
- package/esm/themeAugmentation/props.js +2 -0
- package/esm/useTreeItem/index.d.ts +1 -1
- package/hooks/useTreeItemUtils/useTreeItemUtils.d.ts +6 -6
- package/index.js +1 -1
- package/internals/TreeViewItemDepthContext/TreeViewItemDepthContext.d.ts +1 -1
- package/internals/TreeViewProvider/TreeViewProvider.types.d.ts +1 -1
- package/internals/TreeViewProvider/index.d.ts +1 -1
- package/internals/corePlugins/corePlugins.d.ts +1 -1
- package/internals/corePlugins/index.d.ts +1 -1
- package/internals/corePlugins/useTreeViewId/index.d.ts +1 -1
- package/internals/corePlugins/useTreeViewId/useTreeViewId.selectors.d.ts +2 -2
- package/internals/corePlugins/useTreeViewId/useTreeViewId.types.d.ts +2 -2
- package/internals/corePlugins/useTreeViewInstanceEvents/index.d.ts +1 -1
- package/internals/corePlugins/useTreeViewInstanceEvents/useTreeViewInstanceEvents.d.ts +1 -1
- package/internals/corePlugins/useTreeViewOptionalPlugins/index.d.ts +1 -1
- package/internals/index.d.ts +14 -14
- package/internals/index.js +1 -1
- package/internals/models/helpers.d.ts +1 -1
- package/internals/models/itemPlugin.d.ts +3 -3
- package/internals/models/plugin.d.ts +15 -24
- package/internals/models/treeView.d.ts +3 -4
- package/internals/plugins/useTreeViewExpansion/index.d.ts +1 -1
- package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.js +5 -4
- package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.d.ts +31 -31
- package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.types.d.ts +2 -2
- package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.utils.d.ts +2 -2
- package/internals/plugins/useTreeViewFocus/index.d.ts +1 -1
- package/internals/plugins/useTreeViewFocus/useTreeViewFocus.selectors.d.ts +72 -72
- package/internals/plugins/useTreeViewFocus/useTreeViewFocus.types.d.ts +4 -4
- package/internals/plugins/useTreeViewItems/index.d.ts +1 -1
- package/internals/plugins/useTreeViewItems/useTreeViewItems.js +1 -1
- package/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.d.ts +54 -54
- package/internals/plugins/useTreeViewItems/useTreeViewItems.types.d.ts +2 -2
- package/internals/plugins/useTreeViewJSXItems/index.d.ts +1 -1
- package/internals/plugins/useTreeViewJSXItems/useTreeViewJSXItems.types.d.ts +2 -2
- package/internals/plugins/useTreeViewKeyboardNavigation/index.d.ts +1 -1
- package/internals/plugins/useTreeViewLabel/index.d.ts +1 -1
- package/internals/plugins/useTreeViewLabel/useTreeViewLabel.js +1 -1
- package/internals/plugins/useTreeViewLabel/useTreeViewLabel.selectors.d.ts +5 -5
- package/internals/plugins/useTreeViewLabel/useTreeViewLabel.types.d.ts +2 -2
- package/internals/plugins/useTreeViewLazyLoading/index.d.ts +1 -1
- package/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.selectors.d.ts +56 -56
- package/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.types.d.ts +2 -3
- package/internals/plugins/useTreeViewSelection/index.d.ts +1 -1
- package/internals/plugins/useTreeViewSelection/useTreeViewSelection.js +5 -4
- package/internals/plugins/useTreeViewSelection/useTreeViewSelection.selectors.d.ts +71 -71
- package/internals/plugins/useTreeViewSelection/useTreeViewSelection.types.d.ts +3 -3
- package/internals/useTreeView/{extractPluginParamsFromProps.d.ts → useExtractPluginParamsFromProps.d.ts} +8 -9
- package/internals/useTreeView/useExtractPluginParamsFromProps.js +60 -0
- package/internals/useTreeView/useTreeView.js +3 -5
- package/internals/useTreeView/useTreeView.types.d.ts +2 -3
- package/internals/useTreeView/useTreeViewBuildContext.d.ts +4 -8
- package/internals/useTreeView/useTreeViewBuildContext.js +8 -7
- package/internals/utils/TreeViewStore.d.ts +1 -1
- package/internals/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +1 -1
- package/internals/utils/tree.d.ts +2 -2
- package/internals/utils/tree.js +1 -1
- package/package.json +4 -4
- package/themeAugmentation/components.js +5 -0
- package/themeAugmentation/index.d.ts +3 -3
- package/themeAugmentation/overrides.d.ts +0 -4
- package/themeAugmentation/overrides.js +5 -0
- package/themeAugmentation/props.d.ts +0 -2
- package/themeAugmentation/props.js +5 -0
- package/useTreeItem/index.d.ts +1 -1
- package/esm/internals/useTreeView/extractPluginParamsFromProps.js +0 -42
- package/esm/internals/useTreeView/useTreeViewPlugins.d.ts +0 -0
- package/esm/internals/useTreeView/useTreeViewPlugins.js +0 -0
- package/esm/internals/utils/models.d.ts +0 -7
- package/esm/internals/utils/models.js +0 -23
- package/internals/useTreeView/extractPluginParamsFromProps.js +0 -50
- package/internals/useTreeView/useTreeViewPlugins.d.ts +0 -0
- package/internals/useTreeView/useTreeViewPlugins.js +0 -1
- package/internals/utils/models.d.ts +0 -7
- package/internals/utils/models.js +0 -30
package/CHANGELOG.md
CHANGED
|
@@ -5,13 +5,235 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## 8.3.0
|
|
9
|
+
|
|
10
|
+
_May 8, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🎨 Added new styling options and shapes for `<FunnelChart />`, including `variant`, `borderRadius`, `pyramid`, and `step-pyramid` curves.
|
|
15
|
+
- 📚 Documentation improvements
|
|
16
|
+
- 🐞 Bugfixes
|
|
17
|
+
|
|
18
|
+
Special thanks go out to this community member for a valuable contribution:
|
|
19
|
+
@ptuukkan.
|
|
20
|
+
Team members who have contributed to this release:
|
|
21
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @rita-codes, @romgrk.
|
|
22
|
+
|
|
23
|
+
### Data Grid
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid@8.3.0`
|
|
26
|
+
|
|
27
|
+
- [DataGrid] Fix cell editing of computed columns with data source (#17684) @ptuukkan
|
|
28
|
+
- [DataGrid] Fix lazy loading crash with `isRowSelectable` prop (#17629) @MBilalShafi
|
|
29
|
+
- [DataGrid] Fix: use CSS nonce (#17726) @romgrk
|
|
30
|
+
- [DataGrid] Ignore `preProcessEditCellProps` for non-editable columns when starting a row update (#17732) @arminmeh
|
|
31
|
+
- [DataGrid] Avoid applying row selection propagation on filtered rows (#17739) @MBilalShafi
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid@8.3.0`.
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@8.3.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@8.3.0`.
|
|
40
|
+
|
|
41
|
+
### Date and Time Pickers
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-date-pickers@8.3.0`
|
|
44
|
+
|
|
45
|
+
- [DateTimePicker] Fix focus behavior on desktop variant (#17719) @LukasTy
|
|
46
|
+
- [pickers] Avoid `DigitalClock` stealing focus from a Picker open button on close (#17686) @LukasTy
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-date-pickers-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
49
|
+
|
|
50
|
+
Same changes as in `@mui/x-date-pickers@8.3.0`, plus:
|
|
51
|
+
|
|
52
|
+
- [DateRangePicker] Fix to reset range position after closing mobile Picker (#17631) @LukasTy
|
|
53
|
+
|
|
54
|
+
### Charts
|
|
55
|
+
|
|
56
|
+
- The `<FunnelChart />` series now accepts a `variant='outlined'` prop for a simpler style.
|
|
57
|
+
<img width="398" alt="Screenshot 2025-05-06 at 20 36 12" src="https://github.com/user-attachments/assets/00fef14f-9026-421e-a4b6-7e081adce1e8" />
|
|
58
|
+
|
|
59
|
+
- Add a `borderRadius` property to `<FunnelChart />`. All funnels have `8px` as a default value.
|
|
60
|
+
<img width="386" alt="Screenshot 2025-05-06 at 14 00 20" src="https://github.com/user-attachments/assets/4f4cc0e7-01ce-4ed6-a0e1-a387f78def23" />
|
|
61
|
+
|
|
62
|
+
- Add a `pyramid` curve to `<FunnelChart />`, which allows creation of a pyramid-shaped funnel.
|
|
63
|
+
<img width="344" alt="Screenshot 2025-05-06 at 14 32 59" src="https://github.com/user-attachments/assets/0b2896e0-0478-4766-bb1b-258a4977a751" />
|
|
64
|
+
|
|
65
|
+
- Add a `step-pyramid` curve to `<FunnelChart />`, which creates a stepped-pyramid like shape.
|
|
66
|
+
<img width="344" alt="Screenshot 2025-05-06 at 14 33 03" src="https://github.com/user-attachments/assets/894f0ab3-7898-40fe-b0df-560feea4085a" />
|
|
67
|
+
|
|
68
|
+
#### `@mui/x-charts@8.3.0`
|
|
69
|
+
|
|
70
|
+
- [charts] Add charts toolbar with zoom options (#17615) @bernardobelchior
|
|
71
|
+
- [charts] Add zoom slider (#17496) @bernardobelchior
|
|
72
|
+
- [charts] Cleanup compiler warnings (#17360) @alexfauquette
|
|
73
|
+
- [charts] Fix `<PieArcLabel />` not taking `arcLabelRadius` into account (#17655) @bernardobelchior
|
|
74
|
+
- [charts] Fix spark line not having clip path (#17501) @bernardobelchior
|
|
75
|
+
- [charts] Fix type issue with ESM (#17624) @alexfauquette
|
|
76
|
+
- [charts] Improve `<MarkElement />` performance (#17546) @bernardobelchior
|
|
77
|
+
- [charts] Rename `materialSlots` internal constant (#17710) @bernardobelchior
|
|
78
|
+
- [charts] Update zoom slider design (#17682) @bernardobelchior
|
|
79
|
+
- [charts] Fix zoom being documented as available for heatmap (#17657) @bernardobelchior
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-charts-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
82
|
+
|
|
83
|
+
Same changes as in `@mui/x-charts@8.3.0`, plus:
|
|
84
|
+
|
|
85
|
+
- [charts-pro] Add `pyramid` curve to `<FunnelChart />` (#17665) @JCQuintas
|
|
86
|
+
- [charts-pro] Add `variant='outlined'` to `<FunnelChart />` series (#17661) @JCQuintas
|
|
87
|
+
- [charts-pro] Add a `borderRadius` property to `<FunnelChart />` (#17660) @JCQuintas
|
|
88
|
+
|
|
89
|
+
### Tree View
|
|
90
|
+
|
|
91
|
+
#### `@mui/x-tree-view@8.3.0`
|
|
92
|
+
|
|
93
|
+
- [tree view] Bug fix - Escape does not cancel Drag n Drop (#17735) @rita-codes
|
|
94
|
+
- [tree view] Fix keyboard navigation error (#17685) @rita-codes
|
|
95
|
+
- [tree view] Continue cleaning the plugin system (#17386) @flaviendelangle
|
|
96
|
+
|
|
97
|
+
#### `@mui/x-tree-view-pro@8.3.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
98
|
+
|
|
99
|
+
Same changes as in `@mui/x-tree-view@8.3.0`.
|
|
100
|
+
|
|
101
|
+
### Docs
|
|
102
|
+
|
|
103
|
+
- [charts] Add population pyramid demo (#17652) @bernardobelchior
|
|
104
|
+
- [charts] Fix randomised argos test (#17658) @JCQuintas
|
|
105
|
+
- [docs] Make preview messaging consistent in charts @bernardobelchior
|
|
106
|
+
|
|
107
|
+
### Core
|
|
108
|
+
|
|
109
|
+
- [code-infra] Avoid `node` types in the built packages (#17533) @LukasTy
|
|
110
|
+
- [code-infra] Add `pkg.pr.new` publishing (#17402) @Janpot
|
|
111
|
+
- [code-infra] Normalize author package in org @oliviertassinari
|
|
112
|
+
- [code-infra] Remove required checkout step (#17729) @JCQuintas
|
|
113
|
+
- [docs-infra] Normalize netlify.toml in org @oliviertassinari
|
|
114
|
+
|
|
115
|
+
## 8.2.0
|
|
116
|
+
|
|
117
|
+
_May 1, 2025_
|
|
118
|
+
|
|
119
|
+
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
120
|
+
|
|
121
|
+
- 📊 `<FunnelChart/>` now uses the `strawberrySky` sequential color palette by default.
|
|
122
|
+
<img width="481" alt="Screenshot 2025-04-29 at 13 55 21" src="https://github.com/user-attachments/assets/182085d1-a7ce-4e4d-9d8d-a4fe87f27167" />
|
|
123
|
+
- 📊 Add API to export a chart as an image: `apiRef.exportAsImage` — [Learn more](https://mui.com/x/react-charts/export/#export-as-image).
|
|
124
|
+
|
|
125
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
126
|
+
@federico-ntr, @nusr.
|
|
127
|
+
Following are all team members who have contributed to this release:
|
|
128
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @hasdfa, @Janpot, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @romgrk.
|
|
129
|
+
|
|
130
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
131
|
+
|
|
132
|
+
### Data Grid
|
|
133
|
+
|
|
134
|
+
#### `@mui/x-data-grid@8.2.0`
|
|
135
|
+
|
|
136
|
+
- [DataGrid] Fix panel alignment (#17625) @KenanYusuf
|
|
137
|
+
- [DataGrid] Fix theme `defaultProps` causing unwanted re-renders (#17490) @KenanYusuf
|
|
138
|
+
- [DataGrid] Fix circular reference error (#17591) @romgrk
|
|
139
|
+
- [DataGrid] Fix `<GridEditInputCell />` break input (#16773) @nusr
|
|
140
|
+
|
|
141
|
+
#### `@mui/x-data-grid-pro@8.2.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
142
|
+
|
|
143
|
+
Same changes as in `@mui/x-data-grid@8.2.0`, plus:
|
|
144
|
+
|
|
145
|
+
- [DataGridPro] Use intersection observer to trigger server-side infinite loading (#17369) @arminmeh
|
|
146
|
+
|
|
147
|
+
#### `@mui/x-data-grid-premium@8.2.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
148
|
+
|
|
149
|
+
Same changes as in `@mui/x-data-grid-pro@8.2.0`.
|
|
150
|
+
|
|
151
|
+
### Date and Time Pickers
|
|
152
|
+
|
|
153
|
+
#### `@mui/x-date-pickers@8.2.0`
|
|
154
|
+
|
|
155
|
+
- [l10n] Improve Italian (it-IT) locale (#17600) @federico-ntr
|
|
156
|
+
- [pickers] Refactor owner state typing (#17517) @LukasTy
|
|
157
|
+
|
|
158
|
+
#### `@mui/x-date-pickers-pro@8.2.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
159
|
+
|
|
160
|
+
Same changes as in `@mui/x-date-pickers@8.2.0`.
|
|
161
|
+
|
|
162
|
+
### Charts
|
|
163
|
+
|
|
164
|
+
#### `@mui/x-charts@8.2.0`
|
|
165
|
+
|
|
166
|
+
- [charts] Add library name to errors (#17547) @bernardobelchior
|
|
167
|
+
- [charts] Add monochrome palettes (#17610) @JCQuintas
|
|
168
|
+
- [charts] Add screenshot of the tooltip (#17395) @alexfauquette
|
|
169
|
+
- [charts] Default bar chart x-axis scale type to band (#17519) @bernardobelchior
|
|
170
|
+
- [charts] Document axis ID uniqueness constraints (#17630) @bernardobelchior
|
|
171
|
+
- [charts] Refactor axis types (#17632) @bernardobelchior
|
|
172
|
+
- [charts] Use `<circle />` for circular legend mark (#17590) @alexfauquette
|
|
173
|
+
|
|
174
|
+
#### `@mui/x-charts-pro@8.2.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
175
|
+
|
|
176
|
+
Same changes as in `@mui/x-charts@8.2.0`, plus:
|
|
177
|
+
|
|
178
|
+
- [charts-pro] Add `gap` option to `<FunnelChart />` (#17642) @JCQuintas
|
|
179
|
+
- [charts-pro] Export charts as image (#17353) @bernardobelchior
|
|
180
|
+
- [charts-pro] Simplify zoom testing (#17525) @JCQuintas
|
|
181
|
+
- [charts-pro] Use new sequential color palette in `<FunnelChart />` (#17606) @JCQuintas
|
|
182
|
+
|
|
183
|
+
### Tree View
|
|
184
|
+
|
|
185
|
+
#### `@mui/x-tree-view@8.2.0`
|
|
186
|
+
|
|
187
|
+
Internal changes.
|
|
188
|
+
|
|
189
|
+
#### `@mui/x-tree-view-pro@8.2.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
190
|
+
|
|
191
|
+
Same changes as in `@mui/x-tree-view@8.2.0`.
|
|
192
|
+
|
|
193
|
+
### Docs
|
|
194
|
+
|
|
195
|
+
- [docs][charts] Add composition sections (#17377) @alexfauquette
|
|
196
|
+
- [docs][charts] Add docs on tooltip style (#17601) @bernardobelchior
|
|
197
|
+
- [docs][charts] Fix highlighting heading structure (#17581) @oliviertassinari
|
|
198
|
+
- [docs][charts] Improve export docs (#17538) @oliviertassinari
|
|
199
|
+
- [docs][charts] Similar introduction on most charts pages (#17374) @alexfauquette
|
|
200
|
+
- [docs][DataGrid] Clear component docs (#17540) @oliviertassinari
|
|
201
|
+
- [docs] Explicitly state that `groupingColDef` reference needs to be stable (#17544) @arminmeh
|
|
202
|
+
- [docs] Fix <kbd> a11y (#17536) @oliviertassinari
|
|
203
|
+
- [docs] Fix CodeSandbox spelling @oliviertassinari
|
|
204
|
+
- [docs] Fix coding style function @oliviertassinari
|
|
205
|
+
- [docs] Fix migration guide format (#17450) @oliviertassinari
|
|
206
|
+
- [docs] Improve data grid export docs (#17551) @MBilalShafi
|
|
207
|
+
- [docs] Remove leftover `@next` usages (#17542) @LukasTy
|
|
208
|
+
|
|
209
|
+
### Core
|
|
210
|
+
|
|
211
|
+
- [core] Add security label to dependabot PRs @oliviertassinari
|
|
212
|
+
- [core] Allow post-install vale @oliviertassinari
|
|
213
|
+
- [core] Component consistency @oliviertassinari
|
|
214
|
+
- [core] Fix all Vale errors @oliviertassinari
|
|
215
|
+
- [core] Move `loadStyleSheets` to internals and use it in data grid and charts (#17548) @bernardobelchior
|
|
216
|
+
- [core] Remove empty version (#17582) @oliviertassinari
|
|
217
|
+
- [core] Remove eslint from codemod spec files (#17443) @alexfauquette
|
|
218
|
+
- [core] Remove unnecessary versions (#17597) @oliviertassinari
|
|
219
|
+
- [code-infra] Allow postinstall scripts for packages requesting it (#17635) @LukasTy
|
|
220
|
+
- [code-infra] Data Grid `vitest` changes (#17619) @JCQuintas
|
|
221
|
+
- [code-infra] Fix date-time sensitive tests (#17644) @JCQuintas
|
|
222
|
+
- [code-infra] Fix extension handling for type imports (#17636) @Janpot
|
|
223
|
+
- [code-infra] Further remove `clock=fake` and add `async act` for datagrid (#17563) @JCQuintas
|
|
224
|
+
- [code-infra] Latest vitest picker changes (#17577) @JCQuintas
|
|
225
|
+
- [docs-infra] Fix Vale no longer working (#17602) @alexfauquette
|
|
226
|
+
- [docs-infra] Uniformize Vale between repositories @oliviertassinari
|
|
227
|
+
- [infra] Updates to `branch switch comments` (#17589) @michelengelen
|
|
228
|
+
- [x-telemetry] Fix issue with get machineid hash (#17614) @hasdfa
|
|
229
|
+
|
|
8
230
|
## 8.1.0
|
|
9
231
|
|
|
10
232
|
_Apr 24, 2025_
|
|
11
233
|
|
|
12
234
|
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
13
235
|
|
|
14
|
-
- 📊 Add API to print a chart or export it as PDF: `apiRef.exportAsPrint`.
|
|
236
|
+
- 📊 Add API to print a chart or export it as PDF: `apiRef.exportAsPrint()`.
|
|
15
237
|
- 📚 Documentation improvements
|
|
16
238
|
- 🐞 Bugfixes
|
|
17
239
|
|
|
@@ -56,7 +278,7 @@ Same changes as in `@mui/x-date-pickers@8.1.0`.
|
|
|
56
278
|
|
|
57
279
|
### Charts
|
|
58
280
|
|
|
59
|
-
- Add API to print a chart or export it as PDF: `apiRef.exportAsPrint`.
|
|
281
|
+
- Add API to print a chart or export it as PDF: `apiRef.exportAsPrint()`.
|
|
60
282
|
|
|
61
283
|
#### `@mui/x-charts@8.1.0`
|
|
62
284
|
|
|
@@ -1821,7 +2043,7 @@ Same changes as in `@mui/x-tree-view@8.0.0-alpha.8`.
|
|
|
1821
2043
|
- [docs] Add example for custom legend (#16169) @alexfauquette
|
|
1822
2044
|
- [docs] Add full custom field creation example (#15194) @flaviendelangle
|
|
1823
2045
|
- [docs] Copyedit the Data Grid cell selection page (#16099) @samuelsycamore
|
|
1824
|
-
- [docs] Fix demo rendering issue on
|
|
2046
|
+
- [docs] Fix demo rendering issue on CodeSandbox (#16118) @arminmeh
|
|
1825
2047
|
- [docs] Remove broken links (#16167) @alexfauquette
|
|
1826
2048
|
- [docs] Split the Data Grid editing page (#14931) @MBilalShafi
|
|
1827
2049
|
- [docs] Fix wrong props warnings (#16119) @JCQuintas
|
|
@@ -2268,7 +2490,7 @@ Releasing to benefit from license package fix (#15814).
|
|
|
2268
2490
|
|
|
2269
2491
|
- [code-infra] Add Charts sandbox generation (#15830) @JCQuintas
|
|
2270
2492
|
- [code-infra] Remove redundant `@type/react-test-renderer` dep (#15766) @LukasTy
|
|
2271
|
-
- [license] Use `console.log` for the error message on
|
|
2493
|
+
- [license] Use `console.log` for the error message on CodeSandbox to avoid rendering error (#15814) @arminmeh
|
|
2272
2494
|
|
|
2273
2495
|
## 8.0.0-alpha.3
|
|
2274
2496
|
|
|
@@ -2484,6 +2706,8 @@ Same changes as in `@mui/x-tree-view@v8.0.0-alpha.2`.
|
|
|
2484
2706
|
|
|
2485
2707
|
### Docs
|
|
2486
2708
|
|
|
2709
|
+
<!-- vale MUI.CorrectRererenceCased = NO -->
|
|
2710
|
+
|
|
2487
2711
|
- [docs] Fix 404 links (#15575) @oliviertassinari
|
|
2488
2712
|
- [docs] Fix bash comments (#15571) @oliviertassinari
|
|
2489
2713
|
- [docs] Fix Pickers theme augmentation example (#15672) @LukasTy
|
|
@@ -2493,6 +2717,8 @@ Same changes as in `@mui/x-tree-view@v8.0.0-alpha.2`.
|
|
|
2493
2717
|
- [docs] Fix `anchorEl` API page for charts (#15625) @oliviertassinari
|
|
2494
2718
|
- [docs] Add documentation for the list view feature (#15344) @KenanYusuf
|
|
2495
2719
|
|
|
2720
|
+
<!-- vale MUI.CorrectRererenceCased = YES -->
|
|
2721
|
+
|
|
2496
2722
|
### Core
|
|
2497
2723
|
|
|
2498
2724
|
- [core] Follow `()` function convention for docs @oliviertassinari
|
|
@@ -3401,7 +3627,7 @@ Same changes as in `@mui/x-tree-view@7.24.0`.
|
|
|
3401
3627
|
### Docs
|
|
3402
3628
|
|
|
3403
3629
|
- [docs] Copyedit the Data Grid cell selection page (#16213) @samuelsycamore
|
|
3404
|
-
- [docs] Fix demo rendering issue on
|
|
3630
|
+
- [docs] Fix demo rendering issue on CodeSandbox (#16129) @arminmeh
|
|
3405
3631
|
|
|
3406
3632
|
### Core
|
|
3407
3633
|
|
|
@@ -3679,7 +3905,7 @@ Releasing to benefit from license package fix (#15818).
|
|
|
3679
3905
|
### Core
|
|
3680
3906
|
|
|
3681
3907
|
- [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
|
|
3682
|
-
- [license] Use `console.log` for the error message on
|
|
3908
|
+
- [license] Use `console.log` for the error message on CodeSandbox to avoid rendering error (#15818) @arminmeh
|
|
3683
3909
|
|
|
3684
3910
|
## 7.23.1
|
|
3685
3911
|
|
|
@@ -7020,7 +7246,7 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.4`.
|
|
|
7020
7246
|
/>
|
|
7021
7247
|
```
|
|
7022
7248
|
|
|
7023
|
-
- The headless field hooks (
|
|
7249
|
+
- The headless field hooks (for example `useDateField()`) now returns a new prop called `enableAccessibleFieldDOMStructure`.
|
|
7024
7250
|
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure.
|
|
7025
7251
|
Learn more about this new accessible DOM structure in the [v8 migration guide](https://v7.mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field).
|
|
7026
7252
|
|
|
@@ -189,12 +189,6 @@ process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
|
|
|
189
189
|
* @default 'content'
|
|
190
190
|
*/
|
|
191
191
|
expansionTrigger: _propTypes.default.oneOf(['content', 'iconContainer']),
|
|
192
|
-
/**
|
|
193
|
-
* Unstable features, breaking changes might be introduced.
|
|
194
|
-
* For each feature, if the flag is not explicitly set to `true`,
|
|
195
|
-
* the feature will be fully disabled and any property / method call will not have any effect.
|
|
196
|
-
*/
|
|
197
|
-
experimentalFeatures: _propTypes.default.object,
|
|
198
192
|
/**
|
|
199
193
|
* Used to determine the id of a given item.
|
|
200
194
|
*
|
|
@@ -5,6 +5,6 @@ import { UseTreeViewSelectionParameters } from "../internals/plugins/useTreeView
|
|
|
5
5
|
import { UseTreeViewFocusParameters } from "../internals/plugins/useTreeViewFocus/index.js";
|
|
6
6
|
import { ConvertPluginsIntoSignatures } from "../internals/models/index.js";
|
|
7
7
|
import { UseTreeViewLabelParameters } from "../internals/plugins/useTreeViewLabel/index.js";
|
|
8
|
-
export declare const RICH_TREE_VIEW_PLUGINS: readonly [import("../internals").TreeViewPlugin<import("../internals").UseTreeViewItemsSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewExpansionSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewSelectionSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewFocusSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewKeyboardNavigationSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewLabelSignature>];
|
|
8
|
+
export declare const RICH_TREE_VIEW_PLUGINS: readonly [import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewItemsSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewExpansionSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewSelectionSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewFocusSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewKeyboardNavigationSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewLabelSignature>];
|
|
9
9
|
export type RichTreeViewPluginSignatures = ConvertPluginsIntoSignatures<typeof RICH_TREE_VIEW_PLUGINS>;
|
|
10
10
|
export interface RichTreeViewPluginParameters<R extends {}, Multiple extends boolean | undefined> extends TreeViewCorePluginParameters, UseTreeViewItemsParameters<R>, UseTreeViewExpansionParameters, UseTreeViewFocusParameters, UseTreeViewSelectionParameters<Multiple>, UseTreeViewLabelParameters<R> {}
|
|
@@ -4,7 +4,7 @@ import { SxProps } from '@mui/system/styleFunctionSx';
|
|
|
4
4
|
import { SlotComponentProps } from '@mui/utils/types';
|
|
5
5
|
import { RichTreeViewClasses } from "./richTreeViewClasses.js";
|
|
6
6
|
import { RichTreeViewPluginParameters, RichTreeViewPluginSignatures } from "./RichTreeView.plugins.js";
|
|
7
|
-
import {
|
|
7
|
+
import { TreeViewPublicAPI } from "../internals/models/index.js";
|
|
8
8
|
import { RichTreeViewItemsSlotProps, RichTreeViewItemsSlots } from "../internals/components/RichTreeViewItems.js";
|
|
9
9
|
import { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
10
10
|
export interface RichTreeViewSlots extends TreeViewSlots, RichTreeViewItemsSlots {
|
|
@@ -44,10 +44,4 @@ export interface RichTreeViewProps<R extends {}, Multiple extends boolean | unde
|
|
|
44
44
|
* The ref object that allows Tree View manipulation. Can be instantiated with `useTreeViewApiRef()`.
|
|
45
45
|
*/
|
|
46
46
|
apiRef?: RichTreeViewApiRef;
|
|
47
|
-
/**
|
|
48
|
-
* Unstable features, breaking changes might be introduced.
|
|
49
|
-
* For each feature, if the flag is not explicitly set to `true`,
|
|
50
|
-
* the feature will be fully disabled and any property / method call will not have any effect.
|
|
51
|
-
*/
|
|
52
|
-
experimentalFeatures?: TreeViewExperimentalFeatures<RichTreeViewPluginSignatures>;
|
|
53
47
|
}
|
package/RichTreeView/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./RichTreeView.js";
|
|
2
2
|
export * from "./richTreeViewClasses.js";
|
|
3
|
-
export type { RichTreeViewProps, RichTreeViewPropsBase, RichTreeViewSlots, RichTreeViewSlotProps } from
|
|
3
|
+
export type { RichTreeViewProps, RichTreeViewPropsBase, RichTreeViewSlots, RichTreeViewSlotProps } from "./RichTreeView.types.js";
|
|
4
4
|
export { RICH_TREE_VIEW_PLUGINS } from "./RichTreeView.plugins.js";
|
|
5
|
-
export type { RichTreeViewPluginParameters } from
|
|
5
|
+
export type { RichTreeViewPluginParameters } from "./RichTreeView.plugins.js";
|
|
@@ -173,12 +173,6 @@ process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes = {
|
|
|
173
173
|
* @default 'content'
|
|
174
174
|
*/
|
|
175
175
|
expansionTrigger: _propTypes.default.oneOf(['content', 'iconContainer']),
|
|
176
|
-
/**
|
|
177
|
-
* Unstable features, breaking changes might be introduced.
|
|
178
|
-
* For each feature, if the flag is not explicitly set to `true`,
|
|
179
|
-
* the feature will be fully disabled and any property / method call will not have any effect.
|
|
180
|
-
*/
|
|
181
|
-
experimentalFeatures: _propTypes.default.object,
|
|
182
176
|
/**
|
|
183
177
|
* This prop is used to help implement the accessibility logic.
|
|
184
178
|
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
@@ -4,6 +4,6 @@ import { UseTreeViewExpansionParameters } from "../internals/plugins/useTreeView
|
|
|
4
4
|
import { UseTreeViewSelectionParameters } from "../internals/plugins/useTreeViewSelection/index.js";
|
|
5
5
|
import { UseTreeViewFocusParameters } from "../internals/plugins/useTreeViewFocus/index.js";
|
|
6
6
|
import { ConvertPluginsIntoSignatures } from "../internals/models/index.js";
|
|
7
|
-
export declare const SIMPLE_TREE_VIEW_PLUGINS: readonly [import("../internals").TreeViewPlugin<import("../internals").UseTreeViewItemsSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewExpansionSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewSelectionSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewFocusSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewKeyboardNavigationSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewJSXItemsSignature>];
|
|
7
|
+
export declare const SIMPLE_TREE_VIEW_PLUGINS: readonly [import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewItemsSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewExpansionSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewSelectionSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewFocusSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewKeyboardNavigationSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewJSXItemsSignature>];
|
|
8
8
|
export type SimpleTreeViewPluginSignatures = ConvertPluginsIntoSignatures<typeof SIMPLE_TREE_VIEW_PLUGINS>;
|
|
9
9
|
export interface SimpleTreeViewPluginParameters<Multiple extends boolean | undefined> extends TreeViewCorePluginParameters, Omit<UseTreeViewItemsParameters<any>, 'items' | 'isItemDisabled' | 'getItemLabel' | 'getItemId'>, UseTreeViewExpansionParameters, UseTreeViewFocusParameters, UseTreeViewSelectionParameters<Multiple> {}
|
|
@@ -4,7 +4,7 @@ import { SlotComponentProps } from '@mui/utils/types';
|
|
|
4
4
|
import { SxProps } from '@mui/system/styleFunctionSx';
|
|
5
5
|
import { SimpleTreeViewClasses } from "./simpleTreeViewClasses.js";
|
|
6
6
|
import { SimpleTreeViewPluginParameters, SimpleTreeViewPluginSignatures } from "./SimpleTreeView.plugins.js";
|
|
7
|
-
import {
|
|
7
|
+
import { TreeViewPublicAPI } from "../internals/models/index.js";
|
|
8
8
|
import { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
9
9
|
export interface SimpleTreeViewSlots extends TreeViewSlots {
|
|
10
10
|
/**
|
|
@@ -43,10 +43,4 @@ export interface SimpleTreeViewProps<Multiple extends boolean | undefined> exten
|
|
|
43
43
|
* The ref object that allows Tree View manipulation. Can be instantiated with `useTreeViewApiRef()`.
|
|
44
44
|
*/
|
|
45
45
|
apiRef?: SimpleTreeViewApiRef;
|
|
46
|
-
/**
|
|
47
|
-
* Unstable features, breaking changes might be introduced.
|
|
48
|
-
* For each feature, if the flag is not explicitly set to `true`,
|
|
49
|
-
* the feature will be fully disabled and any property / method call will not have any effect.
|
|
50
|
-
*/
|
|
51
|
-
experimentalFeatures?: TreeViewExperimentalFeatures<SimpleTreeViewPluginSignatures>;
|
|
52
46
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from "./SimpleTreeView.js";
|
|
2
2
|
export * from "./simpleTreeViewClasses.js";
|
|
3
|
-
export type { SimpleTreeViewProps, SimpleTreeViewSlots, SimpleTreeViewSlotProps } from
|
|
3
|
+
export type { SimpleTreeViewProps, SimpleTreeViewSlots, SimpleTreeViewSlotProps } from "./SimpleTreeView.types.js";
|
package/TreeItem/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { TreeItem, TreeItemRoot, TreeItemContent, TreeItemIconContainer, TreeItemGroupTransition, TreeItemCheckbox, TreeItemLabel } from "./TreeItem.js";
|
|
2
|
-
export type { TreeItemProps, TreeItemSlots, TreeItemSlotProps } from
|
|
2
|
+
export type { TreeItemProps, TreeItemSlots, TreeItemSlotProps } from "./TreeItem.types.js";
|
|
3
3
|
export { getTreeItemUtilityClass, treeItemClasses } from "./treeItemClasses.js";
|
|
4
|
-
export type { TreeItemClassKey, TreeItemClasses } from
|
|
4
|
+
export type { TreeItemClassKey, TreeItemClasses } from "./treeItemClasses.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TreeItemDragAndDropOverlay } from "./TreeItemDragAndDropOverlay.js";
|
|
2
|
-
export type { TreeItemDragAndDropOverlayProps } from
|
|
2
|
+
export type { TreeItemDragAndDropOverlayProps } from "./TreeItemDragAndDropOverlay.types.js";
|
package/TreeItemIcon/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TreeItemIcon } from "./TreeItemIcon.js";
|
|
2
|
-
export type { TreeItemIconProps, TreeItemIconSlots, TreeItemIconSlotProps } from
|
|
2
|
+
export type { TreeItemIconProps, TreeItemIconSlots, TreeItemIconSlotProps } from "./TreeItemIcon.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TreeItemLabelInput } from "./TreeItemLabelInput.js";
|
|
2
|
-
export type { TreeItemLabelInputProps } from
|
|
2
|
+
export type { TreeItemLabelInputProps } from "./TreeItemLabelInput.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TreeItemProvider } from "./TreeItemProvider.js";
|
|
2
|
-
export type { TreeItemProviderProps } from
|
|
2
|
+
export type { TreeItemProviderProps } from "./TreeItemProvider.types.js";
|
|
@@ -182,12 +182,6 @@ process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
|
|
|
182
182
|
* @default 'content'
|
|
183
183
|
*/
|
|
184
184
|
expansionTrigger: PropTypes.oneOf(['content', 'iconContainer']),
|
|
185
|
-
/**
|
|
186
|
-
* Unstable features, breaking changes might be introduced.
|
|
187
|
-
* For each feature, if the flag is not explicitly set to `true`,
|
|
188
|
-
* the feature will be fully disabled and any property / method call will not have any effect.
|
|
189
|
-
*/
|
|
190
|
-
experimentalFeatures: PropTypes.object,
|
|
191
185
|
/**
|
|
192
186
|
* Used to determine the id of a given item.
|
|
193
187
|
*
|
|
@@ -5,6 +5,6 @@ import { UseTreeViewSelectionParameters } from "../internals/plugins/useTreeView
|
|
|
5
5
|
import { UseTreeViewFocusParameters } from "../internals/plugins/useTreeViewFocus/index.js";
|
|
6
6
|
import { ConvertPluginsIntoSignatures } from "../internals/models/index.js";
|
|
7
7
|
import { UseTreeViewLabelParameters } from "../internals/plugins/useTreeViewLabel/index.js";
|
|
8
|
-
export declare const RICH_TREE_VIEW_PLUGINS: readonly [import("../internals").TreeViewPlugin<import("../internals").UseTreeViewItemsSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewExpansionSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewSelectionSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewFocusSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewKeyboardNavigationSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewLabelSignature>];
|
|
8
|
+
export declare const RICH_TREE_VIEW_PLUGINS: readonly [import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewItemsSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewExpansionSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewSelectionSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewFocusSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewKeyboardNavigationSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewLabelSignature>];
|
|
9
9
|
export type RichTreeViewPluginSignatures = ConvertPluginsIntoSignatures<typeof RICH_TREE_VIEW_PLUGINS>;
|
|
10
10
|
export interface RichTreeViewPluginParameters<R extends {}, Multiple extends boolean | undefined> extends TreeViewCorePluginParameters, UseTreeViewItemsParameters<R>, UseTreeViewExpansionParameters, UseTreeViewFocusParameters, UseTreeViewSelectionParameters<Multiple>, UseTreeViewLabelParameters<R> {}
|
|
@@ -4,7 +4,7 @@ import { SxProps } from '@mui/system/styleFunctionSx';
|
|
|
4
4
|
import { SlotComponentProps } from '@mui/utils/types';
|
|
5
5
|
import { RichTreeViewClasses } from "./richTreeViewClasses.js";
|
|
6
6
|
import { RichTreeViewPluginParameters, RichTreeViewPluginSignatures } from "./RichTreeView.plugins.js";
|
|
7
|
-
import {
|
|
7
|
+
import { TreeViewPublicAPI } from "../internals/models/index.js";
|
|
8
8
|
import { RichTreeViewItemsSlotProps, RichTreeViewItemsSlots } from "../internals/components/RichTreeViewItems.js";
|
|
9
9
|
import { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
10
10
|
export interface RichTreeViewSlots extends TreeViewSlots, RichTreeViewItemsSlots {
|
|
@@ -44,10 +44,4 @@ export interface RichTreeViewProps<R extends {}, Multiple extends boolean | unde
|
|
|
44
44
|
* The ref object that allows Tree View manipulation. Can be instantiated with `useTreeViewApiRef()`.
|
|
45
45
|
*/
|
|
46
46
|
apiRef?: RichTreeViewApiRef;
|
|
47
|
-
/**
|
|
48
|
-
* Unstable features, breaking changes might be introduced.
|
|
49
|
-
* For each feature, if the flag is not explicitly set to `true`,
|
|
50
|
-
* the feature will be fully disabled and any property / method call will not have any effect.
|
|
51
|
-
*/
|
|
52
|
-
experimentalFeatures?: TreeViewExperimentalFeatures<RichTreeViewPluginSignatures>;
|
|
53
47
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./RichTreeView.js";
|
|
2
2
|
export * from "./richTreeViewClasses.js";
|
|
3
|
-
export type { RichTreeViewProps, RichTreeViewPropsBase, RichTreeViewSlots, RichTreeViewSlotProps } from
|
|
3
|
+
export type { RichTreeViewProps, RichTreeViewPropsBase, RichTreeViewSlots, RichTreeViewSlotProps } from "./RichTreeView.types.js";
|
|
4
4
|
export { RICH_TREE_VIEW_PLUGINS } from "./RichTreeView.plugins.js";
|
|
5
|
-
export type { RichTreeViewPluginParameters } from
|
|
5
|
+
export type { RichTreeViewPluginParameters } from "./RichTreeView.plugins.js";
|
|
@@ -166,12 +166,6 @@ process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes = {
|
|
|
166
166
|
* @default 'content'
|
|
167
167
|
*/
|
|
168
168
|
expansionTrigger: PropTypes.oneOf(['content', 'iconContainer']),
|
|
169
|
-
/**
|
|
170
|
-
* Unstable features, breaking changes might be introduced.
|
|
171
|
-
* For each feature, if the flag is not explicitly set to `true`,
|
|
172
|
-
* the feature will be fully disabled and any property / method call will not have any effect.
|
|
173
|
-
*/
|
|
174
|
-
experimentalFeatures: PropTypes.object,
|
|
175
169
|
/**
|
|
176
170
|
* This prop is used to help implement the accessibility logic.
|
|
177
171
|
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
@@ -4,6 +4,6 @@ import { UseTreeViewExpansionParameters } from "../internals/plugins/useTreeView
|
|
|
4
4
|
import { UseTreeViewSelectionParameters } from "../internals/plugins/useTreeViewSelection/index.js";
|
|
5
5
|
import { UseTreeViewFocusParameters } from "../internals/plugins/useTreeViewFocus/index.js";
|
|
6
6
|
import { ConvertPluginsIntoSignatures } from "../internals/models/index.js";
|
|
7
|
-
export declare const SIMPLE_TREE_VIEW_PLUGINS: readonly [import("../internals").TreeViewPlugin<import("../internals").UseTreeViewItemsSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewExpansionSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewSelectionSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewFocusSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewKeyboardNavigationSignature>, import("../internals").TreeViewPlugin<import("../internals").UseTreeViewJSXItemsSignature>];
|
|
7
|
+
export declare const SIMPLE_TREE_VIEW_PLUGINS: readonly [import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewItemsSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewExpansionSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewSelectionSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewFocusSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewKeyboardNavigationSignature>, import("../internals/index.js").TreeViewPlugin<import("../internals/index.js").UseTreeViewJSXItemsSignature>];
|
|
8
8
|
export type SimpleTreeViewPluginSignatures = ConvertPluginsIntoSignatures<typeof SIMPLE_TREE_VIEW_PLUGINS>;
|
|
9
9
|
export interface SimpleTreeViewPluginParameters<Multiple extends boolean | undefined> extends TreeViewCorePluginParameters, Omit<UseTreeViewItemsParameters<any>, 'items' | 'isItemDisabled' | 'getItemLabel' | 'getItemId'>, UseTreeViewExpansionParameters, UseTreeViewFocusParameters, UseTreeViewSelectionParameters<Multiple> {}
|
|
@@ -4,7 +4,7 @@ import { SlotComponentProps } from '@mui/utils/types';
|
|
|
4
4
|
import { SxProps } from '@mui/system/styleFunctionSx';
|
|
5
5
|
import { SimpleTreeViewClasses } from "./simpleTreeViewClasses.js";
|
|
6
6
|
import { SimpleTreeViewPluginParameters, SimpleTreeViewPluginSignatures } from "./SimpleTreeView.plugins.js";
|
|
7
|
-
import {
|
|
7
|
+
import { TreeViewPublicAPI } from "../internals/models/index.js";
|
|
8
8
|
import { TreeViewSlotProps, TreeViewSlots } from "../internals/TreeViewProvider/TreeViewStyleContext.js";
|
|
9
9
|
export interface SimpleTreeViewSlots extends TreeViewSlots {
|
|
10
10
|
/**
|
|
@@ -43,10 +43,4 @@ export interface SimpleTreeViewProps<Multiple extends boolean | undefined> exten
|
|
|
43
43
|
* The ref object that allows Tree View manipulation. Can be instantiated with `useTreeViewApiRef()`.
|
|
44
44
|
*/
|
|
45
45
|
apiRef?: SimpleTreeViewApiRef;
|
|
46
|
-
/**
|
|
47
|
-
* Unstable features, breaking changes might be introduced.
|
|
48
|
-
* For each feature, if the flag is not explicitly set to `true`,
|
|
49
|
-
* the feature will be fully disabled and any property / method call will not have any effect.
|
|
50
|
-
*/
|
|
51
|
-
experimentalFeatures?: TreeViewExperimentalFeatures<SimpleTreeViewPluginSignatures>;
|
|
52
46
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from "./SimpleTreeView.js";
|
|
2
2
|
export * from "./simpleTreeViewClasses.js";
|
|
3
|
-
export type { SimpleTreeViewProps, SimpleTreeViewSlots, SimpleTreeViewSlotProps } from
|
|
3
|
+
export type { SimpleTreeViewProps, SimpleTreeViewSlots, SimpleTreeViewSlotProps } from "./SimpleTreeView.types.js";
|
package/esm/TreeItem/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { TreeItem, TreeItemRoot, TreeItemContent, TreeItemIconContainer, TreeItemGroupTransition, TreeItemCheckbox, TreeItemLabel } from "./TreeItem.js";
|
|
2
|
-
export type { TreeItemProps, TreeItemSlots, TreeItemSlotProps } from
|
|
2
|
+
export type { TreeItemProps, TreeItemSlots, TreeItemSlotProps } from "./TreeItem.types.js";
|
|
3
3
|
export { getTreeItemUtilityClass, treeItemClasses } from "./treeItemClasses.js";
|
|
4
|
-
export type { TreeItemClassKey, TreeItemClasses } from
|
|
4
|
+
export type { TreeItemClassKey, TreeItemClasses } from "./treeItemClasses.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TreeItemDragAndDropOverlay } from "./TreeItemDragAndDropOverlay.js";
|
|
2
|
-
export type { TreeItemDragAndDropOverlayProps } from
|
|
2
|
+
export type { TreeItemDragAndDropOverlayProps } from "./TreeItemDragAndDropOverlay.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TreeItemIcon } from "./TreeItemIcon.js";
|
|
2
|
-
export type { TreeItemIconProps, TreeItemIconSlots, TreeItemIconSlotProps } from
|
|
2
|
+
export type { TreeItemIconProps, TreeItemIconSlots, TreeItemIconSlotProps } from "./TreeItemIcon.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TreeItemLabelInput } from "./TreeItemLabelInput.js";
|
|
2
|
-
export type { TreeItemLabelInputProps } from
|
|
2
|
+
export type { TreeItemLabelInputProps } from "./TreeItemLabelInput.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TreeItemProvider } from "./TreeItemProvider.js";
|
|
2
|
-
export type { TreeItemProviderProps } from
|
|
2
|
+
export type { TreeItemProviderProps } from "./TreeItemProvider.types.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { UseTreeViewLazyLoadingSignature } from
|
|
3
|
-
import type { UseTreeViewSelectionSignature } from
|
|
4
|
-
import type { UseTreeViewExpansionSignature } from
|
|
5
|
-
import type { UseTreeViewItemsSignature } from
|
|
6
|
-
import type { UseTreeViewFocusSignature } from
|
|
2
|
+
import type { UseTreeViewLazyLoadingSignature } from "../../internals/plugins/useTreeViewLazyLoading/index.js";
|
|
3
|
+
import type { UseTreeViewSelectionSignature } from "../../internals/plugins/useTreeViewSelection/index.js";
|
|
4
|
+
import type { UseTreeViewExpansionSignature } from "../../internals/plugins/useTreeViewExpansion/index.js";
|
|
5
|
+
import type { UseTreeViewItemsSignature } from "../../internals/plugins/useTreeViewItems/index.js";
|
|
6
|
+
import type { UseTreeViewFocusSignature } from "../../internals/plugins/useTreeViewFocus/index.js";
|
|
7
7
|
import { UseTreeViewLabelSignature } from "../../internals/plugins/useTreeViewLabel/index.js";
|
|
8
|
-
import type { UseTreeItemStatus } from
|
|
8
|
+
import type { UseTreeItemStatus } from "../../useTreeItem/index.js";
|
|
9
9
|
import { TreeViewPublicAPI } from "../../internals/models/index.js";
|
|
10
10
|
export interface UseTreeItemInteractions {
|
|
11
11
|
handleExpansion: (event: React.MouseEvent) => void;
|
package/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TreeViewItemId } from "../../models/index.js";
|
|
3
3
|
import { TreeViewState } from "../models/index.js";
|
|
4
|
-
import type { UseTreeViewItemsSignature } from
|
|
4
|
+
import type { UseTreeViewItemsSignature } from "../plugins/useTreeViewItems/index.js";
|
|
5
5
|
export declare const TreeViewItemDepthContext: React.Context<number | ((state: TreeViewState<[UseTreeViewItemsSignature]>, itemId: TreeViewItemId) => number)>;
|