@unifold/ui-react 0.1.38 → 0.1.40

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.mts CHANGED
@@ -32,6 +32,12 @@ interface UseDepositPollingOptions {
32
32
  error?: unknown;
33
33
  code?: string;
34
34
  }) => void;
35
+ /**
36
+ * When true (with `depositWalletId`), enables `pollDirectExecutions` as soon as `enabled`
37
+ * becomes true — no 10s delay. Use when polling only starts after the on-chain tx is sent
38
+ * (e.g. browser wallet confirming step).
39
+ */
40
+ immediateDirectPolling?: boolean;
35
41
  }
36
42
  interface UseDepositPollingResult {
37
43
  executions: AutoSwapResponse[];
@@ -43,7 +49,49 @@ interface UseDepositPollingResult {
43
49
  /** Call this when user clicks "I've made the deposit" (manual mode) */
44
50
  handleIveDeposited: () => void;
45
51
  }
46
- declare function useDepositPolling({ userId, publishableKey, depositConfirmationMode, depositWalletId, enabled, onDepositSuccess, onDepositError, }: UseDepositPollingOptions): UseDepositPollingResult;
52
+ declare function useDepositPolling({ userId, publishableKey, depositConfirmationMode, depositWalletId, enabled, immediateDirectPolling, onDepositSuccess, onDepositError, }: UseDepositPollingOptions): UseDepositPollingResult;
53
+
54
+ declare global {
55
+ interface Window {
56
+ phantom?: {
57
+ solana?: PhantomSolanaProvider;
58
+ ethereum?: EthereumProvider;
59
+ };
60
+ solana?: PhantomSolanaProvider;
61
+ ethereum?: EthereumProvider;
62
+ }
63
+ }
64
+ interface PhantomSolanaProvider {
65
+ isPhantom?: boolean;
66
+ isConnected?: boolean;
67
+ publicKey?: {
68
+ toString(): string;
69
+ };
70
+ connect(opts?: {
71
+ onlyIfTrusted?: boolean;
72
+ }): Promise<{
73
+ publicKey: {
74
+ toString(): string;
75
+ };
76
+ }>;
77
+ disconnect(): Promise<void>;
78
+ on(event: string, callback: (...args: unknown[]) => void): void;
79
+ off(event: string, callback: (...args: unknown[]) => void): void;
80
+ }
81
+ interface EthereumProvider {
82
+ isMetaMask?: boolean;
83
+ isPhantom?: boolean;
84
+ selectedAddress?: string;
85
+ request(args: {
86
+ method: string;
87
+ params?: unknown[];
88
+ }): Promise<unknown>;
89
+ on(event: string, callback: (...args: unknown[]) => void): void;
90
+ removeListener(event: string, callback: (...args: unknown[]) => void): void;
91
+ }
92
+
93
+ /** Quick amount chips on the browser wallet "Enter amount" step */
94
+ type BrowserWalletAmountQuickSelect = "usd" | "percentage";
47
95
 
48
96
  type DepositModalInitialScreen = "main" | "transfer" | "card" | "tracker";
49
97
  interface DepositModalProps {
@@ -80,6 +128,11 @@ interface DepositModalProps {
80
128
  depositConfirmationMode?: DepositConfirmationMode;
81
129
  /** Enable browser wallet connection option. Defaults to false */
82
130
  enableConnectWallet?: boolean;
131
+ /**
132
+ * Connect Wallet → Enter amount: percentage chips (10%, 25%, 50%, 75%, MAX) from USD balance, or fixed USD ($25…).
133
+ * @default "percentage"
134
+ */
135
+ browserWalletAmountQuickSelect?: BrowserWalletAmountQuickSelect;
83
136
  /** Enable "Pay with Exchange" option. Overrides dashboard default. Defaults to dashboard value or true. */
84
137
  enablePayWithExchange?: boolean;
85
138
  /** Deposit with Card — onramp step: hide the You use / You buy / You receive card. @default false */
@@ -102,7 +155,7 @@ interface DepositModalProps {
102
155
  /** First screen when the modal opens. Default `main` (deposit menu). */
103
156
  initialScreen?: DepositModalInitialScreen;
104
157
  }
105
- declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableConnectWallet, enablePayWithExchange, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, theme, hideOverlay, initialScreen, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
158
+ declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableConnectWallet, browserWalletAmountQuickSelect, enablePayWithExchange, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, theme, hideOverlay, initialScreen, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
106
159
 
107
160
  interface DepositHeaderProps {
108
161
  title: string;
@@ -284,45 +337,6 @@ interface DepositTrackerButtonProps {
284
337
  }
285
338
  declare function DepositTrackerButton({ onClick, title, subtitle, badge, }: DepositTrackerButtonProps): react_jsx_runtime.JSX.Element;
286
339
 
287
- declare global {
288
- interface Window {
289
- phantom?: {
290
- solana?: PhantomSolanaProvider;
291
- ethereum?: EthereumProvider;
292
- };
293
- solana?: PhantomSolanaProvider;
294
- ethereum?: EthereumProvider;
295
- }
296
- }
297
- interface PhantomSolanaProvider {
298
- isPhantom?: boolean;
299
- isConnected?: boolean;
300
- publicKey?: {
301
- toString(): string;
302
- };
303
- connect(opts?: {
304
- onlyIfTrusted?: boolean;
305
- }): Promise<{
306
- publicKey: {
307
- toString(): string;
308
- };
309
- }>;
310
- disconnect(): Promise<void>;
311
- on(event: string, callback: (...args: unknown[]) => void): void;
312
- off(event: string, callback: (...args: unknown[]) => void): void;
313
- }
314
- interface EthereumProvider {
315
- isMetaMask?: boolean;
316
- isPhantom?: boolean;
317
- selectedAddress?: string;
318
- request(args: {
319
- method: string;
320
- params?: unknown[];
321
- }): Promise<unknown>;
322
- on(event: string, callback: (...args: unknown[]) => void): void;
323
- removeListener(event: string, callback: (...args: unknown[]) => void): void;
324
- }
325
-
326
340
  interface DepositExecutionItemProps {
327
341
  execution: AutoSwapResponse;
328
342
  onClick?: () => void;
@@ -331,8 +345,10 @@ declare function DepositExecutionItem({ execution, onClick, }: DepositExecutionI
331
345
 
332
346
  interface DepositDetailContentProps {
333
347
  execution: AutoSwapResponse;
348
+ /** Merged into root (e.g. wider horizontal padding in embedded deposit details). */
349
+ className?: string;
334
350
  }
335
- declare function DepositDetailContent({ execution }: DepositDetailContentProps): react_jsx_runtime.JSX.Element;
351
+ declare function DepositDetailContent({ execution, className, }: DepositDetailContentProps): react_jsx_runtime.JSX.Element;
336
352
 
337
353
  interface DepositPollingUiProps {
338
354
  depositConfirmationMode: DepositConfirmationMode;
@@ -351,6 +367,14 @@ interface DepositPollingUiProps {
351
367
  */
352
368
  declare function DepositPollingUi({ depositConfirmationMode, showWaitingUi, hasExecution, onIveDeposited, }: DepositPollingUiProps): react_jsx_runtime.JSX.Element | null;
353
369
 
370
+ interface ConfirmingViewProps {
371
+ isConfirming: boolean;
372
+ onClose: () => void;
373
+ executions?: AutoSwapResponse[];
374
+ isPolling?: boolean;
375
+ }
376
+ declare function ConfirmingView({ isConfirming, onClose, executions, isPolling, }: ConfirmingViewProps): react_jsx_runtime.JSX.Element;
377
+
354
378
  interface CurrencyListItemProps {
355
379
  currency: FiatCurrency;
356
380
  isSelected: boolean;
@@ -383,6 +407,15 @@ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitiv
383
407
  interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
384
408
  /** Render inline without portal, overlay, or close button (for embedded/inline mode) */
385
409
  hideOverlay?: boolean;
410
+ /**
411
+ * When a `PortalContainerProvider` is set, portal content into it **without** the dimming
412
+ * overlay (same geometry as the default portaled dialog). Use for nested sheets that
413
+ * should fill the host shell (e.g. deposit details over browser-wallet confirming view).
414
+ * Does not combine with `hideOverlay` (embedded DepositModal still uses `hideOverlay` only).
415
+ */
416
+ omitOverlay?: boolean;
417
+ /** Merged into `DialogOverlay` (e.g. z-index above in-app layers such as deposit toasts). */
418
+ overlayClassName?: string;
386
419
  }
387
420
  declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
388
421
  declare const DialogHeader: {
@@ -738,4 +771,4 @@ declare function cn(...inputs: ClassValue[]): string;
738
771
  */
739
772
  declare function truncateAddress(address: string, startChars?: number, endChars?: number): string;
740
773
 
741
- export { type AllowedCountryResult, Button, type ButtonProps, type ButtonTokens, BuyWithCard, type BuyWithCardProps, type CardTokens, type ComponentConfig, type ComponentOverrides, type ComponentTokens, type ContainerTokens, CurrencyListItem, CurrencyListSection, CurrencyModal, type CustomThemeColors, type DepositConfirmationMode, DepositDetailContent, DepositExecutionItem, DepositHeader, DepositModal, type DepositModalInitialScreen, type DepositModalProps, DepositPollingUi, DepositSuccessToast, DepositTrackerButton, DepositWithCardButton, DepositsModal, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type FontConfig, type HeaderTokens, type InputTokens, type ListTokens, type ResolvedFonts, type SearchTokens, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, StyledQRCode, type ThemeColors, type ThemeConfig, type ThemeMode, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransferCryptoButton, TransferCryptoDoubleInput, TransferCryptoSingleInput, buttonVariants, cn, colors, defaultColors, getColors, mergeColors, resolveComponentTokens, truncateAddress, useAllowedCountry, useDepositPolling, useTheme };
774
+ export { type AllowedCountryResult, type BrowserWalletAmountQuickSelect, Button, type ButtonProps, type ButtonTokens, BuyWithCard, type BuyWithCardProps, type CardTokens, type ComponentConfig, type ComponentOverrides, type ComponentTokens, ConfirmingView, type ContainerTokens, CurrencyListItem, CurrencyListSection, CurrencyModal, type CustomThemeColors, type DepositConfirmationMode, DepositDetailContent, DepositExecutionItem, DepositHeader, DepositModal, type DepositModalInitialScreen, type DepositModalProps, DepositPollingUi, DepositSuccessToast, DepositTrackerButton, DepositWithCardButton, DepositsModal, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type FontConfig, type HeaderTokens, type InputTokens, type ListTokens, type ResolvedFonts, type SearchTokens, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, StyledQRCode, type ThemeColors, type ThemeConfig, type ThemeMode, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransferCryptoButton, TransferCryptoDoubleInput, TransferCryptoSingleInput, buttonVariants, cn, colors, defaultColors, getColors, mergeColors, resolveComponentTokens, truncateAddress, useAllowedCountry, useDepositPolling, useTheme };
package/dist/index.d.ts CHANGED
@@ -32,6 +32,12 @@ interface UseDepositPollingOptions {
32
32
  error?: unknown;
33
33
  code?: string;
34
34
  }) => void;
35
+ /**
36
+ * When true (with `depositWalletId`), enables `pollDirectExecutions` as soon as `enabled`
37
+ * becomes true — no 10s delay. Use when polling only starts after the on-chain tx is sent
38
+ * (e.g. browser wallet confirming step).
39
+ */
40
+ immediateDirectPolling?: boolean;
35
41
  }
36
42
  interface UseDepositPollingResult {
37
43
  executions: AutoSwapResponse[];
@@ -43,7 +49,49 @@ interface UseDepositPollingResult {
43
49
  /** Call this when user clicks "I've made the deposit" (manual mode) */
44
50
  handleIveDeposited: () => void;
45
51
  }
46
- declare function useDepositPolling({ userId, publishableKey, depositConfirmationMode, depositWalletId, enabled, onDepositSuccess, onDepositError, }: UseDepositPollingOptions): UseDepositPollingResult;
52
+ declare function useDepositPolling({ userId, publishableKey, depositConfirmationMode, depositWalletId, enabled, immediateDirectPolling, onDepositSuccess, onDepositError, }: UseDepositPollingOptions): UseDepositPollingResult;
53
+
54
+ declare global {
55
+ interface Window {
56
+ phantom?: {
57
+ solana?: PhantomSolanaProvider;
58
+ ethereum?: EthereumProvider;
59
+ };
60
+ solana?: PhantomSolanaProvider;
61
+ ethereum?: EthereumProvider;
62
+ }
63
+ }
64
+ interface PhantomSolanaProvider {
65
+ isPhantom?: boolean;
66
+ isConnected?: boolean;
67
+ publicKey?: {
68
+ toString(): string;
69
+ };
70
+ connect(opts?: {
71
+ onlyIfTrusted?: boolean;
72
+ }): Promise<{
73
+ publicKey: {
74
+ toString(): string;
75
+ };
76
+ }>;
77
+ disconnect(): Promise<void>;
78
+ on(event: string, callback: (...args: unknown[]) => void): void;
79
+ off(event: string, callback: (...args: unknown[]) => void): void;
80
+ }
81
+ interface EthereumProvider {
82
+ isMetaMask?: boolean;
83
+ isPhantom?: boolean;
84
+ selectedAddress?: string;
85
+ request(args: {
86
+ method: string;
87
+ params?: unknown[];
88
+ }): Promise<unknown>;
89
+ on(event: string, callback: (...args: unknown[]) => void): void;
90
+ removeListener(event: string, callback: (...args: unknown[]) => void): void;
91
+ }
92
+
93
+ /** Quick amount chips on the browser wallet "Enter amount" step */
94
+ type BrowserWalletAmountQuickSelect = "usd" | "percentage";
47
95
 
48
96
  type DepositModalInitialScreen = "main" | "transfer" | "card" | "tracker";
49
97
  interface DepositModalProps {
@@ -80,6 +128,11 @@ interface DepositModalProps {
80
128
  depositConfirmationMode?: DepositConfirmationMode;
81
129
  /** Enable browser wallet connection option. Defaults to false */
82
130
  enableConnectWallet?: boolean;
131
+ /**
132
+ * Connect Wallet → Enter amount: percentage chips (10%, 25%, 50%, 75%, MAX) from USD balance, or fixed USD ($25…).
133
+ * @default "percentage"
134
+ */
135
+ browserWalletAmountQuickSelect?: BrowserWalletAmountQuickSelect;
83
136
  /** Enable "Pay with Exchange" option. Overrides dashboard default. Defaults to dashboard value or true. */
84
137
  enablePayWithExchange?: boolean;
85
138
  /** Deposit with Card — onramp step: hide the You use / You buy / You receive card. @default false */
@@ -102,7 +155,7 @@ interface DepositModalProps {
102
155
  /** First screen when the modal opens. Default `main` (deposit menu). */
103
156
  initialScreen?: DepositModalInitialScreen;
104
157
  }
105
- declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableConnectWallet, enablePayWithExchange, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, theme, hideOverlay, initialScreen, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
158
+ declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableConnectWallet, browserWalletAmountQuickSelect, enablePayWithExchange, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, theme, hideOverlay, initialScreen, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
106
159
 
107
160
  interface DepositHeaderProps {
108
161
  title: string;
@@ -284,45 +337,6 @@ interface DepositTrackerButtonProps {
284
337
  }
285
338
  declare function DepositTrackerButton({ onClick, title, subtitle, badge, }: DepositTrackerButtonProps): react_jsx_runtime.JSX.Element;
286
339
 
287
- declare global {
288
- interface Window {
289
- phantom?: {
290
- solana?: PhantomSolanaProvider;
291
- ethereum?: EthereumProvider;
292
- };
293
- solana?: PhantomSolanaProvider;
294
- ethereum?: EthereumProvider;
295
- }
296
- }
297
- interface PhantomSolanaProvider {
298
- isPhantom?: boolean;
299
- isConnected?: boolean;
300
- publicKey?: {
301
- toString(): string;
302
- };
303
- connect(opts?: {
304
- onlyIfTrusted?: boolean;
305
- }): Promise<{
306
- publicKey: {
307
- toString(): string;
308
- };
309
- }>;
310
- disconnect(): Promise<void>;
311
- on(event: string, callback: (...args: unknown[]) => void): void;
312
- off(event: string, callback: (...args: unknown[]) => void): void;
313
- }
314
- interface EthereumProvider {
315
- isMetaMask?: boolean;
316
- isPhantom?: boolean;
317
- selectedAddress?: string;
318
- request(args: {
319
- method: string;
320
- params?: unknown[];
321
- }): Promise<unknown>;
322
- on(event: string, callback: (...args: unknown[]) => void): void;
323
- removeListener(event: string, callback: (...args: unknown[]) => void): void;
324
- }
325
-
326
340
  interface DepositExecutionItemProps {
327
341
  execution: AutoSwapResponse;
328
342
  onClick?: () => void;
@@ -331,8 +345,10 @@ declare function DepositExecutionItem({ execution, onClick, }: DepositExecutionI
331
345
 
332
346
  interface DepositDetailContentProps {
333
347
  execution: AutoSwapResponse;
348
+ /** Merged into root (e.g. wider horizontal padding in embedded deposit details). */
349
+ className?: string;
334
350
  }
335
- declare function DepositDetailContent({ execution }: DepositDetailContentProps): react_jsx_runtime.JSX.Element;
351
+ declare function DepositDetailContent({ execution, className, }: DepositDetailContentProps): react_jsx_runtime.JSX.Element;
336
352
 
337
353
  interface DepositPollingUiProps {
338
354
  depositConfirmationMode: DepositConfirmationMode;
@@ -351,6 +367,14 @@ interface DepositPollingUiProps {
351
367
  */
352
368
  declare function DepositPollingUi({ depositConfirmationMode, showWaitingUi, hasExecution, onIveDeposited, }: DepositPollingUiProps): react_jsx_runtime.JSX.Element | null;
353
369
 
370
+ interface ConfirmingViewProps {
371
+ isConfirming: boolean;
372
+ onClose: () => void;
373
+ executions?: AutoSwapResponse[];
374
+ isPolling?: boolean;
375
+ }
376
+ declare function ConfirmingView({ isConfirming, onClose, executions, isPolling, }: ConfirmingViewProps): react_jsx_runtime.JSX.Element;
377
+
354
378
  interface CurrencyListItemProps {
355
379
  currency: FiatCurrency;
356
380
  isSelected: boolean;
@@ -383,6 +407,15 @@ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitiv
383
407
  interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
384
408
  /** Render inline without portal, overlay, or close button (for embedded/inline mode) */
385
409
  hideOverlay?: boolean;
410
+ /**
411
+ * When a `PortalContainerProvider` is set, portal content into it **without** the dimming
412
+ * overlay (same geometry as the default portaled dialog). Use for nested sheets that
413
+ * should fill the host shell (e.g. deposit details over browser-wallet confirming view).
414
+ * Does not combine with `hideOverlay` (embedded DepositModal still uses `hideOverlay` only).
415
+ */
416
+ omitOverlay?: boolean;
417
+ /** Merged into `DialogOverlay` (e.g. z-index above in-app layers such as deposit toasts). */
418
+ overlayClassName?: string;
386
419
  }
387
420
  declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
388
421
  declare const DialogHeader: {
@@ -738,4 +771,4 @@ declare function cn(...inputs: ClassValue[]): string;
738
771
  */
739
772
  declare function truncateAddress(address: string, startChars?: number, endChars?: number): string;
740
773
 
741
- export { type AllowedCountryResult, Button, type ButtonProps, type ButtonTokens, BuyWithCard, type BuyWithCardProps, type CardTokens, type ComponentConfig, type ComponentOverrides, type ComponentTokens, type ContainerTokens, CurrencyListItem, CurrencyListSection, CurrencyModal, type CustomThemeColors, type DepositConfirmationMode, DepositDetailContent, DepositExecutionItem, DepositHeader, DepositModal, type DepositModalInitialScreen, type DepositModalProps, DepositPollingUi, DepositSuccessToast, DepositTrackerButton, DepositWithCardButton, DepositsModal, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type FontConfig, type HeaderTokens, type InputTokens, type ListTokens, type ResolvedFonts, type SearchTokens, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, StyledQRCode, type ThemeColors, type ThemeConfig, type ThemeMode, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransferCryptoButton, TransferCryptoDoubleInput, TransferCryptoSingleInput, buttonVariants, cn, colors, defaultColors, getColors, mergeColors, resolveComponentTokens, truncateAddress, useAllowedCountry, useDepositPolling, useTheme };
774
+ export { type AllowedCountryResult, type BrowserWalletAmountQuickSelect, Button, type ButtonProps, type ButtonTokens, BuyWithCard, type BuyWithCardProps, type CardTokens, type ComponentConfig, type ComponentOverrides, type ComponentTokens, ConfirmingView, type ContainerTokens, CurrencyListItem, CurrencyListSection, CurrencyModal, type CustomThemeColors, type DepositConfirmationMode, DepositDetailContent, DepositExecutionItem, DepositHeader, DepositModal, type DepositModalInitialScreen, type DepositModalProps, DepositPollingUi, DepositSuccessToast, DepositTrackerButton, DepositWithCardButton, DepositsModal, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type FontConfig, type HeaderTokens, type InputTokens, type ListTokens, type ResolvedFonts, type SearchTokens, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, StyledQRCode, type ThemeColors, type ThemeConfig, type ThemeMode, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransferCryptoButton, TransferCryptoDoubleInput, TransferCryptoSingleInput, buttonVariants, cn, colors, defaultColors, getColors, mergeColors, resolveComponentTokens, truncateAddress, useAllowedCountry, useDepositPolling, useTheme };