@mui/x-charts 9.13.0 → 9.15.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 (342) hide show
  1. package/BarChart/AnimatedBarElement.mjs +2 -2
  2. package/BarChart/BarChart.mjs +1 -1
  3. package/BarChart/BarElement.mjs +2 -2
  4. package/BarChart/BarLabel/BarLabel.mjs +2 -2
  5. package/BarChart/BarLabel/BarLabelItem.mjs +2 -2
  6. package/BarChart/BarLabel/BarLabelPlot.mjs +2 -2
  7. package/BarChart/BarPlot.mjs +2 -2
  8. package/BarChart/BatchBarPlot/BarGroup.mjs +2 -2
  9. package/BarChart/FocusedBar.mjs +1 -1
  10. package/BarChart/IndividualBarPlot.mjs +2 -2
  11. package/BarChart/checkBarChartScaleErrors.js +1 -1
  12. package/BarChart/checkBarChartScaleErrors.mjs +2 -2
  13. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.mjs +1 -1
  14. package/BarChart/seriesConfig/bar/seriesProcessor.mjs +1 -1
  15. package/BarChart/seriesConfig/bar/tooltipPosition.js +1 -1
  16. package/BarChart/seriesConfig/bar/tooltipPosition.mjs +1 -1
  17. package/BarChart/useBarChartProps.mjs +2 -2
  18. package/BarChart/useBarPlotData.mjs +1 -1
  19. package/CHANGELOG.md +325 -0
  20. package/ChartsAxisHighlight/ChartsAxisHighlightPath.mjs +1 -1
  21. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.mjs +1 -1
  22. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.mjs +1 -1
  23. package/ChartsBrushOverlay/ChartsBrushOverlay.mjs +1 -1
  24. package/ChartsClipPath/ChartsClipPath.mjs +1 -1
  25. package/ChartsContainer/ChartsContainer.mjs +1 -1
  26. package/ChartsContainer/useChartsContainerProps.mjs +2 -2
  27. package/ChartsDataProvider/ChartsDataProvider.mjs +1 -1
  28. package/ChartsDataProvider/useChartsDataProviderProps.mjs +2 -2
  29. package/ChartsGrid/ChartsGrid.mjs +2 -2
  30. package/ChartsLabel/ChartsLabel.mjs +2 -2
  31. package/ChartsLabel/ChartsLabelGradient.mjs +2 -2
  32. package/ChartsLabel/ChartsLabelMark.mjs +2 -2
  33. package/ChartsLayerContainer/ChartsLayerContainer.js +1 -1
  34. package/ChartsLayerContainer/ChartsLayerContainer.mjs +4 -4
  35. package/ChartsLegend/ChartsLegend.mjs +2 -2
  36. package/ChartsLegend/ContinuousColorLegend.mjs +2 -2
  37. package/ChartsLegend/PiecewiseColorLegend.mjs +2 -2
  38. package/ChartsLocalizationProvider/ChartsLocalizationProvider.mjs +2 -2
  39. package/ChartsOverlay/ChartsLoadingOverlay.mjs +1 -1
  40. package/ChartsOverlay/ChartsNoDataOverlay.mjs +1 -1
  41. package/ChartsOverlay/ChartsOverlay.mjs +1 -1
  42. package/ChartsOverlay/common.mjs +1 -1
  43. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlightPath.mjs +1 -1
  44. package/ChartsRadialDataProvider/ChartsRadialDataProvider.mjs +1 -1
  45. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.mjs +2 -2
  46. package/ChartsRadialGrid/ChartsRadialGrid.mjs +2 -2
  47. package/ChartsRadiusAxis/ChartsRadiusAxis.mjs +1 -1
  48. package/ChartsReferenceLine/ChartsReferenceLine.mjs +1 -1
  49. package/ChartsReferenceLine/ChartsXReferenceLine.js +1 -1
  50. package/ChartsReferenceLine/ChartsXReferenceLine.mjs +3 -3
  51. package/ChartsReferenceLine/ChartsYReferenceLine.js +1 -1
  52. package/ChartsReferenceLine/ChartsYReferenceLine.mjs +3 -3
  53. package/ChartsReferenceLine/common.mjs +1 -1
  54. package/ChartsRotationAxis/ChartsRotationAxis.mjs +1 -1
  55. package/ChartsSurface/ChartsSurface.mjs +2 -2
  56. package/ChartsSvgLayer/ChartsSvgLayer.mjs +2 -2
  57. package/ChartsText/ChartsText.mjs +2 -2
  58. package/ChartsTooltip/ChartsTooltip.mjs +2 -2
  59. package/ChartsTooltip/ChartsTooltipContainer.js +2 -2
  60. package/ChartsTooltip/ChartsTooltipContainer.mjs +5 -5
  61. package/ChartsWrapper/ChartsWrapper.mjs +2 -2
  62. package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +1 -1
  63. package/ChartsXAxis/ChartsSingleXAxisTicks.mjs +1 -1
  64. package/ChartsXAxis/ChartsXAxis.mjs +1 -1
  65. package/ChartsXAxis/ChartsXAxisImpl.js +2 -1
  66. package/ChartsXAxis/ChartsXAxisImpl.mjs +4 -3
  67. package/ChartsXAxis/useAxisTicksProps.d.mts +17 -17
  68. package/ChartsXAxis/useAxisTicksProps.d.ts +17 -17
  69. package/ChartsXAxis/useAxisTicksProps.js +2 -1
  70. package/ChartsXAxis/useAxisTicksProps.mjs +4 -3
  71. package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +1 -1
  72. package/ChartsYAxis/ChartsSingleYAxisTicks.mjs +1 -1
  73. package/ChartsYAxis/ChartsYAxis.mjs +1 -1
  74. package/ChartsYAxis/ChartsYAxisImpl.js +2 -1
  75. package/ChartsYAxis/ChartsYAxisImpl.mjs +4 -3
  76. package/ChartsYAxis/useAxisTicksProps.d.mts +17 -17
  77. package/ChartsYAxis/useAxisTicksProps.d.ts +17 -17
  78. package/ChartsYAxis/useAxisTicksProps.js +2 -1
  79. package/ChartsYAxis/useAxisTicksProps.mjs +4 -3
  80. package/Gauge/Gauge.mjs +2 -2
  81. package/Gauge/GaugeContainer.mjs +2 -2
  82. package/Gauge/GaugeReferenceArc.mjs +2 -2
  83. package/Gauge/GaugeValueArc.mjs +2 -2
  84. package/Gauge/GaugeValueText.mjs +2 -2
  85. package/LineChart/AnimatedArea.mjs +2 -2
  86. package/LineChart/AnimatedLine.mjs +2 -2
  87. package/LineChart/AreaElement.mjs +2 -2
  88. package/LineChart/AreaPlot.mjs +2 -2
  89. package/LineChart/CircleMarkElement.mjs +2 -2
  90. package/LineChart/LineChart.mjs +1 -1
  91. package/LineChart/LineElement.mjs +2 -2
  92. package/LineChart/LineHighlightElement.d.mts +3 -3
  93. package/LineChart/LineHighlightElement.d.ts +3 -3
  94. package/LineChart/LineHighlightElement.js +2 -2
  95. package/LineChart/LineHighlightElement.mjs +4 -4
  96. package/LineChart/LineHighlightPlot.mjs +2 -2
  97. package/LineChart/LinePlot.mjs +2 -2
  98. package/LineChart/MarkElement.mjs +2 -2
  99. package/LineChart/MarkPlot.mjs +2 -2
  100. package/LineChart/seriesConfig/getSeriesWithDefaultValues.mjs +1 -1
  101. package/LineChart/seriesConfig/tooltipPosition.js +1 -1
  102. package/LineChart/seriesConfig/tooltipPosition.mjs +1 -1
  103. package/LineChart/useLineChartProps.mjs +2 -2
  104. package/LineChart/useLinePlotData.js +1 -1
  105. package/LineChart/useLinePlotData.mjs +2 -2
  106. package/PieChart/FocusedPieArc.mjs +2 -2
  107. package/PieChart/PieArc.mjs +2 -2
  108. package/PieChart/PieArcLabel.mjs +2 -2
  109. package/PieChart/PieArcLabelPlot.mjs +2 -2
  110. package/PieChart/PieArcPlot.mjs +2 -2
  111. package/PieChart/PieChart.mjs +2 -2
  112. package/PieChart/dataTransform/getModifiedArcProperties.mjs +1 -1
  113. package/PieChart/dataTransform/useTransformData.mjs +1 -1
  114. package/PieChart/seriesConfig/getSeriesWithDefaultValues.mjs +1 -1
  115. package/PieChart/seriesConfig/seriesProcessor.mjs +1 -1
  116. package/PieChart/seriesConfig/tooltip.mjs +1 -1
  117. package/PieChart/seriesConfig/tooltipPosition.js +1 -1
  118. package/PieChart/seriesConfig/tooltipPosition.mjs +1 -1
  119. package/RadarChart/FocusedRadarMark.mjs +1 -1
  120. package/RadarChart/RadarAxis/RadarAxis.mjs +1 -1
  121. package/RadarChart/RadarAxis/RadarAxis.utils.d.mts +1 -1
  122. package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
  123. package/RadarChart/RadarAxis/useRadarAxis.js +1 -1
  124. package/RadarChart/RadarAxis/useRadarAxis.mjs +1 -1
  125. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.mjs +1 -1
  126. package/RadarChart/RadarChart.mjs +1 -1
  127. package/RadarChart/RadarDataProvider/RadarDataProvider.mjs +2 -2
  128. package/RadarChart/RadarMetricLabels/RadarMetricLabels.js +2 -1
  129. package/RadarChart/RadarMetricLabels/RadarMetricLabels.mjs +3 -2
  130. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +2 -2
  131. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +2 -2
  132. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +1 -1
  133. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.mjs +1 -1
  134. package/RadarChart/seriesConfig/getSeriesWithDefaultValues.mjs +1 -1
  135. package/RadarChart/seriesConfig/seriesProcessor.mjs +1 -1
  136. package/RadarChart/seriesConfig/tooltipPosition.js +1 -1
  137. package/RadarChart/seriesConfig/tooltipPosition.mjs +1 -1
  138. package/RadarChart/useRadarChartProps.mjs +1 -1
  139. package/ScatterChart/FocusedScatterMark.mjs +2 -2
  140. package/ScatterChart/HighlightedScatterMark.mjs +2 -2
  141. package/ScatterChart/Scatter.mjs +2 -2
  142. package/ScatterChart/ScatterChart.mjs +1 -1
  143. package/ScatterChart/ScatterMarker.mjs +2 -2
  144. package/ScatterChart/ScatterPlot.mjs +1 -1
  145. package/ScatterChart/async/ScatterAsyncBatch.mjs +2 -2
  146. package/ScatterChart/async/scatterRenderData.selectors.js +1 -1
  147. package/ScatterChart/async/scatterRenderData.selectors.mjs +1 -1
  148. package/ScatterChart/seriesConfig/getSeriesWithDefaultValues.mjs +1 -1
  149. package/ScatterChart/seriesConfig/seriesProcessor.mjs +1 -1
  150. package/ScatterChart/seriesConfig/tooltipPosition.js +1 -1
  151. package/ScatterChart/seriesConfig/tooltipPosition.mjs +1 -1
  152. package/ScatterChart/useScatterChartProps.mjs +2 -2
  153. package/SparkLineChart/SparkLineChart.js +21 -21
  154. package/SparkLineChart/SparkLineChart.mjs +23 -23
  155. package/Toolbar/Toolbar.mjs +2 -2
  156. package/Toolbar/ToolbarButton.mjs +2 -2
  157. package/context/ChartsProvider/ChartsProvider.types.d.mts +1 -1
  158. package/context/ChartsProvider/ChartsProvider.types.d.ts +1 -1
  159. package/context/ChartsSlotsContext.mjs +1 -1
  160. package/hooks/animation/useAnimate.mjs +1 -1
  161. package/hooks/useAxisCoordinates.mjs +1 -1
  162. package/hooks/useAxisTicks.mjs +1 -1
  163. package/hooks/useIsItemFocusedGetter.js +1 -1
  164. package/hooks/useIsItemFocusedGetter.mjs +1 -1
  165. package/index.js +1 -1
  166. package/index.mjs +1 -1
  167. package/internals/Flatbush.js +9 -0
  168. package/internals/Flatbush.mjs +9 -0
  169. package/internals/commonNextFocusItem.d.mts +46 -0
  170. package/internals/commonNextFocusItem.d.ts +46 -0
  171. package/internals/commonNextFocusItem.js +241 -0
  172. package/internals/commonNextFocusItem.mjs +235 -0
  173. package/internals/components/AxisSharedComponents.mjs +1 -1
  174. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.js +31 -8
  175. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.mjs +32 -9
  176. package/internals/components/ChartsAccessibilityProxy/useZoomAnnouncement.d.mts +9 -0
  177. package/internals/components/ChartsAccessibilityProxy/useZoomAnnouncement.d.ts +9 -0
  178. package/internals/components/ChartsAccessibilityProxy/useZoomAnnouncement.js +67 -0
  179. package/internals/components/ChartsAccessibilityProxy/useZoomAnnouncement.mjs +62 -0
  180. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.mjs +1 -1
  181. package/internals/consumeSlots.mjs +2 -2
  182. package/internals/consumeThemeProps.js +1 -2
  183. package/internals/consumeThemeProps.mjs +1 -1
  184. package/internals/createCommonKeyboardFocusHandler.js +16 -0
  185. package/internals/createCommonKeyboardFocusHandler.mjs +17 -1
  186. package/internals/defaultizeMargin.mjs +1 -1
  187. package/internals/geometry.js +1 -1
  188. package/internals/geometry.mjs +1 -1
  189. package/internals/getGroupingConfig.mjs +1 -1
  190. package/internals/getInlineTypographyStyle.d.mts +9 -0
  191. package/internals/getInlineTypographyStyle.d.ts +9 -0
  192. package/internals/getInlineTypographyStyle.js +22 -0
  193. package/internals/getInlineTypographyStyle.mjs +16 -0
  194. package/internals/getLineLikeTooltip.mjs +1 -1
  195. package/internals/getWordsByLines.mjs +1 -1
  196. package/internals/material/index.mjs +1 -1
  197. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.mjs +1 -1
  198. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +1 -1
  199. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.mjs +1 -1
  200. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.mjs +1 -1
  201. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +1 -1
  202. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.mjs +1 -1
  203. package/internals/plugins/corePlugins/useChartId/useChartId.mjs +1 -1
  204. package/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +1 -1
  205. package/internals/plugins/corePlugins/useChartId/useChartId.selectors.mjs +1 -1
  206. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.mjs +1 -1
  207. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +1 -1
  208. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.mjs +1 -1
  209. package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.js +1 -1
  210. package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.mjs +1 -1
  211. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.mjs +1 -1
  212. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.js +1 -1
  213. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.mjs +1 -1
  214. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.mjs +1 -1
  215. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +1 -1
  216. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.mjs +1 -1
  217. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.mjs +1 -1
  218. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.mjs +1 -1
  219. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.mjs +1 -1
  220. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.mjs +1 -1
  221. package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.js +1 -1
  222. package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.mjs +1 -1
  223. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.js +1 -1
  224. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.mjs +1 -1
  225. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.js +1 -1
  226. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.mjs +1 -1
  227. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.js +1 -1
  228. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.mjs +1 -1
  229. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +1 -1
  230. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.mjs +1 -1
  231. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +3 -3
  232. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.mjs +4 -4
  233. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.js +1 -1
  234. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.mjs +1 -1
  235. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +1 -1
  236. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.mjs +1 -1
  237. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +10 -10
  238. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +10 -10
  239. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +1 -1
  240. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs +2 -2
  241. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.mts +10 -10
  242. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +10 -10
  243. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.js +1 -1
  244. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.mjs +2 -2
  245. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +1 -1
  246. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.mjs +1 -1
  247. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.js +1 -1
  248. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.mjs +1 -1
  249. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.mjs +1 -1
  250. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.js +1 -1
  251. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.mjs +1 -1
  252. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +1 -1
  253. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.mjs +2 -2
  254. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +1 -1
  255. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.mjs +1 -1
  256. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +1 -1
  257. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.mjs +2 -2
  258. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +1 -1
  259. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.mjs +1 -1
  260. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +23 -9
  261. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.mjs +24 -10
  262. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.mts +3 -0
  263. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +3 -0
  264. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +4 -3
  265. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.mjs +3 -2
  266. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.mts +12 -0
  267. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +12 -0
  268. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.mjs +1 -1
  269. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.mjs +1 -1
  270. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +1 -1
  271. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.mjs +3 -3
  272. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +1 -1
  273. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.mjs +1 -1
  274. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.mts +3 -3
  275. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +3 -3
  276. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +3 -3
  277. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.mjs +3 -3
  278. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +1 -1
  279. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.mjs +2 -2
  280. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +1 -1
  281. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +1 -1
  282. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.mjs +1 -1
  283. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.selectors.js +1 -1
  284. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.selectors.mjs +1 -1
  285. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.mjs +1 -1
  286. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.js +1 -1
  287. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.mjs +1 -1
  288. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.mjs +1 -1
  289. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.js +1 -1
  290. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.mjs +1 -1
  291. package/internals/plugins/models/plugin.d.mts +1 -1
  292. package/internals/plugins/models/plugin.d.ts +1 -1
  293. package/internals/plugins/utils/useLazySelectorEffect.d.mts +1 -1
  294. package/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
  295. package/internals/processLineLikeSeries.mjs +1 -1
  296. package/internals/seriesSelectorOfType.js +2 -2
  297. package/internals/seriesSelectorOfType.mjs +2 -2
  298. package/internals/store/extractPluginParamsFromProps.mjs +1 -1
  299. package/internals/store/useCharts.d.mts +1 -1
  300. package/internals/store/useCharts.d.ts +1 -1
  301. package/internals/store/useCharts.js +1 -1
  302. package/internals/store/useCharts.mjs +1 -1
  303. package/internals/store/useStore.d.mts +1 -1
  304. package/internals/store/useStore.d.ts +1 -1
  305. package/internals/ts-generic.d.mts +1 -1
  306. package/internals/ts-generic.d.ts +1 -1
  307. package/locales/elGR.d.mts +6 -1
  308. package/locales/elGR.d.ts +6 -1
  309. package/locales/elGR.js +8 -0
  310. package/locales/elGR.mjs +8 -0
  311. package/locales/enUS.d.mts +6 -1
  312. package/locales/enUS.d.ts +6 -1
  313. package/locales/enUS.js +8 -0
  314. package/locales/enUS.mjs +8 -0
  315. package/locales/frFR.d.mts +6 -1
  316. package/locales/frFR.d.ts +6 -1
  317. package/locales/frFR.js +8 -0
  318. package/locales/frFR.mjs +8 -0
  319. package/locales/nbNO.d.mts +6 -1
  320. package/locales/nbNO.d.ts +6 -1
  321. package/locales/nbNO.js +8 -0
  322. package/locales/nbNO.mjs +8 -0
  323. package/locales/ptBR.d.mts +6 -1
  324. package/locales/ptBR.d.ts +6 -1
  325. package/locales/ptBR.js +8 -0
  326. package/locales/ptBR.mjs +8 -0
  327. package/locales/ptPT.d.mts +6 -1
  328. package/locales/ptPT.d.ts +6 -1
  329. package/locales/ptPT.js +8 -0
  330. package/locales/ptPT.mjs +8 -0
  331. package/locales/svSE.d.mts +6 -1
  332. package/locales/svSE.d.ts +6 -1
  333. package/locales/svSE.js +8 -0
  334. package/locales/svSE.mjs +8 -0
  335. package/locales/utils/chartsLocaleTextApi.d.mts +15 -1
  336. package/locales/utils/chartsLocaleTextApi.d.ts +15 -1
  337. package/locales/utils/getChartsLocalization.d.mts +6 -1
  338. package/locales/utils/getChartsLocalization.d.ts +6 -1
  339. package/locales/utils/getChartsLocalization.mjs +1 -1
  340. package/package.json +9 -8
  341. package/tests/web-components.js +1 -0
  342. package/tests/web-components.mjs +1 -0
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["type", "markShape", "color", "className", "classes"];
6
6
  import * as React from 'react';
7
7
  import clsx from 'clsx';
@@ -77,7 +77,7 @@ const ChartsLayerContainer = exports.ChartsLayerContainer = /*#__PURE__*/React.f
77
77
  if (process.env.NODE_ENV !== 'production') {
78
78
  React.Children.forEach(children, child => {
79
79
  if (typeof child === 'object' && child != null && 'type' in child && child.type === _ChartsSurface.ChartsSurface) {
80
- (0, _warning.warnOnce)('MUI X Charts: ChartsSurface should not be used inside ChartsLayerContainer. Render a ChartsSvgLayer instead.', 'error');
80
+ (0, _warning.errorOnce)('MUI X Charts: ChartsSurface should not be used inside ChartsLayerContainer. Render a ChartsSvgLayer instead.');
81
81
  }
82
82
  });
83
83
  }
@@ -1,12 +1,12 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["children", "title", "desc", "className"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import clsx from 'clsx';
9
- import { warnOnce } from '@mui/x-internals/warning';
9
+ import { errorOnce } from '@mui/x-internals/warning';
10
10
  import { styled, useThemeProps } from '@mui/material/styles';
11
11
  import useForkRef from '@mui/utils/useForkRef';
12
12
  import useId from '@mui/utils/useId';
@@ -71,7 +71,7 @@ const ChartsLayerContainer = /*#__PURE__*/React.forwardRef(function ChartsLayerC
71
71
  if (process.env.NODE_ENV !== 'production') {
72
72
  React.Children.forEach(children, child => {
73
73
  if (typeof child === 'object' && child != null && 'type' in child && child.type === ChartsSurface) {
74
- warnOnce('MUI X Charts: ChartsSurface should not be used inside ChartsLayerContainer. Render a ChartsSvgLayer instead.', 'error');
74
+ errorOnce('MUI X Charts: ChartsSurface should not be used inside ChartsLayerContainer. Render a ChartsSvgLayer instead.');
75
75
  }
76
76
  });
77
77
  }
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
4
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
4
+ import _extends from "@babel/runtime/helpers/extends";
5
5
  const _excluded = ["direction", "onItemClick", "className", "classes", "toggleVisibilityOnClick"];
6
6
  import * as React from 'react';
7
7
  import { styled } from '@mui/material/styles';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
4
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
4
+ import _extends from "@babel/runtime/helpers/extends";
5
5
  const _excluded = ["minLabel", "maxLabel", "direction", "axisDirection", "axisId", "rotateGradient", "reverse", "classes", "className", "gradientId", "labelPosition", "thickness"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
4
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
4
+ import _extends from "@babel/runtime/helpers/extends";
5
5
  const _excluded = ["direction", "classes", "className", "markType", "labelPosition", "axisDirection", "axisId", "labelFormatter", "onItemClick"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["localeText"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import { useDrawingArea } from "../hooks/useDrawingArea.mjs";
5
5
  import { useChartsLocalization } from "../hooks/useChartsLocalization.mjs";
6
6
  import { StyledText } from "./common.mjs";
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import { useDrawingArea } from "../hooks/useDrawingArea.mjs";
5
5
  import { useChartsLocalization } from "../hooks/useChartsLocalization.mjs";
6
6
  import { StyledText } from "./common.mjs";
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import * as React from 'react';
5
5
  import { ChartsLoadingOverlay } from "./ChartsLoadingOverlay.mjs";
6
6
  import { useSeries } from "../hooks/useSeries.mjs";
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import { styled } from '@mui/material/styles';
5
5
  export const StyledText = styled('text', {
6
6
  slot: 'internal',
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import { styled } from '@mui/material/styles';
5
5
  export const ChartsRadialAxisHighlightPath = styled('path', {
6
6
  name: 'MuiChartsRadialAxisHighlight',
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { defaultSlotsMaterial } from "../internals/material/index.mjs";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["children", "localeText", "plugins", "slots", "slotProps", "seriesConfig"];
6
6
  import { useTheme, useThemeProps } from '@mui/material/styles';
7
7
  import { RADIAL_PLUGINS } from "./ChartsRadialDataProvider.plugins.mjs";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["className", "rotation", "radius"];
6
6
  import PropTypes from 'prop-types';
7
7
  import clsx from 'clsx';
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import clsx from 'clsx';
5
5
  import PropTypes from 'prop-types';
6
6
  import { useTheme } from '@mui/material/styles';
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
5
5
  import PropTypes from 'prop-types';
6
6
  import { ChartsXReferenceLine } from "./ChartsXReferenceLine.mjs";
@@ -84,7 +84,7 @@ function ChartsXReferenceLine(props) {
84
84
  const xPosition = xAxisScale(x);
85
85
  if (xPosition === undefined) {
86
86
  if (process.env.NODE_ENV !== 'production') {
87
- (0, _warning.warnOnce)(`MUI X Charts: the value ${x} does not exist in the data of x axis with id ${axisId}.`, 'error');
87
+ (0, _warning.errorOnce)(`MUI X Charts: the value ${x} does not exist in the data of x axis with id ${axisId}.`);
88
88
  }
89
89
  return null;
90
90
  }
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import PropTypes from 'prop-types';
5
5
  import composeClasses from '@mui/utils/composeClasses';
6
- import { warnOnce } from '@mui/x-internals/warning';
6
+ import { errorOnce } from '@mui/x-internals/warning';
7
7
  import { useDrawingArea, useXScale } from "../hooks/index.mjs";
8
8
  import { DEFAULT_SPACING, DEFAULT_SPACING_MIDDLE_OTHER_AXIS, ReferenceLineRoot } from "./common.mjs";
9
9
  import { ChartsText } from "../ChartsText/index.mjs";
@@ -77,7 +77,7 @@ function ChartsXReferenceLine(props) {
77
77
  const xPosition = xAxisScale(x);
78
78
  if (xPosition === undefined) {
79
79
  if (process.env.NODE_ENV !== 'production') {
80
- warnOnce(`MUI X Charts: the value ${x} does not exist in the data of x axis with id ${axisId}.`, 'error');
80
+ errorOnce(`MUI X Charts: the value ${x} does not exist in the data of x axis with id ${axisId}.`);
81
81
  }
82
82
  return null;
83
83
  }
@@ -84,7 +84,7 @@ function ChartsYReferenceLine(props) {
84
84
  const yPosition = yAxisScale(y);
85
85
  if (yPosition === undefined) {
86
86
  if (process.env.NODE_ENV !== 'production') {
87
- (0, _warning.warnOnce)(`MUI X Charts: the value ${y} does not exist in the data of y axis with id ${axisId}.`, 'error');
87
+ (0, _warning.errorOnce)(`MUI X Charts: the value ${y} does not exist in the data of y axis with id ${axisId}.`);
88
88
  }
89
89
  return null;
90
90
  }
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import PropTypes from 'prop-types';
5
5
  import composeClasses from '@mui/utils/composeClasses';
6
- import { warnOnce } from '@mui/x-internals/warning';
6
+ import { errorOnce } from '@mui/x-internals/warning';
7
7
  import { useDrawingArea, useYScale } from "../hooks/index.mjs";
8
8
  import { DEFAULT_SPACING, DEFAULT_SPACING_MIDDLE_OTHER_AXIS, ReferenceLineRoot } from "./common.mjs";
9
9
  import { ChartsText } from "../ChartsText/index.mjs";
@@ -77,7 +77,7 @@ function ChartsYReferenceLine(props) {
77
77
  const yPosition = yAxisScale(y);
78
78
  if (yPosition === undefined) {
79
79
  if (process.env.NODE_ENV !== 'production') {
80
- warnOnce(`MUI X Charts: the value ${y} does not exist in the data of y axis with id ${axisId}.`, 'error');
80
+ errorOnce(`MUI X Charts: the value ${y} does not exist in the data of y axis with id ${axisId}.`);
81
81
  }
82
82
  return null;
83
83
  }
@@ -1,4 +1,4 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
1
+ import _extends from "@babel/runtime/helpers/extends";
2
2
  import { styled } from '@mui/material/styles';
3
3
  import { referenceLineClasses } from "./chartsReferenceLineClasses.mjs";
4
4
  export const DEFAULT_SPACING = 5;
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import clsx from 'clsx';
5
5
  import PropTypes from 'prop-types';
6
6
  import { useTheme } from '@mui/material/styles';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["children", "className", "title", "desc"];
6
6
  import clsx from 'clsx';
7
7
  import { useThemeProps } from '@mui/material/styles';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["children", "className"];
6
6
  import { styled, useThemeProps } from '@mui/material/styles';
7
7
  import PropTypes from 'prop-types';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["x", "y", "style", "text", "ownerState"],
6
6
  _excluded2 = ["angle", "textAnchor", "dominantBaseline"];
7
7
  import * as React from 'react';
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
  import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
4
- import _extends from "@babel/runtime/helpers/esm/extends";
5
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
4
+ import _extends from "@babel/runtime/helpers/extends";
5
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
6
6
  const _excluded = ["classes", "trigger", "sort"];
7
7
  import PropTypes from 'prop-types';
8
8
  import HTMLElementType from '@mui/utils/HTMLElementType';
@@ -107,10 +107,10 @@ function ChartsTooltipContainer(inProps) {
107
107
  const isItemControlled = store.state.tooltip?.itemIsControlled ?? false;
108
108
  const isAxisControlled = store.state.controlledCartesianAxisTooltip !== undefined;
109
109
  if (trigger !== 'item' && isItemControlled) {
110
- (0, _warning.warnOnce)([`MUI X Charts: The \`tooltipItem\` prop is provided, but the tooltip trigger is set to '${trigger}'.`, "The `tooltipItem` prop only has an effect when the tooltip trigger is 'item'."], 'error');
110
+ (0, _warning.errorOnce)([`MUI X Charts: The \`tooltipItem\` prop is provided, but the tooltip trigger is set to '${trigger}'.`, "The `tooltipItem` prop only has an effect when the tooltip trigger is 'item'."].join('\n'));
111
111
  }
112
112
  if (trigger !== 'axis' && isAxisControlled) {
113
- (0, _warning.warnOnce)([`MUI X Charts: The \`tooltipAxis\` prop is provided, but the tooltip trigger is set to '${trigger}'.`, "The `tooltipAxis` prop only has an effect when the tooltip trigger is 'axis'."], 'error');
113
+ (0, _warning.errorOnce)([`MUI X Charts: The \`tooltipAxis\` prop is provided, but the tooltip trigger is set to '${trigger}'.`, "The `tooltipAxis` prop only has an effect when the tooltip trigger is 'axis'."].join('\n'));
114
114
  }
115
115
  }
116
116
  const chartsLayerContainerRef = (0, _hooks.useChartsLayerContainerRef)();
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
  import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
4
- import _extends from "@babel/runtime/helpers/esm/extends";
5
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
4
+ import _extends from "@babel/runtime/helpers/extends";
5
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
6
6
  const _excluded = ["trigger", "position", "anchor", "classes", "children"];
7
7
  import * as React from 'react';
8
8
  import * as ReactDOM from 'react-dom';
@@ -14,7 +14,7 @@ import { styled, useThemeProps } from '@mui/material/styles';
14
14
  import Popper from '@mui/material/Popper';
15
15
  import NoSsr from '@mui/material/NoSsr';
16
16
  import { rafThrottle } from '@mui/x-internals/rafThrottle';
17
- import { warnOnce } from '@mui/x-internals/warning';
17
+ import { errorOnce } from '@mui/x-internals/warning';
18
18
  import { useIsFineMainPointer } from "./utils.mjs";
19
19
  import { useUtilityClasses } from "./chartsTooltipClasses.mjs";
20
20
  import { useStore } from "../internals/store/useStore.mjs";
@@ -100,10 +100,10 @@ function ChartsTooltipContainer(inProps) {
100
100
  const isItemControlled = store.state.tooltip?.itemIsControlled ?? false;
101
101
  const isAxisControlled = store.state.controlledCartesianAxisTooltip !== undefined;
102
102
  if (trigger !== 'item' && isItemControlled) {
103
- warnOnce([`MUI X Charts: The \`tooltipItem\` prop is provided, but the tooltip trigger is set to '${trigger}'.`, "The `tooltipItem` prop only has an effect when the tooltip trigger is 'item'."], 'error');
103
+ errorOnce([`MUI X Charts: The \`tooltipItem\` prop is provided, but the tooltip trigger is set to '${trigger}'.`, "The `tooltipItem` prop only has an effect when the tooltip trigger is 'item'."].join('\n'));
104
104
  }
105
105
  if (trigger !== 'axis' && isAxisControlled) {
106
- warnOnce([`MUI X Charts: The \`tooltipAxis\` prop is provided, but the tooltip trigger is set to '${trigger}'.`, "The `tooltipAxis` prop only has an effect when the tooltip trigger is 'axis'."], 'error');
106
+ errorOnce([`MUI X Charts: The \`tooltipAxis\` prop is provided, but the tooltip trigger is set to '${trigger}'.`, "The `tooltipAxis` prop only has an effect when the tooltip trigger is 'axis'."].join('\n'));
107
107
  }
108
108
  }
109
109
  const chartsLayerContainerRef = useChartsLayerContainerRef();
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["children", "sx", "extendVertically", "hideLegend", "legendDirection", "legendPosition"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
5
5
  import * as React from 'react';
6
6
  import { isOrdinalScale } from "../internals/scaleGuards.mjs";
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import * as React from 'react';
5
5
  import { useRtl } from '@mui/system/RtlProvider';
6
6
  import { useIsHydrated } from '@mui/x-internals/useIsHydrated';
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import PropTypes from 'prop-types';
5
5
  import { warnOnce } from '@mui/x-internals/warning';
6
6
  import { useXAxes } from "../hooks/useAxis.mjs";
@@ -21,6 +21,7 @@ var _isInfinity = require("../internals/isInfinity");
21
21
  var _utilities = require("./utilities");
22
22
  var _hooks = require("../hooks");
23
23
  var _domUtils = require("../internals/domUtils");
24
+ var _getInlineTypographyStyle = require("../internals/getInlineTypographyStyle");
24
25
  var _AxisSharedComponents = require("../internals/components/AxisSharedComponents");
25
26
  var _jsxRuntime = require("react/jsx-runtime");
26
27
  const _excluded = ["axis"],
@@ -80,7 +81,7 @@ function ChartsXAxisImpl(_ref) {
80
81
  externalSlotProps: slotProps?.axisLabel,
81
82
  // @ts-expect-error `useSlotProps` applies `WithCommonProps` with adds a `style: React.CSSProperties` prop automatically.
82
83
  additionalProps: {
83
- style: (0, _extends2.default)({}, theme.typography.body1, {
84
+ style: (0, _extends2.default)({}, (0, _getInlineTypographyStyle.getInlineTypographyStyle)(theme.typography.body1), {
84
85
  lineHeight: 1,
85
86
  fontSize: 14,
86
87
  textAnchor: 'middle',
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["axis"],
6
6
  _excluded2 = ["scale", "tickNumber", "reverse", "ordinalTimeTicks"];
7
7
  import * as React from 'react';
@@ -16,6 +16,7 @@ import { isInfinity } from "../internals/isInfinity.mjs";
16
16
  import { defaultProps, useUtilityClasses } from "./utilities.mjs";
17
17
  import { useDrawingArea } from "../hooks/index.mjs";
18
18
  import { getStringSize } from "../internals/domUtils.mjs";
19
+ import { getInlineTypographyStyle } from "../internals/getInlineTypographyStyle.mjs";
19
20
  import { AxisRoot } from "../internals/components/AxisSharedComponents.mjs";
20
21
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
22
  const XAxisRoot = styled(AxisRoot, {
@@ -73,7 +74,7 @@ export function ChartsXAxisImpl(_ref) {
73
74
  externalSlotProps: slotProps?.axisLabel,
74
75
  // @ts-expect-error `useSlotProps` applies `WithCommonProps` with adds a `style: React.CSSProperties` prop automatically.
75
76
  additionalProps: {
76
- style: _extends({}, theme.typography.body1, {
77
+ style: _extends({}, getInlineTypographyStyle(theme.typography.body1), {
77
78
  lineHeight: 1,
78
79
  fontSize: 14,
79
80
  textAnchor: 'middle',
@@ -3896,11 +3896,11 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
3896
3896
  onTransitionStart?: import("react").TransitionEventHandler<SVGTextElement> | undefined;
3897
3897
  onTransitionStartCapture?: import("react").TransitionEventHandler<SVGTextElement> | undefined;
3898
3898
  "aria-activedescendant"?: string | undefined;
3899
- "aria-atomic"?: ("false" | "true" | boolean) | undefined;
3899
+ "aria-atomic"?: "false" | "true" | boolean | undefined;
3900
3900
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
3901
3901
  "aria-braillelabel"?: string | undefined;
3902
3902
  "aria-brailleroledescription"?: string | undefined;
3903
- "aria-busy"?: ("false" | "true" | boolean) | undefined;
3903
+ "aria-busy"?: "false" | "true" | boolean | undefined;
3904
3904
  "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
3905
3905
  "aria-colcount"?: number | undefined;
3906
3906
  "aria-colindex"?: number | undefined;
@@ -3911,37 +3911,37 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
3911
3911
  "aria-describedby"?: string | undefined;
3912
3912
  "aria-description"?: string | undefined;
3913
3913
  "aria-details"?: string | undefined;
3914
- "aria-disabled"?: ("false" | "true" | boolean) | undefined;
3914
+ "aria-disabled"?: "false" | "true" | boolean | undefined;
3915
3915
  "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
3916
3916
  "aria-errormessage"?: string | undefined;
3917
- "aria-expanded"?: ("false" | "true" | boolean) | undefined;
3917
+ "aria-expanded"?: "false" | "true" | boolean | undefined;
3918
3918
  "aria-flowto"?: string | undefined;
3919
- "aria-grabbed"?: ("false" | "true" | boolean) | undefined;
3919
+ "aria-grabbed"?: "false" | "true" | boolean | undefined;
3920
3920
  "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
3921
- "aria-hidden"?: ("false" | "true" | boolean) | undefined;
3921
+ "aria-hidden"?: "false" | "true" | boolean | undefined;
3922
3922
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
3923
3923
  "aria-keyshortcuts"?: string | undefined;
3924
3924
  "aria-label"?: string | undefined;
3925
3925
  "aria-labelledby"?: string | undefined;
3926
3926
  "aria-level"?: number | undefined;
3927
3927
  "aria-live"?: "off" | "assertive" | "polite" | undefined;
3928
- "aria-modal"?: ("false" | "true" | boolean) | undefined;
3929
- "aria-multiline"?: ("false" | "true" | boolean) | undefined;
3930
- "aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
3928
+ "aria-modal"?: "false" | "true" | boolean | undefined;
3929
+ "aria-multiline"?: "false" | "true" | boolean | undefined;
3930
+ "aria-multiselectable"?: "false" | "true" | boolean | undefined;
3931
3931
  "aria-orientation"?: "horizontal" | "vertical" | undefined;
3932
3932
  "aria-owns"?: string | undefined;
3933
3933
  "aria-placeholder"?: string | undefined;
3934
3934
  "aria-posinset"?: number | undefined;
3935
3935
  "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
3936
- "aria-readonly"?: ("false" | "true" | boolean) | undefined;
3936
+ "aria-readonly"?: "false" | "true" | boolean | undefined;
3937
3937
  "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
3938
- "aria-required"?: ("false" | "true" | boolean) | undefined;
3938
+ "aria-required"?: "false" | "true" | boolean | undefined;
3939
3939
  "aria-roledescription"?: string | undefined;
3940
3940
  "aria-rowcount"?: number | undefined;
3941
3941
  "aria-rowindex"?: number | undefined;
3942
3942
  "aria-rowindextext"?: string | undefined;
3943
3943
  "aria-rowspan"?: number | undefined;
3944
- "aria-selected"?: ("false" | "true" | boolean) | undefined;
3944
+ "aria-selected"?: "false" | "true" | boolean | undefined;
3945
3945
  "aria-setsize"?: number | undefined;
3946
3946
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
3947
3947
  "aria-valuemax"?: number | undefined;
@@ -3978,7 +3978,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
3978
3978
  ascent?: number | string | undefined;
3979
3979
  attributeName?: string | undefined;
3980
3980
  attributeType?: string | undefined;
3981
- autoReverse?: ("false" | "true" | boolean) | undefined;
3981
+ autoReverse?: "false" | "true" | boolean | undefined;
3982
3982
  azimuth?: number | string | undefined;
3983
3983
  baseFrequency?: number | string | undefined;
3984
3984
  baselineShift?: number | string | undefined;
@@ -4017,7 +4017,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
4017
4017
  enableBackground?: number | string | undefined;
4018
4018
  end?: number | string | undefined;
4019
4019
  exponent?: number | string | undefined;
4020
- externalResourcesRequired?: ("false" | "true" | boolean) | undefined;
4020
+ externalResourcesRequired?: "false" | "true" | boolean | undefined;
4021
4021
  fill?: string | undefined;
4022
4022
  fillOpacity?: number | string | undefined;
4023
4023
  fillRule?: "nonzero" | "evenodd" | "inherit" | undefined;
@@ -4026,7 +4026,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
4026
4026
  filterUnits?: number | string | undefined;
4027
4027
  floodColor?: number | string | undefined;
4028
4028
  floodOpacity?: number | string | undefined;
4029
- focusable?: ("false" | "true" | boolean) | "auto" | undefined;
4029
+ focusable?: "false" | "true" | boolean | "auto" | undefined;
4030
4030
  fontFamily?: string | undefined;
4031
4031
  fontSize?: number | string | undefined;
4032
4032
  fontSizeAdjust?: number | string | undefined;
@@ -4106,7 +4106,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
4106
4106
  pointsAtX?: number | string | undefined;
4107
4107
  pointsAtY?: number | string | undefined;
4108
4108
  pointsAtZ?: number | string | undefined;
4109
- preserveAlpha?: ("false" | "true" | boolean) | undefined;
4109
+ preserveAlpha?: "false" | "true" | boolean | undefined;
4110
4110
  preserveAspectRatio?: string | undefined;
4111
4111
  primitiveUnits?: number | string | undefined;
4112
4112
  r?: number | string | undefined;
@@ -4210,7 +4210,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
4210
4210
  zoomAndPan?: string | undefined;
4211
4211
  ref: ((instance: any | null) => void) | null;
4212
4212
  text?: string | undefined;
4213
- style?: (import("../index.mjs").ChartsTextStyle & import("react").CSSProperties) | undefined;
4213
+ style?: import("../index.mjs").ChartsTextStyle & import("react").CSSProperties | undefined;
4214
4214
  needsComputation?: boolean;
4215
4215
  lineHeight?: number;
4216
4216
  ownerState: any;