@central-design-system/components 3.10.5 → 3.10.6
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/cds.es.js +1 -1
- package/dist/cds.es.js.map +1 -1
- package/dist/cds.umd.js +1 -1
- package/dist/cds.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/cds.es.js
CHANGED
|
@@ -5443,7 +5443,7 @@ const C0 = ["xs", "sm", "md", "lg", "xl"], Mw = ["smUp", "smDown", "mdUp", "mdDo
|
|
|
5443
5443
|
function w0(e, t) {
|
|
5444
5444
|
const { thresholds: n, mobileBreakpoint: a } = S0(e), r = ke(ll(t)), s = ke(cl(t)), i = ke(dl(t)), l = ke(Oe ? window.innerWidth : 0), c = ke(Oe ? window.innerHeight : 0), h = ht({});
|
|
5445
5445
|
it(() => {
|
|
5446
|
-
const m = r.value < n.
|
|
5446
|
+
const m = r.value < n.sm, v = r.value < n.md && !m, y = r.value < n.lg && !(v || m), b = r.value < n.xl && !(y || v || m), w = r.value >= n.xl, S = m ? "xs" : v ? "sm" : y ? "md" : b ? "lg" : "xl", k = typeof a == "number" ? a : n[a], _ = r.value < k;
|
|
5447
5447
|
h.xs = m, h.sm = v, h.md = y, h.lg = b, h.xl = w, h.smUp = !m, h.mdUp = !(m || v), h.lgUp = !(m || v || y), h.xlUp = !(m || v || y || b), h.smDown = !(y || b || w), h.mdDown = !(b || w), h.lgDown = !w, h.name = S, h.height = s.value, h.width = r.value, h.mobile = _, h.mobileBreakpoint = a, h.platform = i.value, h.thresholds = n, h.screenWidth = l.value, h.screenHeight = c.value;
|
|
5448
5448
|
}), Oe && (window.addEventListener("resize", d, { passive: !0 }), Gt(() => {
|
|
5449
5449
|
window.removeEventListener("resize", d);
|