@spavn/ui 0.0.2 → 0.1.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.
- package/dist/index.js +5 -5
- package/dist/index.umd.cjs +1 -1
- package/package.json +7 -7
- package/src/lib/card/Card.vue +6 -3
package/dist/index.js
CHANGED
|
@@ -1437,25 +1437,25 @@ const oe = {
|
|
|
1437
1437
|
1: "shadow-depth-1",
|
|
1438
1438
|
2: "shadow-depth-2",
|
|
1439
1439
|
3: "shadow-depth-3"
|
|
1440
|
-
}, r = {
|
|
1440
|
+
}, r = $(() => Number(e.elevation)), p = {
|
|
1441
1441
|
elevated: "border bg-card text-card-foreground",
|
|
1442
1442
|
outlined: "border bg-transparent text-card-foreground shadow-none",
|
|
1443
1443
|
filled: "border-transparent bg-muted text-foreground shadow-none",
|
|
1444
1444
|
ghost: "border-transparent bg-transparent text-foreground shadow-none"
|
|
1445
1445
|
};
|
|
1446
|
-
return (
|
|
1446
|
+
return (u, g) => (o(), m("div", {
|
|
1447
1447
|
class: h(
|
|
1448
1448
|
a(l)(
|
|
1449
1449
|
"rounded-lg",
|
|
1450
|
-
|
|
1451
|
-
t.variant === "elevated" && s[
|
|
1450
|
+
p[t.variant],
|
|
1451
|
+
t.variant === "elevated" && s[r.value],
|
|
1452
1452
|
t.direction === "horizontal" && "flex flex-row",
|
|
1453
1453
|
t.interactive && "transition-elevation hover:shadow-depth-2 cursor-pointer",
|
|
1454
1454
|
e.class
|
|
1455
1455
|
)
|
|
1456
1456
|
)
|
|
1457
1457
|
}, [
|
|
1458
|
-
d(
|
|
1458
|
+
d(u.$slots, "default")
|
|
1459
1459
|
], 2));
|
|
1460
1460
|
}
|
|
1461
1461
|
}), Jr = /* @__PURE__ */ n({
|