@gem-sdk/components 2.0.0-dev.442 → 2.0.0-dev.445
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/form/components/contact/common/composeStyles.js +0 -2
- package/dist/cjs/form/components/form-email/FormEmail.liquid.js +1 -1
- package/dist/cjs/form/setting/contact/ContactInitConfig.js +271 -150
- package/dist/cjs/form/setting/contact/configs/settings.js +20 -13
- package/dist/cjs/form/setting/contact/configs/uiV2.js +3 -12
- package/dist/cjs/form/setting/form-textarea/configs/uiV2.js +1 -1
- package/dist/cjs/form/setting/text-field/configs/settings.js +2 -2
- package/dist/cjs/icon/setting/configs/uiV2.js +31 -28
- package/dist/cjs/product/components/ProductBadge/common/getClasses.js +1 -1
- package/dist/cjs/product/components/ProductBadge/common/getStyles.js +2 -2
- package/dist/cjs/product/components/ProductBadge/constants.js +3 -0
- package/dist/cjs/product/components/ProductBadge/index.liquid.js +3 -4
- package/dist/cjs/product/components/ProductBadge/utils/shape.js +6 -6
- package/dist/cjs/product/components/ProductBundle/components/ProductBundleDiscountChildrenItem.js +4 -2
- package/dist/cjs/product/components/ProductDiscountTag/common/getStyle.js +6 -1
- package/dist/cjs/product/components/ProductQuantity/common/common.js +12 -13
- package/dist/cjs/product/components/ProductQuantity/index.js +2 -2
- package/dist/cjs/product/components/ProductQuantity/index.liquid.js +1 -1
- package/dist/cjs/product/setting/product-price/configs/uiV2.js +2 -0
- package/dist/cjs/sticky/setting/preset-config.js +15 -0
- package/dist/cjs/text/components/Text.liquid.js +1 -0
- package/dist/esm/form/components/contact/common/composeStyles.js +1 -3
- package/dist/esm/form/components/form-email/FormEmail.liquid.js +1 -1
- package/dist/esm/form/setting/contact/ContactInitConfig.js +271 -150
- package/dist/esm/form/setting/contact/configs/settings.js +20 -13
- package/dist/esm/form/setting/contact/configs/uiV2.js +3 -12
- package/dist/esm/form/setting/form-textarea/configs/uiV2.js +1 -1
- package/dist/esm/form/setting/text-field/configs/settings.js +2 -2
- package/dist/esm/icon/setting/configs/uiV2.js +31 -28
- package/dist/esm/product/components/ProductBadge/common/getClasses.js +1 -1
- package/dist/esm/product/components/ProductBadge/common/getStyles.js +2 -2
- package/dist/esm/product/components/ProductBadge/constants.js +2 -1
- package/dist/esm/product/components/ProductBadge/index.liquid.js +3 -4
- package/dist/esm/product/components/ProductBadge/utils/shape.js +6 -6
- package/dist/esm/product/components/ProductBundle/components/ProductBundleDiscountChildrenItem.js +4 -2
- package/dist/esm/product/components/ProductDiscountTag/common/getStyle.js +6 -1
- package/dist/esm/product/components/ProductQuantity/common/common.js +12 -13
- package/dist/esm/product/components/ProductQuantity/index.js +3 -3
- package/dist/esm/product/components/ProductQuantity/index.liquid.js +2 -2
- package/dist/esm/product/setting/product-price/configs/uiV2.js +2 -0
- package/dist/esm/sticky/setting/preset-config.js +15 -0
- package/dist/esm/text/components/Text.liquid.js +1 -0
- package/package.json +1 -1
|
@@ -5,10 +5,10 @@ const contactInitConfig = [
|
|
|
5
5
|
'spacing-setting': {
|
|
6
6
|
desktop: {
|
|
7
7
|
padding: {
|
|
8
|
-
top: '
|
|
9
|
-
bottom: '
|
|
10
|
-
left: '
|
|
11
|
-
right: '
|
|
8
|
+
top: '24px',
|
|
9
|
+
bottom: '24px',
|
|
10
|
+
left: '',
|
|
11
|
+
right: ''
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
tablet: {
|
|
@@ -58,6 +58,25 @@ const contactInitConfig = [
|
|
|
58
58
|
desktop: true
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
+
advanced: {
|
|
62
|
+
'spacing-setting': {
|
|
63
|
+
desktop: {
|
|
64
|
+
margin: {
|
|
65
|
+
bottom: '16px'
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
tablet: {
|
|
69
|
+
margin: {
|
|
70
|
+
bottom: '16px'
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
mobile: {
|
|
74
|
+
margin: {
|
|
75
|
+
bottom: '0px'
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
61
80
|
childrens: [
|
|
62
81
|
{
|
|
63
82
|
tag: 'Col',
|
|
@@ -132,6 +151,11 @@ const contactInitConfig = [
|
|
|
132
151
|
advanced: {
|
|
133
152
|
'spacing-setting': {
|
|
134
153
|
desktop: {
|
|
154
|
+
margin: {
|
|
155
|
+
bottom: '0'
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
mobile: {
|
|
135
159
|
margin: {
|
|
136
160
|
bottom: 'var(--g-s-l)'
|
|
137
161
|
}
|
|
@@ -236,6 +260,11 @@ const contactInitConfig = [
|
|
|
236
260
|
advanced: {
|
|
237
261
|
'spacing-setting': {
|
|
238
262
|
desktop: {
|
|
263
|
+
margin: {
|
|
264
|
+
bottom: '0'
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
mobile: {
|
|
239
268
|
margin: {
|
|
240
269
|
bottom: 'var(--g-s-l)'
|
|
241
270
|
}
|
|
@@ -271,202 +300,294 @@ const contactInitConfig = [
|
|
|
271
300
|
]
|
|
272
301
|
},
|
|
273
302
|
{
|
|
274
|
-
tag: '
|
|
275
|
-
label: 'Text Block',
|
|
303
|
+
tag: 'Row',
|
|
276
304
|
settings: {
|
|
277
|
-
|
|
305
|
+
layout: {
|
|
306
|
+
desktop: {
|
|
307
|
+
cols: [
|
|
308
|
+
12
|
|
309
|
+
],
|
|
310
|
+
display: 'fill'
|
|
311
|
+
},
|
|
312
|
+
mobile: {
|
|
313
|
+
cols: [
|
|
314
|
+
12
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
}
|
|
278
318
|
},
|
|
279
319
|
styles: {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
color: 'text-1'
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
textAlign: {
|
|
287
|
-
desktop: 'left'
|
|
320
|
+
verticalGutter: {
|
|
321
|
+
desktop: '16px',
|
|
322
|
+
mobile: '0px'
|
|
288
323
|
},
|
|
289
|
-
|
|
290
|
-
desktop:
|
|
324
|
+
fullWidth: {
|
|
325
|
+
desktop: true
|
|
291
326
|
}
|
|
292
327
|
},
|
|
293
328
|
advanced: {
|
|
294
329
|
'spacing-setting': {
|
|
295
|
-
edited: [
|
|
296
|
-
'desktop'
|
|
297
|
-
],
|
|
298
330
|
desktop: {
|
|
299
331
|
margin: {
|
|
300
|
-
bottom: '
|
|
332
|
+
bottom: '16px'
|
|
301
333
|
}
|
|
302
334
|
},
|
|
303
335
|
tablet: {
|
|
304
336
|
margin: {
|
|
305
|
-
bottom: '
|
|
337
|
+
bottom: '16px'
|
|
306
338
|
}
|
|
307
339
|
},
|
|
308
340
|
mobile: {
|
|
309
341
|
margin: {
|
|
310
|
-
bottom: '
|
|
342
|
+
bottom: '16px'
|
|
311
343
|
}
|
|
312
344
|
}
|
|
313
|
-
},
|
|
314
|
-
op: {
|
|
315
|
-
desktop: '100%'
|
|
316
345
|
}
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
tag: 'TextField',
|
|
321
|
-
settings: {
|
|
322
|
-
name: 'contact[phone]',
|
|
323
|
-
placeholder: 'Phone Number'
|
|
324
346
|
},
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
347
|
+
childrens: [
|
|
348
|
+
{
|
|
349
|
+
tag: 'Col',
|
|
350
|
+
childrens: [
|
|
351
|
+
{
|
|
352
|
+
tag: 'Text',
|
|
353
|
+
label: 'Text Block',
|
|
354
|
+
settings: {
|
|
355
|
+
text: 'Phone'
|
|
356
|
+
},
|
|
357
|
+
styles: {
|
|
358
|
+
typo: {
|
|
359
|
+
type: 'paragraph-1',
|
|
360
|
+
attrs: {
|
|
361
|
+
color: 'text-1'
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
textAlign: {
|
|
365
|
+
desktop: 'left'
|
|
366
|
+
},
|
|
367
|
+
align: {
|
|
368
|
+
desktop: 'left'
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
advanced: {
|
|
372
|
+
'spacing-setting': {
|
|
373
|
+
edited: [
|
|
374
|
+
'desktop'
|
|
375
|
+
],
|
|
376
|
+
desktop: {
|
|
377
|
+
margin: {
|
|
378
|
+
bottom: '0px'
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
tablet: {
|
|
382
|
+
margin: {
|
|
383
|
+
bottom: '0px'
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
mobile: {
|
|
387
|
+
margin: {
|
|
388
|
+
bottom: '0px'
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
op: {
|
|
393
|
+
desktop: '100%'
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
tag: 'TextField',
|
|
399
|
+
settings: {
|
|
400
|
+
name: 'contact[phone]',
|
|
401
|
+
placeholder: 'Phone'
|
|
402
|
+
},
|
|
403
|
+
styles: {
|
|
404
|
+
globalSize: {
|
|
405
|
+
desktop: {
|
|
406
|
+
width: '100%',
|
|
407
|
+
height: 'Auto',
|
|
408
|
+
padding: {
|
|
409
|
+
type: 'medium',
|
|
410
|
+
top: '12px',
|
|
411
|
+
bottom: '12px',
|
|
412
|
+
left: '12px',
|
|
413
|
+
right: '12px'
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
advanced: {
|
|
419
|
+
border: {
|
|
420
|
+
desktop: {
|
|
421
|
+
normal: {
|
|
422
|
+
borderType: 'style-2',
|
|
423
|
+
borderLabel: 'Style 2',
|
|
424
|
+
border: 'solid',
|
|
425
|
+
color: 'line-2',
|
|
426
|
+
isCustom: false,
|
|
427
|
+
width: '1px 1px 1px 1px'
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
rounded: {
|
|
432
|
+
desktop: {
|
|
433
|
+
normal: {
|
|
434
|
+
btrr: '0px',
|
|
435
|
+
bblr: '0px',
|
|
436
|
+
bbrr: '0px',
|
|
437
|
+
btlr: '0px',
|
|
438
|
+
radiusType: 'none'
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
368
443
|
}
|
|
369
|
-
|
|
444
|
+
]
|
|
370
445
|
}
|
|
371
|
-
|
|
446
|
+
]
|
|
372
447
|
},
|
|
373
448
|
{
|
|
374
|
-
tag: '
|
|
375
|
-
label: 'Text Block',
|
|
449
|
+
tag: 'Row',
|
|
376
450
|
settings: {
|
|
377
|
-
|
|
451
|
+
layout: {
|
|
452
|
+
desktop: {
|
|
453
|
+
cols: [
|
|
454
|
+
12
|
|
455
|
+
],
|
|
456
|
+
display: 'fill'
|
|
457
|
+
},
|
|
458
|
+
mobile: {
|
|
459
|
+
cols: [
|
|
460
|
+
12
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
}
|
|
378
464
|
},
|
|
379
465
|
styles: {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
color: 'text-1'
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
textAlign: {
|
|
387
|
-
desktop: 'left'
|
|
466
|
+
verticalGutter: {
|
|
467
|
+
desktop: '16px',
|
|
468
|
+
mobile: '0px'
|
|
388
469
|
},
|
|
389
|
-
|
|
390
|
-
desktop:
|
|
470
|
+
fullWidth: {
|
|
471
|
+
desktop: true
|
|
391
472
|
}
|
|
392
473
|
},
|
|
393
474
|
advanced: {
|
|
394
475
|
'spacing-setting': {
|
|
395
|
-
edited: [
|
|
396
|
-
'desktop'
|
|
397
|
-
],
|
|
398
476
|
desktop: {
|
|
399
477
|
margin: {
|
|
400
|
-
bottom: '
|
|
478
|
+
bottom: '16px'
|
|
401
479
|
}
|
|
402
480
|
},
|
|
403
481
|
tablet: {
|
|
404
482
|
margin: {
|
|
405
|
-
bottom: '
|
|
483
|
+
bottom: '16px'
|
|
406
484
|
}
|
|
407
485
|
},
|
|
408
486
|
mobile: {
|
|
409
487
|
margin: {
|
|
410
|
-
bottom: '
|
|
488
|
+
bottom: '16px'
|
|
411
489
|
}
|
|
412
490
|
}
|
|
413
|
-
},
|
|
414
|
-
op: {
|
|
415
|
-
desktop: '100%'
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
tag: 'FormTextarea',
|
|
421
|
-
name: 'contact[message]',
|
|
422
|
-
settings: {
|
|
423
|
-
placeholder: 'Message'
|
|
424
|
-
},
|
|
425
|
-
globalSize: {
|
|
426
|
-
desktop: {
|
|
427
|
-
width: '100%',
|
|
428
|
-
height: 'Auto',
|
|
429
|
-
padding: {
|
|
430
|
-
type: 'medium',
|
|
431
|
-
top: '12px',
|
|
432
|
-
bottom: '12px',
|
|
433
|
-
left: '12px',
|
|
434
|
-
right: '12px'
|
|
435
|
-
}
|
|
436
491
|
}
|
|
437
492
|
},
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
493
|
+
childrens: [
|
|
494
|
+
{
|
|
495
|
+
tag: 'Col',
|
|
496
|
+
childrens: [
|
|
497
|
+
{
|
|
498
|
+
tag: 'Text',
|
|
499
|
+
label: 'Text Block',
|
|
500
|
+
settings: {
|
|
501
|
+
text: 'Message'
|
|
502
|
+
},
|
|
503
|
+
styles: {
|
|
504
|
+
typo: {
|
|
505
|
+
type: 'paragraph-1',
|
|
506
|
+
attrs: {
|
|
507
|
+
color: 'text-1'
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
textAlign: {
|
|
511
|
+
desktop: 'left'
|
|
512
|
+
},
|
|
513
|
+
align: {
|
|
514
|
+
desktop: 'left'
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
advanced: {
|
|
518
|
+
'spacing-setting': {
|
|
519
|
+
edited: [
|
|
520
|
+
'desktop'
|
|
521
|
+
],
|
|
522
|
+
desktop: {
|
|
523
|
+
margin: {
|
|
524
|
+
bottom: '0px'
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
tablet: {
|
|
528
|
+
margin: {
|
|
529
|
+
bottom: '0px'
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
mobile: {
|
|
533
|
+
margin: {
|
|
534
|
+
bottom: '0px'
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
op: {
|
|
539
|
+
desktop: '100%'
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
tag: 'FormTextarea',
|
|
545
|
+
name: 'contact[message]',
|
|
546
|
+
settings: {
|
|
547
|
+
placeholder: 'Message'
|
|
548
|
+
},
|
|
549
|
+
globalSize: {
|
|
550
|
+
desktop: {
|
|
551
|
+
width: '100%',
|
|
552
|
+
height: 'Auto',
|
|
553
|
+
padding: {
|
|
554
|
+
type: 'medium',
|
|
555
|
+
top: '12px',
|
|
556
|
+
bottom: '12px',
|
|
557
|
+
left: '12px',
|
|
558
|
+
right: '12px'
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
advanced: {
|
|
563
|
+
border: {
|
|
564
|
+
desktop: {
|
|
565
|
+
normal: {
|
|
566
|
+
borderType: 'style-2',
|
|
567
|
+
borderLabel: 'Style 2',
|
|
568
|
+
border: 'solid',
|
|
569
|
+
color: 'line-2',
|
|
570
|
+
isCustom: false,
|
|
571
|
+
width: '1px 1px 1px 1px'
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
rounded: {
|
|
576
|
+
desktop: {
|
|
577
|
+
normal: {
|
|
578
|
+
btrr: '0px',
|
|
579
|
+
bblr: '0px',
|
|
580
|
+
bbrr: '0px',
|
|
581
|
+
btlr: '0px',
|
|
582
|
+
radiusType: 'none'
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
}
|
|
466
587
|
}
|
|
467
|
-
|
|
588
|
+
]
|
|
468
589
|
}
|
|
469
|
-
|
|
590
|
+
]
|
|
470
591
|
},
|
|
471
592
|
{
|
|
472
593
|
tag: 'SubmitButton',
|
|
@@ -28,13 +28,15 @@ const ContactSettings = [
|
|
|
28
28
|
label: 'Success Message',
|
|
29
29
|
default: "Thanks for contacting us. We'll get back to you as soon as possible.",
|
|
30
30
|
autoHeight: true,
|
|
31
|
-
minHeight: 58
|
|
31
|
+
minHeight: 58,
|
|
32
|
+
compoDefaultValue: "Thanks for contacting us. We'll get back to you as soon as possible."
|
|
32
33
|
},
|
|
33
34
|
{
|
|
34
35
|
id: 'successColor',
|
|
35
36
|
type: 'color-picker-v2',
|
|
36
37
|
label: 'Color',
|
|
37
|
-
default: '#00A042'
|
|
38
|
+
default: '#00A042',
|
|
39
|
+
compoDefaultValue: '#00A042'
|
|
38
40
|
},
|
|
39
41
|
{
|
|
40
42
|
id: 'errorMessage',
|
|
@@ -42,13 +44,15 @@ const ContactSettings = [
|
|
|
42
44
|
label: 'Error Message',
|
|
43
45
|
default: 'Can’t send email. Please try again later.',
|
|
44
46
|
autoHeight: true,
|
|
45
|
-
minHeight: 58
|
|
47
|
+
minHeight: 58,
|
|
48
|
+
compoDefaultValue: 'Can’t send email. Please try again later.'
|
|
46
49
|
},
|
|
47
50
|
{
|
|
48
51
|
id: 'errorColor',
|
|
49
52
|
type: 'color-picker-v2',
|
|
50
53
|
label: 'Color',
|
|
51
|
-
default: '#F44336'
|
|
54
|
+
default: '#F44336',
|
|
55
|
+
compoDefaultValue: '#F44336'
|
|
52
56
|
},
|
|
53
57
|
{
|
|
54
58
|
id: 'translate',
|
|
@@ -149,15 +153,18 @@ const ContactSettings = [
|
|
|
149
153
|
devices: {
|
|
150
154
|
desktop: {
|
|
151
155
|
default: {
|
|
152
|
-
width: '
|
|
153
|
-
height: 'Auto'
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
156
|
+
width: '1200px',
|
|
157
|
+
height: 'Auto'
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
mobile: {
|
|
161
|
+
default: {
|
|
162
|
+
width: '100%'
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
tablet: {
|
|
166
|
+
default: {
|
|
167
|
+
width: '100%'
|
|
161
168
|
}
|
|
162
169
|
}
|
|
163
170
|
},
|
|
@@ -11,6 +11,7 @@ const SettingUIV2 = [
|
|
|
11
11
|
},
|
|
12
12
|
iconName: 'polaris-text-block',
|
|
13
13
|
getValueFromSettingID: 'successMessage',
|
|
14
|
+
compoDefaultValue: "Thanks for contacting us. We'll get back to you as soon as possible.",
|
|
14
15
|
isHideClear: true,
|
|
15
16
|
disableScrollbar: true,
|
|
16
17
|
popoverLabel: {
|
|
@@ -45,6 +46,7 @@ const SettingUIV2 = [
|
|
|
45
46
|
getValueFromSettingID: 'errorMessage',
|
|
46
47
|
isHideClear: true,
|
|
47
48
|
disableScrollbar: true,
|
|
49
|
+
compoDefaultValue: 'Can’t send email. Please try again later.',
|
|
48
50
|
popoverLabel: {
|
|
49
51
|
en: 'Error message'
|
|
50
52
|
},
|
|
@@ -112,19 +114,8 @@ const SettingUIV2 = [
|
|
|
112
114
|
id: 'padding',
|
|
113
115
|
type: 'padding-v2',
|
|
114
116
|
linkWithSetting: {
|
|
115
|
-
name: '
|
|
117
|
+
name: 'spacing-setting',
|
|
116
118
|
field: 'padding'
|
|
117
|
-
},
|
|
118
|
-
compoDefaultValue: {
|
|
119
|
-
desktop: {
|
|
120
|
-
default: {
|
|
121
|
-
type: 'medium',
|
|
122
|
-
top: '12px',
|
|
123
|
-
bottom: '12px',
|
|
124
|
-
left: '24px',
|
|
125
|
-
right: '24px'
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
119
|
}
|
|
129
120
|
}
|
|
130
121
|
}
|
|
@@ -137,7 +137,7 @@ const SettingUIV2 = [
|
|
|
137
137
|
label: {
|
|
138
138
|
en: 'Align'
|
|
139
139
|
},
|
|
140
|
-
conditionEnable: '!(parseInt(width) >= 100 && width?.includes("%"))',
|
|
140
|
+
conditionEnable: '!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',
|
|
141
141
|
setting: {
|
|
142
142
|
id: 'align'
|
|
143
143
|
},
|