import{makeStyleResponsive as e,filterTruthyStyles as t,makeGlobalSize as r,getGlobalColorClass as o,makeStyle as l,getSingleColorVariable as i,getRadiusCSSFromGlobal as n,getCustomRadius as a}from"@gem-sdk/core";let getRootClass=r=>{let o={...e("ta",r?.textAlign)};return t(o)},getWrapperTextStyle=d=>{let g=["small","medium","large"],{backgroundColor:s,roundedTag:p,borderTag:c,textColor:m}=d??{},u=r(d?.size),b=o("border",c?.color),x=o("text",m),y={...e("jc",d?.textContentAlign),...u.padding,...l({bs:c?.border,bw:c?.width,bc:""===b?c?.color:void 0,c:""===x?m:void 0,bgc:i(s)}),...g.includes(p?.radiusType||"")&&n("normal",p?.radiusType),...a("normal",p)};return t(y)},getContainerStyle=e=>{let t=r(e?.size);return{...t.width,...t.height}};export{getContainerStyle,getRootClass,getWrapperTextStyle};
