@gem-sdk/components 2.0.0-dev.259 → 2.0.0-dev.260
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.
|
@@ -11,19 +11,6 @@ const SettingUIV2 = [
|
|
|
11
11
|
options: {
|
|
12
12
|
fullWidth: true
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
label: {
|
|
17
|
-
en: 'Column gap'
|
|
18
|
-
},
|
|
19
|
-
setting: {
|
|
20
|
-
id: 'columnGap'
|
|
21
|
-
},
|
|
22
|
-
options: {
|
|
23
|
-
fullWidth: true
|
|
24
|
-
},
|
|
25
|
-
conditionDisplay: `pageType == "POST_PURCHASE"`,
|
|
26
|
-
conditionEnable: '!!layout.cols && layout.cols.length > 1'
|
|
27
14
|
}
|
|
28
15
|
]
|
|
29
16
|
},
|
|
@@ -83,6 +70,26 @@ const SettingUIV2 = [
|
|
|
83
70
|
}
|
|
84
71
|
]
|
|
85
72
|
},
|
|
73
|
+
{
|
|
74
|
+
label: {
|
|
75
|
+
en: 'Column Spacing'
|
|
76
|
+
},
|
|
77
|
+
controls: [
|
|
78
|
+
{
|
|
79
|
+
label: {
|
|
80
|
+
en: 'Gap'
|
|
81
|
+
},
|
|
82
|
+
setting: {
|
|
83
|
+
id: 'columnGap'
|
|
84
|
+
},
|
|
85
|
+
options: {
|
|
86
|
+
fullWidth: true
|
|
87
|
+
},
|
|
88
|
+
conditionDisplay: `pageType == "POST_PURCHASE"`,
|
|
89
|
+
conditionEnable: '!!layout.cols && layout.cols.length > 1'
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
86
93
|
{
|
|
87
94
|
label: {
|
|
88
95
|
en: 'Size'
|
|
@@ -104,6 +111,7 @@ const SettingUIV2 = [
|
|
|
104
111
|
label: {
|
|
105
112
|
en: 'Padding'
|
|
106
113
|
},
|
|
114
|
+
conditionDisplay: `pageType != "POST_PURCHASE"`,
|
|
107
115
|
controlConfig: {
|
|
108
116
|
id: 'padding',
|
|
109
117
|
type: 'padding-v2',
|
|
@@ -220,18 +228,21 @@ const SettingUIV2 = [
|
|
|
220
228
|
]
|
|
221
229
|
},
|
|
222
230
|
{
|
|
223
|
-
label: {
|
|
224
|
-
en: 'Align'
|
|
225
|
-
},
|
|
226
|
-
conditionDisplay: `pageType == "POST_PURCHASE" && layout.display !== 'fill'`,
|
|
227
231
|
controls: [
|
|
228
232
|
{
|
|
229
233
|
label: {
|
|
230
|
-
en: '
|
|
234
|
+
en: 'Align'
|
|
231
235
|
},
|
|
232
236
|
setting: {
|
|
233
237
|
id: 'inlineAlignment'
|
|
234
|
-
}
|
|
238
|
+
},
|
|
239
|
+
options: {
|
|
240
|
+
labelVariant: 'primary',
|
|
241
|
+
fullWidth: true,
|
|
242
|
+
disableMessage: `Horizontal alignment is disabled when the width is set to 100% or greater`
|
|
243
|
+
},
|
|
244
|
+
conditionDisplay: `pageType == "POST_PURCHASE" && layout.display !== 'fill'`,
|
|
245
|
+
conditionEnable: '!(parseInt(width) >= 100 && width?.includes("%"))'
|
|
235
246
|
}
|
|
236
247
|
]
|
|
237
248
|
}
|
|
@@ -9,19 +9,6 @@ const SettingUIV2 = [
|
|
|
9
9
|
options: {
|
|
10
10
|
fullWidth: true
|
|
11
11
|
}
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
label: {
|
|
15
|
-
en: 'Column gap'
|
|
16
|
-
},
|
|
17
|
-
setting: {
|
|
18
|
-
id: 'columnGap'
|
|
19
|
-
},
|
|
20
|
-
options: {
|
|
21
|
-
fullWidth: true
|
|
22
|
-
},
|
|
23
|
-
conditionDisplay: `pageType == "POST_PURCHASE"`,
|
|
24
|
-
conditionEnable: '!!layout.cols && layout.cols.length > 1'
|
|
25
12
|
}
|
|
26
13
|
]
|
|
27
14
|
},
|
|
@@ -81,6 +68,26 @@ const SettingUIV2 = [
|
|
|
81
68
|
}
|
|
82
69
|
]
|
|
83
70
|
},
|
|
71
|
+
{
|
|
72
|
+
label: {
|
|
73
|
+
en: 'Column Spacing'
|
|
74
|
+
},
|
|
75
|
+
controls: [
|
|
76
|
+
{
|
|
77
|
+
label: {
|
|
78
|
+
en: 'Gap'
|
|
79
|
+
},
|
|
80
|
+
setting: {
|
|
81
|
+
id: 'columnGap'
|
|
82
|
+
},
|
|
83
|
+
options: {
|
|
84
|
+
fullWidth: true
|
|
85
|
+
},
|
|
86
|
+
conditionDisplay: `pageType == "POST_PURCHASE"`,
|
|
87
|
+
conditionEnable: '!!layout.cols && layout.cols.length > 1'
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
84
91
|
{
|
|
85
92
|
label: {
|
|
86
93
|
en: 'Size'
|
|
@@ -102,6 +109,7 @@ const SettingUIV2 = [
|
|
|
102
109
|
label: {
|
|
103
110
|
en: 'Padding'
|
|
104
111
|
},
|
|
112
|
+
conditionDisplay: `pageType != "POST_PURCHASE"`,
|
|
105
113
|
controlConfig: {
|
|
106
114
|
id: 'padding',
|
|
107
115
|
type: 'padding-v2',
|
|
@@ -218,18 +226,21 @@ const SettingUIV2 = [
|
|
|
218
226
|
]
|
|
219
227
|
},
|
|
220
228
|
{
|
|
221
|
-
label: {
|
|
222
|
-
en: 'Align'
|
|
223
|
-
},
|
|
224
|
-
conditionDisplay: `pageType == "POST_PURCHASE" && layout.display !== 'fill'`,
|
|
225
229
|
controls: [
|
|
226
230
|
{
|
|
227
231
|
label: {
|
|
228
|
-
en: '
|
|
232
|
+
en: 'Align'
|
|
229
233
|
},
|
|
230
234
|
setting: {
|
|
231
235
|
id: 'inlineAlignment'
|
|
232
|
-
}
|
|
236
|
+
},
|
|
237
|
+
options: {
|
|
238
|
+
labelVariant: 'primary',
|
|
239
|
+
fullWidth: true,
|
|
240
|
+
disableMessage: `Horizontal alignment is disabled when the width is set to 100% or greater`
|
|
241
|
+
},
|
|
242
|
+
conditionDisplay: `pageType == "POST_PURCHASE" && layout.display !== 'fill'`,
|
|
243
|
+
conditionEnable: '!(parseInt(width) >= 100 && width?.includes("%"))'
|
|
233
244
|
}
|
|
234
245
|
]
|
|
235
246
|
}
|