import { jsx as _jsx } from "react/jsx-runtime";
import { cva } from 'class-variance-authority';
import { cn } from '../../lib/utils';
const badgeVariants = cva('focus:ring-ring inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:ring-2 focus:ring-offset-2 focus:outline-none', {
    variants: {
        variant: {
            default: 'bg-primary text-primary-foreground hover:bg-primary/80 border-transparent shadow',
            secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80 border-transparent',
            destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/80 border-transparent shadow',
            outline: 'text-foreground',
        },
    },
    defaultVariants: {
        variant: 'default',
    },
});
function Badge({ className, variant, ...props }) {
    return _jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
}
export { Badge, badgeVariants };
