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