@mui/x-data-grid-premium 5.17.12 → 5.17.14
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 +54 -0
- package/hooks/features/aggregation/useGridAggregation.js +1 -0
- package/hooks/features/aggregation/useGridAggregationPreProcessors.js +0 -1
- package/index.js +1 -1
- package/legacy/hooks/features/aggregation/useGridAggregation.js +1 -0
- package/legacy/hooks/features/aggregation/useGridAggregationPreProcessors.js +0 -1
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/hooks/features/aggregation/useGridAggregation.js +1 -0
- package/modern/hooks/features/aggregation/useGridAggregationPreProcessors.js +0 -1
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/hooks/features/aggregation/useGridAggregation.js +1 -0
- package/node/hooks/features/aggregation/useGridAggregationPreProcessors.js +0 -1
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +3 -3
- package/themeAugmentation/props.d.ts +3 -5
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,60 @@
|
|
|
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
|
+
## 5.17.14
|
|
7
|
+
|
|
8
|
+
_Dec 1, 2022_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Improve Ukrainian (uk-UA) locale (#7035) @rettoua
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
|
|
15
|
+
### `@mui/x-data-grid@v5.17.14` / `@mui/x-data-grid-pro@v5.17.14` / `@mui/x-data-grid-premium@v5.17.14`
|
|
16
|
+
|
|
17
|
+
#### Changes
|
|
18
|
+
|
|
19
|
+
- [DataGrid] Fix row selection when clicking blank cell (#7056) @yami03
|
|
20
|
+
- [DataGridPremium] Update cache before hydrating columns (#7043) @m4theushw
|
|
21
|
+
- [l10n] Improve Ukrainian (uk-UA) locale (#7035) @rettoua
|
|
22
|
+
|
|
23
|
+
## 5.17.13
|
|
24
|
+
|
|
25
|
+
_Nov 24, 2022_
|
|
26
|
+
|
|
27
|
+
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
28
|
+
|
|
29
|
+
- 🚀 Fix support of the pickers to Shadow DOM (#6971) @flaviendelangle
|
|
30
|
+
- 💅 Improve DataGrid theme augmentation (#6980) @iigrik
|
|
31
|
+
- 🐞 Bugfixes
|
|
32
|
+
|
|
33
|
+
### `@mui/x-data-grid@v5.17.13` / `@mui/x-data-grid-pro@v5.17.13` / `@mui/x-data-grid-premium@v5.17.13`
|
|
34
|
+
|
|
35
|
+
#### Changes
|
|
36
|
+
|
|
37
|
+
- [DataGrid] Fix `ErrorOverlay` not receiving defined input props (#6885) @banoth-ravinder
|
|
38
|
+
- [DataGrid] Improve typing for `styleOverrides` (#6980) @iigrik
|
|
39
|
+
- [DataGridPro] Fix lazy-loaded rows not working with `updateRows` API method (#6875) @cherniavskii
|
|
40
|
+
- [l10n] Fix translation of `filterOperatorBefore` in Arabic (ar-SD) locale (#6917) @HassanGhazy
|
|
41
|
+
|
|
42
|
+
### `@mui/x-date-pickers@v5.0.9` / `@mui/x-date-pickers-pro@v5.0.9`
|
|
43
|
+
|
|
44
|
+
#### Changes
|
|
45
|
+
|
|
46
|
+
- [pickers] Fix usage with Shadow DOM (#6971) @flaviendelangle
|
|
47
|
+
|
|
48
|
+
### Docs
|
|
49
|
+
|
|
50
|
+
- [docs] Add new "Expired package version" error type (#6937) @oliviertassinari
|
|
51
|
+
- [docs] Enforce values for installation options in Date / Time pickers Getting Started page (#6896) @01zulfi
|
|
52
|
+
- [docs] Fix live edit @oliviertassinari
|
|
53
|
+
- [docs] Upgrade to Next 13 (#6911) @cherniavskii
|
|
54
|
+
|
|
55
|
+
### Core
|
|
56
|
+
|
|
57
|
+
- [core] Upgrade monorepo (#6906) @cherniavskii
|
|
58
|
+
- [core] Upgrade node to v14.21 (#6939) @piwysocki
|
|
59
|
+
|
|
6
60
|
## 5.17.12
|
|
7
61
|
|
|
8
62
|
_Nov 17, 2022_
|
|
@@ -76,6 +76,7 @@ export const useGridAggregation = (apiRef, props) => {
|
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
if (!areAggregationRulesEqual(rulesOnLastColumnHydration, aggregationRules)) {
|
|
79
|
+
apiRef.current.unstable_caches.aggregation.rulesOnLastColumnHydration = aggregationRules;
|
|
79
80
|
apiRef.current.unstable_requestPipeProcessorsApplication('hydrateColumns');
|
|
80
81
|
}
|
|
81
82
|
}, [apiRef, applyAggregation, props.aggregationFunctions, props.disableAggregation]);
|
|
@@ -44,7 +44,6 @@ export const useGridAggregationPreProcessors = (apiRef, props) => {
|
|
|
44
44
|
|
|
45
45
|
columnsState.lookup[field] = column;
|
|
46
46
|
});
|
|
47
|
-
apiRef.current.unstable_caches.aggregation.rulesOnLastColumnHydration = aggregationRules;
|
|
48
47
|
return columnsState;
|
|
49
48
|
}, [apiRef, props.aggregationFunctions, props.disableAggregation]);
|
|
50
49
|
const addGroupFooterRows = React.useCallback(groupingParams => {
|
package/index.js
CHANGED
|
@@ -77,6 +77,7 @@ export var useGridAggregation = function useGridAggregation(apiRef, props) {
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
if (!areAggregationRulesEqual(rulesOnLastColumnHydration, aggregationRules)) {
|
|
80
|
+
apiRef.current.unstable_caches.aggregation.rulesOnLastColumnHydration = aggregationRules;
|
|
80
81
|
apiRef.current.unstable_requestPipeProcessorsApplication('hydrateColumns');
|
|
81
82
|
}
|
|
82
83
|
}, [apiRef, applyAggregation, props.aggregationFunctions, props.disableAggregation]);
|
|
@@ -47,7 +47,6 @@ export var useGridAggregationPreProcessors = function useGridAggregationPreProce
|
|
|
47
47
|
|
|
48
48
|
columnsState.lookup[field] = column;
|
|
49
49
|
});
|
|
50
|
-
apiRef.current.unstable_caches.aggregation.rulesOnLastColumnHydration = aggregationRules;
|
|
51
50
|
return columnsState;
|
|
52
51
|
}, [apiRef, props.aggregationFunctions, props.disableAggregation]);
|
|
53
52
|
var addGroupFooterRows = React.useCallback(function (groupingParams) {
|
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 = "MTY2OTg0OTIwMDAwMA==";
|
|
4
4
|
|
|
5
5
|
if (process.env.NODE_ENV !== 'production') {
|
|
6
6
|
// A simple hack to set the value in the test environment (has no build step).
|
|
@@ -74,6 +74,7 @@ export const useGridAggregation = (apiRef, props) => {
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
if (!areAggregationRulesEqual(rulesOnLastColumnHydration, aggregationRules)) {
|
|
77
|
+
apiRef.current.unstable_caches.aggregation.rulesOnLastColumnHydration = aggregationRules;
|
|
77
78
|
apiRef.current.unstable_requestPipeProcessorsApplication('hydrateColumns');
|
|
78
79
|
}
|
|
79
80
|
}, [apiRef, applyAggregation, props.aggregationFunctions, props.disableAggregation]);
|
|
@@ -44,7 +44,6 @@ export const useGridAggregationPreProcessors = (apiRef, props) => {
|
|
|
44
44
|
|
|
45
45
|
columnsState.lookup[field] = column;
|
|
46
46
|
});
|
|
47
|
-
apiRef.current.unstable_caches.aggregation.rulesOnLastColumnHydration = aggregationRules;
|
|
48
47
|
return columnsState;
|
|
49
48
|
}, [apiRef, props.aggregationFunctions, props.disableAggregation]);
|
|
50
49
|
const addGroupFooterRows = React.useCallback(groupingParams => {
|
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 = "MTY2OTg0OTIwMDAwMA==";
|
|
4
4
|
|
|
5
5
|
if (process.env.NODE_ENV !== 'production') {
|
|
6
6
|
// A simple hack to set the value in the test environment (has no build step).
|
|
@@ -98,6 +98,7 @@ const useGridAggregation = (apiRef, props) => {
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
if (!(0, _gridAggregationUtils.areAggregationRulesEqual)(rulesOnLastColumnHydration, aggregationRules)) {
|
|
101
|
+
apiRef.current.unstable_caches.aggregation.rulesOnLastColumnHydration = aggregationRules;
|
|
101
102
|
apiRef.current.unstable_requestPipeProcessorsApplication('hydrateColumns');
|
|
102
103
|
}
|
|
103
104
|
}, [apiRef, applyAggregation, props.aggregationFunctions, props.disableAggregation]);
|
|
@@ -66,7 +66,6 @@ const useGridAggregationPreProcessors = (apiRef, props) => {
|
|
|
66
66
|
|
|
67
67
|
columnsState.lookup[field] = column;
|
|
68
68
|
});
|
|
69
|
-
apiRef.current.unstable_caches.aggregation.rulesOnLastColumnHydration = aggregationRules;
|
|
70
69
|
return columnsState;
|
|
71
70
|
}, [apiRef, props.aggregationFunctions, props.disableAggregation]);
|
|
72
71
|
const addGroupFooterRows = React.useCallback(groupingParams => {
|
package/node/index.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.getReleaseInfo = void 0;
|
|
|
8
8
|
var _utils = require("@mui/utils");
|
|
9
9
|
|
|
10
10
|
const getReleaseInfo = () => {
|
|
11
|
-
const releaseInfo = "
|
|
11
|
+
const releaseInfo = "MTY2OTg0OTIwMDAwMA==";
|
|
12
12
|
|
|
13
13
|
if (process.env.NODE_ENV !== 'production') {
|
|
14
14
|
// A simple hack to set the value in the test environment (has no build step).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "5.17.
|
|
3
|
+
"version": "5.17.14",
|
|
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.18.9",
|
|
35
35
|
"@mui/utils": "^5.10.3",
|
|
36
|
-
"@mui/x-data-grid": "5.17.
|
|
37
|
-
"@mui/x-data-grid-pro": "5.17.
|
|
36
|
+
"@mui/x-data-grid": "5.17.14",
|
|
37
|
+
"@mui/x-data-grid-pro": "5.17.14",
|
|
38
38
|
"@mui/x-license-pro": "5.17.12",
|
|
39
39
|
"@types/format-util": "^1.0.2",
|
|
40
40
|
"clsx": "^1.2.1",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentsOverrides, ComponentsProps
|
|
1
|
+
import { ComponentsOverrides, ComponentsProps } from '@mui/material/styles';
|
|
2
2
|
import { DataGridPremiumProps } from '../models/dataGridPremiumProps';
|
|
3
3
|
export interface DataGridPremiumComponentsPropsList {
|
|
4
4
|
MuiDataGrid: DataGridPremiumProps;
|
|
5
5
|
}
|
|
6
|
-
export interface DataGridPremiumComponents {
|
|
6
|
+
export interface DataGridPremiumComponents<Theme = unknown> {
|
|
7
7
|
MuiDataGrid?: {
|
|
8
8
|
defaultProps?: ComponentsProps['MuiDataGrid'];
|
|
9
9
|
styleOverrides?: ComponentsOverrides<Theme>['MuiDataGrid'];
|
|
@@ -12,8 +12,6 @@ export interface DataGridPremiumComponents {
|
|
|
12
12
|
declare module '@mui/material/styles' {
|
|
13
13
|
interface ComponentsPropsList extends DataGridPremiumComponentsPropsList {
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
declare module '@mui/material/styles/components' {
|
|
17
|
-
interface Components extends DataGridPremiumComponents {
|
|
15
|
+
interface Components<Theme = unknown> extends DataGridPremiumComponents<Theme> {
|
|
18
16
|
}
|
|
19
17
|
}
|
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 = "MTY2OTg0OTIwMDAwMA==";
|
|
4
4
|
|
|
5
5
|
if (process.env.NODE_ENV !== 'production') {
|
|
6
6
|
// A simple hack to set the value in the test environment (has no build step).
|