@gem-sdk/components 2.1.13-staging.3 → 2.1.13-staging.31

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 (182) hide show
  1. package/dist/cjs/article/components/ArticleImage.js +2 -1
  2. package/dist/cjs/article/components/ArticleList.js +1 -1
  3. package/dist/cjs/banner/components/hero-banner/index.liquid.js +12 -13
  4. package/dist/cjs/banner/components/hero-banner/utils/index.js +5 -3
  5. package/dist/cjs/builder.js +21 -1
  6. package/dist/cjs/carousel/components/Carousel.liquid.js +3 -2
  7. package/dist/cjs/collection/components/CollectionDescription.js +101 -7
  8. package/dist/cjs/collection/components/CollectionDescription.liquid.js +102 -9
  9. package/dist/cjs/collection/setting/CollectionDescription.js +128 -0
  10. package/dist/cjs/form/components/textarea/TextArea.liquid.js +2 -2
  11. package/dist/cjs/image/components/AdaptiveImage.liquid.js +6 -5
  12. package/dist/cjs/image/components/Image.js +0 -1
  13. package/dist/cjs/image/components/Image.liquid.js +6 -5
  14. package/dist/cjs/image/components/NextImage.liquid.js +4 -3
  15. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +7 -3
  16. package/dist/cjs/index.js +20 -0
  17. package/dist/cjs/index.liquid.js +22 -2
  18. package/dist/cjs/marquee/components/MarqueeBase.liquid.js +7 -26
  19. package/dist/cjs/product/components/Product.liquid.js +3 -2
  20. package/dist/cjs/product/components/ProductBadge/index.liquid.js +13 -4
  21. package/dist/cjs/product/components/ProductBadge/utils/generateLiquidContent.js +2 -2
  22. package/dist/cjs/product/components/ProductDescription.liquid.js +21 -5
  23. package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +2 -9
  24. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +12 -4
  25. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +6 -5
  26. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  27. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  28. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  29. package/dist/cjs/product/components/ProductVariants/index.liquid.js +11 -18
  30. package/dist/cjs/product/components/ProductVariants/variants/Base.liquid.js +1 -0
  31. package/dist/cjs/product/components/ProductVariants/variants/Dropdown.liquid.js +26 -12
  32. package/dist/cjs/product/components/ProductVariants/variants/DropdownGroup.liquid.js +4 -37
  33. package/dist/cjs/product/components/ProductVariants/variants/combine/index.js +47 -0
  34. package/dist/cjs/product/components/Sku.js +2 -14
  35. package/dist/cjs/product/setting/ProductBadge.js +5 -0
  36. package/dist/cjs/product/setting/ProductDescription.js +5 -0
  37. package/dist/cjs/tab/hooks/useTabInteraction.js +13 -9
  38. package/dist/cjs/third-party/components/AlsoBoughtCbb.js +32 -0
  39. package/dist/cjs/third-party/components/AlsoBoughtCbb.liquid.js +21 -0
  40. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.js +32 -0
  41. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.liquid.js +12 -0
  42. package/dist/cjs/third-party/components/EssentialAnnouncementBar.js +32 -0
  43. package/dist/cjs/third-party/components/EssentialAnnouncementBar.liquid.js +12 -0
  44. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.js +32 -0
  45. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.liquid.js +12 -0
  46. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +32 -0
  47. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
  48. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.js +32 -0
  49. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.liquid.js +12 -0
  50. package/dist/cjs/third-party/components/HextomFreeShippingBar.js +32 -0
  51. package/dist/cjs/third-party/components/HextomFreeShippingBar.liquid.js +12 -0
  52. package/dist/cjs/third-party/components/NotifyBackInStockPreOrder.js +1 -1
  53. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +32 -0
  54. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
  55. package/dist/cjs/third-party/components/QikifyUpsell.js +22 -10
  56. package/dist/cjs/third-party/components/QikifyUpsell.liquid.js +3 -46
  57. package/dist/cjs/third-party/components/ShopifySubscriptions.liquid.js +3 -2
  58. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.js +32 -0
  59. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.liquid.js +21 -0
  60. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.js +32 -0
  61. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.liquid.js +12 -0
  62. package/dist/cjs/third-party/configs/AlsoBoughtCbb.js +12 -0
  63. package/dist/cjs/third-party/configs/BfSizeChartSizeGuide.js +12 -0
  64. package/dist/cjs/third-party/configs/EssentialAnnouncementBar.js +12 -0
  65. package/dist/cjs/third-party/configs/EssentialCountdownTimerBar.js +12 -0
  66. package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
  67. package/dist/cjs/third-party/configs/GloColorSwatchvariantImage.js +12 -0
  68. package/dist/cjs/third-party/configs/HextomFreeShippingBar.js +12 -0
  69. package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
  70. package/dist/cjs/third-party/configs/StellarDeliveryDatePickup.js +12 -0
  71. package/dist/cjs/third-party/configs/TrustedsiteTrustBadges.js +12 -0
  72. package/dist/cjs/third-party/helpers/thirdParty.js +1 -1
  73. package/dist/cjs/third-party/next.js +51 -1
  74. package/dist/cjs/third-party/setting/AlsoBoughtCbb.js +127 -0
  75. package/dist/cjs/third-party/setting/BfSizeChartSizeGuide.js +131 -0
  76. package/dist/cjs/third-party/setting/EssentialAnnouncementBar.js +142 -0
  77. package/dist/cjs/third-party/setting/EssentialCountdownTimerBar.js +142 -0
  78. package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
  79. package/dist/cjs/third-party/setting/GloColorSwatchvariantImage.js +152 -0
  80. package/dist/cjs/third-party/setting/HextomFreeShippingBar.js +128 -0
  81. package/dist/cjs/third-party/setting/NotifyBackInStockPreOrder.js +2 -2
  82. package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
  83. package/dist/cjs/third-party/setting/QikifyUpsell.js +11 -1
  84. package/dist/cjs/third-party/setting/ShopifySubscriptions.js +22 -0
  85. package/dist/cjs/third-party/setting/StellarDeliveryDatePickup.js +127 -0
  86. package/dist/cjs/third-party/setting/TrustedsiteTrustBadges.js +177 -0
  87. package/dist/cjs/third-party/setting/index.js +21 -1
  88. package/dist/cjs/video/components/HTML5Embed.js +2 -2
  89. package/dist/cjs/video/components/HTML5Embed.liquid.js +6 -3
  90. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +5 -3
  91. package/dist/esm/article/components/ArticleImage.js +2 -1
  92. package/dist/esm/article/components/ArticleList.js +1 -1
  93. package/dist/esm/banner/components/hero-banner/index.liquid.js +12 -13
  94. package/dist/esm/banner/components/hero-banner/utils/index.js +5 -3
  95. package/dist/esm/builder.js +21 -1
  96. package/dist/esm/carousel/components/Carousel.liquid.js +3 -2
  97. package/dist/esm/collection/components/CollectionDescription.js +103 -9
  98. package/dist/esm/collection/components/CollectionDescription.liquid.js +103 -10
  99. package/dist/esm/collection/setting/CollectionDescription.js +128 -0
  100. package/dist/esm/form/components/textarea/TextArea.liquid.js +2 -2
  101. package/dist/esm/image/components/AdaptiveImage.liquid.js +6 -5
  102. package/dist/esm/image/components/Image.js +0 -1
  103. package/dist/esm/image/components/Image.liquid.js +6 -5
  104. package/dist/esm/image/components/NextImage.liquid.js +4 -3
  105. package/dist/esm/image-comparison/components/CompareImage.liquid.js +7 -3
  106. package/dist/esm/index.js +10 -0
  107. package/dist/esm/index.liquid.js +11 -1
  108. package/dist/esm/marquee/components/MarqueeBase.liquid.js +7 -26
  109. package/dist/esm/product/components/Product.liquid.js +3 -2
  110. package/dist/esm/product/components/ProductBadge/index.liquid.js +14 -5
  111. package/dist/esm/product/components/ProductBadge/utils/generateLiquidContent.js +2 -2
  112. package/dist/esm/product/components/ProductDescription.liquid.js +22 -6
  113. package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +2 -9
  114. package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +13 -5
  115. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +6 -5
  116. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  117. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  118. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  119. package/dist/esm/product/components/ProductVariants/index.liquid.js +12 -19
  120. package/dist/esm/product/components/ProductVariants/variants/Base.liquid.js +1 -0
  121. package/dist/esm/product/components/ProductVariants/variants/Dropdown.liquid.js +26 -12
  122. package/dist/esm/product/components/ProductVariants/variants/DropdownGroup.liquid.js +4 -37
  123. package/dist/esm/product/components/ProductVariants/variants/combine/index.js +44 -0
  124. package/dist/esm/product/components/Sku.js +3 -15
  125. package/dist/esm/product/setting/ProductBadge.js +5 -0
  126. package/dist/esm/product/setting/ProductDescription.js +5 -0
  127. package/dist/esm/tab/hooks/useTabInteraction.js +14 -10
  128. package/dist/esm/third-party/components/AlsoBoughtCbb.js +28 -0
  129. package/dist/esm/third-party/components/AlsoBoughtCbb.liquid.js +17 -0
  130. package/dist/esm/third-party/components/BfSizeChartSizeGuide.js +28 -0
  131. package/dist/esm/third-party/components/BfSizeChartSizeGuide.liquid.js +8 -0
  132. package/dist/esm/third-party/components/EssentialAnnouncementBar.js +28 -0
  133. package/dist/esm/third-party/components/EssentialAnnouncementBar.liquid.js +8 -0
  134. package/dist/esm/third-party/components/EssentialCountdownTimerBar.js +28 -0
  135. package/dist/esm/third-party/components/EssentialCountdownTimerBar.liquid.js +8 -0
  136. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +28 -0
  137. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
  138. package/dist/esm/third-party/components/GloColorSwatchvariantImage.js +28 -0
  139. package/dist/esm/third-party/components/GloColorSwatchvariantImage.liquid.js +8 -0
  140. package/dist/esm/third-party/components/HextomFreeShippingBar.js +28 -0
  141. package/dist/esm/third-party/components/HextomFreeShippingBar.liquid.js +8 -0
  142. package/dist/esm/third-party/components/NotifyBackInStockPreOrder.js +1 -1
  143. package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +28 -0
  144. package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
  145. package/dist/esm/third-party/components/QikifyUpsell.js +22 -10
  146. package/dist/esm/third-party/components/QikifyUpsell.liquid.js +3 -46
  147. package/dist/esm/third-party/components/ShopifySubscriptions.liquid.js +3 -2
  148. package/dist/esm/third-party/components/StellarDeliveryDatePickup.js +28 -0
  149. package/dist/esm/third-party/components/StellarDeliveryDatePickup.liquid.js +17 -0
  150. package/dist/esm/third-party/components/TrustedsiteTrustBadges.js +28 -0
  151. package/dist/esm/third-party/components/TrustedsiteTrustBadges.liquid.js +8 -0
  152. package/dist/esm/third-party/configs/AlsoBoughtCbb.js +8 -0
  153. package/dist/esm/third-party/configs/BfSizeChartSizeGuide.js +8 -0
  154. package/dist/esm/third-party/configs/EssentialAnnouncementBar.js +8 -0
  155. package/dist/esm/third-party/configs/EssentialCountdownTimerBar.js +8 -0
  156. package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
  157. package/dist/esm/third-party/configs/GloColorSwatchvariantImage.js +8 -0
  158. package/dist/esm/third-party/configs/HextomFreeShippingBar.js +8 -0
  159. package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
  160. package/dist/esm/third-party/configs/StellarDeliveryDatePickup.js +8 -0
  161. package/dist/esm/third-party/configs/TrustedsiteTrustBadges.js +8 -0
  162. package/dist/esm/third-party/helpers/thirdParty.js +1 -1
  163. package/dist/esm/third-party/next.js +51 -1
  164. package/dist/esm/third-party/setting/AlsoBoughtCbb.js +123 -0
  165. package/dist/esm/third-party/setting/BfSizeChartSizeGuide.js +127 -0
  166. package/dist/esm/third-party/setting/EssentialAnnouncementBar.js +138 -0
  167. package/dist/esm/third-party/setting/EssentialCountdownTimerBar.js +138 -0
  168. package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
  169. package/dist/esm/third-party/setting/GloColorSwatchvariantImage.js +148 -0
  170. package/dist/esm/third-party/setting/HextomFreeShippingBar.js +124 -0
  171. package/dist/esm/third-party/setting/NotifyBackInStockPreOrder.js +2 -2
  172. package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
  173. package/dist/esm/third-party/setting/QikifyUpsell.js +11 -1
  174. package/dist/esm/third-party/setting/ShopifySubscriptions.js +22 -0
  175. package/dist/esm/third-party/setting/StellarDeliveryDatePickup.js +123 -0
  176. package/dist/esm/third-party/setting/TrustedsiteTrustBadges.js +173 -0
  177. package/dist/esm/third-party/setting/index.js +224 -204
  178. package/dist/esm/video/components/HTML5Embed.js +2 -2
  179. package/dist/esm/video/components/HTML5Embed.liquid.js +6 -3
  180. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +5 -3
  181. package/dist/types/index.d.ts +257 -36
  182. package/package.json +2 -2
@@ -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 };
@@ -5,7 +5,7 @@ import ThirdPartyPreview from './ThirdPartyPreview.js';
5
5
  const AppConfig = {
6
6
  id: 'notify-back-in-stockpreorder',
7
7
  label: 'Notify! Back in Stock|PreOrder',
8
- logoUrl: 'https://cdn.shopify.com/app-store/listing_images/9216cd5dd17ab1a38de2641bae109159/icon/CNWHjbfSt4MDEAE=.png',
8
+ logoUrl: 'https://cdn.shopify.com/s/files/1/0643/0497/1949/files/Notify_Me_Logo.png?v=1736234550',
9
9
  tag: 'NotifyBackInStockPreOrder'
10
10
  };
11
11
  const NotifyBackInStockPreOrderContent = ()=>{
@@ -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 };
@@ -4,21 +4,33 @@ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
4
  import { useMemo } from 'react';
5
5
 
6
6
  const WidgetOptions = [
7
- // {
8
- // value: 'bogo',
9
- // label: 'Upsell, Cross-sell',
10
- // },
11
7
  {
12
- value: 'bundle',
13
- label: 'Product bundle'
8
+ value: 'bogo_offer',
9
+ label: 'qikify Buy X get Y'
14
10
  },
15
11
  {
16
- value: 'volume',
17
- label: 'Volume Discount'
12
+ value: 'free_gift',
13
+ label: 'qikify Free Gift'
18
14
  },
19
15
  {
20
- value: 'upsurge',
21
- label: 'Upsurge'
16
+ value: 'bundle_offer',
17
+ label: 'qikify Product Bundle'
18
+ },
19
+ {
20
+ value: 'promotion_badge',
21
+ label: 'qikify Promotion Badge'
22
+ },
23
+ {
24
+ value: 'order-goal',
25
+ label: 'qikify Reward Bar'
26
+ },
27
+ {
28
+ value: 'upsurge_offer',
29
+ label: 'qikify Upsurge Discount'
30
+ },
31
+ {
32
+ value: 'volume_offer',
33
+ label: 'qikify Volume Discount'
22
34
  }
23
35
  ];
24
36
  const AppConfig = {
@@ -1,51 +1,8 @@
1
- import { template, makeStyleResponsive } from '@gem-sdk/core';
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
2
 
3
3
  const QikifyUpsell = ({ setting, advanced })=>{
4
- const { align, widgetType } = setting ?? {};
5
- const prefix = ()=>{
6
- switch(widgetType){
7
- // case 'bogo':
8
- // return 'qbk-bogo-offer';
9
- case 'bundle':
10
- return 'qbk-bundle-offer';
11
- case 'volume':
12
- return 'qbk-volume-offer';
13
- case 'upsurge':
14
- return 'qbk-upsurge-offer';
15
- // case 'free-gift':
16
- // return 'qbk-free-gift-offer';
17
- default:
18
- return '';
19
- }
20
- };
21
- return template`
22
- <div
23
- class="${advanced?.cssClass}"
24
- style="${{
25
- ...makeStyleResponsive('ta', align)
26
- }}"
27
- >
28
- {% assign productData = product %}
29
- {% if productData %}
30
- {% liquid
31
- assign triggerId = productData.selected_or_first_available_variant.id
32
- assign handle = productData.handle
33
- assign productId = productData.id
34
- assign blockId = block.id
35
- %}
36
- <div id="${prefix()}-{{ productId }}"></div>
37
- <qbk-inject-offer
38
- mount-id="${prefix()}-{{ productId }}"
39
- handle="{{ handle }}"
40
- section-id="{{ section.id }}"
41
- trigger-id="{{ triggerId }}"
42
- product-id="{{ productId }}"
43
- type="${widgetType}"
44
- >
45
- </qbk-inject-offer>
46
- {% endif %}
47
- </div>
48
- `;
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
49
6
  };
50
7
 
51
8
  export { QikifyUpsell as default };
@@ -1,8 +1,9 @@
1
1
  import { template, makeStyleResponsive } from '@gem-sdk/core';
2
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
3
 
3
4
  const ShopifySubscriptions = ({ setting, advanced })=>{
4
- const { align } = setting ?? {};
5
- return template`
5
+ const { align, widgetType, appBlockId } = setting ?? {};
6
+ return widgetType === 'app-block' ? getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`) : template`
6
7
  <div
7
8
  class="${advanced?.cssClass}"
8
9
  style="${{
@@ -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 };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'hextom-free-shipping-bar',
3
+ label: 'Hextom: Free Shipping Bar',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/635cce572624d1086ac37403cf25b5ee/icon/CMuP4OXt54YDEAE=.png',
5
+ tag: 'HextomFreeShippingBar'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'okendo-reviews-loyalty',
3
+ label: 'Okendo: Reviews & Loyalty',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png',
5
+ tag: 'OkendoReviewsLoyalty'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'stellar-delivery-date-pickup',
3
+ label: 'Stellar Delivery Date & Pickup',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/568eee7424b5f70382db5178dd815f6a/icon/CMTw3rn0lu8CEAE=.jpg',
5
+ tag: 'StellarDeliveryDatePickup'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'trustedsite-trust-badges',
3
+ label: 'TrustedSite ‑ Trust Badges',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/38fdc008d044b95511d73b59ae0cc83f/icon/CIX8yLf0lu8CEAE=.png',
5
+ tag: 'TrustedsiteTrustBadges'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -37,7 +37,7 @@ const getLiquidForAppBlock = (appBlockId, align, cssClass)=>{
37
37
  <div
38
38
  class="gp-flex gp-w-full gp-items-center ${cssClass}"
39
39
  style="${{
40
- ...makeStyleResponsive('ta', align)
40
+ ...makeStyleResponsive('jc', align)
41
41
  }}"
42
42
  >
43
43
  {% for block in app_blocks %}
@@ -2,6 +2,26 @@ import dynamic from 'next/dynamic';
2
2
  import Loading from '../common/components/Loading.js';
3
3
  import 'react/jsx-runtime';
4
4
 
5
+ const EstimatedDeliveryDatePlus = dynamic(()=>import('./components/EstimatedDeliveryDatePlus.js'), {
6
+ ssr: false,
7
+ loading: Loading
8
+ });
9
+ const OkendoReviewsLoyalty = dynamic(()=>import('./components/OkendoReviewsLoyalty.js'), {
10
+ ssr: false,
11
+ loading: Loading
12
+ });
13
+ const EssentialAnnouncementBar = dynamic(()=>import('./components/EssentialAnnouncementBar.js'), {
14
+ ssr: false,
15
+ loading: Loading
16
+ });
17
+ const EssentialCountdownTimerBar = dynamic(()=>import('./components/EssentialCountdownTimerBar.js'), {
18
+ ssr: false,
19
+ loading: Loading
20
+ });
21
+ const StellarDeliveryDatePickup = dynamic(()=>import('./components/StellarDeliveryDatePickup.js'), {
22
+ ssr: false,
23
+ loading: Loading
24
+ });
5
25
  const TrustshopProductReviews = dynamic(()=>import('./components/TrustshopProductReviews.js'), {
6
26
  ssr: false,
7
27
  loading: Loading
@@ -414,7 +434,32 @@ const TrustBadgesBear = dynamic(()=>import('./components/TrustBadgesBear.js'), {
414
434
  ssr: false,
415
435
  loading: Loading
416
436
  });
437
+ const TrustedsiteTrustBadges = dynamic(()=>import('./components/TrustedsiteTrustBadges.js'), {
438
+ ssr: false,
439
+ loading: Loading
440
+ });
441
+ const GloColorSwatchvariantImage = dynamic(()=>import('./components/GloColorSwatchvariantImage.js'), {
442
+ ssr: false,
443
+ loading: Loading
444
+ });
445
+ const BfSizeChartSizeGuide = dynamic(()=>import('./components/BfSizeChartSizeGuide.js'), {
446
+ ssr: false,
447
+ loading: Loading
448
+ });
449
+ const AlsoBoughtCbb = dynamic(()=>import('./components/AlsoBoughtCbb.js'), {
450
+ ssr: false,
451
+ loading: Loading
452
+ });
453
+ const HextomFreeShippingBar = dynamic(()=>import('./components/HextomFreeShippingBar.js'), {
454
+ ssr: false,
455
+ loading: Loading
456
+ });
417
457
  var thirdParty = {
458
+ EstimatedDeliveryDatePlus,
459
+ OkendoReviewsLoyalty,
460
+ EssentialAnnouncementBar,
461
+ EssentialCountdownTimerBar,
462
+ StellarDeliveryDatePickup,
418
463
  TrustshopProductReviews,
419
464
  HulkProductOptions,
420
465
  TrustreviewsProductReviews,
@@ -517,7 +562,12 @@ var thirdParty = {
517
562
  BirdChime,
518
563
  FordeerProductLabels,
519
564
  HextomCountdownTimerBar,
520
- TrustBadgesBear
565
+ TrustBadgesBear,
566
+ TrustedsiteTrustBadges,
567
+ GloColorSwatchvariantImage,
568
+ BfSizeChartSizeGuide,
569
+ AlsoBoughtCbb,
570
+ HextomFreeShippingBar
521
571
  };
522
572
 
523
573
  export { thirdParty as default };