@mui/x-tree-view-pro 7.22.1 → 8.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 +486 -11
- package/README.md +4 -4
- package/RichTreeViewPro/RichTreeViewPro.js +22 -5
- package/RichTreeViewPro/RichTreeViewPro.types.d.ts +3 -17
- package/index.d.ts +5 -7
- package/index.js +6 -8
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.itemPlugin.d.ts +1 -2
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.itemPlugin.js +12 -14
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.js +34 -32
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.selectors.d.ts +159 -0
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.selectors.js +35 -0
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.types.d.ts +11 -10
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.utils.d.ts +4 -6
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.utils.js +25 -17
- package/internals/utils/releaseInfo.js +1 -1
- package/modern/RichTreeViewPro/RichTreeViewPro.js +22 -5
- package/modern/index.js +6 -8
- package/modern/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.itemPlugin.js +12 -14
- package/modern/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.js +34 -32
- package/modern/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.selectors.js +35 -0
- package/modern/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.utils.js +25 -17
- package/modern/internals/utils/releaseInfo.js +1 -1
- package/node/RichTreeViewPro/RichTreeViewPro.js +22 -5
- package/node/index.js +18 -42
- package/node/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.itemPlugin.js +11 -13
- package/node/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.js +34 -32
- package/node/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.selectors.js +42 -0
- package/node/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.utils.js +24 -16
- package/node/internals/utils/releaseInfo.js +1 -1
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,483 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
> For full v7 changelog, please refer to the [v.7x branch](https://github.com/mui/mui-x/blob/v7.x/CHANGELOG.md).
|
|
4
|
+
|
|
3
5
|
All notable changes to this project will be documented in this file.
|
|
4
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
7
|
|
|
8
|
+
## v8.0.0-alpha.1
|
|
9
|
+
|
|
10
|
+
_Nov 22, 2024_
|
|
11
|
+
|
|
12
|
+
We'd like to offer a big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🔧 Refactor Tooltip customisation for charts — [Learn more](https://next.mui.com/x/react-charts/tooltip/#overriding-content).
|
|
15
|
+
- ⚛️ React 19 support
|
|
16
|
+
- 🌍 Improve Chinese, Spanish, and Swedish locale on the Data Grid component
|
|
17
|
+
- 🐞 Bugfixes
|
|
18
|
+
- 📚 Documentation improvements
|
|
19
|
+
|
|
20
|
+
### Breaking change
|
|
21
|
+
|
|
22
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
23
|
+
@CarlosLopezLg, @headironc, @hendrikpeilke, @k-rajat19, @lhilgert9, @viktormelin.
|
|
24
|
+
Following are all team members who have contributed to this release:
|
|
25
|
+
@alexfauquette, @arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @LukasTy, @MBilalShafi, @oliviertassinari, @KenanYusuf, @arminmeh.
|
|
26
|
+
|
|
27
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
28
|
+
|
|
29
|
+
### Data Grid
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid@v8.0.0-alpha.1`
|
|
32
|
+
|
|
33
|
+
- [DataGrid] React 19 support (#15342) @arminmeh
|
|
34
|
+
- [DataGrid] Add prop to override search input props in `GridColumnsManagement` (#15347) @k-rajat19
|
|
35
|
+
- [DataGrid] Add test coverage for issues fixed in #15184 (#15282) @MBilalShafi
|
|
36
|
+
- [DataGrid] Change default loading overlay variants (#15504) @KenanYusuf
|
|
37
|
+
- [DataGrid] Fix last separator not being hidden when grid is scrollable (#15543) @KenanYusuf
|
|
38
|
+
- [DataGrid] Fix right column group header border with virtualization (#15470) @hendrikpeilke
|
|
39
|
+
- [DataGrid] Fix row-spanning in combination with column-pinning (#15368) @lhilgert9
|
|
40
|
+
- [l10n] Improve Chinese (zh-CN) locale (#15365) @headironc
|
|
41
|
+
- [l10n] Improve Spanish (es-ES) locale (#15369) @CarlosLopezLg
|
|
42
|
+
- [l10n] Improve Swedish (sv-SE) locale (#15371) @viktormelin
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-data-grid-pro@v8.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
45
|
+
|
|
46
|
+
Same changes as in `@mui/x-data-grid@v8.0.0-alpha.1`.
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-data-grid-premium@v8.0.0-alpha.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
49
|
+
|
|
50
|
+
Same changes as in `@mui/x-data-grid-pro@v8.0.0-alpha.1`, plus:
|
|
51
|
+
|
|
52
|
+
- [DataGridPremium] Prompt input control (#15401) @arminmeh
|
|
53
|
+
|
|
54
|
+
### Date and Time Pickers
|
|
55
|
+
|
|
56
|
+
#### Breaking change
|
|
57
|
+
|
|
58
|
+
- The `FieldValueType` type has been renamed to `PickerValueType` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#renamed-variables).
|
|
59
|
+
- The `toolbar` and `layout` slots no longer receive the `disabled` and `readOnly` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slots-breaking-changes).
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-date-pickers@v8.0.0-alpha.1`
|
|
62
|
+
|
|
63
|
+
- [fields] Fix focus management with new DOM structure (#15475) @flaviendelangle
|
|
64
|
+
- [pickers] React 19 support (#15342) @arminmeh
|
|
65
|
+
- [pickers] Add new properties to `PickerOwnerState` and `PickerContextValue` (#15415) @flaviendelangle
|
|
66
|
+
- [pickers] Always use `props.value` when it changes (#15490) @flaviendelangle
|
|
67
|
+
- [pickers] Ensure internal value timezone is updated (#15435) @LukasTy
|
|
68
|
+
- [pickers] Fix unused code in `<PickersToolbar />` component (#15515) @LukasTy
|
|
69
|
+
- [pickers] Remove `FieldValueType` in favor of `PickerValueType` (#15259) @arthurbalduini
|
|
70
|
+
- [pickers] Remove the form props from the layout and the toolbar slots (#15492) @flaviendelangle
|
|
71
|
+
- [pickers] Use `props.referenceDate` timezone when `props.value` and `props.defaultValue` are not defined (#15532) @flaviendelangle
|
|
72
|
+
- [TimePicker] Prevent mouse events after `touchend` event (#15346) @arthurbalduini
|
|
73
|
+
|
|
74
|
+
#### `@mui/x-date-pickers-pro@v8.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
75
|
+
|
|
76
|
+
Same changes as in `@mui/x-date-pickers@v8.0.0-alpha.1`, plus:
|
|
77
|
+
|
|
78
|
+
- [DateTimeRangePicker] Use time in `referenceDate` when selecting date (#15429) @LukasTy
|
|
79
|
+
|
|
80
|
+
### Charts
|
|
81
|
+
|
|
82
|
+
#### Breaking change
|
|
83
|
+
|
|
84
|
+
- The DX of the Tooltip customization has been refactored
|
|
85
|
+
- The `tooltip` prop has been removed in favor of `slotProps.tooltip` for consistency.
|
|
86
|
+
- The `popper`, `axisContent`, and `itemContent` slots have been removed in favor of the `tooltip` slot which overrides the entire tooltip.
|
|
87
|
+
- To override the tooltip content, use the `useItemTooltip` or `useAxisTooltip` hook to get the data, and wrap your component in `ChartsTooltipContainer` to follow the pointer position.
|
|
88
|
+
- To override the tooltip placement, use the `ChartsItemTooltipContent` or `ChartsItemTooltipContent` to get default data and place them in your custom tooltip.
|
|
89
|
+
|
|
90
|
+
- The library now uses the SVG `filter` attribute instead of `d3-color` for color manipulation.
|
|
91
|
+
- This modification impacts the `LinePlot`, `AreaPlot`, and `BarPlot` components.
|
|
92
|
+
If you've customized the `fill` of those elements, you might need to override it by using the CSS `filter`.
|
|
93
|
+
- The `theme.styleOverride` is removed for `MuiLineElement`, `MuiAreaElement`, and `MuiBarElement` to improve performance.
|
|
94
|
+
You can still target those elements by using the `MuiLinePlot`, `MuiAreaPlot`, and `MuiBarPlot` and target the appropriate classes `lineElementClasses.root`, `areaElementClasses.root`, `barElementClasses.root`
|
|
95
|
+
|
|
96
|
+
- Removed the `resolveSizeBeforeRender` prop from all chart components — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#remove-resolvesizebeforerender-prop).
|
|
97
|
+
- Removed `width` and `height` props from the `ChartsSurface` component.
|
|
98
|
+
- Removed the `viewport` prop from all charts.
|
|
99
|
+
|
|
100
|
+
#### `@mui/x-charts@v8.0.0-alpha.1`
|
|
101
|
+
|
|
102
|
+
- [charts] React 19 support (#15342) @arminmeh
|
|
103
|
+
- [charts] Decouple `<ChartDataProvider />` and `<ChartsSurface />` (#15375) @JCQuintas
|
|
104
|
+
- [charts] Fix Scatter Chart tooltip wrong defaults (#15537) @JCQuintas
|
|
105
|
+
- [charts] Fix key generation for the `<ChartsGrid />` component (#15463) @alexfauquette
|
|
106
|
+
- [charts] Improve `<SvgRefProvider />` to split the received ref (#15424) @JCQuintas
|
|
107
|
+
- [charts] Move interaction state in store (#15426) @alexfauquette
|
|
108
|
+
- [charts] Refactor Tooltip customisation (#15154) @alexfauquette
|
|
109
|
+
- [charts] Remove intrinsic size requirement (#15471) @JCQuintas
|
|
110
|
+
- [charts] Replace `d3-color` with CSS filter for highlight (#15084) @alexfauquette
|
|
111
|
+
- [charts] Split `<DrawingProvider />` into `<DrawingAreaProvider />` and `<SvgRefProvider />` (#15417) @JCQuintas
|
|
112
|
+
|
|
113
|
+
#### `@mui/x-charts-pro@v8.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
114
|
+
|
|
115
|
+
Same changes as in `@mui/x-charts@v8.0.0-alpha.1`.
|
|
116
|
+
|
|
117
|
+
### Tree View
|
|
118
|
+
|
|
119
|
+
#### Breaking changes
|
|
120
|
+
|
|
121
|
+
- The Tree Item component can no longer use `publicAPI` methods in the `render` because they are now memoized — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#stop-using-publicapi-methods-in-the-render).
|
|
122
|
+
|
|
123
|
+
#### `@mui/x-tree-view@v8.0.0-alpha.1`
|
|
124
|
+
|
|
125
|
+
- [TreeView] React 19 support (#15342) @arminmeh
|
|
126
|
+
- [TreeView] Do not re-render every Tree Item when the Rich Tree View re-renders (introduce selectors) (#14210) @flaviendelangle
|
|
127
|
+
- [TreeView] Remove `treeId` from the item context (#15542) @flaviendelangle
|
|
128
|
+
- [TreeView] Remove state mutation in `moveItemInTree()` (#15539) @flaviendelangle
|
|
129
|
+
- [TreeItem] Correct the typing of `slotProps.groupTransition` (#15534) @flaviendelangle
|
|
130
|
+
|
|
131
|
+
### Docs
|
|
132
|
+
|
|
133
|
+
- [docs] Fix some migration typos (#15422) @LukasTy
|
|
134
|
+
- [docs] Fix typo in migration guide (#15508) @flaviendelangle
|
|
135
|
+
- [docs] Fix 301 redirection in docs @oliviertassinari
|
|
136
|
+
- [docs] Polish Server-side data section (#15330) @oliviertassinari
|
|
137
|
+
- [docs] Use loading state in the demos (#15512) @cherniavskii
|
|
138
|
+
|
|
139
|
+
### Core
|
|
140
|
+
|
|
141
|
+
- [core] Keep OpenSSF badge up-to-date @oliviertassinari
|
|
142
|
+
- [code-infra] Add `'DensitySelectorGrid'` to time-sensitive argos tests (#15425) @JCQuintas
|
|
143
|
+
- [code-infra] Add documentation to internal types (#15540) @JCQuintas
|
|
144
|
+
- [code-infra] Prevent relative imports across packages (#15437) @JCQuintas
|
|
145
|
+
- [code-infra] Update renovate config to merge `action` pins (#15462) @LukasTy
|
|
146
|
+
- [docs-infra] Fix version tooltip (#15468) @alexfauquette
|
|
147
|
+
- [docs-infra] Transpile `.ts` demo files (#15345) @KenanYusuf
|
|
148
|
+
- [infra] Remove cherry-pick issue write permission (#15456) @oliviertassinari
|
|
149
|
+
|
|
150
|
+
## 8.0.0-alpha.0
|
|
151
|
+
|
|
152
|
+
<img width="100%" alt="MUI X v8 Alpha is live" src="https://github.com/user-attachments/assets/114cf615-b617-435f-8499-76ac3c26c57b">
|
|
153
|
+
|
|
154
|
+
_Nov 14, 2024_
|
|
155
|
+
|
|
156
|
+
We'd like to offer a big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
|
|
157
|
+
|
|
158
|
+
- 🔁 Support [automatic parents and children selection](https://next.mui.com/x/react-tree-view/rich-tree-view/selection/#automatic-parents-and-children-selection) for the Rich Tree View components.
|
|
159
|
+
- 🌍 Improve Greek (el-GR) locale on the Date and Time Pickers components
|
|
160
|
+
- 🌍 Improve Polish (pl-PL) locale on the Data Grid component
|
|
161
|
+
- 🐞 Bugfixes
|
|
162
|
+
- 📚 Documentation improvements
|
|
163
|
+
|
|
164
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
165
|
+
@belkocik, @GeorgiosDrivas, @k-rajat19, @kalyan90, @DungTiger, @fxnoob, @GuillaumeMeheut
|
|
166
|
+
Following are all team members who have contributed to this release:
|
|
167
|
+
@alexfauquette, @arminmeh, @arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @noraleonte, @oliviertassinari, @romgrk, @samuelsycamore, @joserodolfofreitas.
|
|
168
|
+
|
|
169
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
170
|
+
|
|
171
|
+
### Data Grid
|
|
172
|
+
|
|
173
|
+
#### `@mui/x-data-grid@8.0.0-alpha.0`
|
|
174
|
+
|
|
175
|
+
- [DataGrid] Fix grid overlay aligment with scroll for rtl (#15072) @kalyan90
|
|
176
|
+
- [DataGrid] Fix resizing right pinned column (#15107) @KenanYusuf
|
|
177
|
+
- [DataGrid] Pass the reason to the `onPaginationModelChange` callback (#13959) @DungTiger
|
|
178
|
+
- [DataGrid] Set default overlay height in flex parent layout (#15202) @cherniavskii
|
|
179
|
+
- [DataGrid] Refactor `baseMenuList` and `baseMenuItem` (#15049) @romgrk
|
|
180
|
+
- [DataGrid] Remove more material imports (#15063) @romgrk
|
|
181
|
+
- [l10n] Improve Polish (pl-PL) locale (#15227) @belkocik
|
|
182
|
+
|
|
183
|
+
#### `@mui/x-data-grid-pro@8.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
184
|
+
|
|
185
|
+
Same changes as in `@mui/x-data-grid@8.0.0-alpha.0`, plus:
|
|
186
|
+
|
|
187
|
+
- [DataGridPro] Fix column pinning layout (#14966) @cherniavskii
|
|
188
|
+
|
|
189
|
+
#### `@mui/x-data-grid-premium@8.0.0-alpha.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
190
|
+
|
|
191
|
+
Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.0`, plus:
|
|
192
|
+
|
|
193
|
+
- [DataGridPremium] Server-side data source with row grouping (#13826) @MBilalShafi
|
|
194
|
+
|
|
195
|
+
### Date and Time Pickers
|
|
196
|
+
|
|
197
|
+
#### Breaking changes
|
|
198
|
+
|
|
199
|
+
- The default DOM structure of the field has changed [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field).
|
|
200
|
+
|
|
201
|
+
- Before version `v8.x`, the fields' DOM structure consisted of an `<input />`, which held the whole value for the component, but unfortunately presents a few limitations in terms of accessibility when managing multiple section values.
|
|
202
|
+
- Starting with version `v8.x`, all the field and picker components come with a new DOM structure that allows the field component to set aria attributes on individual sections, providing a far better experience with screen readers.
|
|
203
|
+
|
|
204
|
+
- Some translation keys no longer require `utils` and the date object as parameters, but only the formatted value as a string. The keys affected by this changes are: `clockLabelText`, `openDatePickerDialogue` and `openTimePickerDialogue` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#stop-passing-utils-and-the-date-object-to-some-translation-keys).
|
|
205
|
+
|
|
206
|
+
- The following types are no longer exported by `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#removed-types).
|
|
207
|
+
|
|
208
|
+
- `UseDateFieldComponentProps`
|
|
209
|
+
- `UseTimeFieldComponentProps`
|
|
210
|
+
- `UseDateTimeFieldComponentProps`
|
|
211
|
+
- `BaseSingleInputFieldProps`
|
|
212
|
+
- `BaseMultiInputFieldProps`
|
|
213
|
+
- `BasePickersTextFieldProps`
|
|
214
|
+
|
|
215
|
+
- The `TDate` generic has been removed from all the types, interfaces, and variables of the `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` packages — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#remove-tdate-generic).
|
|
216
|
+
|
|
217
|
+
- Renamed `usePickersTranslations` and `usePickersContext` hooks to have a coherent `Picker` prefix instead of `Pickers` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#renamed-variables).
|
|
218
|
+
|
|
219
|
+
- The `LicenseInfo` object is no longer exported from the `@mui/x-date-pickers-pro` package — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#stop-using-licenseinfo-from-mui-x-date-pickers-pro).
|
|
220
|
+
|
|
221
|
+
#### `@mui/x-date-pickers@8.0.0-alpha.0`
|
|
222
|
+
|
|
223
|
+
- [fields] Enable the new field DOM structure by default (#14651) @flaviendelangle
|
|
224
|
+
- [fields] Remove `UseDateFieldComponentProps` and equivalent interfaces (#15053) @flaviendelangle
|
|
225
|
+
- [fields] Remove clear button from the tab sequence (#14616) @k-rajat19
|
|
226
|
+
- [l10n] Improve Greek (el-GR) locale (#15250) @GeorgiosDrivas
|
|
227
|
+
- [pickers] Clean definition of validation props (#15198) @flaviendelangle
|
|
228
|
+
- [pickers] Clean the new `ownerState` object (#15056) @flaviendelangle
|
|
229
|
+
- [pickers] Correctly type the `ownerState` of the `field` and `actionBar` slots when resolved in a picker component (#15162) @flaviendelangle
|
|
230
|
+
- [pickers] Fix `DateCalendar` timezone management (#12321) @LukasTy
|
|
231
|
+
- [pickers] Fix `DateTimeRangePicker` error when using format without time (#14917) @fxnoob
|
|
232
|
+
- [pickers] Fix `DigitalClock` time options on a `DST` switch day (#10793) @LukasTy
|
|
233
|
+
- [pickers] Remove `TDate` generics in favor of `PickerValidDate` direct usage (#15001) @flaviendelangle
|
|
234
|
+
- [pickers] Remove `utils` and `value` params from translations (#14986) @arthurbalduini
|
|
235
|
+
- [pickers] Remove plural in "Pickers" on recently introduced APIs (#15297) @flaviendelangle
|
|
236
|
+
- [pickers] Remove the re-export from `@mui/x-license` (#14487) @k-rajat19
|
|
237
|
+
- [pickers] Strictly type the props a picker passes to its field, and migrate all the custom field demos accordingly (#15197) @flaviendelangle
|
|
238
|
+
- [pickers] Unify JSDoc for all the `disabled` and `readOnly` props (#15304) @flaviendelangle
|
|
239
|
+
- [pickers] Use the new `ownerState` in `DateCalendar`, `DateRangeCalendar`, `MonthCalendar` and `YearCalendar` (#15171) @flaviendelangle
|
|
240
|
+
- [pickers] Use the new `ownerState` in `usePickersLayout` and `useXXXPicker` (#14994) @flaviendelangle
|
|
241
|
+
|
|
242
|
+
#### `@mui/x-date-pickers-pro@8.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
243
|
+
|
|
244
|
+
Same changes as in `@mui/x-date-pickers@8.0.0-alpha.0`.
|
|
245
|
+
|
|
246
|
+
### Charts
|
|
247
|
+
|
|
248
|
+
#### Breaking changes
|
|
249
|
+
|
|
250
|
+
- The `legend` prop has been removed. To pass props to the legend, use `slotProps={{ legend: { ... } }}` instead. This can be automatically done with the codemod as long as the `legend` prop does not come from a destructured object — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#legend-props-propagation-✅).
|
|
251
|
+
|
|
252
|
+
- The `slots.legend` does not receive the `drawingArea` prop. You can still access your custom legend with the `useDrawingArea()` hook if your custom legend needs it.
|
|
253
|
+
|
|
254
|
+
- Removed or renamed multiple props from Series — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#series-properties-renaming).
|
|
255
|
+
|
|
256
|
+
- The `highlighted` and `faded` properties of highlightScope have been deprecated in favor of `highlight` and `fade`.
|
|
257
|
+
The deprecated ones are now removed.
|
|
258
|
+
- The `xAxisKey`, `yAxisKey`, and `zAxisKey` properties have been deprecated in favor of `xAxisId`, `yAxisId`, and `zAxisId`.
|
|
259
|
+
|
|
260
|
+
- The Pie Chart lost all props and renderer linked to axes because pie chart does not need cartesian axes. If you used it, you can still add them back with composition. Please consider opening an issue to share your use case with us — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#remove-pie-chart-axes).
|
|
261
|
+
|
|
262
|
+
#### `@mui/x-charts@8.0.0-alpha.0`
|
|
263
|
+
|
|
264
|
+
- [charts] Introduce `hideLegend` prop (#15277) @alexfauquette
|
|
265
|
+
- [charts] Filter items outside the drawing area for performance (#14281) @alexfauquette
|
|
266
|
+
- [charts] Fix log scale with `null` data (#15337) @alexfauquette
|
|
267
|
+
- [charts] Fix tooltip follow mouse (#15189) @alexfauquette
|
|
268
|
+
- [charts] Remove `xAxisKey`, `yAxisKey`, and `zAxisKey` series keys (#15192) @alexfauquette
|
|
269
|
+
- [charts] Remove axis from the pie chart (#15187) @alexfauquette
|
|
270
|
+
- [charts] Remove deprecated `legend` props (#15081) @alexfauquette
|
|
271
|
+
- [charts] Remove deprecated highlight properties (#15191) @alexfauquette
|
|
272
|
+
- [charts] Update Popper position outside of React (#15003) @alexfauquette
|
|
273
|
+
- [charts] Improve the performance of the `getSymbol` method (#15233) @romgrk
|
|
274
|
+
|
|
275
|
+
#### `@mui/x-charts-pro@8.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
276
|
+
|
|
277
|
+
Same changes as in `@mui/x-charts@8.0.0-alpha.0`.
|
|
278
|
+
|
|
279
|
+
### Tree View
|
|
280
|
+
|
|
281
|
+
#### Breaking changes
|
|
282
|
+
|
|
283
|
+
- The `ContentComponent` or `ContentProps` props of the `<TreeItem />` component have been removed in favor of the new `slots`, `slotProps` props and of the `useTreeItem` hook — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#new-api-to-customize-the-tree-item).
|
|
284
|
+
|
|
285
|
+
- The `onClick` and `onMouseDown` callbacks of the Tree Item component are now passed to the root element instead of the content — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#behavior-change-on-the-onclick-and-onmousedown-props-of-treeitem).
|
|
286
|
+
|
|
287
|
+
- Rename the `<TreeItem2 />` component (and related utils) — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#✅-rename-the-treeitem2-and-related-utils).
|
|
288
|
+
|
|
289
|
+
- The `<TreeView />` component has been renamed `<SimpleTreeView />` which has exactly the same API — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#✅-use-simple-tree-view-instead-of-tree-view).
|
|
290
|
+
|
|
291
|
+
- The indentation of nested Tree Items is now applied on the content of the element — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#apply-the-indentation-on-the-item-content-instead-of-its-parents-group).
|
|
292
|
+
|
|
293
|
+
#### `@mui/x-tree-view@8.0.0-alpha.0`
|
|
294
|
+
|
|
295
|
+
- [TreeView] Always apply the indentation on the item content instead of its parent's group (#15089) @flaviendelangle
|
|
296
|
+
- [TreeView] Automatic parents and children selection (#14899) @flaviendelangle
|
|
297
|
+
- [TreeView] Remove deprecated `TreeView` component (#15093) @flaviendelangle
|
|
298
|
+
- [TreeView] Replace `<TreeItem />` with `<TreeItem2 />` and migrate all the components and utils (#14913) @flaviendelangle
|
|
299
|
+
|
|
300
|
+
### Docs
|
|
301
|
+
|
|
302
|
+
- [docs] Add docs for rounded symbol (#15324) @GuillaumeMeheut
|
|
303
|
+
- [docs] Add migration guide for the removal of `LicenseInfo` from `@mui/x-date-pickers-pro` (#15321) @flaviendelangle
|
|
304
|
+
- [docs] Add migration guide for the first breaking changes of charts (#15276) @alexfauquette
|
|
305
|
+
- [docs] Add `PickersPopper` component to the Date Picker customization playground (#15305) @LukasTy
|
|
306
|
+
- [docs] Add v8 to supported releases table (#15384) @joserodolfofreitas
|
|
307
|
+
- [docs] Apply the new DX to the Button Field demos (#14860) @flaviendelangle
|
|
308
|
+
- [docs] Apply the new DX to the `Autocomplete` Field demo (#15165) @flaviendelangle
|
|
309
|
+
- [docs] Cleanup the pickers migration guide (#15310) @flaviendelangle
|
|
310
|
+
- [docs] Copyedit the Charts Getting Started sequence (#14962) @samuelsycamore
|
|
311
|
+
- [docs] Create Pickers masked field recipe (#13515) @flaviendelangle
|
|
312
|
+
- [docs] Fix `applyDomain` docs for the charts (#15332) @JCQuintas
|
|
313
|
+
- [docs] Fix link to private notion page (#15396) @michelengelen
|
|
314
|
+
- [docs] Fix missing punctuation on descriptions (#15229) @oliviertassinari
|
|
315
|
+
- [docs] Fix peer dependency range (#15281) @oliviertassinari
|
|
316
|
+
- [docs] Fix small Tree View typo (#15390) @oliviertassinari
|
|
317
|
+
- [docs] Fix the `AdapterMomentHijri` doc section (#15312) @flaviendelangle
|
|
318
|
+
- [docs] Replace the Tree Item anatomy images (#15066) @noraleonte
|
|
319
|
+
- [docs] Start v8 migration guides (#15096) @MBilalShafi
|
|
320
|
+
- [docs] Subdivide and reorganize navigation bar (#15014) @samuelsycamore
|
|
321
|
+
- [docs] Use `PickersTextField` in the customization playground (#15288) @LukasTy
|
|
322
|
+
- [docs] Use `next` instead of `^8.0.0` in the migration guides (#15091) @flaviendelangle
|
|
323
|
+
|
|
324
|
+
### Core
|
|
325
|
+
|
|
326
|
+
- [core] Adjust the `cherry-pick` GitHub actions (#15099) @LukasTy
|
|
327
|
+
- [core] Add `()` at the name of function name in the doc (#15075) @oliviertassinari
|
|
328
|
+
- [core] Clarify release version bump strategy (#15219) @cherniavskii
|
|
329
|
+
- [core] Fix CodeSandbox and StackBlitz for next doc-infra sync @oliviertassinari
|
|
330
|
+
- [core] Fix Vale error on `master` @oliviertassinari
|
|
331
|
+
- [core] Fix changelog reference to VoiceOver @oliviertassinari
|
|
332
|
+
- [core] Fix `tools-public.mui.com` redirection @oliviertassinari
|
|
333
|
+
- [core] Fix webpack capitalization (#15353) @oliviertassinari
|
|
334
|
+
- [core] Move `helpers` to `@mui/x-internals` package (#15188) @LukasTy
|
|
335
|
+
- [code-infra] Set renovate to automerge devDependencies (#13463) @JCQuintas
|
|
336
|
+
- [infra] Reintroduce the cherry pick workflow (#15293) @michelengelen
|
|
337
|
+
- [core] Remove duplicate title header (#15389) @oliviertassinari
|
|
338
|
+
- [release] v8 preparation (#15054) @michelengelen
|
|
339
|
+
- [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
|
|
340
|
+
|
|
341
|
+
## v7.22.3
|
|
342
|
+
|
|
343
|
+
_Nov 21, 2024_
|
|
344
|
+
|
|
345
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
346
|
+
|
|
347
|
+
- 📊 Charts Pro get stable. The [zoom](https://mui.com/x/react-charts/zoom-and-pan/) and [Heatmap](https://mui.com/x/react-charts/heatmap/) are now stable.
|
|
348
|
+
- 🌍 Improve Chinese, Spanish, Swedish, and Turkish locales on the Data Grid
|
|
349
|
+
- 🐞 Bugfixes
|
|
350
|
+
|
|
351
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
352
|
+
@CarlosLopezLg, @headironc, @viktormelin, @qerkules, @DungTiger, @hendrikpeilke, @k-rajat19.
|
|
353
|
+
Following are all team members who have contributed to this release:
|
|
354
|
+
@alexfauquette, @LukasTy, @MBilalShafi, @flaviendelangle.
|
|
355
|
+
|
|
356
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
357
|
+
|
|
358
|
+
### Data Grid
|
|
359
|
+
|
|
360
|
+
#### `@mui/x-data-grid@7.22.3`
|
|
361
|
+
|
|
362
|
+
- [DataGrid] Add prop to override search input props in `GridColumnsManagement` (#15476) @k-rajat19
|
|
363
|
+
- [DataGrid] Add test coverage for issues fixed in #15184 @MBilalShafi
|
|
364
|
+
- [DataGrid] Fix memoized selectors with arguments (#15336) @MBilalShafi
|
|
365
|
+
- [DataGrid] Fix right column group header border with virtualization (#15503) @hendrikpeilke
|
|
366
|
+
- [DataGrid] Pass reason to `onPaginationModelChange` (#15402) @DungTiger
|
|
367
|
+
- [DataGrid] Set default overlay height in flex parent layout (#15535) @cherniavskii
|
|
368
|
+
- [l10n] Improve Chinese (zh-CN) locale (#15365) @headironc
|
|
369
|
+
- [l10n] Improve Spanish (es-ES) locale (#15369) @CarlosLopezLg
|
|
370
|
+
- [l10n] Improve Swedish (sv-SE) locale (#15371) @viktormelin
|
|
371
|
+
- [l10n] Improve Turkish (tr-TR) locale (#15414) @qerkules
|
|
372
|
+
|
|
373
|
+
#### `@mui/x-data-grid-pro@7.22.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
374
|
+
|
|
375
|
+
Same changes as in `@mui/x-data-grid@7.22.3`.
|
|
376
|
+
|
|
377
|
+
#### `@mui/x-data-grid-premium@7.22.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
378
|
+
|
|
379
|
+
Same changes as in `@mui/x-data-grid-pro@7.22.3`.
|
|
380
|
+
|
|
381
|
+
### Date and Time Pickers
|
|
382
|
+
|
|
383
|
+
#### `@mui/x-date-pickers@7.22.3`
|
|
384
|
+
|
|
385
|
+
- [pickers] Always use `props.value` when it changes (#15500) @flaviendelangle
|
|
386
|
+
- [pickers] Ensure internal value timezone is updated (#15491) @LukasTy
|
|
387
|
+
- [pickers] Fix `DateTimeRangePicker` error when using format without time (#15341) @fxnoob
|
|
388
|
+
- [pickers] Fix unused code in `PickersToolbar` component (#15525) @LukasTy
|
|
389
|
+
|
|
390
|
+
#### `@mui/x-date-pickers-pro@7.22.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
391
|
+
|
|
392
|
+
Same changes as in `@mui/x-date-pickers@7.22.3`, plus:
|
|
393
|
+
|
|
394
|
+
- [DateTimeRangePicker] Use time in `referenceDate` when selecting date (#15431) @LukasTy
|
|
395
|
+
|
|
396
|
+
### Charts
|
|
397
|
+
|
|
398
|
+
#### `@mui/x-charts@7.22.3`
|
|
399
|
+
|
|
400
|
+
No changes since `@mui/x-charts@7.22.2`.
|
|
401
|
+
|
|
402
|
+
#### `@mui/x-charts-pro@7.22.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
403
|
+
|
|
404
|
+
- [charts-pro] Fix missing typeOverload (#15400) @alexfauquette
|
|
405
|
+
|
|
406
|
+
### Docs
|
|
407
|
+
|
|
408
|
+
- [docs] Add `PickersPopper` component to customization playground (#15397) @LukasTy
|
|
409
|
+
- [docs] Add `next` version links (#15423) @LukasTy
|
|
410
|
+
- [docs] Use the `loading` state in the demos (#15538) @cherniavskii
|
|
411
|
+
- [docs] Add data caching to lazy loaded detail panel demo (#15506) @cherniavskii
|
|
412
|
+
|
|
413
|
+
- [code-infra] Tentative fix for Argos flaky screenshot tests (#15399) @JCQuintas
|
|
414
|
+
- [docs-infra] Transpile `.ts` demo files (#15421) @KenanYusuf
|
|
415
|
+
- [core] Clarify release version bump strategy (#15536) @cherniavskii
|
|
416
|
+
|
|
417
|
+
## 7.22.2
|
|
418
|
+
|
|
419
|
+
_Nov 8, 2024_
|
|
420
|
+
|
|
421
|
+
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
422
|
+
|
|
423
|
+
- 👨🏽💻 API enhancements
|
|
424
|
+
- 🐞 Bugfixes
|
|
425
|
+
|
|
426
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
427
|
+
@clins1994, @GuillaumeMeheut, @k-rajat19.
|
|
428
|
+
Following are all team members who have contributed to this release:
|
|
429
|
+
@LukasTy, @MBilalShafi, @KenanYusuf, @arminmeh.
|
|
430
|
+
|
|
431
|
+
### Upcoming alpha
|
|
432
|
+
|
|
433
|
+
Keep an eye out for the MUI⠀X `v8.0.0-aplha.0` release soon. It will follow a weekly release schedule as always until it is stable.
|
|
434
|
+
|
|
435
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
436
|
+
|
|
437
|
+
### Data Grid
|
|
438
|
+
|
|
439
|
+
#### `@mui/x-data-grid@7.22.2`
|
|
440
|
+
|
|
441
|
+
- [DataGrid] Fix `null` reference error in `GridVirtualScrollbar` (#15289) @MBilalShafi
|
|
442
|
+
- [DataGrid] Fix filtering with `boolean` column type (#15257) @k-rajat19
|
|
443
|
+
- [DataGrid] Improve row selection propagation trigger (#15274) @MBilalShafi
|
|
444
|
+
- [DataGrid] Preprocess edit cell props on backspace/delete (#15223) @KenanYusuf
|
|
445
|
+
- [DataGrid] Add a recipe to persist column width and order (#15309) @MBilalShafi
|
|
446
|
+
|
|
447
|
+
#### `@mui/x-data-grid-pro@7.22.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
448
|
+
|
|
449
|
+
Same changes as in `@mui/x-data-grid@7.22.2`, plus:
|
|
450
|
+
|
|
451
|
+
- [DataGridPro] Apply default properties if they are not passed in a reorder column (#15320) @k-rajat19
|
|
452
|
+
- [DataGridPro] Toggle row expansion with `Enter` key in Tree data (#15313) @k-rajat19
|
|
453
|
+
|
|
454
|
+
#### `@mui/x-data-grid-premium@7.22.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
455
|
+
|
|
456
|
+
Same changes as in `@mui/x-data-grid-pro@7.22.2`, plus:
|
|
457
|
+
|
|
458
|
+
- [DataGridPremium] Fix incorrect rows selection count when selection propagation is enabled with row grouping (#15222) @arminmeh
|
|
459
|
+
|
|
460
|
+
### Date and Time Pickers
|
|
461
|
+
|
|
462
|
+
#### `@mui/x-date-pickers@7.22.2`
|
|
463
|
+
|
|
464
|
+
- [pickers] Add support for `moment-hijri@3.0.0` (#15248) @LukasTy
|
|
465
|
+
|
|
466
|
+
#### `@mui/x-date-pickers-pro@7.22.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
467
|
+
|
|
468
|
+
Same changes as in `@mui/x-date-pickers@7.22.2`.
|
|
469
|
+
|
|
470
|
+
### Charts
|
|
471
|
+
|
|
472
|
+
#### `@mui/x-charts@7.22.2`
|
|
473
|
+
|
|
474
|
+
- [charts] Allow `SeriesValueFormatter` to return `null` value (#15295) @clins1994
|
|
475
|
+
- [charts] Allow configuring the `domainLimit` for each axis. (#15325) @GuillaumeMeheut
|
|
476
|
+
|
|
477
|
+
#### `@mui/x-charts-pro@7.0.0-beta.7` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
478
|
+
|
|
479
|
+
Same changes as in `@mui/x-charts@7.22.2`.
|
|
480
|
+
|
|
6
481
|
## 7.22.1
|
|
7
482
|
|
|
8
483
|
_Nov 1, 2024_
|
|
@@ -211,7 +686,7 @@ Same changes as in `@mui/x-charts@7.21.0`.
|
|
|
211
686
|
|
|
212
687
|
#### `@mui/x-tree-view@7.21.0`
|
|
213
688
|
|
|
214
|
-
- [TreeView] Fix `alpha` usage with CSS variables (#14969) @wangkailang
|
|
689
|
+
- [TreeView] Fix `alpha()` usage with CSS variables (#14969) @wangkailang
|
|
215
690
|
- [TreeView] Fix usage of the `aria-selected` attribute (#14991) @flaviendelangle
|
|
216
691
|
- [TreeView] Fix hydration error (#15002) @flaviendelangle
|
|
217
692
|
|
|
@@ -431,7 +906,7 @@ Same changes as in `@mui/x-charts@7.19.0`.
|
|
|
431
906
|
- [code-infra] Remove custom playwright installation steps (#14728) @Janpot
|
|
432
907
|
- [code-infra] Replace or remove all instances of `e` identifier (#14724) @samuelsycamore
|
|
433
908
|
- [infra] Adds community contribution section to the changelog script (#14799) @michelengelen
|
|
434
|
-
- [infra] Fix line break in Stack
|
|
909
|
+
- [infra] Fix line break in Stack Overflow message @oliviertassinari
|
|
435
910
|
- [test] Fix `Escape` event firing event (#14797) @oliviertassinari
|
|
436
911
|
|
|
437
912
|
## 7.18.0
|
|
@@ -523,7 +998,7 @@ Same changes as in `@mui/x-charts@7.18.0`.
|
|
|
523
998
|
- [core] Fix 301 link to Next.js and git diff @oliviertassinari
|
|
524
999
|
- [core] Fix failing CI on `master` (#14644) @cherniavskii
|
|
525
1000
|
- [core] Fix `package.json` repository rule @oliviertassinari
|
|
526
|
-
- [core] MUI
|
|
1001
|
+
- [core] MUI X repository moved to a new location @oliviertassinari
|
|
527
1002
|
- [docs-infra] Strengthen CSP (#14581) @oliviertassinari
|
|
528
1003
|
- [license] Finish renaming of LicensingModel (#14615) @oliviertassinari
|
|
529
1004
|
|
|
@@ -547,7 +1022,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
547
1022
|
|
|
548
1023
|
- [DataGrid] Add "does not equal" and "does not contain" filter operators (#14489) @KenanYusuf
|
|
549
1024
|
- [DataGrid] Add demo to the "Custom columns" page that does not use generator (#13695) @arminmeh
|
|
550
|
-
- [DataGrid] Fix
|
|
1025
|
+
- [DataGrid] Fix VoiceOver reading the column name twice (#14482) @arminmeh
|
|
551
1026
|
- [DataGrid] Fix bug in CRUD example (#14513) @michelengelen
|
|
552
1027
|
- [DataGrid] Fix failing jsdom tests caused by `:has()` selectors (#14559) @KenanYusuf
|
|
553
1028
|
- [DataGrid] Refactor string operator filter functions (#14564) @KenanYusuf
|
|
@@ -1003,10 +1478,9 @@ No changes since `@mui/x-tree-view@7.12.0`.
|
|
|
1003
1478
|
|
|
1004
1479
|
### Docs
|
|
1005
1480
|
|
|
1006
|
-
- [docs] Add a warning to promote the usage of `updateRows` (#14027) @MBilalShafi
|
|
1481
|
+
- [docs] Add a warning to promote the usage of `updateRows()` (#14027) @MBilalShafi
|
|
1007
1482
|
- [docs] Disable ad in `Rich Tree View-Ordering` page (#14123) @oliviertassinari
|
|
1008
1483
|
- [docs] Redesign Date and Time Pickers overview page (#13241) @noraleonte
|
|
1009
|
-
|
|
1010
1484
|
- [CHANGELOG] Polish details @oliviertassinari
|
|
1011
1485
|
- [code-infra] Use concurrency 1 in CircleCI (#14110) @JCQuintas
|
|
1012
1486
|
- [infra] Re-added the removal of `Latest Version` section (#14132) @michelengelen
|
|
@@ -1367,7 +1841,7 @@ _Jul 5, 2024_
|
|
|
1367
1841
|
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
1368
1842
|
|
|
1369
1843
|
- 🔄 Add loading overlay variants, including a skeleton loader option to the Data Grid component. See [Loading overlay docs](https://mui.com/x/react-data-grid/overlays/#loading-overlay) for more details.
|
|
1370
|
-
- 🌳 Add `selectItem` and `getItemDOMElement` methods to the TreeView component public API
|
|
1844
|
+
- 🌳 Add `selectItem()` and `getItemDOMElement()` methods to the TreeView component public API
|
|
1371
1845
|
- ⛏️ Make the `usePickersTranslations` hook public in the pickers component
|
|
1372
1846
|
- 🐞 Bugfixes
|
|
1373
1847
|
|
|
@@ -1412,7 +1886,7 @@ Same changes as in `@mui/x-date-pickers@7.9.0`.
|
|
|
1412
1886
|
|
|
1413
1887
|
#### `@mui/x-tree-view@7.9.0`
|
|
1414
1888
|
|
|
1415
|
-
- [TreeView] Add `selectItem` and `getItemDOMElement` methods to the public API (#13485) @flaviendelangle
|
|
1889
|
+
- [TreeView] Add `selectItem()` and `getItemDOMElement()` methods to the public API (#13485) @flaviendelangle
|
|
1416
1890
|
|
|
1417
1891
|
### Docs
|
|
1418
1892
|
|
|
@@ -3044,7 +3518,8 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.4`.
|
|
|
3044
3518
|
```
|
|
3045
3519
|
|
|
3046
3520
|
- The headless field hooks (e.g.: `useDateField`) now returns a new prop called `enableAccessibleFieldDOMStructure`.
|
|
3047
|
-
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure.
|
|
3521
|
+
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure.
|
|
3522
|
+
Learn more about this new accessible DOM structure in the [v8 migration guide](https://next.mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field).
|
|
3048
3523
|
|
|
3049
3524
|
When building a custom UI, you are most-likely only supporting one DOM structure, so you can remove `enableAccessibleFieldDOMStructure` before it is passed to the DOM:
|
|
3050
3525
|
|
|
@@ -4259,7 +4734,7 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.5`.
|
|
|
4259
4734
|
|
|
4260
4735
|
#### Breaking changes
|
|
4261
4736
|
|
|
4262
|
-
- The slot interfaces
|
|
4737
|
+
- The slot interfaces have been renamed to match with `@mui/base` naming.
|
|
4263
4738
|
The `SlotsComponent` suffix has been replaced with `Slots` and `SlotsComponentsProps` with `SlotProps`.
|
|
4264
4739
|
|
|
4265
4740
|
```diff
|
|
@@ -5301,7 +5776,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.0`.
|
|
|
5301
5776
|
|
|
5302
5777
|
#### Breaking changes
|
|
5303
5778
|
|
|
5304
|
-
Types for `slots` and `slotProps`
|
|
5779
|
+
Types for `slots` and `slotProps` have been renamed by removing the "Component" which is meaningless for charts.
|
|
5305
5780
|
Unless you imported those types, to create a wrapper, you should not be impacted by this breaking change.
|
|
5306
5781
|
|
|
5307
5782
|
Here is an example of the renaming for the `<ChartsTooltip />` component.
|
package/README.md
CHANGED
|
@@ -11,13 +11,13 @@ Install the package in your project directory with:
|
|
|
11
11
|
npm install @mui/x-tree-view-pro
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
This component has the following peer dependencies that you
|
|
14
|
+
This component has the following peer dependencies that you need to install as well.
|
|
15
15
|
|
|
16
16
|
```json
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@mui/material": "^5.15.14",
|
|
19
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
20
|
-
"react-dom": "^17.0.0 || ^18.0.0"
|
|
18
|
+
"@mui/material": "^5.15.14 || ^6.0.0",
|
|
19
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
20
|
+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
21
21
|
},
|
|
22
22
|
```
|
|
23
23
|
|
|
@@ -59,8 +59,7 @@ const RichTreeViewPro = /*#__PURE__*/React.forwardRef(function RichTreeViewPro(i
|
|
|
59
59
|
}
|
|
60
60
|
const {
|
|
61
61
|
getRootProps,
|
|
62
|
-
contextValue
|
|
63
|
-
instance
|
|
62
|
+
contextValue
|
|
64
63
|
} = useTreeView({
|
|
65
64
|
plugins: RICH_TREE_VIEW_PRO_PLUGINS,
|
|
66
65
|
rootRef: ref,
|
|
@@ -84,8 +83,7 @@ const RichTreeViewPro = /*#__PURE__*/React.forwardRef(function RichTreeViewPro(i
|
|
|
84
83
|
children: /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, {
|
|
85
84
|
children: [/*#__PURE__*/_jsx(RichTreeViewItems, {
|
|
86
85
|
slots: slots,
|
|
87
|
-
slotProps: slotProps
|
|
88
|
-
itemsToRender: instance.getItemsToRender()
|
|
86
|
+
slotProps: slotProps
|
|
89
87
|
}), /*#__PURE__*/_jsx(Watermark, {
|
|
90
88
|
packageName: "x-tree-view-pro",
|
|
91
89
|
releaseInfo: releaseInfo
|
|
@@ -170,7 +168,6 @@ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
|
|
|
170
168
|
* the feature will be fully disabled and any property / method call will not have any effect.
|
|
171
169
|
*/
|
|
172
170
|
experimentalFeatures: PropTypes.shape({
|
|
173
|
-
indentationAtItemLevel: PropTypes.bool,
|
|
174
171
|
itemsReordering: PropTypes.bool,
|
|
175
172
|
labelEditing: PropTypes.bool
|
|
176
173
|
}),
|
|
@@ -298,6 +295,26 @@ process.env.NODE_ENV !== "production" ? RichTreeViewPro.propTypes = {
|
|
|
298
295
|
* When `multiSelect` is true this takes an array of strings; when false (default) a string.
|
|
299
296
|
*/
|
|
300
297
|
selectedItems: PropTypes.any,
|
|
298
|
+
/**
|
|
299
|
+
* When `selectionPropagation.descendants` is set to `true`.
|
|
300
|
+
*
|
|
301
|
+
* - Selecting a parent selects all its descendants automatically.
|
|
302
|
+
* - Deselecting a parent deselects all its descendants automatically.
|
|
303
|
+
*
|
|
304
|
+
* When `selectionPropagation.parents` is set to `true`.
|
|
305
|
+
*
|
|
306
|
+
* - Selecting all the descendants of a parent selects the parent automatically.
|
|
307
|
+
* - Deselecting a descendant of a selected parent deselects the parent automatically.
|
|
308
|
+
*
|
|
309
|
+
* Only works when `multiSelect` is `true`.
|
|
310
|
+
* On the <SimpleTreeView />, only the expanded items are considered (since the collapsed item are not passed to the Tree View component at all)
|
|
311
|
+
*
|
|
312
|
+
* @default { parents: false, descendants: false }
|
|
313
|
+
*/
|
|
314
|
+
selectionPropagation: PropTypes.shape({
|
|
315
|
+
descendants: PropTypes.bool,
|
|
316
|
+
parents: PropTypes.bool
|
|
317
|
+
}),
|
|
301
318
|
/**
|
|
302
319
|
* The props used for each component slot.
|
|
303
320
|
* @default {}
|