@globalpayments/js 2.1.3 → 3.0.6

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.
Files changed (27) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/types/apm/enums.d.ts +10 -0
  4. package/types/apm/non-card-payments/components/common.d.ts +5 -0
  5. package/types/apm/non-card-payments/components/constants.d.ts +1 -0
  6. package/types/apm/non-card-payments/components/redirect-action-handler.d.ts +1 -0
  7. package/types/apm/non-card-payments/contracts.d.ts +8 -0
  8. package/types/apm/qr-code-payments/components/common.d.ts +0 -1
  9. package/types/apm/qr-code-payments/contracts.d.ts +3 -7
  10. package/types/common/html-element.d.ts +1 -0
  11. package/types/internal/gateways/gp-api/get-apm-payment-methods.d.ts +3 -0
  12. package/types/internal/lib/card.d.ts +1 -1
  13. package/types/internal/lib/enums.d.ts +18 -9
  14. package/types/internal/lib/styles/apple-pay/common.d.ts +12 -0
  15. package/types/internal/lib/styles/default.d.ts +73 -24
  16. package/types/internal/lib/styles/google-pay/common.d.ts +11 -0
  17. package/types/internal/lib/styles/gp-default.d.ts +73 -24
  18. package/types/internal/lib/styles/payment-methods/common.d.ts +191 -0
  19. package/types/internal/lib/styles/payment-methods/open-banking.d.ts +40 -0
  20. package/types/internal/lib/styles/payment-methods/qr-code-payments.d.ts +121 -0
  21. package/types/internal/lib/styles/simple.d.ts +8 -34
  22. package/types/internal/lib/translations/en.d.ts +5 -0
  23. package/types/internal/lib/translations/fr.d.ts +85 -0
  24. package/types/lib/version.d.ts +1 -1
  25. package/types/tools/configure.d.ts +3 -0
  26. package/types/ui/form/index.d.ts +180 -128
  27. package/types/ui/iframe-field/action-add-open-banking.d.ts +2 -0
package/README.md CHANGED
@@ -24,7 +24,7 @@ This plugin allows you to use online payments (eCommerce) features of a variety
24
24
  ## Usage
25
25
 
26
26
  ```html
27
- <script src="https://js.globalpay.com/2.1.3/globalpayments.js"></script>
27
+ <script src="https://js.globalpay.com/3.0.6/globalpayments.js"></script>
28
28
  ```
29
29
 
30
30
  > Note: Installing via NPM will only provide TypeScript types for type-checking.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalpayments/js",
3
- "version": "2.1.3",
3
+ "version": "3.0.6",
4
4
  "author": "Heartland Developer Portal <developers@heartland.us>",
5
5
  "license": "GPL-2.0",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  "cypress:open": "cypress open",
19
19
  "format": "prettier --write config/**/* src/**/* !src/assets/**/* !test/run.sh !test/run.ps1 test/fixtures/**/*.html",
20
20
 
21
- "postbuild": "cross-os postbuild-cross",
21
+ "postbuild": "xcopy src\\assets dist\\ /e/y/h && node bin/replace-gp-ref.js",
22
22
 
23
23
  "prebuild": "yarn test:lint && node bin/update-version.js",
24
24
  "prepublish": "yarn build",
@@ -0,0 +1,10 @@
1
+ export declare const enum ApmInternalEvents {
2
+ PaymentMethodsRequestStart = "payment-methods-request-start",
3
+ PaymentMethodsRequestCompleted = "payment-methods-request-completed",
4
+ NavigatesBackBySelectAnotherPaymentMethod = "payment-navigates-back-select-another-payment-method"
5
+ }
6
+ export declare const enum QRCodePaymentsActions {
7
+ RedirectAction = "REDIRECT",
8
+ RedirectInFrameAction = "REDIRECT_IN_FRAME",
9
+ PresentQRCodeAction = "PRESENT_QR_CODE"
10
+ }
@@ -0,0 +1,5 @@
1
+ import { ApmProviders } from "../../../internal/lib/enums";
2
+ import { PaymentMethod } from "../contracts";
3
+ export declare function isApmProviderConfigured(configuration: PaymentMethod[], desiredProvider: ApmProviders): boolean;
4
+ export declare const getSelectAnotherPaymentMethodButton: (id: string, onClickCallback: any) => HTMLDivElement;
5
+ export declare function isUrlValid(url: string): boolean;
@@ -0,0 +1 @@
1
+ export declare const REDIRECT_ACTION_DELAY_IN_SECONDS = 2000;
@@ -0,0 +1 @@
1
+ export default function handleRedirectAction(content: HTMLDivElement, props: any): void;
@@ -0,0 +1,8 @@
1
+ export interface IApmConfiguration {
2
+ allowedPaymentMethods?: PaymentMethod[];
3
+ }
4
+ export interface PaymentMethod {
5
+ provider: string;
6
+ category?: string;
7
+ image?: string;
8
+ }
@@ -1,2 +1 @@
1
- export declare const getSelectAnotherPaymentMethodButton: (id: string, onClickCallback: any) => HTMLDivElement;
2
1
  export declare function getCountdownCounter(secondsToExpire: string, onFinishCallback: any): HTMLDivElement;
@@ -1,12 +1,8 @@
1
- export interface IQRCodePaymentsConfiguration {
1
+ import { IApmConfiguration } from "../non-card-payments/contracts";
2
+ export interface IQRCodePaymentsConfiguration extends IApmConfiguration {
2
3
  enabled?: boolean;
3
- allowedPaymentMethods?: IQRCodePaymentsAllowedPaymentMethod[];
4
4
  }
5
- export interface IQRCodePaymentsAllowedPaymentMethod {
6
- provider: string;
7
- image: string;
8
- }
9
- export interface IPaymentMethodConfiguration {
5
+ export interface IPaymentMethodConfiguration extends IApmConfiguration {
10
6
  provider: {
11
7
  brand: string;
12
8
  };
@@ -94,3 +94,4 @@ export declare const createHtmlIFrameElement: (props?: {
94
94
  [key: string]: string;
95
95
  }[] | undefined;
96
96
  } | undefined) => HTMLIFrameElement;
97
+ export declare const changeCreditCardFormFieldsVisibility: (visible: boolean) => void;
@@ -0,0 +1,3 @@
1
+ import { IDictionary } from "../../lib/util";
2
+ declare const _default: (url: string, _env: string, data: IDictionary) => Promise<any>;
3
+ export default _default;
@@ -16,7 +16,7 @@ export default class Card {
16
16
  *
17
17
  * @param e
18
18
  */
19
- static formatNumber(e: KeyboardEvent): void;
19
+ static formatNumber(e: KeyboardEvent | Event): void;
20
20
  /**
21
21
  * formatExpiration
22
22
  *
@@ -1,14 +1,19 @@
1
1
  export declare enum Apm {
2
+ ApplePay = "apple-pay",
2
3
  ClickToPay = "click-to-pay",
3
4
  GooglePay = "google-pay",
4
- ApplePay = "apple-pay",
5
+ OpenBankingPayment = "open-banking",
5
6
  QRCodePayments = "qr-code-payments"
6
7
  }
8
+ export declare enum ApmEvents {
9
+ PaymentMethodActionDetail = "apm-action-details",
10
+ PaymentMethodSelection = "apm-payment-method"
11
+ }
7
12
  export declare enum CardNetwork {
8
- Visa = "VISA",
9
- Mastercard = "MASTERCARD",
10
13
  Amex = "AMEX",
11
- Discover = "DISCOVER"
14
+ Discover = "DISCOVER",
15
+ Mastercard = "MASTERCARD",
16
+ Visa = "VISA"
12
17
  }
13
18
  export declare enum CharacterValidation {
14
19
  englishOnly = "englishOnly",
@@ -18,14 +23,18 @@ export declare enum Language {
18
23
  en = "en",
19
24
  zh = "zh"
20
25
  }
21
- export declare enum QRCodePaymentsMerchantInteractionEvents {
22
- PaymentMethodSelection = "apm-payment-method",
23
- ProvideQRCodeDetailsMerchantEvent = "apm-action-details",
24
- TransactionCompletedMerchantEvent = "apm-success-message"
25
- }
26
26
  export declare enum QRCodePaymentsProviderBrands {
27
+ Alipay = "Alipay",
27
28
  AlipayHK = "AlipayHK",
29
+ WeChat = "WeChat"
30
+ }
31
+ export declare enum OpenBanking {
32
+ title = "Bank Payment"
33
+ }
34
+ export declare enum ApmProviders {
28
35
  Alipay = "Alipay",
36
+ AlipayHK = "AlipayHK",
37
+ OpenBanking = "OPEN_BANKING",
29
38
  WeChat = "WeChat"
30
39
  }
31
40
  export declare enum QRCodePaymentsWeChatProviderBrands {
@@ -0,0 +1,12 @@
1
+ declare const styles: (assetBaseUrl: string) => {
2
+ "apple-pay-button": {
3
+ "--apple-pay-button-width": string;
4
+ "--apple-pay-button-height": string;
5
+ "--apple-pay-button-border-radius": string;
6
+ "--apple-pay-button-padding": string;
7
+ "--apple-pay-button-box-sizing": string;
8
+ display: string;
9
+ margin: string;
10
+ };
11
+ };
12
+ export default styles;
@@ -185,6 +185,10 @@ export declare const parentStyles: (assetBaseUrl: string) => {
185
185
  margin: string;
186
186
  cursor: string;
187
187
  };
188
+ ".secure-payment-form .qr-code-payment-method-button:focus"?: {
189
+ outline: string;
190
+ "outline-offset": string;
191
+ };
188
192
  ".secure-payment-form .qr-code-payment-method-alipayhk"?: {
189
193
  "background-color": string;
190
194
  border: string;
@@ -224,28 +228,6 @@ export declare const parentStyles: (assetBaseUrl: string) => {
224
228
  "line-height": string;
225
229
  width: string;
226
230
  };
227
- ".secure-payment-form .link-button"?: {
228
- background: string;
229
- border: string;
230
- color: string;
231
- "font-style": string;
232
- "font-weight": string;
233
- "line-height": string;
234
- "font-size": string;
235
- padding: string;
236
- cursor: string;
237
- margin: string;
238
- };
239
- ".secure-payment-form .link-button:hover"?: {
240
- color: string;
241
- };
242
- ".secure-payment-form .link-button:active"?: {
243
- color: string;
244
- };
245
- ".secure-payment-form .link-button:focus"?: {
246
- color: string;
247
- border: string;
248
- };
249
231
  ".secure-payment-form .qr-code-payment-countdown-timer-message"?: {
250
232
  color: string;
251
233
  "font-size": string;
@@ -296,15 +278,78 @@ export declare const parentStyles: (assetBaseUrl: string) => {
296
278
  "font-size": string;
297
279
  "line-height": string;
298
280
  };
299
- ".secure-payment-form .qr-code-redirecting-to-page"?: {
281
+ ".secure-payment-form .open-banking-button-wrapper": {
282
+ display: string;
283
+ "flex-direction": string;
284
+ "align-items": string;
285
+ };
286
+ ".secure-payment-form .open-banking-button::before": {
287
+ content: string;
288
+ width: string;
289
+ height: string;
290
+ position: string;
291
+ top: string;
292
+ right: string;
293
+ };
294
+ ".secure-payment-form .open-banking-button": {
295
+ position: string;
296
+ background: string;
297
+ color: string;
298
+ height: string;
299
+ width: string;
300
+ "border-radius": string;
301
+ border: string;
302
+ margin: string;
303
+ cursor: string;
304
+ "-webkit-box-shadow": string;
305
+ "-moz-box-shadow": string;
306
+ "box-shadow": string;
307
+ };
308
+ ".secure-payment-form .open-banking-button:hover": {
309
+ "border-color": string;
310
+ "-webkit-box-shadow": string;
311
+ "-moz-box-shadow": string;
312
+ "box-shadow": string;
313
+ };
314
+ ".secure-payment-form .open-banking-button:focus": {
315
+ outline: string;
316
+ "outline-offset": string;
317
+ };
318
+ ".secure-payment-form .link-button": {
319
+ display: string;
320
+ "flex-direction": string;
321
+ "align-items": string;
322
+ background: string;
323
+ border: string;
324
+ color: string;
325
+ "font-style": string;
326
+ "font-weight": string;
327
+ "line-height": string;
328
+ "font-size": string;
329
+ padding: string;
330
+ cursor: string;
331
+ margin: string;
332
+ };
333
+ ".secure-payment-form .link-button:hover": {
334
+ color: string;
335
+ };
336
+ ".secure-payment-form .link-button:active": {
337
+ color: string;
338
+ };
339
+ ".secure-payment-form .link-button:focus": {
340
+ color: string;
341
+ border: string;
342
+ };
343
+ ".secure-payment-form .apms-redirecting-to-page": {
300
344
  "justify-content": string;
301
345
  height: string;
302
346
  display: string;
303
347
  "flex-direction": string;
304
348
  "align-items": string;
305
349
  };
306
- ".secure-payment-form .qr-code-redirecting-to-page-message"?: {
350
+ ".secure-payment-form .apms-redirecting-to-page-message": {
307
351
  color: string;
352
+ "font-family": string;
308
353
  "font-size": string;
309
354
  "line-height": string;
310
355
  };
@@ -312,6 +357,10 @@ export declare const parentStyles: (assetBaseUrl: string) => {
312
357
  height: string;
313
358
  margin: string;
314
359
  };
360
+ "#googlePay button:focus": {
361
+ outline: string;
362
+ "outline-offset": string;
363
+ };
315
364
  ".secure-payment-form .ctp-panel": {
316
365
  border: string;
317
366
  "box-shadow": string;
@@ -0,0 +1,11 @@
1
+ declare const styles: (assetBaseUrl: string) => {
2
+ "#googlePay": {
3
+ height: string;
4
+ margin: string;
5
+ };
6
+ "#googlePay button:focus": {
7
+ outline: string;
8
+ "outline-offset": string;
9
+ };
10
+ };
11
+ export default styles;
@@ -147,6 +147,10 @@ export declare const parentStyles: (assetBaseUrl: string) => {
147
147
  margin: string;
148
148
  cursor: string;
149
149
  };
150
+ ".secure-payment-form .qr-code-payment-method-button:focus"?: {
151
+ outline: string;
152
+ "outline-offset": string;
153
+ };
150
154
  ".secure-payment-form .qr-code-payment-method-alipayhk"?: {
151
155
  "background-color": string;
152
156
  border: string;
@@ -186,28 +190,6 @@ export declare const parentStyles: (assetBaseUrl: string) => {
186
190
  "line-height": string;
187
191
  width: string;
188
192
  };
189
- ".secure-payment-form .link-button"?: {
190
- background: string;
191
- border: string;
192
- color: string;
193
- "font-style": string;
194
- "font-weight": string;
195
- "line-height": string;
196
- "font-size": string;
197
- padding: string;
198
- cursor: string;
199
- margin: string;
200
- };
201
- ".secure-payment-form .link-button:hover"?: {
202
- color: string;
203
- };
204
- ".secure-payment-form .link-button:active"?: {
205
- color: string;
206
- };
207
- ".secure-payment-form .link-button:focus"?: {
208
- color: string;
209
- border: string;
210
- };
211
193
  ".secure-payment-form .qr-code-payment-countdown-timer-message"?: {
212
194
  color: string;
213
195
  "font-size": string;
@@ -258,15 +240,78 @@ export declare const parentStyles: (assetBaseUrl: string) => {
258
240
  "font-size": string;
259
241
  "line-height": string;
260
242
  };
261
- ".secure-payment-form .qr-code-redirecting-to-page"?: {
243
+ ".secure-payment-form .open-banking-button-wrapper": {
244
+ display: string;
245
+ "flex-direction": string;
246
+ "align-items": string;
247
+ };
248
+ ".secure-payment-form .open-banking-button::before": {
249
+ content: string;
250
+ width: string;
251
+ height: string;
252
+ position: string;
253
+ top: string;
254
+ right: string;
255
+ };
256
+ ".secure-payment-form .open-banking-button": {
257
+ position: string;
258
+ background: string;
259
+ color: string;
260
+ height: string;
261
+ width: string;
262
+ "border-radius": string;
263
+ border: string;
264
+ margin: string;
265
+ cursor: string;
266
+ "-webkit-box-shadow": string;
267
+ "-moz-box-shadow": string;
268
+ "box-shadow": string;
269
+ };
270
+ ".secure-payment-form .open-banking-button:hover": {
271
+ "border-color": string;
272
+ "-webkit-box-shadow": string;
273
+ "-moz-box-shadow": string;
274
+ "box-shadow": string;
275
+ };
276
+ ".secure-payment-form .open-banking-button:focus": {
277
+ outline: string;
278
+ "outline-offset": string;
279
+ };
280
+ ".secure-payment-form .link-button": {
281
+ display: string;
282
+ "flex-direction": string;
283
+ "align-items": string;
284
+ background: string;
285
+ border: string;
286
+ color: string;
287
+ "font-style": string;
288
+ "font-weight": string;
289
+ "line-height": string;
290
+ "font-size": string;
291
+ padding: string;
292
+ cursor: string;
293
+ margin: string;
294
+ };
295
+ ".secure-payment-form .link-button:hover": {
296
+ color: string;
297
+ };
298
+ ".secure-payment-form .link-button:active": {
299
+ color: string;
300
+ };
301
+ ".secure-payment-form .link-button:focus": {
302
+ color: string;
303
+ border: string;
304
+ };
305
+ ".secure-payment-form .apms-redirecting-to-page": {
262
306
  "justify-content": string;
263
307
  height: string;
264
308
  display: string;
265
309
  "flex-direction": string;
266
310
  "align-items": string;
267
311
  };
268
- ".secure-payment-form .qr-code-redirecting-to-page-message"?: {
312
+ ".secure-payment-form .apms-redirecting-to-page-message": {
269
313
  color: string;
314
+ "font-family": string;
270
315
  "font-size": string;
271
316
  "line-height": string;
272
317
  };
@@ -286,6 +331,10 @@ export declare const parentStyles: (assetBaseUrl: string) => {
286
331
  height: string;
287
332
  margin: string;
288
333
  };
334
+ "#googlePay button:focus": {
335
+ outline: string;
336
+ "outline-offset": string;
337
+ };
289
338
  ".secure-payment-form .ctp-panel": {
290
339
  border: string;
291
340
  "box-shadow": string;
@@ -0,0 +1,191 @@
1
+ declare const _default: (assetBaseUrl: string) => {
2
+ ".secure-payment-form .credit-card-qr-code-payments"?: {
3
+ "font-family": string;
4
+ };
5
+ ".secure-payment-form .credit-card-qr-code-payments-target, .qr-code-payment-content, .qr-code-payment-countdown-timer"?: {
6
+ display: string;
7
+ "flex-direction": string;
8
+ "align-items": string;
9
+ };
10
+ ".secure-payment-form .qr-code-payment-methods-wrapper"?: {
11
+ width: string;
12
+ };
13
+ ".secure-payment-form .qr-code-payment-method-button"?: {
14
+ color: string;
15
+ height: string;
16
+ width: string;
17
+ "border-radius": string;
18
+ border: string;
19
+ margin: string;
20
+ cursor: string;
21
+ };
22
+ ".secure-payment-form .qr-code-payment-method-button:focus"?: {
23
+ outline: string;
24
+ "outline-offset": string;
25
+ };
26
+ ".secure-payment-form .qr-code-payment-method-alipayhk"?: {
27
+ "background-color": string;
28
+ border: string;
29
+ };
30
+ ".secure-payment-form .qr-code-payment-method-alipayhk:hover"?: {
31
+ "background-color": string;
32
+ border: string;
33
+ };
34
+ ".secure-payment-form .qr-code-payment-method-alipay"?: {
35
+ "background-color": string;
36
+ border: string;
37
+ };
38
+ ".secure-payment-form .qr-code-payment-method-alipay:hover"?: {
39
+ "background-color": string;
40
+ border: string;
41
+ };
42
+ ".secure-payment-form .qr-code-payment-method-wechat"?: {
43
+ "background-color": string;
44
+ border: string;
45
+ };
46
+ ".secure-payment-form .qr-code-payment-method-wechat:hover"?: {
47
+ "background-color": string;
48
+ border: string;
49
+ };
50
+ ".secure-payment-form .qr-code-payment-iframe-wrapper"?: {
51
+ display: string;
52
+ "flex-direction": string;
53
+ "align-items": string;
54
+ };
55
+ ".secure-payment-form .qr-code-payment-iframe"?: {
56
+ border: string;
57
+ width: string;
58
+ height: string;
59
+ };
60
+ ".secure-payment-form .qr-code-payment-content"?: {
61
+ "font-size": string;
62
+ "line-height": string;
63
+ width: string;
64
+ };
65
+ ".secure-payment-form .qr-code-payment-countdown-timer-message"?: {
66
+ color: string;
67
+ "font-size": string;
68
+ "line-height": string;
69
+ };
70
+ ".secure-payment-form .qr-code-payment-countdown-timer-clock img"?: {
71
+ "margin-right": string;
72
+ };
73
+ ".secure-payment-form .qr-code-payment-countdown-timer-clock"?: {
74
+ display: string;
75
+ "align-items": string;
76
+ color: string;
77
+ "font-size": string;
78
+ "line-height": string;
79
+ "font-weight": string;
80
+ "justify-content": string;
81
+ };
82
+ ".secure-payment-form .payment-amount"?: {
83
+ color: string;
84
+ "font-style": string;
85
+ "font-weight": string;
86
+ "line-height": string;
87
+ "font-size": string;
88
+ };
89
+ ".secure-payment-form .qr-code-expired-alert"?: {
90
+ display: string;
91
+ border: string;
92
+ height: string;
93
+ "margin-top": string;
94
+ };
95
+ ".secure-payment-form .qr-code-expired-alert-icon"?: {
96
+ background: string;
97
+ display: string;
98
+ "align-items": string;
99
+ "justify-content": string;
100
+ width: string;
101
+ };
102
+ ".secure-payment-form .qr-code-expired-alert-message"?: {
103
+ display: string;
104
+ "flex-direction": string;
105
+ "justify-content": string;
106
+ padding: string;
107
+ "font-size": string;
108
+ "line-height": string;
109
+ };
110
+ ".secure-payment-form .qr-code-expired-alert-message-title"?: {
111
+ color: string;
112
+ "font-size": string;
113
+ "line-height": string;
114
+ };
115
+ ".secure-payment-form .open-banking-button-wrapper": {
116
+ display: string;
117
+ "flex-direction": string;
118
+ "align-items": string;
119
+ };
120
+ ".secure-payment-form .open-banking-button::before": {
121
+ content: string;
122
+ width: string;
123
+ height: string;
124
+ position: string;
125
+ top: string;
126
+ right: string;
127
+ };
128
+ ".secure-payment-form .open-banking-button": {
129
+ position: string;
130
+ background: string;
131
+ color: string;
132
+ height: string;
133
+ width: string;
134
+ "border-radius": string;
135
+ border: string;
136
+ margin: string;
137
+ cursor: string;
138
+ "-webkit-box-shadow": string;
139
+ "-moz-box-shadow": string;
140
+ "box-shadow": string;
141
+ };
142
+ ".secure-payment-form .open-banking-button:hover": {
143
+ "border-color": string;
144
+ "-webkit-box-shadow": string;
145
+ "-moz-box-shadow": string;
146
+ "box-shadow": string;
147
+ };
148
+ ".secure-payment-form .open-banking-button:focus": {
149
+ outline: string;
150
+ "outline-offset": string;
151
+ };
152
+ ".secure-payment-form .link-button": {
153
+ display: string;
154
+ "flex-direction": string;
155
+ "align-items": string;
156
+ background: string;
157
+ border: string;
158
+ color: string;
159
+ "font-style": string;
160
+ "font-weight": string;
161
+ "line-height": string;
162
+ "font-size": string;
163
+ padding: string;
164
+ cursor: string;
165
+ margin: string;
166
+ };
167
+ ".secure-payment-form .link-button:hover": {
168
+ color: string;
169
+ };
170
+ ".secure-payment-form .link-button:active": {
171
+ color: string;
172
+ };
173
+ ".secure-payment-form .link-button:focus": {
174
+ color: string;
175
+ border: string;
176
+ };
177
+ ".secure-payment-form .apms-redirecting-to-page": {
178
+ "justify-content": string;
179
+ height: string;
180
+ display: string;
181
+ "flex-direction": string;
182
+ "align-items": string;
183
+ };
184
+ ".secure-payment-form .apms-redirecting-to-page-message": {
185
+ color: string;
186
+ "font-family": string;
187
+ "font-size": string;
188
+ "line-height": string;
189
+ };
190
+ };
191
+ export default _default;
@@ -0,0 +1,40 @@
1
+ declare const styles: (assetBaseUrl: string) => {
2
+ ".secure-payment-form .open-banking-button-wrapper": {
3
+ display: string;
4
+ "flex-direction": string;
5
+ "align-items": string;
6
+ };
7
+ ".secure-payment-form .open-banking-button::before": {
8
+ content: string;
9
+ width: string;
10
+ height: string;
11
+ position: string;
12
+ top: string;
13
+ right: string;
14
+ };
15
+ ".secure-payment-form .open-banking-button": {
16
+ position: string;
17
+ background: string;
18
+ color: string;
19
+ height: string;
20
+ width: string;
21
+ "border-radius": string;
22
+ border: string;
23
+ margin: string;
24
+ cursor: string;
25
+ "-webkit-box-shadow": string;
26
+ "-moz-box-shadow": string;
27
+ "box-shadow": string;
28
+ };
29
+ ".secure-payment-form .open-banking-button:hover": {
30
+ "border-color": string;
31
+ "-webkit-box-shadow": string;
32
+ "-moz-box-shadow": string;
33
+ "box-shadow": string;
34
+ };
35
+ ".secure-payment-form .open-banking-button:focus": {
36
+ outline: string;
37
+ "outline-offset": string;
38
+ };
39
+ };
40
+ export default styles;