@gem-sdk/components 2.0.0-dev.294 → 2.0.0-dev.304

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 (236) hide show
  1. package/dist/cjs/accordion/components/common/index.js +2 -2
  2. package/dist/cjs/article/components/ArticleAuthor.js +1 -1
  3. package/dist/cjs/article/components/ArticleTitle.js +3 -1
  4. package/dist/cjs/article/components/ArticleTitle.liquid.js +5 -2
  5. package/dist/cjs/article/setting/ArticleList.js +0 -30
  6. package/dist/cjs/article/setting/configs/ArticleAuthor/presets.js +0 -9
  7. package/dist/cjs/article/setting/configs/ArticleAuthor/settings.js +9 -5
  8. package/dist/cjs/article/setting/configs/ArticleAuthor/uiV2.js +16 -0
  9. package/dist/cjs/article/setting/configs/ArticleCategory/presets.js +0 -9
  10. package/dist/cjs/article/setting/configs/ArticleCategory/settings.js +9 -5
  11. package/dist/cjs/article/setting/configs/ArticleDate/presets.js +0 -9
  12. package/dist/cjs/article/setting/configs/ArticleDate/settings.js +9 -5
  13. package/dist/cjs/article/setting/configs/ArticleImage/settings.js +22 -1
  14. package/dist/cjs/article/setting/configs/ArticleTitle/settings.js +36 -7
  15. package/dist/cjs/article/setting/configs/ArticleTitle/uiV2.js +47 -2
  16. package/dist/cjs/banner/setting/presets/heroBanner1Col.js +14 -0
  17. package/dist/cjs/banner/setting/presets/heroBannerContentLeft.js +13 -0
  18. package/dist/cjs/banner/setting/presets/heroBannerContentRight.js +12 -0
  19. package/dist/cjs/banner/setting/presets/heroBannerParallax.js +14 -0
  20. package/dist/cjs/banner/setting/setting.js +6 -18
  21. package/dist/cjs/banner/setting/uiV1.js +1 -2
  22. package/dist/cjs/banner/setting/uiV2.js +4 -5
  23. package/dist/cjs/builder.js +6 -2
  24. package/dist/cjs/button/components/Button.js +1 -1
  25. package/dist/cjs/button/components/Button.liquid.js +1 -1
  26. package/dist/cjs/button/components/ButtonIcon.liquid.js +3 -1
  27. package/dist/cjs/button/components/ButtonLabel.liquid.js +3 -1
  28. package/dist/cjs/button/components/common/attributes.js +2 -2
  29. package/dist/cjs/button/components/common/classes.js +2 -1
  30. package/dist/cjs/button/components/common/styles.js +9 -11
  31. package/dist/cjs/button/setting/configs/settings.js +7 -8
  32. package/dist/cjs/button/setting/configs/uiV2.js +4 -50
  33. package/dist/cjs/dialog/components/Dialog.js +109 -394
  34. package/dist/cjs/dialog/components/Dialog.liquid.js +129 -153
  35. package/dist/cjs/dialog/components/common/common.js +130 -0
  36. package/dist/cjs/dialog/components/common/getAttr.js +27 -0
  37. package/dist/cjs/dialog/components/common/getClasses.js +88 -0
  38. package/dist/cjs/dialog/components/common/getStyle.js +107 -0
  39. package/dist/cjs/dialog/components/hooks/useDialog.js +233 -0
  40. package/dist/cjs/dialog/setting/configs/settings.js +1 -1
  41. package/dist/cjs/dialog/setting/configs/uiV2.js +35 -25
  42. package/dist/cjs/form/components/form-checkbox/FormCheckbox.js +0 -4
  43. package/dist/cjs/form/components/textinput/TextInput.js +58 -0
  44. package/dist/cjs/form/components/textinput/TextInput.liquid.js +60 -0
  45. package/dist/cjs/form/components/textinput/common/composeClasses.js +33 -0
  46. package/dist/cjs/form/components/textinput/common/composeStyles.js +70 -0
  47. package/dist/cjs/form/next.js +5 -1
  48. package/dist/cjs/form/setting/form-dropdown/configs/uiV2.js +12 -0
  49. package/dist/cjs/form/setting/index.js +3 -1
  50. package/dist/cjs/form/setting/newsletter/configs/settings.js +4 -2
  51. package/dist/cjs/form/setting/newsletter/configs/uiV2.js +2 -0
  52. package/dist/cjs/form/setting/text-input/TextInput.js +53 -0
  53. package/dist/cjs/form/setting/text-input/configs/settings.js +307 -0
  54. package/dist/cjs/form/setting/text-input/configs/uiV1.js +106 -0
  55. package/dist/cjs/form/setting/text-input/configs/uiV2.js +303 -0
  56. package/dist/cjs/grid/row/setting/configs/settings.js +6 -3
  57. package/dist/cjs/helpers.js +8 -0
  58. package/dist/cjs/icon-list/common/attrs.js +10 -0
  59. package/dist/cjs/icon-list/common/classes.js +9 -0
  60. package/dist/cjs/icon-list/common/styles.js +29 -0
  61. package/dist/cjs/icon-list/components/IconList.js +19 -30
  62. package/dist/cjs/icon-list/components/IconList.liquid.js +21 -24
  63. package/dist/cjs/icon-list/components/IconListItem.js +13 -7
  64. package/dist/cjs/icon-list/components/IconListItem.liquid.js +13 -7
  65. package/dist/cjs/icon-list-hoz/components/IconListHoz.js +37 -25
  66. package/dist/cjs/icon-list-hoz/components/IconListHoz.liquid.js +31 -25
  67. package/dist/cjs/icon-list-hoz/components/IconListHozItem.js +12 -6
  68. package/dist/cjs/icon-list-hoz/components/IconListIHozItem.liquid.js +26 -0
  69. package/dist/cjs/icon-list-hoz/components/common/getAttr.js +9 -0
  70. package/dist/cjs/icon-list-hoz/components/common/getClasses.js +24 -0
  71. package/dist/cjs/icon-list-hoz/components/common/getStyle.js +30 -0
  72. package/dist/cjs/index.js +6 -1
  73. package/dist/cjs/index.liquid.js +7 -3
  74. package/dist/cjs/line/common/classes.js +66 -0
  75. package/dist/cjs/line/common/index.js +16 -0
  76. package/dist/cjs/line/common/styles.js +120 -0
  77. package/dist/cjs/line/components/Divider.js +26 -0
  78. package/dist/cjs/line/components/Divider.liquid.js +22 -0
  79. package/dist/cjs/line/components/Line.js +98 -0
  80. package/dist/cjs/line/components/Line.liquid.js +86 -0
  81. package/dist/cjs/line/next.js +1 -1
  82. package/dist/cjs/post-purchase/line/setting/configs/uiV2.js +1 -1
  83. package/dist/cjs/post-purchase/link/setting/configs/settings.js +2 -1
  84. package/dist/cjs/post-purchase/link/setting/configs/uiV2.js +1 -1
  85. package/dist/cjs/post-purchase/product/settings/product-variants/configs/uiV2.js +1 -1
  86. package/dist/cjs/product/components/FileUpload/components/config/setting.js +24 -26
  87. package/dist/cjs/product/components/FileUpload/components/config/uiV2.js +12 -179
  88. package/dist/cjs/product/components/ProductList.js +1 -1
  89. package/dist/cjs/product/components/ProductTag.js +9 -1
  90. package/dist/cjs/product/components/ProductVariants/index.js +2 -2
  91. package/dist/cjs/product/components/ProductVariants/index.liquid.js +2 -2
  92. package/dist/cjs/product/components/ProductVariants/variants/Dropdown.js +8 -3
  93. package/dist/cjs/product/components/ProductVariants/variants/Dropdown.liquid.js +7 -2
  94. package/dist/cjs/product/setting/ProductVariants.js +8 -1374
  95. package/dist/cjs/product/setting/product-list/configs/uiV2.js +0 -3
  96. package/dist/cjs/product/setting/product-variant/configs/presets.js +168 -0
  97. package/dist/cjs/product/setting/product-variant/configs/settings.js +732 -0
  98. package/dist/cjs/product/setting/product-variant/configs/uiV1.js +509 -0
  99. package/dist/cjs/product/setting/product-variant/configs/uiV2.js +347 -0
  100. package/dist/cjs/third-party/components/EcoboostifyShoppableReelUgc.js +33 -0
  101. package/dist/cjs/third-party/components/EcoboostifyShoppableReelUgc.liquid.js +12 -0
  102. package/dist/cjs/third-party/configs/EcoboostifyShoppableReelUgc.js +12 -0
  103. package/dist/cjs/third-party/next.js +5 -0
  104. package/dist/cjs/third-party/setting/EcoboostifyShoppableReelUgc.js +142 -0
  105. package/dist/cjs/third-party/setting/index.js +3 -1
  106. package/dist/esm/accordion/components/common/index.js +2 -2
  107. package/dist/esm/article/components/ArticleAuthor.js +1 -1
  108. package/dist/esm/article/components/ArticleTitle.js +3 -1
  109. package/dist/esm/article/components/ArticleTitle.liquid.js +5 -2
  110. package/dist/esm/article/setting/ArticleList.js +0 -30
  111. package/dist/esm/article/setting/configs/ArticleAuthor/presets.js +0 -9
  112. package/dist/esm/article/setting/configs/ArticleAuthor/settings.js +9 -5
  113. package/dist/esm/article/setting/configs/ArticleAuthor/uiV2.js +16 -0
  114. package/dist/esm/article/setting/configs/ArticleCategory/presets.js +0 -9
  115. package/dist/esm/article/setting/configs/ArticleCategory/settings.js +9 -5
  116. package/dist/esm/article/setting/configs/ArticleDate/presets.js +0 -9
  117. package/dist/esm/article/setting/configs/ArticleDate/settings.js +9 -5
  118. package/dist/esm/article/setting/configs/ArticleImage/settings.js +22 -1
  119. package/dist/esm/article/setting/configs/ArticleTitle/settings.js +36 -7
  120. package/dist/esm/article/setting/configs/ArticleTitle/uiV2.js +47 -2
  121. package/dist/esm/banner/setting/presets/heroBanner1Col.js +14 -0
  122. package/dist/esm/banner/setting/presets/heroBannerContentLeft.js +13 -0
  123. package/dist/esm/banner/setting/presets/heroBannerContentRight.js +12 -0
  124. package/dist/esm/banner/setting/presets/heroBannerParallax.js +14 -0
  125. package/dist/esm/banner/setting/setting.js +6 -18
  126. package/dist/esm/banner/setting/uiV1.js +1 -2
  127. package/dist/esm/banner/setting/uiV2.js +4 -5
  128. package/dist/esm/builder.js +6 -2
  129. package/dist/esm/button/components/Button.js +1 -1
  130. package/dist/esm/button/components/Button.liquid.js +1 -1
  131. package/dist/esm/button/components/ButtonIcon.liquid.js +3 -1
  132. package/dist/esm/button/components/ButtonLabel.liquid.js +3 -1
  133. package/dist/esm/button/components/common/attributes.js +2 -2
  134. package/dist/esm/button/components/common/classes.js +3 -2
  135. package/dist/esm/button/components/common/styles.js +10 -12
  136. package/dist/esm/button/setting/configs/settings.js +7 -8
  137. package/dist/esm/button/setting/configs/uiV2.js +4 -50
  138. package/dist/esm/dialog/components/Dialog.js +110 -395
  139. package/dist/esm/dialog/components/Dialog.liquid.js +130 -154
  140. package/dist/esm/dialog/components/common/common.js +117 -0
  141. package/dist/esm/dialog/components/common/getAttr.js +22 -0
  142. package/dist/esm/dialog/components/common/getClasses.js +79 -0
  143. package/dist/esm/dialog/components/common/getStyle.js +98 -0
  144. package/dist/esm/dialog/components/hooks/useDialog.js +231 -0
  145. package/dist/esm/dialog/setting/configs/settings.js +1 -1
  146. package/dist/esm/dialog/setting/configs/uiV2.js +35 -25
  147. package/dist/esm/form/components/form-checkbox/FormCheckbox.js +0 -4
  148. package/dist/esm/form/components/textinput/TextInput.js +54 -0
  149. package/dist/esm/form/components/textinput/TextInput.liquid.js +56 -0
  150. package/dist/esm/form/components/textinput/common/composeClasses.js +29 -0
  151. package/dist/esm/form/components/textinput/common/composeStyles.js +67 -0
  152. package/dist/esm/form/next.js +5 -1
  153. package/dist/esm/form/setting/form-dropdown/configs/uiV2.js +12 -0
  154. package/dist/esm/form/setting/index.js +3 -1
  155. package/dist/esm/form/setting/newsletter/configs/settings.js +4 -2
  156. package/dist/esm/form/setting/newsletter/configs/uiV2.js +2 -0
  157. package/dist/esm/form/setting/text-input/TextInput.js +49 -0
  158. package/dist/esm/form/setting/text-input/configs/settings.js +305 -0
  159. package/dist/esm/form/setting/text-input/configs/uiV1.js +104 -0
  160. package/dist/esm/form/setting/text-input/configs/uiV2.js +301 -0
  161. package/dist/esm/grid/row/setting/configs/settings.js +6 -3
  162. package/dist/esm/helpers.js +8 -1
  163. package/dist/esm/icon-list/common/attrs.js +8 -0
  164. package/dist/esm/icon-list/common/classes.js +6 -0
  165. package/dist/esm/icon-list/common/styles.js +25 -0
  166. package/dist/esm/icon-list/components/IconList.js +21 -32
  167. package/dist/esm/icon-list/components/IconList.liquid.js +21 -24
  168. package/dist/esm/icon-list/components/IconListItem.js +13 -7
  169. package/dist/esm/icon-list/components/IconListItem.liquid.js +14 -8
  170. package/dist/esm/icon-list-hoz/components/IconListHoz.js +38 -26
  171. package/dist/esm/icon-list-hoz/components/IconListHoz.liquid.js +32 -26
  172. package/dist/esm/icon-list-hoz/components/IconListHozItem.js +12 -6
  173. package/dist/esm/icon-list-hoz/components/IconListIHozItem.liquid.js +22 -0
  174. package/dist/esm/icon-list-hoz/components/common/getAttr.js +7 -0
  175. package/dist/esm/icon-list-hoz/components/common/getClasses.js +21 -0
  176. package/dist/esm/icon-list-hoz/components/common/getStyle.js +27 -0
  177. package/dist/esm/index.js +4 -2
  178. package/dist/esm/index.liquid.js +4 -2
  179. package/dist/esm/line/common/classes.js +59 -0
  180. package/dist/esm/line/common/index.js +14 -0
  181. package/dist/esm/line/common/styles.js +114 -0
  182. package/dist/esm/line/components/Divider.js +22 -0
  183. package/dist/esm/line/components/Divider.liquid.js +18 -0
  184. package/dist/esm/line/components/Line.js +94 -0
  185. package/dist/esm/line/components/Line.liquid.js +82 -0
  186. package/dist/esm/line/next.js +1 -1
  187. package/dist/esm/post-purchase/line/setting/configs/uiV2.js +1 -1
  188. package/dist/esm/post-purchase/link/setting/configs/settings.js +2 -1
  189. package/dist/esm/post-purchase/link/setting/configs/uiV2.js +1 -1
  190. package/dist/esm/post-purchase/product/settings/product-variants/configs/uiV2.js +1 -1
  191. package/dist/esm/product/components/FileUpload/components/config/setting.js +24 -26
  192. package/dist/esm/product/components/FileUpload/components/config/uiV2.js +12 -179
  193. package/dist/esm/product/components/ProductList.js +1 -1
  194. package/dist/esm/product/components/ProductTag.js +10 -2
  195. package/dist/esm/product/components/ProductVariants/index.js +2 -2
  196. package/dist/esm/product/components/ProductVariants/index.liquid.js +2 -2
  197. package/dist/esm/product/components/ProductVariants/variants/Dropdown.js +8 -3
  198. package/dist/esm/product/components/ProductVariants/variants/Dropdown.liquid.js +7 -2
  199. package/dist/esm/product/setting/ProductVariants.js +8 -1374
  200. package/dist/esm/product/setting/product-list/configs/uiV2.js +0 -3
  201. package/dist/esm/product/setting/product-variant/configs/presets.js +166 -0
  202. package/dist/esm/product/setting/product-variant/configs/settings.js +730 -0
  203. package/dist/esm/product/setting/product-variant/configs/uiV1.js +507 -0
  204. package/dist/esm/product/setting/product-variant/configs/uiV2.js +345 -0
  205. package/dist/esm/third-party/components/EcoboostifyShoppableReelUgc.js +29 -0
  206. package/dist/esm/third-party/components/EcoboostifyShoppableReelUgc.liquid.js +8 -0
  207. package/dist/esm/third-party/configs/EcoboostifyShoppableReelUgc.js +8 -0
  208. package/dist/esm/third-party/next.js +5 -0
  209. package/dist/esm/third-party/setting/EcoboostifyShoppableReelUgc.js +138 -0
  210. package/dist/esm/third-party/setting/index.js +3 -1
  211. package/dist/types/index.d.ts +184 -166
  212. package/package.json +2 -2
  213. package/dist/cjs/dialog/helpers/common.js +0 -55
  214. package/dist/cjs/icon-list-hoz/components/IconListItemHoz.liquid.js +0 -23
  215. package/dist/cjs/line/Divider.js +0 -35
  216. package/dist/cjs/line/Divider.liquid.js +0 -35
  217. package/dist/cjs/line/Line.js +0 -167
  218. package/dist/cjs/line/Line.liquid.js +0 -163
  219. package/dist/esm/dialog/helpers/common.js +0 -47
  220. package/dist/esm/icon-list-hoz/components/IconListItemHoz.liquid.js +0 -19
  221. package/dist/esm/line/Divider.js +0 -31
  222. package/dist/esm/line/Divider.liquid.js +0 -31
  223. package/dist/esm/line/Line.js +0 -163
  224. package/dist/esm/line/Line.liquid.js +0 -159
  225. /package/dist/cjs/dialog/{hooks/use-scroll-percentage.js → components/hooks/useScrollPercentage.js} +0 -0
  226. /package/dist/cjs/product/setting/{swatches-style-config → product-variant/swatches-style-config}/color.js +0 -0
  227. /package/dist/cjs/product/setting/{swatches-style-config → product-variant/swatches-style-config}/dropdown.js +0 -0
  228. /package/dist/cjs/product/setting/{swatches-style-config → product-variant/swatches-style-config}/image-shopify.js +0 -0
  229. /package/dist/cjs/product/setting/{swatches-style-config → product-variant/swatches-style-config}/image.js +0 -0
  230. /package/dist/cjs/product/setting/{swatches-style-config → product-variant/swatches-style-config}/rectangle-list.js +0 -0
  231. /package/dist/esm/dialog/{hooks/use-scroll-percentage.js → components/hooks/useScrollPercentage.js} +0 -0
  232. /package/dist/esm/product/setting/{swatches-style-config → product-variant/swatches-style-config}/color.js +0 -0
  233. /package/dist/esm/product/setting/{swatches-style-config → product-variant/swatches-style-config}/dropdown.js +0 -0
  234. /package/dist/esm/product/setting/{swatches-style-config → product-variant/swatches-style-config}/image-shopify.js +0 -0
  235. /package/dist/esm/product/setting/{swatches-style-config → product-variant/swatches-style-config}/image.js +0 -0
  236. /package/dist/esm/product/setting/{swatches-style-config → product-variant/swatches-style-config}/rectangle-list.js +0 -0
@@ -611,11 +611,6 @@ const config = {
611
611
  mobile: '12px'
612
612
  },
613
613
  fontWeight: '400',
614
- lineHeight: {
615
- desktop: '180%',
616
- tablet: '180%',
617
- mobile: '180%'
618
- },
619
614
  fontFamily: 'Assistant'
620
615
  }
621
616
  },
@@ -626,9 +621,6 @@ const config = {
626
621
  advanced: {
627
622
  'spacing-setting': {
628
623
  desktop: {
629
- margin: {
630
- bottom: 'var(--g-s-s)'
631
- },
632
624
  padding: {
633
625
  right: 'var(--g-s-s)',
634
626
  top: '0px'
@@ -674,11 +666,6 @@ const config = {
674
666
  mobile: '12px'
675
667
  },
676
668
  fontWeight: '400',
677
- lineHeight: {
678
- desktop: '180%',
679
- tablet: '180%',
680
- mobile: '180%'
681
- },
682
669
  fontFamily: 'Assistant'
683
670
  }
684
671
  },
@@ -689,9 +676,6 @@ const config = {
689
676
  advanced: {
690
677
  'spacing-setting': {
691
678
  desktop: {
692
- margin: {
693
- bottom: 'var(--g-s-s)'
694
- },
695
679
  padding: {
696
680
  right: 'var(--g-s-s)',
697
681
  top: '0px'
@@ -737,26 +721,12 @@ const config = {
737
721
  mobile: '12px'
738
722
  },
739
723
  fontWeight: '400',
740
- lineHeight: {
741
- desktop: '180%',
742
- tablet: '180%',
743
- mobile: '180%'
744
- },
745
724
  fontFamily: 'Assistant'
746
725
  }
747
726
  },
748
727
  color: {
749
728
  normal: 'text-2'
750
729
  }
751
- },
752
- advanced: {
753
- 'spacing-setting': {
754
- desktop: {
755
- margin: {
756
- bottom: 'var(--g-s-s)'
757
- }
758
- }
759
- }
760
730
  }
761
731
  }
762
732
  ]
@@ -22,15 +22,6 @@ const ArticleAuthorPresets = [
22
22
  typo: {
23
23
  type: 'paragraph-3'
24
24
  }
25
- },
26
- advanced: {
27
- 'spacing-setting': {
28
- desktop: {
29
- margin: {
30
- bottom: 'var(--g-s-s)'
31
- }
32
- }
33
- }
34
25
  }
35
26
  }
36
27
  ]
@@ -54,12 +54,16 @@ const ArticleAuthorSettings = [
54
54
  id: 'typo',
55
55
  type: 'typography-v2',
56
56
  default: {
57
- type: 'subheading-3'
57
+ type: 'subheading-3',
58
+ custom: {
59
+ lineHeight: {
60
+ desktop: '120%',
61
+ tablet: '120%',
62
+ mobile: '120%'
63
+ }
64
+ }
58
65
  },
59
- ignoreReRender: true,
60
- hiddenSetting: {
61
- color: true
62
- }
66
+ ignoreReRender: true
63
67
  },
64
68
  {
65
69
  id: 'textAlign',
@@ -57,6 +57,22 @@ const uiV2 = [
57
57
  noRecordHistory: true
58
58
  }
59
59
  }
60
+ },
61
+ {
62
+ label: {
63
+ en: 'SEO'
64
+ },
65
+ controls: [
66
+ {
67
+ type: 'control',
68
+ label: {
69
+ en: 'HTML tag'
70
+ },
71
+ setting: {
72
+ id: 'htmlTag'
73
+ }
74
+ }
75
+ ]
60
76
  }
61
77
  ]
62
78
  }
@@ -22,15 +22,6 @@ const ArticleCategoryPresets = [
22
22
  typo: {
23
23
  type: 'paragraph-3'
24
24
  }
25
- },
26
- advanced: {
27
- 'spacing-setting': {
28
- desktop: {
29
- margin: {
30
- bottom: 'var(--g-s-s)'
31
- }
32
- }
33
- }
34
25
  }
35
26
  }
36
27
  ]
@@ -47,12 +47,16 @@ const ArticleCategorySettings = [
47
47
  id: 'typo',
48
48
  type: 'typography-v2',
49
49
  default: {
50
- type: 'subheading-3'
50
+ type: 'subheading-3',
51
+ custom: {
52
+ lineHeight: {
53
+ desktop: '120%',
54
+ tablet: '120%',
55
+ mobile: '120%'
56
+ }
57
+ }
51
58
  },
52
- ignoreReRender: true,
53
- hiddenSetting: {
54
- color: true
55
- }
59
+ ignoreReRender: true
56
60
  },
57
61
  {
58
62
  id: 'textAlign',
@@ -21,15 +21,6 @@ const ArticleDatePresets = [
21
21
  typo: {
22
22
  type: 'paragraph-3'
23
23
  }
24
- },
25
- advanced: {
26
- 'spacing-setting': {
27
- desktop: {
28
- margin: {
29
- bottom: 'var(--g-s-s)'
30
- }
31
- }
32
- }
33
24
  }
34
25
  }
35
26
  ]
@@ -80,12 +80,16 @@ const ArticleDateSettings = [
80
80
  id: 'typo',
81
81
  type: 'typography-v2',
82
82
  default: {
83
- type: 'subheading-3'
83
+ type: 'subheading-3',
84
+ custom: {
85
+ lineHeight: {
86
+ desktop: '120%',
87
+ tablet: '120%',
88
+ mobile: '120%'
89
+ }
90
+ }
84
91
  },
85
- ignoreReRender: true,
86
- hiddenSetting: {
87
- color: true
88
- }
92
+ ignoreReRender: true
89
93
  },
90
94
  {
91
95
  id: 'textAlign',
@@ -48,13 +48,19 @@ const ArticleImageSettings = [
48
48
  }
49
49
  ]
50
50
  },
51
+ {
52
+ id: 'enableLink',
53
+ type: 'toggle',
54
+ label: 'Link',
55
+ default: true
56
+ },
51
57
  {
52
58
  id: 'linkArticle',
53
59
  label: 'After click',
54
60
  type: 'select',
55
61
  options: [
56
62
  {
57
- label: 'Go to article',
63
+ label: 'View article',
58
64
  value: true
59
65
  },
60
66
  {
@@ -64,6 +70,21 @@ const ArticleImageSettings = [
64
70
  ],
65
71
  default: true,
66
72
  info: 'Ability to click on article title to go to article detail page.'
73
+ },
74
+ {
75
+ id: 'openNewTab',
76
+ type: 'segment',
77
+ label: 'Open new tab',
78
+ options: [
79
+ {
80
+ label: 'Yes',
81
+ value: true
82
+ },
83
+ {
84
+ label: 'No',
85
+ value: false
86
+ }
87
+ ]
67
88
  }
68
89
  ]
69
90
  },
@@ -38,6 +38,12 @@ const ArticleTitleSettings = [
38
38
  ],
39
39
  default: 'h1'
40
40
  },
41
+ {
42
+ id: 'enableLink',
43
+ type: 'toggle',
44
+ label: 'Link',
45
+ default: true
46
+ },
41
47
  {
42
48
  id: 'linkArticle',
43
49
  label: 'After click',
@@ -54,6 +60,22 @@ const ArticleTitleSettings = [
54
60
  ],
55
61
  default: true,
56
62
  info: 'Ability to click on article title to go to article detail page.'
63
+ },
64
+ {
65
+ id: 'openNewTab',
66
+ type: 'segment',
67
+ label: 'Open new tab',
68
+ options: [
69
+ {
70
+ label: 'Yes',
71
+ value: true
72
+ },
73
+ {
74
+ label: 'No',
75
+ value: false
76
+ }
77
+ ],
78
+ default: true
57
79
  }
58
80
  ]
59
81
  },
@@ -66,10 +88,7 @@ const ArticleTitleSettings = [
66
88
  default: {
67
89
  type: 'subheading-3'
68
90
  },
69
- ignoreReRender: true,
70
- hiddenSetting: {
71
- color: true
72
- }
91
+ ignoreReRender: true
73
92
  },
74
93
  {
75
94
  id: 'textAlign',
@@ -113,8 +132,18 @@ const ArticleTitleSettings = [
113
132
  },
114
133
  {
115
134
  id: 'hasLineClamp',
116
- type: 'toggle',
135
+ type: 'segment',
117
136
  label: 'Has Line Clamp',
137
+ options: [
138
+ {
139
+ label: 'Yes',
140
+ value: true
141
+ },
142
+ {
143
+ label: 'No',
144
+ value: false
145
+ }
146
+ ],
118
147
  devices: {
119
148
  desktop: {
120
149
  default: false
@@ -123,7 +152,7 @@ const ArticleTitleSettings = [
123
152
  },
124
153
  {
125
154
  id: 'lineClamp',
126
- type: 'input:number',
155
+ type: 'input:stepper',
127
156
  min: 1,
128
157
  label: 'Line Clamp',
129
158
  disableDecimal: true,
@@ -137,7 +166,7 @@ const ArticleTitleSettings = [
137
166
  {
138
167
  id: 'color',
139
168
  label: 'Text Color',
140
- type: 'colorpicker',
169
+ type: 'color-picker-v2',
141
170
  default: {
142
171
  normal: 'text-2'
143
172
  },
@@ -49,8 +49,18 @@ const uiV2 = [
49
49
  {
50
50
  id: 'hasLineClamp',
51
51
  label: {
52
- en: 'Max line'
52
+ en: 'Max lines'
53
53
  },
54
+ setting: {
55
+ id: 'hasLineClamp'
56
+ }
57
+ },
58
+ {
59
+ id: 'lineClamp',
60
+ label: {
61
+ en: 'Number of lines'
62
+ },
63
+ conditionDisplay: 'hasLineClamp === true',
54
64
  setting: {
55
65
  id: 'lineClamp'
56
66
  }
@@ -75,16 +85,51 @@ const uiV2 = [
75
85
  },
76
86
  {
77
87
  label: {
78
- en: 'Redirect to'
88
+ en: 'SEO'
79
89
  },
80
90
  controls: [
81
91
  {
92
+ type: 'control',
93
+ label: {
94
+ en: 'HTML tag'
95
+ },
96
+ setting: {
97
+ id: 'htmlTag'
98
+ }
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ controls: [
104
+ {
105
+ label: {
106
+ en: 'Link'
107
+ },
108
+ setting: {
109
+ id: 'enableLink'
110
+ },
111
+ options: {
112
+ labelVariant: 'primary',
113
+ toggleStyle: 'switch'
114
+ }
115
+ },
116
+ {
117
+ conditionDisplay: 'enableLink === true',
82
118
  label: {
83
119
  en: 'After click'
84
120
  },
85
121
  setting: {
86
122
  id: 'linkArticle'
87
123
  }
124
+ },
125
+ {
126
+ conditionDisplay: 'enableLink === true',
127
+ label: {
128
+ en: 'Open new tab'
129
+ },
130
+ setting: {
131
+ id: 'openNewTab'
132
+ }
88
133
  }
89
134
  ]
90
135
  }
@@ -40,6 +40,20 @@ const heroBanner1Col = {
40
40
  contentWidth: {
41
41
  desktop: '1200px'
42
42
  },
43
+ sizeSetting: {
44
+ desktop: {
45
+ shape: 'custom',
46
+ widthHeightLinked: false,
47
+ width: '100%',
48
+ height: '600px'
49
+ },
50
+ mobile: {
51
+ shape: 'custom',
52
+ widthHeightLinked: false,
53
+ width: '1200px',
54
+ height: '600px'
55
+ }
56
+ },
43
57
  background: {
44
58
  desktop: {
45
59
  image: {
@@ -46,6 +46,19 @@ const heroBannerContentLeft = {
46
46
  contentWidth: {
47
47
  desktop: '1200px'
48
48
  },
49
+ sizeSetting: {
50
+ desktop: {
51
+ shape: 'original',
52
+ widthHeightLinked: true,
53
+ width: '100%'
54
+ },
55
+ mobile: {
56
+ shape: 'custom',
57
+ widthHeightLinked: false,
58
+ width: '100%',
59
+ height: 'auto'
60
+ }
61
+ },
49
62
  background: {
50
63
  desktop: {
51
64
  image: {
@@ -55,6 +55,18 @@ const heroBannerContentRight = {
55
55
  contentWidth: {
56
56
  desktop: '1200px'
57
57
  },
58
+ sizeSetting: {
59
+ desktop: {
60
+ shape: 'original',
61
+ widthHeightLinked: true,
62
+ width: '100%'
63
+ },
64
+ mobile: {
65
+ shape: 'original',
66
+ widthHeightLinked: true,
67
+ width: '100%'
68
+ }
69
+ },
58
70
  background: {
59
71
  desktop: {
60
72
  image: {
@@ -40,6 +40,20 @@ const heroBannerParallax = {
40
40
  contentWidth: {
41
41
  desktop: '1200px'
42
42
  },
43
+ sizeSetting: {
44
+ desktop: {
45
+ shape: 'custom',
46
+ widthHeightLinked: false,
47
+ width: '100%',
48
+ height: '600px'
49
+ },
50
+ mobile: {
51
+ shape: 'custom',
52
+ widthHeightLinked: false,
53
+ width: '1200px',
54
+ height: '600px'
55
+ }
56
+ },
43
57
  background: {
44
58
  desktop: {
45
59
  image: {
@@ -400,16 +400,18 @@ const SettingsV1 = [
400
400
  devices: {
401
401
  desktop: {
402
402
  default: {
403
- shape: 'original',
403
+ shape: 'custom',
404
404
  widthHeightLinked: false,
405
- width: '100%'
405
+ width: '100%',
406
+ height: '600px'
406
407
  }
407
408
  },
408
409
  mobile: {
409
410
  default: {
410
411
  shape: 'custom',
411
- height: '500px',
412
- width: '100%'
412
+ widthHeightLinked: false,
413
+ width: '1200px',
414
+ height: '600px'
413
415
  }
414
416
  }
415
417
  },
@@ -781,20 +783,6 @@ const SettingsV1 = [
781
783
  hover: true
782
784
  }
783
785
  },
784
- {
785
- id: 'borderBg',
786
- type: 'border',
787
- label: 'Border',
788
- default: {
789
- borderType: 'style-1',
790
- border: 'solid',
791
- width: '0px 0px 0px 0px',
792
- position: 'all',
793
- borderWidth: '0px',
794
- color: '#000000',
795
- isCustom: true
796
- }
797
- },
798
786
  {
799
787
  id: 'cornerBg',
800
788
  type: 'radius-preset',
@@ -410,8 +410,7 @@ const SettingUIV1 = [
410
410
  },
411
411
  setting: {
412
412
  id: 'speedParallax'
413
- },
414
- condition: 'enableParallax == true'
413
+ }
415
414
  }
416
415
  ]
417
416
  },
@@ -100,10 +100,10 @@ const SettingUIV2 = [
100
100
  type: 'padding-v2',
101
101
  compoDefaultValue: {
102
102
  default: {
103
- top: '4px',
104
- right: '16px',
105
- bottom: '4px',
106
- left: '16px',
103
+ top: '80px',
104
+ right: '0px',
105
+ bottom: '80px',
106
+ left: '0px',
107
107
  linked: false
108
108
  }
109
109
  }
@@ -196,7 +196,6 @@ const SettingUIV2 = [
196
196
  },
197
197
  iconName: 'polaris-star',
198
198
  getValueFromSettingID: 'speedParallax',
199
- isHideClear: true,
200
199
  controls: [
201
200
  {
202
201
  layout: 'vertical',
@@ -119,6 +119,7 @@ import GloColorSwatchvariantImage from './third-party/components/GloColorSwatchv
119
119
  import BfSizeChartSizeGuide from './third-party/components/BfSizeChartSizeGuide.js';
120
120
  import AlsoBoughtCbb from './third-party/components/AlsoBoughtCbb.js';
121
121
  import HextomFreeShippingBar from './third-party/components/HextomFreeShippingBar.js';
122
+ import EcoboostifyShoppableReelUgc from './third-party/components/EcoboostifyShoppableReelUgc.js';
122
123
  import CartLineVariant from './cart/components/CartLineVariant.js';
123
124
  import Cart from './cart/components/Cart.js';
124
125
  import CartList from './cart/components/CartList.js';
@@ -155,7 +156,7 @@ import Icon from './icon/components/Icon.js';
155
156
  import Image from './image/components/Image.js';
156
157
  import ImageComparison from './image-comparison/components/ImageComparison.js';
157
158
  import Input from './input/Input.js';
158
- import Line from './line/Line.js';
159
+ import Line from './line/components/Line.js';
159
160
  import Link from './link/components/Link.js';
160
161
  import './modal/components/confirm.js';
161
162
  import Modal from './modal/components/Modal.js';
@@ -238,6 +239,7 @@ import TextField from './form/components/textfield/TextField.js';
238
239
  import FormTextArea from './form/components/textarea/TextArea.js';
239
240
  import FormDropdown from './form/components/form-dropdown/FormDropdown.js';
240
241
  import FormCheckbox from './form/components/form-checkbox/FormCheckbox.js';
242
+ import TextInput from './form/components/textinput/TextInput.js';
241
243
  import Sticky from './sticky/components/Sticky.js';
242
244
  import Marquee from './marquee/components/Marquee.js';
243
245
  import MarqueeItem from './marquee/components/MarqueeItem.js';
@@ -448,6 +450,7 @@ var builder = {
448
450
  FormEmail,
449
451
  SubmitButton,
450
452
  TextField,
453
+ TextInput,
451
454
  FormTextarea: FormTextArea,
452
455
  FormDropdown,
453
456
  FormCheckbox,
@@ -500,7 +503,8 @@ var builder = {
500
503
  GloColorSwatchvariantImage,
501
504
  BfSizeChartSizeGuide,
502
505
  AlsoBoughtCbb,
503
- HextomFreeShippingBar
506
+ HextomFreeShippingBar,
507
+ EcoboostifyShoppableReelUgc
504
508
  };
505
509
 
506
510
  export { builder as default };
@@ -23,7 +23,7 @@ const Button = (props)=>{
23
23
  });
24
24
  const ButtonWrapper = getButtonWrapper(HTMLTag, isScrollToElement);
25
25
  const buttonStyles = createStyle({
26
- ...getButtonStyles(styles, nodePrice)
26
+ ...getButtonStyles(styles)
27
27
  });
28
28
  const buttonIconStyles = createStyle({
29
29
  ...getButtonIconStyles(styles, setting)
@@ -22,7 +22,7 @@ const Button = (props)=>{
22
22
  });
23
23
  const ButtonWrapper = getButtonWrapper(HTMLTag, isScrollToElement);
24
24
  const buttonStyles = createStyle({
25
- ...getButtonStyles(styles, nodePrice)
25
+ ...getButtonStyles(styles)
26
26
  });
27
27
  const buttonIconStyles = createStyle({
28
28
  ...getButtonIconStyles(styles, setting)
@@ -1,5 +1,7 @@
1
+ import { template } from '@gem-sdk/core';
2
+
1
3
  const ButtonIcon = ({ iconSvg, classes, styles })=>{
2
- return `
4
+ return template`
3
5
  <span
4
6
  style="${styles}"
5
7
  class="${classes}"
@@ -1,5 +1,7 @@
1
+ import { template } from '@gem-sdk/core';
2
+
1
3
  const ButtonLabel = ({ label, classes })=>{
2
- return `
4
+ return template`
3
5
  <span
4
6
  data-gp-text
5
7
  class="${classes}"
@@ -1,8 +1,8 @@
1
1
  const getButtonAttributes = ({ dataId, disabled, urlData, dataState, arialLabel })=>{
2
2
  return {
3
3
  ...urlData,
4
- ...disabled !== undefined && {
5
- disabled: disabled
4
+ ...!!disabled && {
5
+ disabled
6
6
  },
7
7
  'data-id': dataId,
8
8
  'data-state': dataState,