@mui/x-charts 7.27.0 → 7.28.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,223 @@
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.28.0
7
+
8
+ _Mar 17, 2025_
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
+ - 🎁 Add support for `@mui/material` version 7 in all X packages
13
+ - 🐞 Bugfixes
14
+ - 🌍 Improve Chinese (zh-CN), (zh-HK), (zh-TW), Czech (cs-CZ), Korean (ko-KR) and Slovak (sk-Sk) locales on the Data Grid
15
+ - 🌍 Improve Chinese (zh-CN), (zh-HK) and (zh-TW) locales on the Pickers
16
+
17
+ Special thanks go out to the community contributors who have helped make this release possible:
18
+ @Blake-McCullough, @hlavacz, @yelahj, @k-rajat19, @nusr.
19
+ Following are all team members who have contributed to this release:
20
+ @arminmeh, @flaviendelangle, @LukasTy, @michelengelen, @MBilalShafi.
21
+
22
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
23
+
24
+ ### Data Grid
25
+
26
+ #### `@mui/x-data-grid@7.28.0`
27
+
28
+ - [DataGrid] Add click propagation and prevents default on `toggleMenu` click (#16909) @michelengelen
29
+ - [DataGrid] Fix `processRowUpdate()` error if the row is removed before it is executed (#16904) @arminmeh
30
+ - [DataGrid] Fix bug with adding and removing columns in active edit state (#16916) @Blake-McCullough
31
+ - [DataGrid] Fix visual issue with pinned columns and row spanning (#16942) @MBilalShafi
32
+ - [DataGrid] Make column header menu button aria-labels unique (#16925) @owais635
33
+ - [DataGrid] Fix `printOptions` not respecting `hideFooter` root prop (#16915) @k-rajat19
34
+ - [l10n] Improve Chinese (zh-CN), (zh-HK) and (zh-TW) locales (#16917 and #16887) @nusr
35
+ - [l10n] Improve Czech (cs-CZ) and Slovak (sk-Sk) locales (#16996) @hlavacz
36
+ - [l10n] Improve Korean (ko-KR) locale (#16998) @yelahj
37
+
38
+ #### `@mui/x-data-grid-pro@7.28.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
39
+
40
+ Same changes as in `@mui/x-data-grid@7.28.0`, plus:
41
+
42
+ - [DataGridPro] Fix header filters not displaying restored values (#16976) @MBilalShafi
43
+ - [DataGridPro] Fix infinite loading not reacting when scrolling to the end (#16939) @arminmeh
44
+
45
+ #### `@mui/x-data-grid-premium@7.28.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
46
+
47
+ Same changes as in `@mui/x-data-grid-pro@7.28.0`, plus:
48
+
49
+ - [DataGridPremium] Fix selection propagation issues with controlled state (#16995) @MBilalShafi
50
+
51
+ ### Date and Time Pickers
52
+
53
+ #### `@mui/x-date-pickers@7.28.0`
54
+
55
+ - [l10n] Improve Chinese (zh-CN), (zh-HK) and (zh-TW) locales (#16997) @nusr
56
+
57
+ #### `@mui/x-date-pickers-pro@7.28.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
58
+
59
+ Same changes as in `@mui/x-date-pickers@7.28.0`, plus:
60
+
61
+ - [DateRangeCalendar] Do not update the previewed day when hovering a day and the value is empty (#16892) @flaviendelangle
62
+
63
+ ### Charts
64
+
65
+ #### `@mui/x-charts@7.28.0`
66
+
67
+ Internal changes.
68
+
69
+ #### `@mui/x-charts-pro@7.28.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
70
+
71
+ Same changes as in `@mui/x-charts@7.28.0`.
72
+
73
+ ### Tree View
74
+
75
+ #### `@mui/x-tree-view@7.28.0`
76
+
77
+ Internal changes.
78
+
79
+ #### `@mui/x-tree-view-pro@7.28.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
80
+
81
+ Same changes as in `@mui/x-tree-view@7.28.0`.
82
+
83
+ ### Docs
84
+
85
+ - [docs] Fix link to the lazy loading demo for the DataGrid (#16912) @nusr
86
+
87
+ ### Core
88
+
89
+ - [core] Allow `@mui/material` v7 in dependencies (#16951) @LukasTy
90
+ - [infra] Make tests on React 18 part of pipeline (#16958) @LukasTy
91
+
92
+ ## 7.27.3
93
+
94
+ _Mar 7, 2025_
95
+
96
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
97
+
98
+ - 🐞 Bugfixes
99
+
100
+ Team members who have contributed to this release:
101
+ @arminmeh, @cherniavskii, @LukasTy, @michelengelen.
102
+
103
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
104
+
105
+ ### Data Grid
106
+
107
+ #### `@mui/x-data-grid@7.27.3`
108
+
109
+ - [DataGrid] Fix `aria-hidden` console error when scrollbar is dragged (#16834) @arminmeh
110
+ - [DataGrid] Fix scroll jump with dynamic row height (#16801) @cherniavskii
111
+
112
+ #### `@mui/x-data-grid-pro@7.27.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
113
+
114
+ Same changes as in `@mui/x-data-grid@7.27.3`.
115
+
116
+ #### `@mui/x-data-grid-premium@7.27.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
117
+
118
+ Same changes as in `@mui/x-data-grid-pro@7.27.3`.
119
+
120
+ ### Date and Time Pickers
121
+
122
+ #### `@mui/x-date-pickers@7.27.3`
123
+
124
+ - [fields] Fix Fields aria relationship with `helperText` (#16828) @LukasTy
125
+
126
+ #### `@mui/x-date-pickers-pro@7.27.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
127
+
128
+ Same changes as in `@mui/x-date-pickers@7.27.3`.
129
+
130
+ ### Core
131
+
132
+ - [infra] Update contributor acknowledgment wording (#16753) @michelengelen
133
+
134
+ ## 7.27.2
135
+
136
+ <!-- generated comparing v7.27.1..v7.x -->
137
+
138
+ _Feb 27, 2025_
139
+
140
+ We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
141
+
142
+ - 🐞 Bugfixes
143
+ - 🌍 Improve Hungarian (hu-HU) and Russian (ru-RU) locales on the Data Grid
144
+
145
+ Special thanks go out to the community contributors who have helped make this release possible:
146
+ @pcorpet, @noherczeg, @denpiligrim.
147
+ Following are all team members who have contributed to this release:
148
+ @MBilalShafi, @KenanYusuf.
149
+
150
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
151
+
152
+ ### Data Grid
153
+
154
+ #### `@mui/x-data-grid@v7.27.2`
155
+
156
+ - [DataGrid] Fix `showColumnVerticalBorder` prop (#16726) @KenanYusuf
157
+ - [DataGrid] Make server-side data navigation consistent (#16735) @MBilalShafi
158
+ - [DataGrid] Use readonly array for `GridSortModel` (#16731) @pcorpet
159
+ - [l10n] Improve Hungarian (hu-HU) locale (#16746) @noherczeg
160
+ - [l10n] Improve Russian (ru-RU) locale (#16725) @denpiligrim
161
+
162
+ #### `@mui/x-data-grid-pro@v7.27.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
163
+
164
+ Same changes as in `@mui/x-data-grid@v7.27.2`.
165
+
166
+ #### `@mui/x-data-grid-premium@v7.27.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
167
+
168
+ Same changes as in `@mui/x-data-grid-pro@v7.27.2`.
169
+
170
+ ## 7.27.1
171
+
172
+ _Feb 25, 2025_
173
+
174
+ We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
175
+
176
+ - 🐞 Bugfixes
177
+ - 🌍 Add Bangla (bn-BD) locale on the Data Grid and Date Pickers
178
+
179
+ Special thanks go out to the community contributors who have helped make this release possible:
180
+ @nusr, @officialkidmax.
181
+ Following are all team members who have contributed to this release:
182
+ @bernardobelchior, @MBilalShafi, @KenanYusuf.
183
+
184
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
185
+
186
+ ### Data Grid
187
+
188
+ #### `@mui/x-data-grid@7.27.1`
189
+
190
+ - [DataGrid] Fix the pagination unexpected behavior when using -1 for "All" rows per page (#16485) @nusr
191
+ - [DataGrid] Extract `getRowId()` API method as a selector (#16574) @MBilalShafi
192
+ - [DataGrid] Fix scrollbars overlapping cells on mount (#16653) @KenanYusuf
193
+ - [l10n] Add Bangla (bn-BD) locale (#16649) @officialkidmax
194
+
195
+ #### `@mui/x-data-grid-pro@7.27.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
196
+
197
+ Same changes as in `@mui/x-data-grid@7.27.1`.
198
+
199
+ #### `@mui/x-data-grid-premium@7.27.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
200
+
201
+ Same changes as in `@mui/x-data-grid-pro@7.27.1`.
202
+
203
+ ### Date and Time Pickers
204
+
205
+ #### `@mui/x-date-pickers@7.27.1`
206
+
207
+ - [l10n] Add Bangla (bn-BD) locale (#16649) @officialkidmax
208
+
209
+ #### `@mui/x-date-pickers-pro@7.27.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
210
+
211
+ Same changes as in `@mui/x-date-pickers@7.27.1`.
212
+
213
+ ### Charts
214
+
215
+ #### `@mui/x-charts@7.27.1`
216
+
217
+ - [charts] Fix empty series array in pie chart (#16657) @bernardobelchior
218
+
219
+ #### `@mui/x-charts-pro@7.27.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
220
+
221
+ Same changes as in `@mui/x-charts@7.27.1`.
222
+
6
223
  ## 7.27.0
7
224
 
8
225
  _Feb 17, 2025_
@@ -96,7 +96,7 @@ const PieChart = /*#__PURE__*/React.forwardRef(function PieChart(inProps, ref) {
96
96
  xAxis: xAxis ?? [{
97
97
  id: DEFAULT_X_AXIS_KEY,
98
98
  scaleType: 'point',
99
- data: [...new Array(Math.max(...series.map(s => s.data.length)))].map((_, index) => index)
99
+ data: [...new Array(Math.max(0, ...series.map(s => s.data.length)))].map((_, index) => index)
100
100
  }],
101
101
  yAxis: yAxis,
102
102
  colors: colors,
package/README.md CHANGED
@@ -15,7 +15,7 @@ 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 || ^6.0.0",
18
+ "@mui/material": "^5.15.14 || ^6.0.0 || ^7.0.0",
19
19
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
20
20
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
21
21
  },
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts v7.27.0
2
+ * @mui/x-charts v7.28.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -96,7 +96,7 @@ const PieChart = /*#__PURE__*/React.forwardRef(function PieChart(inProps, ref) {
96
96
  xAxis: xAxis ?? [{
97
97
  id: DEFAULT_X_AXIS_KEY,
98
98
  scaleType: 'point',
99
- data: [...new Array(Math.max(...series.map(s => s.data.length)))].map((_, index) => index)
99
+ data: [...new Array(Math.max(0, ...series.map(s => s.data.length)))].map((_, index) => index)
100
100
  }],
101
101
  yAxis: yAxis,
102
102
  colors: colors,
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts v7.27.0
2
+ * @mui/x-charts v7.28.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -103,7 +103,7 @@ const PieChart = exports.PieChart = /*#__PURE__*/React.forwardRef(function PieCh
103
103
  xAxis: xAxis ?? [{
104
104
  id: _constants.DEFAULT_X_AXIS_KEY,
105
105
  scaleType: 'point',
106
- data: [...new Array(Math.max(...series.map(s => s.data.length)))].map((_, index) => index)
106
+ data: [...new Array(Math.max(0, ...series.map(s => s.data.length)))].map((_, index) => index)
107
107
  }],
108
108
  yAxis: yAxis,
109
109
  colors: colors,
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts v7.27.0
2
+ * @mui/x-charts v7.28.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.27.0",
3
+ "version": "7.28.0",
4
4
  "description": "The community edition of the Charts components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -30,19 +30,19 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@babel/runtime": "^7.25.7",
33
- "@mui/utils": "^5.16.6 || ^6.0.0",
33
+ "@mui/utils": "^5.16.6 || ^6.0.0 || ^7.0.0 || ^7.0.0-beta",
34
34
  "@react-spring/rafz": "^9.7.5",
35
35
  "@react-spring/web": "^9.7.5",
36
36
  "clsx": "^2.1.1",
37
37
  "prop-types": "^15.8.1",
38
38
  "@mui/x-charts-vendor": "7.20.0",
39
- "@mui/x-internals": "7.26.0"
39
+ "@mui/x-internals": "7.28.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@emotion/react": "^11.9.0",
43
43
  "@emotion/styled": "^11.8.1",
44
- "@mui/material": "^5.15.14 || ^6.0.0",
45
- "@mui/system": "^5.15.14 || ^6.0.0",
44
+ "@mui/material": "^5.15.14 || ^6.0.0 || ^7.0.0 || ^7.0.0-beta",
45
+ "@mui/system": "^5.15.14 || ^6.0.0 || ^7.0.0 || ^7.0.0-beta",
46
46
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
47
47
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
48
48
  },