@funkit/connect-rn 0.2.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/README.md +72 -0
  2. package/dist/index.d.ts +11 -8
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +3595 -612
  5. package/dist/index.js.map +4 -4
  6. package/dist/src/flow/AddressCopiedToast.d.ts +18 -0
  7. package/dist/src/flow/AddressCopiedToast.d.ts.map +1 -0
  8. package/dist/src/flow/FlowSheet.d.ts +47 -0
  9. package/dist/src/flow/FlowSheet.d.ts.map +1 -0
  10. package/dist/src/flow/FunkitFlowProvider.d.ts +23 -0
  11. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -0
  12. package/dist/src/flow/depositFlowConfig.d.ts +101 -0
  13. package/dist/src/flow/depositFlowConfig.d.ts.map +1 -0
  14. package/dist/src/flow/useKeyboardHeight.d.ts +21 -0
  15. package/dist/src/flow/useKeyboardHeight.d.ts.map +1 -0
  16. package/dist/src/geo/isCountryBlocked.d.ts +3 -0
  17. package/dist/src/geo/isCountryBlocked.d.ts.map +1 -0
  18. package/dist/src/geo/useCheckoutBlocked.d.ts +10 -0
  19. package/dist/src/geo/useCheckoutBlocked.d.ts.map +1 -0
  20. package/dist/src/geo/useUserIpInfo.d.ts +22 -0
  21. package/dist/src/geo/useUserIpInfo.d.ts.map +1 -0
  22. package/dist/src/icons/CopyAddressIcon.d.ts +9 -0
  23. package/dist/src/icons/CopyAddressIcon.d.ts.map +1 -0
  24. package/dist/src/icons/CryptoBitcoinIcon.d.ts +9 -0
  25. package/dist/src/icons/CryptoBitcoinIcon.d.ts.map +1 -0
  26. package/dist/src/icons/CryptoTransferQRIcon.d.ts +9 -0
  27. package/dist/src/icons/CryptoTransferQRIcon.d.ts.map +1 -0
  28. package/dist/src/icons/FigmaSystemIcons.d.ts +19 -0
  29. package/dist/src/icons/FigmaSystemIcons.d.ts.map +1 -0
  30. package/dist/src/icons/FunIcon.d.ts +18 -0
  31. package/dist/src/icons/FunIcon.d.ts.map +1 -0
  32. package/dist/src/icons/PaymentBrandIcons.d.ts +24 -0
  33. package/dist/src/icons/PaymentBrandIcons.d.ts.map +1 -0
  34. package/dist/src/icons/QrChainCluster.d.ts +22 -0
  35. package/dist/src/icons/QrChainCluster.d.ts.map +1 -0
  36. package/dist/src/icons/SourceTokenCluster.d.ts +31 -0
  37. package/dist/src/icons/SourceTokenCluster.d.ts.map +1 -0
  38. package/dist/src/icons/TokenChainIcon.d.ts +19 -0
  39. package/dist/src/icons/TokenChainIcon.d.ts.map +1 -0
  40. package/dist/src/icons/assetLogos.d.ts +12 -0
  41. package/dist/src/icons/assetLogos.d.ts.map +1 -0
  42. package/dist/src/icons/funIconUri.d.ts +16 -0
  43. package/dist/src/icons/funIconUri.d.ts.map +1 -0
  44. package/dist/src/identity/IdentityContext.d.ts +30 -1
  45. package/dist/src/identity/IdentityContext.d.ts.map +1 -1
  46. package/dist/src/logging/datadogHttpLogTransport.d.ts +0 -7
  47. package/dist/src/logging/datadogHttpLogTransport.d.ts.map +1 -1
  48. package/dist/src/providers/FunkitProvider.d.ts +37 -6
  49. package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
  50. package/dist/src/providers/FunkitStatsigProvider.d.ts +6 -2
  51. package/dist/src/providers/FunkitStatsigProvider.d.ts.map +1 -1
  52. package/dist/src/providers/useFunkitCheckout.d.ts +14 -0
  53. package/dist/src/providers/useFunkitCheckout.d.ts.map +1 -0
  54. package/dist/src/screens/AddMoneyScreen.d.ts +57 -2
  55. package/dist/src/screens/AddMoneyScreen.d.ts.map +1 -1
  56. package/dist/src/screens/AvailableChainsScreen.d.ts +33 -0
  57. package/dist/src/screens/AvailableChainsScreen.d.ts.map +1 -0
  58. package/dist/src/screens/CheckoutBlockedScreen.d.ts +2 -0
  59. package/dist/src/screens/CheckoutBlockedScreen.d.ts.map +1 -0
  60. package/dist/src/screens/NetworkSelector.d.ts +31 -0
  61. package/dist/src/screens/NetworkSelector.d.ts.map +1 -0
  62. package/dist/src/screens/QrCodeScreen.d.ts +30 -14
  63. package/dist/src/screens/QrCodeScreen.d.ts.map +1 -1
  64. package/dist/src/screens/TransferCryptoScreen.d.ts +25 -12
  65. package/dist/src/screens/TransferCryptoScreen.d.ts.map +1 -1
  66. package/dist/src/statsig/statsigMetadata.d.ts.map +1 -1
  67. package/dist/src/swapped/SwappedScreen.d.ts +21 -0
  68. package/dist/src/swapped/SwappedScreen.d.ts.map +1 -0
  69. package/dist/src/swapped/SwappedWebView.d.ts +18 -0
  70. package/dist/src/swapped/SwappedWebView.d.ts.map +1 -0
  71. package/dist/src/swapped/buildSwappedTheme.d.ts +31 -0
  72. package/dist/src/swapped/buildSwappedTheme.d.ts.map +1 -0
  73. package/dist/src/swapped/webViewSwappedTransport.d.ts +74 -0
  74. package/dist/src/swapped/webViewSwappedTransport.d.ts.map +1 -0
  75. package/dist/src/theme/FunkitThemeProvider.d.ts +14 -2
  76. package/dist/src/theme/FunkitThemeProvider.d.ts.map +1 -1
  77. package/dist/src/theme/restyle.d.ts +1140 -513
  78. package/dist/src/theme/restyle.d.ts.map +1 -1
  79. package/dist/src/theme/toRestyleTheme.d.ts +90 -48
  80. package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
  81. package/dist/src/theme/tokens.d.ts +52 -8
  82. package/dist/src/theme/tokens.d.ts.map +1 -1
  83. package/dist/src/theme/useFunkitTheme.d.ts +4 -10
  84. package/dist/src/theme/useFunkitTheme.d.ts.map +1 -1
  85. package/dist/src/transfer/QrCode.d.ts +24 -0
  86. package/dist/src/transfer/QrCode.d.ts.map +1 -0
  87. package/dist/src/transfer/availableChains.d.ts +53 -0
  88. package/dist/src/transfer/availableChains.d.ts.map +1 -0
  89. package/dist/src/transfer/clipboard.d.ts +23 -0
  90. package/dist/src/transfer/clipboard.d.ts.map +1 -0
  91. package/dist/src/transfer/fops.d.ts +26 -0
  92. package/dist/src/transfer/fops.d.ts.map +1 -0
  93. package/dist/src/transfer/formatDepositAddress.d.ts +9 -0
  94. package/dist/src/transfer/formatDepositAddress.d.ts.map +1 -0
  95. package/dist/src/transfer/hooks/useFops.d.ts +47 -0
  96. package/dist/src/transfer/hooks/useFops.d.ts.map +1 -0
  97. package/dist/src/transfer/hooks/useSupportedTokens.d.ts +26 -0
  98. package/dist/src/transfer/hooks/useSupportedTokens.d.ts.map +1 -0
  99. package/dist/src/transfer/hooks/useTokenTransfer.d.ts +4 -2
  100. package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
  101. package/dist/src/transfer/hooks/useTransferInit.d.ts +1 -1
  102. package/dist/src/transfer/hooks/useTransferInit.d.ts.map +1 -1
  103. package/dist/src/transfer/hooks/useUDAParams.d.ts +1 -1
  104. package/dist/src/transfer/hooks/useUDAParams.d.ts.map +1 -1
  105. package/dist/src/transfer/supportedTokens.d.ts +34 -0
  106. package/dist/src/transfer/supportedTokens.d.ts.map +1 -0
  107. package/dist/src/version.d.ts +2 -0
  108. package/dist/src/version.d.ts.map +1 -0
  109. package/package.json +31 -4
  110. package/dist/src/icons/CopyIcon.d.ts +0 -3
  111. package/dist/src/icons/CopyIcon.d.ts.map +0 -1
  112. package/dist/src/icons/NetworkIconFallback.d.ts +0 -3
  113. package/dist/src/icons/NetworkIconFallback.d.ts.map +0 -1
  114. package/dist/src/icons/QrCodeIcon.d.ts +0 -3
  115. package/dist/src/icons/QrCodeIcon.d.ts.map +0 -1
  116. package/dist/src/theme/colorSchemeContext.d.ts +0 -22
  117. package/dist/src/theme/colorSchemeContext.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../src/theme/restyle.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAA;AAE7C,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,OAAO,WAAW,CAAC;IACnE;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAA;CAC1B;AAED;;;;GAIG;AACH,eAAO,MAAM,IAAI,4GAYhB,CAAA;AAED,0EAA0E;AAC1E,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA"}
@@ -101,54 +101,68 @@ export declare function toRestyleTheme(tokens: FunkitTokens): {
101
101
  };
102
102
  textVariants: {
103
103
  defaults: {
104
- fontFamily: string;
105
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
106
104
  fontSize: number;
105
+ lineHeight: number;
107
106
  color: string;
107
+ fontFamily: string;
108
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
108
109
  };
109
110
  body: {
110
- fontFamily: string;
111
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
112
111
  fontSize: number;
112
+ lineHeight: number;
113
113
  color: string;
114
+ fontFamily: string;
115
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
114
116
  };
115
117
  bodyMedium: {
116
- fontFamily: string;
117
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
118
118
  fontSize: number;
119
+ lineHeight: number;
119
120
  color: string;
121
+ fontFamily: string;
122
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
120
123
  };
121
124
  detail: {
122
- fontFamily: string;
123
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
124
125
  fontSize: number;
126
+ lineHeight: number;
125
127
  color: string;
128
+ fontFamily: string;
129
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
126
130
  };
127
131
  headerTitle: {
128
- fontFamily: string;
129
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
130
132
  fontSize: number;
131
133
  color: string;
132
134
  textAlign: string;
135
+ fontFamily: string;
136
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
133
137
  };
134
138
  headerSubtitle: {
135
- fontFamily: string;
136
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
137
139
  fontSize: number;
138
140
  color: string;
139
141
  textAlign: string;
142
+ fontFamily: string;
143
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
140
144
  };
141
145
  amountInput: {
142
- fontFamily: string;
143
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
144
146
  fontSize: number;
145
147
  color: string;
148
+ fontFamily: string;
149
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
146
150
  };
147
151
  amountSummary: {
148
- fontFamily: string;
149
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
150
152
  fontSize: number;
151
153
  color: string;
154
+ fontFamily: string;
155
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
156
+ };
157
+ };
158
+ textWeights: {
159
+ base: {
160
+ fontFamily: string;
161
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
162
+ };
163
+ medium: {
164
+ fontFamily: string;
165
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
152
166
  };
153
167
  };
154
168
  };
@@ -249,54 +263,68 @@ export declare const defaultLightTheme: {
249
263
  };
250
264
  textVariants: {
251
265
  defaults: {
252
- fontFamily: string;
253
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
254
266
  fontSize: number;
267
+ lineHeight: number;
255
268
  color: string;
269
+ fontFamily: string;
270
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
256
271
  };
257
272
  body: {
258
- fontFamily: string;
259
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
260
273
  fontSize: number;
274
+ lineHeight: number;
261
275
  color: string;
276
+ fontFamily: string;
277
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
262
278
  };
263
279
  bodyMedium: {
264
- fontFamily: string;
265
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
266
280
  fontSize: number;
281
+ lineHeight: number;
267
282
  color: string;
283
+ fontFamily: string;
284
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
268
285
  };
269
286
  detail: {
270
- fontFamily: string;
271
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
272
287
  fontSize: number;
288
+ lineHeight: number;
273
289
  color: string;
290
+ fontFamily: string;
291
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
274
292
  };
275
293
  headerTitle: {
276
- fontFamily: string;
277
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
278
294
  fontSize: number;
279
295
  color: string;
280
296
  textAlign: string;
297
+ fontFamily: string;
298
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
281
299
  };
282
300
  headerSubtitle: {
283
- fontFamily: string;
284
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
285
301
  fontSize: number;
286
302
  color: string;
287
303
  textAlign: string;
304
+ fontFamily: string;
305
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
288
306
  };
289
307
  amountInput: {
290
- fontFamily: string;
291
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
292
308
  fontSize: number;
293
309
  color: string;
310
+ fontFamily: string;
311
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
294
312
  };
295
313
  amountSummary: {
296
- fontFamily: string;
297
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
298
314
  fontSize: number;
299
315
  color: string;
316
+ fontFamily: string;
317
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
318
+ };
319
+ };
320
+ textWeights: {
321
+ base: {
322
+ fontFamily: string;
323
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
324
+ };
325
+ medium: {
326
+ fontFamily: string;
327
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
300
328
  };
301
329
  };
302
330
  };
@@ -394,54 +422,68 @@ export declare const defaultDarkTheme: {
394
422
  };
395
423
  textVariants: {
396
424
  defaults: {
397
- fontFamily: string;
398
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
399
425
  fontSize: number;
426
+ lineHeight: number;
400
427
  color: string;
428
+ fontFamily: string;
429
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
401
430
  };
402
431
  body: {
403
- fontFamily: string;
404
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
405
432
  fontSize: number;
433
+ lineHeight: number;
406
434
  color: string;
435
+ fontFamily: string;
436
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
407
437
  };
408
438
  bodyMedium: {
409
- fontFamily: string;
410
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
411
439
  fontSize: number;
440
+ lineHeight: number;
412
441
  color: string;
442
+ fontFamily: string;
443
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
413
444
  };
414
445
  detail: {
415
- fontFamily: string;
416
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
417
446
  fontSize: number;
447
+ lineHeight: number;
418
448
  color: string;
449
+ fontFamily: string;
450
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
419
451
  };
420
452
  headerTitle: {
421
- fontFamily: string;
422
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
423
453
  fontSize: number;
424
454
  color: string;
425
455
  textAlign: string;
456
+ fontFamily: string;
457
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
426
458
  };
427
459
  headerSubtitle: {
428
- fontFamily: string;
429
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
430
460
  fontSize: number;
431
461
  color: string;
432
462
  textAlign: string;
463
+ fontFamily: string;
464
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
433
465
  };
434
466
  amountInput: {
435
- fontFamily: string;
436
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
437
467
  fontSize: number;
438
468
  color: string;
469
+ fontFamily: string;
470
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
439
471
  };
440
472
  amountSummary: {
441
- fontFamily: string;
442
- fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
443
473
  fontSize: number;
444
474
  color: string;
475
+ fontFamily: string;
476
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
477
+ };
478
+ };
479
+ textWeights: {
480
+ base: {
481
+ fontFamily: string;
482
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
483
+ };
484
+ medium: {
485
+ fontFamily: string;
486
+ fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
445
487
  };
446
488
  };
447
489
  };
@@ -1 +1 @@
1
- {"version":3,"file":"toRestyleTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/toRestyleTheme.ts"],"names":[],"mappings":"A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A4E;AAC5E,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D,qFAAqF;AACrF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAA;AAC5D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAA"}
@@ -60,6 +60,53 @@ export interface FunkitColorTokens {
60
60
  borderBtnSecondary: string;
61
61
  brandPrimary: string;
62
62
  }
63
+ /**
64
+ * Logical text weights connect-rn's text styles come in. The Fun Mobile design
65
+ * only defines these two cuts — there is intentionally no semibold/bold in the
66
+ * token set, so any `fontWeight: '600'`/`'700'` in a component is a smell that
67
+ * should route through one of these instead.
68
+ */
69
+ export type FunkitFontWeight = 'base' | 'medium';
70
+ export interface FunkitFontTokens {
71
+ /**
72
+ * Logical font family the design renders in. Defaults to `'System'` (the
73
+ * platform UI font — SF on iOS, Roboto on Android) so connect-rn needs no
74
+ * font assets out of the box. Hosts that want a custom typeface override this
75
+ * in their tokens and register the matching font files. Concrete per-weight
76
+ * family names are derived from this — see {@link fontFamilyForWeight}.
77
+ */
78
+ family: string;
79
+ /**
80
+ * One entry per {@link FunkitFontWeight}. `familySuffix` builds the native
81
+ * font family the host registers (`${family}-${familySuffix}` → e.g.
82
+ * `Inter-Medium`); `cssWeight` is the matching numeric weight, kept for two
83
+ * reasons: the Swapped WebView theme renders in CSS where `font-weight` works
84
+ * normally, and it lets text degrade to the right weight on the *system* font
85
+ * when the host hasn't loaded a custom font.
86
+ *
87
+ * Omit `familySuffix` only for the **system** font (`family: 'System'`) — the
88
+ * one family where `fontWeight` actually selects the cut. Then every weight
89
+ * shares the bare `family` and `cssWeight` does the work; see
90
+ * {@link fontFamilyForWeight}.
91
+ */
92
+ weights: Record<FunkitFontWeight, {
93
+ familySuffix?: string;
94
+ cssWeight: TextStyle['fontWeight'];
95
+ }>;
96
+ }
97
+ /**
98
+ * Resolves a logical font weight to the concrete native font-family name the
99
+ * host must register — e.g. `'medium'` → `'Inter-Medium'`.
100
+ *
101
+ * This is connect-rn's whole answer to a React Native / Expo quirk: you cannot
102
+ * reliably select a custom font's weight via `fontWeight`. Android matches custom
103
+ * fonts by exact family-name string, and a font loaded at runtime (`expo-font`)
104
+ * registers one native Typeface per name — so `fontWeight: '500'` on
105
+ * `fontFamily: 'Inter'` is silently ignored and every weight renders identically.
106
+ * Weight therefore has to be baked into the family name, and every text style
107
+ * goes through here.
108
+ */
109
+ export declare function fontFamilyForWeight(fonts: FunkitFontTokens, weight: FunkitFontWeight): string;
63
110
  export interface FunkitTokens {
64
111
  colors: FunkitColorTokens;
65
112
  radii: {
@@ -93,14 +140,7 @@ export interface FunkitTokens {
93
140
  iconMd: number;
94
141
  iconLg: number;
95
142
  };
96
- fontFamilies: {
97
- body: string;
98
- header: string;
99
- };
100
- fontWeights: {
101
- base: TextStyle['fontWeight'];
102
- medium: TextStyle['fontWeight'];
103
- };
143
+ fonts: FunkitFontTokens;
104
144
  fontSizes: {
105
145
  bodyBase: number;
106
146
  bodyDetail: number;
@@ -109,6 +149,10 @@ export interface FunkitTokens {
109
149
  amountInput: number;
110
150
  amountSummary: number;
111
151
  };
152
+ fontLineHeights?: {
153
+ bodyBase: number;
154
+ bodyDetail: number;
155
+ };
112
156
  }
113
157
  export declare const lightTokens: FunkitTokens;
114
158
  export declare const darkTokens: FunkitTokens;
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","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Q,EAAE,MAAM,CAAA;QAChB,QAAQ,EAAE,MAAM,CAAA;QAIhB,MAAM,EAAE,MAAM,CAAA;QACd,MAAM,EAAE,MAAM,CAAA;QACd,MAAM,EAAE,MAAM,CAAA;QACd,MAAM,EAAE,MAAM,CAAA;KACf,CAAA;IACD,KAAK,EAAE,gBAAgB,CAAA;IACvB,SAAS,EAAE;QACT,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAIlB,WAAW,EAAE,MAAM,CAAA;QACnB,cAAc,EAAE,MAAM,CAAA;QACtB,WAAW,EAAE,MAAM,CAAA;QACnB,aAAa,EAAE,MAAM,CAAA;KACtB,CAAA;IAMD,eAAe,CAAC,EAAE;QAChB,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;CACF;AAED,eAAO,MAAM,WAAW,EAAE,YAoGzB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,YAoGxB,CAAA"}
@@ -20,16 +20,10 @@ export type FunkitThemeSet = {
20
20
  */
21
21
  export declare function selectTheme(themeSet: FunkitThemeSet, scheme: SystemColorScheme): FunkitTheme;
22
22
  /**
23
- * Resolves the active Restyle theme from the given theme set. Standalone hook
24
- * for use **outside** `FunkitProvider` (e.g. a small surface that wants a theme
25
- * without mounting the provider) — inside the provider, read the active theme
26
- * via Restyle's `useTheme()` and the scheme via `useFunkitColorScheme()`.
27
- *
28
- * Scheme precedence: when mounted inside a `FunkitProvider` it follows the
29
- * provider's **resolved** scheme (so it can't disagree with the theme the
30
- * provider rendered into Restyle after a `toggleColorScheme()` / a controlled
31
- * `colorScheme` prop); standalone it follows the live system Appearance,
32
- * falling back to light when that's unknown.
23
+ * Resolves the active Restyle theme from the live system color scheme, to hand
24
+ * to Restyle's `ThemeProvider`. Pass a custom theme set to override the
25
+ * built-in Fun Mobile themes. Falls back to light when the system scheme is
26
+ * unknown.
33
27
  */
34
28
  export declare function useFunkitTheme(themeSet?: FunkitThemeSet): FunkitTheme;
35
29
  //# sourceMappingURL=useFunkitTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFunkitTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/useFunkitTheme.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,KAAK,iBAAiB,EAAkB,MAAM,kBAAkB,CAAA;AAEzE;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GACtB;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,IAAI,CAAC,EAAE,WAAW,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,WAAW,CAAA;CAAE,CAAA;AAO9C;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,cAAc,EACxB,MAAM,EAAE,iBAAiB,GACxB,WAAW,CAab;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,GAAE,cAAkC,GAC3C,WAAW,CAYb"}
1
+ {"version":3,"file":"useFunkitTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/useFunkitTheme.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,KAAK,iBAAiB,EAAkB,MAAM,kBAAkB,CAAA;AAEzE;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GACtB;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,IAAI,CAAC,EAAE,WAAW,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,WAAW,CAAA;CAAE,CAAA;AAO9C;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,cAAc,EACxB,MAAM,EAAE,iBAAiB,GACxB,WAAW,CAab;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,GAAE,cAAkC,GAC3C,WAAW,CAQb"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Renders the scannable deposit QR from the EIP-681 URI produced by the
3
+ * transfer hooks (e.g. `ethereum:0x…`). Built on `react-native-qrcode-svg`
4
+ * (which renders via `react-native-svg`, already a peer for the CDN icons).
5
+ *
6
+ * The QR is always drawn as near-black (`#101010`, matching the Figma deposit
7
+ * frame) modules on a white cell — fixed colors, NOT the Restyle theme: in dark
8
+ * mode `textPrimary` is light, which over the light cell background renders
9
+ * white-on-white (invisible/unscannable). QR contrast must hold regardless of
10
+ * the app's color scheme.
11
+ */
12
+ export interface QrCodeProps {
13
+ /** The value to encode — the EIP-681 URI / address from `useTokenTransfer`. */
14
+ value: string;
15
+ size?: number;
16
+ /**
17
+ * Error-correction level. Defaults to `'H'` (highest) so the centered
18
+ * chain-logo overlay ({@link QrChainCluster}) stays within scannable
19
+ * tolerance.
20
+ */
21
+ ecl?: 'L' | 'M' | 'Q' | 'H';
22
+ }
23
+ export declare function QrCode({ value, size, ecl }: QrCodeProps): import("react").JSX.Element;
24
+ //# sourceMappingURL=QrCode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QrCode.d.ts","sourceRoot":"","sources":["../../../src/transfer/QrCode.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,WAAW;IAC1B,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAA;CAC5B;AAED,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,IAAU,EAAE,GAAS,EAAE,EAAE,WAAW,+BAUnE"}
@@ -0,0 +1,53 @@
1
+ import { type MinTransferConfig } from '@funkit/connect-core';
2
+ import type { ChainOption } from '../flow/depositFlowConfig';
3
+ import type { AvailableChain } from '../screens/AvailableChainsScreen';
4
+ import type { TokenChainFilter } from './supportedTokens';
5
+ /** Id of the grouped "EVM Chains" network segment. */
6
+ export declare const EVM_NETWORK_ID = "evm";
7
+ /** Whether a chain id is a single-chain non-EVM network (Solana / Tron / Bitcoin). */
8
+ export declare function isNonEvmChainId(chainId: number): boolean;
9
+ /**
10
+ * The active deposit target — used (with the config's optional `getMinDepositUSD`)
11
+ * to add the destination's minimum to each chain's transfer minimum, exactly as
12
+ * web's `TransferToken` does.
13
+ */
14
+ export interface MinDepositTarget {
15
+ targetChain?: string;
16
+ targetAsset?: string;
17
+ dynamicRoutingId?: string;
18
+ getMinDepositUSD?: (ctx: {
19
+ tokenChainId?: string;
20
+ tokenAddress?: string;
21
+ dynamicRoutingId?: string;
22
+ }) => number;
23
+ }
24
+ /** Whether a chain belongs to the selected deposit network (EVM is the group). */
25
+ export declare function belongsToNetwork(chainId: number, networkChainId: number | undefined): boolean;
26
+ /**
27
+ * Build the "Available {network} chains" rows from the curated chain list (the
28
+ * `tokentransferconfig` chains resolved by `useSupportedTokens`, as
29
+ * chain-filter chips), enriched with `@funkit/chains` logos and the per-chain
30
+ * minimum-deposit label.
31
+ *
32
+ * The minimum mirrors web's `TransferToken`:
33
+ * `ceil(getMinTransferValueForChain(chainId, mintokentransfervalue) +
34
+ * getMinDepositUSD(target))`.
35
+ */
36
+ export declare function buildAvailableChains({ chainFilters, networkChainId, minTransferLimits, target, }: {
37
+ /** `useSupportedTokens().chainFilters` — `All` + one chip per curated chain. */
38
+ chainFilters: TokenChainFilter[];
39
+ /** Representative chainId of the selected network (decides EVM vs single). */
40
+ networkChainId: number | undefined;
41
+ minTransferLimits: MinTransferConfig;
42
+ target?: MinDepositTarget;
43
+ }): AvailableChain[];
44
+ /**
45
+ * Derive the Transfer screen's network-switcher segments from the curated chain
46
+ * list (the `tokentransferconfig` chains resolved by `useSupportedTokens`). The
47
+ * networks are NOT host-configured — every EVM chain collapses into a single
48
+ * "EVM Chains" segment (they share one deposit address), and each non-EVM chain
49
+ * (Solana / Tron / Bitcoin) is its own single-chain segment. Segment glyphs use
50
+ * `@funkit/chains` logo URLs.
51
+ */
52
+ export declare function buildDepositNetworks(chainFilters: TokenChainFilter[]): ChainOption[];
53
+ //# sourceMappingURL=availableChains.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"availableChains.d.ts","sourceRoot":"","sources":["../../../src/transfer/availableChains.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAQzD,sDAAsD;AACtD,eAAO,MAAM,cAAc,QAAQ,CAAA;AAGnC,sFAAsF;AACtF,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAExD;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE;QACvB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;KAC1B,KAAK,MAAM,CAAA;CACb;AAED,kFAAkF;AAClF,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,GAAG,SAAS,GACjC,OAAO,CAMT;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,YAAY,EACZ,cAAc,EACd,iBAAiB,EACjB,MAAM,GACP,EAAE;IACD,gFAAgF;IAChF,YAAY,EAAE,gBAAgB,EAAE,CAAA;IAChC,8EAA8E;IAC9E,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;IAClC,iBAAiB,EAAE,iBAAiB,CAAA;IACpC,MAAM,CAAC,EAAE,gBAAgB,CAAA;CAC1B,GAAG,cAAc,EAAE,CAyBnB;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,YAAY,EAAE,gBAAgB,EAAE,GAC/B,WAAW,EAAE,CAiCf"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * A clipboard write the host can inject via `FunkitProvider`'s `copyToClipboard`
3
+ * to use their own clipboard module — e.g. `expo-clipboard` in Expo Go, where
4
+ * the bare-RN native module isn't linked. Given the address text; returns
5
+ * whether the write succeeded (a `void` return is treated as success).
6
+ */
7
+ export type ClipboardWriter = (value: string) => void | Promise<boolean>;
8
+ /**
9
+ * Default clipboard: lazily (dynamic import) loads the bare-RN
10
+ * `@react-native-clipboard/clipboard` peer and writes via `setString`.
11
+ *
12
+ * The import is dynamic + guarded so the native module is only **evaluated when
13
+ * a copy actually happens** — not at startup. A host that hasn't linked it
14
+ * (e.g. Expo Go, where `getEnforcing('RNCClipboard')` would throw) should inject
15
+ * its own writer through `FunkitProvider`'s `copyToClipboard`; that override
16
+ * runs instead, so this path — and the throw — never execute. If the module is
17
+ * absent and no override is provided, the copy degrades to a no-op + warning
18
+ * instead of crashing.
19
+ *
20
+ * Returns whether the copy succeeded.
21
+ */
22
+ export declare function copyToClipboard(value: string): Promise<boolean>;
23
+ //# sourceMappingURL=clipboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../../src/transfer/clipboard.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAExE;;;;;;;;;;;;;GAaG;AACH,wBAAsB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAerE"}
@@ -0,0 +1,26 @@
1
+ import { type ExchangeRates, type SwappedFormOfPayment } from '@funkit/api-base';
2
+ /** A cash-tab payment row, derived from a Swapped form of payment. */
3
+ export interface FopRow {
4
+ /** Stable id passed back to `onSelectFop`. */
5
+ id: string;
6
+ /** Display name, e.g. "Card", "Apple Pay". */
7
+ name: string;
8
+ /** CDN icon URL (rendered via `FunIcon`). */
9
+ iconUri: string;
10
+ /** Subtitle, e.g. "$10,000.00 limit • Instant". */
11
+ subtitle: string;
12
+ /**
13
+ * Disabled when the FOP has no embedded-flow URL — these are the
14
+ * "coming soon" placeholders Swapped returns when geoblocked/unavailable.
15
+ */
16
+ disabled: boolean;
17
+ }
18
+ /**
19
+ * Map Swapped forms of payment to Add money rows. Subtitle mirrors the Figma:
20
+ * `"<limit> limit"`, with `" · 1-2 days"` appended for bank transfers. The
21
+ * limit is the FOP's max converted to USD via {@link getFopsLimit} (falls back
22
+ * to a default when no exchange rate is available — RN doesn't fetch rates in
23
+ * V1).
24
+ */
25
+ export declare function toFopRows(fops: SwappedFormOfPayment[], exchangeRates?: ExchangeRates): FopRow[];
26
+ //# sourceMappingURL=fops.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fops.d.ts","sourceRoot":"","sources":["../../../src/transfer/fops.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAC1B,MAAM,kBAAkB,CAAA;AAGzB,sEAAsE;AACtE,MAAM,WAAW,MAAM;IACrB,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAA;IACZ,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAA;IACf,mDAAmD;IACnD,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,QAAQ,EAAE,OAAO,CAAA;CAClB;AAOD;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,oBAAoB,EAAE,EAC5B,aAAa,CAAC,EAAE,aAAa,GAC5B,MAAM,EAAE,CAeV"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Truncate a deposit address for display, e.g.
3
+ * `0x7854f3…5139F0` (Figma: Transfer Crypto). Keeps the leading + trailing
4
+ * characters with an ellipsis between; short strings are returned unchanged.
5
+ * Kept local (not `@funkit/utils`) so connect-rn doesn't take that dep just for
6
+ * one formatter, and so the lead/trail counts can match the RN design.
7
+ */
8
+ export declare function formatDepositAddress(address: string | undefined, leading?: number, trailing?: number): string;
9
+ //# sourceMappingURL=formatDepositAddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatDepositAddress.d.ts","sourceRoot":"","sources":["../../../src/transfer/formatDepositAddress.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,OAAO,SAAI,EACX,QAAQ,SAAI,GACX,MAAM,CAQR"}