@gem-sdk/components 2.0.0-dev.247 → 2.0.0-dev.249

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 (167) hide show
  1. package/dist/cjs/accordion/setting/configs/settings.js +10 -7
  2. package/dist/cjs/article/setting/configs/ArticleAuthor/settings.js +9 -5
  3. package/dist/cjs/article/setting/configs/ArticleCategory/settings.js +9 -5
  4. package/dist/cjs/article/setting/configs/ArticleContent/settings.js +9 -5
  5. package/dist/cjs/article/setting/configs/ArticleDate/settings.js +9 -5
  6. package/dist/cjs/article/setting/configs/ArticleExerpt/settings.js +9 -5
  7. package/dist/cjs/article/setting/configs/ArticleImage/settings.js +7 -4
  8. package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +17 -11
  9. package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +4 -0
  10. package/dist/cjs/article/setting/configs/ArticleTag/settings.js +9 -5
  11. package/dist/cjs/article/setting/configs/ArticleTitle/settings.js +9 -5
  12. package/dist/cjs/breadcrumb/setting/configs/settings.js +11 -5
  13. package/dist/cjs/breadcrumb/setting/configs/uiV2.js +2 -1
  14. package/dist/cjs/button/setting/configs/settings.js +18 -11
  15. package/dist/cjs/button/setting/configs/uiV2.js +2 -1
  16. package/dist/cjs/collection/setting/collection-banner/configs/settings.js +10 -7
  17. package/dist/cjs/collection/setting/collection-description/configs/settings.js +10 -6
  18. package/dist/cjs/collection/setting/collection-description/configs/uiV2.js +2 -1
  19. package/dist/cjs/collection/setting/collection-paginator/configs/settings.js +9 -6
  20. package/dist/cjs/collection/setting/collection-title/configs/settings.js +9 -5
  21. package/dist/cjs/collection/setting/collection-toolbar/configs/settings.js +8 -5
  22. package/dist/cjs/collection/setting/collection-toolbar/configs/uiV2.js +2 -1
  23. package/dist/cjs/countdown-timer/setting/configs/settings.js +13 -10
  24. package/dist/cjs/estimate-delivery/setting/configs/settings.js +9 -6
  25. package/dist/cjs/form/setting/form-checkbox/configs/settings.js +7 -4
  26. package/dist/cjs/form/setting/form-dropdown/configs/settings.js +7 -4
  27. package/dist/cjs/form/setting/form-email/configs/settings.js +7 -4
  28. package/dist/cjs/form/setting/form-textarea/configs/settings.js +7 -4
  29. package/dist/cjs/form/setting/submit-button/configs/settings.js +3 -3
  30. package/dist/cjs/form/setting/submit-button/configs/uiV2.js +2 -1
  31. package/dist/cjs/form/setting/text-field/configs/settings.js +7 -4
  32. package/dist/cjs/grid/setting/row/configs/settings.js +12 -8
  33. package/dist/cjs/grid/setting/section/configs/settings.js +12 -8
  34. package/dist/cjs/heading/setting/configs/settings.js +16 -9
  35. package/dist/cjs/icon/setting/configs/settings.js +7 -4
  36. package/dist/cjs/icon-list/setting/configs/settings.js +7 -4
  37. package/dist/cjs/icon-list-hoz/setting/configs/settings.js +8 -5
  38. package/dist/cjs/icon-list-v2/setting/configs/settings.js +7 -4
  39. package/dist/cjs/image/setting/configs/settings.js +7 -4
  40. package/dist/cjs/image-comparison/setting/configs/settings.js +12 -9
  41. package/dist/cjs/image-comparison/setting/configs/uiV2.js +2 -1
  42. package/dist/cjs/line/setting/configs/settings.js +19 -10
  43. package/dist/cjs/marquee/setting/configs/settings.js +8 -5
  44. package/dist/cjs/marquee/setting/configs/settingsV2.js +1 -1
  45. package/dist/cjs/marquee/setting/configs/uiV2.js +2 -1
  46. package/dist/cjs/post-purchase/advanced-list/setting/configs/settings.js +7 -4
  47. package/dist/cjs/post-purchase/button/setting/configs/settings.js +2 -2
  48. package/dist/cjs/post-purchase/callout-banner/setting/config/callout-text/setting.js +21 -3
  49. package/dist/cjs/post-purchase/image/setting/setting-v2.js +8 -5
  50. package/dist/cjs/post-purchase/line/setting/configs/settings.js +17 -8
  51. package/dist/cjs/post-purchase/link/setting/configs/settings.js +8 -5
  52. package/dist/cjs/post-purchase/product/settings/accept-button/configs/settings.js +2 -2
  53. package/dist/cjs/post-purchase/product/settings/product-description/settingV2.js +1 -1
  54. package/dist/cjs/post-purchase/product/settings/product-discount-tag/settingV2.js +1 -1
  55. package/dist/cjs/post-purchase/product/settings/product-price/settingV2.js +2 -2
  56. package/dist/cjs/post-purchase/product/settings/product-price-breakdown/configs/settings.js +2 -2
  57. package/dist/cjs/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
  58. package/dist/cjs/post-purchase/product/settings/product-title/settingV2.js +1 -1
  59. package/dist/cjs/post-purchase/text/settings/text/settingV2.js +9 -6
  60. package/dist/cjs/product/setting/dynamic-checkout/configs/settings.js +7 -4
  61. package/dist/cjs/product/setting/product/configs/settings.js +12 -8
  62. package/dist/cjs/product/setting/product-badge/configs/settings.js +7 -4
  63. package/dist/cjs/product/setting/product-button/configs/settings.js +5 -5
  64. package/dist/cjs/product/setting/product-button/configs/uiV2.js +4 -2
  65. package/dist/cjs/product/setting/product-description/configs/settings.js +3 -3
  66. package/dist/cjs/product/setting/product-description/configs/uiV2.js +2 -1
  67. package/dist/cjs/product/setting/product-image-v2/configs/settings.js +1 -1
  68. package/dist/cjs/product/setting/product-list/configs/settings.js +8 -5
  69. package/dist/cjs/product/setting/product-list/configs/settingsV2.js +2 -2
  70. package/dist/cjs/product/setting/product-list/configs/uiV2.js +2 -1
  71. package/dist/cjs/product/setting/product-price/configs/settings.js +8 -5
  72. package/dist/cjs/product/setting/product-properties/configs/settings.js +7 -4
  73. package/dist/cjs/product/setting/product-quantity/configs/settings.js +8 -5
  74. package/dist/cjs/product/setting/product-sku/configs/settings.js +1 -1
  75. package/dist/cjs/product/setting/product-title/configs/settings.js +11 -7
  76. package/dist/cjs/product/setting/product-title/configs/uiV2.js +2 -1
  77. package/dist/cjs/product/setting/product-vendor/configs/settings.js +3 -3
  78. package/dist/cjs/product/setting/product-vendor/configs/uiV2.js +2 -1
  79. package/dist/cjs/product/setting/product-view-more/configs/settings.js +12 -6
  80. package/dist/cjs/stock-counter/setting/configs/settings.js +9 -6
  81. package/dist/cjs/stock-counter/setting/configs/uiV2.js +2 -1
  82. package/dist/cjs/tab/setting/configs/settings.js +8 -5
  83. package/dist/cjs/text/setting/configs/settings.js +8 -5
  84. package/dist/esm/accordion/setting/configs/settings.js +10 -7
  85. package/dist/esm/article/setting/configs/ArticleAuthor/settings.js +9 -5
  86. package/dist/esm/article/setting/configs/ArticleCategory/settings.js +9 -5
  87. package/dist/esm/article/setting/configs/ArticleContent/settings.js +9 -5
  88. package/dist/esm/article/setting/configs/ArticleDate/settings.js +9 -5
  89. package/dist/esm/article/setting/configs/ArticleExerpt/settings.js +9 -5
  90. package/dist/esm/article/setting/configs/ArticleImage/settings.js +7 -4
  91. package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +17 -11
  92. package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +4 -0
  93. package/dist/esm/article/setting/configs/ArticleTag/settings.js +9 -5
  94. package/dist/esm/article/setting/configs/ArticleTitle/settings.js +9 -5
  95. package/dist/esm/breadcrumb/setting/configs/settings.js +11 -5
  96. package/dist/esm/breadcrumb/setting/configs/uiV2.js +2 -1
  97. package/dist/esm/button/setting/configs/settings.js +18 -11
  98. package/dist/esm/button/setting/configs/uiV2.js +2 -1
  99. package/dist/esm/collection/setting/collection-banner/configs/settings.js +10 -7
  100. package/dist/esm/collection/setting/collection-description/configs/settings.js +10 -6
  101. package/dist/esm/collection/setting/collection-description/configs/uiV2.js +2 -1
  102. package/dist/esm/collection/setting/collection-paginator/configs/settings.js +9 -6
  103. package/dist/esm/collection/setting/collection-title/configs/settings.js +9 -5
  104. package/dist/esm/collection/setting/collection-toolbar/configs/settings.js +8 -5
  105. package/dist/esm/collection/setting/collection-toolbar/configs/uiV2.js +2 -1
  106. package/dist/esm/countdown-timer/setting/configs/settings.js +13 -10
  107. package/dist/esm/estimate-delivery/setting/configs/settings.js +9 -6
  108. package/dist/esm/form/setting/form-checkbox/configs/settings.js +7 -4
  109. package/dist/esm/form/setting/form-dropdown/configs/settings.js +7 -4
  110. package/dist/esm/form/setting/form-email/configs/settings.js +7 -4
  111. package/dist/esm/form/setting/form-textarea/configs/settings.js +7 -4
  112. package/dist/esm/form/setting/submit-button/configs/settings.js +3 -3
  113. package/dist/esm/form/setting/submit-button/configs/uiV2.js +2 -1
  114. package/dist/esm/form/setting/text-field/configs/settings.js +7 -4
  115. package/dist/esm/grid/setting/row/configs/settings.js +12 -8
  116. package/dist/esm/grid/setting/section/configs/settings.js +12 -8
  117. package/dist/esm/heading/setting/configs/settings.js +16 -9
  118. package/dist/esm/icon/setting/configs/settings.js +7 -4
  119. package/dist/esm/icon-list/setting/configs/settings.js +7 -4
  120. package/dist/esm/icon-list-hoz/setting/configs/settings.js +8 -5
  121. package/dist/esm/icon-list-v2/setting/configs/settings.js +7 -4
  122. package/dist/esm/image/setting/configs/settings.js +7 -4
  123. package/dist/esm/image-comparison/setting/configs/settings.js +12 -9
  124. package/dist/esm/image-comparison/setting/configs/uiV2.js +2 -1
  125. package/dist/esm/line/setting/configs/settings.js +19 -10
  126. package/dist/esm/marquee/setting/configs/settings.js +8 -5
  127. package/dist/esm/marquee/setting/configs/settingsV2.js +1 -1
  128. package/dist/esm/marquee/setting/configs/uiV2.js +2 -1
  129. package/dist/esm/post-purchase/advanced-list/setting/configs/settings.js +7 -4
  130. package/dist/esm/post-purchase/button/setting/configs/settings.js +2 -2
  131. package/dist/esm/post-purchase/callout-banner/setting/config/callout-text/setting.js +21 -3
  132. package/dist/esm/post-purchase/image/setting/setting-v2.js +8 -5
  133. package/dist/esm/post-purchase/line/setting/configs/settings.js +17 -8
  134. package/dist/esm/post-purchase/link/setting/configs/settings.js +8 -5
  135. package/dist/esm/post-purchase/product/settings/accept-button/configs/settings.js +2 -2
  136. package/dist/esm/post-purchase/product/settings/product-description/settingV2.js +1 -1
  137. package/dist/esm/post-purchase/product/settings/product-discount-tag/settingV2.js +1 -1
  138. package/dist/esm/post-purchase/product/settings/product-price/settingV2.js +2 -2
  139. package/dist/esm/post-purchase/product/settings/product-price-breakdown/configs/settings.js +2 -2
  140. package/dist/esm/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
  141. package/dist/esm/post-purchase/product/settings/product-title/settingV2.js +1 -1
  142. package/dist/esm/post-purchase/text/settings/text/settingV2.js +9 -6
  143. package/dist/esm/product/setting/dynamic-checkout/configs/settings.js +7 -4
  144. package/dist/esm/product/setting/product/configs/settings.js +12 -8
  145. package/dist/esm/product/setting/product-badge/configs/settings.js +7 -4
  146. package/dist/esm/product/setting/product-button/configs/settings.js +5 -5
  147. package/dist/esm/product/setting/product-button/configs/uiV2.js +4 -2
  148. package/dist/esm/product/setting/product-description/configs/settings.js +3 -3
  149. package/dist/esm/product/setting/product-description/configs/uiV2.js +2 -1
  150. package/dist/esm/product/setting/product-image-v2/configs/settings.js +1 -1
  151. package/dist/esm/product/setting/product-list/configs/settings.js +8 -5
  152. package/dist/esm/product/setting/product-list/configs/settingsV2.js +2 -2
  153. package/dist/esm/product/setting/product-list/configs/uiV2.js +2 -1
  154. package/dist/esm/product/setting/product-price/configs/settings.js +8 -5
  155. package/dist/esm/product/setting/product-properties/configs/settings.js +7 -4
  156. package/dist/esm/product/setting/product-quantity/configs/settings.js +8 -5
  157. package/dist/esm/product/setting/product-sku/configs/settings.js +1 -1
  158. package/dist/esm/product/setting/product-title/configs/settings.js +11 -7
  159. package/dist/esm/product/setting/product-title/configs/uiV2.js +2 -1
  160. package/dist/esm/product/setting/product-vendor/configs/settings.js +3 -3
  161. package/dist/esm/product/setting/product-vendor/configs/uiV2.js +2 -1
  162. package/dist/esm/product/setting/product-view-more/configs/settings.js +12 -6
  163. package/dist/esm/stock-counter/setting/configs/settings.js +9 -6
  164. package/dist/esm/stock-counter/setting/configs/uiV2.js +2 -1
  165. package/dist/esm/tab/setting/configs/settings.js +8 -5
  166. package/dist/esm/text/setting/configs/settings.js +8 -5
  167. package/package.json +2 -2
@@ -20,7 +20,7 @@ const CollectionBannerSettings = [
20
20
  },
21
21
  {
22
22
  id: 'horizontalAlign',
23
- type: 'segment',
23
+ type: 'option:value',
24
24
  options: [
25
25
  {
26
26
  label: 'Start',
@@ -30,7 +30,8 @@ const CollectionBannerSettings = [
30
30
  <path fill-rule="evenodd" clip-rule="evenodd" d="M2.91699 5C2.91699 4.17157 3.58857 3.5 4.41699 3.5H9.41699C10.2454 3.5 10.917 4.17157 10.917 5V6C10.917 6.82843 10.2454 7.5 9.41699 7.5H4.41699C3.58857 7.5 2.91699 6.82843 2.91699 6V5ZM4.41699 4.5C4.14085 4.5 3.91699 4.72386 3.91699 5V6C3.91699 6.27614 4.14085 6.5 4.41699 6.5H9.41699C9.69314 6.5 9.91699 6.27614 9.91699 6V5C9.91699 4.72386 9.69314 4.5 9.41699 4.5H4.41699Z" fill="currentColor"/>
31
31
  <path fill-rule="evenodd" clip-rule="evenodd" d="M4.41699 8.5C3.58857 8.5 2.91699 9.17157 2.91699 10V11C2.91699 11.8284 3.58857 12.5 4.41699 12.5H12.417C13.2454 12.5 13.917 11.8284 13.917 11V10C13.917 9.17157 13.2454 8.5 12.417 8.5H4.41699ZM3.91699 10C3.91699 9.72386 4.14085 9.5 4.41699 9.5H12.417C12.6931 9.5 12.917 9.72386 12.917 10V11C12.917 11.2761 12.6931 11.5 12.417 11.5H4.41699C4.14085 11.5 3.91699 11.2761 3.91699 11V10Z" fill="currentColor"/>
32
32
  </svg>
33
- `
33
+ `,
34
+ iconName: 'gp-justify-content-top'
34
35
  },
35
36
  {
36
37
  label: 'Center',
@@ -38,7 +39,8 @@ const CollectionBannerSettings = [
38
39
  icon: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
39
40
  <path fill-rule="evenodd" clip-rule="evenodd" d="M8 1C8.27614 1 8.5 1.22386 8.5 1.5V3.5H10.5C11.3284 3.5 12 4.17157 12 5V6C12 6.82843 11.3284 7.5 10.5 7.5H8.5V8.5H12C12.8284 8.5 13.5 9.17157 13.5 10V11C13.5 11.8284 12.8284 12.5 12 12.5H8.5V14.5C8.5 14.7761 8.27614 15 8 15C7.72386 15 7.5 14.7761 7.5 14.5V12.5H4C3.17157 12.5 2.5 11.8284 2.5 11V10C2.5 9.17157 3.17157 8.5 4 8.5H7.5V7.5H5.5C4.67157 7.5 4 6.82843 4 6V5C4 4.17157 4.67157 3.5 5.5 3.5H7.5V1.5C7.5 1.22386 7.72386 1 8 1ZM12 11.5C12.2761 11.5 12.5 11.2761 12.5 11V10C12.5 9.72386 12.2761 9.5 12 9.5H4C3.72386 9.5 3.5 9.72386 3.5 10V11C3.5 11.2761 3.72386 11.5 4 11.5H12ZM10.5 6.5H5.5C5.22386 6.5 5 6.27614 5 6V5C5 4.72386 5.22386 4.5 5.5 4.5H10.5C10.7761 4.5 11 4.72386 11 5V6C11 6.27614 10.7761 6.5 10.5 6.5Z" fill="currentColor"/>
40
41
  </svg>
41
- `
42
+ `,
43
+ iconName: 'gp-justify-content-center'
42
44
  },
43
45
  {
44
46
  label: 'End',
@@ -48,7 +50,8 @@ const CollectionBannerSettings = [
48
50
  <path fill-rule="evenodd" clip-rule="evenodd" d="M5.08398 6C5.08398 6.82843 5.75556 7.5 6.58398 7.5H11.584C12.4124 7.5 13.084 6.82843 13.084 6V5C13.084 4.17157 12.4124 3.5 11.584 3.5L6.58398 3.5C5.75556 3.5 5.08398 4.17157 5.08398 5V6ZM6.58398 6.5C6.30784 6.5 6.08398 6.27614 6.08398 6V5C6.08398 4.72386 6.30784 4.5 6.58398 4.5L11.584 4.5C11.8601 4.5 12.084 4.72386 12.084 5V6C12.084 6.27614 11.8601 6.5 11.584 6.5H6.58398Z" fill="currentColor"/>
49
51
  <path fill-rule="evenodd" clip-rule="evenodd" d="M3.58398 12.5C2.75556 12.5 2.08398 11.8284 2.08398 11L2.08398 10C2.08398 9.17157 2.75556 8.5 3.58398 8.5H11.584C12.4124 8.5 13.084 9.17157 13.084 10V11C13.084 11.8284 12.4124 12.5 11.584 12.5L3.58398 12.5ZM3.08398 11C3.08398 11.2761 3.30784 11.5 3.58398 11.5L11.584 11.5C11.8601 11.5 12.084 11.2761 12.084 11V10C12.084 9.72386 11.8601 9.5 11.584 9.5L3.58398 9.5C3.30784 9.5 3.08398 9.72386 3.08398 10L3.08398 11Z" fill="currentColor"/>
50
52
  </svg>
51
- `
53
+ `,
54
+ iconName: 'gp-justify-content-bottom'
52
55
  }
53
56
  ],
54
57
  devices: {
@@ -59,7 +62,7 @@ const CollectionBannerSettings = [
59
62
  },
60
63
  {
61
64
  id: 'verticalAlign',
62
- type: 'segment',
65
+ type: 'option:value',
63
66
  options: [
64
67
  {
65
68
  label: 'Start',
@@ -139,7 +142,7 @@ const CollectionBannerSettings = [
139
142
  {
140
143
  id: 'contentPosition',
141
144
  label: 'Content Position',
142
- type: 'segment',
145
+ type: 'option:value',
143
146
  options: [
144
147
  {
145
148
  label: 'Left',
@@ -238,7 +241,7 @@ const CollectionBannerSettings = [
238
241
  {
239
242
  id: 'hoverEffect',
240
243
  label: 'Hover effect',
241
- type: 'segment',
244
+ type: 'option:value',
242
245
  options: [
243
246
  {
244
247
  label: 'None',
@@ -29,7 +29,7 @@ const CollectionDescriptionSettings = [
29
29
  {
30
30
  id: 'hasLineClamp',
31
31
  label: 'Enable View More',
32
- type: 'switch',
32
+ type: 'toggle',
33
33
  devices: {
34
34
  desktop: {
35
35
  default: true
@@ -83,31 +83,35 @@ const CollectionDescriptionSettings = [
83
83
  {
84
84
  id: 'textAlign',
85
85
  label: 'Align',
86
- type: 'segment',
86
+ type: 'option:value',
87
87
  options: [
88
88
  {
89
89
  label: 'Left',
90
90
  value: 'left',
91
91
  type: 'text',
92
- tooltip: 'Align left'
92
+ tooltip: 'Align left',
93
+ iconName: 'gp-text-align-left'
93
94
  },
94
95
  {
95
96
  label: 'Center',
96
97
  value: 'center',
97
98
  type: 'text',
98
- tooltip: 'Align center'
99
+ tooltip: 'Align center',
100
+ iconName: 'gp-text-align-center'
99
101
  },
100
102
  {
101
103
  label: 'Right',
102
104
  value: 'right',
103
105
  type: 'text',
104
- tooltip: 'Align right'
106
+ tooltip: 'Align right',
107
+ iconName: 'gp-text-align-right'
105
108
  },
106
109
  {
107
110
  label: 'Justify',
108
111
  value: 'justify',
109
112
  type: 'text',
110
- tooltip: 'Align justify'
113
+ tooltip: 'Align justify',
114
+ iconName: 'gp-text-align-justify'
111
115
  }
112
116
  ],
113
117
  devices: {
@@ -53,7 +53,8 @@ const SettingUIV2 = [
53
53
  id: 'hasLineClamp'
54
54
  },
55
55
  options: {
56
- labelVariant: 'primary'
56
+ labelVariant: 'primary',
57
+ toggleStyle: 'switch'
57
58
  }
58
59
  },
59
60
  {
@@ -19,7 +19,7 @@ const CollectionPaginatorSettings = [
19
19
  },
20
20
  {
21
21
  id: 'layout',
22
- type: 'segment',
22
+ type: 'option:value',
23
23
  label: 'Display',
24
24
  options: [
25
25
  {
@@ -35,7 +35,7 @@ const CollectionPaginatorSettings = [
35
35
  },
36
36
  {
37
37
  id: 'buttonShape',
38
- type: 'segment',
38
+ type: 'option:value',
39
39
  label: 'Button shape',
40
40
  options: [
41
41
  {
@@ -123,7 +123,7 @@ const CollectionPaginatorSettings = [
123
123
  {
124
124
  id: 'align',
125
125
  label: 'Alignment',
126
- type: 'segment',
126
+ type: 'option:value',
127
127
  devices: {
128
128
  desktop: {
129
129
  default: 'center'
@@ -134,19 +134,22 @@ const CollectionPaginatorSettings = [
134
134
  label: 'Left',
135
135
  value: 'left',
136
136
  type: 'align',
137
- tooltip: 'Align left'
137
+ tooltip: 'Align left',
138
+ iconName: 'gp-align-left'
138
139
  },
139
140
  {
140
141
  label: 'Center',
141
142
  value: 'center',
142
143
  type: 'align',
143
- tooltip: 'Align center'
144
+ tooltip: 'Align center',
145
+ iconName: 'gp-align-center'
144
146
  },
145
147
  {
146
148
  label: 'Right',
147
149
  value: 'right',
148
150
  type: 'align',
149
- tooltip: 'Align right'
151
+ tooltip: 'Align right',
152
+ iconName: 'gp-align-right'
150
153
  }
151
154
  ]
152
155
  }
@@ -29,31 +29,35 @@ const CollectionTitleSettings = [
29
29
  {
30
30
  id: 'textAlign',
31
31
  label: 'Align',
32
- type: 'segment',
32
+ type: 'option:value',
33
33
  options: [
34
34
  {
35
35
  label: 'Left',
36
36
  value: 'left',
37
37
  type: 'text',
38
- tooltip: 'Align left'
38
+ tooltip: 'Align left',
39
+ iconName: 'gp-text-align-left'
39
40
  },
40
41
  {
41
42
  label: 'Center',
42
43
  value: 'center',
43
44
  type: 'text',
44
- tooltip: 'Align center'
45
+ tooltip: 'Align center',
46
+ iconName: 'gp-text-align-center'
45
47
  },
46
48
  {
47
49
  label: 'Right',
48
50
  value: 'right',
49
51
  type: 'text',
50
- tooltip: 'Align right'
52
+ tooltip: 'Align right',
53
+ iconName: 'gp-text-align-right'
51
54
  },
52
55
  {
53
56
  label: 'Justify',
54
57
  value: 'justify',
55
58
  type: 'text',
56
- tooltip: 'Align justify'
59
+ tooltip: 'Align justify',
60
+ iconName: 'gp-text-align-justify'
57
61
  }
58
62
  ],
59
63
  devices: {
@@ -12,7 +12,7 @@ const CollectionToolbarSettings = [
12
12
  },
13
13
  {
14
14
  id: 'displayQuantity',
15
- type: 'switch',
15
+ type: 'toggle',
16
16
  label: 'Quantity text',
17
17
  default: true
18
18
  },
@@ -111,7 +111,7 @@ const CollectionToolbarSettings = [
111
111
  {
112
112
  id: 'align',
113
113
  label: 'Alignment',
114
- type: 'segment',
114
+ type: 'option:value',
115
115
  devices: {
116
116
  desktop: {
117
117
  default: 'left'
@@ -122,19 +122,22 @@ const CollectionToolbarSettings = [
122
122
  label: 'Left',
123
123
  value: 'left',
124
124
  type: 'align',
125
- tooltip: 'Align left'
125
+ tooltip: 'Align left',
126
+ iconName: 'gp-align-left'
126
127
  },
127
128
  {
128
129
  label: 'Center',
129
130
  value: 'center',
130
131
  type: 'align',
131
- tooltip: 'Align center'
132
+ tooltip: 'Align center',
133
+ iconName: 'gp-align-center'
132
134
  },
133
135
  {
134
136
  label: 'Right',
135
137
  value: 'right',
136
138
  type: 'align',
137
- tooltip: 'Align right'
139
+ tooltip: 'Align right',
140
+ iconName: 'gp-align-right'
138
141
  }
139
142
  ]
140
143
  }
@@ -42,7 +42,8 @@ const SettingUIV2 = [
42
42
  id: 'displayQuantity'
43
43
  },
44
44
  options: {
45
- labelVariant: 'primary'
45
+ labelVariant: 'primary',
46
+ toggleStyle: 'switch'
46
47
  }
47
48
  },
48
49
  {
@@ -12,7 +12,7 @@ const CountdownSettings = [
12
12
  type: 'group',
13
13
  controls: [
14
14
  {
15
- id: 'segment',
15
+ id: 'option:value',
16
16
  type: 'group',
17
17
  controls: [
18
18
  {
@@ -238,7 +238,7 @@ const CountdownSettings = [
238
238
  {
239
239
  id: 'enableDay',
240
240
  label: 'Day',
241
- type: 'segment',
241
+ type: 'option:value',
242
242
  default: true,
243
243
  options: [
244
244
  {
@@ -261,7 +261,7 @@ const CountdownSettings = [
261
261
  {
262
262
  id: 'enableHour',
263
263
  label: 'Hour',
264
- type: 'segment',
264
+ type: 'option:value',
265
265
  default: true,
266
266
  options: [
267
267
  {
@@ -284,7 +284,7 @@ const CountdownSettings = [
284
284
  {
285
285
  id: 'enableMinute',
286
286
  label: 'Minute',
287
- type: 'segment',
287
+ type: 'option:value',
288
288
  default: true,
289
289
  options: [
290
290
  {
@@ -307,7 +307,7 @@ const CountdownSettings = [
307
307
  {
308
308
  id: 'enableSecond',
309
309
  label: 'Second',
310
- type: 'segment',
310
+ type: 'option:value',
311
311
  default: true,
312
312
  options: [
313
313
  {
@@ -330,7 +330,7 @@ const CountdownSettings = [
330
330
  {
331
331
  id: 'enableWeek',
332
332
  label: 'Week',
333
- type: 'segment',
333
+ type: 'option:value',
334
334
  default: false,
335
335
  options: [
336
336
  {
@@ -442,25 +442,28 @@ const CountdownSettings = [
442
442
  {
443
443
  id: 'textAlign',
444
444
  label: 'Alignment',
445
- type: 'segment',
445
+ type: 'option:value',
446
446
  options: [
447
447
  {
448
448
  label: 'Left',
449
449
  value: 'left',
450
450
  type: 'align',
451
- tooltip: 'Align left'
451
+ tooltip: 'Align left',
452
+ iconName: 'gp-align-left'
452
453
  },
453
454
  {
454
455
  label: 'Center',
455
456
  value: 'center',
456
457
  type: 'align',
457
- tooltip: 'Align center'
458
+ tooltip: 'Align center',
459
+ iconName: 'gp-align-center'
458
460
  },
459
461
  {
460
462
  label: 'Right',
461
463
  value: 'right',
462
464
  type: 'align',
463
- tooltip: 'Align right'
465
+ tooltip: 'Align right',
466
+ iconName: 'gp-align-right'
464
467
  }
465
468
  ],
466
469
  devices: {
@@ -28,7 +28,7 @@ const EstimateDateSettings = [
28
28
  {
29
29
  id: 'typeEstimate',
30
30
  label: 'Type',
31
- type: 'segment',
31
+ type: 'option:value',
32
32
  default: _const.ESTIMATE_DAYS.RANGE,
33
33
  options: [
34
34
  {
@@ -141,7 +141,7 @@ const EstimateDateSettings = [
141
141
  {
142
142
  id: 'ifOutOfStock',
143
143
  label: 'If out of stock',
144
- type: 'segment',
144
+ type: 'option:value',
145
145
  default: _const.OUT_OF_STOCK.HIDE,
146
146
  options: [
147
147
  {
@@ -257,25 +257,28 @@ const EstimateDateSettings = [
257
257
  {
258
258
  id: 'align',
259
259
  label: 'Alignment',
260
- type: 'segment',
260
+ type: 'option:value',
261
261
  options: [
262
262
  {
263
263
  label: 'Left',
264
264
  value: 'left',
265
265
  type: 'align',
266
- tooltip: 'Align left'
266
+ tooltip: 'Align left',
267
+ iconName: 'gp-align-left'
267
268
  },
268
269
  {
269
270
  label: 'Center',
270
271
  value: 'center',
271
272
  type: 'align',
272
- tooltip: 'Align center'
273
+ tooltip: 'Align center',
274
+ iconName: 'gp-align-center'
273
275
  },
274
276
  {
275
277
  label: 'Right',
276
278
  value: 'right',
277
279
  type: 'align',
278
- tooltip: 'Align right'
280
+ tooltip: 'Align right',
281
+ iconName: 'gp-align-right'
279
282
  }
280
283
  ],
281
284
  devices: {
@@ -73,25 +73,28 @@ const FormCheckboxSettings = [
73
73
  {
74
74
  id: 'align',
75
75
  label: 'Alignment',
76
- type: 'segment',
76
+ type: 'option:value',
77
77
  options: [
78
78
  {
79
79
  label: 'Left',
80
80
  value: 'left',
81
81
  type: 'align',
82
- tooltip: 'Align left'
82
+ tooltip: 'Align left',
83
+ iconName: 'gp-align-left'
83
84
  },
84
85
  {
85
86
  label: 'Center',
86
87
  value: 'center',
87
88
  type: 'align',
88
- tooltip: 'Align center'
89
+ tooltip: 'Align center',
90
+ iconName: 'gp-align-center'
89
91
  },
90
92
  {
91
93
  label: 'Right',
92
94
  value: 'right',
93
95
  type: 'align',
94
- tooltip: 'Align right'
96
+ tooltip: 'Align right',
97
+ iconName: 'gp-align-right'
95
98
  }
96
99
  ],
97
100
  devices: {
@@ -98,25 +98,28 @@ const FormDropdownSettings = [
98
98
  {
99
99
  id: 'align',
100
100
  label: 'Alignment',
101
- type: 'segment',
101
+ type: 'option:value',
102
102
  options: [
103
103
  {
104
104
  label: 'Left',
105
105
  value: 'left',
106
106
  type: 'align',
107
- tooltip: 'Align left'
107
+ tooltip: 'Align left',
108
+ iconName: 'gp-align-left'
108
109
  },
109
110
  {
110
111
  label: 'Center',
111
112
  value: 'center',
112
113
  type: 'align',
113
- tooltip: 'Align center'
114
+ tooltip: 'Align center',
115
+ iconName: 'gp-align-center'
114
116
  },
115
117
  {
116
118
  label: 'Right',
117
119
  value: 'right',
118
120
  type: 'align',
119
- tooltip: 'Align right'
121
+ tooltip: 'Align right',
122
+ iconName: 'gp-align-right'
120
123
  }
121
124
  ],
122
125
  devices: {
@@ -92,25 +92,28 @@ const FormEmailSettings = [
92
92
  {
93
93
  id: 'align',
94
94
  label: 'Alignment',
95
- type: 'segment',
95
+ type: 'option:value',
96
96
  options: [
97
97
  {
98
98
  label: 'Left',
99
99
  value: 'left',
100
100
  type: 'align',
101
- tooltip: 'Align left'
101
+ tooltip: 'Align left',
102
+ iconName: 'gp-align-left'
102
103
  },
103
104
  {
104
105
  label: 'Center',
105
106
  value: 'center',
106
107
  type: 'align',
107
- tooltip: 'Align center'
108
+ tooltip: 'Align center',
109
+ iconName: 'gp-align-center'
108
110
  },
109
111
  {
110
112
  label: 'Right',
111
113
  value: 'right',
112
114
  type: 'align',
113
- tooltip: 'Align right'
115
+ tooltip: 'Align right',
116
+ iconName: 'gp-align-right'
114
117
  }
115
118
  ],
116
119
  devices: {
@@ -113,25 +113,28 @@ const TextareaSettings = [
113
113
  {
114
114
  id: 'align',
115
115
  label: 'Alignment',
116
- type: 'segment',
116
+ type: 'option:value',
117
117
  options: [
118
118
  {
119
119
  label: 'Left',
120
120
  value: 'left',
121
121
  type: 'align',
122
- tooltip: 'Align left'
122
+ tooltip: 'Align left',
123
+ iconName: 'gp-align-left'
123
124
  },
124
125
  {
125
126
  label: 'Center',
126
127
  value: 'center',
127
128
  type: 'align',
128
- tooltip: 'Align center'
129
+ tooltip: 'Align center',
130
+ iconName: 'gp-align-center'
129
131
  },
130
132
  {
131
133
  label: 'Right',
132
134
  value: 'right',
133
135
  type: 'align',
134
- tooltip: 'Align right'
136
+ tooltip: 'Align right',
137
+ iconName: 'gp-align-right'
135
138
  }
136
139
  ],
137
140
  devices: {
@@ -18,7 +18,7 @@ const SubmitButtonSettings = [
18
18
  {
19
19
  id: 'iconVisible',
20
20
  label: 'Icon Visible',
21
- type: 'switch',
21
+ type: 'toggle',
22
22
  default: false
23
23
  },
24
24
  {
@@ -34,7 +34,7 @@ const SubmitButtonSettings = [
34
34
  {
35
35
  id: 'iconAlign',
36
36
  label: 'Icon Alignment',
37
- type: 'segment',
37
+ type: 'option:value',
38
38
  options: [
39
39
  {
40
40
  label: 'Left',
@@ -164,7 +164,7 @@ const SubmitButtonSettings = [
164
164
  {
165
165
  id: 'align',
166
166
  label: 'Alignment',
167
- type: 'segment',
167
+ type: 'option:value',
168
168
  options: [
169
169
  {
170
170
  label: 'Left',
@@ -169,7 +169,8 @@ const SettingUIV2 = [
169
169
  id: 'iconVisible'
170
170
  },
171
171
  options: {
172
- labelVariant: 'primary'
172
+ labelVariant: 'primary',
173
+ toggleStyle: 'switch'
173
174
  }
174
175
  },
175
176
  {
@@ -113,25 +113,28 @@ const TextFieldSettings = [
113
113
  {
114
114
  id: 'align',
115
115
  label: 'Alignment',
116
- type: 'segment',
116
+ type: 'option:value',
117
117
  options: [
118
118
  {
119
119
  label: 'Left',
120
120
  value: 'left',
121
121
  type: 'align',
122
- tooltip: 'Align left'
122
+ tooltip: 'Align left',
123
+ iconName: 'gp-align-left'
123
124
  },
124
125
  {
125
126
  label: 'Center',
126
127
  value: 'center',
127
128
  type: 'align',
128
- tooltip: 'Align center'
129
+ tooltip: 'Align center',
130
+ iconName: 'gp-align-center'
129
131
  },
130
132
  {
131
133
  label: 'Right',
132
134
  value: 'right',
133
135
  type: 'align',
134
- tooltip: 'Align right'
136
+ tooltip: 'Align right',
137
+ iconName: 'gp-align-right'
135
138
  }
136
139
  ],
137
140
  devices: {