@gem-sdk/components 2.0.0-dev.890 → 2.0.0-dev.891

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.
@@ -9,7 +9,7 @@
9
9
  role="banner"
10
10
  class="${core.cls("gp-absolute gp-inset-0 gp-transition-transform ",{"gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]":"zoom"===p})}"
11
11
  {% if collection.image %}
12
- style="${{...core.getStyleBackgroundByDevice(c),...core.makeStyleResponsive("bgi",_("url({{ collection.image.src | img_url: '1024x1024'}})")),"--duration":`${n??0}s`,"--scale":`${u??100}%`}}"
12
+ style="${{...core.getStyleBackgroundByDevice(c),...core.makeStyleResponsive("bgi",_("url({{ collection.image.src | image_url}})")),"--duration":`${n??0}s`,"--scale":`${u??100}%`}}"
13
13
  {% else %}
14
14
  style="${{...core.getStyleBackgroundByDevice(c),"--duration":`${n??0}s`,"--scale":`${u??100}%`}}
15
15
  "
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var childTemplate=require("./childTemplate.js");const config={tag:"Marquee",label:"Marquee",icon:`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var childTemplate=require("./childTemplate.js"),childTextTemplate=require("./childTextTemplate.js"),childImageTemplate=require("./childImageTemplate.js");const config={tag:"Marquee",label:"Marquee",icon:`
2
2
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3
3
  <path fill-rule="evenodd" clip-rule="evenodd" d="M4.96586 7.25C4.96586 6.14543 5.86129 5.25 6.96586 5.25H17.0346C18.1391 5.25 19.0346 6.14543 19.0346 7.25V16.7484C19.0346 17.853 18.1391 18.7484 17.0346 18.7484H6.96586C5.86129 18.7484 4.96586 17.853 4.96586 16.7484V7.25ZM9.36039 6.25H6.96586C6.41357 6.25 5.96586 6.69772 5.96586 7.25V16.7484C5.96586 17.3007 6.41357 17.7484 6.96586 17.7484H9.36039L9.36039 6.25ZM10.3604 17.7484V6.25H14.1455V17.7484H10.3604ZM15.1455 17.7484H17.0346C17.5869 17.7484 18.0346 17.3007 18.0346 16.7484V7.25C18.0346 6.69771 17.5869 6.25 17.0346 6.25H15.1455V17.7484ZM3.31666 10.5447C3.51708 10.7346 3.52555 11.0511 3.33558 11.2515L2.61349 12.0133L3.33449 12.7691C3.52509 12.969 3.51762 13.2854 3.31781 13.4761C3.118 13.6667 2.8015 13.6592 2.6109 13.4594L1.693 12.4971C1.43561 12.2273 1.43493 11.803 1.69148 11.5324L2.60981 10.5636C2.79978 10.3632 3.11625 10.3547 3.31666 10.5447ZM20.6827 10.5458C20.8825 10.3552 21.199 10.3627 21.3896 10.5625L22.3075 11.5247C22.5649 11.7946 22.5656 12.2188 22.309 12.4894L21.3907 13.4583C21.2007 13.6587 20.8843 13.6672 20.6839 13.4772C20.4834 13.2872 20.475 12.9707 20.6649 12.7703L21.387 12.0085L20.666 11.2527C20.4754 11.0529 20.4829 10.7364 20.6827 10.5458ZM21.5839 12.215C21.5838 12.2149 21.584 12.2151 21.5839 12.215V12.215Z" fill="white"/>
4
4
  </svg>
@@ -24,4 +24,28 @@
24
24
  </defs>
25
25
  </svg>
26
26
 
27
- `},components:[{tag:"Marquee",advanced:{"spacing-setting":{desktop:{padding:{top:"12px",bottom:"12px"},margin:{bottom:"16px"}}}},settings:{childItem:["Item 1","Item 2"]},childrens:[{tag:"MarqueeItem",label:"Marquee Item",childrens:[]},{tag:"MarqueeItem",label:"Marquee Item",childrens:[]}]}]}],locales:{editor:{en:{no_slider:"No Slider"}}}};exports.default=config;
27
+ `},components:[{tag:"Marquee",advanced:{"spacing-setting":{desktop:{padding:{top:"12px",bottom:"12px"},margin:{bottom:"16px"}}}},settings:{childItem:["Item 1","Item 2","Item 3","Item 4"]},childrens:[childTextTemplate.renderChildTextTemplate("FREE SHIPPING"),childTextTemplate.renderChildTextTemplate("30 DAYS MONEY BACK GUARANTEE"),childTextTemplate.renderChildTextTemplate("LIMITED TIME 50% OFF SALE"),childTextTemplate.renderChildTextTemplate("LIFE TIME WARRANTY")]}]},{id:"marquee-image",name:{en:"Marquee"},icon:{desktop:`
28
+ <svg width="126" height="80" viewBox="0 0 126 80" fill="none" xmlns="http://www.w3.org/2000/svg">
29
+ <g clip-path="url(#clip0_10250_27631)">
30
+ <path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="#212121"/>
31
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="#757575"/>
32
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="url(#paint0_linear_10250_27631)"/>
33
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M48.1452 28C46.9604 28 46 28.9604 46 30.1452V49.8548C46 51.0396 46.9604 52 48.1452 52H81.8548C83.0396 52 84 51.0396 84 49.8548V30.1452C84 28.9604 83.0396 28 81.8548 28H48.1452ZM67.4204 37.493C67.2399 37.2145 66.9431 37.05 66.6263 37.05C66.3094 37.05 66.0086 37.2145 65.8321 37.493L62.3426 42.8761L61.2797 41.4797C61.0952 41.2392 60.8184 41.1 60.5296 41.1C60.2408 41.1 59.9601 41.2392 59.7796 41.4797L57.2126 44.8547C56.9799 45.1584 56.9358 45.5761 57.0963 45.9262C57.2567 46.2764 57.5936 46.5 57.9626 46.5H71.4394C71.7964 46.5 72.1253 46.2933 72.2897 45.96C72.4542 45.6267 72.4341 45.2259 72.2336 44.918L67.4204 37.493ZM58.9253 37.05C59.4359 37.05 59.9256 36.8366 60.2866 36.4569C60.6477 36.0771 60.8505 35.5621 60.8505 35.025C60.8505 34.4879 60.6477 33.9729 60.2866 33.5931C59.9256 33.2134 59.4359 33 58.9253 33C58.4146 33 57.9249 33.2134 57.5639 33.5931C57.2028 33.9729 57 34.4879 57 35.025C57 35.5621 57.2028 36.0771 57.5639 36.4569C57.9249 36.8366 58.4146 37.05 58.9253 37.05Z" fill="#757575"/>
34
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M96.1452 28C94.9604 28 94 28.9604 94 30.1452V49.8548C94 51.0396 94.9604 52 96.1452 52H129.855C131.04 52 132 51.0396 132 49.8548V30.1452C132 28.9604 131.04 28 129.855 28H96.1452ZM115.42 37.493C115.24 37.2145 114.943 37.05 114.626 37.05C114.309 37.05 114.009 37.2145 113.832 37.493L110.343 42.8761L109.28 41.4797C109.095 41.2392 108.818 41.1 108.53 41.1C108.241 41.1 107.96 41.2392 107.78 41.4797L105.213 44.8547C104.98 45.1584 104.936 45.5761 105.096 45.9262C105.257 46.2764 105.594 46.5 105.963 46.5H119.439C119.796 46.5 120.125 46.2933 120.29 45.96C120.454 45.6267 120.434 45.2259 120.234 44.918L115.42 37.493ZM106.925 37.05C107.436 37.05 107.926 36.8366 108.287 36.4569C108.648 36.0771 108.851 35.5621 108.851 35.025C108.851 34.4879 108.648 33.9729 108.287 33.5931C107.926 33.2134 107.436 33 106.925 33C106.415 33 105.925 33.2134 105.564 33.5931C105.203 33.9729 105 34.4879 105 35.025C105 35.5621 105.203 36.0771 105.564 36.4569C105.925 36.8366 106.415 37.05 106.925 37.05Z" fill="url(#paint1_linear_10250_27631)"/>
35
+ </g>
36
+ <defs>
37
+ <linearGradient id="paint0_linear_10250_27631" x1="-0.190476" y1="40" x2="36" y2="40" gradientUnits="userSpaceOnUse">
38
+ <stop stop-color="#212121"/>
39
+ <stop offset="0.563469" stop-color="#757575"/>
40
+ </linearGradient>
41
+ <linearGradient id="paint1_linear_10250_27631" x1="95.8095" y1="40" x2="132" y2="40" gradientUnits="userSpaceOnUse">
42
+ <stop offset="0.254589" stop-color="#757575"/>
43
+ <stop offset="0.835918" stop-color="#212121"/>
44
+ </linearGradient>
45
+ <clipPath id="clip0_10250_27631">
46
+ <path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="white"/>
47
+ </clipPath>
48
+ </defs>
49
+ </svg>
50
+
51
+ `},components:[{tag:"Marquee",advanced:{"spacing-setting":{desktop:{padding:{top:"12px",bottom:"12px"},margin:{bottom:"16px"}}}},settings:{childItem:["Item 1","Item 2","Item 3","Item 4","Item 5"]},childrens:[childImageTemplate.renderChildImageTemplate("https://cdn.shopify.com/s/files/1/0674/4509/6683/files/gempages_489245065143649074-86637a9c-7795-41b0-84b8-6e21e40ab547.jpg?v=1716535106"),childImageTemplate.renderChildImageTemplate("https://cdn.shopify.com/s/files/1/0674/4509/6683/files/gempages_489245065143649074-117bb0c0-3c12-46c8-afaa-697077f6a878.jpg?v=1716535120"),childImageTemplate.renderChildImageTemplate("https://cdn.shopify.com/s/files/1/0674/4509/6683/files/gempages_489245065143649074-59708db0-accc-44e6-86d9-282bd83486b7.jpg?v=1716535132"),childImageTemplate.renderChildImageTemplate("https://cdn.shopify.com/s/files/1/0674/4509/6683/files/gempages_489245065143649074-3c063e7b-8682-4a5d-9622-bcb48a70050e.jpg?v=1716535143"),childImageTemplate.renderChildImageTemplate("https://cdn.shopify.com/s/files/1/0674/4509/6683/files/gempages_489245065143649074-e39b0758-a02f-451a-b98e-dfe52b0f653f.jpg?v=1716535157")]}]}],locales:{editor:{en:{no_slider:"No Slider"}}}};exports.default=config;
@@ -0,0 +1 @@
1
+ "use strict";const renderChildImageTemplate=e=>({tag:"MarqueeItem",label:"Marquee Item",settings:[{id:"setting",controls:[]},{id:"style",controls:[]}],editorConfigs:{component:{noSetting:!0,noDelete:!0,noDuplicate:!0,noDragDrop:!0},slots:{children:!0},sideBar:{hide:!0},toolbar:{hide:!0},placeholder:{notAppendBeforeAfter:!0,notAppendLeftRight:!0}},childrens:[{tag:"Image",label:"Image",styles:{shape:{desktop:{width:"210px",height:"140px"}},enableBorder:"none"},advanced:{"spacing-setting":{desktop:{padding:{top:"8px",bottom:"8px"}}}},settings:{image:{src:e}}}]});exports.renderChildImageTemplate=renderChildImageTemplate;
@@ -0,0 +1 @@
1
+ "use strict";const renderChildTextTemplate=e=>({tag:"MarqueeItem",label:"Marquee Item",settings:[{id:"setting",controls:[]},{id:"style",controls:[]}],editorConfigs:{component:{noSetting:!0,noDelete:!0,noDuplicate:!0,noDragDrop:!0},slots:{children:!0},sideBar:{hide:!0},toolbar:{hide:!0},placeholder:{notAppendBeforeAfter:!0,notAppendLeftRight:!0}},childrens:[{tag:"Text",label:"Text",settings:{text:e},advanced:{"spacing-setting":{desktop:{padding:{top:"8px",bottom:"8px"}}}},styles:{typo:{attrs:{bold:!0}}}}]});exports.renderChildTextTemplate=renderChildTextTemplate;
@@ -1,4 +1,4 @@
1
- import{makeStyleResponsive as e,template as t,cls as o,getStyleBackgroundByDevice as r,getGlobalColorStateClass as a,getGlobalColorStateStyle as s,makeStyleState as i,RenderIf as l}from"@gem-sdk/core";import p from"../../grid/components/Row.liquid.js";let composeAspect=e=>{if(e&&e.width&&e.height&&e.src)return`${e.width}/${e.height}`},CollectionBanner=({builderAttrs:g,builderProps:n,setting:c,style:d,children:u,rawChildren:m,advanced:b})=>{let{link:v,background:h,layout:$,hoverEffect:f,hoverDuration:y,hoverScale:k,overlayColor:j,overlayOpacity:w,fixedMode:x,height:A,fullWidth:B,width:C,verticalGutter:_,horizontalAlign:z,verticalAlign:q,contentPosition:I}=c??{},O=x?{"--aspect":composeAspect(h?.desktop?.image),"--aspect-tablet":composeAspect(h?.tablet?.image),"--aspect-mobile":composeAspect(h?.mobile?.image)}:e("h",A),R=e=>({desktop:e,tablet:e,mobile:e});return t`
1
+ import{makeStyleResponsive as e,template as t,cls as o,getStyleBackgroundByDevice as r,getGlobalColorStateClass as a,getGlobalColorStateStyle as s,makeStyleState as i,RenderIf as l}from"@gem-sdk/core";import p from"../../grid/components/Row.liquid.js";let composeAspect=e=>{if(e&&e.width&&e.height&&e.src)return`${e.width}/${e.height}`},CollectionBanner=({builderAttrs:g,builderProps:n,setting:c,style:d,children:u,rawChildren:m,advanced:b})=>{let{link:v,background:h,layout:$,hoverEffect:f,hoverDuration:y,hoverScale:k,overlayColor:j,overlayOpacity:w,fixedMode:A,height:x,fullWidth:B,width:C,verticalGutter:_,horizontalAlign:z,verticalAlign:q,contentPosition:I}=c??{},O=A?{"--aspect":composeAspect(h?.desktop?.image),"--aspect-tablet":composeAspect(h?.tablet?.image),"--aspect-mobile":composeAspect(h?.mobile?.image)}:e("h",x),R=e=>({desktop:e,tablet:e,mobile:e});return t`
2
2
  <div
3
3
  ${{...g}}
4
4
  class="${o(n?.uid,b?.cssClass,"gp-group/hero gp-flex gp-flex-col gp-relative gp-overflow-hidden gp-transition-colors gp-duration-200 gp-ease-in-out",{"gp-justify-center":"center"===I,"gp-justify-start":"top"===I,"gp-justify-end":"bottom"===I})}"
@@ -9,7 +9,7 @@ import{makeStyleResponsive as e,template as t,cls as o,getStyleBackgroundByDevic
9
9
  role="banner"
10
10
  class="${o("gp-absolute gp-inset-0 gp-transition-transform ",{"gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]":"zoom"===f})}"
11
11
  {% if collection.image %}
12
- style="${{...r(h),...e("bgi",R("url({{ collection.image.src | img_url: '1024x1024'}})")),"--duration":`${y??0}s`,"--scale":`${k??100}%`}}"
12
+ style="${{...r(h),...e("bgi",R("url({{ collection.image.src | image_url}})")),"--duration":`${y??0}s`,"--scale":`${k??100}%`}}"
13
13
  {% else %}
14
14
  style="${{...r(h),"--duration":`${y??0}s`,"--scale":`${k??100}%`}}
15
15
  "
@@ -1,4 +1,4 @@
1
- import{ChildTemplate as C}from"./childTemplate.js";let config={tag:"Marquee",label:"Marquee",icon:`
1
+ import{ChildTemplate as C}from"./childTemplate.js";import{renderChildTextTemplate as e}from"./childTextTemplate.js";import{renderChildImageTemplate as t}from"./childImageTemplate.js";let config={tag:"Marquee",label:"Marquee",icon:`
2
2
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3
3
  <path fill-rule="evenodd" clip-rule="evenodd" d="M4.96586 7.25C4.96586 6.14543 5.86129 5.25 6.96586 5.25H17.0346C18.1391 5.25 19.0346 6.14543 19.0346 7.25V16.7484C19.0346 17.853 18.1391 18.7484 17.0346 18.7484H6.96586C5.86129 18.7484 4.96586 17.853 4.96586 16.7484V7.25ZM9.36039 6.25H6.96586C6.41357 6.25 5.96586 6.69772 5.96586 7.25V16.7484C5.96586 17.3007 6.41357 17.7484 6.96586 17.7484H9.36039L9.36039 6.25ZM10.3604 17.7484V6.25H14.1455V17.7484H10.3604ZM15.1455 17.7484H17.0346C17.5869 17.7484 18.0346 17.3007 18.0346 16.7484V7.25C18.0346 6.69771 17.5869 6.25 17.0346 6.25H15.1455V17.7484ZM3.31666 10.5447C3.51708 10.7346 3.52555 11.0511 3.33558 11.2515L2.61349 12.0133L3.33449 12.7691C3.52509 12.969 3.51762 13.2854 3.31781 13.4761C3.118 13.6667 2.8015 13.6592 2.6109 13.4594L1.693 12.4971C1.43561 12.2273 1.43493 11.803 1.69148 11.5324L2.60981 10.5636C2.79978 10.3632 3.11625 10.3547 3.31666 10.5447ZM20.6827 10.5458C20.8825 10.3552 21.199 10.3627 21.3896 10.5625L22.3075 11.5247C22.5649 11.7946 22.5656 12.2188 22.309 12.4894L21.3907 13.4583C21.2007 13.6587 20.8843 13.6672 20.6839 13.4772C20.4834 13.2872 20.475 12.9707 20.6649 12.7703L21.387 12.0085L20.666 11.2527C20.4754 11.0529 20.4829 10.7364 20.6827 10.5458ZM21.5839 12.215C21.5838 12.2149 21.584 12.2151 21.5839 12.215V12.215Z" fill="white"/>
4
4
  </svg>
@@ -24,4 +24,28 @@ import{ChildTemplate as C}from"./childTemplate.js";let config={tag:"Marquee",lab
24
24
  </defs>
25
25
  </svg>
26
26
 
27
- `},components:[{tag:"Marquee",advanced:{"spacing-setting":{desktop:{padding:{top:"12px",bottom:"12px"},margin:{bottom:"16px"}}}},settings:{childItem:["Item 1","Item 2"]},childrens:[{tag:"MarqueeItem",label:"Marquee Item",childrens:[]},{tag:"MarqueeItem",label:"Marquee Item",childrens:[]}]}]}],locales:{editor:{en:{no_slider:"No Slider"}}}};export{config as default};
27
+ `},components:[{tag:"Marquee",advanced:{"spacing-setting":{desktop:{padding:{top:"12px",bottom:"12px"},margin:{bottom:"16px"}}}},settings:{childItem:["Item 1","Item 2","Item 3","Item 4"]},childrens:[e("FREE SHIPPING"),e("30 DAYS MONEY BACK GUARANTEE"),e("LIMITED TIME 50% OFF SALE"),e("LIFE TIME WARRANTY")]}]},{id:"marquee-image",name:{en:"Marquee"},icon:{desktop:`
28
+ <svg width="126" height="80" viewBox="0 0 126 80" fill="none" xmlns="http://www.w3.org/2000/svg">
29
+ <g clip-path="url(#clip0_10250_27631)">
30
+ <path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="#212121"/>
31
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="#757575"/>
32
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="url(#paint0_linear_10250_27631)"/>
33
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M48.1452 28C46.9604 28 46 28.9604 46 30.1452V49.8548C46 51.0396 46.9604 52 48.1452 52H81.8548C83.0396 52 84 51.0396 84 49.8548V30.1452C84 28.9604 83.0396 28 81.8548 28H48.1452ZM67.4204 37.493C67.2399 37.2145 66.9431 37.05 66.6263 37.05C66.3094 37.05 66.0086 37.2145 65.8321 37.493L62.3426 42.8761L61.2797 41.4797C61.0952 41.2392 60.8184 41.1 60.5296 41.1C60.2408 41.1 59.9601 41.2392 59.7796 41.4797L57.2126 44.8547C56.9799 45.1584 56.9358 45.5761 57.0963 45.9262C57.2567 46.2764 57.5936 46.5 57.9626 46.5H71.4394C71.7964 46.5 72.1253 46.2933 72.2897 45.96C72.4542 45.6267 72.4341 45.2259 72.2336 44.918L67.4204 37.493ZM58.9253 37.05C59.4359 37.05 59.9256 36.8366 60.2866 36.4569C60.6477 36.0771 60.8505 35.5621 60.8505 35.025C60.8505 34.4879 60.6477 33.9729 60.2866 33.5931C59.9256 33.2134 59.4359 33 58.9253 33C58.4146 33 57.9249 33.2134 57.5639 33.5931C57.2028 33.9729 57 34.4879 57 35.025C57 35.5621 57.2028 36.0771 57.5639 36.4569C57.9249 36.8366 58.4146 37.05 58.9253 37.05Z" fill="#757575"/>
34
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M96.1452 28C94.9604 28 94 28.9604 94 30.1452V49.8548C94 51.0396 94.9604 52 96.1452 52H129.855C131.04 52 132 51.0396 132 49.8548V30.1452C132 28.9604 131.04 28 129.855 28H96.1452ZM115.42 37.493C115.24 37.2145 114.943 37.05 114.626 37.05C114.309 37.05 114.009 37.2145 113.832 37.493L110.343 42.8761L109.28 41.4797C109.095 41.2392 108.818 41.1 108.53 41.1C108.241 41.1 107.96 41.2392 107.78 41.4797L105.213 44.8547C104.98 45.1584 104.936 45.5761 105.096 45.9262C105.257 46.2764 105.594 46.5 105.963 46.5H119.439C119.796 46.5 120.125 46.2933 120.29 45.96C120.454 45.6267 120.434 45.2259 120.234 44.918L115.42 37.493ZM106.925 37.05C107.436 37.05 107.926 36.8366 108.287 36.4569C108.648 36.0771 108.851 35.5621 108.851 35.025C108.851 34.4879 108.648 33.9729 108.287 33.5931C107.926 33.2134 107.436 33 106.925 33C106.415 33 105.925 33.2134 105.564 33.5931C105.203 33.9729 105 34.4879 105 35.025C105 35.5621 105.203 36.0771 105.564 36.4569C105.925 36.8366 106.415 37.05 106.925 37.05Z" fill="url(#paint1_linear_10250_27631)"/>
35
+ </g>
36
+ <defs>
37
+ <linearGradient id="paint0_linear_10250_27631" x1="-0.190476" y1="40" x2="36" y2="40" gradientUnits="userSpaceOnUse">
38
+ <stop stop-color="#212121"/>
39
+ <stop offset="0.563469" stop-color="#757575"/>
40
+ </linearGradient>
41
+ <linearGradient id="paint1_linear_10250_27631" x1="95.8095" y1="40" x2="132" y2="40" gradientUnits="userSpaceOnUse">
42
+ <stop offset="0.254589" stop-color="#757575"/>
43
+ <stop offset="0.835918" stop-color="#212121"/>
44
+ </linearGradient>
45
+ <clipPath id="clip0_10250_27631">
46
+ <path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="white"/>
47
+ </clipPath>
48
+ </defs>
49
+ </svg>
50
+
51
+ `},components:[{tag:"Marquee",advanced:{"spacing-setting":{desktop:{padding:{top:"12px",bottom:"12px"},margin:{bottom:"16px"}}}},settings:{childItem:["Item 1","Item 2","Item 3","Item 4","Item 5"]},childrens:[t("https://cdn.shopify.com/s/files/1/0674/4509/6683/files/gempages_489245065143649074-86637a9c-7795-41b0-84b8-6e21e40ab547.jpg?v=1716535106"),t("https://cdn.shopify.com/s/files/1/0674/4509/6683/files/gempages_489245065143649074-117bb0c0-3c12-46c8-afaa-697077f6a878.jpg?v=1716535120"),t("https://cdn.shopify.com/s/files/1/0674/4509/6683/files/gempages_489245065143649074-59708db0-accc-44e6-86d9-282bd83486b7.jpg?v=1716535132"),t("https://cdn.shopify.com/s/files/1/0674/4509/6683/files/gempages_489245065143649074-3c063e7b-8682-4a5d-9622-bcb48a70050e.jpg?v=1716535143"),t("https://cdn.shopify.com/s/files/1/0674/4509/6683/files/gempages_489245065143649074-e39b0758-a02f-451a-b98e-dfe52b0f653f.jpg?v=1716535157")]}]}],locales:{editor:{en:{no_slider:"No Slider"}}}};export{config as default};
@@ -0,0 +1 @@
1
+ let renderChildImageTemplate=e=>({tag:"MarqueeItem",label:"Marquee Item",settings:[{id:"setting",controls:[]},{id:"style",controls:[]}],editorConfigs:{component:{noSetting:!0,noDelete:!0,noDuplicate:!0,noDragDrop:!0},slots:{children:!0},sideBar:{hide:!0},toolbar:{hide:!0},placeholder:{notAppendBeforeAfter:!0,notAppendLeftRight:!0}},childrens:[{tag:"Image",label:"Image",styles:{shape:{desktop:{width:"210px",height:"140px"}},enableBorder:"none"},advanced:{"spacing-setting":{desktop:{padding:{top:"8px",bottom:"8px"}}}},settings:{image:{src:e}}}]});export{renderChildImageTemplate};
@@ -0,0 +1 @@
1
+ let renderChildTextTemplate=e=>({tag:"MarqueeItem",label:"Marquee Item",settings:[{id:"setting",controls:[]},{id:"style",controls:[]}],editorConfigs:{component:{noSetting:!0,noDelete:!0,noDuplicate:!0,noDragDrop:!0},slots:{children:!0},sideBar:{hide:!0},toolbar:{hide:!0},placeholder:{notAppendBeforeAfter:!0,notAppendLeftRight:!0}},childrens:[{tag:"Text",label:"Text",settings:{text:e},advanced:{"spacing-setting":{desktop:{padding:{top:"8px",bottom:"8px"}}}},styles:{typo:{attrs:{bold:!0}}}}]});export{renderChildTextTemplate};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.890",
3
+ "version": "2.0.0-dev.891",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",