@mui/x-charts-pro 8.21.0 → 8.22.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 (326) hide show
  1. package/BarChartPro/BarChartPro.d.ts +5 -5
  2. package/BarChartPro/BarChartPro.js +20 -0
  3. package/BarChartPro/BarChartPro.plugins.d.ts +4 -4
  4. package/BarChartPro/BarChartPro.plugins.js +1 -1
  5. package/CHANGELOG.md +137 -1
  6. package/ChartContainerPro/ChartContainerPro.d.ts +4 -4
  7. package/ChartContainerPro/useChartContainerProProps.d.ts +4 -4
  8. package/ChartDataProviderPro/ChartDataProviderPro.d.ts +4 -4
  9. package/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
  10. package/ChartDataProviderPro/useChartDataProviderProProps.d.ts +1 -1
  11. package/ChartZoomSlider/internals/ChartAxisZoomSlider.d.ts +1 -1
  12. package/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.d.ts +1 -1
  13. package/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.js +8 -8
  14. package/ChartZoomSlider/internals/ChartAxisZoomSliderPreview.d.ts +1 -1
  15. package/ChartZoomSlider/internals/ChartAxisZoomSliderPreviewContent.d.ts +1 -1
  16. package/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.d.ts +1 -1
  17. package/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.js +3 -3
  18. package/ChartZoomSlider/internals/ChartsTooltipZoomSliderValue.d.ts +1 -1
  19. package/ChartZoomSlider/internals/previews/AreaPreviewPlot.d.ts +2 -2
  20. package/ChartZoomSlider/internals/previews/BarPreviewPlot.d.ts +1 -1
  21. package/ChartZoomSlider/internals/previews/LinePreviewPlot.d.ts +2 -2
  22. package/ChartZoomSlider/internals/previews/PreviewPlot.types.d.ts +1 -1
  23. package/ChartZoomSlider/internals/previews/ScatterPreviewPlot.d.ts +1 -1
  24. package/ChartZoomSlider/internals/zoom-utils.d.ts +2 -2
  25. package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.d.ts +3 -3
  26. package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.ts +3 -3
  27. package/ChartsToolbarPro/ChartsToolbarPro.d.ts +3 -3
  28. package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.ts +2 -2
  29. package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.ts +2 -2
  30. package/ChartsToolbarPro/Toolbar.types.d.ts +2 -2
  31. package/ChartsToolbarPro/internals/ChartsMenu.d.ts +1 -1
  32. package/ChartsToolbarPro/internals/ChartsToolbarDivider.d.ts +1 -1
  33. package/FunnelChart/FunnelChart.d.ts +9 -9
  34. package/FunnelChart/FunnelChart.plugins.d.ts +4 -4
  35. package/FunnelChart/FunnelChart.plugins.js +1 -1
  36. package/FunnelChart/FunnelPlot.d.ts +2 -2
  37. package/FunnelChart/FunnelSection.d.ts +2 -2
  38. package/FunnelChart/FunnelSectionLabel.d.ts +2 -2
  39. package/FunnelChart/categoryAxis.types.d.ts +2 -2
  40. package/FunnelChart/coordinateMapper.d.ts +2 -2
  41. package/FunnelChart/curves/borderRadiusPolygon.d.ts +1 -1
  42. package/FunnelChart/curves/bump.d.ts +1 -1
  43. package/FunnelChart/curves/curve.types.d.ts +1 -1
  44. package/FunnelChart/curves/getFunnelCurve.d.ts +1 -1
  45. package/FunnelChart/curves/linear.d.ts +1 -1
  46. package/FunnelChart/curves/pyramid.d.ts +1 -1
  47. package/FunnelChart/curves/step-pyramid.d.ts +1 -1
  48. package/FunnelChart/curves/step.d.ts +1 -1
  49. package/FunnelChart/funnel.types.d.ts +5 -5
  50. package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +4 -4
  51. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.d.ts +2 -2
  52. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.ts +1 -1
  53. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +2 -2
  54. package/FunnelChart/funnelPlotSlots.types.d.ts +2 -2
  55. package/FunnelChart/funnelSlots.types.d.ts +6 -6
  56. package/FunnelChart/labelUtils.d.ts +2 -2
  57. package/FunnelChart/seriesConfig/extremums.d.ts +1 -1
  58. package/FunnelChart/seriesConfig/getColor.d.ts +1 -1
  59. package/FunnelChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  60. package/FunnelChart/seriesConfig/legend.d.ts +1 -1
  61. package/FunnelChart/seriesConfig/seriesProcessor.d.ts +1 -1
  62. package/FunnelChart/seriesConfig/tooltip.d.ts +1 -1
  63. package/FunnelChart/seriesConfig/tooltipPosition.d.ts +1 -1
  64. package/FunnelChart/useFunnelChartProps.d.ts +7 -7
  65. package/Heatmap/Heatmap.d.ts +13 -13
  66. package/Heatmap/Heatmap.js +10 -0
  67. package/Heatmap/Heatmap.plugins.d.ts +3 -3
  68. package/Heatmap/Heatmap.plugins.js +1 -1
  69. package/Heatmap/HeatmapItem.d.ts +2 -2
  70. package/Heatmap/HeatmapPlot.d.ts +1 -1
  71. package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.ts +1 -1
  72. package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.ts +1 -1
  73. package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +1 -1
  74. package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.ts +1 -1
  75. package/Heatmap/seriesConfig/extremums.d.ts +1 -1
  76. package/Heatmap/seriesConfig/getColor.d.ts +1 -1
  77. package/Heatmap/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  78. package/Heatmap/seriesConfig/index.d.ts +1 -1
  79. package/Heatmap/seriesConfig/seriesProcessor.d.ts +1 -1
  80. package/Heatmap/seriesConfig/tooltip.d.ts +1 -1
  81. package/Heatmap/seriesConfig/tooltipPosition.d.ts +1 -1
  82. package/LineChartPro/LineChartPro.d.ts +5 -5
  83. package/LineChartPro/LineChartPro.js +20 -0
  84. package/LineChartPro/LineChartPro.plugins.d.ts +4 -4
  85. package/LineChartPro/LineChartPro.plugins.js +1 -1
  86. package/PieChartPro/PieChartPro.d.ts +5 -5
  87. package/PieChartPro/PieChartPro.plugins.d.ts +3 -3
  88. package/RadarChartPro/RadarChartPro.d.ts +4 -4
  89. package/RadarChartPro/RadarChartPro.plugins.d.ts +3 -3
  90. package/RadarChartPro/RadarChartPro.plugins.js +1 -1
  91. package/SankeyChart/SankeyChart.d.ts +1 -1
  92. package/SankeyChart/SankeyChart.plugins.d.ts +3 -3
  93. package/SankeyChart/SankeyChart.plugins.js +1 -1
  94. package/SankeyChart/SankeyLinkLabel.d.ts +1 -1
  95. package/SankeyChart/SankeyNodeElement.d.ts +0 -4
  96. package/SankeyChart/SankeyNodeElement.js +3 -22
  97. package/SankeyChart/SankeyNodeLabel.d.ts +12 -0
  98. package/SankeyChart/SankeyNodeLabel.js +61 -0
  99. package/SankeyChart/SankeyPlot.js +10 -7
  100. package/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -1
  101. package/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +1 -1
  102. package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +1 -1
  103. package/SankeyChart/calculateSankeyLayout.d.ts +2 -2
  104. package/SankeyChart/calculateSankeyLayout.js +12 -33
  105. package/SankeyChart/d3Sankey/align.d.ts +4 -4
  106. package/SankeyChart/d3Sankey/sankey.d.ts +3 -3
  107. package/SankeyChart/d3Sankey/sankey.js +4 -1
  108. package/SankeyChart/d3Sankey/sankey.types.d.ts +76 -39
  109. package/SankeyChart/d3Sankey/sankeyLinkHorizontal.d.ts +2 -2
  110. package/SankeyChart/plugins/useSankeyHighlight.d.ts +1 -1
  111. package/SankeyChart/plugins/useSankeyHighlight.js +1 -1
  112. package/SankeyChart/plugins/useSankeyHighlight.selectors.d.ts +2 -2
  113. package/SankeyChart/plugins/useSankeyHighlight.types.d.ts +3 -3
  114. package/SankeyChart/sankey.types.d.ts +32 -24
  115. package/SankeyChart/sankeyClasses.d.ts +3 -1
  116. package/SankeyChart/sankeyClasses.js +2 -1
  117. package/SankeyChart/sankeySlots.types.d.ts +4 -4
  118. package/SankeyChart/seriesConfig/getSeriesWithDefaultValues.js +63 -14
  119. package/SankeyChart/seriesConfig/tooltipGetter.js +5 -2
  120. package/SankeyChart/utils.d.ts +1 -1
  121. package/ScatterChartPro/ScatterChartPro.d.ts +6 -6
  122. package/ScatterChartPro/ScatterChartPro.js +20 -0
  123. package/ScatterChartPro/ScatterChartPro.plugins.d.ts +4 -4
  124. package/ScatterChartPro/ScatterChartPro.plugins.js +1 -1
  125. package/context/ChartProApi.d.ts +10 -10
  126. package/context/useChartProApiContext.d.ts +1 -1
  127. package/esm/BarChartPro/BarChartPro.d.ts +5 -5
  128. package/esm/BarChartPro/BarChartPro.js +20 -0
  129. package/esm/BarChartPro/BarChartPro.plugins.d.ts +4 -4
  130. package/esm/BarChartPro/BarChartPro.plugins.js +2 -2
  131. package/esm/ChartContainerPro/ChartContainerPro.d.ts +4 -4
  132. package/esm/ChartContainerPro/useChartContainerProProps.d.ts +4 -4
  133. package/esm/ChartDataProviderPro/ChartDataProviderPro.d.ts +4 -4
  134. package/esm/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
  135. package/esm/ChartDataProviderPro/useChartDataProviderProProps.d.ts +1 -1
  136. package/esm/ChartZoomSlider/internals/ChartAxisZoomSlider.d.ts +1 -1
  137. package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.d.ts +1 -1
  138. package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.js +8 -8
  139. package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderPreview.d.ts +1 -1
  140. package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderPreviewContent.d.ts +1 -1
  141. package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.d.ts +1 -1
  142. package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.js +3 -3
  143. package/esm/ChartZoomSlider/internals/ChartsTooltipZoomSliderValue.d.ts +1 -1
  144. package/esm/ChartZoomSlider/internals/previews/AreaPreviewPlot.d.ts +2 -2
  145. package/esm/ChartZoomSlider/internals/previews/BarPreviewPlot.d.ts +1 -1
  146. package/esm/ChartZoomSlider/internals/previews/LinePreviewPlot.d.ts +2 -2
  147. package/esm/ChartZoomSlider/internals/previews/PreviewPlot.types.d.ts +1 -1
  148. package/esm/ChartZoomSlider/internals/previews/ScatterPreviewPlot.d.ts +1 -1
  149. package/esm/ChartZoomSlider/internals/zoom-utils.d.ts +2 -2
  150. package/esm/ChartsToolbarPro/ChartsToolbarImageExportTrigger.d.ts +3 -3
  151. package/esm/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.ts +3 -3
  152. package/esm/ChartsToolbarPro/ChartsToolbarPro.d.ts +3 -3
  153. package/esm/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.ts +2 -2
  154. package/esm/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.ts +2 -2
  155. package/esm/ChartsToolbarPro/Toolbar.types.d.ts +2 -2
  156. package/esm/ChartsToolbarPro/internals/ChartsMenu.d.ts +1 -1
  157. package/esm/ChartsToolbarPro/internals/ChartsToolbarDivider.d.ts +1 -1
  158. package/esm/FunnelChart/FunnelChart.d.ts +9 -9
  159. package/esm/FunnelChart/FunnelChart.plugins.d.ts +4 -4
  160. package/esm/FunnelChart/FunnelChart.plugins.js +2 -2
  161. package/esm/FunnelChart/FunnelPlot.d.ts +2 -2
  162. package/esm/FunnelChart/FunnelSection.d.ts +2 -2
  163. package/esm/FunnelChart/FunnelSectionLabel.d.ts +2 -2
  164. package/esm/FunnelChart/categoryAxis.types.d.ts +2 -2
  165. package/esm/FunnelChart/coordinateMapper.d.ts +2 -2
  166. package/esm/FunnelChart/curves/borderRadiusPolygon.d.ts +1 -1
  167. package/esm/FunnelChart/curves/bump.d.ts +1 -1
  168. package/esm/FunnelChart/curves/curve.types.d.ts +1 -1
  169. package/esm/FunnelChart/curves/getFunnelCurve.d.ts +1 -1
  170. package/esm/FunnelChart/curves/linear.d.ts +1 -1
  171. package/esm/FunnelChart/curves/pyramid.d.ts +1 -1
  172. package/esm/FunnelChart/curves/step-pyramid.d.ts +1 -1
  173. package/esm/FunnelChart/curves/step.d.ts +1 -1
  174. package/esm/FunnelChart/funnel.types.d.ts +5 -5
  175. package/esm/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +4 -4
  176. package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.d.ts +2 -2
  177. package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.ts +1 -1
  178. package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +2 -2
  179. package/esm/FunnelChart/funnelPlotSlots.types.d.ts +2 -2
  180. package/esm/FunnelChart/funnelSlots.types.d.ts +6 -6
  181. package/esm/FunnelChart/labelUtils.d.ts +2 -2
  182. package/esm/FunnelChart/seriesConfig/extremums.d.ts +1 -1
  183. package/esm/FunnelChart/seriesConfig/getColor.d.ts +1 -1
  184. package/esm/FunnelChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  185. package/esm/FunnelChart/seriesConfig/legend.d.ts +1 -1
  186. package/esm/FunnelChart/seriesConfig/seriesProcessor.d.ts +1 -1
  187. package/esm/FunnelChart/seriesConfig/tooltip.d.ts +1 -1
  188. package/esm/FunnelChart/seriesConfig/tooltipPosition.d.ts +1 -1
  189. package/esm/FunnelChart/useFunnelChartProps.d.ts +7 -7
  190. package/esm/Heatmap/Heatmap.d.ts +13 -13
  191. package/esm/Heatmap/Heatmap.js +10 -0
  192. package/esm/Heatmap/Heatmap.plugins.d.ts +3 -3
  193. package/esm/Heatmap/Heatmap.plugins.js +2 -2
  194. package/esm/Heatmap/HeatmapItem.d.ts +2 -2
  195. package/esm/Heatmap/HeatmapPlot.d.ts +1 -1
  196. package/esm/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.ts +1 -1
  197. package/esm/Heatmap/HeatmapTooltip/HeatmapTooltip.d.ts +1 -1
  198. package/esm/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +1 -1
  199. package/esm/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.ts +1 -1
  200. package/esm/Heatmap/seriesConfig/extremums.d.ts +1 -1
  201. package/esm/Heatmap/seriesConfig/getColor.d.ts +1 -1
  202. package/esm/Heatmap/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  203. package/esm/Heatmap/seriesConfig/index.d.ts +1 -1
  204. package/esm/Heatmap/seriesConfig/seriesProcessor.d.ts +1 -1
  205. package/esm/Heatmap/seriesConfig/tooltip.d.ts +1 -1
  206. package/esm/Heatmap/seriesConfig/tooltipPosition.d.ts +1 -1
  207. package/esm/LineChartPro/LineChartPro.d.ts +5 -5
  208. package/esm/LineChartPro/LineChartPro.js +20 -0
  209. package/esm/LineChartPro/LineChartPro.plugins.d.ts +4 -4
  210. package/esm/LineChartPro/LineChartPro.plugins.js +2 -2
  211. package/esm/PieChartPro/PieChartPro.d.ts +5 -5
  212. package/esm/PieChartPro/PieChartPro.plugins.d.ts +3 -3
  213. package/esm/RadarChartPro/RadarChartPro.d.ts +4 -4
  214. package/esm/RadarChartPro/RadarChartPro.plugins.d.ts +3 -3
  215. package/esm/RadarChartPro/RadarChartPro.plugins.js +2 -2
  216. package/esm/SankeyChart/SankeyChart.d.ts +1 -1
  217. package/esm/SankeyChart/SankeyChart.plugins.d.ts +3 -3
  218. package/esm/SankeyChart/SankeyChart.plugins.js +2 -2
  219. package/esm/SankeyChart/SankeyLinkLabel.d.ts +1 -1
  220. package/esm/SankeyChart/SankeyNodeElement.d.ts +0 -4
  221. package/esm/SankeyChart/SankeyNodeElement.js +4 -23
  222. package/esm/SankeyChart/SankeyNodeLabel.d.ts +12 -0
  223. package/esm/SankeyChart/SankeyNodeLabel.js +55 -0
  224. package/esm/SankeyChart/SankeyPlot.js +10 -7
  225. package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -1
  226. package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +1 -1
  227. package/esm/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +1 -1
  228. package/esm/SankeyChart/calculateSankeyLayout.d.ts +2 -2
  229. package/esm/SankeyChart/calculateSankeyLayout.js +12 -33
  230. package/esm/SankeyChart/d3Sankey/align.d.ts +4 -4
  231. package/esm/SankeyChart/d3Sankey/sankey.d.ts +3 -3
  232. package/esm/SankeyChart/d3Sankey/sankey.js +4 -1
  233. package/esm/SankeyChart/d3Sankey/sankey.types.d.ts +76 -39
  234. package/esm/SankeyChart/d3Sankey/sankeyLinkHorizontal.d.ts +2 -2
  235. package/esm/SankeyChart/plugins/useSankeyHighlight.d.ts +1 -1
  236. package/esm/SankeyChart/plugins/useSankeyHighlight.js +1 -1
  237. package/esm/SankeyChart/plugins/useSankeyHighlight.selectors.d.ts +2 -2
  238. package/esm/SankeyChart/plugins/useSankeyHighlight.types.d.ts +3 -3
  239. package/esm/SankeyChart/sankey.types.d.ts +32 -24
  240. package/esm/SankeyChart/sankeyClasses.d.ts +3 -1
  241. package/esm/SankeyChart/sankeyClasses.js +2 -1
  242. package/esm/SankeyChart/sankeySlots.types.d.ts +4 -4
  243. package/esm/SankeyChart/seriesConfig/getSeriesWithDefaultValues.js +63 -14
  244. package/esm/SankeyChart/seriesConfig/tooltipGetter.js +5 -2
  245. package/esm/SankeyChart/utils.d.ts +1 -1
  246. package/esm/ScatterChartPro/ScatterChartPro.d.ts +6 -6
  247. package/esm/ScatterChartPro/ScatterChartPro.js +20 -0
  248. package/esm/ScatterChartPro/ScatterChartPro.plugins.d.ts +4 -4
  249. package/esm/ScatterChartPro/ScatterChartPro.plugins.js +2 -2
  250. package/esm/context/ChartProApi.d.ts +10 -10
  251. package/esm/context/useChartProApiContext.d.ts +1 -1
  252. package/esm/hooks/useChartProApiRef.d.ts +3 -3
  253. package/esm/hooks/useFunnelSeries.d.ts +1 -1
  254. package/esm/hooks/useHeatmapSeries.d.ts +1 -1
  255. package/esm/hooks/useSankeySeries.d.ts +2 -2
  256. package/esm/hooks/useSankeySeries.js +1 -0
  257. package/esm/index.js +1 -1
  258. package/esm/internals/material/components/BaseMenuItem.d.ts +1 -1
  259. package/esm/internals/material/components/BasePopper.d.ts +1 -1
  260. package/esm/internals/material/index.d.ts +3 -3
  261. package/esm/internals/plugins/allPlugins.d.ts +7 -7
  262. package/esm/internals/plugins/allPlugins.js +3 -3
  263. package/esm/internals/plugins/useChartProExport/exportImage.d.ts +1 -1
  264. package/esm/internals/plugins/useChartProExport/print.d.ts +1 -1
  265. package/esm/internals/plugins/useChartProExport/useChartProExport.d.ts +2 -2
  266. package/esm/internals/plugins/useChartProExport/useChartProExport.types.d.ts +1 -1
  267. package/esm/internals/plugins/useChartProZoom/calculateZoom.d.ts +1 -1
  268. package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +2 -2
  269. package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +2 -2
  270. package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +2 -2
  271. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoom.utils.d.ts +1 -1
  272. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +2 -2
  273. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +2 -2
  274. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +2 -2
  275. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +2 -2
  276. package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +2 -2
  277. package/esm/internals/plugins/useChartProZoom/useChartProZoom.d.ts +2 -2
  278. package/esm/internals/plugins/useChartProZoom/useChartProZoom.js +1 -1
  279. package/esm/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +2 -2
  280. package/esm/internals/plugins/useChartProZoom/useChartProZoom.types.d.ts +2 -2
  281. package/esm/internals/slots/chartBaseSlotProps.d.ts +1 -1
  282. package/esm/internals/slots/chartsBaseSlots.d.ts +3 -3
  283. package/esm/internals/slots/chartsIconSlots.d.ts +2 -2
  284. package/esm/models/seriesType/heatmap.d.ts +2 -2
  285. package/esm/themeAugmentation/components.d.ts +1 -1
  286. package/esm/themeAugmentation/overrides.d.ts +1 -1
  287. package/esm/themeAugmentation/props.d.ts +4 -4
  288. package/esm/typeOverloads/modules.d.ts +7 -7
  289. package/hooks/useChartProApiRef.d.ts +3 -3
  290. package/hooks/useFunnelSeries.d.ts +1 -1
  291. package/hooks/useHeatmapSeries.d.ts +1 -1
  292. package/hooks/useSankeySeries.d.ts +2 -2
  293. package/hooks/useSankeySeries.js +1 -0
  294. package/index.js +1 -1
  295. package/internals/material/components/BaseMenuItem.d.ts +1 -1
  296. package/internals/material/components/BasePopper.d.ts +1 -1
  297. package/internals/material/index.d.ts +3 -3
  298. package/internals/plugins/allPlugins.d.ts +7 -7
  299. package/internals/plugins/allPlugins.js +2 -2
  300. package/internals/plugins/useChartProExport/exportImage.d.ts +1 -1
  301. package/internals/plugins/useChartProExport/print.d.ts +1 -1
  302. package/internals/plugins/useChartProExport/useChartProExport.d.ts +2 -2
  303. package/internals/plugins/useChartProExport/useChartProExport.types.d.ts +1 -1
  304. package/internals/plugins/useChartProZoom/calculateZoom.d.ts +1 -1
  305. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +2 -2
  306. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +2 -2
  307. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +2 -2
  308. package/internals/plugins/useChartProZoom/gestureHooks/useZoom.utils.d.ts +1 -1
  309. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +2 -2
  310. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +2 -2
  311. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +2 -2
  312. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +2 -2
  313. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +2 -2
  314. package/internals/plugins/useChartProZoom/useChartProZoom.d.ts +2 -2
  315. package/internals/plugins/useChartProZoom/useChartProZoom.js +1 -1
  316. package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +2 -2
  317. package/internals/plugins/useChartProZoom/useChartProZoom.types.d.ts +2 -2
  318. package/internals/slots/chartBaseSlotProps.d.ts +1 -1
  319. package/internals/slots/chartsBaseSlots.d.ts +3 -3
  320. package/internals/slots/chartsIconSlots.d.ts +2 -2
  321. package/models/seriesType/heatmap.d.ts +2 -2
  322. package/package.json +5 -5
  323. package/themeAugmentation/components.d.ts +1 -1
  324. package/themeAugmentation/overrides.d.ts +1 -1
  325. package/themeAugmentation/props.d.ts +4 -4
  326. package/typeOverloads/modules.d.ts +7 -7
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { SeriesId } from '@mui/x-charts/internals';
3
- import { FunnelSectionClasses } from "./funnelSectionClasses.js";
2
+ import { type SeriesId } from '@mui/x-charts/internals';
3
+ import { type FunnelSectionClasses } from "./funnelSectionClasses.js";
4
4
  export interface FunnelSectionProps extends Omit<React.SVGProps<SVGPathElement>, 'ref' | 'id'> {
5
5
  seriesId: SeriesId;
6
6
  dataIndex: number;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { SeriesId } from '@mui/x-charts/internals';
3
- import { FunnelSectionClasses } from "./funnelSectionClasses.js";
2
+ import { type SeriesId } from '@mui/x-charts/internals';
3
+ import { type FunnelSectionClasses } from "./funnelSectionClasses.js";
4
4
  export interface FunnelSectionLabelConfig {
5
5
  x: number;
6
6
  y: number;
@@ -1,5 +1,5 @@
1
- import { AxisConfig, ScaleName } from '@mui/x-charts/models';
2
- import { MakeOptional } from '@mui/x-internals/types';
1
+ import { type AxisConfig, type ScaleName } from '@mui/x-charts/models';
2
+ import { type MakeOptional } from '@mui/x-internals/types';
3
3
  export type FunnelScaleName = Exclude<ScaleName, 'point'>;
4
4
  export type CategoryAxis<S extends FunnelScaleName = FunnelScaleName> = S extends FunnelScaleName ? {
5
5
  /**
@@ -1,3 +1,3 @@
1
- import { D3Scale } from '@mui/x-charts/internals';
2
- import { PositionGetter } from "./curves/curve.types.js";
1
+ import { type D3Scale } from '@mui/x-charts/internals';
2
+ import { type PositionGetter } from "./curves/curve.types.js";
3
3
  export declare const createPositionGetter: (scale: D3Scale, isCategoryDirection: boolean, gap: number) => PositionGetter;
@@ -1,4 +1,4 @@
1
- import { Point } from "./curve.types.js";
1
+ import { type Point } from "./curve.types.js";
2
2
  /**
3
3
  * Draws a polygon with rounded corners
4
4
  * @param {CanvasRenderingContext2D} ctx The canvas context
@@ -1,4 +1,4 @@
1
- import { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.js";
1
+ import { type FunnelCurveGenerator, type CurveOptions, type Point } from "./curve.types.js";
2
2
  /**
3
3
  * This is a custom "bump" curve generator.
4
4
  * It draws smooth curves for the 4 provided points,
@@ -1,4 +1,4 @@
1
- import { CurveGenerator } from '@mui/x-charts-vendor/d3-shape';
1
+ import { type CurveGenerator } from '@mui/x-charts-vendor/d3-shape';
2
2
  export type CurveOptions = {
3
3
  /**
4
4
  * The gap between each segment.
@@ -1,5 +1,5 @@
1
1
  import type { Path } from '@mui/x-charts-vendor/d3-path';
2
- import { CurveOptions, FunnelCurveType } from "./curve.types.js";
2
+ import { type CurveOptions, type FunnelCurveType } from "./curve.types.js";
3
3
  import { Step } from "./step.js";
4
4
  import { Linear } from "./linear.js";
5
5
  import { Bump } from "./bump.js";
@@ -1,4 +1,4 @@
1
- import { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.js";
1
+ import { type FunnelCurveGenerator, type CurveOptions, type Point } from "./curve.types.js";
2
2
  /**
3
3
  * This is a custom "linear" curve generator.
4
4
  * It draws straight lines for the 4 provided points,
@@ -1,4 +1,4 @@
1
- import { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.js";
1
+ import { type FunnelCurveGenerator, type CurveOptions, type Point } from "./curve.types.js";
2
2
  /**
3
3
  * This is a custom "pyramid" curve generator.
4
4
  * It draws straight lines for the 4 provided points. The slopes are calculated
@@ -1,4 +1,4 @@
1
- import { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.js";
1
+ import { type FunnelCurveGenerator, type CurveOptions, type Point } from "./curve.types.js";
2
2
  /**
3
3
  * This is a custom "step-pyramid" curve generator.
4
4
  * It creates a step pyramid, which is a step-like shape with static lengths.
@@ -1,4 +1,4 @@
1
- import { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.js";
1
+ import { type FunnelCurveGenerator, type CurveOptions, type Point } from "./curve.types.js";
2
2
  /**
3
3
  * This is a custom "step" curve generator.
4
4
  * It is used to draw "rectangles" from 4 points without having to rework the rendering logic,
@@ -1,8 +1,8 @@
1
- import { ChartsLabelMarkProps } from '@mui/x-charts/ChartsLabel';
2
- import { CommonSeriesType, CartesianSeriesType, CommonDefaultizedProps, SeriesId } from '@mui/x-charts/internals';
3
- import { Position } from '@mui/x-charts/models';
4
- import { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
5
- import { FunnelCurveType } from "./curves/index.js";
1
+ import { type ChartsLabelMarkProps } from '@mui/x-charts/ChartsLabel';
2
+ import { type CommonSeriesType, type CartesianSeriesType, type CommonDefaultizedProps, type SeriesId } from '@mui/x-charts/internals';
3
+ import { type Position } from '@mui/x-charts/models';
4
+ import { type DefaultizedProps, type MakeRequired } from '@mui/x-internals/types';
5
+ import { type FunnelCurveType } from "./curves/index.js";
6
6
  export type FunnelItemId = string | number;
7
7
  export type FunnelValueType = {
8
8
  /**
@@ -1,7 +1,7 @@
1
- import { ChartsAxisProps } from '@mui/x-charts/ChartsAxis';
2
- import { ChartDrawingArea } from '@mui/x-charts/hooks';
3
- import { ComputedAxisConfig, ChartSeriesType, ProcessedSeries, ChartSeriesConfig, DefaultedYAxis, DefaultedXAxis } from '@mui/x-charts/internals';
4
- import { ChartsXAxisProps, ChartsYAxisProps } from '@mui/x-charts/models';
1
+ import { type ChartsAxisProps } from '@mui/x-charts/ChartsAxis';
2
+ import { type ChartDrawingArea } from '@mui/x-charts/hooks';
3
+ import { type ComputedAxisConfig, type ChartSeriesType, type ProcessedSeries, type ChartSeriesConfig, type DefaultedYAxis, type DefaultedXAxis } from '@mui/x-charts/internals';
4
+ import { type ChartsXAxisProps, type ChartsYAxisProps } from '@mui/x-charts/models';
5
5
  export declare const xRangeGetter: (drawingArea: ChartDrawingArea, reverse?: boolean, removedSpace?: number) => [number, number];
6
6
  export declare const yRangeGetter: (drawingArea: ChartDrawingArea, reverse?: boolean, removedSpace?: number) => [number, number];
7
7
  export type ComputeResult<T extends ChartsAxisProps> = {
@@ -1,3 +1,3 @@
1
- import { ChartPlugin } from '@mui/x-charts/internals';
2
- import { UseChartFunnelAxisSignature } from "./useChartFunnelAxis.types.js";
1
+ import { type ChartPlugin } from '@mui/x-charts/internals';
2
+ import { type UseChartFunnelAxisSignature } from "./useChartFunnelAxis.types.js";
3
3
  export declare const useChartFunnelAxis: ChartPlugin<UseChartFunnelAxisSignature>;
@@ -1,4 +1,4 @@
1
- import { ChartPluginSignature, UseChartCartesianAxisDefaultizedParameters, UseChartCartesianAxisParameters, UseChartCartesianAxisState, UseChartInteractionSignature, UseChartSeriesSignature, ChartsAxisData } from '@mui/x-charts/internals';
1
+ import { type ChartPluginSignature, type UseChartCartesianAxisDefaultizedParameters, type UseChartCartesianAxisParameters, type UseChartCartesianAxisState, type UseChartInteractionSignature, type UseChartSeriesSignature, type ChartsAxisData } from '@mui/x-charts/internals';
2
2
  export type UseChartFunnelAxisSignature = ChartPluginSignature<{
3
3
  params: Omit<UseChartCartesianAxisParameters, 'onAxisClick' | 'onHighlightedAxisChange' | 'highlightedAxis'> & {
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { ChartState } from '@mui/x-charts/internals';
2
- import { UseChartFunnelAxisSignature } from "./useChartFunnelAxis.types.js";
1
+ import { type ChartState } from '@mui/x-charts/internals';
2
+ import { type UseChartFunnelAxisSignature } from "./useChartFunnelAxis.types.js";
3
3
  export declare const selectorFunnel: (state: ChartState<[], [UseChartFunnelAxisSignature]>) => {
4
4
  gap: number;
5
5
  } | undefined;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { FunnelSectionProps } from "./FunnelSection.js";
3
- import { FunnelSectionLabelProps } from "./FunnelSectionLabel.js";
3
+ import { type FunnelSectionLabelProps } from "./FunnelSectionLabel.js";
4
4
  export interface FunnelPlotSlots {
5
5
  /**
6
6
  * Custom component for funnel section.
@@ -1,9 +1,9 @@
1
- import { ChartsOverlaySlotProps, ChartsOverlaySlots } from '@mui/x-charts/ChartsOverlay';
2
- import { ChartsTooltipProps, ChartsTooltipSlotProps, ChartsTooltipSlots } from '@mui/x-charts/ChartsTooltip';
3
- import { ChartsAxisSlotProps, ChartsAxisSlots, ChartsSlotProps, ChartsSlots } from '@mui/x-charts/internals';
4
- import { ChartsLegendSlotProps, ChartsLegendSlots } from '@mui/x-charts/ChartsLegend';
5
- import { ChartsToolbarSlotProps, ChartsToolbarSlots } from '@mui/x-charts/Toolbar';
6
- import { FunnelPlotSlotProps, FunnelPlotSlots } from "./funnelPlotSlots.types.js";
1
+ import { type ChartsOverlaySlotProps, type ChartsOverlaySlots } from '@mui/x-charts/ChartsOverlay';
2
+ import { type ChartsTooltipProps, type ChartsTooltipSlotProps, type ChartsTooltipSlots } from '@mui/x-charts/ChartsTooltip';
3
+ import { type ChartsAxisSlotProps, type ChartsAxisSlots, type ChartsSlotProps, type ChartsSlots } from '@mui/x-charts/internals';
4
+ import { type ChartsLegendSlotProps, type ChartsLegendSlots } from '@mui/x-charts/ChartsLegend';
5
+ import { type ChartsToolbarSlotProps, type ChartsToolbarSlots } from '@mui/x-charts/Toolbar';
6
+ import { type FunnelPlotSlotProps, type FunnelPlotSlots } from "./funnelPlotSlots.types.js";
7
7
  export interface FunnelChartSlots extends ChartsAxisSlots, FunnelPlotSlots, ChartsLegendSlots, ChartsTooltipSlots, ChartsOverlaySlots, ChartsAxisSlots, ChartsToolbarSlots, Partial<ChartsSlots> {}
8
8
  export interface FunnelChartSlotProps extends ChartsAxisSlotProps, FunnelPlotSlotProps, ChartsLegendSlotProps, Omit<ChartsTooltipSlotProps, 'tooltip'>, ChartsOverlaySlotProps, ChartsAxisSlotProps, ChartsToolbarSlotProps, Partial<ChartsSlotProps> {
9
9
  /**
@@ -1,5 +1,5 @@
1
- import { FunnelLabelOptions } from "./funnel.types.js";
2
- import { Point } from "./curves/index.js";
1
+ import { type FunnelLabelOptions } from "./funnel.types.js";
2
+ import { type Point } from "./curves/index.js";
3
3
  type AlignReturnType = {
4
4
  textAnchor: FunnelLabelOptions['textAnchor'];
5
5
  dominantBaseline: Exclude<FunnelLabelOptions['dominantBaseline'], 'baseline'>;
@@ -1,3 +1,3 @@
1
- import { CartesianExtremumGetter } from '@mui/x-charts/internals';
1
+ import { type CartesianExtremumGetter } from '@mui/x-charts/internals';
2
2
  export declare const getExtremumX: CartesianExtremumGetter<'funnel'>;
3
3
  export declare const getExtremumY: CartesianExtremumGetter<'funnel'>;
@@ -1,3 +1,3 @@
1
- import { ColorProcessor } from '@mui/x-charts/internals';
1
+ import { type ColorProcessor } from '@mui/x-charts/internals';
2
2
  declare const getColor: ColorProcessor<'funnel'>;
3
3
  export default getColor;
@@ -1,3 +1,3 @@
1
- import { GetSeriesWithDefaultValues } from '@mui/x-charts/internals';
1
+ import { type GetSeriesWithDefaultValues } from '@mui/x-charts/internals';
2
2
  declare const getSeriesWithDefaultValues: GetSeriesWithDefaultValues<'funnel'>;
3
3
  export default getSeriesWithDefaultValues;
@@ -1,3 +1,3 @@
1
- import { LegendGetter } from '@mui/x-charts/internals';
1
+ import { type LegendGetter } from '@mui/x-charts/internals';
2
2
  declare const legendGetter: LegendGetter<'funnel'>;
3
3
  export default legendGetter;
@@ -1,3 +1,3 @@
1
- import { SeriesProcessor } from '@mui/x-charts/internals';
1
+ import { type SeriesProcessor } from '@mui/x-charts/internals';
2
2
  declare const seriesProcessor: SeriesProcessor<'funnel'>;
3
3
  export default seriesProcessor;
@@ -1,3 +1,3 @@
1
- import { TooltipGetter } from '@mui/x-charts/internals';
1
+ import { type TooltipGetter } from '@mui/x-charts/internals';
2
2
  declare const tooltipGetter: TooltipGetter<'funnel'>;
3
3
  export default tooltipGetter;
@@ -1,3 +1,3 @@
1
- import { TooltipItemPositionGetter } from '@mui/x-charts/internals';
1
+ import { type TooltipItemPositionGetter } from '@mui/x-charts/internals';
2
2
  declare const tooltipItemPositionGetter: TooltipItemPositionGetter<'funnel'>;
3
3
  export default tooltipItemPositionGetter;
@@ -1,12 +1,12 @@
1
- import { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
2
- import { ChartsAxisProps } from '@mui/x-charts/ChartsAxis';
3
- import { ChartsLegendSlotExtension } from '@mui/x-charts/ChartsLegend';
4
- import { ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight';
1
+ import { type ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
2
+ import { type ChartsAxisProps } from '@mui/x-charts/ChartsAxis';
3
+ import { type ChartsLegendSlotExtension } from '@mui/x-charts/ChartsLegend';
4
+ import { type ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight';
5
5
  import type { ChartsWrapperProps } from '@mui/x-charts/ChartsWrapper';
6
- import { FunnelChartPluginSignatures } from "./FunnelChart.plugins.js";
7
- import { FunnelPlotProps } from "./FunnelPlot.js";
6
+ import { type FunnelChartPluginSignatures } from "./FunnelChart.plugins.js";
7
+ import { type FunnelPlotProps } from "./FunnelPlot.js";
8
8
  import type { FunnelChartProps } from "./FunnelChart.js";
9
- import { ChartContainerProProps } from "../ChartContainerPro/index.js";
9
+ import { type ChartContainerProProps } from "../ChartContainerPro/index.js";
10
10
  /**
11
11
  * A helper function that extracts FunnelChartProps from the input props
12
12
  * and returns an object with props for the children components of FunnelChart.
@@ -1,17 +1,17 @@
1
1
  import * as React from 'react';
2
- import { MakeOptional } from '@mui/x-internals/types';
3
- import { ChartsAxisProps } from '@mui/x-charts/ChartsAxis';
4
- import { ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
5
- import { ChartsAxisSlots, ChartsAxisSlotProps, XAxis, YAxis } from '@mui/x-charts/internals';
6
- import { ChartsOverlayProps, ChartsOverlaySlotProps, ChartsOverlaySlots } from '@mui/x-charts/ChartsOverlay';
7
- import { ChartsLegendSlotProps, ChartsLegendSlots } from '@mui/x-charts/ChartsLegend';
8
- import { ChartsSlotPropsPro, ChartsSlotsPro } from "../internals/material/index.js";
9
- import { ChartContainerProProps } from "../ChartContainerPro/index.js";
10
- import { HeatmapSeriesType } from "../models/seriesType/heatmap.js";
11
- import { HeatmapTooltipProps } from "./HeatmapTooltip/index.js";
12
- import { HeatmapItemSlotProps, HeatmapItemSlots } from "./HeatmapItem.js";
13
- import { HeatmapPluginSignatures } from "./Heatmap.plugins.js";
14
- import { ChartsToolbarProSlotProps, ChartsToolbarProSlots } from "../ChartsToolbarPro/Toolbar.types.js";
2
+ import { type MakeOptional } from '@mui/x-internals/types';
3
+ import { type ChartsAxisProps } from '@mui/x-charts/ChartsAxis';
4
+ import { type ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
5
+ import { type ChartsAxisSlots, type ChartsAxisSlotProps, type XAxis, type YAxis } from '@mui/x-charts/internals';
6
+ import { type ChartsOverlayProps, type ChartsOverlaySlotProps, type ChartsOverlaySlots } from '@mui/x-charts/ChartsOverlay';
7
+ import { type ChartsLegendSlotProps, type ChartsLegendSlots } from '@mui/x-charts/ChartsLegend';
8
+ import { type ChartsSlotPropsPro, type ChartsSlotsPro } from "../internals/material/index.js";
9
+ import { type ChartContainerProProps } from "../ChartContainerPro/index.js";
10
+ import { type HeatmapSeriesType } from "../models/seriesType/heatmap.js";
11
+ import { type HeatmapTooltipProps } from "./HeatmapTooltip/index.js";
12
+ import { type HeatmapItemSlotProps, type HeatmapItemSlots } from "./HeatmapItem.js";
13
+ import { type HeatmapPluginSignatures } from "./Heatmap.plugins.js";
14
+ import { type ChartsToolbarProSlotProps, type ChartsToolbarProSlots } from "../ChartsToolbarPro/Toolbar.types.js";
15
15
  export interface HeatmapSlots extends ChartsAxisSlots, ChartsOverlaySlots, HeatmapItemSlots, ChartsToolbarProSlots, Partial<ChartsSlotsPro> {
16
16
  /**
17
17
  * Custom component for the tooltip.
@@ -324,6 +324,11 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
324
324
  label: _propTypes.default.string,
325
325
  labelStyle: _propTypes.default.object,
326
326
  offset: _propTypes.default.number,
327
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
328
+ format: _propTypes.default.func.isRequired,
329
+ getTickNumber: _propTypes.default.func.isRequired,
330
+ isTick: _propTypes.default.func.isRequired
331
+ })]).isRequired),
327
332
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
328
333
  reverse: _propTypes.default.bool,
329
334
  scaleType: _propTypes.default.oneOf(['band']),
@@ -384,6 +389,11 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
384
389
  label: _propTypes.default.string,
385
390
  labelStyle: _propTypes.default.object,
386
391
  offset: _propTypes.default.number,
392
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
393
+ format: _propTypes.default.func.isRequired,
394
+ getTickNumber: _propTypes.default.func.isRequired,
395
+ isTick: _propTypes.default.func.isRequired
396
+ })]).isRequired),
387
397
  position: _propTypes.default.oneOf(['left', 'none', 'right']),
388
398
  reverse: _propTypes.default.bool,
389
399
  scaleType: _propTypes.default.oneOf(['band']),
@@ -1,4 +1,4 @@
1
- import { UseChartZAxisSignature, UseChartCartesianAxisSignature, UseChartInteractionSignature, UseChartHighlightSignature, ConvertSignaturesIntoPlugins } from '@mui/x-charts/internals';
2
- import { UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
3
- export type HeatmapPluginSignatures = [UseChartZAxisSignature, UseChartInteractionSignature, UseChartCartesianAxisSignature<'heatmap'>, UseChartHighlightSignature, UseChartProExportSignature];
1
+ import { type UseChartZAxisSignature, type UseChartCartesianAxisSignature, type UseChartTooltipSignature, type UseChartInteractionSignature, type UseChartHighlightSignature, type ConvertSignaturesIntoPlugins } from '@mui/x-charts/internals';
2
+ import { type UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
3
+ export type HeatmapPluginSignatures = [UseChartZAxisSignature, UseChartTooltipSignature, UseChartInteractionSignature, UseChartCartesianAxisSignature<'heatmap'>, UseChartHighlightSignature, UseChartProExportSignature];
4
4
  export declare const HEATMAP_PLUGINS: ConvertSignaturesIntoPlugins<HeatmapPluginSignatures>;
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.HEATMAP_PLUGINS = void 0;
7
7
  var _internals = require("@mui/x-charts/internals");
8
8
  var _useChartProExport = require("../internals/plugins/useChartProExport");
9
- const HEATMAP_PLUGINS = exports.HEATMAP_PLUGINS = [_internals.useChartZAxis, _internals.useChartInteraction, _internals.useChartCartesianAxis, _internals.useChartHighlight, _useChartProExport.useChartProExport];
9
+ const HEATMAP_PLUGINS = exports.HEATMAP_PLUGINS = [_internals.useChartZAxis, _internals.useChartTooltip, _internals.useChartInteraction, _internals.useChartCartesianAxis, _internals.useChartHighlight, _useChartProExport.useChartProExport];
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { SeriesId } from '@mui/x-charts/internals';
3
- import { HeatmapClasses } from "./heatmapClasses.js";
2
+ import { type SeriesId } from '@mui/x-charts/internals';
3
+ import { type HeatmapClasses } from "./heatmapClasses.js";
4
4
  export interface HeatmapItemSlots {
5
5
  /**
6
6
  * The component that renders the heatmap cell.
@@ -1,4 +1,4 @@
1
- import { HeatmapItemProps } from "./HeatmapItem.js";
1
+ import { type HeatmapItemProps } from "./HeatmapItem.js";
2
2
  export interface HeatmapPlotProps extends Pick<HeatmapItemProps, 'slots' | 'slotProps'> {}
3
3
  declare function HeatmapPlot(props: HeatmapPlotProps): import("react/jsx-runtime").JSX.Element | null;
4
4
  declare namespace HeatmapPlot {
@@ -1,2 +1,2 @@
1
- import { HeatmapTooltipProps } from "./HeatmapTooltip.types.js";
1
+ import { type HeatmapTooltipProps } from "./HeatmapTooltip.types.js";
2
2
  export declare const useUtilityClasses: (props: Pick<HeatmapTooltipProps, "classes">) => Record<"mark" | "table" | "cell" | "row" | "root" | "paper" | "markContainer" | "labelCell" | "valueCell", string>;
@@ -1,4 +1,4 @@
1
- import { HeatmapTooltipProps } from "./HeatmapTooltip.types.js";
1
+ import { type HeatmapTooltipProps } from "./HeatmapTooltip.types.js";
2
2
  declare function HeatmapTooltip(props: HeatmapTooltipProps): import("react/jsx-runtime").JSX.Element;
3
3
  declare namespace HeatmapTooltip {
4
4
  var propTypes: any;
@@ -1,4 +1,4 @@
1
- import { ChartsTooltipContainerProps } from '@mui/x-charts/ChartsTooltip';
1
+ import { type ChartsTooltipContainerProps } from '@mui/x-charts/ChartsTooltip';
2
2
  export interface HeatmapTooltipProps extends Omit<ChartsTooltipContainerProps, 'trigger' | 'children'> {
3
3
  /**
4
4
  * Select the kind of tooltip to display
@@ -1,4 +1,4 @@
1
- import { HeatmapTooltipProps } from "./HeatmapTooltip.types.js";
1
+ import { type HeatmapTooltipProps } from "./HeatmapTooltip.types.js";
2
2
  export interface HeatmapTooltipContentProps extends Pick<HeatmapTooltipProps, 'classes'> {}
3
3
  export declare function HeatmapTooltipContent(props: HeatmapTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
4
4
  export declare namespace HeatmapTooltipContent {
@@ -1,2 +1,2 @@
1
- import { CartesianExtremumGetter } from '@mui/x-charts/internals';
1
+ import { type CartesianExtremumGetter } from '@mui/x-charts/internals';
2
2
  export declare const getBaseExtremum: CartesianExtremumGetter<'heatmap'>;
@@ -1,3 +1,3 @@
1
- import { ColorProcessor } from '@mui/x-charts/internals';
1
+ import { type ColorProcessor } from '@mui/x-charts/internals';
2
2
  declare const getColor: ColorProcessor<'heatmap'>;
3
3
  export default getColor;
@@ -1,3 +1,3 @@
1
- import { GetSeriesWithDefaultValues } from '@mui/x-charts/internals';
1
+ import { type GetSeriesWithDefaultValues } from '@mui/x-charts/internals';
2
2
  declare const getSeriesWithDefaultValues: GetSeriesWithDefaultValues<'heatmap'>;
3
3
  export default getSeriesWithDefaultValues;
@@ -1,2 +1,2 @@
1
- import { ChartSeriesTypeConfig } from '@mui/x-charts/internals';
1
+ import { type ChartSeriesTypeConfig } from '@mui/x-charts/internals';
2
2
  export declare const heatmapSeriesConfig: ChartSeriesTypeConfig<'heatmap'>;
@@ -1,3 +1,3 @@
1
- import { SeriesProcessor } from '@mui/x-charts/internals';
1
+ import { type SeriesProcessor } from '@mui/x-charts/internals';
2
2
  declare const seriesProcessor: SeriesProcessor<'heatmap'>;
3
3
  export default seriesProcessor;
@@ -1,3 +1,3 @@
1
- import { TooltipGetter } from '@mui/x-charts/internals';
1
+ import { type TooltipGetter } from '@mui/x-charts/internals';
2
2
  declare const tooltipGetter: TooltipGetter<'heatmap'>;
3
3
  export default tooltipGetter;
@@ -1,3 +1,3 @@
1
- import { TooltipItemPositionGetter } from '@mui/x-charts/internals';
1
+ import { type TooltipItemPositionGetter } from '@mui/x-charts/internals';
2
2
  declare const tooltipItemPositionGetter: TooltipItemPositionGetter<'heatmap'>;
3
3
  export default tooltipItemPositionGetter;
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { LineChartProps, LineChartSlots, LineChartSlotProps } from '@mui/x-charts/LineChart';
3
- import { ChartsToolbarProSlotProps, ChartsToolbarProSlots } from "../ChartsToolbarPro/Toolbar.types.js";
4
- import { ChartsSlotPropsPro, ChartsSlotsPro } from "../internals/material/index.js";
5
- import { ChartContainerProProps } from "../ChartContainerPro/index.js";
6
- import { LineChartProPluginSignatures } from "./LineChartPro.plugins.js";
2
+ import { type LineChartProps, type LineChartSlots, type LineChartSlotProps } from '@mui/x-charts/LineChart';
3
+ import { type ChartsToolbarProSlotProps, type ChartsToolbarProSlots } from "../ChartsToolbarPro/Toolbar.types.js";
4
+ import { type ChartsSlotPropsPro, type ChartsSlotsPro } from "../internals/material/index.js";
5
+ import { type ChartContainerProProps } from "../ChartContainerPro/index.js";
6
+ import { type LineChartProPluginSignatures } from "./LineChartPro.plugins.js";
7
7
  export interface LineChartProSlots extends Omit<LineChartSlots, 'toolbar'>, ChartsToolbarProSlots, Partial<ChartsSlotsPro> {}
8
8
  export interface LineChartProSlotProps extends Omit<LineChartSlotProps, 'toolbar'>, ChartsToolbarProSlotProps, Partial<ChartsSlotPropsPro> {}
9
9
  export interface LineChartProProps extends Omit<LineChartProps, 'apiRef' | 'slots' | 'slotProps'>, Omit<ChartContainerProProps<'line', LineChartProPluginSignatures>, 'series' | 'plugins' | 'seriesConfig' | 'slots' | 'slotProps'> {
@@ -334,6 +334,11 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
334
334
  label: _propTypes.default.string,
335
335
  labelStyle: _propTypes.default.object,
336
336
  offset: _propTypes.default.number,
337
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
338
+ format: _propTypes.default.func.isRequired,
339
+ getTickNumber: _propTypes.default.func.isRequired,
340
+ isTick: _propTypes.default.func.isRequired
341
+ })]).isRequired),
337
342
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
338
343
  reverse: _propTypes.default.bool,
339
344
  scaleType: _propTypes.default.oneOf(['band']),
@@ -402,6 +407,11 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
402
407
  label: _propTypes.default.string,
403
408
  labelStyle: _propTypes.default.object,
404
409
  offset: _propTypes.default.number,
410
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
411
+ format: _propTypes.default.func.isRequired,
412
+ getTickNumber: _propTypes.default.func.isRequired,
413
+ isTick: _propTypes.default.func.isRequired
414
+ })]).isRequired),
405
415
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
406
416
  reverse: _propTypes.default.bool,
407
417
  scaleType: _propTypes.default.oneOf(['point']),
@@ -906,6 +916,11 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
906
916
  label: _propTypes.default.string,
907
917
  labelStyle: _propTypes.default.object,
908
918
  offset: _propTypes.default.number,
919
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
920
+ format: _propTypes.default.func.isRequired,
921
+ getTickNumber: _propTypes.default.func.isRequired,
922
+ isTick: _propTypes.default.func.isRequired
923
+ })]).isRequired),
909
924
  position: _propTypes.default.oneOf(['left', 'none', 'right']),
910
925
  reverse: _propTypes.default.bool,
911
926
  scaleType: _propTypes.default.oneOf(['band']),
@@ -973,6 +988,11 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
973
988
  label: _propTypes.default.string,
974
989
  labelStyle: _propTypes.default.object,
975
990
  offset: _propTypes.default.number,
991
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
992
+ format: _propTypes.default.func.isRequired,
993
+ getTickNumber: _propTypes.default.func.isRequired,
994
+ isTick: _propTypes.default.func.isRequired
995
+ })]).isRequired),
976
996
  position: _propTypes.default.oneOf(['left', 'none', 'right']),
977
997
  reverse: _propTypes.default.bool,
978
998
  scaleType: _propTypes.default.oneOf(['point']),
@@ -1,5 +1,5 @@
1
- import { UseChartZAxisSignature, UseChartCartesianAxisSignature, UseChartInteractionSignature, UseChartHighlightSignature, UseChartKeyboardNavigationSignature, UseChartBrushSignature, ConvertSignaturesIntoPlugins } from '@mui/x-charts/internals';
2
- import { UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
3
- import { UseChartProZoomSignature } from "../internals/plugins/useChartProZoom/index.js";
4
- export type LineChartProPluginSignatures = [UseChartZAxisSignature, UseChartBrushSignature, UseChartInteractionSignature, UseChartCartesianAxisSignature<'line'>, UseChartHighlightSignature, UseChartKeyboardNavigationSignature, UseChartProZoomSignature, UseChartProExportSignature];
1
+ import { type UseChartZAxisSignature, type UseChartCartesianAxisSignature, type UseChartTooltipSignature, type UseChartInteractionSignature, type UseChartHighlightSignature, type UseChartKeyboardNavigationSignature, type UseChartBrushSignature, type ConvertSignaturesIntoPlugins } from '@mui/x-charts/internals';
2
+ import { type UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
3
+ import { type UseChartProZoomSignature } from "../internals/plugins/useChartProZoom/index.js";
4
+ export type LineChartProPluginSignatures = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature, UseChartInteractionSignature, UseChartCartesianAxisSignature<'line'>, UseChartHighlightSignature, UseChartKeyboardNavigationSignature, UseChartProZoomSignature, UseChartProExportSignature];
5
5
  export declare const LINE_CHART_PRO_PLUGINS: ConvertSignaturesIntoPlugins<LineChartProPluginSignatures>;
@@ -7,4 +7,4 @@ exports.LINE_CHART_PRO_PLUGINS = void 0;
7
7
  var _internals = require("@mui/x-charts/internals");
8
8
  var _useChartProExport = require("../internals/plugins/useChartProExport");
9
9
  var _useChartProZoom = require("../internals/plugins/useChartProZoom");
10
- const LINE_CHART_PRO_PLUGINS = exports.LINE_CHART_PRO_PLUGINS = [_internals.useChartZAxis, _internals.useChartBrush, _internals.useChartInteraction, _internals.useChartCartesianAxis, _internals.useChartHighlight, _internals.useChartKeyboardNavigation, _useChartProZoom.useChartProZoom, _useChartProExport.useChartProExport];
10
+ const LINE_CHART_PRO_PLUGINS = exports.LINE_CHART_PRO_PLUGINS = [_internals.useChartZAxis, _internals.useChartBrush, _internals.useChartTooltip, _internals.useChartInteraction, _internals.useChartCartesianAxis, _internals.useChartHighlight, _internals.useChartKeyboardNavigation, _useChartProZoom.useChartProZoom, _useChartProExport.useChartProExport];
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { PieChartProps, PieChartSlotProps, PieChartSlots } from '@mui/x-charts/PieChart';
3
- import { ChartsSlotsPro, ChartsSlotPropsPro } from "../internals/material/index.js";
4
- import { ChartContainerProProps } from "../ChartContainerPro/index.js";
5
- import { PieChartProPluginSignatures } from "./PieChartPro.plugins.js";
6
- import { ChartsToolbarProSlotProps, ChartsToolbarProSlots } from "../ChartsToolbarPro/Toolbar.types.js";
2
+ import { type PieChartProps, type PieChartSlotProps, type PieChartSlots } from '@mui/x-charts/PieChart';
3
+ import { type ChartsSlotsPro, type ChartsSlotPropsPro } from "../internals/material/index.js";
4
+ import { type ChartContainerProProps } from "../ChartContainerPro/index.js";
5
+ import { type PieChartProPluginSignatures } from "./PieChartPro.plugins.js";
6
+ import { type ChartsToolbarProSlotProps, type ChartsToolbarProSlots } from "../ChartsToolbarPro/Toolbar.types.js";
7
7
  export interface PieChartProSlots extends Omit<PieChartSlots, 'toolbar'>, ChartsToolbarProSlots, Partial<ChartsSlotsPro> {}
8
8
  export interface PieChartProSlotProps extends Omit<PieChartSlotProps, 'toolbar'>, ChartsToolbarProSlotProps, Partial<ChartsSlotPropsPro> {}
9
9
  export interface PieChartProProps extends Omit<PieChartProps, 'apiRef' | 'slots' | 'slotProps'>, Omit<ChartContainerProProps<'pie', PieChartProPluginSignatures>, 'series' | 'plugins' | 'seriesConfig' | 'slots' | 'slotProps' | 'experimentalFeatures'> {
@@ -1,4 +1,4 @@
1
- import { ConvertSignaturesIntoPlugins, UseChartHighlightSignature, UseChartInteractionSignature, UseChartKeyboardNavigationSignature } from '@mui/x-charts/internals';
2
- import { UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
3
- export type PieChartProPluginSignatures = [UseChartInteractionSignature, UseChartHighlightSignature, UseChartKeyboardNavigationSignature, UseChartProExportSignature];
1
+ import { type ConvertSignaturesIntoPlugins, type UseChartHighlightSignature, type UseChartTooltipSignature, type UseChartInteractionSignature, type UseChartKeyboardNavigationSignature } from '@mui/x-charts/internals';
2
+ import { type UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
3
+ export type PieChartProPluginSignatures = [UseChartTooltipSignature, UseChartInteractionSignature, UseChartHighlightSignature, UseChartKeyboardNavigationSignature, UseChartProExportSignature];
4
4
  export declare const PIE_CHART_PRO_PLUGINS: ConvertSignaturesIntoPlugins<PieChartProPluginSignatures>;
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { RadarChartProps, RadarDataProviderProps, RadarChartSlotProps, RadarChartSlots } from '@mui/x-charts/RadarChart';
3
- import { RadarChartProPluginSignatures } from "./RadarChartPro.plugins.js";
4
- import { ChartsToolbarProSlotProps, ChartsToolbarProSlots } from "../ChartsToolbarPro/Toolbar.types.js";
5
- import { ChartsSlotPropsPro, ChartsSlotsPro } from "../internals/material/index.js";
2
+ import { type RadarChartProps, type RadarDataProviderProps, type RadarChartSlotProps, type RadarChartSlots } from '@mui/x-charts/RadarChart';
3
+ import { type RadarChartProPluginSignatures } from "./RadarChartPro.plugins.js";
4
+ import { type ChartsToolbarProSlotProps, type ChartsToolbarProSlots } from "../ChartsToolbarPro/Toolbar.types.js";
5
+ import { type ChartsSlotPropsPro, type ChartsSlotsPro } from "../internals/material/index.js";
6
6
  export interface RadarChartProSlots extends Omit<RadarChartSlots, 'toolbar'>, ChartsToolbarProSlots, Partial<ChartsSlotsPro> {}
7
7
  export interface RadarChartProSlotProps extends Omit<RadarChartSlotProps, 'toolbar'>, ChartsToolbarProSlotProps, Partial<ChartsSlotPropsPro> {}
8
8
  export interface RadarChartProProps extends Omit<RadarChartProps, 'apiRef' | 'slots' | 'slotProps'>, Omit<RadarDataProviderProps<RadarChartProPluginSignatures>, 'plugins' | 'seriesConfig' | 'slots' | 'slotProps' | 'experimentalFeatures'> {
@@ -1,4 +1,4 @@
1
- import { ConvertSignaturesIntoPlugins, UseChartHighlightSignature, UseChartInteractionSignature, UseChartPolarAxisSignature } from '@mui/x-charts/internals';
2
- import { UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
3
- export type RadarChartProPluginSignatures = [UseChartInteractionSignature, UseChartPolarAxisSignature, UseChartHighlightSignature, UseChartProExportSignature];
1
+ import { type ConvertSignaturesIntoPlugins, type UseChartHighlightSignature, type UseChartTooltipSignature, type UseChartInteractionSignature, type UseChartPolarAxisSignature } from '@mui/x-charts/internals';
2
+ import { type UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
3
+ export type RadarChartProPluginSignatures = [UseChartTooltipSignature, UseChartInteractionSignature, UseChartPolarAxisSignature, UseChartHighlightSignature, UseChartProExportSignature];
4
4
  export declare const RADAR_CHART_PRO_PLUGINS: ConvertSignaturesIntoPlugins<RadarChartProPluginSignatures>;
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.RADAR_CHART_PRO_PLUGINS = void 0;
7
7
  var _internals = require("@mui/x-charts/internals");
8
8
  var _useChartProExport = require("../internals/plugins/useChartProExport");
9
- const RADAR_CHART_PRO_PLUGINS = exports.RADAR_CHART_PRO_PLUGINS = [_internals.useChartInteraction, _internals.useChartPolarAxis, _internals.useChartHighlight, _useChartProExport.useChartProExport];
9
+ const RADAR_CHART_PRO_PLUGINS = exports.RADAR_CHART_PRO_PLUGINS = [_internals.useChartTooltip, _internals.useChartInteraction, _internals.useChartPolarAxis, _internals.useChartHighlight, _useChartProExport.useChartProExport];
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { type ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
3
3
  import type { MakeOptional } from '@mui/x-internals/types';
4
- import { ChartContainerProProps } from "../ChartContainerPro/index.js";
4
+ import { type ChartContainerProProps } from "../ChartContainerPro/index.js";
5
5
  import { type SankeyPlotProps } from "./SankeyPlot.js";
6
6
  import { type SankeyChartPluginSignatures } from "./SankeyChart.plugins.js";
7
7
  import type { SankeySeriesType } from "./sankey.types.js";
@@ -1,5 +1,5 @@
1
- import { ConvertSignaturesIntoPlugins, UseChartInteractionSignature } from '@mui/x-charts/internals';
2
- import { UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
1
+ import { type ConvertSignaturesIntoPlugins, type UseChartTooltipSignature, type UseChartInteractionSignature } from '@mui/x-charts/internals';
2
+ import { type UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
3
3
  import { type UseSankeyHighlightSignature } from "./plugins/index.js";
4
- export type SankeyChartPluginSignatures = [UseChartInteractionSignature, UseSankeyHighlightSignature, UseChartProExportSignature];
4
+ export type SankeyChartPluginSignatures = [UseChartTooltipSignature, UseChartInteractionSignature, UseSankeyHighlightSignature, UseChartProExportSignature];
5
5
  export declare const SANKEY_CHART_PLUGINS: ConvertSignaturesIntoPlugins<SankeyChartPluginSignatures>;