@mui/x-charts 9.0.0-alpha.3 → 9.0.0-alpha.4
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 +36 -6
- package/BarChart/BarChart.mjs +36 -6
- package/BarChart/BarElement.js +1 -3
- package/BarChart/BarElement.mjs +1 -3
- 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/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 +4 -0
- package/BarChart/BarPlot.d.ts +4 -0
- package/BarChart/BarPlot.js +8 -2
- package/BarChart/BarPlot.mjs +8 -2
- package/BarChart/BatchBarPlot/BatchBarPlot.js +3 -3
- package/BarChart/BatchBarPlot/BatchBarPlot.mjs +3 -3
- 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/legend.js +2 -21
- package/BarChart/seriesConfig/bar/legend.mjs +2 -21
- package/BarChart/useBarChartProps.d.mts +2 -2
- package/BarChart/useBarChartProps.d.ts +2 -2
- package/BarChart/useBarChartProps.js +2 -2
- package/BarChart/useBarChartProps.mjs +2 -2
- package/BarChart/useRegisterItemClickHandlers.js +2 -2
- package/BarChart/useRegisterItemClickHandlers.mjs +2 -2
- package/CHANGELOG.md +123 -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 +49 -15
- package/ChartsContainer/ChartsContainer.mjs +49 -15
- 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 +49 -9
- package/ChartsLayerContainer/ChartsLayerContainer.mjs +50 -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 +9 -31
- package/ChartsSvgLayer/ChartsSvgLayer.mjs +9 -31
- 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 +2 -2
- package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +2 -2
- 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 +81 -0
- package/ChartsXAxis/useAxisTicksProps.d.ts +81 -0
- package/ChartsYAxis/ChartsGroupedYAxisTicks.js +2 -2
- package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +2 -2
- 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 +81 -0
- package/ChartsYAxis/useAxisTicksProps.d.ts +81 -0
- package/Gauge/Gauge.js +12 -0
- package/Gauge/Gauge.mjs +12 -0
- package/Gauge/GaugeContainer.d.mts +1 -1
- package/Gauge/GaugeContainer.d.ts +1 -1
- package/Gauge/GaugeContainer.js +14 -2
- package/Gauge/GaugeContainer.mjs +14 -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 +3 -41
- package/LineChart/AreaElement.mjs +3 -41
- package/LineChart/CircleMarkElement.d.mts +1 -1
- package/LineChart/CircleMarkElement.d.ts +1 -1
- package/LineChart/CircleMarkElement.js +3 -11
- package/LineChart/CircleMarkElement.mjs +4 -12
- package/LineChart/LineChart.d.mts +2 -2
- package/LineChart/LineChart.d.ts +2 -2
- package/LineChart/LineChart.js +33 -9
- package/LineChart/LineChart.mjs +33 -9
- package/LineChart/LineElement.d.mts +2 -35
- package/LineChart/LineElement.d.ts +2 -35
- package/LineChart/LineElement.js +3 -41
- package/LineChart/LineElement.mjs +3 -41
- 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 +3 -4
- package/LineChart/MarkElement.mjs +4 -5
- 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/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 +3 -42
- package/PieChart/PieArc.mjs +3 -42
- 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/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/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 +55 -13
- package/ScatterChart/ScatterChart.mjs +55 -13
- 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 +40 -10
- package/SparkLineChart/SparkLineChart.mjs +40 -10
- 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.js +2 -2
- package/hooks/useInteractionItemProps.mjs +2 -2
- 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/consumeSlots.d.mts +1 -1
- package/internals/consumeSlots.d.ts +1 -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/useChartDimensions/useChartDimensions.js +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.mjs +2 -2
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.mts +1 -4
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -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 +1 -6
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +24 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +24 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +24 -3
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.mjs +23 -2
- 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/index.d.mts +2 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.ts +2 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.js +11 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.mjs +2 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +5 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +5 -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.js +2 -2
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.mjs +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +4 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.mjs +4 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +8 -9
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs +8 -9
- 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/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/seriesSelectorOfType.d.mts +3 -3
- package/internals/seriesSelectorOfType.d.ts +3 -3
- package/internals/store/useStore.js +2 -2
- package/internals/store/useStore.mjs +2 -2
- package/locales/elGR.d.mts +4 -0
- package/locales/elGR.d.ts +4 -0
- package/locales/elGR.js +6 -0
- package/locales/elGR.mjs +6 -0
- package/locales/enUS.d.mts +4 -0
- package/locales/enUS.d.ts +4 -0
- package/locales/enUS.js +6 -1
- package/locales/enUS.mjs +6 -1
- package/locales/frFR.d.mts +4 -0
- package/locales/frFR.d.ts +4 -0
- package/locales/frFR.js +6 -1
- package/locales/frFR.mjs +6 -1
- package/locales/nbNO.d.mts +4 -0
- package/locales/nbNO.d.ts +4 -0
- package/locales/nbNO.js +6 -0
- package/locales/nbNO.mjs +6 -0
- package/locales/ptBR.d.mts +4 -0
- package/locales/ptBR.d.ts +4 -0
- package/locales/ptBR.js +6 -0
- package/locales/ptBR.mjs +6 -0
- package/locales/ptPT.d.mts +4 -0
- package/locales/ptPT.d.ts +4 -0
- package/locales/ptPT.js +102 -99
- package/locales/ptPT.mjs +102 -99
- package/locales/svSE.d.mts +4 -0
- package/locales/svSE.d.ts +4 -0
- package/locales/svSE.js +6 -0
- package/locales/svSE.mjs +6 -0
- package/locales/utils/chartsLocaleTextApi.d.mts +16 -0
- package/locales/utils/chartsLocaleTextApi.d.ts +16 -0
- package/locales/utils/getChartsLocalization.d.mts +4 -0
- package/locales/utils/getChartsLocalization.d.ts +4 -0
- package/models/axis.d.mts +4 -0
- package/models/axis.d.ts +4 -0
- 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/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 +87 -115
- 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
package/BarChart/BarPlot.d.mts
CHANGED
|
@@ -7,6 +7,10 @@ import { type RendererType } from "../ScatterChart/index.mjs";
|
|
|
7
7
|
export interface BarPlotSlots extends BarElementSlots, BarLabelSlots {}
|
|
8
8
|
export interface BarPlotSlotProps extends BarElementSlotProps, BarLabelSlotProps {}
|
|
9
9
|
export interface BarPlotProps {
|
|
10
|
+
/**
|
|
11
|
+
* A CSS class name applied to the root element.
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
10
14
|
/**
|
|
11
15
|
* If `true`, animations are skipped.
|
|
12
16
|
* @default undefined
|
package/BarChart/BarPlot.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ import { type RendererType } from "../ScatterChart/index.js";
|
|
|
7
7
|
export interface BarPlotSlots extends BarElementSlots, BarLabelSlots {}
|
|
8
8
|
export interface BarPlotSlotProps extends BarElementSlotProps, BarLabelSlotProps {}
|
|
9
9
|
export interface BarPlotProps {
|
|
10
|
+
/**
|
|
11
|
+
* A CSS class name applied to the root element.
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
10
14
|
/**
|
|
11
15
|
* If `true`, animations are skipped.
|
|
12
16
|
* @default undefined
|
package/BarChart/BarPlot.js
CHANGED
|
@@ -11,6 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
12
12
|
var React = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
14
|
+
var _clsx = _interopRequireDefault(require("clsx"));
|
|
14
15
|
var _styles = require("@mui/material/styles");
|
|
15
16
|
var _hooks = require("../hooks");
|
|
16
17
|
var _BarLabelPlot = require("./BarLabel/BarLabelPlot");
|
|
@@ -22,7 +23,7 @@ var _animation = require("../internals/animation/animation");
|
|
|
22
23
|
var _IndividualBarPlot = require("./IndividualBarPlot");
|
|
23
24
|
var _BatchBarPlot = require("./BatchBarPlot");
|
|
24
25
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
|
-
const _excluded = ["skipAnimation", "onItemClick", "borderRadius", "barLabel", "renderer"];
|
|
26
|
+
const _excluded = ["className", "skipAnimation", "onItemClick", "borderRadius", "barLabel", "renderer"];
|
|
26
27
|
const BarPlotRoot = (0, _styles.styled)('g', {
|
|
27
28
|
name: 'MuiBarPlot',
|
|
28
29
|
slot: 'Root'
|
|
@@ -47,6 +48,7 @@ const BarPlotRoot = (0, _styles.styled)('g', {
|
|
|
47
48
|
*/
|
|
48
49
|
function BarPlot(props) {
|
|
49
50
|
const {
|
|
51
|
+
className,
|
|
50
52
|
skipAnimation: inSkipAnimation,
|
|
51
53
|
onItemClick,
|
|
52
54
|
borderRadius,
|
|
@@ -70,7 +72,7 @@ function BarPlot(props) {
|
|
|
70
72
|
const classes = (0, _barClasses.useUtilityClasses)();
|
|
71
73
|
const BarElementPlot = renderer === 'svg-batch' ? _BatchBarPlot.BatchBarPlot : _IndividualBarPlot.IndividualBarPlot;
|
|
72
74
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(BarPlotRoot, {
|
|
73
|
-
className: classes.root,
|
|
75
|
+
className: (0, _clsx.default)(classes.root, className),
|
|
74
76
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(BarElementPlot, (0, _extends2.default)({
|
|
75
77
|
completedData: completedData,
|
|
76
78
|
masksData: masksData
|
|
@@ -108,6 +110,10 @@ process.env.NODE_ENV !== "production" ? BarPlot.propTypes = {
|
|
|
108
110
|
* Defines the border radius of the bar element.
|
|
109
111
|
*/
|
|
110
112
|
borderRadius: _propTypes.default.number,
|
|
113
|
+
/**
|
|
114
|
+
* A CSS class name applied to the root element.
|
|
115
|
+
*/
|
|
116
|
+
className: _propTypes.default.string,
|
|
111
117
|
/**
|
|
112
118
|
* Callback fired when a bar item is clicked.
|
|
113
119
|
* @param {React.MouseEvent<SVGElement, MouseEvent>} event The event source of the callback.
|
package/BarChart/BarPlot.mjs
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
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 = ["skipAnimation", "onItemClick", "borderRadius", "barLabel", "renderer"];
|
|
5
|
+
const _excluded = ["className", "skipAnimation", "onItemClick", "borderRadius", "barLabel", "renderer"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
|
+
import clsx from 'clsx';
|
|
8
9
|
import { styled } from '@mui/material/styles';
|
|
9
10
|
import { useDrawingArea, useXAxes, useYAxes } from "../hooks/index.mjs";
|
|
10
11
|
import { BarLabelPlot } from "./BarLabel/BarLabelPlot.mjs";
|
|
@@ -40,6 +41,7 @@ const BarPlotRoot = styled('g', {
|
|
|
40
41
|
*/
|
|
41
42
|
function BarPlot(props) {
|
|
42
43
|
const {
|
|
44
|
+
className,
|
|
43
45
|
skipAnimation: inSkipAnimation,
|
|
44
46
|
onItemClick,
|
|
45
47
|
borderRadius,
|
|
@@ -63,7 +65,7 @@ function BarPlot(props) {
|
|
|
63
65
|
const classes = useUtilityClasses();
|
|
64
66
|
const BarElementPlot = renderer === 'svg-batch' ? BatchBarPlot : IndividualBarPlot;
|
|
65
67
|
return /*#__PURE__*/_jsxs(BarPlotRoot, {
|
|
66
|
-
className: classes.root,
|
|
68
|
+
className: clsx(classes.root, className),
|
|
67
69
|
children: [/*#__PURE__*/_jsx(BarElementPlot, _extends({
|
|
68
70
|
completedData: completedData,
|
|
69
71
|
masksData: masksData
|
|
@@ -101,6 +103,10 @@ process.env.NODE_ENV !== "production" ? BarPlot.propTypes = {
|
|
|
101
103
|
* Defines the border radius of the bar element.
|
|
102
104
|
*/
|
|
103
105
|
borderRadius: PropTypes.number,
|
|
106
|
+
/**
|
|
107
|
+
* A CSS class name applied to the root element.
|
|
108
|
+
*/
|
|
109
|
+
className: PropTypes.string,
|
|
104
110
|
/**
|
|
105
111
|
* Callback fired when a bar item is clicked.
|
|
106
112
|
* @param {React.MouseEvent<SVGElement, MouseEvent>} event The event source of the callback.
|
|
@@ -9,7 +9,7 @@ exports.BatchBarPlot = BatchBarPlot;
|
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _hooks = require("../../hooks");
|
|
11
11
|
var _barClasses = require("../barClasses");
|
|
12
|
-
var
|
|
12
|
+
var _useChartsContext = require("../../context/ChartsProvider/useChartsContext");
|
|
13
13
|
var _useChartHighlight = require("../../internals/plugins/featurePlugins/useChartHighlight");
|
|
14
14
|
var _useRegisterItemClickHandlers = require("../useRegisterItemClickHandlers");
|
|
15
15
|
var _useCreateBarPaths = require("./useCreateBarPaths");
|
|
@@ -66,7 +66,7 @@ function SeriesBatchPlot({
|
|
|
66
66
|
const classes = (0, _barClasses.useUtilityClasses)();
|
|
67
67
|
const {
|
|
68
68
|
store
|
|
69
|
-
} = (0,
|
|
69
|
+
} = (0, _useChartsContext.useChartsContext)();
|
|
70
70
|
const isSeriesHighlighted = store.use(_useChartHighlight.selectorChartIsSeriesHighlighted, series.seriesId);
|
|
71
71
|
const isSeriesFaded = store.use(_useChartHighlight.selectorChartIsSeriesFaded, series.seriesId);
|
|
72
72
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
@@ -115,7 +115,7 @@ function FadedHighlightedBars({
|
|
|
115
115
|
}) {
|
|
116
116
|
const {
|
|
117
117
|
store
|
|
118
|
-
} = (0,
|
|
118
|
+
} = (0, _useChartsContext.useChartsContext)();
|
|
119
119
|
const seriesHighlightedDataIndex = store.use(_useChartHighlight.selectorChartSeriesHighlightedItem, processedSeries.seriesId);
|
|
120
120
|
const seriesUnfadedDataIndex = store.use(_useChartHighlight.selectorChartSeriesUnfadedItem, processedSeries.seriesId);
|
|
121
121
|
const seriesHighlightedItem = seriesHighlightedDataIndex != null ? processedSeries.data.find(v => v.dataIndex === seriesHighlightedDataIndex) || null : null;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { useChartsLayerContainerRef } from "../../hooks/index.mjs";
|
|
5
5
|
import { useUtilityClasses } from "../barClasses.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { useChartsContext } from "../../context/ChartsProvider/useChartsContext.mjs";
|
|
7
7
|
import { selectorChartIsSeriesFaded, selectorChartIsSeriesHighlighted, selectorChartSeriesHighlightedItem, selectorChartSeriesUnfadedItem } from "../../internals/plugins/featurePlugins/useChartHighlight/index.mjs";
|
|
8
8
|
import { useRegisterItemClickHandlers } from "../useRegisterItemClickHandlers.mjs";
|
|
9
9
|
import { createPath, useCreateBarPaths } from "./useCreateBarPaths.mjs";
|
|
@@ -60,7 +60,7 @@ function SeriesBatchPlot({
|
|
|
60
60
|
const classes = useUtilityClasses();
|
|
61
61
|
const {
|
|
62
62
|
store
|
|
63
|
-
} =
|
|
63
|
+
} = useChartsContext();
|
|
64
64
|
const isSeriesHighlighted = store.use(selectorChartIsSeriesHighlighted, series.seriesId);
|
|
65
65
|
const isSeriesFaded = store.use(selectorChartIsSeriesFaded, series.seriesId);
|
|
66
66
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
@@ -109,7 +109,7 @@ function FadedHighlightedBars({
|
|
|
109
109
|
}) {
|
|
110
110
|
const {
|
|
111
111
|
store
|
|
112
|
-
} =
|
|
112
|
+
} = useChartsContext();
|
|
113
113
|
const seriesHighlightedDataIndex = store.use(selectorChartSeriesHighlightedItem, processedSeries.seriesId);
|
|
114
114
|
const seriesUnfadedDataIndex = store.use(selectorChartSeriesUnfadedItem, processedSeries.seriesId);
|
|
115
115
|
const seriesHighlightedItem = seriesHighlightedDataIndex != null ? processedSeries.data.find(v => v.dataIndex === seriesHighlightedDataIndex) || null : null;
|
package/BarChart/index.d.mts
CHANGED
|
@@ -3,7 +3,6 @@ export * from "./BarPlot.mjs";
|
|
|
3
3
|
export * from "./BarElement.mjs";
|
|
4
4
|
export * from "./BarLabel/index.mjs";
|
|
5
5
|
export * from "./FocusedBar.mjs";
|
|
6
|
-
export * from "./barElementClasses.mjs";
|
|
7
6
|
export * from "./BarChart.plugins.mjs";
|
|
8
7
|
export { type BarProps } from "./AnimatedBarElement.mjs";
|
|
9
8
|
export { barClasses } from "./barClasses.mjs";
|
package/BarChart/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export * from "./BarPlot.js";
|
|
|
3
3
|
export * from "./BarElement.js";
|
|
4
4
|
export * from "./BarLabel/index.js";
|
|
5
5
|
export * from "./FocusedBar.js";
|
|
6
|
-
export * from "./barElementClasses.js";
|
|
7
6
|
export * from "./BarChart.plugins.js";
|
|
8
7
|
export { type BarProps } from "./AnimatedBarElement.js";
|
|
9
8
|
export { barClasses } from "./barClasses.js";
|
package/BarChart/index.js
CHANGED
|
@@ -72,18 +72,6 @@ Object.keys(_FocusedBar).forEach(function (key) {
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
});
|
|
75
|
-
var _barElementClasses = require("./barElementClasses");
|
|
76
|
-
Object.keys(_barElementClasses).forEach(function (key) {
|
|
77
|
-
if (key === "default" || key === "__esModule") return;
|
|
78
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
79
|
-
if (key in exports && exports[key] === _barElementClasses[key]) return;
|
|
80
|
-
Object.defineProperty(exports, key, {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function () {
|
|
83
|
-
return _barElementClasses[key];
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
75
|
var _BarChart2 = require("./BarChart.plugins");
|
|
88
76
|
Object.keys(_BarChart2).forEach(function (key) {
|
|
89
77
|
if (key === "default" || key === "__esModule") return;
|
package/BarChart/index.mjs
CHANGED
|
@@ -3,6 +3,5 @@ export * from "./BarPlot.mjs";
|
|
|
3
3
|
export * from "./BarElement.mjs";
|
|
4
4
|
export * from "./BarLabel/index.mjs";
|
|
5
5
|
export * from "./FocusedBar.mjs";
|
|
6
|
-
export * from "./barElementClasses.mjs";
|
|
7
6
|
export * from "./BarChart.plugins.mjs";
|
|
8
7
|
export { barClasses } from "./barClasses.mjs";
|
|
@@ -4,25 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var
|
|
8
|
-
const legendGetter =
|
|
9
|
-
const {
|
|
10
|
-
seriesOrder,
|
|
11
|
-
series
|
|
12
|
-
} = params;
|
|
13
|
-
return seriesOrder.reduce((acc, seriesId) => {
|
|
14
|
-
const formattedLabel = (0, _getLabel.getLabel)(series[seriesId].label, 'legend');
|
|
15
|
-
if (formattedLabel === undefined) {
|
|
16
|
-
return acc;
|
|
17
|
-
}
|
|
18
|
-
acc.push({
|
|
19
|
-
type: 'bar',
|
|
20
|
-
markType: series[seriesId].labelMarkType,
|
|
21
|
-
seriesId,
|
|
22
|
-
color: series[seriesId].color,
|
|
23
|
-
label: formattedLabel
|
|
24
|
-
});
|
|
25
|
-
return acc;
|
|
26
|
-
}, []);
|
|
27
|
-
};
|
|
7
|
+
var _legendUtils = require("../../../internals/legendUtils");
|
|
8
|
+
const legendGetter = series => (0, _legendUtils.getSeriesLegendItems)('bar', series);
|
|
28
9
|
var _default = exports.default = legendGetter;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -90,7 +90,7 @@ const useBarChartProps = props => {
|
|
|
90
90
|
scaleType: 'band'
|
|
91
91
|
}, axis)) : yAxis;
|
|
92
92
|
}, [defaultYAxis, hasHorizontalSeries, yAxis]);
|
|
93
|
-
const
|
|
93
|
+
const chartsContainerProps = (0, _extends2.default)({}, other, {
|
|
94
94
|
series: seriesWithDefault,
|
|
95
95
|
width,
|
|
96
96
|
height,
|
|
@@ -151,7 +151,7 @@ const useBarChartProps = props => {
|
|
|
151
151
|
};
|
|
152
152
|
return {
|
|
153
153
|
chartsWrapperProps,
|
|
154
|
-
|
|
154
|
+
chartsContainerProps,
|
|
155
155
|
barPlotProps,
|
|
156
156
|
gridProps,
|
|
157
157
|
clipPathProps,
|
|
@@ -83,7 +83,7 @@ export const useBarChartProps = props => {
|
|
|
83
83
|
scaleType: 'band'
|
|
84
84
|
}, axis)) : yAxis;
|
|
85
85
|
}, [defaultYAxis, hasHorizontalSeries, yAxis]);
|
|
86
|
-
const
|
|
86
|
+
const chartsContainerProps = _extends({}, other, {
|
|
87
87
|
series: seriesWithDefault,
|
|
88
88
|
width,
|
|
89
89
|
height,
|
|
@@ -144,7 +144,7 @@ export const useBarChartProps = props => {
|
|
|
144
144
|
};
|
|
145
145
|
return {
|
|
146
146
|
chartsWrapperProps,
|
|
147
|
-
|
|
147
|
+
chartsContainerProps,
|
|
148
148
|
barPlotProps,
|
|
149
149
|
gridProps,
|
|
150
150
|
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,128 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0-alpha.4
|
|
4
|
+
|
|
5
|
+
_Mar 19, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 🐞 Bugfixes and internal improvements
|
|
10
|
+
|
|
11
|
+
The following team members contributed to this release:
|
|
12
|
+
@aemartos, @alexfauquette, @bernardobelchior, @Janpot, @JCQuintas, @LukasTy, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes, @sai6855, @siriwatknp
|
|
13
|
+
|
|
14
|
+
### Data Grid
|
|
15
|
+
|
|
16
|
+
#### `@mui/x-data-grid@9.0.0-alpha.4`
|
|
17
|
+
|
|
18
|
+
- [DataGrid] Mark charts integration as stable (#21764) @JCQuintas
|
|
19
|
+
- [DataGrid] Move `elementOverrides` to constants and remove duplicates (#21618) @sai6855
|
|
20
|
+
- [DataGrid] Migrate from deprecated Material UI APIs (#21682) @siriwatknp
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
|
+
|
|
24
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.4`.
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.4`.
|
|
29
|
+
|
|
30
|
+
### Date and Time Pickers
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.4`
|
|
33
|
+
|
|
34
|
+
- [pickers] Avoid stealing focus on click away (#13434) @LukasTy
|
|
35
|
+
- [pickers] Promote `fieldRef` to stable and add `clearValue` method (#21655) @michelengelen
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.4`.
|
|
40
|
+
|
|
41
|
+
### Charts
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-charts@9.0.0-alpha.4`
|
|
44
|
+
|
|
45
|
+
- [charts] Add v9 chart series types and helper functions migration (#21009) @bernardobelchior
|
|
46
|
+
- [charts] Extract event listener to the layer container (#21751) @alexfauquette
|
|
47
|
+
- [charts] Fix WebGL print export canvas stretching (#21738) @JCQuintas
|
|
48
|
+
- [charts] Improve deprecation warnings (#21760) @alexfauquette
|
|
49
|
+
- [charts] Improve type safety in `identifierCleaner` (#21719) @bernardobelchior
|
|
50
|
+
- [charts] Make `preferStrictDomainInLineCharts` the default (#21744) @JCQuintas
|
|
51
|
+
- [charts] Move title and description to the layer container (#21757) @alexfauquette
|
|
52
|
+
- [charts] Refactor `FunnelChart` classes structure (#21652) @JCQuintas
|
|
53
|
+
- [charts] Refactor `Heatmap` classes structure (#21653) @JCQuintas
|
|
54
|
+
- [charts] Refactor `RadarChart` classes structure (#21650) @JCQuintas
|
|
55
|
+
- [charts] Refactor `SankeyChart` classes structure (#21654) @JCQuintas
|
|
56
|
+
- [charts] Refactor legend getters to use utility functions (#21628) @sai6855
|
|
57
|
+
- [charts] Remove deprecated `ChartContainer` and `ChartDataProvider` (#21777) @alexfauquette
|
|
58
|
+
- [charts] Remove deprecated `itemId` from `SeriesLegendItemContext` (#21788) @alexfauquette
|
|
59
|
+
- [charts] Remove deprecated `useMouseTracker()` (#21787) @alexfauquette
|
|
60
|
+
- [charts] Remove deprecated classes (#21775) @alexfauquette
|
|
61
|
+
- [charts] Remove deprecated props from PieArcLabel animation (#21789) @alexfauquette
|
|
62
|
+
- [charts] Remove get*UtilityClass from public exports (#21769) @JCQuintas
|
|
63
|
+
- [charts] Remove the deprecated `disableHover` property (#21785) @alexfauquette
|
|
64
|
+
- [charts] Remove the deprecated `message` prop (#21784) @alexfauquette
|
|
65
|
+
- [charts] Remove deprecated props about voronoi (#21796) @alexfauquette
|
|
66
|
+
- [charts] Remove deprecated pieArcClasses (#21795) @alexfauquette
|
|
67
|
+
- [charts] Rename `data-series-id` by `data-series` (#21761) @alexfauquette
|
|
68
|
+
- [charts] Rename `voronoiMaxRadius`/`disableVoronoi` to `hitAreaRadius`/`disableHitArea` (#21750) @bernardobelchior
|
|
69
|
+
- [charts] Update pt-PT locale (#21296) @bernardobelchior
|
|
70
|
+
- [charts] Use different shape per series by default (#21713) @alexfauquette
|
|
71
|
+
- [charts] Add className prop to Radar components (#21794) @JCQuintas
|
|
72
|
+
- [charts] Add className prop to shared chart components (#21792) @JCQuintas
|
|
73
|
+
- [charts] Add className prop to BarPlot (#21791) @JCQuintas
|
|
74
|
+
- [charts] Portal tooltip into ChartsLayerContainer (#21801) @JCQuintas
|
|
75
|
+
|
|
76
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
77
|
+
|
|
78
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.4`, plus:
|
|
79
|
+
|
|
80
|
+
- [charts-pro] Allow `brush` interaction to accept `requiredKeys/pointerMode` (#21716) @JCQuintas
|
|
81
|
+
- [charts-pro] Remove deprecated `onAxisClick` for Heatmap (#21786) @alexfauquette
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
84
|
+
|
|
85
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.4`, plus:
|
|
86
|
+
|
|
87
|
+
- [charts-premium] Add candlestick chart (#21129) @bernardobelchior
|
|
88
|
+
|
|
89
|
+
### Tree View
|
|
90
|
+
|
|
91
|
+
#### `@mui/x-tree-view@9.0.0-alpha.4`
|
|
92
|
+
|
|
93
|
+
Internal changes.
|
|
94
|
+
|
|
95
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
96
|
+
|
|
97
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
|
|
98
|
+
|
|
99
|
+
### Codemod
|
|
100
|
+
|
|
101
|
+
#### `@mui/x-codemod@9.0.0-alpha.4`
|
|
102
|
+
|
|
103
|
+
Internal changes.
|
|
104
|
+
|
|
105
|
+
### Docs
|
|
106
|
+
|
|
107
|
+
- [docs-infra] Exclude `ServerSideLazyLoadingRevalidation` from argos (#21734) @sai6855
|
|
108
|
+
- [docs] Update charts v9 migration guide to include premium package (#21743) @bernardobelchior
|
|
109
|
+
- [docs] Update v9 migration guides to install next tag (#21741) @bernardobelchior
|
|
110
|
+
- [docs] Revise the Pie chart docs (#21565) @mapache-salvaje
|
|
111
|
+
- [docs] Revise the Bar Chart docs (#21482) @mapache-salvaje
|
|
112
|
+
- [docs] Removed a `console.log` from an aggregation demo (#21698) @michelengelen
|
|
113
|
+
|
|
114
|
+
### Core
|
|
115
|
+
|
|
116
|
+
- [code-infra] Add pkg-pr-new as dev dependency (#21754) @Janpot
|
|
117
|
+
- [code-infra] Prevent `combiner` to have default parameters (#21707) @JCQuintas
|
|
118
|
+
- [code-infra] Remove CI coverage collection and upload to Codecov (#21671) @Janpot
|
|
119
|
+
- [internal] Remove @bernardobelchior from Charts CODEOWNERS (#21776) @Copilot
|
|
120
|
+
|
|
121
|
+
### Miscellaneous
|
|
122
|
+
|
|
123
|
+
- [x-license] Fix process.env.MUI_VERSION not being replaced during build (#21727) @aemartos
|
|
124
|
+
- [x-license] Add new watermark license status message (#21720) @aemartos
|
|
125
|
+
|
|
3
126
|
## 9.0.0-alpha.3
|
|
4
127
|
|
|
5
128
|
_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";
|