@mui/x-charts 8.0.0-alpha.4 → 8.0.0-alpha.6
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 +182 -0
- package/ScatterChart/formatter.js +1 -1
- package/index.js +1 -1
- package/internals/defaultizeColor.d.ts +1 -1
- package/models/seriesType/scatter.d.ts +1 -1
- package/modern/ScatterChart/formatter.js +1 -1
- package/modern/index.js +1 -1
- package/node/ScatterChart/formatter.js +1 -1
- package/node/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,187 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## 8.0.0-alpha.6
|
|
9
|
+
|
|
10
|
+
_Dec 26, 2024_
|
|
11
|
+
|
|
12
|
+
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🏎️ Improve Data Grid scrolling performance
|
|
15
|
+
- 🌍 Improve Dutch (nl-NL) locale on the Data Grid
|
|
16
|
+
- 🐞 Bugfixes
|
|
17
|
+
|
|
18
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
19
|
+
@JoepVerkoelen, @k-rajat19, @lauri865.
|
|
20
|
+
Following are all team members who have contributed to this release:
|
|
21
|
+
@flaviendelangle, @JCQuintas, @LukasTy, @MBilalShafi, @romgrk.
|
|
22
|
+
|
|
23
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
24
|
+
|
|
25
|
+
### Data Grid
|
|
26
|
+
|
|
27
|
+
#### Breaking changes
|
|
28
|
+
|
|
29
|
+
- The `sanitizeFilterItemValue()` utility is not exported anymore.
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid@8.0.0-alpha.6`
|
|
32
|
+
|
|
33
|
+
- [DataGrid] Avoid subscribing to `renderContext` state in grid root for better scroll performance (#15986) @lauri865
|
|
34
|
+
- [DataGrid] Fix header filters showing clear button while empty (#15829) @k-rajat19
|
|
35
|
+
- [DataGrid] Improve test coverage of server side data source (#15942) @MBilalShafi
|
|
36
|
+
- [DataGrid] Move progress components to leaf import (#15914) @romgrk
|
|
37
|
+
- [DataGrid] Move skeleton to leaf import (#15931) @romgrk
|
|
38
|
+
- [DataGrid] Replace `forwardRef` with a shim for forward compatibility (#15955) @lauri865
|
|
39
|
+
- [l10n] Improve Dutch (nl-NL) locale (#15994) @JoepVerkoelen
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-data-grid-pro@8.0.0-alpha.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
42
|
+
|
|
43
|
+
Same changes as in `@mui/x-data-grid@8.0.0-alpha.6`.
|
|
44
|
+
|
|
45
|
+
#### `@mui/x-data-grid-premium@8.0.0-alpha.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
46
|
+
|
|
47
|
+
Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.6`, plus:
|
|
48
|
+
|
|
49
|
+
- [DataGridPremium] Fix column unpinning with row grouping (#15908) @k-rajat19
|
|
50
|
+
|
|
51
|
+
### Date and Time Pickers
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-date-pickers@8.0.0-alpha.6`
|
|
54
|
+
|
|
55
|
+
- [pickers] Use `usePickerContext()` and `usePickerActionsContext()` to get the actions in the `actionBar` slot and in internal components (#15843) @flaviendelangle
|
|
56
|
+
- [pickers] Use `usePickerContext()` to get the view-related props in the layout, toolbar and tabs slots (#15606) @flaviendelangle
|
|
57
|
+
|
|
58
|
+
#### `@mui/x-date-pickers-pro@8.0.0-alpha.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
59
|
+
|
|
60
|
+
Same changes as in `@mui/x-date-pickers@8.0.0-alpha.6`.
|
|
61
|
+
|
|
62
|
+
### Charts
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-charts@8.0.0-alpha.6`
|
|
65
|
+
|
|
66
|
+
No changes since `@mui/x-charts@v8.0.0-alpha.5`.
|
|
67
|
+
|
|
68
|
+
#### `@mui/x-charts-pro@8.0.0-alpha.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
69
|
+
|
|
70
|
+
Same changes as in `@mui/x-charts@8.0.0-alpha.6`.
|
|
71
|
+
|
|
72
|
+
### Tree View
|
|
73
|
+
|
|
74
|
+
#### `@mui/x-tree-view@8.0.0-alpha.6`
|
|
75
|
+
|
|
76
|
+
No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.5`.
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-tree-view-pro@8.0.0-alpha.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
79
|
+
|
|
80
|
+
Same changes as in `@mui/x-tree-view@8.0.0-alpha.6`.
|
|
81
|
+
|
|
82
|
+
### Docs
|
|
83
|
+
|
|
84
|
+
- [docs] Remove production profiler from docs build (#15959) @lauri865
|
|
85
|
+
- [code-infra] Add new `next-env.d.ts` changes (#15947) @JCQuintas
|
|
86
|
+
|
|
87
|
+
## 8.0.0-alpha.5
|
|
88
|
+
|
|
89
|
+
_Dec 19, 2024_
|
|
90
|
+
|
|
91
|
+
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
92
|
+
|
|
93
|
+
- 🌍 Improve Korean (ko-KR) locale on the Data Grid
|
|
94
|
+
- 🐞 Bugfixes
|
|
95
|
+
|
|
96
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
97
|
+
@good-jinu, @k-rajat19.
|
|
98
|
+
Following are all team members who have contributed to this release:
|
|
99
|
+
@alexfauquette, @cherniavskii, @flaviendelangle, @KenanYusuf, @LukasTy, @MBilalShafi, @romgrk.
|
|
100
|
+
|
|
101
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
102
|
+
|
|
103
|
+
### Data Grid
|
|
104
|
+
|
|
105
|
+
#### Breaking changes
|
|
106
|
+
|
|
107
|
+
- Passing additional props (like `data-*`, `aria-*`) directly on the Data Grid component is no longer supported. To pass the props, use `slotProps`.
|
|
108
|
+
|
|
109
|
+
- For `.root` element, use `slotProps.root`.
|
|
110
|
+
- For `.main` element (the one with `role="grid"`), use `slotProps.main`.
|
|
111
|
+
|
|
112
|
+
- `detailPanelExpandedRowIds` and `onDetailPanelExpandedRowIdsChange` props use a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array:
|
|
113
|
+
|
|
114
|
+
```diff
|
|
115
|
+
-detailPanelExpandedRowIds?: GridRowId[];
|
|
116
|
+
+detailPanelExpandedRowIds?: Set<GridRowId>;
|
|
117
|
+
|
|
118
|
+
-onDetailPanelExpandedRowIdsChange?: (ids: GridRowId[], details: GridCallbackDetails) => void;
|
|
119
|
+
+onDetailPanelExpandedRowIdsChange?: (ids: Set<GridRowId>, details: GridCallbackDetails) => void;
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
- `apiRef.current.getExpandedDetailPanels` and `apiRef.current.setExpandedDetailPanels` methods receive and return a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array.
|
|
123
|
+
- `gridDetailPanelExpandedRowIdsSelector` returns a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array.
|
|
124
|
+
- `gridDetailPanelExpandedRowsHeightCacheSelector` was removed.
|
|
125
|
+
|
|
126
|
+
#### `@mui/x-data-grid@8.0.0-alpha.5`
|
|
127
|
+
|
|
128
|
+
- [DataGrid] Consider `columnGroupHeaderHeight` prop in `getTotalHeaderHeight` method (#15915) @k-rajat19
|
|
129
|
+
- [DataGrid] Fix autosizing with virtualized columns (#15116) @k-rajat19
|
|
130
|
+
- [DataGrid] Move `<Badge />` to leaf import (#15879) @romgrk
|
|
131
|
+
- [DataGrid] Move `<ListItemText />` and `<ListItemIcon />` to leaf import (#15869) @romgrk
|
|
132
|
+
- [DataGrid] Remove the Joy UI demo (#15913) @romgrk
|
|
133
|
+
- [DataGrid] Update quick filter input variant (#15909) @KenanYusuf
|
|
134
|
+
- [DataGrid] Use `slotProps` to forward props to `.main` and `.root` elements (#15870) @MBilalShafi
|
|
135
|
+
- [l10n] Improve Korean(ko-KR) locale (#15878) @good-jinu
|
|
136
|
+
|
|
137
|
+
#### `@mui/x-data-grid-pro@8.0.0-alpha.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
138
|
+
|
|
139
|
+
Same changes as in `@mui/x-data-grid@8.0.0-alpha.5`, plus:
|
|
140
|
+
|
|
141
|
+
- [DataGridPro] Use `Set` for `detailPanelExpandedRowIds` (#15835) @cherniavskii
|
|
142
|
+
|
|
143
|
+
#### `@mui/x-data-grid-premium@8.0.0-alpha.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
144
|
+
|
|
145
|
+
Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.5`.
|
|
146
|
+
|
|
147
|
+
### Date and Time Pickers
|
|
148
|
+
|
|
149
|
+
#### Breaking changes
|
|
150
|
+
|
|
151
|
+
- The `<PickersMonth />` component has been moved inside the Month Calendar component — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#month-calendar).
|
|
152
|
+
|
|
153
|
+
- The `<PickersYear />` component has been moved inside the Year Calendar component — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#year-calendar).
|
|
154
|
+
|
|
155
|
+
#### `@mui/x-date-pickers@8.0.0-alpha.5`
|
|
156
|
+
|
|
157
|
+
- [pickers] Add verification to disable skipped hours in spring forward DST (#15849) @flaviendelangle
|
|
158
|
+
- [pickers] Remove `PickersMonth` and `PickersYear` from the theme and remove the `div` wrapping each button (#15806) @flaviendelangle
|
|
159
|
+
- [pickers] Use the new `ownerState` object on the `<PickersTextField />` component (#15863) @flaviendelangle
|
|
160
|
+
|
|
161
|
+
#### `@mui/x-date-pickers-pro@8.0.0-alpha.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
162
|
+
|
|
163
|
+
Same changes as in `@mui/x-date-pickers@8.0.0-alpha.5`.
|
|
164
|
+
|
|
165
|
+
### Charts
|
|
166
|
+
|
|
167
|
+
#### `@mui/x-charts@8.0.0-alpha.5`
|
|
168
|
+
|
|
169
|
+
- [charts] Fix `<ScatterChart />` value type if `null` (#15917) @alexfauquette
|
|
170
|
+
|
|
171
|
+
#### `@mui/x-charts-pro@8.0.0-alpha.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
172
|
+
|
|
173
|
+
Same changes as in `@mui/x-charts@8.0.0-alpha.5`.
|
|
174
|
+
|
|
175
|
+
### Tree View
|
|
176
|
+
|
|
177
|
+
#### `@mui/x-tree-view@8.0.0-alpha.5`
|
|
178
|
+
|
|
179
|
+
No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.4`.
|
|
180
|
+
|
|
181
|
+
#### `@mui/x-tree-view-pro@8.0.0-alpha.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
182
|
+
|
|
183
|
+
Same changes as in `@mui/x-tree-view@8.0.0-alpha.5`.
|
|
184
|
+
|
|
185
|
+
### Core
|
|
186
|
+
|
|
187
|
+
- [code-infra] Remove `@mui/material-nextjs` dependency (#15925) @LukasTy
|
|
188
|
+
|
|
8
189
|
## 8.0.0-alpha.4
|
|
9
190
|
|
|
10
191
|
_Dec 13, 2024_
|
|
@@ -39,6 +220,7 @@ Following are all team members who have contributed to this release:
|
|
|
39
220
|
-const output = useGridSelector(apiRef, selector, equals)
|
|
40
221
|
+const output = useGridSelector(apiRef, selector, arguments, equals)
|
|
41
222
|
```
|
|
223
|
+
|
|
42
224
|
- The default variant for text fields and selects in the filter panel has been changed to `outlined`.
|
|
43
225
|
- The "row spanning" feature is now stable.
|
|
44
226
|
```diff
|
|
@@ -19,7 +19,7 @@ const formatter = ({
|
|
|
19
19
|
}) ?? [];
|
|
20
20
|
return [seriesId, _extends({}, seriesData, {
|
|
21
21
|
data,
|
|
22
|
-
valueFormatter: seriesData.valueFormatter ?? (v => `(${v.x}, ${v.y})`)
|
|
22
|
+
valueFormatter: seriesData.valueFormatter ?? (v => v && `(${v.x}, ${v.y})`)
|
|
23
23
|
})];
|
|
24
24
|
}));
|
|
25
25
|
return {
|
package/index.js
CHANGED
|
@@ -73,7 +73,7 @@ export declare function defaultizeColor(series: AllSeriesType, seriesIndex: numb
|
|
|
73
73
|
};
|
|
74
74
|
id?: import(".").SeriesId;
|
|
75
75
|
color: string;
|
|
76
|
-
valueFormatter?: import(".").SeriesValueFormatter<import("..").ScatterValueType> | undefined;
|
|
76
|
+
valueFormatter?: import(".").SeriesValueFormatter<import("..").ScatterValueType | null> | undefined;
|
|
77
77
|
highlightScope?: Partial<import("..").HighlightScope>;
|
|
78
78
|
xAxisId?: string;
|
|
79
79
|
yAxisId?: string;
|
|
@@ -9,7 +9,7 @@ export type ScatterValueType = {
|
|
|
9
9
|
*/
|
|
10
10
|
id: string | number;
|
|
11
11
|
};
|
|
12
|
-
export interface ScatterSeriesType extends CommonSeriesType<ScatterValueType>, CartesianSeriesType {
|
|
12
|
+
export interface ScatterSeriesType extends CommonSeriesType<ScatterValueType | null>, CartesianSeriesType {
|
|
13
13
|
type: 'scatter';
|
|
14
14
|
data?: ScatterValueType[];
|
|
15
15
|
markerSize?: number;
|
|
@@ -19,7 +19,7 @@ const formatter = ({
|
|
|
19
19
|
}) ?? [];
|
|
20
20
|
return [seriesId, _extends({}, seriesData, {
|
|
21
21
|
data,
|
|
22
|
-
valueFormatter: seriesData.valueFormatter ?? (v => `(${v.x}, ${v.y})`)
|
|
22
|
+
valueFormatter: seriesData.valueFormatter ?? (v => v && `(${v.x}, ${v.y})`)
|
|
23
23
|
})];
|
|
24
24
|
}));
|
|
25
25
|
return {
|
package/modern/index.js
CHANGED
|
@@ -26,7 +26,7 @@ const formatter = ({
|
|
|
26
26
|
}) ?? [];
|
|
27
27
|
return [seriesId, (0, _extends2.default)({}, seriesData, {
|
|
28
28
|
data,
|
|
29
|
-
valueFormatter: seriesData.valueFormatter ?? (v => `(${v.x}, ${v.y})`)
|
|
29
|
+
valueFormatter: seriesData.valueFormatter ?? (v => v && `(${v.x}, ${v.y})`)
|
|
30
30
|
})];
|
|
31
31
|
}));
|
|
32
32
|
return {
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.6",
|
|
4
4
|
"description": "The community edition of the Charts components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"react-is": "^18.3.1",
|
|
39
39
|
"reselect": "^5.1.1",
|
|
40
40
|
"use-sync-external-store": "^1.4.0",
|
|
41
|
-
"@mui/x-charts-vendor": "8.0.0-alpha.
|
|
42
|
-
"@mui/x-internals": "8.0.0-alpha.
|
|
41
|
+
"@mui/x-charts-vendor": "8.0.0-alpha.5",
|
|
42
|
+
"@mui/x-internals": "8.0.0-alpha.6"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@emotion/react": "^11.9.0",
|