@carbon/charts-react 1.15.6 → 1.15.7

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 (41) 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 +25 -25
  28. package/dist/diagrams/CardNode.d.ts +1 -1
  29. package/dist/diagrams/CardNodeColumn.d.ts +1 -1
  30. package/dist/diagrams/CardNodeLabel.d.ts +1 -1
  31. package/dist/diagrams/CardNodeSubtitle.d.ts +1 -1
  32. package/dist/diagrams/CardNodeTitle.d.ts +1 -1
  33. package/dist/diagrams/Edge.d.ts +1 -1
  34. package/dist/diagrams/Marker.d.ts +1 -1
  35. package/dist/diagrams/ShapeNode.d.ts +1 -1
  36. package/dist/diagrams/index.d.ts +7 -7
  37. package/dist/index.js +30 -30
  38. package/dist/index.js.map +1 -1
  39. package/dist/index.mjs +5030 -5030
  40. package/dist/index.mjs.map +1 -1
  41. package/package.json +11 -11
@@ -1,5 +1,5 @@
1
+ import { default as BaseChart } from './BaseChart';
1
2
  import { AlluvialChart as AlluvialChartCore, AlluvialChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { AreaChart as AreaChartCore, AreaChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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 React from 'react';
2
1
  import { Chart as BaseChartCore, BaseChartOptions, ChartTabularData } from '@carbon/charts';
2
+ import { default as React } from 'react';
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';
1
2
  import { BoxplotChart as BoxplotChartCore, BoxplotChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { BubbleChart as BubbleChartCore, BubbleChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { BulletChart as BulletChartCore, BulletChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { ExperimentalChoroplethChart as ChoroplethChartCore, ChoroplethChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { CirclePackChart as CirclePackChartCore, CirclePackChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { ComboChart as ComboChartCore, ComboChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { DonutChart as DonutChartCore, DonutChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { GaugeChart as GaugeChartCore, GaugeChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { GroupedBarChart as GroupedBarChartCore, BarChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { HeatmapChart as HeatmapChartCore, HeatmapChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { HistogramChart as HistogramChartCore, HistogramChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { LineChart as LineChartCore, LineChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { LollipopChart as LollipopChartCore, LollipopChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { MeterChart as MeterChartCore, MeterChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { PieChart as PieChartCore, PieChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { RadarChart as RadarChartCore, RadarChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { ScatterChart as ScatterChartCore, ScatterChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { SimpleBarChart as SimpleBarChartCore, BarChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { StackedAreaChart as StackedAreaChartCore, StackedAreaChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { StackedBarChart as StackedBarChartCore, StackedBarChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { TreeChart as TreeChartCore, TreeChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { TreemapChart as TreemapChartCore, TreemapChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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';
1
2
  import { WordCloudChart as WordCloudChartCore, WorldCloudChartOptions, ChartTabularData } from '@carbon/charts';
2
- import 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 AlluvialChart from './AlluvialChart';
2
- import AreaChart from './AreaChart';
3
- import BoxplotChart from './BoxplotChart';
4
- import BubbleChart from './BubbleChart';
5
- import BulletChart from './BulletChart';
6
- import ExperimentalChoroplethChart from './ChoroplethChart';
7
- import CirclePackChart from './CirclePackChart';
8
- import ComboChart from './ComboChart';
9
- import DonutChart from './DonutChart';
10
- import GaugeChart from './GaugeChart';
11
- import GroupedBarChart from './GroupedBarChart';
12
- import HeatmapChart from './HeatmapChart';
13
- import HistogramChart from './HistogramChart';
14
- import LineChart from './LineChart';
15
- import LollipopChart from './LollipopChart';
16
- import MeterChart from './MeterChart';
17
- import PieChart from './PieChart';
18
- import RadarChart from './RadarChart';
19
- import ScatterChart from './ScatterChart';
20
- import SimpleBarChart from './SimpleBarChart';
21
- import StackedAreaChart from './StackedAreaChart';
22
- import StackedBarChart from './StackedBarChart';
23
- import TreeChart from './TreeChart';
24
- import TreemapChart from './TreemapChart';
25
- import WordCloudChart from './WordCloudChart';
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
+ import { default as AlluvialChart } from './AlluvialChart';
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,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type CssPosition = 'fixed' | 'absolute' | 'relative' | 'static' | 'sticky';
3
3
  type CardNodeProps = {
4
4
  tag?: 'div' | 'a' | 'button';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type CardNodeColumnProps = {
3
3
  children?: React.ReactNode;
4
4
  farsideColumn?: boolean;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type CardNodeLabelProps = {
3
3
  children?: React.ReactNode;
4
4
  };
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type CardNodeSubtitleProps = {
3
3
  children?: React.ReactNode;
4
4
  };
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type CardNodeTitleProps = {
3
3
  children?: React.ReactNode;
4
4
  };
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type Coordinates = {
3
3
  x: number;
4
4
  y: number;
@@ -1,4 +1,4 @@
1
- import React, { SVGProps } from 'react';
1
+ import { default as React, SVGProps } from 'react';
2
2
  interface MarkerProps extends SVGProps<SVGMarkerElement> {
3
3
  id?: string;
4
4
  d?: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type CssPosition = 'fixed' | 'absolute' | 'relative' | 'static' | 'sticky';
3
3
  type ShapeNodeProps = {
4
4
  shape?: 'circle' | 'square' | 'rounded-square';
@@ -1,9 +1,9 @@
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 Edge from './Edge';
1
+ import { default as ShapeNode } from './ShapeNode';
7
2
  import { ArrowLeftMarker, ArrowRightMarker, CircleMarker, DiamondMarker, Marker, SquareMarker, TeeMarker } from './Marker';
8
- import ShapeNode from './ShapeNode';
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
+ import { CardNode } from './CardNode';
9
9
  export { CardNode, CardNodeColumn, CardNodeSubtitle, CardNodeTitle, CardNodeLabel, Edge, ArrowLeftMarker, ArrowRightMarker, CircleMarker, DiamondMarker, Marker, SquareMarker, TeeMarker, ShapeNode };