@mui/x-tree-view 7.0.0-alpha.8 → 7.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +508 -30
- package/README.md +3 -3
- package/RichTreeView/RichTreeView.js +10 -36
- package/RichTreeView/RichTreeView.types.d.ts +6 -9
- package/RichTreeView/index.d.ts +1 -1
- package/SimpleTreeView/SimpleTreeView.js +12 -55
- package/SimpleTreeView/SimpleTreeView.plugins.d.ts +5 -3
- package/SimpleTreeView/SimpleTreeView.types.d.ts +8 -7
- package/SimpleTreeView/index.d.ts +1 -1
- package/TreeItem/TreeItem.js +62 -39
- package/TreeItem/TreeItem.types.d.ts +33 -17
- package/TreeItem/TreeItemContent.d.ts +0 -3
- package/TreeItem/TreeItemContent.js +2 -5
- package/TreeItem/index.d.ts +2 -2
- package/TreeItem/index.js +1 -1
- package/TreeItem/{useTreeItem.d.ts → useTreeItemState.d.ts} +1 -1
- package/{modern/TreeItem/useTreeItem.js → TreeItem/useTreeItemState.js} +4 -2
- package/TreeView/TreeView.js +0 -39
- package/TreeView/TreeView.types.d.ts +5 -1
- package/TreeView/index.d.ts +1 -1
- package/icons/icons.d.ts +6 -0
- package/icons/icons.js +9 -0
- package/icons/index.d.ts +1 -0
- package/icons/index.js +1 -0
- package/icons/package.json +6 -0
- package/index.d.ts +1 -0
- package/index.js +3 -2
- package/internals/TreeViewProvider/TreeViewContext.d.ts +4 -2
- package/internals/TreeViewProvider/TreeViewProvider.types.d.ts +3 -11
- package/internals/corePlugins/useTreeViewInstanceEvents/useTreeViewInstanceEvents.types.d.ts +3 -2
- package/internals/index.d.ts +15 -0
- package/internals/index.js +4 -0
- package/internals/models/helpers.d.ts +7 -1
- package/internals/models/plugin.d.ts +64 -20
- package/internals/models/treeView.d.ts +1 -2
- package/internals/package.json +6 -0
- package/internals/plugins/defaultPlugins.d.ts +6 -4
- package/internals/plugins/defaultPlugins.js +2 -2
- package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.js +8 -10
- package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.types.d.ts +7 -3
- package/internals/plugins/useTreeViewFocus/useTreeViewFocus.js +0 -6
- package/internals/plugins/useTreeViewFocus/useTreeViewFocus.types.d.ts +12 -6
- package/internals/plugins/useTreeViewIcons/index.d.ts +2 -0
- package/internals/plugins/useTreeViewIcons/index.js +1 -0
- package/internals/plugins/useTreeViewIcons/useTreeViewIcons.d.ts +3 -0
- package/internals/plugins/useTreeViewIcons/useTreeViewIcons.js +22 -0
- package/internals/plugins/useTreeViewIcons/useTreeViewIcons.types.d.ts +43 -0
- package/internals/plugins/useTreeViewId/useTreeViewId.types.d.ts +6 -2
- package/internals/plugins/useTreeViewJSXNodes/useTreeViewJSXNodes.js +10 -5
- package/internals/plugins/useTreeViewJSXNodes/useTreeViewJSXNodes.types.d.ts +6 -4
- package/internals/plugins/useTreeViewKeyboardNavigation/useTreeViewKeyboardNavigation.types.d.ts +9 -6
- package/internals/plugins/useTreeViewNodes/useTreeViewNodes.js +14 -0
- package/internals/plugins/useTreeViewNodes/useTreeViewNodes.types.d.ts +10 -2
- package/internals/plugins/useTreeViewSelection/useTreeViewSelection.js +9 -5
- package/internals/plugins/useTreeViewSelection/useTreeViewSelection.types.d.ts +15 -5
- package/internals/useTreeView/useTreeView.js +7 -3
- package/internals/useTreeView/useTreeView.types.d.ts +6 -6
- package/internals/useTreeView/useTreeViewModels.js +10 -11
- package/internals/utils/extractPluginParamsFromProps.d.ts +8 -5
- package/internals/utils/extractPluginParamsFromProps.js +17 -6
- package/legacy/RichTreeView/RichTreeView.js +3 -27
- package/legacy/SimpleTreeView/SimpleTreeView.js +4 -46
- package/legacy/TreeItem/TreeItem.js +63 -39
- package/legacy/TreeItem/TreeItemContent.js +9 -12
- package/legacy/TreeItem/index.js +1 -1
- package/legacy/TreeItem/{useTreeItem.js → useTreeItemState.js} +2 -2
- package/legacy/TreeView/TreeView.js +0 -39
- package/legacy/icons/icons.js +9 -0
- package/legacy/icons/index.js +1 -0
- package/legacy/index.js +3 -2
- package/legacy/internals/index.js +4 -0
- package/legacy/internals/plugins/defaultPlugins.js +2 -2
- package/legacy/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.js +10 -10
- package/legacy/internals/plugins/useTreeViewFocus/useTreeViewFocus.js +0 -6
- package/legacy/internals/plugins/useTreeViewIcons/index.js +1 -0
- package/legacy/internals/plugins/useTreeViewIcons/useTreeViewIcons.js +21 -0
- package/legacy/internals/plugins/useTreeViewJSXNodes/useTreeViewJSXNodes.js +3 -0
- package/legacy/internals/plugins/useTreeViewNodes/useTreeViewNodes.js +14 -0
- package/legacy/internals/plugins/useTreeViewSelection/useTreeViewSelection.js +12 -6
- package/legacy/internals/useTreeView/useTreeView.js +6 -2
- package/legacy/internals/useTreeView/useTreeViewModels.js +10 -11
- package/legacy/internals/utils/extractPluginParamsFromProps.js +11 -2
- package/modern/RichTreeView/RichTreeView.js +10 -36
- package/modern/SimpleTreeView/SimpleTreeView.js +12 -55
- package/modern/TreeItem/TreeItem.js +61 -39
- package/modern/TreeItem/TreeItemContent.js +2 -5
- package/modern/TreeItem/index.js +1 -1
- package/{TreeItem/useTreeItem.js → modern/TreeItem/useTreeItemState.js} +4 -2
- package/modern/TreeView/TreeView.js +0 -39
- package/modern/icons/icons.js +9 -0
- package/modern/icons/index.js +1 -0
- package/modern/index.js +3 -2
- package/modern/internals/index.js +4 -0
- package/modern/internals/plugins/defaultPlugins.js +2 -2
- package/modern/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.js +7 -10
- package/modern/internals/plugins/useTreeViewFocus/useTreeViewFocus.js +0 -3
- package/modern/internals/plugins/useTreeViewIcons/index.js +1 -0
- package/modern/internals/plugins/useTreeViewIcons/useTreeViewIcons.js +22 -0
- package/modern/internals/plugins/useTreeViewJSXNodes/useTreeViewJSXNodes.js +10 -5
- package/modern/internals/plugins/useTreeViewNodes/useTreeViewNodes.js +11 -0
- package/modern/internals/plugins/useTreeViewSelection/useTreeViewSelection.js +9 -5
- package/modern/internals/useTreeView/useTreeView.js +7 -3
- package/modern/internals/useTreeView/useTreeViewModels.js +10 -11
- package/modern/internals/utils/extractPluginParamsFromProps.js +17 -6
- package/node/RichTreeView/RichTreeView.js +10 -36
- package/node/SimpleTreeView/SimpleTreeView.js +12 -55
- package/node/TreeItem/TreeItem.js +61 -39
- package/node/TreeItem/TreeItemContent.js +2 -5
- package/node/TreeItem/index.js +4 -4
- package/node/TreeItem/{useTreeItem.js → useTreeItemState.js} +5 -3
- package/node/TreeView/TreeView.js +0 -39
- package/node/icons/icons.js +17 -0
- package/node/icons/index.js +16 -0
- package/node/index.js +13 -1
- package/node/internals/index.js +33 -0
- package/node/internals/plugins/defaultPlugins.js +2 -2
- package/node/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.js +7 -10
- package/node/internals/plugins/useTreeViewFocus/useTreeViewFocus.js +0 -3
- package/node/internals/plugins/useTreeViewIcons/index.js +12 -0
- package/node/internals/plugins/useTreeViewIcons/useTreeViewIcons.js +29 -0
- package/node/internals/plugins/useTreeViewJSXNodes/useTreeViewJSXNodes.js +10 -5
- package/node/internals/plugins/useTreeViewNodes/useTreeViewNodes.js +11 -0
- package/node/internals/plugins/useTreeViewSelection/useTreeViewSelection.js +9 -5
- package/node/internals/useTreeView/useTreeView.js +7 -3
- package/node/internals/useTreeView/useTreeViewModels.js +10 -11
- package/node/internals/utils/extractPluginParamsFromProps.js +18 -6
- package/package.json +7 -7
- package/themeAugmentation/components.d.ts +4 -4
- package/internals/plugins/useTreeViewContextValueBuilder/index.d.ts +0 -2
- package/internals/plugins/useTreeViewContextValueBuilder/index.js +0 -1
- package/internals/plugins/useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.d.ts +0 -3
- package/internals/plugins/useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.js +0 -32
- package/internals/plugins/useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.types.d.ts +0 -29
- package/legacy/internals/plugins/useTreeViewContextValueBuilder/index.js +0 -1
- package/legacy/internals/plugins/useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.js +0 -34
- package/modern/internals/plugins/useTreeViewContextValueBuilder/index.js +0 -1
- package/modern/internals/plugins/useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.js +0 -32
- package/node/internals/plugins/useTreeViewContextValueBuilder/index.js +0 -12
- package/node/internals/plugins/useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.js +0 -39
- /package/internals/plugins/{useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.types.js → useTreeViewIcons/useTreeViewIcons.types.js} +0 -0
- /package/legacy/internals/plugins/{useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.types.js → useTreeViewIcons/useTreeViewIcons.types.js} +0 -0
- /package/modern/internals/plugins/{useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.types.js → useTreeViewIcons/useTreeViewIcons.types.js} +0 -0
- /package/node/internals/plugins/{useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.types.js → useTreeViewIcons/useTreeViewIcons.types.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,444 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 7.0.0-beta.0
|
|
7
|
+
|
|
8
|
+
_Jan 26, 2024_
|
|
9
|
+
|
|
10
|
+
We are glad to announce MUI X v7 beta!
|
|
11
|
+
This version has several improvements, bug fixes, and exciting features 🎉.
|
|
12
|
+
We want to offer a big thanks to the 7 contributors who made this release possible ✨:
|
|
13
|
+
|
|
14
|
+
- 🚀 Release the [Date Time Range Picker](https://next.mui.com/x/react-date-pickers/date-time-range-picker/) component (#9528) @LukasTy
|
|
15
|
+
|
|
16
|
+
<img src="https://github.com/mui/mui-x/assets/4941090/122bb7bc-5e72-4e11-a8e5-96f3026de922" width="510" height="652" alt="Date Time Range Picker example" />
|
|
17
|
+
|
|
18
|
+
- 🎁 New column management panel design for the Data Grid (#11770) @MBilalShafi
|
|
19
|
+
|
|
20
|
+
<img width="310" alt="image" src="https://github.com/mui/mui-x/assets/12609561/a79dac8b-d54d-4e69-a63a-ef78f3993f37">
|
|
21
|
+
|
|
22
|
+
- 🐞 Bugfixes
|
|
23
|
+
- 📚 Documentation improvements
|
|
24
|
+
|
|
25
|
+
### Data Grid
|
|
26
|
+
|
|
27
|
+
#### Breaking changes
|
|
28
|
+
|
|
29
|
+
- The columns management component has been redesigned and the component was extracted from the `ColumnsPanel` which now only serves as a wrapper to display the component above the headers as a panel. As a result, a new slot `columnsManagement` and the related prop `slotProps.columnsManagement` have been introduced. The props corresponding to the columns management component which were previously passed to the prop `slotProps.columnsPanel` should now be passed to `slotProps.columnsManagement`. `slotProps.columnsPanel` could still be used to override props corresponding to the `Panel` component used in `ColumnsPanel` which uses [`Popper`](https://next.mui.com/material-ui/react-popper/) component under the hood.
|
|
30
|
+
|
|
31
|
+
```diff
|
|
32
|
+
<DataGrid
|
|
33
|
+
slotProps={{
|
|
34
|
+
- columnsPanel: {
|
|
35
|
+
+ columnsManagement: {
|
|
36
|
+
sort: 'asc',
|
|
37
|
+
autoFocusSearchField: false,
|
|
38
|
+
},
|
|
39
|
+
}}
|
|
40
|
+
/>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
- `Show all` and `Hide all` buttons in the `ColumnsPanel` have been combined into one `Show/Hide All` toggle in the new columns management component. The related props `disableShowAllButton` and `disableHideAllButton` have been replaced with a new prop `disableShowHideToggle`.
|
|
44
|
+
|
|
45
|
+
```diff
|
|
46
|
+
<DataGrid
|
|
47
|
+
- disableShowAllButton
|
|
48
|
+
- disableHideAllButton
|
|
49
|
+
+ disableShowHideToggle
|
|
50
|
+
/>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-data-grid@7.0.0-beta.0`
|
|
54
|
+
|
|
55
|
+
- [DataGrid] Export `GridColumnTypes` interface for custom column types (#11742) @cherniavskii
|
|
56
|
+
- [DataGrid] Initialize `apiRef` early (#11792) @cherniavskii
|
|
57
|
+
- [DataGrid] New column management panel design (#11770) @MBilalShafi
|
|
58
|
+
- [DataGrid] Fix support for tree with more than 50,000 children (#11757) @zenazn
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-data-grid-pro@7.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
61
|
+
|
|
62
|
+
Same changes as in `@mui/x-data-grid@7.0.0-beta.0`.
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-data-grid-premium@7.0.0-beta.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.0`.
|
|
67
|
+
|
|
68
|
+
### Date Pickers
|
|
69
|
+
|
|
70
|
+
#### `@mui/x-date-pickers@7.0.0-beta.0`
|
|
71
|
+
|
|
72
|
+
- [pickers] Apply the `layout.tabs` class to `Tabs` slot (#11781) @LukasTy
|
|
73
|
+
- [pickers] Avoid deep imports (#11794) @LukasTy
|
|
74
|
+
- [pickers] Fields typing optimization (#11779) @LukasTy
|
|
75
|
+
|
|
76
|
+
#### `@mui/x-date-pickers-pro@7.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
77
|
+
|
|
78
|
+
Same changes as in `@mui/x-date-pickers@7.0.0-beta.0`, plus:
|
|
79
|
+
|
|
80
|
+
- [pickers] Add `DateTimeRangePicker` component (#9528) @LukasTy
|
|
81
|
+
- [pickers] Add `DateTimeRangePicker` theme augmentation (#11814) @LukasTy
|
|
82
|
+
- [DateRangePicker] Remove `calendars` prop on `Mobile` (#11752) @LukasTy
|
|
83
|
+
|
|
84
|
+
### Tree View / `@mui/x-tree-view@7.0.0-beta.0`
|
|
85
|
+
|
|
86
|
+
- [TreeView] Remove unused props from prop-types and typing (#11778) @flaviendelangle
|
|
87
|
+
- [TreeView] Throw an error when two items have the same id (#11715) @flaviendelangle
|
|
88
|
+
|
|
89
|
+
### Docs
|
|
90
|
+
|
|
91
|
+
- [docs] Add `contextValue` to the headless tree view doc (#11705) @flaviendelangle
|
|
92
|
+
- [docs] Add section for the `disableSelection` prop (#11821) @flaviendelangle
|
|
93
|
+
- [docs] Fix brand name non-breaking space (#11758) @oliviertassinari
|
|
94
|
+
- [docs] Fix typo in Data Grid components page (#11775) @flaviendelangle
|
|
95
|
+
- [docs] Fix use of quote, should use callout (#11759) @oliviertassinari
|
|
96
|
+
- [docs] Improve error message for MUI Vale rule @oliviertassinari
|
|
97
|
+
- [docs] Include `DateTimeRangePicker` in relevant demos (#11815) @LukasTy
|
|
98
|
+
- [docs] Add recipe for sorting row groups by the number of child rows (#11164) @cherniavskii
|
|
99
|
+
|
|
100
|
+
### Core
|
|
101
|
+
|
|
102
|
+
- [core] Cleanup script and alias setup (#11749) @LukasTy
|
|
103
|
+
- [core] Polish issue templates @oliviertassinari
|
|
104
|
+
- [code-infra] Update prettier and pretty-quick (#11735) @Janpot
|
|
105
|
+
|
|
106
|
+
## 7.0.0-alpha.9
|
|
107
|
+
|
|
108
|
+
_Jan 19, 2024_
|
|
109
|
+
|
|
110
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
111
|
+
|
|
112
|
+
- 🎁 The Data Grid headers have been refactored to bring immense improvements to scrolling, state management, and overall performance of the grid.
|
|
113
|
+
- ⚙️ The Data Grid disabled column-specific features like filtering, sorting, grouping, etc. could now be accessed programmatically. See the related [docs](https://next.mui.com/x/react-data-grid/api-object/#access-the-disabled-column-features) section.
|
|
114
|
+
- 🚀 Uplift the `SimpleTreeView` customization examples (#11424) @noraleonte
|
|
115
|
+
- 🌍 Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11668) on the Data Grid @BCaspari
|
|
116
|
+
- 🐞 Bugfixes
|
|
117
|
+
- 💔 Bump `@mui/material` peer dependency for all packages (#11692) @LukasTy
|
|
118
|
+
The minimum required version of `@mui/material` is now `5.15.0`.
|
|
119
|
+
|
|
120
|
+
### Data Grid
|
|
121
|
+
|
|
122
|
+
#### Breaking changes
|
|
123
|
+
|
|
124
|
+
- The `ariaV7` experimental flag has been removed and the Data Grid now uses the improved accessibility implementation by default.
|
|
125
|
+
If you were using the `ariaV7` flag, you can remove it from the `experimentalFeatures` prop:
|
|
126
|
+
|
|
127
|
+
```diff
|
|
128
|
+
-<DataGrid experimentalFeatures={{ ariaV7: true }} />
|
|
129
|
+
+<DataGrid />
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
The most notable changes that might affect your application or tests are:
|
|
133
|
+
|
|
134
|
+
- The `role="grid"` attribute along with related ARIA attributes are now applied to the inner `div` element instead of the root `div` element:
|
|
135
|
+
|
|
136
|
+
```diff
|
|
137
|
+
-<div class="MuiDataGrid-root" role="grid" aria-colcount="5" aria-rowcount="101" aria-multiselectable="false">
|
|
138
|
+
+<div class="MuiDataGrid-root">
|
|
139
|
+
<div class="MuiDataGrid-toolbarContainer"></div>
|
|
140
|
+
- <div class="MuiDataGrid-main"></div>
|
|
141
|
+
+ <div class="MuiDataGrid-main" role="grid" aria-colcount="5" aria-rowcount="101" aria-multiselectable="false"></div>
|
|
142
|
+
<div class="MuiDataGrid-footerContainer"></div>
|
|
143
|
+
</div>
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
- When the [Tree data](https://next.mui.com/x/react-data-grid/tree-data/) feature is used, the grid role is now `role="treegrid"` instead of `role="grid"`.
|
|
147
|
+
- The Data Grid cells now have `role="gridcell"` instead of `role="cell"`.
|
|
148
|
+
|
|
149
|
+
- The buttons in toolbar composable components `GridToolbarColumnsButton`, `GridToolbarFilterButton`, `GridToolbarDensity`, and `GridToolbarExport` are now wrapped with a tooltip component and have a consistent interface. To override some props corresponding to the toolbar buttons or their corresponding tooltips, you can use the `slotProps` prop. Following is an example diff. See [Toolbar section](https://next.mui.com/x/react-data-grid/components/#toolbar) for more details.
|
|
150
|
+
|
|
151
|
+
```diff
|
|
152
|
+
function CustomToolbar() {
|
|
153
|
+
return (
|
|
154
|
+
<GridToolbarContainer>
|
|
155
|
+
<GridToolbarColumnsButton />
|
|
156
|
+
<GridToolbarFilterButton
|
|
157
|
+
- title="Custom filter" // 🛑 This was previously forwarded to the tooltip component
|
|
158
|
+
+ slotProps={{ tooltip: { title: 'Custom filter' } }} // ✅ This is the correct way now
|
|
159
|
+
/>
|
|
160
|
+
<GridToolbarDensitySelector
|
|
161
|
+
- variant="outlined" // 🛑 This was previously forwarded to the button component
|
|
162
|
+
+ slotProps={{ button: { variant: 'outlined' } }} // ✅ This is the correct way now
|
|
163
|
+
/>
|
|
164
|
+
</GridToolbarContainer>
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
- Column grouping is now enabled by default. The flag `columnGrouping` is no longer needed to be passed to the `experimentalFeatures` prop to enable it.
|
|
170
|
+
|
|
171
|
+
```diff
|
|
172
|
+
-<DataGrid experimentalFeatures={{ columnGrouping: true }} />
|
|
173
|
+
+<DataGrid />
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
- The column grouping API methods `getColumnGroupPath` and `getAllGroupDetails` are no longer prefixed with `unstable_`.
|
|
177
|
+
|
|
178
|
+
- The column grouping selectors `gridFocusColumnGroupHeaderSelector` and `gridTabIndexColumnGroupHeaderSelector` are no longer prefixed with `unstable_`.
|
|
179
|
+
|
|
180
|
+
- The disabled column specific features like `hiding`, `sorting`, `filtering`, `pinning`, `row grouping`, etc could now be controlled programmatically using `initialState`, respective controlled models, or the [API object](https://next.mui.com/x/react-data-grid/api-object/). See the related [docs](https://next.mui.com/x/react-data-grid/api-object/#access-the-disabled-column-features) section.
|
|
181
|
+
|
|
182
|
+
#### `@mui/x-data-grid@7.0.0-alpha.9`
|
|
183
|
+
|
|
184
|
+
- [DataGrid] Allow to filter non-filterable columns programmatically (#11538) @MBilalShafi
|
|
185
|
+
- [DataGrid] Allow to programmatically sort unsortable columns (#11512) @MBilalShafi
|
|
186
|
+
- [DataGrid] Fix incorrect default value for `filterModel.logicOperator` (#11673) @MBilalShafi
|
|
187
|
+
- [DataGrid] Make `column grouping` feature stable (#11698) @MBilalShafi
|
|
188
|
+
- [DataGrid] Remove the `ariaV7` experimental flag (#11428) @cherniavskii
|
|
189
|
+
- [DataGrid] Start the FAQ page (#11686) @MBilalShafi
|
|
190
|
+
- [DataGrid] Sticky headers (#10059) @romgrk
|
|
191
|
+
- [DataGrid] Wrap toolbar buttons with tooltip (#11357) @MBilalShafi
|
|
192
|
+
- [l10n] Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11668) @BCaspari
|
|
193
|
+
|
|
194
|
+
#### `@mui/x-data-grid-pro@7.0.0-alpha.9` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
195
|
+
|
|
196
|
+
Same changes as in `@mui/x-data-grid@7.0.0-alpha.9`, plus:
|
|
197
|
+
|
|
198
|
+
- [DataGridPro] Allow non-pinnable columns to be pinned programmatically (#11680) @MBilalShafi
|
|
199
|
+
|
|
200
|
+
#### `@mui/x-data-grid-premium@7.0.0-alpha.9` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
201
|
+
|
|
202
|
+
Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.9`, plus:
|
|
203
|
+
|
|
204
|
+
- [DataGridPremium] Allow aggregation to be applied for non-aggregable columns (#11574) @MBilalShafi
|
|
205
|
+
- [DataGridPremium] Allow programmatically grouping non-groupable columns (#11539) @MBilalShafi
|
|
206
|
+
|
|
207
|
+
### Date Pickers
|
|
208
|
+
|
|
209
|
+
#### Breaking changes
|
|
210
|
+
|
|
211
|
+
- The `locales` export has been removed from the root of the packages.
|
|
212
|
+
If you were importing locales from the root, be sure to update it:
|
|
213
|
+
|
|
214
|
+
```diff
|
|
215
|
+
-import { frFR } from '@mui/x-date-pickers';
|
|
216
|
+
+import { frFR } from '@mui/x-date-pickers/locales';
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
#### `@mui/x-date-pickers@7.0.0-alpha.9`
|
|
220
|
+
|
|
221
|
+
- [fields] Make `PickersTextField` and its dependencies public (#11581) @flaviendelangle
|
|
222
|
+
- [fields] Support farsi digits (#11639) @flaviendelangle
|
|
223
|
+
- [pickers] Fix AdapterLuxon `getWeekNumber` behavior (#11697) @LukasTy
|
|
224
|
+
- [pickers] Stop root exporting `locales` (#11612) @LukasTy
|
|
225
|
+
|
|
226
|
+
#### `@mui/x-date-pickers-pro@7.0.0-alpha.9` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
227
|
+
|
|
228
|
+
Same changes as in `@mui/x-date-pickers@7.0.0-alpha.9`.
|
|
229
|
+
|
|
230
|
+
### Charts / `@mui/x-charts@7.0.0-alpha.9`
|
|
231
|
+
|
|
232
|
+
- [charts] Do not propagate `innerRadius` and `outerRadius` to the DOM (#11689) @alexfauquette
|
|
233
|
+
- [charts] Fix default `stackOffset` for `LineChart` (#11647) @alexfauquette
|
|
234
|
+
- [charts] Remove a TS ignore (#11688) @alexfauquette
|
|
235
|
+
|
|
236
|
+
### Tree View
|
|
237
|
+
|
|
238
|
+
#### Breaking changes
|
|
239
|
+
|
|
240
|
+
- The `expandIcon` / `defaultExpandIcon` props, used to expand the children of a node (rendered when it is collapsed),
|
|
241
|
+
is now defined as a slot both on the Tree View and the Tree Item components.
|
|
242
|
+
|
|
243
|
+
If you were using the `ChevronRight` icon from `@mui/icons-material`,
|
|
244
|
+
you can stop passing it to your component because it is now the default value:
|
|
245
|
+
|
|
246
|
+
```diff
|
|
247
|
+
-import ChevronRightIcon from '@mui/icons-material/ChevronRight';
|
|
248
|
+
|
|
249
|
+
<SimpleTreeView
|
|
250
|
+
- defaultExpandIcon={<ChevronRightIcon />}
|
|
251
|
+
>
|
|
252
|
+
{items}
|
|
253
|
+
</SimpleTreeView>
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
If you were passing another icon to your Tree View component,
|
|
257
|
+
you need to use the new `expandIcon` slot on this component:
|
|
258
|
+
|
|
259
|
+
```diff
|
|
260
|
+
<SimpleTreeView
|
|
261
|
+
- defaultExpandIcon={<MyCustomExpandIcon />}
|
|
262
|
+
+ slots={{ expandIcon: MyCustomExpandIcon }}
|
|
263
|
+
>
|
|
264
|
+
{items}
|
|
265
|
+
</SimpleTreeView>
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
If you were passing another icon to your Tree Item component,
|
|
269
|
+
you need to use the new `expandIcon` slot on this component:
|
|
270
|
+
|
|
271
|
+
```diff
|
|
272
|
+
<SimpleTreeView>
|
|
273
|
+
<TreeItem
|
|
274
|
+
nodeId="1"
|
|
275
|
+
label="Node 1"
|
|
276
|
+
- expandIcon={<MyCustomExpandIcon />}
|
|
277
|
+
+ slots={{ expandIcon: MyCustomExpandIcon }}
|
|
278
|
+
/>
|
|
279
|
+
</SimpleTreeView>
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
- The `collapseIcon` / `defaultCollapseIcon` props, used to collapse the children of a node (rendered when it is expanded),
|
|
283
|
+
is now defined as a slot both on the Tree View and the Tree Item components.
|
|
284
|
+
|
|
285
|
+
If you were using the `ExpandMore` icon from `@mui/icons-material`,
|
|
286
|
+
you can stop passing it to your component because it is now the default value:
|
|
287
|
+
|
|
288
|
+
```diff
|
|
289
|
+
- import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
|
290
|
+
|
|
291
|
+
<SimpleTreeView
|
|
292
|
+
- defaultCollapseIcon={<ExpandMoreIcon />}
|
|
293
|
+
>
|
|
294
|
+
{items}
|
|
295
|
+
</SimpleTreeView>
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
If you were passing another icon to your Tree View component,
|
|
299
|
+
you need to use the new `collapseIcon` slot on this component:
|
|
300
|
+
|
|
301
|
+
```diff
|
|
302
|
+
<SimpleTreeView
|
|
303
|
+
- defaultCollapseIcon={<MyCustomCollapseIcon />}
|
|
304
|
+
+ slots={{ collapseIcon: MyCustomCollapseIcon }}
|
|
305
|
+
>
|
|
306
|
+
{items}
|
|
307
|
+
</SimpleTreeView>
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
If you were passing another icon to your Tree Item component,
|
|
311
|
+
you need to use the new `collapseIcon` slot on this component:
|
|
312
|
+
|
|
313
|
+
```diff
|
|
314
|
+
<SimpleTreeView>
|
|
315
|
+
<TreeItem
|
|
316
|
+
nodeId="1"
|
|
317
|
+
label="Node 1"
|
|
318
|
+
- collapseIcon={<MyCustomCollapseIcon />}
|
|
319
|
+
+ slots={{ collapseIcon: MyCustomCollapseIcon }}
|
|
320
|
+
/>
|
|
321
|
+
</SimpleTreeView>
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
- The `useTreeItem` hook has been renamed `useTreeItemState`.
|
|
325
|
+
This will help create a new headless version of the `TreeItem` component based on a future `useTreeItem` hook.
|
|
326
|
+
|
|
327
|
+
```diff
|
|
328
|
+
-import { TreeItem, useTreeItem } from '@mui/x-tree-view/TreeItem';
|
|
329
|
+
+import { TreeItem, useTreeItemState } from '@mui/x-tree-view/TreeItem';
|
|
330
|
+
|
|
331
|
+
const CustomContent = React.forwardRef((props, ref) => {
|
|
332
|
+
- const { disabled } = useTreeItem(props.nodeId);
|
|
333
|
+
+ const { disabled } = useTreeItemState(props.nodeId);
|
|
334
|
+
|
|
335
|
+
// Render some UI
|
|
336
|
+
});
|
|
337
|
+
|
|
338
|
+
function App() {
|
|
339
|
+
return (
|
|
340
|
+
<SimpleTreeView>
|
|
341
|
+
<TreeItem ContentComponent={CustomContent} />
|
|
342
|
+
</SimpleTreeView>
|
|
343
|
+
)
|
|
344
|
+
}
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
- The `parentIcon` prop has been removed from the Tree View components.
|
|
348
|
+
|
|
349
|
+
If you were passing an icon to your Tree View component,
|
|
350
|
+
you can achieve the same behavior
|
|
351
|
+
by passing the same icon to both the `collapseIcon` and the `expandIcon` slots on this component:
|
|
352
|
+
|
|
353
|
+
```diff
|
|
354
|
+
<SimpleTreeView
|
|
355
|
+
- defaultParentIcon={<MyCustomParentIcon />}
|
|
356
|
+
+ slots={{ collapseIcon: MyCustomParentIcon, expandIcon: MyCustomParentIcon }}
|
|
357
|
+
>
|
|
358
|
+
{items}
|
|
359
|
+
</SimpleTreeView>
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
- The `endIcon` / `defaultEndIcon` props, rendered next to an item without children,
|
|
363
|
+
is now defined as a slot both on the Tree View and the Tree Item components.
|
|
364
|
+
|
|
365
|
+
If you were passing an icon to your Tree View component,
|
|
366
|
+
you need to use the new `endIcon` slot on this component:
|
|
367
|
+
|
|
368
|
+
```diff
|
|
369
|
+
<SimpleTreeView
|
|
370
|
+
- defaultEndIcon={<MyCustomEndIcon />}
|
|
371
|
+
+ slots={{ endIcon: MyCustomEndIcon }}
|
|
372
|
+
>
|
|
373
|
+
{items}
|
|
374
|
+
</SimpleTreeView>
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
If you were passing an icon to your Tree Item component,
|
|
378
|
+
you need to use the new `endIcon` slot on this component:
|
|
379
|
+
|
|
380
|
+
```diff
|
|
381
|
+
<SimpleTreeView>
|
|
382
|
+
<TreeItem
|
|
383
|
+
nodeId="1"
|
|
384
|
+
label="Node 1"
|
|
385
|
+
- endIcon={<MyCustomEndIcon />}
|
|
386
|
+
+ slots={{ endIcon: MyCustomEndIcon }}
|
|
387
|
+
/>
|
|
388
|
+
</SimpleTreeView>
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
- The `icon` prop, rendered next to an item without children,
|
|
392
|
+
is now defined as a slot on the Tree Item component.
|
|
393
|
+
|
|
394
|
+
If you were passing an icon to your Tree Item component,
|
|
395
|
+
you need to use the new `icon` slot on this component:
|
|
396
|
+
|
|
397
|
+
```diff
|
|
398
|
+
<SimpleTreeView>
|
|
399
|
+
<TreeItem
|
|
400
|
+
nodeId="1"
|
|
401
|
+
label="Node 1"
|
|
402
|
+
- icon={<MyCustomIcon />}
|
|
403
|
+
+ slots={{ icon: MyCustomIcon }}
|
|
404
|
+
/>
|
|
405
|
+
</SimpleTreeView>
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
#### `@mui/x-tree-view@7.0.0-alpha.9`
|
|
409
|
+
|
|
410
|
+
- [TreeView] Adjust expansion and selection docs (#11723) @noraleonte
|
|
411
|
+
- [TreeView] Improve plugin signature definition (#11665) @flaviendelangle
|
|
412
|
+
- [TreeView] Make each plugin responsible for its context value (#11623) @flaviendelangle
|
|
413
|
+
- [TreeView] Migrate remaining icon props to slots (#11713) @flaviendelangle
|
|
414
|
+
- [TreeView] Pass through `Theme` generic to variants (#11480) @dhulme
|
|
415
|
+
- [TreeView] Rename `useTreeItem` to `useTreeItemState` (#11712) @flaviendelangle
|
|
416
|
+
- [TreeView] Add `slots` and `slotProps` on the Tree View components (#11664) @flaviendelangle
|
|
417
|
+
- [TreeView] Explore a better plugin model API (#11567) @flaviendelangle
|
|
418
|
+
|
|
419
|
+
### Docs
|
|
420
|
+
|
|
421
|
+
- [docs] Clean the pickers migration guide (#11694) @flaviendelangle
|
|
422
|
+
- [docs] Cleanup and fix Pickers Playground styling (#11700) @LukasTy
|
|
423
|
+
- [docs] First draft of the Tree View custom plugin doc (#11564) @flaviendelangle
|
|
424
|
+
- [docs] Fix Pickers migration syntax and diffs (#11695) @LukasTy
|
|
425
|
+
- [docs] Fix generated tree view API docs (#11737) @LukasTy
|
|
426
|
+
- [docs] Generate docs for Tree View slots (#11730) @flaviendelangle
|
|
427
|
+
- [docs] Improve codemod for v7 (#11650) @oliviertassinari
|
|
428
|
+
- [docs] Improve data grid `pageSizeOptions` prop documentation (#11682) @oliviertassinari
|
|
429
|
+
- [docs] Parse markdown on API docs demo titles (#11728) @LukasTy
|
|
430
|
+
- [docs] Remove the description from the `className` prop (#11693) @oliviertassinari
|
|
431
|
+
- [docs] Uplift `SimpleTreeView` customization examples (#11424) @noraleonte
|
|
432
|
+
- [docs] Uplift the Date Pickers playground (#11555) @danilo-leal
|
|
433
|
+
|
|
434
|
+
### Core
|
|
435
|
+
|
|
436
|
+
- [core] Bump `@mui/material` peer dependency for all packages (#11692) @LukasTy
|
|
437
|
+
- [core] Make `karma` run in parallel (#11571) @romgrk
|
|
438
|
+
- [core] make `karma-parallel` run under a new command (#11716) @romgrk
|
|
439
|
+
- [code-infra] Migrate all prettier APIs to the async version (#11732) @Janpot
|
|
440
|
+
- [code-infra] Update the Babel macro path (#11479) @michaldudak
|
|
441
|
+
- [docs-infra] Enforce brand name rules (#11651) @oliviertassinari
|
|
442
|
+
- [test] Fix flaky Data Grid test (#11725) @cherniavskii
|
|
443
|
+
|
|
6
444
|
## 7.0.0-alpha.8
|
|
7
445
|
|
|
8
446
|
_Jan 11, 2024_
|
|
@@ -74,7 +512,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.8`.
|
|
|
74
512
|
|
|
75
513
|
- [docs] Fix parsing of `x-date-pickers-pro` demo adapter imports (#11628) @LukasTy
|
|
76
514
|
- [docs] Improve `git diff` format @oliviertassinari
|
|
77
|
-
- [docs] Push up the MUI
|
|
515
|
+
- [docs] Push up the MUI X brand (#11533) @oliviertassinari
|
|
78
516
|
- [docs] Remove old data grid translation files (#11646) @cherniavskii
|
|
79
517
|
- [docs] Improve Server-side data grid docs (#11589) @oliviertassinari
|
|
80
518
|
- [docs] Improve charts landing page (#11570) @oliviertassinari
|
|
@@ -84,8 +522,8 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.8`.
|
|
|
84
522
|
- [core] Lock `jsdom` version (#11652) @cherniavskii
|
|
85
523
|
- [core] Remove PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD (#11608) @oliviertassinari
|
|
86
524
|
- [core] Simplify isSsr logic (#11606) @oliviertassinari
|
|
87
|
-
- [core] Sync playwright cache between MUI
|
|
88
|
-
- [core] Use MUI
|
|
525
|
+
- [core] Sync playwright cache between MUI X and Material UI (#11607) @oliviertassinari
|
|
526
|
+
- [core] Use MUI X official name in errors (#11645) @oliviertassinari
|
|
89
527
|
|
|
90
528
|
## 7.0.0-alpha.7
|
|
91
529
|
|
|
@@ -103,8 +541,8 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
|
|
|
103
541
|
id: 'node-1',
|
|
104
542
|
label: 'Node 1',
|
|
105
543
|
children: [
|
|
106
|
-
{ id: 'node-1-1', label: Node 1.1' },
|
|
107
|
-
{ id: 'node-1-2', label: Node 1.2' },
|
|
544
|
+
{ id: 'node-1-1', label: 'Node 1.1' },
|
|
545
|
+
{ id: 'node-1-2', label: 'Node 1.2' },
|
|
108
546
|
],
|
|
109
547
|
},
|
|
110
548
|
{
|
|
@@ -117,7 +555,7 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
|
|
|
117
555
|
items={MUI_X_PRODUCTS}
|
|
118
556
|
defaultCollapseIcon={<ExpandMoreIcon />}
|
|
119
557
|
defaultExpandIcon={<ChevronRightIcon />}
|
|
120
|
-
|
|
558
|
+
/>;
|
|
121
559
|
```
|
|
122
560
|
|
|
123
561
|
- 🌍 Improve Czech (cs-CZ) locale on the Data Grid
|
|
@@ -221,10 +659,10 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.7`.
|
|
|
221
659
|
|
|
222
660
|
- [core] Fix release changelog (#11496) @romgrk
|
|
223
661
|
- [core] Fix use of ::before & ::after (#11515) @oliviertassinari
|
|
224
|
-
- [core] Localize the issue template to MUI
|
|
662
|
+
- [core] Localize the issue template to MUI X (#11511) @oliviertassinari
|
|
225
663
|
- [core] Regen api files (#11542) @flaviendelangle
|
|
226
664
|
- [core] Remove issue emoji @oliviertassinari
|
|
227
|
-
- [core] Sync the release instructions with MUI
|
|
665
|
+
- [core] Sync the release instructions with MUI Core @oliviertassinari
|
|
228
666
|
- [core] Yaml format match most common convention @oliviertassinari
|
|
229
667
|
|
|
230
668
|
## 7.0.0-alpha.6
|
|
@@ -262,6 +700,7 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
|
|
|
262
700
|
getOptionLabel: (value: any) => value.name,
|
|
263
701
|
};
|
|
264
702
|
```
|
|
703
|
+
|
|
265
704
|
- The `filterModel` now supports `Date` objects as values for `date` and `dateTime` column types.
|
|
266
705
|
The `filterModel` still accepts strings as values for `date` and `dateTime` column types,
|
|
267
706
|
but all updates to the `filterModel` coming from the UI (e.g. filter panel) will set the value as a `Date` object.
|
|
@@ -355,7 +794,7 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.5`.
|
|
|
355
794
|
#### Breaking changes
|
|
356
795
|
|
|
357
796
|
- The slot interfaces got renamed to match with `@mui/base` naming.
|
|
358
|
-
The `SlotsComponent` suffix has been replaced with `Slots` and `SlotsComponentsProps` with `SlotProps`.
|
|
797
|
+
The `SlotsComponent` suffix has been replaced with `Slots` and `SlotsComponentsProps` with `SlotProps`.
|
|
359
798
|
|
|
360
799
|
```diff
|
|
361
800
|
-DateCalendarSlotsComponent
|
|
@@ -733,7 +1172,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.3`.
|
|
|
733
1172
|
- [docs] Polish Next.js header description @oliviertassinari
|
|
734
1173
|
- [docs] Remove the `newFeature` flag on v6 features (#11168) @flaviendelangle
|
|
735
1174
|
- [docs] Simplify a bit chart demo (#11173) @oliviertassinari
|
|
736
|
-
- [docs] Standardize the usage of callouts in the MUI
|
|
1175
|
+
- [docs] Standardize the usage of callouts in the MUI X docs (#7127) @samuelsycamore
|
|
737
1176
|
- [docs] Adjust the Data Grid demo page design (#11231) @danilo-leal
|
|
738
1177
|
|
|
739
1178
|
### Core
|
|
@@ -1119,10 +1558,20 @@ And if you need the exact same output you can apply the following transformation
|
|
|
1119
1558
|
- The `adapter.toISO` method have been removed, you can directly use your date library:
|
|
1120
1559
|
|
|
1121
1560
|
```diff
|
|
1561
|
+
// For Day.js
|
|
1122
1562
|
-const isoString = adapter.toISO(value);
|
|
1123
1563
|
+const isoString = value.toISOString();
|
|
1564
|
+
|
|
1565
|
+
// For Luxon
|
|
1566
|
+
-const isoString = adapter.toISO(value);
|
|
1124
1567
|
+const isoString = value.toUTC().toISO({ format: 'extended' });
|
|
1568
|
+
|
|
1569
|
+
// For DateFns
|
|
1570
|
+
-const isoString = adapter.toISO(value);
|
|
1125
1571
|
+const isoString = dateFns.formatISO(value, { format: 'extended' });
|
|
1572
|
+
|
|
1573
|
+
// For Moment
|
|
1574
|
+
-const isoString = adapter.toISO(value);
|
|
1126
1575
|
+const isoString = value.toISOString();
|
|
1127
1576
|
```
|
|
1128
1577
|
|
|
@@ -1424,6 +1873,35 @@ Here is an example of the renaming for the `<ChartsTooltip />` component.
|
|
|
1424
1873
|
- [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
|
|
1425
1874
|
- [license] Correctly throw errors (#10924) @oliviertassinari
|
|
1426
1875
|
|
|
1876
|
+
## 6.19.1
|
|
1877
|
+
|
|
1878
|
+
_Jan 19, 2024_
|
|
1879
|
+
|
|
1880
|
+
We'd like to offer a big thanks to the 1 contributors who made this release possible. Here are some highlights ✨:
|
|
1881
|
+
|
|
1882
|
+
- 🌍 Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
|
|
1883
|
+
- 🐞 Bugfixes
|
|
1884
|
+
|
|
1885
|
+
### Data Grid
|
|
1886
|
+
|
|
1887
|
+
#### `@mui/x-data-grid@6.19.1`
|
|
1888
|
+
|
|
1889
|
+
- [l10n] Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
|
|
1890
|
+
|
|
1891
|
+
#### `@mui/x-data-grid-pro@6.19.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
1892
|
+
|
|
1893
|
+
Same changes as in `@mui/x-data-grid@6.19.1`.
|
|
1894
|
+
|
|
1895
|
+
#### `@mui/x-data-grid-premium@6.19.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
1896
|
+
|
|
1897
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.1`.
|
|
1898
|
+
|
|
1899
|
+
### Charts / `@mui/x-charts@6.19.1`
|
|
1900
|
+
|
|
1901
|
+
- [charts] Add `arcLabelRadius` property (#11563) @alexfauquette
|
|
1902
|
+
- [charts] Do not propagate `innerRadius` and `outerRadius` to the DOM (#11719) @alexfauquette
|
|
1903
|
+
- [charts] Fix default `stackOffset` for `LineChart` (#11703) @alexfauquette
|
|
1904
|
+
|
|
1427
1905
|
## 6.19.0
|
|
1428
1906
|
|
|
1429
1907
|
_Jan 11, 2024_
|
|
@@ -1459,7 +1937,7 @@ Same changes as in `@mui/x-date-pickers@6.19.0`.
|
|
|
1459
1937
|
|
|
1460
1938
|
- [docs] Add missing component @oliviertassinari
|
|
1461
1939
|
- [docs] Fix parsing of `x-date-pickers-pro` demo adapter imports (#11637) @LukasTy
|
|
1462
|
-
- [docs] Push up the MUI
|
|
1940
|
+
- [docs] Push up the MUI X brand (#11533) @oliviertassinari
|
|
1463
1941
|
- [docs] Improve Server-side data grid docs (#11589) @oliviertassinari
|
|
1464
1942
|
- [docs] Add demo to the charts overview page (#11586) @danilo-leal
|
|
1465
1943
|
- [docs] Fix 404 links in the docs @oliviertassinari
|
|
@@ -1819,7 +2297,7 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
|
|
|
1819
2297
|
- 🥧 Pie charts are now animated.
|
|
1820
2298
|
- 📈 Line charts now support partial data, and can interpolate missing data https://mui.com/x/react-charts/lines/#skip-missing-points.
|
|
1821
2299
|
|
|
1822
|
-
<img src="https://github.com/mui/mui-x/assets/3165635/d2d50b1b-ee29-4e4c-9ebe-629c06f3093e" width="683" height="436" />
|
|
2300
|
+
<img src="https://github.com/mui/mui-x/assets/3165635/d2d50b1b-ee29-4e4c-9ebe-629c06f3093e" width="683" height="436" alt="Charts partial data" />
|
|
1823
2301
|
|
|
1824
2302
|
- ✨ The data grid allows to ignore [diacritics](https://en.wikipedia.org/wiki/Diacritic) when filtering.
|
|
1825
2303
|
- 📚 Documentation improvements
|
|
@@ -2313,7 +2791,7 @@ Same changes as in `@mui/x-date-pickers@6.15.0`.
|
|
|
2313
2791
|
- [docs] Add missing MIT packages on the Licensing page (#10348) @flaviendelangle
|
|
2314
2792
|
- [docs] Clearer component pattern @oliviertassinari
|
|
2315
2793
|
- [docs] Easier to understand demo (#10370) @oliviertassinari
|
|
2316
|
-
- [docs] Fix `301` to Material
|
|
2794
|
+
- [docs] Fix `301` to Material UI @oliviertassinari
|
|
2317
2795
|
- [docs] Improve the column visibility section (#10327) @MBilalShafi
|
|
2318
2796
|
- [docs] Improve the documentation section `rowIdentifier` (#10326) @MBilalShafi
|
|
2319
2797
|
- [docs] Improve pickers localization documentation (#10202) @flaviendelangle
|
|
@@ -2391,12 +2869,12 @@ Same changes as in `@mui/x-date-pickers@6.14.0`.
|
|
|
2391
2869
|
- [docs] Add conditional range picker props example (#10227) @LukasTy
|
|
2392
2870
|
- [docs] Add toolbar to the multi-filters demo (#10223) @MBilalShafi
|
|
2393
2871
|
- [docs] Avoid the use of "We" @oliviertassinari
|
|
2394
|
-
- [docs] Clarify MUI vs. MUI
|
|
2872
|
+
- [docs] Clarify MUI vs. MUI Core difference @oliviertassinari
|
|
2395
2873
|
- [docs] Enable `ariaV7` flag for demos using `useDemoData` hook (#10204) @cherniavskii
|
|
2396
2874
|
- [docs] Fix Tree View link to API references (#10282) @oliviertassinari
|
|
2397
2875
|
- [docs] Fix image layout shift (#10313) @oliviertassinari
|
|
2398
|
-
- [docs] Fix link to MUI
|
|
2399
|
-
- [docs] Fix redirection to Base
|
|
2876
|
+
- [docs] Fix link to MUI X from readme logo @oliviertassinari
|
|
2877
|
+
- [docs] Fix redirection to Base UI URLs @oliviertassinari
|
|
2400
2878
|
- [docs] Improve Tree View demos (#10268) @oliviertassinari
|
|
2401
2879
|
- [docs] Improve docs for ref type props (#10273) @michelengelen
|
|
2402
2880
|
- [docs] Improve npm package README (#10269) @oliviertassinari
|
|
@@ -2480,7 +2958,7 @@ Same changes as in `@mui/x-date-pickers@6.13.0`, plus:
|
|
|
2480
2958
|
- [docs] Improve the week picker example (#8257) @flaviendelangle
|
|
2481
2959
|
- [docs] Include code links in the data grid demo (#10219) @cherniavskii
|
|
2482
2960
|
- [docs] Polish page for SEO (#10216) @oliviertassinari
|
|
2483
|
-
- [docs] Use `Base
|
|
2961
|
+
- [docs] Use `Base UI` `Portal` for the quick filter recipe (#10188) @DanailH
|
|
2484
2962
|
|
|
2485
2963
|
### Core
|
|
2486
2964
|
|
|
@@ -2741,7 +3219,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
2741
3219
|
|
|
2742
3220
|
- ⌚️ Move the tree view component from `@mui/lab` package
|
|
2743
3221
|
|
|
2744
|
-
The `<TreeView />` component has been moved to the MUI
|
|
3222
|
+
The `<TreeView />` component has been moved to the MUI X repository.
|
|
2745
3223
|
It is now accessible from its own package: `@mui/x-tree-view`.
|
|
2746
3224
|
|
|
2747
3225
|
- 🌍 Improve Hebrew (he-IL), Finnish (fi-FI), and Italian (it-IT) locales on the data grid
|
|
@@ -2803,7 +3281,7 @@ Same changes as in `@mui/x-date-pickers@6.11.0`.
|
|
|
2803
3281
|
|
|
2804
3282
|
- [docs] Add Tree View doc (#9825) @flaviendelangle
|
|
2805
3283
|
- [docs] Add charts nav item (#9821) @LukasTy
|
|
2806
|
-
- [docs] Add charts to MUI
|
|
3284
|
+
- [docs] Add charts to MUI X introduction pages (#9704) @joserodolfofreitas
|
|
2807
3285
|
- [docs] Add example for avoiding picker views layout shift (#9781) @noraleonte
|
|
2808
3286
|
- [docs] Consistency of Next.js App Router @oliviertassinari
|
|
2809
3287
|
- [docs] Fix API page regression: bring back slots section (#9866) @alexfauquette
|
|
@@ -2872,7 +3350,7 @@ Same changes as in `@mui/x-date-pickers@6.10.2`.
|
|
|
2872
3350
|
### Docs
|
|
2873
3351
|
|
|
2874
3352
|
- [docs] Add `pnpm` in more places @oliviertassinari
|
|
2875
|
-
- [docs] Add `pnpm` installation instructions for MUI
|
|
3353
|
+
- [docs] Add `pnpm` installation instructions for MUI X (#9707) @richbustos
|
|
2876
3354
|
- [docs] Align pickers "uncontrolled vs controlled" sections (#9772) @LukasTy
|
|
2877
3355
|
- [docs] Apply style guide to the data grid Layout page (#9673) @richbustos
|
|
2878
3356
|
- [docs] Differentiate between packages in `slotProps` docs (#9668) @cherniavskii
|
|
@@ -3181,7 +3659,7 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
|
|
|
3181
3659
|
|
|
3182
3660
|
- 🚀 Introducing UTC and timezone support for pickers.
|
|
3183
3661
|
|
|
3184
|
-
<img width="774" src="https://github.com/mui/mui-x/assets/3165635/ad95a404-ee67-4aff-b996-ad6cbb322348">
|
|
3662
|
+
<img width="774" src="https://github.com/mui/mui-x/assets/3165635/ad95a404-ee67-4aff-b996-ad6cbb322348" alt="Pickers time zone switching">
|
|
3185
3663
|
|
|
3186
3664
|
Visit the [documentation](https://mui.com/x/react-date-pickers/timezone/) to learn how to use it.
|
|
3187
3665
|
|
|
@@ -3233,7 +3711,7 @@ Same changes as in `@mui/x-date-pickers@6.9.0`.
|
|
|
3233
3711
|
|
|
3234
3712
|
- [docs] Add examples of using different time view renderers (#9360) @LukasTy
|
|
3235
3713
|
- [docs] Add recipe for single-click editing (#8365) @m4theushw
|
|
3236
|
-
- [docs] Fix Base
|
|
3714
|
+
- [docs] Fix Base UI references (#9349) @oliviertassinari
|
|
3237
3715
|
- [docs] Fix random screenshot generation (#9364) @cherniavskii
|
|
3238
3716
|
- [docs] Remove random generation from chart doc example (#9343) @flaviendelangle
|
|
3239
3717
|
- [docs] Sync h1 with sidenav link (#9252) @oliviertassinari
|
|
@@ -3417,7 +3895,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
|
|
|
3417
3895
|
|
|
3418
3896
|
- 🚀 New date time picking UI on [`DesktopDateTimePicker`](https://mui.com/x/react-date-pickers/date-time-picker/)
|
|
3419
3897
|
|
|
3420
|
-
<img src="https://github.com/mui/mui-x/assets/3165635/4e1fe9f9-03eb-4f23-99dd-80212b21fb23" width="840" height="506" />
|
|
3898
|
+
<img src="https://github.com/mui/mui-x/assets/3165635/4e1fe9f9-03eb-4f23-99dd-80212b21fb23" width="840" height="506" alt="Desktop Date Time Picker example" />
|
|
3421
3899
|
|
|
3422
3900
|
- 🚀 Performance improvements
|
|
3423
3901
|
- 🐞 Bugfixes
|
|
@@ -3493,7 +3971,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
3493
3971
|
|
|
3494
3972
|
- 💫 Introduce filtering on column headers for `DataGridPro` and `DataGridPremium`:
|
|
3495
3973
|
|
|
3496
|
-
<img src="https://github.com/mui/mui-x/releases/download/v6.5.0/recording.gif" width="840" height="506" />
|
|
3974
|
+
<img src="https://github.com/mui/mui-x/releases/download/v6.5.0/recording.gif" width="840" height="506" alt="Filtering on column headers example" />
|
|
3497
3975
|
|
|
3498
3976
|
See [the documentation](https://mui.com/x/react-data-grid/filtering/header-filters/) for more information
|
|
3499
3977
|
|
|
@@ -3652,7 +4130,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
|
|
|
3652
4130
|
|
|
3653
4131
|
- 🚀 New [time-picking UI](https://mui.com/x/react-date-pickers/digital-clock/) designed for desktops (#7958) @LukasTy
|
|
3654
4132
|
|
|
3655
|
-
<img src="https://user-images.githubusercontent.com/4941090/235072007-de39a397-e4a4-4c98-8e10-5ee4ad440108.gif" width="494" />
|
|
4133
|
+
<img src="https://user-images.githubusercontent.com/4941090/235072007-de39a397-e4a4-4c98-8e10-5ee4ad440108.gif" width="494" alt="New digital clock time picker" />
|
|
3656
4134
|
|
|
3657
4135
|
- ✨ Picker fields [now always include a leading zero](https://mui.com/x/react-date-pickers/adapters-locale/#respect-leading-zeros-in-fields) on digit sections (#8527) @flaviendelangle
|
|
3658
4136
|
- 🌍 Improve Chinese (zh-CN), French (fr-FR), and Turkish (tr-TR) locales
|
|
@@ -4028,7 +4506,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
4028
4506
|
- [docs] Add a warning for `luxon` macro tokens (#8245) @flaviendelangle
|
|
4029
4507
|
- [docs] Complete pickers customization pages (#8066) @alexfauquette
|
|
4030
4508
|
- [docs] Fix 301 redirection @oliviertassinari
|
|
4031
|
-
- [docs] Fix 404 links to customization Material
|
|
4509
|
+
- [docs] Fix 404 links to customization Material UI APIs (#8200) @oliviertassinari
|
|
4032
4510
|
- [docs] Fix `moment-hijri` demo (#8255) @LukasTy
|
|
4033
4511
|
- [docs] Improve migration diff (#8240) @oliviertassinari
|
|
4034
4512
|
- [docs] Change **What's new** page url to point to announcement blog post (#8186) @joserodolfofreitas
|
|
@@ -4459,7 +4937,7 @@ We'd like to offer a big thanks to the 17 contributors who made this release pos
|
|
|
4459
4937
|
|
|
4460
4938
|
_Jan 19, 2023_
|
|
4461
4939
|
|
|
4462
|
-
After a long period in alpha, we're glad to announce the first MUI
|
|
4940
|
+
After a long period in alpha, we're glad to announce the first MUI X v6 beta!
|
|
4463
4941
|
We encourage you to try out this version, packed with improvements, bug fixes, and a few highlighted features ✨:
|
|
4464
4942
|
|
|
4465
4943
|
**Data Grid**
|
|
@@ -5715,7 +6193,7 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
|
|
|
5715
6193
|
#### Breaking changes
|
|
5716
6194
|
|
|
5717
6195
|
- The `ToolbarComponent` has been replaced by a `Toolbar` component slot.
|
|
5718
|
-
You can find more information about this pattern in the [Base
|
|
6196
|
+
You can find more information about this pattern in the [Base UI documentation](https://mui.com/base-ui/getting-started/usage/#shared-props):
|
|
5719
6197
|
|
|
5720
6198
|
```diff
|
|
5721
6199
|
// Same on all other pickers
|
|
@@ -5866,7 +6344,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
|
|
|
5866
6344
|
|
|
5867
6345
|
#### Breaking changes
|
|
5868
6346
|
|
|
5869
|
-
- All the props used by the mobile and desktop wrappers to override components or components' props have been replaced by component slots. You can find more information about this pattern in the [Base
|
|
6347
|
+
- All the props used by the mobile and desktop wrappers to override components or components' props have been replaced by component slots. You can find more information about this pattern in the [Base UI documentation](https://mui.com/base-ui/getting-started/usage/#shared-props).
|
|
5870
6348
|
|
|
5871
6349
|
Some of the names have also been prefixed by `desktop` when it was unclear that the behavior was only applied on the desktop version of the pickers (or the responsive version when used on a desktop).
|
|
5872
6350
|
|
|
@@ -6055,7 +6533,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
6055
6533
|
#### Breaking changes
|
|
6056
6534
|
|
|
6057
6535
|
- The `renderDay` prop has been replaced by a `Day` component slot.
|
|
6058
|
-
You can find more information about this pattern in the [Base
|
|
6536
|
+
You can find more information about this pattern in the [Base UI documentation](https://mui.com/base-ui/getting-started/usage/#shared-props).
|
|
6059
6537
|
|
|
6060
6538
|
```diff
|
|
6061
6539
|
// Same for any other date, date time or date range picker.
|