@mui/x-charts-pro 8.21.0 → 8.22.1
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.
- package/BarChartPro/BarChartPro.d.ts +5 -5
- package/BarChartPro/BarChartPro.js +20 -0
- package/BarChartPro/BarChartPro.plugins.d.ts +4 -4
- package/BarChartPro/BarChartPro.plugins.js +1 -1
- package/CHANGELOG.md +238 -1
- package/ChartContainerPro/ChartContainerPro.d.ts +4 -4
- package/ChartContainerPro/useChartContainerProProps.d.ts +4 -4
- package/ChartDataProviderPro/ChartDataProviderPro.d.ts +4 -4
- package/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/ChartDataProviderPro/useChartDataProviderProProps.d.ts +1 -1
- package/ChartZoomSlider/internals/ChartAxisZoomSlider.d.ts +1 -1
- package/ChartZoomSlider/internals/ChartAxisZoomSlider.js +2 -2
- package/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.d.ts +1 -1
- package/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.js +9 -9
- package/ChartZoomSlider/internals/ChartAxisZoomSliderPreview.d.ts +1 -1
- package/ChartZoomSlider/internals/ChartAxisZoomSliderPreview.js +2 -2
- package/ChartZoomSlider/internals/ChartAxisZoomSliderPreviewContent.d.ts +1 -1
- package/ChartZoomSlider/internals/ChartAxisZoomSliderPreviewContent.js +1 -1
- package/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.d.ts +1 -1
- package/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.js +3 -3
- package/ChartZoomSlider/internals/ChartsTooltipZoomSliderValue.d.ts +1 -1
- package/ChartZoomSlider/internals/previews/AreaPreviewPlot.d.ts +2 -2
- package/ChartZoomSlider/internals/previews/AreaPreviewPlot.js +2 -2
- package/ChartZoomSlider/internals/previews/BarPreviewPlot.d.ts +1 -1
- package/ChartZoomSlider/internals/previews/BarPreviewPlot.js +2 -2
- package/ChartZoomSlider/internals/previews/LinePreviewPlot.d.ts +2 -2
- package/ChartZoomSlider/internals/previews/LinePreviewPlot.js +2 -2
- package/ChartZoomSlider/internals/previews/PreviewPlot.types.d.ts +1 -1
- package/ChartZoomSlider/internals/previews/ScatterPreviewPlot.d.ts +1 -1
- package/ChartZoomSlider/internals/previews/ScatterPreviewPlot.js +2 -2
- package/ChartZoomSlider/internals/zoom-utils.d.ts +2 -2
- package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarPro.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarPro.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.ts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.ts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.js +1 -1
- package/ChartsToolbarPro/Toolbar.types.d.ts +2 -2
- package/ChartsToolbarPro/internals/ChartsMenu.d.ts +1 -1
- package/ChartsToolbarPro/internals/ChartsToolbarDivider.d.ts +1 -1
- package/FunnelChart/FunnelChart.d.ts +9 -9
- package/FunnelChart/FunnelChart.plugins.d.ts +4 -4
- package/FunnelChart/FunnelChart.plugins.js +1 -1
- package/FunnelChart/FunnelPlot.d.ts +2 -2
- package/FunnelChart/FunnelPlot.js +3 -3
- package/FunnelChart/FunnelSection.d.ts +2 -2
- package/FunnelChart/FunnelSectionLabel.d.ts +2 -2
- package/FunnelChart/categoryAxis.types.d.ts +2 -2
- package/FunnelChart/coordinateMapper.d.ts +2 -2
- package/FunnelChart/curves/borderRadiusPolygon.d.ts +1 -1
- package/FunnelChart/curves/bump.d.ts +1 -1
- package/FunnelChart/curves/curve.types.d.ts +1 -1
- package/FunnelChart/curves/getFunnelCurve.d.ts +1 -1
- package/FunnelChart/curves/linear.d.ts +1 -1
- package/FunnelChart/curves/pyramid.d.ts +1 -1
- package/FunnelChart/curves/step-pyramid.d.ts +1 -1
- package/FunnelChart/curves/step.d.ts +1 -1
- package/FunnelChart/funnel.types.d.ts +5 -5
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +4 -4
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.d.ts +2 -2
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.js +2 -2
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.ts +1 -1
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +2 -2
- package/FunnelChart/funnelPlotSlots.types.d.ts +2 -2
- package/FunnelChart/funnelSlots.types.d.ts +6 -6
- package/FunnelChart/labelUtils.d.ts +2 -2
- package/FunnelChart/seriesConfig/extremums.d.ts +1 -1
- package/FunnelChart/seriesConfig/getColor.d.ts +1 -1
- package/FunnelChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/FunnelChart/seriesConfig/legend.d.ts +1 -1
- package/FunnelChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/FunnelChart/seriesConfig/tooltip.d.ts +1 -1
- package/FunnelChart/seriesConfig/tooltipPosition.d.ts +1 -1
- package/FunnelChart/useFunnelChartProps.d.ts +7 -7
- package/Heatmap/Heatmap.d.ts +13 -13
- package/Heatmap/Heatmap.js +10 -0
- package/Heatmap/Heatmap.plugins.d.ts +3 -3
- package/Heatmap/Heatmap.plugins.js +1 -1
- package/Heatmap/HeatmapItem.d.ts +2 -2
- package/Heatmap/HeatmapPlot.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.ts +1 -1
- package/Heatmap/seriesConfig/extremums.d.ts +1 -1
- package/Heatmap/seriesConfig/getColor.d.ts +1 -1
- package/Heatmap/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/Heatmap/seriesConfig/index.d.ts +1 -1
- package/Heatmap/seriesConfig/seriesProcessor.d.ts +1 -1
- package/Heatmap/seriesConfig/tooltip.d.ts +1 -1
- package/Heatmap/seriesConfig/tooltipPosition.d.ts +1 -1
- package/LineChartPro/LineChartPro.d.ts +5 -5
- package/LineChartPro/LineChartPro.js +20 -0
- package/LineChartPro/LineChartPro.plugins.d.ts +4 -4
- package/LineChartPro/LineChartPro.plugins.js +1 -1
- package/PieChartPro/PieChartPro.d.ts +5 -5
- package/PieChartPro/PieChartPro.plugins.d.ts +3 -3
- package/RadarChartPro/RadarChartPro.d.ts +4 -4
- package/RadarChartPro/RadarChartPro.plugins.d.ts +3 -3
- package/RadarChartPro/RadarChartPro.plugins.js +1 -1
- package/SankeyChart/SankeyChart.d.ts +1 -1
- package/SankeyChart/SankeyChart.plugins.d.ts +3 -3
- package/SankeyChart/SankeyChart.plugins.js +1 -1
- package/SankeyChart/SankeyLinkElement.js +2 -2
- package/SankeyChart/SankeyLinkLabel.d.ts +1 -1
- package/SankeyChart/SankeyNodeElement.d.ts +0 -4
- package/SankeyChart/SankeyNodeElement.js +5 -24
- package/SankeyChart/SankeyNodeLabel.d.ts +12 -0
- package/SankeyChart/SankeyNodeLabel.js +61 -0
- package/SankeyChart/SankeyPlot.js +10 -7
- package/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +1 -1
- package/SankeyChart/calculateSankeyLayout.d.ts +2 -2
- package/SankeyChart/calculateSankeyLayout.js +12 -33
- package/SankeyChart/d3Sankey/align.d.ts +4 -4
- package/SankeyChart/d3Sankey/sankey.d.ts +3 -3
- package/SankeyChart/d3Sankey/sankey.js +4 -1
- package/SankeyChart/d3Sankey/sankey.types.d.ts +76 -39
- package/SankeyChart/d3Sankey/sankeyLinkHorizontal.d.ts +2 -2
- package/SankeyChart/plugins/useSankeyHighlight.d.ts +1 -1
- package/SankeyChart/plugins/useSankeyHighlight.js +1 -1
- package/SankeyChart/plugins/useSankeyHighlight.selectors.d.ts +2 -2
- package/SankeyChart/plugins/useSankeyHighlight.types.d.ts +3 -3
- package/SankeyChart/sankey.types.d.ts +32 -24
- package/SankeyChart/sankeyClasses.d.ts +3 -1
- package/SankeyChart/sankeyClasses.js +2 -1
- package/SankeyChart/sankeySlots.types.d.ts +4 -4
- package/SankeyChart/seriesConfig/getSeriesWithDefaultValues.js +63 -14
- package/SankeyChart/seriesConfig/tooltipGetter.js +5 -2
- package/SankeyChart/utils.d.ts +1 -1
- package/ScatterChartPro/ScatterChartPro.d.ts +6 -6
- package/ScatterChartPro/ScatterChartPro.js +20 -0
- package/ScatterChartPro/ScatterChartPro.plugins.d.ts +4 -4
- package/ScatterChartPro/ScatterChartPro.plugins.js +1 -1
- package/context/ChartProApi.d.ts +10 -10
- package/context/useChartProApiContext.d.ts +1 -1
- package/esm/BarChartPro/BarChartPro.d.ts +5 -5
- package/esm/BarChartPro/BarChartPro.js +20 -0
- package/esm/BarChartPro/BarChartPro.plugins.d.ts +4 -4
- package/esm/BarChartPro/BarChartPro.plugins.js +2 -2
- package/esm/ChartContainerPro/ChartContainerPro.d.ts +4 -4
- package/esm/ChartContainerPro/useChartContainerProProps.d.ts +4 -4
- package/esm/ChartDataProviderPro/ChartDataProviderPro.d.ts +4 -4
- package/esm/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/esm/ChartDataProviderPro/useChartDataProviderProProps.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSlider.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSlider.js +3 -3
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.js +10 -10
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderPreview.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderPreview.js +3 -3
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderPreviewContent.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderPreviewContent.js +2 -2
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.js +3 -3
- package/esm/ChartZoomSlider/internals/ChartsTooltipZoomSliderValue.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/previews/AreaPreviewPlot.d.ts +2 -2
- package/esm/ChartZoomSlider/internals/previews/AreaPreviewPlot.js +3 -3
- package/esm/ChartZoomSlider/internals/previews/BarPreviewPlot.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/previews/BarPreviewPlot.js +3 -3
- package/esm/ChartZoomSlider/internals/previews/LinePreviewPlot.d.ts +2 -2
- package/esm/ChartZoomSlider/internals/previews/LinePreviewPlot.js +3 -3
- package/esm/ChartZoomSlider/internals/previews/PreviewPlot.types.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/previews/ScatterPreviewPlot.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/previews/ScatterPreviewPlot.js +3 -3
- package/esm/ChartZoomSlider/internals/zoom-utils.d.ts +2 -2
- package/esm/ChartsToolbarPro/ChartsToolbarImageExportTrigger.d.ts +3 -3
- package/esm/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.ts +3 -3
- package/esm/ChartsToolbarPro/ChartsToolbarPro.d.ts +3 -3
- package/esm/ChartsToolbarPro/ChartsToolbarPro.js +2 -2
- package/esm/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.ts +2 -2
- package/esm/ChartsToolbarPro/ChartsToolbarZoomInTrigger.js +2 -2
- package/esm/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.ts +2 -2
- package/esm/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.js +2 -2
- package/esm/ChartsToolbarPro/Toolbar.types.d.ts +2 -2
- package/esm/ChartsToolbarPro/internals/ChartsMenu.d.ts +1 -1
- package/esm/ChartsToolbarPro/internals/ChartsToolbarDivider.d.ts +1 -1
- package/esm/FunnelChart/FunnelChart.d.ts +9 -9
- package/esm/FunnelChart/FunnelChart.plugins.d.ts +4 -4
- package/esm/FunnelChart/FunnelChart.plugins.js +2 -2
- package/esm/FunnelChart/FunnelPlot.d.ts +2 -2
- package/esm/FunnelChart/FunnelPlot.js +4 -4
- package/esm/FunnelChart/FunnelSection.d.ts +2 -2
- package/esm/FunnelChart/FunnelSectionLabel.d.ts +2 -2
- package/esm/FunnelChart/categoryAxis.types.d.ts +2 -2
- package/esm/FunnelChart/coordinateMapper.d.ts +2 -2
- package/esm/FunnelChart/curves/borderRadiusPolygon.d.ts +1 -1
- package/esm/FunnelChart/curves/bump.d.ts +1 -1
- package/esm/FunnelChart/curves/curve.types.d.ts +1 -1
- package/esm/FunnelChart/curves/getFunnelCurve.d.ts +1 -1
- package/esm/FunnelChart/curves/linear.d.ts +1 -1
- package/esm/FunnelChart/curves/pyramid.d.ts +1 -1
- package/esm/FunnelChart/curves/step-pyramid.d.ts +1 -1
- package/esm/FunnelChart/curves/step.d.ts +1 -1
- package/esm/FunnelChart/funnel.types.d.ts +5 -5
- package/esm/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +4 -4
- package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.d.ts +2 -2
- package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.js +3 -3
- package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.ts +1 -1
- package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +2 -2
- package/esm/FunnelChart/funnelPlotSlots.types.d.ts +2 -2
- package/esm/FunnelChart/funnelSlots.types.d.ts +6 -6
- package/esm/FunnelChart/labelUtils.d.ts +2 -2
- package/esm/FunnelChart/seriesConfig/extremums.d.ts +1 -1
- package/esm/FunnelChart/seriesConfig/getColor.d.ts +1 -1
- package/esm/FunnelChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/esm/FunnelChart/seriesConfig/legend.d.ts +1 -1
- package/esm/FunnelChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/esm/FunnelChart/seriesConfig/tooltip.d.ts +1 -1
- package/esm/FunnelChart/seriesConfig/tooltipPosition.d.ts +1 -1
- package/esm/FunnelChart/useFunnelChartProps.d.ts +7 -7
- package/esm/Heatmap/Heatmap.d.ts +13 -13
- package/esm/Heatmap/Heatmap.js +10 -0
- package/esm/Heatmap/Heatmap.plugins.d.ts +3 -3
- package/esm/Heatmap/Heatmap.plugins.js +2 -2
- package/esm/Heatmap/HeatmapItem.d.ts +2 -2
- package/esm/Heatmap/HeatmapPlot.d.ts +1 -1
- package/esm/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.ts +1 -1
- package/esm/Heatmap/HeatmapTooltip/HeatmapTooltip.d.ts +1 -1
- package/esm/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +1 -1
- package/esm/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.ts +1 -1
- package/esm/Heatmap/seriesConfig/extremums.d.ts +1 -1
- package/esm/Heatmap/seriesConfig/getColor.d.ts +1 -1
- package/esm/Heatmap/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/esm/Heatmap/seriesConfig/index.d.ts +1 -1
- package/esm/Heatmap/seriesConfig/seriesProcessor.d.ts +1 -1
- package/esm/Heatmap/seriesConfig/tooltip.d.ts +1 -1
- package/esm/Heatmap/seriesConfig/tooltipPosition.d.ts +1 -1
- package/esm/LineChartPro/LineChartPro.d.ts +5 -5
- package/esm/LineChartPro/LineChartPro.js +20 -0
- package/esm/LineChartPro/LineChartPro.plugins.d.ts +4 -4
- package/esm/LineChartPro/LineChartPro.plugins.js +2 -2
- package/esm/PieChartPro/PieChartPro.d.ts +5 -5
- package/esm/PieChartPro/PieChartPro.plugins.d.ts +3 -3
- package/esm/RadarChartPro/RadarChartPro.d.ts +4 -4
- package/esm/RadarChartPro/RadarChartPro.plugins.d.ts +3 -3
- package/esm/RadarChartPro/RadarChartPro.plugins.js +2 -2
- package/esm/SankeyChart/SankeyChart.d.ts +1 -1
- package/esm/SankeyChart/SankeyChart.plugins.d.ts +3 -3
- package/esm/SankeyChart/SankeyChart.plugins.js +2 -2
- package/esm/SankeyChart/SankeyLinkElement.js +3 -3
- package/esm/SankeyChart/SankeyLinkLabel.d.ts +1 -1
- package/esm/SankeyChart/SankeyNodeElement.d.ts +0 -4
- package/esm/SankeyChart/SankeyNodeElement.js +7 -26
- package/esm/SankeyChart/SankeyNodeLabel.d.ts +12 -0
- package/esm/SankeyChart/SankeyNodeLabel.js +55 -0
- package/esm/SankeyChart/SankeyPlot.js +10 -7
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -1
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +1 -1
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +1 -1
- package/esm/SankeyChart/calculateSankeyLayout.d.ts +2 -2
- package/esm/SankeyChart/calculateSankeyLayout.js +12 -33
- package/esm/SankeyChart/d3Sankey/align.d.ts +4 -4
- package/esm/SankeyChart/d3Sankey/sankey.d.ts +3 -3
- package/esm/SankeyChart/d3Sankey/sankey.js +4 -1
- package/esm/SankeyChart/d3Sankey/sankey.types.d.ts +76 -39
- package/esm/SankeyChart/d3Sankey/sankeyLinkHorizontal.d.ts +2 -2
- package/esm/SankeyChart/plugins/useSankeyHighlight.d.ts +1 -1
- package/esm/SankeyChart/plugins/useSankeyHighlight.js +1 -1
- package/esm/SankeyChart/plugins/useSankeyHighlight.selectors.d.ts +2 -2
- package/esm/SankeyChart/plugins/useSankeyHighlight.types.d.ts +3 -3
- package/esm/SankeyChart/sankey.types.d.ts +32 -24
- package/esm/SankeyChart/sankeyClasses.d.ts +3 -1
- package/esm/SankeyChart/sankeyClasses.js +2 -1
- package/esm/SankeyChart/sankeySlots.types.d.ts +4 -4
- package/esm/SankeyChart/seriesConfig/getSeriesWithDefaultValues.js +63 -14
- package/esm/SankeyChart/seriesConfig/tooltipGetter.js +5 -2
- package/esm/SankeyChart/utils.d.ts +1 -1
- package/esm/ScatterChartPro/ScatterChartPro.d.ts +6 -6
- package/esm/ScatterChartPro/ScatterChartPro.js +20 -0
- package/esm/ScatterChartPro/ScatterChartPro.plugins.d.ts +4 -4
- package/esm/ScatterChartPro/ScatterChartPro.plugins.js +2 -2
- package/esm/context/ChartProApi.d.ts +10 -10
- package/esm/context/useChartProApiContext.d.ts +1 -1
- package/esm/hooks/useChartProApiRef.d.ts +3 -3
- package/esm/hooks/useFunnelSeries.d.ts +1 -1
- package/esm/hooks/useHeatmapSeries.d.ts +1 -1
- package/esm/hooks/useSankeySeries.d.ts +2 -2
- package/esm/hooks/useSankeySeries.js +3 -2
- package/esm/hooks/zoom/useIsZoomInteracting.js +2 -2
- package/esm/index.js +1 -1
- package/esm/internals/index.d.ts +2 -0
- package/esm/internals/index.js +1 -0
- package/esm/internals/material/components/BaseMenuItem.d.ts +1 -1
- package/esm/internals/material/components/BasePopper.d.ts +1 -1
- package/esm/internals/material/index.d.ts +3 -3
- package/esm/internals/plugins/allPlugins.d.ts +7 -7
- package/esm/internals/plugins/allPlugins.js +3 -3
- package/esm/internals/plugins/useChartProExport/exportImage.d.ts +1 -1
- package/esm/internals/plugins/useChartProExport/print.d.ts +1 -1
- package/esm/internals/plugins/useChartProExport/useChartProExport.d.ts +2 -2
- package/esm/internals/plugins/useChartProExport/useChartProExport.types.d.ts +1 -1
- package/esm/internals/plugins/useChartProZoom/calculateZoom.d.ts +1 -1
- package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +2 -2
- package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.js +4 -4
- package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +2 -2
- package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.js +4 -4
- package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +2 -2
- package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.js +4 -4
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoom.utils.d.ts +1 -1
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +2 -2
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.js +4 -4
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +2 -2
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.js +3 -3
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +2 -2
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.js +4 -4
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +2 -2
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.js +4 -4
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +2 -2
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.js +4 -4
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.d.ts +2 -2
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.js +3 -3
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +2 -2
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.types.d.ts +2 -2
- package/esm/internals/slots/chartBaseSlotProps.d.ts +1 -1
- package/esm/internals/slots/chartsBaseSlots.d.ts +3 -3
- package/esm/internals/slots/chartsIconSlots.d.ts +2 -2
- package/esm/models/seriesType/heatmap.d.ts +2 -2
- package/esm/themeAugmentation/components.d.ts +1 -1
- package/esm/themeAugmentation/overrides.d.ts +1 -1
- package/esm/themeAugmentation/props.d.ts +4 -4
- package/esm/typeOverloads/modules.d.ts +7 -7
- package/hooks/useChartProApiRef.d.ts +3 -3
- package/hooks/useFunnelSeries.d.ts +1 -1
- package/hooks/useHeatmapSeries.d.ts +1 -1
- package/hooks/useSankeySeries.d.ts +2 -2
- package/hooks/useSankeySeries.js +2 -1
- package/hooks/zoom/useIsZoomInteracting.js +1 -1
- package/index.js +1 -1
- package/internals/index.d.ts +2 -0
- package/internals/index.js +12 -0
- package/internals/material/components/BaseMenuItem.d.ts +1 -1
- package/internals/material/components/BasePopper.d.ts +1 -1
- package/internals/material/index.d.ts +3 -3
- package/internals/plugins/allPlugins.d.ts +7 -7
- package/internals/plugins/allPlugins.js +2 -2
- package/internals/plugins/useChartProExport/exportImage.d.ts +1 -1
- package/internals/plugins/useChartProExport/print.d.ts +1 -1
- package/internals/plugins/useChartProExport/useChartProExport.d.ts +2 -2
- package/internals/plugins/useChartProExport/useChartProExport.types.d.ts +1 -1
- package/internals/plugins/useChartProZoom/calculateZoom.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.js +3 -3
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.js +3 -3
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.js +3 -3
- package/internals/plugins/useChartProZoom/gestureHooks/useZoom.utils.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.js +3 -3
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.js +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.js +3 -3
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.js +3 -3
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.js +3 -3
- package/internals/plugins/useChartProZoom/useChartProZoom.d.ts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.js +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.types.d.ts +2 -2
- package/internals/slots/chartBaseSlotProps.d.ts +1 -1
- package/internals/slots/chartsBaseSlots.d.ts +3 -3
- package/internals/slots/chartsIconSlots.d.ts +2 -2
- package/models/seriesType/heatmap.d.ts +2 -2
- package/package.json +5 -5
- package/themeAugmentation/components.d.ts +1 -1
- package/themeAugmentation/overrides.d.ts +1 -1
- package/themeAugmentation/props.d.ts +4 -4
- package/typeOverloads/modules.d.ts +7 -7
|
@@ -19,8 +19,8 @@ function ScatterPreviewPlot({
|
|
|
19
19
|
}) {
|
|
20
20
|
const store = (0, _internals.useStore)();
|
|
21
21
|
const seriesData = (0, _hooks.useScatterSeriesContext)();
|
|
22
|
-
const xAxes =
|
|
23
|
-
const yAxes =
|
|
22
|
+
const xAxes = store.use(_internals.selectorChartPreviewComputedXAxis, axisId);
|
|
23
|
+
const yAxes = store.use(_internals.selectorChartPreviewComputedYAxis, axisId);
|
|
24
24
|
const defaultXAxisId = (0, _hooks.useXAxes)().xAxisIds[0];
|
|
25
25
|
const defaultYAxisId = (0, _hooks.useYAxes)().yAxisIds[0];
|
|
26
26
|
const {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AxisId, ChartState, DefaultedXAxis, DefaultedYAxis, DefaultizedZoomOptions, ZoomData } from '@mui/x-charts/internals';
|
|
2
|
-
import { ChartDrawingArea } from '@mui/x-charts/hooks';
|
|
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';
|
|
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,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
-
import { ChartImageExportOptions } from "../internals/plugins/useChartProExport/index.js";
|
|
4
|
-
import { ChartsSlotPropsPro } from "../internals/material/index.js";
|
|
2
|
+
import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
+
import { type ChartImageExportOptions } from "../internals/plugins/useChartProExport/index.js";
|
|
4
|
+
import { type ChartsSlotPropsPro } from "../internals/material/index.js";
|
|
5
5
|
export interface ChartsToolbarImageExportOptions extends Omit<ChartImageExportOptions, 'type'>, Required<Pick<ChartImageExportOptions, 'type'>> {}
|
|
6
6
|
export type ChartsToolbarImageExportTriggerProps = ChartsSlotPropsPro['baseButton'] & {
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
-
import { ChartPrintExportOptions } from "../internals/plugins/useChartProExport/index.js";
|
|
4
|
-
import { 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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChartsToolbarProps } from '@mui/x-charts/Toolbar';
|
|
2
|
-
import { ChartsToolbarPrintExportOptions } from "./ChartsToolbarPrintExportTrigger.js";
|
|
3
|
-
import { ChartsToolbarImageExportOptions } from "./ChartsToolbarImageExportTrigger.js";
|
|
1
|
+
import { type ChartsToolbarProps } from '@mui/x-charts/Toolbar';
|
|
2
|
+
import { type ChartsToolbarPrintExportOptions } from "./ChartsToolbarPrintExportTrigger.js";
|
|
3
|
+
import { type ChartsToolbarImageExportOptions } from "./ChartsToolbarImageExportTrigger.js";
|
|
4
4
|
export interface ChartsToolbarProProps extends ChartsToolbarProps {
|
|
5
5
|
printOptions?: ChartsToolbarPrintExportOptions;
|
|
6
6
|
imageExportOptions?: ChartsToolbarImageExportOptions[];
|
|
@@ -51,7 +51,7 @@ function ChartsToolbarPro(_ref) {
|
|
|
51
51
|
const exportMenuTriggerRef = React.useRef(null);
|
|
52
52
|
const exportMenuId = (0, _useId.default)();
|
|
53
53
|
const exportMenuTriggerId = (0, _useId.default)();
|
|
54
|
-
const isZoomEnabled =
|
|
54
|
+
const isZoomEnabled = store.use(_useChartProZoom.selectorChartZoomIsEnabled);
|
|
55
55
|
const imageExportOptionList = rawImageExportOptions ?? DEFAULT_IMAGE_EXPORT_OPTIONS;
|
|
56
56
|
const showExportMenu = !printOptions?.disableToolbarButton || imageExportOptionList.length > 0;
|
|
57
57
|
const children = [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ChartsSlotProps } from '@mui/x-charts/internals';
|
|
3
|
-
import { 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.
|
|
@@ -33,7 +33,7 @@ const ChartsToolbarZoomInTrigger = exports.ChartsToolbarZoomInTrigger = /*#__PUR
|
|
|
33
33
|
instance,
|
|
34
34
|
store
|
|
35
35
|
} = (0, _internals.useChartContext)();
|
|
36
|
-
const disabled =
|
|
36
|
+
const disabled = store.use(_useChartProZoom.selectorChartCanZoomIn);
|
|
37
37
|
const element = (0, _useComponentRenderer.useComponentRenderer)(slots.baseButton, render, (0, _extends2.default)({}, slotProps.baseButton, {
|
|
38
38
|
onClick: () => instance.zoomIn(),
|
|
39
39
|
disabled
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ChartsSlotProps } from '@mui/x-charts/internals';
|
|
3
|
-
import { 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.
|
|
@@ -33,7 +33,7 @@ const ChartsToolbarZoomOutTrigger = exports.ChartsToolbarZoomOutTrigger = /*#__P
|
|
|
33
33
|
instance,
|
|
34
34
|
store
|
|
35
35
|
} = (0, _internals.useChartContext)();
|
|
36
|
-
const disabled =
|
|
36
|
+
const disabled = store.use(_useChartProZoom.selectorChartCanZoomOut);
|
|
37
37
|
const element = (0, _useComponentRenderer.useComponentRenderer)(slots.baseButton, render, (0, _extends2.default)({}, slotProps.baseButton, {
|
|
38
38
|
onClick: () => instance.zoomOut(),
|
|
39
39
|
disabled
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ChartsToolbarProProps } from "./ChartsToolbarPro.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type ChartsToolbarProProps } from "./ChartsToolbarPro.js";
|
|
3
3
|
export interface ChartsToolbarProSlots {
|
|
4
4
|
/**
|
|
5
5
|
* Custom component for the toolbar.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ChartBasePopperProps, Placement } from "../../internals/slots/chartBaseSlotProps.js";
|
|
2
|
+
import { type ChartBasePopperProps, type 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 { 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,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
|
|
3
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
4
|
-
import { ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight';
|
|
5
|
-
import { FunnelPlotProps } from "./FunnelPlot.js";
|
|
6
|
-
import { FunnelSeriesType } from "./funnel.types.js";
|
|
7
|
-
import { ChartContainerProProps } from "../ChartContainerPro/index.js";
|
|
8
|
-
import { FunnelChartSlotExtension } from "./funnelSlots.types.js";
|
|
9
|
-
import { CategoryAxis } from "./categoryAxis.types.js";
|
|
10
|
-
import { 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 ChartContainerProProps } from "../ChartContainerPro/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<ChartContainerProProps<'funnel', FunnelChartPluginSignatures>, 'series' | 'plugins' | 'zAxis' | 'zoom' | 'onZoomChange' | 'dataset' | 'yAxis' | 'xAxis' | 'rotationAxis' | 'radiusAxis' | 'slots' | 'slotProps' | 'experimentalFeatures'>, Omit<FunnelPlotProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'>, FunnelChartSlotExtension {
|
|
13
13
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConvertSignaturesIntoPlugins, UseChartHighlightSignature, UseChartInteractionSignature } from '@mui/x-charts/internals';
|
|
2
|
-
import { UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
|
|
3
|
-
import { UseChartFunnelAxisSignature } from "./funnelAxisPlugin/useChartFunnelAxis.types.js";
|
|
4
|
-
export type FunnelChartPluginSignatures = [UseChartFunnelAxisSignature, UseChartInteractionSignature, UseChartHighlightSignature, UseChartProExportSignature];
|
|
1
|
+
import { type ConvertSignaturesIntoPlugins, type UseChartHighlightSignature, type UseChartTooltipSignature, type UseChartInteractionSignature } from '@mui/x-charts/internals';
|
|
2
|
+
import { type UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
|
|
3
|
+
import { type UseChartFunnelAxisSignature } from "./funnelAxisPlugin/useChartFunnelAxis.types.js";
|
|
4
|
+
export type FunnelChartPluginSignatures = [UseChartFunnelAxisSignature, UseChartTooltipSignature, UseChartInteractionSignature, UseChartHighlightSignature, UseChartProExportSignature];
|
|
5
5
|
export declare const FUNNEL_CHART_PLUGINS: ConvertSignaturesIntoPlugins<FunnelChartPluginSignatures>;
|
|
@@ -7,4 +7,4 @@ exports.FUNNEL_CHART_PLUGINS = void 0;
|
|
|
7
7
|
var _internals = require("@mui/x-charts/internals");
|
|
8
8
|
var _useChartProExport = require("../internals/plugins/useChartProExport");
|
|
9
9
|
var _useChartFunnelAxis = require("./funnelAxisPlugin/useChartFunnelAxis");
|
|
10
|
-
const FUNNEL_CHART_PLUGINS = exports.FUNNEL_CHART_PLUGINS = [_useChartFunnelAxis.useChartFunnelAxis, _internals.useChartInteraction, _internals.useChartHighlight, _useChartProExport.useChartProExport];
|
|
10
|
+
const FUNNEL_CHART_PLUGINS = exports.FUNNEL_CHART_PLUGINS = [_useChartFunnelAxis.useChartFunnelAxis, _internals.useChartTooltip, _internals.useChartInteraction, _internals.useChartHighlight, _useChartProExport.useChartProExport];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FunnelItemIdentifier } from "./funnel.types.js";
|
|
3
|
-
import { FunnelPlotSlotExtension } from "./funnelPlotSlots.types.js";
|
|
2
|
+
import { type FunnelItemIdentifier } from "./funnel.types.js";
|
|
3
|
+
import { type FunnelPlotSlotExtension } from "./funnelPlotSlots.types.js";
|
|
4
4
|
export interface FunnelPlotProps extends FunnelPlotSlotExtension {
|
|
5
5
|
/**
|
|
6
6
|
* Callback fired when a funnel item is clicked.
|
|
@@ -29,12 +29,12 @@ const useAggregatedData = () => {
|
|
|
29
29
|
const {
|
|
30
30
|
axis: xAxis,
|
|
31
31
|
axisIds: xAxisIds
|
|
32
|
-
} =
|
|
32
|
+
} = store.use(_useChartFunnelAxisRendering.selectorChartXAxis);
|
|
33
33
|
const {
|
|
34
34
|
axis: yAxis,
|
|
35
35
|
axisIds: yAxisIds
|
|
36
|
-
} =
|
|
37
|
-
const gap =
|
|
36
|
+
} = store.use(_useChartFunnelAxisRendering.selectorChartYAxis);
|
|
37
|
+
const gap = store.use(_useChartFunnelAxisRendering.selectorFunnelGap);
|
|
38
38
|
const allData = React.useMemo(() => {
|
|
39
39
|
if (seriesData === undefined) {
|
|
40
40
|
return [];
|
|
@@ -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 { 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,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>;
|
|
@@ -32,8 +32,8 @@ const useChartFunnelAxis = ({
|
|
|
32
32
|
(0, _warning.warnOnce)([`MUI X Charts: The following axis ids are duplicated: ${Array.from(duplicates).join(', ')}.`, `Please make sure that each axis has a unique id.`].join('\n'), 'error');
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
const drawingArea =
|
|
36
|
-
const isInteractionEnabled =
|
|
35
|
+
const drawingArea = store.use(_internals.selectorChartDrawingArea);
|
|
36
|
+
const isInteractionEnabled = store.use(_internals.selectorChartsInteractionIsInitialized);
|
|
37
37
|
const isFirstRender = React.useRef(true);
|
|
38
38
|
React.useEffect(() => {
|
|
39
39
|
if (isFirstRender.current) {
|
|
@@ -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,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.
|
package/Heatmap/Heatmap.d.ts
CHANGED
|
@@ -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.
|
package/Heatmap/Heatmap.js
CHANGED
|
@@ -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];
|
package/Heatmap/HeatmapItem.d.ts
CHANGED
|
@@ -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.
|
package/Heatmap/HeatmapPlot.d.ts
CHANGED
|
@@ -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;
|