@mui/x-charts-pro 9.5.0 → 9.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/BarChartPro/BarChartPro.d.mts +5 -5
  2. package/BarChartPro/BarChartPro.d.ts +5 -5
  3. package/BarChartPro/BarChartPro.js +5 -3
  4. package/BarChartPro/BarChartPro.mjs +5 -3
  5. package/BarChartPro/BarChartPro.plugins.d.mts +3 -3
  6. package/BarChartPro/BarChartPro.plugins.d.ts +3 -3
  7. package/CHANGELOG.md +261 -0
  8. package/ChartZoomSlider/index.d.mts +2 -1
  9. package/ChartZoomSlider/index.d.ts +2 -1
  10. package/ChartZoomSlider/index.mjs +0 -1
  11. package/ChartsContainerPro/ChartsContainerPro.d.mts +4 -4
  12. package/ChartsContainerPro/ChartsContainerPro.d.ts +4 -4
  13. package/ChartsContainerPro/useChartsContainerProProps.d.mts +2 -2
  14. package/ChartsContainerPro/useChartsContainerProProps.d.ts +2 -2
  15. package/ChartsDataProviderPro/ChartsDataProviderPro.d.mts +4 -4
  16. package/ChartsDataProviderPro/ChartsDataProviderPro.d.ts +4 -4
  17. package/ChartsDataProviderPro/ChartsDataProviderPro.js +7 -3
  18. package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +7 -3
  19. package/ChartsDataProviderPro/useChartsDataProviderProProps.d.mts +1 -1
  20. package/ChartsDataProviderPro/useChartsDataProviderProProps.d.ts +1 -1
  21. package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.d.mts +3 -3
  22. package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.d.ts +3 -3
  23. package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.js +1 -1
  24. package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.mjs +1 -1
  25. package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.mts +3 -3
  26. package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.ts +3 -3
  27. package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.js +1 -1
  28. package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.mjs +1 -1
  29. package/ChartsToolbarPro/ChartsToolbarPro.d.mts +5 -5
  30. package/ChartsToolbarPro/ChartsToolbarPro.d.ts +5 -5
  31. package/ChartsToolbarPro/ChartsToolbarPro.js +3 -2
  32. package/ChartsToolbarPro/ChartsToolbarPro.mjs +3 -2
  33. package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.d.mts +3 -3
  34. package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.d.ts +3 -3
  35. package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.js +1 -1
  36. package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.mjs +1 -1
  37. package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.mts +2 -2
  38. package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.ts +2 -2
  39. package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.js +1 -1
  40. package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.mjs +1 -1
  41. package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.mts +2 -2
  42. package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.ts +2 -2
  43. package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.js +1 -1
  44. package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.mjs +1 -1
  45. package/ChartsToolbarPro/Toolbar.types.d.mts +1 -1
  46. package/ChartsToolbarPro/Toolbar.types.d.ts +1 -1
  47. package/ChartsToolbarPro/internals/ChartsMenu.d.mts +1 -1
  48. package/ChartsToolbarPro/internals/ChartsMenu.d.ts +1 -1
  49. package/ChartsToolbarPro/internals/ChartsToolbarDivider.d.mts +1 -1
  50. package/ChartsToolbarPro/internals/ChartsToolbarDivider.d.ts +1 -1
  51. package/ChartsZoomSlider/internals/ChartsAxisZoomSlider.d.mts +1 -1
  52. package/ChartsZoomSlider/internals/ChartsAxisZoomSlider.d.ts +1 -1
  53. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderActiveTrack.d.mts +1 -1
  54. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderActiveTrack.d.ts +1 -1
  55. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreview.d.mts +1 -1
  56. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreview.d.ts +1 -1
  57. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreviewContent.d.mts +1 -1
  58. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreviewContent.d.ts +1 -1
  59. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderTrack.d.mts +1 -1
  60. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderTrack.d.ts +1 -1
  61. package/ChartsZoomSlider/internals/ChartsTooltipZoomSliderValue.d.mts +1 -1
  62. package/ChartsZoomSlider/internals/ChartsTooltipZoomSliderValue.d.ts +1 -1
  63. package/ChartsZoomSlider/internals/previews/AreaPreviewPlot.d.mts +2 -2
  64. package/ChartsZoomSlider/internals/previews/AreaPreviewPlot.d.ts +2 -2
  65. package/ChartsZoomSlider/internals/previews/BarPreviewPlot.d.mts +1 -1
  66. package/ChartsZoomSlider/internals/previews/BarPreviewPlot.d.ts +1 -1
  67. package/ChartsZoomSlider/internals/previews/BarPreviewPlot.mjs +1 -2
  68. package/ChartsZoomSlider/internals/previews/LineAreaPreviewPlot.d.mts +1 -1
  69. package/ChartsZoomSlider/internals/previews/LineAreaPreviewPlot.d.ts +1 -1
  70. package/ChartsZoomSlider/internals/previews/LinePreviewPlot.d.mts +1 -1
  71. package/ChartsZoomSlider/internals/previews/LinePreviewPlot.d.ts +1 -1
  72. package/ChartsZoomSlider/internals/previews/PreviewPlot.types.d.mts +1 -1
  73. package/ChartsZoomSlider/internals/previews/PreviewPlot.types.d.ts +1 -1
  74. package/ChartsZoomSlider/internals/previews/ScatterPreviewPlot.d.mts +1 -1
  75. package/ChartsZoomSlider/internals/previews/ScatterPreviewPlot.d.ts +1 -1
  76. package/ChartsZoomSlider/internals/seriesPreviewPlotMap.d.mts +1 -1
  77. package/ChartsZoomSlider/internals/seriesPreviewPlotMap.d.ts +1 -1
  78. package/ChartsZoomSlider/internals/zoom-utils.d.mts +2 -2
  79. package/ChartsZoomSlider/internals/zoom-utils.d.ts +2 -2
  80. package/FunnelChart/FunnelChart.d.mts +9 -9
  81. package/FunnelChart/FunnelChart.d.ts +9 -9
  82. package/FunnelChart/FunnelChart.js +1 -1
  83. package/FunnelChart/FunnelChart.mjs +1 -1
  84. package/FunnelChart/FunnelChart.plugins.d.mts +3 -3
  85. package/FunnelChart/FunnelChart.plugins.d.ts +3 -3
  86. package/FunnelChart/FunnelPlot.d.mts +2 -2
  87. package/FunnelChart/FunnelPlot.d.ts +2 -2
  88. package/FunnelChart/FunnelPlot.js +5 -1
  89. package/FunnelChart/FunnelPlot.mjs +5 -1
  90. package/FunnelChart/FunnelSection.d.mts +2 -2
  91. package/FunnelChart/FunnelSection.d.ts +2 -2
  92. package/FunnelChart/FunnelSectionLabel.d.mts +2 -2
  93. package/FunnelChart/FunnelSectionLabel.d.ts +2 -2
  94. package/FunnelChart/categoryAxis.types.d.mts +2 -2
  95. package/FunnelChart/categoryAxis.types.d.ts +2 -2
  96. package/FunnelChart/coordinateMapper.d.mts +2 -2
  97. package/FunnelChart/coordinateMapper.d.ts +2 -2
  98. package/FunnelChart/curves/borderRadiusPolygon.d.mts +1 -1
  99. package/FunnelChart/curves/borderRadiusPolygon.d.ts +1 -1
  100. package/FunnelChart/curves/bump.d.mts +1 -1
  101. package/FunnelChart/curves/bump.d.ts +1 -1
  102. package/FunnelChart/curves/curve.types.d.mts +1 -1
  103. package/FunnelChart/curves/curve.types.d.ts +1 -1
  104. package/FunnelChart/curves/getFunnelCurve.d.mts +1 -1
  105. package/FunnelChart/curves/getFunnelCurve.d.ts +1 -1
  106. package/FunnelChart/curves/linear.d.mts +1 -1
  107. package/FunnelChart/curves/linear.d.ts +1 -1
  108. package/FunnelChart/curves/pyramid.d.mts +1 -1
  109. package/FunnelChart/curves/pyramid.d.ts +1 -1
  110. package/FunnelChart/curves/step-pyramid.d.mts +1 -1
  111. package/FunnelChart/curves/step-pyramid.d.ts +1 -1
  112. package/FunnelChart/curves/step.d.mts +1 -1
  113. package/FunnelChart/curves/step.d.ts +1 -1
  114. package/FunnelChart/funnel.types.d.mts +5 -5
  115. package/FunnelChart/funnel.types.d.ts +5 -5
  116. package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.mts +4 -4
  117. package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +4 -4
  118. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.d.mts +2 -2
  119. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.d.ts +2 -2
  120. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.mts +1 -1
  121. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.ts +1 -1
  122. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.mts +2 -2
  123. package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +2 -2
  124. package/FunnelChart/funnelClasses.d.mts +1 -1
  125. package/FunnelChart/funnelClasses.d.ts +1 -1
  126. package/FunnelChart/funnelPlotSlots.types.d.mts +1 -1
  127. package/FunnelChart/funnelPlotSlots.types.d.ts +1 -1
  128. package/FunnelChart/funnelSlots.types.d.mts +6 -6
  129. package/FunnelChart/funnelSlots.types.d.ts +6 -6
  130. package/FunnelChart/labelUtils.d.mts +2 -2
  131. package/FunnelChart/labelUtils.d.ts +2 -2
  132. package/FunnelChart/seriesConfig/descriptionGetter.d.mts +1 -1
  133. package/FunnelChart/seriesConfig/descriptionGetter.d.ts +1 -1
  134. package/FunnelChart/seriesConfig/extremums.d.mts +1 -1
  135. package/FunnelChart/seriesConfig/extremums.d.ts +1 -1
  136. package/FunnelChart/seriesConfig/getColor.d.mts +1 -1
  137. package/FunnelChart/seriesConfig/getColor.d.ts +1 -1
  138. package/FunnelChart/seriesConfig/getSeriesWithDefaultValues.d.mts +1 -1
  139. package/FunnelChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  140. package/FunnelChart/seriesConfig/index.d.mts +1 -1
  141. package/FunnelChart/seriesConfig/index.d.ts +1 -1
  142. package/FunnelChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
  143. package/FunnelChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
  144. package/FunnelChart/seriesConfig/legend.d.mts +1 -1
  145. package/FunnelChart/seriesConfig/legend.d.ts +1 -1
  146. package/FunnelChart/seriesConfig/seriesProcessor.d.mts +1 -1
  147. package/FunnelChart/seriesConfig/seriesProcessor.d.ts +1 -1
  148. package/FunnelChart/seriesConfig/tooltip.d.mts +1 -1
  149. package/FunnelChart/seriesConfig/tooltip.d.ts +1 -1
  150. package/FunnelChart/seriesConfig/tooltipPosition.d.mts +1 -1
  151. package/FunnelChart/seriesConfig/tooltipPosition.d.ts +1 -1
  152. package/FunnelChart/useFunnelChartProps.d.mts +7 -7
  153. package/FunnelChart/useFunnelChartProps.d.ts +7 -7
  154. package/Heatmap/Heatmap.d.mts +12 -12
  155. package/Heatmap/Heatmap.d.ts +12 -12
  156. package/Heatmap/Heatmap.js +5 -3
  157. package/Heatmap/Heatmap.mjs +5 -3
  158. package/Heatmap/Heatmap.plugins.d.mts +3 -3
  159. package/Heatmap/Heatmap.plugins.d.ts +3 -3
  160. package/Heatmap/Heatmap.types.d.mts +1 -1
  161. package/Heatmap/Heatmap.types.d.ts +1 -1
  162. package/Heatmap/HeatmapCell.js +1 -1
  163. package/Heatmap/HeatmapCell.mjs +1 -1
  164. package/Heatmap/HeatmapItem.d.mts +2 -2
  165. package/Heatmap/HeatmapItem.d.ts +2 -2
  166. package/Heatmap/HeatmapPlot.d.mts +1 -1
  167. package/Heatmap/HeatmapPlot.d.ts +1 -1
  168. package/Heatmap/HeatmapPlot.js +1 -1
  169. package/Heatmap/HeatmapPlot.mjs +1 -1
  170. package/Heatmap/HeatmapSVGPlot.d.mts +1 -1
  171. package/Heatmap/HeatmapSVGPlot.d.ts +1 -1
  172. package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.mts +1 -1
  173. package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.ts +1 -1
  174. package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.mts +1 -1
  175. package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.ts +1 -1
  176. package/Heatmap/HeatmapTooltip/HeatmapTooltip.js +5 -25
  177. package/Heatmap/HeatmapTooltip/HeatmapTooltip.mjs +5 -25
  178. package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.mts +1 -1
  179. package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +1 -1
  180. package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.mts +1 -1
  181. package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.ts +1 -1
  182. package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.js +1 -1
  183. package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.mjs +1 -1
  184. package/Heatmap/seriesConfig/extremums.d.mts +1 -1
  185. package/Heatmap/seriesConfig/extremums.d.ts +1 -1
  186. package/Heatmap/seriesConfig/getColor.d.mts +1 -1
  187. package/Heatmap/seriesConfig/getColor.d.ts +1 -1
  188. package/Heatmap/seriesConfig/getSeriesWithDefaultValues.d.mts +1 -1
  189. package/Heatmap/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  190. package/Heatmap/seriesConfig/identifierSerializer.d.mts +1 -1
  191. package/Heatmap/seriesConfig/identifierSerializer.d.ts +1 -1
  192. package/Heatmap/seriesConfig/index.d.mts +1 -1
  193. package/Heatmap/seriesConfig/index.d.ts +1 -1
  194. package/Heatmap/seriesConfig/seriesProcessor.d.mts +1 -1
  195. package/Heatmap/seriesConfig/seriesProcessor.d.ts +1 -1
  196. package/Heatmap/seriesConfig/tooltip.d.mts +1 -1
  197. package/Heatmap/seriesConfig/tooltip.d.ts +1 -1
  198. package/Heatmap/seriesConfig/tooltipPosition.d.mts +1 -1
  199. package/Heatmap/seriesConfig/tooltipPosition.d.ts +1 -1
  200. package/Heatmap/useHeatmapProps.d.mts +7 -7
  201. package/Heatmap/useHeatmapProps.d.ts +7 -7
  202. package/LineChartPro/LineChartPro.d.mts +5 -5
  203. package/LineChartPro/LineChartPro.d.ts +5 -5
  204. package/LineChartPro/LineChartPro.js +5 -3
  205. package/LineChartPro/LineChartPro.mjs +5 -3
  206. package/LineChartPro/LineChartPro.plugins.d.mts +3 -3
  207. package/LineChartPro/LineChartPro.plugins.d.ts +3 -3
  208. package/PieChartPro/PieChartPro.d.mts +5 -5
  209. package/PieChartPro/PieChartPro.d.ts +5 -5
  210. package/PieChartPro/PieChartPro.js +1 -1
  211. package/PieChartPro/PieChartPro.mjs +1 -1
  212. package/PieChartPro/PieChartPro.plugins.d.mts +2 -2
  213. package/PieChartPro/PieChartPro.plugins.d.ts +2 -2
  214. package/RadarChartPro/RadarChartPro.d.mts +4 -4
  215. package/RadarChartPro/RadarChartPro.d.ts +4 -4
  216. package/RadarChartPro/RadarChartPro.js +1 -1
  217. package/RadarChartPro/RadarChartPro.mjs +1 -1
  218. package/RadarChartPro/RadarChartPro.plugins.d.mts +1 -1
  219. package/RadarChartPro/RadarChartPro.plugins.d.ts +1 -1
  220. package/SankeyChart/SankeyChart.d.mts +2 -2
  221. package/SankeyChart/SankeyChart.d.ts +2 -2
  222. package/SankeyChart/SankeyChart.js +1 -1
  223. package/SankeyChart/SankeyChart.mjs +1 -1
  224. package/SankeyChart/SankeyChart.plugins.d.mts +2 -2
  225. package/SankeyChart/SankeyChart.plugins.d.ts +2 -2
  226. package/SankeyChart/SankeyDataProvider.d.mts +4 -1
  227. package/SankeyChart/SankeyDataProvider.d.ts +4 -1
  228. package/SankeyChart/SankeyDataProvider.js +170 -1
  229. package/SankeyChart/SankeyDataProvider.mjs +169 -0
  230. package/SankeyChart/SankeyLinkLabel.d.mts +1 -1
  231. package/SankeyChart/SankeyLinkLabel.d.ts +1 -1
  232. package/SankeyChart/SankeyLinkLabelPlot.d.mts +4 -1
  233. package/SankeyChart/SankeyLinkLabelPlot.d.ts +4 -1
  234. package/SankeyChart/SankeyLinkLabelPlot.js +12 -1
  235. package/SankeyChart/SankeyLinkLabelPlot.mjs +11 -0
  236. package/SankeyChart/SankeyLinkPlot.d.mts +4 -1
  237. package/SankeyChart/SankeyLinkPlot.d.ts +4 -1
  238. package/SankeyChart/SankeyLinkPlot.js +18 -1
  239. package/SankeyChart/SankeyLinkPlot.mjs +17 -0
  240. package/SankeyChart/SankeyNodeLabelPlot.d.mts +4 -1
  241. package/SankeyChart/SankeyNodeLabelPlot.d.ts +4 -1
  242. package/SankeyChart/SankeyNodeLabelPlot.js +12 -1
  243. package/SankeyChart/SankeyNodeLabelPlot.mjs +11 -0
  244. package/SankeyChart/SankeyNodePlot.d.mts +4 -1
  245. package/SankeyChart/SankeyNodePlot.d.ts +4 -1
  246. package/SankeyChart/SankeyNodePlot.js +18 -1
  247. package/SankeyChart/SankeyNodePlot.mjs +17 -0
  248. package/SankeyChart/SankeyPlot.d.mts +2 -2
  249. package/SankeyChart/SankeyPlot.d.ts +2 -2
  250. package/SankeyChart/SankeyPlot.js +5 -1
  251. package/SankeyChart/SankeyPlot.mjs +5 -1
  252. package/SankeyChart/SankeyTooltip/SankeyTooltip.d.mts +1 -1
  253. package/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -1
  254. package/SankeyChart/SankeyTooltip/SankeyTooltip.js +8 -28
  255. package/SankeyChart/SankeyTooltip/SankeyTooltip.mjs +8 -28
  256. package/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.mts +1 -1
  257. package/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +1 -1
  258. package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.mts +1 -1
  259. package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +1 -1
  260. package/SankeyChart/SankeyTooltip/SankeyTooltipContent.js +1 -1
  261. package/SankeyChart/SankeyTooltip/SankeyTooltipContent.mjs +1 -1
  262. package/SankeyChart/d3Sankey/sankeyLinkHorizontal.d.mts +1 -1
  263. package/SankeyChart/d3Sankey/sankeyLinkHorizontal.d.ts +1 -1
  264. package/SankeyChart/sankeySlots.types.d.mts +4 -4
  265. package/SankeyChart/sankeySlots.types.d.ts +4 -4
  266. package/SankeyChart/seriesConfig/identifierSerializer.d.mts +1 -1
  267. package/SankeyChart/seriesConfig/identifierSerializer.d.ts +1 -1
  268. package/SankeyChart/useSankeyChartProps.d.mts +1 -1
  269. package/SankeyChart/useSankeyChartProps.d.ts +1 -1
  270. package/SankeyChart/useSankeyChartProps.mjs +0 -1
  271. package/ScatterChartPro/ScatterChartPro.d.mts +6 -6
  272. package/ScatterChartPro/ScatterChartPro.d.ts +6 -6
  273. package/ScatterChartPro/ScatterChartPro.js +5 -3
  274. package/ScatterChartPro/ScatterChartPro.mjs +5 -3
  275. package/ScatterChartPro/ScatterChartPro.plugins.d.mts +3 -3
  276. package/ScatterChartPro/ScatterChartPro.plugins.d.ts +3 -3
  277. package/context/ChartProApi.d.mts +10 -10
  278. package/context/ChartProApi.d.ts +10 -10
  279. package/context/useChartProApiContext.d.mts +1 -1
  280. package/context/useChartProApiContext.d.ts +1 -1
  281. package/hooks/useChartProApiRef.d.mts +3 -3
  282. package/hooks/useChartProApiRef.d.ts +3 -3
  283. package/hooks/useFunnelSeries.d.mts +1 -1
  284. package/hooks/useFunnelSeries.d.ts +1 -1
  285. package/hooks/useHeatmapSeries.d.mts +1 -1
  286. package/hooks/useHeatmapSeries.d.ts +1 -1
  287. package/hooks/useSankeySeries.d.mts +2 -2
  288. package/hooks/useSankeySeries.d.ts +2 -2
  289. package/index.js +1 -1
  290. package/index.mjs +1 -1
  291. package/internals/ChartsWatermark.d.mts +1 -1
  292. package/internals/ChartsWatermark.d.ts +1 -1
  293. package/internals/material/components/BaseMenuItem.d.mts +1 -1
  294. package/internals/material/components/BaseMenuItem.d.ts +1 -1
  295. package/internals/material/components/BasePopper.d.mts +1 -1
  296. package/internals/material/components/BasePopper.d.ts +1 -1
  297. package/internals/material/index.d.mts +2 -2
  298. package/internals/material/index.d.ts +2 -2
  299. package/internals/plugins/allPlugins.d.mts +3 -3
  300. package/internals/plugins/allPlugins.d.ts +3 -3
  301. package/internals/plugins/useChartProExport/exportImage.d.mts +1 -1
  302. package/internals/plugins/useChartProExport/exportImage.d.ts +1 -1
  303. package/internals/plugins/useChartProExport/print.d.mts +1 -1
  304. package/internals/plugins/useChartProExport/print.d.ts +1 -1
  305. package/internals/plugins/useChartProExport/useChartProExport.d.mts +2 -2
  306. package/internals/plugins/useChartProExport/useChartProExport.d.ts +2 -2
  307. package/internals/plugins/useChartProExport/useChartProExport.types.d.mts +1 -1
  308. package/internals/plugins/useChartProExport/useChartProExport.types.d.ts +1 -1
  309. package/internals/plugins/useChartProZoom/calculateZoom.d.mts +1 -1
  310. package/internals/plugins/useChartProZoom/calculateZoom.d.ts +1 -1
  311. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.mts +2 -2
  312. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +2 -2
  313. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.mts +2 -2
  314. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +2 -2
  315. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.mts +2 -2
  316. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +2 -2
  317. package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.d.mts +10 -0
  318. package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.d.ts +10 -0
  319. package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.js +49 -0
  320. package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.mjs +42 -0
  321. package/internals/plugins/useChartProZoom/gestureHooks/useZoom.utils.d.mts +1 -1
  322. package/internals/plugins/useChartProZoom/gestureHooks/useZoom.utils.d.ts +1 -1
  323. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.mts +2 -2
  324. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +2 -2
  325. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.mts +2 -2
  326. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +2 -2
  327. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.mts +2 -2
  328. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +2 -2
  329. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.mts +2 -2
  330. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +2 -2
  331. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.mts +2 -2
  332. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +2 -2
  333. package/internals/plugins/useChartProZoom/useChartProZoom.d.mts +2 -2
  334. package/internals/plugins/useChartProZoom/useChartProZoom.d.ts +2 -2
  335. package/internals/plugins/useChartProZoom/useChartProZoom.js +2 -0
  336. package/internals/plugins/useChartProZoom/useChartProZoom.mjs +2 -0
  337. package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.mts +2 -2
  338. package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +2 -2
  339. package/internals/plugins/useChartProZoom/useChartProZoom.types.d.mts +3 -3
  340. package/internals/plugins/useChartProZoom/useChartProZoom.types.d.ts +3 -3
  341. package/internals/plugins/zoomGestures/useDragGesture.d.mts +2 -2
  342. package/internals/plugins/zoomGestures/useDragGesture.d.ts +2 -2
  343. package/internals/plugins/zoomGestures/useWheelGesture.d.mts +2 -2
  344. package/internals/plugins/zoomGestures/useWheelGesture.d.ts +2 -2
  345. package/internals/plugins/zoomGestures/useWheelGesture.js +1 -1
  346. package/internals/plugins/zoomGestures/useWheelGesture.mjs +1 -1
  347. package/internals/slots/chartBaseSlotProps.d.mts +1 -1
  348. package/internals/slots/chartBaseSlotProps.d.ts +1 -1
  349. package/internals/slots/chartsBaseSlots.d.mts +2 -2
  350. package/internals/slots/chartsBaseSlots.d.ts +2 -2
  351. package/internals/slots/chartsIconSlots.d.mts +1 -1
  352. package/internals/slots/chartsIconSlots.d.ts +1 -1
  353. package/models/seriesType/heatmap.d.mts +2 -2
  354. package/models/seriesType/heatmap.d.ts +2 -2
  355. package/package.json +9 -6
  356. package/plugins/selectors/useChartHeatmapPosition.selectors.d.mts +1 -1
  357. package/plugins/selectors/useChartHeatmapPosition.selectors.d.ts +1 -1
  358. package/themeAugmentation/components.d.mts +1 -1
  359. package/themeAugmentation/components.d.ts +1 -1
  360. package/themeAugmentation/overrides.d.mts +1 -1
  361. package/themeAugmentation/overrides.d.ts +1 -1
  362. package/themeAugmentation/props.d.mts +8 -8
  363. package/themeAugmentation/props.d.ts +8 -8
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
3
- import { type ChartPrintExportOptions } from "../internals/plugins/useChartProExport/index.js";
4
- import { type ChartsSlotPropsPro } from "../internals/material/index.js";
2
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
3
+ import type { ChartPrintExportOptions } from "../internals/plugins/useChartProExport/index.js";
4
+ import type { ChartsSlotPropsPro } from "../internals/material/index.js";
5
5
  export interface ChartsToolbarPrintExportOptions extends ChartPrintExportOptions {
6
6
  /**
7
7
  * If `true`, this export option will be removed from the ChartsToolbarExport menu.
@@ -50,7 +50,7 @@ const ChartsToolbarPrintExportTrigger = exports.ChartsToolbarPrintExportTrigger
50
50
  });
51
51
  });
52
52
  if (process.env.NODE_ENV !== "production") ChartsToolbarPrintExportTrigger.displayName = "ChartsToolbarPrintExportTrigger";
53
- process.env.NODE_ENV !== "production" ? ChartsToolbarPrintExportTrigger.propTypes = {
53
+ process.env.NODE_ENV !== "production" ? ChartsToolbarPrintExportTrigger.propTypes /* remove-proptypes */ = {
54
54
  // ----------------------------- Warning --------------------------------
55
55
  // | These PropTypes are generated from the TypeScript type definitions |
56
56
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -42,7 +42,7 @@ const ChartsToolbarPrintExportTrigger = forwardRef(function ChartsToolbarPrintEx
42
42
  });
43
43
  });
44
44
  if (process.env.NODE_ENV !== "production") ChartsToolbarPrintExportTrigger.displayName = "ChartsToolbarPrintExportTrigger";
45
- process.env.NODE_ENV !== "production" ? ChartsToolbarPrintExportTrigger.propTypes = {
45
+ process.env.NODE_ENV !== "production" ? ChartsToolbarPrintExportTrigger.propTypes /* remove-proptypes */ = {
46
46
  // ----------------------------- Warning --------------------------------
47
47
  // | These PropTypes are generated from the TypeScript type definitions |
48
48
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,8 +1,8 @@
1
- import { type ChartsToolbarProps } from '@mui/x-charts/Toolbar';
2
- import { type AxisId } from '@mui/x-charts/internals';
3
- import { type RangeButtonValue } from "./rangeButtonValueToZoom.mjs";
4
- import { type ChartsToolbarPrintExportOptions } from "./ChartsToolbarPrintExportTrigger.mjs";
5
- import { type ChartsToolbarImageExportOptions } from "./ChartsToolbarImageExportTrigger.mjs";
1
+ import type { ChartsToolbarProps } from '@mui/x-charts/Toolbar';
2
+ import type { AxisId } from '@mui/x-charts/internals';
3
+ import type { RangeButtonValue } from "./rangeButtonValueToZoom.mjs";
4
+ import type { ChartsToolbarPrintExportOptions } from "./ChartsToolbarPrintExportTrigger.mjs";
5
+ import type { ChartsToolbarImageExportOptions } from "./ChartsToolbarImageExportTrigger.mjs";
6
6
  export type { RangeButtonFunctionParams, RangeButtonValue, RangeButtonIntervalUnit } from "./rangeButtonValueToZoom.mjs";
7
7
  export interface RangeButtonConfig {
8
8
  /**
@@ -1,8 +1,8 @@
1
- import { type ChartsToolbarProps } from '@mui/x-charts/Toolbar';
2
- import { type AxisId } from '@mui/x-charts/internals';
3
- import { type RangeButtonValue } from "./rangeButtonValueToZoom.js";
4
- import { type ChartsToolbarPrintExportOptions } from "./ChartsToolbarPrintExportTrigger.js";
5
- import { type ChartsToolbarImageExportOptions } from "./ChartsToolbarImageExportTrigger.js";
1
+ import type { ChartsToolbarProps } from '@mui/x-charts/Toolbar';
2
+ import type { AxisId } from '@mui/x-charts/internals';
3
+ import type { RangeButtonValue } from "./rangeButtonValueToZoom.js";
4
+ import type { ChartsToolbarPrintExportOptions } from "./ChartsToolbarPrintExportTrigger.js";
5
+ import type { ChartsToolbarImageExportOptions } from "./ChartsToolbarImageExportTrigger.js";
6
6
  export type { RangeButtonFunctionParams, RangeButtonValue, RangeButtonIntervalUnit } from "./rangeButtonValueToZoom.js";
7
7
  export interface RangeButtonConfig {
8
8
  /**
@@ -185,7 +185,7 @@ function ChartsToolbarPro(_ref) {
185
185
  children: children
186
186
  }));
187
187
  }
188
- process.env.NODE_ENV !== "production" ? ChartsToolbarPro.propTypes = {
188
+ process.env.NODE_ENV !== "production" ? ChartsToolbarPro.propTypes /* remove-proptypes */ = {
189
189
  // ----------------------------- Warning --------------------------------
190
190
  // | These PropTypes are generated from the TypeScript type definitions |
191
191
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -195,6 +195,7 @@ process.env.NODE_ENV !== "production" ? ChartsToolbarPro.propTypes = {
195
195
  fileName: _propTypes.default.string,
196
196
  nonce: _propTypes.default.string,
197
197
  onBeforeExport: _propTypes.default.func,
198
+ pixelRatio: _propTypes.default.number,
198
199
  quality: _propTypes.default.number,
199
200
  type: _propTypes.default.string.isRequired
200
201
  })),
@@ -205,7 +206,7 @@ process.env.NODE_ENV !== "production" ? ChartsToolbarPro.propTypes = {
205
206
  */
206
207
  rangeButtons: _propTypes.default.arrayOf(_propTypes.default.shape({
207
208
  label: _propTypes.default.string.isRequired,
208
- value: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.instanceOf(Date).isRequired), _propTypes.default.func, _propTypes.default.shape({
209
+ value: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.instanceOf(Date).isRequired), _propTypes.default.arrayOf(_propTypes.default.string.isRequired), _propTypes.default.func, _propTypes.default.shape({
209
210
  step: _propTypes.default.number,
210
211
  unit: _propTypes.default.oneOf(['day', 'hour', 'microsecond', 'millisecond', 'minute', 'month', 'second', 'week', 'year']).isRequired
211
212
  })])
@@ -178,7 +178,7 @@ function ChartsToolbarPro(_ref) {
178
178
  children: children
179
179
  }));
180
180
  }
181
- process.env.NODE_ENV !== "production" ? ChartsToolbarPro.propTypes = {
181
+ process.env.NODE_ENV !== "production" ? ChartsToolbarPro.propTypes /* remove-proptypes */ = {
182
182
  // ----------------------------- Warning --------------------------------
183
183
  // | These PropTypes are generated from the TypeScript type definitions |
184
184
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -188,6 +188,7 @@ process.env.NODE_ENV !== "production" ? ChartsToolbarPro.propTypes = {
188
188
  fileName: PropTypes.string,
189
189
  nonce: PropTypes.string,
190
190
  onBeforeExport: PropTypes.func,
191
+ pixelRatio: PropTypes.number,
191
192
  quality: PropTypes.number,
192
193
  type: PropTypes.string.isRequired
193
194
  })),
@@ -198,7 +199,7 @@ process.env.NODE_ENV !== "production" ? ChartsToolbarPro.propTypes = {
198
199
  */
199
200
  rangeButtons: PropTypes.arrayOf(PropTypes.shape({
200
201
  label: PropTypes.string.isRequired,
201
- value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.instanceOf(Date).isRequired), PropTypes.func, PropTypes.shape({
202
+ value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.instanceOf(Date).isRequired), PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func, PropTypes.shape({
202
203
  step: PropTypes.number,
203
204
  unit: PropTypes.oneOf(['day', 'hour', 'microsecond', 'millisecond', 'minute', 'month', 'second', 'week', 'year']).isRequired
204
205
  })])
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { type ChartsSlotProps, type AxisId } from '@mui/x-charts/internals';
3
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
4
- import { type RangeButtonValue } from "./rangeButtonValueToZoom.mjs";
2
+ import type { ChartsSlotProps, AxisId } from '@mui/x-charts/internals';
3
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
4
+ import type { RangeButtonValue } from "./rangeButtonValueToZoom.mjs";
5
5
  export interface ChartsToolbarRangeButtonTriggerProps {
6
6
  /**
7
7
  * A function to customize the rendering of the component.
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { type ChartsSlotProps, type AxisId } from '@mui/x-charts/internals';
3
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
4
- import { type RangeButtonValue } from "./rangeButtonValueToZoom.js";
2
+ import type { ChartsSlotProps, AxisId } from '@mui/x-charts/internals';
3
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
4
+ import type { RangeButtonValue } from "./rangeButtonValueToZoom.js";
5
5
  export interface ChartsToolbarRangeButtonTriggerProps {
6
6
  /**
7
7
  * A function to customize the rendering of the component.
@@ -115,7 +115,7 @@ const ChartsToolbarRangeButtonTrigger = exports.ChartsToolbarRangeButtonTrigger
115
115
  });
116
116
  });
117
117
  if (process.env.NODE_ENV !== "production") ChartsToolbarRangeButtonTrigger.displayName = "ChartsToolbarRangeButtonTrigger";
118
- process.env.NODE_ENV !== "production" ? ChartsToolbarRangeButtonTrigger.propTypes = {
118
+ process.env.NODE_ENV !== "production" ? ChartsToolbarRangeButtonTrigger.propTypes /* remove-proptypes */ = {
119
119
  // ----------------------------- Warning --------------------------------
120
120
  // | These PropTypes are generated from the TypeScript type definitions |
121
121
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -108,7 +108,7 @@ const ChartsToolbarRangeButtonTrigger = /*#__PURE__*/React.forwardRef(function C
108
108
  });
109
109
  });
110
110
  if (process.env.NODE_ENV !== "production") ChartsToolbarRangeButtonTrigger.displayName = "ChartsToolbarRangeButtonTrigger";
111
- process.env.NODE_ENV !== "production" ? ChartsToolbarRangeButtonTrigger.propTypes = {
111
+ process.env.NODE_ENV !== "production" ? ChartsToolbarRangeButtonTrigger.propTypes /* remove-proptypes */ = {
112
112
  // ----------------------------- Warning --------------------------------
113
113
  // | These PropTypes are generated from the TypeScript type definitions |
114
114
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { type ChartsSlotProps } from '@mui/x-charts/internals';
3
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { ChartsSlotProps } from '@mui/x-charts/internals';
3
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
4
4
  interface ChartsToolbarZoomInTriggerProps {
5
5
  /**
6
6
  * A function to customize the rendering of the component.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { type ChartsSlotProps } from '@mui/x-charts/internals';
3
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { ChartsSlotProps } from '@mui/x-charts/internals';
3
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
4
4
  interface ChartsToolbarZoomInTriggerProps {
5
5
  /**
6
6
  * A function to customize the rendering of the component.
@@ -45,7 +45,7 @@ const ChartsToolbarZoomInTrigger = exports.ChartsToolbarZoomInTrigger = /*#__PUR
45
45
  });
46
46
  });
47
47
  if (process.env.NODE_ENV !== "production") ChartsToolbarZoomInTrigger.displayName = "ChartsToolbarZoomInTrigger";
48
- process.env.NODE_ENV !== "production" ? ChartsToolbarZoomInTrigger.propTypes = {
48
+ process.env.NODE_ENV !== "production" ? ChartsToolbarZoomInTrigger.propTypes /* remove-proptypes */ = {
49
49
  // ----------------------------- Warning --------------------------------
50
50
  // | These PropTypes are generated from the TypeScript type definitions |
51
51
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -38,7 +38,7 @@ const ChartsToolbarZoomInTrigger = /*#__PURE__*/React.forwardRef(function Charts
38
38
  });
39
39
  });
40
40
  if (process.env.NODE_ENV !== "production") ChartsToolbarZoomInTrigger.displayName = "ChartsToolbarZoomInTrigger";
41
- process.env.NODE_ENV !== "production" ? ChartsToolbarZoomInTrigger.propTypes = {
41
+ process.env.NODE_ENV !== "production" ? ChartsToolbarZoomInTrigger.propTypes /* remove-proptypes */ = {
42
42
  // ----------------------------- Warning --------------------------------
43
43
  // | These PropTypes are generated from the TypeScript type definitions |
44
44
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { type ChartsSlotProps } from '@mui/x-charts/internals';
3
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { ChartsSlotProps } from '@mui/x-charts/internals';
3
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
4
4
  interface ChartsToolbarZoomOutTriggerProps {
5
5
  /**
6
6
  * A function to customize the rendering of the component.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { type ChartsSlotProps } from '@mui/x-charts/internals';
3
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { ChartsSlotProps } from '@mui/x-charts/internals';
3
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
4
4
  interface ChartsToolbarZoomOutTriggerProps {
5
5
  /**
6
6
  * A function to customize the rendering of the component.
@@ -45,7 +45,7 @@ const ChartsToolbarZoomOutTrigger = exports.ChartsToolbarZoomOutTrigger = /*#__P
45
45
  });
46
46
  });
47
47
  if (process.env.NODE_ENV !== "production") ChartsToolbarZoomOutTrigger.displayName = "ChartsToolbarZoomOutTrigger";
48
- process.env.NODE_ENV !== "production" ? ChartsToolbarZoomOutTrigger.propTypes = {
48
+ process.env.NODE_ENV !== "production" ? ChartsToolbarZoomOutTrigger.propTypes /* remove-proptypes */ = {
49
49
  // ----------------------------- Warning --------------------------------
50
50
  // | These PropTypes are generated from the TypeScript type definitions |
51
51
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -38,7 +38,7 @@ const ChartsToolbarZoomOutTrigger = /*#__PURE__*/React.forwardRef(function Chart
38
38
  });
39
39
  });
40
40
  if (process.env.NODE_ENV !== "production") ChartsToolbarZoomOutTrigger.displayName = "ChartsToolbarZoomOutTrigger";
41
- process.env.NODE_ENV !== "production" ? ChartsToolbarZoomOutTrigger.propTypes = {
41
+ process.env.NODE_ENV !== "production" ? ChartsToolbarZoomOutTrigger.propTypes /* remove-proptypes */ = {
42
42
  // ----------------------------- Warning --------------------------------
43
43
  // | These PropTypes are generated from the TypeScript type definitions |
44
44
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,6 +1,6 @@
1
1
  import type * as React from 'react';
2
2
  import type { ToolbarPropsOverrides } from '@mui/x-charts/models';
3
- import { type ChartsToolbarProProps } from "./ChartsToolbarPro.mjs";
3
+ import type { ChartsToolbarProProps } from "./ChartsToolbarPro.mjs";
4
4
  export interface ChartsToolbarProSlots {
5
5
  /**
6
6
  * Custom component for the toolbar.
@@ -1,6 +1,6 @@
1
1
  import type * as React from 'react';
2
2
  import type { ToolbarPropsOverrides } from '@mui/x-charts/models';
3
- import { type ChartsToolbarProProps } from "./ChartsToolbarPro.js";
3
+ import type { ChartsToolbarProProps } from "./ChartsToolbarPro.js";
4
4
  export interface ChartsToolbarProSlots {
5
5
  /**
6
6
  * Custom component for the toolbar.
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type ChartBasePopperProps, type Placement } from "../../internals/slots/chartBaseSlotProps.mjs";
2
+ import type { ChartBasePopperProps, Placement } from "../../internals/slots/chartBaseSlotProps.mjs";
3
3
  export interface ChartsMenuProps extends Pick<ChartBasePopperProps, 'className' | 'onExited'> {
4
4
  open: boolean;
5
5
  target: HTMLElement | null;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type ChartBasePopperProps, type Placement } from "../../internals/slots/chartBaseSlotProps.js";
2
+ import type { ChartBasePopperProps, Placement } from "../../internals/slots/chartBaseSlotProps.js";
3
3
  export interface ChartsMenuProps extends Pick<ChartBasePopperProps, 'className' | 'onExited'> {
4
4
  open: boolean;
5
5
  target: HTMLElement | null;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type ChartBaseDividerProps } from "../../internals/slots/chartBaseSlotProps.mjs";
2
+ import type { ChartBaseDividerProps } from "../../internals/slots/chartBaseSlotProps.mjs";
3
3
  export interface ChartsToolbarDividerProps extends ChartBaseDividerProps {}
4
4
  declare const ChartsToolbarDivider: React.ForwardRefExoticComponent<Omit<ChartsToolbarDividerProps, "ref"> & React.RefAttributes<HTMLHRElement>>;
5
5
  export { ChartsToolbarDivider };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type ChartBaseDividerProps } from "../../internals/slots/chartBaseSlotProps.js";
2
+ import type { ChartBaseDividerProps } from "../../internals/slots/chartBaseSlotProps.js";
3
3
  export interface ChartsToolbarDividerProps extends ChartBaseDividerProps {}
4
4
  declare const ChartsToolbarDivider: React.ForwardRefExoticComponent<Omit<ChartsToolbarDividerProps, "ref"> & React.RefAttributes<HTMLHRElement>>;
5
5
  export { ChartsToolbarDivider };
@@ -1,4 +1,4 @@
1
- import { type AxisId } from '@mui/x-charts/internals';
1
+ import type { AxisId } from '@mui/x-charts/internals';
2
2
  interface ChartsZoomSliderProps {
3
3
  /**
4
4
  * The ID of the axis this overview refers to.
@@ -1,4 +1,4 @@
1
- import { type AxisId } from '@mui/x-charts/internals';
1
+ import type { AxisId } from '@mui/x-charts/internals';
2
2
  interface ChartsZoomSliderProps {
3
3
  /**
4
4
  * The ID of the axis this overview refers to.
@@ -1,4 +1,4 @@
1
- import { type AxisId, type ZoomData } from '@mui/x-charts/internals';
1
+ import type { AxisId, ZoomData } from '@mui/x-charts/internals';
2
2
  export interface ChartsAxisZoomSliderActiveTrackProps {
3
3
  axisId: AxisId;
4
4
  axisDirection: 'x' | 'y';
@@ -1,4 +1,4 @@
1
- import { type AxisId, type ZoomData } from '@mui/x-charts/internals';
1
+ import type { AxisId, ZoomData } from '@mui/x-charts/internals';
2
2
  export interface ChartsAxisZoomSliderActiveTrackProps {
3
3
  axisId: AxisId;
4
4
  axisDirection: 'x' | 'y';
@@ -1,4 +1,4 @@
1
- import { type AxisId, type SeriesId } from '@mui/x-charts/internals';
1
+ import type { AxisId, SeriesId } from '@mui/x-charts/internals';
2
2
  interface ChartsAxisZoomSliderPreviewProps {
3
3
  axisId: AxisId;
4
4
  axisDirection: 'x' | 'y';
@@ -1,4 +1,4 @@
1
- import { type AxisId, type SeriesId } from '@mui/x-charts/internals';
1
+ import type { AxisId, SeriesId } from '@mui/x-charts/internals';
2
2
  interface ChartsAxisZoomSliderPreviewProps {
3
3
  axisId: AxisId;
4
4
  axisDirection: 'x' | 'y';
@@ -1,4 +1,4 @@
1
- import { type AxisId, type SeriesId } from '@mui/x-charts/internals';
1
+ import type { AxisId, SeriesId } from '@mui/x-charts/internals';
2
2
  export interface ChartsAxisZoomSliderPreviewContentProps {
3
3
  axisId: AxisId;
4
4
  x: number;
@@ -1,4 +1,4 @@
1
- import { type AxisId, type SeriesId } from '@mui/x-charts/internals';
1
+ import type { AxisId, SeriesId } from '@mui/x-charts/internals';
2
2
  export interface ChartsAxisZoomSliderPreviewContentProps {
3
3
  axisId: AxisId;
4
4
  x: number;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type AxisId } from '@mui/x-charts/internals';
2
+ import type { AxisId } from '@mui/x-charts/internals';
3
3
  interface ChartsAxisZoomSliderTrackProps extends React.ComponentProps<'rect'> {
4
4
  axisId: AxisId;
5
5
  axisDirection: 'x' | 'y';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type AxisId } from '@mui/x-charts/internals';
2
+ import type { AxisId } from '@mui/x-charts/internals';
3
3
  interface ChartsAxisZoomSliderTrackProps extends React.ComponentProps<'rect'> {
4
4
  axisId: AxisId;
5
5
  axisDirection: 'x' | 'y';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type PopperProps } from '@mui/material/Popper';
2
+ import type { PopperProps } from '@mui/material/Popper';
3
3
  interface ChartsTooltipZoomSliderValueProps extends Pick<PopperProps, 'anchorEl' | 'open' | 'modifiers' | 'placement'>, React.PropsWithChildren {}
4
4
  export declare function ChartsTooltipZoomSliderValue({
5
5
  anchorEl,
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type PopperProps } from '@mui/material/Popper';
2
+ import type { PopperProps } from '@mui/material/Popper';
3
3
  interface ChartsTooltipZoomSliderValueProps extends Pick<PopperProps, 'anchorEl' | 'open' | 'modifiers' | 'placement'>, React.PropsWithChildren {}
4
4
  export declare function ChartsTooltipZoomSliderValue({
5
5
  anchorEl,
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { type SeriesId } from '@mui/x-charts/internals';
3
- import { type PreviewPlotProps } from "./PreviewPlot.types.mjs";
2
+ import type { SeriesId } from '@mui/x-charts/internals';
3
+ import type { PreviewPlotProps } from "./PreviewPlot.types.mjs";
4
4
  interface AreaPreviewPlotProps extends Pick<PreviewPlotProps, 'axisId' | 'seriesIds'> {}
5
5
  export declare function AreaPreviewPlot({
6
6
  axisId,
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { type SeriesId } from '@mui/x-charts/internals';
3
- import { type PreviewPlotProps } from "./PreviewPlot.types.js";
2
+ import type { SeriesId } from '@mui/x-charts/internals';
3
+ import type { PreviewPlotProps } from "./PreviewPlot.types.js";
4
4
  interface AreaPreviewPlotProps extends Pick<PreviewPlotProps, 'axisId' | 'seriesIds'> {}
5
5
  export declare function AreaPreviewPlot({
6
6
  axisId,
@@ -1,4 +1,4 @@
1
- import { type PreviewPlotProps } from "./PreviewPlot.types.mjs";
1
+ import type { PreviewPlotProps } from "./PreviewPlot.types.mjs";
2
2
  interface BarPreviewPlotProps extends PreviewPlotProps {
3
3
  x: number;
4
4
  y: number;
@@ -1,4 +1,4 @@
1
- import { type PreviewPlotProps } from "./PreviewPlot.types.js";
1
+ import type { PreviewPlotProps } from "./PreviewPlot.types.js";
2
2
  interface BarPreviewPlotProps extends PreviewPlotProps {
3
3
  x: number;
4
4
  y: number;
@@ -1,8 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
- import { selectorChartPreviewComputedXAxis, selectorChartPreviewComputedYAxis, useStore } from '@mui/x-charts/internals';
2
+ import { selectorChartPreviewComputedXAxis, selectorChartPreviewComputedYAxis, useStore, processBarDataForPlot } from '@mui/x-charts/internals';
3
3
  import { useBarSeriesContext, useChartId, useXAxes, useYAxes } from '@mui/x-charts/hooks';
4
4
  import { BarElement } from '@mui/x-charts/BarChart';
5
- import { processBarDataForPlot } from '@mui/x-charts/internals';
6
5
  import { jsx as _jsx } from "react/jsx-runtime";
7
6
  export function BarPreviewPlot(props) {
8
7
  const drawingArea = {
@@ -1,4 +1,4 @@
1
- import { type PreviewPlotProps } from "./PreviewPlot.types.mjs";
1
+ import type { PreviewPlotProps } from "./PreviewPlot.types.mjs";
2
2
  export declare function LineAreaPreviewPlot({
3
3
  axisId,
4
4
  seriesIds
@@ -1,4 +1,4 @@
1
- import { type PreviewPlotProps } from "./PreviewPlot.types.js";
1
+ import type { PreviewPlotProps } from "./PreviewPlot.types.js";
2
2
  export declare function LineAreaPreviewPlot({
3
3
  axisId,
4
4
  seriesIds
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type SeriesId } from '@mui/x-charts/internals';
2
+ import type { SeriesId } from '@mui/x-charts/internals';
3
3
  import type { PreviewPlotProps } from "./PreviewPlot.types.mjs";
4
4
  interface LinePreviewPlotProps extends Pick<PreviewPlotProps, 'axisId' | 'seriesIds'> {}
5
5
  export declare function LinePreviewPlot({
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type SeriesId } from '@mui/x-charts/internals';
2
+ import type { SeriesId } from '@mui/x-charts/internals';
3
3
  import type { PreviewPlotProps } from "./PreviewPlot.types.js";
4
4
  interface LinePreviewPlotProps extends Pick<PreviewPlotProps, 'axisId' | 'seriesIds'> {}
5
5
  export declare function LinePreviewPlot({
@@ -1,4 +1,4 @@
1
- import { type AxisId, type SeriesId } from '@mui/x-charts/internals';
1
+ import type { AxisId, SeriesId } from '@mui/x-charts/internals';
2
2
  export interface PreviewPlotProps {
3
3
  axisId: AxisId;
4
4
  x: number;
@@ -1,4 +1,4 @@
1
- import { type AxisId, type SeriesId } from '@mui/x-charts/internals';
1
+ import type { AxisId, SeriesId } from '@mui/x-charts/internals';
2
2
  export interface PreviewPlotProps {
3
3
  axisId: AxisId;
4
4
  x: number;
@@ -1,4 +1,4 @@
1
- import { type PreviewPlotProps } from "./PreviewPlot.types.mjs";
1
+ import type { PreviewPlotProps } from "./PreviewPlot.types.mjs";
2
2
  interface ScatterPreviewPlotProps extends PreviewPlotProps {
3
3
  x: number;
4
4
  y: number;
@@ -1,4 +1,4 @@
1
- import { type PreviewPlotProps } from "./PreviewPlot.types.js";
1
+ import type { PreviewPlotProps } from "./PreviewPlot.types.js";
2
2
  interface ScatterPreviewPlotProps extends PreviewPlotProps {
3
3
  x: number;
4
4
  y: number;
@@ -1,3 +1,3 @@
1
1
  import type * as React from 'react';
2
- import { type PreviewPlotProps } from "./previews/PreviewPlot.types.mjs";
2
+ import type { PreviewPlotProps } from "./previews/PreviewPlot.types.mjs";
3
3
  export declare const seriesPreviewPlotMap: Map<keyof import("@mui/x-charts/internals").ChartsSeriesConfig, React.ComponentType<PreviewPlotProps>>;
@@ -1,3 +1,3 @@
1
1
  import type * as React from 'react';
2
- import { type PreviewPlotProps } from "./previews/PreviewPlot.types.js";
2
+ import type { PreviewPlotProps } from "./previews/PreviewPlot.types.js";
3
3
  export declare const seriesPreviewPlotMap: Map<keyof import("@mui/x-charts/internals").ChartsSeriesConfig, React.ComponentType<PreviewPlotProps>>;
@@ -1,5 +1,5 @@
1
- import { type AxisId, type ChartState, type DefaultedXAxis, type DefaultedYAxis, type DefaultizedZoomOptions, type ZoomData } from '@mui/x-charts/internals';
2
- import { type ChartDrawingArea } from '@mui/x-charts/hooks';
1
+ import type { AxisId, ChartState, DefaultedXAxis, DefaultedYAxis, DefaultizedZoomOptions, ZoomData } from '@mui/x-charts/internals';
2
+ import type { ChartDrawingArea } from '@mui/x-charts/hooks';
3
3
  export declare function calculateZoomFromPoint(state: ChartState<any>, axisId: AxisId, point: DOMPoint): number | null;
4
4
  export declare function calculateZoomFromPointImpl(drawingArea: ChartDrawingArea, axis: Pick<DefaultedXAxis | DefaultedYAxis, 'position' | 'reverse'>, zoomOptions: Pick<DefaultizedZoomOptions, 'minStart' | 'maxEnd'>, point: Pick<DOMPoint, 'x' | 'y'>): number;
5
5
  export declare function calculateZoomStart(newStart: number, currentZoom: ZoomData, options: Pick<DefaultizedZoomOptions, 'minStart' | 'minSpan' | 'maxSpan'>): number;
@@ -1,5 +1,5 @@
1
- import { type AxisId, type ChartState, type DefaultedXAxis, type DefaultedYAxis, type DefaultizedZoomOptions, type ZoomData } from '@mui/x-charts/internals';
2
- import { type ChartDrawingArea } from '@mui/x-charts/hooks';
1
+ import type { AxisId, ChartState, DefaultedXAxis, DefaultedYAxis, DefaultizedZoomOptions, ZoomData } from '@mui/x-charts/internals';
2
+ import type { ChartDrawingArea } from '@mui/x-charts/hooks';
3
3
  export declare function calculateZoomFromPoint(state: ChartState<any>, axisId: AxisId, point: DOMPoint): number | null;
4
4
  export declare function calculateZoomFromPointImpl(drawingArea: ChartDrawingArea, axis: Pick<DefaultedXAxis | DefaultedYAxis, 'position' | 'reverse'>, zoomOptions: Pick<DefaultizedZoomOptions, 'minStart' | 'maxEnd'>, point: Pick<DOMPoint, 'x' | 'y'>): number;
5
5
  export declare function calculateZoomStart(newStart: number, currentZoom: ZoomData, options: Pick<DefaultizedZoomOptions, 'minStart' | 'minSpan' | 'maxSpan'>): number;
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
- import { type ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
3
- import { type MakeOptional } from '@mui/x-internals/types';
4
- import { type ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight';
5
- import { type FunnelPlotProps } from "./FunnelPlot.mjs";
6
- import { type FunnelSeriesType } from "./funnel.types.mjs";
7
- import { type ChartsContainerProProps } from "../ChartsContainerPro/index.mjs";
8
- import { type FunnelChartSlotExtension } from "./funnelSlots.types.mjs";
9
- import { type CategoryAxis } from "./categoryAxis.types.mjs";
10
- import { type FunnelChartPluginSignatures } from "./FunnelChart.plugins.mjs";
2
+ import type { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
3
+ import type { MakeOptional } from '@mui/x-internals/types';
4
+ import type { ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight';
5
+ import type { FunnelPlotProps } from "./FunnelPlot.mjs";
6
+ import type { FunnelSeriesType } from "./funnel.types.mjs";
7
+ import type { ChartsContainerProProps } from "../ChartsContainerPro/index.mjs";
8
+ import type { FunnelChartSlotExtension } from "./funnelSlots.types.mjs";
9
+ import type { CategoryAxis } from "./categoryAxis.types.mjs";
10
+ import type { FunnelChartPluginSignatures } from "./FunnelChart.plugins.mjs";
11
11
  export type FunnelSeries = MakeOptional<FunnelSeriesType, 'type'>;
12
12
  export interface FunnelChartProps extends Omit<ChartsContainerProProps<'funnel', FunnelChartPluginSignatures>, 'series' | 'plugins' | 'zAxis' | 'zoom' | 'onZoomChange' | 'dataset' | 'yAxis' | 'xAxis' | 'rotationAxis' | 'radiusAxis' | 'slots' | 'slotProps'>, Omit<FunnelPlotProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'>, FunnelChartSlotExtension {
13
13
  /**
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
- import { type ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
3
- import { type MakeOptional } from '@mui/x-internals/types';
4
- import { type ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight';
5
- import { type FunnelPlotProps } from "./FunnelPlot.js";
6
- import { type FunnelSeriesType } from "./funnel.types.js";
7
- import { type ChartsContainerProProps } from "../ChartsContainerPro/index.js";
8
- import { type FunnelChartSlotExtension } from "./funnelSlots.types.js";
9
- import { type CategoryAxis } from "./categoryAxis.types.js";
10
- import { type FunnelChartPluginSignatures } from "./FunnelChart.plugins.js";
2
+ import type { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
3
+ import type { MakeOptional } from '@mui/x-internals/types';
4
+ import type { ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight';
5
+ import type { FunnelPlotProps } from "./FunnelPlot.js";
6
+ import type { FunnelSeriesType } from "./funnel.types.js";
7
+ import type { ChartsContainerProProps } from "../ChartsContainerPro/index.js";
8
+ import type { FunnelChartSlotExtension } from "./funnelSlots.types.js";
9
+ import type { CategoryAxis } from "./categoryAxis.types.js";
10
+ import type { FunnelChartPluginSignatures } from "./FunnelChart.plugins.js";
11
11
  export type FunnelSeries = MakeOptional<FunnelSeriesType, 'type'>;
12
12
  export interface FunnelChartProps extends Omit<ChartsContainerProProps<'funnel', FunnelChartPluginSignatures>, 'series' | 'plugins' | 'zAxis' | 'zoom' | 'onZoomChange' | 'dataset' | 'yAxis' | 'xAxis' | 'rotationAxis' | 'radiusAxis' | 'slots' | 'slotProps'>, Omit<FunnelPlotProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'>, FunnelChartSlotExtension {
13
13
  /**
@@ -64,7 +64,7 @@ const FunnelChart = exports.FunnelChart = /*#__PURE__*/React.forwardRef(function
64
64
  }));
65
65
  });
66
66
  if (process.env.NODE_ENV !== "production") FunnelChart.displayName = "FunnelChart";
67
- process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
67
+ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes /* remove-proptypes */ = {
68
68
  // ----------------------------- Warning --------------------------------
69
69
  // | These PropTypes are generated from the TypeScript type definitions |
70
70
  // | To update them edit the TypeScript types and run "pnpm proptypes" |