@gem-sdk/components 2.0.0-dev.552 → 2.0.0-dev.553
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/coupon/common/classes.js +1 -1
- package/dist/cjs/coupon/common/styles.js +4 -2
- package/dist/cjs/coupon/setting/config/settings.js +7 -3
- package/dist/cjs/coupon/setting/config/uiV2.js +65 -64
- package/dist/cjs/marquee/setting/configs/settingsV2.js +3 -3
- package/dist/cjs/product/components/ProductPrice/hooks/useGpPrice.js +1 -1
- package/dist/cjs/product/setting/constant/bundle-layout/horizontalOne.js +230 -14
- package/dist/cjs/product/setting/constant/bundle-layout/horizontalThree.js +230 -14
- package/dist/cjs/product/setting/constant/bundle-layout/horizontalTwo.js +230 -14
- package/dist/cjs/product/setting/constant/bundle-layout/verticalOne.js +230 -13
- package/dist/cjs/product/setting/constant/bundle-layout/verticalThree.js +230 -14
- package/dist/cjs/product/setting/constant/bundle-layout/verticalTwo.js +230 -14
- package/dist/esm/coupon/common/classes.js +1 -1
- package/dist/esm/coupon/common/styles.js +4 -2
- package/dist/esm/coupon/setting/config/settings.js +7 -3
- package/dist/esm/coupon/setting/config/uiV2.js +65 -64
- package/dist/esm/marquee/setting/configs/settingsV2.js +3 -3
- package/dist/esm/product/components/ProductPrice/hooks/useGpPrice.js +1 -1
- package/dist/esm/product/setting/constant/bundle-layout/horizontalOne.js +230 -14
- package/dist/esm/product/setting/constant/bundle-layout/horizontalThree.js +230 -14
- package/dist/esm/product/setting/constant/bundle-layout/horizontalTwo.js +230 -14
- package/dist/esm/product/setting/constant/bundle-layout/verticalOne.js +230 -13
- package/dist/esm/product/setting/constant/bundle-layout/verticalThree.js +230 -14
- package/dist/esm/product/setting/constant/bundle-layout/verticalTwo.js +230 -14
- package/package.json +2 -2
|
@@ -427,36 +427,252 @@ const horizontalThree = [
|
|
|
427
427
|
{
|
|
428
428
|
childrens: [
|
|
429
429
|
{
|
|
430
|
-
|
|
430
|
+
tag: 'ProductPrice',
|
|
431
431
|
label: 'Product Price',
|
|
432
432
|
settings: {
|
|
433
|
-
|
|
433
|
+
priceType: 'compare'
|
|
434
434
|
},
|
|
435
435
|
styles: {
|
|
436
|
+
typo: {
|
|
437
|
+
type: 'subheading-2',
|
|
438
|
+
default: {
|
|
439
|
+
type: 'subheading-2'
|
|
440
|
+
}
|
|
441
|
+
},
|
|
436
442
|
color: {
|
|
437
|
-
normal: '
|
|
443
|
+
normal: 'text-1'
|
|
438
444
|
},
|
|
445
|
+
lineThrough: true,
|
|
446
|
+
thickness: 2,
|
|
447
|
+
lineColor: 'text-1',
|
|
448
|
+
disableHoverColor: true,
|
|
439
449
|
hasTextShadow: {
|
|
440
450
|
normal: false
|
|
441
451
|
},
|
|
442
|
-
lineColor: 'text-1',
|
|
443
|
-
lineThrough: true,
|
|
444
|
-
priceType: 'compare',
|
|
445
|
-
textAlign: {
|
|
446
|
-
desktop: 'right'
|
|
447
|
-
},
|
|
448
452
|
textShadow: {
|
|
449
453
|
normal: {
|
|
450
454
|
type: 'shadow-1'
|
|
451
455
|
}
|
|
452
456
|
},
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
type: 'paragraph-1'
|
|
457
|
+
textAlign: {
|
|
458
|
+
desktop: 'left'
|
|
456
459
|
}
|
|
457
460
|
},
|
|
458
|
-
|
|
459
|
-
|
|
461
|
+
advanced: {
|
|
462
|
+
'spacing-setting': {
|
|
463
|
+
desktop: {
|
|
464
|
+
margin: {
|
|
465
|
+
bottom: 0
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
d: {
|
|
470
|
+
desktop: true,
|
|
471
|
+
tablet: true,
|
|
472
|
+
mobile: true
|
|
473
|
+
},
|
|
474
|
+
border: {
|
|
475
|
+
desktop: {
|
|
476
|
+
normal: {
|
|
477
|
+
borderType: 'none',
|
|
478
|
+
border: 'none',
|
|
479
|
+
borderWidth: '1px',
|
|
480
|
+
width: '1px 1px 1px 1px',
|
|
481
|
+
color: '#121212',
|
|
482
|
+
isCustom: true
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
rounded: {
|
|
487
|
+
desktop: {
|
|
488
|
+
normal: {
|
|
489
|
+
btrr: '0px',
|
|
490
|
+
bblr: '0px',
|
|
491
|
+
bbrr: '0px',
|
|
492
|
+
btlr: '0px',
|
|
493
|
+
radiusType: 'none'
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
hasBoxShadow: {
|
|
498
|
+
desktop: {
|
|
499
|
+
normal: false
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
boxShadow: {
|
|
503
|
+
desktop: {
|
|
504
|
+
normal: {}
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
op: {
|
|
508
|
+
desktop: '100%'
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
defaultPresetConfig: {
|
|
512
|
+
typo: {
|
|
513
|
+
type: 'subheading-2',
|
|
514
|
+
default: {
|
|
515
|
+
type: 'subheading-2'
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
color: {
|
|
519
|
+
normal: 'text-1'
|
|
520
|
+
},
|
|
521
|
+
lineThrough: true,
|
|
522
|
+
thickness: 2,
|
|
523
|
+
lineColor: 'text-1',
|
|
524
|
+
disableHoverColor: true,
|
|
525
|
+
hasTextShadow: {
|
|
526
|
+
normal: false
|
|
527
|
+
},
|
|
528
|
+
textShadow: {
|
|
529
|
+
normal: {
|
|
530
|
+
type: 'shadow-1'
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
textAlign: {
|
|
534
|
+
desktop: 'left'
|
|
535
|
+
},
|
|
536
|
+
'spacing-setting': {
|
|
537
|
+
desktop: {
|
|
538
|
+
margin: {
|
|
539
|
+
bottom: 'var(--g-s-l)'
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
d: {
|
|
544
|
+
desktop: true,
|
|
545
|
+
tablet: true,
|
|
546
|
+
mobile: true
|
|
547
|
+
},
|
|
548
|
+
border: {
|
|
549
|
+
desktop: {
|
|
550
|
+
normal: {
|
|
551
|
+
borderType: 'none',
|
|
552
|
+
border: 'none',
|
|
553
|
+
borderWidth: '1px',
|
|
554
|
+
width: '1px 1px 1px 1px',
|
|
555
|
+
color: '#121212',
|
|
556
|
+
isCustom: true
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
rounded: {
|
|
561
|
+
desktop: {
|
|
562
|
+
normal: {
|
|
563
|
+
btrr: '0px',
|
|
564
|
+
bblr: '0px',
|
|
565
|
+
bbrr: '0px',
|
|
566
|
+
btlr: '0px',
|
|
567
|
+
radiusType: 'none'
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
hasBoxShadow: {
|
|
572
|
+
desktop: {
|
|
573
|
+
normal: false
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
boxShadow: {
|
|
577
|
+
desktop: {
|
|
578
|
+
normal: {}
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
op: {
|
|
582
|
+
desktop: '100%'
|
|
583
|
+
},
|
|
584
|
+
animation: {
|
|
585
|
+
desktop: {
|
|
586
|
+
enabled: false,
|
|
587
|
+
trigger: 'appear',
|
|
588
|
+
triggerConfig: {
|
|
589
|
+
appear: {
|
|
590
|
+
animation: 'fade',
|
|
591
|
+
setting: {
|
|
592
|
+
fade: {
|
|
593
|
+
delay: '0',
|
|
594
|
+
speed: 1.7,
|
|
595
|
+
easing: 'ease-out'
|
|
596
|
+
},
|
|
597
|
+
zoom: {
|
|
598
|
+
delay: '0',
|
|
599
|
+
speed: 1.7,
|
|
600
|
+
isFade: true,
|
|
601
|
+
easing: 'ease-out',
|
|
602
|
+
zoomDirection: 'in',
|
|
603
|
+
scale: {
|
|
604
|
+
in: [
|
|
605
|
+
80,
|
|
606
|
+
100
|
|
607
|
+
],
|
|
608
|
+
out: [
|
|
609
|
+
120,
|
|
610
|
+
100
|
|
611
|
+
]
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
slide: {
|
|
615
|
+
delay: '0',
|
|
616
|
+
speed: 1.7,
|
|
617
|
+
easing: 'ease-out',
|
|
618
|
+
direction: 'left',
|
|
619
|
+
isCustomDistance: false
|
|
620
|
+
},
|
|
621
|
+
shake: {
|
|
622
|
+
delay: '0',
|
|
623
|
+
speed: 0.7,
|
|
624
|
+
loop: false,
|
|
625
|
+
intensity: 11,
|
|
626
|
+
easing: 'linear'
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
hover: {
|
|
631
|
+
animation: 'none',
|
|
632
|
+
setting: {
|
|
633
|
+
fade: {
|
|
634
|
+
delay: '0',
|
|
635
|
+
speed: 1.7,
|
|
636
|
+
easing: 'ease-out'
|
|
637
|
+
},
|
|
638
|
+
zoom: {
|
|
639
|
+
delay: '0',
|
|
640
|
+
speed: 1.7,
|
|
641
|
+
isFade: false,
|
|
642
|
+
easing: 'ease-out',
|
|
643
|
+
zoomDirection: 'in',
|
|
644
|
+
scale: {
|
|
645
|
+
in: [
|
|
646
|
+
100,
|
|
647
|
+
120
|
|
648
|
+
],
|
|
649
|
+
out: [
|
|
650
|
+
100,
|
|
651
|
+
80
|
|
652
|
+
]
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
slide: {
|
|
656
|
+
delay: '0',
|
|
657
|
+
speed: 1.7,
|
|
658
|
+
easing: 'ease-out',
|
|
659
|
+
direction: 'left',
|
|
660
|
+
isCustomDistance: false
|
|
661
|
+
},
|
|
662
|
+
shake: {
|
|
663
|
+
delay: '0',
|
|
664
|
+
speed: 0.7,
|
|
665
|
+
loop: false,
|
|
666
|
+
intensity: 11,
|
|
667
|
+
easing: 'linear'
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
priceType: 'compare'
|
|
675
|
+
}
|
|
460
676
|
}
|
|
461
677
|
],
|
|
462
678
|
label: 'Block',
|
|
@@ -423,36 +423,252 @@ const horizontalTwo = [
|
|
|
423
423
|
{
|
|
424
424
|
childrens: [
|
|
425
425
|
{
|
|
426
|
-
|
|
426
|
+
tag: 'ProductPrice',
|
|
427
427
|
label: 'Product Price',
|
|
428
428
|
settings: {
|
|
429
|
-
priceType: 'compare'
|
|
430
|
-
hasOnlyDefaultVariant: false
|
|
429
|
+
priceType: 'compare'
|
|
431
430
|
},
|
|
432
431
|
styles: {
|
|
432
|
+
typo: {
|
|
433
|
+
type: 'subheading-2',
|
|
434
|
+
default: {
|
|
435
|
+
type: 'subheading-2'
|
|
436
|
+
}
|
|
437
|
+
},
|
|
433
438
|
color: {
|
|
434
|
-
normal: '
|
|
439
|
+
normal: 'text-1'
|
|
435
440
|
},
|
|
441
|
+
lineThrough: true,
|
|
442
|
+
thickness: 2,
|
|
443
|
+
lineColor: 'text-1',
|
|
444
|
+
disableHoverColor: true,
|
|
436
445
|
hasTextShadow: {
|
|
437
446
|
normal: false
|
|
438
447
|
},
|
|
439
|
-
lineColor: 'text-1',
|
|
440
|
-
lineThrough: true,
|
|
441
|
-
textAlign: {
|
|
442
|
-
desktop: 'right'
|
|
443
|
-
},
|
|
444
448
|
textShadow: {
|
|
445
449
|
normal: {
|
|
446
450
|
type: 'shadow-1'
|
|
447
451
|
}
|
|
448
452
|
},
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
type: 'paragraph-1'
|
|
453
|
+
textAlign: {
|
|
454
|
+
desktop: 'left'
|
|
452
455
|
}
|
|
453
456
|
},
|
|
454
|
-
|
|
455
|
-
|
|
457
|
+
advanced: {
|
|
458
|
+
'spacing-setting': {
|
|
459
|
+
desktop: {
|
|
460
|
+
margin: {
|
|
461
|
+
bottom: 0
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
d: {
|
|
466
|
+
desktop: true,
|
|
467
|
+
tablet: true,
|
|
468
|
+
mobile: true
|
|
469
|
+
},
|
|
470
|
+
border: {
|
|
471
|
+
desktop: {
|
|
472
|
+
normal: {
|
|
473
|
+
borderType: 'none',
|
|
474
|
+
border: 'none',
|
|
475
|
+
borderWidth: '1px',
|
|
476
|
+
width: '1px 1px 1px 1px',
|
|
477
|
+
color: '#121212',
|
|
478
|
+
isCustom: true
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
rounded: {
|
|
483
|
+
desktop: {
|
|
484
|
+
normal: {
|
|
485
|
+
btrr: '0px',
|
|
486
|
+
bblr: '0px',
|
|
487
|
+
bbrr: '0px',
|
|
488
|
+
btlr: '0px',
|
|
489
|
+
radiusType: 'none'
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
hasBoxShadow: {
|
|
494
|
+
desktop: {
|
|
495
|
+
normal: false
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
boxShadow: {
|
|
499
|
+
desktop: {
|
|
500
|
+
normal: {}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
op: {
|
|
504
|
+
desktop: '100%'
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
defaultPresetConfig: {
|
|
508
|
+
typo: {
|
|
509
|
+
type: 'subheading-2',
|
|
510
|
+
default: {
|
|
511
|
+
type: 'subheading-2'
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
color: {
|
|
515
|
+
normal: 'text-1'
|
|
516
|
+
},
|
|
517
|
+
lineThrough: true,
|
|
518
|
+
thickness: 2,
|
|
519
|
+
lineColor: 'text-1',
|
|
520
|
+
disableHoverColor: true,
|
|
521
|
+
hasTextShadow: {
|
|
522
|
+
normal: false
|
|
523
|
+
},
|
|
524
|
+
textShadow: {
|
|
525
|
+
normal: {
|
|
526
|
+
type: 'shadow-1'
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
textAlign: {
|
|
530
|
+
desktop: 'left'
|
|
531
|
+
},
|
|
532
|
+
'spacing-setting': {
|
|
533
|
+
desktop: {
|
|
534
|
+
margin: {
|
|
535
|
+
bottom: 'var(--g-s-l)'
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
d: {
|
|
540
|
+
desktop: true,
|
|
541
|
+
tablet: true,
|
|
542
|
+
mobile: true
|
|
543
|
+
},
|
|
544
|
+
border: {
|
|
545
|
+
desktop: {
|
|
546
|
+
normal: {
|
|
547
|
+
borderType: 'none',
|
|
548
|
+
border: 'none',
|
|
549
|
+
borderWidth: '1px',
|
|
550
|
+
width: '1px 1px 1px 1px',
|
|
551
|
+
color: '#121212',
|
|
552
|
+
isCustom: true
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
rounded: {
|
|
557
|
+
desktop: {
|
|
558
|
+
normal: {
|
|
559
|
+
btrr: '0px',
|
|
560
|
+
bblr: '0px',
|
|
561
|
+
bbrr: '0px',
|
|
562
|
+
btlr: '0px',
|
|
563
|
+
radiusType: 'none'
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
hasBoxShadow: {
|
|
568
|
+
desktop: {
|
|
569
|
+
normal: false
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
boxShadow: {
|
|
573
|
+
desktop: {
|
|
574
|
+
normal: {}
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
op: {
|
|
578
|
+
desktop: '100%'
|
|
579
|
+
},
|
|
580
|
+
animation: {
|
|
581
|
+
desktop: {
|
|
582
|
+
enabled: false,
|
|
583
|
+
trigger: 'appear',
|
|
584
|
+
triggerConfig: {
|
|
585
|
+
appear: {
|
|
586
|
+
animation: 'fade',
|
|
587
|
+
setting: {
|
|
588
|
+
fade: {
|
|
589
|
+
delay: '0',
|
|
590
|
+
speed: 1.7,
|
|
591
|
+
easing: 'ease-out'
|
|
592
|
+
},
|
|
593
|
+
zoom: {
|
|
594
|
+
delay: '0',
|
|
595
|
+
speed: 1.7,
|
|
596
|
+
isFade: true,
|
|
597
|
+
easing: 'ease-out',
|
|
598
|
+
zoomDirection: 'in',
|
|
599
|
+
scale: {
|
|
600
|
+
in: [
|
|
601
|
+
80,
|
|
602
|
+
100
|
|
603
|
+
],
|
|
604
|
+
out: [
|
|
605
|
+
120,
|
|
606
|
+
100
|
|
607
|
+
]
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
slide: {
|
|
611
|
+
delay: '0',
|
|
612
|
+
speed: 1.7,
|
|
613
|
+
easing: 'ease-out',
|
|
614
|
+
direction: 'left',
|
|
615
|
+
isCustomDistance: false
|
|
616
|
+
},
|
|
617
|
+
shake: {
|
|
618
|
+
delay: '0',
|
|
619
|
+
speed: 0.7,
|
|
620
|
+
loop: false,
|
|
621
|
+
intensity: 11,
|
|
622
|
+
easing: 'linear'
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
hover: {
|
|
627
|
+
animation: 'none',
|
|
628
|
+
setting: {
|
|
629
|
+
fade: {
|
|
630
|
+
delay: '0',
|
|
631
|
+
speed: 1.7,
|
|
632
|
+
easing: 'ease-out'
|
|
633
|
+
},
|
|
634
|
+
zoom: {
|
|
635
|
+
delay: '0',
|
|
636
|
+
speed: 1.7,
|
|
637
|
+
isFade: false,
|
|
638
|
+
easing: 'ease-out',
|
|
639
|
+
zoomDirection: 'in',
|
|
640
|
+
scale: {
|
|
641
|
+
in: [
|
|
642
|
+
100,
|
|
643
|
+
120
|
|
644
|
+
],
|
|
645
|
+
out: [
|
|
646
|
+
100,
|
|
647
|
+
80
|
|
648
|
+
]
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
slide: {
|
|
652
|
+
delay: '0',
|
|
653
|
+
speed: 1.7,
|
|
654
|
+
easing: 'ease-out',
|
|
655
|
+
direction: 'left',
|
|
656
|
+
isCustomDistance: false
|
|
657
|
+
},
|
|
658
|
+
shake: {
|
|
659
|
+
delay: '0',
|
|
660
|
+
speed: 0.7,
|
|
661
|
+
loop: false,
|
|
662
|
+
intensity: 11,
|
|
663
|
+
easing: 'linear'
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
priceType: 'compare'
|
|
671
|
+
}
|
|
456
672
|
}
|
|
457
673
|
],
|
|
458
674
|
label: 'Block',
|