@mui/x-charts-pro 9.0.0-alpha.3 → 9.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChartPro/BarChartPro.d.mts +2 -2
- package/BarChartPro/BarChartPro.d.ts +2 -2
- package/BarChartPro/BarChartPro.js +57 -36
- package/BarChartPro/BarChartPro.mjs +57 -36
- package/CHANGELOG.md +229 -0
- package/ChartsContainerPro/ChartsContainerPro.js +2 -2
- package/ChartsContainerPro/ChartsContainerPro.mjs +2 -2
- package/ChartsContainerPro/useChartsContainerProProps.d.mts +2 -2
- package/ChartsContainerPro/useChartsContainerProProps.d.ts +2 -2
- package/ChartsContainerPro/useChartsContainerProProps.js +3 -3
- package/ChartsContainerPro/useChartsContainerProProps.mjs +3 -3
- package/ChartsDataProviderPro/ChartsDataProviderPro.js +2 -8
- package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +2 -8
- package/ChartsToolbarPro/ChartsToolbarPro.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarPro.mjs +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.mjs +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.mjs +2 -2
- package/ChartsToolbarPro/index.d.mts +2 -1
- package/ChartsToolbarPro/index.d.ts +2 -1
- package/ChartsToolbarPro/index.mjs +2 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderActiveTrack.js +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderActiveTrack.mjs +2 -2
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderTrack.js +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderTrack.mjs +2 -2
- package/FunnelChart/FunnelChart.d.mts +2 -2
- package/FunnelChart/FunnelChart.d.ts +2 -2
- package/FunnelChart/FunnelChart.js +26 -14
- package/FunnelChart/FunnelChart.mjs +26 -14
- package/FunnelChart/FunnelPlot.d.mts +4 -0
- package/FunnelChart/FunnelPlot.d.ts +4 -0
- package/FunnelChart/FunnelPlot.js +11 -4
- package/FunnelChart/FunnelPlot.mjs +11 -4
- package/FunnelChart/FunnelSection.d.mts +3 -3
- package/FunnelChart/FunnelSection.d.ts +3 -3
- package/FunnelChart/FunnelSection.js +5 -5
- package/FunnelChart/FunnelSection.mjs +4 -4
- package/FunnelChart/FunnelSectionLabel.d.mts +9 -3
- package/FunnelChart/FunnelSectionLabel.d.ts +9 -3
- package/FunnelChart/FunnelSectionLabel.js +15 -6
- package/FunnelChart/FunnelSectionLabel.mjs +15 -6
- package/FunnelChart/categoryAxis.types.d.mts +2 -1
- package/FunnelChart/categoryAxis.types.d.ts +2 -1
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.mts +2 -1
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +2 -1
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.js +14 -5
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.mjs +15 -6
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.js +6 -4
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.mjs +7 -5
- package/FunnelChart/funnelClasses.d.mts +29 -0
- package/FunnelChart/funnelClasses.d.ts +29 -0
- package/FunnelChart/funnelClasses.js +29 -0
- package/FunnelChart/funnelClasses.mjs +19 -0
- package/FunnelChart/index.d.mts +2 -2
- package/FunnelChart/index.d.ts +2 -2
- package/FunnelChart/index.js +4 -4
- package/FunnelChart/index.mjs +1 -1
- package/FunnelChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/FunnelChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/FunnelChart/seriesConfig/descriptionGetter.js +26 -0
- package/FunnelChart/seriesConfig/descriptionGetter.mjs +20 -0
- package/FunnelChart/seriesConfig/index.js +2 -0
- package/FunnelChart/seriesConfig/index.mjs +2 -0
- package/FunnelChart/seriesConfig/legend.js +0 -2
- package/FunnelChart/seriesConfig/legend.mjs +0 -2
- package/FunnelChart/useFunnelChartProps.d.mts +2 -2
- package/FunnelChart/useFunnelChartProps.d.ts +2 -2
- package/FunnelChart/useFunnelChartProps.js +2 -2
- package/FunnelChart/useFunnelChartProps.mjs +2 -2
- package/Heatmap/Heatmap.d.mts +2 -11
- package/Heatmap/Heatmap.d.ts +2 -11
- package/Heatmap/Heatmap.js +22 -17
- package/Heatmap/Heatmap.mjs +22 -17
- package/Heatmap/Heatmap.types.d.mts +4 -0
- package/Heatmap/Heatmap.types.d.ts +4 -0
- package/Heatmap/HeatmapCell.d.mts +33 -0
- package/Heatmap/HeatmapCell.d.ts +33 -0
- package/Heatmap/HeatmapCell.js +62 -0
- package/Heatmap/HeatmapCell.mjs +55 -0
- package/Heatmap/HeatmapItem.d.mts +1 -9
- package/Heatmap/HeatmapItem.d.ts +1 -9
- package/Heatmap/HeatmapItem.js +7 -38
- package/Heatmap/HeatmapItem.mjs +7 -38
- package/Heatmap/HeatmapPlot.js +4 -0
- package/Heatmap/HeatmapPlot.mjs +4 -0
- package/Heatmap/HeatmapSVGPlot.js +41 -41
- package/Heatmap/HeatmapSVGPlot.mjs +42 -43
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.js +2 -2
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.mjs +1 -1
- package/Heatmap/heatmapClasses.d.mts +6 -1
- package/Heatmap/heatmapClasses.d.ts +6 -1
- package/Heatmap/heatmapClasses.js +18 -3
- package/Heatmap/heatmapClasses.mjs +16 -2
- package/Heatmap/index.d.mts +4 -2
- package/Heatmap/index.d.ts +4 -2
- package/Heatmap/index.js +17 -13
- package/Heatmap/index.mjs +2 -1
- package/Heatmap/seriesConfig/descriptionGetter.d.mts +3 -0
- package/Heatmap/seriesConfig/descriptionGetter.d.ts +3 -0
- package/Heatmap/seriesConfig/descriptionGetter.js +39 -0
- package/Heatmap/seriesConfig/descriptionGetter.mjs +33 -0
- package/Heatmap/seriesConfig/index.js +2 -0
- package/Heatmap/seriesConfig/index.mjs +2 -0
- package/Heatmap/useHeatmapProps.d.mts +2 -2
- package/Heatmap/useHeatmapProps.d.ts +2 -2
- package/Heatmap/useHeatmapProps.js +2 -4
- package/Heatmap/useHeatmapProps.mjs +2 -4
- package/LineChartPro/LineChartPro.d.mts +2 -2
- package/LineChartPro/LineChartPro.d.ts +2 -2
- package/LineChartPro/LineChartPro.js +53 -27
- package/LineChartPro/LineChartPro.mjs +53 -27
- package/PieChartPro/PieChartPro.d.mts +2 -2
- package/PieChartPro/PieChartPro.d.ts +2 -2
- package/PieChartPro/PieChartPro.js +17 -5
- package/PieChartPro/PieChartPro.mjs +17 -5
- package/RadarChartPro/RadarChartPro.d.mts +1 -1
- package/RadarChartPro/RadarChartPro.d.ts +1 -1
- package/RadarChartPro/RadarChartPro.js +15 -0
- package/RadarChartPro/RadarChartPro.mjs +15 -0
- package/SankeyChart/SankeyChart.d.mts +2 -2
- package/SankeyChart/SankeyChart.d.ts +2 -2
- package/SankeyChart/SankeyChart.js +16 -10
- package/SankeyChart/SankeyChart.mjs +16 -10
- package/SankeyChart/SankeyDataProvider.d.mts +2 -2
- package/SankeyChart/SankeyDataProvider.d.ts +2 -2
- package/SankeyChart/SankeyDataProvider.js +2 -2
- package/SankeyChart/SankeyDataProvider.mjs +2 -2
- package/SankeyChart/SankeyLinkElement.js +3 -0
- package/SankeyChart/SankeyLinkElement.mjs +3 -0
- package/SankeyChart/SankeyLinkLabel.js +3 -0
- package/SankeyChart/SankeyLinkLabel.mjs +3 -0
- package/SankeyChart/SankeyLinkLabelPlot.d.mts +2 -2
- package/SankeyChart/SankeyLinkLabelPlot.d.ts +2 -2
- package/SankeyChart/SankeyLinkLabelPlot.js +1 -1
- package/SankeyChart/SankeyLinkLabelPlot.mjs +1 -1
- package/SankeyChart/SankeyLinkPlot.d.mts +2 -2
- package/SankeyChart/SankeyLinkPlot.d.ts +2 -2
- package/SankeyChart/SankeyLinkPlot.js +1 -1
- package/SankeyChart/SankeyLinkPlot.mjs +1 -1
- package/SankeyChart/SankeyNodeElement.d.mts +1 -1
- package/SankeyChart/SankeyNodeElement.d.ts +1 -1
- package/SankeyChart/SankeyNodeElement.js +16 -15
- package/SankeyChart/SankeyNodeElement.mjs +16 -15
- package/SankeyChart/SankeyNodeLabel.js +3 -0
- package/SankeyChart/SankeyNodeLabel.mjs +3 -0
- package/SankeyChart/SankeyNodeLabelPlot.d.mts +2 -2
- package/SankeyChart/SankeyNodeLabelPlot.d.ts +2 -2
- package/SankeyChart/SankeyNodeLabelPlot.js +1 -1
- package/SankeyChart/SankeyNodeLabelPlot.mjs +1 -1
- package/SankeyChart/SankeyNodePlot.d.mts +2 -2
- package/SankeyChart/SankeyNodePlot.d.ts +2 -2
- package/SankeyChart/SankeyNodePlot.js +1 -1
- package/SankeyChart/SankeyNodePlot.mjs +1 -1
- package/SankeyChart/SankeyPlot.d.mts +6 -2
- package/SankeyChart/SankeyPlot.d.ts +6 -2
- package/SankeyChart/SankeyPlot.js +6 -4
- package/SankeyChart/SankeyPlot.mjs +6 -4
- package/SankeyChart/SankeyTooltip/SankeyTooltip.classes.js +2 -2
- package/SankeyChart/SankeyTooltip/SankeyTooltip.classes.mjs +1 -1
- package/SankeyChart/index.d.mts +2 -1
- package/SankeyChart/index.d.ts +2 -1
- package/SankeyChart/index.js +3 -3
- package/SankeyChart/index.mjs +1 -1
- package/SankeyChart/sankeyClasses.d.mts +15 -6
- package/SankeyChart/sankeyClasses.d.ts +15 -6
- package/SankeyChart/sankeyClasses.js +12 -8
- package/SankeyChart/sankeyClasses.mjs +10 -6
- package/SankeyChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/SankeyChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/SankeyChart/seriesConfig/descriptionGetter.js +48 -0
- package/SankeyChart/seriesConfig/descriptionGetter.mjs +42 -0
- package/SankeyChart/seriesConfig/index.js +2 -0
- package/SankeyChart/seriesConfig/index.mjs +2 -0
- package/SankeyChart/useSankeyChartProps.d.mts +2 -2
- package/SankeyChart/useSankeyChartProps.d.ts +2 -2
- package/SankeyChart/useSankeyChartProps.js +2 -2
- package/SankeyChart/useSankeyChartProps.mjs +2 -2
- package/ScatterChartPro/ScatterChartPro.d.mts +2 -2
- package/ScatterChartPro/ScatterChartPro.d.ts +2 -2
- package/ScatterChartPro/ScatterChartPro.js +75 -33
- package/ScatterChartPro/ScatterChartPro.mjs +75 -33
- package/context/useChartProApiContext.d.mts +1 -1
- package/context/useChartProApiContext.d.ts +1 -1
- package/context/useChartProApiContext.js +1 -1
- package/context/useChartProApiContext.mjs +1 -1
- package/index.d.mts +0 -4
- package/index.d.ts +0 -4
- package/index.js +2 -34
- package/index.mjs +1 -4
- package/internals/index.d.mts +0 -1
- package/internals/index.d.ts +0 -1
- package/internals/index.js +0 -8
- package/internals/index.mjs +0 -1
- package/internals/plugins/useChartProExport/common.js +4 -8
- package/internals/plugins/useChartProExport/common.mjs +4 -8
- package/internals/plugins/useChartProZoom/ZoomInteractionConfig.types.d.mts +1 -1
- package/internals/plugins/useChartProZoom/ZoomInteractionConfig.types.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.js +16 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.mjs +16 -1
- package/package.json +109 -165
- package/themeAugmentation/components.d.mts +19 -1
- package/themeAugmentation/components.d.ts +19 -1
- package/themeAugmentation/overrides.d.mts +5 -2
- package/themeAugmentation/overrides.d.ts +5 -2
- package/themeAugmentation/props.d.mts +8 -0
- package/themeAugmentation/props.d.ts +8 -0
- package/typeOverloads/modules.d.mts +17 -1
- package/typeOverloads/modules.d.ts +17 -1
- package/ChartContainer/index.d.mts +0 -1
- package/ChartContainer/index.d.ts +0 -1
- package/ChartContainer/index.js +0 -16
- package/ChartContainer/index.mjs +0 -2
- package/ChartContainerPro/ChartContainerPro.d.mts +0 -21
- package/ChartContainerPro/ChartContainerPro.d.ts +0 -21
- package/ChartContainerPro/ChartContainerPro.js +0 -24
- package/ChartContainerPro/ChartContainerPro.mjs +0 -20
- package/ChartContainerPro/index.d.mts +0 -9
- package/ChartContainerPro/index.d.ts +0 -9
- package/ChartContainerPro/index.js +0 -17
- package/ChartContainerPro/index.mjs +0 -6
- package/ChartContainerPro/useChartContainerProProps.d.mts +0 -12
- package/ChartContainerPro/useChartContainerProProps.d.ts +0 -12
- package/ChartContainerPro/useChartContainerProProps.js +0 -19
- package/ChartContainerPro/useChartContainerProProps.mjs +0 -14
- package/ChartDataProvider/index.d.mts +0 -1
- package/ChartDataProvider/index.d.ts +0 -1
- package/ChartDataProvider/index.js +0 -16
- package/ChartDataProvider/index.mjs +0 -2
- package/ChartDataProviderPro/ChartDataProviderPro.d.mts +0 -20
- package/ChartDataProviderPro/ChartDataProviderPro.d.ts +0 -20
- package/ChartDataProviderPro/ChartDataProviderPro.js +0 -30
- package/ChartDataProviderPro/ChartDataProviderPro.mjs +0 -21
- package/ChartDataProviderPro/index.d.mts +0 -2
- package/ChartDataProviderPro/index.d.ts +0 -2
- package/ChartDataProviderPro/index.js +0 -13
- package/ChartDataProviderPro/index.mjs +0 -2
- package/ChartDataProviderPro/useChartDataProviderProProps.d.mts +0 -10
- package/ChartDataProviderPro/useChartDataProviderProProps.d.ts +0 -10
- package/ChartDataProviderPro/useChartDataProviderProProps.js +0 -12
- package/ChartDataProviderPro/useChartDataProviderProProps.mjs +0 -8
- package/FunnelChart/funnelSectionClasses.d.mts +0 -30
- package/FunnelChart/funnelSectionClasses.d.ts +0 -30
- package/FunnelChart/funnelSectionClasses.js +0 -44
- package/FunnelChart/funnelSectionClasses.mjs +0 -35
- package/Heatmap/internals/HeatmapCell.d.mts +0 -21
- package/Heatmap/internals/HeatmapCell.d.ts +0 -21
- package/Heatmap/internals/HeatmapCell.js +0 -18
- package/Heatmap/internals/HeatmapCell.mjs +0 -12
- package/Heatmap/shouldRegisterPointerInteractionsGlobally.d.mts +0 -2
- package/Heatmap/shouldRegisterPointerInteractionsGlobally.d.ts +0 -2
- package/Heatmap/shouldRegisterPointerInteractionsGlobally.js +0 -18
- package/Heatmap/shouldRegisterPointerInteractionsGlobally.mjs +0 -13
- package/tests/constants.js +0 -7
- package/tests/constants.mjs +0 -1
|
@@ -20,8 +20,8 @@ import { ChartsWrapper } from '@mui/x-charts/ChartsWrapper';
|
|
|
20
20
|
import { ChartsBrushOverlay } from '@mui/x-charts/ChartsBrushOverlay';
|
|
21
21
|
import { ChartsZoomSlider } from "../ChartsZoomSlider/index.mjs";
|
|
22
22
|
import { ChartsToolbarPro } from "../ChartsToolbarPro/index.mjs";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
23
|
+
import { useChartsContainerProProps } from "../ChartsContainerPro/useChartsContainerProProps.mjs";
|
|
24
|
+
import { ChartsDataProviderPro } from "../ChartsDataProviderPro/index.mjs";
|
|
25
25
|
import { BAR_CHART_PRO_PLUGINS } from "./BarChartPro.plugins.mjs";
|
|
26
26
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
27
27
|
/**
|
|
@@ -50,7 +50,7 @@ const BarChartPro = /*#__PURE__*/React.forwardRef(function BarChartPro(inProps,
|
|
|
50
50
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
51
51
|
const {
|
|
52
52
|
chartsWrapperProps,
|
|
53
|
-
|
|
53
|
+
chartsContainerProps,
|
|
54
54
|
barPlotProps,
|
|
55
55
|
gridProps,
|
|
56
56
|
clipPathProps,
|
|
@@ -62,9 +62,9 @@ const BarChartPro = /*#__PURE__*/React.forwardRef(function BarChartPro(inProps,
|
|
|
62
62
|
children
|
|
63
63
|
} = useBarChartProps(other);
|
|
64
64
|
const {
|
|
65
|
-
|
|
65
|
+
chartsDataProviderProProps,
|
|
66
66
|
chartsSurfaceProps
|
|
67
|
-
} =
|
|
67
|
+
} = useChartsContainerProProps(_extends({}, chartsContainerProps, {
|
|
68
68
|
initialZoom,
|
|
69
69
|
zoomData,
|
|
70
70
|
onZoomChange,
|
|
@@ -73,7 +73,7 @@ const BarChartPro = /*#__PURE__*/React.forwardRef(function BarChartPro(inProps,
|
|
|
73
73
|
}));
|
|
74
74
|
const Tooltip = props.slots?.tooltip ?? ChartsTooltip;
|
|
75
75
|
const Toolbar = props.slots?.toolbar ?? ChartsToolbarPro;
|
|
76
|
-
return /*#__PURE__*/_jsx(
|
|
76
|
+
return /*#__PURE__*/_jsx(ChartsDataProviderPro, _extends({}, chartsDataProviderProProps, {
|
|
77
77
|
children: /*#__PURE__*/_jsxs(ChartsWrapper, _extends({}, chartsWrapperProps, {
|
|
78
78
|
ref: ref,
|
|
79
79
|
children: [showToolbar ? /*#__PURE__*/_jsx(Toolbar, _extends({}, props.slotProps?.toolbar)) : null, !props.hideLegend && /*#__PURE__*/_jsx(ChartsLegend, _extends({}, legendProps)), /*#__PURE__*/_jsxs(ChartsSurface, _extends({}, chartsSurfaceProps, {
|
|
@@ -113,15 +113,6 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
113
113
|
x: PropTypes.oneOf(['band', 'line', 'none']),
|
|
114
114
|
y: PropTypes.oneOf(['band', 'line', 'none'])
|
|
115
115
|
}),
|
|
116
|
-
/**
|
|
117
|
-
* @deprecated Use `barLabel` in the chart series instead.
|
|
118
|
-
* If provided, the function will be used to format the label of the bar.
|
|
119
|
-
* It can be set to 'value' to display the current value.
|
|
120
|
-
* @param {BarItem} item The item to format.
|
|
121
|
-
* @param {BarLabelContext} context data about the bar.
|
|
122
|
-
* @returns {string} The formatted label.
|
|
123
|
-
*/
|
|
124
|
-
barLabel: PropTypes.oneOfType([PropTypes.oneOf(['value']), PropTypes.func]),
|
|
125
116
|
/**
|
|
126
117
|
* Defines the border radius of the bar element.
|
|
127
118
|
*/
|
|
@@ -145,6 +136,10 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
145
136
|
* An array of objects that can be used to populate series and axes data using their `dataKey` property.
|
|
146
137
|
*/
|
|
147
138
|
dataset: PropTypes.arrayOf(PropTypes.object),
|
|
139
|
+
/**
|
|
140
|
+
* The description of the chart.
|
|
141
|
+
* Used to provide an accessible description for the chart.
|
|
142
|
+
*/
|
|
148
143
|
desc: PropTypes.string,
|
|
149
144
|
/**
|
|
150
145
|
* If `true`, the charts will not listen to the mouse move event.
|
|
@@ -156,6 +151,10 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
156
151
|
* If `true`, disables keyboard navigation for the chart.
|
|
157
152
|
*/
|
|
158
153
|
disableKeyboardNavigation: PropTypes.bool,
|
|
154
|
+
/**
|
|
155
|
+
* Options to enable features planned for the next major.
|
|
156
|
+
*/
|
|
157
|
+
experimentalFeatures: PropTypes.object,
|
|
159
158
|
/**
|
|
160
159
|
* Option to display a cartesian grid in the background.
|
|
161
160
|
*/
|
|
@@ -318,7 +317,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
318
317
|
onHighlightedAxisChange: PropTypes.func,
|
|
319
318
|
/**
|
|
320
319
|
* Callback fired when a bar item is clicked.
|
|
321
|
-
* @param {
|
|
320
|
+
* @param {MouseEvent} event The event source of the callback.
|
|
322
321
|
* @param {BarItemIdentifier} barItemIdentifier The bar item identifier.
|
|
323
322
|
*/
|
|
324
323
|
onItemClick: PropTypes.func,
|
|
@@ -378,6 +377,10 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
378
377
|
slots: PropTypes.object,
|
|
379
378
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
380
379
|
theme: PropTypes.oneOf(['dark', 'light']),
|
|
380
|
+
/**
|
|
381
|
+
* The title of the chart.
|
|
382
|
+
* Used to provide an accessible label for the chart.
|
|
383
|
+
*/
|
|
381
384
|
title: PropTypes.string,
|
|
382
385
|
/**
|
|
383
386
|
* The controlled axis tooltip.
|
|
@@ -413,6 +416,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
413
416
|
barGapRatio: PropTypes.number,
|
|
414
417
|
categoryGapRatio: PropTypes.number,
|
|
415
418
|
classes: PropTypes.object,
|
|
419
|
+
className: PropTypes.string,
|
|
416
420
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
417
421
|
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
418
422
|
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
@@ -438,7 +442,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
438
442
|
tickLabelStyle: PropTypes.object,
|
|
439
443
|
tickSize: PropTypes.number
|
|
440
444
|
})),
|
|
441
|
-
height: PropTypes.number,
|
|
445
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
442
446
|
hideTooltip: PropTypes.bool,
|
|
443
447
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
444
448
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -486,6 +490,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
486
490
|
}), PropTypes.shape({
|
|
487
491
|
axis: PropTypes.oneOf(['x']),
|
|
488
492
|
classes: PropTypes.object,
|
|
493
|
+
className: PropTypes.string,
|
|
489
494
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
490
495
|
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
491
496
|
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
@@ -511,7 +516,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
511
516
|
tickLabelStyle: PropTypes.object,
|
|
512
517
|
tickSize: PropTypes.number
|
|
513
518
|
})),
|
|
514
|
-
height: PropTypes.number,
|
|
519
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
515
520
|
hideTooltip: PropTypes.bool,
|
|
516
521
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
517
522
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -559,6 +564,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
559
564
|
}), PropTypes.shape({
|
|
560
565
|
axis: PropTypes.oneOf(['x']),
|
|
561
566
|
classes: PropTypes.object,
|
|
567
|
+
className: PropTypes.string,
|
|
562
568
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
563
569
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
564
570
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -574,7 +580,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
574
580
|
disableLine: PropTypes.bool,
|
|
575
581
|
disableTicks: PropTypes.bool,
|
|
576
582
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
577
|
-
height: PropTypes.number,
|
|
583
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
578
584
|
hideTooltip: PropTypes.bool,
|
|
579
585
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
580
586
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -619,6 +625,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
619
625
|
}), PropTypes.shape({
|
|
620
626
|
axis: PropTypes.oneOf(['x']),
|
|
621
627
|
classes: PropTypes.object,
|
|
628
|
+
className: PropTypes.string,
|
|
622
629
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
623
630
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
624
631
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -635,7 +642,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
635
642
|
disableLine: PropTypes.bool,
|
|
636
643
|
disableTicks: PropTypes.bool,
|
|
637
644
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
638
|
-
height: PropTypes.number,
|
|
645
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
639
646
|
hideTooltip: PropTypes.bool,
|
|
640
647
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
641
648
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -680,6 +687,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
680
687
|
}), PropTypes.shape({
|
|
681
688
|
axis: PropTypes.oneOf(['x']),
|
|
682
689
|
classes: PropTypes.object,
|
|
690
|
+
className: PropTypes.string,
|
|
683
691
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
684
692
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
685
693
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -695,7 +703,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
695
703
|
disableLine: PropTypes.bool,
|
|
696
704
|
disableTicks: PropTypes.bool,
|
|
697
705
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
698
|
-
height: PropTypes.number,
|
|
706
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
699
707
|
hideTooltip: PropTypes.bool,
|
|
700
708
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
701
709
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -740,6 +748,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
740
748
|
}), PropTypes.shape({
|
|
741
749
|
axis: PropTypes.oneOf(['x']),
|
|
742
750
|
classes: PropTypes.object,
|
|
751
|
+
className: PropTypes.string,
|
|
743
752
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
744
753
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
745
754
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -755,7 +764,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
755
764
|
disableLine: PropTypes.bool,
|
|
756
765
|
disableTicks: PropTypes.bool,
|
|
757
766
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
758
|
-
height: PropTypes.number,
|
|
767
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
759
768
|
hideTooltip: PropTypes.bool,
|
|
760
769
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
761
770
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -800,6 +809,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
800
809
|
}), PropTypes.shape({
|
|
801
810
|
axis: PropTypes.oneOf(['x']),
|
|
802
811
|
classes: PropTypes.object,
|
|
812
|
+
className: PropTypes.string,
|
|
803
813
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
804
814
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
805
815
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -815,7 +825,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
815
825
|
disableLine: PropTypes.bool,
|
|
816
826
|
disableTicks: PropTypes.bool,
|
|
817
827
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
818
|
-
height: PropTypes.number,
|
|
828
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
819
829
|
hideTooltip: PropTypes.bool,
|
|
820
830
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
821
831
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -864,6 +874,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
864
874
|
}), PropTypes.shape({
|
|
865
875
|
axis: PropTypes.oneOf(['x']),
|
|
866
876
|
classes: PropTypes.object,
|
|
877
|
+
className: PropTypes.string,
|
|
867
878
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
868
879
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
869
880
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -879,7 +890,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
879
890
|
disableLine: PropTypes.bool,
|
|
880
891
|
disableTicks: PropTypes.bool,
|
|
881
892
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
882
|
-
height: PropTypes.number,
|
|
893
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
883
894
|
hideTooltip: PropTypes.bool,
|
|
884
895
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
885
896
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -928,6 +939,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
928
939
|
}), PropTypes.shape({
|
|
929
940
|
axis: PropTypes.oneOf(['x']),
|
|
930
941
|
classes: PropTypes.object,
|
|
942
|
+
className: PropTypes.string,
|
|
931
943
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
932
944
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
933
945
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -943,7 +955,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
943
955
|
disableLine: PropTypes.bool,
|
|
944
956
|
disableTicks: PropTypes.bool,
|
|
945
957
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
946
|
-
height: PropTypes.number,
|
|
958
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
947
959
|
hideTooltip: PropTypes.bool,
|
|
948
960
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
949
961
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -996,6 +1008,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
996
1008
|
barGapRatio: PropTypes.number,
|
|
997
1009
|
categoryGapRatio: PropTypes.number,
|
|
998
1010
|
classes: PropTypes.object,
|
|
1011
|
+
className: PropTypes.string,
|
|
999
1012
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
1000
1013
|
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
1001
1014
|
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
@@ -1049,7 +1062,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1049
1062
|
tickSize: PropTypes.number,
|
|
1050
1063
|
tickSpacing: PropTypes.number,
|
|
1051
1064
|
valueFormatter: PropTypes.func,
|
|
1052
|
-
width: PropTypes.number,
|
|
1065
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1053
1066
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1054
1067
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1055
1068
|
maxEnd: PropTypes.number,
|
|
@@ -1068,6 +1081,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1068
1081
|
}), PropTypes.shape({
|
|
1069
1082
|
axis: PropTypes.oneOf(['y']),
|
|
1070
1083
|
classes: PropTypes.object,
|
|
1084
|
+
className: PropTypes.string,
|
|
1071
1085
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
1072
1086
|
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
1073
1087
|
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
@@ -1121,7 +1135,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1121
1135
|
tickSize: PropTypes.number,
|
|
1122
1136
|
tickSpacing: PropTypes.number,
|
|
1123
1137
|
valueFormatter: PropTypes.func,
|
|
1124
|
-
width: PropTypes.number,
|
|
1138
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1125
1139
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1126
1140
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1127
1141
|
maxEnd: PropTypes.number,
|
|
@@ -1140,6 +1154,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1140
1154
|
}), PropTypes.shape({
|
|
1141
1155
|
axis: PropTypes.oneOf(['y']),
|
|
1142
1156
|
classes: PropTypes.object,
|
|
1157
|
+
className: PropTypes.string,
|
|
1143
1158
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
1144
1159
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
1145
1160
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -1180,7 +1195,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1180
1195
|
tickSize: PropTypes.number,
|
|
1181
1196
|
tickSpacing: PropTypes.number,
|
|
1182
1197
|
valueFormatter: PropTypes.func,
|
|
1183
|
-
width: PropTypes.number,
|
|
1198
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1184
1199
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1185
1200
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1186
1201
|
maxEnd: PropTypes.number,
|
|
@@ -1199,6 +1214,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1199
1214
|
}), PropTypes.shape({
|
|
1200
1215
|
axis: PropTypes.oneOf(['y']),
|
|
1201
1216
|
classes: PropTypes.object,
|
|
1217
|
+
className: PropTypes.string,
|
|
1202
1218
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
1203
1219
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
1204
1220
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -1240,7 +1256,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1240
1256
|
tickSize: PropTypes.number,
|
|
1241
1257
|
tickSpacing: PropTypes.number,
|
|
1242
1258
|
valueFormatter: PropTypes.func,
|
|
1243
|
-
width: PropTypes.number,
|
|
1259
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1244
1260
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1245
1261
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1246
1262
|
maxEnd: PropTypes.number,
|
|
@@ -1259,6 +1275,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1259
1275
|
}), PropTypes.shape({
|
|
1260
1276
|
axis: PropTypes.oneOf(['y']),
|
|
1261
1277
|
classes: PropTypes.object,
|
|
1278
|
+
className: PropTypes.string,
|
|
1262
1279
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
1263
1280
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
1264
1281
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -1299,7 +1316,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1299
1316
|
tickSize: PropTypes.number,
|
|
1300
1317
|
tickSpacing: PropTypes.number,
|
|
1301
1318
|
valueFormatter: PropTypes.func,
|
|
1302
|
-
width: PropTypes.number,
|
|
1319
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1303
1320
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1304
1321
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1305
1322
|
maxEnd: PropTypes.number,
|
|
@@ -1318,6 +1335,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1318
1335
|
}), PropTypes.shape({
|
|
1319
1336
|
axis: PropTypes.oneOf(['y']),
|
|
1320
1337
|
classes: PropTypes.object,
|
|
1338
|
+
className: PropTypes.string,
|
|
1321
1339
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
1322
1340
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
1323
1341
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -1358,7 +1376,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1358
1376
|
tickSize: PropTypes.number,
|
|
1359
1377
|
tickSpacing: PropTypes.number,
|
|
1360
1378
|
valueFormatter: PropTypes.func,
|
|
1361
|
-
width: PropTypes.number,
|
|
1379
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1362
1380
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1363
1381
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1364
1382
|
maxEnd: PropTypes.number,
|
|
@@ -1377,6 +1395,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1377
1395
|
}), PropTypes.shape({
|
|
1378
1396
|
axis: PropTypes.oneOf(['y']),
|
|
1379
1397
|
classes: PropTypes.object,
|
|
1398
|
+
className: PropTypes.string,
|
|
1380
1399
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
1381
1400
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
1382
1401
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -1421,7 +1440,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1421
1440
|
tickSize: PropTypes.number,
|
|
1422
1441
|
tickSpacing: PropTypes.number,
|
|
1423
1442
|
valueFormatter: PropTypes.func,
|
|
1424
|
-
width: PropTypes.number,
|
|
1443
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1425
1444
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1426
1445
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1427
1446
|
maxEnd: PropTypes.number,
|
|
@@ -1440,6 +1459,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1440
1459
|
}), PropTypes.shape({
|
|
1441
1460
|
axis: PropTypes.oneOf(['y']),
|
|
1442
1461
|
classes: PropTypes.object,
|
|
1462
|
+
className: PropTypes.string,
|
|
1443
1463
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
1444
1464
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
1445
1465
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -1484,7 +1504,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1484
1504
|
tickSize: PropTypes.number,
|
|
1485
1505
|
tickSpacing: PropTypes.number,
|
|
1486
1506
|
valueFormatter: PropTypes.func,
|
|
1487
|
-
width: PropTypes.number,
|
|
1507
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1488
1508
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1489
1509
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1490
1510
|
maxEnd: PropTypes.number,
|
|
@@ -1503,6 +1523,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1503
1523
|
}), PropTypes.shape({
|
|
1504
1524
|
axis: PropTypes.oneOf(['y']),
|
|
1505
1525
|
classes: PropTypes.object,
|
|
1526
|
+
className: PropTypes.string,
|
|
1506
1527
|
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
1507
1528
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
1508
1529
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
@@ -1543,7 +1564,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1543
1564
|
tickSize: PropTypes.number,
|
|
1544
1565
|
tickSpacing: PropTypes.number,
|
|
1545
1566
|
valueFormatter: PropTypes.func,
|
|
1546
|
-
width: PropTypes.number,
|
|
1567
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1547
1568
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1548
1569
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1549
1570
|
maxEnd: PropTypes.number,
|
|
@@ -1628,8 +1649,8 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1628
1649
|
requiredKeys: PropTypes.arrayOf(PropTypes.string),
|
|
1629
1650
|
type: PropTypes.oneOf(['doubleTapReset']).isRequired
|
|
1630
1651
|
}), PropTypes.shape({
|
|
1631
|
-
pointerMode: PropTypes.
|
|
1632
|
-
requiredKeys: PropTypes.
|
|
1652
|
+
pointerMode: PropTypes.oneOf(['mouse', 'touch']),
|
|
1653
|
+
requiredKeys: PropTypes.arrayOf(PropTypes.string),
|
|
1633
1654
|
type: PropTypes.oneOf(['brush']).isRequired
|
|
1634
1655
|
})]).isRequired)
|
|
1635
1656
|
})
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,234 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0-beta.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v9.0.0-alpha.4..master -->
|
|
6
|
+
|
|
7
|
+
_Mar 27, 2026_
|
|
8
|
+
|
|
9
|
+
We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🔊 New Charts voiceover component for improved screen reader support
|
|
12
|
+
- ⌨️ Charts keyboard navigation improvements: axis tooltip now shows when navigating with the keyboard
|
|
13
|
+
- 📊 Charts axes now can be set to automatically resize to fit their content
|
|
14
|
+
- 📝 New `rowCheckbox` slot in Data Grid for easier checkbox column customization
|
|
15
|
+
- ⚡️ `fetchRows()` API in Data Grid Pro now defaults `start` and `end` based on scroll position with lazy loading
|
|
16
|
+
- 🐞 Bugfixes and internal improvements
|
|
17
|
+
|
|
18
|
+
The following team members contributed to this release:
|
|
19
|
+
@aemartos, @alexfauquette, @arminmeh, @cherniavskii, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes
|
|
20
|
+
|
|
21
|
+
### Data Grid
|
|
22
|
+
|
|
23
|
+
#### `@mui/x-data-grid@9.0.0-beta.0`
|
|
24
|
+
|
|
25
|
+
- [DataGrid] Add `rowCheckbox` slot for easier customization (#21797) @michelengelen
|
|
26
|
+
- [DataGrid] Prevent repeated `hasScrollbar` state updates (#21820) @arminmeh
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
29
|
+
|
|
30
|
+
Same changes as in `@mui/x-data-grid@9.0.0-beta.0`, plus:
|
|
31
|
+
|
|
32
|
+
- [DataGridPro] `fetchRows()` API's default `start` and `end` params based on scroll position with lazy loading (#21742) @arminmeh
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-premium@9.0.0-beta.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-beta.0`.
|
|
37
|
+
|
|
38
|
+
### Date and Time Pickers
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers@9.0.0-beta.0`
|
|
41
|
+
|
|
42
|
+
Internal changes.
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-date-pickers-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
45
|
+
|
|
46
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-beta.0`.
|
|
47
|
+
|
|
48
|
+
### Charts
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts@9.0.0-beta.0`
|
|
51
|
+
|
|
52
|
+
- [charts] Add `className` prop to Pro chart plot components (#21793) @JCQuintas
|
|
53
|
+
- [charts] Add experimental position-based pointer interaction for line series (#21809) @JCQuintas
|
|
54
|
+
- [charts] Add l10n to the bar accessibility (#21815) @alexfauquette
|
|
55
|
+
- [charts] Add localization for the basic charts (#21822) @alexfauquette
|
|
56
|
+
- [charts] Add voiceover component (#21344) @alexfauquette
|
|
57
|
+
- [charts] Allow axes to automatically resize to content (#21087) @JCQuintas
|
|
58
|
+
- [charts] Document multiple use-cases for references (#21768) @alexfauquette
|
|
59
|
+
- [charts] Remove compatibility layer for React vs native events (#21780) @JCQuintas
|
|
60
|
+
- [charts] Remove deprecated `barLabel` props (#21783) @alexfauquette
|
|
61
|
+
- [charts] Show axis tooltip when navigating with keyboard (#21689) @Copilot
|
|
62
|
+
|
|
63
|
+
#### `@mui/x-charts-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
64
|
+
|
|
65
|
+
Same changes as in `@mui/x-charts@9.0.0-beta.0`.
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts-premium@9.0.0-beta.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
68
|
+
|
|
69
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-beta.0`.
|
|
70
|
+
|
|
71
|
+
### Tree View
|
|
72
|
+
|
|
73
|
+
#### `@mui/x-tree-view@9.0.0-alpha.4`
|
|
74
|
+
|
|
75
|
+
Internal changes.
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
78
|
+
|
|
79
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
|
|
80
|
+
|
|
81
|
+
### Codemod
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-codemod@9.0.0-alpha.4`
|
|
84
|
+
|
|
85
|
+
Internal changes.
|
|
86
|
+
|
|
87
|
+
### Docs
|
|
88
|
+
|
|
89
|
+
- [docs] Document how to customize voiceover announcement (#21833) @alexfauquette
|
|
90
|
+
- [docs] Remove Discord mention from docs (#21855) @mapache-salvaje
|
|
91
|
+
- [docs] Remove stabilized experimental feature from demo (#21869) @JCQuintas
|
|
92
|
+
- [docs] Update telemetry guide to reflect pseudonymous data collection and license compliance (#21812) @aemartos
|
|
93
|
+
- [docs] Revise the Sparkline doc (#21614) @mapache-salvaje
|
|
94
|
+
- [docs] Revise the Gauge doc (#21673) @mapache-salvaje
|
|
95
|
+
- [docs] Revise the Heatmap doc (#21676) @mapache-salvaje
|
|
96
|
+
|
|
97
|
+
### Core
|
|
98
|
+
|
|
99
|
+
- [code-infra] Remove unused deps and unify es-toolkit via catalog (#21840) @Janpot
|
|
100
|
+
- [code-infra] Update @mui/internal-bundle-size-checker to canary.68 (#21836) @Janpot
|
|
101
|
+
- [code-infra] Update next (#21837) @Janpot
|
|
102
|
+
- [internal] Remove headless data grid packages (#21843) @cherniavskii
|
|
103
|
+
|
|
104
|
+
### Miscellaneous
|
|
105
|
+
|
|
106
|
+
- Add @romgrk to CODEOWNERS for `x-virtualizer` and `x-internals` (#21819) @Copilot
|
|
107
|
+
- [x-license] add 2022 plan version (#21814) @aemartos
|
|
108
|
+
|
|
109
|
+
## 9.0.0-alpha.4
|
|
110
|
+
|
|
111
|
+
_Mar 19, 2026_
|
|
112
|
+
|
|
113
|
+
We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
114
|
+
|
|
115
|
+
- 🐞 Bugfixes and internal improvements
|
|
116
|
+
|
|
117
|
+
The following team members contributed to this release:
|
|
118
|
+
@aemartos, @alexfauquette, @bernardobelchior, @Janpot, @JCQuintas, @LukasTy, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes, @sai6855, @siriwatknp
|
|
119
|
+
|
|
120
|
+
### Data Grid
|
|
121
|
+
|
|
122
|
+
#### `@mui/x-data-grid@9.0.0-alpha.4`
|
|
123
|
+
|
|
124
|
+
- [DataGrid] Mark charts integration as stable (#21764) @JCQuintas
|
|
125
|
+
- [DataGrid] Move `elementOverrides` to constants and remove duplicates (#21618) @sai6855
|
|
126
|
+
- [DataGrid] Migrate from deprecated Material UI APIs (#21682) @siriwatknp
|
|
127
|
+
|
|
128
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
129
|
+
|
|
130
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.4`.
|
|
131
|
+
|
|
132
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
133
|
+
|
|
134
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.4`.
|
|
135
|
+
|
|
136
|
+
### Date and Time Pickers
|
|
137
|
+
|
|
138
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.4`
|
|
139
|
+
|
|
140
|
+
- [pickers] Avoid stealing focus on click away (#13434) @LukasTy
|
|
141
|
+
- [pickers] Promote `fieldRef` to stable and add `clearValue` method (#21655) @michelengelen
|
|
142
|
+
|
|
143
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
144
|
+
|
|
145
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.4`.
|
|
146
|
+
|
|
147
|
+
### Charts
|
|
148
|
+
|
|
149
|
+
#### `@mui/x-charts@9.0.0-alpha.4`
|
|
150
|
+
|
|
151
|
+
- [charts] Add v9 chart series types and helper functions migration (#21009) @bernardobelchior
|
|
152
|
+
- [charts] Extract event listener to the layer container (#21751) @alexfauquette
|
|
153
|
+
- [charts] Fix WebGL print export canvas stretching (#21738) @JCQuintas
|
|
154
|
+
- [charts] Improve deprecation warnings (#21760) @alexfauquette
|
|
155
|
+
- [charts] Improve type safety in `identifierCleaner` (#21719) @bernardobelchior
|
|
156
|
+
- [charts] Make `preferStrictDomainInLineCharts` the default (#21744) @JCQuintas
|
|
157
|
+
- [charts] Move title and description to the layer container (#21757) @alexfauquette
|
|
158
|
+
- [charts] Refactor `FunnelChart` classes structure (#21652) @JCQuintas
|
|
159
|
+
- [charts] Refactor `Heatmap` classes structure (#21653) @JCQuintas
|
|
160
|
+
- [charts] Refactor `RadarChart` classes structure (#21650) @JCQuintas
|
|
161
|
+
- [charts] Refactor `SankeyChart` classes structure (#21654) @JCQuintas
|
|
162
|
+
- [charts] Refactor legend getters to use utility functions (#21628) @sai6855
|
|
163
|
+
- [charts] Remove deprecated `ChartContainer` and `ChartDataProvider` (#21777) @alexfauquette
|
|
164
|
+
- [charts] Remove deprecated `itemId` from `SeriesLegendItemContext` (#21788) @alexfauquette
|
|
165
|
+
- [charts] Remove deprecated `useMouseTracker()` (#21787) @alexfauquette
|
|
166
|
+
- [charts] Remove deprecated classes (#21775) @alexfauquette
|
|
167
|
+
- [charts] Remove deprecated props from PieArcLabel animation (#21789) @alexfauquette
|
|
168
|
+
- [charts] Remove get\*UtilityClass from public exports (#21769) @JCQuintas
|
|
169
|
+
- [charts] Remove the deprecated `disableHover` property (#21785) @alexfauquette
|
|
170
|
+
- [charts] Remove the deprecated `message` prop (#21784) @alexfauquette
|
|
171
|
+
- [charts] Remove deprecated props about voronoi (#21796) @alexfauquette
|
|
172
|
+
- [charts] Remove deprecated pieArcClasses (#21795) @alexfauquette
|
|
173
|
+
- [charts] Rename `data-series-id` by `data-series` (#21761) @alexfauquette
|
|
174
|
+
- [charts] Rename `voronoiMaxRadius`/`disableVoronoi` to `hitAreaRadius`/`disableHitArea` (#21750) @bernardobelchior
|
|
175
|
+
- [charts] Update pt-PT locale (#21296) @bernardobelchior
|
|
176
|
+
- [charts] Use different shape per series by default (#21713) @alexfauquette
|
|
177
|
+
- [charts] Add className prop to Radar components (#21794) @JCQuintas
|
|
178
|
+
- [charts] Add className prop to shared chart components (#21792) @JCQuintas
|
|
179
|
+
- [charts] Add className prop to BarPlot (#21791) @JCQuintas
|
|
180
|
+
- [charts] Portal tooltip into ChartsLayerContainer (#21801) @JCQuintas
|
|
181
|
+
|
|
182
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
183
|
+
|
|
184
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.4`, plus:
|
|
185
|
+
|
|
186
|
+
- [charts-pro] Allow `brush` interaction to accept `requiredKeys/pointerMode` (#21716) @JCQuintas
|
|
187
|
+
- [charts-pro] Remove deprecated `onAxisClick` for Heatmap (#21786) @alexfauquette
|
|
188
|
+
|
|
189
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
190
|
+
|
|
191
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.4`, plus:
|
|
192
|
+
|
|
193
|
+
- [charts-premium] Add candlestick chart (#21129) @bernardobelchior
|
|
194
|
+
|
|
195
|
+
### Tree View
|
|
196
|
+
|
|
197
|
+
#### `@mui/x-tree-view@9.0.0-alpha.4`
|
|
198
|
+
|
|
199
|
+
Internal changes.
|
|
200
|
+
|
|
201
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
202
|
+
|
|
203
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
|
|
204
|
+
|
|
205
|
+
### Codemod
|
|
206
|
+
|
|
207
|
+
#### `@mui/x-codemod@9.0.0-alpha.4`
|
|
208
|
+
|
|
209
|
+
Internal changes.
|
|
210
|
+
|
|
211
|
+
### Docs
|
|
212
|
+
|
|
213
|
+
- [docs-infra] Exclude `ServerSideLazyLoadingRevalidation` from argos (#21734) @sai6855
|
|
214
|
+
- [docs] Update charts v9 migration guide to include premium package (#21743) @bernardobelchior
|
|
215
|
+
- [docs] Update v9 migration guides to install next tag (#21741) @bernardobelchior
|
|
216
|
+
- [docs] Revise the Pie chart docs (#21565) @mapache-salvaje
|
|
217
|
+
- [docs] Revise the Bar Chart docs (#21482) @mapache-salvaje
|
|
218
|
+
- [docs] Removed a `console.log` from an aggregation demo (#21698) @michelengelen
|
|
219
|
+
|
|
220
|
+
### Core
|
|
221
|
+
|
|
222
|
+
- [code-infra] Add pkg-pr-new as dev dependency (#21754) @Janpot
|
|
223
|
+
- [code-infra] Prevent `combiner` to have default parameters (#21707) @JCQuintas
|
|
224
|
+
- [code-infra] Remove CI coverage collection and upload to Codecov (#21671) @Janpot
|
|
225
|
+
- [internal] Remove @bernardobelchior from Charts CODEOWNERS (#21776) @Copilot
|
|
226
|
+
|
|
227
|
+
### Miscellaneous
|
|
228
|
+
|
|
229
|
+
- [x-license] Fix process.env.MUI_VERSION not being replaced during build (#21727) @aemartos
|
|
230
|
+
- [x-license] Add new watermark license status message (#21720) @aemartos
|
|
231
|
+
|
|
3
232
|
## 9.0.0-alpha.3
|
|
4
233
|
|
|
5
234
|
_Mar 12, 2026_
|
|
@@ -40,11 +40,11 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
40
40
|
*/
|
|
41
41
|
const ChartsContainerPro = exports.ChartsContainerPro = /*#__PURE__*/React.forwardRef(function ChartsContainerProInner(props, ref) {
|
|
42
42
|
const {
|
|
43
|
-
|
|
43
|
+
chartsDataProviderProProps,
|
|
44
44
|
children,
|
|
45
45
|
chartsSurfaceProps
|
|
46
46
|
} = (0, _useChartsContainerProProps.useChartsContainerProProps)(props);
|
|
47
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsDataProviderPro.ChartsDataProviderPro, (0, _extends2.default)({},
|
|
47
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsDataProviderPro.ChartsDataProviderPro, (0, _extends2.default)({}, chartsDataProviderProProps, {
|
|
48
48
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsSurface.ChartsSurface, (0, _extends2.default)({}, chartsSurfaceProps, {
|
|
49
49
|
ref: ref,
|
|
50
50
|
children: children
|
|
@@ -33,11 +33,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
33
33
|
*/
|
|
34
34
|
const ChartsContainerPro = /*#__PURE__*/React.forwardRef(function ChartsContainerProInner(props, ref) {
|
|
35
35
|
const {
|
|
36
|
-
|
|
36
|
+
chartsDataProviderProProps,
|
|
37
37
|
children,
|
|
38
38
|
chartsSurfaceProps
|
|
39
39
|
} = useChartsContainerProProps(props);
|
|
40
|
-
return /*#__PURE__*/_jsx(ChartsDataProviderPro, _extends({},
|
|
40
|
+
return /*#__PURE__*/_jsx(ChartsDataProviderPro, _extends({}, chartsDataProviderProProps, {
|
|
41
41
|
children: /*#__PURE__*/_jsx(ChartsSurface, _extends({}, chartsSurfaceProps, {
|
|
42
42
|
ref: ref,
|
|
43
43
|
children: children
|