@mui/x-tree-view-pro 8.27.2 → 9.0.0-alpha.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.
- package/CHANGELOG.md +279 -34
- package/RichTreeViewPro/RichTreeViewPro.js +54 -24
- package/RichTreeViewPro/RichTreeViewPro.types.d.ts +2 -5
- package/RichTreeViewPro/useExtractRichTreeViewProParameters.js +12 -6
- package/components/RichTreeViewVirtualizedItems.d.ts +2 -0
- package/components/RichTreeViewVirtualizedItems.js +108 -0
- package/esm/RichTreeViewPro/RichTreeViewPro.js +55 -25
- package/esm/RichTreeViewPro/RichTreeViewPro.types.d.ts +2 -5
- package/esm/RichTreeViewPro/useExtractRichTreeViewProParameters.js +12 -6
- package/esm/components/RichTreeViewVirtualizedItems.d.ts +2 -0
- package/esm/components/RichTreeViewVirtualizedItems.js +101 -0
- package/esm/index.js +1 -1
- package/esm/internals/RichTreeViewProStore/RichTreeViewProStore.types.d.ts +19 -1
- package/esm/internals/RichTreeViewProStore/RichTreeViewProStore.utils.js +5 -1
- package/esm/internals/plugins/virtualization/index.d.ts +1 -0
- package/esm/internals/plugins/virtualization/index.js +1 -0
- package/esm/internals/plugins/virtualization/selectors.d.ts +4 -0
- package/esm/internals/plugins/virtualization/selectors.js +4 -0
- package/index.js +1 -1
- package/internals/RichTreeViewProStore/RichTreeViewProStore.types.d.ts +19 -1
- package/internals/RichTreeViewProStore/RichTreeViewProStore.utils.js +5 -1
- package/internals/plugins/virtualization/index.d.ts +1 -0
- package/internals/plugins/virtualization/index.js +16 -0
- package/internals/plugins/virtualization/selectors.d.ts +4 -0
- package/internals/plugins/virtualization/selectors.js +10 -0
- package/package.json +18 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,85 +1,330 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 9.0.0-alpha.1
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
_Feb 26, 2026_
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
We'd like to extend a big thank you to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
- ⚡️ Improved dynamic data support and cache invalidation in lazy loading for Data Grid Pro
|
|
10
|
+
- ⌨️ Keyboard support for selecting day, month, and year in Date Pickers
|
|
11
|
+
- 📊 Axis tooltip sorting and control improvements in Charts
|
|
12
|
+
- 🐞 Bugfixes and internal improvements
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
15
|
+
@EllGree, @lion1963
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
The following team members contributed to this release:
|
|
18
|
+
@alexfauquette, @arminmeh, @brijeshb42, @cherniavskii, @dav-is, @flaviendelangle, @Janpot, @JCQuintas, @mapache-salvaje, @MBilalShafi, @michelengelen, @noraleonte, @rita-codes, @sai6855, @siriwatknp, @ZeeshanTamboli
|
|
15
19
|
|
|
16
20
|
### Data Grid
|
|
17
21
|
|
|
18
|
-
#### `@mui/x-data-grid@
|
|
22
|
+
#### `@mui/x-data-grid@9.0.0-alpha.1`
|
|
19
23
|
|
|
20
|
-
|
|
24
|
+
- [DataGrid] Forward rest props in `GridFilterInputMultipleValue` (#21407) @siriwatknp
|
|
25
|
+
- [DataGrid] Preserve key input during row edit when using `rowModesModel` (#20759) @michelengelen
|
|
26
|
+
- [DataGrid] Remove double rtl inversion logic for columns pinning (#21371) @siriwatknp
|
|
21
27
|
|
|
22
|
-
#### `@mui/x-data-grid-pro@
|
|
28
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
29
|
|
|
24
|
-
Same changes as in `@mui/x-data-grid@
|
|
30
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.1`, plus:
|
|
25
31
|
|
|
26
|
-
- [DataGridPro] Fix number input visibility in header filters (#
|
|
32
|
+
- [DataGridPro] Fix number input visibility in header filters (#21328) @michelengelen
|
|
33
|
+
- [DataGridPro] Improve dynamic data support and cache invalidation in lazy loading (#21282) @MBilalShafi
|
|
27
34
|
|
|
28
|
-
#### `@mui/x-data-grid-premium@
|
|
35
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
29
36
|
|
|
30
|
-
Same changes as in `@mui/x-data-grid-pro@
|
|
37
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.1`.
|
|
31
38
|
|
|
32
39
|
### Date and Time Pickers
|
|
33
40
|
|
|
34
|
-
#### `@mui/x-date-pickers@
|
|
41
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.1`
|
|
35
42
|
|
|
36
|
-
- [DatePicker] Add keyboard support for selecting day, month, and year (#
|
|
43
|
+
- [DatePicker] Add keyboard support for selecting day, month, and year (#20859) @michelengelen
|
|
37
44
|
|
|
38
|
-
#### `@mui/x-date-pickers-pro@
|
|
45
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
39
46
|
|
|
40
|
-
Same changes as in `@mui/x-date-pickers@
|
|
47
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.1`, plus:
|
|
41
48
|
|
|
42
|
-
- [DateRangePicker] Fix timezone update issue leading to `invalidRange` error (#
|
|
49
|
+
- [DateRangePicker] Fix timezone update issue leading to `invalidRange` error (#20863) @michelengelen
|
|
43
50
|
|
|
44
51
|
### Charts
|
|
45
52
|
|
|
46
|
-
#### `@mui/x-charts@
|
|
53
|
+
#### `@mui/x-charts@9.0.0-alpha.1`
|
|
54
|
+
|
|
55
|
+
- [charts] Add `sort` props to the axis tooltip (#21293) @alexfauquette
|
|
56
|
+
- [charts] Controll axis tooltip (#21351) @alexfauquette
|
|
57
|
+
- [charts] De duplicate keyboard focus handler function (#21267) @sai6855
|
|
58
|
+
- [charts] Make `type` optional in identifiers (#21311) @alexfauquette
|
|
59
|
+
- [charts] Move ref to the root component (#21396) @alexfauquette
|
|
60
|
+
- [charts] Refactor loading and no data overlays to use a shared OverlayText component (#21414) @sai6855
|
|
61
|
+
- [charts] Require series ids to be unique (#21330) @alexfauquette
|
|
62
|
+
- [charts] Set `showMark` as `false` by default (#21373) @alexfauquette
|
|
63
|
+
- [charts] Use `createGetNextIndexFocusedItem()` util in Funnel and RangeBar charts (#21390) @sai6855
|
|
64
|
+
- [charts] Remove unnecessary string concatenation (#21418) @sai6855
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
67
|
+
|
|
68
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.1`.
|
|
69
|
+
|
|
70
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
71
|
+
|
|
72
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.1`.
|
|
73
|
+
|
|
74
|
+
### Tree View
|
|
75
|
+
|
|
76
|
+
#### `@mui/x-tree-view@9.0.0-alpha.1`
|
|
77
|
+
|
|
78
|
+
- [tree view] Focus item sibling on unmount instead of the 1st item (#21254) @flaviendelangle
|
|
79
|
+
|
|
80
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
81
|
+
|
|
82
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.1`.
|
|
83
|
+
|
|
84
|
+
### Codemod
|
|
85
|
+
|
|
86
|
+
#### `@mui/x-codemod@9.0.0-alpha.1`
|
|
47
87
|
|
|
48
88
|
Internal changes.
|
|
49
89
|
|
|
50
|
-
|
|
90
|
+
### Docs
|
|
91
|
+
|
|
92
|
+
- [docs] Fix external 301s (#21377) @Janpot
|
|
93
|
+
- [docs] Show premium in the overview (#21343) @alexfauquette
|
|
94
|
+
- [docs][charts] Revise the useLegend hook doc (#21352) @mapache-salvaje
|
|
95
|
+
- [docs][charts] Revise the axis hooks doc (#21317) @mapache-salvaje
|
|
96
|
+
- [docs][charts] Revise the scale hooks doc (#21316) @mapache-salvaje
|
|
97
|
+
- [docs][charts] Revise the series hooks doc (#21353) @mapache-salvaje
|
|
98
|
+
- [docs][charts] Revise the useDataset doc (#21336) @mapache-salvaje
|
|
99
|
+
- [docs][charts] Revise the useDrawingArea doc (#21333) @mapache-salvaje
|
|
100
|
+
|
|
101
|
+
### Core
|
|
102
|
+
|
|
103
|
+
- [core] Update docs deploy script to the `docs-next` branch (#21341) @siriwatknp
|
|
104
|
+
- [code-infra] Cleanup unused babel plugins (#21453) @brijeshb42
|
|
105
|
+
- [code-infra] Do not append `x` to the last version for the compare API (#21408) @arminmeh
|
|
106
|
+
- [code-infra] Upgrade react-docgen to v8 X (#21155) @JCQuintas
|
|
107
|
+
- [code-infra] Modernize codemod (#21096) @JCQuintas
|
|
108
|
+
- [docs-infra] Fix current version detection logic (#21417) @cherniavskii
|
|
109
|
+
- [docs-infra] Reapply Cookie Banner (#21281) @dav-is
|
|
110
|
+
- [internal] Headless filtering plugin (#21302) @arminmeh
|
|
111
|
+
- [internal] Headless pagination plugin (#21183) @arminmeh
|
|
112
|
+
- [internal] Headless virtualization followups (#21327) @cherniavskii
|
|
113
|
+
- [internal] Keep cached data for disabled pipe processors (#21348) @arminmeh
|
|
114
|
+
- [internal] Remove autoprefixer package (#21440) @ZeeshanTamboli
|
|
115
|
+
|
|
116
|
+
### Miscellaneous
|
|
117
|
+
|
|
118
|
+
- [l10n] Fix Czech (csCZ) locale: sort/filter labels are swapped (#21400) @EllGree
|
|
119
|
+
- [l10n] Improve Ukrainian (uk-UA) locale (#21366) @lion1963
|
|
120
|
+
|
|
121
|
+
## 9.0.0-alpha.0
|
|
122
|
+
|
|
123
|
+
_Feb 16, 2026_
|
|
124
|
+
|
|
125
|
+
We'd like to extend a big thank you to the 21 contributors who made this release possible. Here are some highlights ✨:
|
|
126
|
+
|
|
127
|
+
- Add support for virtualized items on `<RichTreeViewPro />`:
|
|
128
|
+
|
|
129
|
+
```tsx
|
|
130
|
+
<RichTreeViewPro items={ITEMS} virtualization itemHeight={48} />
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
- Add Thai (`thTH`) locale on the Data Grid and the Date and Time Pickers (#21116) @siriwatknp
|
|
134
|
+
- Add a new `AdapterDayjsBuddhist` adapter for Date and Time Pickers (#20984) @siriwatknp
|
|
135
|
+
- Add support for virtualization in the rich tree view (#20780) @flaviendelangle
|
|
136
|
+
- Add WebGL renderer to Heatmap (#20756) @bernardobelchior
|
|
137
|
+
|
|
138
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
139
|
+
@jhe-iqbis
|
|
140
|
+
|
|
141
|
+
The following team members contributed to this release:
|
|
142
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @brijeshb42, @cherniavskii, @dav-is, @flaviendelangle, @Janpot, @JCQuintas, @mapache-salvaje, @MBilalShafi, @michelengelen, @mj12albert, @noraleonte, @oliviertassinari, @rita-codes, @romgrk, @sai6855, @siriwatknp
|
|
143
|
+
|
|
144
|
+
### Data Grid
|
|
145
|
+
|
|
146
|
+
#### `@mui/x-data-grid@9.0.0-alpha.0`
|
|
147
|
+
|
|
148
|
+
- [DataGrid] Update default `logicOperator` behavior in filtering docs (#21098) @michelengelen
|
|
149
|
+
- [DataGrid] Add `thTH` locale (#21116) @siriwatknp
|
|
150
|
+
- [DataGrid] Fix initial filter value state in CustomMultiValueOperator demo (#21217) @sai6855
|
|
151
|
+
|
|
152
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
153
|
+
|
|
154
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.0`, plus:
|
|
51
155
|
|
|
52
|
-
|
|
156
|
+
- [DataGridPro] Cleanup outdated rows on `dataSource` reference update (#21138) @MBilalShafi
|
|
53
157
|
|
|
54
|
-
- [
|
|
158
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
55
159
|
|
|
56
|
-
|
|
160
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.0`.
|
|
57
161
|
|
|
58
|
-
|
|
162
|
+
### Date and Time Pickers
|
|
163
|
+
|
|
164
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.0`
|
|
165
|
+
|
|
166
|
+
- [pickers] Add `AdapterDayjsBuddhist` adapter (#20984) @siriwatknp
|
|
167
|
+
- [pickers] Add `thTH` locale (#21116) @siriwatknp
|
|
168
|
+
|
|
169
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
170
|
+
|
|
171
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.0`.
|
|
172
|
+
|
|
173
|
+
### Charts
|
|
174
|
+
|
|
175
|
+
#### `@mui/x-charts@9.0.0-alpha.0`
|
|
176
|
+
|
|
177
|
+
- [charts] Add Legend actions (#20404) @JCQuintas
|
|
178
|
+
- [charts] Add `Chart` suffix to MUI Classes (#21042) @JCQuintas
|
|
179
|
+
- [charts] Add `axesGap` props to put space between axes (#20904) @alexfauquette
|
|
180
|
+
- [charts] Add `cleanIdentifier` function to charts series instance (#20832) @JCQuintas
|
|
181
|
+
- [charts] Add `initialHiddenItems` prop to set initial state (#20894) @JCQuintas
|
|
182
|
+
- [charts] Add `useXAxisCoordinates` and `useYAxisCoordinates` hooks (#20972) @bernardobelchior
|
|
183
|
+
- [charts] Add axis slots and expose axis ticks hooks (#20935) @bernardobelchior
|
|
184
|
+
- [charts] Change `line` legend marker to be a line (#21059) @JCQuintas
|
|
185
|
+
- [charts] Codemod test pattern with function (#21111) @JCQuintas
|
|
186
|
+
- [charts] Control the item tooltip (#20617) @alexfauquette
|
|
187
|
+
- [charts] Enable keyboard navigation in radar chart (#20765) @alexfauquette
|
|
188
|
+
- [charts] Export `CartesianChartSeriesType` and `StackableChartSeriesType` (#21012) @bernardobelchior
|
|
189
|
+
- [charts] Export plugins from premium (#20866) @JCQuintas
|
|
190
|
+
- [charts] Filter hidden series from axis tooltip (#21273) @Copilot
|
|
191
|
+
- [charts] Filter hidden series from axis tooltip (#21273) @Copilot
|
|
192
|
+
- [charts] Fix rename `getSVGPoint` to `getChartPoint` (#21335) @bernardobelchior
|
|
193
|
+
- [charts] Fix cleanup function in useChartInteractionListener to correctly remove event listeners with options (#21218) @sai6855
|
|
194
|
+
- [charts] Fix import rename in codemod (#21112) @JCQuintas
|
|
195
|
+
- [charts] Fix multiple exports of `HighlightScope` (#21270) @bernardobelchior
|
|
196
|
+
- [charts] Fix test inconsistency in charts (#20907) @JCQuintas
|
|
197
|
+
- [charts] Fix tooltip position for stacked line series (#20901) @alexfauquette
|
|
198
|
+
- [charts] Make Highlight scope a generic (#21189) @alexfauquette
|
|
199
|
+
- [charts] Make `LegendItemParams.type` required (#21003) @alexfauquette
|
|
200
|
+
- [charts] Make `seriesId` a string only (#20997) @alexfauquette
|
|
201
|
+
- [charts] Make the `useChartRootRef` support typing parameter (#21023) @alexfauquette
|
|
202
|
+
- [charts] Memoize HeatmapItem to avoid re-render when fading/highlighting (#20865) @bernardobelchior
|
|
203
|
+
- [charts] Move axis id to `data-axis-id` attribute instead of class (#21037) @JCQuintas
|
|
204
|
+
- [charts] Move `cleanIdentifier` and `serializeIdentifier` instance methods to `useChartSeriesConfig` plugin (#21025) @JCQuintas
|
|
205
|
+
- [charts] Move `seriesConfig` to `useChartSeriesConfig` plugin (#21004) @JCQuintas
|
|
206
|
+
- [charts] Move element refs to `useChartElementRef` plugin (#21099) @JCQuintas
|
|
207
|
+
- [charts] Move types related to `seriesConfig` into the `useChartSeriesConfig` plugin folder (#21026) @JCQuintas
|
|
208
|
+
- [charts] Remove `data-has-focused-item` from `ChartsSurface` (#21255) @bernardobelchior
|
|
209
|
+
- [charts] Remove default generic of item identifiers (#21182) @alexfauquette
|
|
210
|
+
- [charts] Remove deprecated `id` from `LegendItemParams` (#21055) @alexfauquette
|
|
211
|
+
- [charts] Remove deprecated `ChartApi` export from `ChartContainer` (#20975) @JCQuintas
|
|
212
|
+
- [charts] Remove deprecated `useAxisTooltip` in favor of `useAxesTooltip` (#20962) @Copilot
|
|
213
|
+
- [charts] Remove deprecated series type helpers and functions (#20998) @alexfauquette
|
|
214
|
+
- [charts] Rename `ChartContainer` to `ChartsContainer` (#21173) @JCQuintas
|
|
215
|
+
- [charts] Rename `getSVGPoint` to `getChartPoint` (#21322) @bernardobelchior
|
|
216
|
+
- [charts] Rename `TickItemType` to `TickItem` (#21008) @bernardobelchior
|
|
217
|
+
- [charts] Replace props `id` by `seriesId` when necessary (#21057) @alexfauquette
|
|
218
|
+
- [charts] Revert `touch-action: pan-y` removal when zoom is disabled (#20852) @bernardobelchior
|
|
219
|
+
- [charts] The `useXxxSeries([])` return empty array (#21001) @alexfauquette
|
|
220
|
+
- [charts] Use `NumberValue` in domain limit function (#21054) @JCQuintas
|
|
221
|
+
|
|
222
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
223
|
+
|
|
224
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.0`, plus:
|
|
225
|
+
|
|
226
|
+
- [charts-pro] Add border radius to heatmap (#20931) @bernardobelchior
|
|
227
|
+
- [charts-pro] Add keyboard navigation to funnel (#20766) @alexfauquette
|
|
228
|
+
- [charts-pro] Add keyboard navigation to heatmap (#20786) @alexfauquette
|
|
229
|
+
- [charts-pro] Add keyboard navigation to sankey (#20777) @alexfauquette
|
|
230
|
+
- [charts-pro] Fix Heatmap's `onItemClick` not triggering (#21016) @bernardobelchior
|
|
231
|
+
- [charts-pro] Fix crash when two same-direction axes have a zoom preview (#20916) @bernardobelchior
|
|
232
|
+
- [charts-pro] Handle edge case in export image (#21190) @bernardobelchior
|
|
233
|
+
- [charts-pro] Prefer global pointer interaction tracker in Heatmap (#20697) @bernardobelchior
|
|
234
|
+
- [charts-pro] Support composition for Sankey (#20604) @alexfauquette
|
|
235
|
+
- [charts-pro] Update Heatmap identifier (#21124) @alexfauquette
|
|
236
|
+
- [charts-pro] Update default value of `hideLegend` prop in `Heatmap` (#20961) @Copilot
|
|
237
|
+
|
|
238
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
239
|
+
|
|
240
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.0`, plus:
|
|
241
|
+
|
|
242
|
+
- [charts-premium] Add WebGL renderer to Heatmap (#20756) @bernardobelchior
|
|
243
|
+
- [charts-premium] Add `ChartContainerPremium` (#20910) @bernardobelchior
|
|
244
|
+
- [charts-premium] Add `HeatmapPremium` (#20930) @bernardobelchior
|
|
245
|
+
- [charts-premium] Add keyboard navigation to range-bar (#21272) @alexfauquette
|
|
246
|
+
- [charts-premium] Extract `HeatmapSVGPlot` from `HeatmapPlot` component (#21015) @bernardobelchior
|
|
247
|
+
- [charts-premium] Fix `ChartDataProviderPremium` tests (#20868) @bernardobelchior
|
|
248
|
+
- [charts-premium] Fix links in comments for chart containers and data providers (#21105) @bernardobelchior
|
|
59
249
|
|
|
60
250
|
### Tree View
|
|
61
251
|
|
|
62
|
-
#### `@mui/x-tree-view@
|
|
252
|
+
#### `@mui/x-tree-view@9.0.0-alpha.0`
|
|
253
|
+
|
|
254
|
+
_No changes._
|
|
63
255
|
|
|
64
|
-
- [
|
|
256
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
257
|
|
|
66
|
-
|
|
258
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.0`, plus:
|
|
67
259
|
|
|
68
|
-
|
|
260
|
+
- [RichTreeViewPro] Add support for virtualization (#20780) @flaviendelangle
|
|
69
261
|
|
|
70
262
|
### Codemod
|
|
71
263
|
|
|
72
|
-
#### `@mui/x-codemod@
|
|
264
|
+
#### `@mui/x-codemod@9.0.0-alpha.0`
|
|
73
265
|
|
|
74
|
-
|
|
266
|
+
- [codemod] Document and Clean the codemod utils (#21014) @alexfauquette
|
|
267
|
+
|
|
268
|
+
### Docs
|
|
269
|
+
|
|
270
|
+
- [docs] Add focus highlight in composition snipets (#20614) @alexfauquette
|
|
271
|
+
- [docs] Add simple candlestick chart demo (#20912) @bernardobelchior
|
|
272
|
+
- [docs] Fix Waterfall Chart documentation badge from Pro to Premium (#20888) @Copilot
|
|
273
|
+
- [docs] Fix broken links on Data Grid Editing sub-pages (#20911) @arminmeh
|
|
274
|
+
- [docs] Fix docs API for HeatmapPremium (#21137) @alexfauquette
|
|
275
|
+
- [docs] Fix horizontal overflow in heatmap docs (#20968) @bernardobelchior
|
|
276
|
+
- [docs] Move Range Bar Chart to existing charts (#21120) @bernardobelchior
|
|
277
|
+
- [docs] Prepare the scheduler doc for the alpha (#21268) @flaviendelangle
|
|
278
|
+
- [docs] Rewording of the heatmap item click (#20987) @alexfauquette
|
|
279
|
+
- [scheduler][docs] Create the Quickstart page (#20913) @flaviendelangle
|
|
280
|
+
- [charts][docs] Revise the Charts CSP doc (#20906) @mapache-salvaje
|
|
281
|
+
- [charts][docs] Revise the Charts Composition doc (#20032) @mapache-salvaje
|
|
282
|
+
- [charts][docs] Revise the Charts Hooks Overview doc (#20921) @mapache-salvaje
|
|
283
|
+
- [charts][docs] Revise the Charts Legend doc (#20821) @mapache-salvaje
|
|
284
|
+
- [charts][docs] Revise the Charts Localization doc (#20800) @mapache-salvaje
|
|
285
|
+
- [charts][docs] Revise the Charts Plugins doc (#20933) @mapache-salvaje
|
|
286
|
+
- [charts][docs] Revise the Charts Stacking doc (#20830) @mapache-salvaje
|
|
287
|
+
- [charts][docs] Revise the Charts Styling doc (#20835) @mapache-salvaje
|
|
288
|
+
- [charts][docs] Revise the Charts Toolbar doc (#20867) @mapache-salvaje
|
|
289
|
+
- [charts][docs] Revise the Charts Tooltip doc (#20869) @mapache-salvaje
|
|
290
|
+
- [charts][docs] Revise the Charts Zoom and Pan doc (#20893) @mapache-salvaje
|
|
291
|
+
- [DataGrid][docs] Add a recipe for handling long text cell (#20754) @siriwatknp
|
|
292
|
+
- [DataGrid][docs] Add high-level competitor comparison to Overview doc (DX-117) (#20870) @mapache-salvaje
|
|
293
|
+
- [DataGrid][docs] Remove Bundling section from quickstart (#21177) @MBilalShafi
|
|
75
294
|
|
|
76
295
|
### Core
|
|
77
296
|
|
|
78
|
-
- [code-infra]
|
|
297
|
+
- [code-infra] Add `MUI_TEST_ENV` global (#21187) @Janpot
|
|
298
|
+
- [code-infra] Fix `material-ui/disallow-react-api-in-server-components` (#20909) @JCQuintas
|
|
299
|
+
- [code-infra] Fix `renameImports` codemod not preserving comments (#20977) @JCQuintas
|
|
300
|
+
- [code-infra] Fix the label comparison to use lower case (#20934) @brijeshb42
|
|
301
|
+
- [code-infra] Github action to sync title and label (#20922) @brijeshb42
|
|
302
|
+
- [code-infra] Ignore scheduler demo with random data (#20982) @JCQuintas
|
|
303
|
+
- [code-infra] Improve `codemod` testing setup (#20981) @JCQuintas
|
|
304
|
+
- [code-infra] Only ignore renovate[bot] in changelog generation script (#21185) @bernardobelchior
|
|
305
|
+
- [code-infra] Prepare for v9 (#20860) @JCQuintas
|
|
306
|
+
- [code-infra] Set `rasterizehtml` version in pnpm catalog (#21175) @bernardobelchior
|
|
307
|
+
- [code-infra] Update codeowners (#20886) @JCQuintas
|
|
308
|
+
- [code-infra] V9 preparation (#20928) @JCQuintas
|
|
309
|
+
- [code-infra] eslint rule rename (#21172) @Janpot
|
|
310
|
+
- [code-infra][docs] V9 charts migration doc kickoff (#20973) @JCQuintas
|
|
311
|
+
- [docs-infra] Add Cookie Banner and Analytics Provider (#21228) @dav-is
|
|
312
|
+
- [docs-infra] Fix missing slots section on API page (#20915) @Janpot
|
|
313
|
+
- [docs-infra] Fix two broken links (#20914) @Janpot
|
|
314
|
+
- [docs-infra] Port demo changes (#20971) @Janpot
|
|
315
|
+
- [internal] Add information about codemods to AGENTS.md (#21011) @bernardobelchior
|
|
316
|
+
- [internal] Fix codemod versioning instructions in `AGENTS.md` (#21024) @bernardobelchior
|
|
317
|
+
- [internal] Fix missing generated props in master (#21142) @bernardobelchior
|
|
318
|
+
- [internal] Headless sorting plugin (#21089) @arminmeh
|
|
319
|
+
- [internal] Remove duplicate code (#20896) @oliviertassinari
|
|
79
320
|
|
|
80
|
-
|
|
321
|
+
### Miscellaneous
|
|
81
322
|
|
|
82
|
-
|
|
323
|
+
- Bump next to ^15.5.11 (#21171) @Copilot
|
|
324
|
+
- [core] Fix CI (#21223) @flaviendelangle
|
|
325
|
+
- [PoC] Headless data grid (#20645) @cherniavskii
|
|
326
|
+
|
|
327
|
+
## v8.27.1
|
|
83
328
|
|
|
84
329
|
_Feb 13, 2026_
|
|
85
330
|
|
|
@@ -11,15 +11,17 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
13
|
var _useMergedRefs = require("@base-ui/utils/useMergedRefs");
|
|
14
|
+
var _store = require("@mui/x-internals/store");
|
|
14
15
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
16
|
var _xLicense = require("@mui/x-license");
|
|
16
|
-
var _useSlotProps = _interopRequireDefault(require("@mui/utils/useSlotProps"));
|
|
17
17
|
var _internals = require("@mui/x-tree-view/internals");
|
|
18
18
|
var _warning = require("@mui/x-internals/warning");
|
|
19
19
|
var _zeroStyled = require("../internals/zero-styled");
|
|
20
20
|
var _richTreeViewProClasses = require("./richTreeViewProClasses");
|
|
21
21
|
var _useExtractRichTreeViewProParameters = require("./useExtractRichTreeViewProParameters");
|
|
22
22
|
var _RichTreeViewProStore = require("../internals/RichTreeViewProStore");
|
|
23
|
+
var _RichTreeViewVirtualizedItems = require("../components/RichTreeViewVirtualizedItems");
|
|
24
|
+
var _virtualization = require("../internals/plugins/virtualization");
|
|
23
25
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
24
26
|
const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiRichTreeViewPro');
|
|
25
27
|
const useUtilityClasses = ownerState => {
|
|
@@ -50,9 +52,13 @@ const RichTreeViewProRoot = exports.RichTreeViewProRoot = (0, _zeroStyled.styled
|
|
|
50
52
|
margin: 0,
|
|
51
53
|
listStyle: 'none',
|
|
52
54
|
outline: 0,
|
|
53
|
-
position: 'relative'
|
|
55
|
+
position: 'relative',
|
|
56
|
+
'&[data-virtualized]': {
|
|
57
|
+
height: '100%',
|
|
58
|
+
width: '100%'
|
|
59
|
+
}
|
|
54
60
|
});
|
|
55
|
-
const releaseInfo = "
|
|
61
|
+
const releaseInfo = "MTc3MjA2NDAwMDAwMA==";
|
|
56
62
|
|
|
57
63
|
/**
|
|
58
64
|
*
|
|
@@ -76,25 +82,29 @@ const RichTreeViewPro = exports.RichTreeViewPro = /*#__PURE__*/React.forwardRef(
|
|
|
76
82
|
}
|
|
77
83
|
}
|
|
78
84
|
const {
|
|
79
|
-
slots,
|
|
85
|
+
slots: inSlots,
|
|
80
86
|
slotProps,
|
|
81
87
|
apiRef,
|
|
82
88
|
parameters,
|
|
83
89
|
forwardedProps
|
|
84
90
|
} = (0, _useExtractRichTreeViewProParameters.useExtractRichTreeViewProParameters)(props);
|
|
91
|
+
|
|
92
|
+
// Context hooks
|
|
85
93
|
const store = (0, _internals.useTreeViewStore)(_RichTreeViewProStore.RichTreeViewProStore, parameters);
|
|
94
|
+
|
|
95
|
+
// Ref hooks
|
|
86
96
|
const ref = React.useRef(null);
|
|
87
97
|
const handleRef = (0, _useMergedRefs.useMergedRefs)(forwardedRef, ref);
|
|
88
|
-
|
|
98
|
+
|
|
99
|
+
// Selector hooks
|
|
100
|
+
const isVirtualizationEnabled = (0, _store.useStore)(store, _virtualization.virtualizationSelectors.enabled);
|
|
101
|
+
|
|
102
|
+
// Feature hooks
|
|
89
103
|
const classes = useUtilityClasses(props);
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
className: classes.root,
|
|
95
|
-
getSlotProps: getRootProps,
|
|
96
|
-
ownerState: props
|
|
97
|
-
});
|
|
104
|
+
const slots = React.useMemo(() => (0, _extends2.default)({
|
|
105
|
+
root: RichTreeViewProRoot
|
|
106
|
+
}, inSlots), [inSlots]);
|
|
107
|
+
const Renderer = isVirtualizationEnabled ? _RichTreeViewVirtualizedItems.RichTreeViewVirtualizedItems : _internals.RichTreeViewItems;
|
|
98
108
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_internals.TreeViewProvider, {
|
|
99
109
|
store: store,
|
|
100
110
|
classes: classes,
|
|
@@ -102,17 +112,18 @@ const RichTreeViewPro = exports.RichTreeViewPro = /*#__PURE__*/React.forwardRef(
|
|
|
102
112
|
slotProps: slotProps,
|
|
103
113
|
apiRef: apiRef,
|
|
104
114
|
rootRef: ref,
|
|
105
|
-
children: /*#__PURE__*/(0, _jsxRuntime.
|
|
115
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_internals.TreeViewItemDepthContext.Provider, {
|
|
106
116
|
value: _internals.itemsSelectors.itemDepth,
|
|
107
|
-
children: /*#__PURE__*/(0, _jsxRuntime.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
117
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Renderer, {
|
|
118
|
+
slots: slots,
|
|
119
|
+
slotProps: slotProps,
|
|
120
|
+
forwardedProps: forwardedProps,
|
|
121
|
+
ownerState: props,
|
|
122
|
+
rootRef: handleRef
|
|
123
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
|
|
124
|
+
packageName: "x-tree-view-pro",
|
|
125
|
+
releaseInfo: releaseInfo
|
|
126
|
+
})]
|
|
116
127
|
})
|
|
117
128
|
});
|
|
118
129
|
});
|
|
@@ -198,6 +209,13 @@ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
|
|
|
198
209
|
* @default false
|
|
199
210
|
*/
|
|
200
211
|
disableSelection: _propTypes.default.bool,
|
|
212
|
+
/**
|
|
213
|
+
* When equal to 'flat', the tree is rendered as a flat list (children are rendered as siblings of their parents).
|
|
214
|
+
* When equal to 'nested', the tree is rendered with nested children (children are rendered inside the groupTransition slot of their children).
|
|
215
|
+
* Nested DOM structure is not compatible with collapse / expansion animations.
|
|
216
|
+
* @default 'flat' when using virtualization, 'nested' otherwise
|
|
217
|
+
*/
|
|
218
|
+
domStructure: _propTypes.default.oneOf(['flat', 'nested']),
|
|
201
219
|
/**
|
|
202
220
|
* Expanded item ids.
|
|
203
221
|
* Used when the item's expansion is controlled.
|
|
@@ -275,6 +293,11 @@ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
|
|
|
275
293
|
* @default 12px
|
|
276
294
|
*/
|
|
277
295
|
itemChildrenIndentation: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
296
|
+
/**
|
|
297
|
+
* Sets the height in pixel of an item.
|
|
298
|
+
* If not provided, no height restriction is applied to the tree item content element.
|
|
299
|
+
*/
|
|
300
|
+
itemHeight: _propTypes.default.number,
|
|
278
301
|
items: _propTypes.default.array.isRequired,
|
|
279
302
|
/**
|
|
280
303
|
* If `true`, the reordering of items is enabled.
|
|
@@ -377,5 +400,12 @@ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
|
|
|
377
400
|
/**
|
|
378
401
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
379
402
|
*/
|
|
380
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
403
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
404
|
+
/**
|
|
405
|
+
* Whether virtualization is enabled.
|
|
406
|
+
* If true, the DOM structure will be set to 'flat'.
|
|
407
|
+
* If true and no itemHeight is provided, a default item height of 32px will be used for calculating the virtualization.
|
|
408
|
+
* @default false
|
|
409
|
+
*/
|
|
410
|
+
virtualization: _propTypes.default.bool
|
|
381
411
|
} : void 0;
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Theme } from '@mui/material/styles';
|
|
3
3
|
import { SxProps } from '@mui/system/styleFunctionSx';
|
|
4
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
5
4
|
import { TreeViewValidItem } from '@mui/x-tree-view/models';
|
|
6
5
|
import { RichTreeViewItemsSlots, RichTreeViewItemsSlotProps, TreeViewSlots, TreeViewSlotProps, UseTreeViewStoreParameters, TreeViewPublicAPI } from '@mui/x-tree-view/internals';
|
|
7
6
|
import { RichTreeViewProClasses } from "./richTreeViewProClasses.js";
|
|
8
7
|
import { RichTreeViewProStore } from "../internals/RichTreeViewProStore/index.js";
|
|
9
|
-
export interface RichTreeViewProSlots extends TreeViewSlots, RichTreeViewItemsSlots {
|
|
8
|
+
export interface RichTreeViewProSlots extends TreeViewSlots, Omit<RichTreeViewItemsSlots, 'root'> {
|
|
10
9
|
/**
|
|
11
10
|
* Element rendered at the root.
|
|
12
11
|
* @default RichTreeViewProRoot
|
|
13
12
|
*/
|
|
14
13
|
root?: React.ElementType;
|
|
15
14
|
}
|
|
16
|
-
export interface RichTreeViewProSlotProps<R extends {}, Multiple extends boolean | undefined> extends TreeViewSlotProps, RichTreeViewItemsSlotProps {
|
|
17
|
-
root?: SlotComponentProps<'ul', {}, RichTreeViewProProps<R, Multiple>>;
|
|
18
|
-
}
|
|
15
|
+
export interface RichTreeViewProSlotProps<R extends {}, Multiple extends boolean | undefined> extends TreeViewSlotProps, RichTreeViewItemsSlotProps<RichTreeViewProProps<R, Multiple>> {}
|
|
19
16
|
export type RichTreeViewProApiRef<R extends TreeViewValidItem<R> = any, Multiple extends boolean | undefined = any> = React.RefObject<Partial<TreeViewPublicAPI<RichTreeViewProStore<R, Multiple>>> | undefined>;
|
|
20
17
|
export interface RichTreeViewProPropsBase extends React.HTMLAttributes<HTMLUListElement> {
|
|
21
18
|
className?: string;
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.useExtractRichTreeViewProParameters = useExtractRichTreeViewProParameters;
|
|
9
9
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
const _excluded = ["apiRef", "slots", "slotProps", "disabledItemsFocusable", "items", "isItemDisabled", "isItemSelectionDisabled", "getItemLabel", "getItemChildren", "getItemId", "onItemClick", "itemChildrenIndentation", "id", "expandedItems", "defaultExpandedItems", "onExpandedItemsChange", "onItemExpansionToggle", "expansionTrigger", "disableSelection", "selectedItems", "defaultSelectedItems", "multiSelect", "checkboxSelection", "selectionPropagation", "onSelectedItemsChange", "onItemSelectionToggle", "onItemFocus", "onItemLabelChange", "isItemEditable", "dataSource", "dataSourceCache", "itemsReordering", "isItemReorderable", "canMoveItemToNewPosition", "onItemPositionChange"];
|
|
11
|
+
const _excluded = ["apiRef", "slots", "slotProps", "disabledItemsFocusable", "items", "isItemDisabled", "isItemSelectionDisabled", "getItemLabel", "getItemChildren", "getItemId", "onItemClick", "itemChildrenIndentation", "id", "expandedItems", "defaultExpandedItems", "onExpandedItemsChange", "onItemExpansionToggle", "expansionTrigger", "disableSelection", "selectedItems", "defaultSelectedItems", "multiSelect", "checkboxSelection", "selectionPropagation", "onSelectedItemsChange", "onItemSelectionToggle", "onItemFocus", "itemHeight", "onItemLabelChange", "isItemEditable", "domStructure", "dataSource", "dataSourceCache", "itemsReordering", "isItemReorderable", "canMoveItemToNewPosition", "onItemPositionChange", "virtualization"];
|
|
12
12
|
function useExtractRichTreeViewProParameters(props) {
|
|
13
13
|
const {
|
|
14
14
|
// Props for Provider
|
|
@@ -40,16 +40,19 @@ function useExtractRichTreeViewProParameters(props) {
|
|
|
40
40
|
onSelectedItemsChange,
|
|
41
41
|
onItemSelectionToggle,
|
|
42
42
|
onItemFocus,
|
|
43
|
+
itemHeight,
|
|
43
44
|
// RichTreeViewStore parameters
|
|
44
45
|
onItemLabelChange,
|
|
45
46
|
isItemEditable,
|
|
47
|
+
domStructure,
|
|
46
48
|
// RichTreeViewProStore parameters
|
|
47
49
|
dataSource,
|
|
48
50
|
dataSourceCache,
|
|
49
51
|
itemsReordering,
|
|
50
52
|
isItemReorderable,
|
|
51
53
|
canMoveItemToNewPosition,
|
|
52
|
-
onItemPositionChange
|
|
54
|
+
onItemPositionChange,
|
|
55
|
+
virtualization
|
|
53
56
|
|
|
54
57
|
// Forwarded props
|
|
55
58
|
} = props,
|
|
@@ -80,23 +83,26 @@ function useExtractRichTreeViewProParameters(props) {
|
|
|
80
83
|
onSelectedItemsChange,
|
|
81
84
|
onItemSelectionToggle,
|
|
82
85
|
onItemFocus,
|
|
86
|
+
itemHeight,
|
|
83
87
|
// RichTreeViewStore parameters
|
|
84
88
|
onItemLabelChange,
|
|
85
89
|
isItemEditable,
|
|
90
|
+
domStructure,
|
|
86
91
|
// RichTreeViewProStore parameters
|
|
87
92
|
dataSource,
|
|
88
93
|
dataSourceCache,
|
|
89
94
|
itemsReordering,
|
|
90
95
|
isItemReorderable,
|
|
91
96
|
canMoveItemToNewPosition,
|
|
92
|
-
onItemPositionChange
|
|
97
|
+
onItemPositionChange,
|
|
98
|
+
virtualization
|
|
93
99
|
}), [
|
|
94
100
|
// Shared parameters
|
|
95
|
-
disabledItemsFocusable, items, isItemDisabled, isItemSelectionDisabled, getItemLabel, getItemChildren, getItemId, onItemClick, itemChildrenIndentation, id, expandedItems, defaultExpandedItems, onExpandedItemsChange, onItemExpansionToggle, expansionTrigger, disableSelection, selectedItems, defaultSelectedItems, multiSelect, checkboxSelection, selectionPropagation, onSelectedItemsChange, onItemSelectionToggle, onItemFocus,
|
|
101
|
+
disabledItemsFocusable, items, isItemDisabled, isItemSelectionDisabled, getItemLabel, getItemChildren, getItemId, onItemClick, itemChildrenIndentation, id, expandedItems, defaultExpandedItems, onExpandedItemsChange, onItemExpansionToggle, expansionTrigger, disableSelection, selectedItems, defaultSelectedItems, multiSelect, checkboxSelection, selectionPropagation, onSelectedItemsChange, onItemSelectionToggle, onItemFocus, itemHeight,
|
|
96
102
|
// RichTreeViewStore parameters
|
|
97
|
-
onItemLabelChange, isItemEditable,
|
|
103
|
+
onItemLabelChange, isItemEditable, domStructure,
|
|
98
104
|
// RichTreeViewProStore parameters
|
|
99
|
-
dataSource, dataSourceCache, itemsReordering, isItemReorderable, canMoveItemToNewPosition, onItemPositionChange]);
|
|
105
|
+
dataSource, dataSourceCache, itemsReordering, isItemReorderable, canMoveItemToNewPosition, onItemPositionChange, virtualization]);
|
|
100
106
|
return {
|
|
101
107
|
apiRef,
|
|
102
108
|
slots,
|