@funkit/connect-rn 3.10.0 → 3.11.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.
Files changed (170) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/chunk-5IWD2I7N.js +94 -0
  3. package/dist/chunk-5IWD2I7N.js.map +7 -0
  4. package/dist/chunk-75TJE4HO.js +1656 -0
  5. package/dist/chunk-75TJE4HO.js.map +7 -0
  6. package/dist/chunk-EL2UG6WN.js +1690 -0
  7. package/dist/chunk-EL2UG6WN.js.map +7 -0
  8. package/dist/chunk-FTD4HETU.js +94 -0
  9. package/dist/chunk-FTD4HETU.js.map +7 -0
  10. package/dist/chunk-KQEQB6MZ.js +94 -0
  11. package/dist/chunk-KQEQB6MZ.js.map +7 -0
  12. package/dist/chunk-L26YKVZ7.js +94 -0
  13. package/dist/chunk-L26YKVZ7.js.map +7 -0
  14. package/dist/chunk-LIOQVZV4.js +1753 -0
  15. package/dist/chunk-LIOQVZV4.js.map +7 -0
  16. package/dist/chunk-LKILQNGD.js +1655 -0
  17. package/dist/chunk-LKILQNGD.js.map +7 -0
  18. package/dist/chunk-LPJDURB5.js +1675 -0
  19. package/dist/chunk-LPJDURB5.js.map +7 -0
  20. package/dist/chunk-MJ4QBNTD.js +94 -0
  21. package/dist/chunk-MJ4QBNTD.js.map +7 -0
  22. package/dist/chunk-NNEV7EFP.js +94 -0
  23. package/dist/chunk-NNEV7EFP.js.map +7 -0
  24. package/dist/chunk-NYW4N5SQ.js +1328 -0
  25. package/dist/chunk-NYW4N5SQ.js.map +7 -0
  26. package/dist/chunk-OI54J6E6.js +1951 -0
  27. package/dist/chunk-OI54J6E6.js.map +7 -0
  28. package/dist/chunk-OIXZMXFJ.js +1681 -0
  29. package/dist/chunk-OIXZMXFJ.js.map +7 -0
  30. package/dist/chunk-OQVPCP4W.js +94 -0
  31. package/dist/chunk-OQVPCP4W.js.map +7 -0
  32. package/dist/chunk-PHUM52HD.js +1542 -0
  33. package/dist/chunk-PHUM52HD.js.map +7 -0
  34. package/dist/chunk-Q5OFOALX.js +94 -0
  35. package/dist/chunk-Q5OFOALX.js.map +7 -0
  36. package/dist/chunk-QNAMNQZX.js +1660 -0
  37. package/dist/chunk-QNAMNQZX.js.map +7 -0
  38. package/dist/chunk-RTQ4MJHE.js +1209 -0
  39. package/dist/chunk-RTQ4MJHE.js.map +7 -0
  40. package/dist/chunk-V23HUIDS.js +1744 -0
  41. package/dist/chunk-V23HUIDS.js.map +7 -0
  42. package/dist/chunk-V4LN3XNI.js +94 -0
  43. package/dist/chunk-V4LN3XNI.js.map +7 -0
  44. package/dist/chunk-VE6N6BHJ.js +94 -0
  45. package/dist/chunk-VE6N6BHJ.js.map +7 -0
  46. package/dist/chunk-VL4WQDU7.js +1654 -0
  47. package/dist/chunk-VL4WQDU7.js.map +7 -0
  48. package/dist/chunk-X2X2GENE.js +94 -0
  49. package/dist/chunk-X2X2GENE.js.map +7 -0
  50. package/dist/clients/lighter.js +1 -1
  51. package/dist/clients/nado/withdrawalSubmit.d.ts.map +1 -1
  52. package/dist/clients/nado.js +8 -6
  53. package/dist/clients/nado.js.map +2 -2
  54. package/dist/index.d.ts +2 -1
  55. package/dist/index.d.ts.map +1 -1
  56. package/dist/index.js +2632 -1255
  57. package/dist/index.js.map +4 -4
  58. package/dist/src/branding/BrandingContext.d.ts +15 -0
  59. package/dist/src/branding/BrandingContext.d.ts.map +1 -0
  60. package/dist/src/components/AccountBalanceChip.d.ts +19 -0
  61. package/dist/src/components/AccountBalanceChip.d.ts.map +1 -0
  62. package/dist/src/components/AmountChipsRow.d.ts +17 -0
  63. package/dist/src/components/AmountChipsRow.d.ts.map +1 -0
  64. package/dist/src/components/AmountInput.d.ts +40 -0
  65. package/dist/src/components/AmountInput.d.ts.map +1 -0
  66. package/dist/src/components/AttributionWatermark.d.ts +10 -0
  67. package/dist/src/components/AttributionWatermark.d.ts.map +1 -0
  68. package/dist/src/components/Grabber.d.ts +7 -1
  69. package/dist/src/components/Grabber.d.ts.map +1 -1
  70. package/dist/src/components/PillButton.d.ts +3 -1
  71. package/dist/src/components/PillButton.d.ts.map +1 -1
  72. package/dist/src/components/RollingAmount.d.ts +20 -0
  73. package/dist/src/components/RollingAmount.d.ts.map +1 -0
  74. package/dist/src/components/SegmentedControl.d.ts +12 -0
  75. package/dist/src/components/SegmentedControl.d.ts.map +1 -0
  76. package/dist/src/components/WithdrawFeeSummary.d.ts +23 -0
  77. package/dist/src/components/WithdrawFeeSummary.d.ts.map +1 -0
  78. package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
  79. package/dist/src/components/v2/NumPad.d.ts +1 -1
  80. package/dist/src/components/v2/NumPad.d.ts.map +1 -1
  81. package/dist/src/components/v2/QuickAmountsRow.d.ts +1 -1
  82. package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
  83. package/dist/src/fiat/FiatStatusScreen.d.ts +19 -0
  84. package/dist/src/fiat/FiatStatusScreen.d.ts.map +1 -0
  85. package/dist/src/fiat/SurfaceSlot.d.ts +8 -0
  86. package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -0
  87. package/dist/src/fiat/ctaLabel.d.ts +19 -0
  88. package/dist/src/fiat/ctaLabel.d.ts.map +1 -0
  89. package/dist/src/fiat/providers/TransakApplePaySurface.d.ts +7 -0
  90. package/dist/src/fiat/providers/TransakApplePaySurface.d.ts.map +1 -0
  91. package/dist/src/fiat/renderCaptureSurface.d.ts +12 -0
  92. package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -0
  93. package/dist/src/fiat/stepDetails.d.ts +18 -0
  94. package/dist/src/fiat/stepDetails.d.ts.map +1 -0
  95. package/dist/src/flow/BackdropBlurContext.d.ts +9 -0
  96. package/dist/src/flow/BackdropBlurContext.d.ts.map +1 -0
  97. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  98. package/dist/src/flow/DepositFlowContent.d.ts +1 -3
  99. package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
  100. package/dist/src/flow/FiatDepositAmountStep.d.ts +9 -0
  101. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -0
  102. package/dist/src/flow/FlowSheet.d.ts +34 -5
  103. package/dist/src/flow/FlowSheet.d.ts.map +1 -1
  104. package/dist/src/flow/FunkitFlowProvider.d.ts +1 -1
  105. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
  106. package/dist/src/flow/WithdrawalFlowContent.d.ts +1 -4
  107. package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
  108. package/dist/src/flow/depositFlowConfig.d.ts +24 -3
  109. package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
  110. package/dist/src/hooks/useGuardedAmountInput.d.ts +9 -5
  111. package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
  112. package/dist/src/hooks/usePressScale.d.ts +18 -0
  113. package/dist/src/hooks/usePressScale.d.ts.map +1 -0
  114. package/dist/src/identity/IdentityContext.d.ts +10 -0
  115. package/dist/src/identity/IdentityContext.d.ts.map +1 -1
  116. package/dist/src/logging/consoleLogTransport.d.ts +10 -0
  117. package/dist/src/logging/consoleLogTransport.d.ts.map +1 -0
  118. package/dist/src/providers/FunkitProvider.d.ts +6 -5
  119. package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
  120. package/dist/src/providers/NativeCapabilitiesContext.d.ts +43 -0
  121. package/dist/src/providers/NativeCapabilitiesContext.d.ts.map +1 -0
  122. package/dist/src/screens/AddMoneyScreen.d.ts +86 -0
  123. package/dist/src/screens/AddMoneyScreen.d.ts.map +1 -0
  124. package/dist/src/screens/AvailableChainsScreen.d.ts +32 -0
  125. package/dist/src/screens/AvailableChainsScreen.d.ts.map +1 -0
  126. package/dist/src/screens/DepositAmountScreen.d.ts +27 -11
  127. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  128. package/dist/src/screens/FeeDetailsScreen.d.ts +36 -0
  129. package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -0
  130. package/dist/src/screens/NetworkSelector.d.ts +31 -0
  131. package/dist/src/screens/NetworkSelector.d.ts.map +1 -0
  132. package/dist/src/screens/SelectDestinationScreen.d.ts +19 -0
  133. package/dist/src/screens/SelectDestinationScreen.d.ts.map +1 -0
  134. package/dist/src/screens/WithdrawCryptoCta.d.ts +20 -0
  135. package/dist/src/screens/WithdrawCryptoCta.d.ts.map +1 -0
  136. package/dist/src/screens/WithdrawCryptoForm.d.ts +28 -0
  137. package/dist/src/screens/WithdrawCryptoForm.d.ts.map +1 -0
  138. package/dist/src/screens/WithdrawCryptoScreen.d.ts +17 -0
  139. package/dist/src/screens/WithdrawCryptoScreen.d.ts.map +1 -0
  140. package/dist/src/statsig/StatsigProviderRN.d.ts +7 -0
  141. package/dist/src/statsig/StatsigProviderRN.d.ts.map +1 -0
  142. package/dist/src/statsig/useClientBootstrapInitRN.d.ts +4 -0
  143. package/dist/src/statsig/useClientBootstrapInitRN.d.ts.map +1 -0
  144. package/dist/src/theme/buildFunkitTheme.d.ts +8 -0
  145. package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
  146. package/dist/src/theme/restyle.d.ts +264 -0
  147. package/dist/src/theme/restyle.d.ts.map +1 -1
  148. package/dist/src/theme/toRestyleTheme.d.ts +24 -0
  149. package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
  150. package/dist/src/theme/tokens.d.ts +4 -1
  151. package/dist/src/theme/tokens.d.ts.map +1 -1
  152. package/dist/src/utils/formatAmount.d.ts +5 -0
  153. package/dist/src/utils/formatAmount.d.ts.map +1 -1
  154. package/dist/src/utils/motion.d.ts +5 -0
  155. package/dist/src/utils/motion.d.ts.map +1 -1
  156. package/dist/src/utils/numpadInput.d.ts +2 -1
  157. package/dist/src/utils/numpadInput.d.ts.map +1 -1
  158. package/dist/src/utils/v2/amountGlyphs.d.ts +5 -4
  159. package/dist/src/utils/v2/amountGlyphs.d.ts.map +1 -1
  160. package/dist/src/utils/v2/numberFormat.d.ts +36 -0
  161. package/dist/src/utils/v2/numberFormat.d.ts.map +1 -0
  162. package/dist/src/utils/withAlpha.d.ts +13 -0
  163. package/dist/src/utils/withAlpha.d.ts.map +1 -0
  164. package/dist/src/withdrawal/publicClient.d.ts +10 -0
  165. package/dist/src/withdrawal/publicClient.d.ts.map +1 -0
  166. package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
  167. package/dist/src/withdrawal/useCryptoWithdrawalValidation.d.ts.map +1 -1
  168. package/dist/src/withdrawal/validation.d.ts +5 -1
  169. package/dist/src/withdrawal/validation.d.ts.map +1 -1
  170. package/package.json +6 -4
@@ -0,0 +1,15 @@
1
+ import { type ReactNode } from 'react';
2
+ /**
3
+ * How the flow is branded, supplied by the host app. Separate from identity:
4
+ * this follows the host's agreement with Fun, not who the user is.
5
+ */
6
+ export interface FunkitBranding {
7
+ /** The host's `hideAttribution` config, defaulted to false here. */
8
+ hideAttribution: boolean;
9
+ }
10
+ export declare function FunkitBrandingProvider({ hideAttribution, children, }: {
11
+ hideAttribution?: boolean;
12
+ children: ReactNode;
13
+ }): import("react").JSX.Element;
14
+ export declare function useFunkitBranding(): FunkitBranding;
15
+ //# sourceMappingURL=BrandingContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrandingContext.d.ts","sourceRoot":"","sources":["../../../src/branding/BrandingContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,OAAO,CAAA;AAE1E;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,oEAAoE;IACpE,eAAe,EAAE,OAAO,CAAA;CACzB;AAOD,wBAAgB,sBAAsB,CAAC,EACrC,eAAuB,EACvB,QAAQ,GACT,EAAE;IACD,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAOA;AAED,wBAAgB,iBAAiB,IAAI,cAAc,CAElD"}
@@ -0,0 +1,19 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface AccountBalanceChipProps {
3
+ /** What the balance is, as the host names it (e.g. `Total cash`). */
4
+ label: string;
5
+ /** The formatted balance (e.g. `$366,715.12`). */
6
+ value: string;
7
+ /** A 32px avatar or app glyph. The SDK never fetches one itself. */
8
+ avatar?: ReactNode;
9
+ /** Links back out to the host context (e.g. the profile page). */
10
+ onPress?: () => void;
11
+ accessibilityLabel?: string;
12
+ }
13
+ /**
14
+ * Top-level account context in the deposit header: a label + balance pair with
15
+ * the host's avatar beside them. Everything shown is host-supplied — this is
16
+ * the integrator's app talking, not funkit data.
17
+ */
18
+ export declare function AccountBalanceChip({ label, value, avatar, onPress, accessibilityLabel, }: AccountBalanceChipProps): import("react").JSX.Element;
19
+ //# sourceMappingURL=AccountBalanceChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountBalanceChip.d.ts","sourceRoot":"","sources":["../../../src/components/AccountBalanceChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,MAAM,WAAW,uBAAuB;IACtC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAID;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,KAAK,EACL,MAAM,EACN,OAAO,EACP,kBAAkB,GACnB,EAAE,uBAAuB,+BA+CzB"}
@@ -0,0 +1,17 @@
1
+ export interface AmountChipOption {
2
+ /** The amount the chip enters, as a decimal string (e.g. `'50'`). */
3
+ value: string;
4
+ /** What the chip shows (e.g. `'$50'`). */
5
+ label: string;
6
+ }
7
+ export interface AmountChipsRowProps {
8
+ options: AmountChipOption[];
9
+ onSelect: (value: string) => void;
10
+ }
11
+ /**
12
+ * The recommended-amount shortcuts shown while the deposit amount is empty.
13
+ * Each chip takes an equal share of the row, so four presets fill the same
14
+ * width the submit button will occupy once an amount is typed.
15
+ */
16
+ export declare function AmountChipsRow({ options, onSelect }: AmountChipsRowProps): import("react").JSX.Element;
17
+ //# sourceMappingURL=AmountChipsRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AmountChipsRow.d.ts","sourceRoot":"","sources":["../../../src/components/AmountChipsRow.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,gBAAgB;IAC/B,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,gBAAgB,EAAE,CAAA;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,mBAAmB,+BAgCxE"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Keep only what a decimal amount can contain: digits and a single decimal
3
+ * point. Normalised rather than trusted — a `decimal-pad` emits the locale's
4
+ * separator (`,` across much of Europe) and a paste bypasses the keypad.
5
+ *
6
+ * Separators are read by shape, not by locale, so `1.000,50` and `1,000.50`
7
+ * both give 1000.50:
8
+ * - A lone separator is the decimal point. A pasted `1,000` therefore reads as
9
+ * one — ambiguous by construction, and the field echoes what we read.
10
+ * - Grouping needs triples throughout AND one separator character, which is
11
+ * what tells `1,000,123` (a million) from `1,000.123` (a thousand).
12
+ * - Anything else is a mistyped decimal (`1.5.`): the first separator stands.
13
+ */
14
+ export declare function sanitizeDecimalInput(raw: string): string;
15
+ export interface AmountInputProps {
16
+ /** Amount in the source token's units, as typed. */
17
+ value: string;
18
+ onChangeValue: (value: string) => void;
19
+ /** Rendered beside the amount, e.g. `USDC`. */
20
+ tokenSymbol: string;
21
+ /** Spendable balance line under the amount, e.g. `120.5 USDC available`. */
22
+ balanceLabel?: string;
23
+ /** Fills the field with the whole balance. Omit to hide the button. */
24
+ onPressMax?: () => void;
25
+ maxLabel?: string;
26
+ /** Shown in place of the balance line; also tints the amount. */
27
+ errorText?: string;
28
+ autoFocus?: boolean;
29
+ }
30
+ /**
31
+ * The withdrawal amount field: a large amount that behaves like a display but
32
+ * is editable, with the balance and a Max shortcut underneath.
33
+ *
34
+ * Uses gorhom's `BottomSheetTextInput`, but the sheet is lifted by
35
+ * `FlowSheet`'s own spacer — gorhom's native avoidance is inert under
36
+ * `enableDynamicSizing` (see `useKeyboardHeight`), so the screen hosting this
37
+ * must set `keyboardAvoidEnabled`.
38
+ */
39
+ export declare function AmountInput({ value, onChangeValue, tokenSymbol, balanceLabel, onPressMax, maxLabel, errorText, autoFocus, }: AmountInputProps): import("react").JSX.Element;
40
+ //# sourceMappingURL=AmountInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../src/components/AmountInput.tsx"],"names":[],"mappings":"AAKA;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAiBxD;AAUD,MAAM,WAAW,gBAAgB;IAC/B,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,+CAA+C;IAC/C,WAAW,EAAE,MAAM,CAAA;IACnB,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,aAAa,EACb,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE,gBAAgB,+BAwElB"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * "powered by Fun" at the foot of the flow (Figma: `AttributionWatermark`, node
3
+ * 2:1282). Set in `content/watermark` — legible enough to find, quiet enough to
4
+ * ignore — and hidden entirely when the host sets `hideAttribution`.
5
+ *
6
+ * Absolutely positioned, so it never enters the layout of the screen it sits
7
+ * under; a screen renders it last and pays it no space.
8
+ */
9
+ export declare function AttributionWatermark(): import("react").JSX.Element;
10
+ //# sourceMappingURL=AttributionWatermark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttributionWatermark.d.ts","sourceRoot":"","sources":["../../../src/components/AttributionWatermark.tsx"],"names":[],"mappings":"AAgBA;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,gCAuBnC"}
@@ -1,8 +1,14 @@
1
+ export interface GrabberProps {
2
+ /** Bar width; the drawer variant is wider than a flow sheet's. */
3
+ width?: number;
4
+ /** Distance from the sheet's top edge. */
5
+ top?: number;
6
+ }
1
7
  /**
2
8
  * The bottom-sheet drag affordance. Absolutely positioned so each top bar lays
3
9
  * out its own content independently. Sheets rendering this must pass
4
10
  * `handleComponent={null}` to gorhom, or its default handle draws a second
5
11
  * grabber above it.
6
12
  */
7
- export declare function Grabber(): import("react").JSX.Element;
13
+ export declare function Grabber({ width, top, }: GrabberProps): import("react").JSX.Element;
8
14
  //# sourceMappingURL=Grabber.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grabber.d.ts","sourceRoot":"","sources":["../../../src/components/Grabber.tsx"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,wBAAgB,OAAO,gCAiBtB"}
1
+ {"version":3,"file":"Grabber.d.ts","sourceRoot":"","sources":["../../../src/components/Grabber.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,YAAY;IAC3B,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0CAA0C;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EACtB,KAAqB,EACrB,GAAiB,GAClB,EAAE,YAAY,+BAiBd"}
@@ -7,6 +7,8 @@ export interface PillButtonProps {
7
7
  onPress: () => void;
8
8
  /** Leading content inside the pill, e.g. a 16px icon. */
9
9
  icon?: ReactNode;
10
+ /** Content pinned without shifting the centered label. */
11
+ trailingIcon?: ReactNode;
10
12
  size?: PillButtonSize;
11
13
  /** `secondary` is the quieter fill used for side-by-side actions. */
12
14
  variant?: PillButtonVariant;
@@ -21,5 +23,5 @@ export interface PillButtonProps {
21
23
  * The full-width primary action at the foot of a sheet — Confirm, Cancel, Done.
22
24
  * Width comes from the container, so callers control the horizontal inset.
23
25
  */
24
- export declare function PillButton({ label, onPress, icon, size, variant, radius, disabled, accessibilityLabel, }: PillButtonProps): import("react").JSX.Element;
26
+ export declare function PillButton({ label, onPress, icon, trailingIcon, size, variant, radius, disabled, accessibilityLabel, }: PillButtonProps): import("react").JSX.Element;
25
27
  //# sourceMappingURL=PillButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PillButton.d.ts","sourceRoot":"","sources":["../../../src/components/PillButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,MAAM,WAAW,CAAC,OAAO,CAAC,EAC1B,SAAS,MAAM,EAAE,CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,CAAA;AAEvD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,yDAAyD;IACzD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B;6CACyC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,WAAW,CAAC,aAAa,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAA;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,OAAO,EACP,IAAI,EACJ,IAAiB,EACjB,OAAmB,EACnB,MAAiB,EACjB,QAAgB,EAChB,kBAAkB,GACnB,EAAE,eAAe,+BA+CjB"}
1
+ {"version":3,"file":"PillButton.d.ts","sourceRoot":"","sources":["../../../src/components/PillButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,MAAM,WAAW,CAAC,OAAO,CAAC,EAC1B,SAAS,MAAM,EAAE,CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,CAAA;AAEvD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,yDAAyD;IACzD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B;6CACyC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,WAAW,CAAC,aAAa,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAA;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,IAAiB,EACjB,OAAmB,EACnB,MAAiB,EACjB,QAAgB,EAChB,kBAAkB,GACnB,EAAE,eAAe,+BAkDjB"}
@@ -0,0 +1,20 @@
1
+ import { type TextStyle } from 'react-native';
2
+ export interface RollingAmountProps {
3
+ /** The formatted amount, prefix included (e.g. `$4,999.99`). */
4
+ value: string;
5
+ /** Must carry a concrete `color` — the blur-in shadow matches it. */
6
+ style: TextStyle & {
7
+ color: string;
8
+ };
9
+ }
10
+ /**
11
+ * A derived amount (the fee) whose digits pop in as they change: a changed
12
+ * digit remounts through the pop-in above, unchanged ones hold still, and
13
+ * length changes slide the rest over.
14
+ *
15
+ * Keys carry the character as well as the position — the input only ever
16
+ * appends and deletes at its right end, but a recomputed amount changes digits
17
+ * in place, and only a changed key remounts (which is what animates).
18
+ */
19
+ export declare function RollingAmount({ value, style }: RollingAmountProps): import("react").JSX.Element;
20
+ //# sourceMappingURL=RollingAmount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RollingAmount.d.ts","sourceRoot":"","sources":["../../../src/components/RollingAmount.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAiCzD,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAA;IACb,qEAAqE;IACrE,KAAK,EAAE,SAAS,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACrC;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,kBAAkB,+BAsCjE"}
@@ -0,0 +1,12 @@
1
+ export interface Segment<T extends string> {
2
+ value: T;
3
+ label: string;
4
+ }
5
+ export interface SegmentedControlProps<T extends string> {
6
+ segments: Segment<T>[];
7
+ value: T;
8
+ onChange: (value: T) => void;
9
+ }
10
+ /** The pill tab switcher (Figma `selector-v2`): a track with one raised segment. */
11
+ export declare function SegmentedControl<T extends string>({ segments, value, onChange, }: SegmentedControlProps<T>): import("react").JSX.Element;
12
+ //# sourceMappingURL=SegmentedControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedControl.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,OAAO,CAAC,CAAC,SAAS,MAAM;IACvC,KAAK,EAAE,CAAC,CAAA;IACR,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,MAAM;IACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAA;IACtB,KAAK,EAAE,CAAC,CAAA;IACR,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;CAC7B;AAED,oFAAoF;AACpF,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,EAAE,EACjD,QAAQ,EACR,KAAK,EACL,QAAQ,GACT,EAAE,qBAAqB,CAAC,CAAC,CAAC,+BA0D1B"}
@@ -0,0 +1,23 @@
1
+ import type { FeeBreakdownV2 } from '@funkit/api-base';
2
+ export interface WithdrawFeeSummaryProps {
3
+ /** Absent until a quote arrives — which is not the same as costing nothing. */
4
+ fees: FeeBreakdownV2 | undefined;
5
+ /** Destination-token amount the recipient receives. */
6
+ receiveAmount: string | undefined;
7
+ destinationSymbol: string;
8
+ isLoading?: boolean;
9
+ /** Quote failed — the rows would all read zero, so say so instead. */
10
+ errorText?: string;
11
+ /**
12
+ * A host fee billed as source-chain gas, in USD — web's
13
+ * `extraSourceChainGasUsd`. Lands in the network row, so the summary keeps
14
+ * the same four rows whoever charges what. 0 when nobody charges one.
15
+ */
16
+ extraSourceGasUsd: number;
17
+ }
18
+ /**
19
+ * What the withdrawal costs, mirroring web's `PaymentFeesSummary` rows: what
20
+ * arrives, network cost, price impact, and the slippage floor.
21
+ */
22
+ export declare function WithdrawFeeSummary({ fees, receiveAmount, destinationSymbol, isLoading, errorText, extraSourceGasUsd, }: WithdrawFeeSummaryProps): import("react").JSX.Element;
23
+ //# sourceMappingURL=WithdrawFeeSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawFeeSummary.d.ts","sourceRoot":"","sources":["../../../src/components/WithdrawFeeSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAMtD,MAAM,WAAW,uBAAuB;IACtC,+EAA+E;IAC/E,IAAI,EAAE,cAAc,GAAG,SAAS,CAAA;IAChC,uDAAuD;IACvD,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,iBAAiB,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAA;CAC1B;AAQD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,iBAAiB,GAClB,EAAE,uBAAuB,+BAiEzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"AAiGA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAKpE;AAED,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kFAAkF;IAClF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAY,EACZ,QAAgB,EAChB,UAAkB,EAClB,kBAAkB,GACnB,EAAE,kBAAkB,+BAoEpB"}
1
+ {"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"AAgHA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAKpE;AAED,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kFAAkF;IAClF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAY,EACZ,QAAgB,EAChB,UAAkB,EAClB,kBAAkB,GACnB,EAAE,kBAAkB,+BAyDpB"}
@@ -10,5 +10,5 @@ export interface NumPadProps {
10
10
  *
11
11
  * Emits keys rather than a value: `applyNumpadKey` owns the grammar.
12
12
  */
13
- export declare function NumPad({ onPressKey, backspaceAccessibilityLabel, }: NumPadProps): import("react").JSX.Element;
13
+ export declare const NumPad: import("react").MemoExoticComponent<({ onPressKey, backspaceAccessibilityLabel, }: NumPadProps) => import("react").JSX.Element>;
14
14
  //# sourceMappingURL=NumPad.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NumPad.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/NumPad.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAoDxD,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,CAAA;IACpC,4EAA4E;IAC5E,2BAA2B,EAAE,MAAM,CAAA;CACpC;AAED;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,EACrB,UAAU,EACV,2BAA2B,GAC5B,EAAE,WAAW,+BA8Bb"}
1
+ {"version":3,"file":"NumPad.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/NumPad.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAoDxD,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,CAAA;IACpC,4EAA4E;IAC5E,2BAA2B,EAAE,MAAM,CAAA;CACpC;AAED;;;;;GAKG;AACH,eAAO,MAAM,MAAM,qFAGhB,WAAW,iCAsCZ,CAAA"}
@@ -13,5 +13,5 @@ export interface QuickAmountsRowProps {
13
13
  * Each chip takes an equal share of the row, so four presets fill the same
14
14
  * width the submit button will occupy once an amount is typed.
15
15
  */
16
- export declare function QuickAmountsRow({ options, onSelect }: QuickAmountsRowProps): import("react").JSX.Element;
16
+ export declare const QuickAmountsRow: import("react").MemoExoticComponent<({ options, onSelect, }: QuickAmountsRowProps) => import("react").JSX.Element>;
17
17
  //# sourceMappingURL=QuickAmountsRow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuickAmountsRow.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/QuickAmountsRow.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,oBAAoB,+BAgC1E"}
1
+ {"version":3,"file":"QuickAmountsRow.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/QuickAmountsRow.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,+DAGzB,oBAAoB,iCAgCrB,CAAA"}
@@ -0,0 +1,19 @@
1
+ export type FiatStatusTone = 'waiting' | 'success' | 'failure';
2
+ export interface FiatStatusScreenProps {
3
+ tone: FiatStatusTone;
4
+ title: string;
5
+ detail?: string;
6
+ /** The state's recovery CTA, when its step response carries one. */
7
+ cta?: {
8
+ label: string;
9
+ onPress: () => void;
10
+ };
11
+ onClose?: () => void;
12
+ }
13
+ /**
14
+ * Every in-place fiat status: verifying, processing, terminal outcomes. One
15
+ * screen because the design keeps the whole Apple Pay flow on one canvas —
16
+ * these render where the entry was, not as navigations away from it.
17
+ */
18
+ export declare function FiatStatusScreen({ tone, title, detail, cta, onClose, }: FiatStatusScreenProps): import("react").JSX.Element;
19
+ //# sourceMappingURL=FiatStatusScreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatStatusScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatStatusScreen.tsx"],"names":[],"mappings":"AAaA,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;AAE9D,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,cAAc,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oEAAoE;IACpE,GAAG,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IAC5C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,KAAK,EACL,MAAM,EACN,GAAG,EACH,OAAO,GACR,EAAE,qBAAqB,+BAgDvB"}
@@ -0,0 +1,8 @@
1
+ import { type ReactNode } from 'react';
2
+ import { type PillButtonSize } from '../components/PillButton';
3
+ export declare function SurfaceSlot({ renderSurface, label, size, }: {
4
+ renderSurface: (onReady: () => void) => ReactNode;
5
+ label: string;
6
+ size: PillButtonSize;
7
+ }): import("react").JSX.Element;
8
+ //# sourceMappingURL=SurfaceSlot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SurfaceSlot.d.ts","sourceRoot":"","sources":["../../../src/fiat/SurfaceSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAA;AAGnE,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAO1E,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,KAAK,EACL,IAAI,GACL,EAAE;IACD,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAA;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;CACrB,+BAkCA"}
@@ -0,0 +1,19 @@
1
+ import type { EntryCta, SubmitTransition } from '@funkit/connect-core';
2
+ import type { TFunction } from 'i18next';
3
+ /**
4
+ * Copy for a server-emitted CTA. `id` is the localization key (known ids get
5
+ * real translations), `labelFallback` covers ids this build predates — the
6
+ * contract's own fallback rule, so a new detour ships without a client
7
+ * release.
8
+ */
9
+ export declare function ctaLabel(cta: SubmitTransition, t: TFunction): string;
10
+ /**
11
+ * The words on the amount screen's primary button.
12
+ *
13
+ * Paying is the app's own call to word — it owns that copy and its branding.
14
+ * Every other step is the server's to name, which is what lets a step this
15
+ * build has never seen still render sensibly. The screen asks this rather
16
+ * than inspecting `kind`, so intent stays separate from presentation.
17
+ */
18
+ export declare function entryCtaLabel(entry: EntryCta, t: TFunction, appLabel: string): string;
19
+ //# sourceMappingURL=ctaLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ctaLabel.d.ts","sourceRoot":"","sources":["../../../src/fiat/ctaLabel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,gBAAgB,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAWpE;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,QAAQ,EACf,CAAC,EAAE,SAAS,EACZ,QAAQ,EAAE,MAAM,GACf,MAAM,CAMR"}
@@ -0,0 +1,7 @@
1
+ import type { ApplePayCallbacks, ApplePayEnvironment } from '@transak/ui-components-core';
2
+ export type TransakApplePaySurfaceProps = ApplePayCallbacks & {
3
+ sessionId: string;
4
+ environment: ApplePayEnvironment;
5
+ };
6
+ export declare function TransakApplePaySurface({ sessionId, environment, onReady, onSuccess, onError, }: TransakApplePaySurfaceProps): import("react").JSX.Element;
7
+ //# sourceMappingURL=TransakApplePaySurface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransakApplePaySurface.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/TransakApplePaySurface.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,6BAA6B,CAAA;AAIpC,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,GAAG;IAC5D,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,mBAAmB,CAAA;CACjC,CAAA;AAmBD,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,WAAW,EACX,OAAO,EACP,SAAS,EACT,OAAO,GACR,EAAE,2BAA2B,+BA4E7B"}
@@ -0,0 +1,12 @@
1
+ import type { Surface, SurfaceResult } from '@funkit/connect-core';
2
+ import type { ReactNode } from 'react';
3
+ export declare function supportsCaptureSurface(surface: Surface): boolean;
4
+ export declare function renderCaptureSurface({ surface, placement, onReady, onFailed, report, }: {
5
+ surface: Surface;
6
+ placement: 'INLINE' | 'SCREEN';
7
+ onReady: () => void;
8
+ /** The provider gave up on this attempt; its machine will not recover. */
9
+ onFailed: (code: string) => void;
10
+ report: (result: SurfaceResult) => void;
11
+ }): ReactNode;
12
+ //# sourceMappingURL=renderCaptureSurface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderCaptureSurface.d.ts","sourceRoot":"","sources":["../../../src/fiat/renderCaptureSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAElE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AA2CtC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAEhE;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,SAAS,EACT,OAAO,EACP,QAAQ,EACR,MAAM,GACP,EAAE;IACD,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,0EAA0E;IAC1E,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,MAAM,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAA;CACxC,GAAG,SAAS,CAsBZ"}
@@ -0,0 +1,18 @@
1
+ import type { FiatFlow, Quote } from '@funkit/connect-core';
2
+ import type { TFunction } from 'i18next';
3
+ /**
4
+ * The live quote's fee, worded exactly as the static step words its computed
5
+ * one. The screen fades the whole line while a re-quote is due, so there is
6
+ * nothing here to hold still — no splitting the number out of the sentence.
7
+ * No fee renders until a quote priced this amount; the empty state keeps the
8
+ * quick amounts up instead.
9
+ */
10
+ export declare function quoteFee(quote: Quote | undefined, amount: string, t: TFunction): string | undefined;
11
+ /** The state's own recovery, when its step response carries one. */
12
+ export declare function recoveryCta(flow: FiatFlow, t: TFunction): {
13
+ label: string;
14
+ onPress: () => void;
15
+ } | undefined;
16
+ /** The refreshed price a post-KYC review carries. */
17
+ export declare function reviewDetail(flow: FiatFlow): string | undefined;
18
+ //# sourceMappingURL=stepDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepDetails.d.ts","sourceRoot":"","sources":["../../../src/fiat/stepDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAKxC;;;;;;GAMG;AACH,wBAAgB,QAAQ,CACtB,KAAK,EAAE,KAAK,GAAG,SAAS,EACxB,MAAM,EAAE,MAAM,EACd,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,SAAS,CAKpB;AAED,oEAAoE;AACpE,wBAAgB,WAAW,CACzB,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS,GACX;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,GAAG,SAAS,CASpD;AAED,qDAAqD;AACrD,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAM/D"}
@@ -0,0 +1,9 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { BackdropBlurRenderer } from './FlowSheet';
3
+ export declare function BackdropBlurProvider({ renderBackdropBlur, children, }: {
4
+ renderBackdropBlur?: BackdropBlurRenderer;
5
+ children: ReactNode;
6
+ }): import("react").JSX.Element;
7
+ /** The host's blur renderer, or `undefined` when it supplied none. */
8
+ export declare function useBackdropBlur(): BackdropBlurRenderer | undefined;
9
+ //# sourceMappingURL=BackdropBlurContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackdropBlurContext.d.ts","sourceRoot":"","sources":["../../../src/flow/BackdropBlurContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAA;AAEjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAYvD,wBAAgB,oBAAoB,CAAC,EACnC,kBAAkB,EAClB,QAAQ,GACT,EAAE;IACD,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;IACzC,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAMA;AAED,sEAAsE;AACtE,wBAAgB,eAAe,IAAI,oBAAoB,GAAG,SAAS,CAElE"}
@@ -1 +1 @@
1
- {"version":3,"file":"DepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositAmountStep.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,qBAAqB,CAAA;AAK5B;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,wBAAwB,CAAA;IAChC,SAAS,EAAE,oBAAoB,CAAA;CAChC,+BAkEA"}
1
+ {"version":3,"file":"DepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositAmountStep.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,qBAAqB,CAAA;AAiB5B;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,wBAAwB,CAAA;IAChC,SAAS,EAAE,oBAAoB,CAAA;CAChC,+BA2KA"}
@@ -1,5 +1,4 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { ClipboardWriter } from '../transfer/clipboard';
3
2
  import type { DepositFlowCallbacks, DepositFlowConfig } from './depositFlowConfig';
4
3
  import type { FlowNav, FlowScreen } from './FunkitFlowProvider';
5
4
  /**
@@ -8,11 +7,10 @@ import type { FlowNav, FlowScreen } from './FunkitFlowProvider';
8
7
  * with the resolved data. Kept separate from the provider so its
9
8
  * hooks run only while the modal is open (it isn't mounted when closed).
10
9
  */
11
- export declare function FlowContent({ config, current, nav, copyToClipboard, onCopySuccess, callbacks, }: {
10
+ export declare function FlowContent({ config, current, nav, onCopySuccess, callbacks, }: {
12
11
  config: DepositFlowConfig;
13
12
  current: FlowScreen | undefined;
14
13
  nav: FlowNav;
15
- copyToClipboard: ClipboardWriter;
16
14
  onCopySuccess: () => void;
17
15
  callbacks: DepositFlowCallbacks;
18
16
  }): ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"DepositFlowContent.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositFlowContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAA;AAgCxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAU5D,OAAO,KAAK,EAEV,oBAAoB,EACpB,iBAAiB,EAElB,MAAM,qBAAqB,CAAA;AAI5B,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AA6D/D;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,OAAO,EACP,GAAG,EACH,eAAe,EACf,aAAa,EACb,SAAS,GACV,EAAE;IACD,MAAM,EAAE,iBAAiB,CAAA;IACzB,OAAO,EAAE,UAAU,GAAG,SAAS,CAAA;IAC/B,GAAG,EAAE,OAAO,CAAA;IACZ,eAAe,EAAE,eAAe,CAAA;IAChC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,SAAS,EAAE,oBAAoB,CAAA;CAChC,GAAG,SAAS,CA2OZ"}
1
+ {"version":3,"file":"DepositFlowContent.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositFlowContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAA;AA2CxE,OAAO,KAAK,EAEV,oBAAoB,EACpB,iBAAiB,EAElB,MAAM,qBAAqB,CAAA;AAI5B,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AA6D/D;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,OAAO,EACP,GAAG,EACH,aAAa,EACb,SAAS,GACV,EAAE;IACD,MAAM,EAAE,iBAAiB,CAAA;IACzB,OAAO,EAAE,UAAU,GAAG,SAAS,CAAA;IAC/B,GAAG,EAAE,OAAO,CAAA;IACZ,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,SAAS,EAAE,oBAAoB,CAAA;CAChC,GAAG,SAAS,CA0PZ"}
@@ -0,0 +1,9 @@
1
+ import type { DepositAmountEntryConfig, DepositCheckoutConfig, FiatRailConfig } from './depositFlowConfig';
2
+ export declare function FiatDepositAmountStep({ config, fiat, checkoutConfig, dynamicRoutingId, onCloseFlow, }: {
3
+ config: DepositAmountEntryConfig;
4
+ fiat: FiatRailConfig;
5
+ checkoutConfig: DepositCheckoutConfig | undefined;
6
+ dynamicRoutingId: string | undefined;
7
+ onCloseFlow: () => void;
8
+ }): import("react").JSX.Element;
9
+ //# sourceMappingURL=FiatDepositAmountStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatDepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/FiatDepositAmountStep.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EACV,wBAAwB,EACxB,qBAAqB,EACrB,cAAc,EACf,MAAM,qBAAqB,CAAA;AAW5B,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,IAAI,EACJ,cAAc,EACd,gBAAgB,EAChB,WAAW,GACZ,EAAE;IACD,MAAM,EAAE,wBAAwB,CAAA;IAChC,IAAI,EAAE,cAAc,CAAA;IACpB,cAAc,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACjD,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB,+BAiBA"}
@@ -1,7 +1,7 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type BottomSheetBackgroundProps } from '@gorhom/bottom-sheet';
3
3
  /**
4
- * Host-supplied blur laid under the sheet's scrim. The package ships no blur
4
+ * Host-supplied blur laid under the sheet's overlay. The package ships no blur
5
5
  * module of its own — every option is native, so it would cost consumers a
6
6
  * rebuild and a peer-dep bump. Rendered into a full-bleed container, so
7
7
  * `flex: 1` or `StyleSheet.absoluteFill` fills the screen.
@@ -30,8 +30,11 @@ export interface FlowSheetProps {
30
30
  enableSwipeToDismiss?: boolean;
31
31
  /** Let the sheet reach the top of the screen for a screen that is a full window tall. */
32
32
  fullHeight?: boolean;
33
- /** Optional blur behind the scrim. See {@link BackdropBlurRenderer}. */
34
- renderBackdropBlur?: BackdropBlurRenderer;
33
+ /**
34
+ * Draw the sheet as glass rather than a panel — the V2 deposit surface, which
35
+ * the design lays over the host app at 30%. See {@link GlassSheetBackground}.
36
+ */
37
+ glass?: boolean;
35
38
  }
36
39
  /**
37
40
  * Host for the managed deposit-flow surface: a `@gorhom/bottom-sheet` modal
@@ -43,7 +46,7 @@ export interface FlowSheetProps {
43
46
  * `react-native-gesture-handler`, `react-native-reanimated`) and a
44
47
  * `<GestureHandlerRootView>` at the app root.
45
48
  */
46
- export declare function FlowSheet({ isOpen, session, onClose, content, children, keyboardAvoidEnabled, enableSwipeToDismiss, fullHeight, renderBackdropBlur, }: FlowSheetProps): import("react").JSX.Element;
49
+ export declare function FlowSheet({ isOpen, session, onClose, content, children, keyboardAvoidEnabled, enableSwipeToDismiss, fullHeight, glass, }: FlowSheetProps): import("react").JSX.Element;
47
50
  /**
48
51
  * Sheet surface for the flow modal. gorhom sizes the sheet body to its content,
49
52
  * so a flat background fills only the content area; over-dragging the sheet
@@ -55,5 +58,31 @@ export declare function FlowSheet({ isOpen, session, onClose, content, children,
55
58
  * `top: '100%'`, the extension tracks the body as it lifts, so the rubber-band
56
59
  * over-drag reveals more surface instead of empty space — the bounce is kept.
57
60
  */
58
- export declare function FlowSheetBackground({ pointerEvents, style, }: BottomSheetBackgroundProps): import("react").JSX.Element;
61
+ export declare function FlowSheetBackground(props: BottomSheetBackgroundProps): import("react").JSX.Element;
62
+ /**
63
+ * {@link FlowSheetBackground} for the amount-first deposit surface, which the
64
+ * design draws as glass over the host app. Pair with the host's
65
+ * {@link BackdropBlurRenderer}: without a blur behind it the app shows through
66
+ * sharp, which is legible but not what the design draws.
67
+ */
68
+ export declare function GlassSheetBackground(props: BottomSheetBackgroundProps): import("react").JSX.Element;
69
+ /**
70
+ * {@link FlowSheetBackground} for a drawer that opens over another sheet: the
71
+ * same surface, laid on at {@link DRAWER_SURFACE_OPACITY} so the screen it was
72
+ * opened from reads through it (dimmed by the drawer's own overlay).
73
+ */
74
+ export declare function DrawerSheetBackground(props: BottomSheetBackgroundProps): import("react").JSX.Element;
75
+ /**
76
+ * Black at the sheet's top edge, clear a tenth of the way down — the shading the
77
+ * design lays under the header so the title and balance hold up against
78
+ * whatever host content is showing through the glass. Black, not the modal
79
+ * color: it is a shadow over the surface, not more of it.
80
+ */
81
+ /**
82
+ * The dim a drawer is laid over (Figma node 2:1315): clear at the screen's top,
83
+ * half-black through the middle band, clear again before the bottom — so the
84
+ * screen it was opened from stays readable at its head while the drawer's own
85
+ * ground goes dark.
86
+ */
87
+ export declare function DrawerOverlay(): import("react").JSX.Element;
59
88
  //# sourceMappingURL=FlowSheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FlowSheet.d.ts","sourceRoot":"","sources":["../../../src/flow/FlowSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EAIf,MAAM,OAAO,CAAA;AAEd,OAAO,EAEL,KAAK,0BAA0B,EAKhC,MAAM,sBAAsB,CAAA;AAQ7B;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,SAAS,CAAA;AAElD,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,OAAO,CAAA;IACf;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,kDAAkD;IAClD,OAAO,EAAE,SAAS,CAAA;IAClB,yDAAyD;IACzD,QAAQ,EAAE,SAAS,CAAA;IACnB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,yFAAyF;IACzF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,wEAAwE;IACxE,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;CAC1C;AAQD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,OAAO,EACP,OAAO,EACP,OAAO,EACP,QAAQ,EACR,oBAA4B,EAC5B,oBAA2B,EAC3B,UAAkB,EAClB,kBAAkB,GACnB,EAAE,cAAc,+BAyIhB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,aAAa,EACb,KAAK,GACN,EAAE,0BAA0B,+BAgB5B"}
1
+ {"version":3,"file":"FlowSheet.d.ts","sourceRoot":"","sources":["../../../src/flow/FlowSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EAIf,MAAM,OAAO,CAAA;AAGd,OAAO,EAEL,KAAK,0BAA0B,EAKhC,MAAM,sBAAsB,CAAA;AAU7B;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,SAAS,CAAA;AAElD,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,OAAO,CAAA;IACf;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,kDAAkD;IAClD,OAAO,EAAE,SAAS,CAAA;IAClB,yDAAyD;IACzD,QAAQ,EAAE,SAAS,CAAA;IACnB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,yFAAyF;IACzF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAQD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,OAAO,EACP,OAAO,EACP,OAAO,EACP,QAAQ,EACR,oBAA4B,EAC5B,oBAA2B,EAC3B,UAAkB,EAClB,KAAa,GACd,EAAE,cAAc,+BAoJhB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,0BAA0B,+BAEpE;AAaD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,0BAA0B,+BAErE;AAOD;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,+BAQtE;AA2DD;;;;;GAKG;AACH;;;;;GAKG;AACH,wBAAgB,aAAa,gCA4B5B"}
@@ -37,7 +37,7 @@ export declare function FunkitFlowProvider({ children, copyToClipboard, pasteFro
37
37
  copyToClipboard?: ClipboardWriter;
38
38
  /** Host clipboard-read override; defaults to the bare-RN clipboard peer. */
39
39
  pasteFromClipboard?: ClipboardReader;
40
- /** Host blur under the sheet's scrim. See {@link BackdropBlurRenderer}. */
40
+ /** Host blur under the sheet's overlay. See {@link BackdropBlurRenderer}. */
41
41
  renderBackdropBlur?: BackdropBlurRenderer;
42
42
  }): import("react").JSX.Element;
43
43
  export declare function useFunkitFlow(): FunkitFlowContextValue;
@@ -1 +1 @@
1
- {"version":3,"file":"FunkitFlowProvider.d.ts","sourceRoot":"","sources":["../../../src/flow/FunkitFlowProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AAId,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,eAAe,EAIrB,MAAM,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,oBAAoB,EAAa,MAAM,aAAa,CAAA;AAIlE,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,wBAAwB,CAAA;AAE/B,MAAM,MAAM,UAAU,GAClB,eAAe,GACf,UAAU,GACV,UAAU,GACV,SAAS,GACT,gBAAgB,GAChB,gBAAgB,GAChB,iBAAiB,GACjB,sBAAsB,GACtB,kBAAkB,CAAA;AAoDtB,UAAU,sBAAsB;IAC9B,6DAA6D;IAC7D,YAAY,EAAE,CACZ,MAAM,EAAE,iBAAiB,EACzB,SAAS,CAAC,EAAE,oBAAoB,KAC7B,IAAI,CAAA;IACT,oEAAoE;IACpE,eAAe,EAAE,CACf,MAAM,EAAE,oBAAoB,EAC5B,SAAS,CAAC,EAAE,uBAAuB,KAChC,IAAI,CAAA;IACT,sBAAsB;IACtB,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB;AAID,MAAM,WAAW,OAAO;IACtB,QAAQ,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IACjC,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,6EAA6E;IAC7E,KAAK,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAC9B;;;;OAIG;IACH,KAAK,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAC9B,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,eAAwC,EACxC,kBAA8C,EAC9C,kBAAkB,GACnB,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,uEAAuE;IACvE,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,4EAA4E;IAC5E,kBAAkB,CAAC,EAAE,eAAe,CAAA;IACpC,2EAA2E;IAC3E,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;CAC1C,+BAmLA;AAID,wBAAgB,aAAa,IAAI,sBAAsB,CAMtD"}
1
+ {"version":3,"file":"FunkitFlowProvider.d.ts","sourceRoot":"","sources":["../../../src/flow/FunkitFlowProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AAId,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,eAAe,EAIrB,MAAM,uBAAuB,CAAA;AAG9B,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,oBAAoB,EAAa,MAAM,aAAa,CAAA;AAIlE,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,wBAAwB,CAAA;AAE/B,MAAM,MAAM,UAAU,GAClB,eAAe,GACf,UAAU,GACV,UAAU,GACV,SAAS,GACT,gBAAgB,GAChB,gBAAgB,GAChB,iBAAiB,GACjB,sBAAsB,GACtB,kBAAkB,CAAA;AAoDtB,UAAU,sBAAsB;IAC9B,6DAA6D;IAC7D,YAAY,EAAE,CACZ,MAAM,EAAE,iBAAiB,EACzB,SAAS,CAAC,EAAE,oBAAoB,KAC7B,IAAI,CAAA;IACT,oEAAoE;IACpE,eAAe,EAAE,CACf,MAAM,EAAE,oBAAoB,EAC5B,SAAS,CAAC,EAAE,uBAAuB,KAChC,IAAI,CAAA;IACT,sBAAsB;IACtB,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB;AAID,MAAM,WAAW,OAAO;IACtB,QAAQ,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IACjC,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,6EAA6E;IAC7E,KAAK,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAC9B;;;;OAIG;IACH,KAAK,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAC9B,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,eAAwC,EACxC,kBAA8C,EAC9C,kBAAkB,GACnB,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,uEAAuE;IACvE,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,4EAA4E;IAC5E,kBAAkB,CAAC,EAAE,eAAe,CAAA;IACpC,6EAA6E;IAC7E,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;CAC1C,+BA2LA;AAID,wBAAgB,aAAa,IAAI,sBAAsB,CAMtD"}
@@ -1,5 +1,4 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { SafeClipboardReader } from '../transfer/clipboard';
3
2
  import type { FlowNav, FlowScreen } from './FunkitFlowProvider';
4
3
  import type { WithdrawalFlowCallbacks, WithdrawalFlowConfig } from './withdrawalFlowConfig';
5
4
  /**
@@ -10,12 +9,10 @@ import type { WithdrawalFlowCallbacks, WithdrawalFlowConfig } from './withdrawal
10
9
  * FlowContent, mounted only while a withdrawal flow is open so its
11
10
  * queries run only then.
12
11
  */
13
- export declare function WithdrawalFlowContent({ config, callbacks, current, nav, pasteFromClipboard, }: {
12
+ export declare function WithdrawalFlowContent({ config, callbacks, current, nav, }: {
14
13
  config: WithdrawalFlowConfig;
15
14
  callbacks: WithdrawalFlowCallbacks;
16
15
  current: FlowScreen | undefined;
17
16
  nav: FlowNav;
18
- /** Fills the recipient field on the address step. Guarded upstream. */
19
- pasteFromClipboard: SafeClipboardReader;
20
17
  }): ReactNode;
21
18
  //# sourceMappingURL=WithdrawalFlowContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WithdrawalFlowContent.d.ts","sourceRoot":"","sources":["../../../src/flow/WithdrawalFlowContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAyB,MAAM,OAAO,CAAA;AAkB7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,wBAAwB,CAAA;AAW/B;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,SAAS,EACT,OAAO,EACP,GAAG,EACH,kBAAkB,GACnB,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,SAAS,EAAE,uBAAuB,CAAA;IAClC,OAAO,EAAE,UAAU,GAAG,SAAS,CAAA;IAC/B,GAAG,EAAE,OAAO,CAAA;IACZ,uEAAuE;IACvE,kBAAkB,EAAE,mBAAmB,CAAA;CACxC,GAAG,SAAS,CA8OZ"}
1
+ {"version":3,"file":"WithdrawalFlowContent.d.ts","sourceRoot":"","sources":["../../../src/flow/WithdrawalFlowContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAyB,MAAM,OAAO,CAAA;AAmB7D,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,wBAAwB,CAAA;AAW/B;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,SAAS,EACT,OAAO,EACP,GAAG,GACJ,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,SAAS,EAAE,uBAAuB,CAAA;IAClC,OAAO,EAAE,UAAU,GAAG,SAAS,CAAA;IAC/B,GAAG,EAAE,OAAO,CAAA;CACb,GAAG,SAAS,CAgPZ"}