@tap-payments/apple-pay-button 0.0.15-test → 0.0.16-test

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.
@@ -5,7 +5,7 @@ export declare const Scope: {
5
5
  export declare const ButtonStyle: {
6
6
  readonly Black: "black";
7
7
  readonly White: "white";
8
- readonly WhiteOutline: "whiteOutline";
8
+ readonly WhiteOutline: "white-outline";
9
9
  };
10
10
  export declare const Locale: {
11
11
  readonly EN: "en";
@@ -5,7 +5,7 @@ export var Scope = {
5
5
  export var ButtonStyle = {
6
6
  Black: 'black',
7
7
  White: 'white',
8
- WhiteOutline: 'whiteOutline'
8
+ WhiteOutline: 'white-outline'
9
9
  };
10
10
  export var Locale = {
11
11
  EN: 'en',
@@ -48,8 +48,9 @@ var ApplePay = React.memo(function (_a) {
48
48
  });
49
49
  }
50
50
  }, []);
51
- return (_jsx("button", { className: "button-applepay-tap ".concat(buttonStyle), style: {
52
- '-apple-pay-button-type': type
51
+ return (_jsx("button", { className: "button-applepay-tap", style: {
52
+ '-apple-pay-button-type': type,
53
+ '-apple-pay-button-style': buttonStyle
53
54
  }, onClick: function () {
54
55
  onApplePayButtonClicked();
55
56
  onClick === null || onClick === void 0 ? void 0 : onClick();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/apple-pay-button",
3
- "version": "0.0.15-test",
3
+ "version": "0.0.16-test",
4
4
  "description": "Apple Pay Button React Component",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.js",