@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.
Files changed (32) hide show
  1. package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +86 -134
  2. package/dist/cjs/button/components/common/helpers.js +2 -9
  3. package/dist/cjs/button/components/common/styles.js +14 -81
  4. package/dist/cjs/button/setting/configs/settings.js +85 -133
  5. package/dist/cjs/coupon/common/classes.js +3 -12
  6. package/dist/cjs/coupon/common/styles.js +7 -17
  7. package/dist/cjs/coupon/setting/config/settings.js +60 -100
  8. package/dist/cjs/form/setting/submit-button/configs/settings.js +103 -250
  9. package/dist/cjs/product/components/DynamicCheckout/common/styles.js +12 -12
  10. package/dist/cjs/product/components/ProductButton/common/styles.js +4 -14
  11. package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -1
  12. package/dist/cjs/product/setting/dynamic-checkout/configs/settings.js +86 -134
  13. package/dist/cjs/product/setting/product-button/configs/settings.js +142 -222
  14. package/dist/cjs/product/setting/product-view-more/configs/settings.js +100 -148
  15. package/dist/cjs/third-party/setting/Selleasy/index.js +5 -5
  16. package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +86 -134
  17. package/dist/esm/button/components/common/helpers.js +2 -9
  18. package/dist/esm/button/components/common/styles.js +16 -81
  19. package/dist/esm/button/setting/configs/settings.js +85 -133
  20. package/dist/esm/coupon/common/classes.js +3 -12
  21. package/dist/esm/coupon/common/styles.js +7 -17
  22. package/dist/esm/coupon/setting/config/settings.js +60 -100
  23. package/dist/esm/form/setting/submit-button/configs/settings.js +103 -250
  24. package/dist/esm/product/components/DynamicCheckout/common/styles.js +12 -12
  25. package/dist/esm/product/components/ProductButton/common/styles.js +4 -14
  26. package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -1
  27. package/dist/esm/product/setting/dynamic-checkout/configs/settings.js +86 -134
  28. package/dist/esm/product/setting/product-button/configs/settings.js +142 -222
  29. package/dist/esm/product/setting/product-view-more/configs/settings.js +100 -148
  30. package/dist/esm/third-party/setting/Selleasy/index.js +5 -5
  31. package/dist/types/index.d.ts +23 -23
  32. package/package.json +2 -2
@@ -418,235 +418,171 @@ const ProductButtonSettings = [
418
418
  {
419
419
  id: 'backgroundColorV2',
420
420
  type: 'color-picker-v2',
421
- devices: {
422
- desktop: {
423
- default: {
424
- normal: 'brand',
425
- hover: 'highlight'
426
- }
427
- }
421
+ default: {
422
+ normal: 'brand',
423
+ hover: 'highlight'
428
424
  },
429
425
  compoDefaultValue: {
430
- desktop: {
431
- default: {
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
- devices: {
443
- desktop: {
444
- default: {
445
- normal: {}
446
- }
447
- }
434
+ default: {
435
+ normal: {}
448
436
  },
449
437
  compoDefaultValue: {
450
- desktop: {
451
- default: {
452
- normal: {
453
- type: 'shadow-1',
454
- distance: '4px',
455
- blur: '4px',
456
- spread: '0px',
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
- devices: {
468
- desktop: {
469
- default: {
470
- normal: {
471
- btrr: '0px',
472
- bblr: '0px',
473
- bbrr: '0px',
474
- btlr: '0px',
475
- radiusType: 'none'
476
- },
477
- hover: {
478
- btrr: '0px',
479
- bblr: '0px',
480
- bbrr: '0px',
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
- desktop: {
489
- default: {
490
- normal: {
491
- btrr: '8px',
492
- bblr: '8px',
493
- bbrr: '8px',
494
- btlr: '8px',
495
- radiusType: 'rounded'
496
- },
497
- hover: {
498
- btrr: '8px',
499
- bblr: '8px',
500
- bbrr: '8px',
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
- devices: {
512
- desktop: {
513
- default: {
514
- normal: {
515
- borderType: 'none',
516
- border: 'none',
517
- borderWidth: '1px',
518
- width: '1px 1px 1px 1px',
519
- color: '#121212',
520
- isCustom: true
521
- },
522
- hover: {
523
- borderType: 'none',
524
- border: 'none',
525
- borderWidth: '1px',
526
- width: '1px 1px 1px 1px',
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
- desktop: {
535
- default: {
536
- normal: {
537
- border: 'solid',
538
- color: '#212121',
539
- width: '1px',
540
- borderWidth: '1px'
541
- },
542
- hover: {
543
- border: 'solid',
544
- color: '#212121',
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
- devices: {
556
- desktop: {
557
- default: {
558
- hover: 'text-3'
559
- }
560
- }
523
+ default: {
524
+ hover: 'text-3'
561
525
  },
562
526
  compoDefaultValue: {
563
- desktop: {
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
- devices: {
574
- desktop: {
575
- default: {
576
- normal: 'brand',
577
- hover: 'highlight'
578
- }
579
- }
533
+ default: {
534
+ normal: 'brand',
535
+ hover: 'highlight'
580
536
  },
581
537
  compoDefaultValue: {
582
- desktop: {
583
- default: {
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
- devices: {
595
- desktop: {
596
- default: {
597
- normal: 'text-3'
598
- }
599
- }
546
+ default: {
547
+ normal: 'text-3'
600
548
  },
601
549
  compoDefaultValue: {
602
- desktop: {
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
- devices: {
613
- desktop: {
614
- default: {
615
- normal: {
616
- borderType: 'none',
617
- border: 'none',
618
- borderWidth: '1px',
619
- width: '1px 1px 1px 1px',
620
- color: '#121212',
621
- isCustom: true
622
- },
623
- hover: {
624
- borderType: 'none',
625
- border: 'none',
626
- borderWidth: '1px',
627
- width: '1px 1px 1px 1px',
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
- desktop: {
636
- default: {
637
- normal: {
638
- border: 'solid',
639
- color: '#212121',
640
- width: '1px',
641
- borderWidth: '1px'
642
- },
643
- hover: {
644
- border: 'solid',
645
- color: '#212121',
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
- devices: {
664
- desktop: {
665
- default: {
666
- normal: {}
667
- }
668
- }
599
+ default: {
600
+ normal: {}
669
601
  },
670
602
  compoDefaultValue: {
671
- desktop: {
672
- default: {
673
- normal: {
674
- type: 'shadow-1',
675
- distance: '4px',
676
- blur: '4px',
677
- spread: '0px',
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
- devices: {
690
- desktop: {
691
- default: {
692
- normal: {
693
- btrr: '0px',
694
- bblr: '0px',
695
- bbrr: '0px',
696
- btlr: '0px',
697
- radiusType: 'none'
698
- },
699
- hover: {
700
- btrr: '0px',
701
- bblr: '0px',
702
- bbrr: '0px',
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
- desktop: {
711
- default: {
712
- normal: {
713
- btrr: '8px',
714
- bblr: '8px',
715
- bbrr: '8px',
716
- btlr: '8px',
717
- radiusType: 'rounded'
718
- },
719
- hover: {
720
- btrr: '8px',
721
- bblr: '8px',
722
- bbrr: '8px',
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
  },