import{a as e,n as t}from"./chunk-BneVvdWh.js";import{t as n}from"./react-C7IZe2D1.js";import{_ as r,ft as i,ht as a,t as o,ut as s,w as c,x as l,y as u}from"./dist-DtfJeYQK.js";import{t as d}from"./jsx-runtime-C2wGStra.js";import{n as f,t as p}from"./dist-Cc1j9Pjk.js";import{n as m,t as h}from"./text-accent-CfNKCcRq.js";import{n as g,t as _}from"./filterAttributesPassedByRadixUIAtRuntime-CGiuUnR2.js";var v,y,b=t((()=>{v=`TextWeight__tMRbd`,y={TextWeight:v,"TextWeight--weight-normal":`TextWeight--weight-normal__M5PxM`,"TextWeight--weight-medium":`TextWeight--weight-medium__8f3CD`,"TextWeight--weight-bold":`TextWeight--weight-bold__MG-yF`}})),x,S,C=t((()=>{o(),b(),x=`TextWeight`,S=e=>u(y,x,[l(`weight`,e)])})),w,T,E=t((()=>{w=`TextInline__fMaqi`,T={TextInline:w,"TextInline--italic":`TextInline--italic__yG-Qj`}})),D,O,k,A=t((()=>{c(),p(),o(),D=e(n(),1),m(),C(),g(),E(),O=d(),k=(0,D.forwardRef)(function({children:e,accent:t,italic:n=!1,weight:o=i,tag:c=s,dataset:l,...d},p){let m=u(T,f.TextInline,[r(`italic`,void 0,n)]),g=h(!t,t),v=S(o),y=[...m,...g,...v];return(0,O.jsx)(c,{..._(d),ref:p,className:y.join(` `),...a(l,{preplyDsComponent:f.TextInline}),children:e})});try{k.displayName=`TextInline`,k.__docgenInfo={description:``,displayName:`TextInline`,props:{accent:{defaultValue:null,description:``,name:`accent`,required:!1,type:{name:`enum`,value:[{value:`"placeholder"`},{value:`"info"`},{value:`"positive"`},{value:`"warning"`},{value:`"critical"`},{value:`"accentDark"`},{value:`"inverted"`},{value:`"primary"`},{value:`"secondary"`},{value:`"tertiary"`}]}},weight:{defaultValue:{value:`normal`},description:``,name:`weight`,required:!1,type:{name:`enum`,value:[{value:`"medium"`},{value:`"normal"`},{value:`"bold"`}]}},italic:{defaultValue:{value:`false`},description:``,name:`italic`,required:!1,type:{name:`enum`,value:[{value:`false`},{value:`true`}]}},tag:{defaultValue:{value:`span`},description:``,name:`tag`,required:!1,type:{name:`enum`,value:[{value:`"em"`},{value:`"span"`},{value:`"strong"`}]}},dataset:{defaultValue:null,description:``,name:`dataset`,required:!1,type:{name:`enum`,value:[{value:`Dataset`}]}}}}}catch{}}));export{A as n,k as t};