yuyeon 0.3.8-beta.10 → 0.3.8-beta.12
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/yuyeon.js +8 -4
- package/dist/yuyeon.umd.cjs +1 -1
- package/lib/components/dialog/YDialog.js +17 -2
- package/lib/components/dialog/YDialog.js.map +1 -1
- package/lib/components/layer/active-event.js +2 -1
- package/lib/components/layer/active-event.js.map +1 -1
- package/lib/components/layer/active-stack.js +2 -2
- package/lib/components/layer/active-stack.js.map +1 -1
- package/package.json +1 -1
- package/types/components/layer/active-stack.d.ts +1 -1
package/dist/yuyeon.js
CHANGED
|
@@ -4072,10 +4072,10 @@ function Zi(e, t, {
|
|
|
4072
4072
|
o();
|
|
4073
4073
|
});
|
|
4074
4074
|
function l(i = n.value, r = a.value) {
|
|
4075
|
-
i && (
|
|
4075
|
+
i && (Array.isArray(i) || zi(i, r));
|
|
4076
4076
|
}
|
|
4077
4077
|
function o(i = n.value, r = a.value) {
|
|
4078
|
-
i && Ui(i, r);
|
|
4078
|
+
i && (Array.isArray(i) || Ui(i, r));
|
|
4079
4079
|
}
|
|
4080
4080
|
}
|
|
4081
4081
|
let Ji = 0;
|
|
@@ -4138,7 +4138,7 @@ function ta(e) {
|
|
|
4138
4138
|
}
|
|
4139
4139
|
const na = /* @__PURE__ */ Symbol.for("yuyeon.active-stack");
|
|
4140
4140
|
function sr(e, t) {
|
|
4141
|
-
const n = le(na, null), a =
|
|
4141
|
+
const n = le(na, null), a = D([]), l = te(), o = D();
|
|
4142
4142
|
let i = null;
|
|
4143
4143
|
function r() {
|
|
4144
4144
|
return l.exposed;
|
|
@@ -4563,7 +4563,11 @@ const Ue = R({
|
|
|
4563
4563
|
return;
|
|
4564
4564
|
}
|
|
4565
4565
|
function T(I) {
|
|
4566
|
-
return I.some((O) =>
|
|
4566
|
+
return I.some((O) => {
|
|
4567
|
+
if (O?.exposeProxy?.content$?.contains(S)) return !0;
|
|
4568
|
+
const E = O?.exposeProxy?.children ?? [];
|
|
4569
|
+
return T(E);
|
|
4570
|
+
});
|
|
4567
4571
|
}
|
|
4568
4572
|
if (h !== S && u.value?.content$ && ![document, u.value?.content$].includes(S) && !u.value?.content$.contains(S) && !T(s.value)) {
|
|
4569
4573
|
const O = [...u.value.content$.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])')].filter((_) => !_.hasAttribute("disabled") && !_.matches('[tabindex="-1"]'));
|