@mui/x-data-grid 7.29.9 → 7.29.11
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 +54 -0
- package/hooks/utils/useGridApiEventHandler.js +6 -2
- package/index.js +1 -1
- package/modern/hooks/utils/useGridApiEventHandler.js +6 -2
- package/modern/index.js +1 -1
- package/node/hooks/utils/useGridApiEventHandler.js +6 -2
- package/node/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,60 @@
|
|
|
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.11
|
|
7
|
+
|
|
8
|
+
_Nov 19, 2025_
|
|
9
|
+
|
|
10
|
+
We'd like to extend a big thank you to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🐞 Bugfixes
|
|
13
|
+
|
|
14
|
+
Following are all team members who have contributed to this release:
|
|
15
|
+
@arminmeh, @mapache-salvaje
|
|
16
|
+
|
|
17
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
18
|
+
|
|
19
|
+
### Data Grid
|
|
20
|
+
|
|
21
|
+
#### `@mui/x-data-grid@7.29.11`
|
|
22
|
+
|
|
23
|
+
- [DataGrid] Prevent Safari 26 error in the event handler (#20382) @arminmeh
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid-pro@7.29.11` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
26
|
+
|
|
27
|
+
Same changes as in `@mui/x-data-grid@7.29.11`.
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid-premium@7.29.11` [](https://mui.com/r/x-premium-svg-link "Premium plan")
|
|
30
|
+
|
|
31
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.11`.
|
|
32
|
+
|
|
33
|
+
### Docs
|
|
34
|
+
|
|
35
|
+
- [docs] Revise the Pro filter docs (#18815) @mapache-salvaje
|
|
36
|
+
|
|
37
|
+
## v7.29.10
|
|
38
|
+
|
|
39
|
+
_Sep 25, 2025_
|
|
40
|
+
|
|
41
|
+
We'd like to extend a big thank you to the 1 contributor who made this release possible. Here are some highlights ✨:
|
|
42
|
+
|
|
43
|
+
- 🐞 Bugfixes
|
|
44
|
+
|
|
45
|
+
The following is the team member who have contributed to this release:
|
|
46
|
+
@flaviendelangle
|
|
47
|
+
|
|
48
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
49
|
+
|
|
50
|
+
### Tree View
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-tree-view@7.29.10`
|
|
53
|
+
|
|
54
|
+
- [tree view] Fix the expansion toggle on icon container with old DOM structure (#19546) @flaviendelangle
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-tree-view-pro@7.29.10` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
57
|
+
|
|
58
|
+
Same changes as in `@mui/x-tree-view@7.29.10`.
|
|
59
|
+
|
|
6
60
|
## 7.29.9
|
|
7
61
|
|
|
8
62
|
_Aug 7, 2025_
|
|
@@ -29,7 +29,9 @@ export function createUseGridApiEventHandler(registryContainer) {
|
|
|
29
29
|
const cleanupTokenRef = React.useRef(null);
|
|
30
30
|
if (!subscription.current && handlerRef.current) {
|
|
31
31
|
const enhancedHandler = (params, event, details) => {
|
|
32
|
-
|
|
32
|
+
// Check for the existence of the event once more to avoid Safari 26 issue
|
|
33
|
+
// https://github.com/mui/mui-x/issues/20159
|
|
34
|
+
if (event && !event.defaultMuiPrevented) {
|
|
33
35
|
handlerRef.current?.(params, event, details);
|
|
34
36
|
}
|
|
35
37
|
};
|
|
@@ -56,7 +58,9 @@ export function createUseGridApiEventHandler(registryContainer) {
|
|
|
56
58
|
React.useEffect(() => {
|
|
57
59
|
if (!subscription.current && handlerRef.current) {
|
|
58
60
|
const enhancedHandler = (params, event, details) => {
|
|
59
|
-
|
|
61
|
+
// Check for the existence of the event once more to avoid Safari 26 issue
|
|
62
|
+
// https://github.com/mui/mui-x/issues/20159
|
|
63
|
+
if (event && !event.defaultMuiPrevented) {
|
|
60
64
|
handlerRef.current?.(params, event, details);
|
|
61
65
|
}
|
|
62
66
|
};
|
package/index.js
CHANGED
|
@@ -29,7 +29,9 @@ export function createUseGridApiEventHandler(registryContainer) {
|
|
|
29
29
|
const cleanupTokenRef = React.useRef(null);
|
|
30
30
|
if (!subscription.current && handlerRef.current) {
|
|
31
31
|
const enhancedHandler = (params, event, details) => {
|
|
32
|
-
|
|
32
|
+
// Check for the existence of the event once more to avoid Safari 26 issue
|
|
33
|
+
// https://github.com/mui/mui-x/issues/20159
|
|
34
|
+
if (event && !event.defaultMuiPrevented) {
|
|
33
35
|
handlerRef.current?.(params, event, details);
|
|
34
36
|
}
|
|
35
37
|
};
|
|
@@ -56,7 +58,9 @@ export function createUseGridApiEventHandler(registryContainer) {
|
|
|
56
58
|
React.useEffect(() => {
|
|
57
59
|
if (!subscription.current && handlerRef.current) {
|
|
58
60
|
const enhancedHandler = (params, event, details) => {
|
|
59
|
-
|
|
61
|
+
// Check for the existence of the event once more to avoid Safari 26 issue
|
|
62
|
+
// https://github.com/mui/mui-x/issues/20159
|
|
63
|
+
if (event && !event.defaultMuiPrevented) {
|
|
60
64
|
handlerRef.current?.(params, event, details);
|
|
61
65
|
}
|
|
62
66
|
};
|
package/modern/index.js
CHANGED
|
@@ -39,7 +39,9 @@ function createUseGridApiEventHandler(registryContainer) {
|
|
|
39
39
|
const cleanupTokenRef = React.useRef(null);
|
|
40
40
|
if (!subscription.current && handlerRef.current) {
|
|
41
41
|
const enhancedHandler = (params, event, details) => {
|
|
42
|
-
|
|
42
|
+
// Check for the existence of the event once more to avoid Safari 26 issue
|
|
43
|
+
// https://github.com/mui/mui-x/issues/20159
|
|
44
|
+
if (event && !event.defaultMuiPrevented) {
|
|
43
45
|
handlerRef.current?.(params, event, details);
|
|
44
46
|
}
|
|
45
47
|
};
|
|
@@ -66,7 +68,9 @@ function createUseGridApiEventHandler(registryContainer) {
|
|
|
66
68
|
React.useEffect(() => {
|
|
67
69
|
if (!subscription.current && handlerRef.current) {
|
|
68
70
|
const enhancedHandler = (params, event, details) => {
|
|
69
|
-
|
|
71
|
+
// Check for the existence of the event once more to avoid Safari 26 issue
|
|
72
|
+
// https://github.com/mui/mui-x/issues/20159
|
|
73
|
+
if (event && !event.defaultMuiPrevented) {
|
|
70
74
|
handlerRef.current?.(params, event, details);
|
|
71
75
|
}
|
|
72
76
|
};
|
package/node/index.js
CHANGED