@gem-sdk/components 23.0.0-dev.21 → 23.0.0-dev.23

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.
@@ -5,7 +5,7 @@
5
5
  "setting":${JSON.stringify(m)},
6
6
  "styles":${JSON.stringify(f)},
7
7
  "productUrl":{{product.url | json }},
8
- "product":{% if product %}{"id":{{ product.id | json }},"handle":{{ product.handle | json }},"media":{{ product.media | json }}}{% else %}null{% endif %},
8
+ "product":{% if product %}{"id":{{ product.id | json }},"handle":{{ product.handle | json }},"options":{{ product.options | json }},"media":{{ product.media | json }}}{% else %}null{% endif %},
9
9
  "collectionUrl": {{ collection.url | json }},
10
10
  "collection": {% if collection %}{"handle":{{ collection.handle | json }}}{% else %}null{% endif %}
11
11
  }
@@ -5,7 +5,7 @@
5
5
  "setting":${JSON.stringify(m)},
6
6
  "styles":${JSON.stringify(f)},
7
7
  "productUrl":{{product.url | json }},
8
- "product":{% if product %}{"id":{{ product.id | json }},"handle":{{ product.handle | json }},"media":{{ product.media | json }}}{% else %}null{% endif %},
8
+ "product":{% if product %}{"id":{{ product.id | json }},"handle":{{ product.handle | json }},"options":{{ product.options | json }},"media":{{ product.media | json }}}{% else %}null{% endif %},
9
9
  "collectionUrl": {{ collection.url | json }},
10
10
  "collection": {% if collection %}{"handle":{{ collection.handle | json }}}{% else %}null{% endif %}
11
11
  }
@@ -1,11 +1,11 @@
1
- import{getConditionRenderGalleryImages as e,getStyleInsideLayout as o,setDefaultWhenUndefineSetting as i}from"./common/common.js";import{isLocalEnv as t,baseAssetURL as r,template as s,WrapRenderChildren as a,RenderChildren as l}from"@gem-sdk/core";import p from"./components/feature-gallery/FeatureImageWithGallery.liquid.js";import{getShapeByLayout as d,sizeSettingDefaultForNewLayout as m}from"./common/productGallery.js";import{getProductImagesClassName as n}from"./composables/getProductImagesClassName.js";import c from"./components/gallery-carousel/GalleryCarousel.liquid.js";import{createAttr as u,LiquidIf as g,createClass as f,If as y,Liquid as $}from"@gem-sdk/system";import{getProductImagesStyles as h}from"./composables/getProductImagesStyles.js";import{filterPageContext as j,getSettingPreloadData as v}from"../../../helpers.js";import S from"./components/gallery-grid/GalleryGrid.liquid.js";import{getBorderActiveCss as F}from"./common/getBorderActiveCss.js";import{getStyleOfObject as I}from"../../helpers/function.js";let C=C=>{let P=i(C),{setting:G,styles:D,builderProps:b,style:z}=P,{rawChildren:O,pageContext:_}=C,N={...G,...D},A=`
1
+ import{getConditionRenderGalleryImages as e,getStyleInsideLayout as o,setDefaultWhenUndefineSetting as t}from"./common/common.js";import{isLocalEnv as i,baseAssetURL as r,template as s,WrapRenderChildren as a,RenderChildren as l}from"@gem-sdk/core";import p from"./components/feature-gallery/FeatureImageWithGallery.liquid.js";import{getShapeByLayout as d,sizeSettingDefaultForNewLayout as m}from"./common/productGallery.js";import{getProductImagesClassName as n}from"./composables/getProductImagesClassName.js";import c from"./components/gallery-carousel/GalleryCarousel.liquid.js";import{createAttr as u,LiquidIf as g,createClass as f,If as y,Liquid as $}from"@gem-sdk/system";import{getProductImagesStyles as h}from"./composables/getProductImagesStyles.js";import{filterPageContext as j,getSettingPreloadData as v}from"../../../helpers.js";import S from"./components/gallery-grid/GalleryGrid.liquid.js";import{getBorderActiveCss as F}from"./common/getBorderActiveCss.js";import{getStyleOfObject as I}from"../../helpers/function.js";let C=C=>{let P=t(C),{setting:G,styles:D,builderProps:b,style:z}=P,{rawChildren:O,pageContext:_}=C,N={...G,...D},A=`
2
2
  {
3
3
  "id":${JSON.stringify(b?.uid)},
4
4
  "pageContext": ${JSON.stringify(j(_))},
5
5
  "setting":${JSON.stringify(G)},
6
6
  "styles":${JSON.stringify(D)},
7
7
  "productUrl":{{product.url | json }},
8
- "product":{% if product %}{"id":{{ product.id | json }},"handle":{{ product.handle | json }},"media":{{ product.media | json }}}{% else %}null{% endif %},
8
+ "product":{% if product %}{"id":{{ product.id | json }},"handle":{{ product.handle | json }},"options":{{ product.options | json }},"media":{{ product.media | json }}}{% else %}null{% endif %},
9
9
  "collectionUrl": {{ collection.url | json }},
10
10
  "collection": {% if collection %}{"handle":{{ collection.handle | json }}}{% else %}null{% endif %}
11
11
  }
@@ -40,5 +40,5 @@ import{getConditionRenderGalleryImages as e,getStyleInsideLayout as o,setDefault
40
40
  `)}
41
41
  </div>
42
42
  </gp-product-images-v3>
43
- ${y(t,`<script ${v('class="gps-link" delay',"src")}="{{ 'gp-product-images-v3-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${v('class="gps-link" delay',"src")}="${r}/assets-v2/gp-product-images-v3-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
43
+ ${y(i,`<script ${v('class="gps-link" delay',"src")}="{{ 'gp-product-images-v3-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${v('class="gps-link" delay',"src")}="${r}/assets-v2/gp-product-images-v3-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
44
44
  `};export{C as default};
@@ -1,11 +1,11 @@
1
- import{getConditionRenderGalleryImages as e,getStyleInsideLayout as o,setDefaultWhenUndefineSetting as i}from"./common/common.js";import{isLocalEnv as t,baseAssetURL as r,template as s,WrapRenderChildren as a,RenderChildren as l}from"@gem-sdk/core";import p from"./components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js";import{getShapeByLayout as d,sizeSettingDefaultForNewLayout as m}from"./common/productGallery.js";import n from"./components/gallery-carousel/GalleryCarouselEmbla.liquid.js";import{getProductImagesClassName as c}from"./composables/getProductImagesClassName.js";import{createAttr as u,LiquidIf as g,createClass as f,If as y,Liquid as $}from"@gem-sdk/system";import{getProductImagesStyles as h}from"./composables/getProductImagesStyles.js";import{filterPageContext as j,getSettingPreloadData as v}from"../../../helpers.js";import S from"./components/gallery-grid/GalleryGrid.liquid.js";import{getBorderActiveCss as F}from"./common/getBorderActiveCss.js";import{getStyleOfObject as I}from"../../helpers/function.js";let C=C=>{let P=i(C),{setting:b,styles:G,builderProps:D,style:z}=P,{rawChildren:O,pageContext:_}=C,E={...b,...G},N=`
1
+ import{getConditionRenderGalleryImages as e,getStyleInsideLayout as o,setDefaultWhenUndefineSetting as t}from"./common/common.js";import{isLocalEnv as i,baseAssetURL as r,template as s,WrapRenderChildren as a,RenderChildren as l}from"@gem-sdk/core";import p from"./components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js";import{getShapeByLayout as d,sizeSettingDefaultForNewLayout as m}from"./common/productGallery.js";import n from"./components/gallery-carousel/GalleryCarouselEmbla.liquid.js";import{getProductImagesClassName as c}from"./composables/getProductImagesClassName.js";import{createAttr as u,LiquidIf as g,createClass as f,If as y,Liquid as $}from"@gem-sdk/system";import{getProductImagesStyles as h}from"./composables/getProductImagesStyles.js";import{filterPageContext as j,getSettingPreloadData as v}from"../../../helpers.js";import S from"./components/gallery-grid/GalleryGrid.liquid.js";import{getBorderActiveCss as F}from"./common/getBorderActiveCss.js";import{getStyleOfObject as I}from"../../helpers/function.js";let C=C=>{let P=t(C),{setting:b,styles:G,builderProps:D,style:z}=P,{rawChildren:O,pageContext:_}=C,E={...b,...G},N=`
2
2
  {
3
3
  "id":${JSON.stringify(D?.uid)},
4
4
  "pageContext": ${JSON.stringify(j(_))},
5
5
  "setting":${JSON.stringify(b)},
6
6
  "styles":${JSON.stringify(G)},
7
7
  "productUrl":{{product.url | json }},
8
- "product":{% if product %}{"id":{{ product.id | json }},"handle":{{ product.handle | json }},"media":{{ product.media | json }}}{% else %}null{% endif %},
8
+ "product":{% if product %}{"id":{{ product.id | json }},"handle":{{ product.handle | json }},"options":{{ product.options | json }},"media":{{ product.media | json }}}{% else %}null{% endif %},
9
9
  "collectionUrl": {{ collection.url | json }},
10
10
  "collection": {% if collection %}{"handle":{{ collection.handle | json }}}{% else %}null{% endif %}
11
11
  }
@@ -40,5 +40,5 @@ import{getConditionRenderGalleryImages as e,getStyleInsideLayout as o,setDefault
40
40
  `)}
41
41
  </div>
42
42
  </gp-product-images-v3>
43
- ${y(t,`<script ${v('class="gps-link" delay',"src")}="{{ 'gp-product-images-v3-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${v('class="gps-link" delay',"src")}="${r}/assets-v2/gp-product-images-v3-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
43
+ ${y(i,`<script ${v('class="gps-link" delay',"src")}="{{ 'gp-product-images-v3-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${v('class="gps-link" delay',"src")}="${r}/assets-v2/gp-product-images-v3-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
44
44
  `};export{C as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "23.0.0-dev.21",
3
+ "version": "23.0.0-dev.23",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",