@mui/x-data-grid-pro 6.18.5 → 6.18.6
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 +49 -0
- package/DataGridPro/DataGridPro.js +19 -19
- package/index.js +1 -1
- package/legacy/DataGridPro/DataGridPro.js +19 -19
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/DataGridPro/DataGridPro.js +19 -19
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/DataGridPro/DataGridPro.js +19 -19
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +2 -2
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,55 @@
|
|
|
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.18.6
|
|
7
|
+
|
|
8
|
+
_Dec 22, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Improve Russian (ru-RU) locale (#11429) @wensiet
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
|
|
15
|
+
### Data Grid
|
|
16
|
+
|
|
17
|
+
#### `@mui/x-data-grid@6.18.6`
|
|
18
|
+
|
|
19
|
+
- [DataGrid] Fix typos in the JSDoc (#11475) @flaviendelangle
|
|
20
|
+
- [l10n] Improve Russian (ru-RU) locale (#11429) @wensiet
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid-pro@6.18.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
|
+
|
|
24
|
+
Same changes as in `@mui/x-data-grid@6.18.6`.
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-premium@6.18.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid-pro@6.18.6`.
|
|
29
|
+
|
|
30
|
+
### Date Pickers
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-date-pickers@6.18.6`
|
|
33
|
+
|
|
34
|
+
- [fields] Fix section pasting (#11467) @LukasTy
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers-pro@6.18.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-date-pickers@6.18.6`.
|
|
39
|
+
|
|
40
|
+
### Charts / `@mui/x-charts@6.18.6`
|
|
41
|
+
|
|
42
|
+
- [charts] Allow percentage values for pie chart center and radius (#11464) @alexfauquette
|
|
43
|
+
- [charts] Make error message more explicit (#11457) @alexfauquette
|
|
44
|
+
- [charts] Make the helper `ChartsText` component public (#11370) @alexfauquette
|
|
45
|
+
- [charts] Improve dataset typing (#11372) @alexfauquette
|
|
46
|
+
- [charts] Fix size overflow (#11385) @alexfauquette
|
|
47
|
+
|
|
48
|
+
### Docs
|
|
49
|
+
|
|
50
|
+
- [docs] Document false default values for boolean props (#11489) @cherniavskii
|
|
51
|
+
- [docs] Improve Pickers `name` prop examples (#11442) @LukasTy
|
|
52
|
+
- [docs] Limit `date-fns` package to v2 in codesandbox (#11478) @LukasTy
|
|
53
|
+
- [test] Reload the page if its blank and there are no links to the remaining tests (#11471) @cherniavskii
|
|
54
|
+
|
|
6
55
|
## 6.18.5
|
|
7
56
|
|
|
8
57
|
_Dec 14, 2023_
|
|
@@ -59,15 +59,15 @@ DataGridProRaw.propTypes = {
|
|
|
59
59
|
current: PropTypes.object.isRequired
|
|
60
60
|
}),
|
|
61
61
|
/**
|
|
62
|
-
* The label of the
|
|
62
|
+
* The label of the Data Grid.
|
|
63
63
|
*/
|
|
64
64
|
'aria-label': PropTypes.string,
|
|
65
65
|
/**
|
|
66
|
-
* The id of the element containing a label for the
|
|
66
|
+
* The id of the element containing a label for the Data Grid.
|
|
67
67
|
*/
|
|
68
68
|
'aria-labelledby': PropTypes.string,
|
|
69
69
|
/**
|
|
70
|
-
* If `true`, the
|
|
70
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
71
71
|
* @default false
|
|
72
72
|
*/
|
|
73
73
|
autoHeight: PropTypes.bool,
|
|
@@ -96,7 +96,7 @@ DataGridProRaw.propTypes = {
|
|
|
96
96
|
*/
|
|
97
97
|
cellModesModel: PropTypes.object,
|
|
98
98
|
/**
|
|
99
|
-
* If `true`, the
|
|
99
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
100
100
|
* @default false
|
|
101
101
|
*/
|
|
102
102
|
checkboxSelection: PropTypes.bool,
|
|
@@ -127,7 +127,7 @@ DataGridProRaw.propTypes = {
|
|
|
127
127
|
columnBuffer: PropTypes.number,
|
|
128
128
|
columnGroupingModel: PropTypes.arrayOf(PropTypes.object),
|
|
129
129
|
/**
|
|
130
|
-
* Sets the height in pixel of the column headers in the
|
|
130
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
131
131
|
* @default 56
|
|
132
132
|
*/
|
|
133
133
|
columnHeaderHeight: PropTypes.number,
|
|
@@ -141,8 +141,8 @@ DataGridProRaw.propTypes = {
|
|
|
141
141
|
*/
|
|
142
142
|
columnThreshold: PropTypes.number,
|
|
143
143
|
/**
|
|
144
|
-
* Set the column visibility model of the
|
|
145
|
-
* If defined, the
|
|
144
|
+
* Set the column visibility model of the Data Grid.
|
|
145
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
146
146
|
*/
|
|
147
147
|
columnVisibilityModel: PropTypes.object,
|
|
148
148
|
/**
|
|
@@ -162,7 +162,7 @@ DataGridProRaw.propTypes = {
|
|
|
162
162
|
*/
|
|
163
163
|
defaultGroupingExpansionDepth: PropTypes.number,
|
|
164
164
|
/**
|
|
165
|
-
* Set the density of the
|
|
165
|
+
* Set the density of the Data Grid.
|
|
166
166
|
* @default "standard"
|
|
167
167
|
*/
|
|
168
168
|
density: PropTypes.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -283,7 +283,7 @@ DataGridProRaw.propTypes = {
|
|
|
283
283
|
return null;
|
|
284
284
|
}),
|
|
285
285
|
/**
|
|
286
|
-
* Set the filter model of the
|
|
286
|
+
* Set the filter model of the Data Grid.
|
|
287
287
|
*/
|
|
288
288
|
filterModel: PropTypes.shape({
|
|
289
289
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -298,7 +298,7 @@ DataGridProRaw.propTypes = {
|
|
|
298
298
|
quickFilterValues: PropTypes.array
|
|
299
299
|
}),
|
|
300
300
|
/**
|
|
301
|
-
* Forwarded props for the
|
|
301
|
+
* Forwarded props for the Data Grid root element.
|
|
302
302
|
* @ignore - do not document.
|
|
303
303
|
*/
|
|
304
304
|
forwardedProps: PropTypes.object,
|
|
@@ -439,7 +439,7 @@ DataGridProRaw.propTypes = {
|
|
|
439
439
|
*/
|
|
440
440
|
loading: PropTypes.bool,
|
|
441
441
|
/**
|
|
442
|
-
* Set the locale text of the
|
|
442
|
+
* Set the locale text of the Data Grid.
|
|
443
443
|
* You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.
|
|
444
444
|
*/
|
|
445
445
|
localeText: PropTypes.object,
|
|
@@ -640,7 +640,7 @@ DataGridProRaw.propTypes = {
|
|
|
640
640
|
*/
|
|
641
641
|
onProcessRowUpdateError: PropTypes.func,
|
|
642
642
|
/**
|
|
643
|
-
* Callback fired when the
|
|
643
|
+
* Callback fired when the Data Grid is resized.
|
|
644
644
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
645
645
|
* @param {MuiEvent<{}>} event The event object.
|
|
646
646
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -712,7 +712,7 @@ DataGridProRaw.propTypes = {
|
|
|
712
712
|
*/
|
|
713
713
|
onSortModelChange: PropTypes.func,
|
|
714
714
|
/**
|
|
715
|
-
* Callback fired when the state of the
|
|
715
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
716
716
|
* @param {GridState} state The new state.
|
|
717
717
|
* @param {MuiEvent<{}>} event The event object.
|
|
718
718
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -779,7 +779,7 @@ DataGridProRaw.propTypes = {
|
|
|
779
779
|
*/
|
|
780
780
|
rowCount: PropTypes.number,
|
|
781
781
|
/**
|
|
782
|
-
* Sets the height in pixel of a row in the
|
|
782
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
783
783
|
* @default 52
|
|
784
784
|
*/
|
|
785
785
|
rowHeight: PropTypes.number,
|
|
@@ -809,7 +809,7 @@ DataGridProRaw.propTypes = {
|
|
|
809
809
|
*/
|
|
810
810
|
rowSelection: PropTypes.bool,
|
|
811
811
|
/**
|
|
812
|
-
* Sets the row selection model of the
|
|
812
|
+
* Sets the row selection model of the Data Grid.
|
|
813
813
|
*/
|
|
814
814
|
rowSelectionModel: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired), PropTypes.number, PropTypes.string]),
|
|
815
815
|
/**
|
|
@@ -830,7 +830,7 @@ DataGridProRaw.propTypes = {
|
|
|
830
830
|
*/
|
|
831
831
|
rowThreshold: PropTypes.number,
|
|
832
832
|
/**
|
|
833
|
-
* Override the height/width of the
|
|
833
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
834
834
|
*/
|
|
835
835
|
scrollbarSize: PropTypes.number,
|
|
836
836
|
/**
|
|
@@ -869,7 +869,7 @@ DataGridProRaw.propTypes = {
|
|
|
869
869
|
*/
|
|
870
870
|
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
871
871
|
/**
|
|
872
|
-
* Set the sort model of the
|
|
872
|
+
* Set the sort model of the Data Grid.
|
|
873
873
|
*/
|
|
874
874
|
sortModel: PropTypes.arrayOf(PropTypes.shape({
|
|
875
875
|
field: PropTypes.string.isRequired,
|
|
@@ -880,7 +880,7 @@ DataGridProRaw.propTypes = {
|
|
|
880
880
|
*/
|
|
881
881
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
882
882
|
/**
|
|
883
|
-
* If positive, the Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
883
|
+
* If positive, the Data Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
884
884
|
* It can be useful if you have a high update rate but do not want to do heavy work like filtering / sorting or rendering on each individual update.
|
|
885
885
|
* @default 0
|
|
886
886
|
*/
|
|
@@ -896,7 +896,7 @@ DataGridProRaw.propTypes = {
|
|
|
896
896
|
*/
|
|
897
897
|
unstable_headerFilters: PropTypes.bool,
|
|
898
898
|
/**
|
|
899
|
-
* If `true`, the
|
|
899
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
900
900
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
901
901
|
* @default false
|
|
902
902
|
*/
|
package/index.js
CHANGED
|
@@ -59,15 +59,15 @@ DataGridProRaw.propTypes = {
|
|
|
59
59
|
current: PropTypes.object.isRequired
|
|
60
60
|
}),
|
|
61
61
|
/**
|
|
62
|
-
* The label of the
|
|
62
|
+
* The label of the Data Grid.
|
|
63
63
|
*/
|
|
64
64
|
'aria-label': PropTypes.string,
|
|
65
65
|
/**
|
|
66
|
-
* The id of the element containing a label for the
|
|
66
|
+
* The id of the element containing a label for the Data Grid.
|
|
67
67
|
*/
|
|
68
68
|
'aria-labelledby': PropTypes.string,
|
|
69
69
|
/**
|
|
70
|
-
* If `true`, the
|
|
70
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
71
71
|
* @default false
|
|
72
72
|
*/
|
|
73
73
|
autoHeight: PropTypes.bool,
|
|
@@ -96,7 +96,7 @@ DataGridProRaw.propTypes = {
|
|
|
96
96
|
*/
|
|
97
97
|
cellModesModel: PropTypes.object,
|
|
98
98
|
/**
|
|
99
|
-
* If `true`, the
|
|
99
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
100
100
|
* @default false
|
|
101
101
|
*/
|
|
102
102
|
checkboxSelection: PropTypes.bool,
|
|
@@ -127,7 +127,7 @@ DataGridProRaw.propTypes = {
|
|
|
127
127
|
columnBuffer: PropTypes.number,
|
|
128
128
|
columnGroupingModel: PropTypes.arrayOf(PropTypes.object),
|
|
129
129
|
/**
|
|
130
|
-
* Sets the height in pixel of the column headers in the
|
|
130
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
131
131
|
* @default 56
|
|
132
132
|
*/
|
|
133
133
|
columnHeaderHeight: PropTypes.number,
|
|
@@ -141,8 +141,8 @@ DataGridProRaw.propTypes = {
|
|
|
141
141
|
*/
|
|
142
142
|
columnThreshold: PropTypes.number,
|
|
143
143
|
/**
|
|
144
|
-
* Set the column visibility model of the
|
|
145
|
-
* If defined, the
|
|
144
|
+
* Set the column visibility model of the Data Grid.
|
|
145
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
146
146
|
*/
|
|
147
147
|
columnVisibilityModel: PropTypes.object,
|
|
148
148
|
/**
|
|
@@ -162,7 +162,7 @@ DataGridProRaw.propTypes = {
|
|
|
162
162
|
*/
|
|
163
163
|
defaultGroupingExpansionDepth: PropTypes.number,
|
|
164
164
|
/**
|
|
165
|
-
* Set the density of the
|
|
165
|
+
* Set the density of the Data Grid.
|
|
166
166
|
* @default "standard"
|
|
167
167
|
*/
|
|
168
168
|
density: PropTypes.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -283,7 +283,7 @@ DataGridProRaw.propTypes = {
|
|
|
283
283
|
return null;
|
|
284
284
|
}),
|
|
285
285
|
/**
|
|
286
|
-
* Set the filter model of the
|
|
286
|
+
* Set the filter model of the Data Grid.
|
|
287
287
|
*/
|
|
288
288
|
filterModel: PropTypes.shape({
|
|
289
289
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -298,7 +298,7 @@ DataGridProRaw.propTypes = {
|
|
|
298
298
|
quickFilterValues: PropTypes.array
|
|
299
299
|
}),
|
|
300
300
|
/**
|
|
301
|
-
* Forwarded props for the
|
|
301
|
+
* Forwarded props for the Data Grid root element.
|
|
302
302
|
* @ignore - do not document.
|
|
303
303
|
*/
|
|
304
304
|
forwardedProps: PropTypes.object,
|
|
@@ -439,7 +439,7 @@ DataGridProRaw.propTypes = {
|
|
|
439
439
|
*/
|
|
440
440
|
loading: PropTypes.bool,
|
|
441
441
|
/**
|
|
442
|
-
* Set the locale text of the
|
|
442
|
+
* Set the locale text of the Data Grid.
|
|
443
443
|
* You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.
|
|
444
444
|
*/
|
|
445
445
|
localeText: PropTypes.object,
|
|
@@ -640,7 +640,7 @@ DataGridProRaw.propTypes = {
|
|
|
640
640
|
*/
|
|
641
641
|
onProcessRowUpdateError: PropTypes.func,
|
|
642
642
|
/**
|
|
643
|
-
* Callback fired when the
|
|
643
|
+
* Callback fired when the Data Grid is resized.
|
|
644
644
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
645
645
|
* @param {MuiEvent<{}>} event The event object.
|
|
646
646
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -712,7 +712,7 @@ DataGridProRaw.propTypes = {
|
|
|
712
712
|
*/
|
|
713
713
|
onSortModelChange: PropTypes.func,
|
|
714
714
|
/**
|
|
715
|
-
* Callback fired when the state of the
|
|
715
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
716
716
|
* @param {GridState} state The new state.
|
|
717
717
|
* @param {MuiEvent<{}>} event The event object.
|
|
718
718
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -779,7 +779,7 @@ DataGridProRaw.propTypes = {
|
|
|
779
779
|
*/
|
|
780
780
|
rowCount: PropTypes.number,
|
|
781
781
|
/**
|
|
782
|
-
* Sets the height in pixel of a row in the
|
|
782
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
783
783
|
* @default 52
|
|
784
784
|
*/
|
|
785
785
|
rowHeight: PropTypes.number,
|
|
@@ -809,7 +809,7 @@ DataGridProRaw.propTypes = {
|
|
|
809
809
|
*/
|
|
810
810
|
rowSelection: PropTypes.bool,
|
|
811
811
|
/**
|
|
812
|
-
* Sets the row selection model of the
|
|
812
|
+
* Sets the row selection model of the Data Grid.
|
|
813
813
|
*/
|
|
814
814
|
rowSelectionModel: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired), PropTypes.number, PropTypes.string]),
|
|
815
815
|
/**
|
|
@@ -830,7 +830,7 @@ DataGridProRaw.propTypes = {
|
|
|
830
830
|
*/
|
|
831
831
|
rowThreshold: PropTypes.number,
|
|
832
832
|
/**
|
|
833
|
-
* Override the height/width of the
|
|
833
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
834
834
|
*/
|
|
835
835
|
scrollbarSize: PropTypes.number,
|
|
836
836
|
/**
|
|
@@ -869,7 +869,7 @@ DataGridProRaw.propTypes = {
|
|
|
869
869
|
*/
|
|
870
870
|
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
871
871
|
/**
|
|
872
|
-
* Set the sort model of the
|
|
872
|
+
* Set the sort model of the Data Grid.
|
|
873
873
|
*/
|
|
874
874
|
sortModel: PropTypes.arrayOf(PropTypes.shape({
|
|
875
875
|
field: PropTypes.string.isRequired,
|
|
@@ -880,7 +880,7 @@ DataGridProRaw.propTypes = {
|
|
|
880
880
|
*/
|
|
881
881
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
882
882
|
/**
|
|
883
|
-
* If positive, the Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
883
|
+
* If positive, the Data Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
884
884
|
* It can be useful if you have a high update rate but do not want to do heavy work like filtering / sorting or rendering on each individual update.
|
|
885
885
|
* @default 0
|
|
886
886
|
*/
|
|
@@ -896,7 +896,7 @@ DataGridProRaw.propTypes = {
|
|
|
896
896
|
*/
|
|
897
897
|
unstable_headerFilters: PropTypes.bool,
|
|
898
898
|
/**
|
|
899
|
-
* If `true`, the
|
|
899
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
900
900
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
901
901
|
* @default false
|
|
902
902
|
*/
|
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 = "MTcwMzIyMTIwMDAwMA==";
|
|
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
|
|
@@ -59,15 +59,15 @@ DataGridProRaw.propTypes = {
|
|
|
59
59
|
current: PropTypes.object.isRequired
|
|
60
60
|
}),
|
|
61
61
|
/**
|
|
62
|
-
* The label of the
|
|
62
|
+
* The label of the Data Grid.
|
|
63
63
|
*/
|
|
64
64
|
'aria-label': PropTypes.string,
|
|
65
65
|
/**
|
|
66
|
-
* The id of the element containing a label for the
|
|
66
|
+
* The id of the element containing a label for the Data Grid.
|
|
67
67
|
*/
|
|
68
68
|
'aria-labelledby': PropTypes.string,
|
|
69
69
|
/**
|
|
70
|
-
* If `true`, the
|
|
70
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
71
71
|
* @default false
|
|
72
72
|
*/
|
|
73
73
|
autoHeight: PropTypes.bool,
|
|
@@ -96,7 +96,7 @@ DataGridProRaw.propTypes = {
|
|
|
96
96
|
*/
|
|
97
97
|
cellModesModel: PropTypes.object,
|
|
98
98
|
/**
|
|
99
|
-
* If `true`, the
|
|
99
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
100
100
|
* @default false
|
|
101
101
|
*/
|
|
102
102
|
checkboxSelection: PropTypes.bool,
|
|
@@ -127,7 +127,7 @@ DataGridProRaw.propTypes = {
|
|
|
127
127
|
columnBuffer: PropTypes.number,
|
|
128
128
|
columnGroupingModel: PropTypes.arrayOf(PropTypes.object),
|
|
129
129
|
/**
|
|
130
|
-
* Sets the height in pixel of the column headers in the
|
|
130
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
131
131
|
* @default 56
|
|
132
132
|
*/
|
|
133
133
|
columnHeaderHeight: PropTypes.number,
|
|
@@ -141,8 +141,8 @@ DataGridProRaw.propTypes = {
|
|
|
141
141
|
*/
|
|
142
142
|
columnThreshold: PropTypes.number,
|
|
143
143
|
/**
|
|
144
|
-
* Set the column visibility model of the
|
|
145
|
-
* If defined, the
|
|
144
|
+
* Set the column visibility model of the Data Grid.
|
|
145
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
146
146
|
*/
|
|
147
147
|
columnVisibilityModel: PropTypes.object,
|
|
148
148
|
/**
|
|
@@ -162,7 +162,7 @@ DataGridProRaw.propTypes = {
|
|
|
162
162
|
*/
|
|
163
163
|
defaultGroupingExpansionDepth: PropTypes.number,
|
|
164
164
|
/**
|
|
165
|
-
* Set the density of the
|
|
165
|
+
* Set the density of the Data Grid.
|
|
166
166
|
* @default "standard"
|
|
167
167
|
*/
|
|
168
168
|
density: PropTypes.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -283,7 +283,7 @@ DataGridProRaw.propTypes = {
|
|
|
283
283
|
return null;
|
|
284
284
|
}),
|
|
285
285
|
/**
|
|
286
|
-
* Set the filter model of the
|
|
286
|
+
* Set the filter model of the Data Grid.
|
|
287
287
|
*/
|
|
288
288
|
filterModel: PropTypes.shape({
|
|
289
289
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -298,7 +298,7 @@ DataGridProRaw.propTypes = {
|
|
|
298
298
|
quickFilterValues: PropTypes.array
|
|
299
299
|
}),
|
|
300
300
|
/**
|
|
301
|
-
* Forwarded props for the
|
|
301
|
+
* Forwarded props for the Data Grid root element.
|
|
302
302
|
* @ignore - do not document.
|
|
303
303
|
*/
|
|
304
304
|
forwardedProps: PropTypes.object,
|
|
@@ -439,7 +439,7 @@ DataGridProRaw.propTypes = {
|
|
|
439
439
|
*/
|
|
440
440
|
loading: PropTypes.bool,
|
|
441
441
|
/**
|
|
442
|
-
* Set the locale text of the
|
|
442
|
+
* Set the locale text of the Data Grid.
|
|
443
443
|
* You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.
|
|
444
444
|
*/
|
|
445
445
|
localeText: PropTypes.object,
|
|
@@ -640,7 +640,7 @@ DataGridProRaw.propTypes = {
|
|
|
640
640
|
*/
|
|
641
641
|
onProcessRowUpdateError: PropTypes.func,
|
|
642
642
|
/**
|
|
643
|
-
* Callback fired when the
|
|
643
|
+
* Callback fired when the Data Grid is resized.
|
|
644
644
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
645
645
|
* @param {MuiEvent<{}>} event The event object.
|
|
646
646
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -712,7 +712,7 @@ DataGridProRaw.propTypes = {
|
|
|
712
712
|
*/
|
|
713
713
|
onSortModelChange: PropTypes.func,
|
|
714
714
|
/**
|
|
715
|
-
* Callback fired when the state of the
|
|
715
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
716
716
|
* @param {GridState} state The new state.
|
|
717
717
|
* @param {MuiEvent<{}>} event The event object.
|
|
718
718
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -779,7 +779,7 @@ DataGridProRaw.propTypes = {
|
|
|
779
779
|
*/
|
|
780
780
|
rowCount: PropTypes.number,
|
|
781
781
|
/**
|
|
782
|
-
* Sets the height in pixel of a row in the
|
|
782
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
783
783
|
* @default 52
|
|
784
784
|
*/
|
|
785
785
|
rowHeight: PropTypes.number,
|
|
@@ -809,7 +809,7 @@ DataGridProRaw.propTypes = {
|
|
|
809
809
|
*/
|
|
810
810
|
rowSelection: PropTypes.bool,
|
|
811
811
|
/**
|
|
812
|
-
* Sets the row selection model of the
|
|
812
|
+
* Sets the row selection model of the Data Grid.
|
|
813
813
|
*/
|
|
814
814
|
rowSelectionModel: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired), PropTypes.number, PropTypes.string]),
|
|
815
815
|
/**
|
|
@@ -830,7 +830,7 @@ DataGridProRaw.propTypes = {
|
|
|
830
830
|
*/
|
|
831
831
|
rowThreshold: PropTypes.number,
|
|
832
832
|
/**
|
|
833
|
-
* Override the height/width of the
|
|
833
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
834
834
|
*/
|
|
835
835
|
scrollbarSize: PropTypes.number,
|
|
836
836
|
/**
|
|
@@ -869,7 +869,7 @@ DataGridProRaw.propTypes = {
|
|
|
869
869
|
*/
|
|
870
870
|
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
871
871
|
/**
|
|
872
|
-
* Set the sort model of the
|
|
872
|
+
* Set the sort model of the Data Grid.
|
|
873
873
|
*/
|
|
874
874
|
sortModel: PropTypes.arrayOf(PropTypes.shape({
|
|
875
875
|
field: PropTypes.string.isRequired,
|
|
@@ -880,7 +880,7 @@ DataGridProRaw.propTypes = {
|
|
|
880
880
|
*/
|
|
881
881
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
882
882
|
/**
|
|
883
|
-
* If positive, the Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
883
|
+
* If positive, the Data Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
884
884
|
* It can be useful if you have a high update rate but do not want to do heavy work like filtering / sorting or rendering on each individual update.
|
|
885
885
|
* @default 0
|
|
886
886
|
*/
|
|
@@ -896,7 +896,7 @@ DataGridProRaw.propTypes = {
|
|
|
896
896
|
*/
|
|
897
897
|
unstable_headerFilters: PropTypes.bool,
|
|
898
898
|
/**
|
|
899
|
-
* If `true`, the
|
|
899
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
900
900
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
901
901
|
* @default false
|
|
902
902
|
*/
|
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 = "MTcwMzIyMTIwMDAwMA==";
|
|
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
|
|
@@ -67,15 +67,15 @@ DataGridProRaw.propTypes = {
|
|
|
67
67
|
current: _propTypes.default.object.isRequired
|
|
68
68
|
}),
|
|
69
69
|
/**
|
|
70
|
-
* The label of the
|
|
70
|
+
* The label of the Data Grid.
|
|
71
71
|
*/
|
|
72
72
|
'aria-label': _propTypes.default.string,
|
|
73
73
|
/**
|
|
74
|
-
* The id of the element containing a label for the
|
|
74
|
+
* The id of the element containing a label for the Data Grid.
|
|
75
75
|
*/
|
|
76
76
|
'aria-labelledby': _propTypes.default.string,
|
|
77
77
|
/**
|
|
78
|
-
* If `true`, the
|
|
78
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
79
79
|
* @default false
|
|
80
80
|
*/
|
|
81
81
|
autoHeight: _propTypes.default.bool,
|
|
@@ -104,7 +104,7 @@ DataGridProRaw.propTypes = {
|
|
|
104
104
|
*/
|
|
105
105
|
cellModesModel: _propTypes.default.object,
|
|
106
106
|
/**
|
|
107
|
-
* If `true`, the
|
|
107
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
108
108
|
* @default false
|
|
109
109
|
*/
|
|
110
110
|
checkboxSelection: _propTypes.default.bool,
|
|
@@ -135,7 +135,7 @@ DataGridProRaw.propTypes = {
|
|
|
135
135
|
columnBuffer: _propTypes.default.number,
|
|
136
136
|
columnGroupingModel: _propTypes.default.arrayOf(_propTypes.default.object),
|
|
137
137
|
/**
|
|
138
|
-
* Sets the height in pixel of the column headers in the
|
|
138
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
139
139
|
* @default 56
|
|
140
140
|
*/
|
|
141
141
|
columnHeaderHeight: _propTypes.default.number,
|
|
@@ -149,8 +149,8 @@ DataGridProRaw.propTypes = {
|
|
|
149
149
|
*/
|
|
150
150
|
columnThreshold: _propTypes.default.number,
|
|
151
151
|
/**
|
|
152
|
-
* Set the column visibility model of the
|
|
153
|
-
* If defined, the
|
|
152
|
+
* Set the column visibility model of the Data Grid.
|
|
153
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
154
154
|
*/
|
|
155
155
|
columnVisibilityModel: _propTypes.default.object,
|
|
156
156
|
/**
|
|
@@ -170,7 +170,7 @@ DataGridProRaw.propTypes = {
|
|
|
170
170
|
*/
|
|
171
171
|
defaultGroupingExpansionDepth: _propTypes.default.number,
|
|
172
172
|
/**
|
|
173
|
-
* Set the density of the
|
|
173
|
+
* Set the density of the Data Grid.
|
|
174
174
|
* @default "standard"
|
|
175
175
|
*/
|
|
176
176
|
density: _propTypes.default.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -291,7 +291,7 @@ DataGridProRaw.propTypes = {
|
|
|
291
291
|
return null;
|
|
292
292
|
}),
|
|
293
293
|
/**
|
|
294
|
-
* Set the filter model of the
|
|
294
|
+
* Set the filter model of the Data Grid.
|
|
295
295
|
*/
|
|
296
296
|
filterModel: _propTypes.default.shape({
|
|
297
297
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
@@ -306,7 +306,7 @@ DataGridProRaw.propTypes = {
|
|
|
306
306
|
quickFilterValues: _propTypes.default.array
|
|
307
307
|
}),
|
|
308
308
|
/**
|
|
309
|
-
* Forwarded props for the
|
|
309
|
+
* Forwarded props for the Data Grid root element.
|
|
310
310
|
* @ignore - do not document.
|
|
311
311
|
*/
|
|
312
312
|
forwardedProps: _propTypes.default.object,
|
|
@@ -447,7 +447,7 @@ DataGridProRaw.propTypes = {
|
|
|
447
447
|
*/
|
|
448
448
|
loading: _propTypes.default.bool,
|
|
449
449
|
/**
|
|
450
|
-
* Set the locale text of the
|
|
450
|
+
* Set the locale text of the Data Grid.
|
|
451
451
|
* You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.
|
|
452
452
|
*/
|
|
453
453
|
localeText: _propTypes.default.object,
|
|
@@ -648,7 +648,7 @@ DataGridProRaw.propTypes = {
|
|
|
648
648
|
*/
|
|
649
649
|
onProcessRowUpdateError: _propTypes.default.func,
|
|
650
650
|
/**
|
|
651
|
-
* Callback fired when the
|
|
651
|
+
* Callback fired when the Data Grid is resized.
|
|
652
652
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
653
653
|
* @param {MuiEvent<{}>} event The event object.
|
|
654
654
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -720,7 +720,7 @@ DataGridProRaw.propTypes = {
|
|
|
720
720
|
*/
|
|
721
721
|
onSortModelChange: _propTypes.default.func,
|
|
722
722
|
/**
|
|
723
|
-
* Callback fired when the state of the
|
|
723
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
724
724
|
* @param {GridState} state The new state.
|
|
725
725
|
* @param {MuiEvent<{}>} event The event object.
|
|
726
726
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -787,7 +787,7 @@ DataGridProRaw.propTypes = {
|
|
|
787
787
|
*/
|
|
788
788
|
rowCount: _propTypes.default.number,
|
|
789
789
|
/**
|
|
790
|
-
* Sets the height in pixel of a row in the
|
|
790
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
791
791
|
* @default 52
|
|
792
792
|
*/
|
|
793
793
|
rowHeight: _propTypes.default.number,
|
|
@@ -817,7 +817,7 @@ DataGridProRaw.propTypes = {
|
|
|
817
817
|
*/
|
|
818
818
|
rowSelection: _propTypes.default.bool,
|
|
819
819
|
/**
|
|
820
|
-
* Sets the row selection model of the
|
|
820
|
+
* Sets the row selection model of the Data Grid.
|
|
821
821
|
*/
|
|
822
822
|
rowSelectionModel: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]).isRequired), _propTypes.default.number, _propTypes.default.string]),
|
|
823
823
|
/**
|
|
@@ -838,7 +838,7 @@ DataGridProRaw.propTypes = {
|
|
|
838
838
|
*/
|
|
839
839
|
rowThreshold: _propTypes.default.number,
|
|
840
840
|
/**
|
|
841
|
-
* Override the height/width of the
|
|
841
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
842
842
|
*/
|
|
843
843
|
scrollbarSize: _propTypes.default.number,
|
|
844
844
|
/**
|
|
@@ -877,7 +877,7 @@ DataGridProRaw.propTypes = {
|
|
|
877
877
|
*/
|
|
878
878
|
sortingOrder: _propTypes.default.arrayOf(_propTypes.default.oneOf(['asc', 'desc'])),
|
|
879
879
|
/**
|
|
880
|
-
* Set the sort model of the
|
|
880
|
+
* Set the sort model of the Data Grid.
|
|
881
881
|
*/
|
|
882
882
|
sortModel: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
883
883
|
field: _propTypes.default.string.isRequired,
|
|
@@ -888,7 +888,7 @@ DataGridProRaw.propTypes = {
|
|
|
888
888
|
*/
|
|
889
889
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
890
890
|
/**
|
|
891
|
-
* If positive, the Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
891
|
+
* If positive, the Data Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
892
892
|
* It can be useful if you have a high update rate but do not want to do heavy work like filtering / sorting or rendering on each individual update.
|
|
893
893
|
* @default 0
|
|
894
894
|
*/
|
|
@@ -904,7 +904,7 @@ DataGridProRaw.propTypes = {
|
|
|
904
904
|
*/
|
|
905
905
|
unstable_headerFilters: _propTypes.default.bool,
|
|
906
906
|
/**
|
|
907
|
-
* If `true`, the
|
|
907
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
908
908
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
909
909
|
* @default false
|
|
910
910
|
*/
|
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 = "MTcwMzIyMTIwMDAwMA==";
|
|
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.18.
|
|
3
|
+
"version": "6.18.6",
|
|
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,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.23.2",
|
|
35
35
|
"@mui/utils": "^5.14.16",
|
|
36
|
-
"@mui/x-data-grid": "6.18.
|
|
36
|
+
"@mui/x-data-grid": "6.18.6",
|
|
37
37
|
"@mui/x-license-pro": "6.10.2",
|
|
38
38
|
"@types/format-util": "^1.0.3",
|
|
39
39
|
"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 = "MTcwMzIyMTIwMDAwMA==";
|
|
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
|