@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.
@@ -29,11 +29,12 @@ const SettingUIV2 = [
29
29
  en: 'Overlay'
30
30
  },
31
31
  type: 'combo',
32
- getValueFromSettingID: 'overlayColor',
32
+ comboType: 'color',
33
+ getValueFromSettingID: 'overlayColor.normal',
33
34
  controls: [
34
35
  {
35
36
  setting: {
36
- id: 'overlayColor.normal',
37
+ id: 'overlayColor',
37
38
  state: 'normal'
38
39
  },
39
40
  label: {
@@ -145,17 +146,9 @@ const SettingUIV2 = [
145
146
  en: 'Align'
146
147
  },
147
148
  setting: {
148
- id: 'contentPosition1Col'
149
- }
150
- },
151
- {
152
- label: {
153
- en: 'Align'
154
- },
155
- setting: {
156
- id: 'contentPosition1Col'
149
+ id: 'verticalAlign'
157
150
  },
158
- conditionDisplay: 'false'
151
+ conditionEnable: 'layout.cols.length > 1'
159
152
  }
160
153
  ]
161
154
  },
@@ -213,13 +206,16 @@ const SettingUIV2 = [
213
206
  en: 'Overlay'
214
207
  },
215
208
  type: 'combo',
216
- getValueFromSettingID: 'overlayColor',
209
+ comboType: 'color',
210
+ getValueFromSettingID: 'overlayColor.hover',
211
+ defaultValueWhenClear: '#121212',
217
212
  controls: [
218
213
  {
219
214
  setting: {
220
- id: 'overlayColor.hover',
215
+ id: 'overlayColor',
221
216
  state: 'hover'
222
217
  },
218
+ defaultValueWhenClear: '#121212 ',
223
219
  label: {
224
220
  en: 'Color'
225
221
  }
@@ -262,6 +258,7 @@ const SettingUIV2 = [
262
258
  },
263
259
  iconName: 'polaris-star',
264
260
  getValueFromSettingID: 'speedParallax',
261
+ defaultValueWhenClear: 0,
265
262
  controls: [
266
263
  {
267
264
  layout: 'vertical',
package/dist/esm/index.js CHANGED
@@ -39,6 +39,7 @@ export { postPurchaseImageSetting } from './post-purchase/image/index.js';
39
39
  export { postPurchaseLineSetting } from './post-purchase/line/index.js';
40
40
  export { postPurchaseLinkSetting } from './post-purchase/link/index.js';
41
41
  export { PostPurchaseHeading, postPurchaseTextSetting } from './post-purchase/text/index.js';
42
+ export { postPurchaseProductSetting } from './post-purchase/product/index.js';
42
43
  export { productSetting } from './product/index.js';
43
44
  export { default as Radio } from './radio/Radio.js';
44
45
  export { default as radioSetting } from './radio/setting/Radio.js';
@@ -171,8 +172,7 @@ export { default as thirdPartySlotSetting } from './third-party-slot/setting/ind
171
172
  export { default as ThirdPartySlot } from './third-party-slot/components/ThirdPartySlot.js';
172
173
  export { default as shopPayInstallmentSetting } from './shop-pay-installment/settings/ShopPayInstallments.js';
173
174
  export { default as ShopPayInstallments } from './shop-pay-installment/components/ShopPayInstallments.js';
174
- export { default as Sticky } from './sticky/components/Sticky.js';
175
- export { default as stickySetting } from './sticky/setting/Sticky.js';
175
+ export { stickySetting } from './sticky/index.js';
176
176
  export { default as nextComponent } from './next.js';
177
177
  import * as index_liquid from './index.liquid.js';
178
178
  export { index_liquid as liquidComponents };
@@ -273,6 +273,19 @@ export { default as PostPurchaseImage } from './post-purchase/image/components/I
273
273
  export { default as PostPurchaseLine } from './post-purchase/line/components/PostPurchaseLine.js';
274
274
  export { default as PostPurchaseLink } from './post-purchase/link/components/PostPurchaseLink.js';
275
275
  export { default as PostPurchaseText } from './post-purchase/text/components/Text.js';
276
+ export { default as PostPurchaseProductPrice } from './post-purchase/product/components/ProductPrice.js';
277
+ export { default as PostPurchaseProductDescription } from './post-purchase/product/components/ProductDescription.js';
278
+ export { default as PostPurchaseProductTitle } from './post-purchase/product/components/ProductTitle.js';
279
+ export { default as PostPurchaseProductVariants } from './post-purchase/product/components/product-variant/components/ProductVariant.js';
280
+ export { default as PostPurchaseAcceptButton } from './post-purchase/product/components/AcceptButton.js';
281
+ export { default as PostPurchaseProductQuantity } from './post-purchase/product/components/ProductQuantity.js';
282
+ export { default as PostPurchaseProductPriceBreakdown } from './post-purchase/product/components/ProductPriceBreakdown.js';
283
+ export { default as PostPurchaseProductOffer } from './post-purchase/product/components/ProductOffer.js';
284
+ export { default as PostPurchaseProductDiscountTag } from './post-purchase/product/components/ProductDiscountTag.js';
285
+ export { default as PostPurchaseProductImages } from './post-purchase/product/components/product-image/index.js';
286
+ export { postPurchaseProduct1Col } from './post-purchase/product/settings/presets-config/product-presets/product-1-col.js';
287
+ export { postPurchaseProduct2Col } from './post-purchase/product/settings/presets-config/product-presets/product-2-col.js';
288
+ export { postPurchaseProductDefault } from './post-purchase/product/settings/presets-config/product-presets/product-default.js';
276
289
  export { default as Product } from './product/components/ProductWrap/Product.js';
277
290
  export { default as ProductTitle } from './product/components/ProductTitle/index.js';
278
291
  export { default as ProductQuantity } from './product/components/ProductQuantity.js';
@@ -302,3 +315,4 @@ export { default as InstantLooxReviews } from './third-party-instant/components/
302
315
  export { default as InstantKlaviyo } from './third-party-instant/components/InstantKlaviyo.js';
303
316
  export { default as InstantYotpoLoyalty } from './third-party-instant/components/InstantYotpoLoyalty.js';
304
317
  export { default as StockCounter } from './stock-counter/components/StockCounter.js';
318
+ export { default as Sticky } from './sticky/components/Sticky.js';
@@ -96,8 +96,7 @@ import { thirdPartyInstantSetting } from './third-party-instant/index.js';
96
96
  import { stockCounterSetting } from './stock-counter/index.js';
97
97
  import thirdPartySlotSetting from './third-party-slot/setting/index.js';
98
98
  import config$4 from './shop-pay-installment/settings/ShopPayInstallments.js';
99
- import 'next/head';
100
- import config$5 from './sticky/setting/Sticky.js';
99
+ import { stickySetting } from './sticky/index.js';
101
100
 
102
101
  var setting = {
103
102
  ...accordionSetting,
@@ -153,7 +152,7 @@ var setting = {
153
152
  ...stockCounterSetting,
154
153
  ...thirdPartySlotSetting,
155
154
  ...config$4,
156
- ...config$5
155
+ ...stickySetting
157
156
  };
158
157
 
159
158
  export { setting as default };
@@ -0,0 +1,11 @@
1
+ import 'react/jsx-runtime';
2
+ import '@gem-sdk/core';
3
+ import 'next/head';
4
+ import 'react';
5
+ import config from './setting/Sticky.js';
6
+
7
+ const stickySetting = {
8
+ Sticky: config
9
+ };
10
+
11
+ export { stickySetting };