@mui/x-data-grid-premium 8.28.1 → 8.28.3
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 +125 -5
- package/DataGridPremium/DataGridPremium.js +1 -1
- package/esm/DataGridPremium/DataGridPremium.js +1 -1
- package/esm/hooks/features/clipboard/useGridClipboardImport.js +6 -1
- package/esm/hooks/features/rows/useGridRowsOverridableMethods.js +1 -1
- package/esm/index.js +1 -1
- package/hooks/features/clipboard/useGridClipboardImport.js +5 -0
- package/hooks/features/rows/useGridRowsOverridableMethods.js +1 -1
- package/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,131 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
-
## 8.28.
|
|
8
|
+
## 8.28.3
|
|
9
|
+
|
|
10
|
+
_Apr 15, 2026_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
|
|
16
|
+
Special thanks go out to this community member for their valuable contribution:
|
|
17
|
+
@nk10nikhil
|
|
18
|
+
|
|
19
|
+
The following team members contributed to this release:
|
|
20
|
+
@flaviendelangle, @LukasTy, @MBilalShafi, @michelengelen, @sai6855
|
|
21
|
+
|
|
22
|
+
### Data Grid
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid@8.28.2`
|
|
25
|
+
|
|
26
|
+
Internal changes.
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid-pro@8.28.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
29
|
+
|
|
30
|
+
Same changes as in `@mui/x-data-grid@8.28.2`, plus:
|
|
31
|
+
|
|
32
|
+
- [DataGridPro] Improve trigger for nested row reordering (#21996) @MBilalShafi
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-premium@8.28.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid-pro@8.28.2`.
|
|
37
|
+
|
|
38
|
+
### Date and Time Pickers
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers@8.28.3`
|
|
41
|
+
|
|
42
|
+
- [pickers] Ensure correct `display` property on Day component (#21980) @LukasTy
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-date-pickers-pro@8.28.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
45
|
+
|
|
46
|
+
Same changes as in `@mui/x-date-pickers@8.28.3`.
|
|
47
|
+
|
|
48
|
+
### Charts
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts@8.28.2`
|
|
51
|
+
|
|
52
|
+
- [charts] Add missing export for `ChartsBrushOverlay` (#21993) (#22008) @nk10nikhil
|
|
53
|
+
|
|
54
|
+
#### `@mui/x-charts-pro@8.28.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
55
|
+
|
|
56
|
+
Same changes as in `@mui/x-charts@8.28.2`.
|
|
57
|
+
|
|
58
|
+
#### `@mui/x-charts-premium@8.28.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
59
|
+
|
|
60
|
+
Same changes as in `@mui/x-charts-pro@8.28.2`.
|
|
61
|
+
|
|
62
|
+
### Tree View
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-tree-view@8.28.3`
|
|
65
|
+
|
|
66
|
+
- [tree view] Move `lazyLoadedItems` initialization to state initializer (#22087) @michelengelen
|
|
67
|
+
|
|
68
|
+
#### `@mui/x-tree-view-pro@8.28.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
69
|
+
|
|
70
|
+
Same changes as in `@mui/x-tree-view@8.28.3`, plus:
|
|
9
71
|
|
|
10
|
-
|
|
72
|
+
- [RichTreeViewPro] Allow to auto-expand lazy loaded items (#21957) @flaviendelangle
|
|
73
|
+
|
|
74
|
+
### Docs
|
|
75
|
+
|
|
76
|
+
- [docs] Fix `TreeDataFullExample` data grid demo crash (#22007) @sai6855
|
|
77
|
+
|
|
78
|
+
### Miscellaneous
|
|
79
|
+
|
|
80
|
+
- [core] Post v9 stable updates (#22035) @LukasTy
|
|
81
|
+
|
|
82
|
+
## 8.28.2
|
|
83
|
+
|
|
84
|
+
_Apr 1, 2026_
|
|
85
|
+
|
|
86
|
+
We'd like to extend a big thank you to the 4 contributors who made this release possible.
|
|
87
|
+
|
|
88
|
+
Special thanks go out to this community member for their valuable contribution:
|
|
89
|
+
@mixelburg, @sibananda485
|
|
90
|
+
|
|
91
|
+
The following team members contributed to this release:
|
|
92
|
+
@dav-is, @JCQuintas
|
|
93
|
+
|
|
94
|
+
### Data Grid
|
|
95
|
+
|
|
96
|
+
#### `@mui/x-data-grid@8.28.2`
|
|
97
|
+
|
|
98
|
+
- [DataGrid] Export `GridColumnUnsortedIconProps` for custom column icon slots (#21898) @mixelburg
|
|
99
|
+
|
|
100
|
+
#### `@mui/x-data-grid-pro@8.28.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
101
|
+
|
|
102
|
+
Same changes as in `@mui/x-data-grid@8.28.2`.
|
|
103
|
+
|
|
104
|
+
#### `@mui/x-data-grid-premium@8.28.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
105
|
+
|
|
106
|
+
Same changes as in `@mui/x-data-grid-pro@8.28.2`, plus:
|
|
107
|
+
|
|
108
|
+
- [DataGridPremium] Fix clipboard paste issue in portal (#21949) @sibananda485
|
|
109
|
+
|
|
110
|
+
### Charts
|
|
111
|
+
|
|
112
|
+
#### `@mui/x-charts@8.28.2`
|
|
113
|
+
|
|
114
|
+
- [charts] Fix zoom slider preview with discard filter mode (#21906) @JCQuintas
|
|
115
|
+
|
|
116
|
+
#### `@mui/x-charts-pro@8.28.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
117
|
+
|
|
118
|
+
Same changes as in `@mui/x-charts@8.28.2`.
|
|
119
|
+
|
|
120
|
+
#### `@mui/x-charts-premium@8.28.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
121
|
+
|
|
122
|
+
Same changes as in `@mui/x-charts-pro@8.28.2`.
|
|
123
|
+
|
|
124
|
+
### Docs
|
|
125
|
+
|
|
126
|
+
- [docs] Fix JSDOM → jsdom casing (#21908) @JCQuintas
|
|
127
|
+
|
|
128
|
+
### Core
|
|
129
|
+
|
|
130
|
+
- [docs-infra] Set `SEARCH_INDEX` Env for v8 (#21875) @dav-is
|
|
131
|
+
|
|
132
|
+
## 8.28.1
|
|
11
133
|
|
|
12
134
|
_Mar 26, 2026_
|
|
13
135
|
|
|
@@ -40,9 +162,7 @@ Same changes as in `@mui/x-data-grid-pro@8.28.1`.
|
|
|
40
162
|
|
|
41
163
|
_Mar 19, 2026_
|
|
42
164
|
|
|
43
|
-
We'd like to extend a big thank you to the 5 contributors who made this release possible.
|
|
44
|
-
|
|
45
|
-
TODO INSERT HIGHLIGHTS
|
|
165
|
+
We'd like to extend a big thank you to the 5 contributors who made this release possible.
|
|
46
166
|
|
|
47
167
|
The following team members contributed to this release:
|
|
48
168
|
@alexfauquette, @brijeshb42, @Janpot, @JCQuintas, @sai6855
|
|
@@ -50,7 +50,7 @@ const configuration = {
|
|
|
50
50
|
useGridParamsOverridableMethods: _useGridParamsOverridableMethods.useGridParamsOverridableMethods
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
|
-
const releaseInfo = "
|
|
53
|
+
const releaseInfo = "MTc3NjIxMTIwMDAwMA==";
|
|
54
54
|
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
|
|
55
55
|
packageName: "x-data-grid-premium",
|
|
56
56
|
releaseInfo: releaseInfo
|
|
@@ -43,7 +43,7 @@ const configuration = {
|
|
|
43
43
|
useGridParamsOverridableMethods
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
const releaseInfo = "
|
|
46
|
+
const releaseInfo = "MTc3NjIxMTIwMDAwMA==";
|
|
47
47
|
const watermark = /*#__PURE__*/_jsx(Watermark, {
|
|
48
48
|
packageName: "x-data-grid-premium",
|
|
49
49
|
releaseInfo: releaseInfo
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { GRID_CHECKBOX_SELECTION_FIELD, gridFocusCellSelector, gridVisibleColumnFieldsSelector, useGridEventPriority, useGridEvent, gridPaginatedVisibleSortedGridRowIdsSelector, gridExpandedSortedRowIdsSelector, gridRowSelectionIdsSelector, gridRowSelectionCountSelector } from '@mui/x-data-grid';
|
|
4
|
-
import { getRowIdFromRowModel, getActiveElement, useGridRegisterPipeProcessor, getPublicApiRef, isPasteShortcut, useGridLogger } from '@mui/x-data-grid/internals';
|
|
4
|
+
import { getRowIdFromRowModel, getActiveElement, useGridRegisterPipeProcessor, getPublicApiRef, isPasteShortcut, useGridLogger, isEventTargetInPortal } from '@mui/x-data-grid/internals';
|
|
5
5
|
import { warnOnce } from '@mui/x-internals/warning';
|
|
6
6
|
import { GRID_DETAIL_PANEL_TOGGLE_FIELD, GRID_REORDER_COL_DEF } from '@mui/x-data-grid-pro';
|
|
7
7
|
import debounce from '@mui/utils/debounce';
|
|
@@ -279,6 +279,11 @@ export const useGridClipboardImport = (apiRef, props) => {
|
|
|
279
279
|
onBeforeClipboardPasteStart
|
|
280
280
|
} = props;
|
|
281
281
|
const handlePaste = React.useCallback(async (params, event) => {
|
|
282
|
+
// Ignore portal
|
|
283
|
+
// Do not apply shortcuts if the focus is not on the cell root component
|
|
284
|
+
if (isEventTargetInPortal(event)) {
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
282
287
|
if (!enableClipboardPaste) {
|
|
283
288
|
return;
|
|
284
289
|
}
|
|
@@ -91,7 +91,7 @@ export const useGridRowsOverridableMethods = (apiRef, props) => {
|
|
|
91
91
|
};
|
|
92
92
|
return rowGroupingReorderExecutor.execute(executionContext);
|
|
93
93
|
}, [apiRef, processRowUpdate, onProcessRowUpdateError]);
|
|
94
|
-
if (flatTree) {
|
|
94
|
+
if (flatTree && !props.treeData) {
|
|
95
95
|
return {
|
|
96
96
|
setRowIndex: setRowIndexPlain,
|
|
97
97
|
setRowPosition: setRowPositionPlain
|
package/esm/index.js
CHANGED
|
@@ -287,6 +287,11 @@ const useGridClipboardImport = (apiRef, props) => {
|
|
|
287
287
|
onBeforeClipboardPasteStart
|
|
288
288
|
} = props;
|
|
289
289
|
const handlePaste = React.useCallback(async (params, event) => {
|
|
290
|
+
// Ignore portal
|
|
291
|
+
// Do not apply shortcuts if the focus is not on the cell root component
|
|
292
|
+
if ((0, _internals.isEventTargetInPortal)(event)) {
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
290
295
|
if (!enableClipboardPaste) {
|
|
291
296
|
return;
|
|
292
297
|
}
|
|
@@ -98,7 +98,7 @@ const useGridRowsOverridableMethods = (apiRef, props) => {
|
|
|
98
98
|
};
|
|
99
99
|
return _rowGroupingReorderExecutor.rowGroupingReorderExecutor.execute(executionContext);
|
|
100
100
|
}, [apiRef, processRowUpdate, onProcessRowUpdateError]);
|
|
101
|
-
if (flatTree) {
|
|
101
|
+
if (flatTree && !props.treeData) {
|
|
102
102
|
return {
|
|
103
103
|
setRowIndex: setRowIndexPlain,
|
|
104
104
|
setRowPosition: setRowPositionPlain
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "8.28.
|
|
3
|
+
"version": "8.28.3",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Premium plan edition of the MUI X Data Grid Components.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@mui/x-internal-exceljs-fork": "4.4.3",
|
|
39
39
|
"clsx": "^2.1.1",
|
|
40
40
|
"prop-types": "^15.8.1",
|
|
41
|
-
"@mui/x-data-grid": "8.28.
|
|
41
|
+
"@mui/x-data-grid": "8.28.2",
|
|
42
|
+
"@mui/x-data-grid-pro": "8.28.3",
|
|
42
43
|
"@mui/x-internals": "8.26.0",
|
|
43
|
-
"@mui/x-license": "8.26.0"
|
|
44
|
-
"@mui/x-data-grid-pro": "8.28.1"
|
|
44
|
+
"@mui/x-license": "8.26.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@emotion/react": "^11.9.0",
|