@mui/x-data-grid-premium 9.0.0-rc.0 → 9.0.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 +114 -2
- package/DataGridPremium/DataGridPremium.js +9 -2
- package/DataGridPremium/DataGridPremium.mjs +9 -2
- package/DataGridPremium/useDataGridPremiumProps.js +1 -0
- package/DataGridPremium/useDataGridPremiumProps.mjs +1 -0
- package/hooks/features/cellSelection/useGridCellSelection.d.mts +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.d.ts +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.js +863 -3
- package/hooks/features/cellSelection/useGridCellSelection.mjs +864 -4
- package/hooks/features/clipboard/useGridClipboardImport.d.mts +22 -0
- package/hooks/features/clipboard/useGridClipboardImport.d.ts +22 -0
- package/hooks/features/clipboard/useGridClipboardImport.js +2 -1
- package/hooks/features/clipboard/useGridClipboardImport.mjs +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/models/dataGridPremiumProps.d.mts +7 -0
- package/models/dataGridPremiumProps.d.ts +7 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,117 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v9.0.0-rc.0..master -->
|
|
6
|
+
|
|
7
|
+
_Apr 8, 2026_
|
|
8
|
+
|
|
9
|
+
🥳 We're excited to announce the stable release of MUI X v9!
|
|
10
|
+
This major release includes many new features and improvements. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- Data Grid – [Charts integration](https://mui.com/x/react-data-grid/charts-integration/) [Premium]
|
|
13
|
+
- Data Grid – [AI Assistant](https://mui.com/x/react-data-grid/ai-assistant/) [Premium]
|
|
14
|
+
- Data Grid – [Undo and redo](https://mui.com/x/react-data-grid/undo-redo/) [Premium]
|
|
15
|
+
- Data Grid – [Drag fill](https://mui.com/x/react-data-grid/clipboard/#drag-to-fill) [Premium]
|
|
16
|
+
- Data Grid – [longText column type](https://mui.com/x/react-data-grid/column-definition/#column-types)
|
|
17
|
+
- Charts – [Interaction and accessibility](https://mui.com/x/react-charts/accessibility/)
|
|
18
|
+
- Charts – [Candlestick](https://mui.com/x/react-charts/candlestick/) [Premium]
|
|
19
|
+
- Charts – [Range bar charts](https://mui.com/x/react-charts/range-bar/) [Premium]
|
|
20
|
+
- Charts – [WebGL Heatmap renderer](https://mui.com/x/react-charts/heatmap/#webgl-renderer) [Premium]
|
|
21
|
+
- Tree View – [Virtualization](https://mui.com/x/react-tree-view/rich-tree-view/virtualization/) [Pro]
|
|
22
|
+
- New [Scheduler](https://mui.com/x/react-scheduler/) packages [Alpha]
|
|
23
|
+
|
|
24
|
+
We'd like to extend a big thank you to the 5 contributors who made this release possible.
|
|
25
|
+
The following team members contributed to this release:
|
|
26
|
+
@DanailH, @LukasTy, @MBilalShafi, @oliviertassinari, @siriwatknp
|
|
27
|
+
|
|
28
|
+
### Data Grid
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid@9.0.0`
|
|
31
|
+
|
|
32
|
+
Internal changes.
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-pro@9.0.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid@9.0.0`, plus:
|
|
37
|
+
|
|
38
|
+
- [DataGridPro] Preserve parent selection for non-selectable children (#21132) @MBilalShafi
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid-premium@9.0.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0`, plus:
|
|
43
|
+
|
|
44
|
+
- [DataGridPremium] Drag fill (#21717) @MBilalShafi
|
|
45
|
+
|
|
46
|
+
### Date and Time Pickers
|
|
47
|
+
|
|
48
|
+
#### Breaking changes
|
|
49
|
+
|
|
50
|
+
- Removed the legacy Pickers and Field TextField props (for example: `InputProps`) in favor of the nested `slotProps`. [Read more](https://mui.com/x/migration/migration-pickers-v8/#drop-deprecated-pickerstextfield-props)
|
|
51
|
+
- The `utils` field in `PickersAdapterContextValue` has been removed in favor of the `adapter` field.
|
|
52
|
+
This should no longer affect you, as the context export has also been removed.
|
|
53
|
+
- `MuiPickersAdapterContext` export has been removed.
|
|
54
|
+
Prefer using the `usePickerAdapter` hook. [Read more](https://mui.com/x/migration/migration-pickers-v8/#localizationprovider-breaking-changes).
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-date-pickers@9.0.0`
|
|
57
|
+
|
|
58
|
+
- [pickers] Refactor `PickersTextField` to use `slotProps` approach (#22002) @LukasTy
|
|
59
|
+
- [pickers] Remove deprecated LocalizationProvider legacy API (#22010) @LukasTy
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-date-pickers-pro@9.0.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
62
|
+
|
|
63
|
+
Same changes as in `@mui/x-date-pickers@9.0.0`.
|
|
64
|
+
|
|
65
|
+
### Charts
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts@9.0.0`
|
|
68
|
+
|
|
69
|
+
Internal changes.
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-charts-pro@9.0.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-charts@9.0.0`.
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-charts-premium@9.0.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
76
|
+
|
|
77
|
+
Same changes as in `@mui/x-charts-pro@9.0.0`.
|
|
78
|
+
|
|
79
|
+
### Tree View
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-tree-view@9.0.0`
|
|
82
|
+
|
|
83
|
+
Internal changes.
|
|
84
|
+
|
|
85
|
+
#### `@mui/x-tree-view-pro@9.0.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
86
|
+
|
|
87
|
+
Same changes as in `@mui/x-tree-view@9.0.0`.
|
|
88
|
+
|
|
89
|
+
### Scheduler
|
|
90
|
+
|
|
91
|
+
#### `@mui/x-scheduler@9.0.0-alpha.0`
|
|
92
|
+
|
|
93
|
+
Internal changes.
|
|
94
|
+
|
|
95
|
+
#### `@mui/x-scheduler-premium@9.0.0-alpha.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
96
|
+
|
|
97
|
+
Same changes as in `@mui/x-scheduler-pro@9.0.0-alpha.0`.
|
|
98
|
+
|
|
99
|
+
### Codemod
|
|
100
|
+
|
|
101
|
+
#### `@mui/x-codemod@9.0.0`
|
|
102
|
+
|
|
103
|
+
Internal changes.
|
|
104
|
+
|
|
105
|
+
### Docs
|
|
106
|
+
|
|
107
|
+
- [docs] Add explanation for v8 -> v9 license migration (#22004) @DanailH
|
|
108
|
+
|
|
109
|
+
### Core
|
|
110
|
+
|
|
111
|
+
- [code-infra] Optimize dependency definition (#22006) @LukasTy
|
|
112
|
+
- [internal] Prepare v9 stable (#22018) @siriwatknp
|
|
113
|
+
- [internal] Remove 'conf' from codebase (#21989) @oliviertassinari
|
|
114
|
+
|
|
3
115
|
## 9.0.0-rc.0
|
|
4
116
|
|
|
5
117
|
<!-- generated comparing v9.0.0-beta.0..master -->
|
|
@@ -40,8 +152,8 @@ Same changes as in `@mui/x-data-grid-pro@9.0.0-rc.0`, plus:
|
|
|
40
152
|
|
|
41
153
|
#### Breaking changes
|
|
42
154
|
|
|
43
|
-
- Accessible DOM structure is now the only default. [Read more](https://
|
|
44
|
-
- The `PickerDay2` and `DateRangePickerDay2` components were propagated to stable while removing the previous defaults. [Read more](https://
|
|
155
|
+
- Accessible DOM structure is now the only default. [Read more](https://mui.com/x/migration/migration-pickers-v8/#accessible-dom-structure-is-now-the-default)
|
|
156
|
+
- The `PickerDay2` and `DateRangePickerDay2` components were propagated to stable while removing the previous defaults. [Read more](https://mui.com/x/migration/migration-pickers-v8/#day-slot)
|
|
45
157
|
|
|
46
158
|
#### `@mui/x-date-pickers@9.0.0-rc.0`
|
|
47
159
|
|
|
@@ -51,8 +51,8 @@ const configuration = {
|
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
const packageInfo = {
|
|
54
|
-
releaseDate: "
|
|
55
|
-
version: "9.0.0
|
|
54
|
+
releaseDate: "MTc3NTYwNjQwMDAwMA==",
|
|
55
|
+
version: "9.0.0",
|
|
56
56
|
name: 'x-data-grid-premium'
|
|
57
57
|
};
|
|
58
58
|
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_internals.Watermark, {
|
|
@@ -209,6 +209,13 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
209
209
|
* @default false
|
|
210
210
|
*/
|
|
211
211
|
cellSelection: _propTypes.default.bool,
|
|
212
|
+
/**
|
|
213
|
+
* If `true`, a fill handle is shown at the bottom-right corner of the cell selection.
|
|
214
|
+
* Dragging the fill handle fills target cells with the values from selected cells.
|
|
215
|
+
* Requires `cellSelection` to be enabled.
|
|
216
|
+
* @default false
|
|
217
|
+
*/
|
|
218
|
+
cellSelectionFillHandle: _propTypes.default.bool,
|
|
212
219
|
/**
|
|
213
220
|
* Set the cell selection model of the grid.
|
|
214
221
|
*/
|
|
@@ -44,8 +44,8 @@ const configuration = {
|
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
const packageInfo = {
|
|
47
|
-
releaseDate: "
|
|
48
|
-
version: "9.0.0
|
|
47
|
+
releaseDate: "MTc3NTYwNjQwMDAwMA==",
|
|
48
|
+
version: "9.0.0",
|
|
49
49
|
name: 'x-data-grid-premium'
|
|
50
50
|
};
|
|
51
51
|
const watermark = /*#__PURE__*/_jsx(Watermark, {
|
|
@@ -202,6 +202,13 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
202
202
|
* @default false
|
|
203
203
|
*/
|
|
204
204
|
cellSelection: PropTypes.bool,
|
|
205
|
+
/**
|
|
206
|
+
* If `true`, a fill handle is shown at the bottom-right corner of the cell selection.
|
|
207
|
+
* Dragging the fill handle fills target cells with the values from selected cells.
|
|
208
|
+
* Requires `cellSelection` to be enabled.
|
|
209
|
+
* @default false
|
|
210
|
+
*/
|
|
211
|
+
cellSelectionFillHandle: PropTypes.bool,
|
|
205
212
|
/**
|
|
206
213
|
* Set the cell selection model of the grid.
|
|
207
214
|
*/
|
|
@@ -36,6 +36,7 @@ const DATA_GRID_PREMIUM_PROPS_DEFAULT_VALUES = exports.DATA_GRID_PREMIUM_PROPS_D
|
|
|
36
36
|
aggregationFunctions: _aggregation.GRID_AGGREGATION_FUNCTIONS,
|
|
37
37
|
aggregationRowsScope: 'filtered',
|
|
38
38
|
getAggregationPosition: _gridAggregationUtils.defaultGetAggregationPosition,
|
|
39
|
+
cellSelectionFillHandle: false,
|
|
39
40
|
disableClipboardPaste: false,
|
|
40
41
|
splitClipboardPastedText: (pastedText, delimiter = '\t') => {
|
|
41
42
|
// Excel on Windows adds an empty line break at the end of the copied text.
|
|
@@ -28,6 +28,7 @@ export const DATA_GRID_PREMIUM_PROPS_DEFAULT_VALUES = _extends({}, DATA_GRID_PRO
|
|
|
28
28
|
aggregationFunctions: GRID_AGGREGATION_FUNCTIONS,
|
|
29
29
|
aggregationRowsScope: 'filtered',
|
|
30
30
|
getAggregationPosition: defaultGetAggregationPosition,
|
|
31
|
+
cellSelectionFillHandle: false,
|
|
31
32
|
disableClipboardPaste: false,
|
|
32
33
|
splitClipboardPastedText: (pastedText, delimiter = '\t') => {
|
|
33
34
|
// Excel on Windows adds an empty line break at the end of the copied text.
|
|
@@ -3,4 +3,4 @@ import { type GridStateInitializer } from '@mui/x-data-grid-pro/internals';
|
|
|
3
3
|
import type { DataGridPremiumProcessedProps } from "../../../models/dataGridPremiumProps.mjs";
|
|
4
4
|
import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.mjs";
|
|
5
5
|
export declare const cellSelectionStateInitializer: GridStateInitializer<Pick<DataGridPremiumProcessedProps, 'cellSelectionModel' | 'initialState'>>;
|
|
6
|
-
export declare const useGridCellSelection: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "cellSelection" | "cellSelectionModel" | "onCellSelectionModelChange" | "pagination" | "paginationMode" | "ignoreValueFormatterDuringExport" | "clipboardCopyCellDelimiter" | "columnHeaderHeight">) => void;
|
|
6
|
+
export declare const useGridCellSelection: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "cellSelection" | "cellSelectionModel" | "onCellSelectionModelChange" | "pagination" | "paginationMode" | "ignoreValueFormatterDuringExport" | "clipboardCopyCellDelimiter" | "columnHeaderHeight" | "cellSelectionFillHandle" | "processRowUpdate" | "onProcessRowUpdateError" | "getRowId">) => void;
|
|
@@ -3,4 +3,4 @@ import { type GridStateInitializer } from '@mui/x-data-grid-pro/internals';
|
|
|
3
3
|
import type { DataGridPremiumProcessedProps } from "../../../models/dataGridPremiumProps.js";
|
|
4
4
|
import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.js";
|
|
5
5
|
export declare const cellSelectionStateInitializer: GridStateInitializer<Pick<DataGridPremiumProcessedProps, 'cellSelectionModel' | 'initialState'>>;
|
|
6
|
-
export declare const useGridCellSelection: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "cellSelection" | "cellSelectionModel" | "onCellSelectionModelChange" | "pagination" | "paginationMode" | "ignoreValueFormatterDuringExport" | "clipboardCopyCellDelimiter" | "columnHeaderHeight">) => void;
|
|
6
|
+
export declare const useGridCellSelection: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "cellSelection" | "cellSelectionModel" | "onCellSelectionModelChange" | "pagination" | "paginationMode" | "ignoreValueFormatterDuringExport" | "clipboardCopyCellDelimiter" | "columnHeaderHeight" | "cellSelectionFillHandle" | "processRowUpdate" | "onProcessRowUpdateError" | "getRowId">) => void;
|