@ape.swap/bonds-sdk 1.0.4 → 1.0.5-seedify

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 (374) hide show
  1. package/README.md +46 -1
  2. package/dist/components/AccordionText/index.d.ts +9 -0
  3. package/dist/components/BondMenu/BondMenu.d.ts +12 -0
  4. package/dist/components/BondMenu/useChainFilterOption.d.ts +4 -0
  5. package/dist/components/BondRows/BondRow.d.ts +11 -0
  6. package/dist/components/BondRows/BondRowHeader.d.ts +15 -0
  7. package/dist/components/BondRows/BondRowsByChain.d.ts +11 -0
  8. package/dist/components/BondRows/BondRowsWithTitle.d.ts +11 -0
  9. package/dist/components/BondRows/ChainTitle.d.ts +8 -0
  10. package/dist/components/DisconnectedPlaceholder/index.d.ts +3 -0
  11. package/dist/components/MenuSelect/MenuSelect.d.ts +8 -0
  12. package/dist/components/MenuSelect/RecommendationSelector.d.ts +7 -0
  13. package/dist/components/MenuSelect/types.d.ts +22 -0
  14. package/dist/components/NetworkFilter/index.d.ts +6 -0
  15. package/dist/components/ProgressBar/ProgressBar.d.ts +8 -0
  16. package/dist/components/ProgressBar/ProgressBarWrapper.d.ts +14 -0
  17. package/dist/components/ProgressBar/styles.d.ts +2 -0
  18. package/dist/components/SlippageModal/index.d.ts +3 -0
  19. package/dist/components/TokenInfoAndName/index.d.ts +9 -0
  20. package/dist/components/TokenSelectorModal/TokenRow.d.ts +8 -0
  21. package/dist/components/TokenSelectorModal/index.d.ts +11 -0
  22. package/dist/components/TokenSelectorPanel/index.d.ts +15 -0
  23. package/dist/components/Tooltip/ButtonsRow.d.ts +8 -0
  24. package/dist/components/Tooltip/Tooltip.d.ts +18 -0
  25. package/dist/components/Tooltip/styles.d.ts +2 -0
  26. package/dist/components/uikit-sdk/Button/Button.d.ts +4 -0
  27. package/dist/components/uikit-sdk/Button/IconButton.d.ts +4 -0
  28. package/dist/components/uikit-sdk/Button/index.d.ts +2 -0
  29. package/dist/components/uikit-sdk/Button/styles.d.ts +3 -0
  30. package/dist/components/uikit-sdk/Button/types.d.ts +46 -0
  31. package/dist/components/uikit-sdk/Checkbox/index.d.ts +3 -0
  32. package/dist/components/uikit-sdk/Checkbox/types.d.ts +11 -0
  33. package/dist/components/uikit-sdk/Flex/index.d.ts +5 -0
  34. package/dist/components/uikit-sdk/Input/Input.d.ts +9 -0
  35. package/dist/components/uikit-sdk/Input/NumericInput.d.ts +9 -0
  36. package/dist/components/uikit-sdk/Input/StyledInput.d.ts +11 -0
  37. package/dist/components/uikit-sdk/Input/index.d.ts +3 -0
  38. package/dist/components/uikit-sdk/Modal/ModalFooter.d.ts +4 -0
  39. package/dist/components/uikit-sdk/Modal/ModalHeader.d.ts +4 -0
  40. package/dist/components/uikit-sdk/Modal/index.d.ts +4 -0
  41. package/dist/components/uikit-sdk/Modal/styles.d.ts +3 -0
  42. package/dist/components/uikit-sdk/Modal/types.d.ts +17 -0
  43. package/dist/components/uikit-sdk/Select/Select.d.ts +4 -0
  44. package/dist/components/uikit-sdk/Select/SelectItem.d.ts +3 -0
  45. package/dist/components/uikit-sdk/Select/index.d.ts +2 -0
  46. package/dist/components/uikit-sdk/Select/styles.d.ts +4 -0
  47. package/dist/components/uikit-sdk/Select/types.d.ts +55 -0
  48. package/dist/components/uikit-sdk/Skeleton/index.d.ts +4 -0
  49. package/dist/components/uikit-sdk/Skeleton/styles.d.ts +5 -0
  50. package/dist/components/uikit-sdk/Skeleton/types.d.ts +18 -0
  51. package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.d.ts +4 -0
  52. package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.d.ts +4 -0
  53. package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.d.ts +4 -0
  54. package/dist/components/uikit-sdk/Svg/Icons/AllChains.d.ts +4 -0
  55. package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.d.ts +4 -0
  56. package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.d.ts +4 -0
  57. package/dist/components/uikit-sdk/Svg/Icons/Arrow.d.ts +4 -0
  58. package/dist/components/uikit-sdk/Svg/Icons/Audit.d.ts +4 -0
  59. package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.d.ts +4 -0
  60. package/dist/components/uikit-sdk/Svg/Icons/BillsM1.d.ts +4 -0
  61. package/dist/components/uikit-sdk/Svg/Icons/BillsM2.d.ts +4 -0
  62. package/dist/components/uikit-sdk/Svg/Icons/BillsM3.d.ts +4 -0
  63. package/dist/components/uikit-sdk/Svg/Icons/Bridge.d.ts +4 -0
  64. package/dist/components/uikit-sdk/Svg/Icons/Bubble.d.ts +4 -0
  65. package/dist/components/uikit-sdk/Svg/Icons/Calculator.d.ts +4 -0
  66. package/dist/components/uikit-sdk/Svg/Icons/Calendar.d.ts +4 -0
  67. package/dist/components/uikit-sdk/Svg/Icons/Cancelled.d.ts +4 -0
  68. package/dist/components/uikit-sdk/Svg/Icons/Card.d.ts +4 -0
  69. package/dist/components/uikit-sdk/Svg/Icons/Caret.d.ts +4 -0
  70. package/dist/components/uikit-sdk/Svg/Icons/Chain.d.ts +4 -0
  71. package/dist/components/uikit-sdk/Svg/Icons/Chart.d.ts +4 -0
  72. package/dist/components/uikit-sdk/Svg/Icons/Chat.d.ts +4 -0
  73. package/dist/components/uikit-sdk/Svg/Icons/Close.d.ts +4 -0
  74. package/dist/components/uikit-sdk/Svg/Icons/Cog.d.ts +3 -0
  75. package/dist/components/uikit-sdk/Svg/Icons/Collapse.d.ts +4 -0
  76. package/dist/components/uikit-sdk/Svg/Icons/Copy.d.ts +4 -0
  77. package/dist/components/uikit-sdk/Svg/Icons/Discord.d.ts +4 -0
  78. package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.d.ts +4 -0
  79. package/dist/components/uikit-sdk/Svg/Icons/Docs.d.ts +4 -0
  80. package/dist/components/uikit-sdk/Svg/Icons/DocsV2.d.ts +4 -0
  81. package/dist/components/uikit-sdk/Svg/Icons/Ellipse.d.ts +4 -0
  82. package/dist/components/uikit-sdk/Svg/Icons/Error.d.ts +4 -0
  83. package/dist/components/uikit-sdk/Svg/Icons/Expand.d.ts +4 -0
  84. package/dist/components/uikit-sdk/Svg/Icons/Explorer.d.ts +4 -0
  85. package/dist/components/uikit-sdk/Svg/Icons/External.d.ts +4 -0
  86. package/dist/components/uikit-sdk/Svg/Icons/Farm.d.ts +4 -0
  87. package/dist/components/uikit-sdk/Svg/Icons/Fav.d.ts +4 -0
  88. package/dist/components/uikit-sdk/Svg/Icons/FilledURL.d.ts +4 -0
  89. package/dist/components/uikit-sdk/Svg/Icons/Fire.d.ts +4 -0
  90. package/dist/components/uikit-sdk/Svg/Icons/Frame.d.ts +4 -0
  91. package/dist/components/uikit-sdk/Svg/Icons/FullLogo.d.ts +4 -0
  92. package/dist/components/uikit-sdk/Svg/Icons/Gnana.d.ts +4 -0
  93. package/dist/components/uikit-sdk/Svg/Icons/GreenShield.d.ts +3 -0
  94. package/dist/components/uikit-sdk/Svg/Icons/Hamburger.d.ts +4 -0
  95. package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.d.ts +4 -0
  96. package/dist/components/uikit-sdk/Svg/Icons/Home.d.ts +4 -0
  97. package/dist/components/uikit-sdk/Svg/Icons/Hot.d.ts +4 -0
  98. package/dist/components/uikit-sdk/Svg/Icons/Info.d.ts +4 -0
  99. package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.d.ts +4 -0
  100. package/dist/components/uikit-sdk/Svg/Icons/Insight.d.ts +4 -0
  101. package/dist/components/uikit-sdk/Svg/Icons/Instagram.d.ts +4 -0
  102. package/dist/components/uikit-sdk/Svg/Icons/Island.d.ts +4 -0
  103. package/dist/components/uikit-sdk/Svg/Icons/Language.d.ts +4 -0
  104. package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.d.ts +4 -0
  105. package/dist/components/uikit-sdk/Svg/Icons/LineChart.d.ts +4 -0
  106. package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.d.ts +4 -0
  107. package/dist/components/uikit-sdk/Svg/Icons/Logout.d.ts +4 -0
  108. package/dist/components/uikit-sdk/Svg/Icons/Medium.d.ts +4 -0
  109. package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.d.ts +4 -0
  110. package/dist/components/uikit-sdk/Svg/Icons/Message.d.ts +4 -0
  111. package/dist/components/uikit-sdk/Svg/Icons/Migrate.d.ts +4 -0
  112. package/dist/components/uikit-sdk/Svg/Icons/Moon.d.ts +4 -0
  113. package/dist/components/uikit-sdk/Svg/Icons/More.d.ts +4 -0
  114. package/dist/components/uikit-sdk/Svg/Icons/NFA.d.ts +4 -0
  115. package/dist/components/uikit-sdk/Svg/Icons/NavCaret.d.ts +4 -0
  116. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.d.ts +3 -0
  117. package/dist/components/uikit-sdk/Svg/Icons/Play.d.ts +4 -0
  118. package/dist/components/uikit-sdk/Svg/Icons/Pool.d.ts +4 -0
  119. package/dist/components/uikit-sdk/Svg/Icons/Positions.d.ts +4 -0
  120. package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.d.ts +4 -0
  121. package/dist/components/uikit-sdk/Svg/Icons/ProfileIcon.d.ts +7 -0
  122. package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.d.ts +4 -0
  123. package/dist/components/uikit-sdk/Svg/Icons/Question.d.ts +4 -0
  124. package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.d.ts +4 -0
  125. package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.d.ts +4 -0
  126. package/dist/components/uikit-sdk/Svg/Icons/Quiz.d.ts +4 -0
  127. package/dist/components/uikit-sdk/Svg/Icons/Receipt.d.ts +4 -0
  128. package/dist/components/uikit-sdk/Svg/Icons/Reddit.d.ts +4 -0
  129. package/dist/components/uikit-sdk/Svg/Icons/Rocket.d.ts +4 -0
  130. package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.d.ts +4 -0
  131. package/dist/components/uikit-sdk/Svg/Icons/Search.d.ts +4 -0
  132. package/dist/components/uikit-sdk/Svg/Icons/Send.d.ts +4 -0
  133. package/dist/components/uikit-sdk/Svg/Icons/Settings.d.ts +4 -0
  134. package/dist/components/uikit-sdk/Svg/Icons/Share.d.ts +4 -0
  135. package/dist/components/uikit-sdk/Svg/Icons/Sort.d.ts +4 -0
  136. package/dist/components/uikit-sdk/Svg/Icons/Success.d.ts +4 -0
  137. package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.d.ts +4 -0
  138. package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.d.ts +4 -0
  139. package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.d.ts +3 -0
  140. package/dist/components/uikit-sdk/Svg/Icons/Tag.d.ts +4 -0
  141. package/dist/components/uikit-sdk/Svg/Icons/Telegram.d.ts +4 -0
  142. package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.d.ts +4 -0
  143. package/dist/components/uikit-sdk/Svg/Icons/TextLogo.d.ts +4 -0
  144. package/dist/components/uikit-sdk/Svg/Icons/TickShield.d.ts +4 -0
  145. package/dist/components/uikit-sdk/Svg/Icons/Trade.d.ts +4 -0
  146. package/dist/components/uikit-sdk/Svg/Icons/Trash.d.ts +4 -0
  147. package/dist/components/uikit-sdk/Svg/Icons/Twitter.d.ts +4 -0
  148. package/dist/components/uikit-sdk/Svg/Icons/URL.d.ts +4 -0
  149. package/dist/components/uikit-sdk/Svg/Icons/Vaults.d.ts +4 -0
  150. package/dist/components/uikit-sdk/Svg/Icons/Verified.d.ts +4 -0
  151. package/dist/components/uikit-sdk/Svg/Icons/Wallet.d.ts +4 -0
  152. package/dist/components/uikit-sdk/Svg/Icons/Warning.d.ts +4 -0
  153. package/dist/components/uikit-sdk/Svg/Icons/Watch.d.ts +4 -0
  154. package/dist/components/uikit-sdk/Svg/Icons/Website.d.ts +4 -0
  155. package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.d.ts +4 -0
  156. package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.d.ts +4 -0
  157. package/dist/components/uikit-sdk/Svg/Icons/XNew.d.ts +4 -0
  158. package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.d.ts +4 -0
  159. package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.d.ts +4 -0
  160. package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.d.ts +4 -0
  161. package/dist/components/uikit-sdk/Svg/Icons/index.d.ts +110 -0
  162. package/dist/components/uikit-sdk/Svg/Icons/polygonNew.d.ts +4 -0
  163. package/dist/components/uikit-sdk/Svg/Icons/types.d.ts +16 -0
  164. package/dist/components/uikit-sdk/Svg/index.d.ts +3 -0
  165. package/dist/components/uikit-sdk/Svg/styles.d.ts +4 -0
  166. package/dist/components/uikit-sdk/Svg/tokens/ABOND.d.ts +4 -0
  167. package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.d.ts +4 -0
  168. package/dist/components/uikit-sdk/Svg/tokens/AVAX.d.ts +4 -0
  169. package/dist/components/uikit-sdk/Svg/tokens/BANANA.d.ts +4 -0
  170. package/dist/components/uikit-sdk/Svg/tokens/BASE.d.ts +4 -0
  171. package/dist/components/uikit-sdk/Svg/tokens/BNB.d.ts +4 -0
  172. package/dist/components/uikit-sdk/Svg/tokens/BSC.d.ts +4 -0
  173. package/dist/components/uikit-sdk/Svg/tokens/CELO.d.ts +4 -0
  174. package/dist/components/uikit-sdk/Svg/tokens/CRONOS.d.ts +4 -0
  175. package/dist/components/uikit-sdk/Svg/tokens/ETH.d.ts +4 -0
  176. package/dist/components/uikit-sdk/Svg/tokens/FANTOM.d.ts +4 -0
  177. package/dist/components/uikit-sdk/Svg/tokens/GNANA.d.ts +4 -0
  178. package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.d.ts +4 -0
  179. package/dist/components/uikit-sdk/Svg/tokens/INEVM.d.ts +4 -0
  180. package/dist/components/uikit-sdk/Svg/tokens/IOTA.d.ts +4 -0
  181. package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.d.ts +4 -0
  182. package/dist/components/uikit-sdk/Svg/tokens/LINEA.d.ts +4 -0
  183. package/dist/components/uikit-sdk/Svg/tokens/OKX.d.ts +4 -0
  184. package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.d.ts +4 -0
  185. package/dist/components/uikit-sdk/Svg/tokens/POLYGON.d.ts +4 -0
  186. package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.d.ts +4 -0
  187. package/dist/components/uikit-sdk/Svg/tokens/TLOS.d.ts +4 -0
  188. package/dist/components/uikit-sdk/Svg/tokens/index.d.ts +22 -0
  189. package/dist/components/uikit-sdk/Svg/types.d.ts +171 -0
  190. package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.d.ts +3 -0
  191. package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.d.ts +3 -0
  192. package/dist/components/uikit-sdk/Svg/walletIcons/Brave.d.ts +3 -0
  193. package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.d.ts +3 -0
  194. package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.d.ts +4 -0
  195. package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.d.ts +3 -0
  196. package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.d.ts +3 -0
  197. package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.d.ts +3 -0
  198. package/dist/components/uikit-sdk/Svg/walletIcons/OKX.d.ts +3 -0
  199. package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.d.ts +3 -0
  200. package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.d.ts +3 -0
  201. package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.d.ts +3 -0
  202. package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.d.ts +3 -0
  203. package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.d.ts +3 -0
  204. package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.d.ts +3 -0
  205. package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.d.ts +4 -0
  206. package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.d.ts +3 -0
  207. package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.d.ts +3 -0
  208. package/dist/components/uikit-sdk/Svg/walletIcons/index.d.ts +18 -0
  209. package/dist/components/uikit-sdk/Tag/ListTag.d.ts +4 -0
  210. package/dist/components/uikit-sdk/Tag/Tag.d.ts +4 -0
  211. package/dist/components/uikit-sdk/Tag/index.d.ts +3 -0
  212. package/dist/components/uikit-sdk/Tag/styles.d.ts +8 -0
  213. package/dist/components/uikit-sdk/Tag/types.d.ts +48 -0
  214. package/dist/components/uikit-sdk/Text/index.d.ts +4 -0
  215. package/dist/components/uikit-sdk/Text/types.d.ts +23 -0
  216. package/dist/components/uikit-sdk/Toggle/index.d.ts +8 -0
  217. package/dist/components/uikit-sdk/Toggle/styles.d.ts +3 -0
  218. package/dist/components/uikit-sdk/TokenImage/index.d.ts +8 -0
  219. package/dist/components/uikit-sdk/TooltipBubble/index.d.ts +4 -0
  220. package/dist/components/uikit-sdk/TooltipBubble/styles.d.ts +4 -0
  221. package/dist/components/uikit-sdk/TooltipBubble/types.d.ts +17 -0
  222. package/dist/components/uikit-sdk/index.d.ts +11 -0
  223. package/dist/config/abi/types/Banana.d.ts +394 -0
  224. package/dist/config/abi/types/Bond.d.ts +758 -0
  225. package/dist/config/abi/types/BondNft.d.ts +556 -0
  226. package/dist/config/abi/types/EnsPublicResolver.d.ts +437 -0
  227. package/dist/config/abi/types/EnsRegistrar.d.ts +254 -0
  228. package/dist/config/abi/types/Erc20.d.ts +156 -0
  229. package/dist/config/abi/types/Erc20_bytes32.d.ts +50 -0
  230. package/dist/config/abi/types/JungleChef.d.ts +245 -0
  231. package/dist/config/abi/types/LaunchBonds.d.ts +1306 -0
  232. package/dist/config/abi/types/LensContract.d.ts +276 -0
  233. package/dist/config/abi/types/LockVeAbond.d.ts +1173 -0
  234. package/dist/config/abi/types/MigrationBond.d.ts +1074 -0
  235. package/dist/config/abi/types/MigrationFveAbond.d.ts +284 -0
  236. package/dist/config/abi/types/MiniComplexRewarder.d.ts +423 -0
  237. package/dist/config/abi/types/Multicallv2.d.ts +139 -0
  238. package/dist/config/abi/types/Multicallv3.d.ts +98 -0
  239. package/dist/config/abi/types/NonFungibleApes.d.ts +492 -0
  240. package/dist/config/abi/types/NonFungibleBananas.d.ts +468 -0
  241. package/dist/config/abi/types/PriceGetter.d.ts +676 -0
  242. package/dist/config/abi/types/PriceGetterLinea.d.ts +756 -0
  243. package/dist/config/abi/types/PriceGetterV2.d.ts +692 -0
  244. package/dist/config/abi/types/SousChef.d.ts +542 -0
  245. package/dist/config/abi/types/Treasury.d.ts +274 -0
  246. package/dist/config/abi/types/Weth.d.ts +206 -0
  247. package/dist/config/abi/types/Zap.d.ts +484 -0
  248. package/dist/config/abi/types/common.d.ts +22 -0
  249. package/dist/config/abi/types/factories/Banana__factory.d.ts +475 -0
  250. package/dist/config/abi/types/factories/BondNft__factory.d.ts +723 -0
  251. package/dist/config/abi/types/factories/Bond__factory.d.ts +799 -0
  252. package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +649 -0
  253. package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +338 -0
  254. package/dist/config/abi/types/factories/Erc20__factory.d.ts +175 -0
  255. package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +30 -0
  256. package/dist/config/abi/types/factories/JungleChef__factory.d.ts +247 -0
  257. package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +1560 -0
  258. package/dist/config/abi/types/factories/LensContract__factory.d.ts +254 -0
  259. package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +1698 -0
  260. package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +1268 -0
  261. package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +262 -0
  262. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +448 -0
  263. package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +115 -0
  264. package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +76 -0
  265. package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +617 -0
  266. package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +576 -0
  267. package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +1105 -0
  268. package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +1027 -0
  269. package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +999 -0
  270. package/dist/config/abi/types/factories/SousChef__factory.d.ts +511 -0
  271. package/dist/config/abi/types/factories/Treasury__factory.d.ts +235 -0
  272. package/dist/config/abi/types/factories/Weth__factory.d.ts +220 -0
  273. package/dist/config/abi/types/factories/Zap__factory.d.ts +695 -0
  274. package/dist/config/abi/types/factories/index.d.ts +25 -0
  275. package/dist/config/abi/types/index.d.ts +51 -0
  276. package/dist/config/constants/addresses.d.ts +12 -0
  277. package/dist/config/constants/api.d.ts +6 -0
  278. package/dist/config/constants/chains.d.ts +48 -0
  279. package/dist/config/constants/lifiRouting.d.ts +2 -0
  280. package/dist/config/constants/lists.d.ts +10 -0
  281. package/dist/config/constants/meta.d.ts +11 -0
  282. package/dist/config/constants/misc.d.ts +3 -0
  283. package/dist/config/constants/networks.d.ts +2 -0
  284. package/dist/config/constants/products.d.ts +21 -0
  285. package/dist/config/constants/queryKeys.d.ts +32 -0
  286. package/dist/config/constants/tokens.d.ts +3 -0
  287. package/dist/config/constants/tooltips.d.ts +13 -0
  288. package/dist/config/constants/tutorials.d.ts +7 -0
  289. package/dist/config/constants/zapInputTokens.d.ts +2 -0
  290. package/dist/config/localization/languages.d.ts +11 -0
  291. package/dist/contexts/Localization/Provider.d.ts +7 -0
  292. package/dist/contexts/Localization/helpers.d.ts +3 -0
  293. package/dist/contexts/Localization/index.d.ts +3 -0
  294. package/dist/contexts/Localization/types.d.ts +21 -0
  295. package/dist/contexts/Localization/useTranslation.d.ts +2 -0
  296. package/dist/contexts/ModalContext.d.ts +14 -0
  297. package/dist/contexts/RefreshContext.d.ts +10 -0
  298. package/dist/hooks/useCookie.d.ts +9 -0
  299. package/dist/hooks/useIsAbond.d.ts +3 -0
  300. package/dist/hooks/useModal.d.ts +3 -0
  301. package/dist/hooks/usePendingVesting.d.ts +5 -0
  302. package/dist/hooks/useRefresh.d.ts +6 -0
  303. package/dist/hooks/useTimer.d.ts +2 -0
  304. package/dist/hooks/useTokenFromZapList.d.ts +3 -0
  305. package/dist/hooks/useTopThreeTags.d.ts +2 -0
  306. package/dist/main.d.ts +7 -0
  307. package/dist/main.js +73484 -0
  308. package/dist/providers/index.d.ts +5 -0
  309. package/dist/scss/AccordionText.scss +11 -0
  310. package/dist/scss/BondMenu.scss +29 -0
  311. package/dist/scss/BondModal.scss +498 -0
  312. package/dist/scss/BondRow.scss +98 -0
  313. package/dist/scss/BondRowHeader.scss +124 -0
  314. package/dist/scss/BondRowsByChain.scss +5 -0
  315. package/dist/scss/BondRowsWithTitle.scss +4 -0
  316. package/dist/scss/Bonds.scss +18 -0
  317. package/dist/scss/ProgressBar.scss +13 -0
  318. package/dist/scss/TokenInfoName.scss +60 -0
  319. package/dist/scss/YourBonds.scss +203 -0
  320. package/dist/scss/YourBondsModal.scss +314 -0
  321. package/dist/scss/index.scss +12 -0
  322. package/dist/state/allowance/useAllowance.d.ts +15 -0
  323. package/dist/state/balance/useCurrencyBalance.d.ts +4 -0
  324. package/dist/state/bonds/useBondNFTData.d.ts +5 -0
  325. package/dist/state/bonds/useBondsData.d.ts +4 -0
  326. package/dist/state/bonds/useBondsList.d.ts +4 -0
  327. package/dist/state/bonds/useHotBonds.d.ts +3 -0
  328. package/dist/state/bonds/useUserBonds.d.ts +5 -0
  329. package/dist/state/price/useCurrencyPrice.d.ts +3 -0
  330. package/dist/state/slippage/useSlippage.d.ts +1 -0
  331. package/dist/state/tokenPrices/useTokenPrices.d.ts +29 -0
  332. package/dist/state/zap/getChainParam.d.ts +12 -0
  333. package/dist/state/zap/useSoulZapBondQuote.d.ts +4 -0
  334. package/dist/state/zap/useSoulZapTokenQuote.d.ts +3 -0
  335. package/dist/theme/base.d.ts +103 -0
  336. package/dist/theme/colors.d.ts +89 -0
  337. package/dist/theme/components.d.ts +439 -0
  338. package/dist/theme/display.d.ts +2 -0
  339. package/dist/theme/index.d.ts +2 -0
  340. package/dist/theme/types.d.ts +10 -0
  341. package/dist/types/bonds.d.ts +30 -0
  342. package/dist/types/yourbonds.d.ts +78 -0
  343. package/dist/utils/convertToTokenValue.d.ts +4 -0
  344. package/dist/utils/displayHelpers.d.ts +13 -0
  345. package/dist/utils/formatNumber.d.ts +2 -0
  346. package/dist/utils/formatNumbers.d.ts +36 -0
  347. package/dist/utils/getBalanceNumber.d.ts +4 -0
  348. package/dist/utils/getNativeTicker.d.ts +3 -0
  349. package/dist/utils/getTimePeriods.d.ts +14 -0
  350. package/dist/utils/index.d.ts +16 -0
  351. package/dist/utils/localStorageHelpers.d.ts +3 -0
  352. package/dist/utils/multicall.d.ts +7 -0
  353. package/dist/utils/numbers.d.ts +5 -0
  354. package/dist/utils/roundNumber.d.ts +7 -0
  355. package/dist/utils/track.d.ts +7 -0
  356. package/dist/views/BondModal/BondModal.d.ts +14 -0
  357. package/dist/views/BondModal/helper.d.ts +10 -0
  358. package/dist/views/BondModal/index.d.ts +4 -0
  359. package/dist/views/Bonds/Bonds.d.ts +15 -0
  360. package/dist/views/Bonds/components/CheckURL/index.d.ts +4 -0
  361. package/dist/views/Bonds/index.d.ts +4 -0
  362. package/dist/views/Bonds/utils.d.ts +14 -0
  363. package/dist/views/FullBondsView/FullBondsView.d.ts +7 -0
  364. package/dist/views/FullBondsView/index.d.ts +3 -0
  365. package/dist/views/YourBonds/YourBonds.d.ts +5 -0
  366. package/dist/views/YourBonds/components/UserBondRow/index.d.ts +6 -0
  367. package/dist/views/YourBonds/fetchBillsUser.d.ts +16 -0
  368. package/dist/views/YourBonds/getBillNftData.d.ts +9 -0
  369. package/dist/views/YourBonds/index.d.ts +3 -0
  370. package/dist/views/YourBondsModal/YourBondsModal.d.ts +9 -0
  371. package/dist/views/YourBondsModal/styles.d.ts +2 -0
  372. package/dist/views/ZapModal/index.d.ts +14 -0
  373. package/dist/views/ZapModal/styles.d.ts +2 -0
  374. package/package.json +61 -48
package/README.md CHANGED
@@ -1 +1,46 @@
1
- Bonds-SDK
1
+ # Getting Started with Create React App
2
+
3
+ This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4
+
5
+ ## Available Scripts
6
+
7
+ In the project directory, you can run:
8
+
9
+ ### `npm start`
10
+
11
+ Runs the app in the development mode.\
12
+ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13
+
14
+ The page will reload if you make edits.\
15
+ You will also see any lint errors in the console.
16
+
17
+ ### `npm test`
18
+
19
+ Launches the test runner in the interactive watch mode.\
20
+ See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21
+
22
+ ### `npm run build`
23
+
24
+ Builds the app for production to the `build` folder.\
25
+ It correctly bundles React in production mode and optimizes the build for the best performance.
26
+
27
+ The build is minified and the filenames include the hashes.\
28
+ Your app is ready to be deployed!
29
+
30
+ See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31
+
32
+ ### `npm run eject`
33
+
34
+ **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35
+
36
+ If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37
+
38
+ Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
39
+
40
+ You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
41
+
42
+ ## Learn More
43
+
44
+ You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45
+
46
+ To learn React, check out the [React documentation](https://reactjs.org/).
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import '../../scss/AccordionText.scss';
3
+ interface AccordionTextProps {
4
+ title?: string;
5
+ body?: string;
6
+ isVisible?: boolean;
7
+ }
8
+ declare const AccordionText: React.FC<AccordionTextProps>;
9
+ export default AccordionText;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import '../../scss/BondMenu.scss';
3
+ interface BondMenuProps {
4
+ setChainFilterOption: (newValue: string[]) => void;
5
+ chainFilterOption: string[];
6
+ filterOptions: string[];
7
+ filterOption: string;
8
+ setFilterOption: (newOption: string) => void;
9
+ onHandleQueryChange: (value: string) => void;
10
+ }
11
+ declare const BondMenu: React.FC<BondMenuProps>;
12
+ export default BondMenu;
@@ -0,0 +1,4 @@
1
+ export default function useChainFilterOption(): {
2
+ data: string[];
3
+ setChainFilterOption: (newValue: string[]) => void;
4
+ };
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { BondsData } from '../../types/bonds';
3
+ import '../../scss/BondRow.scss';
4
+ interface BondRowProps {
5
+ key: string;
6
+ bond: BondsData;
7
+ hotBonds?: string[];
8
+ modalVariant?: 'standard' | 'alt';
9
+ }
10
+ declare const BondRow: React.FC<BondRowProps>;
11
+ export default BondRow;
@@ -0,0 +1,15 @@
1
+ /** @jsxImportSource theme-ui */
2
+ import React from 'react';
3
+ import '../../scss/BondRowHeader.scss';
4
+ interface BondRowHeaderProps {
5
+ searchQuery: string;
6
+ setSearchQuery: (value: string) => void;
7
+ setChainFilterOption: (newValue: string[]) => void;
8
+ chainFilterOption: string[];
9
+ filterOptions: string[];
10
+ filterOption: string;
11
+ setFilterOption: (newOption: string) => void;
12
+ onSort: (key: 'discount' | 'arr' | 'terms' | 'tokensRemaining') => void;
13
+ }
14
+ declare const BondRowHeader: React.FC<BondRowHeaderProps>;
15
+ export default BondRowHeader;
@@ -0,0 +1,11 @@
1
+ import { BondsData } from '../../types/bonds';
2
+ import '../../scss/BondRowsByChain.scss';
3
+ export interface BondRowsByChainProps {
4
+ bonds: BondsData[];
5
+ hotBonds?: string[];
6
+ hideTitles: boolean;
7
+ chains?: number[];
8
+ modalVariant?: 'standard' | 'alt';
9
+ }
10
+ declare const BondRowsByChain: React.FC<BondRowsByChainProps>;
11
+ export default BondRowsByChain;
@@ -0,0 +1,11 @@
1
+ import { BondsData } from '../../types/bonds';
2
+ import '../../scss/BondRowsWithTitle.scss';
3
+ export interface BondRowsWithTitleProps {
4
+ chain: number;
5
+ bonds: BondsData[];
6
+ hotBonds?: string[];
7
+ hideTitles: boolean;
8
+ modalVariant?: 'standard' | 'alt';
9
+ }
10
+ declare const BondRowsWithTitle: React.FC<BondRowsWithTitleProps>;
11
+ export default BondRowsWithTitle;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ declare const ChainTitle: ({ chain, pt, hideTitles, isOpen, }: {
3
+ chain: number;
4
+ pt: string;
5
+ hideTitles?: boolean;
6
+ isOpen: boolean;
7
+ }) => React.JSX.Element;
8
+ export default ChainTitle;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const DisconnectedPlaceholder: () => React.JSX.Element;
3
+ export default DisconnectedPlaceholder;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Option } from './types';
3
+ declare const MenuSelect: ({ selectedOption, setOption, options, ...props }: {
4
+ selectedOption: string;
5
+ setOption: (option: string) => void;
6
+ options: Option[] | undefined;
7
+ } | any) => React.JSX.Element;
8
+ export default MenuSelect;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare const RecommendationSelector: ({ options, activeOption, setActiveOption, }: {
3
+ options: string[];
4
+ activeOption: string;
5
+ setActiveOption: (activeOption: string) => void;
6
+ }) => React.JSX.Element;
7
+ export default RecommendationSelector;
@@ -0,0 +1,22 @@
1
+ import React, { Dispatch, SetStateAction } from 'react';
2
+ export interface ListMenuProps {
3
+ onHandleQueryChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
4
+ setFilterOption?: Dispatch<SetStateAction<string>>;
5
+ setIsActive: Dispatch<SetStateAction<boolean>>;
6
+ filterOption?: string;
7
+ setSortOption: Dispatch<SetStateAction<string>>;
8
+ sortOption?: string;
9
+ query: string;
10
+ checkboxLabel: string;
11
+ showOnlyCheckbox: boolean;
12
+ setShowOnlyCheckbox: (value: boolean) => void;
13
+ toogleLabels: string[];
14
+ filterOptions?: Option[];
15
+ sortOptions?: Option[];
16
+ actionButton?: React.ReactNode;
17
+ showMonkeyImage?: boolean;
18
+ }
19
+ export type Option = {
20
+ label: string;
21
+ value: string;
22
+ };
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const NetworkFilter: ({ chainFilterOption, setChainFilterOption, }: {
3
+ chainFilterOption: string[];
4
+ setChainFilterOption: (newValue: string[]) => void;
5
+ }) => React.JSX.Element;
6
+ export default NetworkFilter;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import '../../scss/ProgressBar.scss';
3
+ interface ProgressBarProps {
4
+ value: number;
5
+ color?: string;
6
+ }
7
+ declare const ProgressBar: React.FC<ProgressBarProps>;
8
+ export default ProgressBar;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { ThemeUIStyleObject } from 'theme-ui';
3
+ export interface ProgressBarWrapperProps {
4
+ title?: string;
5
+ value?: React.ReactNode;
6
+ value2Direction?: 'column' | 'row';
7
+ toolTip?: string;
8
+ toolTipPlacement?: 'topLeft' | 'topRight' | 'bottomRight' | 'bottomLeft';
9
+ toolTipTransform?: string;
10
+ style?: ThemeUIStyleObject;
11
+ showTooltip?: boolean;
12
+ }
13
+ declare const _default: React.NamedExoticComponent<ProgressBarWrapperProps>;
14
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { ThemeUIStyleObject } from 'theme-ui';
2
+ export declare const styles: Record<'listCardContainer' | 'listViewContainer' | 'titleContainer' | 'infoContentMobile' | 'tokensContainer' | 'titleText' | 'skeleton' | 'valueText' | 'secondaryText' | 'cardContentContainer' | 'animationDiv' | 'expandedWrapper', ThemeUIStyleObject>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const SlippageModal: () => React.JSX.Element;
3
+ export default SlippageModal;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { BondsData } from '../../types/bonds';
3
+ import '../../scss/TokenInfoName.scss';
4
+ export declare const NETWORK_COLORS: Partial<Record<number, string>>;
5
+ declare const TokenInfoAndName: ({ bill, vestEnds }: {
6
+ bill: BondsData;
7
+ vestEnds?: string;
8
+ }) => React.JSX.Element;
9
+ export default TokenInfoAndName;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ChainId, Token } from '@ape.swap/apeswap-lists';
3
+ declare const TokenRow: ({ token, chainId, handleTokenSelect, }: {
4
+ token: "NATIVE" | Token;
5
+ chainId: ChainId;
6
+ handleTokenSelect: (currency: string) => void;
7
+ }) => React.JSX.Element;
8
+ export default TokenRow;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { ChainId } from '@ape.swap/apeswap-lists';
3
+ import { Token } from '@ape.swap/apeswap-lists';
4
+ interface TokenSelectorModalProps {
5
+ bondPrincipalToken?: Token;
6
+ handleCurrencySelect: (currency: string) => void;
7
+ chainId: ChainId;
8
+ onDismiss?: () => void;
9
+ }
10
+ declare const TokenSelectorModal: React.FC<TokenSelectorModalProps>;
11
+ export default TokenSelectorModal;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ChainId, Token } from '@ape.swap/apeswap-lists';
3
+ declare const TokenSelectorPanel: ({ typedValue, setTypedValue, selectedToken, chainId, handleMaxBtn, handleCurrencySelect, enableZap, bondPrincipalToken, tokenBalance, selectedTokenPrice, }: {
4
+ typedValue: string;
5
+ setTypedValue: (value: React.SetStateAction<string>) => void;
6
+ selectedToken?: "NATIVE" | Token;
7
+ chainId: ChainId;
8
+ handleMaxBtn: () => void;
9
+ handleCurrencySelect: (value: string) => void;
10
+ enableZap?: boolean;
11
+ bondPrincipalToken?: Token;
12
+ tokenBalance?: string;
13
+ selectedTokenPrice?: number;
14
+ }) => React.JSX.Element;
15
+ export default TokenSelectorPanel;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ declare const ButtonsRow: React.FC<{
3
+ projectLink: string;
4
+ twitter: string;
5
+ bubble?: string;
6
+ audit?: string;
7
+ }>;
8
+ export default ButtonsRow;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export interface TooltipProps {
3
+ valueTitle?: string;
4
+ valueContent?: string;
5
+ value2Title?: string;
6
+ value2Content?: string;
7
+ tokenContract: string;
8
+ secondURL?: string;
9
+ secondURLTitle?: string;
10
+ projectLink?: string;
11
+ twitter?: string;
12
+ audit?: string;
13
+ thirdURL?: string;
14
+ thirdURLTitle?: string;
15
+ chain: number;
16
+ }
17
+ declare const Tooltip: React.FunctionComponent<TooltipProps>;
18
+ export default Tooltip;
@@ -0,0 +1,2 @@
1
+ import { ThemeUIStyleObject } from 'theme-ui';
2
+ export declare const styles: Record<'infoRow' | 'linkRow' | 'titleText' | 'contentText' | 'iconButton' | 'link', ThemeUIStyleObject>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ButtonProps } from './types';
3
+ declare const Button: ({ variant, size, load, children, startIcon, endIcon, fullWidth, disabled, ...props }: ButtonProps) => React.JSX.Element;
4
+ export default Button;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconButtonProps } from './types';
3
+ declare const IconButton: React.FC<IconButtonProps>;
4
+ export default IconButton;
@@ -0,0 +1,2 @@
1
+ export { default as Button } from './Button';
2
+ export { default as IconButton } from './IconButton';
@@ -0,0 +1,3 @@
1
+ import { ThemeUIStyleObject } from 'theme-ui';
2
+ declare const styles: Record<string, ThemeUIStyleObject>;
3
+ export default styles;
@@ -0,0 +1,46 @@
1
+ import { ReactNode } from 'react';
2
+ import { ButtonProps as ThemeUIButtonProps } from 'theme-ui';
3
+ import { iconTypes } from '../Svg/types';
4
+ export declare enum sizes {
5
+ SMALL = "sm",
6
+ MEDIUM = "md",
7
+ LARGE = "lg"
8
+ }
9
+ export declare const buttonFontSizes: Record<sizes | any, string>;
10
+ export declare const buttonLineHeight: Record<sizes | any, string>;
11
+ export declare const buttonPadding: Record<sizes | any, {
12
+ x: number;
13
+ y: number;
14
+ }>;
15
+ export declare enum variants {
16
+ PRIMARY = "primary",
17
+ SECONDARY = "secondary",
18
+ TERTIARY = "tertiary",
19
+ TEXT = "text",
20
+ SUCCESS = "success",
21
+ DANGER = "danger"
22
+ }
23
+ export declare enum iconButtonVariants {
24
+ PRIMARY = "primary",
25
+ TRANSPARENT = "transparent",
26
+ CIRCULAR = "circular"
27
+ }
28
+ export type sizeProps = `${sizes}`;
29
+ export type variantProps = `${variants}`;
30
+ export type iconButtonVariantsProps = `${iconButtonVariants}`;
31
+ export interface ButtonProps extends Omit<ThemeUIButtonProps, 'sx'> {
32
+ variant?: variantProps;
33
+ size?: sizeProps;
34
+ startIcon?: ReactNode;
35
+ endIcon?: ReactNode;
36
+ fullWidth?: boolean;
37
+ load?: boolean;
38
+ [key: string]: any;
39
+ }
40
+ export interface IconButtonProps extends Omit<ButtonProps, 'variant'> {
41
+ variant?: iconButtonVariantsProps;
42
+ color?: string;
43
+ background?: string;
44
+ icon?: iconTypes;
45
+ iconWidth?: number;
46
+ }
@@ -0,0 +1,3 @@
1
+ import { CheckboxProps } from './types';
2
+ declare const Checkbox: ({ scale, display, className, background, ...props }: CheckboxProps | any) => import("react").JSX.Element;
3
+ export default Checkbox;
@@ -0,0 +1,11 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { ThemeUICSSObject } from 'theme-ui';
3
+ export declare enum scales {
4
+ SM = "sm",
5
+ MD = "md"
6
+ }
7
+ export type scaleProps = `${scales}`;
8
+ export interface CheckboxProps extends InputHTMLAttributes<HTMLInputElement> {
9
+ scale?: scaleProps;
10
+ display?: ThemeUICSSObject['display'];
11
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const Flex: ({ children, ...props }: {
3
+ children: React.ReactNode;
4
+ } | any) => React.JSX.Element;
5
+ export default Flex;
@@ -0,0 +1,9 @@
1
+ type variant = 'search' | 'password' | 'text';
2
+ type inputStatus = 'default' | 'error' | 'success';
3
+ declare const Input: ({ variant, width, status, isLoading, ...props }: {
4
+ variant?: variant;
5
+ width?: string[];
6
+ status?: inputStatus;
7
+ isLoading?: boolean;
8
+ } | any) => import("react").JSX.Element;
9
+ export default Input;
@@ -0,0 +1,9 @@
1
+ import { ThemeUIStyleObject } from 'theme-ui';
2
+ declare const NumericInput: ({ onUserInput, value, disabled, style, placeholder, }: {
3
+ onUserInput?: (input: string) => void;
4
+ value: string;
5
+ disabled?: boolean;
6
+ style?: ThemeUIStyleObject;
7
+ placeholder?: string;
8
+ }) => import("react").JSX.Element;
9
+ export default NumericInput;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface InputProps {
3
+ endAdornment?: React.ReactNode;
4
+ onChange: (e: React.FormEvent<HTMLInputElement>) => void;
5
+ placeholder?: string;
6
+ startAdornment?: React.ReactNode;
7
+ value: string;
8
+ height?: string;
9
+ }
10
+ declare const StyledInput: React.FC<InputProps>;
11
+ export default StyledInput;
@@ -0,0 +1,3 @@
1
+ export { default as NumericInput } from './NumericInput';
2
+ export { default as Input } from './Input';
3
+ export { default as StyledInput } from './StyledInput';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { InternalProps } from './types';
3
+ declare const ModalFooter: ({ children, onDismiss, t }: InternalProps) => React.JSX.Element;
4
+ export default ModalFooter;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { InternalProps } from './types';
3
+ declare const ModalHeader: React.FC<InternalProps>;
4
+ export default ModalHeader;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ModalProps } from './types';
3
+ declare const Modal: ({ children, onDismiss, open, title, zIndex, onAnimationComplete, backdrop, ...props }: ModalProps | any) => React.JSX.Element;
4
+ export default Modal;
@@ -0,0 +1,3 @@
1
+ import { ThemeUIStyleObject } from 'theme-ui';
2
+ declare const styles: Record<string, ThemeUIStyleObject>;
3
+ export default styles;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { ThemeUIStyleObject, SxProp } from 'theme-ui';
3
+ export interface InternalProps {
4
+ children?: React.ReactNode;
5
+ onDismiss?: () => void;
6
+ onAnimationComplete?: () => void;
7
+ t?: (key: string) => string;
8
+ hideDivider?: boolean;
9
+ }
10
+ export interface ModalProps extends InternalProps {
11
+ children: React.ReactNode;
12
+ open?: boolean;
13
+ title?: string;
14
+ zIndex?: string | number;
15
+ sx?: ThemeUIStyleObject;
16
+ backdrop?: SxProp['sx'];
17
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SelectProps } from './types';
3
+ declare const Select: ({ children, active, width, size, position, className, label, ...props }: SelectProps) => React.JSX.Element;
4
+ export default Select;
@@ -0,0 +1,3 @@
1
+ import { SelectItemProps } from './types';
2
+ declare const SelectItem: ({ onClick, value, active, size, children, ...props }: SelectItemProps) => import("react").JSX.Element;
3
+ export default SelectItem;
@@ -0,0 +1,2 @@
1
+ export { default as Select } from './Select';
2
+ export { default as SelectItem } from './SelectItem';
@@ -0,0 +1,4 @@
1
+ import { ThemeUIStyleObject } from 'theme-ui';
2
+ declare const styles: Record<'container' | 'ul' | 'backdrop' | 'input', ThemeUIStyleObject>;
3
+ export declare const dynamicStyles: Record<string, (props: any) => ThemeUIStyleObject>;
4
+ export default styles;
@@ -0,0 +1,55 @@
1
+ import React, { InputHTMLAttributes } from 'react';
2
+ export declare enum positions {
3
+ TOP = "top",
4
+ BOTTOM = "bottom"
5
+ }
6
+ export declare enum sizes {
7
+ XSMALL = "xsm",
8
+ SMALL = "sm",
9
+ MEDIUM = "md",
10
+ LARGE = "lg"
11
+ }
12
+ export declare const fontSizes: {
13
+ xsm: number;
14
+ sm: number;
15
+ md: number;
16
+ lg: number;
17
+ };
18
+ export declare const selectPadding: {
19
+ xsm: number;
20
+ sm: number;
21
+ md: number;
22
+ lg: number;
23
+ };
24
+ export declare const selectedExtraPadding: {
25
+ xsm: number;
26
+ sm: number;
27
+ md: number;
28
+ lg: number;
29
+ };
30
+ export declare const selectItemPadding: {
31
+ xsm: number;
32
+ sm: number;
33
+ md: number;
34
+ lg: number;
35
+ };
36
+ type sizeProps = `${sizes}`;
37
+ type positionProps = `${positions}`;
38
+ export interface SelectProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
39
+ active?: number | string;
40
+ size?: sizeProps;
41
+ width?: string | number;
42
+ label?: JSX.Element;
43
+ position?: positionProps;
44
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
45
+ }
46
+ export interface SelectItemProps {
47
+ children: React.ReactNode;
48
+ onClick?: (value: number | string) => void;
49
+ url?: string;
50
+ active?: boolean;
51
+ size?: sizeProps;
52
+ value: number | string;
53
+ sx?: any;
54
+ }
55
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SkeletonProps } from './types';
3
+ declare const Skeleton: ({ variant, animation, ...props }: SkeletonProps | any) => React.JSX.Element;
4
+ export default Skeleton;
@@ -0,0 +1,5 @@
1
+ import { ThemeUIStyleObject } from 'theme-ui';
2
+ export declare const waves: import("@emotion/react").Keyframes;
3
+ export declare const pulse: import("@emotion/react").Keyframes;
4
+ declare const styles: Record<string, ThemeUIStyleObject>;
5
+ export default styles;
@@ -0,0 +1,18 @@
1
+ import { BoxProps } from 'theme-ui';
2
+ export declare enum animation {
3
+ WAVES = "waves",
4
+ PULSE = "pulse"
5
+ }
6
+ export declare enum variant {
7
+ RECT = "rect",
8
+ CIRCLE = "circle"
9
+ }
10
+ type Animation = `${animation}`;
11
+ type Variant = `${variant}`;
12
+ export interface SkeletonProps extends BoxProps {
13
+ animation?: Animation;
14
+ variant?: Variant;
15
+ width?: string | number;
16
+ height?: string | number;
17
+ }
18
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from './types';
3
+ declare const AbondFullLogo: React.FC<SvgProps>;
4
+ export default AbondFullLogo;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from './types';
3
+ declare const AbondSmallLogo: React.FC<SvgProps>;
4
+ export default AbondSmallLogo;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from './types';
3
+ declare const AccountMonkey: React.FC<SvgProps>;
4
+ export default AccountMonkey;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from './types';
3
+ declare const AllChains: React.FC<SvgProps>;
4
+ export default AllChains;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from './types';
3
+ declare const ApebondLogo: React.FC<SvgProps>;
4
+ export default ApebondLogo;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from './types';
3
+ declare const ApeswapSmallLogo: React.FC<SvgProps>;
4
+ export default ApeswapSmallLogo;