@mui/x-data-grid 7.29.0 → 7.29.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,83 @@
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.29.1
7
+
8
+ _Apr 23, 2025_
9
+
10
+ We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🐞 Bugfixes
13
+
14
+ Special thanks go out to the community contributors who have helped make this release possible:
15
+ @lhilgert9
16
+
17
+ Following are all team members who have contributed to this release:
18
+ @arminmeh, @cherniavskii, @flaviendelangle, @LukasTy, @romgrk.
19
+
20
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
21
+
22
+ ### Data Grid
23
+
24
+ #### `@mui/x-data-grid@7.29.1`
25
+
26
+ - [DataGrid] Prevent scrollbars from showing on top (#17410) @romgrk
27
+
28
+ #### `@mui/x-data-grid-pro@7.29.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
29
+
30
+ Same changes as in `@mui/x-data-grid@7.29.1`, plus:
31
+
32
+ - [DataGridPro] Avoid proptypes warnings with header filters in React 17 (#17492) @cherniavskii
33
+ - [DataGridPro] Fix expandable rows detail content height updates (#17509) @arminmeh
34
+ - [DataGridPro] Fix row virtualization not working in list view (#17404) @cherniavskii
35
+ - [DataGridPro] Move locales re-export to allow proper tree shaking (#17438) @lhilgert9
36
+
37
+ #### `@mui/x-data-grid-premium@7.29.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
38
+
39
+ Same changes as in `@mui/x-data-grid-pro@7.29.1`, plus:
40
+
41
+ - [DataGridPremium] Use `groupingValueGetter` for row grouping on the server (#17423) @cherniavskii
42
+
43
+ ### Date and Time Pickers
44
+
45
+ #### `@mui/x-date-pickers@7.29.1`
46
+
47
+ Internal changes.
48
+
49
+ #### `@mui/x-date-pickers-pro@7.29.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
50
+
51
+ Same changes as in `@mui/x-date-pickers@7.29.1`.
52
+
53
+ ### Charts
54
+
55
+ #### `@mui/x-charts@7.29.1`
56
+
57
+ Internal changes.
58
+
59
+ #### `@mui/x-charts-pro@7.29.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
60
+
61
+ Same changes as in `@mui/x-charts@7.29.1`.
62
+
63
+ ### Tree View
64
+
65
+ #### `@mui/x-tree-view@7.29.1`
66
+
67
+ Internal changes.
68
+
69
+ #### `@mui/x-tree-view-pro@7.29.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
70
+
71
+ Same changes as in `@mui/x-tree-view@7.29.1`, plus:
72
+
73
+ - [RichTreeViewPro] Fix drag and drop issue with label editing (#17415) @flaviendelangle
74
+
75
+ ### Docs
76
+
77
+ - [docs] Use MUI X v7 packages in CodeSandbox and StackBlitz (#17516) @cherniavskii
78
+
79
+ ### Core
80
+
81
+ - [core] Bump monorepo (#17437) @LukasTy
82
+
6
83
  ## 7.29.0
7
84
 
8
85
  _Apr 16, 2025_
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  export const GridApiContext = /*#__PURE__*/React.createContext(undefined);
3
5
  if (process.env.NODE_ENV !== 'production') {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  export const GridConfigurationContext = /*#__PURE__*/React.createContext(undefined);
3
5
  if (process.env.NODE_ENV !== 'production') {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import _extends from "@babel/runtime/helpers/esm/extends";
2
4
  import * as React from 'react';
3
5
  import clsx from 'clsx';
@@ -345,6 +345,9 @@ export const GridRootStyles = styled('div', {
345
345
  overflow: 'hidden',
346
346
  overflowAnchor: 'none',
347
347
  // Keep the same scrolling position
348
+ transform: 'translate(0, 0)',
349
+ // Create a stacking context to keep scrollbars from showing on top
350
+
348
351
  [`.${c.main} > *:first-child${ignoreSsrWarning}`]: {
349
352
  borderTopLeftRadius: 'var(--unstable_DataGrid-radius)',
350
353
  borderTopRightRadius: 'var(--unstable_DataGrid-radius)'
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  const GridRootPropsContext = /*#__PURE__*/React.createContext(undefined);
3
5
  if (process.env.NODE_ENV !== 'production') {
@@ -588,11 +588,6 @@ function computeRenderContext(inputs, scrollPosition, scrollCache) {
588
588
  firstColumnIndex: 0,
589
589
  lastColumnIndex: inputs.visibleColumns.length
590
590
  };
591
- if (inputs.listView) {
592
- return _extends({}, renderContext, {
593
- lastColumnIndex: 1
594
- });
595
- }
596
591
  const {
597
592
  top,
598
593
  left
@@ -617,6 +612,11 @@ function computeRenderContext(inputs, scrollPosition, scrollCache) {
617
612
  renderContext.firstRowIndex = firstRowIndex;
618
613
  renderContext.lastRowIndex = lastRowIndex;
619
614
  }
615
+ if (inputs.listView) {
616
+ return _extends({}, renderContext, {
617
+ lastColumnIndex: 1
618
+ });
619
+ }
620
620
  if (inputs.enabledForColumns) {
621
621
  let firstColumnIndex = 0;
622
622
  let lastColumnIndex = inputs.columnPositions.length;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v7.29.0
2
+ * @mui/x-data-grid v7.29.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  export const GridApiContext = /*#__PURE__*/React.createContext(undefined);
3
5
  if (process.env.NODE_ENV !== 'production') {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  export const GridConfigurationContext = /*#__PURE__*/React.createContext(undefined);
3
5
  if (process.env.NODE_ENV !== 'production') {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import _extends from "@babel/runtime/helpers/esm/extends";
2
4
  import * as React from 'react';
3
5
  import clsx from 'clsx';
@@ -345,6 +345,9 @@ export const GridRootStyles = styled('div', {
345
345
  overflow: 'hidden',
346
346
  overflowAnchor: 'none',
347
347
  // Keep the same scrolling position
348
+ transform: 'translate(0, 0)',
349
+ // Create a stacking context to keep scrollbars from showing on top
350
+
348
351
  [`.${c.main} > *:first-child${ignoreSsrWarning}`]: {
349
352
  borderTopLeftRadius: 'var(--unstable_DataGrid-radius)',
350
353
  borderTopRightRadius: 'var(--unstable_DataGrid-radius)'
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  const GridRootPropsContext = /*#__PURE__*/React.createContext(undefined);
3
5
  if (process.env.NODE_ENV !== 'production') {
@@ -588,11 +588,6 @@ function computeRenderContext(inputs, scrollPosition, scrollCache) {
588
588
  firstColumnIndex: 0,
589
589
  lastColumnIndex: inputs.visibleColumns.length
590
590
  };
591
- if (inputs.listView) {
592
- return _extends({}, renderContext, {
593
- lastColumnIndex: 1
594
- });
595
- }
596
591
  const {
597
592
  top,
598
593
  left
@@ -617,6 +612,11 @@ function computeRenderContext(inputs, scrollPosition, scrollCache) {
617
612
  renderContext.firstRowIndex = firstRowIndex;
618
613
  renderContext.lastRowIndex = lastRowIndex;
619
614
  }
615
+ if (inputs.listView) {
616
+ return _extends({}, renderContext, {
617
+ lastColumnIndex: 1
618
+ });
619
+ }
620
620
  if (inputs.enabledForColumns) {
621
621
  let firstColumnIndex = 0;
622
622
  let lastColumnIndex = inputs.columnPositions.length;
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v7.29.0
2
+ * @mui/x-data-grid v7.29.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ 'use client';
2
3
 
3
4
  var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
5
  Object.defineProperty(exports, "__esModule", {
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ 'use client';
2
3
 
3
4
  var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
5
  Object.defineProperty(exports, "__esModule", {
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ 'use client';
2
3
 
3
4
  var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
5
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
@@ -352,6 +352,9 @@ const GridRootStyles = exports.GridRootStyles = (0, _styles.styled)('div', {
352
352
  overflow: 'hidden',
353
353
  overflowAnchor: 'none',
354
354
  // Keep the same scrolling position
355
+ transform: 'translate(0, 0)',
356
+ // Create a stacking context to keep scrollbars from showing on top
357
+
355
358
  [`.${_gridClasses.gridClasses.main} > *:first-child${ignoreSsrWarning}`]: {
356
359
  borderTopLeftRadius: 'var(--unstable_DataGrid-radius)',
357
360
  borderTopRightRadius: 'var(--unstable_DataGrid-radius)'
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ 'use client';
2
3
 
3
4
  var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
5
  Object.defineProperty(exports, "__esModule", {
@@ -600,11 +600,6 @@ function computeRenderContext(inputs, scrollPosition, scrollCache) {
600
600
  firstColumnIndex: 0,
601
601
  lastColumnIndex: inputs.visibleColumns.length
602
602
  };
603
- if (inputs.listView) {
604
- return (0, _extends2.default)({}, renderContext, {
605
- lastColumnIndex: 1
606
- });
607
- }
608
603
  const {
609
604
  top,
610
605
  left
@@ -629,6 +624,11 @@ function computeRenderContext(inputs, scrollPosition, scrollCache) {
629
624
  renderContext.firstRowIndex = firstRowIndex;
630
625
  renderContext.lastRowIndex = lastRowIndex;
631
626
  }
627
+ if (inputs.listView) {
628
+ return (0, _extends2.default)({}, renderContext, {
629
+ lastColumnIndex: 1
630
+ });
631
+ }
632
632
  if (inputs.enabledForColumns) {
633
633
  let firstColumnIndex = 0;
634
634
  let lastColumnIndex = inputs.columnPositions.length;
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v7.29.0
2
+ * @mui/x-data-grid v7.29.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "7.29.0",
3
+ "version": "7.29.1",
4
4
  "description": "The Community plan edition of the Data Grid components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",