@mui/x-charts 7.22.2 → 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,175 @@
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
+
100
+ ## 7.22.3
101
+
102
+ _Nov 21, 2024_
103
+
104
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
105
+
106
+ - 📊 Charts Pro get stable. The [zoom](https://mui.com/x/react-charts/zoom-and-pan/) and [Heatmap](https://mui.com/x/react-charts/heatmap/) are now stable.
107
+ - 🌍 Improve Chinese, Spanish, Swedish, and Turkish locales on the Data Grid
108
+ - 🐞 Bugfixes
109
+
110
+ Special thanks go out to the community contributors who have helped make this release possible:
111
+ @CarlosLopezLg, @headironc, @viktormelin, @qerkules, @DungTiger, @hendrikpeilke, @k-rajat19.
112
+ Following are all team members who have contributed to this release:
113
+ @alexfauquette, @LukasTy, @MBilalShafi, @flaviendelangle.
114
+
115
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
116
+
117
+ ### Data Grid
118
+
119
+ #### `@mui/x-data-grid@7.22.3`
120
+
121
+ - [DataGrid] Add prop to override search input props in `GridColumnsManagement` (#15476) @k-rajat19
122
+ - [DataGrid] Add test coverage for issues fixed in #15184 @MBilalShafi
123
+ - [DataGrid] Fix memoized selectors with arguments (#15336) @MBilalShafi
124
+ - [DataGrid] Fix right column group header border with virtualization (#15503) @hendrikpeilke
125
+ - [DataGrid] Pass reason to `onPaginationModelChange` (#15402) @DungTiger
126
+ - [DataGrid] Set default overlay height in flex parent layout (#15535) @cherniavskii
127
+ - [l10n] Improve Chinese (zh-CN) locale (#15365) @headironc
128
+ - [l10n] Improve Spanish (es-ES) locale (#15369) @CarlosLopezLg
129
+ - [l10n] Improve Swedish (sv-SE) locale (#15371) @viktormelin
130
+ - [l10n] Improve Turkish (tr-TR) locale (#15414) @qerkules
131
+
132
+ #### `@mui/x-data-grid-pro@7.22.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
133
+
134
+ Same changes as in `@mui/x-data-grid@7.22.3`.
135
+
136
+ #### `@mui/x-data-grid-premium@7.22.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
137
+
138
+ Same changes as in `@mui/x-data-grid-pro@7.22.3`.
139
+
140
+ ### Date and Time Pickers
141
+
142
+ #### `@mui/x-date-pickers@7.22.3`
143
+
144
+ - [pickers] Always use `props.value` when it changes (#15500) @flaviendelangle
145
+ - [pickers] Ensure internal value timezone is updated (#15491) @LukasTy
146
+ - [pickers] Fix `DateTimeRangePicker` error when using format without time (#15341) @fxnoob
147
+ - [pickers] Fix unused code in `PickersToolbar` component (#15525) @LukasTy
148
+
149
+ #### `@mui/x-date-pickers-pro@7.22.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
150
+
151
+ Same changes as in `@mui/x-date-pickers@7.22.3`, plus:
152
+
153
+ - [DateTimeRangePicker] Use time in `referenceDate` when selecting date (#15431) @LukasTy
154
+
155
+ ### Charts
156
+
157
+ #### `@mui/x-charts@7.22.3`
158
+
159
+ No changes since `@mui/x-charts@7.22.2`.
160
+
161
+ #### `@mui/x-charts-pro@7.22.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
162
+
163
+ - [charts-pro] Fix missing typeOverload (#15400) @alexfauquette
164
+
165
+ ### Docs
166
+
167
+ - [docs] Add `PickersPopper` component to customization playground (#15397) @LukasTy
168
+ - [docs] Add `next` version links (#15423) @LukasTy
169
+ - [docs] Use the `loading` state in the demos (#15538) @cherniavskii
170
+
171
+ - [code-infra] Tentative fix for Argos flaky screenshot tests (#15399) @JCQuintas
172
+ - [docs-infra] Transpile `.ts` demo files (#15421) @KenanYusuf
173
+ - [core] Clarify release version bump strategy (#15536) @cherniavskii
174
+
6
175
  ## 7.22.2
7
176
 
8
177
  _Nov 8, 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.2
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.2
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.2
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.2",
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": {