import{C as i,D as r,f as o,E as u,i as d,N as l,O as p,o as c,c as f,H as g,d as m,t as b,K as x}from"./entry.2xM5grDS.js";import{u as k}from"./selectMenu.72ERhOvP.js";import{_ as y}from"./_plugin-vue_export-helper.x3n3nnut.js";const v={base:"inline-flex items-center justify-center text-gray-900 dark:text-white",padding:"px-1",size:{xs:"h-4 min-w-[16px] text-[10px]",sm:"h-5 min-w-[20px] text-[11px]",md:"h-6 min-w-[24px] text-[12px]"},rounded:"rounded",font:"font-medium font-sans",background:"bg-gray-100 dark:bg-gray-800",ring:"ring-1 ring-gray-300 dark:ring-gray-700 ring-inset",default:{size:"sm"}},a=i(r.ui.strategy,r.ui.kbd,v),_=o({inheritAttrs:!1,props:{value:{type:String,default:null},size:{type:String,default:()=>a.default.size,validator(e){return Object.keys(a.size).includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:s}=k("kbd",u(e,"ui"),a),n=d(()=>l(p(t.value.base,t.value.size[e.size],t.value.padding,t.value.rounded,t.value.font,t.value.background,t.value.ring),e.class));return{ui:t,attrs:s,kbdClass:n}}});function z(e,t,s,n,h,w){return c(),f("kbd",x({class:e.kbdClass},e.attrs),[g(e.$slots,"default",{},()=>[m(b(e.value),1)])],16)}const j=y(_,[["render",z]]);export{j as default};
