@visitscotland/component-library 5.71.1 → 5.71.2
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.
|
@@ -3998,7 +3998,7 @@ var normalizeInput = (e, t) => {
|
|
|
3998
3998
|
leaveActiveClass: "",
|
|
3999
3999
|
enterFromClass: "",
|
|
4000
4000
|
leaveFromClass: ""
|
|
4001
|
-
} }), V = useBreakpoints(breakpointsBootstrapV5).
|
|
4001
|
+
} }), V = useBreakpoints(breakpointsBootstrapV5).smaller(() => a.responsive ?? "xs"), P = ref(!1);
|
|
4002
4002
|
onMounted(() => {
|
|
4003
4003
|
a.responsive !== void 0 && (P.value = !V.value, o("breakpoint", F("breakpoint"), P.value));
|
|
4004
4004
|
}), useSafeScrollLock(p, () => a.bodyScrolling || P.value), onKeyStroke("Escape", () => {
|
|
@@ -17717,7 +17717,7 @@ function updateSwiper(e) {
|
|
|
17717
17717
|
const { swiper: r, slides: s, passedParams: i, changedParams: l } = e, c = l.filter((w) => w !== "children" && w !== "direction" && w !== "wrapperClass"), { params: d, pagination: u, navigation: f, scrollbar: p, virtual: m, thumbs: g } = r, b = i, v = d;
|
|
17718
17718
|
let _, k, C, T, D, I, E, O;
|
|
17719
17719
|
const F = b.thumbs, N = v.thumbs;
|
|
17720
|
-
l.includes("thumbs") && isObject$1(F) &&
|
|
17720
|
+
l.includes("thumbs") && isObject$1(F) && F.swiper && !F.swiper.destroyed && isObject$1(N) && (!N.swiper || N.swiper.destroyed) && (_ = !0);
|
|
17721
17721
|
const M = b.controller, S = v.controller;
|
|
17722
17722
|
l.includes("controller") && isObject$1(M) && M.control && isObject$1(S) && !S.control && (k = !0);
|
|
17723
17723
|
const V = b.pagination;
|
package/package.json
CHANGED