@mui/x-data-grid 8.28.0 → 8.28.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 CHANGED
@@ -5,13 +5,90 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
7
 
8
+ ## 8.28.2
9
+
10
+ _Apr 1, 2026_
11
+
12
+ We'd like to extend a big thank you to the 4 contributors who made this release possible.
13
+
14
+ Special thanks go out to this community member for their valuable contribution:
15
+ @mixelburg, @sibananda485
16
+
17
+ The following team members contributed to this release:
18
+ @dav-is, @JCQuintas
19
+
20
+ ### Data Grid
21
+
22
+ #### `@mui/x-data-grid@8.28.2`
23
+
24
+ - [DataGrid] Export `GridColumnUnsortedIconProps` for custom column icon slots (#21898) @mixelburg
25
+
26
+ #### `@mui/x-data-grid-pro@8.28.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
27
+
28
+ Same changes as in `@mui/x-data-grid@8.28.2`.
29
+
30
+ #### `@mui/x-data-grid-premium@8.28.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
31
+
32
+ Same changes as in `@mui/x-data-grid-pro@8.28.2`, plus:
33
+
34
+ - [DataGridPremium] Fix clipboard paste issue in portal (#21949) @sibananda485
35
+
36
+ ### Charts
37
+
38
+ #### `@mui/x-charts@8.28.2`
39
+
40
+ - [charts] Fix zoom slider preview with discard filter mode (#21906) @JCQuintas
41
+
42
+ #### `@mui/x-charts-pro@8.28.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
43
+
44
+ Same changes as in `@mui/x-charts@8.28.2`.
45
+
46
+ #### `@mui/x-charts-premium@8.28.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
47
+
48
+ Same changes as in `@mui/x-charts-pro@8.28.2`.
49
+
50
+ ### Docs
51
+
52
+ - [docs] Fix JSDOM → jsdom casing (#21908) @JCQuintas
53
+
54
+ ### Core
55
+
56
+ - [docs-infra] Set `SEARCH_INDEX` Env for v8 (#21875) @dav-is
57
+
58
+ ## 8.28.1
59
+
60
+ _Mar 26, 2026_
61
+
62
+ We'd like to extend a big thank you to the 2 contributors who made this release possible.
63
+
64
+ The following team members contributed to this release:
65
+ @arminmeh, @cherniavskii
66
+
67
+ ### Data Grid
68
+
69
+ #### `@mui/x-data-grid@8.28.1`
70
+
71
+ - [DataGrid] Prevent repeated `hasScrollbar` state updates (#21847) @arminmeh
72
+
73
+ #### `@mui/x-data-grid-pro@8.28.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
74
+
75
+ Same changes as in `@mui/x-data-grid@8.28.1`, plus:
76
+
77
+ - [DataGridPro] `fetchRows()` API's default `start` and `end` params based on scroll position with lazy loading (#21811) @arminmeh
78
+
79
+ #### `@mui/x-data-grid-premium@8.28.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
80
+
81
+ Same changes as in `@mui/x-data-grid-pro@8.28.1`.
82
+
83
+ ### Core
84
+
85
+ - [internal] Remove headless data grid packages (#21848) @cherniavskii
86
+
8
87
  ## 8.28.0
9
88
 
10
89
  _Mar 19, 2026_
11
90
 
12
- We'd like to extend a big thank you to the 5 contributors who made this release possible. Here are some highlights ✨:
13
-
14
- TODO INSERT HIGHLIGHTS
91
+ We'd like to extend a big thank you to the 5 contributors who made this release possible.
15
92
 
16
93
  The following team members contributed to this release:
17
94
  @alexfauquette, @brijeshb42, @Janpot, @JCQuintas, @sai6855
@@ -1,7 +1,10 @@
1
- import * as React from 'react';
2
1
  import type { GridBaseIconProps } from "../models/gridSlotsComponentsProps.js";
3
2
  import type { GridSortDirection } from "../models/gridSortModel.js";
4
3
  export interface GridColumnUnsortedIconProps extends GridBaseIconProps {
5
4
  sortingOrder: GridSortDirection[];
6
5
  }
7
- export declare const GridColumnUnsortedIcon: React.NamedExoticComponent<GridColumnUnsortedIconProps>;
6
+ declare function GridColumnUnsortedIcon(props: GridColumnUnsortedIconProps): import("react/jsx-runtime").JSX.Element | null;
7
+ declare namespace GridColumnUnsortedIcon {
8
+ var propTypes: any;
9
+ }
10
+ export { GridColumnUnsortedIcon };
@@ -5,21 +5,35 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.GridColumnUnsortedIcon = void 0;
8
+ exports.GridColumnUnsortedIcon = GridColumnUnsortedIcon;
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
11
11
  var React = _interopRequireWildcard(require("react"));
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
12
13
  var _useGridRootProps = require("../hooks/utils/useGridRootProps");
13
14
  var _jsxRuntime = require("react/jsx-runtime");
14
15
  const _excluded = ["sortingOrder"];
15
- const GridColumnUnsortedIcon = exports.GridColumnUnsortedIcon = /*#__PURE__*/React.memo(function GridColumnHeaderSortIcon(props) {
16
+ function GridColumnUnsortedIcon(props) {
16
17
  const {
17
18
  sortingOrder
18
19
  } = props,
19
20
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
20
- const rootProps = (0, _useGridRootProps.useGridRootProps)();
21
+ const {
22
+ slots
23
+ } = (0, _useGridRootProps.useGridRootProps)();
21
24
  const [nextSortDirection] = sortingOrder;
22
- const Icon = nextSortDirection === 'asc' ? rootProps.slots.columnSortedAscendingIcon : rootProps.slots.columnSortedDescendingIcon;
25
+ const Icon = nextSortDirection === 'asc' ? slots.columnSortedAscendingIcon : slots.columnSortedDescendingIcon;
23
26
  return Icon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, (0, _extends2.default)({}, other)) : null;
24
- });
25
- if (process.env.NODE_ENV !== "production") GridColumnUnsortedIcon.displayName = "GridColumnUnsortedIcon";
27
+ }
28
+ process.env.NODE_ENV !== "production" ? GridColumnUnsortedIcon.propTypes = {
29
+ // ----------------------------- Warning --------------------------------
30
+ // | These PropTypes are generated from the TypeScript type definitions |
31
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
32
+ // ----------------------------------------------------------------------
33
+ className: _propTypes.default.string,
34
+ color: _propTypes.default.string,
35
+ fontSize: _propTypes.default.oneOf(['inherit', 'large', 'medium', 'small']),
36
+ sortingOrder: _propTypes.default.arrayOf(_propTypes.default.oneOf(['asc', 'desc'])).isRequired,
37
+ style: _propTypes.default.object,
38
+ titleAccess: _propTypes.default.string
39
+ } : void 0;
@@ -23,4 +23,6 @@ export * from "./columnsPanel/index.js";
23
23
  export * from "./export/index.js";
24
24
  export * from "./filterPanel/index.js";
25
25
  export * from "./toolbarV8/index.js";
26
- export * from "./quickFilter/index.js";
26
+ export * from "./quickFilter/index.js";
27
+ export { GridColumnUnsortedIcon } from "./GridColumnUnsortedIcon.js";
28
+ export type { GridColumnUnsortedIconProps } from "./GridColumnUnsortedIcon.js";
@@ -4,8 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  var _exportNames = {
7
- GridPagination: true
7
+ GridPagination: true,
8
+ GridColumnUnsortedIcon: true
8
9
  };
10
+ Object.defineProperty(exports, "GridColumnUnsortedIcon", {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _GridColumnUnsortedIcon.GridColumnUnsortedIcon;
14
+ }
15
+ });
9
16
  Object.defineProperty(exports, "GridPagination", {
10
17
  enumerable: true,
11
18
  get: function () {
@@ -312,4 +319,5 @@ Object.keys(_quickFilter).forEach(function (key) {
312
319
  return _quickFilter[key];
313
320
  }
314
321
  });
315
- });
322
+ });
323
+ var _GridColumnUnsortedIcon = require("./GridColumnUnsortedIcon");
@@ -1,7 +1,10 @@
1
- import * as React from 'react';
2
1
  import type { GridBaseIconProps } from "../models/gridSlotsComponentsProps.js";
3
2
  import type { GridSortDirection } from "../models/gridSortModel.js";
4
3
  export interface GridColumnUnsortedIconProps extends GridBaseIconProps {
5
4
  sortingOrder: GridSortDirection[];
6
5
  }
7
- export declare const GridColumnUnsortedIcon: React.NamedExoticComponent<GridColumnUnsortedIconProps>;
6
+ declare function GridColumnUnsortedIcon(props: GridColumnUnsortedIconProps): import("react/jsx-runtime").JSX.Element | null;
7
+ declare namespace GridColumnUnsortedIcon {
8
+ var propTypes: any;
9
+ }
10
+ export { GridColumnUnsortedIcon };
@@ -2,16 +2,31 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
3
  const _excluded = ["sortingOrder"];
4
4
  import * as React from 'react';
5
+ import PropTypes from 'prop-types';
5
6
  import { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
6
7
  import { jsx as _jsx } from "react/jsx-runtime";
7
- export const GridColumnUnsortedIcon = /*#__PURE__*/React.memo(function GridColumnHeaderSortIcon(props) {
8
+ function GridColumnUnsortedIcon(props) {
8
9
  const {
9
10
  sortingOrder
10
11
  } = props,
11
12
  other = _objectWithoutPropertiesLoose(props, _excluded);
12
- const rootProps = useGridRootProps();
13
+ const {
14
+ slots
15
+ } = useGridRootProps();
13
16
  const [nextSortDirection] = sortingOrder;
14
- const Icon = nextSortDirection === 'asc' ? rootProps.slots.columnSortedAscendingIcon : rootProps.slots.columnSortedDescendingIcon;
17
+ const Icon = nextSortDirection === 'asc' ? slots.columnSortedAscendingIcon : slots.columnSortedDescendingIcon;
15
18
  return Icon ? /*#__PURE__*/_jsx(Icon, _extends({}, other)) : null;
16
- });
17
- if (process.env.NODE_ENV !== "production") GridColumnUnsortedIcon.displayName = "GridColumnUnsortedIcon";
19
+ }
20
+ process.env.NODE_ENV !== "production" ? GridColumnUnsortedIcon.propTypes = {
21
+ // ----------------------------- Warning --------------------------------
22
+ // | These PropTypes are generated from the TypeScript type definitions |
23
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
24
+ // ----------------------------------------------------------------------
25
+ className: PropTypes.string,
26
+ color: PropTypes.string,
27
+ fontSize: PropTypes.oneOf(['inherit', 'large', 'medium', 'small']),
28
+ sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])).isRequired,
29
+ style: PropTypes.object,
30
+ titleAccess: PropTypes.string
31
+ } : void 0;
32
+ export { GridColumnUnsortedIcon };
@@ -23,4 +23,6 @@ export * from "./columnsPanel/index.js";
23
23
  export * from "./export/index.js";
24
24
  export * from "./filterPanel/index.js";
25
25
  export * from "./toolbarV8/index.js";
26
- export * from "./quickFilter/index.js";
26
+ export * from "./quickFilter/index.js";
27
+ export { GridColumnUnsortedIcon } from "./GridColumnUnsortedIcon.js";
28
+ export type { GridColumnUnsortedIconProps } from "./GridColumnUnsortedIcon.js";
@@ -23,4 +23,5 @@ export * from "./columnsPanel/index.js";
23
23
  export * from "./export/index.js";
24
24
  export * from "./filterPanel/index.js";
25
25
  export * from "./toolbarV8/index.js";
26
- export * from "./quickFilter/index.js";
26
+ export * from "./quickFilter/index.js";
27
+ export { GridColumnUnsortedIcon } from "./GridColumnUnsortedIcon.js";
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v8.28.0
2
+ * @mui/x-data-grid v8.28.2
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v8.28.0
2
+ * @mui/x-data-grid v8.28.2
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": "8.28.0",
3
+ "version": "8.28.2",
4
4
  "author": "MUI Team",
5
5
  "description": "The Community plan edition of the MUI X Data Grid components.",
6
6
  "license": "MIT",
@@ -43,7 +43,7 @@
43
43
  "prop-types": "^15.8.1",
44
44
  "use-sync-external-store": "^1.6.0",
45
45
  "@mui/x-internals": "8.26.0",
46
- "@mui/x-virtualizer": "0.3.3"
46
+ "@mui/x-virtualizer": "0.3.4"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@emotion/react": "^11.9.0",