@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.
- package/BarChartPro/BarChartPro.d.mts +5 -5
- package/BarChartPro/BarChartPro.d.ts +5 -5
- package/BarChartPro/BarChartPro.js +5 -3
- package/BarChartPro/BarChartPro.mjs +5 -3
- package/BarChartPro/BarChartPro.plugins.d.mts +3 -3
- package/BarChartPro/BarChartPro.plugins.d.ts +3 -3
- package/CHANGELOG.md +261 -0
- package/ChartZoomSlider/index.d.mts +2 -1
- package/ChartZoomSlider/index.d.ts +2 -1
- package/ChartZoomSlider/index.mjs +0 -1
- package/ChartsContainerPro/ChartsContainerPro.d.mts +4 -4
- package/ChartsContainerPro/ChartsContainerPro.d.ts +4 -4
- package/ChartsContainerPro/useChartsContainerProProps.d.mts +2 -2
- package/ChartsContainerPro/useChartsContainerProProps.d.ts +2 -2
- package/ChartsDataProviderPro/ChartsDataProviderPro.d.mts +4 -4
- package/ChartsDataProviderPro/ChartsDataProviderPro.d.ts +4 -4
- package/ChartsDataProviderPro/ChartsDataProviderPro.js +7 -3
- package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +7 -3
- package/ChartsDataProviderPro/useChartsDataProviderProProps.d.mts +1 -1
- package/ChartsDataProviderPro/useChartsDataProviderProProps.d.ts +1 -1
- package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.d.mts +3 -3
- package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.mjs +1 -1
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.mts +3 -3
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.mjs +1 -1
- package/ChartsToolbarPro/ChartsToolbarPro.d.mts +5 -5
- package/ChartsToolbarPro/ChartsToolbarPro.d.ts +5 -5
- package/ChartsToolbarPro/ChartsToolbarPro.js +3 -2
- package/ChartsToolbarPro/ChartsToolbarPro.mjs +3 -2
- package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.d.mts +3 -3
- package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.mjs +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.mts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.ts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.mjs +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.mts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.ts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.mjs +1 -1
- package/ChartsToolbarPro/Toolbar.types.d.mts +1 -1
- package/ChartsToolbarPro/Toolbar.types.d.ts +1 -1
- package/ChartsToolbarPro/internals/ChartsMenu.d.mts +1 -1
- package/ChartsToolbarPro/internals/ChartsMenu.d.ts +1 -1
- package/ChartsToolbarPro/internals/ChartsToolbarDivider.d.mts +1 -1
- package/ChartsToolbarPro/internals/ChartsToolbarDivider.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSlider.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSlider.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderActiveTrack.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderActiveTrack.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreview.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreview.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreviewContent.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreviewContent.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderTrack.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderTrack.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsTooltipZoomSliderValue.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsTooltipZoomSliderValue.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/AreaPreviewPlot.d.mts +2 -2
- package/ChartsZoomSlider/internals/previews/AreaPreviewPlot.d.ts +2 -2
- package/ChartsZoomSlider/internals/previews/BarPreviewPlot.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/BarPreviewPlot.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/BarPreviewPlot.mjs +1 -2
- package/ChartsZoomSlider/internals/previews/LineAreaPreviewPlot.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/LineAreaPreviewPlot.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/LinePreviewPlot.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/LinePreviewPlot.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/PreviewPlot.types.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/PreviewPlot.types.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/ScatterPreviewPlot.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/ScatterPreviewPlot.d.ts +1 -1
- package/ChartsZoomSlider/internals/seriesPreviewPlotMap.d.mts +1 -1
- package/ChartsZoomSlider/internals/seriesPreviewPlotMap.d.ts +1 -1
- package/ChartsZoomSlider/internals/zoom-utils.d.mts +2 -2
- package/ChartsZoomSlider/internals/zoom-utils.d.ts +2 -2
- package/FunnelChart/FunnelChart.d.mts +9 -9
- package/FunnelChart/FunnelChart.d.ts +9 -9
- package/FunnelChart/FunnelChart.js +1 -1
- package/FunnelChart/FunnelChart.mjs +1 -1
- package/FunnelChart/FunnelChart.plugins.d.mts +3 -3
- package/FunnelChart/FunnelChart.plugins.d.ts +3 -3
- package/FunnelChart/FunnelPlot.d.mts +2 -2
- package/FunnelChart/FunnelPlot.d.ts +2 -2
- package/FunnelChart/FunnelPlot.js +5 -1
- package/FunnelChart/FunnelPlot.mjs +5 -1
- package/FunnelChart/FunnelSection.d.mts +2 -2
- package/FunnelChart/FunnelSection.d.ts +2 -2
- package/FunnelChart/FunnelSectionLabel.d.mts +2 -2
- package/FunnelChart/FunnelSectionLabel.d.ts +2 -2
- package/FunnelChart/categoryAxis.types.d.mts +2 -2
- package/FunnelChart/categoryAxis.types.d.ts +2 -2
- package/FunnelChart/coordinateMapper.d.mts +2 -2
- package/FunnelChart/coordinateMapper.d.ts +2 -2
- package/FunnelChart/curves/borderRadiusPolygon.d.mts +1 -1
- package/FunnelChart/curves/borderRadiusPolygon.d.ts +1 -1
- package/FunnelChart/curves/bump.d.mts +1 -1
- package/FunnelChart/curves/bump.d.ts +1 -1
- package/FunnelChart/curves/curve.types.d.mts +1 -1
- package/FunnelChart/curves/curve.types.d.ts +1 -1
- package/FunnelChart/curves/getFunnelCurve.d.mts +1 -1
- package/FunnelChart/curves/getFunnelCurve.d.ts +1 -1
- package/FunnelChart/curves/linear.d.mts +1 -1
- package/FunnelChart/curves/linear.d.ts +1 -1
- package/FunnelChart/curves/pyramid.d.mts +1 -1
- package/FunnelChart/curves/pyramid.d.ts +1 -1
- package/FunnelChart/curves/step-pyramid.d.mts +1 -1
- package/FunnelChart/curves/step-pyramid.d.ts +1 -1
- package/FunnelChart/curves/step.d.mts +1 -1
- package/FunnelChart/curves/step.d.ts +1 -1
- package/FunnelChart/funnel.types.d.mts +5 -5
- package/FunnelChart/funnel.types.d.ts +5 -5
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.mts +4 -4
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +4 -4
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.d.mts +2 -2
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.d.ts +2 -2
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.mts +1 -1
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.ts +1 -1
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.mts +2 -2
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +2 -2
- package/FunnelChart/funnelClasses.d.mts +1 -1
- package/FunnelChart/funnelClasses.d.ts +1 -1
- package/FunnelChart/funnelPlotSlots.types.d.mts +1 -1
- package/FunnelChart/funnelPlotSlots.types.d.ts +1 -1
- package/FunnelChart/funnelSlots.types.d.mts +6 -6
- package/FunnelChart/funnelSlots.types.d.ts +6 -6
- package/FunnelChart/labelUtils.d.mts +2 -2
- package/FunnelChart/labelUtils.d.ts +2 -2
- package/FunnelChart/seriesConfig/descriptionGetter.d.mts +1 -1
- package/FunnelChart/seriesConfig/descriptionGetter.d.ts +1 -1
- package/FunnelChart/seriesConfig/extremums.d.mts +1 -1
- package/FunnelChart/seriesConfig/extremums.d.ts +1 -1
- package/FunnelChart/seriesConfig/getColor.d.mts +1 -1
- package/FunnelChart/seriesConfig/getColor.d.ts +1 -1
- package/FunnelChart/seriesConfig/getSeriesWithDefaultValues.d.mts +1 -1
- package/FunnelChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/FunnelChart/seriesConfig/index.d.mts +1 -1
- package/FunnelChart/seriesConfig/index.d.ts +1 -1
- package/FunnelChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
- package/FunnelChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
- package/FunnelChart/seriesConfig/legend.d.mts +1 -1
- package/FunnelChart/seriesConfig/legend.d.ts +1 -1
- package/FunnelChart/seriesConfig/seriesProcessor.d.mts +1 -1
- package/FunnelChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/FunnelChart/seriesConfig/tooltip.d.mts +1 -1
- package/FunnelChart/seriesConfig/tooltip.d.ts +1 -1
- package/FunnelChart/seriesConfig/tooltipPosition.d.mts +1 -1
- package/FunnelChart/seriesConfig/tooltipPosition.d.ts +1 -1
- package/FunnelChart/useFunnelChartProps.d.mts +7 -7
- package/FunnelChart/useFunnelChartProps.d.ts +7 -7
- package/Heatmap/Heatmap.d.mts +12 -12
- package/Heatmap/Heatmap.d.ts +12 -12
- package/Heatmap/Heatmap.js +5 -3
- package/Heatmap/Heatmap.mjs +5 -3
- package/Heatmap/Heatmap.plugins.d.mts +3 -3
- package/Heatmap/Heatmap.plugins.d.ts +3 -3
- package/Heatmap/Heatmap.types.d.mts +1 -1
- package/Heatmap/Heatmap.types.d.ts +1 -1
- package/Heatmap/HeatmapCell.js +1 -1
- package/Heatmap/HeatmapCell.mjs +1 -1
- package/Heatmap/HeatmapItem.d.mts +2 -2
- package/Heatmap/HeatmapItem.d.ts +2 -2
- package/Heatmap/HeatmapPlot.d.mts +1 -1
- package/Heatmap/HeatmapPlot.d.ts +1 -1
- package/Heatmap/HeatmapPlot.js +1 -1
- package/Heatmap/HeatmapPlot.mjs +1 -1
- package/Heatmap/HeatmapSVGPlot.d.mts +1 -1
- package/Heatmap/HeatmapSVGPlot.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.mts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.mts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.js +5 -25
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.mjs +5 -25
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.mts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.mts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.js +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.mjs +1 -1
- package/Heatmap/seriesConfig/extremums.d.mts +1 -1
- package/Heatmap/seriesConfig/extremums.d.ts +1 -1
- package/Heatmap/seriesConfig/getColor.d.mts +1 -1
- package/Heatmap/seriesConfig/getColor.d.ts +1 -1
- package/Heatmap/seriesConfig/getSeriesWithDefaultValues.d.mts +1 -1
- package/Heatmap/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/Heatmap/seriesConfig/identifierSerializer.d.mts +1 -1
- package/Heatmap/seriesConfig/identifierSerializer.d.ts +1 -1
- package/Heatmap/seriesConfig/index.d.mts +1 -1
- package/Heatmap/seriesConfig/index.d.ts +1 -1
- package/Heatmap/seriesConfig/seriesProcessor.d.mts +1 -1
- package/Heatmap/seriesConfig/seriesProcessor.d.ts +1 -1
- package/Heatmap/seriesConfig/tooltip.d.mts +1 -1
- package/Heatmap/seriesConfig/tooltip.d.ts +1 -1
- package/Heatmap/seriesConfig/tooltipPosition.d.mts +1 -1
- package/Heatmap/seriesConfig/tooltipPosition.d.ts +1 -1
- package/Heatmap/useHeatmapProps.d.mts +7 -7
- package/Heatmap/useHeatmapProps.d.ts +7 -7
- package/LineChartPro/LineChartPro.d.mts +5 -5
- package/LineChartPro/LineChartPro.d.ts +5 -5
- package/LineChartPro/LineChartPro.js +5 -3
- package/LineChartPro/LineChartPro.mjs +5 -3
- package/LineChartPro/LineChartPro.plugins.d.mts +3 -3
- package/LineChartPro/LineChartPro.plugins.d.ts +3 -3
- package/PieChartPro/PieChartPro.d.mts +5 -5
- package/PieChartPro/PieChartPro.d.ts +5 -5
- package/PieChartPro/PieChartPro.js +1 -1
- package/PieChartPro/PieChartPro.mjs +1 -1
- package/PieChartPro/PieChartPro.plugins.d.mts +2 -2
- package/PieChartPro/PieChartPro.plugins.d.ts +2 -2
- package/RadarChartPro/RadarChartPro.d.mts +4 -4
- package/RadarChartPro/RadarChartPro.d.ts +4 -4
- package/RadarChartPro/RadarChartPro.js +1 -1
- package/RadarChartPro/RadarChartPro.mjs +1 -1
- package/RadarChartPro/RadarChartPro.plugins.d.mts +1 -1
- package/RadarChartPro/RadarChartPro.plugins.d.ts +1 -1
- package/SankeyChart/SankeyChart.d.mts +2 -2
- package/SankeyChart/SankeyChart.d.ts +2 -2
- package/SankeyChart/SankeyChart.js +1 -1
- package/SankeyChart/SankeyChart.mjs +1 -1
- package/SankeyChart/SankeyChart.plugins.d.mts +2 -2
- package/SankeyChart/SankeyChart.plugins.d.ts +2 -2
- package/SankeyChart/SankeyDataProvider.d.mts +4 -1
- package/SankeyChart/SankeyDataProvider.d.ts +4 -1
- package/SankeyChart/SankeyDataProvider.js +170 -1
- package/SankeyChart/SankeyDataProvider.mjs +169 -0
- package/SankeyChart/SankeyLinkLabel.d.mts +1 -1
- package/SankeyChart/SankeyLinkLabel.d.ts +1 -1
- package/SankeyChart/SankeyLinkLabelPlot.d.mts +4 -1
- package/SankeyChart/SankeyLinkLabelPlot.d.ts +4 -1
- package/SankeyChart/SankeyLinkLabelPlot.js +12 -1
- package/SankeyChart/SankeyLinkLabelPlot.mjs +11 -0
- package/SankeyChart/SankeyLinkPlot.d.mts +4 -1
- package/SankeyChart/SankeyLinkPlot.d.ts +4 -1
- package/SankeyChart/SankeyLinkPlot.js +18 -1
- package/SankeyChart/SankeyLinkPlot.mjs +17 -0
- package/SankeyChart/SankeyNodeLabelPlot.d.mts +4 -1
- package/SankeyChart/SankeyNodeLabelPlot.d.ts +4 -1
- package/SankeyChart/SankeyNodeLabelPlot.js +12 -1
- package/SankeyChart/SankeyNodeLabelPlot.mjs +11 -0
- package/SankeyChart/SankeyNodePlot.d.mts +4 -1
- package/SankeyChart/SankeyNodePlot.d.ts +4 -1
- package/SankeyChart/SankeyNodePlot.js +18 -1
- package/SankeyChart/SankeyNodePlot.mjs +17 -0
- package/SankeyChart/SankeyPlot.d.mts +2 -2
- package/SankeyChart/SankeyPlot.d.ts +2 -2
- package/SankeyChart/SankeyPlot.js +5 -1
- package/SankeyChart/SankeyPlot.mjs +5 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.d.mts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.js +8 -28
- package/SankeyChart/SankeyTooltip/SankeyTooltip.mjs +8 -28
- package/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.mts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.mts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.js +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.mjs +1 -1
- package/SankeyChart/d3Sankey/sankeyLinkHorizontal.d.mts +1 -1
- package/SankeyChart/d3Sankey/sankeyLinkHorizontal.d.ts +1 -1
- package/SankeyChart/sankeySlots.types.d.mts +4 -4
- package/SankeyChart/sankeySlots.types.d.ts +4 -4
- package/SankeyChart/seriesConfig/identifierSerializer.d.mts +1 -1
- package/SankeyChart/seriesConfig/identifierSerializer.d.ts +1 -1
- package/SankeyChart/useSankeyChartProps.d.mts +1 -1
- package/SankeyChart/useSankeyChartProps.d.ts +1 -1
- package/SankeyChart/useSankeyChartProps.mjs +0 -1
- package/ScatterChartPro/ScatterChartPro.d.mts +6 -6
- package/ScatterChartPro/ScatterChartPro.d.ts +6 -6
- package/ScatterChartPro/ScatterChartPro.js +5 -3
- package/ScatterChartPro/ScatterChartPro.mjs +5 -3
- package/ScatterChartPro/ScatterChartPro.plugins.d.mts +3 -3
- package/ScatterChartPro/ScatterChartPro.plugins.d.ts +3 -3
- package/context/ChartProApi.d.mts +10 -10
- package/context/ChartProApi.d.ts +10 -10
- package/context/useChartProApiContext.d.mts +1 -1
- package/context/useChartProApiContext.d.ts +1 -1
- package/hooks/useChartProApiRef.d.mts +3 -3
- package/hooks/useChartProApiRef.d.ts +3 -3
- package/hooks/useFunnelSeries.d.mts +1 -1
- package/hooks/useFunnelSeries.d.ts +1 -1
- package/hooks/useHeatmapSeries.d.mts +1 -1
- package/hooks/useHeatmapSeries.d.ts +1 -1
- package/hooks/useSankeySeries.d.mts +2 -2
- package/hooks/useSankeySeries.d.ts +2 -2
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/ChartsWatermark.d.mts +1 -1
- package/internals/ChartsWatermark.d.ts +1 -1
- package/internals/material/components/BaseMenuItem.d.mts +1 -1
- package/internals/material/components/BaseMenuItem.d.ts +1 -1
- package/internals/material/components/BasePopper.d.mts +1 -1
- package/internals/material/components/BasePopper.d.ts +1 -1
- package/internals/material/index.d.mts +2 -2
- package/internals/material/index.d.ts +2 -2
- package/internals/plugins/allPlugins.d.mts +3 -3
- package/internals/plugins/allPlugins.d.ts +3 -3
- package/internals/plugins/useChartProExport/exportImage.d.mts +1 -1
- package/internals/plugins/useChartProExport/exportImage.d.ts +1 -1
- package/internals/plugins/useChartProExport/print.d.mts +1 -1
- package/internals/plugins/useChartProExport/print.d.ts +1 -1
- package/internals/plugins/useChartProExport/useChartProExport.d.mts +2 -2
- package/internals/plugins/useChartProExport/useChartProExport.d.ts +2 -2
- package/internals/plugins/useChartProExport/useChartProExport.types.d.mts +1 -1
- package/internals/plugins/useChartProExport/useChartProExport.types.d.ts +1 -1
- package/internals/plugins/useChartProZoom/calculateZoom.d.mts +1 -1
- package/internals/plugins/useChartProZoom/calculateZoom.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.d.mts +10 -0
- package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.d.ts +10 -0
- package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.js +49 -0
- package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.mjs +42 -0
- package/internals/plugins/useChartProZoom/gestureHooks/useZoom.utils.d.mts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoom.utils.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.d.mts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.d.ts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.js +2 -0
- package/internals/plugins/useChartProZoom/useChartProZoom.mjs +2 -0
- package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.mts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.types.d.mts +3 -3
- package/internals/plugins/useChartProZoom/useChartProZoom.types.d.ts +3 -3
- package/internals/plugins/zoomGestures/useDragGesture.d.mts +2 -2
- package/internals/plugins/zoomGestures/useDragGesture.d.ts +2 -2
- package/internals/plugins/zoomGestures/useWheelGesture.d.mts +2 -2
- package/internals/plugins/zoomGestures/useWheelGesture.d.ts +2 -2
- package/internals/plugins/zoomGestures/useWheelGesture.js +1 -1
- package/internals/plugins/zoomGestures/useWheelGesture.mjs +1 -1
- package/internals/slots/chartBaseSlotProps.d.mts +1 -1
- package/internals/slots/chartBaseSlotProps.d.ts +1 -1
- package/internals/slots/chartsBaseSlots.d.mts +2 -2
- package/internals/slots/chartsBaseSlots.d.ts +2 -2
- package/internals/slots/chartsIconSlots.d.mts +1 -1
- package/internals/slots/chartsIconSlots.d.ts +1 -1
- package/models/seriesType/heatmap.d.mts +2 -2
- package/models/seriesType/heatmap.d.ts +2 -2
- package/package.json +9 -6
- package/plugins/selectors/useChartHeatmapPosition.selectors.d.mts +1 -1
- package/plugins/selectors/useChartHeatmapPosition.selectors.d.ts +1 -1
- package/themeAugmentation/components.d.mts +1 -1
- package/themeAugmentation/components.d.ts +1 -1
- package/themeAugmentation/overrides.d.mts +1 -1
- package/themeAugmentation/overrides.d.ts +1 -1
- package/themeAugmentation/props.d.mts +8 -8
- package/themeAugmentation/props.d.ts +8 -8
|
@@ -24,7 +24,7 @@ function SankeyTooltip(props) {
|
|
|
24
24
|
})
|
|
25
25
|
}));
|
|
26
26
|
}
|
|
27
|
-
process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
27
|
+
process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes /* remove-proptypes */ = {
|
|
28
28
|
// ----------------------------- Warning --------------------------------
|
|
29
29
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
30
30
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -33,7 +33,7 @@ process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
|
33
33
|
* Determine if the tooltip should be placed on the pointer location or on the node.
|
|
34
34
|
* @default 'pointer'
|
|
35
35
|
*/
|
|
36
|
-
anchor: _propTypes.default.oneOf(['node', 'pointer']),
|
|
36
|
+
anchor: _propTypes.default.oneOf(['chart', 'node', 'pointer']),
|
|
37
37
|
/**
|
|
38
38
|
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
39
39
|
* or a function that returns either.
|
|
@@ -42,10 +42,10 @@ process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
|
42
42
|
*/
|
|
43
43
|
anchorEl: _propTypes.default.oneOfType([(props, propName) => {
|
|
44
44
|
if (props[propName] == null) {
|
|
45
|
-
return new Error(process.env.NODE_ENV !== "production" ? `
|
|
45
|
+
return new Error(process.env.NODE_ENV !== "production" ? `Prop '${propName}' is required but wasn't specified` : (0, _formatErrorMessage2.default)(6, propName));
|
|
46
46
|
}
|
|
47
47
|
if (typeof props[propName] !== 'object' || props[propName].nodeType !== 1) {
|
|
48
|
-
return new Error(process.env.NODE_ENV !== "production" ? `
|
|
48
|
+
return new Error(process.env.NODE_ENV !== "production" ? `Expected prop '${propName}' to be of type Element` : (0, _formatErrorMessage2.default)(49, propName));
|
|
49
49
|
}
|
|
50
50
|
return null;
|
|
51
51
|
}, _propTypes.default.func, _propTypes.default.shape({
|
|
@@ -69,25 +69,6 @@ process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
|
69
69
|
* Either a string to use a HTML element or a component.
|
|
70
70
|
*/
|
|
71
71
|
component: _propTypes.default.elementType,
|
|
72
|
-
/**
|
|
73
|
-
* The components used for each slot inside the Popper.
|
|
74
|
-
* Either a string to use a HTML element or a component.
|
|
75
|
-
*
|
|
76
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
77
|
-
* @default {}
|
|
78
|
-
*/
|
|
79
|
-
components: _propTypes.default.shape({
|
|
80
|
-
Root: _propTypes.default.elementType
|
|
81
|
-
}),
|
|
82
|
-
/**
|
|
83
|
-
* The props used for each slot inside the Popper.
|
|
84
|
-
*
|
|
85
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
86
|
-
* @default {}
|
|
87
|
-
*/
|
|
88
|
-
componentsProps: _propTypes.default.shape({
|
|
89
|
-
root: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])
|
|
90
|
-
}),
|
|
91
72
|
/**
|
|
92
73
|
* An HTML element or function that returns one.
|
|
93
74
|
* The `container` will have the portal children appended to it.
|
|
@@ -100,10 +81,10 @@ process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
|
100
81
|
*/
|
|
101
82
|
container: _propTypes.default.oneOfType([(props, propName) => {
|
|
102
83
|
if (props[propName] == null) {
|
|
103
|
-
return new Error(process.env.NODE_ENV !== "production" ? `
|
|
84
|
+
return new Error(process.env.NODE_ENV !== "production" ? `Prop '${propName}' is required but wasn't specified` : (0, _formatErrorMessage2.default)(6, propName));
|
|
104
85
|
}
|
|
105
86
|
if (typeof props[propName] !== 'object' || props[propName].nodeType !== 1) {
|
|
106
|
-
return new Error(process.env.NODE_ENV !== "production" ? `
|
|
87
|
+
return new Error(process.env.NODE_ENV !== "production" ? `Expected prop '${propName}' to be of type Element` : (0, _formatErrorMessage2.default)(49, propName));
|
|
107
88
|
}
|
|
108
89
|
return null;
|
|
109
90
|
}, _propTypes.default.func]),
|
|
@@ -187,13 +168,12 @@ process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
|
187
168
|
*/
|
|
188
169
|
position: _propTypes.default.oneOf(['bottom', 'left', 'right', 'top']),
|
|
189
170
|
/**
|
|
190
|
-
* The props used for each slot
|
|
171
|
+
* The props used for each component slot.
|
|
191
172
|
* @default {}
|
|
192
173
|
*/
|
|
193
174
|
slotProps: _propTypes.default.object,
|
|
194
175
|
/**
|
|
195
|
-
*
|
|
196
|
-
* Either a string to use a HTML element or a component.
|
|
176
|
+
* Overridable component slots.
|
|
197
177
|
* @default {}
|
|
198
178
|
*/
|
|
199
179
|
slots: _propTypes.default.object,
|
|
@@ -18,7 +18,7 @@ function SankeyTooltip(props) {
|
|
|
18
18
|
})
|
|
19
19
|
}));
|
|
20
20
|
}
|
|
21
|
-
process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
21
|
+
process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes /* remove-proptypes */ = {
|
|
22
22
|
// ----------------------------- Warning --------------------------------
|
|
23
23
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
24
24
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -27,7 +27,7 @@ process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
|
27
27
|
* Determine if the tooltip should be placed on the pointer location or on the node.
|
|
28
28
|
* @default 'pointer'
|
|
29
29
|
*/
|
|
30
|
-
anchor: PropTypes.oneOf(['node', 'pointer']),
|
|
30
|
+
anchor: PropTypes.oneOf(['chart', 'node', 'pointer']),
|
|
31
31
|
/**
|
|
32
32
|
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
33
33
|
* or a function that returns either.
|
|
@@ -36,10 +36,10 @@ process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
|
36
36
|
*/
|
|
37
37
|
anchorEl: PropTypes.oneOfType([(props, propName) => {
|
|
38
38
|
if (props[propName] == null) {
|
|
39
|
-
return new Error(process.env.NODE_ENV !== "production" ? `
|
|
39
|
+
return new Error(process.env.NODE_ENV !== "production" ? `Prop '${propName}' is required but wasn't specified` : _formatErrorMessage(6, propName));
|
|
40
40
|
}
|
|
41
41
|
if (typeof props[propName] !== 'object' || props[propName].nodeType !== 1) {
|
|
42
|
-
return new Error(process.env.NODE_ENV !== "production" ? `
|
|
42
|
+
return new Error(process.env.NODE_ENV !== "production" ? `Expected prop '${propName}' to be of type Element` : _formatErrorMessage(49, propName));
|
|
43
43
|
}
|
|
44
44
|
return null;
|
|
45
45
|
}, PropTypes.func, PropTypes.shape({
|
|
@@ -63,25 +63,6 @@ process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
|
63
63
|
* Either a string to use a HTML element or a component.
|
|
64
64
|
*/
|
|
65
65
|
component: PropTypes.elementType,
|
|
66
|
-
/**
|
|
67
|
-
* The components used for each slot inside the Popper.
|
|
68
|
-
* Either a string to use a HTML element or a component.
|
|
69
|
-
*
|
|
70
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
71
|
-
* @default {}
|
|
72
|
-
*/
|
|
73
|
-
components: PropTypes.shape({
|
|
74
|
-
Root: PropTypes.elementType
|
|
75
|
-
}),
|
|
76
|
-
/**
|
|
77
|
-
* The props used for each slot inside the Popper.
|
|
78
|
-
*
|
|
79
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
80
|
-
* @default {}
|
|
81
|
-
*/
|
|
82
|
-
componentsProps: PropTypes.shape({
|
|
83
|
-
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
84
|
-
}),
|
|
85
66
|
/**
|
|
86
67
|
* An HTML element or function that returns one.
|
|
87
68
|
* The `container` will have the portal children appended to it.
|
|
@@ -94,10 +75,10 @@ process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
|
94
75
|
*/
|
|
95
76
|
container: PropTypes.oneOfType([(props, propName) => {
|
|
96
77
|
if (props[propName] == null) {
|
|
97
|
-
return new Error(process.env.NODE_ENV !== "production" ? `
|
|
78
|
+
return new Error(process.env.NODE_ENV !== "production" ? `Prop '${propName}' is required but wasn't specified` : _formatErrorMessage(6, propName));
|
|
98
79
|
}
|
|
99
80
|
if (typeof props[propName] !== 'object' || props[propName].nodeType !== 1) {
|
|
100
|
-
return new Error(process.env.NODE_ENV !== "production" ? `
|
|
81
|
+
return new Error(process.env.NODE_ENV !== "production" ? `Expected prop '${propName}' to be of type Element` : _formatErrorMessage(49, propName));
|
|
101
82
|
}
|
|
102
83
|
return null;
|
|
103
84
|
}, PropTypes.func]),
|
|
@@ -181,13 +162,12 @@ process.env.NODE_ENV !== "production" ? SankeyTooltip.propTypes = {
|
|
|
181
162
|
*/
|
|
182
163
|
position: PropTypes.oneOf(['bottom', 'left', 'right', 'top']),
|
|
183
164
|
/**
|
|
184
|
-
* The props used for each slot
|
|
165
|
+
* The props used for each component slot.
|
|
185
166
|
* @default {}
|
|
186
167
|
*/
|
|
187
168
|
slotProps: PropTypes.object,
|
|
188
169
|
/**
|
|
189
|
-
*
|
|
190
|
-
* Either a string to use a HTML element or a component.
|
|
170
|
+
* Overridable component slots.
|
|
191
171
|
* @default {}
|
|
192
172
|
*/
|
|
193
173
|
slots: PropTypes.object,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartsTooltipContainerProps, ChartsTooltipClasses, ChartsTooltipSlots, ChartsTooltipSlotProps } from '@mui/x-charts/ChartsTooltip';
|
|
2
2
|
export interface SankeyTooltipSlots extends ChartsTooltipSlots {}
|
|
3
3
|
export interface SankeyTooltipSlotProps extends ChartsTooltipSlotProps {}
|
|
4
4
|
export interface SankeyTooltipClasses extends ChartsTooltipClasses {}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartsTooltipContainerProps, ChartsTooltipClasses, ChartsTooltipSlots, ChartsTooltipSlotProps } from '@mui/x-charts/ChartsTooltip';
|
|
2
2
|
export interface SankeyTooltipSlots extends ChartsTooltipSlots {}
|
|
3
3
|
export interface SankeyTooltipSlotProps extends ChartsTooltipSlotProps {}
|
|
4
4
|
export interface SankeyTooltipClasses extends ChartsTooltipClasses {}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SankeyTooltipProps } from "./SankeyTooltip.types.mjs";
|
|
2
2
|
export interface SankeyTooltipContentProps extends Pick<SankeyTooltipProps, 'classes'> {}
|
|
3
3
|
export declare function SankeyTooltipContent(props: SankeyTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
export declare namespace SankeyTooltipContent {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SankeyTooltipProps } from "./SankeyTooltip.types.js";
|
|
2
2
|
export interface SankeyTooltipContentProps extends Pick<SankeyTooltipProps, 'classes'> {}
|
|
3
3
|
export declare function SankeyTooltipContent(props: SankeyTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
export declare namespace SankeyTooltipContent {
|
|
@@ -52,7 +52,7 @@ function SankeyTooltipContent(props) {
|
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
process.env.NODE_ENV !== "production" ? SankeyTooltipContent.propTypes = {
|
|
55
|
+
process.env.NODE_ENV !== "production" ? SankeyTooltipContent.propTypes /* remove-proptypes */ = {
|
|
56
56
|
// ----------------------------- Warning --------------------------------
|
|
57
57
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
58
58
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -46,7 +46,7 @@ export function SankeyTooltipContent(props) {
|
|
|
46
46
|
})
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
process.env.NODE_ENV !== "production" ? SankeyTooltipContent.propTypes = {
|
|
49
|
+
process.env.NODE_ENV !== "production" ? SankeyTooltipContent.propTypes /* remove-proptypes */ = {
|
|
50
50
|
// ----------------------------- Warning --------------------------------
|
|
51
51
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
52
52
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { ChartsOverlaySlotProps, ChartsOverlaySlots } from '@mui/x-charts/ChartsOverlay';
|
|
2
|
+
import type { ChartsTooltipSlotProps, ChartsTooltipSlots } from '@mui/x-charts/ChartsTooltip';
|
|
3
|
+
import type { ChartsSlotProps, ChartsSlots } from '@mui/x-charts/internals';
|
|
4
|
+
import type { ChartsToolbarSlotProps, ChartsToolbarSlots } from '@mui/x-charts/Toolbar';
|
|
5
5
|
export interface SankeyChartSlots extends ChartsTooltipSlots<'item' | 'none'>, ChartsOverlaySlots, ChartsToolbarSlots, Partial<ChartsSlots> {}
|
|
6
6
|
export interface SankeyChartSlotProps extends ChartsTooltipSlotProps<'item' | 'none'>, ChartsOverlaySlotProps, ChartsToolbarSlotProps, Partial<ChartsSlotProps> {}
|
|
7
7
|
export interface SankeyChartSlotExtension {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { ChartsOverlaySlotProps, ChartsOverlaySlots } from '@mui/x-charts/ChartsOverlay';
|
|
2
|
+
import type { ChartsTooltipSlotProps, ChartsTooltipSlots } from '@mui/x-charts/ChartsTooltip';
|
|
3
|
+
import type { ChartsSlotProps, ChartsSlots } from '@mui/x-charts/internals';
|
|
4
|
+
import type { ChartsToolbarSlotProps, ChartsToolbarSlots } from '@mui/x-charts/Toolbar';
|
|
5
5
|
export interface SankeyChartSlots extends ChartsTooltipSlots<'item' | 'none'>, ChartsOverlaySlots, ChartsToolbarSlots, Partial<ChartsSlots> {}
|
|
6
6
|
export interface SankeyChartSlotProps extends ChartsTooltipSlotProps<'item' | 'none'>, ChartsOverlaySlotProps, ChartsToolbarSlotProps, Partial<ChartsSlotProps> {}
|
|
7
7
|
export interface SankeyChartSlotExtension {
|
|
@@ -2,7 +2,7 @@ import type { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
|
|
|
2
2
|
import type { ChartsWrapperProps } from '@mui/x-charts/ChartsWrapper';
|
|
3
3
|
import type { SankeyChartProps } from "./SankeyChart.mjs";
|
|
4
4
|
import type { ChartsContainerProProps } from "../ChartsContainerPro/index.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import type { SankeyChartPluginSignatures } from "./SankeyChart.plugins.mjs";
|
|
6
6
|
/**
|
|
7
7
|
* A helper function that extracts SankeyChartProps from the input props
|
|
8
8
|
* and returns an object with props for the children components of SankeyChart.
|
|
@@ -2,7 +2,7 @@ import type { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
|
|
|
2
2
|
import type { ChartsWrapperProps } from '@mui/x-charts/ChartsWrapper';
|
|
3
3
|
import type { SankeyChartProps } from "./SankeyChart.js";
|
|
4
4
|
import type { ChartsContainerProProps } from "../ChartsContainerPro/index.js";
|
|
5
|
-
import {
|
|
5
|
+
import type { SankeyChartPluginSignatures } from "./SankeyChart.plugins.js";
|
|
6
6
|
/**
|
|
7
7
|
* A helper function that extracts SankeyChartProps from the input props
|
|
8
8
|
* and returns an object with props for the children components of SankeyChart.
|
|
@@ -4,7 +4,6 @@ const _excluded = ["series", "width", "height", "margin", "colors", "sx", "child
|
|
|
4
4
|
import { DEFAULT_MARGINS } from '@mui/x-charts/constants';
|
|
5
5
|
import { defaultizeMargin } from '@mui/x-charts/internals';
|
|
6
6
|
import { SANKEY_CHART_PLUGINS } from "./SankeyChart.plugins.mjs";
|
|
7
|
-
|
|
8
7
|
/**
|
|
9
8
|
* A helper function that extracts SankeyChartProps from the input props
|
|
10
9
|
* and returns an object with props for the children components of SankeyChart.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ScatterChartProps, ScatterChartSlotProps, ScatterChartSlots } from '@mui/x-charts/ScatterChart';
|
|
3
|
+
import type { ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
|
|
4
4
|
import type { TooltipPropsOverrides } from '@mui/x-charts/models';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import type { ChartsSlotPropsPro, ChartsSlotsPro } from "../internals/material/index.mjs";
|
|
6
|
+
import type { ChartsContainerProProps } from "../ChartsContainerPro/ChartsContainerPro.mjs";
|
|
7
|
+
import type { ScatterChartProPluginSignatures } from "./ScatterChartPro.plugins.mjs";
|
|
8
|
+
import type { ChartsToolbarProSlots, ChartsToolbarProSlotProps } from "../ChartsToolbarPro/Toolbar.types.mjs";
|
|
9
9
|
export interface ScatterChartProSlots extends Omit<ScatterChartSlots, 'toolbar'>, ChartsToolbarProSlots, Partial<ChartsSlotsPro> {}
|
|
10
10
|
export interface ScatterChartProSlotProps extends Omit<ScatterChartSlotProps, 'toolbar' | 'tooltip'>, ChartsToolbarProSlotProps, Partial<ChartsSlotPropsPro> {
|
|
11
11
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ScatterChartProps, ScatterChartSlotProps, ScatterChartSlots } from '@mui/x-charts/ScatterChart';
|
|
3
|
+
import type { ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
|
|
4
4
|
import type { TooltipPropsOverrides } from '@mui/x-charts/models';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import type { ChartsSlotPropsPro, ChartsSlotsPro } from "../internals/material/index.js";
|
|
6
|
+
import type { ChartsContainerProProps } from "../ChartsContainerPro/ChartsContainerPro.js";
|
|
7
|
+
import type { ScatterChartProPluginSignatures } from "./ScatterChartPro.plugins.js";
|
|
8
|
+
import type { ChartsToolbarProSlots, ChartsToolbarProSlotProps } from "../ChartsToolbarPro/Toolbar.types.js";
|
|
9
9
|
export interface ScatterChartProSlots extends Omit<ScatterChartSlots, 'toolbar'>, ChartsToolbarProSlots, Partial<ChartsSlotsPro> {}
|
|
10
10
|
export interface ScatterChartProSlotProps extends Omit<ScatterChartSlotProps, 'toolbar' | 'tooltip'>, ChartsToolbarProSlotProps, Partial<ChartsSlotPropsPro> {
|
|
11
11
|
/**
|
|
@@ -91,7 +91,7 @@ const ScatterChartPro = exports.ScatterChartPro = /*#__PURE__*/React.forwardRef(
|
|
|
91
91
|
}));
|
|
92
92
|
});
|
|
93
93
|
if (process.env.NODE_ENV !== "production") ScatterChartPro.displayName = "ScatterChartPro";
|
|
94
|
-
process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
94
|
+
process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes /* remove-proptypes */ = {
|
|
95
95
|
// ----------------------------- Warning --------------------------------
|
|
96
96
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
97
97
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -442,11 +442,13 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
442
442
|
color: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired), _propTypes.default.func]).isRequired,
|
|
443
443
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
444
444
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
445
|
-
type: _propTypes.default.oneOf(['continuous']).isRequired
|
|
445
|
+
type: _propTypes.default.oneOf(['continuous']).isRequired,
|
|
446
|
+
unknownColor: _propTypes.default.string
|
|
446
447
|
}), _propTypes.default.shape({
|
|
447
448
|
colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
|
|
448
449
|
thresholds: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]).isRequired).isRequired,
|
|
449
|
-
type: _propTypes.default.oneOf(['piecewise']).isRequired
|
|
450
|
+
type: _propTypes.default.oneOf(['piecewise']).isRequired,
|
|
451
|
+
unknownColor: _propTypes.default.string
|
|
450
452
|
}), _propTypes.default.shape({
|
|
451
453
|
colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
|
|
452
454
|
type: _propTypes.default.oneOf(['ordinal']).isRequired,
|
|
@@ -84,7 +84,7 @@ const ScatterChartPro = /*#__PURE__*/React.forwardRef(function ScatterChartPro(i
|
|
|
84
84
|
}));
|
|
85
85
|
});
|
|
86
86
|
if (process.env.NODE_ENV !== "production") ScatterChartPro.displayName = "ScatterChartPro";
|
|
87
|
-
process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
87
|
+
process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes /* remove-proptypes */ = {
|
|
88
88
|
// ----------------------------- Warning --------------------------------
|
|
89
89
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
90
90
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -435,11 +435,13 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
435
435
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
436
436
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
437
437
|
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
438
|
-
type: PropTypes.oneOf(['continuous']).isRequired
|
|
438
|
+
type: PropTypes.oneOf(['continuous']).isRequired,
|
|
439
|
+
unknownColor: PropTypes.string
|
|
439
440
|
}), PropTypes.shape({
|
|
440
441
|
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
441
442
|
thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
|
|
442
|
-
type: PropTypes.oneOf(['piecewise']).isRequired
|
|
443
|
+
type: PropTypes.oneOf(['piecewise']).isRequired,
|
|
444
|
+
unknownColor: PropTypes.string
|
|
443
445
|
}), PropTypes.shape({
|
|
444
446
|
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
445
447
|
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { UseChartZAxisSignature, UseChartCartesianAxisSignature, UseChartTooltipSignature, UseChartInteractionSignature, UseChartHighlightSignature, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature, UseChartBrushSignature, ConvertSignaturesIntoPlugins, UseChartVisibilityManagerSignature, UseProgressiveRenderingSignature } from '@mui/x-charts/internals';
|
|
2
|
+
import type { UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.mjs";
|
|
3
|
+
import type { UseChartProZoomSignature } from "../internals/plugins/useChartProZoom/index.mjs";
|
|
4
4
|
export type ScatterChartProPluginSignatures = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<'scatter'>, UseChartInteractionSignature, UseChartCartesianAxisSignature<'scatter'>, UseChartHighlightSignature<'scatter'>, UseChartVisibilityManagerSignature<'scatter'>, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature, UseChartProZoomSignature, UseChartProExportSignature, UseProgressiveRenderingSignature];
|
|
5
5
|
export declare const SCATTER_CHART_PRO_PLUGINS: ConvertSignaturesIntoPlugins<ScatterChartProPluginSignatures>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { UseChartZAxisSignature, UseChartCartesianAxisSignature, UseChartTooltipSignature, UseChartInteractionSignature, UseChartHighlightSignature, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature, UseChartBrushSignature, ConvertSignaturesIntoPlugins, UseChartVisibilityManagerSignature, UseProgressiveRenderingSignature } from '@mui/x-charts/internals';
|
|
2
|
+
import type { UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
|
|
3
|
+
import type { UseChartProZoomSignature } from "../internals/plugins/useChartProZoom/index.js";
|
|
4
4
|
export type ScatterChartProPluginSignatures = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<'scatter'>, UseChartInteractionSignature, UseChartCartesianAxisSignature<'scatter'>, UseChartHighlightSignature<'scatter'>, UseChartVisibilityManagerSignature<'scatter'>, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature, UseChartProZoomSignature, UseChartProExportSignature, UseProgressiveRenderingSignature];
|
|
5
5
|
export declare const SCATTER_CHART_PRO_PLUGINS: ConvertSignaturesIntoPlugins<ScatterChartProPluginSignatures>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import type { ChartAnyPluginSignature, ChartPublicAPI } from '@mui/x-charts/internals';
|
|
2
|
+
import type { HeatmapPluginSignatures } from "../Heatmap/Heatmap.plugins.mjs";
|
|
3
|
+
import type { LineChartProPluginSignatures } from "../LineChartPro/LineChartPro.plugins.mjs";
|
|
4
|
+
import type { ScatterChartProPluginSignatures } from "../ScatterChartPro/ScatterChartPro.plugins.mjs";
|
|
5
|
+
import type { BarChartProPluginSignatures } from "../BarChartPro/BarChartPro.plugins.mjs";
|
|
6
|
+
import type { AllPluginSignatures, DefaultPluginSignatures } from "../internals/plugins/allPlugins.mjs";
|
|
7
|
+
import type { FunnelChartPluginSignatures } from "../FunnelChart/FunnelChart.plugins.mjs";
|
|
8
|
+
import type { RadarChartProPluginSignatures } from "../RadarChartPro/RadarChartPro.plugins.mjs";
|
|
9
|
+
import type { PieChartProPluginSignatures } from "../PieChartPro/PieChartPro.plugins.mjs";
|
|
10
|
+
import type { SankeyChartPluginSignatures } from "../SankeyChart/SankeyChart.plugins.mjs";
|
|
11
11
|
export type ProPluginsPerSeriesType = {
|
|
12
12
|
heatmap: HeatmapPluginSignatures;
|
|
13
13
|
line: LineChartProPluginSignatures;
|
package/context/ChartProApi.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import type { ChartAnyPluginSignature, ChartPublicAPI } from '@mui/x-charts/internals';
|
|
2
|
+
import type { HeatmapPluginSignatures } from "../Heatmap/Heatmap.plugins.js";
|
|
3
|
+
import type { LineChartProPluginSignatures } from "../LineChartPro/LineChartPro.plugins.js";
|
|
4
|
+
import type { ScatterChartProPluginSignatures } from "../ScatterChartPro/ScatterChartPro.plugins.js";
|
|
5
|
+
import type { BarChartProPluginSignatures } from "../BarChartPro/BarChartPro.plugins.js";
|
|
6
|
+
import type { AllPluginSignatures, DefaultPluginSignatures } from "../internals/plugins/allPlugins.js";
|
|
7
|
+
import type { FunnelChartPluginSignatures } from "../FunnelChart/FunnelChart.plugins.js";
|
|
8
|
+
import type { RadarChartProPluginSignatures } from "../RadarChartPro/RadarChartPro.plugins.js";
|
|
9
|
+
import type { PieChartProPluginSignatures } from "../PieChartPro/PieChartPro.plugins.js";
|
|
10
|
+
import type { SankeyChartPluginSignatures } from "../SankeyChart/SankeyChart.plugins.js";
|
|
11
11
|
export type ProPluginsPerSeriesType = {
|
|
12
12
|
heatmap: HeatmapPluginSignatures;
|
|
13
13
|
line: LineChartProPluginSignatures;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartProApi } from "./ChartProApi.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* The `useChartProApiContext` hook provides access to the chart API.
|
|
4
4
|
* This is only available when the chart is rendered within a chart or a `ChartsDataProviderPro` component.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartProApi } from "./ChartProApi.js";
|
|
2
2
|
/**
|
|
3
3
|
* The `useChartProApiContext` hook provides access to the chart API.
|
|
4
4
|
* This is only available when the chart is rendered within a chart or a `ChartsDataProviderPro` component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { ChartAnyPluginSignature } from '@mui/x-charts/internals';
|
|
3
|
+
import type { AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
|
|
4
|
+
import type { ProPluginsPerSeriesType, ChartProApi } from "../context/ChartProApi.mjs";
|
|
5
5
|
/**
|
|
6
6
|
* Hook that instantiates a [[ChartProApiRef]].
|
|
7
7
|
* The chart type needs to be given as the generic parameter to narrow down the API to the specific chart type.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { ChartAnyPluginSignature } from '@mui/x-charts/internals';
|
|
3
|
+
import type { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
|
|
4
|
+
import type { ProPluginsPerSeriesType, ChartProApi } from "../context/ChartProApi.js";
|
|
5
5
|
/**
|
|
6
6
|
* Hook that instantiates a [[ChartProApiRef]].
|
|
7
7
|
* The chart type needs to be given as the generic parameter to narrow down the API to the specific chart type.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ProcessedSeries, SeriesId, ChartSeriesDefaultized } from '@mui/x-charts/internals';
|
|
2
2
|
export type UseFunnelSeriesReturnValue = ChartSeriesDefaultized<'funnel'>;
|
|
3
3
|
export type UseFunnelSeriesContextReturnValue = ProcessedSeries['funnel'];
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ProcessedSeries, SeriesId, ChartSeriesDefaultized } from '@mui/x-charts/internals';
|
|
2
2
|
export type UseFunnelSeriesReturnValue = ChartSeriesDefaultized<'funnel'>;
|
|
3
3
|
export type UseFunnelSeriesContextReturnValue = ProcessedSeries['funnel'];
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ProcessedSeries, SeriesId, ChartSeriesDefaultized } from '@mui/x-charts/internals';
|
|
2
2
|
export type UseHeatmapSeriesReturnValue = ChartSeriesDefaultized<'heatmap'>;
|
|
3
3
|
export type UseHeatmapSeriesContextReturnValue = ProcessedSeries['heatmap'];
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ProcessedSeries, SeriesId, ChartSeriesDefaultized } from '@mui/x-charts/internals';
|
|
2
2
|
export type UseHeatmapSeriesReturnValue = ChartSeriesDefaultized<'heatmap'>;
|
|
3
3
|
export type UseHeatmapSeriesContextReturnValue = ProcessedSeries['heatmap'];
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ProcessedSeries, SeriesId, ChartSeriesDefaultized, ChartSeriesLayout } from '@mui/x-charts/internals';
|
|
2
|
+
import type { SankeyLayout } from "../SankeyChart/index.mjs";
|
|
3
3
|
export type UseSankeySeriesReturnValue = ChartSeriesDefaultized<'sankey'>;
|
|
4
4
|
export type UseSankeySeriesContextReturnValue = ProcessedSeries['sankey'];
|
|
5
5
|
export type UseSankeySeriesLayoutReturnValue = ChartSeriesLayout<'sankey'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ProcessedSeries, SeriesId, ChartSeriesDefaultized, ChartSeriesLayout } from '@mui/x-charts/internals';
|
|
2
|
+
import type { SankeyLayout } from "../SankeyChart/index.js";
|
|
3
3
|
export type UseSankeySeriesReturnValue = ChartSeriesDefaultized<'sankey'>;
|
|
4
4
|
export type UseSankeySeriesContextReturnValue = ProcessedSeries['sankey'];
|
|
5
5
|
export type UseSankeySeriesLayoutReturnValue = ChartSeriesLayout<'sankey'>;
|
package/index.js
CHANGED
package/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartBaseMenuItemProps } from "../../slots/chartBaseSlotProps.mjs";
|
|
2
2
|
export declare function BaseMenuItem(props: ChartBaseMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartBaseMenuItemProps } from "../../slots/chartBaseSlotProps.js";
|
|
2
2
|
export declare function BaseMenuItem(props: ChartBaseMenuItemProps): import("react/jsx-runtime").JSX.Element;
|