@mui/x-data-grid-premium 6.19.2 β 6.19.4
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 +105 -0
- package/hooks/features/cellSelection/useGridCellSelection.js +4 -1
- package/index.js +1 -1
- package/legacy/hooks/features/cellSelection/useGridCellSelection.js +4 -1
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/hooks/features/cellSelection/useGridCellSelection.js +4 -1
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/hooks/features/cellSelection/useGridCellSelection.js +3 -0
- 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,6 +3,111 @@
|
|
|
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
|
+
## v6.19.4
|
|
7
|
+
|
|
8
|
+
_Feb 9, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights β¨:
|
|
11
|
+
|
|
12
|
+
- π Improve Danish (da-DK) locale on the Data Grid (#11972) @ShahrazH
|
|
13
|
+
- π Bugfixes
|
|
14
|
+
- π Documentation improvements
|
|
15
|
+
|
|
16
|
+
### Data Grid
|
|
17
|
+
|
|
18
|
+
#### `@mui/x-data-grid@v6.19.4`
|
|
19
|
+
|
|
20
|
+
- [DataGrid] Add support for dialogs in menu actions (#11937) @cherniavskii
|
|
21
|
+
- [DataGrid] Allow passing readonly arrays to `pageSizeOptions` prop (#11992) @pcorpet
|
|
22
|
+
- [DataGrid] Fix row reorder with cell selection (#11878) @PEsteves8
|
|
23
|
+
- [DataGrid] Replace `eval` with `new Function` (#11962) @cherniavskii
|
|
24
|
+
- [l10n] Improve Danish (da-DK) locale (#11972) @ShahrazH
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@v6.19.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@v6.19.4`.
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@v6.19.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@v6.19.4`, plus:
|
|
33
|
+
|
|
34
|
+
- [DataGridPremium] Fix autosize grouping cell (#11990) @romgrk
|
|
35
|
+
- [DataGridPremium] Fix error after closing print export (#11889) @cherniavskii
|
|
36
|
+
|
|
37
|
+
### Date Pickers
|
|
38
|
+
|
|
39
|
+
#### `@mui/x-date-pickers@v6.19.4`
|
|
40
|
+
|
|
41
|
+
- [pickers] Avoid relying on locale in Luxon `isWithinRange` method (#11940) @LukasTy
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-date-pickers-pro@v6.19.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
44
|
+
|
|
45
|
+
Same changes as in `@mui/x-date-pickers@v6.19.4`.
|
|
46
|
+
|
|
47
|
+
### Charts / `@mui/x-charts@v6.19.4`
|
|
48
|
+
|
|
49
|
+
- [charts] Add `reverse` property to axes (#11959) @alexfauquette
|
|
50
|
+
- [charts] Allow series ids to be numbers (#11960) @alexfauquette
|
|
51
|
+
- [charts] Fix Proptypes error by supporting string values for axes (#11953) @alexfauquette
|
|
52
|
+
|
|
53
|
+
### Docs
|
|
54
|
+
|
|
55
|
+
- [docs] Add a note about `AdapterDateFnsV3` on the Getting Started page (#11987) @flaviendelangle
|
|
56
|
+
- [docs] Avoid the use of MUIΒ Core @oliviertassinari
|
|
57
|
+
- [docs] Fix API links (#11930) @alexfauquette
|
|
58
|
+
- [docs] Fix `ChartsTooltip` typo (#11967) @thisisharsh7
|
|
59
|
+
- [docs] Refactor `Localization` documentation sections (#11997) @LukasTy
|
|
60
|
+
- [code] Simplify bug reproduction (#11932) @alexfauquette
|
|
61
|
+
|
|
62
|
+
## 6.19.3
|
|
63
|
+
|
|
64
|
+
_Feb 1, 2024_
|
|
65
|
+
|
|
66
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights β¨:
|
|
67
|
+
|
|
68
|
+
- π Improve Hebrew (he-IL) locale (#11831) @danielmishan85
|
|
69
|
+
- π Bugfixes
|
|
70
|
+
- π Documentation improvements
|
|
71
|
+
|
|
72
|
+
### Data Grid
|
|
73
|
+
|
|
74
|
+
#### `@mui/x-data-grid@6.19.3`
|
|
75
|
+
|
|
76
|
+
- [l10n] Improve Hebrew (he-IL) locale (@danielmishan85) (#11831)
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-data-grid-pro@6.19.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
79
|
+
|
|
80
|
+
Same changes as in `@mui/x-data-grid@6.19.3`.
|
|
81
|
+
|
|
82
|
+
#### `@mui/x-data-grid-premium@6.19.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
83
|
+
|
|
84
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.3`.
|
|
85
|
+
|
|
86
|
+
### Date Pickers
|
|
87
|
+
|
|
88
|
+
#### `@mui/x-date-pickers@6.19.3`
|
|
89
|
+
|
|
90
|
+
- [TimePicker] Add missing toolbar classes descriptions (#11862) @LukasTy
|
|
91
|
+
|
|
92
|
+
#### `@mui/x-date-pickers-pro@6.19.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
93
|
+
|
|
94
|
+
Same changes as in `@mui/x-date-pickers@6.19.3`.
|
|
95
|
+
|
|
96
|
+
### Charts / `@mui/x-charts@6.19.3`
|
|
97
|
+
|
|
98
|
+
- [charts] Document how to modify color according to values (#11854) @alexfauquette
|
|
99
|
+
|
|
100
|
+
### Docs
|
|
101
|
+
|
|
102
|
+
- [docs] Add a general uplift to the whats new page (#11883) @danilo-leal
|
|
103
|
+
- [docs] Fix 404 (#11852) @alexfauquette
|
|
104
|
+
- [docs] Fix <title> generation (#11825) @alexfauquette
|
|
105
|
+
- [docs] Fix docs:api when typo in slots typing (#11861) @alexfauquette
|
|
106
|
+
- [docs] Improve Support page (#11556) @oliviertassinari
|
|
107
|
+
- [docs] Sync support page with core @oliviertassinari
|
|
108
|
+
- [docs] These API don't exist in MUI X v6 @oliviertassinari
|
|
109
|
+
- [docs] Update whats new page with v7 Beta blogpost content (#11886) @joserodolfofreitas
|
|
110
|
+
|
|
6
111
|
## 6.19.2
|
|
7
112
|
|
|
8
113
|
_Jan 25, 2024_
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ownerDocument, useEventCallback } from '@mui/material/utils';
|
|
4
4
|
import { isNavigationKey, serializeCellValue, useGridRegisterPipeProcessor, useGridVisibleRows } from '@mui/x-data-grid-pro/internals';
|
|
5
|
-
import { useGridApiEventHandler, useGridApiMethod, GRID_ACTIONS_COLUMN_TYPE, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, gridRowsDataRowIdToIdLookupSelector, gridClasses, gridFocusCellSelector } from '@mui/x-data-grid-pro';
|
|
5
|
+
import { useGridApiEventHandler, useGridApiMethod, GRID_ACTIONS_COLUMN_TYPE, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, gridRowsDataRowIdToIdLookupSelector, gridClasses, gridFocusCellSelector, GRID_REORDER_COL_DEF } from '@mui/x-data-grid-pro';
|
|
6
6
|
import { gridCellSelectionStateSelector } from './gridCellSelectionSelector';
|
|
7
7
|
export const cellSelectionStateInitializer = (state, props) => {
|
|
8
8
|
var _props$unstable_cellS, _props$initialState;
|
|
@@ -134,6 +134,9 @@ export const useGridCellSelection = (apiRef, props) => {
|
|
|
134
134
|
if (event.button !== 0 || event.ctrlKey && isMacOs) {
|
|
135
135
|
return;
|
|
136
136
|
}
|
|
137
|
+
if (params.field === GRID_REORDER_COL_DEF.field) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
137
140
|
const focusedCell = gridFocusCellSelector(apiRef);
|
|
138
141
|
if (hasClickedValidCellForRangeSelection(params) && event.shiftKey && focusedCell) {
|
|
139
142
|
event.preventDefault();
|
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ownerDocument, useEventCallback } from '@mui/material/utils';
|
|
8
8
|
import { isNavigationKey, serializeCellValue, useGridRegisterPipeProcessor, useGridVisibleRows } from '@mui/x-data-grid-pro/internals';
|
|
9
|
-
import { useGridApiEventHandler, useGridApiMethod, GRID_ACTIONS_COLUMN_TYPE, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, gridRowsDataRowIdToIdLookupSelector, gridClasses, gridFocusCellSelector } from '@mui/x-data-grid-pro';
|
|
9
|
+
import { useGridApiEventHandler, useGridApiMethod, GRID_ACTIONS_COLUMN_TYPE, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, gridRowsDataRowIdToIdLookupSelector, gridClasses, gridFocusCellSelector, GRID_REORDER_COL_DEF } from '@mui/x-data-grid-pro';
|
|
10
10
|
import { gridCellSelectionStateSelector } from './gridCellSelectionSelector';
|
|
11
11
|
export var cellSelectionStateInitializer = function cellSelectionStateInitializer(state, props) {
|
|
12
12
|
var _props$unstable_cellS, _props$initialState;
|
|
@@ -151,6 +151,9 @@ export var useGridCellSelection = function useGridCellSelection(apiRef, props) {
|
|
|
151
151
|
if (event.button !== 0 || event.ctrlKey && isMacOs) {
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
|
+
if (params.field === GRID_REORDER_COL_DEF.field) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
154
157
|
var focusedCell = gridFocusCellSelector(apiRef);
|
|
155
158
|
if (hasClickedValidCellForRangeSelection(params) && event.shiftKey && focusedCell) {
|
|
156
159
|
event.preventDefault();
|
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 = "MTcwNzQyOTYwMDAwMA==";
|
|
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
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ownerDocument, useEventCallback } from '@mui/material/utils';
|
|
4
4
|
import { isNavigationKey, serializeCellValue, useGridRegisterPipeProcessor, useGridVisibleRows } from '@mui/x-data-grid-pro/internals';
|
|
5
|
-
import { useGridApiEventHandler, useGridApiMethod, GRID_ACTIONS_COLUMN_TYPE, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, gridRowsDataRowIdToIdLookupSelector, gridClasses, gridFocusCellSelector } from '@mui/x-data-grid-pro';
|
|
5
|
+
import { useGridApiEventHandler, useGridApiMethod, GRID_ACTIONS_COLUMN_TYPE, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, gridRowsDataRowIdToIdLookupSelector, gridClasses, gridFocusCellSelector, GRID_REORDER_COL_DEF } from '@mui/x-data-grid-pro';
|
|
6
6
|
import { gridCellSelectionStateSelector } from './gridCellSelectionSelector';
|
|
7
7
|
export const cellSelectionStateInitializer = (state, props) => _extends({}, state, {
|
|
8
8
|
cellSelection: _extends({}, props.unstable_cellSelectionModel ?? props.initialState?.cellSelection)
|
|
@@ -129,6 +129,9 @@ export const useGridCellSelection = (apiRef, props) => {
|
|
|
129
129
|
if (event.button !== 0 || event.ctrlKey && isMacOs) {
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
|
+
if (params.field === GRID_REORDER_COL_DEF.field) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
132
135
|
const focusedCell = gridFocusCellSelector(apiRef);
|
|
133
136
|
if (hasClickedValidCellForRangeSelection(params) && event.shiftKey && focusedCell) {
|
|
134
137
|
event.preventDefault();
|
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 = "MTcwNzQyOTYwMDAwMA==";
|
|
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
|
|
@@ -139,6 +139,9 @@ const useGridCellSelection = (apiRef, props) => {
|
|
|
139
139
|
if (event.button !== 0 || event.ctrlKey && isMacOs) {
|
|
140
140
|
return;
|
|
141
141
|
}
|
|
142
|
+
if (params.field === _xDataGridPro.GRID_REORDER_COL_DEF.field) {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
142
145
|
const focusedCell = (0, _xDataGridPro.gridFocusCellSelector)(apiRef);
|
|
143
146
|
if (hasClickedValidCellForRangeSelection(params) && event.shiftKey && focusedCell) {
|
|
144
147
|
event.preventDefault();
|
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 = "MTcwNzQyOTYwMDAwMA==";
|
|
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.19.
|
|
3
|
+
"version": "6.19.4",
|
|
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.19.
|
|
37
|
-
"@mui/x-data-grid-pro": "6.19.
|
|
36
|
+
"@mui/x-data-grid": "6.19.4",
|
|
37
|
+
"@mui/x-data-grid-pro": "6.19.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 = "MTcwNzQyOTYwMDAwMA==";
|
|
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
|