@mui/x-data-grid-premium 5.17.13 → 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 +17 -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/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
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
|
+
|
|
6
23
|
## 5.17.13
|
|
7
24
|
|
|
8
25
|
_Nov 24, 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",
|
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).
|