@mui/x-charts 7.21.0 → 7.22.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 +80 -0
- package/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.d.ts +2 -2
- package/index.js +1 -1
- package/modern/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,86 @@
|
|
|
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.22.0
|
|
7
|
+
|
|
8
|
+
_Oct 25, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🛰 Introduce [server-side support for Data Grid row grouping](https://mui.com/x/react-data-grid/server-side-data/row-grouping/)
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
- 📚 Documentation improvements
|
|
15
|
+
- 🌍 Improve Portuguese (pt-BR) locale on the Data Grid component
|
|
16
|
+
|
|
17
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
18
|
+
@clins1994, @GITPHLAP, @k-rajat19, @kalyan90, @merotosc, @yash49.
|
|
19
|
+
Following are all team members who have contributed to this release:
|
|
20
|
+
@cherniavskii, @flaviendelangle, @LukasTy, @MBilalShafi, @romgrk.
|
|
21
|
+
|
|
22
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
23
|
+
|
|
24
|
+
### Data Grid
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid@7.22.0`
|
|
27
|
+
|
|
28
|
+
- [DataGrid] Fix `GridPanelAnchor` positioning (#15022) @k-rajat19
|
|
29
|
+
- [DataGrid] Fix ugly prop-types for the `pageStyle` prop of the `GridPrintExportMenuItem` component (#15015) @flaviendelangle
|
|
30
|
+
- [DataGrid] Fix value type in filter model for number and boolean column type (#14733) @k-rajat19
|
|
31
|
+
- [DataGrid] Focus next row when the focused row is deleted (#15067) @cherniavskii
|
|
32
|
+
- [DataGrid] Remove some usages of `<Box />` and `<Badge />` (#15013) @romgrk
|
|
33
|
+
- [DataGrid] Fix number of rows to display for page size options with negative value (#14890) @kalyan90
|
|
34
|
+
- [l10n] Improve Portuguese (pt-BR) locale (#15021) @k-rajat19
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-data-grid-pro@7.22.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-data-grid@7.22.0`, plus:
|
|
39
|
+
|
|
40
|
+
- [DataGridPro] Fix column pinning layout (#15073) @cherniavskii
|
|
41
|
+
|
|
42
|
+
#### `@mui/x-data-grid-premium@7.22.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
43
|
+
|
|
44
|
+
Same changes as in `@mui/x-data-grid-pro@7.22.0`, plus:
|
|
45
|
+
|
|
46
|
+
- [DataGridPremium] Server-side data source with row grouping (#15109) @MBilalShafi
|
|
47
|
+
|
|
48
|
+
### Date and Time Pickers
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-date-pickers@7.22.0`
|
|
51
|
+
|
|
52
|
+
- [pickers] Fix `DateCalendar` timezone management (#15119) @LukasTy
|
|
53
|
+
- [pickers] Fix `DigitalClock` time options on a `DST` switch day (#15092) @LukasTy
|
|
54
|
+
|
|
55
|
+
#### `@mui/x-date-pickers-pro@7.22.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
56
|
+
|
|
57
|
+
Same changes as in `@mui/x-date-pickers@7.22.0`.
|
|
58
|
+
|
|
59
|
+
### Charts
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-charts@7.22.0`
|
|
62
|
+
|
|
63
|
+
- [charts] Export data type in `onAxisClick(_, data)` callback (#15038) @clins1994
|
|
64
|
+
|
|
65
|
+
#### `@mui/x-charts-pro@7.0.0-beta.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
66
|
+
|
|
67
|
+
Same changes as in `@mui/x-charts@7.22.0`.
|
|
68
|
+
|
|
69
|
+
### Tree View
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-tree-view@7.22.0`
|
|
72
|
+
|
|
73
|
+
- [TreeView] Make the cancellable event types public (#14992) @flaviendelangle
|
|
74
|
+
|
|
75
|
+
### Docs
|
|
76
|
+
|
|
77
|
+
- [docs] Fix typo in Tree View docs (#15047) @yash49
|
|
78
|
+
|
|
79
|
+
### Core
|
|
80
|
+
|
|
81
|
+
- [core] Adjust cherry-pick GH actions (#15101) @LukasTy
|
|
82
|
+
- [core] Update prettier target branch (#15100) @MBilalShafi
|
|
83
|
+
- [core] Update some `default-branch-switch` instances for `v7.x` (#15085) @MBilalShafi
|
|
84
|
+
- [test] Revert to using `fireEvent` instead of `userEvent` (#14927) @LukasTy
|
|
85
|
+
|
|
6
86
|
## 7.21.0
|
|
7
87
|
|
|
8
88
|
_Oct 17, 2024_
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type
|
|
2
|
+
export type ChartsAxisData = {
|
|
3
3
|
dataIndex: number;
|
|
4
4
|
axisValue?: number | Date | string;
|
|
5
5
|
seriesValues: Record<string, number | null | undefined>;
|
|
@@ -11,7 +11,7 @@ export interface ChartsOnAxisClickHandlerProps {
|
|
|
11
11
|
* @param {MouseEvent} event The mouse event recorded on the `<svg/>` element.
|
|
12
12
|
* @param {null | AxisData} data The data about the clicked axis and items associated with it.
|
|
13
13
|
*/
|
|
14
|
-
onAxisClick?: (event: MouseEvent, data: null |
|
|
14
|
+
onAxisClick?: (event: MouseEvent, data: null | ChartsAxisData) => void;
|
|
15
15
|
}
|
|
16
16
|
declare function ChartsOnAxisClickHandler(props: ChartsOnAxisClickHandlerProps): React.JSX.Element;
|
|
17
17
|
declare namespace ChartsOnAxisClickHandler {
|
package/index.js
CHANGED
package/modern/index.js
CHANGED
package/node/index.js
CHANGED