@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
@@ -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 };
@@ -0,0 +1,123 @@
1
+ import AppConfig from '../configs/AlsoBoughtCbb.js';
2
+
3
+ const config = {
4
+ tag: AppConfig.tag,
5
+ label: AppConfig.label,
6
+ 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">',
7
+ editorConfigs: {
8
+ placeholder: {
9
+ flowPage: 'GP_PRODUCT'
10
+ },
11
+ component: {
12
+ isThirdParty: true
13
+ }
14
+ },
15
+ presets: [
16
+ {
17
+ id: AppConfig.id,
18
+ name: {
19
+ en: AppConfig.label
20
+ },
21
+ hideTextContent: true,
22
+ icon: {
23
+ desktop: `<div class="w-full flex flex-col items-center">
24
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png">
25
+ <span class="preset-item-title">Also Bought • CBB</span>
26
+ </div>`
27
+ },
28
+ components: [
29
+ {
30
+ tag: AppConfig.tag
31
+ }
32
+ ]
33
+ }
34
+ ],
35
+ settings: [
36
+ {
37
+ id: 'setting',
38
+ controls: [
39
+ {
40
+ id: 'install',
41
+ type: 'open-link',
42
+ target: '_blank',
43
+ linkType: 'install',
44
+ href: 'https://apps.shopify.com/also-bought?utm_source=gempages',
45
+ appName: AppConfig.label
46
+ },
47
+ {
48
+ id: 'openApp',
49
+ type: 'open-link',
50
+ target: '_blank',
51
+ linkType: 'openApp',
52
+ href: 'https://admin.shopify.com/?redirect=/apps/also-bought',
53
+ appName: AppConfig.label
54
+ },
55
+ {
56
+ id: 'guideId',
57
+ type: 'group'
58
+ },
59
+ {
60
+ id: 'align',
61
+ label: 'Alignment',
62
+ type: 'segment',
63
+ options: [
64
+ {
65
+ label: 'Left',
66
+ value: 'left',
67
+ type: 'align'
68
+ },
69
+ {
70
+ label: 'Center',
71
+ value: 'center',
72
+ type: 'align'
73
+ },
74
+ {
75
+ label: 'Right',
76
+ value: 'right',
77
+ type: 'align'
78
+ }
79
+ ],
80
+ devices: {
81
+ desktop: {
82
+ default: 'left'
83
+ }
84
+ }
85
+ }
86
+ ]
87
+ }
88
+ ],
89
+ ui: [
90
+ {
91
+ type: 'control',
92
+ setting: {
93
+ id: 'install'
94
+ }
95
+ },
96
+ {
97
+ type: 'control',
98
+ info: {
99
+ 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>'
100
+ },
101
+ setting: {
102
+ id: 'guideId'
103
+ }
104
+ },
105
+ {
106
+ type: 'control',
107
+ setting: {
108
+ id: 'openApp'
109
+ }
110
+ },
111
+ {
112
+ type: 'control',
113
+ label: {
114
+ en: 'Align'
115
+ },
116
+ setting: {
117
+ id: 'align'
118
+ }
119
+ }
120
+ ]
121
+ };
122
+
123
+ export { config as default };
@@ -0,0 +1,127 @@
1
+ import AppConfig from '../configs/BfSizeChartSizeGuide.js';
2
+
3
+ const config = {
4
+ tag: AppConfig.tag,
5
+ label: AppConfig.label,
6
+ 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">',
7
+ editorConfigs: {
8
+ placeholder: {
9
+ flowPage: 'GP_PRODUCT'
10
+ },
11
+ component: {
12
+ isThirdParty: true
13
+ }
14
+ },
15
+ presets: [
16
+ {
17
+ id: AppConfig.id,
18
+ name: {
19
+ en: AppConfig.label
20
+ },
21
+ hideTextContent: true,
22
+ icon: {
23
+ desktop: `<div class="w-full flex flex-col items-center">
24
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png">
25
+ <span class="preset-item-title">BF Size Chart & Size Guide</span>
26
+ </div>`
27
+ },
28
+ components: [
29
+ {
30
+ tag: AppConfig.tag
31
+ }
32
+ ]
33
+ }
34
+ ],
35
+ settings: [
36
+ {
37
+ id: 'setting',
38
+ controls: [
39
+ {
40
+ id: 'appBlockId',
41
+ type: 'input',
42
+ default: ''
43
+ },
44
+ {
45
+ id: 'widgetType',
46
+ label: 'Choose widget',
47
+ type: 'select',
48
+ options: [
49
+ {
50
+ label: 'Block',
51
+ value: 'block'
52
+ }
53
+ ],
54
+ default: 'block'
55
+ },
56
+ {
57
+ id: 'install',
58
+ type: 'open-link',
59
+ target: '_blank',
60
+ linkType: 'install',
61
+ href: 'https://apps.shopify.com/best-fit-size-charts-size-guides?utm_source=gempages',
62
+ appName: AppConfig.label
63
+ },
64
+ {
65
+ id: 'openApp',
66
+ type: 'open-link',
67
+ target: '_blank',
68
+ linkType: 'openApp',
69
+ href: 'https://admin.shopify.com/?redirect=/apps/size-charts-by-relentless',
70
+ appName: AppConfig.label
71
+ },
72
+ {
73
+ id: 'align',
74
+ label: 'Alignment',
75
+ type: 'segment',
76
+ options: [
77
+ {
78
+ label: 'Left',
79
+ value: 'left',
80
+ type: 'align'
81
+ },
82
+ {
83
+ label: 'Center',
84
+ value: 'center',
85
+ type: 'align'
86
+ },
87
+ {
88
+ label: 'Right',
89
+ value: 'right',
90
+ type: 'align'
91
+ }
92
+ ],
93
+ devices: {
94
+ desktop: {
95
+ default: 'left'
96
+ }
97
+ }
98
+ }
99
+ ]
100
+ }
101
+ ],
102
+ ui: [
103
+ {
104
+ type: 'control',
105
+ setting: {
106
+ id: 'install'
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
+ export { config as default };
@@ -0,0 +1,138 @@
1
+ import AppConfig from '../configs/EssentialAnnouncementBar.js';
2
+
3
+ const config = {
4
+ tag: AppConfig.tag,
5
+ label: AppConfig.label,
6
+ 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">',
7
+ editorConfigs: {
8
+ component: {
9
+ isThirdParty: true
10
+ }
11
+ },
12
+ presets: [
13
+ {
14
+ id: AppConfig.id,
15
+ name: {
16
+ en: AppConfig.label
17
+ },
18
+ hideTextContent: true,
19
+ icon: {
20
+ desktop: `<div class="w-full flex flex-col items-center">
21
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/15e8255158a042a1eab34a4c45c72aa5/icon/CMK1jPv9uoADEAE=.png">
22
+ <span class="preset-item-title">Essential Announcement Bar</span>
23
+ </div>`
24
+ },
25
+ components: [
26
+ {
27
+ tag: AppConfig.tag
28
+ }
29
+ ]
30
+ }
31
+ ],
32
+ settings: [
33
+ {
34
+ id: 'setting',
35
+ controls: [
36
+ {
37
+ id: 'appBlockId',
38
+ type: 'input',
39
+ default: ''
40
+ },
41
+ {
42
+ id: 'widgetType',
43
+ label: 'Choose widget',
44
+ type: 'select',
45
+ options: [
46
+ {
47
+ label: 'App Block',
48
+ value: 'app-block'
49
+ }
50
+ ],
51
+ default: 'app-block'
52
+ },
53
+ {
54
+ id: 'install',
55
+ type: 'open-link',
56
+ target: '_blank',
57
+ linkType: 'install',
58
+ href: 'https://apps.shopify.com/essential-announcement-bar?utm_source=gempages',
59
+ appName: AppConfig.label
60
+ },
61
+ {
62
+ id: 'announcementId',
63
+ type: 'input',
64
+ default: ''
65
+ },
66
+ {
67
+ id: 'openApp',
68
+ type: 'open-link',
69
+ target: '_blank',
70
+ linkType: 'openApp',
71
+ href: 'https://admin.shopify.com/?redirect=/apps/essential-announcement-bar',
72
+ appName: AppConfig.label
73
+ },
74
+ {
75
+ id: 'align',
76
+ label: 'Alignment',
77
+ type: 'segment',
78
+ options: [
79
+ {
80
+ label: 'Left',
81
+ value: 'left',
82
+ type: 'align'
83
+ },
84
+ {
85
+ label: 'Center',
86
+ value: 'center',
87
+ type: 'align'
88
+ },
89
+ {
90
+ label: 'Right',
91
+ value: 'right',
92
+ type: 'align'
93
+ }
94
+ ],
95
+ devices: {
96
+ desktop: {
97
+ default: 'left'
98
+ }
99
+ }
100
+ }
101
+ ]
102
+ }
103
+ ],
104
+ ui: [
105
+ {
106
+ type: 'control',
107
+ setting: {
108
+ id: 'install'
109
+ }
110
+ },
111
+ {
112
+ type: 'control',
113
+ label: {
114
+ en: 'Announcement id'
115
+ },
116
+ setting: {
117
+ id: 'announcementId'
118
+ }
119
+ },
120
+ {
121
+ type: 'control',
122
+ setting: {
123
+ id: 'openApp'
124
+ }
125
+ },
126
+ {
127
+ type: 'control',
128
+ label: {
129
+ en: 'Align'
130
+ },
131
+ setting: {
132
+ id: 'align'
133
+ }
134
+ }
135
+ ]
136
+ };
137
+
138
+ export { config as default };
@@ -0,0 +1,138 @@
1
+ import AppConfig from '../configs/EssentialCountdownTimerBar.js';
2
+
3
+ const config = {
4
+ tag: AppConfig.tag,
5
+ label: AppConfig.label,
6
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/f84bf9e49eca8bd84c2af7488461363b/icon/CPzKxLTD4_UCEAE=.png">',
7
+ editorConfigs: {
8
+ component: {
9
+ isThirdParty: true
10
+ }
11
+ },
12
+ presets: [
13
+ {
14
+ id: AppConfig.id,
15
+ name: {
16
+ en: AppConfig.label
17
+ },
18
+ hideTextContent: true,
19
+ icon: {
20
+ desktop: `<div class="w-full flex flex-col items-center">
21
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/f84bf9e49eca8bd84c2af7488461363b/icon/CPzKxLTD4_UCEAE=.png">
22
+ <span class="preset-item-title">Essential Countdown Timer Bar</span>
23
+ </div>`
24
+ },
25
+ components: [
26
+ {
27
+ tag: AppConfig.tag
28
+ }
29
+ ]
30
+ }
31
+ ],
32
+ settings: [
33
+ {
34
+ id: 'setting',
35
+ controls: [
36
+ {
37
+ id: 'appBlockId',
38
+ type: 'input',
39
+ default: ''
40
+ },
41
+ {
42
+ id: 'widgetType',
43
+ label: 'Choose widget',
44
+ type: 'select',
45
+ options: [
46
+ {
47
+ label: 'App Block',
48
+ value: 'app-block'
49
+ }
50
+ ],
51
+ default: 'app-block'
52
+ },
53
+ {
54
+ id: 'install',
55
+ type: 'open-link',
56
+ target: '_blank',
57
+ linkType: 'install',
58
+ href: 'https://apps.shopify.com/essential-countdown-timer?utm_source=gempages',
59
+ appName: AppConfig.label
60
+ },
61
+ {
62
+ id: 'timerId',
63
+ type: 'input',
64
+ default: ''
65
+ },
66
+ {
67
+ id: 'openApp',
68
+ type: 'open-link',
69
+ target: '_blank',
70
+ linkType: 'openApp',
71
+ href: 'https://admin.shopify.com/?redirect=/apps/countdown-timer-30',
72
+ appName: AppConfig.label
73
+ },
74
+ {
75
+ id: 'align',
76
+ label: 'Alignment',
77
+ type: 'segment',
78
+ options: [
79
+ {
80
+ label: 'Left',
81
+ value: 'left',
82
+ type: 'align'
83
+ },
84
+ {
85
+ label: 'Center',
86
+ value: 'center',
87
+ type: 'align'
88
+ },
89
+ {
90
+ label: 'Right',
91
+ value: 'right',
92
+ type: 'align'
93
+ }
94
+ ],
95
+ devices: {
96
+ desktop: {
97
+ default: 'left'
98
+ }
99
+ }
100
+ }
101
+ ]
102
+ }
103
+ ],
104
+ ui: [
105
+ {
106
+ type: 'control',
107
+ setting: {
108
+ id: 'install'
109
+ }
110
+ },
111
+ {
112
+ type: 'control',
113
+ label: {
114
+ en: 'Timer id'
115
+ },
116
+ setting: {
117
+ id: 'timerId'
118
+ }
119
+ },
120
+ {
121
+ type: 'control',
122
+ setting: {
123
+ id: 'openApp'
124
+ }
125
+ },
126
+ {
127
+ type: 'control',
128
+ label: {
129
+ en: 'Align'
130
+ },
131
+ setting: {
132
+ id: 'align'
133
+ }
134
+ }
135
+ ]
136
+ };
137
+
138
+ export { config as default };