@mui/x-charts 9.6.0 → 9.8.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/BarChart/AnimatedBarElement.d.mts +2 -2
- package/BarChart/AnimatedBarElement.d.ts +2 -2
- package/BarChart/BarChart.d.mts +12 -12
- package/BarChart/BarChart.d.ts +12 -12
- package/BarChart/BarChart.plugins.d.mts +9 -9
- package/BarChart/BarChart.plugins.d.ts +9 -9
- package/BarChart/BarElement.d.mts +3 -3
- package/BarChart/BarElement.d.ts +3 -3
- package/BarChart/BarLabel/BarLabel.d.mts +1 -1
- package/BarChart/BarLabel/BarLabel.d.ts +1 -1
- package/BarChart/BarLabel/BarLabel.types.d.mts +2 -2
- package/BarChart/BarLabel/BarLabel.types.d.ts +2 -2
- package/BarChart/BarLabel/BarLabelItem.d.mts +4 -4
- package/BarChart/BarLabel/BarLabelItem.d.ts +4 -4
- package/BarChart/BarLabel/BarLabelPlot.d.mts +3 -3
- package/BarChart/BarLabel/BarLabelPlot.d.ts +3 -3
- package/BarChart/BarLabel/getBarLabel.d.mts +3 -3
- package/BarChart/BarLabel/getBarLabel.d.ts +3 -3
- package/BarChart/BarPlot.d.mts +4 -4
- package/BarChart/BarPlot.d.ts +4 -4
- package/BarChart/BatchBarPlot/BatchBarPlot.d.mts +1 -1
- package/BarChart/BatchBarPlot/BatchBarPlot.d.ts +1 -1
- package/BarChart/IndividualBarPlot.d.mts +3 -3
- package/BarChart/IndividualBarPlot.d.ts +3 -3
- package/BarChart/barClasses.d.mts +1 -1
- package/BarChart/barClasses.d.ts +1 -1
- package/BarChart/checkBarChartScaleErrors.d.mts +2 -2
- package/BarChart/checkBarChartScaleErrors.d.ts +2 -2
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.mts +1 -1
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +1 -1
- package/BarChart/seriesConfig/bar/keyboardFocusHandler.d.mts +1 -1
- package/BarChart/seriesConfig/bar/keyboardFocusHandler.d.ts +1 -1
- package/BarChart/useBarChartProps.d.mts +10 -10
- package/BarChart/useBarChartProps.d.ts +10 -10
- package/BarChart/useBarPlotData.d.mts +5 -5
- package/BarChart/useBarPlotData.d.ts +5 -5
- package/BarChart/useRegisterItemClickHandlers.d.mts +1 -1
- package/BarChart/useRegisterItemClickHandlers.d.ts +1 -1
- package/CHANGELOG.md +241 -2
- package/ChartsAxis/ChartsAxis.d.mts +1 -1
- package/ChartsAxis/ChartsAxis.d.ts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.mts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.mts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
- package/ChartsAxisHighlight/ChartsXAxisHighlight.d.mts +2 -2
- package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
- package/ChartsAxisHighlight/ChartsYAxisHighlight.d.mts +2 -2
- package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.mts +2 -2
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.ts +2 -2
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.mts +1 -1
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.ts +1 -1
- package/ChartsContainer/ChartsContainer.d.mts +5 -5
- package/ChartsContainer/ChartsContainer.d.ts +5 -5
- package/ChartsContainer/useChartsContainerProps.d.mts +5 -5
- package/ChartsContainer/useChartsContainerProps.d.ts +5 -5
- package/ChartsDataProvider/ChartsDataProvider.d.mts +6 -6
- package/ChartsDataProvider/ChartsDataProvider.d.ts +6 -6
- package/ChartsDataProvider/useChartsDataProviderProps.d.mts +5 -5
- package/ChartsDataProvider/useChartsDataProviderProps.d.ts +5 -5
- package/ChartsGrid/ChartsGrid.d.mts +1 -1
- package/ChartsGrid/ChartsGrid.d.ts +1 -1
- package/ChartsGrid/ChartsHorizontalGrid.d.mts +2 -2
- package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
- package/ChartsGrid/ChartsVerticalGrid.d.mts +2 -2
- package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
- package/ChartsLabel/ChartsLabel.d.mts +2 -2
- package/ChartsLabel/ChartsLabel.d.ts +2 -2
- package/ChartsLabel/ChartsLabelGradient.d.mts +2 -2
- package/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
- package/ChartsLabel/ChartsLabelMark.d.mts +2 -2
- package/ChartsLabel/ChartsLabelMark.d.ts +2 -2
- package/ChartsLayerContainer/ChartsLayerContainer.d.mts +1 -1
- package/ChartsLayerContainer/ChartsLayerContainer.d.ts +1 -1
- package/ChartsLegend/ChartsLegend.d.mts +3 -3
- package/ChartsLegend/ChartsLegend.d.ts +3 -3
- package/ChartsLegend/ContinuousColorLegend.d.mts +6 -6
- package/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
- package/ChartsLegend/PiecewiseColorLegend.d.mts +8 -8
- package/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
- package/ChartsLegend/chartsLegend.types.d.mts +3 -3
- package/ChartsLegend/chartsLegend.types.d.ts +3 -3
- package/ChartsLegend/colorLegend.types.d.mts +1 -1
- package/ChartsLegend/colorLegend.types.d.ts +1 -1
- package/ChartsLegend/legend.types.d.mts +1 -1
- package/ChartsLegend/legend.types.d.ts +1 -1
- package/ChartsLegend/legendContext.types.d.mts +2 -2
- package/ChartsLegend/legendContext.types.d.ts +2 -2
- package/ChartsLegend/onClickContextBuilder.d.mts +1 -1
- package/ChartsLegend/onClickContextBuilder.d.ts +1 -1
- package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.mts +1 -1
- package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
- package/ChartsLegend/useAxis.d.mts +3 -3
- package/ChartsLegend/useAxis.d.ts +3 -3
- package/ChartsOverlay/ChartsOverlay.d.mts +2 -2
- package/ChartsOverlay/ChartsOverlay.d.ts +2 -2
- package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.mts +1 -1
- package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.ts +1 -1
- package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.mts +2 -2
- package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.ts +2 -2
- package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.mts +2 -2
- package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.ts +2 -2
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.mts +6 -6
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.ts +6 -6
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.d.mts +6 -6
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.d.ts +6 -6
- package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.mts +5 -5
- package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.ts +5 -5
- package/ChartsRadialGrid/ChartsRadialGrid.d.mts +1 -1
- package/ChartsRadialGrid/ChartsRadialGrid.d.ts +1 -1
- package/ChartsRadialGrid/ChartsRadiusGrid.d.mts +2 -2
- package/ChartsRadialGrid/ChartsRadiusGrid.d.ts +2 -2
- package/ChartsRadialGrid/ChartsRotationGrid.d.mts +2 -2
- package/ChartsRadialGrid/ChartsRotationGrid.d.ts +2 -2
- package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.mts +1 -1
- package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.ts +1 -1
- package/ChartsReferenceLine/ChartsReferenceLine.d.mts +3 -3
- package/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
- package/ChartsReferenceLine/ChartsXReferenceLine.d.mts +2 -2
- package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
- package/ChartsReferenceLine/ChartsYReferenceLine.d.mts +2 -2
- package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
- package/ChartsReferenceLine/common.d.mts +3 -3
- package/ChartsReferenceLine/common.d.ts +3 -3
- package/ChartsRotationAxis/chartsRotationAxisClasses.d.mts +1 -1
- package/ChartsRotationAxis/chartsRotationAxisClasses.d.ts +1 -1
- package/ChartsSurface/ChartsSurface.d.mts +2 -2
- package/ChartsSurface/ChartsSurface.d.ts +2 -2
- package/ChartsSvgLayer/ChartsSvgLayer.d.mts +1 -1
- package/ChartsSvgLayer/ChartsSvgLayer.d.ts +1 -1
- package/ChartsText/ChartsText.d.mts +1 -1
- package/ChartsText/ChartsText.d.ts +1 -1
- package/ChartsText/defaultTextPlacement.d.mts +1 -1
- package/ChartsText/defaultTextPlacement.d.ts +1 -1
- package/ChartsTooltip/ChartTooltip.types.d.mts +2 -2
- package/ChartsTooltip/ChartTooltip.types.d.ts +2 -2
- package/ChartsTooltip/ChartsAxisTooltipContent.d.mts +2 -2
- package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
- package/ChartsTooltip/ChartsAxisTooltipContent.js +9 -2
- package/ChartsTooltip/ChartsAxisTooltipContent.mjs +9 -2
- package/ChartsTooltip/ChartsItemTooltipContent.d.mts +2 -2
- package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
- package/ChartsTooltip/ChartsTooltip.d.mts +2 -2
- package/ChartsTooltip/ChartsTooltip.d.ts +2 -2
- package/ChartsTooltip/ChartsTooltipContainer.d.mts +3 -3
- package/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
- package/ChartsTooltip/ChartsTooltipContainer.js +14 -3
- package/ChartsTooltip/ChartsTooltipContainer.mjs +15 -4
- package/ChartsTooltip/useAxesTooltip.d.mts +4 -4
- package/ChartsTooltip/useAxesTooltip.d.ts +4 -4
- package/ChartsTooltip/useItemTooltip.d.mts +1 -1
- package/ChartsTooltip/useItemTooltip.d.ts +1 -1
- package/ChartsWrapper/ChartsWrapper.d.mts +3 -3
- package/ChartsWrapper/ChartsWrapper.d.ts +3 -3
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.mts +1 -1
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
- package/ChartsXAxis/ChartsGroupedXAxisTicks.js +3 -13
- package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +2 -12
- package/ChartsXAxis/ChartsXAxis.d.mts +1 -1
- package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
- package/ChartsXAxis/getVisibleLabels.d.mts +2 -2
- package/ChartsXAxis/getVisibleLabels.d.ts +2 -2
- package/ChartsXAxis/shortenLabels.d.mts +3 -3
- package/ChartsXAxis/shortenLabels.d.ts +3 -3
- package/ChartsXAxis/useAxisTicksProps.d.mts +3 -2
- package/ChartsXAxis/useAxisTicksProps.d.ts +3 -2
- package/ChartsXAxis/utilities.d.mts +1 -1
- package/ChartsXAxis/utilities.d.ts +1 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.d.mts +1 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.js +4 -16
- package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +3 -13
- package/ChartsYAxis/ChartsYAxis.d.mts +1 -1
- package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
- package/ChartsYAxis/shortenLabels.d.mts +3 -3
- package/ChartsYAxis/shortenLabels.d.ts +3 -3
- package/ChartsYAxis/useAxisTicksProps.d.mts +3 -2
- package/ChartsYAxis/useAxisTicksProps.d.ts +3 -2
- package/ChartsYAxis/utilities.d.mts +1 -1
- package/ChartsYAxis/utilities.d.ts +1 -1
- package/Gauge/Gauge.d.mts +3 -3
- package/Gauge/Gauge.d.ts +3 -3
- package/Gauge/GaugeContainer.d.mts +4 -4
- package/Gauge/GaugeContainer.d.ts +4 -4
- package/Gauge/GaugeValueText.d.mts +1 -1
- package/Gauge/GaugeValueText.d.ts +1 -1
- package/LineChart/AppearingMask.d.mts +1 -1
- package/LineChart/AppearingMask.d.ts +1 -1
- package/LineChart/AreaElement.d.mts +5 -5
- package/LineChart/AreaElement.d.ts +5 -5
- package/LineChart/AreaElement.js +1 -1
- package/LineChart/AreaElement.mjs +1 -1
- package/LineChart/AreaPlot.d.mts +2 -2
- package/LineChart/AreaPlot.d.ts +2 -2
- package/LineChart/CircleMarkElement.d.mts +2 -2
- package/LineChart/CircleMarkElement.d.ts +2 -2
- package/LineChart/LineChart.d.mts +14 -14
- package/LineChart/LineChart.d.ts +14 -14
- package/LineChart/LineChart.plugins.d.mts +9 -9
- package/LineChart/LineChart.plugins.d.ts +9 -9
- package/LineChart/LineElement.d.mts +5 -5
- package/LineChart/LineElement.d.ts +5 -5
- package/LineChart/LineHighlightElement.d.mts +1 -1
- package/LineChart/LineHighlightElement.d.ts +1 -1
- package/LineChart/LineHighlightPlot.d.mts +2 -2
- package/LineChart/LineHighlightPlot.d.ts +2 -2
- package/LineChart/LinePlot.d.mts +2 -2
- package/LineChart/LinePlot.d.ts +2 -2
- package/LineChart/MarkElement.d.mts +9 -1
- package/LineChart/MarkElement.d.ts +9 -1
- package/LineChart/MarkPlot.d.mts +2 -2
- package/LineChart/MarkPlot.d.ts +2 -2
- package/LineChart/lineClasses.d.mts +0 -9
- package/LineChart/lineClasses.d.ts +0 -9
- package/LineChart/lineClasses.js +0 -1
- package/LineChart/lineClasses.mjs +1 -1
- package/LineChart/seriesConfig/extremums.d.mts +1 -1
- package/LineChart/seriesConfig/extremums.d.ts +1 -1
- package/LineChart/seriesConfig/getColor.d.mts +1 -1
- package/LineChart/seriesConfig/getColor.d.ts +1 -1
- package/LineChart/seriesConfig/index.d.mts +1 -1
- package/LineChart/seriesConfig/index.d.ts +1 -1
- package/LineChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
- package/LineChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
- package/LineChart/seriesConfig/legend.d.mts +1 -1
- package/LineChart/seriesConfig/legend.d.ts +1 -1
- package/LineChart/useAreaPlotData.d.mts +3 -3
- package/LineChart/useAreaPlotData.d.ts +3 -3
- package/LineChart/useLineChartProps.d.mts +12 -12
- package/LineChart/useLineChartProps.d.ts +12 -12
- package/LineChart/useLineChartProps.mjs +0 -1
- package/LineChart/useLinePlotData.d.mts +3 -3
- package/LineChart/useLinePlotData.d.ts +3 -3
- package/LineChart/useMarkPlotData.d.mts +4 -4
- package/LineChart/useMarkPlotData.d.ts +4 -4
- package/PieChart/FocusedPieArc.d.mts +1 -1
- package/PieChart/FocusedPieArc.d.ts +1 -1
- package/PieChart/PieArc.d.mts +1 -1
- package/PieChart/PieArc.d.ts +1 -1
- package/PieChart/PieArcLabel.d.mts +2 -2
- package/PieChart/PieArcLabel.d.ts +2 -2
- package/PieChart/PieArcLabelPlot.d.mts +2 -2
- package/PieChart/PieArcLabelPlot.d.ts +2 -2
- package/PieChart/PieArcPlot.d.mts +2 -2
- package/PieChart/PieArcPlot.d.ts +2 -2
- package/PieChart/PieChart.d.mts +11 -11
- package/PieChart/PieChart.d.ts +11 -11
- package/PieChart/PieChart.plugins.d.mts +6 -6
- package/PieChart/PieChart.plugins.d.ts +6 -6
- package/PieChart/PiePlot.d.mts +2 -2
- package/PieChart/PiePlot.d.ts +2 -2
- package/PieChart/dataTransform/useTransformData.d.mts +1 -1
- package/PieChart/dataTransform/useTransformData.d.ts +1 -1
- package/PieChart/getPieCoordinates.d.mts +2 -2
- package/PieChart/getPieCoordinates.d.ts +2 -2
- package/PieChart/pieClasses.d.mts +1 -1
- package/PieChart/pieClasses.d.ts +1 -1
- package/PieChart/seriesConfig/getColor.d.mts +1 -1
- package/PieChart/seriesConfig/getColor.d.ts +1 -1
- package/PieChart/seriesConfig/index.d.mts +1 -1
- package/PieChart/seriesConfig/index.d.ts +1 -1
- package/PieChart/seriesConfig/legend.d.mts +1 -1
- package/PieChart/seriesConfig/legend.d.ts +1 -1
- package/PieChart/seriesConfig/seriesProcessor.d.mts +1 -1
- package/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/RadarChart/RadarAxis/RadarAxis.d.mts +2 -2
- package/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
- package/RadarChart/RadarAxis/RadarAxis.utils.d.mts +1 -1
- package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.mts +1 -1
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.mts +4 -4
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
- package/RadarChart/RadarChart.d.mts +11 -11
- package/RadarChart/RadarChart.d.ts +11 -11
- package/RadarChart/RadarChart.plugins.d.mts +6 -6
- package/RadarChart/RadarChart.plugins.d.ts +6 -6
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.mts +6 -6
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
- package/RadarChart/RadarDataProvider/radar.types.d.mts +1 -1
- package/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
- package/RadarChart/RadarGrid/CircularRadarGrid.d.mts +1 -1
- package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
- package/RadarChart/RadarGrid/CircularRadarStripes.d.mts +1 -1
- package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
- package/RadarChart/RadarGrid/RadarGrid.d.mts +1 -1
- package/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
- package/RadarChart/RadarGrid/RadarGrid.types.d.mts +1 -1
- package/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
- package/RadarChart/RadarGrid/SharpRadarGrid.d.mts +1 -1
- package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
- package/RadarChart/RadarGrid/SharpRadarStripes.d.mts +1 -1
- package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +3 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +3 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.mts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
- package/RadarChart/seriesConfig/extremums.d.mts +1 -1
- package/RadarChart/seriesConfig/extremums.d.ts +1 -1
- package/RadarChart/seriesConfig/getColor.d.mts +1 -1
- package/RadarChart/seriesConfig/getColor.d.ts +1 -1
- package/RadarChart/seriesConfig/index.d.mts +1 -1
- package/RadarChart/seriesConfig/index.d.ts +1 -1
- package/RadarChart/seriesConfig/legend.d.mts +1 -1
- package/RadarChart/seriesConfig/legend.d.ts +1 -1
- package/RadarChart/seriesConfig/seriesProcessor.d.mts +1 -1
- package/RadarChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/RadarChart/useRadarChartProps.d.mts +7 -7
- package/RadarChart/useRadarChartProps.d.ts +7 -7
- package/ScatterChart/BatchScatter.d.mts +3 -3
- package/ScatterChart/BatchScatter.d.ts +3 -3
- package/ScatterChart/Scatter.d.mts +4 -4
- package/ScatterChart/Scatter.d.ts +4 -4
- package/ScatterChart/ScatterChart.d.mts +13 -13
- package/ScatterChart/ScatterChart.d.ts +13 -13
- package/ScatterChart/ScatterChart.plugins.d.mts +11 -11
- package/ScatterChart/ScatterChart.plugins.d.ts +11 -11
- package/ScatterChart/ScatterMarker.d.mts +1 -1
- package/ScatterChart/ScatterMarker.d.ts +1 -1
- package/ScatterChart/ScatterPlot.d.mts +1 -1
- package/ScatterChart/ScatterPlot.d.ts +1 -1
- package/ScatterChart/async/ScatterAsync.d.mts +7 -1
- package/ScatterChart/async/ScatterAsync.d.ts +7 -1
- package/ScatterChart/async/ScatterAsync.js +32 -10
- package/ScatterChart/async/ScatterAsync.mjs +31 -10
- package/ScatterChart/async/ScatterAsyncBatch.d.mts +13 -8
- package/ScatterChart/async/ScatterAsyncBatch.d.ts +13 -8
- package/ScatterChart/async/ScatterAsyncBatch.js +17 -11
- package/ScatterChart/async/ScatterAsyncBatch.mjs +18 -12
- package/ScatterChart/async/scatterRenderData.selectors.d.mts +22 -25
- package/ScatterChart/async/scatterRenderData.selectors.d.ts +22 -25
- package/ScatterChart/async/scatterRenderData.selectors.js +34 -49
- package/ScatterChart/async/scatterRenderData.selectors.mjs +33 -48
- package/ScatterChart/seriesConfig/extremums.d.mts +1 -1
- package/ScatterChart/seriesConfig/extremums.d.ts +1 -1
- package/ScatterChart/seriesConfig/getColor.d.mts +1 -1
- package/ScatterChart/seriesConfig/getColor.d.ts +1 -1
- package/ScatterChart/seriesConfig/getMarkerSize.d.mts +2 -2
- package/ScatterChart/seriesConfig/getMarkerSize.d.ts +2 -2
- package/ScatterChart/seriesConfig/index.d.mts +1 -1
- package/ScatterChart/seriesConfig/index.d.ts +1 -1
- package/ScatterChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
- package/ScatterChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
- package/ScatterChart/seriesConfig/legend.d.mts +1 -1
- package/ScatterChart/seriesConfig/legend.d.ts +1 -1
- package/ScatterChart/seriesConfig/seriesProcessor.d.mts +1 -1
- package/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/ScatterChart/useScatterChartProps.d.mts +7 -7
- package/ScatterChart/useScatterChartProps.d.ts +7 -7
- package/ScatterChart/useScatterItemPosition.d.mts +1 -1
- package/ScatterChart/useScatterItemPosition.d.ts +1 -1
- package/ScatterChart/useScatterPlotData.d.mts +3 -3
- package/ScatterChart/useScatterPlotData.d.ts +3 -3
- package/SparkLineChart/SparkLineChart.d.mts +3 -3
- package/SparkLineChart/SparkLineChart.d.ts +3 -3
- package/Toolbar/Toolbar.d.mts +1 -1
- package/Toolbar/Toolbar.d.ts +1 -1
- package/Toolbar/ToolbarButton.d.mts +2 -2
- package/Toolbar/ToolbarButton.d.ts +2 -2
- package/colorPalettes/categorical/blueberryTwilight.d.mts +1 -1
- package/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
- package/colorPalettes/categorical/cheerfulFiesta.d.mts +1 -1
- package/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
- package/colorPalettes/categorical/mangoFusion.d.mts +1 -1
- package/colorPalettes/categorical/mangoFusion.d.ts +1 -1
- package/colorPalettes/categorical/rainbowSurge.d.mts +1 -1
- package/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
- package/colorPalettes/sequential/blue.d.mts +1 -1
- package/colorPalettes/sequential/blue.d.ts +1 -1
- package/colorPalettes/sequential/cyan.d.mts +1 -1
- package/colorPalettes/sequential/cyan.d.ts +1 -1
- package/colorPalettes/sequential/green.d.mts +1 -1
- package/colorPalettes/sequential/green.d.ts +1 -1
- package/colorPalettes/sequential/orange.d.mts +1 -1
- package/colorPalettes/sequential/orange.d.ts +1 -1
- package/colorPalettes/sequential/pink.d.mts +1 -1
- package/colorPalettes/sequential/pink.d.ts +1 -1
- package/colorPalettes/sequential/purple.d.mts +1 -1
- package/colorPalettes/sequential/purple.d.ts +1 -1
- package/colorPalettes/sequential/red.d.mts +1 -1
- package/colorPalettes/sequential/red.d.ts +1 -1
- package/colorPalettes/sequential/strawberrySky.d.mts +1 -1
- package/colorPalettes/sequential/strawberrySky.d.ts +1 -1
- package/colorPalettes/sequential/yellow.d.mts +1 -1
- package/colorPalettes/sequential/yellow.d.ts +1 -1
- package/context/ChartsProvider/ChartsProvider.d.mts +1 -1
- package/context/ChartsProvider/ChartsProvider.d.ts +1 -1
- package/context/ChartsProvider/ChartsProvider.types.d.mts +1 -1
- package/context/ChartsProvider/ChartsProvider.types.d.ts +1 -1
- package/context/ChartsProvider/useChartsContext.d.mts +2 -2
- package/context/ChartsProvider/useChartsContext.d.ts +2 -2
- package/context/ChartsSlotsContext.d.mts +1 -1
- package/context/ChartsSlotsContext.d.ts +1 -1
- package/context/useChartApiContext.d.mts +1 -1
- package/context/useChartApiContext.d.ts +1 -1
- package/hooks/index.d.mts +2 -1
- package/hooks/index.d.ts +2 -1
- package/hooks/index.js +10 -2
- package/hooks/index.mjs +2 -1
- package/hooks/useAxis.d.mts +1 -1
- package/hooks/useAxis.d.ts +1 -1
- package/hooks/useAxisCoordinates.d.mts +2 -2
- package/hooks/useAxisCoordinates.d.ts +2 -2
- package/hooks/useAxisTicks.d.mts +2 -2
- package/hooks/useAxisTicks.d.ts +2 -2
- package/hooks/useBarSeries.d.mts +3 -3
- package/hooks/useBarSeries.d.ts +3 -3
- package/hooks/useChartGradientId.d.mts +1 -1
- package/hooks/useChartGradientId.d.ts +1 -1
- package/hooks/useColorScale.d.mts +1 -1
- package/hooks/useColorScale.d.ts +1 -1
- package/hooks/useDataset.d.mts +1 -1
- package/hooks/useDataset.d.ts +1 -1
- package/hooks/useItemHighlightStateGetter.d.mts +1 -1
- package/hooks/useItemHighlightStateGetter.d.ts +1 -1
- package/hooks/useLineSeries.d.mts +3 -3
- package/hooks/useLineSeries.d.ts +3 -3
- package/hooks/usePolarGeometry.d.mts +51 -0
- package/hooks/usePolarGeometry.d.ts +51 -0
- package/hooks/usePolarGeometry.js +47 -0
- package/hooks/usePolarGeometry.mjs +41 -0
- package/hooks/useRadarSeries.d.mts +3 -3
- package/hooks/useRadarSeries.d.ts +3 -3
- package/hooks/useScatterSeries.d.mts +3 -3
- package/hooks/useScatterSeries.d.ts +3 -3
- package/hooks/useTicksGrouped.d.mts +1 -1
- package/hooks/useTicksGrouped.d.ts +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/animation/Transition.mjs +0 -1
- package/internals/animation/animation.d.mts +1 -1
- package/internals/animation/animation.d.ts +1 -1
- package/internals/colorScale.d.mts +2 -2
- package/internals/colorScale.d.ts +2 -2
- package/internals/commonNextFocusItem.d.mts +15 -5
- package/internals/commonNextFocusItem.d.ts +15 -5
- package/internals/commonNextFocusItem.js +6 -0
- package/internals/commonNextFocusItem.mjs +7 -0
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.mts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.mts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.mts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
- package/internals/configInit.d.mts +1 -1
- package/internals/configInit.d.ts +1 -1
- package/internals/createCommonKeyboardFocusHandler.d.mts +5 -1
- package/internals/createCommonKeyboardFocusHandler.d.ts +5 -1
- package/internals/createSvgIcon.d.mts +1 -1
- package/internals/createSvgIcon.d.ts +1 -1
- package/internals/dateHelpers.d.mts +3 -3
- package/internals/dateHelpers.d.ts +3 -3
- package/internals/defaultValueFormatters.d.mts +1 -1
- package/internals/defaultValueFormatters.d.ts +1 -1
- package/internals/getCurve.d.mts +1 -1
- package/internals/getCurve.d.ts +1 -1
- package/internals/getGroupingConfig.d.mts +6 -0
- package/internals/getGroupingConfig.d.ts +6 -0
- package/internals/getGroupingConfig.js +20 -0
- package/internals/getGroupingConfig.mjs +12 -0
- package/internals/getScale.d.mts +2 -2
- package/internals/getScale.d.ts +2 -2
- package/internals/getSeriesColorFn.d.mts +2 -2
- package/internals/getSeriesColorFn.d.ts +2 -2
- package/internals/invertScale.d.mts +1 -1
- package/internals/invertScale.d.ts +1 -1
- package/internals/invertTextAnchor.d.mts +1 -1
- package/internals/invertTextAnchor.d.ts +1 -1
- package/internals/isCartesian.d.mts +1 -1
- package/internals/isCartesian.d.ts +1 -1
- package/internals/isPolar.d.mts +1 -1
- package/internals/isPolar.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 +12 -12
- package/internals/plugins/allPlugins.d.ts +12 -12
- package/internals/plugins/corePlugins/corePlugins.d.mts +8 -8
- package/internals/plugins/corePlugins/corePlugins.d.ts +8 -8
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartId/useChartId.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +5 -5
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +5 -5
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +4 -3
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +4 -3
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.mts +6 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +6 -6
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +19 -13
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +19 -13
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +22 -11
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +22 -11
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.mts +5 -5
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +8 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +8 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.mjs +0 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.mts +7 -7
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +7 -7
- package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +3 -7
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +3 -7
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.mts +3 -4
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.ts +3 -4
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.mts +11 -2
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.ts +11 -2
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.d.mts +6 -10
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.d.ts +6 -10
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.js +48 -27
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.mjs +49 -28
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.mts +11 -8
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.ts +11 -8
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.js +30 -41
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.mjs +29 -41
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.types.d.mts +2 -2
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.types.d.ts +2 -2
- package/internals/plugins/models/plugin.d.mts +2 -2
- package/internals/plugins/models/plugin.d.ts +2 -2
- package/internals/plugins/utils/selectors.d.mts +2 -2
- package/internals/plugins/utils/selectors.d.ts +2 -2
- package/internals/plugins/utils/useLazySelectorEffect.d.mts +1 -1
- package/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
- package/internals/processLineLikeSeries.d.mts +1 -1
- package/internals/processLineLikeSeries.d.ts +1 -1
- package/internals/scaleGuards.d.mts +1 -1
- package/internals/scaleGuards.d.ts +1 -1
- package/internals/scales/scaleBand.js +4 -1
- package/internals/scales/scaleBand.mjs +4 -1
- package/internals/scales/scaleSymlog.d.mts +1 -1
- package/internals/scales/scaleSymlog.d.ts +1 -1
- package/internals/seriesSelectorOfType.d.mts +2 -2
- package/internals/seriesSelectorOfType.d.ts +2 -2
- package/internals/shallowEqual.d.mts +1 -1
- package/internals/shallowEqual.d.ts +1 -1
- package/internals/shallowEqual.js +1 -1
- package/internals/shallowEqual.mjs +1 -1
- package/internals/sizeScale.d.mts +2 -2
- package/internals/sizeScale.d.ts +2 -2
- package/internals/stacking/stackSeries.d.mts +3 -2
- package/internals/stacking/stackSeries.d.ts +3 -2
- package/internals/store/extractPluginParamsFromProps.d.mts +3 -3
- package/internals/store/extractPluginParamsFromProps.d.ts +3 -3
- package/internals/store/useCharts.d.mts +2 -2
- package/internals/store/useCharts.d.ts +2 -2
- package/internals/store/useCharts.types.d.mts +1 -1
- package/internals/store/useCharts.types.d.ts +1 -1
- package/internals/store/useStore.d.mts +2 -2
- package/internals/store/useStore.d.ts +2 -2
- package/locales/elGR.d.mts +1 -1
- package/locales/elGR.d.ts +1 -1
- package/locales/enUS.d.mts +1 -1
- package/locales/enUS.d.ts +1 -1
- package/locales/frFR.d.mts +1 -1
- package/locales/frFR.d.ts +1 -1
- package/locales/nbNO.d.mts +1 -1
- package/locales/nbNO.d.ts +1 -1
- package/locales/ptBR.d.mts +1 -1
- package/locales/ptBR.d.ts +1 -1
- package/locales/ptPT.d.mts +1 -1
- package/locales/ptPT.d.ts +1 -1
- package/locales/svSE.d.mts +1 -1
- package/locales/svSE.d.ts +1 -1
- package/locales/utils/chartsLocaleTextApi.d.mts +1 -1
- package/locales/utils/chartsLocaleTextApi.d.ts +1 -1
- package/locales/utils/getChartsLocalization.d.mts +1 -1
- package/locales/utils/getChartsLocalization.d.ts +1 -1
- package/models/axis.d.mts +6 -6
- package/models/axis.d.ts +6 -6
- package/models/seriesType/bar.d.mts +4 -4
- package/models/seriesType/bar.d.ts +4 -4
- package/models/seriesType/line.d.mts +3 -3
- package/models/seriesType/line.d.ts +3 -3
- package/models/seriesType/pie.d.mts +3 -3
- package/models/seriesType/pie.d.ts +3 -3
- package/models/seriesType/radar.d.mts +1 -1
- package/models/seriesType/radar.d.ts +1 -1
- package/models/seriesType/scatter.d.mts +3 -3
- package/models/seriesType/scatter.d.ts +3 -3
- package/models/slots/chartsBaseSlots.d.mts +1 -1
- package/models/slots/chartsBaseSlots.d.ts +1 -1
- package/models/z-axis.d.mts +1 -1
- package/models/z-axis.d.ts +1 -1
- package/package.json +5 -5
- package/themeAugmentation/components.d.mts +1 -1
- package/themeAugmentation/components.d.ts +1 -1
- package/themeAugmentation/overrides.d.mts +7 -7
- package/themeAugmentation/overrides.d.ts +7 -7
- package/themeAugmentation/props.d.mts +15 -15
- package/themeAugmentation/props.d.ts +15 -15
- package/utils/niceDomain.d.mts +2 -2
- package/utils/niceDomain.d.ts +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ProcessedSeries } from "../internals/plugins/corePlugins/useChartSeries/useChartSeries.types.mjs";
|
|
2
|
+
import type { SeriesId } from "../models/seriesType/common.mjs";
|
|
3
|
+
import type { ChartSeriesDefaultized } from "../models/seriesType/config.mjs";
|
|
4
4
|
export type UseScatterSeriesReturnValue = ChartSeriesDefaultized<'scatter'>;
|
|
5
5
|
export type UseScatterSeriesContextReturnValue = ProcessedSeries['scatter'];
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ProcessedSeries } from "../internals/plugins/corePlugins/useChartSeries/useChartSeries.types.js";
|
|
2
|
+
import type { SeriesId } from "../models/seriesType/common.js";
|
|
3
|
+
import type { ChartSeriesDefaultized } from "../models/seriesType/config.js";
|
|
4
4
|
export type UseScatterSeriesReturnValue = ChartSeriesDefaultized<'scatter'>;
|
|
5
5
|
export type UseScatterSeriesContextReturnValue = ProcessedSeries['scatter'];
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ScaleBand, ScalePoint } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
-
import {
|
|
2
|
+
import type { AxisConfig, AxisGroup } from "../models/axis.mjs";
|
|
3
3
|
import type { TickParams } from "./useTicks.mjs";
|
|
4
4
|
export type GroupedTickItemType = {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ScaleBand, ScalePoint } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
-
import {
|
|
2
|
+
import type { AxisConfig, AxisGroup } from "../models/axis.js";
|
|
3
3
|
import type { TickParams } from "./useTicks.js";
|
|
4
4
|
export type GroupedTickItemType = {
|
|
5
5
|
/**
|
package/index.js
CHANGED
package/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const ANIMATION_DURATION_MS = 300;
|
|
2
2
|
export declare const ANIMATION_TIMING_FUNCTION = "cubic-bezier(0.66, 0, 0.34, 1)";
|
|
3
|
-
export declare const ANIMATION_TIMING_FUNCTION_JS:
|
|
3
|
+
export declare const ANIMATION_TIMING_FUNCTION_JS: (x: number) => number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const ANIMATION_DURATION_MS = 300;
|
|
2
2
|
export declare const ANIMATION_TIMING_FUNCTION = "cubic-bezier(0.66, 0, 0.34, 1)";
|
|
3
|
-
export declare const ANIMATION_TIMING_FUNCTION_JS:
|
|
3
|
+
export declare const ANIMATION_TIMING_FUNCTION_JS: (x: number) => number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ScaleOrdinal } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { ContinuousColorConfig, PiecewiseColorConfig, OrdinalColorConfig } from "../models/colorMapping.mjs";
|
|
3
3
|
export declare function getSequentialColorScale<Value extends number | Date>(config: ContinuousColorConfig<Value> | PiecewiseColorConfig<Value>): import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<Value, string, string | null>;
|
|
4
4
|
export declare function getOrdinalColorScale<Value extends number | Date | string>(config: OrdinalColorConfig<Value>): ScaleOrdinal<Value, string, null | string> | ScaleOrdinal<number, string, null | string>;
|
|
5
5
|
export declare function getColorScale(config: ContinuousColorConfig | PiecewiseColorConfig | OrdinalColorConfig): ScaleOrdinal<string | number | Date, string, string | null> | ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string, string | null>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ScaleOrdinal } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { ContinuousColorConfig, PiecewiseColorConfig, OrdinalColorConfig } from "../models/colorMapping.js";
|
|
3
3
|
export declare function getSequentialColorScale<Value extends number | Date>(config: ContinuousColorConfig<Value> | PiecewiseColorConfig<Value>): import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<Value, string, string | null>;
|
|
4
4
|
export declare function getOrdinalColorScale<Value extends number | Date | string>(config: OrdinalColorConfig<Value>): ScaleOrdinal<Value, string, null | string> | ScaleOrdinal<number, string, null | string>;
|
|
5
5
|
export declare function getColorScale(config: ContinuousColorConfig | PiecewiseColorConfig | OrdinalColorConfig): ScaleOrdinal<string | number | Date, string, string | null> | ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string, string | null>;
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
import type { UseChartKeyboardNavigationSignature } from "./plugins/featurePlugins/useChartKeyboardNavigation/index.mjs";
|
|
2
2
|
import type { ChartState } from "./plugins/models/chart.mjs";
|
|
3
3
|
import type { ChartSeriesType } from "../models/seriesType/config.mjs";
|
|
4
|
-
import type { SeriesId
|
|
4
|
+
import type { SeriesId } from "../models/seriesType/index.mjs";
|
|
5
5
|
type ReturnedItem<OutSeriesType extends ChartSeriesType> = {
|
|
6
6
|
type: OutSeriesType;
|
|
7
7
|
seriesId: SeriesId;
|
|
8
8
|
dataIndex: number;
|
|
9
9
|
} | null;
|
|
10
|
+
/**
|
|
11
|
+
* The item the navigators work on. Decoupled from the public `FocusedItemIdentifier` because
|
|
12
|
+
* navigation is position-based: series keyed differently (e.g. `mapShape`, keyed by `name`)
|
|
13
|
+
* reuse these helpers by translating to a `dataIndex` at their boundary.
|
|
14
|
+
*/
|
|
15
|
+
type WorkingItem = {
|
|
16
|
+
type: Exclude<ChartSeriesType, 'sankey' | 'heatmap'>;
|
|
17
|
+
seriesId: SeriesId;
|
|
18
|
+
dataIndex?: number;
|
|
19
|
+
};
|
|
10
20
|
type StateParameters<SeriesType extends ChartSeriesType> = Pick<ChartState<[UseChartKeyboardNavigationSignature], [], SeriesType>, 'series'>;
|
|
11
21
|
export declare function createGetNextIndexFocusedItem<InSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, OutSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = InSeriesType>(
|
|
12
22
|
/**
|
|
@@ -20,7 +30,7 @@ allowCycles?: boolean,
|
|
|
20
30
|
/**
|
|
21
31
|
* If true, series max index is defined by the current series length and not all series.
|
|
22
32
|
*/
|
|
23
|
-
useCurrentSeriesMaxLength?: boolean): (currentItem:
|
|
33
|
+
useCurrentSeriesMaxLength?: boolean): (currentItem: WorkingItem | null, state: StateParameters<InSeriesType>) => ReturnedItem<OutSeriesType>;
|
|
24
34
|
export declare function createGetPreviousIndexFocusedItem<InSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, OutSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = InSeriesType>(
|
|
25
35
|
/**
|
|
26
36
|
* The set of series types compatible with this navigation action.
|
|
@@ -33,15 +43,15 @@ allowCycles?: boolean,
|
|
|
33
43
|
/**
|
|
34
44
|
* If true, series max index is defined by the current series length and not all series.
|
|
35
45
|
*/
|
|
36
|
-
useCurrentSeriesMaxLength?: boolean): (currentItem:
|
|
46
|
+
useCurrentSeriesMaxLength?: boolean): (currentItem: WorkingItem | null, state: StateParameters<InSeriesType>) => ReturnedItem<OutSeriesType>;
|
|
37
47
|
export declare function createGetNextSeriesFocusedItem<InSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, OutSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = InSeriesType>(
|
|
38
48
|
/**
|
|
39
49
|
* The set of series types compatible with this navigation action.
|
|
40
50
|
*/
|
|
41
|
-
compatibleSeriesTypes: Set<OutSeriesType>): (currentItem:
|
|
51
|
+
compatibleSeriesTypes: Set<OutSeriesType>): (currentItem: WorkingItem | null, state: StateParameters<InSeriesType>) => ReturnedItem<OutSeriesType>;
|
|
42
52
|
export declare function createGetPreviousSeriesFocusedItem<InSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, OutSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = InSeriesType>(
|
|
43
53
|
/**
|
|
44
54
|
* The set of series types compatible with this navigation action.
|
|
45
55
|
*/
|
|
46
|
-
compatibleSeriesTypes: Set<OutSeriesType>): (currentItem:
|
|
56
|
+
compatibleSeriesTypes: Set<OutSeriesType>): (currentItem: WorkingItem | null, state: StateParameters<InSeriesType>) => ReturnedItem<OutSeriesType>;
|
|
47
57
|
export {};
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
import type { UseChartKeyboardNavigationSignature } from "./plugins/featurePlugins/useChartKeyboardNavigation/index.js";
|
|
2
2
|
import type { ChartState } from "./plugins/models/chart.js";
|
|
3
3
|
import type { ChartSeriesType } from "../models/seriesType/config.js";
|
|
4
|
-
import type { SeriesId
|
|
4
|
+
import type { SeriesId } from "../models/seriesType/index.js";
|
|
5
5
|
type ReturnedItem<OutSeriesType extends ChartSeriesType> = {
|
|
6
6
|
type: OutSeriesType;
|
|
7
7
|
seriesId: SeriesId;
|
|
8
8
|
dataIndex: number;
|
|
9
9
|
} | null;
|
|
10
|
+
/**
|
|
11
|
+
* The item the navigators work on. Decoupled from the public `FocusedItemIdentifier` because
|
|
12
|
+
* navigation is position-based: series keyed differently (e.g. `mapShape`, keyed by `name`)
|
|
13
|
+
* reuse these helpers by translating to a `dataIndex` at their boundary.
|
|
14
|
+
*/
|
|
15
|
+
type WorkingItem = {
|
|
16
|
+
type: Exclude<ChartSeriesType, 'sankey' | 'heatmap'>;
|
|
17
|
+
seriesId: SeriesId;
|
|
18
|
+
dataIndex?: number;
|
|
19
|
+
};
|
|
10
20
|
type StateParameters<SeriesType extends ChartSeriesType> = Pick<ChartState<[UseChartKeyboardNavigationSignature], [], SeriesType>, 'series'>;
|
|
11
21
|
export declare function createGetNextIndexFocusedItem<InSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, OutSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = InSeriesType>(
|
|
12
22
|
/**
|
|
@@ -20,7 +30,7 @@ allowCycles?: boolean,
|
|
|
20
30
|
/**
|
|
21
31
|
* If true, series max index is defined by the current series length and not all series.
|
|
22
32
|
*/
|
|
23
|
-
useCurrentSeriesMaxLength?: boolean): (currentItem:
|
|
33
|
+
useCurrentSeriesMaxLength?: boolean): (currentItem: WorkingItem | null, state: StateParameters<InSeriesType>) => ReturnedItem<OutSeriesType>;
|
|
24
34
|
export declare function createGetPreviousIndexFocusedItem<InSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, OutSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = InSeriesType>(
|
|
25
35
|
/**
|
|
26
36
|
* The set of series types compatible with this navigation action.
|
|
@@ -33,15 +43,15 @@ allowCycles?: boolean,
|
|
|
33
43
|
/**
|
|
34
44
|
* If true, series max index is defined by the current series length and not all series.
|
|
35
45
|
*/
|
|
36
|
-
useCurrentSeriesMaxLength?: boolean): (currentItem:
|
|
46
|
+
useCurrentSeriesMaxLength?: boolean): (currentItem: WorkingItem | null, state: StateParameters<InSeriesType>) => ReturnedItem<OutSeriesType>;
|
|
37
47
|
export declare function createGetNextSeriesFocusedItem<InSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, OutSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = InSeriesType>(
|
|
38
48
|
/**
|
|
39
49
|
* The set of series types compatible with this navigation action.
|
|
40
50
|
*/
|
|
41
|
-
compatibleSeriesTypes: Set<OutSeriesType>): (currentItem:
|
|
51
|
+
compatibleSeriesTypes: Set<OutSeriesType>): (currentItem: WorkingItem | null, state: StateParameters<InSeriesType>) => ReturnedItem<OutSeriesType>;
|
|
42
52
|
export declare function createGetPreviousSeriesFocusedItem<InSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, OutSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = InSeriesType>(
|
|
43
53
|
/**
|
|
44
54
|
* The set of series types compatible with this navigation action.
|
|
45
55
|
*/
|
|
46
|
-
compatibleSeriesTypes: Set<OutSeriesType>): (currentItem:
|
|
56
|
+
compatibleSeriesTypes: Set<OutSeriesType>): (currentItem: WorkingItem | null, state: StateParameters<InSeriesType>) => ReturnedItem<OutSeriesType>;
|
|
47
57
|
export {};
|
|
@@ -13,6 +13,12 @@ var _getNextNonEmptySeries = require("./plugins/featurePlugins/useChartKeyboardN
|
|
|
13
13
|
var _findVisibleDataIndex = require("./plugins/featurePlugins/useChartKeyboardNavigation/utils/findVisibleDataIndex");
|
|
14
14
|
var _seriesHasData = require("./seriesHasData");
|
|
15
15
|
var _useChartSeries = require("./plugins/corePlugins/useChartSeries/useChartSeries.selectors");
|
|
16
|
+
/**
|
|
17
|
+
* The item the navigators work on. Decoupled from the public `FocusedItemIdentifier` because
|
|
18
|
+
* navigation is position-based: series keyed differently (e.g. `mapShape`, keyed by `name`)
|
|
19
|
+
* reuse these helpers by translating to a `dataIndex` at their boundary.
|
|
20
|
+
*/
|
|
21
|
+
|
|
16
22
|
function isSeriesHidden(processedSeries, type, seriesId) {
|
|
17
23
|
const seriesItem = processedSeries[type]?.series[seriesId];
|
|
18
24
|
return Boolean(seriesItem && 'hidden' in seriesItem && seriesItem.hidden);
|
|
@@ -4,6 +4,13 @@ import { getNextNonEmptySeries } from "./plugins/featurePlugins/useChartKeyboard
|
|
|
4
4
|
import { findVisibleDataIndex } from "./plugins/featurePlugins/useChartKeyboardNavigation/utils/findVisibleDataIndex.mjs";
|
|
5
5
|
import { seriesHasData } from "./seriesHasData.mjs";
|
|
6
6
|
import { selectorChartSeriesProcessed } from "./plugins/corePlugins/useChartSeries/useChartSeries.selectors.mjs";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The item the navigators work on. Decoupled from the public `FocusedItemIdentifier` because
|
|
10
|
+
* navigation is position-based: series keyed differently (e.g. `mapShape`, keyed by `name`)
|
|
11
|
+
* reuse these helpers by translating to a `dataIndex` at their boundary.
|
|
12
|
+
*/
|
|
13
|
+
|
|
7
14
|
function isSeriesHidden(processedSeries, type, seriesId) {
|
|
8
15
|
const seriesItem = processedSeries[type]?.series[seriesId];
|
|
9
16
|
return Boolean(seriesItem && 'hidden' in seriesItem && seriesItem.hidden);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CartesianChartSeriesType, PolarChartSeriesType } from "../models/seriesType/config.mjs";
|
|
2
2
|
declare class CartesianSeriesTypes {
|
|
3
3
|
types: Set<CartesianChartSeriesType>;
|
|
4
4
|
constructor();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CartesianChartSeriesType, PolarChartSeriesType } from "../models/seriesType/config.js";
|
|
2
2
|
declare class CartesianSeriesTypes {
|
|
3
3
|
types: Set<CartesianChartSeriesType>;
|
|
4
4
|
constructor();
|
|
@@ -2,7 +2,11 @@ import type { ChartSeriesType } from "../models/seriesType/config.mjs";
|
|
|
2
2
|
/**
|
|
3
3
|
* Create a keyboard focus handler for common use cases where focused item are defined by the series is and data index.
|
|
4
4
|
*/
|
|
5
|
-
export declare function createCommonKeyboardFocusHandler<SeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, TInputSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = SeriesType>(outSeriesTypes: Set<SeriesType>, allowCycles?: boolean, useCurrentSeriesMaxLength?: boolean): (event: KeyboardEvent) => ((currentItem:
|
|
5
|
+
export declare function createCommonKeyboardFocusHandler<SeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, TInputSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = SeriesType>(outSeriesTypes: Set<SeriesType>, allowCycles?: boolean, useCurrentSeriesMaxLength?: boolean): (event: KeyboardEvent) => ((currentItem: {
|
|
6
|
+
type: Exclude<ChartSeriesType, "sankey" | "heatmap">;
|
|
7
|
+
seriesId: import("../index.mjs").SeriesId;
|
|
8
|
+
dataIndex?: number;
|
|
9
|
+
} | null, state: {
|
|
6
10
|
series: {
|
|
7
11
|
defaultizedSeries: import("./plugins/corePlugins/useChartSeries/useChartSeries.types.mjs").DefaultizedSeriesGroups<TInputSeriesType>;
|
|
8
12
|
idToType: import("./index.mjs").SeriesIdToType;
|
|
@@ -2,7 +2,11 @@ import type { ChartSeriesType } from "../models/seriesType/config.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Create a keyboard focus handler for common use cases where focused item are defined by the series is and data index.
|
|
4
4
|
*/
|
|
5
|
-
export declare function createCommonKeyboardFocusHandler<SeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, TInputSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = SeriesType>(outSeriesTypes: Set<SeriesType>, allowCycles?: boolean, useCurrentSeriesMaxLength?: boolean): (event: KeyboardEvent) => ((currentItem:
|
|
5
|
+
export declare function createCommonKeyboardFocusHandler<SeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, TInputSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = SeriesType>(outSeriesTypes: Set<SeriesType>, allowCycles?: boolean, useCurrentSeriesMaxLength?: boolean): (event: KeyboardEvent) => ((currentItem: {
|
|
6
|
+
type: Exclude<ChartSeriesType, "sankey" | "heatmap">;
|
|
7
|
+
seriesId: import("../index.js").SeriesId;
|
|
8
|
+
dataIndex?: number;
|
|
9
|
+
} | null, state: {
|
|
6
10
|
series: {
|
|
7
11
|
defaultizedSeries: import("./plugins/corePlugins/useChartSeries/useChartSeries.types.js").DefaultizedSeriesGroups<TInputSeriesType>;
|
|
8
12
|
idToType: import("./index.js").SeriesIdToType;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartBaseIconProps } from "../models/slots/chartsBaseSlotProps.mjs";
|
|
3
3
|
export declare const createSvgIcon: (path: React.ReactNode, displayName?: string) => (props: ChartBaseIconProps) => React.ReactNode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartBaseIconProps } from "../models/slots/chartsBaseSlotProps.js";
|
|
3
3
|
export declare const createSvgIcon: (path: React.ReactNode, displayName?: string) => (props: ChartBaseIconProps) => React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { AxisConfig } from "../models/index.mjs";
|
|
3
|
+
import type { ChartsAxisProps } from "../models/axis.mjs";
|
|
4
4
|
/**
|
|
5
5
|
* Checks if the provided data array contains Date objects.
|
|
6
6
|
* @param data The data array to check.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { AxisConfig } from "../models/index.js";
|
|
3
|
+
import type { ChartsAxisProps } from "../models/axis.js";
|
|
4
4
|
/**
|
|
5
5
|
* Checks if the provided data array contains Date objects.
|
|
6
6
|
* @param data The data array to check.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AxisValueFormatterContext, ContinuousScaleName, D3ContinuousScale } from "../models/axis.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a default formatter function for continuous scales (e.g., linear, sqrt, log).
|
|
4
4
|
* @returns A formatter function for continuous values.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AxisValueFormatterContext, ContinuousScaleName, D3ContinuousScale } from "../models/axis.js";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a default formatter function for continuous scales (e.g., linear, sqrt, log).
|
|
4
4
|
* @returns A formatter function for continuous values.
|
package/internals/getCurve.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CurveType } from "../models/curve.mjs";
|
|
2
2
|
export declare function getCurveFactory(curveType?: CurveType): import("@mui/x-charts-vendor/d3-shape").CurveFactory;
|
package/internals/getCurve.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CurveType } from "../models/curve.js";
|
|
2
2
|
export declare function getCurveFactory(curveType?: CurveType): import("@mui/x-charts-vendor/d3-shape").CurveFactory;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AxisGroup } from "../models/axis.mjs";
|
|
2
|
+
export declare const getGroupingConfig: (groups: AxisGroup[], groupIndex: number, tickSize: number | undefined, computedGroupTickSizes?: number[]) => {
|
|
3
|
+
tickSize: number;
|
|
4
|
+
getValue: (value: any, dataIndex: number) => string | number | Date;
|
|
5
|
+
tickLabelStyle?: import("../index.mjs").ChartsTextProps["style"];
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AxisGroup } from "../models/axis.js";
|
|
2
|
+
export declare const getGroupingConfig: (groups: AxisGroup[], groupIndex: number, tickSize: number | undefined, computedGroupTickSizes?: number[]) => {
|
|
3
|
+
tickSize: number;
|
|
4
|
+
getValue: (value: any, dataIndex: number) => string | number | Date;
|
|
5
|
+
tickLabelStyle?: import("../index.js").ChartsTextProps["style"];
|
|
6
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.getGroupingConfig = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
const DEFAULT_GROUPING_CONFIG = {
|
|
10
|
+
tickSize: 6
|
|
11
|
+
};
|
|
12
|
+
const getGroupingConfig = (groups, groupIndex, tickSize, computedGroupTickSizes) => {
|
|
13
|
+
const config = groups[groupIndex] ?? {};
|
|
14
|
+
const defaultTickSize = tickSize ?? DEFAULT_GROUPING_CONFIG.tickSize;
|
|
15
|
+
const calculatedTickSize = defaultTickSize * groupIndex * 2 + defaultTickSize;
|
|
16
|
+
return (0, _extends2.default)({}, DEFAULT_GROUPING_CONFIG, config, {
|
|
17
|
+
tickSize: computedGroupTickSizes?.[groupIndex] ?? config.tickSize ?? calculatedTickSize
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
exports.getGroupingConfig = getGroupingConfig;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
const DEFAULT_GROUPING_CONFIG = {
|
|
3
|
+
tickSize: 6
|
|
4
|
+
};
|
|
5
|
+
export const getGroupingConfig = (groups, groupIndex, tickSize, computedGroupTickSizes) => {
|
|
6
|
+
const config = groups[groupIndex] ?? {};
|
|
7
|
+
const defaultTickSize = tickSize ?? DEFAULT_GROUPING_CONFIG.tickSize;
|
|
8
|
+
const calculatedTickSize = defaultTickSize * groupIndex * 2 + defaultTickSize;
|
|
9
|
+
return _extends({}, DEFAULT_GROUPING_CONFIG, config, {
|
|
10
|
+
tickSize: computedGroupTickSizes?.[groupIndex] ?? config.tickSize ?? calculatedTickSize
|
|
11
|
+
});
|
|
12
|
+
};
|
package/internals/getScale.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { ContinuousScaleName, D3ContinuousScale } from "../models/axis.mjs";
|
|
3
3
|
export declare function getScale<Domain extends NumberValue = any, Range = any>(scaleType: ContinuousScaleName, domain: Iterable<Domain>, range: readonly Range[]): D3ContinuousScale<Range, Range>;
|
package/internals/getScale.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { ContinuousScaleName, D3ContinuousScale } from "../models/axis.js";
|
|
3
3
|
export declare function getScale<Domain extends NumberValue = any, Range = any>(scaleType: ContinuousScaleName, domain: Iterable<Domain>, range: readonly Range[]): D3ContinuousScale<Range, Range>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ColorCallbackValue, SeriesColor } from "../models/seriesType/common.mjs";
|
|
2
|
+
import type { ChartSeriesType, ChartsSeriesConfig } from "../models/seriesType/config.mjs";
|
|
3
3
|
export declare function getSeriesColorFn<TValue extends ChartsSeriesConfig[ChartSeriesType]['valueType']>(series: {
|
|
4
4
|
color: NonNullable<SeriesColor<TValue>['color']>;
|
|
5
5
|
colorGetter?: SeriesColor<TValue>['colorGetter'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ColorCallbackValue, SeriesColor } from "../models/seriesType/common.js";
|
|
2
|
+
import type { ChartSeriesType, ChartsSeriesConfig } from "../models/seriesType/config.js";
|
|
3
3
|
export declare function getSeriesColorFn<TValue extends ChartsSeriesConfig[ChartSeriesType]['valueType']>(series: {
|
|
4
4
|
color: NonNullable<SeriesColor<TValue>['color']>;
|
|
5
5
|
colorGetter?: SeriesColor<TValue>['colorGetter'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { D3OrdinalScale, D3Scale } from "../models/axis.mjs";
|
|
2
2
|
export declare function invertScale<T>(scale: D3Scale, data: readonly T[], value: number): number | Date | T;
|
|
3
3
|
/**
|
|
4
4
|
* Get the data index for a given value on an ordinal scale.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { D3OrdinalScale, D3Scale } from "../models/axis.js";
|
|
2
2
|
export declare function invertScale<T>(scale: D3Scale, data: readonly T[], value: number): number | Date | T;
|
|
3
3
|
/**
|
|
4
4
|
* Get the data index for a given value on an ordinal scale.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartsTextStyle } from "../ChartsText/index.mjs";
|
|
2
2
|
export declare function invertTextAnchor(textAnchor: ChartsTextStyle['textAnchor']): ChartsTextStyle['textAnchor'];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartsTextStyle } from "../ChartsText/index.js";
|
|
2
2
|
export declare function invertTextAnchor(textAnchor: ChartsTextStyle['textAnchor']): ChartsTextStyle['textAnchor'];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CartesianChartSeriesType, ChartSeriesDefaultized, ChartSeriesType } from "../models/seriesType/config.mjs";
|
|
2
2
|
export declare function isCartesianSeriesType(seriesType: string): seriesType is CartesianChartSeriesType;
|
|
3
3
|
export declare function isCartesianSeries(series: ChartSeriesDefaultized<ChartSeriesType>): series is ChartSeriesDefaultized<CartesianChartSeriesType>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CartesianChartSeriesType, ChartSeriesDefaultized, ChartSeriesType } from "../models/seriesType/config.js";
|
|
2
2
|
export declare function isCartesianSeriesType(seriesType: string): seriesType is CartesianChartSeriesType;
|
|
3
3
|
export declare function isCartesianSeries(series: ChartSeriesDefaultized<ChartSeriesType>): series is ChartSeriesDefaultized<CartesianChartSeriesType>;
|
package/internals/isPolar.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartSeriesType, ChartSeriesDefaultized, PolarChartSeriesType } from "../models/seriesType/config.mjs";
|
|
2
2
|
export declare function isPolarSeriesType(seriesType: string): seriesType is PolarChartSeriesType;
|
|
3
3
|
export declare function isPolarSeries(series: ChartSeriesDefaultized<ChartSeriesType>): series is ChartSeriesDefaultized<PolarChartSeriesType>;
|
package/internals/isPolar.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartSeriesType, ChartSeriesDefaultized, PolarChartSeriesType } from "../models/seriesType/config.js";
|
|
2
2
|
export declare function isPolarSeriesType(seriesType: string): seriesType is PolarChartSeriesType;
|
|
3
3
|
export declare function isPolarSeries(series: ChartSeriesDefaultized<ChartSeriesType>): series is ChartSeriesDefaultized<PolarChartSeriesType>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ChartsBaseSlots } from "../../models/slots/chartsBaseSlots.mjs";
|
|
3
|
+
import type { ChartsIconSlots } from "../../models/slots/chartsIconSlots.mjs";
|
|
4
4
|
export type ChartsSlots = ChartsBaseSlots & ChartsIconSlots;
|
|
5
5
|
export type ChartsSlotProps = { [key in keyof ChartsSlots]: React.ComponentProps<ChartsSlots[key]> };
|
|
6
6
|
export declare const defaultSlotsMaterial: ChartsSlots;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ChartsBaseSlots } from "../../models/slots/chartsBaseSlots.js";
|
|
3
|
+
import type { ChartsIconSlots } from "../../models/slots/chartsIconSlots.js";
|
|
4
4
|
export type ChartsSlots = ChartsBaseSlots & ChartsIconSlots;
|
|
5
5
|
export type ChartsSlotProps = { [key in keyof ChartsSlots]: React.ComponentProps<ChartsSlots[key]> };
|
|
6
6
|
export declare const defaultSlotsMaterial: ChartsSlots;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
1
|
+
import type { ChartSeriesType } from "../../models/seriesType/config.mjs";
|
|
2
|
+
import type { UseChartCartesianAxisSignature } from "./featurePlugins/useChartCartesianAxis/index.mjs";
|
|
3
|
+
import type { UseChartHighlightSignature } from "./featurePlugins/useChartHighlight/index.mjs";
|
|
4
|
+
import type { UseChartInteractionSignature } from "./featurePlugins/useChartInteraction/index.mjs";
|
|
5
|
+
import type { UseChartKeyboardNavigationSignature } from "./featurePlugins/useChartKeyboardNavigation/index.mjs";
|
|
6
|
+
import type { UseChartPolarAxisSignature } from "./featurePlugins/useChartPolarAxis/index.mjs";
|
|
7
|
+
import type { UseChartClosestPointSignature } from "./featurePlugins/useChartClosestPoint/index.mjs";
|
|
8
|
+
import type { UseChartZAxisSignature } from "./featurePlugins/useChartZAxis/index.mjs";
|
|
9
|
+
import type { UseChartBrushSignature } from "./featurePlugins/useChartBrush/index.mjs";
|
|
10
|
+
import type { UseChartVisibilityManagerSignature } from "./featurePlugins/useChartVisibilityManager/index.mjs";
|
|
11
|
+
import type { UseChartTooltipSignature } from "./featurePlugins/useChartTooltip/index.mjs";
|
|
12
|
+
import type { UseProgressiveRenderingSignature } from "./featurePlugins/useProgressiveRendering/index.mjs";
|
|
13
13
|
export type AllPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature, UseProgressiveRenderingSignature];
|
|
14
14
|
export type DefaultPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature, UseProgressiveRenderingSignature];
|
|
15
15
|
export declare const DEFAULT_PLUGINS: readonly [import("./models/index.mjs").ChartPlugin<UseChartZAxisSignature>, import("./models/index.mjs").ChartPlugin<UseChartBrushSignature>, import("./models/index.mjs").ChartPlugin<UseChartTooltipSignature<any>>, import("./models/index.mjs").ChartPlugin<UseChartInteractionSignature>, import("./models/index.mjs").ChartPlugin<UseChartCartesianAxisSignature<any>>, import("./models/index.mjs").ChartPlugin<UseChartHighlightSignature<any>>, import("./models/index.mjs").ChartPlugin<UseChartVisibilityManagerSignature<any>>, import("./models/index.mjs").ChartPlugin<UseChartClosestPointSignature>, import("./models/index.mjs").ChartPlugin<UseChartKeyboardNavigationSignature>, import("./models/index.mjs").ChartPlugin<UseProgressiveRenderingSignature>];
|