@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 CHANGED
@@ -1432,7 +1432,7 @@ function ListCard({
1432
1432
  )
1433
1433
  }
1434
1434
  ),
1435
- /* @__PURE__ */ jsxRuntime.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: [
1435
+ (imageDark?.length || 0) > 0 && (imageLight?.length || 0) > 0 ? /* @__PURE__ */ jsxRuntime.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: [
1436
1436
  /* @__PURE__ */ jsxRuntime.jsx(
1437
1437
  "img",
1438
1438
  {
@@ -1449,7 +1449,7 @@ function ListCard({
1449
1449
  className: "dark-mode-visible h-full w-full object-contain transition-transform duration-300 group-hover:scale-105"
1450
1450
  }
1451
1451
  )
1452
- ] }),
1452
+ ] }) : void 0,
1453
1453
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col p-6", children: [
1454
1454
  meta && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center gap-2 text-xs text-[var(--color-text-muted)]", children: [
1455
1455
  meta.author && /* @__PURE__ */ jsxRuntime.jsx(AuthorMeta, { author: meta.author }),