@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.
Files changed (45) hide show
  1. package/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +308 -10
  2. package/dist/components/CarbonChart/CarbonChartAreaStacked.stories.d.ts +134 -5
  3. package/dist/components/CarbonChart/CarbonChartBar.stories.d.ts +212 -10
  4. package/dist/components/CarbonChart/CarbonChartBarFloating.stories.d.ts +80 -4
  5. package/dist/components/CarbonChart/CarbonChartBarGrouped.stories.d.ts +232 -11
  6. package/dist/components/CarbonChart/CarbonChartBarStacked.stories.d.ts +264 -12
  7. package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +51 -3
  8. package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +194 -7
  9. package/dist/components/CarbonChart/CarbonChartBullet.stories.d.ts +33 -2
  10. package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +578 -13
  11. package/dist/components/CarbonChart/CarbonChartDonut.stories.d.ts +118 -6
  12. package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +41 -3
  13. package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +87 -4
  14. package/dist/components/CarbonChart/CarbonChartLine.stories.d.ts +575 -18
  15. package/dist/components/CarbonChart/CarbonChartLollipop.stories.d.ts +53 -3
  16. package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +125 -6
  17. package/dist/components/CarbonChart/CarbonChartPie.stories.d.ts +99 -6
  18. package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +96 -5
  19. package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +171 -7
  20. package/dist/components/CarbonChart/CarbonChartSparkline.stories.d.ts +49 -2
  21. package/dist/components/CarbonChart/CarbonChartStep.stories.d.ts +36 -2
  22. package/dist/components/LineChart/LineChart.stories.d.ts +132 -21
  23. package/package.json +3 -3
  24. package/src/components/CarbonChart/CarbonChartArea.stories.tsx +674 -649
  25. package/src/components/CarbonChart/CarbonChartAreaStacked.stories.tsx +424 -414
  26. package/src/components/CarbonChart/CarbonChartBar.stories.tsx +352 -325
  27. package/src/components/CarbonChart/CarbonChartBarFloating.stories.tsx +127 -116
  28. package/src/components/CarbonChart/CarbonChartBarGrouped.stories.tsx +872 -843
  29. package/src/components/CarbonChart/CarbonChartBarStacked.stories.tsx +913 -879
  30. package/src/components/CarbonChart/CarbonChartBoxplot.stories.tsx +238 -232
  31. package/src/components/CarbonChart/CarbonChartBubble.stories.tsx +565 -547
  32. package/src/components/CarbonChart/CarbonChartBullet.stories.tsx +59 -56
  33. package/src/components/CarbonChart/CarbonChartCombo.stories.tsx +1335 -1299
  34. package/src/components/CarbonChart/CarbonChartDonut.stories.tsx +170 -153
  35. package/src/components/CarbonChart/CarbonChartGauge.stories.tsx +50 -44
  36. package/src/components/CarbonChart/CarbonChartHistogram.stories.tsx +733 -724
  37. package/src/components/CarbonChart/CarbonChartLine.stories.tsx +1656 -1605
  38. package/src/components/CarbonChart/CarbonChartLollipop.stories.tsx +81 -76
  39. package/src/components/CarbonChart/CarbonChartMeter.stories.tsx +177 -162
  40. package/src/components/CarbonChart/CarbonChartPie.stories.tsx +154 -139
  41. package/src/components/CarbonChart/CarbonChartRadar.stories.tsx +445 -433
  42. package/src/components/CarbonChart/CarbonChartScatter.stories.tsx +427 -409
  43. package/src/components/CarbonChart/CarbonChartSparkline.stories.tsx +191 -188
  44. package/src/components/CarbonChart/CarbonChartStep.stories.tsx +145 -142
  45. package/src/components/LineChart/LineChart.stories.tsx +91 -104
@@ -1,9 +1,196 @@
1
- import { CarbonChartProps } from '.';
1
+ import { CarbonChartProps, CarbonChartType } from '.';
2
2
  declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
3
  export default _default;
4
- export declare const BubbleLinear: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
5
- export declare const BubbleTimeSeries: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
- export declare const BubbleDiscrete: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
7
- export declare const BubbleDualDiscreteAxes: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
8
- export declare const BubbleEmptyState: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
9
- export declare const BubbleSkeleton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const BubbleLinear: {
5
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
+ args: {
7
+ isInverse: boolean;
8
+ type: CarbonChartType;
9
+ dataSet: {
10
+ group: string;
11
+ sales: number;
12
+ profit: number;
13
+ surplus: number;
14
+ }[];
15
+ options: {
16
+ title: string;
17
+ axes: {
18
+ bottom: {
19
+ title: string;
20
+ mapsTo: string;
21
+ includeZero: boolean;
22
+ };
23
+ left: {
24
+ title: string;
25
+ mapsTo: string;
26
+ includeZero: boolean;
27
+ };
28
+ };
29
+ bubble: {
30
+ radiusMapsTo: string;
31
+ radiusLabel: string;
32
+ };
33
+ legend: {
34
+ additionalItems: {
35
+ type: string;
36
+ name: string;
37
+ }[];
38
+ };
39
+ height: string;
40
+ };
41
+ };
42
+ };
43
+ export declare const BubbleTimeSeries: {
44
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
45
+ args: {
46
+ isInverse: boolean;
47
+ type: CarbonChartType;
48
+ dataSet: ({
49
+ group: string;
50
+ date: string;
51
+ value: number;
52
+ surplus: number;
53
+ } | {
54
+ group: string;
55
+ date: string;
56
+ value: null;
57
+ surplus: number;
58
+ })[];
59
+ options: {
60
+ title: string;
61
+ axes: {
62
+ bottom: {
63
+ title: string;
64
+ scaleType: string;
65
+ mapsTo: string;
66
+ };
67
+ left: {
68
+ mapsTo: string;
69
+ };
70
+ };
71
+ bubble: {
72
+ radiusMapsTo: string;
73
+ };
74
+ height: string;
75
+ };
76
+ };
77
+ };
78
+ export declare const BubbleDiscrete: {
79
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
80
+ args: {
81
+ isInverse: boolean;
82
+ type: CarbonChartType;
83
+ dataSet: {
84
+ group: string;
85
+ key: string;
86
+ value: number;
87
+ surplus: number;
88
+ }[];
89
+ options: {
90
+ title: string;
91
+ axes: {
92
+ bottom: {
93
+ title: string;
94
+ scaleType: string;
95
+ mapsTo: string;
96
+ };
97
+ left: {
98
+ mapsTo: string;
99
+ };
100
+ };
101
+ bubble: {
102
+ radiusMapsTo: string;
103
+ };
104
+ height: string;
105
+ };
106
+ };
107
+ };
108
+ export declare const BubbleDualDiscreteAxes: {
109
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
110
+ args: {
111
+ isInverse: boolean;
112
+ type: CarbonChartType;
113
+ dataSet: {
114
+ group: string;
115
+ product: string;
116
+ value: number;
117
+ problem: string;
118
+ }[];
119
+ options: {
120
+ title: string;
121
+ axes: {
122
+ bottom: {
123
+ title: string;
124
+ scaleType: string;
125
+ mapsTo: string;
126
+ };
127
+ left: {
128
+ scaleType: string;
129
+ mapsTo: string;
130
+ title: string;
131
+ };
132
+ };
133
+ bubble: {
134
+ radiusMapsTo: string;
135
+ };
136
+ height: string;
137
+ };
138
+ };
139
+ };
140
+ export declare const BubbleEmptyState: {
141
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
142
+ args: {
143
+ isInverse: boolean;
144
+ type: CarbonChartType;
145
+ dataSet: never[];
146
+ options: {
147
+ title: string;
148
+ axes: {
149
+ bottom: {
150
+ title: string;
151
+ mapsTo: string;
152
+ includeZero: boolean;
153
+ };
154
+ left: {
155
+ title: string;
156
+ mapsTo: string;
157
+ includeZero: boolean;
158
+ };
159
+ };
160
+ bubble: {
161
+ radiusMapsTo: string;
162
+ };
163
+ height: string;
164
+ };
165
+ };
166
+ };
167
+ export declare const BubbleSkeleton: {
168
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
169
+ args: {
170
+ isInverse: boolean;
171
+ type: CarbonChartType;
172
+ dataSet: never[];
173
+ options: {
174
+ title: string;
175
+ axes: {
176
+ bottom: {
177
+ title: string;
178
+ mapsTo: string;
179
+ includeZero: boolean;
180
+ };
181
+ left: {
182
+ title: string;
183
+ mapsTo: string;
184
+ includeZero: boolean;
185
+ };
186
+ };
187
+ bubble: {
188
+ radiusMapsTo: string;
189
+ };
190
+ data: {
191
+ loading: boolean;
192
+ };
193
+ height: string;
194
+ };
195
+ };
196
+ };
@@ -1,4 +1,35 @@
1
- import { CarbonChartProps } from '.';
1
+ import { CarbonChartProps, CarbonChartType } from '.';
2
2
  declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
3
  export default _default;
4
- export declare const BasicBullet: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const BasicBullet: {
5
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
+ args: {
7
+ isInverse: boolean;
8
+ type: CarbonChartType;
9
+ dataSet: {
10
+ title: string;
11
+ group: string;
12
+ ranges: (number | null)[];
13
+ marker: number;
14
+ value: number;
15
+ }[];
16
+ options: {
17
+ title: string;
18
+ axes: {
19
+ bottom: {
20
+ mapsTo: string;
21
+ extendLinearDomainBy: string;
22
+ };
23
+ left: {
24
+ scaleType: string;
25
+ mapsTo: string;
26
+ };
27
+ right: {
28
+ scaleType: string;
29
+ mapsTo: string;
30
+ };
31
+ };
32
+ height: string;
33
+ };
34
+ };
35
+ };