@gem-sdk/components 2.0.0-dev.268 → 2.0.0-dev.274

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 (76) hide show
  1. package/dist/cjs/article/components/ArticleImage.js +0 -5
  2. package/dist/cjs/article/components/ArticleList.js +1 -1
  3. package/dist/cjs/builder.js +14 -14
  4. package/dist/cjs/form/setting/submit-button/configs/settings.js +2 -2
  5. package/dist/cjs/grid/col/Col.liquid.js +2 -2
  6. package/dist/cjs/grid/row/Row.js +2 -2
  7. package/dist/cjs/grid/row/Row.liquid.js +1 -2
  8. package/dist/cjs/grid/row/commons/getStyle.js +6 -6
  9. package/dist/cjs/index.js +84 -84
  10. package/dist/cjs/index.liquid.js +8 -8
  11. package/dist/cjs/marquee/setting/configs/childImageTemplate.js +1 -1
  12. package/dist/cjs/post-purchase/advanced-list/components/common/getClasses.js +1 -1
  13. package/dist/cjs/post-purchase/advanced-list/setting/configs/presets.js +3 -1
  14. package/dist/cjs/post-purchase/advanced-list/setting/configs/settings.js +2 -1
  15. package/dist/cjs/post-purchase/advanced-list/setting/template.js +8 -3
  16. package/dist/cjs/post-purchase/callout-banner/components/common/getStyles.js +2 -0
  17. package/dist/cjs/post-purchase/callout-banner/setting/config/callout-box/setting.js +10 -10
  18. package/dist/cjs/post-purchase/callout-banner/setting/config/callout-text/setting.js +1 -12
  19. package/dist/cjs/post-purchase/callout-banner/setting/config/callout-text/uiV2.js +1 -1
  20. package/dist/cjs/post-purchase/image/setting/Image.js +2 -2
  21. package/dist/cjs/post-purchase/image/setting/setting-v2.js +25 -13
  22. package/dist/cjs/post-purchase/image/setting/ui-v2.js +1 -1
  23. package/dist/cjs/post-purchase/link/setting/configs/settings.js +7 -2
  24. package/dist/cjs/post-purchase/product/components/ProductPriceBreakdown.js +14 -5
  25. package/dist/cjs/post-purchase/product/components/priceBreakdown/MoneyLine.js +9 -4
  26. package/dist/cjs/post-purchase/product/helpers/product-price-breakdown/getClasses.js +29 -1
  27. package/dist/cjs/post-purchase/product/settings/product-price/uiV2.js +3 -0
  28. package/dist/cjs/post-purchase/product/settings/product-price-breakdown/configs/uiV2.js +3 -3
  29. package/dist/cjs/post-purchase/product/settings/product-variants/configs/uiV2.js +4 -2
  30. package/dist/cjs/post-purchase/utils/constants.js +1 -1
  31. package/dist/cjs/product/components/ProductQuickView/ProductQuickView.js +4 -4
  32. package/dist/cjs/product/components/ProductTitle/common/gpCommon.js +17 -0
  33. package/dist/cjs/product/components/ProductTitle/index.js +49 -0
  34. package/dist/cjs/product/components/ProductTitle/index.liquid.js +30 -0
  35. package/dist/cjs/product/next.js +1 -1
  36. package/dist/esm/article/components/ArticleImage.js +0 -5
  37. package/dist/esm/article/components/ArticleList.js +1 -1
  38. package/dist/esm/builder.js +1 -1
  39. package/dist/esm/form/setting/submit-button/configs/settings.js +2 -2
  40. package/dist/esm/grid/col/Col.liquid.js +2 -2
  41. package/dist/esm/grid/row/Row.js +2 -2
  42. package/dist/esm/grid/row/Row.liquid.js +1 -2
  43. package/dist/esm/grid/row/commons/getStyle.js +7 -7
  44. package/dist/esm/index.js +1 -1
  45. package/dist/esm/index.liquid.js +1 -1
  46. package/dist/esm/marquee/setting/configs/childImageTemplate.js +1 -1
  47. package/dist/esm/post-purchase/advanced-list/components/common/getClasses.js +1 -1
  48. package/dist/esm/post-purchase/advanced-list/setting/configs/presets.js +3 -1
  49. package/dist/esm/post-purchase/advanced-list/setting/configs/settings.js +2 -1
  50. package/dist/esm/post-purchase/advanced-list/setting/template.js +8 -3
  51. package/dist/esm/post-purchase/callout-banner/components/common/getStyles.js +2 -0
  52. package/dist/esm/post-purchase/callout-banner/setting/config/callout-box/setting.js +10 -10
  53. package/dist/esm/post-purchase/callout-banner/setting/config/callout-text/setting.js +1 -12
  54. package/dist/esm/post-purchase/callout-banner/setting/config/callout-text/uiV2.js +1 -1
  55. package/dist/esm/post-purchase/image/setting/Image.js +2 -2
  56. package/dist/esm/post-purchase/image/setting/setting-v2.js +25 -13
  57. package/dist/esm/post-purchase/image/setting/ui-v2.js +1 -1
  58. package/dist/esm/post-purchase/link/setting/configs/settings.js +7 -2
  59. package/dist/esm/post-purchase/product/components/ProductPriceBreakdown.js +14 -5
  60. package/dist/esm/post-purchase/product/components/priceBreakdown/MoneyLine.js +9 -4
  61. package/dist/esm/post-purchase/product/helpers/product-price-breakdown/getClasses.js +27 -2
  62. package/dist/esm/post-purchase/product/settings/product-price/uiV2.js +3 -0
  63. package/dist/esm/post-purchase/product/settings/product-price-breakdown/configs/uiV2.js +3 -3
  64. package/dist/esm/post-purchase/product/settings/product-variants/configs/uiV2.js +4 -2
  65. package/dist/esm/post-purchase/utils/constants.js +1 -1
  66. package/dist/esm/product/components/ProductQuickView/ProductQuickView.js +1 -1
  67. package/dist/esm/product/components/ProductTitle/common/gpCommon.js +15 -0
  68. package/dist/esm/product/components/ProductTitle/index.js +45 -0
  69. package/dist/esm/product/components/ProductTitle/index.liquid.js +26 -0
  70. package/dist/esm/product/next.js +1 -1
  71. package/dist/types/index.d.ts +8 -3
  72. package/package.json +1 -1
  73. package/dist/cjs/product/components/ProductTitle.js +0 -43
  74. package/dist/cjs/product/components/ProductTitle.liquid.js +0 -44
  75. package/dist/esm/product/components/ProductTitle.js +0 -39
  76. package/dist/esm/product/components/ProductTitle.liquid.js +0 -40
@@ -13,9 +13,9 @@ var core = require('@gem-sdk/core');
13
13
  var ProductButton = require('../ProductButton.js');
14
14
  var ProductPrice = require('../ProductPrice.js');
15
15
  var ProductQuantity = require('../ProductQuantity.js');
16
- var index = require('../ProductVariants/index.js');
16
+ var index$1 = require('../ProductVariants/index.js');
17
17
  var ProductImages = require('../ProductImages.js');
18
- var ProductTitle = require('../ProductTitle.js');
18
+ var index = require('../ProductTitle/index.js');
19
19
 
20
20
  const ModalContent = ()=>{
21
21
  const product = core.useProduct();
@@ -72,7 +72,7 @@ const ModalContent = ()=>{
72
72
  }),
73
73
  /*#__PURE__*/ jsxRuntime.jsxs(Col.default, {
74
74
  children: [
75
- /*#__PURE__*/ jsxRuntime.jsx(ProductTitle.default, {
75
+ /*#__PURE__*/ jsxRuntime.jsx(index.default, {
76
76
  setting: {
77
77
  htmlTag: 'p'
78
78
  },
@@ -117,7 +117,7 @@ const ModalContent = ()=>{
117
117
  })
118
118
  ]
119
119
  }),
120
- /*#__PURE__*/ jsxRuntime.jsx(index.default, {}),
120
+ /*#__PURE__*/ jsxRuntime.jsx(index$1.default, {}),
121
121
  /*#__PURE__*/ jsxRuntime.jsx(ProductQuantity.default, {}),
122
122
  /*#__PURE__*/ jsxRuntime.jsx(ProductButton.default, {})
123
123
  ]
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ const getTextProps = (props, productTitle)=>{
4
+ const { setting, builderProps, styles, advanced } = props;
5
+ return {
6
+ builderProps,
7
+ styles,
8
+ setting: {
9
+ ...setting,
10
+ text: productTitle ? productTitle : '{{ product.title }}',
11
+ excludeFlex: true
12
+ },
13
+ advanced
14
+ };
15
+ };
16
+
17
+ exports.getTextProps = getTextProps;
@@ -0,0 +1,49 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+ var Link = require('next/link');
8
+ var core = require('@gem-sdk/core');
9
+ var urlJoin = require('../../../link/helpers/url-join.js');
10
+ var Text = require('../../../text/components/Text.js');
11
+ var system = require('@gem-sdk/system');
12
+ var gpCommon = require('./common/gpCommon.js');
13
+
14
+ const ProductTitle = (props)=>{
15
+ const { setting, builderProps } = props;
16
+ const product = core.useProduct();
17
+ const destination = product?.handle ? urlJoin.urlJoin('/products', product.handle) : '#';
18
+ const currentProductId = product?.baseID?.replace('gid://shopify/Product/', '');
19
+ const mode = core.useEditorMode();
20
+ const renderText = ()=>{
21
+ return /*#__PURE__*/ jsxRuntime.jsx(Text.default, {
22
+ ...gpCommon.getTextProps(props, product?.title)
23
+ });
24
+ };
25
+ const linkAttrs = {
26
+ href: destination,
27
+ title: product?.title
28
+ };
29
+ const isEnableLink = setting?.linkProduct;
30
+ const linkClassName = system.createClass({
31
+ 'gp-product-title-link-wrapper': true
32
+ });
33
+ const editorAttrs = system.createAttr({
34
+ id: `shopify-text-element-${builderProps?.uid}`,
35
+ ...currentProductId && {
36
+ 'data-product-id': currentProductId
37
+ }
38
+ });
39
+ return /*#__PURE__*/ jsxRuntime.jsx("div", {
40
+ ...mode === 'edit' && editorAttrs,
41
+ children: system.Unless(!!product, '', system.If(isEnableLink, /*#__PURE__*/ jsxRuntime.jsx(Link, {
42
+ ...linkAttrs,
43
+ className: linkClassName,
44
+ children: renderText()
45
+ }), renderText()))
46
+ });
47
+ };
48
+
49
+ exports.default = ProductTitle;
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var core = require('@gem-sdk/core');
6
+ var helpers = require('../../../helpers.js');
7
+ var Text_liquid = require('../../../text/components/Text.liquid.js');
8
+ var system = require('@gem-sdk/system');
9
+ var gpCommon = require('./common/gpCommon.js');
10
+
11
+ const ProductTitle = (props)=>{
12
+ const { setting } = props;
13
+ const noProduct = `<p>${helpers.getStaticLocale('ProductTitle', 'product_not_found')}</p>`;
14
+ const renderText = ()=>{
15
+ return Text_liquid.default(gpCommon.getTextProps(props));
16
+ };
17
+ const linkAttrs = {
18
+ href: '{{ product.url }}',
19
+ title: '{{ product.title }}'
20
+ };
21
+ const isEnableLink = setting?.linkProduct;
22
+ const linkClassName = system.createClass({
23
+ 'gp-product-title-link-wrapper': true
24
+ });
25
+ return system.LiquidUnless('product', `${noProduct}`, system.If(isEnableLink, core.template`<a ${linkAttrs} class="${linkClassName}">
26
+ ${renderText()}
27
+ </a>`, `${renderText()}`));
28
+ };
29
+
30
+ exports.default = ProductTitle;
@@ -11,7 +11,7 @@ require('@gem-sdk/core');
11
11
  const Product = dynamic(()=>Promise.resolve().then(function () { return require('./components/Product.js'); }), {
12
12
  loading: Loading.default
13
13
  });
14
- const ProductTitle = dynamic(()=>Promise.resolve().then(function () { return require('./components/ProductTitle.js'); }), {
14
+ const ProductTitle = dynamic(()=>Promise.resolve().then(function () { return require('./components/ProductTitle/index.js'); }), {
15
15
  loading: Loading.default
16
16
  });
17
17
  const ProductQuantity = dynamic(()=>Promise.resolve().then(function () { return require('./components/ProductQuantity.js'); }), {
@@ -27,11 +27,6 @@ const ArticleImage = ({ className, setting = {}, styles = {}, advanced, builderP
27
27
  ...setting,
28
28
  alt: image.alt,
29
29
  image,
30
- srcSet: {
31
- desktop: {
32
- src: image.src ?? ''
33
- }
34
- },
35
30
  disableNoDataState: true
36
31
  },
37
32
  styles: styles,
@@ -11,7 +11,7 @@ const ArticleList = ({ styles, setting, className, children, builderProps })=>{
11
11
  const { articleSetting, numberOfArticle } = setting ?? {};
12
12
  const { articleIds, articlePickType } = articleSetting ?? {};
13
13
  const articlesQuery = {
14
- first: 10,
14
+ first: articleIds?.length ?? 50,
15
15
  where: {
16
16
  baseIDIn: [
17
17
  ...articleSetting?.articleIds ?? []
@@ -178,7 +178,7 @@ import PostPurchaseProductDiscountTag from './post-purchase/product/components/P
178
178
  import PostPurchaseProductImages from './post-purchase/product/components/product-image/index.js';
179
179
  import PostPurchaseProductVariants from './post-purchase/product/components/product-variant/components/ProductVariant.js';
180
180
  import Product from './product/components/Product.js';
181
- import ProductTitle from './product/components/ProductTitle.js';
181
+ import ProductTitle from './product/components/ProductTitle/index.js';
182
182
  import ProductQuantity from './product/components/ProductQuantity.js';
183
183
  import ProductDescription from './product/components/ProductDescription.js';
184
184
  import ProductPrice from './product/components/ProductPrice.js';
@@ -319,8 +319,8 @@ const SubmitButtonSettings = [
319
319
  height: 'Auto',
320
320
  padding: {
321
321
  type: 'medium',
322
- top: '8px',
323
- bottom: '8px',
322
+ top: '12px',
323
+ bottom: '12px',
324
324
  left: '24px',
325
325
  right: '24px'
326
326
  }
@@ -3,7 +3,7 @@ import { getStyles } from './common/getStyles.js';
3
3
  import { getClass } from './common/getClass.js';
4
4
  import { getAttr } from './common/getAttr.js';
5
5
 
6
- const Column = ({ children, className, style, builderAttrs, builderProps, advanced, setting, styles, justifyContent, order, ...props })=>{
6
+ const Column = (props)=>{
7
7
  const { colStyle } = getStyles(props);
8
8
  const { colClass } = getClass(props);
9
9
  const { colAttr } = getAttr(props);
@@ -14,7 +14,7 @@ const Column = ({ children, className, style, builderAttrs, builderProps, advanc
14
14
  style="${colStyle}"
15
15
  class="${colClass}"
16
16
  >
17
- ${children ?? ''}
17
+ ${props.children ?? ''}
18
18
  </div>`;
19
19
  };
20
20
 
@@ -46,7 +46,6 @@ const Row = (props)=>{
46
46
  const params = `&loop=${bgVideo?.loop ? 1 : 0}&playlist=${videoId}&showinfo=0&rel=0&fs=0&enablejsapi=1`;
47
47
  return /*#__PURE__*/ jsx(LiteYouTubeEmbed, {
48
48
  id: videoId,
49
- isHeroBanner: true,
50
49
  autoplay: true,
51
50
  title: "",
52
51
  controls: false,
@@ -67,7 +66,7 @@ const Row = (props)=>{
67
66
  ref: ref,
68
67
  ...builderAttrs,
69
68
  ...rowAttr,
70
- style: rowStyle,
69
+ style: rowStyle(isPostPurchase),
71
70
  className: className,
72
71
  children: [
73
72
  !!embed && /*#__PURE__*/ jsx("div", {
@@ -88,6 +87,7 @@ const Row = (props)=>{
88
87
  ...el.props,
89
88
  key: el.key,
90
89
  order: setting?.order,
90
+ layout: setting?.layout,
91
91
  justifyContent: isPostPurchase ? postPurchaseVerticalAlign : setting?.verticalAlign
92
92
  });
93
93
  return null;
@@ -47,7 +47,6 @@ const Row = (props)=>{
47
47
  return LiteYouTubeEmbed({
48
48
  uid: builderProps?.uid,
49
49
  id: videoId,
50
- isHeroBanner: true,
51
50
  autoplay: true,
52
51
  title: 'Video',
53
52
  controls: false,
@@ -72,7 +71,7 @@ const Row = (props)=>{
72
71
  const element = template`
73
72
  <gp-row gp-data='${stateData}' ${{
74
73
  ...rowAttr
75
- }} class="${className}" style="${rowStyle}">
74
+ }} class="${className}" style="${rowStyle()}">
76
75
  ${If(!!embed(), template /* liquid */ `
77
76
  <div class="${backgroundBoxClass}" style="${backgroundBoxStyle}">
78
77
  <div class="${backgroundBoxInnerClass}">${embed()}</div>
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { makeStyleResponsive, isEmptyChildren, splitStyle, composeGridLayout, makeStyle, getStyleBackgroundByDevice, getGradientBgrStyleByDevice, composeRadius } from '@gem-sdk/core';
2
+ import { makeStyleResponsive, isEmptyChildren, splitStyle, composeRadius, composeGridLayout, makeStyle, getStyleBackgroundByDevice, getGradientBgrStyleByDevice } from '@gem-sdk/core';
3
3
  import { getInnerRadiusExcludeBorder } from './getInnerRadius.js';
4
4
  import { createStyle } from '@gem-sdk/system';
5
5
  import { createStyleObject } from './helpers.js';
@@ -68,12 +68,12 @@ const getRowStyle = (rowProps)=>{
68
68
  ...composeRadius(innerRadius)
69
69
  };
70
70
  };
71
- const rowStyle = createStyle({
72
- ...getGlobalStyles(),
73
- ...getRowNormalStyle(),
74
- ...getMarginByWidth(),
75
- ...getPostPurchaseStyle()
76
- });
71
+ const rowStyle = (isPostPurchase = false)=>createStyle({
72
+ ...getGlobalStyles(),
73
+ ...getRowNormalStyle(),
74
+ ...getMarginByWidth(),
75
+ ...isPostPurchase ? getPostPurchaseStyle() : {}
76
+ });
77
77
  const backgroundBoxStyle = createStyle({
78
78
  ...getRadiusStyleInner()
79
79
  });
package/dist/esm/index.js CHANGED
@@ -66,7 +66,7 @@ export { default as paginationSetting } from './pagination/setting/index.js';
66
66
  export { default as Pagination } from './pagination/Pagination.js';
67
67
  export { default as productSetting } from './product/setting/index.js';
68
68
  export { default as Product } from './product/components/Product.js';
69
- export { default as ProductTitle } from './product/components/ProductTitle.js';
69
+ export { default as ProductTitle } from './product/components/ProductTitle/index.js';
70
70
  export { default as ProductQuantity } from './product/components/ProductQuantity.js';
71
71
  export { default as ProductDescription } from './product/components/ProductDescription.js';
72
72
  export { default as ProductPrice } from './product/components/ProductPrice.js';
@@ -9,7 +9,7 @@ export { default as Root } from './grid/components/Root.liquid.js';
9
9
  export { default as Icon } from './icon/components/Icon.liquid.js';
10
10
  export { default as Text } from './text/components/Text.liquid.js';
11
11
  export { default as Product } from './product/components/Product.liquid.js';
12
- export { default as ProductTitle } from './product/components/ProductTitle.liquid.js';
12
+ export { default as ProductTitle } from './product/components/ProductTitle/index.liquid.js';
13
13
  export { ProductPrice } from './product/components/ProductPrice.liquid.js';
14
14
  export { default as ProductButton } from './product/components/ProductButton.liquid.js';
15
15
  export { default as ProductDescription } from './product/components/ProductDescription.liquid.js';
@@ -68,7 +68,7 @@ const renderChildImageTemplate = (imgSrc)=>({
68
68
  height: 110
69
69
  }
70
70
  },
71
- isAdaptive: false,
71
+ isAdaptive: true,
72
72
  isNotLazyload: true
73
73
  }
74
74
  }
@@ -11,7 +11,7 @@ const getClasses = (uid, align)=>{
11
11
  };
12
12
  };
13
13
  const getContainerClasses = ()=>{
14
- const classList = 'gp-inline-flex gp-flex-col';
14
+ const classList = 'gp-inline-flex gp-flex-col gp-w-full';
15
15
  return composeClasses(classList);
16
16
  };
17
17
 
@@ -22,7 +22,8 @@ const ConfigPreset = [
22
22
  settings: {
23
23
  childItem: [
24
24
  'Item 1',
25
- 'Item 2'
25
+ 'Item 2',
26
+ 'Item 3'
26
27
  ]
27
28
  },
28
29
  advanced: {
@@ -30,6 +31,7 @@ const ConfigPreset = [
30
31
  inlinePadding: 'none'
31
32
  },
32
33
  childrens: [
34
+ ChildTemplate,
33
35
  ChildTemplate,
34
36
  ChildTemplate
35
37
  ]
@@ -10,8 +10,9 @@ const ConfigSettings = [
10
10
  label: 'Item management',
11
11
  type: 'child-item',
12
12
  default: [
13
+ 'Item 1',
13
14
  'Item 2',
14
- 'Item 2'
15
+ 'Item 3'
15
16
  ],
16
17
  childTemplate: ChildTemplate
17
18
  }
@@ -34,14 +34,16 @@ const ChildTemplate = {
34
34
  label: 'Image',
35
35
  styles: {
36
36
  width: {
37
- desktop: '100px'
37
+ desktop: '32px'
38
38
  },
39
+ aspectRatio: '1',
40
+ align: 'left',
39
41
  enableBorder: 'none'
40
42
  },
41
43
  settings: {
42
44
  srcSet: {
43
45
  desktop: {
44
- src: 'https://ucarecdn.com/ee6d5074-1640-4cc7-8933-47c8589c3dee/-/format/auto/'
46
+ src: 'https://cdn.shopify.com/s/files/1/0791/2780/6265/files/gempages_468220687216018311-d69940af-f03e-4864-a612-63cd9a4dce36.png'
45
47
  }
46
48
  }
47
49
  }
@@ -59,7 +61,7 @@ const ChildTemplate = {
59
61
  text: 'Your custom text goes here'
60
62
  },
61
63
  advanced: {
62
- blockPadding: 'base'
64
+ blockPadding: 'extraTight'
63
65
  },
64
66
  styles: {
65
67
  typo: {
@@ -67,6 +69,9 @@ const ChildTemplate = {
67
69
  textColor: 'default',
68
70
  fontWeight: 'normal',
69
71
  textTransform: 'none'
72
+ },
73
+ width: {
74
+ desktop: '100%'
70
75
  }
71
76
  }
72
77
  }
@@ -19,6 +19,7 @@ var CalloutBgColorEnum;
19
19
  CalloutBgColorEnum["success"] = '#E8F8EB';
20
20
  CalloutBgColorEnum["warning"] = '#FFF8E0';
21
21
  CalloutBgColorEnum["critical"] = '#FFEBEB';
22
+ CalloutBgColorEnum["none"] = '#FAFAFA';
22
23
  })(CalloutBgColorEnum || (CalloutBgColorEnum = {}));
23
24
  var CalloutBorderColorEnum;
24
25
  (function(CalloutBorderColorEnum) {
@@ -26,6 +27,7 @@ var CalloutBorderColorEnum;
26
27
  CalloutBorderColorEnum["success"] = '#d0ecd3';
27
28
  CalloutBorderColorEnum["warning"] = '#f0e4bc';
28
29
  CalloutBorderColorEnum["critical"] = '#facccc';
30
+ CalloutBorderColorEnum["none"] = '#D9D9D9';
29
31
  })(CalloutBorderColorEnum || (CalloutBorderColorEnum = {}));
30
32
  const getCalloutBoxContainerStyles = (styles)=>{
31
33
  return filterTruthyStyles({
@@ -198,32 +198,32 @@ const CalloutBoxSettings = [
198
198
  label: 'Background Color',
199
199
  options: [
200
200
  {
201
- label: 'No color',
202
- value: '',
203
- svgIcon: `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g clip-path="url(#clip0_21563_861)"><circle cx="10" cy="10" r="10" fill="url(#pattern0_21563_861)"/></g><defs><pattern id="pattern0_21563_861" patternContentUnits="objectBoundingBox" width="2.052" height="2.052"><use xlink:href="#image0_21563_861" transform="scale(0.00675)"/></pattern><clipPath id="clip0_21563_861"><rect width="20" height="20" fill="white"/></clipPath><image id="image0_21563_861" width="304" height="304" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAAEwCAIAAAC/mbqkAAAMQWlDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnluSkJDQAghICb0JIjWAlBBaAOlFsBGSAKHEGAgqdmRRwbWgIgI2dFVEsQNiR+wsir0vFlSUdbFgV96kgK77yvfm++bOf/85858z587cewcA9eNcsTgH1QAgV5QviQ0JYIxNTmGQngIMDAdagAr0uLw8MSs6OgLAMtj+vby7DhBZe8VBpvXP/v9aNPmCPB4ASDTEafw8Xi7E+wHAa3hiST4ARBlvPjVfLMOwAm0JDBDihTKcocA1MpymwLvlNvGxbIjbAFChcrmSDADULkGeUcDLgBpqfRA7ifhCEQDqDIh9c3Mn8yFOhdgG2oghlukz037QyfibZtqQJpebMYQVc5EXlUBhnjiHO/3/TMf/Lrk50kEfVrBSMyWhsbI5w7zdzJ4cLsNUiHtFaZFREGtB/EHIl9tDjFIypaEJCnvUkJfHhjkDuhA78bmB4RAbQhwsyomMUPJp6cJgDsRwhaDThPmceIj1IF4oyAuKU9pskEyOVfpCG9MlbJaSP8uVyP3KfN2XZiewlPqvMwUcpT6mVpgZnwQxBWKLAmFiJMRqEDvmZceFK21GF2ayIwdtJNJYWfwWEMcKRCEBCn2sIF0SHKu0L83NG5wvtiFTyIlU4r35mfGhivxgbTyuPH44F+ySQMRKGNQ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/Ybv0S/k9R9gRmAsIMgxuHMELgFBXjpmBMYCghyDO0fgEhDkpWNGYCwgyDG4cwQuAUFeOmYExgKCHIM7R+ASEOSlY0ZgLCDIMbhzBC4BQV46ZgTGAoIcgztH4BIQ5KVjRmAsIMgxuHMELgFBXjpmBMYCghyDO0fgEhDkpWNGYCwgyDG4cwQuAUFeOmYExgKCHIM7R+ASEOSlY0ZgLCDIMbhzBC4BQV46ZgTGAoIcgztH4BIQ5KVjRmAsIMgxuHMELgFBXjpmBMYCghyDO0fgEhDkpWNGYCwgyDG4cwQuAUFeOmYExgKCHIM7R+ASEOSlY0ZgLCDIMbhzBC4BQV46ZgTGAoIcgztH4BIQ5KVjRmAs8D/xV2yLUDvviQAAAABJRU5ErkJggg=="/></defs></svg>`
201
+ label: 'Transparent',
202
+ value: 'none',
203
+ icon: 'gp-bg-transparent'
204
204
  },
205
205
  {
206
206
  label: 'Red',
207
207
  value: 'critical',
208
- svgIcon: `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_21563_871)"><circle cx="10" cy="10" r="10" fill="#FFEBEB"/><circle cx="10" cy="10" r="9.5" stroke="white" stroke-opacity="0.2"/></g><defs><clipPath id="clip0_21563_871"><rect width="20" height="20" fill="white"/></clipPath></defs></svg>`
208
+ icon: 'gp-bg-red'
209
209
  },
210
210
  {
211
211
  label: 'Blue',
212
212
  value: 'info',
213
- svgIcon: `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_21563_885)"><circle cx="10" cy="10" r="10" fill="#D1E6F5"/><circle cx="10" cy="10" r="9.5" stroke="white" stroke-opacity="0.2"/></g><defs><clipPath id="clip0_21563_885"><rect width="20" height="20" fill="white"/></clipPath></defs></svg>`
213
+ icon: 'gp-bg-blue'
214
214
  },
215
215
  {
216
216
  label: 'Green',
217
217
  value: 'success',
218
- svgIcon: `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_21563_895)"><circle cx="10" cy="10" r="10" fill="#E8F8EB"/><circle cx="10" cy="10" r="9.5" stroke="white" stroke-opacity="0.2"/></g><defs><clipPath id="clip0_21563_895"><rect width="20" height="20" fill="white"/></clipPath></defs></svg>`
218
+ icon: 'gp-bg-green'
219
219
  },
220
220
  {
221
221
  label: 'Yellow',
222
222
  value: 'warning',
223
- svgIcon: `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_21563_906)"><circle cx="10" cy="10" r="10" fill="#FFF8E0"/><circle cx="10" cy="10" r="9.5" stroke="white" stroke-opacity="0.2"/></g><defs><clipPath id="clip0_21563_906"><rect width="20" height="20" fill="white"/></clipPath></defs></svg>`
223
+ icon: 'gp-bg-yellow'
224
224
  }
225
225
  ],
226
- default: ''
226
+ default: 'none'
227
227
  },
228
228
  {
229
229
  id: 'width',
@@ -237,7 +237,7 @@ const CalloutBoxSettings = [
237
237
  hideUnit: false,
238
238
  devices: {
239
239
  desktop: {
240
- default: '100%'
240
+ default: 'default'
241
241
  },
242
242
  tablet: {
243
243
  default: '100%'
@@ -279,7 +279,7 @@ const CalloutBoxSettings = [
279
279
  },
280
280
  {
281
281
  id: 'columnGap',
282
- type: 'range',
282
+ type: 'input:slider',
283
283
  min: 0,
284
284
  max: 100,
285
285
  step: 1,
@@ -9,12 +9,8 @@ const CalloutTextSettings = [
9
9
  defaultRows: 4,
10
10
  showPlusBtn: true,
11
11
  autoHeight: true,
12
- default: 'We couldn’t just let you leave with only one offer! Grab another for up to {{Max_Discount}} OFF',
12
+ default: 'We couldn’t just let you leave with only one offer! Grab another for {{Discount}} OFF',
13
13
  suggestContents: [
14
- {
15
- message: '{Buyer_First_Name}',
16
- eg: 'Jane'
17
- },
18
14
  {
19
15
  message: '{Product_Name}',
20
16
  eg: 'Desk Lamp'
@@ -80,13 +76,6 @@ const CalloutTextSettings = [
80
76
  type: 'text',
81
77
  tooltip: 'Align right',
82
78
  iconName: 'polaris-text-align-right'
83
- },
84
- {
85
- label: 'Justify',
86
- value: 'justify',
87
- type: 'text',
88
- tooltip: 'Align justify',
89
- iconName: 'gp-text-align-justify'
90
79
  }
91
80
  ],
92
81
  default: 'left'
@@ -90,7 +90,7 @@ const SettingUIV2 = [
90
90
  {
91
91
  type: 'control',
92
92
  label: {
93
- en: 'Text align'
93
+ en: 'Align'
94
94
  },
95
95
  setting: {
96
96
  id: 'textAlign'
@@ -88,7 +88,7 @@ const config = {
88
88
  hideUnit: false,
89
89
  devices: {
90
90
  desktop: {
91
- default: undefined
91
+ default: '500px'
92
92
  }
93
93
  },
94
94
  displayOptions: [
@@ -144,7 +144,7 @@ const config = {
144
144
  tooltip: 'Align right'
145
145
  }
146
146
  ],
147
- default: 'center'
147
+ default: 'left'
148
148
  },
149
149
  {
150
150
  id: 'enableBorder',
@@ -41,39 +41,51 @@ const ImagePostPurchaseSettingV2 = [
41
41
  type: 'select',
42
42
  default: 'auto',
43
43
  options: [
44
- {
45
- label: 'Original',
46
- value: 'auto'
47
- },
48
44
  {
49
45
  label: 'Square',
50
46
  value: '1',
51
47
  type: 'image-shape',
52
- icon: 'image-shape-square'
48
+ icon: 'gp-image-shape-square'
53
49
  },
54
50
  {
55
51
  label: 'Vertical',
56
52
  value: '3/4',
57
53
  type: 'image-shape',
58
- icon: 'image-shape-vertical'
54
+ icon: 'gp-image-shape-vertical'
59
55
  },
60
56
  {
61
57
  label: 'Horizontal',
62
58
  value: '4/3',
63
59
  type: 'image-shape',
64
- icon: 'image-shape-horizontal'
60
+ icon: 'gp-image-shape-horizontal'
61
+ },
62
+ {
63
+ label: 'Original',
64
+ value: 'auto'
65
65
  }
66
66
  ]
67
67
  },
68
68
  {
69
69
  id: 'width',
70
- type: 'input:unit',
70
+ type: 'dropdown:input',
71
71
  label: 'Width',
72
- min: 0,
72
+ inputType: 'number',
73
73
  units: [
74
74
  'px',
75
75
  '%'
76
76
  ],
77
+ displayOptions: [
78
+ {
79
+ label: 'Full',
80
+ value: '100%',
81
+ showValue: true
82
+ },
83
+ {
84
+ label: 'Default',
85
+ value: '1200px',
86
+ showValue: true
87
+ }
88
+ ],
77
89
  devices: {
78
90
  desktop: {
79
91
  default: '500px'
@@ -128,21 +140,21 @@ const ImagePostPurchaseSettingV2 = [
128
140
  iconName: 'gp-align-right'
129
141
  }
130
142
  ],
131
- default: 'center'
143
+ default: 'left'
132
144
  },
133
145
  {
134
146
  id: 'enableBorder',
135
- type: 'option:value',
147
+ type: 'segment',
136
148
  default: 'none',
137
149
  options: [
138
150
  {
139
- label: 'None',
140
151
  value: 'none',
152
+ iconName: 'gp-cursor-none',
141
153
  type: 'border'
142
154
  },
143
155
  {
144
- label: 'Solid',
145
156
  value: 'solid',
157
+ iconName: 'gp-line',
146
158
  type: 'border'
147
159
  }
148
160
  ]
@@ -68,7 +68,7 @@ const SettingUIV2 = [
68
68
  },
69
69
  options: {
70
70
  labelVariant: 'primary',
71
- disableMessage: `Align is not supported when width is 100%`
71
+ disableMessage: 'Horizontal alignment is disabled when the width is set to 100% or greater'
72
72
  }
73
73
  }
74
74
  ]