@funkit/connect 3.0.0-next.8 → 3.0.1

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 (136) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/__private__/index.d.ts +1 -1
  3. package/dist/{arbitrum-EB6UHB7R.js → arbitrum-7TAKMNTY.js} +1 -1
  4. package/dist/{avalanche-GTIW2NZO.js → avalanche-DP4OGWPS.js} +1 -1
  5. package/dist/{base-DSVASA5E.js → base-JKDU5GAC.js} +1 -1
  6. package/dist/{blast-T4B7OICF.js → blast-OXCCKFNZ.js} +1 -1
  7. package/dist/{bsc-D3LSG6XI.js → bsc-3D3KFEXX.js} +1 -1
  8. package/dist/components/Avatar/EmojiAvatar.d.ts +1 -1
  9. package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +1 -1
  10. package/dist/components/Dialog/Dialog.d.ts +2 -1
  11. package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +2 -2
  12. package/dist/components/FunButton/FunButton.css.d.ts +1 -0
  13. package/dist/components/FunButton/FunIconButton.d.ts +1 -2
  14. package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.css.d.ts +1 -0
  15. package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.d.ts +2 -0
  16. package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -1
  17. package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -1
  18. package/dist/components/Icons/Spinner.d.ts +2 -3
  19. package/dist/components/index.d.ts +1 -1
  20. package/dist/config/getDefaultConfig.d.ts +1 -1
  21. package/dist/{cronos-7AZSHGK7.js → cronos-5OEAMVEV.js} +1 -1
  22. package/dist/{dydx-B46RMDPA.js → dydx-IANKGTOD.js} +1 -1
  23. package/dist/{ethereum-NOZIKDN4.js → ethereum-VZBBHP2I.js} +1 -1
  24. package/dist/{hardhat-63UZQ2D2.js → hardhat-KGYIXSL3.js} +1 -1
  25. package/dist/hooks/useAnimatedNavigation.d.ts +10 -0
  26. package/dist/hooks/useCheckoutModalTitle.d.ts +2 -0
  27. package/dist/hooks/useCheckoutType.d.ts +1 -1
  28. package/dist/hooks/useMesh.d.ts +1 -0
  29. package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +1 -1
  30. package/dist/index.css +151 -136
  31. package/dist/index.d.ts +12 -12
  32. package/dist/index.js +4665 -4509
  33. package/dist/{klaytn-NDCZPHVS.js → klaytn-VYNHNZBE.js} +1 -1
  34. package/dist/{manta-VVKV27TG.js → manta-2J6LNNQO.js} +1 -1
  35. package/dist/{mantle-UYR6COHH.js → mantle-4HPADCAY.js} +1 -1
  36. package/dist/modals/AccountModal/AccountModal.d.ts +8 -0
  37. package/dist/{components → modals}/ChainModal/Chain.d.ts +1 -1
  38. package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +1 -0
  39. package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +2 -0
  40. package/dist/{components → modals}/FunCheckoutModal/FunCheckoutInputAmountStep.d.ts +2 -1
  41. package/dist/{components → modals}/FunCheckoutModal/FunCheckoutModal.d.ts +5 -1
  42. package/dist/{components → modals}/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +1 -1
  43. package/dist/{components → modals}/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +5 -2
  44. package/dist/modals/ProfileDetails/ProfileDetails.d.ts +16 -0
  45. package/dist/{optimism-XW773SJ7.js → optimism-7SXPPT5B.js} +1 -1
  46. package/dist/{polygon-CTDRND6O.js → polygon-KTSHZSJE.js} +1 -1
  47. package/dist/{components/FunkitProvider → providers}/FunToastProvider.d.ts +1 -1
  48. package/dist/{components/FunkitProvider → providers}/FunkitCheckoutContext.d.ts +3 -3
  49. package/dist/{components/FunkitProvider → providers}/FunkitConfigContext.d.ts +1 -7
  50. package/dist/{components/FunkitProvider → providers}/FunkitMeshProvider.d.ts +1 -1
  51. package/dist/{components/FunkitProvider → providers}/FunkitMoonpayProvider.d.ts +1 -0
  52. package/dist/{components/FunkitProvider → providers}/FunkitProvider.d.ts +3 -3
  53. package/dist/{components/FunkitProvider → providers}/FunkitThemeProvider.d.ts +1 -1
  54. package/dist/{components/FunkitProvider → providers}/FunkitWeb2Provider.d.ts +1 -1
  55. package/dist/{components/FunkitProvider → providers}/GeneralWalletProvider.d.ts +14 -14
  56. package/dist/{components/FunkitProvider → providers}/I18nContext.d.ts +1 -1
  57. package/dist/{components/FunkitProvider → providers}/ModalContext.d.ts +2 -1
  58. package/dist/{components/FunkitProvider → providers}/ShowBalanceContext.d.ts +1 -1
  59. package/dist/{ronin-O2PUII26.js → ronin-NDQSRHAA.js} +1 -1
  60. package/dist/utils/assetAbort.d.ts +9 -0
  61. package/dist/utils/assets.d.ts +1 -1
  62. package/dist/utils/checkout.d.ts +1 -1
  63. package/dist/utils/funkitProvider.d.ts +1 -1
  64. package/dist/wallets/walletConnectors/index.js +73 -73
  65. package/dist/{xdc-GR4FVKJB.js → xdc-DOOU3NNX.js} +1 -1
  66. package/dist/{zetachain-HP3BWJBU.js → zetachain-2J22B4NG.js} +1 -1
  67. package/dist/{zkSync-UPIELHYI.js → zkSync-YDZI4H7P.js} +1 -1
  68. package/dist/{zora-DMM6D4R4.js → zora-54FXXQHV.js} +1 -1
  69. package/package.json +4 -4
  70. package/dist/components/AccountModal/AccountModal.d.ts +0 -6
  71. package/dist/components/ProfileDetails/ProfileDetails.d.ts +0 -13
  72. package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
  73. package/dist/wallets/walletConnectors/chunk-45BGLKK3.js +0 -149
  74. package/dist/wallets/walletConnectors/chunk-4HKPVECK.js +0 -95
  75. package/dist/wallets/walletConnectors/chunk-4K3EKHXR.js +0 -71
  76. package/dist/wallets/walletConnectors/chunk-57UUMOOZ.js +0 -95
  77. package/dist/wallets/walletConnectors/chunk-5MVCKMZT.js +0 -94
  78. package/dist/wallets/walletConnectors/chunk-5NZLWT3Y.js +0 -73
  79. package/dist/wallets/walletConnectors/chunk-A6MZY5ZZ.js +0 -81
  80. package/dist/wallets/walletConnectors/chunk-ARIYPPEC.js +0 -92
  81. package/dist/wallets/walletConnectors/chunk-B5D7DYVV.js +0 -101
  82. package/dist/wallets/walletConnectors/chunk-BEAW5Y5M.js +0 -60
  83. package/dist/wallets/walletConnectors/chunk-CW3DUKXK.js +0 -102
  84. package/dist/wallets/walletConnectors/chunk-E5XC6KBV.js +0 -95
  85. package/dist/wallets/walletConnectors/chunk-FCHEJLHR.js +0 -101
  86. package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +0 -27
  87. package/dist/wallets/walletConnectors/chunk-HCKLWBE5.js +0 -98
  88. package/dist/wallets/walletConnectors/chunk-HKN7647Q.js +0 -73
  89. package/dist/wallets/walletConnectors/chunk-HLH777AC.js +0 -108
  90. package/dist/wallets/walletConnectors/chunk-HMDUVRZP.js +0 -98
  91. package/dist/wallets/walletConnectors/chunk-IOQWKPOO.js +0 -71
  92. package/dist/wallets/walletConnectors/chunk-IR3YKU2N.js +0 -103
  93. package/dist/wallets/walletConnectors/chunk-J2BF4L2V.js +0 -87
  94. package/dist/wallets/walletConnectors/chunk-KDGMYRMC.js +0 -102
  95. package/dist/wallets/walletConnectors/chunk-LPQBQIZL.js +0 -108
  96. package/dist/wallets/walletConnectors/chunk-LTIIUGMZ.js +0 -96
  97. package/dist/wallets/walletConnectors/chunk-OKUX4BC4.js +0 -66
  98. package/dist/wallets/walletConnectors/chunk-PIZ2XVGH.js +0 -60
  99. package/dist/wallets/walletConnectors/chunk-RXUGTOMT.js +0 -60
  100. package/dist/wallets/walletConnectors/chunk-VJ5C6RXN.js +0 -98
  101. package/dist/wallets/walletConnectors/chunk-VU6B3HMD.js +0 -96
  102. package/dist/wallets/walletConnectors/chunk-WAMHUVNP.js +0 -96
  103. package/dist/wallets/walletConnectors/chunk-WMLYUYMP.js +0 -94
  104. package/dist/wallets/walletConnectors/chunk-YRK6XWL6.js +0 -149
  105. package/dist/wallets/walletConnectors/chunk-ZCKNEKQQ.js +0 -110
  106. /package/dist/{components → modals}/ChainModal/ChainModal.css.d.ts +0 -0
  107. /package/dist/{components → modals}/ChainModal/ChainModal.d.ts +0 -0
  108. /package/dist/{components → modals}/ConnectModal/ConnectModal.d.ts +0 -0
  109. /package/dist/{components → modals}/DevTest/DevEmbed.d.ts +0 -0
  110. /package/dist/{components → modals}/DevTest/FunDevTestModal.d.ts +0 -0
  111. /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +0 -0
  112. /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +0 -0
  113. /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +0 -0
  114. /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +0 -0
  115. /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +0 -0
  116. /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +0 -0
  117. /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutConnectExchangeStep.d.ts +0 -0
  118. /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +0 -0
  119. /package/dist/{components → modals}/ProfileDetails/ActivityTraversalContext.d.ts +0 -0
  120. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +0 -0
  121. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/Home.css.d.ts +0 -0
  122. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.d.ts +0 -0
  123. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +0 -0
  124. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts +0 -0
  125. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/index.d.ts +0 -0
  126. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Settings/Settings.d.ts +0 -0
  127. /package/dist/{components/FunkitProvider → providers}/AppContext.d.ts +0 -0
  128. /package/dist/{components/FunkitProvider → providers}/AuthenticationContext.d.ts +0 -0
  129. /package/dist/{components/FunkitProvider → providers}/AvatarContext.d.ts +0 -0
  130. /package/dist/{components/FunkitProvider → providers}/FunkitConnectChainContext.d.ts +0 -0
  131. /package/dist/{components/FunkitProvider → providers}/FunkitSandboxContext.d.ts +0 -0
  132. /package/dist/{components/FunkitProvider → providers}/ModalSizeContext.d.ts +0 -0
  133. /package/dist/{components/FunkitProvider → providers}/provideFunkitConnectChains.d.ts +0 -0
  134. /package/dist/{components/FunkitProvider → providers}/useFingerprint.d.ts +0 -0
  135. /package/dist/{components/FunkitProvider → providers}/usePreloadImages.d.ts +0 -0
  136. /package/dist/{components/FunkitProvider → providers}/walletConnectDeepLink.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 4cec99b: feat: add checkout geolocation blocks
8
+ - 0139ee1: refactor: change mesh integration id type
9
+ - 9e46890: feat: abort controller for asset calls
10
+ - 1064d91: fix(connect): use original enum text for Okx
11
+ - 1d81269: feat(connect): auto-select express payment method option
12
+ - 1c6edc0: fix(connect): fixed asset list skeleton loader
13
+ - 1064d91: refactor(connect): move modals and providers to standalone folders for internal sdk
14
+ - Updated dependencies [9e46890]
15
+ - @funkit/api-base@1.0.3
16
+ - @funkit/core@2.1.3
17
+ - @funkit/wagmi-tools@3.0.5
18
+
19
+ ## 3.0.0
20
+
21
+ ### Major Changes
22
+
23
+ - 9c1c09a: paymentsConfig is removed from FunkitConfig. defaultPaymentMethod is added to useCheckout config
24
+ - ca9c5a0: remove unused config in FunkitPaymentsConfig
25
+ - c0d142d: feat: v3 upgrade - phase 1 - baseline styles, themes, configuration
26
+ - 19404b9: refactor: FunkitCheckoutConfig interface - deprecated `checkoutItemDescription` and updated `targetAssetTicker` to be a required field.
27
+
28
+ ### Patch Changes
29
+
30
+ - 540e9bf: v3 repolishes
31
+ - cd8633c: v3 scrollbar tweaks
32
+ - d96708a: v3 custom button switcher polishes
33
+ - 30bdef9: v3 updates
34
+ - 7d5b095: v3 repolishes
35
+ - af98f01: v3 updates
36
+ - 9e70418: v3 repolishes
37
+ - 2e17b41: v3 upgrades
38
+ - Updated dependencies [30bdef9]
39
+ - Updated dependencies [9ccdeb1]
40
+ - Updated dependencies [c0d142d]
41
+ - Updated dependencies [cee3715]
42
+ - Updated dependencies [af98f01]
43
+ - Updated dependencies [e8e412d]
44
+ - @funkit/api-base@1.0.2
45
+ - @funkit/core@2.1.2
46
+ - @funkit/wagmi-tools@3.0.4
47
+
3
48
  ## 3.0.0-next.8
4
49
 
5
50
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { DevEmbed } from '../components/DevTest/DevEmbed';
1
+ import { DevEmbed } from '../modals/DevTest/DevEmbed';
2
2
  export declare const __private__: {
3
3
  dialog: string;
4
4
  dialogMobile: string;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- // src/components/FunkitProvider/chainIcons/arbitrum.svg
3
+ // src/providers/chainIcons/arbitrum.svg
4
4
  var arbitrum_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><rect width="26.6" height="26.6" x=".7" y=".7" fill="%232D374B" stroke="%2396BEDC" stroke-width="1.4" rx="13.3"/><mask id="a" width="28" height="28" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><rect width="28" height="28" fill="%23C4C4C4" rx="14"/></mask><g mask="url(%23a)"><path fill="%2328A0F0" d="m14.0861 18.6041 6.5014 10.2239 4.0057-2.3213-7.86-12.3943-2.6471 4.4917Zm13.0744 3.4692-.003-1.8599-7.3064-11.407-2.3087 3.9173 7.091 11.4303 2.172-1.2586a.9628.9628 0 0 0 .3555-.7009l-.0004-.1212Z"/><rect width="25.9" height="25.9" x="1.05" y="1.05" fill="url(%23b)" fill-opacity=".3" stroke="%2396BEDC" stroke-width="2.1" rx="12.95"/><path fill="%23fff" d="m.3634 28.2207-3.07-1.7674-.234-.8333L7.7461 9.0194c.7298-1.1913 2.3197-1.575 3.7957-1.5541l1.7323.0457L.3634 28.2207ZM19.1655 7.511l-4.5653.0166L2.24 27.9533l3.6103 2.0788.9818-1.6652L19.1655 7.511Z"/></g><defs><linearGradient id="b" x1="0" x2="14" y1="0" y2="28" gradientUnits="userSpaceOnUse"><stop stop-color="%23fff"/><stop offset="1" stop-color="%23fff" stop-opacity="0"/></linearGradient></defs></svg>%0A';
5
5
  export {
6
6
  arbitrum_default as default
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- // src/components/FunkitProvider/chainIcons/avalanche.svg
3
+ // src/providers/chainIcons/avalanche.svg
4
4
  var avalanche_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path fill="%23fff" d="M23 5H5v18h18V5Z"/><path fill="%23E84142" fill-rule="evenodd" d="M14 28c-7.513.008-14-6.487-14-14C0 6.196 6.043-.008 14 0c7.95.008 14 6.196 14 14 0 7.505-6.495 13.992-14 14Zm-3.971-7.436H7.315c-.57 0-.851 0-1.023-.11a.69.69 0 0 1-.313-.54c-.01-.202.13-.45.412-.944l6.7-11.809c.285-.501.43-.752.612-.845.195-.1.429-.1.625 0 .182.093.326.344.611.845l1.377 2.404.007.013c.308.538.464.81.533 1.097a2.04 2.04 0 0 1 0 .954c-.07.289-.224.564-.536 1.11l-3.52 6.22-.009.017c-.31.542-.467.817-.684 1.024a2.048 2.048 0 0 1-.835.485c-.285.079-.604.079-1.243.079Zm6.852 0h3.888c.574 0 .862 0 1.034-.113a.687.687 0 0 0 .313-.543c.01-.196-.128-.434-.398-.9a8.198 8.198 0 0 1-.028-.048l-1.948-3.332-.022-.037c-.274-.463-.412-.697-.59-.787a.684.684 0 0 0-.621 0c-.179.093-.323.337-.608.828l-1.94 3.331-.007.012c-.284.49-.426.735-.416.936.014.22.127.423.313.543.168.11.456.11 1.03.11Z" clip-rule="evenodd"/></svg>%0A';
5
5
  export {
6
6
  avalanche_default as default
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- // src/components/FunkitProvider/chainIcons/base.svg
3
+ // src/providers/chainIcons/base.svg
4
4
  var base_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><g fill="none" fill-rule="evenodd"><path fill="%230052FF" fill-rule="nonzero" d="M14 28a14 14 0 1 0 0-28 14 14 0 0 0 0 28Z"/><path fill="%23FFF" d="M13.967 23.86c5.445 0 9.86-4.415 9.86-9.86 0-5.445-4.415-9.86-9.86-9.86-5.166 0-9.403 3.974-9.825 9.03h14.63v1.642H4.142c.413 5.065 4.654 9.047 9.826 9.047Z"/></g></svg>';
5
5
  export {
6
6
  base_default as default
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- // src/components/FunkitProvider/chainIcons/blast.svg
3
+ // src/providers/chainIcons/blast.svg
4
4
  var blast_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 28 28"><rect width="28" height="28" fill="%23000" rx="14"/><rect width="28" height="28" fill="url(%23a)" fill-opacity=".1" rx="14"/><path fill="%23FCFC03" d="M7.735 7.836 5.581 9.73c-.163.137-.065.447.163.447h13.773c.163 0 .261.173.229.345l-.686 2.1a.247.247 0 0 1-.228.173h-5.353a.247.247 0 0 0-.228.172l-.555 1.515a.253.253 0 0 0 .228.345h5.19c.163 0 .26.172.228.344l-.816 2.652a.247.247 0 0 1-.228.172H9.563c-.163 0-.261-.172-.229-.31l1.534-5.786c.033-.103-.032-.24-.098-.275l-1.631-.999c-.131-.069-.294 0-.36.138l-2.545 9.16c-.065.173.065.31.228.31h10.346c.033 0 .066 0 .098-.034l2.579-1.309a.262.262 0 0 0 .13-.137l1.012-3.134c.033-.07 0-.207-.065-.242l-1.208-1.274c-.098-.103-.065-.344.065-.413l1.86-.93c.066-.034.099-.069.099-.137l1.11-3.134c.032-.104 0-.241-.066-.276l-1.534-1.377c-.065-.035-.065-.07-.163-.07H7.898a.535.535 0 0 0-.163.07Z"/><defs><linearGradient id="a" x1="0" x2="14" y1="0" y2="28" gradientUnits="userSpaceOnUse"><stop stop-color="%23fff"/><stop offset="1" stop-color="%23fff" stop-opacity="0"/></linearGradient></defs></svg>';
5
5
  export {
6
6
  blast_default as default
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- // src/components/FunkitProvider/chainIcons/bsc.svg
3
+ // src/providers/chainIcons/bsc.svg
4
4
  var bsc_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><g clip-path="url(%23a)"><path fill="%23F0B90B" fill-rule="evenodd" d="M14 0c7.733 0 14 6.267 14 14s-6.267 14-14 14S0 21.733 0 14 6.267 0 14 0Z" clip-rule="evenodd"/><path fill="%23fff" d="m7.694 14 .01 3.702 3.146 1.85v2.168l-4.986-2.924v-5.878L7.694 14Zm0-3.702v2.157l-1.832-1.083V9.214l1.832-1.083 1.841 1.083-1.84 1.084Zm4.47-1.084 1.832-1.083 1.84 1.083-1.84 1.084-1.832-1.084Z"/><path fill="%23fff" d="M9.018 16.935v-2.168l1.832 1.084v2.157l-1.832-1.073Zm3.146 3.394 1.832 1.084 1.84-1.084v2.157l-1.84 1.084-1.832-1.084V20.33Zm6.3-11.115 1.832-1.083 1.84 1.083v2.158l-1.84 1.083v-2.157l-1.832-1.084Zm1.832 8.488.01-3.702 1.831-1.084v5.879l-4.986 2.924v-2.167l3.145-1.85Z"/><path fill="%23fff" d="m18.982 16.935-1.832 1.073v-2.157l1.832-1.084v2.168Z"/><path fill="%23fff" d="m18.982 11.065.01 2.168-3.155 1.85v3.712l-1.831 1.073-1.832-1.073v-3.711l-3.155-1.851v-2.168l1.84-1.083 3.135 1.86 3.155-1.86 1.84 1.083h-.007Zm-9.964-3.7 4.977-2.935 4.987 2.935-1.832 1.083-3.154-1.86-3.146 1.86-1.832-1.083Z"/></g><defs><clipPath id="a"><path fill="%23fff" d="M0 0h28v28H0z"/></clipPath></defs></svg>';
5
5
  export {
6
6
  bsc_default as default
@@ -1,2 +1,2 @@
1
- import { AvatarComponent } from '../FunkitProvider/AvatarContext';
1
+ import { AvatarComponent } from '../../providers/AvatarContext';
2
2
  export declare const EmojiAvatar: AvatarComponent;
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { AuthenticationStatus } from '../FunkitProvider/AuthenticationContext';
2
+ import { AuthenticationStatus } from '../../providers/AuthenticationContext';
3
3
  export interface ConnectButtonRendererProps {
4
4
  children: (renderProps: {
5
5
  account?: {
@@ -17,7 +17,7 @@ interface DialogProps {
17
17
  export declare function Dialog({ children, onClose, open, titleId, isHidden, isSmartCloseable, }: DialogProps): React.JSX.Element;
18
18
  export declare namespace Dialog {
19
19
  var Title: ({ title, hasCloseButton: hasCloseButtonProp, isCloseDisabled, onClose, hasBackButton: hasBackButtonProp, isBackDisabled, onBack, backAnimation, skipBackDelay, countdownSeconds, countdownKey, delayCountdownReturnByBuffer, dydxHideBack, }: DialogTitleProps) => React.JSX.Element;
20
- var Content: ({ children, fullHeight, paddingLeft, paddingBottom, className, withTopDivider, withBottomDivider, ...boxProps }: DialogContentProps) => React.JSX.Element;
20
+ var Content: ({ children, fullHeight, paddingLeft, paddingBottom, className, withTopDivider, withBottomDivider, id, ...boxProps }: DialogContentProps) => React.JSX.Element;
21
21
  var BottomSection: ({ paddingX, ...boxProps }: Omit<BoxProps, "children">) => React.JSX.Element;
22
22
  var BottomBar: ({ topSection, actionButtonProps, bottomSection, }: import("../FunBottomBar/FunBottomBar").FunBottomBarProps) => React.JSX.Element;
23
23
  }
@@ -27,6 +27,7 @@ interface DialogContentProps extends BoxProps {
27
27
  fullHeight?: boolean;
28
28
  withTopDivider?: boolean;
29
29
  withBottomDivider?: boolean;
30
+ id?: string;
30
31
  }
31
32
  export interface DialogTitleProps {
32
33
  title?: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { FunCheckoutStep } from '../FunCheckoutModal/FunCheckoutModal';
3
- import { FunkitActiveCheckoutItem } from '../FunkitProvider/FunkitCheckoutContext';
2
+ import { FunCheckoutStep } from '../../modals/FunCheckoutModal/FunCheckoutModal';
3
+ import { FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
4
4
  interface DydxSwitchTabProps {
5
5
  checkoutItem: FunkitActiveCheckoutItem | null;
6
6
  checkoutStep: FunCheckoutStep;
@@ -2,5 +2,6 @@ export declare const funLinkButtonStyle: string;
2
2
  export declare const transitionStyles: string;
3
3
  export declare const pressedStyles: string;
4
4
  export declare const funIconButtonClickableStyle: string;
5
+ export declare const funIconButtonNonClickableStyle: string;
5
6
  export declare const funIconButtonDisabledStyle: string;
6
7
  export declare const rotateStyle: string;
@@ -22,9 +22,8 @@ export interface FunIconButtonProps {
22
22
  isDisabled?: boolean;
23
23
  borderRadius?: BoxProps['borderRadius'];
24
24
  style?: BoxProps['style'];
25
- disableHoverStyles?: boolean;
26
25
  children?: React.ReactNode;
27
26
  /** Defaults to 'quiet' */
28
27
  variant?: 'quiet' | 'outlined';
29
28
  }
30
- export declare const FunIconButton: ({ children, onClick, icon, size, width, gap, ariaLabel, color, as, isDisabled, borderRadius, style, disableHoverStyles, variant, ...props }: FunIconButtonProps) => React.JSX.Element;
29
+ export declare const FunIconButton: ({ children, onClick, icon, size, width, gap, ariaLabel, color, as, isDisabled, borderRadius, style, variant, ...props }: FunIconButtonProps) => React.JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const funCheckoutBlockedStyle: string;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const FunCheckoutBlocked: () => React.JSX.Element;
@@ -3,5 +3,5 @@ import { FunInputProps } from './FunInput';
3
3
  interface FunTextAreaInputProps extends FunInputProps<HTMLTextAreaElement> {
4
4
  hasBackground?: boolean;
5
5
  }
6
- export declare function FunTextAreaInput({ placeholder, value, label, onChange, onKeyDown, onKeySubmit, textColor, inputStyle, inputProps, error, overrideBorderWidth, }: FunTextAreaInputProps): React.JSX.Element;
6
+ export declare function FunTextAreaInput({ placeholder, value, label, onChange, onKeyDown, onKeySubmit, textColor, inputStyle, inputProps, error, overrideBorderWidth, overrideBackground, }: FunTextAreaInputProps): React.JSX.Element;
7
7
  export {};
@@ -6,10 +6,11 @@ export declare function ExistingPaymentMethodItem({ paymentMethodInfo, }: {
6
6
  /**
7
7
  * Handle selection and adding of payment methods
8
8
  */
9
- export declare function FunPaymentMethods({ primaryInfo, checkoutId, onSelect, isDisabled, depositAmount, }: {
9
+ export declare function FunPaymentMethods({ primaryInfo, checkoutId, onSelect, isDisabled, depositAmount, isLoadingGeoCheck, }: {
10
10
  primaryInfo: React.ReactNode;
11
11
  checkoutId: string;
12
12
  onSelect: (paymentMethodInfo: PaymentMethodInfo) => void;
13
13
  isDisabled?: boolean;
14
14
  depositAmount: string;
15
+ isLoadingGeoCheck: boolean;
15
16
  }): React.JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- export declare const SpinnerIcon: ({ height, width, }: {
3
- width?: string | number;
4
- height?: string | number;
2
+ export declare const SpinnerIcon: ({ size }: {
3
+ size?: string | number;
5
4
  }) => React.JSX.Element;
@@ -1,2 +1,2 @@
1
+ export { FunkitProvider } from './../providers/FunkitProvider';
1
2
  export { ConnectButton } from './ConnectButton/ConnectButton';
2
- export { FunkitProvider } from './FunkitProvider/FunkitProvider';
@@ -1,6 +1,6 @@
1
1
  import { Chain, Transport } from 'viem';
2
2
  import { CreateConfigParameters } from 'wagmi';
3
- import { type FunkitConnectChain } from '../components/FunkitProvider/FunkitConnectChainContext';
3
+ import { type FunkitConnectChain } from '../providers/FunkitConnectChainContext';
4
4
  import type { WalletList } from '../wallets/Wallet';
5
5
  export type _chains = readonly [FunkitConnectChain, ...FunkitConnectChain[]];
6
6
  export type _transports = Record<_chains[number]['id'], Transport>;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- // src/components/FunkitProvider/chainIcons/cronos.svg
3
+ // src/providers/chainIcons/cronos.svg
4
4
  var cronos_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="28" height="28"><defs><linearGradient id="A" x1="-18.275%" x2="84.959%" y1="8.219%" y2="71.393%"><stop offset="0%" stop-color="%23002d74"/><stop offset="100%" stop-color="%23001246"/></linearGradient><circle id="B" cx="14" cy="14" r="14"/></defs><g fill-rule="evenodd"><mask id="C" fill="%23fff"><use xlink:href="%23B"/></mask><g fill-rule="nonzero"><path fill="url(%23A)" d="M-1.326-1.326h30.651v30.651H-1.326z" mask="url(%23C)"/><g fill="%23fff"><path d="M14.187 6L7 10.175v8.35l7.187 4.175 7.175-4.175v-8.35L14.187 6zm5.046 11.286l-5.058 2.936-5.046-2.936v-5.871l5.058-2.936 5.046 2.936v5.871z"/><path d="M14.187 22.7l7.175-4.175v-8.35L14.187 6v2.479l5.046 2.936v5.883l-5.058 2.936V22.7h.012z"/><path d="M14.175 6L7 10.175v8.35l7.175 4.175v-2.479l-5.046-2.936v-5.883l5.046-2.924V6zm3.36 10.299l-3.348 1.949-3.36-1.949v-3.898l3.36-1.949 3.348 1.949-1.399.818-1.961-1.143-1.949 1.143v2.274l1.961 1.143 1.961-1.143 1.387.806z"/></g></g></g></svg>';
5
5
  export {
6
6
  cronos_default as default
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- // src/components/FunkitProvider/chainIcons/dydx.svg
3
+ // src/providers/chainIcons/dydx.svg
4
4
  var dydx_default = 'data:image/svg+xml,<svg width="183" height="183" viewBox="0 0 183 183" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<rect x="1" y="1" width="181" height="181" rx="37" fill="url(%23paint0_linear)"/>%0A<path d="M115.316 43L45 141.992H66.5885L137.269 43H115.316Z" fill="white"/>%0A<path d="M68.8375 43L89.5265 72.1696L78.7322 88.0804L46.7992 43H68.8375Z" fill="url(%23paint1_linear)"/>%0A<path d="M117.411 142L94.4737 109.737L105.268 94.2679L139 142H117.411Z" fill="url(%23paint2_linear)"/>%0A<rect x="1" y="1" width="181" height="181" rx="37" stroke="%232D2D3D" stroke-width="2"/>%0A<defs>%0A<linearGradient id="paint0_linear" x1="147.5" y1="-24.5" x2="103" y2="160.5" gradientUnits="userSpaceOnUse">%0A<stop stop-color="%232C2C3D"/>%0A<stop offset="1" stop-color="%231a1a27"/>%0A</linearGradient>%0A<linearGradient id="paint1_linear" x1="63.8901" y1="49.1875" x2="92.8951" y2="84.8205" gradientUnits="userSpaceOnUse">%0A<stop stop-color="white"/>%0A<stop offset="1" stop-color="white" stop-opacity="0.55"/>%0A</linearGradient>%0A<linearGradient id="paint2_linear" x1="122.359" y1="134.487" x2="86.7873" y2="85.6863" gradientUnits="userSpaceOnUse">%0A<stop stop-color="%236966FF"/>%0A<stop offset="1" stop-color="%236966FF" stop-opacity="0.36"/>%0A</linearGradient>%0A</defs>%0A</svg>%0A';
5
5
  export {
6
6
  dydx_default as default
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- // src/components/FunkitProvider/chainIcons/ethereum.svg
3
+ // src/providers/chainIcons/ethereum.svg
4
4
  var ethereum_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path fill="%2325292E" fill-rule="evenodd" d="M14 28a14 14 0 1 0 0-28 14 14 0 0 0 0 28Z" clip-rule="evenodd"/><path fill="url(%23a)" fill-opacity=".3" fill-rule="evenodd" d="M14 28a14 14 0 1 0 0-28 14 14 0 0 0 0 28Z" clip-rule="evenodd"/><path fill="url(%23b)" d="M8.19 14.77 14 18.21l5.8-3.44-5.8 8.19-5.81-8.19Z"/><path fill="%23fff" d="m14 16.93-5.81-3.44L14 4.34l5.81 9.15L14 16.93Z"/><defs><linearGradient id="a" x1="0" x2="14" y1="0" y2="28" gradientUnits="userSpaceOnUse"><stop stop-color="%23fff"/><stop offset="1" stop-color="%23fff" stop-opacity="0"/></linearGradient><linearGradient id="b" x1="14" x2="14" y1="14.77" y2="22.96" gradientUnits="userSpaceOnUse"><stop stop-color="%23fff"/><stop offset="1" stop-color="%23fff" stop-opacity=".9"/></linearGradient></defs></svg>%0A';
5
5
  export {
6
6
  ethereum_default as default
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- // src/components/FunkitProvider/chainIcons/hardhat.svg
3
+ // src/providers/chainIcons/hardhat.svg
4
4
  var hardhat_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><rect width="28" height="28" fill="url(%23a)" rx="14"/><g clip-path="url(%23b)"><path fill="%23FFF100" d="M22.458 18.409v-.875c0-.162-.258-.317-.72-.457l.011-1.088c0-1.676-.49-3.312-1.402-4.685a7.833 7.833 0 0 0-3.702-2.994l-.033-.218a.639.639 0 0 0-.138-.315.592.592 0 0 0-.277-.188 7.429 7.429 0 0 0-4.395 0 .592.592 0 0 0-.278.188.64.64 0 0 0-.14.315l-.031.203a7.83 7.83 0 0 0-3.727 2.991 8.474 8.474 0 0 0-1.414 4.703v1.093c-.456.139-.71.292-.71.454v.874a.224.224 0 0 0 .03.147c.227-.178.487-.303.764-.366.704-.181 1.42-.307 2.143-.378.202-.024.407-.003.601.063s.372.174.523.318a2.945 2.945 0 0 0 2.043.836h4.748c.756 0 1.485-.299 2.043-.836a1.42 1.42 0 0 1 .522-.32c.194-.067.4-.09.602-.066a14.2 14.2 0 0 1 2.143.376c.262.053.51.167.724.334.012.013.027.024.037.036a.227.227 0 0 0 .033-.145Z"/><path fill="url(%23c)" d="M9.574 16.569c-.006-.2-.01-.402-.01-.604.003-3.04.677-5.765 1.79-7.668a7.83 7.83 0 0 0-3.728 2.99 8.474 8.474 0 0 0-1.414 4.702v1.093a17.98 17.98 0 0 1 3.362-.513Z"/><path fill="url(%23d)" d="M21.749 15.989a8.409 8.409 0 0 0-1.773-5.199c.498 1.674.746 3.42.735 5.173 0 .296-.008.59-.02.88a9.2 9.2 0 0 1 1.045.234l.013-1.088Z"/><path fill="url(%23e)" d="M21.664 18.187c-.705-.18-1.42-.306-2.143-.377a1.365 1.365 0 0 0-.602.064 1.416 1.416 0 0 0-.523.32 2.943 2.943 0 0 1-2.043.835h-4.745a2.945 2.945 0 0 1-2.043-.835 1.417 1.417 0 0 0-.522-.322 1.366 1.366 0 0 0-.602-.065 14.18 14.18 0 0 0-2.143.377 1.962 1.962 0 0 0-.764.367c.36.58 4.006 1.19 8.448 1.19s8.086-.612 8.447-1.19c-.013-.012-.027-.023-.037-.035a1.8 1.8 0 0 0-.728-.329Z"/><path fill="%230A0A0A" d="m13.98 9.823-1.818 3.258 1.817 1.188V9.824Z"/><path fill="%234B4D4D" d="M13.98 9.824v4.444l1.817-1.186-1.817-3.258Zm0 5.09v1.55c.034-.052 1.817-2.738 1.817-2.74l-1.817 1.19Z"/><path fill="%230A0A0A" d="m13.98 14.914-1.818-1.187 1.818 2.737v-1.55Z"/></g><defs><linearGradient id="a" x1="14" x2="14" y1="0" y2="28" gradientUnits="userSpaceOnUse"><stop stop-color="%23F7F1FD"/><stop offset="1" stop-color="%23FBFCDC"/></linearGradient><linearGradient id="c" x1="8.783" x2="8.783" y1="17.082" y2="8.297" gradientUnits="userSpaceOnUse"><stop stop-color="%23EDCF00"/><stop offset=".33" stop-color="%23F0D500"/><stop offset=".77" stop-color="%23F9E500"/><stop offset="1" stop-color="%23FFF100"/></linearGradient><linearGradient id="d" x1="20.862" x2="20.862" y1="17.146" y2="10.79" gradientUnits="userSpaceOnUse"><stop stop-color="%23EDCF00"/><stop offset=".59" stop-color="%23F7E100"/><stop offset="1" stop-color="%23FFF100"/></linearGradient><radialGradient id="e" cx="0" cy="0" r="1" gradientTransform="matrix(6.30353 0 0 6.64935 6.45 23.084)" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFF100"/><stop offset=".23" stop-color="%23F9E500"/><stop offset=".67" stop-color="%23F0D500"/><stop offset="1" stop-color="%23EDCF00"/></radialGradient><clipPath id="b"><path fill="%23fff" d="M0 0h17v13H0z" transform="translate(5.5 7)"/></clipPath></defs></svg>%0A';
5
5
  export {
6
6
  hardhat_default as default
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Logic for easier animations during navigation
3
+ * @param callback - Called when utilizing the navigateTo function. Without providing it the navigateTo function will not work
4
+ * animate is a more generic version of navigateTo that can be used if the callback is not known during hook initialization. Or if it differs.
5
+ */
6
+ export declare function useAnimatedNavigation<T>(callback: ((page: T) => void) | undefined): {
7
+ animateOut: boolean;
8
+ navigateTo: (page: T) => void;
9
+ animate: (callback: () => void) => void;
10
+ };
@@ -0,0 +1,2 @@
1
+ import { Address } from 'viem';
2
+ export declare function useCheckoutModalTitle(depositAddress: Address, defaultTitle: string): string;
@@ -1,4 +1,4 @@
1
- import { FunkitActiveCheckoutItem } from '../components/FunkitProvider/FunkitCheckoutContext';
1
+ import { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
2
2
  export declare function getCheckoutType(checkoutItem: FunkitActiveCheckoutItem | null): {
3
3
  isCheckoutCrFlow: boolean;
4
4
  isCheckoutDirectCrFlow: boolean;
@@ -4,6 +4,7 @@ import { FunSelectOption } from '../components/FunSelect/FunSelect';
4
4
  import { PaymentMethodInfo } from '../consts/payment';
5
5
  import { MeshExchanges } from '../utils/mesh';
6
6
  export declare const getMeshExchangeIconMap: (size?: number) => Partial<Record<MeshExchanges, ReactNode>>;
7
+ export declare const getSupportedExchanges: () => MeshExchanges[];
7
8
  export declare const useMeshExchanges: ({ fullInfo, iconSize, }: {
8
9
  fullInfo?: boolean;
9
10
  iconSize?: number;
@@ -1,4 +1,4 @@
1
- import { KnownAssetBalanceInfo } from '../components/FunkitProvider/GeneralWalletProvider';
1
+ import { KnownAssetBalanceInfo } from '../providers/GeneralWalletProvider';
2
2
  export declare function useUsableWalletAssetsForCheckout(checkoutId: string): {
3
3
  [assetKey: string]: KnownAssetBalanceInfo;
4
4
  } | undefined;