@react-magma/charts 12.0.0-next.6 → 12.0.1-next.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/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +308 -10
- package/dist/components/CarbonChart/CarbonChartAreaStacked.stories.d.ts +134 -5
- package/dist/components/CarbonChart/CarbonChartBar.stories.d.ts +212 -10
- package/dist/components/CarbonChart/CarbonChartBarFloating.stories.d.ts +80 -4
- package/dist/components/CarbonChart/CarbonChartBarGrouped.stories.d.ts +232 -11
- package/dist/components/CarbonChart/CarbonChartBarStacked.stories.d.ts +264 -12
- package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +51 -3
- package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +194 -7
- package/dist/components/CarbonChart/CarbonChartBullet.stories.d.ts +33 -2
- package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +578 -13
- package/dist/components/CarbonChart/CarbonChartDonut.stories.d.ts +118 -6
- package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +41 -3
- package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +87 -4
- package/dist/components/CarbonChart/CarbonChartLine.stories.d.ts +575 -18
- package/dist/components/CarbonChart/CarbonChartLollipop.stories.d.ts +53 -3
- package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +125 -6
- package/dist/components/CarbonChart/CarbonChartPie.stories.d.ts +99 -6
- package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +96 -5
- package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +171 -7
- package/dist/components/CarbonChart/CarbonChartSparkline.stories.d.ts +49 -2
- package/dist/components/CarbonChart/CarbonChartStep.stories.d.ts +36 -2
- package/dist/components/LineChart/LineChart.stories.d.ts +132 -21
- package/package.json +3 -3
- package/src/components/CarbonChart/CarbonChartArea.stories.tsx +674 -649
- package/src/components/CarbonChart/CarbonChartAreaStacked.stories.tsx +424 -414
- package/src/components/CarbonChart/CarbonChartBar.stories.tsx +352 -325
- package/src/components/CarbonChart/CarbonChartBarFloating.stories.tsx +127 -116
- package/src/components/CarbonChart/CarbonChartBarGrouped.stories.tsx +872 -843
- package/src/components/CarbonChart/CarbonChartBarStacked.stories.tsx +913 -879
- package/src/components/CarbonChart/CarbonChartBoxplot.stories.tsx +238 -232
- package/src/components/CarbonChart/CarbonChartBubble.stories.tsx +565 -547
- package/src/components/CarbonChart/CarbonChartBullet.stories.tsx +59 -56
- package/src/components/CarbonChart/CarbonChartCombo.stories.tsx +1335 -1299
- package/src/components/CarbonChart/CarbonChartDonut.stories.tsx +170 -153
- package/src/components/CarbonChart/CarbonChartGauge.stories.tsx +50 -44
- package/src/components/CarbonChart/CarbonChartHistogram.stories.tsx +733 -724
- package/src/components/CarbonChart/CarbonChartLine.stories.tsx +1656 -1605
- package/src/components/CarbonChart/CarbonChartLollipop.stories.tsx +81 -76
- package/src/components/CarbonChart/CarbonChartMeter.stories.tsx +177 -162
- package/src/components/CarbonChart/CarbonChartPie.stories.tsx +154 -139
- package/src/components/CarbonChart/CarbonChartRadar.stories.tsx +445 -433
- package/src/components/CarbonChart/CarbonChartScatter.stories.tsx +427 -409
- package/src/components/CarbonChart/CarbonChartSparkline.stories.tsx +191 -188
- package/src/components/CarbonChart/CarbonChartStep.stories.tsx +145 -142
- package/src/components/LineChart/LineChart.stories.tsx +91 -104
|
@@ -1,23 +1,134 @@
|
|
|
1
|
-
import { ChartProps } from './index';
|
|
2
1
|
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
3
2
|
export default _default;
|
|
4
|
-
export declare const Default:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
3
|
+
export declare const Default: {
|
|
4
|
+
args: {
|
|
5
|
+
data: {
|
|
6
|
+
name: string;
|
|
7
|
+
data: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
label: string;
|
|
11
|
+
}[];
|
|
12
|
+
}[];
|
|
13
|
+
description: string;
|
|
14
|
+
title: string;
|
|
15
|
+
type: string;
|
|
16
|
+
componentProps: {
|
|
17
|
+
xAxis: {
|
|
18
|
+
label: string;
|
|
19
|
+
tickFormat: string[];
|
|
20
|
+
};
|
|
21
|
+
yAxis: {
|
|
22
|
+
domain: number[];
|
|
23
|
+
label: string;
|
|
24
|
+
tickFormat: (t: any) => string;
|
|
25
|
+
tickValues: number[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const ExplicitData: {
|
|
31
|
+
args: {
|
|
32
|
+
componentProps: {
|
|
33
|
+
xAxis: {
|
|
34
|
+
tickFormat: string[];
|
|
35
|
+
label: string;
|
|
36
|
+
};
|
|
37
|
+
yAxis: {
|
|
38
|
+
domain: number[];
|
|
39
|
+
label: string;
|
|
40
|
+
tickFormat: (t: any) => string;
|
|
41
|
+
tickValues: number[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
data: {
|
|
45
|
+
name: string;
|
|
46
|
+
data: {
|
|
47
|
+
month: number;
|
|
48
|
+
sales: number;
|
|
49
|
+
label: string;
|
|
50
|
+
}[];
|
|
51
|
+
}[];
|
|
52
|
+
x: string;
|
|
53
|
+
y: string;
|
|
54
|
+
description: string;
|
|
55
|
+
title: string;
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export declare const HistoryOfTexas: {
|
|
60
|
+
args: {
|
|
61
|
+
description: string;
|
|
62
|
+
title: string;
|
|
63
|
+
componentProps: {
|
|
64
|
+
xAxis: {
|
|
65
|
+
label: string;
|
|
66
|
+
tickValues: number[];
|
|
67
|
+
};
|
|
68
|
+
yAxis: {
|
|
69
|
+
label: string;
|
|
70
|
+
tickFormat: (t: any) => any;
|
|
71
|
+
tickValues: number[];
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
data: {
|
|
75
|
+
name: string;
|
|
76
|
+
data: {
|
|
77
|
+
year: number;
|
|
78
|
+
number: number;
|
|
79
|
+
label: string;
|
|
80
|
+
}[];
|
|
81
|
+
}[];
|
|
82
|
+
x: string;
|
|
83
|
+
y: string;
|
|
84
|
+
type: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export declare const SpendingRevenue: {
|
|
88
|
+
args: {
|
|
89
|
+
data: {
|
|
90
|
+
name: string;
|
|
91
|
+
data: {
|
|
92
|
+
x: string;
|
|
93
|
+
y: number;
|
|
94
|
+
label: string;
|
|
95
|
+
}[];
|
|
96
|
+
}[];
|
|
97
|
+
title: string;
|
|
98
|
+
type: string;
|
|
99
|
+
componentProps: {
|
|
100
|
+
xAxis: {
|
|
101
|
+
label: string;
|
|
102
|
+
};
|
|
103
|
+
yAxis: {
|
|
104
|
+
label: string;
|
|
105
|
+
tickValues: number[];
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export declare const VotingParticipation: {
|
|
111
|
+
args: {
|
|
112
|
+
data: {
|
|
113
|
+
name: string;
|
|
114
|
+
data: {
|
|
115
|
+
year: string;
|
|
116
|
+
percent: number;
|
|
117
|
+
label: string;
|
|
118
|
+
}[];
|
|
119
|
+
}[];
|
|
120
|
+
title: string;
|
|
121
|
+
type: string;
|
|
122
|
+
componentProps: {
|
|
123
|
+
xAxis: {
|
|
124
|
+
label: string;
|
|
125
|
+
};
|
|
126
|
+
yAxis: {
|
|
127
|
+
domain: number[];
|
|
128
|
+
label: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
x: string;
|
|
132
|
+
y: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-magma/charts",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.1-next.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"identity-obj-proxy": "^3.0.0",
|
|
40
40
|
"react": "^17.0.2",
|
|
41
41
|
"react-dom": "^17.0.2",
|
|
42
|
-
"react-magma-dom": "^4.10.
|
|
42
|
+
"react-magma-dom": "^4.10.1-next.0",
|
|
43
43
|
"react-magma-icons": "^3.2.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@emotion/styled": "^11.13.0",
|
|
48
48
|
"react": "^17.0.2",
|
|
49
49
|
"react-dom": "^17.0.2",
|
|
50
|
-
"react-magma-dom": "^4.10.
|
|
50
|
+
"react-magma-dom": "^4.10.1-next.0",
|
|
51
51
|
"react-magma-icons": "^3.2.0"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|