@mui/x-data-grid-pro 7.9.0 → 7.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,80 @@
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
+ ## 7.10.0
7
+
8
+ _Jul 11, 2024_
9
+
10
+ We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🎁 Add selectors to support showing child row count in footer in the Data Grid
13
+ - ✨ New APIs for retrieving current item tree and item's children IDs in the Tree View
14
+ - 🌍 Improve Spanish (es-ES) locale on the Data Grid
15
+ - 🐞 Bugfixes
16
+ - 📚 Documentation improvements
17
+
18
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
19
+
20
+ ### Data Grid
21
+
22
+ #### `@mui/x-data-grid@7.10.0`
23
+
24
+ - [DataGrid] Add selectors to support showing child row count in footer (#13725) @KenanYusuf
25
+ - [DataGrid] Fix incorrect panels position when using a toolbar (#13474) @oukunan
26
+ - [DataGrid] Set default variant to `'standard'` in `GridFilterInputMultipleValue` (#13129) @tarunrajput
27
+ - [DataGrid] Use `readonly` on more array props (#13331) @pcorpet
28
+ - [l10n] Improve Spanish (es-ES) locale (#13772) @joserealdev
29
+
30
+ #### `@mui/x-data-grid-pro@7.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
31
+
32
+ Same changes as in `@mui/x-data-grid@7.10.0`, plus:
33
+
34
+ - [DataGridPro] Keep bottom pinned row at the bottom (#13313) @romgrk
35
+
36
+ #### `@mui/x-data-grid-premium@7.10.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
37
+
38
+ Same changes as in `@mui/x-data-grid-pro@7.10.0`.
39
+
40
+ ### Date and Time Pickers
41
+
42
+ #### `@mui/x-date-pickers@7.10.0`
43
+
44
+ - [fields] Prevent infinite recursion when ensuring selection (#13779) @LukasTy
45
+ - [fields] Unify fields behavior regardless of the `readOnly` flag (#13688) @LukasTy
46
+
47
+ #### `@mui/x-date-pickers-pro@7.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
48
+
49
+ Same changes as in `@mui/x-date-pickers@7.10.0`, plus:
50
+
51
+ - [DateRangePicker] Fix `calendarHeader` slot props propagation (#13780) @LukasTy
52
+ - [DateTimeRangePicker] Resolve `format` from given `views` (#13743) @LukasTy
53
+
54
+ ### Charts
55
+
56
+ #### `@mui/x-charts@7.10.0`
57
+
58
+ - [charts] Fix displaying area of a `LineChart` when using the `log` scale (#13791) @alexfauquette
59
+ - [charts] Use correct click handler prop on pie chart `OnSeriesItemClick` documentation (#13761) @tonyhallett
60
+
61
+ ### Tree View
62
+
63
+ #### `@mui/x-tree-view@7.10.0`
64
+
65
+ - [TreeView] Add `getItemTree` and `getItemOrderedChildrenIds` methods to the public API (#13804) @flaviendelangle
66
+ - [TreeView] Add utility function to check if an optional plugin is present (#13788) @flaviendelangle
67
+
68
+ ### Docs
69
+
70
+ - [docs] Add missing default `loading` prop value (#13604) @oliviertassinari
71
+ - [docs] Add the `DateTimeRangePicker` to the "Commonly used components" demo (#13775) @flaviendelangle
72
+ - [docs] Fix Pickers customization playground overflow (#13742) @LukasTy
73
+ - [docs] Move Pickers dialog guidelines to accessibility page (#13778) @arthurbalduini
74
+
75
+ ### Core
76
+
77
+ - [core] Sort `DATA_GRID_PROPS_DEFAULT_VALUES` alphabetically (#13783) @oliviertassinari
78
+ - [test] Fix split infinitive use in tests @oliviertassinari
79
+
6
80
  ## 7.9.0
7
81
 
8
82
  _Jul 5, 2024_
@@ -438,6 +438,7 @@ DataGridProRaw.propTypes = {
438
438
  keepNonExistentRowsSelected: _propTypes.default.bool,
439
439
  /**
440
440
  * If `true`, a loading overlay is displayed.
441
+ * @default false
441
442
  */
442
443
  loading: _propTypes.default.bool,
443
444
  /**
@@ -25,19 +25,19 @@ const getDataGridProForcedProps = themedProps => (0, _extends2.default)({
25
25
  * The default values of `DataGridProPropsWithDefaultValue` to inject in the props of DataGridPro.
26
26
  */
27
27
  const DATA_GRID_PRO_PROPS_DEFAULT_VALUES = exports.DATA_GRID_PRO_PROPS_DEFAULT_VALUES = (0, _extends2.default)({}, _xDataGrid.DATA_GRID_PROPS_DEFAULT_VALUES, {
28
- scrollEndThreshold: 80,
29
- treeData: false,
30
- defaultGroupingExpansionDepth: 0,
31
28
  autosizeOnMount: false,
29
+ defaultGroupingExpansionDepth: 0,
32
30
  disableAutosize: false,
33
- disableColumnPinning: false,
34
- keepColumnPositionIfDraggedOutside: false,
35
31
  disableChildrenFiltering: false,
36
32
  disableChildrenSorting: false,
33
+ disableColumnPinning: false,
34
+ getDetailPanelHeight: () => 500,
35
+ headerFilters: false,
36
+ keepColumnPositionIfDraggedOutside: false,
37
37
  rowReordering: false,
38
38
  rowsLoadingMode: 'client',
39
- getDetailPanelHeight: () => 500,
40
- headerFilters: false
39
+ scrollEndThreshold: 80,
40
+ treeData: false
41
41
  });
42
42
  const defaultSlots = _dataGridProDefaultSlotsComponents.DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS;
43
43
  const useDataGridProProps = inProps => {
@@ -430,6 +430,7 @@ DataGridProRaw.propTypes = {
430
430
  keepNonExistentRowsSelected: PropTypes.bool,
431
431
  /**
432
432
  * If `true`, a loading overlay is displayed.
433
+ * @default false
433
434
  */
434
435
  loading: PropTypes.bool,
435
436
  /**
@@ -16,19 +16,19 @@ const getDataGridProForcedProps = themedProps => _extends({
16
16
  * The default values of `DataGridProPropsWithDefaultValue` to inject in the props of DataGridPro.
17
17
  */
18
18
  export const DATA_GRID_PRO_PROPS_DEFAULT_VALUES = _extends({}, DATA_GRID_PROPS_DEFAULT_VALUES, {
19
- scrollEndThreshold: 80,
20
- treeData: false,
21
- defaultGroupingExpansionDepth: 0,
22
19
  autosizeOnMount: false,
20
+ defaultGroupingExpansionDepth: 0,
23
21
  disableAutosize: false,
24
- disableColumnPinning: false,
25
- keepColumnPositionIfDraggedOutside: false,
26
22
  disableChildrenFiltering: false,
27
23
  disableChildrenSorting: false,
24
+ disableColumnPinning: false,
25
+ getDetailPanelHeight: () => 500,
26
+ headerFilters: false,
27
+ keepColumnPositionIfDraggedOutside: false,
28
28
  rowReordering: false,
29
29
  rowsLoadingMode: 'client',
30
- getDetailPanelHeight: () => 500,
31
- headerFilters: false
30
+ scrollEndThreshold: 80,
31
+ treeData: false
32
32
  });
33
33
  const defaultSlots = DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS;
34
34
  export const useDataGridProProps = inProps => {
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTcyMDEyNjgwMDAwMA==";
3
+ const releaseInfo = "MTcyMDY0ODgwMDAwMA==";
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
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v7.9.0
2
+ * @mui/x-data-grid-pro v7.10.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -430,6 +430,7 @@ DataGridProRaw.propTypes = {
430
430
  keepNonExistentRowsSelected: PropTypes.bool,
431
431
  /**
432
432
  * If `true`, a loading overlay is displayed.
433
+ * @default false
433
434
  */
434
435
  loading: PropTypes.bool,
435
436
  /**
@@ -16,19 +16,19 @@ const getDataGridProForcedProps = themedProps => _extends({
16
16
  * The default values of `DataGridProPropsWithDefaultValue` to inject in the props of DataGridPro.
17
17
  */
18
18
  export const DATA_GRID_PRO_PROPS_DEFAULT_VALUES = _extends({}, DATA_GRID_PROPS_DEFAULT_VALUES, {
19
- scrollEndThreshold: 80,
20
- treeData: false,
21
- defaultGroupingExpansionDepth: 0,
22
19
  autosizeOnMount: false,
20
+ defaultGroupingExpansionDepth: 0,
23
21
  disableAutosize: false,
24
- disableColumnPinning: false,
25
- keepColumnPositionIfDraggedOutside: false,
26
22
  disableChildrenFiltering: false,
27
23
  disableChildrenSorting: false,
24
+ disableColumnPinning: false,
25
+ getDetailPanelHeight: () => 500,
26
+ headerFilters: false,
27
+ keepColumnPositionIfDraggedOutside: false,
28
28
  rowReordering: false,
29
29
  rowsLoadingMode: 'client',
30
- getDetailPanelHeight: () => 500,
31
- headerFilters: false
30
+ scrollEndThreshold: 80,
31
+ treeData: false
32
32
  });
33
33
  const defaultSlots = DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS;
34
34
  export const useDataGridProProps = inProps => {
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v7.9.0
2
+ * @mui/x-data-grid-pro v7.10.0
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 = "MTcyMDEyNjgwMDAwMA==";
3
+ const releaseInfo = "MTcyMDY0ODgwMDAwMA==";
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-pro",
3
- "version": "7.9.0",
3
+ "version": "7.10.0",
4
4
  "description": "The Pro plan edition of the Data Grid components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./index.js",
@@ -40,9 +40,9 @@
40
40
  "clsx": "^2.1.1",
41
41
  "prop-types": "^15.8.1",
42
42
  "reselect": "^4.1.8",
43
- "@mui/x-data-grid": "7.9.0",
44
- "@mui/x-internals": "7.9.0",
45
- "@mui/x-license": "7.9.0"
43
+ "@mui/x-data-grid": "7.10.0",
44
+ "@mui/x-internals": "7.10.0",
45
+ "@mui/x-license": "7.10.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@mui/material": "^5.15.14",
@@ -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 = "MTcyMDEyNjgwMDAwMA==";
9
+ const releaseInfo = "MTcyMDY0ODgwMDAwMA==";
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