@funkit/connect 0.1.10 → 0.1.13

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 (387) hide show
  1. package/dist/__private__/index.d.ts +8 -0
  2. package/dist/{chunk-X25RSAGB.js → chunk-BQU2NRO5.js} +12577 -12351
  3. package/dist/{chunk-W7RO4DCA.js → chunk-Q73FKLU4.js} +1 -0
  4. package/dist/{chunk-ZKI6VFDD.js → chunk-UOUEGWLS.js} +1 -0
  5. package/dist/components/AccountModal/AccountModal.d.ts +6 -0
  6. package/dist/components/AsyncImage/AsyncImage.d.ts +19 -0
  7. package/dist/components/AsyncImage/useAsyncImage.d.ts +3 -0
  8. package/dist/components/Avatar/Avatar.d.ts +9 -0
  9. package/dist/components/Avatar/EmojiAvatar.d.ts +2 -0
  10. package/dist/components/Avatar/emojiAvatarForAddress.d.ts +106 -0
  11. package/dist/components/Box/Box.d.ts +86 -0
  12. package/dist/components/Button/ActionButton.d.ts +14 -0
  13. package/dist/components/ChainModal/ChainModal.css.d.ts +2 -0
  14. package/dist/components/ChainModal/ChainModal.d.ts +6 -0
  15. package/dist/components/CloseButton/CloseButton.d.ts +5 -0
  16. package/dist/components/ConnectButton/ConnectButton.d.ts +28 -0
  17. package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +39 -0
  18. package/dist/components/ConnectButton/abbreviateETHBalance.d.ts +2 -0
  19. package/dist/components/ConnectButton/formatAddress.d.ts +1 -0
  20. package/dist/components/ConnectButton/formatENS.d.ts +1 -0
  21. package/dist/components/ConnectOptions/ConnectDetails.d.ts +36 -0
  22. package/dist/components/ConnectOptions/DesktopOptions.css.d.ts +4 -0
  23. package/dist/components/ConnectOptions/DesktopOptions.d.ts +15 -0
  24. package/dist/components/ConnectOptions/FunConnectOptions.d.ts +11 -0
  25. package/dist/components/ConnectOptions/MobileOptions.css.d.ts +1 -0
  26. package/dist/components/ConnectOptions/MobileOptions.d.ts +4 -0
  27. package/dist/components/Dialog/Dialog.css.d.ts +5 -0
  28. package/dist/components/Dialog/Dialog.d.ts +12 -0
  29. package/dist/components/Dialog/DialogContent.css.d.ts +6 -0
  30. package/dist/components/Dialog/DialogContent.d.ts +12 -0
  31. package/dist/components/Dialog/FocusTrap.d.ts +2 -0
  32. package/dist/components/Disclaimer/DisclaimerLink.d.ts +5 -0
  33. package/dist/components/Disclaimer/DisclaimerText.d.ts +4 -0
  34. package/dist/components/FunButton/FunBackButton.d.ts +4 -0
  35. package/dist/components/FunButton/FunButton.css.d.ts +3 -0
  36. package/dist/components/FunButton/FunButton.d.ts +18 -0
  37. package/dist/components/FunButton/FunIconButton.d.ts +16 -0
  38. package/dist/components/FunButton/FunLinkButton.d.ts +9 -0
  39. package/dist/components/FunButton/FunViewTxButton.d.ts +4 -0
  40. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +8 -0
  41. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +8 -0
  42. package/dist/components/FunCheckoutModal/FunCheckoutConfirmation.css.d.ts +7 -0
  43. package/dist/components/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +9 -0
  44. package/dist/components/FunCheckoutModal/FunCheckoutModal.d.ts +15 -0
  45. package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +9 -0
  46. package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.css.d.ts +7 -0
  47. package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +12 -0
  48. package/dist/components/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +6 -0
  49. package/dist/components/FunConnectModal/FunConnectModal.d.ts +6 -0
  50. package/dist/components/FunContainer/FunContainer.d.ts +11 -0
  51. package/dist/components/FunDevTestModal/FunDevTestModal.d.ts +6 -0
  52. package/dist/components/FunDivider/FunDivider.d.ts +7 -0
  53. package/dist/components/FunInput/FunInput.css.d.ts +2 -0
  54. package/dist/components/FunInput/FunInput.d.ts +28 -0
  55. package/dist/components/FunKeyValue/FunKeyValue.d.ts +25 -0
  56. package/dist/components/FunMeshTwoFactorStep/FunMeshTwoFactorStep.d.ts +9 -0
  57. package/dist/components/FunModalTitleSection/FunModalTitleSection.css.d.ts +7 -0
  58. package/dist/components/FunModalTitleSection/FunModalTitleSection.d.ts +12 -0
  59. package/dist/components/FunNotification/FunCheckoutNotification.d.ts +6 -0
  60. package/dist/components/FunNotification/FunNotification.d.ts +12 -0
  61. package/dist/components/FunOnramp/FunOnramp.css.d.ts +7 -0
  62. package/dist/components/FunOnramp/FunOnrampConfirmation.css.d.ts +7 -0
  63. package/dist/components/FunOnramp/FunOnrampConfirmationStep.d.ts +18 -0
  64. package/dist/components/FunOnramp/FunOnrampInputStep.d.ts +10 -0
  65. package/dist/components/FunOnramp/FunOnrampPrimaryItem.d.ts +5 -0
  66. package/dist/components/FunOnramp/FunOnrampProcessingStep.d.ts +6 -0
  67. package/dist/components/FunOnramp/FunOnrampTokenPill.d.ts +7 -0
  68. package/dist/components/FunPayments/FunPaymentMeshType.css.d.ts +7 -0
  69. package/dist/components/FunPayments/FunPaymentMeshType.d.ts +10 -0
  70. package/dist/components/FunPayments/FunPaymentMethods.d.ts +55 -0
  71. package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +10 -0
  72. package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +13 -0
  73. package/dist/components/FunPayments/FunPaymentSetup.d.ts +18 -0
  74. package/dist/components/FunPayments/FunPaymentTransferType.css.d.ts +7 -0
  75. package/dist/components/FunPayments/FunPaymentTransferType.d.ts +6 -0
  76. package/dist/components/FunPayments/FunPayments.css.d.ts +7 -0
  77. package/dist/components/FunProgressBar/FunHorizontalStepper.d.ts +7 -0
  78. package/dist/components/FunProgressBar/FunProgressBar.d.ts +6 -0
  79. package/dist/components/FunProgressBar/FunVerticalProgressBar.d.ts +14 -0
  80. package/dist/components/FunSelect/FunClickOutside.d.ts +8 -0
  81. package/dist/components/FunSelect/FunSelect.d.ts +26 -0
  82. package/dist/components/FunSignInFlow/FunSignInStep.css.d.ts +2 -0
  83. package/dist/components/FunSignInFlow/FunSignInStep.d.ts +14 -0
  84. package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.css.d.ts +7 -0
  85. package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.d.ts +9 -0
  86. package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.css.d.ts +7 -0
  87. package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.d.ts +9 -0
  88. package/dist/components/FunStates/FunErrorContent.d.ts +10 -0
  89. package/dist/components/FunTermsAndConditionsTextButton/FunTermsAndConditionsTextButton.d.ts +2 -0
  90. package/dist/components/FunToast/FunShortToast.css.d.ts +10 -0
  91. package/dist/components/FunToast/FunShortToast.d.ts +3 -0
  92. package/dist/components/FunToast/FunToast.d.ts +18 -0
  93. package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +22 -0
  94. package/dist/components/FunkitProvider/AuthenticationContext.d.ts +35 -0
  95. package/dist/components/FunkitProvider/AvatarContext.d.ts +9 -0
  96. package/dist/components/FunkitProvider/CoolModeContext.d.ts +2 -0
  97. package/dist/components/FunkitProvider/FunToastContext.d.ts +11 -0
  98. package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +142 -0
  99. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +20 -0
  100. package/dist/components/FunkitProvider/FunkitConnectChainContext.d.ts +19 -0
  101. package/dist/components/FunkitProvider/FunkitProvider.d.ts +18 -0
  102. package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +347 -0
  103. package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +24 -0
  104. package/dist/components/FunkitProvider/I18nContext.d.ts +9 -0
  105. package/dist/components/FunkitProvider/ModalContext.d.ts +37 -0
  106. package/dist/components/FunkitProvider/ModalSizeContext.d.ts +7 -0
  107. package/dist/components/FunkitProvider/provideFunkitConnectChains.d.ts +3 -0
  108. package/dist/components/FunkitProvider/useCoolMode.d.ts +2 -0
  109. package/dist/components/FunkitProvider/useFingerprint.d.ts +1 -0
  110. package/dist/components/FunkitProvider/usePreloadImages.d.ts +1 -0
  111. package/dist/components/FunkitProvider/walletConnectDeepLink.d.ts +5 -0
  112. package/dist/components/FunkitWeb2Provider/FunkitWeb2Provider.d.ts +68 -0
  113. package/dist/components/Icons/AcornsIcon.d.ts +2 -0
  114. package/dist/components/Icons/AlpacaIcon.d.ts +2 -0
  115. package/dist/components/Icons/Assets.d.ts +3 -0
  116. package/dist/components/Icons/Back.d.ts +2 -0
  117. package/dist/components/Icons/BinanceIcon.d.ts +2 -0
  118. package/dist/components/Icons/BitFlyerIcon.d.ts +2 -0
  119. package/dist/components/Icons/BitstampIcon.d.ts +2 -0
  120. package/dist/components/Icons/BridgeIcon.d.ts +2 -0
  121. package/dist/components/Icons/BybitIcon.d.ts +2 -0
  122. package/dist/components/Icons/Cancel.d.ts +2 -0
  123. package/dist/components/Icons/CexloIcon.d.ts +2 -0
  124. package/dist/components/Icons/ClockIcon.d.ts +2 -0
  125. package/dist/components/Icons/Close.d.ts +2 -0
  126. package/dist/components/Icons/CoinIcon.d.ts +4 -0
  127. package/dist/components/Icons/Coinbase.d.ts +2 -0
  128. package/dist/components/Icons/CoinlistIcon.d.ts +2 -0
  129. package/dist/components/Icons/Connect.d.ts +3 -0
  130. package/dist/components/Icons/Copied.d.ts +2 -0
  131. package/dist/components/Icons/Copy.d.ts +2 -0
  132. package/dist/components/Icons/Create.d.ts +3 -0
  133. package/dist/components/Icons/CreditCardDots.d.ts +2 -0
  134. package/dist/components/Icons/CryptoComIcon.d.ts +2 -0
  135. package/dist/components/Icons/Disconnect.d.ts +2 -0
  136. package/dist/components/Icons/DisconnectSq.d.ts +4 -0
  137. package/dist/components/Icons/Dropdown.d.ts +2 -0
  138. package/dist/components/Icons/EthereumIcon.d.ts +4 -0
  139. package/dist/components/Icons/EtoroIcon.d.ts +2 -0
  140. package/dist/components/Icons/EtradeIcon.d.ts +2 -0
  141. package/dist/components/Icons/Explore.d.ts +2 -0
  142. package/dist/components/Icons/ExternalLink.d.ts +2 -0
  143. package/dist/components/Icons/FunArrows.d.ts +5 -0
  144. package/dist/components/Icons/FunBackIcon.d.ts +2 -0
  145. package/dist/components/Icons/GateIo.d.ts +2 -0
  146. package/dist/components/Icons/GeminiIcon.d.ts +2 -0
  147. package/dist/components/Icons/HuobiIcon.d.ts +2 -0
  148. package/dist/components/Icons/Icons.css.d.ts +3 -0
  149. package/dist/components/Icons/Info.d.ts +3 -0
  150. package/dist/components/Icons/KrakenIcon.d.ts +2 -0
  151. package/dist/components/Icons/KucoinIcon.d.ts +2 -0
  152. package/dist/components/Icons/LightningIcon.d.ts +2 -0
  153. package/dist/components/Icons/LinkIcon.d.ts +2 -0
  154. package/dist/components/Icons/Login.d.ts +3 -0
  155. package/dist/components/Icons/LogoutIcon.d.ts +2 -0
  156. package/dist/components/Icons/MastercardIcon.d.ts +2 -0
  157. package/dist/components/Icons/MmFox.d.ts +2 -0
  158. package/dist/components/Icons/NoAssetsFoundIcon.d.ts +4 -0
  159. package/dist/components/Icons/OkcoinIcon.d.ts +2 -0
  160. package/dist/components/Icons/OkxIcon.d.ts +2 -0
  161. package/dist/components/Icons/PasskeyIcon.d.ts +2 -0
  162. package/dist/components/Icons/PaymentMethodIcons.d.ts +5 -0
  163. package/dist/components/Icons/PlusIcon.d.ts +2 -0
  164. package/dist/components/Icons/ProfileIcon.d.ts +2 -0
  165. package/dist/components/Icons/PublicIcon.d.ts +2 -0
  166. package/dist/components/Icons/ReceiptIcon.d.ts +2 -0
  167. package/dist/components/Icons/RedirectIcon.d.ts +2 -0
  168. package/dist/components/Icons/Refresh.d.ts +3 -0
  169. package/dist/components/Icons/RobinhoodIcon.d.ts +2 -0
  170. package/dist/components/Icons/Scan.d.ts +3 -0
  171. package/dist/components/Icons/SearchIcon.d.ts +4 -0
  172. package/dist/components/Icons/SettingsIcon.d.ts +2 -0
  173. package/dist/components/Icons/SocialMediaIcons.d.ts +4 -0
  174. package/dist/components/Icons/Spinner.d.ts +5 -0
  175. package/dist/components/Icons/StEthIcon.d.ts +2 -0
  176. package/dist/components/Icons/StashIcon.d.ts +2 -0
  177. package/dist/components/Icons/Success.d.ts +2 -0
  178. package/dist/components/Icons/SuccessNoBorder.d.ts +2 -0
  179. package/dist/components/Icons/SwapIcon.d.ts +2 -0
  180. package/dist/components/Icons/SwitchAccount.d.ts +2 -0
  181. package/dist/components/Icons/TransferIcon.d.ts +2 -0
  182. package/dist/components/Icons/USDCIcon.d.ts +2 -0
  183. package/dist/components/Icons/WalletIcon.d.ts +3 -0
  184. package/dist/components/Icons/WeBullIcon.d.ts +2 -0
  185. package/dist/components/Icons/WhiteDotIcon.d.ts +2 -0
  186. package/dist/components/InfoButton/InfoButton.d.ts +5 -0
  187. package/dist/components/MenuButton/MenuButton.css.d.ts +1 -0
  188. package/dist/components/MenuButton/MenuButton.d.ts +9 -0
  189. package/dist/components/ModalSelection/ModalSelection.css.d.ts +1 -0
  190. package/dist/components/ModalSelection/ModalSelection.d.ts +17 -0
  191. package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.css.d.ts +7 -0
  192. package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.d.ts +5 -0
  193. package/dist/components/ProfileDetails/FunWalletProfileViews/FWBridge.d.ts +9 -0
  194. package/dist/components/ProfileDetails/FunWalletProfileViews/FWDeposit.d.ts +14 -0
  195. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHome.css.d.ts +17 -0
  196. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeCheckoutSection.d.ts +4 -0
  197. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeTokenDisplayRow.d.ts +4 -0
  198. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/index.d.ts +6 -0
  199. package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.css.d.ts +7 -0
  200. package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.d.ts +10 -0
  201. package/dist/components/ProfileDetails/FunWalletProfileViews/FWSwap.d.ts +5 -0
  202. package/dist/components/ProfileDetails/FunWalletProfileViews/FunArrowItem.d.ts +4 -0
  203. package/dist/components/ProfileDetails/FunWalletProfileViews/FunSelectionSection.d.ts +11 -0
  204. package/dist/components/ProfileDetails/ProfileDetailsAction.d.ts +10 -0
  205. package/dist/components/ProfileDetails/WalletProfileDetails.d.ts +19 -0
  206. package/dist/components/QRCode/QRCode.d.ts +13 -0
  207. package/dist/components/SignIn/SignIn.d.ts +5 -0
  208. package/dist/components/SkeletalLoader/SkeletalLoader.css.d.ts +1 -0
  209. package/dist/components/SkeletalLoader/SkeletalLoader.d.ts +2 -0
  210. package/dist/components/Text/Text.d.ts +18 -0
  211. package/dist/components/TwoFaInputField/FunTwoFaInput.d.ts +10 -0
  212. package/dist/components/Txs/TxItem.d.ts +7 -0
  213. package/dist/components/Txs/TxList.d.ts +7 -0
  214. package/dist/components/Txs/Txs.css.d.ts +2 -0
  215. package/dist/components/index.css +1816 -707
  216. package/dist/components/index.d.ts +4 -0
  217. package/dist/components/index.js +3 -3
  218. package/dist/consts/assets.d.ts +26 -0
  219. package/dist/consts/funkit.d.ts +9 -0
  220. package/dist/css/animations.css.d.ts +9 -0
  221. package/dist/css/atoms.d.ts +6 -0
  222. package/dist/css/cssObjectFromTheme.d.ts +6 -0
  223. package/dist/css/cssStringFromTheme.d.ts +4 -0
  224. package/dist/css/reset.css.d.ts +14 -0
  225. package/dist/css/sprinkles.css.d.ts +3492 -0
  226. package/dist/css/touchableStyles.css.d.ts +4 -0
  227. package/dist/css/touchableStyles.d.ts +8 -0
  228. package/dist/hooks/useChainId.d.ts +1 -0
  229. package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +31 -0
  230. package/dist/hooks/useCheckoutStateBooleans.d.ts +9 -0
  231. package/dist/hooks/useConnectionStatus.d.ts +7 -0
  232. package/dist/hooks/useDebouncedCallback.d.ts +1 -0
  233. package/dist/hooks/useFunListeners.d.ts +8 -0
  234. package/dist/hooks/useIsMounted.d.ts +1 -0
  235. package/dist/hooks/useMainnet.d.ts +4 -0
  236. package/dist/hooks/useMainnetEnsAvatar.d.ts +1 -0
  237. package/dist/hooks/useMainnetEnsName.d.ts +1 -0
  238. package/dist/hooks/useMesh.d.ts +32 -0
  239. package/dist/hooks/useSymbolRefresh.d.ts +7 -0
  240. package/dist/hooks/useWindowSize.d.ts +4 -0
  241. package/dist/index.css +1800 -691
  242. package/dist/index.d.ts +18 -0
  243. package/dist/index.js +3 -3
  244. package/dist/locales/index.d.ts +3 -0
  245. package/dist/themes/baseTheme.d.ts +25 -0
  246. package/dist/themes/darkTheme.d.ts +85 -0
  247. package/dist/themes/darkTheme.js +1 -1
  248. package/dist/themes/lightTheme.d.ts +85 -0
  249. package/dist/themes/lightTheme.js +1 -1
  250. package/dist/transactions/TransactionStoreContext.d.ts +151 -0
  251. package/dist/transactions/transactionStore.d.ts +21 -0
  252. package/dist/transactions/useAddRecentTransaction.d.ts +2 -0
  253. package/dist/transactions/useClearRecentTransactions.d.ts +1 -0
  254. package/dist/transactions/useRecentTransactions.d.ts +2 -0
  255. package/dist/types.d.ts +4 -0
  256. package/dist/utils/Logger.d.ts +25 -0
  257. package/dist/utils/browsers.d.ts +13 -0
  258. package/dist/utils/chainToExplorerUrl.d.ts +2 -0
  259. package/dist/utils/checkout.d.ts +104 -0
  260. package/dist/utils/colors.d.ts +3 -0
  261. package/dist/utils/emailandPhoneValidator.d.ts +5 -0
  262. package/dist/utils/flatten.d.ts +1 -0
  263. package/dist/utils/formatNumber.d.ts +53 -0
  264. package/dist/utils/formatTimestamp.d.ts +1 -0
  265. package/dist/utils/funkitProvider.d.ts +6 -0
  266. package/dist/utils/funwallet.d.ts +1 -0
  267. package/dist/utils/getWalletConnectUri.d.ts +2 -0
  268. package/dist/utils/groupBy.d.ts +1 -0
  269. package/dist/utils/indexBy.d.ts +1 -0
  270. package/dist/utils/isMobile.d.ts +5 -0
  271. package/dist/utils/isNotNullish.d.ts +1 -0
  272. package/dist/utils/locale.d.ts +1 -0
  273. package/dist/utils/mesh.d.ts +58 -0
  274. package/dist/utils/moonpay.d.ts +1 -0
  275. package/dist/utils/omitUndefinedValues.d.ts +1 -0
  276. package/dist/utils/platforms.d.ts +10 -0
  277. package/dist/wallets/Wallet.d.ts +86 -0
  278. package/dist/wallets/connectorsForWallets.d.ts +2 -0
  279. package/dist/wallets/downloadUrls.d.ts +4 -0
  280. package/dist/wallets/getDefaultWallets.d.ts +11 -0
  281. package/dist/wallets/getInjectedConnector.d.ts +10 -0
  282. package/dist/wallets/getWalletConnectConnector.d.ts +26 -0
  283. package/dist/wallets/recentWalletIds.d.ts +2 -0
  284. package/dist/wallets/useWalletConnectors.d.ts +13 -0
  285. package/dist/wallets/walletConnectors/@funkitConnectWallet/funkitConnectWallet.d.ts +7 -0
  286. package/dist/wallets/walletConnectors/argentWallet/argentWallet.d.ts +16 -0
  287. package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
  288. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.d.ts +18 -0
  289. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  290. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +39 -0
  291. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  292. package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.d.ts +7 -0
  293. package/dist/wallets/walletConnectors/braveWallet/braveWallet.d.ts +7 -0
  294. package/dist/wallets/walletConnectors/{chunk-BYGJDC6Y.js → chunk-2XHTO74O.js} +1 -1
  295. package/dist/wallets/walletConnectors/{chunk-OV2JRO7A.js → chunk-3XLDPS4Y.js} +4 -4
  296. package/dist/wallets/walletConnectors/{chunk-4CGDJKUJ.js → chunk-4EKX7Z25.js} +4 -4
  297. package/dist/wallets/walletConnectors/{chunk-EXTKISYU.js → chunk-4WS4ZSRN.js} +1 -1
  298. package/dist/wallets/walletConnectors/{chunk-Y4EWYKDM.js → chunk-6FQF7H7H.js} +4 -4
  299. package/dist/wallets/walletConnectors/{chunk-EUSM6MRB.js → chunk-6T5K52ZY.js} +5 -5
  300. package/dist/wallets/walletConnectors/{chunk-TBZII4VB.js → chunk-77KYAV4P.js} +4 -4
  301. package/dist/wallets/walletConnectors/{chunk-237HEA4B.js → chunk-7EOFWORX.js} +1 -1
  302. package/dist/wallets/walletConnectors/{chunk-IVIQBLOK.js → chunk-APZ6YBCA.js} +1 -1
  303. package/dist/wallets/walletConnectors/{chunk-DS2NHYCT.js → chunk-BDKAIAQA.js} +1 -1
  304. package/dist/wallets/walletConnectors/{chunk-G2HR4ZFS.js → chunk-DBMFZSXN.js} +1 -1
  305. package/dist/wallets/walletConnectors/{chunk-OH3HGTQV.js → chunk-EHO4MJZJ.js} +1 -1
  306. package/dist/wallets/walletConnectors/{chunk-2T67SC63.js → chunk-FTTYELWN.js} +1 -1
  307. package/dist/wallets/walletConnectors/{chunk-THH76QKN.js → chunk-GHYJ56FA.js} +4 -4
  308. package/dist/wallets/walletConnectors/{chunk-TT2SHVBF.js → chunk-GLB4HFDR.js} +4 -4
  309. package/dist/wallets/walletConnectors/chunk-IEAKLGB6.js +84 -0
  310. package/dist/wallets/walletConnectors/chunk-JJICTRJY.js +114 -0
  311. package/dist/wallets/walletConnectors/chunk-KUXG7P5Q.js +102 -0
  312. package/dist/wallets/walletConnectors/{chunk-AFMQLXY2.js → chunk-LBSWP7R6.js} +1 -1
  313. package/dist/wallets/walletConnectors/chunk-LEWQ7DQV.js +71 -0
  314. package/dist/wallets/walletConnectors/chunk-LL6T7V77.js +81 -0
  315. package/dist/wallets/walletConnectors/{chunk-JC5DQVHX.js → chunk-LVMQKSKW.js} +1 -1
  316. package/dist/wallets/walletConnectors/chunk-MDDT3PSR.js +110 -0
  317. package/dist/wallets/walletConnectors/chunk-MOWIPEYK.js +226 -0
  318. package/dist/wallets/walletConnectors/{chunk-4FQ2OCM4.js → chunk-NEDPCNTA.js} +4 -4
  319. package/dist/wallets/walletConnectors/{chunk-M5VGZ2QW.js → chunk-PTF3JKWO.js} +1 -1
  320. package/dist/wallets/walletConnectors/chunk-Q6N2YWW4.js +112 -0
  321. package/dist/wallets/walletConnectors/chunk-RL5OHS6R.js +113 -0
  322. package/dist/wallets/walletConnectors/{chunk-PATI3A3F.js → chunk-T3RIVRAX.js} +1 -1
  323. package/dist/wallets/walletConnectors/{chunk-7HTS7H5B.js → chunk-TG2HN6KW.js} +1 -1
  324. package/dist/wallets/walletConnectors/{chunk-4LHUAGGQ.js → chunk-TORM2ZGA.js} +1 -1
  325. package/dist/wallets/walletConnectors/{chunk-ZGVEVXA7.js → chunk-TZR3P22N.js} +1 -1
  326. package/dist/wallets/walletConnectors/chunk-VAR774R5.js +105 -0
  327. package/dist/wallets/walletConnectors/chunk-VW5SMBMG.js +71 -0
  328. package/dist/wallets/walletConnectors/chunk-X6A7D2EA.js +71 -0
  329. package/dist/wallets/walletConnectors/chunk-XXTDCRCW.js +52 -0
  330. package/dist/wallets/walletConnectors/chunk-YWKKNHO3.js +117 -0
  331. package/dist/wallets/walletConnectors/clvWallet/clvWallet.d.ts +15 -0
  332. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  333. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.d.ts +22 -0
  334. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  335. package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +7 -0
  336. package/dist/wallets/walletConnectors/coreWallet/coreWallet.d.ts +24 -0
  337. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  338. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.d.ts +7 -0
  339. package/dist/wallets/walletConnectors/desigWallet/desigWallet.d.ts +7 -0
  340. package/dist/wallets/walletConnectors/enkryptWallet/enkryptWallet.d.ts +16 -0
  341. package/dist/wallets/walletConnectors/foxWallet/foxWallet.d.ts +11 -0
  342. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  343. package/dist/wallets/walletConnectors/frameWallet/frameWallet.d.ts +7 -0
  344. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.d.ts +22 -0
  345. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  346. package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.d.ts +16 -0
  347. package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.js +2 -2
  348. package/dist/wallets/walletConnectors/index.d.ts +41 -0
  349. package/dist/wallets/walletConnectors/index.js +68 -68
  350. package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.d.ts +7 -0
  351. package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.d.ts +16 -0
  352. package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
  353. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.d.ts +17 -0
  354. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  355. package/dist/wallets/walletConnectors/mewWallet/mewWallet.d.ts +7 -0
  356. package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.d.ts +16 -0
  357. package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
  358. package/dist/wallets/walletConnectors/okxWallet/okxWallet.d.ts +17 -0
  359. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  360. package/dist/wallets/walletConnectors/omniWallet/omniWallet.d.ts +16 -0
  361. package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
  362. package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.d.ts +11 -0
  363. package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.d.ts +7 -0
  364. package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.d.ts +7 -0
  365. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.d.ts +17 -0
  366. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  367. package/dist/wallets/walletConnectors/safeWallet/safeWallet.d.ts +7 -0
  368. package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.d.ts +12 -0
  369. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.d.ts +22 -0
  370. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  371. package/dist/wallets/walletConnectors/subWallet/subWallet.d.ts +16 -0
  372. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  373. package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.d.ts +12 -0
  374. package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.d.ts +12 -0
  375. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.d.ts +17 -0
  376. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  377. package/dist/wallets/walletConnectors/trustWallet/trustWallet.d.ts +22 -0
  378. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  379. package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.d.ts +16 -0
  380. package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.js +2 -2
  381. package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.d.ts +16 -0
  382. package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.js +2 -2
  383. package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.d.ts +12 -0
  384. package/dist/wallets/walletConnectors/zealWallet/zealWallet.d.ts +7 -0
  385. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.d.ts +17 -0
  386. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  387. package/package.json +4 -5
@@ -62,6 +62,7 @@ var lightTheme = ({
62
62
  textSecondary: "#1A1B1F99",
63
63
  textTertiary: "#1A1B1F59",
64
64
  textDisabled: "",
65
+ textSelection: "rgba(0, 0, 0, 0.10)",
65
66
  inputFieldPrimary: "#000000",
66
67
  inputFieldPlaceholder: "rgba(26, 27, 31, 0.60)",
67
68
  inputFieldDisabled: "#1A1B1F99",
@@ -62,6 +62,7 @@ var darkTheme = ({
62
62
  textSecondary: "rgba(255, 255, 255, 0.4)",
63
63
  textTertiary: "",
64
64
  textDisabled: "",
65
+ textSelection: "rgba(255, 255, 255, 0.10)",
65
66
  inputFieldPrimary: "#FFF",
66
67
  inputFieldPlaceholder: "",
67
68
  inputFieldDisabled: "",
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface AccountModalProps {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ }
6
+ export declare function AccountModal({ onClose, open }: AccountModalProps): React.JSX.Element | null;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { BoxProps } from '../Box/Box';
3
+ import { AsyncImageSrc } from './useAsyncImage';
4
+ type CustomBorderColor = {
5
+ custom: string;
6
+ };
7
+ interface AsyncImageProps {
8
+ alt?: string;
9
+ src: string | AsyncImageSrc | undefined;
10
+ width: BoxProps['width'] | number;
11
+ height: BoxProps['height'] | number;
12
+ background?: string;
13
+ borderRadius?: BoxProps['borderRadius'];
14
+ borderColor?: BoxProps['borderColor'] | CustomBorderColor;
15
+ boxShadow?: BoxProps['boxShadow'];
16
+ testId?: string;
17
+ }
18
+ export declare function AsyncImage({ alt, background, borderColor, borderRadius, boxShadow, height, src: srcProp, width, testId, }: AsyncImageProps): React.JSX.Element;
19
+ export {};
@@ -0,0 +1,3 @@
1
+ export type AsyncImageSrc = () => Promise<string>;
2
+ export declare function loadImages(...urls: (string | AsyncImageSrc)[]): Promise<(string | void)[]>;
3
+ export declare function useAsyncImage(url?: string | AsyncImageSrc): string | undefined;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface AvatarProps {
3
+ address: string;
4
+ loading?: boolean;
5
+ imageUrl?: string | null;
6
+ size: number;
7
+ }
8
+ export declare function Avatar({ address, imageUrl, loading, size }: AvatarProps): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import { AvatarComponent } from '../FunkitProvider/AvatarContext';
2
+ export declare const EmojiAvatar: AvatarComponent;
@@ -0,0 +1,106 @@
1
+ export declare function emojiAvatarForAddress(address: string): {
2
+ readonly color: "#FC5C54";
3
+ readonly emoji: "🌶";
4
+ } | {
5
+ readonly color: "#FFD95A";
6
+ readonly emoji: "🤑";
7
+ } | {
8
+ readonly color: "#E95D72";
9
+ readonly emoji: "🐙";
10
+ } | {
11
+ readonly color: "#6A87C8";
12
+ readonly emoji: "🫐";
13
+ } | {
14
+ readonly color: "#5FD0F3";
15
+ readonly emoji: "🐳";
16
+ } | {
17
+ readonly color: "#FC5C54";
18
+ readonly emoji: "🤶";
19
+ } | {
20
+ readonly color: "#75C06B";
21
+ readonly emoji: "🌲";
22
+ } | {
23
+ readonly color: "#FFDD86";
24
+ readonly emoji: "🌞";
25
+ } | {
26
+ readonly color: "#5FC6D4";
27
+ readonly emoji: "🐒";
28
+ } | {
29
+ readonly color: "#FF949A";
30
+ readonly emoji: "🐵";
31
+ } | {
32
+ readonly color: "#FF8024";
33
+ readonly emoji: "🦊";
34
+ } | {
35
+ readonly color: "#9BA1A4";
36
+ readonly emoji: "🐼";
37
+ } | {
38
+ readonly color: "#EC66FF";
39
+ readonly emoji: "🦄";
40
+ } | {
41
+ readonly color: "#FF8CBC";
42
+ readonly emoji: "🐷";
43
+ } | {
44
+ readonly color: "#FF9A23";
45
+ readonly emoji: "🐧";
46
+ } | {
47
+ readonly color: "#FF949A";
48
+ readonly emoji: "🦩";
49
+ } | {
50
+ readonly color: "#C5DADB";
51
+ readonly emoji: "👽";
52
+ } | {
53
+ readonly color: "#FC5C54";
54
+ readonly emoji: "🎈";
55
+ } | {
56
+ readonly color: "#FF949A";
57
+ readonly emoji: "🍉";
58
+ } | {
59
+ readonly color: "#FFD95A";
60
+ readonly emoji: "🎉";
61
+ } | {
62
+ readonly color: "#A8CE63";
63
+ readonly emoji: "🐲";
64
+ } | {
65
+ readonly color: "#71ABFF";
66
+ readonly emoji: "🌎";
67
+ } | {
68
+ readonly color: "#FFE279";
69
+ readonly emoji: "🍊";
70
+ } | {
71
+ readonly color: "#B6B1B6";
72
+ readonly emoji: "🐭";
73
+ } | {
74
+ readonly color: "#FF6780";
75
+ readonly emoji: "🍣";
76
+ } | {
77
+ readonly color: "#FFD95A";
78
+ readonly emoji: "🐥";
79
+ } | {
80
+ readonly color: "#A575FF";
81
+ readonly emoji: "👾";
82
+ } | {
83
+ readonly color: "#A8CE63";
84
+ readonly emoji: "🥦";
85
+ } | {
86
+ readonly color: "#FC5C54";
87
+ readonly emoji: "👹";
88
+ } | {
89
+ readonly color: "#FFE279";
90
+ readonly emoji: "🙀";
91
+ } | {
92
+ readonly color: "#5FD0F3";
93
+ readonly emoji: "⛱";
94
+ } | {
95
+ readonly color: "#4D82FF";
96
+ readonly emoji: "⛵️";
97
+ } | {
98
+ readonly color: "#FFE279";
99
+ readonly emoji: "🥳";
100
+ } | {
101
+ readonly color: "#FF949A";
102
+ readonly emoji: "🤯";
103
+ } | {
104
+ readonly color: "#FFB35A";
105
+ readonly emoji: "🤠";
106
+ };
@@ -0,0 +1,86 @@
1
+ import { ClassValue } from 'clsx';
2
+ import * as React from 'react';
3
+ type HTMLProperties<T = HTMLElement> = Omit<React.AllHTMLAttributes<T>, 'as' | 'className' | 'color' | 'height' | 'width'>;
4
+ export declare const Box: React.ForwardRefExoticComponent<{
5
+ background?: ("transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | {
6
+ base?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
7
+ hover?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
8
+ active?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
9
+ selection?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
10
+ }) | undefined;
11
+ borderColor?: ("transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | {
12
+ base?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
13
+ hover?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
14
+ active?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
15
+ selection?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
16
+ }) | undefined;
17
+ boxShadow?: ("connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | {
18
+ base?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
19
+ hover?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
20
+ active?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
21
+ selection?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
22
+ }) | undefined;
23
+ color?: ("transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | {
24
+ base?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
25
+ hover?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
26
+ active?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
27
+ selection?: "transparent" | "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "actionButtonDisabled" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "solidLine" | "leftTranslucentLine" | "rightTranslucentLine" | "loadingBase" | "loadingAccent" | "modalBackdrop" | "modalBackground" | "modalBorder" | "notificationPrimary" | "textPrimary" | "textSecondary" | "textTertiary" | "textDisabled" | "textSelection" | "inputFieldPrimary" | "inputFieldPlaceholder" | "inputFieldDisabled" | "strokePrimary" | "strokeSecondary" | "buttonPrimary" | "buttonProcessing" | "buttonDisabled" | "buttonWarning" | "buttonTextWarning" | "buttonTextPrimary" | "buttonTextSecondary" | "buttonTextDisabled" | undefined;
28
+ }) | undefined;
29
+ } & {
30
+ alignItems?: ("flex-start" | "flex-end" | "center" | {
31
+ smallScreen?: "flex-start" | "flex-end" | "center" | undefined;
32
+ largeScreen?: "flex-start" | "flex-end" | "center" | undefined;
33
+ }) | undefined;
34
+ display?: (string | {
35
+ smallScreen?: string | undefined;
36
+ largeScreen?: string | undefined;
37
+ }) | undefined;
38
+ } & {
39
+ readonly alignSelf?: "flex-start" | "flex-end" | "center" | undefined;
40
+ readonly backgroundSize?: "cover" | undefined;
41
+ readonly borderRadius?: "1" | "actionButton" | "connectButton" | "menuButton" | "modal" | "modalMobile" | "6" | "10" | "13" | "16" | "24" | "25%" | "full" | undefined;
42
+ readonly borderStyle?: "solid" | "dotted" | "hidden" | undefined;
43
+ readonly borderWidth?: "0" | "1" | "2" | "4" | undefined;
44
+ readonly cursor?: "pointer" | undefined;
45
+ readonly flexDirection?: "row" | "column" | undefined;
46
+ readonly fontFamily?: "body" | undefined;
47
+ readonly fontSize?: "10" | "13" | "16" | "12" | "14" | "18" | "20" | "23" | "57" | undefined;
48
+ readonly fontWeight?: "regular" | "medium" | "semibold" | "bold" | "heavy" | undefined;
49
+ readonly gap?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
50
+ readonly height?: "1" | "2" | "24" | "full" | "4" | "12" | "20" | "400" | "8" | "28" | "30" | "32" | "36" | "44" | "34" | "40" | "48" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "440" | "600" | "half" | "max" | undefined;
51
+ readonly justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | undefined;
52
+ readonly textAlign?: "left" | "inherit" | "center" | undefined;
53
+ readonly marginBottom?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
54
+ readonly marginLeft?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
55
+ readonly marginRight?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
56
+ readonly marginTop?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
57
+ readonly minHeight?: "1" | "2" | "24" | "full" | "4" | "12" | "20" | "400" | "8" | "28" | "30" | "32" | "36" | "44" | "34" | "40" | "48" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "440" | "600" | "half" | "max" | undefined;
58
+ readonly maxHeight?: "1" | "2" | "24" | "full" | "4" | "12" | "20" | "400" | "8" | "28" | "30" | "32" | "36" | "44" | "34" | "40" | "48" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "440" | "600" | "half" | "max" | undefined;
59
+ readonly maxWidth?: "1" | "2" | "24" | "full" | "4" | "12" | "20" | "400" | "8" | "28" | "30" | "32" | "36" | "44" | "34" | "40" | "48" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "440" | "600" | "half" | "max" | undefined;
60
+ readonly minWidth?: "1" | "2" | "24" | "full" | "4" | "12" | "20" | "400" | "8" | "28" | "30" | "32" | "36" | "44" | "34" | "40" | "48" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "440" | "600" | "half" | "max" | undefined;
61
+ readonly overflow?: "hidden" | undefined;
62
+ readonly paddingBottom?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
63
+ readonly paddingLeft?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
64
+ readonly paddingRight?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
65
+ readonly paddingTop?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
66
+ readonly position?: "absolute" | "fixed" | "relative" | undefined;
67
+ readonly right?: "0" | undefined;
68
+ readonly transition?: "default" | "transform" | undefined;
69
+ readonly userSelect?: "none" | undefined;
70
+ readonly width?: "1" | "2" | "24" | "full" | "4" | "12" | "20" | "400" | "8" | "28" | "30" | "32" | "36" | "44" | "34" | "40" | "48" | "54" | "60" | "93" | "100" | "108" | "162" | "192" | "200" | "210" | "220" | "230" | "240" | "256" | "320" | "440" | "600" | "half" | "max" | undefined;
71
+ readonly backdropFilter?: "modalOverlay" | undefined;
72
+ margin?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
73
+ marginX?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
74
+ marginY?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
75
+ padding?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
76
+ paddingX?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
77
+ paddingY?: "0" | "1" | "2" | "3" | "6" | "10" | "16" | "24" | "4" | "12" | "14" | "18" | "20" | "-1" | "5" | "8" | "28" | "30" | "32" | "36" | "44" | "64" | undefined;
78
+ } & {
79
+ reset?: keyof JSX.IntrinsicElements | undefined;
80
+ } & HTMLProperties<HTMLElement> & {
81
+ as?: React.ElementType<any> | undefined;
82
+ className?: ClassValue;
83
+ testId?: string | undefined;
84
+ } & React.RefAttributes<HTMLElement>>;
85
+ export type BoxProps = Parameters<typeof Box>[0];
86
+ export {};
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ type Size = 'small' | 'medium' | 'large';
3
+ export declare function ActionButton({ disabled, href, label, onClick, rel, size, target, testId, type, }: {
4
+ href?: string;
5
+ label: string;
6
+ onClick?: () => void;
7
+ rel?: string;
8
+ size?: Size;
9
+ target?: string;
10
+ type?: 'primary' | 'secondary';
11
+ disabled?: boolean;
12
+ testId?: string;
13
+ }): React.JSX.Element;
14
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const DesktopScrollClassName: string;
2
+ export declare const MobileScrollClassName: string;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface ChainModalProps {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ }
6
+ export declare function ChainModal({ onClose, open }: ChainModalProps): React.JSX.Element | null;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const CloseButton: ({ "aria-label": ariaLabel, onClose, }: {
3
+ 'aria-label'?: string | undefined;
4
+ onClose: () => void;
5
+ }) => React.JSX.Element;
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import { ResponsiveValue } from '../../css/sprinkles.css';
3
+ import { ConnectButtonRenderer } from './ConnectButtonRenderer';
4
+ type AccountStatus = 'full' | 'avatar' | 'address';
5
+ type ChainStatus = 'full' | 'icon' | 'name' | 'none';
6
+ export interface ConnectButtonProps {
7
+ accountStatus?: ResponsiveValue<AccountStatus>;
8
+ showBalance?: ResponsiveValue<boolean>;
9
+ chainStatus?: ResponsiveValue<ChainStatus>;
10
+ label?: string;
11
+ }
12
+ export declare function ConnectButton({ accountStatus, chainStatus, label, showBalance, }: ConnectButtonProps): React.JSX.Element;
13
+ export declare namespace ConnectButton {
14
+ var __defaultProps: {
15
+ readonly accountStatus: "full";
16
+ readonly chainStatus: {
17
+ readonly largeScreen: "full";
18
+ readonly smallScreen: "icon";
19
+ };
20
+ readonly label: "Sign In";
21
+ readonly showBalance: {
22
+ readonly largeScreen: true;
23
+ readonly smallScreen: false;
24
+ };
25
+ };
26
+ var Custom: typeof ConnectButtonRenderer;
27
+ }
28
+ export {};
@@ -0,0 +1,39 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { AuthenticationStatus } from '../FunkitProvider/AuthenticationContext';
3
+ export interface ConnectButtonRendererProps {
4
+ children: (renderProps: {
5
+ account?: {
6
+ address: string;
7
+ balanceDecimals?: number;
8
+ balanceFormatted?: string;
9
+ balanceSymbol?: string;
10
+ displayBalance?: string;
11
+ displayName: string;
12
+ ensAvatar?: string;
13
+ ensName?: string;
14
+ hasPendingTransactions: boolean;
15
+ };
16
+ chain?: {
17
+ hasIcon: boolean;
18
+ iconUrl?: string;
19
+ iconBackground?: string;
20
+ id: number;
21
+ name?: string;
22
+ unsupported?: boolean;
23
+ };
24
+ mounted: boolean;
25
+ authenticationStatus?: AuthenticationStatus;
26
+ openAccountModal: () => void;
27
+ openChainModal: () => void;
28
+ openConnectModal: () => void;
29
+ openFunDevTestModal: () => void;
30
+ accountModalOpen: boolean;
31
+ chainModalOpen: boolean;
32
+ connectModalOpen: boolean;
33
+ funDevTestModalOpen: boolean;
34
+ }) => ReactNode;
35
+ }
36
+ export declare function ConnectButtonRenderer({ children, }: ConnectButtonRendererProps): React.JSX.Element;
37
+ export declare namespace ConnectButtonRenderer {
38
+ var displayName: string;
39
+ }
@@ -0,0 +1,2 @@
1
+ export declare function toPrecision(number: number, precision?: number): string;
2
+ export declare function abbreviateETHBalance(number: number): string;
@@ -0,0 +1 @@
1
+ export declare function formatAddress(address: string): string;
@@ -0,0 +1 @@
1
+ export declare function formatENS(name: string): string;
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ import { WalletConnector } from '../../wallets/useWalletConnectors';
3
+ import { WalletStep } from './DesktopOptions';
4
+ export declare function GetDetail({ getWalletDownload, compactModeEnabled, }: {
5
+ getWalletDownload: (walletId: string) => void;
6
+ compactModeEnabled: boolean;
7
+ }): React.JSX.Element;
8
+ export declare function ConnectDetail({ changeWalletStep, compactModeEnabled, connectionError, onClose, qrCodeUri, reconnect, selectedWallet, appConfig, }: {
9
+ changeWalletStep: (newWalletStep: WalletStep) => void;
10
+ compactModeEnabled: boolean;
11
+ connectionError: boolean;
12
+ qrCodeUri?: string;
13
+ reconnect: (wallet: WalletConnector) => void;
14
+ selectedWallet: WalletConnector;
15
+ onClose: () => void;
16
+ appConfig: any;
17
+ }): React.JSX.Element;
18
+ export declare function DownloadOptionsDetail({ changeWalletStep, wallet, }: {
19
+ changeWalletStep: (newWalletStep: WalletStep) => void;
20
+ wallet: WalletConnector;
21
+ }): React.JSX.Element;
22
+ export declare function DownloadDetail({ changeWalletStep, wallet, }: {
23
+ changeWalletStep: (newWalletStep: WalletStep) => void;
24
+ wallet: WalletConnector;
25
+ }): React.JSX.Element;
26
+ export declare function InstructionMobileDetail({ connectWallet, wallet, }: {
27
+ connectWallet: (wallet: WalletConnector) => void;
28
+ wallet: WalletConnector;
29
+ }): React.JSX.Element;
30
+ export declare function InstructionExtensionDetail({ wallet, }: {
31
+ wallet: WalletConnector;
32
+ }): React.JSX.Element;
33
+ export declare function InstructionDesktopDetail({ connectWallet, wallet, }: {
34
+ connectWallet: (wallet: WalletConnector) => void;
35
+ wallet: WalletConnector;
36
+ }): React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const QRCodeBackgroundClassName: string;
2
+ export declare const ScrollClassName: string;
3
+ export declare const sidebar: string;
4
+ export declare const sidebarCompactMode: string;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ export declare enum WalletStep {
3
+ None = "NONE",
4
+ LearnCompact = "LEARN_COMPACT",
5
+ Get = "GET",
6
+ Connect = "CONNECT",
7
+ DownloadOptions = "DOWNLOAD_OPTIONS",
8
+ Download = "DOWNLOAD",
9
+ InstructionsMobile = "INSTRUCTIONS_MOBILE",
10
+ InstructionsDesktop = "INSTRUCTIONS_DESKTOP",
11
+ InstructionsExtension = "INSTRUCTIONS_EXTENSION"
12
+ }
13
+ export declare function DesktopOptions({ onClose }: {
14
+ onClose: () => void;
15
+ }): React.JSX.Element;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export declare enum ConnectStep {
3
+ SIGNIN = 0,
4
+ PENDING_EMAIL = 1,
5
+ PENDING_WEB2 = 2,
6
+ PENDING_WALLET = 3,
7
+ ERROR = 4
8
+ }
9
+ export default function FunConnectOptions({ onClose, }: {
10
+ onClose: () => void;
11
+ }): React.JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const scroll: string;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare function MobileOptions({ onClose }: {
3
+ onClose: () => void;
4
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const overlay: string;
2
+ export declare const overlayOut: string;
3
+ export declare const DialogAnimationTime = 150;
4
+ export declare const content: string;
5
+ export declare const contentSlideOut: string;
@@ -0,0 +1,12 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface DialogProps {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ titleId: string;
6
+ onMountAutoFocus?: (event: Event) => void;
7
+ children: ReactNode;
8
+ /** To hide the dialog without removing the object from the DOM **/
9
+ isHidden?: boolean;
10
+ }
11
+ export declare function Dialog({ children, onClose, open, titleId, isHidden, }: DialogProps): React.JSX.Element;
12
+ export {};
@@ -0,0 +1,6 @@
1
+ export declare const dialogContent: string;
2
+ export declare const dialogContentWideMobile: string;
3
+ export declare const dialogContentWideDesktop: string;
4
+ export declare const dialogContentCompactMode: string;
5
+ export declare const dialogContentMobile: string;
6
+ export declare const bottomSheetOverrides: string;
@@ -0,0 +1,12 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { BoxProps } from '../Box/Box';
3
+ interface DialogContentProps {
4
+ children: ReactNode;
5
+ bottomSheetOnMobile?: boolean;
6
+ padding?: BoxProps['padding'];
7
+ paddingBottom?: BoxProps['paddingBottom'];
8
+ marginTop?: BoxProps['marginTop'];
9
+ wide?: boolean;
10
+ }
11
+ export declare function DialogContent({ bottomSheetOnMobile, children, marginTop, padding, paddingBottom, wide, }: DialogContentProps): React.JSX.Element;
12
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare function FocusTrap(props: JSX.IntrinsicElements['div']): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React, { ReactNode } from 'react';
2
+ export declare const DisclaimerLink: ({ children, href, }: {
3
+ children: ReactNode;
4
+ href: string;
5
+ }) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React, { ReactNode } from 'react';
2
+ export declare const DisclaimerText: ({ children }: {
3
+ children: ReactNode;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const FunBackButton: ({ onBack }: {
3
+ onBack: () => void;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare const funLinkButtonStyle: string;
2
+ export declare const funIconButtonStyle: string;
3
+ export declare const iconStyle: string;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { BoxProps } from '../Box/Box';
3
+ import { TextProps } from '../Text/Text';
4
+ export type funButtonTypes = 'primary' | 'secondary' | 'warning';
5
+ interface FunButtonProps {
6
+ title: string;
7
+ onClick?: () => void;
8
+ titlePrefix?: React.ReactNode;
9
+ titleSuffix?: React.ReactNode;
10
+ type?: funButtonTypes;
11
+ isDisabled?: boolean;
12
+ borderRadius?: BoxProps['borderRadius'];
13
+ titleWeight?: TextProps['weight'];
14
+ buttonStyle?: BoxProps['style'];
15
+ textColor?: BoxProps['color'];
16
+ }
17
+ export declare function FunButton({ title, onClick, titlePrefix, titleSuffix, isDisabled, type, borderRadius, titleWeight, buttonStyle, textColor, }: FunButtonProps): React.JSX.Element;
18
+ export {};
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { BoxProps } from '../Box/Box';
3
+ /**
4
+ * Circular icon button with dynamic height and width
5
+ */
6
+ export declare const FunIconButton: ({ onClick, icon, size, showBorder, paddingX, paddingY, borderRadius, ariaLabel, color, }: {
7
+ onClick: () => void;
8
+ icon: React.ReactNode;
9
+ size?: BoxProps['height'];
10
+ paddingX?: BoxProps['paddingX'];
11
+ paddingY?: BoxProps['paddingY'];
12
+ borderRadius?: BoxProps['borderRadius'];
13
+ showBorder?: boolean | undefined;
14
+ ariaLabel?: string | undefined;
15
+ color?: BoxProps['color'];
16
+ }) => React.JSX.Element;