@react-magma/charts 11.0.0-next.2 → 11.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 (51) hide show
  1. package/dist/charts +100 -79
  2. package/dist/charts.css +19 -3
  3. package/dist/charts.css.map +1 -1
  4. package/dist/charts.js +1 -1
  5. package/dist/charts.js.map +1 -1
  6. package/dist/charts.map +1 -1
  7. package/dist/charts.modern.module.js +1 -1
  8. package/dist/charts.modern.module.js.map +1 -1
  9. package/dist/charts.umd.js +1 -1
  10. package/dist/charts.umd.js.map +1 -1
  11. package/dist/components/CarbonChart/index.d.ts +1 -1
  12. package/dist/components/LineChart/ChartDataTable.d.ts +1 -0
  13. package/dist/components/LineChart/DataTable.d.ts +1 -0
  14. package/dist/components/LineChart/GraphTooltip.d.ts +1 -0
  15. package/package.json +26 -26
  16. package/src/components/CarbonChart/CarbonChart.test.js +3 -1
  17. package/src/components/CarbonChart/CarbonChart.tsx +123 -101
  18. package/src/components/CarbonChart/CarbonChartArea.stories.tsx +3 -1
  19. package/src/components/CarbonChart/CarbonChartAreaStacked.stories.tsx +3 -1
  20. package/src/components/CarbonChart/CarbonChartBar.stories.tsx +3 -1
  21. package/src/components/CarbonChart/CarbonChartBarFloating.stories.tsx +3 -1
  22. package/src/components/CarbonChart/CarbonChartBarGrouped.stories.tsx +3 -1
  23. package/src/components/CarbonChart/CarbonChartBarStacked.stories.tsx +3 -1
  24. package/src/components/CarbonChart/CarbonChartBoxplot.stories.tsx +4 -4
  25. package/src/components/CarbonChart/CarbonChartBubble.stories.tsx +4 -2
  26. package/src/components/CarbonChart/CarbonChartBullet.stories.tsx +3 -1
  27. package/src/components/CarbonChart/CarbonChartCombo.stories.tsx +3 -1
  28. package/src/components/CarbonChart/CarbonChartDonut.stories.tsx +3 -1
  29. package/src/components/CarbonChart/CarbonChartGauge.stories.tsx +4 -2
  30. package/src/components/CarbonChart/CarbonChartHistogram.stories.tsx +4 -2
  31. package/src/components/CarbonChart/CarbonChartLine.stories.tsx +3 -1
  32. package/src/components/CarbonChart/CarbonChartLollipop.stories.tsx +3 -1
  33. package/src/components/CarbonChart/CarbonChartMeter.stories.tsx +4 -2
  34. package/src/components/CarbonChart/CarbonChartPie.stories.tsx +3 -1
  35. package/src/components/CarbonChart/CarbonChartRadar.stories.tsx +4 -2
  36. package/src/components/CarbonChart/CarbonChartScatter.stories.tsx +4 -2
  37. package/src/components/CarbonChart/CarbonChartSparkline.stories.tsx +3 -1
  38. package/src/components/CarbonChart/CarbonChartStep.stories.tsx +3 -1
  39. package/src/components/CarbonChart/index.ts +1 -1
  40. package/src/components/CarbonChart/styles.min.css +24790 -3
  41. package/src/components/LineChart/Chart.tsx +10 -5
  42. package/src/components/LineChart/ChartDataTable.test.js +3 -1
  43. package/src/components/LineChart/ChartDataTable.tsx +6 -6
  44. package/src/components/LineChart/CustomAxisComponent.tsx +1 -0
  45. package/src/components/LineChart/CustomPointComponent.tsx +2 -1
  46. package/src/components/LineChart/GraphTooltip.tsx +2 -2
  47. package/src/components/LineChart/LegendButton.tsx +1 -0
  48. package/src/components/LineChart/LineChart.stories.tsx +4 -1
  49. package/src/components/LineChart/LineChart.test.js +4 -1
  50. package/src/components/LineChart/LineChart.tsx +11 -12
  51. package/src/index.ts +1 -1
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
+
2
3
  import { Story, Meta } from '@storybook/react/types-6-0';
3
- import { CarbonChart, CarbonChartProps, CarbonChartType } from '.';
4
4
  import { Card } from 'react-magma-dom';
5
5
 
6
+ import { CarbonChart, CarbonChartProps, CarbonChartType } from '.';
7
+
6
8
  export default {
7
9
  component: CarbonChart,
8
10
  title: 'CarbonChart/Pie',
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
+
2
3
  import { Story, Meta } from '@storybook/react/types-6-0';
3
- import { CarbonChart, CarbonChartProps, CarbonChartType } from '.';
4
4
  import { Card } from 'react-magma-dom';
5
5
 
6
+ import { CarbonChart, CarbonChartProps, CarbonChartType } from '.';
7
+
6
8
  export default {
7
9
  component: CarbonChart,
8
10
  title: 'CarbonChart/Radar',
@@ -98,7 +100,7 @@ Radar.args = {
98
100
  },
99
101
  };
100
102
 
101
- // Uncomment when adding new charts. Issues: #1054, #1055, #1056
103
+ // Uncomment when adding new charts. Issues: #1054, #1055, #1056
102
104
 
103
105
  // export const RadarCentered = Template.bind({});
104
106
  // RadarCentered.args = {
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
+
2
3
  import { Story, Meta } from '@storybook/react/types-6-0';
3
- import { CarbonChart, CarbonChartProps, CarbonChartType } from '.';
4
4
  import { Card } from 'react-magma-dom';
5
5
 
6
+ import { CarbonChart, CarbonChartProps, CarbonChartType } from '.';
7
+
6
8
  export default {
7
9
  component: CarbonChart,
8
10
  title: 'CarbonChart/Scatter',
@@ -96,7 +98,7 @@ ScatterLinearXAndY.args = {
96
98
  },
97
99
  };
98
100
 
99
- // Uncomment when adding new charts. Issues: #1054, #1055, #1056
101
+ // Uncomment when adding new charts. Issues: #1054, #1055, #1056
100
102
 
101
103
  // export const ScatterTimeSeries = Template.bind({});
102
104
  // ScatterTimeSeries.args = {
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
+
2
3
  import { Story, Meta } from '@storybook/react/types-6-0';
3
- import { CarbonChart, CarbonChartProps, CarbonChartType } from '.';
4
4
  import { Card } from 'react-magma-dom';
5
5
 
6
+ import { CarbonChart, CarbonChartProps, CarbonChartType } from '.';
7
+
6
8
  export default {
7
9
  component: CarbonChart,
8
10
  title: 'CarbonChart/Sparkline',
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
+
2
3
  import { Story, Meta } from '@storybook/react/types-6-0';
3
- import { CarbonChart, CarbonChartProps, CarbonChartType } from '.';
4
4
  import { Card } from 'react-magma-dom';
5
5
 
6
+ import { CarbonChart, CarbonChartProps, CarbonChartType } from '.';
7
+
6
8
  export default {
7
9
  component: CarbonChart,
8
10
  title: 'CarbonChart/Step',
@@ -1 +1 @@
1
- export * from "./CarbonChart";
1
+ export * from './CarbonChart';