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}),composeTextareaClasses=(s,t,m)=>{let{typography:a}=s??{},r=e(s?.typo,a),l=o("text",s?.color);return composeClasses({[m]:!!m,[t?.uid]:!!t?.uid,[r]:!!r,[l]:!!l,[`${p(s?.size?.type)}`]:!!s?.size?.type,"gp-form-item !gp-outline-none !gp-h-auto !gp-bg-none gp-min-h-[150px]":!0})};export{composeContainerClasses,composeTextareaClasses};
