@mui/x-charts 9.0.0-alpha.2 → 9.0.0-alpha.4

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 (684) hide show
  1. package/BarChart/AnimatedBarElement.d.mts +1 -1
  2. package/BarChart/AnimatedBarElement.d.ts +1 -1
  3. package/BarChart/BarChart.d.mts +2 -2
  4. package/BarChart/BarChart.d.ts +2 -2
  5. package/BarChart/BarChart.js +41 -8
  6. package/BarChart/BarChart.mjs +41 -8
  7. package/BarChart/BarElement.d.mts +1 -1
  8. package/BarChart/BarElement.d.ts +1 -1
  9. package/BarChart/BarElement.js +7 -8
  10. package/BarChart/BarElement.mjs +6 -7
  11. package/BarChart/BarLabel/BarLabel.js +1 -7
  12. package/BarChart/BarLabel/BarLabel.mjs +1 -7
  13. package/BarChart/BarLabel/BarLabel.types.d.mts +2 -2
  14. package/BarChart/BarLabel/BarLabel.types.d.ts +2 -2
  15. package/BarChart/BarLabel/BarLabelItem.js +7 -8
  16. package/BarChart/BarLabel/BarLabelItem.mjs +6 -7
  17. package/BarChart/BarLabel/index.d.mts +1 -3
  18. package/BarChart/BarLabel/index.d.ts +1 -3
  19. package/BarChart/BarLabel/index.js +1 -14
  20. package/BarChart/BarLabel/index.mjs +1 -2
  21. package/BarChart/BarPlot.d.mts +4 -0
  22. package/BarChart/BarPlot.d.ts +4 -0
  23. package/BarChart/BarPlot.js +9 -4
  24. package/BarChart/BarPlot.mjs +10 -5
  25. package/BarChart/BatchBarPlot/BatchBarPlot.js +3 -3
  26. package/BarChart/BatchBarPlot/BatchBarPlot.mjs +3 -3
  27. package/BarChart/barClasses.d.mts +21 -1
  28. package/BarChart/barClasses.d.ts +21 -1
  29. package/BarChart/barClasses.js +9 -3
  30. package/BarChart/barClasses.mjs +9 -3
  31. package/BarChart/index.d.mts +1 -2
  32. package/BarChart/index.d.ts +1 -2
  33. package/BarChart/index.js +1 -20
  34. package/BarChart/index.mjs +1 -2
  35. package/BarChart/seriesConfig/bar/legend.js +2 -21
  36. package/BarChart/seriesConfig/bar/legend.mjs +2 -21
  37. package/BarChart/useBarChartProps.d.mts +2 -2
  38. package/BarChart/useBarChartProps.d.ts +2 -2
  39. package/BarChart/useBarChartProps.js +2 -2
  40. package/BarChart/useBarChartProps.mjs +2 -2
  41. package/BarChart/useRegisterItemClickHandlers.js +2 -2
  42. package/BarChart/useRegisterItemClickHandlers.mjs +2 -2
  43. package/CHANGELOG.md +246 -1
  44. package/ChartsAxis/index.d.mts +2 -1
  45. package/ChartsAxis/index.d.ts +2 -1
  46. package/ChartsAxis/index.js +11 -11
  47. package/ChartsAxis/index.mjs +1 -1
  48. package/ChartsAxisHighlight/index.d.mts +2 -1
  49. package/ChartsAxisHighlight/index.d.ts +2 -1
  50. package/ChartsAxisHighlight/index.js +12 -10
  51. package/ChartsAxisHighlight/index.mjs +1 -1
  52. package/ChartsBrushOverlay/ChartsBrushOverlay.d.mts +6 -1
  53. package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +6 -1
  54. package/ChartsBrushOverlay/ChartsBrushOverlay.js +12 -9
  55. package/ChartsBrushOverlay/ChartsBrushOverlay.mjs +12 -9
  56. package/ChartsContainer/ChartsContainer.d.mts +1 -1
  57. package/ChartsContainer/ChartsContainer.d.ts +1 -1
  58. package/ChartsContainer/ChartsContainer.js +52 -15
  59. package/ChartsContainer/ChartsContainer.mjs +52 -15
  60. package/ChartsContainer/useChartsContainerProps.d.mts +4 -4
  61. package/ChartsContainer/useChartsContainerProps.d.ts +4 -4
  62. package/ChartsContainer/useChartsContainerProps.js +10 -10
  63. package/ChartsContainer/useChartsContainerProps.mjs +10 -10
  64. package/ChartsDataProvider/ChartsDataProvider.d.mts +2 -2
  65. package/ChartsDataProvider/ChartsDataProvider.d.ts +2 -2
  66. package/ChartsDataProvider/ChartsDataProvider.js +0 -6
  67. package/ChartsDataProvider/ChartsDataProvider.mjs +0 -6
  68. package/ChartsDataProvider/useChartsDataProviderProps.d.mts +2 -2
  69. package/ChartsDataProvider/useChartsDataProviderProps.d.ts +2 -2
  70. package/ChartsDataProvider/useChartsDataProviderProps.js +1 -1
  71. package/ChartsDataProvider/useChartsDataProviderProps.mjs +1 -1
  72. package/ChartsGrid/ChartsGrid.d.mts +4 -0
  73. package/ChartsGrid/ChartsGrid.d.ts +4 -0
  74. package/ChartsGrid/ChartsGrid.js +4 -2
  75. package/ChartsGrid/ChartsGrid.mjs +4 -2
  76. package/ChartsGrid/ChartsHorizontalGrid.js +2 -2
  77. package/ChartsGrid/ChartsHorizontalGrid.mjs +2 -2
  78. package/ChartsGrid/ChartsVerticalGrid.js +2 -2
  79. package/ChartsGrid/ChartsVerticalGrid.mjs +2 -2
  80. package/ChartsGrid/index.d.mts +2 -1
  81. package/ChartsGrid/index.d.ts +2 -1
  82. package/ChartsGrid/index.js +11 -11
  83. package/ChartsGrid/index.mjs +1 -1
  84. package/ChartsLabel/ChartsLabelMark.d.mts +8 -1
  85. package/ChartsLabel/ChartsLabelMark.d.ts +8 -1
  86. package/ChartsLabel/ChartsLabelMark.js +29 -3
  87. package/ChartsLabel/ChartsLabelMark.mjs +29 -3
  88. package/ChartsLabel/labelMarkClasses.d.mts +2 -0
  89. package/ChartsLabel/labelMarkClasses.d.ts +2 -0
  90. package/ChartsLabel/labelMarkClasses.js +1 -1
  91. package/ChartsLabel/labelMarkClasses.mjs +1 -1
  92. package/ChartsLayerContainer/ChartsLayerContainer.d.mts +10 -0
  93. package/ChartsLayerContainer/ChartsLayerContainer.d.ts +10 -0
  94. package/ChartsLayerContainer/ChartsLayerContainer.js +49 -9
  95. package/ChartsLayerContainer/ChartsLayerContainer.mjs +50 -10
  96. package/ChartsLayerContainer/chartsLayerContainerClasses.d.mts +6 -0
  97. package/ChartsLayerContainer/chartsLayerContainerClasses.d.ts +6 -0
  98. package/ChartsLayerContainer/chartsLayerContainerClasses.js +21 -0
  99. package/ChartsLayerContainer/chartsLayerContainerClasses.mjs +13 -0
  100. package/ChartsLegend/ChartsLegend.js +6 -4
  101. package/ChartsLegend/ChartsLegend.mjs +6 -4
  102. package/ChartsLegend/legendContext.types.d.mts +1 -6
  103. package/ChartsLegend/legendContext.types.d.ts +1 -6
  104. package/ChartsLegend/onClickContextBuilder.js +0 -1
  105. package/ChartsLegend/onClickContextBuilder.mjs +0 -1
  106. package/ChartsOverlay/ChartsLoadingOverlay.js +2 -8
  107. package/ChartsOverlay/ChartsLoadingOverlay.mjs +2 -8
  108. package/ChartsOverlay/ChartsNoDataOverlay.js +2 -8
  109. package/ChartsOverlay/ChartsNoDataOverlay.mjs +2 -8
  110. package/ChartsOverlay/ChartsOverlay.d.mts +0 -6
  111. package/ChartsOverlay/ChartsOverlay.d.ts +0 -6
  112. package/ChartsReferenceLine/index.d.mts +2 -1
  113. package/ChartsReferenceLine/index.d.ts +2 -1
  114. package/ChartsReferenceLine/index.js +11 -11
  115. package/ChartsReferenceLine/index.mjs +1 -2
  116. package/ChartsSurface/ChartsSurface.d.mts +2 -3
  117. package/ChartsSurface/ChartsSurface.d.ts +2 -3
  118. package/ChartsSurface/ChartsSurface.js +14 -2
  119. package/ChartsSurface/ChartsSurface.mjs +14 -2
  120. package/ChartsSvgLayer/ChartsSvgLayer.d.mts +0 -4
  121. package/ChartsSvgLayer/ChartsSvgLayer.d.ts +0 -4
  122. package/ChartsSvgLayer/ChartsSvgLayer.js +9 -31
  123. package/ChartsSvgLayer/ChartsSvgLayer.mjs +9 -31
  124. package/ChartsTooltip/ChartsAxisTooltipContent.js +45 -29
  125. package/ChartsTooltip/ChartsAxisTooltipContent.mjs +45 -29
  126. package/ChartsTooltip/ChartsItemTooltipContent.js +80 -40
  127. package/ChartsTooltip/ChartsItemTooltipContent.mjs +79 -40
  128. package/ChartsTooltip/ChartsTooltipContainer.js +10 -4
  129. package/ChartsTooltip/ChartsTooltipContainer.mjs +9 -3
  130. package/ChartsTooltip/ChartsTooltipTable.d.mts +1 -1
  131. package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  132. package/ChartsTooltip/index.d.mts +1 -2
  133. package/ChartsTooltip/index.d.ts +1 -2
  134. package/ChartsTooltip/index.js +1 -16
  135. package/ChartsTooltip/index.mjs +1 -2
  136. package/ChartsTooltip/useAxesTooltip.d.mts +3 -3
  137. package/ChartsTooltip/useAxesTooltip.d.ts +3 -3
  138. package/ChartsTooltip/useAxesTooltip.js +6 -4
  139. package/ChartsTooltip/useAxesTooltip.mjs +6 -4
  140. package/ChartsTooltip/useItemTooltip.d.mts +3 -3
  141. package/ChartsTooltip/useItemTooltip.d.ts +3 -3
  142. package/ChartsTooltip/utils.d.mts +0 -4
  143. package/ChartsTooltip/utils.d.ts +0 -4
  144. package/ChartsTooltip/utils.js +0 -39
  145. package/ChartsTooltip/utils.mjs +0 -38
  146. package/ChartsXAxis/ChartsGroupedXAxisTicks.js +2 -2
  147. package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +2 -2
  148. package/ChartsXAxis/ChartsSingleXAxisTicks.js +2 -2
  149. package/ChartsXAxis/ChartsSingleXAxisTicks.mjs +2 -2
  150. package/ChartsXAxis/ChartsXAxisImpl.js +3 -1
  151. package/ChartsXAxis/ChartsXAxisImpl.mjs +3 -1
  152. package/ChartsXAxis/useAxisTicksProps.d.mts +367 -286
  153. package/ChartsXAxis/useAxisTicksProps.d.ts +367 -286
  154. package/ChartsYAxis/ChartsGroupedYAxisTicks.js +2 -2
  155. package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +2 -2
  156. package/ChartsYAxis/ChartsSingleYAxisTicks.js +2 -2
  157. package/ChartsYAxis/ChartsSingleYAxisTicks.mjs +2 -2
  158. package/ChartsYAxis/ChartsYAxisImpl.js +3 -1
  159. package/ChartsYAxis/ChartsYAxisImpl.mjs +3 -1
  160. package/ChartsYAxis/useAxisTicksProps.d.mts +367 -286
  161. package/ChartsYAxis/useAxisTicksProps.d.ts +367 -286
  162. package/Gauge/Gauge.js +12 -0
  163. package/Gauge/Gauge.mjs +12 -0
  164. package/Gauge/GaugeContainer.d.mts +1 -1
  165. package/Gauge/GaugeContainer.d.ts +1 -1
  166. package/Gauge/GaugeContainer.js +14 -2
  167. package/Gauge/GaugeContainer.mjs +14 -2
  168. package/Gauge/index.d.mts +2 -1
  169. package/Gauge/index.d.ts +2 -1
  170. package/Gauge/index.js +7 -11
  171. package/Gauge/index.mjs +1 -1
  172. package/LineChart/AreaElement.d.mts +2 -23
  173. package/LineChart/AreaElement.d.ts +2 -23
  174. package/LineChart/AreaElement.js +10 -29
  175. package/LineChart/AreaElement.mjs +10 -27
  176. package/LineChart/AreaPlot.js +10 -4
  177. package/LineChart/AreaPlot.mjs +11 -5
  178. package/LineChart/CircleMarkElement.d.mts +1 -1
  179. package/LineChart/CircleMarkElement.d.ts +1 -1
  180. package/LineChart/CircleMarkElement.js +10 -11
  181. package/LineChart/CircleMarkElement.mjs +10 -11
  182. package/LineChart/LineChart.d.mts +2 -2
  183. package/LineChart/LineChart.d.ts +2 -2
  184. package/LineChart/LineChart.js +38 -11
  185. package/LineChart/LineChart.mjs +38 -11
  186. package/LineChart/LineElement.d.mts +2 -23
  187. package/LineChart/LineElement.d.ts +2 -23
  188. package/LineChart/LineElement.js +10 -29
  189. package/LineChart/LineElement.mjs +10 -27
  190. package/LineChart/LineHighlightElement.d.mts +0 -8
  191. package/LineChart/LineHighlightElement.d.ts +0 -8
  192. package/LineChart/LineHighlightElement.js +4 -22
  193. package/LineChart/LineHighlightElement.mjs +4 -20
  194. package/LineChart/LineHighlightPlot.js +2 -2
  195. package/LineChart/LineHighlightPlot.mjs +2 -2
  196. package/LineChart/LinePlot.js +11 -5
  197. package/LineChart/LinePlot.mjs +12 -6
  198. package/LineChart/MarkElement.d.mts +1 -1
  199. package/LineChart/MarkElement.d.ts +1 -1
  200. package/LineChart/MarkElement.js +10 -4
  201. package/LineChart/MarkElement.mjs +10 -4
  202. package/LineChart/MarkPlot.js +21 -11
  203. package/LineChart/MarkPlot.mjs +22 -12
  204. package/LineChart/index.d.mts +2 -2
  205. package/LineChart/index.d.ts +2 -2
  206. package/LineChart/index.js +4 -11
  207. package/LineChart/index.mjs +1 -1
  208. package/LineChart/lineClasses.d.mts +34 -0
  209. package/LineChart/lineClasses.d.ts +34 -0
  210. package/LineChart/lineClasses.js +32 -0
  211. package/LineChart/lineClasses.mjs +23 -0
  212. package/LineChart/seriesConfig/legend.js +1 -0
  213. package/LineChart/seriesConfig/legend.mjs +1 -0
  214. package/LineChart/seriesConfig/seriesProcessor.js +9 -6
  215. package/LineChart/seriesConfig/seriesProcessor.mjs +9 -6
  216. package/LineChart/seriesConfig/tooltip.js +2 -1
  217. package/LineChart/seriesConfig/tooltip.mjs +2 -1
  218. package/LineChart/useLineChartProps.d.mts +2 -2
  219. package/LineChart/useLineChartProps.d.ts +2 -2
  220. package/LineChart/useLineChartProps.js +2 -2
  221. package/LineChart/useLineChartProps.mjs +2 -2
  222. package/LineChart/useMarkPlotData.js +2 -2
  223. package/LineChart/useMarkPlotData.mjs +2 -2
  224. package/PieChart/FocusedPieArc.js +7 -8
  225. package/PieChart/FocusedPieArc.mjs +8 -8
  226. package/PieChart/PieArc.d.mts +1 -35
  227. package/PieChart/PieArc.d.ts +1 -35
  228. package/PieChart/PieArc.js +6 -27
  229. package/PieChart/PieArc.mjs +6 -25
  230. package/PieChart/PieArcLabel.d.mts +3 -30
  231. package/PieChart/PieArcLabel.d.ts +3 -30
  232. package/PieChart/PieArcLabel.js +9 -31
  233. package/PieChart/PieArcLabel.mjs +8 -28
  234. package/PieChart/PieArcLabelPlot.js +6 -3
  235. package/PieChart/PieArcLabelPlot.mjs +6 -3
  236. package/PieChart/PieArcPlot.js +6 -1
  237. package/PieChart/PieArcPlot.mjs +6 -1
  238. package/PieChart/PieChart.d.mts +2 -2
  239. package/PieChart/PieChart.d.ts +2 -2
  240. package/PieChart/PieChart.js +22 -7
  241. package/PieChart/PieChart.mjs +22 -7
  242. package/PieChart/PiePlot.d.mts +1 -0
  243. package/PieChart/PiePlot.d.ts +1 -0
  244. package/PieChart/PiePlot.js +4 -1
  245. package/PieChart/PiePlot.mjs +4 -1
  246. package/PieChart/dataTransform/useTransformData.js +6 -8
  247. package/PieChart/dataTransform/useTransformData.mjs +6 -8
  248. package/PieChart/index.d.mts +1 -1
  249. package/PieChart/index.d.ts +1 -1
  250. package/PieChart/pieClasses.d.mts +22 -1
  251. package/PieChart/pieClasses.d.ts +22 -1
  252. package/PieChart/pieClasses.js +10 -3
  253. package/PieChart/pieClasses.mjs +10 -3
  254. package/PieChart/seriesConfig/legend.js +0 -2
  255. package/PieChart/seriesConfig/legend.mjs +0 -2
  256. package/RadarChart/RadarAxis/RadarAxis.d.mts +6 -2
  257. package/RadarChart/RadarAxis/RadarAxis.d.ts +6 -2
  258. package/RadarChart/RadarAxis/RadarAxis.js +7 -5
  259. package/RadarChart/RadarAxis/RadarAxis.mjs +6 -4
  260. package/RadarChart/RadarAxis/index.d.mts +1 -2
  261. package/RadarChart/RadarAxis/index.d.ts +1 -2
  262. package/RadarChart/RadarAxis/index.js +1 -13
  263. package/RadarChart/RadarAxis/index.mjs +1 -2
  264. package/RadarChart/RadarAxis/useRadarAxis.js +2 -2
  265. package/RadarChart/RadarAxis/useRadarAxis.mjs +2 -2
  266. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.mts +6 -2
  267. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +6 -2
  268. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +9 -14
  269. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.mjs +8 -13
  270. package/RadarChart/RadarAxisHighlight/index.d.mts +1 -2
  271. package/RadarChart/RadarAxisHighlight/index.d.ts +1 -2
  272. package/RadarChart/RadarAxisHighlight/index.mjs +1 -2
  273. package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.js +2 -2
  274. package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.mjs +2 -2
  275. package/RadarChart/RadarChart.js +20 -2
  276. package/RadarChart/RadarChart.mjs +20 -2
  277. package/RadarChart/RadarDataProvider/RadarDataProvider.d.mts +2 -2
  278. package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +2 -2
  279. package/RadarChart/RadarDataProvider/RadarDataProvider.js +2 -2
  280. package/RadarChart/RadarDataProvider/RadarDataProvider.mjs +2 -2
  281. package/RadarChart/RadarGrid/CircularRadarGrid.js +2 -2
  282. package/RadarChart/RadarGrid/CircularRadarGrid.mjs +2 -2
  283. package/RadarChart/RadarGrid/CircularRadarStripes.js +1 -1
  284. package/RadarChart/RadarGrid/CircularRadarStripes.mjs +1 -1
  285. package/RadarChart/RadarGrid/RadarGrid.js +2 -2
  286. package/RadarChart/RadarGrid/RadarGrid.mjs +2 -2
  287. package/RadarChart/RadarGrid/RadarGrid.types.d.mts +6 -7
  288. package/RadarChart/RadarGrid/RadarGrid.types.d.ts +6 -7
  289. package/RadarChart/RadarGrid/SharpRadarGrid.js +2 -2
  290. package/RadarChart/RadarGrid/SharpRadarGrid.mjs +2 -2
  291. package/RadarChart/RadarGrid/SharpRadarStripes.js +1 -1
  292. package/RadarChart/RadarGrid/SharpRadarStripes.mjs +1 -1
  293. package/RadarChart/RadarGrid/index.d.mts +1 -2
  294. package/RadarChart/RadarGrid/index.d.ts +1 -2
  295. package/RadarChart/RadarGrid/useRadarGridData.js +2 -2
  296. package/RadarChart/RadarGrid/useRadarGridData.mjs +2 -2
  297. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +5 -5
  298. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +5 -5
  299. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +13 -20
  300. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +13 -20
  301. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +15 -6
  302. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +15 -6
  303. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +15 -20
  304. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +15 -20
  305. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +9 -12
  306. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +8 -11
  307. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.mts +6 -4
  308. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +6 -4
  309. package/RadarChart/RadarSeriesPlot/index.d.mts +1 -3
  310. package/RadarChart/RadarSeriesPlot/index.d.ts +1 -3
  311. package/RadarChart/RadarSeriesPlot/index.js +2 -10
  312. package/RadarChart/RadarSeriesPlot/index.mjs +1 -2
  313. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.js +2 -2
  314. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.mjs +2 -2
  315. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +1 -1
  316. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
  317. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +10 -18
  318. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.mjs +10 -18
  319. package/RadarChart/index.d.mts +3 -1
  320. package/RadarChart/index.d.ts +3 -1
  321. package/RadarChart/index.js +9 -1
  322. package/RadarChart/index.mjs +2 -1
  323. package/RadarChart/radarClasses.d.mts +30 -0
  324. package/RadarChart/radarClasses.d.ts +30 -0
  325. package/RadarChart/radarClasses.js +33 -0
  326. package/RadarChart/radarClasses.mjs +24 -0
  327. package/RadarChart/seriesConfig/legend.js +2 -21
  328. package/RadarChart/seriesConfig/legend.mjs +2 -21
  329. package/RadarChart/seriesConfig/tooltip.js +13 -8
  330. package/RadarChart/seriesConfig/tooltip.mjs +13 -8
  331. package/RadarChart/useRadarChartProps.js +3 -3
  332. package/RadarChart/useRadarChartProps.mjs +3 -3
  333. package/ScatterChart/BatchScatter.d.mts +2 -1
  334. package/ScatterChart/BatchScatter.d.ts +2 -1
  335. package/ScatterChart/BatchScatter.js +8 -6
  336. package/ScatterChart/BatchScatter.mjs +7 -6
  337. package/ScatterChart/FocusedScatterMark.d.mts +4 -1
  338. package/ScatterChart/FocusedScatterMark.d.ts +4 -1
  339. package/ScatterChart/FocusedScatterMark.js +12 -2
  340. package/ScatterChart/FocusedScatterMark.mjs +11 -1
  341. package/ScatterChart/Scatter.d.mts +1 -1
  342. package/ScatterChart/Scatter.d.ts +1 -1
  343. package/ScatterChart/Scatter.js +14 -12
  344. package/ScatterChart/Scatter.mjs +14 -12
  345. package/ScatterChart/ScatterChart.d.mts +15 -3
  346. package/ScatterChart/ScatterChart.d.ts +15 -3
  347. package/ScatterChart/ScatterChart.js +60 -15
  348. package/ScatterChart/ScatterChart.mjs +60 -15
  349. package/ScatterChart/ScatterPlot.d.mts +2 -1
  350. package/ScatterChart/ScatterPlot.d.ts +2 -1
  351. package/ScatterChart/ScatterPlot.js +16 -2
  352. package/ScatterChart/ScatterPlot.mjs +16 -2
  353. package/ScatterChart/index.d.mts +2 -2
  354. package/ScatterChart/index.d.ts +2 -2
  355. package/ScatterChart/scatterClasses.d.mts +14 -2
  356. package/ScatterChart/scatterClasses.d.ts +14 -2
  357. package/ScatterChart/scatterClasses.js +9 -3
  358. package/ScatterChart/scatterClasses.mjs +9 -3
  359. package/ScatterChart/seriesConfig/legend.js +2 -21
  360. package/ScatterChart/seriesConfig/legend.mjs +2 -21
  361. package/ScatterChart/useScatterChartProps.d.mts +2 -2
  362. package/ScatterChart/useScatterChartProps.d.ts +2 -2
  363. package/ScatterChart/useScatterChartProps.js +9 -8
  364. package/ScatterChart/useScatterChartProps.mjs +9 -8
  365. package/SparkLineChart/SparkLineChart.d.mts +2 -2
  366. package/SparkLineChart/SparkLineChart.d.ts +2 -2
  367. package/SparkLineChart/SparkLineChart.js +45 -12
  368. package/SparkLineChart/SparkLineChart.mjs +45 -12
  369. package/context/ChartApi.d.mts +1 -1
  370. package/context/ChartApi.d.ts +1 -1
  371. package/context/ChartsProvider/ChartsProvider.d.mts +1 -1
  372. package/context/ChartsProvider/ChartsProvider.d.ts +1 -1
  373. package/context/ChartsProvider/ChartsProvider.types.d.mts +3 -3
  374. package/context/ChartsProvider/ChartsProvider.types.d.ts +3 -3
  375. package/context/useChartApiContext.d.mts +1 -1
  376. package/context/useChartApiContext.d.ts +1 -1
  377. package/context/useChartApiContext.js +3 -3
  378. package/context/useChartApiContext.mjs +3 -3
  379. package/hooks/animation/useAnimatePieArcLabel.d.mts +1 -10
  380. package/hooks/animation/useAnimatePieArcLabel.d.ts +1 -10
  381. package/hooks/animation/useAnimatePieArcLabel.js +6 -10
  382. package/hooks/animation/useAnimatePieArcLabel.mjs +6 -10
  383. package/hooks/index.d.mts +2 -2
  384. package/hooks/index.d.ts +2 -2
  385. package/hooks/index.js +8 -8
  386. package/hooks/index.mjs +2 -2
  387. package/hooks/useChartRootRef.js +2 -2
  388. package/hooks/useChartRootRef.mjs +2 -2
  389. package/hooks/useChartsLayerContainerRef.js +2 -2
  390. package/hooks/useChartsLayerContainerRef.mjs +2 -2
  391. package/hooks/useDataset.js +1 -1
  392. package/hooks/useDataset.mjs +2 -2
  393. package/hooks/useInteractionItemProps.d.mts +1 -2
  394. package/hooks/useInteractionItemProps.d.ts +1 -2
  395. package/hooks/useInteractionItemProps.js +2 -2
  396. package/hooks/useInteractionItemProps.mjs +2 -2
  397. package/hooks/{useItemHighlighted.d.mts → useItemHighlightState.d.mts} +5 -13
  398. package/hooks/{useItemHighlighted.d.ts → useItemHighlightState.d.ts} +5 -13
  399. package/hooks/{useItemHighlighted.js → useItemHighlightState.js} +5 -10
  400. package/hooks/useItemHighlightState.mjs +17 -0
  401. package/hooks/useItemHighlightStateGetter.d.mts +9 -0
  402. package/hooks/useItemHighlightStateGetter.d.ts +9 -0
  403. package/hooks/useItemHighlightStateGetter.js +21 -0
  404. package/hooks/useItemHighlightStateGetter.mjs +16 -0
  405. package/hooks/useTicks.js +2 -2
  406. package/hooks/useTicks.mjs +2 -2
  407. package/index.d.mts +0 -3
  408. package/index.d.ts +0 -3
  409. package/index.js +2 -22
  410. package/index.mjs +1 -3
  411. package/internals/commonNextFocusItem.d.mts +5 -5
  412. package/internals/commonNextFocusItem.d.ts +5 -5
  413. package/internals/consumeSlots.d.mts +1 -1
  414. package/internals/consumeSlots.d.ts +1 -1
  415. package/internals/createCommonKeyboardFocusHandler.d.mts +2 -2
  416. package/internals/createCommonKeyboardFocusHandler.d.ts +2 -2
  417. package/internals/identifierCleaner.d.mts +8 -4
  418. package/internals/identifierCleaner.d.ts +8 -4
  419. package/internals/identifierCleaner.js +4 -1
  420. package/internals/identifierCleaner.mjs +4 -1
  421. package/internals/identifierSerializer.d.mts +10 -2
  422. package/internals/identifierSerializer.d.ts +10 -2
  423. package/internals/identifierSerializer.js +8 -0
  424. package/internals/identifierSerializer.mjs +8 -0
  425. package/internals/index.d.mts +2 -3
  426. package/internals/index.d.ts +2 -3
  427. package/internals/index.js +27 -36
  428. package/internals/index.mjs +2 -3
  429. package/internals/legendUtils.d.mts +11 -0
  430. package/internals/legendUtils.d.ts +11 -0
  431. package/internals/legendUtils.js +28 -0
  432. package/internals/legendUtils.mjs +22 -0
  433. package/internals/plugins/allPlugins.d.mts +2 -2
  434. package/internals/plugins/allPlugins.d.ts +2 -2
  435. package/internals/plugins/corePlugins/corePlugins.d.mts +1 -1
  436. package/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
  437. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +2 -2
  438. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.mjs +2 -2
  439. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.mts +1 -4
  440. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -4
  441. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.js +2 -4
  442. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.mjs +1 -3
  443. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.mts +1 -6
  444. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -6
  445. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +6 -6
  446. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +6 -6
  447. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +24 -2
  448. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +24 -2
  449. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +24 -3
  450. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.mjs +23 -2
  451. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.mts +9 -9
  452. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +9 -9
  453. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.mts +2 -2
  454. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
  455. package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.mts +18 -0
  456. package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.ts +18 -0
  457. package/internals/plugins/corePlugins/useChartSeriesConfig/types/cartesianExtremumGetter.types.d.mts +3 -3
  458. package/internals/plugins/corePlugins/useChartSeriesConfig/types/cartesianExtremumGetter.types.d.ts +3 -3
  459. package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.mts +4 -4
  460. package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.ts +4 -4
  461. package/internals/plugins/corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.d.mts +2 -2
  462. package/internals/plugins/corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.d.ts +2 -2
  463. package/internals/plugins/corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.d.mts +1 -1
  464. package/internals/plugins/corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.d.ts +1 -1
  465. package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierCleaner.types.d.mts +1 -1
  466. package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierCleaner.types.d.ts +1 -1
  467. package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierSerializer.types.d.mts +1 -1
  468. package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierSerializer.types.d.ts +1 -1
  469. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.mts +2 -1
  470. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.ts +2 -1
  471. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.js +11 -0
  472. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.mjs +2 -1
  473. package/internals/plugins/corePlugins/useChartSeriesConfig/types/legendGetter.types.d.mts +1 -1
  474. package/internals/plugins/corePlugins/useChartSeriesConfig/types/legendGetter.types.d.ts +1 -1
  475. package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.mts +3 -3
  476. package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.ts +3 -3
  477. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +33 -28
  478. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +33 -28
  479. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.mts +2 -2
  480. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.ts +2 -2
  481. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesProcessor.types.d.mts +6 -6
  482. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesProcessor.types.d.ts +6 -6
  483. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +27 -38
  484. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +27 -38
  485. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +4 -4
  486. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +4 -4
  487. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.mts +10 -10
  488. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.ts +10 -10
  489. package/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.d.mts +3 -3
  490. package/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.d.ts +3 -3
  491. package/internals/plugins/corePlugins/useChartSeriesConfig/utils/serializeIdentifier.d.mts +3 -3
  492. package/internals/plugins/corePlugins/useChartSeriesConfig/utils/serializeIdentifier.d.ts +3 -3
  493. package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.js +2 -2
  494. package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.mjs +2 -2
  495. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +5 -5
  496. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +5 -5
  497. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +2 -2
  498. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +2 -2
  499. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +4 -7
  500. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.mjs +4 -7
  501. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +1 -1
  502. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +1 -1
  503. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +5 -5
  504. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +5 -5
  505. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +8 -9
  506. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs +8 -9
  507. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.mts +5 -5
  508. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +5 -5
  509. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.d.mts +1 -1
  510. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.d.ts +1 -1
  511. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +13 -11
  512. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.mjs +13 -11
  513. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.mts +4 -9
  514. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +4 -9
  515. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.mts +1 -2
  516. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +1 -2
  517. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.js +0 -5
  518. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.mjs +0 -4
  519. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +10 -29
  520. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +10 -29
  521. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +27 -64
  522. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.mjs +24 -60
  523. package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.types.d.mts +3 -3
  524. package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.types.d.ts +3 -3
  525. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.d.mts +3 -3
  526. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.d.ts +3 -3
  527. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +8 -10
  528. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.mjs +8 -10
  529. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +1 -1
  530. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.mjs +1 -1
  531. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.mts +8 -2
  532. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +8 -2
  533. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.mts +5 -5
  534. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
  535. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +1 -1
  536. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +1 -1
  537. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +1 -1
  538. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +1 -1
  539. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +6 -4
  540. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.mjs +6 -4
  541. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.mts +10 -10
  542. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +10 -10
  543. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.mts +16 -16
  544. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.ts +16 -16
  545. package/internals/plugins/models/chart.d.mts +1 -1
  546. package/internals/plugins/models/chart.d.ts +1 -1
  547. package/internals/seriesSelectorOfType.d.mts +3 -3
  548. package/internals/seriesSelectorOfType.d.ts +3 -3
  549. package/internals/store/useStore.js +2 -2
  550. package/internals/store/useStore.mjs +2 -2
  551. package/locales/elGR.d.mts +4 -0
  552. package/locales/elGR.d.ts +4 -0
  553. package/locales/elGR.js +6 -0
  554. package/locales/elGR.mjs +6 -0
  555. package/locales/enUS.d.mts +4 -0
  556. package/locales/enUS.d.ts +4 -0
  557. package/locales/enUS.js +6 -1
  558. package/locales/enUS.mjs +6 -1
  559. package/locales/frFR.d.mts +4 -0
  560. package/locales/frFR.d.ts +4 -0
  561. package/locales/frFR.js +6 -1
  562. package/locales/frFR.mjs +6 -1
  563. package/locales/nbNO.d.mts +4 -0
  564. package/locales/nbNO.d.ts +4 -0
  565. package/locales/nbNO.js +6 -0
  566. package/locales/nbNO.mjs +6 -0
  567. package/locales/ptBR.d.mts +4 -0
  568. package/locales/ptBR.d.ts +4 -0
  569. package/locales/ptBR.js +6 -0
  570. package/locales/ptBR.mjs +6 -0
  571. package/locales/ptPT.d.mts +4 -0
  572. package/locales/ptPT.d.ts +4 -0
  573. package/locales/ptPT.js +102 -99
  574. package/locales/ptPT.mjs +102 -99
  575. package/locales/svSE.d.mts +4 -0
  576. package/locales/svSE.d.ts +4 -0
  577. package/locales/svSE.js +6 -0
  578. package/locales/svSE.mjs +6 -0
  579. package/locales/utils/chartsLocaleTextApi.d.mts +16 -0
  580. package/locales/utils/chartsLocaleTextApi.d.ts +16 -0
  581. package/locales/utils/getChartsLocalization.d.mts +4 -0
  582. package/locales/utils/getChartsLocalization.d.ts +4 -0
  583. package/models/axis.d.mts +4 -0
  584. package/models/axis.d.ts +4 -0
  585. package/models/seriesType/composition.d.mts +1 -1
  586. package/models/seriesType/composition.d.ts +1 -1
  587. package/models/seriesType/composition.js +1 -1
  588. package/models/seriesType/composition.mjs +1 -1
  589. package/models/seriesType/config.d.mts +18 -6
  590. package/models/seriesType/config.d.ts +18 -6
  591. package/models/seriesType/index.d.mts +8 -8
  592. package/models/seriesType/index.d.ts +8 -8
  593. package/models/seriesType/line.d.mts +4 -2
  594. package/models/seriesType/line.d.ts +4 -2
  595. package/models/seriesType/radar.d.mts +1 -1
  596. package/models/seriesType/radar.d.ts +1 -1
  597. package/models/seriesType/scatter.d.mts +0 -7
  598. package/models/seriesType/scatter.d.ts +0 -7
  599. package/package.json +86 -114
  600. package/themeAugmentation/components.d.mts +22 -17
  601. package/themeAugmentation/components.d.ts +22 -17
  602. package/themeAugmentation/overrides.d.mts +10 -8
  603. package/themeAugmentation/overrides.d.ts +10 -8
  604. package/themeAugmentation/props.d.mts +0 -2
  605. package/themeAugmentation/props.d.ts +0 -2
  606. package/BarChart/BarLabel/barLabelClasses.d.mts +0 -26
  607. package/BarChart/BarLabel/barLabelClasses.d.ts +0 -26
  608. package/BarChart/BarLabel/barLabelClasses.js +0 -30
  609. package/BarChart/BarLabel/barLabelClasses.mjs +0 -20
  610. package/BarChart/barElementClasses.d.mts +0 -33
  611. package/BarChart/barElementClasses.d.ts +0 -33
  612. package/BarChart/barElementClasses.js +0 -29
  613. package/BarChart/barElementClasses.mjs +0 -19
  614. package/ChartContainer/ChartContainer.d.mts +0 -22
  615. package/ChartContainer/ChartContainer.d.ts +0 -22
  616. package/ChartContainer/ChartContainer.js +0 -24
  617. package/ChartContainer/ChartContainer.mjs +0 -20
  618. package/ChartContainer/index.d.mts +0 -1
  619. package/ChartContainer/index.d.ts +0 -1
  620. package/ChartContainer/index.js +0 -16
  621. package/ChartContainer/index.mjs +0 -1
  622. package/ChartContainer/useChartContainerProps.d.mts +0 -13
  623. package/ChartContainer/useChartContainerProps.d.ts +0 -13
  624. package/ChartContainer/useChartContainerProps.js +0 -19
  625. package/ChartContainer/useChartContainerProps.mjs +0 -14
  626. package/ChartDataProvider/ChartDataProvider.d.mts +0 -20
  627. package/ChartDataProvider/ChartDataProvider.d.ts +0 -20
  628. package/ChartDataProvider/ChartDataProvider.js +0 -24
  629. package/ChartDataProvider/ChartDataProvider.mjs +0 -20
  630. package/ChartDataProvider/index.d.mts +0 -1
  631. package/ChartDataProvider/index.d.ts +0 -1
  632. package/ChartDataProvider/index.js +0 -16
  633. package/ChartDataProvider/index.mjs +0 -1
  634. package/ChartDataProvider/useChartDataProviderProps.d.mts +0 -10
  635. package/ChartDataProvider/useChartDataProviderProps.d.ts +0 -10
  636. package/ChartDataProvider/useChartDataProviderProps.js +0 -12
  637. package/ChartDataProvider/useChartDataProviderProps.mjs +0 -8
  638. package/LineChart/markElementClasses.d.mts +0 -33
  639. package/LineChart/markElementClasses.d.ts +0 -33
  640. package/LineChart/markElementClasses.js +0 -29
  641. package/LineChart/markElementClasses.mjs +0 -20
  642. package/RadarChart/RadarAxis/radarAxisClasses.d.mts +0 -12
  643. package/RadarChart/RadarAxis/radarAxisClasses.d.ts +0 -12
  644. package/RadarChart/RadarAxis/radarAxisClasses.js +0 -25
  645. package/RadarChart/RadarAxis/radarAxisClasses.mjs +0 -15
  646. package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.mts +0 -11
  647. package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.ts +0 -11
  648. package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.js +0 -14
  649. package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.mjs +0 -6
  650. package/RadarChart/RadarGrid/radarGridClasses.d.mts +0 -12
  651. package/RadarChart/RadarGrid/radarGridClasses.d.ts +0 -12
  652. package/RadarChart/RadarGrid/radarGridClasses.js +0 -25
  653. package/RadarChart/RadarGrid/radarGridClasses.mjs +0 -15
  654. package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.mts +0 -22
  655. package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.ts +0 -22
  656. package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.js +0 -26
  657. package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.mjs +0 -17
  658. package/context/ChartProvider/ChartContext.d.mts +0 -5
  659. package/context/ChartProvider/ChartContext.d.ts +0 -5
  660. package/context/ChartProvider/ChartContext.js +0 -13
  661. package/context/ChartProvider/ChartContext.mjs +0 -9
  662. package/context/ChartProvider/ChartProvider.d.mts +0 -5
  663. package/context/ChartProvider/ChartProvider.d.ts +0 -5
  664. package/context/ChartProvider/ChartProvider.js +0 -12
  665. package/context/ChartProvider/ChartProvider.mjs +0 -8
  666. package/context/ChartProvider/ChartProvider.types.d.mts +0 -15
  667. package/context/ChartProvider/ChartProvider.types.d.ts +0 -15
  668. package/context/ChartProvider/index.d.mts +0 -3
  669. package/context/ChartProvider/index.d.ts +0 -3
  670. package/context/ChartProvider/index.js +0 -38
  671. package/context/ChartProvider/index.mjs +0 -3
  672. package/context/ChartProvider/useChartContext.d.mts +0 -4
  673. package/context/ChartProvider/useChartContext.d.ts +0 -4
  674. package/context/ChartProvider/useChartContext.js +0 -12
  675. package/context/ChartProvider/useChartContext.mjs +0 -8
  676. package/hooks/useItemHighlighted.mjs +0 -22
  677. package/hooks/useItemHighlightedGetter.d.mts +0 -53
  678. package/hooks/useItemHighlightedGetter.d.ts +0 -53
  679. package/hooks/useItemHighlightedGetter.js +0 -26
  680. package/hooks/useItemHighlightedGetter.mjs +0 -21
  681. package/tests/constants.js +0 -7
  682. package/tests/constants.mjs +0 -1
  683. /package/{context/ChartProvider/ChartProvider.types.js → internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.js} +0 -0
  684. /package/{context/ChartProvider/ChartProvider.types.mjs → internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.mjs} +0 -0
@@ -83,7 +83,7 @@ export const useBarChartProps = props => {
83
83
  scaleType: 'band'
84
84
  }, axis)) : yAxis;
85
85
  }, [defaultYAxis, hasHorizontalSeries, yAxis]);
86
- const chartContainerProps = _extends({}, other, {
86
+ const chartsContainerProps = _extends({}, other, {
87
87
  series: seriesWithDefault,
88
88
  width,
89
89
  height,
@@ -144,7 +144,7 @@ export const useBarChartProps = props => {
144
144
  };
145
145
  return {
146
146
  chartsWrapperProps,
147
- chartContainerProps,
147
+ chartsContainerProps,
148
148
  barPlotProps,
149
149
  gridProps,
150
150
  clipPathProps,
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports.useRegisterItemClickHandlers = useRegisterItemClickHandlers;
9
9
  var React = _interopRequireWildcard(require("react"));
10
10
  var _useChartsLayerContainerRef = require("../hooks/useChartsLayerContainerRef");
11
- var _ChartProvider = require("../context/ChartProvider");
11
+ var _ChartsProvider = require("../context/ChartsProvider");
12
12
  var _getChartPoint = require("../internals/getChartPoint");
13
13
  var _useStore = require("../internals/store/useStore");
14
14
  var _useChartCartesianAxisPosition = require("../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors");
@@ -19,7 +19,7 @@ var _useChartCartesianAxisPosition = require("../internals/plugins/featurePlugin
19
19
  function useRegisterItemClickHandlers(onItemClick) {
20
20
  const {
21
21
  instance
22
- } = (0, _ChartProvider.useChartContext)();
22
+ } = (0, _ChartsProvider.useChartsContext)();
23
23
  const chartsLayerContainerRef = (0, _useChartsLayerContainerRef.useChartsLayerContainerRef)();
24
24
  const store = (0, _useStore.useStore)();
25
25
  React.useEffect(() => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as React from 'react';
4
4
  import { useChartsLayerContainerRef } from "../hooks/useChartsLayerContainerRef.mjs";
5
- import { useChartContext } from "../context/ChartProvider/index.mjs";
5
+ import { useChartsContext } from "../context/ChartsProvider/index.mjs";
6
6
  import { getChartPoint } from "../internals/getChartPoint.mjs";
7
7
  import { useStore } from "../internals/store/useStore.mjs";
8
8
  import { selectorBarItemAtPosition } from "../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.mjs";
@@ -14,7 +14,7 @@ import { selectorBarItemAtPosition } from "../internals/plugins/featurePlugins/u
14
14
  export function useRegisterItemClickHandlers(onItemClick) {
15
15
  const {
16
16
  instance
17
- } = useChartContext();
17
+ } = useChartsContext();
18
18
  const chartsLayerContainerRef = useChartsLayerContainerRef();
19
19
  const store = useStore();
20
20
  React.useEffect(() => {
package/CHANGELOG.md CHANGED
@@ -1,5 +1,250 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.0.0-alpha.4
4
+
5
+ _Mar 19, 2026_
6
+
7
+ We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - 🐞 Bugfixes and internal improvements
10
+
11
+ The following team members contributed to this release:
12
+ @aemartos, @alexfauquette, @bernardobelchior, @Janpot, @JCQuintas, @LukasTy, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes, @sai6855, @siriwatknp
13
+
14
+ ### Data Grid
15
+
16
+ #### `@mui/x-data-grid@9.0.0-alpha.4`
17
+
18
+ - [DataGrid] Mark charts integration as stable (#21764) @JCQuintas
19
+ - [DataGrid] Move `elementOverrides` to constants and remove duplicates (#21618) @sai6855
20
+ - [DataGrid] Migrate from deprecated Material UI APIs (#21682) @siriwatknp
21
+
22
+ #### `@mui/x-data-grid-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
23
+
24
+ Same changes as in `@mui/x-data-grid@9.0.0-alpha.4`.
25
+
26
+ #### `@mui/x-data-grid-premium@9.0.0-alpha.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
27
+
28
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.4`.
29
+
30
+ ### Date and Time Pickers
31
+
32
+ #### `@mui/x-date-pickers@9.0.0-alpha.4`
33
+
34
+ - [pickers] Avoid stealing focus on click away (#13434) @LukasTy
35
+ - [pickers] Promote `fieldRef` to stable and add `clearValue` method (#21655) @michelengelen
36
+
37
+ #### `@mui/x-date-pickers-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
38
+
39
+ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.4`.
40
+
41
+ ### Charts
42
+
43
+ #### `@mui/x-charts@9.0.0-alpha.4`
44
+
45
+ - [charts] Add v9 chart series types and helper functions migration (#21009) @bernardobelchior
46
+ - [charts] Extract event listener to the layer container (#21751) @alexfauquette
47
+ - [charts] Fix WebGL print export canvas stretching (#21738) @JCQuintas
48
+ - [charts] Improve deprecation warnings (#21760) @alexfauquette
49
+ - [charts] Improve type safety in `identifierCleaner` (#21719) @bernardobelchior
50
+ - [charts] Make `preferStrictDomainInLineCharts` the default (#21744) @JCQuintas
51
+ - [charts] Move title and description to the layer container (#21757) @alexfauquette
52
+ - [charts] Refactor `FunnelChart` classes structure (#21652) @JCQuintas
53
+ - [charts] Refactor `Heatmap` classes structure (#21653) @JCQuintas
54
+ - [charts] Refactor `RadarChart` classes structure (#21650) @JCQuintas
55
+ - [charts] Refactor `SankeyChart` classes structure (#21654) @JCQuintas
56
+ - [charts] Refactor legend getters to use utility functions (#21628) @sai6855
57
+ - [charts] Remove deprecated `ChartContainer` and `ChartDataProvider` (#21777) @alexfauquette
58
+ - [charts] Remove deprecated `itemId` from `SeriesLegendItemContext` (#21788) @alexfauquette
59
+ - [charts] Remove deprecated `useMouseTracker()` (#21787) @alexfauquette
60
+ - [charts] Remove deprecated classes (#21775) @alexfauquette
61
+ - [charts] Remove deprecated props from PieArcLabel animation (#21789) @alexfauquette
62
+ - [charts] Remove get*UtilityClass from public exports (#21769) @JCQuintas
63
+ - [charts] Remove the deprecated `disableHover` property (#21785) @alexfauquette
64
+ - [charts] Remove the deprecated `message` prop (#21784) @alexfauquette
65
+ - [charts] Remove deprecated props about voronoi (#21796) @alexfauquette
66
+ - [charts] Remove deprecated pieArcClasses (#21795) @alexfauquette
67
+ - [charts] Rename `data-series-id` by `data-series` (#21761) @alexfauquette
68
+ - [charts] Rename `voronoiMaxRadius`/`disableVoronoi` to `hitAreaRadius`/`disableHitArea` (#21750) @bernardobelchior
69
+ - [charts] Update pt-PT locale (#21296) @bernardobelchior
70
+ - [charts] Use different shape per series by default (#21713) @alexfauquette
71
+ - [charts] Add className prop to Radar components (#21794) @JCQuintas
72
+ - [charts] Add className prop to shared chart components (#21792) @JCQuintas
73
+ - [charts] Add className prop to BarPlot (#21791) @JCQuintas
74
+ - [charts] Portal tooltip into ChartsLayerContainer (#21801) @JCQuintas
75
+
76
+ #### `@mui/x-charts-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
77
+
78
+ Same changes as in `@mui/x-charts@9.0.0-alpha.4`, plus:
79
+
80
+ - [charts-pro] Allow `brush` interaction to accept `requiredKeys/pointerMode` (#21716) @JCQuintas
81
+ - [charts-pro] Remove deprecated `onAxisClick` for Heatmap (#21786) @alexfauquette
82
+
83
+ #### `@mui/x-charts-premium@9.0.0-alpha.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
84
+
85
+ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.4`, plus:
86
+
87
+ - [charts-premium] Add candlestick chart (#21129) @bernardobelchior
88
+
89
+ ### Tree View
90
+
91
+ #### `@mui/x-tree-view@9.0.0-alpha.4`
92
+
93
+ Internal changes.
94
+
95
+ #### `@mui/x-tree-view-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
96
+
97
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
98
+
99
+ ### Codemod
100
+
101
+ #### `@mui/x-codemod@9.0.0-alpha.4`
102
+
103
+ Internal changes.
104
+
105
+ ### Docs
106
+
107
+ - [docs-infra] Exclude `ServerSideLazyLoadingRevalidation` from argos (#21734) @sai6855
108
+ - [docs] Update charts v9 migration guide to include premium package (#21743) @bernardobelchior
109
+ - [docs] Update v9 migration guides to install next tag (#21741) @bernardobelchior
110
+ - [docs] Revise the Pie chart docs (#21565) @mapache-salvaje
111
+ - [docs] Revise the Bar Chart docs (#21482) @mapache-salvaje
112
+ - [docs] Removed a `console.log` from an aggregation demo (#21698) @michelengelen
113
+
114
+ ### Core
115
+
116
+ - [code-infra] Add pkg-pr-new as dev dependency (#21754) @Janpot
117
+ - [code-infra] Prevent `combiner` to have default parameters (#21707) @JCQuintas
118
+ - [code-infra] Remove CI coverage collection and upload to Codecov (#21671) @Janpot
119
+ - [internal] Remove @bernardobelchior from Charts CODEOWNERS (#21776) @Copilot
120
+
121
+ ### Miscellaneous
122
+
123
+ - [x-license] Fix process.env.MUI_VERSION not being replaced during build (#21727) @aemartos
124
+ - [x-license] Add new watermark license status message (#21720) @aemartos
125
+
126
+ ## 9.0.0-alpha.3
127
+
128
+ _Mar 12, 2026_
129
+
130
+ We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
131
+
132
+ - 🐞 Bugfixes and internal improvements
133
+
134
+ The following team members contributed to this release:
135
+ @aemartos, @alexfauquette, @bernardobelchior, @brijeshb42, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @MBilalShafi, @michelengelen, @rita-codes, @sai6855, @siriwatknp
136
+
137
+ ### Data Grid
138
+
139
+ #### `@mui/x-data-grid@9.0.0-alpha.3`
140
+
141
+ - [DataGrid] Fix crash when `rows` and `rowModesModel` are updated simultaneously (#21265) @michelengelen
142
+ - [DataGrid] Add missing `resizablePanelHandle` classes to `gridClasses` object (#21538) @sai6855
143
+ - [DataGrid] Refactor `headerAlign` style calls (#21541) @sai6855
144
+
145
+ #### `@mui/x-data-grid-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
146
+
147
+ Same changes as in `@mui/x-data-grid@9.0.0-alpha.3`, plus:
148
+
149
+ - [DataGridPro] Add `role="presentation"` to detail panel toggle header content (#21634) @michelengelen
150
+ - [DataGridPro] Fix sorting not reflected in nested server-side data (#21619) @MBilalShafi
151
+
152
+ #### `@mui/x-data-grid-premium@9.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
153
+
154
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.3`.
155
+
156
+ ### Date and Time Pickers
157
+
158
+ #### `@mui/x-date-pickers@9.0.0-alpha.3`
159
+
160
+ - [pickers] Refactor `DateRangePickerDay` overrides to use a centralized `elementOverrides` object (#21426) @sai6855
161
+ - [pickers] Migrate from deprecated props for `PickersModalDialog` (#21702) @siriwatknp
162
+
163
+ #### `@mui/x-date-pickers-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
164
+
165
+ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.3`.
166
+
167
+ ### Charts
168
+
169
+ #### `@mui/x-charts@9.0.0-alpha.3`
170
+
171
+ - [charts] Differentiate Line Plot roots classes (#21679) @JCQuintas
172
+ - [charts] Enable keyboard navigation by default (#21675) @alexfauquette
173
+ - [charts] Fix keyboard tooltip radar (#21667) @alexfauquette
174
+ - [charts] Fix selector default parameter (#21638) @JCQuintas
175
+ - [charts] Fix tooltip blink between node and pointer anchor (#21611) @alexfauquette
176
+ - [charts] Let tooltip and legend reflect the line shape (#21475) @alexfauquette
177
+ - [charts] Refactor `BarChart` classes structure (#21601) @JCQuintas
178
+ - [charts] Refactor `LineChart` classes structure (#21648) @JCQuintas
179
+ - [charts] Refactor `ScatterChart` classes structure (#21651) @JCQuintas
180
+ - [charts] Refactor `PieChart` classes structure (#21649) @JCQuintas
181
+ - [charts] Remove batch rendering checks in highlight selectors (#21646) @bernardobelchior
182
+ - [charts] Standardize generic arg names to `SeriesType` (#21694) @alexfauquette
183
+ - [charts] Simplify highlight hooks return types (#21695) @alexfauquette
184
+
185
+ #### `@mui/x-charts-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
186
+
187
+ Same changes as in `@mui/x-charts@9.0.0-alpha.3`, plus:
188
+
189
+ - [charts-pro] Fix heatmap style override from `arc` to `cell` (#21693) @Copilot
190
+ - [charts-pro] Fix image export truncated when page is zoomed out (#21685) @bernardobelchior
191
+ - [charts-pro] Speed-up heatmap cell search with an index lookup (#21130) @alexfauquette
192
+ - [charts-pro] Fix heatmap highlight not working (#21710) @Copilot
193
+
194
+ #### `@mui/x-charts-premium@9.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
195
+
196
+ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
197
+
198
+ - [charts-premium] Re-enable WebGL tests (#21708) @bernardobelchior
199
+
200
+ ### Tree View
201
+
202
+ #### Breaking changes
203
+
204
+ - Remove `TreeViewBaseItem` type (use `TreeViewDefaultItemModelProperties` or a custom interface)
205
+ - Remove `useTreeViewApiRef` hook (use `useRichTreeViewApiRef`, `useSimpleTreeViewApiRef`, or `useRichTreeViewProApiRef`)
206
+ - Remove `status` from content slot props returned by `getContentProps()` (use `data-*` attributes; `status` on `useTreeItem` return value is unchanged)
207
+ - Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
208
+ - The `<RichTreeViewPro />` component has now virtualization enabled by default.
209
+ - The items used inside the `<RichTreeViewPro />` now have a default height of `32px`.
210
+ - The events of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
211
+
212
+ #### `@mui/x-tree-view@9.0.0-alpha.3`
213
+
214
+ - [tree view] Remove deprecated APIs (#21591) @flaviendelangle
215
+ - [tree view] Fix collapsed children not selected with `selectionPropagation.descendants` in `SimpleTreeView` (#21253) @flaviendelangle
216
+
217
+ #### `@mui/x-tree-view-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
218
+
219
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.3`, plus:
220
+
221
+ - [RichTreeViewPro] Make the virtualization opt-out and port the layout doc from the data grid (#21461) @flaviendelangle
222
+
223
+ ### Codemod
224
+
225
+ #### `@mui/x-codemod@9.0.0-alpha.3`
226
+
227
+ Internal changes.
228
+
229
+ ### Docs
230
+
231
+ - [docs] Fix `AssistantWithDataSource` demo crashing (#21555) @sai6855
232
+ - [docs] Remove `Preview` pill from Sankey (#21623) @bernardobelchior
233
+ - [docs] Migrate internal Material UI deprecated APIs (#21680) @siriwatknp
234
+ - [docs] Remove `New` flag on Tree View and Date and Time Pickers features released before v9 alpha (#21585) @flaviendelangle
235
+
236
+ ### Core
237
+
238
+ - [code-infra] Remove checkout step (#21688) @Janpot
239
+ - [code-infra] Fix contributor generation in changelog (#21718) @brijeshb42
240
+ - [docs-infra] Do not point to non-existent v8 subdomain (#21640) @cherniavskii
241
+
242
+ ### Miscellaneous
243
+
244
+ - [test] Add missing tests for forwarding props to filter operators in DataGrid (#21441) @siriwatknp
245
+ - [x-license] Export additional license types and constants (#21625) @aemartos
246
+ - [x-license] Refactor license verification to accept package info object and add v9 version gating (#21690) @aemartos
247
+
3
248
  ## 9.0.0-alpha.2
4
249
 
5
250
  _Mar 5, 2026_
@@ -92,7 +337,7 @@ Internal changes.
92
337
 
93
338
  - [docs] Add backticks and parentheses to all functions and hooks (DX-173) (#21496) @mapache-salvaje
94
339
  - [docs] Remove mentions of `mySvgRef` (#21559) @bernardobelchior
95
- - [docs] Update Roadmap section in the docs (#20892) @alelthomas
340
+ - [docs] Update Roadmap section in the docs (#20892) @alelthomas
96
341
  - [docs] Add tutorial and example app for aggregation with row grouping (DX-162) (#21102) @mapache-salvaje
97
342
  - [docs] Fix missing codemod docs (#21604) @JCQuintas
98
343
 
@@ -1,2 +1,3 @@
1
1
  export * from "./ChartsAxis.mjs";
2
- export * from "./axisClasses.mjs";
2
+ export { axisClasses } from "./axisClasses.mjs";
3
+ export type { ChartsAxisClasses, ChartsAxisClassKey } from "./axisClasses.mjs";
@@ -1,2 +1,3 @@
1
1
  export * from "./ChartsAxis.js";
2
- export * from "./axisClasses.js";
2
+ export { axisClasses } from "./axisClasses.js";
3
+ export type { ChartsAxisClasses, ChartsAxisClassKey } from "./axisClasses.js";
@@ -3,9 +3,19 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ var _exportNames = {
7
+ axisClasses: true
8
+ };
9
+ Object.defineProperty(exports, "axisClasses", {
10
+ enumerable: true,
11
+ get: function () {
12
+ return _axisClasses.axisClasses;
13
+ }
14
+ });
6
15
  var _ChartsAxis = require("./ChartsAxis");
7
16
  Object.keys(_ChartsAxis).forEach(function (key) {
8
17
  if (key === "default" || key === "__esModule") return;
18
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
9
19
  if (key in exports && exports[key] === _ChartsAxis[key]) return;
10
20
  Object.defineProperty(exports, key, {
11
21
  enumerable: true,
@@ -14,14 +24,4 @@ Object.keys(_ChartsAxis).forEach(function (key) {
14
24
  }
15
25
  });
16
26
  });
17
- var _axisClasses = require("./axisClasses");
18
- Object.keys(_axisClasses).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _axisClasses[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _axisClasses[key];
25
- }
26
- });
27
- });
27
+ var _axisClasses = require("./axisClasses");
@@ -1,2 +1,2 @@
1
1
  export * from "./ChartsAxis.mjs";
2
- export * from "./axisClasses.mjs";
2
+ export { axisClasses } from "./axisClasses.mjs";
@@ -1,4 +1,5 @@
1
1
  export * from "./ChartsAxisHighlight.mjs";
2
- export * from "./chartsAxisHighlightClasses.mjs";
2
+ export { chartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.mjs";
3
+ export type { ChartsAxisHighlightClasses, ChartsAxisHighlightClassKey } from "./chartsAxisHighlightClasses.mjs";
3
4
  export * from "./ChartsAxisHighlight.types.mjs";
4
5
  export * from "./ChartsAxisHighlightPath.mjs";
@@ -1,4 +1,5 @@
1
1
  export * from "./ChartsAxisHighlight.js";
2
- export * from "./chartsAxisHighlightClasses.js";
2
+ export { chartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.js";
3
+ export type { ChartsAxisHighlightClasses, ChartsAxisHighlightClassKey } from "./chartsAxisHighlightClasses.js";
3
4
  export * from "./ChartsAxisHighlight.types.js";
4
5
  export * from "./ChartsAxisHighlightPath.js";
@@ -3,9 +3,19 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ var _exportNames = {
7
+ chartsAxisHighlightClasses: true
8
+ };
9
+ Object.defineProperty(exports, "chartsAxisHighlightClasses", {
10
+ enumerable: true,
11
+ get: function () {
12
+ return _chartsAxisHighlightClasses.chartsAxisHighlightClasses;
13
+ }
14
+ });
6
15
  var _ChartsAxisHighlight = require("./ChartsAxisHighlight");
7
16
  Object.keys(_ChartsAxisHighlight).forEach(function (key) {
8
17
  if (key === "default" || key === "__esModule") return;
18
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
9
19
  if (key in exports && exports[key] === _ChartsAxisHighlight[key]) return;
10
20
  Object.defineProperty(exports, key, {
11
21
  enumerable: true,
@@ -15,19 +25,10 @@ Object.keys(_ChartsAxisHighlight).forEach(function (key) {
15
25
  });
16
26
  });
17
27
  var _chartsAxisHighlightClasses = require("./chartsAxisHighlightClasses");
18
- Object.keys(_chartsAxisHighlightClasses).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _chartsAxisHighlightClasses[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _chartsAxisHighlightClasses[key];
25
- }
26
- });
27
- });
28
28
  var _ChartsAxisHighlight2 = require("./ChartsAxisHighlight.types");
29
29
  Object.keys(_ChartsAxisHighlight2).forEach(function (key) {
30
30
  if (key === "default" || key === "__esModule") return;
31
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
31
32
  if (key in exports && exports[key] === _ChartsAxisHighlight2[key]) return;
32
33
  Object.defineProperty(exports, key, {
33
34
  enumerable: true,
@@ -39,6 +40,7 @@ Object.keys(_ChartsAxisHighlight2).forEach(function (key) {
39
40
  var _ChartsAxisHighlightPath = require("./ChartsAxisHighlightPath");
40
41
  Object.keys(_ChartsAxisHighlightPath).forEach(function (key) {
41
42
  if (key === "default" || key === "__esModule") return;
43
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
42
44
  if (key in exports && exports[key] === _ChartsAxisHighlightPath[key]) return;
43
45
  Object.defineProperty(exports, key, {
44
46
  enumerable: true,
@@ -1,4 +1,4 @@
1
1
  export * from "./ChartsAxisHighlight.mjs";
2
- export * from "./chartsAxisHighlightClasses.mjs";
2
+ export { chartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.mjs";
3
3
  export * from "./ChartsAxisHighlight.types.mjs";
4
4
  export * from "./ChartsAxisHighlightPath.mjs";
@@ -1,4 +1,9 @@
1
- export interface ChartsBrushOverlayProps {}
1
+ export interface ChartsBrushOverlayProps {
2
+ /**
3
+ * A CSS class name applied to the root element.
4
+ */
5
+ className?: string;
6
+ }
2
7
  /**
3
8
  * Component that renders visual feedback during brush interaction
4
9
  */
@@ -1,4 +1,9 @@
1
- export interface ChartsBrushOverlayProps {}
1
+ export interface ChartsBrushOverlayProps {
2
+ /**
3
+ * A CSS class name applied to the root element.
4
+ */
5
+ className?: string;
6
+ }
2
7
  /**
3
8
  * Component that renders visual feedback during brush interaction
4
9
  */
@@ -28,6 +28,9 @@ function BrushRect(props) {
28
28
  * Component that renders visual feedback during brush interaction
29
29
  */
30
30
  function ChartsBrushOverlay(props) {
31
+ const {
32
+ className
33
+ } = props;
31
34
  const store = (0, _useStore.useStore)();
32
35
  const drawingArea = store.use(_useChartDimensions.selectorChartDrawingArea);
33
36
  const theme = (0, _styles.useTheme)();
@@ -60,14 +63,14 @@ function ChartsBrushOverlay(props) {
60
63
  const rectWidth = currentX - startX;
61
64
  const rectHeight = currentY - startY;
62
65
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
63
- className: (0, _clsx.default)(_ChartsBrushOverlay.brushOverlayClasses.root, _ChartsBrushOverlay.brushOverlayClasses.x, _ChartsBrushOverlay.brushOverlayClasses.y),
64
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(BrushRect, (0, _extends2.default)({
66
+ className: (0, _clsx.default)(_ChartsBrushOverlay.brushOverlayClasses.root, _ChartsBrushOverlay.brushOverlayClasses.x, _ChartsBrushOverlay.brushOverlayClasses.y, className),
67
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(BrushRect, {
65
68
  fill: rectColor,
66
69
  x: rectWidth >= 0 ? startX : currentX,
67
70
  y: rectHeight >= 0 ? startY : currentY,
68
71
  width: Math.abs(rectWidth),
69
72
  height: Math.abs(rectHeight)
70
- }, props))
73
+ })
71
74
  });
72
75
  }
73
76
  if (brushConfig === 'y') {
@@ -75,27 +78,27 @@ function ChartsBrushOverlay(props) {
75
78
  const maxY = Math.max(startY, currentY);
76
79
  const rectHeight = maxY - minY;
77
80
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
78
- className: (0, _clsx.default)(_ChartsBrushOverlay.brushOverlayClasses.root, _ChartsBrushOverlay.brushOverlayClasses.y),
79
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(BrushRect, (0, _extends2.default)({
81
+ className: (0, _clsx.default)(_ChartsBrushOverlay.brushOverlayClasses.root, _ChartsBrushOverlay.brushOverlayClasses.y, className),
82
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(BrushRect, {
80
83
  fill: rectColor,
81
84
  x: left,
82
85
  y: minY,
83
86
  width: width,
84
87
  height: rectHeight
85
- }, props))
88
+ })
86
89
  });
87
90
  }
88
91
  const minX = Math.min(startX, currentX);
89
92
  const maxX = Math.max(startX, currentX);
90
93
  const rectWidth = maxX - minX;
91
94
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
92
- className: (0, _clsx.default)(_ChartsBrushOverlay.brushOverlayClasses.root, _ChartsBrushOverlay.brushOverlayClasses.x),
93
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(BrushRect, (0, _extends2.default)({
95
+ className: (0, _clsx.default)(_ChartsBrushOverlay.brushOverlayClasses.root, _ChartsBrushOverlay.brushOverlayClasses.x, className),
96
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(BrushRect, {
94
97
  fill: rectColor,
95
98
  x: minX,
96
99
  y: top,
97
100
  width: rectWidth,
98
101
  height: height
99
- }, props))
102
+ })
100
103
  });
101
104
  }
@@ -21,6 +21,9 @@ function BrushRect(props) {
21
21
  * Component that renders visual feedback during brush interaction
22
22
  */
23
23
  export function ChartsBrushOverlay(props) {
24
+ const {
25
+ className
26
+ } = props;
24
27
  const store = useStore();
25
28
  const drawingArea = store.use(selectorChartDrawingArea);
26
29
  const theme = useTheme();
@@ -53,14 +56,14 @@ export function ChartsBrushOverlay(props) {
53
56
  const rectWidth = currentX - startX;
54
57
  const rectHeight = currentY - startY;
55
58
  return /*#__PURE__*/_jsx("g", {
56
- className: clsx(brushOverlayClasses.root, brushOverlayClasses.x, brushOverlayClasses.y),
57
- children: /*#__PURE__*/_jsx(BrushRect, _extends({
59
+ className: clsx(brushOverlayClasses.root, brushOverlayClasses.x, brushOverlayClasses.y, className),
60
+ children: /*#__PURE__*/_jsx(BrushRect, {
58
61
  fill: rectColor,
59
62
  x: rectWidth >= 0 ? startX : currentX,
60
63
  y: rectHeight >= 0 ? startY : currentY,
61
64
  width: Math.abs(rectWidth),
62
65
  height: Math.abs(rectHeight)
63
- }, props))
66
+ })
64
67
  });
65
68
  }
66
69
  if (brushConfig === 'y') {
@@ -68,27 +71,27 @@ export function ChartsBrushOverlay(props) {
68
71
  const maxY = Math.max(startY, currentY);
69
72
  const rectHeight = maxY - minY;
70
73
  return /*#__PURE__*/_jsx("g", {
71
- className: clsx(brushOverlayClasses.root, brushOverlayClasses.y),
72
- children: /*#__PURE__*/_jsx(BrushRect, _extends({
74
+ className: clsx(brushOverlayClasses.root, brushOverlayClasses.y, className),
75
+ children: /*#__PURE__*/_jsx(BrushRect, {
73
76
  fill: rectColor,
74
77
  x: left,
75
78
  y: minY,
76
79
  width: width,
77
80
  height: rectHeight
78
- }, props))
81
+ })
79
82
  });
80
83
  }
81
84
  const minX = Math.min(startX, currentX);
82
85
  const maxX = Math.max(startX, currentX);
83
86
  const rectWidth = maxX - minX;
84
87
  return /*#__PURE__*/_jsx("g", {
85
- className: clsx(brushOverlayClasses.root, brushOverlayClasses.x),
86
- children: /*#__PURE__*/_jsx(BrushRect, _extends({
88
+ className: clsx(brushOverlayClasses.root, brushOverlayClasses.x, className),
89
+ children: /*#__PURE__*/_jsx(BrushRect, {
87
90
  fill: rectColor,
88
91
  x: minX,
89
92
  y: top,
90
93
  width: rectWidth,
91
94
  height: height
92
- }, props))
95
+ })
93
96
  });
94
97
  }
@@ -31,7 +31,7 @@ export type ChartsContainerProps<SeriesType extends ChartSeriesType = ChartSerie
31
31
  * </ChartsContainer>
32
32
  * ```
33
33
  */
34
- declare const ChartsContainer: <TSeries extends ChartSeriesType>(props: ChartsContainerProps<TSeries> & {
34
+ declare const ChartsContainer: <SeriesType extends ChartSeriesType>(props: ChartsContainerProps<SeriesType> & {
35
35
  ref?: React.ForwardedRef<HTMLDivElement>;
36
36
  }) => React.JSX.Element;
37
37
  export { ChartsContainer };
@@ -31,7 +31,7 @@ export type ChartsContainerProps<SeriesType extends ChartSeriesType = ChartSerie
31
31
  * </ChartsContainer>
32
32
  * ```
33
33
  */
34
- declare const ChartsContainer: <TSeries extends ChartSeriesType>(props: ChartsContainerProps<TSeries> & {
34
+ declare const ChartsContainer: <SeriesType extends ChartSeriesType>(props: ChartsContainerProps<SeriesType> & {
35
35
  ref?: React.ForwardedRef<HTMLDivElement>;
36
36
  }) => React.JSX.Element;
37
37
  export { ChartsContainer };