import { cn as e } from "../../../lib/utils.js";
import { jsx as t } from "react/jsx-runtime";
//#region lib/components/ui/atoms/card.tsx
function n({ className: n, size: r = "default", ...i }) {
	return /* @__PURE__ */ t("div", {
		className: e("group/card flex flex-col gap-6 overflow-hidden rounded-xl bg-card py-6 text-card-foreground text-sm shadow-xs ring-1 ring-foreground/10 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", n),
		"data-size": r,
		"data-slot": "card",
		...i
	});
}
function r({ className: n, ...r }) {
	return /* @__PURE__ */ t("div", {
		className: e("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] group-data-[size=sm]/card:px-4 [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4", n),
		"data-slot": "card-header",
		...r
	});
}
function i({ className: n, ...r }) {
	return /* @__PURE__ */ t("div", {
		className: e("font-medium text-base leading-normal group-data-[size=sm]/card:text-sm", n),
		"data-slot": "card-title",
		...r
	});
}
function a({ className: n, ...r }) {
	return /* @__PURE__ */ t("div", {
		className: e("text-muted-foreground text-sm", n),
		"data-slot": "card-description",
		...r
	});
}
function o({ className: n, ...r }) {
	return /* @__PURE__ */ t("div", {
		className: e("col-start-2 row-span-2 row-start-1 self-start justify-self-end", n),
		"data-slot": "card-action",
		...r
	});
}
function s({ className: n, ...r }) {
	return /* @__PURE__ */ t("div", {
		className: e("px-6 group-data-[size=sm]/card:px-4", n),
		"data-slot": "card-content",
		...r
	});
}
function c({ className: n, ...r }) {
	return /* @__PURE__ */ t("div", {
		className: e("flex items-center rounded-b-xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4", n),
		"data-slot": "card-footer",
		...r
	});
}
//#endregion
export { n as Card, o as CardAction, s as CardContent, a as CardDescription, c as CardFooter, r as CardHeader, i as CardTitle };
