@gem-sdk/components 2.0.0-dev.832 → 2.0.0-dev.833

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.
@@ -2,7 +2,7 @@
2
2
  <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
3
3
  <path d="M20.4003 9.86671C20.2003 9.60004 19.8003 9.60004 19.6003 9.86671L16.0003 14.6667H3.16699C2.89085 14.6667 2.66699 14.8906 2.66699 15.1667V16.8334C2.66699 17.1095 2.89085 17.3334 3.16699 17.3334H36.8337C37.1098 17.3334 37.3337 17.1095 37.3337 16.8334V15.1667C37.3337 14.8906 37.1098 14.6667 36.8337 14.6667H24.0003L20.4003 9.86671ZM3.16699 21.3334C2.89085 21.3334 2.66699 21.5572 2.66699 21.8334V23.5C2.66699 23.7762 2.89085 24 3.16699 24H16.0003L19.6003 28.8C19.8003 29.0667 20.2003 29.0667 20.4003 28.8L24.0003 24H36.8337C37.1098 24 37.3337 23.7762 37.3337 23.5V21.8334C37.3337 21.5572 37.1098 21.3334 36.8337 21.3334H3.16699Z" fill="currentColor"/>
4
4
  </svg>
5
- `,settings:[{id:"setting",controls:[{id:"lineType",type:"group",controls:[{id:"enableIconText",label:"Type",type:"toggle",devices:{desktop:{default:!1},tablet:{default:!1},mobile:{default:!1}}},{id:"text",label:"Text",type:"input",default:"Title"},{id:"iconSvg",label:"SVG Icon",type:"icon",default:'<svg style="width: 100%; height: 100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"> <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M428.8 137.6h-86.177a115.52 115.52 0 0 0 2.176-22.4c0-47.914-35.072-83.2-92-83.2-45.314 0-57.002 48.537-75.707 78.784-7.735 12.413-16.994 23.317-25.851 33.253l-.131.146-.129.148C135.662 161.807 127.764 168 120.8 168h-2.679c-5.747-4.952-13.536-8-22.12-8H32c-17.673 0-32 12.894-32 28.8v230.4C0 435.106 14.327 448 32 448h64c8.584 0 16.373-3.048 22.12-8h2.679c28.688 0 67.137 40 127.2 40h21.299c62.542 0 98.8-38.658 99.94-91.145 12.482-17.813 18.491-40.785 15.985-62.791A93.148 93.148 0 0 0 393.152 304H428.8c45.435 0 83.2-37.584 83.2-83.2 0-45.099-38.101-83.2-83.2-83.2zm0 118.4h-91.026c12.837 14.669 14.415 42.825-4.95 61.05 11.227 19.646 1.687 45.624-12.925 53.625 6.524 39.128-10.076 61.325-50.6 61.325H248c-45.491 0-77.21-35.913-120-39.676V215.571c25.239-2.964 42.966-21.222 59.075-39.596 11.275-12.65 21.725-25.3 30.799-39.875C232.355 112.712 244.006 80 252.8 80c23.375 0 44 8.8 44 35.2 0 35.2-26.4 53.075-26.4 70.4h158.4c18.425 0 35.2 16.5 35.2 35.2 0 18.975-16.225 35.2-35.2 35.2zM88 384c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z" /></svg>'},{id:"position",label:"Position",type:"segment",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left"},{label:"Center",value:"center",type:"align",tooltip:"Align center"},{label:"Right",value:"right",type:"align",tooltip:"Align right"}],default:"left"}]}]},{id:"style",controls:[{id:"dimension",type:"group",label:"Dimension",controls:[{id:"thickness",label:"Thickness",type:"select",options:[{label:"Small",value:"thin"},{label:"Medium",value:"medium"},{label:"Large",value:"thick"},{label:"Extra Large",value:"xthick"}],default:"medium"},{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,devices:{desktop:{default:"default"}},displayOptions:[{label:"Default",value:"default",showValue:!0},{label:"Full",value:"100%",showValue:!0}]}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],default:"left"}]}],ui:[{type:"group",label:{en:"Size"},controls:[{type:"control",label:{en:"Width"},setting:{id:"width"}},{type:"control",label:{en:"Thickness"},setting:{id:"thickness"}}]},{type:"control",label:{en:"Align"},options:{label:"large"},setting:{id:"align"}}],init:[{tag:"PostPurchaseLine",advanced:{blockPadding:"base"}}],presets:[{id:"PostPurchaseLine",name:{en:"Line"},icon:{desktop:`
5
+ `,settings:[{id:"setting",controls:[{id:"lineType",type:"group",controls:[{id:"enableIconText",label:"Type",type:"toggle",devices:{desktop:{default:!1},tablet:{default:!1},mobile:{default:!1}}},{id:"text",label:"Text",type:"input",default:"Title"},{id:"iconSvg",label:"SVG Icon",type:"icon",default:'<svg style="width: 100%; height: 100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"> <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M428.8 137.6h-86.177a115.52 115.52 0 0 0 2.176-22.4c0-47.914-35.072-83.2-92-83.2-45.314 0-57.002 48.537-75.707 78.784-7.735 12.413-16.994 23.317-25.851 33.253l-.131.146-.129.148C135.662 161.807 127.764 168 120.8 168h-2.679c-5.747-4.952-13.536-8-22.12-8H32c-17.673 0-32 12.894-32 28.8v230.4C0 435.106 14.327 448 32 448h64c8.584 0 16.373-3.048 22.12-8h2.679c28.688 0 67.137 40 127.2 40h21.299c62.542 0 98.8-38.658 99.94-91.145 12.482-17.813 18.491-40.785 15.985-62.791A93.148 93.148 0 0 0 393.152 304H428.8c45.435 0 83.2-37.584 83.2-83.2 0-45.099-38.101-83.2-83.2-83.2zm0 118.4h-91.026c12.837 14.669 14.415 42.825-4.95 61.05 11.227 19.646 1.687 45.624-12.925 53.625 6.524 39.128-10.076 61.325-50.6 61.325H248c-45.491 0-77.21-35.913-120-39.676V215.571c25.239-2.964 42.966-21.222 59.075-39.596 11.275-12.65 21.725-25.3 30.799-39.875C232.355 112.712 244.006 80 252.8 80c23.375 0 44 8.8 44 35.2 0 35.2-26.4 53.075-26.4 70.4h158.4c18.425 0 35.2 16.5 35.2 35.2 0 18.975-16.225 35.2-35.2 35.2zM88 384c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z" /></svg>'},{id:"position",label:"Position",type:"segment",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left"},{label:"Center",value:"center",type:"align",tooltip:"Align center"},{label:"Right",value:"right",type:"align",tooltip:"Align right"}],default:"left"}]}]},{id:"style",controls:[{id:"dimension",type:"group",label:"Dimension",controls:[{id:"thickness",label:"Thickness",type:"select",options:[{label:"Small",value:"thin"},{label:"Medium",value:"medium"},{label:"Large",value:"thick"},{label:"Extra Large",value:"xthick"}],default:"medium"},{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,devices:{desktop:{default:"100%"}},displayOptions:[{label:"Default",value:"default",showValue:!0},{label:"Full",value:"100%",showValue:!0}]}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],default:"left"}]}],ui:[{type:"group",label:{en:"Size"},controls:[{type:"control",label:{en:"Width"},setting:{id:"width"}},{type:"control",label:{en:"Thickness"},setting:{id:"thickness"}}]},{type:"control",label:{en:"Align"},options:{label:"large"},setting:{id:"align"}}],init:[{tag:"PostPurchaseLine",advanced:{blockPadding:"base"}}],presets:[{id:"PostPurchaseLine",name:{en:"Line"},icon:{desktop:`
6
6
  <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
7
7
  <rect width="96" height="2" transform="translate(0 24)" fill="#F9F9F9"/>
8
8
  </svg>
@@ -2,7 +2,7 @@ let config={tag:"PostPurchaseLine",label:"Line",icon:`
2
2
  <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
3
3
  <path d="M20.4003 9.86671C20.2003 9.60004 19.8003 9.60004 19.6003 9.86671L16.0003 14.6667H3.16699C2.89085 14.6667 2.66699 14.8906 2.66699 15.1667V16.8334C2.66699 17.1095 2.89085 17.3334 3.16699 17.3334H36.8337C37.1098 17.3334 37.3337 17.1095 37.3337 16.8334V15.1667C37.3337 14.8906 37.1098 14.6667 36.8337 14.6667H24.0003L20.4003 9.86671ZM3.16699 21.3334C2.89085 21.3334 2.66699 21.5572 2.66699 21.8334V23.5C2.66699 23.7762 2.89085 24 3.16699 24H16.0003L19.6003 28.8C19.8003 29.0667 20.2003 29.0667 20.4003 28.8L24.0003 24H36.8337C37.1098 24 37.3337 23.7762 37.3337 23.5V21.8334C37.3337 21.5572 37.1098 21.3334 36.8337 21.3334H3.16699Z" fill="currentColor"/>
4
4
  </svg>
5
- `,settings:[{id:"setting",controls:[{id:"lineType",type:"group",controls:[{id:"enableIconText",label:"Type",type:"toggle",devices:{desktop:{default:!1},tablet:{default:!1},mobile:{default:!1}}},{id:"text",label:"Text",type:"input",default:"Title"},{id:"iconSvg",label:"SVG Icon",type:"icon",default:'<svg style="width: 100%; height: 100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"> <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M428.8 137.6h-86.177a115.52 115.52 0 0 0 2.176-22.4c0-47.914-35.072-83.2-92-83.2-45.314 0-57.002 48.537-75.707 78.784-7.735 12.413-16.994 23.317-25.851 33.253l-.131.146-.129.148C135.662 161.807 127.764 168 120.8 168h-2.679c-5.747-4.952-13.536-8-22.12-8H32c-17.673 0-32 12.894-32 28.8v230.4C0 435.106 14.327 448 32 448h64c8.584 0 16.373-3.048 22.12-8h2.679c28.688 0 67.137 40 127.2 40h21.299c62.542 0 98.8-38.658 99.94-91.145 12.482-17.813 18.491-40.785 15.985-62.791A93.148 93.148 0 0 0 393.152 304H428.8c45.435 0 83.2-37.584 83.2-83.2 0-45.099-38.101-83.2-83.2-83.2zm0 118.4h-91.026c12.837 14.669 14.415 42.825-4.95 61.05 11.227 19.646 1.687 45.624-12.925 53.625 6.524 39.128-10.076 61.325-50.6 61.325H248c-45.491 0-77.21-35.913-120-39.676V215.571c25.239-2.964 42.966-21.222 59.075-39.596 11.275-12.65 21.725-25.3 30.799-39.875C232.355 112.712 244.006 80 252.8 80c23.375 0 44 8.8 44 35.2 0 35.2-26.4 53.075-26.4 70.4h158.4c18.425 0 35.2 16.5 35.2 35.2 0 18.975-16.225 35.2-35.2 35.2zM88 384c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z" /></svg>'},{id:"position",label:"Position",type:"segment",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left"},{label:"Center",value:"center",type:"align",tooltip:"Align center"},{label:"Right",value:"right",type:"align",tooltip:"Align right"}],default:"left"}]}]},{id:"style",controls:[{id:"dimension",type:"group",label:"Dimension",controls:[{id:"thickness",label:"Thickness",type:"select",options:[{label:"Small",value:"thin"},{label:"Medium",value:"medium"},{label:"Large",value:"thick"},{label:"Extra Large",value:"xthick"}],default:"medium"},{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,devices:{desktop:{default:"default"}},displayOptions:[{label:"Default",value:"default",showValue:!0},{label:"Full",value:"100%",showValue:!0}]}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],default:"left"}]}],ui:[{type:"group",label:{en:"Size"},controls:[{type:"control",label:{en:"Width"},setting:{id:"width"}},{type:"control",label:{en:"Thickness"},setting:{id:"thickness"}}]},{type:"control",label:{en:"Align"},options:{label:"large"},setting:{id:"align"}}],init:[{tag:"PostPurchaseLine",advanced:{blockPadding:"base"}}],presets:[{id:"PostPurchaseLine",name:{en:"Line"},icon:{desktop:`
5
+ `,settings:[{id:"setting",controls:[{id:"lineType",type:"group",controls:[{id:"enableIconText",label:"Type",type:"toggle",devices:{desktop:{default:!1},tablet:{default:!1},mobile:{default:!1}}},{id:"text",label:"Text",type:"input",default:"Title"},{id:"iconSvg",label:"SVG Icon",type:"icon",default:'<svg style="width: 100%; height: 100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"> <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M428.8 137.6h-86.177a115.52 115.52 0 0 0 2.176-22.4c0-47.914-35.072-83.2-92-83.2-45.314 0-57.002 48.537-75.707 78.784-7.735 12.413-16.994 23.317-25.851 33.253l-.131.146-.129.148C135.662 161.807 127.764 168 120.8 168h-2.679c-5.747-4.952-13.536-8-22.12-8H32c-17.673 0-32 12.894-32 28.8v230.4C0 435.106 14.327 448 32 448h64c8.584 0 16.373-3.048 22.12-8h2.679c28.688 0 67.137 40 127.2 40h21.299c62.542 0 98.8-38.658 99.94-91.145 12.482-17.813 18.491-40.785 15.985-62.791A93.148 93.148 0 0 0 393.152 304H428.8c45.435 0 83.2-37.584 83.2-83.2 0-45.099-38.101-83.2-83.2-83.2zm0 118.4h-91.026c12.837 14.669 14.415 42.825-4.95 61.05 11.227 19.646 1.687 45.624-12.925 53.625 6.524 39.128-10.076 61.325-50.6 61.325H248c-45.491 0-77.21-35.913-120-39.676V215.571c25.239-2.964 42.966-21.222 59.075-39.596 11.275-12.65 21.725-25.3 30.799-39.875C232.355 112.712 244.006 80 252.8 80c23.375 0 44 8.8 44 35.2 0 35.2-26.4 53.075-26.4 70.4h158.4c18.425 0 35.2 16.5 35.2 35.2 0 18.975-16.225 35.2-35.2 35.2zM88 384c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z" /></svg>'},{id:"position",label:"Position",type:"segment",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left"},{label:"Center",value:"center",type:"align",tooltip:"Align center"},{label:"Right",value:"right",type:"align",tooltip:"Align right"}],default:"left"}]}]},{id:"style",controls:[{id:"dimension",type:"group",label:"Dimension",controls:[{id:"thickness",label:"Thickness",type:"select",options:[{label:"Small",value:"thin"},{label:"Medium",value:"medium"},{label:"Large",value:"thick"},{label:"Extra Large",value:"xthick"}],default:"medium"},{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,devices:{desktop:{default:"100%"}},displayOptions:[{label:"Default",value:"default",showValue:!0},{label:"Full",value:"100%",showValue:!0}]}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],default:"left"}]}],ui:[{type:"group",label:{en:"Size"},controls:[{type:"control",label:{en:"Width"},setting:{id:"width"}},{type:"control",label:{en:"Thickness"},setting:{id:"thickness"}}]},{type:"control",label:{en:"Align"},options:{label:"large"},setting:{id:"align"}}],init:[{tag:"PostPurchaseLine",advanced:{blockPadding:"base"}}],presets:[{id:"PostPurchaseLine",name:{en:"Line"},icon:{desktop:`
6
6
  <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
7
7
  <rect width="96" height="2" transform="translate(0 24)" fill="#F9F9F9"/>
8
8
  </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.832",
3
+ "version": "2.0.0-dev.833",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",