@mui/x-charts 9.0.0-alpha.2 → 9.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChart/AnimatedBarElement.d.mts +1 -1
- package/BarChart/AnimatedBarElement.d.ts +1 -1
- package/BarChart/BarChart.js +5 -2
- package/BarChart/BarChart.mjs +5 -2
- package/BarChart/BarElement.d.mts +1 -1
- package/BarChart/BarElement.d.ts +1 -1
- package/BarChart/BarElement.js +8 -7
- package/BarChart/BarElement.mjs +8 -7
- package/BarChart/BarLabel/BarLabel.js +4 -0
- package/BarChart/BarLabel/BarLabel.mjs +4 -0
- package/BarChart/BarLabel/BarLabel.types.d.mts +2 -2
- package/BarChart/BarLabel/BarLabel.types.d.ts +2 -2
- package/BarChart/BarLabel/BarLabelItem.js +8 -7
- package/BarChart/BarLabel/BarLabelItem.mjs +8 -7
- package/BarChart/BarLabel/barLabelClasses.d.mts +15 -0
- package/BarChart/BarLabel/barLabelClasses.d.ts +15 -0
- package/BarChart/BarLabel/barLabelClasses.js +19 -0
- package/BarChart/BarLabel/barLabelClasses.mjs +20 -0
- package/BarChart/BarPlot.js +1 -2
- package/BarChart/BarPlot.mjs +2 -3
- package/BarChart/barClasses.d.mts +21 -1
- package/BarChart/barClasses.d.ts +21 -1
- package/BarChart/barClasses.js +9 -3
- package/BarChart/barClasses.mjs +9 -3
- package/BarChart/barElementClasses.d.mts +17 -10
- package/BarChart/barElementClasses.d.ts +17 -10
- package/BarChart/barElementClasses.js +19 -0
- package/BarChart/barElementClasses.mjs +20 -0
- package/BarChart/index.d.mts +1 -1
- package/BarChart/index.d.ts +1 -1
- package/BarChart/index.js +1 -8
- package/BarChart/index.mjs +1 -1
- package/CHANGELOG.md +123 -1
- package/ChartContainer/ChartContainer.d.mts +1 -1
- package/ChartContainer/ChartContainer.d.ts +1 -1
- package/ChartContainer/useChartContainerProps.d.mts +2 -2
- package/ChartContainer/useChartContainerProps.d.ts +2 -2
- package/ChartDataProvider/ChartDataProvider.d.mts +1 -1
- package/ChartDataProvider/ChartDataProvider.d.ts +1 -1
- package/ChartDataProvider/useChartDataProviderProps.d.mts +2 -2
- package/ChartDataProvider/useChartDataProviderProps.d.ts +2 -2
- package/ChartsContainer/ChartsContainer.d.mts +1 -1
- package/ChartsContainer/ChartsContainer.d.ts +1 -1
- package/ChartsContainer/ChartsContainer.js +5 -2
- package/ChartsContainer/ChartsContainer.mjs +5 -2
- package/ChartsContainer/useChartsContainerProps.d.mts +3 -3
- package/ChartsContainer/useChartsContainerProps.d.ts +3 -3
- package/ChartsContainer/useChartsContainerProps.js +3 -3
- package/ChartsContainer/useChartsContainerProps.mjs +3 -3
- package/ChartsDataProvider/ChartsDataProvider.d.mts +2 -2
- package/ChartsDataProvider/ChartsDataProvider.d.ts +2 -2
- package/ChartsDataProvider/useChartsDataProviderProps.d.mts +2 -2
- package/ChartsDataProvider/useChartsDataProviderProps.d.ts +2 -2
- package/ChartsLabel/ChartsLabelMark.d.mts +8 -1
- package/ChartsLabel/ChartsLabelMark.d.ts +8 -1
- package/ChartsLabel/ChartsLabelMark.js +29 -3
- package/ChartsLabel/ChartsLabelMark.mjs +29 -3
- package/ChartsLabel/labelMarkClasses.d.mts +2 -0
- package/ChartsLabel/labelMarkClasses.d.ts +2 -0
- package/ChartsLabel/labelMarkClasses.js +1 -1
- package/ChartsLabel/labelMarkClasses.mjs +1 -1
- package/ChartsLegend/ChartsLegend.js +4 -2
- package/ChartsLegend/ChartsLegend.mjs +4 -2
- package/ChartsLegend/legendContext.types.d.mts +1 -0
- package/ChartsLegend/legendContext.types.d.ts +1 -0
- package/ChartsTooltip/ChartsAxisTooltipContent.js +3 -1
- package/ChartsTooltip/ChartsAxisTooltipContent.mjs +3 -1
- package/ChartsTooltip/ChartsItemTooltipContent.js +6 -2
- package/ChartsTooltip/ChartsItemTooltipContent.mjs +6 -2
- package/ChartsTooltip/ChartsTooltipContainer.js +7 -5
- package/ChartsTooltip/ChartsTooltipContainer.mjs +6 -4
- package/ChartsTooltip/ChartsTooltipTable.d.mts +1 -1
- package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/ChartsTooltip/useAxesTooltip.d.mts +1 -0
- package/ChartsTooltip/useAxesTooltip.d.ts +1 -0
- package/ChartsTooltip/useAxesTooltip.js +6 -4
- package/ChartsTooltip/useAxesTooltip.mjs +6 -4
- package/ChartsTooltip/useItemTooltip.d.mts +5 -3
- package/ChartsTooltip/useItemTooltip.d.ts +5 -3
- package/ChartsXAxis/useAxisTicksProps.d.mts +286 -286
- package/ChartsXAxis/useAxisTicksProps.d.ts +286 -286
- package/ChartsYAxis/useAxisTicksProps.d.mts +286 -286
- package/ChartsYAxis/useAxisTicksProps.d.ts +286 -286
- package/LineChart/AreaElement.d.mts +12 -0
- package/LineChart/AreaElement.d.ts +12 -0
- package/LineChart/AreaElement.js +28 -9
- package/LineChart/AreaElement.mjs +30 -9
- package/LineChart/AreaPlot.js +10 -4
- package/LineChart/AreaPlot.mjs +11 -5
- package/LineChart/CircleMarkElement.js +9 -2
- package/LineChart/CircleMarkElement.mjs +10 -3
- package/LineChart/LineChart.js +5 -2
- package/LineChart/LineChart.mjs +5 -2
- package/LineChart/LineElement.d.mts +12 -0
- package/LineChart/LineElement.d.ts +12 -0
- package/LineChart/LineElement.js +28 -9
- package/LineChart/LineElement.mjs +30 -9
- package/LineChart/LineHighlightElement.d.mts +12 -0
- package/LineChart/LineHighlightElement.d.ts +12 -0
- package/LineChart/LineHighlightElement.js +22 -3
- package/LineChart/LineHighlightElement.mjs +24 -3
- package/LineChart/LinePlot.js +11 -5
- package/LineChart/LinePlot.mjs +12 -6
- package/LineChart/MarkElement.js +9 -2
- package/LineChart/MarkElement.mjs +10 -3
- package/LineChart/MarkPlot.js +19 -9
- package/LineChart/MarkPlot.mjs +20 -10
- package/LineChart/index.d.mts +3 -1
- package/LineChart/index.d.ts +3 -1
- package/LineChart/index.js +10 -2
- package/LineChart/index.mjs +2 -1
- package/LineChart/lineClasses.d.mts +34 -0
- package/LineChart/lineClasses.d.ts +34 -0
- package/LineChart/lineClasses.js +32 -0
- package/LineChart/lineClasses.mjs +23 -0
- package/LineChart/markElementClasses.d.mts +17 -8
- package/LineChart/markElementClasses.d.ts +17 -8
- package/LineChart/markElementClasses.js +19 -0
- package/LineChart/markElementClasses.mjs +20 -0
- package/LineChart/seriesConfig/legend.js +1 -0
- package/LineChart/seriesConfig/legend.mjs +1 -0
- package/LineChart/seriesConfig/seriesProcessor.js +1 -1
- package/LineChart/seriesConfig/seriesProcessor.mjs +1 -1
- package/LineChart/seriesConfig/tooltip.js +2 -1
- package/LineChart/seriesConfig/tooltip.mjs +2 -1
- package/PieChart/FocusedPieArc.js +8 -6
- package/PieChart/FocusedPieArc.mjs +8 -6
- package/PieChart/PieArc.d.mts +14 -11
- package/PieChart/PieArc.d.ts +14 -11
- package/PieChart/PieArc.js +22 -4
- package/PieChart/PieArc.mjs +24 -4
- package/PieChart/PieArcLabel.d.mts +16 -2
- package/PieChart/PieArcLabel.d.ts +16 -2
- package/PieChart/PieArcLabel.js +26 -5
- package/PieChart/PieArcLabel.mjs +28 -5
- package/PieChart/PieArcLabelPlot.js +6 -1
- package/PieChart/PieArcLabelPlot.mjs +6 -1
- package/PieChart/PieArcPlot.js +6 -1
- package/PieChart/PieArcPlot.mjs +6 -1
- package/PieChart/PieChart.js +5 -2
- package/PieChart/PieChart.mjs +5 -2
- package/PieChart/PiePlot.d.mts +1 -0
- package/PieChart/PiePlot.d.ts +1 -0
- package/PieChart/PiePlot.js +4 -1
- package/PieChart/PiePlot.mjs +4 -1
- package/PieChart/dataTransform/useTransformData.js +6 -8
- package/PieChart/dataTransform/useTransformData.mjs +6 -8
- package/PieChart/pieClasses.d.mts +22 -1
- package/PieChart/pieClasses.d.ts +22 -1
- package/PieChart/pieClasses.js +10 -3
- package/PieChart/pieClasses.mjs +10 -3
- package/RadarChart/RadarChart.js +5 -2
- package/RadarChart/RadarChart.mjs +5 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +3 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +3 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +7 -14
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +7 -14
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +7 -14
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +7 -14
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +4 -9
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +4 -9
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +8 -16
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.mjs +8 -16
- package/RadarChart/seriesConfig/tooltip.js +13 -8
- package/RadarChart/seriesConfig/tooltip.mjs +13 -8
- package/RadarChart/useRadarChartProps.js +3 -3
- package/RadarChart/useRadarChartProps.mjs +3 -3
- package/ScatterChart/BatchScatter.d.mts +2 -1
- package/ScatterChart/BatchScatter.d.ts +2 -1
- package/ScatterChart/BatchScatter.js +5 -3
- package/ScatterChart/BatchScatter.mjs +4 -3
- package/ScatterChart/FocusedScatterMark.d.mts +4 -1
- package/ScatterChart/FocusedScatterMark.d.ts +4 -1
- package/ScatterChart/FocusedScatterMark.js +12 -2
- package/ScatterChart/FocusedScatterMark.mjs +11 -1
- package/ScatterChart/Scatter.d.mts +1 -1
- package/ScatterChart/Scatter.d.ts +1 -1
- package/ScatterChart/Scatter.js +11 -9
- package/ScatterChart/Scatter.mjs +11 -9
- package/ScatterChart/ScatterChart.js +5 -2
- package/ScatterChart/ScatterChart.mjs +5 -2
- package/ScatterChart/ScatterPlot.d.mts +2 -1
- package/ScatterChart/ScatterPlot.d.ts +2 -1
- package/ScatterChart/ScatterPlot.js +16 -2
- package/ScatterChart/ScatterPlot.mjs +16 -2
- package/ScatterChart/index.d.mts +2 -2
- package/ScatterChart/index.d.ts +2 -2
- package/ScatterChart/scatterClasses.d.mts +14 -2
- package/ScatterChart/scatterClasses.d.ts +14 -2
- package/ScatterChart/scatterClasses.js +9 -3
- package/ScatterChart/scatterClasses.mjs +9 -3
- package/SparkLineChart/SparkLineChart.js +5 -2
- package/SparkLineChart/SparkLineChart.mjs +5 -2
- package/context/ChartApi.d.mts +1 -1
- package/context/ChartApi.d.ts +1 -1
- package/context/ChartProvider/ChartProvider.types.d.mts +2 -2
- package/context/ChartProvider/ChartProvider.types.d.ts +2 -2
- package/context/ChartsProvider/ChartsProvider.d.mts +1 -1
- package/context/ChartsProvider/ChartsProvider.d.ts +1 -1
- package/context/ChartsProvider/ChartsProvider.types.d.mts +3 -3
- package/context/ChartsProvider/ChartsProvider.types.d.ts +3 -3
- package/hooks/index.d.mts +2 -2
- package/hooks/index.d.ts +2 -2
- package/hooks/index.js +8 -8
- package/hooks/index.mjs +2 -2
- package/hooks/useInteractionItemProps.d.mts +1 -2
- package/hooks/useInteractionItemProps.d.ts +1 -2
- package/hooks/{useItemHighlighted.d.mts → useItemHighlightState.d.mts} +5 -13
- package/hooks/{useItemHighlighted.d.ts → useItemHighlightState.d.ts} +5 -13
- package/hooks/{useItemHighlighted.js → useItemHighlightState.js} +5 -10
- package/hooks/useItemHighlightState.mjs +17 -0
- package/hooks/useItemHighlightStateGetter.d.mts +9 -0
- package/hooks/useItemHighlightStateGetter.d.ts +9 -0
- package/hooks/useItemHighlightStateGetter.js +21 -0
- package/hooks/useItemHighlightStateGetter.mjs +16 -0
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/commonNextFocusItem.d.mts +5 -5
- package/internals/commonNextFocusItem.d.ts +5 -5
- package/internals/createCommonKeyboardFocusHandler.d.mts +2 -2
- package/internals/createCommonKeyboardFocusHandler.d.ts +2 -2
- package/internals/identifierCleaner.d.mts +8 -4
- package/internals/identifierCleaner.d.ts +8 -4
- package/internals/identifierCleaner.js +5 -1
- package/internals/identifierCleaner.mjs +5 -1
- package/internals/identifierSerializer.d.mts +10 -2
- package/internals/identifierSerializer.d.ts +10 -2
- package/internals/identifierSerializer.js +8 -0
- package/internals/identifierSerializer.mjs +8 -0
- package/internals/plugins/allPlugins.d.mts +2 -2
- package/internals/plugins/allPlugins.d.ts +2 -2
- package/internals/plugins/corePlugins/corePlugins.d.mts +1 -1
- package/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +6 -6
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +6 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.mts +9 -9
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +9 -9
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/cartesianExtremumGetter.types.d.mts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/cartesianExtremumGetter.types.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.mts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.ts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierCleaner.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierCleaner.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierSerializer.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierSerializer.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/legendGetter.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/legendGetter.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.mts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +28 -28
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +28 -28
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesProcessor.types.d.mts +6 -6
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesProcessor.types.d.ts +6 -6
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +21 -11
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +21 -11
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.mts +10 -10
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.ts +10 -10
- package/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.d.mts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/utils/serializeIdentifier.d.mts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/utils/serializeIdentifier.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.mts +1 -2
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +1 -2
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.js +0 -5
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.mjs +0 -4
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +10 -29
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +10 -29
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +27 -64
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.mjs +24 -60
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +8 -10
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.mjs +8 -10
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.mts +8 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +8 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +6 -4
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.mjs +6 -4
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.mts +10 -10
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +10 -10
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.mts +16 -16
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.ts +16 -16
- package/internals/plugins/models/chart.d.mts +1 -1
- package/internals/plugins/models/chart.d.ts +1 -1
- package/models/seriesType/config.d.mts +18 -6
- package/models/seriesType/config.d.ts +18 -6
- package/models/seriesType/index.d.mts +8 -8
- package/models/seriesType/index.d.ts +8 -8
- package/models/seriesType/line.d.mts +2 -1
- package/models/seriesType/line.d.ts +2 -1
- package/models/seriesType/radar.d.mts +1 -1
- package/models/seriesType/radar.d.ts +1 -1
- package/package.json +3 -3
- package/themeAugmentation/components.d.mts +26 -1
- package/themeAugmentation/components.d.ts +26 -1
- package/themeAugmentation/overrides.d.mts +15 -1
- package/themeAugmentation/overrides.d.ts +15 -1
- package/hooks/useItemHighlighted.mjs +0 -22
- package/hooks/useItemHighlightedGetter.d.mts +0 -53
- package/hooks/useItemHighlightedGetter.d.ts +0 -53
- package/hooks/useItemHighlightedGetter.js +0 -26
- package/hooks/useItemHighlightedGetter.mjs +0 -21
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { BarElementOwnerState } from "./barClasses.js";
|
|
2
|
+
export { type BarElementOwnerState };
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use `BarClasses` from `./barClasses` instead.
|
|
5
|
+
*/
|
|
2
6
|
export interface BarElementClasses {
|
|
3
7
|
/** Styles applied to the root element. */
|
|
4
8
|
root: string;
|
|
@@ -18,16 +22,19 @@ export interface BarElementClasses {
|
|
|
18
22
|
*/
|
|
19
23
|
series: string;
|
|
20
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use `BarClassKey` from `./barClasses` instead.
|
|
27
|
+
*/
|
|
21
28
|
export type BarElementClassKey = keyof BarElementClasses;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
color: string;
|
|
26
|
-
isFaded: boolean;
|
|
27
|
-
isHighlighted: boolean;
|
|
28
|
-
isFocused: boolean;
|
|
29
|
-
classes?: Partial<BarElementClasses>;
|
|
30
|
-
}
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated Use `getBarUtilityClass` from `./barClasses` instead.
|
|
31
|
+
*/
|
|
31
32
|
export declare function getBarElementUtilityClass(slot: string): string;
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated Use `barClasses` from `./barClasses` instead.
|
|
35
|
+
*/
|
|
32
36
|
export declare const barElementClasses: BarElementClasses;
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated Use `useBarElementUtilityClasses` from `./barClasses` instead.
|
|
39
|
+
*/
|
|
33
40
|
export declare const useUtilityClasses: (ownerState: BarElementOwnerState) => Record<"root", string>;
|
|
@@ -10,10 +10,29 @@ exports.useUtilityClasses = void 0;
|
|
|
10
10
|
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
|
11
11
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
12
12
|
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use `BarClasses` from `./barClasses` instead.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Use `BarClassKey` from `./barClasses` instead.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Use `getBarUtilityClass` from `./barClasses` instead.
|
|
23
|
+
*/
|
|
13
24
|
function getBarElementUtilityClass(slot) {
|
|
14
25
|
return (0, _generateUtilityClass.default)('MuiBarElement', slot);
|
|
15
26
|
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Use `barClasses` from `./barClasses` instead.
|
|
30
|
+
*/
|
|
16
31
|
const barElementClasses = exports.barElementClasses = (0, _generateUtilityClasses.default)('MuiBarElement', ['root', 'highlighted', 'faded', 'series']);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated Use `useBarElementUtilityClasses` from `./barClasses` instead.
|
|
35
|
+
*/
|
|
17
36
|
const useUtilityClasses = ownerState => {
|
|
18
37
|
const {
|
|
19
38
|
classes,
|
|
@@ -1,10 +1,30 @@
|
|
|
1
1
|
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
2
2
|
import composeClasses from '@mui/utils/composeClasses';
|
|
3
3
|
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use `BarClasses` from `./barClasses` instead.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use `BarClassKey` from `./barClasses` instead.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use `getBarUtilityClass` from `./barClasses` instead.
|
|
15
|
+
*/
|
|
4
16
|
export function getBarElementUtilityClass(slot) {
|
|
5
17
|
return generateUtilityClass('MuiBarElement', slot);
|
|
6
18
|
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Use `barClasses` from `./barClasses` instead.
|
|
22
|
+
*/
|
|
7
23
|
export const barElementClasses = generateUtilityClasses('MuiBarElement', ['root', 'highlighted', 'faded', 'series']);
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use `useBarElementUtilityClasses` from `./barClasses` instead.
|
|
27
|
+
*/
|
|
8
28
|
export const useUtilityClasses = ownerState => {
|
|
9
29
|
const {
|
|
10
30
|
classes,
|
package/BarChart/index.d.mts
CHANGED
|
@@ -6,5 +6,5 @@ export * from "./FocusedBar.mjs";
|
|
|
6
6
|
export * from "./barElementClasses.mjs";
|
|
7
7
|
export * from "./BarChart.plugins.mjs";
|
|
8
8
|
export { type BarProps } from "./AnimatedBarElement.mjs";
|
|
9
|
-
export { barClasses
|
|
9
|
+
export { barClasses } from "./barClasses.mjs";
|
|
10
10
|
export type { BarClassKey, BarClasses } from "./barClasses.mjs";
|
package/BarChart/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export * from "./FocusedBar.js";
|
|
|
6
6
|
export * from "./barElementClasses.js";
|
|
7
7
|
export * from "./BarChart.plugins.js";
|
|
8
8
|
export { type BarProps } from "./AnimatedBarElement.js";
|
|
9
|
-
export { barClasses
|
|
9
|
+
export { barClasses } from "./barClasses.js";
|
|
10
10
|
export type { BarClassKey, BarClasses } from "./barClasses.js";
|
package/BarChart/index.js
CHANGED
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
|
-
barClasses: true
|
|
8
|
-
getBarUtilityClass: true
|
|
7
|
+
barClasses: true
|
|
9
8
|
};
|
|
10
9
|
Object.defineProperty(exports, "barClasses", {
|
|
11
10
|
enumerable: true,
|
|
@@ -13,12 +12,6 @@ Object.defineProperty(exports, "barClasses", {
|
|
|
13
12
|
return _barClasses.barClasses;
|
|
14
13
|
}
|
|
15
14
|
});
|
|
16
|
-
Object.defineProperty(exports, "getBarUtilityClass", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return _barClasses.getBarUtilityClass;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
15
|
var _BarChart = require("./BarChart");
|
|
23
16
|
Object.keys(_BarChart).forEach(function (key) {
|
|
24
17
|
if (key === "default" || key === "__esModule") return;
|
package/BarChart/index.mjs
CHANGED
|
@@ -5,4 +5,4 @@ export * from "./BarLabel/index.mjs";
|
|
|
5
5
|
export * from "./FocusedBar.mjs";
|
|
6
6
|
export * from "./barElementClasses.mjs";
|
|
7
7
|
export * from "./BarChart.plugins.mjs";
|
|
8
|
-
export { barClasses
|
|
8
|
+
export { barClasses } from "./barClasses.mjs";
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,127 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0-alpha.3
|
|
4
|
+
|
|
5
|
+
_Mar 12, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 13 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, @brijeshb42, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @MBilalShafi, @michelengelen, @rita-codes, @sai6855, @siriwatknp
|
|
13
|
+
|
|
14
|
+
### Data Grid
|
|
15
|
+
|
|
16
|
+
#### `@mui/x-data-grid@9.0.0-alpha.3`
|
|
17
|
+
|
|
18
|
+
- [DataGrid] Fix crash when `rows` and `rowModesModel` are updated simultaneously (#21265) @michelengelen
|
|
19
|
+
- [DataGrid] Add missing `resizablePanelHandle` classes to `gridClasses` object (#21538) @sai6855
|
|
20
|
+
- [DataGrid] Refactor `headerAlign` style calls (#21541) @sai6855
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
|
+
|
|
24
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.3`, plus:
|
|
25
|
+
|
|
26
|
+
- [DataGridPro] Add `role="presentation"` to detail panel toggle header content (#21634) @michelengelen
|
|
27
|
+
- [DataGridPro] Fix sorting not reflected in nested server-side data (#21619) @MBilalShafi
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
30
|
+
|
|
31
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.3`.
|
|
32
|
+
|
|
33
|
+
### Date and Time Pickers
|
|
34
|
+
|
|
35
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.3`
|
|
36
|
+
|
|
37
|
+
- [pickers] Refactor `DateRangePickerDay` overrides to use a centralized `elementOverrides` object (#21426) @sai6855
|
|
38
|
+
- [pickers] Migrate from deprecated props for `PickersModalDialog` (#21702) @siriwatknp
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.3`.
|
|
43
|
+
|
|
44
|
+
### Charts
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts@9.0.0-alpha.3`
|
|
47
|
+
|
|
48
|
+
- [charts] Differentiate Line Plot roots classes (#21679) @JCQuintas
|
|
49
|
+
- [charts] Enable keyboard navigation by default (#21675) @alexfauquette
|
|
50
|
+
- [charts] Fix keyboard tooltip radar (#21667) @alexfauquette
|
|
51
|
+
- [charts] Fix selector default parameter (#21638) @JCQuintas
|
|
52
|
+
- [charts] Fix tooltip blink between node and pointer anchor (#21611) @alexfauquette
|
|
53
|
+
- [charts] Let tooltip and legend reflect the line shape (#21475) @alexfauquette
|
|
54
|
+
- [charts] Refactor `BarChart` classes structure (#21601) @JCQuintas
|
|
55
|
+
- [charts] Refactor `LineChart` classes structure (#21648) @JCQuintas
|
|
56
|
+
- [charts] Refactor `ScatterChart` classes structure (#21651) @JCQuintas
|
|
57
|
+
- [charts] Refactor `PieChart` classes structure (#21649) @JCQuintas
|
|
58
|
+
- [charts] Remove batch rendering checks in highlight selectors (#21646) @bernardobelchior
|
|
59
|
+
- [charts] Standardize generic arg names to `SeriesType` (#21694) @alexfauquette
|
|
60
|
+
- [charts] Simplify highlight hooks return types (#21695) @alexfauquette
|
|
61
|
+
|
|
62
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
63
|
+
|
|
64
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.3`, plus:
|
|
65
|
+
|
|
66
|
+
- [charts-pro] Fix heatmap style override from `arc` to `cell` (#21693) @Copilot
|
|
67
|
+
- [charts-pro] Fix image export truncated when page is zoomed out (#21685) @bernardobelchior
|
|
68
|
+
- [charts-pro] Speed-up heatmap cell search with an index lookup (#21130) @alexfauquette
|
|
69
|
+
- [charts-pro] Fix heatmap highlight not working (#21710) @Copilot
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
|
|
74
|
+
|
|
75
|
+
- [charts-premium] Re-enable WebGL tests (#21708) @bernardobelchior
|
|
76
|
+
|
|
77
|
+
### Tree View
|
|
78
|
+
|
|
79
|
+
#### Breaking changes
|
|
80
|
+
|
|
81
|
+
- Remove `TreeViewBaseItem` type (use `TreeViewDefaultItemModelProperties` or a custom interface)
|
|
82
|
+
- Remove `useTreeViewApiRef` hook (use `useRichTreeViewApiRef`, `useSimpleTreeViewApiRef`, or `useRichTreeViewProApiRef`)
|
|
83
|
+
- Remove `status` from content slot props returned by `getContentProps()` (use `data-*` attributes; `status` on `useTreeItem` return value is unchanged)
|
|
84
|
+
- Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
|
|
85
|
+
- The `<RichTreeViewPro />` component has now virtualization enabled by default.
|
|
86
|
+
- The items used inside the `<RichTreeViewPro />` now have a default height of `32px`.
|
|
87
|
+
- The events of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
|
|
88
|
+
|
|
89
|
+
#### `@mui/x-tree-view@9.0.0-alpha.3`
|
|
90
|
+
|
|
91
|
+
- [tree view] Remove deprecated APIs (#21591) @flaviendelangle
|
|
92
|
+
- [tree view] Fix collapsed children not selected with `selectionPropagation.descendants` in `SimpleTreeView` (#21253) @flaviendelangle
|
|
93
|
+
|
|
94
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
95
|
+
|
|
96
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.3`, plus:
|
|
97
|
+
|
|
98
|
+
- [RichTreeViewPro] Make the virtualization opt-out and port the layout doc from the data grid (#21461) @flaviendelangle
|
|
99
|
+
|
|
100
|
+
### Codemod
|
|
101
|
+
|
|
102
|
+
#### `@mui/x-codemod@9.0.0-alpha.3`
|
|
103
|
+
|
|
104
|
+
Internal changes.
|
|
105
|
+
|
|
106
|
+
### Docs
|
|
107
|
+
|
|
108
|
+
- [docs] Fix `AssistantWithDataSource` demo crashing (#21555) @sai6855
|
|
109
|
+
- [docs] Remove `Preview` pill from Sankey (#21623) @bernardobelchior
|
|
110
|
+
- [docs] Migrate internal Material UI deprecated APIs (#21680) @siriwatknp
|
|
111
|
+
- [docs] Remove `New` flag on Tree View and Date and Time Pickers features released before v9 alpha (#21585) @flaviendelangle
|
|
112
|
+
|
|
113
|
+
### Core
|
|
114
|
+
|
|
115
|
+
- [code-infra] Remove checkout step (#21688) @Janpot
|
|
116
|
+
- [code-infra] Fix contributor generation in changelog (#21718) @brijeshb42
|
|
117
|
+
- [docs-infra] Do not point to non-existent v8 subdomain (#21640) @cherniavskii
|
|
118
|
+
|
|
119
|
+
### Miscellaneous
|
|
120
|
+
|
|
121
|
+
- [test] Add missing tests for forwarding props to filter operators in DataGrid (#21441) @siriwatknp
|
|
122
|
+
- [x-license] Export additional license types and constants (#21625) @aemartos
|
|
123
|
+
- [x-license] Refactor license verification to accept package info object and add v9 version gating (#21690) @aemartos
|
|
124
|
+
|
|
3
125
|
## 9.0.0-alpha.2
|
|
4
126
|
|
|
5
127
|
_Mar 5, 2026_
|
|
@@ -92,7 +214,7 @@ Internal changes.
|
|
|
92
214
|
|
|
93
215
|
- [docs] Add backticks and parentheses to all functions and hooks (DX-173) (#21496) @mapache-salvaje
|
|
94
216
|
- [docs] Remove mentions of `mySvgRef` (#21559) @bernardobelchior
|
|
95
|
-
- [docs] Update Roadmap section in the docs
|
|
217
|
+
- [docs] Update Roadmap section in the docs (#20892) @alelthomas
|
|
96
218
|
- [docs] Add tutorial and example app for aggregation with row grouping (DX-162) (#21102) @mapache-salvaje
|
|
97
219
|
- [docs] Fix missing codemod docs (#21604) @JCQuintas
|
|
98
220
|
|
|
@@ -17,6 +17,6 @@ export type ChartContainerProps<SeriesType extends ChartSeriesType = ChartSeries
|
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated Use `ChartsContainer` instead. We added S to the charts prefix to align with other components.
|
|
19
19
|
*/
|
|
20
|
-
export declare const ChartContainer: <
|
|
20
|
+
export declare const ChartContainer: <SeriesType extends ChartSeriesType>(props: ChartsContainerProps<SeriesType> & {
|
|
21
21
|
ref?: React.ForwardedRef<HTMLDivElement>;
|
|
22
22
|
}) => React.JSX.Element;
|
|
@@ -17,6 +17,6 @@ export type ChartContainerProps<SeriesType extends ChartSeriesType = ChartSeries
|
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated Use `ChartsContainer` instead. We added S to the charts prefix to align with other components.
|
|
19
19
|
*/
|
|
20
|
-
export declare const ChartContainer: <
|
|
20
|
+
export declare const ChartContainer: <SeriesType extends ChartSeriesType>(props: ChartsContainerProps<SeriesType> & {
|
|
21
21
|
ref?: React.ForwardedRef<HTMLDivElement>;
|
|
22
22
|
}) => React.JSX.Element;
|
|
@@ -6,8 +6,8 @@ import type { ChartContainerProps } from "./ChartContainer.mjs";
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Use `UseChartsContainerPropsReturnValue` instead.
|
|
8
8
|
*/
|
|
9
|
-
export type UseChartContainerPropsReturnValue<
|
|
9
|
+
export type UseChartContainerPropsReturnValue<SeriesType extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = UseChartsContainerPropsReturnValue<SeriesType, TSignatures>;
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated Use `useChartsContainerProps` instead.
|
|
12
12
|
*/
|
|
13
|
-
export declare const useChartContainerProps: <
|
|
13
|
+
export declare const useChartContainerProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartContainerProps<SeriesType, TSignatures>) => UseChartContainerPropsReturnValue<SeriesType, TSignatures>;
|
|
@@ -6,8 +6,8 @@ import type { ChartContainerProps } from "./ChartContainer.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Use `UseChartsContainerPropsReturnValue` instead.
|
|
8
8
|
*/
|
|
9
|
-
export type UseChartContainerPropsReturnValue<
|
|
9
|
+
export type UseChartContainerPropsReturnValue<SeriesType extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = UseChartsContainerPropsReturnValue<SeriesType, TSignatures>;
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated Use `useChartsContainerProps` instead.
|
|
12
12
|
*/
|
|
13
|
-
export declare const useChartContainerProps: <
|
|
13
|
+
export declare const useChartContainerProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartContainerProps<SeriesType, TSignatures>) => UseChartContainerPropsReturnValue<SeriesType, TSignatures>;
|
|
@@ -13,7 +13,7 @@ export type ChartDataProviderSlotProps = ChartsDataProviderSlotProps;
|
|
|
13
13
|
/**
|
|
14
14
|
* @deprecated Use `ChartsDataProviderProps` instead. We added S to the charts prefix to align with other components.
|
|
15
15
|
*/
|
|
16
|
-
export type ChartDataProviderProps<
|
|
16
|
+
export type ChartDataProviderProps<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>> = ChartsDataProviderProps<SeriesType, TSignatures>;
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated Use `ChartsDataProvider` instead. We added S to the charts prefix to align with other components.
|
|
19
19
|
*/
|
|
@@ -13,7 +13,7 @@ export type ChartDataProviderSlotProps = ChartsDataProviderSlotProps;
|
|
|
13
13
|
/**
|
|
14
14
|
* @deprecated Use `ChartsDataProviderProps` instead. We added S to the charts prefix to align with other components.
|
|
15
15
|
*/
|
|
16
|
-
export type ChartDataProviderProps<
|
|
16
|
+
export type ChartDataProviderProps<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>> = ChartsDataProviderProps<SeriesType, TSignatures>;
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated Use `ChartsDataProvider` instead. We added S to the charts prefix to align with other components.
|
|
19
19
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @deprecated Use `useChartsDataProviderProps` instead. We added S to the charts prefix to align with other components.
|
|
3
3
|
*/
|
|
4
|
-
export declare const useChartDataProviderProps: <
|
|
4
|
+
export declare const useChartDataProviderProps: <SeriesType extends import("../internals/index.mjs").ChartSeriesType = keyof import("../internals/index.mjs").ChartsSeriesConfig, TSignatures extends readonly import("../internals/index.mjs").ChartAnyPluginSignature[] = import("../internals/plugins/allPlugins.mjs").AllPluginSignatures<SeriesType>>(inProps: import("../index.mjs").ChartsDataProviderProps<SeriesType, TSignatures> & import("../index.mjs").ChartsLocalizationProviderProps) => {
|
|
5
5
|
children: import("react").ReactNode;
|
|
6
6
|
localeText: Partial<import("../locales/index.mjs").ChartsLocaleText> | undefined;
|
|
7
|
-
chartProviderProps: import("../internals/index.mjs").ChartsProviderProps<
|
|
7
|
+
chartProviderProps: import("../internals/index.mjs").ChartsProviderProps<SeriesType, TSignatures>;
|
|
8
8
|
slots: Partial<import("../index.mjs").ChartsDataProviderSlots> | undefined;
|
|
9
9
|
slotProps: Partial<import("../index.mjs").ChartsDataProviderSlotProps> | undefined;
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @deprecated Use `useChartsDataProviderProps` instead. We added S to the charts prefix to align with other components.
|
|
3
3
|
*/
|
|
4
|
-
export declare const useChartDataProviderProps: <
|
|
4
|
+
export declare const useChartDataProviderProps: <SeriesType extends import("../internals/index.js").ChartSeriesType = keyof import("../internals/index.js").ChartsSeriesConfig, TSignatures extends readonly import("../internals/index.js").ChartAnyPluginSignature[] = import("../internals/plugins/allPlugins.js").AllPluginSignatures<SeriesType>>(inProps: import("../index.js").ChartsDataProviderProps<SeriesType, TSignatures> & import("../index.js").ChartsLocalizationProviderProps) => {
|
|
5
5
|
children: import("react").ReactNode;
|
|
6
6
|
localeText: Partial<import("../locales/index.js").ChartsLocaleText> | undefined;
|
|
7
|
-
chartProviderProps: import("../internals/index.js").ChartsProviderProps<
|
|
7
|
+
chartProviderProps: import("../internals/index.js").ChartsProviderProps<SeriesType, TSignatures>;
|
|
8
8
|
slots: Partial<import("../index.js").ChartsDataProviderSlots> | undefined;
|
|
9
9
|
slotProps: Partial<import("../index.js").ChartsDataProviderSlotProps> | undefined;
|
|
10
10
|
};
|
|
@@ -31,7 +31,7 @@ export type ChartsContainerProps<SeriesType extends ChartSeriesType = ChartSerie
|
|
|
31
31
|
* </ChartsContainer>
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
|
-
declare const ChartsContainer: <
|
|
34
|
+
declare const ChartsContainer: <SeriesType extends ChartSeriesType>(props: ChartsContainerProps<SeriesType> & {
|
|
35
35
|
ref?: React.ForwardedRef<HTMLDivElement>;
|
|
36
36
|
}) => React.JSX.Element;
|
|
37
37
|
export { ChartsContainer };
|
|
@@ -31,7 +31,7 @@ export type ChartsContainerProps<SeriesType extends ChartSeriesType = ChartSerie
|
|
|
31
31
|
* </ChartsContainer>
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
|
-
declare const ChartsContainer: <
|
|
34
|
+
declare const ChartsContainer: <SeriesType extends ChartSeriesType>(props: ChartsContainerProps<SeriesType> & {
|
|
35
35
|
ref?: React.ForwardedRef<HTMLDivElement>;
|
|
36
36
|
}) => React.JSX.Element;
|
|
37
37
|
export { ChartsContainer };
|
|
@@ -93,11 +93,14 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
|
|
|
93
93
|
* @default false
|
|
94
94
|
*/
|
|
95
95
|
disableAxisListener: _propTypes.default.bool,
|
|
96
|
+
/**
|
|
97
|
+
* If `true`, disables keyboard navigation for the chart.
|
|
98
|
+
*/
|
|
99
|
+
disableKeyboardNavigation: _propTypes.default.bool,
|
|
96
100
|
/**
|
|
97
101
|
* If true, the voronoi interaction are ignored.
|
|
98
102
|
*/
|
|
99
103
|
disableVoronoi: _propTypes.default.bool,
|
|
100
|
-
enableKeyboardNavigation: _propTypes.default.bool,
|
|
101
104
|
/**
|
|
102
105
|
* Options to enable features planned for the next major.
|
|
103
106
|
*/
|
|
@@ -252,7 +255,7 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
|
|
|
252
255
|
/**
|
|
253
256
|
* The callback fired when the tooltip item changes.
|
|
254
257
|
*
|
|
255
|
-
* @param {SeriesItemIdentifier<
|
|
258
|
+
* @param {SeriesItemIdentifier<SeriesType> | null} tooltipItem The newly highlighted item.
|
|
256
259
|
*/
|
|
257
260
|
onTooltipItemChange: _propTypes.default.func,
|
|
258
261
|
/**
|
|
@@ -86,11 +86,14 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
|
|
|
86
86
|
* @default false
|
|
87
87
|
*/
|
|
88
88
|
disableAxisListener: PropTypes.bool,
|
|
89
|
+
/**
|
|
90
|
+
* If `true`, disables keyboard navigation for the chart.
|
|
91
|
+
*/
|
|
92
|
+
disableKeyboardNavigation: PropTypes.bool,
|
|
89
93
|
/**
|
|
90
94
|
* If true, the voronoi interaction are ignored.
|
|
91
95
|
*/
|
|
92
96
|
disableVoronoi: PropTypes.bool,
|
|
93
|
-
enableKeyboardNavigation: PropTypes.bool,
|
|
94
97
|
/**
|
|
95
98
|
* Options to enable features planned for the next major.
|
|
96
99
|
*/
|
|
@@ -245,7 +248,7 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
|
|
|
245
248
|
/**
|
|
246
249
|
* The callback fired when the tooltip item changes.
|
|
247
250
|
*
|
|
248
|
-
* @param {SeriesItemIdentifier<
|
|
251
|
+
* @param {SeriesItemIdentifier<SeriesType> | null} tooltipItem The newly highlighted item.
|
|
249
252
|
*/
|
|
250
253
|
onTooltipItemChange: PropTypes.func,
|
|
251
254
|
/**
|
|
@@ -4,9 +4,9 @@ import type { ChartsContainerProps } from "./ChartsContainer.mjs";
|
|
|
4
4
|
import { type ChartSeriesType } from "../models/seriesType/config.mjs";
|
|
5
5
|
import { type AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
|
|
6
6
|
import { type ChartAnyPluginSignature } from "../internals/plugins/models/plugin.mjs";
|
|
7
|
-
export type UseChartsContainerPropsReturnValue<
|
|
8
|
-
chartDataProviderProps: ChartDataProviderProps<
|
|
7
|
+
export type UseChartsContainerPropsReturnValue<SeriesType extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = {
|
|
8
|
+
chartDataProviderProps: ChartDataProviderProps<SeriesType, TSignatures>;
|
|
9
9
|
chartsSurfaceProps: ChartsSurfaceProps;
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
};
|
|
12
|
-
export declare const useChartsContainerProps: <
|
|
12
|
+
export declare const useChartsContainerProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsContainerProps<SeriesType, TSignatures>) => UseChartsContainerPropsReturnValue<SeriesType, TSignatures>;
|
|
@@ -4,9 +4,9 @@ import type { ChartsContainerProps } from "./ChartsContainer.js";
|
|
|
4
4
|
import { type ChartSeriesType } from "../models/seriesType/config.js";
|
|
5
5
|
import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
|
|
6
6
|
import { type ChartAnyPluginSignature } from "../internals/plugins/models/plugin.js";
|
|
7
|
-
export type UseChartsContainerPropsReturnValue<
|
|
8
|
-
chartDataProviderProps: ChartDataProviderProps<
|
|
7
|
+
export type UseChartsContainerPropsReturnValue<SeriesType extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = {
|
|
8
|
+
chartDataProviderProps: ChartDataProviderProps<SeriesType, TSignatures>;
|
|
9
9
|
chartsSurfaceProps: ChartsSurfaceProps;
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
};
|
|
12
|
-
export declare const useChartsContainerProps: <
|
|
12
|
+
export declare const useChartsContainerProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsContainerProps<SeriesType, TSignatures>) => UseChartsContainerPropsReturnValue<SeriesType, TSignatures>;
|
|
@@ -9,7 +9,7 @@ exports.useChartsContainerProps = void 0;
|
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
11
|
var _allPlugins = require("../internals/plugins/allPlugins");
|
|
12
|
-
const _excluded = ["width", "height", "margin", "children", "series", "colors", "dataset", "desc", "onAxisClick", "highlightedAxis", "onHighlightedAxisChange", "tooltipAxis", "onTooltipAxisChange", "tooltipItem", "onTooltipItemChange", "disableVoronoi", "voronoiMaxRadius", "onItemClick", "disableAxisListener", "highlightedItem", "onHighlightChange", "sx", "title", "axesGap", "xAxis", "yAxis", "zAxis", "rotationAxis", "radiusAxis", "skipAnimation", "seriesConfig", "plugins", "localeText", "slots", "slotProps", "experimentalFeatures", "
|
|
12
|
+
const _excluded = ["width", "height", "margin", "children", "series", "colors", "dataset", "desc", "onAxisClick", "highlightedAxis", "onHighlightedAxisChange", "tooltipAxis", "onTooltipAxisChange", "tooltipItem", "onTooltipItemChange", "disableVoronoi", "voronoiMaxRadius", "onItemClick", "disableAxisListener", "highlightedItem", "onHighlightChange", "sx", "title", "axesGap", "xAxis", "yAxis", "zAxis", "rotationAxis", "radiusAxis", "skipAnimation", "seriesConfig", "plugins", "localeText", "slots", "slotProps", "experimentalFeatures", "disableKeyboardNavigation", "brushConfig", "onHiddenItemsChange", "hiddenItems", "initialHiddenItems"];
|
|
13
13
|
const useChartsContainerProps = props => {
|
|
14
14
|
const _ref = props,
|
|
15
15
|
{
|
|
@@ -49,7 +49,7 @@ const useChartsContainerProps = props => {
|
|
|
49
49
|
slots,
|
|
50
50
|
slotProps,
|
|
51
51
|
experimentalFeatures,
|
|
52
|
-
|
|
52
|
+
disableKeyboardNavigation,
|
|
53
53
|
brushConfig,
|
|
54
54
|
onHiddenItemsChange,
|
|
55
55
|
hiddenItems,
|
|
@@ -91,7 +91,7 @@ const useChartsContainerProps = props => {
|
|
|
91
91
|
localeText,
|
|
92
92
|
seriesConfig,
|
|
93
93
|
experimentalFeatures,
|
|
94
|
-
|
|
94
|
+
disableKeyboardNavigation,
|
|
95
95
|
brushConfig,
|
|
96
96
|
onHiddenItemsChange,
|
|
97
97
|
hiddenItems,
|
|
@@ -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 = ["width", "height", "margin", "children", "series", "colors", "dataset", "desc", "onAxisClick", "highlightedAxis", "onHighlightedAxisChange", "tooltipAxis", "onTooltipAxisChange", "tooltipItem", "onTooltipItemChange", "disableVoronoi", "voronoiMaxRadius", "onItemClick", "disableAxisListener", "highlightedItem", "onHighlightChange", "sx", "title", "axesGap", "xAxis", "yAxis", "zAxis", "rotationAxis", "radiusAxis", "skipAnimation", "seriesConfig", "plugins", "localeText", "slots", "slotProps", "experimentalFeatures", "
|
|
5
|
+
const _excluded = ["width", "height", "margin", "children", "series", "colors", "dataset", "desc", "onAxisClick", "highlightedAxis", "onHighlightedAxisChange", "tooltipAxis", "onTooltipAxisChange", "tooltipItem", "onTooltipItemChange", "disableVoronoi", "voronoiMaxRadius", "onItemClick", "disableAxisListener", "highlightedItem", "onHighlightChange", "sx", "title", "axesGap", "xAxis", "yAxis", "zAxis", "rotationAxis", "radiusAxis", "skipAnimation", "seriesConfig", "plugins", "localeText", "slots", "slotProps", "experimentalFeatures", "disableKeyboardNavigation", "brushConfig", "onHiddenItemsChange", "hiddenItems", "initialHiddenItems"];
|
|
6
6
|
import { DEFAULT_PLUGINS } from "../internals/plugins/allPlugins.mjs";
|
|
7
7
|
export const useChartsContainerProps = props => {
|
|
8
8
|
const _ref = props,
|
|
@@ -43,7 +43,7 @@ export const useChartsContainerProps = props => {
|
|
|
43
43
|
slots,
|
|
44
44
|
slotProps,
|
|
45
45
|
experimentalFeatures,
|
|
46
|
-
|
|
46
|
+
disableKeyboardNavigation,
|
|
47
47
|
brushConfig,
|
|
48
48
|
onHiddenItemsChange,
|
|
49
49
|
hiddenItems,
|
|
@@ -85,7 +85,7 @@ export const useChartsContainerProps = props => {
|
|
|
85
85
|
localeText,
|
|
86
86
|
seriesConfig,
|
|
87
87
|
experimentalFeatures,
|
|
88
|
-
|
|
88
|
+
disableKeyboardNavigation,
|
|
89
89
|
brushConfig,
|
|
90
90
|
onHiddenItemsChange,
|
|
91
91
|
hiddenItems,
|
|
@@ -7,7 +7,7 @@ import { type AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
|
|
|
7
7
|
import { type ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.mjs";
|
|
8
8
|
export interface ChartsDataProviderSlots extends ChartsSlots {}
|
|
9
9
|
export interface ChartsDataProviderSlotProps extends ChartsSlotProps {}
|
|
10
|
-
export type ChartsDataProviderProps<
|
|
10
|
+
export type ChartsDataProviderProps<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>> = React.PropsWithChildren<ChartsProviderProps<SeriesType, TSignatures>['pluginParams'] & Pick<ChartsProviderProps<SeriesType, TSignatures>, 'plugins'>> & ChartsLocalizationProviderProps & {
|
|
11
11
|
/**
|
|
12
12
|
* Slots to customize charts' components.
|
|
13
13
|
*/
|
|
@@ -44,7 +44,7 @@ export type ChartsDataProviderProps<TSeries extends ChartSeriesType = ChartSerie
|
|
|
44
44
|
* </ChartsDataProvider>
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
declare function ChartsDataProvider<
|
|
47
|
+
declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>): import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
declare namespace ChartsDataProvider {
|
|
49
49
|
var propTypes: any;
|
|
50
50
|
}
|
|
@@ -7,7 +7,7 @@ import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
|
|
|
7
7
|
import { type ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js";
|
|
8
8
|
export interface ChartsDataProviderSlots extends ChartsSlots {}
|
|
9
9
|
export interface ChartsDataProviderSlotProps extends ChartsSlotProps {}
|
|
10
|
-
export type ChartsDataProviderProps<
|
|
10
|
+
export type ChartsDataProviderProps<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>> = React.PropsWithChildren<ChartsProviderProps<SeriesType, TSignatures>['pluginParams'] & Pick<ChartsProviderProps<SeriesType, TSignatures>, 'plugins'>> & ChartsLocalizationProviderProps & {
|
|
11
11
|
/**
|
|
12
12
|
* Slots to customize charts' components.
|
|
13
13
|
*/
|
|
@@ -44,7 +44,7 @@ export type ChartsDataProviderProps<TSeries extends ChartSeriesType = ChartSerie
|
|
|
44
44
|
* </ChartsDataProvider>
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
declare function ChartsDataProvider<
|
|
47
|
+
declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>): import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
declare namespace ChartsDataProvider {
|
|
49
49
|
var propTypes: any;
|
|
50
50
|
}
|
|
@@ -4,10 +4,10 @@ import { type ChartAnyPluginSignature } from "../internals/plugins/models/index.
|
|
|
4
4
|
import { type ChartSeriesType } from "../models/seriesType/config.mjs";
|
|
5
5
|
import { type AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
|
|
6
6
|
import { type ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.mjs";
|
|
7
|
-
export declare const useChartsDataProviderProps: <
|
|
7
|
+
export declare const useChartsDataProviderProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(inProps: ChartsDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
|
|
8
8
|
children: import("react").ReactNode;
|
|
9
9
|
localeText: Partial<import("../locales/index.mjs").ChartsLocaleText> | undefined;
|
|
10
|
-
chartProviderProps: ChartsProviderProps<
|
|
10
|
+
chartProviderProps: ChartsProviderProps<SeriesType, TSignatures>;
|
|
11
11
|
slots: Partial<import("./ChartsDataProvider.mjs").ChartsDataProviderSlots> | undefined;
|
|
12
12
|
slotProps: Partial<import("./ChartsDataProvider.mjs").ChartsDataProviderSlotProps> | undefined;
|
|
13
13
|
};
|
|
@@ -4,10 +4,10 @@ import { type ChartAnyPluginSignature } from "../internals/plugins/models/index.
|
|
|
4
4
|
import { type ChartSeriesType } from "../models/seriesType/config.js";
|
|
5
5
|
import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
|
|
6
6
|
import { type ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js";
|
|
7
|
-
export declare const useChartsDataProviderProps: <
|
|
7
|
+
export declare const useChartsDataProviderProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(inProps: ChartsDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
|
|
8
8
|
children: import("react").ReactNode;
|
|
9
9
|
localeText: Partial<import("../locales/index.js").ChartsLocaleText> | undefined;
|
|
10
|
-
chartProviderProps: ChartsProviderProps<
|
|
10
|
+
chartProviderProps: ChartsProviderProps<SeriesType, TSignatures>;
|
|
11
11
|
slots: Partial<import("./ChartsDataProvider.js").ChartsDataProviderSlots> | undefined;
|
|
12
12
|
slotProps: Partial<import("./ChartsDataProvider.js").ChartsDataProviderSlotProps> | undefined;
|
|
13
13
|
};
|