@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
@@ -2016,7 +2016,7 @@ var _abi = [
2016
2016
  type: "function",
2017
2017
  },
2018
2018
  ];
2019
- export var LaunchBonds__factory = /** @class */ (function () {
2019
+ var LaunchBonds__factory = /** @class */ (function () {
2020
2020
  function LaunchBonds__factory() {
2021
2021
  }
2022
2022
  LaunchBonds__factory.createInterface = function () {
@@ -2028,3 +2028,4 @@ export var LaunchBonds__factory = /** @class */ (function () {
2028
2028
  LaunchBonds__factory.abi = _abi;
2029
2029
  return LaunchBonds__factory;
2030
2030
  }());
2031
+ export { LaunchBonds__factory };
@@ -323,7 +323,7 @@ var _abi = [
323
323
  type: "function",
324
324
  },
325
325
  ];
326
- export var LensContract__factory = /** @class */ (function () {
326
+ var LensContract__factory = /** @class */ (function () {
327
327
  function LensContract__factory() {
328
328
  }
329
329
  LensContract__factory.createInterface = function () {
@@ -335,3 +335,4 @@ export var LensContract__factory = /** @class */ (function () {
335
335
  LensContract__factory.abi = _abi;
336
336
  return LensContract__factory;
337
337
  }());
338
+ export { LensContract__factory };
@@ -2200,7 +2200,7 @@ var _abi = [
2200
2200
  type: "function",
2201
2201
  },
2202
2202
  ];
2203
- export var LockVeAbond__factory = /** @class */ (function () {
2203
+ var LockVeAbond__factory = /** @class */ (function () {
2204
2204
  function LockVeAbond__factory() {
2205
2205
  }
2206
2206
  LockVeAbond__factory.createInterface = function () {
@@ -2212,3 +2212,4 @@ export var LockVeAbond__factory = /** @class */ (function () {
2212
2212
  LockVeAbond__factory.abi = _abi;
2213
2213
  return LockVeAbond__factory;
2214
2214
  }());
2215
+ export { LockVeAbond__factory };
@@ -1641,7 +1641,7 @@ var _abi = [
1641
1641
  type: "function",
1642
1642
  },
1643
1643
  ];
1644
- export var MigrationBond__factory = /** @class */ (function () {
1644
+ var MigrationBond__factory = /** @class */ (function () {
1645
1645
  function MigrationBond__factory() {
1646
1646
  }
1647
1647
  MigrationBond__factory.createInterface = function () {
@@ -1653,3 +1653,4 @@ export var MigrationBond__factory = /** @class */ (function () {
1653
1653
  MigrationBond__factory.abi = _abi;
1654
1654
  return MigrationBond__factory;
1655
1655
  }());
1656
+ export { MigrationBond__factory };
@@ -331,7 +331,7 @@ var _abi = [
331
331
  type: "function",
332
332
  },
333
333
  ];
334
- export var MigrationFveAbond__factory = /** @class */ (function () {
334
+ var MigrationFveAbond__factory = /** @class */ (function () {
335
335
  function MigrationFveAbond__factory() {
336
336
  }
337
337
  MigrationFveAbond__factory.createInterface = function () {
@@ -343,3 +343,4 @@ export var MigrationFveAbond__factory = /** @class */ (function () {
343
343
  MigrationFveAbond__factory.abi = _abi;
344
344
  return MigrationFveAbond__factory;
345
345
  }());
346
+ export { MigrationFveAbond__factory };
@@ -571,7 +571,7 @@ var _abi = [
571
571
  type: "function",
572
572
  },
573
573
  ];
574
- export var MiniComplexRewarder__factory = /** @class */ (function () {
574
+ var MiniComplexRewarder__factory = /** @class */ (function () {
575
575
  function MiniComplexRewarder__factory() {
576
576
  }
577
577
  MiniComplexRewarder__factory.createInterface = function () {
@@ -583,3 +583,4 @@ export var MiniComplexRewarder__factory = /** @class */ (function () {
583
583
  MiniComplexRewarder__factory.abi = _abi;
584
584
  return MiniComplexRewarder__factory;
585
585
  }());
586
+ export { MiniComplexRewarder__factory };
@@ -145,7 +145,7 @@ var _abi = [
145
145
  type: "function",
146
146
  },
147
147
  ];
148
- export var Multicallv2__factory = /** @class */ (function () {
148
+ var Multicallv2__factory = /** @class */ (function () {
149
149
  function Multicallv2__factory() {
150
150
  }
151
151
  Multicallv2__factory.createInterface = function () {
@@ -157,3 +157,4 @@ export var Multicallv2__factory = /** @class */ (function () {
157
157
  Multicallv2__factory.abi = _abi;
158
158
  return Multicallv2__factory;
159
159
  }());
160
+ export { Multicallv2__factory };
@@ -94,7 +94,7 @@ var _abi = [
94
94
  type: "function",
95
95
  },
96
96
  ];
97
- export var Multicallv3__factory = /** @class */ (function () {
97
+ var Multicallv3__factory = /** @class */ (function () {
98
98
  function Multicallv3__factory() {
99
99
  }
100
100
  Multicallv3__factory.createInterface = function () {
@@ -106,3 +106,4 @@ export var Multicallv3__factory = /** @class */ (function () {
106
106
  Multicallv3__factory.abi = _abi;
107
107
  return Multicallv3__factory;
108
108
  }());
109
+ export { Multicallv3__factory };
@@ -795,7 +795,7 @@ var _abi = [
795
795
  type: "function",
796
796
  },
797
797
  ];
798
- export var NonFungibleApes__factory = /** @class */ (function () {
798
+ var NonFungibleApes__factory = /** @class */ (function () {
799
799
  function NonFungibleApes__factory() {
800
800
  }
801
801
  NonFungibleApes__factory.createInterface = function () {
@@ -807,3 +807,4 @@ export var NonFungibleApes__factory = /** @class */ (function () {
807
807
  NonFungibleApes__factory.abi = _abi;
808
808
  return NonFungibleApes__factory;
809
809
  }());
810
+ export { NonFungibleApes__factory };
@@ -741,7 +741,7 @@ var _abi = [
741
741
  type: "function",
742
742
  },
743
743
  ];
744
- export var NonFungibleBananas__factory = /** @class */ (function () {
744
+ var NonFungibleBananas__factory = /** @class */ (function () {
745
745
  function NonFungibleBananas__factory() {
746
746
  }
747
747
  NonFungibleBananas__factory.createInterface = function () {
@@ -753,3 +753,4 @@ export var NonFungibleBananas__factory = /** @class */ (function () {
753
753
  NonFungibleBananas__factory.abi = _abi;
754
754
  return NonFungibleBananas__factory;
755
755
  }());
756
+ export { NonFungibleBananas__factory };
@@ -1450,7 +1450,7 @@ var _abi = [
1450
1450
  type: "function",
1451
1451
  },
1452
1452
  ];
1453
- export var PriceGetterLinea__factory = /** @class */ (function () {
1453
+ var PriceGetterLinea__factory = /** @class */ (function () {
1454
1454
  function PriceGetterLinea__factory() {
1455
1455
  }
1456
1456
  PriceGetterLinea__factory.createInterface = function () {
@@ -1462,3 +1462,4 @@ export var PriceGetterLinea__factory = /** @class */ (function () {
1462
1462
  PriceGetterLinea__factory.abi = _abi;
1463
1463
  return PriceGetterLinea__factory;
1464
1464
  }());
1465
+ export { PriceGetterLinea__factory };
@@ -1349,7 +1349,7 @@ var _abi = [
1349
1349
  type: "function",
1350
1350
  },
1351
1351
  ];
1352
- export var PriceGetterV2__factory = /** @class */ (function () {
1352
+ var PriceGetterV2__factory = /** @class */ (function () {
1353
1353
  function PriceGetterV2__factory() {
1354
1354
  }
1355
1355
  PriceGetterV2__factory.createInterface = function () {
@@ -1361,3 +1361,4 @@ export var PriceGetterV2__factory = /** @class */ (function () {
1361
1361
  PriceGetterV2__factory.abi = _abi;
1362
1362
  return PriceGetterV2__factory;
1363
1363
  }());
1364
+ export { PriceGetterV2__factory };
@@ -1311,7 +1311,7 @@ var _abi = [
1311
1311
  type: "function",
1312
1312
  },
1313
1313
  ];
1314
- export var PriceGetter__factory = /** @class */ (function () {
1314
+ var PriceGetter__factory = /** @class */ (function () {
1315
1315
  function PriceGetter__factory() {
1316
1316
  }
1317
1317
  PriceGetter__factory.createInterface = function () {
@@ -1323,3 +1323,4 @@ export var PriceGetter__factory = /** @class */ (function () {
1323
1323
  PriceGetter__factory.abi = _abi;
1324
1324
  return PriceGetter__factory;
1325
1325
  }());
1326
+ export { PriceGetter__factory };
@@ -651,7 +651,7 @@ var _abi = [
651
651
  type: "receive",
652
652
  },
653
653
  ];
654
- export var SousChef__factory = /** @class */ (function () {
654
+ var SousChef__factory = /** @class */ (function () {
655
655
  function SousChef__factory() {
656
656
  }
657
657
  SousChef__factory.createInterface = function () {
@@ -663,3 +663,4 @@ export var SousChef__factory = /** @class */ (function () {
663
663
  SousChef__factory.abi = _abi;
664
664
  return SousChef__factory;
665
665
  }());
666
+ export { SousChef__factory };
@@ -294,7 +294,7 @@ var _abi = [
294
294
  type: "function",
295
295
  },
296
296
  ];
297
- export var Treasury__factory = /** @class */ (function () {
297
+ var Treasury__factory = /** @class */ (function () {
298
298
  function Treasury__factory() {
299
299
  }
300
300
  Treasury__factory.createInterface = function () {
@@ -306,3 +306,4 @@ export var Treasury__factory = /** @class */ (function () {
306
306
  Treasury__factory.abi = _abi;
307
307
  return Treasury__factory;
308
308
  }());
309
+ export { Treasury__factory };
@@ -281,7 +281,7 @@ var _abi = [
281
281
  type: "event",
282
282
  },
283
283
  ];
284
- export var Weth__factory = /** @class */ (function () {
284
+ var Weth__factory = /** @class */ (function () {
285
285
  function Weth__factory() {
286
286
  }
287
287
  Weth__factory.createInterface = function () {
@@ -293,3 +293,4 @@ export var Weth__factory = /** @class */ (function () {
293
293
  Weth__factory.abi = _abi;
294
294
  return Weth__factory;
295
295
  }());
296
+ export { Weth__factory };
@@ -874,7 +874,7 @@ var _abi = [
874
874
  type: "receive",
875
875
  },
876
876
  ];
877
- export var Zap__factory = /** @class */ (function () {
877
+ var Zap__factory = /** @class */ (function () {
878
878
  function Zap__factory() {
879
879
  }
880
880
  Zap__factory.createInterface = function () {
@@ -886,3 +886,4 @@ export var Zap__factory = /** @class */ (function () {
886
886
  Zap__factory.abi = _abi;
887
887
  return Zap__factory;
888
888
  }());
889
+ export { Zap__factory };
@@ -42,11 +42,11 @@ export var SWAP_ROUTER_ADDRESSES = (_e = {},
42
42
  _e);
43
43
  export var PRICE_GETTER_ADDRESSES = (_f = {},
44
44
  _f[SupportedChainId.BSC_TESTNET] = '0x85d2C626E28a42E184cF8e32db1461013D23331D',
45
- _f[SupportedChainId.BSC] = '0xF08Fc6d054880699A8a5Ebc363238c98B39FEbC9',
46
- _f[SupportedChainId.POLYGON] = '0x6908356faC751dA36F4ec1B4ADBc56d0B3862155',
47
- _f[SupportedChainId.MAINNET] = '0x10ffd467e8701fc2887b3df9b9a31adfefd388ec',
45
+ _f[SupportedChainId.BSC] = '0xF08Fc6d054880699A8a5Ebc363238c98B39FEbC9', // Price getter V2.2
46
+ _f[SupportedChainId.POLYGON] = '0x6908356faC751dA36F4ec1B4ADBc56d0B3862155', // Price getter v2.1
47
+ _f[SupportedChainId.MAINNET] = '0x10ffd467e8701fc2887b3df9b9a31adfefd388ec', // Price getter V2.1
48
48
  _f[SupportedChainId.TLOS] = '0x85d2C626E28a42E184cF8e32db1461013D23331D',
49
- _f[SupportedChainId.ARBITRUM_ONE] = '0xfa7598C50fbA17b64EBB8Ed2058564D9b5359b03',
49
+ _f[SupportedChainId.ARBITRUM_ONE] = '0xfa7598C50fbA17b64EBB8Ed2058564D9b5359b03', // Price getter V2.1
50
50
  _f[ChainId.LINEA] = '0x35b1eadAbaDD0Edd26076247f3dEdF9E15De8D5D',
51
51
  _f[ChainId.LIGHTLINK] = '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4',
52
52
  _f[ChainId.IOTA] = '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4',
@@ -1,6 +1,6 @@
1
- export declare const apiV2BaseUrl: string;
2
- export declare const bondsRealTimeApi: string;
3
- export declare const baseUrlStrapi: string;
4
- export declare const mailChimpUrl: string;
1
+ export declare const apiV2BaseUrl = "https://staging-api.ape.bond";
2
+ export declare const bondsRealTimeApi = "https://realtime-api-staging.ape.bond/bonds";
3
+ export declare const baseUrlStrapi = "https://apeswap-strapi.herokuapp.com";
4
+ export declare const mailChimpUrl = "";
5
5
  export declare const LHD_API_TEMP = "https://lhd-temp-api.herokuapp.com";
6
6
  export declare const LHD_API = "https://lhd-api.apeswap.finance";
@@ -1,6 +1,6 @@
1
- export var apiV2BaseUrl = process.env.NEXT_PUBLIC_API_V2_BASE_URL || 'https://staging-api.ape.bond';
2
- export var bondsRealTimeApi = process.env.NEXT_PUBLIC_REAL_TIME_API || 'https://realtime-api-staging.ape.bond/bonds';
3
- export var baseUrlStrapi = process.env.NEXT_PUBLIC_API_STRAPI_BASE_URL || 'https://apeswap-strapi.herokuapp.com';
4
- export var mailChimpUrl = "https://finance.us10.list-manage.com/subscribe/post?u=".concat(process.env.NEXT_PUBLIC_MAILCHIMP_U, "&id=").concat(process.env.NEXT_PUBLIC_MAILCHIMP_ID);
1
+ export var apiV2BaseUrl = 'https://staging-api.ape.bond';
2
+ export var bondsRealTimeApi = 'https://realtime-api-staging.ape.bond/bonds';
3
+ export var baseUrlStrapi = 'https://apeswap-strapi.herokuapp.com';
4
+ export var mailChimpUrl = "";
5
5
  export var LHD_API_TEMP = 'https://lhd-temp-api.herokuapp.com';
6
6
  export var LHD_API = 'https://lhd-api.apeswap.finance';
@@ -1,7 +1,7 @@
1
1
  export declare const APESWAP_LIST_REPO_BRANCH = "staging";
2
- export declare const APESWAP_LISTS_URL: string;
3
- export declare const APESWAP_LIST_REPO: string;
4
- export declare const APESWAP: string;
2
+ export declare const APESWAP_LISTS_URL = "https://raw.githubusercontent.com/ApeSwapFinance/apeswap-lists/staging";
3
+ export declare const APESWAP_LIST_REPO = "https://raw.githubusercontent.com/ApeSwapFinance/apeswap-token-lists/staging";
4
+ export declare const APESWAP = "https://raw.githubusercontent.com/ApeSwapFinance/apeswap-token-lists/staging/lists/apeswap.json";
5
5
  export declare const LIFI = "https://li.quest/v1/tokens";
6
6
  export declare const UNSUPPORTED_LIST_URLS: string[];
7
7
  export declare const DEFAULT_ACTIVE_LIST_URLS: string[];
@@ -19,8 +19,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
19
19
  });
20
20
  };
21
21
  var __generator = (this && this.__generator) || function (thisArg, body) {
22
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
23
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
22
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
23
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
@@ -130,5 +130,5 @@ export var LanguageProvider = function (_a) {
130
130
  }
131
131
  return translatedText;
132
132
  }, [currentLanguage]);
133
- return _jsx(LanguageContext.Provider, __assign({ value: __assign(__assign({}, state), { setLanguage: setLanguage, t: translate }) }, { children: children }));
133
+ return _jsx(LanguageContext.Provider, { value: __assign(__assign({}, state), { setLanguage: setLanguage, t: translate }), children: children });
134
134
  };
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  var __generator = (this && this.__generator) || function (thisArg, body) {
11
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
12
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
11
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
12
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
13
  function verb(n) { return function (v) { return step([n, v]); }; }
14
14
  function step(op) {
15
15
  if (f) throw new TypeError("Generator is already executing.");
@@ -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)) {
@@ -60,19 +49,19 @@ var ModalProvider = function (_a) {
60
49
  handleDismiss();
61
50
  }
62
51
  };
63
- return (_jsxs(Context.Provider, __assign({ value: {
52
+ return (_jsxs(Context.Provider, { value: {
64
53
  nodeId: nodeId,
65
54
  modalNode: modalNode,
66
55
  setModalNode: setModalNode,
67
56
  onPresent: handlePresent,
68
57
  handleClose: handleDismiss,
69
58
  setCloseOnOverlayClick: setCloseOnOverlayClick,
70
- } }, { children: [modalNode.map(function (modal, i) {
59
+ }, children: [modalNode.map(function (modal, i) {
71
60
  return (_jsxs(Flex, { children: [_jsx(Flex, { onClick: handleOverlayDismiss }), React.isValidElement(modal) &&
72
61
  React.cloneElement(modal, {
73
62
  // @ts-ignore
74
63
  onDismiss: handleDismiss,
75
64
  })] }, nodeId[i]));
76
- }), children] })));
65
+ }), children] }));
77
66
  };
78
67
  export default ModalProvider;
@@ -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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
2
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
3
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -19,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
19
8
  });
20
9
  };
21
10
  var __generator = (this && this.__generator) || function (thisArg, body) {
22
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
23
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
11
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
12
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24
13
  function verb(n) { return function (v) { return step([n, v]); }; }
25
14
  function step(op) {
26
15
  if (f) throw new TypeError("Generator is already executing.");
@@ -84,6 +73,6 @@ var RefreshContextProvider = function (_a) {
84
73
  }); }, SLOW_INTERVAL);
85
74
  return function () { return clearInterval(interval); };
86
75
  }, []);
87
- return _jsx(RefreshContext.Provider, __assign({ value: { slow: slow, fast: fast, veryFast: veryFast } }, { children: children }));
76
+ return _jsx(RefreshContext.Provider, { value: { slow: slow, fast: fast, veryFast: veryFast }, children: children });
88
77
  };
89
78
  export { RefreshContext, RefreshContextProvider };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import Bonds from './pages/Bonds/Bonds';
2
- import YourBonds from './pages/YourBonds/YourBonds';
3
- import BondModal from './components/Modals/BondModal/BondModal';
4
- import YourBondsModal from './components/Modals/YourBondsModal/YourBondsModal';
1
+ import Bonds from './views/Bonds/Bonds';
2
+ import YourBonds from './views/YourBonds/YourBonds';
3
+ import YourBondsModal from './views/YourBondsModal/YourBondsModal';
4
+ import BondModal from './views/BondModal';
5
5
  export { Bonds, BondModal, YourBonds, YourBondsModal };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // src/index.ts
2
- import Bonds from './pages/Bonds/Bonds';
3
- import YourBonds from './pages/YourBonds/YourBonds';
4
- import BondModal from './components/Modals/BondModal/BondModal';
5
- import YourBondsModal from './components/Modals/YourBondsModal/YourBondsModal';
2
+ import Bonds from './views/Bonds/Bonds';
3
+ import YourBonds from './views/YourBonds/YourBonds';
4
+ import YourBondsModal from './views/YourBondsModal/YourBondsModal';
5
+ import BondModal from './views/BondModal';
6
6
  export { Bonds, BondModal, YourBonds, YourBondsModal };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ /**
3
+ * This is the list of local providers that will be used internally by the SDK
4
+ */
5
+ declare const Providers: ({ children }: {
6
+ children: React.ReactNode;
7
+ }) => React.JSX.Element;
8
+ export default Providers;
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx } from "theme-ui/jsx-runtime";
2
+ import ModalProvider from "../contexts/ModalContext";
3
+ import { defaultTheme } from "../theme";
4
+ import { ThemeUIProvider } from "theme-ui";
5
+ /**
6
+ * This is the list of local providers that will be used internally by the SDK
7
+ */
8
+ var Providers = function (_a) {
9
+ var children = _a.children;
10
+ return (_jsx(ThemeUIProvider, { theme: defaultTheme, children: _jsx(ModalProvider, { children: children }) }));
11
+ };
12
+ export default Providers;
@@ -8,7 +8,7 @@
8
8
  display: flex;
9
9
  justify-content: center;
10
10
  align-items: center;
11
- z-index: 1000;
11
+ z-index: 100;
12
12
  }
13
13
 
14
14
  .modal-content {
@@ -1,13 +1,13 @@
1
1
  var colors = {
2
2
  // main background gradients
3
- white1: '#0E0D16',
3
+ white1: '#0E0D16', // base site background
4
4
  white2: '#161420',
5
5
  white3: '#1F1D29',
6
6
  white4: '#282632',
7
7
  white5: '#312F3A',
8
8
  brandPrimary140: '#C1BDE7',
9
9
  navBar: 'rgba(22, 20, 32, 0.8)',
10
- primaryButton: '#6560C5',
10
+ primaryButton: '#6560C5', //this should've been called just "primary"
11
11
  primaryShade: '#514CA133',
12
12
  secondary: '#E69275',
13
13
  footer: '#000000',
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  var __generator = (this && this.__generator) || function (thisArg, body) {
11
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
12
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
11
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
12
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
13
  function verb(n) { return function (v) { return step([n, v]); }; }
14
14
  function step(op) {
15
15
  if (f) throw new TypeError("Generator is already executing.");
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  var __generator = (this && this.__generator) || function (thisArg, body) {
11
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
12
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
11
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
12
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
13
  function verb(n) { return function (v) { return step([n, v]); }; }
14
14
  function step(op) {
15
15
  if (f) throw new TypeError("Generator is already executing.");
@@ -1,7 +1,7 @@
1
1
  /** @jsxImportSource theme-ui */
2
2
  import React from 'react';
3
- import '../../../scss/BondModal.scss';
4
- interface BondModalProps {
3
+ import '../../scss/BondModal.scss';
4
+ export interface BondModalProps {
5
5
  account: string;
6
6
  isActive: boolean;
7
7
  isOpen: boolean;