@carbon/charts-vue 1.16.4 → 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,15 @@
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
+
6
15
  ## 1.16.4 (2024-06-12)
7
16
 
8
17
  ### Bug Fixes
@@ -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;
package/dist/index.d.ts CHANGED
@@ -15,4 +15,4 @@ export type { ChartTabularData, ChartOptions, AlluvialChartOptions, AreaChartOpt
15
15
  * @deprecated Use `WordCloudChartOptions` instead.
16
16
  */
17
17
  WordCloudChartOptions as WorldCloudChartOptions } from '@carbon/charts';
18
- export { Alignments, ChartTheme, ScaleTypes } 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';