@carbon/charts-vue 1.16.4 → 1.16.6
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 +18 -0
- package/dist/components/chartFactory.d.ts +12 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1623 -1701
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
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.6 (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.5 (2024-06-15)
|
|
16
|
+
|
|
17
|
+
**Note:** Version bump only for package @carbon/charts-vue
|
|
18
|
+
|
|
19
|
+
# Change Log
|
|
20
|
+
|
|
21
|
+
All notable changes to this project will be documented in this file. See
|
|
22
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
23
|
+
|
|
6
24
|
## 1.16.4 (2024-06-12)
|
|
7
25
|
|
|
8
26
|
### Bug Fixes
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { ChartTabularData, ChartOptions } from '@carbon/charts';
|
|
1
|
+
import { Chart, ChartTabularData, ChartOptions } from '@carbon/charts';
|
|
2
2
|
|
|
3
|
-
|
|
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';
|