@mui/x-charts 9.8.0 → 9.9.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 (300) hide show
  1. package/BarChart/AnimatedBarElement.d.mts +1 -1
  2. package/BarChart/AnimatedBarElement.d.ts +1 -1
  3. package/BarChart/BarClipPath.d.mts +1 -1
  4. package/BarChart/BarClipPath.d.ts +1 -1
  5. package/BarChart/BarElement.d.mts +1 -1
  6. package/BarChart/BarElement.d.ts +1 -1
  7. package/BarChart/BarLabel/BarLabelItem.d.mts +1 -1
  8. package/BarChart/BarLabel/BarLabelItem.d.ts +1 -1
  9. package/BarChart/BarLabel/BarLabelPlot.d.mts +2 -1
  10. package/BarChart/BarLabel/BarLabelPlot.d.ts +2 -1
  11. package/BarChart/BatchBarPlot/BarGroup.d.mts +1 -1
  12. package/BarChart/BatchBarPlot/BarGroup.d.ts +1 -1
  13. package/BarChart/BatchBarPlot/BatchBarPlot.d.mts +2 -1
  14. package/BarChart/BatchBarPlot/BatchBarPlot.d.ts +2 -1
  15. package/BarChart/FocusedBar.d.mts +1 -1
  16. package/BarChart/FocusedBar.d.ts +1 -1
  17. package/BarChart/IndividualBarPlot.d.mts +2 -1
  18. package/BarChart/IndividualBarPlot.d.ts +2 -1
  19. package/BarChart/seriesConfig/bar/tooltipPosition.d.mts +2 -3
  20. package/BarChart/seriesConfig/bar/tooltipPosition.d.ts +2 -3
  21. package/BarChart/seriesConfig/bar/tooltipPosition.js +19 -15
  22. package/BarChart/seriesConfig/bar/tooltipPosition.mjs +18 -14
  23. package/BarChart/seriesConfig/index.js +2 -2
  24. package/BarChart/seriesConfig/index.mjs +2 -2
  25. package/BarChart/useBarPlotData.d.mts +5 -1
  26. package/BarChart/useBarPlotData.d.ts +5 -1
  27. package/BarChart/useBarPlotData.js +102 -25
  28. package/BarChart/useBarPlotData.mjs +102 -26
  29. package/CHANGELOG.md +119 -0
  30. package/ChartsAxis/ChartsAxis.d.mts +2 -1
  31. package/ChartsAxis/ChartsAxis.d.ts +2 -1
  32. package/ChartsAxisHighlight/ChartsAxisHighlight.d.mts +2 -1
  33. package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +2 -1
  34. package/ChartsAxisHighlight/ChartsXAxisHighlight.d.mts +2 -1
  35. package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -1
  36. package/ChartsAxisHighlight/ChartsXAxisHighlight.js +22 -5
  37. package/ChartsAxisHighlight/ChartsXAxisHighlight.mjs +23 -6
  38. package/ChartsAxisHighlight/ChartsYAxisHighlight.d.mts +2 -1
  39. package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -1
  40. package/ChartsAxisHighlight/ChartsYAxisHighlight.js +22 -5
  41. package/ChartsAxisHighlight/ChartsYAxisHighlight.mjs +23 -6
  42. package/ChartsAxisHighlight/getSampledBandHighlight.d.mts +27 -0
  43. package/ChartsAxisHighlight/getSampledBandHighlight.d.ts +27 -0
  44. package/ChartsAxisHighlight/getSampledBandHighlight.js +35 -0
  45. package/ChartsAxisHighlight/getSampledBandHighlight.mjs +29 -0
  46. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.mts +1 -1
  47. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.ts +1 -1
  48. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.mts +2 -1
  49. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.ts +2 -1
  50. package/ChartsBrushOverlay/ChartsBrushOverlay.d.mts +2 -1
  51. package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +2 -1
  52. package/ChartsClipPath/ChartsClipPath.d.mts +1 -1
  53. package/ChartsClipPath/ChartsClipPath.d.ts +1 -1
  54. package/ChartsDataProvider/ChartsDataProvider.d.mts +1 -1
  55. package/ChartsDataProvider/ChartsDataProvider.d.ts +1 -1
  56. package/ChartsGrid/ChartsGrid.d.mts +1 -1
  57. package/ChartsGrid/ChartsGrid.d.ts +1 -1
  58. package/ChartsGrid/ChartsHorizontalGrid.d.mts +2 -1
  59. package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -1
  60. package/ChartsGrid/ChartsVerticalGrid.d.mts +2 -1
  61. package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -1
  62. package/ChartsLocalizationProvider/ChartsLocalizationProvider.d.mts +1 -1
  63. package/ChartsLocalizationProvider/ChartsLocalizationProvider.d.ts +1 -1
  64. package/ChartsOverlay/ChartsLoadingOverlay.d.mts +1 -1
  65. package/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -1
  66. package/ChartsOverlay/ChartsNoDataOverlay.d.mts +1 -1
  67. package/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -1
  68. package/ChartsOverlay/ChartsOverlay.d.mts +1 -1
  69. package/ChartsOverlay/ChartsOverlay.d.ts +1 -1
  70. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.mts +2 -1
  71. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.ts +2 -1
  72. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.mts +2 -1
  73. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.ts +2 -1
  74. package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.mts +2 -1
  75. package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.ts +2 -1
  76. package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.mts +1 -1
  77. package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.ts +1 -1
  78. package/ChartsRadialGrid/ChartsRadialGrid.d.mts +1 -1
  79. package/ChartsRadialGrid/ChartsRadialGrid.d.ts +1 -1
  80. package/ChartsRadialGrid/ChartsRadiusGrid.d.mts +2 -1
  81. package/ChartsRadialGrid/ChartsRadiusGrid.d.ts +2 -1
  82. package/ChartsRadialGrid/ChartsRotationGrid.d.mts +2 -1
  83. package/ChartsRadialGrid/ChartsRotationGrid.d.ts +2 -1
  84. package/ChartsRadiusAxis/ChartsRadiusAxis.d.mts +1 -1
  85. package/ChartsRadiusAxis/ChartsRadiusAxis.d.ts +1 -1
  86. package/ChartsReferenceLine/ChartsReferenceLine.d.mts +1 -1
  87. package/ChartsReferenceLine/ChartsReferenceLine.d.ts +1 -1
  88. package/ChartsReferenceLine/ChartsXReferenceLine.d.mts +1 -1
  89. package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -1
  90. package/ChartsReferenceLine/ChartsYReferenceLine.d.mts +1 -1
  91. package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -1
  92. package/ChartsRotationAxis/ChartsRotationAxis.d.mts +1 -1
  93. package/ChartsRotationAxis/ChartsRotationAxis.d.ts +1 -1
  94. package/ChartsText/ChartsText.d.mts +1 -1
  95. package/ChartsText/ChartsText.d.ts +1 -1
  96. package/ChartsTooltip/ChartsAxisTooltipContent.d.mts +1 -1
  97. package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +1 -1
  98. package/ChartsTooltip/ChartsItemTooltipContent.d.mts +2 -1
  99. package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -1
  100. package/ChartsTooltip/ChartsTooltip.d.mts +1 -1
  101. package/ChartsTooltip/ChartsTooltip.d.ts +1 -1
  102. package/ChartsTooltip/ChartsTooltipContainer.d.mts +1 -1
  103. package/ChartsTooltip/ChartsTooltipContainer.d.ts +1 -1
  104. package/ChartsTooltip/ChartsTooltipContainer.js +1 -5
  105. package/ChartsTooltip/ChartsTooltipContainer.mjs +2 -6
  106. package/ChartsXAxis/ChartsGroupedXAxisTicks.d.mts +2 -1
  107. package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +2 -1
  108. package/ChartsXAxis/ChartsSingleXAxisTicks.d.mts +2 -1
  109. package/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +2 -1
  110. package/ChartsXAxis/ChartsXAxis.d.mts +1 -1
  111. package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
  112. package/ChartsXAxis/ChartsXAxisImpl.d.mts +2 -1
  113. package/ChartsXAxis/ChartsXAxisImpl.d.ts +2 -1
  114. package/ChartsYAxis/ChartsGroupedYAxisTicks.d.mts +2 -1
  115. package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +2 -1
  116. package/ChartsYAxis/ChartsSingleYAxisTicks.d.mts +2 -1
  117. package/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +2 -1
  118. package/ChartsYAxis/ChartsYAxis.d.mts +1 -1
  119. package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
  120. package/ChartsYAxis/ChartsYAxisImpl.d.mts +2 -1
  121. package/ChartsYAxis/ChartsYAxisImpl.d.ts +2 -1
  122. package/Gauge/GaugeProvider.d.mts +1 -1
  123. package/Gauge/GaugeProvider.d.ts +1 -1
  124. package/Gauge/GaugeReferenceArc.d.mts +1 -1
  125. package/Gauge/GaugeReferenceArc.d.ts +1 -1
  126. package/Gauge/GaugeValueArc.d.mts +1 -1
  127. package/Gauge/GaugeValueArc.d.ts +1 -1
  128. package/Gauge/GaugeValueText.d.mts +1 -1
  129. package/Gauge/GaugeValueText.d.ts +1 -1
  130. package/LineChart/AnimatedArea.d.mts +1 -1
  131. package/LineChart/AnimatedArea.d.ts +1 -1
  132. package/LineChart/AppearingMask.d.mts +1 -1
  133. package/LineChart/AppearingMask.d.ts +1 -1
  134. package/LineChart/AreaElement.d.mts +1 -1
  135. package/LineChart/AreaElement.d.ts +1 -1
  136. package/LineChart/AreaPlot.d.mts +1 -1
  137. package/LineChart/AreaPlot.d.ts +1 -1
  138. package/LineChart/CircleMarkElement.d.mts +1 -1
  139. package/LineChart/CircleMarkElement.d.ts +1 -1
  140. package/LineChart/FocusedLineMark.d.mts +1 -1
  141. package/LineChart/FocusedLineMark.d.ts +1 -1
  142. package/LineChart/LineElement.d.mts +1 -1
  143. package/LineChart/LineElement.d.ts +1 -1
  144. package/LineChart/LineHighlightElement.d.mts +1 -1
  145. package/LineChart/LineHighlightElement.d.ts +1 -1
  146. package/LineChart/LineHighlightPlot.d.mts +1 -1
  147. package/LineChart/LineHighlightPlot.d.ts +1 -1
  148. package/LineChart/LinePlot.d.mts +1 -1
  149. package/LineChart/LinePlot.d.ts +1 -1
  150. package/LineChart/LinePlot.js +3 -2
  151. package/LineChart/LinePlot.mjs +3 -2
  152. package/LineChart/MarkElement.d.mts +1 -1
  153. package/LineChart/MarkElement.d.ts +1 -1
  154. package/LineChart/MarkPlot.d.mts +1 -1
  155. package/LineChart/MarkPlot.d.ts +1 -1
  156. package/LineChart/seriesConfig/index.js +2 -2
  157. package/LineChart/seriesConfig/index.mjs +2 -2
  158. package/LineChart/seriesConfig/tooltipPosition.d.mts +2 -3
  159. package/LineChart/seriesConfig/tooltipPosition.d.ts +2 -3
  160. package/LineChart/seriesConfig/tooltipPosition.js +14 -14
  161. package/LineChart/seriesConfig/tooltipPosition.mjs +13 -13
  162. package/LineChart/useLinePlotData.d.mts +13 -1
  163. package/LineChart/useLinePlotData.d.ts +13 -1
  164. package/LineChart/useLinePlotData.js +90 -33
  165. package/LineChart/useLinePlotData.mjs +92 -34
  166. package/PieChart/FocusedPieArc.d.mts +1 -1
  167. package/PieChart/FocusedPieArc.d.ts +1 -1
  168. package/PieChart/PieArcLabelPlot.d.mts +1 -1
  169. package/PieChart/PieArcLabelPlot.d.ts +1 -1
  170. package/PieChart/PieArcPlot.d.mts +1 -1
  171. package/PieChart/PieArcPlot.d.ts +1 -1
  172. package/PieChart/PiePlot.d.mts +1 -1
  173. package/PieChart/PiePlot.d.ts +1 -1
  174. package/PieChart/seriesConfig/index.js +2 -2
  175. package/PieChart/seriesConfig/index.mjs +2 -2
  176. package/PieChart/seriesConfig/tooltipPosition.d.mts +2 -3
  177. package/PieChart/seriesConfig/tooltipPosition.d.ts +2 -3
  178. package/PieChart/seriesConfig/tooltipPosition.js +7 -11
  179. package/PieChart/seriesConfig/tooltipPosition.mjs +6 -10
  180. package/RadarChart/FocusedRadarMark.d.mts +1 -1
  181. package/RadarChart/FocusedRadarMark.d.ts +1 -1
  182. package/RadarChart/RadarAxis/RadarAxis.d.mts +1 -1
  183. package/RadarChart/RadarAxis/RadarAxis.d.ts +1 -1
  184. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.mts +1 -1
  185. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
  186. package/RadarChart/RadarDataProvider/RadarDataProvider.d.mts +2 -1
  187. package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +2 -1
  188. package/RadarChart/RadarGrid/CircularRadarGrid.d.mts +2 -1
  189. package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +2 -1
  190. package/RadarChart/RadarGrid/CircularRadarStripes.d.mts +2 -1
  191. package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +2 -1
  192. package/RadarChart/RadarGrid/RadarGrid.d.mts +2 -1
  193. package/RadarChart/RadarGrid/RadarGrid.d.ts +2 -1
  194. package/RadarChart/RadarGrid/SharpRadarGrid.d.mts +2 -1
  195. package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +2 -1
  196. package/RadarChart/RadarGrid/SharpRadarStripes.d.mts +2 -1
  197. package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +2 -1
  198. package/RadarChart/RadarMetricLabels/RadarMetricLabels.d.mts +2 -1
  199. package/RadarChart/RadarMetricLabels/RadarMetricLabels.d.ts +2 -1
  200. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +2 -1
  201. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +2 -1
  202. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +2 -1
  203. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +2 -1
  204. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.mts +1 -1
  205. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
  206. package/RadarChart/seriesConfig/index.js +2 -2
  207. package/RadarChart/seriesConfig/index.mjs +2 -2
  208. package/RadarChart/seriesConfig/tooltipPosition.d.mts +2 -3
  209. package/RadarChart/seriesConfig/tooltipPosition.d.ts +2 -3
  210. package/RadarChart/seriesConfig/tooltipPosition.js +9 -16
  211. package/RadarChart/seriesConfig/tooltipPosition.mjs +8 -15
  212. package/ScatterChart/BatchScatter.d.mts +2 -1
  213. package/ScatterChart/BatchScatter.d.ts +2 -1
  214. package/ScatterChart/FocusedScatterMark.d.mts +1 -1
  215. package/ScatterChart/FocusedScatterMark.d.ts +1 -1
  216. package/ScatterChart/HighlightedScatterMark.d.mts +1 -1
  217. package/ScatterChart/HighlightedScatterMark.d.ts +1 -1
  218. package/ScatterChart/Scatter.d.mts +1 -1
  219. package/ScatterChart/Scatter.d.ts +1 -1
  220. package/ScatterChart/ScatterMarker.d.mts +1 -1
  221. package/ScatterChart/ScatterMarker.d.ts +1 -1
  222. package/ScatterChart/ScatterPlot.d.mts +1 -1
  223. package/ScatterChart/ScatterPlot.d.ts +1 -1
  224. package/ScatterChart/async/ScatterAsync.d.mts +2 -1
  225. package/ScatterChart/async/ScatterAsync.d.ts +2 -1
  226. package/ScatterChart/async/ScatterAsyncBatch.d.mts +1 -1
  227. package/ScatterChart/async/ScatterAsyncBatch.d.ts +1 -1
  228. package/ScatterChart/seriesConfig/index.js +2 -2
  229. package/ScatterChart/seriesConfig/index.mjs +2 -2
  230. package/ScatterChart/seriesConfig/tooltipPosition.d.mts +2 -3
  231. package/ScatterChart/seriesConfig/tooltipPosition.d.ts +2 -3
  232. package/ScatterChart/seriesConfig/tooltipPosition.js +13 -13
  233. package/ScatterChart/seriesConfig/tooltipPosition.mjs +12 -12
  234. package/context/ChartsProvider/ChartsProvider.d.mts +1 -1
  235. package/context/ChartsProvider/ChartsProvider.d.ts +1 -1
  236. package/context/ChartsSlotsContext.d.mts +1 -1
  237. package/context/ChartsSlotsContext.d.ts +1 -1
  238. package/index.js +1 -1
  239. package/index.mjs +1 -1
  240. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.d.mts +2 -1
  241. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.d.ts +2 -1
  242. package/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.mts +2 -1
  243. package/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +2 -1
  244. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.mts +1 -1
  245. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
  246. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.mts +1 -1
  247. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
  248. package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.mts +2 -1
  249. package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +2 -1
  250. package/internals/createGetBarDimensions.d.mts +14 -1
  251. package/internals/createGetBarDimensions.d.ts +14 -1
  252. package/internals/createGetBarDimensions.js +45 -0
  253. package/internals/createGetBarDimensions.mjs +45 -0
  254. package/internals/geometry.js +1 -1
  255. package/internals/geometry.mjs +1 -1
  256. package/internals/index.d.mts +1 -2
  257. package/internals/index.d.ts +1 -2
  258. package/internals/index.js +12 -8
  259. package/internals/index.mjs +1 -2
  260. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +2 -2
  261. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
  262. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.mts +1 -1
  263. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.ts +1 -1
  264. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.js +4 -4
  265. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.mjs +1 -1
  266. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +11 -6
  267. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +11 -6
  268. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionSelector.types.d.mts +18 -0
  269. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionSelector.types.d.ts +18 -0
  270. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.mts +2 -0
  271. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +2 -0
  272. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +12 -0
  273. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.mjs +1 -0
  274. package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.d.mts +26 -0
  275. package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.d.ts +26 -0
  276. package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.js +89 -0
  277. package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.mjs +81 -0
  278. package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.types.d.mts +93 -0
  279. package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.types.d.ts +93 -0
  280. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.mts +5 -0
  281. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +5 -0
  282. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.mts +3 -8
  283. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +3 -8
  284. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +2 -53
  285. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +2 -53
  286. package/models/seriesType/config.d.mts +6 -2
  287. package/models/seriesType/config.d.ts +6 -2
  288. package/package.json +5 -5
  289. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +0 -45
  290. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +0 -45
  291. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.mts +0 -48
  292. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.ts +0 -48
  293. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.js +0 -124
  294. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.mjs +0 -117
  295. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.mts +0 -73
  296. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.ts +0 -73
  297. /package/internals/plugins/corePlugins/useChartSeriesConfig/types/{tooltipItemPositionGetter.types.js → tooltipItemPositionSelector.types.js} +0 -0
  298. /package/internals/plugins/corePlugins/useChartSeriesConfig/types/{tooltipItemPositionGetter.types.mjs → tooltipItemPositionSelector.types.mjs} +0 -0
  299. /package/internals/plugins/featurePlugins/{useGeoProjection/useGeoProjection.types.js → useChartCartesianAxis/sampling.types.js} +0 -0
  300. /package/internals/plugins/featurePlugins/{useGeoProjection/useGeoProjection.types.mjs → useChartCartesianAxis/sampling.types.mjs} +0 -0
@@ -10,7 +10,7 @@ export interface ChartsTextProps extends Omit<React.SVGTextElementAttributes<SVG
10
10
  /**
11
11
  * Helper component to manage multiline text in SVG
12
12
  */
13
- declare function ChartsText(props: ChartsTextProps): import("react/jsx-runtime").JSX.Element;
13
+ declare function ChartsText(props: ChartsTextProps): React.JSX.Element;
14
14
  declare namespace ChartsText {
15
15
  var propTypes: any;
16
16
  }
@@ -14,7 +14,7 @@ export interface ChartsAxisTooltipContentProps {
14
14
  */
15
15
  sort?: 'none' | 'asc' | 'desc';
16
16
  }
17
- declare function ChartsAxisTooltipContent(props: ChartsAxisTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
17
+ declare function ChartsAxisTooltipContent(props: ChartsAxisTooltipContentProps): import("react").JSX.Element | null;
18
18
  declare namespace ChartsAxisTooltipContent {
19
19
  var propTypes: any;
20
20
  }
@@ -14,7 +14,7 @@ export interface ChartsAxisTooltipContentProps {
14
14
  */
15
15
  sort?: 'none' | 'asc' | 'desc';
16
16
  }
17
- declare function ChartsAxisTooltipContent(props: ChartsAxisTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
17
+ declare function ChartsAxisTooltipContent(props: ChartsAxisTooltipContentProps): import("react").JSX.Element | null;
18
18
  declare namespace ChartsAxisTooltipContent {
19
19
  var propTypes: any;
20
20
  }
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { SxProps, Theme } from '@mui/material/styles';
2
3
  import type { ChartsTooltipClasses } from "./chartsTooltipClasses.mjs";
3
4
  export interface ChartsItemTooltipContentClasses extends ChartsTooltipClasses {}
@@ -8,7 +9,7 @@ export interface ChartsItemTooltipContentProps {
8
9
  classes?: Partial<ChartsTooltipClasses>;
9
10
  sx?: SxProps<Theme>;
10
11
  }
11
- declare function ChartsItemTooltipContent(props: ChartsItemTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
12
+ declare function ChartsItemTooltipContent(props: ChartsItemTooltipContentProps): React.JSX.Element | null;
12
13
  declare namespace ChartsItemTooltipContent {
13
14
  var propTypes: any;
14
15
  }
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { SxProps, Theme } from '@mui/material/styles';
2
3
  import type { ChartsTooltipClasses } from "./chartsTooltipClasses.js";
3
4
  export interface ChartsItemTooltipContentClasses extends ChartsTooltipClasses {}
@@ -8,7 +9,7 @@ export interface ChartsItemTooltipContentProps {
8
9
  classes?: Partial<ChartsTooltipClasses>;
9
10
  sx?: SxProps<Theme>;
10
11
  }
11
- declare function ChartsItemTooltipContent(props: ChartsItemTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
12
+ declare function ChartsItemTooltipContent(props: ChartsItemTooltipContentProps): React.JSX.Element | null;
12
13
  declare namespace ChartsItemTooltipContent {
13
14
  var propTypes: any;
14
15
  }
@@ -18,7 +18,7 @@ export type ChartsTooltipProps<T extends TriggerOptions = TriggerOptions> = T ex
18
18
  *
19
19
  * - [ChartsTooltip API](https://mui.com/x/api/charts/charts-tool-tip/)
20
20
  */
21
- declare function ChartsTooltip<T extends TriggerOptions>(props: ChartsTooltipProps<T>): import("react/jsx-runtime").JSX.Element;
21
+ declare function ChartsTooltip<T extends TriggerOptions>(props: ChartsTooltipProps<T>): import("react").JSX.Element;
22
22
  declare namespace ChartsTooltip {
23
23
  var propTypes: any;
24
24
  }
@@ -18,7 +18,7 @@ export type ChartsTooltipProps<T extends TriggerOptions = TriggerOptions> = T ex
18
18
  *
19
19
  * - [ChartsTooltip API](https://mui.com/x/api/charts/charts-tool-tip/)
20
20
  */
21
- declare function ChartsTooltip<T extends TriggerOptions>(props: ChartsTooltipProps<T>): import("react/jsx-runtime").JSX.Element;
21
+ declare function ChartsTooltip<T extends TriggerOptions>(props: ChartsTooltipProps<T>): import("react").JSX.Element;
22
22
  declare namespace ChartsTooltip {
23
23
  var propTypes: any;
24
24
  }
@@ -50,7 +50,7 @@ export interface ChartsTooltipContainerProps<T extends TriggerOptions = TriggerO
50
50
  *
51
51
  * - [ChartsTooltip API](https://mui.com/x/api/charts/charts-tool-tip/)
52
52
  */
53
- declare function ChartsTooltipContainer(inProps: ChartsTooltipContainerProps): import("react/jsx-runtime").JSX.Element | null;
53
+ declare function ChartsTooltipContainer(inProps: ChartsTooltipContainerProps): React.JSX.Element | null;
54
54
  declare namespace ChartsTooltipContainer {
55
55
  var propTypes: any;
56
56
  }
@@ -50,7 +50,7 @@ export interface ChartsTooltipContainerProps<T extends TriggerOptions = TriggerO
50
50
  *
51
51
  * - [ChartsTooltip API](https://mui.com/x/api/charts/charts-tool-tip/)
52
52
  */
53
- declare function ChartsTooltipContainer(inProps: ChartsTooltipContainerProps): import("react/jsx-runtime").JSX.Element | null;
53
+ declare function ChartsTooltipContainer(inProps: ChartsTooltipContainerProps): React.JSX.Element | null;
54
54
  declare namespace ChartsTooltipContainer {
55
55
  var propTypes: any;
56
56
  }
@@ -129,13 +129,9 @@ function ChartsTooltipContainer(inProps) {
129
129
  const lastInteraction = store.use(_useChartInteraction.selectorChartsLastInteraction);
130
130
  const pointerAnchorUnavailable = lastInteraction === 'keyboard' || pointerType === null;
131
131
  const computedAnchor = pointerAnchorUnavailable ? defaultAnchorByTrigger[trigger] : anchor;
132
-
133
- // A series type can override how its item tooltip is positioned (e.g. map
134
- // shapes position from the geo projection); otherwise the generic item
135
- // selector is used.
136
132
  const tooltipItem = store.use(_useChartTooltip.selectorChartsTooltipItem);
137
133
  const seriesConfig = store.use(_useChartSeriesConfig.selectorChartSeriesConfig);
138
- const selectorItemPosition = tooltipItem && seriesConfig[tooltipItem.type]?.selectorTooltipItemPosition || _useChartTooltip.selectorChartsTooltipItemPosition;
134
+ const selectorItemPosition = tooltipItem && seriesConfig[tooltipItem.type]?.selectorTooltipItemPosition || selectorReturnNull;
139
135
  const itemPosition = store.use(getPositionSelectorByAnchor(computedAnchor, selectorItemPosition), props.position);
140
136
  const isTooltipNodeAnchored = itemPosition !== null;
141
137
  React.useEffect(() => {
@@ -20,7 +20,7 @@ import { useUtilityClasses } from "./chartsTooltipClasses.mjs";
20
20
  import { useStore } from "../internals/store/useStore.mjs";
21
21
  import { selectorChartSeriesConfig } from "../internals/plugins/corePlugins/useChartSeriesConfig/index.mjs";
22
22
  import { selectorChartsLastInteraction, selectorChartsPointerType } from "../internals/plugins/featurePlugins/useChartInteraction/index.mjs";
23
- import { selectorChartsTooltipItem, selectorChartsTooltipItemIsDefined, selectorChartsTooltipItemPosition } from "../internals/plugins/featurePlugins/useChartTooltip/index.mjs";
23
+ import { selectorChartsTooltipItem, selectorChartsTooltipItemIsDefined } from "../internals/plugins/featurePlugins/useChartTooltip/index.mjs";
24
24
  import { selectorChartsInteractionAxisTooltip, selectorChartsTooltipAxisPosition } from "../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.mjs";
25
25
  import { selectorChartsInteractionPolarAxisTooltip } from "../internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.mjs";
26
26
  import { useAxisSystem } from "../hooks/useAxisSystem.mjs";
@@ -122,13 +122,9 @@ function ChartsTooltipContainer(inProps) {
122
122
  const lastInteraction = store.use(selectorChartsLastInteraction);
123
123
  const pointerAnchorUnavailable = lastInteraction === 'keyboard' || pointerType === null;
124
124
  const computedAnchor = pointerAnchorUnavailable ? defaultAnchorByTrigger[trigger] : anchor;
125
-
126
- // A series type can override how its item tooltip is positioned (e.g. map
127
- // shapes position from the geo projection); otherwise the generic item
128
- // selector is used.
129
125
  const tooltipItem = store.use(selectorChartsTooltipItem);
130
126
  const seriesConfig = store.use(selectorChartSeriesConfig);
131
- const selectorItemPosition = tooltipItem && seriesConfig[tooltipItem.type]?.selectorTooltipItemPosition || selectorChartsTooltipItemPosition;
127
+ const selectorItemPosition = tooltipItem && seriesConfig[tooltipItem.type]?.selectorTooltipItemPosition || selectorReturnNull;
132
128
  const itemPosition = store.use(getPositionSelectorByAnchor(computedAnchor, selectorItemPosition), props.position);
133
129
  const isTooltipNodeAnchored = itemPosition !== null;
134
130
  React.useEffect(() => {
@@ -1,7 +1,8 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsXAxisProps } from "../models/axis.mjs";
2
3
  interface ChartsGroupedXAxisProps extends ChartsXAxisProps {}
3
4
  /**
4
5
  * @ignore - internal component.
5
6
  */
6
- declare function ChartsGroupedXAxisTicks(inProps: ChartsGroupedXAxisProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function ChartsGroupedXAxisTicks(inProps: ChartsGroupedXAxisProps): React.JSX.Element;
7
8
  export { ChartsGroupedXAxisTicks };
@@ -1,7 +1,8 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsXAxisProps } from "../models/axis.js";
2
3
  interface ChartsGroupedXAxisProps extends ChartsXAxisProps {}
3
4
  /**
4
5
  * @ignore - internal component.
5
6
  */
6
- declare function ChartsGroupedXAxisTicks(inProps: ChartsGroupedXAxisProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function ChartsGroupedXAxisTicks(inProps: ChartsGroupedXAxisProps): React.JSX.Element;
7
8
  export { ChartsGroupedXAxisTicks };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsXAxisProps } from "../models/axis.mjs";
2
3
  import type { OrdinalTimeTicks } from "../models/timeTicks.mjs";
3
4
  interface ChartsSingleXAxisProps extends ChartsXAxisProps {
@@ -7,5 +8,5 @@ interface ChartsSingleXAxisProps extends ChartsXAxisProps {
7
8
  /**
8
9
  * @ignore - internal component.
9
10
  */
10
- declare function ChartsSingleXAxisTicks(inProps: ChartsSingleXAxisProps): import("react/jsx-runtime").JSX.Element;
11
+ declare function ChartsSingleXAxisTicks(inProps: ChartsSingleXAxisProps): React.JSX.Element;
11
12
  export { ChartsSingleXAxisTicks };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsXAxisProps } from "../models/axis.js";
2
3
  import type { OrdinalTimeTicks } from "../models/timeTicks.js";
3
4
  interface ChartsSingleXAxisProps extends ChartsXAxisProps {
@@ -7,5 +8,5 @@ interface ChartsSingleXAxisProps extends ChartsXAxisProps {
7
8
  /**
8
9
  * @ignore - internal component.
9
10
  */
10
- declare function ChartsSingleXAxisTicks(inProps: ChartsSingleXAxisProps): import("react/jsx-runtime").JSX.Element;
11
+ declare function ChartsSingleXAxisTicks(inProps: ChartsSingleXAxisProps): React.JSX.Element;
11
12
  export { ChartsSingleXAxisTicks };
@@ -10,7 +10,7 @@ export interface ChartsXAxisSlotProps extends ChartsAxisSlotProps {}
10
10
  *
11
11
  * - [ChartsXAxis API](https://mui.com/x/api/charts/charts-x-axis/)
12
12
  */
13
- declare function ChartsXAxis(inProps: ChartsXAxisProps): import("react/jsx-runtime").JSX.Element | null;
13
+ declare function ChartsXAxis(inProps: ChartsXAxisProps): import("react").JSX.Element | null;
14
14
  declare namespace ChartsXAxis {
15
15
  var propTypes: any;
16
16
  }
@@ -10,7 +10,7 @@ export interface ChartsXAxisSlotProps extends ChartsAxisSlotProps {}
10
10
  *
11
11
  * - [ChartsXAxis API](https://mui.com/x/api/charts/charts-x-axis/)
12
12
  */
13
- declare function ChartsXAxis(inProps: ChartsXAxisProps): import("react/jsx-runtime").JSX.Element | null;
13
+ declare function ChartsXAxis(inProps: ChartsXAxisProps): import("react").JSX.Element | null;
14
14
  declare namespace ChartsXAxis {
15
15
  var propTypes: any;
16
16
  }
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsXAxisProps, ComputedAxis, ScaleName } from "../models/axis.mjs";
2
3
  interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
3
4
  axis: ComputedAxis<ScaleName, any, ChartsXAxisProps>;
@@ -8,5 +9,5 @@ interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
8
9
  export declare function ChartsXAxisImpl({
9
10
  axis,
10
11
  ...inProps
11
- }: ChartsXAxisImplProps): import("react/jsx-runtime").JSX.Element | null;
12
+ }: ChartsXAxisImplProps): React.JSX.Element | null;
12
13
  export {};
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsXAxisProps, ComputedAxis, ScaleName } from "../models/axis.js";
2
3
  interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
3
4
  axis: ComputedAxis<ScaleName, any, ChartsXAxisProps>;
@@ -8,5 +9,5 @@ interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
8
9
  export declare function ChartsXAxisImpl({
9
10
  axis,
10
11
  ...inProps
11
- }: ChartsXAxisImplProps): import("react/jsx-runtime").JSX.Element | null;
12
+ }: ChartsXAxisImplProps): React.JSX.Element | null;
12
13
  export {};
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsYAxisProps } from "../models/axis.mjs";
2
3
  /**
3
4
  * @ignore - internal component.
4
5
  */
5
- declare function ChartsGroupedYAxisTicks(inProps: ChartsYAxisProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function ChartsGroupedYAxisTicks(inProps: ChartsYAxisProps): React.JSX.Element;
6
7
  export { ChartsGroupedYAxisTicks };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsYAxisProps } from "../models/axis.js";
2
3
  /**
3
4
  * @ignore - internal component.
4
5
  */
5
- declare function ChartsGroupedYAxisTicks(inProps: ChartsYAxisProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function ChartsGroupedYAxisTicks(inProps: ChartsYAxisProps): React.JSX.Element;
6
7
  export { ChartsGroupedYAxisTicks };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsYAxisProps } from "../models/axis.mjs";
2
3
  import type { OrdinalTimeTicks } from "../models/timeTicks.mjs";
3
4
  interface ChartsSingleYAxisProps extends ChartsYAxisProps {
@@ -7,5 +8,5 @@ interface ChartsSingleYAxisProps extends ChartsYAxisProps {
7
8
  /**
8
9
  * @ignore - internal component.
9
10
  */
10
- declare function ChartsSingleYAxisTicks(inProps: ChartsSingleYAxisProps): import("react/jsx-runtime").JSX.Element;
11
+ declare function ChartsSingleYAxisTicks(inProps: ChartsSingleYAxisProps): React.JSX.Element;
11
12
  export { ChartsSingleYAxisTicks };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsYAxisProps } from "../models/axis.js";
2
3
  import type { OrdinalTimeTicks } from "../models/timeTicks.js";
3
4
  interface ChartsSingleYAxisProps extends ChartsYAxisProps {
@@ -7,5 +8,5 @@ interface ChartsSingleYAxisProps extends ChartsYAxisProps {
7
8
  /**
8
9
  * @ignore - internal component.
9
10
  */
10
- declare function ChartsSingleYAxisTicks(inProps: ChartsSingleYAxisProps): import("react/jsx-runtime").JSX.Element;
11
+ declare function ChartsSingleYAxisTicks(inProps: ChartsSingleYAxisProps): React.JSX.Element;
11
12
  export { ChartsSingleYAxisTicks };
@@ -10,7 +10,7 @@ export interface ChartsYAxisSlotProps extends ChartsAxisSlotProps {}
10
10
  *
11
11
  * - [ChartsYAxis API](https://mui.com/x/api/charts/charts-y-axis/)
12
12
  */
13
- declare function ChartsYAxis(inProps: ChartsYAxisProps): import("react/jsx-runtime").JSX.Element | null;
13
+ declare function ChartsYAxis(inProps: ChartsYAxisProps): import("react").JSX.Element | null;
14
14
  declare namespace ChartsYAxis {
15
15
  var propTypes: any;
16
16
  }
@@ -10,7 +10,7 @@ export interface ChartsYAxisSlotProps extends ChartsAxisSlotProps {}
10
10
  *
11
11
  * - [ChartsYAxis API](https://mui.com/x/api/charts/charts-y-axis/)
12
12
  */
13
- declare function ChartsYAxis(inProps: ChartsYAxisProps): import("react/jsx-runtime").JSX.Element | null;
13
+ declare function ChartsYAxis(inProps: ChartsYAxisProps): import("react").JSX.Element | null;
14
14
  declare namespace ChartsYAxis {
15
15
  var propTypes: any;
16
16
  }
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsYAxisProps, ComputedAxis, ScaleName } from "../models/axis.mjs";
2
3
  interface ChartsYAxisImplProps extends Omit<ChartsYAxisProps, 'axis'> {
3
4
  axis: ComputedAxis<ScaleName, any, ChartsYAxisProps>;
@@ -8,5 +9,5 @@ interface ChartsYAxisImplProps extends Omit<ChartsYAxisProps, 'axis'> {
8
9
  export declare function ChartsYAxisImpl({
9
10
  axis,
10
11
  ...inProps
11
- }: ChartsYAxisImplProps): import("react/jsx-runtime").JSX.Element | null;
12
+ }: ChartsYAxisImplProps): React.JSX.Element | null;
12
13
  export {};
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { ChartsYAxisProps, ComputedAxis, ScaleName } from "../models/axis.js";
2
3
  interface ChartsYAxisImplProps extends Omit<ChartsYAxisProps, 'axis'> {
3
4
  axis: ComputedAxis<ScaleName, any, ChartsYAxisProps>;
@@ -8,5 +9,5 @@ interface ChartsYAxisImplProps extends Omit<ChartsYAxisProps, 'axis'> {
8
9
  export declare function ChartsYAxisImpl({
9
10
  axis,
10
11
  ...inProps
11
- }: ChartsYAxisImplProps): import("react/jsx-runtime").JSX.Element | null;
12
+ }: ChartsYAxisImplProps): React.JSX.Element | null;
12
13
  export {};
@@ -103,7 +103,7 @@ export declare const GaugeContext: React.Context<Required<GaugeConfig> & Process
103
103
  export interface GaugeProviderProps extends GaugeConfig, CircularConfig {
104
104
  children: React.ReactNode;
105
105
  }
106
- export declare function GaugeProvider(props: GaugeProviderProps): import("react/jsx-runtime").JSX.Element;
106
+ export declare function GaugeProvider(props: GaugeProviderProps): React.JSX.Element;
107
107
  export declare function useGaugeState(): Required<GaugeConfig> & ProcessedCircularConfig & {
108
108
  /**
109
109
  * The maximal radius from (cx, cy) that fits the arc in the drawing area.
@@ -103,7 +103,7 @@ export declare const GaugeContext: React.Context<Required<GaugeConfig> & Process
103
103
  export interface GaugeProviderProps extends GaugeConfig, CircularConfig {
104
104
  children: React.ReactNode;
105
105
  }
106
- export declare function GaugeProvider(props: GaugeProviderProps): import("react/jsx-runtime").JSX.Element;
106
+ export declare function GaugeProvider(props: GaugeProviderProps): React.JSX.Element;
107
107
  export declare function useGaugeState(): Required<GaugeConfig> & ProcessedCircularConfig & {
108
108
  /**
109
109
  * The maximal radius from (cx, cy) that fits the arc in the drawing area.
@@ -2,4 +2,4 @@ import * as React from 'react';
2
2
  export declare function GaugeReferenceArc({
3
3
  className,
4
4
  ...other
5
- }: React.ComponentProps<'path'>): import("react/jsx-runtime").JSX.Element;
5
+ }: React.ComponentProps<'path'>): React.JSX.Element;
@@ -2,4 +2,4 @@ import * as React from 'react';
2
2
  export declare function GaugeReferenceArc({
3
3
  className,
4
4
  ...other
5
- }: React.ComponentProps<'path'>): import("react/jsx-runtime").JSX.Element;
5
+ }: React.ComponentProps<'path'>): React.JSX.Element;
@@ -4,7 +4,7 @@ declare function GaugeValueArc({
4
4
  ...other
5
5
  }: React.ComponentProps<'path'> & {
6
6
  skipAnimation?: boolean;
7
- }): import("react/jsx-runtime").JSX.Element | null;
7
+ }): React.JSX.Element | null;
8
8
  declare namespace GaugeValueArc {
9
9
  var propTypes: any;
10
10
  }
@@ -4,7 +4,7 @@ declare function GaugeValueArc({
4
4
  ...other
5
5
  }: React.ComponentProps<'path'> & {
6
6
  skipAnimation?: boolean;
7
- }): import("react/jsx-runtime").JSX.Element | null;
7
+ }): React.JSX.Element | null;
8
8
  declare namespace GaugeValueArc {
9
9
  var propTypes: any;
10
10
  }
@@ -7,7 +7,7 @@ export interface GaugeFormatterParams {
7
7
  export interface GaugeValueTextProps extends Omit<ChartsTextProps, 'text'> {
8
8
  text?: string | ((params: GaugeFormatterParams) => string | null);
9
9
  }
10
- declare function GaugeValueText(props: GaugeValueTextProps): import("react/jsx-runtime").JSX.Element | null;
10
+ declare function GaugeValueText(props: GaugeValueTextProps): import("react").JSX.Element | null;
11
11
  declare namespace GaugeValueText {
12
12
  var propTypes: any;
13
13
  }
@@ -7,7 +7,7 @@ export interface GaugeFormatterParams {
7
7
  export interface GaugeValueTextProps extends Omit<ChartsTextProps, 'text'> {
8
8
  text?: string | ((params: GaugeFormatterParams) => string | null);
9
9
  }
10
- declare function GaugeValueText(props: GaugeValueTextProps): import("react/jsx-runtime").JSX.Element | null;
10
+ declare function GaugeValueText(props: GaugeValueTextProps): import("react").JSX.Element | null;
11
11
  declare namespace GaugeValueText {
12
12
  var propTypes: any;
13
13
  }
@@ -19,7 +19,7 @@ export interface AnimatedAreaProps extends React.ComponentPropsWithoutRef<'path'
19
19
  *
20
20
  * - [AreaElement API](https://mui.com/x/api/charts/animated-area/)
21
21
  */
22
- declare function AnimatedArea(props: AnimatedAreaProps): import("react/jsx-runtime").JSX.Element;
22
+ declare function AnimatedArea(props: AnimatedAreaProps): React.JSX.Element;
23
23
  declare namespace AnimatedArea {
24
24
  var propTypes: any;
25
25
  }
@@ -19,7 +19,7 @@ export interface AnimatedAreaProps extends React.ComponentPropsWithoutRef<'path'
19
19
  *
20
20
  * - [AreaElement API](https://mui.com/x/api/charts/animated-area/)
21
21
  */
22
- declare function AnimatedArea(props: AnimatedAreaProps): import("react/jsx-runtime").JSX.Element;
22
+ declare function AnimatedArea(props: AnimatedAreaProps): React.JSX.Element;
23
23
  declare namespace AnimatedArea {
24
24
  var propTypes: any;
25
25
  }
@@ -13,5 +13,5 @@ export declare const appearingMaskClasses: AppearingMaskClasses;
13
13
  /**
14
14
  * @ignore - internal component.
15
15
  */
16
- export declare function AppearingMask(props: AppearingMaskProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function AppearingMask(props: AppearingMaskProps): React.JSX.Element;
17
17
  export {};
@@ -13,5 +13,5 @@ export declare const appearingMaskClasses: AppearingMaskClasses;
13
13
  /**
14
14
  * @ignore - internal component.
15
15
  */
16
- export declare function AppearingMask(props: AppearingMaskProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function AppearingMask(props: AppearingMaskProps): React.JSX.Element;
17
17
  export {};
@@ -45,7 +45,7 @@ export interface AreaElementProps extends Omit<AreaElementOwnerState, 'isFaded'
45
45
  *
46
46
  * - [AreaElement API](https://mui.com/x/api/charts/area-element/)
47
47
  */
48
- declare function AreaElement(props: AreaElementProps): import("react/jsx-runtime").JSX.Element;
48
+ declare function AreaElement(props: AreaElementProps): React.JSX.Element;
49
49
  declare namespace AreaElement {
50
50
  var propTypes: any;
51
51
  }
@@ -45,7 +45,7 @@ export interface AreaElementProps extends Omit<AreaElementOwnerState, 'isFaded'
45
45
  *
46
46
  * - [AreaElement API](https://mui.com/x/api/charts/area-element/)
47
47
  */
48
- declare function AreaElement(props: AreaElementProps): import("react/jsx-runtime").JSX.Element;
48
+ declare function AreaElement(props: AreaElementProps): React.JSX.Element;
49
49
  declare namespace AreaElement {
50
50
  var propTypes: any;
51
51
  }
@@ -22,7 +22,7 @@ export interface AreaPlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<
22
22
  *
23
23
  * - [AreaPlot API](https://mui.com/x/api/charts/area-plot/)
24
24
  */
25
- declare function AreaPlot(props: AreaPlotProps): import("react/jsx-runtime").JSX.Element;
25
+ declare function AreaPlot(props: AreaPlotProps): React.JSX.Element;
26
26
  declare namespace AreaPlot {
27
27
  var propTypes: any;
28
28
  }
@@ -22,7 +22,7 @@ export interface AreaPlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<
22
22
  *
23
23
  * - [AreaPlot API](https://mui.com/x/api/charts/area-plot/)
24
24
  */
25
- declare function AreaPlot(props: AreaPlotProps): import("react/jsx-runtime").JSX.Element;
25
+ declare function AreaPlot(props: AreaPlotProps): React.JSX.Element;
26
26
  declare namespace AreaPlot {
27
27
  var propTypes: any;
28
28
  }
@@ -38,7 +38,7 @@ type CircleMarkElementProps = Omit<MarkElementOwnerState, 'isFaded' | 'isHighlig
38
38
  *
39
39
  * - [CircleMarkElement API](https://mui.com/x/api/charts/circle-mark-element/)
40
40
  */
41
- declare function CircleMarkElement(props: CircleMarkElementProps): import("react/jsx-runtime").JSX.Element;
41
+ declare function CircleMarkElement(props: CircleMarkElementProps): React.JSX.Element;
42
42
  declare namespace CircleMarkElement {
43
43
  var propTypes: any;
44
44
  }
@@ -38,7 +38,7 @@ type CircleMarkElementProps = Omit<MarkElementOwnerState, 'isFaded' | 'isHighlig
38
38
  *
39
39
  * - [CircleMarkElement API](https://mui.com/x/api/charts/circle-mark-element/)
40
40
  */
41
- declare function CircleMarkElement(props: CircleMarkElementProps): import("react/jsx-runtime").JSX.Element;
41
+ declare function CircleMarkElement(props: CircleMarkElementProps): React.JSX.Element;
42
42
  declare namespace CircleMarkElement {
43
43
  var propTypes: any;
44
44
  }
@@ -1 +1 @@
1
- export declare function FocusedLineMark(): import("react/jsx-runtime").JSX.Element | null;
1
+ export declare function FocusedLineMark(): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- export declare function FocusedLineMark(): import("react/jsx-runtime").JSX.Element | null;
1
+ export declare function FocusedLineMark(): import("react").JSX.Element | null;
@@ -49,7 +49,7 @@ export interface LineElementProps extends Omit<LineElementOwnerState, 'isFaded'
49
49
  *
50
50
  * - [LineElement API](https://mui.com/x/api/charts/line-element/)
51
51
  */
52
- declare function LineElement(props: LineElementProps): import("react/jsx-runtime").JSX.Element;
52
+ declare function LineElement(props: LineElementProps): React.JSX.Element;
53
53
  declare namespace LineElement {
54
54
  var propTypes: any;
55
55
  }
@@ -49,7 +49,7 @@ export interface LineElementProps extends Omit<LineElementOwnerState, 'isFaded'
49
49
  *
50
50
  * - [LineElement API](https://mui.com/x/api/charts/line-element/)
51
51
  */
52
- declare function LineElement(props: LineElementProps): import("react/jsx-runtime").JSX.Element;
52
+ declare function LineElement(props: LineElementProps): React.JSX.Element;
53
53
  declare namespace LineElement {
54
54
  var propTypes: any;
55
55
  }
@@ -21,7 +21,7 @@ export type LineHighlightElementProps = (LineHighlightElementCommonProps & {
21
21
  *
22
22
  * - [LineHighlightElement API](https://mui.com/x/api/charts/line-highlight-element/)
23
23
  */
24
- declare function LineHighlightElement(props: LineHighlightElementProps): import("react/jsx-runtime").JSX.Element;
24
+ declare function LineHighlightElement(props: LineHighlightElementProps): React.JSX.Element;
25
25
  declare namespace LineHighlightElement {
26
26
  var propTypes: any;
27
27
  }
@@ -21,7 +21,7 @@ export type LineHighlightElementProps = (LineHighlightElementCommonProps & {
21
21
  *
22
22
  * - [LineHighlightElement API](https://mui.com/x/api/charts/line-highlight-element/)
23
23
  */
24
- declare function LineHighlightElement(props: LineHighlightElementProps): import("react/jsx-runtime").JSX.Element;
24
+ declare function LineHighlightElement(props: LineHighlightElementProps): React.JSX.Element;
25
25
  declare namespace LineHighlightElement {
26
26
  var propTypes: any;
27
27
  }
@@ -30,7 +30,7 @@ export interface LineHighlightPlotProps extends React.SVGAttributes<SVGSVGElemen
30
30
  *
31
31
  * - [LineHighlightPlot API](https://mui.com/x/api/charts/line-highlight-plot/)
32
32
  */
33
- declare function LineHighlightPlot(props: LineHighlightPlotProps): import("react/jsx-runtime").JSX.Element | null;
33
+ declare function LineHighlightPlot(props: LineHighlightPlotProps): React.JSX.Element | null;
34
34
  declare namespace LineHighlightPlot {
35
35
  var propTypes: any;
36
36
  }
@@ -30,7 +30,7 @@ export interface LineHighlightPlotProps extends React.SVGAttributes<SVGSVGElemen
30
30
  *
31
31
  * - [LineHighlightPlot API](https://mui.com/x/api/charts/line-highlight-plot/)
32
32
  */
33
- declare function LineHighlightPlot(props: LineHighlightPlotProps): import("react/jsx-runtime").JSX.Element | null;
33
+ declare function LineHighlightPlot(props: LineHighlightPlotProps): React.JSX.Element | null;
34
34
  declare namespace LineHighlightPlot {
35
35
  var propTypes: any;
36
36
  }
@@ -21,7 +21,7 @@ export interface LinePlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<
21
21
  *
22
22
  * - [LinePlot API](https://mui.com/x/api/charts/line-plot/)
23
23
  */
24
- declare function LinePlot(props: LinePlotProps): import("react/jsx-runtime").JSX.Element;
24
+ declare function LinePlot(props: LinePlotProps): React.JSX.Element;
25
25
  declare namespace LinePlot {
26
26
  var propTypes: any;
27
27
  }
@@ -21,7 +21,7 @@ export interface LinePlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<
21
21
  *
22
22
  * - [LinePlot API](https://mui.com/x/api/charts/line-plot/)
23
23
  */
24
- declare function LinePlot(props: LinePlotProps): import("react/jsx-runtime").JSX.Element;
24
+ declare function LinePlot(props: LinePlotProps): React.JSX.Element;
25
25
  declare namespace LinePlot {
26
26
  var propTypes: any;
27
27
  }
@@ -73,7 +73,8 @@ function LinePlot(props) {
73
73
  seriesId,
74
74
  color,
75
75
  gradientId,
76
- hidden
76
+ hidden,
77
+ isSampled
77
78
  }) => {
78
79
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_LineElement.LineElement, {
79
80
  seriesId: seriesId,
@@ -81,7 +82,7 @@ function LinePlot(props) {
81
82
  color: color,
82
83
  gradientId: gradientId,
83
84
  hidden: hidden,
84
- skipAnimation: skipAnimation,
85
+ skipAnimation: skipAnimation || isSampled,
85
86
  slots: slots,
86
87
  slotProps: slotProps,
87
88
  onClick: onItemClick && (event => onItemClick(event, {