@mantine/charts 9.0.0-alpha.7 → 9.0.1
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/README.md +2 -2
- package/cjs/AreaChart/AreaChart.cjs +2 -2
- package/cjs/AreaChart/AreaChart.cjs.map +1 -1
- package/cjs/BarChart/BarChart.cjs +2 -2
- package/cjs/BarChart/BarChart.cjs.map +1 -1
- package/cjs/BarsList/BarsList.cjs.map +1 -1
- package/cjs/BubbleChart/BubbleChart.cjs.map +1 -1
- package/cjs/CompositeChart/CompositeChart.cjs +2 -2
- package/cjs/CompositeChart/CompositeChart.cjs.map +1 -1
- package/cjs/DonutChart/DonutChart.cjs.map +1 -1
- package/cjs/FunnelChart/FunnelChart.cjs.map +1 -1
- package/cjs/Heatmap/Heatmap.cjs.map +1 -1
- package/cjs/LineChart/LineChart.cjs +2 -2
- package/cjs/LineChart/LineChart.cjs.map +1 -1
- package/cjs/PieChart/PieChart.cjs.map +1 -1
- package/cjs/RadarChart/RadarChart.cjs.map +1 -1
- package/cjs/RadialBarChart/RadialBarChart.cjs.map +1 -1
- package/cjs/ScatterChart/ScatterChart.cjs +2 -2
- package/cjs/ScatterChart/ScatterChart.cjs.map +1 -1
- package/cjs/Sparkline/Sparkline.cjs.map +1 -1
- package/esm/AreaChart/AreaChart.mjs +2 -2
- package/esm/AreaChart/AreaChart.mjs.map +1 -1
- package/esm/BarChart/BarChart.mjs +2 -2
- package/esm/BarChart/BarChart.mjs.map +1 -1
- package/esm/BarsList/BarsList.mjs.map +1 -1
- package/esm/BubbleChart/BubbleChart.mjs.map +1 -1
- package/esm/CompositeChart/CompositeChart.mjs +2 -2
- package/esm/CompositeChart/CompositeChart.mjs.map +1 -1
- package/esm/DonutChart/DonutChart.mjs.map +1 -1
- package/esm/FunnelChart/FunnelChart.mjs.map +1 -1
- package/esm/Heatmap/Heatmap.mjs.map +1 -1
- package/esm/LineChart/LineChart.mjs +2 -2
- package/esm/LineChart/LineChart.mjs.map +1 -1
- package/esm/PieChart/PieChart.mjs.map +1 -1
- package/esm/RadarChart/RadarChart.mjs.map +1 -1
- package/esm/RadialBarChart/RadialBarChart.mjs.map +1 -1
- package/esm/ScatterChart/ScatterChart.mjs +2 -2
- package/esm/ScatterChart/ScatterChart.mjs.map +1 -1
- package/esm/Sparkline/Sparkline.mjs.map +1 -1
- package/lib/AreaChart/AreaChart.d.ts +8 -0
- package/lib/AreaChart/index.d.ts +0 -8
- package/lib/BarChart/BarChart.d.ts +8 -0
- package/lib/BarChart/index.d.ts +0 -8
- package/lib/BarsList/BarsList.d.ts +6 -0
- package/lib/BarsList/index.d.ts +0 -6
- package/lib/BubbleChart/BubbleChart.d.ts +7 -0
- package/lib/BubbleChart/index.d.ts +0 -7
- package/lib/CompositeChart/CompositeChart.d.ts +8 -0
- package/lib/CompositeChart/index.d.ts +0 -8
- package/lib/DonutChart/DonutChart.d.ts +7 -0
- package/lib/DonutChart/index.d.ts +0 -7
- package/lib/FunnelChart/FunnelChart.d.ts +7 -0
- package/lib/FunnelChart/index.d.ts +0 -7
- package/lib/Heatmap/Heatmap.d.ts +5 -0
- package/lib/Heatmap/index.d.ts +0 -5
- package/lib/LineChart/LineChart.d.ts +8 -0
- package/lib/LineChart/index.d.ts +0 -8
- package/lib/PieChart/PieChart.d.ts +7 -0
- package/lib/PieChart/index.d.ts +0 -7
- package/lib/RadarChart/RadarChart.d.ts +7 -0
- package/lib/RadarChart/index.d.ts +0 -7
- package/lib/RadialBarChart/RadialBarChart.d.ts +6 -0
- package/lib/RadialBarChart/index.d.ts +0 -6
- package/lib/ScatterChart/ScatterChart.d.ts +7 -0
- package/lib/ScatterChart/index.d.ts +0 -7
- package/lib/Sparkline/Sparkline.d.ts +6 -0
- package/lib/Sparkline/index.d.ts +0 -6
- package/lib/types.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
import type { CompositeChartCssVariables, CompositeChartCurveType, CompositeChartFactory, CompositeChartProps, CompositeChartSeries, CompositeChartStylesNames } from './CompositeChart';
|
|
2
2
|
export { CompositeChart } from './CompositeChart';
|
|
3
3
|
export type { CompositeChartProps, CompositeChartStylesNames, CompositeChartCssVariables, CompositeChartFactory, CompositeChartSeries, CompositeChartCurveType, };
|
|
4
|
-
export declare namespace CompositeChart {
|
|
5
|
-
type Props = CompositeChartProps;
|
|
6
|
-
type StylesNames = CompositeChartStylesNames;
|
|
7
|
-
type CssVariables = CompositeChartCssVariables;
|
|
8
|
-
type Factory = CompositeChartFactory;
|
|
9
|
-
type Series = CompositeChartSeries;
|
|
10
|
-
type CurveType = CompositeChartCurveType;
|
|
11
|
-
}
|
|
@@ -68,3 +68,10 @@ export declare const DonutChart: import("@mantine/core").MantineComponent<{
|
|
|
68
68
|
stylesNames: DonutChartStylesNames;
|
|
69
69
|
vars: DonutChartCssVariables;
|
|
70
70
|
}>;
|
|
71
|
+
export declare namespace DonutChart {
|
|
72
|
+
type Props = DonutChartProps;
|
|
73
|
+
type StylesNames = DonutChartStylesNames;
|
|
74
|
+
type Factory = DonutChartFactory;
|
|
75
|
+
type CssVariables = DonutChartCssVariables;
|
|
76
|
+
type Cell = DonutChartCell;
|
|
77
|
+
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import type { DonutChartCell, DonutChartCssVariables, DonutChartFactory, DonutChartProps, DonutChartStylesNames } from './DonutChart';
|
|
2
2
|
export { DonutChart } from './DonutChart';
|
|
3
3
|
export type { DonutChartProps, DonutChartStylesNames, DonutChartFactory, DonutChartCssVariables, DonutChartCell, };
|
|
4
|
-
export declare namespace DonutChart {
|
|
5
|
-
type Props = DonutChartProps;
|
|
6
|
-
type StylesNames = DonutChartStylesNames;
|
|
7
|
-
type Factory = DonutChartFactory;
|
|
8
|
-
type CssVariables = DonutChartCssVariables;
|
|
9
|
-
type Cell = DonutChartCell;
|
|
10
|
-
}
|
|
@@ -55,3 +55,10 @@ export declare const FunnelChart: import("@mantine/core").MantineComponent<{
|
|
|
55
55
|
stylesNames: FunnelChartStylesNames;
|
|
56
56
|
vars: FunnelChartCssVariables;
|
|
57
57
|
}>;
|
|
58
|
+
export declare namespace FunnelChart {
|
|
59
|
+
type Props = FunnelChartProps;
|
|
60
|
+
type StylesNames = FunnelChartStylesNames;
|
|
61
|
+
type Factory = FunnelChartFactory;
|
|
62
|
+
type CssVariables = FunnelChartCssVariables;
|
|
63
|
+
type Cell = FunnelChartCell;
|
|
64
|
+
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import type { FunnelChartCell, FunnelChartCssVariables, FunnelChartFactory, FunnelChartProps, FunnelChartStylesNames } from './FunnelChart';
|
|
2
2
|
export { FunnelChart } from './FunnelChart';
|
|
3
3
|
export type { FunnelChartProps, FunnelChartStylesNames, FunnelChartFactory, FunnelChartCssVariables, FunnelChartCell, };
|
|
4
|
-
export declare namespace FunnelChart {
|
|
5
|
-
type Props = FunnelChartProps;
|
|
6
|
-
type StylesNames = FunnelChartStylesNames;
|
|
7
|
-
type Factory = FunnelChartFactory;
|
|
8
|
-
type CssVariables = FunnelChartCssVariables;
|
|
9
|
-
type Cell = FunnelChartCell;
|
|
10
|
-
}
|
package/lib/Heatmap/Heatmap.d.ts
CHANGED
|
@@ -60,4 +60,9 @@ export declare const Heatmap: import("@mantine/core").MantineComponent<{
|
|
|
60
60
|
ref: SVGSVGElement;
|
|
61
61
|
stylesNames: HeatmapStylesNames;
|
|
62
62
|
}>;
|
|
63
|
+
export declare namespace Heatmap {
|
|
64
|
+
type Props = HeatmapProps;
|
|
65
|
+
type StylesNames = HeatmapStylesNames;
|
|
66
|
+
type Factory = HeatmapFactory;
|
|
67
|
+
}
|
|
63
68
|
export {};
|
package/lib/Heatmap/index.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
import type { HeatmapFactory, HeatmapProps, HeatmapStylesNames } from './Heatmap';
|
|
2
2
|
export { Heatmap } from './Heatmap';
|
|
3
3
|
export type { HeatmapProps, HeatmapStylesNames, HeatmapFactory };
|
|
4
|
-
export declare namespace Heatmap {
|
|
5
|
-
type Props = HeatmapProps;
|
|
6
|
-
type StylesNames = HeatmapStylesNames;
|
|
7
|
-
type Factory = HeatmapFactory;
|
|
8
|
-
}
|
|
@@ -61,3 +61,11 @@ export declare const LineChart: import("@mantine/core").MantineComponent<{
|
|
|
61
61
|
stylesNames: LineChartStylesNames;
|
|
62
62
|
vars: LineChartCssVariables;
|
|
63
63
|
}>;
|
|
64
|
+
export declare namespace LineChart {
|
|
65
|
+
type Props = LineChartProps;
|
|
66
|
+
type CssVariables = LineChartCssVariables;
|
|
67
|
+
type Factory = LineChartFactory;
|
|
68
|
+
type Series = LineChartSeries;
|
|
69
|
+
type StylesNames = LineChartStylesNames;
|
|
70
|
+
type CurveType = LineChartCurveType;
|
|
71
|
+
}
|
package/lib/LineChart/index.d.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
import type { LineChartCssVariables, LineChartCurveType, LineChartFactory, LineChartProps, LineChartSeries, LineChartStylesNames } from './LineChart';
|
|
2
2
|
export { LineChart } from './LineChart';
|
|
3
3
|
export type { LineChartProps, LineChartCssVariables, LineChartFactory, LineChartSeries, LineChartStylesNames, LineChartCurveType, };
|
|
4
|
-
export declare namespace LineChart {
|
|
5
|
-
type Props = LineChartProps;
|
|
6
|
-
type CssVariables = LineChartCssVariables;
|
|
7
|
-
type Factory = LineChartFactory;
|
|
8
|
-
type Series = LineChartSeries;
|
|
9
|
-
type StylesNames = LineChartStylesNames;
|
|
10
|
-
type CurveType = LineChartCurveType;
|
|
11
|
-
}
|
|
@@ -67,3 +67,10 @@ export declare const PieChart: import("@mantine/core").MantineComponent<{
|
|
|
67
67
|
stylesNames: PieChartStylesNames;
|
|
68
68
|
vars: PieChartCssVariables;
|
|
69
69
|
}>;
|
|
70
|
+
export declare namespace PieChart {
|
|
71
|
+
type Props = PieChartProps;
|
|
72
|
+
type StylesNames = PieChartStylesNames;
|
|
73
|
+
type CssVariables = PieChartCssVariables;
|
|
74
|
+
type Factory = PieChartFactory;
|
|
75
|
+
type Cell = PieChartCell;
|
|
76
|
+
}
|
package/lib/PieChart/index.d.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import type { PieChartCell, PieChartCssVariables, PieChartFactory, PieChartProps, PieChartStylesNames } from './PieChart';
|
|
2
2
|
export { PieChart } from './PieChart';
|
|
3
3
|
export type { PieChartProps, PieChartStylesNames, PieChartCssVariables, PieChartFactory, PieChartCell, };
|
|
4
|
-
export declare namespace PieChart {
|
|
5
|
-
type Props = PieChartProps;
|
|
6
|
-
type StylesNames = PieChartStylesNames;
|
|
7
|
-
type CssVariables = PieChartCssVariables;
|
|
8
|
-
type Factory = PieChartFactory;
|
|
9
|
-
type Cell = PieChartCell;
|
|
10
|
-
}
|
|
@@ -72,3 +72,10 @@ export declare const RadarChart: import("@mantine/core").MantineComponent<{
|
|
|
72
72
|
stylesNames: RadarChartStylesNames;
|
|
73
73
|
vars: RadarChartCssVariables;
|
|
74
74
|
}>;
|
|
75
|
+
export declare namespace RadarChart {
|
|
76
|
+
type Props = RadarChartProps;
|
|
77
|
+
type StylesNames = RadarChartStylesNames;
|
|
78
|
+
type CssVariables = RadarChartCssVariables;
|
|
79
|
+
type Factory = RadarChartFactory;
|
|
80
|
+
type Series = RadarChartSeries;
|
|
81
|
+
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import type { RadarChartCssVariables, RadarChartFactory, RadarChartProps, RadarChartSeries, RadarChartStylesNames } from './RadarChart';
|
|
2
2
|
export { RadarChart } from './RadarChart';
|
|
3
3
|
export type { RadarChartProps, RadarChartStylesNames, RadarChartCssVariables, RadarChartFactory, RadarChartSeries, };
|
|
4
|
-
export declare namespace RadarChart {
|
|
5
|
-
type Props = RadarChartProps;
|
|
6
|
-
type StylesNames = RadarChartStylesNames;
|
|
7
|
-
type CssVariables = RadarChartCssVariables;
|
|
8
|
-
type Factory = RadarChartFactory;
|
|
9
|
-
type Series = RadarChartSeries;
|
|
10
|
-
}
|
|
@@ -47,3 +47,9 @@ export declare const RadialBarChart: import("@mantine/core").MantineComponent<{
|
|
|
47
47
|
stylesNames: RadialBarChartStylesNames;
|
|
48
48
|
vars: RadialBarChartCssVariables;
|
|
49
49
|
}>;
|
|
50
|
+
export declare namespace RadialBarChart {
|
|
51
|
+
type Props = RadialBarChartProps;
|
|
52
|
+
type StylesNames = RadialBarChartStylesNames;
|
|
53
|
+
type CssVariables = RadialBarChartCssVariables;
|
|
54
|
+
type Factory = RadialBarChartFactory;
|
|
55
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { RadialBarChartCssVariables, RadialBarChartFactory, RadialBarChartProps, RadialBarChartStylesNames } from './RadialBarChart';
|
|
2
2
|
export { RadialBarChart } from './RadialBarChart';
|
|
3
3
|
export type { RadialBarChartProps, RadialBarChartStylesNames, RadialBarChartCssVariables, RadialBarChartFactory, };
|
|
4
|
-
export declare namespace RadialBarChart {
|
|
5
|
-
type Props = RadialBarChartProps;
|
|
6
|
-
type StylesNames = RadialBarChartStylesNames;
|
|
7
|
-
type CssVariables = RadialBarChartCssVariables;
|
|
8
|
-
type Factory = RadialBarChartFactory;
|
|
9
|
-
}
|
|
@@ -54,3 +54,10 @@ export declare const ScatterChart: import("@mantine/core").MantineComponent<{
|
|
|
54
54
|
stylesNames: ScatterChartStylesNames;
|
|
55
55
|
vars: ScatterChartCssVariables;
|
|
56
56
|
}>;
|
|
57
|
+
export declare namespace ScatterChart {
|
|
58
|
+
type Props = ScatterChartProps;
|
|
59
|
+
type StylesNames = ScatterChartStylesNames;
|
|
60
|
+
type CssVariables = ScatterChartCssVariables;
|
|
61
|
+
type Factory = ScatterChartFactory;
|
|
62
|
+
type Series = ScatterChartSeries;
|
|
63
|
+
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import type { ScatterChartCssVariables, ScatterChartFactory, ScatterChartProps, ScatterChartSeries, ScatterChartStylesNames } from './ScatterChart';
|
|
2
2
|
export { ScatterChart } from './ScatterChart';
|
|
3
3
|
export type { ScatterChartProps, ScatterChartStylesNames, ScatterChartCssVariables, ScatterChartFactory, ScatterChartSeries, };
|
|
4
|
-
export declare namespace ScatterChart {
|
|
5
|
-
type Props = ScatterChartProps;
|
|
6
|
-
type StylesNames = ScatterChartStylesNames;
|
|
7
|
-
type CssVariables = ScatterChartCssVariables;
|
|
8
|
-
type Factory = ScatterChartFactory;
|
|
9
|
-
type Series = ScatterChartSeries;
|
|
10
|
-
}
|
|
@@ -42,3 +42,9 @@ export declare const Sparkline: import("@mantine/core").MantineComponent<{
|
|
|
42
42
|
stylesNames: SparklineStylesNames;
|
|
43
43
|
vars: SparklineCssVariables;
|
|
44
44
|
}>;
|
|
45
|
+
export declare namespace Sparkline {
|
|
46
|
+
type Props = SparklineProps;
|
|
47
|
+
type StylesNames = SparklineStylesNames;
|
|
48
|
+
type CssVariables = SparklineCssVariables;
|
|
49
|
+
type Factory = SparklineFactory;
|
|
50
|
+
}
|
package/lib/Sparkline/index.d.ts
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { SparklineCssVariables, SparklineFactory, SparklineProps, SparklineStylesNames } from './Sparkline';
|
|
2
2
|
export { Sparkline } from './Sparkline';
|
|
3
3
|
export type { SparklineProps, SparklineStylesNames, SparklineCssVariables, SparklineFactory };
|
|
4
|
-
export declare namespace Sparkline {
|
|
5
|
-
type Props = SparklineProps;
|
|
6
|
-
type StylesNames = SparklineStylesNames;
|
|
7
|
-
type CssVariables = SparklineCssVariables;
|
|
8
|
-
type Factory = SparklineFactory;
|
|
9
|
-
}
|
package/lib/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { CartesianGridProps, DotProps, LabelProps, LegendProps, ReferenceLi
|
|
|
2
2
|
import type { MantineColor } from '@mantine/core';
|
|
3
3
|
export interface ChartReferenceLineProps extends Omit<ReferenceLineProps, 'ref' | 'label'> {
|
|
4
4
|
color?: MantineColor;
|
|
5
|
-
label?: string
|
|
5
|
+
label?: string | Omit<LabelProps, 'ref'>;
|
|
6
6
|
labelPosition?: LabelProps['position'];
|
|
7
7
|
}
|
|
8
8
|
export interface ChartSeries {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/charts",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "Charts components built with recharts and Mantine",
|
|
5
5
|
"homepage": "https://mantine.dev/",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"directory": "packages/@mantine/charts"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@mantine/core": "9.0.
|
|
39
|
-
"@mantine/hooks": "9.0.
|
|
38
|
+
"@mantine/core": "9.0.1",
|
|
39
|
+
"@mantine/hooks": "9.0.1",
|
|
40
40
|
"react": "^19.2.0",
|
|
41
41
|
"react-dom": "^19.2.0",
|
|
42
42
|
"recharts": ">=3.2.1"
|