@mui/x-data-grid-premium 8.28.0 → 8.28.2
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 +80 -3
- package/DataGridPremium/DataGridPremium.js +1 -1
- package/esm/DataGridPremium/DataGridPremium.js +1 -1
- package/esm/hooks/features/clipboard/useGridClipboardImport.js +6 -1
- package/esm/index.js +1 -1
- package/hooks/features/clipboard/useGridClipboardImport.js +5 -0
- package/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,13 +5,90 @@
|
|
|
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.2
|
|
9
|
+
|
|
10
|
+
_Apr 1, 2026_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 4 contributors who made this release possible.
|
|
13
|
+
|
|
14
|
+
Special thanks go out to this community member for their valuable contribution:
|
|
15
|
+
@mixelburg, @sibananda485
|
|
16
|
+
|
|
17
|
+
The following team members contributed to this release:
|
|
18
|
+
@dav-is, @JCQuintas
|
|
19
|
+
|
|
20
|
+
### Data Grid
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid@8.28.2`
|
|
23
|
+
|
|
24
|
+
- [DataGrid] Export `GridColumnUnsortedIconProps` for custom column icon slots (#21898) @mixelburg
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@8.28.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@8.28.2`.
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@8.28.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@8.28.2`, plus:
|
|
33
|
+
|
|
34
|
+
- [DataGridPremium] Fix clipboard paste issue in portal (#21949) @sibananda485
|
|
35
|
+
|
|
36
|
+
### Charts
|
|
37
|
+
|
|
38
|
+
#### `@mui/x-charts@8.28.2`
|
|
39
|
+
|
|
40
|
+
- [charts] Fix zoom slider preview with discard filter mode (#21906) @JCQuintas
|
|
41
|
+
|
|
42
|
+
#### `@mui/x-charts-pro@8.28.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
43
|
+
|
|
44
|
+
Same changes as in `@mui/x-charts@8.28.2`.
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts-premium@8.28.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
47
|
+
|
|
48
|
+
Same changes as in `@mui/x-charts-pro@8.28.2`.
|
|
49
|
+
|
|
50
|
+
### Docs
|
|
51
|
+
|
|
52
|
+
- [docs] Fix JSDOM → jsdom casing (#21908) @JCQuintas
|
|
53
|
+
|
|
54
|
+
### Core
|
|
55
|
+
|
|
56
|
+
- [docs-infra] Set `SEARCH_INDEX` Env for v8 (#21875) @dav-is
|
|
57
|
+
|
|
58
|
+
## 8.28.1
|
|
59
|
+
|
|
60
|
+
_Mar 26, 2026_
|
|
61
|
+
|
|
62
|
+
We'd like to extend a big thank you to the 2 contributors who made this release possible.
|
|
63
|
+
|
|
64
|
+
The following team members contributed to this release:
|
|
65
|
+
@arminmeh, @cherniavskii
|
|
66
|
+
|
|
67
|
+
### Data Grid
|
|
68
|
+
|
|
69
|
+
#### `@mui/x-data-grid@8.28.1`
|
|
70
|
+
|
|
71
|
+
- [DataGrid] Prevent repeated `hasScrollbar` state updates (#21847) @arminmeh
|
|
72
|
+
|
|
73
|
+
#### `@mui/x-data-grid-pro@8.28.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
74
|
+
|
|
75
|
+
Same changes as in `@mui/x-data-grid@8.28.1`, plus:
|
|
76
|
+
|
|
77
|
+
- [DataGridPro] `fetchRows()` API's default `start` and `end` params based on scroll position with lazy loading (#21811) @arminmeh
|
|
78
|
+
|
|
79
|
+
#### `@mui/x-data-grid-premium@8.28.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
80
|
+
|
|
81
|
+
Same changes as in `@mui/x-data-grid-pro@8.28.1`.
|
|
82
|
+
|
|
83
|
+
### Core
|
|
84
|
+
|
|
85
|
+
- [internal] Remove headless data grid packages (#21848) @cherniavskii
|
|
86
|
+
|
|
8
87
|
## 8.28.0
|
|
9
88
|
|
|
10
89
|
_Mar 19, 2026_
|
|
11
90
|
|
|
12
|
-
We'd like to extend a big thank you to the 5 contributors who made this release possible.
|
|
13
|
-
|
|
14
|
-
TODO INSERT HIGHLIGHTS
|
|
91
|
+
We'd like to extend a big thank you to the 5 contributors who made this release possible.
|
|
15
92
|
|
|
16
93
|
The following team members contributed to this release:
|
|
17
94
|
@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 = "MTc3NTAwMTYwMDAwMA==";
|
|
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 = "MTc3NTAwMTYwMDAwMA==";
|
|
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
|
}
|
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
|
}
|
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.2",
|
|
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,9 +38,9 @@
|
|
|
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.
|
|
42
|
-
"@mui/x-data-grid-pro": "8.28.0",
|
|
41
|
+
"@mui/x-data-grid": "8.28.2",
|
|
43
42
|
"@mui/x-internals": "8.26.0",
|
|
43
|
+
"@mui/x-data-grid-pro": "8.28.2",
|
|
44
44
|
"@mui/x-license": "8.26.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|