@gem-sdk/components 2.0.0-dev.718 → 2.0.0-dev.720
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/banner/components/common/getClasses.js +1 -1
- package/dist/cjs/banner/setting/uiV2.js +18 -2
- package/dist/cjs/product/setting/constant/bundle-layout/verticalThree.js +297 -125
- package/dist/cjs/product/setting/constant/bundle-layout/verticalTwo.js +296 -125
- package/dist/cjs/product/setting/product/configs/product-presets/product-1-col.js +8 -0
- package/dist/esm/banner/components/common/getClasses.js +1 -1
- package/dist/esm/banner/setting/uiV2.js +18 -2
- package/dist/esm/product/setting/constant/bundle-layout/verticalThree.js +297 -125
- package/dist/esm/product/setting/constant/bundle-layout/verticalTwo.js +296 -125
- package/dist/esm/product/setting/product/configs/product-presets/product-1-col.js +8 -0
- package/package.json +2 -2
|
@@ -62,7 +62,7 @@ const verticalTwo = [
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
tag: 'Text',
|
|
65
|
-
uid: '
|
|
65
|
+
uid: 'g7Gsjncudx',
|
|
66
66
|
childrens: []
|
|
67
67
|
},
|
|
68
68
|
{
|
|
@@ -121,7 +121,7 @@ const verticalTwo = [
|
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
tag: 'Text',
|
|
124
|
-
uid: '
|
|
124
|
+
uid: 'grA1-fUIZ6',
|
|
125
125
|
childrens: [],
|
|
126
126
|
advanced: {
|
|
127
127
|
'spacing-setting': {
|
|
@@ -138,161 +138,149 @@ const verticalTwo = [
|
|
|
138
138
|
settings: {},
|
|
139
139
|
styles: {},
|
|
140
140
|
tag: 'Col',
|
|
141
|
-
uid: '
|
|
141
|
+
uid: 'gxgt_apNs3'
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
|
-
uid: '
|
|
144
|
+
uid: 'gmzHnQEbIr',
|
|
145
145
|
tag: 'Col',
|
|
146
146
|
label: 'Block',
|
|
147
147
|
settings: {},
|
|
148
148
|
childrens: [
|
|
149
149
|
{
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
desktop: true,
|
|
153
|
-
mobile: true,
|
|
154
|
-
tablet: true
|
|
155
|
-
},
|
|
156
|
-
editorData: {
|
|
157
|
-
css: '.{{rootClassName}} > div > div{\nwidth:100%;\n}',
|
|
158
|
-
rootClassName: '{{rootClassName}}'
|
|
159
|
-
},
|
|
160
|
-
hasBoxShadow: {
|
|
161
|
-
desktop: {
|
|
162
|
-
normal: false
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
left: {
|
|
166
|
-
desktop: '0px'
|
|
167
|
-
},
|
|
168
|
-
op: {
|
|
169
|
-
desktop: '100%'
|
|
170
|
-
},
|
|
171
|
-
pos: {
|
|
172
|
-
desktop: 'static'
|
|
173
|
-
},
|
|
174
|
-
right: {
|
|
175
|
-
desktop: '0px'
|
|
176
|
-
},
|
|
177
|
-
rounded: {
|
|
178
|
-
desktop: {
|
|
179
|
-
normal: {
|
|
180
|
-
bblr: '0px',
|
|
181
|
-
bbrr: '0px',
|
|
182
|
-
btlr: '0px',
|
|
183
|
-
btrr: '0px',
|
|
184
|
-
radiusType: 'none'
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
'spacing-setting': {
|
|
189
|
-
desktop: {
|
|
190
|
-
margin: {
|
|
191
|
-
bottom: '8px'
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
z: {
|
|
196
|
-
desktop: 1
|
|
197
|
-
}
|
|
198
|
-
},
|
|
150
|
+
uid: 'gw_kZ5wf51',
|
|
151
|
+
tag: 'ProductBadge',
|
|
199
152
|
label: 'Product Badge',
|
|
200
153
|
settings: {
|
|
201
|
-
contentType: 'text',
|
|
202
|
-
displayContent: 'SALE {percent_discount}',
|
|
203
|
-
translate: 'displayContent',
|
|
204
154
|
displayTrigger: [
|
|
205
155
|
{
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
priority: 0,
|
|
156
|
+
triggerEvent: 'inventory_status',
|
|
157
|
+
type: 'in_stock',
|
|
209
158
|
quantityType: 'exact_or_above',
|
|
159
|
+
from: '1',
|
|
210
160
|
to: '15',
|
|
211
|
-
|
|
212
|
-
|
|
161
|
+
priority: 0,
|
|
162
|
+
conditionType: 'exact_or_above'
|
|
213
163
|
}
|
|
214
164
|
],
|
|
215
165
|
image: {
|
|
216
166
|
src: 'https://cdn.shopify.com/s/files/1/0697/6182/7064/files/gempages_523190969722471488-fc9fecb6-26b8-4836-b417-2dfb9ea43bd5.png?v=1723733677'
|
|
217
167
|
},
|
|
218
|
-
|
|
219
|
-
|
|
168
|
+
shape: 'horizontal_rectangle',
|
|
169
|
+
displayContent: 'Sale {percent_discount} off',
|
|
170
|
+
translate: 'displayContent',
|
|
171
|
+
contentType: 'text',
|
|
172
|
+
positionWithImage: 'outside'
|
|
220
173
|
},
|
|
221
174
|
styles: {
|
|
222
|
-
|
|
223
|
-
|
|
175
|
+
typo: {
|
|
176
|
+
type: 'paragraph-1',
|
|
177
|
+
attrs: {
|
|
178
|
+
color: '#121212'
|
|
179
|
+
}
|
|
224
180
|
},
|
|
181
|
+
position: {
|
|
182
|
+
desktop: {
|
|
183
|
+
placement: 'top-left',
|
|
184
|
+
topGap: '0',
|
|
185
|
+
leftGap: '0',
|
|
186
|
+
bottomGap: '0',
|
|
187
|
+
rightGap: '0'
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
badgeColor: '#FF614C',
|
|
225
191
|
badgeColorV2: {
|
|
226
192
|
desktop: {
|
|
227
193
|
normal: '#FF614C'
|
|
228
194
|
}
|
|
229
195
|
},
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
bbrr: '0px',
|
|
233
|
-
btlr: '0px',
|
|
234
|
-
btrr: '0px',
|
|
235
|
-
radiusType: 'custom'
|
|
236
|
-
},
|
|
237
|
-
hasShadow: false,
|
|
238
|
-
imageSize: {
|
|
196
|
+
textColor: 'text-3',
|
|
197
|
+
textBadgeBorder: {
|
|
239
198
|
desktop: {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
199
|
+
normal: {
|
|
200
|
+
borderType: 'none',
|
|
201
|
+
border: 'none',
|
|
202
|
+
borderWidth: '1px',
|
|
203
|
+
width: '1px 1px 1px 1px',
|
|
204
|
+
color: '#121212',
|
|
205
|
+
isCustom: true
|
|
206
|
+
},
|
|
207
|
+
hover: {
|
|
208
|
+
borderType: 'none',
|
|
209
|
+
border: 'none',
|
|
210
|
+
borderWidth: '1px',
|
|
211
|
+
width: '1px 1px 1px 1px',
|
|
212
|
+
color: '#121212',
|
|
213
|
+
isCustom: true
|
|
214
|
+
}
|
|
245
215
|
}
|
|
246
216
|
},
|
|
247
|
-
|
|
217
|
+
imageBadgeBorder: {
|
|
248
218
|
desktop: {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
219
|
+
normal: {
|
|
220
|
+
borderType: 'none',
|
|
221
|
+
border: 'none',
|
|
222
|
+
borderWidth: '1px',
|
|
223
|
+
width: '1px 1px 1px 1px',
|
|
224
|
+
color: '#121212',
|
|
225
|
+
isCustom: true
|
|
226
|
+
},
|
|
227
|
+
hover: {
|
|
228
|
+
borderType: 'none',
|
|
229
|
+
border: 'none',
|
|
230
|
+
borderWidth: '1px',
|
|
231
|
+
width: '1px 1px 1px 1px',
|
|
232
|
+
color: '#121212',
|
|
233
|
+
isCustom: true
|
|
234
|
+
}
|
|
254
235
|
}
|
|
255
236
|
},
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
type: 'shadow-1'
|
|
237
|
+
borderRadius: {
|
|
238
|
+
btrr: '3px',
|
|
239
|
+
bblr: '3px',
|
|
240
|
+
bbrr: '3px',
|
|
241
|
+
btlr: '3px',
|
|
242
|
+
radiusType: 'custom'
|
|
263
243
|
},
|
|
264
|
-
|
|
265
|
-
textSize: {
|
|
244
|
+
textBadgeCorner: {
|
|
266
245
|
desktop: {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
left: '12px',
|
|
274
|
-
right: '12px',
|
|
275
|
-
top: '8px'
|
|
246
|
+
normal: {
|
|
247
|
+
btrr: '0px',
|
|
248
|
+
bblr: '0px',
|
|
249
|
+
bbrr: '0px',
|
|
250
|
+
btlr: '0px',
|
|
251
|
+
radiusType: 'none'
|
|
276
252
|
},
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
253
|
+
hover: {
|
|
254
|
+
btrr: '0px',
|
|
255
|
+
bblr: '0px',
|
|
256
|
+
bbrr: '0px',
|
|
257
|
+
btlr: '0px',
|
|
258
|
+
radiusType: 'none'
|
|
259
|
+
}
|
|
280
260
|
}
|
|
281
261
|
},
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
262
|
+
imageBadgeCorner: {
|
|
263
|
+
desktop: {
|
|
264
|
+
normal: {
|
|
265
|
+
btrr: '0px',
|
|
266
|
+
bblr: '0px',
|
|
267
|
+
bbrr: '0px',
|
|
268
|
+
btlr: '0px',
|
|
269
|
+
radiusType: 'none'
|
|
270
|
+
},
|
|
271
|
+
hover: {
|
|
272
|
+
btrr: '0px',
|
|
273
|
+
bblr: '0px',
|
|
274
|
+
bbrr: '0px',
|
|
275
|
+
btlr: '0px',
|
|
276
|
+
radiusType: 'none'
|
|
289
277
|
}
|
|
290
|
-
}
|
|
291
|
-
type: 'paragraph-1'
|
|
278
|
+
}
|
|
292
279
|
},
|
|
280
|
+
hasShadow: false,
|
|
293
281
|
textSizeV2: {
|
|
294
282
|
desktop: {
|
|
295
|
-
width: '
|
|
283
|
+
width: 'auto',
|
|
296
284
|
height: 'auto',
|
|
297
285
|
shapeLinked: false,
|
|
298
286
|
disableShapeLinked: true,
|
|
@@ -305,11 +293,192 @@ const verticalTwo = [
|
|
|
305
293
|
right: '12px'
|
|
306
294
|
}
|
|
307
295
|
}
|
|
296
|
+
},
|
|
297
|
+
imageSizeV2: {
|
|
298
|
+
desktop: {
|
|
299
|
+
width: '20%',
|
|
300
|
+
height: 'auto',
|
|
301
|
+
shapeLinked: true,
|
|
302
|
+
hiddenShape: false,
|
|
303
|
+
shape: 'original',
|
|
304
|
+
disableShapeLinked: true
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
align: {
|
|
308
|
+
desktop: 'right'
|
|
309
|
+
},
|
|
310
|
+
shapeShadow: {
|
|
311
|
+
type: 'shadow-1',
|
|
312
|
+
distance: '4px',
|
|
313
|
+
blur: '12px',
|
|
314
|
+
spread: '0px',
|
|
315
|
+
color: '#121212',
|
|
316
|
+
angle: 90
|
|
317
|
+
},
|
|
318
|
+
textBadgeShadow: {
|
|
319
|
+
desktop: {
|
|
320
|
+
normal: {}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
imageBadgeShadow: {
|
|
324
|
+
desktop: {
|
|
325
|
+
normal: {}
|
|
326
|
+
}
|
|
308
327
|
}
|
|
309
328
|
},
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
329
|
+
advanced: {
|
|
330
|
+
d: {
|
|
331
|
+
desktop: true,
|
|
332
|
+
tablet: true,
|
|
333
|
+
mobile: true
|
|
334
|
+
},
|
|
335
|
+
border: {
|
|
336
|
+
desktop: {
|
|
337
|
+
normal: {
|
|
338
|
+
borderType: 'none',
|
|
339
|
+
border: 'none',
|
|
340
|
+
borderWidth: '1px',
|
|
341
|
+
width: '1px 1px 1px 1px',
|
|
342
|
+
color: '#121212',
|
|
343
|
+
isCustom: true
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
rounded: {
|
|
348
|
+
desktop: {
|
|
349
|
+
normal: {
|
|
350
|
+
btrr: '0px',
|
|
351
|
+
bblr: '0px',
|
|
352
|
+
bbrr: '0px',
|
|
353
|
+
btlr: '0px',
|
|
354
|
+
radiusType: 'none'
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
hasBoxShadow: {
|
|
359
|
+
desktop: {
|
|
360
|
+
normal: false
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
boxShadow: {
|
|
364
|
+
desktop: {
|
|
365
|
+
normal: {}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
op: {
|
|
369
|
+
desktop: '100%'
|
|
370
|
+
},
|
|
371
|
+
animation: {
|
|
372
|
+
desktop: {
|
|
373
|
+
enabled: false,
|
|
374
|
+
trigger: 'appear',
|
|
375
|
+
triggerConfig: {
|
|
376
|
+
appear: {
|
|
377
|
+
animation: 'fade',
|
|
378
|
+
setting: {
|
|
379
|
+
fade: {
|
|
380
|
+
delay: '0',
|
|
381
|
+
speed: 1.7,
|
|
382
|
+
easing: 'ease-out'
|
|
383
|
+
},
|
|
384
|
+
zoom: {
|
|
385
|
+
delay: '0',
|
|
386
|
+
speed: 1.7,
|
|
387
|
+
isFade: true,
|
|
388
|
+
easing: 'ease-out',
|
|
389
|
+
zoomDirection: 'in',
|
|
390
|
+
scale: {
|
|
391
|
+
in: [
|
|
392
|
+
80,
|
|
393
|
+
100
|
|
394
|
+
],
|
|
395
|
+
out: [
|
|
396
|
+
120,
|
|
397
|
+
100
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
slide: {
|
|
402
|
+
delay: '0',
|
|
403
|
+
speed: 1.7,
|
|
404
|
+
easing: 'ease-out',
|
|
405
|
+
direction: 'left',
|
|
406
|
+
isCustomDistance: false
|
|
407
|
+
},
|
|
408
|
+
shake: {
|
|
409
|
+
delay: '0',
|
|
410
|
+
speed: 0.7,
|
|
411
|
+
loop: false,
|
|
412
|
+
intensity: 11,
|
|
413
|
+
easing: 'linear'
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
hover: {
|
|
418
|
+
animation: 'none',
|
|
419
|
+
setting: {
|
|
420
|
+
fade: {
|
|
421
|
+
delay: '0',
|
|
422
|
+
speed: 1.7,
|
|
423
|
+
easing: 'ease-out'
|
|
424
|
+
},
|
|
425
|
+
zoom: {
|
|
426
|
+
delay: '0',
|
|
427
|
+
speed: 1.7,
|
|
428
|
+
isFade: false,
|
|
429
|
+
easing: 'ease-out',
|
|
430
|
+
zoomDirection: 'in',
|
|
431
|
+
scale: {
|
|
432
|
+
in: [
|
|
433
|
+
100,
|
|
434
|
+
120
|
|
435
|
+
],
|
|
436
|
+
out: [
|
|
437
|
+
100,
|
|
438
|
+
80
|
|
439
|
+
]
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
slide: {
|
|
443
|
+
delay: '0',
|
|
444
|
+
speed: 1.7,
|
|
445
|
+
easing: 'ease-out',
|
|
446
|
+
direction: 'left',
|
|
447
|
+
isCustomDistance: false
|
|
448
|
+
},
|
|
449
|
+
shake: {
|
|
450
|
+
delay: '0',
|
|
451
|
+
speed: 0.7,
|
|
452
|
+
loop: false,
|
|
453
|
+
intensity: 11,
|
|
454
|
+
easing: 'linear'
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
'spacing-setting': {
|
|
462
|
+
edited: [
|
|
463
|
+
'desktop'
|
|
464
|
+
],
|
|
465
|
+
desktop: {
|
|
466
|
+
margin: {
|
|
467
|
+
bottom: '0px'
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
tablet: {
|
|
471
|
+
margin: {
|
|
472
|
+
bottom: '0px'
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
mobile: {
|
|
476
|
+
margin: {
|
|
477
|
+
bottom: '0px'
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
}
|
|
313
482
|
},
|
|
314
483
|
{
|
|
315
484
|
childrens: [
|
|
@@ -561,14 +730,16 @@ const verticalTwo = [
|
|
|
561
730
|
}
|
|
562
731
|
},
|
|
563
732
|
priceType: 'compare'
|
|
564
|
-
}
|
|
733
|
+
},
|
|
734
|
+
uid: 'gCy64ANAyg',
|
|
735
|
+
childrens: []
|
|
565
736
|
}
|
|
566
737
|
],
|
|
567
738
|
label: 'Block',
|
|
568
739
|
settings: {},
|
|
569
740
|
styles: {},
|
|
570
741
|
tag: 'Col',
|
|
571
|
-
uid: '
|
|
742
|
+
uid: 'gNivOIdIES'
|
|
572
743
|
},
|
|
573
744
|
{
|
|
574
745
|
tag: 'Col',
|
|
@@ -604,11 +775,11 @@ const verticalTwo = [
|
|
|
604
775
|
}
|
|
605
776
|
},
|
|
606
777
|
tag: 'ProductPrice',
|
|
607
|
-
uid: '
|
|
778
|
+
uid: 'g6gUSBq8mG',
|
|
608
779
|
childrens: []
|
|
609
780
|
}
|
|
610
781
|
],
|
|
611
|
-
uid: '
|
|
782
|
+
uid: 'gxpKB1p5Zq'
|
|
612
783
|
}
|
|
613
784
|
],
|
|
614
785
|
label: 'Row',
|
|
@@ -674,7 +845,7 @@ const verticalTwo = [
|
|
|
674
845
|
}
|
|
675
846
|
},
|
|
676
847
|
tag: 'Row',
|
|
677
|
-
uid: '
|
|
848
|
+
uid: 'g9d3z_8DT4',
|
|
678
849
|
advanced: {
|
|
679
850
|
'spacing-setting': {
|
|
680
851
|
desktop: {
|
|
@@ -749,7 +920,7 @@ const verticalTwo = [
|
|
|
749
920
|
width: {}
|
|
750
921
|
},
|
|
751
922
|
tag: 'Row',
|
|
752
|
-
uid: '
|
|
923
|
+
uid: 'gJyBw8niWd'
|
|
753
924
|
}
|
|
754
925
|
];
|
|
755
926
|
|
|
@@ -41,6 +41,10 @@ const product1Col = {
|
|
|
41
41
|
},
|
|
42
42
|
width: {
|
|
43
43
|
desktop: '600px'
|
|
44
|
+
},
|
|
45
|
+
verticalGutterMobile: {
|
|
46
|
+
desktop: '32px',
|
|
47
|
+
mobile: '16px'
|
|
44
48
|
}
|
|
45
49
|
},
|
|
46
50
|
childrens: [
|
|
@@ -293,6 +297,10 @@ const product1ColProductPage = {
|
|
|
293
297
|
},
|
|
294
298
|
width: {
|
|
295
299
|
desktop: '600px'
|
|
300
|
+
},
|
|
301
|
+
verticalGutterMobile: {
|
|
302
|
+
desktop: '32px',
|
|
303
|
+
mobile: '16px'
|
|
296
304
|
}
|
|
297
305
|
},
|
|
298
306
|
childrens: [
|
|
@@ -78,7 +78,7 @@ const getHtml5VideoClasses = (aspectRatio, isHiddenVideoHtml5 = false)=>{
|
|
|
78
78
|
return composeClasses(classList);
|
|
79
79
|
};
|
|
80
80
|
const getWrapperYoutubeClasses = ()=>{
|
|
81
|
-
const classList = `gp-pb-[56.25%] gp-h-full gp-w-full !gp-max-w-none`;
|
|
81
|
+
const classList = `gp-pb-[56.25%] gp-h-full gp-w-full !gp-max-w-none gp-pointer-events-none`;
|
|
82
82
|
return composeClasses(classList);
|
|
83
83
|
};
|
|
84
84
|
const getIframeYoutubeClasses = ()=>{
|
|
@@ -227,6 +227,21 @@ const SettingUIV2 = [
|
|
|
227
227
|
en: 'Size'
|
|
228
228
|
},
|
|
229
229
|
controls: [
|
|
230
|
+
{
|
|
231
|
+
label: {
|
|
232
|
+
en: 'Video Ratio'
|
|
233
|
+
},
|
|
234
|
+
setting: {
|
|
235
|
+
id: 'aspectRatio'
|
|
236
|
+
},
|
|
237
|
+
conditionDisplay: 'background.type == "video" && background.videoType == "html5"'
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
conditionDisplay: "aspectRatio === 'custom'",
|
|
241
|
+
setting: {
|
|
242
|
+
id: 'ratioOptions'
|
|
243
|
+
}
|
|
244
|
+
},
|
|
230
245
|
{
|
|
231
246
|
setting: {
|
|
232
247
|
id: 'sizeSetting'
|
|
@@ -290,7 +305,7 @@ const SettingUIV2 = [
|
|
|
290
305
|
setting: {
|
|
291
306
|
id: 'verticalAlign'
|
|
292
307
|
},
|
|
293
|
-
conditionEnable: 'layout.cols.length > 1'
|
|
308
|
+
conditionEnable: 'layout.cols.length > 1 && layout.type != "right-distributed" && layout.type != "left-distributed"'
|
|
294
309
|
}
|
|
295
310
|
]
|
|
296
311
|
},
|
|
@@ -444,6 +459,7 @@ const SettingUIV2 = [
|
|
|
444
459
|
setting: {
|
|
445
460
|
id: 'enableParallax'
|
|
446
461
|
},
|
|
462
|
+
conditionDisplay: 'background.type == "image"',
|
|
447
463
|
defaultValueWhenClear: false,
|
|
448
464
|
controls: [
|
|
449
465
|
{
|
|
@@ -558,7 +574,7 @@ const SettingUIV2 = [
|
|
|
558
574
|
options: {
|
|
559
575
|
labelVariant: 'primary',
|
|
560
576
|
fullWidth: true,
|
|
561
|
-
disableMessage: `
|
|
577
|
+
disableMessage: `This option is disabled because the width was set to 100%`
|
|
562
578
|
}
|
|
563
579
|
}
|
|
564
580
|
]
|