@lifi/widget 3.0.0-alpha.24 → 3.0.0-alpha.26

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 (1184) hide show
  1. package/App.tsx +5 -5
  2. package/AppDefault.tsx +9 -9
  3. package/AppDrawer.style.tsx +1 -2
  4. package/AppDrawer.tsx +7 -8
  5. package/AppProvider.tsx +8 -7
  6. package/AppRoutes.tsx +19 -21
  7. package/_esm/App.d.ts +4 -4
  8. package/_esm/App.js +3 -3
  9. package/_esm/App.js.map +1 -1
  10. package/_esm/AppDefault.js +9 -9
  11. package/_esm/AppDefault.js.map +1 -1
  12. package/_esm/AppDrawer.d.ts +2 -2
  13. package/_esm/AppDrawer.js +5 -6
  14. package/_esm/AppDrawer.js.map +1 -1
  15. package/_esm/AppDrawer.style.d.ts +4 -4
  16. package/_esm/AppDrawer.style.js +1 -2
  17. package/_esm/AppDrawer.style.js.map +1 -1
  18. package/_esm/AppDrawerContext.d.ts +1 -1
  19. package/_esm/AppProvider.d.ts +1 -1
  20. package/_esm/AppProvider.js +7 -3
  21. package/_esm/AppProvider.js.map +1 -1
  22. package/_esm/AppRoutes.d.ts +1 -1
  23. package/_esm/AppRoutes.js +19 -15
  24. package/_esm/AppRoutes.js.map +1 -1
  25. package/_esm/components/AccountAvatar.d.ts +1 -1
  26. package/_esm/components/AccountAvatar.js +5 -5
  27. package/_esm/components/AccountAvatar.js.map +1 -1
  28. package/_esm/components/ActiveTransactions/ActiveTransactionItem.d.ts +1 -1
  29. package/_esm/components/ActiveTransactions/ActiveTransactionItem.js +12 -12
  30. package/_esm/components/ActiveTransactions/ActiveTransactionItem.js.map +1 -1
  31. package/_esm/components/ActiveTransactions/ActiveTransactions.d.ts +1 -1
  32. package/_esm/components/ActiveTransactions/ActiveTransactions.js +6 -5
  33. package/_esm/components/ActiveTransactions/ActiveTransactions.js.map +1 -1
  34. package/_esm/components/ActiveTransactions/ActiveTransactions.style.d.ts +6 -6
  35. package/_esm/components/ActiveTransactions/ActiveTransactions.style.js +2 -4
  36. package/_esm/components/ActiveTransactions/ActiveTransactions.style.js.map +1 -1
  37. package/_esm/components/ActiveTransactions/index.d.ts +2 -2
  38. package/_esm/components/ActiveTransactions/index.js +2 -2
  39. package/_esm/components/ActiveTransactions/index.js.map +1 -1
  40. package/_esm/components/AlertMessage/AlertMessage.d.ts +1 -1
  41. package/_esm/components/AlertMessage/AlertMessage.js +1 -1
  42. package/_esm/components/AlertMessage/AlertMessage.js.map +1 -1
  43. package/_esm/components/AlertMessage/AlertMessage.style.d.ts +2 -2
  44. package/_esm/components/AlertMessage/AlertMessage.style.js +2 -3
  45. package/_esm/components/AlertMessage/AlertMessage.style.js.map +1 -1
  46. package/_esm/components/AlertMessage/index.d.ts +3 -3
  47. package/_esm/components/AlertMessage/index.js +3 -3
  48. package/_esm/components/AlertMessage/index.js.map +1 -1
  49. package/_esm/components/AmountInput/AmountInput.d.ts +1 -1
  50. package/_esm/components/AmountInput/AmountInput.js +14 -10
  51. package/_esm/components/AmountInput/AmountInput.js.map +1 -1
  52. package/_esm/components/AmountInput/AmountInput.style.d.ts +2 -2
  53. package/_esm/components/AmountInput/AmountInput.style.js +1 -3
  54. package/_esm/components/AmountInput/AmountInput.style.js.map +1 -1
  55. package/_esm/components/AmountInput/AmountInputAdornment.style.d.ts +3 -3
  56. package/_esm/components/AmountInput/AmountInputAdornment.style.js +1 -2
  57. package/_esm/components/AmountInput/AmountInputAdornment.style.js.map +1 -1
  58. package/_esm/components/AmountInput/AmountInputEndAdornment.d.ts +1 -1
  59. package/_esm/components/AmountInput/AmountInputEndAdornment.js +7 -3
  60. package/_esm/components/AmountInput/AmountInputEndAdornment.js.map +1 -1
  61. package/_esm/components/AmountInput/AmountInputStartAdornment.d.ts +2 -2
  62. package/_esm/components/AmountInput/AmountInputStartAdornment.js +5 -3
  63. package/_esm/components/AmountInput/AmountInputStartAdornment.js.map +1 -1
  64. package/_esm/components/AmountInput/PriceFormHelperText.d.ts +2 -2
  65. package/_esm/components/AmountInput/PriceFormHelperText.js +4 -3
  66. package/_esm/components/AmountInput/PriceFormHelperText.js.map +1 -1
  67. package/_esm/components/AmountInput/index.d.ts +1 -1
  68. package/_esm/components/AmountInput/index.js +1 -1
  69. package/_esm/components/AmountInput/index.js.map +1 -1
  70. package/_esm/components/AppContainer.d.ts +2 -2
  71. package/_esm/components/AppContainer.js +3 -4
  72. package/_esm/components/AppContainer.js.map +1 -1
  73. package/_esm/components/BaseTransactionButton/BaseTransactionButton.d.ts +2 -2
  74. package/_esm/components/BaseTransactionButton/BaseTransactionButton.js +6 -5
  75. package/_esm/components/BaseTransactionButton/BaseTransactionButton.js.map +1 -1
  76. package/_esm/components/BaseTransactionButton/index.d.ts +2 -2
  77. package/_esm/components/BaseTransactionButton/index.js +2 -2
  78. package/_esm/components/BaseTransactionButton/index.js.map +1 -1
  79. package/_esm/components/BottomSheet/BottomSheet.d.ts +2 -2
  80. package/_esm/components/BottomSheet/BottomSheet.js +2 -2
  81. package/_esm/components/BottomSheet/BottomSheet.js.map +1 -1
  82. package/_esm/components/BottomSheet/index.d.ts +2 -2
  83. package/_esm/components/BottomSheet/index.js +2 -2
  84. package/_esm/components/BottomSheet/index.js.map +1 -1
  85. package/_esm/components/Card/Card.d.ts +2 -2
  86. package/_esm/components/Card/Card.js +1 -3
  87. package/_esm/components/Card/Card.js.map +1 -1
  88. package/_esm/components/Card/CardButton.d.ts +1 -1
  89. package/_esm/components/Card/CardButton.js +2 -2
  90. package/_esm/components/Card/CardButton.js.map +1 -1
  91. package/_esm/components/Card/CardButton.style.d.ts +3 -3
  92. package/_esm/components/Card/CardButton.style.js +1 -2
  93. package/_esm/components/Card/CardButton.style.js.map +1 -1
  94. package/_esm/components/Card/CardHeader.d.ts +3 -3
  95. package/_esm/components/Card/CardHeader.js +1 -3
  96. package/_esm/components/Card/CardHeader.js.map +1 -1
  97. package/_esm/components/Card/CardIconButton.d.ts +2 -2
  98. package/_esm/components/Card/CardIconButton.js +1 -2
  99. package/_esm/components/Card/CardIconButton.js.map +1 -1
  100. package/_esm/components/Card/CardLabel.d.ts +2 -2
  101. package/_esm/components/Card/CardLabel.js +1 -2
  102. package/_esm/components/Card/CardLabel.js.map +1 -1
  103. package/_esm/components/Card/CardTitle.d.ts +2 -2
  104. package/_esm/components/Card/CardTitle.js +1 -2
  105. package/_esm/components/Card/CardTitle.js.map +1 -1
  106. package/_esm/components/Card/index.d.ts +7 -7
  107. package/_esm/components/Card/index.js +7 -7
  108. package/_esm/components/Card/index.js.map +1 -1
  109. package/_esm/components/ChainSelect/ChainSelect.d.ts +1 -1
  110. package/_esm/components/ChainSelect/ChainSelect.js +6 -4
  111. package/_esm/components/ChainSelect/ChainSelect.js.map +1 -1
  112. package/_esm/components/ChainSelect/ChainSelect.style.d.ts +3 -3
  113. package/_esm/components/ChainSelect/ChainSelect.style.js +2 -3
  114. package/_esm/components/ChainSelect/ChainSelect.style.js.map +1 -1
  115. package/_esm/components/ChainSelect/index.d.ts +2 -2
  116. package/_esm/components/ChainSelect/index.js +2 -2
  117. package/_esm/components/ChainSelect/index.js.map +1 -1
  118. package/_esm/components/ChainSelect/useChainSelect.d.ts +1 -1
  119. package/_esm/components/ChainSelect/useChainSelect.js +7 -2
  120. package/_esm/components/ChainSelect/useChainSelect.js.map +1 -1
  121. package/_esm/components/ContractComponent/ContractComponent.js +1 -1
  122. package/_esm/components/ContractComponent/ContractComponent.js.map +1 -1
  123. package/_esm/components/ContractComponent/index.d.ts +1 -1
  124. package/_esm/components/ContractComponent/index.js +1 -1
  125. package/_esm/components/ContractComponent/index.js.map +1 -1
  126. package/_esm/components/Dialog.js +1 -1
  127. package/_esm/components/Dialog.js.map +1 -1
  128. package/_esm/components/GasMessage/FundsSufficiencyMessage.js +4 -5
  129. package/_esm/components/GasMessage/FundsSufficiencyMessage.js.map +1 -1
  130. package/_esm/components/GasMessage/GasMessage.d.ts +1 -1
  131. package/_esm/components/GasMessage/GasMessage.js +4 -3
  132. package/_esm/components/GasMessage/GasMessage.js.map +1 -1
  133. package/_esm/components/GasMessage/GasMessage.style.d.ts +1 -1
  134. package/_esm/components/GasMessage/GasMessage.style.js +2 -3
  135. package/_esm/components/GasMessage/GasMessage.style.js.map +1 -1
  136. package/_esm/components/GasMessage/GasRefuelMessage.d.ts +1 -1
  137. package/_esm/components/GasMessage/GasRefuelMessage.js +7 -6
  138. package/_esm/components/GasMessage/GasRefuelMessage.js.map +1 -1
  139. package/_esm/components/GasMessage/GasSufficiencyMessage.d.ts +2 -2
  140. package/_esm/components/GasMessage/GasSufficiencyMessage.js +3 -3
  141. package/_esm/components/GasMessage/GasSufficiencyMessage.js.map +1 -1
  142. package/_esm/components/GasMessage/index.d.ts +2 -2
  143. package/_esm/components/GasMessage/index.js +2 -2
  144. package/_esm/components/GasMessage/index.js.map +1 -1
  145. package/_esm/components/Header/CloseDrawerButton.js +4 -5
  146. package/_esm/components/Header/CloseDrawerButton.js.map +1 -1
  147. package/_esm/components/Header/EVMDisconnectIconButton.js +2 -2
  148. package/_esm/components/Header/EVMDisconnectIconButton.js.map +1 -1
  149. package/_esm/components/Header/Header.js +6 -5
  150. package/_esm/components/Header/Header.js.map +1 -1
  151. package/_esm/components/Header/Header.style.d.ts +4 -4
  152. package/_esm/components/Header/Header.style.js +2 -4
  153. package/_esm/components/Header/Header.style.js.map +1 -1
  154. package/_esm/components/Header/NavigationHeader.d.ts +1 -1
  155. package/_esm/components/Header/NavigationHeader.js +15 -15
  156. package/_esm/components/Header/NavigationHeader.js.map +1 -1
  157. package/_esm/components/Header/NavigationTabs.js +4 -3
  158. package/_esm/components/Header/NavigationTabs.js.map +1 -1
  159. package/_esm/components/Header/SVMDisconnectIconButton.js +2 -2
  160. package/_esm/components/Header/SVMDisconnectIconButton.js.map +1 -1
  161. package/_esm/components/Header/SettingsButton.js +6 -5
  162. package/_esm/components/Header/SettingsButton.js.map +1 -1
  163. package/_esm/components/Header/SettingsButton.style.d.ts +3 -3
  164. package/_esm/components/Header/SettingsButton.style.js +2 -5
  165. package/_esm/components/Header/SettingsButton.style.js.map +1 -1
  166. package/_esm/components/Header/TransactionHistoryButton.js +5 -6
  167. package/_esm/components/Header/TransactionHistoryButton.js.map +1 -1
  168. package/_esm/components/Header/WalletHeader.d.ts +1 -1
  169. package/_esm/components/Header/WalletHeader.js +15 -14
  170. package/_esm/components/Header/WalletHeader.js.map +1 -1
  171. package/_esm/components/Header/WalletMenu.js +10 -10
  172. package/_esm/components/Header/WalletMenu.js.map +1 -1
  173. package/_esm/components/Header/WalletMenu.style.js +1 -5
  174. package/_esm/components/Header/WalletMenu.style.js.map +1 -1
  175. package/_esm/components/Header/index.d.ts +1 -1
  176. package/_esm/components/Header/index.js +1 -1
  177. package/_esm/components/Header/index.js.map +1 -1
  178. package/_esm/components/Initializer.d.ts +1 -1
  179. package/_esm/components/Initializer.js +1 -1
  180. package/_esm/components/Initializer.js.map +1 -1
  181. package/_esm/components/Input.js +1 -3
  182. package/_esm/components/Input.js.map +1 -1
  183. package/_esm/components/Insurance/Insurance.d.ts +2 -2
  184. package/_esm/components/Insurance/Insurance.js +3 -3
  185. package/_esm/components/Insurance/Insurance.js.map +1 -1
  186. package/_esm/components/Insurance/InsuranceCard.d.ts +2 -2
  187. package/_esm/components/Insurance/InsuranceCard.js +7 -6
  188. package/_esm/components/Insurance/InsuranceCard.js.map +1 -1
  189. package/_esm/components/Insurance/InsuranceCollapsed.d.ts +2 -2
  190. package/_esm/components/Insurance/InsuranceCollapsed.js +6 -4
  191. package/_esm/components/Insurance/InsuranceCollapsed.js.map +1 -1
  192. package/_esm/components/Insurance/index.d.ts +2 -2
  193. package/_esm/components/Insurance/index.js +2 -2
  194. package/_esm/components/Insurance/index.js.map +1 -1
  195. package/_esm/components/Insurance/types.d.ts +1 -1
  196. package/_esm/components/ListItem/ListItem.d.ts +3 -3
  197. package/_esm/components/ListItem/ListItem.js +1 -4
  198. package/_esm/components/ListItem/ListItem.js.map +1 -1
  199. package/_esm/components/ListItem/ListItemButton.d.ts +3 -3
  200. package/_esm/components/ListItem/ListItemButton.js +2 -2
  201. package/_esm/components/ListItem/ListItemButton.js.map +1 -1
  202. package/_esm/components/ListItem/index.d.ts +2 -2
  203. package/_esm/components/ListItem/index.js +2 -2
  204. package/_esm/components/ListItem/index.js.map +1 -1
  205. package/_esm/components/ListItemButton.d.ts +3 -3
  206. package/_esm/components/ListItemButton.js +2 -3
  207. package/_esm/components/ListItemButton.js.map +1 -1
  208. package/_esm/components/ListItemText.d.ts +1 -1
  209. package/_esm/components/ListItemText.js +1 -3
  210. package/_esm/components/ListItemText.js.map +1 -1
  211. package/_esm/components/Menu.js +1 -2
  212. package/_esm/components/Menu.js.map +1 -1
  213. package/_esm/components/NFT/NFT.d.ts +2 -2
  214. package/_esm/components/NFT/NFT.js +2 -2
  215. package/_esm/components/NFT/NFT.js.map +1 -1
  216. package/_esm/components/NFT/NFT.style.d.ts +2 -2
  217. package/_esm/components/NFT/NFT.style.js +1 -2
  218. package/_esm/components/NFT/NFT.style.js.map +1 -1
  219. package/_esm/components/NFT/NFTBase.d.ts +2 -2
  220. package/_esm/components/NFT/NFTBase.js +2 -2
  221. package/_esm/components/NFT/NFTBase.js.map +1 -1
  222. package/_esm/components/NFT/index.d.ts +3 -3
  223. package/_esm/components/NFT/index.js +3 -3
  224. package/_esm/components/NFT/index.js.map +1 -1
  225. package/_esm/components/NFT/types.d.ts +1 -1
  226. package/_esm/components/NotFound.d.ts +1 -1
  227. package/_esm/components/NotFound.js +2 -2
  228. package/_esm/components/NotFound.js.map +1 -1
  229. package/_esm/components/PageContainer.d.ts +2 -2
  230. package/_esm/components/PageContainer.js +1 -2
  231. package/_esm/components/PageContainer.js.map +1 -1
  232. package/_esm/components/PoweredBy/PoweredBy.d.ts +1 -1
  233. package/_esm/components/PoweredBy/PoweredBy.js +5 -5
  234. package/_esm/components/PoweredBy/PoweredBy.js.map +1 -1
  235. package/_esm/components/PoweredBy/PoweredBy.style.d.ts +2 -2
  236. package/_esm/components/PoweredBy/PoweredBy.style.js +1 -2
  237. package/_esm/components/PoweredBy/PoweredBy.style.js.map +1 -1
  238. package/_esm/components/PoweredBy/index.d.ts +1 -1
  239. package/_esm/components/PoweredBy/index.js +1 -1
  240. package/_esm/components/PoweredBy/index.js.map +1 -1
  241. package/_esm/components/ProgressToNextUpdate/ProgressToNextUpdate.d.ts +1 -1
  242. package/_esm/components/ProgressToNextUpdate/index.d.ts +1 -1
  243. package/_esm/components/ProgressToNextUpdate/index.js +1 -1
  244. package/_esm/components/ProgressToNextUpdate/index.js.map +1 -1
  245. package/_esm/components/ReverseTokensButton/ReverseTokensButton.d.ts +1 -1
  246. package/_esm/components/ReverseTokensButton/ReverseTokensButton.js +6 -6
  247. package/_esm/components/ReverseTokensButton/ReverseTokensButton.js.map +1 -1
  248. package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +2 -2
  249. package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.js +1 -2
  250. package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.js.map +1 -1
  251. package/_esm/components/ReverseTokensButton/index.d.ts +1 -1
  252. package/_esm/components/ReverseTokensButton/index.js +1 -1
  253. package/_esm/components/ReverseTokensButton/index.js.map +1 -1
  254. package/_esm/components/RouteCard/RouteCard.d.ts +3 -3
  255. package/_esm/components/RouteCard/RouteCard.js +12 -12
  256. package/_esm/components/RouteCard/RouteCard.js.map +1 -1
  257. package/_esm/components/RouteCard/RouteCard.style.d.ts +2 -2
  258. package/_esm/components/RouteCard/RouteCard.style.js +1 -2
  259. package/_esm/components/RouteCard/RouteCard.style.js.map +1 -1
  260. package/_esm/components/RouteCard/RouteCardEssentials.d.ts +2 -2
  261. package/_esm/components/RouteCard/RouteCardEssentials.js +5 -6
  262. package/_esm/components/RouteCard/RouteCardEssentials.js.map +1 -1
  263. package/_esm/components/RouteCard/RouteCardEssentialsExpanded.d.ts +2 -2
  264. package/_esm/components/RouteCard/RouteCardEssentialsExpanded.js +5 -7
  265. package/_esm/components/RouteCard/RouteCardEssentialsExpanded.js.map +1 -1
  266. package/_esm/components/RouteCard/RouteCardSkeleton.d.ts +2 -2
  267. package/_esm/components/RouteCard/RouteCardSkeleton.js +3 -3
  268. package/_esm/components/RouteCard/RouteCardSkeleton.js.map +1 -1
  269. package/_esm/components/RouteCard/RouteNotFoundCard.d.ts +1 -1
  270. package/_esm/components/RouteCard/RouteNotFoundCard.js +2 -2
  271. package/_esm/components/RouteCard/RouteNotFoundCard.js.map +1 -1
  272. package/_esm/components/RouteCard/index.d.ts +3 -3
  273. package/_esm/components/RouteCard/index.js +3 -3
  274. package/_esm/components/RouteCard/index.js.map +1 -1
  275. package/_esm/components/Routes/Routes.d.ts +1 -1
  276. package/_esm/components/Routes/Routes.js +9 -6
  277. package/_esm/components/Routes/Routes.js.map +1 -1
  278. package/_esm/components/Routes/RoutesExpanded.js +10 -8
  279. package/_esm/components/Routes/RoutesExpanded.js.map +1 -1
  280. package/_esm/components/Routes/RoutesExpanded.style.d.ts +2 -2
  281. package/_esm/components/Routes/RoutesExpanded.style.js +2 -3
  282. package/_esm/components/Routes/RoutesExpanded.style.js.map +1 -1
  283. package/_esm/components/Routes/index.d.ts +2 -2
  284. package/_esm/components/Routes/index.js +2 -2
  285. package/_esm/components/Routes/index.js.map +1 -1
  286. package/_esm/components/Select.js +1 -6
  287. package/_esm/components/Select.js.map +1 -1
  288. package/_esm/components/SelectChainAndToken.d.ts +1 -1
  289. package/_esm/components/SelectChainAndToken.js +6 -7
  290. package/_esm/components/SelectChainAndToken.js.map +1 -1
  291. package/_esm/components/SelectTokenButton/SelectTokenButton.d.ts +2 -2
  292. package/_esm/components/SelectTokenButton/SelectTokenButton.js +11 -7
  293. package/_esm/components/SelectTokenButton/SelectTokenButton.js.map +1 -1
  294. package/_esm/components/SelectTokenButton/SelectTokenButton.style.d.ts +3 -3
  295. package/_esm/components/SelectTokenButton/SelectTokenButton.style.js +2 -3
  296. package/_esm/components/SelectTokenButton/SelectTokenButton.style.js.map +1 -1
  297. package/_esm/components/SelectTokenButton/index.d.ts +1 -1
  298. package/_esm/components/SelectTokenButton/index.js +1 -1
  299. package/_esm/components/SelectTokenButton/index.js.map +1 -1
  300. package/_esm/components/SendToWallet/SendToWallet.style.d.ts +3 -3
  301. package/_esm/components/SendToWallet/SendToWallet.style.js +2 -3
  302. package/_esm/components/SendToWallet/SendToWallet.style.js.map +1 -1
  303. package/_esm/components/SendToWallet/SendToWalletButton.js +16 -8
  304. package/_esm/components/SendToWallet/SendToWalletButton.js.map +1 -1
  305. package/_esm/components/SendToWallet/SendToWalletExpandButton.d.ts +1 -1
  306. package/_esm/components/SendToWallet/SendToWalletExpandButton.js +12 -8
  307. package/_esm/components/SendToWallet/SendToWalletExpandButton.js.map +1 -1
  308. package/_esm/components/SendToWallet/index.d.ts +3 -3
  309. package/_esm/components/SendToWallet/index.js +3 -3
  310. package/_esm/components/SendToWallet/index.js.map +1 -1
  311. package/_esm/components/SettingsListItemButton.d.ts +3 -3
  312. package/_esm/components/SettingsListItemButton.js +2 -2
  313. package/_esm/components/SettingsListItemButton.js.map +1 -1
  314. package/_esm/components/SmallAvatar.d.ts +3 -3
  315. package/_esm/components/SmallAvatar.js +1 -2
  316. package/_esm/components/SmallAvatar.js.map +1 -1
  317. package/_esm/components/Step/CircularProgress.js +7 -10
  318. package/_esm/components/Step/CircularProgress.js.map +1 -1
  319. package/_esm/components/Step/CircularProgress.style.d.ts +1 -1
  320. package/_esm/components/Step/CircularProgress.style.js +1 -3
  321. package/_esm/components/Step/CircularProgress.style.js.map +1 -1
  322. package/_esm/components/Step/DestinationWalletAddress.d.ts +1 -1
  323. package/_esm/components/Step/DestinationWalletAddress.js +5 -6
  324. package/_esm/components/Step/DestinationWalletAddress.js.map +1 -1
  325. package/_esm/components/Step/Step.d.ts +1 -1
  326. package/_esm/components/Step/Step.js +10 -9
  327. package/_esm/components/Step/Step.js.map +1 -1
  328. package/_esm/components/Step/StepList.d.ts +1 -1
  329. package/_esm/components/Step/StepList.js +2 -2
  330. package/_esm/components/Step/StepList.js.map +1 -1
  331. package/_esm/components/Step/StepProcess.d.ts +1 -1
  332. package/_esm/components/Step/StepProcess.js +5 -5
  333. package/_esm/components/Step/StepProcess.js.map +1 -1
  334. package/_esm/components/Step/StepProcess.style.d.ts +2 -2
  335. package/_esm/components/Step/StepProcess.style.js +1 -2
  336. package/_esm/components/Step/StepProcess.style.js.map +1 -1
  337. package/_esm/components/Step/StepTimer.d.ts +1 -1
  338. package/_esm/components/Step/StepTimer.js +2 -1
  339. package/_esm/components/Step/StepTimer.js.map +1 -1
  340. package/_esm/components/Step/index.d.ts +2 -2
  341. package/_esm/components/Step/index.js +2 -2
  342. package/_esm/components/Step/index.js.map +1 -1
  343. package/_esm/components/StepActions/StepActions.d.ts +3 -3
  344. package/_esm/components/StepActions/StepActions.js +12 -14
  345. package/_esm/components/StepActions/StepActions.js.map +1 -1
  346. package/_esm/components/StepActions/StepActions.style.d.ts +3 -3
  347. package/_esm/components/StepActions/StepActions.style.js +1 -4
  348. package/_esm/components/StepActions/StepActions.style.js.map +1 -1
  349. package/_esm/components/StepActions/StepFeeBreakdown.d.ts +1 -1
  350. package/_esm/components/StepActions/StepFeeBreakdown.js +3 -3
  351. package/_esm/components/StepActions/StepFeeBreakdown.js.map +1 -1
  352. package/_esm/components/StepActions/StepFees.d.ts +1 -1
  353. package/_esm/components/StepActions/StepFees.js +1 -1
  354. package/_esm/components/StepActions/StepFees.js.map +1 -1
  355. package/_esm/components/StepActions/index.d.ts +1 -1
  356. package/_esm/components/StepActions/index.js +1 -1
  357. package/_esm/components/StepActions/index.js.map +1 -1
  358. package/_esm/components/StepActions/types.d.ts +1 -1
  359. package/_esm/components/StepDivider/StepDivider.d.ts +1 -1
  360. package/_esm/components/StepDivider/StepDivider.js +1 -1
  361. package/_esm/components/StepDivider/StepDivider.js.map +1 -1
  362. package/_esm/components/StepDivider/StepDivider.style.d.ts +2 -2
  363. package/_esm/components/StepDivider/StepDivider.style.js +1 -2
  364. package/_esm/components/StepDivider/StepDivider.style.js.map +1 -1
  365. package/_esm/components/StepDivider/index.d.ts +1 -1
  366. package/_esm/components/StepDivider/index.js +1 -1
  367. package/_esm/components/StepDivider/index.js.map +1 -1
  368. package/_esm/components/Switch.js +1 -3
  369. package/_esm/components/Switch.js.map +1 -1
  370. package/_esm/components/Tabs/Tabs.style.d.ts +3 -3
  371. package/_esm/components/Tabs/Tabs.style.js +2 -3
  372. package/_esm/components/Tabs/Tabs.style.js.map +1 -1
  373. package/_esm/components/Tabs/index.d.ts +1 -1
  374. package/_esm/components/Tabs/index.js +1 -1
  375. package/_esm/components/Tabs/index.js.map +1 -1
  376. package/_esm/components/TextFitter/TextFitter.d.ts +1 -1
  377. package/_esm/components/TextFitter/TextFitter.js +1 -1
  378. package/_esm/components/TextFitter/TextFitter.js.map +1 -1
  379. package/_esm/components/TextFitter/index.d.ts +1 -1
  380. package/_esm/components/TextFitter/index.js +1 -1
  381. package/_esm/components/TextFitter/index.js.map +1 -1
  382. package/_esm/components/Token/Token.js +7 -6
  383. package/_esm/components/Token/Token.js.map +1 -1
  384. package/_esm/components/Token/Token.style.d.ts +2 -2
  385. package/_esm/components/Token/Token.style.js +1 -2
  386. package/_esm/components/Token/Token.style.js.map +1 -1
  387. package/_esm/components/Token/index.d.ts +2 -2
  388. package/_esm/components/Token/index.js +2 -2
  389. package/_esm/components/Token/index.js.map +1 -1
  390. package/_esm/components/TokenAvatar/TokenAvatar.d.ts +1 -1
  391. package/_esm/components/TokenAvatar/TokenAvatar.js +4 -3
  392. package/_esm/components/TokenAvatar/TokenAvatar.js.map +1 -1
  393. package/_esm/components/TokenAvatar/TokenAvatar.style.d.ts +1 -1
  394. package/_esm/components/TokenAvatar/TokenAvatar.style.js +1 -4
  395. package/_esm/components/TokenAvatar/TokenAvatar.style.js.map +1 -1
  396. package/_esm/components/TokenAvatar/index.d.ts +2 -2
  397. package/_esm/components/TokenAvatar/index.js +2 -2
  398. package/_esm/components/TokenAvatar/index.js.map +1 -1
  399. package/_esm/components/TokenList/TokenList.d.ts +1 -1
  400. package/_esm/components/TokenList/TokenList.js +10 -5
  401. package/_esm/components/TokenList/TokenList.js.map +1 -1
  402. package/_esm/components/TokenList/TokenList.style.d.ts +4 -4
  403. package/_esm/components/TokenList/TokenList.style.js +2 -3
  404. package/_esm/components/TokenList/TokenList.style.js.map +1 -1
  405. package/_esm/components/TokenList/TokenListItem.d.ts +2 -2
  406. package/_esm/components/TokenList/TokenListItem.js +6 -5
  407. package/_esm/components/TokenList/TokenListItem.js.map +1 -1
  408. package/_esm/components/TokenList/TokenNotFound.d.ts +2 -2
  409. package/_esm/components/TokenList/TokenNotFound.js +5 -4
  410. package/_esm/components/TokenList/TokenNotFound.js.map +1 -1
  411. package/_esm/components/TokenList/VirtualizedTokenList.d.ts +1 -1
  412. package/_esm/components/TokenList/VirtualizedTokenList.js +1 -1
  413. package/_esm/components/TokenList/VirtualizedTokenList.js.map +1 -1
  414. package/_esm/components/TokenList/index.d.ts +2 -2
  415. package/_esm/components/TokenList/index.js +2 -2
  416. package/_esm/components/TokenList/index.js.map +1 -1
  417. package/_esm/components/TokenList/types.d.ts +3 -3
  418. package/_esm/components/TokenList/useTokenSelect.d.ts +1 -1
  419. package/_esm/components/TokenList/useTokenSelect.js +6 -3
  420. package/_esm/components/TokenList/useTokenSelect.js.map +1 -1
  421. package/_esm/config/theme.d.ts +2 -2
  422. package/_esm/config/theme.js +14 -13
  423. package/_esm/config/theme.js.map +1 -1
  424. package/_esm/config/version.d.ts +1 -1
  425. package/_esm/config/version.js +1 -1
  426. package/_esm/hooks/index.d.ts +34 -34
  427. package/_esm/hooks/index.js +34 -34
  428. package/_esm/hooks/index.js.map +1 -1
  429. package/_esm/hooks/useAddressValidation.d.ts +1 -1
  430. package/_esm/hooks/useAddressValidation.js +1 -1
  431. package/_esm/hooks/useAddressValidation.js.map +1 -1
  432. package/_esm/hooks/useAvailableChains.js +3 -2
  433. package/_esm/hooks/useAvailableChains.js.map +1 -1
  434. package/_esm/hooks/useChain.js +1 -1
  435. package/_esm/hooks/useChain.js.map +1 -1
  436. package/_esm/hooks/useChains.d.ts +1 -1
  437. package/_esm/hooks/useChains.js +3 -3
  438. package/_esm/hooks/useChains.js.map +1 -1
  439. package/_esm/hooks/useContentHeight.js +3 -3
  440. package/_esm/hooks/useContentHeight.js.map +1 -1
  441. package/_esm/hooks/useDebouncedWatch.d.ts +1 -1
  442. package/_esm/hooks/useDebouncedWatch.js +1 -1
  443. package/_esm/hooks/useDebouncedWatch.js.map +1 -1
  444. package/_esm/hooks/useDefaultElementId.js +1 -1
  445. package/_esm/hooks/useDefaultElementId.js.map +1 -1
  446. package/_esm/hooks/useExpandableVariant.js +2 -2
  447. package/_esm/hooks/useExpandableVariant.js.map +1 -1
  448. package/_esm/hooks/useFromTokenSufficiency.js +5 -4
  449. package/_esm/hooks/useFromTokenSufficiency.js.map +1 -1
  450. package/_esm/hooks/useGasRecommendation.d.ts +1 -1
  451. package/_esm/hooks/useGasRecommendation.js +1 -1
  452. package/_esm/hooks/useGasRecommendation.js.map +1 -1
  453. package/_esm/hooks/useGasRefuel.js +4 -4
  454. package/_esm/hooks/useGasRefuel.js.map +1 -1
  455. package/_esm/hooks/useGasSufficiency.js +3 -3
  456. package/_esm/hooks/useGasSufficiency.js.map +1 -1
  457. package/_esm/hooks/useInitializer.js +2 -2
  458. package/_esm/hooks/useInitializer.js.map +1 -1
  459. package/_esm/hooks/useLanguages.js +3 -2
  460. package/_esm/hooks/useLanguages.js.map +1 -1
  461. package/_esm/hooks/useProcessMessage.d.ts +1 -1
  462. package/_esm/hooks/useProcessMessage.js +3 -3
  463. package/_esm/hooks/useProcessMessage.js.map +1 -1
  464. package/_esm/hooks/useRouteExecution.d.ts +1 -1
  465. package/_esm/hooks/useRouteExecution.js +5 -4
  466. package/_esm/hooks/useRouteExecution.js.map +1 -1
  467. package/_esm/hooks/useRoutes.d.ts +1 -1
  468. package/_esm/hooks/useRoutes.js +11 -6
  469. package/_esm/hooks/useRoutes.js.map +1 -1
  470. package/_esm/hooks/useScrollableContainer.js +2 -2
  471. package/_esm/hooks/useScrollableContainer.js.map +1 -1
  472. package/_esm/hooks/useSettingMonitor.js +3 -3
  473. package/_esm/hooks/useSettingMonitor.js.map +1 -1
  474. package/_esm/hooks/useSwapOnly.js +1 -1
  475. package/_esm/hooks/useSwapOnly.js.map +1 -1
  476. package/_esm/hooks/useToAddressRequirements.js +4 -4
  477. package/_esm/hooks/useToAddressRequirements.js.map +1 -1
  478. package/_esm/hooks/useToAddressReset.js +5 -3
  479. package/_esm/hooks/useToAddressReset.js.map +1 -1
  480. package/_esm/hooks/useToken.js +2 -2
  481. package/_esm/hooks/useToken.js.map +1 -1
  482. package/_esm/hooks/useTokenAddressBalance.d.ts +2 -2
  483. package/_esm/hooks/useTokenAddressBalance.js +1 -1
  484. package/_esm/hooks/useTokenAddressBalance.js.map +1 -1
  485. package/_esm/hooks/useTokenBalance.d.ts +1 -1
  486. package/_esm/hooks/useTokenBalance.js +1 -1
  487. package/_esm/hooks/useTokenBalance.js.map +1 -1
  488. package/_esm/hooks/useTokenBalances.d.ts +2 -2
  489. package/_esm/hooks/useTokenBalances.js +2 -2
  490. package/_esm/hooks/useTokenBalances.js.map +1 -1
  491. package/_esm/hooks/useTokenSearch.d.ts +1 -1
  492. package/_esm/hooks/useTokens.d.ts +1 -1
  493. package/_esm/hooks/useTokens.js +2 -2
  494. package/_esm/hooks/useTokens.js.map +1 -1
  495. package/_esm/hooks/useTools.js +3 -3
  496. package/_esm/hooks/useTools.js.map +1 -1
  497. package/_esm/hooks/useTransactionDetails.js +1 -1
  498. package/_esm/hooks/useTransactionDetails.js.map +1 -1
  499. package/_esm/hooks/useTransactionHistory.js +1 -1
  500. package/_esm/hooks/useTransactionHistory.js.map +1 -1
  501. package/_esm/hooks/useWidgetEvents.d.ts +4 -3
  502. package/_esm/hooks/useWidgetEvents.js +3 -1
  503. package/_esm/hooks/useWidgetEvents.js.map +1 -1
  504. package/_esm/i18n/index.js +14 -14
  505. package/_esm/i18n/index.js.map +1 -1
  506. package/_esm/icons/InsuraceLogo.js +1 -1
  507. package/_esm/icons/InsuraceLogo.js.map +1 -1
  508. package/_esm/icons/index.d.ts +2 -2
  509. package/_esm/icons/index.js +2 -2
  510. package/_esm/icons/index.js.map +1 -1
  511. package/_esm/index.d.ts +12 -9
  512. package/_esm/index.js +11 -8
  513. package/_esm/index.js.map +1 -1
  514. package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.d.ts +1 -1
  515. package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js +2 -2
  516. package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js.map +1 -1
  517. package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js +9 -7
  518. package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js.map +1 -1
  519. package/_esm/pages/ActiveTransactionsPage/index.d.ts +1 -1
  520. package/_esm/pages/ActiveTransactionsPage/index.js +1 -1
  521. package/_esm/pages/ActiveTransactionsPage/index.js.map +1 -1
  522. package/_esm/pages/LanguagesPage/LanguagesPage.d.ts +1 -1
  523. package/_esm/pages/LanguagesPage/LanguagesPage.js +6 -6
  524. package/_esm/pages/LanguagesPage/LanguagesPage.js.map +1 -1
  525. package/_esm/pages/LanguagesPage/index.d.ts +1 -1
  526. package/_esm/pages/LanguagesPage/index.js +1 -1
  527. package/_esm/pages/LanguagesPage/index.js.map +1 -1
  528. package/_esm/pages/MainPage/MainGasMessage.d.ts +1 -1
  529. package/_esm/pages/MainPage/MainGasMessage.js +2 -2
  530. package/_esm/pages/MainPage/MainGasMessage.js.map +1 -1
  531. package/_esm/pages/MainPage/MainPage.d.ts +1 -1
  532. package/_esm/pages/MainPage/MainPage.js +13 -12
  533. package/_esm/pages/MainPage/MainPage.js.map +1 -1
  534. package/_esm/pages/MainPage/MainPage.style.d.ts +2 -2
  535. package/_esm/pages/MainPage/MainPage.style.js +1 -2
  536. package/_esm/pages/MainPage/MainPage.style.js.map +1 -1
  537. package/_esm/pages/MainPage/ReviewButton.d.ts +1 -1
  538. package/_esm/pages/MainPage/ReviewButton.js +8 -5
  539. package/_esm/pages/MainPage/ReviewButton.js.map +1 -1
  540. package/_esm/pages/MainPage/index.d.ts +1 -1
  541. package/_esm/pages/MainPage/index.js +1 -1
  542. package/_esm/pages/MainPage/index.js.map +1 -1
  543. package/_esm/pages/RoutesPage/RoutesPage.d.ts +1 -1
  544. package/_esm/pages/RoutesPage/RoutesPage.js +10 -6
  545. package/_esm/pages/RoutesPage/RoutesPage.js.map +1 -1
  546. package/_esm/pages/RoutesPage/RoutesPage.style.d.ts +3 -3
  547. package/_esm/pages/RoutesPage/RoutesPage.style.js +1 -2
  548. package/_esm/pages/RoutesPage/RoutesPage.style.js.map +1 -1
  549. package/_esm/pages/RoutesPage/index.d.ts +1 -1
  550. package/_esm/pages/RoutesPage/index.js +1 -1
  551. package/_esm/pages/RoutesPage/index.js.map +1 -1
  552. package/_esm/pages/SelectChainPage/SelectChainPage.d.ts +2 -2
  553. package/_esm/pages/SelectChainPage/SelectChainPage.js +6 -6
  554. package/_esm/pages/SelectChainPage/SelectChainPage.js.map +1 -1
  555. package/_esm/pages/SelectChainPage/index.d.ts +1 -1
  556. package/_esm/pages/SelectChainPage/index.js +1 -1
  557. package/_esm/pages/SelectChainPage/index.js.map +1 -1
  558. package/_esm/pages/SelectChainPage/types.d.ts +1 -1
  559. package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.d.ts +1 -1
  560. package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js +9 -11
  561. package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js.map +1 -1
  562. package/_esm/pages/SelectEnabledToolsPage/index.d.ts +1 -1
  563. package/_esm/pages/SelectEnabledToolsPage/index.js +1 -1
  564. package/_esm/pages/SelectEnabledToolsPage/index.js.map +1 -1
  565. package/_esm/pages/SelectNativeTokenPage/SelectNativeTokenPage.d.ts +2 -2
  566. package/_esm/pages/SelectNativeTokenPage/SelectNativeTokenPage.js +7 -6
  567. package/_esm/pages/SelectNativeTokenPage/SelectNativeTokenPage.js.map +1 -1
  568. package/_esm/pages/SelectNativeTokenPage/index.d.ts +1 -1
  569. package/_esm/pages/SelectNativeTokenPage/index.js +1 -1
  570. package/_esm/pages/SelectNativeTokenPage/index.js.map +1 -1
  571. package/_esm/pages/SelectTokenPage/SearchTokenInput.js +6 -5
  572. package/_esm/pages/SelectTokenPage/SearchTokenInput.js.map +1 -1
  573. package/_esm/pages/SelectTokenPage/SearchTokenInput.style.d.ts +1 -1
  574. package/_esm/pages/SelectTokenPage/SearchTokenInput.style.js +2 -2
  575. package/_esm/pages/SelectTokenPage/SearchTokenInput.style.js.map +1 -1
  576. package/_esm/pages/SelectTokenPage/SelectTokenPage.d.ts +1 -1
  577. package/_esm/pages/SelectTokenPage/SelectTokenPage.js +8 -5
  578. package/_esm/pages/SelectTokenPage/SelectTokenPage.js.map +1 -1
  579. package/_esm/pages/SelectTokenPage/index.d.ts +2 -2
  580. package/_esm/pages/SelectTokenPage/index.js +2 -2
  581. package/_esm/pages/SelectTokenPage/index.js.map +1 -1
  582. package/_esm/pages/SelectWalletPage/EVMListItemButton.js +5 -4
  583. package/_esm/pages/SelectWalletPage/EVMListItemButton.js.map +1 -1
  584. package/_esm/pages/SelectWalletPage/SVMListItemButton.js +5 -4
  585. package/_esm/pages/SelectWalletPage/SVMListItemButton.js.map +1 -1
  586. package/_esm/pages/SelectWalletPage/SelectWalletPage.js +8 -9
  587. package/_esm/pages/SelectWalletPage/SelectWalletPage.js.map +1 -1
  588. package/_esm/pages/SelectWalletPage/index.d.ts +1 -1
  589. package/_esm/pages/SelectWalletPage/index.js +1 -1
  590. package/_esm/pages/SelectWalletPage/index.js.map +1 -1
  591. package/_esm/pages/SendToWallet/BookmarkAddressSheet.d.ts +3 -3
  592. package/_esm/pages/SendToWallet/BookmarkAddressSheet.js +7 -8
  593. package/_esm/pages/SendToWallet/BookmarkAddressSheet.js.map +1 -1
  594. package/_esm/pages/SendToWallet/BookmarksPage.js +17 -17
  595. package/_esm/pages/SendToWallet/BookmarksPage.js.map +1 -1
  596. package/_esm/pages/SendToWallet/ConfirmAddressSheet.d.ts +3 -3
  597. package/_esm/pages/SendToWallet/ConfirmAddressSheet.js +8 -8
  598. package/_esm/pages/SendToWallet/ConfirmAddressSheet.js.map +1 -1
  599. package/_esm/pages/SendToWallet/ConnectedWalletsPage.js +16 -16
  600. package/_esm/pages/SendToWallet/ConnectedWalletsPage.js.map +1 -1
  601. package/_esm/pages/SendToWallet/EmptyListIndicator.js +1 -1
  602. package/_esm/pages/SendToWallet/EmptyListIndicator.js.map +1 -1
  603. package/_esm/pages/SendToWallet/RecentWalletsPage.js +18 -18
  604. package/_esm/pages/SendToWallet/RecentWalletsPage.js.map +1 -1
  605. package/_esm/pages/SendToWallet/SendToConfiguredWalletPage.js +16 -13
  606. package/_esm/pages/SendToWallet/SendToConfiguredWalletPage.js.map +1 -1
  607. package/_esm/pages/SendToWallet/SendToWalletPage.js +14 -12
  608. package/_esm/pages/SendToWallet/SendToWalletPage.js.map +1 -1
  609. package/_esm/pages/SendToWallet/SendToWalletPage.style.d.ts +12 -12
  610. package/_esm/pages/SendToWallet/SendToWalletPage.style.js +4 -4
  611. package/_esm/pages/SendToWallet/SendToWalletPage.style.js.map +1 -1
  612. package/_esm/pages/SendToWallet/index.d.ts +5 -5
  613. package/_esm/pages/SendToWallet/index.js +5 -5
  614. package/_esm/pages/SendToWallet/index.js.map +1 -1
  615. package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.d.ts +1 -1
  616. package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js +8 -9
  617. package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js.map +1 -1
  618. package/_esm/pages/SettingsPage/GasPriceSettings.d.ts +1 -1
  619. package/_esm/pages/SettingsPage/GasPriceSettings.js +8 -6
  620. package/_esm/pages/SettingsPage/GasPriceSettings.js.map +1 -1
  621. package/_esm/pages/SettingsPage/LanguageSetting.d.ts +1 -1
  622. package/_esm/pages/SettingsPage/LanguageSetting.js +8 -7
  623. package/_esm/pages/SettingsPage/LanguageSetting.js.map +1 -1
  624. package/_esm/pages/SettingsPage/ResetSettingsButton.d.ts +1 -1
  625. package/_esm/pages/SettingsPage/ResetSettingsButton.js +4 -4
  626. package/_esm/pages/SettingsPage/ResetSettingsButton.js.map +1 -1
  627. package/_esm/pages/SettingsPage/ResetSettingsButton.style.d.ts +1 -1
  628. package/_esm/pages/SettingsPage/ResetSettingsButton.style.js +2 -3
  629. package/_esm/pages/SettingsPage/ResetSettingsButton.style.js.map +1 -1
  630. package/_esm/pages/SettingsPage/RoutePrioritySettings.d.ts +1 -1
  631. package/_esm/pages/SettingsPage/RoutePrioritySettings.js +8 -6
  632. package/_esm/pages/SettingsPage/RoutePrioritySettings.js.map +1 -1
  633. package/_esm/pages/SettingsPage/SendToWalletOptionSetting.js +10 -7
  634. package/_esm/pages/SettingsPage/SendToWalletOptionSetting.js.map +1 -1
  635. package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.d.ts +1 -1
  636. package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.js +2 -2
  637. package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.js.map +1 -1
  638. package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.d.ts +2 -2
  639. package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.js +1 -3
  640. package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.js.map +1 -1
  641. package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.d.ts +1 -1
  642. package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js +4 -3
  643. package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js.map +1 -1
  644. package/_esm/pages/SettingsPage/SettingsCard/index.d.ts +4 -4
  645. package/_esm/pages/SettingsPage/SettingsCard/index.js +4 -4
  646. package/_esm/pages/SettingsPage/SettingsCard/index.js.map +1 -1
  647. package/_esm/pages/SettingsPage/SettingsPage.js +11 -10
  648. package/_esm/pages/SettingsPage/SettingsPage.js.map +1 -1
  649. package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.d.ts +1 -1
  650. package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js +10 -9
  651. package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js.map +1 -1
  652. package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.d.ts +2 -2
  653. package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js +2 -4
  654. package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js.map +1 -1
  655. package/_esm/pages/SettingsPage/SlippageSettings/index.d.ts +1 -1
  656. package/_esm/pages/SettingsPage/SlippageSettings/index.js +1 -1
  657. package/_esm/pages/SettingsPage/SlippageSettings/index.js.map +1 -1
  658. package/_esm/pages/SettingsPage/ThemeSettings.d.ts +1 -1
  659. package/_esm/pages/SettingsPage/ThemeSettings.js +10 -12
  660. package/_esm/pages/SettingsPage/ThemeSettings.js.map +1 -1
  661. package/_esm/pages/SettingsPage/index.d.ts +1 -1
  662. package/_esm/pages/SettingsPage/index.js +1 -1
  663. package/_esm/pages/SettingsPage/index.js.map +1 -1
  664. package/_esm/pages/TransactionDetailsPage/ContactSupportButton.js +2 -2
  665. package/_esm/pages/TransactionDetailsPage/ContactSupportButton.js.map +1 -1
  666. package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.d.ts +1 -1
  667. package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js +19 -14
  668. package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js.map +1 -1
  669. package/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js +3 -3
  670. package/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js.map +1 -1
  671. package/_esm/pages/TransactionDetailsPage/index.d.ts +1 -1
  672. package/_esm/pages/TransactionDetailsPage/index.js +1 -1
  673. package/_esm/pages/TransactionDetailsPage/index.js.map +1 -1
  674. package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.d.ts +1 -1
  675. package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js +2 -2
  676. package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js.map +1 -1
  677. package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.d.ts +1 -1
  678. package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.js +4 -3
  679. package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.js.map +1 -1
  680. package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.d.ts +1 -1
  681. package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.js +6 -6
  682. package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.js.map +1 -1
  683. package/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js +3 -2
  684. package/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js.map +1 -1
  685. package/_esm/pages/TransactionHistoryPage/index.d.ts +1 -1
  686. package/_esm/pages/TransactionHistoryPage/index.js +1 -1
  687. package/_esm/pages/TransactionHistoryPage/index.js.map +1 -1
  688. package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.d.ts +1 -1
  689. package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js +6 -6
  690. package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js.map +1 -1
  691. package/_esm/pages/TransactionPage/StartTransactionButton.d.ts +2 -2
  692. package/_esm/pages/TransactionPage/StartTransactionButton.js +5 -3
  693. package/_esm/pages/TransactionPage/StartTransactionButton.js.map +1 -1
  694. package/_esm/pages/TransactionPage/StatusBottomSheet.d.ts +2 -2
  695. package/_esm/pages/TransactionPage/StatusBottomSheet.js +18 -13
  696. package/_esm/pages/TransactionPage/StatusBottomSheet.js.map +1 -1
  697. package/_esm/pages/TransactionPage/StatusBottomSheet.style.d.ts +2 -2
  698. package/_esm/pages/TransactionPage/StatusBottomSheet.style.js +2 -3
  699. package/_esm/pages/TransactionPage/StatusBottomSheet.style.js.map +1 -1
  700. package/_esm/pages/TransactionPage/TokenValueBottomSheet.d.ts +2 -2
  701. package/_esm/pages/TransactionPage/TokenValueBottomSheet.js +6 -6
  702. package/_esm/pages/TransactionPage/TokenValueBottomSheet.js.map +1 -1
  703. package/_esm/pages/TransactionPage/TransactionPage.d.ts +1 -1
  704. package/_esm/pages/TransactionPage/TransactionPage.js +21 -17
  705. package/_esm/pages/TransactionPage/TransactionPage.js.map +1 -1
  706. package/_esm/pages/TransactionPage/index.d.ts +1 -1
  707. package/_esm/pages/TransactionPage/index.js +1 -1
  708. package/_esm/pages/TransactionPage/index.js.map +1 -1
  709. package/_esm/pages/TransactionPage/types.d.ts +1 -1
  710. package/_esm/providers/I18nProvider/I18nProvider.d.ts +1 -1
  711. package/_esm/providers/I18nProvider/I18nProvider.js +5 -4
  712. package/_esm/providers/I18nProvider/I18nProvider.js.map +1 -1
  713. package/_esm/providers/I18nProvider/index.d.ts +2 -2
  714. package/_esm/providers/I18nProvider/index.js +2 -2
  715. package/_esm/providers/I18nProvider/index.js.map +1 -1
  716. package/_esm/providers/I18nProvider/types.d.ts +1 -1
  717. package/_esm/providers/ThemeProvider/ThemeProvider.d.ts +1 -1
  718. package/_esm/providers/ThemeProvider/ThemeProvider.js +4 -5
  719. package/_esm/providers/ThemeProvider/ThemeProvider.js.map +1 -1
  720. package/_esm/providers/ThemeProvider/index.d.ts +1 -1
  721. package/_esm/providers/ThemeProvider/index.js +1 -1
  722. package/_esm/providers/ThemeProvider/index.js.map +1 -1
  723. package/_esm/providers/WalletProvider/EVMBaseProvider.js +5 -5
  724. package/_esm/providers/WalletProvider/EVMBaseProvider.js.map +1 -1
  725. package/_esm/providers/WalletProvider/EVMExternalContext.d.ts +1 -1
  726. package/_esm/providers/WalletProvider/EVMProvider.js +4 -4
  727. package/_esm/providers/WalletProvider/EVMProvider.js.map +1 -1
  728. package/_esm/providers/WalletProvider/SDKProviders.js +1 -1
  729. package/_esm/providers/WalletProvider/SDKProviders.js.map +1 -1
  730. package/_esm/providers/WalletProvider/SVMExternalContext.d.ts +1 -1
  731. package/_esm/providers/WalletProvider/SVMProvider.js +4 -4
  732. package/_esm/providers/WalletProvider/SVMProvider.js.map +1 -1
  733. package/_esm/providers/WalletProvider/WalletProvider.js +3 -3
  734. package/_esm/providers/WalletProvider/WalletProvider.js.map +1 -1
  735. package/_esm/providers/WalletProvider/index.d.ts +3 -3
  736. package/_esm/providers/WalletProvider/index.js +3 -3
  737. package/_esm/providers/WalletProvider/index.js.map +1 -1
  738. package/_esm/providers/WalletProvider/useHasExternalWalletProvider.js +2 -2
  739. package/_esm/providers/WalletProvider/useHasExternalWalletProvider.js.map +1 -1
  740. package/_esm/providers/WidgetProvider/WidgetProvider.d.ts +2 -2
  741. package/_esm/providers/WidgetProvider/WidgetProvider.js +4 -4
  742. package/_esm/providers/WidgetProvider/WidgetProvider.js.map +1 -1
  743. package/_esm/providers/WidgetProvider/index.d.ts +2 -2
  744. package/_esm/providers/WidgetProvider/index.js +2 -2
  745. package/_esm/providers/WidgetProvider/index.js.map +1 -1
  746. package/_esm/providers/WidgetProvider/types.d.ts +1 -1
  747. package/_esm/providers/WidgetProvider/utils.d.ts +2 -2
  748. package/_esm/providers/WidgetProvider/utils.js +1 -1
  749. package/_esm/providers/WidgetProvider/utils.js.map +1 -1
  750. package/_esm/stores/StoreProvider.d.ts +1 -1
  751. package/_esm/stores/StoreProvider.js +6 -6
  752. package/_esm/stores/StoreProvider.js.map +1 -1
  753. package/_esm/stores/bookmarks/BookmarkStore.d.ts +3 -3
  754. package/_esm/stores/bookmarks/BookmarkStore.js +2 -2
  755. package/_esm/stores/bookmarks/BookmarkStore.js.map +1 -1
  756. package/_esm/stores/bookmarks/createBookmarkStore.d.ts +3 -3
  757. package/_esm/stores/bookmarks/index.d.ts +5 -5
  758. package/_esm/stores/bookmarks/index.js +5 -5
  759. package/_esm/stores/bookmarks/index.js.map +1 -1
  760. package/_esm/stores/bookmarks/types.d.ts +2 -2
  761. package/_esm/stores/bookmarks/useBookmarkActions.d.ts +1 -1
  762. package/_esm/stores/bookmarks/useBookmarkActions.js +1 -1
  763. package/_esm/stores/bookmarks/useBookmarkActions.js.map +1 -1
  764. package/_esm/stores/bookmarks/useBookmarks.d.ts +1 -1
  765. package/_esm/stores/bookmarks/useBookmarks.js +1 -1
  766. package/_esm/stores/bookmarks/useBookmarks.js.map +1 -1
  767. package/_esm/stores/chains/ChainOrderStore.d.ts +3 -3
  768. package/_esm/stores/chains/ChainOrderStore.js +5 -5
  769. package/_esm/stores/chains/ChainOrderStore.js.map +1 -1
  770. package/_esm/stores/chains/createChainOrderStore.d.ts +2 -2
  771. package/_esm/stores/chains/index.d.ts +4 -4
  772. package/_esm/stores/chains/index.js +4 -4
  773. package/_esm/stores/chains/index.js.map +1 -1
  774. package/_esm/stores/chains/types.d.ts +1 -1
  775. package/_esm/stores/chains/useChainOrder.d.ts +1 -1
  776. package/_esm/stores/chains/useChainOrder.js +1 -1
  777. package/_esm/stores/chains/useChainOrder.js.map +1 -1
  778. package/_esm/stores/form/FormStore.d.ts +0 -4
  779. package/_esm/stores/form/FormStore.js +6 -14
  780. package/_esm/stores/form/FormStore.js.map +1 -1
  781. package/_esm/stores/form/FormStoreContext.d.ts +3 -0
  782. package/_esm/stores/form/FormStoreContext.js +3 -0
  783. package/_esm/stores/form/FormStoreContext.js.map +1 -0
  784. package/_esm/stores/form/FormUpdater.d.ts +1 -1
  785. package/_esm/stores/form/FormUpdater.js +4 -4
  786. package/_esm/stores/form/FormUpdater.js.map +1 -1
  787. package/_esm/stores/form/URLSearchParamsBuilder.js +2 -1
  788. package/_esm/stores/form/URLSearchParamsBuilder.js.map +1 -1
  789. package/_esm/stores/form/createFormStore.d.ts +1 -1
  790. package/_esm/stores/form/index.d.ts +10 -10
  791. package/_esm/stores/form/index.js +10 -10
  792. package/_esm/stores/form/index.js.map +1 -1
  793. package/_esm/stores/form/useFieldActions.d.ts +1 -1
  794. package/_esm/stores/form/useFieldActions.js +1 -1
  795. package/_esm/stores/form/useFieldActions.js.map +1 -1
  796. package/_esm/stores/form/useFieldController.d.ts +2 -2
  797. package/_esm/stores/form/useFieldController.js +2 -2
  798. package/_esm/stores/form/useFieldController.js.map +1 -1
  799. package/_esm/stores/form/useFieldValues.d.ts +2 -2
  800. package/_esm/stores/form/useFieldValues.js +1 -1
  801. package/_esm/stores/form/useFieldValues.js.map +1 -1
  802. package/_esm/stores/form/useFormStore.d.ts +3 -0
  803. package/_esm/stores/form/useFormStore.js +11 -0
  804. package/_esm/stores/form/useFormStore.js.map +1 -0
  805. package/_esm/stores/form/useTouchedFields.d.ts +4 -4
  806. package/_esm/stores/form/useTouchedFields.js +1 -1
  807. package/_esm/stores/form/useTouchedFields.js.map +1 -1
  808. package/_esm/stores/form/useValidation.d.ts +1 -1
  809. package/_esm/stores/form/useValidation.js +1 -1
  810. package/_esm/stores/form/useValidation.js.map +1 -1
  811. package/_esm/stores/form/useValidationActions.d.ts +1 -1
  812. package/_esm/stores/form/useValidationActions.js +1 -1
  813. package/_esm/stores/form/useValidationActions.js.map +1 -1
  814. package/_esm/stores/header/index.d.ts +1 -1
  815. package/_esm/stores/header/index.js +1 -1
  816. package/_esm/stores/header/index.js.map +1 -1
  817. package/_esm/stores/header/types.d.ts +1 -1
  818. package/_esm/stores/header/useHeaderStore.d.ts +3 -3
  819. package/_esm/stores/routes/RouteExecutionStore.d.ts +3 -3
  820. package/_esm/stores/routes/RouteExecutionStore.js +1 -1
  821. package/_esm/stores/routes/RouteExecutionStore.js.map +1 -1
  822. package/_esm/stores/routes/createRouteExecutionStore.d.ts +2 -2
  823. package/_esm/stores/routes/createRouteExecutionStore.js +3 -3
  824. package/_esm/stores/routes/createRouteExecutionStore.js.map +1 -1
  825. package/_esm/stores/routes/index.d.ts +5 -5
  826. package/_esm/stores/routes/index.js +5 -5
  827. package/_esm/stores/routes/index.js.map +1 -1
  828. package/_esm/stores/routes/useExecutingRoutesIds.js +3 -3
  829. package/_esm/stores/routes/useExecutingRoutesIds.js.map +1 -1
  830. package/_esm/stores/routes/useSetExecutableRoute.js +1 -1
  831. package/_esm/stores/routes/useSetExecutableRoute.js.map +1 -1
  832. package/_esm/stores/settings/index.d.ts +6 -6
  833. package/_esm/stores/settings/index.js +6 -6
  834. package/_esm/stores/settings/index.js.map +1 -1
  835. package/_esm/stores/settings/types.d.ts +1 -2
  836. package/_esm/stores/settings/useAppearance.d.ts +1 -1
  837. package/_esm/stores/settings/useAppearance.js +1 -1
  838. package/_esm/stores/settings/useAppearance.js.map +1 -1
  839. package/_esm/stores/settings/useSendToWalletStore.d.ts +1 -1
  840. package/_esm/stores/settings/useSettings.d.ts +1 -1
  841. package/_esm/stores/settings/useSettings.js +1 -1
  842. package/_esm/stores/settings/useSettings.js.map +1 -1
  843. package/_esm/stores/settings/useSettingsStore.d.ts +2 -2
  844. package/_esm/stores/settings/useSettingsStore.js +1 -1
  845. package/_esm/stores/settings/useSettingsStore.js.map +1 -1
  846. package/_esm/stores/settings/useSplitSubvariantStore.d.ts +2 -2
  847. package/_esm/types/index.d.ts +3 -3
  848. package/_esm/types/index.js +3 -3
  849. package/_esm/types/index.js.map +1 -1
  850. package/_esm/types/widget.d.ts +3 -3
  851. package/_esm/types/widget.js.map +1 -1
  852. package/_esm/utils/chainType.js +1 -1
  853. package/_esm/utils/chainType.js.map +1 -1
  854. package/_esm/utils/colors.d.ts +0 -1
  855. package/_esm/utils/colors.js +1 -5
  856. package/_esm/utils/colors.js.map +1 -1
  857. package/_esm/utils/converters.d.ts +1 -1
  858. package/_esm/utils/index.d.ts +12 -12
  859. package/_esm/utils/index.js +12 -12
  860. package/_esm/utils/index.js.map +1 -1
  861. package/_esm/utils/item.d.ts +1 -1
  862. package/components/AccountAvatar.tsx +6 -6
  863. package/components/ActiveTransactions/ActiveTransactionItem.tsx +12 -12
  864. package/components/ActiveTransactions/ActiveTransactions.style.ts +3 -3
  865. package/components/ActiveTransactions/ActiveTransactions.tsx +6 -5
  866. package/components/ActiveTransactions/index.ts +2 -2
  867. package/components/AlertMessage/AlertMessage.style.tsx +6 -4
  868. package/components/AlertMessage/AlertMessage.tsx +5 -2
  869. package/components/AlertMessage/index.ts +3 -3
  870. package/components/AmountInput/AmountInput.style.tsx +7 -3
  871. package/components/AmountInput/AmountInput.tsx +14 -15
  872. package/components/AmountInput/AmountInputAdornment.style.tsx +1 -2
  873. package/components/AmountInput/AmountInputEndAdornment.tsx +8 -8
  874. package/components/AmountInput/AmountInputStartAdornment.tsx +6 -4
  875. package/components/AmountInput/PriceFormHelperText.tsx +5 -4
  876. package/components/AmountInput/index.ts +1 -1
  877. package/components/AppContainer.tsx +4 -5
  878. package/components/BaseTransactionButton/BaseTransactionButton.tsx +7 -6
  879. package/components/BaseTransactionButton/index.ts +2 -2
  880. package/components/BottomSheet/BottomSheet.tsx +3 -3
  881. package/components/BottomSheet/index.ts +2 -2
  882. package/components/Card/Card.tsx +8 -3
  883. package/components/Card/CardButton.style.tsx +1 -2
  884. package/components/Card/CardButton.tsx +4 -4
  885. package/components/Card/CardHeader.tsx +5 -3
  886. package/components/Card/CardIconButton.tsx +1 -2
  887. package/components/Card/CardLabel.tsx +1 -2
  888. package/components/Card/CardTitle.tsx +1 -2
  889. package/components/Card/index.ts +7 -7
  890. package/components/ChainSelect/ChainSelect.style.tsx +2 -3
  891. package/components/ChainSelect/ChainSelect.tsx +7 -5
  892. package/components/ChainSelect/index.ts +2 -2
  893. package/components/ChainSelect/useChainSelect.ts +8 -8
  894. package/components/ContractComponent/ContractComponent.tsx +1 -1
  895. package/components/ContractComponent/index.ts +1 -1
  896. package/components/Dialog.tsx +1 -1
  897. package/components/GasMessage/FundsSufficiencyMessage.tsx +4 -5
  898. package/components/GasMessage/GasMessage.style.ts +2 -3
  899. package/components/GasMessage/GasMessage.tsx +4 -3
  900. package/components/GasMessage/GasRefuelMessage.tsx +7 -6
  901. package/components/GasMessage/GasSufficiencyMessage.tsx +4 -4
  902. package/components/GasMessage/index.ts +2 -2
  903. package/components/Header/CloseDrawerButton.tsx +4 -5
  904. package/components/Header/EVMDisconnectIconButton.tsx +2 -2
  905. package/components/Header/Header.style.ts +10 -4
  906. package/components/Header/Header.tsx +6 -5
  907. package/components/Header/NavigationHeader.tsx +15 -15
  908. package/components/Header/NavigationTabs.tsx +4 -3
  909. package/components/Header/SVMDisconnectIconButton.tsx +2 -2
  910. package/components/Header/SettingsButton.style.tsx +11 -5
  911. package/components/Header/SettingsButton.tsx +10 -6
  912. package/components/Header/TransactionHistoryButton.tsx +5 -6
  913. package/components/Header/WalletHeader.tsx +17 -18
  914. package/components/Header/WalletMenu.style.tsx +7 -5
  915. package/components/Header/WalletMenu.tsx +15 -11
  916. package/components/Header/index.ts +1 -1
  917. package/components/Initializer.tsx +1 -1
  918. package/components/Input.tsx +1 -3
  919. package/components/Insurance/Insurance.tsx +4 -4
  920. package/components/Insurance/InsuranceCard.tsx +8 -7
  921. package/components/Insurance/InsuranceCollapsed.tsx +7 -9
  922. package/components/Insurance/index.ts +2 -2
  923. package/components/Insurance/types.ts +1 -1
  924. package/components/ListItem/ListItem.tsx +6 -4
  925. package/components/ListItem/ListItemButton.tsx +2 -2
  926. package/components/ListItem/index.ts +2 -2
  927. package/components/ListItemButton.tsx +2 -3
  928. package/components/ListItemText.tsx +5 -3
  929. package/components/Menu.tsx +1 -1
  930. package/components/NFT/NFT.style.ts +1 -2
  931. package/components/NFT/NFT.tsx +3 -3
  932. package/components/NFT/NFTBase.tsx +3 -3
  933. package/components/NFT/index.ts +3 -3
  934. package/components/NFT/types.ts +1 -1
  935. package/components/NotFound.tsx +2 -2
  936. package/components/PageContainer.ts +1 -2
  937. package/components/PoweredBy/PoweredBy.style.ts +1 -2
  938. package/components/PoweredBy/PoweredBy.tsx +5 -5
  939. package/components/PoweredBy/index.ts +1 -1
  940. package/components/ProgressToNextUpdate/index.ts +1 -1
  941. package/components/ReverseTokensButton/ReverseTokensButton.style.tsx +6 -2
  942. package/components/ReverseTokensButton/ReverseTokensButton.tsx +7 -7
  943. package/components/ReverseTokensButton/index.ts +1 -1
  944. package/components/RouteCard/RouteCard.style.ts +1 -2
  945. package/components/RouteCard/RouteCard.tsx +16 -16
  946. package/components/RouteCard/RouteCardEssentials.tsx +9 -7
  947. package/components/RouteCard/RouteCardEssentialsExpanded.tsx +10 -9
  948. package/components/RouteCard/RouteCardSkeleton.tsx +4 -4
  949. package/components/RouteCard/RouteNotFoundCard.tsx +2 -2
  950. package/components/RouteCard/index.ts +3 -3
  951. package/components/Routes/Routes.tsx +9 -6
  952. package/components/Routes/RoutesExpanded.style.ts +2 -3
  953. package/components/Routes/RoutesExpanded.tsx +10 -8
  954. package/components/Routes/index.ts +2 -2
  955. package/components/Select.tsx +8 -6
  956. package/components/SelectChainAndToken.tsx +6 -7
  957. package/components/SelectTokenButton/SelectTokenButton.style.tsx +2 -3
  958. package/components/SelectTokenButton/SelectTokenButton.tsx +12 -8
  959. package/components/SelectTokenButton/index.ts +1 -1
  960. package/components/SendToWallet/SendToWallet.style.tsx +2 -3
  961. package/components/SendToWallet/SendToWalletButton.tsx +16 -15
  962. package/components/SendToWallet/SendToWalletExpandButton.tsx +12 -13
  963. package/components/SendToWallet/index.ts +3 -3
  964. package/components/SettingsListItemButton.tsx +2 -2
  965. package/components/SmallAvatar.tsx +1 -2
  966. package/components/Step/CircularProgress.style.tsx +8 -3
  967. package/components/Step/CircularProgress.tsx +12 -10
  968. package/components/Step/DestinationWalletAddress.tsx +5 -6
  969. package/components/Step/Step.tsx +10 -9
  970. package/components/Step/StepList.tsx +3 -3
  971. package/components/Step/StepProcess.style.tsx +1 -2
  972. package/components/Step/StepProcess.tsx +5 -5
  973. package/components/Step/StepTimer.tsx +2 -1
  974. package/components/Step/index.ts +2 -2
  975. package/components/StepActions/StepActions.style.tsx +3 -3
  976. package/components/StepActions/StepActions.tsx +14 -16
  977. package/components/StepActions/StepFeeBreakdown.tsx +3 -3
  978. package/components/StepActions/StepFees.tsx +1 -1
  979. package/components/StepActions/index.ts +1 -1
  980. package/components/StepActions/types.ts +1 -1
  981. package/components/StepDivider/StepDivider.style.tsx +1 -2
  982. package/components/StepDivider/StepDivider.tsx +1 -1
  983. package/components/StepDivider/index.ts +1 -1
  984. package/components/Switch.tsx +6 -3
  985. package/components/Tabs/Tabs.style.tsx +3 -2
  986. package/components/Tabs/index.ts +1 -1
  987. package/components/TextFitter/TextFitter.tsx +2 -2
  988. package/components/TextFitter/index.ts +1 -1
  989. package/components/Token/Token.style.tsx +1 -2
  990. package/components/Token/Token.tsx +10 -6
  991. package/components/Token/index.ts +2 -2
  992. package/components/TokenAvatar/TokenAvatar.style.tsx +7 -4
  993. package/components/TokenAvatar/TokenAvatar.tsx +4 -3
  994. package/components/TokenAvatar/index.ts +2 -2
  995. package/components/TokenList/TokenList.style.tsx +2 -3
  996. package/components/TokenList/TokenList.tsx +12 -13
  997. package/components/TokenList/TokenListItem.tsx +7 -10
  998. package/components/TokenList/TokenNotFound.tsx +6 -5
  999. package/components/TokenList/VirtualizedTokenList.tsx +3 -3
  1000. package/components/TokenList/index.ts +2 -2
  1001. package/components/TokenList/types.ts +3 -3
  1002. package/components/TokenList/useTokenSelect.ts +7 -8
  1003. package/config/theme.ts +20 -14
  1004. package/config/version.ts +1 -1
  1005. package/hooks/index.ts +34 -34
  1006. package/hooks/useAddressValidation.ts +1 -1
  1007. package/hooks/useAvailableChains.ts +3 -2
  1008. package/hooks/useChain.ts +1 -1
  1009. package/hooks/useChains.ts +4 -4
  1010. package/hooks/useContentHeight.ts +3 -3
  1011. package/hooks/useDebouncedWatch.ts +2 -2
  1012. package/hooks/useDefaultElementId.ts +1 -1
  1013. package/hooks/useExpandableVariant.ts +2 -2
  1014. package/hooks/useFromTokenSufficiency.ts +5 -4
  1015. package/hooks/useGasRecommendation.ts +1 -1
  1016. package/hooks/useGasRefuel.ts +4 -4
  1017. package/hooks/useGasSufficiency.ts +3 -3
  1018. package/hooks/useInitializer.ts +2 -2
  1019. package/hooks/useLanguages.ts +3 -2
  1020. package/hooks/useProcessMessage.ts +4 -4
  1021. package/hooks/useRouteExecution.ts +8 -6
  1022. package/hooks/useRoutes.ts +11 -6
  1023. package/hooks/useScrollableContainer.ts +2 -2
  1024. package/hooks/useSettingMonitor.ts +3 -3
  1025. package/hooks/useSwapOnly.ts +1 -1
  1026. package/hooks/useToAddressRequirements.ts +4 -4
  1027. package/hooks/useToAddressReset.ts +5 -3
  1028. package/hooks/useToken.ts +2 -2
  1029. package/hooks/useTokenAddressBalance.ts +2 -2
  1030. package/hooks/useTokenBalance.ts +1 -1
  1031. package/hooks/useTokenBalances.ts +3 -3
  1032. package/hooks/useTokenSearch.ts +1 -1
  1033. package/hooks/useTokens.ts +3 -3
  1034. package/hooks/useTools.ts +3 -3
  1035. package/hooks/useTransactionDetails.ts +1 -1
  1036. package/hooks/useTransactionHistory.ts +1 -1
  1037. package/hooks/useWidgetEvents.ts +4 -2
  1038. package/i18n/index.ts +14 -14
  1039. package/icons/InsuraceLogo.tsx +1 -1
  1040. package/icons/index.ts +2 -2
  1041. package/index.ts +12 -14
  1042. package/package.json +2 -2
  1043. package/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.tsx +2 -2
  1044. package/pages/ActiveTransactionsPage/ActiveTransactionsPage.tsx +9 -11
  1045. package/pages/ActiveTransactionsPage/index.ts +1 -1
  1046. package/pages/LanguagesPage/LanguagesPage.tsx +6 -6
  1047. package/pages/LanguagesPage/index.ts +1 -1
  1048. package/pages/MainPage/MainGasMessage.tsx +2 -2
  1049. package/pages/MainPage/MainPage.style.tsx +1 -2
  1050. package/pages/MainPage/MainPage.tsx +13 -15
  1051. package/pages/MainPage/ReviewButton.tsx +8 -9
  1052. package/pages/MainPage/index.ts +1 -1
  1053. package/pages/RoutesPage/RoutesPage.style.ts +1 -2
  1054. package/pages/RoutesPage/RoutesPage.tsx +10 -10
  1055. package/pages/RoutesPage/index.ts +1 -1
  1056. package/pages/SelectChainPage/SelectChainPage.tsx +7 -7
  1057. package/pages/SelectChainPage/index.ts +1 -1
  1058. package/pages/SelectChainPage/types.ts +1 -1
  1059. package/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.tsx +16 -13
  1060. package/pages/SelectEnabledToolsPage/index.ts +1 -1
  1061. package/pages/SelectNativeTokenPage/SelectNativeTokenPage.tsx +8 -7
  1062. package/pages/SelectNativeTokenPage/index.ts +1 -1
  1063. package/pages/SelectTokenPage/SearchTokenInput.style.tsx +2 -2
  1064. package/pages/SelectTokenPage/SearchTokenInput.tsx +6 -5
  1065. package/pages/SelectTokenPage/SelectTokenPage.tsx +9 -11
  1066. package/pages/SelectTokenPage/index.ts +2 -2
  1067. package/pages/SelectWalletPage/EVMListItemButton.tsx +5 -4
  1068. package/pages/SelectWalletPage/SVMListItemButton.tsx +5 -4
  1069. package/pages/SelectWalletPage/SelectWalletPage.tsx +8 -8
  1070. package/pages/SelectWalletPage/index.ts +1 -1
  1071. package/pages/SendToWallet/BookmarkAddressSheet.tsx +11 -14
  1072. package/pages/SendToWallet/BookmarksPage.tsx +28 -22
  1073. package/pages/SendToWallet/ConfirmAddressSheet.tsx +11 -11
  1074. package/pages/SendToWallet/ConnectedWalletsPage.tsx +25 -20
  1075. package/pages/SendToWallet/EmptyListIndicator.tsx +1 -1
  1076. package/pages/SendToWallet/RecentWalletsPage.tsx +31 -28
  1077. package/pages/SendToWallet/SendToConfiguredWalletPage.tsx +22 -19
  1078. package/pages/SendToWallet/SendToWalletPage.style.tsx +5 -5
  1079. package/pages/SendToWallet/SendToWalletPage.tsx +20 -23
  1080. package/pages/SendToWallet/index.ts +5 -5
  1081. package/pages/SettingsPage/BridgeAndExchangeSettings.tsx +8 -9
  1082. package/pages/SettingsPage/GasPriceSettings.tsx +8 -6
  1083. package/pages/SettingsPage/LanguageSetting.tsx +8 -7
  1084. package/pages/SettingsPage/ResetSettingsButton.style.tsx +2 -3
  1085. package/pages/SettingsPage/ResetSettingsButton.tsx +4 -4
  1086. package/pages/SettingsPage/RoutePrioritySettings.tsx +8 -6
  1087. package/pages/SettingsPage/SendToWalletOptionSetting.tsx +10 -12
  1088. package/pages/SettingsPage/SettingsCard/BadgedValue.tsx +3 -3
  1089. package/pages/SettingsPage/SettingsCard/SettingCard.style.tsx +1 -3
  1090. package/pages/SettingsPage/SettingsCard/SettingCardExpandable.tsx +6 -6
  1091. package/pages/SettingsPage/SettingsCard/index.ts +4 -4
  1092. package/pages/SettingsPage/SettingsPage.tsx +11 -10
  1093. package/pages/SettingsPage/SlippageSettings/SlippageSettings.style.tsx +9 -4
  1094. package/pages/SettingsPage/SlippageSettings/SlippageSettings.tsx +10 -10
  1095. package/pages/SettingsPage/SlippageSettings/index.ts +1 -1
  1096. package/pages/SettingsPage/ThemeSettings.tsx +11 -13
  1097. package/pages/SettingsPage/index.ts +1 -1
  1098. package/pages/TransactionDetailsPage/ContactSupportButton.tsx +2 -2
  1099. package/pages/TransactionDetailsPage/TransactionDetailsPage.tsx +19 -14
  1100. package/pages/TransactionDetailsPage/TransactionDetailsSkeleton.tsx +3 -3
  1101. package/pages/TransactionDetailsPage/index.ts +1 -1
  1102. package/pages/TransactionHistoryPage/TransactionHistoryEmpty.tsx +2 -2
  1103. package/pages/TransactionHistoryPage/TransactionHistoryItem.tsx +4 -3
  1104. package/pages/TransactionHistoryPage/TransactionHistoryPage.tsx +6 -6
  1105. package/pages/TransactionHistoryPage/TransactionHistorySkeleton.tsx +3 -2
  1106. package/pages/TransactionHistoryPage/index.ts +1 -1
  1107. package/pages/TransactionPage/ExchangeRateBottomSheet.tsx +7 -7
  1108. package/pages/TransactionPage/StartTransactionButton.tsx +6 -8
  1109. package/pages/TransactionPage/StatusBottomSheet.style.tsx +2 -3
  1110. package/pages/TransactionPage/StatusBottomSheet.tsx +27 -29
  1111. package/pages/TransactionPage/TokenValueBottomSheet.tsx +7 -7
  1112. package/pages/TransactionPage/TransactionPage.tsx +23 -27
  1113. package/pages/TransactionPage/index.ts +1 -1
  1114. package/pages/TransactionPage/types.ts +1 -1
  1115. package/providers/I18nProvider/I18nProvider.tsx +6 -5
  1116. package/providers/I18nProvider/index.ts +2 -2
  1117. package/providers/I18nProvider/types.ts +1 -1
  1118. package/providers/ThemeProvider/ThemeProvider.tsx +7 -5
  1119. package/providers/ThemeProvider/index.ts +1 -1
  1120. package/providers/WalletProvider/EVMBaseProvider.tsx +5 -5
  1121. package/providers/WalletProvider/EVMProvider.tsx +4 -4
  1122. package/providers/WalletProvider/SDKProviders.tsx +1 -1
  1123. package/providers/WalletProvider/SVMProvider.tsx +4 -4
  1124. package/providers/WalletProvider/WalletProvider.tsx +3 -3
  1125. package/providers/WalletProvider/index.ts +3 -3
  1126. package/providers/WalletProvider/useHasExternalWalletProvider.ts +2 -2
  1127. package/providers/WidgetProvider/WidgetProvider.tsx +5 -5
  1128. package/providers/WidgetProvider/index.ts +2 -2
  1129. package/providers/WidgetProvider/types.ts +1 -1
  1130. package/providers/WidgetProvider/utils.ts +2 -2
  1131. package/stores/StoreProvider.tsx +7 -7
  1132. package/stores/bookmarks/BookmarkStore.tsx +4 -4
  1133. package/stores/bookmarks/createBookmarkStore.ts +3 -3
  1134. package/stores/bookmarks/index.ts +5 -5
  1135. package/stores/bookmarks/types.ts +2 -2
  1136. package/stores/bookmarks/useBookmarkActions.ts +2 -2
  1137. package/stores/bookmarks/useBookmarks.ts +2 -2
  1138. package/stores/chains/ChainOrderStore.tsx +8 -8
  1139. package/stores/chains/createChainOrderStore.ts +2 -2
  1140. package/stores/chains/index.ts +4 -4
  1141. package/stores/chains/types.ts +1 -1
  1142. package/stores/chains/useChainOrder.ts +2 -2
  1143. package/stores/form/FormStore.tsx +7 -24
  1144. package/stores/form/FormStoreContext.ts +4 -0
  1145. package/stores/form/FormUpdater.tsx +5 -5
  1146. package/stores/form/URLSearchParamsBuilder.tsx +3 -2
  1147. package/stores/form/createFormStore.ts +1 -1
  1148. package/stores/form/index.ts +10 -10
  1149. package/stores/form/useFieldActions.ts +2 -2
  1150. package/stores/form/useFieldController.ts +3 -3
  1151. package/stores/form/useFieldValues.ts +2 -2
  1152. package/stores/form/useFormStore.ts +19 -0
  1153. package/stores/form/useTouchedFields.ts +1 -1
  1154. package/stores/form/useValidation.ts +2 -2
  1155. package/stores/form/useValidationActions.ts +2 -2
  1156. package/stores/header/index.ts +1 -1
  1157. package/stores/header/useHeaderStore.tsx +2 -2
  1158. package/stores/routes/RouteExecutionStore.tsx +3 -3
  1159. package/stores/routes/createRouteExecutionStore.ts +5 -5
  1160. package/stores/routes/index.ts +5 -5
  1161. package/stores/routes/useExecutingRoutesIds.ts +4 -4
  1162. package/stores/routes/useSetExecutableRoute.ts +1 -1
  1163. package/stores/settings/index.ts +6 -6
  1164. package/stores/settings/types.ts +1 -3
  1165. package/stores/settings/useAppearance.ts +2 -2
  1166. package/stores/settings/useSendToWalletStore.ts +1 -1
  1167. package/stores/settings/useSettings.ts +2 -2
  1168. package/stores/settings/useSettingsStore.ts +3 -3
  1169. package/stores/settings/useSplitSubvariantStore.tsx +1 -1
  1170. package/types/index.ts +3 -3
  1171. package/types/widget.ts +6 -4
  1172. package/utils/chainType.ts +1 -1
  1173. package/utils/colors.ts +1 -7
  1174. package/utils/converters.ts +1 -1
  1175. package/utils/index.ts +12 -12
  1176. package/utils/item.ts +1 -1
  1177. package/_esm/providers/index.d.ts +0 -4
  1178. package/_esm/providers/index.js +0 -5
  1179. package/_esm/providers/index.js.map +0 -1
  1180. package/_esm/stores/index.d.ts +0 -7
  1181. package/_esm/stores/index.js +0 -8
  1182. package/_esm/stores/index.js.map +0 -1
  1183. package/providers/index.ts +0 -4
  1184. package/stores/index.ts +0 -7
@@ -1,3 +1,3 @@
1
1
  import type { PropsWithChildren } from 'react';
2
- import type { WidgetConfigProps } from '../types';
2
+ import type { WidgetConfigProps } from '../types/widget.js';
3
3
  export declare const StoreProvider: React.FC<PropsWithChildren<WidgetConfigProps>>;
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { ChainOrderStoreProvider } from './chains';
3
- import { FormStoreProvider } from './form';
4
- import { HeaderStoreProvider } from './header';
5
- import { RouteExecutionStoreProvider } from './routes';
6
- import { SplitSubvariantStoreProvider } from './settings';
7
- import { BookmarkStoreProvider } from './bookmarks';
2
+ import { BookmarkStoreProvider } from './bookmarks/BookmarkStore.js';
3
+ import { ChainOrderStoreProvider } from './chains/ChainOrderStore.js';
4
+ import { FormStoreProvider } from './form/FormStore.js';
5
+ import { HeaderStoreProvider } from './header/useHeaderStore.js';
6
+ import { RouteExecutionStoreProvider } from './routes/RouteExecutionStore.js';
7
+ import { SplitSubvariantStoreProvider } from './settings/useSplitSubvariantStore.js';
8
8
  export const StoreProvider = ({ children, config, }) => {
9
9
  return (_jsx(SplitSubvariantStoreProvider, { state: config.subvariant === 'split'
10
10
  ? config.subvariantOptions || 'swap'
@@ -1 +1 @@
1
- {"version":3,"file":"StoreProvider.js","sourceRoot":"","sources":["../../stores/StoreProvider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,CAAC,MAAM,aAAa,GAAmD,CAAC,EAC5E,QAAQ,EACR,MAAM,GACP,EAAE,EAAE;IACH,OAAO,CACL,KAAC,4BAA4B,IAC3B,KAAK,EACH,MAAM,CAAC,UAAU,KAAK,OAAO;YAC3B,CAAC,CAAC,MAAM,CAAC,iBAAiB,IAAI,MAAM;YACpC,CAAC,CAAC,SAAS,YAGf,KAAC,mBAAmB,IAAC,UAAU,EAAE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AAC,CAAC"}
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import { shallow } from 'zustand/shallow';
3
- import type { PersistStoreProviderProps } from '../types';
4
- import type { BookmarkState, BookmarkStore } from './types';
3
+ import type { PersistStoreProviderProps } from '../types.js';
4
+ import type { BookmarkState, BookmarkStore } from './types.js';
5
5
  export declare const BookmarkStoreContext: import("react").Context<BookmarkStore | null>;
6
6
  export declare const BookmarkStoreProvider: React.FC<PersistStoreProviderProps>;
7
7
  export declare function useBookmarkStore<T>(selector: (store: BookmarkState) => T, equalityFunction?: typeof shallow): T;
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { createContext, useContext, useRef } from 'react';
3
3
  import { shallow } from 'zustand/shallow';
4
- import { createBookmarksStore } from './createBookmarkStore';
5
- import { useWidgetConfig } from '../../providers';
4
+ import { useWidgetConfig } from '../../providers/WidgetProvider/WidgetProvider.js';
5
+ import { createBookmarksStore } from './createBookmarkStore.js';
6
6
  export const BookmarkStoreContext = createContext(null);
7
7
  export const BookmarkStoreProvider = ({ children, ...props }) => {
8
8
  const { toAddress } = useWidgetConfig();
@@ -1 +1 @@
1
- {"version":3,"file":"BookmarkStore.js","sourceRoot":"","sources":["../../../stores/bookmarks/BookmarkStore.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAuB,IAAI,CAAC,CAAC;AAE9E,MAAM,CAAC,MAAM,qBAAqB,GAAwC,CAAC,EACzE,QAAQ,EACR,GAAG,KAAK,EACT,EAA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,eAAe,EAAE,CAAC;IACxC,MAAM,QAAQ,GAAG,MAAM,EAAiB,CAAC;IAEzC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;QACtB,QAAQ,CAAC,OAAO,GAAG,oBAAoB,CAAC,EAAE,GAAG,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,OAAO,CACL,KAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,CAAC,OAAO,YACnD,QAAQ,GACqB,CACjC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAC9B,QAAqC,EACrC,gBAAgB,GAAG,OAAO;IAE1B,MAAM,QAAQ,GAAG,UAAU,CAAC,oBAAoB,CAAC,CAAC;IAElD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,KAAK,CACb,yCAAyC,qBAAqB,CAAC,IAAI,IAAI,CACxE,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;AAC9C,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { ToAddress } from '../../types';
2
- import type { PersistStoreProps } from '../types';
3
- import type { BookmarkState } from './types';
1
+ import type { ToAddress } from '../../types/widget.js';
2
+ import type { PersistStoreProps } from '../types.js';
3
+ import type { BookmarkState } from './types.js';
4
4
  interface PersistBookmarkProps extends PersistStoreProps {
5
5
  toAddress?: ToAddress;
6
6
  }
@@ -1,5 +1,5 @@
1
- export * from './BookmarkStore';
2
- export * from './createBookmarkStore';
3
- export * from './types';
4
- export * from './useBookmarkActions';
5
- export * from './useBookmarks';
1
+ export * from './BookmarkStore.js';
2
+ export * from './createBookmarkStore.js';
3
+ export * from './types.js';
4
+ export * from './useBookmarkActions.js';
5
+ export * from './useBookmarks.js';
@@ -1,6 +1,6 @@
1
- export * from './BookmarkStore';
2
- export * from './createBookmarkStore';
3
- export * from './types';
4
- export * from './useBookmarkActions';
5
- export * from './useBookmarks';
1
+ export * from './BookmarkStore.js';
2
+ export * from './createBookmarkStore.js';
3
+ export * from './types.js';
4
+ export * from './useBookmarkActions.js';
5
+ export * from './useBookmarks.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../stores/bookmarks/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../stores/bookmarks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { StoreApi } from 'zustand';
2
- import type { UseBoundStoreWithEqualityFn } from 'zustand/esm/traditional';
3
- import type { ToAddress } from '../../types';
2
+ import type { UseBoundStoreWithEqualityFn } from 'zustand/traditional';
3
+ import type { ToAddress } from '../../types/widget.js';
4
4
  export interface Bookmark extends ToAddress {
5
5
  isConnectedAccount?: boolean;
6
6
  }
@@ -1,2 +1,2 @@
1
- import type { BookmarkActions } from './types';
1
+ import type { BookmarkActions } from './types.js';
2
2
  export declare const useBookmarkActions: () => BookmarkActions;
@@ -1,5 +1,5 @@
1
1
  import { shallow } from 'zustand/shallow';
2
- import { useBookmarkStore } from './BookmarkStore';
2
+ import { useBookmarkStore } from './BookmarkStore.js';
3
3
  export const useBookmarkActions = () => {
4
4
  const actions = useBookmarkStore((store) => ({
5
5
  getBookmark: store.getBookmark,
@@ -1 +1 @@
1
- {"version":3,"file":"useBookmarkActions.js","sourceRoot":"","sources":["../../../stores/bookmarks/useBookmarkActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,MAAM,OAAO,GAAG,gBAAgB,CAC9B,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACV,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB;QAC9C,eAAe,EAAE,KAAK,CAAC,eAAe;QACtC,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;KAC7C,CAAC,EACF,OAAO,CACR,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
1
+ {"version":3,"file":"useBookmarkActions.js","sourceRoot":"","sources":["../../../stores/bookmarks/useBookmarkActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,MAAM,OAAO,GAAG,gBAAgB,CAC9B,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACV,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB;QAC9C,eAAe,EAAE,KAAK,CAAC,eAAe;QACtC,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;KAC7C,CAAC,EACF,OAAO,CACR,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- import type { BookmarkProps } from './types';
1
+ import type { BookmarkProps } from './types.js';
2
2
  export declare const useBookmarks: () => BookmarkProps;
@@ -1,5 +1,5 @@
1
1
  import { shallow } from 'zustand/shallow';
2
- import { useBookmarkStore } from './BookmarkStore';
2
+ import { useBookmarkStore } from './BookmarkStore.js';
3
3
  export const useBookmarks = () => {
4
4
  const [bookmarks, selectedBookmark, recentWallets] = useBookmarkStore((store) => [store.bookmarks, store.selectedBookmark, store.recentWallets], shallow);
5
5
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"useBookmarks.js","sourceRoot":"","sources":["../../../stores/bookmarks/useBookmarks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAkB,EAAE;IAC9C,MAAM,CAAC,SAAS,EAAE,gBAAgB,EAAE,aAAa,CAAC,GAAG,gBAAgB,CACnE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,EACzE,OAAO,CACR,CAAC;IAEF,OAAO;QACL,SAAS;QACT,gBAAgB;QAChB,aAAa;KACd,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"useBookmarks.js","sourceRoot":"","sources":["../../../stores/bookmarks/useBookmarks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAkB,EAAE;IAC9C,MAAM,CAAC,SAAS,EAAE,gBAAgB,EAAE,aAAa,CAAC,GAAG,gBAAgB,CACnE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,EACzE,OAAO,CACR,CAAC;IAEF,OAAO;QACL,SAAS;QACT,gBAAgB;QAChB,aAAa;KACd,CAAC;AACJ,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { StoreApi } from 'zustand';
3
3
  import type { UseBoundStoreWithEqualityFn } from 'zustand/traditional';
4
- import type { PersistStoreProviderProps } from '../types';
5
- import type { ChainOrderState } from './types';
4
+ import type { PersistStoreProviderProps } from '../types.js';
5
+ import type { ChainOrderState } from './types.js';
6
6
  export type ChainOrderStore = UseBoundStoreWithEqualityFn<StoreApi<ChainOrderState>>;
7
7
  export declare const ChainOrderStoreContext: import("react").Context<ChainOrderStore | null>;
8
8
  export declare function ChainOrderStoreProvider({ children, ...props }: PersistStoreProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { createContext, useContext, useEffect, useRef } from 'react';
3
- import { useChains } from '../../hooks';
4
- import { useWidgetConfig } from '../../providers';
5
- import { isItemAllowed } from '../../utils';
6
- import { useFieldActions } from '../form';
7
- import { createChainOrderStore } from './createChainOrderStore';
3
+ import { useChains } from '../../hooks/useChains.js';
4
+ import { useWidgetConfig } from '../../providers/WidgetProvider/WidgetProvider.js';
5
+ import { isItemAllowed } from '../../utils/item.js';
6
+ import { useFieldActions } from '../form/useFieldActions.js';
7
+ import { createChainOrderStore } from './createChainOrderStore.js';
8
8
  export const ChainOrderStoreContext = createContext(null);
9
9
  export function ChainOrderStoreProvider({ children, ...props }) {
10
10
  const { chains: configChains } = useWidgetConfig();
@@ -1 +1 @@
1
- {"version":3,"file":"ChainOrderStore.js","sourceRoot":"","sources":["../../../stores/chains/ChainOrderStore.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAGrE,OAAO,EAAE,SAAS,EAAE,MAAM,aA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,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,EACvC,GAAG,CACJ,CAAC;gBACF,IAAI,UAAU,EAAE,CAAC;oBACf,MAAM,CAAC,UAAU,CAAC,GAAG,cAAc,CAAC,GAAG,GAAG,OAAO,CAAC,CAAC;oBACnD,IAAI,CAAC,UAAU,EAAE,CAAC;wBAChB,aAAa,CAAC,GAAG,GAAG,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC9C,CAAC;gBACH,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC;IAE1D,OAAO,CACL,KAAC,sBAAsB,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,CAAC,OAAO,YACrD,QAAQ,GACuB,CACnC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAChC,QAAuC,EACvC,UAA2C;IAE3C,MAAM,QAAQ,GAAG,UAAU,CAAC,sBAAsB,CAAC,CAAC;IACpD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,KAAK,CACb,yCAAyC,uBAAuB,CAAC,IAAI,IAAI,CAC1E,CAAC;IACJ,CAAC;IACD,OAAO,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AACxC,CAAC;AAED,MAAM,UAAU,yBAAyB;IACvC,MAAM,QAAQ,GAAG,UAAU,CAAC,sBAAsB,CAAC,CAAC;IACpD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,KAAK,CACb,yCAAyC,uBAAuB,CAAC,IAAI,IAAI,CAC1E,CAAC;IACJ,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { PersistStoreProps } from '../types';
2
- import type { ChainOrderState } from './types';
1
+ import type { PersistStoreProps } from '../types.js';
2
+ import type { ChainOrderState } from './types.js';
3
3
  export declare const maxChainToOrder = 9;
4
4
  export declare const createChainOrderStore: ({ namePrefix }: PersistStoreProps) => import("zustand/traditional").UseBoundStoreWithEqualityFn<import("zustand").StoreApi<ChainOrderState>>;
@@ -1,4 +1,4 @@
1
- export * from './ChainOrderStore';
2
- export * from './createChainOrderStore';
3
- export * from './types';
4
- export * from './useChainOrder';
1
+ export * from './ChainOrderStore.js';
2
+ export * from './createChainOrderStore.js';
3
+ export * from './types.js';
4
+ export * from './useChainOrder.js';
@@ -1,5 +1,5 @@
1
- export * from './ChainOrderStore';
2
- export * from './createChainOrderStore';
3
- export * from './types';
4
- export * from './useChainOrder';
1
+ export * from './ChainOrderStore.js';
2
+ export * from './createChainOrderStore.js';
3
+ export * from './types.js';
4
+ export * from './useChainOrder.js';
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../stores/chains/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../stores/chains/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { FormType } from '../form';
1
+ import type { FormType } from '../form/types.js';
2
2
  export interface ChainOrderProps {
3
3
  chainOrder: {
4
4
  from: number[];
@@ -1,2 +1,2 @@
1
- import type { FormType } from '../form';
1
+ import type { FormType } from '../form/types.js';
2
2
  export declare const useChainOrder: (type: FormType) => [number[], (chainId: number, type: FormType) => void];
@@ -1,5 +1,5 @@
1
1
  import { shallow } from 'zustand/shallow';
2
- import { useChainOrderStore } from './ChainOrderStore';
2
+ import { useChainOrderStore } from './ChainOrderStore.js';
3
3
  export const useChainOrder = (type) => {
4
4
  return useChainOrderStore((state) => [state.chainOrder[type], state.setChain], shallow);
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useChainOrder.js","sourceRoot":"","sources":["../../../stores/chains/useChainOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,IAAc,EACyC,EAAE;IACzD,OAAO,kBAAkB,CACvB,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,EACnD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"useChainOrder.js","sourceRoot":"","sources":["../../../stores/chains/useChainOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,IAAc,EACyC,EAAE;IACzD,OAAO,kBAAkB,CACvB,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,EACnD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +1,2 @@
1
1
  import type { PropsWithChildren } from 'react';
2
- import { shallow } from 'zustand/shallow';
3
- import type { FormStoreStore, FormValuesState } from './types';
4
- export declare const FormStoreContext: import("react").Context<FormStoreStore | null>;
5
2
  export declare const FormStoreProvider: React.FC<PropsWithChildren>;
6
- export declare function useFormStore<T>(selector: (state: FormValuesState) => T, equalityFn?: typeof shallow): T;
@@ -1,11 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { createContext, useContext, useMemo, useRef } from 'react';
3
- import { shallow } from 'zustand/shallow';
4
- import { useWidgetConfig } from '../../providers';
5
- import { HiddenUI } from '../../types';
6
- import { FormUpdater } from './FormUpdater';
7
- import { createFormStore, formDefaultValues } from './createFormStore';
8
- export const FormStoreContext = createContext(null);
2
+ import { useMemo, useRef } from 'react';
3
+ import { useWidgetConfig } from '../../providers/WidgetProvider/WidgetProvider.js';
4
+ import { HiddenUI } from '../../types/widget.js';
5
+ import { FormStoreContext } from './FormStoreContext.js';
6
+ import { FormUpdater } from './FormUpdater.js';
7
+ import { createFormStore, formDefaultValues } from './createFormStore.js';
9
8
  export const FormStoreProvider = ({ children, }) => {
10
9
  const { fromChain, fromToken, fromAmount, toChain, toToken, toAddress, hiddenUI, } = useWidgetConfig();
11
10
  const storeRef = useRef();
@@ -37,11 +36,4 @@ export const FormStoreProvider = ({ children, }) => {
37
36
  }
38
37
  return (_jsx(FormStoreContext.Provider, { value: storeRef.current, children: _jsx(FormUpdater, { defaultValues: defaultValues, children: children }) }));
39
38
  };
40
- export function useFormStore(selector, equalityFn = shallow) {
41
- const useStore = useContext(FormStoreContext);
42
- if (!useStore) {
43
- throw new Error(`You forgot to wrap your component in <${FormStoreProvider.name}>.`);
44
- }
45
- return useStore(selector, equalityFn);
46
- }
47
39
  //# sourceMappingURL=FormStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormStore.js","sourceRoot":"","sources":["../../../stores/form/FormStore.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAA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P,UAAU,EACR,CAAC,OAAO,UAAU,KAAK,QAAQ;YAC7B,CAAC,CAAC,UAAU,EAAE,WAAW,EAAE;YAC3B,CAAC,CAAC,UAAU,CAAC,IAAI,iBAAiB,CAAC,UAAU;QACjD,mDAAmD;QACnD,SAAS,EAAE,eAAe;YACxB,CAAC,CAAC,iBAAiB,CAAC,SAAS;YAC7B,CAAC,CAAC,SAAS,EAAE,OAAO,IAAI,iBAAiB,CAAC,SAAS;KACtD,CAAC,EACF;QACE,UAAU;QACV,SAAS;QACT,SAAS;QACT,eAAe;QACf,SAAS;QACT,OAAO;QACP,OAAO;KACR,CACF,CAAC;IAEF,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;QACtB,QAAQ,CAAC,OAAO,GAAG,eAAe,CAAC,aAAa,CAAC,CAAC;IACpD,CAAC;IAED,OAAO,CACL,KAAC,gBAAgB,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,CAAC,OAAO,YAChD,KAAC,WAAW,IAAC,aAAa,EAAE,aAAa,YAAG,QAAQ,GAAe,GACzC,CAC7B,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" resolution-mode="require"/>
2
+ import type { FormStoreStore } from './types.js';
3
+ export declare const FormStoreContext: import("react").Context<FormStoreStore | null>;
@@ -0,0 +1,3 @@
1
+ import { createContext } from 'react';
2
+ export const FormStoreContext = createContext(null);
3
+ //# sourceMappingURL=FormStoreContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormStoreContext.js","sourceRoot":"","sources":["../../../stores/form/FormStoreContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAwB,IAAI,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { PropsWithChildren } from 'react';
2
- import type { DefaultValues } from './types';
2
+ import type { DefaultValues } from './types.js';
3
3
  export declare const FormUpdater: React.FC<PropsWithChildren<{
4
4
  defaultValues: Partial<DefaultValues>;
5
5
  }>>;
@@ -1,8 +1,8 @@
1
1
  import { useEffect, useRef } from 'react';
2
- import { useAccount } from '../../hooks';
3
- import { useWidgetConfig } from '../../providers';
4
- import { isItemAllowed } from '../../utils';
5
- import { useFieldActions } from './useFieldActions';
2
+ import { useAccount } from '../../hooks/useAccount.js';
3
+ import { useWidgetConfig } from '../../providers/WidgetProvider/WidgetProvider.js';
4
+ import { isItemAllowed } from '../../utils/item.js';
5
+ import { useFieldActions } from './useFieldActions.js';
6
6
  export const FormUpdater = ({ defaultValues, children }) => {
7
7
  const { fromChain, toChain, chains } = useWidgetConfig();
8
8
  const { account } = useAccount();
@@ -1 +1 @@
1
- {"version":3,"file":"FormUpdater.js","sourceRoot":"","sources":["../../../stores/form/FormUpdater.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAC,MAAM,WAAW,GAIpB,CAAC,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,eAAe,EAAE,CAAC;IACzD,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,EAAE,CAAC;IACjC,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,GAC5D,eAAe,EAAE,CAAC;IACpB,MAAM,qBAAqB,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;IAEpD,mHAAmH;IACnH,SAAS,CAAC,GAAG,EAAE;QACb,MAAM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CAAC,GAAG,CAAC,KAAK,aAAa,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC9D,MAAM,KAAK,GACT,aAAa,CAAC,GAAG,CAAC;oBAClB,2EAA2E;oBAC3E,CAAC,GAAG,KAAK,WAAW,IAAI,GAAG,KAAK,SAAS;wBACvC,CAAC,CAAC,OAAO,CAAC,OAAO,IAAI,EAAE;wBACvB,CAAC,CAAC,EAAE,CAAC,CAAC;gBACV,aAAa,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;gBAC1B,UAAU,CAAC,GAAG,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC,CAAC;YAC3C,CAAC;QACH,CAAC,CAAC,CAAC;QACH,qBAAqB,CAAC,OAAO,GAAG,aAAa,CAAC;QAC9C,uDAAuD;IACzD,CAAC,EAAE,CAAC,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC;IAE/D,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { useEffect } from 'react';
2
2
  import { useLocation } from 'react-router-dom';
3
- import { useFieldValues, useTouchedFields } from '../index';
3
+ import { useFieldValues } from '../form/useFieldValues.js';
4
+ import { useTouchedFields } from '../form/useTouchedFields.js';
4
5
  const formValueKeys = [
5
6
  'fromAmount',
6
7
  'fromChain',
@@ -1 +1 @@
1
- {"version":3,"file":"URLSearchParamsBuilder.js","sourceRoot":"","sources":["../../../stores/form/URLSearchParamsBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5D,MAAM,aAAa,GAAqB;IACtC,YAAY;IACZ,WAAW;IACX,WAAW;IACX,WAAW;IACX,SAAS;IACT,SAAS;CACV,CAAC;AAEF,MAAM,CAAC,MAA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AE,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC;IAEtC,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { DefaultValues, FormValuesState } from './types';
1
+ import type { DefaultValues, FormValuesState } from './types.js';
2
2
  export declare const formDefaultValues: DefaultValues;
3
3
  export declare const createFormStore: (defaultValues?: DefaultValues) => import("zustand/traditional").UseBoundStoreWithEqualityFn<import("zustand").StoreApi<FormValuesState>>;
@@ -1,10 +1,10 @@
1
- export * from './createFormStore';
2
- export * from './FormStore';
3
- export * from './types';
4
- export * from './useFieldActions';
5
- export * from './useFieldController';
6
- export * from './useFieldValues';
7
- export * from './useTouchedFields';
8
- export * from './useValidation';
9
- export * from './useValidationActions';
10
- export * from './URLSearchParamsBuilder';
1
+ export * from './createFormStore.js';
2
+ export * from './FormStore.js';
3
+ export * from './types.js';
4
+ export * from './useFieldActions.js';
5
+ export * from './useFieldController.js';
6
+ export * from './useFieldValues.js';
7
+ export * from './useTouchedFields.js';
8
+ export * from './useValidation.js';
9
+ export * from './useValidationActions.js';
10
+ export * from './URLSearchParamsBuilder.js';
@@ -1,11 +1,11 @@
1
- export * from './createFormStore';
2
- export * from './FormStore';
3
- export * from './types';
4
- export * from './useFieldActions';
5
- export * from './useFieldController';
6
- export * from './useFieldValues';
7
- export * from './useTouchedFields';
8
- export * from './useValidation';
9
- export * from './useValidationActions';
10
- export * from './URLSearchParamsBuilder';
1
+ export * from './createFormStore.js';
2
+ export * from './FormStore.js';
3
+ export * from './types.js';
4
+ export * from './useFieldActions.js';
5
+ export * from './useFieldController.js';
6
+ export * from './useFieldValues.js';
7
+ export * from './useTouchedFields.js';
8
+ export * from './useValidation.js';
9
+ export * from './useValidationActions.js';
10
+ export * from './URLSearchParamsBuilder.js';
11
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../stores/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../stores/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}
@@ -1,2 +1,2 @@
1
- import type { FormActions } from './types';
1
+ import type { FormActions } from './types.js';
2
2
  export declare const useFieldActions: () => FormActions;
@@ -1,5 +1,5 @@
1
1
  import { shallow } from 'zustand/shallow';
2
- import { useFormStore } from './FormStore';
2
+ import { useFormStore } from './useFormStore.js';
3
3
  export const useFieldActions = () => {
4
4
  const actions = useFormStore((store) => ({
5
5
  getFieldValues: store.getFieldValues,
@@ -1 +1 @@
1
- {"version":3,"file":"useFieldActions.js","sourceRoot":"","sources":["../../../stores/form/useFieldActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,MAAM,OAAO,GAAG,YAAY,CAC1B,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACV,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,SAAS,EAAE,KAAK,CAAC,SAAS;QAC1B,UAAU,EAAE,KAAK,CAAC,UAAU;QAC5B,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;QACxC,aAAa,EAAE,KAAK,CAAC,aAAa;KACnC,CAAC,EACF,OAAO,CACR,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
1
+ {"version":3,"file":"useFieldActions.js","sourceRoot":"","sources":["../../../stores/form/useFieldActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,MAAM,OAAO,GAAG,YAAY,CAC1B,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACV,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,SAAS,EAAE,KAAK,CAAC,SAAS;QAC1B,UAAU,EAAE,KAAK,CAAC,UAAU;QAC5B,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;QACxC,aAAa,EAAE,KAAK,CAAC,aAAa;KACnC,CAAC,EACF,OAAO,CACR,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
@@ -1,11 +1,11 @@
1
- import type { FormFieldNames } from './types';
1
+ import type { FormFieldNames } from './types.js';
2
2
  interface UseFieldControllerProps {
3
3
  name: FormFieldNames;
4
4
  }
5
5
  export declare const useFieldController: ({ name }: UseFieldControllerProps) => {
6
6
  onChange: (newValue: string | number | undefined) => void;
7
7
  onBlur: () => void;
8
- name: keyof import("./types").DefaultValues;
8
+ name: keyof import("./types.js").DefaultValues;
9
9
  value: string | number | undefined;
10
10
  };
11
11
  export {};
@@ -1,6 +1,6 @@
1
1
  import { useCallback } from 'react';
2
- import { useFieldValues } from './useFieldValues';
3
- import { useFieldActions } from './useFieldActions';
2
+ import { useFieldValues } from './useFieldValues.js';
3
+ import { useFieldActions } from './useFieldActions.js';
4
4
  export const useFieldController = ({ name }) => {
5
5
  const [fieldValue] = useFieldValues(name);
6
6
  const { setFieldValue, setAsTouched } = useFieldActions();
@@ -1 +1 @@
1
- {"version":3,"file":"useFieldController.js","sourceRoot":"","sources":["../../../stores/form/useFieldController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAA2B,EAAE,EAAE;IACtE,MAAM,CAAC,UAAU,CAAC,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAC1C,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,eAAe,EAAE,CAAC;IAE1D,MAAM,QAAQ,GAAG,WAAW,CAC1B,CAAC,QAAqC,EAAE,EAAE;QACxC,aAAa,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IACnD,CAAC,EACD,CAAC,IAAI,EAAE,aAAa,CAAC,CACtB,CAAC;IAEF,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,EAAE;QAC9B,YAAY,CAAC,IAAI,CAAC,CAAC;IACrB,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC;IAEzB,OAAO;QACL,QAAQ;QACR,MAAM;QACN,IAAI;QACJ,KAAK,EAAE,UAAU;KAClB,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"useFieldController.js","sourceRoot":"","sources":["../../../stores/form/useFieldController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAMvD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAA2B,EAAE,EAAE;IACtE,MAAM,CAAC,UAAU,CAAC,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAC1C,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,eAAe,EAAE,CAAC;IAE1D,MAAM,QAAQ,GAAG,WAAW,CAC1B,CAAC,QAAqC,EAAE,EAAE;QACxC,aAAa,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IACnD,CAAC,EACD,CAAC,IAAI,EAAE,aAAa,CAAC,CACtB,CAAC;IAEF,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,EAAE;QAC9B,YAAY,CAAC,IAAI,CAAC,CAAC;IACrB,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC;IAEzB,OAAO;QACL,QAAQ;QACR,MAAM;QACN,IAAI;QACJ,KAAK,EAAE,UAAU;KAClB,CAAC;AACJ,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- import type { FormFieldArray } from './types';
2
- export declare const useFieldValues: <T extends (keyof import("./types").DefaultValues)[]>(...names: T) => FormFieldArray<T>;
1
+ import type { FormFieldArray } from './types.js';
2
+ export declare const useFieldValues: <T extends (keyof import("./types.js").DefaultValues)[]>(...names: T) => FormFieldArray<T>;
@@ -1,5 +1,5 @@
1
1
  import { shallow } from 'zustand/shallow';
2
- import { useFormStore } from './FormStore';
2
+ import { useFormStore } from './useFormStore.js';
3
3
  // We should return a strongly-typed array based on the specific field names we pass to the function.
4
4
  export const useFieldValues = (...names) => {
5
5
  const values = useFormStore((store) => names.map((name) => store.userValues[name].value), shallow);
@@ -1 +1 @@
1
- {"version":3,"file":"useFieldValues.js","sourceRoot":"","sources":["../../../stores/form/useFieldValues.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,qGAAqG;AACrG,MAAM,CAAC,MAAM,cAAc,GAAG,CAA6B,GAAG,KAAQ,EAAE,EAAE;IACxE,MAAM,MAAM,GAAG,YAAY,CACzB,CAAC,KAAK,EAAE,EAAE,CACR,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAE,CAAC,KAAK,CAAsB,EACzE,OAAO,CACR,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
1
+ {"version":3,"file":"useFieldValues.js","sourceRoot":"","sources":["../../../stores/form/useFieldValues.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,qGAAqG;AACrG,MAAM,CAAC,MAAM,cAAc,GAAG,CAA6B,GAAG,KAAQ,EAAE,EAAE;IACxE,MAAM,MAAM,GAAG,YAAY,CACzB,CAAC,KAAK,EAAE,EAAE,CACR,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAE,CAAC,KAAK,CAAsB,EACzE,OAAO,CACR,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { shallow } from 'zustand/shallow';
2
+ import type { FormValuesState } from './types.js';
3
+ export declare function useFormStore<T>(selector: (state: FormValuesState) => T, equalityFn?: typeof shallow): T;
@@ -0,0 +1,11 @@
1
+ import { useContext } from 'react';
2
+ import { shallow } from 'zustand/shallow';
3
+ import { FormStoreContext } from './FormStoreContext.js';
4
+ export function useFormStore(selector, equalityFn = shallow) {
5
+ const useStore = useContext(FormStoreContext);
6
+ if (!useStore) {
7
+ throw new Error(`You forgot to wrap your component in <FormStoreProvider>.`);
8
+ }
9
+ return useStore(selector, equalityFn);
10
+ }
11
+ //# sourceMappingURL=useFormStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFormStore.js","sourceRoot":"","sources":["../../../stores/form/useFormStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,MAAM,UAAU,YAAY,CAC1B,QAAuC,EACvC,UAAU,GAAG,OAAO;IAEpB,MAAM,QAAQ,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAE9C,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,KAAK,CACb,2DAA2D,CAC5D,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AACxC,CAAC"}
@@ -1,14 +1,14 @@
1
1
  export declare const useTouchedFields: () => {
2
2
  fromAmount?: boolean | undefined;
3
- contractOutputsToken?: boolean | undefined;
4
- fromChain?: boolean | undefined;
5
3
  fromToken?: boolean | undefined;
6
4
  toAddress?: boolean | undefined;
7
- toAmount?: boolean | undefined;
5
+ toToken?: boolean | undefined;
6
+ fromChain?: boolean | undefined;
8
7
  toChain?: boolean | undefined;
8
+ toAmount?: boolean | undefined;
9
+ contractOutputsToken?: boolean | undefined;
9
10
  toContractAddress?: boolean | undefined;
10
11
  toContractCallData?: boolean | undefined;
11
12
  toContractGasLimit?: boolean | undefined;
12
- toToken?: boolean | undefined;
13
13
  tokenSearchFilter?: boolean | undefined;
14
14
  };
@@ -1,5 +1,5 @@
1
- import { useFormStore } from './FormStore';
2
1
  import { shallow } from 'zustand/shallow';
2
+ import { useFormStore } from './useFormStore.js';
3
3
  export const useTouchedFields = () => {
4
4
  const touchedFields = useFormStore((store) => store.touchedFields, shallow);
5
5
  return touchedFields;
@@ -1 +1 @@
1
- {"version":3,"file":"useTouchedFields.js","sourceRoot":"","sources":["../../../stores/form/useTouchedFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACnC,MAAM,aAAa,GAAG,YAAY,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAE5E,OAAO,aAAa,CAAC;AACvB,CAAC,CAAC"}
1
+ {"version":3,"file":"useTouchedFields.js","sourceRoot":"","sources":["../../../stores/form/useTouchedFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACnC,MAAM,aAAa,GAAG,YAAY,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAE5E,OAAO,aAAa,CAAC;AACvB,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- import type { ValidationProps } from './types';
1
+ import type { ValidationProps } from './types.js';
2
2
  export declare const useValidation: () => Omit<ValidationProps, 'validation'>;
@@ -1,5 +1,5 @@
1
- import { useFormStore } from './FormStore';
2
1
  import { shallow } from 'zustand/shallow';
2
+ import { useFormStore } from './useFormStore.js';
3
3
  export const useValidation = () => {
4
4
  const [isValid, isValidating, errors] = useFormStore((store) => [store.isValid, store.isValidating, store.errors], shallow);
5
5
  return {