@mui/x-charts 8.5.1 → 8.5.3
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 +187 -10
- package/ChartsGrid/ChartsHorizontalGrid.js +1 -1
- package/ChartsGrid/ChartsVerticalGrid.js +1 -1
- package/ChartsLegend/ChartsLegend.d.ts +1 -0
- package/ChartsLegend/ChartsLegend.js +1 -0
- package/ChartsLegend/ContinuousColorLegend.d.ts +1 -0
- package/ChartsLegend/PiecewiseColorLegend.d.ts +1 -0
- package/ChartsLegend/chartsLegendClasses.d.ts +3 -1
- package/ChartsLegend/chartsLegendClasses.js +2 -1
- package/ChartsSurface/ChartsSurface.d.ts +1 -1
- package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/RadarChart/index.d.ts +1 -1
- package/ScatterChart/Scatter.d.ts +2 -0
- package/ScatterChart/Scatter.js +9 -1
- package/ScatterChart/index.d.ts +3 -1
- package/ScatterChart/index.js +16 -1
- package/ScatterChart/scatterClasses.d.ts +8 -0
- package/ScatterChart/scatterClasses.js +22 -0
- package/Toolbar/Toolbar.js +1 -0
- package/esm/ChartsGrid/ChartsHorizontalGrid.js +1 -1
- package/esm/ChartsGrid/ChartsVerticalGrid.js +1 -1
- package/esm/ChartsLegend/ChartsLegend.d.ts +1 -0
- package/esm/ChartsLegend/ChartsLegend.js +1 -0
- package/esm/ChartsLegend/ContinuousColorLegend.d.ts +1 -0
- package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +1 -0
- package/esm/ChartsLegend/chartsLegendClasses.d.ts +3 -1
- package/esm/ChartsLegend/chartsLegendClasses.js +2 -1
- package/esm/ChartsSurface/ChartsSurface.d.ts +1 -1
- package/esm/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/esm/RadarChart/index.d.ts +1 -1
- package/esm/ScatterChart/Scatter.d.ts +2 -0
- package/esm/ScatterChart/Scatter.js +9 -1
- package/esm/ScatterChart/index.d.ts +3 -1
- package/esm/ScatterChart/index.js +2 -1
- package/esm/ScatterChart/scatterClasses.d.ts +8 -0
- package/esm/ScatterChart/scatterClasses.js +13 -0
- package/esm/Toolbar/Toolbar.js +1 -0
- package/esm/hooks/useItemHighlighted.js +2 -2
- package/esm/index.js +1 -1
- package/esm/internals/createSeriesSelectorOfType.js +2 -2
- package/esm/internals/defaultValueFormatters.d.ts +6 -0
- package/esm/internals/defaultValueFormatters.js +15 -0
- package/esm/internals/index.d.ts +5 -0
- package/esm/internals/index.js +5 -0
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +3 -29
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +14 -724
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +10 -10
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +3 -29
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +6 -54
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +3 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +12 -208
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +7 -66
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +2 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +21 -6222
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +4 -6
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +50 -5
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +18 -622
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -3
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +18 -230
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +6 -6
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +17 -2012
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +39 -4
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +3 -27
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +1 -1
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +5 -40
- package/esm/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +5 -0
- package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +3 -2
- package/esm/internals/plugins/utils/selectors.d.ts +18 -6
- package/esm/internals/plugins/utils/selectors.js +3 -3
- package/esm/internals/store/useSelector.d.ts +2 -2
- package/esm/internals/store/useSelector.js +5 -3
- package/esm/models/axis.d.ts +3 -2
- package/esm/models/index.d.ts +1 -1
- package/hooks/useItemHighlighted.js +2 -2
- package/index.js +1 -1
- package/internals/createSeriesSelectorOfType.js +2 -2
- package/internals/defaultValueFormatters.d.ts +6 -0
- package/internals/defaultValueFormatters.js +21 -0
- package/internals/index.d.ts +5 -0
- package/internals/index.js +52 -0
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +3 -29
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +14 -724
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +11 -10
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +3 -29
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +6 -54
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +3 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +12 -208
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +7 -66
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +4 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +21 -6222
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +4 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +50 -5
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +18 -622
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -3
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +18 -230
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +6 -6
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +17 -2012
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +39 -4
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +3 -27
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +5 -40
- package/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +5 -0
- package/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +3 -2
- package/internals/plugins/utils/selectors.d.ts +18 -6
- package/internals/plugins/utils/selectors.js +3 -3
- package/internals/store/useSelector.d.ts +2 -2
- package/internals/store/useSelector.js +6 -3
- package/models/axis.d.ts +3 -2
- package/models/index.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,193 @@
|
|
|
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.5.3
|
|
9
|
+
|
|
10
|
+
_Jun 19, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 📚 Documentation improvements
|
|
15
|
+
- 🐞 Bugfixes
|
|
16
|
+
|
|
17
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
18
|
+
@alisasanib, @arminmeh, @sai6855
|
|
19
|
+
|
|
20
|
+
The following are all team members who have contributed to this release:
|
|
21
|
+
@alexfauquette, @bernardobelchior, @flaviendelangle, @JCQuintas, @LukasTy, @MBilalShafi, @oliviertassinari
|
|
22
|
+
|
|
23
|
+
### Data Grid
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid@8.5.3`
|
|
26
|
+
|
|
27
|
+
- [DataGrid] Fix export menu button tooltip being interactive when menu is open (#18327) @bernardobelchior
|
|
28
|
+
- [DataGrid] Fix column menu scroll close (#18065) @alisasanib
|
|
29
|
+
- [DataGrid] Fix page size issue with data source (#18419) @MBilalShafi
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
32
|
+
|
|
33
|
+
Same changes as in `@mui/x-data-grid@8.5.3`, plus:
|
|
34
|
+
|
|
35
|
+
- [DataGridPro] Ignore missing `rowCount` response when new children are fetched with the data source (#17711) @arminmeh
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@8.5.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@8.5.3`.
|
|
40
|
+
|
|
41
|
+
### Date and Time Pickers
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-date-pickers@8.5.3`
|
|
44
|
+
|
|
45
|
+
- [pickers] Add `inputSizeSmall` to classes interface (#18242) @sai6855
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-date-pickers-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
48
|
+
|
|
49
|
+
Same changes as in `@mui/x-date-pickers@8.5.3`.
|
|
50
|
+
|
|
51
|
+
### Charts
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-charts@8.5.3`
|
|
54
|
+
|
|
55
|
+
- [charts] Add item class to list item around each series in legend (#18411) @bernardobelchior
|
|
56
|
+
- [charts] Allow `tabIndex` in surface and legend (#18344) @JCQuintas
|
|
57
|
+
- [charts] Explore selector typing (#18362) @alexfauquette
|
|
58
|
+
- [charts] Fix highlight with number ids (#18423) @alexfauquette
|
|
59
|
+
- [charts] Make scatter chart use data attributes (#18048) @alexfauquette
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-charts-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
62
|
+
|
|
63
|
+
Same changes as in `@mui/x-charts@8.5.3`, plus:
|
|
64
|
+
|
|
65
|
+
- [charts-pro] Add data-series to elements of funnel chart (#18067) @JCQuintas
|
|
66
|
+
- [charts-pro] Hide values outside minStart and maxEnd in zoom slider (#18336) @bernardobelchior
|
|
67
|
+
- [charts-pro] Fix `FunnelChart` label positioning with different curves (#18354) @JCQuintas
|
|
68
|
+
|
|
69
|
+
### Tree View
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-tree-view@8.5.3`
|
|
72
|
+
|
|
73
|
+
Internal changes.
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-tree-view-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
76
|
+
|
|
77
|
+
Same changes as in `@mui/x-tree-view@8.5.3`.
|
|
78
|
+
|
|
79
|
+
### Codemod
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-codemod@8.5.3`
|
|
82
|
+
|
|
83
|
+
Internal changes.
|
|
84
|
+
|
|
85
|
+
### Docs
|
|
86
|
+
|
|
87
|
+
- [docs] Fix 404 in charts docs (#18440) @alexfauquette
|
|
88
|
+
- [docs][pickers] Fix adapter version resolving when opening demo to edit (#18363) @LukasTy
|
|
89
|
+
|
|
90
|
+
### Core
|
|
91
|
+
|
|
92
|
+
- [core] Fix pnpm valelint error (#18420) @oliviertassinari
|
|
93
|
+
|
|
94
|
+
### Miscellaneous
|
|
95
|
+
|
|
96
|
+
- [code-infra] Add back a `Playwright` renovate group (#18397) @LukasTy
|
|
97
|
+
- [code-infra] Setup `CODEOWNERS` for charts repositories (#18418) @JCQuintas
|
|
98
|
+
- [code-infra] Strengthen `URL` usage for test config (#18444) @LukasTy
|
|
99
|
+
- [code-infra] Use `vitest` bundled types (#17758) @JCQuintas
|
|
100
|
+
- [infra] Stabilise tests by removing babel and plugins from vitest (#18341) @JCQuintas
|
|
101
|
+
- [infra] Add automated release PR creation script (#18345) @michelengelen
|
|
102
|
+
|
|
103
|
+
## 8.5.2
|
|
104
|
+
|
|
105
|
+
_Jun 12, 2025_
|
|
106
|
+
|
|
107
|
+
We'd like to extend a big thank you to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
108
|
+
|
|
109
|
+
- 📊 Improve Data Grid selectors performance
|
|
110
|
+
- 🐞 Fix `useSyncExternalStore` import error in React 17
|
|
111
|
+
|
|
112
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
113
|
+
@alisasanib, @noobyogi0010.
|
|
114
|
+
|
|
115
|
+
The following are all team members who have contributed to this release:
|
|
116
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @JCQuintas, @KenanYusuf, @LukasTy, @mapache-salvaje, @michelengelen, @noraleonte, @oliviertassinari, @prakhargupta1, @romgrk.
|
|
117
|
+
|
|
118
|
+
### Data Grid
|
|
119
|
+
|
|
120
|
+
#### `@mui/x-data-grid@8.5.2`
|
|
121
|
+
|
|
122
|
+
- [DataGrid] Improve selectors performance (#18234) @romgrk
|
|
123
|
+
- [DataGrid] Fix data grid palette when using CSS vars (#18310) @KenanYusuf
|
|
124
|
+
- [DataGrid] Ignore data source request if the grid got unmounted (#18268) @arminmeh
|
|
125
|
+
|
|
126
|
+
#### `@mui/x-data-grid-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
127
|
+
|
|
128
|
+
Same changes as in `@mui/x-data-grid@8.5.2`, plus:
|
|
129
|
+
|
|
130
|
+
- [DataGridPro] Fix flex column width if it is a pinned column (#18293) @alisasanib
|
|
131
|
+
- [DataGridPro] Fix inconsistent filtering results with aggregation (#17954) @cherniavskii
|
|
132
|
+
|
|
133
|
+
#### `@mui/x-data-grid-premium@8.5.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
134
|
+
|
|
135
|
+
Same changes as in `@mui/x-data-grid-pro@8.5.2`.
|
|
136
|
+
|
|
137
|
+
### Date and Time Pickers
|
|
138
|
+
|
|
139
|
+
#### `@mui/x-date-pickers@8.5.2`
|
|
140
|
+
|
|
141
|
+
- [pickers] Add `PickerDay2` and `DateRangePickerDay2` components (#15921) @noraleonte
|
|
142
|
+
- [pickers] Fix `hiddenLabel` prop propagation (#18195) @noobyogi0010
|
|
143
|
+
|
|
144
|
+
#### `@mui/x-date-pickers-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
145
|
+
|
|
146
|
+
Same changes as in `@mui/x-date-pickers@8.5.2`.
|
|
147
|
+
|
|
148
|
+
### Charts
|
|
149
|
+
|
|
150
|
+
#### `@mui/x-charts@8.5.2`
|
|
151
|
+
|
|
152
|
+
- [charts] Add a default value formatter for continuous scales (#18178) @bernardobelchior
|
|
153
|
+
- [charts] Add margin-bottom to charts toolbar (#18326) @bernardobelchior
|
|
154
|
+
- [charts] Fix grid with band scale (#18295) @alexfauquette
|
|
155
|
+
- [charts] Remove unnecessary style changes in tests (#18317) @JCQuintas
|
|
156
|
+
- [charts] Remove `sx` prop merging from `useComponentRenderer` (#18235) @bernardobelchior
|
|
157
|
+
- [charts] Fix `useSyncExternalStore` import error in React 17 (#18314) @bernardobelchior
|
|
158
|
+
|
|
159
|
+
#### `@mui/x-charts-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
160
|
+
|
|
161
|
+
Same changes as in `@mui/x-charts@8.5.2`, plus:
|
|
162
|
+
|
|
163
|
+
- [charts-pro] Document zoom slider tooltip value formatting (#18261) @bernardobelchior
|
|
164
|
+
- [charts-pro] Funnel `gap` prop does not impact the drawing area (#18233) @JCQuintas
|
|
165
|
+
- [charts-pro] Use `ChartsToolbarPro` types in pro charts (#18243) @bernardobelchior
|
|
166
|
+
|
|
167
|
+
### Tree View
|
|
168
|
+
|
|
169
|
+
#### `@mui/x-tree-view@8.5.2`
|
|
170
|
+
|
|
171
|
+
- [tree-view] Fix `useSyncExternalStore` import error in React 17 (#18314) @bernardobelchior
|
|
172
|
+
|
|
173
|
+
#### `@mui/x-tree-view-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
174
|
+
|
|
175
|
+
Same changes as in `@mui/x-tree-view@8.5.2`.
|
|
176
|
+
|
|
177
|
+
### Docs
|
|
178
|
+
|
|
179
|
+
- [docs] Add toolbar custom trigger and panel recipe (#18297) @KenanYusuf
|
|
180
|
+
- [docs] Copyedit the Priority support page (#18311) @mapache-salvaje
|
|
181
|
+
- [docs] Remove confusing opt-out mention in telemetry docs (#18257) @prakhargupta1
|
|
182
|
+
- [docs] Revise the Master Detail doc (#17927) @mapache-salvaje
|
|
183
|
+
- [docs] Revise the list view doc (#17928) @mapache-salvaje
|
|
184
|
+
- [docs] Audit and revise the Pro column docs (#17844) @mapache-salvaje
|
|
185
|
+
- [docs] Add some more context on Heatmap (#18256) @oliviertassinari
|
|
186
|
+
- [x-telemetry] Reduce Telemetry overhead (#18292) @oliviertassinari
|
|
187
|
+
- [code-infra] Align Node version used in CI to v22 (#18319) @LukasTy
|
|
188
|
+
- [code-infra] Fix pkg.pr.new publishing (#18316) @bernardobelchior
|
|
189
|
+
- [code-infra] Revert `React` to `19.0.0` (#18265) @LukasTy
|
|
190
|
+
- [code-infra] Use `catalog` for reused dependencies (#18302) @LukasTy
|
|
191
|
+
- [infra] Remove unused karma/mocha deps and files (#18340) @JCQuintas
|
|
192
|
+
- [infra] Update GitHub label references to use 'scope' instead of 'component' (#18260) @michelengelen
|
|
193
|
+
- [infra] Use a single browser server in CI (#18230) @JCQuintas
|
|
194
|
+
|
|
8
195
|
## 8.5.1
|
|
9
196
|
|
|
10
197
|
<!-- generated comparing v8.5.0..master -->
|
|
@@ -97,15 +284,6 @@ Same changes as in `@mui/x-tree-view@8.5.1`.
|
|
|
97
284
|
|
|
98
285
|
### Core
|
|
99
286
|
|
|
100
|
-
- chore(deps): bump @next/eslint-plugin-next to 15.3.3 (#18155) @renovate[bot]
|
|
101
|
-
- chore(deps): bump @types/lodash to ^4.17.17 (#17990) @renovate[bot]
|
|
102
|
-
- chore(deps): bump babel (#18157) @renovate[bot]
|
|
103
|
-
- chore(deps): bump eslint to ^9.28.0 (#17352) @renovate[bot]
|
|
104
|
-
- chore(deps): bump material ui (#17802) @renovate[bot]
|
|
105
|
-
- chore(deps): bump next to ^15.3.3 (#18159) @renovate[bot]
|
|
106
|
-
- chore(deps): bump ossf/scorecard-action action to v2.4.2 (#18160) @renovate[bot]
|
|
107
|
-
- chore(deps): bump react-router to ^7.6.1 (#18162) @renovate[bot]
|
|
108
|
-
- chore(deps): bump yargs to ^18.0.0 (#18169) @renovate[bot]
|
|
109
287
|
- [code-infra] Different approach to console testing for `processRowUpdate` (#18213) @JCQuintas
|
|
110
288
|
- [code-infra] Fix act warnings in DataGrid/toolbar (#18207) @JCQuintas
|
|
111
289
|
- [code-infra] Remove `istanbul` references (#18194) @JCQuintas
|
|
@@ -4549,7 +4727,6 @@ No changes since `@mui/x-charts@7.22.2`.
|
|
|
4549
4727
|
- [docs] Add `next` version links (#15423) @LukasTy
|
|
4550
4728
|
- [docs] Use the `loading` state in the demos (#15538) @cherniavskii
|
|
4551
4729
|
- [docs] Add data caching to lazy loaded detail panel demo (#15506) @cherniavskii
|
|
4552
|
-
|
|
4553
4730
|
- [code-infra] Tentative fix for Argos flaky screenshot tests (#15399) @JCQuintas
|
|
4554
4731
|
- [docs-infra] Transpile `.ts` demo files (#15421) @KenanYusuf
|
|
4555
4732
|
- [core] Clarify release version bump strategy (#15536) @cherniavskii
|
|
@@ -22,6 +22,7 @@ export interface ChartsLegendProps {
|
|
|
22
22
|
classes?: Partial<ChartsLegendClasses>;
|
|
23
23
|
className?: string;
|
|
24
24
|
sx?: SxProps<Theme>;
|
|
25
|
+
tabIndex?: number;
|
|
25
26
|
}
|
|
26
27
|
declare const ChartsLegend: React.ForwardRefExoticComponent<ChartsLegendProps & import("./chartsLegend.types.js").ChartsLegendSlotExtension & React.RefAttributes<{}>>;
|
|
27
28
|
export { ChartsLegend };
|
|
@@ -87,6 +87,7 @@ const ChartsLegend = exports.ChartsLegend = (0, _consumeSlots.consumeSlots)('Mui
|
|
|
87
87
|
ownerState: props,
|
|
88
88
|
children: data.items.map((item, i) => {
|
|
89
89
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
90
|
+
className: classes?.item,
|
|
90
91
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(Element, {
|
|
91
92
|
className: classes?.series,
|
|
92
93
|
role: onItemClick ? 'button' : undefined,
|
|
@@ -51,6 +51,7 @@ export interface ContinuousColorLegendProps extends ColorLegendSelector, AppendK
|
|
|
51
51
|
classes?: Partial<ContinuousColorLegendClasses>;
|
|
52
52
|
className?: string;
|
|
53
53
|
sx?: SxProps<Theme>;
|
|
54
|
+
tabIndex?: number;
|
|
54
55
|
}
|
|
55
56
|
declare const ContinuousColorLegend: React.ForwardRefExoticComponent<ContinuousColorLegendProps & import("./chartsLegend.types.js").ChartsLegendSlotExtension & React.RefAttributes<{}>>;
|
|
56
57
|
export { ContinuousColorLegend };
|
|
@@ -37,6 +37,7 @@ export interface PiecewiseColorLegendProps extends ColorLegendSelector, PrependK
|
|
|
37
37
|
classes?: Partial<PiecewiseColorLegendClasses>;
|
|
38
38
|
className?: string;
|
|
39
39
|
sx?: SxProps<Theme>;
|
|
40
|
+
tabIndex?: number;
|
|
40
41
|
}
|
|
41
42
|
declare const PiecewiseColorLegend: React.ForwardRefExoticComponent<PiecewiseColorLegendProps & import("./chartsLegend.types.js").ChartsLegendSlotExtension & React.RefAttributes<{}>>;
|
|
42
43
|
export { PiecewiseColorLegend };
|
|
@@ -3,6 +3,8 @@ import type { ChartsLegendSlotExtension } from "./chartsLegend.types.js";
|
|
|
3
3
|
export interface ChartsLegendClasses {
|
|
4
4
|
/** Styles applied to the root element. */
|
|
5
5
|
root: string;
|
|
6
|
+
/** Styles applied to the list item around each series in the legend. */
|
|
7
|
+
item: string;
|
|
6
8
|
/** Styles applied to a series element. */
|
|
7
9
|
series: string;
|
|
8
10
|
/** Styles applied to series mark element. */
|
|
@@ -14,5 +16,5 @@ export interface ChartsLegendClasses {
|
|
|
14
16
|
/** Styles applied to the legend in row layout. */
|
|
15
17
|
horizontal: string;
|
|
16
18
|
}
|
|
17
|
-
export declare const useUtilityClasses: (props: ChartsLegendProps & ChartsLegendSlotExtension) => Record<"root" | "label" | "mark" | "series", string>;
|
|
19
|
+
export declare const useUtilityClasses: (props: ChartsLegendProps & ChartsLegendSlotExtension) => Record<"root" | "label" | "mark" | "item" | "series", string>;
|
|
18
20
|
export declare const legendClasses: ChartsLegendClasses;
|
|
@@ -18,6 +18,7 @@ const useUtilityClasses = props => {
|
|
|
18
18
|
} = props;
|
|
19
19
|
const slots = {
|
|
20
20
|
root: ['root', direction],
|
|
21
|
+
item: ['item'],
|
|
21
22
|
mark: ['mark'],
|
|
22
23
|
label: ['label'],
|
|
23
24
|
series: ['series']
|
|
@@ -25,4 +26,4 @@ const useUtilityClasses = props => {
|
|
|
25
26
|
return (0, _composeClasses.default)(slots, getLegendUtilityClass, classes);
|
|
26
27
|
};
|
|
27
28
|
exports.useUtilityClasses = useUtilityClasses;
|
|
28
|
-
const legendClasses = exports.legendClasses = (0, _generateUtilityClasses.default)('MuiChartsLegend', ['root', 'series', 'mark', 'label', 'vertical', 'horizontal']);
|
|
29
|
+
const legendClasses = exports.legendClasses = (0, _generateUtilityClasses.default)('MuiChartsLegend', ['root', 'item', 'series', 'mark', 'label', 'vertical', 'horizontal']);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
export interface ChartsSurfaceProps {
|
|
3
|
+
export interface ChartsSurfaceProps extends Omit<React.SVGProps<SVGSVGElement>, 'id' | 'children' | 'className' | 'height' | 'width' | 'cx' | 'cy' | 'viewBox' | 'color' | 'ref'> {
|
|
4
4
|
className?: string;
|
|
5
5
|
title?: string;
|
|
6
6
|
desc?: string;
|
|
@@ -13,6 +13,6 @@ export declare const ChartsTooltipRow: import("@emotion/styled").StyledComponent
|
|
|
13
13
|
/**
|
|
14
14
|
* @ignore - internal component.
|
|
15
15
|
*/
|
|
16
|
-
export declare const ChartsTooltipCell: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/Typography").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "p" | "style" | "typography" | "zIndex" | "classes" | "border" | "boxShadow" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "className" | "children" | "sx" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping">, "p" | "slot" | "style" | "title" | "ref" | "typography" | "zIndex" | "classes" | "border" | "boxShadow" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "sx" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
16
|
+
export declare const ChartsTooltipCell: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/Typography").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "p" | "style" | "typography" | "zIndex" | "classes" | "border" | "boxShadow" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "className" | "children" | "sx" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping">, "p" | "slot" | "style" | "title" | "ref" | "typography" | "zIndex" | "classes" | "border" | "boxShadow" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "sx" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
17
17
|
component?: React.ElementType;
|
|
18
18
|
}, {}, {}>;
|
package/RadarChart/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { RadarChart as Unstable_RadarChart } from "./RadarChart.js";
|
|
|
2
2
|
export { RadarChart } from "./RadarChart.js";
|
|
3
3
|
export { RadarDataProvider as Unstable_RadarDataProvider } from "./RadarDataProvider/index.js";
|
|
4
4
|
export { RadarDataProvider } from "./RadarDataProvider/index.js";
|
|
5
|
-
export type { RadarChartProps } from "./RadarChart.js";
|
|
5
|
+
export type { RadarChartProps, RadarChartSlots, RadarChartSlotProps } from "./RadarChart.js";
|
|
6
6
|
export type { RadarDataProviderProps } from "./RadarDataProvider/index.js";
|
|
7
7
|
export * from "./RadarGrid/index.js";
|
|
8
8
|
export * from "./RadarAxisHighlight/index.js";
|
|
@@ -3,6 +3,7 @@ import { ScatterMarkerSlotProps, ScatterMarkerSlots } from "./ScatterMarker.type
|
|
|
3
3
|
import { DefaultizedScatterSeriesType, ScatterItemIdentifier } from "../models/seriesType/scatter.js";
|
|
4
4
|
import { D3Scale } from "../models/axis.js";
|
|
5
5
|
import { ColorGetter } from "../internals/plugins/models/seriesConfig/index.js";
|
|
6
|
+
import { ScatterClasses } from "./scatterClasses.js";
|
|
6
7
|
export interface ScatterProps {
|
|
7
8
|
series: DefaultizedScatterSeriesType;
|
|
8
9
|
xScale: D3Scale;
|
|
@@ -15,6 +16,7 @@ export interface ScatterProps {
|
|
|
15
16
|
* @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier.
|
|
16
17
|
*/
|
|
17
18
|
onItemClick?: (event: React.MouseEvent<SVGElement, MouseEvent>, scatterItemIdentifier: ScatterItemIdentifier) => void;
|
|
19
|
+
classes?: Partial<ScatterClasses>;
|
|
18
20
|
slots?: ScatterSlots;
|
|
19
21
|
slotProps?: ScatterSlotProps;
|
|
20
22
|
}
|
package/ScatterChart/Scatter.js
CHANGED
|
@@ -20,6 +20,7 @@ var _useItemHighlightedGetter = require("../hooks/useItemHighlightedGetter");
|
|
|
20
20
|
var _useChartVoronoi = require("../internals/plugins/featurePlugins/useChartVoronoi");
|
|
21
21
|
var _ChartProvider = require("../context/ChartProvider");
|
|
22
22
|
var _ScatterMarker = require("./ScatterMarker");
|
|
23
|
+
var _scatterClasses = require("./scatterClasses");
|
|
23
24
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
24
25
|
const _excluded = ["ownerState"];
|
|
25
26
|
/**
|
|
@@ -40,6 +41,7 @@ function Scatter(props) {
|
|
|
40
41
|
color,
|
|
41
42
|
colorGetter,
|
|
42
43
|
onItemClick,
|
|
44
|
+
classes: inClasses,
|
|
43
45
|
slots,
|
|
44
46
|
slotProps
|
|
45
47
|
} = props;
|
|
@@ -95,7 +97,10 @@ function Scatter(props) {
|
|
|
95
97
|
ownerState: {}
|
|
96
98
|
}),
|
|
97
99
|
markerProps = (0, _objectWithoutPropertiesLoose2.default)(_useSlotProps, _excluded);
|
|
100
|
+
const classes = (0, _scatterClasses.useUtilityClasses)(inClasses);
|
|
98
101
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
102
|
+
"data-series": series.id,
|
|
103
|
+
className: classes.root,
|
|
99
104
|
children: cleanData.map((dataPoint, i) => /*#__PURE__*/(0, _jsxRuntime.jsx)(Marker, (0, _extends2.default)({
|
|
100
105
|
dataIndex: dataPoint.dataIndex,
|
|
101
106
|
color: dataPoint.color,
|
|
@@ -107,7 +112,9 @@ function Scatter(props) {
|
|
|
107
112
|
type: 'scatter',
|
|
108
113
|
seriesId: series.id,
|
|
109
114
|
dataIndex: dataPoint.dataIndex
|
|
110
|
-
}))
|
|
115
|
+
})),
|
|
116
|
+
"data-highlighted": dataPoint.isHighlighted || undefined,
|
|
117
|
+
"data-faded": dataPoint.isFaded || undefined
|
|
111
118
|
}, interactionItemProps[i], markerProps), dataPoint.id ?? dataPoint.dataIndex))
|
|
112
119
|
});
|
|
113
120
|
}
|
|
@@ -116,6 +123,7 @@ process.env.NODE_ENV !== "production" ? Scatter.propTypes = {
|
|
|
116
123
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
117
124
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
118
125
|
// ----------------------------------------------------------------------
|
|
126
|
+
classes: _propTypes.default.object,
|
|
119
127
|
color: _propTypes.default.string.isRequired,
|
|
120
128
|
colorGetter: _propTypes.default.func,
|
|
121
129
|
/**
|
package/ScatterChart/index.d.ts
CHANGED
|
@@ -2,4 +2,6 @@ export * from "./ScatterChart.js";
|
|
|
2
2
|
export * from "./ScatterPlot.js";
|
|
3
3
|
export * from "./Scatter.js";
|
|
4
4
|
export * from "./ScatterMarker.types.js";
|
|
5
|
-
export * from "./ScatterMarker.js";
|
|
5
|
+
export * from "./ScatterMarker.js";
|
|
6
|
+
export type { ScatterClasses } from "./scatterClasses.js";
|
|
7
|
+
export { scatterClasses } from "./scatterClasses.js";
|
package/ScatterChart/index.js
CHANGED
|
@@ -3,9 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
scatterClasses: true
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "scatterClasses", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () {
|
|
12
|
+
return _scatterClasses.scatterClasses;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
6
15
|
var _ScatterChart = require("./ScatterChart");
|
|
7
16
|
Object.keys(_ScatterChart).forEach(function (key) {
|
|
8
17
|
if (key === "default" || key === "__esModule") return;
|
|
18
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
9
19
|
if (key in exports && exports[key] === _ScatterChart[key]) return;
|
|
10
20
|
Object.defineProperty(exports, key, {
|
|
11
21
|
enumerable: true,
|
|
@@ -17,6 +27,7 @@ Object.keys(_ScatterChart).forEach(function (key) {
|
|
|
17
27
|
var _ScatterPlot = require("./ScatterPlot");
|
|
18
28
|
Object.keys(_ScatterPlot).forEach(function (key) {
|
|
19
29
|
if (key === "default" || key === "__esModule") return;
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
20
31
|
if (key in exports && exports[key] === _ScatterPlot[key]) return;
|
|
21
32
|
Object.defineProperty(exports, key, {
|
|
22
33
|
enumerable: true,
|
|
@@ -28,6 +39,7 @@ Object.keys(_ScatterPlot).forEach(function (key) {
|
|
|
28
39
|
var _Scatter = require("./Scatter");
|
|
29
40
|
Object.keys(_Scatter).forEach(function (key) {
|
|
30
41
|
if (key === "default" || key === "__esModule") return;
|
|
42
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
31
43
|
if (key in exports && exports[key] === _Scatter[key]) return;
|
|
32
44
|
Object.defineProperty(exports, key, {
|
|
33
45
|
enumerable: true,
|
|
@@ -39,6 +51,7 @@ Object.keys(_Scatter).forEach(function (key) {
|
|
|
39
51
|
var _ScatterMarker = require("./ScatterMarker.types");
|
|
40
52
|
Object.keys(_ScatterMarker).forEach(function (key) {
|
|
41
53
|
if (key === "default" || key === "__esModule") return;
|
|
54
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
42
55
|
if (key in exports && exports[key] === _ScatterMarker[key]) return;
|
|
43
56
|
Object.defineProperty(exports, key, {
|
|
44
57
|
enumerable: true,
|
|
@@ -50,6 +63,7 @@ Object.keys(_ScatterMarker).forEach(function (key) {
|
|
|
50
63
|
var _ScatterMarker2 = require("./ScatterMarker");
|
|
51
64
|
Object.keys(_ScatterMarker2).forEach(function (key) {
|
|
52
65
|
if (key === "default" || key === "__esModule") return;
|
|
66
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
53
67
|
if (key in exports && exports[key] === _ScatterMarker2[key]) return;
|
|
54
68
|
Object.defineProperty(exports, key, {
|
|
55
69
|
enumerable: true,
|
|
@@ -57,4 +71,5 @@ Object.keys(_ScatterMarker2).forEach(function (key) {
|
|
|
57
71
|
return _ScatterMarker2[key];
|
|
58
72
|
}
|
|
59
73
|
});
|
|
60
|
-
});
|
|
74
|
+
});
|
|
75
|
+
var _scatterClasses = require("./scatterClasses");
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface ScatterClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type ScatterClassKey = keyof ScatterClasses;
|
|
6
|
+
export declare function getScatterUtilityClass(slot: string): string;
|
|
7
|
+
export declare const scatterClasses: ScatterClasses;
|
|
8
|
+
export declare const useUtilityClasses: (classes?: Partial<ScatterClasses>) => Record<"root", string>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.getScatterUtilityClass = getScatterUtilityClass;
|
|
8
|
+
exports.useUtilityClasses = exports.scatterClasses = void 0;
|
|
9
|
+
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
|
10
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
11
|
+
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
|
12
|
+
function getScatterUtilityClass(slot) {
|
|
13
|
+
return (0, _generateUtilityClass.default)('MuiScatter', slot);
|
|
14
|
+
}
|
|
15
|
+
const scatterClasses = exports.scatterClasses = (0, _generateUtilityClasses.default)('MuiScatter', ['root']);
|
|
16
|
+
const useUtilityClasses = classes => {
|
|
17
|
+
const slots = {
|
|
18
|
+
root: ['root']
|
|
19
|
+
};
|
|
20
|
+
return (0, _composeClasses.default)(slots, getScatterUtilityClass, classes);
|
|
21
|
+
};
|
|
22
|
+
exports.useUtilityClasses = useUtilityClasses;
|
package/Toolbar/Toolbar.js
CHANGED
|
@@ -29,6 +29,7 @@ const ToolbarRoot = (0, _styles.styled)('div', {
|
|
|
29
29
|
justifyContent: 'end',
|
|
30
30
|
gap: theme.spacing(0.25),
|
|
31
31
|
padding: theme.spacing(0.5),
|
|
32
|
+
marginBottom: theme.spacing(1.5),
|
|
32
33
|
minHeight: 44,
|
|
33
34
|
boxSizing: 'border-box',
|
|
34
35
|
border: `1px solid ${(theme.vars || theme).palette.divider}`,
|
|
@@ -22,6 +22,7 @@ export interface ChartsLegendProps {
|
|
|
22
22
|
classes?: Partial<ChartsLegendClasses>;
|
|
23
23
|
className?: string;
|
|
24
24
|
sx?: SxProps<Theme>;
|
|
25
|
+
tabIndex?: number;
|
|
25
26
|
}
|
|
26
27
|
declare const ChartsLegend: React.ForwardRefExoticComponent<ChartsLegendProps & import("./chartsLegend.types.js").ChartsLegendSlotExtension & React.RefAttributes<{}>>;
|
|
27
28
|
export { ChartsLegend };
|
|
@@ -80,6 +80,7 @@ const ChartsLegend = consumeSlots('MuiChartsLegend', 'legend', {
|
|
|
80
80
|
ownerState: props,
|
|
81
81
|
children: data.items.map((item, i) => {
|
|
82
82
|
return /*#__PURE__*/_jsx("li", {
|
|
83
|
+
className: classes?.item,
|
|
83
84
|
children: /*#__PURE__*/_jsxs(Element, {
|
|
84
85
|
className: classes?.series,
|
|
85
86
|
role: onItemClick ? 'button' : undefined,
|
|
@@ -51,6 +51,7 @@ export interface ContinuousColorLegendProps extends ColorLegendSelector, AppendK
|
|
|
51
51
|
classes?: Partial<ContinuousColorLegendClasses>;
|
|
52
52
|
className?: string;
|
|
53
53
|
sx?: SxProps<Theme>;
|
|
54
|
+
tabIndex?: number;
|
|
54
55
|
}
|
|
55
56
|
declare const ContinuousColorLegend: React.ForwardRefExoticComponent<ContinuousColorLegendProps & import("./chartsLegend.types.js").ChartsLegendSlotExtension & React.RefAttributes<{}>>;
|
|
56
57
|
export { ContinuousColorLegend };
|
|
@@ -37,6 +37,7 @@ export interface PiecewiseColorLegendProps extends ColorLegendSelector, PrependK
|
|
|
37
37
|
classes?: Partial<PiecewiseColorLegendClasses>;
|
|
38
38
|
className?: string;
|
|
39
39
|
sx?: SxProps<Theme>;
|
|
40
|
+
tabIndex?: number;
|
|
40
41
|
}
|
|
41
42
|
declare const PiecewiseColorLegend: React.ForwardRefExoticComponent<PiecewiseColorLegendProps & import("./chartsLegend.types.js").ChartsLegendSlotExtension & React.RefAttributes<{}>>;
|
|
42
43
|
export { PiecewiseColorLegend };
|
|
@@ -3,6 +3,8 @@ import type { ChartsLegendSlotExtension } from "./chartsLegend.types.js";
|
|
|
3
3
|
export interface ChartsLegendClasses {
|
|
4
4
|
/** Styles applied to the root element. */
|
|
5
5
|
root: string;
|
|
6
|
+
/** Styles applied to the list item around each series in the legend. */
|
|
7
|
+
item: string;
|
|
6
8
|
/** Styles applied to a series element. */
|
|
7
9
|
series: string;
|
|
8
10
|
/** Styles applied to series mark element. */
|
|
@@ -14,5 +16,5 @@ export interface ChartsLegendClasses {
|
|
|
14
16
|
/** Styles applied to the legend in row layout. */
|
|
15
17
|
horizontal: string;
|
|
16
18
|
}
|
|
17
|
-
export declare const useUtilityClasses: (props: ChartsLegendProps & ChartsLegendSlotExtension) => Record<"root" | "label" | "mark" | "series", string>;
|
|
19
|
+
export declare const useUtilityClasses: (props: ChartsLegendProps & ChartsLegendSlotExtension) => Record<"root" | "label" | "mark" | "item" | "series", string>;
|
|
18
20
|
export declare const legendClasses: ChartsLegendClasses;
|