@mui/x-data-grid-pro 6.0.0 → 6.0.2
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 +103 -12
- package/DataGridPro/DataGridPro.js +6 -6
- package/hooks/features/detailPanel/useGridDetailPanelPreProcessors.js +1 -1
- package/index.js +1 -1
- package/legacy/DataGridPro/DataGridPro.js +6 -6
- package/legacy/hooks/features/detailPanel/useGridDetailPanelPreProcessors.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/models/dataGridProProps.d.ts +2 -2
- package/modern/DataGridPro/DataGridPro.js +6 -6
- package/modern/hooks/features/detailPanel/useGridDetailPanelPreProcessors.js +1 -1
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/DataGridPro/DataGridPro.js +6 -6
- package/node/hooks/features/detailPanel/useGridDetailPanelPreProcessors.js +1 -1
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +4 -4
- 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.0.2
|
|
7
|
+
|
|
8
|
+
_Mar 16, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🚀 Fire `onChange` when filling a partial date (#8082) @flaviendelangle
|
|
13
|
+
- 🎁 Support date format like `1st` (`do`) (#8188) @flaviendelangle
|
|
14
|
+
- 🌍 Add Hebrew (he-IL) locale (#8222) @ylarom
|
|
15
|
+
- 🌍 Improve Brazilian Portuguese (pt-BR), German (de-DE), and French (fr-FR) locales
|
|
16
|
+
- 📚 Documentation improvements
|
|
17
|
+
- 🐞 Bugfixes
|
|
18
|
+
|
|
19
|
+
### `@mui/x-data-grid@v6.0.2` / `@mui/x-data-grid-pro@v6.0.2` / `@mui/x-data-grid-premium@v6.0.2`
|
|
20
|
+
|
|
21
|
+
#### Changes
|
|
22
|
+
|
|
23
|
+
- [DataGrid] Fix <kbd>Space</kbd> triggering edit mode (#8180) @m4theushw
|
|
24
|
+
- [DataGrid] Remove warning when adding a custom column type (#8227) @m4theushw
|
|
25
|
+
- [l10n] Improve Brazilian Portuguese (pt-BR) locale (#8198) @JoaoSerafim3001
|
|
26
|
+
|
|
27
|
+
### `@mui/x-date-pickers@v6.0.2` / `@mui/x-date-pickers-pro@v6.0.2`
|
|
28
|
+
|
|
29
|
+
#### Changes
|
|
30
|
+
|
|
31
|
+
- [l10n] Add Hebrew (he-IL) locale (#8222) @ylarom
|
|
32
|
+
- [l10n] Improve German (de-DE) locale (#8204) @sebkasanzew
|
|
33
|
+
- [l10n] Improve French (fr-FR) locale (#8229) @marvinroger
|
|
34
|
+
- [DateRangePicker] Allow overriding `slotProps.textField` (#8201) @LukasTy
|
|
35
|
+
- [fields] Fire `onChange` when filling a partial date (#8082) @flaviendelangle
|
|
36
|
+
- [fields] Fix editing in shadow dom (#8254) @flaviendelangle
|
|
37
|
+
- [fields] Remove the duplicated warning about invalid adapter (#8187) @flaviendelangle
|
|
38
|
+
- [fields] Support date format like `1st` (`do`) (#8188) @flaviendelangle
|
|
39
|
+
- [pickers] Fix to avoid selecting sections on mobile picker field (#8228) @LukasTy
|
|
40
|
+
- [pickers] Inherit previous and next icons size from their parent button (#8218) @flaviendelangle
|
|
41
|
+
|
|
42
|
+
### Docs
|
|
43
|
+
|
|
44
|
+
- [docs] Add a warning in the migration guide for people re-enabling the clock on desktop (#8184) @flaviendelangle
|
|
45
|
+
- [docs] Add a warning for `luxon` macro tokens (#8245) @flaviendelangle
|
|
46
|
+
- [docs] Complete pickers customization pages (#8066) @alexfauquette
|
|
47
|
+
- [docs] Fix 301 redirection @oliviertassinari
|
|
48
|
+
- [docs] Fix 404 links to customization Material UI APIs (#8200) @oliviertassinari
|
|
49
|
+
- [docs] Fix `moment-hijri` demo (#8255) @LukasTy
|
|
50
|
+
- [docs] Improve migration diff (#8240) @oliviertassinari
|
|
51
|
+
- [docs] Change **What's new** page url to point to announcement blog post (#8186) @joserodolfofreitas
|
|
52
|
+
- [docs] Resolve 301 in changelog @oliviertassinari
|
|
53
|
+
|
|
54
|
+
### Core
|
|
55
|
+
|
|
56
|
+
- [core] Regen api docs (#8220) @flaviendelangle
|
|
57
|
+
- [core] Remove duplicated `/` (#8223) @alexfauquette
|
|
58
|
+
|
|
59
|
+
## 6.0.1
|
|
60
|
+
|
|
61
|
+
_Mar 9, 2023_
|
|
62
|
+
|
|
63
|
+
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
64
|
+
|
|
65
|
+
- 🌍 Improve French (fr-FR) locale (#8122) @MaherSamiGMC
|
|
66
|
+
- 📚 Documentation improvements
|
|
67
|
+
- 🐞 Bugfixes
|
|
68
|
+
|
|
69
|
+
### `@mui/x-data-grid@v6.0.1` / `@mui/x-data-grid-pro@v6.0.1` / `@mui/x-data-grid-premium@v6.0.1`
|
|
70
|
+
|
|
71
|
+
#### Changes
|
|
72
|
+
|
|
73
|
+
- [DataGrid] Fix `MenuProps.onClose` being overridden for single select edit component (#8174) @rohitnatesh
|
|
74
|
+
- [DataGrid] Simplify `buildPrintWindow` (#8142) @oliviertassinari
|
|
75
|
+
- [l10n] Improve French (fr-FR) locale (#8122) @MaherSamiGMC
|
|
76
|
+
|
|
77
|
+
### `@mui/x-date-pickers@v6.0.1` / `@mui/x-date-pickers-pro@v6.0.1`
|
|
78
|
+
|
|
79
|
+
#### Changes
|
|
80
|
+
|
|
81
|
+
- [pickers] Add a runtime warning when a `renderInput` prop is passed to a picker (#8183) @flaviendelangle
|
|
82
|
+
- [pickers] Don't pass `ownerState` to the `inputAdornment` slot (#8165) @flaviendelangle
|
|
83
|
+
|
|
84
|
+
### Docs
|
|
85
|
+
|
|
86
|
+
- [docs] Fix a typo in the migration guide (#8152) @flaviendelangle
|
|
87
|
+
- [docs] Fix package version used in CodeSandbox demos (#8125) @cherniavskii
|
|
88
|
+
- [docs] Fix typos across codebase (#8126) @stavares843
|
|
89
|
+
- [docs] Improve Data Grid quick filter documentation (#8109) @MBilalShafi
|
|
90
|
+
- [docs] Improve link from npm to docs (#8141) @oliviertassinari
|
|
91
|
+
- [docs] Remove test sections (#8177) @m4theushw
|
|
92
|
+
|
|
93
|
+
### Core
|
|
94
|
+
|
|
95
|
+
- [core] Upgrade monorepo (#8162) @m4theushw
|
|
96
|
+
|
|
6
97
|
## 6.0.0
|
|
7
98
|
|
|
8
99
|
_Mar 3, 2023_
|
|
@@ -987,7 +1078,7 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
|
|
|
987
1078
|
<DataGridPremium unstable_cellSelection />
|
|
988
1079
|
```
|
|
989
1080
|
|
|
990
|
-
See [the documentation](https://mui.com/x/react-data-grid/
|
|
1081
|
+
See [the documentation](https://mui.com/x/react-data-grid/cell-selection/) for more information
|
|
991
1082
|
|
|
992
1083
|
- 🌍 Support the Right To Left orientation on the fields components
|
|
993
1084
|
- 📚 Documentation improvements
|
|
@@ -3044,7 +3135,7 @@ _Sep 2, 2022_
|
|
|
3044
3135
|
|
|
3045
3136
|
🎉 We are excited to finally introduce a stable release (v5.0.0) for the `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` packages!
|
|
3046
3137
|
|
|
3047
|
-
If you are still using picker components from the `lab`, take a look at the [migration guide](https://mui.com/x/
|
|
3138
|
+
If you are still using picker components from the `lab`, take a look at the [migration guide](https://mui.com/x/migration/migration-pickers-lab/).
|
|
3048
3139
|
|
|
3049
3140
|
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
3050
3141
|
|
|
@@ -3184,7 +3275,7 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
|
|
|
3184
3275
|
|
|
3185
3276
|
#### Changes
|
|
3186
3277
|
|
|
3187
|
-
- [DataGrid] Fix <kbd>Enter</kbd> causing Select to re-open when
|
|
3278
|
+
- [DataGrid] Fix <kbd>Enter</kbd> causing Select to re-open when committing value (#5756) @m4theushw
|
|
3188
3279
|
- [DataGrid] Fix `GridOverlays` bypassing pointer events (#5674) @philjones88
|
|
3189
3280
|
|
|
3190
3281
|
### `@mui/x-date-pickers@v5.0.0-beta.6` / `@mui/x-date-picker-pro@v5.0.0-beta.6`
|
|
@@ -3228,7 +3319,7 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
|
|
|
3228
3319
|
#### Changes
|
|
3229
3320
|
|
|
3230
3321
|
- [DataGrid] Catch errors if rows freezing is not supported (#5711) @cherniavskii
|
|
3231
|
-
- [DataGrid] Preserve cell mode when entering edit mode while
|
|
3322
|
+
- [DataGrid] Preserve cell mode when entering edit mode while committing (#5686) @m4theushw
|
|
3232
3323
|
- [DataGridPremium] Let quick filter search in row grouping children (#5701) @alexfauquette
|
|
3233
3324
|
|
|
3234
3325
|
### `@mui/x-date-pickers@v5.0.0-beta.5` / `@mui/x-date-picker-pro@5.0.0-beta.5`
|
|
@@ -4095,7 +4186,7 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
|
|
|
4095
4186
|
|
|
4096
4187
|
Date and time picker components have been moved to the MUI X repository.
|
|
4097
4188
|
They are now accessible in their own packages: `@mui/x-date-pickers` and `@mui/x-date-pickers-pro`.
|
|
4098
|
-
For more information, you can read the [blog article](https://mui.com/blog/lab-date-pickers-to-mui-x/) and the [migration guide](https://mui.com/x/
|
|
4189
|
+
For more information, you can read the [blog article](https://mui.com/blog/lab-date-pickers-to-mui-x/) and the [migration guide](https://mui.com/x/migration/migration-pickers-lab/).
|
|
4099
4190
|
|
|
4100
4191
|
- 📝 Add `onProcessRowUpdateError` prop to simplify error management in edit mode (#4267) @m4theushw
|
|
4101
4192
|
- ✨ Add generic typing to `GridColDef` and derived interfaces (#4064) @flaviendelangle
|
|
@@ -4155,7 +4246,7 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
|
|
|
4155
4246
|
- [core] Remove dead code (#4283) @oliviertassinari
|
|
4156
4247
|
- [core] Rename the "pre-processing" concept "pipe-processing" (#4261) @flaviendelangle
|
|
4157
4248
|
- [core] Reuse previous state when updating the columns prop (#4229) @m4theushw
|
|
4158
|
-
- [core] Fix Argos
|
|
4249
|
+
- [core] Fix Argos flakiness for pickers tests (#4312) @flaviendelangle
|
|
4159
4250
|
|
|
4160
4251
|
## 5.7.0
|
|
4161
4252
|
|
|
@@ -5705,7 +5796,7 @@ A big thanks to the 5 contributors who made this release possible. Here are some
|
|
|
5705
5796
|
|
|
5706
5797
|
- [docs] Add section for controlled selection and server-side pagination (#2602) @DanailH
|
|
5707
5798
|
- [docs] Fix Algolia search (#2655) @oliviertassinari
|
|
5708
|
-
- [docs] Improve the
|
|
5799
|
+
- [docs] Improve the search results relevance (#2656) @oliviertassinari
|
|
5709
5800
|
- [docs] Update installation instructions (#2663) @m4theushw
|
|
5710
5801
|
|
|
5711
5802
|
### Core
|
|
@@ -6743,7 +6834,7 @@ Big thanks to the 11 contributors who made this release possible. Here are some
|
|
|
6743
6834
|
- 💅 Add `columnHeader`, `row` and `cell` to the `classes` prop (#1660) @DanailH
|
|
6744
6835
|
- ✅ Add the `isRowSelectable` prop to disable selection on certain rows (#1659) @m4theushw
|
|
6745
6836
|
|
|
6746
|
-
See the documentation for [more details](https://mui.com/
|
|
6837
|
+
See the documentation for [more details](https://v4.mui.com/components/data-grid/selection/#disable-selection-on-certain-rows).
|
|
6747
6838
|
|
|
6748
6839
|
- ⚡️ Add new icon slot to be displayed when the column is unsorted (#1415) @m4theushw
|
|
6749
6840
|
- ⚙ Improve consistency of the API to prepare for the first beta release
|
|
@@ -7069,7 +7160,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
|
|
|
7069
7160
|
}
|
|
7070
7161
|
```
|
|
7071
7162
|
|
|
7072
|
-
- [DataGrid] Upgrade
|
|
7163
|
+
- [DataGrid] Upgrade minimum supported version of React to 17.0.0 (#1410) @m4theushw
|
|
7073
7164
|
|
|
7074
7165
|
#### Changes
|
|
7075
7166
|
|
|
@@ -7199,7 +7290,7 @@ Big thanks to the 6 contributors who made this release possible. Here are some h
|
|
|
7199
7290
|
|
|
7200
7291
|
- [docs] Add demo page (#1147) @DanailH
|
|
7201
7292
|
- [docs] Fix typo in localization.md (#1155) @michael-martin-al
|
|
7202
|
-
- [docs] Improve the
|
|
7293
|
+
- [docs] Improve the description of the individual packages (#1139) @oliviertassinari
|
|
7203
7294
|
- [docs] Fix rendering docs to solve custom pagination issue (#1159) @consDev
|
|
7204
7295
|
|
|
7205
7296
|
### Core
|
|
@@ -7271,7 +7362,7 @@ Big thanks to the 4 contributors who made this release possible. Here are some h
|
|
|
7271
7362
|
- 📍 Add support for default locales (#983) @DanailH
|
|
7272
7363
|
We have built the infrastructure to support around 100 [default locales](https://mui.com/x/react-data-grid/localization/#supported-locales). If you have localized the data grid in your application. Please do consider contributing new translations back to Material UI by opening a pull request.
|
|
7273
7364
|
- 🎁 Add new `selectionModel` prop (#986) @dtassone
|
|
7274
|
-
The prop can be used to control the selected rows in the data grid. [See the docs](https://mui.com/
|
|
7365
|
+
The prop can be used to control the selected rows in the data grid. [See the docs](https://v4.mui.com/components/data-grid/selection/#controlled-selection).
|
|
7275
7366
|
- 💅 Add support for default props from theme (#1019) @DanailH
|
|
7276
7367
|
- 🙌 Fix scrollbar size on windows (#1061) @dtassone
|
|
7277
7368
|
- 🐛 Polish existing features, fix 9 issues.
|
|
@@ -7376,7 +7467,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
|
|
|
7376
7467
|
- [DataGrid] Fix footer visual regression (#932) @dtassone
|
|
7377
7468
|
- [DataGrid] Fix strict mode issue with apiRef (#933) @dtassone
|
|
7378
7469
|
- [DataGrid] Work on the accessibility of the column menu (#900) @zj9495
|
|
7379
|
-
- [DataGrid] Fix timing
|
|
7470
|
+
- [DataGrid] Fix timing guarantee (#981) @oliviertassinari
|
|
7380
7471
|
- [DataGrid] Fix unstable footer height (#937) @oliviertassinari
|
|
7381
7472
|
- [DataGrid] Fix usage of the prop-types API (#955) @oliviertassinari
|
|
7382
7473
|
- [DataGrid] Fix duplicate aria-label (#953) @oliviertassinari
|
|
@@ -117,12 +117,12 @@ DataGridProRaw.propTypes = {
|
|
|
117
117
|
*/
|
|
118
118
|
columnVisibilityModel: PropTypes.object,
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* Overridable components.
|
|
121
121
|
* @deprecated Use the `slots` prop instead.
|
|
122
122
|
*/
|
|
123
123
|
components: PropTypes.object,
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* Overridable components props dynamically passed to the component at rendering.
|
|
126
126
|
* @deprecated Use the `slotProps` prop instead.
|
|
127
127
|
*/
|
|
128
128
|
componentsProps: PropTypes.object,
|
|
@@ -439,7 +439,7 @@ DataGridProRaw.propTypes = {
|
|
|
439
439
|
onCellKeyDown: PropTypes.func,
|
|
440
440
|
/**
|
|
441
441
|
* Callback fired when the `cellModesModel` prop changes.
|
|
442
|
-
* @param {GridCellModesModel} cellModesModel Object
|
|
442
|
+
* @param {GridCellModesModel} cellModesModel Object containing which cells are in "edit" mode.
|
|
443
443
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
444
444
|
*/
|
|
445
445
|
onCellModesModelChange: PropTypes.func,
|
|
@@ -618,7 +618,7 @@ DataGridProRaw.propTypes = {
|
|
|
618
618
|
onRowEditStop: PropTypes.func,
|
|
619
619
|
/**
|
|
620
620
|
* Callback fired when the `rowModesModel` prop changes.
|
|
621
|
-
* @param {GridRowModesModel} rowModesModel Object
|
|
621
|
+
* @param {GridRowModesModel} rowModesModel Object containing which rows are in "edit" mode.
|
|
622
622
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
623
623
|
*/
|
|
624
624
|
onRowModesModelChange: PropTypes.func,
|
|
@@ -776,11 +776,11 @@ DataGridProRaw.propTypes = {
|
|
|
776
776
|
*/
|
|
777
777
|
showColumnVerticalBorder: PropTypes.bool,
|
|
778
778
|
/**
|
|
779
|
-
*
|
|
779
|
+
* Overridable components props dynamically passed to the component at rendering.
|
|
780
780
|
*/
|
|
781
781
|
slotProps: PropTypes.object,
|
|
782
782
|
/**
|
|
783
|
-
*
|
|
783
|
+
* Overridable components.
|
|
784
784
|
*/
|
|
785
785
|
slots: PropTypes.object,
|
|
786
786
|
/**
|
|
@@ -20,7 +20,7 @@ export const useGridDetailPanelPreProcessors = (privateApiRef, props) => {
|
|
|
20
20
|
return columnsState;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
//
|
|
23
|
+
// Otherwise, add the toggle column at the beginning
|
|
24
24
|
columnsState.orderedFields = [GRID_DETAIL_PANEL_TOGGLE_FIELD, ...columnsState.orderedFields];
|
|
25
25
|
columnsState.lookup[GRID_DETAIL_PANEL_TOGGLE_FIELD] = _extends({}, GRID_DETAIL_PANEL_TOGGLE_COL_DEF, {
|
|
26
26
|
headerName: privateApiRef.current.getLocaleText('detailPanelToggle')
|
package/index.js
CHANGED
|
@@ -117,12 +117,12 @@ DataGridProRaw.propTypes = {
|
|
|
117
117
|
*/
|
|
118
118
|
columnVisibilityModel: PropTypes.object,
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* Overridable components.
|
|
121
121
|
* @deprecated Use the `slots` prop instead.
|
|
122
122
|
*/
|
|
123
123
|
components: PropTypes.object,
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* Overridable components props dynamically passed to the component at rendering.
|
|
126
126
|
* @deprecated Use the `slotProps` prop instead.
|
|
127
127
|
*/
|
|
128
128
|
componentsProps: PropTypes.object,
|
|
@@ -439,7 +439,7 @@ DataGridProRaw.propTypes = {
|
|
|
439
439
|
onCellKeyDown: PropTypes.func,
|
|
440
440
|
/**
|
|
441
441
|
* Callback fired when the `cellModesModel` prop changes.
|
|
442
|
-
* @param {GridCellModesModel} cellModesModel Object
|
|
442
|
+
* @param {GridCellModesModel} cellModesModel Object containing which cells are in "edit" mode.
|
|
443
443
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
444
444
|
*/
|
|
445
445
|
onCellModesModelChange: PropTypes.func,
|
|
@@ -618,7 +618,7 @@ DataGridProRaw.propTypes = {
|
|
|
618
618
|
onRowEditStop: PropTypes.func,
|
|
619
619
|
/**
|
|
620
620
|
* Callback fired when the `rowModesModel` prop changes.
|
|
621
|
-
* @param {GridRowModesModel} rowModesModel Object
|
|
621
|
+
* @param {GridRowModesModel} rowModesModel Object containing which rows are in "edit" mode.
|
|
622
622
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
623
623
|
*/
|
|
624
624
|
onRowModesModelChange: PropTypes.func,
|
|
@@ -776,11 +776,11 @@ DataGridProRaw.propTypes = {
|
|
|
776
776
|
*/
|
|
777
777
|
showColumnVerticalBorder: PropTypes.bool,
|
|
778
778
|
/**
|
|
779
|
-
*
|
|
779
|
+
* Overridable components props dynamically passed to the component at rendering.
|
|
780
780
|
*/
|
|
781
781
|
slotProps: PropTypes.object,
|
|
782
782
|
/**
|
|
783
|
-
*
|
|
783
|
+
* Overridable components.
|
|
784
784
|
*/
|
|
785
785
|
slots: PropTypes.object,
|
|
786
786
|
/**
|
|
@@ -23,7 +23,7 @@ export var useGridDetailPanelPreProcessors = function useGridDetailPanelPreProce
|
|
|
23
23
|
return columnsState;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
//
|
|
26
|
+
// Otherwise, add the toggle column at the beginning
|
|
27
27
|
columnsState.orderedFields = [GRID_DETAIL_PANEL_TOGGLE_FIELD].concat(_toConsumableArray(columnsState.orderedFields));
|
|
28
28
|
columnsState.lookup[GRID_DETAIL_PANEL_TOGGLE_FIELD] = _extends({}, GRID_DETAIL_PANEL_TOGGLE_COL_DEF, {
|
|
29
29
|
headerName: privateApiRef.current.getLocaleText('detailPanelToggle')
|
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 = "MTY3ODkxNzYwMDAwMA==";
|
|
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
|
|
@@ -15,12 +15,12 @@ export interface GridExperimentalProFeatures extends GridExperimentalFeatures {
|
|
|
15
15
|
}
|
|
16
16
|
interface DataGridProPropsWithComplexDefaultValueBeforeProcessing extends Omit<DataGridPropsWithComplexDefaultValueBeforeProcessing, 'components'> {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Overridable components.
|
|
19
19
|
* @deprecated Use the `slots` prop instead.
|
|
20
20
|
*/
|
|
21
21
|
components?: Partial<GridProSlotsComponent>;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Overridable components.
|
|
24
24
|
*/
|
|
25
25
|
slots?: Partial<UncapitalizedGridProSlotsComponent>;
|
|
26
26
|
}
|
|
@@ -117,12 +117,12 @@ DataGridProRaw.propTypes = {
|
|
|
117
117
|
*/
|
|
118
118
|
columnVisibilityModel: PropTypes.object,
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* Overridable components.
|
|
121
121
|
* @deprecated Use the `slots` prop instead.
|
|
122
122
|
*/
|
|
123
123
|
components: PropTypes.object,
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* Overridable components props dynamically passed to the component at rendering.
|
|
126
126
|
* @deprecated Use the `slotProps` prop instead.
|
|
127
127
|
*/
|
|
128
128
|
componentsProps: PropTypes.object,
|
|
@@ -439,7 +439,7 @@ DataGridProRaw.propTypes = {
|
|
|
439
439
|
onCellKeyDown: PropTypes.func,
|
|
440
440
|
/**
|
|
441
441
|
* Callback fired when the `cellModesModel` prop changes.
|
|
442
|
-
* @param {GridCellModesModel} cellModesModel Object
|
|
442
|
+
* @param {GridCellModesModel} cellModesModel Object containing which cells are in "edit" mode.
|
|
443
443
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
444
444
|
*/
|
|
445
445
|
onCellModesModelChange: PropTypes.func,
|
|
@@ -618,7 +618,7 @@ DataGridProRaw.propTypes = {
|
|
|
618
618
|
onRowEditStop: PropTypes.func,
|
|
619
619
|
/**
|
|
620
620
|
* Callback fired when the `rowModesModel` prop changes.
|
|
621
|
-
* @param {GridRowModesModel} rowModesModel Object
|
|
621
|
+
* @param {GridRowModesModel} rowModesModel Object containing which rows are in "edit" mode.
|
|
622
622
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
623
623
|
*/
|
|
624
624
|
onRowModesModelChange: PropTypes.func,
|
|
@@ -776,11 +776,11 @@ DataGridProRaw.propTypes = {
|
|
|
776
776
|
*/
|
|
777
777
|
showColumnVerticalBorder: PropTypes.bool,
|
|
778
778
|
/**
|
|
779
|
-
*
|
|
779
|
+
* Overridable components props dynamically passed to the component at rendering.
|
|
780
780
|
*/
|
|
781
781
|
slotProps: PropTypes.object,
|
|
782
782
|
/**
|
|
783
|
-
*
|
|
783
|
+
* Overridable components.
|
|
784
784
|
*/
|
|
785
785
|
slots: PropTypes.object,
|
|
786
786
|
/**
|
|
@@ -20,7 +20,7 @@ export const useGridDetailPanelPreProcessors = (privateApiRef, props) => {
|
|
|
20
20
|
return columnsState;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
//
|
|
23
|
+
// Otherwise, add the toggle column at the beginning
|
|
24
24
|
columnsState.orderedFields = [GRID_DETAIL_PANEL_TOGGLE_FIELD, ...columnsState.orderedFields];
|
|
25
25
|
columnsState.lookup[GRID_DETAIL_PANEL_TOGGLE_FIELD] = _extends({}, GRID_DETAIL_PANEL_TOGGLE_COL_DEF, {
|
|
26
26
|
headerName: privateApiRef.current.getLocaleText('detailPanelToggle')
|
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 = "MTY3ODkxNzYwMDAwMA==";
|
|
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
|
|
@@ -126,12 +126,12 @@ DataGridProRaw.propTypes = {
|
|
|
126
126
|
*/
|
|
127
127
|
columnVisibilityModel: _propTypes.default.object,
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
129
|
+
* Overridable components.
|
|
130
130
|
* @deprecated Use the `slots` prop instead.
|
|
131
131
|
*/
|
|
132
132
|
components: _propTypes.default.object,
|
|
133
133
|
/**
|
|
134
|
-
*
|
|
134
|
+
* Overridable components props dynamically passed to the component at rendering.
|
|
135
135
|
* @deprecated Use the `slotProps` prop instead.
|
|
136
136
|
*/
|
|
137
137
|
componentsProps: _propTypes.default.object,
|
|
@@ -448,7 +448,7 @@ DataGridProRaw.propTypes = {
|
|
|
448
448
|
onCellKeyDown: _propTypes.default.func,
|
|
449
449
|
/**
|
|
450
450
|
* Callback fired when the `cellModesModel` prop changes.
|
|
451
|
-
* @param {GridCellModesModel} cellModesModel Object
|
|
451
|
+
* @param {GridCellModesModel} cellModesModel Object containing which cells are in "edit" mode.
|
|
452
452
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
453
453
|
*/
|
|
454
454
|
onCellModesModelChange: _propTypes.default.func,
|
|
@@ -627,7 +627,7 @@ DataGridProRaw.propTypes = {
|
|
|
627
627
|
onRowEditStop: _propTypes.default.func,
|
|
628
628
|
/**
|
|
629
629
|
* Callback fired when the `rowModesModel` prop changes.
|
|
630
|
-
* @param {GridRowModesModel} rowModesModel Object
|
|
630
|
+
* @param {GridRowModesModel} rowModesModel Object containing which rows are in "edit" mode.
|
|
631
631
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
632
632
|
*/
|
|
633
633
|
onRowModesModelChange: _propTypes.default.func,
|
|
@@ -785,11 +785,11 @@ DataGridProRaw.propTypes = {
|
|
|
785
785
|
*/
|
|
786
786
|
showColumnVerticalBorder: _propTypes.default.bool,
|
|
787
787
|
/**
|
|
788
|
-
*
|
|
788
|
+
* Overridable components props dynamically passed to the component at rendering.
|
|
789
789
|
*/
|
|
790
790
|
slotProps: _propTypes.default.object,
|
|
791
791
|
/**
|
|
792
|
-
*
|
|
792
|
+
* Overridable components.
|
|
793
793
|
*/
|
|
794
794
|
slots: _propTypes.default.object,
|
|
795
795
|
/**
|
|
@@ -29,7 +29,7 @@ const useGridDetailPanelPreProcessors = (privateApiRef, props) => {
|
|
|
29
29
|
return columnsState;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
//
|
|
32
|
+
// Otherwise, add the toggle column at the beginning
|
|
33
33
|
columnsState.orderedFields = [_gridDetailPanelToggleColDef.GRID_DETAIL_PANEL_TOGGLE_FIELD, ...columnsState.orderedFields];
|
|
34
34
|
columnsState.lookup[_gridDetailPanelToggleColDef.GRID_DETAIL_PANEL_TOGGLE_FIELD] = (0, _extends2.default)({}, _gridDetailPanelToggleColDef.GRID_DETAIL_PANEL_TOGGLE_COL_DEF, {
|
|
35
35
|
headerName: privateApiRef.current.getLocaleText('detailPanelToggle')
|
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 = "MTY3ODkxNzYwMDAwMA==";
|
|
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.0.
|
|
3
|
+
"version": "6.0.2",
|
|
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",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.20.13",
|
|
35
|
-
"@mui/utils": "^5.11.
|
|
36
|
-
"@mui/x-data-grid": "6.0.
|
|
37
|
-
"@mui/x-license-pro": "6.0.
|
|
35
|
+
"@mui/utils": "^5.11.13",
|
|
36
|
+
"@mui/x-data-grid": "6.0.2",
|
|
37
|
+
"@mui/x-license-pro": "6.0.2",
|
|
38
38
|
"@types/format-util": "^1.0.2",
|
|
39
39
|
"clsx": "^1.2.1",
|
|
40
40
|
"prop-types": "^15.8.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 = "MTY3ODkxNzYwMDAwMA==";
|
|
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
|