@carbon/charts-react 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/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.cjs +3 -2
- package/dist/index.umd.cjs.map +1 -1
- package/dist/index.umd.js +3 -2
- package/package.json +3 -3
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");
|
|
@@ -12594,7 +12595,7 @@ class lu extends mt {
|
|
|
12594
12595
|
if (v && a.length) {
|
|
12595
12596
|
const x = this, _ = u.selectAll("div.additional-item").data(v);
|
|
12596
12597
|
_.exit().remove();
|
|
12597
|
-
const E = _.enter().append("div").merge(_).classed("legend-item", !0).classed("additional", !0).attr(
|
|
12598
|
+
const E = _.enter().append("div").merge(_).classed("legend-item", !0).classed("additional", !0).attr("role", "img").attr(
|
|
12598
12599
|
"aria-labelledby",
|
|
12599
12600
|
(M, D) => this.services.domUtils.generateElementIDString(
|
|
12600
12601
|
`legend-datagroup-${m.size() + D}-title`
|