@mui/x-charts 9.9.0 → 9.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChart/barClasses.d.mts +1 -1
- package/BarChart/barClasses.d.ts +1 -1
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.mts +10 -10
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +10 -10
- package/CHANGELOG.md +111 -0
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.mts +1 -1
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.ts +1 -1
- package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.d.mts +1 -1
- package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.d.ts +1 -1
- package/ChartsDataProvider/useChartsDataProviderProps.d.mts +1 -1
- package/ChartsDataProvider/useChartsDataProviderProps.d.ts +1 -1
- package/ChartsLabel/labelGradientClasses.d.mts +1 -1
- package/ChartsLabel/labelGradientClasses.d.ts +1 -1
- package/ChartsLabel/labelMarkClasses.d.mts +1 -1
- package/ChartsLabel/labelMarkClasses.d.ts +1 -1
- package/ChartsLegend/chartsLegend.types.d.mts +2 -1
- package/ChartsLegend/chartsLegend.types.d.ts +2 -1
- package/ChartsLegend/chartsLegendClasses.d.mts +1 -1
- package/ChartsLegend/chartsLegendClasses.d.ts +1 -1
- package/ChartsLegend/continuousColorLegendClasses.d.mts +1 -1
- package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
- package/ChartsLegend/piecewiseColorLegendClasses.d.mts +1 -1
- package/ChartsLegend/piecewiseColorLegendClasses.d.ts +1 -1
- package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.mts +1 -1
- package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.ts +1 -1
- package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.mts +1 -1
- package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.ts +1 -1
- package/ChartsRadiusAxis/createGetLabelTextAnchors.d.mts +6 -6
- package/ChartsRadiusAxis/createGetLabelTextAnchors.d.ts +6 -6
- package/ChartsReferenceLine/ChartsXReferenceLine.d.mts +1 -1
- package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -1
- package/ChartsReferenceLine/ChartsYReferenceLine.d.mts +1 -1
- package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -1
- package/ChartsRotationAxis/chartsRotationAxisClasses.d.mts +1 -1
- package/ChartsRotationAxis/chartsRotationAxisClasses.d.ts +1 -1
- package/ChartsTooltip/ChartTooltip.types.d.mts +2 -1
- package/ChartsTooltip/ChartTooltip.types.d.ts +2 -1
- package/ChartsTooltip/ChartsTooltipContainer.d.mts +4 -1
- package/ChartsTooltip/ChartsTooltipContainer.d.ts +4 -1
- package/ChartsTooltip/ChartsTooltipTable.d.mts +1 -1
- package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/ChartsTooltip/chartsTooltipClasses.d.mts +1 -1
- package/ChartsTooltip/chartsTooltipClasses.d.ts +1 -1
- package/ChartsTooltip/useItemTooltip.d.mts +1 -1
- package/ChartsTooltip/useItemTooltip.d.ts +1 -1
- package/ChartsXAxis/useAxisTicksProps.d.mts +2573 -2573
- package/ChartsXAxis/useAxisTicksProps.d.ts +2573 -2573
- package/ChartsXAxis/utilities.d.mts +1 -1
- package/ChartsXAxis/utilities.d.ts +1 -1
- package/ChartsYAxis/useAxisTicksProps.d.mts +2573 -2573
- package/ChartsYAxis/useAxisTicksProps.d.ts +2573 -2573
- package/ChartsYAxis/utilities.d.mts +1 -1
- package/ChartsYAxis/utilities.d.ts +1 -1
- package/LineChart/AreaPlot.d.mts +3 -3
- package/LineChart/AreaPlot.d.ts +3 -3
- package/LineChart/AreaPlot.js +4 -5
- package/LineChart/AreaPlot.mjs +4 -5
- package/LineChart/LinePlot.d.mts +3 -3
- package/LineChart/LinePlot.d.ts +3 -3
- package/LineChart/LinePlot.js +4 -5
- package/LineChart/LinePlot.mjs +4 -5
- package/LineChart/MarkPlot.d.mts +5 -4
- package/LineChart/MarkPlot.d.ts +5 -4
- package/LineChart/MarkPlot.js +1 -1
- package/LineChart/MarkPlot.mjs +1 -1
- package/LineChart/lineClasses.d.mts +1 -1
- package/LineChart/lineClasses.d.ts +1 -1
- package/LineChart/useLineItemClickHandler.d.mts +12 -0
- package/LineChart/useLineItemClickHandler.d.ts +12 -0
- package/LineChart/useLineItemClickHandler.js +54 -0
- package/LineChart/useLineItemClickHandler.mjs +48 -0
- package/PieChart/PieArcLabelPlot.d.mts +2 -1
- package/PieChart/PieArcLabelPlot.d.ts +2 -1
- package/PieChart/PieArcPlot.d.mts +2 -1
- package/PieChart/PieArcPlot.d.ts +2 -1
- package/PieChart/pieClasses.d.mts +1 -1
- package/PieChart/pieClasses.d.ts +1 -1
- package/RadarChart/RadarAxis/RadarAxis.utils.d.mts +5 -5
- package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +5 -5
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +12 -12
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +12 -12
- package/RadarChart/radarClasses.d.mts +1 -1
- package/RadarChart/radarClasses.d.ts +1 -1
- package/RadarChart/useRadarChartProps.d.mts +1 -1
- package/RadarChart/useRadarChartProps.d.ts +1 -1
- package/ScatterChart/ScatterChart.d.mts +2 -1
- package/ScatterChart/ScatterChart.d.ts +2 -1
- package/ScatterChart/ScatterMarker.types.d.mts +2 -1
- package/ScatterChart/ScatterMarker.types.d.ts +2 -1
- package/ScatterChart/scatterClasses.d.mts +1 -1
- package/ScatterChart/scatterClasses.d.ts +1 -1
- package/ScatterChart/useScatterPlotData.d.mts +1 -1
- package/ScatterChart/useScatterPlotData.d.ts +1 -1
- package/SparkLineChart/SparkLineChart.d.mts +1 -1
- package/SparkLineChart/SparkLineChart.d.ts +1 -1
- package/Toolbar/Toolbar.types.d.mts +2 -1
- package/Toolbar/Toolbar.types.d.ts +2 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/colorScale.d.mts +1 -1
- package/internals/colorScale.d.ts +1 -1
- package/internals/configInit.d.mts +1 -1
- package/internals/configInit.d.ts +1 -1
- package/internals/consumeSlots.d.mts +1 -1
- package/internals/consumeSlots.d.ts +1 -1
- package/internals/consumeThemeProps.d.mts +1 -1
- package/internals/consumeThemeProps.d.ts +1 -1
- package/internals/createCommonKeyboardFocusHandler.d.mts +1 -1
- package/internals/createCommonKeyboardFocusHandler.d.ts +1 -1
- package/internals/getGraphemeCount.d.mts +2 -2
- package/internals/getGraphemeCount.d.ts +2 -2
- package/internals/getGroupingConfig.d.mts +1 -1
- package/internals/getGroupingConfig.d.ts +1 -1
- package/internals/identifierCleaner.d.mts +1 -1
- package/internals/identifierCleaner.d.ts +1 -1
- package/internals/invertScale.d.mts +1 -1
- package/internals/invertScale.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +70 -70
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +70 -70
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.mts +78 -78
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +78 -78
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +7 -7
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +7 -7
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.ts +1 -1
- package/internals/seriesSelectorOfType.d.mts +6 -6
- package/internals/seriesSelectorOfType.d.ts +6 -6
- package/internals/sizeScale.d.mts +1 -1
- package/internals/sizeScale.d.ts +1 -1
- package/internals/sliceUntil.d.mts +2 -2
- package/internals/sliceUntil.d.ts +2 -2
- package/models/axis.d.mts +5 -4
- package/models/axis.d.ts +5 -4
- package/models/seriesType/config.d.mts +2 -2
- package/models/seriesType/config.d.ts +2 -2
- package/models/seriesType/index.d.mts +1 -1
- package/models/seriesType/index.d.ts +1 -1
- package/models/seriesType/line.d.mts +14 -1
- package/models/seriesType/line.d.ts +14 -1
- package/package.json +4 -4
|
@@ -29,4 +29,4 @@ export interface UseUtilityClassesOptions {
|
|
|
29
29
|
skipAnimation?: boolean;
|
|
30
30
|
classes?: Partial<BarClasses>;
|
|
31
31
|
}
|
|
32
|
-
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"
|
|
32
|
+
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"element" | "label" | "root" | "series" | "seriesLabels", string>;
|
package/BarChart/barClasses.d.ts
CHANGED
|
@@ -29,4 +29,4 @@ export interface UseUtilityClassesOptions {
|
|
|
29
29
|
skipAnimation?: boolean;
|
|
30
30
|
classes?: Partial<BarClasses>;
|
|
31
31
|
}
|
|
32
|
-
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"
|
|
32
|
+
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"element" | "label" | "root" | "series" | "seriesLabels", string>;
|
|
@@ -2,22 +2,22 @@ import type { AllSeriesType } from "../../../models/seriesType/index.mjs";
|
|
|
2
2
|
export declare function getSeriesWithDefaultValues(seriesData: AllSeriesType<'bar'>, seriesIndex: number, colors: readonly string[]): {
|
|
3
3
|
id: string;
|
|
4
4
|
color: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
data?: ReadonlyArray<import("../../../index.mjs").BarValueType | null>;
|
|
6
|
+
dataKey?: string;
|
|
7
|
+
valueGetter?: (item: import("../../../internals/index.mjs").DatasetElementType<unknown>) => import("../../../index.mjs").BarValueType | null;
|
|
8
|
+
label?: string | ((location: 'tooltip' | 'legend') => string);
|
|
9
|
+
layout?: 'horizontal' | 'vertical';
|
|
10
|
+
minBarSize?: number;
|
|
11
|
+
barLabel?: 'value' | ((item: import("@mui/x-charts/BarChart").BarItem, context: import("@mui/x-charts/BarChart").BarLabelContext) => string | null | undefined);
|
|
12
|
+
type: 'bar';
|
|
13
|
+
barLabelPlacement?: 'center' | 'outside';
|
|
7
14
|
stackOffset?: import("../../../index.mjs").StackOffsetType;
|
|
15
|
+
colorGetter?: ((data: import("../../../internals/index.mjs").ColorCallbackValue<number | null>) => string) | undefined;
|
|
8
16
|
valueFormatter?: import("../../../internals/index.mjs").SeriesValueFormatter<number | null> | undefined;
|
|
9
17
|
highlightScope?: import("../../../internals/index.mjs").CommonHighlightScope | undefined;
|
|
10
18
|
labelMarkType?: import("../../../internals/index.mjs").ChartsLabelMarkType;
|
|
11
|
-
colorGetter?: ((data: import("../../../internals/index.mjs").ColorCallbackValue<number | null>) => string) | undefined;
|
|
12
19
|
xAxisId?: import("../../../internals/index.mjs").AxisId;
|
|
13
20
|
yAxisId?: import("../../../internals/index.mjs").AxisId;
|
|
14
21
|
stack?: string;
|
|
15
22
|
stackOrder?: import("../../../index.mjs").StackOrderType;
|
|
16
|
-
data?: ReadonlyArray<import("../../../index.mjs").BarValueType | null>;
|
|
17
|
-
dataKey?: string;
|
|
18
|
-
valueGetter?: (item: import("../../../internals/index.mjs").DatasetElementType<unknown>) => import("../../../index.mjs").BarValueType | null;
|
|
19
|
-
label?: string | ((location: "tooltip" | "legend") => string);
|
|
20
|
-
layout?: "horizontal" | "vertical";
|
|
21
|
-
minBarSize?: number;
|
|
22
|
-
barLabel?: "value" | ((item: import("@mui/x-charts/BarChart").BarItem, context: import("@mui/x-charts/BarChart").BarLabelContext) => string | null | undefined);
|
|
23
23
|
};
|
|
@@ -2,22 +2,22 @@ import type { AllSeriesType } from "../../../models/seriesType/index.js";
|
|
|
2
2
|
export declare function getSeriesWithDefaultValues(seriesData: AllSeriesType<'bar'>, seriesIndex: number, colors: readonly string[]): {
|
|
3
3
|
id: string;
|
|
4
4
|
color: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
data?: ReadonlyArray<import("../../../index.js").BarValueType | null>;
|
|
6
|
+
dataKey?: string;
|
|
7
|
+
valueGetter?: (item: import("../../../internals/index.js").DatasetElementType<unknown>) => import("../../../index.js").BarValueType | null;
|
|
8
|
+
label?: string | ((location: 'tooltip' | 'legend') => string);
|
|
9
|
+
layout?: 'horizontal' | 'vertical';
|
|
10
|
+
minBarSize?: number;
|
|
11
|
+
barLabel?: 'value' | ((item: import("@mui/x-charts/BarChart").BarItem, context: import("@mui/x-charts/BarChart").BarLabelContext) => string | null | undefined);
|
|
12
|
+
type: 'bar';
|
|
13
|
+
barLabelPlacement?: 'center' | 'outside';
|
|
7
14
|
stackOffset?: import("../../../index.js").StackOffsetType;
|
|
15
|
+
colorGetter?: ((data: import("../../../internals/index.js").ColorCallbackValue<number | null>) => string) | undefined;
|
|
8
16
|
valueFormatter?: import("../../../internals/index.js").SeriesValueFormatter<number | null> | undefined;
|
|
9
17
|
highlightScope?: import("../../../internals/index.js").CommonHighlightScope | undefined;
|
|
10
18
|
labelMarkType?: import("../../../internals/index.js").ChartsLabelMarkType;
|
|
11
|
-
colorGetter?: ((data: import("../../../internals/index.js").ColorCallbackValue<number | null>) => string) | undefined;
|
|
12
19
|
xAxisId?: import("../../../internals/index.js").AxisId;
|
|
13
20
|
yAxisId?: import("../../../internals/index.js").AxisId;
|
|
14
21
|
stack?: string;
|
|
15
22
|
stackOrder?: import("../../../index.js").StackOrderType;
|
|
16
|
-
data?: ReadonlyArray<import("../../../index.js").BarValueType | null>;
|
|
17
|
-
dataKey?: string;
|
|
18
|
-
valueGetter?: (item: import("../../../internals/index.js").DatasetElementType<unknown>) => import("../../../index.js").BarValueType | null;
|
|
19
|
-
label?: string | ((location: "tooltip" | "legend") => string);
|
|
20
|
-
layout?: "horizontal" | "vertical";
|
|
21
|
-
minBarSize?: number;
|
|
22
|
-
barLabel?: "value" | ((item: import("@mui/x-charts/BarChart").BarItem, context: import("@mui/x-charts/BarChart").BarLabelContext) => string | null | undefined);
|
|
23
23
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,116 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.10.0
|
|
4
|
+
|
|
5
|
+
_Jul 17, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 📊 Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` for Charts
|
|
10
|
+
- ⚙️ Allow opt-in `data-*` attributes on `slotProps`. [Read more](https://mui.com/x/common-concepts/custom-components/#passing-data-attributes-to-slots)
|
|
11
|
+
- 🐞 Bugfixes
|
|
12
|
+
- 📚 Documentation improvements
|
|
13
|
+
|
|
14
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
15
|
+
@Anexus5919, @mustafajw07
|
|
16
|
+
|
|
17
|
+
The following team members contributed to this release:
|
|
18
|
+
@brijeshb42, @Janpot, @JCQuintas, @LukasTy, @noraleonte
|
|
19
|
+
|
|
20
|
+
### Data Grid
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid@9.10.0`
|
|
23
|
+
|
|
24
|
+
Internal changes.
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@9.10.0`.
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@9.10.0`.
|
|
33
|
+
|
|
34
|
+
### Date and Time Pickers
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers@9.10.0`
|
|
37
|
+
|
|
38
|
+
Internal changes.
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-date-pickers@9.10.0`.
|
|
43
|
+
|
|
44
|
+
### Charts
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts@9.10.0`
|
|
47
|
+
|
|
48
|
+
- [charts] Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` (#23144) @JCQuintas
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-charts@9.10.0`.
|
|
53
|
+
|
|
54
|
+
#### `@mui/x-charts-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
55
|
+
|
|
56
|
+
Same changes as in `@mui/x-charts-pro@9.10.0`.
|
|
57
|
+
|
|
58
|
+
### Tree View
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-tree-view@9.10.0`
|
|
61
|
+
|
|
62
|
+
Internal changes.
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-tree-view-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-tree-view@9.10.0`, plus:
|
|
67
|
+
|
|
68
|
+
- [tree-view] Fix pre-loaded items not caching (#23155) @noraleonte
|
|
69
|
+
|
|
70
|
+
### Scheduler
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-scheduler@9.0.0-beta.6`
|
|
73
|
+
|
|
74
|
+
- [scheduler] Carry custom event data through the edit dialog submit (#22874) @Anexus5919
|
|
75
|
+
- [scheduler] Support array values for `CalendarEvent.resource` (#23109) @mustafajw07
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
78
|
+
|
|
79
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.6`.
|
|
80
|
+
|
|
81
|
+
### Chat
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-chat@9.0.0-alpha.14`
|
|
84
|
+
|
|
85
|
+
- [chat] Reuse `resolveComponentProps` from `@mui/utils` (#23095) @LukasTy
|
|
86
|
+
|
|
87
|
+
#### `@mui/x-chat-headless@9.0.0-alpha.14`
|
|
88
|
+
|
|
89
|
+
Internal changes.
|
|
90
|
+
|
|
91
|
+
### Codemod
|
|
92
|
+
|
|
93
|
+
#### `@mui/x-codemod@9.10.0`
|
|
94
|
+
|
|
95
|
+
Internal changes.
|
|
96
|
+
|
|
97
|
+
### Docs
|
|
98
|
+
|
|
99
|
+
- [docs] Fix bugs on Scheduler overview page (#23147) @noraleonte
|
|
100
|
+
|
|
101
|
+
### Core
|
|
102
|
+
|
|
103
|
+
- [code-infra] Fix changelog dependency exclusion and l10n routing (#23112) @LukasTy
|
|
104
|
+
- [code-infra] Port codebase to use `tsgo` (#22826) @brijeshb42
|
|
105
|
+
- [code-infra] Reduce `release:build` concurrency to mitigate `tsgo` OOM kills (#23139) @LukasTy
|
|
106
|
+
- [core] Allow opt-in `data-*` attributes on `slotProps` (#22128) @LukasTy
|
|
107
|
+
|
|
108
|
+
### Miscellaneous
|
|
109
|
+
|
|
110
|
+
- [core] Ignore `code-infra-renovate[bot]` commits in changelog (#23153) @Janpot
|
|
111
|
+
- [website] Fix broken `ChatBox` API link (#23149) @brijeshb42
|
|
112
|
+
- [test] Fix WebGL benchmark timeout on CI (#23142) @JCQuintas
|
|
113
|
+
|
|
3
114
|
## 9.9.0
|
|
4
115
|
|
|
5
116
|
_Jul 9, 2026_
|
|
@@ -48,7 +48,7 @@ export interface ChartsAxisHighlightValueProps {
|
|
|
48
48
|
*
|
|
49
49
|
* - [ChartsAxisHighlightValue API](https://mui.com/x/api/charts/charts-axis-highlight-value/)
|
|
50
50
|
*/
|
|
51
|
-
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").
|
|
51
|
+
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").JSX.Element[] | import("react").ReactPortal | null;
|
|
52
52
|
declare namespace ChartsAxisHighlightValue {
|
|
53
53
|
var propTypes: any;
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ export interface ChartsAxisHighlightValueProps {
|
|
|
48
48
|
*
|
|
49
49
|
* - [ChartsAxisHighlightValue API](https://mui.com/x/api/charts/charts-axis-highlight-value/)
|
|
50
50
|
*/
|
|
51
|
-
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").
|
|
51
|
+
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").JSX.Element[] | import("react").ReactPortal | null;
|
|
52
52
|
declare namespace ChartsAxisHighlightValue {
|
|
53
53
|
var propTypes: any;
|
|
54
54
|
}
|
|
@@ -13,6 +13,6 @@ export interface ChartsAxisHighlightValueClasses {
|
|
|
13
13
|
export type ChartsAxisHighlightValueClassKey = keyof ChartsAxisHighlightValueClasses;
|
|
14
14
|
export declare function getChartsAxisHighlightValueUtilityClass(slot: string): string;
|
|
15
15
|
export declare const useUtilityClasses: (ownerState: {
|
|
16
|
-
position:
|
|
16
|
+
position: 'top' | 'right' | 'bottom' | 'left';
|
|
17
17
|
}) => Record<"root", string>;
|
|
18
18
|
export declare const chartsAxisHighlightValueClasses: ChartsAxisHighlightValueClasses;
|
|
@@ -13,6 +13,6 @@ export interface ChartsAxisHighlightValueClasses {
|
|
|
13
13
|
export type ChartsAxisHighlightValueClassKey = keyof ChartsAxisHighlightValueClasses;
|
|
14
14
|
export declare function getChartsAxisHighlightValueUtilityClass(slot: string): string;
|
|
15
15
|
export declare const useUtilityClasses: (ownerState: {
|
|
16
|
-
position:
|
|
16
|
+
position: 'top' | 'right' | 'bottom' | 'left';
|
|
17
17
|
}) => Record<"root", string>;
|
|
18
18
|
export declare const chartsAxisHighlightValueClasses: ChartsAxisHighlightValueClasses;
|
|
@@ -4,7 +4,7 @@ import type { ChartAnyPluginSignature } from "../internals/plugins/models/index.
|
|
|
4
4
|
import type { ChartSeriesType } from "../models/seriesType/config.mjs";
|
|
5
5
|
import type { AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
|
|
6
6
|
import type { ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.mjs";
|
|
7
|
-
export declare const useChartsDataProviderProps: <SeriesType extends ChartSeriesType =
|
|
7
|
+
export declare const useChartsDataProviderProps: <SeriesType extends ChartSeriesType = keyof import("../internals/index.mjs").ChartsSeriesConfig, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(inProps: ChartsDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
|
|
8
8
|
children: import("react").ReactNode;
|
|
9
9
|
localeText: Partial<import("../locales/index.mjs").ChartsLocaleText> | undefined;
|
|
10
10
|
chartProviderProps: ChartsProviderProps<SeriesType, TSignatures>;
|
|
@@ -4,7 +4,7 @@ import type { ChartAnyPluginSignature } from "../internals/plugins/models/index.
|
|
|
4
4
|
import type { ChartSeriesType } from "../models/seriesType/config.js";
|
|
5
5
|
import type { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
|
|
6
6
|
import type { ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js";
|
|
7
|
-
export declare const useChartsDataProviderProps: <SeriesType extends ChartSeriesType =
|
|
7
|
+
export declare const useChartsDataProviderProps: <SeriesType extends ChartSeriesType = keyof import("../internals/index.js").ChartsSeriesConfig, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(inProps: ChartsDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
|
|
8
8
|
children: import("react").ReactNode;
|
|
9
9
|
localeText: Partial<import("../locales/index.js").ChartsLocaleText> | undefined;
|
|
10
10
|
chartProviderProps: ChartsProviderProps<SeriesType, TSignatures>;
|
|
@@ -13,4 +13,4 @@ export interface ChartsLabelGradientClasses {
|
|
|
13
13
|
}
|
|
14
14
|
export declare function getLabelGradientUtilityClass(slot: string): string;
|
|
15
15
|
export declare const labelGradientClasses: ChartsLabelGradientClasses;
|
|
16
|
-
export declare const useUtilityClasses: (props: ChartsLabelGradientProps) => Record<"
|
|
16
|
+
export declare const useUtilityClasses: (props: ChartsLabelGradientProps) => Record<"fill" | "mask" | "root", string>;
|
|
@@ -13,4 +13,4 @@ export interface ChartsLabelGradientClasses {
|
|
|
13
13
|
}
|
|
14
14
|
export declare function getLabelGradientUtilityClass(slot: string): string;
|
|
15
15
|
export declare const labelGradientClasses: ChartsLabelGradientClasses;
|
|
16
|
-
export declare const useUtilityClasses: (props: ChartsLabelGradientProps) => Record<"
|
|
16
|
+
export declare const useUtilityClasses: (props: ChartsLabelGradientProps) => Record<"fill" | "mask" | "root", string>;
|
|
@@ -14,4 +14,4 @@ export interface ChartsLabelMarkClasses {
|
|
|
14
14
|
fill: string;
|
|
15
15
|
}
|
|
16
16
|
export declare const labelMarkClasses: ChartsLabelMarkClasses;
|
|
17
|
-
export declare const useUtilityClasses: (props: ChartsLabelMarkProps) => Record<"
|
|
17
|
+
export declare const useUtilityClasses: (props: ChartsLabelMarkProps) => Record<"fill" | "root", string>;
|
|
@@ -14,4 +14,4 @@ export interface ChartsLabelMarkClasses {
|
|
|
14
14
|
fill: string;
|
|
15
15
|
}
|
|
16
16
|
export declare const labelMarkClasses: ChartsLabelMarkClasses;
|
|
17
|
-
export declare const useUtilityClasses: (props: ChartsLabelMarkProps) => Record<"
|
|
17
|
+
export declare const useUtilityClasses: (props: ChartsLabelMarkProps) => Record<"fill" | "root", string>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
1
2
|
import type { ChartsLegendProps } from "./ChartsLegend.mjs";
|
|
2
3
|
import type { ContinuousColorLegendProps } from "./ContinuousColorLegend.mjs";
|
|
3
4
|
import type { ChartsLegendPosition } from "./legend.types.mjs";
|
|
@@ -11,7 +12,7 @@ export interface ChartsLegendSlots {
|
|
|
11
12
|
legend?: React.JSXElementConstructor<ChartsLegendProps & LegendPropsOverrides> | React.JSXElementConstructor<ContinuousColorLegendProps & LegendPropsOverrides> | React.JSXElementConstructor<PiecewiseColorLegendProps & LegendPropsOverrides>;
|
|
12
13
|
}
|
|
13
14
|
export interface ChartsLegendSlotProps {
|
|
14
|
-
legend?: Partial<ChartsLegendProps | ContinuousColorLegendProps | PiecewiseColorLegendProps> & ChartsLegendPosition & LegendPropsOverrides
|
|
15
|
+
legend?: WithDataAttributes<Partial<ChartsLegendProps | ContinuousColorLegendProps | PiecewiseColorLegendProps> & ChartsLegendPosition & LegendPropsOverrides>;
|
|
15
16
|
}
|
|
16
17
|
export interface ChartsLegendSlotExtension {
|
|
17
18
|
/**
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
1
2
|
import type { ChartsLegendProps } from "./ChartsLegend.js";
|
|
2
3
|
import type { ContinuousColorLegendProps } from "./ContinuousColorLegend.js";
|
|
3
4
|
import type { ChartsLegendPosition } from "./legend.types.js";
|
|
@@ -11,7 +12,7 @@ export interface ChartsLegendSlots {
|
|
|
11
12
|
legend?: React.JSXElementConstructor<ChartsLegendProps & LegendPropsOverrides> | React.JSXElementConstructor<ContinuousColorLegendProps & LegendPropsOverrides> | React.JSXElementConstructor<PiecewiseColorLegendProps & LegendPropsOverrides>;
|
|
12
13
|
}
|
|
13
14
|
export interface ChartsLegendSlotProps {
|
|
14
|
-
legend?: Partial<ChartsLegendProps | ContinuousColorLegendProps | PiecewiseColorLegendProps> & ChartsLegendPosition & LegendPropsOverrides
|
|
15
|
+
legend?: WithDataAttributes<Partial<ChartsLegendProps | ContinuousColorLegendProps | PiecewiseColorLegendProps> & ChartsLegendPosition & LegendPropsOverrides>;
|
|
15
16
|
}
|
|
16
17
|
export interface ChartsLegendSlotExtension {
|
|
17
18
|
/**
|
|
@@ -18,5 +18,5 @@ export interface ChartsLegendClasses {
|
|
|
18
18
|
/** Styles applied to the legend in row layout. */
|
|
19
19
|
horizontal: string;
|
|
20
20
|
}
|
|
21
|
-
export declare const useUtilityClasses: (props: ChartsLegendProps & ChartsLegendSlotExtension) => Record<"
|
|
21
|
+
export declare const useUtilityClasses: (props: ChartsLegendProps & ChartsLegendSlotExtension) => Record<"hidden" | "item" | "label" | "mark" | "root" | "series", string>;
|
|
22
22
|
export declare const legendClasses: ChartsLegendClasses;
|
|
@@ -18,5 +18,5 @@ export interface ChartsLegendClasses {
|
|
|
18
18
|
/** Styles applied to the legend in row layout. */
|
|
19
19
|
horizontal: string;
|
|
20
20
|
}
|
|
21
|
-
export declare const useUtilityClasses: (props: ChartsLegendProps & ChartsLegendSlotExtension) => Record<"
|
|
21
|
+
export declare const useUtilityClasses: (props: ChartsLegendProps & ChartsLegendSlotExtension) => Record<"hidden" | "item" | "label" | "mark" | "root" | "series", string>;
|
|
22
22
|
export declare const legendClasses: ChartsLegendClasses;
|
|
@@ -22,5 +22,5 @@ export interface ContinuousColorLegendClasses {
|
|
|
22
22
|
/** Styles applied to the series label. */
|
|
23
23
|
label: string;
|
|
24
24
|
}
|
|
25
|
-
export declare const useUtilityClasses: (props: ContinuousColorLegendProps & ChartsLegendSlotExtension) => Record<"
|
|
25
|
+
export declare const useUtilityClasses: (props: ContinuousColorLegendProps & ChartsLegendSlotExtension) => Record<"gradient" | "label" | "mark" | "maxLabel" | "minLabel" | "root", string>;
|
|
26
26
|
export declare const continuousColorLegendClasses: ContinuousColorLegendClasses;
|
|
@@ -22,5 +22,5 @@ export interface ContinuousColorLegendClasses {
|
|
|
22
22
|
/** Styles applied to the series label. */
|
|
23
23
|
label: string;
|
|
24
24
|
}
|
|
25
|
-
export declare const useUtilityClasses: (props: ContinuousColorLegendProps & ChartsLegendSlotExtension) => Record<"
|
|
25
|
+
export declare const useUtilityClasses: (props: ContinuousColorLegendProps & ChartsLegendSlotExtension) => Record<"gradient" | "label" | "mark" | "maxLabel" | "minLabel" | "root", string>;
|
|
26
26
|
export declare const continuousColorLegendClasses: ContinuousColorLegendClasses;
|
|
@@ -28,5 +28,5 @@ export interface PiecewiseColorLegendClasses {
|
|
|
28
28
|
/** Styles applied to the series label. */
|
|
29
29
|
label: string;
|
|
30
30
|
}
|
|
31
|
-
export declare const useUtilityClasses: (props: PiecewiseColorLegendProps & ChartsLegendSlotExtension) => Record<"
|
|
31
|
+
export declare const useUtilityClasses: (props: PiecewiseColorLegendProps & ChartsLegendSlotExtension) => Record<"item" | "label" | "mark" | "maxLabel" | "minLabel" | "root", string>;
|
|
32
32
|
export declare const piecewiseColorLegendClasses: PiecewiseColorLegendClasses;
|
|
@@ -28,5 +28,5 @@ export interface PiecewiseColorLegendClasses {
|
|
|
28
28
|
/** Styles applied to the series label. */
|
|
29
29
|
label: string;
|
|
30
30
|
}
|
|
31
|
-
export declare const useUtilityClasses: (props: PiecewiseColorLegendProps & ChartsLegendSlotExtension) => Record<"
|
|
31
|
+
export declare const useUtilityClasses: (props: PiecewiseColorLegendProps & ChartsLegendSlotExtension) => Record<"item" | "label" | "mark" | "maxLabel" | "minLabel" | "root", string>;
|
|
32
32
|
export declare const piecewiseColorLegendClasses: PiecewiseColorLegendClasses;
|
|
@@ -4,7 +4,7 @@ import type { ChartAnyPluginSignature } from "../internals/plugins/models/index.
|
|
|
4
4
|
import type { RadialPluginSignatures } from "./ChartsRadialDataProvider.plugins.mjs";
|
|
5
5
|
import type { ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.mjs";
|
|
6
6
|
import type { PolarChartSeriesType } from "../models/seriesType/config.mjs";
|
|
7
|
-
export declare const useChartsRadialDataProviderProps: <SeriesType extends PolarChartSeriesType =
|
|
7
|
+
export declare const useChartsRadialDataProviderProps: <SeriesType extends PolarChartSeriesType = "radar", TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(inProps: ChartsRadialDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
|
|
8
8
|
children: import("react").ReactNode;
|
|
9
9
|
localeText: Partial<import("../locales/index.mjs").ChartsLocaleText> | undefined;
|
|
10
10
|
chartProviderProps: ChartsProviderProps<SeriesType, TSignatures>;
|
|
@@ -4,7 +4,7 @@ import type { ChartAnyPluginSignature } from "../internals/plugins/models/index.
|
|
|
4
4
|
import type { RadialPluginSignatures } from "./ChartsRadialDataProvider.plugins.js";
|
|
5
5
|
import type { ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js";
|
|
6
6
|
import type { PolarChartSeriesType } from "../models/seriesType/config.js";
|
|
7
|
-
export declare const useChartsRadialDataProviderProps: <SeriesType extends PolarChartSeriesType =
|
|
7
|
+
export declare const useChartsRadialDataProviderProps: <SeriesType extends PolarChartSeriesType = "radar", TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(inProps: ChartsRadialDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
|
|
8
8
|
children: import("react").ReactNode;
|
|
9
9
|
localeText: Partial<import("../locales/index.js").ChartsLocaleText> | undefined;
|
|
10
10
|
chartProviderProps: ChartsProviderProps<SeriesType, TSignatures>;
|
|
@@ -2,5 +2,5 @@ import type { ChartsRadialAxisClasses } from "./sharedRadialAxisClasses.mjs";
|
|
|
2
2
|
export declare const useUtilityClasses: (props: {
|
|
3
3
|
classes?: Partial<ChartsRadialAxisClasses>;
|
|
4
4
|
isCentered?: boolean;
|
|
5
|
-
}) => Record<"
|
|
5
|
+
}) => Record<"line" | "root" | "tick" | "tickContainer" | "tickLabel", string>;
|
|
6
6
|
export { type ChartsRadialAxisClasses, type ChartsRadialAxisClassKey, chartsRadialAxisClasses } from "./sharedRadialAxisClasses.mjs";
|
|
@@ -2,5 +2,5 @@ import type { ChartsRadialAxisClasses } from "./sharedRadialAxisClasses.js";
|
|
|
2
2
|
export declare const useUtilityClasses: (props: {
|
|
3
3
|
classes?: Partial<ChartsRadialAxisClasses>;
|
|
4
4
|
isCentered?: boolean;
|
|
5
|
-
}) => Record<"
|
|
5
|
+
}) => Record<"line" | "root" | "tick" | "tickContainer" | "tickLabel", string>;
|
|
6
6
|
export { type ChartsRadialAxisClasses, type ChartsRadialAxisClassKey, chartsRadialAxisClasses } from "./sharedRadialAxisClasses.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Higher order function that transform a `getLabelTransform` to the <text /> anchor props.
|
|
3
3
|
*/
|
|
4
|
-
export declare const createGetLabelTextAnchors: (getLabelTransform: (px: number, py: number, tickLabelPosition:
|
|
5
|
-
verticalAlign:
|
|
6
|
-
horizontalAlign:
|
|
7
|
-
}) => (px: number, py: number, tickLabelPosition:
|
|
8
|
-
textAnchor:
|
|
9
|
-
dominantBaseline:
|
|
4
|
+
export declare const createGetLabelTextAnchors: (getLabelTransform: (px: number, py: number, tickLabelPosition: 'center' | 'after' | 'before') => {
|
|
5
|
+
verticalAlign: 'start' | 'middle' | 'end';
|
|
6
|
+
horizontalAlign: 'start' | 'middle' | 'end';
|
|
7
|
+
}) => (px: number, py: number, tickLabelPosition: 'center' | 'after' | 'before') => {
|
|
8
|
+
textAnchor: 'start' | 'middle' | 'end';
|
|
9
|
+
dominantBaseline: 'hanging' | 'middle' | 'auto';
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Higher order function that transform a `getLabelTransform` to the <text /> anchor props.
|
|
3
3
|
*/
|
|
4
|
-
export declare const createGetLabelTextAnchors: (getLabelTransform: (px: number, py: number, tickLabelPosition:
|
|
5
|
-
verticalAlign:
|
|
6
|
-
horizontalAlign:
|
|
7
|
-
}) => (px: number, py: number, tickLabelPosition:
|
|
8
|
-
textAnchor:
|
|
9
|
-
dominantBaseline:
|
|
4
|
+
export declare const createGetLabelTextAnchors: (getLabelTransform: (px: number, py: number, tickLabelPosition: 'center' | 'after' | 'before') => {
|
|
5
|
+
verticalAlign: 'start' | 'middle' | 'end';
|
|
6
|
+
horizontalAlign: 'start' | 'middle' | 'end';
|
|
7
|
+
}) => (px: number, py: number, tickLabelPosition: 'center' | 'after' | 'before') => {
|
|
8
|
+
textAnchor: 'start' | 'middle' | 'end';
|
|
9
|
+
dominantBaseline: 'hanging' | 'middle' | 'auto';
|
|
10
10
|
};
|
|
@@ -7,7 +7,7 @@ export type ChartsXReferenceLineProps<TValue extends string | number | Date = st
|
|
|
7
7
|
*/
|
|
8
8
|
x: TValue;
|
|
9
9
|
};
|
|
10
|
-
export declare function getXReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"
|
|
10
|
+
export declare function getXReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"label" | "line" | "root", string>;
|
|
11
11
|
declare function ChartsXReferenceLine(props: ChartsXReferenceLineProps): import("react").JSX.Element | null;
|
|
12
12
|
declare namespace ChartsXReferenceLine {
|
|
13
13
|
var propTypes: any;
|
|
@@ -7,7 +7,7 @@ export type ChartsXReferenceLineProps<TValue extends string | number | Date = st
|
|
|
7
7
|
*/
|
|
8
8
|
x: TValue;
|
|
9
9
|
};
|
|
10
|
-
export declare function getXReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"
|
|
10
|
+
export declare function getXReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"label" | "line" | "root", string>;
|
|
11
11
|
declare function ChartsXReferenceLine(props: ChartsXReferenceLineProps): import("react").JSX.Element | null;
|
|
12
12
|
declare namespace ChartsXReferenceLine {
|
|
13
13
|
var propTypes: any;
|
|
@@ -7,7 +7,7 @@ export type ChartsYReferenceLineProps<TValue extends string | number | Date = st
|
|
|
7
7
|
*/
|
|
8
8
|
y: TValue;
|
|
9
9
|
};
|
|
10
|
-
export declare function getYReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"
|
|
10
|
+
export declare function getYReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"label" | "line" | "root", string>;
|
|
11
11
|
declare function ChartsYReferenceLine(props: ChartsYReferenceLineProps): import("react").JSX.Element | null;
|
|
12
12
|
declare namespace ChartsYReferenceLine {
|
|
13
13
|
var propTypes: any;
|
|
@@ -7,7 +7,7 @@ export type ChartsYReferenceLineProps<TValue extends string | number | Date = st
|
|
|
7
7
|
*/
|
|
8
8
|
y: TValue;
|
|
9
9
|
};
|
|
10
|
-
export declare function getYReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"
|
|
10
|
+
export declare function getYReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"label" | "line" | "root", string>;
|
|
11
11
|
declare function ChartsYReferenceLine(props: ChartsYReferenceLineProps): import("react").JSX.Element | null;
|
|
12
12
|
declare namespace ChartsYReferenceLine {
|
|
13
13
|
var propTypes: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ChartsRadialAxisClasses } from "../ChartsRadiusAxis/sharedRadialAxisClasses.mjs";
|
|
2
2
|
export declare const useUtilityClasses: (props: {
|
|
3
3
|
classes?: Partial<ChartsRadialAxisClasses>;
|
|
4
|
-
}) => Record<"
|
|
4
|
+
}) => Record<"line" | "root" | "tick" | "tickContainer" | "tickLabel", string>;
|
|
5
5
|
export { type ChartsRadialAxisClasses, type ChartsRadialAxisClassKey, chartsRadialAxisClasses } from "../ChartsRadiusAxis/sharedRadialAxisClasses.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ChartsRadialAxisClasses } from "../ChartsRadiusAxis/sharedRadialAxisClasses.js";
|
|
2
2
|
export declare const useUtilityClasses: (props: {
|
|
3
3
|
classes?: Partial<ChartsRadialAxisClasses>;
|
|
4
|
-
}) => Record<"
|
|
4
|
+
}) => Record<"line" | "root" | "tick" | "tickContainer" | "tickLabel", string>;
|
|
5
5
|
export { type ChartsRadialAxisClasses, type ChartsRadialAxisClassKey, chartsRadialAxisClasses } from "../ChartsRadiusAxis/sharedRadialAxisClasses.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
1
2
|
import type { ChartsTooltipProps } from "./ChartsTooltip.mjs";
|
|
2
3
|
import type { TriggerOptions } from "./utils.mjs";
|
|
3
4
|
import type { TooltipPropsOverrides } from "../models/chartsSlotsComponentsProps.mjs";
|
|
@@ -13,5 +14,5 @@ export interface ChartsTooltipSlotProps<T extends TriggerOptions = TriggerOption
|
|
|
13
14
|
* Custom component for the tooltip popper.
|
|
14
15
|
* @default ChartsTooltipRoot
|
|
15
16
|
*/
|
|
16
|
-
tooltip?: Partial<ChartsTooltipProps<T>> & TooltipPropsOverrides
|
|
17
|
+
tooltip?: WithDataAttributes<Partial<ChartsTooltipProps<T>> & TooltipPropsOverrides>;
|
|
17
18
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
1
2
|
import type { ChartsTooltipProps } from "./ChartsTooltip.js";
|
|
2
3
|
import type { TriggerOptions } from "./utils.js";
|
|
3
4
|
import type { TooltipPropsOverrides } from "../models/chartsSlotsComponentsProps.js";
|
|
@@ -13,5 +14,5 @@ export interface ChartsTooltipSlotProps<T extends TriggerOptions = TriggerOption
|
|
|
13
14
|
* Custom component for the tooltip popper.
|
|
14
15
|
* @default ChartsTooltipRoot
|
|
15
16
|
*/
|
|
16
|
-
tooltip?: Partial<ChartsTooltipProps<T>> & TooltipPropsOverrides
|
|
17
|
+
tooltip?: WithDataAttributes<Partial<ChartsTooltipProps<T>> & TooltipPropsOverrides>;
|
|
17
18
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { PopperProps } from '@mui/material/Popper';
|
|
3
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
3
4
|
import type { TriggerOptions } from "./utils.mjs";
|
|
4
5
|
import type { ChartsTooltipClasses } from "./chartsTooltipClasses.mjs";
|
|
5
6
|
type PopperSlots = NonNullable<PopperProps['slots']>;
|
|
6
7
|
type PopperSlotProps = NonNullable<PopperProps['slotProps']>;
|
|
7
8
|
export interface ChartsTooltipContainerSlots extends PopperSlots {}
|
|
8
|
-
export interface ChartsTooltipContainerSlotProps extends PopperSlotProps {
|
|
9
|
+
export interface ChartsTooltipContainerSlotProps extends Omit<PopperSlotProps, 'root'> {
|
|
10
|
+
root?: WithDataAttributes<NonNullable<PopperSlotProps['root']>>;
|
|
11
|
+
}
|
|
9
12
|
export interface ChartsTooltipContainerClasses extends ChartsTooltipClasses {}
|
|
10
13
|
export interface ChartsTooltipContainerProps<T extends TriggerOptions = TriggerOptions> extends Partial<PopperProps> {
|
|
11
14
|
/**
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { PopperProps } from '@mui/material/Popper';
|
|
3
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
3
4
|
import type { TriggerOptions } from "./utils.js";
|
|
4
5
|
import type { ChartsTooltipClasses } from "./chartsTooltipClasses.js";
|
|
5
6
|
type PopperSlots = NonNullable<PopperProps['slots']>;
|
|
6
7
|
type PopperSlotProps = NonNullable<PopperProps['slotProps']>;
|
|
7
8
|
export interface ChartsTooltipContainerSlots extends PopperSlots {}
|
|
8
|
-
export interface ChartsTooltipContainerSlotProps extends PopperSlotProps {
|
|
9
|
+
export interface ChartsTooltipContainerSlotProps extends Omit<PopperSlotProps, 'root'> {
|
|
10
|
+
root?: WithDataAttributes<NonNullable<PopperSlotProps['root']>>;
|
|
11
|
+
}
|
|
9
12
|
export interface ChartsTooltipContainerClasses extends ChartsTooltipClasses {}
|
|
10
13
|
export interface ChartsTooltipContainerProps<T extends TriggerOptions = TriggerOptions> extends Partial<PopperProps> {
|
|
11
14
|
/**
|