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/alert/Alert.vue
var Alert_default = /* @__PURE__ */ defineComponent({
	__name: "Alert",
	props: {
		variant: {},
		class: { type: [
			Boolean,
			null,
			String,
			Object,
			Array
		] }
	},
	setup(__props) {
		const props = __props;
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("div", {
				role: "alert",
				class: normalizeClass(unref(cn)(unref(alertVariants)({ variant: __props.variant }), props.class))
			}, [renderSlot(_ctx.$slots, "default")], 2);
		};
	}
});
//#endregion
//#region src/components/ui/alert/AlertDescription.vue
var AlertDescription_default = /* @__PURE__ */ defineComponent({
	__name: "AlertDescription",
	props: { class: { type: [
		Boolean,
		null,
		String,
		Object,
		Array
	] } },
	setup(__props) {
		const props = __props;
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("div", { class: normalizeClass(unref(cn)("text-sm [&_p]:leading-relaxed", props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
		};
	}
});
//#endregion
//#region src/components/ui/alert/AlertTitle.vue
var AlertTitle_default = /* @__PURE__ */ defineComponent({
	__name: "AlertTitle",
	props: { class: { type: [
		Boolean,
		null,
		String,
		Object,
		Array
	] } },
	setup(__props) {
		const props = __props;
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("h5", { class: normalizeClass(unref(cn)("mb-1 font-medium leading-none tracking-tight", props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
		};
	}
});
//#endregion
//#region src/components/ui/alert/index.ts
var alertVariants = cva("relative w-full rounded-lg border p-4 [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:size-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px]", {
	variants: { variant: {
		default: "bg-background text-foreground [&>svg]:text-foreground",
		destructive: "border-destructive/50 bg-destructive/10 text-destructive dark:border-destructive [&>svg]:text-destructive",
		success: "border-success/50 bg-success/10 text-success dark:border-success [&>svg]:text-success",
		warning: "border-warning/50 bg-warning/10 text-warning dark:border-warning [&>svg]:text-warning",
		info: "border-info/50 bg-info/10 text-info dark:border-info [&>svg]:text-info"
	} },
	defaultVariants: { variant: "default" }
});
//#endregion
export { Alert_default as i, AlertTitle_default as n, AlertDescription_default as r, alertVariants as t };

//# sourceMappingURL=alert-O-GNDZbg.js.map