@oub/fusion 0.2.90 → 0.2.91
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/fusion.js +4 -4
- package/dist/fusion.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/fusion.js
CHANGED
|
@@ -13707,10 +13707,10 @@ const Qm = /* @__PURE__ */ ge(Vm, [["render", Um], ["__scopeId", "data-v-a9cb64f
|
|
|
13707
13707
|
mounted() {
|
|
13708
13708
|
this.checkMobileView(), window.addEventListener("resize", this.checkMobileView), window.addEventListener("keydown", this.onKeyDown), this.contentRef = this.$refs.contentRef, this.modalDialog = this.$refs.modalDialog, this.$nextTick(() => {
|
|
13709
13709
|
this.handleScroll(), this.focusModal();
|
|
13710
|
-
}), this.previousActiveElement = document.activeElement;
|
|
13710
|
+
}), this.previousActiveElement = document.activeElement, document.body.classList.add("fusion-modal-open");
|
|
13711
13711
|
},
|
|
13712
13712
|
beforeUnmount() {
|
|
13713
|
-
window.removeEventListener("resize", this.checkMobileView), window.removeEventListener("keydown", this.onKeyDown), this.previousActiveElement && "focus" in this.previousActiveElement && this.previousActiveElement.focus();
|
|
13713
|
+
window.removeEventListener("resize", this.checkMobileView), window.removeEventListener("keydown", this.onKeyDown), this.previousActiveElement && "focus" in this.previousActiveElement && this.previousActiveElement.focus(), document.body.classList.remove("fusion-modal-open");
|
|
13714
13714
|
},
|
|
13715
13715
|
methods: {
|
|
13716
13716
|
closeModal() {
|
|
@@ -13739,7 +13739,7 @@ const Qm = /* @__PURE__ */ ge(Vm, [["render", Um], ["__scopeId", "data-v-a9cb64f
|
|
|
13739
13739
|
}
|
|
13740
13740
|
}
|
|
13741
13741
|
};
|
|
13742
|
-
const Nm = (e) => (Un("data-v-
|
|
13742
|
+
const Nm = (e) => (Un("data-v-308764ad"), e = e(), Qn(), e), Lm = ["aria-labelledby"], Hm = /* @__PURE__ */ Nm(() => /* @__PURE__ */ g("div", {
|
|
13743
13743
|
class: "fusion-modal-background",
|
|
13744
13744
|
"aria-hidden": "true"
|
|
13745
13745
|
}, null, -1));
|
|
@@ -13796,7 +13796,7 @@ function Rm(e, t, n, r, a, o) {
|
|
|
13796
13796
|
Hm
|
|
13797
13797
|
], 2);
|
|
13798
13798
|
}
|
|
13799
|
-
const Kh = /* @__PURE__ */ ge(Mm, [["render", Rm], ["__scopeId", "data-v-
|
|
13799
|
+
const Kh = /* @__PURE__ */ ge(Mm, [["render", Rm], ["__scopeId", "data-v-308764ad"]]), qm = 12, pr = ce({
|
|
13800
13800
|
name: "FusionCircularProgressIndicator",
|
|
13801
13801
|
props: {
|
|
13802
13802
|
size: {
|