@carbon/charts-vue 1.19.2 → 1.20.0

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 (33) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +20 -4
  3. package/dist/components/CcvAlluvialChart.d.ts +1 -2
  4. package/dist/components/CcvAreaChart.d.ts +1 -2
  5. package/dist/components/CcvBoxplotChart.d.ts +1 -1
  6. package/dist/components/CcvBubbleChart.d.ts +1 -2
  7. package/dist/components/CcvBulletChart.d.ts +1 -2
  8. package/dist/components/CcvChoroplethChart.d.ts +1 -2
  9. package/dist/components/CcvCirclePackChart.d.ts +1 -2
  10. package/dist/components/CcvComboChart.d.ts +1 -2
  11. package/dist/components/CcvDonutChart.d.ts +1 -2
  12. package/dist/components/CcvGaugeChart.d.ts +1 -2
  13. package/dist/components/CcvGroupedBarChart.d.ts +1 -2
  14. package/dist/components/CcvHeatmapChart.d.ts +1 -2
  15. package/dist/components/CcvHistogramChart.d.ts +1 -2
  16. package/dist/components/CcvLineChart.d.ts +1 -2
  17. package/dist/components/CcvLollipopChart.d.ts +1 -1
  18. package/dist/components/CcvMeterChart.d.ts +1 -2
  19. package/dist/components/CcvPieChart.d.ts +1 -2
  20. package/dist/components/CcvRadarChart.d.ts +1 -2
  21. package/dist/components/CcvScatterChart.d.ts +1 -2
  22. package/dist/components/CcvSimpleBarChart.d.ts +1 -2
  23. package/dist/components/CcvStackedAreaChart.d.ts +1 -2
  24. package/dist/components/CcvStackedBarChart.d.ts +1 -2
  25. package/dist/components/CcvTreeChart.d.ts +1 -2
  26. package/dist/components/CcvTreemapChart.d.ts +1 -1
  27. package/dist/components/CcvWordCloudChart.d.ts +1 -2
  28. package/dist/components/TestHarness.d.ts +2 -0
  29. package/dist/components/chartFactory.d.ts +1 -2
  30. package/dist/index.d.ts +0 -1
  31. package/dist/index.mjs +15 -13
  32. package/dist/index.mjs.map +1 -1
  33. package/package.json +15 -14
package/CHANGELOG.md CHANGED
@@ -3,6 +3,29 @@
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.20.0 (2024-08-28)
7
+
8
+ ### Features
9
+
10
+ - **tooltip:** pass datum to customHTML callback function
11
+ ([#1879](https://github.com/carbon-design-system/carbon-charts/issues/1879))
12
+ ([9a76784](https://github.com/carbon-design-system/carbon-charts/commit/9a767848c5d9f34d51b2616b904393f496c0f5fd)),
13
+ closes [#1518](https://github.com/carbon-design-system/carbon-charts/issues/1518)
14
+
15
+ # Change Log
16
+
17
+ All notable changes to this project will be documented in this file. See
18
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
19
+
20
+ ## 1.19.3 (2024-08-19)
21
+
22
+ **Note:** Version bump only for package @carbon/charts-vue
23
+
24
+ # Change Log
25
+
26
+ All notable changes to this project will be documented in this file. See
27
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
28
+
6
29
  ## 1.19.2 (2024-07-15)
7
30
 
8
31
  ### Bug Fixes
package/README.md CHANGED
@@ -1,7 +1,23 @@
1
- # Carbon Charts Vue
2
-
3
- Carbon Charts Vue is a thin Vue.js wrapper around the vanilla JavaScript `@carbon/charts` component
4
- library. This version is for Vue.js ^3.3.0. For Vue.js 2.x support, please use
1
+ <p align="center">
2
+ <a href="https://charts.carbondesignsystem.com/">
3
+ <img src="../../assets/dashboard.png" alt="Carbon Charts" />
4
+ </a>
5
+ <h3 align="center">Carbon Charts Vue</h3>
6
+ <p align="center">
7
+ A component library of 26 charts for Vue.js 3+.
8
+ <br /><br />
9
+ <a href="https://www.npmjs.com/package/@carbon/charts">
10
+ <img src="https://img.shields.io/npm/v/@carbon/charts.svg" />
11
+ </a>
12
+ <img alt="semantic-versioning" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--ver-e10079.svg" />
13
+ <img alt="semantic-versioning" src="https://img.shields.io/badge/downloads-+60k%2Fweek-green" />
14
+ <a href="https://discord.gg/J7JEUEkTRX">
15
+ <img src="https://img.shields.io/discord/689212587170201628?color=5865F2" alt="Chat with us on Discord">
16
+ </a>
17
+ </p>
18
+ </p>
19
+
20
+ For Vue.js 2.x support, please use
5
21
  `@carbon/charts-vue@latest`.
6
22
 
7
23
  ## [Documentation with StackBlitz examples](https://charts.carbondesignsystem.com/)
@@ -1,5 +1,4 @@
1
1
  import { AlluvialChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { AreaChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -44,7 +44,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
44
44
  bins: import('d3-array').Bin<number, number>[];
45
45
  binsDomain: any[];
46
46
  };
47
- getBinnedStackedData: () => import('d3').SeriesPoint<{
47
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
48
48
  [key: string]: number;
49
49
  }>[][];
50
50
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { BubbleChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { BulletChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { ChoroplethChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { CirclePackChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { ComboChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { DonutChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { GaugeChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { BarChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { HeatmapChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { HistogramChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { LineChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -44,7 +44,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
44
44
  bins: import('d3-array').Bin<number, number>[];
45
45
  binsDomain: any[];
46
46
  };
47
- getBinnedStackedData: () => import('d3').SeriesPoint<{
47
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
48
48
  [key: string]: number;
49
49
  }>[][];
50
50
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { MeterChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { PieChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { RadarChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { ScatterChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { BarChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { StackedAreaChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { StackedBarChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { TreeChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -44,7 +44,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
44
44
  bins: import('d3-array').Bin<number, number>[];
45
45
  binsDomain: any[];
46
46
  };
47
- getBinnedStackedData: () => import('d3').SeriesPoint<{
47
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
48
48
  [key: string]: number;
49
49
  }>[][];
50
50
  getGroupedData: (groups?: any) => {
@@ -1,5 +1,4 @@
1
1
  import { WordCloudChartOptions } from '@carbon/charts';
2
-
3
2
  declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
4
3
  data: {
5
4
  type: () => import('@carbon/charts').ChartTabularData;
@@ -46,7 +45,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
46
45
  bins: import('d3-array').Bin<number, number>[];
47
46
  binsDomain: any[];
48
47
  };
49
- getBinnedStackedData: () => import('d3').SeriesPoint<{
48
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
50
49
  [key: string]: number;
51
50
  }>[][];
52
51
  getGroupedData: (groups?: any) => {
@@ -0,0 +1,2 @@
1
+ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{}, {}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -1,5 +1,4 @@
1
1
  import { Chart, ChartTabularData, ChartOptions } from '@carbon/charts';
2
-
3
2
  /**
4
3
  * A factory function to create Vue components for different types of charts.
5
4
  * @template T - The type of the chart options.
@@ -56,7 +55,7 @@ export declare function chartFactory<T extends ChartOptions>(chartType: new (ele
56
55
  bins: import('d3-array').Bin<number, number>[];
57
56
  binsDomain: any[];
58
57
  };
59
- getBinnedStackedData: () => import('d3').SeriesPoint<{
58
+ getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
60
59
  [key: string]: number;
61
60
  }>[][];
62
61
  getGroupedData: (groups?: any) => {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { App } from '../vue/dist/vue.esm-bundler.js';
2
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';
3
-
4
3
  declare const _default: {
5
4
  install(app: App, options?: string[]): void;
6
5
  };
package/dist/index.mjs CHANGED
@@ -13845,28 +13845,28 @@ new vo();
13845
13845
  class Ou extends dt {
13846
13846
  constructor(t, n, r) {
13847
13847
  super(t, n, r), this.type = "tooltip", this.renderType = Q.HTML, this.isEventListenerAdded = !1, this.lastTriggeredEventType = "", this.positionService = new vo(), this.handleShowTooltip = (i) => {
13848
- const a = i.detail.data || i.detail.items;
13849
- let s;
13850
- const o = this.formatItems(this.getItems(i));
13851
- i.detail.content ? s = `<div class="title-tooltip"><p>${Na(i.detail.content)}</p></div>` : s = Na(this.getTooltipHTML(o));
13852
- const l = I.appendOrSelect(this.tooltip, "div.content-box");
13848
+ const a = i.detail.data || i.detail.items, s = D(i.detail.event.target).datum();
13849
+ let o;
13850
+ const l = this.formatItems(this.getItems(i));
13851
+ i.detail.content ? o = `<div class="title-tooltip"><p>${Na(i.detail.content)}</p></div>` : o = Na(this.getTooltipHTML(l));
13852
+ const c = I.appendOrSelect(this.tooltip, "div.content-box");
13853
13853
  if (b(this.getOptions(), "tooltip", "customHTML"))
13854
13854
  if (i.detail.content) {
13855
- const c = `<div class="title-tooltip"><p>${Na(
13855
+ const u = `<div class="title-tooltip"><p>${Na(
13856
13856
  i.detail.content
13857
13857
  )}</p></div>`;
13858
- l.html(c);
13858
+ c.html(u);
13859
13859
  } else
13860
- l.html(
13860
+ c.html(
13861
13861
  `<div class="title-tooltip"><p>${Na(
13862
- this.model.getOptions().tooltip.customHTML(a, s)
13862
+ this.model.getOptions().tooltip.customHTML(a, o, s)
13863
13863
  )}</p></div>`
13864
13864
  );
13865
13865
  else
13866
- l.html(s);
13867
- l.selectAll(".datapoint-tooltip").each(function(c, u) {
13868
- const d = o[u];
13869
- o[u] && o[u].color && D(this).select(".tooltip-color").attr("class", "tooltip-color").style("background-color", d.color);
13866
+ c.html(o);
13867
+ c.selectAll(".datapoint-tooltip").each(function(u, d) {
13868
+ const h = l[d];
13869
+ l[d] && l[d].color && D(this).select(".tooltip-color").attr("class", "tooltip-color").style("background-color", h.color);
13870
13870
  }), this.positionTooltip(i), this.tooltip.classed("hidden", !1).attr("aria-hidden", !1), this.lastTriggeredEventType = i.type;
13871
13871
  }, this.handleHideTooltip = () => {
13872
13872
  this.tooltip.classed("hidden", !0).attr("aria-hidden", !0);
@@ -15515,6 +15515,7 @@ class Un extends dt {
15515
15515
  return y.includes(E);
15516
15516
  });
15517
15517
  this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Kg(this.elementsToHighlight, v) && this.hideRuler(), v.dispatch("mouseover"), this.elementsToHighlight = v, this.services.events.dispatchEvent(S.Tooltip.SHOW, {
15518
+ event: t,
15518
15519
  mousePosition: [n, r],
15519
15520
  hoveredElement: h,
15520
15521
  data: this.formatTooltipData(m)
@@ -17071,6 +17072,7 @@ class fI extends Un {
17071
17072
  })).filter((E) => E.value !== 0);
17072
17073
  if (O.length > 0) {
17073
17074
  this.services.events.dispatchEvent(S.Tooltip.SHOW, {
17075
+ event: t,
17074
17076
  mousePosition: [n, r],
17075
17077
  hoveredElement: f,
17076
17078
  items: [