import { n as cn } from "./utils-DXzSsU1e.js";
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
import { cva } from "class-variance-authority";
//#endregion
//#region src/components/ui/card/Card.vue
var Card_default = /* @__PURE__ */ defineComponent({
	__name: "Card",
	props: {
		variant: {},
		padding: {},
		class: { type: [
			Boolean,
			null,
			String,
			Object,
			Array
		] }
	},
	setup(__props) {
		const props = __props;
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("div", { class: normalizeClass(unref(cn)(unref(cardVariants)({
				variant: __props.variant,
				padding: __props.padding
			}), props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
		};
	}
});
//#endregion
//#region src/components/ui/card/CardContent.vue
var CardContent_default = /* @__PURE__ */ defineComponent({
	__name: "CardContent",
	props: { class: { type: [
		Boolean,
		null,
		String,
		Object,
		Array
	] } },
	setup(__props) {
		const props = __props;
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("div", { class: normalizeClass(unref(cn)("p-6 pt-0", props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
		};
	}
});
//#endregion
//#region src/components/ui/card/CardDescription.vue
var CardDescription_default = /* @__PURE__ */ defineComponent({
	__name: "CardDescription",
	props: { class: { type: [
		Boolean,
		null,
		String,
		Object,
		Array
	] } },
	setup(__props) {
		const props = __props;
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("p", { class: normalizeClass(unref(cn)("text-sm text-muted-foreground", props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
		};
	}
});
//#endregion
//#region src/components/ui/card/CardFooter.vue
var CardFooter_default = /* @__PURE__ */ defineComponent({
	__name: "CardFooter",
	props: { class: { type: [
		Boolean,
		null,
		String,
		Object,
		Array
	] } },
	setup(__props) {
		const props = __props;
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("div", { class: normalizeClass(unref(cn)("flex items-center p-6 pt-0", props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
		};
	}
});
//#endregion
//#region src/components/ui/card/CardHeader.vue
var CardHeader_default = /* @__PURE__ */ defineComponent({
	__name: "CardHeader",
	props: { class: { type: [
		Boolean,
		null,
		String,
		Object,
		Array
	] } },
	setup(__props) {
		const props = __props;
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("div", { class: normalizeClass(unref(cn)("flex flex-col gap-y-1.5 p-6", props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
		};
	}
});
//#endregion
//#region src/components/ui/card/CardTitle.vue
var CardTitle_default = /* @__PURE__ */ defineComponent({
	__name: "CardTitle",
	props: { class: { type: [
		Boolean,
		null,
		String,
		Object,
		Array
	] } },
	setup(__props) {
		const props = __props;
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("h3", { class: normalizeClass(unref(cn)("text-2xl font-semibold leading-none tracking-tight", props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
		};
	}
});
//#endregion
//#region src/components/ui/card/index.ts
var cardVariants = cva("rounded-lg bg-card text-card-foreground", {
	variants: {
		variant: {
			default: "border shadow-sm",
			bordered: "border-2",
			elevated: "border shadow-lg"
		},
		padding: {
			none: "",
			sm: "p-3",
			default: "p-0",
			lg: "p-8"
		}
	},
	defaultVariants: {
		variant: "default",
		padding: "default"
	}
});
//#endregion
export { CardDescription_default as a, CardFooter_default as i, CardTitle_default as n, CardContent_default as o, CardHeader_default as r, Card_default as s, cardVariants as t };

//# sourceMappingURL=card-X74FuL7B.js.map