@gem-sdk/components 2.1.13-staging.2 → 2.1.13-staging.21

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 (150) 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 -10
  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/collection/components/CollectionDescription.js +101 -7
  7. package/dist/cjs/collection/components/CollectionDescription.liquid.js +102 -9
  8. package/dist/cjs/collection/setting/CollectionDescription.js +128 -0
  9. package/dist/cjs/common/const.js +1 -1
  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 +22 -3
  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/components/NoDataImage.js +133 -0
  16. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +7 -3
  17. package/dist/cjs/index.js +20 -0
  18. package/dist/cjs/index.liquid.js +22 -2
  19. package/dist/cjs/marquee/components/MarqueeBase.liquid.js +7 -26
  20. package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +2 -9
  21. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
  22. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  23. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  24. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  25. package/dist/cjs/tab/hooks/useTabInteraction.js +13 -9
  26. package/dist/cjs/text/components/Text.js +0 -1
  27. package/dist/cjs/third-party/components/AlsoBoughtCbb.js +32 -0
  28. package/dist/cjs/third-party/components/AlsoBoughtCbb.liquid.js +21 -0
  29. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.js +32 -0
  30. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.liquid.js +12 -0
  31. package/dist/cjs/third-party/components/EssentialAnnouncementBar.js +32 -0
  32. package/dist/cjs/third-party/components/EssentialAnnouncementBar.liquid.js +12 -0
  33. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.js +32 -0
  34. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.liquid.js +12 -0
  35. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +32 -0
  36. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
  37. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.js +32 -0
  38. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.liquid.js +12 -0
  39. package/dist/cjs/third-party/components/HextomFreeShippingBar.js +32 -0
  40. package/dist/cjs/third-party/components/HextomFreeShippingBar.liquid.js +12 -0
  41. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +32 -0
  42. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
  43. package/dist/cjs/third-party/components/QikifyUpsell.liquid.js +3 -46
  44. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.js +32 -0
  45. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.liquid.js +21 -0
  46. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.js +32 -0
  47. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.liquid.js +12 -0
  48. package/dist/cjs/third-party/configs/AlsoBoughtCbb.js +12 -0
  49. package/dist/cjs/third-party/configs/BfSizeChartSizeGuide.js +12 -0
  50. package/dist/cjs/third-party/configs/EssentialAnnouncementBar.js +12 -0
  51. package/dist/cjs/third-party/configs/EssentialCountdownTimerBar.js +12 -0
  52. package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
  53. package/dist/cjs/third-party/configs/GloColorSwatchvariantImage.js +12 -0
  54. package/dist/cjs/third-party/configs/HextomFreeShippingBar.js +12 -0
  55. package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
  56. package/dist/cjs/third-party/configs/StellarDeliveryDatePickup.js +12 -0
  57. package/dist/cjs/third-party/configs/TrustedsiteTrustBadges.js +12 -0
  58. package/dist/cjs/third-party/helpers/thirdParty.js +1 -1
  59. package/dist/cjs/third-party/next.js +51 -1
  60. package/dist/cjs/third-party/setting/AlsoBoughtCbb.js +127 -0
  61. package/dist/cjs/third-party/setting/BfSizeChartSizeGuide.js +131 -0
  62. package/dist/cjs/third-party/setting/EssentialAnnouncementBar.js +142 -0
  63. package/dist/cjs/third-party/setting/EssentialCountdownTimerBar.js +142 -0
  64. package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
  65. package/dist/cjs/third-party/setting/GloColorSwatchvariantImage.js +152 -0
  66. package/dist/cjs/third-party/setting/HextomFreeShippingBar.js +128 -0
  67. package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
  68. package/dist/cjs/third-party/setting/QikifyUpsell.js +11 -1
  69. package/dist/cjs/third-party/setting/StellarDeliveryDatePickup.js +127 -0
  70. package/dist/cjs/third-party/setting/TrustedsiteTrustBadges.js +177 -0
  71. package/dist/cjs/third-party/setting/index.js +21 -1
  72. package/dist/cjs/video/components/HTML5Embed.js +2 -2
  73. package/dist/cjs/video/components/HTML5Embed.liquid.js +6 -3
  74. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +5 -3
  75. package/dist/esm/article/components/ArticleImage.js +2 -1
  76. package/dist/esm/article/components/ArticleList.js +1 -1
  77. package/dist/esm/banner/components/hero-banner/index.liquid.js +12 -10
  78. package/dist/esm/banner/components/hero-banner/utils/index.js +5 -3
  79. package/dist/esm/builder.js +21 -1
  80. package/dist/esm/collection/components/CollectionDescription.js +103 -9
  81. package/dist/esm/collection/components/CollectionDescription.liquid.js +103 -10
  82. package/dist/esm/collection/setting/CollectionDescription.js +128 -0
  83. package/dist/esm/common/const.js +1 -1
  84. package/dist/esm/form/components/textarea/TextArea.liquid.js +2 -2
  85. package/dist/esm/image/components/AdaptiveImage.liquid.js +6 -5
  86. package/dist/esm/image/components/Image.js +23 -4
  87. package/dist/esm/image/components/Image.liquid.js +6 -5
  88. package/dist/esm/image/components/NextImage.liquid.js +4 -3
  89. package/dist/esm/image/components/NoDataImage.js +129 -0
  90. package/dist/esm/image-comparison/components/CompareImage.liquid.js +7 -3
  91. package/dist/esm/index.js +10 -0
  92. package/dist/esm/index.liquid.js +11 -1
  93. package/dist/esm/marquee/components/MarqueeBase.liquid.js +7 -26
  94. package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +2 -9
  95. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
  96. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  97. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  98. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  99. package/dist/esm/tab/hooks/useTabInteraction.js +14 -10
  100. package/dist/esm/text/components/Text.js +0 -1
  101. package/dist/esm/third-party/components/AlsoBoughtCbb.js +28 -0
  102. package/dist/esm/third-party/components/AlsoBoughtCbb.liquid.js +17 -0
  103. package/dist/esm/third-party/components/BfSizeChartSizeGuide.js +28 -0
  104. package/dist/esm/third-party/components/BfSizeChartSizeGuide.liquid.js +8 -0
  105. package/dist/esm/third-party/components/EssentialAnnouncementBar.js +28 -0
  106. package/dist/esm/third-party/components/EssentialAnnouncementBar.liquid.js +8 -0
  107. package/dist/esm/third-party/components/EssentialCountdownTimerBar.js +28 -0
  108. package/dist/esm/third-party/components/EssentialCountdownTimerBar.liquid.js +8 -0
  109. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +28 -0
  110. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
  111. package/dist/esm/third-party/components/GloColorSwatchvariantImage.js +28 -0
  112. package/dist/esm/third-party/components/GloColorSwatchvariantImage.liquid.js +8 -0
  113. package/dist/esm/third-party/components/HextomFreeShippingBar.js +28 -0
  114. package/dist/esm/third-party/components/HextomFreeShippingBar.liquid.js +8 -0
  115. package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +28 -0
  116. package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
  117. package/dist/esm/third-party/components/QikifyUpsell.liquid.js +3 -46
  118. package/dist/esm/third-party/components/StellarDeliveryDatePickup.js +28 -0
  119. package/dist/esm/third-party/components/StellarDeliveryDatePickup.liquid.js +17 -0
  120. package/dist/esm/third-party/components/TrustedsiteTrustBadges.js +28 -0
  121. package/dist/esm/third-party/components/TrustedsiteTrustBadges.liquid.js +8 -0
  122. package/dist/esm/third-party/configs/AlsoBoughtCbb.js +8 -0
  123. package/dist/esm/third-party/configs/BfSizeChartSizeGuide.js +8 -0
  124. package/dist/esm/third-party/configs/EssentialAnnouncementBar.js +8 -0
  125. package/dist/esm/third-party/configs/EssentialCountdownTimerBar.js +8 -0
  126. package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
  127. package/dist/esm/third-party/configs/GloColorSwatchvariantImage.js +8 -0
  128. package/dist/esm/third-party/configs/HextomFreeShippingBar.js +8 -0
  129. package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
  130. package/dist/esm/third-party/configs/StellarDeliveryDatePickup.js +8 -0
  131. package/dist/esm/third-party/configs/TrustedsiteTrustBadges.js +8 -0
  132. package/dist/esm/third-party/helpers/thirdParty.js +1 -1
  133. package/dist/esm/third-party/next.js +51 -1
  134. package/dist/esm/third-party/setting/AlsoBoughtCbb.js +123 -0
  135. package/dist/esm/third-party/setting/BfSizeChartSizeGuide.js +127 -0
  136. package/dist/esm/third-party/setting/EssentialAnnouncementBar.js +138 -0
  137. package/dist/esm/third-party/setting/EssentialCountdownTimerBar.js +138 -0
  138. package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
  139. package/dist/esm/third-party/setting/GloColorSwatchvariantImage.js +148 -0
  140. package/dist/esm/third-party/setting/HextomFreeShippingBar.js +124 -0
  141. package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
  142. package/dist/esm/third-party/setting/QikifyUpsell.js +11 -1
  143. package/dist/esm/third-party/setting/StellarDeliveryDatePickup.js +123 -0
  144. package/dist/esm/third-party/setting/TrustedsiteTrustBadges.js +173 -0
  145. package/dist/esm/third-party/setting/index.js +224 -204
  146. package/dist/esm/video/components/HTML5Embed.js +2 -2
  147. package/dist/esm/video/components/HTML5Embed.liquid.js +6 -3
  148. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +5 -3
  149. package/dist/types/index.d.ts +184 -8
  150. package/package.json +2 -2
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'estimated-delivery-date-plus',
7
+ label: 'Estimated Delivery Date ‑ Plus',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.jpeg',
9
+ tag: 'EstimatedDeliveryDatePlus'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'glo-color-swatchvariant-image',
7
+ label: 'GLO Color Swatch,Variant Image',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/9995b073cfe955d98eb8e9961e8dd7be/icon/CM-Kw8-05_4CEAE=.png',
9
+ tag: 'GloColorSwatchvariantImage'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'hextom-free-shipping-bar',
7
+ label: 'Hextom: Free Shipping Bar',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/635cce572624d1086ac37403cf25b5ee/icon/CMuP4OXt54YDEAE=.png',
9
+ tag: 'HextomFreeShippingBar'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'okendo-reviews-loyalty',
7
+ label: 'Okendo: Reviews & Loyalty',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png',
9
+ tag: 'OkendoReviewsLoyalty'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'stellar-delivery-date-pickup',
7
+ label: 'Stellar Delivery Date & Pickup',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/568eee7424b5f70382db5178dd815f6a/icon/CMTw3rn0lu8CEAE=.jpg',
9
+ tag: 'StellarDeliveryDatePickup'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'trustedsite-trust-badges',
7
+ label: 'TrustedSite ‑ Trust Badges',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/38fdc008d044b95511d73b59ae0cc83f/icon/CIX8yLf0lu8CEAE=.png',
9
+ tag: 'TrustedsiteTrustBadges'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -39,7 +39,7 @@ const getLiquidForAppBlock = (appBlockId, align, cssClass)=>{
39
39
  <div
40
40
  class="gp-flex gp-w-full gp-items-center ${cssClass}"
41
41
  style="${{
42
- ...core.makeStyleResponsive('ta', align)
42
+ ...core.makeStyleResponsive('jc', align)
43
43
  }}"
44
44
  >
45
45
  {% for block in app_blocks %}
@@ -6,6 +6,26 @@ var dynamic = require('next/dynamic');
6
6
  var Loading = require('../common/components/Loading.js');
7
7
  require('react/jsx-runtime');
8
8
 
9
+ const EstimatedDeliveryDatePlus = dynamic(()=>Promise.resolve().then(function () { return require('./components/EstimatedDeliveryDatePlus.js'); }), {
10
+ ssr: false,
11
+ loading: Loading.default
12
+ });
13
+ const OkendoReviewsLoyalty = dynamic(()=>Promise.resolve().then(function () { return require('./components/OkendoReviewsLoyalty.js'); }), {
14
+ ssr: false,
15
+ loading: Loading.default
16
+ });
17
+ const EssentialAnnouncementBar = dynamic(()=>Promise.resolve().then(function () { return require('./components/EssentialAnnouncementBar.js'); }), {
18
+ ssr: false,
19
+ loading: Loading.default
20
+ });
21
+ const EssentialCountdownTimerBar = dynamic(()=>Promise.resolve().then(function () { return require('./components/EssentialCountdownTimerBar.js'); }), {
22
+ ssr: false,
23
+ loading: Loading.default
24
+ });
25
+ const StellarDeliveryDatePickup = dynamic(()=>Promise.resolve().then(function () { return require('./components/StellarDeliveryDatePickup.js'); }), {
26
+ ssr: false,
27
+ loading: Loading.default
28
+ });
9
29
  const TrustshopProductReviews = dynamic(()=>Promise.resolve().then(function () { return require('./components/TrustshopProductReviews.js'); }), {
10
30
  ssr: false,
11
31
  loading: Loading.default
@@ -418,7 +438,32 @@ const TrustBadgesBear = dynamic(()=>Promise.resolve().then(function () { return
418
438
  ssr: false,
419
439
  loading: Loading.default
420
440
  });
441
+ const TrustedsiteTrustBadges = dynamic(()=>Promise.resolve().then(function () { return require('./components/TrustedsiteTrustBadges.js'); }), {
442
+ ssr: false,
443
+ loading: Loading.default
444
+ });
445
+ const GloColorSwatchvariantImage = dynamic(()=>Promise.resolve().then(function () { return require('./components/GloColorSwatchvariantImage.js'); }), {
446
+ ssr: false,
447
+ loading: Loading.default
448
+ });
449
+ const BfSizeChartSizeGuide = dynamic(()=>Promise.resolve().then(function () { return require('./components/BfSizeChartSizeGuide.js'); }), {
450
+ ssr: false,
451
+ loading: Loading.default
452
+ });
453
+ const AlsoBoughtCbb = dynamic(()=>Promise.resolve().then(function () { return require('./components/AlsoBoughtCbb.js'); }), {
454
+ ssr: false,
455
+ loading: Loading.default
456
+ });
457
+ const HextomFreeShippingBar = dynamic(()=>Promise.resolve().then(function () { return require('./components/HextomFreeShippingBar.js'); }), {
458
+ ssr: false,
459
+ loading: Loading.default
460
+ });
421
461
  var thirdParty = {
462
+ EstimatedDeliveryDatePlus,
463
+ OkendoReviewsLoyalty,
464
+ EssentialAnnouncementBar,
465
+ EssentialCountdownTimerBar,
466
+ StellarDeliveryDatePickup,
422
467
  TrustshopProductReviews,
423
468
  HulkProductOptions,
424
469
  TrustreviewsProductReviews,
@@ -521,7 +566,12 @@ var thirdParty = {
521
566
  BirdChime,
522
567
  FordeerProductLabels,
523
568
  HextomCountdownTimerBar,
524
- TrustBadgesBear
569
+ TrustBadgesBear,
570
+ TrustedsiteTrustBadges,
571
+ GloColorSwatchvariantImage,
572
+ BfSizeChartSizeGuide,
573
+ AlsoBoughtCbb,
574
+ HextomFreeShippingBar
525
575
  };
526
576
 
527
577
  exports.default = thirdParty;
@@ -0,0 +1,127 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AlsoBoughtCbb = require('../configs/AlsoBoughtCbb.js');
6
+
7
+ const config = {
8
+ tag: AlsoBoughtCbb.default.tag,
9
+ label: AlsoBoughtCbb.default.label,
10
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png">',
11
+ editorConfigs: {
12
+ placeholder: {
13
+ flowPage: 'GP_PRODUCT'
14
+ },
15
+ component: {
16
+ isThirdParty: true
17
+ }
18
+ },
19
+ presets: [
20
+ {
21
+ id: AlsoBoughtCbb.default.id,
22
+ name: {
23
+ en: AlsoBoughtCbb.default.label
24
+ },
25
+ hideTextContent: true,
26
+ icon: {
27
+ desktop: `<div class="w-full flex flex-col items-center">
28
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png">
29
+ <span class="preset-item-title">Also Bought • CBB</span>
30
+ </div>`
31
+ },
32
+ components: [
33
+ {
34
+ tag: AlsoBoughtCbb.default.tag
35
+ }
36
+ ]
37
+ }
38
+ ],
39
+ settings: [
40
+ {
41
+ id: 'setting',
42
+ controls: [
43
+ {
44
+ id: 'install',
45
+ type: 'open-link',
46
+ target: '_blank',
47
+ linkType: 'install',
48
+ href: 'https://apps.shopify.com/also-bought?utm_source=gempages',
49
+ appName: AlsoBoughtCbb.default.label
50
+ },
51
+ {
52
+ id: 'openApp',
53
+ type: 'open-link',
54
+ target: '_blank',
55
+ linkType: 'openApp',
56
+ href: 'https://admin.shopify.com/?redirect=/apps/also-bought',
57
+ appName: AlsoBoughtCbb.default.label
58
+ },
59
+ {
60
+ id: 'guideId',
61
+ type: 'group'
62
+ },
63
+ {
64
+ id: 'align',
65
+ label: 'Alignment',
66
+ type: 'segment',
67
+ options: [
68
+ {
69
+ label: 'Left',
70
+ value: 'left',
71
+ type: 'align'
72
+ },
73
+ {
74
+ label: 'Center',
75
+ value: 'center',
76
+ type: 'align'
77
+ },
78
+ {
79
+ label: 'Right',
80
+ value: 'right',
81
+ type: 'align'
82
+ }
83
+ ],
84
+ devices: {
85
+ desktop: {
86
+ default: 'left'
87
+ }
88
+ }
89
+ }
90
+ ]
91
+ }
92
+ ],
93
+ ui: [
94
+ {
95
+ type: 'control',
96
+ setting: {
97
+ id: 'install'
98
+ }
99
+ },
100
+ {
101
+ type: 'control',
102
+ info: {
103
+ en: '<span>To make this element work, copy the class <strong>.gp-integration-also-bought__position</strong> and paste it into the Widget Location Selector input field in the Custom Location Product Page</span>'
104
+ },
105
+ setting: {
106
+ id: 'guideId'
107
+ }
108
+ },
109
+ {
110
+ type: 'control',
111
+ setting: {
112
+ id: 'openApp'
113
+ }
114
+ },
115
+ {
116
+ type: 'control',
117
+ label: {
118
+ en: 'Align'
119
+ },
120
+ setting: {
121
+ id: 'align'
122
+ }
123
+ }
124
+ ]
125
+ };
126
+
127
+ exports.default = config;
@@ -0,0 +1,131 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var BfSizeChartSizeGuide = require('../configs/BfSizeChartSizeGuide.js');
6
+
7
+ const config = {
8
+ tag: BfSizeChartSizeGuide.default.tag,
9
+ label: BfSizeChartSizeGuide.default.label,
10
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png">',
11
+ editorConfigs: {
12
+ placeholder: {
13
+ flowPage: 'GP_PRODUCT'
14
+ },
15
+ component: {
16
+ isThirdParty: true
17
+ }
18
+ },
19
+ presets: [
20
+ {
21
+ id: BfSizeChartSizeGuide.default.id,
22
+ name: {
23
+ en: BfSizeChartSizeGuide.default.label
24
+ },
25
+ hideTextContent: true,
26
+ icon: {
27
+ desktop: `<div class="w-full flex flex-col items-center">
28
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png">
29
+ <span class="preset-item-title">BF Size Chart & Size Guide</span>
30
+ </div>`
31
+ },
32
+ components: [
33
+ {
34
+ tag: BfSizeChartSizeGuide.default.tag
35
+ }
36
+ ]
37
+ }
38
+ ],
39
+ settings: [
40
+ {
41
+ id: 'setting',
42
+ controls: [
43
+ {
44
+ id: 'appBlockId',
45
+ type: 'input',
46
+ default: ''
47
+ },
48
+ {
49
+ id: 'widgetType',
50
+ label: 'Choose widget',
51
+ type: 'select',
52
+ options: [
53
+ {
54
+ label: 'Block',
55
+ value: 'block'
56
+ }
57
+ ],
58
+ default: 'block'
59
+ },
60
+ {
61
+ id: 'install',
62
+ type: 'open-link',
63
+ target: '_blank',
64
+ linkType: 'install',
65
+ href: 'https://apps.shopify.com/best-fit-size-charts-size-guides?utm_source=gempages',
66
+ appName: BfSizeChartSizeGuide.default.label
67
+ },
68
+ {
69
+ id: 'openApp',
70
+ type: 'open-link',
71
+ target: '_blank',
72
+ linkType: 'openApp',
73
+ href: 'https://admin.shopify.com/?redirect=/apps/size-charts-by-relentless',
74
+ appName: BfSizeChartSizeGuide.default.label
75
+ },
76
+ {
77
+ id: 'align',
78
+ label: 'Alignment',
79
+ type: 'segment',
80
+ options: [
81
+ {
82
+ label: 'Left',
83
+ value: 'left',
84
+ type: 'align'
85
+ },
86
+ {
87
+ label: 'Center',
88
+ value: 'center',
89
+ type: 'align'
90
+ },
91
+ {
92
+ label: 'Right',
93
+ value: 'right',
94
+ type: 'align'
95
+ }
96
+ ],
97
+ devices: {
98
+ desktop: {
99
+ default: 'left'
100
+ }
101
+ }
102
+ }
103
+ ]
104
+ }
105
+ ],
106
+ ui: [
107
+ {
108
+ type: 'control',
109
+ setting: {
110
+ id: 'install'
111
+ }
112
+ },
113
+ {
114
+ type: 'control',
115
+ setting: {
116
+ id: 'openApp'
117
+ }
118
+ },
119
+ {
120
+ type: 'control',
121
+ label: {
122
+ en: 'Align'
123
+ },
124
+ setting: {
125
+ id: 'align'
126
+ }
127
+ }
128
+ ]
129
+ };
130
+
131
+ exports.default = config;
@@ -0,0 +1,142 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var EssentialAnnouncementBar = require('../configs/EssentialAnnouncementBar.js');
6
+
7
+ const config = {
8
+ tag: EssentialAnnouncementBar.default.tag,
9
+ label: EssentialAnnouncementBar.default.label,
10
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/15e8255158a042a1eab34a4c45c72aa5/icon/CMK1jPv9uoADEAE=.png">',
11
+ editorConfigs: {
12
+ component: {
13
+ isThirdParty: true
14
+ }
15
+ },
16
+ presets: [
17
+ {
18
+ id: EssentialAnnouncementBar.default.id,
19
+ name: {
20
+ en: EssentialAnnouncementBar.default.label
21
+ },
22
+ hideTextContent: true,
23
+ icon: {
24
+ desktop: `<div class="w-full flex flex-col items-center">
25
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/15e8255158a042a1eab34a4c45c72aa5/icon/CMK1jPv9uoADEAE=.png">
26
+ <span class="preset-item-title">Essential Announcement Bar</span>
27
+ </div>`
28
+ },
29
+ components: [
30
+ {
31
+ tag: EssentialAnnouncementBar.default.tag
32
+ }
33
+ ]
34
+ }
35
+ ],
36
+ settings: [
37
+ {
38
+ id: 'setting',
39
+ controls: [
40
+ {
41
+ id: 'appBlockId',
42
+ type: 'input',
43
+ default: ''
44
+ },
45
+ {
46
+ id: 'widgetType',
47
+ label: 'Choose widget',
48
+ type: 'select',
49
+ options: [
50
+ {
51
+ label: 'App Block',
52
+ value: 'app-block'
53
+ }
54
+ ],
55
+ default: 'app-block'
56
+ },
57
+ {
58
+ id: 'install',
59
+ type: 'open-link',
60
+ target: '_blank',
61
+ linkType: 'install',
62
+ href: 'https://apps.shopify.com/essential-announcement-bar?utm_source=gempages',
63
+ appName: EssentialAnnouncementBar.default.label
64
+ },
65
+ {
66
+ id: 'announcementId',
67
+ type: 'input',
68
+ default: ''
69
+ },
70
+ {
71
+ id: 'openApp',
72
+ type: 'open-link',
73
+ target: '_blank',
74
+ linkType: 'openApp',
75
+ href: 'https://admin.shopify.com/?redirect=/apps/essential-announcement-bar',
76
+ appName: EssentialAnnouncementBar.default.label
77
+ },
78
+ {
79
+ id: 'align',
80
+ label: 'Alignment',
81
+ type: 'segment',
82
+ options: [
83
+ {
84
+ label: 'Left',
85
+ value: 'left',
86
+ type: 'align'
87
+ },
88
+ {
89
+ label: 'Center',
90
+ value: 'center',
91
+ type: 'align'
92
+ },
93
+ {
94
+ label: 'Right',
95
+ value: 'right',
96
+ type: 'align'
97
+ }
98
+ ],
99
+ devices: {
100
+ desktop: {
101
+ default: 'left'
102
+ }
103
+ }
104
+ }
105
+ ]
106
+ }
107
+ ],
108
+ ui: [
109
+ {
110
+ type: 'control',
111
+ setting: {
112
+ id: 'install'
113
+ }
114
+ },
115
+ {
116
+ type: 'control',
117
+ label: {
118
+ en: 'Announcement id'
119
+ },
120
+ setting: {
121
+ id: 'announcementId'
122
+ }
123
+ },
124
+ {
125
+ type: 'control',
126
+ setting: {
127
+ id: 'openApp'
128
+ }
129
+ },
130
+ {
131
+ type: 'control',
132
+ label: {
133
+ en: 'Align'
134
+ },
135
+ setting: {
136
+ id: 'align'
137
+ }
138
+ }
139
+ ]
140
+ };
141
+
142
+ exports.default = config;