@heliofi/checkout-react 3.0.0 → 4.0.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # Helio Checkout React
2
2
 
3
- - Documentation please visit https://docs.hel.io/developers/helio-checkout-widget
3
+ - Documentation please visit https://docs.hel.io/docs/checkout-widget
4
4
  - Demo: https://demo.hel.io
@@ -1,5 +1,4 @@
1
1
  import { BlockchainSymbol } from '@heliofi/common';
2
- import { JSX as JSX_2 } from 'react/jsx-runtime';
3
2
 
4
3
  mainButtonTitle?: string;
5
4
  payButtonTitle?: string;
@@ -8,7 +7,7 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
8
7
 
9
8
 
10
9
 
11
- export declare const HelioCheckout: (props: HelioCheckoutReactProps) => JSX_2.Element;
10
+ export declare const HelioCheckout: (props: HelioCheckoutReactProps) => JSX.Element;
12
11
 
13
12
  config: HelioEmbedConfig;
14
13
  }
@@ -29,6 +28,7 @@ export declare const HelioCheckout: (props: HelioCheckoutReactProps) => JSX_2.El
29
28
  additionalJSON?: Json;
30
29
  primaryColor?: string;
31
30
  neutralColor?: string;
31
+ backgroundColor?: string;
32
32
  showPayWithCard?: boolean;
33
33
  onSuccess?: (event: {
34
34
  data: unknown;
@@ -56,21 +56,29 @@ export declare const HelioCheckout: (props: HelioCheckoutReactProps) => JSX_2.El
56
56
 
57
57
  themeMode: EmbedThemeMode;
58
58
  colors?: {
59
+ /** @deprecated - for internal use only */
59
60
  primaryButtonBackground?: string;
60
61
  /** @deprecated - for internal use only */
61
62
  primaryButtonBackgroundHover?: string;
63
+ /** @deprecated - for internal use only */
62
64
  primaryButtonText?: string;
65
+ /** @deprecated - for internal use only */
63
66
  backgroundLoadingModal?: string;
67
+ /** @deprecated - for internal use only */
64
68
  backgroundPrimary?: string;
69
+ /** @deprecated - for internal use only */
65
70
  textPriceBanner?: string;
71
+ /** @deprecated - for internal use only */
66
72
  backgroundContainer?: string;
73
+ /** @deprecated - for internal use only */
67
74
  backgroundSecondary?: string;
68
- primaryButtonShadow?: string;
75
+ /** @deprecated - for internal use only */
69
76
  backgroundDashboard?: string;
70
77
  /** @deprecated - for internal use only */
71
78
  shadowPrimaryGray?: string;
72
- shadowWalletButton?: string;
79
+ /** @deprecated - for internal use only */
73
80
  textLabel?: string;
81
+ /** @deprecated - for internal use only */
74
82
  iconFillColor?: string;
75
83
  };
76
84
  }