@carbon/charts-vue 1.23.12 → 1.23.14

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.23.14 (2025-07-22)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **Toolbar:** add `type=button` to buttons
11
+ ([#2016](https://github.com/carbon-design-system/carbon-charts/issues/2016))
12
+ ([1e0e7fe](https://github.com/carbon-design-system/carbon-charts/commit/1e0e7fe89b14236b0dbaf8061d07ff78d816cfb1))
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.23.13 (2025-06-20)
20
+
21
+ ### Bug Fixes
22
+
23
+ - add field name in aria label for pie and donut chart
24
+ ([#1993](https://github.com/carbon-design-system/carbon-charts/issues/1993))
25
+ ([418fbe9](https://github.com/carbon-design-system/carbon-charts/commit/418fbe9132b86864833a0e146d34acce2901ac56))
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.23.12 (2025-06-17)
7
33
 
8
34
  ### Bug Fixes
package/dist/index.mjs CHANGED
@@ -11945,6 +11945,7 @@ const Us = (e) => tu.sanitize(e, {
11945
11945
  const a = s.enter().append("div").attr("class", "toolbar-control cds--overflow-menu cds--overflow-menu"), o = this;
11946
11946
  a.merge(s).classed("disabled", (l) => l.shouldBeDisabled()).attr("role", "button").attr("aria-disabled", (l) => l.shouldBeDisabled()).attr("aria-label", (l) => l.title).html((l) => `
11947
11947
  <button
11948
+ type="button"
11948
11949
  class="cds--overflow-menu__trigger cds--overflow-menu__trigger"
11949
11950
  aria-haspopup="true" aria-expanded="false" id="${this.services.domUtils.generateElementIDString(
11950
11951
  `control-${tn(l.id)}`
@@ -11980,7 +11981,7 @@ const Us = (e) => tu.sanitize(e, {
11980
11981
  const { overflowMenuItemList: t } = this.getControlConfigs(), n = this.overflowMenu.select("ul").selectAll("li.cds--overflow-menu-options__option").data(t, (i) => y(i, "id"));
11981
11982
  n.exit().remove();
11982
11983
  const r = n.enter().append("li").attr("id", (i) => this.services.domUtils.generateElementIDString(`control-${i.id}`)).attr("class", "cds--overflow-menu-options__option cds--overflow-menu-options__option").attr("role", "menuitem").attr("tabindex", 1);
11983
- r.append("button").attr("class", "cds--overflow-menu-options__btn cds--overflow-menu-options__btn"), r.merge(n).classed("cds--overflow-menu-options__option--disabled", (i) => i.shouldBeDisabled()).classed("cds--overflow-menu-options__option--disabled", (i) => i.shouldBeDisabled()).attr("aria-disabled", (i) => i.shouldBeDisabled()).selectAll("button").text((i) => i.title);
11984
+ r.append("button").attr("type", "button").attr("class", "cds--overflow-menu-options__btn cds--overflow-menu-options__btn"), r.merge(n).classed("cds--overflow-menu-options__option--disabled", (i) => i.shouldBeDisabled()).classed("cds--overflow-menu-options__option--disabled", (i) => i.shouldBeDisabled()).attr("aria-disabled", (i) => i.shouldBeDisabled()).selectAll("button").text((i) => i.title);
11984
11985
  }
11985
11986
  isOverflowMenuOpen() {
11986
11987
  return this.overflowMenu.classed("is-open");
@@ -16608,10 +16609,11 @@ class xv extends gt {
16608
16609
  name: "pie_slice_enter_update",
16609
16610
  animate: t
16610
16611
  })
16611
- ).attr("opacity", 1).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
16612
- "aria-label",
16613
- (A) => `${A[a]}, ${wo(A.data[a], o, a) + "%"}`
16614
- ).attrTween("d", function(A) {
16612
+ ).attr("opacity", 1).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr("aria-label", (A) => [
16613
+ A[a],
16614
+ wo(A.data[a], o, a) + "%",
16615
+ A.data[s]
16616
+ ].filter(Boolean).join(", ")).attrTween("d", function(A) {
16615
16617
  return SD.bind(this)(A, n.arc);
16616
16618
  }).on("end", () => {
16617
16619
  n.isRendering = !1;