@carbon/charts-react 1.16.1 → 1.16.2

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 (37) hide show
  1. package/dist/charts/AlluvialChart.d.ts +1 -1
  2. package/dist/charts/AreaChart.d.ts +1 -1
  3. package/dist/charts/BaseChart.d.ts +1 -1
  4. package/dist/charts/BoxplotChart.d.ts +1 -1
  5. package/dist/charts/BubbleChart.d.ts +1 -1
  6. package/dist/charts/BulletChart.d.ts +1 -1
  7. package/dist/charts/ChoroplethChart.d.ts +1 -1
  8. package/dist/charts/CirclePackChart.d.ts +1 -1
  9. package/dist/charts/ComboChart.d.ts +1 -1
  10. package/dist/charts/DonutChart.d.ts +1 -1
  11. package/dist/charts/GaugeChart.d.ts +1 -1
  12. package/dist/charts/GroupedBarChart.d.ts +1 -1
  13. package/dist/charts/HeatmapChart.d.ts +1 -1
  14. package/dist/charts/HistogramChart.d.ts +1 -1
  15. package/dist/charts/LineChart.d.ts +1 -1
  16. package/dist/charts/LollipopChart.d.ts +1 -1
  17. package/dist/charts/MeterChart.d.ts +1 -1
  18. package/dist/charts/PieChart.d.ts +1 -1
  19. package/dist/charts/RadarChart.d.ts +1 -1
  20. package/dist/charts/ScatterChart.d.ts +1 -1
  21. package/dist/charts/SimpleBarChart.d.ts +1 -1
  22. package/dist/charts/StackedAreaChart.d.ts +1 -1
  23. package/dist/charts/StackedBarChart.d.ts +1 -1
  24. package/dist/charts/TreeChart.d.ts +1 -1
  25. package/dist/charts/TreemapChart.d.ts +1 -1
  26. package/dist/charts/WordCloudChart.d.ts +1 -1
  27. package/dist/charts/index.d.ts +24 -24
  28. package/dist/diagrams/index.d.ts +7 -7
  29. package/dist/index.js +35 -32
  30. package/dist/index.js.map +1 -1
  31. package/dist/index.mjs +4916 -4941
  32. package/dist/index.mjs.map +1 -1
  33. package/dist/styles.css +4 -0
  34. package/dist/styles.css.map +1 -1
  35. package/dist/styles.min.css +1 -1
  36. package/dist/styles.min.css.map +1 -1
  37. package/package.json +19 -17
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { AlluvialChart as AlluvialChartCore, AlluvialChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class AlluvialChart extends BaseChart<AlluvialChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: AlluvialChartOptions): AlluvialChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { AreaChart as AreaChartCore, AreaChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class AreaChart extends BaseChart<AreaChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: AreaChartOptions): AreaChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { Chart as BaseChartCore, BaseChartOptions, ChartTabularData } from '@carbon/charts';
2
1
  import { default as React } from 'react';
2
+ import { Chart as BaseChartCore, BaseChartOptions, ChartTabularData } from '@carbon/charts';
3
3
  interface Props<Options extends BaseChartOptions> {
4
4
  options: Options;
5
5
  data: ChartTabularData;
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { BoxplotChart as BoxplotChartCore, BoxplotChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class BoxplotChart extends BaseChart<BoxplotChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: BoxplotChartOptions): BoxplotChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { BubbleChart as BubbleChartCore, BubbleChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class BubbleChart extends BaseChart<BubbleChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: BubbleChartOptions): BubbleChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { BulletChart as BulletChartCore, BulletChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class BulletChart extends BaseChart<BulletChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: BulletChartOptions): BulletChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { ExperimentalChoroplethChart as ChoroplethChartCore, ChoroplethChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class ExperimentalChoroplethChart extends BaseChart<ChoroplethChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: ChoroplethChartOptions): ChoroplethChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { CirclePackChart as CirclePackChartCore, CirclePackChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class CirclePackChart extends BaseChart<CirclePackChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: CirclePackChartOptions): CirclePackChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { ComboChart as ComboChartCore, ComboChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class ComboChart extends BaseChart<ComboChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: ComboChartOptions): ComboChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { DonutChart as DonutChartCore, DonutChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class DonutChart extends BaseChart<DonutChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: DonutChartOptions): DonutChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { GaugeChart as GaugeChartCore, GaugeChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class GaugeChart extends BaseChart<GaugeChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: GaugeChartOptions): GaugeChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { GroupedBarChart as GroupedBarChartCore, BarChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class GroupedBarChart extends BaseChart<BarChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: BarChartOptions): GroupedBarChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { HeatmapChart as HeatmapChartCore, HeatmapChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class HeatmapChart extends BaseChart<HeatmapChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: HeatmapChartOptions): HeatmapChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { HistogramChart as HistogramChartCore, HistogramChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class HistogramChart extends BaseChart<HistogramChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: HistogramChartOptions): HistogramChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { LineChart as LineChartCore, LineChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class LineChart extends BaseChart<LineChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: LineChartOptions): LineChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { LollipopChart as LollipopChartCore, LollipopChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class LollipopChart extends BaseChart<LollipopChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: LollipopChartOptions): LollipopChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { MeterChart as MeterChartCore, MeterChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class MeterChart extends BaseChart<MeterChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: MeterChartOptions): MeterChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { PieChart as PieChartCore, PieChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class PieChart extends BaseChart<PieChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: PieChartOptions): PieChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { RadarChart as RadarChartCore, RadarChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class RadarChart extends BaseChart<RadarChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: RadarChartOptions): RadarChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { ScatterChart as ScatterChartCore, ScatterChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class ScatterChart extends BaseChart<ScatterChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: ScatterChartOptions): ScatterChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { SimpleBarChart as SimpleBarChartCore, BarChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class SimpleBarChart extends BaseChart<BarChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: BarChartOptions): SimpleBarChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { StackedAreaChart as StackedAreaChartCore, StackedAreaChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class StackedAreaChart extends BaseChart<StackedAreaChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: StackedAreaChartOptions): StackedAreaChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { StackedBarChart as StackedBarChartCore, StackedBarChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class StackedBarChart extends BaseChart<StackedBarChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: StackedBarChartOptions): StackedBarChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { TreeChart as TreeChartCore, TreeChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class TreeChart extends BaseChart<TreeChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: TreeChartOptions): TreeChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { TreemapChart as TreemapChartCore, TreemapChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class TreemapChart extends BaseChart<TreemapChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: TreemapChartOptions): TreemapChartCore;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as BaseChart } from './BaseChart';
2
1
  import { WordCloudChart as WordCloudChartCore, WorldCloudChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as BaseChart } from './BaseChart';
3
3
  export default class WordCloudChart extends BaseChart<WorldCloudChartOptions> {
4
4
  createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: WorldCloudChartOptions): WordCloudChartCore;
5
5
  }
@@ -1,26 +1,26 @@
1
- import { default as WordCloudChart } from './WordCloudChart';
2
- import { default as TreemapChart } from './TreemapChart';
3
- import { default as TreeChart } from './TreeChart';
4
- import { default as StackedBarChart } from './StackedBarChart';
5
- import { default as StackedAreaChart } from './StackedAreaChart';
6
- import { default as SimpleBarChart } from './SimpleBarChart';
7
- import { default as ScatterChart } from './ScatterChart';
8
- import { default as RadarChart } from './RadarChart';
9
- import { default as PieChart } from './PieChart';
10
- import { default as MeterChart } from './MeterChart';
11
- import { default as LollipopChart } from './LollipopChart';
12
- import { default as LineChart } from './LineChart';
13
- import { default as HistogramChart } from './HistogramChart';
14
- import { default as HeatmapChart } from './HeatmapChart';
15
- import { default as GroupedBarChart } from './GroupedBarChart';
16
- import { default as GaugeChart } from './GaugeChart';
17
- import { default as DonutChart } from './DonutChart';
18
- import { default as ComboChart } from './ComboChart';
19
- import { default as CirclePackChart } from './CirclePackChart';
20
- import { default as ExperimentalChoroplethChart } from './ChoroplethChart';
21
- import { default as BulletChart } from './BulletChart';
22
- import { default as BubbleChart } from './BubbleChart';
23
- import { default as BoxplotChart } from './BoxplotChart';
24
- import { default as AreaChart } from './AreaChart';
25
1
  import { default as AlluvialChart } from './AlluvialChart';
2
+ import { default as AreaChart } from './AreaChart';
3
+ import { default as BoxplotChart } from './BoxplotChart';
4
+ import { default as BubbleChart } from './BubbleChart';
5
+ import { default as BulletChart } from './BulletChart';
6
+ import { default as ExperimentalChoroplethChart } from './ChoroplethChart';
7
+ import { default as CirclePackChart } from './CirclePackChart';
8
+ import { default as ComboChart } from './ComboChart';
9
+ import { default as DonutChart } from './DonutChart';
10
+ import { default as GaugeChart } from './GaugeChart';
11
+ import { default as GroupedBarChart } from './GroupedBarChart';
12
+ import { default as HeatmapChart } from './HeatmapChart';
13
+ import { default as HistogramChart } from './HistogramChart';
14
+ import { default as LineChart } from './LineChart';
15
+ import { default as LollipopChart } from './LollipopChart';
16
+ import { default as MeterChart } from './MeterChart';
17
+ import { default as PieChart } from './PieChart';
18
+ import { default as RadarChart } from './RadarChart';
19
+ import { default as ScatterChart } from './ScatterChart';
20
+ import { default as SimpleBarChart } from './SimpleBarChart';
21
+ import { default as StackedAreaChart } from './StackedAreaChart';
22
+ import { default as StackedBarChart } from './StackedBarChart';
23
+ import { default as TreeChart } from './TreeChart';
24
+ import { default as TreemapChart } from './TreemapChart';
25
+ import { default as WordCloudChart } from './WordCloudChart';
26
26
  export { AlluvialChart, AreaChart, BoxplotChart, BubbleChart, BulletChart, ExperimentalChoroplethChart, CirclePackChart, ComboChart, DonutChart, GaugeChart, GroupedBarChart, HeatmapChart, HistogramChart, LineChart, LollipopChart, MeterChart, PieChart, RadarChart, ScatterChart, SimpleBarChart, StackedAreaChart, StackedBarChart, TreeChart, TreemapChart, WordCloudChart };
@@ -1,9 +1,9 @@
1
- import { default as ShapeNode } from './ShapeNode';
2
- import { ArrowLeftMarker, ArrowRightMarker, CircleMarker, DiamondMarker, Marker, SquareMarker, TeeMarker } from './Marker';
3
- import { default as Edge } from './Edge';
4
- import { CardNodeTitle } from './CardNodeTitle';
5
- import { CardNodeSubtitle } from './CardNodeSubtitle';
6
- import { CardNodeLabel } from './CardNodeLabel';
7
- import { CardNodeColumn } from './CardNodeColumn';
8
1
  import { CardNode } from './CardNode';
2
+ import { CardNodeColumn } from './CardNodeColumn';
3
+ import { CardNodeLabel } from './CardNodeLabel';
4
+ import { CardNodeSubtitle } from './CardNodeSubtitle';
5
+ import { CardNodeTitle } from './CardNodeTitle';
6
+ import { default as Edge } from './Edge';
7
+ import { ArrowLeftMarker, ArrowRightMarker, CircleMarker, DiamondMarker, Marker, SquareMarker, TeeMarker } from './Marker';
8
+ import { default as ShapeNode } from './ShapeNode';
9
9
  export { CardNode, CardNodeColumn, CardNodeSubtitle, CardNodeTitle, CardNodeLabel, Edge, ArrowLeftMarker, ArrowRightMarker, CircleMarker, DiamondMarker, Marker, SquareMarker, TeeMarker, ShapeNode };