@mui/x-charts 7.28.0 → 7.29.1
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/BarChart/BarElement.d.ts +1 -1
- package/BarChart/BarLabel/BarLabel.d.ts +1 -1
- package/CHANGELOG.md +291 -0
- package/ChartContainer/useChartContainerProps.d.ts +16 -16
- package/ChartContainer/useDefaultizeAxis.d.ts +8 -8
- package/ChartsTooltip/utils.js +2 -0
- package/Gauge/GaugeProvider.js +2 -0
- package/LineChart/AnimatedArea.d.ts +1 -1
- package/LineChart/AnimatedLine.d.ts +1 -1
- package/context/CartesianProvider/defaultizeAxis.d.ts +8 -8
- package/index.js +1 -1
- package/internals/defaultizeColor.d.ts +1 -1
- package/modern/ChartsTooltip/utils.js +2 -0
- package/modern/Gauge/GaugeProvider.js +2 -0
- package/modern/index.js +1 -1
- package/node/ChartsTooltip/utils.js +1 -0
- package/node/Gauge/GaugeProvider.js +2 -2
- package/node/index.js +1 -1
- package/package.json +5 -5
package/BarChart/BarElement.d.ts
CHANGED
|
@@ -394,7 +394,7 @@ export declare const BarElementPath: import("@emotion/styled").StyledComponent<P
|
|
|
394
394
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
395
395
|
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
396
396
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
397
|
-
all?: import("csstype").
|
|
397
|
+
all?: import("csstype").Globals | undefined;
|
|
398
398
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
399
399
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
400
400
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -377,7 +377,7 @@ export declare const BarLabelComponent: import("@emotion/styled").StyledComponen
|
|
|
377
377
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
378
378
|
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
379
379
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
380
|
-
all?: import("csstype").
|
|
380
|
+
all?: import("csstype").Globals | undefined;
|
|
381
381
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
382
382
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
383
383
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,297 @@
|
|
|
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.29.1
|
|
7
|
+
|
|
8
|
+
_Apr 23, 2025_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🐞 Bugfixes
|
|
13
|
+
|
|
14
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
15
|
+
@lhilgert9
|
|
16
|
+
|
|
17
|
+
Following are all team members who have contributed to this release:
|
|
18
|
+
@arminmeh, @cherniavskii, @flaviendelangle, @LukasTy, @romgrk.
|
|
19
|
+
|
|
20
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
21
|
+
|
|
22
|
+
### Data Grid
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid@7.29.1`
|
|
25
|
+
|
|
26
|
+
- [DataGrid] Prevent scrollbars from showing on top (#17410) @romgrk
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
29
|
+
|
|
30
|
+
Same changes as in `@mui/x-data-grid@7.29.1`, plus:
|
|
31
|
+
|
|
32
|
+
- [DataGridPro] Avoid proptypes warnings with header filters in React 17 (#17492) @cherniavskii
|
|
33
|
+
- [DataGridPro] Fix expandable rows detail content height updates (#17509) @arminmeh
|
|
34
|
+
- [DataGridPro] Fix row virtualization not working in list view (#17404) @cherniavskii
|
|
35
|
+
- [DataGridPro] Move locales re-export to allow proper tree shaking (#17438) @lhilgert9
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@7.29.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.1`, plus:
|
|
40
|
+
|
|
41
|
+
- [DataGridPremium] Use `groupingValueGetter` for row grouping on the server (#17423) @cherniavskii
|
|
42
|
+
|
|
43
|
+
### Date and Time Pickers
|
|
44
|
+
|
|
45
|
+
#### `@mui/x-date-pickers@7.29.1`
|
|
46
|
+
|
|
47
|
+
Internal changes.
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-date-pickers-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
50
|
+
|
|
51
|
+
Same changes as in `@mui/x-date-pickers@7.29.1`.
|
|
52
|
+
|
|
53
|
+
### Charts
|
|
54
|
+
|
|
55
|
+
#### `@mui/x-charts@7.29.1`
|
|
56
|
+
|
|
57
|
+
Internal changes.
|
|
58
|
+
|
|
59
|
+
#### `@mui/x-charts-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
60
|
+
|
|
61
|
+
Same changes as in `@mui/x-charts@7.29.1`.
|
|
62
|
+
|
|
63
|
+
### Tree View
|
|
64
|
+
|
|
65
|
+
#### `@mui/x-tree-view@7.29.1`
|
|
66
|
+
|
|
67
|
+
Internal changes.
|
|
68
|
+
|
|
69
|
+
#### `@mui/x-tree-view-pro@7.29.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
70
|
+
|
|
71
|
+
Same changes as in `@mui/x-tree-view@7.29.1`, plus:
|
|
72
|
+
|
|
73
|
+
- [RichTreeViewPro] Fix drag and drop issue with label editing (#17415) @flaviendelangle
|
|
74
|
+
|
|
75
|
+
### Docs
|
|
76
|
+
|
|
77
|
+
- [docs] Use MUI X v7 packages in CodeSandbox and StackBlitz (#17516) @cherniavskii
|
|
78
|
+
|
|
79
|
+
### Core
|
|
80
|
+
|
|
81
|
+
- [core] Bump monorepo (#17437) @LukasTy
|
|
82
|
+
|
|
83
|
+
## 7.29.0
|
|
84
|
+
|
|
85
|
+
_Apr 16, 2025_
|
|
86
|
+
|
|
87
|
+
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
88
|
+
|
|
89
|
+
- 🐞 Bugfixes
|
|
90
|
+
- 🌍 Improve Hebrew (he-IL), Polish (pl-PL), and Swedish (sv-SE) locales on the Data Grid
|
|
91
|
+
- 🌍 Improve Czech (cs-CZ) and Slovak (sk-SK) locales on the Date and Time Pickers
|
|
92
|
+
|
|
93
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
94
|
+
@lubka272, @ptuukkan, @iddan, @sofortdagmbh
|
|
95
|
+
|
|
96
|
+
Following are all team members who have contributed to this release:
|
|
97
|
+
@michelengelen, @oliviertassinari, @michelengelen, @LukasTy.
|
|
98
|
+
|
|
99
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
100
|
+
|
|
101
|
+
### Data Grid
|
|
102
|
+
|
|
103
|
+
#### `@mui/x-data-grid@7.29.0`
|
|
104
|
+
|
|
105
|
+
- [l10n] Improve Swedish (sv-SE) locale (#17306) @ptuukkan
|
|
106
|
+
- [l10n] Improve Hebrew (he-IL) locale (#16516) @iddan
|
|
107
|
+
- [l10n] Improve Polish (pl-PL) locale (#17306) @sofortdagmbh
|
|
108
|
+
|
|
109
|
+
#### `@mui/x-data-grid-pro@7.29.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
110
|
+
|
|
111
|
+
Same changes as in `@mui/x-data-grid@7.29.0`.
|
|
112
|
+
|
|
113
|
+
#### `@mui/x-data-grid-premium@7.29.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
114
|
+
|
|
115
|
+
Same changes as in `@mui/x-data-grid-pro@7.29.0`, plus:
|
|
116
|
+
|
|
117
|
+
- [DataGridPremium] Fix stale aggregation results after filtering (#17303) @cherniavskii
|
|
118
|
+
- [DataGridPremium] Fix aggregated values sorting (#17382) @cherniavskii
|
|
119
|
+
|
|
120
|
+
### Date and Time Pickers
|
|
121
|
+
|
|
122
|
+
#### `@mui/x-date-pickers@7.29.0`
|
|
123
|
+
|
|
124
|
+
- [l10n] Improve Slovak (sk-SK) locale (#17204) @lubka272
|
|
125
|
+
- [l10n] Improve Czech (cs-CZ) locale (#17205) @lubka272
|
|
126
|
+
|
|
127
|
+
#### `@mui/x-date-pickers-pro@7.29.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
128
|
+
|
|
129
|
+
Same changes as in `@mui/x-date-pickers@7.29.0`.
|
|
130
|
+
|
|
131
|
+
### Charts
|
|
132
|
+
|
|
133
|
+
#### `@mui/x-charts@7.29.0`
|
|
134
|
+
|
|
135
|
+
Internal changes.
|
|
136
|
+
|
|
137
|
+
#### `@mui/x-charts-pro@7.29.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
138
|
+
|
|
139
|
+
Same changes as in `@mui/x-charts@7.29.0`.
|
|
140
|
+
|
|
141
|
+
### Tree View
|
|
142
|
+
|
|
143
|
+
#### `@mui/x-tree-view@7.29.0`
|
|
144
|
+
|
|
145
|
+
Internal changes.
|
|
146
|
+
|
|
147
|
+
#### `@mui/x-tree-view-pro@7.29.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
148
|
+
|
|
149
|
+
Same changes as in `@mui/x-tree-view@7.29.0`.
|
|
150
|
+
|
|
151
|
+
### Core
|
|
152
|
+
|
|
153
|
+
- [core] Cleanup `@mui` dependency versions (#17390) @LukasTy
|
|
154
|
+
|
|
155
|
+
### Docs
|
|
156
|
+
|
|
157
|
+
- [docs] Fix 404 link on the marketing page (#17276) @oliviertassinari
|
|
158
|
+
- [docs] Fix country columns throwing on grouping (#17317) @cherniavskii
|
|
159
|
+
- [release] Changes to v7 for major release (#17320) @michelengelen
|
|
160
|
+
|
|
161
|
+
## 7.28.3
|
|
162
|
+
|
|
163
|
+
_Apr 3, 2025_
|
|
164
|
+
|
|
165
|
+
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
166
|
+
|
|
167
|
+
- 🐞 Bugfixes
|
|
168
|
+
|
|
169
|
+
Team members who have contributed to this release:
|
|
170
|
+
@cherniavskii, @LukasTy, @MBilalShafi.
|
|
171
|
+
|
|
172
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
173
|
+
|
|
174
|
+
### Data Grid
|
|
175
|
+
|
|
176
|
+
#### `@mui/x-data-grid@7.28.3`
|
|
177
|
+
|
|
178
|
+
Internal changes.
|
|
179
|
+
|
|
180
|
+
#### `@mui/x-data-grid-pro@7.28.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
181
|
+
|
|
182
|
+
Same changes as in `@mui/x-data-grid@7.28.3`, plus:
|
|
183
|
+
|
|
184
|
+
- [DataGridPro] Data source: Allow expanding groups with unknown children count (#17149) @MBilalShafi
|
|
185
|
+
|
|
186
|
+
#### `@mui/x-data-grid-premium@7.28.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
187
|
+
|
|
188
|
+
Same changes as in `@mui/x-data-grid-pro@7.28.3`.
|
|
189
|
+
|
|
190
|
+
### Date and Time Pickers
|
|
191
|
+
|
|
192
|
+
#### `@mui/x-date-pickers@7.28.3`
|
|
193
|
+
|
|
194
|
+
Internal changes.
|
|
195
|
+
|
|
196
|
+
#### `@mui/x-date-pickers-pro@7.28.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
197
|
+
|
|
198
|
+
Same changes as in `@mui/x-date-pickers@7.28.3`.
|
|
199
|
+
|
|
200
|
+
### Docs
|
|
201
|
+
|
|
202
|
+
- [docs] Update Localization Provider JSDoc link (#17208) @LukasTy
|
|
203
|
+
- [docs] Use v6 core packages in MUI X v7 docs (#17171) @cherniavskii
|
|
204
|
+
|
|
205
|
+
## 7.28.2
|
|
206
|
+
|
|
207
|
+
_Mar 28, 2025_
|
|
208
|
+
|
|
209
|
+
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
210
|
+
|
|
211
|
+
- 🐞 Bugfixes
|
|
212
|
+
|
|
213
|
+
Team members who have contributed to this release:
|
|
214
|
+
@flaviendelangle, @LukasTy, @arminmeh.
|
|
215
|
+
|
|
216
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
217
|
+
|
|
218
|
+
### Data Grid
|
|
219
|
+
|
|
220
|
+
#### `@mui/x-data-grid@7.28.2`
|
|
221
|
+
|
|
222
|
+
- [DataGrid] Fix error caused by trying to render rows that are not in the state anymore (#17117) @arminmeh
|
|
223
|
+
|
|
224
|
+
#### `@mui/x-data-grid-pro@7.28.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
225
|
+
|
|
226
|
+
Same changes as in `@mui/x-data-grid@7.28.2`.
|
|
227
|
+
|
|
228
|
+
#### `@mui/x-data-grid-premium@7.28.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
229
|
+
|
|
230
|
+
Same changes as in `@mui/x-data-grid-pro@7.28.2`.
|
|
231
|
+
|
|
232
|
+
### Date and Time Pickers
|
|
233
|
+
|
|
234
|
+
#### `@mui/x-date-pickers@7.28.2`
|
|
235
|
+
|
|
236
|
+
- [fields] Improve the check for year in `doesSectionFormatHaveLeadingZeros` (#17112) @flaviendelangle
|
|
237
|
+
|
|
238
|
+
#### `@mui/x-date-pickers-pro@7.28.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
239
|
+
|
|
240
|
+
Same changes as in `@mui/x-date-pickers@7.28.2`.
|
|
241
|
+
|
|
242
|
+
### Core
|
|
243
|
+
|
|
244
|
+
- [code-infra] Remove `test_regressions` step from React 18 pipeline (#17109) @LukasTy
|
|
245
|
+
|
|
246
|
+
## 7.28.1
|
|
247
|
+
|
|
248
|
+
_Mar 21, 2025_
|
|
249
|
+
|
|
250
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
251
|
+
|
|
252
|
+
- 🐞 Bugfixes
|
|
253
|
+
|
|
254
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
255
|
+
@jyash97, @nusr.
|
|
256
|
+
|
|
257
|
+
Following are all team members who have contributed to this release:
|
|
258
|
+
@arminmeh, @KenanYusuf.
|
|
259
|
+
|
|
260
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
261
|
+
|
|
262
|
+
### Data Grid
|
|
263
|
+
|
|
264
|
+
#### `@mui/x-data-grid@7.28.1`
|
|
265
|
+
|
|
266
|
+
- [DataGrid] Fix error while editing rows with custom id (@arminmeh) (#17050)
|
|
267
|
+
|
|
268
|
+
#### `@mui/x-data-grid-pro@7.28.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
269
|
+
|
|
270
|
+
Same changes as in `@mui/x-data-grid@7.28.1`, plus:
|
|
271
|
+
|
|
272
|
+
- [DataGridPro] Fix header select checkbox state with `checkboxSelectionVisibleOnly` and `paginationMode="server"` (@arminmeh) (#17032)
|
|
273
|
+
|
|
274
|
+
#### `@mui/x-data-grid-premium@7.28.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
275
|
+
|
|
276
|
+
Same changes as in `@mui/x-data-grid-pro@7.28.1`, plus:
|
|
277
|
+
|
|
278
|
+
- [DataGridPremium] Update column state correctly when grouping mode is updated with one grouping column (@arminmeh) (#17074)
|
|
279
|
+
|
|
280
|
+
### Tree View
|
|
281
|
+
|
|
282
|
+
#### `@mui/x-tree-view@7.28.1`
|
|
283
|
+
|
|
284
|
+
Internal changes.
|
|
285
|
+
|
|
286
|
+
#### `@mui/x-tree-view-pro@7.28.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
287
|
+
|
|
288
|
+
Same changes as in `@mui/x-tree-view@7.28.1`, plus:
|
|
289
|
+
|
|
290
|
+
- [TreeView] Allow moving an item after the last children of some other item (@jyash97) (#17065)
|
|
291
|
+
|
|
292
|
+
### Docs
|
|
293
|
+
|
|
294
|
+
- [docs] Fix Data Grid advanced list view demo (#17066) @KenanYusuf
|
|
295
|
+
- [docs] Fix custom detail panel toggle state update (@nusr) (#17018)
|
|
296
|
+
|
|
6
297
|
## 7.28.0
|
|
7
298
|
|
|
8
299
|
_Mar 17, 2025_
|
|
@@ -35,9 +35,9 @@ export declare const useChartContainerProps: (props: ChartContainerProps, ref: R
|
|
|
35
35
|
disableTicks?: boolean | undefined;
|
|
36
36
|
fill?: string | undefined;
|
|
37
37
|
tickFontSize?: number | undefined;
|
|
38
|
-
tickLabelStyle?: import("..").
|
|
39
|
-
labelStyle?: import("..").
|
|
40
|
-
tickLabelInterval?:
|
|
38
|
+
tickLabelStyle?: import("..").ChartsTextStyle | undefined;
|
|
39
|
+
labelStyle?: import("..").ChartsTextStyle | undefined;
|
|
40
|
+
tickLabelInterval?: "auto" | ((value: any, index: number) => boolean) | undefined;
|
|
41
41
|
labelFontSize?: number | undefined;
|
|
42
42
|
stroke?: string | undefined;
|
|
43
43
|
tickSize?: number | undefined;
|
|
@@ -45,16 +45,16 @@ export declare const useChartContainerProps: (props: ChartContainerProps, ref: R
|
|
|
45
45
|
slots?: Partial<import("../internals").ChartsAxisSlots> | undefined;
|
|
46
46
|
slotProps?: Partial<import("../internals").ChartsAxisSlotProps> | undefined;
|
|
47
47
|
sx?: import("@mui/system").SxProps | undefined;
|
|
48
|
-
tickInterval?:
|
|
49
|
-
tickPlacement?:
|
|
50
|
-
tickLabelPlacement?:
|
|
48
|
+
tickInterval?: "auto" | ((value: any, index: number) => boolean) | any[] | undefined;
|
|
49
|
+
tickPlacement?: "start" | "end" | "middle" | "extremities" | undefined;
|
|
50
|
+
tickLabelPlacement?: "middle" | "tick" | undefined;
|
|
51
51
|
scaleType?: "linear" | "band" | "point" | "log" | "pow" | "sqrt" | "time" | "utc" | undefined;
|
|
52
52
|
colorMap?: import("../models/colorMapping").ContinuousColorConfig<number | Date> | import("../models/colorMapping").PiecewiseColorConfig<number | Date> | import("../models/colorMapping").OrdinalColorConfig<string | number | Date> | undefined;
|
|
53
53
|
hideTooltip?: boolean | undefined;
|
|
54
|
-
domainLimit?:
|
|
54
|
+
domainLimit?: "nice" | "strict" | ((min: number, max: number) => {
|
|
55
55
|
min: number;
|
|
56
56
|
max: number;
|
|
57
|
-
})
|
|
57
|
+
}) | undefined;
|
|
58
58
|
id: import("../internals").AxisId;
|
|
59
59
|
}[];
|
|
60
60
|
yAxis: {
|
|
@@ -72,9 +72,9 @@ export declare const useChartContainerProps: (props: ChartContainerProps, ref: R
|
|
|
72
72
|
disableTicks?: boolean | undefined;
|
|
73
73
|
fill?: string | undefined;
|
|
74
74
|
tickFontSize?: number | undefined;
|
|
75
|
-
tickLabelStyle?: import("..").
|
|
76
|
-
labelStyle?: import("..").
|
|
77
|
-
tickLabelInterval?:
|
|
75
|
+
tickLabelStyle?: import("..").ChartsTextStyle | undefined;
|
|
76
|
+
labelStyle?: import("..").ChartsTextStyle | undefined;
|
|
77
|
+
tickLabelInterval?: "auto" | ((value: any, index: number) => boolean) | undefined;
|
|
78
78
|
labelFontSize?: number | undefined;
|
|
79
79
|
stroke?: string | undefined;
|
|
80
80
|
tickSize?: number | undefined;
|
|
@@ -82,16 +82,16 @@ export declare const useChartContainerProps: (props: ChartContainerProps, ref: R
|
|
|
82
82
|
slots?: Partial<import("../internals").ChartsAxisSlots> | undefined;
|
|
83
83
|
slotProps?: Partial<import("../internals").ChartsAxisSlotProps> | undefined;
|
|
84
84
|
sx?: import("@mui/system").SxProps | undefined;
|
|
85
|
-
tickInterval?:
|
|
86
|
-
tickPlacement?:
|
|
87
|
-
tickLabelPlacement?:
|
|
85
|
+
tickInterval?: "auto" | ((value: any, index: number) => boolean) | any[] | undefined;
|
|
86
|
+
tickPlacement?: "start" | "end" | "middle" | "extremities" | undefined;
|
|
87
|
+
tickLabelPlacement?: "middle" | "tick" | undefined;
|
|
88
88
|
scaleType?: "linear" | "band" | "point" | "log" | "pow" | "sqrt" | "time" | "utc" | undefined;
|
|
89
89
|
colorMap?: import("../models/colorMapping").ContinuousColorConfig<number | Date> | import("../models/colorMapping").PiecewiseColorConfig<number | Date> | import("../models/colorMapping").OrdinalColorConfig<string | number | Date> | undefined;
|
|
90
90
|
hideTooltip?: boolean | undefined;
|
|
91
|
-
domainLimit?:
|
|
91
|
+
domainLimit?: "nice" | "strict" | ((min: number, max: number) => {
|
|
92
92
|
min: number;
|
|
93
93
|
max: number;
|
|
94
|
-
})
|
|
94
|
+
}) | undefined;
|
|
95
95
|
id: import("../internals").AxisId;
|
|
96
96
|
}[];
|
|
97
97
|
};
|
|
@@ -17,9 +17,9 @@ export declare const useDefaultizeAxis: (inXAxis: MakeOptional<AxisConfig<ScaleN
|
|
|
17
17
|
disableTicks?: boolean | undefined;
|
|
18
18
|
fill?: string | undefined;
|
|
19
19
|
tickFontSize?: number | undefined;
|
|
20
|
-
tickLabelStyle?: import("..").
|
|
21
|
-
labelStyle?: import("..").
|
|
22
|
-
tickLabelInterval?:
|
|
20
|
+
tickLabelStyle?: import("..").ChartsTextStyle | undefined;
|
|
21
|
+
labelStyle?: import("..").ChartsTextStyle | undefined;
|
|
22
|
+
tickLabelInterval?: "auto" | ((value: any, index: number) => boolean) | undefined;
|
|
23
23
|
labelFontSize?: number | undefined;
|
|
24
24
|
stroke?: string | undefined;
|
|
25
25
|
tickSize?: number | undefined;
|
|
@@ -27,15 +27,15 @@ export declare const useDefaultizeAxis: (inXAxis: MakeOptional<AxisConfig<ScaleN
|
|
|
27
27
|
slots?: Partial<import("../internals").ChartsAxisSlots> | undefined;
|
|
28
28
|
slotProps?: Partial<import("../internals").ChartsAxisSlotProps> | undefined;
|
|
29
29
|
sx?: import("@mui/system").SxProps | undefined;
|
|
30
|
-
tickInterval?:
|
|
31
|
-
tickPlacement?:
|
|
32
|
-
tickLabelPlacement?:
|
|
30
|
+
tickInterval?: "auto" | ((value: any, index: number) => boolean) | any[] | undefined;
|
|
31
|
+
tickPlacement?: "start" | "end" | "middle" | "extremities" | undefined;
|
|
32
|
+
tickLabelPlacement?: "middle" | "tick" | undefined;
|
|
33
33
|
scaleType?: "linear" | "band" | "point" | "log" | "pow" | "sqrt" | "time" | "utc" | undefined;
|
|
34
34
|
colorMap?: import("../models/colorMapping").ContinuousColorConfig<number | Date> | import("../models/colorMapping").PiecewiseColorConfig<number | Date> | import("../models/colorMapping").OrdinalColorConfig<string | number | Date> | undefined;
|
|
35
35
|
hideTooltip?: boolean | undefined;
|
|
36
|
-
domainLimit?:
|
|
36
|
+
domainLimit?: "nice" | "strict" | ((min: number, max: number) => {
|
|
37
37
|
min: number;
|
|
38
38
|
max: number;
|
|
39
|
-
})
|
|
39
|
+
}) | undefined;
|
|
40
40
|
id: import("../internals").AxisId;
|
|
41
41
|
}[][];
|
package/ChartsTooltip/utils.js
CHANGED
package/Gauge/GaugeProvider.js
CHANGED
|
@@ -377,7 +377,7 @@ export declare const AreaElementPath: import("@emotion/styled").StyledComponent<
|
|
|
377
377
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
378
378
|
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
379
379
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
380
|
-
all?: import("csstype").
|
|
380
|
+
all?: import("csstype").Globals | undefined;
|
|
381
381
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
382
382
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
383
383
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -377,7 +377,7 @@ export declare const LineElementPath: import("@emotion/styled").StyledComponent<
|
|
|
377
377
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
378
378
|
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
379
379
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
380
|
-
all?: import("csstype").
|
|
380
|
+
all?: import("csstype").Globals | undefined;
|
|
381
381
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
382
382
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
383
383
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -16,9 +16,9 @@ export declare const defaultizeAxis: (inAxis: MakeOptional<AxisConfig<ScaleName,
|
|
|
16
16
|
disableTicks?: boolean | undefined;
|
|
17
17
|
fill?: string | undefined;
|
|
18
18
|
tickFontSize?: number | undefined;
|
|
19
|
-
tickLabelStyle?: import("../..").
|
|
20
|
-
labelStyle?: import("../..").
|
|
21
|
-
tickLabelInterval?:
|
|
19
|
+
tickLabelStyle?: import("../..").ChartsTextStyle | undefined;
|
|
20
|
+
labelStyle?: import("../..").ChartsTextStyle | undefined;
|
|
21
|
+
tickLabelInterval?: "auto" | ((value: any, index: number) => boolean) | undefined;
|
|
22
22
|
labelFontSize?: number | undefined;
|
|
23
23
|
stroke?: string | undefined;
|
|
24
24
|
tickSize?: number | undefined;
|
|
@@ -26,15 +26,15 @@ export declare const defaultizeAxis: (inAxis: MakeOptional<AxisConfig<ScaleName,
|
|
|
26
26
|
slots?: Partial<import("../../internals").ChartsAxisSlots> | undefined;
|
|
27
27
|
slotProps?: Partial<import("../../internals").ChartsAxisSlotProps> | undefined;
|
|
28
28
|
sx?: import("@mui/system").SxProps | undefined;
|
|
29
|
-
tickInterval?:
|
|
30
|
-
tickPlacement?:
|
|
31
|
-
tickLabelPlacement?:
|
|
29
|
+
tickInterval?: "auto" | ((value: any, index: number) => boolean) | any[] | undefined;
|
|
30
|
+
tickPlacement?: "start" | "end" | "middle" | "extremities" | undefined;
|
|
31
|
+
tickLabelPlacement?: "middle" | "tick" | undefined;
|
|
32
32
|
scaleType?: "linear" | "band" | "point" | "log" | "pow" | "sqrt" | "time" | "utc" | undefined;
|
|
33
33
|
colorMap?: import("../../models/colorMapping").ContinuousColorConfig<number | Date> | import("../../models/colorMapping").PiecewiseColorConfig<number | Date> | import("../../models/colorMapping").OrdinalColorConfig<string | number | Date> | undefined;
|
|
34
34
|
hideTooltip?: boolean | undefined;
|
|
35
|
-
domainLimit?:
|
|
35
|
+
domainLimit?: "nice" | "strict" | ((min: number, max: number) => {
|
|
36
36
|
min: number;
|
|
37
37
|
max: number;
|
|
38
|
-
})
|
|
38
|
+
}) | undefined;
|
|
39
39
|
id: import("../../internals").AxisId;
|
|
40
40
|
}[];
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AllSeriesType } from '../models/seriesType';
|
|
2
2
|
export declare function defaultizeColor(series: AllSeriesType, seriesIndex: number, colors?: string[]): {
|
|
3
3
|
data: {
|
|
4
|
-
label?:
|
|
4
|
+
label?: string | ((location: "tooltip" | "legend" | "arc") => string) | undefined;
|
|
5
5
|
color: string;
|
|
6
6
|
value: number;
|
|
7
7
|
id?: import("..").PieItemId | undefined;
|
package/modern/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
'use client';
|
|
2
3
|
|
|
4
|
+
// @ignore - do not document.
|
|
3
5
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
6
|
Object.defineProperty(exports, "__esModule", {
|
|
5
7
|
value: true
|
|
@@ -12,8 +14,6 @@ var _getPercentageValue = require("../internals/getPercentageValue");
|
|
|
12
14
|
var _utils = require("./utils");
|
|
13
15
|
var _useDrawingArea = require("../hooks/useDrawingArea");
|
|
14
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
// @ignore - do not document.
|
|
16
|
-
|
|
17
17
|
const GaugeContext = exports.GaugeContext = /*#__PURE__*/React.createContext({
|
|
18
18
|
value: null,
|
|
19
19
|
valueMin: 0,
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.29.1",
|
|
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 || ^7.0.0
|
|
33
|
+
"@mui/utils": "^5.16.6 || ^6.0.0 || ^7.0.0",
|
|
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.
|
|
39
|
+
"@mui/x-internals": "7.29.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 || ^7.0.0
|
|
45
|
-
"@mui/system": "^5.15.14 || ^6.0.0 || ^7.0.0
|
|
44
|
+
"@mui/material": "^5.15.14 || ^6.0.0 || ^7.0.0",
|
|
45
|
+
"@mui/system": "^5.15.14 || ^6.0.0 || ^7.0.0",
|
|
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
|
},
|