@lucynam/fashiongo-ui 0.2.7 → 0.2.8

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/index.css CHANGED
@@ -605,54 +605,61 @@
605
605
  display: flex;
606
606
  align-items: center;
607
607
  justify-content: center;
608
- gap: 4px;
608
+ gap: 6px;
609
609
  height: 56px;
610
- padding: 16px 10px;
610
+ padding: 15px 10px;
611
611
  border-radius: 2px;
612
612
  border: none;
613
613
  cursor: pointer;
614
614
  width: 100%;
615
- transition: background-color var(--fg-duration-base) var(--fg-ease-default), border-color var(--fg-duration-base) var(--fg-ease-default);
615
+ box-sizing: border-box;
616
+ transition:
617
+ background-color 150ms ease,
618
+ border-color 150ms ease,
619
+ opacity 150ms ease;
616
620
  }
617
621
  .PdpCta_variant-default {
618
622
  background-color: var(--fg-action-primary);
619
- color: var(--fg-text-white);
620
623
  }
621
624
  .PdpCta_variant-default:hover {
622
625
  background-color: var(--fg-action-primary-pressed);
623
626
  }
624
627
  .PdpCta_variant-loading {
625
- background-color: var(--fg-action-primary-pressed);
628
+ background-color: var(--fg-action-secondary-1);
626
629
  cursor: not-allowed;
627
- gap: 8px;
628
630
  }
629
631
  .PdpCta_variant-complete {
630
632
  background-color: var(--fg-action-primary);
631
- color: var(--fg-text-white);
632
633
  cursor: default;
633
- gap: 8px;
634
634
  }
635
635
  .PdpCta_variant-outline {
636
636
  background-color: transparent;
637
- color: var(--fg-text-primary);
638
- border: 1px solid var(--fg-action-primary);
637
+ border: 1px solid var(--fg-action-line);
639
638
  }
640
639
  .PdpCta_variant-outline:hover {
641
640
  background-color: var(--fg-bg-secondary);
642
641
  }
643
642
  .PdpCta_variant-disabled {
644
643
  background-color: var(--fg-action-primary-8);
645
- color: var(--fg-text-quaternary);
646
644
  cursor: not-allowed;
645
+ pointer-events: none;
646
+ }
647
+ .PdpCta_variant-link {
648
+ background-color: transparent;
649
+ border: none;
650
+ }
651
+ .PdpCta_variant-link:hover {
652
+ opacity: 0.75;
647
653
  }
648
654
  .PdpCta_label {
649
655
  font-family: var(--fg-font-sans);
650
656
  font-size: var(--fg-text-18);
651
657
  font-weight: var(--fg-font-bold);
652
- line-height: var(--fg-leading-subtitle);
653
- text-align: center;
658
+ line-height: 26px;
659
+ letter-spacing: 0;
654
660
  white-space: nowrap;
655
661
  flex-shrink: 0;
662
+ color: var(--fg-text-primary);
656
663
  }
657
664
  .PdpCta_label-white {
658
665
  color: var(--fg-text-white);
@@ -660,29 +667,42 @@
660
667
  .PdpCta_label-disabled {
661
668
  color: var(--fg-text-quaternary);
662
669
  }
663
- .PdpCta_icon {
670
+ .PdpCta_separator {
671
+ font-family: var(--fg-font-sans);
672
+ font-size: var(--fg-text-18);
673
+ font-weight: var(--fg-font-bold);
674
+ line-height: 26px;
675
+ flex-shrink: 0;
676
+ color: var(--fg-text-primary);
677
+ }
678
+ .PdpCta_iconWrap {
679
+ flex-shrink: 0;
680
+ width: 20px;
681
+ height: 20px;
682
+ display: flex;
683
+ align-items: center;
684
+ justify-content: center;
685
+ position: relative;
686
+ }
687
+ .PdpCta_bulletWrap {
664
688
  flex-shrink: 0;
665
689
  width: 16px;
666
690
  height: 16px;
691
+ display: flex;
692
+ align-items: center;
693
+ justify-content: center;
667
694
  position: relative;
668
695
  }
669
- .PdpCta_icon img {
670
- position: absolute;
671
- inset: 0;
672
- width: 100%;
673
- height: 100%;
674
- display: block;
675
- }
676
696
  .PdpCta_spinner {
677
697
  flex-shrink: 0;
678
- width: 16px;
679
- height: 16px;
680
- border: 2px solid rgba(255, 255, 255, 0.3);
698
+ width: 20px;
699
+ height: 20px;
700
+ border: 2px solid rgba(255, 255, 255, 0.35);
681
701
  border-top-color: var(--fg-text-white);
682
702
  border-radius: 50%;
683
- animation: PdpCta_spin 0.75s linear infinite;
703
+ animation: PdpCta_pdpCtaSpin 0.75s linear infinite;
684
704
  }
685
- @keyframes PdpCta_spin {
705
+ @keyframes PdpCta_pdpCtaSpin {
686
706
  to {
687
707
  transform: rotate(360deg);
688
708
  }