@bigcommerce/checkout-sdk 1.359.0 → 1.360.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 +12 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +14 -0
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +22 -0
- package/docs/interfaces/BraintreeFormFieldKeyboardEventData.md +7 -0
- package/docs/interfaces/BraintreeFormFieldState.md +36 -0
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
- [BraintreeFormFieldCardTypeChangeEventData](interfaces/BraintreeFormFieldCardTypeChangeEventData.md)
|
|
112
112
|
- [BraintreeFormFieldKeyboardEventData](interfaces/BraintreeFormFieldKeyboardEventData.md)
|
|
113
113
|
- [BraintreeFormFieldOptions](interfaces/BraintreeFormFieldOptions.md)
|
|
114
|
+
- [BraintreeFormFieldState](interfaces/BraintreeFormFieldState.md)
|
|
114
115
|
- [BraintreeFormFieldStylesMap](interfaces/BraintreeFormFieldStylesMap.md)
|
|
115
116
|
- [BraintreeFormFieldValidateErrorData](interfaces/BraintreeFormFieldValidateErrorData.md)
|
|
116
117
|
- [BraintreeFormFieldValidateEventData](interfaces/BraintreeFormFieldValidateEventData.md)
|
|
@@ -398,6 +399,9 @@
|
|
|
398
399
|
- [AmazonPayV2ButtonInitializeOptions](README.md#amazonpayv2buttoninitializeoptions)
|
|
399
400
|
- [AmazonPayV2ButtonParameters](README.md#amazonpayv2buttonparameters)
|
|
400
401
|
- [AnalyticStepType](README.md#analyticsteptype)
|
|
402
|
+
- [BraintreeFormErrorData](README.md#braintreeformerrordata)
|
|
403
|
+
- [BraintreeFormErrorDataKeys](README.md#braintreeformerrordatakeys)
|
|
404
|
+
- [BraintreeFormErrorsData](README.md#braintreeformerrorsdata)
|
|
401
405
|
- [BraintreeFormFieldBlurEventData](README.md#braintreeformfieldblureventdata)
|
|
402
406
|
- [BraintreeFormFieldEnterEventData](README.md#braintreeformfieldentereventdata)
|
|
403
407
|
- [BraintreeFormFieldFocusEventData](README.md#braintreeformfieldfocuseventdata)
|
|
@@ -496,6 +500,24 @@ ___
|
|
|
496
500
|
|
|
497
501
|
___
|
|
498
502
|
|
|
503
|
+
### BraintreeFormErrorData
|
|
504
|
+
|
|
505
|
+
Ƭ **BraintreeFormErrorData**: [`Omit`](README.md#omit)<[`BraintreeFormFieldState`](interfaces/BraintreeFormFieldState.md), ``"isFocused"``\>
|
|
506
|
+
|
|
507
|
+
___
|
|
508
|
+
|
|
509
|
+
### BraintreeFormErrorDataKeys
|
|
510
|
+
|
|
511
|
+
Ƭ **BraintreeFormErrorDataKeys**: ``"number"`` \| ``"expirationDate"`` \| ``"expirationMonth"`` \| ``"expirationYear"`` \| ``"cvv"`` \| ``"postalCode"``
|
|
512
|
+
|
|
513
|
+
___
|
|
514
|
+
|
|
515
|
+
### BraintreeFormErrorsData
|
|
516
|
+
|
|
517
|
+
Ƭ **BraintreeFormErrorsData**: `Partial`<`Record`<[`BraintreeFormErrorDataKeys`](README.md#braintreeformerrordatakeys), [`BraintreeFormErrorData`](README.md#braintreeformerrordata)\>\>
|
|
518
|
+
|
|
519
|
+
___
|
|
520
|
+
|
|
499
521
|
### BraintreeFormFieldBlurEventData
|
|
500
522
|
|
|
501
523
|
Ƭ **BraintreeFormFieldBlurEventData**: [`BraintreeFormFieldKeyboardEventData`](interfaces/BraintreeFormFieldKeyboardEventData.md)
|
|
@@ -6,10 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
### Properties
|
|
8
8
|
|
|
9
|
+
- [errors](BraintreeFormFieldKeyboardEventData.md#errors)
|
|
9
10
|
- [fieldType](BraintreeFormFieldKeyboardEventData.md#fieldtype)
|
|
10
11
|
|
|
11
12
|
## Properties
|
|
12
13
|
|
|
14
|
+
### errors
|
|
15
|
+
|
|
16
|
+
• `Optional` **errors**: `Partial`<`Record`<[`BraintreeFormErrorDataKeys`](../README.md#braintreeformerrordatakeys), `Pick`<[`BraintreeFormFieldState`](BraintreeFormFieldState.md), ``"isEmpty"`` \| ``"isPotentiallyValid"`` \| ``"isValid"``\>\>\>
|
|
17
|
+
|
|
18
|
+
___
|
|
19
|
+
|
|
13
20
|
### fieldType
|
|
14
21
|
|
|
15
22
|
• **fieldType**: `string`
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreeFormFieldState
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreeFormFieldState
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [isEmpty](BraintreeFormFieldState.md#isempty)
|
|
10
|
+
- [isFocused](BraintreeFormFieldState.md#isfocused)
|
|
11
|
+
- [isPotentiallyValid](BraintreeFormFieldState.md#ispotentiallyvalid)
|
|
12
|
+
- [isValid](BraintreeFormFieldState.md#isvalid)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### isEmpty
|
|
17
|
+
|
|
18
|
+
• **isEmpty**: `boolean`
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### isFocused
|
|
23
|
+
|
|
24
|
+
• **isFocused**: `boolean`
|
|
25
|
+
|
|
26
|
+
___
|
|
27
|
+
|
|
28
|
+
### isPotentiallyValid
|
|
29
|
+
|
|
30
|
+
• **isPotentiallyValid**: `boolean`
|
|
31
|
+
|
|
32
|
+
___
|
|
33
|
+
|
|
34
|
+
### isValid
|
|
35
|
+
|
|
36
|
+
• **isValid**: `boolean`
|