@react-magma/charts 12.0.1-next.0 → 12.0.1-next.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.
Files changed (50) hide show
  1. package/dist/charts.js +2450 -1
  2. package/dist/charts.js.map +1 -1
  3. package/dist/charts.modern.module.js +2428 -1
  4. package/dist/charts.modern.module.js.map +1 -1
  5. package/dist/charts.umd.js +48555 -1
  6. package/dist/charts.umd.js.map +1 -1
  7. package/dist/components/CarbonChart/CarbonChart.d.ts +42 -41
  8. package/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +310 -310
  9. package/dist/components/CarbonChart/CarbonChartAreaStacked.stories.d.ts +136 -136
  10. package/dist/components/CarbonChart/CarbonChartBar.stories.d.ts +214 -214
  11. package/dist/components/CarbonChart/CarbonChartBarFloating.stories.d.ts +82 -82
  12. package/dist/components/CarbonChart/CarbonChartBarGrouped.stories.d.ts +234 -234
  13. package/dist/components/CarbonChart/CarbonChartBarStacked.stories.d.ts +266 -266
  14. package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +53 -53
  15. package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +196 -196
  16. package/dist/components/CarbonChart/CarbonChartBullet.stories.d.ts +35 -35
  17. package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +580 -580
  18. package/dist/components/CarbonChart/CarbonChartDonut.stories.d.ts +120 -120
  19. package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +43 -43
  20. package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +89 -89
  21. package/dist/components/CarbonChart/CarbonChartLine.stories.d.ts +577 -577
  22. package/dist/components/CarbonChart/CarbonChartLollipop.stories.d.ts +55 -55
  23. package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +127 -127
  24. package/dist/components/CarbonChart/CarbonChartPie.stories.d.ts +101 -101
  25. package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +98 -98
  26. package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +173 -173
  27. package/dist/components/CarbonChart/CarbonChartSparkline.stories.d.ts +51 -51
  28. package/dist/components/CarbonChart/CarbonChartStep.stories.d.ts +38 -38
  29. package/dist/components/CarbonChart/index.d.ts +1 -1
  30. package/dist/components/LineChart/Chart.d.ts +27 -27
  31. package/dist/components/LineChart/ChartDataTable.d.ts +17 -17
  32. package/dist/components/LineChart/CustomAxisComponent.d.ts +3 -3
  33. package/dist/components/LineChart/CustomPointComponent.d.ts +17 -17
  34. package/dist/components/LineChart/DataTable.d.ts +5 -5
  35. package/dist/components/LineChart/GraphTooltip.d.ts +3 -3
  36. package/dist/components/LineChart/LegendButton.d.ts +6 -6
  37. package/dist/components/LineChart/LineChart.d.ts +67 -67
  38. package/dist/components/LineChart/LineChart.stories.d.ts +113 -134
  39. package/dist/components/LineChart/index.d.ts +1 -1
  40. package/dist/components/LineChart/magma-charts.d.ts +1 -1
  41. package/dist/index.d.ts +2 -2
  42. package/package.json +9 -4
  43. package/src/components/CarbonChart/CarbonChart.tsx +12 -16
  44. package/src/components/CarbonChart/carbon-charts.css +7303 -0
  45. package/dist/components/CarbonChart/CarbonChart.test.d.ts +0 -1
  46. package/dist/components/CarbonChart/embeddedStyles.d.ts +0 -1
  47. package/dist/components/LineChart/ChartDataTable.test.d.ts +0 -1
  48. package/dist/components/LineChart/LineChart.test.d.ts +0 -1
  49. package/dist/components/LineChart/test/exampleChartData.d.ts +0 -40
  50. package/src/components/CarbonChart/embeddedStyles.ts +0 -24880
@@ -1,234 +1,234 @@
1
- import { CarbonChartProps, CarbonChartType } from '.';
2
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
- export default _default;
4
- export declare const PreSelectedgroupsGroupedBar: {
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
- key: string;
12
- value: number;
13
- }[];
14
- options: {
15
- title: string;
16
- data: {
17
- selectedGroups: string[];
18
- };
19
- axes: {
20
- left: {
21
- mapsTo: string;
22
- };
23
- bottom: {
24
- scaleType: string;
25
- mapsTo: string;
26
- };
27
- };
28
- height: string;
29
- };
30
- };
31
- };
32
- export declare const VerticalGroupedBarDiscrete: {
33
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
34
- args: {
35
- isInverse: boolean;
36
- type: CarbonChartType;
37
- dataSet: {
38
- group: string;
39
- key: string;
40
- value: number;
41
- }[];
42
- options: {
43
- title: string;
44
- axes: {
45
- left: {
46
- mapsTo: string;
47
- };
48
- bottom: {
49
- scaleType: string;
50
- mapsTo: string;
51
- };
52
- };
53
- height: string;
54
- };
55
- };
56
- };
57
- export declare const VerticalGroupedBarTimeSeries: {
58
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
59
- args: {
60
- isInverse: boolean;
61
- type: CarbonChartType;
62
- dataSet: {
63
- group: string;
64
- date: Date;
65
- value: number;
66
- }[];
67
- options: {
68
- title: string;
69
- axes: {
70
- left: {
71
- mapsTo: string;
72
- };
73
- bottom: {
74
- mapsTo: string;
75
- scaleType: string;
76
- };
77
- };
78
- height: string;
79
- };
80
- };
81
- };
82
- export declare const VerticalGroupedBarTimeSeriesDenseData: {
83
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
84
- args: {
85
- isInverse: boolean;
86
- type: CarbonChartType;
87
- dataSet: {
88
- group: string;
89
- date: Date;
90
- value: number;
91
- }[];
92
- options: {
93
- title: string;
94
- axes: {
95
- left: {
96
- mapsTo: string;
97
- };
98
- bottom: {
99
- mapsTo: string;
100
- scaleType: string;
101
- };
102
- };
103
- height: string;
104
- };
105
- };
106
- };
107
- export declare const VerticalGroupedBarEmptyState: {
108
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
109
- args: {
110
- isInverse: boolean;
111
- type: CarbonChartType;
112
- dataSet: never[];
113
- options: {
114
- title: string;
115
- axes: {
116
- left: {};
117
- bottom: {
118
- scaleType: string;
119
- };
120
- };
121
- height: string;
122
- };
123
- };
124
- };
125
- export declare const VerticalGroupedBarSkeleton: {
126
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
127
- args: {
128
- isInverse: boolean;
129
- type: CarbonChartType;
130
- dataSet: never[];
131
- options: {
132
- title: string;
133
- axes: {
134
- left: {};
135
- bottom: {
136
- scaleType: string;
137
- };
138
- };
139
- data: {
140
- loading: boolean;
141
- };
142
- height: string;
143
- };
144
- };
145
- };
146
- export declare const HorizontalGroupedBarDiscrete: {
147
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
148
- args: {
149
- isInverse: boolean;
150
- type: CarbonChartType;
151
- dataSet: {
152
- group: string;
153
- key: string;
154
- value: number;
155
- }[];
156
- options: {
157
- title: string;
158
- axes: {
159
- left: {
160
- scaleType: string;
161
- mapsTo: string;
162
- };
163
- bottom: {
164
- mapsTo: string;
165
- };
166
- };
167
- height: string;
168
- };
169
- };
170
- };
171
- export declare const HorizontalGroupedBarTimeSeries: {
172
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
173
- args: {
174
- isInverse: boolean;
175
- type: CarbonChartType;
176
- dataSet: {
177
- group: string;
178
- date: Date;
179
- value: number;
180
- }[];
181
- options: {
182
- title: string;
183
- axes: {
184
- left: {
185
- mapsTo: string;
186
- scaleType: string;
187
- };
188
- bottom: {
189
- mapsTo: string;
190
- };
191
- };
192
- height: string;
193
- };
194
- };
195
- };
196
- export declare const HorizontalGroupedBarEmptyState: {
197
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
198
- args: {
199
- isInverse: boolean;
200
- type: CarbonChartType;
201
- dataSet: never[];
202
- options: {
203
- title: string;
204
- axes: {
205
- left: {
206
- scaleType: string;
207
- };
208
- bottom: {};
209
- };
210
- height: string;
211
- };
212
- };
213
- };
214
- export declare const HorizontalGroupedBarSkeleton: {
215
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
216
- args: {
217
- isInverse: boolean;
218
- type: CarbonChartType;
219
- dataSet: never[];
220
- options: {
221
- title: string;
222
- axes: {
223
- left: {
224
- scaleType: string;
225
- };
226
- bottom: {};
227
- };
228
- data: {
229
- loading: boolean;
230
- };
231
- height: string;
232
- };
233
- };
234
- };
1
+ import { CarbonChartProps, CarbonChartType } from '.';
2
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
+ export default _default;
4
+ export declare const PreSelectedgroupsGroupedBar: {
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
+ key: string;
12
+ value: number;
13
+ }[];
14
+ options: {
15
+ title: string;
16
+ data: {
17
+ selectedGroups: string[];
18
+ };
19
+ axes: {
20
+ left: {
21
+ mapsTo: string;
22
+ };
23
+ bottom: {
24
+ scaleType: string;
25
+ mapsTo: string;
26
+ };
27
+ };
28
+ height: string;
29
+ };
30
+ };
31
+ };
32
+ export declare const VerticalGroupedBarDiscrete: {
33
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
34
+ args: {
35
+ isInverse: boolean;
36
+ type: CarbonChartType;
37
+ dataSet: {
38
+ group: string;
39
+ key: string;
40
+ value: number;
41
+ }[];
42
+ options: {
43
+ title: string;
44
+ axes: {
45
+ left: {
46
+ mapsTo: string;
47
+ };
48
+ bottom: {
49
+ scaleType: string;
50
+ mapsTo: string;
51
+ };
52
+ };
53
+ height: string;
54
+ };
55
+ };
56
+ };
57
+ export declare const VerticalGroupedBarTimeSeries: {
58
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
59
+ args: {
60
+ isInverse: boolean;
61
+ type: CarbonChartType;
62
+ dataSet: {
63
+ group: string;
64
+ date: Date;
65
+ value: number;
66
+ }[];
67
+ options: {
68
+ title: string;
69
+ axes: {
70
+ left: {
71
+ mapsTo: string;
72
+ };
73
+ bottom: {
74
+ mapsTo: string;
75
+ scaleType: string;
76
+ };
77
+ };
78
+ height: string;
79
+ };
80
+ };
81
+ };
82
+ export declare const VerticalGroupedBarTimeSeriesDenseData: {
83
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
84
+ args: {
85
+ isInverse: boolean;
86
+ type: CarbonChartType;
87
+ dataSet: {
88
+ group: string;
89
+ date: Date;
90
+ value: number;
91
+ }[];
92
+ options: {
93
+ title: string;
94
+ axes: {
95
+ left: {
96
+ mapsTo: string;
97
+ };
98
+ bottom: {
99
+ mapsTo: string;
100
+ scaleType: string;
101
+ };
102
+ };
103
+ height: string;
104
+ };
105
+ };
106
+ };
107
+ export declare const VerticalGroupedBarEmptyState: {
108
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
109
+ args: {
110
+ isInverse: boolean;
111
+ type: CarbonChartType;
112
+ dataSet: never[];
113
+ options: {
114
+ title: string;
115
+ axes: {
116
+ left: {};
117
+ bottom: {
118
+ scaleType: string;
119
+ };
120
+ };
121
+ height: string;
122
+ };
123
+ };
124
+ };
125
+ export declare const VerticalGroupedBarSkeleton: {
126
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
127
+ args: {
128
+ isInverse: boolean;
129
+ type: CarbonChartType;
130
+ dataSet: never[];
131
+ options: {
132
+ title: string;
133
+ axes: {
134
+ left: {};
135
+ bottom: {
136
+ scaleType: string;
137
+ };
138
+ };
139
+ data: {
140
+ loading: boolean;
141
+ };
142
+ height: string;
143
+ };
144
+ };
145
+ };
146
+ export declare const HorizontalGroupedBarDiscrete: {
147
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
148
+ args: {
149
+ isInverse: boolean;
150
+ type: CarbonChartType;
151
+ dataSet: {
152
+ group: string;
153
+ key: string;
154
+ value: number;
155
+ }[];
156
+ options: {
157
+ title: string;
158
+ axes: {
159
+ left: {
160
+ scaleType: string;
161
+ mapsTo: string;
162
+ };
163
+ bottom: {
164
+ mapsTo: string;
165
+ };
166
+ };
167
+ height: string;
168
+ };
169
+ };
170
+ };
171
+ export declare const HorizontalGroupedBarTimeSeries: {
172
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
173
+ args: {
174
+ isInverse: boolean;
175
+ type: CarbonChartType;
176
+ dataSet: {
177
+ group: string;
178
+ date: Date;
179
+ value: number;
180
+ }[];
181
+ options: {
182
+ title: string;
183
+ axes: {
184
+ left: {
185
+ mapsTo: string;
186
+ scaleType: string;
187
+ };
188
+ bottom: {
189
+ mapsTo: string;
190
+ };
191
+ };
192
+ height: string;
193
+ };
194
+ };
195
+ };
196
+ export declare const HorizontalGroupedBarEmptyState: {
197
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
198
+ args: {
199
+ isInverse: boolean;
200
+ type: CarbonChartType;
201
+ dataSet: never[];
202
+ options: {
203
+ title: string;
204
+ axes: {
205
+ left: {
206
+ scaleType: string;
207
+ };
208
+ bottom: {};
209
+ };
210
+ height: string;
211
+ };
212
+ };
213
+ };
214
+ export declare const HorizontalGroupedBarSkeleton: {
215
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
216
+ args: {
217
+ isInverse: boolean;
218
+ type: CarbonChartType;
219
+ dataSet: never[];
220
+ options: {
221
+ title: string;
222
+ axes: {
223
+ left: {
224
+ scaleType: string;
225
+ };
226
+ bottom: {};
227
+ };
228
+ data: {
229
+ loading: boolean;
230
+ };
231
+ height: string;
232
+ };
233
+ };
234
+ };