import{d as i,k as a,a as l,o as s,b as r,H as d,h as n}from"./index-IQ_epUwE.js";const g=["disabled"],b=i({__name:"Button",props:{variant:{default:"primary"},size:{default:"medium"},disabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1}},setup(p){const o=a(()=>({primary:"bg-indigo-500 text-white hover:bg-indigo-600 active:bg-indigo-700",secondary:"bg-gray-200 text-gray-800 hover:bg-gray-300 active:bg-gray-400",outline:"border-2 border-indigo-500 text-indigo-500 hover:bg-indigo-50 active:bg-indigo-100",ghost:"text-indigo-500 hover:bg-indigo-50 active:bg-indigo-100"})),t=a(()=>({small:"text-sm px-3 py-1",medium:"text-base px-4 py-2",large:"text-lg px-10 py-3",xlarge:"text-xl px-16 py-4",xxlarge:"text-2xl px-16 py-5 rounded-xl",xxxlarge:"text-3xl px-16 py-6 rounded-xl"}));return(e,u)=>(s(),l("div",null,[r("button",{class:n(["py-2 rounded transition-colors duration-200 focus:outline-none",o.value[e.variant],t.value[e.size],e.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer",e.fullWidth?"w-full":""]),disabled:e.disabled},[d(e.$slots,"default")],10,g)]))}});export{b as _};
