@carbon/charts-vue 1.16.3 → 1.16.5

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/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 1.16.5 (2024-06-15)
7
+
8
+ **Note:** Version bump only for package @carbon/charts-vue
9
+
10
+ # Change Log
11
+
12
+ All notable changes to this project will be documented in this file. See
13
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
14
+
15
+ ## 1.16.4 (2024-06-12)
16
+
17
+ ### Bug Fixes
18
+
19
+ - **wordcloud,choropleth:** provide corrected names, deprecate old names
20
+ ([#1832](https://github.com/carbon-design-system/carbon-charts/issues/1832))
21
+ ([230ce7c](https://github.com/carbon-design-system/carbon-charts/commit/230ce7c3bdce8e03e70b8188e06a1d65ee90b2be))
22
+
23
+ # Change Log
24
+
25
+ All notable changes to this project will be documented in this file. See
26
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
27
+
6
28
  ## 1.16.3 (2024-06-03)
7
29
 
8
30
  **Note:** Version bump only for package @carbon/charts-vue
@@ -1,4 +1,4 @@
1
- import { WorldCloudChartOptions } from '@carbon/charts';
1
+ import { WordCloudChartOptions } from '@carbon/charts';
2
2
 
3
3
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
4
  data: {
@@ -6,7 +6,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
6
6
  required: true;
7
7
  };
8
8
  options: {
9
- type: () => WorldCloudChartOptions;
9
+ type: () => WordCloudChartOptions;
10
10
  required: true;
11
11
  };
12
12
  }, {
@@ -89,7 +89,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
89
89
  required: true;
90
90
  };
91
91
  options: {
92
- type: () => WorldCloudChartOptions;
92
+ type: () => WordCloudChartOptions;
93
93
  required: true;
94
94
  };
95
95
  }>>, {}, {}>;
@@ -1,6 +1,16 @@
1
- import { ChartTabularData, ChartOptions } from '@carbon/charts';
1
+ import { Chart, ChartTabularData, ChartOptions } from '@carbon/charts';
2
2
 
3
- export declare function chartFactory<T extends ChartOptions>(chartType: any, chartName: string): import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
3
+ /**
4
+ * A factory function to create Vue components for different types of charts.
5
+ * @template T - The type of the chart options.
6
+ * @param {new (...args: any[]) => Chart} chartType - The class or constructor function for the chart.
7
+ * @param {string} chartName - The name of the Vue component to be created.
8
+ * @returns {import('vue').DefineComponent} - The Vue component definition for the chart.
9
+ */
10
+ export declare function chartFactory<T extends ChartOptions>(chartType: new (element: HTMLDivElement, config: {
11
+ data: ChartTabularData;
12
+ options: T;
13
+ }) => Chart, chartName: string): import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
14
  data: {
5
15
  type: () => ChartTabularData;
6
16
  required: true;
@@ -3,7 +3,7 @@ export { default as CcvAreaChart } from './CcvAreaChart.ts';
3
3
  export { default as CcvBoxplotChart } from './CcvBoxplotChart.ts';
4
4
  export { default as CcvBubbleChart } from './CcvBubbleChart.ts';
5
5
  export { default as CcvBulletChart } from './CcvBulletChart.ts';
6
- export { default as ExperimentalCcvChoroplethChart } from './CcvChoroplethChart.ts';
6
+ export { default as CcvChoroplethChart } from './CcvChoroplethChart.ts';
7
7
  export { default as CcvCirclePackChart } from './CcvCirclePackChart.ts';
8
8
  export { default as CcvComboChart } from './CcvComboChart.ts';
9
9
  export { default as CcvDonutChart } from './CcvDonutChart.ts';
package/dist/index.d.ts CHANGED
@@ -1,9 +1,18 @@
1
- import { CcvAlluvialChart, CcvAreaChart, CcvBoxplotChart, CcvBubbleChart, CcvBulletChart, CcvCirclePackChart, CcvComboChart, ExperimentalCcvChoroplethChart, CcvDonutChart, CcvGaugeChart, CcvGroupedBarChart, CcvHeatmapChart, CcvHistogramChart, CcvLineChart, CcvLollipopChart, CcvMeterChart, CcvPieChart, CcvRadarChart, CcvScatterChart, CcvSimpleBarChart, CcvStackedAreaChart, CcvStackedBarChart, CcvTreeChart, CcvTreemapChart, CcvWordCloudChart } from './components';
1
+ import { App } from '../vue/dist/vue.esm-bundler.js';
2
+ import { CcvAlluvialChart, CcvAreaChart, CcvBoxplotChart, CcvBubbleChart, CcvBulletChart, CcvCirclePackChart, CcvComboChart, CcvChoroplethChart, CcvChoroplethChart as ExperimentalCcvChoroplethChart, CcvDonutChart, CcvGaugeChart, CcvGroupedBarChart, CcvHeatmapChart, CcvHistogramChart, CcvLineChart, CcvLollipopChart, CcvMeterChart, CcvPieChart, CcvRadarChart, CcvScatterChart, CcvSimpleBarChart, CcvStackedAreaChart, CcvStackedBarChart, CcvTreeChart, CcvTreemapChart, CcvWordCloudChart } from './components';
2
3
 
3
4
  declare const _default: {
4
- install(app: any, options?: string[]): void;
5
+ install(app: App, options?: string[]): void;
5
6
  };
6
7
  export default _default;
7
- export { CcvAlluvialChart, CcvAreaChart, CcvBoxplotChart, CcvBubbleChart, CcvBulletChart, ExperimentalCcvChoroplethChart, CcvCirclePackChart, CcvComboChart, CcvDonutChart, CcvGaugeChart, CcvGroupedBarChart, CcvHeatmapChart, CcvHistogramChart, CcvLineChart, CcvLollipopChart, CcvMeterChart, CcvPieChart, CcvRadarChart, CcvScatterChart, CcvSimpleBarChart, CcvStackedAreaChart, CcvStackedBarChart, CcvTreeChart, CcvTreemapChart, CcvWordCloudChart };
8
- export type { ChartTabularData, ChartOptions, AlluvialChartOptions, AreaChartOptions, BarChartOptions, BoxplotChartOptions, BubbleChartOptions, BulletChartOptions, ChoroplethChartOptions, CirclePackChartOptions, ComboChartOptions, DonutChartOptions, GaugeChartOptions, HeatmapChartOptions, HistogramChartOptions, LineChartOptions, LollipopChartOptions, MeterChartOptions, PieChartOptions, RadarChartOptions, ScatterChartOptions, StackedAreaChartOptions, TreeChartOptions, TreemapChartOptions, WorldCloudChartOptions } from '@carbon/charts';
9
- export { Alignments, ChartTheme, ScaleTypes } from '@carbon/charts';
8
+ export { CcvAlluvialChart, CcvAreaChart, CcvBoxplotChart, CcvBubbleChart, CcvBulletChart, CcvChoroplethChart,
9
+ /**
10
+ * @deprecated Use `CcvChoroplethChart` instead.
11
+ */
12
+ ExperimentalCcvChoroplethChart, CcvCirclePackChart, CcvComboChart, CcvDonutChart, CcvGaugeChart, CcvGroupedBarChart, CcvHeatmapChart, CcvHistogramChart, CcvLineChart, CcvLollipopChart, CcvMeterChart, CcvPieChart, CcvRadarChart, CcvScatterChart, CcvSimpleBarChart, CcvStackedAreaChart, CcvStackedBarChart, CcvTreeChart, CcvTreemapChart, CcvWordCloudChart };
13
+ export type { 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,
14
+ /**
15
+ * @deprecated Use `WordCloudChartOptions` instead.
16
+ */
17
+ WordCloudChartOptions as WorldCloudChartOptions } from '@carbon/charts';
18
+ export { Alignments, AreaEvent, ArrowDirections, AxisEvent, AxisFlavor, AxisPositions, AxisTitleOrientations, BarEvent, BoxplotEvent, CalloutDirections, CanvasZoomEvent, CartesianOrientations, ChartEvent, ChartTheme, ChartTypes, ColorClassNameTypes, ColorLegendType, DividerStatus, DominantBaseline, GaugeEvent, GaugeTypes, LayoutAlignItems, LayoutDirection, LayoutGrowth, LegendItemType, LegendOrientations, LegendPositions, LineEvent, ModalEvent, ModelEvent, PieEvent, Projection, RadarEvent, RenderTypes, ScaleTypes, ScatterEvent, Skeletons, Statuses, TextAnchor, ThresholdEvent, TickRotations, ToolbarControlTypes, TooltipEvent, TruncationTypes, TreeEvent, TreemapEvent, TreeTypes, WordCloudEvent, ZoombarEvent, ZoomDomainEvent, ZoomBarTypes } from '@carbon/charts';