@carbon/charts-vue 1.23.13 → 1.23.15

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.15 (2025-07-25)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **Legend:** add `img` role to additional items
11
+ ([#2017](https://github.com/carbon-design-system/carbon-charts/issues/2017))
12
+ ([f5b898f](https://github.com/carbon-design-system/carbon-charts/commit/f5b898f3f61e5600d25e60f19ccdf803a5543e62))
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.14 (2025-07-22)
20
+
21
+ ### Bug Fixes
22
+
23
+ - **Toolbar:** add `type=button` to buttons
24
+ ([#2016](https://github.com/carbon-design-system/carbon-charts/issues/2016))
25
+ ([1e0e7fe](https://github.com/carbon-design-system/carbon-charts/commit/1e0e7fe89b14236b0dbaf8061d07ff78d816cfb1))
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.13 (2025-06-20)
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");
@@ -12587,7 +12588,7 @@ class eu extends gt {
12587
12588
  if (v && a.length) {
12588
12589
  const x = this, _ = u.selectAll("div.additional-item").data(v);
12589
12590
  _.exit().remove();
12590
- const E = _.enter().append("div").merge(_).classed("legend-item", !0).classed("additional", !0).attr(
12591
+ const E = _.enter().append("div").merge(_).classed("legend-item", !0).classed("additional", !0).attr("role", "img").attr(
12591
12592
  "aria-labelledby",
12592
12593
  (M, D) => this.services.domUtils.generateElementIDString(
12593
12594
  `legend-datagroup-${g.size() + D}-title`