import { cn as e } from "../../../lib/utils.js";
import { t } from "../../../dist-Ber_p4PA.js";
import { jsx as n } from "react/jsx-runtime";
//#region lib/components/ui/atoms/avatar-notification-badge.tsx
var r = t("absolute rounded-full ring-background", {
	variants: {
		variant: {
			warning: "bg-warning",
			success: "bg-success",
			error: "bg-destructive",
			info: "bg-primary",
			neutral: "bg-muted-foreground"
		},
		size: {
			sm: "size-2 ring-1",
			lg: "size-2.5 ring-2"
		},
		position: {
			"top-right": "top-0 right-0",
			"top-left": "top-0 left-0",
			"bottom-right": "right-0 bottom-0",
			"bottom-left": "bottom-0 left-0"
		}
	},
	compoundVariants: [
		{
			size: "lg",
			position: "top-right",
			className: "-top-0.5 -right-0.5"
		},
		{
			size: "lg",
			position: "top-left",
			className: "-top-0.5 -left-0.5"
		},
		{
			size: "lg",
			position: "bottom-right",
			className: "-right-0.5 -bottom-0.5"
		},
		{
			size: "lg",
			position: "bottom-left",
			className: "-bottom-0.5 -left-0.5"
		}
	],
	defaultVariants: {
		variant: "warning",
		size: "sm",
		position: "top-right"
	}
}), i = {
	warning: "Warning notification",
	success: "Success notification",
	error: "Error notification",
	info: "Info notification",
	neutral: "Notification"
};
function a({ variant: t = "warning", size: a, position: o, ariaLabel: s, decorative: c = !0, className: l }) {
	let u = s ?? i[t];
	return /* @__PURE__ */ n("span", {
		"aria-hidden": c,
		className: e(r({
			variant: t,
			size: a,
			position: o
		}), l),
		role: c ? void 0 : "status",
		children: !c && /* @__PURE__ */ n("span", {
			className: "sr-only",
			children: u
		})
	});
}
//#endregion
export { a as AvatarNotificationBadge, r as avatarBadgeVariants };
