@mui/x-charts 7.22.3 → 7.23.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,100 @@
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.23.0
7
+
8
+ _Nov 29, 2024_
9
+
10
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - ✨ Support for a new display mode on the Data Grid with the [List View feature](https://mui.com/x/react-data-grid/list-view/), offering an extremely flexible way to render datasets and enabling developers to adapt how data is displayed across different screen sizes.
13
+
14
+ https://github.com/user-attachments/assets/61286adc-03fc-4323-9739-8ca726fcc16c
15
+
16
+ - ⚛️ React 19 support
17
+ - 📚 Documentation improvements
18
+ - 🌍 Improve Spanish, Portuguese, Chinese locales on the Data Grid component.
19
+ - 🌍 Improve Dutch locale on the Date and Time Picker components.
20
+ - 🐞 Bugfixes
21
+
22
+ Special thanks go out to the community contributors who have helped make this release possible:
23
+ @dloeda, @headironc, @mathzdev, @nphmuller, @lhilgert9, @lauri865.
24
+ Following are all team members who have contributed to this release:
25
+ @oliviertassinari, @arminmeh, @KenanYusuf, @flaviendelangle, @MBilalShafi.
26
+
27
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
28
+
29
+ ### Data Grid
30
+
31
+ #### `@mui/x-data-grid@v7.23.0`
32
+
33
+ - [DataGrid] React 19 support (#15557) @arminmeh
34
+ - [DataGrid] Change test dom check from `/jsdom/` to `/jsdom|HappyDOM/`. (#15642) @jedesroches
35
+ - [DataGrid] Fix last separator not being hidden when grid is scrollable (#15551) @KenanYusuf
36
+ - [DataGrid] Fix order of spread props on toolbar items (#15556) @KenanYusuf
37
+ - [DataGrid] Fix row-spanning in combination with column-pinning (#15460) @lhilgert9
38
+ - [DataGrid] Improve resize performance (#15592) @lauri865
39
+ - [DataGrid] Support column virtualization with dynamic row height (#15567) @cherniavskii
40
+ - [DataGrid] Improve `GridCell` performance (#15621) @lauri865
41
+ - [l10n] Improve Chinese (zh-CN) locale (#15570) @headironc
42
+ - [l10n] Improve Portuguese (pt-PT) locale (#15561) @mathzdev
43
+
44
+ #### `@mui/x-data-grid-pro@v7.23.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
45
+
46
+ Same changes as in `@mui/x-data-grid@v7.23.0`, plus:
47
+
48
+ - [DataGridPro] Fix header filtering with `boolean` column type (#15640) @k-rajat19
49
+ - [DataGridPro] Fix pagination state not updating if the data source response has no rows (#15643) @zinoroman
50
+ - [DataGridPro] Fix selection propagation issue on initialization (#15593) @MBilalShafi
51
+
52
+ #### `@mui/x-data-grid-premium@v7.23.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
53
+
54
+ Same changes as in `@mui/x-data-grid-pro@v7.23.0`.
55
+
56
+ ### Date and Time Pickers
57
+
58
+ #### `@mui/x-date-pickers@v7.23.0`
59
+
60
+ - [pickers] React 19 support (#15557) @arminmeh
61
+ - [pickers] Fix DST issue with `America/Asuncion` timezone and `AdapterMoment` (#15653) @flaviendelangle
62
+ - [pickers] Use `props.referenceDate` timezone when `props.value` and `props.defaultValue` are not defined (#15544) @flaviendelangle
63
+ - [l10n] Improve Dutch (nl-NL) locale (#15564) @nphmuller
64
+
65
+ #### `@mui/x-date-pickers-pro@v7.23.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
66
+
67
+ Same changes as in `@mui/x-date-pickers@v7.23.0`.
68
+
69
+ ### Charts
70
+
71
+ #### `@mui/x-charts@v7.23.0`
72
+
73
+ - [charts] React 19 support (#15557) @arminmeh
74
+ - [charts] Prevent invalid `releasePointerCapture` (#15609) @alexfauquette
75
+
76
+ #### `@mui/x-charts-pro@v7.23.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
77
+
78
+ Same changes as in `@mui/x-charts@v7.23.0`.
79
+
80
+ ### Tree View
81
+
82
+ #### `@mui/x-tree-view@v7.23.0`
83
+
84
+ - [TreeView] React 19 support (#15557) @arminmeh
85
+
86
+ #### `@mui/x-tree-view-pro@7.23.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
87
+
88
+ Same changes as in `@mui/x-tree-view@7.23.0`.
89
+
90
+ ### Docs
91
+
92
+ - [docs] Add data caching to lazy loaded detail panel demo (#15555) @cherniavskii
93
+ - [docs] Remove selectors section from list view docs (#15639) @KenanYusuf
94
+ - [docs] Add documentation for the list view feature (#15344) @KenanYusuf
95
+
96
+ ### Core
97
+
98
+ - [core] Update @mui/monorepo (#15574) @oliviertassinari
99
+
6
100
  ## 7.22.3
7
101
 
8
102
  _Nov 21, 2024_
package/README.md CHANGED
@@ -15,9 +15,9 @@ This component has the following peer dependencies that you will need to install
15
15
 
16
16
  ```json
17
17
  "peerDependencies": {
18
- "@mui/material": "^5.15.14",
19
- "react": "^17.0.0 || ^18.0.0",
20
- "react-dom": "^17.0.0 || ^18.0.0"
18
+ "@mui/material": "^5.15.14 || ^6.0.0",
19
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
20
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
21
21
  },
22
22
  ```
23
23
 
@@ -31,7 +31,9 @@ export const useInteractionItemProps = skip => {
31
31
  });
32
32
  };
33
33
  const onPointerLeave = event => {
34
- event.currentTarget.releasePointerCapture(event.pointerId);
34
+ if (event.currentTarget.hasPointerCapture(event.pointerId)) {
35
+ event.currentTarget.releasePointerCapture(event.pointerId);
36
+ }
35
37
  dispatchInteraction({
36
38
  type: 'leaveItem',
37
39
  data
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts v7.22.3
2
+ * @mui/x-charts v7.23.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -31,7 +31,9 @@ export const useInteractionItemProps = skip => {
31
31
  });
32
32
  };
33
33
  const onPointerLeave = event => {
34
- event.currentTarget.releasePointerCapture(event.pointerId);
34
+ if (event.currentTarget.hasPointerCapture(event.pointerId)) {
35
+ event.currentTarget.releasePointerCapture(event.pointerId);
36
+ }
35
37
  dispatchInteraction({
36
38
  type: 'leaveItem',
37
39
  data
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts v7.22.3
2
+ * @mui/x-charts v7.23.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -37,7 +37,9 @@ const useInteractionItemProps = skip => {
37
37
  });
38
38
  };
39
39
  const onPointerLeave = event => {
40
- event.currentTarget.releasePointerCapture(event.pointerId);
40
+ if (event.currentTarget.hasPointerCapture(event.pointerId)) {
41
+ event.currentTarget.releasePointerCapture(event.pointerId);
42
+ }
41
43
  dispatchInteraction({
42
44
  type: 'leaveItem',
43
45
  data
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts v7.22.3
2
+ * @mui/x-charts v7.23.0
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-charts",
3
- "version": "7.22.3",
3
+ "version": "7.23.0",
4
4
  "description": "The community edition of the Charts components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -35,16 +35,16 @@
35
35
  "@react-spring/web": "^9.7.5",
36
36
  "clsx": "^2.1.1",
37
37
  "prop-types": "^15.8.1",
38
- "@mui/x-charts-vendor": "7.20.0",
39
- "@mui/x-internals": "7.21.0"
38
+ "@mui/x-internals": "7.23.0",
39
+ "@mui/x-charts-vendor": "7.20.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@emotion/react": "^11.9.0",
43
43
  "@emotion/styled": "^11.8.1",
44
44
  "@mui/material": "^5.15.14 || ^6.0.0",
45
45
  "@mui/system": "^5.15.14 || ^6.0.0",
46
- "react": "^17.0.0 || ^18.0.0",
47
- "react-dom": "^17.0.0 || ^18.0.0"
46
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
47
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "@emotion/react": {