@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.
- package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +4 -0
- package/dist/cjs/breadcrumb/setting/configs/settings.js +1 -1
- package/dist/cjs/breadcrumb/setting/configs/uiV2.js +2 -1
- package/dist/cjs/button/setting/configs/settings.js +1 -1
- package/dist/cjs/button/setting/configs/uiV2.js +2 -1
- package/dist/cjs/collection/setting/collection-description/configs/settings.js +1 -1
- package/dist/cjs/collection/setting/collection-description/configs/uiV2.js +2 -1
- package/dist/cjs/collection/setting/collection-toolbar/configs/settings.js +1 -1
- package/dist/cjs/collection/setting/collection-toolbar/configs/uiV2.js +2 -1
- package/dist/cjs/form/setting/submit-button/configs/settings.js +1 -1
- package/dist/cjs/form/setting/submit-button/configs/uiV2.js +2 -1
- package/dist/cjs/image-comparison/setting/configs/settings.js +1 -1
- package/dist/cjs/image-comparison/setting/configs/uiV2.js +2 -1
- package/dist/cjs/marquee/setting/configs/settingsV2.js +1 -1
- package/dist/cjs/marquee/setting/configs/uiV2.js +2 -1
- package/dist/cjs/post-purchase/callout-banner/setting/config/callout-text/setting.js +21 -3
- package/dist/cjs/product/setting/product-button/configs/settings.js +2 -2
- package/dist/cjs/product/setting/product-button/configs/uiV2.js +4 -2
- package/dist/cjs/product/setting/product-description/configs/settings.js +1 -1
- package/dist/cjs/product/setting/product-description/configs/uiV2.js +2 -1
- package/dist/cjs/product/setting/product-list/configs/settingsV2.js +2 -2
- package/dist/cjs/product/setting/product-list/configs/uiV2.js +2 -1
- package/dist/cjs/product/setting/product-title/configs/settings.js +2 -2
- package/dist/cjs/product/setting/product-title/configs/uiV2.js +2 -1
- package/dist/cjs/product/setting/product-vendor/configs/settings.js +1 -1
- package/dist/cjs/product/setting/product-vendor/configs/uiV2.js +2 -1
- package/dist/cjs/stock-counter/setting/configs/settings.js +2 -2
- package/dist/cjs/stock-counter/setting/configs/uiV2.js +2 -1
- package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +1 -1
- package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +4 -0
- package/dist/esm/breadcrumb/setting/configs/settings.js +1 -1
- package/dist/esm/breadcrumb/setting/configs/uiV2.js +2 -1
- package/dist/esm/button/setting/configs/settings.js +1 -1
- package/dist/esm/button/setting/configs/uiV2.js +2 -1
- package/dist/esm/collection/setting/collection-description/configs/settings.js +1 -1
- package/dist/esm/collection/setting/collection-description/configs/uiV2.js +2 -1
- package/dist/esm/collection/setting/collection-toolbar/configs/settings.js +1 -1
- package/dist/esm/collection/setting/collection-toolbar/configs/uiV2.js +2 -1
- package/dist/esm/form/setting/submit-button/configs/settings.js +1 -1
- package/dist/esm/form/setting/submit-button/configs/uiV2.js +2 -1
- package/dist/esm/image-comparison/setting/configs/settings.js +1 -1
- package/dist/esm/image-comparison/setting/configs/uiV2.js +2 -1
- package/dist/esm/marquee/setting/configs/settingsV2.js +1 -1
- package/dist/esm/marquee/setting/configs/uiV2.js +2 -1
- package/dist/esm/post-purchase/callout-banner/setting/config/callout-text/setting.js +21 -3
- package/dist/esm/product/setting/product-button/configs/settings.js +2 -2
- package/dist/esm/product/setting/product-button/configs/uiV2.js +4 -2
- package/dist/esm/product/setting/product-description/configs/settings.js +1 -1
- package/dist/esm/product/setting/product-description/configs/uiV2.js +2 -1
- package/dist/esm/product/setting/product-list/configs/settingsV2.js +2 -2
- package/dist/esm/product/setting/product-list/configs/uiV2.js +2 -1
- package/dist/esm/product/setting/product-title/configs/settings.js +2 -2
- package/dist/esm/product/setting/product-title/configs/uiV2.js +2 -1
- package/dist/esm/product/setting/product-vendor/configs/settings.js +1 -1
- package/dist/esm/product/setting/product-vendor/configs/uiV2.js +2 -1
- package/dist/esm/stock-counter/setting/configs/settings.js +2 -2
- package/dist/esm/stock-counter/setting/configs/uiV2.js +2 -1
- package/package.json +2 -2
|
@@ -91,13 +91,14 @@ const CalloutTextSettings = [
|
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
id: 'width',
|
|
94
|
-
type: 'input
|
|
94
|
+
type: 'dropdown:input',
|
|
95
95
|
label: 'Width',
|
|
96
|
-
|
|
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: '
|
|
852
|
+
type: 'toggle',
|
|
853
853
|
default: true
|
|
854
854
|
},
|
|
855
855
|
{
|
|
856
856
|
id: 'enableTextStyle',
|
|
857
|
-
type: '
|
|
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
|
{
|
|
@@ -54,7 +54,7 @@ const ProductListSettingsV2 = [
|
|
|
54
54
|
{
|
|
55
55
|
id: 'dot',
|
|
56
56
|
label: 'Dot',
|
|
57
|
-
type: '
|
|
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: '
|
|
138
|
+
type: 'toggle',
|
|
139
139
|
devices: {
|
|
140
140
|
desktop: {
|
|
141
141
|
default: false
|
|
@@ -43,7 +43,7 @@ const ProductTitleSettings = [
|
|
|
43
43
|
{
|
|
44
44
|
id: 'linkProduct',
|
|
45
45
|
label: 'Link To Product',
|
|
46
|
-
type: '
|
|
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: '
|
|
103
|
+
type: 'toggle',
|
|
104
104
|
label: 'Has Line Clamp',
|
|
105
105
|
devices: {
|
|
106
106
|
desktop: {
|
|
@@ -102,7 +102,7 @@ const StockCounterSettings = [
|
|
|
102
102
|
{
|
|
103
103
|
id: 'showIcon',
|
|
104
104
|
label: 'Show Icon',
|
|
105
|
-
type: '
|
|
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: '
|
|
230
|
+
type: 'toggle',
|
|
231
231
|
default: true
|
|
232
232
|
},
|
|
233
233
|
{
|
|
@@ -89,13 +89,14 @@ const CalloutTextSettings = [
|
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
id: 'width',
|
|
92
|
-
type: 'input
|
|
92
|
+
type: 'dropdown:input',
|
|
93
93
|
label: 'Width',
|
|
94
|
-
|
|
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: '
|
|
850
|
+
type: 'toggle',
|
|
851
851
|
default: true
|
|
852
852
|
},
|
|
853
853
|
{
|
|
854
854
|
id: 'enableTextStyle',
|
|
855
|
-
type: '
|
|
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
|
{
|
|
@@ -52,7 +52,7 @@ const ProductListSettingsV2 = [
|
|
|
52
52
|
{
|
|
53
53
|
id: 'dot',
|
|
54
54
|
label: 'Dot',
|
|
55
|
-
type: '
|
|
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: '
|
|
136
|
+
type: 'toggle',
|
|
137
137
|
devices: {
|
|
138
138
|
desktop: {
|
|
139
139
|
default: false
|
|
@@ -41,7 +41,7 @@ const ProductTitleSettings = [
|
|
|
41
41
|
{
|
|
42
42
|
id: 'linkProduct',
|
|
43
43
|
label: 'Link To Product',
|
|
44
|
-
type: '
|
|
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: '
|
|
101
|
+
type: 'toggle',
|
|
102
102
|
label: 'Has Line Clamp',
|
|
103
103
|
devices: {
|
|
104
104
|
desktop: {
|
|
@@ -100,7 +100,7 @@ const StockCounterSettings = [
|
|
|
100
100
|
{
|
|
101
101
|
id: 'showIcon',
|
|
102
102
|
label: 'Show Icon',
|
|
103
|
-
type: '
|
|
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: '
|
|
228
|
+
type: 'toggle',
|
|
229
229
|
default: true
|
|
230
230
|
},
|
|
231
231
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
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.
|
|
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"
|