@gem-sdk/components 2.0.0-dev.872 → 2.0.0-dev.873

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.
@@ -12,4 +12,4 @@
12
12
  </clipPath>
13
13
  </defs>
14
14
  </svg>
15
- `},components:[{tag:"HeroBanner",settings:{layout:{desktop:{cols:[12],display:"fill"}}},styles:{contentWidth:{desktop:"1200px"},background:{desktop:{type:"video"}}},childrens:[{tag:"Col",childrens:[{tag:"Heading",settings:{text:"Click here to edit heading"},styles:{textAlign:{desktop:"center"},typo:{attrs:{color:"#FFFFFF"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"Text",settings:{text:"This is your text block. Click to edit and make it your own. Share your product's story<br/> or services offered. Get creative and make it yours!"},styles:{textAlign:{desktop:"center"},typo:{attrs:{color:"#FFFFFF"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"Button",settings:{label:"Get started"},styles:{align:{desktop:"center"}}}]}]}]};exports.heroBannerVideo=heroBannerVideo;
15
+ `},components:[{tag:"HeroBanner",settings:{layout:{desktop:{cols:[12],display:"fill"}}},styles:{contentWidth:{desktop:"1200px"},background:{desktop:{type:"video",video:"https://youtu.be/KOxfzBp72uk"}}},childrens:[{tag:"Col",childrens:[{tag:"Heading",settings:{text:"Click here to edit heading"},styles:{textAlign:{desktop:"center"},typo:{attrs:{color:"#FFFFFF"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"Text",settings:{text:"This is your text block. Click to edit and make it your own. Share your product's story<br/> or services offered. Get creative and make it yours!"},styles:{textAlign:{desktop:"center"},typo:{attrs:{color:"#FFFFFF"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"Button",settings:{label:"Get started"},styles:{align:{desktop:"center"}}}]}]}]};exports.heroBannerVideo=heroBannerVideo;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime");const ProductNotFoundRelated=({assignProductNoTags:e,relatedTagString:t,noAssignedProduct:n})=>{let s=()=>{let e=new CustomEvent("editor:toolbar:open-assigned-product",{bubbles:!0});window.dispatchEvent(e)},i=()=>{let e=new CustomEvent("editor:toolbar:change-condition-related-product",{bubbles:!0});window.dispatchEvent(e)};return jsxRuntime.jsx("div",{children:jsxRuntime.jsxs("div",{className:"gp-flex gp-flex-col gp-gap-[4px] gp-text-14 gp-font-semibold gp-leading-6",children:[n&&jsxRuntime.jsx("div",{className:"gp-text-[#212121]",children:"There are no products in your store."}),e&&!n?jsxRuntime.jsxs("div",{className:"gp-text-[#212121]",children:["The ",jsxRuntime.jsx("button",{className:"gp-no-underline gp-text-[#3C67FF]",onClick:s,children:"assigned product"})," being previewed does not belong to any ",t,"."]}):jsxRuntime.jsxs("div",{className:"gp-text-[#212121]",children:["There are no products in the same ",t," as the ",jsxRuntime.jsx("button",{className:"gp-no-underline gp-text-[#3C67FF]",onClick:s,children:"assigned product"})," being previewed."]}),jsxRuntime.jsx("button",{className:"gp-text-[#3C67FF]",onClick:i,children:"Change condition"})]})})};exports.default=ProductNotFoundRelated;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime");const ProductNotFoundRelated=({assignProductNoTags:e,relatedTagString:t,noAssignedProduct:n})=>{let s=()=>{let e=new CustomEvent("editor:toolbar:open-assigned-product",{bubbles:!0});window.dispatchEvent(e)},i=()=>{let e=new CustomEvent("editor:toolbar:change-condition-related-product",{bubbles:!0});window.dispatchEvent(e)};return jsxRuntime.jsx("div",{children:jsxRuntime.jsxs("div",{className:"gp-flex gp-flex-col gp-gap-[4px] gp-text-14 gp-leading-6",children:[n&&jsxRuntime.jsx("div",{className:"gp-text-[#212121]",children:"There are no products in your store."}),e&&!n?jsxRuntime.jsxs("div",{className:"gp-text-[#212121]",children:["The ",jsxRuntime.jsx("button",{className:"gp-no-underline gp-text-[#3C67FF] gp-font-medium",onClick:s,children:"assigned product"})," being previewed does not belong to any ",t,"."]}):jsxRuntime.jsxs("div",{className:"gp-text-[#212121]",children:["There are no products in the same ",t," as the ",jsxRuntime.jsx("button",{className:"gp-no-underline gp-text-[#3C67FF]",onClick:s,children:"assigned product"})," being previewed."]}),jsxRuntime.jsx("button",{className:"gp-text-[#3C67FF] gp-font-medium",onClick:i,children:"Change condition"})]})})};exports.default=ProductNotFoundRelated;
@@ -12,4 +12,4 @@ let heroBannerVideo={id:"hero-banner-video",name:{en:"Video Banner"},icon:{deskt
12
12
  </clipPath>
13
13
  </defs>
14
14
  </svg>
15
- `},components:[{tag:"HeroBanner",settings:{layout:{desktop:{cols:[12],display:"fill"}}},styles:{contentWidth:{desktop:"1200px"},background:{desktop:{type:"video"}}},childrens:[{tag:"Col",childrens:[{tag:"Heading",settings:{text:"Click here to edit heading"},styles:{textAlign:{desktop:"center"},typo:{attrs:{color:"#FFFFFF"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"Text",settings:{text:"This is your text block. Click to edit and make it your own. Share your product's story<br/> or services offered. Get creative and make it yours!"},styles:{textAlign:{desktop:"center"},typo:{attrs:{color:"#FFFFFF"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"Button",settings:{label:"Get started"},styles:{align:{desktop:"center"}}}]}]}]};export{heroBannerVideo};
15
+ `},components:[{tag:"HeroBanner",settings:{layout:{desktop:{cols:[12],display:"fill"}}},styles:{contentWidth:{desktop:"1200px"},background:{desktop:{type:"video",video:"https://youtu.be/KOxfzBp72uk"}}},childrens:[{tag:"Col",childrens:[{tag:"Heading",settings:{text:"Click here to edit heading"},styles:{textAlign:{desktop:"center"},typo:{attrs:{color:"#FFFFFF"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"Text",settings:{text:"This is your text block. Click to edit and make it your own. Share your product's story<br/> or services offered. Get creative and make it yours!"},styles:{textAlign:{desktop:"center"},typo:{attrs:{color:"#FFFFFF"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}},{tag:"Button",settings:{label:"Get started"},styles:{align:{desktop:"center"}}}]}]}]};export{heroBannerVideo};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";let ProductNotFoundRelated=({assignProductNoTags:n,relatedTagString:o,noAssignedProduct:d})=>{let i=()=>{let e=new CustomEvent("editor:toolbar:open-assigned-product",{bubbles:!0});window.dispatchEvent(e)},l=()=>{let e=new CustomEvent("editor:toolbar:change-condition-related-product",{bubbles:!0});window.dispatchEvent(e)};return e("div",{children:t("div",{className:"gp-flex gp-flex-col gp-gap-[4px] gp-text-14 gp-font-semibold gp-leading-6",children:[d&&e("div",{className:"gp-text-[#212121]",children:"There are no products in your store."}),n&&!d?t("div",{className:"gp-text-[#212121]",children:["The ",e("button",{className:"gp-no-underline gp-text-[#3C67FF]",onClick:i,children:"assigned product"})," being previewed does not belong to any ",o,"."]}):t("div",{className:"gp-text-[#212121]",children:["There are no products in the same ",o," as the ",e("button",{className:"gp-no-underline gp-text-[#3C67FF]",onClick:i,children:"assigned product"})," being previewed."]}),e("button",{className:"gp-text-[#3C67FF]",onClick:l,children:"Change condition"})]})})};export{ProductNotFoundRelated as default};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";let ProductNotFoundRelated=({assignProductNoTags:n,relatedTagString:o,noAssignedProduct:d})=>{let i=()=>{let e=new CustomEvent("editor:toolbar:open-assigned-product",{bubbles:!0});window.dispatchEvent(e)},r=()=>{let e=new CustomEvent("editor:toolbar:change-condition-related-product",{bubbles:!0});window.dispatchEvent(e)};return e("div",{children:t("div",{className:"gp-flex gp-flex-col gp-gap-[4px] gp-text-14 gp-leading-6",children:[d&&e("div",{className:"gp-text-[#212121]",children:"There are no products in your store."}),n&&!d?t("div",{className:"gp-text-[#212121]",children:["The ",e("button",{className:"gp-no-underline gp-text-[#3C67FF] gp-font-medium",onClick:i,children:"assigned product"})," being previewed does not belong to any ",o,"."]}):t("div",{className:"gp-text-[#212121]",children:["There are no products in the same ",o," as the ",e("button",{className:"gp-no-underline gp-text-[#3C67FF]",onClick:i,children:"assigned product"})," being previewed."]}),e("button",{className:"gp-text-[#3C67FF] gp-font-medium",onClick:r,children:"Change condition"})]})})};export{ProductNotFoundRelated as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.872",
3
+ "version": "2.0.0-dev.873",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",