@carbon/charts-react 1.23.13 → 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/dist/index.mjs CHANGED
@@ -11952,6 +11952,7 @@ const Gs = (e) => ou.sanitize(e, {
11952
11952
  const a = s.enter().append("div").attr("class", "toolbar-control cds--overflow-menu cds--overflow-menu"), o = this;
11953
11953
  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) => `
11954
11954
  <button
11955
+ type="button"
11955
11956
  class="cds--overflow-menu__trigger cds--overflow-menu__trigger"
11956
11957
  aria-haspopup="true" aria-expanded="false" id="${this.services.domUtils.generateElementIDString(
11957
11958
  `control-${en(l.id)}`
@@ -11987,7 +11988,7 @@ const Gs = (e) => ou.sanitize(e, {
11987
11988
  const { overflowMenuItemList: t } = this.getControlConfigs(), n = this.overflowMenu.select("ul").selectAll("li.cds--overflow-menu-options__option").data(t, (i) => y(i, "id"));
11988
11989
  n.exit().remove();
11989
11990
  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);
11990
- 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);
11991
+ 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);
11991
11992
  }
11992
11993
  isOverflowMenuOpen() {
11993
11994
  return this.overflowMenu.classed("is-open");