@carbon/charts-vue 1.13.6 → 1.13.7
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 +9 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -12863,7 +12863,7 @@ const ym = class xm extends ot {
|
|
|
12863
12863
|
i && r.push(this.getOverflowButtonConfig());
|
|
12864
12864
|
const s = n.selectAll("div.toolbar-control").data(r, (l) => l.id);
|
|
12865
12865
|
s.exit().remove();
|
|
12866
|
-
const a = s.enter().append("div").attr("class", "toolbar-control cds--overflow-menu cds--overflow-menu")
|
|
12866
|
+
const a = s.enter().append("div").attr("class", "toolbar-control cds--overflow-menu cds--overflow-menu"), o = this;
|
|
12867
12867
|
a.merge(s).classed("disabled", (l) => l.shouldBeDisabled()).attr("aria-disabled", (l) => l.shouldBeDisabled()).attr("aria-label", (l) => l.title).html(
|
|
12868
12868
|
(l) => `
|
|
12869
12869
|
<button
|
|
@@ -14335,7 +14335,9 @@ const SR = ER;
|
|
|
14335
14335
|
class Ia extends ot {
|
|
14336
14336
|
constructor(t, n, r) {
|
|
14337
14337
|
super(t, n, r), this.type = "modal", this.isEventListenerAdded = !1, this.handleShowModal = () => {
|
|
14338
|
-
this.modal.html(this.getModalHTML()), this.modal.select("div.cds--modal-footer button.cds--btn").on("click", () => this.model.exportToCSV()), SR.create(this.modal.node()).show();
|
|
14338
|
+
this.modal.attr("data-modal", !0).attr("class", "cds--modal").attr("role", "dialog").attr("aria-modal", !0).attr("aria-labelledby", "modal-title").attr("aria-describedby", "modal-description").attr("tabindex", -1), this.modal.html(this.getModalHTML()), this.modal.select("div.cds--modal-footer button.cds--btn").on("click", () => this.model.exportToCSV()), SR.create(this.modal.node()).show(), document.addEventListener("modal-hidden", this.handleHideModal);
|
|
14339
|
+
}, this.handleHideModal = () => {
|
|
14340
|
+
this.modal.attr("role", null).attr("aria-modal", null).attr("aria-labelledby", null).attr("aria-describedby", null).attr("tabindex", null), document.removeEventListener("modal-hidden", this.handleHideModal);
|
|
14339
14341
|
}, this.init();
|
|
14340
14342
|
}
|
|
14341
14343
|
addEventListeners() {
|
|
@@ -14395,7 +14397,7 @@ class Ia extends ot {
|
|
|
14395
14397
|
const n = this.model.getOptions();
|
|
14396
14398
|
if (!this.isEventListenerAdded) {
|
|
14397
14399
|
const r = D(this.services.domUtils.getHolder()), i = b(n, "style", "prefix");
|
|
14398
|
-
this.modal = L.appendOrSelect(r, `div.${Jt}--${i}--modal`), this.addEventListeners(), this.isEventListenerAdded = !0
|
|
14400
|
+
this.modal = L.appendOrSelect(r, `div.${Jt}--${i}--modal`), this.addEventListeners(), this.isEventListenerAdded = !0;
|
|
14399
14401
|
}
|
|
14400
14402
|
}
|
|
14401
14403
|
destroy() {
|