@unifold/connect-react-native 0.1.47 → 0.1.48
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 +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -339,6 +339,12 @@ declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress,
|
|
|
339
339
|
|
|
340
340
|
/** Controls which transfer crypto input variant is rendered */
|
|
341
341
|
type TransferInputVariant = "single_input" | "double_input" | "compact";
|
|
342
|
+
/**
|
|
343
|
+
* Controls the deposit menu layout.
|
|
344
|
+
* - "stacked": all options shown in a single list (default)
|
|
345
|
+
* - "tabs": options split into "Use Crypto" and "Use Cash" tabs
|
|
346
|
+
*/
|
|
347
|
+
type DepositMenuDisplay = "stacked" | "tabs";
|
|
342
348
|
/** Controls which screen opens first when the deposit modal is shown */
|
|
343
349
|
type DepositInitialScreen = "main" | "transfer" | "card" | "tracker" | "cashapp";
|
|
344
350
|
interface DepositModalProps {
|
|
@@ -405,6 +411,8 @@ interface DepositModalProps {
|
|
|
405
411
|
depositConfirmationMode?: "auto_ui" | "auto_silent" | "manual";
|
|
406
412
|
/** Transfer input variant: 'single_input' (unified selector) or 'double_input' (separate token/chain). Defaults to 'double_input' */
|
|
407
413
|
transferInputVariant?: TransferInputVariant;
|
|
414
|
+
/** Deposit menu layout: 'stacked' (list) or 'tabs' ('Use Crypto' / 'Use Cash'). Defaults to 'stacked' */
|
|
415
|
+
depositMenuDisplay?: DepositMenuDisplay;
|
|
408
416
|
/**
|
|
409
417
|
* Which screen to open first. Defaults to 'main' (the option menu).
|
|
410
418
|
* - 'main': show the menu (default)
|
|
@@ -591,6 +599,8 @@ interface UnifoldConnectProviderConfig {
|
|
|
591
599
|
appearance?: ThemeMode | "auto";
|
|
592
600
|
/** Transfer input variant: 'single_input' (unified selector), 'double_input' (separate token/chain), or 'compact' (minimal QR-focused layout). Defaults to 'double_input' */
|
|
593
601
|
transferInputVariant?: TransferInputVariant;
|
|
602
|
+
/** Deposit menu layout: 'stacked' (list) or 'tabs' ('Use Crypto' / 'Use Cash'). Defaults to 'stacked' */
|
|
603
|
+
depositMenuDisplay?: DepositMenuDisplay;
|
|
594
604
|
/** Simple accent/primary color override (applies to both light and dark modes) */
|
|
595
605
|
accentColor?: string;
|
|
596
606
|
/** Full theme color customization per mode */
|
package/dist/index.d.ts
CHANGED
|
@@ -339,6 +339,12 @@ declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress,
|
|
|
339
339
|
|
|
340
340
|
/** Controls which transfer crypto input variant is rendered */
|
|
341
341
|
type TransferInputVariant = "single_input" | "double_input" | "compact";
|
|
342
|
+
/**
|
|
343
|
+
* Controls the deposit menu layout.
|
|
344
|
+
* - "stacked": all options shown in a single list (default)
|
|
345
|
+
* - "tabs": options split into "Use Crypto" and "Use Cash" tabs
|
|
346
|
+
*/
|
|
347
|
+
type DepositMenuDisplay = "stacked" | "tabs";
|
|
342
348
|
/** Controls which screen opens first when the deposit modal is shown */
|
|
343
349
|
type DepositInitialScreen = "main" | "transfer" | "card" | "tracker" | "cashapp";
|
|
344
350
|
interface DepositModalProps {
|
|
@@ -405,6 +411,8 @@ interface DepositModalProps {
|
|
|
405
411
|
depositConfirmationMode?: "auto_ui" | "auto_silent" | "manual";
|
|
406
412
|
/** Transfer input variant: 'single_input' (unified selector) or 'double_input' (separate token/chain). Defaults to 'double_input' */
|
|
407
413
|
transferInputVariant?: TransferInputVariant;
|
|
414
|
+
/** Deposit menu layout: 'stacked' (list) or 'tabs' ('Use Crypto' / 'Use Cash'). Defaults to 'stacked' */
|
|
415
|
+
depositMenuDisplay?: DepositMenuDisplay;
|
|
408
416
|
/**
|
|
409
417
|
* Which screen to open first. Defaults to 'main' (the option menu).
|
|
410
418
|
* - 'main': show the menu (default)
|
|
@@ -591,6 +599,8 @@ interface UnifoldConnectProviderConfig {
|
|
|
591
599
|
appearance?: ThemeMode | "auto";
|
|
592
600
|
/** Transfer input variant: 'single_input' (unified selector), 'double_input' (separate token/chain), or 'compact' (minimal QR-focused layout). Defaults to 'double_input' */
|
|
593
601
|
transferInputVariant?: TransferInputVariant;
|
|
602
|
+
/** Deposit menu layout: 'stacked' (list) or 'tabs' ('Use Crypto' / 'Use Cash'). Defaults to 'stacked' */
|
|
603
|
+
depositMenuDisplay?: DepositMenuDisplay;
|
|
594
604
|
/** Simple accent/primary color override (applies to both light and dark modes) */
|
|
595
605
|
accentColor?: string;
|
|
596
606
|
/** Full theme color customization per mode */
|