@flopay/react 1.1.3 → 1.1.5

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/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FloPay, FloPayElements } from '@flopay/js';
3
3
  import * as _flopay_shared from '@flopay/shared';
4
- import { FloPayAppearance, InlineSessionDraft, FloPayError, PaymentResult, DeclineEvent, CheckoutButtonMethod, BeforeButtonClickEvent, InlineSessionPatch, CheckoutMode, CheckoutSession, ElementOptions, ElementChangeEvent, TokenizedBody, AVSFieldConfig, GatewayEnvironment, CheckoutItem, CheckoutSubscription, ButtonsLayoutTheme, ButtonsLayoutStyles } from '@flopay/shared';
4
+ import { FloPayAppearance, InlineSessionDraft, FloPayError, PaymentResult, DeclineEvent, CheckoutButtonMethod, BeforeButtonClickEvent, InlineSessionPatch, CheckoutMode, CheckoutSession, ElementOptions, ElementChangeEvent, TokenizedBody, AVSFieldConfig, GatewayEnvironment, CheckoutItem, CheckoutSubscription, ThemeId, ButtonsLayoutTheme, ButtonsLayoutStyles } from '@flopay/shared';
5
5
  export { BeforeButtonClickEvent, CheckoutButtonMethod, DeclineEvent, InlineSessionDraft, InlineSessionPatch } from '@flopay/shared';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
 
@@ -92,9 +92,22 @@ interface FloPayCheckoutProps {
92
92
  debug?: boolean;
93
93
  /** Layout mode: 'default' (all visible) or 'buttons' (PayPal/wallets + expandable card form). */
94
94
  layout?: 'default' | 'buttons';
95
- /** Theme preset for the buttons layout: 'default', 'minimal', 'rounded', or 'dark'. */
95
+ /**
96
+ * High-level theme bundle that styles both the Stripe-side appearance and
97
+ * the FloPay wrapper / submit / inputs. One of: `'classic'` (historic FloPay
98
+ * look, no bundle applied), `'modern-light'`, `'modern-dark'`,
99
+ * `'bold-light'`, `'bold-dark'`, `'glass-light'`, `'glass-dark'`. Explicit
100
+ * `appearance` / `buttonsStyles` props still override their respective
101
+ * halves when supplied.
102
+ */
103
+ theme?: _flopay_shared.ThemeId;
104
+ /**
105
+ * @deprecated Use `theme` instead. Legacy buttons-layout preset
106
+ * (`'default' | 'minimal' | 'rounded' | 'dark'`). Still honored for
107
+ * back-compat.
108
+ */
96
109
  buttonsTheme?: _flopay_shared.ButtonsLayoutTheme;
97
- /** Custom style overrides for the buttons layout. Merged on top of the theme preset. */
110
+ /** Style overrides merged on top of the resolved theme bundle / buttonsTheme preset. */
98
111
  buttonsStyles?: _flopay_shared.ButtonsLayoutStyles;
99
112
  /** Custom React content rendered inside the card button when `layout="buttons"`. */
100
113
  cardButtonContent?: React.ReactNode;
@@ -102,7 +115,11 @@ interface FloPayCheckoutProps {
102
115
  cardBackButtonContent?: React.ReactNode;
103
116
  /** Custom React content rendered for the card-form title. */
104
117
  cardTitleContent?: React.ReactNode;
105
- /** Whether to show the default security footer in `layout="default"`. Defaults to `true`. */
118
+ /**
119
+ * @deprecated No longer rendered — the default-layout security footer was
120
+ * removed alongside the theme-bundle refactor. Retained as an optional
121
+ * prop so existing integrations type-check without changes.
122
+ */
106
123
  showSecurityFooter?: boolean;
107
124
  /**
108
125
  * Called when a payment method button is clicked.
@@ -176,7 +193,7 @@ interface FloPayCheckoutProps {
176
193
  * />
177
194
  * ```
178
195
  */
179
- declare function FloPayCheckout({ sessionId: sessionIdProp, createSession: createSessionParams, billingApiUrl, appearance, locale, loading: loadingNode, error: errorNode, onComplete, onError, onDecline, onFullNameChange, onCountryChange, onZipChange, showPayPal, showApplePay, showGooglePay, debug, layout, buttonsTheme, buttonsStyles, cardButtonContent, cardBackButtonContent, cardTitleContent, showSecurityFooter, onButtonClick, onBeforeButtonClick, enableAVS, avsLayout, submitLabel, className, initialErrorMessage, children, checkoutMode: checkoutModeProp, confirmLabel, renderConfirmButton, onSessionCompleted, }: FloPayCheckoutProps): React.ReactElement;
196
+ declare function FloPayCheckout({ sessionId: sessionIdProp, createSession: createSessionParams, billingApiUrl, appearance: appearanceOverride, locale, loading: loadingNode, error: errorNode, onComplete, onError, onDecline, onFullNameChange, onCountryChange, onZipChange, showPayPal, showApplePay, showGooglePay, debug, layout, theme, buttonsTheme, buttonsStyles, cardButtonContent, cardBackButtonContent, cardTitleContent, showSecurityFooter: _showSecurityFooter, onButtonClick, onBeforeButtonClick, enableAVS, avsLayout, submitLabel, className, initialErrorMessage, children, checkoutMode: checkoutModeProp, confirmLabel, renderConfirmButton, onSessionCompleted, }: FloPayCheckoutProps): React.ReactElement;
180
197
 
181
198
  /**
182
199
  * Returns the current `FloPay` instance, or `null` if the provider
@@ -422,22 +439,42 @@ interface SplitCardFormProps {
422
439
  */
423
440
  layout?: 'default' | 'buttons';
424
441
  /**
425
- * Theme preset for the `buttons` layout. Ignored when `layout` is `'default'`.
426
- * - `'default'` white card button, neutral borders
427
- * - `'minimal'` borderless, subtle backgrounds
428
- * - `'rounded'` — large border radius, soft shadows
429
- * - `'dark'` dark backgrounds, light text
442
+ * High-level theme bundle that styles the whole checkout (Stripe-side
443
+ * appearance + FloPay wrapper / submit button / inputs). One of:
444
+ * `'classic'` (historic FloPay look, no bundle applied), `'modern-light'`,
445
+ * `'modern-dark'`, `'bold-light'`, `'bold-dark'`, `'glass-light'`,
446
+ * `'glass-dark'`. Explicit `appearance` / `buttonsStyles` props still
447
+ * override their respective halves when provided.
448
+ */
449
+ theme?: _flopay_shared.ThemeId;
450
+ /**
451
+ * @deprecated Use `theme` instead. Legacy buttons-layout preset
452
+ * (`'default' | 'minimal' | 'rounded' | 'dark'`). Still honored for
453
+ * back-compat — the new union accepts the bundle ids too but you should
454
+ * migrate to the `theme` prop.
430
455
  */
431
456
  buttonsTheme?: _flopay_shared.ButtonsLayoutTheme;
432
- /** Custom style overrides for the `buttons` layout. Merged on top of the theme preset. */
457
+ /** Style overrides merged on top of the resolved theme bundle / buttonsTheme preset. */
433
458
  buttonsStyles?: _flopay_shared.ButtonsLayoutStyles;
459
+ /**
460
+ * Appearance from `FloPayProvider` / `FloPayCheckout`. Threaded through so
461
+ * the React-rendered wrapper, submit button, title, and per-element card
462
+ * field styling can derive colors from `appearance.variables` when no
463
+ * explicit `buttonsStyles` is supplied. Bundle consumers (`THEMES[id]`) get
464
+ * a coherent look without having to forward both halves manually.
465
+ */
466
+ appearance?: _flopay_shared.FloPayAppearance;
434
467
  /** Custom React content rendered inside the card button when `layout="buttons"`. */
435
468
  cardButtonContent?: React.ReactNode;
436
469
  /** Custom React content rendered for the buttons-layout card back button label. */
437
470
  cardBackButtonContent?: React.ReactNode;
438
471
  /** Custom React content rendered for the card-form title. */
439
472
  cardTitleContent?: React.ReactNode;
440
- /** Whether to show the default security footer in `layout="default"`. Defaults to `true`. */
473
+ /**
474
+ * @deprecated No longer rendered — the default-layout security footer was
475
+ * removed alongside the theme-bundle refactor. Retained as an optional
476
+ * prop so existing integrations type-check without changes.
477
+ */
441
478
  showSecurityFooter?: boolean;
442
479
  /**
443
480
  * Called when a payment method button is clicked.
@@ -684,7 +721,19 @@ interface FloPayAutomaticPaymentSuccessEvent {
684
721
  interface FloPayAutomaticPaymentButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onError'> {
685
722
  sessionId?: string;
686
723
  createSession?: InlineSessionDraft;
724
+ /**
725
+ * @deprecated Ignored. The backend now picks the customer's most recent
726
+ * vaulted payment method via `getLatestByUserId` and rebinds the session's
727
+ * gateway to match it (see `apps/api`'s `createSingle` auto-checkout
728
+ * branch). Passing this prop has no effect — it is retained only to avoid
729
+ * breaking existing integrations.
730
+ */
687
731
  paymentMethodId?: string;
732
+ /**
733
+ * @deprecated Ignored. The backend orchestrates gateway routing — clients
734
+ * no longer choose between card and PayPal at the SDK boundary. Passing
735
+ * this prop has no effect.
736
+ */
688
737
  checkoutMethod?: CheckoutButtonMethod;
689
738
  clientId?: string;
690
739
  items?: CheckoutItem[];
@@ -697,6 +746,19 @@ interface FloPayAutomaticPaymentButtonProps extends Omit<React.ButtonHTMLAttribu
697
746
  utmMetadata?: InlineSessionDraft['utmMetadata'];
698
747
  billingApiUrl?: string;
699
748
  locale?: string;
749
+ /**
750
+ * High-level theme bundle that styles the button (and the fallback
751
+ * `FloPayCheckout` modal that opens when the saved-payment charge needs
752
+ * user interaction). One of: `'classic'`, `'modern-light'`, `'modern-dark'`,
753
+ * `'bold-light'`, `'bold-dark'`, `'glass-light'`, `'glass-dark'`. Explicit
754
+ * `buttonsStyles` still wins for fine-grained overrides.
755
+ */
756
+ theme?: ThemeId;
757
+ /**
758
+ * @deprecated Use `theme` instead. Legacy buttons-layout preset
759
+ * (`'default' | 'minimal' | 'rounded' | 'dark'`). Still honored for
760
+ * back-compat.
761
+ */
700
762
  buttonsTheme?: ButtonsLayoutTheme;
701
763
  buttonsStyles?: ButtonsLayoutStyles;
702
764
  onSuccess?: (event: FloPayAutomaticPaymentSuccessEvent) => void;
@@ -704,6 +766,6 @@ interface FloPayAutomaticPaymentButtonProps extends Omit<React.ButtonHTMLAttribu
704
766
  onDecline?: (decline: DeclineEvent) => void;
705
767
  children?: React.ReactNode;
706
768
  }
707
- declare function FloPayAutomaticPaymentButton({ sessionId, createSession, paymentMethodId, checkoutMethod, clientId, items, subscriptions, account, successUrl, cancelUrl, couponCodes, tagsData, utmMetadata, billingApiUrl, locale, buttonsTheme, buttonsStyles: stylesOverride, onSuccess, onError, onDecline, children, disabled, type, style, ...buttonProps }: FloPayAutomaticPaymentButtonProps): react_jsx_runtime.JSX.Element;
769
+ declare function FloPayAutomaticPaymentButton({ sessionId, createSession, paymentMethodId: _deprecatedPaymentMethodId, checkoutMethod: _deprecatedCheckoutMethod, clientId, items, subscriptions, account, successUrl, cancelUrl, couponCodes, tagsData, utmMetadata, billingApiUrl, locale, theme, buttonsTheme, buttonsStyles: stylesOverride, onSuccess, onError, onDecline, children, disabled, type, style, ...buttonProps }: FloPayAutomaticPaymentButtonProps): react_jsx_runtime.JSX.Element;
708
770
 
709
771
  export { AddressElement, CardCvcElement, CardElement, CardExpiryElement, CardNumberElement, CheckoutForm, type CheckoutFormProps, type CheckoutFormRef, type CheckoutState, DirectPayPalButton, type DirectPayPalButtonProps, type ElementComponentProps, FloPayAutomaticPaymentButton, type FloPayAutomaticPaymentButtonProps, type FloPayAutomaticPaymentSuccessEvent, FloPayCheckout, type FloPayCheckoutProps, FloPayProvider, type FloPayProviderProps, PayPalButton, type PayPalButtonProps, PaymentElement, SplitCardForm, type SplitCardFormProps, type SplitCardFormRef, useCheckout, useElements, useFloPay, usePayPalFloPay };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FloPay, FloPayElements } from '@flopay/js';
3
3
  import * as _flopay_shared from '@flopay/shared';
4
- import { FloPayAppearance, InlineSessionDraft, FloPayError, PaymentResult, DeclineEvent, CheckoutButtonMethod, BeforeButtonClickEvent, InlineSessionPatch, CheckoutMode, CheckoutSession, ElementOptions, ElementChangeEvent, TokenizedBody, AVSFieldConfig, GatewayEnvironment, CheckoutItem, CheckoutSubscription, ButtonsLayoutTheme, ButtonsLayoutStyles } from '@flopay/shared';
4
+ import { FloPayAppearance, InlineSessionDraft, FloPayError, PaymentResult, DeclineEvent, CheckoutButtonMethod, BeforeButtonClickEvent, InlineSessionPatch, CheckoutMode, CheckoutSession, ElementOptions, ElementChangeEvent, TokenizedBody, AVSFieldConfig, GatewayEnvironment, CheckoutItem, CheckoutSubscription, ThemeId, ButtonsLayoutTheme, ButtonsLayoutStyles } from '@flopay/shared';
5
5
  export { BeforeButtonClickEvent, CheckoutButtonMethod, DeclineEvent, InlineSessionDraft, InlineSessionPatch } from '@flopay/shared';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
 
@@ -92,9 +92,22 @@ interface FloPayCheckoutProps {
92
92
  debug?: boolean;
93
93
  /** Layout mode: 'default' (all visible) or 'buttons' (PayPal/wallets + expandable card form). */
94
94
  layout?: 'default' | 'buttons';
95
- /** Theme preset for the buttons layout: 'default', 'minimal', 'rounded', or 'dark'. */
95
+ /**
96
+ * High-level theme bundle that styles both the Stripe-side appearance and
97
+ * the FloPay wrapper / submit / inputs. One of: `'classic'` (historic FloPay
98
+ * look, no bundle applied), `'modern-light'`, `'modern-dark'`,
99
+ * `'bold-light'`, `'bold-dark'`, `'glass-light'`, `'glass-dark'`. Explicit
100
+ * `appearance` / `buttonsStyles` props still override their respective
101
+ * halves when supplied.
102
+ */
103
+ theme?: _flopay_shared.ThemeId;
104
+ /**
105
+ * @deprecated Use `theme` instead. Legacy buttons-layout preset
106
+ * (`'default' | 'minimal' | 'rounded' | 'dark'`). Still honored for
107
+ * back-compat.
108
+ */
96
109
  buttonsTheme?: _flopay_shared.ButtonsLayoutTheme;
97
- /** Custom style overrides for the buttons layout. Merged on top of the theme preset. */
110
+ /** Style overrides merged on top of the resolved theme bundle / buttonsTheme preset. */
98
111
  buttonsStyles?: _flopay_shared.ButtonsLayoutStyles;
99
112
  /** Custom React content rendered inside the card button when `layout="buttons"`. */
100
113
  cardButtonContent?: React.ReactNode;
@@ -102,7 +115,11 @@ interface FloPayCheckoutProps {
102
115
  cardBackButtonContent?: React.ReactNode;
103
116
  /** Custom React content rendered for the card-form title. */
104
117
  cardTitleContent?: React.ReactNode;
105
- /** Whether to show the default security footer in `layout="default"`. Defaults to `true`. */
118
+ /**
119
+ * @deprecated No longer rendered — the default-layout security footer was
120
+ * removed alongside the theme-bundle refactor. Retained as an optional
121
+ * prop so existing integrations type-check without changes.
122
+ */
106
123
  showSecurityFooter?: boolean;
107
124
  /**
108
125
  * Called when a payment method button is clicked.
@@ -176,7 +193,7 @@ interface FloPayCheckoutProps {
176
193
  * />
177
194
  * ```
178
195
  */
179
- declare function FloPayCheckout({ sessionId: sessionIdProp, createSession: createSessionParams, billingApiUrl, appearance, locale, loading: loadingNode, error: errorNode, onComplete, onError, onDecline, onFullNameChange, onCountryChange, onZipChange, showPayPal, showApplePay, showGooglePay, debug, layout, buttonsTheme, buttonsStyles, cardButtonContent, cardBackButtonContent, cardTitleContent, showSecurityFooter, onButtonClick, onBeforeButtonClick, enableAVS, avsLayout, submitLabel, className, initialErrorMessage, children, checkoutMode: checkoutModeProp, confirmLabel, renderConfirmButton, onSessionCompleted, }: FloPayCheckoutProps): React.ReactElement;
196
+ declare function FloPayCheckout({ sessionId: sessionIdProp, createSession: createSessionParams, billingApiUrl, appearance: appearanceOverride, locale, loading: loadingNode, error: errorNode, onComplete, onError, onDecline, onFullNameChange, onCountryChange, onZipChange, showPayPal, showApplePay, showGooglePay, debug, layout, theme, buttonsTheme, buttonsStyles, cardButtonContent, cardBackButtonContent, cardTitleContent, showSecurityFooter: _showSecurityFooter, onButtonClick, onBeforeButtonClick, enableAVS, avsLayout, submitLabel, className, initialErrorMessage, children, checkoutMode: checkoutModeProp, confirmLabel, renderConfirmButton, onSessionCompleted, }: FloPayCheckoutProps): React.ReactElement;
180
197
 
181
198
  /**
182
199
  * Returns the current `FloPay` instance, or `null` if the provider
@@ -422,22 +439,42 @@ interface SplitCardFormProps {
422
439
  */
423
440
  layout?: 'default' | 'buttons';
424
441
  /**
425
- * Theme preset for the `buttons` layout. Ignored when `layout` is `'default'`.
426
- * - `'default'` white card button, neutral borders
427
- * - `'minimal'` borderless, subtle backgrounds
428
- * - `'rounded'` — large border radius, soft shadows
429
- * - `'dark'` dark backgrounds, light text
442
+ * High-level theme bundle that styles the whole checkout (Stripe-side
443
+ * appearance + FloPay wrapper / submit button / inputs). One of:
444
+ * `'classic'` (historic FloPay look, no bundle applied), `'modern-light'`,
445
+ * `'modern-dark'`, `'bold-light'`, `'bold-dark'`, `'glass-light'`,
446
+ * `'glass-dark'`. Explicit `appearance` / `buttonsStyles` props still
447
+ * override their respective halves when provided.
448
+ */
449
+ theme?: _flopay_shared.ThemeId;
450
+ /**
451
+ * @deprecated Use `theme` instead. Legacy buttons-layout preset
452
+ * (`'default' | 'minimal' | 'rounded' | 'dark'`). Still honored for
453
+ * back-compat — the new union accepts the bundle ids too but you should
454
+ * migrate to the `theme` prop.
430
455
  */
431
456
  buttonsTheme?: _flopay_shared.ButtonsLayoutTheme;
432
- /** Custom style overrides for the `buttons` layout. Merged on top of the theme preset. */
457
+ /** Style overrides merged on top of the resolved theme bundle / buttonsTheme preset. */
433
458
  buttonsStyles?: _flopay_shared.ButtonsLayoutStyles;
459
+ /**
460
+ * Appearance from `FloPayProvider` / `FloPayCheckout`. Threaded through so
461
+ * the React-rendered wrapper, submit button, title, and per-element card
462
+ * field styling can derive colors from `appearance.variables` when no
463
+ * explicit `buttonsStyles` is supplied. Bundle consumers (`THEMES[id]`) get
464
+ * a coherent look without having to forward both halves manually.
465
+ */
466
+ appearance?: _flopay_shared.FloPayAppearance;
434
467
  /** Custom React content rendered inside the card button when `layout="buttons"`. */
435
468
  cardButtonContent?: React.ReactNode;
436
469
  /** Custom React content rendered for the buttons-layout card back button label. */
437
470
  cardBackButtonContent?: React.ReactNode;
438
471
  /** Custom React content rendered for the card-form title. */
439
472
  cardTitleContent?: React.ReactNode;
440
- /** Whether to show the default security footer in `layout="default"`. Defaults to `true`. */
473
+ /**
474
+ * @deprecated No longer rendered — the default-layout security footer was
475
+ * removed alongside the theme-bundle refactor. Retained as an optional
476
+ * prop so existing integrations type-check without changes.
477
+ */
441
478
  showSecurityFooter?: boolean;
442
479
  /**
443
480
  * Called when a payment method button is clicked.
@@ -684,7 +721,19 @@ interface FloPayAutomaticPaymentSuccessEvent {
684
721
  interface FloPayAutomaticPaymentButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onError'> {
685
722
  sessionId?: string;
686
723
  createSession?: InlineSessionDraft;
724
+ /**
725
+ * @deprecated Ignored. The backend now picks the customer's most recent
726
+ * vaulted payment method via `getLatestByUserId` and rebinds the session's
727
+ * gateway to match it (see `apps/api`'s `createSingle` auto-checkout
728
+ * branch). Passing this prop has no effect — it is retained only to avoid
729
+ * breaking existing integrations.
730
+ */
687
731
  paymentMethodId?: string;
732
+ /**
733
+ * @deprecated Ignored. The backend orchestrates gateway routing — clients
734
+ * no longer choose between card and PayPal at the SDK boundary. Passing
735
+ * this prop has no effect.
736
+ */
688
737
  checkoutMethod?: CheckoutButtonMethod;
689
738
  clientId?: string;
690
739
  items?: CheckoutItem[];
@@ -697,6 +746,19 @@ interface FloPayAutomaticPaymentButtonProps extends Omit<React.ButtonHTMLAttribu
697
746
  utmMetadata?: InlineSessionDraft['utmMetadata'];
698
747
  billingApiUrl?: string;
699
748
  locale?: string;
749
+ /**
750
+ * High-level theme bundle that styles the button (and the fallback
751
+ * `FloPayCheckout` modal that opens when the saved-payment charge needs
752
+ * user interaction). One of: `'classic'`, `'modern-light'`, `'modern-dark'`,
753
+ * `'bold-light'`, `'bold-dark'`, `'glass-light'`, `'glass-dark'`. Explicit
754
+ * `buttonsStyles` still wins for fine-grained overrides.
755
+ */
756
+ theme?: ThemeId;
757
+ /**
758
+ * @deprecated Use `theme` instead. Legacy buttons-layout preset
759
+ * (`'default' | 'minimal' | 'rounded' | 'dark'`). Still honored for
760
+ * back-compat.
761
+ */
700
762
  buttonsTheme?: ButtonsLayoutTheme;
701
763
  buttonsStyles?: ButtonsLayoutStyles;
702
764
  onSuccess?: (event: FloPayAutomaticPaymentSuccessEvent) => void;
@@ -704,6 +766,6 @@ interface FloPayAutomaticPaymentButtonProps extends Omit<React.ButtonHTMLAttribu
704
766
  onDecline?: (decline: DeclineEvent) => void;
705
767
  children?: React.ReactNode;
706
768
  }
707
- declare function FloPayAutomaticPaymentButton({ sessionId, createSession, paymentMethodId, checkoutMethod, clientId, items, subscriptions, account, successUrl, cancelUrl, couponCodes, tagsData, utmMetadata, billingApiUrl, locale, buttonsTheme, buttonsStyles: stylesOverride, onSuccess, onError, onDecline, children, disabled, type, style, ...buttonProps }: FloPayAutomaticPaymentButtonProps): react_jsx_runtime.JSX.Element;
769
+ declare function FloPayAutomaticPaymentButton({ sessionId, createSession, paymentMethodId: _deprecatedPaymentMethodId, checkoutMethod: _deprecatedCheckoutMethod, clientId, items, subscriptions, account, successUrl, cancelUrl, couponCodes, tagsData, utmMetadata, billingApiUrl, locale, theme, buttonsTheme, buttonsStyles: stylesOverride, onSuccess, onError, onDecline, children, disabled, type, style, ...buttonProps }: FloPayAutomaticPaymentButtonProps): react_jsx_runtime.JSX.Element;
708
770
 
709
771
  export { AddressElement, CardCvcElement, CardElement, CardExpiryElement, CardNumberElement, CheckoutForm, type CheckoutFormProps, type CheckoutFormRef, type CheckoutState, DirectPayPalButton, type DirectPayPalButtonProps, type ElementComponentProps, FloPayAutomaticPaymentButton, type FloPayAutomaticPaymentButtonProps, type FloPayAutomaticPaymentSuccessEvent, FloPayCheckout, type FloPayCheckoutProps, FloPayProvider, type FloPayProviderProps, PayPalButton, type PayPalButtonProps, PaymentElement, SplitCardForm, type SplitCardFormProps, type SplitCardFormRef, useCheckout, useElements, useFloPay, usePayPalFloPay };