@funkit/connect 3.5.0 → 4.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 (349) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/{chunk-77C753LI.js → chunk-3F3EYDDR.js} +2 -1
  3. package/dist/{chunk-XWW5QOD4.js → chunk-LTOE4GIY.js} +2 -1
  4. package/dist/{chunk-BY224HGT.js → chunk-OMAXDH7G.js} +2 -1
  5. package/dist/components/AsyncImage/AsyncImage.d.ts +3 -3
  6. package/dist/components/AsyncImage/useAsyncImage.d.ts +1 -1
  7. package/dist/components/Avatar/EmojiAvatar.d.ts +1 -1
  8. package/dist/components/Box/Box.d.ts +8 -8
  9. package/dist/components/CloseButton/CloseButton.d.ts +1 -1
  10. package/dist/components/ConnectButton/ConnectButton.d.ts +1 -1
  11. package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +2 -2
  12. package/dist/components/ConnectButton/formatENS.d.ts +1 -1
  13. package/dist/components/CopyAddress/CopyAddress.d.ts +1 -1
  14. package/dist/components/Dialog/Dialog.d.ts +4 -4
  15. package/dist/components/Dropdown/BaseDropdown.d.ts +1 -1
  16. package/dist/components/Dropdown/ChainDropdown.d.ts +1 -1
  17. package/dist/components/Dropdown/TokenDropdown.d.ts +1 -1
  18. package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +1 -1
  19. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
  20. package/dist/components/FunAlert/FunAlert.d.ts +2 -2
  21. package/dist/components/FunAsset/FunAssetBadge.d.ts +1 -1
  22. package/dist/components/FunAsset/FunAssetItem.d.ts +1 -1
  23. package/dist/components/FunAssetAvatar/FunAssetAvatar.d.ts +1 -1
  24. package/dist/components/FunBadge/FunBadge.d.ts +1 -1
  25. package/dist/components/FunBottomBar/FunBottomBar.d.ts +1 -1
  26. package/dist/components/FunButton/FunBackButton.d.ts +1 -1
  27. package/dist/components/FunButton/FunButton.d.ts +1 -1
  28. package/dist/components/FunButton/FunIconButton.d.ts +1 -1
  29. package/dist/components/FunButton/FunLinkButton.d.ts +1 -1
  30. package/dist/components/FunButton/FunRedirectButton.d.ts +1 -1
  31. package/dist/components/FunButton/FunSignInButton.d.ts +1 -1
  32. package/dist/components/FunConnectOptions/ConnectDetails.d.ts +1 -1
  33. package/dist/components/FunConnectOptions/FunConnectResultStep.d.ts +1 -1
  34. package/dist/components/FunConnectOptions/FunSignInStep.d.ts +2 -2
  35. package/dist/components/FunConnectOptions/FunWeb3ConnectingStep.d.ts +1 -1
  36. package/dist/components/FunCountdown/FunCountdown.d.ts +1 -1
  37. package/dist/components/FunDivider/FunDivider.d.ts +1 -1
  38. package/dist/components/FunGuarantees/FunGuarantees.d.ts +3 -3
  39. package/dist/components/FunInput/FunInput.d.ts +2 -2
  40. package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -1
  41. package/dist/components/FunKeyValue/FunKeyValue.d.ts +3 -3
  42. package/dist/components/FunMessage/FunMessage.d.ts +1 -1
  43. package/dist/components/FunNoResults/FunNoResults.d.ts +1 -1
  44. package/dist/components/FunNotification/FunCheckoutNotification.d.ts +1 -1
  45. package/dist/components/FunNotification/FunNotification.d.ts +2 -2
  46. package/dist/components/FunOptionBox/FunOptionBox.d.ts +2 -2
  47. package/dist/components/FunPaymentMethodItem/FunPaymentMethodItem.d.ts +1 -1
  48. package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -2
  49. package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +1 -1
  50. package/dist/components/FunSelect/FunClickOutside.d.ts +1 -1
  51. package/dist/components/FunSelect/FunSelect.d.ts +1 -1
  52. package/dist/components/FunSelectBrokerage/FunBrokerageItem.d.ts +2 -2
  53. package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +4 -4
  54. package/dist/components/FunSkeletonLoader/FunSkeletonBlock.d.ts +1 -1
  55. package/dist/components/FunSkeletonLoader/FunSkeletonCircle.d.ts +1 -1
  56. package/dist/components/FunSocials/FunSocials.d.ts +2 -2
  57. package/dist/components/FunTooltip/FunTooltip.css.d.ts +3 -0
  58. package/dist/components/FunTooltip/FunTooltip.d.ts +7 -0
  59. package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +2 -2
  60. package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +1 -1
  61. package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +3 -3
  62. package/dist/components/Icons/FunkitPaymentsIconLine.d.ts +1 -1
  63. package/dist/components/QRCode/QRCode.d.ts +1 -1
  64. package/dist/components/Text/Text.d.ts +1 -1
  65. package/dist/config/getDefaultConfig.d.ts +3 -3
  66. package/dist/consts/funkit.d.ts +3 -3
  67. package/dist/consts/mesh.d.ts +45 -4
  68. package/dist/css/atoms.d.ts +1 -1
  69. package/dist/css/cssObjectFromTheme.d.ts +1 -1
  70. package/dist/css/cssStringFromTheme.d.ts +1 -1
  71. package/dist/css/sprinkles.css.d.ts +10 -8
  72. package/dist/domains/asset.d.ts +2 -2
  73. package/dist/domains/checkoutFees.d.ts +3 -3
  74. package/dist/domains/clientMetadata.d.ts +3 -2
  75. package/dist/domains/paymentMethods.d.ts +9 -6
  76. package/dist/domains/quote.d.ts +9 -14
  77. package/dist/hooks/useCheckoutModalTitle.d.ts +1 -1
  78. package/dist/hooks/useCheckoutTransferDepositAddress.d.ts +2 -2
  79. package/dist/hooks/useCheckoutType.d.ts +1 -1
  80. package/dist/hooks/useCountdown.d.ts +2 -2
  81. package/dist/hooks/useEnabledTokenTransferChainTokens.d.ts +1 -1
  82. package/dist/hooks/useFunListeners.d.ts +1 -1
  83. package/dist/hooks/useIsCheckoutRisky.d.ts +1 -1
  84. package/dist/hooks/useMainnetEnsAvatar.d.ts +1 -1
  85. package/dist/hooks/useMainnetEnsName.d.ts +1 -1
  86. package/dist/hooks/useMesh.d.ts +4 -8
  87. package/dist/hooks/usePaymentMethodIcon.d.ts +2 -2
  88. package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +1 -4
  89. package/dist/hooks/useWalletAssets.d.ts +1 -1
  90. package/dist/index.css +484 -463
  91. package/dist/index.d.ts +4 -1
  92. package/dist/index.js +9121 -9272
  93. package/dist/modals/AccountModal/AccountModal.d.ts +1 -1
  94. package/dist/modals/ChainModal/Chain.d.ts +2 -2
  95. package/dist/modals/CheckoutModal/{CheckoutComplete.d.ts → CheckoutComplete/CheckoutComplete.d.ts} +2 -2
  96. package/dist/modals/CheckoutModal/{useRedirectToCheckoutHistory.d.ts → CheckoutComplete/useRedirectToCheckoutHistory.d.ts} +2 -2
  97. package/dist/modals/CheckoutModal/{ConfirmationStep.d.ts → ConfirmationStep/ConfirmationStep.d.ts} +3 -3
  98. package/dist/modals/CheckoutModal/{useAccountBalancePostCheckout.d.ts → ConfirmationStep/useAccountBalanceTransfer.d.ts} +1 -1
  99. package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +2 -2
  100. package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +3 -3
  101. package/dist/modals/CheckoutModal/ConfirmationStep/useQuoteRefresh.d.ts +1 -1
  102. package/dist/modals/CheckoutModal/ConnectExchange.d.ts +4 -4
  103. package/dist/modals/CheckoutModal/InputAmount/AvailableBalance.d.ts +1 -1
  104. package/dist/modals/CheckoutModal/{InputAmount.d.ts → InputAmount/InputAmount.d.ts} +3 -3
  105. package/dist/modals/CheckoutModal/InputAmount/InputAmountLayout.d.ts +3 -3
  106. package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +5 -5
  107. package/dist/modals/CheckoutModal/InputAmount/state.d.ts +4 -4
  108. package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -1
  109. package/dist/modals/CheckoutModal/{useAssetPrice.d.ts → InputAmount/useAssetPrice.d.ts} +1 -1
  110. package/dist/modals/CheckoutModal/{useAvailableBalanceForCheckout.d.ts → InputAmount/useAvailableBalanceForCheckout.d.ts} +3 -3
  111. package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +0 -9
  112. package/dist/modals/CheckoutModal/LoadingAccount.d.ts +2 -2
  113. package/dist/modals/CheckoutModal/MeshVerification.d.ts +4 -4
  114. package/dist/modals/CheckoutModal/MoonpaySetup.d.ts +2 -2
  115. package/dist/modals/CheckoutModal/SelectAsset.d.ts +2 -2
  116. package/dist/modals/CheckoutModal/SelectBrokerage.d.ts +4 -4
  117. package/dist/modals/CheckoutModal/{SourceChange.d.ts → SourceChange/SourceChange.d.ts} +2 -2
  118. package/dist/modals/CheckoutModal/TransferToken.d.ts +2 -2
  119. package/dist/modals/CheckoutModal/stepTransition.d.ts +14 -14
  120. package/dist/modals/CheckoutModal/useCheckoutQuote.d.ts +2 -2
  121. package/dist/modals/CheckoutModal/useSourceAssetConfirm.d.ts +3 -3
  122. package/dist/modals/CheckoutModal/useWalletAssetHoldings.d.ts +1 -1
  123. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +1 -1
  124. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +1 -1
  125. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +1 -1
  126. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +1 -1
  127. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +1 -1
  128. package/dist/modals/ProfileDetails/ActivityTraversalContext.d.ts +2 -2
  129. package/dist/modals/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +1 -1
  130. package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +1 -1
  131. package/dist/modals/ProfileDetails/FunProfileViews/Home/index.d.ts +1 -1
  132. package/dist/providers/AppContext.d.ts +1 -1
  133. package/dist/providers/AuthenticationContext.d.ts +1 -1
  134. package/dist/providers/FunkitCheckoutContext.d.ts +25 -35
  135. package/dist/providers/FunkitConfigContext.d.ts +3 -2
  136. package/dist/providers/FunkitConnectChainContext.d.ts +1 -1
  137. package/dist/providers/FunkitFlagsProvider.d.ts +3 -3
  138. package/dist/providers/FunkitHistoryContext.d.ts +5 -5
  139. package/dist/providers/FunkitMeshProvider.d.ts +9 -9
  140. package/dist/providers/FunkitMoonpayProvider.d.ts +2 -2
  141. package/dist/providers/FunkitProvider.d.ts +9 -13
  142. package/dist/providers/FunkitThemeProvider.d.ts +27 -156
  143. package/dist/providers/FunkitWeb2Provider.d.ts +3 -3
  144. package/dist/providers/GeneralWalletProvider.d.ts +3 -3
  145. package/dist/providers/I18nContext.d.ts +2 -2
  146. package/dist/providers/ModalContext.d.ts +2 -2
  147. package/dist/providers/ModalSizeContext.d.ts +1 -1
  148. package/dist/providers/ShowBalanceContext.d.ts +2 -2
  149. package/dist/providers/provideFunkitConnectChains.d.ts +1 -1
  150. package/dist/themes/baseTheme.d.ts +3 -1
  151. package/dist/themes/baseTheme.js +5 -3
  152. package/dist/themes/darkTheme.d.ts +3 -144
  153. package/dist/themes/darkTheme.js +2 -2
  154. package/dist/themes/lightTheme.d.ts +3 -144
  155. package/dist/themes/lightTheme.js +2 -2
  156. package/dist/types/utils.d.ts +1 -1
  157. package/dist/utils/address.d.ts +1 -3
  158. package/dist/utils/assets.d.ts +5 -4
  159. package/dist/utils/checkout.d.ts +10 -6
  160. package/dist/utils/flags/config.d.ts +7 -1
  161. package/dist/utils/funkitProvider.d.ts +1 -1
  162. package/dist/utils/isMainnetUsdt.d.ts +1 -1
  163. package/dist/utils/mesh.d.ts +8 -8
  164. package/dist/utils/payment.d.ts +1 -1
  165. package/dist/utils/purifyCheckoutHistoryItem.d.ts +1 -1
  166. package/dist/wallets/Wallet.d.ts +4 -4
  167. package/dist/wallets/computeWalletConnectMetaData.d.ts +1 -1
  168. package/dist/wallets/downloadUrls.d.ts +1 -1
  169. package/dist/wallets/getDefaultWallets.d.ts +1 -1
  170. package/dist/wallets/getInjectedConnector.d.ts +2 -2
  171. package/dist/wallets/groupedWallets.d.ts +1 -1
  172. package/dist/wallets/useWalletConnectors.d.ts +3 -3
  173. package/dist/wallets/walletConnectors/argentWallet/argentWallet.d.ts +1 -1
  174. package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +1 -2
  175. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.d.ts +1 -2
  176. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -3
  177. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +1 -1
  178. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -3
  179. package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.d.ts +1 -1
  180. package/dist/wallets/walletConnectors/bitverseWallet/bitverseWallet.d.ts +1 -1
  181. package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.d.ts +1 -1
  182. package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.js +1 -2
  183. package/dist/wallets/walletConnectors/braveWallet/braveWallet.d.ts +1 -1
  184. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.d.ts +1 -1
  185. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  186. package/dist/wallets/walletConnectors/{chunk-DWOWRRNZ.js → chunk-2UCNRD7H.js} +3 -6
  187. package/dist/wallets/walletConnectors/{chunk-E2VPHAWU.js → chunk-3S2U24BJ.js} +1 -3
  188. package/dist/wallets/walletConnectors/{chunk-5HXH52SO.js → chunk-4WEHDI4Y.js} +1 -3
  189. package/dist/wallets/walletConnectors/{chunk-24OBTKSN.js → chunk-7CUY5G6R.js} +1 -3
  190. package/dist/wallets/walletConnectors/{chunk-PFRM52PK.js → chunk-A5APNTGL.js} +1 -3
  191. package/dist/wallets/walletConnectors/{chunk-UJVBNAKM.js → chunk-ADIXAKUL.js} +1 -3
  192. package/dist/wallets/walletConnectors/{chunk-KN5BJYWQ.js → chunk-AXWP3GD4.js} +1 -3
  193. package/dist/wallets/walletConnectors/{chunk-GDXRZB7A.js → chunk-BRBKM4PW.js} +1 -3
  194. package/dist/wallets/walletConnectors/{chunk-FGLYJDAL.js → chunk-G73C6P5P.js} +1 -4
  195. package/dist/wallets/walletConnectors/{chunk-C7PUODSS.js → chunk-GSOYKKIS.js} +3 -5
  196. package/dist/wallets/walletConnectors/{chunk-BDI5G6GA.js → chunk-H4IRCEZN.js} +1 -3
  197. package/dist/wallets/walletConnectors/{chunk-EHDKQOCG.js → chunk-IDKVN5CF.js} +1 -3
  198. package/dist/wallets/walletConnectors/{chunk-NMB62FCH.js → chunk-ISIBREBO.js} +3 -5
  199. package/dist/wallets/walletConnectors/{chunk-IKPUD375.js → chunk-LN7OD5EC.js} +1 -3
  200. package/dist/wallets/walletConnectors/{chunk-CV5FY7VL.js → chunk-S27IADFU.js} +1 -3
  201. package/dist/wallets/walletConnectors/{chunk-7GGVFQBD.js → chunk-SLOIIJGP.js} +1 -5
  202. package/dist/wallets/walletConnectors/{chunk-HA5KAB4M.js → chunk-W6N74MS3.js} +3 -5
  203. package/dist/wallets/walletConnectors/{chunk-HRDRUWYF.js → chunk-WSQ2YJO2.js} +1 -3
  204. package/dist/wallets/walletConnectors/clvWallet/clvWallet.d.ts +1 -1
  205. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  206. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.d.ts +1 -1
  207. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  208. package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +2 -2
  209. package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +1 -2
  210. package/dist/wallets/walletConnectors/coreWallet/coreWallet.d.ts +1 -1
  211. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  212. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.d.ts +1 -1
  213. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +1 -2
  214. package/dist/wallets/walletConnectors/desigWallet/desigWallet.d.ts +1 -1
  215. package/dist/wallets/walletConnectors/foxWallet/foxWallet.d.ts +1 -1
  216. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  217. package/dist/wallets/walletConnectors/frameWallet/frameWallet.d.ts +1 -1
  218. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.d.ts +1 -2
  219. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -3
  220. package/dist/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.d.ts +1 -1
  221. package/dist/wallets/walletConnectors/gateWallet/gateWallet.d.ts +1 -1
  222. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -3
  223. package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.d.ts +1 -1
  224. package/dist/wallets/walletConnectors/index.d.ts +2 -2
  225. package/dist/wallets/walletConnectors/index.js +79 -80
  226. package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.d.ts +1 -1
  227. package/dist/wallets/walletConnectors/kresusWallet/kresusWallet.d.ts +1 -1
  228. package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.d.ts +1 -1
  229. package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +1 -2
  230. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.d.ts +1 -1
  231. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -3
  232. package/dist/wallets/walletConnectors/mewWallet/mewWallet.d.ts +1 -1
  233. package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.d.ts +1 -1
  234. package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +1 -2
  235. package/dist/wallets/walletConnectors/okxWallet/okxWallet.d.ts +1 -1
  236. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -3
  237. package/dist/wallets/walletConnectors/omniWallet/omniWallet.d.ts +1 -1
  238. package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +1 -2
  239. package/dist/wallets/walletConnectors/oneInchWallet/oneInchWallet.d.ts +1 -1
  240. package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.d.ts +1 -1
  241. package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.d.ts +1 -1
  242. package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.d.ts +1 -1
  243. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.d.ts +1 -1
  244. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -3
  245. package/dist/wallets/walletConnectors/ramperWallet/ramperWallet.d.ts +1 -1
  246. package/dist/wallets/walletConnectors/roninWallet/roninWallet.d.ts +1 -1
  247. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  248. package/dist/wallets/walletConnectors/safeWallet/safeWallet.d.ts +1 -1
  249. package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.d.ts +1 -1
  250. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.d.ts +1 -1
  251. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  252. package/dist/wallets/walletConnectors/subWallet/subWallet.d.ts +1 -1
  253. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  254. package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.d.ts +1 -1
  255. package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.d.ts +1 -1
  256. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -3
  257. package/dist/wallets/walletConnectors/tokenaryWallet/tokenaryWallet.d.ts +1 -1
  258. package/dist/wallets/walletConnectors/tokenaryWallet/tokenaryWallet.js +1 -1
  259. package/dist/wallets/walletConnectors/trustWallet/trustWallet.d.ts +1 -1
  260. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -3
  261. package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.d.ts +2 -2
  262. package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.d.ts +1 -1
  263. package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.d.ts +1 -1
  264. package/dist/wallets/walletConnectors/zealWallet/zealWallet.d.ts +1 -1
  265. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.d.ts +1 -2
  266. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -3
  267. package/package.json +17 -17
  268. package/dist/assets-36PRD6ZI.js +0 -7
  269. package/dist/components/FunPayments/FunPaymentTransferType.d.ts +0 -5
  270. package/dist/components/Icons/Assets.d.ts +0 -3
  271. package/dist/components/Icons/BridgeIcon.d.ts +0 -2
  272. package/dist/components/Icons/Cancel.d.ts +0 -2
  273. package/dist/components/Icons/ClockIcon.d.ts +0 -4
  274. package/dist/components/Icons/CoinIcon.d.ts +0 -4
  275. package/dist/components/Icons/Connect.d.ts +0 -3
  276. package/dist/components/Icons/Copy.d.ts +0 -2
  277. package/dist/components/Icons/Create.d.ts +0 -3
  278. package/dist/components/Icons/CreditCardDots.d.ts +0 -2
  279. package/dist/components/Icons/Disconnect.d.ts +0 -2
  280. package/dist/components/Icons/Dropdown.d.ts +0 -2
  281. package/dist/components/Icons/EditIcon.d.ts +0 -4
  282. package/dist/components/Icons/EthereumIcon.d.ts +0 -4
  283. package/dist/components/Icons/Explore.d.ts +0 -2
  284. package/dist/components/Icons/ExternalLink.d.ts +0 -2
  285. package/dist/components/Icons/FunArrows.d.ts +0 -3
  286. package/dist/components/Icons/LightningIcon.d.ts +0 -4
  287. package/dist/components/Icons/LinkIcon.d.ts +0 -2
  288. package/dist/components/Icons/Login.d.ts +0 -3
  289. package/dist/components/Icons/MmFox.d.ts +0 -2
  290. package/dist/components/Icons/MoonPayLogoIcon.d.ts +0 -2
  291. package/dist/components/Icons/PasskeyIcon.d.ts +0 -2
  292. package/dist/components/Icons/PhoneIcon.d.ts +0 -2
  293. package/dist/components/Icons/PlusIcon.d.ts +0 -2
  294. package/dist/components/Icons/ProfileIcon.d.ts +0 -2
  295. package/dist/components/Icons/ReceiptIcon.d.ts +0 -4
  296. package/dist/components/Icons/Refresh.d.ts +0 -3
  297. package/dist/components/Icons/Scan.d.ts +0 -3
  298. package/dist/components/Icons/StEthIcon.d.ts +0 -2
  299. package/dist/components/Icons/SuccessNoBorder.d.ts +0 -2
  300. package/dist/components/Icons/SwapIcon.d.ts +0 -2
  301. package/dist/components/Icons/SwitchAccount.d.ts +0 -2
  302. package/dist/components/Icons/TransferIcon.d.ts +0 -2
  303. package/dist/components/Icons/USDCIcon.d.ts +0 -2
  304. package/dist/components/Icons/WhiteDotIcon.d.ts +0 -2
  305. package/dist/login-XDVWJKUQ.js +0 -7
  306. package/dist/utils/browsers.d.ts +0 -13
  307. package/dist/utils/colors.d.ts +0 -3
  308. package/dist/utils/debounce.d.ts +0 -1
  309. package/dist/utils/deepMerge.d.ts +0 -5
  310. package/dist/utils/exhaustiveCheck.d.ts +0 -1
  311. package/dist/utils/formatFees.d.ts +0 -12
  312. package/dist/utils/formatNumber.d.ts +0 -57
  313. package/dist/utils/formatTimestamp.d.ts +0 -28
  314. package/dist/utils/groupBy.d.ts +0 -1
  315. package/dist/utils/indexBy.d.ts +0 -1
  316. package/dist/utils/isMobile.d.ts +0 -5
  317. package/dist/utils/isNotNullish.d.ts +0 -1
  318. package/dist/utils/locale.d.ts +0 -1
  319. package/dist/utils/mobile.d.ts +0 -1
  320. package/dist/utils/noop.d.ts +0 -1
  321. package/dist/utils/omitUndefinedValues.d.ts +0 -1
  322. package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
  323. package/dist/wallets/walletConnectors/chunk-4UM4GTKZ.js +0 -103
  324. package/dist/wallets/walletConnectors/chunk-6LPM6LUQ.js +0 -110
  325. package/dist/wallets/walletConnectors/chunk-CTBFNNME.js +0 -94
  326. package/dist/wallets/walletConnectors/chunk-JXP2QPW7.js +0 -95
  327. package/dist/wallets/walletConnectors/chunk-KFFJPS5R.js +0 -96
  328. package/dist/wallets/walletConnectors/chunk-LEXSM5KI.js +0 -87
  329. package/dist/wallets/walletConnectors/chunk-LVBXKMWP.js +0 -71
  330. package/dist/wallets/walletConnectors/chunk-MATWQVQM.js +0 -73
  331. package/dist/wallets/walletConnectors/chunk-N2UFM6FI.js +0 -95
  332. package/dist/wallets/walletConnectors/chunk-QQEO4YQS.js +0 -149
  333. package/dist/wallets/walletConnectors/chunk-R6TLOQL3.js +0 -98
  334. package/dist/wallets/walletConnectors/chunk-RETKWSKD.js +0 -24
  335. package/dist/wallets/walletConnectors/chunk-RMNN2RIV.js +0 -102
  336. package/dist/wallets/walletConnectors/chunk-SIPHIY4F.js +0 -101
  337. package/dist/wallets/walletConnectors/chunk-UQAC373E.js +0 -108
  338. package/dist/wallets/walletConnectors/chunk-VU6B3HMD.js +0 -96
  339. package/dist/wallets/walletConnectors/chunk-W5O4YSZN.js +0 -98
  340. package/dist/wallets/walletConnectors/chunk-XYBEMO3C.js +0 -66
  341. /package/dist/components/Icons/{Coinbase.d.ts → CoinbaseIcon.d.ts} +0 -0
  342. /package/dist/components/Icons/{DisconnectSq.d.ts → DisconnectSqIcon.d.ts} +0 -0
  343. /package/dist/components/Icons/{Info.d.ts → FunInfoIcon.d.ts} +0 -0
  344. /package/dist/components/Icons/{Gas.d.ts → GasIcon.d.ts} +0 -0
  345. /package/dist/components/Icons/{GateIo.d.ts → GateIoIcon.d.ts} +0 -0
  346. /package/dist/components/Icons/{Spinner.d.ts → SpinnerIcon.d.ts} +0 -0
  347. /package/dist/components/Icons/{TwoFactor.d.ts → TwoFactorIcon.d.ts} +0 -0
  348. /package/dist/modals/CheckoutModal/{CheckoutPrimaryInfo.d.ts → ConfirmationStep/CheckoutPrimaryInfo.d.ts} +0 -0
  349. /package/dist/modals/CheckoutModal/{useUpdateSourceAssetForCard.d.ts → SourceChange/useUpdateSourceAssetForCard.d.ts} +0 -0
@@ -1,24 +1,24 @@
1
- import { LinkPayload } from '@meshconnect/web-link-sdk';
1
+ import { type LinkPayload } from '@meshconnect/web-link-sdk';
2
2
  import React from 'react';
3
- import { MeshExchanges } from '../utils/mesh';
3
+ import { MeshExchangeType } from '~/consts/mesh';
4
4
  export declare function FunkitMeshProvider({ children }: any): React.JSX.Element;
5
5
  export declare function useFunkitMesh(): {
6
- unlinkBrokerage: (exchange: MeshExchanges) => void;
7
- getActiveConnection: (brokerage: MeshExchanges) => (LinkPayload & {
6
+ unlinkBrokerage: (brokerType: MeshExchangeType) => void;
7
+ getActiveConnection: (brokerType: MeshExchangeType) => (LinkPayload & {
8
8
  connectionExpiresAtMs: number;
9
- }) | null;
9
+ }) | null | undefined;
10
10
  getFirstActiveConnection: () => {
11
11
  accessToken?: import("@meshconnect/web-link-sdk").AccessTokenPayload;
12
12
  delayedAuth?: import("@meshconnect/web-link-sdk").DelayedAuthPayload;
13
- connectionExpiresAtMs: number;
14
- brokerage: MeshExchanges;
13
+ connectionExpiresAtMs?: number | undefined;
14
+ brokerType: MeshExchangeType;
15
15
  } | null;
16
16
  };
17
17
  interface FunkitMeshHook {
18
18
  onBeforeConnect(): void;
19
19
  onConnected(data: {
20
20
  brokerData: LinkPayload;
21
- brokerage: MeshExchanges;
21
+ brokerType: MeshExchangeType;
22
22
  } | null): void;
23
23
  onMeshModalClose(): void;
24
24
  }
@@ -27,5 +27,5 @@ interface FunkitMeshHook {
27
27
  * capturing the latest value in render.
28
28
  * useMeshConnect will return a stable function.
29
29
  * */
30
- export declare function useMeshConnect(hooks: FunkitMeshHook): (brokerage: MeshExchanges) => Promise<void>;
30
+ export declare function useMeshConnect(hooks: FunkitMeshHook): (brokerType: MeshExchangeType) => Promise<void>;
31
31
  export {};
@@ -1,5 +1,5 @@
1
- import React, { ReactNode } from 'react';
2
- import { FunButtonProps } from '../components/FunButton/FunButton';
1
+ import React, { type ReactNode } from 'react';
2
+ import type { FunButtonProps } from '../components/FunButton/FunButton';
3
3
  export declare function FunkitMoonpayProvider({ children, debug, }: {
4
4
  children: ReactNode;
5
5
  debug: boolean;
@@ -1,20 +1,16 @@
1
- import { QueryClient } from '@tanstack/react-query';
2
- import React, { ReactNode } from 'react';
1
+ import { type QueryClient } from '@tanstack/react-query';
2
+ import React, { type ReactNode } from 'react';
3
3
  import type { Chain } from 'wagmi/chains';
4
- import { CreateFunkitWagmiConfigParameters } from '../config/getDefaultConfig';
5
- import { ThemeVars } from '../css/sprinkles.css';
6
- import { Locale } from '../locales';
7
- import { DisclaimerComponent } from './AppContext';
8
- import { AvatarComponent } from './AvatarContext';
9
- import { FunkitConfig } from './FunkitConfigContext';
10
- import { ModalSizes } from './ModalSizeContext';
4
+ import { type CreateFunkitWagmiConfigParameters } from '../config/getDefaultConfig';
5
+ import type { Locale } from '../locales';
6
+ import { type DisclaimerComponent } from './AppContext';
7
+ import { type AvatarComponent } from './AvatarContext';
8
+ import { type FunkitConfig } from './FunkitConfigContext';
9
+ import { type Theme } from './FunkitThemeProvider';
10
+ import { type ModalSizes } from './ModalSizeContext';
11
11
  export declare const useThemeRootProps: () => {
12
12
  "data-rk": string;
13
13
  };
14
- export type Theme = ThemeVars | {
15
- lightMode: ThemeVars;
16
- darkMode: ThemeVars;
17
- };
18
14
  interface FunkitProviderInnerProps {
19
15
  initialChain?: number;
20
16
  id?: string;
@@ -1,148 +1,17 @@
1
1
  import React from 'react';
2
- import { ThemeVars } from '../css/sprinkles.css';
3
- export declare const defaultTheme: {
4
- colors: {
5
- accentColor: string;
6
- accentColorForeground: string;
7
- actionButtonBorder: string;
8
- connectButtonBackground: string;
9
- connectButtonBackgroundError: string;
10
- connectButtonText: string;
11
- connectButtonTextError: string;
12
- connectionIndicator: string;
13
- error: string;
14
- errorBackground: string;
15
- errorBorder: string;
16
- generalBorder: string;
17
- generalBorderDim: string;
18
- menuItemBackground: string;
19
- selectedOptionBorder: string;
20
- paymentOptionBorderDisabled: string;
21
- standby: string;
22
- success: string;
23
- loadingBase: string;
24
- loadingAccent: string;
25
- chainIconBorder: string;
26
- modalBackdrop: string;
27
- modalBackground: string;
28
- modalBorder: string;
29
- notificationPrimary: string;
30
- offBackground: string;
31
- hoverState: string;
32
- offBackgroundInverse: string;
33
- lightStroke: string;
34
- mediumStroke: string;
35
- strokeColor: string;
36
- dydxSwitchActiveBackground: string;
37
- primaryText: string;
38
- secondaryText: string;
39
- tertiaryText: string;
40
- textSelection: string;
41
- inputBackground: string;
42
- inputBorderBase: string;
43
- inputBorderHover: string;
44
- actionColor: string;
45
- actionColorHover: string;
46
- actionColorDisabled: string;
47
- buttonPrimary: string;
48
- buttonDisabled: string;
49
- buttonWarning: string;
50
- buttonSuccess: string;
51
- buttonTextWarning: string;
52
- buttonTextSuccess: string;
53
- buttonTextPrimary: string;
54
- buttonTextDisabled: string;
55
- transparent: string;
56
- buttonBackgroundTertiary: string;
57
- buttonBackgroundHoverTertiary: string;
58
- buttonTextTertiary: string;
59
- buttonTextDisabledTertiary: string;
60
- buttonStrokeTertiary: string;
61
- buttonBackground: string;
62
- buttonBackgroundHover: string;
63
- buttonBackgroundDisabled: string;
64
- buttonStroke: string;
65
- buttonTextSecondaryDisabled: string;
66
- buttonTextSecondary: string;
67
- buttonIconBackgroundHover: string;
68
- buttonIconBackgroundPressed: string;
69
- buttonIconStroke: string;
70
- };
71
- shadows: {
72
- connectButton: string;
73
- dialog: string;
74
- selectedOption: string;
75
- selectedWallet: string;
76
- button: string;
77
- };
78
- moonpayTheme: string;
79
- fontSize: {
80
- '8': {
81
- fontSize: string;
82
- lineHeight: string;
83
- };
84
- '10': {
85
- fontSize: string;
86
- lineHeight: string;
87
- };
88
- '12': {
89
- fontSize: string;
90
- lineHeight: string;
91
- };
92
- '13': {
93
- fontSize: string;
94
- lineHeight: string;
95
- };
96
- '14': {
97
- fontSize: string;
98
- lineHeight: string;
99
- };
100
- '16': {
101
- fontSize: string;
102
- lineHeight: string;
103
- };
104
- '18': {
105
- fontSize: string;
106
- lineHeight: string;
107
- };
108
- '20': {
109
- fontSize: string;
110
- lineHeight: string;
111
- };
112
- '23': {
113
- fontSize: string;
114
- lineHeight: string;
115
- };
116
- '40': {
117
- fontSize: string;
118
- lineHeight: string;
119
- };
120
- '57': {
121
- fontSize: string;
122
- lineHeight: string;
123
- };
124
- };
125
- fontWeight: {
126
- regular: string;
127
- medium: string;
128
- semibold: string;
129
- bold: string;
130
- heavy: string;
131
- };
132
- fonts: {
133
- body: string;
134
- };
135
- radii: {
136
- actionButton: string;
137
- connectButton: string;
138
- menuButton: string;
139
- modal: string;
140
- modalMobile: string;
141
- };
142
- blurs: {
143
- modalOverlay: string;
144
- };
2
+ import type { ThemeVars } from '../css/sprinkles.css';
3
+ type ColorScheme = 'light' | 'dark';
4
+ export type ThemeColorScheme = ColorScheme | undefined;
5
+ export type SystemColorScheme = ColorScheme | undefined;
6
+ export type ThemeSet = {
7
+ lightTheme: ThemeVars;
8
+ darkTheme: ThemeVars;
145
9
  };
10
+ export type Theme = ThemeVars | ThemeSet;
11
+ export interface FunkitThemeProps {
12
+ children: React.ReactNode;
13
+ theme?: Theme;
14
+ }
146
15
  export declare const ThemeIdContext: React.Context<string | undefined>;
147
16
  export declare const createThemeRootProps: (id: string | undefined) => {
148
17
  "data-rk": string;
@@ -151,12 +20,8 @@ export declare const createThemeRootSelector: (id: string | undefined) => string
151
20
  export declare const useThemeRootProps: () => {
152
21
  "data-rk": string;
153
22
  };
154
- export type Theme = ThemeVars | {
155
- lightMode: ThemeVars;
156
- darkMode: ThemeVars;
157
- };
158
23
  export declare const useActiveTheme: () => {
159
- active: {
24
+ activeTheme: {
160
25
  colors: {
161
26
  accentColor: string;
162
27
  accentColorForeground: string;
@@ -293,14 +158,17 @@ export declare const useActiveTheme: () => {
293
158
  selectedOption: string;
294
159
  selectedWallet: string;
295
160
  button: string;
161
+ tooltip: string;
296
162
  };
297
163
  blurs: {
298
164
  modalOverlay: string;
299
165
  };
300
166
  moonpayTheme: string;
301
167
  };
168
+ /** Overrides the currently active `theme` with disregard to the `theme` provided to the `FunkitProvider`, ie. `toggleTheme` will switch to the `theme` provided to the `FunkitProvider`, not the theme set by `setTheme` */
302
169
  setTheme: (theme: ThemeVars) => void;
303
- lightMode: {
170
+ /** Returns the `light` theme as long as a themeSet was passed to the `FunkitProvider`, if only a single theme object was passed it will be returned as `lightTheme` and `darkTheme` making them the same */
171
+ lightTheme: {
304
172
  colors: {
305
173
  accentColor: string;
306
174
  accentColorForeground: string;
@@ -437,13 +305,15 @@ export declare const useActiveTheme: () => {
437
305
  selectedOption: string;
438
306
  selectedWallet: string;
439
307
  button: string;
308
+ tooltip: string;
440
309
  };
441
310
  blurs: {
442
311
  modalOverlay: string;
443
312
  };
444
313
  moonpayTheme: string;
445
314
  } | null | undefined;
446
- darkMode: {
315
+ /** Returns the `dark` theme as long as a themeSet was passed to the `FunkitProvider`, if only a single theme object was passed it will be returned as `darkTheme` and `lightTheme` making them the same */
316
+ darkTheme: {
447
317
  colors: {
448
318
  accentColor: string;
449
319
  accentColorForeground: string;
@@ -580,16 +450,17 @@ export declare const useActiveTheme: () => {
580
450
  selectedOption: string;
581
451
  selectedWallet: string;
582
452
  button: string;
453
+ tooltip: string;
583
454
  };
584
455
  blurs: {
585
456
  modalOverlay: string;
586
457
  };
587
458
  moonpayTheme: string;
588
459
  } | null | undefined;
589
- toggleTheme: () => void;
460
+ /** Toggles between `light` and `dark` themes as long as they were passed to the `FunkitProvider`, if only a single theme object was passed toggling will be disabled */
461
+ toggleTheme: (colorScheme?: ThemeColorScheme) => void;
462
+ /** Returns an indication whether a `light` or a `dark` theme should be currently active, has meaning only if a themeSet was passed to the `FunkitProvider`, if only a single theme object was passed it reflects the system color scheme */
463
+ themeColorScheme: ThemeColorScheme;
590
464
  };
591
- export interface FunkitThemeProps {
592
- children: React.ReactNode;
593
- theme?: Theme;
594
- }
595
- export declare const FunkitThemeProvider: ({ children, theme, }: FunkitThemeProps) => React.JSX.Element;
465
+ export declare const FunkitThemeProvider: ({ children, theme: themeOrThemeSet, }: FunkitThemeProps) => React.JSX.Element;
466
+ export {};
@@ -1,6 +1,6 @@
1
- import { OAuthProviderType } from '@privy-io/js-sdk-core';
2
- import React, { ReactNode } from 'react';
3
- import { FunkitUserInfoBase, PrivyLoginMethod } from '../consts/funkit';
1
+ import { type OAuthProviderType } from '@privy-io/js-sdk-core';
2
+ import React, { type ReactNode } from 'react';
3
+ import { type FunkitUserInfoBase, PrivyLoginMethod } from '../consts/funkit';
4
4
  export declare const ERROR_MESSAGES: {
5
5
  readonly MISSING_LOGIN_CODES: "Missing login codes";
6
6
  readonly INVALID_LOGIN_METHOD: "Invalid login method";
@@ -1,8 +1,8 @@
1
- import { AssetBalanceInfo } from '@funkit/api-base';
1
+ import type { AssetBalanceInfo } from '@funkit/api-base';
2
2
  import { Auth, FunWallet } from '@funkit/core';
3
3
  import React from 'react';
4
- import { Address } from 'viem';
5
- import { FunkitUserInfo } from '../consts/funkit';
4
+ import type { Address } from 'viem';
5
+ import { type FunkitUserInfo } from '../consts/funkit';
6
6
  export interface KnownAssetBalanceInfo extends AssetBalanceInfo {
7
7
  price: number;
8
8
  totalUsdValue: number;
@@ -1,5 +1,5 @@
1
- import React, { ReactNode } from 'react';
2
- import { i18n, Locale } from '../locales';
1
+ import React, { type ReactNode } from 'react';
2
+ import { type Locale, i18n } from '../locales';
3
3
  export declare const I18nContext: React.Context<{
4
4
  i18n: typeof i18n;
5
5
  }>;
@@ -1,5 +1,5 @@
1
- import React, { ReactNode } from 'react';
2
- import { SelectedHomeTab } from '../modals/ProfileDetails/FunProfileViews/Home';
1
+ import React, { type ReactNode } from 'react';
2
+ import type { SelectedHomeTab } from '../modals/ProfileDetails/FunProfileViews/Home';
3
3
  interface ModalProviderProps {
4
4
  children: ReactNode;
5
5
  }
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { type ReactNode } from 'react';
2
2
  export declare const ModalSizeOptions: {
3
3
  readonly COMPACT: "compact";
4
4
  readonly WIDE: "wide";
@@ -1,5 +1,5 @@
1
- import React, { ReactNode } from 'react';
2
- import { ResponsiveValue } from '../css/sprinkles.css';
1
+ import React, { type ReactNode } from 'react';
2
+ import type { ResponsiveValue } from '../css/sprinkles.css';
3
3
  interface ShowBalanceContextValue {
4
4
  showBalance: ResponsiveValue<boolean> | undefined;
5
5
  setShowBalance: (showBalance: ResponsiveValue<boolean>) => void;
@@ -1,4 +1,4 @@
1
- import { FunkitConnectChain } from './FunkitConnectChainContext';
1
+ import type { FunkitConnectChain } from './FunkitConnectChainContext';
2
2
  export declare const chainMetadataById: {
3
3
  [k: string]: {
4
4
  name?: string;
@@ -1,4 +1,6 @@
1
- import { ThemeVars } from '../css/sprinkles.css';
1
+ import type { ThemeVars } from '../css/sprinkles.css';
2
+ /** System font fallbacks */
3
+ export declare const systemFontStack = "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
2
4
  declare const fontStacks: {
3
5
  readonly rounded: "SFRounded, ui-rounded, \"SF Pro Rounded\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
4
6
  readonly system: "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
@@ -1,7 +1,9 @@
1
1
  "use client";
2
2
  import {
3
- baseTheme
4
- } from "../chunk-BY224HGT.js";
3
+ baseTheme,
4
+ systemFontStack
5
+ } from "../chunk-OMAXDH7G.js";
5
6
  export {
6
- baseTheme
7
+ baseTheme,
8
+ systemFontStack
7
9
  };
@@ -1,147 +1,6 @@
1
- import { AccentColor, AccentColorPreset, ThemeOptions } from './baseTheme';
1
+ import type { ThemeVars } from '~/css/sprinkles.css';
2
+ import { type AccentColor, type AccentColorPreset, type ThemeOptions } from './baseTheme';
2
3
  export declare const darkTheme: {
3
- ({ accentColor, accentColorForeground, customColors, customShadows, ...baseThemeOptions }?: ThemeOptions): {
4
- colors: {
5
- accentColor: string;
6
- accentColorForeground: string;
7
- actionButtonBorder: string;
8
- connectButtonBackground: string;
9
- connectButtonBackgroundError: string;
10
- connectButtonText: string;
11
- connectButtonTextError: string;
12
- connectionIndicator: string;
13
- error: string;
14
- errorBackground: string;
15
- errorBorder: string;
16
- generalBorder: string;
17
- generalBorderDim: string;
18
- menuItemBackground: string;
19
- selectedOptionBorder: string;
20
- paymentOptionBorderDisabled: string;
21
- standby: string;
22
- success: string;
23
- loadingBase: string;
24
- loadingAccent: string;
25
- chainIconBorder: string;
26
- modalBackdrop: string;
27
- modalBackground: string;
28
- modalBorder: string;
29
- notificationPrimary: string;
30
- offBackground: string;
31
- hoverState: string;
32
- offBackgroundInverse: string;
33
- lightStroke: string;
34
- mediumStroke: string;
35
- strokeColor: string;
36
- dydxSwitchActiveBackground: string;
37
- primaryText: string;
38
- secondaryText: string;
39
- tertiaryText: string;
40
- textSelection: string;
41
- inputBackground: string;
42
- inputBorderBase: string;
43
- inputBorderHover: string;
44
- actionColor: string;
45
- actionColorHover: string;
46
- actionColorDisabled: string;
47
- buttonPrimary: string;
48
- buttonDisabled: string;
49
- buttonWarning: string;
50
- buttonSuccess: string;
51
- buttonTextWarning: string;
52
- buttonTextSuccess: string;
53
- buttonTextPrimary: string;
54
- buttonTextDisabled: string;
55
- transparent: string;
56
- buttonBackgroundTertiary: string;
57
- buttonBackgroundHoverTertiary: string;
58
- buttonTextTertiary: string;
59
- buttonTextDisabledTertiary: string;
60
- buttonStrokeTertiary: string;
61
- buttonBackground: string;
62
- buttonBackgroundHover: string;
63
- buttonBackgroundDisabled: string;
64
- buttonStroke: string;
65
- buttonTextSecondaryDisabled: string;
66
- buttonTextSecondary: string;
67
- buttonIconBackgroundHover: string;
68
- buttonIconBackgroundPressed: string;
69
- buttonIconStroke: string;
70
- };
71
- shadows: {
72
- connectButton: string;
73
- dialog: string;
74
- selectedOption: string;
75
- selectedWallet: string;
76
- button: string;
77
- };
78
- moonpayTheme: string;
79
- fontSize: {
80
- '8': {
81
- fontSize: string;
82
- lineHeight: string;
83
- };
84
- '10': {
85
- fontSize: string;
86
- lineHeight: string;
87
- };
88
- '12': {
89
- fontSize: string;
90
- lineHeight: string;
91
- };
92
- '13': {
93
- fontSize: string;
94
- lineHeight: string;
95
- };
96
- '14': {
97
- fontSize: string;
98
- lineHeight: string;
99
- };
100
- '16': {
101
- fontSize: string;
102
- lineHeight: string;
103
- };
104
- '18': {
105
- fontSize: string;
106
- lineHeight: string;
107
- };
108
- '20': {
109
- fontSize: string;
110
- lineHeight: string;
111
- };
112
- '23': {
113
- fontSize: string;
114
- lineHeight: string;
115
- };
116
- '40': {
117
- fontSize: string;
118
- lineHeight: string;
119
- };
120
- '57': {
121
- fontSize: string;
122
- lineHeight: string;
123
- };
124
- };
125
- fontWeight: {
126
- regular: string;
127
- medium: string;
128
- semibold: string;
129
- bold: string;
130
- heavy: string;
131
- };
132
- fonts: {
133
- body: string;
134
- };
135
- radii: {
136
- actionButton: string;
137
- connectButton: string;
138
- menuButton: string;
139
- modal: string;
140
- modalMobile: string;
141
- };
142
- blurs: {
143
- modalOverlay: string;
144
- };
145
- };
4
+ ({ accentColor, accentColorForeground, customColors, customShadows, ...baseThemeOptions }?: ThemeOptions): ThemeVars;
146
5
  accentColors: Record<AccentColorPreset, AccentColor>;
147
6
  };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  darkTheme
4
- } from "../chunk-XWW5QOD4.js";
5
- import "../chunk-BY224HGT.js";
4
+ } from "../chunk-LTOE4GIY.js";
5
+ import "../chunk-OMAXDH7G.js";
6
6
  export {
7
7
  darkTheme
8
8
  };