@mui/x-charts-pro 8.1.0 → 8.2.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.js +2 -1
- package/CHANGELOG.md +126 -7
- package/ChartContainerPro/useChartContainerProProps.d.ts +1 -1
- package/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/ChartDataProviderPro/useChartDataProviderProProps.d.ts +2 -2
- package/FunnelChart/FunnelChart.js +7 -1
- package/FunnelChart/FunnelPlot.d.ts +5 -0
- package/FunnelChart/FunnelPlot.js +13 -16
- package/FunnelChart/curves/bump.d.ts +24 -0
- package/FunnelChart/curves/bump.js +82 -0
- package/FunnelChart/curves/curve.types.d.ts +8 -0
- package/FunnelChart/curves/curve.types.js +5 -0
- package/FunnelChart/curves/funnelStep.d.ts +25 -0
- package/FunnelChart/{funnelStepCurve.js → curves/funnelStep.js} +32 -19
- package/FunnelChart/curves/getFunnelCurve.d.ts +3 -0
- package/FunnelChart/curves/getFunnelCurve.js +22 -0
- package/FunnelChart/curves/index.d.ts +2 -0
- package/FunnelChart/curves/index.js +27 -0
- package/FunnelChart/curves/linear.d.ts +24 -0
- package/FunnelChart/curves/linear.js +113 -0
- package/FunnelChart/funnel.types.d.ts +2 -2
- package/FunnelChart/funnelPlotSlots.types.d.ts +1 -1
- package/FunnelChart/funnelSectionClasses.d.ts +1 -1
- package/FunnelChart/index.d.ts +3 -2
- package/FunnelChart/useFunnelChartProps.d.ts +1 -1
- package/FunnelChart/useFunnelChartProps.js +7 -4
- package/Heatmap/Heatmap.js +1 -1
- package/LineChartPro/LineChartPro.js +2 -1
- package/ScatterChartPro/ScatterChartPro.js +2 -1
- package/esm/BarChartPro/BarChartPro.js +2 -1
- package/esm/ChartContainerPro/useChartContainerProProps.d.ts +1 -1
- package/esm/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/esm/ChartDataProviderPro/useChartDataProviderProProps.d.ts +2 -2
- package/esm/FunnelChart/FunnelChart.js +7 -1
- package/esm/FunnelChart/FunnelPlot.d.ts +5 -0
- package/esm/FunnelChart/FunnelPlot.js +14 -17
- package/esm/FunnelChart/curves/bump.d.ts +24 -0
- package/esm/FunnelChart/curves/bump.js +75 -0
- package/esm/FunnelChart/curves/curve.types.d.ts +8 -0
- package/esm/FunnelChart/curves/curve.types.js +1 -0
- package/esm/FunnelChart/curves/funnelStep.d.ts +25 -0
- package/esm/FunnelChart/{funnelStepCurve.js → curves/funnelStep.js} +32 -19
- package/esm/FunnelChart/curves/getFunnelCurve.d.ts +3 -0
- package/esm/FunnelChart/curves/getFunnelCurve.js +15 -0
- package/esm/FunnelChart/curves/index.d.ts +2 -0
- package/esm/FunnelChart/curves/index.js +2 -0
- package/esm/FunnelChart/curves/linear.d.ts +24 -0
- package/esm/FunnelChart/curves/linear.js +106 -0
- package/esm/FunnelChart/funnel.types.d.ts +2 -2
- package/esm/FunnelChart/funnelPlotSlots.types.d.ts +1 -1
- package/esm/FunnelChart/funnelSectionClasses.d.ts +1 -1
- package/esm/FunnelChart/index.d.ts +3 -2
- package/esm/FunnelChart/useFunnelChartProps.d.ts +1 -1
- package/esm/FunnelChart/useFunnelChartProps.js +7 -4
- package/esm/Heatmap/Heatmap.js +1 -1
- package/esm/LineChartPro/LineChartPro.js +2 -1
- package/esm/ScatterChartPro/ScatterChartPro.js +2 -1
- package/esm/index.js +1 -1
- package/esm/internals/plugins/useChartProExport/common.d.ts +1 -0
- package/esm/internals/plugins/useChartProExport/common.js +8 -0
- package/esm/internals/plugins/useChartProExport/exportImage.d.ts +3 -0
- package/esm/internals/plugins/useChartProExport/exportImage.js +85 -0
- package/esm/internals/plugins/useChartProExport/print.js +6 -50
- package/esm/internals/plugins/useChartProExport/useChartProExport.js +22 -2
- package/esm/internals/plugins/useChartProExport/useChartProExport.types.d.ts +32 -0
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.js +1 -1
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +25 -25
- package/esm/themeAugmentation/components.d.ts +0 -4
- package/esm/themeAugmentation/components.js +1 -0
- package/esm/themeAugmentation/index.d.ts +3 -3
- package/esm/themeAugmentation/overrides.d.ts +0 -3
- package/esm/themeAugmentation/overrides.js +2 -0
- package/esm/themeAugmentation/props.d.ts +0 -6
- package/esm/themeAugmentation/props.js +2 -0
- package/index.js +1 -1
- package/internals/plugins/useChartProExport/common.d.ts +1 -0
- package/internals/plugins/useChartProExport/common.js +14 -0
- package/internals/plugins/useChartProExport/exportImage.d.ts +3 -0
- package/internals/plugins/useChartProExport/exportImage.js +95 -0
- package/internals/plugins/useChartProExport/print.js +6 -50
- package/internals/plugins/useChartProExport/useChartProExport.js +22 -2
- package/internals/plugins/useChartProExport/useChartProExport.types.d.ts +32 -0
- package/internals/plugins/useChartProZoom/useChartProZoom.js +1 -1
- package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +25 -25
- package/package.json +7 -4
- package/themeAugmentation/components.d.ts +0 -4
- package/themeAugmentation/components.js +5 -0
- package/themeAugmentation/index.d.ts +3 -3
- package/themeAugmentation/overrides.d.ts +0 -3
- package/themeAugmentation/overrides.js +5 -0
- package/themeAugmentation/props.d.ts +0 -6
- package/themeAugmentation/props.js +5 -0
- package/FunnelChart/funnelStepCurve.d.ts +0 -4
- package/esm/FunnelChart/funnelStepCurve.d.ts +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChartRootSelector } from '@mui/x-charts/internals';
|
|
2
2
|
import { UseChartProZoomSignature } from "./useChartProZoom.types.js";
|
|
3
3
|
export declare const selectorChartZoomState: ChartRootSelector<UseChartProZoomSignature>;
|
|
4
|
-
export declare const selectorChartZoomIsInteracting: ((state: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("./useChartProZoom.types").UseChartProZoomState & Partial<{}> & {
|
|
4
|
+
export declare const selectorChartZoomIsInteracting: ((state: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
|
|
5
5
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
6
6
|
}) => boolean) & {
|
|
7
7
|
clearCache: () => void;
|
|
@@ -85,8 +85,8 @@ export declare const selectorChartZoomIsEnabled: ((state: import("@mui/x-charts/
|
|
|
85
85
|
resultsCount: () => number;
|
|
86
86
|
resetResultsCount: () => void;
|
|
87
87
|
} & {
|
|
88
|
-
resultFunc: (resultFuncArgs_0: import("@mui/x-charts
|
|
89
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("@mui/x-charts
|
|
88
|
+
resultFunc: (resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedXAxis[] | undefined) => Record<import("@mui/x-charts/internals").AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>;
|
|
89
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedXAxis[] | undefined) => Record<import("@mui/x-charts/internals").AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>) & {
|
|
90
90
|
clearCache: () => void;
|
|
91
91
|
resultsCount: () => number;
|
|
92
92
|
resetResultsCount: () => void;
|
|
@@ -94,27 +94,27 @@ export declare const selectorChartZoomIsEnabled: ((state: import("@mui/x-charts/
|
|
|
94
94
|
lastResult: () => Record<import("@mui/x-charts/internals").AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>;
|
|
95
95
|
dependencies: [((state: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
|
|
96
96
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
97
|
-
}) => import("@mui/x-charts
|
|
97
|
+
}) => import("@mui/x-charts/internals").DefaultedXAxis[] | undefined) & {
|
|
98
98
|
clearCache: () => void;
|
|
99
99
|
resultsCount: () => number;
|
|
100
100
|
resetResultsCount: () => void;
|
|
101
101
|
} & {
|
|
102
102
|
resultFunc: (resultFuncArgs_0: {
|
|
103
|
-
x: import("@mui/x-charts
|
|
104
|
-
y: import("@mui/x-charts
|
|
105
|
-
} | undefined) => import("@mui/x-charts
|
|
103
|
+
x: import("@mui/x-charts/internals").DefaultedXAxis[];
|
|
104
|
+
y: import("@mui/x-charts/internals").DefaultedYAxis[];
|
|
105
|
+
} | undefined) => import("@mui/x-charts/internals").DefaultedXAxis[] | undefined;
|
|
106
106
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
107
|
-
x: import("@mui/x-charts
|
|
108
|
-
y: import("@mui/x-charts
|
|
109
|
-
} | undefined) => import("@mui/x-charts
|
|
107
|
+
x: import("@mui/x-charts/internals").DefaultedXAxis[];
|
|
108
|
+
y: import("@mui/x-charts/internals").DefaultedYAxis[];
|
|
109
|
+
} | undefined) => import("@mui/x-charts/internals").DefaultedXAxis[] | undefined) & {
|
|
110
110
|
clearCache: () => void;
|
|
111
111
|
resultsCount: () => number;
|
|
112
112
|
resetResultsCount: () => void;
|
|
113
113
|
};
|
|
114
|
-
lastResult: () => import("@mui/x-charts
|
|
114
|
+
lastResult: () => import("@mui/x-charts/internals").DefaultedXAxis[] | undefined;
|
|
115
115
|
dependencies: [(state: import("@mui/x-charts/internals").ChartState<[], [import("@mui/x-charts/internals").UseChartCartesianAxisSignature]>) => {
|
|
116
|
-
x: import("@mui/x-charts
|
|
117
|
-
y: import("@mui/x-charts
|
|
116
|
+
x: import("@mui/x-charts/internals").DefaultedXAxis[];
|
|
117
|
+
y: import("@mui/x-charts/internals").DefaultedYAxis[];
|
|
118
118
|
} | undefined];
|
|
119
119
|
recomputations: () => number;
|
|
120
120
|
resetRecomputations: () => void;
|
|
@@ -138,8 +138,8 @@ export declare const selectorChartZoomIsEnabled: ((state: import("@mui/x-charts/
|
|
|
138
138
|
resultsCount: () => number;
|
|
139
139
|
resetResultsCount: () => void;
|
|
140
140
|
} & {
|
|
141
|
-
resultFunc: (resultFuncArgs_0: import("@mui/x-charts
|
|
142
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("@mui/x-charts
|
|
141
|
+
resultFunc: (resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedYAxis[] | undefined) => Record<import("@mui/x-charts/internals").AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>;
|
|
142
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("@mui/x-charts/internals").DefaultedYAxis[] | undefined) => Record<import("@mui/x-charts/internals").AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>) & {
|
|
143
143
|
clearCache: () => void;
|
|
144
144
|
resultsCount: () => number;
|
|
145
145
|
resetResultsCount: () => void;
|
|
@@ -147,27 +147,27 @@ export declare const selectorChartZoomIsEnabled: ((state: import("@mui/x-charts/
|
|
|
147
147
|
lastResult: () => Record<import("@mui/x-charts/internals").AxisId, import("@mui/x-charts/internals").DefaultizedZoomOptions>;
|
|
148
148
|
dependencies: [((state: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & Partial<import("@mui/x-charts/internals").UseChartCartesianAxisState> & {
|
|
149
149
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
150
|
-
}) => import("@mui/x-charts
|
|
150
|
+
}) => import("@mui/x-charts/internals").DefaultedYAxis[] | undefined) & {
|
|
151
151
|
clearCache: () => void;
|
|
152
152
|
resultsCount: () => number;
|
|
153
153
|
resetResultsCount: () => void;
|
|
154
154
|
} & {
|
|
155
155
|
resultFunc: (resultFuncArgs_0: {
|
|
156
|
-
x: import("@mui/x-charts
|
|
157
|
-
y: import("@mui/x-charts
|
|
158
|
-
} | undefined) => import("@mui/x-charts
|
|
156
|
+
x: import("@mui/x-charts/internals").DefaultedXAxis[];
|
|
157
|
+
y: import("@mui/x-charts/internals").DefaultedYAxis[];
|
|
158
|
+
} | undefined) => import("@mui/x-charts/internals").DefaultedYAxis[] | undefined;
|
|
159
159
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
160
|
-
x: import("@mui/x-charts
|
|
161
|
-
y: import("@mui/x-charts
|
|
162
|
-
} | undefined) => import("@mui/x-charts
|
|
160
|
+
x: import("@mui/x-charts/internals").DefaultedXAxis[];
|
|
161
|
+
y: import("@mui/x-charts/internals").DefaultedYAxis[];
|
|
162
|
+
} | undefined) => import("@mui/x-charts/internals").DefaultedYAxis[] | undefined) & {
|
|
163
163
|
clearCache: () => void;
|
|
164
164
|
resultsCount: () => number;
|
|
165
165
|
resetResultsCount: () => void;
|
|
166
166
|
};
|
|
167
|
-
lastResult: () => import("@mui/x-charts
|
|
167
|
+
lastResult: () => import("@mui/x-charts/internals").DefaultedYAxis[] | undefined;
|
|
168
168
|
dependencies: [(state: import("@mui/x-charts/internals").ChartState<[], [import("@mui/x-charts/internals").UseChartCartesianAxisSignature]>) => {
|
|
169
|
-
x: import("@mui/x-charts
|
|
170
|
-
y: import("@mui/x-charts
|
|
169
|
+
x: import("@mui/x-charts/internals").DefaultedXAxis[];
|
|
170
|
+
y: import("@mui/x-charts/internals").DefaultedYAxis[];
|
|
171
171
|
} | undefined];
|
|
172
172
|
recomputations: () => number;
|
|
173
173
|
resetRecomputations: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts-pro",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "The Pro plan edition of the Charts components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"@mui/utils": "^7.0.2",
|
|
34
34
|
"clsx": "^2.1.1",
|
|
35
35
|
"prop-types": "^15.8.1",
|
|
36
|
+
"@mui/x-charts": "8.2.0",
|
|
37
|
+
"@mui/x-internals": "8.2.0",
|
|
36
38
|
"@mui/x-charts-vendor": "8.0.0",
|
|
37
|
-
"@mui/x-
|
|
38
|
-
"@mui/x-license": "8.0.0",
|
|
39
|
-
"@mui/x-charts": "8.1.0"
|
|
39
|
+
"@mui/x-license": "8.2.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@emotion/react": "^11.9.0",
|
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
"optional": true
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
+
"optionalDependencies": {
|
|
58
|
+
"rasterizehtml": "^1.3.1"
|
|
59
|
+
},
|
|
57
60
|
"engines": {
|
|
58
61
|
"node": ">=14.0.0"
|
|
59
62
|
},
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import { ComponentsProps, ComponentsOverrides } from '@mui/material/styles';
|
|
2
2
|
export interface ChartsProComponents<Theme = unknown> {
|
|
3
|
-
// BarChartPro components
|
|
4
3
|
MuiBarChartPro?: {
|
|
5
4
|
defaultProps?: ComponentsProps['MuiBarChartPro'];
|
|
6
5
|
};
|
|
7
|
-
// LineChartPro components
|
|
8
6
|
MuiLineChartPro?: {
|
|
9
7
|
defaultProps?: ComponentsProps['MuiLineChartPro'];
|
|
10
8
|
};
|
|
11
|
-
// Heatmap components
|
|
12
9
|
MuiHeatmap?: {
|
|
13
10
|
defaultProps?: ComponentsProps['MuiHeatmap'];
|
|
14
11
|
styleOverrides?: ComponentsOverrides<Theme>['MuiHeatmap'];
|
|
15
12
|
};
|
|
16
|
-
// ScatterChartPro components
|
|
17
13
|
MuiScatterChartPro?: {
|
|
18
14
|
defaultProps?: ComponentsProps['MuiScatterChartPro'];
|
|
19
15
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type * from '@mui/x-charts/themeAugmentation';
|
|
2
|
-
export type * from
|
|
3
|
-
export type * from
|
|
4
|
-
export type * from
|
|
2
|
+
export type * from "./overrides.js";
|
|
3
|
+
export type * from "./props.js";
|
|
4
|
+
export type * from "./components.js";
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { HeatmapClassKey } from "../Heatmap/index.js";
|
|
2
2
|
export interface ChartsProComponentNameToClassKey {
|
|
3
|
-
// Heatmap components
|
|
4
3
|
MuiHeatmap: HeatmapClassKey;
|
|
5
4
|
}
|
|
6
5
|
declare module '@mui/material/styles' {
|
|
7
6
|
interface ComponentNameToClassKey extends ChartsProComponentNameToClassKey {}
|
|
8
7
|
}
|
|
9
|
-
|
|
10
|
-
// disable automatic export
|
|
11
8
|
export {};
|
|
@@ -3,18 +3,12 @@ import { BarChartProProps } from "../BarChartPro/index.js";
|
|
|
3
3
|
import { HeatmapProps } from "../Heatmap/Heatmap.js";
|
|
4
4
|
import { LineChartProProps } from "../LineChartPro/index.js";
|
|
5
5
|
export interface ChartsProComponentsPropsList {
|
|
6
|
-
// BarChartPro components
|
|
7
6
|
MuiBarChartPro: BarChartProProps;
|
|
8
|
-
// LineChartPro components
|
|
9
7
|
MuiLineChartPro: LineChartProProps;
|
|
10
|
-
// Heatmap components
|
|
11
8
|
MuiHeatmap: HeatmapProps;
|
|
12
|
-
// ScatterChartPro components
|
|
13
9
|
MuiScatterChartPro: ScatterChartProProps;
|
|
14
10
|
}
|
|
15
11
|
declare module '@mui/material/styles' {
|
|
16
12
|
interface ComponentsPropsList extends ChartsProComponentsPropsList {}
|
|
17
13
|
}
|
|
18
|
-
|
|
19
|
-
// disable automatic export
|
|
20
14
|
export {};
|