@react-magma/charts 12.0.1 → 13.0.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 (82) hide show
  1. package/dist/charts.js +1 -2450
  2. package/dist/charts.js.map +1 -1
  3. package/dist/charts.modern.module.js +1 -2428
  4. package/dist/charts.modern.module.js.map +1 -1
  5. package/dist/charts.umd.js +1 -48555
  6. package/dist/charts.umd.js.map +1 -1
  7. package/dist/components/CarbonChart/CarbonChart.d.ts +1 -2
  8. package/dist/components/CarbonChart/CarbonChart.test.d.ts +1 -0
  9. package/dist/components/CarbonChart/embeddedStyles.d.ts +1 -0
  10. package/dist/index.d.ts +0 -1
  11. package/package.json +25 -27
  12. package/src/components/CarbonChart/CarbonChart.tsx +18 -13
  13. package/src/components/CarbonChart/CarbonChartArea.stories.tsx +1 -1
  14. package/src/components/CarbonChart/CarbonChartAreaStacked.stories.tsx +1 -1
  15. package/src/components/CarbonChart/CarbonChartBar.stories.tsx +1 -1
  16. package/src/components/CarbonChart/CarbonChartBarFloating.stories.tsx +1 -1
  17. package/src/components/CarbonChart/CarbonChartBarGrouped.stories.tsx +1 -1
  18. package/src/components/CarbonChart/CarbonChartBarStacked.stories.tsx +1 -1
  19. package/src/components/CarbonChart/CarbonChartBoxplot.stories.tsx +1 -1
  20. package/src/components/CarbonChart/CarbonChartBubble.stories.tsx +1 -1
  21. package/src/components/CarbonChart/CarbonChartBullet.stories.tsx +1 -1
  22. package/src/components/CarbonChart/CarbonChartCombo.stories.tsx +1 -1
  23. package/src/components/CarbonChart/CarbonChartDonut.stories.tsx +1 -1
  24. package/src/components/CarbonChart/CarbonChartGauge.stories.tsx +1 -1
  25. package/src/components/CarbonChart/CarbonChartHistogram.stories.tsx +1 -1
  26. package/src/components/CarbonChart/CarbonChartLine.stories.tsx +1 -1
  27. package/src/components/CarbonChart/CarbonChartLollipop.stories.tsx +1 -1
  28. package/src/components/CarbonChart/CarbonChartMeter.stories.tsx +1 -1
  29. package/src/components/CarbonChart/CarbonChartPie.stories.tsx +1 -1
  30. package/src/components/CarbonChart/CarbonChartRadar.stories.tsx +1 -1
  31. package/src/components/CarbonChart/CarbonChartScatter.stories.tsx +1 -1
  32. package/src/components/CarbonChart/CarbonChartSparkline.stories.tsx +1 -1
  33. package/src/components/CarbonChart/CarbonChartStep.stories.tsx +1 -1
  34. package/src/components/CarbonChart/embeddedStyles.ts +24880 -0
  35. package/src/index.ts +0 -1
  36. package/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +0 -310
  37. package/dist/components/CarbonChart/CarbonChartAreaStacked.stories.d.ts +0 -136
  38. package/dist/components/CarbonChart/CarbonChartBar.stories.d.ts +0 -214
  39. package/dist/components/CarbonChart/CarbonChartBarFloating.stories.d.ts +0 -82
  40. package/dist/components/CarbonChart/CarbonChartBarGrouped.stories.d.ts +0 -234
  41. package/dist/components/CarbonChart/CarbonChartBarStacked.stories.d.ts +0 -266
  42. package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +0 -53
  43. package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +0 -196
  44. package/dist/components/CarbonChart/CarbonChartBullet.stories.d.ts +0 -35
  45. package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +0 -580
  46. package/dist/components/CarbonChart/CarbonChartDonut.stories.d.ts +0 -120
  47. package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +0 -43
  48. package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +0 -89
  49. package/dist/components/CarbonChart/CarbonChartLine.stories.d.ts +0 -577
  50. package/dist/components/CarbonChart/CarbonChartLollipop.stories.d.ts +0 -55
  51. package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +0 -127
  52. package/dist/components/CarbonChart/CarbonChartPie.stories.d.ts +0 -101
  53. package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +0 -98
  54. package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +0 -173
  55. package/dist/components/CarbonChart/CarbonChartSparkline.stories.d.ts +0 -51
  56. package/dist/components/CarbonChart/CarbonChartStep.stories.d.ts +0 -38
  57. package/dist/components/LineChart/Chart.d.ts +0 -27
  58. package/dist/components/LineChart/ChartDataTable.d.ts +0 -17
  59. package/dist/components/LineChart/CustomAxisComponent.d.ts +0 -3
  60. package/dist/components/LineChart/CustomPointComponent.d.ts +0 -17
  61. package/dist/components/LineChart/DataTable.d.ts +0 -5
  62. package/dist/components/LineChart/GraphTooltip.d.ts +0 -3
  63. package/dist/components/LineChart/LegendButton.d.ts +0 -6
  64. package/dist/components/LineChart/LineChart.d.ts +0 -67
  65. package/dist/components/LineChart/LineChart.stories.d.ts +0 -113
  66. package/dist/components/LineChart/index.d.ts +0 -1
  67. package/dist/components/LineChart/magma-charts.d.ts +0 -1
  68. package/src/components/CarbonChart/carbon-charts.css +0 -7303
  69. package/src/components/LineChart/Chart.tsx +0 -241
  70. package/src/components/LineChart/ChartDataTable.test.js +0 -165
  71. package/src/components/LineChart/ChartDataTable.tsx +0 -135
  72. package/src/components/LineChart/CustomAxisComponent.tsx +0 -30
  73. package/src/components/LineChart/CustomPointComponent.tsx +0 -93
  74. package/src/components/LineChart/DataTable.tsx +0 -57
  75. package/src/components/LineChart/GraphTooltip.tsx +0 -100
  76. package/src/components/LineChart/LegendButton.tsx +0 -77
  77. package/src/components/LineChart/LineChart.stories.tsx +0 -399
  78. package/src/components/LineChart/LineChart.test.js +0 -501
  79. package/src/components/LineChart/LineChart.tsx +0 -669
  80. package/src/components/LineChart/index.ts +0 -1
  81. package/src/components/LineChart/magma-charts.ts +0 -279
  82. package/src/components/LineChart/test/exampleChartData.js +0 -289
@@ -1,196 +0,0 @@
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 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,35 +0,0 @@
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 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
- };