@mui/x-charts-pro 9.0.0-alpha.2 → 9.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChartPro/BarChartPro.d.mts +2 -2
- package/BarChartPro/BarChartPro.d.ts +2 -2
- package/BarChartPro/BarChartPro.js +43 -10
- package/BarChartPro/BarChartPro.mjs +43 -10
- package/CHANGELOG.md +246 -1
- package/ChartsContainerPro/ChartsContainerPro.d.mts +2 -2
- package/ChartsContainerPro/ChartsContainerPro.d.ts +2 -2
- package/ChartsContainerPro/ChartsContainerPro.js +2 -2
- package/ChartsContainerPro/ChartsContainerPro.mjs +2 -2
- package/ChartsContainerPro/useChartsContainerProProps.d.mts +4 -4
- package/ChartsContainerPro/useChartsContainerProProps.d.ts +4 -4
- package/ChartsContainerPro/useChartsContainerProProps.js +3 -3
- package/ChartsContainerPro/useChartsContainerProProps.mjs +3 -3
- package/ChartsDataProviderPro/ChartsDataProviderPro.d.mts +2 -2
- package/ChartsDataProviderPro/ChartsDataProviderPro.d.ts +2 -2
- package/ChartsDataProviderPro/ChartsDataProviderPro.js +8 -11
- package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +8 -11
- package/ChartsDataProviderPro/useChartsDataProviderProProps.d.mts +1 -1
- package/ChartsDataProviderPro/useChartsDataProviderProProps.d.ts +1 -1
- 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 +23 -8
- package/FunnelChart/FunnelChart.mjs +23 -8
- package/FunnelChart/FunnelPlot.js +8 -3
- package/FunnelChart/FunnelPlot.mjs +8 -3
- package/FunnelChart/FunnelSection.d.mts +3 -3
- package/FunnelChart/FunnelSection.d.ts +3 -3
- package/FunnelChart/FunnelSection.js +8 -9
- package/FunnelChart/FunnelSection.mjs +8 -9
- 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/funnelAxisPlugin/computeAxisValue.d.mts +3 -3
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +3 -3
- 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/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 +25 -19
- package/Heatmap/Heatmap.mjs +25 -19
- 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 +5 -23
- package/Heatmap/HeatmapItem.mjs +5 -23
- package/Heatmap/HeatmapSVGPlot.js +14 -7
- package/Heatmap/HeatmapSVGPlot.mjs +15 -8
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.js +2 -2
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.mjs +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.js +16 -13
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.mjs +16 -13
- 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/getColor.js +5 -3
- package/Heatmap/seriesConfig/getColor.mjs +5 -3
- package/Heatmap/seriesConfig/getItemAtPosition.d.mts +2 -2
- package/Heatmap/seriesConfig/getItemAtPosition.d.ts +2 -2
- package/Heatmap/seriesConfig/getItemAtPosition.js +3 -11
- package/Heatmap/seriesConfig/getItemAtPosition.mjs +3 -11
- package/Heatmap/seriesConfig/identifierCleaner.d.mts +3 -0
- package/Heatmap/seriesConfig/identifierCleaner.d.ts +3 -0
- package/Heatmap/seriesConfig/identifierCleaner.js +15 -0
- package/Heatmap/seriesConfig/identifierCleaner.mjs +9 -0
- package/Heatmap/seriesConfig/identifierSerializer.d.mts +3 -0
- package/Heatmap/seriesConfig/identifierSerializer.d.ts +3 -0
- package/Heatmap/seriesConfig/identifierSerializer.js +11 -0
- package/Heatmap/seriesConfig/identifierSerializer.mjs +5 -0
- package/Heatmap/seriesConfig/index.js +4 -2
- package/Heatmap/seriesConfig/index.mjs +5 -3
- package/Heatmap/seriesConfig/keyboardFocusHandler.js +6 -19
- package/Heatmap/seriesConfig/keyboardFocusHandler.mjs +6 -19
- package/Heatmap/seriesConfig/seriesProcessor.js +8 -3
- package/Heatmap/seriesConfig/seriesProcessor.mjs +8 -3
- package/Heatmap/seriesConfig/tooltip.js +7 -6
- package/Heatmap/seriesConfig/tooltip.mjs +7 -6
- package/Heatmap/seriesConfig/tooltipPosition.js +3 -4
- package/Heatmap/seriesConfig/tooltipPosition.mjs +3 -4
- package/Heatmap/shouldRegisterPointerInteractionsGlobally.js +1 -1
- package/Heatmap/shouldRegisterPointerInteractionsGlobally.mjs +1 -1
- package/Heatmap/useHeatmapProps.d.mts +2 -2
- package/Heatmap/useHeatmapProps.d.ts +2 -2
- package/Heatmap/useHeatmapProps.js +4 -6
- package/Heatmap/useHeatmapProps.mjs +4 -6
- package/LineChartPro/LineChartPro.d.mts +2 -2
- package/LineChartPro/LineChartPro.d.ts +2 -2
- package/LineChartPro/LineChartPro.js +40 -13
- package/LineChartPro/LineChartPro.mjs +40 -13
- package/PieChartPro/PieChartPro.d.mts +2 -2
- package/PieChartPro/PieChartPro.d.ts +2 -2
- package/PieChartPro/PieChartPro.js +22 -7
- package/PieChartPro/PieChartPro.mjs +22 -7
- package/RadarChartPro/RadarChartPro.d.mts +1 -1
- package/RadarChartPro/RadarChartPro.d.ts +1 -1
- package/RadarChartPro/RadarChartPro.js +20 -2
- package/RadarChartPro/RadarChartPro.mjs +20 -2
- package/SankeyChart/SankeyChart.d.mts +2 -2
- package/SankeyChart/SankeyChart.d.ts +2 -2
- package/SankeyChart/SankeyChart.js +21 -12
- package/SankeyChart/SankeyChart.mjs +21 -12
- 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 +7 -3
- package/SankeyChart/SankeyLinkElement.mjs +8 -4
- 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 +20 -18
- package/SankeyChart/SankeyNodeElement.mjs +21 -19
- 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 +2 -2
- package/SankeyChart/SankeyPlot.d.ts +2 -2
- package/SankeyChart/SankeyPlot.js +3 -3
- package/SankeyChart/SankeyPlot.mjs +3 -3
- 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/sankeyHighlightHooks.d.mts +2 -2
- package/SankeyChart/sankeyHighlightHooks.d.ts +2 -2
- package/SankeyChart/sankeyHighlightHooks.js +2 -10
- package/SankeyChart/sankeyHighlightHooks.mjs +3 -11
- 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 +62 -17
- package/ScatterChartPro/ScatterChartPro.mjs +62 -17
- 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/ChartsWatermark.d.mts +2 -2
- package/internals/ChartsWatermark.d.ts +2 -2
- package/internals/ChartsWatermark.js +5 -8
- package/internals/ChartsWatermark.mjs +3 -6
- 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/allPlugins.d.mts +4 -4
- package/internals/plugins/allPlugins.d.ts +4 -4
- package/internals/plugins/useChartProExport/common.js +4 -8
- package/internals/plugins/useChartProExport/common.mjs +4 -8
- package/internals/plugins/useChartProExport/exportImage.js +1 -1
- package/internals/plugins/useChartProExport/exportImage.mjs +1 -1
- 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/models/seriesType/heatmap.d.mts +36 -9
- package/models/seriesType/heatmap.d.ts +36 -9
- package/models/seriesType/heatmap.js +28 -1
- package/models/seriesType/heatmap.mjs +25 -1
- package/package.json +5 -61
- package/plugins/selectors/useChartHeatmapPosition.selectors.d.mts +2 -2
- package/plugins/selectors/useChartHeatmapPosition.selectors.d.ts +2 -2
- package/plugins/selectors/useChartHeatmapPosition.selectors.js +4 -4
- package/plugins/selectors/useChartHeatmapPosition.selectors.mjs +4 -4
- 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 +2 -2
- package/typeOverloads/modules.d.ts +2 -2
- 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/tests/constants.js +0 -7
- package/tests/constants.mjs +0 -1
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.ChartDataProviderPro = void 0;
|
|
8
|
-
Object.defineProperty(exports, "defaultSeriesConfigPro", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () {
|
|
11
|
-
return _ChartsDataProviderPro.defaultSeriesConfigPro;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
var _ChartsDataProviderPro = require("../ChartsDataProviderPro");
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated Use `ChartsDataProviderProSlots` instead. We added S to the charts prefix to align with other components.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated Use `ChartsDataProviderProSlotProps` instead. We added S to the charts prefix to align with other components.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Use `ChartsDataProviderProProps` instead. We added S to the charts prefix to align with other components.
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated Use `ChartsDataProviderPro` instead. We added S to the charts prefix to align with other components.
|
|
29
|
-
*/
|
|
30
|
-
const ChartDataProviderPro = exports.ChartDataProviderPro = _ChartsDataProviderPro.ChartsDataProviderPro;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { ChartsDataProviderPro, defaultSeriesConfigPro } from "../ChartsDataProviderPro/index.mjs";
|
|
4
|
-
export { defaultSeriesConfigPro };
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Use `ChartsDataProviderProSlots` instead. We added S to the charts prefix to align with other components.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use `ChartsDataProviderProSlotProps` instead. We added S to the charts prefix to align with other components.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated Use `ChartsDataProviderProProps` instead. We added S to the charts prefix to align with other components.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated Use `ChartsDataProviderPro` instead. We added S to the charts prefix to align with other components.
|
|
20
|
-
*/
|
|
21
|
-
export const ChartDataProviderPro = ChartsDataProviderPro;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "ChartDataProviderPro", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _ChartDataProviderPro.ChartDataProviderPro;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
require("../typeOverloads");
|
|
13
|
-
var _ChartDataProviderPro = require("./ChartDataProviderPro");
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Use `useChartsDataProviderProProps` instead. We added S to the charts prefix to align with other components.
|
|
3
|
-
*/
|
|
4
|
-
export declare const useChartDataProviderProProps: <TSeries extends import("@mui/x-charts/internals").ChartSeriesType = keyof import("@mui/x-charts/internals").ChartsSeriesConfig, TSignatures extends readonly import("@mui/x-charts/internals").ChartAnyPluginSignature[] = import("../internals/plugins/allPlugins.mjs").AllPluginSignatures<TSeries>>(props: import("../index.mjs").ChartsDataProviderProProps<TSeries, TSignatures>) => {
|
|
5
|
-
children: import("react").ReactNode;
|
|
6
|
-
localeText: Partial<import("@mui/x-charts/locales").ChartsLocaleText> | undefined;
|
|
7
|
-
chartProviderProps: import("@mui/x-charts/internals").ChartsProviderProps<keyof import("@mui/x-charts/internals").ChartsSeriesConfig, TSignatures>;
|
|
8
|
-
slots: Partial<import("@mui/x-charts").ChartsDataProviderSlots> | undefined;
|
|
9
|
-
slotProps: Partial<import("@mui/x-charts").ChartsDataProviderSlotProps> | undefined;
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Use `useChartsDataProviderProProps` instead. We added S to the charts prefix to align with other components.
|
|
3
|
-
*/
|
|
4
|
-
export declare const useChartDataProviderProProps: <TSeries extends import("@mui/x-charts/internals").ChartSeriesType = keyof import("@mui/x-charts/internals").ChartsSeriesConfig, TSignatures extends readonly import("@mui/x-charts/internals").ChartAnyPluginSignature[] = import("../internals/plugins/allPlugins.js").AllPluginSignatures<TSeries>>(props: import("../index.js").ChartsDataProviderProProps<TSeries, TSignatures>) => {
|
|
5
|
-
children: import("react").ReactNode;
|
|
6
|
-
localeText: Partial<import("@mui/x-charts/locales").ChartsLocaleText> | undefined;
|
|
7
|
-
chartProviderProps: import("@mui/x-charts/internals").ChartsProviderProps<keyof import("@mui/x-charts/internals").ChartsSeriesConfig, TSignatures>;
|
|
8
|
-
slots: Partial<import("@mui/x-charts").ChartsDataProviderSlots> | undefined;
|
|
9
|
-
slotProps: Partial<import("@mui/x-charts").ChartsDataProviderSlotProps> | undefined;
|
|
10
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.useChartDataProviderProProps = void 0;
|
|
8
|
-
var _useChartsDataProviderProProps = require("../ChartsDataProviderPro/useChartsDataProviderProProps");
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated Use `useChartsDataProviderProProps` instead. We added S to the charts prefix to align with other components.
|
|
11
|
-
*/
|
|
12
|
-
const useChartDataProviderProProps = exports.useChartDataProviderProProps = _useChartsDataProviderProProps.useChartsDataProviderProProps;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { useChartsDataProviderProProps } from "../ChartsDataProviderPro/useChartsDataProviderProProps.mjs";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Use `useChartsDataProviderProProps` instead. We added S to the charts prefix to align with other components.
|
|
7
|
-
*/
|
|
8
|
-
export const useChartDataProviderProProps = useChartsDataProviderProProps;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { FunnelSectionProps } from "./FunnelSection.mjs";
|
|
2
|
-
import type { FunnelSectionLabelProps } from "./FunnelSectionLabel.mjs";
|
|
3
|
-
export interface FunnelSectionClasses {
|
|
4
|
-
/** Styles applied to the root element. */
|
|
5
|
-
root: string;
|
|
6
|
-
/**
|
|
7
|
-
* Styles applied to the root element if `highlighted={true}`.
|
|
8
|
-
* @deprecated Use `[data-highlighted]` selector instead.
|
|
9
|
-
*/
|
|
10
|
-
highlighted: string;
|
|
11
|
-
/**
|
|
12
|
-
* Styles applied to the root element if `faded={true}`.
|
|
13
|
-
* @deprecated Use `[data-faded]` selector instead.
|
|
14
|
-
*/
|
|
15
|
-
faded: string;
|
|
16
|
-
/** Styles applied to the root element if `variant="filled"`. */
|
|
17
|
-
filled: string;
|
|
18
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
19
|
-
outlined: string;
|
|
20
|
-
/** Styles applied to the label element. */
|
|
21
|
-
label: string;
|
|
22
|
-
/**
|
|
23
|
-
* Styles applied to the root element for a specified series.
|
|
24
|
-
* Needs to be suffixed with the series ID: `.${funnelSectionClasses.series}-${seriesId}`.
|
|
25
|
-
*/
|
|
26
|
-
series: string;
|
|
27
|
-
}
|
|
28
|
-
export declare const useUtilityClasses: (props: FunnelSectionProps) => Record<"label" | "filled" | "outlined" | "highlighted" | "faded" | "root", string>;
|
|
29
|
-
export declare const useLabelUtilityClasses: (props: FunnelSectionLabelProps) => Record<"label", string>;
|
|
30
|
-
export declare const funnelSectionClasses: FunnelSectionClasses;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { FunnelSectionProps } from "./FunnelSection.js";
|
|
2
|
-
import type { FunnelSectionLabelProps } from "./FunnelSectionLabel.js";
|
|
3
|
-
export interface FunnelSectionClasses {
|
|
4
|
-
/** Styles applied to the root element. */
|
|
5
|
-
root: string;
|
|
6
|
-
/**
|
|
7
|
-
* Styles applied to the root element if `highlighted={true}`.
|
|
8
|
-
* @deprecated Use `[data-highlighted]` selector instead.
|
|
9
|
-
*/
|
|
10
|
-
highlighted: string;
|
|
11
|
-
/**
|
|
12
|
-
* Styles applied to the root element if `faded={true}`.
|
|
13
|
-
* @deprecated Use `[data-faded]` selector instead.
|
|
14
|
-
*/
|
|
15
|
-
faded: string;
|
|
16
|
-
/** Styles applied to the root element if `variant="filled"`. */
|
|
17
|
-
filled: string;
|
|
18
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
19
|
-
outlined: string;
|
|
20
|
-
/** Styles applied to the label element. */
|
|
21
|
-
label: string;
|
|
22
|
-
/**
|
|
23
|
-
* Styles applied to the root element for a specified series.
|
|
24
|
-
* Needs to be suffixed with the series ID: `.${funnelSectionClasses.series}-${seriesId}`.
|
|
25
|
-
*/
|
|
26
|
-
series: string;
|
|
27
|
-
}
|
|
28
|
-
export declare const useUtilityClasses: (props: FunnelSectionProps) => Record<"label" | "filled" | "outlined" | "highlighted" | "faded" | "root", string>;
|
|
29
|
-
export declare const useLabelUtilityClasses: (props: FunnelSectionLabelProps) => Record<"label", string>;
|
|
30
|
-
export declare const funnelSectionClasses: FunnelSectionClasses;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.useUtilityClasses = exports.useLabelUtilityClasses = exports.funnelSectionClasses = void 0;
|
|
8
|
-
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
|
9
|
-
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
|
10
|
-
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
11
|
-
function getFunnelSectionUtilityClass(slot) {
|
|
12
|
-
return (0, _generateUtilityClass.default)('MuiFunnelSection', slot);
|
|
13
|
-
}
|
|
14
|
-
const useUtilityClasses = props => {
|
|
15
|
-
const {
|
|
16
|
-
classes,
|
|
17
|
-
seriesId,
|
|
18
|
-
variant,
|
|
19
|
-
dataIndex
|
|
20
|
-
} = props;
|
|
21
|
-
const slots = {
|
|
22
|
-
root: ['root', `series-${seriesId}`, `data-index-${dataIndex}`],
|
|
23
|
-
highlighted: ['highlighted'],
|
|
24
|
-
faded: ['faded'],
|
|
25
|
-
outlined: variant === 'outlined' ? ['outlined'] : [],
|
|
26
|
-
filled: variant === 'filled' ? ['filled'] : [],
|
|
27
|
-
label: ['label']
|
|
28
|
-
};
|
|
29
|
-
return (0, _composeClasses.default)(slots, getFunnelSectionUtilityClass, classes);
|
|
30
|
-
};
|
|
31
|
-
exports.useUtilityClasses = useUtilityClasses;
|
|
32
|
-
const useLabelUtilityClasses = props => {
|
|
33
|
-
const {
|
|
34
|
-
classes,
|
|
35
|
-
seriesId,
|
|
36
|
-
dataIndex
|
|
37
|
-
} = props;
|
|
38
|
-
const slots = {
|
|
39
|
-
label: ['label', `series-${seriesId}`, `data-index-${dataIndex}`]
|
|
40
|
-
};
|
|
41
|
-
return (0, _composeClasses.default)(slots, getFunnelSectionUtilityClass, classes);
|
|
42
|
-
};
|
|
43
|
-
exports.useLabelUtilityClasses = useLabelUtilityClasses;
|
|
44
|
-
const funnelSectionClasses = exports.funnelSectionClasses = (0, _generateUtilityClasses.default)('MuiFunnelSection', ['root', 'highlighted', 'faded', 'filled', 'outlined', 'label', 'series', 'data-index']);
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
2
|
-
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
3
|
-
import composeClasses from '@mui/utils/composeClasses';
|
|
4
|
-
function getFunnelSectionUtilityClass(slot) {
|
|
5
|
-
return generateUtilityClass('MuiFunnelSection', slot);
|
|
6
|
-
}
|
|
7
|
-
export const useUtilityClasses = props => {
|
|
8
|
-
const {
|
|
9
|
-
classes,
|
|
10
|
-
seriesId,
|
|
11
|
-
variant,
|
|
12
|
-
dataIndex
|
|
13
|
-
} = props;
|
|
14
|
-
const slots = {
|
|
15
|
-
root: ['root', `series-${seriesId}`, `data-index-${dataIndex}`],
|
|
16
|
-
highlighted: ['highlighted'],
|
|
17
|
-
faded: ['faded'],
|
|
18
|
-
outlined: variant === 'outlined' ? ['outlined'] : [],
|
|
19
|
-
filled: variant === 'filled' ? ['filled'] : [],
|
|
20
|
-
label: ['label']
|
|
21
|
-
};
|
|
22
|
-
return composeClasses(slots, getFunnelSectionUtilityClass, classes);
|
|
23
|
-
};
|
|
24
|
-
export const useLabelUtilityClasses = props => {
|
|
25
|
-
const {
|
|
26
|
-
classes,
|
|
27
|
-
seriesId,
|
|
28
|
-
dataIndex
|
|
29
|
-
} = props;
|
|
30
|
-
const slots = {
|
|
31
|
-
label: ['label', `series-${seriesId}`, `data-index-${dataIndex}`]
|
|
32
|
-
};
|
|
33
|
-
return composeClasses(slots, getFunnelSectionUtilityClass, classes);
|
|
34
|
-
};
|
|
35
|
-
export const funnelSectionClasses = generateUtilityClasses('MuiFunnelSection', ['root', 'highlighted', 'faded', 'filled', 'outlined', 'label', 'series', 'data-index']);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import type { SeriesId } from '@mui/x-charts/models';
|
|
3
|
-
import type { HeatmapClasses } from "../heatmapClasses.mjs";
|
|
4
|
-
export interface HeatmapItemOwnerState {
|
|
5
|
-
seriesId: SeriesId;
|
|
6
|
-
dataIndex: number;
|
|
7
|
-
color: string;
|
|
8
|
-
isFaded: boolean;
|
|
9
|
-
isHighlighted: boolean;
|
|
10
|
-
classes?: Partial<HeatmapClasses>;
|
|
11
|
-
}
|
|
12
|
-
export interface HeatmapCellProps extends React.ComponentPropsWithRef<'rect'> {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
ownerState: HeatmapItemOwnerState;
|
|
18
|
-
}
|
|
19
|
-
export declare const HeatmapCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
20
|
-
ownerState: HeatmapItemOwnerState;
|
|
21
|
-
}, Pick<React.SVGProps<SVGRectElement>, keyof React.SVGProps<SVGRectElement>>, {}>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import type { SeriesId } from '@mui/x-charts/models';
|
|
3
|
-
import type { HeatmapClasses } from "../heatmapClasses.js";
|
|
4
|
-
export interface HeatmapItemOwnerState {
|
|
5
|
-
seriesId: SeriesId;
|
|
6
|
-
dataIndex: number;
|
|
7
|
-
color: string;
|
|
8
|
-
isFaded: boolean;
|
|
9
|
-
isHighlighted: boolean;
|
|
10
|
-
classes?: Partial<HeatmapClasses>;
|
|
11
|
-
}
|
|
12
|
-
export interface HeatmapCellProps extends React.ComponentPropsWithRef<'rect'> {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
ownerState: HeatmapItemOwnerState;
|
|
18
|
-
}
|
|
19
|
-
export declare const HeatmapCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
20
|
-
ownerState: HeatmapItemOwnerState;
|
|
21
|
-
}, Pick<React.SVGProps<SVGRectElement>, keyof React.SVGProps<SVGRectElement>>, {}>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.HeatmapCell = void 0;
|
|
7
|
-
var _styles = require("@mui/material/styles");
|
|
8
|
-
const HeatmapCell = exports.HeatmapCell = (0, _styles.styled)('rect', {
|
|
9
|
-
name: 'MuiHeatmap',
|
|
10
|
-
slot: 'Cell',
|
|
11
|
-
overridesResolver: (_, styles) => styles.arc // FIXME: Inconsistent naming with slot
|
|
12
|
-
})(({
|
|
13
|
-
ownerState
|
|
14
|
-
}) => ({
|
|
15
|
-
filter: ownerState.isHighlighted && 'saturate(120%)' || ownerState.isFaded && 'saturate(80%)' || undefined,
|
|
16
|
-
fill: ownerState.color,
|
|
17
|
-
shapeRendering: 'crispEdges'
|
|
18
|
-
}));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { styled } from '@mui/material/styles';
|
|
2
|
-
export const HeatmapCell = styled('rect', {
|
|
3
|
-
name: 'MuiHeatmap',
|
|
4
|
-
slot: 'Cell',
|
|
5
|
-
overridesResolver: (_, styles) => styles.arc // FIXME: Inconsistent naming with slot
|
|
6
|
-
})(({
|
|
7
|
-
ownerState
|
|
8
|
-
}) => ({
|
|
9
|
-
filter: ownerState.isHighlighted && 'saturate(120%)' || ownerState.isFaded && 'saturate(80%)' || undefined,
|
|
10
|
-
fill: ownerState.color,
|
|
11
|
-
shapeRendering: 'crispEdges'
|
|
12
|
-
}));
|
package/tests/constants.js
DELETED
package/tests/constants.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const CHART_SELECTOR = 'svg:not([aria-hidden="true"])';
|