@gem-sdk/components 2.0.0-dev.595 → 2.0.0-dev.598

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 (44) hide show
  1. package/dist/cjs/banner/components/HeroBannerItem.js +3 -3
  2. package/dist/cjs/banner/components/HeroBannerItem.liquid.js +2 -2
  3. package/dist/cjs/button/components/common/styles.js +20 -3
  4. package/dist/cjs/countdown-timer/components/Countdown.js +0 -1
  5. package/dist/cjs/countdown-timer/components/common/getStyle.js +1 -1
  6. package/dist/cjs/countdown-timer/setting/configs/settings.js +14 -20
  7. package/dist/cjs/countdown-timer/setting/configs/uiV2.js +30 -17
  8. package/dist/cjs/image/components/NextImage.liquid.js +1 -0
  9. package/dist/cjs/image/setting/configs/settings.js +2 -2
  10. package/dist/cjs/image/setting/configs/uiV2.js +2 -0
  11. package/dist/cjs/image-comparison/components/common/helpers.js +2 -1
  12. package/dist/cjs/image-comparison/components/hooks/useCompareImage.js +5 -3
  13. package/dist/cjs/image-comparison/setting/configs/settings.js +8 -7
  14. package/dist/cjs/image-comparison/setting/configs/uiV2.js +42 -41
  15. package/dist/cjs/product/components/ProductButton/common/styles.js +6 -3
  16. package/dist/cjs/product/components/ProductButton/components/PriceLayout.liquid.js +2 -2
  17. package/dist/cjs/product/setting/product-view-more/configs/settings.js +2 -2
  18. package/dist/cjs/product/setting/product-view-more/configs/uiV2.js +2 -32
  19. package/dist/cjs/third-party/components/Releasit.js +0 -1
  20. package/dist/cjs/third-party/components/Releasit.liquid.js +0 -1
  21. package/dist/cjs/third-party/configs/BoldProductOptions.js +1 -1
  22. package/dist/esm/banner/components/HeroBannerItem.js +3 -3
  23. package/dist/esm/banner/components/HeroBannerItem.liquid.js +2 -2
  24. package/dist/esm/button/components/common/styles.js +21 -4
  25. package/dist/esm/countdown-timer/components/Countdown.js +0 -1
  26. package/dist/esm/countdown-timer/components/common/getStyle.js +2 -2
  27. package/dist/esm/countdown-timer/setting/configs/settings.js +14 -20
  28. package/dist/esm/countdown-timer/setting/configs/uiV2.js +30 -17
  29. package/dist/esm/image/components/NextImage.liquid.js +1 -0
  30. package/dist/esm/image/setting/configs/settings.js +2 -2
  31. package/dist/esm/image/setting/configs/uiV2.js +2 -0
  32. package/dist/esm/image-comparison/components/common/helpers.js +2 -1
  33. package/dist/esm/image-comparison/components/hooks/useCompareImage.js +5 -3
  34. package/dist/esm/image-comparison/setting/configs/settings.js +8 -7
  35. package/dist/esm/image-comparison/setting/configs/uiV2.js +42 -41
  36. package/dist/esm/product/components/ProductButton/common/styles.js +6 -3
  37. package/dist/esm/product/components/ProductButton/components/PriceLayout.liquid.js +2 -2
  38. package/dist/esm/product/setting/product-view-more/configs/settings.js +2 -2
  39. package/dist/esm/product/setting/product-view-more/configs/uiV2.js +2 -32
  40. package/dist/esm/third-party/components/Releasit.js +0 -1
  41. package/dist/esm/third-party/components/Releasit.liquid.js +0 -1
  42. package/dist/esm/third-party/configs/BoldProductOptions.js +1 -1
  43. package/dist/types/index.d.ts +1 -1
  44. package/package.json +2 -2
@@ -19,7 +19,7 @@ var common$1 = require('../../video/helpers/common.js');
19
19
  const HeroBannerItem = (props)=>{
20
20
  const mode = core.useEditorMode();
21
21
  const { enableLazyloadImage, setting, styles, children, elementRef, transform, dataVideo, bgRef, isShowVideoHtml5, layoutResponsive } = props;
22
- const { layout, verticalAlign, speedParallax, alt, title } = setting ?? {};
22
+ const { layout, verticalAlign, enableParallax, alt, title } = setting ?? {};
23
23
  const { background, overlayColor, verticalGutter, sizeSetting, contentWidth, hoverEffect, contentPosition1Col, contentPosition2Col } = styles ?? {};
24
24
  const enableLazyImage = (setting?.preload || !enableLazyloadImage) && mode !== 'edit';
25
25
  const isNotLiquid = true;
@@ -55,7 +55,7 @@ const HeroBannerItem = (props)=>{
55
55
  ...getClasses.getBackgroundClasses(hoverEffect)
56
56
  });
57
57
  const backgroundStyle = system.createStyle({
58
- ...getStyle.getBackgroundStyle(styles, Number(speedParallax || 0) > 0 || false, transform),
58
+ ...getStyle.getBackgroundStyle(styles, enableParallax, transform),
59
59
  ...core.getGradientBgrStyleByDevice(background, {
60
60
  desktop: true,
61
61
  tablet: true,
@@ -184,7 +184,7 @@ const HeroBannerItem = (props)=>{
184
184
  style: adaptiveStyle,
185
185
  alt: alt,
186
186
  title: title,
187
- enableLazyloadImage: enableLazyloadImage
187
+ enableLazyloadImage: enableLazyloadImage && mode != 'edit'
188
188
  })
189
189
  ]
190
190
  });
@@ -18,7 +18,7 @@ var common$1 = require('../../grid/row/commons/common.js');
18
18
 
19
19
  const HeroBannerItem = (props)=>{
20
20
  const { enableLazyloadImage, setting, styles, children, builderProps, rawChildren } = props;
21
- const { layout, verticalAlign, speedParallax, alt, title } = setting ?? {};
21
+ const { layout, verticalAlign, enableParallax, alt, title } = setting ?? {};
22
22
  const { background, overlayColor, verticalGutter, sizeSetting, contentWidth, hoverEffect, contentPosition1Col, contentPosition2Col } = styles ?? {};
23
23
  const transform = '';
24
24
  const enableLazyImage = setting?.preload || !enableLazyloadImage;
@@ -56,7 +56,7 @@ const HeroBannerItem = (props)=>{
56
56
  ...getClasses.getBackgroundClasses(hoverEffect)
57
57
  });
58
58
  const backgroundStyle = system.createStyle({
59
- ...getStyle.getBackgroundStyle(styles, Number(speedParallax || 0) > 0, transform),
59
+ ...getStyle.getBackgroundStyle(styles, enableParallax, transform),
60
60
  ...common.getBackgroundImageHeroBanner(background, enableLazyImage, isNotLiquid)
61
61
  });
62
62
  const containBackgroundClasses = system.createClass({
@@ -14,7 +14,8 @@ const getButtonStyles = (styles)=>({
14
14
  ...getSizeStyles(styles),
15
15
  ...getRadiusStyles(styles),
16
16
  ...getShadowStyles(styles),
17
- ...getBackgroundStyles(styles)
17
+ ...getBackgroundStyles(styles),
18
+ ...getTypographyStyles(styles).textColorStyle
18
19
  });
19
20
  const getButtonIconStyles = (styles, settings)=>{
20
21
  return {
@@ -51,10 +52,26 @@ const getSizeStyles = (styles)=>{
51
52
  ...composeGlobalSize.padding
52
53
  };
53
54
  };
55
+ const getTypographyStyles = (styles)=>{
56
+ const typographyStyle = core.composeTypographyStyle(styles?.typo, styles?.typography);
57
+ const colorObj = {
58
+ '--c': typographyStyle?.['--c']
59
+ };
60
+ const otherProps = {
61
+ ...typographyStyle
62
+ };
63
+ delete otherProps['--c'];
64
+ return {
65
+ textColorStyle: {
66
+ ...colorObj,
67
+ ...core.makeStyleResponsiveState('c', processResponsiveHoverColors(styles?.textColorHover))
68
+ },
69
+ withoutTextColorStyles: otherProps
70
+ };
71
+ };
54
72
  const getTypoStyles = (styles)=>{
55
73
  return {
56
- ...core.makeStyleResponsiveState('c', processResponsiveHoverColors(styles?.textColorHover)),
57
- ...core.composeTypographyStyle(styles?.typo, styles?.typography),
74
+ ...getTypographyStyles(styles).withoutTextColorStyles,
58
75
  ...core.getStyleShadow({
59
76
  styleAppliedFor: 'text-shadow',
60
77
  value: styles?.typo?.custom?.textShadow,
@@ -124,7 +124,6 @@ const Countdown = (props)=>{
124
124
  children: ' '
125
125
  })),
126
126
  system.If(enableWeek, timeTemplate(week, weekLabel)),
127
- system.If(enableWeek, timeTemplate(week, weekLabel)),
128
127
  system.If(enableDay, timeTemplate(day, dayLabel)),
129
128
  system.If(enableHour, timeTemplate(hour, hourLabel)),
130
129
  system.If(enableMinute, timeTemplate(minute, minuteLabel)),
@@ -22,7 +22,7 @@ const getContainStyle = (styles)=>{
22
22
  const getDateStyle = (styles)=>{
23
23
  const { borderState, itemPadding, backgroundItemColor, roundedState } = styles || {};
24
24
  const composeStyles = {
25
- ...!itemPadding?.type ? core.composeSize(itemPadding?.custom) : {},
25
+ ...core.getPaddingStyleByDevice(itemPadding),
26
26
  ...core.handleConvertBorderStyle(borderState),
27
27
  ...core.handleConvertBorderWidth(borderState),
28
28
  ...core.handleConvertBorderColor(borderState),
@@ -255,7 +255,7 @@ const CountdownSettings = [
255
255
  id: 'dayLabel',
256
256
  label: 'Label',
257
257
  type: 'input',
258
- default: 'Days',
258
+ default: 'Day',
259
259
  hide: false
260
260
  },
261
261
  {
@@ -278,7 +278,7 @@ const CountdownSettings = [
278
278
  id: 'hourLabel',
279
279
  label: 'Label',
280
280
  type: 'input',
281
- default: 'Hours',
281
+ default: 'Hour',
282
282
  hide: false
283
283
  },
284
284
  {
@@ -301,7 +301,7 @@ const CountdownSettings = [
301
301
  id: 'minuteLabel',
302
302
  label: 'Label',
303
303
  type: 'input',
304
- default: 'Minutes',
304
+ default: 'Minute',
305
305
  hide: false
306
306
  },
307
307
  {
@@ -324,7 +324,7 @@ const CountdownSettings = [
324
324
  id: 'secondLabel',
325
325
  label: 'Label',
326
326
  type: 'input',
327
- default: 'Seconds',
327
+ default: 'Second',
328
328
  hide: false
329
329
  },
330
330
  {
@@ -347,7 +347,7 @@ const CountdownSettings = [
347
347
  id: 'weekLabel',
348
348
  label: 'Label',
349
349
  type: 'input',
350
- default: 'Weeks',
350
+ default: 'Week',
351
351
  hide: false
352
352
  }
353
353
  ]
@@ -408,11 +408,7 @@ const CountdownSettings = [
408
408
  bold: true
409
409
  }
410
410
  },
411
- ignoreReRender: true,
412
- hiddenSetting: {
413
- textAlign: true,
414
- textShadow: true
415
- }
411
+ ignoreReRender: true
416
412
  },
417
413
  {
418
414
  id: 'colorNumber',
@@ -437,11 +433,7 @@ const CountdownSettings = [
437
433
  color: 'text-1'
438
434
  }
439
435
  },
440
- ignoreReRender: true,
441
- hiddenSetting: {
442
- textAlign: true,
443
- textShadow: true
444
- }
436
+ ignoreReRender: true
445
437
  },
446
438
  {
447
439
  id: 'colorLabel',
@@ -534,7 +526,7 @@ const CountdownSettings = [
534
526
  units: [
535
527
  'px'
536
528
  ],
537
- default: '0px'
529
+ default: '8px'
538
530
  },
539
531
  {
540
532
  id: 'horizontalGap',
@@ -545,16 +537,18 @@ const CountdownSettings = [
545
537
  units: [
546
538
  'px'
547
539
  ],
548
- default: '8px'
540
+ default: '16px'
549
541
  },
550
542
  {
551
543
  id: 'itemPadding',
552
544
  label: 'Padding',
553
545
  type: 'padding-v2',
554
546
  default: {
555
- type: 'medium'
556
- },
557
- ignoreReRender: true
547
+ top: '8px',
548
+ left: '24px',
549
+ right: '24px',
550
+ bottom: '8px'
551
+ }
558
552
  }
559
553
  ]
560
554
  },
@@ -47,7 +47,7 @@ const SettingUIV2 = [
47
47
  layout: 'vertical'
48
48
  },
49
49
  {
50
- conditionDisplay: 'behaviour === "evergreen"',
50
+ conditionDisplay: 'behaviour === "evergreen" && autoHideWhenTimeout === false',
51
51
  label: {
52
52
  en: 'Loop (refresh after finish)'
53
53
  },
@@ -67,7 +67,7 @@ const SettingUIV2 = [
67
67
  label: {
68
68
  en: 'Items'
69
69
  },
70
- fixedValue: 'Edit...',
70
+ fixedValue: '5 items',
71
71
  iconName: 'polaris-list-bulleted',
72
72
  popoverLabel: {
73
73
  en: 'Item management'
@@ -84,7 +84,7 @@ const SettingUIV2 = [
84
84
  },
85
85
  {
86
86
  label: {
87
- en: 'Week label'
87
+ en: 'Week caption'
88
88
  },
89
89
  conditionDisplay: 'enableWeek === true',
90
90
  setting: {
@@ -101,7 +101,7 @@ const SettingUIV2 = [
101
101
  },
102
102
  {
103
103
  label: {
104
- en: 'Day label'
104
+ en: 'Day caption'
105
105
  },
106
106
  conditionDisplay: 'enableDay === true',
107
107
  setting: {
@@ -118,7 +118,7 @@ const SettingUIV2 = [
118
118
  },
119
119
  {
120
120
  label: {
121
- en: 'Hour label'
121
+ en: 'Hour caption'
122
122
  },
123
123
  conditionDisplay: 'enableHour === true',
124
124
  setting: {
@@ -135,7 +135,7 @@ const SettingUIV2 = [
135
135
  },
136
136
  {
137
137
  label: {
138
- en: 'Minute label'
138
+ en: 'Minute caption'
139
139
  },
140
140
  conditionDisplay: 'enableMinute === true',
141
141
  setting: {
@@ -152,7 +152,7 @@ const SettingUIV2 = [
152
152
  },
153
153
  {
154
154
  label: {
155
- en: 'Second label'
155
+ en: 'Second caption'
156
156
  },
157
157
  conditionDisplay: 'enableSecond === true',
158
158
  setting: {
@@ -198,7 +198,7 @@ const SettingUIV2 = [
198
198
  en: 'Item gap'
199
199
  },
200
200
  setting: {
201
- id: 'horizontalGap'
201
+ id: 'verticalGap'
202
202
  }
203
203
  },
204
204
  {
@@ -257,13 +257,16 @@ const SettingUIV2 = [
257
257
  },
258
258
  conditionDisplay: 'enableLabelTextStyle == true',
259
259
  type: 'combo',
260
+ popoverLabel: {
261
+ en: 'Time text style'
262
+ },
260
263
  iconName: 'polaris-text-title',
261
- getValueFromSettingID: 'labelTypo.type',
264
+ getValueFromSettingID: 'numTypo.type',
262
265
  isHideClear: true,
263
266
  controls: [
264
267
  {
265
268
  setting: {
266
- id: 'labelTypo'
269
+ id: 'numTypo'
267
270
  },
268
271
  layout: 'vertical'
269
272
  }
@@ -289,26 +292,36 @@ const SettingUIV2 = [
289
292
  label: {
290
293
  en: 'Text style'
291
294
  },
295
+ popoverLabel: {
296
+ en: 'Caption text style'
297
+ },
292
298
  conditionDisplay: 'enableNumberTextStyle == true',
293
299
  type: 'combo',
294
300
  iconName: 'polaris-text-title',
295
301
  isHideClear: true,
296
- getValueFromSettingID: 'numTypo.type',
302
+ getValueFromSettingID: 'labelTypo.type',
297
303
  controls: [
298
304
  {
299
305
  setting: {
300
- id: 'numTypo'
306
+ id: 'labelTypo'
301
307
  },
302
308
  layout: 'vertical'
303
309
  }
304
310
  ]
305
- },
311
+ }
312
+ ]
313
+ },
314
+ {
315
+ label: {
316
+ en: 'Item spacing'
317
+ },
318
+ controls: [
306
319
  {
307
320
  label: {
308
- en: 'Item gap'
321
+ en: 'gap'
309
322
  },
310
323
  setting: {
311
- id: 'verticalGap'
324
+ id: 'horizontalGap'
312
325
  }
313
326
  }
314
327
  ]
@@ -343,7 +356,7 @@ const SettingUIV2 = [
343
356
  en: 'Border'
344
357
  },
345
358
  setting: {
346
- id: 'borderState',
359
+ id: 'border',
347
360
  state: 'normal'
348
361
  }
349
362
  },
@@ -352,7 +365,7 @@ const SettingUIV2 = [
352
365
  en: 'Corner'
353
366
  },
354
367
  setting: {
355
- id: 'roundedState',
368
+ id: 'rounded',
356
369
  state: 'normal'
357
370
  }
358
371
  },
@@ -32,6 +32,7 @@ const NextImage = (props)=>{
32
32
  return core.template`
33
33
  <img
34
34
  ${nextImageAttrs}
35
+ id="${props?.id}"
35
36
  style="${nextImageStyles}"
36
37
  class="${nextImageClasses}"
37
38
  />`;
@@ -98,7 +98,7 @@ const ImageSettings = [
98
98
  minHeight: 56,
99
99
  autoHeight: true,
100
100
  placeholder: 'E.g: Classic white crewneck t-shirt with minimalist design',
101
- default: 'Describes the appearance of the image'
101
+ default: undefined
102
102
  },
103
103
  {
104
104
  id: 'title',
@@ -108,7 +108,7 @@ const ImageSettings = [
108
108
  minHeight: 56,
109
109
  autoHeight: true,
110
110
  placeholder: 'E.g: White t-shirt',
111
- default: 'Title'
111
+ default: undefined
112
112
  }
113
113
  ]
114
114
  },
@@ -353,6 +353,7 @@ const SettingUIV2 = [
353
353
  },
354
354
  iconName: 'polaris-text-block',
355
355
  getValueFromSettingID: 'alt',
356
+ compoDefaultValue: 'Describes the appearance of the image',
356
357
  isHideClear: true,
357
358
  controls: [
358
359
  {
@@ -374,6 +375,7 @@ const SettingUIV2 = [
374
375
  iconName: 'polaris-text-block',
375
376
  getValueFromSettingID: 'title',
376
377
  isHideClear: true,
378
+ compoDefaultValue: 'Title',
377
379
  controls: [
378
380
  {
379
381
  label: {
@@ -131,7 +131,8 @@ const generateTranslateByDevices = ({ isHorizontal, labelPositionHoz, labelPosit
131
131
  return translateByDevices;
132
132
  };
133
133
  const getSliderPositionPercentage = (defaultPercentage)=>{
134
- return (defaultPercentage ?? 50) / 100;
134
+ const percentage = typeof defaultPercentage === 'string' ? parseInt(defaultPercentage ?? 0) : defaultPercentage;
135
+ return (percentage ?? 50) / 100;
135
136
  };
136
137
 
137
138
  exports.composeAspectRatio = composeAspectRatio;
@@ -19,9 +19,11 @@ const useCompareImage = ({ props, aspectRatio })=>{
19
19
  const leftImageRef = React.useRef(null);
20
20
  const { onListener, saveToElementInteractionData } = core.useInteraction();
21
21
  const ref = React.useRef(null);
22
- const memoAspectRatio = React.useMemo(()=>aspectRatio || styles?.aspectRatio, [
23
- aspectRatio,
24
- styles?.aspectRatio
22
+ const memoAspectRatio = React.useMemo(()=>aspectRatio, [
23
+ leftImage,
24
+ rightImage,
25
+ styles?.aspectRatio,
26
+ styles?.customAspectRadio
25
27
  ]);
26
28
  React.useEffect(()=>{
27
29
  const selector = `[data-id="${props?.componentUid}"]`;
@@ -34,7 +34,8 @@ const ImageComparisonSettings = [
34
34
  height: 600
35
35
  },
36
36
  hiddenSetting: {
37
- seo: true
37
+ seo: true,
38
+ optimizeLCP: true
38
39
  }
39
40
  }
40
41
  ]
@@ -53,7 +54,8 @@ const ImageComparisonSettings = [
53
54
  height: 600
54
55
  },
55
56
  hiddenSetting: {
56
- seo: true
57
+ seo: true,
58
+ optimizeLCP: true
57
59
  }
58
60
  }
59
61
  ]
@@ -255,9 +257,8 @@ const ImageComparisonSettings = [
255
257
  devices: {
256
258
  desktop: {
257
259
  default: {
258
- shape: 'square',
259
- shapeValue: '1/1',
260
- width: '100%',
260
+ shape: 'horizontal',
261
+ width: '600px',
261
262
  height: undefined,
262
263
  shapeLinked: true
263
264
  }
@@ -378,7 +379,7 @@ const ImageComparisonSettings = [
378
379
  border: 'none',
379
380
  borderWidth: '1px',
380
381
  width: '1px 1px 1px 1px',
381
- color: '#121212',
382
+ color: 'line-1',
382
383
  isCustom: true
383
384
  }
384
385
  }
@@ -387,7 +388,7 @@ const ImageComparisonSettings = [
387
388
  desktop: {
388
389
  default: {
389
390
  border: 'solid',
390
- color: '#121212',
391
+ color: 'line-1',
391
392
  width: '1px',
392
393
  borderWidth: '1px'
393
394
  }
@@ -256,64 +256,59 @@ const SettingUIV2 = [
256
256
  },
257
257
  {
258
258
  label: {
259
- en: 'Position'
259
+ en: 'Background'
260
260
  },
261
+ conditionDisplay: `enableLabel === true`,
261
262
  setting: {
262
- id: 'labelPositionHoz'
263
- },
264
- conditionDisplay: `enableLabel === true && direction === 'horizontal'`
263
+ id: 'labelBackgroundColor'
264
+ }
265
265
  },
266
266
  {
267
267
  label: {
268
- en: 'Position'
268
+ en: 'Border'
269
269
  },
270
+ conditionDisplay: `enableLabel === true`,
270
271
  setting: {
271
- id: 'labelPositionVer'
272
+ id: 'labelBorder'
273
+ }
274
+ },
275
+ {
276
+ label: {
277
+ en: 'Corner'
272
278
  },
273
- conditionDisplay: `enableLabel === true && direction === 'vertical'`
279
+ conditionDisplay: `enableLabel === true`,
280
+ setting: {
281
+ id: 'labelRounded'
282
+ }
274
283
  },
275
284
  {
276
285
  label: {
277
- en: 'Background'
286
+ en: 'Shadow'
278
287
  },
279
288
  conditionDisplay: `enableLabel === true`,
280
289
  setting: {
281
- id: 'labelBackgroundColor'
290
+ id: 'labelShadow'
282
291
  }
283
- }
284
- ],
285
- moreSettings: {
286
- type: 'collapse',
287
- controls: [
288
- {
289
- label: {
290
- en: 'Border'
291
- },
292
- conditionDisplay: `enableLabel === true`,
293
- setting: {
294
- id: 'labelBorder'
295
- }
292
+ },
293
+ {
294
+ label: {
295
+ en: 'Position'
296
296
  },
297
- {
298
- label: {
299
- en: 'Corner'
300
- },
301
- conditionDisplay: `enableLabel === true`,
302
- setting: {
303
- id: 'labelRounded'
304
- }
297
+ setting: {
298
+ id: 'labelPositionHoz'
305
299
  },
306
- {
307
- label: {
308
- en: 'Shadow'
309
- },
310
- conditionDisplay: `enableLabel === true`,
311
- setting: {
312
- id: 'labelShadow'
313
- }
314
- }
315
- ]
316
- }
300
+ conditionDisplay: `enableLabel === true && direction === 'horizontal'`
301
+ },
302
+ {
303
+ label: {
304
+ en: 'Position'
305
+ },
306
+ setting: {
307
+ id: 'labelPositionVer'
308
+ },
309
+ conditionDisplay: `enableLabel === true && direction === 'vertical'`
310
+ }
311
+ ]
317
312
  },
318
313
  {
319
314
  label: {
@@ -452,6 +447,9 @@ const SettingUIV2 = [
452
447
  type: 'combo',
453
448
  iconName: 'polaris-text-title',
454
449
  isHideClear: true,
450
+ popoverLabel: {
451
+ en: 'SEO'
452
+ },
455
453
  controls: [
456
454
  {
457
455
  label: {
@@ -478,6 +476,9 @@ const SettingUIV2 = [
478
476
  type: 'combo',
479
477
  iconName: 'polaris-text-title',
480
478
  isHideClear: true,
479
+ popoverLabel: {
480
+ en: 'SEO'
481
+ },
481
482
  controls: [
482
483
  {
483
484
  label: {
@@ -52,13 +52,16 @@ const getSoldOutButtonStyles = (styles)=>{
52
52
  if (oosBackgroundV2) {
53
53
  buttonSoldOutStyles.backgroundColorV2 = {
54
54
  desktop: {
55
- normal: oosBackgroundV2?.desktop?.normal
55
+ normal: oosBackgroundV2?.desktop?.normal,
56
+ hover: buttonSoldOutStyles.backgroundColorV2?.desktop?.hover
56
57
  },
57
58
  tablet: {
58
- normal: oosBackgroundV2?.tablet?.normal
59
+ normal: oosBackgroundV2?.tablet?.normal,
60
+ hover: buttonSoldOutStyles.backgroundColorV2?.tablet?.hover
59
61
  },
60
62
  mobile: {
61
- normal: oosBackgroundV2?.mobile?.normal
63
+ normal: oosBackgroundV2?.mobile?.normal,
64
+ hover: buttonSoldOutStyles.backgroundColorV2?.mobile?.hover
62
65
  }
63
66
  };
64
67
  }
@@ -13,10 +13,10 @@ const PriceLayout = ({ components, separator, showPrice, showSeparator })=>{
13
13
  }), BlankSpace_liquid.default());
14
14
  return core.template`
15
15
  ${separatorComponent}
16
- ${showPrice && components.map((component, index)=>core.template`
16
+ ${showPrice ? components.map((component, index)=>core.template`
17
17
  ${component()}
18
18
  ${index < components.length - 1 ? BlankSpace_liquid.default() : ''}
19
- `).join('')}
19
+ `).join('') : ''}
20
20
  `;
21
21
  };
22
22
 
@@ -46,7 +46,7 @@ const ProductViewMoreSettings = [
46
46
  tooltip: 'Align right'
47
47
  }
48
48
  ],
49
- default: 'left'
49
+ default: 'right'
50
50
  },
51
51
  {
52
52
  id: 'shouldClearSpace',
@@ -405,7 +405,7 @@ const ProductViewMoreSettings = [
405
405
  default: {
406
406
  type: 'paragraph-1',
407
407
  attrs: {
408
- color: 'text-1'
408
+ color: 'text-3'
409
409
  }
410
410
  },
411
411
  hiddenSetting: {