@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,136 +1,136 @@
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 StackedAreaTimeSeries: {
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
- date: string;
12
- value: number;
13
- }[];
14
- options: {
15
- title: string;
16
- axes: {
17
- left: {
18
- stacked: boolean;
19
- scaleType: string;
20
- mapsTo: string;
21
- };
22
- bottom: {
23
- scaleType: string;
24
- mapsTo: string;
25
- };
26
- };
27
- color: {
28
- scale: number;
29
- };
30
- curve: string;
31
- height: string;
32
- };
33
- };
34
- };
35
- export declare const StackedAreaTimeSeriesWithUnevenData: {
36
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
37
- args: {
38
- isInverse: boolean;
39
- type: CarbonChartType;
40
- dataSet: {
41
- group: string;
42
- date: string;
43
- value: number;
44
- }[];
45
- options: {
46
- title: string;
47
- axes: {
48
- left: {
49
- stacked: boolean;
50
- mapsTo: string;
51
- };
52
- bottom: {
53
- scaleType: string;
54
- mapsTo: string;
55
- };
56
- };
57
- curve: string;
58
- height: string;
59
- };
60
- };
61
- };
62
- export declare const StackedAreaPercentage: {
63
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
64
- args: {
65
- isInverse: boolean;
66
- type: CarbonChartType;
67
- dataSet: {
68
- group: string;
69
- date: string;
70
- value: number;
71
- }[];
72
- options: {
73
- title: string;
74
- axes: {
75
- left: {
76
- stacked: boolean;
77
- percentage: boolean;
78
- ticks: {};
79
- mapsTo: string;
80
- };
81
- bottom: {
82
- scaleType: string;
83
- mapsTo: string;
84
- };
85
- };
86
- curve: string;
87
- height: string;
88
- };
89
- };
90
- };
91
- export declare const VerticalStackedAreatimeSeriesWithToolbarOverride: {
92
- render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
93
- args: {
94
- isInverse: boolean;
95
- type: CarbonChartType;
96
- dataSet: {
97
- group: string;
98
- date: string;
99
- value: number;
100
- }[];
101
- options: {
102
- title: string;
103
- axes: {
104
- left: {
105
- mapsTo: string;
106
- stacked: boolean;
107
- };
108
- bottom: {
109
- mapsTo: string;
110
- scaleType: string;
111
- };
112
- };
113
- toolbar: {
114
- enabled: boolean;
115
- numberOfIcons: number;
116
- controls: ({
117
- type: string;
118
- text?: undefined;
119
- iconSVG?: undefined;
120
- } | {
121
- type: string;
122
- text: string;
123
- iconSVG: {
124
- content: string;
125
- };
126
- })[];
127
- };
128
- zoomBar: {
129
- top: {
130
- enabled: boolean;
131
- };
132
- };
133
- height: string;
134
- };
135
- };
136
- };
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 StackedAreaTimeSeries: {
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
+ date: string;
12
+ value: number;
13
+ }[];
14
+ options: {
15
+ title: string;
16
+ axes: {
17
+ left: {
18
+ stacked: boolean;
19
+ scaleType: string;
20
+ mapsTo: string;
21
+ };
22
+ bottom: {
23
+ scaleType: string;
24
+ mapsTo: string;
25
+ };
26
+ };
27
+ color: {
28
+ scale: number;
29
+ };
30
+ curve: string;
31
+ height: string;
32
+ };
33
+ };
34
+ };
35
+ export declare const StackedAreaTimeSeriesWithUnevenData: {
36
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
37
+ args: {
38
+ isInverse: boolean;
39
+ type: CarbonChartType;
40
+ dataSet: {
41
+ group: string;
42
+ date: string;
43
+ value: number;
44
+ }[];
45
+ options: {
46
+ title: string;
47
+ axes: {
48
+ left: {
49
+ stacked: boolean;
50
+ mapsTo: string;
51
+ };
52
+ bottom: {
53
+ scaleType: string;
54
+ mapsTo: string;
55
+ };
56
+ };
57
+ curve: string;
58
+ height: string;
59
+ };
60
+ };
61
+ };
62
+ export declare const StackedAreaPercentage: {
63
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
64
+ args: {
65
+ isInverse: boolean;
66
+ type: CarbonChartType;
67
+ dataSet: {
68
+ group: string;
69
+ date: string;
70
+ value: number;
71
+ }[];
72
+ options: {
73
+ title: string;
74
+ axes: {
75
+ left: {
76
+ stacked: boolean;
77
+ percentage: boolean;
78
+ ticks: {};
79
+ mapsTo: string;
80
+ };
81
+ bottom: {
82
+ scaleType: string;
83
+ mapsTo: string;
84
+ };
85
+ };
86
+ curve: string;
87
+ height: string;
88
+ };
89
+ };
90
+ };
91
+ export declare const VerticalStackedAreatimeSeriesWithToolbarOverride: {
92
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
93
+ args: {
94
+ isInverse: boolean;
95
+ type: CarbonChartType;
96
+ dataSet: {
97
+ group: string;
98
+ date: string;
99
+ value: number;
100
+ }[];
101
+ options: {
102
+ title: string;
103
+ axes: {
104
+ left: {
105
+ mapsTo: string;
106
+ stacked: boolean;
107
+ };
108
+ bottom: {
109
+ mapsTo: string;
110
+ scaleType: string;
111
+ };
112
+ };
113
+ toolbar: {
114
+ enabled: boolean;
115
+ numberOfIcons: number;
116
+ controls: ({
117
+ type: string;
118
+ text?: undefined;
119
+ iconSVG?: undefined;
120
+ } | {
121
+ type: string;
122
+ text: string;
123
+ iconSVG: {
124
+ content: string;
125
+ };
126
+ })[];
127
+ };
128
+ zoomBar: {
129
+ top: {
130
+ enabled: boolean;
131
+ };
132
+ };
133
+ height: string;
134
+ };
135
+ };
136
+ };