@gem-sdk/components 2.1.13-staging.1 → 2.1.13-staging.11

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.
Files changed (136) hide show
  1. package/dist/cjs/article/components/ArticleList.liquid.js +6 -2
  2. package/dist/cjs/banner/components/hero-banner/index.liquid.js +12 -10
  3. package/dist/cjs/builder.js +21 -1
  4. package/dist/cjs/collection/components/CollectionDescription.js +101 -7
  5. package/dist/cjs/collection/components/CollectionDescription.liquid.js +102 -9
  6. package/dist/cjs/collection/setting/CollectionDescription.js +128 -0
  7. package/dist/cjs/common/const.js +1 -1
  8. package/dist/cjs/image/components/AdaptiveImage.liquid.js +6 -5
  9. package/dist/cjs/image/components/Image.js +22 -3
  10. package/dist/cjs/image/components/Image.liquid.js +6 -5
  11. package/dist/cjs/image/components/NextImage.liquid.js +4 -3
  12. package/dist/cjs/image/components/NoDataImage.js +133 -0
  13. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +7 -3
  14. package/dist/cjs/index.js +20 -0
  15. package/dist/cjs/index.liquid.js +22 -2
  16. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
  17. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  18. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  19. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  20. package/dist/cjs/tab/hooks/useTabInteraction.js +13 -9
  21. package/dist/cjs/text/components/Text.js +0 -1
  22. package/dist/cjs/third-party/components/AlsoBoughtCbb.js +32 -0
  23. package/dist/cjs/third-party/components/AlsoBoughtCbb.liquid.js +21 -0
  24. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.js +32 -0
  25. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.liquid.js +12 -0
  26. package/dist/cjs/third-party/components/EssentialAnnouncementBar.js +32 -0
  27. package/dist/cjs/third-party/components/EssentialAnnouncementBar.liquid.js +12 -0
  28. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.js +32 -0
  29. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.liquid.js +12 -0
  30. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +32 -0
  31. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
  32. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.js +32 -0
  33. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.liquid.js +12 -0
  34. package/dist/cjs/third-party/components/HextomFreeShippingBar.js +32 -0
  35. package/dist/cjs/third-party/components/HextomFreeShippingBar.liquid.js +12 -0
  36. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +32 -0
  37. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
  38. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.js +32 -0
  39. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.liquid.js +21 -0
  40. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.js +32 -0
  41. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.liquid.js +12 -0
  42. package/dist/cjs/third-party/configs/AlsoBoughtCbb.js +12 -0
  43. package/dist/cjs/third-party/configs/BfSizeChartSizeGuide.js +12 -0
  44. package/dist/cjs/third-party/configs/EssentialAnnouncementBar.js +12 -0
  45. package/dist/cjs/third-party/configs/EssentialCountdownTimerBar.js +12 -0
  46. package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
  47. package/dist/cjs/third-party/configs/GloColorSwatchvariantImage.js +12 -0
  48. package/dist/cjs/third-party/configs/HextomFreeShippingBar.js +12 -0
  49. package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
  50. package/dist/cjs/third-party/configs/StellarDeliveryDatePickup.js +12 -0
  51. package/dist/cjs/third-party/configs/TrustedsiteTrustBadges.js +12 -0
  52. package/dist/cjs/third-party/helpers/thirdParty.js +1 -1
  53. package/dist/cjs/third-party/next.js +51 -1
  54. package/dist/cjs/third-party/setting/AlsoBoughtCbb.js +127 -0
  55. package/dist/cjs/third-party/setting/BfSizeChartSizeGuide.js +131 -0
  56. package/dist/cjs/third-party/setting/EssentialAnnouncementBar.js +142 -0
  57. package/dist/cjs/third-party/setting/EssentialCountdownTimerBar.js +142 -0
  58. package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
  59. package/dist/cjs/third-party/setting/GloColorSwatchvariantImage.js +152 -0
  60. package/dist/cjs/third-party/setting/HextomFreeShippingBar.js +128 -0
  61. package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
  62. package/dist/cjs/third-party/setting/StellarDeliveryDatePickup.js +127 -0
  63. package/dist/cjs/third-party/setting/TrustedsiteTrustBadges.js +177 -0
  64. package/dist/cjs/third-party/setting/index.js +21 -1
  65. package/dist/cjs/video/components/HTML5Embed.js +2 -2
  66. package/dist/cjs/video/components/HTML5Embed.liquid.js +6 -3
  67. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +4 -2
  68. package/dist/esm/article/components/ArticleList.liquid.js +6 -2
  69. package/dist/esm/banner/components/hero-banner/index.liquid.js +12 -10
  70. package/dist/esm/builder.js +21 -1
  71. package/dist/esm/collection/components/CollectionDescription.js +103 -9
  72. package/dist/esm/collection/components/CollectionDescription.liquid.js +103 -10
  73. package/dist/esm/collection/setting/CollectionDescription.js +128 -0
  74. package/dist/esm/common/const.js +1 -1
  75. package/dist/esm/image/components/AdaptiveImage.liquid.js +6 -5
  76. package/dist/esm/image/components/Image.js +23 -4
  77. package/dist/esm/image/components/Image.liquid.js +6 -5
  78. package/dist/esm/image/components/NextImage.liquid.js +4 -3
  79. package/dist/esm/image/components/NoDataImage.js +129 -0
  80. package/dist/esm/image-comparison/components/CompareImage.liquid.js +7 -3
  81. package/dist/esm/index.js +10 -0
  82. package/dist/esm/index.liquid.js +11 -1
  83. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
  84. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  85. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  86. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  87. package/dist/esm/tab/hooks/useTabInteraction.js +14 -10
  88. package/dist/esm/text/components/Text.js +0 -1
  89. package/dist/esm/third-party/components/AlsoBoughtCbb.js +28 -0
  90. package/dist/esm/third-party/components/AlsoBoughtCbb.liquid.js +17 -0
  91. package/dist/esm/third-party/components/BfSizeChartSizeGuide.js +28 -0
  92. package/dist/esm/third-party/components/BfSizeChartSizeGuide.liquid.js +8 -0
  93. package/dist/esm/third-party/components/EssentialAnnouncementBar.js +28 -0
  94. package/dist/esm/third-party/components/EssentialAnnouncementBar.liquid.js +8 -0
  95. package/dist/esm/third-party/components/EssentialCountdownTimerBar.js +28 -0
  96. package/dist/esm/third-party/components/EssentialCountdownTimerBar.liquid.js +8 -0
  97. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +28 -0
  98. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
  99. package/dist/esm/third-party/components/GloColorSwatchvariantImage.js +28 -0
  100. package/dist/esm/third-party/components/GloColorSwatchvariantImage.liquid.js +8 -0
  101. package/dist/esm/third-party/components/HextomFreeShippingBar.js +28 -0
  102. package/dist/esm/third-party/components/HextomFreeShippingBar.liquid.js +8 -0
  103. package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +28 -0
  104. package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
  105. package/dist/esm/third-party/components/StellarDeliveryDatePickup.js +28 -0
  106. package/dist/esm/third-party/components/StellarDeliveryDatePickup.liquid.js +17 -0
  107. package/dist/esm/third-party/components/TrustedsiteTrustBadges.js +28 -0
  108. package/dist/esm/third-party/components/TrustedsiteTrustBadges.liquid.js +8 -0
  109. package/dist/esm/third-party/configs/AlsoBoughtCbb.js +8 -0
  110. package/dist/esm/third-party/configs/BfSizeChartSizeGuide.js +8 -0
  111. package/dist/esm/third-party/configs/EssentialAnnouncementBar.js +8 -0
  112. package/dist/esm/third-party/configs/EssentialCountdownTimerBar.js +8 -0
  113. package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
  114. package/dist/esm/third-party/configs/GloColorSwatchvariantImage.js +8 -0
  115. package/dist/esm/third-party/configs/HextomFreeShippingBar.js +8 -0
  116. package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
  117. package/dist/esm/third-party/configs/StellarDeliveryDatePickup.js +8 -0
  118. package/dist/esm/third-party/configs/TrustedsiteTrustBadges.js +8 -0
  119. package/dist/esm/third-party/helpers/thirdParty.js +1 -1
  120. package/dist/esm/third-party/next.js +51 -1
  121. package/dist/esm/third-party/setting/AlsoBoughtCbb.js +123 -0
  122. package/dist/esm/third-party/setting/BfSizeChartSizeGuide.js +127 -0
  123. package/dist/esm/third-party/setting/EssentialAnnouncementBar.js +138 -0
  124. package/dist/esm/third-party/setting/EssentialCountdownTimerBar.js +138 -0
  125. package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
  126. package/dist/esm/third-party/setting/GloColorSwatchvariantImage.js +148 -0
  127. package/dist/esm/third-party/setting/HextomFreeShippingBar.js +124 -0
  128. package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
  129. package/dist/esm/third-party/setting/StellarDeliveryDatePickup.js +123 -0
  130. package/dist/esm/third-party/setting/TrustedsiteTrustBadges.js +173 -0
  131. package/dist/esm/third-party/setting/index.js +224 -204
  132. package/dist/esm/video/components/HTML5Embed.js +2 -2
  133. package/dist/esm/video/components/HTML5Embed.liquid.js +6 -3
  134. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +4 -2
  135. package/dist/types/index.d.ts +182 -8
  136. package/package.json +2 -2
@@ -9,7 +9,7 @@ import NextImage from '../../../../image/components/NextImage.liquid.js';
9
9
  import Video from '../../../../image/components/Video.liquid.js';
10
10
  import { getStyleOfObject } from '../../../helpers/function.js';
11
11
 
12
- const ProductFeaturedImageCarousel = ({ builderPropUID, children, enableLazyloadImage, ...setting })=>{
12
+ const ProductFeaturedImageCarousel = ({ builderPropUID, children, enableLazyLoadImage, ...setting })=>{
13
13
  const ftAspectRatio = getAspectRatio(setting.ftShape);
14
14
  const getStyleFeaturedImageDisplay = ()=>{
15
15
  return getDisplayStyle((device)=>![
@@ -149,7 +149,7 @@ const ProductFeaturedImageCarousel = ({ builderPropUID, children, enableLazyload
149
149
  },
150
150
  priority: setting?.preload,
151
151
  className: `gp-w-full gp-h-full gp-absolute gp-top-0 gp-left-0 featured-image-only gp-cursor-pointer !gp-rounded-none ${className}`,
152
- enableLazyloadImage
152
+ enableLazyLoadImage
153
153
  })}`;
154
154
  };
155
155
  const renderNoImage = ()=>{
@@ -167,7 +167,7 @@ const ProductFeaturedImageCarousel = ({ builderPropUID, children, enableLazyload
167
167
  },
168
168
  priority: setting?.preload,
169
169
  className: `gp-w-full gp-h-full gp-absolute gp-top-0 gp-left-0 featured-image-only gp-cursor-pointer !gp-rounded-none`,
170
- enableLazyloadImage
170
+ enableLazyLoadImage
171
171
  })}`;
172
172
  };
173
173
  const getValueFromValueContainUnit = (value)=>{
@@ -394,7 +394,7 @@ const ProductFeaturedImageCarousel = ({ builderPropUID, children, enableLazyload
394
394
  },
395
395
  className: `gp-w-full featured-image-only !gp-rounded-none`,
396
396
  customLazyload: true,
397
- enableLazyloadImage
397
+ enableLazyLoadImage
398
398
  })}
399
399
  {%- endif -%}
400
400
  `
@@ -6,7 +6,7 @@ import { convertSpacing, getDisplayStyle, getAspectRatio, getSrcImage } from '..
6
6
  import { getShapeByLayout, getSettingMinWidthForCarouselItem, getSettingWidthForCarouselItem, getMinHeightByPosition, getSliderPerShowConfig, getAllowDotConfig, getDotStyleConfig, getCarouselVerticalConfigByPosition, checkDisplayGalleryByWidth, getZoomDisplay } from '../common/productGallery.js';
7
7
  import { getStyleOfObject } from '../../../helpers/function.js';
8
8
 
9
- const ProductGalleryCarousel = ({ builderPropUID, children, enableLazyloadImage, ...setting })=>{
9
+ const ProductGalleryCarousel = ({ builderPropUID, children, enableLazyLoadImage, ...setting })=>{
10
10
  const getCarouselDisplay = ()=>{
11
11
  const isDisplayCarousel = (type, position, device)=>{
12
12
  const layout = getResponsiveValueByScreen(position, device);
@@ -86,7 +86,7 @@ const ProductGalleryCarousel = ({ builderPropUID, children, enableLazyloadImage,
86
86
  customLazyload: true,
87
87
  style: style,
88
88
  className: '!gp-rounded-none gp-w-full gp-h-full gp-absolute gp-top-0 gp-left-0 gp-cursor-pointer',
89
- enableLazyloadImage
89
+ enableLazyLoadImage
90
90
  })}`;
91
91
  };
92
92
  const aspectRatioToPaddingBottom = ()=>{
@@ -8,7 +8,7 @@ import Model3d from '../../../../image/components/Modal3d.liquid.js';
8
8
  import Video from '../../../../image/components/Video.liquid.js';
9
9
  import HTML5Embed from '../../../../video/components/HTML5Embed.liquid.js';
10
10
 
11
- const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazyloadImage, ...setting })=>{
11
+ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazyLoadImage, ...setting })=>{
12
12
  const getGridDisplay = ()=>{
13
13
  const isDisplayGrid = (type, position, device)=>{
14
14
  const layout = getResponsiveValueByScreen(position, device);
@@ -97,7 +97,7 @@ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazy
97
97
  style: style,
98
98
  className: '!gp-rounded-none',
99
99
  customLazyload: false,
100
- enableLazyloadImage
100
+ enableLazyLoadImage
101
101
  })}
102
102
  ${setting?.galleryHoverEffect !== 'none' ? `<div class="${cls('zoom-element !gp-max-w-none', getZoomImageClass())}">
103
103
  ${NextImage({
@@ -111,7 +111,7 @@ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazy
111
111
  style: style,
112
112
  className: '!gp-rounded-none gp-w-full gp-h-full',
113
113
  customLazyload: false,
114
- enableLazyloadImage
114
+ enableLazyLoadImage
115
115
  })}
116
116
  </div>` : ''}
117
117
  ${setting?.galleryHoverEffect == 'zoom' && setting?.galleryZoomType == 'glasses' ? `
@@ -294,7 +294,7 @@ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazy
294
294
  },
295
295
  className: '!gp-rounded-none',
296
296
  customLazyload: false,
297
- enableLazyloadImage
297
+ enableLazyLoadImage
298
298
  })}`;
299
299
  };
300
300
  return template`
@@ -7,7 +7,7 @@ import { getSettingPreloadData } from '../../../../helpers.js';
7
7
  import { getShapeByLayout, sizeSettingDefaultForNewLayout } from '../common/productGallery.js';
8
8
 
9
9
  const ProductImages = (productImageProps)=>{
10
- const { setting, styles, builderProps, style, advanced, rawChildren, pageContext, enableLazyloadImage } = productImageProps;
10
+ const { setting, styles, builderProps, style, advanced, rawChildren, pageContext, enableLazyLoadImage } = productImageProps;
11
11
  const settings = {
12
12
  ...setting,
13
13
  ...styles
@@ -112,7 +112,7 @@ const ProductImages = (productImageProps)=>{
112
112
  builderPropUID: `gp-carousel-${builderProps?.uid}`,
113
113
  ...settings,
114
114
  children: renderProductBadge(),
115
- enableLazyloadImage
115
+ enableLazyLoadImage
116
116
  })}
117
117
  ${shouldSkipLiquidRenderForSingleImage(settings?.position, template`
118
118
  <div
@@ -128,7 +128,7 @@ const ProductImages = (productImageProps)=>{
128
128
  ${ProductGalleryCarousel({
129
129
  builderPropUID: `gp-gallery-${builderProps?.uid}`,
130
130
  ...settings,
131
- enableLazyloadImage
131
+ enableLazyLoadImage
132
132
  })}
133
133
  </div>
134
134
  ${ProductGalleryGrid({
@@ -138,7 +138,7 @@ const ProductImages = (productImageProps)=>{
138
138
  },
139
139
  children: renderProductBadge(),
140
140
  ...settings,
141
- enableLazyloadImage
141
+ enableLazyLoadImage
142
142
  })}
143
143
  `)}
144
144
  </div>
@@ -1,20 +1,19 @@
1
1
  import { useInteraction, useEditorMode } from '@gem-sdk/core';
2
- import { useState, useEffect } from 'react';
2
+ import { useEffect } from 'react';
3
3
 
4
4
  const useTabInteraction = ({ activeKey, setActiveKey, activeTab, refContainer, componentUid })=>{
5
- const [previousTab, setPreviousTab] = useState(activeKey || 1);
6
- const { trigger, onListener, interactionListenerLoaded } = useInteraction();
5
+ const { trigger, onListener, interactionListenerLoaded, saveToElementInteractionData, findElementIncludingSelf } = useInteraction();
7
6
  const mode = useEditorMode();
8
7
  const changeOpenTabInteraction = (params)=>{
9
- const { data, isRollback } = params || {};
10
- if (data === undefined && isRollback === undefined) return;
8
+ const { data, isRollback, element, key } = params || {};
9
+ if (data === undefined && isRollback) return;
10
+ const newData = Number(data) + 1;
11
11
  if (isRollback) {
12
- setActiveKey(previousTab);
13
- setPreviousTab(activeTab);
12
+ setActiveKey(newData);
14
13
  return;
15
14
  }
16
- setPreviousTab(activeTab);
17
- setActiveKey(data + 1);
15
+ saveToElementInteractionData(element, key, String(activeKey));
16
+ setActiveKey(newData);
18
17
  };
19
18
  const dispatchEventTabActive = (index)=>{
20
19
  trigger({
@@ -35,11 +34,16 @@ const useTabInteraction = ({ activeKey, setActiveKey, activeTab, refContainer, c
35
34
  dispatchEventTabActive(activeTab - 1);
36
35
  });
37
36
  const selector = `[data-id="${componentUid}"]`;
37
+ const element = findElementIncludingSelf(document, selector);
38
38
  const removeListener = onListener({
39
39
  event: 'gp:change-open-tab',
40
40
  selector
41
41
  }, (params)=>{
42
- changeOpenTabInteraction(params);
42
+ changeOpenTabInteraction({
43
+ ...params,
44
+ element,
45
+ key: params?.uniqueStorageKey
46
+ });
43
47
  });
44
48
  return ()=>{
45
49
  removeListener?.();
@@ -5,7 +5,6 @@ import { forwardRef, useMemo } from 'react';
5
5
  const Text = /*#__PURE__*/ forwardRef(({ styles, builderAttrs, style, setting, advanced, builderProps, className, children, ...props }, ref)=>{
6
6
  const { text, htmlTag: Element = 'div', options, tagWidth, excludeFlex } = setting ?? {};
7
7
  const composeGlobalSize = makeGlobalSize(setting?.globalSize);
8
- console.log('Text: ', text);
9
8
  const mode = useEditorMode();
10
9
  const getPlaceHolderWhenContentNone = ()=>{
11
10
  let classList = '';
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/AlsoBoughtCbb.js';
5
+
6
+ const AlsoBoughtCbbContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Also Bought • CBB',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const AlsoBoughtCbb = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(AlsoBoughtCbbContent, {})
25
+ });
26
+ };
27
+
28
+ export { AlsoBoughtCbb as default };
@@ -0,0 +1,17 @@
1
+ import { template, makeStyleResponsive } from '@gem-sdk/core';
2
+
3
+ const AlsoBoughtCbb = ({ setting, advanced })=>{
4
+ const { align } = setting ?? {};
5
+ return template`
6
+ <div
7
+ class="${advanced?.cssClass}"
8
+ style="${{
9
+ ...makeStyleResponsive('ta', align)
10
+ }}"
11
+ >
12
+ <div class="gp-integration-also-bought__position" />
13
+ </div>
14
+ `;
15
+ };
16
+
17
+ export { AlsoBoughtCbb as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/BfSizeChartSizeGuide.js';
5
+
6
+ const BfSizeChartSizeGuideContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'BF Size Chart & Size Guide',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const BfSizeChartSizeGuide = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(BfSizeChartSizeGuideContent, {})
25
+ });
26
+ };
27
+
28
+ export { BfSizeChartSizeGuide as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const BfSizeChartSizeGuide = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, advanced?.cssClass);
6
+ };
7
+
8
+ export { BfSizeChartSizeGuide as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/EssentialAnnouncementBar.js';
5
+
6
+ const EssentialAnnouncementBarContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Essential Announcement Bar',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const EssentialAnnouncementBar = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(EssentialAnnouncementBarContent, {})
25
+ });
26
+ };
27
+
28
+ export { EssentialAnnouncementBar as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const EssentialAnnouncementBar = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block `);
6
+ };
7
+
8
+ export { EssentialAnnouncementBar as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/EssentialCountdownTimerBar.js';
5
+
6
+ const EssentialCountdownTimerBarContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Essential Countdown Timer Bar',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const EssentialCountdownTimerBar = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(EssentialCountdownTimerBarContent, {})
25
+ });
26
+ };
27
+
28
+ export { EssentialCountdownTimerBar as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const EssentialCountdownTimerBar = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block `);
6
+ };
7
+
8
+ export { EssentialCountdownTimerBar as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/EstimatedDeliveryDatePlus.js';
5
+
6
+ const EstimatedDeliveryDatePlusContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Estimated Delivery Date ‑ Plus',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const EstimatedDeliveryDatePlus = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(EstimatedDeliveryDatePlusContent, {})
25
+ });
26
+ };
27
+
28
+ export { EstimatedDeliveryDatePlus as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const EstimatedDeliveryDatePlus = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
6
+ };
7
+
8
+ export { EstimatedDeliveryDatePlus as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/GloColorSwatchvariantImage.js';
5
+
6
+ const GloColorSwatchvariantImageContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'GLO Color Swatch,Variant Image',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const GloColorSwatchvariantImage = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(GloColorSwatchvariantImageContent, {})
25
+ });
26
+ };
27
+
28
+ export { GloColorSwatchvariantImage as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const GloColorSwatchvariantImage = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
6
+ };
7
+
8
+ export { GloColorSwatchvariantImage as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/HextomFreeShippingBar.js';
5
+
6
+ const HextomFreeShippingBarContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Hextom: Free Shipping Bar',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const HextomFreeShippingBar = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(HextomFreeShippingBarContent, {})
25
+ });
26
+ };
27
+
28
+ export { HextomFreeShippingBar as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const HextomFreeShippingBar = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
6
+ };
7
+
8
+ export { HextomFreeShippingBar as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/OkendoReviewsLoyalty.js';
5
+
6
+ const OkendoReviewsLoyaltyContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Okendo: Reviews & Loyalty',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const OkendoReviewsLoyalty = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(OkendoReviewsLoyaltyContent, {})
25
+ });
26
+ };
27
+
28
+ export { OkendoReviewsLoyalty as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const OkendoReviewsLoyalty = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block [&_*]:gp-max-w-none`);
6
+ };
7
+
8
+ export { OkendoReviewsLoyalty as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/StellarDeliveryDatePickup.js';
5
+
6
+ const StellarDeliveryDatePickupContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Stellar Delivery Date & Pickup',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const StellarDeliveryDatePickup = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(StellarDeliveryDatePickupContent, {})
25
+ });
26
+ };
27
+
28
+ export { StellarDeliveryDatePickup as default };
@@ -0,0 +1,17 @@
1
+ import { template, makeStyleResponsive } from '@gem-sdk/core';
2
+
3
+ const StellarDeliveryDatePickup = ({ setting, advanced })=>{
4
+ const { align } = setting ?? {};
5
+ return template`
6
+ <div
7
+ class="${advanced?.cssClass}"
8
+ style="${{
9
+ ...makeStyleResponsive('ta', align)
10
+ }}"
11
+ >
12
+ <div class="gp-integration-stellar-delivery__position" ></div>
13
+ </div>
14
+ `;
15
+ };
16
+
17
+ export { StellarDeliveryDatePickup as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/TrustedsiteTrustBadges.js';
5
+
6
+ const TrustedsiteTrustBadgesContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'TrustedSite ‑ Trust Badges',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const TrustedsiteTrustBadges = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(TrustedsiteTrustBadgesContent, {})
25
+ });
26
+ };
27
+
28
+ export { TrustedsiteTrustBadges as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const TrustedsiteTrustBadges = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
6
+ };
7
+
8
+ export { TrustedsiteTrustBadges as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'also-bought-cbb',
3
+ label: 'Also Bought • CBB',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png',
5
+ tag: 'AlsoBoughtCbb'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'bf-size-chart-size-guide',
3
+ label: 'BF Size Chart & Size Guide',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png',
5
+ tag: 'BfSizeChartSizeGuide'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'essential-announcement-bar',
3
+ label: 'Essential Announcement Bar',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/15e8255158a042a1eab34a4c45c72aa5/icon/CMK1jPv9uoADEAE=.png',
5
+ tag: 'EssentialAnnouncementBar'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'essential-countdown-timer-bar',
3
+ label: 'Essential Countdown Timer Bar',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/f84bf9e49eca8bd84c2af7488461363b/icon/CPzKxLTD4_UCEAE=.png',
5
+ tag: 'EssentialCountdownTimerBar'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'estimated-delivery-date-plus',
3
+ label: 'Estimated Delivery Date ‑ Plus',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.jpeg',
5
+ tag: 'EstimatedDeliveryDatePlus'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'glo-color-swatchvariant-image',
3
+ label: 'GLO Color Swatch,Variant Image',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/9995b073cfe955d98eb8e9961e8dd7be/icon/CM-Kw8-05_4CEAE=.png',
5
+ tag: 'GloColorSwatchvariantImage'
6
+ };
7
+
8
+ export { AppConfig as default };