@carbon/charts-vue 1.16.8 → 1.16.10

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,32 @@
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.10 (2024-06-17)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **1856:** add cjs to umd bundles and update package.json exports
11
+ ([#1857](https://github.com/carbon-design-system/carbon-charts/issues/1857))
12
+ ([42a2b12](https://github.com/carbon-design-system/carbon-charts/commit/42a2b12cc7cb1ed49a48ab1e74af9cdca383ae00))
13
+
14
+ # Change Log
15
+
16
+ All notable changes to this project will be documented in this file. See
17
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
18
+
19
+ ## 1.16.9 (2024-06-16)
20
+
21
+ ### Bug Fixes
22
+
23
+ - **1852:** fix property issues with interfaces used by demos
24
+ ([#1853](https://github.com/carbon-design-system/carbon-charts/issues/1853))
25
+ ([cb0705b](https://github.com/carbon-design-system/carbon-charts/commit/cb0705b016f53a7df2c44eb7eb3b712b819c8edc))
26
+
27
+ # Change Log
28
+
29
+ All notable changes to this project will be documented in this file. See
30
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
31
+
6
32
  ## 1.16.8 (2024-06-15)
7
33
 
8
34
  ### Bug Fixes
package/dist/index.mjs CHANGED
@@ -3839,7 +3839,7 @@ const le = "cds", fn = {
3839
3839
  mainGroup: 4,
3840
3840
  children: 2
3841
3841
  },
3842
- hierarchyLevel: 2
3842
+ depth: 2
3843
3843
  }, jm = {
3844
3844
  pairingOptions: {
3845
3845
  "1-color": 4,
@@ -6493,7 +6493,7 @@ let A$ = class extends nn {
6493
6493
  setOptions(t) {
6494
6494
  const n = this.getOptions(), r = rt({}, t, this.getZoomOptions(t));
6495
6495
  au(n, r);
6496
- const i = this.getHierarchyLevel(), a = b(n, "circlePack", "hierarchyLevel");
6496
+ const i = this.getHierarchyLevel(), a = b(n, "circlePack", "depth");
6497
6497
  this.set({
6498
6498
  options: rt(n, r),
6499
6499
  depth: a && a < 4 ? a : i
@@ -6603,8 +6603,7 @@ let A$ = class extends nn {
6603
6603
  sanitize(t) {
6604
6604
  return this.getTabularData(t).sort((n, r) => r.value - n.value);
6605
6605
  }
6606
- };
6607
- class k$ extends nn {
6606
+ }, k$ = class extends nn {
6608
6607
  constructor(t) {
6609
6608
  super(t);
6610
6609
  }
@@ -6620,8 +6619,8 @@ class k$ extends nn {
6620
6619
  ];
6621
6620
  return super.formatTable({ headers: s, cells: o });
6622
6621
  }
6623
- }
6624
- let D$ = class extends ur {
6622
+ };
6623
+ class D$ extends ur {
6625
6624
  constructor(t) {
6626
6625
  super(t), this.axisFlavor = Fs.HOVERABLE, this._colorScale = void 0, this._domains = [], this._ranges = [], this._matrix = {};
6627
6626
  const n = b(this.getOptions(), "axes");
@@ -6772,7 +6771,8 @@ let D$ = class extends ur {
6772
6771
  const l = b(this.getOptions(), "color");
6773
6772
  this._colorScale = hg(this.getDisplayData(), l);
6774
6773
  }
6775
- }, R$ = class extends ur {
6774
+ }
6775
+ let R$ = class extends ur {
6776
6776
  getTabularDataArray() {
6777
6777
  const t = this.getOptions(), { groupMapsTo: n } = t.data, { number: r, code: i } = b(this.getOptions(), "locale"), a = this.getBinnedStackedData(), s = [
6778
6778
  ft(t, "bins.rangeLabel") || "Range",
@@ -13904,6 +13904,9 @@ class Ou extends dt {
13904
13904
  </li>`
13905
13905
  ).join("") + "</ul>";
13906
13906
  }
13907
+ isDate(t) {
13908
+ return t instanceof Date;
13909
+ }
13907
13910
  valueFormatter(t, n) {
13908
13911
  const r = this.getOptions(), i = b(r, "tooltip", "valueFormatter"), {
13909
13912
  code: a,
@@ -13912,7 +13915,7 @@ class Ou extends dt {
13912
13915
  } = b(r, "locale");
13913
13916
  if (i)
13914
13917
  return i(t, n);
13915
- if (typeof t.getTime == "function")
13918
+ if (this.isDate(t))
13916
13919
  return o(t, a, { month: "short", day: "numeric", year: "numeric" });
13917
13920
  try {
13918
13921
  if (typeof t == "string" && /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(t)) {