@mui/x-tree-view 8.10.2 → 8.11.1

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.
Files changed (154) hide show
  1. package/CHANGELOG.md +214 -13
  2. package/RichTreeView/RichTreeView.js +16 -15
  3. package/RichTreeView/RichTreeView.types.d.ts +3 -2
  4. package/SimpleTreeView/SimpleTreeView.js +10 -9
  5. package/SimpleTreeView/SimpleTreeView.types.d.ts +3 -2
  6. package/TreeItem/TreeItem.d.ts +1 -1
  7. package/TreeItem/TreeItem.types.d.ts +3 -1
  8. package/TreeItemProvider/TreeItemProvider.js +3 -3
  9. package/esm/RichTreeView/RichTreeView.js +16 -15
  10. package/esm/RichTreeView/RichTreeView.types.d.ts +3 -2
  11. package/esm/SimpleTreeView/SimpleTreeView.js +10 -9
  12. package/esm/SimpleTreeView/SimpleTreeView.types.d.ts +3 -2
  13. package/esm/TreeItem/TreeItem.d.ts +1 -1
  14. package/esm/TreeItem/TreeItem.types.d.ts +3 -1
  15. package/esm/TreeItemProvider/TreeItemProvider.js +3 -3
  16. package/esm/hooks/useTreeItemModel.js +3 -3
  17. package/esm/hooks/useTreeItemUtils/useTreeItemUtils.js +24 -25
  18. package/esm/index.js +1 -1
  19. package/esm/internals/TreeViewProvider/TreeViewChildrenItemProvider.js +2 -2
  20. package/esm/internals/TreeViewProvider/TreeViewProvider.types.d.ts +3 -3
  21. package/esm/internals/components/RichTreeViewItems.js +5 -5
  22. package/esm/internals/corePlugins/useTreeViewId/index.d.ts +2 -1
  23. package/esm/internals/corePlugins/useTreeViewId/index.js +2 -1
  24. package/esm/internals/corePlugins/useTreeViewId/useTreeViewId.js +10 -13
  25. package/esm/internals/corePlugins/useTreeViewId/useTreeViewId.selectors.d.ts +8 -34
  26. package/esm/internals/corePlugins/useTreeViewId/useTreeViewId.selectors.js +9 -9
  27. package/esm/internals/index.d.ts +6 -14
  28. package/esm/internals/index.js +6 -13
  29. package/esm/internals/models/plugin.d.ts +2 -3
  30. package/esm/internals/models/treeView.d.ts +4 -6
  31. package/esm/internals/plugins/useTreeViewExpansion/index.d.ts +2 -1
  32. package/esm/internals/plugins/useTreeViewExpansion/index.js +2 -1
  33. package/esm/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.js +26 -30
  34. package/esm/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.d.ts +24 -316
  35. package/esm/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.js +27 -38
  36. package/esm/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.types.d.ts +7 -1
  37. package/esm/internals/plugins/useTreeViewFocus/index.d.ts +2 -1
  38. package/esm/internals/plugins/useTreeViewFocus/index.js +2 -1
  39. package/esm/internals/plugins/useTreeViewFocus/useTreeViewFocus.js +17 -21
  40. package/esm/internals/plugins/useTreeViewFocus/useTreeViewFocus.selectors.d.ts +20 -628
  41. package/esm/internals/plugins/useTreeViewFocus/useTreeViewFocus.selectors.js +25 -37
  42. package/esm/internals/plugins/useTreeViewItems/index.d.ts +2 -1
  43. package/esm/internals/plugins/useTreeViewItems/index.js +2 -1
  44. package/esm/internals/plugins/useTreeViewItems/useTreeViewItems.js +78 -99
  45. package/esm/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.d.ts +52 -1142
  46. package/esm/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.js +58 -98
  47. package/esm/internals/plugins/useTreeViewItems/useTreeViewItems.utils.d.ts +1 -1
  48. package/esm/internals/plugins/useTreeViewItems/useTreeViewItems.utils.js +1 -1
  49. package/esm/internals/plugins/useTreeViewJSXItems/useTreeViewJSXItems.js +32 -42
  50. package/esm/internals/plugins/useTreeViewKeyboardNavigation/useTreeViewKeyboardNavigation.js +22 -22
  51. package/esm/internals/plugins/useTreeViewKeyboardNavigation/useTreeViewKeyboardNavigation.types.d.ts +2 -0
  52. package/esm/internals/plugins/useTreeViewLabel/index.d.ts +2 -1
  53. package/esm/internals/plugins/useTreeViewLabel/index.js +2 -1
  54. package/esm/internals/plugins/useTreeViewLabel/useTreeViewLabel.itemPlugin.js +4 -4
  55. package/esm/internals/plugins/useTreeViewLabel/useTreeViewLabel.js +17 -25
  56. package/esm/internals/plugins/useTreeViewLabel/useTreeViewLabel.selectors.d.ts +14 -100
  57. package/esm/internals/plugins/useTreeViewLabel/useTreeViewLabel.selectors.js +24 -34
  58. package/esm/internals/plugins/useTreeViewLazyLoading/index.d.ts +2 -1
  59. package/esm/internals/plugins/useTreeViewLazyLoading/index.js +1 -1
  60. package/esm/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.selectors.d.ts +18 -245
  61. package/esm/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.selectors.js +15 -27
  62. package/esm/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.types.d.ts +20 -6
  63. package/esm/internals/plugins/useTreeViewSelection/index.d.ts +2 -1
  64. package/esm/internals/plugins/useTreeViewSelection/index.js +2 -1
  65. package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.itemPlugin.js +25 -38
  66. package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.js +30 -34
  67. package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.selectors.d.ts +38 -517
  68. package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.selectors.js +46 -71
  69. package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.types.d.ts +1 -0
  70. package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.utils.js +10 -10
  71. package/esm/internals/useTreeView/useTreeView.d.ts +1 -1
  72. package/esm/internals/useTreeView/useTreeView.js +11 -18
  73. package/esm/internals/useTreeView/useTreeView.types.d.ts +1 -1
  74. package/esm/internals/useTreeView/useTreeViewBuildContext.d.ts +2 -3
  75. package/esm/internals/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js +0 -2
  76. package/esm/internals/utils/tree.js +33 -33
  77. package/esm/useTreeItem/useTreeItem.js +14 -14
  78. package/esm/useTreeItem/useTreeItem.types.d.ts +2 -1
  79. package/hooks/useTreeItemModel.js +3 -3
  80. package/hooks/useTreeItemUtils/useTreeItemUtils.js +18 -19
  81. package/index.js +1 -1
  82. package/internals/TreeViewProvider/TreeViewChildrenItemProvider.js +1 -1
  83. package/internals/TreeViewProvider/TreeViewProvider.types.d.ts +3 -3
  84. package/internals/components/RichTreeViewItems.js +5 -5
  85. package/internals/corePlugins/useTreeViewId/index.d.ts +2 -1
  86. package/internals/corePlugins/useTreeViewId/index.js +8 -1
  87. package/internals/corePlugins/useTreeViewId/useTreeViewId.js +9 -12
  88. package/internals/corePlugins/useTreeViewId/useTreeViewId.selectors.d.ts +8 -34
  89. package/internals/corePlugins/useTreeViewId/useTreeViewId.selectors.js +10 -10
  90. package/internals/index.d.ts +6 -14
  91. package/internals/index.js +12 -73
  92. package/internals/models/plugin.d.ts +2 -3
  93. package/internals/models/treeView.d.ts +4 -6
  94. package/internals/plugins/useTreeViewExpansion/index.d.ts +2 -1
  95. package/internals/plugins/useTreeViewExpansion/index.js +8 -1
  96. package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.js +24 -28
  97. package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.d.ts +24 -316
  98. package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.js +27 -38
  99. package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.types.d.ts +7 -1
  100. package/internals/plugins/useTreeViewFocus/index.d.ts +2 -1
  101. package/internals/plugins/useTreeViewFocus/index.js +8 -1
  102. package/internals/plugins/useTreeViewFocus/useTreeViewFocus.js +14 -18
  103. package/internals/plugins/useTreeViewFocus/useTreeViewFocus.selectors.d.ts +20 -628
  104. package/internals/plugins/useTreeViewFocus/useTreeViewFocus.selectors.js +23 -35
  105. package/internals/plugins/useTreeViewItems/index.d.ts +2 -1
  106. package/internals/plugins/useTreeViewItems/index.js +8 -1
  107. package/internals/plugins/useTreeViewItems/useTreeViewItems.js +77 -98
  108. package/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.d.ts +52 -1142
  109. package/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.js +59 -99
  110. package/internals/plugins/useTreeViewItems/useTreeViewItems.utils.d.ts +1 -1
  111. package/internals/plugins/useTreeViewItems/useTreeViewItems.utils.js +1 -1
  112. package/internals/plugins/useTreeViewJSXItems/useTreeViewJSXItems.js +32 -42
  113. package/internals/plugins/useTreeViewKeyboardNavigation/useTreeViewKeyboardNavigation.js +18 -18
  114. package/internals/plugins/useTreeViewKeyboardNavigation/useTreeViewKeyboardNavigation.types.d.ts +2 -0
  115. package/internals/plugins/useTreeViewLabel/index.d.ts +2 -1
  116. package/internals/plugins/useTreeViewLabel/index.js +8 -1
  117. package/internals/plugins/useTreeViewLabel/useTreeViewLabel.itemPlugin.js +3 -3
  118. package/internals/plugins/useTreeViewLabel/useTreeViewLabel.js +16 -24
  119. package/internals/plugins/useTreeViewLabel/useTreeViewLabel.selectors.d.ts +14 -100
  120. package/internals/plugins/useTreeViewLabel/useTreeViewLabel.selectors.js +24 -34
  121. package/internals/plugins/useTreeViewLazyLoading/index.d.ts +2 -1
  122. package/internals/plugins/useTreeViewLazyLoading/index.js +8 -1
  123. package/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.selectors.d.ts +18 -245
  124. package/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.selectors.js +16 -28
  125. package/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.types.d.ts +20 -6
  126. package/internals/plugins/useTreeViewSelection/index.d.ts +2 -1
  127. package/internals/plugins/useTreeViewSelection/index.js +8 -1
  128. package/internals/plugins/useTreeViewSelection/useTreeViewSelection.itemPlugin.js +23 -37
  129. package/internals/plugins/useTreeViewSelection/useTreeViewSelection.js +29 -33
  130. package/internals/plugins/useTreeViewSelection/useTreeViewSelection.selectors.d.ts +38 -517
  131. package/internals/plugins/useTreeViewSelection/useTreeViewSelection.selectors.js +46 -71
  132. package/internals/plugins/useTreeViewSelection/useTreeViewSelection.types.d.ts +1 -0
  133. package/internals/plugins/useTreeViewSelection/useTreeViewSelection.utils.js +8 -8
  134. package/internals/useTreeView/useTreeView.d.ts +1 -1
  135. package/internals/useTreeView/useTreeView.js +11 -18
  136. package/internals/useTreeView/useTreeView.types.d.ts +1 -1
  137. package/internals/useTreeView/useTreeViewBuildContext.d.ts +2 -3
  138. package/internals/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js +0 -2
  139. package/internals/utils/tree.js +31 -31
  140. package/package.json +12 -13
  141. package/useTreeItem/useTreeItem.js +14 -14
  142. package/useTreeItem/useTreeItem.types.d.ts +2 -1
  143. package/esm/internals/hooks/useSelector.d.ts +0 -4
  144. package/esm/internals/hooks/useSelector.js +0 -8
  145. package/esm/internals/utils/TreeViewStore.d.ts +0 -12
  146. package/esm/internals/utils/TreeViewStore.js +0 -22
  147. package/esm/internals/utils/selectors.d.ts +0 -21
  148. package/esm/internals/utils/selectors.js +0 -51
  149. package/internals/hooks/useSelector.d.ts +0 -4
  150. package/internals/hooks/useSelector.js +0 -16
  151. package/internals/utils/TreeViewStore.d.ts +0 -12
  152. package/internals/utils/TreeViewStore.js +0 -29
  153. package/internals/utils/selectors.d.ts +0 -21
  154. package/internals/utils/selectors.js +0 -58
package/CHANGELOG.md CHANGED
@@ -5,6 +5,201 @@
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.11.1
9
+
10
+ _Sep 4, 2025_
11
+
12
+ We'd like to extend a big thank you to the 6 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ Special thanks go out to the community members for their valuable contributions:
15
+ @sai6855
16
+
17
+ The following are all team members who have contributed to this release:
18
+ @brijeshb42, @flaviendelangle, @JCQuintas, @mapache-salvaje, @oliviertassinari
19
+
20
+ ### Data Grid
21
+
22
+ #### `@mui/x-data-grid@8.11.1`
23
+
24
+ - [DataGrid] Refine types in `GridCell` component (#19384) @sai6855
25
+
26
+ #### `@mui/x-data-grid-pro@8.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
27
+
28
+ Same changes as in `@mui/x-data-grid@8.11.1`.
29
+
30
+ #### `@mui/x-data-grid-premium@8.11.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
31
+
32
+ Same changes as in `@mui/x-data-grid-pro@8.11.1`.
33
+
34
+ ### Date and Time Pickers
35
+
36
+ #### `@mui/x-date-pickers@8.11.1`
37
+
38
+ - [pickers] Merge `slotProps` for input adornment in `PickerFieldUI` component (#19399) @sai6855
39
+
40
+ #### `@mui/x-date-pickers-pro@8.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
41
+
42
+ Same changes as in `@mui/x-date-pickers@8.11.1`.
43
+
44
+ ### Charts
45
+
46
+ #### `@mui/x-charts@8.11.1`
47
+
48
+ - [charts] Prevent crash and warn user on incorrect `axisId` when composing (#19397) @JCQuintas
49
+
50
+ #### `@mui/x-charts-pro@8.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
51
+
52
+ Same changes as in `@mui/x-charts@8.11.1`.
53
+
54
+ ### Tree View
55
+
56
+ #### `@mui/x-tree-view@8.11.1`
57
+
58
+ - [tree view] Expose the methods to manually refetch the children of an item (#19248) @flaviendelangle
59
+ - [tree view] Use the shared store implementation instead of the custom one (#19261) @flaviendelangle
60
+
61
+ #### `@mui/x-tree-view-pro@8.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
62
+
63
+ Same changes as in `@mui/x-tree-view@8.11.1`.
64
+
65
+ ### Codemod
66
+
67
+ #### `@mui/x-codemod@8.11.1`
68
+
69
+ Internal changes.
70
+
71
+ ### Docs
72
+
73
+ - [docs] Fix grammar and spelling mistakes on the Date and Time Pickers pages (#19300) @mapache-salvaje
74
+ - [docs] Remove wrong legend info (#19383) @JCQuintas
75
+
76
+ ### Core
77
+
78
+ - [internal] Fix action alert (#19388) @oliviertassinari
79
+ - [internal] Fix pnpm valelint to have 0 errors @oliviertassinari
80
+ - [infra] Remove "main" fields from publishable packages (#19407) @brijeshb42
81
+
82
+ ## 8.11.0
83
+
84
+ _Aug 29, 2025_
85
+
86
+ We'd like to extend a big thank you to the 19 contributors who made this release possible. Here are some highlights ✨:
87
+
88
+ - 📊 Add new `SankeyChart`
89
+
90
+ <img height="300" alt="Screenshot 2025-07-24 at 12 54 33" src="https://github.com/user-attachments/assets/d77bcec1-044b-48c6-b37d-d7b74793b91c" />
91
+
92
+ - 🚀 Data Grid row grouping now supports row reordering
93
+
94
+ See the [Drag-and-drop group reordering](https://mui.com/x/react-data-grid/row-grouping/#drag-and-drop-group-reordering) section for more details.
95
+
96
+ - 📚 Documentation improvements
97
+
98
+ Special thanks go out to the community members for their valuable contributions:
99
+ @dwrth, @lauri865, @Webini
100
+
101
+ The following are all team members who have contributed to this release:
102
+ @alexfauquette, @arminmeh, @brijeshb42, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @mapache-salvaje, @MBilalShafi, @michelengelen, @noraleonte, @oliviertassinari, @rita-codes, @romgrk, @sai6855, @siriwatknp
103
+
104
+ ### Data Grid
105
+
106
+ #### `@mui/x-data-grid@8.11.0`
107
+
108
+ - [DataGrid] Fix focused column header scroll jump (#19323) @lauri865
109
+ - [DataGrid] Bring `columnUnsortedIcon` slot back (#19268) @arminmeh
110
+ - [DataGrid] Do not add `menu` role to the empty actions menu (#19338) @arminmeh
111
+ - [DataGrid] Fix `columnsManagementRow` style override slot not working (#19097) @dwrth
112
+ - [DataGrid] Fix pagination state synchronization issue (#19290) @MBilalShafi
113
+ - [DataGrid] Fix scroll issue in R17 (#19265) @romgrk
114
+ - [DataGrid] Hide column separator of non-resizable pinned column (#19277) @arminmeh
115
+
116
+ #### `@mui/x-data-grid-pro@8.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
117
+
118
+ Same changes as in `@mui/x-data-grid@8.11.0`, plus:
119
+
120
+ - [DataGridPro] Fix column menu sort when `multipleColumnsSortingMode="always"` (#19099) @MBilalShafi
121
+ - [DataGridPro] Keep the drop effect if `keepColumnPositionIfDraggedOutside` is enabled (#19372) @arminmeh
122
+
123
+ #### `@mui/x-data-grid-premium@8.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
124
+
125
+ Same changes as in `@mui/x-data-grid-pro@8.11.0`, plus:
126
+
127
+ - [DataGridPremium] Fix `valueFormatter` issues when `rowGroupingColumnMode="single"` (#18967) @cherniavskii
128
+ - [DataGridPremium] Reordering support for row grouping (#18251) @MBilalShafi
129
+
130
+ ### Date and Time Pickers
131
+
132
+ #### `@mui/x-date-pickers@8.11.0`
133
+
134
+ - [pickers] Fix Firefox bug causing crash when `startContainer` is a restricted object (#18772) @Webini
135
+ - [pickers] RTL not applied correctly for Calendar Systems examples (works in v7.x but broken in latest version) (#19287) @rita-codes
136
+ - [pickers] Use the locale week day on the Luxon adapter (#19230) @flaviendelangle
137
+ - [pickers] Fix display of placeholder when label is shrunk (#19318) @sai6855
138
+
139
+ #### `@mui/x-date-pickers-pro@8.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
140
+
141
+ Same changes as in `@mui/x-date-pickers@8.11.0`.
142
+
143
+ ### Charts
144
+
145
+ #### `@mui/x-charts@8.11.0`
146
+
147
+ - [charts] Add `RadarAxis` component to render labels (#19240) @alexfauquette
148
+ - [charts] Handle item identifier with data (#19295) @JCQuintas
149
+ - [charts] Refactor optional chaining for props in PieChart, PieChartPro, and ScatterChartPro components (#19292) @sai6855
150
+ - [charts] Remove unused `fill` and `stroke` properties (#19316) @sai6855
151
+ - [charts] Correct `hideLegend` prop description in docs (#19371) @sai6855
152
+
153
+ #### `@mui/x-charts-pro@8.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
154
+
155
+ Same changes as in `@mui/x-charts@8.11.0`, plus:
156
+
157
+ - [charts-pro] Add new `SankeyChart` (#18895) @JCQuintas
158
+
159
+ ### Tree View
160
+
161
+ #### `@mui/x-tree-view@8.11.0`
162
+
163
+ - [tree view] Improve the typing of the item's checkbox `slotProps` (#19247) @flaviendelangle
164
+
165
+ #### `@mui/x-tree-view-pro@8.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
166
+
167
+ Same changes as in `@mui/x-tree-view@8.11.0`.
168
+
169
+ ### Codemod
170
+
171
+ #### `@mui/x-codemod@8.11.0`
172
+
173
+ Internal changes.
174
+
175
+ ### Docs
176
+
177
+ - [docs][TreeView] Fix grammar and spelling mistakes (#19299) @mapache-salvaje
178
+ - [docs][DataGrid] Add pagination number formatting doc with a demo (#19221) @siriwatknp
179
+ - [docs][Charts] Correct some small grammar mistakes (#19297) @mapache-salvaje
180
+ - [docs][DataGrid] Correct grammar mistakes (#19298) @mapache-salvaje
181
+ - [docs][DataGrid] Make it clear that the API key for AI Assistant must be private (#19244) @oliviertassinari
182
+
183
+ ### Core
184
+
185
+ - [code-infra] Remove unnecessary triggers from publish workflow (#19348) @Janpot
186
+ - [code-infra] Set up publishing from GitHub actions (#19264) @Janpot
187
+ - [code-infra] Update renovate, exclude infra packages from MUI group (#19288) @Janpot
188
+ - [internal] Add comment for Codspeed triggers (#19302) @oliviertassinari
189
+ - [internal] Fix changelog generation for infra tags (#19266) @oliviertassinari
190
+ - [internal] Remove dead repository field (#19301) @oliviertassinari
191
+ - [internal] Sentence case @oliviertassinari
192
+ - [internal] Update 8.10.1 changelog with missing changes (#19345) @cherniavskii
193
+ - [support-infra] Improve GitHub Action that check PRs labels (#19303) @oliviertassinari
194
+
195
+ ### Miscellaneous
196
+
197
+ - [infra] Add `synchronize` to workflow triggers (#19342) @michelengelen
198
+ - [infra] Add charts docs folder in codowner (#19317) @alexfauquette
199
+ - [infra] Fix publish workflow complaint (#19346) @JCQuintas
200
+ - [infra] Migrate to use eslint without airbnb config (#19269) @brijeshb42
201
+ - [infra] Simplify release preparation script (#19351) @michelengelen
202
+
8
203
  ## 8.10.2
9
204
 
10
205
  _Aug 20, 2025_
@@ -27,13 +222,13 @@ The following are all team members who have contributed to this release:
27
222
  - [DataGrid] Fix column header sortable classname when using `disableColumnSorting` (#19222) @wilcoschoneveld
28
223
  - [l10n] Improve finnish (fi-FI) locale (#19163) @lauri-heinonen-2025-04
29
224
 
30
- #### `@mui/x-data-grid-pro@8.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
225
+ #### `@mui/x-data-grid-pro@8.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
31
226
 
32
227
  Same changes as in `@mui/x-data-grid@8.10.2`, plus:
33
228
 
34
229
  - [DataGridPro] Fix quick filter not working in List View mode (#19254) @cherniavskii
35
230
 
36
- #### `@mui/x-data-grid-premium@8.10.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link "Premium plan")
231
+ #### `@mui/x-data-grid-premium@8.10.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
37
232
 
38
233
  Same changes as in `@mui/x-data-grid-pro@8.10.2`.
39
234
 
@@ -43,7 +238,7 @@ Same changes as in `@mui/x-data-grid-pro@8.10.2`.
43
238
 
44
239
  Internal changes.
45
240
 
46
- #### `@mui/x-date-pickers-pro@8.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
241
+ #### `@mui/x-date-pickers-pro@8.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
47
242
 
48
243
  Same changes as in `@mui/x-date-pickers@8.10.2`.
49
244
 
@@ -53,7 +248,7 @@ Same changes as in `@mui/x-date-pickers@8.10.2`.
53
248
 
54
249
  Internal changes.
55
250
 
56
- #### `@mui/x-charts-pro@8.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
251
+ #### `@mui/x-charts-pro@8.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
57
252
 
58
253
  Same changes as in `@mui/x-charts@8.10.2`.
59
254
 
@@ -63,7 +258,7 @@ Same changes as in `@mui/x-charts@8.10.2`.
63
258
 
64
259
  - [tree view] Add `aria-hidden` to the Tree Item Checkbox (#19246) @flaviendelangle
65
260
 
66
- #### `@mui/x-tree-view-pro@8.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
261
+ #### `@mui/x-tree-view-pro@8.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
67
262
 
68
263
  Same changes as in `@mui/x-tree-view@8.10.2`.
69
264
 
@@ -95,13 +290,13 @@ Internal changes.
95
290
 
96
291
  _Aug 15, 2025_
97
292
 
98
- We'd like to extend a big thank you to the 8 contributors who made this release possible. Here are some highlights ✨:
293
+ We'd like to extend a big thank you to the 11 contributors who made this release possible. Here are some highlights ✨:
99
294
 
100
295
  - 📊 Y-axes can now be grouped by category when using `band` and `point` scales.
101
296
  - 📚 Documentation improvements
102
297
 
103
298
  The following are all team members who have contributed to this release:
104
- @alexfauquette, @bernardobelchior, @Janpot, @JCQuintas, @mnajdova, @oliviertassinari, @prakhargupta1, @romgrk
299
+ @alexfauquette, @bernardobelchior, @Janpot, @JCQuintas, @mnajdova, @oliviertassinari, @prakhargupta1, @romgrk, @brijeshb42, @noraleonte, @rita-codes
105
300
 
106
301
  ### Data Grid
107
302
 
@@ -110,12 +305,14 @@ The following are all team members who have contributed to this release:
110
305
  - [DataGrid] Fix scroll jumping (#19156) @romgrk
111
306
  - [DataGrid] Fix scroll restoration (#19182) @romgrk
112
307
  - [DataGrid] Fix "no row with id" error (#19193) @romgrk
308
+ - [DataGrid] Fix missing rows in the print export window (#19159) @cherniavskii
309
+ - [DataGrid] Fix broken scroll (#19178) @romgrk
113
310
 
114
- #### `@mui/x-data-grid-pro@8.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
311
+ #### `@mui/x-data-grid-pro@8.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
115
312
 
116
313
  Same changes as in `@mui/x-data-grid@8.10.1`.
117
314
 
118
- #### `@mui/x-data-grid-premium@8.10.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link "Premium plan")
315
+ #### `@mui/x-data-grid-premium@8.10.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
119
316
 
120
317
  Same changes as in `@mui/x-data-grid-pro@8.10.1`.
121
318
 
@@ -125,7 +322,7 @@ Same changes as in `@mui/x-data-grid-pro@8.10.1`.
125
322
 
126
323
  Internal changes.
127
324
 
128
- #### `@mui/x-date-pickers-pro@8.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
325
+ #### `@mui/x-date-pickers-pro@8.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
129
326
 
130
327
  Same changes as in `@mui/x-date-pickers@8.10.0`.
131
328
 
@@ -141,8 +338,10 @@ Same changes as in `@mui/x-date-pickers@8.10.0`.
141
338
  - [charts] Fix default axis highlight for axes without data attribute (#18985) @alexfauquette
142
339
  - [charts] Fix tooltip mark unexpected wrapping in mobile (#19122) @bernardobelchior
143
340
  - [charts] Prevent overflow on charts tooltip (#19123) @bernardobelchior
341
+ - [charts] Add demo for log-scale ticks without labels (#19152) @bernardobelchior
342
+ - [charts] Update animation customization docs (#19185) @bernardobelchior
144
343
 
145
- #### `@mui/x-charts-pro@8.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
344
+ #### `@mui/x-charts-pro@8.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
146
345
 
147
346
  Same changes as in `@mui/x-charts@8.10.1`.
148
347
 
@@ -150,9 +349,10 @@ Same changes as in `@mui/x-charts@8.10.1`.
150
349
 
151
350
  #### `@mui/x-tree-view@8.10.1`
152
351
 
153
- Internal changes.
352
+ - [tree view] Fix root not loading from cache on remount (#19088) @noraleonte
353
+ - [tree view] Don't overwrite childrenIds when collapsed to preserve indeterminate state of the parent (#19196) @rita-codes
154
354
 
155
- #### `@mui/x-tree-view-pro@8.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
355
+ #### `@mui/x-tree-view-pro@8.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
156
356
 
157
357
  Same changes as in `@mui/x-tree-view@8.10.1`.
158
358
 
@@ -182,6 +382,7 @@ Internal changes.
182
382
  - [code-infra] Fix `fs-extra` removal from `formattedTSDemos` script (#19132) @bernardobelchior
183
383
  - [code-infra] Remove unused code and dependency (#19139) @bernardobelchior
184
384
  - [code-infra] Replace `fs-extra` with `node:fs` where possible (#19127) @bernardobelchior
385
+ - [code-infra] Migrate build command to code-infra (#19006) @brijeshb42
185
386
  - [internal] Edit, keep `lockFileMaintenance` simple @oliviertassinari
186
387
  - [internal] Fix writing style action name @oliviertassinari
187
388
  - [internal] Make it clear that `lockFileMaintenance` is enabled @oliviertassinari
@@ -11,6 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
11
11
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
12
12
  var React = _interopRequireWildcard(require("react"));
13
13
  var _propTypes = _interopRequireDefault(require("prop-types"));
14
+ var _store = require("@mui/x-internals/store");
14
15
  var _Alert = _interopRequireDefault(require("@mui/material/Alert"));
15
16
  var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
16
17
  var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
@@ -22,8 +23,7 @@ var _useTreeView = require("../internals/useTreeView");
22
23
  var _TreeViewProvider = require("../internals/TreeViewProvider");
23
24
  var _RichTreeView2 = require("./RichTreeView.plugins");
24
25
  var _RichTreeViewItems = require("../internals/components/RichTreeViewItems");
25
- var _useSelector = require("../internals/hooks/useSelector");
26
- var _useTreeViewItems = require("../internals/plugins/useTreeViewItems/useTreeViewItems.selectors");
26
+ var _useTreeViewItems = require("../internals/plugins/useTreeViewItems");
27
27
  var _jsxRuntime = require("react/jsx-runtime");
28
28
  const _excluded = ["slots", "slotProps"];
29
29
  const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiRichTreeView');
@@ -90,8 +90,8 @@ const RichTreeView = exports.RichTreeView = /*#__PURE__*/React.forwardRef(functi
90
90
  rootRef: ref,
91
91
  props: other
92
92
  });
93
- const isLoading = (0, _useSelector.useSelector)(contextValue.store, _useTreeViewItems.selectorIsTreeViewLoading);
94
- const treeViewError = (0, _useSelector.useSelector)(contextValue.store, _useTreeViewItems.selectorGetTreeViewError);
93
+ const isLoading = (0, _store.useStore)(contextValue.store, _useTreeViewItems.itemsSelectors.isLoading);
94
+ const treeViewError = (0, _store.useStore)(contextValue.store, _useTreeViewItems.itemsSelectors.error);
95
95
  const classes = useUtilityClasses(props);
96
96
  const Root = slots?.root ?? RichTreeViewRoot;
97
97
  const rootProps = (0, _useSlotProps.default)({
@@ -136,17 +136,18 @@ process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
136
136
  */
137
137
  apiRef: _propTypes.default.shape({
138
138
  current: _propTypes.default.shape({
139
- focusItem: _propTypes.default.func.isRequired,
140
- getItem: _propTypes.default.func.isRequired,
141
- getItemDOMElement: _propTypes.default.func.isRequired,
142
- getItemOrderedChildrenIds: _propTypes.default.func.isRequired,
143
- getItemTree: _propTypes.default.func.isRequired,
144
- getParentId: _propTypes.default.func.isRequired,
145
- setEditedItem: _propTypes.default.func.isRequired,
146
- setIsItemDisabled: _propTypes.default.func.isRequired,
147
- setItemExpansion: _propTypes.default.func.isRequired,
148
- setItemSelection: _propTypes.default.func.isRequired,
149
- updateItemLabel: _propTypes.default.func.isRequired
139
+ focusItem: _propTypes.default.func,
140
+ getItem: _propTypes.default.func,
141
+ getItemDOMElement: _propTypes.default.func,
142
+ getItemOrderedChildrenIds: _propTypes.default.func,
143
+ getItemTree: _propTypes.default.func,
144
+ getParentId: _propTypes.default.func,
145
+ isItemExpanded: _propTypes.default.func,
146
+ setEditedItem: _propTypes.default.func,
147
+ setIsItemDisabled: _propTypes.default.func,
148
+ setItemExpansion: _propTypes.default.func,
149
+ setItemSelection: _propTypes.default.func,
150
+ updateItemLabel: _propTypes.default.func
150
151
  })
151
152
  }),
152
153
  /**
@@ -17,7 +17,7 @@ export interface RichTreeViewSlots extends TreeViewSlots, RichTreeViewItemsSlots
17
17
  export interface RichTreeViewSlotProps<R extends {}, Multiple extends boolean | undefined> extends TreeViewSlotProps, RichTreeViewItemsSlotProps {
18
18
  root?: SlotComponentProps<'ul', {}, RichTreeViewProps<R, Multiple>>;
19
19
  }
20
- export type RichTreeViewApiRef = React.RefObject<TreeViewPublicAPI<RichTreeViewPluginSignatures> | undefined>;
20
+ type RichTreeViewApiRef = React.RefObject<Partial<TreeViewPublicAPI<RichTreeViewPluginSignatures>> | undefined>;
21
21
  export interface RichTreeViewPropsBase extends React.HTMLAttributes<HTMLUListElement> {
22
22
  className?: string;
23
23
  /**
@@ -44,4 +44,5 @@ 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
- }
47
+ }
48
+ export {};
@@ -117,15 +117,16 @@ process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes = {
117
117
  */
118
118
  apiRef: _propTypes.default.shape({
119
119
  current: _propTypes.default.shape({
120
- focusItem: _propTypes.default.func.isRequired,
121
- getItem: _propTypes.default.func.isRequired,
122
- getItemDOMElement: _propTypes.default.func.isRequired,
123
- getItemOrderedChildrenIds: _propTypes.default.func.isRequired,
124
- getItemTree: _propTypes.default.func.isRequired,
125
- getParentId: _propTypes.default.func.isRequired,
126
- setIsItemDisabled: _propTypes.default.func.isRequired,
127
- setItemExpansion: _propTypes.default.func.isRequired,
128
- setItemSelection: _propTypes.default.func.isRequired
120
+ focusItem: _propTypes.default.func,
121
+ getItem: _propTypes.default.func,
122
+ getItemDOMElement: _propTypes.default.func,
123
+ getItemOrderedChildrenIds: _propTypes.default.func,
124
+ getItemTree: _propTypes.default.func,
125
+ getParentId: _propTypes.default.func,
126
+ isItemExpanded: _propTypes.default.func,
127
+ setIsItemDisabled: _propTypes.default.func,
128
+ setItemExpansion: _propTypes.default.func,
129
+ setItemSelection: _propTypes.default.func
129
130
  })
130
131
  }),
131
132
  /**
@@ -16,7 +16,7 @@ export interface SimpleTreeViewSlots extends TreeViewSlots {
16
16
  export interface SimpleTreeViewSlotProps extends TreeViewSlotProps {
17
17
  root?: SlotComponentProps<'ul', {}, {}>;
18
18
  }
19
- export type SimpleTreeViewApiRef = React.RefObject<TreeViewPublicAPI<SimpleTreeViewPluginSignatures> | undefined>;
19
+ type SimpleTreeViewApiRef = React.RefObject<Partial<TreeViewPublicAPI<SimpleTreeViewPluginSignatures>> | undefined>;
20
20
  export interface SimpleTreeViewProps<Multiple extends boolean | undefined> extends SimpleTreeViewPluginParameters<Multiple>, React.HTMLAttributes<HTMLUListElement> {
21
21
  /**
22
22
  * The content of the component.
@@ -43,4 +43,5 @@ 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
- }
46
+ }
47
+ export {};
@@ -15,7 +15,7 @@ export declare const TreeItemErrorContainer: import("@emotion/styled").StyledCom
15
15
  export declare const TreeItemLoadingContainer: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/CircularProgress").CircularProgressProps, keyof import("@mui/material/CircularProgress").CircularProgressProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
16
16
  export declare const TreeItemCheckbox: import("@emotion/styled").StyledComponent<Pick<Omit<CheckboxProps & {
17
17
  visible?: boolean;
18
- }, "ref"> & React.RefAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "id" | "value" | "name" | "checked" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "readOnly" | "required" | "size" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "action" | "visible" | "icon" | "slots" | "slotProps" | "classes" | "sx" | "component" | "checkedIcon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "inputProps" | "inputRef" | "indeterminate" | "indeterminateIcon" | keyof React.RefAttributes<HTMLButtonElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
18
+ }, "ref"> & React.RefAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "id" | "value" | "name" | "checked" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "readOnly" | "required" | "size" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "action" | "visible" | "icon" | "slots" | "slotProps" | "classes" | "sx" | "indeterminate" | "component" | "checkedIcon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "inputProps" | "inputRef" | "indeterminateIcon" | keyof React.RefAttributes<HTMLButtonElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
19
19
  type TreeItemComponent = ((props: TreeItemProps & React.RefAttributes<HTMLLIElement>) => React.JSX.Element) & {
20
20
  propTypes?: any;
21
21
  };
@@ -69,7 +69,9 @@ export interface TreeItemSlotProps extends TreeItemIconSlotProps {
69
69
  content?: SlotComponentProps<'div', {}, {}>;
70
70
  groupTransition?: SlotComponentPropsFromProps<TransitionProps, {}, {}>;
71
71
  iconContainer?: SlotComponentProps<'div', {}, {}>;
72
- checkbox?: SlotComponentProps<'button', {}, {}>;
72
+ checkbox?: SlotComponentProps<React.ElementType<React.HTMLAttributes<HTMLButtonElement> & {
73
+ visible?: boolean;
74
+ }>, {}, {}>;
73
75
  label?: SlotComponentProps<'div', {}, {}>;
74
76
  labelInput?: SlotComponentProps<'input', {}, {}>;
75
77
  dragAndDropOverlay?: SlotComponentProps<'div', {}, {}>;
@@ -9,10 +9,10 @@ Object.defineProperty(exports, "__esModule", {
9
9
  exports.TreeItemProvider = TreeItemProvider;
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _propTypes = _interopRequireDefault(require("prop-types"));
12
+ var _store = require("@mui/x-internals/store");
12
13
  var _TreeViewProvider = require("../internals/TreeViewProvider");
13
14
  var _useTreeViewId = require("../internals/corePlugins/useTreeViewId/useTreeViewId.utils");
14
- var _useSelector = require("../internals/hooks/useSelector");
15
- var _useTreeViewId2 = require("../internals/corePlugins/useTreeViewId/useTreeViewId.selectors");
15
+ var _useTreeViewId2 = require("../internals/corePlugins/useTreeViewId");
16
16
  var _jsxRuntime = require("react/jsx-runtime");
17
17
  function TreeItemProvider(props) {
18
18
  const {
@@ -25,7 +25,7 @@ function TreeItemProvider(props) {
25
25
  instance,
26
26
  store
27
27
  } = (0, _TreeViewProvider.useTreeViewContext)();
28
- const treeId = (0, _useSelector.useSelector)(store, _useTreeViewId2.selectorTreeViewId);
28
+ const treeId = (0, _store.useStore)(store, _useTreeViewId2.idSelectors.treeId);
29
29
  const idAttribute = (0, _useTreeViewId.generateTreeItemIdAttribute)({
30
30
  itemId,
31
31
  treeId,
@@ -5,6 +5,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
5
5
  const _excluded = ["slots", "slotProps"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
+ import { useStore } from '@mui/x-internals/store';
8
9
  import Alert from '@mui/material/Alert';
9
10
  import Typography from '@mui/material/Typography';
10
11
  import composeClasses from '@mui/utils/composeClasses';
@@ -16,8 +17,7 @@ import { useTreeView } from "../internals/useTreeView/index.js";
16
17
  import { TreeViewProvider } from "../internals/TreeViewProvider/index.js";
17
18
  import { RICH_TREE_VIEW_PLUGINS } from "./RichTreeView.plugins.js";
18
19
  import { RichTreeViewItems } from "../internals/components/RichTreeViewItems.js";
19
- import { useSelector } from "../internals/hooks/useSelector.js";
20
- import { selectorGetTreeViewError, selectorIsTreeViewLoading } from "../internals/plugins/useTreeViewItems/useTreeViewItems.selectors.js";
20
+ import { itemsSelectors } from "../internals/plugins/useTreeViewItems/index.js";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  const useThemeProps = createUseThemeProps('MuiRichTreeView');
23
23
  const useUtilityClasses = ownerState => {
@@ -83,8 +83,8 @@ const RichTreeView = /*#__PURE__*/React.forwardRef(function RichTreeView(inProps
83
83
  rootRef: ref,
84
84
  props: other
85
85
  });
86
- const isLoading = useSelector(contextValue.store, selectorIsTreeViewLoading);
87
- const treeViewError = useSelector(contextValue.store, selectorGetTreeViewError);
86
+ const isLoading = useStore(contextValue.store, itemsSelectors.isLoading);
87
+ const treeViewError = useStore(contextValue.store, itemsSelectors.error);
88
88
  const classes = useUtilityClasses(props);
89
89
  const Root = slots?.root ?? RichTreeViewRoot;
90
90
  const rootProps = useSlotProps({
@@ -129,17 +129,18 @@ process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
129
129
  */
130
130
  apiRef: PropTypes.shape({
131
131
  current: PropTypes.shape({
132
- focusItem: PropTypes.func.isRequired,
133
- getItem: PropTypes.func.isRequired,
134
- getItemDOMElement: PropTypes.func.isRequired,
135
- getItemOrderedChildrenIds: PropTypes.func.isRequired,
136
- getItemTree: PropTypes.func.isRequired,
137
- getParentId: PropTypes.func.isRequired,
138
- setEditedItem: PropTypes.func.isRequired,
139
- setIsItemDisabled: PropTypes.func.isRequired,
140
- setItemExpansion: PropTypes.func.isRequired,
141
- setItemSelection: PropTypes.func.isRequired,
142
- updateItemLabel: PropTypes.func.isRequired
132
+ focusItem: PropTypes.func,
133
+ getItem: PropTypes.func,
134
+ getItemDOMElement: PropTypes.func,
135
+ getItemOrderedChildrenIds: PropTypes.func,
136
+ getItemTree: PropTypes.func,
137
+ getParentId: PropTypes.func,
138
+ isItemExpanded: PropTypes.func,
139
+ setEditedItem: PropTypes.func,
140
+ setIsItemDisabled: PropTypes.func,
141
+ setItemExpansion: PropTypes.func,
142
+ setItemSelection: PropTypes.func,
143
+ updateItemLabel: PropTypes.func
143
144
  })
144
145
  }),
145
146
  /**
@@ -17,7 +17,7 @@ export interface RichTreeViewSlots extends TreeViewSlots, RichTreeViewItemsSlots
17
17
  export interface RichTreeViewSlotProps<R extends {}, Multiple extends boolean | undefined> extends TreeViewSlotProps, RichTreeViewItemsSlotProps {
18
18
  root?: SlotComponentProps<'ul', {}, RichTreeViewProps<R, Multiple>>;
19
19
  }
20
- export type RichTreeViewApiRef = React.RefObject<TreeViewPublicAPI<RichTreeViewPluginSignatures> | undefined>;
20
+ type RichTreeViewApiRef = React.RefObject<Partial<TreeViewPublicAPI<RichTreeViewPluginSignatures>> | undefined>;
21
21
  export interface RichTreeViewPropsBase extends React.HTMLAttributes<HTMLUListElement> {
22
22
  className?: string;
23
23
  /**
@@ -44,4 +44,5 @@ 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
- }
47
+ }
48
+ export {};
@@ -110,15 +110,16 @@ process.env.NODE_ENV !== "production" ? SimpleTreeView.propTypes = {
110
110
  */
111
111
  apiRef: PropTypes.shape({
112
112
  current: PropTypes.shape({
113
- focusItem: PropTypes.func.isRequired,
114
- getItem: PropTypes.func.isRequired,
115
- getItemDOMElement: PropTypes.func.isRequired,
116
- getItemOrderedChildrenIds: PropTypes.func.isRequired,
117
- getItemTree: PropTypes.func.isRequired,
118
- getParentId: PropTypes.func.isRequired,
119
- setIsItemDisabled: PropTypes.func.isRequired,
120
- setItemExpansion: PropTypes.func.isRequired,
121
- setItemSelection: PropTypes.func.isRequired
113
+ focusItem: PropTypes.func,
114
+ getItem: PropTypes.func,
115
+ getItemDOMElement: PropTypes.func,
116
+ getItemOrderedChildrenIds: PropTypes.func,
117
+ getItemTree: PropTypes.func,
118
+ getParentId: PropTypes.func,
119
+ isItemExpanded: PropTypes.func,
120
+ setIsItemDisabled: PropTypes.func,
121
+ setItemExpansion: PropTypes.func,
122
+ setItemSelection: PropTypes.func
122
123
  })
123
124
  }),
124
125
  /**
@@ -16,7 +16,7 @@ export interface SimpleTreeViewSlots extends TreeViewSlots {
16
16
  export interface SimpleTreeViewSlotProps extends TreeViewSlotProps {
17
17
  root?: SlotComponentProps<'ul', {}, {}>;
18
18
  }
19
- export type SimpleTreeViewApiRef = React.RefObject<TreeViewPublicAPI<SimpleTreeViewPluginSignatures> | undefined>;
19
+ type SimpleTreeViewApiRef = React.RefObject<Partial<TreeViewPublicAPI<SimpleTreeViewPluginSignatures>> | undefined>;
20
20
  export interface SimpleTreeViewProps<Multiple extends boolean | undefined> extends SimpleTreeViewPluginParameters<Multiple>, React.HTMLAttributes<HTMLUListElement> {
21
21
  /**
22
22
  * The content of the component.
@@ -43,4 +43,5 @@ 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
- }
46
+ }
47
+ export {};