@estiva-app/ui 0.80.0 → 0.81.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 CHANGED
@@ -4395,9 +4395,9 @@ function LinkChip({ link, preview = true }) {
4395
4395
  // src/CardUnder.tsx
4396
4396
  import { IconX as IconX6 } from "@tabler/icons-react";
4397
4397
  import { jsx as jsx65, jsxs as jsxs45 } from "react/jsx-runtime";
4398
- function CardUnder({ link, onRemove, revealOnHover = false }) {
4398
+ function CardUnder({ link, children, onRemove, revealOnHover = false }) {
4399
4399
  return /* @__PURE__ */ jsxs45("div", { className: "group/card flex max-w-[480px] items-start gap-1", children: [
4400
- /* @__PURE__ */ jsx65("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ jsx65(LinkCard, { link }) }),
4400
+ /* @__PURE__ */ jsx65("div", { className: "min-w-0 flex-1", children: link ? /* @__PURE__ */ jsx65(LinkCard, { link }) : children }),
4401
4401
  onRemove && // At the card's top corner: halfway down a tall card a ✕ reads as belonging to nothing.
4402
4402
  /* @__PURE__ */ jsx65(
4403
4403
  "div",