@superlogic/spree-pay 0.1.31 → 0.1.35
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 +1 -1
- package/build/index.cjs +331 -237
- package/build/index.css +44 -5
- package/build/index.d.cts +6 -2
- package/build/index.d.ts +6 -2
- package/build/index.js +317 -223
- package/package.json +19 -19
package/build/index.css
CHANGED
|
@@ -225,6 +225,9 @@
|
|
|
225
225
|
.sl-spreepay ::-webkit-datetime-edit-meridiem-field {
|
|
226
226
|
padding-block: 0;
|
|
227
227
|
}
|
|
228
|
+
.sl-spreepay ::-webkit-calendar-picker-indicator {
|
|
229
|
+
line-height: 1;
|
|
230
|
+
}
|
|
228
231
|
.sl-spreepay :-moz-ui-invalid {
|
|
229
232
|
box-shadow: none;
|
|
230
233
|
}
|
|
@@ -251,7 +254,7 @@
|
|
|
251
254
|
padding: 0;
|
|
252
255
|
margin: -1px;
|
|
253
256
|
overflow: hidden;
|
|
254
|
-
clip:
|
|
257
|
+
clip-path: inset(50%);
|
|
255
258
|
white-space: nowrap;
|
|
256
259
|
border-width: 0;
|
|
257
260
|
}
|
|
@@ -401,6 +404,9 @@
|
|
|
401
404
|
.sl-spreepay .h-\[34px\] {
|
|
402
405
|
height: 34px;
|
|
403
406
|
}
|
|
407
|
+
.sl-spreepay .h-\[58px\] {
|
|
408
|
+
height: 58px;
|
|
409
|
+
}
|
|
404
410
|
.sl-spreepay .h-\[60px\] {
|
|
405
411
|
height: 60px;
|
|
406
412
|
}
|
|
@@ -578,6 +584,10 @@
|
|
|
578
584
|
border-top-right-radius: calc(var(--radius) - 2px);
|
|
579
585
|
border-bottom-right-radius: calc(var(--radius) - 2px);
|
|
580
586
|
}
|
|
587
|
+
.sl-spreepay .rounded-r-sm {
|
|
588
|
+
border-top-right-radius: calc(var(--radius) - 4px);
|
|
589
|
+
border-bottom-right-radius: calc(var(--radius) - 4px);
|
|
590
|
+
}
|
|
581
591
|
.sl-spreepay .border {
|
|
582
592
|
border-style: var(--tw-border-style);
|
|
583
593
|
border-width: 1px;
|
|
@@ -590,6 +600,10 @@
|
|
|
590
600
|
border-style: var(--tw-border-style);
|
|
591
601
|
border-width: 1px;
|
|
592
602
|
}
|
|
603
|
+
.sl-spreepay .border-b {
|
|
604
|
+
border-bottom-style: var(--tw-border-style);
|
|
605
|
+
border-bottom-width: 1px;
|
|
606
|
+
}
|
|
593
607
|
.sl-spreepay .border-b-1 {
|
|
594
608
|
border-bottom-style: var(--tw-border-style);
|
|
595
609
|
border-bottom-width: 1px;
|
|
@@ -598,6 +612,10 @@
|
|
|
598
612
|
border-left-style: var(--tw-border-style) !important;
|
|
599
613
|
border-left-width: 0px !important;
|
|
600
614
|
}
|
|
615
|
+
.sl-spreepay .border-l-0\! {
|
|
616
|
+
border-left-style: var(--tw-border-style) !important;
|
|
617
|
+
border-left-width: 0px !important;
|
|
618
|
+
}
|
|
601
619
|
.sl-spreepay .border-\[\#006FD533\] {
|
|
602
620
|
border-color: #006FD533;
|
|
603
621
|
}
|
|
@@ -640,6 +658,9 @@
|
|
|
640
658
|
.sl-spreepay .border-transparent {
|
|
641
659
|
border-color: transparent;
|
|
642
660
|
}
|
|
661
|
+
.sl-spreepay .border-white {
|
|
662
|
+
border-color: var(--color-white);
|
|
663
|
+
}
|
|
643
664
|
.sl-spreepay .bg-\[\#006FD50D\] {
|
|
644
665
|
background-color: #006FD50D;
|
|
645
666
|
}
|
|
@@ -649,6 +670,9 @@
|
|
|
649
670
|
.sl-spreepay .bg-background {
|
|
650
671
|
background-color: var(--background);
|
|
651
672
|
}
|
|
673
|
+
.sl-spreepay .bg-black {
|
|
674
|
+
background-color: var(--color-black);
|
|
675
|
+
}
|
|
652
676
|
.sl-spreepay .bg-black\/4 {
|
|
653
677
|
background-color: color-mix(in srgb, #000 4%, transparent);
|
|
654
678
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -661,6 +685,12 @@
|
|
|
661
685
|
background-color: color-mix(in oklab, var(--color-black) 10%, transparent);
|
|
662
686
|
}
|
|
663
687
|
}
|
|
688
|
+
.sl-spreepay .bg-black\/15 {
|
|
689
|
+
background-color: color-mix(in srgb, #000 15%, transparent);
|
|
690
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
691
|
+
background-color: color-mix(in oklab, var(--color-black) 15%, transparent);
|
|
692
|
+
}
|
|
693
|
+
}
|
|
664
694
|
.sl-spreepay .bg-black\/50 {
|
|
665
695
|
background-color: color-mix(in srgb, #000 50%, transparent);
|
|
666
696
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -679,9 +709,6 @@
|
|
|
679
709
|
.sl-spreepay .bg-gray-400 {
|
|
680
710
|
background-color: var(--color-gray-400);
|
|
681
711
|
}
|
|
682
|
-
.sl-spreepay .bg-muted {
|
|
683
|
-
background-color: var(--muted);
|
|
684
|
-
}
|
|
685
712
|
.sl-spreepay .bg-primary {
|
|
686
713
|
background-color: var(--primary);
|
|
687
714
|
}
|
|
@@ -945,6 +972,12 @@
|
|
|
945
972
|
var(--tw-ring-shadow),
|
|
946
973
|
var(--tw-shadow);
|
|
947
974
|
}
|
|
975
|
+
.sl-spreepay .shadow-\[\#00000033\] {
|
|
976
|
+
--tw-shadow-color: #00000033;
|
|
977
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
978
|
+
--tw-shadow-color: color-mix(in oklab, #00000033 var(--tw-shadow-alpha), transparent);
|
|
979
|
+
}
|
|
980
|
+
}
|
|
948
981
|
.sl-spreepay .ring-ring\/50 {
|
|
949
982
|
--tw-ring-color: var(--ring);
|
|
950
983
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1668,11 +1701,13 @@
|
|
|
1668
1701
|
@property --tw-animation-duration { syntax: "*"; inherits: false; }
|
|
1669
1702
|
@property --tw-animation-fill-mode { syntax: "*"; inherits: false; initial-value: none; }
|
|
1670
1703
|
@property --tw-animation-iteration-count { syntax: "*"; inherits: false; initial-value: 1; }
|
|
1704
|
+
@property --tw-enter-blur { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1671
1705
|
@property --tw-enter-opacity { syntax: "*"; inherits: false; initial-value: 1; }
|
|
1672
1706
|
@property --tw-enter-rotate { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1673
1707
|
@property --tw-enter-scale { syntax: "*"; inherits: false; initial-value: 1; }
|
|
1674
1708
|
@property --tw-enter-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1675
1709
|
@property --tw-enter-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1710
|
+
@property --tw-exit-blur { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1676
1711
|
@property --tw-exit-opacity { syntax: "*"; inherits: false; initial-value: 1; }
|
|
1677
1712
|
@property --tw-exit-rotate { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1678
1713
|
@property --tw-exit-scale { syntax: "*"; inherits: false; initial-value: 1; }
|
|
@@ -1799,12 +1834,14 @@
|
|
|
1799
1834
|
from {
|
|
1800
1835
|
opacity: var(--tw-enter-opacity,1);
|
|
1801
1836
|
transform: translate3d(var(--tw-enter-translate-x,0), var(--tw-enter-translate-y,0), 0)scale3d(var(--tw-enter-scale,1), var(--tw-enter-scale,1), var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));
|
|
1837
|
+
filter: blur(var(--tw-enter-blur,0));
|
|
1802
1838
|
}
|
|
1803
1839
|
}
|
|
1804
1840
|
@keyframes exit {
|
|
1805
1841
|
to {
|
|
1806
1842
|
opacity: var(--tw-exit-opacity,1);
|
|
1807
1843
|
transform: translate3d(var(--tw-exit-translate-x,0), var(--tw-exit-translate-y,0), 0)scale3d(var(--tw-exit-scale,1), var(--tw-exit-scale,1), var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));
|
|
1844
|
+
filter: blur(var(--tw-exit-blur,0));
|
|
1808
1845
|
}
|
|
1809
1846
|
}
|
|
1810
1847
|
@layer properties {
|
|
@@ -1840,11 +1877,13 @@
|
|
|
1840
1877
|
--tw-animation-duration: initial;
|
|
1841
1878
|
--tw-animation-fill-mode: none;
|
|
1842
1879
|
--tw-animation-iteration-count: 1;
|
|
1880
|
+
--tw-enter-blur: 0;
|
|
1843
1881
|
--tw-enter-opacity: 1;
|
|
1844
1882
|
--tw-enter-rotate: 0;
|
|
1845
1883
|
--tw-enter-scale: 1;
|
|
1846
1884
|
--tw-enter-translate-x: 0;
|
|
1847
1885
|
--tw-enter-translate-y: 0;
|
|
1886
|
+
--tw-exit-blur: 0;
|
|
1848
1887
|
--tw-exit-opacity: 1;
|
|
1849
1888
|
--tw-exit-rotate: 0;
|
|
1850
1889
|
--tw-exit-scale: 1;
|
|
@@ -1853,4 +1892,4 @@
|
|
|
1853
1892
|
}
|
|
1854
1893
|
}
|
|
1855
1894
|
}
|
|
1856
|
-
/*! tailwindcss v4.1.
|
|
1895
|
+
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
|
package/build/index.d.cts
CHANGED
|
@@ -14,12 +14,16 @@ declare const SpreePay: FC<SpreePayProps>;
|
|
|
14
14
|
|
|
15
15
|
declare const useCapture3DS: (searchParams: Record<string, string | null>) => void;
|
|
16
16
|
|
|
17
|
+
type TenantId = 'bookit' | 'moca' | 'qiibee' | 'umhp';
|
|
18
|
+
|
|
19
|
+
type Environment = 'dev' | 'stg' | 'prod';
|
|
17
20
|
type ENV = {
|
|
18
|
-
environment:
|
|
21
|
+
environment: Environment;
|
|
19
22
|
ssoPageURI: string;
|
|
20
|
-
tenantId:
|
|
23
|
+
tenantId: TenantId;
|
|
21
24
|
redirect3dsURI: string;
|
|
22
25
|
accessToken?: string;
|
|
26
|
+
useWeb3Points?: boolean;
|
|
23
27
|
};
|
|
24
28
|
|
|
25
29
|
declare enum BASE_SYMBOLS {
|
package/build/index.d.ts
CHANGED
|
@@ -14,12 +14,16 @@ declare const SpreePay: FC<SpreePayProps>;
|
|
|
14
14
|
|
|
15
15
|
declare const useCapture3DS: (searchParams: Record<string, string | null>) => void;
|
|
16
16
|
|
|
17
|
+
type TenantId = 'bookit' | 'moca' | 'qiibee' | 'umhp';
|
|
18
|
+
|
|
19
|
+
type Environment = 'dev' | 'stg' | 'prod';
|
|
17
20
|
type ENV = {
|
|
18
|
-
environment:
|
|
21
|
+
environment: Environment;
|
|
19
22
|
ssoPageURI: string;
|
|
20
|
-
tenantId:
|
|
23
|
+
tenantId: TenantId;
|
|
21
24
|
redirect3dsURI: string;
|
|
22
25
|
accessToken?: string;
|
|
26
|
+
useWeb3Points?: boolean;
|
|
23
27
|
};
|
|
24
28
|
|
|
25
29
|
declare enum BASE_SYMBOLS {
|