@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
@@ -48,25 +48,28 @@ const ConfigSettings = [
48
48
  {
49
49
  id: 'align',
50
50
  label: 'Alignment',
51
- type: 'segment',
51
+ type: 'option:value',
52
52
  options: [
53
53
  {
54
54
  label: 'Left',
55
55
  value: 'left',
56
56
  type: 'align',
57
- tooltip: 'Align left'
57
+ tooltip: 'Align left',
58
+ iconName: 'gp-align-left'
58
59
  },
59
60
  {
60
61
  label: 'Center',
61
62
  value: 'center',
62
63
  type: 'align',
63
- tooltip: 'Align center'
64
+ tooltip: 'Align center',
65
+ iconName: 'gp-align-center'
64
66
  },
65
67
  {
66
68
  label: 'Right',
67
69
  value: 'right',
68
70
  type: 'align',
69
- tooltip: 'Align right'
71
+ tooltip: 'Align right',
72
+ iconName: 'gp-align-right'
70
73
  }
71
74
  ],
72
75
  default: 'left'
@@ -85,7 +85,7 @@ const DeclineButtonSettings = [
85
85
  {
86
86
  id: 'align',
87
87
  label: 'Alignment',
88
- type: 'segment',
88
+ type: 'option:value',
89
89
  options: [
90
90
  {
91
91
  label: 'Left',
@@ -127,7 +127,7 @@ const DeclineButtonSettings = [
127
127
  {
128
128
  id: 'direction',
129
129
  label: 'Direction',
130
- type: 'segment',
130
+ type: 'option:value',
131
131
  options: [
132
132
  {
133
133
  label: 'LTR',
@@ -91,13 +91,14 @@ const CalloutTextSettings = [
91
91
  },
92
92
  {
93
93
  id: 'width',
94
- type: 'input:unit-width',
94
+ type: 'dropdown:input',
95
95
  label: 'Width',
96
- min: 0,
96
+ inputType: 'number',
97
97
  units: [
98
98
  'px',
99
99
  '%'
100
100
  ],
101
+ hideUnit: false,
101
102
  devices: {
102
103
  desktop: {
103
104
  default: '100%'
@@ -108,7 +109,24 @@ const CalloutTextSettings = [
108
109
  mobile: {
109
110
  default: '100%'
110
111
  }
111
- }
112
+ },
113
+ displayOptions: [
114
+ {
115
+ label: 'Fit content',
116
+ value: 'Auto',
117
+ showValue: true
118
+ },
119
+ {
120
+ label: 'Full',
121
+ value: '100%',
122
+ showValue: true
123
+ },
124
+ {
125
+ label: 'Default',
126
+ value: 'default',
127
+ showValue: true
128
+ }
129
+ ]
112
130
  },
113
131
  {
114
132
  id: 'direction',
@@ -106,32 +106,35 @@ const ImagePostPurchaseSettingV2 = [
106
106
  {
107
107
  id: 'align',
108
108
  label: 'Align',
109
- type: 'segment',
109
+ type: 'option:value',
110
110
  options: [
111
111
  {
112
112
  label: 'Left',
113
113
  value: 'left',
114
114
  type: 'align',
115
- tooltip: 'Align left'
115
+ tooltip: 'Align left',
116
+ iconName: 'gp-align-left'
116
117
  },
117
118
  {
118
119
  label: 'Center',
119
120
  value: 'center',
120
121
  type: 'align',
121
- tooltip: 'Align center'
122
+ tooltip: 'Align center',
123
+ iconName: 'gp-align-center'
122
124
  },
123
125
  {
124
126
  label: 'Right',
125
127
  value: 'right',
126
128
  type: 'align',
127
- tooltip: 'Align right'
129
+ tooltip: 'Align right',
130
+ iconName: 'gp-align-right'
128
131
  }
129
132
  ],
130
133
  default: 'center'
131
134
  },
132
135
  {
133
136
  id: 'enableBorder',
134
- type: 'segment',
137
+ type: 'option:value',
135
138
  default: 'none',
136
139
  options: [
137
140
  {
@@ -39,25 +39,28 @@ const PostPurchaseLineSettings = [
39
39
  {
40
40
  id: 'position',
41
41
  label: 'Position',
42
- type: 'segment',
42
+ type: 'option:value',
43
43
  options: [
44
44
  {
45
45
  label: 'Left',
46
46
  value: 'left',
47
47
  type: 'align',
48
- tooltip: 'Align left'
48
+ tooltip: 'Align left',
49
+ iconName: 'gp-align-left'
49
50
  },
50
51
  {
51
52
  label: 'Center',
52
53
  value: 'center',
53
54
  type: 'align',
54
- tooltip: 'Align center'
55
+ tooltip: 'Align center',
56
+ iconName: 'gp-align-center'
55
57
  },
56
58
  {
57
59
  label: 'Right',
58
60
  value: 'right',
59
61
  type: 'align',
60
- tooltip: 'Align right'
62
+ tooltip: 'Align right',
63
+ iconName: 'gp-align-right'
61
64
  }
62
65
  ],
63
66
  default: 'left'
@@ -131,22 +134,28 @@ const PostPurchaseLineSettings = [
131
134
  {
132
135
  id: 'align',
133
136
  label: 'Alignment',
134
- type: 'segment',
137
+ type: 'option:value',
135
138
  options: [
136
139
  {
137
140
  label: 'Left',
138
141
  value: 'left',
139
- type: 'align'
142
+ type: 'align',
143
+ tooltip: 'Align left',
144
+ iconName: 'gp-align-left'
140
145
  },
141
146
  {
142
147
  label: 'Center',
143
148
  value: 'center',
144
- type: 'align'
149
+ type: 'align',
150
+ tooltip: 'Align center',
151
+ iconName: 'gp-align-center'
145
152
  },
146
153
  {
147
154
  label: 'Right',
148
155
  value: 'right',
149
- type: 'align'
156
+ type: 'align',
157
+ tooltip: 'Align right',
158
+ iconName: 'gp-align-right'
150
159
  }
151
160
  ],
152
161
  default: 'left'
@@ -53,25 +53,28 @@ const PostPurchaseLinkSettings = [
53
53
  {
54
54
  id: 'align',
55
55
  label: 'Alignment',
56
- type: 'segment',
56
+ type: 'option:value',
57
57
  options: [
58
58
  {
59
59
  label: 'Left',
60
60
  value: 'left',
61
61
  type: 'align',
62
- tooltip: 'Align left'
62
+ tooltip: 'Align left',
63
+ iconName: 'gp-align-left'
63
64
  },
64
65
  {
65
66
  label: 'Center',
66
67
  value: 'center',
67
68
  type: 'align',
68
- tooltip: 'Align center'
69
+ tooltip: 'Align center',
70
+ iconName: 'gp-align-center'
69
71
  },
70
72
  {
71
73
  label: 'Right',
72
74
  value: 'right',
73
75
  type: 'align',
74
- tooltip: 'Align right'
76
+ tooltip: 'Align right',
77
+ iconName: 'gp-align-right'
75
78
  }
76
79
  ],
77
80
  default: 'left'
@@ -94,7 +97,7 @@ const PostPurchaseLinkSettings = [
94
97
  {
95
98
  id: 'textAlign',
96
99
  label: 'Alignment',
97
- type: 'segment',
100
+ type: 'option:value',
98
101
  options: [
99
102
  {
100
103
  label: 'Left',
@@ -91,7 +91,7 @@ const AcceptButtonSettings = [
91
91
  {
92
92
  id: 'align',
93
93
  label: 'Alignment',
94
- type: 'segment',
94
+ type: 'option:value',
95
95
  options: [
96
96
  {
97
97
  label: 'Left',
@@ -133,7 +133,7 @@ const AcceptButtonSettings = [
133
133
  {
134
134
  id: 'direction',
135
135
  label: 'Direction',
136
- type: 'segment',
136
+ type: 'option:value',
137
137
  options: [
138
138
  {
139
139
  label: 'LTR',
@@ -36,7 +36,7 @@ const settingV2 = [
36
36
  {
37
37
  id: 'textAlign',
38
38
  label: 'Alignment',
39
- type: 'segment',
39
+ type: 'option:value',
40
40
  options: [
41
41
  {
42
42
  label: 'Left',
@@ -32,7 +32,7 @@ const settingV2 = [
32
32
  {
33
33
  id: 'direction',
34
34
  label: 'Direction',
35
- type: 'segment',
35
+ type: 'option:value',
36
36
  options: [
37
37
  {
38
38
  label: 'LTR',
@@ -20,7 +20,7 @@ const settingV2 = [
20
20
  controls: [
21
21
  {
22
22
  id: 'priceType',
23
- type: 'segment',
23
+ type: 'option:value',
24
24
  options: [
25
25
  {
26
26
  label: 'Original',
@@ -41,7 +41,7 @@ const settingV2 = [
41
41
  {
42
42
  id: 'textAlign',
43
43
  label: 'Alignment',
44
- type: 'segment',
44
+ type: 'option:value',
45
45
  options: [
46
46
  {
47
47
  label: 'Left',
@@ -93,7 +93,7 @@ const ProductPriceBreakdownSettings = [
93
93
  {
94
94
  id: 'direction',
95
95
  label: 'Direction',
96
- type: 'segment',
96
+ type: 'option:value',
97
97
  options: [
98
98
  {
99
99
  label: 'LTR',
@@ -133,7 +133,7 @@ const ProductPriceBreakdownSettings = [
133
133
  {
134
134
  id: 'align',
135
135
  label: 'Alignment',
136
- type: 'segment',
136
+ type: 'option:value',
137
137
  options: [
138
138
  {
139
139
  label: 'Left',
@@ -65,7 +65,7 @@ const ProductQuantitySettings = [
65
65
  {
66
66
  id: 'align',
67
67
  label: 'Alignment',
68
- type: 'segment',
68
+ type: 'option:value',
69
69
  options: [
70
70
  {
71
71
  label: 'Left',
@@ -36,7 +36,7 @@ const settingV2 = [
36
36
  {
37
37
  id: 'textAlign',
38
38
  label: 'Alignment',
39
- type: 'segment',
39
+ type: 'option:value',
40
40
  options: [
41
41
  {
42
42
  label: 'Left',
@@ -75,7 +75,7 @@ const settingV2 = [
75
75
  {
76
76
  id: 'textAlign',
77
77
  label: 'Alignment',
78
- type: 'segment',
78
+ type: 'option:value',
79
79
  options: [
80
80
  {
81
81
  label: 'Left',
@@ -107,25 +107,28 @@ const settingV2 = [
107
107
  {
108
108
  id: 'align',
109
109
  label: 'Alignment',
110
- type: 'segment',
110
+ type: 'option:value',
111
111
  options: [
112
112
  {
113
113
  label: 'Left',
114
114
  value: 'left',
115
115
  type: 'align',
116
- tooltip: 'Align left'
116
+ tooltip: 'Align left',
117
+ iconName: 'gp-align-left'
117
118
  },
118
119
  {
119
120
  label: 'Center',
120
121
  value: 'center',
121
122
  type: 'align',
122
- tooltip: 'Align center'
123
+ tooltip: 'Align center',
124
+ iconName: 'gp-align-center'
123
125
  },
124
126
  {
125
127
  label: 'Right',
126
128
  value: 'right',
127
129
  type: 'align',
128
- tooltip: 'Align right'
130
+ tooltip: 'Align right',
131
+ iconName: 'gp-align-right'
129
132
  }
130
133
  ],
131
134
  default: 'left'
@@ -133,7 +136,7 @@ const settingV2 = [
133
136
  {
134
137
  id: 'direction',
135
138
  label: 'Direction',
136
- type: 'segment',
139
+ type: 'option:value',
137
140
  options: [
138
141
  {
139
142
  label: 'LTR',
@@ -332,25 +332,28 @@ const DynamicCheckoutSettings = [
332
332
  {
333
333
  id: 'align',
334
334
  label: 'Alignment',
335
- type: 'segment',
335
+ type: 'option:value',
336
336
  options: [
337
337
  {
338
338
  label: 'Left',
339
339
  value: 'left',
340
340
  type: 'align',
341
- tooltip: 'Align left'
341
+ tooltip: 'Align left',
342
+ iconName: 'gp-align-left'
342
343
  },
343
344
  {
344
345
  label: 'Center',
345
346
  value: 'center',
346
347
  type: 'align',
347
- tooltip: 'Align center'
348
+ tooltip: 'Align center',
349
+ iconName: 'gp-align-center'
348
350
  },
349
351
  {
350
352
  label: 'Right',
351
353
  value: 'right',
352
354
  type: 'align',
353
- tooltip: 'Align right'
355
+ tooltip: 'Align right',
356
+ iconName: 'gp-align-right'
354
357
  }
355
358
  ],
356
359
  devices: {
@@ -22,7 +22,7 @@ const ProductSettings = [
22
22
  },
23
23
  {
24
24
  id: 'horizontalAlign',
25
- type: 'segment',
25
+ type: 'option:value',
26
26
  options: [
27
27
  {
28
28
  label: 'Start',
@@ -61,7 +61,7 @@ const ProductSettings = [
61
61
  },
62
62
  {
63
63
  id: 'verticalAlign',
64
- type: 'segment',
64
+ type: 'option:value',
65
65
  options: [
66
66
  {
67
67
  label: 'Start',
@@ -72,7 +72,8 @@ const ProductSettings = [
72
72
  <path fill-rule="evenodd" clip-rule="evenodd" d="M8 4.75C8 3.92157 7.32843 3.25 6.5 3.25L5.5 3.25C4.67157 3.25 4 3.92157 4 4.75L4 12.75C4 13.5784 4.67157 14.25 5.5 14.25L6.5 14.25C7.32843 14.25 8 13.5784 8 12.75L8 4.75ZM6.5 4.25C6.77614 4.25 7 4.47386 7 4.75L7 12.75C7 13.0261 6.77614 13.25 6.5 13.25L5.5 13.25C5.22386 13.25 5 13.0261 5 12.75L5 4.75C5 4.47386 5.22386 4.25 5.5 4.25L6.5 4.25Z" fill="currentColor"/>
73
73
  </svg>
74
74
  `,
75
- tooltip: 'Align top'
75
+ tooltip: 'Align top',
76
+ iconName: 'gp-align-top'
76
77
  },
77
78
  {
78
79
  label: 'Center',
@@ -81,7 +82,8 @@ const ProductSettings = [
81
82
  <path fill-rule="evenodd" clip-rule="evenodd" d="M14.5 8.5C14.5 8.77614 14.2921 9 14.0357 9L12.1786 9L12.1786 11C12.1786 11.8284 11.555 12.5 10.7857 12.5L9.85714 12.5C9.08789 12.5 8.46429 11.8284 8.46429 11L8.46429 9L7.53571 9L7.53571 12.5C7.53571 13.3284 6.91211 14 6.14286 14L5.21429 14C4.44503 14 3.82143 13.3284 3.82143 12.5L3.82143 9L1.96429 9C1.70787 9 1.5 8.77614 1.5 8.5C1.5 8.22386 1.70787 8 1.96429 8L3.82143 8L3.82143 4.5C3.82143 3.67157 4.44503 3 5.21429 3L6.14286 3C6.91211 3 7.53572 3.67157 7.53572 4.5L7.53571 8L8.46429 8L8.46429 6C8.46429 5.17157 9.08789 4.5 9.85714 4.5L10.7857 4.5C11.555 4.5 12.1786 5.17157 12.1786 6L12.1786 8L14.0357 8C14.2921 8 14.5 8.22386 14.5 8.5ZM4.75 12.5C4.75 12.7761 4.95787 13 5.21429 13L6.14286 13C6.39928 13 6.60714 12.7761 6.60714 12.5L6.60714 4.5C6.60714 4.22386 6.39928 4 6.14286 4L5.21429 4C4.95787 4 4.75 4.22386 4.75 4.5L4.75 12.5ZM9.39286 11L9.39286 6C9.39286 5.72386 9.60073 5.5 9.85714 5.5L10.7857 5.5C11.0421 5.5 11.25 5.72386 11.25 6L11.25 11C11.25 11.2761 11.0421 11.5 10.7857 11.5L9.85714 11.5C9.60073 11.5 9.39286 11.2761 9.39286 11Z" fill="currentColor"/>
82
83
  </svg>
83
84
  `,
84
- tooltip: 'Align center'
85
+ tooltip: 'Align center',
86
+ iconName: 'gp-align-center-vertical'
85
87
  },
86
88
  {
87
89
  label: 'End',
@@ -92,7 +94,8 @@ const ProductSettings = [
92
94
  <path fill-rule="evenodd" clip-rule="evenodd" d="M9 12C9 12.8284 9.67157 13.5 10.5 13.5L11.5 13.5C12.3284 13.5 13 12.8284 13 12L13 4C13 3.17157 12.3284 2.5 11.5 2.5L10.5 2.5C9.67157 2.5 9 3.17157 9 4L9 12ZM10.5 12.5C10.2239 12.5 10 12.2761 10 12L10 4C10 3.72386 10.2239 3.5 10.5 3.5L11.5 3.5C11.7761 3.5 12 3.72386 12 4L12 12C12 12.2761 11.7761 12.5 11.5 12.5L10.5 12.5Z" fill="currentColor"/>
93
95
  </svg>
94
96
  `,
95
- tooltip: 'Align bottom'
97
+ tooltip: 'Align bottom',
98
+ iconName: 'gp-align-bottom'
96
99
  },
97
100
  {
98
101
  label: 'Between',
@@ -104,7 +107,8 @@ const ProductSettings = [
104
107
  <rect x="2.5" y="13" width="3" height="12" rx="1" transform="rotate(-90 2.5 13)" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
105
108
  </svg>
106
109
  `,
107
- tooltip: 'Distribute vertical spacing'
110
+ tooltip: 'Distribute vertical spacing',
111
+ iconName: 'gp-align-space-between'
108
112
  }
109
113
  ],
110
114
  devices: {
@@ -139,7 +143,7 @@ const ProductSettings = [
139
143
  },
140
144
  {
141
145
  id: 'inlineAlignment',
142
- type: 'segment',
146
+ type: 'option:value',
143
147
  options: [
144
148
  {
145
149
  label: 'Start',
@@ -174,7 +178,7 @@ const ProductSettings = [
174
178
  },
175
179
  {
176
180
  id: 'blockAlignment',
177
- type: 'segment',
181
+ type: 'option:value',
178
182
  options: [
179
183
  {
180
184
  label: 'Start',
@@ -542,25 +542,28 @@ const ProductBadgeSettings = [
542
542
  {
543
543
  id: 'align',
544
544
  label: 'Align',
545
- type: 'segment',
545
+ type: 'option:value',
546
546
  options: [
547
547
  {
548
548
  label: 'Left',
549
549
  value: 'left',
550
550
  type: 'align',
551
- tooltip: 'Align left'
551
+ tooltip: 'Align left',
552
+ iconName: 'gp-align-left'
552
553
  },
553
554
  {
554
555
  label: 'Center',
555
556
  value: 'center',
556
557
  type: 'align',
557
- tooltip: 'Align center'
558
+ tooltip: 'Align center',
559
+ iconName: 'gp-align-center'
558
560
  },
559
561
  {
560
562
  label: 'Right',
561
563
  value: 'right',
562
564
  type: 'align',
563
- tooltip: 'Align right'
565
+ tooltip: 'Align right',
566
+ iconName: 'gp-align-right'
564
567
  }
565
568
  ],
566
569
  devices: {
@@ -286,7 +286,7 @@ const ProductButtonSettings = [
286
286
  {
287
287
  id: 'iconAlign',
288
288
  label: 'Icon Alignment',
289
- type: 'segment',
289
+ type: 'option:value',
290
290
  hide: true,
291
291
  options: [
292
292
  {
@@ -304,7 +304,7 @@ const ProductButtonSettings = [
304
304
  },
305
305
  {
306
306
  id: 'errorType',
307
- type: 'segment',
307
+ type: 'option:value',
308
308
  options: [
309
309
  {
310
310
  value: 'built-in',
@@ -804,7 +804,7 @@ const ProductButtonSettings = [
804
804
  {
805
805
  id: 'align',
806
806
  label: 'Alignment',
807
- type: 'segment',
807
+ type: 'option:value',
808
808
  options: [
809
809
  {
810
810
  label: 'Left',
@@ -849,12 +849,12 @@ const ProductButtonSettings = [
849
849
  },
850
850
  {
851
851
  id: 'enableIcon',
852
- type: 'switch',
852
+ type: 'toggle',
853
853
  default: true
854
854
  },
855
855
  {
856
856
  id: 'enableTextStyle',
857
- type: 'switch',
857
+ type: 'toggle',
858
858
  default: true
859
859
  },
860
860
  {
@@ -213,7 +213,8 @@ const SettingUIV2 = [
213
213
  id: 'enableIcon'
214
214
  },
215
215
  options: {
216
- labelVariant: 'primary'
216
+ labelVariant: 'primary',
217
+ toggleStyle: 'switch'
217
218
  }
218
219
  },
219
220
  {
@@ -258,7 +259,8 @@ const SettingUIV2 = [
258
259
  id: 'enableTextStyle'
259
260
  },
260
261
  options: {
261
- labelVariant: 'primary'
262
+ labelVariant: 'primary',
263
+ toggleStyle: 'switch'
262
264
  }
263
265
  },
264
266
  {
@@ -13,7 +13,7 @@ const ProductDescriptionSettings = [
13
13
  {
14
14
  id: 'htmlTag',
15
15
  label: 'Content Type',
16
- type: 'segment',
16
+ type: 'option:value',
17
17
  options: [
18
18
  {
19
19
  value: 'html',
@@ -29,7 +29,7 @@ const ProductDescriptionSettings = [
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
@@ -84,7 +84,7 @@ const ProductDescriptionSettings = [
84
84
  {
85
85
  id: 'textAlign',
86
86
  label: 'Alignment',
87
- type: 'segment',
87
+ type: 'option:value',
88
88
  options: [
89
89
  {
90
90
  label: 'Left',
@@ -39,7 +39,8 @@ const SettingUIV2 = [
39
39
  id: 'hasLineClamp'
40
40
  },
41
41
  options: {
42
- labelVariant: 'primary'
42
+ labelVariant: 'primary',
43
+ toggleStyle: 'switch'
43
44
  }
44
45
  },
45
46
  {
@@ -297,7 +297,7 @@ const ProductImageSettings = [
297
297
  {
298
298
  id: 'align',
299
299
  label: 'Alignment',
300
- type: 'segment',
300
+ type: 'option:value',
301
301
  options: [
302
302
  {
303
303
  label: 'Start',