@mui/x-data-grid-pro 6.0.0 → 6.0.1

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 CHANGED
@@ -3,6 +3,44 @@
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.1
7
+
8
+ _Mar 9, 2023_
9
+
10
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🌍 Improve French (fr-FR) locale (#8122) @MaherSamiGMC
13
+ - 📚 Documentation improvements
14
+ - 🐞 Bugfixes
15
+
16
+ ### `@mui/x-data-grid@v6.0.1` / `@mui/x-data-grid-pro@v6.0.1` / `@mui/x-data-grid-premium@v6.0.1`
17
+
18
+ #### Changes
19
+
20
+ - [DataGrid] Fix `MenuProps.onClose` being overridden for single select edit component (#8174) @rohitnatesh
21
+ - [DataGrid] Simplify `buildPrintWindow` (#8142) @oliviertassinari
22
+ - [l10n] Improve French (fr-FR) locale (#8122) @MaherSamiGMC
23
+
24
+ ### `@mui/x-date-pickers@v6.0.1` / `@mui/x-date-pickers-pro@v6.0.1`
25
+
26
+ #### Changes
27
+
28
+ - [pickers] Add a runtime warning when a `renderInput` prop is passed to a picker (#8183) @flaviendelangle
29
+ - [pickers] Don't pass `ownerState` to the `inputAdornment` slot (#8165) @flaviendelangle
30
+
31
+ ### Docs
32
+
33
+ - [docs] Fix a typo in the migration guide (#8152) @flaviendelangle
34
+ - [docs] Fix package version used in CodeSandbox demos (#8125) @cherniavskii
35
+ - [docs] Fix typos across codebase (#8126) @stavares843
36
+ - [docs] Improve Data Grid quick filter documentation (#8109) @MBilalShafi
37
+ - [docs] Improve link from npm to docs (#8141) @oliviertassinari
38
+ - [docs] Remove test sections (#8177) @m4theushw
39
+
40
+ ### Core
41
+
42
+ - [core] Upgrade monorepo (#8162) @m4theushw
43
+
6
44
  ## 6.0.0
7
45
 
8
46
  _Mar 3, 2023_
@@ -3184,7 +3222,7 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
3184
3222
 
3185
3223
  #### Changes
3186
3224
 
3187
- - [DataGrid] Fix <kbd>Enter</kbd> causing Select to re-open when commiting value (#5756) @m4theushw
3225
+ - [DataGrid] Fix <kbd>Enter</kbd> causing Select to re-open when committing value (#5756) @m4theushw
3188
3226
  - [DataGrid] Fix `GridOverlays` bypassing pointer events (#5674) @philjones88
3189
3227
 
3190
3228
  ### `@mui/x-date-pickers@v5.0.0-beta.6` / `@mui/x-date-picker-pro@v5.0.0-beta.6`
@@ -3228,7 +3266,7 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
3228
3266
  #### Changes
3229
3267
 
3230
3268
  - [DataGrid] Catch errors if rows freezing is not supported (#5711) @cherniavskii
3231
- - [DataGrid] Preserve cell mode when entering edit mode while commiting (#5686) @m4theushw
3269
+ - [DataGrid] Preserve cell mode when entering edit mode while committing (#5686) @m4theushw
3232
3270
  - [DataGridPremium] Let quick filter search in row grouping children (#5701) @alexfauquette
3233
3271
 
3234
3272
  ### `@mui/x-date-pickers@v5.0.0-beta.5` / `@mui/x-date-picker-pro@5.0.0-beta.5`
@@ -4155,7 +4193,7 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
4155
4193
  - [core] Remove dead code (#4283) @oliviertassinari
4156
4194
  - [core] Rename the "pre-processing" concept "pipe-processing" (#4261) @flaviendelangle
4157
4195
  - [core] Reuse previous state when updating the columns prop (#4229) @m4theushw
4158
- - [core] Fix Argos flakyness for pickers tests (#4312) @flaviendelangle
4196
+ - [core] Fix Argos flakiness for pickers tests (#4312) @flaviendelangle
4159
4197
 
4160
4198
  ## 5.7.0
4161
4199
 
@@ -5705,7 +5743,7 @@ A big thanks to the 5 contributors who made this release possible. Here are some
5705
5743
 
5706
5744
  - [docs] Add section for controlled selection and server-side pagination (#2602) @DanailH
5707
5745
  - [docs] Fix Algolia search (#2655) @oliviertassinari
5708
- - [docs] Improve the seach results relevance (#2656) @oliviertassinari
5746
+ - [docs] Improve the search results relevance (#2656) @oliviertassinari
5709
5747
  - [docs] Update installation instructions (#2663) @m4theushw
5710
5748
 
5711
5749
  ### Core
@@ -7069,7 +7107,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
7069
7107
  }
7070
7108
  ```
7071
7109
 
7072
- - [DataGrid] Upgrade mininum supported version of React to 17.0.0 (#1410) @m4theushw
7110
+ - [DataGrid] Upgrade minimum supported version of React to 17.0.0 (#1410) @m4theushw
7073
7111
 
7074
7112
  #### Changes
7075
7113
 
@@ -7199,7 +7237,7 @@ Big thanks to the 6 contributors who made this release possible. Here are some h
7199
7237
 
7200
7238
  - [docs] Add demo page (#1147) @DanailH
7201
7239
  - [docs] Fix typo in localization.md (#1155) @michael-martin-al
7202
- - [docs] Improve the desciption of the individual packages (#1139) @oliviertassinari
7240
+ - [docs] Improve the description of the individual packages (#1139) @oliviertassinari
7203
7241
  - [docs] Fix rendering docs to solve custom pagination issue (#1159) @consDev
7204
7242
 
7205
7243
  ### Core
@@ -7376,7 +7414,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
7376
7414
  - [DataGrid] Fix footer visual regression (#932) @dtassone
7377
7415
  - [DataGrid] Fix strict mode issue with apiRef (#933) @dtassone
7378
7416
  - [DataGrid] Work on the accessibility of the column menu (#900) @zj9495
7379
- - [DataGrid] Fix timing guarentee (#981) @oliviertassinari
7417
+ - [DataGrid] Fix timing guarantee (#981) @oliviertassinari
7380
7418
  - [DataGrid] Fix unstable footer height (#937) @oliviertassinari
7381
7419
  - [DataGrid] Fix usage of the prop-types API (#955) @oliviertassinari
7382
7420
  - [DataGrid] Fix duplicate aria-label (#953) @oliviertassinari
@@ -117,12 +117,12 @@ DataGridProRaw.propTypes = {
117
117
  */
118
118
  columnVisibilityModel: PropTypes.object,
119
119
  /**
120
- * Overrideable components.
120
+ * Overridable components.
121
121
  * @deprecated Use the `slots` prop instead.
122
122
  */
123
123
  components: PropTypes.object,
124
124
  /**
125
- * Overrideable components props dynamically passed to the component at rendering.
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 containig which cells are in "edit" mode.
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 containig which rows are in "edit" mode.
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
- * Overrideable components props dynamically passed to the component at rendering.
779
+ * Overridable components props dynamically passed to the component at rendering.
780
780
  */
781
781
  slotProps: PropTypes.object,
782
782
  /**
783
- * Overrideable components.
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
- // Othewise, add the toggle column at the beginning
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.0.0
2
+ * @mui/x-data-grid-pro v6.0.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -117,12 +117,12 @@ DataGridProRaw.propTypes = {
117
117
  */
118
118
  columnVisibilityModel: PropTypes.object,
119
119
  /**
120
- * Overrideable components.
120
+ * Overridable components.
121
121
  * @deprecated Use the `slots` prop instead.
122
122
  */
123
123
  components: PropTypes.object,
124
124
  /**
125
- * Overrideable components props dynamically passed to the component at rendering.
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 containig which cells are in "edit" mode.
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 containig which rows are in "edit" mode.
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
- * Overrideable components props dynamically passed to the component at rendering.
779
+ * Overridable components props dynamically passed to the component at rendering.
780
780
  */
781
781
  slotProps: PropTypes.object,
782
782
  /**
783
- * Overrideable components.
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
- // Othewise, add the toggle column at the beginning
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,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.0.0
2
+ * @mui/x-data-grid-pro v6.0.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export var getReleaseInfo = function getReleaseInfo() {
3
- var releaseInfo = "MTY3Nzc5ODAwMDAwMA==";
3
+ var releaseInfo = "MTY3ODMwMjAwMDAwMA==";
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
- * Overrideable components.
18
+ * Overridable components.
19
19
  * @deprecated Use the `slots` prop instead.
20
20
  */
21
21
  components?: Partial<GridProSlotsComponent>;
22
22
  /**
23
- * Overrideable components.
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
- * Overrideable components.
120
+ * Overridable components.
121
121
  * @deprecated Use the `slots` prop instead.
122
122
  */
123
123
  components: PropTypes.object,
124
124
  /**
125
- * Overrideable components props dynamically passed to the component at rendering.
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 containig which cells are in "edit" mode.
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 containig which rows are in "edit" mode.
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
- * Overrideable components props dynamically passed to the component at rendering.
779
+ * Overridable components props dynamically passed to the component at rendering.
780
780
  */
781
781
  slotProps: PropTypes.object,
782
782
  /**
783
- * Overrideable components.
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
- // Othewise, add the toggle column at the beginning
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,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.0.0
2
+ * @mui/x-data-grid-pro v6.0.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY3Nzc5ODAwMDAwMA==";
3
+ const releaseInfo = "MTY3ODMwMjAwMDAwMA==";
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
- * Overrideable components.
129
+ * Overridable components.
130
130
  * @deprecated Use the `slots` prop instead.
131
131
  */
132
132
  components: _propTypes.default.object,
133
133
  /**
134
- * Overrideable components props dynamically passed to the component at rendering.
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 containig which cells are in "edit" mode.
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 containig which rows are in "edit" mode.
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
- * Overrideable components props dynamically passed to the component at rendering.
788
+ * Overridable components props dynamically passed to the component at rendering.
789
789
  */
790
790
  slotProps: _propTypes.default.object,
791
791
  /**
792
- * Overrideable components.
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
- // Othewise, add the toggle column at the beginning
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.0.0
2
+ * @mui/x-data-grid-pro v6.0.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -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 = "MTY3Nzc5ODAwMDAwMA==";
9
+ const releaseInfo = "MTY3ODMwMjAwMDAwMA==";
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.0",
3
+ "version": "6.0.1",
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,8 +33,8 @@
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.20.13",
35
35
  "@mui/utils": "^5.11.7",
36
- "@mui/x-data-grid": "6.0.0",
37
- "@mui/x-license-pro": "6.0.0",
36
+ "@mui/x-data-grid": "6.0.1",
37
+ "@mui/x-license-pro": "6.0.1",
38
38
  "@types/format-util": "^1.0.2",
39
39
  "clsx": "^1.2.1",
40
40
  "prop-types": "^15.8.1",
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY3Nzc5ODAwMDAwMA==";
3
+ const releaseInfo = "MTY3ODMwMjAwMDAwMA==";
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