@mui/x-charts 9.0.0-alpha.3 → 9.0.0-beta.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/BarChart.d.mts +2 -2
- package/BarChart/BarChart.d.ts +2 -2
- package/BarChart/BarChart.js +55 -34
- package/BarChart/BarChart.mjs +55 -34
- package/BarChart/BarElement.js +4 -8
- package/BarChart/BarElement.mjs +4 -8
- package/BarChart/BarLabel/BarLabel.js +1 -11
- package/BarChart/BarLabel/BarLabel.mjs +1 -11
- package/BarChart/BarLabel/BarLabelItem.js +1 -3
- package/BarChart/BarLabel/BarLabelItem.mjs +1 -3
- package/BarChart/BarLabel/BarLabelPlot.d.mts +0 -2
- package/BarChart/BarLabel/BarLabelPlot.d.ts +0 -2
- package/BarChart/BarLabel/BarLabelPlot.js +2 -3
- package/BarChart/BarLabel/BarLabelPlot.mjs +2 -3
- package/BarChart/BarLabel/index.d.mts +1 -3
- package/BarChart/BarLabel/index.d.ts +1 -3
- package/BarChart/BarLabel/index.js +1 -14
- package/BarChart/BarLabel/index.mjs +1 -2
- package/BarChart/BarPlot.d.mts +6 -12
- package/BarChart/BarPlot.d.ts +6 -12
- package/BarChart/BarPlot.js +11 -19
- package/BarChart/BarPlot.mjs +11 -19
- package/BarChart/BatchBarPlot/BatchBarPlot.js +3 -30
- package/BarChart/BatchBarPlot/BatchBarPlot.mjs +3 -30
- package/BarChart/IndividualBarPlot.d.mts +1 -2
- package/BarChart/IndividualBarPlot.d.ts +1 -2
- package/BarChart/IndividualBarPlot.js +5 -10
- package/BarChart/IndividualBarPlot.mjs +5 -10
- package/BarChart/index.d.mts +0 -1
- package/BarChart/index.d.ts +0 -1
- package/BarChart/index.js +0 -12
- package/BarChart/index.mjs +0 -1
- package/BarChart/seriesConfig/bar/descriptionGetter.d.mts +3 -0
- package/BarChart/seriesConfig/bar/descriptionGetter.d.ts +3 -0
- package/BarChart/seriesConfig/bar/descriptionGetter.js +36 -0
- package/BarChart/seriesConfig/bar/descriptionGetter.mjs +30 -0
- package/BarChart/seriesConfig/bar/legend.js +2 -21
- package/BarChart/seriesConfig/bar/legend.mjs +2 -21
- package/BarChart/seriesConfig/index.js +5 -1
- package/BarChart/seriesConfig/index.mjs +5 -1
- package/BarChart/useBarChartProps.d.mts +2 -2
- package/BarChart/useBarChartProps.d.ts +2 -2
- package/BarChart/useBarChartProps.js +4 -6
- package/BarChart/useBarChartProps.mjs +4 -6
- package/BarChart/useRegisterItemClickHandlers.js +2 -2
- package/BarChart/useRegisterItemClickHandlers.mjs +2 -2
- package/CHANGELOG.md +229 -0
- package/ChartsAxis/index.d.mts +2 -1
- package/ChartsAxis/index.d.ts +2 -1
- package/ChartsAxis/index.js +11 -11
- package/ChartsAxis/index.mjs +1 -1
- package/ChartsAxisHighlight/index.d.mts +2 -1
- package/ChartsAxisHighlight/index.d.ts +2 -1
- package/ChartsAxisHighlight/index.js +12 -10
- package/ChartsAxisHighlight/index.mjs +1 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.mts +6 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +6 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.js +12 -9
- package/ChartsBrushOverlay/ChartsBrushOverlay.mjs +12 -9
- package/ChartsContainer/ChartsContainer.js +77 -43
- package/ChartsContainer/ChartsContainer.mjs +77 -43
- package/ChartsContainer/useChartsContainerProps.d.mts +2 -2
- package/ChartsContainer/useChartsContainerProps.d.ts +2 -2
- package/ChartsContainer/useChartsContainerProps.js +8 -8
- package/ChartsContainer/useChartsContainerProps.mjs +8 -8
- package/ChartsDataProvider/ChartsDataProvider.js +0 -6
- package/ChartsDataProvider/ChartsDataProvider.mjs +0 -6
- package/ChartsDataProvider/useChartsDataProviderProps.js +1 -1
- package/ChartsDataProvider/useChartsDataProviderProps.mjs +1 -1
- package/ChartsGrid/ChartsGrid.d.mts +4 -0
- package/ChartsGrid/ChartsGrid.d.ts +4 -0
- package/ChartsGrid/ChartsGrid.js +4 -2
- package/ChartsGrid/ChartsGrid.mjs +4 -2
- package/ChartsGrid/ChartsHorizontalGrid.js +2 -2
- package/ChartsGrid/ChartsHorizontalGrid.mjs +2 -2
- package/ChartsGrid/ChartsVerticalGrid.js +2 -2
- package/ChartsGrid/ChartsVerticalGrid.mjs +2 -2
- package/ChartsGrid/index.d.mts +2 -1
- package/ChartsGrid/index.d.ts +2 -1
- package/ChartsGrid/index.js +11 -11
- package/ChartsGrid/index.mjs +1 -1
- package/ChartsLayerContainer/ChartsLayerContainer.d.mts +10 -0
- package/ChartsLayerContainer/ChartsLayerContainer.d.ts +10 -0
- package/ChartsLayerContainer/ChartsLayerContainer.js +53 -9
- package/ChartsLayerContainer/ChartsLayerContainer.mjs +55 -10
- package/ChartsLayerContainer/chartsLayerContainerClasses.d.mts +6 -0
- package/ChartsLayerContainer/chartsLayerContainerClasses.d.ts +6 -0
- package/ChartsLayerContainer/chartsLayerContainerClasses.js +21 -0
- package/ChartsLayerContainer/chartsLayerContainerClasses.mjs +13 -0
- package/ChartsLegend/ChartsLegend.js +2 -2
- package/ChartsLegend/ChartsLegend.mjs +2 -2
- package/ChartsLegend/legendContext.types.d.mts +0 -6
- package/ChartsLegend/legendContext.types.d.ts +0 -6
- package/ChartsLegend/onClickContextBuilder.js +0 -1
- package/ChartsLegend/onClickContextBuilder.mjs +0 -1
- package/ChartsOverlay/ChartsLoadingOverlay.js +2 -8
- package/ChartsOverlay/ChartsLoadingOverlay.mjs +2 -8
- package/ChartsOverlay/ChartsNoDataOverlay.js +2 -8
- package/ChartsOverlay/ChartsNoDataOverlay.mjs +2 -8
- package/ChartsOverlay/ChartsOverlay.d.mts +0 -6
- package/ChartsOverlay/ChartsOverlay.d.ts +0 -6
- package/ChartsReferenceLine/index.d.mts +2 -1
- package/ChartsReferenceLine/index.d.ts +2 -1
- package/ChartsReferenceLine/index.js +11 -11
- package/ChartsReferenceLine/index.mjs +1 -2
- package/ChartsSurface/ChartsSurface.d.mts +2 -3
- package/ChartsSurface/ChartsSurface.d.ts +2 -3
- package/ChartsSurface/ChartsSurface.js +14 -2
- package/ChartsSurface/ChartsSurface.mjs +14 -2
- package/ChartsSvgLayer/ChartsSvgLayer.d.mts +0 -4
- package/ChartsSvgLayer/ChartsSvgLayer.d.ts +0 -4
- package/ChartsSvgLayer/ChartsSvgLayer.js +8 -30
- package/ChartsSvgLayer/ChartsSvgLayer.mjs +8 -30
- package/ChartsTooltip/ChartsAxisTooltipContent.js +45 -31
- package/ChartsTooltip/ChartsAxisTooltipContent.mjs +45 -31
- package/ChartsTooltip/ChartsItemTooltipContent.js +77 -41
- package/ChartsTooltip/ChartsItemTooltipContent.mjs +76 -41
- package/ChartsTooltip/ChartsTooltipContainer.js +5 -1
- package/ChartsTooltip/ChartsTooltipContainer.mjs +5 -1
- package/ChartsTooltip/index.d.mts +1 -2
- package/ChartsTooltip/index.d.ts +1 -2
- package/ChartsTooltip/index.js +1 -16
- package/ChartsTooltip/index.mjs +1 -2
- package/ChartsTooltip/useAxesTooltip.d.mts +2 -3
- package/ChartsTooltip/useAxesTooltip.d.ts +2 -3
- package/ChartsTooltip/useItemTooltip.d.mts +2 -4
- package/ChartsTooltip/useItemTooltip.d.ts +2 -4
- package/ChartsTooltip/utils.d.mts +0 -4
- package/ChartsTooltip/utils.d.ts +0 -4
- package/ChartsTooltip/utils.js +0 -39
- package/ChartsTooltip/utils.mjs +0 -38
- package/ChartsXAxis/ChartsGroupedXAxisTicks.js +14 -5
- package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +14 -5
- package/ChartsXAxis/ChartsSingleXAxisTicks.js +2 -2
- package/ChartsXAxis/ChartsSingleXAxisTicks.mjs +2 -2
- package/ChartsXAxis/ChartsXAxisImpl.js +3 -1
- package/ChartsXAxis/ChartsXAxisImpl.mjs +3 -1
- package/ChartsXAxis/useAxisTicksProps.d.mts +170 -89
- package/ChartsXAxis/useAxisTicksProps.d.ts +170 -89
- package/ChartsYAxis/ChartsGroupedYAxisTicks.js +14 -5
- package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +14 -5
- package/ChartsYAxis/ChartsSingleYAxisTicks.js +2 -2
- package/ChartsYAxis/ChartsSingleYAxisTicks.mjs +2 -2
- package/ChartsYAxis/ChartsYAxisImpl.js +3 -1
- package/ChartsYAxis/ChartsYAxisImpl.mjs +3 -1
- package/ChartsYAxis/useAxisTicksProps.d.mts +170 -89
- package/ChartsYAxis/useAxisTicksProps.d.ts +170 -89
- package/Gauge/Gauge.js +8 -0
- package/Gauge/Gauge.mjs +8 -0
- package/Gauge/GaugeContainer.d.mts +1 -1
- package/Gauge/GaugeContainer.d.ts +1 -1
- package/Gauge/GaugeContainer.js +10 -2
- package/Gauge/GaugeContainer.mjs +10 -2
- package/Gauge/index.d.mts +2 -1
- package/Gauge/index.d.ts +2 -1
- package/Gauge/index.js +7 -11
- package/Gauge/index.mjs +1 -1
- package/LineChart/AreaElement.d.mts +2 -35
- package/LineChart/AreaElement.d.ts +2 -35
- package/LineChart/AreaElement.js +8 -42
- package/LineChart/AreaElement.mjs +8 -42
- package/LineChart/CircleMarkElement.d.mts +1 -1
- package/LineChart/CircleMarkElement.d.ts +1 -1
- package/LineChart/CircleMarkElement.js +11 -16
- package/LineChart/CircleMarkElement.mjs +12 -17
- package/LineChart/LineChart.d.mts +2 -2
- package/LineChart/LineChart.d.ts +2 -2
- package/LineChart/LineChart.js +51 -25
- package/LineChart/LineChart.mjs +51 -25
- package/LineChart/LineElement.d.mts +2 -35
- package/LineChart/LineElement.d.ts +2 -35
- package/LineChart/LineElement.js +8 -42
- package/LineChart/LineElement.mjs +8 -42
- package/LineChart/LineHighlightElement.d.mts +0 -20
- package/LineChart/LineHighlightElement.d.ts +0 -20
- package/LineChart/LineHighlightElement.js +2 -39
- package/LineChart/LineHighlightElement.mjs +2 -39
- package/LineChart/LineHighlightPlot.js +2 -2
- package/LineChart/LineHighlightPlot.mjs +2 -2
- package/LineChart/MarkElement.d.mts +1 -1
- package/LineChart/MarkElement.d.ts +1 -1
- package/LineChart/MarkElement.js +10 -8
- package/LineChart/MarkElement.mjs +11 -9
- package/LineChart/MarkPlot.js +2 -2
- package/LineChart/MarkPlot.mjs +2 -2
- package/LineChart/index.d.mts +0 -2
- package/LineChart/index.d.ts +0 -2
- package/LineChart/index.js +0 -15
- package/LineChart/index.mjs +0 -1
- package/LineChart/seriesConfig/curveEvaluation.d.mts +11 -0
- package/LineChart/seriesConfig/curveEvaluation.d.ts +11 -0
- package/LineChart/seriesConfig/curveEvaluation.js +134 -0
- package/LineChart/seriesConfig/curveEvaluation.mjs +129 -0
- package/LineChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/LineChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/LineChart/seriesConfig/descriptionGetter.js +37 -0
- package/LineChart/seriesConfig/descriptionGetter.mjs +31 -0
- package/LineChart/seriesConfig/getItemAtPosition.d.mts +7 -0
- package/LineChart/seriesConfig/getItemAtPosition.d.ts +7 -0
- package/LineChart/seriesConfig/getItemAtPosition.js +356 -0
- package/LineChart/seriesConfig/getItemAtPosition.mjs +351 -0
- package/LineChart/seriesConfig/index.js +4 -0
- package/LineChart/seriesConfig/index.mjs +4 -0
- package/LineChart/seriesConfig/seriesProcessor.js +8 -5
- package/LineChart/seriesConfig/seriesProcessor.mjs +8 -5
- package/LineChart/useLineChartProps.d.mts +2 -2
- package/LineChart/useLineChartProps.d.ts +2 -2
- package/LineChart/useLineChartProps.js +2 -2
- package/LineChart/useLineChartProps.mjs +2 -2
- package/LineChart/useMarkPlotData.js +2 -2
- package/LineChart/useMarkPlotData.mjs +2 -2
- package/PieChart/FocusedPieArc.js +1 -4
- package/PieChart/FocusedPieArc.mjs +2 -4
- package/PieChart/PieArc.d.mts +0 -37
- package/PieChart/PieArc.d.ts +0 -37
- package/PieChart/PieArc.js +5 -45
- package/PieChart/PieArc.mjs +5 -45
- package/PieChart/PieArcLabel.d.mts +2 -43
- package/PieChart/PieArcLabel.d.ts +2 -43
- package/PieChart/PieArcLabel.js +3 -46
- package/PieChart/PieArcLabel.mjs +5 -48
- package/PieChart/PieArcLabelPlot.js +0 -2
- package/PieChart/PieArcLabelPlot.mjs +0 -2
- package/PieChart/PieChart.d.mts +2 -2
- package/PieChart/PieChart.d.ts +2 -2
- package/PieChart/PieChart.js +17 -5
- package/PieChart/PieChart.mjs +17 -5
- package/PieChart/index.d.mts +1 -1
- package/PieChart/index.d.ts +1 -1
- package/PieChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/PieChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/PieChart/seriesConfig/descriptionGetter.js +26 -0
- package/PieChart/seriesConfig/descriptionGetter.mjs +20 -0
- package/PieChart/seriesConfig/index.js +2 -0
- package/PieChart/seriesConfig/index.mjs +2 -0
- package/PieChart/seriesConfig/legend.js +0 -2
- package/PieChart/seriesConfig/legend.mjs +0 -2
- package/RadarChart/RadarAxis/RadarAxis.d.mts +6 -2
- package/RadarChart/RadarAxis/RadarAxis.d.ts +6 -2
- package/RadarChart/RadarAxis/RadarAxis.js +7 -5
- package/RadarChart/RadarAxis/RadarAxis.mjs +6 -4
- package/RadarChart/RadarAxis/index.d.mts +1 -2
- package/RadarChart/RadarAxis/index.d.ts +1 -2
- package/RadarChart/RadarAxis/index.js +1 -13
- package/RadarChart/RadarAxis/index.mjs +1 -2
- package/RadarChart/RadarAxis/useRadarAxis.js +2 -2
- package/RadarChart/RadarAxis/useRadarAxis.mjs +2 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.mts +6 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +6 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +9 -14
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.mjs +8 -13
- package/RadarChart/RadarAxisHighlight/index.d.mts +1 -2
- package/RadarChart/RadarAxisHighlight/index.d.ts +1 -2
- package/RadarChart/RadarAxisHighlight/index.mjs +1 -2
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.js +2 -2
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.mjs +2 -2
- package/RadarChart/RadarChart.js +15 -0
- package/RadarChart/RadarChart.mjs +15 -0
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.mts +2 -2
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +2 -2
- package/RadarChart/RadarDataProvider/RadarDataProvider.js +2 -2
- package/RadarChart/RadarDataProvider/RadarDataProvider.mjs +2 -2
- package/RadarChart/RadarGrid/CircularRadarGrid.js +2 -2
- package/RadarChart/RadarGrid/CircularRadarGrid.mjs +2 -2
- package/RadarChart/RadarGrid/CircularRadarStripes.js +1 -1
- package/RadarChart/RadarGrid/CircularRadarStripes.mjs +1 -1
- package/RadarChart/RadarGrid/RadarGrid.js +2 -2
- package/RadarChart/RadarGrid/RadarGrid.mjs +2 -2
- package/RadarChart/RadarGrid/RadarGrid.types.d.mts +6 -7
- package/RadarChart/RadarGrid/RadarGrid.types.d.ts +6 -7
- package/RadarChart/RadarGrid/SharpRadarGrid.js +2 -2
- package/RadarChart/RadarGrid/SharpRadarGrid.mjs +2 -2
- package/RadarChart/RadarGrid/SharpRadarStripes.js +1 -1
- package/RadarChart/RadarGrid/SharpRadarStripes.mjs +1 -1
- package/RadarChart/RadarGrid/index.d.mts +1 -2
- package/RadarChart/RadarGrid/index.d.ts +1 -2
- package/RadarChart/RadarGrid/useRadarGridData.js +2 -2
- package/RadarChart/RadarGrid/useRadarGridData.mjs +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +6 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +6 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +13 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +13 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +8 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +8 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +5 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +4 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.mts +6 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +6 -4
- package/RadarChart/RadarSeriesPlot/index.d.mts +1 -3
- package/RadarChart/RadarSeriesPlot/index.d.ts +1 -3
- package/RadarChart/RadarSeriesPlot/index.js +2 -10
- package/RadarChart/RadarSeriesPlot/index.mjs +1 -2
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.js +2 -2
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.mjs +2 -2
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +2 -2
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.mjs +2 -2
- package/RadarChart/index.d.mts +3 -1
- package/RadarChart/index.d.ts +3 -1
- package/RadarChart/index.js +9 -1
- package/RadarChart/index.mjs +2 -1
- package/RadarChart/radarClasses.d.mts +30 -0
- package/RadarChart/radarClasses.d.ts +30 -0
- package/RadarChart/radarClasses.js +33 -0
- package/RadarChart/radarClasses.mjs +24 -0
- package/RadarChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/RadarChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/RadarChart/seriesConfig/descriptionGetter.js +37 -0
- package/RadarChart/seriesConfig/descriptionGetter.mjs +31 -0
- package/RadarChart/seriesConfig/index.js +2 -0
- package/RadarChart/seriesConfig/index.mjs +2 -0
- package/RadarChart/seriesConfig/legend.js +2 -21
- package/RadarChart/seriesConfig/legend.mjs +2 -21
- package/ScatterChart/BatchScatter.js +3 -3
- package/ScatterChart/BatchScatter.mjs +3 -3
- package/ScatterChart/Scatter.js +3 -3
- package/ScatterChart/Scatter.mjs +3 -3
- package/ScatterChart/ScatterChart.d.mts +15 -3
- package/ScatterChart/ScatterChart.d.ts +15 -3
- package/ScatterChart/ScatterChart.js +73 -31
- package/ScatterChart/ScatterChart.mjs +73 -31
- package/ScatterChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/ScatterChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/ScatterChart/seriesConfig/descriptionGetter.js +34 -0
- package/ScatterChart/seriesConfig/descriptionGetter.mjs +28 -0
- package/ScatterChart/seriesConfig/index.js +2 -0
- package/ScatterChart/seriesConfig/index.mjs +2 -0
- package/ScatterChart/seriesConfig/legend.js +2 -21
- package/ScatterChart/seriesConfig/legend.mjs +2 -21
- package/ScatterChart/useScatterChartProps.d.mts +2 -2
- package/ScatterChart/useScatterChartProps.d.ts +2 -2
- package/ScatterChart/useScatterChartProps.js +9 -8
- package/ScatterChart/useScatterChartProps.mjs +9 -8
- package/SparkLineChart/SparkLineChart.d.mts +2 -2
- package/SparkLineChart/SparkLineChart.d.ts +2 -2
- package/SparkLineChart/SparkLineChart.js +60 -28
- package/SparkLineChart/SparkLineChart.mjs +60 -28
- package/constants/index.js +0 -2
- package/constants/index.mjs +0 -2
- package/context/useChartApiContext.d.mts +1 -1
- package/context/useChartApiContext.d.ts +1 -1
- package/context/useChartApiContext.js +3 -3
- package/context/useChartApiContext.mjs +3 -3
- package/hooks/animation/useAnimatePieArcLabel.d.mts +1 -10
- package/hooks/animation/useAnimatePieArcLabel.d.ts +1 -10
- package/hooks/animation/useAnimatePieArcLabel.js +6 -10
- package/hooks/animation/useAnimatePieArcLabel.mjs +6 -10
- package/hooks/useChartRootRef.js +2 -2
- package/hooks/useChartRootRef.mjs +2 -2
- package/hooks/useChartsLayerContainerRef.js +2 -2
- package/hooks/useChartsLayerContainerRef.mjs +2 -2
- package/hooks/useDataset.js +1 -1
- package/hooks/useDataset.mjs +2 -2
- package/hooks/useInteractionItemProps.d.mts +1 -1
- package/hooks/useInteractionItemProps.d.ts +1 -1
- package/hooks/useInteractionItemProps.js +5 -5
- package/hooks/useInteractionItemProps.mjs +5 -5
- package/hooks/useTicks.js +2 -2
- package/hooks/useTicks.mjs +2 -2
- package/index.d.mts +0 -3
- package/index.d.ts +0 -3
- package/index.js +2 -22
- package/index.mjs +1 -3
- package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.d.mts +5 -0
- package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.d.ts +5 -0
- package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.js +100 -0
- package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.mjs +96 -0
- package/internals/components/ChartsAccessibilityProxy/index.d.mts +1 -0
- package/internals/components/ChartsAccessibilityProxy/index.d.ts +1 -0
- package/internals/components/ChartsAccessibilityProxy/index.js +16 -0
- package/internals/components/ChartsAccessibilityProxy/index.mjs +1 -0
- package/internals/components/ChartsAccessibilityProxy/useDescription.d.mts +5 -0
- package/internals/components/ChartsAccessibilityProxy/useDescription.d.ts +5 -0
- package/internals/components/ChartsAccessibilityProxy/useDescription.js +71 -0
- package/internals/components/ChartsAccessibilityProxy/useDescription.mjs +66 -0
- package/internals/consumeSlots.d.mts +1 -1
- package/internals/consumeSlots.d.ts +1 -1
- package/internals/getChartPoint.js +18 -1
- package/internals/getChartPoint.mjs +18 -1
- package/internals/identifierCleaner.d.mts +5 -5
- package/internals/identifierCleaner.d.ts +5 -5
- package/internals/identifierCleaner.js +0 -1
- package/internals/identifierCleaner.mjs +0 -1
- package/internals/index.d.mts +2 -3
- package/internals/index.d.ts +2 -3
- package/internals/index.js +27 -36
- package/internals/index.mjs +2 -3
- package/internals/legendUtils.d.mts +11 -0
- package/internals/legendUtils.d.ts +11 -0
- package/internals/legendUtils.js +28 -0
- package/internals/legendUtils.mjs +22 -0
- package/internals/plugins/corePlugins/corePlugins.d.mts +2 -2
- package/internals/plugins/corePlugins/corePlugins.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.mjs +2 -2
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.mts +2 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +2 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.mts +2 -4
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +2 -4
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.js +2 -4
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.mjs +1 -3
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.mts +19 -9
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +19 -9
- package/internals/plugins/corePlugins/useChartSeries/index.d.mts +2 -1
- package/internals/plugins/corePlugins/useChartSeries/index.d.ts +2 -1
- package/internals/plugins/corePlugins/useChartSeries/index.js +12 -0
- package/internals/plugins/corePlugins/useChartSeries/index.mjs +2 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +21 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +21 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +20 -9
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.mjs +20 -9
- package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.d.mts +8 -0
- package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.d.ts +8 -0
- package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.js +19 -0
- package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.mjs +14 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.mts +18 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.ts +18 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.d.mts +5 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.d.ts +5 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.js +5 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.mjs +1 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.mts +3 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.ts +3 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.js +22 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.mjs +3 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +7 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +7 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +16 -37
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +16 -37
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.d.mts +4 -10
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.d.ts +4 -10
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.js +30 -21
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.mjs +30 -20
- package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.d.mts +5 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.d.ts +5 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.js +11 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.mjs +5 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.mts +33 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.ts +33 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.js +318 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.mjs +311 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +5 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +5 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +63 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.mjs +62 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +12 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.mjs +12 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +13 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +13 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +32 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.mjs +31 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.mts +3 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +3 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +22 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.mjs +3 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.mts +30 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.ts +30 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.js +96 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.mjs +91 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.mts +16 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.ts +16 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.js +36 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.mjs +31 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.d.mts +15 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.d.ts +15 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.js +45 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.mjs +39 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.mts +11 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +11 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +53 -11
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.mjs +52 -11
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +4 -9
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +4 -9
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +20 -45
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs +23 -48
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.js +20 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.mjs +20 -2
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +13 -11
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.mjs +13 -11
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.mts +4 -9
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +4 -9
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.types.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.types.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +36 -30
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.mjs +36 -30
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.mts +8 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +8 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +9 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.mjs +9 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.mts +6 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +6 -0
- package/internals/seriesSelectorOfType.d.mts +3 -3
- package/internals/seriesSelectorOfType.d.ts +3 -3
- package/internals/store/useCharts.d.mts +1 -1
- package/internals/store/useCharts.d.ts +1 -1
- package/internals/store/useStore.js +2 -2
- package/internals/store/useStore.mjs +2 -2
- package/locales/elGR.d.mts +80 -0
- package/locales/elGR.d.ts +80 -0
- package/locales/elGR.js +95 -0
- package/locales/elGR.mjs +95 -0
- package/locales/enUS.d.mts +80 -0
- package/locales/enUS.d.ts +80 -0
- package/locales/enUS.js +94 -1
- package/locales/enUS.mjs +94 -1
- package/locales/frFR.d.mts +80 -0
- package/locales/frFR.d.ts +80 -0
- package/locales/frFR.js +95 -1
- package/locales/frFR.mjs +95 -1
- package/locales/nbNO.d.mts +80 -0
- package/locales/nbNO.d.ts +80 -0
- package/locales/nbNO.js +95 -0
- package/locales/nbNO.mjs +95 -0
- package/locales/ptBR.d.mts +80 -0
- package/locales/ptBR.d.ts +80 -0
- package/locales/ptBR.js +95 -0
- package/locales/ptBR.mjs +95 -0
- package/locales/ptPT.d.mts +80 -0
- package/locales/ptPT.d.ts +80 -0
- package/locales/ptPT.js +191 -99
- package/locales/ptPT.mjs +191 -99
- package/locales/svSE.d.mts +80 -0
- package/locales/svSE.d.ts +80 -0
- package/locales/svSE.js +95 -0
- package/locales/svSE.mjs +95 -0
- package/locales/utils/chartsLocaleTextApi.d.mts +205 -0
- package/locales/utils/chartsLocaleTextApi.d.ts +205 -0
- package/locales/utils/getChartsLocalization.d.mts +80 -0
- package/locales/utils/getChartsLocalization.d.ts +80 -0
- package/models/axis.d.mts +15 -5
- package/models/axis.d.ts +15 -5
- package/models/seriesType/composition.d.mts +1 -1
- package/models/seriesType/composition.d.ts +1 -1
- package/models/seriesType/composition.js +1 -1
- package/models/seriesType/composition.mjs +1 -1
- package/models/seriesType/config.d.mts +29 -0
- package/models/seriesType/config.d.ts +29 -0
- package/models/seriesType/line.d.mts +2 -1
- package/models/seriesType/line.d.ts +2 -1
- package/models/seriesType/scatter.d.mts +0 -7
- package/models/seriesType/scatter.d.ts +0 -7
- package/package.json +3 -31
- package/themeAugmentation/components.d.mts +5 -25
- package/themeAugmentation/components.d.ts +5 -25
- package/themeAugmentation/overrides.d.mts +3 -15
- package/themeAugmentation/overrides.d.ts +3 -15
- package/themeAugmentation/props.d.mts +0 -2
- package/themeAugmentation/props.d.ts +0 -2
- package/BarChart/BarLabel/barLabelClasses.d.mts +0 -41
- package/BarChart/BarLabel/barLabelClasses.d.ts +0 -41
- package/BarChart/BarLabel/barLabelClasses.js +0 -49
- package/BarChart/BarLabel/barLabelClasses.mjs +0 -40
- package/BarChart/barElementClasses.d.mts +0 -40
- package/BarChart/barElementClasses.d.ts +0 -40
- package/BarChart/barElementClasses.js +0 -48
- package/BarChart/barElementClasses.mjs +0 -39
- package/ChartContainer/ChartContainer.d.mts +0 -22
- package/ChartContainer/ChartContainer.d.ts +0 -22
- package/ChartContainer/ChartContainer.js +0 -24
- package/ChartContainer/ChartContainer.mjs +0 -20
- package/ChartContainer/index.d.mts +0 -1
- package/ChartContainer/index.d.ts +0 -1
- package/ChartContainer/index.js +0 -16
- package/ChartContainer/index.mjs +0 -1
- package/ChartContainer/useChartContainerProps.d.mts +0 -13
- package/ChartContainer/useChartContainerProps.d.ts +0 -13
- package/ChartContainer/useChartContainerProps.js +0 -19
- package/ChartContainer/useChartContainerProps.mjs +0 -14
- package/ChartDataProvider/ChartDataProvider.d.mts +0 -20
- package/ChartDataProvider/ChartDataProvider.d.ts +0 -20
- package/ChartDataProvider/ChartDataProvider.js +0 -24
- package/ChartDataProvider/ChartDataProvider.mjs +0 -20
- package/ChartDataProvider/index.d.mts +0 -1
- package/ChartDataProvider/index.d.ts +0 -1
- package/ChartDataProvider/index.js +0 -16
- package/ChartDataProvider/index.mjs +0 -1
- package/ChartDataProvider/useChartDataProviderProps.d.mts +0 -10
- package/ChartDataProvider/useChartDataProviderProps.d.ts +0 -10
- package/ChartDataProvider/useChartDataProviderProps.js +0 -12
- package/ChartDataProvider/useChartDataProviderProps.mjs +0 -8
- package/LineChart/markElementClasses.d.mts +0 -42
- package/LineChart/markElementClasses.d.ts +0 -42
- package/LineChart/markElementClasses.js +0 -48
- package/LineChart/markElementClasses.mjs +0 -40
- package/RadarChart/RadarAxis/radarAxisClasses.d.mts +0 -12
- package/RadarChart/RadarAxis/radarAxisClasses.d.ts +0 -12
- package/RadarChart/RadarAxis/radarAxisClasses.js +0 -25
- package/RadarChart/RadarAxis/radarAxisClasses.mjs +0 -15
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.mts +0 -11
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.ts +0 -11
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.js +0 -14
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.mjs +0 -6
- package/RadarChart/RadarGrid/radarGridClasses.d.mts +0 -12
- package/RadarChart/RadarGrid/radarGridClasses.d.ts +0 -12
- package/RadarChart/RadarGrid/radarGridClasses.js +0 -25
- package/RadarChart/RadarGrid/radarGridClasses.mjs +0 -15
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.mts +0 -22
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.ts +0 -22
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.js +0 -26
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.mjs +0 -17
- package/context/ChartProvider/ChartContext.d.mts +0 -5
- package/context/ChartProvider/ChartContext.d.ts +0 -5
- package/context/ChartProvider/ChartContext.js +0 -13
- package/context/ChartProvider/ChartContext.mjs +0 -9
- package/context/ChartProvider/ChartProvider.d.mts +0 -5
- package/context/ChartProvider/ChartProvider.d.ts +0 -5
- package/context/ChartProvider/ChartProvider.js +0 -12
- package/context/ChartProvider/ChartProvider.mjs +0 -8
- package/context/ChartProvider/ChartProvider.types.d.mts +0 -15
- package/context/ChartProvider/ChartProvider.types.d.ts +0 -15
- package/context/ChartProvider/index.d.mts +0 -3
- package/context/ChartProvider/index.d.ts +0 -3
- package/context/ChartProvider/index.js +0 -38
- package/context/ChartProvider/index.mjs +0 -3
- package/context/ChartProvider/useChartContext.d.mts +0 -4
- package/context/ChartProvider/useChartContext.d.ts +0 -4
- package/context/ChartProvider/useChartContext.js +0 -12
- package/context/ChartProvider/useChartContext.mjs +0 -8
- package/tests/constants.js +0 -7
- package/tests/constants.mjs +0 -1
- /package/{context/ChartProvider/ChartProvider.types.js → internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.js} +0 -0
- /package/{context/ChartProvider/ChartProvider.types.mjs → internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.mjs} +0 -0
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const legendGetter =
|
|
3
|
-
const {
|
|
4
|
-
seriesOrder,
|
|
5
|
-
series
|
|
6
|
-
} = params;
|
|
7
|
-
return seriesOrder.reduce((acc, seriesId) => {
|
|
8
|
-
const formattedLabel = getLabel(series[seriesId].label, 'legend');
|
|
9
|
-
if (formattedLabel === undefined) {
|
|
10
|
-
return acc;
|
|
11
|
-
}
|
|
12
|
-
acc.push({
|
|
13
|
-
type: 'bar',
|
|
14
|
-
markType: series[seriesId].labelMarkType,
|
|
15
|
-
seriesId,
|
|
16
|
-
color: series[seriesId].color,
|
|
17
|
-
label: formattedLabel
|
|
18
|
-
});
|
|
19
|
-
return acc;
|
|
20
|
-
}, []);
|
|
21
|
-
};
|
|
1
|
+
import { getSeriesLegendItems } from "../../../internals/legendUtils.mjs";
|
|
2
|
+
const legendGetter = series => getSeriesLegendItems('bar', series);
|
|
22
3
|
export default legendGetter;
|
|
@@ -14,8 +14,10 @@ var _keyboardFocusHandler = _interopRequireDefault(require("./bar/keyboardFocusH
|
|
|
14
14
|
var _tooltip = _interopRequireWildcard(require("./bar/tooltip"));
|
|
15
15
|
var _tooltipPosition = _interopRequireDefault(require("./bar/tooltipPosition"));
|
|
16
16
|
var _getSeriesWithDefaultValues = require("./bar/getSeriesWithDefaultValues");
|
|
17
|
+
var _useChartCartesianAxisPosition = require("../../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors");
|
|
17
18
|
var _identifierSerializer = require("../../internals/identifierSerializer");
|
|
18
19
|
var _identifierCleaner = require("../../internals/identifierCleaner");
|
|
20
|
+
var _descriptionGetter = _interopRequireDefault(require("./bar/descriptionGetter"));
|
|
19
21
|
var _useChartHighlight = require("../../internals/plugins/featurePlugins/useChartHighlight");
|
|
20
22
|
const barSeriesConfig = exports.barSeriesConfig = {
|
|
21
23
|
seriesProcessor: _seriesProcessor.default,
|
|
@@ -27,9 +29,11 @@ const barSeriesConfig = exports.barSeriesConfig = {
|
|
|
27
29
|
xExtremumGetter: _extremums.getExtremumX,
|
|
28
30
|
yExtremumGetter: _extremums.getExtremumY,
|
|
29
31
|
getSeriesWithDefaultValues: _getSeriesWithDefaultValues.getSeriesWithDefaultValues,
|
|
30
|
-
|
|
32
|
+
getItemAtPosition: _useChartCartesianAxisPosition.selectorBarItemAtPosition,
|
|
31
33
|
identifierSerializer: _identifierSerializer.identifierSerializerSeriesIdDataIndex,
|
|
32
34
|
identifierCleaner: _identifierCleaner.identifierCleanerSeriesIdDataIndex,
|
|
35
|
+
descriptionGetter: _descriptionGetter.default,
|
|
36
|
+
keyboardFocusHandler: _keyboardFocusHandler.default,
|
|
33
37
|
isHighlightedCreator: _useChartHighlight.createIsHighlighted,
|
|
34
38
|
isFadedCreator: _useChartHighlight.createIsFaded
|
|
35
39
|
};
|
|
@@ -6,8 +6,10 @@ import keyboardFocusHandler from "./bar/keyboardFocusHandler.mjs";
|
|
|
6
6
|
import tooltipGetter, { axisTooltipGetter } from "./bar/tooltip.mjs";
|
|
7
7
|
import tooltipItemPositionGetter from "./bar/tooltipPosition.mjs";
|
|
8
8
|
import { getSeriesWithDefaultValues } from "./bar/getSeriesWithDefaultValues.mjs";
|
|
9
|
+
import { selectorBarItemAtPosition } from "../../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.mjs";
|
|
9
10
|
import { identifierSerializerSeriesIdDataIndex } from "../../internals/identifierSerializer.mjs";
|
|
10
11
|
import { identifierCleanerSeriesIdDataIndex } from "../../internals/identifierCleaner.mjs";
|
|
12
|
+
import descriptionGetter from "./bar/descriptionGetter.mjs";
|
|
11
13
|
import { createIsHighlighted, createIsFaded } from "../../internals/plugins/featurePlugins/useChartHighlight/index.mjs";
|
|
12
14
|
export const barSeriesConfig = {
|
|
13
15
|
seriesProcessor,
|
|
@@ -19,9 +21,11 @@ export const barSeriesConfig = {
|
|
|
19
21
|
xExtremumGetter: getExtremumX,
|
|
20
22
|
yExtremumGetter: getExtremumY,
|
|
21
23
|
getSeriesWithDefaultValues,
|
|
22
|
-
|
|
24
|
+
getItemAtPosition: selectorBarItemAtPosition,
|
|
23
25
|
identifierSerializer: identifierSerializerSeriesIdDataIndex,
|
|
24
26
|
identifierCleaner: identifierCleanerSeriesIdDataIndex,
|
|
27
|
+
descriptionGetter,
|
|
28
|
+
keyboardFocusHandler,
|
|
25
29
|
isHighlightedCreator: createIsHighlighted,
|
|
26
30
|
isFadedCreator: createIsFaded
|
|
27
31
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type BarChartProps, type BarSeries } from "./BarChart.mjs";
|
|
3
|
-
import { type
|
|
3
|
+
import { type ChartsContainerProps } from "../ChartsContainer/index.mjs";
|
|
4
4
|
import { type BarPlotProps } from "./BarPlot.mjs";
|
|
5
5
|
import { type ChartsGridProps } from "../ChartsGrid/index.mjs";
|
|
6
6
|
import { type ChartsClipPathProps } from "../ChartsClipPath/index.mjs";
|
|
@@ -23,7 +23,7 @@ export type UseBarChartProps = Omit<BarChartProps, 'series'> & Omit<{
|
|
|
23
23
|
*/
|
|
24
24
|
export declare const useBarChartProps: (props: UseBarChartProps) => {
|
|
25
25
|
chartsWrapperProps: Omit<ChartsWrapperProps, "children">;
|
|
26
|
-
|
|
26
|
+
chartsContainerProps: ChartsContainerProps<"bar", BarChartPluginSignatures>;
|
|
27
27
|
barPlotProps: BarPlotProps;
|
|
28
28
|
gridProps: ChartsGridProps;
|
|
29
29
|
clipPathProps: ChartsClipPathProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type BarChartProps, type BarSeries } from "./BarChart.js";
|
|
3
|
-
import { type
|
|
3
|
+
import { type ChartsContainerProps } from "../ChartsContainer/index.js";
|
|
4
4
|
import { type BarPlotProps } from "./BarPlot.js";
|
|
5
5
|
import { type ChartsGridProps } from "../ChartsGrid/index.js";
|
|
6
6
|
import { type ChartsClipPathProps } from "../ChartsClipPath/index.js";
|
|
@@ -23,7 +23,7 @@ export type UseBarChartProps = Omit<BarChartProps, 'series'> & Omit<{
|
|
|
23
23
|
*/
|
|
24
24
|
export declare const useBarChartProps: (props: UseBarChartProps) => {
|
|
25
25
|
chartsWrapperProps: Omit<ChartsWrapperProps, "children">;
|
|
26
|
-
|
|
26
|
+
chartsContainerProps: ChartsContainerProps<"bar", BarChartPluginSignatures>;
|
|
27
27
|
barPlotProps: BarPlotProps;
|
|
28
28
|
gridProps: ChartsGridProps;
|
|
29
29
|
clipPathProps: ChartsClipPathProps;
|
|
@@ -13,7 +13,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
14
14
|
var _constants = require("../constants");
|
|
15
15
|
var _BarChart = require("./BarChart.plugins");
|
|
16
|
-
const _excluded = ["xAxis", "yAxis", "series", "width", "height", "margin", "colors", "dataset", "sx", "axisHighlight", "grid", "children", "slots", "slotProps", "skipAnimation", "loading", "layout", "onItemClick", "highlightedItem", "onHighlightChange", "borderRadius", "
|
|
16
|
+
const _excluded = ["xAxis", "yAxis", "series", "width", "height", "margin", "colors", "dataset", "sx", "axisHighlight", "grid", "children", "slots", "slotProps", "skipAnimation", "loading", "layout", "onItemClick", "highlightedItem", "onHighlightChange", "borderRadius", "className", "hideLegend", "showToolbar", "brushConfig", "renderer"];
|
|
17
17
|
/**
|
|
18
18
|
* A helper function that extracts BarChartProps from the input props
|
|
19
19
|
* and returns an object with props for the children components of BarChart.
|
|
@@ -44,7 +44,6 @@ const useBarChartProps = props => {
|
|
|
44
44
|
highlightedItem,
|
|
45
45
|
onHighlightChange,
|
|
46
46
|
borderRadius,
|
|
47
|
-
barLabel,
|
|
48
47
|
className,
|
|
49
48
|
brushConfig,
|
|
50
49
|
renderer
|
|
@@ -90,7 +89,7 @@ const useBarChartProps = props => {
|
|
|
90
89
|
scaleType: 'band'
|
|
91
90
|
}, axis)) : yAxis;
|
|
92
91
|
}, [defaultYAxis, hasHorizontalSeries, yAxis]);
|
|
93
|
-
const
|
|
92
|
+
const chartsContainerProps = (0, _extends2.default)({}, other, {
|
|
94
93
|
series: seriesWithDefault,
|
|
95
94
|
width,
|
|
96
95
|
height,
|
|
@@ -111,8 +110,7 @@ const useBarChartProps = props => {
|
|
|
111
110
|
slots,
|
|
112
111
|
slotProps,
|
|
113
112
|
borderRadius,
|
|
114
|
-
renderer
|
|
115
|
-
barLabel
|
|
113
|
+
renderer
|
|
116
114
|
};
|
|
117
115
|
const gridProps = {
|
|
118
116
|
vertical: grid?.vertical,
|
|
@@ -151,7 +149,7 @@ const useBarChartProps = props => {
|
|
|
151
149
|
};
|
|
152
150
|
return {
|
|
153
151
|
chartsWrapperProps,
|
|
154
|
-
|
|
152
|
+
chartsContainerProps,
|
|
155
153
|
barPlotProps,
|
|
156
154
|
gridProps,
|
|
157
155
|
clipPathProps,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
|
-
const _excluded = ["xAxis", "yAxis", "series", "width", "height", "margin", "colors", "dataset", "sx", "axisHighlight", "grid", "children", "slots", "slotProps", "skipAnimation", "loading", "layout", "onItemClick", "highlightedItem", "onHighlightChange", "borderRadius", "
|
|
5
|
+
const _excluded = ["xAxis", "yAxis", "series", "width", "height", "margin", "colors", "dataset", "sx", "axisHighlight", "grid", "children", "slots", "slotProps", "skipAnimation", "loading", "layout", "onItemClick", "highlightedItem", "onHighlightChange", "borderRadius", "className", "hideLegend", "showToolbar", "brushConfig", "renderer"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import useId from '@mui/utils/useId';
|
|
8
8
|
import { DEFAULT_X_AXIS_KEY, DEFAULT_Y_AXIS_KEY } from "../constants/index.mjs";
|
|
@@ -37,7 +37,6 @@ export const useBarChartProps = props => {
|
|
|
37
37
|
highlightedItem,
|
|
38
38
|
onHighlightChange,
|
|
39
39
|
borderRadius,
|
|
40
|
-
barLabel,
|
|
41
40
|
className,
|
|
42
41
|
brushConfig,
|
|
43
42
|
renderer
|
|
@@ -83,7 +82,7 @@ export const useBarChartProps = props => {
|
|
|
83
82
|
scaleType: 'band'
|
|
84
83
|
}, axis)) : yAxis;
|
|
85
84
|
}, [defaultYAxis, hasHorizontalSeries, yAxis]);
|
|
86
|
-
const
|
|
85
|
+
const chartsContainerProps = _extends({}, other, {
|
|
87
86
|
series: seriesWithDefault,
|
|
88
87
|
width,
|
|
89
88
|
height,
|
|
@@ -104,8 +103,7 @@ export const useBarChartProps = props => {
|
|
|
104
103
|
slots,
|
|
105
104
|
slotProps,
|
|
106
105
|
borderRadius,
|
|
107
|
-
renderer
|
|
108
|
-
barLabel
|
|
106
|
+
renderer
|
|
109
107
|
};
|
|
110
108
|
const gridProps = {
|
|
111
109
|
vertical: grid?.vertical,
|
|
@@ -144,7 +142,7 @@ export const useBarChartProps = props => {
|
|
|
144
142
|
};
|
|
145
143
|
return {
|
|
146
144
|
chartsWrapperProps,
|
|
147
|
-
|
|
145
|
+
chartsContainerProps,
|
|
148
146
|
barPlotProps,
|
|
149
147
|
gridProps,
|
|
150
148
|
clipPathProps,
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.useRegisterItemClickHandlers = useRegisterItemClickHandlers;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _useChartsLayerContainerRef = require("../hooks/useChartsLayerContainerRef");
|
|
11
|
-
var
|
|
11
|
+
var _ChartsProvider = require("../context/ChartsProvider");
|
|
12
12
|
var _getChartPoint = require("../internals/getChartPoint");
|
|
13
13
|
var _useStore = require("../internals/store/useStore");
|
|
14
14
|
var _useChartCartesianAxisPosition = require("../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors");
|
|
@@ -19,7 +19,7 @@ var _useChartCartesianAxisPosition = require("../internals/plugins/featurePlugin
|
|
|
19
19
|
function useRegisterItemClickHandlers(onItemClick) {
|
|
20
20
|
const {
|
|
21
21
|
instance
|
|
22
|
-
} = (0,
|
|
22
|
+
} = (0, _ChartsProvider.useChartsContext)();
|
|
23
23
|
const chartsLayerContainerRef = (0, _useChartsLayerContainerRef.useChartsLayerContainerRef)();
|
|
24
24
|
const store = (0, _useStore.useStore)();
|
|
25
25
|
React.useEffect(() => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { useChartsLayerContainerRef } from "../hooks/useChartsLayerContainerRef.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { useChartsContext } from "../context/ChartsProvider/index.mjs";
|
|
6
6
|
import { getChartPoint } from "../internals/getChartPoint.mjs";
|
|
7
7
|
import { useStore } from "../internals/store/useStore.mjs";
|
|
8
8
|
import { selectorBarItemAtPosition } from "../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.mjs";
|
|
@@ -14,7 +14,7 @@ import { selectorBarItemAtPosition } from "../internals/plugins/featurePlugins/u
|
|
|
14
14
|
export function useRegisterItemClickHandlers(onItemClick) {
|
|
15
15
|
const {
|
|
16
16
|
instance
|
|
17
|
-
} =
|
|
17
|
+
} = useChartsContext();
|
|
18
18
|
const chartsLayerContainerRef = useChartsLayerContainerRef();
|
|
19
19
|
const store = useStore();
|
|
20
20
|
React.useEffect(() => {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,234 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0-beta.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v9.0.0-alpha.4..master -->
|
|
6
|
+
|
|
7
|
+
_Mar 27, 2026_
|
|
8
|
+
|
|
9
|
+
We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🔊 New Charts voiceover component for improved screen reader support
|
|
12
|
+
- ⌨️ Charts keyboard navigation improvements: axis tooltip now shows when navigating with the keyboard
|
|
13
|
+
- 📊 Charts axes now can be set to automatically resize to fit their content
|
|
14
|
+
- 📝 New `rowCheckbox` slot in Data Grid for easier checkbox column customization
|
|
15
|
+
- ⚡️ `fetchRows()` API in Data Grid Pro now defaults `start` and `end` based on scroll position with lazy loading
|
|
16
|
+
- 🐞 Bugfixes and internal improvements
|
|
17
|
+
|
|
18
|
+
The following team members contributed to this release:
|
|
19
|
+
@aemartos, @alexfauquette, @arminmeh, @cherniavskii, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes
|
|
20
|
+
|
|
21
|
+
### Data Grid
|
|
22
|
+
|
|
23
|
+
#### `@mui/x-data-grid@9.0.0-beta.0`
|
|
24
|
+
|
|
25
|
+
- [DataGrid] Add `rowCheckbox` slot for easier customization (#21797) @michelengelen
|
|
26
|
+
- [DataGrid] Prevent repeated `hasScrollbar` state updates (#21820) @arminmeh
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
29
|
+
|
|
30
|
+
Same changes as in `@mui/x-data-grid@9.0.0-beta.0`, plus:
|
|
31
|
+
|
|
32
|
+
- [DataGridPro] `fetchRows()` API's default `start` and `end` params based on scroll position with lazy loading (#21742) @arminmeh
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-premium@9.0.0-beta.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-beta.0`.
|
|
37
|
+
|
|
38
|
+
### Date and Time Pickers
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers@9.0.0-beta.0`
|
|
41
|
+
|
|
42
|
+
Internal changes.
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-date-pickers-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
45
|
+
|
|
46
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-beta.0`.
|
|
47
|
+
|
|
48
|
+
### Charts
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts@9.0.0-beta.0`
|
|
51
|
+
|
|
52
|
+
- [charts] Add `className` prop to Pro chart plot components (#21793) @JCQuintas
|
|
53
|
+
- [charts] Add experimental position-based pointer interaction for line series (#21809) @JCQuintas
|
|
54
|
+
- [charts] Add l10n to the bar accessibility (#21815) @alexfauquette
|
|
55
|
+
- [charts] Add localization for the basic charts (#21822) @alexfauquette
|
|
56
|
+
- [charts] Add voiceover component (#21344) @alexfauquette
|
|
57
|
+
- [charts] Allow axes to automatically resize to content (#21087) @JCQuintas
|
|
58
|
+
- [charts] Document multiple use-cases for references (#21768) @alexfauquette
|
|
59
|
+
- [charts] Remove compatibility layer for React vs native events (#21780) @JCQuintas
|
|
60
|
+
- [charts] Remove deprecated `barLabel` props (#21783) @alexfauquette
|
|
61
|
+
- [charts] Show axis tooltip when navigating with keyboard (#21689) @Copilot
|
|
62
|
+
|
|
63
|
+
#### `@mui/x-charts-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
64
|
+
|
|
65
|
+
Same changes as in `@mui/x-charts@9.0.0-beta.0`.
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts-premium@9.0.0-beta.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
68
|
+
|
|
69
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-beta.0`.
|
|
70
|
+
|
|
71
|
+
### Tree View
|
|
72
|
+
|
|
73
|
+
#### `@mui/x-tree-view@9.0.0-alpha.4`
|
|
74
|
+
|
|
75
|
+
Internal changes.
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
78
|
+
|
|
79
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
|
|
80
|
+
|
|
81
|
+
### Codemod
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-codemod@9.0.0-alpha.4`
|
|
84
|
+
|
|
85
|
+
Internal changes.
|
|
86
|
+
|
|
87
|
+
### Docs
|
|
88
|
+
|
|
89
|
+
- [docs] Document how to customize voiceover announcement (#21833) @alexfauquette
|
|
90
|
+
- [docs] Remove Discord mention from docs (#21855) @mapache-salvaje
|
|
91
|
+
- [docs] Remove stabilized experimental feature from demo (#21869) @JCQuintas
|
|
92
|
+
- [docs] Update telemetry guide to reflect pseudonymous data collection and license compliance (#21812) @aemartos
|
|
93
|
+
- [docs] Revise the Sparkline doc (#21614) @mapache-salvaje
|
|
94
|
+
- [docs] Revise the Gauge doc (#21673) @mapache-salvaje
|
|
95
|
+
- [docs] Revise the Heatmap doc (#21676) @mapache-salvaje
|
|
96
|
+
|
|
97
|
+
### Core
|
|
98
|
+
|
|
99
|
+
- [code-infra] Remove unused deps and unify es-toolkit via catalog (#21840) @Janpot
|
|
100
|
+
- [code-infra] Update @mui/internal-bundle-size-checker to canary.68 (#21836) @Janpot
|
|
101
|
+
- [code-infra] Update next (#21837) @Janpot
|
|
102
|
+
- [internal] Remove headless data grid packages (#21843) @cherniavskii
|
|
103
|
+
|
|
104
|
+
### Miscellaneous
|
|
105
|
+
|
|
106
|
+
- Add @romgrk to CODEOWNERS for `x-virtualizer` and `x-internals` (#21819) @Copilot
|
|
107
|
+
- [x-license] add 2022 plan version (#21814) @aemartos
|
|
108
|
+
|
|
109
|
+
## 9.0.0-alpha.4
|
|
110
|
+
|
|
111
|
+
_Mar 19, 2026_
|
|
112
|
+
|
|
113
|
+
We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
114
|
+
|
|
115
|
+
- 🐞 Bugfixes and internal improvements
|
|
116
|
+
|
|
117
|
+
The following team members contributed to this release:
|
|
118
|
+
@aemartos, @alexfauquette, @bernardobelchior, @Janpot, @JCQuintas, @LukasTy, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes, @sai6855, @siriwatknp
|
|
119
|
+
|
|
120
|
+
### Data Grid
|
|
121
|
+
|
|
122
|
+
#### `@mui/x-data-grid@9.0.0-alpha.4`
|
|
123
|
+
|
|
124
|
+
- [DataGrid] Mark charts integration as stable (#21764) @JCQuintas
|
|
125
|
+
- [DataGrid] Move `elementOverrides` to constants and remove duplicates (#21618) @sai6855
|
|
126
|
+
- [DataGrid] Migrate from deprecated Material UI APIs (#21682) @siriwatknp
|
|
127
|
+
|
|
128
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
129
|
+
|
|
130
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.4`.
|
|
131
|
+
|
|
132
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
133
|
+
|
|
134
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.4`.
|
|
135
|
+
|
|
136
|
+
### Date and Time Pickers
|
|
137
|
+
|
|
138
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.4`
|
|
139
|
+
|
|
140
|
+
- [pickers] Avoid stealing focus on click away (#13434) @LukasTy
|
|
141
|
+
- [pickers] Promote `fieldRef` to stable and add `clearValue` method (#21655) @michelengelen
|
|
142
|
+
|
|
143
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
144
|
+
|
|
145
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.4`.
|
|
146
|
+
|
|
147
|
+
### Charts
|
|
148
|
+
|
|
149
|
+
#### `@mui/x-charts@9.0.0-alpha.4`
|
|
150
|
+
|
|
151
|
+
- [charts] Add v9 chart series types and helper functions migration (#21009) @bernardobelchior
|
|
152
|
+
- [charts] Extract event listener to the layer container (#21751) @alexfauquette
|
|
153
|
+
- [charts] Fix WebGL print export canvas stretching (#21738) @JCQuintas
|
|
154
|
+
- [charts] Improve deprecation warnings (#21760) @alexfauquette
|
|
155
|
+
- [charts] Improve type safety in `identifierCleaner` (#21719) @bernardobelchior
|
|
156
|
+
- [charts] Make `preferStrictDomainInLineCharts` the default (#21744) @JCQuintas
|
|
157
|
+
- [charts] Move title and description to the layer container (#21757) @alexfauquette
|
|
158
|
+
- [charts] Refactor `FunnelChart` classes structure (#21652) @JCQuintas
|
|
159
|
+
- [charts] Refactor `Heatmap` classes structure (#21653) @JCQuintas
|
|
160
|
+
- [charts] Refactor `RadarChart` classes structure (#21650) @JCQuintas
|
|
161
|
+
- [charts] Refactor `SankeyChart` classes structure (#21654) @JCQuintas
|
|
162
|
+
- [charts] Refactor legend getters to use utility functions (#21628) @sai6855
|
|
163
|
+
- [charts] Remove deprecated `ChartContainer` and `ChartDataProvider` (#21777) @alexfauquette
|
|
164
|
+
- [charts] Remove deprecated `itemId` from `SeriesLegendItemContext` (#21788) @alexfauquette
|
|
165
|
+
- [charts] Remove deprecated `useMouseTracker()` (#21787) @alexfauquette
|
|
166
|
+
- [charts] Remove deprecated classes (#21775) @alexfauquette
|
|
167
|
+
- [charts] Remove deprecated props from PieArcLabel animation (#21789) @alexfauquette
|
|
168
|
+
- [charts] Remove get\*UtilityClass from public exports (#21769) @JCQuintas
|
|
169
|
+
- [charts] Remove the deprecated `disableHover` property (#21785) @alexfauquette
|
|
170
|
+
- [charts] Remove the deprecated `message` prop (#21784) @alexfauquette
|
|
171
|
+
- [charts] Remove deprecated props about voronoi (#21796) @alexfauquette
|
|
172
|
+
- [charts] Remove deprecated pieArcClasses (#21795) @alexfauquette
|
|
173
|
+
- [charts] Rename `data-series-id` by `data-series` (#21761) @alexfauquette
|
|
174
|
+
- [charts] Rename `voronoiMaxRadius`/`disableVoronoi` to `hitAreaRadius`/`disableHitArea` (#21750) @bernardobelchior
|
|
175
|
+
- [charts] Update pt-PT locale (#21296) @bernardobelchior
|
|
176
|
+
- [charts] Use different shape per series by default (#21713) @alexfauquette
|
|
177
|
+
- [charts] Add className prop to Radar components (#21794) @JCQuintas
|
|
178
|
+
- [charts] Add className prop to shared chart components (#21792) @JCQuintas
|
|
179
|
+
- [charts] Add className prop to BarPlot (#21791) @JCQuintas
|
|
180
|
+
- [charts] Portal tooltip into ChartsLayerContainer (#21801) @JCQuintas
|
|
181
|
+
|
|
182
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
183
|
+
|
|
184
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.4`, plus:
|
|
185
|
+
|
|
186
|
+
- [charts-pro] Allow `brush` interaction to accept `requiredKeys/pointerMode` (#21716) @JCQuintas
|
|
187
|
+
- [charts-pro] Remove deprecated `onAxisClick` for Heatmap (#21786) @alexfauquette
|
|
188
|
+
|
|
189
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
190
|
+
|
|
191
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.4`, plus:
|
|
192
|
+
|
|
193
|
+
- [charts-premium] Add candlestick chart (#21129) @bernardobelchior
|
|
194
|
+
|
|
195
|
+
### Tree View
|
|
196
|
+
|
|
197
|
+
#### `@mui/x-tree-view@9.0.0-alpha.4`
|
|
198
|
+
|
|
199
|
+
Internal changes.
|
|
200
|
+
|
|
201
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
202
|
+
|
|
203
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
|
|
204
|
+
|
|
205
|
+
### Codemod
|
|
206
|
+
|
|
207
|
+
#### `@mui/x-codemod@9.0.0-alpha.4`
|
|
208
|
+
|
|
209
|
+
Internal changes.
|
|
210
|
+
|
|
211
|
+
### Docs
|
|
212
|
+
|
|
213
|
+
- [docs-infra] Exclude `ServerSideLazyLoadingRevalidation` from argos (#21734) @sai6855
|
|
214
|
+
- [docs] Update charts v9 migration guide to include premium package (#21743) @bernardobelchior
|
|
215
|
+
- [docs] Update v9 migration guides to install next tag (#21741) @bernardobelchior
|
|
216
|
+
- [docs] Revise the Pie chart docs (#21565) @mapache-salvaje
|
|
217
|
+
- [docs] Revise the Bar Chart docs (#21482) @mapache-salvaje
|
|
218
|
+
- [docs] Removed a `console.log` from an aggregation demo (#21698) @michelengelen
|
|
219
|
+
|
|
220
|
+
### Core
|
|
221
|
+
|
|
222
|
+
- [code-infra] Add pkg-pr-new as dev dependency (#21754) @Janpot
|
|
223
|
+
- [code-infra] Prevent `combiner` to have default parameters (#21707) @JCQuintas
|
|
224
|
+
- [code-infra] Remove CI coverage collection and upload to Codecov (#21671) @Janpot
|
|
225
|
+
- [internal] Remove @bernardobelchior from Charts CODEOWNERS (#21776) @Copilot
|
|
226
|
+
|
|
227
|
+
### Miscellaneous
|
|
228
|
+
|
|
229
|
+
- [x-license] Fix process.env.MUI_VERSION not being replaced during build (#21727) @aemartos
|
|
230
|
+
- [x-license] Add new watermark license status message (#21720) @aemartos
|
|
231
|
+
|
|
3
232
|
## 9.0.0-alpha.3
|
|
4
233
|
|
|
5
234
|
_Mar 12, 2026_
|
package/ChartsAxis/index.d.mts
CHANGED
package/ChartsAxis/index.d.ts
CHANGED
package/ChartsAxis/index.js
CHANGED
|
@@ -3,9 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
axisClasses: true
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "axisClasses", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () {
|
|
12
|
+
return _axisClasses.axisClasses;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
6
15
|
var _ChartsAxis = require("./ChartsAxis");
|
|
7
16
|
Object.keys(_ChartsAxis).forEach(function (key) {
|
|
8
17
|
if (key === "default" || key === "__esModule") return;
|
|
18
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
9
19
|
if (key in exports && exports[key] === _ChartsAxis[key]) return;
|
|
10
20
|
Object.defineProperty(exports, key, {
|
|
11
21
|
enumerable: true,
|
|
@@ -14,14 +24,4 @@ Object.keys(_ChartsAxis).forEach(function (key) {
|
|
|
14
24
|
}
|
|
15
25
|
});
|
|
16
26
|
});
|
|
17
|
-
var _axisClasses = require("./axisClasses");
|
|
18
|
-
Object.keys(_axisClasses).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _axisClasses[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _axisClasses[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
27
|
+
var _axisClasses = require("./axisClasses");
|
package/ChartsAxis/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./ChartsAxis.mjs";
|
|
2
|
-
export
|
|
2
|
+
export { axisClasses } from "./axisClasses.mjs";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./ChartsAxisHighlight.mjs";
|
|
2
|
-
export
|
|
2
|
+
export { chartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.mjs";
|
|
3
|
+
export type { ChartsAxisHighlightClasses, ChartsAxisHighlightClassKey } from "./chartsAxisHighlightClasses.mjs";
|
|
3
4
|
export * from "./ChartsAxisHighlight.types.mjs";
|
|
4
5
|
export * from "./ChartsAxisHighlightPath.mjs";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./ChartsAxisHighlight.js";
|
|
2
|
-
export
|
|
2
|
+
export { chartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.js";
|
|
3
|
+
export type { ChartsAxisHighlightClasses, ChartsAxisHighlightClassKey } from "./chartsAxisHighlightClasses.js";
|
|
3
4
|
export * from "./ChartsAxisHighlight.types.js";
|
|
4
5
|
export * from "./ChartsAxisHighlightPath.js";
|
|
@@ -3,9 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
chartsAxisHighlightClasses: true
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "chartsAxisHighlightClasses", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () {
|
|
12
|
+
return _chartsAxisHighlightClasses.chartsAxisHighlightClasses;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
6
15
|
var _ChartsAxisHighlight = require("./ChartsAxisHighlight");
|
|
7
16
|
Object.keys(_ChartsAxisHighlight).forEach(function (key) {
|
|
8
17
|
if (key === "default" || key === "__esModule") return;
|
|
18
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
9
19
|
if (key in exports && exports[key] === _ChartsAxisHighlight[key]) return;
|
|
10
20
|
Object.defineProperty(exports, key, {
|
|
11
21
|
enumerable: true,
|
|
@@ -15,19 +25,10 @@ Object.keys(_ChartsAxisHighlight).forEach(function (key) {
|
|
|
15
25
|
});
|
|
16
26
|
});
|
|
17
27
|
var _chartsAxisHighlightClasses = require("./chartsAxisHighlightClasses");
|
|
18
|
-
Object.keys(_chartsAxisHighlightClasses).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _chartsAxisHighlightClasses[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _chartsAxisHighlightClasses[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
28
|
var _ChartsAxisHighlight2 = require("./ChartsAxisHighlight.types");
|
|
29
29
|
Object.keys(_ChartsAxisHighlight2).forEach(function (key) {
|
|
30
30
|
if (key === "default" || key === "__esModule") return;
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
31
32
|
if (key in exports && exports[key] === _ChartsAxisHighlight2[key]) return;
|
|
32
33
|
Object.defineProperty(exports, key, {
|
|
33
34
|
enumerable: true,
|
|
@@ -39,6 +40,7 @@ Object.keys(_ChartsAxisHighlight2).forEach(function (key) {
|
|
|
39
40
|
var _ChartsAxisHighlightPath = require("./ChartsAxisHighlightPath");
|
|
40
41
|
Object.keys(_ChartsAxisHighlightPath).forEach(function (key) {
|
|
41
42
|
if (key === "default" || key === "__esModule") return;
|
|
43
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
42
44
|
if (key in exports && exports[key] === _ChartsAxisHighlightPath[key]) return;
|
|
43
45
|
Object.defineProperty(exports, key, {
|
|
44
46
|
enumerable: true,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from "./ChartsAxisHighlight.mjs";
|
|
2
|
-
export
|
|
2
|
+
export { chartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.mjs";
|
|
3
3
|
export * from "./ChartsAxisHighlight.types.mjs";
|
|
4
4
|
export * from "./ChartsAxisHighlightPath.mjs";
|