@mui/x-charts-premium 9.0.0-alpha.1 → 9.0.0-alpha.2
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/{esm/BarChartPremium/BarChartPremium.d.ts → BarChartPremium/BarChartPremium.d.mts} +1 -1
- package/BarChartPremium/BarChartPremium.js +30 -15
- package/{esm/BarChartPremium/BarChartPremium.js → BarChartPremium/BarChartPremium.mjs} +36 -21
- package/{esm/BarChartPremium/RangeBar/AnimatedRangeBarElement.js → BarChartPremium/RangeBar/AnimatedRangeBarElement.mjs} +1 -1
- package/{esm/BarChartPremium/RangeBar/FocusedRangeBar.js → BarChartPremium/RangeBar/FocusedRangeBar.mjs} +2 -2
- package/{esm/BarChartPremium/RangeBar/RangeBarPlot.d.ts → BarChartPremium/RangeBar/RangeBarPlot.d.mts} +1 -1
- package/{esm/BarChartPremium/RangeBar/RangeBarPlot.js → BarChartPremium/RangeBar/RangeBarPlot.mjs} +3 -3
- package/{esm/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.ts → BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.mts} +3 -3
- package/BarChartPremium/RangeBar/seriesConfig/index.js +3 -1
- package/BarChartPremium/RangeBar/seriesConfig/index.mjs +26 -0
- package/BarChartPremium/RangeBar/seriesConfig/seriesProcessor.js +5 -2
- package/{esm/BarChartPremium/RangeBar/seriesConfig/seriesProcessor.js → BarChartPremium/RangeBar/seriesConfig/seriesProcessor.mjs} +5 -2
- package/{esm/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.js → BarChartPremium/RangeBar/seriesConfig/tooltipPosition.mjs} +1 -1
- package/{esm/BarChartPremium/RangeBar/types.d.ts → BarChartPremium/RangeBar/types.d.mts} +1 -1
- package/{esm/BarChartPremium/RangeBar/useRangeBarPlotData.d.ts → BarChartPremium/RangeBar/useRangeBarPlotData.d.mts} +1 -1
- package/{esm/BarChartPremium/RangeBar/useRangeBarPlotData.js → BarChartPremium/RangeBar/useRangeBarPlotData.mjs} +2 -2
- package/BarChartPremium/index.d.mts +5 -0
- package/BarChartPremium/index.mjs +5 -0
- package/{esm/BarChartPremium/useBarChartPremiumProps.d.ts → BarChartPremium/useBarChartPremiumProps.d.mts} +4 -4
- package/BarChartPremium/useBarChartPremiumProps.d.ts +2 -2
- package/CHANGELOG.md +118 -0
- package/{esm/ChartContainerPremium/ChartContainerPremium.d.ts → ChartContainerPremium/ChartContainerPremium.d.mts} +2 -2
- package/{esm/ChartContainerPremium/ChartContainerPremium.js → ChartContainerPremium/ChartContainerPremium.mjs} +1 -1
- package/ChartContainerPremium/index.d.mts +2 -0
- package/ChartContainerPremium/index.mjs +2 -0
- package/{esm/ChartContainerPremium/useChartContainerPremiumProps.d.ts → ChartContainerPremium/useChartContainerPremiumProps.d.mts} +1 -1
- package/{esm/ChartContainerPremium/useChartContainerPremiumProps.js → ChartContainerPremium/useChartContainerPremiumProps.mjs} +1 -1
- package/ChartDataProviderPremium/ChartDataProviderPremium.d.mts +20 -0
- package/ChartDataProviderPremium/ChartDataProviderPremium.d.ts +17 -46
- package/ChartDataProviderPremium/ChartDataProviderPremium.js +20 -143
- package/ChartDataProviderPremium/ChartDataProviderPremium.mjs +21 -0
- package/{esm/ChartDataProviderPremium/index.d.ts → ChartDataProviderPremium/index.d.mts} +1 -1
- package/{esm/ChartDataProviderPremium/index.js → ChartDataProviderPremium/index.mjs} +1 -1
- package/ChartDataProviderPremium/useChartDataProviderPremiumProps.d.mts +10 -0
- package/ChartDataProviderPremium/useChartDataProviderPremiumProps.d.ts +7 -7
- package/ChartDataProviderPremium/useChartDataProviderPremiumProps.js +5 -18
- package/ChartDataProviderPremium/useChartDataProviderPremiumProps.mjs +8 -0
- package/{esm/ChartsContainerPremium/ChartsContainerPremium.d.ts → ChartsContainerPremium/ChartsContainerPremium.d.mts} +3 -3
- package/ChartsContainerPremium/ChartsContainerPremium.d.ts +1 -1
- package/ChartsContainerPremium/ChartsContainerPremium.js +1 -1
- package/{esm/ChartsContainerPremium/ChartsContainerPremium.js → ChartsContainerPremium/ChartsContainerPremium.mjs} +3 -3
- package/ChartsContainerPremium/index.d.mts +2 -0
- package/ChartsContainerPremium/index.mjs +2 -0
- package/{esm/ChartsContainerPremium/useChartsContainerPremiumProps.d.ts → ChartsContainerPremium/useChartsContainerPremiumProps.d.mts} +3 -3
- package/{esm/ChartsContainerPremium/useChartsContainerPremiumProps.js → ChartsContainerPremium/useChartsContainerPremiumProps.mjs} +1 -1
- package/ChartsDataProvider/index.d.mts +1 -0
- package/ChartsDataProvider/index.d.ts +1 -0
- package/ChartsDataProvider/index.js +16 -0
- package/ChartsDataProvider/index.mjs +2 -0
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.mts +49 -0
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.ts +49 -0
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.js +151 -0
- package/{esm/ChartDataProviderPremium/ChartDataProviderPremium.js → ChartsDataProviderPremium/ChartsDataProviderPremium.mjs} +16 -18
- package/ChartsDataProviderPremium/index.d.mts +2 -0
- package/ChartsDataProviderPremium/index.d.ts +2 -0
- package/ChartsDataProviderPremium/index.js +19 -0
- package/ChartsDataProviderPremium/index.mjs +2 -0
- package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.mts +10 -0
- package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.ts +10 -0
- package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.js +25 -0
- package/{esm/ChartDataProviderPremium/useChartDataProviderPremiumProps.js → ChartsDataProviderPremium/useChartsDataProviderPremiumProps.mjs} +3 -3
- package/ChartsDataProviderPro/index.d.mts +1 -0
- package/ChartsDataProviderPro/index.d.ts +1 -0
- package/ChartsDataProviderPro/index.js +16 -0
- package/ChartsDataProviderPro/index.mjs +2 -0
- package/ChartsLayerContainer/index.d.mts +1 -0
- package/ChartsLayerContainer/index.d.ts +1 -0
- package/ChartsLayerContainer/index.js +16 -0
- package/ChartsLayerContainer/index.mjs +2 -0
- package/{esm/ChartsRenderer/ChartsRenderer.js → ChartsRenderer/ChartsRenderer.mjs} +2 -2
- package/{esm/ChartsRenderer/components/PaletteOption.js → ChartsRenderer/components/PaletteOption.mjs} +1 -1
- package/{esm/ChartsRenderer/configuration.js → ChartsRenderer/configuration.mjs} +3 -3
- package/ChartsRenderer/index.d.mts +3 -0
- package/ChartsRenderer/index.mjs +3 -0
- package/ChartsSvgLayer/index.d.mts +1 -0
- package/ChartsSvgLayer/index.d.ts +1 -0
- package/ChartsSvgLayer/index.js +16 -0
- package/ChartsSvgLayer/index.mjs +2 -0
- package/ChartsWebGLLayer/ChartsWebGLLayer.d.mts +3 -0
- package/ChartsWebGLLayer/ChartsWebGLLayer.d.ts +3 -0
- package/ChartsWebGLLayer/ChartsWebGLLayer.js +113 -0
- package/ChartsWebGLLayer/ChartsWebGLLayer.mjs +105 -0
- package/ChartsWebGLLayer/index.d.mts +1 -0
- package/ChartsWebGLLayer/index.d.ts +1 -0
- package/ChartsWebGLLayer/index.js +12 -0
- package/ChartsWebGLLayer/index.mjs +1 -0
- package/ChartsZoomSlider/index.d.mts +1 -0
- package/ChartsZoomSlider/index.d.ts +1 -0
- package/ChartsZoomSlider/index.js +16 -0
- package/ChartsZoomSlider/index.mjs +2 -0
- package/{esm/ChartZoomSlider/internals/previews/RangeBarPreviewPlot.js → ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.mjs} +1 -1
- package/{esm/HeatmapPremium/HeatmapPlotPremium.js → HeatmapPremium/HeatmapPlotPremium.mjs} +1 -1
- package/{esm/HeatmapPremium/HeatmapPremium.d.ts → HeatmapPremium/HeatmapPremium.d.mts} +1 -1
- package/HeatmapPremium/HeatmapPremium.d.ts +1 -1
- package/HeatmapPremium/HeatmapPremium.js +33 -15
- package/{esm/HeatmapPremium/HeatmapPremium.js → HeatmapPremium/HeatmapPremium.mjs} +36 -18
- package/{esm/HeatmapPremium/HeatmapPremium.plugins.d.ts → HeatmapPremium/HeatmapPremium.plugins.d.mts} +1 -1
- package/HeatmapPremium/HeatmapPremium.plugins.d.ts +1 -1
- package/HeatmapPremium/index.d.mts +1 -0
- package/HeatmapPremium/index.mjs +1 -0
- package/{esm/HeatmapPremium/useHeatmapPremiumProps.d.ts → HeatmapPremium/useHeatmapPremiumProps.d.mts} +2 -2
- package/HeatmapPremium/webgl/HeatmapWebGLPlot.js +3 -3
- package/{esm/HeatmapPremium/webgl/HeatmapWebGLPlot.js → HeatmapPremium/webgl/HeatmapWebGLPlot.mjs} +6 -6
- package/HeatmapPremium/webgl/HeatmapWebGLRenderer.js +2 -1
- package/{esm/HeatmapPremium/webgl/HeatmapWebGLRenderer.js → HeatmapPremium/webgl/HeatmapWebGLRenderer.mjs} +4 -3
- package/HeatmapPremium/webgl/useHeatmapPlotData.js +6 -2
- package/{esm/HeatmapPremium/webgl/useHeatmapPlotData.js → HeatmapPremium/webgl/useHeatmapPlotData.mjs} +7 -3
- package/{esm/context/ChartPremiumApi.d.ts → context/ChartPremiumApi.d.mts} +2 -2
- package/context/index.d.mts +2 -0
- package/{esm/context/useChartPremiumApiContext.d.ts → context/useChartPremiumApiContext.d.mts} +2 -2
- package/context/useChartPremiumApiContext.d.ts +1 -1
- package/context/useChartPremiumApiContext.js +1 -1
- package/{esm/context/useChartPremiumApiContext.js → context/useChartPremiumApiContext.mjs} +1 -1
- package/hooks/animation/index.d.mts +1 -0
- package/hooks/animation/index.mjs +1 -0
- package/{esm/hooks/animation/useAnimateRangeBar.d.ts → hooks/animation/useAnimateRangeBar.d.mts} +1 -1
- package/hooks/index.d.mts +4 -0
- package/{esm/hooks/index.js → hooks/index.mjs} +3 -3
- package/{esm/hooks/useChartPremiumApiRef.d.ts → hooks/useChartPremiumApiRef.d.mts} +3 -3
- package/{esm/index.d.ts → index.d.mts} +18 -13
- package/index.d.ts +6 -1
- package/index.js +61 -1
- package/{esm/index.js → index.mjs} +19 -14
- package/{esm/internals/plugins/allPlugins.d.ts → internals/plugins/allPlugins.d.mts} +4 -4
- package/internals/plugins/allPlugins.d.ts +4 -4
- package/{esm/models/index.d.ts → models/index.d.mts} +1 -1
- package/{esm/models/index.js → models/index.mjs} +1 -1
- package/models/seriesType/index.d.mts +1 -0
- package/models/seriesType/index.mjs +1 -0
- package/{esm/moduleAugmentation/rangeBarOnClick.d.ts → moduleAugmentation/rangeBarOnClick.d.mts} +1 -1
- package/package.json +878 -25
- package/typeOverloads/index.d.mts +1 -0
- package/typeOverloads/index.mjs +1 -0
- package/{esm/typeOverloads/modules.d.ts → typeOverloads/modules.d.mts} +9 -4
- package/typeOverloads/modules.d.ts +6 -1
- package/utils/webgl/useWebGLResizeObserver.js +2 -2
- package/{esm/utils/webgl/useWebGLResizeObserver.js → utils/webgl/useWebGLResizeObserver.mjs} +1 -1
- package/esm/BarChartPremium/RangeBar/seriesConfig/index.js +0 -24
- package/esm/BarChartPremium/index.d.ts +0 -5
- package/esm/BarChartPremium/index.js +0 -5
- package/esm/ChartContainerPremium/index.d.ts +0 -2
- package/esm/ChartContainerPremium/index.js +0 -2
- package/esm/ChartDataProviderPremium/ChartDataProviderPremium.d.ts +0 -49
- package/esm/ChartDataProviderPremium/useChartDataProviderPremiumProps.d.ts +0 -10
- package/esm/ChartsContainerPremium/index.d.ts +0 -2
- package/esm/ChartsContainerPremium/index.js +0 -2
- package/esm/ChartsRenderer/index.d.ts +0 -3
- package/esm/ChartsRenderer/index.js +0 -3
- package/esm/HeatmapPremium/index.d.ts +0 -1
- package/esm/HeatmapPremium/index.js +0 -1
- package/esm/context/index.d.ts +0 -2
- package/esm/hooks/animation/index.d.ts +0 -1
- package/esm/hooks/animation/index.js +0 -1
- package/esm/hooks/index.d.ts +0 -4
- package/esm/models/seriesType/index.d.ts +0 -1
- package/esm/models/seriesType/index.js +0 -1
- package/esm/package.json +0 -1
- package/esm/typeOverloads/index.d.ts +0 -1
- package/esm/typeOverloads/index.js +0 -1
- /package/{esm/BarChart/index.d.ts → BarChart/index.d.mts} +0 -0
- /package/{esm/BarChart/index.js → BarChart/index.mjs} +0 -0
- /package/{esm/BarChartPremium/BarChartPremium.plugins.d.ts → BarChartPremium/BarChartPremium.plugins.d.mts} +0 -0
- /package/{esm/BarChartPremium/BarChartPremium.plugins.js → BarChartPremium/BarChartPremium.plugins.mjs} +0 -0
- /package/{esm/BarChartPremium/RangeBar/AnimatedRangeBarElement.d.ts → BarChartPremium/RangeBar/AnimatedRangeBarElement.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/FocusedRangeBar.d.ts → BarChartPremium/RangeBar/FocusedRangeBar.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/createGetRangeBarDimensions.d.ts → BarChartPremium/RangeBar/createGetRangeBarDimensions.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/createGetRangeBarDimensions.js → BarChartPremium/RangeBar/createGetRangeBarDimensions.mjs} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/extrema.d.ts → BarChartPremium/RangeBar/seriesConfig/extrema.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/extrema.js → BarChartPremium/RangeBar/seriesConfig/extrema.mjs} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/getColor.d.ts → BarChartPremium/RangeBar/seriesConfig/getColor.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/getColor.js → BarChartPremium/RangeBar/seriesConfig/getColor.mjs} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.js → BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.mjs} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/index.d.ts → BarChartPremium/RangeBar/seriesConfig/index.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/keyboardFocusHandler.d.ts → BarChartPremium/RangeBar/seriesConfig/keyboardFocusHandler.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/keyboardFocusHandler.js → BarChartPremium/RangeBar/seriesConfig/keyboardFocusHandler.mjs} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/legend.d.ts → BarChartPremium/RangeBar/seriesConfig/legend.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/legend.js → BarChartPremium/RangeBar/seriesConfig/legend.mjs} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/seriesProcessor.d.ts → BarChartPremium/RangeBar/seriesConfig/seriesProcessor.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/tooltip.d.ts → BarChartPremium/RangeBar/seriesConfig/tooltip.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/tooltip.js → BarChartPremium/RangeBar/seriesConfig/tooltip.mjs} +0 -0
- /package/{esm/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.ts → BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/types.js → BarChartPremium/RangeBar/types.mjs} +0 -0
- /package/{esm/BarChartPremium/RangeBar/useUtilityClasses.d.ts → BarChartPremium/RangeBar/useUtilityClasses.d.mts} +0 -0
- /package/{esm/BarChartPremium/RangeBar/useUtilityClasses.js → BarChartPremium/RangeBar/useUtilityClasses.mjs} +0 -0
- /package/{esm/BarChartPremium/useBarChartPremiumProps.js → BarChartPremium/useBarChartPremiumProps.mjs} +0 -0
- /package/{esm/BarChartPro/index.d.ts → BarChartPro/index.d.mts} +0 -0
- /package/{esm/BarChartPro/index.js → BarChartPro/index.mjs} +0 -0
- /package/{esm/ChartContainer/index.d.ts → ChartContainer/index.d.mts} +0 -0
- /package/{esm/ChartContainer/index.js → ChartContainer/index.mjs} +0 -0
- /package/{esm/ChartContainerPro/index.d.ts → ChartContainerPro/index.d.mts} +0 -0
- /package/{esm/ChartContainerPro/index.js → ChartContainerPro/index.mjs} +0 -0
- /package/{esm/ChartDataProvider/index.d.ts → ChartDataProvider/index.d.mts} +0 -0
- /package/{esm/ChartDataProvider/index.js → ChartDataProvider/index.mjs} +0 -0
- /package/{esm/ChartDataProviderPro/index.d.ts → ChartDataProviderPro/index.d.mts} +0 -0
- /package/{esm/ChartDataProviderPro/index.js → ChartDataProviderPro/index.mjs} +0 -0
- /package/{esm/ChartZoomSlider/index.d.ts → ChartZoomSlider/index.d.mts} +0 -0
- /package/{esm/ChartZoomSlider/index.js → ChartZoomSlider/index.mjs} +0 -0
- /package/{esm/ChartsAxis/index.d.ts → ChartsAxis/index.d.mts} +0 -0
- /package/{esm/ChartsAxis/index.js → ChartsAxis/index.mjs} +0 -0
- /package/{esm/ChartsAxisHighlight/index.d.ts → ChartsAxisHighlight/index.d.mts} +0 -0
- /package/{esm/ChartsAxisHighlight/index.js → ChartsAxisHighlight/index.mjs} +0 -0
- /package/{esm/ChartsBrushOverlay/index.d.ts → ChartsBrushOverlay/index.d.mts} +0 -0
- /package/{esm/ChartsBrushOverlay/index.js → ChartsBrushOverlay/index.mjs} +0 -0
- /package/{esm/ChartsClipPath/index.d.ts → ChartsClipPath/index.d.mts} +0 -0
- /package/{esm/ChartsClipPath/index.js → ChartsClipPath/index.mjs} +0 -0
- /package/{esm/ChartsContainer/index.d.ts → ChartsContainer/index.d.mts} +0 -0
- /package/{esm/ChartsContainer/index.js → ChartsContainer/index.mjs} +0 -0
- /package/{esm/ChartsContainerPro/index.d.ts → ChartsContainerPro/index.d.mts} +0 -0
- /package/{esm/ChartsContainerPro/index.js → ChartsContainerPro/index.mjs} +0 -0
- /package/{esm/ChartsGrid/index.d.ts → ChartsGrid/index.d.mts} +0 -0
- /package/{esm/ChartsGrid/index.js → ChartsGrid/index.mjs} +0 -0
- /package/{esm/ChartsLabel/index.d.ts → ChartsLabel/index.d.mts} +0 -0
- /package/{esm/ChartsLabel/index.js → ChartsLabel/index.mjs} +0 -0
- /package/{esm/ChartsLegend/index.d.ts → ChartsLegend/index.d.mts} +0 -0
- /package/{esm/ChartsLegend/index.js → ChartsLegend/index.mjs} +0 -0
- /package/{esm/ChartsLocalizationProvider/index.d.ts → ChartsLocalizationProvider/index.d.mts} +0 -0
- /package/{esm/ChartsLocalizationProvider/index.js → ChartsLocalizationProvider/index.mjs} +0 -0
- /package/{esm/ChartsOverlay/index.d.ts → ChartsOverlay/index.d.mts} +0 -0
- /package/{esm/ChartsOverlay/index.js → ChartsOverlay/index.mjs} +0 -0
- /package/{esm/ChartsReferenceLine/index.d.ts → ChartsReferenceLine/index.d.mts} +0 -0
- /package/{esm/ChartsReferenceLine/index.js → ChartsReferenceLine/index.mjs} +0 -0
- /package/{esm/ChartsRenderer/ChartsRenderer.d.ts → ChartsRenderer/ChartsRenderer.d.mts} +0 -0
- /package/{esm/ChartsRenderer/colors.d.ts → ChartsRenderer/colors.d.mts} +0 -0
- /package/{esm/ChartsRenderer/colors.js → ChartsRenderer/colors.mjs} +0 -0
- /package/{esm/ChartsRenderer/components/PaletteOption.d.ts → ChartsRenderer/components/PaletteOption.d.mts} +0 -0
- /package/{esm/ChartsRenderer/configuration.d.ts → ChartsRenderer/configuration.d.mts} +0 -0
- /package/{esm/ChartsRenderer/icons.d.ts → ChartsRenderer/icons.d.mts} +0 -0
- /package/{esm/ChartsRenderer/icons.js → ChartsRenderer/icons.mjs} +0 -0
- /package/{esm/ChartsSurface/index.d.ts → ChartsSurface/index.d.mts} +0 -0
- /package/{esm/ChartsSurface/index.js → ChartsSurface/index.mjs} +0 -0
- /package/{esm/ChartsText/index.d.ts → ChartsText/index.d.mts} +0 -0
- /package/{esm/ChartsText/index.js → ChartsText/index.mjs} +0 -0
- /package/{esm/ChartsToolbarPro/index.d.ts → ChartsToolbarPro/index.d.mts} +0 -0
- /package/{esm/ChartsToolbarPro/index.js → ChartsToolbarPro/index.mjs} +0 -0
- /package/{esm/ChartsTooltip/index.d.ts → ChartsTooltip/index.d.mts} +0 -0
- /package/{esm/ChartsTooltip/index.js → ChartsTooltip/index.mjs} +0 -0
- /package/{esm/ChartsWrapper/index.d.ts → ChartsWrapper/index.d.mts} +0 -0
- /package/{esm/ChartsWrapper/index.js → ChartsWrapper/index.mjs} +0 -0
- /package/{esm/ChartsXAxis/index.d.ts → ChartsXAxis/index.d.mts} +0 -0
- /package/{esm/ChartsXAxis/index.js → ChartsXAxis/index.mjs} +0 -0
- /package/{esm/ChartsYAxis/index.d.ts → ChartsYAxis/index.d.mts} +0 -0
- /package/{esm/ChartsYAxis/index.js → ChartsYAxis/index.mjs} +0 -0
- /package/{ChartZoomSlider/internals/previews/RangeBarPreviewPlot.d.ts → ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.d.mts} +0 -0
- /package/{esm/ChartZoomSlider → ChartsZoomSlider}/internals/previews/RangeBarPreviewPlot.d.ts +0 -0
- /package/{ChartZoomSlider → ChartsZoomSlider}/internals/previews/RangeBarPreviewPlot.js +0 -0
- /package/{esm/FunnelChart/index.d.ts → FunnelChart/index.d.mts} +0 -0
- /package/{esm/FunnelChart/index.js → FunnelChart/index.mjs} +0 -0
- /package/{esm/Gauge/index.d.ts → Gauge/index.d.mts} +0 -0
- /package/{esm/Gauge/index.js → Gauge/index.mjs} +0 -0
- /package/{esm/Heatmap/index.d.ts → Heatmap/index.d.mts} +0 -0
- /package/{esm/Heatmap/index.js → Heatmap/index.mjs} +0 -0
- /package/{esm/HeatmapPremium/HeatmapPlotPremium.d.ts → HeatmapPremium/HeatmapPlotPremium.d.mts} +0 -0
- /package/{esm/HeatmapPremium/HeatmapPremium.plugins.js → HeatmapPremium/HeatmapPremium.plugins.mjs} +0 -0
- /package/{esm/HeatmapPremium/useHeatmapPremiumProps.js → HeatmapPremium/useHeatmapPremiumProps.mjs} +0 -0
- /package/{esm/HeatmapPremium/webgl/HeatmapWebGLPlot.d.ts → HeatmapPremium/webgl/HeatmapWebGLPlot.d.mts} +0 -0
- /package/{esm/HeatmapPremium/webgl/HeatmapWebGLRenderer.d.ts → HeatmapPremium/webgl/HeatmapWebGLRenderer.d.mts} +0 -0
- /package/{esm/HeatmapPremium/webgl/shaders.d.ts → HeatmapPremium/webgl/shaders.d.mts} +0 -0
- /package/{esm/HeatmapPremium/webgl/shaders.js → HeatmapPremium/webgl/shaders.mjs} +0 -0
- /package/{esm/HeatmapPremium/webgl/useHeatmapPlotData.d.ts → HeatmapPremium/webgl/useHeatmapPlotData.d.mts} +0 -0
- /package/{esm/LineChart/index.d.ts → LineChart/index.d.mts} +0 -0
- /package/{esm/LineChart/index.js → LineChart/index.mjs} +0 -0
- /package/{esm/LineChartPro/index.d.ts → LineChartPro/index.d.mts} +0 -0
- /package/{esm/LineChartPro/index.js → LineChartPro/index.mjs} +0 -0
- /package/{esm/PieChart/index.d.ts → PieChart/index.d.mts} +0 -0
- /package/{esm/PieChart/index.js → PieChart/index.mjs} +0 -0
- /package/{esm/PieChartPro/index.d.ts → PieChartPro/index.d.mts} +0 -0
- /package/{esm/PieChartPro/index.js → PieChartPro/index.mjs} +0 -0
- /package/{esm/RadarChart/index.d.ts → RadarChart/index.d.mts} +0 -0
- /package/{esm/RadarChart/index.js → RadarChart/index.mjs} +0 -0
- /package/{esm/RadarChartPro/index.d.ts → RadarChartPro/index.d.mts} +0 -0
- /package/{esm/RadarChartPro/index.js → RadarChartPro/index.mjs} +0 -0
- /package/{esm/SankeyChart/index.d.ts → SankeyChart/index.d.mts} +0 -0
- /package/{esm/SankeyChart/index.js → SankeyChart/index.mjs} +0 -0
- /package/{esm/ScatterChart/index.d.ts → ScatterChart/index.d.mts} +0 -0
- /package/{esm/ScatterChart/index.js → ScatterChart/index.mjs} +0 -0
- /package/{esm/ScatterChartPro/index.d.ts → ScatterChartPro/index.d.mts} +0 -0
- /package/{esm/ScatterChartPro/index.js → ScatterChartPro/index.mjs} +0 -0
- /package/{esm/SparkLineChart/index.d.ts → SparkLineChart/index.d.mts} +0 -0
- /package/{esm/SparkLineChart/index.js → SparkLineChart/index.mjs} +0 -0
- /package/{esm/Toolbar/index.d.ts → Toolbar/index.d.mts} +0 -0
- /package/{esm/Toolbar/index.js → Toolbar/index.mjs} +0 -0
- /package/{esm/colorPalettes/index.d.ts → colorPalettes/index.d.mts} +0 -0
- /package/{esm/colorPalettes/index.js → colorPalettes/index.mjs} +0 -0
- /package/{esm/constants/index.d.ts → constants/index.d.mts} +0 -0
- /package/{esm/constants/index.js → constants/index.mjs} +0 -0
- /package/{esm/context/ChartPremiumApi.js → context/ChartPremiumApi.mjs} +0 -0
- /package/{esm/context/index.js → context/index.mjs} +0 -0
- /package/{esm/hooks/animation/useAnimateRangeBar.js → hooks/animation/useAnimateRangeBar.mjs} +0 -0
- /package/{esm/hooks/useChartPremiumApiRef.js → hooks/useChartPremiumApiRef.mjs} +0 -0
- /package/{esm/hooks/useRangeBarSeries.d.ts → hooks/useRangeBarSeries.d.mts} +0 -0
- /package/{esm/hooks/useRangeBarSeries.js → hooks/useRangeBarSeries.mjs} +0 -0
- /package/{esm/internals/plugins/allPlugins.js → internals/plugins/allPlugins.mjs} +0 -0
- /package/{esm/locales/index.d.ts → locales/index.d.mts} +0 -0
- /package/{esm/locales/index.js → locales/index.mjs} +0 -0
- /package/{esm/models/seriesType/rangeBar.d.ts → models/seriesType/rangeBar.d.mts} +0 -0
- /package/{esm/models/seriesType/rangeBar.js → models/seriesType/rangeBar.mjs} +0 -0
- /package/{esm/moduleAugmentation/rangeBarOnClick.js → moduleAugmentation/rangeBarOnClick.mjs} +0 -0
- /package/{esm/plugins/index.d.ts → plugins/index.d.mts} +0 -0
- /package/{esm/plugins/index.js → plugins/index.mjs} +0 -0
- /package/{esm/typeOverloads/modules.js → typeOverloads/modules.mjs} +0 -0
- /package/{esm/utils/index.d.ts → utils/index.d.mts} +0 -0
- /package/{esm/utils/index.js → utils/index.mjs} +0 -0
- /package/{esm/utils/webgl/parseColor.d.ts → utils/webgl/parseColor.d.mts} +0 -0
- /package/{esm/utils/webgl/parseColor.js → utils/webgl/parseColor.mjs} +0 -0
- /package/{esm/utils/webgl/useWebGLResizeObserver.d.ts → utils/webgl/useWebGLResizeObserver.d.mts} +0 -0
- /package/{HeatmapPremium/webgl/utils.d.ts → utils/webgl/utils.d.mts} +0 -0
- /package/{esm/HeatmapPremium → utils}/webgl/utils.d.ts +0 -0
- /package/{HeatmapPremium → utils}/webgl/utils.js +0 -0
- /package/{esm/HeatmapPremium/webgl/utils.js → utils/webgl/utils.mjs} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type BarChartProProps, type BarChartProSlotProps, type BarChartProSlots } from '@mui/x-charts-pro/BarChartPro';
|
|
3
3
|
import { type BarSeries } from '@mui/x-charts/BarChart';
|
|
4
|
-
import { type BarItemIdentifier, type RangeBarItemIdentifier, type RangeBarSeriesType } from "../models/index.
|
|
4
|
+
import { type BarItemIdentifier, type RangeBarItemIdentifier, type RangeBarSeriesType } from "../models/index.mjs";
|
|
5
5
|
export type RangeBarSeries = RangeBarSeriesType;
|
|
6
6
|
export interface BarChartPremiumSlots extends BarChartProSlots {}
|
|
7
7
|
export interface BarChartPremiumSlotProps extends BarChartProSlotProps {}
|
|
@@ -22,7 +22,7 @@ var _BarChart = require("@mui/x-charts/BarChart");
|
|
|
22
22
|
var _ChartsOverlay = require("@mui/x-charts/ChartsOverlay");
|
|
23
23
|
var _ChartsAxisHighlight = require("@mui/x-charts/ChartsAxisHighlight");
|
|
24
24
|
var _ChartsAxis = require("@mui/x-charts/ChartsAxis");
|
|
25
|
-
var
|
|
25
|
+
var _ChartsZoomSlider = require("@mui/x-charts-pro/ChartsZoomSlider");
|
|
26
26
|
var _ChartsBrushOverlay = require("@mui/x-charts/ChartsBrushOverlay");
|
|
27
27
|
var _ChartsClipPath = require("@mui/x-charts/ChartsClipPath");
|
|
28
28
|
var _internals = require("@mui/x-charts-pro/internals");
|
|
@@ -31,7 +31,7 @@ var _BarChartPremium2 = require("./BarChartPremium.plugins");
|
|
|
31
31
|
var _ChartDataProviderPremium = require("../ChartDataProviderPremium");
|
|
32
32
|
var _RangeBarPlot = require("./RangeBar/RangeBarPlot");
|
|
33
33
|
var _FocusedRangeBar = require("./RangeBar/FocusedRangeBar");
|
|
34
|
-
var _RangeBarPreviewPlot = require("../
|
|
34
|
+
var _RangeBarPreviewPlot = require("../ChartsZoomSlider/internals/previews/RangeBarPreviewPlot");
|
|
35
35
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
36
36
|
const _excluded = ["initialZoom", "zoomData", "onZoomChange", "apiRef", "showToolbar"];
|
|
37
37
|
_internals.seriesPreviewPlotMap.set('rangeBar', _RangeBarPreviewPlot.RangeBarPreviewPlot);
|
|
@@ -76,7 +76,7 @@ const BarChartPremium = exports.BarChartPremium = /*#__PURE__*/React.forwardRef(
|
|
|
76
76
|
const {
|
|
77
77
|
chartDataProviderProProps,
|
|
78
78
|
chartsSurfaceProps
|
|
79
|
-
} = (0, _internals.
|
|
79
|
+
} = (0, _internals.useChartsContainerProProps)((0, _extends2.default)({}, chartContainerProps, {
|
|
80
80
|
initialZoom,
|
|
81
81
|
zoomData,
|
|
82
82
|
onZoomChange,
|
|
@@ -91,7 +91,7 @@ const BarChartPremium = exports.BarChartPremium = /*#__PURE__*/React.forwardRef(
|
|
|
91
91
|
children: [showToolbar ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Toolbar, (0, _extends2.default)({}, props.slotProps?.toolbar)) : null, !props.hideLegend && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsLegend.ChartsLegend, (0, _extends2.default)({}, legendProps)), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ChartsSurface.ChartsSurface, (0, _extends2.default)({}, chartsSurfaceProps, {
|
|
92
92
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsGrid.ChartsGrid, (0, _extends2.default)({}, gridProps)), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", (0, _extends2.default)({}, clipPathGroupProps, {
|
|
93
93
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_BarChart.BarPlot, (0, _extends2.default)({}, barPlotProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangeBarPlot.RangeBarPlot, (0, _extends2.default)({}, rangeBarPlotProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsOverlay.ChartsOverlay, (0, _extends2.default)({}, overlayProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxisHighlight.ChartsAxisHighlight, (0, _extends2.default)({}, axisHighlightProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_BarChart.FocusedBar, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FocusedRangeBar.FocusedRangeBar, {})]
|
|
94
|
-
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxis.ChartsAxis, (0, _extends2.default)({}, chartsAxisProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
94
|
+
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxis.ChartsAxis, (0, _extends2.default)({}, chartsAxisProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsZoomSlider.ChartsZoomSlider, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsBrushOverlay.ChartsBrushOverlay, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsClipPath.ChartsClipPath, (0, _extends2.default)({}, clipPathProps)), children]
|
|
95
95
|
})), !props.loading && /*#__PURE__*/(0, _jsxRuntime.jsx)(Tooltip, (0, _extends2.default)({}, props.slotProps?.tooltip))]
|
|
96
96
|
}))
|
|
97
97
|
}));
|
|
@@ -196,11 +196,15 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
|
|
|
196
196
|
* ]
|
|
197
197
|
* ```
|
|
198
198
|
*/
|
|
199
|
-
hiddenItems: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
199
|
+
hiddenItems: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
|
|
200
200
|
dataIndex: _propTypes.default.number,
|
|
201
201
|
seriesId: _propTypes.default.string.isRequired,
|
|
202
202
|
type: _propTypes.default.oneOf(['bar'])
|
|
203
|
-
})
|
|
203
|
+
}), _propTypes.default.shape({
|
|
204
|
+
dataIndex: _propTypes.default.number,
|
|
205
|
+
seriesId: _propTypes.default.string.isRequired,
|
|
206
|
+
type: _propTypes.default.oneOf(['bar']).isRequired
|
|
207
|
+
})]).isRequired),
|
|
204
208
|
/**
|
|
205
209
|
* If `true`, the legend is not rendered.
|
|
206
210
|
*/
|
|
@@ -217,10 +221,14 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
|
|
|
217
221
|
* The highlighted item.
|
|
218
222
|
* Used when the highlight is controlled.
|
|
219
223
|
*/
|
|
220
|
-
highlightedItem: _propTypes.default.shape({
|
|
224
|
+
highlightedItem: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
225
|
+
dataIndex: _propTypes.default.number,
|
|
226
|
+
seriesId: _propTypes.default.string.isRequired,
|
|
227
|
+
type: _propTypes.default.oneOf(['bar']).isRequired
|
|
228
|
+
}), _propTypes.default.shape({
|
|
221
229
|
dataIndex: _propTypes.default.number,
|
|
222
230
|
seriesId: _propTypes.default.string.isRequired
|
|
223
|
-
}),
|
|
231
|
+
})]),
|
|
224
232
|
/**
|
|
225
233
|
* This prop is used to help implement the accessibility logic.
|
|
226
234
|
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
@@ -247,11 +255,15 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
|
|
|
247
255
|
* ]
|
|
248
256
|
* ```
|
|
249
257
|
*/
|
|
250
|
-
initialHiddenItems: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
258
|
+
initialHiddenItems: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
|
|
251
259
|
dataIndex: _propTypes.default.number,
|
|
252
260
|
seriesId: _propTypes.default.string.isRequired,
|
|
253
261
|
type: _propTypes.default.oneOf(['bar'])
|
|
254
|
-
})
|
|
262
|
+
}), _propTypes.default.shape({
|
|
263
|
+
dataIndex: _propTypes.default.number,
|
|
264
|
+
seriesId: _propTypes.default.string.isRequired,
|
|
265
|
+
type: _propTypes.default.oneOf(['bar']).isRequired
|
|
266
|
+
})]).isRequired),
|
|
255
267
|
/**
|
|
256
268
|
* The list of zoom data related to each axis.
|
|
257
269
|
* Used to initialize the zoom in a specific configuration without controlling it.
|
|
@@ -296,13 +308,13 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
|
|
|
296
308
|
onAxisClick: _propTypes.default.func,
|
|
297
309
|
/**
|
|
298
310
|
* Callback fired when any hidden identifiers change.
|
|
299
|
-
* @param {
|
|
311
|
+
* @param {VisibilityIdentifierWithType[]} hiddenItems The new list of hidden identifiers.
|
|
300
312
|
*/
|
|
301
313
|
onHiddenItemsChange: _propTypes.default.func,
|
|
302
314
|
/**
|
|
303
315
|
* The callback fired when the highlighted item changes.
|
|
304
316
|
*
|
|
305
|
-
* @param {
|
|
317
|
+
* @param {HighlightItemIdentifierWithType<SeriesType> | null} highlightedItem The newly highlighted item.
|
|
306
318
|
*/
|
|
307
319
|
onHighlightChange: _propTypes.default.func,
|
|
308
320
|
/**
|
|
@@ -388,11 +400,14 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
|
|
|
388
400
|
* The tooltip item.
|
|
389
401
|
* Used when the tooltip is controlled.
|
|
390
402
|
*/
|
|
391
|
-
tooltipItem: _propTypes.default.shape({
|
|
403
|
+
tooltipItem: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
392
404
|
dataIndex: _propTypes.default.number.isRequired,
|
|
393
405
|
seriesId: _propTypes.default.string.isRequired,
|
|
394
|
-
type: _propTypes.default.oneOf(['bar'])
|
|
395
|
-
}),
|
|
406
|
+
type: _propTypes.default.oneOf(['bar']).isRequired
|
|
407
|
+
}), _propTypes.default.shape({
|
|
408
|
+
dataIndex: _propTypes.default.number.isRequired,
|
|
409
|
+
seriesId: _propTypes.default.string.isRequired
|
|
410
|
+
})]),
|
|
396
411
|
/**
|
|
397
412
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
398
413
|
*/
|
|
@@ -16,16 +16,16 @@ import { BarPlot, FocusedBar } from '@mui/x-charts/BarChart';
|
|
|
16
16
|
import { ChartsOverlay } from '@mui/x-charts/ChartsOverlay';
|
|
17
17
|
import { ChartsAxisHighlight } from '@mui/x-charts/ChartsAxisHighlight';
|
|
18
18
|
import { ChartsAxis } from '@mui/x-charts/ChartsAxis';
|
|
19
|
-
import {
|
|
19
|
+
import { ChartsZoomSlider } from '@mui/x-charts-pro/ChartsZoomSlider';
|
|
20
20
|
import { ChartsBrushOverlay } from '@mui/x-charts/ChartsBrushOverlay';
|
|
21
21
|
import { ChartsClipPath } from '@mui/x-charts/ChartsClipPath';
|
|
22
|
-
import { seriesPreviewPlotMap,
|
|
23
|
-
import { useBarChartPremiumProps } from "./useBarChartPremiumProps.
|
|
24
|
-
import { BAR_CHART_PREMIUM_PLUGINS } from "./BarChartPremium.plugins.
|
|
25
|
-
import { ChartDataProviderPremium } from "../ChartDataProviderPremium/index.
|
|
26
|
-
import { RangeBarPlot } from "./RangeBar/RangeBarPlot.
|
|
27
|
-
import { FocusedRangeBar } from "./RangeBar/FocusedRangeBar.
|
|
28
|
-
import { RangeBarPreviewPlot } from "../
|
|
22
|
+
import { seriesPreviewPlotMap, useChartsContainerProProps } from '@mui/x-charts-pro/internals';
|
|
23
|
+
import { useBarChartPremiumProps } from "./useBarChartPremiumProps.mjs";
|
|
24
|
+
import { BAR_CHART_PREMIUM_PLUGINS } from "./BarChartPremium.plugins.mjs";
|
|
25
|
+
import { ChartDataProviderPremium } from "../ChartDataProviderPremium/index.mjs";
|
|
26
|
+
import { RangeBarPlot } from "./RangeBar/RangeBarPlot.mjs";
|
|
27
|
+
import { FocusedRangeBar } from "./RangeBar/FocusedRangeBar.mjs";
|
|
28
|
+
import { RangeBarPreviewPlot } from "../ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.mjs";
|
|
29
29
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
30
30
|
seriesPreviewPlotMap.set('rangeBar', RangeBarPreviewPlot);
|
|
31
31
|
/**
|
|
@@ -69,7 +69,7 @@ const BarChartPremium = /*#__PURE__*/React.forwardRef(function BarChartPremium(i
|
|
|
69
69
|
const {
|
|
70
70
|
chartDataProviderProProps,
|
|
71
71
|
chartsSurfaceProps
|
|
72
|
-
} =
|
|
72
|
+
} = useChartsContainerProProps(_extends({}, chartContainerProps, {
|
|
73
73
|
initialZoom,
|
|
74
74
|
zoomData,
|
|
75
75
|
onZoomChange,
|
|
@@ -84,7 +84,7 @@ const BarChartPremium = /*#__PURE__*/React.forwardRef(function BarChartPremium(i
|
|
|
84
84
|
children: [showToolbar ? /*#__PURE__*/_jsx(Toolbar, _extends({}, props.slotProps?.toolbar)) : null, !props.hideLegend && /*#__PURE__*/_jsx(ChartsLegend, _extends({}, legendProps)), /*#__PURE__*/_jsxs(ChartsSurface, _extends({}, chartsSurfaceProps, {
|
|
85
85
|
children: [/*#__PURE__*/_jsx(ChartsGrid, _extends({}, gridProps)), /*#__PURE__*/_jsxs("g", _extends({}, clipPathGroupProps, {
|
|
86
86
|
children: [/*#__PURE__*/_jsx(BarPlot, _extends({}, barPlotProps)), /*#__PURE__*/_jsx(RangeBarPlot, _extends({}, rangeBarPlotProps)), /*#__PURE__*/_jsx(ChartsOverlay, _extends({}, overlayProps)), /*#__PURE__*/_jsx(ChartsAxisHighlight, _extends({}, axisHighlightProps)), /*#__PURE__*/_jsx(FocusedBar, {}), /*#__PURE__*/_jsx(FocusedRangeBar, {})]
|
|
87
|
-
})), /*#__PURE__*/_jsx(ChartsAxis, _extends({}, chartsAxisProps)), /*#__PURE__*/_jsx(
|
|
87
|
+
})), /*#__PURE__*/_jsx(ChartsAxis, _extends({}, chartsAxisProps)), /*#__PURE__*/_jsx(ChartsZoomSlider, {}), /*#__PURE__*/_jsx(ChartsBrushOverlay, {}), /*#__PURE__*/_jsx(ChartsClipPath, _extends({}, clipPathProps)), children]
|
|
88
88
|
})), !props.loading && /*#__PURE__*/_jsx(Tooltip, _extends({}, props.slotProps?.tooltip))]
|
|
89
89
|
}))
|
|
90
90
|
}));
|
|
@@ -189,11 +189,15 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
|
|
|
189
189
|
* ]
|
|
190
190
|
* ```
|
|
191
191
|
*/
|
|
192
|
-
hiddenItems: PropTypes.arrayOf(PropTypes.shape({
|
|
192
|
+
hiddenItems: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape({
|
|
193
193
|
dataIndex: PropTypes.number,
|
|
194
194
|
seriesId: PropTypes.string.isRequired,
|
|
195
195
|
type: PropTypes.oneOf(['bar'])
|
|
196
|
-
})
|
|
196
|
+
}), PropTypes.shape({
|
|
197
|
+
dataIndex: PropTypes.number,
|
|
198
|
+
seriesId: PropTypes.string.isRequired,
|
|
199
|
+
type: PropTypes.oneOf(['bar']).isRequired
|
|
200
|
+
})]).isRequired),
|
|
197
201
|
/**
|
|
198
202
|
* If `true`, the legend is not rendered.
|
|
199
203
|
*/
|
|
@@ -210,10 +214,14 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
|
|
|
210
214
|
* The highlighted item.
|
|
211
215
|
* Used when the highlight is controlled.
|
|
212
216
|
*/
|
|
213
|
-
highlightedItem: PropTypes.shape({
|
|
217
|
+
highlightedItem: PropTypes.oneOfType([PropTypes.shape({
|
|
218
|
+
dataIndex: PropTypes.number,
|
|
219
|
+
seriesId: PropTypes.string.isRequired,
|
|
220
|
+
type: PropTypes.oneOf(['bar']).isRequired
|
|
221
|
+
}), PropTypes.shape({
|
|
214
222
|
dataIndex: PropTypes.number,
|
|
215
223
|
seriesId: PropTypes.string.isRequired
|
|
216
|
-
}),
|
|
224
|
+
})]),
|
|
217
225
|
/**
|
|
218
226
|
* This prop is used to help implement the accessibility logic.
|
|
219
227
|
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
@@ -240,11 +248,15 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
|
|
|
240
248
|
* ]
|
|
241
249
|
* ```
|
|
242
250
|
*/
|
|
243
|
-
initialHiddenItems: PropTypes.arrayOf(PropTypes.shape({
|
|
251
|
+
initialHiddenItems: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape({
|
|
244
252
|
dataIndex: PropTypes.number,
|
|
245
253
|
seriesId: PropTypes.string.isRequired,
|
|
246
254
|
type: PropTypes.oneOf(['bar'])
|
|
247
|
-
})
|
|
255
|
+
}), PropTypes.shape({
|
|
256
|
+
dataIndex: PropTypes.number,
|
|
257
|
+
seriesId: PropTypes.string.isRequired,
|
|
258
|
+
type: PropTypes.oneOf(['bar']).isRequired
|
|
259
|
+
})]).isRequired),
|
|
248
260
|
/**
|
|
249
261
|
* The list of zoom data related to each axis.
|
|
250
262
|
* Used to initialize the zoom in a specific configuration without controlling it.
|
|
@@ -289,13 +301,13 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
|
|
|
289
301
|
onAxisClick: PropTypes.func,
|
|
290
302
|
/**
|
|
291
303
|
* Callback fired when any hidden identifiers change.
|
|
292
|
-
* @param {
|
|
304
|
+
* @param {VisibilityIdentifierWithType[]} hiddenItems The new list of hidden identifiers.
|
|
293
305
|
*/
|
|
294
306
|
onHiddenItemsChange: PropTypes.func,
|
|
295
307
|
/**
|
|
296
308
|
* The callback fired when the highlighted item changes.
|
|
297
309
|
*
|
|
298
|
-
* @param {
|
|
310
|
+
* @param {HighlightItemIdentifierWithType<SeriesType> | null} highlightedItem The newly highlighted item.
|
|
299
311
|
*/
|
|
300
312
|
onHighlightChange: PropTypes.func,
|
|
301
313
|
/**
|
|
@@ -381,11 +393,14 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
|
|
|
381
393
|
* The tooltip item.
|
|
382
394
|
* Used when the tooltip is controlled.
|
|
383
395
|
*/
|
|
384
|
-
tooltipItem: PropTypes.shape({
|
|
396
|
+
tooltipItem: PropTypes.oneOfType([PropTypes.shape({
|
|
385
397
|
dataIndex: PropTypes.number.isRequired,
|
|
386
398
|
seriesId: PropTypes.string.isRequired,
|
|
387
|
-
type: PropTypes.oneOf(['bar'])
|
|
388
|
-
}),
|
|
399
|
+
type: PropTypes.oneOf(['bar']).isRequired
|
|
400
|
+
}), PropTypes.shape({
|
|
401
|
+
dataIndex: PropTypes.number.isRequired,
|
|
402
|
+
seriesId: PropTypes.string.isRequired
|
|
403
|
+
})]),
|
|
389
404
|
/**
|
|
390
405
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
391
406
|
*/
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["ownerState", "skipAnimation", "seriesId", "dataIndex", "xOrigin", "yOrigin", "hidden"];
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { useAnimateRangeBar } from "../../hooks/animation/useAnimateRangeBar.
|
|
7
|
+
import { useAnimateRangeBar } from "../../hooks/animation/useAnimateRangeBar.mjs";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
export function AnimatedRangeBarElement(props) {
|
|
10
10
|
const {
|
|
@@ -4,8 +4,8 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { useTheme } from '@mui/material/styles';
|
|
6
6
|
import { useFocusedItem, useXAxes, useYAxes } from '@mui/x-charts/hooks';
|
|
7
|
-
import { createGetRangeBarDimensions } from "./createGetRangeBarDimensions.
|
|
8
|
-
import { useRangeBarSeriesContext } from "../../hooks/useRangeBarSeries.
|
|
7
|
+
import { createGetRangeBarDimensions } from "./createGetRangeBarDimensions.mjs";
|
|
8
|
+
import { useRangeBarSeriesContext } from "../../hooks/useRangeBarSeries.mjs";
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
export function FocusedRangeBar(props) {
|
|
11
11
|
const theme = useTheme();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type BarElementSlotProps, type BarElementSlots, type BarLabelSlots, type BarLabelSlotProps } from '@mui/x-charts/BarChart';
|
|
3
|
-
import { type RangeBarItemIdentifier } from "../../models/index.
|
|
3
|
+
import { type RangeBarItemIdentifier } from "../../models/index.mjs";
|
|
4
4
|
export interface RangeBarPlotSlots extends BarElementSlots, BarLabelSlots {}
|
|
5
5
|
export interface RangeBarPlotSlotProps extends BarElementSlotProps, BarLabelSlotProps {}
|
|
6
6
|
export interface RangeBarPlotProps {
|
package/{esm/BarChartPremium/RangeBar/RangeBarPlot.js → BarChartPremium/RangeBar/RangeBarPlot.mjs}
RENAMED
|
@@ -10,9 +10,9 @@ import { useSkipAnimation } from '@mui/x-charts/internals';
|
|
|
10
10
|
import { BarElement, barElementClasses } from '@mui/x-charts/BarChart';
|
|
11
11
|
import { useDrawingArea, useXAxes, useYAxes } from '@mui/x-charts/hooks';
|
|
12
12
|
import { useIsZoomInteracting } from '@mui/x-charts-pro/hooks';
|
|
13
|
-
import { useUtilityClasses } from "./useUtilityClasses.
|
|
14
|
-
import { useRangeBarPlotData } from "./useRangeBarPlotData.
|
|
15
|
-
import { AnimatedRangeBarElement } from "./AnimatedRangeBarElement.
|
|
13
|
+
import { useUtilityClasses } from "./useUtilityClasses.mjs";
|
|
14
|
+
import { useRangeBarPlotData } from "./useRangeBarPlotData.mjs";
|
|
15
|
+
import { AnimatedRangeBarElement } from "./AnimatedRangeBarElement.mjs";
|
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
const RangeBarPlotRoot = styled('g', {
|
|
18
18
|
name: 'MuiRangeBarPlot',
|
|
@@ -3,17 +3,17 @@ export declare function getSeriesWithDefaultValues(seriesData: AllSeriesType<'ra
|
|
|
3
3
|
id: string;
|
|
4
4
|
color: string;
|
|
5
5
|
type: "rangeBar";
|
|
6
|
-
data?: ReadonlyArray<import("../../../index.
|
|
6
|
+
data?: ReadonlyArray<import("../../../index.mjs").RangeBarValueType | null>;
|
|
7
7
|
datasetKeys?: {
|
|
8
8
|
start: string;
|
|
9
9
|
end: string;
|
|
10
10
|
};
|
|
11
11
|
label?: string | ((location: "tooltip" | "legend") => string);
|
|
12
12
|
layout?: "horizontal" | "vertical";
|
|
13
|
-
valueFormatter?: import("@mui/x-charts/internals").SeriesValueFormatter<import("../../../index.
|
|
13
|
+
valueFormatter?: import("@mui/x-charts/internals").SeriesValueFormatter<import("../../../index.mjs").RangeBarValueType | null> | undefined;
|
|
14
14
|
highlightScope?: import("@mui/x-charts/internals").CommonHighlightScope | undefined;
|
|
15
15
|
labelMarkType?: import("@mui/x-charts/internals").ChartsLabelMarkType;
|
|
16
|
-
colorGetter?: ((data: import("@mui/x-charts/internals").ColorCallbackValue<import("../../../index.
|
|
16
|
+
colorGetter?: ((data: import("@mui/x-charts/internals").ColorCallbackValue<import("../../../index.mjs").RangeBarValueType | null>) => string) | undefined;
|
|
17
17
|
xAxisId?: import("@mui/x-charts/internals").AxisId;
|
|
18
18
|
yAxisId?: import("@mui/x-charts/internals").AxisId;
|
|
19
19
|
};
|
|
@@ -27,6 +27,8 @@ const rangeBarSeriesConfig = exports.rangeBarSeriesConfig = {
|
|
|
27
27
|
getSeriesWithDefaultValues: _getSeriesWithDefaultValues.getSeriesWithDefaultValues,
|
|
28
28
|
keyboardFocusHandler: _keyboardFocusHandler.default,
|
|
29
29
|
identifierSerializer: _internals.identifierSerializerSeriesIdDataIndex,
|
|
30
|
-
identifierCleaner: _internals.identifierCleanerSeriesIdDataIndex
|
|
30
|
+
identifierCleaner: _internals.identifierCleanerSeriesIdDataIndex,
|
|
31
|
+
isHighlightedCreator: _internals.createIsHighlighted,
|
|
32
|
+
isFadedCreator: _internals.createIsFaded
|
|
31
33
|
};
|
|
32
34
|
_internals.cartesianSeriesTypes.addType('rangeBar');
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { cartesianSeriesTypes, identifierSerializerSeriesIdDataIndex, identifierCleanerSeriesIdDataIndex, createIsHighlighted, createIsFaded } from '@mui/x-charts/internals';
|
|
2
|
+
import { getExtremumX, getExtremumY } from "./extrema.mjs";
|
|
3
|
+
import tooltipGetter, { axisTooltipGetter } from "./tooltip.mjs";
|
|
4
|
+
import seriesProcessor from "./seriesProcessor.mjs";
|
|
5
|
+
import getColor from "./getColor.mjs";
|
|
6
|
+
import legendGetter from "./legend.mjs";
|
|
7
|
+
import keyboardFocusHandler from "./keyboardFocusHandler.mjs";
|
|
8
|
+
import tooltipItemPositionGetter from "./tooltipPosition.mjs";
|
|
9
|
+
import { getSeriesWithDefaultValues } from "./getSeriesWithDefaultValues.mjs";
|
|
10
|
+
export const rangeBarSeriesConfig = {
|
|
11
|
+
seriesProcessor,
|
|
12
|
+
colorProcessor: getColor,
|
|
13
|
+
legendGetter,
|
|
14
|
+
tooltipGetter,
|
|
15
|
+
tooltipItemPositionGetter,
|
|
16
|
+
axisTooltipGetter,
|
|
17
|
+
xExtremumGetter: getExtremumX,
|
|
18
|
+
yExtremumGetter: getExtremumY,
|
|
19
|
+
getSeriesWithDefaultValues,
|
|
20
|
+
keyboardFocusHandler,
|
|
21
|
+
identifierSerializer: identifierSerializerSeriesIdDataIndex,
|
|
22
|
+
identifierCleaner: identifierCleanerSeriesIdDataIndex,
|
|
23
|
+
isHighlightedCreator: createIsHighlighted,
|
|
24
|
+
isFadedCreator: createIsFaded
|
|
25
|
+
};
|
|
26
|
+
cartesianSeriesTypes.addType('rangeBar');
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _formatErrorMessage2 = _interopRequireDefault(require("@mui/x-internals/formatErrorMessage"));
|
|
9
10
|
var _warning = require("@mui/x-internals/warning");
|
|
10
11
|
const rangeBarValueFormatter = v => v == null ? '' : `[${v[0]}, ${v[1]}]`;
|
|
11
12
|
const seriesProcessor = (params, dataset, isItemVisible) => {
|
|
@@ -18,11 +19,13 @@ const seriesProcessor = (params, dataset, isItemVisible) => {
|
|
|
18
19
|
const seriesData = series[id];
|
|
19
20
|
const datasetKeys = seriesData?.datasetKeys;
|
|
20
21
|
if (seriesData.data === undefined && dataset === undefined && process.env.NODE_ENV !== 'production') {
|
|
21
|
-
throw new Error(
|
|
22
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI X Charts: range bar series with id='${id}' has no data.
|
|
23
|
+
Either provide a data property to the series or use the dataset prop.` : (0, _formatErrorMessage2.default)(44, id));
|
|
22
24
|
}
|
|
23
25
|
const missingKeys = ['start', 'end'].filter(key => typeof datasetKeys?.[key] !== 'string');
|
|
24
26
|
if (datasetKeys && missingKeys.length > 0) {
|
|
25
|
-
throw new Error(
|
|
27
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI X Charts: range bar series with id='${id}' has incomplete datasetKeys.
|
|
28
|
+
Properties ${missingKeys.map(key => `"${key}"`).join(', ')} are missing.` : (0, _formatErrorMessage2.default)(45, id, missingKeys.map(key => `"${key}"`).join(', ')));
|
|
26
29
|
}
|
|
27
30
|
completedSeries[id] = (0, _extends2.default)({
|
|
28
31
|
layout: 'vertical'
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
|
|
2
3
|
import { warnOnce } from '@mui/x-internals/warning';
|
|
3
4
|
const rangeBarValueFormatter = v => v == null ? '' : `[${v[0]}, ${v[1]}]`;
|
|
4
5
|
const seriesProcessor = (params, dataset, isItemVisible) => {
|
|
@@ -11,11 +12,13 @@ const seriesProcessor = (params, dataset, isItemVisible) => {
|
|
|
11
12
|
const seriesData = series[id];
|
|
12
13
|
const datasetKeys = seriesData?.datasetKeys;
|
|
13
14
|
if (seriesData.data === undefined && dataset === undefined && process.env.NODE_ENV !== 'production') {
|
|
14
|
-
throw new Error(
|
|
15
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI X Charts: range bar series with id='${id}' has no data.
|
|
16
|
+
Either provide a data property to the series or use the dataset prop.` : _formatErrorMessage(44, id));
|
|
15
17
|
}
|
|
16
18
|
const missingKeys = ['start', 'end'].filter(key => typeof datasetKeys?.[key] !== 'string');
|
|
17
19
|
if (datasetKeys && missingKeys.length > 0) {
|
|
18
|
-
throw new Error(
|
|
20
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI X Charts: range bar series with id='${id}' has incomplete datasetKeys.
|
|
21
|
+
Properties ${missingKeys.map(key => `"${key}"`).join(', ')} are missing.` : _formatErrorMessage(45, id, missingKeys.map(key => `"${key}"`).join(', ')));
|
|
19
22
|
}
|
|
20
23
|
completedSeries[id] = _extends({
|
|
21
24
|
layout: 'vertical'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SeriesId } from '@mui/x-charts/models';
|
|
2
2
|
import type { BarSeriesType } from '@mui/x-charts-pro/models';
|
|
3
|
-
import type { RangeBarValueType } from "../../models/index.
|
|
3
|
+
import type { RangeBarValueType } from "../../models/index.mjs";
|
|
4
4
|
export interface LayoutData {
|
|
5
5
|
x: number;
|
|
6
6
|
y: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ChartDrawingArea } from '@mui/x-charts/hooks';
|
|
2
2
|
import { type ComputedAxisConfig } from '@mui/x-charts/internals';
|
|
3
3
|
import { type ChartsXAxisProps, type ChartsYAxisProps } from '@mui/x-charts/models';
|
|
4
|
-
import { type ProcessedRangeBarSeriesData } from "./types.
|
|
4
|
+
import { type ProcessedRangeBarSeriesData } from "./types.mjs";
|
|
5
5
|
export declare function useRangeBarPlotData(drawingArea: ChartDrawingArea, xAxes: ComputedAxisConfig<ChartsXAxisProps>, yAxes: ComputedAxisConfig<ChartsYAxisProps>): ProcessedRangeBarSeriesData[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import { useXAxes, useYAxes } from '@mui/x-charts/hooks';
|
|
3
3
|
import { checkBarChartScaleErrors, useStore } from '@mui/x-charts/internals';
|
|
4
|
-
import { useRangeBarSeriesContext } from "../../hooks/useRangeBarSeries.
|
|
5
|
-
import { createGetRangeBarDimensions } from "./createGetRangeBarDimensions.
|
|
4
|
+
import { useRangeBarSeriesContext } from "../../hooks/useRangeBarSeries.mjs";
|
|
5
|
+
import { createGetRangeBarDimensions } from "./createGetRangeBarDimensions.mjs";
|
|
6
6
|
export function useRangeBarPlotData(drawingArea, xAxes, yAxes) {
|
|
7
7
|
const store = useStore();
|
|
8
8
|
const seriesData = useRangeBarSeriesContext() ?? {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from "./BarChartPremium.mjs";
|
|
2
|
+
export * from "./BarChartPremium.plugins.mjs";
|
|
3
|
+
export * from "./RangeBar/RangeBarPlot.mjs";
|
|
4
|
+
export * from "./RangeBar/FocusedRangeBar.mjs";
|
|
5
|
+
export { rangeBarClasses, type RangeBarClasses, type RangeBarClassKey } from "./RangeBar/useUtilityClasses.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type BarChartPluginSignatures } from '@mui/x-charts/BarChart';
|
|
2
|
-
import { type
|
|
3
|
-
import { type BarChartPremiumProps } from "./BarChartPremium.
|
|
4
|
-
import { type RangeBarPlotProps } from "./RangeBar/RangeBarPlot.
|
|
2
|
+
import { type ChartsContainerProps } from '@mui/x-charts/ChartsContainer';
|
|
3
|
+
import { type BarChartPremiumProps } from "./BarChartPremium.mjs";
|
|
4
|
+
import { type RangeBarPlotProps } from "./RangeBar/RangeBarPlot.mjs";
|
|
5
5
|
/**
|
|
6
6
|
* A helper function that extracts BarChartPremiumProps from the input props
|
|
7
7
|
* and returns an object with props for the children components of BarChartPremium.
|
|
@@ -10,7 +10,7 @@ import { type RangeBarPlotProps } from "./RangeBar/RangeBarPlot.js";
|
|
|
10
10
|
* @returns An object with props for the children components of BarChartPremium
|
|
11
11
|
*/
|
|
12
12
|
export declare function useBarChartPremiumProps(props: BarChartPremiumProps): {
|
|
13
|
-
chartContainerProps:
|
|
13
|
+
chartContainerProps: ChartsContainerProps<"bar" | "rangeBar", BarChartPluginSignatures>;
|
|
14
14
|
rangeBarPlotProps: RangeBarPlotProps;
|
|
15
15
|
chartsWrapperProps: Omit<import("@mui/x-charts").ChartsWrapperProps, "children">;
|
|
16
16
|
barPlotProps: import("@mui/x-charts").BarPlotProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BarChartPluginSignatures } from '@mui/x-charts/BarChart';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ChartsContainerProps } from '@mui/x-charts/ChartsContainer';
|
|
3
3
|
import { type BarChartPremiumProps } from "./BarChartPremium.js";
|
|
4
4
|
import { type RangeBarPlotProps } from "./RangeBar/RangeBarPlot.js";
|
|
5
5
|
/**
|
|
@@ -10,7 +10,7 @@ import { type RangeBarPlotProps } from "./RangeBar/RangeBarPlot.js";
|
|
|
10
10
|
* @returns An object with props for the children components of BarChartPremium
|
|
11
11
|
*/
|
|
12
12
|
export declare function useBarChartPremiumProps(props: BarChartPremiumProps): {
|
|
13
|
-
chartContainerProps:
|
|
13
|
+
chartContainerProps: ChartsContainerProps<"bar" | "rangeBar", BarChartPluginSignatures>;
|
|
14
14
|
rangeBarPlotProps: RangeBarPlotProps;
|
|
15
15
|
chartsWrapperProps: Omit<import("@mui/x-charts").ChartsWrapperProps, "children">;
|
|
16
16
|
barPlotProps: import("@mui/x-charts").BarPlotProps;
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,123 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0-alpha.2
|
|
4
|
+
|
|
5
|
+
_Mar 5, 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
|
+
- ✅ Stabilize Sankey chart
|
|
10
|
+
- 🐞 Bugfixes and internal improvements
|
|
11
|
+
|
|
12
|
+
The following team members contributed to this release:
|
|
13
|
+
@aemartos, @alelthomas, @alexfauquette, @arminmeh, @bernardobelchior, @brijeshb42, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @mj12albert, @sai6855, @siriwatknp
|
|
14
|
+
|
|
15
|
+
### Data Grid
|
|
16
|
+
|
|
17
|
+
#### `@mui/x-data-grid@9.0.0-alpha.2`
|
|
18
|
+
|
|
19
|
+
- [dataGrid] Fix keyboard nav with single-row checkbox selection (#21149) @mj12albert
|
|
20
|
+
- [DataGrid] Add `checkboxColDef` prop to customize the selection column (#21331) @michelengelen
|
|
21
|
+
- [DataGrid] Format pagination numbers by default (#21117) @siriwatknp
|
|
22
|
+
- [DataGrid] Prevent unnecessary row selection checkbox rerendering (#21570) @arminmeh
|
|
23
|
+
- [DataGrid] Make GridScrollArea overrides resolver dynamic (#21532) @sai6855
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
26
|
+
|
|
27
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.2`, plus:
|
|
28
|
+
|
|
29
|
+
- [DataGridPro] Use `getRowId` prop to calculate the tree data row update (#21540) @arminmeh
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
32
|
+
|
|
33
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.2`.
|
|
34
|
+
|
|
35
|
+
### Date and Time Pickers
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.2`
|
|
38
|
+
|
|
39
|
+
- [pickers] Add `keepOpenDuringFieldFocus` prop (#20782) @michelengelen
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
42
|
+
|
|
43
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.2`.
|
|
44
|
+
|
|
45
|
+
### Charts
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-charts@9.0.0-alpha.2`
|
|
48
|
+
|
|
49
|
+
- [charts] Add `ChartsLayerContainer` component (#21264) @bernardobelchior
|
|
50
|
+
- [charts] Add codemod for `ChartsContainer` rename (#21504) @JCQuintas
|
|
51
|
+
- [charts] Add codemod for `ChartsDataProvider` rename (#21552) @JCQuintas
|
|
52
|
+
- [charts] Add codemod for `ChartsZoomSlider` rename (#21597) @JCQuintas
|
|
53
|
+
- [charts] Base the highlight items on the item identifiers (#21161) @alexfauquette
|
|
54
|
+
- [charts] Deprecate `ChartDataProvider` in favour of `ChartsDataProvider` (#21191) @JCQuintas
|
|
55
|
+
- [charts] Deprecate `highlighted` and `faded` classes (#21476) @alexfauquette
|
|
56
|
+
- [charts] Migrate to latest v8 warning (#21518) @JCQuintas
|
|
57
|
+
- [charts] Rename `ChartZoomSlider` to `ChartsZoomSlider` (#21553) @JCQuintas
|
|
58
|
+
- [charts] Rename `WebGl` to `WebGL` (#21524) @JCQuintas
|
|
59
|
+
- [charts] Rename `useSvgRef()` by `useChartsLayerContainerRef()` (#21494) @alexfauquette
|
|
60
|
+
- [charts] Restore focus on last focused item (#21522) @alexfauquette
|
|
61
|
+
- [charts] Warn users when controlled tooltip state does not match the trigger (#21520) @Copilot
|
|
62
|
+
- [charts] Fix controlled tooltip position (#21603) @bernardobelchior
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.2`, plus:
|
|
67
|
+
|
|
68
|
+
- [charts-pro] Center the watermark (#21550) @alexfauquette
|
|
69
|
+
- [charts-pro] Stabilize `SankeyChart` API (#21133) @Copilot
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.2`.
|
|
74
|
+
|
|
75
|
+
### Tree View
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-tree-view@9.0.0-alpha.2`
|
|
78
|
+
|
|
79
|
+
Internal changes.
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
82
|
+
|
|
83
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.2`.
|
|
84
|
+
|
|
85
|
+
### Codemod
|
|
86
|
+
|
|
87
|
+
#### `@mui/x-codemod@9.0.0-alpha.2`
|
|
88
|
+
|
|
89
|
+
Internal changes.
|
|
90
|
+
|
|
91
|
+
### Docs
|
|
92
|
+
|
|
93
|
+
- [docs] Add backticks and parentheses to all functions and hooks (DX-173) (#21496) @mapache-salvaje
|
|
94
|
+
- [docs] Remove mentions of `mySvgRef` (#21559) @bernardobelchior
|
|
95
|
+
- [docs] Update Roadmap section in the docs (#20892) @alelthomas
|
|
96
|
+
- [docs] Add tutorial and example app for aggregation with row grouping (DX-162) (#21102) @mapache-salvaje
|
|
97
|
+
- [docs] Fix missing codemod docs (#21604) @JCQuintas
|
|
98
|
+
|
|
99
|
+
### Core
|
|
100
|
+
|
|
101
|
+
- [code-infra] Add eslint rule to prevent `Math.random` in docs (#21505) @JCQuintas
|
|
102
|
+
- [code-infra] Avoid static props for pageContent (#21038) @Janpot
|
|
103
|
+
- [code-infra] Isolate `date-pickers-pro` in the browser tests (#21383) @Janpot
|
|
104
|
+
- [code-infra] Remove `--coverage` (#21410) @Janpot
|
|
105
|
+
- [code-infra] Remove unneeded `skipIf`s (#21569) @JCQuintas
|
|
106
|
+
- [code-infra] Remove vale as a workspace dependency (#21489) @brijeshb42
|
|
107
|
+
- [code-infra] Remove x-charts-vendor from nextjs processing (#21534) @brijeshb42
|
|
108
|
+
- [code-infra] Set BASE_BRANCH env var in CircleCI config (#21548) @brijeshb42
|
|
109
|
+
- [code-infra] Setup error code extraction (#21469) @brijeshb42
|
|
110
|
+
- [code-infra] Setup flat build for packages (#21029) @brijeshb42
|
|
111
|
+
- [code-infra] Upgrade test_unit to large resource class (#21558) @Janpot
|
|
112
|
+
- [code-infra] Removed getTeamMembers function and usage from release script (#21605) @michelengelen
|
|
113
|
+
|
|
114
|
+
### Miscellaneous
|
|
115
|
+
|
|
116
|
+
- [x-license] Add Q1-2026 plan version with quantity and appType support (#21574) @aemartos
|
|
117
|
+
- [x-license] Add v3 key format support, centralize test keys, and trim public API (#21485) @aemartos
|
|
118
|
+
- [x-telemetry] telemetry opt-out by default, remove conf dependency (#21470) @aemartos
|
|
119
|
+
- [x-telemetry] test: mock context module directly in sender tests (#21546) @aemartos
|
|
120
|
+
|
|
3
121
|
## 9.0.0-alpha.1
|
|
4
122
|
|
|
5
123
|
_Feb 26, 2026_
|