import{filterTruthy as e}from"../../../common/helpers.js";import{composeTypographyClassName as s,getGlobalColorClass as o,genSizeClass as t}from"@gem-sdk/core";let i=s=>e(s),p=(e,s)=>i({[s?.uid]:!!s?.uid,[e?.cssClass]:!!e?.cssClass}),r=(e,p,r)=>{let{typography:m}=e??{},l=s(e?.typo,m),n=o("text",e?.color);return i({[r]:!!r,[p?.uid]:!!p?.uid,[l]:!!l,[n]:!!n,[`${t(e?.size?.type)}`]:!!e?.size?.type,"gp-form-item !gp-outline-none !gp-bg-none !gp-bg-white":!0})};export{p as composeContainerClasses,r as composeTextFieldClasses};
