import{composeClasses as e,composeTypographyClassName as t,handleConvertClassColor as p,getGlobalColorStateClass as l}from"@gem-sdk/core";let g=({styles:g,borderBtn:n,inputBackgroundColor:r,textColor:s,isDisabled:o})=>{let a="gp-flex gp-w-full gp-shrink-[99999] gp-appearance-none gp-items-center gp-text-center gp-outline-none focus-visible:gp-shadow-none focus-visible:gp-outline-none gp-transition-all gp-duration-150 hover:gp-text-black disabled:gp-cursor-not-allowed",i=t(g?.typo,g?.typography),u=p(n),c=l("bg",r),f=l("text",s);return u&&(a+=` ${u} `),i&&(a+=` ${i} `),c&&(a+=` ${c} `),f&&(a+=` ${f} `),o&&(a+="gp-cursor-not-allowed"),{...e(a)}},n=({borderBtn:t,buttonBackgroundColor:g,iconColor:n,buttonSide:r,isDisabled:s})=>{let o=`gp-flex gp-aspect-square gp-h-full disabled:gp-cursor-not-allowed ${s?"gp-cursor-not-allowed":"gp-cursor-pointer"} gp-items-center gp-justify-center gp-outline-none ${"left"===r?"gp-minus":"gp-plus"} `,a=p(t),i=l("bg",g),u=l("text",n);return a&&(o+=` ${a} `),i&&(o+=` ${i} `),u&&(o+=` ${u} `),{...e(o)}},r=t=>({...e(`quantityClass gp-relative gp-inline-flex gp-h-12 gp-w-full gp-bg-transparent gp-transition-all gp-duration-150 data-[disabled=true]:gp-opacity-60 ${t??""}`)}),s=()=>({...e("gp-inline-flex gp-w-full gp-overflow-hidden")}),o=()=>({...e("gp-inline-flex gp-items-center gp-justify-center [&>*]:gp-h-full [&>*]:gp-w-full")});export{n as getButtonClass,r as getContainerClasses,o as getIconWrapperClasses,g as getInputClasses,s as getWrapperClasses};
