@gem-sdk/components 2.0.0-dev.639 → 2.0.0-dev.640
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/coupon/common/index.js +2 -2
- package/dist/cjs/coupon/common/styles.js +1 -1
- package/dist/cjs/coupon/setting/config/settings.js +14 -1
- package/dist/cjs/coupon/setting/config/uiV2.js +10 -3
- package/dist/cjs/product/components/ProductButton/common/styles.js +26 -68
- package/dist/cjs/product/setting/product-button/configs/uiV2.js +0 -9
- package/dist/cjs/third-party-slot/setting/ThirdPartySlot.js +3 -1
- package/dist/cjs/third-party-slot/setting/uiV2.js +1 -7
- package/dist/esm/coupon/common/index.js +2 -2
- package/dist/esm/coupon/common/styles.js +1 -1
- package/dist/esm/coupon/setting/config/settings.js +14 -1
- package/dist/esm/coupon/setting/config/uiV2.js +10 -3
- package/dist/esm/product/components/ProductButton/common/styles.js +26 -68
- package/dist/esm/product/setting/product-button/configs/uiV2.js +0 -9
- package/dist/esm/third-party-slot/setting/ThirdPartySlot.js +3 -1
- package/dist/esm/third-party-slot/setting/uiV2.js +1 -7
- package/package.json +2 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const getButtonSetting = ({ setting, htmlType, label, styles })=>{
|
|
4
|
-
const { iconSvg, iconAlign,
|
|
4
|
+
const { iconSvg, iconAlign, translate, shouldClearSpace, iconVisible } = setting ?? {};
|
|
5
5
|
const labelConvert = styles?.enableTextStyle ? label : '';
|
|
6
6
|
return {
|
|
7
7
|
label: labelConvert,
|
|
8
8
|
htmlType,
|
|
9
9
|
iconAlign,
|
|
10
10
|
iconSvg,
|
|
11
|
-
iconVisible
|
|
11
|
+
iconVisible,
|
|
12
12
|
translate,
|
|
13
13
|
shouldClearSpace
|
|
14
14
|
};
|
|
@@ -5,7 +5,7 @@ var core = require('@gem-sdk/core');
|
|
|
5
5
|
const getButtonStyles = (styles)=>{
|
|
6
6
|
return {
|
|
7
7
|
...styles,
|
|
8
|
-
enableTextStyle:
|
|
8
|
+
enableTextStyle: true
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
const getButtonStyle = (style, styles)=>{
|
|
@@ -219,7 +219,20 @@ const CouponSettings = [
|
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
id: 'textColorHover',
|
|
222
|
-
type: 'color-picker-v2'
|
|
222
|
+
type: 'color-picker-v2',
|
|
223
|
+
devices: {
|
|
224
|
+
desktop: {
|
|
225
|
+
default: {}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
compoDefaultValue: {
|
|
229
|
+
desktop: {
|
|
230
|
+
default: {
|
|
231
|
+
hover: 'text-3',
|
|
232
|
+
active: 'text-3'
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
223
236
|
},
|
|
224
237
|
{
|
|
225
238
|
id: 'align',
|
|
@@ -240,7 +240,7 @@ const SettingUIV2 = [
|
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
|
-
conditionDisplay: '
|
|
243
|
+
conditionDisplay: 'iconVisible == true',
|
|
244
244
|
type: 'control',
|
|
245
245
|
setting: {
|
|
246
246
|
id: 'iconSvg'
|
|
@@ -250,7 +250,7 @@ const SettingUIV2 = [
|
|
|
250
250
|
}
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
|
-
conditionDisplay: '
|
|
253
|
+
conditionDisplay: 'iconVisible == true',
|
|
254
254
|
type: 'control',
|
|
255
255
|
label: {
|
|
256
256
|
en: 'Position'
|
|
@@ -260,7 +260,7 @@ const SettingUIV2 = [
|
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
|
-
conditionDisplay: '
|
|
263
|
+
conditionDisplay: 'iconVisible == true',
|
|
264
264
|
type: 'control',
|
|
265
265
|
label: {
|
|
266
266
|
en: 'Gap'
|
|
@@ -396,6 +396,13 @@ const SettingUIV2 = [
|
|
|
396
396
|
setting: {
|
|
397
397
|
id: 'textColorHover',
|
|
398
398
|
state: 'hover'
|
|
399
|
+
},
|
|
400
|
+
compoDefaultValue: {
|
|
401
|
+
desktop: {
|
|
402
|
+
default: {
|
|
403
|
+
normal: '#121212'
|
|
404
|
+
}
|
|
405
|
+
}
|
|
399
406
|
}
|
|
400
407
|
}
|
|
401
408
|
]
|
|
@@ -25,12 +25,11 @@ const getAddToCartButtonStyles = (styles)=>{
|
|
|
25
25
|
};
|
|
26
26
|
const getSoldOutButtonStyles = (styles)=>{
|
|
27
27
|
const { isCustomOutOfStock, oosBorder, oosShadow, oosRounded, oosBorderV2, oosShadowV2, oosTextColor, oosRoundedV2, oosBackground, oosTextColorV2, oosBackgroundV2, oosEnableShadow, ...buttonStyles } = styles ?? {};
|
|
28
|
-
|
|
28
|
+
const buttonSoldOutStyles = {
|
|
29
29
|
...buttonStyles
|
|
30
30
|
};
|
|
31
31
|
if (isCustomOutOfStock) {
|
|
32
|
-
buttonSoldOutStyles
|
|
33
|
-
...buttonStyles,
|
|
32
|
+
Object.assign(buttonSoldOutStyles, {
|
|
34
33
|
backgroundColor: {
|
|
35
34
|
normal: oosBackground
|
|
36
35
|
},
|
|
@@ -47,75 +46,34 @@ const getSoldOutButtonStyles = (styles)=>{
|
|
|
47
46
|
roundedBtn: {
|
|
48
47
|
normal: oosRounded
|
|
49
48
|
}
|
|
50
|
-
};
|
|
49
|
+
});
|
|
51
50
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
if (oosShadowV2) {
|
|
69
|
-
buttonSoldOutStyles.boxShadowBtnV2 = {
|
|
70
|
-
desktop: {
|
|
71
|
-
normal: oosShadowV2?.desktop?.normal
|
|
72
|
-
},
|
|
73
|
-
tablet: {
|
|
74
|
-
normal: oosShadowV2?.tablet?.normal
|
|
75
|
-
},
|
|
76
|
-
mobile: {
|
|
77
|
-
normal: oosShadowV2?.mobile?.normal
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
if (oosRoundedV2) {
|
|
82
|
-
buttonSoldOutStyles.roundedBtnV2 = {
|
|
83
|
-
desktop: {
|
|
84
|
-
normal: oosRoundedV2?.desktop?.normal
|
|
85
|
-
},
|
|
86
|
-
tablet: {
|
|
87
|
-
normal: oosRoundedV2?.tablet?.normal
|
|
88
|
-
},
|
|
89
|
-
mobile: {
|
|
90
|
-
normal: oosRoundedV2?.mobile?.normal
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
if (oosBorderV2) {
|
|
95
|
-
buttonSoldOutStyles.borderBtnV2 = {
|
|
96
|
-
desktop: {
|
|
97
|
-
normal: oosBorderV2?.desktop?.normal
|
|
98
|
-
},
|
|
99
|
-
tablet: {
|
|
100
|
-
normal: oosBorderV2?.tablet?.normal
|
|
101
|
-
},
|
|
102
|
-
mobile: {
|
|
103
|
-
normal: oosBorderV2?.mobile?.normal
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
if (oosTextColorV2) {
|
|
108
|
-
buttonSoldOutStyles.typo = buttonSoldOutStyles.typo ?? {};
|
|
109
|
-
buttonSoldOutStyles.typo.attrs = buttonSoldOutStyles.typo.attrs ?? {};
|
|
110
|
-
if (oosTextColorV2.desktop?.normal) {
|
|
111
|
-
buttonSoldOutStyles.typo = {
|
|
112
|
-
...buttonSoldOutStyles.typo,
|
|
113
|
-
attrs: {
|
|
114
|
-
...buttonSoldOutStyles.typo.attrs,
|
|
115
|
-
color: oosTextColorV2.desktop.normal
|
|
51
|
+
const mapStylesByDevice = (target, key, value)=>{
|
|
52
|
+
if (value) {
|
|
53
|
+
target[key] = {
|
|
54
|
+
desktop: {
|
|
55
|
+
normal: value.desktop?.normal,
|
|
56
|
+
hover: target[key]?.desktop?.hover
|
|
57
|
+
},
|
|
58
|
+
tablet: {
|
|
59
|
+
normal: value.tablet?.normal,
|
|
60
|
+
hover: target[key]?.tablet?.hover
|
|
61
|
+
},
|
|
62
|
+
mobile: {
|
|
63
|
+
normal: value.mobile?.normal,
|
|
64
|
+
hover: target[key]?.mobile?.hover
|
|
116
65
|
}
|
|
117
66
|
};
|
|
118
67
|
}
|
|
68
|
+
};
|
|
69
|
+
mapStylesByDevice(buttonSoldOutStyles, 'backgroundColorV2', oosBackgroundV2);
|
|
70
|
+
mapStylesByDevice(buttonSoldOutStyles, 'boxShadowBtnV2', oosShadowV2);
|
|
71
|
+
mapStylesByDevice(buttonSoldOutStyles, 'roundedBtnV2', oosRoundedV2);
|
|
72
|
+
mapStylesByDevice(buttonSoldOutStyles, 'borderBtnV2', oosBorderV2);
|
|
73
|
+
if (oosTextColorV2?.desktop?.normal) {
|
|
74
|
+
buttonSoldOutStyles.typo = buttonSoldOutStyles.typo ?? {};
|
|
75
|
+
buttonSoldOutStyles.typo.attrs = buttonSoldOutStyles.typo.attrs ?? {};
|
|
76
|
+
buttonSoldOutStyles.typo.attrs.color = oosTextColorV2.desktop.normal;
|
|
119
77
|
}
|
|
120
78
|
return {
|
|
121
79
|
...getButtonBaseStyles(),
|
|
@@ -960,15 +960,6 @@ const SettingUIV2 = [
|
|
|
960
960
|
id: 'variantSelectionRequiredMessage'
|
|
961
961
|
}
|
|
962
962
|
},
|
|
963
|
-
{
|
|
964
|
-
label: {
|
|
965
|
-
en: 'Content'
|
|
966
|
-
},
|
|
967
|
-
conditionDisplay: "errorType !== 'custom'",
|
|
968
|
-
setting: {
|
|
969
|
-
id: 'errorMessage'
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
963
|
{
|
|
973
964
|
layout: 'vertical',
|
|
974
965
|
setting: {
|
|
@@ -25,8 +25,10 @@ const config = {
|
|
|
25
25
|
controls: [
|
|
26
26
|
{
|
|
27
27
|
id: 'setupGuide',
|
|
28
|
-
label: '
|
|
28
|
+
label: '',
|
|
29
|
+
title: 'Setup in Shopify',
|
|
29
30
|
type: 'steps-guide',
|
|
31
|
+
info: 'You can integrate your store with Shopify Apps using this element',
|
|
30
32
|
steps: [
|
|
31
33
|
{
|
|
32
34
|
label: 'Publish this page',
|
|
@@ -3,18 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const SettingUIV2 = [
|
|
6
|
-
{
|
|
7
|
-
messageConfig: {
|
|
8
|
-
type: 'info',
|
|
9
|
-
message: `You can integrate your store with any Shopify apps using this element`
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
6
|
{
|
|
13
7
|
controls: [
|
|
14
8
|
{
|
|
15
9
|
type: 'control',
|
|
16
10
|
label: {
|
|
17
|
-
en: '
|
|
11
|
+
en: ''
|
|
18
12
|
},
|
|
19
13
|
layout: 'vertical',
|
|
20
14
|
setting: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const getButtonSetting = ({ setting, htmlType, label, styles })=>{
|
|
2
|
-
const { iconSvg, iconAlign,
|
|
2
|
+
const { iconSvg, iconAlign, translate, shouldClearSpace, iconVisible } = setting ?? {};
|
|
3
3
|
const labelConvert = styles?.enableTextStyle ? label : '';
|
|
4
4
|
return {
|
|
5
5
|
label: labelConvert,
|
|
6
6
|
htmlType,
|
|
7
7
|
iconAlign,
|
|
8
8
|
iconSvg,
|
|
9
|
-
iconVisible
|
|
9
|
+
iconVisible,
|
|
10
10
|
translate,
|
|
11
11
|
shouldClearSpace
|
|
12
12
|
};
|
|
@@ -3,7 +3,7 @@ import { makeStyleResponsive, composeBorderCss, composeCornerCss, getStyleShadow
|
|
|
3
3
|
const getButtonStyles = (styles)=>{
|
|
4
4
|
return {
|
|
5
5
|
...styles,
|
|
6
|
-
enableTextStyle:
|
|
6
|
+
enableTextStyle: true
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
const getButtonStyle = (style, styles)=>{
|
|
@@ -217,7 +217,20 @@ const CouponSettings = [
|
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
id: 'textColorHover',
|
|
220
|
-
type: 'color-picker-v2'
|
|
220
|
+
type: 'color-picker-v2',
|
|
221
|
+
devices: {
|
|
222
|
+
desktop: {
|
|
223
|
+
default: {}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
compoDefaultValue: {
|
|
227
|
+
desktop: {
|
|
228
|
+
default: {
|
|
229
|
+
hover: 'text-3',
|
|
230
|
+
active: 'text-3'
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
221
234
|
},
|
|
222
235
|
{
|
|
223
236
|
id: 'align',
|
|
@@ -238,7 +238,7 @@ const SettingUIV2 = [
|
|
|
238
238
|
}
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
|
-
conditionDisplay: '
|
|
241
|
+
conditionDisplay: 'iconVisible == true',
|
|
242
242
|
type: 'control',
|
|
243
243
|
setting: {
|
|
244
244
|
id: 'iconSvg'
|
|
@@ -248,7 +248,7 @@ const SettingUIV2 = [
|
|
|
248
248
|
}
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
|
-
conditionDisplay: '
|
|
251
|
+
conditionDisplay: 'iconVisible == true',
|
|
252
252
|
type: 'control',
|
|
253
253
|
label: {
|
|
254
254
|
en: 'Position'
|
|
@@ -258,7 +258,7 @@ const SettingUIV2 = [
|
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
|
-
conditionDisplay: '
|
|
261
|
+
conditionDisplay: 'iconVisible == true',
|
|
262
262
|
type: 'control',
|
|
263
263
|
label: {
|
|
264
264
|
en: 'Gap'
|
|
@@ -394,6 +394,13 @@ const SettingUIV2 = [
|
|
|
394
394
|
setting: {
|
|
395
395
|
id: 'textColorHover',
|
|
396
396
|
state: 'hover'
|
|
397
|
+
},
|
|
398
|
+
compoDefaultValue: {
|
|
399
|
+
desktop: {
|
|
400
|
+
default: {
|
|
401
|
+
normal: '#121212'
|
|
402
|
+
}
|
|
403
|
+
}
|
|
397
404
|
}
|
|
398
405
|
}
|
|
399
406
|
]
|
|
@@ -23,12 +23,11 @@ const getAddToCartButtonStyles = (styles)=>{
|
|
|
23
23
|
};
|
|
24
24
|
const getSoldOutButtonStyles = (styles)=>{
|
|
25
25
|
const { isCustomOutOfStock, oosBorder, oosShadow, oosRounded, oosBorderV2, oosShadowV2, oosTextColor, oosRoundedV2, oosBackground, oosTextColorV2, oosBackgroundV2, oosEnableShadow, ...buttonStyles } = styles ?? {};
|
|
26
|
-
|
|
26
|
+
const buttonSoldOutStyles = {
|
|
27
27
|
...buttonStyles
|
|
28
28
|
};
|
|
29
29
|
if (isCustomOutOfStock) {
|
|
30
|
-
buttonSoldOutStyles
|
|
31
|
-
...buttonStyles,
|
|
30
|
+
Object.assign(buttonSoldOutStyles, {
|
|
32
31
|
backgroundColor: {
|
|
33
32
|
normal: oosBackground
|
|
34
33
|
},
|
|
@@ -45,75 +44,34 @@ const getSoldOutButtonStyles = (styles)=>{
|
|
|
45
44
|
roundedBtn: {
|
|
46
45
|
normal: oosRounded
|
|
47
46
|
}
|
|
48
|
-
};
|
|
47
|
+
});
|
|
49
48
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
if (oosShadowV2) {
|
|
67
|
-
buttonSoldOutStyles.boxShadowBtnV2 = {
|
|
68
|
-
desktop: {
|
|
69
|
-
normal: oosShadowV2?.desktop?.normal
|
|
70
|
-
},
|
|
71
|
-
tablet: {
|
|
72
|
-
normal: oosShadowV2?.tablet?.normal
|
|
73
|
-
},
|
|
74
|
-
mobile: {
|
|
75
|
-
normal: oosShadowV2?.mobile?.normal
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
if (oosRoundedV2) {
|
|
80
|
-
buttonSoldOutStyles.roundedBtnV2 = {
|
|
81
|
-
desktop: {
|
|
82
|
-
normal: oosRoundedV2?.desktop?.normal
|
|
83
|
-
},
|
|
84
|
-
tablet: {
|
|
85
|
-
normal: oosRoundedV2?.tablet?.normal
|
|
86
|
-
},
|
|
87
|
-
mobile: {
|
|
88
|
-
normal: oosRoundedV2?.mobile?.normal
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
if (oosBorderV2) {
|
|
93
|
-
buttonSoldOutStyles.borderBtnV2 = {
|
|
94
|
-
desktop: {
|
|
95
|
-
normal: oosBorderV2?.desktop?.normal
|
|
96
|
-
},
|
|
97
|
-
tablet: {
|
|
98
|
-
normal: oosBorderV2?.tablet?.normal
|
|
99
|
-
},
|
|
100
|
-
mobile: {
|
|
101
|
-
normal: oosBorderV2?.mobile?.normal
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
if (oosTextColorV2) {
|
|
106
|
-
buttonSoldOutStyles.typo = buttonSoldOutStyles.typo ?? {};
|
|
107
|
-
buttonSoldOutStyles.typo.attrs = buttonSoldOutStyles.typo.attrs ?? {};
|
|
108
|
-
if (oosTextColorV2.desktop?.normal) {
|
|
109
|
-
buttonSoldOutStyles.typo = {
|
|
110
|
-
...buttonSoldOutStyles.typo,
|
|
111
|
-
attrs: {
|
|
112
|
-
...buttonSoldOutStyles.typo.attrs,
|
|
113
|
-
color: oosTextColorV2.desktop.normal
|
|
49
|
+
const mapStylesByDevice = (target, key, value)=>{
|
|
50
|
+
if (value) {
|
|
51
|
+
target[key] = {
|
|
52
|
+
desktop: {
|
|
53
|
+
normal: value.desktop?.normal,
|
|
54
|
+
hover: target[key]?.desktop?.hover
|
|
55
|
+
},
|
|
56
|
+
tablet: {
|
|
57
|
+
normal: value.tablet?.normal,
|
|
58
|
+
hover: target[key]?.tablet?.hover
|
|
59
|
+
},
|
|
60
|
+
mobile: {
|
|
61
|
+
normal: value.mobile?.normal,
|
|
62
|
+
hover: target[key]?.mobile?.hover
|
|
114
63
|
}
|
|
115
64
|
};
|
|
116
65
|
}
|
|
66
|
+
};
|
|
67
|
+
mapStylesByDevice(buttonSoldOutStyles, 'backgroundColorV2', oosBackgroundV2);
|
|
68
|
+
mapStylesByDevice(buttonSoldOutStyles, 'boxShadowBtnV2', oosShadowV2);
|
|
69
|
+
mapStylesByDevice(buttonSoldOutStyles, 'roundedBtnV2', oosRoundedV2);
|
|
70
|
+
mapStylesByDevice(buttonSoldOutStyles, 'borderBtnV2', oosBorderV2);
|
|
71
|
+
if (oosTextColorV2?.desktop?.normal) {
|
|
72
|
+
buttonSoldOutStyles.typo = buttonSoldOutStyles.typo ?? {};
|
|
73
|
+
buttonSoldOutStyles.typo.attrs = buttonSoldOutStyles.typo.attrs ?? {};
|
|
74
|
+
buttonSoldOutStyles.typo.attrs.color = oosTextColorV2.desktop.normal;
|
|
117
75
|
}
|
|
118
76
|
return {
|
|
119
77
|
...getButtonBaseStyles(),
|
|
@@ -958,15 +958,6 @@ const SettingUIV2 = [
|
|
|
958
958
|
id: 'variantSelectionRequiredMessage'
|
|
959
959
|
}
|
|
960
960
|
},
|
|
961
|
-
{
|
|
962
|
-
label: {
|
|
963
|
-
en: 'Content'
|
|
964
|
-
},
|
|
965
|
-
conditionDisplay: "errorType !== 'custom'",
|
|
966
|
-
setting: {
|
|
967
|
-
id: 'errorMessage'
|
|
968
|
-
}
|
|
969
|
-
},
|
|
970
961
|
{
|
|
971
962
|
layout: 'vertical',
|
|
972
963
|
setting: {
|
|
@@ -21,8 +21,10 @@ const config = {
|
|
|
21
21
|
controls: [
|
|
22
22
|
{
|
|
23
23
|
id: 'setupGuide',
|
|
24
|
-
label: '
|
|
24
|
+
label: '',
|
|
25
|
+
title: 'Setup in Shopify',
|
|
25
26
|
type: 'steps-guide',
|
|
27
|
+
info: 'You can integrate your store with Shopify Apps using this element',
|
|
26
28
|
steps: [
|
|
27
29
|
{
|
|
28
30
|
label: 'Publish this page',
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
const SettingUIV2 = [
|
|
2
|
-
{
|
|
3
|
-
messageConfig: {
|
|
4
|
-
type: 'info',
|
|
5
|
-
message: `You can integrate your store with any Shopify apps using this element`
|
|
6
|
-
}
|
|
7
|
-
},
|
|
8
2
|
{
|
|
9
3
|
controls: [
|
|
10
4
|
{
|
|
11
5
|
type: 'control',
|
|
12
6
|
label: {
|
|
13
|
-
en: '
|
|
7
|
+
en: ''
|
|
14
8
|
},
|
|
15
9
|
layout: 'vertical',
|
|
16
10
|
setting: {
|
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.640",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"scan-all-text": "node ./scripts/scan-all-text.js"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@gem-sdk/core": "2.0.0-dev.
|
|
28
|
+
"@gem-sdk/core": "2.0.0-dev.640",
|
|
29
29
|
"@gem-sdk/styles": "2.0.0-dev.571",
|
|
30
30
|
"@gem-sdk/system": "2.0.0-dev.504",
|
|
31
31
|
"@types/react-transition-group": "^4.4.5",
|