@rango-dev/widget-embedded 0.17.1-next.9 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/CHANGELOG.md +116 -0
  2. package/dist/QueueManager.d.ts +3 -1
  3. package/dist/QueueManager.d.ts.map +1 -1
  4. package/dist/components/AppRouter.d.ts.map +1 -1
  5. package/dist/components/AppRoutes.d.ts.map +1 -1
  6. package/dist/components/BlockchainsSection/BlockchainsSection.d.ts.map +1 -1
  7. package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts +1 -1
  8. package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts.map +1 -1
  9. package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +690 -61
  10. package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts.map +1 -1
  11. package/dist/components/ConfirmWalletsModal/ConfirmWalletsModal.d.ts.map +1 -1
  12. package/dist/components/HeaderButtons/HomeButtons.d.ts.map +1 -1
  13. package/dist/components/Layout/Layout.d.ts.map +1 -1
  14. package/dist/components/Layout/Layout.styles.d.ts.map +1 -1
  15. package/dist/components/Layout/Layout.types.d.ts +2 -2
  16. package/dist/components/Layout/Layout.types.d.ts.map +1 -1
  17. package/dist/components/LoadingSwapDetails/LoadingSwapDetails.d.ts.map +1 -1
  18. package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts +1727 -0
  19. package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts.map +1 -1
  20. package/dist/components/NoResult/NoResult.d.ts.map +1 -1
  21. package/dist/components/NotificationContent/NotificationContent.d.ts.map +1 -1
  22. package/dist/components/Quote/Quote.d.ts.map +1 -1
  23. package/dist/components/Quote/Quote.styles.d.ts +793 -5
  24. package/dist/components/Quote/Quote.styles.d.ts.map +1 -1
  25. package/dist/components/Quote/Quote.types.d.ts +0 -1
  26. package/dist/components/Quote/Quote.types.d.ts.map +1 -1
  27. package/dist/components/Quote/QuoteSummary.styles.d.ts +157 -0
  28. package/dist/components/Quote/QuoteSummary.styles.d.ts.map +1 -1
  29. package/dist/components/Quote/index.d.ts +0 -1
  30. package/dist/components/Quote/index.d.ts.map +1 -1
  31. package/dist/components/QuoteSkeleton/QuoteSkeleton.d.ts.map +1 -0
  32. package/dist/components/{Quote → QuoteSkeleton}/QuoteSkeleton.styles.d.ts +314 -0
  33. package/dist/components/QuoteSkeleton/QuoteSkeleton.styles.d.ts.map +1 -0
  34. package/dist/components/QuoteSkeleton/QuoteSkeleton.types.d.ts.map +1 -0
  35. package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.d.ts +4 -0
  36. package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.d.ts.map +1 -0
  37. package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.styles.d.ts +1571 -0
  38. package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.styles.d.ts.map +1 -0
  39. package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.types.d.ts +6 -0
  40. package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.types.d.ts.map +1 -0
  41. package/dist/components/QuoteSkeleton/StepSkeleton.d.ts +4 -0
  42. package/dist/components/QuoteSkeleton/StepSkeleton.d.ts.map +1 -0
  43. package/dist/components/QuoteSkeleton/StepSkeleton.styles.d.ts +786 -0
  44. package/dist/components/QuoteSkeleton/StepSkeleton.styles.d.ts.map +1 -0
  45. package/dist/components/QuoteSkeleton/StepSkeleton.types.d.ts +4 -0
  46. package/dist/components/QuoteSkeleton/StepSkeleton.types.d.ts.map +1 -0
  47. package/dist/components/QuoteSkeleton/index.d.ts +4 -0
  48. package/dist/components/QuoteSkeleton/index.d.ts.map +1 -0
  49. package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.d.ts.map +1 -1
  50. package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.helpers.d.ts.map +1 -1
  51. package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.d.ts.map +1 -1
  52. package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.types.d.ts +1 -0
  53. package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.types.d.ts.map +1 -1
  54. package/dist/components/Slippage/Slippage.d.ts.map +1 -1
  55. package/dist/components/Slippage/Slippage.styles.d.ts +158 -0
  56. package/dist/components/Slippage/Slippage.styles.d.ts.map +1 -1
  57. package/dist/components/SwapDetails/SwapDetails.Placeholder.d.ts.map +1 -1
  58. package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
  59. package/dist/components/SwapDetails/SwapDetails.helpers.d.ts +1 -1
  60. package/dist/components/SwapDetails/SwapDetails.helpers.d.ts.map +1 -1
  61. package/dist/components/SwapDetails/SwapDetails.styles.d.ts +628 -0
  62. package/dist/components/SwapDetails/SwapDetails.styles.d.ts.map +1 -1
  63. package/dist/components/SwapDetailsModal/SwapDetailsCompleteModal.d.ts.map +1 -1
  64. package/dist/components/SwapDetailsModal/SwapDetailsModal.WalletState.d.ts.map +1 -1
  65. package/dist/components/SwapDetailsModal/SwapDetailsModal.helpers.d.ts +1 -1
  66. package/dist/components/SwapDetailsModal/SwapDetailsModal.helpers.d.ts.map +1 -1
  67. package/dist/components/SwapDetailsModal/SwapDetailsModal.types.d.ts +1 -1
  68. package/dist/components/SwapDetailsModal/SwapDetailsModal.types.d.ts.map +1 -1
  69. package/dist/components/SwapsGroup/SwapsGroup.d.ts.map +1 -1
  70. package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts +157 -0
  71. package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts.map +1 -1
  72. package/dist/components/TokenList/TokenList.d.ts.map +1 -1
  73. package/dist/components/TokenList/TokenList.helpers.d.ts +2 -2
  74. package/dist/components/TokenList/TokenList.helpers.d.ts.map +1 -1
  75. package/dist/components/TokenList/TokenList.styles.d.ts +1100 -1
  76. package/dist/components/TokenList/TokenList.styles.d.ts.map +1 -1
  77. package/dist/components/TokenList/TokenList.types.d.ts +4 -9
  78. package/dist/components/TokenList/TokenList.types.d.ts.map +1 -1
  79. package/dist/components/TokenList/index.d.ts +0 -1
  80. package/dist/components/TokenList/index.d.ts.map +1 -1
  81. package/dist/components/UpdateUrl.d.ts.map +1 -1
  82. package/dist/constants/errors.d.ts.map +1 -1
  83. package/dist/constants/index.d.ts +1 -0
  84. package/dist/constants/index.d.ts.map +1 -1
  85. package/dist/constants/navigationRoutes.d.ts +1 -2
  86. package/dist/constants/navigationRoutes.d.ts.map +1 -1
  87. package/dist/containers/App/App.d.ts +3 -0
  88. package/dist/containers/App/App.d.ts.map +1 -0
  89. package/dist/containers/App/App.styles.d.ts +158 -0
  90. package/dist/containers/App/App.styles.d.ts.map +1 -0
  91. package/dist/containers/App/index.d.ts +2 -0
  92. package/dist/containers/App/index.d.ts.map +1 -0
  93. package/dist/containers/QuoteInfo/QuoteInfo.d.ts.map +1 -1
  94. package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts +316 -0
  95. package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts.map +1 -1
  96. package/dist/containers/QuoteInfo/QuoteInfo.types.d.ts +3 -0
  97. package/dist/containers/QuoteInfo/QuoteInfo.types.d.ts.map +1 -1
  98. package/dist/containers/Wallets/Wallets.d.ts +6 -0
  99. package/dist/containers/Wallets/Wallets.d.ts.map +1 -0
  100. package/dist/containers/Wallets/Wallets.types.d.ts +11 -0
  101. package/dist/containers/Wallets/Wallets.types.d.ts.map +1 -0
  102. package/dist/containers/Wallets/index.d.ts +2 -0
  103. package/dist/containers/Wallets/index.d.ts.map +1 -0
  104. package/dist/containers/Widget/Widget.d.ts +5 -0
  105. package/dist/containers/Widget/Widget.d.ts.map +1 -0
  106. package/dist/containers/Widget/Widget.types.d.ts +5 -0
  107. package/dist/containers/Widget/Widget.types.d.ts.map +1 -0
  108. package/dist/containers/Widget/index.d.ts +3 -0
  109. package/dist/containers/Widget/index.d.ts.map +1 -0
  110. package/dist/containers/WidgetInfo/WidgetInfo.d.ts +6 -0
  111. package/dist/containers/WidgetInfo/WidgetInfo.d.ts.map +1 -0
  112. package/dist/containers/WidgetInfo/WidgetInfo.helpers.d.ts +20 -0
  113. package/dist/containers/WidgetInfo/WidgetInfo.helpers.d.ts.map +1 -0
  114. package/dist/containers/WidgetInfo/WidgetInfo.types.d.ts +21 -0
  115. package/dist/containers/WidgetInfo/WidgetInfo.types.d.ts.map +1 -0
  116. package/dist/containers/WidgetInfo/index.d.ts +2 -0
  117. package/dist/containers/WidgetInfo/index.d.ts.map +1 -0
  118. package/dist/containers/WidgetProvider/WidgetProvider.d.ts +5 -0
  119. package/dist/containers/WidgetProvider/WidgetProvider.d.ts.map +1 -0
  120. package/dist/containers/WidgetProvider/WidgetProvider.types.d.ts +7 -0
  121. package/dist/containers/WidgetProvider/WidgetProvider.types.d.ts.map +1 -0
  122. package/dist/containers/WidgetProvider/index.d.ts +2 -0
  123. package/dist/containers/WidgetProvider/index.d.ts.map +1 -0
  124. package/dist/hooks/useConfirmSwap/useConfirmSwap.d.ts.map +1 -1
  125. package/dist/hooks/useConfirmSwap/useConfirmSwap.helpers.d.ts +6 -3
  126. package/dist/hooks/useConfirmSwap/useConfirmSwap.helpers.d.ts.map +1 -1
  127. package/dist/hooks/useConfirmSwap/useConfirmSwap.types.d.ts +1 -1
  128. package/dist/hooks/useConfirmSwap/useConfirmSwap.types.d.ts.map +1 -1
  129. package/dist/hooks/useLanguage.d.ts +1 -1
  130. package/dist/hooks/useLanguage.d.ts.map +1 -1
  131. package/dist/hooks/useNavigateBack.d.ts +1 -3
  132. package/dist/hooks/useNavigateBack.d.ts.map +1 -1
  133. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.constants.d.ts +1 -1
  134. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.d.ts +2 -2
  135. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.d.ts.map +1 -1
  136. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.helpers.d.ts +3 -5
  137. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.helpers.d.ts.map +1 -1
  138. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.mock.d.ts +1 -0
  139. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.mock.d.ts.map +1 -1
  140. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.types.d.ts +5 -1
  141. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.types.d.ts.map +1 -1
  142. package/dist/hooks/useSwapInput.d.ts.map +1 -1
  143. package/dist/hooks/useSyncStoresWithConfig.d.ts.map +1 -1
  144. package/dist/hooks/useTheme.d.ts +1 -1
  145. package/dist/hooks/useTheme.d.ts.map +1 -1
  146. package/dist/index.d.ts +20 -8
  147. package/dist/index.d.ts.map +1 -1
  148. package/dist/index.js +1 -1
  149. package/dist/index.js.map +4 -4
  150. package/dist/pages/ConfirmSwapPage.d.ts.map +1 -1
  151. package/dist/pages/HistoryPage.d.ts.map +1 -1
  152. package/dist/pages/Home.d.ts.map +1 -1
  153. package/dist/pages/LanguagePage.d.ts.map +1 -1
  154. package/dist/pages/LiquiditySourcePage.d.ts.map +1 -1
  155. package/dist/pages/SelectBlockchainPage.d.ts.map +1 -1
  156. package/dist/pages/SelectSwapItemsPage.d.ts.map +1 -1
  157. package/dist/pages/SettingsPage.d.ts.map +1 -1
  158. package/dist/pages/SwapDetailsPage.d.ts.map +1 -1
  159. package/dist/pages/ThemePage.d.ts.map +1 -1
  160. package/dist/pages/WalletsPage.d.ts.map +1 -1
  161. package/dist/store/AppStore.d.ts +37 -1
  162. package/dist/store/AppStore.d.ts.map +1 -1
  163. package/dist/store/app.d.ts +39 -2
  164. package/dist/store/app.d.ts.map +1 -1
  165. package/dist/store/notification.d.ts +4 -3
  166. package/dist/store/notification.d.ts.map +1 -1
  167. package/dist/store/quote.d.ts +9 -9
  168. package/dist/store/quote.d.ts.map +1 -1
  169. package/dist/store/slices/config.d.ts.map +1 -1
  170. package/dist/store/slices/data.d.ts +2 -2
  171. package/dist/store/slices/data.d.ts.map +1 -1
  172. package/dist/store/slices/settings.d.ts +39 -0
  173. package/dist/store/slices/settings.d.ts.map +1 -0
  174. package/dist/store/ui.d.ts +2 -1
  175. package/dist/store/ui.d.ts.map +1 -1
  176. package/dist/store/wallets.d.ts +9 -5
  177. package/dist/store/wallets.d.ts.map +1 -1
  178. package/dist/types/config.d.ts +36 -3
  179. package/dist/types/config.d.ts.map +1 -1
  180. package/dist/types/swap.d.ts +4 -14
  181. package/dist/types/swap.d.ts.map +1 -1
  182. package/dist/types/wallets.d.ts +15 -1
  183. package/dist/types/wallets.d.ts.map +1 -1
  184. package/dist/utils/colors.d.ts.map +1 -1
  185. package/dist/utils/configs.d.ts +1 -0
  186. package/dist/utils/configs.d.ts.map +1 -1
  187. package/dist/utils/meta.d.ts +2 -1
  188. package/dist/utils/meta.d.ts.map +1 -1
  189. package/dist/utils/providers.d.ts +2 -2
  190. package/dist/utils/providers.d.ts.map +1 -1
  191. package/dist/utils/queue.d.ts +2 -2
  192. package/dist/utils/queue.d.ts.map +1 -1
  193. package/dist/utils/quote.d.ts +1 -1
  194. package/dist/utils/quote.d.ts.map +1 -1
  195. package/dist/utils/settings.d.ts +4 -1
  196. package/dist/utils/settings.d.ts.map +1 -1
  197. package/dist/utils/swap.d.ts +13 -5
  198. package/dist/utils/swap.d.ts.map +1 -1
  199. package/dist/utils/time.d.ts +1 -1
  200. package/dist/utils/time.d.ts.map +1 -1
  201. package/dist/utils/wallets.d.ts +7 -8
  202. package/dist/utils/wallets.d.ts.map +1 -1
  203. package/package.json +12 -10
  204. package/src/QueueManager.tsx +4 -3
  205. package/src/components/AppRouter.tsx +2 -27
  206. package/src/components/AppRoutes.tsx +54 -33
  207. package/src/components/BlockchainList/BlockchainList.styles.ts +2 -2
  208. package/src/components/BlockchainsSection/BlockchainsSection.styles.ts +1 -1
  209. package/src/components/BlockchainsSection/BlockchainsSection.tsx +19 -10
  210. package/src/components/ConfirmWalletsModal/ConfirmWallets.styles.ts +29 -10
  211. package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +15 -7
  212. package/src/components/ConfirmWalletsModal/WalletList.tsx +3 -3
  213. package/src/components/HeaderButtons/HomeButtons.tsx +28 -18
  214. package/src/components/Layout/Layout.styles.ts +2 -0
  215. package/src/components/Layout/Layout.tsx +20 -7
  216. package/src/components/Layout/Layout.types.ts +2 -2
  217. package/src/components/LoadingSwapDetails/LoadingSwapDetails.styles.ts +65 -61
  218. package/src/components/LoadingSwapDetails/LoadingSwapDetails.tsx +28 -34
  219. package/src/components/NoResult/NoResult.helpers.ts +12 -12
  220. package/src/components/NoResult/NoResult.tsx +2 -5
  221. package/src/components/NotificationContent/NotificationContent.tsx +2 -1
  222. package/src/components/Quote/Quote.styles.ts +49 -12
  223. package/src/components/Quote/Quote.tsx +107 -38
  224. package/src/components/Quote/Quote.types.ts +0 -1
  225. package/src/components/Quote/QuoteSummary.styles.ts +9 -8
  226. package/src/components/Quote/QuoteSummary.tsx +2 -2
  227. package/src/components/Quote/index.ts +0 -1
  228. package/src/components/QuoteSkeleton/QuoteSkeleton.styles.ts +42 -0
  229. package/src/components/QuoteSkeleton/QuoteSkeleton.tsx +30 -0
  230. package/src/components/QuoteSkeleton/QuoteSummarySkeleton.styles.ts +57 -0
  231. package/src/components/QuoteSkeleton/QuoteSummarySkeleton.tsx +76 -0
  232. package/src/components/QuoteSkeleton/QuoteSummarySkeleton.types.ts +6 -0
  233. package/src/components/QuoteSkeleton/StepSkeleton.styles.ts +33 -0
  234. package/src/components/QuoteSkeleton/StepSkeleton.tsx +44 -0
  235. package/src/components/QuoteSkeleton/StepSkeleton.types.ts +1 -0
  236. package/src/components/QuoteSkeleton/index.ts +3 -0
  237. package/src/components/QuoteWarningsAndErrors/QuoteErrorsModalItem.tsx +1 -1
  238. package/src/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.helpers.ts +11 -4
  239. package/src/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.ts +8 -1
  240. package/src/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.tsx +13 -13
  241. package/src/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.types.ts +1 -0
  242. package/src/components/QuoteWarningsAndErrors/SlippageWariningModal.tsx +3 -3
  243. package/src/components/Slippage/Slippage.styles.ts +15 -5
  244. package/src/components/Slippage/Slippage.tsx +11 -10
  245. package/src/components/SwapDetails/SwapDetails.Placeholder.tsx +5 -8
  246. package/src/components/SwapDetails/SwapDetails.helpers.tsx +1 -1
  247. package/src/components/SwapDetails/SwapDetails.styles.ts +36 -33
  248. package/src/components/SwapDetails/SwapDetails.tsx +28 -39
  249. package/src/components/SwapDetailsAlerts/SwapDetailsAlerts.Warning.tsx +1 -1
  250. package/src/components/SwapDetailsModal/SwapDetailsCompleteModal.tsx +4 -3
  251. package/src/components/SwapDetailsModal/SwapDetailsModal.Cancel.tsx +2 -2
  252. package/src/components/SwapDetailsModal/SwapDetailsModal.WalletState.tsx +14 -8
  253. package/src/components/SwapDetailsModal/SwapDetailsModal.helpers.tsx +1 -1
  254. package/src/components/SwapDetailsModal/SwapDetailsModal.tsx +1 -1
  255. package/src/components/SwapDetailsModal/SwapDetailsModal.types.ts +1 -1
  256. package/src/components/SwapsGroup/SwapsGroup.styles.ts +10 -1
  257. package/src/components/SwapsGroup/SwapsGroup.tsx +3 -5
  258. package/src/components/TokenList/TokenList.helpers.ts +2 -2
  259. package/src/components/TokenList/TokenList.styles.ts +74 -38
  260. package/src/components/TokenList/TokenList.tsx +30 -20
  261. package/src/components/TokenList/TokenList.types.ts +4 -10
  262. package/src/components/TokenList/index.ts +0 -1
  263. package/src/components/UpdateUrl.tsx +0 -5
  264. package/src/constants/errors.ts +9 -5
  265. package/src/constants/index.ts +1 -0
  266. package/src/constants/navigationRoutes.ts +7 -8
  267. package/src/containers/App/App.styles.ts +18 -0
  268. package/src/containers/App/App.tsx +52 -0
  269. package/src/containers/App/index.ts +1 -0
  270. package/src/containers/QuoteInfo/QuoteInfo.styles.ts +17 -1
  271. package/src/containers/QuoteInfo/QuoteInfo.tsx +46 -44
  272. package/src/containers/QuoteInfo/QuoteInfo.types.ts +3 -0
  273. package/src/{Wallets.tsx → containers/Wallets/Wallets.tsx} +25 -31
  274. package/src/containers/Wallets/Wallets.types.ts +12 -0
  275. package/src/containers/Wallets/index.ts +1 -0
  276. package/src/containers/Widget/Widget.tsx +19 -0
  277. package/src/containers/Widget/Widget.types.ts +5 -0
  278. package/src/containers/Widget/index.ts +2 -0
  279. package/src/containers/WidgetInfo/WidgetInfo.helpers.ts +64 -0
  280. package/src/containers/WidgetInfo/WidgetInfo.tsx +62 -0
  281. package/src/containers/WidgetInfo/WidgetInfo.types.ts +21 -0
  282. package/src/containers/WidgetInfo/index.ts +1 -0
  283. package/src/containers/WidgetProvider/WidgetProvider.tsx +28 -0
  284. package/src/containers/WidgetProvider/WidgetProvider.types.ts +7 -0
  285. package/src/containers/WidgetProvider/index.ts +1 -0
  286. package/src/hooks/useConfirmSwap/useConfirmSwap.helpers.ts +15 -11
  287. package/src/hooks/useConfirmSwap/useConfirmSwap.ts +21 -20
  288. package/src/hooks/useConfirmSwap/useConfirmSwap.types.ts +1 -1
  289. package/src/hooks/useLanguage.ts +4 -5
  290. package/src/hooks/useNavigateBack.ts +3 -52
  291. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.constants.ts +1 -1
  292. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.helpers.ts +37 -7
  293. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.mock.ts +60 -0
  294. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.test.ts +78 -3
  295. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.ts +15 -6
  296. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.types.ts +6 -1
  297. package/src/hooks/useSwapInput.ts +86 -28
  298. package/src/hooks/useSyncStoresWithConfig.ts +18 -5
  299. package/src/hooks/useTheme.ts +4 -5
  300. package/src/index.ts +53 -5
  301. package/src/pages/ConfirmSwapPage.tsx +61 -33
  302. package/src/pages/HistoryPage.tsx +2 -7
  303. package/src/pages/Home.tsx +55 -81
  304. package/src/pages/LanguagePage.tsx +0 -5
  305. package/src/pages/LiquiditySourcePage.tsx +3 -7
  306. package/src/pages/SelectBlockchainPage.tsx +26 -18
  307. package/src/pages/SelectSwapItemsPage.tsx +13 -26
  308. package/src/pages/SettingsPage.tsx +26 -17
  309. package/src/pages/SwapDetailsPage.tsx +3 -4
  310. package/src/pages/ThemePage.tsx +2 -7
  311. package/src/pages/WalletsPage.tsx +5 -8
  312. package/src/services/httpService.ts +1 -1
  313. package/src/store/AppStore.tsx +7 -1
  314. package/src/store/app.ts +31 -5
  315. package/src/store/quote.ts +3 -4
  316. package/src/store/slices/config.ts +1 -0
  317. package/src/store/slices/data.ts +10 -6
  318. package/src/store/slices/settings.ts +168 -0
  319. package/src/store/wallets.ts +57 -29
  320. package/src/types/config.ts +48 -3
  321. package/src/types/swap.ts +4 -13
  322. package/src/types/wallets.ts +18 -1
  323. package/src/utils/colors.ts +2 -1
  324. package/src/utils/configs.ts +2 -1
  325. package/src/utils/date.ts +1 -1
  326. package/src/utils/meta.ts +8 -1
  327. package/src/utils/providers.ts +8 -5
  328. package/src/utils/queue.ts +2 -2
  329. package/src/utils/quote.ts +7 -7
  330. package/src/utils/settings.ts +11 -5
  331. package/src/utils/swap.ts +46 -40
  332. package/src/utils/time.ts +1 -1
  333. package/src/utils/wallets.ts +127 -144
  334. package/dist/Wallets.d.ts +0 -18
  335. package/dist/Wallets.d.ts.map +0 -1
  336. package/dist/Widget.d.ts +0 -9
  337. package/dist/Widget.d.ts.map +0 -1
  338. package/dist/components/LoadingSwapDetails/LoadingSwapDetailStep.d.ts +0 -4
  339. package/dist/components/LoadingSwapDetails/LoadingSwapDetailStep.d.ts.map +0 -1
  340. package/dist/components/LoadingSwapDetails/LoadingSwapDetails.types.d.ts +0 -4
  341. package/dist/components/LoadingSwapDetails/LoadingSwapDetails.types.d.ts.map +0 -1
  342. package/dist/components/Quote/QuoteSkeleton.d.ts.map +0 -1
  343. package/dist/components/Quote/QuoteSkeleton.styles.d.ts.map +0 -1
  344. package/dist/components/Quote/QuoteSkeleton.types.d.ts.map +0 -1
  345. package/dist/store/settings.d.ts +0 -82
  346. package/dist/store/settings.d.ts.map +0 -1
  347. package/src/Widget.tsx +0 -106
  348. package/src/components/LoadingSwapDetails/LoadingSwapDetailStep.tsx +0 -41
  349. package/src/components/LoadingSwapDetails/LoadingSwapDetails.types.ts +0 -3
  350. package/src/components/Quote/QuoteSkeleton.styles.ts +0 -110
  351. package/src/components/Quote/QuoteSkeleton.tsx +0 -108
  352. package/src/store/settings.ts +0 -161
  353. /package/dist/components/{Quote → QuoteSkeleton}/QuoteSkeleton.d.ts +0 -0
  354. /package/dist/components/{Quote → QuoteSkeleton}/QuoteSkeleton.types.d.ts +0 -0
  355. /package/src/components/{Quote → QuoteSkeleton}/QuoteSkeleton.types.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"TokenList.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,UAAU,EAAE,MAAM,eAAe,CAAC;AAEnD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIpB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGtB,CAAC;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMvB,CAAC;AACH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAOd,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKvB,CAAC"}
@@ -1,15 +1,10 @@
1
1
  import type { Token } from 'rango-sdk';
2
- export interface TokenWithBalance extends Token {
3
- balance?: {
4
- amount: string;
5
- usdValue: string;
6
- };
7
- }
8
2
  export interface PropTypes {
9
- list: TokenWithBalance[];
3
+ list: Token[];
10
4
  searchedFor?: string;
11
- onChange: (token: TokenWithBalance) => void;
5
+ onChange: (token: Token) => void;
12
6
  selectedBlockchain?: string;
7
+ type: 'source' | 'destination';
13
8
  }
14
9
  export interface LoadingTokenListProps {
15
10
  size: number;
@@ -18,7 +13,7 @@ export interface RenderDescProps {
18
13
  name?: string | null;
19
14
  address: string;
20
15
  url: string;
21
- token: TokenWithBalance;
16
+ token: Token;
22
17
  customCssForTag: TagCSS;
23
18
  customCssForTagTitle: TitleCSS;
24
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TokenList.types.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,gBAAiB,SAAQ,KAAK;IAC7C,OAAO,CAAC,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,gBAAgB,EAAE,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,gBAAgB,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,QAAQ,CAAC;CAChC;AAED,KAAK,MAAM,GAAG;IACZ,CAAC,CAAC,EAAE,MAAM,GACN,MAAM,GACN;QACE,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AACF,KAAK,QAAQ,GAAG;IACd,CAAC,CAAC,EAAE,MAAM,GACN,MAAM,GACN;QACE,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
1
+ {"version":3,"file":"TokenList.types.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,IAAI,EAAE,QAAQ,GAAG,aAAa,CAAC;CAChC;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,QAAQ,CAAC;CAChC;AAED,KAAK,MAAM,GAAG;IACZ,CAAC,CAAC,EAAE,MAAM,GACN,MAAM,GACN;QACE,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AACF,KAAK,QAAQ,GAAG;IACd,CAAC,CAAC,EAAE,MAAM,GACN,MAAM,GACN;QACE,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1,3 +1,2 @@
1
1
  export { TokenList } from './TokenList';
2
- export type { TokenWithBalance } from './TokenList.types';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateUrl.d.ts","sourceRoot":"","sources":["../../src/components/UpdateUrl.tsx"],"names":[],"mappings":"AAeA,wBAAgB,SAAS,SAmJxB"}
1
+ {"version":3,"file":"UpdateUrl.d.ts","sourceRoot":"","sources":["../../src/components/UpdateUrl.tsx"],"names":[],"mappings":"AAcA,wBAAgB,SAAS,SA+IxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/constants/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAM3C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCzB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,UAAU,UASrD"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/constants/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAM3C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CzB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,UAAU,UASrD"}
@@ -1,2 +1,3 @@
1
1
  export declare const RANGO_PUBLIC_API_KEY = "c6381a79-2817-4602-83bf-6a641a409e32";
2
+ export declare const DEFAULT_BASE_URL = "https://api.rango.exchange";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,yCAAyC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,yCAAyC,CAAC;AAC3E,eAAO,MAAM,gBAAgB,+BAA+B,CAAC"}
@@ -1,9 +1,8 @@
1
1
  export declare const navigationRoutes: {
2
2
  home: string;
3
3
  fromSwap: string;
4
- fromBlockchain: string;
5
- toBlockchain: string;
6
4
  toSwap: string;
5
+ blockchains: string;
7
6
  settings: string;
8
7
  liquiditySources: string;
9
8
  themes: string;
@@ -1 +1 @@
1
- {"version":3,"file":"navigationRoutes.d.ts","sourceRoot":"","sources":["../../src/constants/navigationRoutes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;CAgB5B,CAAC"}
1
+ {"version":3,"file":"navigationRoutes.d.ts","sourceRoot":"","sources":["../../src/constants/navigationRoutes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;CAe5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare function Main(): React.JSX.Element;
3
+ //# sourceMappingURL=App.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/containers/App/App.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAc/D,wBAAgB,IAAI,sBAkCnB"}
@@ -0,0 +1,158 @@
1
+ export declare const MainContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
2
+ sm: string;
3
+ md: string;
4
+ lg: string;
5
+ }, import("@stitches/react/types/css-util").CSS<{
6
+ sm: string;
7
+ md: string;
8
+ lg: string;
9
+ }, {
10
+ colors: {
11
+ primary: string;
12
+ primary500: string;
13
+ primary600: string;
14
+ secondary: string;
15
+ secondary100: string;
16
+ secondary200: string;
17
+ secondary300: string;
18
+ secondary400: string;
19
+ secondary500: string;
20
+ secondary600: string;
21
+ secondary700: string;
22
+ secondary800: string;
23
+ secondary900: string;
24
+ neutral: string;
25
+ neutral100: string;
26
+ neutral200: string;
27
+ neutral300: string;
28
+ neutral400: string;
29
+ neutral500: string;
30
+ neutral600: string;
31
+ neutral700: string;
32
+ neutral800: string;
33
+ neutral900: string;
34
+ error100: string;
35
+ error300: string;
36
+ error500: string;
37
+ error600: string;
38
+ error700: string;
39
+ warning100: string;
40
+ warning300: string;
41
+ warning500: string;
42
+ warning600: string;
43
+ warning700: string;
44
+ info: string;
45
+ info100: string;
46
+ info300: string;
47
+ info500: string;
48
+ info600: string;
49
+ info700: string;
50
+ success100: string;
51
+ success300: string;
52
+ success500: string;
53
+ success600: string;
54
+ success700: string;
55
+ background: string;
56
+ foreground: string;
57
+ };
58
+ space: {
59
+ 0: string;
60
+ 5: string;
61
+ 10: string;
62
+ 15: string;
63
+ 20: string;
64
+ 25: string;
65
+ 30: string;
66
+ 40: string;
67
+ 46: string;
68
+ 50: string;
69
+ 60: string;
70
+ 70: string;
71
+ 80: string;
72
+ 90: string;
73
+ 100: string;
74
+ 2: string;
75
+ 4: string;
76
+ 6: string;
77
+ 8: string;
78
+ 12: string;
79
+ 16: string;
80
+ 24: string;
81
+ 28: string;
82
+ 32: string;
83
+ };
84
+ radii: {
85
+ xs: string;
86
+ sm: string;
87
+ xm: string;
88
+ md: string;
89
+ xl: string;
90
+ lg: string;
91
+ primary: string;
92
+ secondary: string;
93
+ };
94
+ fontSizes: {
95
+ 10: string;
96
+ 12: string;
97
+ 14: string;
98
+ 16: string;
99
+ 18: string;
100
+ 20: string;
101
+ 22: string;
102
+ 24: string;
103
+ 28: string;
104
+ 32: string;
105
+ 36: string;
106
+ 40: string;
107
+ 48: string;
108
+ };
109
+ fonts: {
110
+ primary: string;
111
+ widget: string;
112
+ };
113
+ fontWeights: {
114
+ regular: number;
115
+ medium: number;
116
+ semiBold: number;
117
+ bold: number;
118
+ };
119
+ lineHeights: {
120
+ 12: string;
121
+ 16: string;
122
+ 20: string;
123
+ 24: string;
124
+ 26: string;
125
+ 28: string;
126
+ 30: string;
127
+ 36: string;
128
+ 40: string;
129
+ 44: string;
130
+ 52: string;
131
+ 64: string;
132
+ };
133
+ letterSpacings: {};
134
+ sizes: {
135
+ 4: string;
136
+ 6: string;
137
+ 8: string;
138
+ 12: string;
139
+ 16: string;
140
+ 18: string;
141
+ 20: string;
142
+ 24: string;
143
+ 28: string;
144
+ 32: string;
145
+ 36: string;
146
+ 40: string;
147
+ 45: string;
148
+ 48: string;
149
+ };
150
+ borderWidths: {};
151
+ borderStyles: {};
152
+ shadows: {
153
+ s: string;
154
+ };
155
+ zIndices: {};
156
+ transitions: {};
157
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
158
+ //# sourceMappingURL=App.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/App/App.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAexB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Main } from './App';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/App/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QuoteInfo.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAGnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,qBA8EzC"}
1
+ {"version":3,"file":"QuoteInfo.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAGnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,qBAiFzC"}
@@ -1,3 +1,160 @@
1
+ export declare const PositionTopAlerts: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
2
+ sm: string;
3
+ md: string;
4
+ lg: string;
5
+ }, import("@stitches/react/types/css-util").CSS<{
6
+ sm: string;
7
+ md: string;
8
+ lg: string;
9
+ }, {
10
+ colors: {
11
+ primary: string;
12
+ primary500: string;
13
+ primary600: string;
14
+ secondary: string;
15
+ secondary100: string;
16
+ secondary200: string;
17
+ secondary300: string;
18
+ secondary400: string;
19
+ secondary500: string;
20
+ secondary600: string;
21
+ secondary700: string;
22
+ secondary800: string;
23
+ secondary900: string;
24
+ neutral: string;
25
+ neutral100: string;
26
+ neutral200: string;
27
+ neutral300: string;
28
+ neutral400: string;
29
+ neutral500: string;
30
+ neutral600: string;
31
+ neutral700: string;
32
+ neutral800: string;
33
+ neutral900: string;
34
+ error100: string;
35
+ error300: string;
36
+ error500: string;
37
+ error600: string;
38
+ error700: string;
39
+ warning100: string;
40
+ warning300: string;
41
+ warning500: string;
42
+ warning600: string;
43
+ warning700: string;
44
+ info: string;
45
+ info100: string;
46
+ info300: string;
47
+ info500: string;
48
+ info600: string;
49
+ info700: string;
50
+ success100: string;
51
+ success300: string;
52
+ success500: string;
53
+ success600: string;
54
+ success700: string;
55
+ background: string;
56
+ foreground: string;
57
+ };
58
+ space: {
59
+ 0: string;
60
+ 5: string;
61
+ 10: string;
62
+ 15: string;
63
+ 20: string;
64
+ 25: string;
65
+ 30: string;
66
+ 40: string;
67
+ 46: string;
68
+ 50: string;
69
+ 60: string;
70
+ 70: string;
71
+ 80: string;
72
+ 90: string;
73
+ 100: string;
74
+ 2: string;
75
+ 4: string;
76
+ 6: string;
77
+ 8: string;
78
+ 12: string;
79
+ 16: string;
80
+ 24: string;
81
+ 28: string;
82
+ 32: string;
83
+ };
84
+ radii: {
85
+ xs: string;
86
+ sm: string;
87
+ xm: string;
88
+ md: string;
89
+ xl: string;
90
+ lg: string;
91
+ primary: string;
92
+ secondary: string;
93
+ };
94
+ fontSizes: {
95
+ 10: string;
96
+ 12: string;
97
+ 14: string;
98
+ 16: string;
99
+ 18: string;
100
+ 20: string;
101
+ 22: string;
102
+ 24: string;
103
+ 28: string;
104
+ 32: string;
105
+ 36: string;
106
+ 40: string;
107
+ 48: string;
108
+ };
109
+ fonts: {
110
+ primary: string;
111
+ widget: string;
112
+ };
113
+ fontWeights: {
114
+ regular: number;
115
+ medium: number;
116
+ semiBold: number;
117
+ bold: number;
118
+ };
119
+ lineHeights: {
120
+ 12: string;
121
+ 16: string;
122
+ 20: string;
123
+ 24: string;
124
+ 26: string;
125
+ 28: string;
126
+ 30: string;
127
+ 36: string;
128
+ 40: string;
129
+ 44: string;
130
+ 52: string;
131
+ 64: string;
132
+ };
133
+ letterSpacings: {};
134
+ sizes: {
135
+ 4: string;
136
+ 6: string;
137
+ 8: string;
138
+ 12: string;
139
+ 16: string;
140
+ 18: string;
141
+ 20: string;
142
+ 24: string;
143
+ 28: string;
144
+ 32: string;
145
+ 36: string;
146
+ 40: string;
147
+ 45: string;
148
+ 48: string;
149
+ };
150
+ borderWidths: {};
151
+ borderStyles: {};
152
+ shadows: {
153
+ s: string;
154
+ };
155
+ zIndices: {};
156
+ transitions: {};
157
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
1
158
  export declare const QuoteContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
2
159
  sm: string;
3
160
  md: string;
@@ -155,6 +312,165 @@ export declare const QuoteContainer: import("@stitches/react/types/styled-compon
155
312
  zIndices: {};
156
313
  transitions: {};
157
314
  }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
315
+ export declare const SkeletonContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
316
+ paddingTop?: boolean | "true" | undefined;
317
+ }, {
318
+ sm: string;
319
+ md: string;
320
+ lg: string;
321
+ }, import("@stitches/react/types/css-util").CSS<{
322
+ sm: string;
323
+ md: string;
324
+ lg: string;
325
+ }, {
326
+ colors: {
327
+ primary: string;
328
+ primary500: string;
329
+ primary600: string;
330
+ secondary: string;
331
+ secondary100: string;
332
+ secondary200: string;
333
+ secondary300: string;
334
+ secondary400: string;
335
+ secondary500: string;
336
+ secondary600: string;
337
+ secondary700: string;
338
+ secondary800: string;
339
+ secondary900: string;
340
+ neutral: string;
341
+ neutral100: string;
342
+ neutral200: string;
343
+ neutral300: string;
344
+ neutral400: string;
345
+ neutral500: string;
346
+ neutral600: string;
347
+ neutral700: string;
348
+ neutral800: string;
349
+ neutral900: string;
350
+ error100: string;
351
+ error300: string;
352
+ error500: string;
353
+ error600: string;
354
+ error700: string;
355
+ warning100: string;
356
+ warning300: string;
357
+ warning500: string;
358
+ warning600: string;
359
+ warning700: string;
360
+ info: string;
361
+ info100: string;
362
+ info300: string;
363
+ info500: string;
364
+ info600: string;
365
+ info700: string;
366
+ success100: string;
367
+ success300: string;
368
+ success500: string;
369
+ success600: string;
370
+ success700: string;
371
+ background: string;
372
+ foreground: string;
373
+ };
374
+ space: {
375
+ 0: string;
376
+ 5: string;
377
+ 10: string;
378
+ 15: string;
379
+ 20: string;
380
+ 25: string;
381
+ 30: string;
382
+ 40: string;
383
+ 46: string;
384
+ 50: string;
385
+ 60: string;
386
+ 70: string;
387
+ 80: string;
388
+ 90: string;
389
+ 100: string;
390
+ 2: string;
391
+ 4: string;
392
+ 6: string;
393
+ 8: string;
394
+ 12: string;
395
+ 16: string;
396
+ 24: string;
397
+ 28: string;
398
+ 32: string;
399
+ };
400
+ radii: {
401
+ xs: string;
402
+ sm: string;
403
+ xm: string;
404
+ md: string;
405
+ xl: string;
406
+ lg: string;
407
+ primary: string;
408
+ secondary: string;
409
+ };
410
+ fontSizes: {
411
+ 10: string;
412
+ 12: string;
413
+ 14: string;
414
+ 16: string;
415
+ 18: string;
416
+ 20: string;
417
+ 22: string;
418
+ 24: string;
419
+ 28: string;
420
+ 32: string;
421
+ 36: string;
422
+ 40: string;
423
+ 48: string;
424
+ };
425
+ fonts: {
426
+ primary: string;
427
+ widget: string;
428
+ };
429
+ fontWeights: {
430
+ regular: number;
431
+ medium: number;
432
+ semiBold: number;
433
+ bold: number;
434
+ };
435
+ lineHeights: {
436
+ 12: string;
437
+ 16: string;
438
+ 20: string;
439
+ 24: string;
440
+ 26: string;
441
+ 28: string;
442
+ 30: string;
443
+ 36: string;
444
+ 40: string;
445
+ 44: string;
446
+ 52: string;
447
+ 64: string;
448
+ };
449
+ letterSpacings: {};
450
+ sizes: {
451
+ 4: string;
452
+ 6: string;
453
+ 8: string;
454
+ 12: string;
455
+ 16: string;
456
+ 18: string;
457
+ 20: string;
458
+ 24: string;
459
+ 28: string;
460
+ 32: string;
461
+ 36: string;
462
+ 40: string;
463
+ 45: string;
464
+ 48: string;
465
+ };
466
+ borderWidths: {};
467
+ borderStyles: {};
468
+ shadows: {
469
+ s: string;
470
+ };
471
+ zIndices: {};
472
+ transitions: {};
473
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
158
474
  export declare const FooterStepAlarm: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
159
475
  sm: string;
160
476
  md: string;
@@ -1 +1 @@
1
- {"version":3,"file":"QuoteInfo.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQ5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGtB,CAAC"}
@@ -7,11 +7,14 @@ export type PropTypes = {
7
7
  loading: boolean;
8
8
  error: QuoteError | null;
9
9
  warning: QuoteWarning | null;
10
+ autoScrollOnExpanding?: boolean;
10
11
  expanded?: boolean;
12
+ alertPosition?: 'top' | 'bottom';
11
13
  refetchQuote: () => void;
12
14
  showWarningModal: boolean;
13
15
  onOpenWarningModal: () => void;
14
16
  onCloseWarningModal: () => void;
15
17
  onConfirmWarningModal: () => void;
18
+ onChangeSettings: () => void;
16
19
  };
17
20
  //# sourceMappingURL=QuoteInfo.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuoteInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EA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B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { PropTypes, WidgetContextInterface } from './Wallets.types';
2
+ import type { PropsWithChildren } from 'react';
3
+ import React from 'react';
4
+ export declare const WidgetContext: React.Context<WidgetContextInterface>;
5
+ export declare function WidgetWallets(props: PropsWithChildren<PropTypes>): React.JSX.Element;
6
+ //# sourceMappingURL=Wallets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wallets.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/Wallets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,SAAS,EACT,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAIzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI/C,OAAO,KAA2C,MAAM,OAAO,CAAC;AAWhE,eAAO,MAAM,aAAa,uCAIxB,CAAC;AA6FH,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAOhE"}
@@ -0,0 +1,11 @@
1
+ import type { WidgetConfig } from '../../types';
2
+ import type { EventHandler } from '@rango-dev/wallets-react';
3
+ export type OnConnectHandler = (key: string) => void;
4
+ export interface WidgetContextInterface {
5
+ onConnectWallet(handler: OnConnectHandler): void;
6
+ }
7
+ export interface PropTypes {
8
+ onUpdateState?: EventHandler;
9
+ config: WidgetConfig;
10
+ }
11
+ //# sourceMappingURL=Wallets.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wallets.types.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/Wallets.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,gBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;AACrD,MAAM,WAAW,sBAAsB;IACrC,eAAe,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,SAAS;IACxB,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,MAAM,EAAE,YAAY,CAAC;CACtB"}
@@ -0,0 +1,2 @@
1
+ export { WidgetWallets, WidgetContext } from './Wallets';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC"}