@mui/x-charts 8.21.0 → 8.22.1

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 (952) hide show
  1. package/BarChart/AnimatedBarElement.d.ts +2 -2
  2. package/BarChart/BarChart.d.ts +14 -14
  3. package/BarChart/BarChart.js +22 -1
  4. package/BarChart/BarChart.plugins.d.ts +9 -8
  5. package/BarChart/BarChart.plugins.js +2 -1
  6. package/BarChart/BarElement.d.ts +3 -3
  7. package/BarChart/BarElement.js +1 -2
  8. package/BarChart/BarLabel/BarLabel.d.ts +1 -1
  9. package/BarChart/BarLabel/BarLabel.js +12 -8
  10. package/BarChart/BarLabel/BarLabel.types.d.ts +5 -5
  11. package/BarChart/BarLabel/BarLabelItem.d.ts +5 -5
  12. package/BarChart/BarLabel/BarLabelPlot.d.ts +13 -13
  13. package/BarChart/BarLabel/getBarLabel.d.ts +6 -6
  14. package/BarChart/BarPlot.d.ts +4 -4
  15. package/BarChart/BarPlot.js +4 -1
  16. package/BarChart/FocusedBar.d.ts +2 -0
  17. package/BarChart/FocusedBar.js +68 -0
  18. package/BarChart/barElementClasses.d.ts +1 -1
  19. package/BarChart/checkBarChartScaleErrors.d.ts +2 -2
  20. package/BarChart/index.d.ts +1 -0
  21. package/BarChart/index.js +12 -0
  22. package/BarChart/seriesConfig/bar/extremums.d.ts +1 -1
  23. package/BarChart/seriesConfig/bar/getColor.d.ts +1 -1
  24. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +19 -2
  25. package/BarChart/seriesConfig/bar/legend.d.ts +1 -1
  26. package/BarChart/seriesConfig/bar/seriesProcessor.d.ts +1 -1
  27. package/BarChart/seriesConfig/bar/tooltipPosition.js +2 -2
  28. package/BarChart/seriesConfig/index.d.ts +1 -1
  29. package/BarChart/useBarChartProps.d.ts +9 -9
  30. package/BarChart/useBarPlotData.d.ts +5 -20
  31. package/BarChart/useBarPlotData.js +2 -46
  32. package/CHANGELOG.md +238 -1
  33. package/ChartContainer/ChartContainer.d.ts +5 -5
  34. package/ChartContainer/ChartContainer.js +30 -0
  35. package/ChartContainer/useChartContainerProps.d.ts +6 -6
  36. package/ChartDataProvider/ChartDataProvider.d.ts +6 -6
  37. package/ChartDataProvider/useChartDataProviderProps.d.ts +5 -5
  38. package/ChartsAxis/ChartsAxis.d.ts +1 -1
  39. package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
  40. package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
  41. package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
  42. package/ChartsAxisHighlight/ChartsXAxisHighlight.js +2 -3
  43. package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
  44. package/ChartsAxisHighlight/ChartsYAxisHighlight.js +2 -3
  45. package/ChartsBrushOverlay/ChartsBrushOverlay.js +6 -7
  46. package/ChartsGrid/ChartsGrid.d.ts +1 -1
  47. package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
  48. package/ChartsGrid/ChartsHorizontalGrid.js +2 -1
  49. package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
  50. package/ChartsGrid/ChartsVerticalGrid.js +2 -1
  51. package/ChartsLabel/ChartsLabel.d.ts +2 -2
  52. package/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
  53. package/ChartsLabel/ChartsLabelMark.d.ts +2 -2
  54. package/ChartsLegend/ChartsLegend.d.ts +2 -2
  55. package/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
  56. package/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
  57. package/ChartsLegend/chartsLegend.types.d.ts +3 -3
  58. package/ChartsLegend/colorLegend.types.d.ts +1 -1
  59. package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  60. package/ChartsLegend/legend.types.d.ts +1 -1
  61. package/ChartsLegend/legendContext.types.d.ts +3 -3
  62. package/ChartsLegend/onClickContextBuilder.d.ts +1 -1
  63. package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
  64. package/ChartsLegend/useAxis.d.ts +3 -3
  65. package/ChartsOverlay/ChartsOverlay.d.ts +2 -2
  66. package/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
  67. package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
  68. package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
  69. package/ChartsReferenceLine/common.d.ts +3 -3
  70. package/ChartsSurface/ChartsSurface.d.ts +1 -1
  71. package/ChartsSurface/ChartsSurface.js +8 -21
  72. package/ChartsText/ChartsText.d.ts +1 -1
  73. package/ChartsText/defaultTextPlacement.d.ts +1 -1
  74. package/ChartsTooltip/ChartTooltip.types.d.ts +1 -1
  75. package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
  76. package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
  77. package/ChartsTooltip/ChartsTooltip.d.ts +2 -2
  78. package/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
  79. package/ChartsTooltip/ChartsTooltipContainer.js +6 -6
  80. package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  81. package/ChartsTooltip/useAxesTooltip.d.ts +1 -1
  82. package/ChartsTooltip/useAxisTooltip.d.ts +4 -4
  83. package/ChartsTooltip/useAxisTooltip.js +3 -4
  84. package/ChartsTooltip/useItemTooltip.d.ts +2 -2
  85. package/ChartsTooltip/useItemTooltip.js +3 -4
  86. package/ChartsWrapper/ChartsWrapper.d.ts +3 -3
  87. package/ChartsWrapper/ChartsWrapper.js +2 -3
  88. package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
  89. package/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +3 -1
  90. package/ChartsXAxis/ChartsSingleXAxisTicks.js +4 -2
  91. package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
  92. package/ChartsXAxis/ChartsXAxisImpl.d.ts +2 -2
  93. package/ChartsXAxis/ChartsXAxisImpl.js +7 -3
  94. package/ChartsXAxis/getVisibleLabels.d.ts +2 -2
  95. package/ChartsXAxis/shortenLabels.d.ts +3 -3
  96. package/ChartsXAxis/useAxisTicksProps.d.ts +20 -2
  97. package/ChartsXAxis/utilities.d.ts +1 -1
  98. package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
  99. package/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +3 -1
  100. package/ChartsYAxis/ChartsSingleYAxisTicks.js +4 -2
  101. package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
  102. package/ChartsYAxis/ChartsYAxisImpl.d.ts +2 -2
  103. package/ChartsYAxis/ChartsYAxisImpl.js +7 -3
  104. package/ChartsYAxis/shortenLabels.d.ts +3 -3
  105. package/ChartsYAxis/useAxisTicksProps.d.ts +20 -2
  106. package/ChartsYAxis/utilities.d.ts +1 -1
  107. package/Gauge/Gauge.d.ts +3 -3
  108. package/Gauge/GaugeContainer.d.ts +4 -4
  109. package/Gauge/GaugeValueText.d.ts +1 -1
  110. package/LineChart/AppearingMask.d.ts +1 -1
  111. package/LineChart/AreaElement.d.ts +3 -3
  112. package/LineChart/AreaPlot.d.ts +2 -2
  113. package/LineChart/AreaPlot.js +4 -1
  114. package/LineChart/CircleMarkElement.d.ts +1 -1
  115. package/LineChart/CircleMarkElement.js +1 -1
  116. package/LineChart/FocusedLineMark.d.ts +1 -0
  117. package/LineChart/{FocusedMark.js → FocusedLineMark.js} +2 -2
  118. package/LineChart/LineChart.d.ts +17 -17
  119. package/LineChart/LineChart.js +22 -2
  120. package/LineChart/LineChart.plugins.d.ts +9 -8
  121. package/LineChart/LineChart.plugins.js +2 -1
  122. package/LineChart/LineElement.d.ts +3 -3
  123. package/LineChart/LineHighlightElement.d.ts +1 -1
  124. package/LineChart/LineHighlightPlot.d.ts +2 -2
  125. package/LineChart/LineHighlightPlot.js +1 -2
  126. package/LineChart/LinePlot.d.ts +2 -2
  127. package/LineChart/LinePlot.js +4 -1
  128. package/LineChart/MarkElement.d.ts +1 -1
  129. package/LineChart/MarkElement.js +1 -1
  130. package/LineChart/MarkPlot.d.ts +3 -3
  131. package/LineChart/MarkPlot.js +45 -116
  132. package/LineChart/index.d.ts +1 -0
  133. package/LineChart/index.js +12 -0
  134. package/LineChart/markElementClasses.d.ts +1 -1
  135. package/LineChart/seriesConfig/extremums.d.ts +1 -1
  136. package/LineChart/seriesConfig/getColor.d.ts +1 -1
  137. package/LineChart/seriesConfig/index.d.ts +1 -1
  138. package/LineChart/seriesConfig/legend.d.ts +1 -1
  139. package/LineChart/seriesConfig/seriesProcessor.d.ts +1 -1
  140. package/LineChart/seriesConfig/seriesProcessor.js +3 -3
  141. package/LineChart/useAreaPlotData.d.ts +3 -3
  142. package/LineChart/useLineChartProps.d.ts +12 -12
  143. package/LineChart/useLinePlotData.d.ts +3 -3
  144. package/LineChart/useMarkPlotData.d.ts +18 -0
  145. package/LineChart/useMarkPlotData.js +105 -0
  146. package/PieChart/FocusedPieArc.d.ts +2 -0
  147. package/PieChart/FocusedPieArc.js +58 -0
  148. package/PieChart/PieArc.d.ts +1 -1
  149. package/PieChart/PieArcLabel.d.ts +1 -1
  150. package/PieChart/PieArcLabel.js +4 -1
  151. package/PieChart/PieArcLabelPlot.d.ts +2 -2
  152. package/PieChart/PieArcPlot.d.ts +2 -2
  153. package/PieChart/PieArcPlot.js +3 -31
  154. package/PieChart/PieChart.d.ts +11 -11
  155. package/PieChart/PieChart.js +2 -1
  156. package/PieChart/PieChart.plugins.d.ts +6 -5
  157. package/PieChart/PieChart.plugins.js +2 -1
  158. package/PieChart/PiePlot.d.ts +2 -2
  159. package/PieChart/PiePlot.js +9 -53
  160. package/PieChart/dataTransform/getModifiedArcProperties.d.ts +11 -0
  161. package/PieChart/dataTransform/getModifiedArcProperties.js +42 -0
  162. package/PieChart/dataTransform/useTransformData.d.ts +1 -1
  163. package/PieChart/dataTransform/useTransformData.js +15 -20
  164. package/PieChart/getPieCoordinates.d.ts +2 -2
  165. package/PieChart/seriesConfig/getColor.d.ts +1 -1
  166. package/PieChart/seriesConfig/index.d.ts +1 -1
  167. package/PieChart/seriesConfig/index.js +2 -0
  168. package/PieChart/seriesConfig/legend.d.ts +1 -1
  169. package/PieChart/seriesConfig/seriesLayout.d.ts +3 -0
  170. package/PieChart/seriesConfig/seriesLayout.js +48 -0
  171. package/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
  172. package/PieChart/seriesConfig/tooltipPosition.js +11 -20
  173. package/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
  174. package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
  175. package/RadarChart/RadarAxis/useRadarAxis.js +1 -2
  176. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
  177. package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
  178. package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.js +3 -4
  179. package/RadarChart/RadarChart.d.ts +11 -11
  180. package/RadarChart/RadarChart.plugins.d.ts +6 -5
  181. package/RadarChart/RadarChart.plugins.js +2 -1
  182. package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
  183. package/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
  184. package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
  185. package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
  186. package/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
  187. package/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
  188. package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
  189. package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
  190. package/RadarChart/RadarGrid/useRadarGridData.js +1 -2
  191. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +4 -4
  192. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +4 -4
  193. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
  194. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +3 -3
  195. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
  196. package/RadarChart/RadarSeriesPlot/useRadarRotationIndex.js +1 -2
  197. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
  198. package/RadarChart/seriesConfig/extremums.d.ts +1 -1
  199. package/RadarChart/seriesConfig/getColor.d.ts +1 -1
  200. package/RadarChart/seriesConfig/index.d.ts +1 -1
  201. package/RadarChart/seriesConfig/index.js +2 -2
  202. package/RadarChart/seriesConfig/legend.d.ts +1 -1
  203. package/RadarChart/seriesConfig/seriesProcessor.d.ts +3 -0
  204. package/RadarChart/seriesConfig/seriesProcessor.js +29 -0
  205. package/RadarChart/useRadarChartProps.d.ts +7 -7
  206. package/RadarChart/useRadarChartProps.js +3 -1
  207. package/ScatterChart/BatchScatter.d.ts +4 -4
  208. package/ScatterChart/BatchScatter.js +4 -5
  209. package/ScatterChart/FocusedScatterMark.d.ts +2 -0
  210. package/ScatterChart/FocusedScatterMark.js +51 -0
  211. package/ScatterChart/Scatter.d.ts +5 -5
  212. package/ScatterChart/Scatter.js +2 -11
  213. package/ScatterChart/ScatterChart.d.ts +16 -16
  214. package/ScatterChart/ScatterChart.js +22 -1
  215. package/ScatterChart/ScatterChart.plugins.d.ts +10 -9
  216. package/ScatterChart/ScatterChart.plugins.js +2 -1
  217. package/ScatterChart/ScatterMarker.d.ts +1 -1
  218. package/ScatterChart/ScatterMarker.types.d.ts +1 -1
  219. package/ScatterChart/ScatterPlot.d.ts +1 -1
  220. package/ScatterChart/index.d.ts +1 -0
  221. package/ScatterChart/index.js +12 -0
  222. package/ScatterChart/seriesConfig/extremums.d.ts +1 -1
  223. package/ScatterChart/seriesConfig/getColor.d.ts +1 -1
  224. package/ScatterChart/seriesConfig/index.d.ts +1 -1
  225. package/ScatterChart/seriesConfig/legend.d.ts +1 -1
  226. package/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
  227. package/ScatterChart/useScatterChartProps.d.ts +7 -7
  228. package/ScatterChart/useScatterPlotData.d.ts +3 -3
  229. package/SparkLineChart/SparkLineChart.d.ts +12 -12
  230. package/SparkLineChart/SparkLineChart.js +22 -2
  231. package/Toolbar/Toolbar.d.ts +1 -1
  232. package/Toolbar/Toolbar.types.d.ts +1 -1
  233. package/Toolbar/ToolbarButton.d.ts +2 -2
  234. package/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
  235. package/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
  236. package/colorPalettes/categorical/mangoFusion.d.ts +1 -1
  237. package/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
  238. package/colorPalettes/sequential/blue.d.ts +1 -1
  239. package/colorPalettes/sequential/cyan.d.ts +1 -1
  240. package/colorPalettes/sequential/green.d.ts +1 -1
  241. package/colorPalettes/sequential/orange.d.ts +1 -1
  242. package/colorPalettes/sequential/pink.d.ts +1 -1
  243. package/colorPalettes/sequential/purple.d.ts +1 -1
  244. package/colorPalettes/sequential/red.d.ts +1 -1
  245. package/colorPalettes/sequential/strawberrySky.d.ts +1 -1
  246. package/colorPalettes/sequential/yellow.d.ts +1 -1
  247. package/context/ChartProvider/ChartProvider.d.ts +3 -3
  248. package/context/ChartProvider/ChartProvider.js +2 -1
  249. package/context/ChartProvider/ChartProvider.types.d.ts +2 -2
  250. package/context/ChartProvider/useChartContext.d.ts +2 -2
  251. package/context/ChartsSlotsContext.d.ts +1 -1
  252. package/context/useChartApiContext.d.ts +1 -1
  253. package/esm/BarChart/AnimatedBarElement.d.ts +2 -2
  254. package/esm/BarChart/BarChart.d.ts +14 -14
  255. package/esm/BarChart/BarChart.js +22 -1
  256. package/esm/BarChart/BarChart.plugins.d.ts +9 -8
  257. package/esm/BarChart/BarChart.plugins.js +2 -1
  258. package/esm/BarChart/BarElement.d.ts +3 -3
  259. package/esm/BarChart/BarElement.js +1 -2
  260. package/esm/BarChart/BarLabel/BarLabel.d.ts +1 -1
  261. package/esm/BarChart/BarLabel/BarLabel.js +12 -8
  262. package/esm/BarChart/BarLabel/BarLabel.types.d.ts +5 -5
  263. package/esm/BarChart/BarLabel/BarLabelItem.d.ts +5 -5
  264. package/esm/BarChart/BarLabel/BarLabelPlot.d.ts +13 -13
  265. package/esm/BarChart/BarLabel/getBarLabel.d.ts +6 -6
  266. package/esm/BarChart/BarPlot.d.ts +4 -4
  267. package/esm/BarChart/BarPlot.js +4 -1
  268. package/esm/BarChart/FocusedBar.d.ts +2 -0
  269. package/esm/BarChart/FocusedBar.js +61 -0
  270. package/esm/BarChart/barElementClasses.d.ts +1 -1
  271. package/esm/BarChart/checkBarChartScaleErrors.d.ts +2 -2
  272. package/esm/BarChart/index.d.ts +1 -0
  273. package/esm/BarChart/index.js +1 -0
  274. package/esm/BarChart/seriesConfig/bar/extremums.d.ts +1 -1
  275. package/esm/BarChart/seriesConfig/bar/getColor.d.ts +1 -1
  276. package/esm/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +19 -2
  277. package/esm/BarChart/seriesConfig/bar/legend.d.ts +1 -1
  278. package/esm/BarChart/seriesConfig/bar/seriesProcessor.d.ts +1 -1
  279. package/esm/BarChart/seriesConfig/bar/tooltipPosition.js +1 -1
  280. package/esm/BarChart/seriesConfig/index.d.ts +1 -1
  281. package/esm/BarChart/useBarChartProps.d.ts +9 -9
  282. package/esm/BarChart/useBarPlotData.d.ts +5 -20
  283. package/esm/BarChart/useBarPlotData.js +1 -44
  284. package/esm/ChartContainer/ChartContainer.d.ts +5 -5
  285. package/esm/ChartContainer/ChartContainer.js +30 -0
  286. package/esm/ChartContainer/useChartContainerProps.d.ts +6 -6
  287. package/esm/ChartDataProvider/ChartDataProvider.d.ts +6 -6
  288. package/esm/ChartDataProvider/useChartDataProviderProps.d.ts +5 -5
  289. package/esm/ChartsAxis/ChartsAxis.d.ts +1 -1
  290. package/esm/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
  291. package/esm/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
  292. package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
  293. package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.js +2 -3
  294. package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
  295. package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.js +2 -3
  296. package/esm/ChartsBrushOverlay/ChartsBrushOverlay.js +6 -7
  297. package/esm/ChartsGrid/ChartsGrid.d.ts +1 -1
  298. package/esm/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
  299. package/esm/ChartsGrid/ChartsHorizontalGrid.js +2 -1
  300. package/esm/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
  301. package/esm/ChartsGrid/ChartsVerticalGrid.js +2 -1
  302. package/esm/ChartsLabel/ChartsLabel.d.ts +2 -2
  303. package/esm/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
  304. package/esm/ChartsLabel/ChartsLabelMark.d.ts +2 -2
  305. package/esm/ChartsLegend/ChartsLegend.d.ts +2 -2
  306. package/esm/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
  307. package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
  308. package/esm/ChartsLegend/chartsLegend.types.d.ts +3 -3
  309. package/esm/ChartsLegend/colorLegend.types.d.ts +1 -1
  310. package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  311. package/esm/ChartsLegend/legend.types.d.ts +1 -1
  312. package/esm/ChartsLegend/legendContext.types.d.ts +3 -3
  313. package/esm/ChartsLegend/onClickContextBuilder.d.ts +1 -1
  314. package/esm/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
  315. package/esm/ChartsLegend/useAxis.d.ts +3 -3
  316. package/esm/ChartsOverlay/ChartsOverlay.d.ts +2 -2
  317. package/esm/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
  318. package/esm/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
  319. package/esm/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
  320. package/esm/ChartsReferenceLine/common.d.ts +3 -3
  321. package/esm/ChartsSurface/ChartsSurface.d.ts +1 -1
  322. package/esm/ChartsSurface/ChartsSurface.js +8 -21
  323. package/esm/ChartsText/ChartsText.d.ts +1 -1
  324. package/esm/ChartsText/defaultTextPlacement.d.ts +1 -1
  325. package/esm/ChartsTooltip/ChartTooltip.types.d.ts +1 -1
  326. package/esm/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
  327. package/esm/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
  328. package/esm/ChartsTooltip/ChartsTooltip.d.ts +2 -2
  329. package/esm/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
  330. package/esm/ChartsTooltip/ChartsTooltipContainer.js +6 -6
  331. package/esm/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  332. package/esm/ChartsTooltip/useAxesTooltip.d.ts +1 -1
  333. package/esm/ChartsTooltip/useAxisTooltip.d.ts +4 -4
  334. package/esm/ChartsTooltip/useAxisTooltip.js +3 -4
  335. package/esm/ChartsTooltip/useItemTooltip.d.ts +2 -2
  336. package/esm/ChartsTooltip/useItemTooltip.js +3 -4
  337. package/esm/ChartsWrapper/ChartsWrapper.d.ts +3 -3
  338. package/esm/ChartsWrapper/ChartsWrapper.js +2 -3
  339. package/esm/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
  340. package/esm/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +3 -1
  341. package/esm/ChartsXAxis/ChartsSingleXAxisTicks.js +4 -2
  342. package/esm/ChartsXAxis/ChartsXAxis.d.ts +1 -1
  343. package/esm/ChartsXAxis/ChartsXAxisImpl.d.ts +2 -2
  344. package/esm/ChartsXAxis/ChartsXAxisImpl.js +7 -3
  345. package/esm/ChartsXAxis/getVisibleLabels.d.ts +2 -2
  346. package/esm/ChartsXAxis/shortenLabels.d.ts +3 -3
  347. package/esm/ChartsXAxis/useAxisTicksProps.d.ts +20 -2
  348. package/esm/ChartsXAxis/utilities.d.ts +1 -1
  349. package/esm/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
  350. package/esm/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +3 -1
  351. package/esm/ChartsYAxis/ChartsSingleYAxisTicks.js +4 -2
  352. package/esm/ChartsYAxis/ChartsYAxis.d.ts +1 -1
  353. package/esm/ChartsYAxis/ChartsYAxisImpl.d.ts +2 -2
  354. package/esm/ChartsYAxis/ChartsYAxisImpl.js +7 -3
  355. package/esm/ChartsYAxis/shortenLabels.d.ts +3 -3
  356. package/esm/ChartsYAxis/useAxisTicksProps.d.ts +20 -2
  357. package/esm/ChartsYAxis/utilities.d.ts +1 -1
  358. package/esm/Gauge/Gauge.d.ts +3 -3
  359. package/esm/Gauge/GaugeContainer.d.ts +4 -4
  360. package/esm/Gauge/GaugeValueText.d.ts +1 -1
  361. package/esm/LineChart/AppearingMask.d.ts +1 -1
  362. package/esm/LineChart/AreaElement.d.ts +3 -3
  363. package/esm/LineChart/AreaPlot.d.ts +2 -2
  364. package/esm/LineChart/AreaPlot.js +4 -1
  365. package/esm/LineChart/CircleMarkElement.d.ts +1 -1
  366. package/esm/LineChart/CircleMarkElement.js +1 -1
  367. package/esm/LineChart/FocusedLineMark.d.ts +1 -0
  368. package/esm/LineChart/{FocusedMark.js → FocusedLineMark.js} +1 -1
  369. package/esm/LineChart/LineChart.d.ts +17 -17
  370. package/esm/LineChart/LineChart.js +22 -2
  371. package/esm/LineChart/LineChart.plugins.d.ts +9 -8
  372. package/esm/LineChart/LineChart.plugins.js +2 -1
  373. package/esm/LineChart/LineElement.d.ts +3 -3
  374. package/esm/LineChart/LineHighlightElement.d.ts +1 -1
  375. package/esm/LineChart/LineHighlightPlot.d.ts +2 -2
  376. package/esm/LineChart/LineHighlightPlot.js +1 -2
  377. package/esm/LineChart/LinePlot.d.ts +2 -2
  378. package/esm/LineChart/LinePlot.js +4 -1
  379. package/esm/LineChart/MarkElement.d.ts +1 -1
  380. package/esm/LineChart/MarkElement.js +1 -1
  381. package/esm/LineChart/MarkPlot.d.ts +3 -3
  382. package/esm/LineChart/MarkPlot.js +45 -116
  383. package/esm/LineChart/index.d.ts +1 -0
  384. package/esm/LineChart/index.js +1 -0
  385. package/esm/LineChart/markElementClasses.d.ts +1 -1
  386. package/esm/LineChart/seriesConfig/extremums.d.ts +1 -1
  387. package/esm/LineChart/seriesConfig/getColor.d.ts +1 -1
  388. package/esm/LineChart/seriesConfig/index.d.ts +1 -1
  389. package/esm/LineChart/seriesConfig/legend.d.ts +1 -1
  390. package/esm/LineChart/seriesConfig/seriesProcessor.d.ts +1 -1
  391. package/esm/LineChart/seriesConfig/seriesProcessor.js +3 -3
  392. package/esm/LineChart/useAreaPlotData.d.ts +3 -3
  393. package/esm/LineChart/useLineChartProps.d.ts +12 -12
  394. package/esm/LineChart/useLinePlotData.d.ts +3 -3
  395. package/esm/LineChart/useMarkPlotData.d.ts +18 -0
  396. package/esm/LineChart/useMarkPlotData.js +97 -0
  397. package/esm/PieChart/FocusedPieArc.d.ts +2 -0
  398. package/esm/PieChart/FocusedPieArc.js +51 -0
  399. package/esm/PieChart/PieArc.d.ts +1 -1
  400. package/esm/PieChart/PieArcLabel.d.ts +1 -1
  401. package/esm/PieChart/PieArcLabel.js +4 -1
  402. package/esm/PieChart/PieArcLabelPlot.d.ts +2 -2
  403. package/esm/PieChart/PieArcPlot.d.ts +2 -2
  404. package/esm/PieChart/PieArcPlot.js +5 -33
  405. package/esm/PieChart/PieChart.d.ts +11 -11
  406. package/esm/PieChart/PieChart.js +2 -1
  407. package/esm/PieChart/PieChart.plugins.d.ts +6 -5
  408. package/esm/PieChart/PieChart.plugins.js +2 -1
  409. package/esm/PieChart/PiePlot.d.ts +2 -2
  410. package/esm/PieChart/PiePlot.js +10 -54
  411. package/esm/PieChart/dataTransform/getModifiedArcProperties.d.ts +11 -0
  412. package/esm/PieChart/dataTransform/getModifiedArcProperties.js +36 -0
  413. package/esm/PieChart/dataTransform/useTransformData.d.ts +1 -1
  414. package/esm/PieChart/dataTransform/useTransformData.js +15 -20
  415. package/esm/PieChart/getPieCoordinates.d.ts +2 -2
  416. package/esm/PieChart/seriesConfig/getColor.d.ts +1 -1
  417. package/esm/PieChart/seriesConfig/index.d.ts +1 -1
  418. package/esm/PieChart/seriesConfig/index.js +2 -0
  419. package/esm/PieChart/seriesConfig/legend.d.ts +1 -1
  420. package/esm/PieChart/seriesConfig/seriesLayout.d.ts +3 -0
  421. package/esm/PieChart/seriesConfig/seriesLayout.js +42 -0
  422. package/esm/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
  423. package/esm/PieChart/seriesConfig/tooltipPosition.js +11 -20
  424. package/esm/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
  425. package/esm/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
  426. package/esm/RadarChart/RadarAxis/useRadarAxis.js +1 -2
  427. package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
  428. package/esm/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
  429. package/esm/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.js +3 -4
  430. package/esm/RadarChart/RadarChart.d.ts +11 -11
  431. package/esm/RadarChart/RadarChart.plugins.d.ts +6 -5
  432. package/esm/RadarChart/RadarChart.plugins.js +2 -1
  433. package/esm/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
  434. package/esm/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
  435. package/esm/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
  436. package/esm/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
  437. package/esm/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
  438. package/esm/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
  439. package/esm/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
  440. package/esm/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
  441. package/esm/RadarChart/RadarGrid/useRadarGridData.js +1 -2
  442. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +4 -4
  443. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +4 -4
  444. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
  445. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +3 -3
  446. package/esm/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
  447. package/esm/RadarChart/RadarSeriesPlot/useRadarRotationIndex.js +1 -2
  448. package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
  449. package/esm/RadarChart/seriesConfig/extremums.d.ts +1 -1
  450. package/esm/RadarChart/seriesConfig/getColor.d.ts +1 -1
  451. package/esm/RadarChart/seriesConfig/index.d.ts +1 -1
  452. package/esm/RadarChart/seriesConfig/index.js +2 -2
  453. package/esm/RadarChart/seriesConfig/legend.d.ts +1 -1
  454. package/esm/RadarChart/seriesConfig/seriesProcessor.d.ts +3 -0
  455. package/esm/RadarChart/seriesConfig/seriesProcessor.js +22 -0
  456. package/esm/RadarChart/useRadarChartProps.d.ts +7 -7
  457. package/esm/RadarChart/useRadarChartProps.js +3 -1
  458. package/esm/ScatterChart/BatchScatter.d.ts +4 -4
  459. package/esm/ScatterChart/BatchScatter.js +4 -5
  460. package/esm/ScatterChart/FocusedScatterMark.d.ts +2 -0
  461. package/esm/ScatterChart/FocusedScatterMark.js +44 -0
  462. package/esm/ScatterChart/Scatter.d.ts +5 -5
  463. package/esm/ScatterChart/Scatter.js +2 -11
  464. package/esm/ScatterChart/ScatterChart.d.ts +16 -16
  465. package/esm/ScatterChart/ScatterChart.js +22 -1
  466. package/esm/ScatterChart/ScatterChart.plugins.d.ts +10 -9
  467. package/esm/ScatterChart/ScatterChart.plugins.js +2 -1
  468. package/esm/ScatterChart/ScatterMarker.d.ts +1 -1
  469. package/esm/ScatterChart/ScatterMarker.types.d.ts +1 -1
  470. package/esm/ScatterChart/ScatterPlot.d.ts +1 -1
  471. package/esm/ScatterChart/index.d.ts +1 -0
  472. package/esm/ScatterChart/index.js +1 -0
  473. package/esm/ScatterChart/seriesConfig/extremums.d.ts +1 -1
  474. package/esm/ScatterChart/seriesConfig/getColor.d.ts +1 -1
  475. package/esm/ScatterChart/seriesConfig/index.d.ts +1 -1
  476. package/esm/ScatterChart/seriesConfig/legend.d.ts +1 -1
  477. package/esm/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
  478. package/esm/ScatterChart/useScatterChartProps.d.ts +7 -7
  479. package/esm/ScatterChart/useScatterPlotData.d.ts +3 -3
  480. package/esm/SparkLineChart/SparkLineChart.d.ts +12 -12
  481. package/esm/SparkLineChart/SparkLineChart.js +22 -2
  482. package/esm/Toolbar/Toolbar.d.ts +1 -1
  483. package/esm/Toolbar/Toolbar.types.d.ts +1 -1
  484. package/esm/Toolbar/ToolbarButton.d.ts +2 -2
  485. package/esm/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
  486. package/esm/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
  487. package/esm/colorPalettes/categorical/mangoFusion.d.ts +1 -1
  488. package/esm/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
  489. package/esm/colorPalettes/sequential/blue.d.ts +1 -1
  490. package/esm/colorPalettes/sequential/cyan.d.ts +1 -1
  491. package/esm/colorPalettes/sequential/green.d.ts +1 -1
  492. package/esm/colorPalettes/sequential/orange.d.ts +1 -1
  493. package/esm/colorPalettes/sequential/pink.d.ts +1 -1
  494. package/esm/colorPalettes/sequential/purple.d.ts +1 -1
  495. package/esm/colorPalettes/sequential/red.d.ts +1 -1
  496. package/esm/colorPalettes/sequential/strawberrySky.d.ts +1 -1
  497. package/esm/colorPalettes/sequential/yellow.d.ts +1 -1
  498. package/esm/context/ChartProvider/ChartProvider.d.ts +3 -3
  499. package/esm/context/ChartProvider/ChartProvider.js +2 -1
  500. package/esm/context/ChartProvider/ChartProvider.types.d.ts +2 -2
  501. package/esm/context/ChartProvider/useChartContext.d.ts +2 -2
  502. package/esm/context/ChartsSlotsContext.d.ts +1 -1
  503. package/esm/context/useChartApiContext.d.ts +1 -1
  504. package/esm/hooks/animation/useAnimate.d.ts +1 -1
  505. package/esm/hooks/animation/useAnimateArea.d.ts +1 -1
  506. package/esm/hooks/animation/useAnimateBar.d.ts +1 -1
  507. package/esm/hooks/animation/useAnimateBarLabel.d.ts +1 -1
  508. package/esm/hooks/animation/useAnimateGaugeValueArc.d.ts +1 -1
  509. package/esm/hooks/animation/useAnimateLine.d.ts +1 -1
  510. package/esm/hooks/animation/useAnimatePieArc.d.ts +1 -1
  511. package/esm/hooks/animation/useAnimatePieArcLabel.d.ts +1 -1
  512. package/esm/hooks/index.d.ts +1 -1
  513. package/esm/hooks/index.js +1 -1
  514. package/esm/hooks/useAxis.d.ts +1 -1
  515. package/esm/hooks/useAxis.js +8 -9
  516. package/esm/hooks/useAxisSystem.js +2 -3
  517. package/esm/hooks/useBarSeries.d.ts +3 -3
  518. package/esm/hooks/useBrush.js +1 -2
  519. package/esm/hooks/useChartGradientId.d.ts +1 -1
  520. package/esm/hooks/useChartId.js +1 -2
  521. package/esm/hooks/useChartRootRef.d.ts +1 -1
  522. package/esm/hooks/useColorScale.d.ts +1 -1
  523. package/esm/hooks/useDataset.d.ts +1 -1
  524. package/esm/hooks/useDataset.js +1 -2
  525. package/esm/hooks/useDrawingArea.js +1 -2
  526. package/esm/hooks/useFocusedItem.d.ts +2 -2
  527. package/esm/hooks/useFocusedItem.js +3 -4
  528. package/esm/hooks/useInteractionItemProps.d.ts +8 -6
  529. package/esm/hooks/useInteractionItemProps.js +17 -8
  530. package/esm/hooks/useIsItemFocused.d.ts +1 -1
  531. package/esm/hooks/useIsItemFocused.js +1 -2
  532. package/esm/hooks/useIsItemFocusedGetter.d.ts +1 -1
  533. package/esm/hooks/useItemHighlighted.d.ts +1 -1
  534. package/esm/hooks/useItemHighlighted.js +2 -3
  535. package/esm/hooks/useItemHighlightedGetter.js +2 -3
  536. package/esm/hooks/useLegend.js +1 -2
  537. package/esm/hooks/useLineSeries.d.ts +3 -3
  538. package/esm/hooks/usePieSeries.d.ts +10 -4
  539. package/esm/hooks/usePieSeries.js +12 -0
  540. package/esm/hooks/useRadarSeries.d.ts +3 -3
  541. package/esm/hooks/useScale.d.ts +1 -1
  542. package/esm/hooks/useScatterSeries.d.ts +3 -3
  543. package/esm/hooks/useSeries.js +1 -2
  544. package/esm/hooks/useSkipAnimation.js +1 -2
  545. package/esm/hooks/useSvgRef.d.ts +1 -1
  546. package/esm/hooks/useTicks.d.ts +9 -7
  547. package/esm/hooks/useTicks.js +94 -7
  548. package/esm/hooks/useTicksGrouped.d.ts +1 -1
  549. package/esm/hooks/useZAxis.js +1 -2
  550. package/esm/index.js +1 -1
  551. package/esm/internals/Flatbush.d.ts +0 -1
  552. package/esm/internals/Flatbush.js +1 -1
  553. package/esm/internals/colorScale.d.ts +3 -3
  554. package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
  555. package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
  556. package/esm/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
  557. package/esm/internals/components/NotRendered.d.ts +1 -1
  558. package/esm/internals/configInit.d.ts +1 -1
  559. package/esm/internals/createSvgIcon.d.ts +2 -2
  560. package/esm/internals/dateHelpers.d.ts +3 -3
  561. package/esm/internals/defaultValueFormatters.d.ts +1 -1
  562. package/esm/internals/domUtils.d.ts +1 -1
  563. package/esm/internals/findMinMax.d.ts +7 -0
  564. package/esm/internals/findMinMax.js +7 -0
  565. package/esm/internals/getBarDimensions.d.ts +17 -0
  566. package/esm/internals/getBarDimensions.js +44 -0
  567. package/esm/internals/getCurve.d.ts +1 -1
  568. package/esm/internals/getScale.d.ts +2 -2
  569. package/esm/internals/getSeriesColorFn.d.ts +1 -1
  570. package/esm/internals/getWordsByLines.d.ts +1 -1
  571. package/esm/internals/index.d.ts +1 -2
  572. package/esm/internals/index.js +1 -2
  573. package/esm/internals/invertScale.d.ts +1 -1
  574. package/esm/internals/invertTextAnchor.d.ts +1 -1
  575. package/esm/internals/isCartesian.d.ts +1 -1
  576. package/esm/internals/isPolar.d.ts +1 -1
  577. package/esm/internals/material/index.d.ts +2 -2
  578. package/esm/internals/plugins/allPlugins.d.ts +13 -12
  579. package/esm/internals/plugins/allPlugins.js +2 -1
  580. package/esm/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
  581. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
  582. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
  583. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
  584. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +1 -2
  585. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
  586. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
  587. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
  588. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
  589. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
  590. package/esm/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
  591. package/esm/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
  592. package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
  593. package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
  594. package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +5 -5
  595. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
  596. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -7
  597. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
  598. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +5 -5
  599. package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
  600. package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +1 -2
  601. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
  602. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +1 -2
  603. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +2 -2
  604. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
  605. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +7 -7
  606. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -4
  607. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
  608. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +3 -3
  609. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
  610. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
  611. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
  612. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +3 -3
  613. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
  614. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
  615. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
  616. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
  617. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
  618. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +5 -6
  619. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
  620. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
  621. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +7 -67
  622. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +7 -1
  623. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +1 -1
  624. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +2 -2
  625. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useInternalIsZoomInteracting.js +1 -2
  626. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +1 -1
  627. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +3 -3
  628. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
  629. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +15 -12
  630. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +8 -7
  631. package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +2 -2
  632. package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +2 -2
  633. package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +3 -3
  634. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +2 -2
  635. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +6 -3
  636. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +3 -3
  637. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
  638. package/esm/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
  639. package/esm/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +0 -1
  640. package/esm/internals/plugins/featurePlugins/useChartInteraction/index.js +1 -2
  641. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
  642. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +9 -30
  643. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +0 -6
  644. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +0 -2
  645. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +8 -20
  646. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.d.ts +2 -2
  647. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.d.ts +2 -2
  648. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +4 -4
  649. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +3 -3
  650. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +5 -5
  651. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
  652. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +4 -4
  653. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +4 -4
  654. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +1 -1
  655. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
  656. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
  657. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +6 -7
  658. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +2 -2
  659. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
  660. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +1 -1
  661. package/esm/internals/plugins/featurePlugins/useChartTooltip/index.d.ts +3 -0
  662. package/esm/internals/plugins/featurePlugins/useChartTooltip/index.js +2 -0
  663. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.d.ts +3 -0
  664. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +44 -0
  665. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +26 -0
  666. package/esm/internals/plugins/featurePlugins/{useChartInteraction → useChartTooltip}/useChartTooltip.selectors.js +6 -3
  667. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +30 -0
  668. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.js +1 -0
  669. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
  670. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
  671. package/esm/internals/plugins/models/plugin.d.ts +4 -4
  672. package/esm/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +4 -4
  673. package/esm/internals/plugins/models/seriesConfig/seriesLayout.types.d.ts +2 -2
  674. package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +8 -7
  675. package/esm/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.d.ts +7 -6
  676. package/esm/internals/plugins/utils/selectors.d.ts +2 -2
  677. package/esm/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
  678. package/esm/internals/scaleGuards.d.ts +1 -1
  679. package/esm/internals/scales/scaleSymlog.d.ts +1 -1
  680. package/esm/internals/seriesSelectorOfType.d.ts +5 -5
  681. package/esm/internals/seriesSelectorOfType.js +2 -3
  682. package/esm/internals/stackSeries.d.ts +50 -4
  683. package/esm/internals/store/extractPluginParamsFromProps.d.ts +3 -3
  684. package/esm/internals/store/useCharts.d.ts +4 -4
  685. package/esm/internals/store/useCharts.types.d.ts +2 -2
  686. package/esm/internals/store/useStore.d.ts +2 -2
  687. package/esm/locales/elGR.d.ts +1 -1
  688. package/esm/locales/enUS.d.ts +1 -1
  689. package/esm/locales/frFR.d.ts +1 -1
  690. package/esm/locales/nbNO.d.ts +1 -1
  691. package/esm/locales/ptBR.d.ts +1 -1
  692. package/esm/locales/ptPT.d.ts +1 -1
  693. package/esm/locales/svSE.d.ts +1 -1
  694. package/esm/locales/utils/chartsLocaleTextApi.d.ts +1 -1
  695. package/esm/locales/utils/getChartsLocalization.d.ts +1 -1
  696. package/esm/models/axis.d.ts +15 -6
  697. package/esm/models/index.d.ts +2 -1
  698. package/esm/models/seriesType/bar.d.ts +3 -3
  699. package/esm/models/seriesType/common.d.ts +5 -2
  700. package/esm/models/seriesType/config.d.ts +8 -10
  701. package/esm/models/seriesType/index.d.ts +2 -2
  702. package/esm/models/seriesType/line.d.ts +3 -3
  703. package/esm/models/seriesType/pie.d.ts +39 -4
  704. package/esm/models/seriesType/radar.d.ts +2 -2
  705. package/esm/models/seriesType/scatter.d.ts +2 -2
  706. package/esm/models/slots/chartsBaseSlots.d.ts +2 -2
  707. package/esm/models/timeTicks.d.ts +37 -0
  708. package/esm/models/timeTicks.js +1 -0
  709. package/esm/models/z-axis.d.ts +1 -1
  710. package/esm/plugins/index.d.ts +1 -0
  711. package/esm/plugins/index.js +1 -0
  712. package/esm/themeAugmentation/components.d.ts +1 -1
  713. package/esm/themeAugmentation/overrides.d.ts +7 -7
  714. package/esm/themeAugmentation/props.d.ts +12 -12
  715. package/esm/utils/index.d.ts +2 -1
  716. package/esm/utils/index.js +2 -1
  717. package/esm/utils/niceDomain.d.ts +2 -2
  718. package/esm/utils/timeTicks.d.ts +2 -0
  719. package/esm/utils/timeTicks.js +62 -0
  720. package/hooks/animation/useAnimate.d.ts +1 -1
  721. package/hooks/animation/useAnimateArea.d.ts +1 -1
  722. package/hooks/animation/useAnimateBar.d.ts +1 -1
  723. package/hooks/animation/useAnimateBarLabel.d.ts +1 -1
  724. package/hooks/animation/useAnimateGaugeValueArc.d.ts +1 -1
  725. package/hooks/animation/useAnimateLine.d.ts +1 -1
  726. package/hooks/animation/useAnimatePieArc.d.ts +1 -1
  727. package/hooks/animation/useAnimatePieArcLabel.d.ts +1 -1
  728. package/hooks/index.d.ts +1 -1
  729. package/hooks/index.js +14 -11
  730. package/hooks/useAxis.d.ts +1 -1
  731. package/hooks/useAxis.js +8 -9
  732. package/hooks/useAxisSystem.js +2 -3
  733. package/hooks/useBarSeries.d.ts +3 -3
  734. package/hooks/useBrush.js +1 -2
  735. package/hooks/useChartGradientId.d.ts +1 -1
  736. package/hooks/useChartId.js +1 -2
  737. package/hooks/useChartRootRef.d.ts +1 -1
  738. package/hooks/useColorScale.d.ts +1 -1
  739. package/hooks/useDataset.d.ts +1 -1
  740. package/hooks/useDataset.js +1 -2
  741. package/hooks/useDrawingArea.js +1 -2
  742. package/hooks/useFocusedItem.d.ts +2 -2
  743. package/hooks/useFocusedItem.js +3 -4
  744. package/hooks/useInteractionItemProps.d.ts +8 -6
  745. package/hooks/useInteractionItemProps.js +17 -8
  746. package/hooks/useIsItemFocused.d.ts +1 -1
  747. package/hooks/useIsItemFocused.js +1 -2
  748. package/hooks/useIsItemFocusedGetter.d.ts +1 -1
  749. package/hooks/useItemHighlighted.d.ts +1 -1
  750. package/hooks/useItemHighlighted.js +2 -3
  751. package/hooks/useItemHighlightedGetter.js +2 -3
  752. package/hooks/useLegend.js +1 -2
  753. package/hooks/useLineSeries.d.ts +3 -3
  754. package/hooks/usePieSeries.d.ts +10 -4
  755. package/hooks/usePieSeries.js +13 -0
  756. package/hooks/useRadarSeries.d.ts +3 -3
  757. package/hooks/useScale.d.ts +1 -1
  758. package/hooks/useScatterSeries.d.ts +3 -3
  759. package/hooks/useSeries.js +1 -2
  760. package/hooks/useSkipAnimation.js +1 -2
  761. package/hooks/useSvgRef.d.ts +1 -1
  762. package/hooks/useTicks.d.ts +9 -7
  763. package/hooks/useTicks.js +95 -8
  764. package/hooks/useTicksGrouped.d.ts +1 -1
  765. package/hooks/useZAxis.js +1 -2
  766. package/index.js +1 -1
  767. package/internals/Flatbush.d.ts +0 -1
  768. package/internals/Flatbush.js +1 -1
  769. package/internals/colorScale.d.ts +3 -3
  770. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
  771. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
  772. package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
  773. package/internals/components/NotRendered.d.ts +1 -1
  774. package/internals/configInit.d.ts +1 -1
  775. package/internals/createSvgIcon.d.ts +2 -2
  776. package/internals/dateHelpers.d.ts +3 -3
  777. package/internals/defaultValueFormatters.d.ts +1 -1
  778. package/internals/domUtils.d.ts +1 -1
  779. package/internals/findMinMax.d.ts +7 -0
  780. package/internals/findMinMax.js +7 -0
  781. package/internals/getBarDimensions.d.ts +17 -0
  782. package/internals/getBarDimensions.js +50 -0
  783. package/internals/getCurve.d.ts +1 -1
  784. package/internals/getScale.d.ts +2 -2
  785. package/internals/getSeriesColorFn.d.ts +1 -1
  786. package/internals/getWordsByLines.d.ts +1 -1
  787. package/internals/index.d.ts +1 -2
  788. package/internals/index.js +12 -24
  789. package/internals/invertScale.d.ts +1 -1
  790. package/internals/invertTextAnchor.d.ts +1 -1
  791. package/internals/isCartesian.d.ts +1 -1
  792. package/internals/isPolar.d.ts +1 -1
  793. package/internals/material/index.d.ts +2 -2
  794. package/internals/plugins/allPlugins.d.ts +13 -12
  795. package/internals/plugins/allPlugins.js +2 -1
  796. package/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
  797. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
  798. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
  799. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
  800. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +1 -2
  801. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
  802. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
  803. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
  804. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
  805. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
  806. package/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
  807. package/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
  808. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
  809. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
  810. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +5 -5
  811. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
  812. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -8
  813. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
  814. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +5 -5
  815. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
  816. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +1 -2
  817. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
  818. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +1 -2
  819. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +1 -1
  820. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
  821. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +7 -7
  822. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -4
  823. package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
  824. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +3 -3
  825. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
  826. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
  827. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
  828. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +3 -3
  829. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
  830. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
  831. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
  832. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
  833. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
  834. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +5 -6
  835. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
  836. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
  837. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +7 -67
  838. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +6 -0
  839. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +1 -1
  840. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +2 -2
  841. package/internals/plugins/featurePlugins/useChartCartesianAxis/useInternalIsZoomInteracting.js +1 -2
  842. package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +1 -1
  843. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +3 -3
  844. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
  845. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +15 -12
  846. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +8 -7
  847. package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +2 -2
  848. package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +2 -2
  849. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +3 -3
  850. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +2 -2
  851. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +6 -3
  852. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +3 -3
  853. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
  854. package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
  855. package/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +0 -1
  856. package/internals/plugins/featurePlugins/useChartInteraction/index.js +0 -12
  857. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
  858. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +9 -30
  859. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +0 -6
  860. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +1 -3
  861. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +8 -20
  862. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.d.ts +2 -2
  863. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.d.ts +2 -2
  864. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +4 -4
  865. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +3 -3
  866. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +5 -5
  867. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
  868. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +4 -4
  869. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +4 -4
  870. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +1 -1
  871. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
  872. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
  873. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +6 -7
  874. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +2 -2
  875. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
  876. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +1 -1
  877. package/internals/plugins/featurePlugins/useChartTooltip/index.d.ts +3 -0
  878. package/internals/plugins/featurePlugins/useChartTooltip/index.js +27 -0
  879. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.d.ts +3 -0
  880. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +52 -0
  881. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +26 -0
  882. package/internals/plugins/featurePlugins/{useChartInteraction → useChartTooltip}/useChartTooltip.selectors.js +7 -4
  883. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +30 -0
  884. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.js +5 -0
  885. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
  886. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
  887. package/internals/plugins/models/plugin.d.ts +4 -4
  888. package/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +4 -4
  889. package/internals/plugins/models/seriesConfig/seriesLayout.types.d.ts +2 -2
  890. package/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +8 -7
  891. package/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.d.ts +7 -6
  892. package/internals/plugins/utils/selectors.d.ts +2 -2
  893. package/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
  894. package/internals/scaleGuards.d.ts +1 -1
  895. package/internals/scales/scaleSymlog.d.ts +1 -1
  896. package/internals/seriesSelectorOfType.d.ts +5 -5
  897. package/internals/seriesSelectorOfType.js +2 -3
  898. package/internals/stackSeries.d.ts +50 -4
  899. package/internals/store/extractPluginParamsFromProps.d.ts +3 -3
  900. package/internals/store/useCharts.d.ts +4 -4
  901. package/internals/store/useCharts.types.d.ts +2 -2
  902. package/internals/store/useStore.d.ts +2 -2
  903. package/locales/elGR.d.ts +1 -1
  904. package/locales/enUS.d.ts +1 -1
  905. package/locales/frFR.d.ts +1 -1
  906. package/locales/nbNO.d.ts +1 -1
  907. package/locales/ptBR.d.ts +1 -1
  908. package/locales/ptPT.d.ts +1 -1
  909. package/locales/svSE.d.ts +1 -1
  910. package/locales/utils/chartsLocaleTextApi.d.ts +1 -1
  911. package/locales/utils/getChartsLocalization.d.ts +1 -1
  912. package/models/axis.d.ts +15 -6
  913. package/models/index.d.ts +2 -1
  914. package/models/seriesType/bar.d.ts +3 -3
  915. package/models/seriesType/common.d.ts +5 -2
  916. package/models/seriesType/config.d.ts +8 -10
  917. package/models/seriesType/index.d.ts +2 -2
  918. package/models/seriesType/line.d.ts +3 -3
  919. package/models/seriesType/pie.d.ts +39 -4
  920. package/models/seriesType/radar.d.ts +2 -2
  921. package/models/seriesType/scatter.d.ts +2 -2
  922. package/models/slots/chartsBaseSlots.d.ts +2 -2
  923. package/models/timeTicks.d.ts +37 -0
  924. package/models/timeTicks.js +5 -0
  925. package/models/z-axis.d.ts +1 -1
  926. package/package.json +3 -4
  927. package/plugins/index.d.ts +1 -0
  928. package/plugins/index.js +7 -0
  929. package/themeAugmentation/components.d.ts +1 -1
  930. package/themeAugmentation/overrides.d.ts +7 -7
  931. package/themeAugmentation/props.d.ts +12 -12
  932. package/utils/index.d.ts +2 -1
  933. package/utils/index.js +12 -1
  934. package/utils/niceDomain.d.ts +2 -2
  935. package/utils/timeTicks.d.ts +2 -0
  936. package/utils/timeTicks.js +68 -0
  937. package/LineChart/FocusedMark.d.ts +0 -1
  938. package/RadarChart/seriesConfig/formatter.d.ts +0 -3
  939. package/RadarChart/seriesConfig/formatter.js +0 -18
  940. package/esm/LineChart/FocusedMark.d.ts +0 -1
  941. package/esm/RadarChart/seriesConfig/formatter.d.ts +0 -3
  942. package/esm/RadarChart/seriesConfig/formatter.js +0 -12
  943. package/esm/internals/defaultizeValueFormatter.d.ts +0 -6
  944. package/esm/internals/defaultizeValueFormatter.js +0 -10
  945. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +0 -12
  946. package/esm/internals/store/useSelector.d.ts +0 -2
  947. package/esm/internals/store/useSelector.js +0 -2
  948. package/internals/defaultizeValueFormatter.d.ts +0 -6
  949. package/internals/defaultizeValueFormatter.js +0 -17
  950. package/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +0 -12
  951. package/internals/store/useSelector.d.ts +0 -2
  952. package/internals/store/useSelector.js +0 -8
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ 'use client';
3
+
4
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
9
+ exports.FocusedScatterMark = FocusedScatterMark;
10
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _styles = require("@mui/material/styles");
13
+ var _useFocusedItem = require("../hooks/useFocusedItem");
14
+ var _hooks = require("../hooks");
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ function FocusedScatterMark(props) {
17
+ const theme = (0, _styles.useTheme)();
18
+ const focusedItem = (0, _useFocusedItem.useFocusedItem)();
19
+ const scatterSeries = (0, _hooks.useScatterSeriesContext)();
20
+ const {
21
+ xAxis,
22
+ xAxisIds
23
+ } = (0, _hooks.useXAxes)();
24
+ const {
25
+ yAxis,
26
+ yAxisIds
27
+ } = (0, _hooks.useYAxes)();
28
+ if (focusedItem === null || focusedItem.seriesType !== 'scatter' || !scatterSeries) {
29
+ return null;
30
+ }
31
+ const series = scatterSeries?.series[focusedItem.seriesId];
32
+ const xAxisId = series.xAxisId ?? xAxisIds[0];
33
+ const yAxisId = series.yAxisId ?? yAxisIds[0];
34
+ const getXPosition = (0, _hooks.getValueToPositionMapper)(xAxis[xAxisId].scale);
35
+ const getYPosition = (0, _hooks.getValueToPositionMapper)(yAxis[yAxisId].scale);
36
+ const scatterPoint = series.data[focusedItem.dataIndex];
37
+ const x = getXPosition(scatterPoint.x);
38
+ const y = getYPosition(scatterPoint.y);
39
+ const size = series.markerSize + 3;
40
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", (0, _extends2.default)({
41
+ fill: "none",
42
+ stroke: (theme.vars ?? theme).palette.text.primary,
43
+ strokeWidth: 2,
44
+ x: x - size,
45
+ y: y - size,
46
+ width: 2 * size,
47
+ height: 2 * size,
48
+ rx: 3,
49
+ ry: 3
50
+ }, props));
51
+ }
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { ScatterMarkerSlotProps, ScatterMarkerSlots } from "./ScatterMarker.types.js";
3
- import { DefaultizedScatterSeriesType, ScatterItemIdentifier } from "../models/seriesType/scatter.js";
4
- import { D3Scale } from "../models/axis.js";
5
- import { ColorGetter } from "../internals/plugins/models/seriesConfig/index.js";
6
- import { ScatterClasses } from "./scatterClasses.js";
2
+ import { type ScatterMarkerSlotProps, type ScatterMarkerSlots } from "./ScatterMarker.types.js";
3
+ import { type DefaultizedScatterSeriesType, type ScatterItemIdentifier } from "../models/seriesType/scatter.js";
4
+ import { type D3Scale } from "../models/axis.js";
5
+ import { type ColorGetter } from "../internals/plugins/models/seriesConfig/index.js";
6
+ import { type ScatterClasses } from "./scatterClasses.js";
7
7
  export interface ScatterProps {
8
8
  series: DefaultizedScatterSeriesType;
9
9
  xScale: D3Scale;
@@ -14,14 +14,12 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
14
14
  var _useSlotProps2 = _interopRequireDefault(require("@mui/utils/useSlotProps"));
15
15
  var _useInteractionItemProps = require("../hooks/useInteractionItemProps");
16
16
  var _useStore = require("../internals/store/useStore");
17
- var _useSelector = require("../internals/store/useSelector");
18
17
  var _useItemHighlightedGetter = require("../hooks/useItemHighlightedGetter");
19
18
  var _useChartClosestPoint = require("../internals/plugins/featurePlugins/useChartClosestPoint");
20
19
  var _ScatterMarker = require("./ScatterMarker");
21
20
  var _scatterClasses = require("./scatterClasses");
22
21
  var _useScatterPlotData = require("./useScatterPlotData");
23
22
  var _ChartProvider = require("../context/ChartProvider");
24
- var _useIsItemFocusedGetter = require("../hooks/useIsItemFocusedGetter");
25
23
  var _jsxRuntime = require("react/jsx-runtime");
26
24
  const _excluded = ["ownerState"];
27
25
  /**
@@ -49,13 +47,12 @@ function Scatter(props) {
49
47
  instance
50
48
  } = (0, _ChartProvider.useChartContext)();
51
49
  const store = (0, _useStore.useStore)();
52
- const isVoronoiEnabled = (0, _useSelector.useSelector)(store, _useChartClosestPoint.selectorChartsIsVoronoiEnabled);
50
+ const isVoronoiEnabled = store.use(_useChartClosestPoint.selectorChartsIsVoronoiEnabled);
53
51
  const skipInteractionHandlers = isVoronoiEnabled || series.disableHover;
54
52
  const {
55
53
  isFaded,
56
54
  isHighlighted
57
55
  } = (0, _useItemHighlightedGetter.useItemHighlightedGetter)();
58
- const isFocused = (0, _useIsItemFocusedGetter.useIsItemFocusedGetter)();
59
56
  const scatterPlotData = (0, _useScatterPlotData.useScatterPlotData)(series, xScale, yScale, instance.isPointInside);
60
57
  const Marker = slots?.marker ?? _ScatterMarker.ScatterMarker;
61
58
  const _useSlotProps = (0, _useSlotProps2.default)({
@@ -75,11 +72,6 @@ function Scatter(props) {
75
72
  children: scatterPlotData.map(dataPoint => {
76
73
  const isItemHighlighted = isHighlighted(dataPoint);
77
74
  const isItemFaded = !isItemHighlighted && isFaded(dataPoint);
78
- const isItemFocused = isFocused({
79
- seriesType: 'scatter',
80
- seriesId: series.id,
81
- dataIndex: dataPoint.dataIndex
82
- });
83
75
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(Marker, (0, _extends2.default)({
84
76
  dataIndex: dataPoint.dataIndex,
85
77
  color: colorGetter(dataPoint.dataIndex),
@@ -93,8 +85,7 @@ function Scatter(props) {
93
85
  dataIndex: dataPoint.dataIndex
94
86
  })),
95
87
  "data-highlighted": isItemHighlighted || undefined,
96
- "data-faded": isItemFaded || undefined,
97
- "data-focused": isItemFocused || undefined
88
+ "data-faded": isItemFaded || undefined
98
89
  }, skipInteractionHandlers ? undefined : (0, _useInteractionItemProps.getInteractionItemProps)(instance, dataPoint), markerProps), dataPoint.id ?? dataPoint.dataIndex);
99
90
  })
100
91
  });
@@ -1,20 +1,20 @@
1
1
  import * as React from 'react';
2
- import { MakeOptional } from '@mui/x-internals/types';
3
- import { ChartsToolbarSlotProps, ChartsToolbarSlots } from "../Toolbar/index.js";
4
- import { ChartsSlots, ChartsSlotProps } from "../internals/material/index.js";
5
- import { ScatterPlotProps, ScatterPlotSlotProps, ScatterPlotSlots } from "./ScatterPlot.js";
6
- import { ChartContainerProps } from "../ChartContainer/index.js";
7
- import { ChartsAxisProps } from "../ChartsAxis/index.js";
8
- import { ScatterSeriesType } from "../models/seriesType/scatter.js";
9
- import { ChartsTooltipProps } from "../ChartsTooltip/index.js";
10
- import { ChartsTooltipSlots, ChartsTooltipSlotProps } from "../ChartsTooltip/ChartTooltip.types.js";
11
- import { ChartsLegendSlotProps, ChartsLegendSlots } from "../ChartsLegend/index.js";
12
- import { ChartsOverlayProps, ChartsOverlaySlotProps, ChartsOverlaySlots } from "../ChartsOverlay/index.js";
13
- import { ChartsAxisHighlightProps } from "../ChartsAxisHighlight/index.js";
14
- import { ChartsAxisSlots, ChartsAxisSlotProps } from "../models/axis.js";
15
- import { ChartsGridProps } from "../ChartsGrid/index.js";
16
- import { UseChartClosestPointSignature } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.js";
17
- import { ScatterChartPluginSignatures } from "./ScatterChart.plugins.js";
2
+ import { type MakeOptional } from '@mui/x-internals/types';
3
+ import { type ChartsToolbarSlotProps, type ChartsToolbarSlots } from "../Toolbar/index.js";
4
+ import { type ChartsSlots, type ChartsSlotProps } from "../internals/material/index.js";
5
+ import { type ScatterPlotProps, type ScatterPlotSlotProps, type ScatterPlotSlots } from "./ScatterPlot.js";
6
+ import { type ChartContainerProps } from "../ChartContainer/index.js";
7
+ import { type ChartsAxisProps } from "../ChartsAxis/index.js";
8
+ import { type ScatterSeriesType } from "../models/seriesType/scatter.js";
9
+ import { type ChartsTooltipProps } from "../ChartsTooltip/index.js";
10
+ import { type ChartsTooltipSlots, type ChartsTooltipSlotProps } from "../ChartsTooltip/ChartTooltip.types.js";
11
+ import { type ChartsLegendSlotProps, type ChartsLegendSlots } from "../ChartsLegend/index.js";
12
+ import { type ChartsOverlayProps, type ChartsOverlaySlotProps, type ChartsOverlaySlots } from "../ChartsOverlay/index.js";
13
+ import { type ChartsAxisHighlightProps } from "../ChartsAxisHighlight/index.js";
14
+ import { type ChartsAxisSlots, type ChartsAxisSlotProps } from "../models/axis.js";
15
+ import { type ChartsGridProps } from "../ChartsGrid/index.js";
16
+ import type { UseChartClosestPointSignature } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.js";
17
+ import type { ScatterChartPluginSignatures } from "./ScatterChart.plugins.js";
18
18
  export interface ScatterChartSlots extends ChartsAxisSlots, ScatterPlotSlots, ChartsLegendSlots, ChartsOverlaySlots, ChartsTooltipSlots, ChartsToolbarSlots, Partial<ChartsSlots> {}
19
19
  export interface ScatterChartSlotProps extends ChartsAxisSlotProps, ScatterPlotSlotProps, ChartsLegendSlotProps, ChartsOverlaySlotProps, Omit<ChartsTooltipSlotProps, 'tooltip'>, ChartsToolbarSlotProps, Partial<ChartsSlotProps> {
20
20
  /**
@@ -23,6 +23,7 @@ var _useChartContainerProps = require("../ChartContainer/useChartContainerProps"
23
23
  var _ChartDataProvider = require("../ChartDataProvider");
24
24
  var _ChartsSurface = require("../ChartsSurface");
25
25
  var _ChartsWrapper = require("../ChartsWrapper");
26
+ var _FocusedScatterMark = require("./FocusedScatterMark");
26
27
  var _jsxRuntime = require("react/jsx-runtime");
27
28
  /**
28
29
  * Demos:
@@ -62,7 +63,7 @@ const ScatterChart = exports.ScatterChart = /*#__PURE__*/React.forwardRef(functi
62
63
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxis.ChartsAxis, (0, _extends2.default)({}, chartsAxisProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsGrid.ChartsGrid, (0, _extends2.default)({}, gridProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
63
64
  "data-drawing-container": true,
64
65
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScatterPlot.ScatterPlot, (0, _extends2.default)({}, scatterPlotProps))
65
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsOverlay.ChartsOverlay, (0, _extends2.default)({}, overlayProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxisHighlight.ChartsAxisHighlight, (0, _extends2.default)({}, axisHighlightProps)), children]
66
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsOverlay.ChartsOverlay, (0, _extends2.default)({}, overlayProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxisHighlight.ChartsAxisHighlight, (0, _extends2.default)({}, axisHighlightProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FocusedScatterMark.FocusedScatterMark, {}), children]
66
67
  })), !props.loading && /*#__PURE__*/(0, _jsxRuntime.jsx)(Tooltip, (0, _extends2.default)({
67
68
  trigger: "item"
68
69
  }, props.slotProps?.tooltip))]
@@ -276,6 +277,11 @@ process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
276
277
  label: _propTypes.default.string,
277
278
  labelStyle: _propTypes.default.object,
278
279
  offset: _propTypes.default.number,
280
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
281
+ format: _propTypes.default.func.isRequired,
282
+ getTickNumber: _propTypes.default.func.isRequired,
283
+ isTick: _propTypes.default.func.isRequired
284
+ })]).isRequired),
279
285
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
280
286
  reverse: _propTypes.default.bool,
281
287
  scaleType: _propTypes.default.oneOf(['band']),
@@ -329,6 +335,11 @@ process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
329
335
  label: _propTypes.default.string,
330
336
  labelStyle: _propTypes.default.object,
331
337
  offset: _propTypes.default.number,
338
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
339
+ format: _propTypes.default.func.isRequired,
340
+ getTickNumber: _propTypes.default.func.isRequired,
341
+ isTick: _propTypes.default.func.isRequired
342
+ })]).isRequired),
332
343
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
333
344
  reverse: _propTypes.default.bool,
334
345
  scaleType: _propTypes.default.oneOf(['point']),
@@ -713,6 +724,11 @@ process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
713
724
  label: _propTypes.default.string,
714
725
  labelStyle: _propTypes.default.object,
715
726
  offset: _propTypes.default.number,
727
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
728
+ format: _propTypes.default.func.isRequired,
729
+ getTickNumber: _propTypes.default.func.isRequired,
730
+ isTick: _propTypes.default.func.isRequired
731
+ })]).isRequired),
716
732
  position: _propTypes.default.oneOf(['left', 'none', 'right']),
717
733
  reverse: _propTypes.default.bool,
718
734
  scaleType: _propTypes.default.oneOf(['band']),
@@ -765,6 +781,11 @@ process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
765
781
  label: _propTypes.default.string,
766
782
  labelStyle: _propTypes.default.object,
767
783
  offset: _propTypes.default.number,
784
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
785
+ format: _propTypes.default.func.isRequired,
786
+ getTickNumber: _propTypes.default.func.isRequired,
787
+ isTick: _propTypes.default.func.isRequired
788
+ })]).isRequired),
768
789
  position: _propTypes.default.oneOf(['left', 'none', 'right']),
769
790
  reverse: _propTypes.default.bool,
770
791
  scaleType: _propTypes.default.oneOf(['point']),
@@ -1,10 +1,11 @@
1
- import { UseChartZAxisSignature } from "../internals/plugins/featurePlugins/useChartZAxis/index.js";
2
- import { UseChartCartesianAxisSignature } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
3
- import { UseChartInteractionSignature } from "../internals/plugins/featurePlugins/useChartInteraction/index.js";
4
- import { UseChartHighlightSignature } from "../internals/plugins/featurePlugins/useChartHighlight/index.js";
5
- import { ConvertSignaturesIntoPlugins } from "../internals/plugins/models/helpers.js";
6
- import { UseChartClosestPointSignature } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.js";
7
- import { UseChartKeyboardNavigationSignature } from "../internals/plugins/featurePlugins/useChartKeyboardNavigation/index.js";
8
- import { UseChartBrushSignature } from "../internals/plugins/featurePlugins/useChartBrush/index.js";
9
- export type ScatterChartPluginSignatures = [UseChartZAxisSignature, UseChartBrushSignature, UseChartInteractionSignature, UseChartCartesianAxisSignature<'scatter'>, UseChartHighlightSignature, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature];
1
+ import { type UseChartZAxisSignature } from "../internals/plugins/featurePlugins/useChartZAxis/index.js";
2
+ import { type UseChartCartesianAxisSignature } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
3
+ import { type UseChartTooltipSignature } from "../internals/plugins/featurePlugins/useChartTooltip/index.js";
4
+ import { type UseChartInteractionSignature } from "../internals/plugins/featurePlugins/useChartInteraction/index.js";
5
+ import { type UseChartHighlightSignature } from "../internals/plugins/featurePlugins/useChartHighlight/index.js";
6
+ import { type ConvertSignaturesIntoPlugins } from "../internals/plugins/models/helpers.js";
7
+ import { type UseChartClosestPointSignature } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.js";
8
+ import { type UseChartKeyboardNavigationSignature } from "../internals/plugins/featurePlugins/useChartKeyboardNavigation/index.js";
9
+ import { type UseChartBrushSignature } from "../internals/plugins/featurePlugins/useChartBrush/index.js";
10
+ export type ScatterChartPluginSignatures = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature, UseChartInteractionSignature, UseChartCartesianAxisSignature<'scatter'>, UseChartHighlightSignature, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature];
10
11
  export declare const SCATTER_CHART_PLUGINS: ConvertSignaturesIntoPlugins<ScatterChartPluginSignatures>;
@@ -6,9 +6,10 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.SCATTER_CHART_PLUGINS = void 0;
7
7
  var _useChartZAxis = require("../internals/plugins/featurePlugins/useChartZAxis");
8
8
  var _useChartCartesianAxis = require("../internals/plugins/featurePlugins/useChartCartesianAxis");
9
+ var _useChartTooltip = require("../internals/plugins/featurePlugins/useChartTooltip");
9
10
  var _useChartInteraction = require("../internals/plugins/featurePlugins/useChartInteraction");
10
11
  var _useChartHighlight = require("../internals/plugins/featurePlugins/useChartHighlight");
11
12
  var _useChartClosestPoint = require("../internals/plugins/featurePlugins/useChartClosestPoint");
12
13
  var _useChartKeyboardNavigation = require("../internals/plugins/featurePlugins/useChartKeyboardNavigation");
13
14
  var _useChartBrush = require("../internals/plugins/featurePlugins/useChartBrush");
14
- const SCATTER_CHART_PLUGINS = exports.SCATTER_CHART_PLUGINS = [_useChartZAxis.useChartZAxis, _useChartBrush.useChartBrush, _useChartInteraction.useChartInteraction, _useChartCartesianAxis.useChartCartesianAxis, _useChartHighlight.useChartHighlight, _useChartClosestPoint.useChartClosestPoint, _useChartKeyboardNavigation.useChartKeyboardNavigation];
15
+ const SCATTER_CHART_PLUGINS = exports.SCATTER_CHART_PLUGINS = [_useChartZAxis.useChartZAxis, _useChartBrush.useChartBrush, _useChartTooltip.useChartTooltip, _useChartInteraction.useChartInteraction, _useChartCartesianAxis.useChartCartesianAxis, _useChartHighlight.useChartHighlight, _useChartClosestPoint.useChartClosestPoint, _useChartKeyboardNavigation.useChartKeyboardNavigation];
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { SeriesId } from "../models/seriesType/common.js";
2
+ import { type SeriesId } from "../models/seriesType/common.js";
3
3
  export interface ScatterMarkerProps {
4
4
  /**
5
5
  * The series ID.
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { ScatterMarkerProps } from "./ScatterMarker.js";
3
3
  export interface ScatterMarkerSlots {
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ScatterProps, ScatterSlotProps, ScatterSlots } from "./Scatter.js";
2
+ import { type ScatterProps, type ScatterSlotProps, type ScatterSlots } from "./Scatter.js";
3
3
  export interface ScatterPlotSlots extends ScatterSlots {
4
4
  scatter?: React.JSXElementConstructor<ScatterProps>;
5
5
  }
@@ -3,6 +3,7 @@ export * from "./ScatterPlot.js";
3
3
  export * from "./Scatter.js";
4
4
  export * from "./ScatterMarker.types.js";
5
5
  export * from "./ScatterMarker.js";
6
+ export * from "./FocusedScatterMark.js";
6
7
  export * from "./ScatterChart.plugins.js";
7
8
  export type { ScatterClasses } from "./scatterClasses.js";
8
9
  export { scatterClasses } from "./scatterClasses.js";
@@ -72,6 +72,18 @@ Object.keys(_ScatterMarker2).forEach(function (key) {
72
72
  }
73
73
  });
74
74
  });
75
+ var _FocusedScatterMark = require("./FocusedScatterMark");
76
+ Object.keys(_FocusedScatterMark).forEach(function (key) {
77
+ if (key === "default" || key === "__esModule") return;
78
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
79
+ if (key in exports && exports[key] === _FocusedScatterMark[key]) return;
80
+ Object.defineProperty(exports, key, {
81
+ enumerable: true,
82
+ get: function () {
83
+ return _FocusedScatterMark[key];
84
+ }
85
+ });
86
+ });
75
87
  var _ScatterChart2 = require("./ScatterChart.plugins");
76
88
  Object.keys(_ScatterChart2).forEach(function (key) {
77
89
  if (key === "default" || key === "__esModule") return;
@@ -1,3 +1,3 @@
1
- import { CartesianExtremumGetter } from "../../internals/plugins/models/seriesConfig/index.js";
1
+ import { type CartesianExtremumGetter } from "../../internals/plugins/models/seriesConfig/index.js";
2
2
  export declare const getExtremumX: CartesianExtremumGetter<'scatter'>;
3
3
  export declare const getExtremumY: CartesianExtremumGetter<'scatter'>;
@@ -1,3 +1,3 @@
1
- import { ColorProcessor } from "../../internals/plugins/models/index.js";
1
+ import { type ColorProcessor } from "../../internals/plugins/models/index.js";
2
2
  declare const getColor: ColorProcessor<'scatter'>;
3
3
  export default getColor;
@@ -1,2 +1,2 @@
1
- import { ChartSeriesTypeConfig } from "../../internals/plugins/models/seriesConfig/index.js";
1
+ import { type ChartSeriesTypeConfig } from "../../internals/plugins/models/seriesConfig/index.js";
2
2
  export declare const scatterSeriesConfig: ChartSeriesTypeConfig<'scatter'>;
@@ -1,3 +1,3 @@
1
- import { LegendGetter } from "../../internals/plugins/models/index.js";
1
+ import { type LegendGetter } from "../../internals/plugins/models/index.js";
2
2
  declare const legendGetter: LegendGetter<'scatter'>;
3
3
  export default legendGetter;
@@ -1,3 +1,3 @@
1
- import { SeriesProcessor } from "../../internals/plugins/models/index.js";
1
+ import { type SeriesProcessor } from "../../internals/plugins/models/index.js";
2
2
  declare const seriesProcessor: SeriesProcessor<'scatter'>;
3
3
  export default seriesProcessor;
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react';
2
- import { ChartsAxisProps } from "../ChartsAxis/index.js";
3
- import { ChartsAxisHighlightProps } from "../ChartsAxisHighlight/index.js";
4
- import { ChartsGridProps } from "../ChartsGrid/index.js";
5
- import { ChartsLegendSlotExtension } from "../ChartsLegend/index.js";
6
- import { ChartsOverlayProps } from "../ChartsOverlay/index.js";
7
- import { ChartContainerProps } from "../ChartContainer/index.js";
2
+ import { type ChartsAxisProps } from "../ChartsAxis/index.js";
3
+ import { type ChartsAxisHighlightProps } from "../ChartsAxisHighlight/index.js";
4
+ import { type ChartsGridProps } from "../ChartsGrid/index.js";
5
+ import { type ChartsLegendSlotExtension } from "../ChartsLegend/index.js";
6
+ import { type ChartsOverlayProps } from "../ChartsOverlay/index.js";
7
+ import { type ChartContainerProps } from "../ChartContainer/index.js";
8
8
  import type { ScatterChartProps } from "./ScatterChart.js";
9
9
  import type { ScatterPlotProps } from "./ScatterPlot.js";
10
10
  import type { ChartsWrapperProps } from "../ChartsWrapper/index.js";
11
- import { ScatterChartPluginSignatures } from "./ScatterChart.plugins.js";
11
+ import { type ScatterChartPluginSignatures } from "./ScatterChart.plugins.js";
12
12
  /**
13
13
  * A helper function that extracts ScatterChartProps from the input props
14
14
  * and returns an object with props for the children components of ScatterChart.
@@ -1,6 +1,6 @@
1
- import { SeriesId } from "../models/seriesType/common.js";
2
- import { D3Scale } from "../models/axis.js";
3
- import { DefaultizedScatterSeriesType, ScatterValueType } from "../models/index.js";
1
+ import { type SeriesId } from "../models/seriesType/common.js";
2
+ import { type D3Scale } from "../models/axis.js";
3
+ import { type DefaultizedScatterSeriesType, type ScatterValueType } from "../models/index.js";
4
4
  export declare function useScatterPlotData(series: DefaultizedScatterSeriesType, xScale: D3Scale, yScale: D3Scale, isPointInside: (x: number, y: number) => boolean): (ScatterValueType & {
5
5
  dataIndex: number;
6
6
  seriesId: SeriesId;
@@ -1,16 +1,16 @@
1
1
  import * as React from 'react';
2
- import { ChartsColor } from "../colorPalettes/index.js";
3
- import { ChartContainerProps } from "../ChartContainer/index.js";
4
- import { ChartsTooltipSlots, ChartsTooltipSlotProps } from "../ChartsTooltip/ChartTooltip.types.js";
5
- import { ChartsAxisHighlightProps } from "../ChartsAxisHighlight/index.js";
6
- import { XAxis, YAxis } from "../models/axis.js";
7
- import { LineSeriesType } from "../models/seriesType/index.js";
8
- import { AreaPlotSlots, AreaPlotSlotProps } from "../LineChart/AreaPlot.js";
9
- import { LinePlotSlots, LinePlotSlotProps } from "../LineChart/LinePlot.js";
10
- import { MarkPlotSlots, MarkPlotSlotProps } from "../LineChart/MarkPlot.js";
11
- import { LineHighlightPlotSlots, LineHighlightPlotSlotProps } from "../LineChart/LineHighlightPlot.js";
12
- import { BarPlotSlots, BarPlotSlotProps } from "../BarChart/BarPlot.js";
13
- import { ChartMargin } from "../internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.js";
2
+ import { type ChartsColor } from "../colorPalettes/index.js";
3
+ import { type ChartContainerProps } from "../ChartContainer/index.js";
4
+ import type { ChartsTooltipSlots, ChartsTooltipSlotProps } from "../ChartsTooltip/ChartTooltip.types.js";
5
+ import { type ChartsAxisHighlightProps } from "../ChartsAxisHighlight/index.js";
6
+ import type { XAxis, YAxis } from "../models/axis.js";
7
+ import type { LineSeriesType } from "../models/seriesType/index.js";
8
+ import type { AreaPlotSlots, AreaPlotSlotProps } from "../LineChart/AreaPlot.js";
9
+ import type { LinePlotSlots, LinePlotSlotProps } from "../LineChart/LinePlot.js";
10
+ import type { MarkPlotSlots, MarkPlotSlotProps } from "../LineChart/MarkPlot.js";
11
+ import type { LineHighlightPlotSlots, LineHighlightPlotSlotProps } from "../LineChart/LineHighlightPlot.js";
12
+ import type { BarPlotSlots, BarPlotSlotProps } from "../BarChart/BarPlot.js";
13
+ import type { ChartMargin } from "../internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.js";
14
14
  export interface SparkLineChartSlots extends AreaPlotSlots, LinePlotSlots, MarkPlotSlots, LineHighlightPlotSlots, Omit<BarPlotSlots, 'barLabel'>, ChartsTooltipSlots {}
15
15
  export interface SparkLineChartSlotProps extends AreaPlotSlotProps, LinePlotSlotProps, MarkPlotSlotProps, LineHighlightPlotSlotProps, BarPlotSlotProps, ChartsTooltipSlotProps {}
16
16
  export interface SparkLineChartProps<PlotType extends 'line' | 'bar' = 'line' | 'bar'> extends Omit<ChartContainerProps, 'series' | 'xAxis' | 'yAxis' | 'zAxis' | 'radiusAxis' | 'rotationAxis' | 'margin' | 'plugins' | 'colors' | 'slots' | 'slotProps' | 'experimentalFeatures'> {
@@ -20,7 +20,7 @@ var _ChartsSurface = require("../ChartsSurface");
20
20
  var _constants = require("../constants");
21
21
  var _ChartsTooltip = require("../ChartsTooltip");
22
22
  var _ChartsAxisHighlight = require("../ChartsAxisHighlight");
23
- var _FocusedMark = require("../LineChart/FocusedMark");
23
+ var _FocusedLineMark = require("../LineChart/FocusedLineMark");
24
24
  var _jsxRuntime = require("react/jsx-runtime");
25
25
  const _excluded = ["xAxis", "yAxis", "width", "height", "margin", "color", "baseline", "sx", "showTooltip", "showHighlight", "axisHighlight", "children", "slots", "slotProps", "data", "plotType", "valueFormatter", "area", "curve", "className", "disableClipping", "clipAreaOffset", "onHighlightChange", "onHighlightedAxisChange", "highlightedAxis", "highlightedItem"];
26
26
  const SPARK_LINE_DEFAULT_MARGIN = 5;
@@ -149,7 +149,7 @@ const SparkLineChart = exports.SparkLineChart = /*#__PURE__*/React.forwardRef(fu
149
149
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_LineChart.LineHighlightPlot, {
150
150
  slots: slots,
151
151
  slotProps: slotProps
152
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FocusedMark.FocusedMark, {})]
152
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FocusedLineMark.FocusedLineMark, {})]
153
153
  }), disableClipping ? null : /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsClipPath.ChartsClipPath, {
154
154
  id: clipPathId,
155
155
  offset: clipPathOffset
@@ -407,6 +407,11 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
407
407
  label: _propTypes.default.string,
408
408
  labelStyle: _propTypes.default.object,
409
409
  offset: _propTypes.default.number,
410
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
411
+ format: _propTypes.default.func.isRequired,
412
+ getTickNumber: _propTypes.default.func.isRequired,
413
+ isTick: _propTypes.default.func.isRequired
414
+ })]).isRequired),
410
415
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
411
416
  reverse: _propTypes.default.bool,
412
417
  scaleType: _propTypes.default.oneOf(['band']),
@@ -460,6 +465,11 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
460
465
  label: _propTypes.default.string,
461
466
  labelStyle: _propTypes.default.object,
462
467
  offset: _propTypes.default.number,
468
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
469
+ format: _propTypes.default.func.isRequired,
470
+ getTickNumber: _propTypes.default.func.isRequired,
471
+ isTick: _propTypes.default.func.isRequired
472
+ })]).isRequired),
463
473
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
464
474
  reverse: _propTypes.default.bool,
465
475
  scaleType: _propTypes.default.oneOf(['point']),
@@ -843,6 +853,11 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
843
853
  label: _propTypes.default.string,
844
854
  labelStyle: _propTypes.default.object,
845
855
  offset: _propTypes.default.number,
856
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
857
+ format: _propTypes.default.func.isRequired,
858
+ getTickNumber: _propTypes.default.func.isRequired,
859
+ isTick: _propTypes.default.func.isRequired
860
+ })]).isRequired),
846
861
  position: _propTypes.default.oneOf(['left', 'none', 'right']),
847
862
  reverse: _propTypes.default.bool,
848
863
  scaleType: _propTypes.default.oneOf(['band']),
@@ -895,6 +910,11 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
895
910
  label: _propTypes.default.string,
896
911
  labelStyle: _propTypes.default.object,
897
912
  offset: _propTypes.default.number,
913
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
914
+ format: _propTypes.default.func.isRequired,
915
+ getTickNumber: _propTypes.default.func.isRequired,
916
+ isTick: _propTypes.default.func.isRequired
917
+ })]).isRequired),
898
918
  position: _propTypes.default.oneOf(['left', 'none', 'right']),
899
919
  reverse: _propTypes.default.bool,
900
920
  scaleType: _propTypes.default.oneOf(['point']),
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
3
3
  declare const ToolbarRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
4
4
  export interface ToolbarProps extends React.ComponentProps<'div'> {
5
5
  className?: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface ChartsToolbarProps {}
3
3
  export interface ChartsToolbarSlots {
4
4
  /**
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { RenderProp } from '@mui/x-internals/useComponentRenderer';
3
- import { ChartsSlotProps } from "../internals/material/index.js";
2
+ import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
3
+ import { type ChartsSlotProps } from "../internals/material/index.js";
4
4
  export type ToolbarButtonProps = ChartsSlotProps['baseIconButton'] & {
5
5
  /**
6
6
  * A function to customize the rendering of the component.
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const blueberryTwilightPaletteLight: string[];
3
3
  export declare const blueberryTwilightPaletteDark: string[];
4
4
  export declare const blueberryTwilightPalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const cheerfulFiestaPaletteDark: string[];
3
3
  export declare const cheerfulFiestaPaletteLight: string[];
4
4
  export declare const cheerfulFiestaPalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const mangoFusionPaletteLight: string[];
3
3
  export declare const mangoFusionPaletteDark: string[];
4
4
  export declare const mangoFusionPalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const rainbowSurgePaletteLight: string[];
3
3
  export declare const rainbowSurgePaletteDark: string[];
4
4
  export declare const rainbowSurgePalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const bluePaletteLight: string[];
3
3
  export declare const bluePaletteDark: string[];
4
4
  export declare const bluePalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const cyanPaletteLight: string[];
3
3
  export declare const cyanPaletteDark: string[];
4
4
  export declare const cyanPalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const greenPaletteLight: string[];
3
3
  export declare const greenPaletteDark: string[];
4
4
  export declare const greenPalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const orangePaletteLight: string[];
3
3
  export declare const orangePaletteDark: string[];
4
4
  export declare const orangePalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const pinkPaletteLight: string[];
3
3
  export declare const pinkPaletteDark: string[];
4
4
  export declare const pinkPalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const purplePaletteLight: string[];
3
3
  export declare const purplePaletteDark: string[];
4
4
  export declare const purplePalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const redPaletteLight: string[];
3
3
  export declare const redPaletteDark: string[];
4
4
  export declare const redPalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const strawberrySkyPaletteLight: string[];
3
3
  export declare const strawberrySkyPaletteDark: string[];
4
4
  export declare const strawberrySkyPalette: ChartsColorPaletteCallback;
@@ -1,4 +1,4 @@
1
- import { ChartsColorPaletteCallback } from "../types.js";
1
+ import { type ChartsColorPaletteCallback } from "../types.js";
2
2
  export declare const yellowPaletteLight: string[];
3
3
  export declare const yellowPaletteDark: string[];
4
4
  export declare const yellowPalette: ChartsColorPaletteCallback;