@mui/x-data-grid-premium 6.20.3 → 6.20.5
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 +47 -1
- package/hooks/features/cellSelection/useGridCellSelection.js +1 -1
- package/index.js +1 -1
- package/legacy/hooks/features/cellSelection/useGridCellSelection.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/hooks/features/cellSelection/useGridCellSelection.js +1 -1
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/hooks/features/cellSelection/useGridCellSelection.js +1 -1
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +3 -3
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,53 @@
|
|
|
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
|
-
##
|
|
6
|
+
## 6.20.5
|
|
7
|
+
|
|
8
|
+
_Sep 20, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🐞 Bugfixes
|
|
13
|
+
- 📚 Documentation improvements
|
|
14
|
+
|
|
15
|
+
### Data Grid
|
|
16
|
+
|
|
17
|
+
#### `@mui/x-data-grid-premium@6.20.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
18
|
+
|
|
19
|
+
- [DataGridPremium] Fix `onCellSelectionModelChange` not triggered when additional cell range is selected (#14650) @arminmeh
|
|
20
|
+
|
|
21
|
+
### Docs
|
|
22
|
+
|
|
23
|
+
- [docs] Fix "What's new in MUI X" link to use absolute URL @oliviertassinari
|
|
24
|
+
|
|
25
|
+
### Core
|
|
26
|
+
|
|
27
|
+
- [core] Fix `readme` deploy instruction @oliviertassinari
|
|
28
|
+
- [core] Sync with core release flow @oliviertassinari
|
|
29
|
+
|
|
30
|
+
## 6.20.4
|
|
31
|
+
|
|
32
|
+
_Jul 18, 2024_
|
|
33
|
+
|
|
34
|
+
We'd like to offer a big thanks to the 1 contributors who made this release possible. Here are some highlights ✨:
|
|
35
|
+
|
|
36
|
+
- 🐞 Bugfixes
|
|
37
|
+
|
|
38
|
+
### Data Grid
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid@6.20.4`
|
|
41
|
+
|
|
42
|
+
- [DataGrid] Enable flip on preferences panel (#13812) @romgrk
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-data-grid-pro@6.20.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
45
|
+
|
|
46
|
+
Same changes as in `@mui/x-data-grid@6.20.4`.
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-data-grid-premium@6.20.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
49
|
+
|
|
50
|
+
Same changes as in `@mui/x-data-grid-pro@6.20.4`.
|
|
51
|
+
|
|
52
|
+
## 6.20.3
|
|
7
53
|
|
|
8
54
|
_Jun 28, 2024_
|
|
9
55
|
|
|
@@ -77,7 +77,7 @@ export const useGridCellSelection = (apiRef, props) => {
|
|
|
77
77
|
const visibleColumns = apiRef.current.getVisibleColumns();
|
|
78
78
|
const rowsInRange = visibleRows.rows.slice(finalStartRowIndex, finalEndRowIndex + 1);
|
|
79
79
|
const columnsInRange = visibleColumns.slice(finalStartColumnIndex, finalEndColumnIndex + 1);
|
|
80
|
-
const newModel = keepOtherSelected ? apiRef.current.unstable_getCellSelectionModel() : {};
|
|
80
|
+
const newModel = keepOtherSelected ? _extends({}, apiRef.current.unstable_getCellSelectionModel()) : {};
|
|
81
81
|
rowsInRange.forEach(row => {
|
|
82
82
|
if (!newModel[row.id]) {
|
|
83
83
|
newModel[row.id] = {};
|
package/index.js
CHANGED
|
@@ -86,7 +86,7 @@ export var useGridCellSelection = function useGridCellSelection(apiRef, props) {
|
|
|
86
86
|
var visibleColumns = apiRef.current.getVisibleColumns();
|
|
87
87
|
var rowsInRange = visibleRows.rows.slice(finalStartRowIndex, finalEndRowIndex + 1);
|
|
88
88
|
var columnsInRange = visibleColumns.slice(finalStartColumnIndex, finalEndColumnIndex + 1);
|
|
89
|
-
var newModel = keepOtherSelected ? apiRef.current.unstable_getCellSelectionModel() : {};
|
|
89
|
+
var newModel = keepOtherSelected ? _extends({}, apiRef.current.unstable_getCellSelectionModel()) : {};
|
|
90
90
|
rowsInRange.forEach(function (row) {
|
|
91
91
|
if (!newModel[row.id]) {
|
|
92
92
|
newModel[row.id] = {};
|
package/legacy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export var getReleaseInfo = function getReleaseInfo() {
|
|
3
|
-
var releaseInfo = "
|
|
3
|
+
var releaseInfo = "MTcyNjc4NjgwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -74,7 +74,7 @@ export const useGridCellSelection = (apiRef, props) => {
|
|
|
74
74
|
const visibleColumns = apiRef.current.getVisibleColumns();
|
|
75
75
|
const rowsInRange = visibleRows.rows.slice(finalStartRowIndex, finalEndRowIndex + 1);
|
|
76
76
|
const columnsInRange = visibleColumns.slice(finalStartColumnIndex, finalEndColumnIndex + 1);
|
|
77
|
-
const newModel = keepOtherSelected ? apiRef.current.unstable_getCellSelectionModel() : {};
|
|
77
|
+
const newModel = keepOtherSelected ? _extends({}, apiRef.current.unstable_getCellSelectionModel()) : {};
|
|
78
78
|
rowsInRange.forEach(row => {
|
|
79
79
|
if (!newModel[row.id]) {
|
|
80
80
|
newModel[row.id] = {};
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcyNjc4NjgwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -84,7 +84,7 @@ const useGridCellSelection = (apiRef, props) => {
|
|
|
84
84
|
const visibleColumns = apiRef.current.getVisibleColumns();
|
|
85
85
|
const rowsInRange = visibleRows.rows.slice(finalStartRowIndex, finalEndRowIndex + 1);
|
|
86
86
|
const columnsInRange = visibleColumns.slice(finalStartColumnIndex, finalEndColumnIndex + 1);
|
|
87
|
-
const newModel = keepOtherSelected ? apiRef.current.unstable_getCellSelectionModel() : {};
|
|
87
|
+
const newModel = keepOtherSelected ? (0, _extends2.default)({}, apiRef.current.unstable_getCellSelectionModel()) : {};
|
|
88
88
|
rowsInRange.forEach(row => {
|
|
89
89
|
if (!newModel[row.id]) {
|
|
90
90
|
newModel[row.id] = {};
|
package/node/index.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getReleaseInfo = void 0;
|
|
7
7
|
var _utils = require("@mui/utils");
|
|
8
8
|
const getReleaseInfo = () => {
|
|
9
|
-
const releaseInfo = "
|
|
9
|
+
const releaseInfo = "MTcyNjc4NjgwMDAwMA==";
|
|
10
10
|
if (process.env.NODE_ENV !== 'production') {
|
|
11
11
|
// A simple hack to set the value in the test environment (has no build step).
|
|
12
12
|
// eslint-disable-next-line no-useless-concat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "6.20.
|
|
3
|
+
"version": "6.20.5",
|
|
4
4
|
"description": "The Premium plan edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.23.2",
|
|
35
35
|
"@mui/utils": "^5.14.16",
|
|
36
|
-
"@mui/x-data-grid": "6.20.
|
|
37
|
-
"@mui/x-data-grid-pro": "6.20.
|
|
36
|
+
"@mui/x-data-grid": "6.20.4",
|
|
37
|
+
"@mui/x-data-grid-pro": "6.20.4",
|
|
38
38
|
"@mui/x-license-pro": "6.10.2",
|
|
39
39
|
"@types/format-util": "^1.0.3",
|
|
40
40
|
"clsx": "^2.0.0",
|
package/utils/releaseInfo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcyNjc4NjgwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|