@gem-sdk/components 2.0.0-dev.703 → 2.0.0-dev.704
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 +86 -134
- package/dist/cjs/button/components/common/helpers.js +2 -9
- package/dist/cjs/button/components/common/styles.js +14 -81
- package/dist/cjs/button/setting/configs/settings.js +85 -133
- package/dist/cjs/coupon/common/classes.js +3 -12
- package/dist/cjs/coupon/common/styles.js +7 -17
- package/dist/cjs/coupon/setting/config/settings.js +60 -100
- package/dist/cjs/form/setting/submit-button/configs/settings.js +103 -250
- package/dist/cjs/product/components/DynamicCheckout/common/styles.js +12 -12
- package/dist/cjs/product/components/ProductButton/common/styles.js +4 -14
- package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -1
- package/dist/cjs/product/setting/dynamic-checkout/configs/settings.js +86 -134
- package/dist/cjs/product/setting/product-button/configs/settings.js +142 -222
- package/dist/cjs/product/setting/product-view-more/configs/settings.js +100 -148
- package/dist/cjs/third-party/setting/Selleasy/index.js +5 -5
- package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +86 -134
- package/dist/esm/button/components/common/helpers.js +2 -9
- package/dist/esm/button/components/common/styles.js +16 -81
- package/dist/esm/button/setting/configs/settings.js +85 -133
- package/dist/esm/coupon/common/classes.js +3 -12
- package/dist/esm/coupon/common/styles.js +7 -17
- package/dist/esm/coupon/setting/config/settings.js +60 -100
- package/dist/esm/form/setting/submit-button/configs/settings.js +103 -250
- package/dist/esm/product/components/DynamicCheckout/common/styles.js +12 -12
- package/dist/esm/product/components/ProductButton/common/styles.js +4 -14
- package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -1
- package/dist/esm/product/setting/dynamic-checkout/configs/settings.js +86 -134
- package/dist/esm/product/setting/product-button/configs/settings.js +142 -222
- package/dist/esm/product/setting/product-view-more/configs/settings.js +100 -148
- package/dist/esm/third-party/setting/Selleasy/index.js +5 -5
- package/dist/types/index.d.ts +23 -23
- package/package.json +2 -2
|
@@ -418,235 +418,171 @@ const ProductButtonSettings = [
|
|
|
418
418
|
{
|
|
419
419
|
id: 'backgroundColorV2',
|
|
420
420
|
type: 'color-picker-v2',
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
normal: 'brand',
|
|
425
|
-
hover: 'highlight'
|
|
426
|
-
}
|
|
427
|
-
}
|
|
421
|
+
default: {
|
|
422
|
+
normal: 'brand',
|
|
423
|
+
hover: 'highlight'
|
|
428
424
|
},
|
|
429
425
|
compoDefaultValue: {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
normal: 'brand',
|
|
433
|
-
hover: 'highlight'
|
|
434
|
-
}
|
|
435
|
-
}
|
|
426
|
+
normal: 'brand',
|
|
427
|
+
hover: 'highlight'
|
|
436
428
|
},
|
|
437
429
|
enableGradient: true
|
|
438
430
|
},
|
|
439
431
|
{
|
|
440
432
|
id: 'boxShadowBtnV2',
|
|
441
433
|
type: 'shadow-v2',
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
default: {
|
|
445
|
-
normal: {}
|
|
446
|
-
}
|
|
447
|
-
}
|
|
434
|
+
default: {
|
|
435
|
+
normal: {}
|
|
448
436
|
},
|
|
449
437
|
compoDefaultValue: {
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
color: '#121212',
|
|
458
|
-
angle: 45
|
|
459
|
-
}
|
|
460
|
-
}
|
|
438
|
+
normal: {
|
|
439
|
+
type: 'shadow-1',
|
|
440
|
+
distance: '4px',
|
|
441
|
+
blur: '4px',
|
|
442
|
+
spread: '0px',
|
|
443
|
+
color: '#121212',
|
|
444
|
+
angle: 45
|
|
461
445
|
}
|
|
462
446
|
}
|
|
463
447
|
},
|
|
464
448
|
{
|
|
465
449
|
id: 'roundedBtnV2',
|
|
466
450
|
type: 'corner-v2',
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
btlr: '0px',
|
|
482
|
-
radiusType: 'none'
|
|
483
|
-
}
|
|
484
|
-
}
|
|
451
|
+
default: {
|
|
452
|
+
normal: {
|
|
453
|
+
btrr: '0px',
|
|
454
|
+
bblr: '0px',
|
|
455
|
+
bbrr: '0px',
|
|
456
|
+
btlr: '0px',
|
|
457
|
+
radiusType: 'none'
|
|
458
|
+
},
|
|
459
|
+
hover: {
|
|
460
|
+
btrr: '0px',
|
|
461
|
+
bblr: '0px',
|
|
462
|
+
bbrr: '0px',
|
|
463
|
+
btlr: '0px',
|
|
464
|
+
radiusType: 'none'
|
|
485
465
|
}
|
|
486
466
|
},
|
|
487
467
|
compoDefaultValue: {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
btlr: '8px',
|
|
502
|
-
radiusType: 'rounded'
|
|
503
|
-
}
|
|
504
|
-
}
|
|
468
|
+
normal: {
|
|
469
|
+
btrr: '8px',
|
|
470
|
+
bblr: '8px',
|
|
471
|
+
bbrr: '8px',
|
|
472
|
+
btlr: '8px',
|
|
473
|
+
radiusType: 'rounded'
|
|
474
|
+
},
|
|
475
|
+
hover: {
|
|
476
|
+
btrr: '8px',
|
|
477
|
+
bblr: '8px',
|
|
478
|
+
bbrr: '8px',
|
|
479
|
+
btlr: '8px',
|
|
480
|
+
radiusType: 'rounded'
|
|
505
481
|
}
|
|
506
482
|
}
|
|
507
483
|
},
|
|
508
484
|
{
|
|
509
485
|
id: 'borderBtnV2',
|
|
510
486
|
type: 'border-v2',
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
color: '#121212',
|
|
528
|
-
isCustom: true
|
|
529
|
-
}
|
|
530
|
-
}
|
|
487
|
+
default: {
|
|
488
|
+
normal: {
|
|
489
|
+
borderType: 'none',
|
|
490
|
+
border: 'none',
|
|
491
|
+
borderWidth: '1px',
|
|
492
|
+
width: '1px 1px 1px 1px',
|
|
493
|
+
color: '#121212',
|
|
494
|
+
isCustom: true
|
|
495
|
+
},
|
|
496
|
+
hover: {
|
|
497
|
+
borderType: 'none',
|
|
498
|
+
border: 'none',
|
|
499
|
+
borderWidth: '1px',
|
|
500
|
+
width: '1px 1px 1px 1px',
|
|
501
|
+
color: '#121212',
|
|
502
|
+
isCustom: true
|
|
531
503
|
}
|
|
532
504
|
},
|
|
533
505
|
compoDefaultValue: {
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
width: '1px',
|
|
546
|
-
borderWidth: '1px'
|
|
547
|
-
}
|
|
548
|
-
}
|
|
506
|
+
normal: {
|
|
507
|
+
border: 'solid',
|
|
508
|
+
color: '#212121',
|
|
509
|
+
width: '1px',
|
|
510
|
+
borderWidth: '1px'
|
|
511
|
+
},
|
|
512
|
+
hover: {
|
|
513
|
+
border: 'solid',
|
|
514
|
+
color: '#212121',
|
|
515
|
+
width: '1px',
|
|
516
|
+
borderWidth: '1px'
|
|
549
517
|
}
|
|
550
518
|
}
|
|
551
519
|
},
|
|
552
520
|
{
|
|
553
521
|
id: 'textColorHover',
|
|
554
522
|
type: 'color-picker-v2',
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
default: {
|
|
558
|
-
hover: 'text-3'
|
|
559
|
-
}
|
|
560
|
-
}
|
|
523
|
+
default: {
|
|
524
|
+
hover: 'text-3'
|
|
561
525
|
},
|
|
562
526
|
compoDefaultValue: {
|
|
563
|
-
|
|
564
|
-
default: {
|
|
565
|
-
hover: 'text-3'
|
|
566
|
-
}
|
|
567
|
-
}
|
|
527
|
+
hover: 'text-3'
|
|
568
528
|
}
|
|
569
529
|
},
|
|
570
530
|
{
|
|
571
531
|
id: 'oosBackgroundV2',
|
|
572
532
|
type: 'color-picker-v2',
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
normal: 'brand',
|
|
577
|
-
hover: 'highlight'
|
|
578
|
-
}
|
|
579
|
-
}
|
|
533
|
+
default: {
|
|
534
|
+
normal: 'brand',
|
|
535
|
+
hover: 'highlight'
|
|
580
536
|
},
|
|
581
537
|
compoDefaultValue: {
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
normal: 'brand',
|
|
585
|
-
hover: 'highlight'
|
|
586
|
-
}
|
|
587
|
-
}
|
|
538
|
+
normal: 'brand',
|
|
539
|
+
hover: 'highlight'
|
|
588
540
|
},
|
|
589
541
|
enableGradient: true
|
|
590
542
|
},
|
|
591
543
|
{
|
|
592
544
|
id: 'oosTextColorV2',
|
|
593
545
|
type: 'color-picker-v2',
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
default: {
|
|
597
|
-
normal: 'text-3'
|
|
598
|
-
}
|
|
599
|
-
}
|
|
546
|
+
default: {
|
|
547
|
+
normal: 'text-3'
|
|
600
548
|
},
|
|
601
549
|
compoDefaultValue: {
|
|
602
|
-
|
|
603
|
-
default: {
|
|
604
|
-
normal: 'text-3'
|
|
605
|
-
}
|
|
606
|
-
}
|
|
550
|
+
normal: 'text-3'
|
|
607
551
|
}
|
|
608
552
|
},
|
|
609
553
|
{
|
|
610
554
|
id: 'oosBorderV2',
|
|
611
555
|
type: 'border-v2',
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
color: '#121212',
|
|
629
|
-
isCustom: true
|
|
630
|
-
}
|
|
631
|
-
}
|
|
556
|
+
default: {
|
|
557
|
+
normal: {
|
|
558
|
+
borderType: 'none',
|
|
559
|
+
border: 'none',
|
|
560
|
+
borderWidth: '1px',
|
|
561
|
+
width: '1px 1px 1px 1px',
|
|
562
|
+
color: '#121212',
|
|
563
|
+
isCustom: true
|
|
564
|
+
},
|
|
565
|
+
hover: {
|
|
566
|
+
borderType: 'none',
|
|
567
|
+
border: 'none',
|
|
568
|
+
borderWidth: '1px',
|
|
569
|
+
width: '1px 1px 1px 1px',
|
|
570
|
+
color: '#121212',
|
|
571
|
+
isCustom: true
|
|
632
572
|
}
|
|
633
573
|
},
|
|
634
574
|
compoDefaultValue: {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
width: '1px',
|
|
647
|
-
borderWidth: '1px'
|
|
648
|
-
}
|
|
649
|
-
}
|
|
575
|
+
normal: {
|
|
576
|
+
border: 'solid',
|
|
577
|
+
color: '#212121',
|
|
578
|
+
width: '1px',
|
|
579
|
+
borderWidth: '1px'
|
|
580
|
+
},
|
|
581
|
+
hover: {
|
|
582
|
+
border: 'solid',
|
|
583
|
+
color: '#212121',
|
|
584
|
+
width: '1px',
|
|
585
|
+
borderWidth: '1px'
|
|
650
586
|
}
|
|
651
587
|
}
|
|
652
588
|
},
|
|
@@ -660,25 +596,17 @@ const ProductButtonSettings = [
|
|
|
660
596
|
{
|
|
661
597
|
id: 'oosShadowV2',
|
|
662
598
|
type: 'shadow-v2',
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
default: {
|
|
666
|
-
normal: {}
|
|
667
|
-
}
|
|
668
|
-
}
|
|
599
|
+
default: {
|
|
600
|
+
normal: {}
|
|
669
601
|
},
|
|
670
602
|
compoDefaultValue: {
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
color: '#121212',
|
|
679
|
-
angle: 45
|
|
680
|
-
}
|
|
681
|
-
}
|
|
603
|
+
normal: {
|
|
604
|
+
type: 'shadow-1',
|
|
605
|
+
distance: '4px',
|
|
606
|
+
blur: '4px',
|
|
607
|
+
spread: '0px',
|
|
608
|
+
color: '#121212',
|
|
609
|
+
angle: 45
|
|
682
610
|
}
|
|
683
611
|
}
|
|
684
612
|
},
|
|
@@ -686,44 +614,36 @@ const ProductButtonSettings = [
|
|
|
686
614
|
id: 'oosRoundedV2',
|
|
687
615
|
label: 'Border Radius',
|
|
688
616
|
type: 'corner-v2',
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
btlr: '0px',
|
|
704
|
-
radiusType: 'none'
|
|
705
|
-
}
|
|
706
|
-
}
|
|
617
|
+
default: {
|
|
618
|
+
normal: {
|
|
619
|
+
btrr: '0px',
|
|
620
|
+
bblr: '0px',
|
|
621
|
+
bbrr: '0px',
|
|
622
|
+
btlr: '0px',
|
|
623
|
+
radiusType: 'none'
|
|
624
|
+
},
|
|
625
|
+
hover: {
|
|
626
|
+
btrr: '0px',
|
|
627
|
+
bblr: '0px',
|
|
628
|
+
bbrr: '0px',
|
|
629
|
+
btlr: '0px',
|
|
630
|
+
radiusType: 'none'
|
|
707
631
|
}
|
|
708
632
|
},
|
|
709
633
|
compoDefaultValue: {
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
btlr: '8px',
|
|
724
|
-
radiusType: 'rounded'
|
|
725
|
-
}
|
|
726
|
-
}
|
|
634
|
+
normal: {
|
|
635
|
+
btrr: '8px',
|
|
636
|
+
bblr: '8px',
|
|
637
|
+
bbrr: '8px',
|
|
638
|
+
btlr: '8px',
|
|
639
|
+
radiusType: 'rounded'
|
|
640
|
+
},
|
|
641
|
+
hover: {
|
|
642
|
+
btrr: '8px',
|
|
643
|
+
bblr: '8px',
|
|
644
|
+
bbrr: '8px',
|
|
645
|
+
btlr: '8px',
|
|
646
|
+
radiusType: 'rounded'
|
|
727
647
|
}
|
|
728
648
|
}
|
|
729
649
|
},
|