@templatical/media-library 0.44.3 → 0.46.0

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.
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./en-w2ihxIL6.js";
2
- import { $ as t, D as n, I as r, J as i, Q as a, R as o, V as s, Y as c, at as l, ct as u, et as d, it as f, nt as p, rt as m, st as h, tt as g } from "./icons-6EkTPJx8.js";
2
+ import { $ as t, D as n, I as r, J as i, Q as a, R as o, V as s, Y as c, at as l, ct as u, et as d, it as f, nt as p, rt as m, st as h, tt as g } from "./icons-CtGTlRRa.js";
3
3
  //#region src/keys.ts
4
4
  var _ = Symbol("templaticalMediaLimits"), v = Symbol("templaticalMediaPopoverTarget"), y = Symbol("templaticalMediaTranslations"), b = Symbol("templaticalMediaUiTheme"), x = Symbol("templaticalMediaUiLocale");
5
5
  //#endregion
@@ -232,13 +232,7 @@ function J(e, t, n = {}) {
232
232
  }
233
233
  let f = (n) => {
234
234
  let r = G(e);
235
- if (n.target != null && !(!(r instanceof Element) && u(e) && d(e, n)) && r && r !== n.target && !n.composedPath().includes(r)) {
236
- if ("detail" in n && n.detail === 0 && (c = !l(n)), !c) {
237
- c = !0;
238
- return;
239
- }
240
- t(n);
241
- }
235
+ n.target != null && (!(r instanceof Element) && u(e) && d(e, n) || r && r !== n.target && !n.composedPath().includes(r) && ("detail" in n && n.detail === 0 && (c = !l(n)), c ? t(n) : c = !0));
242
236
  }, p = !1, m = [
243
237
  K(r, "click", (e) => {
244
238
  p || (p = !0, setTimeout(() => {
@@ -533,4 +527,4 @@ function oe(e, t) {
533
527
  //#endregion
534
528
  export { $ as a, z as c, _ as d, v as f, b as h, Q as i, w as l, x as m, ie as n, re as o, y as p, J as r, ee as s, oe as t, S as u };
535
529
 
536
- //# sourceMappingURL=useFocusTrap-Cd2j4q7F.js.map
530
+ //# sourceMappingURL=useFocusTrap-CHlDIBd_.js.map