@gem-sdk/components 2.0.0-staging.1040 → 2.0.0-staging.1044

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),Text=require("../../text/components/Text.js"),React=require("react"),core=require("@gem-sdk/core");const ArticleDate=({setting:e,builderProps:t,styles:r})=>{let{dateFormat:i}=e??{},s=core.useArticleStore(e=>e.article),{timezone:l}=core.useTimezone(),n=(e,t)=>{let r=t?.split(" ")?.[1]??"";return r?new Date(new Date(e).toLocaleString("en-US",{timeZone:r})):e},o=React.useMemo(()=>{let e=n(new Date(s.publishedAt),l??""),{locales:t,options:r}=JSON.parse(i??'{"locales":"en-US","options":{"month":"short","day":"2-digit","year":"numeric"}}');return e.toLocaleDateString(t,r)},[s.publishedAt,l,i]);return jsxRuntime.jsx("div",{id:`shopify-text-element-${t?.uid}`,"data-article-id":s?.baseID?.replace("gid://shopify/OnlineStoreArticle/",""),children:jsxRuntime.jsx(Text.default,{builderProps:t,styles:r,setting:{...e,text:o,excludeFlex:!0}})})};exports.default=ArticleDate;
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),Text=require("../../text/components/Text.js"),React=require("react"),core=require("@gem-sdk/core");const ArticleDate=({setting:e,builderProps:t,styles:r})=>{let{dateFormat:i}=e??{},s=core.useArticleStore(e=>e.article),{timezone:l}=core.useTimezone(),n=(e,t)=>{let r=t?.split(" ")?.[1]??"";return r?new Date(new Date(e).toLocaleString("en-US",{timeZone:r})):e},o=React.useMemo(()=>{let e=n(new Date(s.publishedAt),l??""),{locales:t,options:r}=JSON.parse(i??'{"locales":"en-US","options":{"month":"short","day":"2-digit","year":"numeric"}}');return e.toLocaleDateString(t,r)},[s.publishedAt,l,i]);return jsxRuntime.jsx("div",{id:`shopify-text-element-${t?.uid}`,"data-article-id":s?.baseID?.replace("gid://shopify/OnlineStoreArticle/",""),children:jsxRuntime.jsx(Text.default,{builderProps:t,styles:r,setting:{...e,text:o,excludeFlex:!0},disableEdit:!0})})};exports.default=ArticleDate;
@@ -16,4 +16,4 @@
16
16
  <rect x="65.3335" y="36.165" width="28.6667" height="3" rx="1" fill="#424242"/>
17
17
  <rect x="65.3335" y="41.165" width="14" height="4" rx="1" fill="#424242"/>
18
18
  </svg>
19
- `},components:[{tag:"ArticleList",label:"Article List",settings:{columns:{desktop:4,tablet:2,mobile:1}},childrens:[{tag:"ArticleImage",label:"Article Image",settings:{linkArticle:"go-to-article"},styles:{position:{desktop:"only-feature"},shape:{desktop:{default:{shape:"square",width:"100%"}}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}},{tag:"Row",label:"Row",settings:{layout:{desktop:{cols:[4,4,4],display:"fit"},mobile:{cols:[12],display:"fill"}}},styles:{verticalGutter:{desktop:"8px"},columnGap:{desktop:"1%"},height:"auto"},advanced:{"spacing-setting":{desktop:{margin:{bottom:0},link:!0},tablet:{link:!0},mobile:{link:!0}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}},childrens:[{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleAuthor",label:"Article Author",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-1"}},color:{normal:"text-1"}},advanced:{"spacing-setting":{desktop:{padding:{right:"var(--g-s-s)",top:"0px"},margin:{bottom:"var(--g-s-s)"}}},border:{desktop:{normal:{borderType:"none",border:"solid",borderWidth:"Mixed",width:"0px 1px 0px 0px",color:"#DDDDDD",isCustom:!0}}}}}]},{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleCategory",label:"Article Category",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-1"}},color:{normal:"text-1"}},advanced:{"spacing-setting":{desktop:{padding:{right:"var(--g-s-s)",top:"0px"},margin:{bottom:"var(--g-s-s)"}}},border:{desktop:{normal:{borderType:"none",border:"solid",borderWidth:"Mixed",width:"0px 1px 0px 0px",color:"#DDDDDD",isCustom:!0}}}}}]},{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleDate",label:"Article Date",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-2"}},color:{normal:"text-2"}}}]}]},{tag:"ArticleTitle",settings:{htmlTag:"h2",linkArticle:"go-to-article"},styles:{typo:{type:"subheading-3",attrs:{color:"text-1"}},color:{normal:"text-1"},textAlign:{desktop:"left"},hasLineClamp:{desktop:!1},lineClamp:{desktop:2},hasTextShadow:{normal:!1,hover:!1},textShadow:{normal:{type:"shadow-1"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"ArticleContent",label:"Article Content",settings:{ftClickOpenLightBox:{desktop:"product-link"}},styles:{typo:{type:"paragraph-2"},color:{normal:"text-2"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}}]}]}];exports.ArticleListPresets=ArticleListPresets;
19
+ `},components:[{tag:"ArticleList",label:"Article List",settings:{columns:{desktop:4,tablet:2,mobile:1}},childrens:[{tag:"ArticleImage",label:"Article Image",settings:{linkArticle:"go-to-article"},styles:{position:{desktop:"only-feature"},shape:{desktop:{default:{shape:"square",width:"100%"}}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}},{tag:"Row",label:"Row",settings:{layout:{desktop:{cols:[4,4,4],display:"fit"},mobile:{cols:[12],display:"fill"}}},styles:{verticalGutter:{desktop:"8px"},columnGap:{desktop:"1%"},height:"auto"},advanced:{"spacing-setting":{desktop:{margin:{bottom:0},link:!0},tablet:{link:!0},mobile:{link:!0}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}},childrens:[{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleAuthor",label:"Article Author",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-2"}},color:{normal:"text-2"}},advanced:{"spacing-setting":{desktop:{padding:{right:"var(--g-s-s)",top:"0px"},margin:{bottom:"var(--g-s-s)"}}},border:{desktop:{normal:{borderType:"none",border:"solid",borderWidth:"Mixed",width:"0px 1px 0px 0px",color:"#DDDDDD",isCustom:!0}}}}}]},{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleCategory",label:"Article Category",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-1"}},color:{normal:"text-1"}},advanced:{"spacing-setting":{desktop:{padding:{right:"var(--g-s-s)",top:"0px"},margin:{bottom:"var(--g-s-s)"}}},border:{desktop:{normal:{borderType:"none",border:"solid",borderWidth:"Mixed",width:"0px 1px 0px 0px",color:"#DDDDDD",isCustom:!0}}}}}]},{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleDate",label:"Article Date",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-2"}},color:{normal:"text-2"}}}]}]},{tag:"ArticleTitle",settings:{htmlTag:"h2",linkArticle:"go-to-article"},styles:{typo:{type:"subheading-3",attrs:{color:"text-1"}},color:{normal:"text-1"},textAlign:{desktop:"left"},hasLineClamp:{desktop:!1},lineClamp:{desktop:2},hasTextShadow:{normal:!1,hover:!1},textShadow:{normal:{type:"shadow-1"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"ArticleContent",label:"Article Content",settings:{ftClickOpenLightBox:{desktop:"product-link"}},styles:{typo:{type:"paragraph-2"},color:{normal:"text-2"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}}]}]}];exports.ArticleListPresets=ArticleListPresets;
@@ -1 +1 @@
1
- "use strict";var helpers=require("../../../common/helpers.js"),core=require("@gem-sdk/core");const composeStyles=e=>helpers.filterTruthy(e),composeContainerStyles=(e,o)=>{let{align:t}=e??{},{pos:r,d:s,op:a,right:c,top:l,left:i,bottom:n,z:y,margin:S,padding:g}=o??{},p=o?.["spacing-setting"],h=core.composeAdvanceStyle({pos:r,d:s,op:a,right:c,top:l,left:i,bottom:n,z:y,margin:S,padding:g,"spacing-setting":p});return composeStyles({...h,...core.makeStyleResponsive("ta",t)})},composeInnerStyles=(e,o,t)=>{let{border:r,rounded:s,hasBoxShadow:a,boxShadow:c}=o??{},{wrapperBorder:l,borderRadius:i,globalSize:n,boxShadowEmailHover:y,boxShadowEmailActive:S,roundedEmailHover:g,textColorActive:p,roundedEmailActive:h,textColorHover:d,borderEmailHover:u,borderEmailActive:v,backgroundColorV2Active:m,backgroundColorV2Hover:b}=t??{},{typography:w,size:T,background:$}=e??{},f=core.composeAdvanceStyle({border:r,rounded:s,hasBoxShadow:a,boxShadow:c}),k=core.composeTypographyStyle(e?.typo,w),x=core.makeGlobalSize(n);return composeStyles({...x?.width?.["--w"]?x.width:{"--w":"100%"},...x?.height?.["--h"]?x.height:{"--h":"auto"},...x.padding,...k,...T?.type?{}:core.composeSize(T?.custom),...core.getBorderStyle(l),...core.getBorderRadiusStyle(i),...f,...core.getStyleShadow({value:c,styleAppliedFor:"box-shadow",isEnableShadow:a}),...core.getStyleBackgroundByDevice($),...core.getGradientBgrStyleByDevice($),...core.getStyleShadow({value:S?.active,state:"focus",styleAppliedFor:"box-shadow",isEnableShadow:!0}),...core.getStyleShadow({value:y?.hover,state:"hover",styleAppliedFor:"box-shadow",isEnableShadow:!0}),"--hvr-c":d?.hover??"","--focus-c":p?.active??"",...generateStylesTarget({state:"hover",borderStyle:u?.hover,background:b?.hover,radius:g?.hover}),...generateStylesTarget({state:"focus",borderStyle:v?.active,background:m?.active,radius:h?.active})})},generateStylesTarget=({state:e,borderStyle:o,background:t,radius:r})=>{let{border:s,width:a,color:c}=o??{},l={hover:"hvr",focus:"focus"}[e];return{...a&&{[`--${l}-bw`]:`${a}`},...s&&{[`--${l}-b`]:`${s} ${core.getSingleColorVariable(c)}`},...t&&{[`--${l}-bgc`]:`${core.getSingleColorVariable(t)}`},...core.getCustomRadius(e,r)}};exports.composeContainerStyles=composeContainerStyles,exports.composeInnerStyles=composeInnerStyles,exports.generateStylesTarget=generateStylesTarget;
1
+ "use strict";var helpers=require("../../../common/helpers.js"),core=require("@gem-sdk/core");const composeStyles=e=>helpers.filterTruthy(e),composeContainerStyles=(e,o)=>{let{align:t}=e??{},{pos:r,d:s,op:a,right:c,top:l,left:i,bottom:n,z:y,margin:S,padding:g}=o??{},p=o?.["spacing-setting"],h=core.composeAdvanceStyle({pos:r,d:s,op:a,right:c,top:l,left:i,bottom:n,z:y,margin:S,padding:g,"spacing-setting":p});return composeStyles({...h,...core.makeStyleResponsive("ta",t)})},composeInnerStyles=(e,o,t)=>{let{border:r,rounded:s,hasBoxShadow:a,boxShadow:c}=o??{},{wrapperBorder:l,borderRadius:i,globalSize:n,boxShadowEmailHover:y,boxShadowEmailActive:S,roundedEmailHover:g,textColorActive:p,roundedEmailActive:h,textColorHover:d,borderEmailHover:u,borderEmailActive:v,backgroundColorV2Active:m,backgroundColorV2Hover:b}=t??{},{typography:w,size:T,background:$}=e??{},f=core.composeAdvanceStyle({border:r,rounded:s,hasBoxShadow:a,boxShadow:c}),k=core.composeTypographyStyle(e?.typo,w),x=core.makeGlobalSize(n);return composeStyles({...x?.width?.["--w"]?x.width:{"--w":"auto"},...x?.height?.["--h"]?x.height:{"--h":"auto"},...x.padding,...k,...T?.type?{}:core.composeSize(T?.custom),...core.getBorderStyle(l),...core.getBorderRadiusStyle(i),...f,...core.getStyleShadow({value:c,styleAppliedFor:"box-shadow",isEnableShadow:a}),...core.getStyleBackgroundByDevice($),...core.getGradientBgrStyleByDevice($),...core.getStyleShadow({value:S?.active,state:"focus",styleAppliedFor:"box-shadow",isEnableShadow:!0}),...core.getStyleShadow({value:y?.hover,state:"hover",styleAppliedFor:"box-shadow",isEnableShadow:!0}),"--hvr-c":d?.hover??"","--focus-c":p?.active??"",...generateStylesTarget({state:"hover",borderStyle:u?.hover,background:b?.hover,radius:g?.hover}),...generateStylesTarget({state:"focus",borderStyle:v?.active,background:m?.active,radius:h?.active})})},generateStylesTarget=({state:e,borderStyle:o,background:t,radius:r})=>{let{border:s,width:a,color:c}=o??{},l={hover:"hvr",focus:"focus"}[e];return{...a&&{[`--${l}-bw`]:`${a}`},...s&&{[`--${l}-b`]:`${s} ${core.getSingleColorVariable(c)}`},...t&&{[`--${l}-bgc`]:`${core.getSingleColorVariable(t)}`},...core.getCustomRadius(e,r)}};exports.composeContainerStyles=composeContainerStyles,exports.composeInnerStyles=composeInnerStyles,exports.generateStylesTarget=generateStylesTarget;
@@ -1 +1 @@
1
- "use strict";var helpers=require("../../../common/helpers.js"),core=require("@gem-sdk/core");const composeStyles=e=>helpers.filterTruthy(e),composeContainerStyles=(e,o)=>{let{pos:t,d:r,op:s,right:l,top:c,left:a,bottom:p,z:i,padding:y,margin:m}=e??{},n=e?.["spacing-setting"],S=core.composeAdvanceStyle({pos:t,d:r,op:s,right:l,top:c,left:a,bottom:p,z:i,padding:y,margin:m,"spacing-setting":n});return composeStyles({...S,...core.makeStyleResponsive("ta",o?.align)})},composeTextareaStyles=(e,o,t)=>{let{border:r,rounded:s,hasBoxShadow:l,boxShadow:c}=e??{},{typography:a}=o??{},{globalSize:p}=t??{},i=core.composeTypographyStyle(o?.typo,a),y=core.composeAdvanceStyle({border:r,rounded:s,hasBoxShadow:l,boxShadow:c}),m=core.makeGlobalSize(p);return composeStyles({...m?.width?.["--w"]?m.width:{"--w":"100%"},...m?.height?.["--h"]?m.height:{"--h":"auto"},...m.padding,...core.getGlobalColorStyle(o?.color),...o?.size?.type?{}:core.composeSize(o?.size?.custom),...core.makeStyle({tt:o?.transform}),...i,...y,...core.makeStyle({bc:core.getSingleColorVariable(r?.color)}),...core.getStyleShadow({value:c,styleAppliedFor:"box-shadow",isEnableShadow:l})})};exports.composeContainerStyles=composeContainerStyles,exports.composeTextareaStyles=composeTextareaStyles;
1
+ "use strict";var helpers=require("../../../common/helpers.js"),core=require("@gem-sdk/core");const composeStyles=e=>helpers.filterTruthy(e),composeContainerStyles=(e,o)=>{let{pos:t,d:r,op:s,right:l,top:c,left:a,bottom:p,z:i,padding:y,margin:m}=e??{},n=e?.["spacing-setting"],S=core.composeAdvanceStyle({pos:t,d:r,op:s,right:l,top:c,left:a,bottom:p,z:i,padding:y,margin:m,"spacing-setting":n});return composeStyles({...S,...core.makeStyleResponsive("ta",o?.align)})},composeTextareaStyles=(e,o,t)=>{let{border:r,rounded:s,hasBoxShadow:l,boxShadow:c}=e??{},{typography:a}=o??{},{globalSize:p}=t??{},i=core.composeTypographyStyle(o?.typo,a),y=core.composeAdvanceStyle({border:r,rounded:s,hasBoxShadow:l,boxShadow:c}),m=core.makeGlobalSize(p);return composeStyles({...m?.width?.["--w"]?m.width:{"--w":"auto"},...m?.height?.["--h"]?m.height:{"--h":"auto"},...m.padding,...core.getGlobalColorStyle(o?.color),...o?.size?.type?{}:core.composeSize(o?.size?.custom),...core.makeStyle({tt:o?.transform}),...i,...y,...core.makeStyle({bc:core.getSingleColorVariable(r?.color)}),...core.getStyleShadow({value:c,styleAppliedFor:"box-shadow",isEnableShadow:l})})};exports.composeContainerStyles=composeContainerStyles,exports.composeTextareaStyles=composeTextareaStyles;
@@ -1 +1 @@
1
- "use strict";const SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Content"},iconName:"polaris-text-block",getValueFromSettingID:"description",isHideClear:!0,controls:[{layout:"vertical",setting:{id:"description"}}]},{layout:"vertical",setting:{id:"typo"},options:{updateFields:[{field:"attrs.textAlign",settingId:"align"}]},controlChangeTrigger:{settings:[{action:{controlId:"align",valueFromField:"attrs.textAlign",groupType:"setting",controlType:"setting"}}],options:{noRecordHistory:!0}}}]},{label:{en:"Spacing"},controls:[{type:"control",label:{en:"Gap"},setting:{id:"horizontalSpacing"}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Default selected"},setting:{id:"selected"}},{label:{en:"Field name"},setting:{id:"name"},help:{content:"Identify the information submitted via this element."}}]}];exports.SettingUIV2=SettingUIV2;
1
+ "use strict";const SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Content"},iconName:"polaris-text-block",getValueFromSettingID:"description",isHideClear:!0,compoDefaultValue:"Yes, sign me up to receive exclusive offers, news and more!",controls:[{layout:"vertical",setting:{id:"description"}}]},{layout:"vertical",setting:{id:"typo"},options:{updateFields:[{field:"attrs.textAlign",settingId:"align"}]},controlChangeTrigger:{settings:[{action:{controlId:"align",valueFromField:"attrs.textAlign",groupType:"setting",controlType:"setting"}}],options:{noRecordHistory:!0}}}]},{label:{en:"Spacing"},controls:[{type:"control",label:{en:"Gap"},setting:{id:"horizontalSpacing"}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Default selected"},setting:{id:"selected"}},{label:{en:"Field name"},setting:{id:"name"},help:{content:"Identify the information submitted via this element."}}]}];exports.SettingUIV2=SettingUIV2;
@@ -1 +1 @@
1
- "use strict";const SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Placeholder"},iconName:"polaris-text-block",getValueFromSettingID:"placeholder",isHideClear:!0,controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"placeholder"}}]},{layout:"vertical",setting:{id:"typo"}}]},{label:{en:"Size"},controls:[{label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Default",value:"1200px",showValue:!0},{label:"Full",value:"100%",showValue:!0}]},layout:"horizontal"},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"globalSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"medium",top:"12px",bottom:"12px",left:"24px",right:"24px"}}}}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Hide on client"},setting:{id:"hideOnClient"}},{label:{en:"Default value"},setting:{id:"defaultEmail"},conditionDisplay:"hideOnClient === true"}]},{controls:[{label:{en:"Align"},conditionEnable:'!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];exports.SettingUIV2=SettingUIV2;
1
+ "use strict";const SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Placeholder"},iconName:"polaris-text-block",getValueFromSettingID:"placeholder",isHideClear:!0,compoDefaultValue:"Enter your email address",controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"placeholder"}}]},{layout:"vertical",setting:{id:"typo"}}]},{label:{en:"Size"},controls:[{label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Default",value:"1200px",showValue:!0},{label:"Full",value:"100%",showValue:!0}]},layout:"horizontal"},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"globalSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"medium",top:"12px",bottom:"12px",left:"24px",right:"24px"}}}}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Hide on client"},setting:{id:"hideOnClient"}},{label:{en:"Default value"},setting:{id:"defaultEmail"},conditionDisplay:"hideOnClient === true"}]},{controls:[{label:{en:"Align"},conditionEnable:'!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];exports.SettingUIV2=SettingUIV2;
@@ -1 +1 @@
1
- "use strict";const SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Placeholder"},iconName:"polaris-text-block",getValueFromSettingID:"placeholder",isHideClear:!0,controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"placeholder"}}]},{layout:"vertical",setting:{id:"typo"}}]},{label:{en:"Size"},controls:[{label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0},{label:"Full",value:"100%",showValue:!0},{label:"Small",value:"100px",showValue:!0},{label:"Medium",value:"116px",showValue:!0},{label:"Large",value:"132px",showValue:!0}]},layout:"horizontal"},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"globalSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Field name"},setting:{id:"name"},help:{content:"Identify the information submitted via this element."}}]},{controls:[{label:{en:"Align"},conditionEnable:'!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];exports.SettingUIV2=SettingUIV2;
1
+ "use strict";const SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Placeholder"},iconName:"polaris-text-block",getValueFromSettingID:"placeholder",isHideClear:!0,compoDefaultValue:"Enter your text",controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"placeholder"}}]},{layout:"vertical",setting:{id:"typo"}}]},{label:{en:"Size"},controls:[{label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0},{label:"Full",value:"100%",showValue:!0},{label:"Small",value:"100px",showValue:!0},{label:"Medium",value:"116px",showValue:!0},{label:"Large",value:"132px",showValue:!0}]},layout:"horizontal"},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"globalSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Field name"},setting:{id:"name"},help:{content:"Identify the information submitted via this element."}}]},{controls:[{label:{en:"Align"},conditionEnable:'!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];exports.SettingUIV2=SettingUIV2;
@@ -1 +1 @@
1
- "use strict";const itemChildrenTemplateImage=e=>({tag:"IconListItem",childrens:[{tag:"Col",settings:{},styles:{},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Image",settings:{image:{src:e},disableNoDataState:!0},styles:{shape:{desktop:{height:"40px",width:"40px",shape:"square",shapeLinked:!0,shapeValue:"1/1"}}},childrens:[]}]},{tag:"Col",styles:{fullWidth:!0},advanced:{w:{desktop:"100%"},boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Text",settings:{text:"Your custom text goes here",htmlTag:"div"},childrens:[]}]}]}),itemChildrenTemplateText=e=>({tag:"IconListItem",childrens:[{tag:"Col",settings:{},styles:{},childrens:[{tag:"Text",settings:{text:e,globalSize:{desktop:{width:"40px"}}},styles:{typo:{attrs:{bold:!0}}}}]},{tag:"Col",styles:{fullWidth:!0},advanced:{w:{desktop:"100%"}},childrens:[{tag:"Text",settings:{text:"Your custom text goes here",htmlTag:"div"},childrens:[]}]}]}),itemControlTemplateCol={tag:"Col",settings:{},styles:{minWidth:{desktop:"200px"},justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0},fullWidth:!0},advanced:{},childrens:[{tag:"Text",label:"Text block",settings:{text:"Your custom text goes here",htmlTag:"div"},childrens:[]}]},itemControlTemplate={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{},childrens:[{tag:"Icon",label:"Icon",settings:{iconSvg:'<svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg" className="w-6 h-6" viewBox="0 0 512 512" fill="currentColor"> <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M407.552 127.04a23.456 23.456 0 0 1 33.504 0c9.152 9.248 9.28 24.192 0.32 33.6L252.16 384.32a23.456 23.456 0 0 1 -34.08 0.64L102.944 268.288a24.224 24.224 0 0 1 0 -33.92 23.456 23.456 0 0 1 33.504 0l97.664 98.976 172.8 -205.6a7.904 7.904 0 0 1 0.64 -0.704Z" /></svg>',iconLink:{link:"",target:"_self"}},styles:{align:{desktop:"left"},iconWidth:{desktop:"20px"},border:{normal:{borderType:"none",border:"none",width:"0px",color:"transparent",isCustom:!1}},bgColor:{normal:"transparent"},iconRotate:0,spin:!1},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[]}]},itemControlTemplateCol]},itemControlTemplateImage={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Image",label:"Image",settings:{image:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/Item_list2.png"},srcSet:{desktop:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/Item_list2.png",width:2237,height:1678}},isAdaptive:!0},styles:{shape:{desktop:{height:"40px",width:"40px",shape:"square",shapeLinked:!0,shapeValue:"1/1"}},objectFit:{desktop:"cover"}},childrens:[],advanced:{boxShadow:{desktop:{normal:{}}}}}]},itemControlTemplateCol]},itemControlTemplateText={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Text",label:"Text",settings:{globalSize:{desktop:{width:"40px"}}},styles:{typo:{attrs:{bold:!0}}}}]},itemControlTemplateCol]};exports.itemChildrenTemplateImage=itemChildrenTemplateImage,exports.itemChildrenTemplateText=itemChildrenTemplateText,exports.itemControlTemplate=itemControlTemplate,exports.itemControlTemplateImage=itemControlTemplateImage,exports.itemControlTemplateText=itemControlTemplateText;
1
+ "use strict";const itemChildrenTemplateImage=t=>({tag:"IconListItem",childrens:[{tag:"Col",settings:{},styles:{},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Image",settings:{image:{src:t},disableNoDataState:!0},styles:{shape:{desktop:{height:"40px",width:"40px",shape:"square",shapeLinked:!0,shapeValue:"1/1"}}},childrens:[]}]},{tag:"Col",styles:{fullWidth:!0},advanced:{w:{desktop:"100%"},boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Text",settings:{text:"Your custom text goes here",htmlTag:"div"},childrens:[]}]}]}),itemChildrenTemplateText=t=>({tag:"IconListItem",childrens:[{tag:"Col",settings:{},styles:{},childrens:[{tag:"Text",settings:{text:t,globalSize:{desktop:{width:"40px"}}},styles:{typo:{attrs:{bold:!0}}}}]},{tag:"Col",styles:{fullWidth:!0},advanced:{w:{desktop:"100%"}},childrens:[{tag:"Text",settings:{text:"Your custom text goes here",htmlTag:"div"},childrens:[]}]}]}),itemControlTemplateCol={tag:"Col",settings:{},styles:{minWidth:{desktop:"200px"},justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0},fullWidth:!0},advanced:{},childrens:[{tag:"Text",label:"Text block",settings:{text:"Your custom text goes here",htmlTag:"div"},styles:{typo:{type:"paragraph-1",attrs:{color:"text-2"}},textAlign:{desktop:"left"},hasLineClamp:{desktop:!1},transform:"default"},childrens:[]}]},itemControlTemplate={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{},childrens:[{tag:"Icon",label:"Icon",settings:{iconSvg:'<svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg" className="w-6 h-6" viewBox="0 0 512 512" fill="currentColor"> <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M407.552 127.04a23.456 23.456 0 0 1 33.504 0c9.152 9.248 9.28 24.192 0.32 33.6L252.16 384.32a23.456 23.456 0 0 1 -34.08 0.64L102.944 268.288a24.224 24.224 0 0 1 0 -33.92 23.456 23.456 0 0 1 33.504 0l97.664 98.976 172.8 -205.6a7.904 7.904 0 0 1 0.64 -0.704Z" /></svg>',iconLink:{link:"",target:"_self"}},styles:{align:{desktop:"left"},iconWidth:{desktop:"20px"},border:{normal:{borderType:"none",border:"none",width:"0px",color:"transparent",isCustom:!1}},bgColor:{normal:"transparent"},iconRotate:0,spin:!1},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[]}]},itemControlTemplateCol]},itemControlTemplateImage={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Image",label:"Image",settings:{image:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/Item_list2.png"},srcSet:{desktop:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/Item_list2.png",width:2237,height:1678}},isAdaptive:!0},styles:{shape:{desktop:{height:"40px",width:"40px",shape:"square",shapeLinked:!0,shapeValue:"1/1"}},objectFit:{desktop:"cover"}},childrens:[],advanced:{boxShadow:{desktop:{normal:{}}}}}]},itemControlTemplateCol]},itemControlTemplateText={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Text",label:"Text",settings:{globalSize:{desktop:{width:"40px"}}},styles:{typo:{attrs:{bold:!0}}}}]},itemControlTemplateCol]};exports.itemChildrenTemplateImage=itemChildrenTemplateImage,exports.itemChildrenTemplateText=itemChildrenTemplateText,exports.itemControlTemplate=itemControlTemplate,exports.itemControlTemplateImage=itemControlTemplateImage,exports.itemControlTemplateText=itemControlTemplateText;
@@ -1,3 +1,3 @@
1
1
  "use strict";const ProductQuantitySettings=[{id:"setting",controls:[{id:"updatePrice",label:"Update price",type:"toggle",default:!0},{id:"hasButton",label:"Button",type:"toggle",default:!0},{id:"defaultQtyValue",label:"Text",type:"input:stepper",min:1,default:1},{id:"plusIcon",type:"icon",isHideClear:!0,customLabel:"Plus",info:"Choose from list or paste any SVG icon",default:`<svg height="20px" width="20px" data-name="plus-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508817698760687976">
2
2
  <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"></path></svg>`},{id:"minusIcon",type:"icon",isHideClear:!0,customLabel:"Minus",info:"Choose from list or paste any SVG icon",default:`<svg height="20px" width="20px" data-name="minus-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508817690725712232">
3
- <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"></path></svg>`},{id:"enableHoverInput",label:"Enable hover input",type:"toggle",default:!1},{id:"enableHoverButton",label:"Enable hover input",type:"toggle",default:!1}]},{id:"style",controls:[{id:"quantityLayout",label:"Style",type:"layout-selector",popoverLabel:{en:"Style"},iconViewBox:"0 0 80 48",enableItemBackground:!0,itemPerRow:2,itemSpacing:"large",options:[{label:"Square",value:"product-quantity-square",type:"p-quantity-layout",iconName:"gp-product-quantity-square"},{label:"Square with divider",value:"product-quantity-square-divider",type:"p-quantity-layout",iconName:"gp-product-quantity-square-divider"},{label:"Rounded",value:"product-quantity-rounded",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded"},{label:"Rounded with divider",value:"product-quantity-rounded-divider",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded-divider"},{label:"Square input only",value:"product-quantity-square-input-only",type:"p-quantity-layout",iconName:"gp-product-quantity-square-input-only"},{label:"Rounded input only",value:"product-quantity-rounded-input-only",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded-input-only"}],default:"product-quantity-square"},{id:"dimensions",type:"group",label:"Dimensions",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!1}}},{id:"quantityWidth",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"160px"}}},{id:"inputHeight",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"45px"}}},{id:"buttonWidth",type:"dropdown:input",label:"Button Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"45px"}}},{id:"iconSizeCustom",type:"input:stepper",includeUnit:"px",min:1,devices:{desktop:{default:"16px"}}}]},{id:"inputStyle",type:"group",label:"Input Style",controls:[{id:"typo",type:"typography-combo",default:{type:"paragraph-1",attrs:{color:"#121212"},custom:{fontSize:{desktop:"16px",tablet:"16px",mobile:"14px"},lineHeight:{desktop:"120%",tablet:"180%",mobile:"180%"},fontWeight:"400",fontFamily:{value:"Assistant",type:"google"},hasShadowText:!1,textShadow:{enable:!1}}},ignoreReRender:!0,hiddenSetting:{transform:!0,textAlign:!0}},{id:"align",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"left"}}}]},{id:"button-behavior-state",type:"behavior-state",label:"Button Style",hide:!0,controls:[{id:"textColor",type:"color-picker-v2",label:"Text Color",default:{normal:"text-2"},compoDefaultValue:{hover:"text-2"},state:{hover:!0,normal:!0},enableGradient:!0},{id:"inputBackgroundColor",type:"color-picker-v2",label:"Background Color",state:{hover:!0,normal:!0},compoDefaultValue:{normal:"highlight",hover:"highlight"},enableGradient:!0},{id:"buttonBackgroundColor",type:"color-picker-v2",label:"Button Background Color",state:{hover:!0,normal:!0},enableGradient:!0,compoDefaultValue:{normal:"brand",hover:"highlight"}},{id:"iconColor",type:"color-picker-v2",label:"Icon Color",default:{normal:"#121212"},compoDefaultValue:{hover:"text-2"},state:{hover:!0,normal:!0},enableGradient:!0}]},{id:"borderBtn",label:"Border",type:"border-v2",default:{normal:{}},compoDefaultValue:{normal:{border:"solid",color:"#212121",width:"1px",borderWidth:"1px"},hover:{border:"solid",color:"#212121",width:"1px",borderWidth:"1px"}},state:{hover:!0,normal:!0}},{id:"corner",label:"Corner",type:"corner-v2",default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},{id:"backgroundColor",type:"color-picker-v2",label:"Background Color",devices:{desktop:{default:"#FFFFFF"}},enableGradient:!0},{id:"dividerColor",type:"color-picker-v2",label:"Divider Color",default:{normal:"line-3"},compoDefaultValue:{normal:"line-3"},state:{hover:!0,normal:!0},enableGradient:!0},{id:"dividerStroke",label:"Thickness",type:"input:stepper",min:1,default:{normal:1},state:{hover:!0,normal:!0}},{id:"inputBorder",label:"Input Border",type:"border-v2",default:{hover:{}},state:{hover:!0,normal:!0}},{id:"shapeBorder",type:"border-v2",devices:{desktop:{default:{border:"solid",color:"line-3",width:"1px",borderWidth:"1px"}}}},{id:"shapeRounded",type:"corner-v2",devices:{desktop:{default:{radiusType:"none"}}}},{id:"shapeShadow",type:"shadow-v2",devices:{desktop:{default:{}}},compoDefaultValue:{desktop:{default:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45,enable:!0}}}}]}];exports.ProductQuantitySettings=ProductQuantitySettings;
3
+ <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"></path></svg>`},{id:"enableHoverInput",label:"Enable hover input",type:"toggle",default:!1},{id:"enableHoverButton",label:"Enable hover input",type:"toggle",default:!1}]},{id:"style",controls:[{id:"quantityLayout",label:"Style",type:"layout-selector",popoverLabel:{en:"Style"},iconViewBox:"0 0 80 48",enableItemBackground:!0,itemPerRow:2,itemSpacing:"large",options:[{label:"Square",value:"product-quantity-square",type:"p-quantity-layout",iconName:"gp-product-quantity-square"},{label:"Square with divider",value:"product-quantity-square-divider",type:"p-quantity-layout",iconName:"gp-product-quantity-square-divider"},{label:"Rounded",value:"product-quantity-rounded",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded"},{label:"Rounded with divider",value:"product-quantity-rounded-divider",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded-divider"},{label:"Square input only",value:"product-quantity-square-input-only",type:"p-quantity-layout",iconName:"gp-product-quantity-square-input-only"},{label:"Rounded input only",value:"product-quantity-rounded-input-only",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded-input-only"}],default:"product-quantity-square"},{id:"dimensions",type:"group",label:"Dimensions",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!1}}},{id:"quantityWidth",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"160px"}}},{id:"inputHeight",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"45px"}}},{id:"buttonWidth",type:"dropdown:input",label:"Button Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"45px"}}},{id:"iconSizeCustom",type:"input:stepper",includeUnit:"px",min:1,devices:{desktop:{default:"16px"}}}]},{id:"inputStyle",type:"group",label:"Input Style",controls:[{id:"typo",type:"typography-combo",default:{type:"paragraph-1",attrs:{color:"#121212"},custom:{fontSize:{desktop:"16px",tablet:"16px",mobile:"14px"},lineHeight:{desktop:"120%",tablet:"180%",mobile:"180%"},fontWeight:"400",fontFamily:{value:"Assistant",type:"google"},hasShadowText:!1,textShadow:{enable:!1}}},ignoreReRender:!0,hiddenSetting:{transform:!0,textAlign:!0}},{id:"align",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"left"}}}]},{id:"button-behavior-state",type:"behavior-state",label:"Button Style",hide:!0,controls:[{id:"textColor",type:"color-picker-v2",label:"Text Color",default:{normal:"text-2"},compoDefaultValue:{hover:"text-2"},state:{hover:!0,normal:!0},enableGradient:!0},{id:"inputBackgroundColor",type:"color-picker-v2",label:"Background Color",state:{hover:!0,normal:!0},compoDefaultValue:{normal:"highlight",hover:"highlight"},enableGradient:!0},{id:"buttonBackgroundColor",type:"color-picker-v2",label:"Button Background Color",state:{hover:!0,normal:!0},enableGradient:!0,compoDefaultValue:{normal:"brand",hover:"highlight"}},{id:"iconColor",type:"color-picker-v2",label:"Icon Color",default:{normal:"#121212"},compoDefaultValue:{hover:"text-2"},state:{hover:!0,normal:!0}}]},{id:"borderBtn",label:"Border",type:"border-v2",default:{normal:{}},compoDefaultValue:{normal:{border:"solid",color:"#212121",width:"1px",borderWidth:"1px"},hover:{border:"solid",color:"#212121",width:"1px",borderWidth:"1px"}},state:{hover:!0,normal:!0}},{id:"corner",label:"Corner",type:"corner-v2",default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},{id:"backgroundColor",type:"color-picker-v2",label:"Background Color",devices:{desktop:{default:"#FFFFFF"}},enableGradient:!0},{id:"dividerColor",type:"color-picker-v2",label:"Divider Color",default:{normal:"line-3"},compoDefaultValue:{normal:"line-3"},state:{hover:!0,normal:!0},enableGradient:!0},{id:"dividerStroke",label:"Thickness",type:"input:stepper",min:1,default:{normal:1},state:{hover:!0,normal:!0}},{id:"inputBorder",label:"Input Border",type:"border-v2",default:{hover:{}},state:{hover:!0,normal:!0}},{id:"shapeBorder",type:"border-v2",devices:{desktop:{default:{border:"solid",color:"line-3",width:"1px",borderWidth:"1px"}}}},{id:"shapeRounded",type:"corner-v2",devices:{desktop:{default:{radiusType:"none"}}}},{id:"shapeShadow",type:"shadow-v2",devices:{desktop:{default:{}}},compoDefaultValue:{desktop:{default:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45,enable:!0}}}}]}];exports.ProductQuantitySettings=ProductQuantitySettings;
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e}from"react/jsx-runtime";import t from"../../text/components/Text.js";import{useMemo as r}from"react";import{useArticleStore as i,useTimezone as o}from"@gem-sdk/core";let ArticleDate=({setting:l,builderProps:a,styles:n})=>{let{dateFormat:s}=l??{},c=i(e=>e.article),{timezone:d}=o(),m=(e,t)=>{let r=t?.split(" ")?.[1]??"";return r?new Date(new Date(e).toLocaleString("en-US",{timeZone:r})):e},p=r(()=>{let e=m(new Date(c.publishedAt),d??""),{locales:t,options:r}=JSON.parse(s??'{"locales":"en-US","options":{"month":"short","day":"2-digit","year":"numeric"}}');return e.toLocaleDateString(t,r)},[c.publishedAt,d,s]);return e("div",{id:`shopify-text-element-${a?.uid}`,"data-article-id":c?.baseID?.replace("gid://shopify/OnlineStoreArticle/",""),children:e(t,{builderProps:a,styles:n,setting:{...l,text:p,excludeFlex:!0}})})};export{ArticleDate as default};
2
+ import{jsx as e}from"react/jsx-runtime";import t from"../../text/components/Text.js";import{useMemo as r}from"react";import{useArticleStore as i,useTimezone as l}from"@gem-sdk/core";let ArticleDate=({setting:o,builderProps:a,styles:n})=>{let{dateFormat:s}=o??{},d=i(e=>e.article),{timezone:c}=l(),m=(e,t)=>{let r=t?.split(" ")?.[1]??"";return r?new Date(new Date(e).toLocaleString("en-US",{timeZone:r})):e},p=r(()=>{let e=m(new Date(d.publishedAt),c??""),{locales:t,options:r}=JSON.parse(s??'{"locales":"en-US","options":{"month":"short","day":"2-digit","year":"numeric"}}');return e.toLocaleDateString(t,r)},[d.publishedAt,c,s]);return e("div",{id:`shopify-text-element-${a?.uid}`,"data-article-id":d?.baseID?.replace("gid://shopify/OnlineStoreArticle/",""),children:e(t,{builderProps:a,styles:n,setting:{...o,text:p,excludeFlex:!0},disableEdit:!0})})};export{ArticleDate as default};
@@ -16,4 +16,4 @@ let ArticleListPresets=[{id:"article-list",name:{en:"Article List"},icon:{deskto
16
16
  <rect x="65.3335" y="36.165" width="28.6667" height="3" rx="1" fill="#424242"/>
17
17
  <rect x="65.3335" y="41.165" width="14" height="4" rx="1" fill="#424242"/>
18
18
  </svg>
19
- `},components:[{tag:"ArticleList",label:"Article List",settings:{columns:{desktop:4,tablet:2,mobile:1}},childrens:[{tag:"ArticleImage",label:"Article Image",settings:{linkArticle:"go-to-article"},styles:{position:{desktop:"only-feature"},shape:{desktop:{default:{shape:"square",width:"100%"}}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}},{tag:"Row",label:"Row",settings:{layout:{desktop:{cols:[4,4,4],display:"fit"},mobile:{cols:[12],display:"fill"}}},styles:{verticalGutter:{desktop:"8px"},columnGap:{desktop:"1%"},height:"auto"},advanced:{"spacing-setting":{desktop:{margin:{bottom:0},link:!0},tablet:{link:!0},mobile:{link:!0}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}},childrens:[{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleAuthor",label:"Article Author",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-1"}},color:{normal:"text-1"}},advanced:{"spacing-setting":{desktop:{padding:{right:"var(--g-s-s)",top:"0px"},margin:{bottom:"var(--g-s-s)"}}},border:{desktop:{normal:{borderType:"none",border:"solid",borderWidth:"Mixed",width:"0px 1px 0px 0px",color:"#DDDDDD",isCustom:!0}}}}}]},{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleCategory",label:"Article Category",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-1"}},color:{normal:"text-1"}},advanced:{"spacing-setting":{desktop:{padding:{right:"var(--g-s-s)",top:"0px"},margin:{bottom:"var(--g-s-s)"}}},border:{desktop:{normal:{borderType:"none",border:"solid",borderWidth:"Mixed",width:"0px 1px 0px 0px",color:"#DDDDDD",isCustom:!0}}}}}]},{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleDate",label:"Article Date",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-2"}},color:{normal:"text-2"}}}]}]},{tag:"ArticleTitle",settings:{htmlTag:"h2",linkArticle:"go-to-article"},styles:{typo:{type:"subheading-3",attrs:{color:"text-1"}},color:{normal:"text-1"},textAlign:{desktop:"left"},hasLineClamp:{desktop:!1},lineClamp:{desktop:2},hasTextShadow:{normal:!1,hover:!1},textShadow:{normal:{type:"shadow-1"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"ArticleContent",label:"Article Content",settings:{ftClickOpenLightBox:{desktop:"product-link"}},styles:{typo:{type:"paragraph-2"},color:{normal:"text-2"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}}]}]}];export{ArticleListPresets};
19
+ `},components:[{tag:"ArticleList",label:"Article List",settings:{columns:{desktop:4,tablet:2,mobile:1}},childrens:[{tag:"ArticleImage",label:"Article Image",settings:{linkArticle:"go-to-article"},styles:{position:{desktop:"only-feature"},shape:{desktop:{default:{shape:"square",width:"100%"}}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}},{tag:"Row",label:"Row",settings:{layout:{desktop:{cols:[4,4,4],display:"fit"},mobile:{cols:[12],display:"fill"}}},styles:{verticalGutter:{desktop:"8px"},columnGap:{desktop:"1%"},height:"auto"},advanced:{"spacing-setting":{desktop:{margin:{bottom:0},link:!0},tablet:{link:!0},mobile:{link:!0}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}},childrens:[{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleAuthor",label:"Article Author",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-2"}},color:{normal:"text-2"}},advanced:{"spacing-setting":{desktop:{padding:{right:"var(--g-s-s)",top:"0px"},margin:{bottom:"var(--g-s-s)"}}},border:{desktop:{normal:{borderType:"none",border:"solid",borderWidth:"Mixed",width:"0px 1px 0px 0px",color:"#DDDDDD",isCustom:!0}}}}}]},{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleCategory",label:"Article Category",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-1"}},color:{normal:"text-1"}},advanced:{"spacing-setting":{desktop:{padding:{right:"var(--g-s-s)",top:"0px"},margin:{bottom:"var(--g-s-s)"}}},border:{desktop:{normal:{borderType:"none",border:"solid",borderWidth:"Mixed",width:"0px 1px 0px 0px",color:"#DDDDDD",isCustom:!0}}}}}]},{tag:"Col",label:"Block",settings:{},styles:{},advanced:{},childrens:[{tag:"ArticleDate",label:"Article Date",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-2"}},color:{normal:"text-2"}}}]}]},{tag:"ArticleTitle",settings:{htmlTag:"h2",linkArticle:"go-to-article"},styles:{typo:{type:"subheading-3",attrs:{color:"text-1"}},color:{normal:"text-1"},textAlign:{desktop:"left"},hasLineClamp:{desktop:!1},lineClamp:{desktop:2},hasTextShadow:{normal:!1,hover:!1},textShadow:{normal:{type:"shadow-1"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"ArticleContent",label:"Article Content",settings:{ftClickOpenLightBox:{desktop:"product-link"}},styles:{typo:{type:"paragraph-2"},color:{normal:"text-2"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}}]}]}];export{ArticleListPresets};
@@ -1 +1 @@
1
- import{filterTruthy as e}from"../../../common/helpers.js";import{composeAdvanceStyle as t,makeStyleResponsive as o,composeTypographyStyle as r,makeGlobalSize as s,composeSize as a,getBorderStyle as l,getBorderRadiusStyle as c,getStyleShadow as i,getStyleBackgroundByDevice as n,getGradientBgrStyleByDevice as h,getSingleColorVariable as p,getCustomRadius as d}from"@gem-sdk/core";let composeStyles=t=>e(t),composeContainerStyles=(e,r)=>{let{align:s}=e??{},{pos:a,d:l,op:c,right:i,top:n,left:h,bottom:p,z:d,margin:g,padding:v}=r??{},y=r?.["spacing-setting"],u=t({pos:a,d:l,op:c,right:i,top:n,left:h,bottom:p,z:d,margin:g,padding:v,"spacing-setting":y});return composeStyles({...u,...o("ta",s)})},composeInnerStyles=(e,o,p)=>{let{border:d,rounded:g,hasBoxShadow:v,boxShadow:y}=o??{},{wrapperBorder:u,borderRadius:S,globalSize:m,boxShadowEmailHover:b,boxShadowEmailActive:w,roundedEmailHover:f,textColorActive:$,roundedEmailActive:x,textColorHover:T,borderEmailHover:k,borderEmailActive:A,backgroundColorV2Active:E,backgroundColorV2Hover:F}=p??{},{typography:C,size:I,background:j}=e??{},q=t({border:d,rounded:g,hasBoxShadow:v,boxShadow:y}),z=r(e?.typo,C),B=s(m);return composeStyles({...B?.width?.["--w"]?B.width:{"--w":"100%"},...B?.height?.["--h"]?B.height:{"--h":"auto"},...B.padding,...z,...I?.type?{}:a(I?.custom),...l(u),...c(S),...q,...i({value:y,styleAppliedFor:"box-shadow",isEnableShadow:v}),...n(j),...h(j),...i({value:w?.active,state:"focus",styleAppliedFor:"box-shadow",isEnableShadow:!0}),...i({value:b?.hover,state:"hover",styleAppliedFor:"box-shadow",isEnableShadow:!0}),"--hvr-c":T?.hover??"","--focus-c":$?.active??"",...generateStylesTarget({state:"hover",borderStyle:k?.hover,background:F?.hover,radius:f?.hover}),...generateStylesTarget({state:"focus",borderStyle:A?.active,background:E?.active,radius:x?.active})})},generateStylesTarget=({state:e,borderStyle:t,background:o,radius:r})=>{let{border:s,width:a,color:l}=t??{},c={hover:"hvr",focus:"focus"}[e];return{...a&&{[`--${c}-bw`]:`${a}`},...s&&{[`--${c}-b`]:`${s} ${p(l)}`},...o&&{[`--${c}-bgc`]:`${p(o)}`},...d(e,r)}};export{composeContainerStyles,composeInnerStyles,generateStylesTarget};
1
+ import{filterTruthy as e}from"../../../common/helpers.js";import{composeAdvanceStyle as t,makeStyleResponsive as o,composeTypographyStyle as r,makeGlobalSize as s,composeSize as a,getBorderStyle as l,getBorderRadiusStyle as c,getStyleShadow as i,getStyleBackgroundByDevice as n,getGradientBgrStyleByDevice as h,getSingleColorVariable as p,getCustomRadius as d}from"@gem-sdk/core";let composeStyles=t=>e(t),composeContainerStyles=(e,r)=>{let{align:s}=e??{},{pos:a,d:l,op:c,right:i,top:n,left:h,bottom:p,z:d,margin:g,padding:u}=r??{},v=r?.["spacing-setting"],y=t({pos:a,d:l,op:c,right:i,top:n,left:h,bottom:p,z:d,margin:g,padding:u,"spacing-setting":v});return composeStyles({...y,...o("ta",s)})},composeInnerStyles=(e,o,p)=>{let{border:d,rounded:g,hasBoxShadow:u,boxShadow:v}=o??{},{wrapperBorder:y,borderRadius:S,globalSize:m,boxShadowEmailHover:b,boxShadowEmailActive:w,roundedEmailHover:f,textColorActive:$,roundedEmailActive:x,textColorHover:T,borderEmailHover:k,borderEmailActive:A,backgroundColorV2Active:E,backgroundColorV2Hover:F}=p??{},{typography:C,size:I,background:j}=e??{},q=t({border:d,rounded:g,hasBoxShadow:u,boxShadow:v}),z=r(e?.typo,C),B=s(m);return composeStyles({...B?.width?.["--w"]?B.width:{"--w":"auto"},...B?.height?.["--h"]?B.height:{"--h":"auto"},...B.padding,...z,...I?.type?{}:a(I?.custom),...l(y),...c(S),...q,...i({value:v,styleAppliedFor:"box-shadow",isEnableShadow:u}),...n(j),...h(j),...i({value:w?.active,state:"focus",styleAppliedFor:"box-shadow",isEnableShadow:!0}),...i({value:b?.hover,state:"hover",styleAppliedFor:"box-shadow",isEnableShadow:!0}),"--hvr-c":T?.hover??"","--focus-c":$?.active??"",...generateStylesTarget({state:"hover",borderStyle:k?.hover,background:F?.hover,radius:f?.hover}),...generateStylesTarget({state:"focus",borderStyle:A?.active,background:E?.active,radius:x?.active})})},generateStylesTarget=({state:e,borderStyle:t,background:o,radius:r})=>{let{border:s,width:a,color:l}=t??{},c={hover:"hvr",focus:"focus"}[e];return{...a&&{[`--${c}-bw`]:`${a}`},...s&&{[`--${c}-b`]:`${s} ${p(l)}`},...o&&{[`--${c}-bgc`]:`${p(o)}`},...d(e,r)}};export{composeContainerStyles,composeInnerStyles,generateStylesTarget};
@@ -1 +1 @@
1
- import{filterTruthy as e}from"../../../common/helpers.js";import{composeAdvanceStyle as o,makeStyleResponsive as t,composeTypographyStyle as s,makeGlobalSize as r,getGlobalColorStyle as i,composeSize as l,makeStyle as p,getSingleColorVariable as a,getStyleShadow as m}from"@gem-sdk/core";let composeStyles=o=>e(o),composeContainerStyles=(e,s)=>{let{pos:r,d:i,op:l,right:p,top:a,left:m,bottom:c,z:n,padding:h,margin:y}=e??{},g=e?.["spacing-setting"],d=o({pos:r,d:i,op:l,right:p,top:a,left:m,bottom:c,z:n,padding:h,margin:y,"spacing-setting":g});return composeStyles({...d,...t("ta",s?.align)})},composeTextareaStyles=(e,t,c)=>{let{border:n,rounded:h,hasBoxShadow:y,boxShadow:g}=e??{},{typography:d}=t??{},{globalSize:S}=c??{},w=s(t?.typo,d),u=o({border:n,rounded:h,hasBoxShadow:y,boxShadow:g}),x=r(S);return composeStyles({...x?.width?.["--w"]?x.width:{"--w":"100%"},...x?.height?.["--h"]?x.height:{"--h":"auto"},...x.padding,...i(t?.color),...t?.size?.type?{}:l(t?.size?.custom),...p({tt:t?.transform}),...w,...u,...p({bc:a(n?.color)}),...m({value:g,styleAppliedFor:"box-shadow",isEnableShadow:y})})};export{composeContainerStyles,composeTextareaStyles};
1
+ import{filterTruthy as e}from"../../../common/helpers.js";import{composeAdvanceStyle as o,makeStyleResponsive as t,composeTypographyStyle as s,makeGlobalSize as r,getGlobalColorStyle as a,composeSize as i,makeStyle as l,getSingleColorVariable as p,getStyleShadow as m}from"@gem-sdk/core";let composeStyles=o=>e(o),composeContainerStyles=(e,s)=>{let{pos:r,d:a,op:i,right:l,top:p,left:m,bottom:c,z:n,padding:h,margin:y}=e??{},g=e?.["spacing-setting"],d=o({pos:r,d:a,op:i,right:l,top:p,left:m,bottom:c,z:n,padding:h,margin:y,"spacing-setting":g});return composeStyles({...d,...t("ta",s?.align)})},composeTextareaStyles=(e,t,c)=>{let{border:n,rounded:h,hasBoxShadow:y,boxShadow:g}=e??{},{typography:d}=t??{},{globalSize:S}=c??{},u=s(t?.typo,d),w=o({border:n,rounded:h,hasBoxShadow:y,boxShadow:g}),x=r(S);return composeStyles({...x?.width?.["--w"]?x.width:{"--w":"auto"},...x?.height?.["--h"]?x.height:{"--h":"auto"},...x.padding,...a(t?.color),...t?.size?.type?{}:i(t?.size?.custom),...l({tt:t?.transform}),...u,...w,...l({bc:p(n?.color)}),...m({value:g,styleAppliedFor:"box-shadow",isEnableShadow:y})})};export{composeContainerStyles,composeTextareaStyles};
@@ -1 +1 @@
1
- let SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Content"},iconName:"polaris-text-block",getValueFromSettingID:"description",isHideClear:!0,controls:[{layout:"vertical",setting:{id:"description"}}]},{layout:"vertical",setting:{id:"typo"},options:{updateFields:[{field:"attrs.textAlign",settingId:"align"}]},controlChangeTrigger:{settings:[{action:{controlId:"align",valueFromField:"attrs.textAlign",groupType:"setting",controlType:"setting"}}],options:{noRecordHistory:!0}}}]},{label:{en:"Spacing"},controls:[{type:"control",label:{en:"Gap"},setting:{id:"horizontalSpacing"}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Default selected"},setting:{id:"selected"}},{label:{en:"Field name"},setting:{id:"name"},help:{content:"Identify the information submitted via this element."}}]}];export{SettingUIV2};
1
+ let SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Content"},iconName:"polaris-text-block",getValueFromSettingID:"description",isHideClear:!0,compoDefaultValue:"Yes, sign me up to receive exclusive offers, news and more!",controls:[{layout:"vertical",setting:{id:"description"}}]},{layout:"vertical",setting:{id:"typo"},options:{updateFields:[{field:"attrs.textAlign",settingId:"align"}]},controlChangeTrigger:{settings:[{action:{controlId:"align",valueFromField:"attrs.textAlign",groupType:"setting",controlType:"setting"}}],options:{noRecordHistory:!0}}}]},{label:{en:"Spacing"},controls:[{type:"control",label:{en:"Gap"},setting:{id:"horizontalSpacing"}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Default selected"},setting:{id:"selected"}},{label:{en:"Field name"},setting:{id:"name"},help:{content:"Identify the information submitted via this element."}}]}];export{SettingUIV2};
@@ -1 +1 @@
1
- let SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Placeholder"},iconName:"polaris-text-block",getValueFromSettingID:"placeholder",isHideClear:!0,controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"placeholder"}}]},{layout:"vertical",setting:{id:"typo"}}]},{label:{en:"Size"},controls:[{label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Default",value:"1200px",showValue:!0},{label:"Full",value:"100%",showValue:!0}]},layout:"horizontal"},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"globalSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"medium",top:"12px",bottom:"12px",left:"24px",right:"24px"}}}}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Hide on client"},setting:{id:"hideOnClient"}},{label:{en:"Default value"},setting:{id:"defaultEmail"},conditionDisplay:"hideOnClient === true"}]},{controls:[{label:{en:"Align"},conditionEnable:'!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];export{SettingUIV2};
1
+ let SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Placeholder"},iconName:"polaris-text-block",getValueFromSettingID:"placeholder",isHideClear:!0,compoDefaultValue:"Enter your email address",controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"placeholder"}}]},{layout:"vertical",setting:{id:"typo"}}]},{label:{en:"Size"},controls:[{label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Default",value:"1200px",showValue:!0},{label:"Full",value:"100%",showValue:!0}]},layout:"horizontal"},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"globalSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"medium",top:"12px",bottom:"12px",left:"24px",right:"24px"}}}}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Hide on client"},setting:{id:"hideOnClient"}},{label:{en:"Default value"},setting:{id:"defaultEmail"},conditionDisplay:"hideOnClient === true"}]},{controls:[{label:{en:"Align"},conditionEnable:'!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];export{SettingUIV2};
@@ -1 +1 @@
1
- let SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Placeholder"},iconName:"polaris-text-block",getValueFromSettingID:"placeholder",isHideClear:!0,controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"placeholder"}}]},{layout:"vertical",setting:{id:"typo"}}]},{label:{en:"Size"},controls:[{label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0},{label:"Full",value:"100%",showValue:!0},{label:"Small",value:"100px",showValue:!0},{label:"Medium",value:"116px",showValue:!0},{label:"Large",value:"132px",showValue:!0}]},layout:"horizontal"},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"globalSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Field name"},setting:{id:"name"},help:{content:"Identify the information submitted via this element."}}]},{controls:[{label:{en:"Align"},conditionEnable:'!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];export{SettingUIV2};
1
+ let SettingUIV2=[{label:{en:"Text style"},controls:[{type:"combo",label:{en:"Placeholder"},iconName:"polaris-text-block",getValueFromSettingID:"placeholder",isHideClear:!0,compoDefaultValue:"Enter your text",controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"placeholder"}}]},{layout:"vertical",setting:{id:"typo"}}]},{label:{en:"Size"},controls:[{label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0},{label:"Full",value:"100%",showValue:!0},{label:"Small",value:"100px",showValue:!0},{label:"Medium",value:"116px",showValue:!0},{label:"Large",value:"132px",showValue:!0}]},layout:"horizontal"},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"globalSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}}}]},{label:{en:"Configuration"},controls:[{label:{en:"Required"},setting:{id:"required"}},{label:{en:"Field name"},setting:{id:"name"},help:{content:"Identify the information submitted via this element."}}]},{controls:[{label:{en:"Align"},conditionEnable:'!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];export{SettingUIV2};
@@ -1 +1 @@
1
- let itemChildrenTemplateImage=e=>({tag:"IconListItem",childrens:[{tag:"Col",settings:{},styles:{},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Image",settings:{image:{src:e},disableNoDataState:!0},styles:{shape:{desktop:{height:"40px",width:"40px",shape:"square",shapeLinked:!0,shapeValue:"1/1"}}},childrens:[]}]},{tag:"Col",styles:{fullWidth:!0},advanced:{w:{desktop:"100%"},boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Text",settings:{text:"Your custom text goes here",htmlTag:"div"},childrens:[]}]}]}),itemChildrenTemplateText=e=>({tag:"IconListItem",childrens:[{tag:"Col",settings:{},styles:{},childrens:[{tag:"Text",settings:{text:e,globalSize:{desktop:{width:"40px"}}},styles:{typo:{attrs:{bold:!0}}}}]},{tag:"Col",styles:{fullWidth:!0},advanced:{w:{desktop:"100%"}},childrens:[{tag:"Text",settings:{text:"Your custom text goes here",htmlTag:"div"},childrens:[]}]}]}),itemControlTemplateCol={tag:"Col",settings:{},styles:{minWidth:{desktop:"200px"},justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0},fullWidth:!0},advanced:{},childrens:[{tag:"Text",label:"Text block",settings:{text:"Your custom text goes here",htmlTag:"div"},childrens:[]}]},itemControlTemplate={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{},childrens:[{tag:"Icon",label:"Icon",settings:{iconSvg:'<svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg" className="w-6 h-6" viewBox="0 0 512 512" fill="currentColor"> <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M407.552 127.04a23.456 23.456 0 0 1 33.504 0c9.152 9.248 9.28 24.192 0.32 33.6L252.16 384.32a23.456 23.456 0 0 1 -34.08 0.64L102.944 268.288a24.224 24.224 0 0 1 0 -33.92 23.456 23.456 0 0 1 33.504 0l97.664 98.976 172.8 -205.6a7.904 7.904 0 0 1 0.64 -0.704Z" /></svg>',iconLink:{link:"",target:"_self"}},styles:{align:{desktop:"left"},iconWidth:{desktop:"20px"},border:{normal:{borderType:"none",border:"none",width:"0px",color:"transparent",isCustom:!1}},bgColor:{normal:"transparent"},iconRotate:0,spin:!1},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[]}]},itemControlTemplateCol]},itemControlTemplateImage={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Image",label:"Image",settings:{image:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/Item_list2.png"},srcSet:{desktop:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/Item_list2.png",width:2237,height:1678}},isAdaptive:!0},styles:{shape:{desktop:{height:"40px",width:"40px",shape:"square",shapeLinked:!0,shapeValue:"1/1"}},objectFit:{desktop:"cover"}},childrens:[],advanced:{boxShadow:{desktop:{normal:{}}}}}]},itemControlTemplateCol]},itemControlTemplateText={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Text",label:"Text",settings:{globalSize:{desktop:{width:"40px"}}},styles:{typo:{attrs:{bold:!0}}}}]},itemControlTemplateCol]};export{itemChildrenTemplateImage,itemChildrenTemplateText,itemControlTemplate,itemControlTemplateImage,itemControlTemplateText};
1
+ let itemChildrenTemplateImage=t=>({tag:"IconListItem",childrens:[{tag:"Col",settings:{},styles:{},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Image",settings:{image:{src:t},disableNoDataState:!0},styles:{shape:{desktop:{height:"40px",width:"40px",shape:"square",shapeLinked:!0,shapeValue:"1/1"}}},childrens:[]}]},{tag:"Col",styles:{fullWidth:!0},advanced:{w:{desktop:"100%"},boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Text",settings:{text:"Your custom text goes here",htmlTag:"div"},childrens:[]}]}]}),itemChildrenTemplateText=t=>({tag:"IconListItem",childrens:[{tag:"Col",settings:{},styles:{},childrens:[{tag:"Text",settings:{text:t,globalSize:{desktop:{width:"40px"}}},styles:{typo:{attrs:{bold:!0}}}}]},{tag:"Col",styles:{fullWidth:!0},advanced:{w:{desktop:"100%"}},childrens:[{tag:"Text",settings:{text:"Your custom text goes here",htmlTag:"div"},childrens:[]}]}]}),itemControlTemplateCol={tag:"Col",settings:{},styles:{minWidth:{desktop:"200px"},justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0},fullWidth:!0},advanced:{},childrens:[{tag:"Text",label:"Text block",settings:{text:"Your custom text goes here",htmlTag:"div"},styles:{typo:{type:"paragraph-1",attrs:{color:"text-2"}},textAlign:{desktop:"left"},hasLineClamp:{desktop:!1},transform:"default"},childrens:[]}]},itemControlTemplate={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{},childrens:[{tag:"Icon",label:"Icon",settings:{iconSvg:'<svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg" className="w-6 h-6" viewBox="0 0 512 512" fill="currentColor"> <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M407.552 127.04a23.456 23.456 0 0 1 33.504 0c9.152 9.248 9.28 24.192 0.32 33.6L252.16 384.32a23.456 23.456 0 0 1 -34.08 0.64L102.944 268.288a24.224 24.224 0 0 1 0 -33.92 23.456 23.456 0 0 1 33.504 0l97.664 98.976 172.8 -205.6a7.904 7.904 0 0 1 0.64 -0.704Z" /></svg>',iconLink:{link:"",target:"_self"}},styles:{align:{desktop:"left"},iconWidth:{desktop:"20px"},border:{normal:{borderType:"none",border:"none",width:"0px",color:"transparent",isCustom:!1}},bgColor:{normal:"transparent"},iconRotate:0,spin:!1},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[]}]},itemControlTemplateCol]},itemControlTemplateImage={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Image",label:"Image",settings:{image:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/Item_list2.png"},srcSet:{desktop:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/Item_list2.png",width:2237,height:1678}},isAdaptive:!0},styles:{shape:{desktop:{height:"40px",width:"40px",shape:"square",shapeLinked:!0,shapeValue:"1/1"}},objectFit:{desktop:"cover"}},childrens:[],advanced:{boxShadow:{desktop:{normal:{}}}}}]},itemControlTemplateCol]},itemControlTemplateText={tag:"IconListItem",label:"Icon List Item",settings:{},styles:{},advanced:{},childrens:[{tag:"Col",settings:{},styles:{justifyContent:{desktop:"normal"},alignItem:{desktop:"normal"},order:{desktop:0}},advanced:{boxShadow:{desktop:{normal:{}}}},childrens:[{tag:"Text",label:"Text",settings:{globalSize:{desktop:{width:"40px"}}},styles:{typo:{attrs:{bold:!0}}}}]},itemControlTemplateCol]};export{itemChildrenTemplateImage,itemChildrenTemplateText,itemControlTemplate,itemControlTemplateImage,itemControlTemplateText};
@@ -1,3 +1,3 @@
1
1
  let ProductQuantitySettings=[{id:"setting",controls:[{id:"updatePrice",label:"Update price",type:"toggle",default:!0},{id:"hasButton",label:"Button",type:"toggle",default:!0},{id:"defaultQtyValue",label:"Text",type:"input:stepper",min:1,default:1},{id:"plusIcon",type:"icon",isHideClear:!0,customLabel:"Plus",info:"Choose from list or paste any SVG icon",default:`<svg height="20px" width="20px" data-name="plus-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508817698760687976">
2
2
  <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"></path></svg>`},{id:"minusIcon",type:"icon",isHideClear:!0,customLabel:"Minus",info:"Choose from list or paste any SVG icon",default:`<svg height="20px" width="20px" data-name="minus-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508817690725712232">
3
- <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"></path></svg>`},{id:"enableHoverInput",label:"Enable hover input",type:"toggle",default:!1},{id:"enableHoverButton",label:"Enable hover input",type:"toggle",default:!1}]},{id:"style",controls:[{id:"quantityLayout",label:"Style",type:"layout-selector",popoverLabel:{en:"Style"},iconViewBox:"0 0 80 48",enableItemBackground:!0,itemPerRow:2,itemSpacing:"large",options:[{label:"Square",value:"product-quantity-square",type:"p-quantity-layout",iconName:"gp-product-quantity-square"},{label:"Square with divider",value:"product-quantity-square-divider",type:"p-quantity-layout",iconName:"gp-product-quantity-square-divider"},{label:"Rounded",value:"product-quantity-rounded",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded"},{label:"Rounded with divider",value:"product-quantity-rounded-divider",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded-divider"},{label:"Square input only",value:"product-quantity-square-input-only",type:"p-quantity-layout",iconName:"gp-product-quantity-square-input-only"},{label:"Rounded input only",value:"product-quantity-rounded-input-only",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded-input-only"}],default:"product-quantity-square"},{id:"dimensions",type:"group",label:"Dimensions",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!1}}},{id:"quantityWidth",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"160px"}}},{id:"inputHeight",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"45px"}}},{id:"buttonWidth",type:"dropdown:input",label:"Button Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"45px"}}},{id:"iconSizeCustom",type:"input:stepper",includeUnit:"px",min:1,devices:{desktop:{default:"16px"}}}]},{id:"inputStyle",type:"group",label:"Input Style",controls:[{id:"typo",type:"typography-combo",default:{type:"paragraph-1",attrs:{color:"#121212"},custom:{fontSize:{desktop:"16px",tablet:"16px",mobile:"14px"},lineHeight:{desktop:"120%",tablet:"180%",mobile:"180%"},fontWeight:"400",fontFamily:{value:"Assistant",type:"google"},hasShadowText:!1,textShadow:{enable:!1}}},ignoreReRender:!0,hiddenSetting:{transform:!0,textAlign:!0}},{id:"align",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"left"}}}]},{id:"button-behavior-state",type:"behavior-state",label:"Button Style",hide:!0,controls:[{id:"textColor",type:"color-picker-v2",label:"Text Color",default:{normal:"text-2"},compoDefaultValue:{hover:"text-2"},state:{hover:!0,normal:!0},enableGradient:!0},{id:"inputBackgroundColor",type:"color-picker-v2",label:"Background Color",state:{hover:!0,normal:!0},compoDefaultValue:{normal:"highlight",hover:"highlight"},enableGradient:!0},{id:"buttonBackgroundColor",type:"color-picker-v2",label:"Button Background Color",state:{hover:!0,normal:!0},enableGradient:!0,compoDefaultValue:{normal:"brand",hover:"highlight"}},{id:"iconColor",type:"color-picker-v2",label:"Icon Color",default:{normal:"#121212"},compoDefaultValue:{hover:"text-2"},state:{hover:!0,normal:!0},enableGradient:!0}]},{id:"borderBtn",label:"Border",type:"border-v2",default:{normal:{}},compoDefaultValue:{normal:{border:"solid",color:"#212121",width:"1px",borderWidth:"1px"},hover:{border:"solid",color:"#212121",width:"1px",borderWidth:"1px"}},state:{hover:!0,normal:!0}},{id:"corner",label:"Corner",type:"corner-v2",default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},{id:"backgroundColor",type:"color-picker-v2",label:"Background Color",devices:{desktop:{default:"#FFFFFF"}},enableGradient:!0},{id:"dividerColor",type:"color-picker-v2",label:"Divider Color",default:{normal:"line-3"},compoDefaultValue:{normal:"line-3"},state:{hover:!0,normal:!0},enableGradient:!0},{id:"dividerStroke",label:"Thickness",type:"input:stepper",min:1,default:{normal:1},state:{hover:!0,normal:!0}},{id:"inputBorder",label:"Input Border",type:"border-v2",default:{hover:{}},state:{hover:!0,normal:!0}},{id:"shapeBorder",type:"border-v2",devices:{desktop:{default:{border:"solid",color:"line-3",width:"1px",borderWidth:"1px"}}}},{id:"shapeRounded",type:"corner-v2",devices:{desktop:{default:{radiusType:"none"}}}},{id:"shapeShadow",type:"shadow-v2",devices:{desktop:{default:{}}},compoDefaultValue:{desktop:{default:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45,enable:!0}}}}]}];export{ProductQuantitySettings};
3
+ <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"></path></svg>`},{id:"enableHoverInput",label:"Enable hover input",type:"toggle",default:!1},{id:"enableHoverButton",label:"Enable hover input",type:"toggle",default:!1}]},{id:"style",controls:[{id:"quantityLayout",label:"Style",type:"layout-selector",popoverLabel:{en:"Style"},iconViewBox:"0 0 80 48",enableItemBackground:!0,itemPerRow:2,itemSpacing:"large",options:[{label:"Square",value:"product-quantity-square",type:"p-quantity-layout",iconName:"gp-product-quantity-square"},{label:"Square with divider",value:"product-quantity-square-divider",type:"p-quantity-layout",iconName:"gp-product-quantity-square-divider"},{label:"Rounded",value:"product-quantity-rounded",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded"},{label:"Rounded with divider",value:"product-quantity-rounded-divider",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded-divider"},{label:"Square input only",value:"product-quantity-square-input-only",type:"p-quantity-layout",iconName:"gp-product-quantity-square-input-only"},{label:"Rounded input only",value:"product-quantity-rounded-input-only",type:"p-quantity-layout",iconName:"gp-product-quantity-rounded-input-only"}],default:"product-quantity-square"},{id:"dimensions",type:"group",label:"Dimensions",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!1}}},{id:"quantityWidth",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"160px"}}},{id:"inputHeight",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"45px"}}},{id:"buttonWidth",type:"dropdown:input",label:"Button Width",inputType:"number",units:["px","%"],hideUnit:!1,displayOptions:[{label:"Full",value:"100%",showValue:!0}],devices:{desktop:{default:"45px"}}},{id:"iconSizeCustom",type:"input:stepper",includeUnit:"px",min:1,devices:{desktop:{default:"16px"}}}]},{id:"inputStyle",type:"group",label:"Input Style",controls:[{id:"typo",type:"typography-combo",default:{type:"paragraph-1",attrs:{color:"#121212"},custom:{fontSize:{desktop:"16px",tablet:"16px",mobile:"14px"},lineHeight:{desktop:"120%",tablet:"180%",mobile:"180%"},fontWeight:"400",fontFamily:{value:"Assistant",type:"google"},hasShadowText:!1,textShadow:{enable:!1}}},ignoreReRender:!0,hiddenSetting:{transform:!0,textAlign:!0}},{id:"align",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"left"}}}]},{id:"button-behavior-state",type:"behavior-state",label:"Button Style",hide:!0,controls:[{id:"textColor",type:"color-picker-v2",label:"Text Color",default:{normal:"text-2"},compoDefaultValue:{hover:"text-2"},state:{hover:!0,normal:!0},enableGradient:!0},{id:"inputBackgroundColor",type:"color-picker-v2",label:"Background Color",state:{hover:!0,normal:!0},compoDefaultValue:{normal:"highlight",hover:"highlight"},enableGradient:!0},{id:"buttonBackgroundColor",type:"color-picker-v2",label:"Button Background Color",state:{hover:!0,normal:!0},enableGradient:!0,compoDefaultValue:{normal:"brand",hover:"highlight"}},{id:"iconColor",type:"color-picker-v2",label:"Icon Color",default:{normal:"#121212"},compoDefaultValue:{hover:"text-2"},state:{hover:!0,normal:!0}}]},{id:"borderBtn",label:"Border",type:"border-v2",default:{normal:{}},compoDefaultValue:{normal:{border:"solid",color:"#212121",width:"1px",borderWidth:"1px"},hover:{border:"solid",color:"#212121",width:"1px",borderWidth:"1px"}},state:{hover:!0,normal:!0}},{id:"corner",label:"Corner",type:"corner-v2",default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},{id:"backgroundColor",type:"color-picker-v2",label:"Background Color",devices:{desktop:{default:"#FFFFFF"}},enableGradient:!0},{id:"dividerColor",type:"color-picker-v2",label:"Divider Color",default:{normal:"line-3"},compoDefaultValue:{normal:"line-3"},state:{hover:!0,normal:!0},enableGradient:!0},{id:"dividerStroke",label:"Thickness",type:"input:stepper",min:1,default:{normal:1},state:{hover:!0,normal:!0}},{id:"inputBorder",label:"Input Border",type:"border-v2",default:{hover:{}},state:{hover:!0,normal:!0}},{id:"shapeBorder",type:"border-v2",devices:{desktop:{default:{border:"solid",color:"line-3",width:"1px",borderWidth:"1px"}}}},{id:"shapeRounded",type:"corner-v2",devices:{desktop:{default:{radiusType:"none"}}}},{id:"shapeShadow",type:"shadow-v2",devices:{desktop:{default:{}}},compoDefaultValue:{desktop:{default:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45,enable:!0}}}}]}];export{ProductQuantitySettings};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-staging.1040",
3
+ "version": "2.0.0-staging.1044",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -25,7 +25,7 @@
25
25
  "scan-all-text": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/scan-all-text && node ./scripts/scan-all-text"
26
26
  },
27
27
  "devDependencies": {
28
- "@gem-sdk/core": "2.0.0-staging.1040",
28
+ "@gem-sdk/core": "2.0.0-staging.1042",
29
29
  "@gem-sdk/styles": "2.0.0-staging.1037",
30
30
  "@gem-sdk/system": "2.0.0-staging.1037",
31
31
  "tsup": "^8.5.0",