@gem-sdk/components 2.0.0-dev.330 → 2.0.0-dev.332

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.
@@ -28,7 +28,7 @@ const HeroBannerItem = (props)=>{
28
28
  ...getStyle.getContainerStyle(styles, setting)
29
29
  });
30
30
  const containerClasses = system.createClass({
31
- ...getClasses.getContainerClasses(setting)
31
+ ...getClasses.getContainerClasses(setting, styles)
32
32
  });
33
33
  const overlayStyle = system.createStyle({
34
34
  ...getStyle.getOverlayStyle(styles)
@@ -53,8 +53,8 @@ const getOverlayStyle = (styles)=>{
53
53
  const composeStyles = {
54
54
  ...core.getGlobalColorStateStyle('bgc', overlayColor),
55
55
  ...core.makeStyleState('op', overlayOpacity),
56
- '--top': 0,
57
- '--left': 0
56
+ '--top': '0',
57
+ '--left': '0'
58
58
  };
59
59
  return filterTruthyStyles(composeStyles);
60
60
  };
@@ -51,7 +51,7 @@ const heroBannerContentLeft = {
51
51
  sizeSetting: {
52
52
  desktop: {
53
53
  shape: 'original',
54
- widthHeightLinked: true,
54
+ widthHeightLinked: false,
55
55
  width: '100%'
56
56
  },
57
57
  mobile: {
@@ -60,7 +60,7 @@ const heroBannerContentRight = {
60
60
  sizeSetting: {
61
61
  desktop: {
62
62
  shape: 'original',
63
- widthHeightLinked: true,
63
+ widthHeightLinked: false,
64
64
  width: '100%'
65
65
  },
66
66
  mobile: {
@@ -18,6 +18,123 @@ const SettingsV2 = [
18
18
  }
19
19
  }
20
20
  },
21
+ {
22
+ id: 'verticalAlign',
23
+ type: 'segment',
24
+ options: [
25
+ {
26
+ label: 'Start',
27
+ value: 'start',
28
+ icon: `<svg
29
+ xmlns="http://www.w3.org/2000/svg"
30
+ width="20"
31
+ height="20"
32
+ viewBox="0 0 20 20"
33
+ fill="none"
34
+ >
35
+ <path
36
+ d="M18.75 2.8125C18.75 3.15768 18.4702 3.4375 18.125 3.4375L1.875 3.4375C1.52982 3.4375 1.25 3.15768 1.25 2.8125C1.25 2.46732 1.52982 2.1875 1.875 2.1875L18.125 2.1875C18.4702 2.1875 18.75 2.46732 18.75 2.8125Z"
37
+ fill="currentColor"
38
+ />
39
+ <path
40
+ fill-rule="evenodd"
41
+ clip-rule="evenodd"
42
+ d="M13.75 4.0625C14.7855 4.0625 15.625 4.90197 15.625 5.9375L15.625 12.1875C15.625 13.223 14.7855 14.0625 13.75 14.0625L12.5 14.0625C11.4645 14.0625 10.625 13.223 10.625 12.1875L10.625 5.9375C10.625 4.90197 11.4645 4.0625 12.5 4.0625L13.75 4.0625ZM14.375 5.9375C14.375 5.59232 14.0952 5.3125 13.75 5.3125L12.5 5.3125C12.1548 5.3125 11.875 5.59232 11.875 5.9375L11.875 12.1875C11.875 12.5327 12.1548 12.8125 12.5 12.8125L13.75 12.8125C14.0952 12.8125 14.375 12.5327 14.375 12.1875L14.375 5.9375Z"
43
+ fill="currentColor"
44
+ />
45
+ <path
46
+ fill-rule="evenodd"
47
+ clip-rule="evenodd"
48
+ d="M9.375 5.9375C9.375 4.90197 8.53553 4.0625 7.5 4.0625L6.25 4.0625C5.21447 4.0625 4.375 4.90197 4.375 5.9375L4.375 15.9375C4.375 16.973 5.21447 17.8125 6.25 17.8125L7.5 17.8125C8.53553 17.8125 9.375 16.973 9.375 15.9375L9.375 5.9375ZM7.5 5.3125C7.84518 5.3125 8.125 5.59232 8.125 5.9375L8.125 15.9375C8.125 16.2827 7.84518 16.5625 7.5 16.5625L6.25 16.5625C5.90482 16.5625 5.625 16.2827 5.625 15.9375L5.625 5.9375C5.625 5.59232 5.90482 5.3125 6.25 5.3125L7.5 5.3125Z"
49
+ fill="currentColor"
50
+ />
51
+ </svg> `
52
+ },
53
+ {
54
+ label: 'Center',
55
+ value: 'center',
56
+ icon: `<svg
57
+ xmlns="http://www.w3.org/2000/svg"
58
+ width="20"
59
+ height="20"
60
+ viewBox="0 0 20 20"
61
+ fill="none"
62
+ >
63
+ <path
64
+ fill-rule="evenodd"
65
+ clip-rule="evenodd"
66
+ d="M18.125 10.625C18.125 10.9702 17.8652 11.25 17.5446 11.25L15.2232 11.25L15.2232 13.75C15.2232 14.7855 14.4437 15.625 13.4821 15.625L12.3214 15.625C11.3599 15.625 10.5804 14.7855 10.5804 13.75L10.5804 11.25L9.41964 11.25L9.41964 15.625C9.41964 16.6605 8.64014 17.5 7.67857 17.5L6.51786 17.5C5.55629 17.5 4.77679 16.6605 4.77679 15.625L4.77679 11.25L2.45536 11.25C2.13484 11.25 1.875 10.9702 1.875 10.625C1.875 10.2798 2.13484 10 2.45536 10L4.77679 10L4.77679 5.625C4.77679 4.58947 5.55629 3.75 6.51786 3.75L7.67857 3.75C8.64014 3.75 9.41964 4.58947 9.41964 5.625L9.41964 10L10.5804 10L10.5804 7.5C10.5804 6.46447 11.3599 5.625 12.3214 5.625L13.4821 5.625C14.4437 5.625 15.2232 6.46447 15.2232 7.5L15.2232 10L17.5446 10C17.8652 10 18.125 10.2798 18.125 10.625ZM5.9375 15.625C5.9375 15.9702 6.19734 16.25 6.51786 16.25L7.67857 16.25C7.99909 16.25 8.25893 15.9702 8.25893 15.625L8.25893 5.625C8.25893 5.27982 7.99909 5 7.67857 5L6.51786 5C6.19734 5 5.9375 5.27982 5.9375 5.625L5.9375 15.625ZM11.7411 13.75L11.7411 7.5C11.7411 7.15482 12.0009 6.875 12.3214 6.875L13.4821 6.875C13.8027 6.875 14.0625 7.15482 14.0625 7.5L14.0625 13.75C14.0625 14.0952 13.8027 14.375 13.4821 14.375L12.3214 14.375C12.0009 14.375 11.7411 14.0952 11.7411 13.75Z"
67
+ fill="currentColor"
68
+ />
69
+ </svg> `
70
+ },
71
+ {
72
+ label: 'End',
73
+ value: 'end',
74
+ icon: `<svg
75
+ xmlns="http://www.w3.org/2000/svg"
76
+ width="20"
77
+ height="20"
78
+ viewBox="0 0 20 20"
79
+ fill="none"
80
+ >
81
+ <path
82
+ d="M1.25 17.8125C1.25 17.4673 1.52982 17.1875 1.875 17.1875L18.125 17.1875C18.4702 17.1875 18.75 17.4673 18.75 17.8125C18.75 18.1577 18.4702 18.4375 18.125 18.4375L1.875 18.4375C1.52982 18.4375 1.25 18.1577 1.25 17.8125Z"
83
+ fill="currentColor"
84
+ />
85
+ <path
86
+ fill-rule="evenodd"
87
+ clip-rule="evenodd"
88
+ d="M6.25 16.5625C5.21447 16.5625 4.375 15.723 4.375 14.6875L4.375 8.4375C4.375 7.40196 5.21447 6.5625 6.25 6.5625L7.5 6.5625C8.53553 6.5625 9.375 7.40197 9.375 8.4375L9.375 14.6875C9.375 15.723 8.53553 16.5625 7.5 16.5625L6.25 16.5625ZM5.625 14.6875C5.625 15.0327 5.90482 15.3125 6.25 15.3125L7.5 15.3125C7.84518 15.3125 8.125 15.0327 8.125 14.6875L8.125 8.4375C8.125 8.09232 7.84518 7.8125 7.5 7.8125L6.25 7.8125C5.90482 7.8125 5.625 8.09232 5.625 8.4375L5.625 14.6875Z"
89
+ fill="currentColor"
90
+ />
91
+ <path
92
+ fill-rule="evenodd"
93
+ clip-rule="evenodd"
94
+ d="M10.625 14.6875C10.625 15.723 11.4645 16.5625 12.5 16.5625L13.75 16.5625C14.7855 16.5625 15.625 15.723 15.625 14.6875L15.625 4.6875C15.625 3.65196 14.7855 2.8125 13.75 2.8125L12.5 2.8125C11.4645 2.8125 10.625 3.65197 10.625 4.6875L10.625 14.6875ZM12.5 15.3125C12.1548 15.3125 11.875 15.0327 11.875 14.6875L11.875 4.6875C11.875 4.34232 12.1548 4.0625 12.5 4.0625L13.75 4.0625C14.0952 4.0625 14.375 4.34232 14.375 4.6875L14.375 14.6875C14.375 15.0327 14.0952 15.3125 13.75 15.3125L12.5 15.3125Z"
95
+ fill="currentColor"
96
+ />
97
+ </svg> `
98
+ },
99
+ {
100
+ label: 'Between',
101
+ value: 'space-between',
102
+ icon: `<svg
103
+ xmlns="http://www.w3.org/2000/svg"
104
+ width="20"
105
+ height="20"
106
+ viewBox="0 0 20 20"
107
+ fill="none"
108
+ >
109
+ <path
110
+ d="M1.87891 1.22485C1.53373 1.22485 1.25391 1.50468 1.25391 1.84985C1.25391 2.19503 1.53373 2.47485 1.87891 2.47485L18.1298 2.47485C18.475 2.47485 18.7548 2.19503 18.7548 1.84985C18.7548 1.50468 18.475 1.22485 18.1298 1.22485H1.87891Z"
111
+ fill="currentColor"
112
+ />
113
+ <path
114
+ d="M1.93433 17.5249C1.58915 17.5249 1.30933 17.8047 1.30933 18.1499C1.30933 18.4951 1.58915 18.7749 1.93433 18.7749L18.1852 18.7749C18.5304 18.7749 18.8102 18.4951 18.8102 18.1499C18.8102 17.8047 18.5304 17.5249 18.1852 17.5249L1.93433 17.5249Z"
115
+ fill="currentColor"
116
+ />
117
+ <path
118
+ fill-rule="evenodd"
119
+ clip-rule="evenodd"
120
+ d="M2.875 6.375C2.875 5.33947 3.71447 4.5 4.75 4.5H15.25C16.2855 4.5 17.125 5.33947 17.125 6.375V6.875C17.125 7.91053 16.2855 8.75 15.25 8.75H4.75C3.71447 8.75 2.875 7.91053 2.875 6.875V6.375ZM4.75 5.75C4.40482 5.75 4.125 6.02982 4.125 6.375V6.875C4.125 7.22018 4.40482 7.5 4.75 7.5H15.25C15.5952 7.5 15.875 7.22018 15.875 6.875V6.375C15.875 6.02982 15.5952 5.75 15.25 5.75H4.75Z"
121
+ fill="currentColor"
122
+ />
123
+ <path
124
+ fill-rule="evenodd"
125
+ clip-rule="evenodd"
126
+ d="M4.75 11.25C3.71447 11.25 2.875 12.0895 2.875 13.125V13.625C2.875 14.6605 3.71447 15.5 4.75 15.5H15.25C16.2855 15.5 17.125 14.6605 17.125 13.625V13.125C17.125 12.0895 16.2855 11.25 15.25 11.25H4.75ZM4.125 13.125C4.125 12.7798 4.40482 12.5 4.75 12.5H15.25C15.5952 12.5 15.875 12.7798 15.875 13.125V13.625C15.875 13.9702 15.5952 14.25 15.25 14.25H4.75C4.40482 14.25 4.125 13.9702 4.125 13.625V13.125Z"
127
+ fill="currentColor"
128
+ />
129
+ </svg> `
130
+ }
131
+ ],
132
+ devices: {
133
+ desktop: {
134
+ default: 'center'
135
+ }
136
+ }
137
+ },
21
138
  {
22
139
  id: 'preload',
23
140
  type: 'toggle',
@@ -31,11 +31,12 @@ const SettingUIV2 = [
31
31
  en: 'Overlay'
32
32
  },
33
33
  type: 'combo',
34
- getValueFromSettingID: 'overlayColor',
34
+ comboType: 'color',
35
+ getValueFromSettingID: 'overlayColor.normal',
35
36
  controls: [
36
37
  {
37
38
  setting: {
38
- id: 'overlayColor.normal',
39
+ id: 'overlayColor',
39
40
  state: 'normal'
40
41
  },
41
42
  label: {
@@ -147,17 +148,9 @@ const SettingUIV2 = [
147
148
  en: 'Align'
148
149
  },
149
150
  setting: {
150
- id: 'contentPosition1Col'
151
- }
152
- },
153
- {
154
- label: {
155
- en: 'Align'
156
- },
157
- setting: {
158
- id: 'contentPosition1Col'
151
+ id: 'verticalAlign'
159
152
  },
160
- conditionDisplay: 'false'
153
+ conditionEnable: 'layout.cols.length > 1'
161
154
  }
162
155
  ]
163
156
  },
@@ -215,13 +208,16 @@ const SettingUIV2 = [
215
208
  en: 'Overlay'
216
209
  },
217
210
  type: 'combo',
218
- getValueFromSettingID: 'overlayColor',
211
+ comboType: 'color',
212
+ getValueFromSettingID: 'overlayColor.hover',
213
+ defaultValueWhenClear: '#121212',
219
214
  controls: [
220
215
  {
221
216
  setting: {
222
- id: 'overlayColor.hover',
217
+ id: 'overlayColor',
223
218
  state: 'hover'
224
219
  },
220
+ defaultValueWhenClear: '#121212 ',
225
221
  label: {
226
222
  en: 'Color'
227
223
  }
@@ -264,6 +260,7 @@ const SettingUIV2 = [
264
260
  },
265
261
  iconName: 'polaris-star',
266
262
  getValueFromSettingID: 'speedParallax',
263
+ defaultValueWhenClear: 0,
267
264
  controls: [
268
265
  {
269
266
  layout: 'vertical',
package/dist/cjs/index.js CHANGED
@@ -41,19 +41,20 @@ var index$B = require('./post-purchase/image/index.js');
41
41
  var index$C = require('./post-purchase/line/index.js');
42
42
  var index$D = require('./post-purchase/link/index.js');
43
43
  var index$E = require('./post-purchase/text/index.js');
44
- var index$M = require('./product/index.js');
44
+ var index$G = require('./post-purchase/product/index.js');
45
+ var index$O = require('./product/index.js');
45
46
  var Radio = require('./radio/Radio.js');
46
47
  var Radio$1 = require('./radio/setting/Radio.js');
47
48
  var Select$1 = require('./select/setting/Select.js');
48
49
  var Select = require('./select/Select.js');
49
- var index$N = require('./tab/index.js');
50
- var index$O = require('./text/index.js');
50
+ var index$P = require('./tab/index.js');
51
+ var index$Q = require('./text/index.js');
51
52
  var Textarea = require('./textarea/Textarea.js');
52
53
  var Textarea$1 = require('./textarea/setting/Textarea.js');
53
54
  var Video$1 = require('./video/setting/Video.js');
54
55
  var Video = require('./video/components/Video.js');
55
56
  var useInView = require('./intersection-observer/useInView.js');
56
- var index$P = require('./third-party/setting/index.js');
57
+ var index$R = require('./third-party/setting/index.js');
57
58
  var RechargeSubscriptions = require('./third-party/components/RechargeSubscriptions.js');
58
59
  var JudgemeReviews = require('./third-party/components/JudgemeReviews.js');
59
60
  var LooxReviews = require('./third-party/components/LooxReviews.js');
@@ -167,14 +168,13 @@ var BfSizeChartSizeGuide = require('./third-party/components/BfSizeChartSizeGuid
167
168
  var AlsoBoughtCbb = require('./third-party/components/AlsoBoughtCbb.js');
168
169
  var HextomFreeShippingBar = require('./third-party/components/HextomFreeShippingBar.js');
169
170
  var EcoboostifyShoppableReelUgc = require('./third-party/components/EcoboostifyShoppableReelUgc.js');
170
- var index$Q = require('./third-party-instant/index.js');
171
- var index$R = require('./stock-counter/index.js');
172
- var index$S = require('./third-party-slot/setting/index.js');
171
+ var index$S = require('./third-party-instant/index.js');
172
+ var index$T = require('./stock-counter/index.js');
173
+ var index$U = require('./third-party-slot/setting/index.js');
173
174
  var ThirdPartySlot = require('./third-party-slot/components/ThirdPartySlot.js');
174
175
  var ShopPayInstallments$1 = require('./shop-pay-installment/settings/ShopPayInstallments.js');
175
176
  var ShopPayInstallments = require('./shop-pay-installment/components/ShopPayInstallments.js');
176
- var Sticky = require('./sticky/components/Sticky.js');
177
- var Sticky$1 = require('./sticky/setting/Sticky.js');
177
+ var index$V = require('./sticky/index.js');
178
178
  var next = require('./next.js');
179
179
  var index_liquid = require('./index.liquid.js');
180
180
  var builder = require('./builder.js');
@@ -274,23 +274,36 @@ var Image$1 = require('./post-purchase/image/components/Image.js');
274
274
  var PostPurchaseLine = require('./post-purchase/line/components/PostPurchaseLine.js');
275
275
  var PostPurchaseLink = require('./post-purchase/link/components/PostPurchaseLink.js');
276
276
  var Text = require('./post-purchase/text/components/Text.js');
277
+ var ProductPrice = require('./post-purchase/product/components/ProductPrice.js');
278
+ var ProductDescription = require('./post-purchase/product/components/ProductDescription.js');
279
+ var ProductTitle = require('./post-purchase/product/components/ProductTitle.js');
280
+ var ProductVariant = require('./post-purchase/product/components/product-variant/components/ProductVariant.js');
281
+ var AcceptButton = require('./post-purchase/product/components/AcceptButton.js');
282
+ var ProductQuantity = require('./post-purchase/product/components/ProductQuantity.js');
283
+ var ProductPriceBreakdown = require('./post-purchase/product/components/ProductPriceBreakdown.js');
284
+ var ProductOffer = require('./post-purchase/product/components/ProductOffer.js');
285
+ var ProductDiscountTag = require('./post-purchase/product/components/ProductDiscountTag.js');
286
+ var index$F = require('./post-purchase/product/components/product-image/index.js');
287
+ var product1Col = require('./post-purchase/product/settings/presets-config/product-presets/product-1-col.js');
288
+ var product2Col = require('./post-purchase/product/settings/presets-config/product-presets/product-2-col.js');
289
+ var productDefault = require('./post-purchase/product/settings/presets-config/product-presets/product-default.js');
277
290
  var Product = require('./product/components/ProductWrap/Product.js');
278
- var index$F = require('./product/components/ProductTitle/index.js');
279
- var ProductQuantity = require('./product/components/ProductQuantity.js');
280
- var index$G = require('./product/components/ProductPrice/index.js');
291
+ var index$H = require('./product/components/ProductTitle/index.js');
292
+ var ProductQuantity$1 = require('./product/components/ProductQuantity.js');
293
+ var index$I = require('./product/components/ProductPrice/index.js');
281
294
  var ProductButton = require('./product/components/ProductButton/ProductButton.js');
282
- var index$H = require('./product/components/ProductDescription/index.js');
283
- var index$I = require('./product/components/ProductVariants/index.js');
295
+ var index$J = require('./product/components/ProductDescription/index.js');
296
+ var index$K = require('./product/components/ProductVariants/index.js');
284
297
  var ProductImages = require('./product/components/ProductImages.js');
285
- var index$J = require('./product/components/ProductImagesV2/index.js');
298
+ var index$L = require('./product/components/ProductImagesV2/index.js');
286
299
  var ProductProperties = require('./product/components/ProductProperties/ProductProperties.js');
287
- var index$K = require('./product/components/ProductQuickView/index.js');
300
+ var index$M = require('./product/components/ProductQuickView/index.js');
288
301
  var ProductTag = require('./product/components/ProductTag/ProductTag.js');
289
302
  var ProductList = require('./product/components/ProductList/ProductList.js');
290
303
  var Vendor = require('./product/components/ProductVendor/Vendor.js');
291
304
  var DynamicCheckout = require('./product/components/DynamicCheckout/DynamicCheckout.js');
292
305
  var ProductViewMore = require('./product/components/ProductViewMore/ProductViewMore.js');
293
- var index$L = require('./product/components/ProductBadge/index.js');
306
+ var index$N = require('./product/components/ProductBadge/index.js');
294
307
  var ProductBundleDiscount = require('./product/components/ProductBundle/components/ProductBundleDiscount.js');
295
308
  var ProductBundleDiscountItem = require('./product/components/ProductBundle/components/ProductBundleDiscountItem.js');
296
309
  var Sku = require('./product/components/ProductSKU/Sku.js');
@@ -303,6 +316,7 @@ var InstantLooxReviews = require('./third-party-instant/components/InstantLooxRe
303
316
  var InstantKlaviyo = require('./third-party-instant/components/InstantKlaviyo.js');
304
317
  var InstantYotpoLoyalty = require('./third-party-instant/components/InstantYotpoLoyalty.js');
305
318
  var StockCounter = require('./stock-counter/components/StockCounter.js');
319
+ var Sticky = require('./sticky/components/Sticky.js');
306
320
 
307
321
 
308
322
 
@@ -348,19 +362,20 @@ exports.postPurchaseLineSetting = index$C.postPurchaseLineSetting;
348
362
  exports.postPurchaseLinkSetting = index$D.postPurchaseLinkSetting;
349
363
  exports.PostPurchaseHeading = index$E.PostPurchaseHeading;
350
364
  exports.postPurchaseTextSetting = index$E.postPurchaseTextSetting;
351
- exports.productSetting = index$M.productSetting;
365
+ exports.postPurchaseProductSetting = index$G.postPurchaseProductSetting;
366
+ exports.productSetting = index$O.productSetting;
352
367
  exports.Radio = Radio.default;
353
368
  exports.radioSetting = Radio$1.default;
354
369
  exports.selectSetting = Select$1.default;
355
370
  exports.Select = Select.default;
356
- exports.tabSetting = index$N.tabSetting;
357
- exports.textSetting = index$O.textSetting;
371
+ exports.tabSetting = index$P.tabSetting;
372
+ exports.textSetting = index$Q.textSetting;
358
373
  exports.Textarea = Textarea.default;
359
374
  exports.textareaSetting = Textarea$1.default;
360
375
  exports.videoSetting = Video$1.default;
361
376
  exports.Video = Video.default;
362
377
  exports.useInView = useInView.useInView;
363
- exports.thirdPartySetting = index$P.default;
378
+ exports.thirdPartySetting = index$R.default;
364
379
  exports.RechargeSubscriptions = RechargeSubscriptions.default;
365
380
  exports.JudgemeReviews = JudgemeReviews.default;
366
381
  exports.LooxReviews = LooxReviews.default;
@@ -474,14 +489,13 @@ exports.BfSizeChartSizeGuide = BfSizeChartSizeGuide.default;
474
489
  exports.AlsoBoughtCbb = AlsoBoughtCbb.default;
475
490
  exports.HextomFreeShippingBar = HextomFreeShippingBar.default;
476
491
  exports.EcoboostifyShoppableReelUgc = EcoboostifyShoppableReelUgc.default;
477
- exports.thirdPartyInstantSetting = index$Q.thirdPartyInstantSetting;
478
- exports.stockCounterSetting = index$R.stockCounterSetting;
479
- exports.thirdPartySlotSetting = index$S.default;
492
+ exports.thirdPartyInstantSetting = index$S.thirdPartyInstantSetting;
493
+ exports.stockCounterSetting = index$T.stockCounterSetting;
494
+ exports.thirdPartySlotSetting = index$U.default;
480
495
  exports.ThirdPartySlot = ThirdPartySlot.default;
481
496
  exports.shopPayInstallmentSetting = ShopPayInstallments$1.default;
482
497
  exports.ShopPayInstallments = ShopPayInstallments.default;
483
- exports.Sticky = Sticky.default;
484
- exports.stickySetting = Sticky$1.default;
498
+ exports.stickySetting = index$V.stickySetting;
485
499
  exports.nextComponent = next.default;
486
500
  exports.liquidComponents = index_liquid;
487
501
  exports.builderComponent = builder.default;
@@ -591,23 +605,36 @@ exports.PostPurchaseImage = Image$1.default;
591
605
  exports.PostPurchaseLine = PostPurchaseLine.default;
592
606
  exports.PostPurchaseLink = PostPurchaseLink.default;
593
607
  exports.PostPurchaseText = Text.default;
608
+ exports.PostPurchaseProductPrice = ProductPrice.default;
609
+ exports.PostPurchaseProductDescription = ProductDescription.default;
610
+ exports.PostPurchaseProductTitle = ProductTitle.default;
611
+ exports.PostPurchaseProductVariants = ProductVariant.default;
612
+ exports.PostPurchaseAcceptButton = AcceptButton.default;
613
+ exports.PostPurchaseProductQuantity = ProductQuantity.default;
614
+ exports.PostPurchaseProductPriceBreakdown = ProductPriceBreakdown.default;
615
+ exports.PostPurchaseProductOffer = ProductOffer.default;
616
+ exports.PostPurchaseProductDiscountTag = ProductDiscountTag.default;
617
+ exports.PostPurchaseProductImages = index$F.default;
618
+ exports.postPurchaseProduct1Col = product1Col.postPurchaseProduct1Col;
619
+ exports.postPurchaseProduct2Col = product2Col.postPurchaseProduct2Col;
620
+ exports.postPurchaseProductDefault = productDefault.postPurchaseProductDefault;
594
621
  exports.Product = Product.default;
595
- exports.ProductTitle = index$F.default;
596
- exports.ProductQuantity = ProductQuantity.default;
597
- exports.ProductPrice = index$G.default;
622
+ exports.ProductTitle = index$H.default;
623
+ exports.ProductQuantity = ProductQuantity$1.default;
624
+ exports.ProductPrice = index$I.default;
598
625
  exports.ProductButton = ProductButton.default;
599
- exports.ProductDescription = index$H.default;
600
- exports.ProductVariants = index$I.default;
626
+ exports.ProductDescription = index$J.default;
627
+ exports.ProductVariants = index$K.default;
601
628
  exports.ProductImages = ProductImages.default;
602
- exports.ProductImagesV2 = index$J.default;
629
+ exports.ProductImagesV2 = index$L.default;
603
630
  exports.ProductPropertyInput = ProductProperties.default;
604
- exports.ProductQuickView = index$K.default;
631
+ exports.ProductQuickView = index$M.default;
605
632
  exports.ProductTag = ProductTag.default;
606
633
  exports.ProductList = ProductList.default;
607
634
  exports.ProductVendor = Vendor.default;
608
635
  exports.DynamicCheckout = DynamicCheckout.default;
609
636
  exports.ProductViewMore = ProductViewMore.default;
610
- exports.ProductBadge = index$L.default;
637
+ exports.ProductBadge = index$N.default;
611
638
  exports.ProductBundleDiscount = ProductBundleDiscount.default;
612
639
  exports.ProductBundleDiscountItem = ProductBundleDiscountItem.default;
613
640
  exports.ProductSku = Sku.default;
@@ -620,3 +647,4 @@ exports.InstantLooxReviews = InstantLooxReviews.default;
620
647
  exports.InstantKlaviyo = InstantKlaviyo.default;
621
648
  exports.InstantYotpoLoyalty = InstantYotpoLoyalty.default;
622
649
  exports.StockCounter = StockCounter.default;
650
+ exports.Sticky = Sticky.default;
@@ -100,8 +100,7 @@ var index$I = require('./third-party-instant/index.js');
100
100
  var index$J = require('./stock-counter/index.js');
101
101
  var index$K = require('./third-party-slot/setting/index.js');
102
102
  var ShopPayInstallments = require('./shop-pay-installment/settings/ShopPayInstallments.js');
103
- require('next/head');
104
- var Sticky = require('./sticky/setting/Sticky.js');
103
+ var index$L = require('./sticky/index.js');
105
104
 
106
105
  var setting = {
107
106
  ...index.accordionSetting,
@@ -157,7 +156,7 @@ var setting = {
157
156
  ...index$J.stockCounterSetting,
158
157
  ...index$K.default,
159
158
  ...ShopPayInstallments.default,
160
- ...Sticky.default
159
+ ...index$L.stickySetting
161
160
  };
162
161
 
163
162
  exports.default = setting;
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ require('react/jsx-runtime');
4
+ require('@gem-sdk/core');
5
+ require('next/head');
6
+ require('react');
7
+ var Sticky$1 = require('./setting/Sticky.js');
8
+
9
+ const stickySetting = {
10
+ Sticky: Sticky$1.default
11
+ };
12
+
13
+ exports.stickySetting = stickySetting;
@@ -24,7 +24,7 @@ const HeroBannerItem = (props)=>{
24
24
  ...getContainerStyle(styles, setting)
25
25
  });
26
26
  const containerClasses = createClass({
27
- ...getContainerClasses(setting)
27
+ ...getContainerClasses(setting, styles)
28
28
  });
29
29
  const overlayStyle = createStyle({
30
30
  ...getOverlayStyle(styles)
@@ -51,8 +51,8 @@ const getOverlayStyle = (styles)=>{
51
51
  const composeStyles = {
52
52
  ...getGlobalColorStateStyle('bgc', overlayColor),
53
53
  ...makeStyleState('op', overlayOpacity),
54
- '--top': 0,
55
- '--left': 0
54
+ '--top': '0',
55
+ '--left': '0'
56
56
  };
57
57
  return filterTruthyStyles(composeStyles);
58
58
  };
@@ -49,7 +49,7 @@ const heroBannerContentLeft = {
49
49
  sizeSetting: {
50
50
  desktop: {
51
51
  shape: 'original',
52
- widthHeightLinked: true,
52
+ widthHeightLinked: false,
53
53
  width: '100%'
54
54
  },
55
55
  mobile: {
@@ -58,7 +58,7 @@ const heroBannerContentRight = {
58
58
  sizeSetting: {
59
59
  desktop: {
60
60
  shape: 'original',
61
- widthHeightLinked: true,
61
+ widthHeightLinked: false,
62
62
  width: '100%'
63
63
  },
64
64
  mobile: {
@@ -16,6 +16,123 @@ const SettingsV2 = [
16
16
  }
17
17
  }
18
18
  },
19
+ {
20
+ id: 'verticalAlign',
21
+ type: 'segment',
22
+ options: [
23
+ {
24
+ label: 'Start',
25
+ value: 'start',
26
+ icon: `<svg
27
+ xmlns="http://www.w3.org/2000/svg"
28
+ width="20"
29
+ height="20"
30
+ viewBox="0 0 20 20"
31
+ fill="none"
32
+ >
33
+ <path
34
+ d="M18.75 2.8125C18.75 3.15768 18.4702 3.4375 18.125 3.4375L1.875 3.4375C1.52982 3.4375 1.25 3.15768 1.25 2.8125C1.25 2.46732 1.52982 2.1875 1.875 2.1875L18.125 2.1875C18.4702 2.1875 18.75 2.46732 18.75 2.8125Z"
35
+ fill="currentColor"
36
+ />
37
+ <path
38
+ fill-rule="evenodd"
39
+ clip-rule="evenodd"
40
+ d="M13.75 4.0625C14.7855 4.0625 15.625 4.90197 15.625 5.9375L15.625 12.1875C15.625 13.223 14.7855 14.0625 13.75 14.0625L12.5 14.0625C11.4645 14.0625 10.625 13.223 10.625 12.1875L10.625 5.9375C10.625 4.90197 11.4645 4.0625 12.5 4.0625L13.75 4.0625ZM14.375 5.9375C14.375 5.59232 14.0952 5.3125 13.75 5.3125L12.5 5.3125C12.1548 5.3125 11.875 5.59232 11.875 5.9375L11.875 12.1875C11.875 12.5327 12.1548 12.8125 12.5 12.8125L13.75 12.8125C14.0952 12.8125 14.375 12.5327 14.375 12.1875L14.375 5.9375Z"
41
+ fill="currentColor"
42
+ />
43
+ <path
44
+ fill-rule="evenodd"
45
+ clip-rule="evenodd"
46
+ d="M9.375 5.9375C9.375 4.90197 8.53553 4.0625 7.5 4.0625L6.25 4.0625C5.21447 4.0625 4.375 4.90197 4.375 5.9375L4.375 15.9375C4.375 16.973 5.21447 17.8125 6.25 17.8125L7.5 17.8125C8.53553 17.8125 9.375 16.973 9.375 15.9375L9.375 5.9375ZM7.5 5.3125C7.84518 5.3125 8.125 5.59232 8.125 5.9375L8.125 15.9375C8.125 16.2827 7.84518 16.5625 7.5 16.5625L6.25 16.5625C5.90482 16.5625 5.625 16.2827 5.625 15.9375L5.625 5.9375C5.625 5.59232 5.90482 5.3125 6.25 5.3125L7.5 5.3125Z"
47
+ fill="currentColor"
48
+ />
49
+ </svg> `
50
+ },
51
+ {
52
+ label: 'Center',
53
+ value: 'center',
54
+ icon: `<svg
55
+ xmlns="http://www.w3.org/2000/svg"
56
+ width="20"
57
+ height="20"
58
+ viewBox="0 0 20 20"
59
+ fill="none"
60
+ >
61
+ <path
62
+ fill-rule="evenodd"
63
+ clip-rule="evenodd"
64
+ d="M18.125 10.625C18.125 10.9702 17.8652 11.25 17.5446 11.25L15.2232 11.25L15.2232 13.75C15.2232 14.7855 14.4437 15.625 13.4821 15.625L12.3214 15.625C11.3599 15.625 10.5804 14.7855 10.5804 13.75L10.5804 11.25L9.41964 11.25L9.41964 15.625C9.41964 16.6605 8.64014 17.5 7.67857 17.5L6.51786 17.5C5.55629 17.5 4.77679 16.6605 4.77679 15.625L4.77679 11.25L2.45536 11.25C2.13484 11.25 1.875 10.9702 1.875 10.625C1.875 10.2798 2.13484 10 2.45536 10L4.77679 10L4.77679 5.625C4.77679 4.58947 5.55629 3.75 6.51786 3.75L7.67857 3.75C8.64014 3.75 9.41964 4.58947 9.41964 5.625L9.41964 10L10.5804 10L10.5804 7.5C10.5804 6.46447 11.3599 5.625 12.3214 5.625L13.4821 5.625C14.4437 5.625 15.2232 6.46447 15.2232 7.5L15.2232 10L17.5446 10C17.8652 10 18.125 10.2798 18.125 10.625ZM5.9375 15.625C5.9375 15.9702 6.19734 16.25 6.51786 16.25L7.67857 16.25C7.99909 16.25 8.25893 15.9702 8.25893 15.625L8.25893 5.625C8.25893 5.27982 7.99909 5 7.67857 5L6.51786 5C6.19734 5 5.9375 5.27982 5.9375 5.625L5.9375 15.625ZM11.7411 13.75L11.7411 7.5C11.7411 7.15482 12.0009 6.875 12.3214 6.875L13.4821 6.875C13.8027 6.875 14.0625 7.15482 14.0625 7.5L14.0625 13.75C14.0625 14.0952 13.8027 14.375 13.4821 14.375L12.3214 14.375C12.0009 14.375 11.7411 14.0952 11.7411 13.75Z"
65
+ fill="currentColor"
66
+ />
67
+ </svg> `
68
+ },
69
+ {
70
+ label: 'End',
71
+ value: 'end',
72
+ icon: `<svg
73
+ xmlns="http://www.w3.org/2000/svg"
74
+ width="20"
75
+ height="20"
76
+ viewBox="0 0 20 20"
77
+ fill="none"
78
+ >
79
+ <path
80
+ d="M1.25 17.8125C1.25 17.4673 1.52982 17.1875 1.875 17.1875L18.125 17.1875C18.4702 17.1875 18.75 17.4673 18.75 17.8125C18.75 18.1577 18.4702 18.4375 18.125 18.4375L1.875 18.4375C1.52982 18.4375 1.25 18.1577 1.25 17.8125Z"
81
+ fill="currentColor"
82
+ />
83
+ <path
84
+ fill-rule="evenodd"
85
+ clip-rule="evenodd"
86
+ d="M6.25 16.5625C5.21447 16.5625 4.375 15.723 4.375 14.6875L4.375 8.4375C4.375 7.40196 5.21447 6.5625 6.25 6.5625L7.5 6.5625C8.53553 6.5625 9.375 7.40197 9.375 8.4375L9.375 14.6875C9.375 15.723 8.53553 16.5625 7.5 16.5625L6.25 16.5625ZM5.625 14.6875C5.625 15.0327 5.90482 15.3125 6.25 15.3125L7.5 15.3125C7.84518 15.3125 8.125 15.0327 8.125 14.6875L8.125 8.4375C8.125 8.09232 7.84518 7.8125 7.5 7.8125L6.25 7.8125C5.90482 7.8125 5.625 8.09232 5.625 8.4375L5.625 14.6875Z"
87
+ fill="currentColor"
88
+ />
89
+ <path
90
+ fill-rule="evenodd"
91
+ clip-rule="evenodd"
92
+ d="M10.625 14.6875C10.625 15.723 11.4645 16.5625 12.5 16.5625L13.75 16.5625C14.7855 16.5625 15.625 15.723 15.625 14.6875L15.625 4.6875C15.625 3.65196 14.7855 2.8125 13.75 2.8125L12.5 2.8125C11.4645 2.8125 10.625 3.65197 10.625 4.6875L10.625 14.6875ZM12.5 15.3125C12.1548 15.3125 11.875 15.0327 11.875 14.6875L11.875 4.6875C11.875 4.34232 12.1548 4.0625 12.5 4.0625L13.75 4.0625C14.0952 4.0625 14.375 4.34232 14.375 4.6875L14.375 14.6875C14.375 15.0327 14.0952 15.3125 13.75 15.3125L12.5 15.3125Z"
93
+ fill="currentColor"
94
+ />
95
+ </svg> `
96
+ },
97
+ {
98
+ label: 'Between',
99
+ value: 'space-between',
100
+ icon: `<svg
101
+ xmlns="http://www.w3.org/2000/svg"
102
+ width="20"
103
+ height="20"
104
+ viewBox="0 0 20 20"
105
+ fill="none"
106
+ >
107
+ <path
108
+ d="M1.87891 1.22485C1.53373 1.22485 1.25391 1.50468 1.25391 1.84985C1.25391 2.19503 1.53373 2.47485 1.87891 2.47485L18.1298 2.47485C18.475 2.47485 18.7548 2.19503 18.7548 1.84985C18.7548 1.50468 18.475 1.22485 18.1298 1.22485H1.87891Z"
109
+ fill="currentColor"
110
+ />
111
+ <path
112
+ d="M1.93433 17.5249C1.58915 17.5249 1.30933 17.8047 1.30933 18.1499C1.30933 18.4951 1.58915 18.7749 1.93433 18.7749L18.1852 18.7749C18.5304 18.7749 18.8102 18.4951 18.8102 18.1499C18.8102 17.8047 18.5304 17.5249 18.1852 17.5249L1.93433 17.5249Z"
113
+ fill="currentColor"
114
+ />
115
+ <path
116
+ fill-rule="evenodd"
117
+ clip-rule="evenodd"
118
+ d="M2.875 6.375C2.875 5.33947 3.71447 4.5 4.75 4.5H15.25C16.2855 4.5 17.125 5.33947 17.125 6.375V6.875C17.125 7.91053 16.2855 8.75 15.25 8.75H4.75C3.71447 8.75 2.875 7.91053 2.875 6.875V6.375ZM4.75 5.75C4.40482 5.75 4.125 6.02982 4.125 6.375V6.875C4.125 7.22018 4.40482 7.5 4.75 7.5H15.25C15.5952 7.5 15.875 7.22018 15.875 6.875V6.375C15.875 6.02982 15.5952 5.75 15.25 5.75H4.75Z"
119
+ fill="currentColor"
120
+ />
121
+ <path
122
+ fill-rule="evenodd"
123
+ clip-rule="evenodd"
124
+ d="M4.75 11.25C3.71447 11.25 2.875 12.0895 2.875 13.125V13.625C2.875 14.6605 3.71447 15.5 4.75 15.5H15.25C16.2855 15.5 17.125 14.6605 17.125 13.625V13.125C17.125 12.0895 16.2855 11.25 15.25 11.25H4.75ZM4.125 13.125C4.125 12.7798 4.40482 12.5 4.75 12.5H15.25C15.5952 12.5 15.875 12.7798 15.875 13.125V13.625C15.875 13.9702 15.5952 14.25 15.25 14.25H4.75C4.40482 14.25 4.125 13.9702 4.125 13.625V13.125Z"
125
+ fill="currentColor"
126
+ />
127
+ </svg> `
128
+ }
129
+ ],
130
+ devices: {
131
+ desktop: {
132
+ default: 'center'
133
+ }
134
+ }
135
+ },
19
136
  {
20
137
  id: 'preload',
21
138
  type: 'toggle',