@mui/x-charts 8.1.0 → 8.3.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 (508) hide show
  1. package/BarChart/BarChart.js +1 -1
  2. package/BarChart/BarLabel/BarLabel.types.d.ts +1 -1
  3. package/BarChart/BarLabel/BarLabelPlot.d.ts +1 -1
  4. package/BarChart/BarLabel/barLabelClasses.d.ts +1 -1
  5. package/BarChart/BarLabel/index.d.ts +4 -4
  6. package/BarChart/checkScaleErrors.d.ts +3 -3
  7. package/BarChart/checkScaleErrors.js +4 -4
  8. package/BarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  9. package/BarChart/seriesConfig/seriesProcessor.js +2 -2
  10. package/BarChart/seriesConfig/tooltip.d.ts +1 -1
  11. package/BarChart/types.d.ts +2 -2
  12. package/BarChart/useBarChartProps.d.ts +2 -2
  13. package/BarChart/useBarChartProps.js +20 -2
  14. package/CHANGELOG.md +233 -7
  15. package/ChartContainer/ChartContainer.js +1 -1
  16. package/ChartContainer/useChartContainerProps.d.ts +1 -1
  17. package/ChartDataProvider/useChartDataProviderProps.d.ts +2 -2
  18. package/ChartsAxisHighlight/ChartsXAxisHighlight.js +1 -1
  19. package/ChartsAxisHighlight/ChartsYAxisHighlight.js +1 -1
  20. package/ChartsClipPath/ChartsClipPath.d.ts +8 -0
  21. package/ChartsClipPath/ChartsClipPath.js +8 -0
  22. package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
  23. package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
  24. package/ChartsLabel/ChartsLabelMark.js +8 -4
  25. package/ChartsLabel/index.d.ts +4 -4
  26. package/ChartsLabel/labelClasses.d.ts +1 -1
  27. package/ChartsLabel/labelGradientClasses.d.ts +1 -1
  28. package/ChartsLabel/labelMarkClasses.d.ts +1 -1
  29. package/ChartsLegend/ChartsLegend.d.ts +2 -2
  30. package/ChartsLegend/ContinuousColorLegend.d.ts +1 -1
  31. package/ChartsLegend/PiecewiseColorLegend.d.ts +1 -1
  32. package/ChartsLegend/chartsLegend.types.d.ts +1 -1
  33. package/ChartsLegend/chartsLegendClasses.d.ts +2 -2
  34. package/ChartsLegend/continuousColorLegendClasses.d.ts +2 -2
  35. package/ChartsLegend/index.d.ts +4 -4
  36. package/ChartsLegend/piecewiseColorLegendClasses.d.ts +2 -2
  37. package/ChartsLegend/useAxis.d.ts +2 -2
  38. package/ChartsLocalizationProvider/ChartsLocalizationProvider.d.ts +1 -1
  39. package/ChartsLocalizationProvider/index.d.ts +1 -1
  40. package/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -1
  41. package/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -1
  42. package/ChartsOverlay/index.d.ts +1 -1
  43. package/ChartsReferenceLine/ChartsReferenceLine.js +2 -2
  44. package/ChartsReferenceLine/ChartsXReferenceLine.js +1 -1
  45. package/ChartsReferenceLine/ChartsYReferenceLine.js +1 -1
  46. package/ChartsText/index.d.ts +2 -2
  47. package/ChartsTooltip/ChartsTooltipContainer.js +1 -0
  48. package/ChartsTooltip/index.d.ts +3 -3
  49. package/ChartsTooltip/useAxisTooltip.d.ts +2 -2
  50. package/LineChart/AnimatedArea.d.ts +1 -1
  51. package/LineChart/AnimatedLine.d.ts +1 -1
  52. package/LineChart/AppearingMask.js +1 -2
  53. package/LineChart/AreaPlot.js +2 -2
  54. package/LineChart/CircleMarkElement.d.ts +10 -0
  55. package/LineChart/CircleMarkElement.js +5 -15
  56. package/LineChart/LineChart.js +1 -1
  57. package/LineChart/LineHighlightPlot.js +1 -1
  58. package/LineChart/LinePlot.js +2 -2
  59. package/LineChart/MarkElement.d.ts +10 -0
  60. package/LineChart/MarkElement.js +15 -15
  61. package/LineChart/MarkPlot.js +19 -3
  62. package/LineChart/index.d.ts +1 -1
  63. package/LineChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  64. package/LineChart/seriesConfig/seriesProcessor.js +2 -2
  65. package/LineChart/seriesConfig/tooltip.d.ts +1 -1
  66. package/LineChart/useLineChartProps.d.ts +2 -2
  67. package/PieChart/PieArcLabel.js +3 -4
  68. package/PieChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  69. package/PieChart/seriesConfig/tooltip.d.ts +1 -1
  70. package/RadarChart/RadarGrid/index.d.ts +1 -1
  71. package/RadarChart/RadarSeriesPlot/index.d.ts +2 -2
  72. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +3 -3
  73. package/RadarChart/index.d.ts +2 -2
  74. package/RadarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  75. package/RadarChart/seriesConfig/tooltip.d.ts +1 -1
  76. package/RadarChart/useRadarChartProps.d.ts +2 -2
  77. package/ScatterChart/ScatterChart.js +1 -1
  78. package/ScatterChart/ScatterMarker.types.d.ts +1 -1
  79. package/ScatterChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  80. package/ScatterChart/seriesConfig/seriesProcessor.js +1 -1
  81. package/ScatterChart/seriesConfig/tooltip.d.ts +1 -1
  82. package/ScatterChart/useScatterChartProps.d.ts +3 -3
  83. package/SparkLineChart/SparkLineChart.d.ts +19 -0
  84. package/SparkLineChart/SparkLineChart.js +53 -16
  85. package/Toolbar/Toolbar.d.ts +5 -0
  86. package/Toolbar/Toolbar.js +34 -0
  87. package/Toolbar/ToolbarButton.d.ts +5 -0
  88. package/Toolbar/ToolbarButton.js +27 -0
  89. package/Toolbar/index.d.ts +2 -0
  90. package/Toolbar/index.js +27 -0
  91. package/colorPalettes/categorical/blueberryTwilight.d.ts +4 -0
  92. package/colorPalettes/categorical/blueberryTwilight.js +10 -0
  93. package/colorPalettes/categorical/cheerfulFiesta.d.ts +4 -0
  94. package/colorPalettes/categorical/cheerfulFiesta.js +10 -0
  95. package/colorPalettes/categorical/mangoFusion.d.ts +4 -0
  96. package/colorPalettes/categorical/mangoFusion.js +10 -0
  97. package/colorPalettes/categorical/rainbowSurge.d.ts +4 -0
  98. package/colorPalettes/categorical/rainbowSurge.js +10 -0
  99. package/colorPalettes/index.d.ts +14 -1
  100. package/colorPalettes/index.js +147 -4
  101. package/colorPalettes/sequential/blue.d.ts +4 -0
  102. package/colorPalettes/sequential/blue.js +12 -0
  103. package/colorPalettes/sequential/cyan.d.ts +4 -0
  104. package/colorPalettes/sequential/cyan.js +12 -0
  105. package/colorPalettes/sequential/green.d.ts +4 -0
  106. package/colorPalettes/sequential/green.js +12 -0
  107. package/colorPalettes/sequential/orange.d.ts +4 -0
  108. package/colorPalettes/sequential/orange.js +12 -0
  109. package/colorPalettes/sequential/pink.d.ts +4 -0
  110. package/colorPalettes/sequential/pink.js +12 -0
  111. package/colorPalettes/sequential/purple.d.ts +4 -0
  112. package/colorPalettes/sequential/purple.js +12 -0
  113. package/colorPalettes/sequential/red.d.ts +4 -0
  114. package/colorPalettes/sequential/red.js +12 -0
  115. package/colorPalettes/sequential/strawberrySky.d.ts +4 -0
  116. package/colorPalettes/sequential/strawberrySky.js +10 -0
  117. package/colorPalettes/sequential/yellow.d.ts +4 -0
  118. package/colorPalettes/sequential/yellow.js +12 -0
  119. package/colorPalettes/types.d.ts +4 -0
  120. package/colorPalettes/types.js +5 -0
  121. package/context/ChartProvider/ChartContext.d.ts +1 -1
  122. package/context/ChartProvider/ChartProvider.d.ts +1 -1
  123. package/context/ChartProvider/ChartProvider.types.d.ts +6 -6
  124. package/context/ChartProvider/useChartContext.js +1 -1
  125. package/context/index.d.ts +1 -1
  126. package/esm/BarChart/BarChart.js +1 -1
  127. package/esm/BarChart/BarLabel/BarLabel.types.d.ts +1 -1
  128. package/esm/BarChart/BarLabel/BarLabelPlot.d.ts +1 -1
  129. package/esm/BarChart/BarLabel/barLabelClasses.d.ts +1 -1
  130. package/esm/BarChart/BarLabel/index.d.ts +4 -4
  131. package/esm/BarChart/checkScaleErrors.d.ts +3 -3
  132. package/esm/BarChart/checkScaleErrors.js +4 -4
  133. package/esm/BarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  134. package/esm/BarChart/seriesConfig/seriesProcessor.js +2 -2
  135. package/esm/BarChart/seriesConfig/tooltip.d.ts +1 -1
  136. package/esm/BarChart/types.d.ts +2 -2
  137. package/esm/BarChart/useBarChartProps.d.ts +2 -2
  138. package/esm/BarChart/useBarChartProps.js +20 -2
  139. package/esm/ChartContainer/ChartContainer.js +1 -1
  140. package/esm/ChartContainer/useChartContainerProps.d.ts +1 -1
  141. package/esm/ChartDataProvider/useChartDataProviderProps.d.ts +2 -2
  142. package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.js +1 -1
  143. package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.js +1 -1
  144. package/esm/ChartsClipPath/ChartsClipPath.d.ts +8 -0
  145. package/esm/ChartsClipPath/ChartsClipPath.js +8 -0
  146. package/esm/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
  147. package/esm/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
  148. package/esm/ChartsLabel/ChartsLabelMark.js +8 -4
  149. package/esm/ChartsLabel/index.d.ts +4 -4
  150. package/esm/ChartsLabel/labelClasses.d.ts +1 -1
  151. package/esm/ChartsLabel/labelGradientClasses.d.ts +1 -1
  152. package/esm/ChartsLabel/labelMarkClasses.d.ts +1 -1
  153. package/esm/ChartsLegend/ChartsLegend.d.ts +2 -2
  154. package/esm/ChartsLegend/ContinuousColorLegend.d.ts +1 -1
  155. package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +1 -1
  156. package/esm/ChartsLegend/chartsLegend.types.d.ts +1 -1
  157. package/esm/ChartsLegend/chartsLegendClasses.d.ts +2 -2
  158. package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +2 -2
  159. package/esm/ChartsLegend/index.d.ts +4 -4
  160. package/esm/ChartsLegend/piecewiseColorLegendClasses.d.ts +2 -2
  161. package/esm/ChartsLegend/useAxis.d.ts +2 -2
  162. package/esm/ChartsLocalizationProvider/ChartsLocalizationProvider.d.ts +1 -1
  163. package/esm/ChartsLocalizationProvider/index.d.ts +1 -1
  164. package/esm/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -1
  165. package/esm/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -1
  166. package/esm/ChartsOverlay/index.d.ts +1 -1
  167. package/esm/ChartsReferenceLine/ChartsReferenceLine.js +2 -2
  168. package/esm/ChartsReferenceLine/ChartsXReferenceLine.js +1 -1
  169. package/esm/ChartsReferenceLine/ChartsYReferenceLine.js +1 -1
  170. package/esm/ChartsText/index.d.ts +2 -2
  171. package/esm/ChartsTooltip/ChartsTooltipContainer.js +1 -0
  172. package/esm/ChartsTooltip/index.d.ts +3 -3
  173. package/esm/ChartsTooltip/useAxisTooltip.d.ts +2 -2
  174. package/esm/LineChart/AnimatedArea.d.ts +1 -1
  175. package/esm/LineChart/AnimatedLine.d.ts +1 -1
  176. package/esm/LineChart/AppearingMask.js +1 -2
  177. package/esm/LineChart/AreaPlot.js +2 -2
  178. package/esm/LineChart/CircleMarkElement.d.ts +10 -0
  179. package/esm/LineChart/CircleMarkElement.js +5 -15
  180. package/esm/LineChart/LineChart.js +1 -1
  181. package/esm/LineChart/LineHighlightPlot.js +1 -1
  182. package/esm/LineChart/LinePlot.js +2 -2
  183. package/esm/LineChart/MarkElement.d.ts +10 -0
  184. package/esm/LineChart/MarkElement.js +15 -15
  185. package/esm/LineChart/MarkPlot.js +20 -4
  186. package/esm/LineChart/index.d.ts +1 -1
  187. package/esm/LineChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  188. package/esm/LineChart/seriesConfig/seriesProcessor.js +2 -2
  189. package/esm/LineChart/seriesConfig/tooltip.d.ts +1 -1
  190. package/esm/LineChart/useLineChartProps.d.ts +2 -2
  191. package/esm/PieChart/PieArcLabel.js +3 -4
  192. package/esm/PieChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  193. package/esm/PieChart/seriesConfig/tooltip.d.ts +1 -1
  194. package/esm/RadarChart/RadarGrid/index.d.ts +1 -1
  195. package/esm/RadarChart/RadarSeriesPlot/index.d.ts +2 -2
  196. package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +3 -3
  197. package/esm/RadarChart/index.d.ts +2 -2
  198. package/esm/RadarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  199. package/esm/RadarChart/seriesConfig/tooltip.d.ts +1 -1
  200. package/esm/RadarChart/useRadarChartProps.d.ts +2 -2
  201. package/esm/ScatterChart/ScatterChart.js +1 -1
  202. package/esm/ScatterChart/ScatterMarker.types.d.ts +1 -1
  203. package/esm/ScatterChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  204. package/esm/ScatterChart/seriesConfig/seriesProcessor.js +1 -1
  205. package/esm/ScatterChart/seriesConfig/tooltip.d.ts +1 -1
  206. package/esm/ScatterChart/useScatterChartProps.d.ts +3 -3
  207. package/esm/SparkLineChart/SparkLineChart.d.ts +19 -0
  208. package/esm/SparkLineChart/SparkLineChart.js +53 -16
  209. package/esm/Toolbar/Toolbar.d.ts +5 -0
  210. package/esm/Toolbar/Toolbar.js +27 -0
  211. package/esm/Toolbar/ToolbarButton.d.ts +5 -0
  212. package/esm/Toolbar/ToolbarButton.js +20 -0
  213. package/esm/Toolbar/index.d.ts +2 -0
  214. package/esm/Toolbar/index.js +2 -0
  215. package/esm/colorPalettes/categorical/blueberryTwilight.d.ts +4 -0
  216. package/esm/colorPalettes/categorical/blueberryTwilight.js +3 -0
  217. package/esm/colorPalettes/categorical/cheerfulFiesta.d.ts +4 -0
  218. package/esm/colorPalettes/categorical/cheerfulFiesta.js +3 -0
  219. package/esm/colorPalettes/categorical/mangoFusion.d.ts +4 -0
  220. package/esm/colorPalettes/categorical/mangoFusion.js +3 -0
  221. package/esm/colorPalettes/categorical/rainbowSurge.d.ts +4 -0
  222. package/esm/colorPalettes/categorical/rainbowSurge.js +3 -0
  223. package/esm/colorPalettes/index.d.ts +14 -1
  224. package/esm/colorPalettes/index.js +20 -1
  225. package/esm/colorPalettes/sequential/blue.d.ts +4 -0
  226. package/esm/colorPalettes/sequential/blue.js +5 -0
  227. package/esm/colorPalettes/sequential/cyan.d.ts +4 -0
  228. package/esm/colorPalettes/sequential/cyan.js +5 -0
  229. package/esm/colorPalettes/sequential/green.d.ts +4 -0
  230. package/esm/colorPalettes/sequential/green.js +5 -0
  231. package/esm/colorPalettes/sequential/orange.d.ts +4 -0
  232. package/esm/colorPalettes/sequential/orange.js +5 -0
  233. package/esm/colorPalettes/sequential/pink.d.ts +4 -0
  234. package/esm/colorPalettes/sequential/pink.js +5 -0
  235. package/esm/colorPalettes/sequential/purple.d.ts +4 -0
  236. package/esm/colorPalettes/sequential/purple.js +5 -0
  237. package/esm/colorPalettes/sequential/red.d.ts +4 -0
  238. package/esm/colorPalettes/sequential/red.js +5 -0
  239. package/esm/colorPalettes/sequential/strawberrySky.d.ts +4 -0
  240. package/esm/colorPalettes/sequential/strawberrySky.js +3 -0
  241. package/esm/colorPalettes/sequential/yellow.d.ts +4 -0
  242. package/esm/colorPalettes/sequential/yellow.js +5 -0
  243. package/esm/colorPalettes/types.d.ts +4 -0
  244. package/esm/colorPalettes/types.js +1 -0
  245. package/esm/context/ChartProvider/ChartContext.d.ts +1 -1
  246. package/esm/context/ChartProvider/ChartProvider.d.ts +1 -1
  247. package/esm/context/ChartProvider/ChartProvider.types.d.ts +6 -6
  248. package/esm/context/ChartProvider/useChartContext.js +1 -1
  249. package/esm/context/index.d.ts +1 -1
  250. package/esm/hooks/animation/useAnimateArea.d.ts +1 -1
  251. package/esm/hooks/animation/useAnimateBar.d.ts +1 -1
  252. package/esm/hooks/animation/useAnimateBarLabel.d.ts +1 -1
  253. package/esm/hooks/animation/useAnimateLine.d.ts +1 -1
  254. package/esm/hooks/animation/useAnimatePieArc.d.ts +1 -1
  255. package/esm/hooks/animation/useAnimatePieArcLabel.d.ts +11 -2
  256. package/esm/hooks/animation/useAnimatePieArcLabel.js +4 -4
  257. package/esm/hooks/useAxis.d.ts +6 -6
  258. package/esm/hooks/useChartsLocalization.d.ts +1 -1
  259. package/esm/hooks/useChartsLocalization.js +1 -1
  260. package/esm/hooks/useItemHighlightedGetter.d.ts +2 -2
  261. package/esm/hooks/useLegend.d.ts +1 -1
  262. package/esm/hooks/useSeries.d.ts +1 -1
  263. package/esm/hooks/useSvgRef.js +1 -1
  264. package/esm/hooks/useZAxis.d.ts +3 -3
  265. package/esm/index.d.ts +2 -1
  266. package/esm/index.js +3 -2
  267. package/esm/internals/constants.d.ts +4 -0
  268. package/esm/internals/constants.js +5 -0
  269. package/esm/internals/createSeriesSelectorOfType.d.ts +1 -1
  270. package/esm/internals/createSeriesSelectorOfType.js +1 -1
  271. package/esm/internals/createSvgIcon.d.ts +3 -0
  272. package/esm/internals/createSvgIcon.js +2 -0
  273. package/esm/internals/defaultizeMargin.d.ts +1 -1
  274. package/esm/internals/geometry.js +1 -1
  275. package/esm/internals/getPercentageValue.js +1 -1
  276. package/esm/internals/index.d.ts +4 -1
  277. package/esm/internals/index.js +4 -1
  278. package/esm/internals/material/index.d.ts +4 -0
  279. package/esm/internals/material/index.js +7 -0
  280. package/esm/internals/plugins/allPlugins.d.ts +1 -1
  281. package/esm/internals/plugins/corePlugins/corePlugins.d.ts +6 -4
  282. package/esm/internals/plugins/corePlugins/corePlugins.js +1 -1
  283. package/esm/internals/plugins/corePlugins/index.d.ts +1 -1
  284. package/esm/internals/plugins/corePlugins/useChartAnimation/index.d.ts +1 -1
  285. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
  286. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +3 -3
  287. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
  288. package/esm/internals/plugins/corePlugins/useChartDimensions/index.d.ts +1 -1
  289. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
  290. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +2 -2
  291. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +177 -142
  292. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +1 -1
  293. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
  294. package/esm/internals/plugins/corePlugins/useChartId/index.d.ts +1 -1
  295. package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +2 -2
  296. package/esm/internals/plugins/corePlugins/useChartSeries/index.d.ts +1 -1
  297. package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.js +1 -1
  298. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +20 -20
  299. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +6 -7
  300. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +12 -5
  301. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +22 -10
  302. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +7 -2
  303. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +3 -3
  304. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -1
  305. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +68 -68
  306. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +5 -4
  307. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +1 -1
  308. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +20 -15
  309. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +26 -26
  310. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +1051 -892
  311. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +2 -1
  312. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +5 -5
  313. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +11 -1
  314. package/esm/internals/plugins/featurePlugins/useChartHighlight/index.d.ts +2 -2
  315. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +28 -13
  316. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +77 -77
  317. package/esm/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +1 -1
  318. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +68 -68
  319. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +1 -1
  320. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.js +1 -1
  321. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js +1 -1
  322. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/index.d.ts +1 -1
  323. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +1 -1
  324. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +512 -512
  325. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +3 -3
  326. package/esm/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +1 -1
  327. package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +2 -2
  328. package/esm/internals/plugins/featurePlugins/useChartZAxis/index.d.ts +1 -1
  329. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +1 -1
  330. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +10 -10
  331. package/esm/internals/plugins/models/chart.d.ts +3 -3
  332. package/esm/internals/plugins/models/helpers.d.ts +1 -2
  333. package/esm/internals/plugins/models/plugin.d.ts +2 -32
  334. package/esm/internals/plugins/models/seriesConfig/cartesianExtremumGetter.types.d.ts +3 -3
  335. package/esm/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +5 -5
  336. package/esm/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.d.ts +2 -2
  337. package/esm/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +3 -3
  338. package/esm/internals/plugins/models/seriesConfig/polarExtremumGetter.types.d.ts +3 -3
  339. package/esm/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +6 -6
  340. package/esm/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +3 -3
  341. package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +4 -4
  342. package/esm/internals/plugins/utils/ChartStore.d.ts +2 -2
  343. package/esm/internals/stackSeries.d.ts +1 -1
  344. package/esm/internals/store/useCharts.d.ts +2 -2
  345. package/esm/internals/store/useCharts.js +11 -12
  346. package/esm/internals/store/useStore.js +1 -1
  347. package/esm/locales/enUS.d.ts +2 -0
  348. package/esm/locales/enUS.js +3 -1
  349. package/esm/locales/frFR.d.ts +2 -0
  350. package/esm/locales/frFR.js +2 -0
  351. package/esm/locales/index.d.ts +1 -1
  352. package/esm/locales/utils/chartsLocaleTextApi.d.ts +8 -0
  353. package/esm/locales/utils/getChartsLocalization.d.ts +2 -0
  354. package/esm/models/axis.d.ts +22 -3
  355. package/esm/models/axis.js +12 -0
  356. package/esm/models/index.d.ts +4 -3
  357. package/esm/models/seriesType/bar.d.ts +1 -1
  358. package/esm/models/seriesType/common.d.ts +2 -2
  359. package/esm/models/seriesType/line.d.ts +1 -1
  360. package/esm/models/seriesType/pie.d.ts +1 -1
  361. package/esm/models/slots/chartsBaseSlotProps.d.ts +13 -0
  362. package/esm/models/slots/chartsBaseSlotProps.js +1 -0
  363. package/esm/models/slots/chartsBaseSlots.d.ts +5 -0
  364. package/esm/models/slots/chartsBaseSlots.js +1 -0
  365. package/esm/models/slots/chartsIconSlots.d.ts +1 -0
  366. package/esm/models/slots/chartsIconSlots.js +1 -0
  367. package/esm/models/slots/index.d.ts +3 -0
  368. package/esm/models/slots/index.js +3 -0
  369. package/esm/themeAugmentation/components.js +1 -0
  370. package/esm/themeAugmentation/index.d.ts +3 -3
  371. package/esm/themeAugmentation/overrides.d.ts +3 -12
  372. package/esm/themeAugmentation/overrides.js +2 -0
  373. package/esm/themeAugmentation/props.d.ts +0 -7
  374. package/esm/themeAugmentation/props.js +2 -0
  375. package/hooks/animation/useAnimateArea.d.ts +1 -1
  376. package/hooks/animation/useAnimateBar.d.ts +1 -1
  377. package/hooks/animation/useAnimateBarLabel.d.ts +1 -1
  378. package/hooks/animation/useAnimateLine.d.ts +1 -1
  379. package/hooks/animation/useAnimatePieArc.d.ts +1 -1
  380. package/hooks/animation/useAnimatePieArcLabel.d.ts +11 -2
  381. package/hooks/animation/useAnimatePieArcLabel.js +4 -4
  382. package/hooks/useAxis.d.ts +6 -6
  383. package/hooks/useChartsLocalization.d.ts +1 -1
  384. package/hooks/useChartsLocalization.js +1 -1
  385. package/hooks/useItemHighlightedGetter.d.ts +2 -2
  386. package/hooks/useLegend.d.ts +1 -1
  387. package/hooks/useSeries.d.ts +1 -1
  388. package/hooks/useSvgRef.js +1 -1
  389. package/hooks/useZAxis.d.ts +3 -3
  390. package/index.d.ts +2 -1
  391. package/index.js +12 -1
  392. package/internals/constants.d.ts +4 -0
  393. package/internals/constants.js +11 -0
  394. package/internals/createSeriesSelectorOfType.d.ts +1 -1
  395. package/internals/createSeriesSelectorOfType.js +1 -1
  396. package/internals/createSvgIcon.d.ts +3 -0
  397. package/internals/createSvgIcon.js +8 -0
  398. package/internals/defaultizeMargin.d.ts +1 -1
  399. package/internals/geometry.js +1 -1
  400. package/internals/getPercentageValue.js +1 -1
  401. package/internals/index.d.ts +4 -1
  402. package/internals/index.js +36 -0
  403. package/internals/material/index.d.ts +4 -0
  404. package/internals/material/index.js +14 -0
  405. package/internals/plugins/allPlugins.d.ts +1 -1
  406. package/internals/plugins/corePlugins/corePlugins.d.ts +6 -4
  407. package/internals/plugins/corePlugins/corePlugins.js +1 -1
  408. package/internals/plugins/corePlugins/index.d.ts +1 -1
  409. package/internals/plugins/corePlugins/useChartAnimation/index.d.ts +1 -1
  410. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
  411. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +3 -3
  412. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
  413. package/internals/plugins/corePlugins/useChartDimensions/index.d.ts +1 -1
  414. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
  415. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +2 -2
  416. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +177 -142
  417. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +2 -2
  418. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
  419. package/internals/plugins/corePlugins/useChartId/index.d.ts +1 -1
  420. package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +2 -2
  421. package/internals/plugins/corePlugins/useChartSeries/index.d.ts +1 -1
  422. package/internals/plugins/corePlugins/useChartSeries/processSeries.js +1 -1
  423. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +20 -20
  424. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +6 -7
  425. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +12 -5
  426. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +27 -15
  427. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +7 -2
  428. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +3 -3
  429. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -1
  430. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +68 -68
  431. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +5 -4
  432. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +1 -1
  433. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +20 -15
  434. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +26 -26
  435. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +1051 -892
  436. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +3 -2
  437. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +5 -5
  438. package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +11 -1
  439. package/internals/plugins/featurePlugins/useChartHighlight/index.d.ts +2 -2
  440. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +28 -13
  441. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +77 -77
  442. package/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +1 -1
  443. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +68 -68
  444. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +1 -1
  445. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.js +1 -1
  446. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js +1 -1
  447. package/internals/plugins/featurePlugins/useChartPolarAxis/index.d.ts +1 -1
  448. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +1 -1
  449. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +512 -512
  450. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +3 -3
  451. package/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +1 -1
  452. package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +2 -2
  453. package/internals/plugins/featurePlugins/useChartZAxis/index.d.ts +1 -1
  454. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +1 -1
  455. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +10 -10
  456. package/internals/plugins/models/chart.d.ts +3 -3
  457. package/internals/plugins/models/helpers.d.ts +1 -2
  458. package/internals/plugins/models/plugin.d.ts +2 -32
  459. package/internals/plugins/models/seriesConfig/cartesianExtremumGetter.types.d.ts +3 -3
  460. package/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +5 -5
  461. package/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.d.ts +2 -2
  462. package/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +3 -3
  463. package/internals/plugins/models/seriesConfig/polarExtremumGetter.types.d.ts +3 -3
  464. package/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +6 -6
  465. package/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +3 -3
  466. package/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +4 -4
  467. package/internals/plugins/utils/ChartStore.d.ts +2 -2
  468. package/internals/stackSeries.d.ts +1 -1
  469. package/internals/store/useCharts.d.ts +2 -2
  470. package/internals/store/useCharts.js +11 -12
  471. package/internals/store/useStore.js +1 -1
  472. package/locales/enUS.d.ts +2 -0
  473. package/locales/enUS.js +3 -1
  474. package/locales/frFR.d.ts +2 -0
  475. package/locales/frFR.js +2 -0
  476. package/locales/index.d.ts +1 -1
  477. package/locales/utils/chartsLocaleTextApi.d.ts +8 -0
  478. package/locales/utils/getChartsLocalization.d.ts +2 -0
  479. package/models/axis.d.ts +22 -3
  480. package/models/axis.js +12 -0
  481. package/models/index.d.ts +4 -3
  482. package/models/seriesType/bar.d.ts +1 -1
  483. package/models/seriesType/common.d.ts +2 -2
  484. package/models/seriesType/line.d.ts +1 -1
  485. package/models/seriesType/pie.d.ts +1 -1
  486. package/models/slots/chartsBaseSlotProps.d.ts +13 -0
  487. package/models/slots/chartsBaseSlotProps.js +5 -0
  488. package/models/slots/chartsBaseSlots.d.ts +5 -0
  489. package/models/slots/chartsBaseSlots.js +5 -0
  490. package/models/slots/chartsIconSlots.d.ts +1 -0
  491. package/models/slots/chartsIconSlots.js +5 -0
  492. package/models/slots/index.d.ts +3 -0
  493. package/models/slots/index.js +38 -0
  494. package/package.json +5 -5
  495. package/themeAugmentation/components.js +5 -0
  496. package/themeAugmentation/index.d.ts +3 -3
  497. package/themeAugmentation/overrides.d.ts +3 -12
  498. package/themeAugmentation/overrides.js +5 -0
  499. package/themeAugmentation/props.d.ts +0 -7
  500. package/themeAugmentation/props.js +5 -0
  501. package/colorPalettes/colorPalettes.d.ts +0 -16
  502. package/colorPalettes/colorPalettes.js +0 -22
  503. package/esm/colorPalettes/colorPalettes.d.ts +0 -16
  504. package/esm/colorPalettes/colorPalettes.js +0 -12
  505. package/esm/internals/store/useChartModels.d.ts +0 -7
  506. package/esm/internals/store/useChartModels.js +0 -64
  507. package/internals/store/useChartModels.d.ts +0 -7
  508. package/internals/store/useChartModels.js +0 -73
@@ -52,5 +52,5 @@ export interface ContinuousColorLegendProps extends ColorLegendSelector, AppendK
52
52
  className?: string;
53
53
  sx?: SxProps<Theme>;
54
54
  }
55
- declare const ContinuousColorLegend: React.ForwardRefExoticComponent<ContinuousColorLegendProps & import("./chartsLegend.types").ChartsLegendSlotExtension & React.RefAttributes<{}>>;
55
+ declare const ContinuousColorLegend: React.ForwardRefExoticComponent<ContinuousColorLegendProps & import("./chartsLegend.types.js").ChartsLegendSlotExtension & React.RefAttributes<{}>>;
56
56
  export { ContinuousColorLegend };
@@ -38,5 +38,5 @@ export interface PiecewiseColorLegendProps extends ColorLegendSelector, PrependK
38
38
  className?: string;
39
39
  sx?: SxProps<Theme>;
40
40
  }
41
- declare const PiecewiseColorLegend: React.ForwardRefExoticComponent<PiecewiseColorLegendProps & import("./chartsLegend.types").ChartsLegendSlotExtension & React.RefAttributes<{}>>;
41
+ declare const PiecewiseColorLegend: React.ForwardRefExoticComponent<PiecewiseColorLegendProps & import("./chartsLegend.types.js").ChartsLegendSlotExtension & React.RefAttributes<{}>>;
42
42
  export { PiecewiseColorLegend };
@@ -1,4 +1,4 @@
1
- import type { ChartsLegendProps } from './ChartsLegend';
1
+ import type { ChartsLegendProps } from "./ChartsLegend.js";
2
2
  import { ContinuousColorLegendProps } from "./ContinuousColorLegend.js";
3
3
  import { ChartsLegendPosition } from "./legend.types.js";
4
4
  import { PiecewiseColorLegendProps } from "./PiecewiseColorLegend.js";
@@ -1,5 +1,5 @@
1
- import type { ChartsLegendProps } from './ChartsLegend';
2
- import type { ChartsLegendSlotExtension } from './chartsLegend.types';
1
+ import type { ChartsLegendProps } from "./ChartsLegend.js";
2
+ import type { ChartsLegendSlotExtension } from "./chartsLegend.types.js";
3
3
  export interface ChartsLegendClasses {
4
4
  /** Styles applied to the root element. */
5
5
  root: string;
@@ -1,5 +1,5 @@
1
- import type { ContinuousColorLegendProps } from './ContinuousColorLegend';
2
- import type { ChartsLegendSlotExtension } from './chartsLegend.types';
1
+ import type { ContinuousColorLegendProps } from "./ContinuousColorLegend.js";
2
+ import type { ChartsLegendSlotExtension } from "./chartsLegend.types.js";
3
3
  export interface ContinuousColorLegendClasses {
4
4
  /** Styles applied to the root element. */
5
5
  root: string;
@@ -3,14 +3,14 @@ export * from "./chartsLegend.types.js";
3
3
  export * from "./direction.js";
4
4
  export * from "./legendContext.types.js";
5
5
  export { legendClasses } from "./chartsLegendClasses.js";
6
- export type { ChartsLegendClasses } from './chartsLegendClasses';
6
+ export type { ChartsLegendClasses } from "./chartsLegendClasses.js";
7
7
  export * from "./ContinuousColorLegend.js";
8
8
  export * from "./colorLegend.types.js";
9
9
  export { continuousColorLegendClasses } from "./continuousColorLegendClasses.js";
10
- export type { ContinuousColorLegendClasses } from './continuousColorLegendClasses';
10
+ export type { ContinuousColorLegendClasses } from "./continuousColorLegendClasses.js";
11
11
  export * from "./PiecewiseColorLegend.js";
12
12
  export { piecewiseColorLegendClasses } from "./piecewiseColorLegendClasses.js";
13
- export type { PiecewiseColorLegendClasses } from './piecewiseColorLegendClasses';
13
+ export type { PiecewiseColorLegendClasses } from "./piecewiseColorLegendClasses.js";
14
14
  export { piecewiseColorDefaultLabelFormatter } from "./piecewiseColorDefaultLabelFormatter.js";
15
- export type { PiecewiseLabelFormatterParams } from './piecewiseColorLegend.types';
15
+ export type { PiecewiseLabelFormatterParams } from "./piecewiseColorLegend.types.js";
16
16
  export * from "./legend.types.js";
@@ -1,5 +1,5 @@
1
- import type { PiecewiseColorLegendProps } from './PiecewiseColorLegend';
2
- import type { ChartsLegendSlotExtension } from './chartsLegend.types';
1
+ import type { PiecewiseColorLegendProps } from "./PiecewiseColorLegend.js";
2
+ import type { ChartsLegendSlotExtension } from "./chartsLegend.types.js";
3
3
  export interface PiecewiseColorLegendClasses {
4
4
  /** Styles applied to the root element. */
5
5
  root: string;
@@ -1,4 +1,4 @@
1
- import { AxisDefaultized } from "../models/axis.js";
1
+ import { ComputedAxis } from "../models/axis.js";
2
2
  import { ZAxisDefaultized } from "../models/z-axis.js";
3
3
  import { ColorLegendSelector } from "./colorLegend.types.js";
4
4
  /**
@@ -7,4 +7,4 @@ import { ColorLegendSelector } from "./colorLegend.types.js";
7
7
  export declare function useAxis({
8
8
  axisDirection,
9
9
  axisId
10
- }: ColorLegendSelector): ZAxisDefaultized | AxisDefaultized;
10
+ }: ColorLegendSelector): ZAxisDefaultized | ComputedAxis;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { ChartsLocaleText } from '../locales/utils/chartsLocaleTextApi';
2
+ import type { ChartsLocaleText } from "../locales/utils/chartsLocaleTextApi.js";
3
3
  export interface ChartsLocalizationContextValue {
4
4
  localeText: ChartsLocaleText;
5
5
  }
@@ -1,2 +1,2 @@
1
1
  export { ChartsLocalizationProvider } from "./ChartsLocalizationProvider.js";
2
- export type { ChartsLocalizationProviderProps } from './ChartsLocalizationProvider';
2
+ export type { ChartsLocalizationProviderProps } from "./ChartsLocalizationProvider.js";
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import type { CommonOverlayProps } from './ChartsOverlay';
2
+ import type { CommonOverlayProps } from "./ChartsOverlay.js";
3
3
  export declare function ChartsLoadingOverlay(props: CommonOverlayProps): React.JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import type { CommonOverlayProps } from './ChartsOverlay';
2
+ import type { CommonOverlayProps } from "./ChartsOverlay.js";
3
3
  export declare function ChartsNoDataOverlay(props: CommonOverlayProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export { ChartsOverlay } from "./ChartsOverlay.js";
2
- export type { ChartsOverlayProps, ChartsOverlaySlotProps, ChartsOverlaySlots } from './ChartsOverlay';
2
+ export type { ChartsOverlayProps, ChartsOverlaySlotProps, ChartsOverlaySlots } from "./ChartsOverlay.js";
3
3
  export { ChartsLoadingOverlay } from "./ChartsLoadingOverlay.js";
4
4
  export { ChartsNoDataOverlay } from "./ChartsNoDataOverlay.js";
@@ -12,10 +12,10 @@ function ChartsReferenceLine(props) {
12
12
  y
13
13
  } = props;
14
14
  if (x !== undefined && y !== undefined) {
15
- throw new Error('MUI X: The ChartsReferenceLine cannot have both `x` and `y` props set.');
15
+ throw new Error('MUI X Charts: The ChartsReferenceLine cannot have both `x` and `y` props set.');
16
16
  }
17
17
  if (x === undefined && y === undefined) {
18
- throw new Error('MUI X: The ChartsReferenceLine should have a value in `x` or `y` prop.');
18
+ throw new Error('MUI X Charts: The ChartsReferenceLine should have a value in `x` or `y` prop.');
19
19
  }
20
20
  if (x !== undefined) {
21
21
  return /*#__PURE__*/_jsx(ChartsXReferenceLine, _extends({}, props));
@@ -68,7 +68,7 @@ function ChartsXReferenceLine(props) {
68
68
  const xPosition = xAxisScale(x);
69
69
  if (xPosition === undefined) {
70
70
  if (process.env.NODE_ENV !== 'production') {
71
- warnOnce(`MUI X: the value ${x} does not exist in the data of x axis with id ${axisId}.`, 'error');
71
+ warnOnce(`MUI X Charts: the value ${x} does not exist in the data of x axis with id ${axisId}.`, 'error');
72
72
  }
73
73
  return null;
74
74
  }
@@ -68,7 +68,7 @@ function ChartsYReferenceLine(props) {
68
68
  const yPosition = yAxisScale(y);
69
69
  if (yPosition === undefined) {
70
70
  if (process.env.NODE_ENV !== 'production') {
71
- warnOnce(`MUI X: the value ${y} does not exist in the data of y axis with id ${axisId}.`, 'error');
71
+ warnOnce(`MUI X Charts: the value ${y} does not exist in the data of y axis with id ${axisId}.`, 'error');
72
72
  }
73
73
  return null;
74
74
  }
@@ -1,3 +1,3 @@
1
1
  export { ChartsText } from "./ChartsText.js";
2
- export type { ChartsTextProps } from './ChartsText';
3
- export type { ChartsTextStyle } from '../internals/getWordsByLines';
2
+ export type { ChartsTextProps } from "./ChartsText.js";
3
+ export type { ChartsTextStyle } from "../internals/getWordsByLines.js";
@@ -98,6 +98,7 @@ function ChartsTooltipContainer(inProps) {
98
98
  options: {
99
99
  offset: () => {
100
100
  if (pointerType?.pointerType !== 'touch') {
101
+ // The popper offset: [skidding, distance]
101
102
  return [0, 8];
102
103
  }
103
104
  return [0, 64];
@@ -1,12 +1,12 @@
1
1
  export * from "./ChartsTooltip.js";
2
2
  export * from "./ChartsTooltipContainer.js";
3
- export type { ChartsTooltipClasses, ChartsTooltipClassKey } from './chartsTooltipClasses';
3
+ export type { ChartsTooltipClasses, ChartsTooltipClassKey } from "./chartsTooltipClasses.js";
4
4
  export { getChartsTooltipUtilityClass, chartsTooltipClasses } from "./chartsTooltipClasses.js";
5
5
  export * from "./ChartsAxisTooltipContent.js";
6
6
  export * from "./ChartsItemTooltipContent.js";
7
7
  export * from "./ChartsTooltipTable.js";
8
- export type { ItemTooltip } from '../internals/plugins/models/seriesConfig/tooltipGetter.types';
9
- export type { UseItemTooltipReturnValue, UseRadarItemTooltipReturnValue } from './useItemTooltip';
8
+ export type { ItemTooltip } from "../internals/plugins/models/seriesConfig/tooltipGetter.types.js";
9
+ export type { UseItemTooltipReturnValue, UseRadarItemTooltipReturnValue } from "./useItemTooltip.js";
10
10
  export { useItemTooltip, useRadarItemTooltip } from "./useItemTooltip.js";
11
11
  export * from "./useAxisTooltip.js";
12
12
  export * from "./useAxesTooltip.js";
@@ -1,10 +1,10 @@
1
1
  import { SeriesId } from "../models/seriesType/common.js";
2
2
  import { CartesianChartSeriesType, ChartsSeriesConfig, PolarChartSeriesType } from "../models/seriesType/config.js";
3
- import { AxisDefaultized, PolarAxisDefaultized, AxisId } from "../models/axis.js";
3
+ import { ComputedAxis, PolarAxisDefaultized, AxisId } from "../models/axis.js";
4
4
  import { ChartsLabelMarkProps } from "../ChartsLabel/index.js";
5
5
  export interface UseAxisTooltipReturnValue<SeriesT extends CartesianChartSeriesType | PolarChartSeriesType = CartesianChartSeriesType | PolarChartSeriesType, AxisValueT extends string | number | Date = string | number | Date> {
6
6
  axisDirection: SeriesT extends CartesianChartSeriesType ? 'x' | 'y' : 'rotation' | 'radius';
7
- mainAxis: SeriesT extends CartesianChartSeriesType ? AxisDefaultized : PolarAxisDefaultized;
7
+ mainAxis: SeriesT extends CartesianChartSeriesType ? ComputedAxis : PolarAxisDefaultized;
8
8
  axisId: AxisId;
9
9
  axisValue: AxisValueT;
10
10
  axisFormattedValue: string;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { AreaElementOwnerState } from './AreaElement';
2
+ import type { AreaElementOwnerState } from "./AreaElement.js";
3
3
  export interface AnimatedAreaProps extends React.ComponentPropsWithoutRef<'path'> {
4
4
  ownerState: AreaElementOwnerState;
5
5
  d: string;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { LineElementOwnerState } from './LineElement';
2
+ import type { LineElementOwnerState } from "./LineElement.js";
3
3
  export interface AnimatedLineProps extends React.ComponentPropsWithoutRef<'path'> {
4
4
  ownerState: LineElementOwnerState;
5
5
  d: string;
@@ -3,7 +3,6 @@
3
3
  import * as React from 'react';
4
4
  import { styled } from '@mui/material/styles';
5
5
  import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
6
- import clsx from 'clsx';
7
6
  import { ANIMATION_DURATION_MS, ANIMATION_TIMING_FUNCTION } from "../internals/animation/animation.js";
8
7
  import { cleanId } from "../internals/cleanId.js";
9
8
  import { useChartId, useDrawingArea } from "../hooks/index.js";
@@ -34,7 +33,7 @@ export function AppearingMask(props) {
34
33
  children: [/*#__PURE__*/_jsx("clipPath", {
35
34
  id: clipId,
36
35
  children: /*#__PURE__*/_jsx(AnimatedRect, {
37
- className: clsx(!props.skipAnimation && appearingMaskClasses.animate),
36
+ className: props.skipAnimation ? '' : appearingMaskClasses.animate,
38
37
  x: 0,
39
38
  y: 0,
40
39
  width: drawingArea.left + drawingArea.width + drawingArea.right,
@@ -71,10 +71,10 @@ const useAggregatedData = () => {
71
71
  const gradientId = yAxis[yAxisId].colorScale && getGradientId(yAxisId) || xAxis[xAxisId].colorScale && getGradientId(xAxisId) || undefined;
72
72
  if (process.env.NODE_ENV !== 'production') {
73
73
  if (xData === undefined) {
74
- throw new Error(`MUI X: ${xAxisId === DEFAULT_X_AXIS_KEY ? 'The first `xAxis`' : `The x-axis with id "${xAxisId}"`} should have data property to be able to display a line plot.`);
74
+ throw new Error(`MUI X Charts: ${xAxisId === DEFAULT_X_AXIS_KEY ? 'The first `xAxis`' : `The x-axis with id "${xAxisId}"`} should have data property to be able to display a line plot.`);
75
75
  }
76
76
  if (xData.length < stackedData.length) {
77
- throw new Error(`MUI X: The data length of the x axis (${xData.length} items) is lower than the length of series (${stackedData.length} items).`);
77
+ throw new Error(`MUI X Charts: The data length of the x axis (${xData.length} items) is lower than the length of series (${stackedData.length} items).`);
78
78
  }
79
79
  }
80
80
  const shouldExpand = curve?.includes('step') && !strictStepCurve && isBandScale(xScale);
@@ -10,6 +10,16 @@ export type CircleMarkElementProps = Omit<MarkElementOwnerState, 'isFaded' | 'is
10
10
  * The index to the element in the series' data array.
11
11
  */
12
12
  dataIndex: number;
13
+ /**
14
+ * If `true`, the marker is faded.
15
+ * @default false
16
+ */
17
+ isFaded?: boolean;
18
+ /**
19
+ * If `true`, the marker is highlighted.
20
+ * @default false
21
+ */
22
+ isHighlighted?: boolean;
13
23
  };
14
24
  /**
15
25
  * The line mark element that only render circle for performance improvement.
@@ -2,17 +2,13 @@
2
2
 
3
3
  import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
- const _excluded = ["x", "y", "id", "classes", "color", "dataIndex", "onClick", "skipAnimation"];
5
+ const _excluded = ["x", "y", "id", "classes", "color", "dataIndex", "onClick", "skipAnimation", "isFaded", "isHighlighted"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import { styled, useTheme } from '@mui/material/styles';
9
9
  import { ANIMATION_DURATION_MS, ANIMATION_TIMING_FUNCTION } from "../internals/animation/animation.js";
10
10
  import { useInteractionItemProps } from "../hooks/useInteractionItemProps.js";
11
- import { useItemHighlighted } from "../hooks/useItemHighlighted.js";
12
11
  import { markElementClasses, useUtilityClasses } from "./markElementClasses.js";
13
- import { useSelector } from "../internals/store/useSelector.js";
14
- import { selectorChartsInteractionXAxisIndex } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
15
- import { useStore } from "../internals/store/useStore.js";
16
12
  import { jsx as _jsx } from "react/jsx-runtime";
17
13
  const Circle = styled('circle')({
18
14
  [`&.${markElementClasses.animate}`]: {
@@ -43,7 +39,9 @@ function CircleMarkElement(props) {
43
39
  color,
44
40
  dataIndex,
45
41
  onClick,
46
- skipAnimation
42
+ skipAnimation,
43
+ isFaded = false,
44
+ isHighlighted = false
47
45
  } = props,
48
46
  other = _objectWithoutPropertiesLoose(props, _excluded);
49
47
  const theme = useTheme();
@@ -52,18 +50,10 @@ function CircleMarkElement(props) {
52
50
  seriesId: id,
53
51
  dataIndex
54
52
  });
55
- const {
56
- isFaded,
57
- isHighlighted
58
- } = useItemHighlighted({
59
- seriesId: id
60
- });
61
- const store = useStore();
62
- const xAxisInteractionIndex = useSelector(store, selectorChartsInteractionXAxisIndex);
63
53
  const ownerState = {
64
54
  id,
65
55
  classes: innerClasses,
66
- isHighlighted: xAxisInteractionIndex === dataIndex || isHighlighted,
56
+ isHighlighted,
67
57
  isFaded,
68
58
  color,
69
59
  skipAnimation
@@ -166,7 +166,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
166
166
  * The function called for onClick events.
167
167
  * The second argument contains information about all line/bar elements at the current mouse position.
168
168
  * @param {MouseEvent} event The mouse event recorded on the `<svg/>` element.
169
- * @param {null | AxisData} data The data about the clicked axis and items associated with it.
169
+ * @param {null | ChartsAxisData} data The data about the clicked axis and items associated with it.
170
170
  */
171
171
  onAxisClick: PropTypes.func,
172
172
  /**
@@ -79,7 +79,7 @@ function LineHighlightPlot(props) {
79
79
  const yScale = yAxis[yAxisId].scale;
80
80
  const xData = xAxis[xAxisId].data;
81
81
  if (xData === undefined) {
82
- throw new Error(`MUI X: ${xAxisId === DEFAULT_X_AXIS_KEY ? 'The first `xAxis`' : `The x-axis with id "${xAxisId}"`} should have data property to be able to display a line plot.`);
82
+ throw new Error(`MUI X Charts: ${xAxisId === DEFAULT_X_AXIS_KEY ? 'The first `xAxis`' : `The x-axis with id "${xAxisId}"`} should have data property to be able to display a line plot.`);
83
83
  }
84
84
  const x = xScale(xData[highlightedIndex]);
85
85
  const y = yScale(stackedData[highlightedIndex][1]); // This should not be undefined since y should not be a band scale
@@ -70,10 +70,10 @@ const useAggregatedData = () => {
70
70
  const gradientId = yAxis[yAxisId].colorScale && getGradientId(yAxisId) || xAxis[xAxisId].colorScale && getGradientId(xAxisId) || undefined;
71
71
  if (process.env.NODE_ENV !== 'production') {
72
72
  if (xData === undefined) {
73
- throw new Error(`MUI X: ${xAxisId === DEFAULT_X_AXIS_KEY ? 'The first `xAxis`' : `The x-axis with id "${xAxisId}"`} should have data property to be able to display a line plot.`);
73
+ throw new Error(`MUI X Charts: ${xAxisId === DEFAULT_X_AXIS_KEY ? 'The first `xAxis`' : `The x-axis with id "${xAxisId}"`} should have data property to be able to display a line plot.`);
74
74
  }
75
75
  if (xData.length < stackedData.length) {
76
- warnOnce(`MUI X: The data length of the x axis (${xData.length} items) is lower than the length of series (${stackedData.length} items).`, 'error');
76
+ warnOnce(`MUI X Charts: The data length of the x axis (${xData.length} items) is lower than the length of series (${stackedData.length} items).`, 'error');
77
77
  }
78
78
  }
79
79
  const shouldExpand = curve?.includes('step') && !strictStepCurve && isBandScale(xScale);
@@ -14,6 +14,16 @@ export type MarkElementProps = Omit<MarkElementOwnerState, 'isFaded' | 'isHighli
14
14
  * The index to the element in the series' data array.
15
15
  */
16
16
  dataIndex: number;
17
+ /**
18
+ * If `true`, the marker is faded.
19
+ * @default false
20
+ */
21
+ isFaded?: boolean;
22
+ /**
23
+ * If `true`, the marker is highlighted.
24
+ * @default false
25
+ */
26
+ isHighlighted?: boolean;
17
27
  };
18
28
  /**
19
29
  * Demos:
@@ -2,7 +2,7 @@
2
2
 
3
3
  import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
- const _excluded = ["x", "y", "id", "classes", "color", "shape", "dataIndex", "onClick", "skipAnimation"];
5
+ const _excluded = ["x", "y", "id", "classes", "color", "shape", "dataIndex", "onClick", "skipAnimation", "isFaded", "isHighlighted"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import { styled } from '@mui/material/styles';
@@ -10,11 +10,7 @@ import { symbol as d3Symbol, symbolsFill as d3SymbolsFill } from '@mui/x-charts-
10
10
  import { ANIMATION_DURATION_MS, ANIMATION_TIMING_FUNCTION } from "../internals/animation/animation.js";
11
11
  import { getSymbol } from "../internals/getSymbol.js";
12
12
  import { useInteractionItemProps } from "../hooks/useInteractionItemProps.js";
13
- import { useItemHighlighted } from "../hooks/useItemHighlighted.js";
14
- import { selectorChartsInteractionXAxisIndex } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
15
13
  import { markElementClasses, useUtilityClasses } from "./markElementClasses.js";
16
- import { useSelector } from "../internals/store/useSelector.js";
17
- import { useStore } from "../internals/store/useStore.js";
18
14
  import { jsx as _jsx } from "react/jsx-runtime";
19
15
  const MarkElementPath = styled('path', {
20
16
  name: 'MuiMarkElement',
@@ -52,7 +48,9 @@ function MarkElement(props) {
52
48
  shape,
53
49
  dataIndex,
54
50
  onClick,
55
- skipAnimation
51
+ skipAnimation,
52
+ isFaded = false,
53
+ isHighlighted = false
56
54
  } = props,
57
55
  other = _objectWithoutPropertiesLoose(props, _excluded);
58
56
  const interactionProps = useInteractionItemProps({
@@ -60,18 +58,10 @@ function MarkElement(props) {
60
58
  seriesId: id,
61
59
  dataIndex
62
60
  });
63
- const {
64
- isFaded,
65
- isHighlighted
66
- } = useItemHighlighted({
67
- seriesId: id
68
- });
69
- const store = useStore();
70
- const xAxisInteractionIndex = useSelector(store, selectorChartsInteractionXAxisIndex);
71
61
  const ownerState = {
72
62
  id,
73
63
  classes: innerClasses,
74
- isHighlighted: xAxisInteractionIndex === dataIndex || isHighlighted,
64
+ isHighlighted,
75
65
  isFaded,
76
66
  color,
77
67
  skipAnimation
@@ -100,6 +90,16 @@ process.env.NODE_ENV !== "production" ? MarkElement.propTypes = {
100
90
  */
101
91
  dataIndex: PropTypes.number.isRequired,
102
92
  id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
93
+ /**
94
+ * If `true`, the marker is faded.
95
+ * @default false
96
+ */
97
+ isFaded: PropTypes.bool,
98
+ /**
99
+ * If `true`, the marker is highlighted.
100
+ * @default false
101
+ */
102
+ isHighlighted: PropTypes.bool,
103
103
  /**
104
104
  * The shape of the marker.
105
105
  */
@@ -5,6 +5,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
5
5
  const _excluded = ["slots", "slotProps", "skipAnimation", "onItemClick"];
6
6
  import PropTypes from 'prop-types';
7
7
  import * as React from 'react';
8
+ import { selectorChartsInteractionXAxisIndex } from "../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js";
8
9
  import { DEFAULT_X_AXIS_KEY } from "../constants/index.js";
9
10
  import { useSkipAnimation } from "../hooks/useSkipAnimation.js";
10
11
  import { useChartId } from "../hooks/useChartId.js";
@@ -15,8 +16,9 @@ import { CircleMarkElement } from "./CircleMarkElement.js";
15
16
  import getColor from "./seriesConfig/getColor.js";
16
17
  import { MarkElement } from "./MarkElement.js";
17
18
  import { useChartContext } from "../context/ChartProvider/index.js";
18
- import { useXAxes, useYAxes } from "../hooks/index.js";
19
+ import { useItemHighlightedGetter, useXAxes, useYAxes } from "../hooks/index.js";
19
20
  import { useInternalIsZoomInteracting } from "../internals/plugins/featurePlugins/useChartCartesianAxis/useInternalIsZoomInteracting.js";
21
+ import { useSelector } from "../internals/store/useSelector.js";
20
22
  import { jsx as _jsx } from "react/jsx-runtime";
21
23
  /**
22
24
  * Demos:
@@ -49,8 +51,14 @@ function MarkPlot(props) {
49
51
  } = useYAxes();
50
52
  const chartId = useChartId();
51
53
  const {
52
- instance
54
+ instance,
55
+ store
53
56
  } = useChartContext();
57
+ const {
58
+ isFaded,
59
+ isHighlighted
60
+ } = useItemHighlightedGetter();
61
+ const xAxisInteractionIndex = useSelector(store, selectorChartsInteractionXAxisIndex);
54
62
  if (seriesData === undefined) {
55
63
  return null;
56
64
  }
@@ -80,12 +88,18 @@ function MarkPlot(props) {
80
88
  const yScale = yAxis[yAxisId].scale;
81
89
  const xData = xAxis[xAxisId].data;
82
90
  if (xData === undefined) {
83
- throw new Error(`MUI X: ${xAxisId === DEFAULT_X_AXIS_KEY ? 'The first `xAxis`' : `The x-axis with id "${xAxisId}"`} should have data property to be able to display a line plot.`);
91
+ throw new Error(`MUI X Charts: ${xAxisId === DEFAULT_X_AXIS_KEY ? 'The first `xAxis`' : `The x-axis with id "${xAxisId}"`} should have data property to be able to display a line plot.`);
84
92
  }
85
93
  const clipId = cleanId(`${chartId}-${seriesId}-line-clip`); // We assume that if displaying line mark, the line will also be rendered
86
94
 
87
95
  const colorGetter = getColor(series[seriesId], xAxis[xAxisId], yAxis[yAxisId]);
88
96
  const Mark = slots?.mark ?? (shape === 'circle' ? CircleMarkElement : MarkElement);
97
+ const isSeriesHighlighted = isHighlighted({
98
+ seriesId
99
+ });
100
+ const isSeriesFaded = !isSeriesHighlighted && isFaded({
101
+ seriesId
102
+ });
89
103
  return /*#__PURE__*/_jsx("g", {
90
104
  clipPath: `url(#${clipId})`,
91
105
  children: xData?.map((x, index) => {
@@ -143,7 +157,9 @@ function MarkPlot(props) {
143
157
  type: 'line',
144
158
  seriesId,
145
159
  dataIndex: index
146
- }))
160
+ })),
161
+ isHighlighted: xAxisInteractionIndex === index || isSeriesHighlighted,
162
+ isFaded: isSeriesFaded
147
163
  }, slotProps?.mark), `${seriesId}-${index}`);
148
164
  })
149
165
  }, seriesId);
@@ -9,5 +9,5 @@ export * from "./LineElement.js";
9
9
  export * from "./AnimatedLine.js";
10
10
  export * from "./MarkElement.js";
11
11
  export * from "./LineHighlightElement.js";
12
- export type { MarkElementClasses, MarkElementClassKey } from './markElementClasses';
12
+ export type { MarkElementClasses, MarkElementClassKey } from "./markElementClasses.js";
13
13
  export { getMarkElementUtilityClass, markElementClasses } from "./markElementClasses.js";
@@ -1,3 +1,3 @@
1
- import type { GetSeriesWithDefaultValues } from '../../internals/plugins/models/seriesConfig';
1
+ import type { GetSeriesWithDefaultValues } from "../../internals/plugins/models/seriesConfig/index.js";
2
2
  declare const getSeriesWithDefaultValues: GetSeriesWithDefaultValues<'line'>;
3
3
  export default getSeriesWithDefaultValues;
@@ -30,7 +30,7 @@ const seriesProcessor = (params, dataset) => {
30
30
  }
31
31
  });
32
32
  } else if (dataset === undefined && process.env.NODE_ENV !== 'production') {
33
- throw new Error([`MUI X: line series with id='${id}' has no data.`, 'Either provide a data property to the series or use the dataset prop.'].join('\n'));
33
+ throw new Error([`MUI X Charts: line series with id='${id}' has no data.`, 'Either provide a data property to the series or use the dataset prop.'].join('\n'));
34
34
  }
35
35
  });
36
36
  const completedSeries = {};
@@ -57,7 +57,7 @@ const seriesProcessor = (params, dataset) => {
57
57
  if (typeof value !== 'number') {
58
58
  if (process.env.NODE_ENV !== 'production') {
59
59
  if (value !== null) {
60
- warnOnce([`MUI X: Your dataset key "${dataKey}" is used for plotting line, but contains nonnumerical elements.`, 'Line plots only support numbers and null values.']);
60
+ warnOnce([`MUI X Charts: Your dataset key "${dataKey}" is used for plotting line, but contains nonnumerical elements.`, 'Line plots only support numbers and null values.']);
61
61
  }
62
62
  }
63
63
  return null;
@@ -1,4 +1,4 @@
1
- import type { AxisTooltipGetter, TooltipGetter } from '../../internals/plugins/models';
1
+ import type { AxisTooltipGetter, TooltipGetter } from "../../internals/plugins/models/index.js";
2
2
  declare const tooltipGetter: TooltipGetter<'line'>;
3
3
  export declare const axisTooltipGetter: AxisTooltipGetter<'line', 'x' | 'y'>;
4
4
  export default tooltipGetter;
@@ -7,11 +7,11 @@ import { ChartsLegendSlotExtension } from "../ChartsLegend/index.js";
7
7
  import { ChartsOverlayProps } from "../ChartsOverlay/index.js";
8
8
  import { ChartContainerProps } from "../ChartContainer/index.js";
9
9
  import { AreaPlotProps } from "./AreaPlot.js";
10
- import type { LineChartProps } from './LineChart';
10
+ import type { LineChartProps } from "./LineChart.js";
11
11
  import { LineHighlightPlotProps } from "./LineHighlightPlot.js";
12
12
  import { LinePlotProps } from "./LinePlot.js";
13
13
  import { MarkPlotProps } from "./MarkPlot.js";
14
- import type { ChartsWrapperProps } from '../internals/components/ChartsWrapper';
14
+ import type { ChartsWrapperProps } from "../internals/components/ChartsWrapper/index.js";
15
15
  import { LineChartPluginsSignatures } from "./LineChart.plugins.js";
16
16
  /**
17
17
  * A helper function that extracts LineChartProps from the input props
@@ -59,8 +59,7 @@ const PieArcLabel = /*#__PURE__*/React.forwardRef(function PieArcLabel(props, re
59
59
  startAngle,
60
60
  endAngle,
61
61
  paddingAngle,
62
- innerRadius,
63
- outerRadius,
62
+ arcLabelRadius,
64
63
  cornerRadius,
65
64
  formattedArcLabel,
66
65
  isHighlighted,
@@ -81,8 +80,8 @@ const PieArcLabel = /*#__PURE__*/React.forwardRef(function PieArcLabel(props, re
81
80
  cornerRadius,
82
81
  startAngle,
83
82
  endAngle,
84
- innerRadius,
85
- outerRadius,
83
+ innerRadius: arcLabelRadius,
84
+ outerRadius: arcLabelRadius,
86
85
  paddingAngle,
87
86
  skipAnimation,
88
87
  ref
@@ -1,3 +1,3 @@
1
- import type { GetSeriesWithDefaultValues } from '../../internals/plugins/models/seriesConfig';
1
+ import type { GetSeriesWithDefaultValues } from "../../internals/plugins/models/seriesConfig/index.js";
2
2
  declare const getSeriesWithDefaultValues: GetSeriesWithDefaultValues<'pie'>;
3
3
  export default getSeriesWithDefaultValues;
@@ -1,3 +1,3 @@
1
- import type { TooltipGetter } from '../../internals/plugins/models';
1
+ import type { TooltipGetter } from "../../internals/plugins/models/index.js";
2
2
  declare const tooltipGetter: TooltipGetter<'pie'>;
3
3
  export default tooltipGetter;
@@ -1,2 +1,2 @@
1
1
  export * from "./RadarGrid.js";
2
- export type { RadarGridProps } from './RadarGrid.types';
2
+ export type { RadarGridProps } from "./RadarGrid.types.js";
@@ -1,6 +1,6 @@
1
1
  export * from "./RadarSeriesPlot.js";
2
- export type * from './RadarSeriesPlot.types';
2
+ export type * from "./RadarSeriesPlot.types.js";
3
3
  export { RadarSeriesArea } from "./RadarSeriesArea.js";
4
4
  export { RadarSeriesMarks } from "./RadarSeriesMarks.js";
5
- export type { RadarSeriesPlotClasses, RadarSeriesPlotClassKey } from './radarSeriesPlotClasses';
5
+ export type { RadarSeriesPlotClasses, RadarSeriesPlotClassKey } from "./radarSeriesPlotClasses.js";
6
6
  export { radarSeriesPlotClasses } from "./radarSeriesPlotClasses.js";