@mui/x-data-grid-premium 6.18.5 → 6.18.7
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 +91 -0
- package/DataGridPremium/DataGridPremium.js +19 -20
- package/index.js +1 -1
- package/legacy/DataGridPremium/DataGridPremium.js +19 -20
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/DataGridPremium/DataGridPremium.js +19 -20
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/DataGridPremium/DataGridPremium.js +19 -20
- 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,97 @@
|
|
|
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.7
|
|
7
|
+
|
|
8
|
+
_Jan 5, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Improve Czech (cs-CZ) locale on Data Grid (#11429) @wensiet
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
|
|
15
|
+
### Data Grid
|
|
16
|
+
|
|
17
|
+
#### `@mui/x-data-grid@6.18.7`
|
|
18
|
+
|
|
19
|
+
- [DataGrid] Don't evaluate `hasEval` when `disableEval` is set (#11553) @reihwald
|
|
20
|
+
- [l10n] Update Czech (cs-CZ) locale (#11498) @fdebef
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid-pro@6.18.7` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
|
+
|
|
24
|
+
Same changes as in `@mui/x-data-grid@6.18.7`.
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-premium@6.18.7` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid-pro@6.18.7`.
|
|
29
|
+
|
|
30
|
+
### Date Pickers
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-date-pickers@6.18.7`
|
|
33
|
+
|
|
34
|
+
- [pickers] Fix views management (@LukasTy) (#11572)
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers-pro@6.18.7` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-date-pickers@6.18.7`.
|
|
39
|
+
|
|
40
|
+
### Charts / `@mui/x-charts@6.18.7`
|
|
41
|
+
|
|
42
|
+
- [charts] Fix `null` in line chart using dataset (@alexfauquette) (#11561)
|
|
43
|
+
|
|
44
|
+
### Docs
|
|
45
|
+
|
|
46
|
+
- [docs] Clarify Pickers usage with Luxon (#11566) @LukasTy
|
|
47
|
+
|
|
48
|
+
## 6.18.6
|
|
49
|
+
|
|
50
|
+
_Dec 22, 2023_
|
|
51
|
+
|
|
52
|
+
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
53
|
+
|
|
54
|
+
- 🌍 Improve Russian (ru-RU) locale (#11429) @wensiet
|
|
55
|
+
- 🐞 Bugfixes
|
|
56
|
+
|
|
57
|
+
### Data Grid
|
|
58
|
+
|
|
59
|
+
#### `@mui/x-data-grid@6.18.6`
|
|
60
|
+
|
|
61
|
+
- [DataGrid] Fix typos in the JSDoc (#11475) @flaviendelangle
|
|
62
|
+
- [l10n] Improve Russian (ru-RU) locale (#11429) @wensiet
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-data-grid-pro@6.18.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-data-grid@6.18.6`.
|
|
67
|
+
|
|
68
|
+
#### `@mui/x-data-grid-premium@6.18.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
69
|
+
|
|
70
|
+
Same changes as in `@mui/x-data-grid-pro@6.18.6`.
|
|
71
|
+
|
|
72
|
+
### Date Pickers
|
|
73
|
+
|
|
74
|
+
#### `@mui/x-date-pickers@6.18.6`
|
|
75
|
+
|
|
76
|
+
- [fields] Fix section pasting (#11467) @LukasTy
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-date-pickers-pro@6.18.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
79
|
+
|
|
80
|
+
Same changes as in `@mui/x-date-pickers@6.18.6`.
|
|
81
|
+
|
|
82
|
+
### Charts / `@mui/x-charts@6.18.4`
|
|
83
|
+
|
|
84
|
+
- [charts] Allow percentage values for pie chart center and radius (#11464) @alexfauquette
|
|
85
|
+
- [charts] Make error message more explicit (#11457) @alexfauquette
|
|
86
|
+
- [charts] Make the helper `ChartsText` component public (#11370) @alexfauquette
|
|
87
|
+
- [charts] Improve dataset typing (#11372) @alexfauquette
|
|
88
|
+
- [charts] Fix size overflow (#11385) @alexfauquette
|
|
89
|
+
|
|
90
|
+
### Docs
|
|
91
|
+
|
|
92
|
+
- [docs] Document false default values for boolean props (#11489) @cherniavskii
|
|
93
|
+
- [docs] Improve Pickers `name` prop examples (#11442) @LukasTy
|
|
94
|
+
- [docs] Limit `date-fns` package to v2 in codesandbox (#11478) @LukasTy
|
|
95
|
+
- [test] Reload the page if its blank and there are no links to the remaining tests (#11471) @cherniavskii
|
|
96
|
+
|
|
6
97
|
## 6.18.5
|
|
7
98
|
|
|
8
99
|
_Dec 14, 2023_
|
|
@@ -74,15 +74,15 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
74
74
|
current: PropTypes.object.isRequired
|
|
75
75
|
}),
|
|
76
76
|
/**
|
|
77
|
-
* The label of the
|
|
77
|
+
* The label of the Data Grid.
|
|
78
78
|
*/
|
|
79
79
|
'aria-label': PropTypes.string,
|
|
80
80
|
/**
|
|
81
|
-
* The id of the element containing a label for the
|
|
81
|
+
* The id of the element containing a label for the Data Grid.
|
|
82
82
|
*/
|
|
83
83
|
'aria-labelledby': PropTypes.string,
|
|
84
84
|
/**
|
|
85
|
-
* If `true`, the
|
|
85
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
86
86
|
* @default false
|
|
87
87
|
*/
|
|
88
88
|
autoHeight: PropTypes.bool,
|
|
@@ -111,7 +111,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
111
111
|
*/
|
|
112
112
|
cellModesModel: PropTypes.object,
|
|
113
113
|
/**
|
|
114
|
-
* If `true`, the
|
|
114
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
115
115
|
* @default false
|
|
116
116
|
*/
|
|
117
117
|
checkboxSelection: PropTypes.bool,
|
|
@@ -142,7 +142,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
142
142
|
columnBuffer: PropTypes.number,
|
|
143
143
|
columnGroupingModel: PropTypes.arrayOf(PropTypes.object),
|
|
144
144
|
/**
|
|
145
|
-
* Sets the height in pixel of the column headers in the
|
|
145
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
146
146
|
* @default 56
|
|
147
147
|
*/
|
|
148
148
|
columnHeaderHeight: PropTypes.number,
|
|
@@ -156,8 +156,8 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
156
156
|
*/
|
|
157
157
|
columnThreshold: PropTypes.number,
|
|
158
158
|
/**
|
|
159
|
-
* Set the column visibility model of the
|
|
160
|
-
* If defined, the
|
|
159
|
+
* Set the column visibility model of the Data Grid.
|
|
160
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
161
161
|
*/
|
|
162
162
|
columnVisibilityModel: PropTypes.object,
|
|
163
163
|
/**
|
|
@@ -177,7 +177,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
177
177
|
*/
|
|
178
178
|
defaultGroupingExpansionDepth: PropTypes.number,
|
|
179
179
|
/**
|
|
180
|
-
* Set the density of the
|
|
180
|
+
* Set the density of the Data Grid.
|
|
181
181
|
* @default "standard"
|
|
182
182
|
*/
|
|
183
183
|
density: PropTypes.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -248,7 +248,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
248
248
|
/**
|
|
249
249
|
* If `true`, `eval()` is not used for performance optimization.
|
|
250
250
|
* @default false
|
|
251
|
-
* @ignore - do not document
|
|
252
251
|
*/
|
|
253
252
|
disableEval: PropTypes.bool,
|
|
254
253
|
/**
|
|
@@ -314,7 +313,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
314
313
|
return null;
|
|
315
314
|
}),
|
|
316
315
|
/**
|
|
317
|
-
* Set the filter model of the
|
|
316
|
+
* Set the filter model of the Data Grid.
|
|
318
317
|
*/
|
|
319
318
|
filterModel: PropTypes.shape({
|
|
320
319
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -329,7 +328,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
329
328
|
quickFilterValues: PropTypes.array
|
|
330
329
|
}),
|
|
331
330
|
/**
|
|
332
|
-
* Forwarded props for the
|
|
331
|
+
* Forwarded props for the Data Grid root element.
|
|
333
332
|
* @ignore - do not document.
|
|
334
333
|
*/
|
|
335
334
|
forwardedProps: PropTypes.object,
|
|
@@ -477,7 +476,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
477
476
|
*/
|
|
478
477
|
loading: PropTypes.bool,
|
|
479
478
|
/**
|
|
480
|
-
* Set the locale text of the
|
|
479
|
+
* Set the locale text of the Data Grid.
|
|
481
480
|
* 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.
|
|
482
481
|
*/
|
|
483
482
|
localeText: PropTypes.object,
|
|
@@ -697,7 +696,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
697
696
|
*/
|
|
698
697
|
onProcessRowUpdateError: PropTypes.func,
|
|
699
698
|
/**
|
|
700
|
-
* Callback fired when the
|
|
699
|
+
* Callback fired when the Data Grid is resized.
|
|
701
700
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
702
701
|
* @param {MuiEvent<{}>} event The event object.
|
|
703
702
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -775,7 +774,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
775
774
|
*/
|
|
776
775
|
onSortModelChange: PropTypes.func,
|
|
777
776
|
/**
|
|
778
|
-
* Callback fired when the state of the
|
|
777
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
779
778
|
* @param {GridState} state The new state.
|
|
780
779
|
* @param {MuiEvent<{}>} event The event object.
|
|
781
780
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -852,7 +851,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
852
851
|
*/
|
|
853
852
|
rowGroupingModel: PropTypes.arrayOf(PropTypes.string),
|
|
854
853
|
/**
|
|
855
|
-
* Sets the height in pixel of a row in the
|
|
854
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
856
855
|
* @default 52
|
|
857
856
|
*/
|
|
858
857
|
rowHeight: PropTypes.number,
|
|
@@ -882,7 +881,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
882
881
|
*/
|
|
883
882
|
rowSelection: PropTypes.bool,
|
|
884
883
|
/**
|
|
885
|
-
* Sets the row selection model of the
|
|
884
|
+
* Sets the row selection model of the Data Grid.
|
|
886
885
|
*/
|
|
887
886
|
rowSelectionModel: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired), PropTypes.number, PropTypes.string]),
|
|
888
887
|
/**
|
|
@@ -903,7 +902,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
903
902
|
*/
|
|
904
903
|
rowThreshold: PropTypes.number,
|
|
905
904
|
/**
|
|
906
|
-
* Override the height/width of the
|
|
905
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
907
906
|
*/
|
|
908
907
|
scrollbarSize: PropTypes.number,
|
|
909
908
|
/**
|
|
@@ -942,7 +941,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
942
941
|
*/
|
|
943
942
|
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
944
943
|
/**
|
|
945
|
-
* Set the sort model of the
|
|
944
|
+
* Set the sort model of the Data Grid.
|
|
946
945
|
*/
|
|
947
946
|
sortModel: PropTypes.arrayOf(PropTypes.shape({
|
|
948
947
|
field: PropTypes.string.isRequired,
|
|
@@ -953,7 +952,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
953
952
|
*/
|
|
954
953
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
955
954
|
/**
|
|
956
|
-
* If positive, the Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
955
|
+
* If positive, the Data Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
957
956
|
* 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.
|
|
958
957
|
* @default 0
|
|
959
958
|
*/
|
|
@@ -978,7 +977,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
978
977
|
*/
|
|
979
978
|
unstable_headerFilters: PropTypes.bool,
|
|
980
979
|
/**
|
|
981
|
-
* If `true`, the
|
|
980
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
982
981
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
983
982
|
* @default false
|
|
984
983
|
*/
|
package/index.js
CHANGED
|
@@ -74,15 +74,15 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
74
74
|
current: PropTypes.object.isRequired
|
|
75
75
|
}),
|
|
76
76
|
/**
|
|
77
|
-
* The label of the
|
|
77
|
+
* The label of the Data Grid.
|
|
78
78
|
*/
|
|
79
79
|
'aria-label': PropTypes.string,
|
|
80
80
|
/**
|
|
81
|
-
* The id of the element containing a label for the
|
|
81
|
+
* The id of the element containing a label for the Data Grid.
|
|
82
82
|
*/
|
|
83
83
|
'aria-labelledby': PropTypes.string,
|
|
84
84
|
/**
|
|
85
|
-
* If `true`, the
|
|
85
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
86
86
|
* @default false
|
|
87
87
|
*/
|
|
88
88
|
autoHeight: PropTypes.bool,
|
|
@@ -111,7 +111,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
111
111
|
*/
|
|
112
112
|
cellModesModel: PropTypes.object,
|
|
113
113
|
/**
|
|
114
|
-
* If `true`, the
|
|
114
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
115
115
|
* @default false
|
|
116
116
|
*/
|
|
117
117
|
checkboxSelection: PropTypes.bool,
|
|
@@ -142,7 +142,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
142
142
|
columnBuffer: PropTypes.number,
|
|
143
143
|
columnGroupingModel: PropTypes.arrayOf(PropTypes.object),
|
|
144
144
|
/**
|
|
145
|
-
* Sets the height in pixel of the column headers in the
|
|
145
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
146
146
|
* @default 56
|
|
147
147
|
*/
|
|
148
148
|
columnHeaderHeight: PropTypes.number,
|
|
@@ -156,8 +156,8 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
156
156
|
*/
|
|
157
157
|
columnThreshold: PropTypes.number,
|
|
158
158
|
/**
|
|
159
|
-
* Set the column visibility model of the
|
|
160
|
-
* If defined, the
|
|
159
|
+
* Set the column visibility model of the Data Grid.
|
|
160
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
161
161
|
*/
|
|
162
162
|
columnVisibilityModel: PropTypes.object,
|
|
163
163
|
/**
|
|
@@ -177,7 +177,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
177
177
|
*/
|
|
178
178
|
defaultGroupingExpansionDepth: PropTypes.number,
|
|
179
179
|
/**
|
|
180
|
-
* Set the density of the
|
|
180
|
+
* Set the density of the Data Grid.
|
|
181
181
|
* @default "standard"
|
|
182
182
|
*/
|
|
183
183
|
density: PropTypes.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -248,7 +248,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
248
248
|
/**
|
|
249
249
|
* If `true`, `eval()` is not used for performance optimization.
|
|
250
250
|
* @default false
|
|
251
|
-
* @ignore - do not document
|
|
252
251
|
*/
|
|
253
252
|
disableEval: PropTypes.bool,
|
|
254
253
|
/**
|
|
@@ -314,7 +313,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
314
313
|
return null;
|
|
315
314
|
}),
|
|
316
315
|
/**
|
|
317
|
-
* Set the filter model of the
|
|
316
|
+
* Set the filter model of the Data Grid.
|
|
318
317
|
*/
|
|
319
318
|
filterModel: PropTypes.shape({
|
|
320
319
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -329,7 +328,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
329
328
|
quickFilterValues: PropTypes.array
|
|
330
329
|
}),
|
|
331
330
|
/**
|
|
332
|
-
* Forwarded props for the
|
|
331
|
+
* Forwarded props for the Data Grid root element.
|
|
333
332
|
* @ignore - do not document.
|
|
334
333
|
*/
|
|
335
334
|
forwardedProps: PropTypes.object,
|
|
@@ -477,7 +476,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
477
476
|
*/
|
|
478
477
|
loading: PropTypes.bool,
|
|
479
478
|
/**
|
|
480
|
-
* Set the locale text of the
|
|
479
|
+
* Set the locale text of the Data Grid.
|
|
481
480
|
* 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.
|
|
482
481
|
*/
|
|
483
482
|
localeText: PropTypes.object,
|
|
@@ -697,7 +696,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
697
696
|
*/
|
|
698
697
|
onProcessRowUpdateError: PropTypes.func,
|
|
699
698
|
/**
|
|
700
|
-
* Callback fired when the
|
|
699
|
+
* Callback fired when the Data Grid is resized.
|
|
701
700
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
702
701
|
* @param {MuiEvent<{}>} event The event object.
|
|
703
702
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -775,7 +774,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
775
774
|
*/
|
|
776
775
|
onSortModelChange: PropTypes.func,
|
|
777
776
|
/**
|
|
778
|
-
* Callback fired when the state of the
|
|
777
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
779
778
|
* @param {GridState} state The new state.
|
|
780
779
|
* @param {MuiEvent<{}>} event The event object.
|
|
781
780
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -852,7 +851,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
852
851
|
*/
|
|
853
852
|
rowGroupingModel: PropTypes.arrayOf(PropTypes.string),
|
|
854
853
|
/**
|
|
855
|
-
* Sets the height in pixel of a row in the
|
|
854
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
856
855
|
* @default 52
|
|
857
856
|
*/
|
|
858
857
|
rowHeight: PropTypes.number,
|
|
@@ -882,7 +881,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
882
881
|
*/
|
|
883
882
|
rowSelection: PropTypes.bool,
|
|
884
883
|
/**
|
|
885
|
-
* Sets the row selection model of the
|
|
884
|
+
* Sets the row selection model of the Data Grid.
|
|
886
885
|
*/
|
|
887
886
|
rowSelectionModel: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired), PropTypes.number, PropTypes.string]),
|
|
888
887
|
/**
|
|
@@ -903,7 +902,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
903
902
|
*/
|
|
904
903
|
rowThreshold: PropTypes.number,
|
|
905
904
|
/**
|
|
906
|
-
* Override the height/width of the
|
|
905
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
907
906
|
*/
|
|
908
907
|
scrollbarSize: PropTypes.number,
|
|
909
908
|
/**
|
|
@@ -942,7 +941,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
942
941
|
*/
|
|
943
942
|
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
944
943
|
/**
|
|
945
|
-
* Set the sort model of the
|
|
944
|
+
* Set the sort model of the Data Grid.
|
|
946
945
|
*/
|
|
947
946
|
sortModel: PropTypes.arrayOf(PropTypes.shape({
|
|
948
947
|
field: PropTypes.string.isRequired,
|
|
@@ -953,7 +952,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
953
952
|
*/
|
|
954
953
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
955
954
|
/**
|
|
956
|
-
* If positive, the Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
955
|
+
* If positive, the Data Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
957
956
|
* 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.
|
|
958
957
|
* @default 0
|
|
959
958
|
*/
|
|
@@ -978,7 +977,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
978
977
|
*/
|
|
979
978
|
unstable_headerFilters: PropTypes.bool,
|
|
980
979
|
/**
|
|
981
|
-
* If `true`, the
|
|
980
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
982
981
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
983
982
|
* @default false
|
|
984
983
|
*/
|
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 = "MTcwNDQwOTIwMDAwMA==";
|
|
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
|
|
@@ -74,15 +74,15 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
74
74
|
current: PropTypes.object.isRequired
|
|
75
75
|
}),
|
|
76
76
|
/**
|
|
77
|
-
* The label of the
|
|
77
|
+
* The label of the Data Grid.
|
|
78
78
|
*/
|
|
79
79
|
'aria-label': PropTypes.string,
|
|
80
80
|
/**
|
|
81
|
-
* The id of the element containing a label for the
|
|
81
|
+
* The id of the element containing a label for the Data Grid.
|
|
82
82
|
*/
|
|
83
83
|
'aria-labelledby': PropTypes.string,
|
|
84
84
|
/**
|
|
85
|
-
* If `true`, the
|
|
85
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
86
86
|
* @default false
|
|
87
87
|
*/
|
|
88
88
|
autoHeight: PropTypes.bool,
|
|
@@ -111,7 +111,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
111
111
|
*/
|
|
112
112
|
cellModesModel: PropTypes.object,
|
|
113
113
|
/**
|
|
114
|
-
* If `true`, the
|
|
114
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
115
115
|
* @default false
|
|
116
116
|
*/
|
|
117
117
|
checkboxSelection: PropTypes.bool,
|
|
@@ -142,7 +142,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
142
142
|
columnBuffer: PropTypes.number,
|
|
143
143
|
columnGroupingModel: PropTypes.arrayOf(PropTypes.object),
|
|
144
144
|
/**
|
|
145
|
-
* Sets the height in pixel of the column headers in the
|
|
145
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
146
146
|
* @default 56
|
|
147
147
|
*/
|
|
148
148
|
columnHeaderHeight: PropTypes.number,
|
|
@@ -156,8 +156,8 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
156
156
|
*/
|
|
157
157
|
columnThreshold: PropTypes.number,
|
|
158
158
|
/**
|
|
159
|
-
* Set the column visibility model of the
|
|
160
|
-
* If defined, the
|
|
159
|
+
* Set the column visibility model of the Data Grid.
|
|
160
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
161
161
|
*/
|
|
162
162
|
columnVisibilityModel: PropTypes.object,
|
|
163
163
|
/**
|
|
@@ -177,7 +177,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
177
177
|
*/
|
|
178
178
|
defaultGroupingExpansionDepth: PropTypes.number,
|
|
179
179
|
/**
|
|
180
|
-
* Set the density of the
|
|
180
|
+
* Set the density of the Data Grid.
|
|
181
181
|
* @default "standard"
|
|
182
182
|
*/
|
|
183
183
|
density: PropTypes.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -248,7 +248,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
248
248
|
/**
|
|
249
249
|
* If `true`, `eval()` is not used for performance optimization.
|
|
250
250
|
* @default false
|
|
251
|
-
* @ignore - do not document
|
|
252
251
|
*/
|
|
253
252
|
disableEval: PropTypes.bool,
|
|
254
253
|
/**
|
|
@@ -314,7 +313,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
314
313
|
return null;
|
|
315
314
|
}),
|
|
316
315
|
/**
|
|
317
|
-
* Set the filter model of the
|
|
316
|
+
* Set the filter model of the Data Grid.
|
|
318
317
|
*/
|
|
319
318
|
filterModel: PropTypes.shape({
|
|
320
319
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -329,7 +328,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
329
328
|
quickFilterValues: PropTypes.array
|
|
330
329
|
}),
|
|
331
330
|
/**
|
|
332
|
-
* Forwarded props for the
|
|
331
|
+
* Forwarded props for the Data Grid root element.
|
|
333
332
|
* @ignore - do not document.
|
|
334
333
|
*/
|
|
335
334
|
forwardedProps: PropTypes.object,
|
|
@@ -477,7 +476,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
477
476
|
*/
|
|
478
477
|
loading: PropTypes.bool,
|
|
479
478
|
/**
|
|
480
|
-
* Set the locale text of the
|
|
479
|
+
* Set the locale text of the Data Grid.
|
|
481
480
|
* 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.
|
|
482
481
|
*/
|
|
483
482
|
localeText: PropTypes.object,
|
|
@@ -697,7 +696,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
697
696
|
*/
|
|
698
697
|
onProcessRowUpdateError: PropTypes.func,
|
|
699
698
|
/**
|
|
700
|
-
* Callback fired when the
|
|
699
|
+
* Callback fired when the Data Grid is resized.
|
|
701
700
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
702
701
|
* @param {MuiEvent<{}>} event The event object.
|
|
703
702
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -775,7 +774,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
775
774
|
*/
|
|
776
775
|
onSortModelChange: PropTypes.func,
|
|
777
776
|
/**
|
|
778
|
-
* Callback fired when the state of the
|
|
777
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
779
778
|
* @param {GridState} state The new state.
|
|
780
779
|
* @param {MuiEvent<{}>} event The event object.
|
|
781
780
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -852,7 +851,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
852
851
|
*/
|
|
853
852
|
rowGroupingModel: PropTypes.arrayOf(PropTypes.string),
|
|
854
853
|
/**
|
|
855
|
-
* Sets the height in pixel of a row in the
|
|
854
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
856
855
|
* @default 52
|
|
857
856
|
*/
|
|
858
857
|
rowHeight: PropTypes.number,
|
|
@@ -882,7 +881,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
882
881
|
*/
|
|
883
882
|
rowSelection: PropTypes.bool,
|
|
884
883
|
/**
|
|
885
|
-
* Sets the row selection model of the
|
|
884
|
+
* Sets the row selection model of the Data Grid.
|
|
886
885
|
*/
|
|
887
886
|
rowSelectionModel: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired), PropTypes.number, PropTypes.string]),
|
|
888
887
|
/**
|
|
@@ -903,7 +902,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
903
902
|
*/
|
|
904
903
|
rowThreshold: PropTypes.number,
|
|
905
904
|
/**
|
|
906
|
-
* Override the height/width of the
|
|
905
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
907
906
|
*/
|
|
908
907
|
scrollbarSize: PropTypes.number,
|
|
909
908
|
/**
|
|
@@ -942,7 +941,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
942
941
|
*/
|
|
943
942
|
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
944
943
|
/**
|
|
945
|
-
* Set the sort model of the
|
|
944
|
+
* Set the sort model of the Data Grid.
|
|
946
945
|
*/
|
|
947
946
|
sortModel: PropTypes.arrayOf(PropTypes.shape({
|
|
948
947
|
field: PropTypes.string.isRequired,
|
|
@@ -953,7 +952,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
953
952
|
*/
|
|
954
953
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
955
954
|
/**
|
|
956
|
-
* If positive, the Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
955
|
+
* If positive, the Data Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
957
956
|
* 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.
|
|
958
957
|
* @default 0
|
|
959
958
|
*/
|
|
@@ -978,7 +977,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
978
977
|
*/
|
|
979
978
|
unstable_headerFilters: PropTypes.bool,
|
|
980
979
|
/**
|
|
981
|
-
* If `true`, the
|
|
980
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
982
981
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
983
982
|
* @default false
|
|
984
983
|
*/
|
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 = "MTcwNDQwOTIwMDAwMA==";
|
|
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
|
|
@@ -82,15 +82,15 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
82
82
|
current: _propTypes.default.object.isRequired
|
|
83
83
|
}),
|
|
84
84
|
/**
|
|
85
|
-
* The label of the
|
|
85
|
+
* The label of the Data Grid.
|
|
86
86
|
*/
|
|
87
87
|
'aria-label': _propTypes.default.string,
|
|
88
88
|
/**
|
|
89
|
-
* The id of the element containing a label for the
|
|
89
|
+
* The id of the element containing a label for the Data Grid.
|
|
90
90
|
*/
|
|
91
91
|
'aria-labelledby': _propTypes.default.string,
|
|
92
92
|
/**
|
|
93
|
-
* If `true`, the
|
|
93
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
94
94
|
* @default false
|
|
95
95
|
*/
|
|
96
96
|
autoHeight: _propTypes.default.bool,
|
|
@@ -119,7 +119,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
119
119
|
*/
|
|
120
120
|
cellModesModel: _propTypes.default.object,
|
|
121
121
|
/**
|
|
122
|
-
* If `true`, the
|
|
122
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
123
123
|
* @default false
|
|
124
124
|
*/
|
|
125
125
|
checkboxSelection: _propTypes.default.bool,
|
|
@@ -150,7 +150,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
150
150
|
columnBuffer: _propTypes.default.number,
|
|
151
151
|
columnGroupingModel: _propTypes.default.arrayOf(_propTypes.default.object),
|
|
152
152
|
/**
|
|
153
|
-
* Sets the height in pixel of the column headers in the
|
|
153
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
154
154
|
* @default 56
|
|
155
155
|
*/
|
|
156
156
|
columnHeaderHeight: _propTypes.default.number,
|
|
@@ -164,8 +164,8 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
164
164
|
*/
|
|
165
165
|
columnThreshold: _propTypes.default.number,
|
|
166
166
|
/**
|
|
167
|
-
* Set the column visibility model of the
|
|
168
|
-
* If defined, the
|
|
167
|
+
* Set the column visibility model of the Data Grid.
|
|
168
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
169
169
|
*/
|
|
170
170
|
columnVisibilityModel: _propTypes.default.object,
|
|
171
171
|
/**
|
|
@@ -185,7 +185,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
185
185
|
*/
|
|
186
186
|
defaultGroupingExpansionDepth: _propTypes.default.number,
|
|
187
187
|
/**
|
|
188
|
-
* Set the density of the
|
|
188
|
+
* Set the density of the Data Grid.
|
|
189
189
|
* @default "standard"
|
|
190
190
|
*/
|
|
191
191
|
density: _propTypes.default.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -256,7 +256,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
256
256
|
/**
|
|
257
257
|
* If `true`, `eval()` is not used for performance optimization.
|
|
258
258
|
* @default false
|
|
259
|
-
* @ignore - do not document
|
|
260
259
|
*/
|
|
261
260
|
disableEval: _propTypes.default.bool,
|
|
262
261
|
/**
|
|
@@ -322,7 +321,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
322
321
|
return null;
|
|
323
322
|
}),
|
|
324
323
|
/**
|
|
325
|
-
* Set the filter model of the
|
|
324
|
+
* Set the filter model of the Data Grid.
|
|
326
325
|
*/
|
|
327
326
|
filterModel: _propTypes.default.shape({
|
|
328
327
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
@@ -337,7 +336,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
337
336
|
quickFilterValues: _propTypes.default.array
|
|
338
337
|
}),
|
|
339
338
|
/**
|
|
340
|
-
* Forwarded props for the
|
|
339
|
+
* Forwarded props for the Data Grid root element.
|
|
341
340
|
* @ignore - do not document.
|
|
342
341
|
*/
|
|
343
342
|
forwardedProps: _propTypes.default.object,
|
|
@@ -485,7 +484,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
485
484
|
*/
|
|
486
485
|
loading: _propTypes.default.bool,
|
|
487
486
|
/**
|
|
488
|
-
* Set the locale text of the
|
|
487
|
+
* Set the locale text of the Data Grid.
|
|
489
488
|
* 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.
|
|
490
489
|
*/
|
|
491
490
|
localeText: _propTypes.default.object,
|
|
@@ -705,7 +704,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
705
704
|
*/
|
|
706
705
|
onProcessRowUpdateError: _propTypes.default.func,
|
|
707
706
|
/**
|
|
708
|
-
* Callback fired when the
|
|
707
|
+
* Callback fired when the Data Grid is resized.
|
|
709
708
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
710
709
|
* @param {MuiEvent<{}>} event The event object.
|
|
711
710
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -783,7 +782,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
783
782
|
*/
|
|
784
783
|
onSortModelChange: _propTypes.default.func,
|
|
785
784
|
/**
|
|
786
|
-
* Callback fired when the state of the
|
|
785
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
787
786
|
* @param {GridState} state The new state.
|
|
788
787
|
* @param {MuiEvent<{}>} event The event object.
|
|
789
788
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -860,7 +859,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
860
859
|
*/
|
|
861
860
|
rowGroupingModel: _propTypes.default.arrayOf(_propTypes.default.string),
|
|
862
861
|
/**
|
|
863
|
-
* Sets the height in pixel of a row in the
|
|
862
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
864
863
|
* @default 52
|
|
865
864
|
*/
|
|
866
865
|
rowHeight: _propTypes.default.number,
|
|
@@ -890,7 +889,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
890
889
|
*/
|
|
891
890
|
rowSelection: _propTypes.default.bool,
|
|
892
891
|
/**
|
|
893
|
-
* Sets the row selection model of the
|
|
892
|
+
* Sets the row selection model of the Data Grid.
|
|
894
893
|
*/
|
|
895
894
|
rowSelectionModel: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]).isRequired), _propTypes.default.number, _propTypes.default.string]),
|
|
896
895
|
/**
|
|
@@ -911,7 +910,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
911
910
|
*/
|
|
912
911
|
rowThreshold: _propTypes.default.number,
|
|
913
912
|
/**
|
|
914
|
-
* Override the height/width of the
|
|
913
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
915
914
|
*/
|
|
916
915
|
scrollbarSize: _propTypes.default.number,
|
|
917
916
|
/**
|
|
@@ -950,7 +949,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
950
949
|
*/
|
|
951
950
|
sortingOrder: _propTypes.default.arrayOf(_propTypes.default.oneOf(['asc', 'desc'])),
|
|
952
951
|
/**
|
|
953
|
-
* Set the sort model of the
|
|
952
|
+
* Set the sort model of the Data Grid.
|
|
954
953
|
*/
|
|
955
954
|
sortModel: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
956
955
|
field: _propTypes.default.string.isRequired,
|
|
@@ -961,7 +960,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
961
960
|
*/
|
|
962
961
|
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]),
|
|
963
962
|
/**
|
|
964
|
-
* If positive, the Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
963
|
+
* If positive, the Data Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
965
964
|
* 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.
|
|
966
965
|
* @default 0
|
|
967
966
|
*/
|
|
@@ -986,7 +985,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
986
985
|
*/
|
|
987
986
|
unstable_headerFilters: _propTypes.default.bool,
|
|
988
987
|
/**
|
|
989
|
-
* If `true`, the
|
|
988
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
990
989
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
991
990
|
* @default false
|
|
992
991
|
*/
|
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 = "MTcwNDQwOTIwMDAwMA==";
|
|
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.18.
|
|
3
|
+
"version": "6.18.7",
|
|
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.18.
|
|
37
|
-
"@mui/x-data-grid-pro": "6.18.
|
|
36
|
+
"@mui/x-data-grid": "6.18.7",
|
|
37
|
+
"@mui/x-data-grid-pro": "6.18.7",
|
|
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 = "MTcwNDQwOTIwMDAwMA==";
|
|
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
|