@mui/x-data-grid-pro 6.16.3 → 6.17.0
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 +66 -0
- package/DataGridPro/DataGridPro.js +7 -0
- package/hooks/features/treeData/gridTreeDataGroupColDef.js +1 -1
- package/index.js +1 -1
- package/legacy/DataGridPro/DataGridPro.js +7 -0
- package/legacy/hooks/features/treeData/gridTreeDataGroupColDef.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/DataGridPro/DataGridPro.js +7 -0
- package/modern/hooks/features/treeData/gridTreeDataGroupColDef.js +1 -1
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/DataGridPro/DataGridPro.js +7 -0
- package/node/hooks/features/treeData/gridTreeDataGroupColDef.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,6 +3,72 @@
|
|
|
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.17.0
|
|
7
|
+
|
|
8
|
+
_Oct 27, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎁 The Tree View package is now officially stable!
|
|
13
|
+
|
|
14
|
+

|
|
15
|
+
|
|
16
|
+
- ✨ Improve the handling of non-numeric values by Data Grid aggregation
|
|
17
|
+
- 🚀 Support lines with different domains on the line charts
|
|
18
|
+
- 🐞 Bugfixes
|
|
19
|
+
- 📚 Documentation improvements
|
|
20
|
+
|
|
21
|
+
### Data Grid
|
|
22
|
+
|
|
23
|
+
#### `@mui/x-data-grid@6.17.0`
|
|
24
|
+
|
|
25
|
+
- [DataGrid] Allow custom debounce time for row positions calculation (#10708) @cherniavskii
|
|
26
|
+
- [DataGrid] Persist stable row index for focused row (#10674) @cherniavskii
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid-pro@6.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
29
|
+
|
|
30
|
+
Same changes as in `@mui/x-data-grid@6.17.0`, plus:
|
|
31
|
+
|
|
32
|
+
- [DataGridPro] Fix `undefined` values passed to `valueFormatter` for tree leaf nodes (#10748) @cherniavskii
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-premium@6.17.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid-pro@6.17.0`, plus:
|
|
37
|
+
|
|
38
|
+
- [DataGridPremium] Fix `avg` aggregation to ignore non-numeric values (#10787) @cherniavskii
|
|
39
|
+
- [DataGridPremium] Fix `size` aggregation to ignore `undefined` values (#10745) @cherniavskii
|
|
40
|
+
- [DataGridPremium] Fix `sum` aggregation to ignore non-numeric values (#10730) @cherniavskii
|
|
41
|
+
- [DataGridPremium] Fix cell selection throwing index error on second page and beyond (#10784) @MBilalShafi
|
|
42
|
+
|
|
43
|
+
### Date Pickers
|
|
44
|
+
|
|
45
|
+
#### `@mui/x-date-pickers@6.17.0`
|
|
46
|
+
|
|
47
|
+
- [fields] POC: Use `contentEditable` on `FakeTextField` (#10779) @flaviendelangle
|
|
48
|
+
- [pickers] Fix weekday label localization (#10809) @LukasTy
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-date-pickers-pro@6.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-date-pickers@6.17.0`.
|
|
53
|
+
|
|
54
|
+
### Charts / `@mui/x-charts@6.0.0-alpha.17`
|
|
55
|
+
|
|
56
|
+
- [charts] Fix text position in Safari (#10815) @lhilgert9
|
|
57
|
+
- [charts] Support lines with different domains (#10801) @alexfauquette
|
|
58
|
+
|
|
59
|
+
### Tree View / `@mui/x-tree-view@6.17.0`
|
|
60
|
+
|
|
61
|
+
No change
|
|
62
|
+
|
|
63
|
+
### Docs
|
|
64
|
+
|
|
65
|
+
- [docs] Correct editing related props' description (#10798) @MBilalShafi
|
|
66
|
+
- [docs] Fix RTL data grid demo (#10728) @oliviertassinari
|
|
67
|
+
- [docs] Fix unclosed warning (#10796) @flaviendelangle
|
|
68
|
+
- [docs] Improve performance of `Save and restore the state from external storage` recipe (#10811) @michelengelen
|
|
69
|
+
|
|
70
|
+
- [test] Add missing type on `cleanText` utility function (#10780) @flaviendelangle
|
|
71
|
+
|
|
6
72
|
## 6.16.3
|
|
7
73
|
|
|
8
74
|
_Oct 20, 2023_
|
|
@@ -781,6 +781,13 @@ DataGridProRaw.propTypes = {
|
|
|
781
781
|
* Controls the modes of the rows.
|
|
782
782
|
*/
|
|
783
783
|
rowModesModel: PropTypes.object,
|
|
784
|
+
/**
|
|
785
|
+
* The milliseconds delay to wait after measuring the row height before recalculating row positions.
|
|
786
|
+
* Setting it to a lower value could be useful when using dynamic row height,
|
|
787
|
+
* but might reduce performance when displaying a large number of rows.
|
|
788
|
+
* @default 166
|
|
789
|
+
*/
|
|
790
|
+
rowPositionsDebounceMs: PropTypes.number,
|
|
784
791
|
/**
|
|
785
792
|
* If `true`, the reordering of rows is enabled.
|
|
786
793
|
* @default false
|
|
@@ -12,7 +12,7 @@ export const GRID_TREE_DATA_GROUPING_COL_DEF = _extends({}, GRID_STRING_COL_DEF,
|
|
|
12
12
|
disableReorder: true,
|
|
13
13
|
align: 'left',
|
|
14
14
|
width: 200,
|
|
15
|
-
valueGetter: params => params.rowNode.type === 'group' ? params.rowNode.groupingKey : undefined
|
|
15
|
+
valueGetter: params => params.rowNode.type === 'group' || params.rowNode.type === 'leaf' ? params.rowNode.groupingKey : undefined
|
|
16
16
|
});
|
|
17
17
|
export const GRID_TREE_DATA_GROUPING_FIELD = '__tree_data_group__';
|
|
18
18
|
export const GRID_TREE_DATA_GROUPING_COL_DEF_FORCED_PROPERTIES = {
|
package/index.js
CHANGED
|
@@ -781,6 +781,13 @@ DataGridProRaw.propTypes = {
|
|
|
781
781
|
* Controls the modes of the rows.
|
|
782
782
|
*/
|
|
783
783
|
rowModesModel: PropTypes.object,
|
|
784
|
+
/**
|
|
785
|
+
* The milliseconds delay to wait after measuring the row height before recalculating row positions.
|
|
786
|
+
* Setting it to a lower value could be useful when using dynamic row height,
|
|
787
|
+
* but might reduce performance when displaying a large number of rows.
|
|
788
|
+
* @default 166
|
|
789
|
+
*/
|
|
790
|
+
rowPositionsDebounceMs: PropTypes.number,
|
|
784
791
|
/**
|
|
785
792
|
* If `true`, the reordering of rows is enabled.
|
|
786
793
|
* @default false
|
|
@@ -13,7 +13,7 @@ export var GRID_TREE_DATA_GROUPING_COL_DEF = _extends({}, GRID_STRING_COL_DEF, {
|
|
|
13
13
|
align: 'left',
|
|
14
14
|
width: 200,
|
|
15
15
|
valueGetter: function valueGetter(params) {
|
|
16
|
-
return params.rowNode.type === 'group' ? params.rowNode.groupingKey : undefined;
|
|
16
|
+
return params.rowNode.type === 'group' || params.rowNode.type === 'leaf' ? params.rowNode.groupingKey : undefined;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
export var GRID_TREE_DATA_GROUPING_FIELD = '__tree_data_group__';
|
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 = "MTY5ODM1NzYwMDAwMA==";
|
|
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
|
|
@@ -781,6 +781,13 @@ DataGridProRaw.propTypes = {
|
|
|
781
781
|
* Controls the modes of the rows.
|
|
782
782
|
*/
|
|
783
783
|
rowModesModel: PropTypes.object,
|
|
784
|
+
/**
|
|
785
|
+
* The milliseconds delay to wait after measuring the row height before recalculating row positions.
|
|
786
|
+
* Setting it to a lower value could be useful when using dynamic row height,
|
|
787
|
+
* but might reduce performance when displaying a large number of rows.
|
|
788
|
+
* @default 166
|
|
789
|
+
*/
|
|
790
|
+
rowPositionsDebounceMs: PropTypes.number,
|
|
784
791
|
/**
|
|
785
792
|
* If `true`, the reordering of rows is enabled.
|
|
786
793
|
* @default false
|
|
@@ -12,7 +12,7 @@ export const GRID_TREE_DATA_GROUPING_COL_DEF = _extends({}, GRID_STRING_COL_DEF,
|
|
|
12
12
|
disableReorder: true,
|
|
13
13
|
align: 'left',
|
|
14
14
|
width: 200,
|
|
15
|
-
valueGetter: params => params.rowNode.type === 'group' ? params.rowNode.groupingKey : undefined
|
|
15
|
+
valueGetter: params => params.rowNode.type === 'group' || params.rowNode.type === 'leaf' ? params.rowNode.groupingKey : undefined
|
|
16
16
|
});
|
|
17
17
|
export const GRID_TREE_DATA_GROUPING_FIELD = '__tree_data_group__';
|
|
18
18
|
export const GRID_TREE_DATA_GROUPING_COL_DEF_FORCED_PROPERTIES = {
|
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 = "MTY5ODM1NzYwMDAwMA==";
|
|
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
|
|
@@ -789,6 +789,13 @@ DataGridProRaw.propTypes = {
|
|
|
789
789
|
* Controls the modes of the rows.
|
|
790
790
|
*/
|
|
791
791
|
rowModesModel: _propTypes.default.object,
|
|
792
|
+
/**
|
|
793
|
+
* The milliseconds delay to wait after measuring the row height before recalculating row positions.
|
|
794
|
+
* Setting it to a lower value could be useful when using dynamic row height,
|
|
795
|
+
* but might reduce performance when displaying a large number of rows.
|
|
796
|
+
* @default 166
|
|
797
|
+
*/
|
|
798
|
+
rowPositionsDebounceMs: _propTypes.default.number,
|
|
792
799
|
/**
|
|
793
800
|
* If `true`, the reordering of rows is enabled.
|
|
794
801
|
* @default false
|
|
@@ -18,7 +18,7 @@ const GRID_TREE_DATA_GROUPING_COL_DEF = exports.GRID_TREE_DATA_GROUPING_COL_DEF
|
|
|
18
18
|
disableReorder: true,
|
|
19
19
|
align: 'left',
|
|
20
20
|
width: 200,
|
|
21
|
-
valueGetter: params => params.rowNode.type === 'group' ? params.rowNode.groupingKey : undefined
|
|
21
|
+
valueGetter: params => params.rowNode.type === 'group' || params.rowNode.type === 'leaf' ? params.rowNode.groupingKey : undefined
|
|
22
22
|
});
|
|
23
23
|
const GRID_TREE_DATA_GROUPING_FIELD = exports.GRID_TREE_DATA_GROUPING_FIELD = '__tree_data_group__';
|
|
24
24
|
const GRID_TREE_DATA_GROUPING_COL_DEF_FORCED_PROPERTIES = exports.GRID_TREE_DATA_GROUPING_COL_DEF_FORCED_PROPERTIES = {
|
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 = "MTY5ODM1NzYwMDAwMA==";
|
|
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-pro",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.17.0",
|
|
4
4
|
"description": "The Pro plan edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.23.2",
|
|
35
35
|
"@mui/utils": "^5.14.14",
|
|
36
|
-
"@mui/x-data-grid": "6.
|
|
36
|
+
"@mui/x-data-grid": "6.17.0",
|
|
37
37
|
"@mui/x-license-pro": "6.10.2",
|
|
38
|
-
"@types/format-util": "^1.0.
|
|
38
|
+
"@types/format-util": "^1.0.3",
|
|
39
39
|
"clsx": "^2.0.0",
|
|
40
40
|
"prop-types": "^15.8.1",
|
|
41
41
|
"reselect": "^4.1.8"
|
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 = "MTY5ODM1NzYwMDAwMA==";
|
|
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
|