@mui/x-data-grid 8.11.0 → 8.11.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
@@ -5,6 +5,80 @@
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.11.1
9
+
10
+ _Sep 4, 2025_
11
+
12
+ We'd like to extend a big thank you to the 6 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ Special thanks go out to the community members for their valuable contributions:
15
+ @sai6855
16
+
17
+ The following are all team members who have contributed to this release:
18
+ @brijeshb42, @flaviendelangle, @JCQuintas, @mapache-salvaje, @oliviertassinari
19
+
20
+ ### Data Grid
21
+
22
+ #### `@mui/x-data-grid@8.11.1`
23
+
24
+ - [DataGrid] Refine types in `GridCell` component (#19384) @sai6855
25
+
26
+ #### `@mui/x-data-grid-pro@8.11.1` [![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.11.1`.
29
+
30
+ #### `@mui/x-data-grid-premium@8.11.1` [![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.11.1`.
33
+
34
+ ### Date and Time Pickers
35
+
36
+ #### `@mui/x-date-pickers@8.11.1`
37
+
38
+ - [pickers] Merge `slotProps` for input adornment in `PickerFieldUI` component (#19399) @sai6855
39
+
40
+ #### `@mui/x-date-pickers-pro@8.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
41
+
42
+ Same changes as in `@mui/x-date-pickers@8.11.1`.
43
+
44
+ ### Charts
45
+
46
+ #### `@mui/x-charts@8.11.1`
47
+
48
+ - [charts] Prevent crash and warn user on incorrect `axisId` when composing (#19397) @JCQuintas
49
+
50
+ #### `@mui/x-charts-pro@8.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
51
+
52
+ Same changes as in `@mui/x-charts@8.11.1`.
53
+
54
+ ### Tree View
55
+
56
+ #### `@mui/x-tree-view@8.11.1`
57
+
58
+ - [tree view] Expose the methods to manually refetch the children of an item (#19248) @flaviendelangle
59
+ - [tree view] Use the shared store implementation instead of the custom one (#19261) @flaviendelangle
60
+
61
+ #### `@mui/x-tree-view-pro@8.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
62
+
63
+ Same changes as in `@mui/x-tree-view@8.11.1`.
64
+
65
+ ### Codemod
66
+
67
+ #### `@mui/x-codemod@8.11.1`
68
+
69
+ Internal changes.
70
+
71
+ ### Docs
72
+
73
+ - [docs] Fix grammar and spelling mistakes on the Date and Time Pickers pages (#19300) @mapache-salvaje
74
+ - [docs] Remove wrong legend info (#19383) @JCQuintas
75
+
76
+ ### Core
77
+
78
+ - [internal] Fix action alert (#19388) @oliviertassinari
79
+ - [internal] Fix pnpm valelint to have 0 errors @oliviertassinari
80
+ - [infra] Remove "main" fields from publishable packages (#19407) @brijeshb42
81
+
8
82
  ## 8.11.0
9
83
 
10
84
  _Aug 29, 2025_
@@ -132,7 +132,7 @@ const GridCell = (0, _forwardRef.forwardRef)(function GridCell(props, ref) {
132
132
  isEditable = false,
133
133
  value
134
134
  } = cellParams;
135
- const canManageOwnFocus = column.type === 'actions' && column.getActions?.(apiRef.current.getRowParams(rowId)).some(action => !action.props.disabled);
135
+ const canManageOwnFocus = column.type === 'actions' && 'getActions' in column && typeof column.getActions === 'function' && column.getActions(apiRef.current.getRowParams(rowId)).some(action => !action.props.disabled);
136
136
  const tabIndex = (cellMode === 'view' || !isEditable) && !canManageOwnFocus ? cellParams.tabIndex : -1;
137
137
  const {
138
138
  classes: rootClasses,
@@ -125,7 +125,7 @@ const GridCell = forwardRef(function GridCell(props, ref) {
125
125
  isEditable = false,
126
126
  value
127
127
  } = cellParams;
128
- const canManageOwnFocus = column.type === 'actions' && column.getActions?.(apiRef.current.getRowParams(rowId)).some(action => !action.props.disabled);
128
+ const canManageOwnFocus = column.type === 'actions' && 'getActions' in column && typeof column.getActions === 'function' && column.getActions(apiRef.current.getRowParams(rowId)).some(action => !action.props.disabled);
129
129
  const tabIndex = (cellMode === 'view' || !isEditable) && !canManageOwnFocus ? cellParams.tabIndex : -1;
130
130
  const {
131
131
  classes: rootClasses,
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v8.11.0
2
+ * @mui/x-data-grid v8.11.1
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.11.0
2
+ * @mui/x-data-grid v8.11.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,9 +1,8 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "8.11.0",
3
+ "version": "8.11.1",
4
4
  "author": "MUI Team",
5
5
  "description": "The Community plan edition of the MUI X Data Grid components.",
6
- "main": "./index.js",
7
6
  "license": "MIT",
8
7
  "bugs": {
9
8
  "url": "https://github.com/mui/mui-x/issues"
@@ -43,8 +42,8 @@
43
42
  "clsx": "^2.1.1",
44
43
  "prop-types": "^15.8.1",
45
44
  "use-sync-external-store": "^1.5.0",
46
- "@mui/x-internals": "8.11.0",
47
- "@mui/x-virtualizer": "0.1.4"
45
+ "@mui/x-internals": "8.11.1",
46
+ "@mui/x-virtualizer": "0.1.5"
48
47
  },
49
48
  "peerDependencies": {
50
49
  "@emotion/react": "^11.9.0",
@@ -66,27 +65,28 @@
66
65
  "node": ">=14.0.0"
67
66
  },
68
67
  "type": "commonjs",
68
+ "main": "./index.js",
69
69
  "types": "./index.d.ts",
70
70
  "exports": {
71
71
  "./package.json": "./package.json",
72
72
  ".": {
73
- "import": {
74
- "types": "./esm/index.d.ts",
75
- "default": "./esm/index.js"
76
- },
77
73
  "require": {
78
74
  "types": "./index.d.ts",
79
75
  "default": "./index.js"
76
+ },
77
+ "default": {
78
+ "types": "./esm/index.d.ts",
79
+ "default": "./esm/index.js"
80
80
  }
81
81
  },
82
82
  "./*": {
83
- "import": {
84
- "types": "./esm/*/index.d.ts",
85
- "default": "./esm/*/index.js"
86
- },
87
83
  "require": {
88
84
  "types": "./*/index.d.ts",
89
85
  "default": "./*/index.js"
86
+ },
87
+ "default": {
88
+ "types": "./esm/*/index.d.ts",
89
+ "default": "./esm/*/index.js"
90
90
  }
91
91
  },
92
92
  "./esm": null