"use client";
import { jsx as n } from "react/jsx-runtime";
import i from "react";
import { Root as l } from "../../../../../node_modules/.pnpm/@radix-ui_react-slot@1.2.2_@types_react@19.0.10_react@19.0.0/node_modules/@radix-ui/react-slot/dist/index.js";
import { cva as d } from "../../../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
import { classNames as u } from "../../utils/index.js";
const f = d(
  "inline-flex items-center justify-center rounded text-xs transition-colors focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 font-medium",
  {
    variants: {
      variant: {
        default: "bg-slate-800 text-white hover:bg-slate-900 focus:bg-slate-900",
        outline: "border border-input hover:border-slate-400 focus:border-slate-600 text-slate-800",
        secondary: "bg-slate-100 text-slate-800 hover:bg-slate-300 focus:bg-slate-300",
        link: "text-slate-800 underline-offset-4 hover:underline"
      },
      size: {
        default: "h-8 px-4 py-2",
        sm: "h-9 rounded-sm px-3",
        xs: "h-7 rounded-sm px-3",
        lg: "h-11 rounded-sm px-8 text-[14px]",
        icon: "h-10 w-10"
      }
    },
    defaultVariants: {
      variant: "default",
      size: "default"
    }
  }
), m = i.forwardRef(
  ({ className: e, variant: t, size: o, asChild: s = !1, ...r }, a) => /* @__PURE__ */ n(
    s ? l : "button",
    {
      className: u(f({ variant: t, size: o, className: e })),
      ref: a,
      ...r
    }
  )
);
m.displayName = "Button";
export {
  m as Button
};
//# sourceMappingURL=button.js.map
