@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
@@ -174,31 +174,35 @@ const HeadingSettings = [
174
174
  {
175
175
  id: 'textAlign',
176
176
  label: 'Alignment',
177
- type: 'segment',
177
+ type: 'option:value',
178
178
  options: [
179
179
  {
180
180
  label: 'Left',
181
181
  value: 'left',
182
182
  type: 'text',
183
- tooltip: 'Align left'
183
+ tooltip: 'Align left',
184
+ iconName: 'gp-text-align-left'
184
185
  },
185
186
  {
186
187
  label: 'Center',
187
188
  value: 'center',
188
189
  type: 'text',
189
- tooltip: 'Align center'
190
+ tooltip: 'Align center',
191
+ iconName: 'gp-text-align-center'
190
192
  },
191
193
  {
192
194
  label: 'Right',
193
195
  value: 'right',
194
196
  type: 'text',
195
- tooltip: 'Align right'
197
+ tooltip: 'Align right',
198
+ iconName: 'gp-text-align-right'
196
199
  },
197
200
  {
198
201
  label: 'Justify',
199
202
  value: 'justify',
200
203
  type: 'text',
201
- tooltip: 'Align justify'
204
+ tooltip: 'Align justify',
205
+ iconName: 'gp-text-align-justify'
202
206
  }
203
207
  ],
204
208
  devices: {
@@ -225,25 +229,28 @@ const HeadingSettings = [
225
229
  {
226
230
  id: 'align',
227
231
  label: 'Alignment',
228
- type: 'segment',
232
+ type: 'option:value',
229
233
  options: [
230
234
  {
231
235
  label: 'Left',
232
236
  value: 'left',
233
237
  type: 'align',
234
- tooltip: 'Align left'
238
+ tooltip: 'Align left',
239
+ iconName: 'gp-align-left'
235
240
  },
236
241
  {
237
242
  label: 'Center',
238
243
  value: 'center',
239
244
  type: 'align',
240
- tooltip: 'Align center'
245
+ tooltip: 'Align center',
246
+ iconName: 'gp-align-center'
241
247
  },
242
248
  {
243
249
  label: 'Right',
244
250
  value: 'right',
245
251
  type: 'align',
246
- tooltip: 'Align right'
252
+ tooltip: 'Align right',
253
+ iconName: 'gp-align-right'
247
254
  }
248
255
  ],
249
256
  devices: {
@@ -148,7 +148,7 @@ const IconSettings = [
148
148
  {
149
149
  id: 'align',
150
150
  label: 'Alignment',
151
- type: 'segment',
151
+ type: 'option:value',
152
152
  devices: {
153
153
  desktop: {
154
154
  default: 'center'
@@ -159,19 +159,22 @@ const IconSettings = [
159
159
  label: 'Left',
160
160
  value: 'left',
161
161
  type: 'align',
162
- tooltip: 'Align left'
162
+ tooltip: 'Align left',
163
+ iconName: 'gp-align-left'
163
164
  },
164
165
  {
165
166
  label: 'Center',
166
167
  value: 'center',
167
168
  type: 'align',
168
- tooltip: 'Align center'
169
+ tooltip: 'Align center',
170
+ iconName: 'gp-align-center'
169
171
  },
170
172
  {
171
173
  label: 'Right',
172
174
  value: 'right',
173
175
  type: 'align',
174
- tooltip: 'Align right'
176
+ tooltip: 'Align right',
177
+ iconName: 'gp-align-right'
175
178
  }
176
179
  ]
177
180
  },
@@ -77,25 +77,28 @@ const IconListSettings = [
77
77
  {
78
78
  id: 'align',
79
79
  label: 'Alignment',
80
- type: 'segment',
80
+ type: 'option:value',
81
81
  options: [
82
82
  {
83
83
  label: 'Left',
84
84
  value: 'left',
85
85
  type: 'align',
86
- tooltip: 'Align left'
86
+ tooltip: 'Align left',
87
+ iconName: 'gp-align-left'
87
88
  },
88
89
  {
89
90
  label: 'Center',
90
91
  value: 'center',
91
92
  type: 'align',
92
- tooltip: 'Align center'
93
+ tooltip: 'Align center',
94
+ iconName: 'gp-align-center'
93
95
  },
94
96
  {
95
97
  label: 'Right',
96
98
  value: 'right',
97
99
  type: 'align',
98
- tooltip: 'Align right'
100
+ tooltip: 'Align right',
101
+ iconName: 'gp-align-right'
99
102
  }
100
103
  ],
101
104
  devices: {
@@ -82,25 +82,28 @@ const IconListHozSettings = [
82
82
  {
83
83
  id: 'align',
84
84
  label: 'Align',
85
- type: 'segment',
85
+ type: 'option:value',
86
86
  options: [
87
87
  {
88
88
  label: 'Left',
89
89
  value: 'left',
90
90
  type: 'align',
91
- tooltip: 'Align left'
91
+ tooltip: 'Align left',
92
+ iconName: 'gp-align-left'
92
93
  },
93
94
  {
94
95
  label: 'Center',
95
96
  value: 'center',
96
97
  type: 'align',
97
- tooltip: 'Align center'
98
+ tooltip: 'Align center',
99
+ iconName: 'gp-align-center'
98
100
  },
99
101
  {
100
102
  label: 'Right',
101
103
  value: 'right',
102
104
  type: 'align',
103
- tooltip: 'Align right'
105
+ tooltip: 'Align right',
106
+ iconName: 'gp-align-right'
104
107
  }
105
108
  ],
106
109
  devices: {
@@ -112,7 +115,7 @@ const IconListHozSettings = [
112
115
  {
113
116
  id: 'verticalAlign',
114
117
  label: 'Vertical',
115
- type: 'segment',
118
+ type: 'option:value',
116
119
  options: [
117
120
  {
118
121
  label: 'Align top',
@@ -256,25 +256,28 @@ const IconListSettings = [
256
256
  {
257
257
  id: 'align',
258
258
  label: 'Alignment',
259
- type: 'segment',
259
+ type: 'option:value',
260
260
  options: [
261
261
  {
262
262
  label: 'Left',
263
263
  value: 'left',
264
264
  type: 'align',
265
- tooltip: 'Align left'
265
+ tooltip: 'Align left',
266
+ iconName: 'gp-align-left'
266
267
  },
267
268
  {
268
269
  label: 'Center',
269
270
  value: 'center',
270
271
  type: 'align',
271
- tooltip: 'Align center'
272
+ tooltip: 'Align center',
273
+ iconName: 'gp-align-center'
272
274
  },
273
275
  {
274
276
  label: 'Right',
275
277
  value: 'right',
276
278
  type: 'align',
277
- tooltip: 'Align right'
279
+ tooltip: 'Align right',
280
+ iconName: 'gp-align-right'
278
281
  }
279
282
  ],
280
283
  devices: {
@@ -164,25 +164,28 @@ const ImageSettings = [
164
164
  {
165
165
  id: 'align',
166
166
  label: 'Align',
167
- type: 'segment',
167
+ type: 'option:value',
168
168
  options: [
169
169
  {
170
170
  label: 'Left',
171
171
  value: 'left',
172
172
  type: 'align',
173
- tooltip: 'Align left'
173
+ tooltip: 'Align left',
174
+ iconName: 'gp-align-left'
174
175
  },
175
176
  {
176
177
  label: 'Center',
177
178
  value: 'center',
178
179
  type: 'align',
179
- tooltip: 'Align center'
180
+ tooltip: 'Align center',
181
+ iconName: 'gp-align-center'
180
182
  },
181
183
  {
182
184
  label: 'Right',
183
185
  value: 'right',
184
186
  type: 'align',
185
- tooltip: 'Align right'
187
+ tooltip: 'Align right',
188
+ iconName: 'gp-align-right'
186
189
  }
187
190
  ],
188
191
  devices: {
@@ -5,7 +5,7 @@ const ImageComparisonSettings = [
5
5
  {
6
6
  id: 'imageTab',
7
7
  label: '',
8
- type: 'segment',
8
+ type: 'option:value',
9
9
  options: [
10
10
  {
11
11
  label: 'First',
@@ -121,7 +121,7 @@ const ImageComparisonSettings = [
121
121
  },
122
122
  {
123
123
  id: 'enableLabel',
124
- type: 'switch',
124
+ type: 'toggle',
125
125
  default: false
126
126
  },
127
127
  {
@@ -149,7 +149,7 @@ const ImageComparisonSettings = [
149
149
  {
150
150
  id: 'seoTab',
151
151
  label: '',
152
- type: 'segment',
152
+ type: 'option:value',
153
153
  options: [
154
154
  {
155
155
  label: 'First',
@@ -238,7 +238,7 @@ const ImageComparisonSettings = [
238
238
  {
239
239
  id: 'labelPositionHoz',
240
240
  label: 'Position',
241
- type: 'segment-v2',
241
+ type: 'option:value',
242
242
  devices: {
243
243
  desktop: {
244
244
  default: 'hoz-center'
@@ -265,7 +265,7 @@ const ImageComparisonSettings = [
265
265
  {
266
266
  id: 'labelPositionVer',
267
267
  label: 'Position',
268
- type: 'segment-v2',
268
+ type: 'option:value',
269
269
  devices: {
270
270
  desktop: {
271
271
  default: 'ver-center'
@@ -506,25 +506,28 @@ const ImageComparisonSettings = [
506
506
  {
507
507
  id: 'align',
508
508
  label: 'Alignment',
509
- type: 'segment',
509
+ type: 'option:value',
510
510
  options: [
511
511
  {
512
512
  label: 'Left',
513
513
  value: 'left',
514
514
  type: 'align',
515
- tooltip: 'Align left'
515
+ tooltip: 'Align left',
516
+ iconName: 'gp-align-left'
516
517
  },
517
518
  {
518
519
  label: 'Center',
519
520
  value: 'center',
520
521
  type: 'align',
521
- tooltip: 'Align center'
522
+ tooltip: 'Align center',
523
+ iconName: 'gp-align-center'
522
524
  },
523
525
  {
524
526
  label: 'Right',
525
527
  value: 'right',
526
528
  type: 'align',
527
- tooltip: 'Align right'
529
+ tooltip: 'Align right',
530
+ iconName: 'gp-align-right'
528
531
  }
529
532
  ],
530
533
  devices: {
@@ -171,7 +171,8 @@ const SettingUIV2 = [
171
171
  id: 'enableLabel'
172
172
  },
173
173
  options: {
174
- labelVariant: 'primary'
174
+ labelVariant: 'primary',
175
+ toggleStyle: 'switch'
175
176
  }
176
177
  },
177
178
  {
@@ -37,25 +37,28 @@ const LineSettings = [
37
37
  {
38
38
  id: 'position',
39
39
  label: 'Position',
40
- type: 'segment',
40
+ type: 'option:value',
41
41
  options: [
42
42
  {
43
43
  label: 'Left',
44
44
  value: 'left',
45
45
  type: 'align',
46
- tooltip: 'Align left'
46
+ tooltip: 'Align left',
47
+ iconName: 'gp-align-left'
47
48
  },
48
49
  {
49
50
  label: 'Center',
50
51
  value: 'center',
51
52
  type: 'align',
52
- tooltip: 'Align center'
53
+ tooltip: 'Align center',
54
+ iconName: 'gp-align-center'
53
55
  },
54
56
  {
55
57
  label: 'Right',
56
58
  value: 'right',
57
59
  type: 'align',
58
- tooltip: 'Align right'
60
+ tooltip: 'Align right',
61
+ iconName: 'gp-align-right'
59
62
  }
60
63
  ],
61
64
  default: 'left'
@@ -70,7 +73,7 @@ const LineSettings = [
70
73
  {
71
74
  id: 'lineStyle',
72
75
  label: 'Style',
73
- type: 'segment',
76
+ type: 'option:value',
74
77
  options: [
75
78
  {
76
79
  label: 'Solid',
@@ -181,22 +184,28 @@ const LineSettings = [
181
184
  {
182
185
  id: 'align',
183
186
  label: 'Alignment',
184
- type: 'segment',
187
+ type: 'option:value',
185
188
  options: [
186
189
  {
187
190
  label: 'Left',
188
191
  value: 'left',
189
- type: 'align'
192
+ type: 'align',
193
+ tooltip: 'Align left',
194
+ iconName: 'gp-align-left'
190
195
  },
191
196
  {
192
197
  label: 'Center',
193
198
  value: 'center',
194
- type: 'align'
199
+ type: 'align',
200
+ tooltip: 'Align center',
201
+ iconName: 'gp-align-center'
195
202
  },
196
203
  {
197
204
  label: 'Right',
198
205
  value: 'right',
199
- type: 'align'
206
+ type: 'align',
207
+ tooltip: 'Align right',
208
+ iconName: 'gp-align-right'
200
209
  }
201
210
  ],
202
211
  devices: {
@@ -300,7 +309,7 @@ const LineSettings = [
300
309
  {
301
310
  id: 'transform',
302
311
  label: 'Transform',
303
- type: 'segment',
312
+ type: 'option:value',
304
313
  options: [
305
314
  {
306
315
  label: 'Horizontal',
@@ -60,7 +60,7 @@ const MarqueeSettings = [
60
60
  {
61
61
  id: 'direction',
62
62
  label: 'direction',
63
- type: 'segment',
63
+ type: 'option:value',
64
64
  options: [
65
65
  {
66
66
  label: 'Left',
@@ -266,25 +266,28 @@ const MarqueeSettings = [
266
266
  {
267
267
  id: 'align',
268
268
  label: 'Alignment',
269
- type: 'segment',
269
+ type: 'option:value',
270
270
  options: [
271
271
  {
272
272
  label: 'Left',
273
273
  value: 'left',
274
274
  type: 'align',
275
- tooltip: 'Align left'
275
+ tooltip: 'Align left',
276
+ iconName: 'gp-align-left'
276
277
  },
277
278
  {
278
279
  label: 'Center',
279
280
  value: 'center',
280
281
  type: 'align',
281
- tooltip: 'Align center'
282
+ tooltip: 'Align center',
283
+ iconName: 'gp-align-center'
282
284
  },
283
285
  {
284
286
  label: 'Right',
285
287
  value: 'right',
286
288
  type: 'align',
287
- tooltip: 'Align right'
289
+ tooltip: 'Align right',
290
+ iconName: 'gp-align-right'
288
291
  }
289
292
  ],
290
293
  devices: {
@@ -29,7 +29,7 @@ const MarqueeSettingsV2 = [
29
29
  {
30
30
  id: 'isShowIconSeparator',
31
31
  label: 'isShowIconSeparator',
32
- type: 'switch',
32
+ type: 'toggle',
33
33
  default: false
34
34
  },
35
35
  {
@@ -102,7 +102,8 @@ const SettingUIV2 = [
102
102
  id: 'isShowIconSeparator'
103
103
  },
104
104
  options: {
105
- labelVariant: 'primary'
105
+ labelVariant: 'primary',
106
+ toggleStyle: 'switch'
106
107
  }
107
108
  },
108
109
  {
@@ -46,25 +46,28 @@ const ConfigSettings = [
46
46
  {
47
47
  id: 'align',
48
48
  label: 'Alignment',
49
- type: 'segment',
49
+ type: 'option:value',
50
50
  options: [
51
51
  {
52
52
  label: 'Left',
53
53
  value: 'left',
54
54
  type: 'align',
55
- tooltip: 'Align left'
55
+ tooltip: 'Align left',
56
+ iconName: 'gp-align-left'
56
57
  },
57
58
  {
58
59
  label: 'Center',
59
60
  value: 'center',
60
61
  type: 'align',
61
- tooltip: 'Align center'
62
+ tooltip: 'Align center',
63
+ iconName: 'gp-align-center'
62
64
  },
63
65
  {
64
66
  label: 'Right',
65
67
  value: 'right',
66
68
  type: 'align',
67
- tooltip: 'Align right'
69
+ tooltip: 'Align right',
70
+ iconName: 'gp-align-right'
68
71
  }
69
72
  ],
70
73
  default: 'left'
@@ -83,7 +83,7 @@ const DeclineButtonSettings = [
83
83
  {
84
84
  id: 'align',
85
85
  label: 'Alignment',
86
- type: 'segment',
86
+ type: 'option:value',
87
87
  options: [
88
88
  {
89
89
  label: 'Left',
@@ -125,7 +125,7 @@ const DeclineButtonSettings = [
125
125
  {
126
126
  id: 'direction',
127
127
  label: 'Direction',
128
- type: 'segment',
128
+ type: 'option:value',
129
129
  options: [
130
130
  {
131
131
  label: 'LTR',
@@ -89,13 +89,14 @@ const CalloutTextSettings = [
89
89
  },
90
90
  {
91
91
  id: 'width',
92
- type: 'input:unit-width',
92
+ type: 'dropdown:input',
93
93
  label: 'Width',
94
- min: 0,
94
+ inputType: 'number',
95
95
  units: [
96
96
  'px',
97
97
  '%'
98
98
  ],
99
+ hideUnit: false,
99
100
  devices: {
100
101
  desktop: {
101
102
  default: '100%'
@@ -106,7 +107,24 @@ const CalloutTextSettings = [
106
107
  mobile: {
107
108
  default: '100%'
108
109
  }
109
- }
110
+ },
111
+ displayOptions: [
112
+ {
113
+ label: 'Fit content',
114
+ value: 'Auto',
115
+ showValue: true
116
+ },
117
+ {
118
+ label: 'Full',
119
+ value: '100%',
120
+ showValue: true
121
+ },
122
+ {
123
+ label: 'Default',
124
+ value: 'default',
125
+ showValue: true
126
+ }
127
+ ]
110
128
  },
111
129
  {
112
130
  id: 'direction',
@@ -104,32 +104,35 @@ const ImagePostPurchaseSettingV2 = [
104
104
  {
105
105
  id: 'align',
106
106
  label: 'Align',
107
- type: 'segment',
107
+ type: 'option:value',
108
108
  options: [
109
109
  {
110
110
  label: 'Left',
111
111
  value: 'left',
112
112
  type: 'align',
113
- tooltip: 'Align left'
113
+ tooltip: 'Align left',
114
+ iconName: 'gp-align-left'
114
115
  },
115
116
  {
116
117
  label: 'Center',
117
118
  value: 'center',
118
119
  type: 'align',
119
- tooltip: 'Align center'
120
+ tooltip: 'Align center',
121
+ iconName: 'gp-align-center'
120
122
  },
121
123
  {
122
124
  label: 'Right',
123
125
  value: 'right',
124
126
  type: 'align',
125
- tooltip: 'Align right'
127
+ tooltip: 'Align right',
128
+ iconName: 'gp-align-right'
126
129
  }
127
130
  ],
128
131
  default: 'center'
129
132
  },
130
133
  {
131
134
  id: 'enableBorder',
132
- type: 'segment',
135
+ type: 'option:value',
133
136
  default: 'none',
134
137
  options: [
135
138
  {