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

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 (59) hide show
  1. package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +1 -1
  2. package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +4 -0
  3. package/dist/cjs/breadcrumb/setting/configs/settings.js +1 -1
  4. package/dist/cjs/breadcrumb/setting/configs/uiV2.js +2 -1
  5. package/dist/cjs/button/setting/configs/settings.js +1 -1
  6. package/dist/cjs/button/setting/configs/uiV2.js +2 -1
  7. package/dist/cjs/collection/setting/collection-description/configs/settings.js +1 -1
  8. package/dist/cjs/collection/setting/collection-description/configs/uiV2.js +2 -1
  9. package/dist/cjs/collection/setting/collection-toolbar/configs/settings.js +1 -1
  10. package/dist/cjs/collection/setting/collection-toolbar/configs/uiV2.js +2 -1
  11. package/dist/cjs/form/setting/submit-button/configs/settings.js +1 -1
  12. package/dist/cjs/form/setting/submit-button/configs/uiV2.js +2 -1
  13. package/dist/cjs/image-comparison/setting/configs/settings.js +1 -1
  14. package/dist/cjs/image-comparison/setting/configs/uiV2.js +2 -1
  15. package/dist/cjs/marquee/setting/configs/settingsV2.js +1 -1
  16. package/dist/cjs/marquee/setting/configs/uiV2.js +2 -1
  17. package/dist/cjs/post-purchase/callout-banner/setting/config/callout-text/setting.js +21 -3
  18. package/dist/cjs/product/setting/product-button/configs/settings.js +2 -2
  19. package/dist/cjs/product/setting/product-button/configs/uiV2.js +4 -2
  20. package/dist/cjs/product/setting/product-description/configs/settings.js +1 -1
  21. package/dist/cjs/product/setting/product-description/configs/uiV2.js +2 -1
  22. package/dist/cjs/product/setting/product-list/configs/settingsV2.js +2 -2
  23. package/dist/cjs/product/setting/product-list/configs/uiV2.js +2 -1
  24. package/dist/cjs/product/setting/product-title/configs/settings.js +2 -2
  25. package/dist/cjs/product/setting/product-title/configs/uiV2.js +2 -1
  26. package/dist/cjs/product/setting/product-vendor/configs/settings.js +1 -1
  27. package/dist/cjs/product/setting/product-vendor/configs/uiV2.js +2 -1
  28. package/dist/cjs/stock-counter/setting/configs/settings.js +2 -2
  29. package/dist/cjs/stock-counter/setting/configs/uiV2.js +2 -1
  30. package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +1 -1
  31. package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +4 -0
  32. package/dist/esm/breadcrumb/setting/configs/settings.js +1 -1
  33. package/dist/esm/breadcrumb/setting/configs/uiV2.js +2 -1
  34. package/dist/esm/button/setting/configs/settings.js +1 -1
  35. package/dist/esm/button/setting/configs/uiV2.js +2 -1
  36. package/dist/esm/collection/setting/collection-description/configs/settings.js +1 -1
  37. package/dist/esm/collection/setting/collection-description/configs/uiV2.js +2 -1
  38. package/dist/esm/collection/setting/collection-toolbar/configs/settings.js +1 -1
  39. package/dist/esm/collection/setting/collection-toolbar/configs/uiV2.js +2 -1
  40. package/dist/esm/form/setting/submit-button/configs/settings.js +1 -1
  41. package/dist/esm/form/setting/submit-button/configs/uiV2.js +2 -1
  42. package/dist/esm/image-comparison/setting/configs/settings.js +1 -1
  43. package/dist/esm/image-comparison/setting/configs/uiV2.js +2 -1
  44. package/dist/esm/marquee/setting/configs/settingsV2.js +1 -1
  45. package/dist/esm/marquee/setting/configs/uiV2.js +2 -1
  46. package/dist/esm/post-purchase/callout-banner/setting/config/callout-text/setting.js +21 -3
  47. package/dist/esm/product/setting/product-button/configs/settings.js +2 -2
  48. package/dist/esm/product/setting/product-button/configs/uiV2.js +4 -2
  49. package/dist/esm/product/setting/product-description/configs/settings.js +1 -1
  50. package/dist/esm/product/setting/product-description/configs/uiV2.js +2 -1
  51. package/dist/esm/product/setting/product-list/configs/settingsV2.js +2 -2
  52. package/dist/esm/product/setting/product-list/configs/uiV2.js +2 -1
  53. package/dist/esm/product/setting/product-title/configs/settings.js +2 -2
  54. package/dist/esm/product/setting/product-title/configs/uiV2.js +2 -1
  55. package/dist/esm/product/setting/product-vendor/configs/settings.js +1 -1
  56. package/dist/esm/product/setting/product-vendor/configs/uiV2.js +2 -1
  57. package/dist/esm/stock-counter/setting/configs/settings.js +2 -2
  58. package/dist/esm/stock-counter/setting/configs/uiV2.js +2 -1
  59. package/package.json +2 -2
@@ -40,7 +40,7 @@ const ArticleReadMoreSettings = [
40
40
  {
41
41
  id: 'iconVisible',
42
42
  label: 'Icon Visible',
43
- type: 'switch',
43
+ type: 'toggle',
44
44
  default: false
45
45
  },
46
46
  {
@@ -324,6 +324,10 @@ const uiV2 = [
324
324
  },
325
325
  setting: {
326
326
  id: 'iconVisible'
327
+ },
328
+ options: {
329
+ labelVariant: 'primary',
330
+ toggleStyle: 'switch'
327
331
  }
328
332
  }
329
333
  ]
@@ -6,7 +6,7 @@ const BreadcrumbSettings = [
6
6
  controls: [
7
7
  {
8
8
  id: 'hideCurrentPage',
9
- type: 'switch',
9
+ type: 'toggle',
10
10
  label: 'Hide current page',
11
11
  devices: {
12
12
  desktop: {
@@ -11,7 +11,8 @@ const SettingUIV2 = [
11
11
  id: 'hideCurrentPage'
12
12
  },
13
13
  options: {
14
- labelVariant: 'primary'
14
+ labelVariant: 'primary',
15
+ toggleStyle: 'switch'
15
16
  }
16
17
  }
17
18
  ]
@@ -37,7 +37,7 @@ const ButtonSettings = [
37
37
  {
38
38
  id: 'iconVisible',
39
39
  label: 'Icon Visible',
40
- type: 'switch',
40
+ type: 'toggle',
41
41
  default: false
42
42
  },
43
43
  {
@@ -199,7 +199,8 @@ const SettingUIV2 = [
199
199
  id: 'iconVisible'
200
200
  },
201
201
  options: {
202
- labelVariant: 'primary'
202
+ labelVariant: 'primary',
203
+ toggleStyle: 'switch'
203
204
  }
204
205
  },
205
206
  {
@@ -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
@@ -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
  {
@@ -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
  },
@@ -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
  {
@@ -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
  {
@@ -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
  {
@@ -123,7 +123,7 @@ const ImageComparisonSettings = [
123
123
  },
124
124
  {
125
125
  id: 'enableLabel',
126
- type: 'switch',
126
+ type: 'toggle',
127
127
  default: false
128
128
  },
129
129
  {
@@ -173,7 +173,8 @@ const SettingUIV2 = [
173
173
  id: 'enableLabel'
174
174
  },
175
175
  options: {
176
- labelVariant: 'primary'
176
+ labelVariant: 'primary',
177
+ toggleStyle: 'switch'
177
178
  }
178
179
  },
179
180
  {
@@ -31,7 +31,7 @@ const MarqueeSettingsV2 = [
31
31
  {
32
32
  id: 'isShowIconSeparator',
33
33
  label: 'isShowIconSeparator',
34
- type: 'switch',
34
+ type: 'toggle',
35
35
  default: false
36
36
  },
37
37
  {
@@ -104,7 +104,8 @@ const SettingUIV2 = [
104
104
  id: 'isShowIconSeparator'
105
105
  },
106
106
  options: {
107
- labelVariant: 'primary'
107
+ labelVariant: 'primary',
108
+ toggleStyle: 'switch'
108
109
  }
109
110
  },
110
111
  {
@@ -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',
@@ -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
  {
@@ -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
@@ -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
  {
@@ -54,7 +54,7 @@ const ProductListSettingsV2 = [
54
54
  {
55
55
  id: 'dot',
56
56
  label: 'Dot',
57
- type: 'switch',
57
+ type: 'toggle',
58
58
  devices: {
59
59
  desktop: {
60
60
  default: false
@@ -135,7 +135,7 @@ const ProductListSettingsV2 = [
135
135
  {
136
136
  id: 'arrow',
137
137
  label: 'Next/Prev Arrow',
138
- type: 'switch',
138
+ type: 'toggle',
139
139
  devices: {
140
140
  desktop: {
141
141
  default: false
@@ -158,7 +158,8 @@ const SettingUIV2 = [
158
158
  id: 'dot'
159
159
  },
160
160
  options: {
161
- labelVariant: 'primary'
161
+ labelVariant: 'primary',
162
+ toggleStyle: 'switch'
162
163
  }
163
164
  },
164
165
  {
@@ -43,7 +43,7 @@ const ProductTitleSettings = [
43
43
  {
44
44
  id: 'linkProduct',
45
45
  label: 'Link To Product',
46
- type: 'switch',
46
+ type: 'toggle',
47
47
  default: false,
48
48
  info: 'Ability to click on product title to goto product detail page.'
49
49
  }
@@ -100,7 +100,7 @@ const ProductTitleSettings = [
100
100
  },
101
101
  {
102
102
  id: 'hasLineClamp',
103
- type: 'switch',
103
+ type: 'toggle',
104
104
  label: 'Has Line Clamp',
105
105
  devices: {
106
106
  desktop: {
@@ -75,7 +75,8 @@ const SettingUIV2 = [
75
75
  id: 'linkProduct'
76
76
  },
77
77
  options: {
78
- labelVariant: 'primary'
78
+ labelVariant: 'primary',
79
+ toggleStyle: 'switch'
79
80
  }
80
81
  }
81
82
  ]
@@ -13,7 +13,7 @@ const ProductVendorSettings = [
13
13
  {
14
14
  id: 'url',
15
15
  label: 'Open collection URL',
16
- type: 'switch',
16
+ type: 'toggle',
17
17
  default: false
18
18
  },
19
19
  {
@@ -102,7 +102,8 @@ const SettingUIV2 = [
102
102
  id: 'url'
103
103
  },
104
104
  options: {
105
- labelVariant: 'primary'
105
+ labelVariant: 'primary',
106
+ toggleStyle: 'switch'
106
107
  },
107
108
  help: {
108
109
  content: `Click to open a collection page with all products from the same vendor.`
@@ -102,7 +102,7 @@ const StockCounterSettings = [
102
102
  {
103
103
  id: 'showIcon',
104
104
  label: 'Show Icon',
105
- type: 'switch',
105
+ type: 'toggle',
106
106
  default: true
107
107
  },
108
108
  {
@@ -227,7 +227,7 @@ const StockCounterSettings = [
227
227
  {
228
228
  id: 'displayProgressBar',
229
229
  label: 'Display',
230
- type: 'switch',
230
+ type: 'toggle',
231
231
  default: true
232
232
  },
233
233
  {
@@ -71,7 +71,8 @@ const SettingUIV2 = [
71
71
  id: 'showIcon'
72
72
  },
73
73
  options: {
74
- labelVariant: 'primary'
74
+ labelVariant: 'primary',
75
+ toggleStyle: 'switch'
75
76
  }
76
77
  },
77
78
  {
@@ -38,7 +38,7 @@ const ArticleReadMoreSettings = [
38
38
  {
39
39
  id: 'iconVisible',
40
40
  label: 'Icon Visible',
41
- type: 'switch',
41
+ type: 'toggle',
42
42
  default: false
43
43
  },
44
44
  {
@@ -322,6 +322,10 @@ const uiV2 = [
322
322
  },
323
323
  setting: {
324
324
  id: 'iconVisible'
325
+ },
326
+ options: {
327
+ labelVariant: 'primary',
328
+ toggleStyle: 'switch'
325
329
  }
326
330
  }
327
331
  ]
@@ -4,7 +4,7 @@ const BreadcrumbSettings = [
4
4
  controls: [
5
5
  {
6
6
  id: 'hideCurrentPage',
7
- type: 'switch',
7
+ type: 'toggle',
8
8
  label: 'Hide current page',
9
9
  devices: {
10
10
  desktop: {
@@ -9,7 +9,8 @@ const SettingUIV2 = [
9
9
  id: 'hideCurrentPage'
10
10
  },
11
11
  options: {
12
- labelVariant: 'primary'
12
+ labelVariant: 'primary',
13
+ toggleStyle: 'switch'
13
14
  }
14
15
  }
15
16
  ]
@@ -35,7 +35,7 @@ const ButtonSettings = [
35
35
  {
36
36
  id: 'iconVisible',
37
37
  label: 'Icon Visible',
38
- type: 'switch',
38
+ type: 'toggle',
39
39
  default: false
40
40
  },
41
41
  {
@@ -197,7 +197,8 @@ const SettingUIV2 = [
197
197
  id: 'iconVisible'
198
198
  },
199
199
  options: {
200
- labelVariant: 'primary'
200
+ labelVariant: 'primary',
201
+ toggleStyle: 'switch'
201
202
  }
202
203
  },
203
204
  {
@@ -27,7 +27,7 @@ const CollectionDescriptionSettings = [
27
27
  {
28
28
  id: 'hasLineClamp',
29
29
  label: 'Enable View More',
30
- type: 'switch',
30
+ type: 'toggle',
31
31
  devices: {
32
32
  desktop: {
33
33
  default: true
@@ -51,7 +51,8 @@ const SettingUIV2 = [
51
51
  id: 'hasLineClamp'
52
52
  },
53
53
  options: {
54
- labelVariant: 'primary'
54
+ labelVariant: 'primary',
55
+ toggleStyle: 'switch'
55
56
  }
56
57
  },
57
58
  {
@@ -10,7 +10,7 @@ const CollectionToolbarSettings = [
10
10
  },
11
11
  {
12
12
  id: 'displayQuantity',
13
- type: 'switch',
13
+ type: 'toggle',
14
14
  label: 'Quantity text',
15
15
  default: true
16
16
  },
@@ -40,7 +40,8 @@ const SettingUIV2 = [
40
40
  id: 'displayQuantity'
41
41
  },
42
42
  options: {
43
- labelVariant: 'primary'
43
+ labelVariant: 'primary',
44
+ toggleStyle: 'switch'
44
45
  }
45
46
  },
46
47
  {
@@ -16,7 +16,7 @@ const SubmitButtonSettings = [
16
16
  {
17
17
  id: 'iconVisible',
18
18
  label: 'Icon Visible',
19
- type: 'switch',
19
+ type: 'toggle',
20
20
  default: false
21
21
  },
22
22
  {
@@ -167,7 +167,8 @@ const SettingUIV2 = [
167
167
  id: 'iconVisible'
168
168
  },
169
169
  options: {
170
- labelVariant: 'primary'
170
+ labelVariant: 'primary',
171
+ toggleStyle: 'switch'
171
172
  }
172
173
  },
173
174
  {
@@ -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
  {
@@ -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
  {
@@ -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
  {
@@ -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',
@@ -847,12 +847,12 @@ const ProductButtonSettings = [
847
847
  },
848
848
  {
849
849
  id: 'enableIcon',
850
- type: 'switch',
850
+ type: 'toggle',
851
851
  default: true
852
852
  },
853
853
  {
854
854
  id: 'enableTextStyle',
855
- type: 'switch',
855
+ type: 'toggle',
856
856
  default: true
857
857
  },
858
858
  {
@@ -211,7 +211,8 @@ const SettingUIV2 = [
211
211
  id: 'enableIcon'
212
212
  },
213
213
  options: {
214
- labelVariant: 'primary'
214
+ labelVariant: 'primary',
215
+ toggleStyle: 'switch'
215
216
  }
216
217
  },
217
218
  {
@@ -256,7 +257,8 @@ const SettingUIV2 = [
256
257
  id: 'enableTextStyle'
257
258
  },
258
259
  options: {
259
- labelVariant: 'primary'
260
+ labelVariant: 'primary',
261
+ toggleStyle: 'switch'
260
262
  }
261
263
  },
262
264
  {
@@ -27,7 +27,7 @@ const ProductDescriptionSettings = [
27
27
  {
28
28
  id: 'hasLineClamp',
29
29
  label: 'Enable View More',
30
- type: 'switch',
30
+ type: 'toggle',
31
31
  devices: {
32
32
  desktop: {
33
33
  default: true
@@ -37,7 +37,8 @@ const SettingUIV2 = [
37
37
  id: 'hasLineClamp'
38
38
  },
39
39
  options: {
40
- labelVariant: 'primary'
40
+ labelVariant: 'primary',
41
+ toggleStyle: 'switch'
41
42
  }
42
43
  },
43
44
  {
@@ -52,7 +52,7 @@ const ProductListSettingsV2 = [
52
52
  {
53
53
  id: 'dot',
54
54
  label: 'Dot',
55
- type: 'switch',
55
+ type: 'toggle',
56
56
  devices: {
57
57
  desktop: {
58
58
  default: false
@@ -133,7 +133,7 @@ const ProductListSettingsV2 = [
133
133
  {
134
134
  id: 'arrow',
135
135
  label: 'Next/Prev Arrow',
136
- type: 'switch',
136
+ type: 'toggle',
137
137
  devices: {
138
138
  desktop: {
139
139
  default: false
@@ -156,7 +156,8 @@ const SettingUIV2 = [
156
156
  id: 'dot'
157
157
  },
158
158
  options: {
159
- labelVariant: 'primary'
159
+ labelVariant: 'primary',
160
+ toggleStyle: 'switch'
160
161
  }
161
162
  },
162
163
  {
@@ -41,7 +41,7 @@ const ProductTitleSettings = [
41
41
  {
42
42
  id: 'linkProduct',
43
43
  label: 'Link To Product',
44
- type: 'switch',
44
+ type: 'toggle',
45
45
  default: false,
46
46
  info: 'Ability to click on product title to goto product detail page.'
47
47
  }
@@ -98,7 +98,7 @@ const ProductTitleSettings = [
98
98
  },
99
99
  {
100
100
  id: 'hasLineClamp',
101
- type: 'switch',
101
+ type: 'toggle',
102
102
  label: 'Has Line Clamp',
103
103
  devices: {
104
104
  desktop: {
@@ -73,7 +73,8 @@ const SettingUIV2 = [
73
73
  id: 'linkProduct'
74
74
  },
75
75
  options: {
76
- labelVariant: 'primary'
76
+ labelVariant: 'primary',
77
+ toggleStyle: 'switch'
77
78
  }
78
79
  }
79
80
  ]
@@ -11,7 +11,7 @@ const ProductVendorSettings = [
11
11
  {
12
12
  id: 'url',
13
13
  label: 'Open collection URL',
14
- type: 'switch',
14
+ type: 'toggle',
15
15
  default: false
16
16
  },
17
17
  {
@@ -100,7 +100,8 @@ const SettingUIV2 = [
100
100
  id: 'url'
101
101
  },
102
102
  options: {
103
- labelVariant: 'primary'
103
+ labelVariant: 'primary',
104
+ toggleStyle: 'switch'
104
105
  },
105
106
  help: {
106
107
  content: `Click to open a collection page with all products from the same vendor.`
@@ -100,7 +100,7 @@ const StockCounterSettings = [
100
100
  {
101
101
  id: 'showIcon',
102
102
  label: 'Show Icon',
103
- type: 'switch',
103
+ type: 'toggle',
104
104
  default: true
105
105
  },
106
106
  {
@@ -225,7 +225,7 @@ const StockCounterSettings = [
225
225
  {
226
226
  id: 'displayProgressBar',
227
227
  label: 'Display',
228
- type: 'switch',
228
+ type: 'toggle',
229
229
  default: true
230
230
  },
231
231
  {
@@ -69,7 +69,8 @@ const SettingUIV2 = [
69
69
  id: 'showIcon'
70
70
  },
71
71
  options: {
72
- labelVariant: 'primary'
72
+ labelVariant: 'primary',
73
+ toggleStyle: 'switch'
73
74
  }
74
75
  },
75
76
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.247",
3
+ "version": "2.0.0-dev.248",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -22,7 +22,7 @@
22
22
  "relationship": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/get-control-relationship.js && node ./scripts/get-element-relationship.js"
23
23
  },
24
24
  "devDependencies": {
25
- "@gem-sdk/core": "2.0.0-dev.239",
25
+ "@gem-sdk/core": "2.0.0-dev.248",
26
26
  "@gem-sdk/styles": "2.0.0-dev.234",
27
27
  "@gem-sdk/system": "2.0.0-dev.234",
28
28
  "@types/react-transition-group": "^4.4.5"