@nimblegiant/stilts 0.2.0-alpha.4 → 0.2.0-alpha.5
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/patterns/ListCard.tsx +15 -13
package/dist/index.js
CHANGED
|
@@ -1430,7 +1430,7 @@ function ListCard({
|
|
|
1430
1430
|
)
|
|
1431
1431
|
}
|
|
1432
1432
|
),
|
|
1433
|
-
/* @__PURE__ */ jsxs("div", { className: "relative flex aspect-video w-full items-center justify-center overflow-hidden rounded-t-lg bg-gradient-to-br from-[var(--color-dot-magenta)] via-[var(--color-dot-purple)] to-[var(--color-dot-turquoise)] p-12", children: [
|
|
1433
|
+
(imageDark?.length || 0) > 0 && (imageLight?.length || 0) > 0 ? /* @__PURE__ */ jsxs("div", { className: "relative flex aspect-video w-full items-center justify-center overflow-hidden rounded-t-lg bg-gradient-to-br from-[var(--color-dot-magenta)] via-[var(--color-dot-purple)] to-[var(--color-dot-turquoise)] p-12", children: [
|
|
1434
1434
|
/* @__PURE__ */ jsx(
|
|
1435
1435
|
"img",
|
|
1436
1436
|
{
|
|
@@ -1447,7 +1447,7 @@ function ListCard({
|
|
|
1447
1447
|
className: "dark-mode-visible h-full w-full object-contain transition-transform duration-300 group-hover:scale-105"
|
|
1448
1448
|
}
|
|
1449
1449
|
)
|
|
1450
|
-
] }),
|
|
1450
|
+
] }) : void 0,
|
|
1451
1451
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col p-6", children: [
|
|
1452
1452
|
meta && /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center gap-2 text-xs text-[var(--color-text-muted)]", children: [
|
|
1453
1453
|
meta.author && /* @__PURE__ */ jsx(AuthorMeta, { author: meta.author }),
|