@carbon/charts-react 1.16.2 → 1.16.4
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.
- package/README.md +3 -4
- package/dist/charts/ChoroplethChart.d.ts +2 -2
- package/dist/charts/WordCloudChart.d.ts +3 -3
- package/dist/charts/index.d.ts +6 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/telemetry.yml +1 -1
package/README.md
CHANGED
|
@@ -51,9 +51,8 @@ Customizable options (specific to chart type) can be found
|
|
|
51
51
|
|
|
52
52
|
## <picture><source height="20" width="20" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg"><source height="20" width="20" media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"><img height="20" width="20" alt="IBM Telemetry" src="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"></picture> IBM Telemetry
|
|
53
53
|
|
|
54
|
-
This package uses IBM Telemetry to collect metrics data. By installing this
|
|
55
|
-
|
|
56
|
-
see
|
|
54
|
+
This package uses IBM Telemetry to collect metrics data. By installing this package as a dependency
|
|
55
|
+
you are agreeing to telemetry collection. To opt out, see
|
|
57
56
|
[Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
|
|
58
57
|
For more information on the data being collected, please see the
|
|
59
|
-
[IBM Telemetry documentation](https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics).
|
|
58
|
+
[IBM Telemetry documentation](https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChoroplethChart as ChoroplethChartCore, ChoroplethChartOptions, ChartTabularData } from '@carbon/charts';
|
|
2
2
|
import { default as BaseChart } from './BaseChart';
|
|
3
|
-
export default class
|
|
3
|
+
export default class ChoroplethChart extends BaseChart<ChoroplethChartOptions> {
|
|
4
4
|
createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: ChoroplethChartOptions): ChoroplethChartCore;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WordCloudChart as WordCloudChartCore, WorldCloudChartOptions, ChartTabularData } from '@carbon/charts';
|
|
1
|
+
import { WordCloudChart as WordCloudChartCore, WordCloudChartOptions, WorldCloudChartOptions, ChartTabularData } from '@carbon/charts';
|
|
2
2
|
import { default as BaseChart } from './BaseChart';
|
|
3
|
-
export default class WordCloudChart extends BaseChart<WorldCloudChartOptions> {
|
|
4
|
-
createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: WorldCloudChartOptions): WordCloudChartCore;
|
|
3
|
+
export default class WordCloudChart extends BaseChart<WordCloudChartOptions | WorldCloudChartOptions> {
|
|
4
|
+
createChart(chartRef: HTMLDivElement, data: ChartTabularData, options: WordCloudChartOptions | WorldCloudChartOptions): WordCloudChartCore;
|
|
5
5
|
}
|
package/dist/charts/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { default as AreaChart } from './AreaChart';
|
|
|
3
3
|
import { default as BoxplotChart } from './BoxplotChart';
|
|
4
4
|
import { default as BubbleChart } from './BubbleChart';
|
|
5
5
|
import { default as BulletChart } from './BulletChart';
|
|
6
|
-
import { default as
|
|
6
|
+
import { default as ChoroplethChart } from './ChoroplethChart';
|
|
7
7
|
import { default as CirclePackChart } from './CirclePackChart';
|
|
8
8
|
import { default as ComboChart } from './ComboChart';
|
|
9
9
|
import { default as DonutChart } from './DonutChart';
|
|
@@ -23,4 +23,8 @@ import { default as StackedBarChart } from './StackedBarChart';
|
|
|
23
23
|
import { default as TreeChart } from './TreeChart';
|
|
24
24
|
import { default as TreemapChart } from './TreemapChart';
|
|
25
25
|
import { default as WordCloudChart } from './WordCloudChart';
|
|
26
|
-
export { AlluvialChart, AreaChart, BoxplotChart, BubbleChart, BulletChart,
|
|
26
|
+
export { AlluvialChart, AreaChart, BoxplotChart, BubbleChart, BulletChart, ChoroplethChart,
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated Use `ChoroplethChart` instead.
|
|
29
|
+
*/
|
|
30
|
+
ChoroplethChart as ExperimentalChoroplethChart, CirclePackChart, ComboChart, DonutChart, GaugeChart, GroupedBarChart, HeatmapChart, HistogramChart, LineChart, LollipopChart, MeterChart, PieChart, RadarChart, ScatterChart, SimpleBarChart, StackedAreaChart, StackedBarChart, TreeChart, TreemapChart, WordCloudChart };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
export { AreaChart, StackedAreaChart, GroupedBarChart, SimpleBarChart, StackedBarChart, BoxplotChart, BubbleChart, BulletChart,
|
|
1
|
+
export { AreaChart, StackedAreaChart, GroupedBarChart, SimpleBarChart, StackedBarChart, BoxplotChart, BubbleChart, BulletChart, ChoroplethChart,
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use `ChoroplethChart` instead.
|
|
4
|
+
*/
|
|
5
|
+
ChoroplethChart as ExperimentalChoroplethChart, DonutChart, GaugeChart, HistogramChart, LineChart, LollipopChart, PieChart, ScatterChart, MeterChart, RadarChart, ComboChart, TreeChart, TreemapChart, CirclePackChart, WordCloudChart, AlluvialChart, HeatmapChart } from './charts';
|
|
2
6
|
export { ArrowLeftMarker, ArrowRightMarker, CardNode, CardNodeColumn, CardNodeSubtitle, CardNodeTitle, CardNodeLabel, CircleMarker, DiamondMarker, Edge, Marker, ShapeNode, SquareMarker, TeeMarker } from './diagrams';
|
|
3
|
-
export { ChartTabularData, ChartOptions, AlluvialChartOptions, AreaChartOptions, BarChartOptions, BoxplotChartOptions, BubbleChartOptions, BulletChartOptions, ChoroplethChartOptions, CirclePackChartOptions, ComboChartOptions, DonutChartOptions, GaugeChartOptions, HeatmapChartOptions, HistogramChartOptions, LineChartOptions, LollipopChartOptions, MeterChartOptions, PieChartOptions, RadarChartOptions, ScatterChartOptions, StackedAreaChartOptions, TreeChartOptions, TreemapChartOptions,
|
|
7
|
+
export { ChartTabularData, ChartOptions, AlluvialChartOptions, AreaChartOptions, BarChartOptions, BoxplotChartOptions, BubbleChartOptions, BulletChartOptions, ChoroplethChartOptions, CirclePackChartOptions, ComboChartOptions, DonutChartOptions, GaugeChartOptions, HeatmapChartOptions, HistogramChartOptions, LineChartOptions, LollipopChartOptions, MeterChartOptions, PieChartOptions, RadarChartOptions, ScatterChartOptions, StackedAreaChartOptions, TreeChartOptions, TreemapChartOptions, WordCloudChartOptions,
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use `WordCloudChartOptions` instead.
|
|
10
|
+
*/
|
|
11
|
+
WorldCloudChartOptions } from '@carbon/charts';
|
|
4
12
|
export { Alignments, ChartTheme, ScaleTypes } from '@carbon/charts';
|