@primer-io/checkout-web 1.22.1 → 1.25.0
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/CHANGELOG.md +186 -10
- package/README.md +3 -3
- package/dist/Checkout.css +1 -1
- package/dist/index.d.ts +30 -7
- package/dist/loader.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,143 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [1.25.0](https://github.com/primer-io/primer-sdk/compare/v1.24.0...v1.25.0) (2022-02-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [1.25.0-beta.2](https://github.com/primer-io/primer-sdk/compare/v1.25.0-beta.1...v1.25.0-beta.2) (2022-02-05)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [1.25.0-beta.1](https://github.com/primer-io/primer-sdk/compare/v1.25.0-beta.0...v1.25.0-beta.1) (2022-02-05)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [1.24.0-beta.8](https://github.com/primer-io/primer-sdk/compare/v1.24.0-beta.7...v1.24.0-beta.8) (2022-02-04)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [1.24.0-beta.2](https://github.com/primer-io/primer-sdk/compare/v1.24.0-beta.1...v1.24.0-beta.2) (2022-01-26)
|
|
37
|
+
|
|
38
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
39
|
+
|
|
40
|
+
# [1.24.0-beta.7](https://github.com/primer-io/primer-sdk/compare/v1.24.0-beta.6...v1.24.0-beta.7) (2022-02-04)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# [1.24.0-beta.1](https://github.com/primer-io/primer-sdk/compare/v1.24.0-beta.0...v1.24.0-beta.1) (2022-01-26)
|
|
46
|
+
|
|
47
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
48
|
+
|
|
49
|
+
# [1.24.0-beta.6](https://github.com/primer-io/primer-sdk/compare/v1.24.0-beta.5...v1.24.0-beta.6) (2022-02-03)
|
|
50
|
+
|
|
51
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
52
|
+
|
|
53
|
+
# [1.23.0-beta.1](https://github.com/primer-io/primer-sdk/compare/v1.23.0-beta.0...v1.23.0-beta.1) (2022-01-21)
|
|
54
|
+
|
|
55
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
# [1.24.0-beta.5](https://github.com/primer-io/primer-sdk/compare/v1.24.0-beta.4...v1.24.0-beta.5) (2022-02-01)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## [1.22.2-beta.5](https://github.com/primer-io/primer-sdk/compare/v1.22.2-beta.4...v1.22.2-beta.5) (2022-01-20)
|
|
63
|
+
|
|
64
|
+
* set icon height ([#880](https://github.com/primer-io/primer-sdk/issues/880)) ([8a2c03a](https://github.com/primer-io/primer-sdk/commit/8a2c03acf2f2bd1616d2151f102b3bf67ac65066))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
# [1.24.0-beta.4](https://github.com/primer-io/primer-sdk/compare/v1.24.0-beta.3...v1.24.0-beta.4) (2022-01-27)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
# [1.24.0-beta.3](https://github.com/primer-io/primer-sdk/compare/v1.24.0-beta.2...v1.24.0-beta.3) (2022-01-27)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
# [1.24.0-beta.2](https://github.com/primer-io/primer-sdk/compare/v1.24.0-beta.1...v1.24.0-beta.2) (2022-01-26)
|
|
87
|
+
|
|
88
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
# [1.24.0-beta.1](https://github.com/primer-io/primer-sdk/compare/v1.24.0-beta.0...v1.24.0-beta.1) (2022-01-26)
|
|
95
|
+
|
|
96
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
# [1.23.0-beta.1](https://github.com/primer-io/primer-sdk/compare/v1.23.0-beta.0...v1.23.0-beta.1) (2022-01-21)
|
|
103
|
+
|
|
104
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## [1.22.2-beta.5](https://github.com/primer-io/primer-sdk/compare/v1.22.2-beta.4...v1.22.2-beta.5) (2022-01-20)
|
|
111
|
+
|
|
112
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
## [1.22.2-beta.4](https://github.com/primer-io/primer-sdk/compare/v1.22.2-beta.3...v1.22.2-beta.4) (2022-01-20)
|
|
119
|
+
|
|
120
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## [1.22.2-beta.3](https://github.com/primer-io/primer-sdk/compare/v1.22.2-beta.2...v1.22.2-beta.3) (2022-01-20)
|
|
127
|
+
|
|
128
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
## [1.22.2-beta.2](https://github.com/primer-io/primer-sdk/compare/v1.22.2-beta.1...v1.22.2-beta.2) (2022-01-19)
|
|
135
|
+
|
|
136
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
## [1.22.2-beta.1](https://github.com/primer-io/primer-sdk/compare/v1.22.2-beta.0...v1.22.2-beta.1) (2022-01-18)
|
|
7
143
|
|
|
8
144
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
9
145
|
|
|
@@ -239,6 +375,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
239
375
|
|
|
240
376
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
241
377
|
|
|
378
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
242
379
|
|
|
243
380
|
|
|
244
381
|
|
|
@@ -255,6 +392,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
255
392
|
|
|
256
393
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
257
394
|
|
|
395
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
258
396
|
|
|
259
397
|
|
|
260
398
|
|
|
@@ -263,6 +401,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
263
401
|
|
|
264
402
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
265
403
|
|
|
404
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
266
405
|
|
|
267
406
|
|
|
268
407
|
|
|
@@ -328,6 +467,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
328
467
|
|
|
329
468
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
330
469
|
|
|
470
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
331
471
|
|
|
332
472
|
|
|
333
473
|
|
|
@@ -336,6 +476,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
336
476
|
|
|
337
477
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
338
478
|
|
|
479
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
339
480
|
|
|
340
481
|
|
|
341
482
|
|
|
@@ -344,6 +485,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
344
485
|
|
|
345
486
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
346
487
|
|
|
488
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
347
489
|
|
|
348
490
|
|
|
349
491
|
|
|
@@ -428,6 +570,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
428
570
|
|
|
429
571
|
|
|
430
572
|
|
|
573
|
+
## [1.13.1-beta.2](https://github.com/primer-io/primer-sdk/compare/v1.13.1-beta.1...v1.13.1-beta.2) (2021-10-07)
|
|
431
574
|
|
|
432
575
|
# [1.14.0-beta.4](https://github.com/primer-io/primer-sdk/compare/v1.14.0-beta.3...v1.14.0-beta.4) (2021-10-22)
|
|
433
576
|
|
|
@@ -459,6 +602,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
459
602
|
|
|
460
603
|
|
|
461
604
|
|
|
605
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
462
606
|
|
|
463
607
|
|
|
464
608
|
## [1.13.1-beta.4](https://github.com/primer-io/primer-sdk/compare/v1.13.1-beta.3...v1.13.1-beta.4) (2021-10-11)
|
|
@@ -466,7 +610,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
466
610
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
467
611
|
|
|
468
612
|
|
|
613
|
+
## [1.12.2-beta.4](https://github.com/primer-io/primer-sdk/compare/v1.12.2-beta.3...v1.12.2-beta.4) (2021-09-16)
|
|
469
614
|
|
|
615
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
470
616
|
|
|
471
617
|
|
|
472
618
|
## [1.13.1-beta.3](https://github.com/primer-io/primer-sdk/compare/v1.13.1-beta.2...v1.13.1-beta.3) (2021-10-08)
|
|
@@ -474,6 +620,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
474
620
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
475
621
|
|
|
476
622
|
|
|
623
|
+
## [1.12.2-beta.3](https://github.com/primer-io/primer-sdk/compare/v1.12.2-beta.2...v1.12.2-beta.3) (2021-09-16)
|
|
477
624
|
|
|
478
625
|
|
|
479
626
|
|
|
@@ -482,6 +629,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
482
629
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
483
630
|
|
|
484
631
|
|
|
632
|
+
## [1.12.2-beta.2](https://github.com/primer-io/primer-sdk/compare/v1.12.2-beta.1...v1.12.2-beta.2) (2021-09-15)
|
|
485
633
|
|
|
486
634
|
|
|
487
635
|
|
|
@@ -557,13 +705,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
557
705
|
|
|
558
706
|
## [1.12.1-beta.2](https://github.com/primer-io/primer-sdk/compare/v1.12.1-beta.1...v1.12.1-beta.2) (2021-09-13)
|
|
559
707
|
|
|
708
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
560
709
|
|
|
561
|
-
### Bug Fixes
|
|
562
710
|
|
|
563
711
|
* remove base64 padding on 3DS challenge creq ([#613](https://github.com/primer-io/primer-sdk/issues/613)) ([b92235d](https://github.com/primer-io/primer-sdk/commit/b92235dead69a93c096a94797e387515e493764b))
|
|
564
712
|
|
|
565
713
|
|
|
566
714
|
|
|
715
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
567
716
|
|
|
568
717
|
|
|
569
718
|
# [1.12.0-beta.37](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.36...v1.12.0-beta.37) (2021-09-10)
|
|
@@ -571,6 +720,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
571
720
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
572
721
|
|
|
573
722
|
|
|
723
|
+
# [1.12.0-beta.29](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.28...v1.12.0-beta.29) (2021-08-31)
|
|
574
724
|
|
|
575
725
|
|
|
576
726
|
|
|
@@ -579,6 +729,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
579
729
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
580
730
|
|
|
581
731
|
|
|
732
|
+
# [1.12.0-beta.28](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.27...v1.12.0-beta.28) (2021-08-29)
|
|
582
733
|
|
|
583
734
|
|
|
584
735
|
|
|
@@ -587,16 +738,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
587
738
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
588
739
|
|
|
589
740
|
|
|
741
|
+
# [1.12.0-beta.26](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.25...v1.12.0-beta.26) (2021-08-28)
|
|
590
742
|
|
|
743
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
591
744
|
|
|
592
745
|
|
|
593
746
|
# [1.12.0-beta.34](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.33...v1.12.0-beta.34) (2021-09-03)
|
|
594
747
|
|
|
595
748
|
|
|
596
|
-
### Bug Fixes
|
|
597
749
|
|
|
598
750
|
* hide processing spinner with submit button ([#602](https://github.com/primer-io/primer-sdk/issues/602)) ([a622773](https://github.com/primer-io/primer-sdk/commit/a6227731bfa3411d359c417348151c457c836171))
|
|
599
751
|
|
|
752
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
600
753
|
|
|
601
754
|
|
|
602
755
|
|
|
@@ -647,16 +800,19 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
647
800
|
|
|
648
801
|
|
|
649
802
|
|
|
803
|
+
# [1.12.0-beta.20](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.19...v1.12.0-beta.20) (2021-08-23)
|
|
650
804
|
|
|
805
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
651
806
|
|
|
652
807
|
# [1.12.0-beta.24](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.23...v1.12.0-beta.24) (2021-08-26)
|
|
653
808
|
|
|
654
809
|
|
|
655
|
-
### Bug Fixes
|
|
656
810
|
|
|
657
811
|
* prevent templating if URL is not PCI ([#586](https://github.com/primer-io/primer-sdk/issues/586)) ([31747b2](https://github.com/primer-io/primer-sdk/commit/31747b2bda2eac55535b3a7acecb1884b4ae91b0))
|
|
658
812
|
|
|
813
|
+
# [1.12.0-beta.19](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.18...v1.12.0-beta.19) (2021-08-22)
|
|
659
814
|
|
|
815
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
660
816
|
|
|
661
817
|
|
|
662
818
|
|
|
@@ -674,7 +830,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
674
830
|
# [1.12.0-beta.22](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.21...v1.12.0-beta.22) (2021-08-24)
|
|
675
831
|
|
|
676
832
|
|
|
677
|
-
|
|
833
|
+
# [1.12.0-beta.17](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.16...v1.12.0-beta.17) (2021-08-21)
|
|
678
834
|
|
|
679
835
|
* call onDisable on scene change ([#584](https://github.com/primer-io/primer-sdk/issues/584)) ([cfb7319](https://github.com/primer-io/primer-sdk/commit/cfb731985d576ef4e858c71dea83a56cd34c7241))
|
|
680
836
|
|
|
@@ -684,14 +840,16 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
684
840
|
|
|
685
841
|
# [1.12.0-beta.21](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.20...v1.12.0-beta.21) (2021-08-23)
|
|
686
842
|
|
|
843
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
687
844
|
|
|
688
|
-
### Bug Fixes
|
|
689
845
|
|
|
690
846
|
* default input to sans-serif ([#582](https://github.com/primer-io/primer-sdk/issues/582)) ([66245e5](https://github.com/primer-io/primer-sdk/commit/66245e56cf4e8609129a438cacf4e1ce453feda9))
|
|
691
847
|
|
|
692
848
|
|
|
693
849
|
|
|
850
|
+
# [1.12.0-beta.15](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.14...v1.12.0-beta.15) (2021-08-21)
|
|
694
851
|
|
|
852
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
695
853
|
|
|
696
854
|
# [1.12.0-beta.20](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.19...v1.12.0-beta.20) (2021-08-23)
|
|
697
855
|
|
|
@@ -699,7 +857,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
699
857
|
|
|
700
858
|
|
|
701
859
|
|
|
860
|
+
# [1.12.0-beta.14](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.13...v1.12.0-beta.14) (2021-08-20)
|
|
702
861
|
|
|
862
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
703
863
|
|
|
704
864
|
# [1.12.0-beta.19](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.18...v1.12.0-beta.19) (2021-08-22)
|
|
705
865
|
|
|
@@ -708,7 +868,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
708
868
|
|
|
709
869
|
|
|
710
870
|
|
|
711
|
-
|
|
712
871
|
# [1.12.0-beta.18](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.17...v1.12.0-beta.18) (2021-08-22)
|
|
713
872
|
|
|
714
873
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
@@ -748,6 +907,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
748
907
|
|
|
749
908
|
|
|
750
909
|
|
|
910
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
751
911
|
|
|
752
912
|
# [1.12.0-beta.13](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.12...v1.12.0-beta.13) (2021-08-20)
|
|
753
913
|
|
|
@@ -755,47 +915,63 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
755
915
|
|
|
756
916
|
|
|
757
917
|
|
|
918
|
+
# [1.12.0-beta.6](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.5...v1.12.0-beta.6) (2021-08-17)
|
|
758
919
|
|
|
920
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
759
921
|
|
|
760
922
|
# [1.12.0-beta.12](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.11...v1.12.0-beta.12) (2021-08-20)
|
|
761
923
|
|
|
924
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
762
925
|
|
|
763
926
|
### Bug Fixes
|
|
764
927
|
|
|
765
928
|
* janky animation when clicking "other ways to pay" ([#580](https://github.com/primer-io/primer-sdk/issues/580)) ([b606366](https://github.com/primer-io/primer-sdk/commit/b606366f1d9e0a8d21c26e924e68add5e7d7b813))
|
|
766
929
|
|
|
930
|
+
# [1.12.0-beta.3](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.2...v1.12.0-beta.3) (2021-08-09)
|
|
767
931
|
|
|
932
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
768
933
|
|
|
934
|
+
# [1.12.0-beta.2](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.1...v1.12.0-beta.2) (2021-08-05)
|
|
769
935
|
|
|
936
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
770
937
|
|
|
771
938
|
# [1.12.0-beta.11](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.10...v1.12.0-beta.11) (2021-08-20)
|
|
772
939
|
|
|
940
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
773
941
|
|
|
774
|
-
|
|
942
|
+
# [1.11.0-beta.8](https://github.com/primer-io/primer-sdk/compare/v1.11.0-beta.7...v1.11.0-beta.8) (2021-08-02)
|
|
775
943
|
|
|
776
944
|
* ideal client token intent ([#579](https://github.com/primer-io/primer-sdk/issues/579)) ([25a41ba](https://github.com/primer-io/primer-sdk/commit/25a41ba2b096b534b834372c4b5232bd29ac59a3))
|
|
777
945
|
|
|
946
|
+
# [1.11.0-beta.7](https://github.com/primer-io/primer-sdk/compare/v1.11.0-beta.6...v1.11.0-beta.7) (2021-07-23)
|
|
778
947
|
|
|
948
|
+
### Bug Fixes
|
|
779
949
|
|
|
950
|
+
- address amount discrepancy when using setPurchaseInfo ([#537](https://github.com/primer-io/primer-sdk/issues/537)) ([d32e2e2](https://github.com/primer-io/primer-sdk/commit/d32e2e23ec74cbbbb40f264997184cfd21631c29))
|
|
780
951
|
|
|
952
|
+
# [1.11.0-beta.5](https://github.com/primer-io/primer-sdk/compare/v1.11.0-beta.4...v1.11.0-beta.5) (2021-07-21)
|
|
781
953
|
|
|
782
954
|
# [1.12.0-beta.8](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.7...v1.12.0-beta.8) (2021-08-17)
|
|
783
955
|
|
|
956
|
+
# [1.11.0-beta.4](https://github.com/primer-io/primer-sdk/compare/v1.11.0-beta.3...v1.11.0-beta.4) (2021-07-19)
|
|
784
957
|
|
|
785
|
-
|
|
958
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
786
959
|
|
|
787
960
|
* npm loader url ([#575](https://github.com/primer-io/primer-sdk/issues/575)) ([02bb939](https://github.com/primer-io/primer-sdk/commit/02bb939cfd2de97854b38310c0ae6b1ce2dbeff3))
|
|
788
961
|
|
|
962
|
+
**Note:** Version bump only for package @primer-io/checkout-web
|
|
789
963
|
|
|
790
964
|
|
|
791
|
-
|
|
965
|
+
- address discrepancy when calculating tax more than once ([#526](https://github.com/primer-io/primer-sdk/issues/526)) ([176fb80](https://github.com/primer-io/primer-sdk/commit/176fb806d1a44ae7ff91c558ec715e5cd53f0a10))
|
|
792
966
|
|
|
793
967
|
# [1.12.0-beta.7](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.6...v1.12.0-beta.7) (2021-08-17)
|
|
794
968
|
|
|
795
969
|
**Note:** Version bump only for package @primer-io/checkout-web
|
|
796
970
|
|
|
971
|
+
# [1.10.0-beta.1](https://github.com/primer-io/primer-sdk/compare/v1.10.0-beta.0...v1.10.0-beta.1) (2021-07-05)
|
|
797
972
|
|
|
798
973
|
|
|
974
|
+
## [1.9.1-beta.11](https://github.com/primer-io/primer-sdk/compare/v1.9.1-beta.10...v1.9.1-beta.11) (2021-07-01)
|
|
799
975
|
|
|
800
976
|
|
|
801
977
|
# [1.12.0-beta.6](https://github.com/primer-io/primer-sdk/compare/v1.12.0-beta.5...v1.12.0-beta.6) (2021-08-17)
|
package/README.md
CHANGED
|
@@ -214,9 +214,7 @@ type ActionType = 'SELECT_PAYMENT_METHOD' | 'UNSELECT_PAYMENT_METHOD';
|
|
|
214
214
|
```
|
|
215
215
|
|
|
216
216
|
```typescript
|
|
217
|
-
type ActionParameters =
|
|
218
|
-
| SelectPaymentMethodParamters
|
|
219
|
-
| DefaulActionParameters;
|
|
217
|
+
type ActionParameters = SelectPaymentMethodParamters | DefaulActionParameters;
|
|
220
218
|
```
|
|
221
219
|
|
|
222
220
|
```typescript
|
|
@@ -707,6 +705,8 @@ interface TextStyle {
|
|
|
707
705
|
fontSize?: string;
|
|
708
706
|
fontSmoothing?: string;
|
|
709
707
|
lineHeight?: string;
|
|
708
|
+
textTransform?: string;
|
|
709
|
+
letterSpacing?: string;
|
|
710
710
|
}
|
|
711
711
|
|
|
712
712
|
interface BlockStyle {
|
package/dist/Checkout.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@-webkit-keyframes PrimerCheckout__loadingSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes PrimerCheckout__loadingSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes blink{0%,100%{opacity:1}50%{opacity:.5}}@keyframes blink{0%,100%{opacity:1}50%{opacity:.5}}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}100%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}100%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}.PrimerCheckout__title{padding:0;margin:0;font-size:1.15rem;color:#262626;font-weight:500}.PrimerCheckout__sceneElement{-webkit-flex:0 0 auto;flex:0 0 auto}.PrimerCheckout__sceneElement:not(:last-child){margin-bottom:32px}.PrimerCheckout__divider{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__divider>.PrimerCheckout__label{display:inline-block;margin:0px 10px}.PrimerCheckout__divider>.PrimerCheckout__dividerLineSegment{background-color:#e0e0e0;-webkit-flex:1 1 auto;flex:1 1 auto;height:1px}.PrimerCheckout__divider--hidden{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}.PrimerCheckout__textDivider{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;text-align:center}.PrimerCheckout__textDivider::before,.PrimerCheckout__textDivider::after{display:block;content:"";-webkit-flex:1;flex:1;height:1px;background:#e0e0e0;min-width:16px}.PrimerCheckout__textDivider::before{margin-right:8px}@media(max-width: 600px){.PrimerCheckout__textDivider::before{margin-right:2px}}.PrimerCheckout__textDivider::after{margin-left:8px}@media(max-width: 600px){.PrimerCheckout__textDivider::after{margin-left:2px}}.PrimerCheckout__apmButton{position:relative;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;overflow:hidden;transition:opacity 300ms cubic-bezier(0.4, 0, 0.2, 1)}.PrimerCheckout__apmButton button{cursor:pointer;height:100%;width:100%;border:none;background:none}.PrimerCheckout__apmButton:focus-within{outline:2px solid #3447f4;outline-offset:2px}.PrimerCheckout__apmButton:not(:first-of-type){margin-top:8px}.PrimerCheckout__apmButton>.paypal-buttons{transition:none !important}.PrimerCheckout__apmButton>.gpay-card-info-container.long,.PrimerCheckout__apmButton>.gpay-button.long{width:100%}.PrimerCheckout__apmButton--logo{border-width:1px;border-style:solid}.PrimerCheckout__apmButton--logo:hover{opacity:.8}.PrimerCheckout__apmButton--logo img{max-height:calc(100% - 8px);max-width:calc(100% - 8px)}.PrimerCheckout__separator{margin:32px 0px;height:1px;background:#e0e0e0}.PrimerCheckout__emptyText{-webkit-transform:translateY(0px);transform:translateY(0px);opacity:1;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__emptyText.PrimerCheckout--exit{-webkit-transform:transalteY(-20px);transform:transalteY(-20px);opacity:0}.PrimerCheckout__cardTypes{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;display:-webkit-flex;display:flex}.PrimerCheckout__hostedInputContent{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);overflow:hidden;pointer-events:none;right:12px;height:100%;padding:11px 0px;-webkit-align-items:center;align-items:center}.PrimerCheckout__cardType{position:relative;width:24px;transition:all 300ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms cubic-bezier(0.4, 0, 0.2, 1)}.PrimerCheckout__cardType>*{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center}.PrimerCheckout__cardType.PrimerCheckout--hidden{display:inline-block !important;width:0px;margin-right:0px;opacity:0}.PrimerCheckout__cardType.PrimerCheckout--error::after{content:"";position:absolute;right:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background-color:#ea4335}.PrimerCheckout__form{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout__formHeader{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-justify-content:space-between;justify-content:space-between;-webkit-align-items:center;align-items:center;margin-bottom:32px}.PrimerCheckout__formField{position:relative;-webkit-flex:0;flex:0}.PrimerCheckout__formField.PrimerCheckout__formField--dual{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-justify-content:space-between;justify-content:space-between;-webkit-align-items:baseline;align-items:baseline}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{-webkit-flex:0 1 calc(50% - 8px);flex:0 1 calc(50% - 8px)}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{margin-top:0px}@media(max-width: 600px){.PrimerCheckout__formField.PrimerCheckout__formField--dual{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:initial;align-items:initial}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{-webkit-flex:unset;flex:unset}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField+.PrimerCheckout__formField{margin-top:inherit}}.PrimerCheckout__formField.PrimerCheckout__formField--orientation-horizontal{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center}.PrimerCheckout__formField>.PrimerCheckout__label{display:inline-block;margin-left:1px}.PrimerCheckout__formField .PrimerCheckout__checkbox+.PrimerCheckout__label{cursor:pointer;margin-left:8px}.PrimerCheckout__helperText{position:relative;z-index:0;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms;-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}.PrimerCheckout__helperText.PrimerCheckout--enter{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0;margin-top:0px;-webkit-animation:none;animation:none}.PrimerCheckout__helperText.PrimerCheckout--entering{-webkit-transform:translateY(0px);transform:translateY(0px);opacity:1}.PrimerCheckout__helperText.PrimerCheckout--entered{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}.PrimerCheckout__helperText.PrimerCheckout--exit{opacity:1;-webkit-animation:none;animation:none}.PrimerCheckout__helperText.PrimerCheckout--exiting{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.PrimerCheckout__formFieldTitle{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.PrimerCheckout__checkbox{-webkit-appearance:none;font-size:1rem;cursor:pointer;margin:0px;padding:8px;display:inline-block;position:relative;color:#fff;border-radius:4px;border:1px solid #bdbdbd}.PrimerCheckout__checkbox:checked{color:#fff;background-color:#3447f4;border-color:#3447f4}.PrimerCheckout__checkbox::after{content:"✓";font-size:16px;position:absolute;top:50%;left:55%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}#primer-checkout-vault-methods{opacity:1;-webkit-transform-origin:top center;transform-origin:top center;-webkit-transform:translateY(0px);transform:translateY(0px);transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1)}#primer-checkout-vault-methods.PrimerCheckout--exit{opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px)}.PrimerCheckout__dropDownMenuContainer{position:absolute;z-index:1;right:0px;top:calc(28px + 4px);min-width:300px}.PrimerCheckout__dropDownMenu{border:1px solid #e0e0e0;border-radius:2px;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;position:absolute;z-index:1000;top:0px;right:0px;width:100%;background-color:#fff;box-shadow:0px 1px 10px rgba(0,0,0,.1),0px 0px 20px rgba(52,71,244,.1);opacity:0;-webkit-transform-origin:top center;transform-origin:top center;-webkit-transform:translateY(-10px) scaleY(0.9);transform:translateY(-10px) scaleY(0.9);transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms;pointer-events:none}.PrimerCheckout__dropDownMenu>.PrimerCheckout__label{padding:12px 12px 6px}.PrimerCheckout__dropDownMenu--enter{pointer-events:all;opacity:1;-webkit-transform:translateY(0px) scaleY(1);transform:translateY(0px) scaleY(1)}.PrimerCheckout__dropDownMenuItem{transition:background-color 100ms ease;padding:6px 12px}.PrimerCheckout__dropDownMenuItem:hover,.PrimerCheckout__dropDownMenuItem:focus{background-color:#eaf1ff}.PrimerCheckout__dropDownMenuItem>.PrimerCheckout__label{white-space:nowrap;color:#3447f4}.PrimerCheckout__paymentMethodDropDownMenuItem{margin:0px 16px;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__paymentMethodDropDownMenuItem:not(:last-child){border-bottom:1px solid #e0e0e0}.PrimerCheckout__paymentMethodDropDownMenuItem--disabled{pointer-events:none;opacity:.3}.PrimerCheckout__paymentMethodDropDownMenuItem__content{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;padding:16px 0px}.PrimerCheckout__paymentMethodDropDownMenuItem__icon{width:30px;margin-right:8px}.PrimerCheckout__paymentMethodDropDownMenuItem__label.PrimerCheckout__label{min-width:0;margin-right:8px;font-size:.75rem;word-break:break-all}.PrimerCheckout__paymentMethodDropDownMenuItem__buttons{margin-left:auto}.PrimerCheckout__paymentMethodDropDownMenuItem__buttons>button{font-size:.75rem}.PrimerCheckout__paymentMethodDropDownMenuItem__confirmationContainer{pointer-events:none;position:relative;height:0;padding-bottom:0px;opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px);transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms,opacity cubic-bezier(0.4, 0, 0.2, 1) 200ms}.PrimerCheckout__paymentMethodDropDownMenuItem__confirmationContainer--enter{pointer-events:all;-webkit-transform:translateY(0px);transform:translateY(0px);height:calc(40px + 16px);opacity:1;padding-bottom:16px}.PrimerCheckout__deleteButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4}.PrimerCheckout__deleteButton:disabled{cursor:auto}.PrimerCheckout__deleteConfirmation{height:30px}.PrimerCheckout__confirmButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;display:grid;width:100%;place-items:center;height:40px;border:1px solid #3447f4;border-radius:4px;text-align:center;color:#3447f4;font-size:.875rem}.PrimerCheckout__confirmButton:disabled{cursor:auto}.PrimerCheckout__savedPaymentMethods{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout__savedPaymentMethods__title{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;margin-bottom:15px}.PrimerCheckout__savedPaymentMethodActions{margin-left:auto;font-size:.75rem}button.PrimerCheckout__klarnaButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;border:1px solid #e0e0e0;border-radius:2px;display:-webkit-inline-flex;display:inline-flex;place-content:center;-webkit-align-items:center;align-items:center;cursor:pointer;width:100%;height:100%;background-color:#ffb3c7;border-radius:4px}button.PrimerCheckout__klarnaButton:disabled{cursor:auto}button.PrimerCheckout__klarnaButton:enabled:hover{opacity:.7}button.PrimerCheckout__klarnaButton>img{margin-right:20px}button.PrimerCheckout__klarnaButton>span{font-weight:600}button.PrimerCheckout__klarnaButton:disabled{color:inherit}.PrimerCheckout__klarnaPaymentOptions{width:100%;position:relative;overflow:hidden;transition:height 200ms ease-in-out;padding:0px 64px}.PrimerCheckout__klarnaPaymentCategory{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;border:1px solid #e0e0e0;border-radius:2px;display:grid;grid-auto-flow:column;place-content:center;-webkit-align-items:center;align-items:center;padding:8px 0px}.PrimerCheckout__klarnaPaymentCategory:disabled{cursor:auto}.PrimerCheckout__klarnaPaymentCategory>img{margin-right:12px}.PrimerCheckout__klarnaPaymentCategory:first-child{margin-top:20px}.PrimerCheckout__klarnaPaymentCategory+.PrimerCheckout__klarnaPaymentCategory{margin-top:12px}.PrimerCheckout__klarnaPaymentOptionButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;padding:6px 12px;width:100%;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.PrimerCheckout__klarnaPaymentOptionButton:disabled{cursor:auto}.PrimerCheckout__klarnaPaymentOptionButton>img{margin-right:12px}.PrimerCheckout__processingIndicatorOverlay{pointer-events:none;position:absolute;top:0px;left:0px;right:0px;bottom:0px;z-index:100;display:grid;place-items:center;transition:opacity 300ms linear,-webkit-transform 500ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 500ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms linear;transition:transform 500ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms linear,-webkit-transform 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;-webkit-transform:translateY(50px);transform:translateY(50px)}.PrimerCheckout__processingIndicatorOverlay.PrimerCheckout--entering,.PrimerCheckout__processingIndicatorOverlay.PrimerCheckout--entered{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}.PrimerCheckout__processingIndicatorContainer{padding:32px}.PrimerCheckout__check{padding:0px 16px;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;text-align:center;min-height:18rem}.PrimerCheckout__checkMarkIcon{width:3rem;padding-bottom:20px}.PrimerCheckout__popupOverlay{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:rgba(0,0,0,.8);opacity:0;transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1)}.PrimerCheckout__popupOverlay--visible{opacity:1}.PrimerCheckout__popupOverlayCloseButton{position:absolute;top:-20px;right:-20px;width:40px;height:40px;background:#565656;border-radius:20px;border:none;color:#fff;cursor:pointer}.PrimerCheckout__popupOverlayContent{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);background:#fff;border-radius:8px;text-align:center;transition:all 300ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}.PrimerCheckout__popupOverlayContent--visible{-webkit-transform:translate(-50%, -100%);transform:translate(-50%, -100%);opacity:1}.PrimerCheckout__popupOverlayContent__logo{max-width:100px;max-height:80px}.PrimerCheckout__popupOverlayContent__description{color:#767676;max-width:280px}.PrimerCheckout__popupOverlayContent__focusButton{cursor:pointer;margin-top:32px;background-color:#000;padding:12px 24px;border-radius:100px;border:none;color:#fff}.PrimerCheckout__popupOverlayContent__focusButton:hover{opacity:.8}#primer-checkout-scene-credit-card-form{padding-bottom:32px}.PrimerCheckout__creditCardButton_icon{height:81%}.PrimerCheckout__iconTextButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;padding:1px,6px;cursor:pointer;width:100%;height:100%;border-radius:0px;-webkit-justify-content:center;justify-content:center}.PrimerCheckout__iconTextButton:disabled{cursor:auto}.PrimerCheckout__iconTextButton:enabled:hover{opacity:.7}.PrimerCheckout__iconTextButtonLabel{margin-left:10px}.PrimerCheckout__surcharge{text-align:right;background:#242a2f08;padding-top:2px;padding:5px;border-radius:5px}.PrimerCheckout__surcharge>.PrimerCheckout__label--surcharge-text{font-size:15px !important;font-weight:300}.PrimerCheckout__surcharge>.PrimerCheckout__label--surcharge-amount{font-size:15px !important;font-weight:300}.PrimerCheckout__surchargeItem{margin-top:15px}.PrimerCheckout{box-sizing:border-box;background-color:transparent;position:relative;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout *[hidden=true]{display:none}.PrimerCheckout dialog{margin:0;padding:0}.PrimerCheckout input{outline-color:#3447f4}.PrimerCheckout div{box-sizing:border-box}.PrimerCheckout--hidden{display:none !important}.PrimerCheckout--exited{display:none}.PrimerCheckout--centered{text-align:center}.PrimerCheckout__scene{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;position:relative;left:0;top:0;opacity:1}.PrimerCheckout__modalBody{display:grid;place-content:center;background-color:#fff;border-radius:3px;position:relative;box-shadow:1px 1px 5px 3px rgba(0,0,0,.05);overflow:hidden}.PrimerCheckout__modalBody>iframe{position:absolute;left:0px;top:0px;right:0px;bottom:0px;width:100%;height:100%}.PrimerCheckout__scene--3dsModal{position:fixed;top:0px;left:0px;right:0px;bottom:0px;z-index:101;width:100%;height:100% !important;display:grid;place-content:center;background-color:rgba(0,0,0,.2);transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}.PrimerCheckout__scene--3dsModal>.PrimerCheckout__modalBody{transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;-webkit-transform:translateY(100vh);transform:translateY(100vh)}.PrimerCheckout__scene--3dsModal.PrimerCheckout--enter{opacity:1}.PrimerCheckout__scene--3dsModal.PrimerCheckout--enter>.PrimerCheckout__modalBody{opacity:1;-webkit-transform:translateY(0vh);transform:translateY(0vh)}#primer-checkout-scene-vault{padding-bottom:32px}#primer-checkout-other-payment-methods{height:0px;width:0px;opacity:0;transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);visibility:hidden}#primer-checkout-other-payment-methods>*:last-child{height:32px}#primer-checkout-other-payment-methods.PrimerCheckout--entering,#primer-checkout-other-payment-methods.PrimerCheckout--entered{width:auto;opacity:1;visibility:visible}#primer-checkout-payment-method-divider{opacity:1;transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1)}#primer-checkout-payment-method-divider.PrimerCheckout--exit{opacity:0;height:0px;margin-bottom:0px}
|
|
1
|
+
@-webkit-keyframes PrimerCheckout__loadingSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes PrimerCheckout__loadingSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes blink{0%,100%{opacity:1}50%{opacity:.5}}@keyframes blink{0%,100%{opacity:1}50%{opacity:.5}}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}100%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}100%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}.PrimerCheckout__title{padding:0;margin:0;font-size:1.15rem;color:#262626;font-weight:500}.PrimerCheckout__sceneElement{-webkit-flex:0 0 auto;flex:0 0 auto}.PrimerCheckout__sceneElement:not(:last-child){margin-bottom:32px}.PrimerCheckout__divider{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__divider>.PrimerCheckout__label{display:inline-block;margin:0px 10px}.PrimerCheckout__divider>.PrimerCheckout__dividerLineSegment{background-color:#e0e0e0;-webkit-flex:1 1 auto;flex:1 1 auto;height:1px}.PrimerCheckout__divider--hidden{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}.PrimerCheckout__textDivider{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;text-align:center}.PrimerCheckout__textDivider::before,.PrimerCheckout__textDivider::after{display:block;content:"";-webkit-flex:1;flex:1;height:1px;background:#e0e0e0;min-width:16px}.PrimerCheckout__textDivider::before{margin-right:8px}@media(max-width: 600px){.PrimerCheckout__textDivider::before{margin-right:2px}}.PrimerCheckout__textDivider::after{margin-left:8px}@media(max-width: 600px){.PrimerCheckout__textDivider::after{margin-left:2px}}.PrimerCheckout__apmButton{position:relative;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;overflow:hidden;transition:opacity 300ms cubic-bezier(0.4, 0, 0.2, 1)}.PrimerCheckout__apmButton button{cursor:pointer;height:100%;width:100%;border:none;background:none}.PrimerCheckout__apmButton:focus-within{outline:2px solid #3447f4;outline-offset:2px}.PrimerCheckout__apmButton:not(:first-of-type){margin-top:8px}.PrimerCheckout__apmButton>.paypal-buttons{transition:none !important}.PrimerCheckout__apmButton>.gpay-card-info-container.long,.PrimerCheckout__apmButton>.gpay-button.long{width:100%}.PrimerCheckout__apmButton--logo{border-width:1px;border-style:solid}.PrimerCheckout__apmButton--logo:hover{opacity:.8}.PrimerCheckout__apmButton--logo img{max-height:calc(100% - 8px);max-width:calc(100% - 8px)}.PrimerCheckout__separator{margin:32px 0px;height:1px;background:#e0e0e0}.PrimerCheckout__emptyText{-webkit-transform:translateY(0px);transform:translateY(0px);opacity:1;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__emptyText.PrimerCheckout--exit{-webkit-transform:transalteY(-20px);transform:transalteY(-20px);opacity:0}.PrimerCheckout__cardTypes{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;display:-webkit-flex;display:flex}.PrimerCheckout__hostedInputContent{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);overflow:hidden;pointer-events:none;right:12px;height:100%;padding:11px 0px;-webkit-align-items:center;align-items:center}.PrimerCheckout__cardType{position:relative;width:24px;height:100%;transition:all 300ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms cubic-bezier(0.4, 0, 0.2, 1)}.PrimerCheckout__cardType>*{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center}.PrimerCheckout__cardType.PrimerCheckout--hidden{display:inline-block !important;width:0px;margin-right:0px;opacity:0}.PrimerCheckout__cardType.PrimerCheckout--error::after{content:"";position:absolute;right:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background-color:#ea4335}.PrimerCheckout__form{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout__formHeader{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-justify-content:space-between;justify-content:space-between;-webkit-align-items:center;align-items:center;margin-bottom:32px}.PrimerCheckout__formField{position:relative;-webkit-flex:0;flex:0}.PrimerCheckout__formField.PrimerCheckout__formField--dual{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-justify-content:space-between;justify-content:space-between;-webkit-align-items:baseline;align-items:baseline}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{-webkit-flex:0 1 calc(50% - 8px);flex:0 1 calc(50% - 8px)}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{margin-top:0px}@media(max-width: 600px){.PrimerCheckout__formField.PrimerCheckout__formField--dual{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:initial;align-items:initial}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField{-webkit-flex:unset;flex:unset}.PrimerCheckout__formField.PrimerCheckout__formField--dual>.PrimerCheckout__formField+.PrimerCheckout__formField{margin-top:inherit}}.PrimerCheckout__formField.PrimerCheckout__formField--orientation-horizontal{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center}.PrimerCheckout__formField>.PrimerCheckout__label{display:inline-block;margin-left:1px}.PrimerCheckout__formField .PrimerCheckout__checkbox+.PrimerCheckout__label{cursor:pointer;margin-left:8px}.PrimerCheckout__helperText{position:relative;z-index:0;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms;-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}.PrimerCheckout__helperText.PrimerCheckout--enter{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0;margin-top:0px;-webkit-animation:none;animation:none}.PrimerCheckout__helperText.PrimerCheckout--entering{-webkit-transform:translateY(0px);transform:translateY(0px);opacity:1}.PrimerCheckout__helperText.PrimerCheckout--entered{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}.PrimerCheckout__helperText.PrimerCheckout--exit{opacity:1;-webkit-animation:none;animation:none}.PrimerCheckout__helperText.PrimerCheckout--exiting{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.PrimerCheckout__formFieldTitle{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.PrimerCheckout__checkbox{-webkit-appearance:none;font-size:1rem;cursor:pointer;margin:0px;padding:8px;display:inline-block;position:relative;color:#fff;border-radius:4px;border:1px solid #bdbdbd}.PrimerCheckout__checkbox:checked{color:#fff;background-color:#3447f4;border-color:#3447f4}.PrimerCheckout__checkbox::after{content:"✓";font-size:16px;position:absolute;top:50%;left:55%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}#primer-checkout-vault-methods{opacity:1;-webkit-transform-origin:top center;transform-origin:top center;-webkit-transform:translateY(0px);transform:translateY(0px);transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1)}#primer-checkout-vault-methods.PrimerCheckout--exit{opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px)}.PrimerCheckout__dropDownMenuContainer{position:absolute;z-index:1;right:0px;top:calc(28px + 4px);min-width:300px}.PrimerCheckout__dropDownMenu{border:1px solid #e0e0e0;border-radius:2px;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;position:absolute;z-index:1000;top:0px;right:0px;width:100%;background-color:#fff;box-shadow:0px 1px 10px rgba(0,0,0,.1),0px 0px 20px rgba(52,71,244,.1);opacity:0;-webkit-transform-origin:top center;transform-origin:top center;-webkit-transform:translateY(-10px) scaleY(0.9);transform:translateY(-10px) scaleY(0.9);transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms;pointer-events:none}.PrimerCheckout__dropDownMenu>.PrimerCheckout__label{padding:12px 12px 6px}.PrimerCheckout__dropDownMenu--enter{pointer-events:all;opacity:1;-webkit-transform:translateY(0px) scaleY(1);transform:translateY(0px) scaleY(1)}.PrimerCheckout__dropDownMenuItem{transition:background-color 100ms ease;padding:6px 12px}.PrimerCheckout__dropDownMenuItem:hover,.PrimerCheckout__dropDownMenuItem:focus{background-color:#eaf1ff}.PrimerCheckout__dropDownMenuItem>.PrimerCheckout__label{white-space:nowrap;color:#3447f4}.PrimerCheckout__paymentMethodDropDownMenuItem{margin:0px 16px;transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms}.PrimerCheckout__paymentMethodDropDownMenuItem:not(:last-child){border-bottom:1px solid #e0e0e0}.PrimerCheckout__paymentMethodDropDownMenuItem--disabled{pointer-events:none;opacity:.3}.PrimerCheckout__paymentMethodDropDownMenuItem__content{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;padding:16px 0px}.PrimerCheckout__paymentMethodDropDownMenuItem__icon{width:30px;margin-right:8px}.PrimerCheckout__paymentMethodDropDownMenuItem__label.PrimerCheckout__label{min-width:0;margin-right:8px;font-size:.75rem;word-break:break-all}.PrimerCheckout__paymentMethodDropDownMenuItem__buttons{margin-left:auto}.PrimerCheckout__paymentMethodDropDownMenuItem__buttons>button{font-size:.75rem}.PrimerCheckout__paymentMethodDropDownMenuItem__confirmationContainer{pointer-events:none;position:relative;height:0;padding-bottom:0px;opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px);transition:all cubic-bezier(0.4, 0, 0.2, 1) 300ms,opacity cubic-bezier(0.4, 0, 0.2, 1) 200ms}.PrimerCheckout__paymentMethodDropDownMenuItem__confirmationContainer--enter{pointer-events:all;-webkit-transform:translateY(0px);transform:translateY(0px);height:calc(40px + 16px);opacity:1;padding-bottom:16px}.PrimerCheckout__deleteButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4}.PrimerCheckout__deleteButton:disabled{cursor:auto}.PrimerCheckout__deleteConfirmation{height:30px}.PrimerCheckout__confirmButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;display:grid;width:100%;place-items:center;height:40px;border:1px solid #3447f4;border-radius:4px;text-align:center;color:#3447f4;font-size:.875rem}.PrimerCheckout__confirmButton:disabled{cursor:auto}.PrimerCheckout__savedPaymentMethods{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout__savedPaymentMethods__title{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-align-items:center;align-items:center;margin-bottom:15px}.PrimerCheckout__savedPaymentMethodActions{margin-left:auto;font-size:.75rem}button.PrimerCheckout__klarnaButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;border:1px solid #e0e0e0;border-radius:2px;display:-webkit-inline-flex;display:inline-flex;place-content:center;-webkit-align-items:center;align-items:center;cursor:pointer;width:100%;height:100%;background-color:#ffb3c7;border-radius:4px}button.PrimerCheckout__klarnaButton:disabled{cursor:auto}button.PrimerCheckout__klarnaButton:enabled:hover{opacity:.7}button.PrimerCheckout__klarnaButton>img{margin-right:20px}button.PrimerCheckout__klarnaButton>span{font-weight:600}button.PrimerCheckout__klarnaButton:disabled{color:inherit}.PrimerCheckout__klarnaPaymentOptions{width:100%;position:relative;overflow:hidden;transition:height 200ms ease-in-out;padding:0px 64px}.PrimerCheckout__klarnaPaymentCategory{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;border:1px solid #e0e0e0;border-radius:2px;display:grid;grid-auto-flow:column;place-content:center;-webkit-align-items:center;align-items:center;padding:8px 0px}.PrimerCheckout__klarnaPaymentCategory:disabled{cursor:auto}.PrimerCheckout__klarnaPaymentCategory>img{margin-right:12px}.PrimerCheckout__klarnaPaymentCategory:first-child{margin-top:20px}.PrimerCheckout__klarnaPaymentCategory+.PrimerCheckout__klarnaPaymentCategory{margin-top:12px}.PrimerCheckout__klarnaPaymentOptionButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;padding:6px 12px;width:100%;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.PrimerCheckout__klarnaPaymentOptionButton:disabled{cursor:auto}.PrimerCheckout__klarnaPaymentOptionButton>img{margin-right:12px}.PrimerCheckout__processingIndicatorOverlay{pointer-events:none;position:absolute;top:0px;left:0px;right:0px;bottom:0px;z-index:100;display:grid;place-items:center;transition:opacity 300ms linear,-webkit-transform 500ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 500ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms linear;transition:transform 500ms cubic-bezier(0.4, 0, 0.2, 1),opacity 300ms linear,-webkit-transform 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;-webkit-transform:translateY(50px);transform:translateY(50px)}.PrimerCheckout__processingIndicatorOverlay.PrimerCheckout--entering,.PrimerCheckout__processingIndicatorOverlay.PrimerCheckout--entered{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}.PrimerCheckout__processingIndicatorContainer{padding:32px}.PrimerCheckout__check{padding:0px 16px;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;text-align:center;min-height:18rem}.PrimerCheckout__checkMarkIcon{width:3rem;padding-bottom:20px}.PrimerCheckout__popupOverlay{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:rgba(0,0,0,.8);opacity:0;transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1)}.PrimerCheckout__popupOverlay--visible{opacity:1}.PrimerCheckout__popupOverlayCloseButton{position:absolute;top:-20px;right:-20px;width:40px;height:40px;background:#565656;border-radius:20px;border:none;color:#fff;cursor:pointer}.PrimerCheckout__popupOverlayContent{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);background:#fff;border-radius:8px;text-align:center;transition:all 300ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}.PrimerCheckout__popupOverlayContent--visible{-webkit-transform:translate(-50%, -100%);transform:translate(-50%, -100%);opacity:1}.PrimerCheckout__popupOverlayContent__logo{max-width:100px;max-height:80px}.PrimerCheckout__popupOverlayContent__description{color:#767676;max-width:280px}.PrimerCheckout__popupOverlayContent__focusButton{cursor:pointer;margin-top:32px;background-color:#000;padding:12px 24px;border-radius:100px;border:none;color:#fff}.PrimerCheckout__popupOverlayContent__focusButton:hover{opacity:.8}#primer-checkout-scene-credit-card-form{padding-bottom:32px}.PrimerCheckout__creditCardButton_icon{height:81%}.PrimerCheckout__iconTextButton{display:block;width:100%;padding:0;margin:0;border:none;background:none;cursor:pointer;font-family:inherit;outline-offset:2px;outline-color:#3447f4;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;padding:1px,6px;cursor:pointer;width:100%;height:100%;border-radius:0px;-webkit-justify-content:center;justify-content:center}.PrimerCheckout__iconTextButton:disabled{cursor:auto}.PrimerCheckout__iconTextButton:enabled:hover{opacity:.7}.PrimerCheckout__iconTextButtonLabel{margin-left:10px}.PrimerCheckout__surcharge{text-align:right;background:#242a2f08;padding-top:2px;padding:5px;border-radius:5px}.PrimerCheckout__surcharge>.PrimerCheckout__label--surcharge-text{font-size:15px !important;font-weight:300}.PrimerCheckout__surcharge>.PrimerCheckout__label--surcharge-amount{font-size:15px !important;font-weight:300}.PrimerCheckout__surchargeItem{margin-top:15px}.PrimerCheckout{box-sizing:border-box;background-color:transparent;position:relative;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}.PrimerCheckout *[hidden=true]{display:none}.PrimerCheckout dialog{margin:0;padding:0}.PrimerCheckout input{outline-color:#3447f4}.PrimerCheckout div{box-sizing:border-box}.PrimerCheckout--hidden{display:none !important}.PrimerCheckout--exited{display:none}.PrimerCheckout--centered{text-align:center}.PrimerCheckout__scene{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;position:relative;left:0;top:0;opacity:1}.PrimerCheckout__modalBody{display:grid;place-content:center;background-color:#fff;border-radius:3px;position:relative;box-shadow:1px 1px 5px 3px rgba(0,0,0,.05);overflow:hidden}.PrimerCheckout__modalBody>iframe{position:absolute;left:0px;top:0px;right:0px;bottom:0px;width:100%;height:100%}.PrimerCheckout__scene--3dsModal{position:fixed;top:0px;left:0px;right:0px;bottom:0px;z-index:101;width:100%;height:100% !important;display:grid;place-content:center;background-color:rgba(0,0,0,.2);transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}.PrimerCheckout__scene--3dsModal>.PrimerCheckout__modalBody{transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;-webkit-transform:translateY(100vh);transform:translateY(100vh)}.PrimerCheckout__scene--3dsModal.PrimerCheckout--enter{opacity:1}.PrimerCheckout__scene--3dsModal.PrimerCheckout--enter>.PrimerCheckout__modalBody{opacity:1;-webkit-transform:translateY(0vh);transform:translateY(0vh)}#primer-checkout-scene-vault{padding-bottom:32px}#primer-checkout-other-payment-methods{height:0px;width:0px;opacity:0;transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1);visibility:hidden}#primer-checkout-other-payment-methods>*:last-child{height:32px}#primer-checkout-other-payment-methods.PrimerCheckout--entering,#primer-checkout-other-payment-methods.PrimerCheckout--entered{width:auto;opacity:1;visibility:visible}#primer-checkout-payment-method-divider{opacity:1;transition:all 500ms cubic-bezier(0.4, 0, 0.2, 1)}#primer-checkout-payment-method-divider.PrimerCheckout--exit{opacity:0;height:0px;margin-bottom:0px}
|
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ export interface PayPalOptions extends PositionalConfig {
|
|
|
23
23
|
paymentFlow?: PaymentFlow;
|
|
24
24
|
}
|
|
25
25
|
export declare enum PaymentInstrumentType {
|
|
26
|
+
MOLLIE_GIFT_CARD = "MOLLIE_GIFTCARD",
|
|
27
|
+
XFERS_PAYNOW = "XFERS_PAYNOW",
|
|
26
28
|
CARD = "PAYMENT_CARD",
|
|
27
29
|
APPLE_PAY = "APPLE_PAY",
|
|
28
30
|
GOOGLE_PAY = "GOOGLE_PAY",
|
|
@@ -55,6 +57,8 @@ export declare enum PaymentInstrumentType {
|
|
|
55
57
|
ATOME = "ATOME"
|
|
56
58
|
}
|
|
57
59
|
export declare enum PaymentMethodType {
|
|
60
|
+
MOLLIE_GIFT_CARD = "MOLLIE_GIFTCARD",
|
|
61
|
+
XFERS_PAYNOW = "XFERS_PAYNOW",
|
|
58
62
|
PAYMENT_CARD = "PAYMENT_CARD",
|
|
59
63
|
APPLE_PAY = "APPLE_PAY",
|
|
60
64
|
GOOGLE_PAY = "GOOGLE_PAY",
|
|
@@ -77,6 +81,7 @@ export declare enum PaymentMethodType {
|
|
|
77
81
|
ADYEN_TRUSTLY = "ADYEN_TRUSTLY",
|
|
78
82
|
ADYEN_ALIPAY = "ADYEN_ALIPAY",
|
|
79
83
|
ADYEN_TWINT = "ADYEN_TWINT",
|
|
84
|
+
ADYEN_BANK_TRANSFER = "ADYEN_BANK_TRANSFER",
|
|
80
85
|
MOLLIE_BANCONTACT = "MOLLIE_BANCONTACT",
|
|
81
86
|
MOLLIE_IDEAL = "MOLLIE_IDEAL",
|
|
82
87
|
BUCKAROO_GIROPAY = "BUCKAROO_GIROPAY",
|
|
@@ -132,6 +137,8 @@ export declare enum ErrorCode {
|
|
|
132
137
|
DUPLICATE_PAYMENT_METHOD_ERROR = "DUPLICATE_PAYMENT_METHOD_ERROR",
|
|
133
138
|
CARD_NUMBER_ERROR = "CARD_NUMBER_ERROR",
|
|
134
139
|
PAYMENT_METHOD_NOT_SETUP = "PAYMENT_METHOD_NOT_SETUP",
|
|
140
|
+
PAYMENT_METHOD_NOT_PROVIDED = "PAYMENT_METHOD_NOT_SETUP",
|
|
141
|
+
PAYMENT_METHOD_NOT_COMPATIBLE = "PAYMENT_METHOD_NOT_COMPATIBLE",
|
|
135
142
|
RESUME_ERROR = "RESUME_ERROR",
|
|
136
143
|
TAX_ERROR = "TAX_ERROR",
|
|
137
144
|
VALIDATION_ERROR = "VALIDATION_ERROR"
|
|
@@ -165,6 +172,8 @@ export interface TextStyle {
|
|
|
165
172
|
fontSize?: string;
|
|
166
173
|
fontSmoothing?: string;
|
|
167
174
|
lineHeight?: string;
|
|
175
|
+
textTransform?: string;
|
|
176
|
+
letterSpacing?: string;
|
|
168
177
|
}
|
|
169
178
|
export interface BlockStyle extends BorderStyle {
|
|
170
179
|
background?: string;
|
|
@@ -591,7 +600,7 @@ export interface ProcessingIndicatorOptions {
|
|
|
591
600
|
export interface FormOptions {
|
|
592
601
|
inputLabelsVisible?: boolean;
|
|
593
602
|
}
|
|
594
|
-
export declare type CardNetwork = "american-express" | "diners-club" | "discover" | "elo" | "hiper" | "hipercard" | "interac" | "jcb" | "maestro" | "mastercard" | "mir" | "unionpay" | "visa";
|
|
603
|
+
export declare type CardNetwork = "american-express" | "diners-club" | "discover" | "elo" | "hiper" | "hipercard" | "interac" | "jcb" | "maestro" | "mastercard" | "mir" | "unionpay" | "private-label" | "visa";
|
|
595
604
|
export interface ErrorMessageOptions {
|
|
596
605
|
disabled?: boolean;
|
|
597
606
|
onErrorMessageShow?: (message: string) => void;
|
|
@@ -633,8 +642,8 @@ export declare type ClientSessionAction = {
|
|
|
633
642
|
type: ActionType;
|
|
634
643
|
params?: ActionParameters;
|
|
635
644
|
};
|
|
636
|
-
export declare type ActionType = "SELECT_PAYMENT_METHOD" | "UNSELECT_PAYMENT_METHOD" | "SET_BILLING_ADDRESS";
|
|
637
|
-
export declare type ActionParameters = SelectPaymentMethodParamters | DefaulActionParameters | SetBillingAddressParameters;
|
|
645
|
+
export declare type ActionType = "SELECT_PAYMENT_METHOD" | "UNSELECT_PAYMENT_METHOD" | "SET_BILLING_ADDRESS" | "SET_EMAIL_ADDRESS";
|
|
646
|
+
export declare type ActionParameters = SelectPaymentMethodParamters | DefaulActionParameters | SetBillingAddressParameters | SetCustomerInformationParameters;
|
|
638
647
|
export declare type SelectPaymentMethodParamters = {
|
|
639
648
|
paymentMethodType: string;
|
|
640
649
|
binData?: BinData;
|
|
@@ -647,6 +656,11 @@ export declare type SetBillingAddressParameters = {
|
|
|
647
656
|
postalCode: string;
|
|
648
657
|
};
|
|
649
658
|
};
|
|
659
|
+
export declare type SetCustomerInformationParameters = {
|
|
660
|
+
emailAddress?: string;
|
|
661
|
+
};
|
|
662
|
+
export declare type OnTokenizeShouldStart = () => boolean | Promise<boolean>;
|
|
663
|
+
export declare type OnTokenizeDidNotStart = (reason: string) => void;
|
|
650
664
|
export interface BinData {
|
|
651
665
|
network?: string;
|
|
652
666
|
issuerCountryCode?: string;
|
|
@@ -664,8 +678,6 @@ export declare type ClientSessionActionData = {
|
|
|
664
678
|
actions: ClientSessionAction[];
|
|
665
679
|
clientToken?: string;
|
|
666
680
|
};
|
|
667
|
-
export declare type OnTokenizeShouldStart = () => boolean | Promise<boolean>;
|
|
668
|
-
export declare type OnTokenizeDidNotStart = (reason: string) => void;
|
|
669
681
|
export interface SinglePaymentMethodCheckoutOptions {
|
|
670
682
|
countryCode?: Alpha2CountryCode;
|
|
671
683
|
/**
|
|
@@ -675,7 +687,7 @@ export interface SinglePaymentMethodCheckoutOptions {
|
|
|
675
687
|
uxFlow: CheckoutUXFlow.SINGLE_PAYMENT_METHOD_CHECKOUT;
|
|
676
688
|
scene?: SceneOptions;
|
|
677
689
|
container: string | Element;
|
|
678
|
-
paymentMethod: PaymentMethodType
|
|
690
|
+
paymentMethod: PaymentMethodType;
|
|
679
691
|
locale?: SupportedLocale;
|
|
680
692
|
allowedCardNetworks?: CardNetwork[];
|
|
681
693
|
onTokenizeShouldStart?: OnTokenizeShouldStart;
|
|
@@ -696,6 +708,7 @@ export interface SinglePaymentMethodCheckoutOptions {
|
|
|
696
708
|
} | false>;
|
|
697
709
|
threeDSecure?: ThreeDSVerificationOptions;
|
|
698
710
|
card?: CheckoutCardOptions;
|
|
711
|
+
giftCard?: CustomizablePaymentMethodButton;
|
|
699
712
|
paypal?: Omit<PayPalOptions, "container">;
|
|
700
713
|
googlePay?: Omit<GooglePayOptions, "container">;
|
|
701
714
|
applePay?: Omit<ApplePayOptions, "container">;
|
|
@@ -726,6 +739,7 @@ export interface VaultManagerOptions {
|
|
|
726
739
|
container: string | Element;
|
|
727
740
|
locale?: SupportedLocale;
|
|
728
741
|
card?: CheckoutCardOptions;
|
|
742
|
+
giftCard?: CustomizablePaymentMethodButton;
|
|
729
743
|
allowedCardNetworks?: CardNetwork[];
|
|
730
744
|
onTokenizeShouldStart?: OnTokenizeShouldStart;
|
|
731
745
|
onTokenizeDidNotStart?: OnTokenizeDidNotStart;
|
|
@@ -790,6 +804,7 @@ export interface CheckoutOptions {
|
|
|
790
804
|
} | false>;
|
|
791
805
|
threeDSecure?: ThreeDSVerificationOptions;
|
|
792
806
|
card?: CheckoutCardOptions;
|
|
807
|
+
giftCard?: CustomizablePaymentMethodButton;
|
|
793
808
|
paypal?: Omit<PayPalOptions, "container">;
|
|
794
809
|
googlePay?: Omit<GooglePayOptions, "container">;
|
|
795
810
|
applePay?: Omit<ApplePayOptions, "container">;
|
|
@@ -942,11 +957,18 @@ export interface CardDetails {
|
|
|
942
957
|
name: string;
|
|
943
958
|
icon: string;
|
|
944
959
|
network: string;
|
|
960
|
+
userDescription?: string;
|
|
945
961
|
}
|
|
946
962
|
export interface PayPalDetails {
|
|
947
963
|
icon: string;
|
|
948
964
|
email?: string;
|
|
949
965
|
}
|
|
966
|
+
export interface CustomizablePaymentMethodButton {
|
|
967
|
+
logoSrc: string;
|
|
968
|
+
background: string;
|
|
969
|
+
logoAlt?: string;
|
|
970
|
+
text?: string;
|
|
971
|
+
}
|
|
950
972
|
export interface VaultListItem {
|
|
951
973
|
id: string;
|
|
952
974
|
type: PaymentInstrumentType;
|
|
@@ -1471,6 +1493,7 @@ export declare type PaymentMethodSpecs = {
|
|
|
1471
1493
|
buttonManagedByPaymentMethod: boolean;
|
|
1472
1494
|
canVault: boolean;
|
|
1473
1495
|
hasExportedButtonOptions: boolean;
|
|
1496
|
+
homeScene?: string;
|
|
1474
1497
|
};
|
|
1475
1498
|
declare class BasePaymentMethod {
|
|
1476
1499
|
static specs: PaymentMethodSpecs;
|
|
@@ -1483,7 +1506,7 @@ declare class BasePaymentMethod {
|
|
|
1483
1506
|
get specs(): PaymentMethodSpecs;
|
|
1484
1507
|
setupAndValidate(): Promise<boolean>;
|
|
1485
1508
|
mount(): Promise<boolean>;
|
|
1486
|
-
tokenize(
|
|
1509
|
+
tokenize(options?: any): Promise<void>;
|
|
1487
1510
|
validate(): Promise<Validation>;
|
|
1488
1511
|
setDisabled(disabled: boolean): Promise<void>;
|
|
1489
1512
|
getStore(): IBaseStore | undefined;
|
package/dist/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.loader=t():e.loader=t()}(this,(function(){return function(){var e={111:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},85:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},61:function(e,t,r){var n=r(742),o=r(549);function _(t,r,E){return o()?e.exports=_=Reflect.construct:e.exports=_=function(e,t,r){var o=[null];o.push.apply(o,t);var _=new(Function.bind.apply(e,o));return r&&n(_,r.prototype),_},_.apply(null,arguments)}e.exports=_},198:function(e){function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}},260:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},588:function(e){function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(r)}e.exports=t},270:function(e,t,r){var n=r(742);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},477:function(e){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},549:function(e){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},983:function(e,t,r){var n=r(921),o=r(111);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},742:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(r,n)}e.exports=t},921:function(e){function t(r){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(r)}e.exports=t},240:function(e,t,r){var n=r(588),o=r(742),_=r(477),E=r(61);function A(t){var r="function"==typeof Map?new Map:void 0;return e.exports=A=function(e){if(null===e||!_(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return E(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},A(t)}e.exports=A},558:function(e,t,r){"use strict";var n,o,_,E,A,c;r.r(t),r.d(t,{CheckoutUXFlow:function(){return h},ErrorCode:function(){return u},PaymentFlow:function(){return n},PaymentInstrumentType:function(){return E},PaymentMethodType:function(){return A},SuccessScreenType:function(){return U},ThreeDSecureStatus:function(){return _},TokenType:function(){return c},loadPrimer:function(){return k}}),function(e){e.DEFAULT="DEFAULT",e.PREFER_VAULT="PREFER_VAULT"}(n||(n={})),function(e){e.TOKENIZE_STARTED="tokenize-started",e.TOKENIZE_ERROR="tokenize-error",e.TOKENIZE_SUCCESS="tokenize-success",e.TOKENIZE_DID_NOT_START="tokenize-did-not-start"}(o||(o={})),function(e){e.SUCCESS="AUTH_SUCCESS",e.FAILED="AUTH_FAILED",e.SKIPPED="SKIPPED",e.CHALLENGE="CHALLENGE"}(_||(_={})),function(e){e.CARD="PAYMENT_CARD",e.APPLE_PAY="APPLE_PAY",e.GOOGLE_PAY="GOOGLE_PAY",e.PAYPAL="PAYPAL_ORDER",e.PAYPAL_VAULTED="PAYPAL_BILLING_AGREEMENT",e.GO_CARDLESS="GOCARDLESS",e.PAY_NL_IDEAL="PAY_NL_IDEAL",e.PAY_NL_SOFORT_BANKING="PAY_NL_SOFORT_BANKING",e.PAY_NL_BANCONTACT="PAY_NL_BANCONTACT",e.PAY_NL_PAYPAL="PAY_NL_PAYPAL",e.PAY_NL_CREDIT_TRANSFER="PAY_NL_CREDIT_TRANSFER",e.PAY_NL_DIRECT_DEBIT="PAY_NL_DIRECT_DEBIT",e.PAY_NL_GIROPAY="PAY_NL_GIROPAY",e.PAY_NL_PAYCONIQ="PAY_NL_PAYCONIQ",e.HOOLAH="HOOLAH",e.ADYEN_VIPPS="ADYEN_VIPPS",e.ADYEN_GIROPAY="ADYEN_GIROPAY",e.ADYEN_SOFORT="ADYEN_SOFORT",e.ADYEN_TRUSTLY="ADYEN_TRUSTLY",e.ADYEN_ALIPAY="ADYEN_ALIPAY",e.ADYEN_TWINT="ADYEN_TWINT",e.ADYEN_MOBILEPAY="ADYEN_MOBILEPAY",e.MOLLIE_BANCONTACT="MOLLIE_BANCONTACT",e.MOLLIE_IDEAL="MOLLIE_IDEAL",e.BUCKAROO_GIROPAY="BUCKAROO_GIROPAY",e.BUCKAROO_EPS="BUCKAROO_EPS",e.BUCKAROO_SOFORT="BUCKAROO_SOFORT",e.BUCKAROO_BANCONTACT="BUCKAROO_BANCONTACT",e.BUCKAROO_IDEAL="BUCKAROO_IDEAL",e.ATOME="ATOME"}(E||(E={})),function(e){e.PAYMENT_CARD="PAYMENT_CARD",e.APPLE_PAY="APPLE_PAY",e.GOOGLE_PAY="GOOGLE_PAY",e.PAYPAL="PAYPAL",e.GO_CARDLESS="GOCARDLESS",e.KLARNA="KLARNA",e.PAY_NL_IDEAL="PAY_NL_IDEAL",e.PAY_NL_SOFORT_BANKING="PAY_NL_SOFORT_BANKING",e.PAY_NL_BANCONTACT="PAY_NL_BANCONTACT",e.PAY_NL_PAYPAL="PAY_NL_PAYPAL",e.PAY_NL_CREDIT_TRANSFER="PAY_NL_CREDIT_TRANSFER",e.PAY_NL_DIRECT_DEBIT="PAY_NL_DIRECT_DEBIT",e.PAY_NL_GIROPAY="PAY_NL_GIROPAY",e.PAY_NL_PAYCONIQ="PAY_NL_PAYCONIQ",e.HOOLAH="HOOLAH",e.ADYEN_MOBILEPAY="ADYEN_MOBILEPAY",e.ADYEN_VIPPS="ADYEN_VIPPS",e.ADYEN_GIROPAY="ADYEN_GIROPAY",e.ADYEN_SOFORT="ADYEN_SOFORT",e.ADYEN_TRUSTLY="ADYEN_TRUSTLY",e.ADYEN_ALIPAY="ADYEN_ALIPAY",e.ADYEN_TWINT="ADYEN_TWINT",e.MOLLIE_BANCONTACT="MOLLIE_BANCONTACT",e.MOLLIE_IDEAL="MOLLIE_IDEAL",e.BUCKAROO_GIROPAY="BUCKAROO_GIROPAY",e.BUCKAROO_EPS="BUCKAROO_EPS",e.BUCKAROO_SOFORT="BUCKAROO_SOFORT",e.BUCKAROO_BANCONTACT="BUCKAROO_BANCONTACT",e.BUCKAROO_IDEAL="BUCKAROO_IDEAL",e.ATOME="ATOME"}(A||(A={})),function(e){e.SINGLE_USE="SINGLE_USE",e.MULTI_USE="MULTI_USE"}(c||(c={}));var u,i=r(85),O=r.n(i),T=r(198),R=r.n(T),N=r(111),P=r.n(N),D=r(270),p=r.n(D),f=r(983),C=r.n(f),a=r(588),I=r.n(a),L=r(240),m=r.n(L),s=r(260),S=r.n(s);function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=I()(e);if(t){var o=I()(this).constructor;Reflect.construct(n,arguments,o)}else n.apply(this,arguments);return C()(this,r)}}!function(e){e.NO_PAYMENT_METHODS="NO_PAYMENT_METHODS",e.PRIMER_TEARDOWN="PRIMER_TEARDOWN",e.PRIMER_SERVER_ERROR="PRIMER_SERVER_ERROR",e.THREE_DS_SETUP_ERROR="THREE_DS_SETUP_ERROR",e.THREE_DS_AUTH_FAILED="THREE_DS_AUTH_FAILED",e.THREE_DS_NEGOTIATION_ERROR="THREE_DS_NEGOTIATION_ERROR",e.TOKENIZATION_ERROR="TOKENIZATION_ERROR",e.DUPLICATE_PAYMENT_METHOD_ERROR="DUPLICATE_PAYMENT_METHOD_ERROR",e.CARD_NUMBER_ERROR="CARD_NUMBER_ERROR",e.PAYMENT_METHOD_NOT_SETUP="PAYMENT_METHOD_NOT_SETUP",e.RESUME_ERROR="RESUME_ERROR",e.TAX_ERROR="TAX_ERROR",e.VALIDATION_ERROR="VALIDATION_ERROR"}(u||(u={}));var d,M,l,h,U;Error;!function(e){e.LOADING="Loading",e.THREE_DS="UniversalCheckout/3ds",e.CHOOSE_PAYMENT_METHOD="UniversalCheckout/Home",e.MANAGE_PAYMENT_METHODS="VaultManager/Home",e.DIRECT_DEBIT_FORM="DirectDebit/Form",e.DIRECT_DEBIT_MANDATE="DirectDebit/Mandate",e.CREDIT_CARD_FORM="CreditCard/Form",e.SUCCESS_PAYMENT_METHOD="UniversalCheckout/Success/PaymentMethod",e.SUCCESS_CHECK="UniversalCheckout/Success/Check"}(d||(d={})),function(e){e.ROOT="primer-checkout",e.ROOT_CONTENT="primer-checkout-content",e.SUBMIT_BUTTON="primer-checkout-submit-button",e.THREE_DS_MODAL="primer-checkout-3ds-modal",e.VAULT="primer-checkout-vault",e.VAULT_INLINE="primer-checkout-vault-inline",e.NAVIGATE_PAYMENT_METHODS="primer-checkout-navigate-to-payment-methods",e.DIVIDER="primer-checkout-payment-method-divider",e.APM_BUTTONS="primer-checkout-apm-button-container",e.CARDHOLDER_NAME="primer-checkout-cardholder-name",e.CARDHOLDER_NAME_INPUT="primer-checkout-cardholder-name-input",e.ACTIONS="primer-checkout-actions",e.ACTIONS_MENU="primer-checkout-actions-menu",e.SAVE_PAYMENT_METHOD_CHECKBOX="primer-checkout-save-payment-method-input",e.SAVE_PAYMENT_METHOD_FIELD="primer-checkout-save-payment-method-field",e.SAVED_PAYMENT_METHODS_EMPTY="primer-checkout-saved-payment-methods-empty-text",e.CARD_FORM="primer-checkout-card-form",e.DD_SWITCH="primer-checkout-switch-dd-inputs",e.DD_IBAN_FIELD="primer-checkout-dd-iban-field",e.DD_LOCAL_FIELD="primer-checkout-dd-local-fields",e.DD_CUSTOMER_NAME_INPUT="primer-checkout-dd-customer-name-input",e.DD_CUSTOMER_EMAIL_INPUT="primer-checkout-dd-customer-email-input",e.DD_CUSTOMER_ADDRESS_LINE1="primer-checkout-dd-customer-address-input",e.DD_CUSTOMER_ADDRESS_LINE2="primer-checkout-dd-customer-address-line2-input",e.DD_CUSTOMER_ADDRESS_CITY="primer-checkout-dd-customer-city-input",e.DD_CUSTOMER_ADDRESS_POSTAL_CODE="primer-checkout-dd-customer-postal-code-input",e.DD_IBAN_INPUT="primer-checkout-dd-iban-input",e.DD_ACCOUNT_NUMBER_INPUT="primer-checkout-dd-account-number-input",e.DD_BANK_CODE_INPUT="primer-checkout-dd-bank-code-input",e.DD_BRANCH_CODE_INPUT="primer-checkout-dd-branch-code-input",e.DD_MANDATE_SMALL_PRINT="primer-checkout-small-print",e.ERROR_MESSAGE="primer-checkout-error-message"}(M||(M={})),function(e){e.TOKEN="PrimerCheckout__token",e.HIDDEN="PrimerCheckout--hidden",e.FOCUSED="PrimerCheckout--focused",e.SELECTED="PrimerCheckout--selected",e.LOADING="PrimerCheckout--loading",e.ERROR="PrimerCheckout--error",e.CARD_TYPE="PrimerCheckout__cardType",e.SAVED_PAYMENT_METHOD="PrimerCheckout__savedPaymentMethod",e.SAVED_PAYMENT_METHOD_CONTAINER="PrimerCheckout__savedPaymentMethodContainer",e.APM_BUTTON="PrimerCheckout__apmButton",e.EDIT_BUTTON="PrimerCheckout__editButton",e.MENU="PrimerCheckout__dropDownMenu",e.MENU_ITEM="PrimerCheckout__dropDownMenuItem",e.PAYMENT_METHOD_MENU_ITEM="PrimerCheckout__paymentMethodDropDownMenuItem",e.DELETE_PAYMENT_METHOD_BUTTON="PrimerCheckout__paymentMethodDropDownMenuItem__deleteButton",e.ENTER="PrimerCheckout--enter",e.ENTERING="PrimerCheckout--entering",e.ENTERED="PrimerCheckout--entered",e.EXIT="PrimerCheckout--exit",e.EXITING="PrimerCheckout--exiting",e.EXITED="PrimerCheckout--exited"}(l||(l={})),function(e){e.CHECKOUT="CHECKOUT",e.MANAGE_PAYMENT_METHODS="MANAGE_PAYMENT_METHODS",e.SINGLE_PAYMENT_METHOD_CHECKOUT="SINGLE_PAYMENT_METHOD_CHECKOUT"}(h||(h={})),function(e){e.PaymentMethod="PaymentMethod",e.PAYMENT_METHOD="PAYMENT_METHOD",e.CHECK="CHECK"}(U||(U={}));var y=null,k=function(){return y||(window.Primer?Promise.resolve(window.Primer):y=new Promise((function(e,t){var r=window.document.querySelector('script[src^="'.concat("https://sdk.primer.io/web/v1.22.1/Primer.min.js",'"]'));r||((r=document.createElement("script")).setAttribute("src","https://sdk.primer.io/web/v1.22.1/Primer.min.js"),r.setAttribute("crossorigin","anonymous")),r.onload=function(){e(window.Primer)},r.onerror=function(){var e;y=null,null===(e=r)||void 0===e||e.remove(),t(new Error("Can't load Primer"))},window.document.head.appendChild(r)})))}}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}return r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(558)}()}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.loader=t():e.loader=t()}(this,(function(){return function(){var e={111:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},85:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},61:function(e,t,r){var n=r(742),o=r(549);function _(t,r,E){return o()?e.exports=_=Reflect.construct:e.exports=_=function(e,t,r){var o=[null];o.push.apply(o,t);var _=new(Function.bind.apply(e,o));return r&&n(_,r.prototype),_},_.apply(null,arguments)}e.exports=_},198:function(e){function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}},260:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},588:function(e){function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(r)}e.exports=t},270:function(e,t,r){var n=r(742);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},477:function(e){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},549:function(e){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},983:function(e,t,r){var n=r(921),o=r(111);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},742:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(r,n)}e.exports=t},921:function(e){function t(r){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(r)}e.exports=t},240:function(e,t,r){var n=r(588),o=r(742),_=r(477),E=r(61);function A(t){var r="function"==typeof Map?new Map:void 0;return e.exports=A=function(e){if(null===e||!_(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return E(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},A(t)}e.exports=A},558:function(e,t,r){"use strict";var n,o,_,E,A,c;r.r(t),r.d(t,{CheckoutUXFlow:function(){return h},ErrorCode:function(){return u},PaymentFlow:function(){return n},PaymentInstrumentType:function(){return E},PaymentMethodType:function(){return A},SuccessScreenType:function(){return U},ThreeDSecureStatus:function(){return _},TokenType:function(){return c},loadPrimer:function(){return k}}),function(e){e.DEFAULT="DEFAULT",e.PREFER_VAULT="PREFER_VAULT"}(n||(n={})),function(e){e.TOKENIZE_STARTED="tokenize-started",e.TOKENIZE_ERROR="tokenize-error",e.TOKENIZE_SUCCESS="tokenize-success",e.TOKENIZE_DID_NOT_START="tokenize-did-not-start"}(o||(o={})),function(e){e.SUCCESS="AUTH_SUCCESS",e.FAILED="AUTH_FAILED",e.SKIPPED="SKIPPED",e.CHALLENGE="CHALLENGE"}(_||(_={})),function(e){e.MOLLIE_GIFT_CARD="MOLLIE_GIFTCARD",e.XFERS_PAYNOW="XFERS_PAYNOW",e.CARD="PAYMENT_CARD",e.APPLE_PAY="APPLE_PAY",e.GOOGLE_PAY="GOOGLE_PAY",e.PAYPAL="PAYPAL_ORDER",e.PAYPAL_VAULTED="PAYPAL_BILLING_AGREEMENT",e.GO_CARDLESS="GOCARDLESS",e.PAY_NL_IDEAL="PAY_NL_IDEAL",e.PAY_NL_SOFORT_BANKING="PAY_NL_SOFORT_BANKING",e.PAY_NL_BANCONTACT="PAY_NL_BANCONTACT",e.PAY_NL_PAYPAL="PAY_NL_PAYPAL",e.PAY_NL_CREDIT_TRANSFER="PAY_NL_CREDIT_TRANSFER",e.PAY_NL_DIRECT_DEBIT="PAY_NL_DIRECT_DEBIT",e.PAY_NL_GIROPAY="PAY_NL_GIROPAY",e.PAY_NL_PAYCONIQ="PAY_NL_PAYCONIQ",e.HOOLAH="HOOLAH",e.ADYEN_VIPPS="ADYEN_VIPPS",e.ADYEN_GIROPAY="ADYEN_GIROPAY",e.ADYEN_SOFORT="ADYEN_SOFORT",e.ADYEN_TRUSTLY="ADYEN_TRUSTLY",e.ADYEN_ALIPAY="ADYEN_ALIPAY",e.ADYEN_TWINT="ADYEN_TWINT",e.ADYEN_MOBILEPAY="ADYEN_MOBILEPAY",e.MOLLIE_BANCONTACT="MOLLIE_BANCONTACT",e.MOLLIE_IDEAL="MOLLIE_IDEAL",e.BUCKAROO_GIROPAY="BUCKAROO_GIROPAY",e.BUCKAROO_EPS="BUCKAROO_EPS",e.BUCKAROO_SOFORT="BUCKAROO_SOFORT",e.BUCKAROO_BANCONTACT="BUCKAROO_BANCONTACT",e.BUCKAROO_IDEAL="BUCKAROO_IDEAL",e.ATOME="ATOME"}(E||(E={})),function(e){e.MOLLIE_GIFT_CARD="MOLLIE_GIFTCARD",e.XFERS_PAYNOW="XFERS_PAYNOW",e.PAYMENT_CARD="PAYMENT_CARD",e.APPLE_PAY="APPLE_PAY",e.GOOGLE_PAY="GOOGLE_PAY",e.PAYPAL="PAYPAL",e.GO_CARDLESS="GOCARDLESS",e.KLARNA="KLARNA",e.PAY_NL_IDEAL="PAY_NL_IDEAL",e.PAY_NL_SOFORT_BANKING="PAY_NL_SOFORT_BANKING",e.PAY_NL_BANCONTACT="PAY_NL_BANCONTACT",e.PAY_NL_PAYPAL="PAY_NL_PAYPAL",e.PAY_NL_CREDIT_TRANSFER="PAY_NL_CREDIT_TRANSFER",e.PAY_NL_DIRECT_DEBIT="PAY_NL_DIRECT_DEBIT",e.PAY_NL_GIROPAY="PAY_NL_GIROPAY",e.PAY_NL_PAYCONIQ="PAY_NL_PAYCONIQ",e.HOOLAH="HOOLAH",e.ADYEN_MOBILEPAY="ADYEN_MOBILEPAY",e.ADYEN_VIPPS="ADYEN_VIPPS",e.ADYEN_GIROPAY="ADYEN_GIROPAY",e.ADYEN_SOFORT="ADYEN_SOFORT",e.ADYEN_TRUSTLY="ADYEN_TRUSTLY",e.ADYEN_ALIPAY="ADYEN_ALIPAY",e.ADYEN_TWINT="ADYEN_TWINT",e.ADYEN_BANK_TRANSFER="ADYEN_BANK_TRANSFER",e.MOLLIE_BANCONTACT="MOLLIE_BANCONTACT",e.MOLLIE_IDEAL="MOLLIE_IDEAL",e.BUCKAROO_GIROPAY="BUCKAROO_GIROPAY",e.BUCKAROO_EPS="BUCKAROO_EPS",e.BUCKAROO_SOFORT="BUCKAROO_SOFORT",e.BUCKAROO_BANCONTACT="BUCKAROO_BANCONTACT",e.BUCKAROO_IDEAL="BUCKAROO_IDEAL",e.ATOME="ATOME"}(A||(A={})),function(e){e.SINGLE_USE="SINGLE_USE",e.MULTI_USE="MULTI_USE"}(c||(c={}));var u,i=r(85),O=r.n(i),T=r(198),N=r.n(T),R=r(111),P=r.n(R),D=r(270),p=r.n(D),C=r(983),I=r.n(C),f=r(588),a=r.n(f),L=r(240),S=r.n(L),Y=r(260),m=r.n(Y);function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=a()(e);if(t){var o=a()(this).constructor;Reflect.construct(n,arguments,o)}else n.apply(this,arguments);return I()(this,r)}}!function(e){e.NO_PAYMENT_METHODS="NO_PAYMENT_METHODS",e.PRIMER_TEARDOWN="PRIMER_TEARDOWN",e.PRIMER_SERVER_ERROR="PRIMER_SERVER_ERROR",e.THREE_DS_SETUP_ERROR="THREE_DS_SETUP_ERROR",e.THREE_DS_AUTH_FAILED="THREE_DS_AUTH_FAILED",e.THREE_DS_NEGOTIATION_ERROR="THREE_DS_NEGOTIATION_ERROR",e.TOKENIZATION_ERROR="TOKENIZATION_ERROR",e.DUPLICATE_PAYMENT_METHOD_ERROR="DUPLICATE_PAYMENT_METHOD_ERROR",e.CARD_NUMBER_ERROR="CARD_NUMBER_ERROR",e.PAYMENT_METHOD_NOT_SETUP="PAYMENT_METHOD_NOT_SETUP",e.PAYMENT_METHOD_NOT_PROVIDED="PAYMENT_METHOD_NOT_SETUP",e.PAYMENT_METHOD_NOT_COMPATIBLE="PAYMENT_METHOD_NOT_COMPATIBLE",e.RESUME_ERROR="RESUME_ERROR",e.TAX_ERROR="TAX_ERROR",e.VALIDATION_ERROR="VALIDATION_ERROR"}(u||(u={}));var M,d,l,h,U;Error;!function(e){e.LOADING="Loading",e.THREE_DS="UniversalCheckout/3ds",e.CHOOSE_PAYMENT_METHOD="UniversalCheckout/Home",e.MANAGE_PAYMENT_METHODS="VaultManager/Home",e.DIRECT_DEBIT_FORM="DirectDebit/Form",e.DIRECT_DEBIT_MANDATE="DirectDebit/Mandate",e.CREDIT_CARD_FORM="CreditCard/Form",e.SUCCESS_PAYMENT_METHOD="UniversalCheckout/Success/PaymentMethod",e.SUCCESS_CHECK="UniversalCheckout/Success/Check"}(M||(M={})),function(e){e.ROOT="primer-checkout",e.ROOT_CONTENT="primer-checkout-content",e.SUBMIT_BUTTON="primer-checkout-submit-button",e.THREE_DS_MODAL="primer-checkout-3ds-modal",e.VAULT="primer-checkout-vault",e.VAULT_INLINE="primer-checkout-vault-inline",e.NAVIGATE_PAYMENT_METHODS="primer-checkout-navigate-to-payment-methods",e.DIVIDER="primer-checkout-payment-method-divider",e.APM_BUTTONS="primer-checkout-apm-button-container",e.CARDHOLDER_NAME="primer-checkout-cardholder-name",e.CARDHOLDER_NAME_INPUT="primer-checkout-cardholder-name-input",e.ACTIONS="primer-checkout-actions",e.ACTIONS_MENU="primer-checkout-actions-menu",e.SAVE_PAYMENT_METHOD_CHECKBOX="primer-checkout-save-payment-method-input",e.SAVE_PAYMENT_METHOD_FIELD="primer-checkout-save-payment-method-field",e.SAVED_PAYMENT_METHODS_EMPTY="primer-checkout-saved-payment-methods-empty-text",e.CARD_FORM="primer-checkout-card-form",e.DD_SWITCH="primer-checkout-switch-dd-inputs",e.DD_IBAN_FIELD="primer-checkout-dd-iban-field",e.DD_LOCAL_FIELD="primer-checkout-dd-local-fields",e.DD_CUSTOMER_NAME_INPUT="primer-checkout-dd-customer-name-input",e.DD_CUSTOMER_EMAIL_INPUT="primer-checkout-dd-customer-email-input",e.DD_CUSTOMER_ADDRESS_LINE1="primer-checkout-dd-customer-address-input",e.DD_CUSTOMER_ADDRESS_LINE2="primer-checkout-dd-customer-address-line2-input",e.DD_CUSTOMER_ADDRESS_CITY="primer-checkout-dd-customer-city-input",e.DD_CUSTOMER_ADDRESS_POSTAL_CODE="primer-checkout-dd-customer-postal-code-input",e.DD_IBAN_INPUT="primer-checkout-dd-iban-input",e.DD_ACCOUNT_NUMBER_INPUT="primer-checkout-dd-account-number-input",e.DD_BANK_CODE_INPUT="primer-checkout-dd-bank-code-input",e.DD_BRANCH_CODE_INPUT="primer-checkout-dd-branch-code-input",e.DD_MANDATE_SMALL_PRINT="primer-checkout-small-print",e.ERROR_MESSAGE="primer-checkout-error-message"}(d||(d={})),function(e){e.TOKEN="PrimerCheckout__token",e.HIDDEN="PrimerCheckout--hidden",e.FOCUSED="PrimerCheckout--focused",e.SELECTED="PrimerCheckout--selected",e.LOADING="PrimerCheckout--loading",e.ERROR="PrimerCheckout--error",e.CARD_TYPE="PrimerCheckout__cardType",e.SAVED_PAYMENT_METHOD="PrimerCheckout__savedPaymentMethod",e.SAVED_PAYMENT_METHOD_CONTAINER="PrimerCheckout__savedPaymentMethodContainer",e.APM_BUTTON="PrimerCheckout__apmButton",e.EDIT_BUTTON="PrimerCheckout__editButton",e.MENU="PrimerCheckout__dropDownMenu",e.MENU_ITEM="PrimerCheckout__dropDownMenuItem",e.PAYMENT_METHOD_MENU_ITEM="PrimerCheckout__paymentMethodDropDownMenuItem",e.DELETE_PAYMENT_METHOD_BUTTON="PrimerCheckout__paymentMethodDropDownMenuItem__deleteButton",e.ENTER="PrimerCheckout--enter",e.ENTERING="PrimerCheckout--entering",e.ENTERED="PrimerCheckout--entered",e.EXIT="PrimerCheckout--exit",e.EXITING="PrimerCheckout--exiting",e.EXITED="PrimerCheckout--exited"}(l||(l={})),function(e){e.CHECKOUT="CHECKOUT",e.MANAGE_PAYMENT_METHODS="MANAGE_PAYMENT_METHODS",e.SINGLE_PAYMENT_METHOD_CHECKOUT="SINGLE_PAYMENT_METHOD_CHECKOUT"}(h||(h={})),function(e){e.PaymentMethod="PaymentMethod",e.PAYMENT_METHOD="PAYMENT_METHOD",e.CHECK="CHECK"}(U||(U={}));var y=null,k=function(){return y||(window.Primer?Promise.resolve(window.Primer):y=new Promise((function(e,t){var r=window.document.querySelector('script[src^="'.concat("https://sdk.primer.io/web/v1.25.0/Primer.min.js",'"]'));r||((r=document.createElement("script")).setAttribute("src","https://sdk.primer.io/web/v1.25.0/Primer.min.js"),r.setAttribute("crossorigin","anonymous")),r.onload=function(){e(window.Primer)},r.onerror=function(){var e;y=null,null===(e=r)||void 0===e||e.remove(),t(new Error("Can't load Primer"))},window.document.head.appendChild(r)})))}}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}return r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(558)}()}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer-io/checkout-web",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "Primer.js for the web",
|
|
5
5
|
"author": "Will Knowles <will@primerapi.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"lint": "eslint ./src",
|
|
27
27
|
"check-types": "tsc --noemit -p tsconfig.json"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "769b38c63d4a5e5352bd88f46ffa632630d35797"
|
|
30
30
|
}
|