@ape.swap/bonds-sdk 1.0.778 → 1.0.779

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 (279) hide show
  1. package/dist/components/BondMenu/BondMenu.js +2 -13
  2. package/dist/components/BondRows/BondRow.d.ts +0 -1
  3. package/dist/components/BondRows/BondRow.js +2 -13
  4. package/dist/components/BondRows/BondRowHeader.js +1 -12
  5. package/dist/components/BondRows/BondRowsByChain.d.ts +2 -3
  6. package/dist/components/BondRows/BondRowsByChain.js +2 -13
  7. package/dist/components/BondRows/BondRowsWithTitle.d.ts +1 -2
  8. package/dist/components/BondRows/BondRowsWithTitle.js +2 -13
  9. package/dist/components/BondRows/ChainTitle.d.ts +1 -1
  10. package/dist/components/BondRows/ChainTitle.js +2 -13
  11. package/dist/components/MenuSelect/MenuSelect.d.ts +5 -1
  12. package/dist/components/MenuSelect/MenuSelect.js +1 -1
  13. package/dist/components/MenuSelect/RecommendationSelector.js +5 -16
  14. package/dist/components/NetworkFilter/index.js +6 -17
  15. package/dist/components/ProgressBar/ProgressBar.js +2 -13
  16. package/dist/components/ProgressBar/ProgressBarWrapper.js +1 -12
  17. package/dist/components/TokenInfoAndName/index.d.ts +1 -1
  18. package/dist/components/TokenInfoAndName/index.js +6 -17
  19. package/dist/components/Tooltip/ButtonsRow.js +1 -1
  20. package/dist/components/Tooltip/Tooltip.js +1 -12
  21. package/dist/components/uikit-sdk/Button/IconButton.js +1 -1
  22. package/dist/components/uikit-sdk/Checkbox/index.d.ts +0 -1
  23. package/dist/components/uikit-sdk/Checkbox/index.js +2 -2
  24. package/dist/components/uikit-sdk/Flex/index.d.ts +3 -1
  25. package/dist/components/uikit-sdk/Input/Input.d.ts +7 -2
  26. package/dist/components/uikit-sdk/Input/Input.js +5 -5
  27. package/dist/components/uikit-sdk/Input/NumericInput.d.ts +4 -5
  28. package/dist/components/uikit-sdk/Input/StyledInput.js +1 -12
  29. package/dist/components/uikit-sdk/Modal/ModalFooter.d.ts +4 -0
  30. package/dist/components/uikit-sdk/Modal/ModalFooter.js +21 -0
  31. package/dist/components/uikit-sdk/Modal/ModalHeader.d.ts +4 -0
  32. package/dist/components/uikit-sdk/Modal/ModalHeader.js +31 -0
  33. package/dist/components/uikit-sdk/Modal/index.d.ts +4 -0
  34. package/dist/components/uikit-sdk/Modal/index.js +46 -0
  35. package/dist/components/uikit-sdk/Modal/styles.d.ts +3 -0
  36. package/dist/components/uikit-sdk/Modal/styles.js +62 -0
  37. package/dist/components/uikit-sdk/Modal/types.d.ts +17 -0
  38. package/dist/components/uikit-sdk/Modal/types.js +1 -0
  39. package/dist/components/uikit-sdk/Select/Select.js +4 -4
  40. package/dist/components/uikit-sdk/Select/SelectItem.d.ts +0 -1
  41. package/dist/components/uikit-sdk/Select/SelectItem.js +1 -1
  42. package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.js +1 -12
  43. package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.js +1 -12
  44. package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.js +1 -12
  45. package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +1 -12
  46. package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.js +1 -12
  47. package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.js +1 -12
  48. package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +1 -12
  49. package/dist/components/uikit-sdk/Svg/Icons/Audit.js +1 -12
  50. package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.js +1 -12
  51. package/dist/components/uikit-sdk/Svg/Icons/BillsM1.js +1 -12
  52. package/dist/components/uikit-sdk/Svg/Icons/BillsM2.js +1 -12
  53. package/dist/components/uikit-sdk/Svg/Icons/BillsM3.js +1 -12
  54. package/dist/components/uikit-sdk/Svg/Icons/Bridge.js +1 -12
  55. package/dist/components/uikit-sdk/Svg/Icons/Bubble.js +1 -12
  56. package/dist/components/uikit-sdk/Svg/Icons/Calculator.js +1 -12
  57. package/dist/components/uikit-sdk/Svg/Icons/Calendar.js +1 -12
  58. package/dist/components/uikit-sdk/Svg/Icons/Cancelled.js +1 -12
  59. package/dist/components/uikit-sdk/Svg/Icons/Card.js +1 -12
  60. package/dist/components/uikit-sdk/Svg/Icons/Caret.js +1 -12
  61. package/dist/components/uikit-sdk/Svg/Icons/Chain.js +1 -12
  62. package/dist/components/uikit-sdk/Svg/Icons/Chart.js +1 -12
  63. package/dist/components/uikit-sdk/Svg/Icons/Chat.js +1 -12
  64. package/dist/components/uikit-sdk/Svg/Icons/Close.js +1 -12
  65. package/dist/components/uikit-sdk/Svg/Icons/Cog.d.ts +0 -1
  66. package/dist/components/uikit-sdk/Svg/Icons/Cog.js +1 -12
  67. package/dist/components/uikit-sdk/Svg/Icons/Collapse.js +1 -12
  68. package/dist/components/uikit-sdk/Svg/Icons/Copy.js +1 -12
  69. package/dist/components/uikit-sdk/Svg/Icons/Discord.js +1 -12
  70. package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.js +1 -12
  71. package/dist/components/uikit-sdk/Svg/Icons/Docs.js +1 -12
  72. package/dist/components/uikit-sdk/Svg/Icons/DocsV2.js +1 -12
  73. package/dist/components/uikit-sdk/Svg/Icons/Ellipse.js +1 -12
  74. package/dist/components/uikit-sdk/Svg/Icons/Error.js +1 -12
  75. package/dist/components/uikit-sdk/Svg/Icons/Expand.js +1 -12
  76. package/dist/components/uikit-sdk/Svg/Icons/Explorer.js +1 -12
  77. package/dist/components/uikit-sdk/Svg/Icons/External.js +1 -12
  78. package/dist/components/uikit-sdk/Svg/Icons/Farm.js +1 -12
  79. package/dist/components/uikit-sdk/Svg/Icons/Fav.js +1 -12
  80. package/dist/components/uikit-sdk/Svg/Icons/FilledURL.js +1 -12
  81. package/dist/components/uikit-sdk/Svg/Icons/Fire.js +1 -12
  82. package/dist/components/uikit-sdk/Svg/Icons/Frame.js +1 -12
  83. package/dist/components/uikit-sdk/Svg/Icons/FullLogo.js +1 -12
  84. package/dist/components/uikit-sdk/Svg/Icons/Gnana.js +1 -12
  85. package/dist/components/uikit-sdk/Svg/Icons/GreenShield.d.ts +0 -1
  86. package/dist/components/uikit-sdk/Svg/Icons/GreenShield.js +1 -12
  87. package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +1 -12
  88. package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.js +1 -12
  89. package/dist/components/uikit-sdk/Svg/Icons/Home.js +1 -12
  90. package/dist/components/uikit-sdk/Svg/Icons/Hot.js +1 -12
  91. package/dist/components/uikit-sdk/Svg/Icons/Info.js +1 -12
  92. package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.js +1 -12
  93. package/dist/components/uikit-sdk/Svg/Icons/Insight.js +1 -12
  94. package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +1 -12
  95. package/dist/components/uikit-sdk/Svg/Icons/Island.js +1 -12
  96. package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.js +1 -12
  97. package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +1 -12
  98. package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.js +1 -12
  99. package/dist/components/uikit-sdk/Svg/Icons/Logout.js +1 -12
  100. package/dist/components/uikit-sdk/Svg/Icons/Medium.js +1 -12
  101. package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.js +1 -12
  102. package/dist/components/uikit-sdk/Svg/Icons/Message.js +1 -12
  103. package/dist/components/uikit-sdk/Svg/Icons/Migrate.js +1 -12
  104. package/dist/components/uikit-sdk/Svg/Icons/Moon.js +1 -12
  105. package/dist/components/uikit-sdk/Svg/Icons/More.js +1 -12
  106. package/dist/components/uikit-sdk/Svg/Icons/NFA.js +1 -12
  107. package/dist/components/uikit-sdk/Svg/Icons/NavCaret.js +1 -12
  108. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.d.ts +0 -1
  109. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +1 -12
  110. package/dist/components/uikit-sdk/Svg/Icons/Play.js +1 -12
  111. package/dist/components/uikit-sdk/Svg/Icons/Pool.js +1 -12
  112. package/dist/components/uikit-sdk/Svg/Icons/Positions.js +1 -12
  113. package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.js +1 -12
  114. package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.js +1 -12
  115. package/dist/components/uikit-sdk/Svg/Icons/Question.js +1 -12
  116. package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +1 -12
  117. package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.js +1 -12
  118. package/dist/components/uikit-sdk/Svg/Icons/Quiz.js +1 -12
  119. package/dist/components/uikit-sdk/Svg/Icons/Receipt.js +1 -12
  120. package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +1 -12
  121. package/dist/components/uikit-sdk/Svg/Icons/Rocket.js +1 -12
  122. package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.js +1 -12
  123. package/dist/components/uikit-sdk/Svg/Icons/Search.js +1 -12
  124. package/dist/components/uikit-sdk/Svg/Icons/Send.js +1 -12
  125. package/dist/components/uikit-sdk/Svg/Icons/Settings.js +1 -12
  126. package/dist/components/uikit-sdk/Svg/Icons/Share.js +1 -12
  127. package/dist/components/uikit-sdk/Svg/Icons/Sort.js +1 -12
  128. package/dist/components/uikit-sdk/Svg/Icons/Success.js +1 -12
  129. package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.js +1 -12
  130. package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.js +1 -12
  131. package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.d.ts +0 -1
  132. package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.js +1 -12
  133. package/dist/components/uikit-sdk/Svg/Icons/Tag.js +1 -12
  134. package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +1 -12
  135. package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.js +1 -12
  136. package/dist/components/uikit-sdk/Svg/Icons/TextLogo.js +1 -12
  137. package/dist/components/uikit-sdk/Svg/Icons/TickShield.js +1 -12
  138. package/dist/components/uikit-sdk/Svg/Icons/Trade.js +1 -12
  139. package/dist/components/uikit-sdk/Svg/Icons/Trash.js +1 -12
  140. package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +1 -12
  141. package/dist/components/uikit-sdk/Svg/Icons/URL.js +1 -12
  142. package/dist/components/uikit-sdk/Svg/Icons/Vaults.js +1 -12
  143. package/dist/components/uikit-sdk/Svg/Icons/Verified.js +1 -12
  144. package/dist/components/uikit-sdk/Svg/Icons/Wallet.js +1 -12
  145. package/dist/components/uikit-sdk/Svg/Icons/Warning.js +1 -12
  146. package/dist/components/uikit-sdk/Svg/Icons/Watch.js +1 -12
  147. package/dist/components/uikit-sdk/Svg/Icons/Website.js +1 -12
  148. package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.js +1 -12
  149. package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.js +1 -12
  150. package/dist/components/uikit-sdk/Svg/Icons/XNew.js +1 -12
  151. package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.js +1 -12
  152. package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +1 -12
  153. package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +1 -12
  154. package/dist/components/uikit-sdk/Svg/Icons/polygonNew.js +1 -12
  155. package/dist/components/uikit-sdk/Svg/index.d.ts +0 -1
  156. package/dist/components/uikit-sdk/Svg/tokens/ABOND.js +1 -12
  157. package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +1 -12
  158. package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +1 -12
  159. package/dist/components/uikit-sdk/Svg/tokens/BANANA.js +1 -12
  160. package/dist/components/uikit-sdk/Svg/tokens/BASE.js +1 -12
  161. package/dist/components/uikit-sdk/Svg/tokens/BNB.js +1 -12
  162. package/dist/components/uikit-sdk/Svg/tokens/BSC.js +1 -12
  163. package/dist/components/uikit-sdk/Svg/tokens/CELO.js +1 -12
  164. package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +1 -12
  165. package/dist/components/uikit-sdk/Svg/tokens/ETH.js +1 -12
  166. package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +1 -12
  167. package/dist/components/uikit-sdk/Svg/tokens/GNANA.js +1 -12
  168. package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +1 -12
  169. package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +1 -12
  170. package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +1 -12
  171. package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +1 -12
  172. package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +1 -12
  173. package/dist/components/uikit-sdk/Svg/tokens/OKX.js +1 -12
  174. package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +2 -13
  175. package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +1 -12
  176. package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +1 -12
  177. package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +1 -12
  178. package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.d.ts +0 -1
  179. package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.js +1 -12
  180. package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.d.ts +0 -1
  181. package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.js +1 -12
  182. package/dist/components/uikit-sdk/Svg/walletIcons/Brave.d.ts +0 -1
  183. package/dist/components/uikit-sdk/Svg/walletIcons/Brave.js +1 -12
  184. package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.d.ts +0 -1
  185. package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.js +1 -12
  186. package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.js +1 -12
  187. package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.d.ts +0 -1
  188. package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.js +1 -12
  189. package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.d.ts +0 -1
  190. package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.js +1 -12
  191. package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.d.ts +0 -1
  192. package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.js +1 -12
  193. package/dist/components/uikit-sdk/Svg/walletIcons/OKX.d.ts +0 -1
  194. package/dist/components/uikit-sdk/Svg/walletIcons/OKX.js +1 -12
  195. package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.d.ts +0 -1
  196. package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.js +1 -12
  197. package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.d.ts +0 -1
  198. package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.js +1 -12
  199. package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.d.ts +0 -1
  200. package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.js +1 -12
  201. package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.d.ts +0 -1
  202. package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.js +1 -12
  203. package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.d.ts +0 -1
  204. package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.js +1 -12
  205. package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.d.ts +0 -1
  206. package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.js +1 -12
  207. package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.js +1 -12
  208. package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.d.ts +0 -1
  209. package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.js +1 -12
  210. package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.js +1 -12
  211. package/dist/components/uikit-sdk/Tag/ListTag.js +1 -1
  212. package/dist/components/uikit-sdk/Tag/styles.d.ts +2 -3
  213. package/dist/components/uikit-sdk/Text/index.js +1 -1
  214. package/dist/components/uikit-sdk/TokenImage/index.d.ts +1 -1
  215. package/dist/components/uikit-sdk/TokenImage/index.js +2 -13
  216. package/dist/components/uikit-sdk/TooltipBubble/index.js +1 -1
  217. package/dist/components/uikit-sdk/index.d.ts +1 -0
  218. package/dist/components/uikit-sdk/index.js +1 -0
  219. package/dist/config/abi/types/factories/Banana__factory.js +2 -1
  220. package/dist/config/abi/types/factories/BondNft__factory.js +2 -1
  221. package/dist/config/abi/types/factories/Bond__factory.js +2 -1
  222. package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +2 -1
  223. package/dist/config/abi/types/factories/EnsRegistrar__factory.js +2 -1
  224. package/dist/config/abi/types/factories/Erc20__factory.js +2 -1
  225. package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +2 -1
  226. package/dist/config/abi/types/factories/JungleChef__factory.js +2 -1
  227. package/dist/config/abi/types/factories/LaunchBonds__factory.js +2 -1
  228. package/dist/config/abi/types/factories/LensContract__factory.js +2 -1
  229. package/dist/config/abi/types/factories/LockVeAbond__factory.js +2 -1
  230. package/dist/config/abi/types/factories/MigrationBond__factory.js +2 -1
  231. package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +2 -1
  232. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +2 -1
  233. package/dist/config/abi/types/factories/Multicallv2__factory.js +2 -1
  234. package/dist/config/abi/types/factories/Multicallv3__factory.js +2 -1
  235. package/dist/config/abi/types/factories/NonFungibleApes__factory.js +2 -1
  236. package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +2 -1
  237. package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +2 -1
  238. package/dist/config/abi/types/factories/PriceGetterV2__factory.js +2 -1
  239. package/dist/config/abi/types/factories/PriceGetter__factory.js +2 -1
  240. package/dist/config/abi/types/factories/SousChef__factory.js +2 -1
  241. package/dist/config/abi/types/factories/Treasury__factory.js +2 -1
  242. package/dist/config/abi/types/factories/Weth__factory.js +2 -1
  243. package/dist/config/abi/types/factories/Zap__factory.js +2 -1
  244. package/dist/config/constants/addresses.js +4 -4
  245. package/dist/config/constants/api.d.ts +4 -4
  246. package/dist/config/constants/api.js +4 -4
  247. package/dist/config/constants/lists.d.ts +3 -3
  248. package/dist/contexts/Localization/Provider.js +3 -3
  249. package/dist/contexts/Localization/helpers.js +2 -2
  250. package/dist/contexts/ModalContext.js +3 -14
  251. package/dist/contexts/RefreshContext.js +3 -14
  252. package/dist/index.d.ts +4 -4
  253. package/dist/index.js +4 -4
  254. package/dist/providers/index.d.ts +8 -0
  255. package/dist/providers/index.js +12 -0
  256. package/dist/scss/BondModal.scss +1 -1
  257. package/dist/theme/colors.js +2 -2
  258. package/dist/utils/index.js +2 -2
  259. package/dist/utils/multicall.js +2 -2
  260. package/dist/{components/Modals → views}/BondModal/BondModal.d.ts +2 -2
  261. package/dist/{components/Modals → views}/BondModal/BondModal.js +37 -36
  262. package/dist/{components/Modals → views}/BondModal/helper.d.ts +1 -1
  263. package/dist/{components/Modals → views}/BondModal/helper.js +1 -1
  264. package/dist/views/BondModal/index.d.ts +4 -0
  265. package/dist/views/BondModal/index.js +18 -0
  266. package/dist/{pages → views}/Bonds/Bonds.js +2 -13
  267. package/dist/{pages → views}/YourBonds/YourBonds.js +11 -22
  268. package/dist/{pages → views}/YourBonds/fetchBillsUser.js +7 -9
  269. package/dist/{pages → views}/YourBonds/getBillNftData.js +2 -2
  270. package/dist/{components/Modals → views}/YourBondsModal/YourBondsModal.d.ts +2 -2
  271. package/dist/views/YourBondsModal/YourBondsModal.js +173 -0
  272. package/dist/{components/Modals → views}/YourBondsModal/styles.js +1 -1
  273. package/package.json +1 -1
  274. package/dist/components/Modals/YourBondsModal/YourBondsModal.js +0 -184
  275. /package/dist/{pages → views}/Bonds/Bonds.d.ts +0 -0
  276. /package/dist/{pages → views}/YourBonds/YourBonds.d.ts +0 -0
  277. /package/dist/{pages → views}/YourBonds/fetchBillsUser.d.ts +0 -0
  278. /package/dist/{pages → views}/YourBonds/getBillNftData.d.ts +0 -0
  279. /package/dist/{components/Modals → views}/YourBondsModal/styles.d.ts +0 -0
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
13
2
  import { useCallback } from 'react';
14
3
  import { Flex, IconButton } from '../uikit-sdk';
@@ -29,7 +18,7 @@ var BondMenu = function (_a) {
29
18
  setChainFilterOption(['All Chains']);
30
19
  setFilterOption(newOption);
31
20
  }, [setChainFilterOption, setFilterOption]);
32
- return (_jsxs(Flex, __assign({ className: "menu-container filters" }, { children: [_jsx(Flex, __assign({ className: "filters desktop-rec", sx: { display: ['none', 'none', 'none', 'flex'], mr: '20px' } }, { children: _jsx(RecommendationSelector, { options: filterOptions, activeOption: filterOption, setActiveOption: handleFilterSelection }) })), _jsx(Flex, __assign({ className: "filtesr mobile-rec", sx: { display: ['flex', 'flex', 'flex', 'none'], width: '100%' } }, { children: _jsx(MenuSelect, { selectedOption: filterOption, setOption: setFilterOption, options: mappedFilters, sx: { background: 'white2' } }) })), _jsx(Flex, __assign({ className: "filters network", sx: { width: ['49%', '49%', '49%', 'unset'], minWidth: '120px' } }, { children: _jsx(NetworkFilter, { chainFilterOption: chainFilterOption, setChainFilterOption: setChainFilterOption }) })), _jsxs(Flex, __assign({ className: "filters clear-all", sx: {
21
+ return (_jsxs(Flex, { className: "menu-container filters", children: [_jsx(Flex, { className: "filters desktop-rec", sx: { display: ['none', 'none', 'none', 'flex'], mr: '20px' }, children: _jsx(RecommendationSelector, { options: filterOptions, activeOption: filterOption, setActiveOption: handleFilterSelection }) }), _jsx(Flex, { className: "filtesr mobile-rec", sx: { display: ['flex', 'flex', 'flex', 'none'], width: '100%' }, children: _jsx(MenuSelect, { selectedOption: filterOption, setOption: setFilterOption, options: mappedFilters, sx: { background: 'white2' } }) }), _jsx(Flex, { className: "filters network", sx: { width: ['49%', '49%', '49%', 'unset'], minWidth: '120px' }, children: _jsx(NetworkFilter, { chainFilterOption: chainFilterOption, setChainFilterOption: setChainFilterOption }) }), _jsxs(Flex, { className: "filters clear-all", sx: {
33
22
  display: ['none', 'none', 'none', 'flex'],
34
23
  color: 'textDisabledButton',
35
24
  fontSize: '14px',
@@ -46,6 +35,6 @@ var BondMenu = function (_a) {
46
35
  setChainFilterOption(['All Chains']);
47
36
  setFilterOption(asPath.includes('yourBonds') ? 'CLAIMABLE' : 'ALL');
48
37
  onHandleQueryChange('');
49
- } }, { children: ["Clear All", _jsx(Flex, __assign({ sx: { ml: '7px' } }, { children: _jsx(IconButton, { icon: "close", color: "textDisabledButton", variant: "transparent" }) }))] }))] })));
38
+ }, children: ["Clear All", _jsx(Flex, { sx: { ml: '7px' }, children: _jsx(IconButton, { icon: "close", color: "textDisabledButton", variant: "transparent" }) })] })] }));
50
39
  };
51
40
  export default BondMenu;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BondsDataResponse } from "../../types/bonds";
3
2
  import '../../scss/BondRow.scss';
4
3
  interface BondRowProps {
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
13
2
  import BigNumber from "bignumber.js";
14
3
  import { ChainId } from "../../enum/apeswaplists";
@@ -78,7 +67,7 @@ var BondRow = function (_a) {
78
67
  var vestingDays = vestingTime(bond.vestingTerm).days;
79
68
  return parseFloat((((discount * 365) / vestingDays).toFixed(2)));
80
69
  };
81
- return (_jsxs(Flex, __assign({ className: "bonds-container bondrow-container", onClick: function () { return rowClick(bond); } }, { children: [_jsxs(Flex, __assign({ className: "column column-tokens" }, { children: [_jsx(Flex, __assign({ className: "column column-tokeninfoname" }, { children: _jsx(TokenInfoAndName, { bill: bond }) })), _jsx(Flex, __assign({ className: "column column-tokenicons" }, { children: _jsx(TooltipBubble, __assign({ className: "tooltip-bubble", body: _jsx(Tooltip, { tokenContract: (bond === null || bond === void 0 ? void 0 : bond.earnToken.address[bond.chainId]) || '', secondURL: getBillContractURL(bond), secondURLTitle: 'View Bond Contract', thirdURL: "https://dashboard.ape.bond/bond/".concat((_b = bond === null || bond === void 0 ? void 0 : bond.billAddress) === null || _b === void 0 ? void 0 : _b.toLowerCase()), thirdURLTitle: 'View Insights', twitter: bond === null || bond === void 0 ? void 0 : bond.twitter, projectLink: bond === null || bond === void 0 ? void 0 : bond.projectLink, audit: bond === null || bond === void 0 ? void 0 : bond.audit, chain: (_c = bond.chainId) !== null && _c !== void 0 ? _c : ChainId.BSC }), width: "205px", placement: "bottomRight", transformTip: "translate(11%, 0%)" }, { children: _jsx(Svg, { icon: "more", width: "20px" }) })) }))] })), _jsxs(Flex, __assign({ className: "column column-bondinfo" }, { children: [_jsx(Flex, __assign({ className: "column column-discount ".concat(getDiscountColor(bond === null || bond === void 0 ? void 0 : bond.discount)) }, { children: (bond === null || bond === void 0 ? void 0 : bond.discount) !== undefined ? "".concat(bond.discount.toFixed(2), "%") : '-' })), _jsx(Flex, __assign({ className: "column column-arr" }, { children: calculateARR(bond) !== undefined ? "".concat(calculateARR(bond), "%") : '-' })), _jsx(Flex, __assign({ className: "column column-terms" }, { children: vestingTime(bond.vestingTerm).days ? "".concat(vestingTime(bond.vestingTerm).days, " D") : '-' })), _jsx(Flex, __assign({ className: "column column-tokensremaining" }, { children: _jsx(ProgressBarWrapper, { title: '', value: _jsx(ProgressBar, { value: remainingPercentage(bond) }), style: {
70
+ return (_jsxs(Flex, { className: "bonds-container bondrow-container", onClick: function () { return rowClick(bond); }, children: [_jsxs(Flex, { className: "column column-tokens", children: [_jsx(Flex, { className: "column column-tokeninfoname", children: _jsx(TokenInfoAndName, { bill: bond }) }), _jsx(Flex, { className: "column column-tokenicons", children: _jsx(TooltipBubble, { className: "tooltip-bubble", body: _jsx(Tooltip, { tokenContract: (bond === null || bond === void 0 ? void 0 : bond.earnToken.address[bond.chainId]) || '', secondURL: getBillContractURL(bond), secondURLTitle: 'View Bond Contract', thirdURL: "https://dashboard.ape.bond/bond/".concat((_b = bond === null || bond === void 0 ? void 0 : bond.billAddress) === null || _b === void 0 ? void 0 : _b.toLowerCase()), thirdURLTitle: 'View Insights', twitter: bond === null || bond === void 0 ? void 0 : bond.twitter, projectLink: bond === null || bond === void 0 ? void 0 : bond.projectLink, audit: bond === null || bond === void 0 ? void 0 : bond.audit, chain: (_c = bond.chainId) !== null && _c !== void 0 ? _c : ChainId.BSC }), width: "205px", placement: "bottomRight", transformTip: "translate(11%, 0%)", children: _jsx(Svg, { icon: "more", width: "20px" }) }) })] }), _jsxs(Flex, { className: "column column-bondinfo", children: [_jsx(Flex, { className: "column column-discount ".concat(getDiscountColor(bond === null || bond === void 0 ? void 0 : bond.discount)), children: (bond === null || bond === void 0 ? void 0 : bond.discount) !== undefined ? "".concat(bond.discount.toFixed(2), "%") : '-' }), _jsx(Flex, { className: "column column-arr", children: calculateARR(bond) !== undefined ? "".concat(calculateARR(bond), "%") : '-' }), _jsx(Flex, { className: "column column-terms", children: vestingTime(bond.vestingTerm).days ? "".concat(vestingTime(bond.vestingTerm).days, " D") : '-' }), _jsx(Flex, { className: "column column-tokensremaining", children: _jsx(ProgressBarWrapper, { title: '', value: _jsx(ProgressBar, { value: remainingPercentage(bond) }), style: {
82
71
  width: '127px',
83
72
  height: '25px',
84
73
  flexDirection: 'column',
@@ -87,6 +76,6 @@ var BondRow = function (_a) {
87
76
  }, showTooltip: true, toolTip: "".concat(remainingTokensFormat(bond), " ").concat(bond.earnToken.symbol, " (").concat(formatDollar({
88
77
  num: remainingTokensUsd(bond).toNumber(),
89
78
  isPrice: true,
90
- }), ")") }) })), _jsx(Flex, __assign({ className: "column column-hotbond" }, { children: _jsx(Flex, __assign({ className: "column column-icon" }, { children: (hotBonds === null || hotBonds === void 0 ? void 0 : hotBonds.includes(bond.billAddress.toLowerCase())) && ((_d = bond.discount) !== null && _d !== void 0 ? _d : 0) > 0 && (_jsx(Svg, { icon: "hot", width: "20px" })) })) }))] }))] }), bond.billAddress));
79
+ }), ")") }) }), _jsx(Flex, { className: "column column-hotbond", children: _jsx(Flex, { className: "column column-icon", children: (hotBonds === null || hotBonds === void 0 ? void 0 : hotBonds.includes(bond.billAddress.toLowerCase())) && ((_d = bond.discount) !== null && _d !== void 0 ? _d : 0) > 0 && (_jsx(Svg, { icon: "hot", width: "20px" })) }) })] })] }, bond.billAddress));
91
80
  };
92
81
  export default BondRow;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
13
2
  import { Flex } from 'theme-ui';
14
3
  import { Input } from '../uikit-sdk/Input';
@@ -18,6 +7,6 @@ import '../../scss/BondRowHeader.scss';
18
7
  import BondMenu from '../BondMenu/BondMenu';
19
8
  var BondRowHeader = function (_a) {
20
9
  var inputValue = _a.inputValue, setChainFilterOption = _a.setChainFilterOption, chainFilterOption = _a.chainFilterOption, filterOptions = _a.filterOptions, filterOption = _a.filterOption, setFilterOption = _a.setFilterOption, onInputChange = _a.onInputChange, onHandleQueryChange = _a.onHandleQueryChange, onSort = _a.onSort;
21
- return (_jsxs(Flex, __assign({ className: "bondrow-header" }, { children: [_jsx(Flex, __assign({ className: "bondrow-header filters" }, { children: _jsx(BondMenu, { chainFilterOption: chainFilterOption !== null && chainFilterOption !== void 0 ? chainFilterOption : ['All Chains'], setChainFilterOption: setChainFilterOption, filterOptions: filterOptions, filterOption: filterOption, setFilterOption: setFilterOption, onHandleQueryChange: onHandleQueryChange }) })), _jsxs(Flex, __assign({ className: "bondrow-header rows" }, { children: [_jsxs(Flex, __assign({ className: "column column-tokens header" }, { children: [_jsx(Flex, __assign({ className: "column column-search", sx: { width: '100%', maxWidth: ['200px', '200px', '200px', '340px'] } }, { children: _jsx(Input, { value: inputValue, onChange: onInputChange, variant: "search", sx: { fontWeight: 400, background: 'white2', height: '30px', fontSize: '14px', color: 'white' }, width: '100%', placeholder: 'Search...' }) })), _jsx(Flex, { className: "column column-tokenicons header" })] })), _jsxs(Flex, __assign({ className: "column column-bondinfo header" }, { children: [_jsxs(Flex, __assign({ className: "column column-discount header" }, { children: [_jsx(Flex, __assign({ className: "column tooltip" }, { children: _jsxs(TooltipBubble, __assign({ className: "tooltip-bubble", body: _jsx(Flex, { children: TooltipText.Discount }), width: "230px", placement: "bottomLeft", transformTip: "translate(18%, -4%)" }, { children: ["DISCOUNT", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px", color: "textDisabledButton" }) }))] })) })), _jsx(Flex, __assign({ className: "column header-icon", onClick: function () { return onSort('discount'); } }, { children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) }))] })), _jsxs(Flex, __assign({ className: "column column-arr header" }, { children: [_jsx(Flex, __assign({ className: "column tooltip" }, { children: _jsxs(TooltipBubble, __assign({ className: "tooltip-bubble", body: _jsx(Flex, { children: TooltipText.ARR }), width: "230px", placement: "bottomLeft", transformTip: "translate(8%, -5%)" }, { children: ["ARR", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px", color: "textDisabledButton" }) }))] })) })), _jsx(Flex, __assign({ className: "column header-icon", onClick: function () { return onSort('arr'); } }, { children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) }))] })), _jsxs(Flex, __assign({ className: "column column-terms header" }, { children: [_jsx(Flex, __assign({ className: "column tooltip" }, { children: _jsxs(TooltipBubble, __assign({ className: "tooltip-bubble", body: _jsx(Flex, { children: TooltipText.Terms }), width: "230px", placement: "bottomRight", transformTip: "translate(11%, -5%)" }, { children: ["TERMS", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px", color: "textDisabledButton" }) }))] })) })), _jsx(Flex, __assign({ className: "column header-icon", onClick: function () { return onSort('terms'); } }, { children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) }))] })), _jsxs(Flex, __assign({ className: "column column-tokensremaining header" }, { children: [_jsx(Flex, __assign({ className: "column tooltip" }, { children: _jsxs(TooltipBubble, __assign({ className: "tooltip-bubble", body: _jsx(Flex, { children: TooltipText.TokensRemaining }), width: "230px", placement: "bottomRight", transformTip: "translate(12%, -4%)" }, { children: ["TOKENS REMAINING", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px", color: "textDisabledButton" }) }))] })) })), _jsx(Flex, __assign({ className: "column header-icon", onClick: function () { return onSort('tokensRemaining'); } }, { children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) }))] })), _jsx(Flex, { className: "column column-hotbond header" })] }))] }))] })));
10
+ return (_jsxs(Flex, { className: "bondrow-header", children: [_jsx(Flex, { className: "bondrow-header filters", children: _jsx(BondMenu, { chainFilterOption: chainFilterOption !== null && chainFilterOption !== void 0 ? chainFilterOption : ['All Chains'], setChainFilterOption: setChainFilterOption, filterOptions: filterOptions, filterOption: filterOption, setFilterOption: setFilterOption, onHandleQueryChange: onHandleQueryChange }) }), _jsxs(Flex, { className: "bondrow-header rows", children: [_jsxs(Flex, { className: "column column-tokens header", children: [_jsx(Flex, { className: "column column-search", sx: { width: '100%', maxWidth: ['200px', '200px', '200px', '340px'] }, children: _jsx(Input, { value: inputValue, onChange: onInputChange, variant: "search", sx: { fontWeight: 400, background: 'white2', height: '30px', fontSize: '14px', color: 'white' }, width: '100%', placeholder: 'Search...' }) }), _jsx(Flex, { className: "column column-tokenicons header" })] }), _jsxs(Flex, { className: "column column-bondinfo header", children: [_jsxs(Flex, { className: "column column-discount header", children: [_jsx(Flex, { className: "column tooltip", children: _jsxs(TooltipBubble, { className: "tooltip-bubble", body: _jsx(Flex, { children: TooltipText.Discount }), width: "230px", placement: "bottomLeft", transformTip: "translate(18%, -4%)", children: ["DISCOUNT", _jsx(Flex, { className: "column header-icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px", color: "textDisabledButton" }) })] }) }), _jsx(Flex, { className: "column header-icon", onClick: function () { return onSort('discount'); }, children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), _jsxs(Flex, { className: "column column-arr header", children: [_jsx(Flex, { className: "column tooltip", children: _jsxs(TooltipBubble, { className: "tooltip-bubble", body: _jsx(Flex, { children: TooltipText.ARR }), width: "230px", placement: "bottomLeft", transformTip: "translate(8%, -5%)", children: ["ARR", _jsx(Flex, { className: "column header-icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px", color: "textDisabledButton" }) })] }) }), _jsx(Flex, { className: "column header-icon", onClick: function () { return onSort('arr'); }, children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), _jsxs(Flex, { className: "column column-terms header", children: [_jsx(Flex, { className: "column tooltip", children: _jsxs(TooltipBubble, { className: "tooltip-bubble", body: _jsx(Flex, { children: TooltipText.Terms }), width: "230px", placement: "bottomRight", transformTip: "translate(11%, -5%)", children: ["TERMS", _jsx(Flex, { className: "column header-icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px", color: "textDisabledButton" }) })] }) }), _jsx(Flex, { className: "column header-icon", onClick: function () { return onSort('terms'); }, children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), _jsxs(Flex, { className: "column column-tokensremaining header", children: [_jsx(Flex, { className: "column tooltip", children: _jsxs(TooltipBubble, { className: "tooltip-bubble", body: _jsx(Flex, { children: TooltipText.TokensRemaining }), width: "230px", placement: "bottomRight", transformTip: "translate(12%, -4%)", children: ["TOKENS REMAINING", _jsx(Flex, { className: "column header-icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px", color: "textDisabledButton" }) })] }) }), _jsx(Flex, { className: "column header-icon", onClick: function () { return onSort('tokensRemaining'); }, children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), _jsx(Flex, { className: "column column-hotbond header" })] })] })] }));
22
11
  };
23
12
  export default BondRowHeader;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { BondsDataResponse } from '../../types/bonds';
3
2
  import '../../scss/BondRowsByChain.scss';
4
3
  declare const BondRowsByChain: ({ bonds, hotBonds, hideTitles, chains }: {
5
4
  bonds: BondsDataResponse[];
6
- hotBonds?: string[] | undefined;
5
+ hotBonds?: string[];
7
6
  hideTitles: boolean;
8
- chains?: number[] | undefined;
7
+ chains?: number[];
9
8
  }) => import("react").JSX.Element;
10
9
  export default BondRowsByChain;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "theme-ui/jsx-runtime";
13
2
  import BondRowsWithTitle from './BondRowsWithTitle';
14
3
  import { MAINNET_CHAINS } from '../../config/constants/chains';
@@ -16,9 +5,9 @@ import '../../scss/BondRowsByChain.scss';
16
5
  import { Flex } from 'theme-ui';
17
6
  var BondRowsByChain = function (_a) {
18
7
  var bonds = _a.bonds, hotBonds = _a.hotBonds, hideTitles = _a.hideTitles, chains = _a.chains;
19
- return (_jsx(Flex, __assign({ className: "bondrowsbychain" }, { children: (MAINNET_CHAINS.map(function (chain, index) {
8
+ return (_jsx(Flex, { className: "bondrowsbychain", children: (MAINNET_CHAINS.map(function (chain, index) {
20
9
  return ((!chains || chains.length === 0 || chains.includes(chain)) &&
21
10
  _jsx(BondRowsWithTitle, { chain: chain, bonds: bonds, hotBonds: hotBonds, hideTitles: hideTitles }, chain));
22
- })) })));
11
+ })) }));
23
12
  };
24
13
  export default BondRowsByChain;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { BondsDataResponse } from "../../types/bonds";
3
2
  import '../../scss/BondRowsWithTitle.scss';
4
3
  declare const BondRowsWithTitle: ({ chain, bonds, hotBonds, hideTitles }: {
5
4
  chain: number;
6
5
  bonds: BondsDataResponse[];
7
- hotBonds?: string[] | undefined;
6
+ hotBonds?: string[];
8
7
  hideTitles: boolean;
9
8
  }) => import("react").JSX.Element;
10
9
  export default BondRowsWithTitle;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
13
2
  import { AnimatePresence, motion } from "framer-motion";
14
3
  import ChainTitle from "./ChainTitle";
@@ -21,11 +10,11 @@ var BondRowsWithTitle = function (_a) {
21
10
  var billsFilteredByChain = bonds.filter(function (bill) { return bill.chainId === chain; });
22
11
  var key = chain;
23
12
  var _b = useState(true), isOpen = _b[0], setIsOpen = _b[1];
24
- return (_jsx(Flex, __assign({ className: "bondrowswithtitle" }, { children: _jsxs(AnimatePresence, __assign({ initial: false }, { children: [_jsx(Flex, __assign({ onClick: function () { return setIsOpen(!isOpen); } }, { children: _jsx(ChainTitle, { chain: chain, pt: '5px', hideTitles: billsFilteredByChain.length > 0 ? false : true, isOpen: isOpen }) })), billsFilteredByChain.length > 0 && isOpen && (_jsx(motion.div, __assign({ initial: { height: 0, overflow: 'hidden' }, animate: { height: 'fit-content', overflow: 'hidden', transitionEnd: { overflow: 'visible' } }, exit: { height: 0, overflow: 'hidden' }, sx: {
13
+ return (_jsx(Flex, { className: "bondrowswithtitle", children: _jsxs(AnimatePresence, { initial: false, children: [_jsx(Flex, { onClick: function () { return setIsOpen(!isOpen); }, children: _jsx(ChainTitle, { chain: chain, pt: '5px', hideTitles: billsFilteredByChain.length > 0 ? false : true, isOpen: isOpen }) }), billsFilteredByChain.length > 0 && isOpen && (_jsx(motion.div, { initial: { height: 0, overflow: 'hidden' }, animate: { height: 'fit-content', overflow: 'hidden', transitionEnd: { overflow: 'visible' } }, exit: { height: 0, overflow: 'hidden' }, sx: {
25
14
  position: 'relative',
26
15
  overflow: 'hidden',
27
16
  width: '100%',
28
17
  marginTop: '0px',
29
- } }, { children: billsFilteredByChain === null || billsFilteredByChain === void 0 ? void 0 : billsFilteredByChain.map(function (bill) { return (_jsx(BondRow, { bond: bill, hotBonds: hotBonds }, bill.billAddress)); }) }), key))] })) }), key));
18
+ }, children: billsFilteredByChain === null || billsFilteredByChain === void 0 ? void 0 : billsFilteredByChain.map(function (bill) { return (_jsx(BondRow, { bond: bill, hotBonds: hotBonds }, bill.billAddress)); }) }, key))] }) }, key));
30
19
  };
31
20
  export default BondRowsWithTitle;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const ChainTitle: ({ chain, pt, hideTitles, isOpen, }: {
3
3
  chain: number;
4
4
  pt: string;
5
- hideTitles?: boolean | undefined;
5
+ hideTitles?: boolean;
6
6
  isOpen: boolean;
7
7
  }) => React.JSX.Element;
8
8
  export default ChainTitle;
@@ -1,20 +1,9 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
13
2
  import { Flex, Svg } from '../uikit-sdk';
14
3
  import { NETWORK_LABEL } from '../../config/constants/chains';
15
4
  var ChainTitle = function (_a) {
16
5
  var chain = _a.chain, pt = _a.pt, hideTitles = _a.hideTitles, isOpen = _a.isOpen;
17
- return (_jsxs(Flex, __assign({ className: "chaintitle", sx: {
6
+ return (_jsxs(Flex, { className: "chaintitle", sx: {
18
7
  pt: pt,
19
8
  pb: '10px',
20
9
  color: 'textDisabledButton',
@@ -24,6 +13,6 @@ var ChainTitle = function (_a) {
24
13
  textTransform: 'uppercase',
25
14
  display: hideTitles ? 'none' : 'flex',
26
15
  width: '200px',
27
- } }, { children: [NETWORK_LABEL[chain], " Bonds", _jsx(Flex, __assign({ sx: { ml: '7px' } }, { children: _jsx(Svg, { icon: "caret", direction: isOpen ? 'down' : 'up', width: 8, color: "textDisabledButton" }) }))] })));
16
+ }, children: [NETWORK_LABEL[chain], " Bonds", _jsx(Flex, { sx: { ml: '7px' }, children: _jsx(Svg, { icon: "caret", direction: isOpen ? 'down' : 'up', width: 8, color: "textDisabledButton" }) })] }));
28
17
  };
29
18
  export default ChainTitle;
@@ -1,4 +1,8 @@
1
1
  import React from 'react';
2
2
  import { Option } from './types';
3
- declare const MenuSelect: ({ selectedOption, setOption, options, ...props }: any) => React.JSX.Element;
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;
4
8
  export default MenuSelect;
@@ -30,7 +30,7 @@ var MenuSelect = function (_a) {
30
30
  width: '100%',
31
31
  paddingRight: '4px',
32
32
  } }, props, { children: options === null || options === void 0 ? void 0 : options.map(function (option) {
33
- return (_jsx(SelectItem, __assign({ size: "xsm", value: option.value }, { children: _jsx(Text, __assign({ sx: { fontWeight: 400, pl: '10px' } }, { children: option.label })) }), option.label));
33
+ return (_jsx(SelectItem, { size: "xsm", value: option.value, children: _jsx(Text, { sx: { fontWeight: 400, pl: '10px' }, children: option.label }) }, option.label));
34
34
  }) })));
35
35
  };
36
36
  export default MenuSelect;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "theme-ui/jsx-runtime";
13
2
  import { Flex } from '../uikit-sdk';
14
3
  var RecommendationSelector = function (_a) {
@@ -16,7 +5,7 @@ var RecommendationSelector = function (_a) {
16
5
  var handleClick = function (option) {
17
6
  setActiveOption(option);
18
7
  };
19
- return (_jsx(Flex, __assign({ sx: {
8
+ return (_jsx(Flex, { sx: {
20
9
  alignItems: 'center',
21
10
  color: 'grey',
22
11
  fontSize: ['11px'],
@@ -24,9 +13,9 @@ var RecommendationSelector = function (_a) {
24
13
  '& > div:last-child': {
25
14
  marginRight: '0',
26
15
  },
27
- } }, { children: options.map(function (option) {
16
+ }, children: options.map(function (option) {
28
17
  var isActive = option === activeOption;
29
- return (_jsx(Flex, __assign({ sx: {
18
+ return (_jsx(Flex, { sx: {
30
19
  background: isActive ? 'primaryShade' : 'white2',
31
20
  color: isActive ? 'primaryButton' : 'textDisabledButton',
32
21
  px: ['6px', '6px', '6px', '10px'],
@@ -37,7 +26,7 @@ var RecommendationSelector = function (_a) {
37
26
  lineHeight: '11px',
38
27
  alignItems: 'center',
39
28
  height: '24px',
40
- }, onClick: function () { return handleClick(option); } }, { children: option }), option));
41
- }) })));
29
+ }, onClick: function () { return handleClick(option); }, children: option }, option));
30
+ }) }));
42
31
  };
43
32
  export default RecommendationSelector;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
13
2
  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
14
3
  if (ar || !(i in from)) {
@@ -45,7 +34,7 @@ var NetworkFilter = function (_a) {
45
34
  }
46
35
  setChainFilterOption(newChainFilterOption);
47
36
  };
48
- return (_jsxs(Flex, __assign({ sx: { width: '100%', position: 'relative' } }, { children: [_jsxs(Flex, __assign({ sx: {
37
+ return (_jsxs(Flex, { sx: { width: '100%', position: 'relative' }, children: [_jsxs(Flex, { sx: {
49
38
  background: 'white2',
50
39
  p: '6px',
51
40
  borderRadius: 'normal',
@@ -53,7 +42,7 @@ var NetworkFilter = function (_a) {
53
42
  alignItems: 'center',
54
43
  width: '100%',
55
44
  justifyContent: 'space-between',
56
- }, onClick: function () { return setIsOpen(!isOpen); } }, { children: [_jsx(Text, __assign({ sx: { lineHeight: '22px', fontSize: '14px', fontWeight: 400, px: '10px' } }, { children: chainFilterOption.includes('All Chains') ? 'All Chains' : "Chains (".concat(chainFilterOption.length, ")") })), _jsx(Flex, __assign({ sx: { ml: '5px' } }, { children: _jsx(Svg, { icon: "caret", direction: isOpen ? 'up' : 'down' }) }))] })), isOpen && (_jsx(Flex, __assign({ sx: {
45
+ }, onClick: function () { return setIsOpen(!isOpen); }, children: [_jsx(Text, { sx: { lineHeight: '22px', fontSize: '14px', fontWeight: 400, px: '10px' }, children: chainFilterOption.includes('All Chains') ? 'All Chains' : "Chains (".concat(chainFilterOption.length, ")") }), _jsx(Flex, { sx: { ml: '5px' }, children: _jsx(Svg, { icon: "caret", direction: isOpen ? 'up' : 'down' }) })] }), isOpen && (_jsx(Flex, { sx: {
57
46
  flexDirection: ['column', 'column', 'column'],
58
47
  position: 'absolute',
59
48
  top: '45px',
@@ -64,14 +53,14 @@ var NetworkFilter = function (_a) {
64
53
  borderRadius: 'normal',
65
54
  background: 'white2',
66
55
  zIndex: 555,
67
- } }, { children: __spreadArray(['All Chains'], MAINNET_CHAINS, true).map(function (chainId) {
68
- return (_jsx(Flex, __assign({ sx: {
56
+ }, children: __spreadArray(['All Chains'], MAINNET_CHAINS, true).map(function (chainId) {
57
+ return (_jsx(Flex, { sx: {
69
58
  borderRadius: 'normal',
70
59
  p: '5px 15px',
71
60
  minHeight: '40px',
72
61
  cursor: 'pointer',
73
62
  '&:hover': { bg: 'white3' },
74
- }, onClick: function () { return handleCheckbox(chainId.toString()); } }, { children: _jsxs(Flex, __assign({ sx: { width: '100%', alignItems: 'center', fontSize: '14px' } }, { children: [_jsx(Checkbox, { checked: chainFilterOption.includes(chainId.toString()), onChange: function () { return null; } }), chainId === 'All Chains' ? (_jsxs(_Fragment, { children: [_jsx(Flex, __assign({ sx: { mx: '8px' } }, { children: _jsx(Svg, { icon: "AllChains", width: "22px" }) })), _jsx(Text, __assign({ sx: { lineHeight: '22px', fontWeight: 400 } }, { children: "All Chains" }))] })) : (_jsxs(_Fragment, { children: [_jsx(Flex, __assign({ sx: { mx: '8px', borderRadius: '50px', overflow: 'hidden' } }, { children: _jsx(Svg, { icon: NETWORK_ICONS[chainId], width: "22px" }) })), _jsx(Text, __assign({ sx: { lineHeight: '22px', fontWeight: 400 } }, { children: NETWORK_LABEL[chainId] }))] }))] })) }), chainId));
75
- }) })))] })));
63
+ }, onClick: function () { return handleCheckbox(chainId.toString()); }, children: _jsxs(Flex, { sx: { width: '100%', alignItems: 'center', fontSize: '14px' }, children: [_jsx(Checkbox, { checked: chainFilterOption.includes(chainId.toString()), onChange: function () { return null; } }), chainId === 'All Chains' ? (_jsxs(_Fragment, { children: [_jsx(Flex, { sx: { mx: '8px' }, children: _jsx(Svg, { icon: "AllChains", width: "22px" }) }), _jsx(Text, { sx: { lineHeight: '22px', fontWeight: 400 }, children: "All Chains" })] })) : (_jsxs(_Fragment, { children: [_jsx(Flex, { sx: { mx: '8px', borderRadius: '50px', overflow: 'hidden' }, children: _jsx(Svg, { icon: NETWORK_ICONS[chainId], width: "22px" }) }), _jsx(Text, { sx: { lineHeight: '22px', fontWeight: 400 }, children: NETWORK_LABEL[chainId] })] }))] }) }, chainId));
64
+ }) }))] }));
76
65
  };
77
66
  export default NetworkFilter;
@@ -1,21 +1,10 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "theme-ui/jsx-runtime";
13
2
  import { Box, Flex } from 'theme-ui';
14
3
  import '../../scss/ProgressBar.scss';
15
4
  var ProgressBar = function (_a) {
16
5
  var value = _a.value, _b = _a.color, color = _b === void 0 ? 'text' : _b;
17
- return (_jsx(Flex, __assign({ sx: { width: ['100px', '100px', '100px', '100%'], alignItems: 'center', flexDirection: 'row', mt: '5px' } }, { children: _jsx(Box, __assign({ className: "progressbar-background" }, { children: _jsx(Box, { className: "progressbar-completed", style: {
6
+ return (_jsx(Flex, { sx: { width: ['100px', '100px', '100px', '100%'], alignItems: 'center', flexDirection: 'row', mt: '5px' }, children: _jsx(Box, { className: "progressbar-background", children: _jsx(Box, { className: "progressbar-completed", style: {
18
7
  width: "".concat(value <= 3 ? 3 : value, "%")
19
- } }) })) })));
8
+ } }) }) }));
20
9
  };
21
10
  export default ProgressBar;
@@ -1,20 +1,9 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
13
2
  import React from 'react';
14
3
  import { styles } from './styles';
15
4
  import { Flex, Text, TooltipBubble, Skeleton } from '../uikit-sdk';
16
5
  var ProgressBarWrapper = function (_a) {
17
6
  var title = _a.title, value = _a.value, style = _a.style, showTooltip = _a.showTooltip, toolTipPlacement = _a.toolTipPlacement, toolTipTransform = _a.toolTipTransform, toolTip = _a.toolTip;
18
- return (_jsxs(Flex, __assign({ sx: style }, { children: [_jsx(Flex, __assign({ sx: { alignItems: 'center' } }, { children: _jsx(Text, __assign({ sx: styles.titleText }, { children: "".concat(title) })) })), showTooltip ? (_jsx(Flex, __assign({ sx: { alignItems: 'center', width: '100%' } }, { children: _jsx(TooltipBubble, __assign({ placement: toolTipPlacement, transformTip: toolTipTransform, body: _jsx(Flex, __assign({ sx: { justifyContent: 'center' } }, { children: toolTip })), width: "250px" }, { children: _jsx(Flex, __assign({ sx: { justifyContent: 'center', alignItems: 'center', width: '127px' } }, { children: value ? value : _jsx(Skeleton, { sx: styles.skeleton }) })) })) }))) : (_jsx(Flex, __assign({ sx: { justifyContent: 'center', alignItems: 'center' } }, { children: value ? value : _jsx(Skeleton, { sx: styles.skeleton }) })))] })));
7
+ return (_jsxs(Flex, { sx: style, children: [_jsx(Flex, { sx: { alignItems: 'center' }, children: _jsx(Text, { sx: styles.titleText, children: "".concat(title) }) }), showTooltip ? (_jsx(Flex, { sx: { alignItems: 'center', width: '100%' }, children: _jsx(TooltipBubble, { placement: toolTipPlacement, transformTip: toolTipTransform, body: _jsx(Flex, { sx: { justifyContent: 'center' }, children: toolTip }), width: "250px", children: _jsx(Flex, { sx: { justifyContent: 'center', alignItems: 'center', width: '127px' }, children: value ? value : _jsx(Skeleton, { sx: styles.skeleton }) }) }) })) : (_jsx(Flex, { sx: { justifyContent: 'center', alignItems: 'center' }, children: value ? value : _jsx(Skeleton, { sx: styles.skeleton }) }))] }));
19
8
  };
20
9
  export default React.memo(ProgressBarWrapper);
@@ -3,6 +3,6 @@ import { BondsDataResponse } from '../../types/bonds';
3
3
  export declare const NETWORK_COLORS: Partial<Record<number, string>>;
4
4
  declare const TokenInfoAndName: ({ bill, vestEnds }: {
5
5
  bill: BondsDataResponse;
6
- vestEnds?: string | undefined;
6
+ vestEnds?: string;
7
7
  }) => React.JSX.Element;
8
8
  export default TokenInfoAndName;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  var _a;
13
2
  import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
14
3
  import { Flex, ListTag, Svg } from '../../components/uikit-sdk';
@@ -30,7 +19,7 @@ export var NETWORK_COLORS = (_a = {},
30
19
  var TokenInfoAndName = function (_a) {
31
20
  var _b, _c, _d, _e, _f, _g, _h;
32
21
  var bill = _a.bill, vestEnds = _a.vestEnds;
33
- return (_jsxs(Flex, __assign({ sx: {
22
+ return (_jsxs(Flex, { sx: {
34
23
  width: '100%',
35
24
  position: 'relative',
36
25
  justifyContent: ['space-between', 'space-between', 'space-between', 'flex-start'],
@@ -41,14 +30,14 @@ var TokenInfoAndName = function (_a) {
41
30
  pl: '20px',
42
31
  overflow: 'hidden',
43
32
  borderRadius: '10px'
44
- } }, { children: [_jsx(Flex, __assign({ sx: {
33
+ }, children: [_jsx(Flex, { sx: {
45
34
  position: 'absolute',
46
35
  left: '0px',
47
36
  top: '0px',
48
37
  overflow: 'hidden',
49
38
  borderRadius: '10px 0px 8px 0px',
50
39
  zIndex: 5,
51
- } }, { children: _jsx(Svg, { width: 18, height: 18, icon: (_b = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[bill === null || bill === void 0 ? void 0 : bill.chainId]) !== null && _b !== void 0 ? _b : 'question' }) })), _jsx(Flex, { sx: {
40
+ }, children: _jsx(Svg, { width: 18, height: 18, icon: (_b = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[bill === null || bill === void 0 ? void 0 : bill.chainId]) !== null && _b !== void 0 ? _b : 'question' }) }), _jsx(Flex, { sx: {
52
41
  position: 'absolute',
53
42
  zIndex: 0,
54
43
  left: '0px',
@@ -56,17 +45,17 @@ var TokenInfoAndName = function (_a) {
56
45
  height: '100%',
57
46
  background: NETWORK_COLORS[bill.chainId],
58
47
  filter: 'blur(35px)',
59
- } }), _jsxs(Flex, __assign({ sx: { pl: '6px', width: '100%', maxWidth: '170px', alignItems: 'center' } }, { children: [_jsx(Index, { symbol: (_c = bill.showcaseTokenName) !== null && _c !== void 0 ? _c : bill.earnToken.symbol, size: 33 }), _jsxs(Flex, __assign({ sx: {
48
+ } }), _jsxs(Flex, { sx: { pl: '6px', width: '100%', maxWidth: '170px', alignItems: 'center' }, children: [_jsx(Index, { symbol: (_c = bill.showcaseTokenName) !== null && _c !== void 0 ? _c : bill.earnToken.symbol, size: 33 }), _jsxs(Flex, { sx: {
60
49
  ml: '10px',
61
50
  fontSize: '16px',
62
51
  fontWeight: 700,
63
52
  width: '100%',
64
53
  flexDirection: 'column',
65
- } }, { children: [(_d = bill.showcaseTokenName) !== null && _d !== void 0 ? _d : bill.earnToken.symbol, vestEnds && (_jsx(Flex, __assign({ sx: { fontSize: '12px', fontWeight: 400, opacity: 0.6, lineHeight: '14px' } }, { children: vestEnds })))] }))] })), _jsxs(Flex, { children: [_jsx(Flex, { sx: { width: '25px' } }), _jsx(Flex, __assign({ sx: {
54
+ }, children: [(_d = bill.showcaseTokenName) !== null && _d !== void 0 ? _d : bill.earnToken.symbol, vestEnds && (_jsx(Flex, { sx: { fontSize: '12px', fontWeight: 400, opacity: 0.6, lineHeight: '14px' }, children: vestEnds }))] })] }), _jsxs(Flex, { children: [_jsx(Flex, { sx: { width: '25px' } }), _jsx(Flex, { sx: {
66
55
  ml: '10px',
67
56
  display: ['none', 'none', 'none', 'flex'],
68
57
  minWidth: '70px',
69
58
  alignItems: 'center',
70
- } }, { children: ((_e = bill.tags) === null || _e === void 0 ? void 0 : _e[0]) && (_jsx(Flex, __assign({ sx: { marginRight: '10px' } }, { children: _jsx(ListTag, { variant: ((_f = bill.tags) === null || _f === void 0 ? void 0 : _f[0]) === 'Cex Fund' ? 'cex_fund' : 'liquidity', text: (_h = (_g = bill.tags) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.toUpperCase() }) }))) }))] })] })));
59
+ }, children: ((_e = bill.tags) === null || _e === void 0 ? void 0 : _e[0]) && (_jsx(Flex, { sx: { marginRight: '10px' }, children: _jsx(ListTag, { variant: ((_f = bill.tags) === null || _f === void 0 ? void 0 : _f[0]) === 'Cex Fund' ? 'cex_fund' : 'liquidity', text: (_h = (_g = bill.tags) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.toUpperCase() }) })) })] })] }));
71
60
  };
72
61
  export default TokenInfoAndName;
@@ -16,6 +16,6 @@ import { Link } from 'theme-ui';
16
16
  var ButtonsRow = function (_a) {
17
17
  var projectLink = _a.projectLink, twitter = _a.twitter, bubble = _a.bubble, audit = _a.audit;
18
18
  var bubbleURL = "https://app.bubblemaps.io/bsc/token/".concat(bubble);
19
- return (_jsxs(Flex, __assign({ sx: { justifyContent: 'center' } }, { children: [_jsx(Flex, __assign({ sx: styles.iconButton, as: Link, href: projectLink, target: "_blank" }, { children: _jsx(Svg, { icon: "URL", width: 18 }) })), _jsx(Flex, __assign({ sx: styles.iconButton, as: Link, href: twitter, target: "_blank" }, { children: _jsx(Svg, { icon: "twitter", width: 18, color: "text" }) })), bubble && (_jsx(Flex, __assign({ sx: styles.iconButton, as: Link, href: bubbleURL, target: "_blank" }, { children: _jsx(Svg, { icon: "bubble", width: 18, color: "text" }) }))), audit && (_jsxs(Flex, __assign({ sx: __assign(__assign({}, styles.iconButton), { margin: '0 0 5px 0', '& svg': { marginRight: '5px' } }), as: Link, href: audit, target: "_blank" }, { children: [_jsx(Svg, { icon: "audit", width: 18, color: "text" }), _jsx(Text, __assign({ sx: { paddingRight: '5px' } }, { children: 'Audit' }))] })))] })));
19
+ return (_jsxs(Flex, { sx: { justifyContent: 'center' }, children: [_jsx(Flex, { sx: styles.iconButton, as: Link, href: projectLink, target: "_blank", children: _jsx(Svg, { icon: "URL", width: 18 }) }), _jsx(Flex, { sx: styles.iconButton, as: Link, href: twitter, target: "_blank", children: _jsx(Svg, { icon: "twitter", width: 18, color: "text" }) }), bubble && (_jsx(Flex, { sx: styles.iconButton, as: Link, href: bubbleURL, target: "_blank", children: _jsx(Svg, { icon: "bubble", width: 18, color: "text" }) })), audit && (_jsxs(Flex, { sx: __assign(__assign({}, styles.iconButton), { margin: '0 0 5px 0', '& svg': { marginRight: '5px' } }), as: Link, href: audit, target: "_blank", children: [_jsx(Svg, { icon: "audit", width: 18, color: "text" }), _jsx(Text, { sx: { paddingRight: '5px' }, children: 'Audit' })] }))] }));
20
20
  };
21
21
  export default ButtonsRow;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
13
2
  import { styles } from './styles';
14
3
  import { BLOCK_EXPLORER } from '../../config/constants/chains';
@@ -19,6 +8,6 @@ var Tooltip = function (_a) {
19
8
  var valueTitle = _a.valueTitle, valueContent = _a.valueContent, value2Title = _a.value2Title, value2Content = _a.value2Content, tokenContract = _a.tokenContract, secondURL = _a.secondURL, secondURLTitle = _a.secondURLTitle, projectLink = _a.projectLink, twitter = _a.twitter, audit = _a.audit, thirdURL = _a.thirdURL, thirdURLTitle = _a.thirdURLTitle, chain = _a.chain;
20
9
  var explorerLink = BLOCK_EXPLORER[chain];
21
10
  var tokenLink = "".concat(explorerLink, "/address/").concat(tokenContract);
22
- return (_jsxs(Flex, __assign({ sx: { flexDirection: 'column', flexWrap: 'wrap' } }, { children: [projectLink && twitter && (_jsx(ButtonsRow, { twitter: twitter, projectLink: projectLink, bubble: tokenContract, audit: audit })), valueTitle && (_jsxs(Flex, __assign({ sx: styles.infoRow }, { children: [_jsxs(Text, __assign({ sx: styles.titleText }, { children: [valueTitle, ": "] })), _jsx(Text, __assign({ sx: styles.contentText }, { children: valueContent }))] }))), value2Title && (_jsxs(Flex, __assign({ sx: styles.infoRow }, { children: [_jsxs(Text, __assign({ sx: styles.titleText }, { children: [value2Title, ": "] })), _jsx(Text, __assign({ sx: styles.contentText }, { children: value2Content }))] }))), _jsx(Flex, __assign({ sx: { justifyContent: 'center' } }, { children: _jsxs(Flex, __assign({ sx: { width: '144px', flexDirection: 'column' } }, { children: [_jsx(Flex, __assign({ sx: styles.linkRow }, { children: _jsxs(Link, __assign({ href: tokenLink, sx: styles.link, target: "_blank" }, { children: ['View Token Contract', _jsx(Flex, __assign({ sx: { ml: '5px' } }, { children: _jsx(Svg, { icon: "external", color: "text", width: 10 }) }))] })) })), secondURL && (_jsx(Flex, __assign({ sx: styles.linkRow }, { children: _jsxs(Link, __assign({ href: secondURL, sx: styles.link, target: "_blank" }, { children: [secondURLTitle, _jsx(Flex, __assign({ sx: { ml: '5px' } }, { children: _jsx(Svg, { icon: "external", color: "text", width: 10 }) }))] })) }))), thirdURL && (_jsx(Flex, __assign({ sx: styles.linkRow }, { children: _jsx(Link, __assign({ href: thirdURL, sx: styles.link, target: "_blank" }, { children: thirdURLTitle })) })))] })) }))] })));
11
+ return (_jsxs(Flex, { sx: { flexDirection: 'column', flexWrap: 'wrap' }, children: [projectLink && twitter && (_jsx(ButtonsRow, { twitter: twitter, projectLink: projectLink, bubble: tokenContract, audit: audit })), valueTitle && (_jsxs(Flex, { sx: styles.infoRow, children: [_jsxs(Text, { sx: styles.titleText, children: [valueTitle, ": "] }), _jsx(Text, { sx: styles.contentText, children: valueContent })] })), value2Title && (_jsxs(Flex, { sx: styles.infoRow, children: [_jsxs(Text, { sx: styles.titleText, children: [value2Title, ": "] }), _jsx(Text, { sx: styles.contentText, children: value2Content })] })), _jsx(Flex, { sx: { justifyContent: 'center' }, children: _jsxs(Flex, { sx: { width: '144px', flexDirection: 'column' }, children: [_jsx(Flex, { sx: styles.linkRow, children: _jsxs(Link, { href: tokenLink, sx: styles.link, target: "_blank", children: ['View Token Contract', _jsx(Flex, { sx: { ml: '5px' }, children: _jsx(Svg, { icon: "external", color: "text", width: 10 }) })] }) }), secondURL && (_jsx(Flex, { sx: styles.linkRow, children: _jsxs(Link, { href: secondURL, sx: styles.link, target: "_blank", children: [secondURLTitle, _jsx(Flex, { sx: { ml: '5px' }, children: _jsx(Svg, { icon: "external", color: "text", width: 10 }) })] }) })), thirdURL && (_jsx(Flex, { sx: styles.linkRow, children: _jsx(Link, { href: thirdURL, sx: styles.link, target: "_blank", children: thirdURLTitle }) }))] }) })] }));
23
12
  };
24
13
  export default Tooltip;
@@ -28,6 +28,6 @@ import { iconButtonVariants as variants } from './types';
28
28
  import style from './styles';
29
29
  var IconButton = function (_a) {
30
30
  var _b = _a.icon, icon = _b === void 0 ? icons.DISCORD : _b, _c = _a.color, color = _c === void 0 ? 'white1' : _c, _d = _a.background, background = _d === void 0 ? 'yellow' : _d, _e = _a.variant, variant = _e === void 0 ? variants.PRIMARY : _e, iconWidth = _a.iconWidth, children = _a.children, props = __rest(_a, ["icon", "color", "background", "variant", "iconWidth", "children"]);
31
- return (_jsx(Button, __assign({}, props, { variant: variant, sx: __assign(__assign({ display: 'flex', alignItems: 'center', justifyContent: 'center', position: 'relative', variant: "buttons.".concat(variant), color: 'primaryBright', background: background }, (variant === variants.PRIMARY ? style.primary : {})), (variant === variants.TRANSPARENT ? style.transparent : {})) }, { children: children || (_jsx("span", __assign({ sx: { height: iconWidth, width: iconWidth } }, { children: _jsx(Svg, __assign({ color: color, icon: icon }, props, { width: iconWidth })) }))) })));
31
+ return (_jsx(Button, __assign({}, props, { variant: variant, sx: __assign(__assign({ display: 'flex', alignItems: 'center', justifyContent: 'center', position: 'relative', variant: "buttons.".concat(variant), color: 'primaryBright', background: background }, (variant === variants.PRIMARY ? style.primary : {})), (variant === variants.TRANSPARENT ? style.transparent : {})), children: children || (_jsx("span", { sx: { height: iconWidth, width: iconWidth }, children: _jsx(Svg, __assign({ color: color, icon: icon }, props, { width: iconWidth })) })) })));
32
32
  };
33
33
  export default IconButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxProps } from './types';
3
2
  declare const Checkbox: ({ scale, display, className, background, ...props }: CheckboxProps | any) => import("react").JSX.Element;
4
3
  export default Checkbox;
@@ -36,11 +36,11 @@ var Checkbox = function (_a) {
36
36
  var _b = _a.scale, scale = _b === void 0 ? scales.SM : _b, _c = _a.display, display = _c === void 0 ? 'block' : _c, className = _a.className, background = _a.background, props = __rest(_a, ["scale", "display", "className", "background"]);
37
37
  var scaleSize = getScale({ scale: scale });
38
38
  var svgScale = scale === 'sm' ? 13 : 21;
39
- return (_jsxs("span", __assign({ className: className, sx: {
39
+ return (_jsxs("span", { className: className, sx: {
40
40
  display: display,
41
41
  width: scaleSize,
42
42
  height: scaleSize,
43
43
  position: 'relative',
44
- } }, { children: [_jsx("input", __assign({ type: "checkbox", sx: { variant: 'checkbox', background: background, borderColor: 'white4' } }, props)), _jsx("svg", __assign({ width: svgScale || '13', height: "auto", viewBox: "0 0 13 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M11.8132 0.171594C11.522 -0.0616871 11.0766 -0.046135 10.8025 0.218251L4.25899 6.76569L1.17566 4.46397C0.93585 4.27735 0.576128 4.2618 0.319184 4.43287C-0.00627898 4.63505 -0.0747974 5.0394 0.147888 5.33489L3.35113 9.4873C3.43677 9.59617 3.55668 9.70503 3.67659 9.78279C4.27612 10.156 5.09835 10.0161 5.50946 9.47175L5.56085 9.40954L11.9159 1.01141C12.1215 0.747022 12.0701 0.389324 11.8132 0.171594Z", fill: "#FAFAFA" }) }))] })));
44
+ }, children: [_jsx("input", __assign({ type: "checkbox", sx: { variant: 'checkbox', background: background, borderColor: 'white4' } }, props)), _jsx("svg", { width: svgScale || '13', height: "auto", viewBox: "0 0 13 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M11.8132 0.171594C11.522 -0.0616871 11.0766 -0.046135 10.8025 0.218251L4.25899 6.76569L1.17566 4.46397C0.93585 4.27735 0.576128 4.2618 0.319184 4.43287C-0.00627898 4.63505 -0.0747974 5.0394 0.147888 5.33489L3.35113 9.4873C3.43677 9.59617 3.55668 9.70503 3.67659 9.78279C4.27612 10.156 5.09835 10.0161 5.50946 9.47175L5.56085 9.40954L11.9159 1.01141C12.1215 0.747022 12.0701 0.389324 11.8132 0.171594Z", fill: "#FAFAFA" }) })] }));
45
45
  };
46
46
  export default Checkbox;
@@ -1,3 +1,5 @@
1
1
  import React from 'react';
2
- declare const Flex: ({ children, ...props }: any) => React.JSX.Element;
2
+ declare const Flex: ({ children, ...props }: {
3
+ children: React.ReactNode;
4
+ } | any) => React.JSX.Element;
3
5
  export default Flex;
@@ -1,4 +1,9 @@
1
- /// <reference types="react" />
1
+ type variant = 'search' | 'password' | 'text';
2
2
  type inputStatus = 'default' | 'error' | 'success';
3
- declare const Input: ({ variant, width, status, isLoading, ...props }: any) => import("react").JSX.Element;
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;
4
9
  export default Input;