@globalpayments/js 1.9.8 → 1.9.11
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/package.json +1 -1
- package/types/internal/gateways/gp-api/index.d.ts +1 -1
- package/types/internal/lib/styles/gp-default.d.ts +8 -0
- package/types/lib/version.d.ts +1 -1
- package/types/tools/configure.d.ts +13 -0
- package/types/ui/form/index.d.ts +26 -4
- package/types/ui/iframe-field/action-add-google-pay.d.ts +2 -0
package/package.json
CHANGED
|
@@ -144,6 +144,10 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
144
144
|
"background-size": string;
|
|
145
145
|
background: string;
|
|
146
146
|
};
|
|
147
|
+
".secure-payment-form .tooltip:focus": {
|
|
148
|
+
border: string;
|
|
149
|
+
outline: string;
|
|
150
|
+
};
|
|
147
151
|
".secure-payment-form .tooltip-content": {
|
|
148
152
|
visibility: string;
|
|
149
153
|
width: string;
|
|
@@ -168,6 +172,10 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
168
172
|
visibility: string;
|
|
169
173
|
opacity: string;
|
|
170
174
|
};
|
|
175
|
+
".secure-payment-form .tooltip:focus + .tooltip-content": {
|
|
176
|
+
visibility: string;
|
|
177
|
+
opacity: string;
|
|
178
|
+
};
|
|
171
179
|
".secure-payment-form .other-cards-label": {
|
|
172
180
|
"border-bottom": string;
|
|
173
181
|
"text-align": string;
|
package/types/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.9.
|
|
1
|
+
declare const _default: "1.9.11";
|
|
2
2
|
export default _default;
|
|
@@ -33,6 +33,19 @@ export interface IConfiguration extends IDictionary {
|
|
|
33
33
|
wrapper?: boolean;
|
|
34
34
|
buttonless: boolean;
|
|
35
35
|
};
|
|
36
|
+
googlePay?: {
|
|
37
|
+
allowedAuthMethods?: string[];
|
|
38
|
+
allowedCardNetworks?: string[];
|
|
39
|
+
buttonColor?: string;
|
|
40
|
+
buttonLocale?: string;
|
|
41
|
+
buttonSizeMode?: string;
|
|
42
|
+
buttonType?: string;
|
|
43
|
+
countryCode?: string;
|
|
44
|
+
currencyCode?: string;
|
|
45
|
+
globalPaymentsClientID?: string;
|
|
46
|
+
merchantId?: string;
|
|
47
|
+
merchantName?: string;
|
|
48
|
+
};
|
|
36
49
|
};
|
|
37
50
|
webApiKey?: string;
|
|
38
51
|
deviceId?: string;
|
package/types/ui/form/index.d.ts
CHANGED
|
@@ -121,6 +121,12 @@ export declare const fieldStyles: () => {
|
|
|
121
121
|
".card-number.valid.card-type-mastercard": {
|
|
122
122
|
background: string;
|
|
123
123
|
"background-position-y": string;
|
|
124
|
+
/**
|
|
125
|
+
* Sets a special-case event listener that fires when all hosted
|
|
126
|
+
* fields in a form have registered / loaded
|
|
127
|
+
*
|
|
128
|
+
* @param fn The listener function
|
|
129
|
+
*/
|
|
124
130
|
"background-size": string;
|
|
125
131
|
};
|
|
126
132
|
".card-number.valid.card-type-visa": {
|
|
@@ -282,6 +288,12 @@ export declare const fieldStyles: () => {
|
|
|
282
288
|
background: string;
|
|
283
289
|
"background-size": string;
|
|
284
290
|
};
|
|
291
|
+
/**
|
|
292
|
+
* Instantiates a new UIForm object for a group of hosted fields
|
|
293
|
+
*
|
|
294
|
+
* @param fields Hosted field configuration
|
|
295
|
+
* @param styles Custom CSS configuration
|
|
296
|
+
*/
|
|
285
297
|
".card-number.invalid.card-type-amex": {
|
|
286
298
|
background: string;
|
|
287
299
|
"background-position-x": string;
|
|
@@ -717,6 +729,10 @@ export declare const parentStyles: () => {
|
|
|
717
729
|
"background-size": string;
|
|
718
730
|
background: string;
|
|
719
731
|
};
|
|
732
|
+
".secure-payment-form .tooltip:focus": {
|
|
733
|
+
border: string;
|
|
734
|
+
outline: string;
|
|
735
|
+
};
|
|
720
736
|
".secure-payment-form .tooltip-content": {
|
|
721
737
|
visibility: string;
|
|
722
738
|
width: string;
|
|
@@ -741,6 +757,10 @@ export declare const parentStyles: () => {
|
|
|
741
757
|
visibility: string;
|
|
742
758
|
opacity: string;
|
|
743
759
|
};
|
|
760
|
+
".secure-payment-form .tooltip:focus + .tooltip-content": {
|
|
761
|
+
visibility: string;
|
|
762
|
+
opacity: string;
|
|
763
|
+
};
|
|
744
764
|
".secure-payment-form .other-cards-label": {
|
|
745
765
|
"border-bottom": string;
|
|
746
766
|
"text-align": string;
|
|
@@ -1048,7 +1068,12 @@ export declare const parentStyles: () => {
|
|
|
1048
1068
|
".secure-payment-form": {
|
|
1049
1069
|
"font-family": string;
|
|
1050
1070
|
width: string;
|
|
1051
|
-
};
|
|
1071
|
+
}; /**
|
|
1072
|
+
* Sets a special-case event listener that fires when all hosted
|
|
1073
|
+
* fields in a form have registered / loaded
|
|
1074
|
+
*
|
|
1075
|
+
* @param fn The listener function
|
|
1076
|
+
*/
|
|
1052
1077
|
".secure-payment-form label": {
|
|
1053
1078
|
color: string;
|
|
1054
1079
|
"font-size": string;
|
|
@@ -1073,9 +1098,6 @@ export declare const parentStyles: () => {
|
|
|
1073
1098
|
};
|
|
1074
1099
|
".secure-payment-form .form-wrapper": {
|
|
1075
1100
|
display: string;
|
|
1076
|
-
/**
|
|
1077
|
-
* Deletes all hosted fields within the form
|
|
1078
|
-
*/
|
|
1079
1101
|
margin: string;
|
|
1080
1102
|
};
|
|
1081
1103
|
".secure-payment-form input": {
|