@mui/x-charts-pro 8.26.0 → 9.0.0-alpha.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 (220) hide show
  1. package/BarChartPro/BarChartPro.d.ts +1 -1
  2. package/BarChartPro/BarChartPro.js +9 -4
  3. package/CHANGELOG.md +355 -3
  4. package/ChartContainerPro/ChartContainerPro.d.ts +17 -31
  5. package/ChartContainerPro/ChartContainerPro.js +14 -287
  6. package/ChartContainerPro/useChartContainerProProps.d.ts +9 -5
  7. package/ChartContainerPro/useChartContainerProProps.js +9 -34
  8. package/ChartDataProviderPro/ChartDataProviderPro.d.ts +5 -3
  9. package/ChartDataProviderPro/ChartDataProviderPro.js +2 -2
  10. package/ChartDataProviderPro/index.d.ts +1 -1
  11. package/ChartDataProviderPro/useChartDataProviderProProps.d.ts +3 -3
  12. package/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.js +8 -6
  13. package/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.js +6 -4
  14. package/ChartZoomSlider/internals/previews/AreaPreviewPlot.d.ts +1 -1
  15. package/ChartZoomSlider/internals/previews/AreaPreviewPlot.js +4 -4
  16. package/ChartZoomSlider/internals/previews/BarPreviewPlot.js +1 -1
  17. package/ChartZoomSlider/internals/previews/LinePreviewPlot.d.ts +1 -1
  18. package/ChartZoomSlider/internals/previews/LinePreviewPlot.js +4 -4
  19. package/ChartsContainer/index.d.ts +1 -0
  20. package/ChartsContainer/index.js +16 -0
  21. package/ChartsContainerPro/ChartsContainerPro.d.ts +37 -0
  22. package/ChartsContainerPro/ChartsContainerPro.js +187 -0
  23. package/ChartsContainerPro/index.d.ts +9 -0
  24. package/ChartsContainerPro/index.js +17 -0
  25. package/ChartsContainerPro/useChartsContainerProProps.d.ts +9 -0
  26. package/ChartsContainerPro/useChartsContainerProProps.js +44 -0
  27. package/FunnelChart/FunnelChart.js +4 -4
  28. package/FunnelChart/FunnelSection.d.ts +1 -1
  29. package/FunnelChart/funnel.types.d.ts +1 -1
  30. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.js +12 -9
  31. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.ts +3 -2
  32. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +3 -3
  33. package/FunnelChart/index.d.ts +1 -0
  34. package/FunnelChart/index.js +12 -0
  35. package/FunnelChart/seriesConfig/index.js +2 -1
  36. package/FunnelChart/seriesConfig/legend.js +0 -1
  37. package/Heatmap/Heatmap.d.ts +14 -2
  38. package/Heatmap/Heatmap.js +36 -130
  39. package/Heatmap/Heatmap.plugins.d.ts +2 -2
  40. package/Heatmap/Heatmap.plugins.js +1 -1
  41. package/Heatmap/Heatmap.types.d.ts +19 -0
  42. package/Heatmap/Heatmap.types.js +5 -0
  43. package/Heatmap/HeatmapItem.d.ts +6 -0
  44. package/Heatmap/HeatmapItem.js +11 -3
  45. package/Heatmap/HeatmapPlot.d.ts +7 -3
  46. package/Heatmap/HeatmapPlot.js +16 -54
  47. package/Heatmap/HeatmapSVGPlot.d.ts +2 -0
  48. package/Heatmap/HeatmapSVGPlot.js +70 -0
  49. package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +5 -1
  50. package/Heatmap/HeatmapTooltip/index.d.ts +1 -1
  51. package/Heatmap/index.d.ts +3 -2
  52. package/Heatmap/seriesConfig/getItemAtPosition.d.ts +6 -0
  53. package/Heatmap/seriesConfig/getItemAtPosition.js +45 -0
  54. package/Heatmap/seriesConfig/index.js +3 -0
  55. package/Heatmap/useHeatmapProps.d.ts +24 -0
  56. package/Heatmap/useHeatmapProps.js +159 -0
  57. package/LineChartPro/LineChartPro.d.ts +1 -1
  58. package/LineChartPro/LineChartPro.js +9 -4
  59. package/PieChartPro/PieChartPro.d.ts +1 -1
  60. package/PieChartPro/PieChartPro.js +4 -4
  61. package/RadarChartPro/RadarChartPro.d.ts +1 -1
  62. package/RadarChartPro/RadarChartPro.js +4 -4
  63. package/RadarChartPro/RadarChartPro.plugins.d.ts +2 -2
  64. package/RadarChartPro/RadarChartPro.plugins.js +1 -1
  65. package/SankeyChart/SankeyChart.js +4 -4
  66. package/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +5 -1
  67. package/SankeyChart/SankeyTooltip/index.d.ts +1 -1
  68. package/SankeyChart/index.d.ts +1 -1
  69. package/SankeyChart/plugins/useSankeyHighlight.selectors.d.ts +7 -7
  70. package/SankeyChart/sankey.highlight.types.d.ts +4 -0
  71. package/SankeyChart/sankey.types.d.ts +6 -3
  72. package/SankeyChart/seriesConfig/getSeriesWithDefaultValues.js +13 -1
  73. package/SankeyChart/seriesConfig/identifierCleaner.d.ts +3 -0
  74. package/SankeyChart/seriesConfig/identifierCleaner.js +24 -0
  75. package/SankeyChart/seriesConfig/index.js +3 -1
  76. package/ScatterChartPro/ScatterChartPro.d.ts +1 -1
  77. package/ScatterChartPro/ScatterChartPro.js +9 -4
  78. package/esm/BarChartPro/BarChartPro.d.ts +1 -1
  79. package/esm/BarChartPro/BarChartPro.js +9 -4
  80. package/esm/ChartContainerPro/ChartContainerPro.d.ts +17 -31
  81. package/esm/ChartContainerPro/ChartContainerPro.js +15 -286
  82. package/esm/ChartContainerPro/useChartContainerProProps.d.ts +9 -5
  83. package/esm/ChartContainerPro/useChartContainerProProps.js +10 -33
  84. package/esm/ChartDataProviderPro/ChartDataProviderPro.d.ts +5 -3
  85. package/esm/ChartDataProviderPro/ChartDataProviderPro.js +2 -2
  86. package/esm/ChartDataProviderPro/index.d.ts +1 -1
  87. package/esm/ChartDataProviderPro/useChartDataProviderProProps.d.ts +3 -3
  88. package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.js +9 -7
  89. package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.js +7 -5
  90. package/esm/ChartZoomSlider/internals/previews/AreaPreviewPlot.d.ts +1 -1
  91. package/esm/ChartZoomSlider/internals/previews/AreaPreviewPlot.js +4 -4
  92. package/esm/ChartZoomSlider/internals/previews/BarPreviewPlot.js +1 -1
  93. package/esm/ChartZoomSlider/internals/previews/LinePreviewPlot.d.ts +1 -1
  94. package/esm/ChartZoomSlider/internals/previews/LinePreviewPlot.js +4 -4
  95. package/esm/ChartsContainer/index.d.ts +1 -0
  96. package/esm/ChartsContainer/index.js +2 -0
  97. package/esm/ChartsContainerPro/ChartsContainerPro.d.ts +37 -0
  98. package/esm/ChartsContainerPro/ChartsContainerPro.js +181 -0
  99. package/esm/ChartsContainerPro/index.d.ts +9 -0
  100. package/esm/ChartsContainerPro/index.js +6 -0
  101. package/esm/ChartsContainerPro/useChartsContainerProProps.d.ts +9 -0
  102. package/esm/ChartsContainerPro/useChartsContainerProProps.js +37 -0
  103. package/esm/FunnelChart/FunnelChart.js +4 -4
  104. package/esm/FunnelChart/FunnelSection.d.ts +1 -1
  105. package/esm/FunnelChart/funnel.types.d.ts +1 -1
  106. package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.js +13 -10
  107. package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.ts +3 -2
  108. package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +3 -3
  109. package/esm/FunnelChart/index.d.ts +1 -0
  110. package/esm/FunnelChart/index.js +1 -0
  111. package/esm/FunnelChart/seriesConfig/index.js +3 -2
  112. package/esm/FunnelChart/seriesConfig/legend.js +0 -1
  113. package/esm/Heatmap/Heatmap.d.ts +14 -2
  114. package/esm/Heatmap/Heatmap.js +37 -131
  115. package/esm/Heatmap/Heatmap.plugins.d.ts +2 -2
  116. package/esm/Heatmap/Heatmap.plugins.js +2 -2
  117. package/esm/Heatmap/Heatmap.types.d.ts +19 -0
  118. package/esm/Heatmap/Heatmap.types.js +1 -0
  119. package/esm/Heatmap/HeatmapItem.d.ts +6 -0
  120. package/esm/Heatmap/HeatmapItem.js +11 -3
  121. package/esm/Heatmap/HeatmapPlot.d.ts +7 -3
  122. package/esm/Heatmap/HeatmapPlot.js +17 -56
  123. package/esm/Heatmap/HeatmapSVGPlot.d.ts +2 -0
  124. package/esm/Heatmap/HeatmapSVGPlot.js +64 -0
  125. package/esm/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +5 -1
  126. package/esm/Heatmap/HeatmapTooltip/index.d.ts +1 -1
  127. package/esm/Heatmap/index.d.ts +3 -2
  128. package/esm/Heatmap/seriesConfig/getItemAtPosition.d.ts +6 -0
  129. package/esm/Heatmap/seriesConfig/getItemAtPosition.js +39 -0
  130. package/esm/Heatmap/seriesConfig/index.js +4 -1
  131. package/esm/Heatmap/useHeatmapProps.d.ts +24 -0
  132. package/esm/Heatmap/useHeatmapProps.js +151 -0
  133. package/esm/LineChartPro/LineChartPro.d.ts +1 -1
  134. package/esm/LineChartPro/LineChartPro.js +9 -4
  135. package/esm/PieChartPro/PieChartPro.d.ts +1 -1
  136. package/esm/PieChartPro/PieChartPro.js +4 -4
  137. package/esm/RadarChartPro/RadarChartPro.d.ts +1 -1
  138. package/esm/RadarChartPro/RadarChartPro.js +4 -4
  139. package/esm/RadarChartPro/RadarChartPro.plugins.d.ts +2 -2
  140. package/esm/RadarChartPro/RadarChartPro.plugins.js +2 -2
  141. package/esm/SankeyChart/SankeyChart.js +4 -4
  142. package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +5 -1
  143. package/esm/SankeyChart/SankeyTooltip/index.d.ts +1 -1
  144. package/esm/SankeyChart/index.d.ts +1 -1
  145. package/esm/SankeyChart/plugins/useSankeyHighlight.selectors.d.ts +7 -7
  146. package/esm/SankeyChart/sankey.highlight.types.d.ts +4 -0
  147. package/esm/SankeyChart/sankey.types.d.ts +6 -3
  148. package/esm/SankeyChart/seriesConfig/getSeriesWithDefaultValues.js +13 -1
  149. package/esm/SankeyChart/seriesConfig/identifierCleaner.d.ts +3 -0
  150. package/esm/SankeyChart/seriesConfig/identifierCleaner.js +18 -0
  151. package/esm/SankeyChart/seriesConfig/index.js +3 -1
  152. package/esm/ScatterChartPro/ScatterChartPro.d.ts +1 -1
  153. package/esm/ScatterChartPro/ScatterChartPro.js +9 -4
  154. package/esm/index.d.ts +3 -1
  155. package/esm/index.js +2 -1
  156. package/esm/internals/index.d.ts +8 -1
  157. package/esm/internals/index.js +6 -1
  158. package/esm/internals/plugins/useChartProExport/common.d.ts +5 -1
  159. package/esm/internals/plugins/useChartProExport/common.js +36 -0
  160. package/esm/internals/plugins/useChartProExport/exportImage.d.ts +1 -1
  161. package/esm/internals/plugins/useChartProExport/exportImage.js +10 -1
  162. package/esm/internals/plugins/useChartProExport/print.d.ts +1 -1
  163. package/esm/internals/plugins/useChartProExport/print.js +2 -1
  164. package/esm/internals/plugins/useChartProExport/useChartProExport.js +4 -2
  165. package/esm/internals/plugins/useChartProZoom/ZoomInteractionConfig.selectors.d.ts +2 -2
  166. package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +2 -3
  167. package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.js +4 -2
  168. package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +2 -3
  169. package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.js +4 -2
  170. package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +2 -3
  171. package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.js +6 -4
  172. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +2 -3
  173. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.js +7 -5
  174. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +2 -3
  175. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.js +4 -2
  176. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +2 -3
  177. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.js +6 -4
  178. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +2 -3
  179. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.js +6 -4
  180. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +2 -3
  181. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.js +6 -4
  182. package/esm/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +5 -5
  183. package/esm/models/seriesType/heatmap.d.ts +3 -3
  184. package/esm/plugins/selectors/useChartHeatmapPosition.selectors.d.ts +1 -1
  185. package/esm/plugins/selectors/useChartHeatmapPosition.selectors.js +3 -1
  186. package/esm/typeOverloads/modules.d.ts +9 -5
  187. package/index.d.ts +3 -1
  188. package/index.js +9 -1
  189. package/internals/index.d.ts +8 -1
  190. package/internals/index.js +50 -1
  191. package/internals/plugins/useChartProExport/common.d.ts +5 -1
  192. package/internals/plugins/useChartProExport/common.js +37 -0
  193. package/internals/plugins/useChartProExport/exportImage.d.ts +1 -1
  194. package/internals/plugins/useChartProExport/exportImage.js +9 -0
  195. package/internals/plugins/useChartProExport/print.d.ts +1 -1
  196. package/internals/plugins/useChartProExport/print.js +1 -0
  197. package/internals/plugins/useChartProExport/useChartProExport.js +4 -2
  198. package/internals/plugins/useChartProZoom/ZoomInteractionConfig.selectors.d.ts +2 -2
  199. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +2 -3
  200. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.js +4 -2
  201. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +2 -3
  202. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.js +4 -2
  203. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +2 -3
  204. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.js +5 -3
  205. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +2 -3
  206. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.js +6 -4
  207. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +2 -3
  208. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.js +4 -2
  209. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +2 -3
  210. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.js +5 -3
  211. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +2 -3
  212. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.js +5 -3
  213. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +2 -3
  214. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.js +5 -3
  215. package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +5 -5
  216. package/models/seriesType/heatmap.d.ts +3 -3
  217. package/package.json +8 -8
  218. package/plugins/selectors/useChartHeatmapPosition.selectors.d.ts +1 -1
  219. package/plugins/selectors/useChartHeatmapPosition.selectors.js +3 -1
  220. package/typeOverloads/modules.d.ts +9 -5
@@ -1,18 +1,18 @@
1
1
  import { type AxisId, type ChartRootSelector } from '@mui/x-charts/internals';
2
2
  import { type UseChartProZoomSignature } from "./useChartProZoom.types.js";
3
3
  export declare const selectorChartZoomState: ChartRootSelector<UseChartProZoomSignature, 'zoom'>;
4
- export declare const selectorChartZoomIsInteracting: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
4
+ export declare const selectorChartZoomIsInteracting: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
5
5
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
6
6
  }) => boolean;
7
- export declare const selectorChartZoomIsEnabled: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
7
+ export declare const selectorChartZoomIsEnabled: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
8
8
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
9
9
  }) => boolean;
10
- export declare const selectorChartAxisZoomData: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
10
+ export declare const selectorChartAxisZoomData: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
11
11
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
12
12
  }, axisId: AxisId) => import("@mui/x-charts/internals").ZoomData | undefined;
13
- export declare const selectorChartCanZoomOut: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
13
+ export declare const selectorChartCanZoomOut: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
14
14
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
15
15
  }) => boolean;
16
- export declare const selectorChartCanZoomIn: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
16
+ export declare const selectorChartCanZoomIn: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
17
17
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
18
18
  }) => boolean;
@@ -1,7 +1,7 @@
1
1
  import { type DefaultizedProps } from '@mui/x-internals/types';
2
2
  import { type CommonDefaultizedProps, type CommonSeriesType, type CartesianSeriesType } from '@mui/x-charts/internals';
3
3
  export type HeatmapValueType = readonly [number, number, number];
4
- export interface HeatmapSeriesType extends Omit<CommonSeriesType<HeatmapValueType>, 'color' | 'colorGetter'>, CartesianSeriesType {
4
+ export interface HeatmapSeriesType extends Omit<CommonSeriesType<HeatmapValueType, 'heatmap'>, 'color' | 'colorGetter'>, CartesianSeriesType {
5
5
  type: 'heatmap';
6
6
  /**
7
7
  * Data associated to each bar.
@@ -34,10 +34,10 @@ export type HeatmapItemIdentifier = {
34
34
  /**
35
35
  * The x index of the cell. Useful to identify the cell position in the heatmap even if there is no data.
36
36
  */
37
- xIndex?: number;
37
+ xIndex: number;
38
38
  /**
39
39
  * The y index of the cell. Useful to identify the cell position in the heatmap even if there is no data.
40
40
  */
41
- yIndex?: number;
41
+ yIndex: number;
42
42
  };
43
43
  export interface DefaultizedHeatmapSeriesType extends DefaultizedProps<HeatmapSeriesType, CommonDefaultizedProps> {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-charts-pro",
3
- "version": "8.26.0",
3
+ "version": "9.0.0-alpha.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The Pro plan edition of the MUI X Charts components.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -27,15 +27,15 @@
27
27
  "directory": "packages/x-charts-pro"
28
28
  },
29
29
  "dependencies": {
30
- "@babel/runtime": "^7.28.4",
31
- "@mui/utils": "^7.3.5",
30
+ "@babel/runtime": "^7.28.6",
31
+ "@mui/utils": "^7.3.7",
32
32
  "clsx": "^2.1.1",
33
33
  "prop-types": "^15.8.1",
34
- "@mui/x-charts": "8.26.0",
35
- "@mui/x-charts-vendor": "8.26.0",
34
+ "@mui/x-charts": "9.0.0-alpha.0",
35
+ "@mui/x-charts-vendor": "9.0.0-alpha.0",
36
36
  "@mui/x-internal-gestures": "0.4.0",
37
- "@mui/x-internals": "8.26.0",
38
- "@mui/x-license": "8.26.0"
37
+ "@mui/x-internals": "9.0.0-alpha.0",
38
+ "@mui/x-license": "9.0.0-alpha.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@emotion/react": "^11.9.0",
@@ -54,7 +54,7 @@
54
54
  }
55
55
  },
56
56
  "optionalDependencies": {
57
- "rasterizehtml": "^1.4.0"
57
+ "rasterizehtml": "^1.4.1"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=14.0.0"
@@ -1,4 +1,4 @@
1
1
  import { type HeatmapItemIdentifier } from "../../models/index.js";
2
- export declare const selectorHeatmapItemAtPosition: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & Partial<{}> & {
2
+ export declare const selectorHeatmapItemAtPosition: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & Partial<{}> & {
3
3
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
4
4
  }, svgPoint: Pick<DOMPoint, "x" | "y">) => HeatmapItemIdentifier | undefined;
@@ -37,7 +37,9 @@ const selectorHeatmapItemAtPosition = exports.selectorHeatmapItemAtPosition = (0
37
37
  return {
38
38
  type: 'heatmap',
39
39
  seriesId,
40
- dataIndex
40
+ dataIndex,
41
+ xIndex,
42
+ yIndex
41
43
  };
42
44
  }
43
45
  }
@@ -1,8 +1,9 @@
1
- import { type DefaultizedProps, type MakeRequired } from '@mui/x-internals/types';
2
- import { type AxisId, type ZoomOptions } from '@mui/x-charts/internals';
3
- import { type DefaultizedFunnelSeriesType, type FunnelItemIdentifier, type FunnelSeriesType, type FunnelValueType } from "../FunnelChart/funnel.types.js";
4
- import { type HeatmapItemIdentifier, type HeatmapSeriesType, type DefaultizedHeatmapSeriesType, type HeatmapValueType } from "../models/seriesType/heatmap.js";
5
- import { type SankeyLayout, type SankeySeriesType, type DefaultizedSankeySeriesType, type SankeyItemIdentifier, type SankeyItemIdentifierWithData } from "../SankeyChart/sankey.types.js";
1
+ import type { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
2
+ import type { AxisId, CommonHighlightScope, ZoomOptions } from '@mui/x-charts/internals';
3
+ import type { DefaultizedFunnelSeriesType, FunnelItemIdentifier, FunnelSeriesType, FunnelValueType } from "../FunnelChart/funnel.types.js";
4
+ import type { HeatmapItemIdentifier, HeatmapSeriesType, DefaultizedHeatmapSeriesType, HeatmapValueType } from "../models/seriesType/heatmap.js";
5
+ import type { SankeyLayout, SankeySeriesType, DefaultizedSankeySeriesType, SankeyItemIdentifier, SankeyItemIdentifierWithData } from "../SankeyChart/sankey.types.js";
6
+ import type { SankeyHighlightScope } from "../SankeyChart/sankey.highlight.types.js";
6
7
  declare module '@mui/x-charts/internals' {
7
8
  interface ChartsSeriesConfig {
8
9
  heatmap: {
@@ -14,6 +15,7 @@ declare module '@mui/x-charts/internals' {
14
15
  itemIdentifierWithData: HeatmapItemIdentifier;
15
16
  valueType: HeatmapValueType;
16
17
  axisType: 'cartesian';
18
+ highlightScope: CommonHighlightScope;
17
19
  };
18
20
  funnel: {
19
21
  seriesInput: Omit<DefaultizedProps<FunnelSeriesType, 'id'>, 'data'> & {
@@ -26,6 +28,7 @@ declare module '@mui/x-charts/internals' {
26
28
  itemIdentifierWithData: FunnelItemIdentifier;
27
29
  valueType: MakeRequired<FunnelValueType, 'id' | 'color'>;
28
30
  axisType: 'cartesian';
31
+ highlightScope: CommonHighlightScope;
29
32
  };
30
33
  sankey: {
31
34
  seriesInput: DefaultizedSankeySeriesType;
@@ -37,6 +40,7 @@ declare module '@mui/x-charts/internals' {
37
40
  itemIdentifier: SankeyItemIdentifier;
38
41
  itemIdentifierWithData: SankeyItemIdentifierWithData<true>;
39
42
  valueType: number;
43
+ highlightScope: SankeyHighlightScope;
40
44
  };
41
45
  }
42
46
  interface DefaultizedZoomOptions extends Required<ZoomOptions> {