1import{i as l,o,e as r,C as s,r as i,n as p,D as d,f as c}from"./utils-BJOuoLRc.js";const f={__name:"button",props:{appearance:{type:String,default:null},size:{type:String,default:null},iconOnly:{type:Boolean,default:!1},radius:{type:String,default:null},color:{type:String,default:null},preset:{type:String,default:null},disabled:{type:Boolean,default:!1},tag:{type:String,default:"button"},href:{type:String,default:null},type:{type:String,default:null}},setup(e){const t=e,n=l(()=>({"tk-button":!0,[`tk-button--${t.appearance}`]:!!t.appearance,[`tk-button--${t.size}`]:!!t.size,"tk-button--icon-only":t.iconOnly,"tk-button--pill":t.radius==="pill",[`tk-button--${t.color}`]:!!t.color,[`tk-button--${t.preset}`]:!!t.preset})),a=l(()=>t.tag!=="button"?null:t.type??"button");return(u,y)=>(o(),r(d(e.tag),{class:p(n.value),type:a.value,href:e.href,disabled:e.disabled},{default:s(()=>[i(u.$slots,"default")]),_:3},8,["class","type","href","disabled"]))}};c("tk-button",f,{inheritAttrs:!0});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.