@payrails/web-sdk 5.25.0 → 5.25.2
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/README.md +8 -8
- package/index.js +4 -4
- package/package.json +1 -1
- package/payrails-styles.css +50 -49
- package/payrails.d.ts +2 -1
- package/payrails.js +4 -4
package/package.json
CHANGED
package/payrails-styles.css
CHANGED
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
50%,
|
|
82
82
|
100% {
|
|
83
|
-
opacity: .2;
|
|
83
|
+
opacity: 0.2;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -259,6 +259,7 @@
|
|
|
259
259
|
width: 24px;
|
|
260
260
|
margin-right: 7px;
|
|
261
261
|
}
|
|
262
|
+
|
|
262
263
|
#payrails-dropin-component {
|
|
263
264
|
border-radius: 0;
|
|
264
265
|
box-shadow: none;
|
|
@@ -647,76 +648,76 @@
|
|
|
647
648
|
}
|
|
648
649
|
|
|
649
650
|
button.payrails-generic-button {
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
651
|
+
border: none;
|
|
652
|
+
outline: none;
|
|
653
|
+
box-shadow: none;
|
|
654
|
+
margin: 0;
|
|
654
655
|
}
|
|
655
656
|
|
|
656
657
|
.payrails-generic-button * {
|
|
657
|
-
|
|
658
|
+
box-sizing: border-box;
|
|
658
659
|
}
|
|
659
660
|
|
|
660
661
|
.payrails-generic-button .dot-flashing-container {
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
662
|
+
width: 100%;
|
|
663
|
+
display: flex;
|
|
664
|
+
justify-content: center;
|
|
665
|
+
align-items: center;
|
|
666
|
+
position: relative;
|
|
666
667
|
}
|
|
667
668
|
|
|
668
669
|
.payrails-generic-button .dot-flashing-text {
|
|
669
|
-
|
|
670
|
+
visibility: hidden;
|
|
670
671
|
}
|
|
671
672
|
|
|
672
673
|
.payrails-generic-button .dot-flashing {
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
674
|
+
position: absolute;
|
|
675
|
+
left: auto;
|
|
676
|
+
right: auto;
|
|
677
|
+
width: 10px;
|
|
678
|
+
height: 10px;
|
|
679
|
+
border-radius: 5px;
|
|
680
|
+
background-color: currentColor;
|
|
681
|
+
color: currentColor;
|
|
682
|
+
animation: dot-flashing 1s infinite linear alternate;
|
|
683
|
+
animation-delay: 0.5s;
|
|
683
684
|
}
|
|
684
685
|
.payrails-generic-button .dot-flashing::before,
|
|
685
686
|
.payrails-generic-button .dot-flashing::after {
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
687
|
+
content: '';
|
|
688
|
+
display: inline-block;
|
|
689
|
+
position: absolute;
|
|
690
|
+
top: 0;
|
|
690
691
|
}
|
|
691
692
|
.payrails-generic-button .dot-flashing::before {
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
693
|
+
left: -15px;
|
|
694
|
+
width: 10px;
|
|
695
|
+
height: 10px;
|
|
696
|
+
border-radius: 5px;
|
|
697
|
+
background-color: currentColor;
|
|
698
|
+
color: currentColor;
|
|
699
|
+
animation: dot-flashing 1s infinite alternate;
|
|
700
|
+
animation-delay: 0s;
|
|
700
701
|
}
|
|
701
702
|
.payrails-generic-button .dot-flashing::after {
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
703
|
+
left: 15px;
|
|
704
|
+
width: 10px;
|
|
705
|
+
height: 10px;
|
|
706
|
+
border-radius: 5px;
|
|
707
|
+
background-color: currentColor;
|
|
708
|
+
color: currentColor;
|
|
709
|
+
animation: dot-flashing 1s infinite alternate;
|
|
710
|
+
animation-delay: 1s;
|
|
710
711
|
}
|
|
711
712
|
|
|
712
713
|
@keyframes dot-flashing {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
714
|
+
0% {
|
|
715
|
+
opacity: 1;
|
|
716
|
+
}
|
|
717
|
+
50%,
|
|
718
|
+
100% {
|
|
719
|
+
opacity: 0.2;
|
|
720
|
+
}
|
|
720
721
|
}
|
|
721
722
|
|
|
722
723
|
#payrails-paypal-button-wrapper {
|
package/payrails.d.ts
CHANGED
|
@@ -612,7 +612,7 @@ declare class PayrailsCollectContainer implements Mountable {
|
|
|
612
612
|
private attachCustomEventHandler;
|
|
613
613
|
private formatBin;
|
|
614
614
|
private get elementToFieldMap();
|
|
615
|
-
fetchBinLookup: (bin: string) => Promise<
|
|
615
|
+
fetchBinLookup: (bin: string) => Promise<BinLookupResponse | {
|
|
616
616
|
bin: string;
|
|
617
617
|
}>;
|
|
618
618
|
}
|
|
@@ -1324,6 +1324,7 @@ interface PaymentEvents {
|
|
|
1324
1324
|
onPaymentButtonClicked?: (e?: {
|
|
1325
1325
|
bin?: string;
|
|
1326
1326
|
}) => Promise<boolean>;
|
|
1327
|
+
onAuthorizeRequestStart?: () => void;
|
|
1327
1328
|
onPaymentSessionExpired?: () => void;
|
|
1328
1329
|
onThreeDSecureChallenge?: () => void;
|
|
1329
1330
|
}
|