@mui/x-charts 9.5.0 → 9.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (857) hide show
  1. package/BarChart/AnimatedBarElement.d.mts +2 -2
  2. package/BarChart/AnimatedBarElement.d.ts +2 -2
  3. package/BarChart/BarChart.d.mts +12 -12
  4. package/BarChart/BarChart.d.ts +12 -12
  5. package/BarChart/BarChart.js +1 -1
  6. package/BarChart/BarChart.mjs +1 -1
  7. package/BarChart/BarChart.plugins.d.mts +9 -9
  8. package/BarChart/BarChart.plugins.d.ts +9 -9
  9. package/BarChart/BarElement.d.mts +3 -3
  10. package/BarChart/BarElement.d.ts +3 -3
  11. package/BarChart/BarElement.js +2 -1
  12. package/BarChart/BarElement.mjs +2 -1
  13. package/BarChart/BarLabel/BarLabel.d.mts +1 -1
  14. package/BarChart/BarLabel/BarLabel.d.ts +1 -1
  15. package/BarChart/BarLabel/BarLabel.js +1 -1
  16. package/BarChart/BarLabel/BarLabel.mjs +1 -1
  17. package/BarChart/BarLabel/BarLabel.types.d.mts +2 -2
  18. package/BarChart/BarLabel/BarLabel.types.d.ts +2 -2
  19. package/BarChart/BarLabel/BarLabelItem.d.mts +4 -4
  20. package/BarChart/BarLabel/BarLabelItem.d.ts +4 -4
  21. package/BarChart/BarLabel/BarLabelPlot.d.mts +3 -3
  22. package/BarChart/BarLabel/BarLabelPlot.d.ts +3 -3
  23. package/BarChart/BarLabel/getBarLabel.d.mts +3 -3
  24. package/BarChart/BarLabel/getBarLabel.d.ts +3 -3
  25. package/BarChart/BarPlot.d.mts +4 -4
  26. package/BarChart/BarPlot.d.ts +4 -4
  27. package/BarChart/BarPlot.js +1 -1
  28. package/BarChart/BarPlot.mjs +1 -1
  29. package/BarChart/BatchBarPlot/BatchBarPlot.d.mts +1 -1
  30. package/BarChart/BatchBarPlot/BatchBarPlot.d.ts +1 -1
  31. package/BarChart/IndividualBarPlot.d.mts +3 -3
  32. package/BarChart/IndividualBarPlot.d.ts +3 -3
  33. package/BarChart/barClasses.d.mts +1 -1
  34. package/BarChart/barClasses.d.ts +1 -1
  35. package/BarChart/checkBarChartScaleErrors.d.mts +2 -2
  36. package/BarChart/checkBarChartScaleErrors.d.ts +2 -2
  37. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.mts +1 -1
  38. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +1 -1
  39. package/BarChart/seriesConfig/bar/keyboardFocusHandler.d.mts +1 -1
  40. package/BarChart/seriesConfig/bar/keyboardFocusHandler.d.ts +1 -1
  41. package/BarChart/useBarChartProps.d.mts +10 -10
  42. package/BarChart/useBarChartProps.d.ts +10 -10
  43. package/BarChart/useBarPlotData.d.mts +5 -5
  44. package/BarChart/useBarPlotData.d.ts +5 -5
  45. package/BarChart/useRegisterItemClickHandlers.d.mts +1 -1
  46. package/BarChart/useRegisterItemClickHandlers.d.ts +1 -1
  47. package/CHANGELOG.md +261 -0
  48. package/ChartsAxis/ChartsAxis.d.mts +1 -1
  49. package/ChartsAxis/ChartsAxis.d.ts +1 -1
  50. package/ChartsAxis/ChartsAxis.js +1 -1
  51. package/ChartsAxis/ChartsAxis.mjs +1 -1
  52. package/ChartsAxisHighlight/ChartsAxisHighlight.d.mts +1 -1
  53. package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
  54. package/ChartsAxisHighlight/ChartsAxisHighlight.js +1 -1
  55. package/ChartsAxisHighlight/ChartsAxisHighlight.mjs +1 -1
  56. package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.mts +1 -1
  57. package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
  58. package/ChartsAxisHighlight/ChartsXAxisHighlight.d.mts +2 -2
  59. package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
  60. package/ChartsAxisHighlight/ChartsYAxisHighlight.d.mts +2 -2
  61. package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
  62. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.mts +2 -2
  63. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.ts +2 -2
  64. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.js +2 -2
  65. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.mjs +2 -2
  66. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.mts +1 -1
  67. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.ts +1 -1
  68. package/ChartsBrushOverlay/ChartsBrushOverlay.d.mts +5 -1
  69. package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +5 -1
  70. package/ChartsBrushOverlay/ChartsBrushOverlay.js +12 -1
  71. package/ChartsBrushOverlay/ChartsBrushOverlay.mjs +14 -2
  72. package/ChartsClipPath/ChartsClipPath.js +1 -1
  73. package/ChartsClipPath/ChartsClipPath.mjs +1 -1
  74. package/ChartsContainer/ChartsContainer.d.mts +5 -5
  75. package/ChartsContainer/ChartsContainer.d.ts +5 -5
  76. package/ChartsContainer/ChartsContainer.js +5 -3
  77. package/ChartsContainer/ChartsContainer.mjs +5 -3
  78. package/ChartsContainer/useChartsContainerProps.d.mts +5 -5
  79. package/ChartsContainer/useChartsContainerProps.d.ts +5 -5
  80. package/ChartsDataProvider/ChartsDataProvider.d.mts +6 -6
  81. package/ChartsDataProvider/ChartsDataProvider.d.ts +6 -6
  82. package/ChartsDataProvider/ChartsDataProvider.js +5 -1
  83. package/ChartsDataProvider/ChartsDataProvider.mjs +5 -1
  84. package/ChartsDataProvider/useChartsDataProviderProps.d.mts +5 -5
  85. package/ChartsDataProvider/useChartsDataProviderProps.d.ts +5 -5
  86. package/ChartsGrid/ChartsGrid.d.mts +1 -1
  87. package/ChartsGrid/ChartsGrid.d.ts +1 -1
  88. package/ChartsGrid/ChartsGrid.js +5 -1
  89. package/ChartsGrid/ChartsGrid.mjs +5 -1
  90. package/ChartsGrid/ChartsHorizontalGrid.d.mts +2 -2
  91. package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
  92. package/ChartsGrid/ChartsVerticalGrid.d.mts +2 -2
  93. package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
  94. package/ChartsLabel/ChartsLabel.d.mts +2 -2
  95. package/ChartsLabel/ChartsLabel.d.ts +2 -2
  96. package/ChartsLabel/ChartsLabelGradient.d.mts +2 -2
  97. package/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
  98. package/ChartsLabel/ChartsLabelMark.d.mts +2 -2
  99. package/ChartsLabel/ChartsLabelMark.d.ts +2 -2
  100. package/ChartsLayerContainer/ChartsLayerContainer.d.mts +1 -1
  101. package/ChartsLayerContainer/ChartsLayerContainer.d.ts +1 -1
  102. package/ChartsLayerContainer/ChartsLayerContainer.js +1 -1
  103. package/ChartsLayerContainer/ChartsLayerContainer.mjs +1 -1
  104. package/ChartsLegend/ChartsLegend.d.mts +3 -3
  105. package/ChartsLegend/ChartsLegend.d.ts +3 -3
  106. package/ChartsLegend/ContinuousColorLegend.d.mts +6 -6
  107. package/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
  108. package/ChartsLegend/PiecewiseColorLegend.d.mts +8 -8
  109. package/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
  110. package/ChartsLegend/chartsLegend.types.d.mts +3 -3
  111. package/ChartsLegend/chartsLegend.types.d.ts +3 -3
  112. package/ChartsLegend/colorLegend.types.d.mts +1 -1
  113. package/ChartsLegend/colorLegend.types.d.ts +1 -1
  114. package/ChartsLegend/legend.types.d.mts +1 -1
  115. package/ChartsLegend/legend.types.d.ts +1 -1
  116. package/ChartsLegend/legendContext.types.d.mts +2 -2
  117. package/ChartsLegend/legendContext.types.d.ts +2 -2
  118. package/ChartsLegend/onClickContextBuilder.d.mts +1 -1
  119. package/ChartsLegend/onClickContextBuilder.d.ts +1 -1
  120. package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.mts +1 -1
  121. package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
  122. package/ChartsLegend/useAxis.d.mts +3 -3
  123. package/ChartsLegend/useAxis.d.ts +3 -3
  124. package/ChartsLocalizationProvider/ChartsLocalizationProvider.js +1 -1
  125. package/ChartsLocalizationProvider/ChartsLocalizationProvider.mjs +1 -1
  126. package/ChartsOverlay/ChartsOverlay.d.mts +2 -2
  127. package/ChartsOverlay/ChartsOverlay.d.ts +2 -2
  128. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.mts +1 -1
  129. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.ts +1 -1
  130. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.js +2 -2
  131. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.mjs +2 -2
  132. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.mts +2 -2
  133. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.ts +2 -2
  134. package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.mts +2 -2
  135. package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.ts +2 -2
  136. package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.mts +6 -6
  137. package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.ts +6 -6
  138. package/ChartsRadialDataProvider/ChartsRadialDataProvider.js +9 -1
  139. package/ChartsRadialDataProvider/ChartsRadialDataProvider.mjs +9 -1
  140. package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.d.mts +6 -6
  141. package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.d.ts +6 -6
  142. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.mts +5 -5
  143. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.ts +5 -5
  144. package/ChartsRadialGrid/ChartsRadialGrid.d.mts +1 -1
  145. package/ChartsRadialGrid/ChartsRadialGrid.d.ts +1 -1
  146. package/ChartsRadialGrid/ChartsRadialGrid.js +5 -1
  147. package/ChartsRadialGrid/ChartsRadialGrid.mjs +5 -1
  148. package/ChartsRadialGrid/ChartsRadiusGrid.d.mts +2 -2
  149. package/ChartsRadialGrid/ChartsRadiusGrid.d.ts +2 -2
  150. package/ChartsRadialGrid/ChartsRotationGrid.d.mts +2 -2
  151. package/ChartsRadialGrid/ChartsRotationGrid.d.ts +2 -2
  152. package/ChartsRadiusAxis/ChartsRadiusAxis.d.mts +8 -2
  153. package/ChartsRadiusAxis/ChartsRadiusAxis.d.ts +8 -2
  154. package/ChartsRadiusAxis/ChartsRadiusAxis.js +143 -3
  155. package/ChartsRadiusAxis/ChartsRadiusAxis.mjs +144 -5
  156. package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.mts +1 -1
  157. package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.ts +1 -1
  158. package/ChartsReferenceLine/ChartsReferenceLine.d.mts +3 -3
  159. package/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
  160. package/ChartsReferenceLine/ChartsReferenceLine.js +1 -1
  161. package/ChartsReferenceLine/ChartsReferenceLine.mjs +1 -1
  162. package/ChartsReferenceLine/ChartsXReferenceLine.d.mts +2 -2
  163. package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
  164. package/ChartsReferenceLine/ChartsYReferenceLine.d.mts +2 -2
  165. package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
  166. package/ChartsReferenceLine/common.d.mts +3 -3
  167. package/ChartsReferenceLine/common.d.ts +3 -3
  168. package/ChartsRotationAxis/ChartsRotationAxis.d.mts +8 -2
  169. package/ChartsRotationAxis/ChartsRotationAxis.d.ts +8 -2
  170. package/ChartsRotationAxis/ChartsRotationAxis.js +140 -3
  171. package/ChartsRotationAxis/ChartsRotationAxis.mjs +141 -5
  172. package/ChartsRotationAxis/chartsRotationAxisClasses.d.mts +1 -1
  173. package/ChartsRotationAxis/chartsRotationAxisClasses.d.ts +1 -1
  174. package/ChartsRotationAxis/index.d.mts +1 -1
  175. package/ChartsRotationAxis/index.d.ts +1 -1
  176. package/ChartsSurface/ChartsSurface.d.mts +2 -2
  177. package/ChartsSurface/ChartsSurface.d.ts +2 -2
  178. package/ChartsSurface/ChartsSurface.js +1 -1
  179. package/ChartsSurface/ChartsSurface.mjs +1 -1
  180. package/ChartsSvgLayer/ChartsSvgLayer.d.mts +1 -1
  181. package/ChartsSvgLayer/ChartsSvgLayer.d.ts +1 -1
  182. package/ChartsSvgLayer/ChartsSvgLayer.js +1 -1
  183. package/ChartsSvgLayer/ChartsSvgLayer.mjs +1 -1
  184. package/ChartsText/ChartsText.d.mts +1 -1
  185. package/ChartsText/ChartsText.d.ts +1 -1
  186. package/ChartsText/ChartsText.js +2 -2
  187. package/ChartsText/ChartsText.mjs +2 -2
  188. package/ChartsText/defaultTextPlacement.d.mts +1 -1
  189. package/ChartsText/defaultTextPlacement.d.ts +1 -1
  190. package/ChartsTooltip/ChartTooltip.types.d.mts +2 -2
  191. package/ChartsTooltip/ChartTooltip.types.d.ts +2 -2
  192. package/ChartsTooltip/ChartsAxisTooltipContent.d.mts +2 -2
  193. package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
  194. package/ChartsTooltip/ChartsAxisTooltipContent.js +29 -3
  195. package/ChartsTooltip/ChartsAxisTooltipContent.mjs +29 -3
  196. package/ChartsTooltip/ChartsItemTooltipContent.d.mts +2 -2
  197. package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
  198. package/ChartsTooltip/ChartsItemTooltipContent.js +52 -1
  199. package/ChartsTooltip/ChartsItemTooltipContent.mjs +52 -1
  200. package/ChartsTooltip/ChartsTooltip.d.mts +2 -2
  201. package/ChartsTooltip/ChartsTooltip.d.ts +2 -2
  202. package/ChartsTooltip/ChartsTooltip.js +13 -33
  203. package/ChartsTooltip/ChartsTooltip.mjs +13 -33
  204. package/ChartsTooltip/ChartsTooltipContainer.d.mts +3 -3
  205. package/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
  206. package/ChartsTooltip/ChartsTooltipContainer.js +6 -26
  207. package/ChartsTooltip/ChartsTooltipContainer.mjs +6 -26
  208. package/ChartsTooltip/useAxesTooltip.d.mts +4 -4
  209. package/ChartsTooltip/useAxesTooltip.d.ts +4 -4
  210. package/ChartsTooltip/useItemTooltip.d.mts +1 -1
  211. package/ChartsTooltip/useItemTooltip.d.ts +1 -1
  212. package/ChartsWrapper/ChartsWrapper.d.mts +3 -3
  213. package/ChartsWrapper/ChartsWrapper.d.ts +3 -3
  214. package/ChartsWrapper/ChartsWrapper.js +1 -1
  215. package/ChartsWrapper/ChartsWrapper.mjs +1 -1
  216. package/ChartsXAxis/ChartsGroupedXAxisTicks.d.mts +1 -1
  217. package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
  218. package/ChartsXAxis/ChartsSingleXAxisTicks.js +1 -1
  219. package/ChartsXAxis/ChartsSingleXAxisTicks.mjs +1 -1
  220. package/ChartsXAxis/ChartsXAxis.d.mts +1 -1
  221. package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
  222. package/ChartsXAxis/ChartsXAxis.js +11 -2
  223. package/ChartsXAxis/ChartsXAxis.mjs +11 -2
  224. package/ChartsXAxis/getVisibleLabels.d.mts +2 -2
  225. package/ChartsXAxis/getVisibleLabels.d.ts +2 -2
  226. package/ChartsXAxis/shortenLabels.d.mts +3 -3
  227. package/ChartsXAxis/shortenLabels.d.ts +3 -3
  228. package/ChartsXAxis/useAxisTicksProps.d.mts +3 -2
  229. package/ChartsXAxis/useAxisTicksProps.d.ts +3 -2
  230. package/ChartsXAxis/utilities.d.mts +1 -1
  231. package/ChartsXAxis/utilities.d.ts +1 -1
  232. package/ChartsYAxis/ChartsGroupedYAxisTicks.d.mts +1 -1
  233. package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
  234. package/ChartsYAxis/ChartsSingleYAxisTicks.js +1 -1
  235. package/ChartsYAxis/ChartsSingleYAxisTicks.mjs +1 -1
  236. package/ChartsYAxis/ChartsYAxis.d.mts +1 -1
  237. package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
  238. package/ChartsYAxis/ChartsYAxis.js +11 -2
  239. package/ChartsYAxis/ChartsYAxis.mjs +11 -2
  240. package/ChartsYAxis/ChartsYAxisImpl.js +1 -1
  241. package/ChartsYAxis/ChartsYAxisImpl.mjs +1 -1
  242. package/ChartsYAxis/shortenLabels.d.mts +3 -3
  243. package/ChartsYAxis/shortenLabels.d.ts +3 -3
  244. package/ChartsYAxis/useAxisTicksProps.d.mts +3 -2
  245. package/ChartsYAxis/useAxisTicksProps.d.ts +3 -2
  246. package/ChartsYAxis/utilities.d.mts +1 -1
  247. package/ChartsYAxis/utilities.d.ts +1 -1
  248. package/Gauge/Gauge.d.mts +3 -3
  249. package/Gauge/Gauge.d.ts +3 -3
  250. package/Gauge/Gauge.js +1 -1
  251. package/Gauge/Gauge.mjs +1 -1
  252. package/Gauge/GaugeContainer.d.mts +4 -4
  253. package/Gauge/GaugeContainer.d.ts +4 -4
  254. package/Gauge/GaugeContainer.js +1 -1
  255. package/Gauge/GaugeContainer.mjs +1 -1
  256. package/Gauge/GaugeValueArc.js +2 -2
  257. package/Gauge/GaugeValueArc.mjs +2 -2
  258. package/Gauge/GaugeValueText.d.mts +1 -1
  259. package/Gauge/GaugeValueText.d.ts +1 -1
  260. package/Gauge/GaugeValueText.js +1 -1
  261. package/Gauge/GaugeValueText.mjs +1 -1
  262. package/LineChart/AnimatedArea.js +3 -3
  263. package/LineChart/AnimatedArea.mjs +3 -3
  264. package/LineChart/AnimatedLine.js +1 -1
  265. package/LineChart/AnimatedLine.mjs +1 -1
  266. package/LineChart/AppearingMask.d.mts +1 -1
  267. package/LineChart/AppearingMask.d.ts +1 -1
  268. package/LineChart/AreaElement.d.mts +5 -5
  269. package/LineChart/AreaElement.d.ts +5 -5
  270. package/LineChart/AreaElement.js +2 -2
  271. package/LineChart/AreaElement.mjs +2 -2
  272. package/LineChart/AreaPlot.d.mts +2 -2
  273. package/LineChart/AreaPlot.d.ts +2 -2
  274. package/LineChart/AreaPlot.js +1 -1
  275. package/LineChart/AreaPlot.mjs +1 -1
  276. package/LineChart/CircleMarkElement.d.mts +2 -2
  277. package/LineChart/CircleMarkElement.d.ts +2 -2
  278. package/LineChart/LineChart.d.mts +14 -14
  279. package/LineChart/LineChart.d.ts +14 -14
  280. package/LineChart/LineChart.js +1 -1
  281. package/LineChart/LineChart.mjs +1 -1
  282. package/LineChart/LineChart.plugins.d.mts +9 -9
  283. package/LineChart/LineChart.plugins.d.ts +9 -9
  284. package/LineChart/LineElement.d.mts +5 -5
  285. package/LineChart/LineElement.d.ts +5 -5
  286. package/LineChart/LineElement.js +4 -2
  287. package/LineChart/LineElement.mjs +4 -2
  288. package/LineChart/LineHighlightElement.d.mts +1 -1
  289. package/LineChart/LineHighlightElement.d.ts +1 -1
  290. package/LineChart/LineHighlightElement.js +1 -2
  291. package/LineChart/LineHighlightElement.mjs +1 -2
  292. package/LineChart/LineHighlightPlot.d.mts +2 -2
  293. package/LineChart/LineHighlightPlot.d.ts +2 -2
  294. package/LineChart/LineHighlightPlot.js +1 -1
  295. package/LineChart/LineHighlightPlot.mjs +1 -1
  296. package/LineChart/LinePlot.d.mts +2 -2
  297. package/LineChart/LinePlot.d.ts +2 -2
  298. package/LineChart/LinePlot.js +1 -1
  299. package/LineChart/LinePlot.mjs +1 -1
  300. package/LineChart/MarkElement.d.mts +9 -1
  301. package/LineChart/MarkElement.d.ts +9 -1
  302. package/LineChart/MarkElement.js +3 -2
  303. package/LineChart/MarkElement.mjs +3 -2
  304. package/LineChart/MarkPlot.d.mts +2 -2
  305. package/LineChart/MarkPlot.d.ts +2 -2
  306. package/LineChart/MarkPlot.js +2 -1
  307. package/LineChart/MarkPlot.mjs +2 -1
  308. package/LineChart/lineClasses.d.mts +0 -9
  309. package/LineChart/lineClasses.d.ts +0 -9
  310. package/LineChart/lineClasses.js +0 -1
  311. package/LineChart/lineClasses.mjs +1 -1
  312. package/LineChart/seriesConfig/extremums.d.mts +1 -1
  313. package/LineChart/seriesConfig/extremums.d.ts +1 -1
  314. package/LineChart/seriesConfig/getColor.d.mts +1 -1
  315. package/LineChart/seriesConfig/getColor.d.ts +1 -1
  316. package/LineChart/seriesConfig/index.d.mts +1 -1
  317. package/LineChart/seriesConfig/index.d.ts +1 -1
  318. package/LineChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
  319. package/LineChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
  320. package/LineChart/seriesConfig/legend.d.mts +1 -1
  321. package/LineChart/seriesConfig/legend.d.ts +1 -1
  322. package/LineChart/useAreaPlotData.d.mts +3 -3
  323. package/LineChart/useAreaPlotData.d.ts +3 -3
  324. package/LineChart/useLineChartProps.d.mts +12 -12
  325. package/LineChart/useLineChartProps.d.ts +12 -12
  326. package/LineChart/useLineChartProps.mjs +0 -1
  327. package/LineChart/useLinePlotData.d.mts +3 -3
  328. package/LineChart/useLinePlotData.d.ts +3 -3
  329. package/LineChart/useMarkPlotData.d.mts +4 -4
  330. package/LineChart/useMarkPlotData.d.ts +4 -4
  331. package/PieChart/FocusedPieArc.d.mts +6 -2
  332. package/PieChart/FocusedPieArc.d.ts +6 -2
  333. package/PieChart/FocusedPieArc.js +22 -1
  334. package/PieChart/FocusedPieArc.mjs +24 -2
  335. package/PieChart/PieArc.d.mts +1 -1
  336. package/PieChart/PieArc.d.ts +1 -1
  337. package/PieChart/PieArc.js +1 -1
  338. package/PieChart/PieArc.mjs +1 -1
  339. package/PieChart/PieArcLabel.d.mts +2 -2
  340. package/PieChart/PieArcLabel.d.ts +2 -2
  341. package/PieChart/PieArcLabel.js +1 -1
  342. package/PieChart/PieArcLabel.mjs +1 -1
  343. package/PieChart/PieArcLabelPlot.d.mts +2 -2
  344. package/PieChart/PieArcLabelPlot.d.ts +2 -2
  345. package/PieChart/PieArcLabelPlot.js +7 -6
  346. package/PieChart/PieArcLabelPlot.mjs +7 -6
  347. package/PieChart/PieArcPlot.d.mts +2 -2
  348. package/PieChart/PieArcPlot.d.ts +2 -2
  349. package/PieChart/PieArcPlot.js +7 -6
  350. package/PieChart/PieArcPlot.mjs +7 -6
  351. package/PieChart/PieChart.d.mts +11 -11
  352. package/PieChart/PieChart.d.ts +11 -11
  353. package/PieChart/PieChart.js +1 -1
  354. package/PieChart/PieChart.mjs +1 -1
  355. package/PieChart/PieChart.plugins.d.mts +6 -6
  356. package/PieChart/PieChart.plugins.d.ts +6 -6
  357. package/PieChart/PiePlot.d.mts +2 -2
  358. package/PieChart/PiePlot.d.ts +2 -2
  359. package/PieChart/PiePlot.js +2 -1
  360. package/PieChart/PiePlot.mjs +2 -1
  361. package/PieChart/dataTransform/useTransformData.d.mts +1 -1
  362. package/PieChart/dataTransform/useTransformData.d.ts +1 -1
  363. package/PieChart/getPieCoordinates.d.mts +2 -2
  364. package/PieChart/getPieCoordinates.d.ts +2 -2
  365. package/PieChart/pieClasses.d.mts +1 -1
  366. package/PieChart/pieClasses.d.ts +1 -1
  367. package/PieChart/seriesConfig/getColor.d.mts +1 -1
  368. package/PieChart/seriesConfig/getColor.d.ts +1 -1
  369. package/PieChart/seriesConfig/index.d.mts +1 -1
  370. package/PieChart/seriesConfig/index.d.ts +1 -1
  371. package/PieChart/seriesConfig/legend.d.mts +1 -1
  372. package/PieChart/seriesConfig/legend.d.ts +1 -1
  373. package/PieChart/seriesConfig/seriesProcessor.d.mts +1 -1
  374. package/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
  375. package/RadarChart/RadarAxis/RadarAxis.d.mts +2 -2
  376. package/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
  377. package/RadarChart/RadarAxis/RadarAxis.js +5 -1
  378. package/RadarChart/RadarAxis/RadarAxis.mjs +5 -1
  379. package/RadarChart/RadarAxis/RadarAxis.utils.d.mts +1 -1
  380. package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
  381. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.mts +1 -1
  382. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
  383. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +6 -2
  384. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.mjs +6 -2
  385. package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.mts +4 -4
  386. package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
  387. package/RadarChart/RadarChart.d.mts +11 -11
  388. package/RadarChart/RadarChart.d.ts +11 -11
  389. package/RadarChart/RadarChart.js +1 -1
  390. package/RadarChart/RadarChart.mjs +1 -1
  391. package/RadarChart/RadarChart.plugins.d.mts +6 -6
  392. package/RadarChart/RadarChart.plugins.d.ts +6 -6
  393. package/RadarChart/RadarDataProvider/RadarDataProvider.d.mts +6 -6
  394. package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
  395. package/RadarChart/RadarDataProvider/radar.types.d.mts +1 -1
  396. package/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
  397. package/RadarChart/RadarGrid/CircularRadarGrid.d.mts +1 -1
  398. package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
  399. package/RadarChart/RadarGrid/CircularRadarStripes.d.mts +1 -1
  400. package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
  401. package/RadarChart/RadarGrid/RadarGrid.d.mts +1 -1
  402. package/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
  403. package/RadarChart/RadarGrid/RadarGrid.js +1 -5
  404. package/RadarChart/RadarGrid/RadarGrid.mjs +1 -5
  405. package/RadarChart/RadarGrid/RadarGrid.types.d.mts +1 -1
  406. package/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
  407. package/RadarChart/RadarGrid/SharpRadarGrid.d.mts +1 -1
  408. package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
  409. package/RadarChart/RadarGrid/SharpRadarStripes.d.mts +1 -1
  410. package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
  411. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +2 -2
  412. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +2 -2
  413. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +5 -1
  414. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +5 -1
  415. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +3 -3
  416. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +3 -3
  417. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +5 -1
  418. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +5 -1
  419. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.mts +1 -1
  420. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
  421. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +5 -1
  422. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +5 -1
  423. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.mts +2 -2
  424. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +2 -2
  425. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.mts +1 -1
  426. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
  427. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +1 -1
  428. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
  429. package/RadarChart/seriesConfig/extremums.d.mts +1 -1
  430. package/RadarChart/seriesConfig/extremums.d.ts +1 -1
  431. package/RadarChart/seriesConfig/getColor.d.mts +1 -1
  432. package/RadarChart/seriesConfig/getColor.d.ts +1 -1
  433. package/RadarChart/seriesConfig/index.d.mts +1 -1
  434. package/RadarChart/seriesConfig/index.d.ts +1 -1
  435. package/RadarChart/seriesConfig/legend.d.mts +1 -1
  436. package/RadarChart/seriesConfig/legend.d.ts +1 -1
  437. package/RadarChart/seriesConfig/seriesProcessor.d.mts +1 -1
  438. package/RadarChart/seriesConfig/seriesProcessor.d.ts +1 -1
  439. package/RadarChart/useRadarChartProps.d.mts +7 -7
  440. package/RadarChart/useRadarChartProps.d.ts +7 -7
  441. package/ScatterChart/BatchScatter.d.mts +3 -3
  442. package/ScatterChart/BatchScatter.d.ts +3 -3
  443. package/ScatterChart/Scatter.d.mts +4 -4
  444. package/ScatterChart/Scatter.d.ts +4 -4
  445. package/ScatterChart/Scatter.js +1 -1
  446. package/ScatterChart/Scatter.mjs +1 -1
  447. package/ScatterChart/ScatterChart.d.mts +13 -13
  448. package/ScatterChart/ScatterChart.d.ts +13 -13
  449. package/ScatterChart/ScatterChart.js +5 -3
  450. package/ScatterChart/ScatterChart.mjs +5 -3
  451. package/ScatterChart/ScatterChart.plugins.d.mts +11 -11
  452. package/ScatterChart/ScatterChart.plugins.d.ts +11 -11
  453. package/ScatterChart/ScatterMarker.d.mts +1 -1
  454. package/ScatterChart/ScatterMarker.d.ts +1 -1
  455. package/ScatterChart/ScatterMarker.js +2 -2
  456. package/ScatterChart/ScatterMarker.mjs +2 -2
  457. package/ScatterChart/ScatterPlot.d.mts +9 -2
  458. package/ScatterChart/ScatterPlot.d.ts +9 -2
  459. package/ScatterChart/ScatterPlot.js +5 -2
  460. package/ScatterChart/ScatterPlot.mjs +5 -2
  461. package/ScatterChart/async/ScatterAsync.d.mts +7 -1
  462. package/ScatterChart/async/ScatterAsync.d.ts +7 -1
  463. package/ScatterChart/async/ScatterAsync.js +32 -10
  464. package/ScatterChart/async/ScatterAsync.mjs +31 -10
  465. package/ScatterChart/async/ScatterAsyncBatch.d.mts +13 -8
  466. package/ScatterChart/async/ScatterAsyncBatch.d.ts +13 -8
  467. package/ScatterChart/async/ScatterAsyncBatch.js +17 -11
  468. package/ScatterChart/async/ScatterAsyncBatch.mjs +18 -12
  469. package/ScatterChart/async/scatterRenderData.selectors.d.mts +22 -25
  470. package/ScatterChart/async/scatterRenderData.selectors.d.ts +22 -25
  471. package/ScatterChart/async/scatterRenderData.selectors.js +34 -49
  472. package/ScatterChart/async/scatterRenderData.selectors.mjs +33 -48
  473. package/ScatterChart/seriesConfig/extremums.d.mts +1 -1
  474. package/ScatterChart/seriesConfig/extremums.d.ts +1 -1
  475. package/ScatterChart/seriesConfig/getColor.d.mts +1 -1
  476. package/ScatterChart/seriesConfig/getColor.d.ts +1 -1
  477. package/ScatterChart/seriesConfig/getColor.js +6 -15
  478. package/ScatterChart/seriesConfig/getColor.mjs +6 -15
  479. package/ScatterChart/seriesConfig/getMarkerSize.d.mts +2 -2
  480. package/ScatterChart/seriesConfig/getMarkerSize.d.ts +2 -2
  481. package/ScatterChart/seriesConfig/index.d.mts +1 -1
  482. package/ScatterChart/seriesConfig/index.d.ts +1 -1
  483. package/ScatterChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
  484. package/ScatterChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
  485. package/ScatterChart/seriesConfig/legend.d.mts +1 -1
  486. package/ScatterChart/seriesConfig/legend.d.ts +1 -1
  487. package/ScatterChart/seriesConfig/seriesProcessor.d.mts +1 -1
  488. package/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
  489. package/ScatterChart/useScatterChartProps.d.mts +7 -7
  490. package/ScatterChart/useScatterChartProps.d.ts +7 -7
  491. package/ScatterChart/useScatterItemPosition.d.mts +1 -1
  492. package/ScatterChart/useScatterItemPosition.d.ts +1 -1
  493. package/ScatterChart/useScatterPlotData.d.mts +3 -3
  494. package/ScatterChart/useScatterPlotData.d.ts +3 -3
  495. package/SparkLineChart/SparkLineChart.d.mts +3 -3
  496. package/SparkLineChart/SparkLineChart.d.ts +3 -3
  497. package/SparkLineChart/SparkLineChart.js +1 -1
  498. package/SparkLineChart/SparkLineChart.mjs +1 -1
  499. package/Toolbar/Toolbar.d.mts +1 -1
  500. package/Toolbar/Toolbar.d.ts +1 -1
  501. package/Toolbar/Toolbar.js +1 -1
  502. package/Toolbar/Toolbar.mjs +1 -1
  503. package/Toolbar/ToolbarButton.d.mts +2 -2
  504. package/Toolbar/ToolbarButton.d.ts +2 -2
  505. package/Toolbar/ToolbarButton.js +1 -1
  506. package/Toolbar/ToolbarButton.mjs +1 -1
  507. package/colorPalettes/categorical/blueberryTwilight.d.mts +1 -1
  508. package/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
  509. package/colorPalettes/categorical/cheerfulFiesta.d.mts +1 -1
  510. package/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
  511. package/colorPalettes/categorical/mangoFusion.d.mts +1 -1
  512. package/colorPalettes/categorical/mangoFusion.d.ts +1 -1
  513. package/colorPalettes/categorical/rainbowSurge.d.mts +1 -1
  514. package/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
  515. package/colorPalettes/sequential/blue.d.mts +1 -1
  516. package/colorPalettes/sequential/blue.d.ts +1 -1
  517. package/colorPalettes/sequential/cyan.d.mts +1 -1
  518. package/colorPalettes/sequential/cyan.d.ts +1 -1
  519. package/colorPalettes/sequential/green.d.mts +1 -1
  520. package/colorPalettes/sequential/green.d.ts +1 -1
  521. package/colorPalettes/sequential/orange.d.mts +1 -1
  522. package/colorPalettes/sequential/orange.d.ts +1 -1
  523. package/colorPalettes/sequential/pink.d.mts +1 -1
  524. package/colorPalettes/sequential/pink.d.ts +1 -1
  525. package/colorPalettes/sequential/purple.d.mts +1 -1
  526. package/colorPalettes/sequential/purple.d.ts +1 -1
  527. package/colorPalettes/sequential/red.d.mts +1 -1
  528. package/colorPalettes/sequential/red.d.ts +1 -1
  529. package/colorPalettes/sequential/strawberrySky.d.mts +1 -1
  530. package/colorPalettes/sequential/strawberrySky.d.ts +1 -1
  531. package/colorPalettes/sequential/yellow.d.mts +1 -1
  532. package/colorPalettes/sequential/yellow.d.ts +1 -1
  533. package/context/ChartsProvider/ChartsProvider.d.mts +1 -1
  534. package/context/ChartsProvider/ChartsProvider.d.ts +1 -1
  535. package/context/ChartsProvider/ChartsProvider.types.d.mts +1 -1
  536. package/context/ChartsProvider/ChartsProvider.types.d.ts +1 -1
  537. package/context/ChartsProvider/useChartsContext.d.mts +2 -2
  538. package/context/ChartsProvider/useChartsContext.d.ts +2 -2
  539. package/context/ChartsSlotsContext.d.mts +1 -1
  540. package/context/ChartsSlotsContext.d.ts +1 -1
  541. package/context/useChartApiContext.d.mts +1 -1
  542. package/context/useChartApiContext.d.ts +1 -1
  543. package/hooks/useAxis.d.mts +1 -1
  544. package/hooks/useAxis.d.ts +1 -1
  545. package/hooks/useAxisCoordinates.d.mts +2 -2
  546. package/hooks/useAxisCoordinates.d.ts +2 -2
  547. package/hooks/useAxisTicks.d.mts +2 -2
  548. package/hooks/useAxisTicks.d.ts +2 -2
  549. package/hooks/useBarSeries.d.mts +3 -3
  550. package/hooks/useBarSeries.d.ts +3 -3
  551. package/hooks/useChartGradientId.d.mts +1 -1
  552. package/hooks/useChartGradientId.d.ts +1 -1
  553. package/hooks/useColorScale.d.mts +1 -1
  554. package/hooks/useColorScale.d.ts +1 -1
  555. package/hooks/useDataset.d.mts +1 -1
  556. package/hooks/useDataset.d.ts +1 -1
  557. package/hooks/useItemHighlightStateGetter.d.mts +1 -1
  558. package/hooks/useItemHighlightStateGetter.d.ts +1 -1
  559. package/hooks/useLineSeries.d.mts +3 -3
  560. package/hooks/useLineSeries.d.ts +3 -3
  561. package/hooks/useRadarSeries.d.mts +3 -3
  562. package/hooks/useRadarSeries.d.ts +3 -3
  563. package/hooks/useScatterSeries.d.mts +3 -3
  564. package/hooks/useScatterSeries.d.ts +3 -3
  565. package/hooks/useTicksGrouped.d.mts +1 -1
  566. package/hooks/useTicksGrouped.d.ts +1 -1
  567. package/index.d.mts +1 -1
  568. package/index.d.ts +1 -1
  569. package/index.js +1 -1
  570. package/index.mjs +1 -1
  571. package/internals/animation/Transition.mjs +0 -1
  572. package/internals/colorScale.d.mts +4 -4
  573. package/internals/colorScale.d.ts +4 -4
  574. package/internals/colorScale.js +2 -2
  575. package/internals/colorScale.mjs +2 -2
  576. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.mts +1 -1
  577. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
  578. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.mts +1 -1
  579. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
  580. package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.mts +1 -1
  581. package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
  582. package/internals/configInit.d.mts +1 -1
  583. package/internals/configInit.d.ts +1 -1
  584. package/internals/createSvgIcon.d.mts +1 -1
  585. package/internals/createSvgIcon.d.ts +1 -1
  586. package/internals/dateHelpers.d.mts +3 -3
  587. package/internals/dateHelpers.d.ts +3 -3
  588. package/internals/defaultValueFormatters.d.mts +1 -1
  589. package/internals/defaultValueFormatters.d.ts +1 -1
  590. package/internals/getCurve.d.mts +1 -1
  591. package/internals/getCurve.d.ts +1 -1
  592. package/internals/getScale.d.mts +2 -2
  593. package/internals/getScale.d.ts +2 -2
  594. package/internals/getSeriesColorFn.d.mts +2 -2
  595. package/internals/getSeriesColorFn.d.ts +2 -2
  596. package/internals/index.d.mts +2 -0
  597. package/internals/index.d.ts +2 -0
  598. package/internals/index.js +8 -0
  599. package/internals/index.mjs +2 -0
  600. package/internals/invertScale.d.mts +1 -1
  601. package/internals/invertScale.d.ts +1 -1
  602. package/internals/invertTextAnchor.d.mts +1 -1
  603. package/internals/invertTextAnchor.d.ts +1 -1
  604. package/internals/isCartesian.d.mts +1 -1
  605. package/internals/isCartesian.d.ts +1 -1
  606. package/internals/isPolar.d.mts +1 -1
  607. package/internals/isPolar.d.ts +1 -1
  608. package/internals/material/index.d.mts +2 -2
  609. package/internals/material/index.d.ts +2 -2
  610. package/internals/plugins/allPlugins.d.mts +12 -12
  611. package/internals/plugins/allPlugins.d.ts +12 -12
  612. package/internals/plugins/corePlugins/corePlugins.d.mts +8 -8
  613. package/internals/plugins/corePlugins/corePlugins.d.ts +8 -8
  614. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.mts +1 -1
  615. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
  616. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.mts +1 -1
  617. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
  618. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.mts +1 -1
  619. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
  620. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.mts +2 -2
  621. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
  622. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.mts +1 -1
  623. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
  624. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.d.mts +2 -2
  625. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.d.ts +2 -2
  626. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.types.d.mts +1 -1
  627. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.types.d.ts +1 -1
  628. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.mts +1 -1
  629. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
  630. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.mts +1 -1
  631. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
  632. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.mts +1 -1
  633. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
  634. package/internals/plugins/corePlugins/useChartId/useChartId.d.mts +2 -2
  635. package/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
  636. package/internals/plugins/corePlugins/useChartId/useChartId.types.d.mts +1 -1
  637. package/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
  638. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.mts +2 -2
  639. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
  640. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +16 -30
  641. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.mjs +17 -31
  642. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.mts +9 -2
  643. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +9 -2
  644. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +5 -5
  645. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +5 -5
  646. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.mts +2 -2
  647. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
  648. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +3 -3
  649. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +3 -3
  650. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.mts +6 -6
  651. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +6 -6
  652. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.mts +2 -2
  653. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
  654. package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.mts +2 -2
  655. package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.ts +2 -2
  656. package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.mts +1 -1
  657. package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.ts +1 -1
  658. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +13 -13
  659. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +13 -13
  660. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.mts +2 -2
  661. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.ts +2 -2
  662. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +4 -4
  663. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +4 -4
  664. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +11 -4
  665. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +11 -4
  666. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.d.mts +2 -2
  667. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.d.ts +2 -2
  668. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.mts +2 -2
  669. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.ts +2 -2
  670. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.mts +5 -5
  671. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.ts +5 -5
  672. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.mts +2 -2
  673. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
  674. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.mts +1 -1
  675. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
  676. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.mts +1 -1
  677. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.ts +1 -1
  678. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +8 -8
  679. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +8 -8
  680. package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.mts +4 -4
  681. package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
  682. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.mts +1 -1
  683. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +1 -1
  684. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.mts +4 -4
  685. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
  686. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.mts +3 -3
  687. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
  688. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +4 -12
  689. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -12
  690. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +1 -2
  691. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.mjs +2 -2
  692. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.mts +4 -4
  693. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +4 -4
  694. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.mts +5 -5
  695. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
  696. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.mts +3 -3
  697. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
  698. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +4 -4
  699. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
  700. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.mts +1 -1
  701. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
  702. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.mts +1 -1
  703. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.ts +1 -1
  704. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.mts +1 -1
  705. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.ts +1 -1
  706. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.mjs +0 -1
  707. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.mts +2 -2
  708. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
  709. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.mts +3 -3
  710. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
  711. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.mts +1 -1
  712. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
  713. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +3 -3
  714. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +3 -3
  715. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.mts +1 -1
  716. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +1 -1
  717. package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.mts +2 -2
  718. package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +2 -2
  719. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.mts +3 -3
  720. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +3 -3
  721. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.mts +2 -2
  722. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
  723. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.mts +7 -7
  724. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +7 -7
  725. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +2 -2
  726. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +2 -2
  727. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.mts +4 -4
  728. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
  729. package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.mts +2 -2
  730. package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
  731. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.mts +2 -2
  732. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
  733. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.mts +1 -1
  734. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +1 -1
  735. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.mts +5 -5
  736. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
  737. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +6 -1
  738. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.mjs +6 -1
  739. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.mts +3 -3
  740. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +3 -3
  741. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +3 -3
  742. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +3 -3
  743. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +4 -4
  744. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
  745. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.mts +2 -2
  746. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
  747. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.mts +2 -2
  748. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +2 -2
  749. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.mts +5 -5
  750. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
  751. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +6 -2
  752. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +6 -2
  753. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.d.mts +2 -2
  754. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.d.ts +2 -2
  755. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.mts +4 -4
  756. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.ts +4 -4
  757. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.mts +2 -2
  758. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
  759. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.mts +5 -5
  760. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
  761. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.mts +49 -0
  762. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.ts +49 -0
  763. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.js +124 -0
  764. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.mjs +117 -0
  765. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.mts +64 -0
  766. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.ts +64 -0
  767. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.js +5 -0
  768. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.mjs +1 -0
  769. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.d.mts +6 -10
  770. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.d.ts +6 -10
  771. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.js +48 -27
  772. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.mjs +49 -28
  773. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.mts +11 -8
  774. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.ts +11 -8
  775. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.js +30 -41
  776. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.mjs +29 -41
  777. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.types.d.mts +2 -2
  778. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.types.d.ts +2 -2
  779. package/internals/plugins/models/plugin.d.mts +2 -2
  780. package/internals/plugins/models/plugin.d.ts +2 -2
  781. package/internals/plugins/utils/selectors.d.mts +2 -2
  782. package/internals/plugins/utils/selectors.d.ts +2 -2
  783. package/internals/plugins/utils/useLazySelectorEffect.d.mts +1 -1
  784. package/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
  785. package/internals/processLineLikeSeries.d.mts +1 -1
  786. package/internals/processLineLikeSeries.d.ts +1 -1
  787. package/internals/resolveColorProcessor.js +4 -7
  788. package/internals/resolveColorProcessor.mjs +4 -7
  789. package/internals/scaleGuards.d.mts +1 -1
  790. package/internals/scaleGuards.d.ts +1 -1
  791. package/internals/scales/scaleBand.js +4 -1
  792. package/internals/scales/scaleBand.mjs +4 -1
  793. package/internals/scales/scaleSymlog.d.mts +1 -1
  794. package/internals/scales/scaleSymlog.d.ts +1 -1
  795. package/internals/seriesSelectorOfType.d.mts +2 -2
  796. package/internals/seriesSelectorOfType.d.ts +2 -2
  797. package/internals/sizeScale.d.mts +2 -2
  798. package/internals/sizeScale.d.ts +2 -2
  799. package/internals/stacking/stackSeries.d.mts +3 -2
  800. package/internals/stacking/stackSeries.d.ts +3 -2
  801. package/internals/store/extractPluginParamsFromProps.d.mts +3 -3
  802. package/internals/store/extractPluginParamsFromProps.d.ts +3 -3
  803. package/internals/store/useCharts.d.mts +2 -2
  804. package/internals/store/useCharts.d.ts +2 -2
  805. package/internals/store/useCharts.types.d.mts +1 -1
  806. package/internals/store/useCharts.types.d.ts +1 -1
  807. package/internals/store/useStore.d.mts +2 -2
  808. package/internals/store/useStore.d.ts +2 -2
  809. package/locales/elGR.d.mts +1 -1
  810. package/locales/elGR.d.ts +1 -1
  811. package/locales/enUS.d.mts +1 -1
  812. package/locales/enUS.d.ts +1 -1
  813. package/locales/frFR.d.mts +1 -1
  814. package/locales/frFR.d.ts +1 -1
  815. package/locales/nbNO.d.mts +1 -1
  816. package/locales/nbNO.d.ts +1 -1
  817. package/locales/ptBR.d.mts +1 -1
  818. package/locales/ptBR.d.ts +1 -1
  819. package/locales/ptPT.d.mts +1 -1
  820. package/locales/ptPT.d.ts +1 -1
  821. package/locales/svSE.d.mts +1 -1
  822. package/locales/svSE.d.ts +1 -1
  823. package/locales/utils/chartsLocaleTextApi.d.mts +1 -1
  824. package/locales/utils/chartsLocaleTextApi.d.ts +1 -1
  825. package/locales/utils/getChartsLocalization.d.mts +1 -1
  826. package/locales/utils/getChartsLocalization.d.ts +1 -1
  827. package/models/axis.d.mts +26 -10
  828. package/models/axis.d.ts +26 -10
  829. package/models/colorMapping.d.mts +8 -0
  830. package/models/colorMapping.d.ts +8 -0
  831. package/models/seriesType/bar.d.mts +4 -4
  832. package/models/seriesType/bar.d.ts +4 -4
  833. package/models/seriesType/line.d.mts +3 -3
  834. package/models/seriesType/line.d.ts +3 -3
  835. package/models/seriesType/pie.d.mts +3 -3
  836. package/models/seriesType/pie.d.ts +3 -3
  837. package/models/seriesType/radar.d.mts +1 -1
  838. package/models/seriesType/radar.d.ts +1 -1
  839. package/models/seriesType/scatter.d.mts +3 -3
  840. package/models/seriesType/scatter.d.ts +3 -3
  841. package/models/slots/chartsBaseSlots.d.mts +1 -1
  842. package/models/slots/chartsBaseSlots.d.ts +1 -1
  843. package/models/z-axis.d.mts +1 -1
  844. package/models/z-axis.d.ts +1 -1
  845. package/package.json +7 -4
  846. package/themeAugmentation/components.d.mts +1 -1
  847. package/themeAugmentation/components.d.ts +1 -1
  848. package/themeAugmentation/overrides.d.mts +7 -7
  849. package/themeAugmentation/overrides.d.ts +7 -7
  850. package/themeAugmentation/props.d.mts +15 -15
  851. package/themeAugmentation/props.d.ts +15 -15
  852. package/utils/niceDomain.d.mts +2 -2
  853. package/utils/niceDomain.d.ts +2 -2
  854. package/hooks/useIsHydrated.d.mts +0 -4
  855. package/hooks/useIsHydrated.d.ts +0 -4
  856. package/hooks/useIsHydrated.js +0 -19
  857. package/hooks/useIsHydrated.mjs +0 -14
@@ -1,15 +1,15 @@
1
- import { type ChartSeriesType } from "../../models/seriesType/config.js";
2
- import { type UseChartCartesianAxisSignature } from "./featurePlugins/useChartCartesianAxis/index.js";
3
- import { type UseChartHighlightSignature } from "./featurePlugins/useChartHighlight/index.js";
4
- import { type UseChartInteractionSignature } from "./featurePlugins/useChartInteraction/index.js";
5
- import { type UseChartKeyboardNavigationSignature } from "./featurePlugins/useChartKeyboardNavigation/index.js";
6
- import { type UseChartPolarAxisSignature } from "./featurePlugins/useChartPolarAxis/index.js";
7
- import { type UseChartClosestPointSignature } from "./featurePlugins/useChartClosestPoint/index.js";
8
- import { type UseChartZAxisSignature } from "./featurePlugins/useChartZAxis/index.js";
9
- import { type UseChartBrushSignature } from "./featurePlugins/useChartBrush/index.js";
10
- import { type UseChartVisibilityManagerSignature } from "./featurePlugins/useChartVisibilityManager/index.js";
11
- import { type UseChartTooltipSignature } from "./featurePlugins/useChartTooltip/index.js";
12
- import { type UseProgressiveRenderingSignature } from "./featurePlugins/useProgressiveRendering/index.js";
1
+ import type { ChartSeriesType } from "../../models/seriesType/config.js";
2
+ import type { UseChartCartesianAxisSignature } from "./featurePlugins/useChartCartesianAxis/index.js";
3
+ import type { UseChartHighlightSignature } from "./featurePlugins/useChartHighlight/index.js";
4
+ import type { UseChartInteractionSignature } from "./featurePlugins/useChartInteraction/index.js";
5
+ import type { UseChartKeyboardNavigationSignature } from "./featurePlugins/useChartKeyboardNavigation/index.js";
6
+ import type { UseChartPolarAxisSignature } from "./featurePlugins/useChartPolarAxis/index.js";
7
+ import type { UseChartClosestPointSignature } from "./featurePlugins/useChartClosestPoint/index.js";
8
+ import type { UseChartZAxisSignature } from "./featurePlugins/useChartZAxis/index.js";
9
+ import type { UseChartBrushSignature } from "./featurePlugins/useChartBrush/index.js";
10
+ import type { UseChartVisibilityManagerSignature } from "./featurePlugins/useChartVisibilityManager/index.js";
11
+ import type { UseChartTooltipSignature } from "./featurePlugins/useChartTooltip/index.js";
12
+ import type { UseProgressiveRenderingSignature } from "./featurePlugins/useProgressiveRendering/index.js";
13
13
  export type AllPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature, UseProgressiveRenderingSignature];
14
14
  export type DefaultPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature, UseProgressiveRenderingSignature];
15
15
  export declare const DEFAULT_PLUGINS: readonly [import("./models/index.js").ChartPlugin<UseChartZAxisSignature>, import("./models/index.js").ChartPlugin<UseChartBrushSignature>, import("./models/index.js").ChartPlugin<UseChartTooltipSignature<any>>, import("./models/index.js").ChartPlugin<UseChartInteractionSignature>, import("./models/index.js").ChartPlugin<UseChartCartesianAxisSignature<any>>, import("./models/index.js").ChartPlugin<UseChartHighlightSignature<any>>, import("./models/index.js").ChartPlugin<UseChartVisibilityManagerSignature<any>>, import("./models/index.js").ChartPlugin<UseChartClosestPointSignature>, import("./models/index.js").ChartPlugin<UseChartKeyboardNavigationSignature>, import("./models/index.js").ChartPlugin<UseProgressiveRenderingSignature>];
@@ -1,11 +1,11 @@
1
- import { type UseChartAnimationSignature } from "./useChartAnimation/index.mjs";
2
- import { type UseChartDimensionsSignature } from "./useChartDimensions/index.mjs";
3
- import { type UseChartElementRefSignature } from "./useChartElementRef/index.mjs";
4
- import { type UseChartExperimentalFeaturesSignature } from "./useChartExperimentalFeature/index.mjs";
5
- import { type UseChartIdSignature, type UseChartIdParameters } from "./useChartId/index.mjs";
6
- import { type UseChartSeriesConfigSignature, type UseChartSeriesConfigParameters } from "./useChartSeriesConfig/index.mjs";
7
- import { type UseChartSeriesSignature } from "./useChartSeries/index.mjs";
8
- import { type UseChartInteractionListenerSignature } from "./useChartInteractionListener/index.mjs";
1
+ import type { UseChartAnimationSignature } from "./useChartAnimation/index.mjs";
2
+ import type { UseChartDimensionsSignature } from "./useChartDimensions/index.mjs";
3
+ import type { UseChartElementRefSignature } from "./useChartElementRef/index.mjs";
4
+ import type { UseChartExperimentalFeaturesSignature } from "./useChartExperimentalFeature/index.mjs";
5
+ import type { UseChartIdSignature, UseChartIdParameters } from "./useChartId/index.mjs";
6
+ import type { UseChartSeriesConfigSignature, UseChartSeriesConfigParameters } from "./useChartSeriesConfig/index.mjs";
7
+ import type { UseChartSeriesSignature } from "./useChartSeries/index.mjs";
8
+ import type { UseChartInteractionListenerSignature } from "./useChartInteractionListener/index.mjs";
9
9
  import type { ChartSeriesType } from "../../../models/seriesType/config.mjs";
10
10
  /**
11
11
  * Internal plugins that create the tools used by the other plugins.
@@ -1,11 +1,11 @@
1
- import { type UseChartAnimationSignature } from "./useChartAnimation/index.js";
2
- import { type UseChartDimensionsSignature } from "./useChartDimensions/index.js";
3
- import { type UseChartElementRefSignature } from "./useChartElementRef/index.js";
4
- import { type UseChartExperimentalFeaturesSignature } from "./useChartExperimentalFeature/index.js";
5
- import { type UseChartIdSignature, type UseChartIdParameters } from "./useChartId/index.js";
6
- import { type UseChartSeriesConfigSignature, type UseChartSeriesConfigParameters } from "./useChartSeriesConfig/index.js";
7
- import { type UseChartSeriesSignature } from "./useChartSeries/index.js";
8
- import { type UseChartInteractionListenerSignature } from "./useChartInteractionListener/index.js";
1
+ import type { UseChartAnimationSignature } from "./useChartAnimation/index.js";
2
+ import type { UseChartDimensionsSignature } from "./useChartDimensions/index.js";
3
+ import type { UseChartElementRefSignature } from "./useChartElementRef/index.js";
4
+ import type { UseChartExperimentalFeaturesSignature } from "./useChartExperimentalFeature/index.js";
5
+ import type { UseChartIdSignature, UseChartIdParameters } from "./useChartId/index.js";
6
+ import type { UseChartSeriesConfigSignature, UseChartSeriesConfigParameters } from "./useChartSeriesConfig/index.js";
7
+ import type { UseChartSeriesSignature } from "./useChartSeries/index.js";
8
+ import type { UseChartInteractionListenerSignature } from "./useChartInteractionListener/index.js";
9
9
  import type { ChartSeriesType } from "../../../models/seriesType/config.js";
10
10
  /**
11
11
  * Internal plugins that create the tools used by the other plugins.
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.mjs";
1
+ import type { ChartPlugin } from "../../models/index.mjs";
2
2
  import type { UseChartAnimationSignature } from "./useChartAnimation.types.mjs";
3
3
  export declare const useChartAnimation: ChartPlugin<UseChartAnimationSignature>;
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.js";
1
+ import type { ChartPlugin } from "../../models/index.js";
2
2
  import type { UseChartAnimationSignature } from "./useChartAnimation.types.js";
3
3
  export declare const useChartAnimation: ChartPlugin<UseChartAnimationSignature>;
@@ -1,4 +1,4 @@
1
- import { type ChartPluginSignature } from "../../models/index.mjs";
1
+ import type { ChartPluginSignature } from "../../models/index.mjs";
2
2
  import type { UseChartCartesianAxisSignature } from "../../featurePlugins/useChartCartesianAxis/index.mjs";
3
3
  export interface UseChartAnimationParameters {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { type ChartPluginSignature } from "../../models/index.js";
1
+ import type { ChartPluginSignature } from "../../models/index.js";
2
2
  import type { UseChartCartesianAxisSignature } from "../../featurePlugins/useChartCartesianAxis/index.js";
3
3
  export interface UseChartAnimationParameters {
4
4
  /**
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.mjs";
1
+ import type { ChartPlugin } from "../../models/index.mjs";
2
2
  import type { UseChartDimensionsSignature } from "./useChartDimensions.types.mjs";
3
3
  export declare const useChartDimensions: ChartPlugin<UseChartDimensionsSignature>;
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.js";
1
+ import type { ChartPlugin } from "../../models/index.js";
2
2
  import type { UseChartDimensionsSignature } from "./useChartDimensions.types.js";
3
3
  export declare const useChartDimensions: ChartPlugin<UseChartDimensionsSignature>;
@@ -1,6 +1,6 @@
1
- import { type ChartRootSelector } from "../../utils/selectors.mjs";
1
+ import type { ChartRootSelector } from "../../utils/selectors.mjs";
2
2
  import type { UseChartDimensionsSignature } from "./useChartDimensions.types.mjs";
3
- import { type ChartState } from "../../models/chart.mjs";
3
+ import type { ChartState } from "../../models/chart.mjs";
4
4
  export declare const selectorChartDimensionsState: ChartRootSelector<UseChartDimensionsSignature>;
5
5
  export declare const selectorChartMargin: (state: ChartState<[UseChartDimensionsSignature]>) => import("./useChartDimensions.types.mjs").ChartMargin;
6
6
  export declare const selectorChartDrawingArea: (args_0: import("../useChartId/useChartId.types.mjs").UseChartIdState & import("../useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("./useChartDimensions.types.mjs").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../useChartInteractionListener/index.mjs").UseChartInteractionListenerState & Partial<{}> & {
@@ -1,6 +1,6 @@
1
- import { type ChartRootSelector } from "../../utils/selectors.js";
1
+ import type { ChartRootSelector } from "../../utils/selectors.js";
2
2
  import type { UseChartDimensionsSignature } from "./useChartDimensions.types.js";
3
- import { type ChartState } from "../../models/chart.js";
3
+ import type { ChartState } from "../../models/chart.js";
4
4
  export declare const selectorChartDimensionsState: ChartRootSelector<UseChartDimensionsSignature>;
5
5
  export declare const selectorChartMargin: (state: ChartState<[UseChartDimensionsSignature]>) => import("./useChartDimensions.types.js").ChartMargin;
6
6
  export declare const selectorChartDrawingArea: (args_0: import("../useChartId/useChartId.types.js").UseChartIdState & import("../useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("./useChartDimensions.types.js").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../useChartInteractionListener/index.js").UseChartInteractionListenerState & Partial<{}> & {
@@ -1,4 +1,4 @@
1
- import { type ChartPluginSignature } from "../../models/index.mjs";
1
+ import type { ChartPluginSignature } from "../../models/index.mjs";
2
2
  import type { UseChartCartesianAxisSignature } from "../../featurePlugins/useChartCartesianAxis/index.mjs";
3
3
  export interface ChartMargin {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { type ChartPluginSignature } from "../../models/index.js";
1
+ import type { ChartPluginSignature } from "../../models/index.js";
2
2
  import type { UseChartCartesianAxisSignature } from "../../featurePlugins/useChartCartesianAxis/index.js";
3
3
  export interface ChartMargin {
4
4
  /**
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.mjs";
2
- import { type UseChartElementRefSignature } from "./useChartElementRef.types.mjs";
1
+ import type { ChartPlugin } from "../../models/index.mjs";
2
+ import type { UseChartElementRefSignature } from "./useChartElementRef.types.mjs";
3
3
  export declare const useChartElementRef: ChartPlugin<UseChartElementRefSignature>;
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.js";
2
- import { type UseChartElementRefSignature } from "./useChartElementRef.types.js";
1
+ import type { ChartPlugin } from "../../models/index.js";
2
+ import type { UseChartElementRefSignature } from "./useChartElementRef.types.js";
3
3
  export declare const useChartElementRef: ChartPlugin<UseChartElementRefSignature>;
@@ -1,5 +1,5 @@
1
1
  import type * as React from 'react';
2
- import { type ChartPluginSignature } from "../../models/index.mjs";
2
+ import type { ChartPluginSignature } from "../../models/index.mjs";
3
3
  export interface UseChartElementRefInstance {
4
4
  /**
5
5
  * Reference to the chart surface element.
@@ -1,5 +1,5 @@
1
1
  import type * as React from 'react';
2
- import { type ChartPluginSignature } from "../../models/index.js";
2
+ import type { ChartPluginSignature } from "../../models/index.js";
3
3
  export interface UseChartElementRefInstance {
4
4
  /**
5
5
  * Reference to the chart surface element.
@@ -1,4 +1,4 @@
1
- import { type ChartPlugin } from "../../models/index.mjs";
1
+ import type { ChartPlugin } from "../../models/index.mjs";
2
2
  import type { UseChartExperimentalFeaturesSignature } from "./useChartExperimentalFeature.types.mjs";
3
3
  import type { ChartSeriesType } from "../../../../models/seriesType/config.mjs";
4
4
  export declare const useChartExperimentalFeatures: ChartPlugin<UseChartExperimentalFeaturesSignature<ChartSeriesType>>;
@@ -1,4 +1,4 @@
1
- import { type ChartPlugin } from "../../models/index.js";
1
+ import type { ChartPlugin } from "../../models/index.js";
2
2
  import type { UseChartExperimentalFeaturesSignature } from "./useChartExperimentalFeature.types.js";
3
3
  import type { ChartSeriesType } from "../../../../models/seriesType/config.js";
4
4
  export declare const useChartExperimentalFeatures: ChartPlugin<UseChartExperimentalFeaturesSignature<ChartSeriesType>>;
@@ -1,5 +1,5 @@
1
1
  import type { ChartSeriesType } from "../../../../models/seriesType/config.mjs";
2
- import { type ChartState } from "../../models/chart.mjs";
2
+ import type { ChartState } from "../../models/chart.mjs";
3
3
  import type { ChartExperimentalFeatures, UseChartExperimentalFeaturesSignature } from "./useChartExperimentalFeature.types.mjs";
4
4
  /**
5
5
  * Reads the value of a single experimental feature flag from the store.
@@ -1,5 +1,5 @@
1
1
  import type { ChartSeriesType } from "../../../../models/seriesType/config.js";
2
- import { type ChartState } from "../../models/chart.js";
2
+ import type { ChartState } from "../../models/chart.js";
3
3
  import type { ChartExperimentalFeatures, UseChartExperimentalFeaturesSignature } from "./useChartExperimentalFeature.types.js";
4
4
  /**
5
5
  * Reads the value of a single experimental feature flag from the store.
@@ -1,4 +1,4 @@
1
- import { type ChartPluginSignature } from "../../models/index.mjs";
1
+ import type { ChartPluginSignature } from "../../models/index.mjs";
2
2
  import type { ChartSeriesType } from "../../../../models/seriesType/config.mjs";
3
3
  interface LineExperimentalFeatures {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { type ChartPluginSignature } from "../../models/index.js";
1
+ import type { ChartPluginSignature } from "../../models/index.js";
2
2
  import type { ChartSeriesType } from "../../../../models/seriesType/config.js";
3
3
  interface LineExperimentalFeatures {
4
4
  /**
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.mjs";
2
- import { type UseChartIdSignature } from "./useChartId.types.mjs";
1
+ import type { ChartPlugin } from "../../models/index.mjs";
2
+ import type { UseChartIdSignature } from "./useChartId.types.mjs";
3
3
  export declare const useChartId: ChartPlugin<UseChartIdSignature>;
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.js";
2
- import { type UseChartIdSignature } from "./useChartId.types.js";
1
+ import type { ChartPlugin } from "../../models/index.js";
2
+ import type { UseChartIdSignature } from "./useChartId.types.js";
3
3
  export declare const useChartId: ChartPlugin<UseChartIdSignature>;
@@ -1,4 +1,4 @@
1
- import { type ChartPluginSignature } from "../../models/index.mjs";
1
+ import type { ChartPluginSignature } from "../../models/index.mjs";
2
2
  export interface UseChartIdParameters {
3
3
  /**
4
4
  * This prop is used to help implement the accessibility logic.
@@ -1,4 +1,4 @@
1
- import { type ChartPluginSignature } from "../../models/index.js";
1
+ import type { ChartPluginSignature } from "../../models/index.js";
2
2
  export interface UseChartIdParameters {
3
3
  /**
4
4
  * This prop is used to help implement the accessibility logic.
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.mjs";
2
- import { type UseChartInteractionListenerSignature } from "./useChartInteractionListener.types.mjs";
1
+ import type { ChartPlugin } from "../../models/index.mjs";
2
+ import type { UseChartInteractionListenerSignature } from "./useChartInteractionListener.types.mjs";
3
3
  export declare const useChartInteractionListener: ChartPlugin<UseChartInteractionListenerSignature>;
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.js";
2
- import { type UseChartInteractionListenerSignature } from "./useChartInteractionListener.types.js";
1
+ import type { ChartPlugin } from "../../models/index.js";
2
+ import type { UseChartInteractionListenerSignature } from "./useChartInteractionListener.types.js";
3
3
  export declare const useChartInteractionListener: ChartPlugin<UseChartInteractionListenerSignature>;
@@ -40,34 +40,6 @@ const useChartInteractionListener = ({
40
40
  name: 'brush',
41
41
  threshold: 0,
42
42
  maxPointers: 1
43
- }),
44
- // Zoom gestures
45
- new _core.PanGesture({
46
- name: 'zoomPan',
47
- threshold: 0,
48
- preventIf: ['zoomTapAndDrag', 'zoomPressAndDrag']
49
- }), new _core.PinchGesture({
50
- name: 'zoomPinch',
51
- threshold: 5
52
- }), new _core.TurnWheelGesture({
53
- name: 'zoomTurnWheel',
54
- sensitivity: 0.01,
55
- initialDelta: 1,
56
- passive: false
57
- }), new _core.TurnWheelGesture({
58
- name: 'panTurnWheel',
59
- sensitivity: 0.5,
60
- passive: false
61
- }), new _core.TapAndDragGesture({
62
- name: 'zoomTapAndDrag',
63
- dragThreshold: 10
64
- }), new _core.PressAndDragGesture({
65
- name: 'zoomPressAndDrag',
66
- dragThreshold: 10,
67
- preventIf: ['zoomPinch']
68
- }), new _core.TapGesture({
69
- name: 'zoomDoubleTapReset',
70
- taps: 2
71
43
  })]
72
44
  });
73
45
  }
@@ -77,7 +49,7 @@ const useChartInteractionListener = ({
77
49
  if (!svg || !gestureManager) {
78
50
  return undefined;
79
51
  }
80
- gestureManager.registerElement(['pan', 'move', 'zoomPinch', 'zoomPan', 'zoomTurnWheel', 'panTurnWheel', 'tap', 'quickPress', 'zoomTapAndDrag', 'zoomPressAndDrag', 'zoomDoubleTapReset', 'brush'], svg);
52
+ gestureManager.registerElement(['pan', 'move', 'tap', 'quickPress', 'brush'], svg);
81
53
  return () => {
82
54
  // Cleanup gesture manager
83
55
  gestureManager.unregisterAllGestures(svg);
@@ -113,10 +85,24 @@ const useChartInteractionListener = ({
113
85
  svg?.removeEventListener('gestureend', preventDefault);
114
86
  };
115
87
  }, [chartsLayerContainerRef]);
88
+ const registerGestures = React.useCallback(gestures => {
89
+ const svg = chartsLayerContainerRef.current;
90
+ const gestureManager = gestureManagerRef.current;
91
+ if (!gestureManager || !svg) {
92
+ return () => {};
93
+ }
94
+ const gestureNames = gestures.map(gesture => gesture.name);
95
+ gestureManager.addGestures(gestures);
96
+ gestureManager.registerElement(gestureNames, svg);
97
+ return () => {
98
+ gestureManager.removeGestures(gestureNames);
99
+ };
100
+ }, [chartsLayerContainerRef, gestureManagerRef]);
116
101
  return {
117
102
  instance: {
118
103
  addInteractionListener,
119
- updateZoomInteractionListeners
104
+ updateZoomInteractionListeners,
105
+ registerGestures
120
106
  }
121
107
  };
122
108
  };
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  import * as React from 'react';
4
- import { GestureManager, MoveGesture, PanGesture, PinchGesture, PressAndDragGesture, PressGesture, TapAndDragGesture, TapGesture, TurnWheelGesture } from '@mui/x-internal-gestures/core';
4
+ import { GestureManager, MoveGesture, PanGesture, PressGesture, TapGesture } from '@mui/x-internal-gestures/core';
5
5
  const preventDefault = event => event.preventDefault();
6
6
  export const useChartInteractionListener = ({
7
7
  instance
@@ -34,34 +34,6 @@ export const useChartInteractionListener = ({
34
34
  name: 'brush',
35
35
  threshold: 0,
36
36
  maxPointers: 1
37
- }),
38
- // Zoom gestures
39
- new PanGesture({
40
- name: 'zoomPan',
41
- threshold: 0,
42
- preventIf: ['zoomTapAndDrag', 'zoomPressAndDrag']
43
- }), new PinchGesture({
44
- name: 'zoomPinch',
45
- threshold: 5
46
- }), new TurnWheelGesture({
47
- name: 'zoomTurnWheel',
48
- sensitivity: 0.01,
49
- initialDelta: 1,
50
- passive: false
51
- }), new TurnWheelGesture({
52
- name: 'panTurnWheel',
53
- sensitivity: 0.5,
54
- passive: false
55
- }), new TapAndDragGesture({
56
- name: 'zoomTapAndDrag',
57
- dragThreshold: 10
58
- }), new PressAndDragGesture({
59
- name: 'zoomPressAndDrag',
60
- dragThreshold: 10,
61
- preventIf: ['zoomPinch']
62
- }), new TapGesture({
63
- name: 'zoomDoubleTapReset',
64
- taps: 2
65
37
  })]
66
38
  });
67
39
  }
@@ -71,7 +43,7 @@ export const useChartInteractionListener = ({
71
43
  if (!svg || !gestureManager) {
72
44
  return undefined;
73
45
  }
74
- gestureManager.registerElement(['pan', 'move', 'zoomPinch', 'zoomPan', 'zoomTurnWheel', 'panTurnWheel', 'tap', 'quickPress', 'zoomTapAndDrag', 'zoomPressAndDrag', 'zoomDoubleTapReset', 'brush'], svg);
46
+ gestureManager.registerElement(['pan', 'move', 'tap', 'quickPress', 'brush'], svg);
75
47
  return () => {
76
48
  // Cleanup gesture manager
77
49
  gestureManager.unregisterAllGestures(svg);
@@ -107,10 +79,24 @@ export const useChartInteractionListener = ({
107
79
  svg?.removeEventListener('gestureend', preventDefault);
108
80
  };
109
81
  }, [chartsLayerContainerRef]);
82
+ const registerGestures = React.useCallback(gestures => {
83
+ const svg = chartsLayerContainerRef.current;
84
+ const gestureManager = gestureManagerRef.current;
85
+ if (!gestureManager || !svg) {
86
+ return () => {};
87
+ }
88
+ const gestureNames = gestures.map(gesture => gesture.name);
89
+ gestureManager.addGestures(gestures);
90
+ gestureManager.registerElement(gestureNames, svg);
91
+ return () => {
92
+ gestureManager.removeGestures(gestureNames);
93
+ };
94
+ }, [chartsLayerContainerRef, gestureManagerRef]);
110
95
  return {
111
96
  instance: {
112
97
  addInteractionListener,
113
- updateZoomInteractionListeners
98
+ updateZoomInteractionListeners,
99
+ registerGestures
114
100
  }
115
101
  };
116
102
  };
@@ -1,5 +1,5 @@
1
- import { type MoveEvent, type PanEvent, type PanGestureOptions, type PinchEvent, type PinchGestureOptions, type PressEvent, type TapEvent, type TurnWheelEvent, type PressAndDragEvent, type PressAndDragGestureOptions, type TapAndDragEvent, type TapAndDragGestureOptions, type TapGestureOptions, type TurnWheelGestureOptions } from '@mui/x-internal-gestures/core';
2
- import { type ChartPluginSignature } from "../../models/index.mjs";
1
+ import type { Gesture, MoveEvent, PanEvent, PanGestureOptions, PinchEvent, PinchGestureOptions, PressEvent, TapEvent, TurnWheelEvent, PressAndDragEvent, PressAndDragGestureOptions, TapAndDragEvent, TapAndDragGestureOptions, TapGestureOptions, TurnWheelGestureOptions } from '@mui/x-internal-gestures/core';
2
+ import type { ChartPluginSignature } from "../../models/index.mjs";
3
3
  export type ChartInteraction = 'pan' | 'panStart' | 'panEnd' | 'zoomPan' | 'zoomPanStart' | 'zoomPanEnd' | 'zoomPinch' | 'zoomPinchStart' | 'zoomPinchEnd' | 'zoomTurnWheel' | 'panTurnWheel' | 'zoomTapAndDrag' | 'zoomTapAndDragStart' | 'zoomTapAndDragEnd' | 'zoomPressAndDrag' | 'zoomPressAndDragStart' | 'zoomPressAndDragEnd' | 'move' | 'moveStart' | 'moveEnd' | 'tap' | 'quickPress' | 'quickPressEnd' | 'zoomDoubleTapReset' | 'brush' | 'brushStart' | 'brushCancel' | 'brushEnd';
4
4
  export type InteractionListenerResult = {
5
5
  cleanup: () => void;
@@ -27,6 +27,7 @@ export type UpdateZoomInteractionListeners = {
27
27
  };
28
28
  export interface UseChartInteractionListenerParameters {}
29
29
  export interface UseChartInteractionListenerState {}
30
+ export type RegisterGestures = (gestures: Gesture<string>[]) => () => void;
30
31
  export interface UseChartInteractionListenerInstance {
31
32
  /**
32
33
  * Adds an interaction listener to the SVG element.
@@ -42,6 +43,12 @@ export interface UseChartInteractionListenerInstance {
42
43
  * @param options The options to apply to the interaction.
43
44
  */
44
45
  updateZoomInteractionListeners: UpdateZoomInteractionListeners;
46
+ /**
47
+ * Registers additional gestures on the chart interaction element.
48
+ *
49
+ * @param gestures The gestures to register.
50
+ */
51
+ registerGestures: RegisterGestures;
45
52
  }
46
53
  export type UseChartInteractionListenerSignature = ChartPluginSignature<{
47
54
  params: UseChartInteractionListenerParameters;
@@ -1,5 +1,5 @@
1
- import { type MoveEvent, type PanEvent, type PanGestureOptions, type PinchEvent, type PinchGestureOptions, type PressEvent, type TapEvent, type TurnWheelEvent, type PressAndDragEvent, type PressAndDragGestureOptions, type TapAndDragEvent, type TapAndDragGestureOptions, type TapGestureOptions, type TurnWheelGestureOptions } from '@mui/x-internal-gestures/core';
2
- import { type ChartPluginSignature } from "../../models/index.js";
1
+ import type { Gesture, MoveEvent, PanEvent, PanGestureOptions, PinchEvent, PinchGestureOptions, PressEvent, TapEvent, TurnWheelEvent, PressAndDragEvent, PressAndDragGestureOptions, TapAndDragEvent, TapAndDragGestureOptions, TapGestureOptions, TurnWheelGestureOptions } from '@mui/x-internal-gestures/core';
2
+ import type { ChartPluginSignature } from "../../models/index.js";
3
3
  export type ChartInteraction = 'pan' | 'panStart' | 'panEnd' | 'zoomPan' | 'zoomPanStart' | 'zoomPanEnd' | 'zoomPinch' | 'zoomPinchStart' | 'zoomPinchEnd' | 'zoomTurnWheel' | 'panTurnWheel' | 'zoomTapAndDrag' | 'zoomTapAndDragStart' | 'zoomTapAndDragEnd' | 'zoomPressAndDrag' | 'zoomPressAndDragStart' | 'zoomPressAndDragEnd' | 'move' | 'moveStart' | 'moveEnd' | 'tap' | 'quickPress' | 'quickPressEnd' | 'zoomDoubleTapReset' | 'brush' | 'brushStart' | 'brushCancel' | 'brushEnd';
4
4
  export type InteractionListenerResult = {
5
5
  cleanup: () => void;
@@ -27,6 +27,7 @@ export type UpdateZoomInteractionListeners = {
27
27
  };
28
28
  export interface UseChartInteractionListenerParameters {}
29
29
  export interface UseChartInteractionListenerState {}
30
+ export type RegisterGestures = (gestures: Gesture<string>[]) => () => void;
30
31
  export interface UseChartInteractionListenerInstance {
31
32
  /**
32
33
  * Adds an interaction listener to the SVG element.
@@ -42,6 +43,12 @@ export interface UseChartInteractionListenerInstance {
42
43
  * @param options The options to apply to the interaction.
43
44
  */
44
45
  updateZoomInteractionListeners: UpdateZoomInteractionListeners;
46
+ /**
47
+ * Registers additional gestures on the chart interaction element.
48
+ *
49
+ * @param gestures The gestures to register.
50
+ */
51
+ registerGestures: RegisterGestures;
45
52
  }
46
53
  export type UseChartInteractionListenerSignature = ChartPluginSignature<{
47
54
  params: UseChartInteractionListenerParameters;
@@ -1,8 +1,8 @@
1
- import { type ChartDrawingArea } from "../../../../hooks/useDrawingArea.mjs";
2
- import { type AllSeriesType } from "../../../../models/seriesType/index.mjs";
3
- import { type ChartSeriesType, type DatasetType } from "../../../../models/seriesType/config.mjs";
4
- import { type ChartSeriesConfig } from "../useChartSeriesConfig/index.mjs";
5
- import { type DefaultizedSeriesGroups, type ProcessedSeries, type SeriesIdToType, type SeriesLayout } from "./useChartSeries.types.mjs";
1
+ import type { ChartDrawingArea } from "../../../../hooks/useDrawingArea.mjs";
2
+ import type { AllSeriesType } from "../../../../models/seriesType/index.mjs";
3
+ import type { ChartSeriesType, DatasetType } from "../../../../models/seriesType/config.mjs";
4
+ import type { ChartSeriesConfig } from "../useChartSeriesConfig/index.mjs";
5
+ import type { DefaultizedSeriesGroups, ProcessedSeries, SeriesIdToType, SeriesLayout } from "./useChartSeries.types.mjs";
6
6
  import type { IsItemVisibleFunction } from "../../featurePlugins/useChartVisibilityManager/index.mjs";
7
7
  /**
8
8
  * This method groups series by type and adds defaultized values such as the ids and colors.
@@ -1,8 +1,8 @@
1
- import { type ChartDrawingArea } from "../../../../hooks/useDrawingArea.js";
2
- import { type AllSeriesType } from "../../../../models/seriesType/index.js";
3
- import { type ChartSeriesType, type DatasetType } from "../../../../models/seriesType/config.js";
4
- import { type ChartSeriesConfig } from "../useChartSeriesConfig/index.js";
5
- import { type DefaultizedSeriesGroups, type ProcessedSeries, type SeriesIdToType, type SeriesLayout } from "./useChartSeries.types.js";
1
+ import type { ChartDrawingArea } from "../../../../hooks/useDrawingArea.js";
2
+ import type { AllSeriesType } from "../../../../models/seriesType/index.js";
3
+ import type { ChartSeriesType, DatasetType } from "../../../../models/seriesType/config.js";
4
+ import type { ChartSeriesConfig } from "../useChartSeriesConfig/index.js";
5
+ import type { DefaultizedSeriesGroups, ProcessedSeries, SeriesIdToType, SeriesLayout } from "./useChartSeries.types.js";
6
6
  import type { IsItemVisibleFunction } from "../../featurePlugins/useChartVisibilityManager/index.js";
7
7
  /**
8
8
  * This method groups series by type and adds defaultized values such as the ids and colors.
@@ -1,6 +1,6 @@
1
- import { type ChartPlugin } from "../../models/index.mjs";
1
+ import type { ChartPlugin } from "../../models/index.mjs";
2
2
  import type { UseChartSeriesState, UseChartSeriesSignature } from "./useChartSeries.types.mjs";
3
- import { type ChartSeriesType } from "../../../../models/seriesType/config.mjs";
3
+ import type { ChartSeriesType } from "../../../../models/seriesType/config.mjs";
4
4
  import type { SeriesItemIdentifier, SeriesItemIdentifierWithType, SeriesId } from "../../../../models/seriesType/index.mjs";
5
5
  type RetrunedType<SeriesType extends ChartSeriesType, Item> = Item extends SeriesItemIdentifier<SeriesType> ? SeriesItemIdentifierWithType<SeriesType> : Item & {
6
6
  type: SeriesType;
@@ -1,6 +1,6 @@
1
- import { type ChartPlugin } from "../../models/index.js";
1
+ import type { ChartPlugin } from "../../models/index.js";
2
2
  import type { UseChartSeriesState, UseChartSeriesSignature } from "./useChartSeries.types.js";
3
- import { type ChartSeriesType } from "../../../../models/seriesType/config.js";
3
+ import type { ChartSeriesType } from "../../../../models/seriesType/config.js";
4
4
  import type { SeriesItemIdentifier, SeriesItemIdentifierWithType, SeriesId } from "../../../../models/seriesType/index.js";
5
5
  type RetrunedType<SeriesType extends ChartSeriesType, Item> = Item extends SeriesItemIdentifier<SeriesType> ? SeriesItemIdentifierWithType<SeriesType> : Item & {
6
6
  type: SeriesType;
@@ -1,6 +1,6 @@
1
- import { type SeriesId } from "../../../../models/index.mjs";
2
- import { type ChartRootSelector } from "../../utils/selectors.mjs";
3
- import { type UseChartSeriesSignature } from "./useChartSeries.types.mjs";
1
+ import type { SeriesId } from "../../../../models/index.mjs";
2
+ import type { ChartRootSelector } from "../../utils/selectors.mjs";
3
+ import type { UseChartSeriesSignature } from "./useChartSeries.types.mjs";
4
4
  export declare const selectorChartSeriesState: ChartRootSelector<UseChartSeriesSignature>;
5
5
  export declare const selectorChartDefaultizedSeries: (args_0: import("../useChartId/useChartId.types.mjs").UseChartIdState & import("../useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("./useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../useChartInteractionListener/index.mjs").UseChartInteractionListenerState & Partial<{}> & {
6
6
  cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
@@ -1,6 +1,6 @@
1
- import { type SeriesId } from "../../../../models/index.js";
2
- import { type ChartRootSelector } from "../../utils/selectors.js";
3
- import { type UseChartSeriesSignature } from "./useChartSeries.types.js";
1
+ import type { SeriesId } from "../../../../models/index.js";
2
+ import type { ChartRootSelector } from "../../utils/selectors.js";
3
+ import type { UseChartSeriesSignature } from "./useChartSeries.types.js";
4
4
  export declare const selectorChartSeriesState: ChartRootSelector<UseChartSeriesSignature>;
5
5
  export declare const selectorChartDefaultizedSeries: (args_0: import("../useChartId/useChartId.types.js").UseChartIdState & import("../useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../useChartInteractionListener/index.js").UseChartInteractionListenerState & Partial<{}> & {
6
6
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
@@ -1,10 +1,10 @@
1
1
  import type { AllSeriesType, HighlightItemIdentifier, HighlightItemIdentifierWithType, SeriesItemIdentifier, SeriesItemIdentifierWithType } from "../../../../models/seriesType/index.mjs";
2
- import { type ChartsColorPalette } from "../../../../colorPalettes/index.mjs";
3
- import { type ChartPluginSignature } from "../../models/index.mjs";
4
- import { type ChartSeriesType, type DatasetType } from "../../../../models/seriesType/config.mjs";
5
- import { type SeriesId } from "../../../../models/seriesType/common.mjs";
6
- import { type SeriesLayoutGetterResult, type SeriesProcessorParams, type SeriesProcessorResult, type UseChartSeriesConfigSignature } from "../useChartSeriesConfig/index.mjs";
7
- import { type VisibilityIdentifier, type VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.mjs";
2
+ import type { ChartsColorPalette } from "../../../../colorPalettes/index.mjs";
3
+ import type { ChartPluginSignature } from "../../models/index.mjs";
4
+ import type { ChartSeriesType, DatasetType } from "../../../../models/seriesType/config.mjs";
5
+ import type { SeriesId } from "../../../../models/seriesType/common.mjs";
6
+ import type { SeriesLayoutGetterResult, SeriesProcessorParams, SeriesProcessorResult, UseChartSeriesConfigSignature } from "../useChartSeriesConfig/index.mjs";
7
+ import type { VisibilityIdentifier, VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.mjs";
8
8
  export interface UseChartSeriesParameters<SeriesType extends ChartSeriesType = ChartSeriesType> {
9
9
  /**
10
10
  * An array of objects that can be used to populate series and axes data using their `dataKey` property.