import{makeStyleResponsive as e,makeWidth as t,optionLayoutStyle as p,removeNullUndefined as r,filterTruthyStyles as a}from"@gem-sdk/core";import{postPurchaseSpacing as l}from"../../../../common/helper.js";let getDisplayLabelStyles=e=>({"--pb":"14px","--pt":"14px","--ta":e??"center"}),getVariantItemWrapperStyles=(e,t)=>a({"--mt":"dropdown"!==e?`-${t}`:"0px","--ml":"dropdown"!==e?`-${t}`:"0px"}),getWrapperStyles=a=>{let{setting:m,styles:o,style:s}=a,{width:i,fullWidth:n,variantSpacing:y}=o??{},{column:g}=m??{},S=e("w",t(i,n));return{...p(g),...r(S),...s,gap:l[y||"none"]??""}},getDisplayLabelSettingStyles=()=>({typo:{attrs:{transform:"capitalize"},custom:{fontSize:{desktop:"medium",tablet:"medium",mobile:"medium"}}}});export{getDisplayLabelSettingStyles,getDisplayLabelStyles,getVariantItemWrapperStyles,getWrapperStyles};
