@bigcommerce/checkout-sdk 1.330.1 → 1.332.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/checkout-button.d.ts +76 -67
  3. package/dist/checkout-button.js +1 -1
  4. package/dist/checkout-button.js.map +1 -1
  5. package/dist/checkout-button.umd.js +1 -1
  6. package/dist/checkout-button.umd.js.map +1 -1
  7. package/dist/checkout-sdk.d.ts +76 -67
  8. package/dist/checkout-sdk.js +1 -1
  9. package/dist/checkout-sdk.js.map +1 -1
  10. package/dist/checkout-sdk.umd.js +1 -1
  11. package/dist/checkout-sdk.umd.js.map +1 -1
  12. package/docs/README.md +9 -8
  13. package/docs/enums/PaypalStyleButtonColor.md +43 -0
  14. package/docs/enums/PaypalStyleButtonLabel.md +43 -0
  15. package/docs/enums/PaypalStyleButtonLayout.md +22 -0
  16. package/docs/enums/PaypalStyleButtonShape.md +22 -0
  17. package/docs/enums/StyleButtonColor.md +15 -15
  18. package/docs/enums/StyleButtonLabel.md +15 -15
  19. package/docs/enums/StyleButtonLayout.md +6 -6
  20. package/docs/enums/StyleButtonShape.md +6 -6
  21. package/docs/interfaces/BaseCheckoutButtonInitializeOptions.md +1 -1
  22. package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +1 -1
  23. package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +1 -1
  24. package/docs/interfaces/PayPalButtonStyleOptions.md +4 -4
  25. package/docs/interfaces/PaypalButtonInitializeOptions.md +1 -1
  26. package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +1 -1
  27. package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +1 -1
  28. package/docs/interfaces/PaypalCommerceCreditButtonInitializeOptions.md +1 -1
  29. package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +1 -1
  30. package/docs/interfaces/{PaypalButtonStyleOptions.md → PaypalStyleOptions.md} +10 -10
  31. package/docs/interfaces/PaypalStyleOptions_2.md +67 -0
  32. package/docs/interfaces/WithBuyNowFeature.md +23 -0
  33. package/package.json +1 -1
  34. package/docs/enums/StyleButtonColor_2.md +0 -43
  35. package/docs/enums/StyleButtonLabel_2.md +0 -43
  36. package/docs/enums/StyleButtonLayout_2.md +0 -22
  37. package/docs/enums/StyleButtonShape_2.md +0 -22
  38. package/docs/interfaces/PaypalButtonStyleOptions_2.md +0 -67
@@ -1,43 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / StyleButtonLabel_2
2
-
3
- # Enumeration: StyleButtonLabel\_2
4
-
5
- ## Table of contents
6
-
7
- ### Enumeration Members
8
-
9
- - [BUYNOW](StyleButtonLabel_2.md#buynow)
10
- - [CHECKOUT](StyleButtonLabel_2.md#checkout)
11
- - [INSTALLMENT](StyleButtonLabel_2.md#installment)
12
- - [PAY](StyleButtonLabel_2.md#pay)
13
- - [PAYPAL](StyleButtonLabel_2.md#paypal)
14
-
15
- ## Enumeration Members
16
-
17
- ### BUYNOW
18
-
19
- • **BUYNOW**
20
-
21
- ___
22
-
23
- ### CHECKOUT
24
-
25
- • **CHECKOUT**
26
-
27
- ___
28
-
29
- ### INSTALLMENT
30
-
31
- • **INSTALLMENT**
32
-
33
- ___
34
-
35
- ### PAY
36
-
37
- • **PAY**
38
-
39
- ___
40
-
41
- ### PAYPAL
42
-
43
- • **PAYPAL**
@@ -1,22 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / StyleButtonLayout_2
2
-
3
- # Enumeration: StyleButtonLayout\_2
4
-
5
- ## Table of contents
6
-
7
- ### Enumeration Members
8
-
9
- - [HORIZONTAL](StyleButtonLayout_2.md#horizontal)
10
- - [VERTICAL](StyleButtonLayout_2.md#vertical)
11
-
12
- ## Enumeration Members
13
-
14
- ### HORIZONTAL
15
-
16
- • **HORIZONTAL**
17
-
18
- ___
19
-
20
- ### VERTICAL
21
-
22
- • **VERTICAL**
@@ -1,22 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / StyleButtonShape_2
2
-
3
- # Enumeration: StyleButtonShape\_2
4
-
5
- ## Table of contents
6
-
7
- ### Enumeration Members
8
-
9
- - [PILL](StyleButtonShape_2.md#pill)
10
- - [RECT](StyleButtonShape_2.md#rect)
11
-
12
- ## Enumeration Members
13
-
14
- ### PILL
15
-
16
- • **PILL**
17
-
18
- ___
19
-
20
- ### RECT
21
-
22
- • **RECT**
@@ -1,67 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / PaypalButtonStyleOptions_2
2
-
3
- # Interface: PaypalButtonStyleOptions\_2
4
-
5
- ## Table of contents
6
-
7
- ### Properties
8
-
9
- - [color](PaypalButtonStyleOptions_2.md#color)
10
- - [custom](PaypalButtonStyleOptions_2.md#custom)
11
- - [height](PaypalButtonStyleOptions_2.md#height)
12
- - [label](PaypalButtonStyleOptions_2.md#label)
13
- - [layout](PaypalButtonStyleOptions_2.md#layout)
14
- - [shape](PaypalButtonStyleOptions_2.md#shape)
15
- - [tagline](PaypalButtonStyleOptions_2.md#tagline)
16
-
17
- ## Properties
18
-
19
- ### color
20
-
21
- • `Optional` **color**: [`gold`](../enums/StyleButtonColor.md#gold) \| [`blue`](../enums/StyleButtonColor.md#blue) \| [`silver`](../enums/StyleButtonColor.md#silver) \| [`black`](../enums/StyleButtonColor.md#black) \| [`white`](../enums/StyleButtonColor.md#white)
22
-
23
- ___
24
-
25
- ### custom
26
-
27
- • `Optional` **custom**: `Object`
28
-
29
- #### Type declaration
30
-
31
- | Name | Type |
32
- | :------ | :------ |
33
- | `css?` | `Object` |
34
- | `css.background?` | `string` |
35
- | `css.color?` | `string` |
36
- | `css.width?` | `string` |
37
- | `label?` | `string` |
38
-
39
- ___
40
-
41
- ### height
42
-
43
- • `Optional` **height**: `number`
44
-
45
- ___
46
-
47
- ### label
48
-
49
- • `Optional` **label**: [`paypal`](../enums/StyleButtonLabel.md#paypal) \| [`checkout`](../enums/StyleButtonLabel.md#checkout) \| [`buynow`](../enums/StyleButtonLabel.md#buynow) \| [`pay`](../enums/StyleButtonLabel.md#pay) \| [`installment`](../enums/StyleButtonLabel.md#installment)
50
-
51
- ___
52
-
53
- ### layout
54
-
55
- • `Optional` **layout**: [`vertical`](../enums/StyleButtonLayout.md#vertical) \| [`horizontal`](../enums/StyleButtonLayout.md#horizontal)
56
-
57
- ___
58
-
59
- ### shape
60
-
61
- • `Optional` **shape**: [`pill`](../enums/StyleButtonShape.md#pill) \| [`rect`](../enums/StyleButtonShape.md#rect)
62
-
63
- ___
64
-
65
- ### tagline
66
-
67
- • `Optional` **tagline**: `boolean`