@mui/x-charts-pro 7.0.0-alpha.1 → 7.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChartPro/BarChartPro.js +6 -1
- package/CHANGELOG.md +151 -2
- package/ChartContainerPro/ChartContainerPro.js +2 -0
- package/Heatmap/Heatmap.js +9 -2
- package/LineChartPro/LineChartPro.js +6 -1
- package/ResponsiveChartContainerPro/ResponsiveChartContainerPro.js +2 -0
- package/ScatterChartPro/ScatterChartPro.js +8 -1
- package/context/CartesianProviderPro/CartesianProviderPro.js +44 -8
- package/context/CartesianProviderPro/createAxisFilterMapper.d.ts +12 -0
- package/context/CartesianProviderPro/createAxisFilterMapper.js +60 -0
- package/context/ZoomProvider/Zoom.types.d.ts +10 -0
- package/context/ZoomProvider/defaultizeZoom.js +2 -1
- package/index.js +1 -1
- package/internals/utils/releaseInfo.js +1 -1
- package/modern/BarChartPro/BarChartPro.js +6 -1
- package/modern/ChartContainerPro/ChartContainerPro.js +2 -0
- package/modern/Heatmap/Heatmap.js +9 -2
- package/modern/LineChartPro/LineChartPro.js +6 -1
- package/modern/ResponsiveChartContainerPro/ResponsiveChartContainerPro.js +2 -0
- package/modern/ScatterChartPro/ScatterChartPro.js +8 -1
- package/modern/context/CartesianProviderPro/CartesianProviderPro.js +44 -8
- package/modern/context/CartesianProviderPro/createAxisFilterMapper.js +60 -0
- package/modern/context/ZoomProvider/defaultizeZoom.js +2 -1
- package/modern/index.js +1 -1
- package/modern/internals/utils/releaseInfo.js +1 -1
- package/modern/themeAugmentation/index.js +4 -0
- package/node/BarChartPro/BarChartPro.js +6 -1
- package/node/ChartContainerPro/ChartContainerPro.js +2 -0
- package/node/Heatmap/Heatmap.js +9 -2
- package/node/LineChartPro/LineChartPro.js +6 -1
- package/node/ResponsiveChartContainerPro/ResponsiveChartContainerPro.js +2 -0
- package/node/ScatterChartPro/ScatterChartPro.js +8 -1
- package/node/context/CartesianProviderPro/CartesianProviderPro.js +45 -8
- package/node/context/CartesianProviderPro/createAxisFilterMapper.js +68 -0
- package/node/context/ZoomProvider/defaultizeZoom.js +2 -1
- package/node/index.js +1 -1
- package/node/internals/utils/releaseInfo.js +1 -1
- package/node/themeAugmentation/index.js +49 -0
- package/package.json +8 -8
- package/themeAugmentation/components.d.ts +25 -0
- package/themeAugmentation/index.d.ts +4 -0
- package/themeAugmentation/index.js +4 -0
- package/themeAugmentation/overrides.d.ts +13 -0
- package/themeAugmentation/package.json +6 -0
- package/themeAugmentation/props.d.ts +22 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComponentsProps, ComponentsOverrides } from '@mui/material/styles';
|
|
2
|
+
|
|
3
|
+
export interface ChartsProComponents<Theme = unknown> {
|
|
4
|
+
// BarChartPro components
|
|
5
|
+
MuiBarChartPro?: {
|
|
6
|
+
defaultProps?: ComponentsProps['MuiBarChartPro'];
|
|
7
|
+
};
|
|
8
|
+
// LineChartPro components
|
|
9
|
+
MuiLineChartPro?: {
|
|
10
|
+
defaultProps?: ComponentsProps['MuiLineChartPro'];
|
|
11
|
+
};
|
|
12
|
+
// Heatmap components
|
|
13
|
+
MuiHeatmap?: {
|
|
14
|
+
defaultProps?: ComponentsProps['MuiHeatmap'];
|
|
15
|
+
styleOverrides?: ComponentsOverrides<Theme>['MuiHeatmap'];
|
|
16
|
+
};
|
|
17
|
+
// ScatterChartPro components
|
|
18
|
+
MuiScatterChartPro?: {
|
|
19
|
+
defaultProps?: ComponentsProps['MuiScatterChartPro'];
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare module '@mui/material/styles' {
|
|
24
|
+
interface Components<Theme = unknown> extends ChartsProComponents<Theme> {}
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HeatmapClassKey } from '../Heatmap';
|
|
2
|
+
|
|
3
|
+
export interface ChartsProComponentNameToClassKey {
|
|
4
|
+
// Heatmap components
|
|
5
|
+
MuiHeatmap: HeatmapClassKey;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare module '@mui/material/styles' {
|
|
9
|
+
interface ComponentNameToClassKey extends ChartsProComponentNameToClassKey {}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// disable automatic export
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ScatterChartProProps } from '../ScatterChartPro';
|
|
2
|
+
import { BarChartProProps } from '../BarChartPro';
|
|
3
|
+
import { HeatmapProps } from '../Heatmap/Heatmap';
|
|
4
|
+
import { LineChartProProps } from '../LineChartPro';
|
|
5
|
+
|
|
6
|
+
export interface ChartsProComponentsPropsList {
|
|
7
|
+
// BarChartPro components
|
|
8
|
+
MuiBarChartPro: BarChartProProps;
|
|
9
|
+
// LineChartPro components
|
|
10
|
+
MuiLineChartPro: LineChartProProps;
|
|
11
|
+
// Heatmap components
|
|
12
|
+
MuiHeatmap: HeatmapProps;
|
|
13
|
+
// ScatterChartPro components
|
|
14
|
+
MuiScatterChartPro: ScatterChartProProps;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare module '@mui/material/styles' {
|
|
18
|
+
interface ComponentsPropsList extends ChartsProComponentsPropsList {}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// disable automatic export
|
|
22
|
+
export {};
|