@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.
Files changed (164) hide show
  1. package/BarChart/barClasses.d.mts +1 -1
  2. package/BarChart/barClasses.d.ts +1 -1
  3. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.mts +10 -10
  4. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +10 -10
  5. package/CHANGELOG.md +111 -0
  6. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.mts +1 -1
  7. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.ts +1 -1
  8. package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.d.mts +1 -1
  9. package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.d.ts +1 -1
  10. package/ChartsDataProvider/useChartsDataProviderProps.d.mts +1 -1
  11. package/ChartsDataProvider/useChartsDataProviderProps.d.ts +1 -1
  12. package/ChartsLabel/labelGradientClasses.d.mts +1 -1
  13. package/ChartsLabel/labelGradientClasses.d.ts +1 -1
  14. package/ChartsLabel/labelMarkClasses.d.mts +1 -1
  15. package/ChartsLabel/labelMarkClasses.d.ts +1 -1
  16. package/ChartsLegend/chartsLegend.types.d.mts +2 -1
  17. package/ChartsLegend/chartsLegend.types.d.ts +2 -1
  18. package/ChartsLegend/chartsLegendClasses.d.mts +1 -1
  19. package/ChartsLegend/chartsLegendClasses.d.ts +1 -1
  20. package/ChartsLegend/continuousColorLegendClasses.d.mts +1 -1
  21. package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  22. package/ChartsLegend/piecewiseColorLegendClasses.d.mts +1 -1
  23. package/ChartsLegend/piecewiseColorLegendClasses.d.ts +1 -1
  24. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.mts +1 -1
  25. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.ts +1 -1
  26. package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.mts +1 -1
  27. package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.ts +1 -1
  28. package/ChartsRadiusAxis/createGetLabelTextAnchors.d.mts +6 -6
  29. package/ChartsRadiusAxis/createGetLabelTextAnchors.d.ts +6 -6
  30. package/ChartsReferenceLine/ChartsXReferenceLine.d.mts +1 -1
  31. package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -1
  32. package/ChartsReferenceLine/ChartsYReferenceLine.d.mts +1 -1
  33. package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -1
  34. package/ChartsRotationAxis/chartsRotationAxisClasses.d.mts +1 -1
  35. package/ChartsRotationAxis/chartsRotationAxisClasses.d.ts +1 -1
  36. package/ChartsTooltip/ChartTooltip.types.d.mts +2 -1
  37. package/ChartsTooltip/ChartTooltip.types.d.ts +2 -1
  38. package/ChartsTooltip/ChartsTooltipContainer.d.mts +4 -1
  39. package/ChartsTooltip/ChartsTooltipContainer.d.ts +4 -1
  40. package/ChartsTooltip/ChartsTooltipTable.d.mts +1 -1
  41. package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  42. package/ChartsTooltip/chartsTooltipClasses.d.mts +1 -1
  43. package/ChartsTooltip/chartsTooltipClasses.d.ts +1 -1
  44. package/ChartsTooltip/useItemTooltip.d.mts +1 -1
  45. package/ChartsTooltip/useItemTooltip.d.ts +1 -1
  46. package/ChartsXAxis/useAxisTicksProps.d.mts +2573 -2573
  47. package/ChartsXAxis/useAxisTicksProps.d.ts +2573 -2573
  48. package/ChartsXAxis/utilities.d.mts +1 -1
  49. package/ChartsXAxis/utilities.d.ts +1 -1
  50. package/ChartsYAxis/useAxisTicksProps.d.mts +2573 -2573
  51. package/ChartsYAxis/useAxisTicksProps.d.ts +2573 -2573
  52. package/ChartsYAxis/utilities.d.mts +1 -1
  53. package/ChartsYAxis/utilities.d.ts +1 -1
  54. package/LineChart/AreaPlot.d.mts +3 -3
  55. package/LineChart/AreaPlot.d.ts +3 -3
  56. package/LineChart/AreaPlot.js +4 -5
  57. package/LineChart/AreaPlot.mjs +4 -5
  58. package/LineChart/LinePlot.d.mts +3 -3
  59. package/LineChart/LinePlot.d.ts +3 -3
  60. package/LineChart/LinePlot.js +4 -5
  61. package/LineChart/LinePlot.mjs +4 -5
  62. package/LineChart/MarkPlot.d.mts +5 -4
  63. package/LineChart/MarkPlot.d.ts +5 -4
  64. package/LineChart/MarkPlot.js +1 -1
  65. package/LineChart/MarkPlot.mjs +1 -1
  66. package/LineChart/lineClasses.d.mts +1 -1
  67. package/LineChart/lineClasses.d.ts +1 -1
  68. package/LineChart/useLineItemClickHandler.d.mts +12 -0
  69. package/LineChart/useLineItemClickHandler.d.ts +12 -0
  70. package/LineChart/useLineItemClickHandler.js +54 -0
  71. package/LineChart/useLineItemClickHandler.mjs +48 -0
  72. package/PieChart/PieArcLabelPlot.d.mts +2 -1
  73. package/PieChart/PieArcLabelPlot.d.ts +2 -1
  74. package/PieChart/PieArcPlot.d.mts +2 -1
  75. package/PieChart/PieArcPlot.d.ts +2 -1
  76. package/PieChart/pieClasses.d.mts +1 -1
  77. package/PieChart/pieClasses.d.ts +1 -1
  78. package/RadarChart/RadarAxis/RadarAxis.utils.d.mts +5 -5
  79. package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +5 -5
  80. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.mts +1 -1
  81. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
  82. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +12 -12
  83. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +12 -12
  84. package/RadarChart/radarClasses.d.mts +1 -1
  85. package/RadarChart/radarClasses.d.ts +1 -1
  86. package/RadarChart/useRadarChartProps.d.mts +1 -1
  87. package/RadarChart/useRadarChartProps.d.ts +1 -1
  88. package/ScatterChart/ScatterChart.d.mts +2 -1
  89. package/ScatterChart/ScatterChart.d.ts +2 -1
  90. package/ScatterChart/ScatterMarker.types.d.mts +2 -1
  91. package/ScatterChart/ScatterMarker.types.d.ts +2 -1
  92. package/ScatterChart/scatterClasses.d.mts +1 -1
  93. package/ScatterChart/scatterClasses.d.ts +1 -1
  94. package/ScatterChart/useScatterPlotData.d.mts +1 -1
  95. package/ScatterChart/useScatterPlotData.d.ts +1 -1
  96. package/SparkLineChart/SparkLineChart.d.mts +1 -1
  97. package/SparkLineChart/SparkLineChart.d.ts +1 -1
  98. package/Toolbar/Toolbar.types.d.mts +2 -1
  99. package/Toolbar/Toolbar.types.d.ts +2 -1
  100. package/index.js +1 -1
  101. package/index.mjs +1 -1
  102. package/internals/colorScale.d.mts +1 -1
  103. package/internals/colorScale.d.ts +1 -1
  104. package/internals/configInit.d.mts +1 -1
  105. package/internals/configInit.d.ts +1 -1
  106. package/internals/consumeSlots.d.mts +1 -1
  107. package/internals/consumeSlots.d.ts +1 -1
  108. package/internals/consumeThemeProps.d.mts +1 -1
  109. package/internals/consumeThemeProps.d.ts +1 -1
  110. package/internals/createCommonKeyboardFocusHandler.d.mts +1 -1
  111. package/internals/createCommonKeyboardFocusHandler.d.ts +1 -1
  112. package/internals/getGraphemeCount.d.mts +2 -2
  113. package/internals/getGraphemeCount.d.ts +2 -2
  114. package/internals/getGroupingConfig.d.mts +1 -1
  115. package/internals/getGroupingConfig.d.ts +1 -1
  116. package/internals/identifierCleaner.d.mts +1 -1
  117. package/internals/identifierCleaner.d.ts +1 -1
  118. package/internals/invertScale.d.mts +1 -1
  119. package/internals/invertScale.d.ts +1 -1
  120. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +1 -1
  121. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +1 -1
  122. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +2 -2
  123. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
  124. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.mts +3 -3
  125. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +3 -3
  126. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.mts +1 -1
  127. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +1 -1
  128. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.mts +2 -2
  129. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +2 -2
  130. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.mts +1 -1
  131. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +1 -1
  132. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +1 -1
  133. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +1 -1
  134. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +70 -70
  135. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +70 -70
  136. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.mts +78 -78
  137. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +78 -78
  138. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +7 -7
  139. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +7 -7
  140. package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.d.mts +1 -1
  141. package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.d.ts +1 -1
  142. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +1 -1
  143. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +1 -1
  144. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +1 -1
  145. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +1 -1
  146. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.mts +1 -1
  147. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +1 -1
  148. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.mts +1 -1
  149. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.ts +1 -1
  150. package/internals/seriesSelectorOfType.d.mts +6 -6
  151. package/internals/seriesSelectorOfType.d.ts +6 -6
  152. package/internals/sizeScale.d.mts +1 -1
  153. package/internals/sizeScale.d.ts +1 -1
  154. package/internals/sliceUntil.d.mts +2 -2
  155. package/internals/sliceUntil.d.ts +2 -2
  156. package/models/axis.d.mts +5 -4
  157. package/models/axis.d.ts +5 -4
  158. package/models/seriesType/config.d.mts +2 -2
  159. package/models/seriesType/config.d.ts +2 -2
  160. package/models/seriesType/index.d.mts +1 -1
  161. package/models/seriesType/index.d.ts +1 -1
  162. package/models/seriesType/line.d.mts +14 -1
  163. package/models/seriesType/line.d.ts +14 -1
  164. 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<"root" | "label" | "series" | "seriesLabels" | "element", string>;
32
+ export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"element" | "label" | "root" | "series" | "seriesLabels", string>;
@@ -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<"root" | "label" | "series" | "seriesLabels" | "element", string>;
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
- type: "bar";
6
- barLabelPlacement?: "center" | "outside";
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
- type: "bar";
6
- barLabelPlacement?: "center" | "outside";
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` [![pro](https://mui.com/r/x-pro-svg)](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` [![premium](https://mui.com/r/x-premium-svg)](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` [![pro](https://mui.com/r/x-pro-svg)](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` [![pro](https://mui.com/r/x-pro-svg)](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` [![premium](https://mui.com/r/x-premium-svg)](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` [![pro](https://mui.com/r/x-pro-svg)](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` [![premium](https://mui.com/r/x-premium-svg)](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").ReactPortal | import("react").JSX.Element[] | null;
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").ReactPortal | import("react").JSX.Element[] | null;
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: "top" | "right" | "bottom" | "left";
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: "top" | "right" | "bottom" | "left";
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 = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(inProps: ChartsDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
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 = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(inProps: ChartsDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
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<"root" | "fill" | "mask", string>;
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<"root" | "fill" | "mask", string>;
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<"root" | "fill", string>;
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<"root" | "fill", string>;
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<"root" | "label" | "mark" | "hidden" | "series" | "item", string>;
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<"root" | "label" | "mark" | "hidden" | "series" | "item", string>;
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<"root" | "label" | "mark" | "minLabel" | "maxLabel" | "gradient", string>;
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<"root" | "label" | "mark" | "minLabel" | "maxLabel" | "gradient", string>;
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<"root" | "label" | "mark" | "item" | "minLabel" | "maxLabel", string>;
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<"root" | "label" | "mark" | "item" | "minLabel" | "maxLabel", string>;
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 = PolarChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(inProps: ChartsRadialDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
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 = PolarChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(inProps: ChartsRadialDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
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<"root" | "line" | "tickContainer" | "tick" | "tickLabel", string>;
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<"root" | "line" | "tickContainer" | "tick" | "tickLabel", string>;
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: "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";
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: "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";
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<"root" | "line" | "label", string>;
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<"root" | "line" | "label", string>;
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<"root" | "line" | "label", string>;
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<"root" | "line" | "label", string>;
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<"root" | "line" | "tickContainer" | "tick" | "tickLabel", string>;
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<"root" | "line" | "tickContainer" | "tick" | "tickLabel", string>;
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
  /**