@n1xyz/wallet-widget 0.0.32 → 0.0.33-alpha.1

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 (1152) hide show
  1. package/dist/features/onboarding-flow/N1WalletModal.d.ts +0 -1
  2. package/dist/features/onboarding-flow/N1WalletModal.js +0 -1
  3. package/dist/features/onboarding-flow/N1WalletModal.js.map +1 -1
  4. package/dist/hooks/index.js.map +1 -1
  5. package/package.json +3 -2
  6. package/dist/Logic/getPseudoName.d.ts +0 -1
  7. package/dist/Logic/getPseudoName.js +0 -5826
  8. package/dist/Logic/getPseudoName.js.map +0 -1
  9. package/dist/Logic/sessionManager.d.ts +0 -17
  10. package/dist/Logic/sessionManager.js +0 -38
  11. package/dist/Logic/sessionManager.js.map +0 -1
  12. package/dist/Logic/transactionManager.d.ts +0 -19
  13. package/dist/Logic/transactionManager.js +0 -8
  14. package/dist/Logic/transactionManager.js.map +0 -1
  15. package/dist/Logic/utils.d.ts +0 -19
  16. package/dist/Logic/utils.js +0 -66
  17. package/dist/Logic/utils.js.map +0 -1
  18. package/dist/Logic/words.d.ts +0 -9
  19. package/dist/Logic/words.js +0 -93572
  20. package/dist/Logic/words.js.map +0 -1
  21. package/dist/Modal/LoadingFallback.d.ts +0 -2
  22. package/dist/Modal/LoadingFallback.js +0 -3
  23. package/dist/Modal/LoadingFallback.js.map +0 -1
  24. package/dist/Modal/N1WalletModal.d.ts +0 -2
  25. package/dist/Modal/N1WalletModal.js +0 -93
  26. package/dist/Modal/N1WalletModal.js.map +0 -1
  27. package/dist/Modal/NTSFlow/LoadingFallback.d.ts +0 -2
  28. package/dist/Modal/NTSFlow/LoadingFallback.js +0 -3
  29. package/dist/Modal/NTSFlow/LoadingFallback.js.map +0 -1
  30. package/dist/Modal/NTSFlow/NTSFlow.d.ts +0 -4
  31. package/dist/Modal/NTSFlow/NTSFlow.js +0 -35
  32. package/dist/Modal/NTSFlow/NTSFlow.js.map +0 -1
  33. package/dist/Modal/NTSFlow/components/BackButton.d.ts +0 -3
  34. package/dist/Modal/NTSFlow/components/BackButton.js +0 -26
  35. package/dist/Modal/NTSFlow/components/BackButton.js.map +0 -1
  36. package/dist/Modal/NTSFlow/components/ModalHeader.d.ts +0 -1
  37. package/dist/Modal/NTSFlow/components/ModalHeader.js +0 -21
  38. package/dist/Modal/NTSFlow/components/ModalHeader.js.map +0 -1
  39. package/dist/Modal/NTSFlow/index.d.ts +0 -1
  40. package/dist/Modal/NTSFlow/index.js +0 -2
  41. package/dist/Modal/NTSFlow/index.js.map +0 -1
  42. package/dist/Modal/NTSFlow/views/ConnectView.d.ts +0 -1
  43. package/dist/Modal/NTSFlow/views/ConnectView.js +0 -68
  44. package/dist/Modal/NTSFlow/views/ConnectView.js.map +0 -1
  45. package/dist/Modal/NTSFlow/views/CreateSessionView.d.ts +0 -1
  46. package/dist/Modal/NTSFlow/views/CreateSessionView.js +0 -246
  47. package/dist/Modal/NTSFlow/views/CreateSessionView.js.map +0 -1
  48. package/dist/Modal/NTSFlow/views/CreateUserView.d.ts +0 -1
  49. package/dist/Modal/NTSFlow/views/CreateUserView.js +0 -106
  50. package/dist/Modal/NTSFlow/views/CreateUserView.js.map +0 -1
  51. package/dist/Modal/NTSFlow/views/NoWhitelistView.d.ts +0 -1
  52. package/dist/Modal/NTSFlow/views/NoWhitelistView.js +0 -43
  53. package/dist/Modal/NTSFlow/views/NoWhitelistView.js.map +0 -1
  54. package/dist/Modal/NTSFlow/views/SigningView.d.ts +0 -1
  55. package/dist/Modal/NTSFlow/views/SigningView.js +0 -6
  56. package/dist/Modal/NTSFlow/views/SigningView.js.map +0 -1
  57. package/dist/Modal/NTSFlow/views/SuccessView.d.ts +0 -1
  58. package/dist/Modal/NTSFlow/views/SuccessView.js +0 -11
  59. package/dist/Modal/NTSFlow/views/SuccessView.js.map +0 -1
  60. package/dist/Modal/NordFlow/NordFlow.d.ts +0 -9
  61. package/dist/Modal/NordFlow/NordFlow.js +0 -98
  62. package/dist/Modal/NordFlow/NordFlow.js.map +0 -1
  63. package/dist/Modal/NordFlow/components/ChainButton.d.ts +0 -10
  64. package/dist/Modal/NordFlow/components/ChainButton.js +0 -21
  65. package/dist/Modal/NordFlow/components/ChainButton.js.map +0 -1
  66. package/dist/Modal/NordFlow/components/EVMChainsButton.d.ts +0 -9
  67. package/dist/Modal/NordFlow/components/EVMChainsButton.js +0 -21
  68. package/dist/Modal/NordFlow/components/EVMChainsButton.js.map +0 -1
  69. package/dist/Modal/NordFlow/components/Header.d.ts +0 -12
  70. package/dist/Modal/NordFlow/components/Header.js +0 -45
  71. package/dist/Modal/NordFlow/components/Header.js.map +0 -1
  72. package/dist/Modal/NordFlow/components/ImageWithFallback.d.ts +0 -17
  73. package/dist/Modal/NordFlow/components/ImageWithFallback.js +0 -33
  74. package/dist/Modal/NordFlow/components/ImageWithFallback.js.map +0 -1
  75. package/dist/Modal/NordFlow/components/LoadingSquares.d.ts +0 -1
  76. package/dist/Modal/NordFlow/components/LoadingSquares.js +0 -6
  77. package/dist/Modal/NordFlow/components/LoadingSquares.js.map +0 -1
  78. package/dist/Modal/NordFlow/components/MoreButton.d.ts +0 -8
  79. package/dist/Modal/NordFlow/components/MoreButton.js +0 -19
  80. package/dist/Modal/NordFlow/components/MoreButton.js.map +0 -1
  81. package/dist/Modal/NordFlow/components/TransactionTable.d.ts +0 -13
  82. package/dist/Modal/NordFlow/components/TransactionTable.js +0 -83
  83. package/dist/Modal/NordFlow/components/TransactionTable.js.map +0 -1
  84. package/dist/Modal/NordFlow/components/WaitingMessage.d.ts +0 -8
  85. package/dist/Modal/NordFlow/components/WaitingMessage.js +0 -17
  86. package/dist/Modal/NordFlow/components/WaitingMessage.js.map +0 -1
  87. package/dist/Modal/NordFlow/components/index.d.ts +0 -5
  88. package/dist/Modal/NordFlow/components/index.js +0 -6
  89. package/dist/Modal/NordFlow/components/index.js.map +0 -1
  90. package/dist/Modal/NordFlow/constants.d.ts +0 -31
  91. package/dist/Modal/NordFlow/constants.js +0 -56
  92. package/dist/Modal/NordFlow/constants.js.map +0 -1
  93. package/dist/Modal/NordFlow/context/DepositContext.d.ts +0 -29
  94. package/dist/Modal/NordFlow/context/DepositContext.js +0 -526
  95. package/dist/Modal/NordFlow/context/DepositContext.js.map +0 -1
  96. package/dist/Modal/NordFlow/context/FlowContext.d.ts +0 -50
  97. package/dist/Modal/NordFlow/context/FlowContext.js +0 -192
  98. package/dist/Modal/NordFlow/context/FlowContext.js.map +0 -1
  99. package/dist/Modal/NordFlow/context/NordProvider.d.ts +0 -10
  100. package/dist/Modal/NordFlow/context/NordProvider.js +0 -14
  101. package/dist/Modal/NordFlow/context/NordProvider.js.map +0 -1
  102. package/dist/Modal/NordFlow/context/WalletConnectContext.d.ts +0 -20
  103. package/dist/Modal/NordFlow/context/WalletConnectContext.js +0 -394
  104. package/dist/Modal/NordFlow/context/WalletConnectContext.js.map +0 -1
  105. package/dist/Modal/NordFlow/context/flowMachine.d.ts +0 -48
  106. package/dist/Modal/NordFlow/context/flowMachine.js +0 -83
  107. package/dist/Modal/NordFlow/context/flowMachine.js.map +0 -1
  108. package/dist/Modal/NordFlow/context/index.d.ts +0 -5
  109. package/dist/Modal/NordFlow/context/index.js +0 -8
  110. package/dist/Modal/NordFlow/context/index.js.map +0 -1
  111. package/dist/Modal/NordFlow/hoc/index.d.ts +0 -1
  112. package/dist/Modal/NordFlow/hoc/index.js +0 -2
  113. package/dist/Modal/NordFlow/hoc/index.js.map +0 -1
  114. package/dist/Modal/NordFlow/hoc/withImageFallback.d.ts +0 -7
  115. package/dist/Modal/NordFlow/hoc/withImageFallback.js +0 -61
  116. package/dist/Modal/NordFlow/hoc/withImageFallback.js.map +0 -1
  117. package/dist/Modal/NordFlow/hooks/useTestnetFaucet.d.ts +0 -18
  118. package/dist/Modal/NordFlow/hooks/useTestnetFaucet.js +0 -181
  119. package/dist/Modal/NordFlow/hooks/useTestnetFaucet.js.map +0 -1
  120. package/dist/Modal/NordFlow/index.d.ts +0 -1
  121. package/dist/Modal/NordFlow/index.js +0 -2
  122. package/dist/Modal/NordFlow/index.js.map +0 -1
  123. package/dist/Modal/NordFlow/screens/00-IdleScreen.d.ts +0 -6
  124. package/dist/Modal/NordFlow/screens/00-IdleScreen.js +0 -9
  125. package/dist/Modal/NordFlow/screens/00-IdleScreen.js.map +0 -1
  126. package/dist/Modal/NordFlow/screens/01-ConnectWalletScreen.d.ts +0 -1
  127. package/dist/Modal/NordFlow/screens/01-ConnectWalletScreen.js +0 -19
  128. package/dist/Modal/NordFlow/screens/01-ConnectWalletScreen.js.map +0 -1
  129. package/dist/Modal/NordFlow/screens/02-ChainSelectionScreen.d.ts +0 -1
  130. package/dist/Modal/NordFlow/screens/02-ChainSelectionScreen.js +0 -65
  131. package/dist/Modal/NordFlow/screens/02-ChainSelectionScreen.js.map +0 -1
  132. package/dist/Modal/NordFlow/screens/02-EvmWalletAuthScreen.d.ts +0 -2
  133. package/dist/Modal/NordFlow/screens/02-EvmWalletAuthScreen.js +0 -45
  134. package/dist/Modal/NordFlow/screens/02-EvmWalletAuthScreen.js.map +0 -1
  135. package/dist/Modal/NordFlow/screens/03-AmountInputScreen.d.ts +0 -4
  136. package/dist/Modal/NordFlow/screens/03-AmountInputScreen.js +0 -358
  137. package/dist/Modal/NordFlow/screens/03-AmountInputScreen.js.map +0 -1
  138. package/dist/Modal/NordFlow/screens/03-ChainSelectionScreen.d.ts +0 -1
  139. package/dist/Modal/NordFlow/screens/03-ChainSelectionScreen.js +0 -66
  140. package/dist/Modal/NordFlow/screens/03-ChainSelectionScreen.js.map +0 -1
  141. package/dist/Modal/NordFlow/screens/04-AmountInputScreen.d.ts +0 -1
  142. package/dist/Modal/NordFlow/screens/04-AmountInputScreen.js +0 -204
  143. package/dist/Modal/NordFlow/screens/04-AmountInputScreen.js.map +0 -1
  144. package/dist/Modal/NordFlow/screens/04-DepositProgressScreen.d.ts +0 -1
  145. package/dist/Modal/NordFlow/screens/04-DepositProgressScreen.js +0 -26
  146. package/dist/Modal/NordFlow/screens/04-DepositProgressScreen.js.map +0 -1
  147. package/dist/Modal/NordFlow/screens/05-DepositProgressScreen.d.ts +0 -1
  148. package/dist/Modal/NordFlow/screens/05-DepositProgressScreen.js +0 -51
  149. package/dist/Modal/NordFlow/screens/05-DepositProgressScreen.js.map +0 -1
  150. package/dist/Modal/NordFlow/screens/05-DepositSuccessScreen.d.ts +0 -1
  151. package/dist/Modal/NordFlow/screens/05-DepositSuccessScreen.js +0 -137
  152. package/dist/Modal/NordFlow/screens/05-DepositSuccessScreen.js.map +0 -1
  153. package/dist/Modal/NordFlow/screens/06-AuthLoadingScreen.d.ts +0 -1
  154. package/dist/Modal/NordFlow/screens/06-AuthLoadingScreen.js +0 -31
  155. package/dist/Modal/NordFlow/screens/06-AuthLoadingScreen.js.map +0 -1
  156. package/dist/Modal/NordFlow/screens/06-DepositSuccessScreen.d.ts +0 -1
  157. package/dist/Modal/NordFlow/screens/06-DepositSuccessScreen.js +0 -132
  158. package/dist/Modal/NordFlow/screens/06-DepositSuccessScreen.js.map +0 -1
  159. package/dist/Modal/NordFlow/screens/07-AuthLoadingScreen.d.ts +0 -1
  160. package/dist/Modal/NordFlow/screens/07-AuthLoadingScreen.js +0 -30
  161. package/dist/Modal/NordFlow/screens/07-AuthLoadingScreen.js.map +0 -1
  162. package/dist/Modal/NordFlow/screens/07-ErrorScreen.d.ts +0 -1
  163. package/dist/Modal/NordFlow/screens/07-ErrorScreen.js +0 -14
  164. package/dist/Modal/NordFlow/screens/07-ErrorScreen.js.map +0 -1
  165. package/dist/Modal/NordFlow/screens/07-FinalSuccessScreen.d.ts +0 -5
  166. package/dist/Modal/NordFlow/screens/07-FinalSuccessScreen.js +0 -39
  167. package/dist/Modal/NordFlow/screens/07-FinalSuccessScreen.js.map +0 -1
  168. package/dist/Modal/NordFlow/screens/08-ErrorScreen.d.ts +0 -1
  169. package/dist/Modal/NordFlow/screens/08-ErrorScreen.js +0 -68
  170. package/dist/Modal/NordFlow/screens/08-ErrorScreen.js.map +0 -1
  171. package/dist/Modal/NordFlow/screens/08-FinalSuccessScreen.d.ts +0 -5
  172. package/dist/Modal/NordFlow/screens/08-FinalSuccessScreen.js +0 -52
  173. package/dist/Modal/NordFlow/screens/08-FinalSuccessScreen.js.map +0 -1
  174. package/dist/Modal/NordFlow/screens/09-ErrorScreen.d.ts +0 -1
  175. package/dist/Modal/NordFlow/screens/09-ErrorScreen.js +0 -68
  176. package/dist/Modal/NordFlow/screens/09-ErrorScreen.js.map +0 -1
  177. package/dist/Modal/NordFlow/screens/index.d.ts +0 -7
  178. package/dist/Modal/NordFlow/screens/index.js +0 -8
  179. package/dist/Modal/NordFlow/screens/index.js.map +0 -1
  180. package/dist/Modal/NordFlow/types.d.ts +0 -113
  181. package/dist/Modal/NordFlow/types.js +0 -34
  182. package/dist/Modal/NordFlow/types.js.map +0 -1
  183. package/dist/Modal/NordFlow/utils/depositStorage.d.ts +0 -4
  184. package/dist/Modal/NordFlow/utils/depositStorage.js +0 -48
  185. package/dist/Modal/NordFlow/utils/depositStorage.js.map +0 -1
  186. package/dist/Modal/NordFlow/utils/imageUtils.d.ts +0 -21
  187. package/dist/Modal/NordFlow/utils/imageUtils.js +0 -110
  188. package/dist/Modal/NordFlow/utils/imageUtils.js.map +0 -1
  189. package/dist/Modal/NordFlow/utils/index.d.ts +0 -2
  190. package/dist/Modal/NordFlow/utils/index.js +0 -3
  191. package/dist/Modal/NordFlow/utils/index.js.map +0 -1
  192. package/dist/Modal/NordFlow/utils/nordUtils.d.ts +0 -40
  193. package/dist/Modal/NordFlow/utils/nordUtils.js +0 -64
  194. package/dist/Modal/NordFlow/utils/nordUtils.js.map +0 -1
  195. package/dist/Modal/Sidebar/N1Sidebar.d.ts +0 -1
  196. package/dist/Modal/Sidebar/N1Sidebar.js +0 -203
  197. package/dist/Modal/Sidebar/N1Sidebar.js.map +0 -1
  198. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketOverview.d.ts +0 -12
  199. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketOverview.js +0 -90
  200. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketOverview.js.map +0 -1
  201. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketSelector.d.ts +0 -6
  202. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketSelector.js +0 -43
  203. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketSelector.js.map +0 -1
  204. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketStats.d.ts +0 -11
  205. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketStats.js +0 -20
  206. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketStats.js.map +0 -1
  207. package/dist/Modal/Sidebar/NordTradingView/NordTradingView.d.ts +0 -1
  208. package/dist/Modal/Sidebar/NordTradingView/NordTradingView.js +0 -143
  209. package/dist/Modal/Sidebar/NordTradingView/NordTradingView.js.map +0 -1
  210. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBook.d.ts +0 -0
  211. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBook.js +0 -248
  212. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBook.js.map +0 -1
  213. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookDepthVisualizer.d.ts +0 -10
  214. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookDepthVisualizer.js +0 -62
  215. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookDepthVisualizer.js.map +0 -1
  216. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookHeader.d.ts +0 -7
  217. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookHeader.js +0 -30
  218. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookHeader.js.map +0 -1
  219. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookTable.d.ts +0 -11
  220. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookTable.js +0 -22
  221. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookTable.js.map +0 -1
  222. package/dist/Modal/Sidebar/NordTradingView/TradeForm/AmountInput.d.ts +0 -7
  223. package/dist/Modal/Sidebar/NordTradingView/TradeForm/AmountInput.js +0 -20
  224. package/dist/Modal/Sidebar/NordTradingView/TradeForm/AmountInput.js.map +0 -1
  225. package/dist/Modal/Sidebar/NordTradingView/TradeForm/BuySellTabs.d.ts +0 -7
  226. package/dist/Modal/Sidebar/NordTradingView/TradeForm/BuySellTabs.js +0 -24
  227. package/dist/Modal/Sidebar/NordTradingView/TradeForm/BuySellTabs.js.map +0 -1
  228. package/dist/Modal/Sidebar/NordTradingView/TradeForm/FillModeSelector.d.ts +0 -7
  229. package/dist/Modal/Sidebar/NordTradingView/TradeForm/FillModeSelector.js +0 -80
  230. package/dist/Modal/Sidebar/NordTradingView/TradeForm/FillModeSelector.js.map +0 -1
  231. package/dist/Modal/Sidebar/NordTradingView/TradeForm/OrderTypeSelector.d.ts +0 -9
  232. package/dist/Modal/Sidebar/NordTradingView/TradeForm/OrderTypeSelector.js +0 -110
  233. package/dist/Modal/Sidebar/NordTradingView/TradeForm/OrderTypeSelector.js.map +0 -1
  234. package/dist/Modal/Sidebar/NordTradingView/TradeForm/PriceInput.d.ts +0 -7
  235. package/dist/Modal/Sidebar/NordTradingView/TradeForm/PriceInput.js +0 -30
  236. package/dist/Modal/Sidebar/NordTradingView/TradeForm/PriceInput.js.map +0 -1
  237. package/dist/Modal/Sidebar/NordTradingView/TradeForm/SubmitButton.d.ts +0 -9
  238. package/dist/Modal/Sidebar/NordTradingView/TradeForm/SubmitButton.js +0 -40
  239. package/dist/Modal/Sidebar/NordTradingView/TradeForm/SubmitButton.js.map +0 -1
  240. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TotalCalculator.d.ts +0 -7
  241. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TotalCalculator.js +0 -10
  242. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TotalCalculator.js.map +0 -1
  243. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TradeForm.d.ts +0 -13
  244. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TradeForm.js +0 -264
  245. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TradeForm.js.map +0 -1
  246. package/dist/Modal/Sidebar/NordTradingView/UserBalances/UserBalances.d.ts +0 -5
  247. package/dist/Modal/Sidebar/NordTradingView/UserBalances/UserBalances.js +0 -113
  248. package/dist/Modal/Sidebar/NordTradingView/UserBalances/UserBalances.js.map +0 -1
  249. package/dist/Modal/Sidebar/NordTradingView/UserOrders/UserOrders.d.ts +0 -1
  250. package/dist/Modal/Sidebar/NordTradingView/UserOrders/UserOrders.js +0 -183
  251. package/dist/Modal/Sidebar/NordTradingView/UserOrders/UserOrders.js.map +0 -1
  252. package/dist/Modal/Sidebar/NordTradingView/UserPositions/UserPositions.d.ts +0 -0
  253. package/dist/Modal/Sidebar/NordTradingView/UserPositions/UserPositions.js +0 -278
  254. package/dist/Modal/Sidebar/NordTradingView/UserPositions/UserPositions.js.map +0 -1
  255. package/dist/Provider/LazyWalletProvider.d.ts +0 -1
  256. package/dist/Provider/LazyWalletProvider.js +0 -230
  257. package/dist/Provider/LazyWalletProvider.js.map +0 -1
  258. package/dist/Provider/N1WalletProvider.d.ts +0 -3
  259. package/dist/Provider/N1WalletProvider.js +0 -266
  260. package/dist/Provider/N1WalletProvider.js.map +0 -1
  261. package/dist/Provider/ShadowRootWrapper.d.ts +0 -7
  262. package/dist/Provider/ShadowRootWrapper.js +0 -7
  263. package/dist/Provider/ShadowRootWrapper.js.map +0 -1
  264. package/dist/Provider/WalletErrorBoundary.d.ts +0 -17
  265. package/dist/Provider/WalletErrorBoundary.js +0 -57
  266. package/dist/Provider/WalletErrorBoundary.js.map +0 -1
  267. package/dist/Provider/context.d.ts +0 -5
  268. package/dist/Provider/context.js +0 -5
  269. package/dist/Provider/context.js.map +0 -1
  270. package/dist/Provider/hooks/useNordUserInitialization.d.ts +0 -1
  271. package/dist/Provider/hooks/useNordUserInitialization.js +0 -306
  272. package/dist/Provider/hooks/useNordUserInitialization.js.map +0 -1
  273. package/dist/Provider/hooks.d.ts +0 -2
  274. package/dist/Provider/hooks.js +0 -17
  275. package/dist/Provider/hooks.js.map +0 -1
  276. package/dist/Provider/icons/CoinbaseWalletIcon.d.ts +0 -1
  277. package/dist/Provider/icons/CoinbaseWalletIcon.js +0 -5
  278. package/dist/Provider/icons/CoinbaseWalletIcon.js.map +0 -1
  279. package/dist/Provider/icons/ConnectionDotsSVG.d.ts +0 -1
  280. package/dist/Provider/icons/ConnectionDotsSVG.js +0 -5
  281. package/dist/Provider/icons/ConnectionDotsSVG.js.map +0 -1
  282. package/dist/Provider/icons/MetamaskIcon.d.ts +0 -1
  283. package/dist/Provider/icons/MetamaskIcon.js +0 -5
  284. package/dist/Provider/icons/MetamaskIcon.js.map +0 -1
  285. package/dist/Provider/icons/PhantomIcon.d.ts +0 -1
  286. package/dist/Provider/icons/PhantomIcon.js +0 -5
  287. package/dist/Provider/icons/PhantomIcon.js.map +0 -1
  288. package/dist/Provider/icons/UserIcon.d.ts +0 -1
  289. package/dist/Provider/icons/UserIcon.js +0 -5
  290. package/dist/Provider/icons/UserIcon.js.map +0 -1
  291. package/dist/Provider/icons/WalletConnectIcon.d.ts +0 -1
  292. package/dist/Provider/icons/WalletConnectIcon.js +0 -5
  293. package/dist/Provider/icons/WalletConnectIcon.js.map +0 -1
  294. package/dist/Provider/index.d.ts +0 -3
  295. package/dist/Provider/index.js +0 -4
  296. package/dist/Provider/index.js.map +0 -1
  297. package/dist/Provider/types.d.ts +0 -152
  298. package/dist/Provider/types.js +0 -21
  299. package/dist/Provider/types.js.map +0 -1
  300. package/dist/WidgetButton/N1ConnectButton.d.ts +0 -5
  301. package/dist/WidgetButton/N1ConnectButton.js +0 -49
  302. package/dist/WidgetButton/N1ConnectButton.js.map +0 -1
  303. package/dist/components/QRCodeLoader.d.ts +0 -4
  304. package/dist/components/QRCodeLoader.js +0 -9
  305. package/dist/components/QRCodeLoader.js.map +0 -1
  306. package/dist/components/logos/EVMChainsGroup.d.ts +0 -7
  307. package/dist/components/logos/EVMChainsGroup.js +0 -19
  308. package/dist/components/logos/EVMChainsGroup.js.map +0 -1
  309. package/dist/components/logos/MoreChainsGroup.d.ts +0 -7
  310. package/dist/components/logos/MoreChainsGroup.js +0 -19
  311. package/dist/components/logos/MoreChainsGroup.js.map +0 -1
  312. package/dist/config/nordFlow.d.ts +0 -6
  313. package/dist/config/nordFlow.js +0 -63
  314. package/dist/config/nordFlow.js.map +0 -1
  315. package/dist/embedded-main-css.d.ts +0 -2
  316. package/dist/embedded-main-css.js +0 -3
  317. package/dist/embedded-main-css.js.map +0 -1
  318. package/dist/features/nord-flow/N1WalletModal.d.ts +0 -2
  319. package/dist/features/nord-flow/N1WalletModal.js +0 -92
  320. package/dist/features/nord-flow/N1WalletModal.js.map +0 -1
  321. package/dist/features/nord-flow/NordFlow.d.ts +0 -9
  322. package/dist/features/nord-flow/NordFlow.js +0 -98
  323. package/dist/features/nord-flow/NordFlow.js.map +0 -1
  324. package/dist/features/nord-flow/components/ChainButton.d.ts +0 -10
  325. package/dist/features/nord-flow/components/ChainButton.js +0 -21
  326. package/dist/features/nord-flow/components/ChainButton.js.map +0 -1
  327. package/dist/features/nord-flow/components/Header.d.ts +0 -12
  328. package/dist/features/nord-flow/components/Header.js +0 -45
  329. package/dist/features/nord-flow/components/Header.js.map +0 -1
  330. package/dist/features/nord-flow/components/ImageWithFallback.d.ts +0 -17
  331. package/dist/features/nord-flow/components/ImageWithFallback.js +0 -33
  332. package/dist/features/nord-flow/components/ImageWithFallback.js.map +0 -1
  333. package/dist/features/nord-flow/components/TransactionTable.d.ts +0 -13
  334. package/dist/features/nord-flow/components/TransactionTable.js +0 -83
  335. package/dist/features/nord-flow/components/TransactionTable.js.map +0 -1
  336. package/dist/features/nord-flow/components/WaitingMessage.d.ts +0 -8
  337. package/dist/features/nord-flow/components/WaitingMessage.js +0 -17
  338. package/dist/features/nord-flow/components/WaitingMessage.js.map +0 -1
  339. package/dist/features/nord-flow/components/index.d.ts +0 -5
  340. package/dist/features/nord-flow/components/index.js +0 -6
  341. package/dist/features/nord-flow/components/index.js.map +0 -1
  342. package/dist/features/nord-flow/context/DepositContext.d.ts +0 -29
  343. package/dist/features/nord-flow/context/DepositContext.js +0 -525
  344. package/dist/features/nord-flow/context/DepositContext.js.map +0 -1
  345. package/dist/features/nord-flow/context/FlowContext.d.ts +0 -50
  346. package/dist/features/nord-flow/context/FlowContext.js +0 -192
  347. package/dist/features/nord-flow/context/FlowContext.js.map +0 -1
  348. package/dist/features/nord-flow/context/NordProvider.d.ts +0 -10
  349. package/dist/features/nord-flow/context/NordProvider.js +0 -14
  350. package/dist/features/nord-flow/context/NordProvider.js.map +0 -1
  351. package/dist/features/nord-flow/context/WalletConnectContext.d.ts +0 -21
  352. package/dist/features/nord-flow/context/WalletConnectContext.js +0 -394
  353. package/dist/features/nord-flow/context/WalletConnectContext.js.map +0 -1
  354. package/dist/features/nord-flow/context/debug.d.ts +0 -6
  355. package/dist/features/nord-flow/context/debug.js +0 -63
  356. package/dist/features/nord-flow/context/debug.js.map +0 -1
  357. package/dist/features/nord-flow/context/flowMachine.d.ts +0 -48
  358. package/dist/features/nord-flow/context/flowMachine.js +0 -83
  359. package/dist/features/nord-flow/context/flowMachine.js.map +0 -1
  360. package/dist/features/nord-flow/context/index.d.ts +0 -5
  361. package/dist/features/nord-flow/context/index.js +0 -8
  362. package/dist/features/nord-flow/context/index.js.map +0 -1
  363. package/dist/features/nord-flow/hoc/index.d.ts +0 -1
  364. package/dist/features/nord-flow/hoc/index.js +0 -2
  365. package/dist/features/nord-flow/hoc/index.js.map +0 -1
  366. package/dist/features/nord-flow/hoc/withImageFallback.d.ts +0 -7
  367. package/dist/features/nord-flow/hoc/withImageFallback.js +0 -61
  368. package/dist/features/nord-flow/hoc/withImageFallback.js.map +0 -1
  369. package/dist/features/nord-flow/index.d.ts +0 -1
  370. package/dist/features/nord-flow/index.js +0 -2
  371. package/dist/features/nord-flow/index.js.map +0 -1
  372. package/dist/features/nord-flow/screens/01-ConnectWalletScreen.d.ts +0 -1
  373. package/dist/features/nord-flow/screens/01-ConnectWalletScreen.js +0 -19
  374. package/dist/features/nord-flow/screens/01-ConnectWalletScreen.js.map +0 -1
  375. package/dist/features/nord-flow/screens/02-ChainSelectionScreen.d.ts +0 -31
  376. package/dist/features/nord-flow/screens/02-ChainSelectionScreen.js +0 -101
  377. package/dist/features/nord-flow/screens/02-ChainSelectionScreen.js.map +0 -1
  378. package/dist/features/nord-flow/screens/03-AmountInputScreen.d.ts +0 -6
  379. package/dist/features/nord-flow/screens/03-AmountInputScreen.js +0 -361
  380. package/dist/features/nord-flow/screens/03-AmountInputScreen.js.map +0 -1
  381. package/dist/features/nord-flow/screens/04-DepositProgressScreen.d.ts +0 -3
  382. package/dist/features/nord-flow/screens/04-DepositProgressScreen.js +0 -31
  383. package/dist/features/nord-flow/screens/04-DepositProgressScreen.js.map +0 -1
  384. package/dist/features/nord-flow/screens/05-DepositSuccessScreen.d.ts +0 -1
  385. package/dist/features/nord-flow/screens/05-DepositSuccessScreen.js +0 -137
  386. package/dist/features/nord-flow/screens/05-DepositSuccessScreen.js.map +0 -1
  387. package/dist/features/nord-flow/screens/06-AuthLoadingScreen.d.ts +0 -1
  388. package/dist/features/nord-flow/screens/06-AuthLoadingScreen.js +0 -31
  389. package/dist/features/nord-flow/screens/06-AuthLoadingScreen.js.map +0 -1
  390. package/dist/features/nord-flow/screens/07-ErrorScreen.d.ts +0 -1
  391. package/dist/features/nord-flow/screens/07-ErrorScreen.js +0 -14
  392. package/dist/features/nord-flow/screens/07-ErrorScreen.js.map +0 -1
  393. package/dist/features/nord-flow/screens/index.d.ts +0 -7
  394. package/dist/features/nord-flow/screens/index.js +0 -8
  395. package/dist/features/nord-flow/screens/index.js.map +0 -1
  396. package/dist/features/nord-flow/types.d.ts +0 -113
  397. package/dist/features/nord-flow/types.js +0 -34
  398. package/dist/features/nord-flow/types.js.map +0 -1
  399. package/dist/features/nord-flow/utils/depositStorage.d.ts +0 -4
  400. package/dist/features/nord-flow/utils/depositStorage.js +0 -48
  401. package/dist/features/nord-flow/utils/depositStorage.js.map +0 -1
  402. package/dist/features/nord-flow/utils/imageUtils.d.ts +0 -21
  403. package/dist/features/nord-flow/utils/imageUtils.js +0 -110
  404. package/dist/features/nord-flow/utils/imageUtils.js.map +0 -1
  405. package/dist/features/nord-flow/utils/index.d.ts +0 -2
  406. package/dist/features/nord-flow/utils/index.js +0 -3
  407. package/dist/features/nord-flow/utils/index.js.map +0 -1
  408. package/dist/features/nord-flow/utils/nordUser.d.ts +0 -1
  409. package/dist/features/nord-flow/utils/nordUser.js +0 -48
  410. package/dist/features/nord-flow/utils/nordUser.js.map +0 -1
  411. package/dist/features/nord-flow/utils/nordUtils.d.ts +0 -40
  412. package/dist/features/nord-flow/utils/nordUtils.js +0 -64
  413. package/dist/features/nord-flow/utils/nordUtils.js.map +0 -1
  414. package/dist/features/nord-flow/utils/session.d.ts +0 -17
  415. package/dist/features/nord-flow/utils/session.js +0 -69
  416. package/dist/features/nord-flow/utils/session.js.map +0 -1
  417. package/dist/features/nord-flow/utils/transaction.d.ts +0 -19
  418. package/dist/features/nord-flow/utils/transaction.js +0 -8
  419. package/dist/features/nord-flow/utils/transaction.js.map +0 -1
  420. package/dist/features/nord-flow/utils/utils.d.ts +0 -19
  421. package/dist/features/nord-flow/utils/utils.js +0 -66
  422. package/dist/features/nord-flow/utils/utils.js.map +0 -1
  423. package/dist/features/nord-flow/utils/withImageFallback.d.ts +0 -7
  424. package/dist/features/nord-flow/utils/withImageFallback.js +0 -61
  425. package/dist/features/nord-flow/utils/withImageFallback.js.map +0 -1
  426. package/dist/features/onboarding-flow/providers/FlowStateProvider.d.ts +0 -50
  427. package/dist/features/onboarding-flow/providers/FlowStateProvider.js +0 -192
  428. package/dist/features/onboarding-flow/providers/FlowStateProvider.js.map +0 -1
  429. package/dist/features/onboarding-flow/providers/OnboardingProvider.d.ts +0 -10
  430. package/dist/features/onboarding-flow/providers/OnboardingProvider.js +0 -14
  431. package/dist/features/onboarding-flow/providers/OnboardingProvider.js.map +0 -1
  432. package/dist/features/onboarding-flow/providers/flowMachine.d.ts +0 -48
  433. package/dist/features/onboarding-flow/providers/flowMachine.js +0 -83
  434. package/dist/features/onboarding-flow/providers/flowMachine.js.map +0 -1
  435. package/dist/features/wallet/components/N1ConnectButton.d.ts +0 -5
  436. package/dist/features/wallet/components/N1ConnectButton.js +0 -49
  437. package/dist/features/wallet/components/N1ConnectButton.js.map +0 -1
  438. package/dist/features/wallet/logic/getPseudoName.d.ts +0 -1
  439. package/dist/features/wallet/logic/getPseudoName.js +0 -5826
  440. package/dist/features/wallet/logic/getPseudoName.js.map +0 -1
  441. package/dist/features/wallet/logic/sessionManager.d.ts +0 -17
  442. package/dist/features/wallet/logic/sessionManager.js +0 -38
  443. package/dist/features/wallet/logic/sessionManager.js.map +0 -1
  444. package/dist/features/wallet/logic/transactionManager.d.ts +0 -19
  445. package/dist/features/wallet/logic/transactionManager.js +0 -8
  446. package/dist/features/wallet/logic/transactionManager.js.map +0 -1
  447. package/dist/features/wallet/logic/utils.d.ts +0 -19
  448. package/dist/features/wallet/logic/utils.js +0 -66
  449. package/dist/features/wallet/logic/utils.js.map +0 -1
  450. package/dist/features/wallet/logic/words.d.ts +0 -9
  451. package/dist/features/wallet/logic/words.js +0 -93572
  452. package/dist/features/wallet/logic/words.js.map +0 -1
  453. package/dist/features/wallet/modal/LoadingFallback.d.ts +0 -2
  454. package/dist/features/wallet/modal/LoadingFallback.js +0 -3
  455. package/dist/features/wallet/modal/LoadingFallback.js.map +0 -1
  456. package/dist/features/wallet/modal/N1WalletModal.d.ts +0 -2
  457. package/dist/features/wallet/modal/N1WalletModal.js +0 -93
  458. package/dist/features/wallet/modal/N1WalletModal.js.map +0 -1
  459. package/dist/features/wallet/modal/NordFlow/NordFlow.d.ts +0 -9
  460. package/dist/features/wallet/modal/NordFlow/NordFlow.js +0 -98
  461. package/dist/features/wallet/modal/NordFlow/NordFlow.js.map +0 -1
  462. package/dist/features/wallet/modal/NordFlow/components/ChainButton.d.ts +0 -10
  463. package/dist/features/wallet/modal/NordFlow/components/ChainButton.js +0 -21
  464. package/dist/features/wallet/modal/NordFlow/components/ChainButton.js.map +0 -1
  465. package/dist/features/wallet/modal/NordFlow/components/Header.d.ts +0 -12
  466. package/dist/features/wallet/modal/NordFlow/components/Header.js +0 -45
  467. package/dist/features/wallet/modal/NordFlow/components/Header.js.map +0 -1
  468. package/dist/features/wallet/modal/NordFlow/components/ImageWithFallback.d.ts +0 -17
  469. package/dist/features/wallet/modal/NordFlow/components/ImageWithFallback.js +0 -33
  470. package/dist/features/wallet/modal/NordFlow/components/ImageWithFallback.js.map +0 -1
  471. package/dist/features/wallet/modal/NordFlow/components/TransactionTable.d.ts +0 -13
  472. package/dist/features/wallet/modal/NordFlow/components/TransactionTable.js +0 -83
  473. package/dist/features/wallet/modal/NordFlow/components/TransactionTable.js.map +0 -1
  474. package/dist/features/wallet/modal/NordFlow/components/WaitingMessage.d.ts +0 -8
  475. package/dist/features/wallet/modal/NordFlow/components/WaitingMessage.js +0 -17
  476. package/dist/features/wallet/modal/NordFlow/components/WaitingMessage.js.map +0 -1
  477. package/dist/features/wallet/modal/NordFlow/components/index.d.ts +0 -5
  478. package/dist/features/wallet/modal/NordFlow/components/index.js +0 -6
  479. package/dist/features/wallet/modal/NordFlow/components/index.js.map +0 -1
  480. package/dist/features/wallet/modal/NordFlow/constants.d.ts +0 -31
  481. package/dist/features/wallet/modal/NordFlow/constants.js +0 -56
  482. package/dist/features/wallet/modal/NordFlow/constants.js.map +0 -1
  483. package/dist/features/wallet/modal/NordFlow/context/DepositContext.d.ts +0 -29
  484. package/dist/features/wallet/modal/NordFlow/context/DepositContext.js +0 -526
  485. package/dist/features/wallet/modal/NordFlow/context/DepositContext.js.map +0 -1
  486. package/dist/features/wallet/modal/NordFlow/context/FlowContext.d.ts +0 -50
  487. package/dist/features/wallet/modal/NordFlow/context/FlowContext.js +0 -192
  488. package/dist/features/wallet/modal/NordFlow/context/FlowContext.js.map +0 -1
  489. package/dist/features/wallet/modal/NordFlow/context/NordProvider.d.ts +0 -10
  490. package/dist/features/wallet/modal/NordFlow/context/NordProvider.js +0 -14
  491. package/dist/features/wallet/modal/NordFlow/context/NordProvider.js.map +0 -1
  492. package/dist/features/wallet/modal/NordFlow/context/WalletConnectContext.d.ts +0 -20
  493. package/dist/features/wallet/modal/NordFlow/context/WalletConnectContext.js +0 -394
  494. package/dist/features/wallet/modal/NordFlow/context/WalletConnectContext.js.map +0 -1
  495. package/dist/features/wallet/modal/NordFlow/context/flowMachine.d.ts +0 -48
  496. package/dist/features/wallet/modal/NordFlow/context/flowMachine.js +0 -83
  497. package/dist/features/wallet/modal/NordFlow/context/flowMachine.js.map +0 -1
  498. package/dist/features/wallet/modal/NordFlow/context/index.d.ts +0 -5
  499. package/dist/features/wallet/modal/NordFlow/context/index.js +0 -8
  500. package/dist/features/wallet/modal/NordFlow/context/index.js.map +0 -1
  501. package/dist/features/wallet/modal/NordFlow/hoc/index.d.ts +0 -1
  502. package/dist/features/wallet/modal/NordFlow/hoc/index.js +0 -2
  503. package/dist/features/wallet/modal/NordFlow/hoc/index.js.map +0 -1
  504. package/dist/features/wallet/modal/NordFlow/hoc/withImageFallback.d.ts +0 -7
  505. package/dist/features/wallet/modal/NordFlow/hoc/withImageFallback.js +0 -61
  506. package/dist/features/wallet/modal/NordFlow/hoc/withImageFallback.js.map +0 -1
  507. package/dist/features/wallet/modal/NordFlow/index.d.ts +0 -1
  508. package/dist/features/wallet/modal/NordFlow/index.js +0 -2
  509. package/dist/features/wallet/modal/NordFlow/index.js.map +0 -1
  510. package/dist/features/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.d.ts +0 -1
  511. package/dist/features/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js +0 -19
  512. package/dist/features/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js.map +0 -1
  513. package/dist/features/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.d.ts +0 -1
  514. package/dist/features/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js +0 -65
  515. package/dist/features/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js.map +0 -1
  516. package/dist/features/wallet/modal/NordFlow/screens/03-AmountInputScreen.d.ts +0 -4
  517. package/dist/features/wallet/modal/NordFlow/screens/03-AmountInputScreen.js +0 -358
  518. package/dist/features/wallet/modal/NordFlow/screens/03-AmountInputScreen.js.map +0 -1
  519. package/dist/features/wallet/modal/NordFlow/screens/04-DepositProgressScreen.d.ts +0 -1
  520. package/dist/features/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js +0 -26
  521. package/dist/features/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js.map +0 -1
  522. package/dist/features/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.d.ts +0 -1
  523. package/dist/features/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js +0 -137
  524. package/dist/features/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js.map +0 -1
  525. package/dist/features/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.d.ts +0 -1
  526. package/dist/features/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js +0 -31
  527. package/dist/features/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js.map +0 -1
  528. package/dist/features/wallet/modal/NordFlow/screens/07-ErrorScreen.d.ts +0 -1
  529. package/dist/features/wallet/modal/NordFlow/screens/07-ErrorScreen.js +0 -14
  530. package/dist/features/wallet/modal/NordFlow/screens/07-ErrorScreen.js.map +0 -1
  531. package/dist/features/wallet/modal/NordFlow/screens/index.d.ts +0 -7
  532. package/dist/features/wallet/modal/NordFlow/screens/index.js +0 -8
  533. package/dist/features/wallet/modal/NordFlow/screens/index.js.map +0 -1
  534. package/dist/features/wallet/modal/NordFlow/types.d.ts +0 -113
  535. package/dist/features/wallet/modal/NordFlow/types.js +0 -34
  536. package/dist/features/wallet/modal/NordFlow/types.js.map +0 -1
  537. package/dist/features/wallet/modal/NordFlow/utils/depositStorage.d.ts +0 -4
  538. package/dist/features/wallet/modal/NordFlow/utils/depositStorage.js +0 -48
  539. package/dist/features/wallet/modal/NordFlow/utils/depositStorage.js.map +0 -1
  540. package/dist/features/wallet/modal/NordFlow/utils/imageUtils.d.ts +0 -21
  541. package/dist/features/wallet/modal/NordFlow/utils/imageUtils.js +0 -110
  542. package/dist/features/wallet/modal/NordFlow/utils/imageUtils.js.map +0 -1
  543. package/dist/features/wallet/modal/NordFlow/utils/index.d.ts +0 -2
  544. package/dist/features/wallet/modal/NordFlow/utils/index.js +0 -3
  545. package/dist/features/wallet/modal/NordFlow/utils/index.js.map +0 -1
  546. package/dist/features/wallet/modal/NordFlow/utils/nordUtils.d.ts +0 -40
  547. package/dist/features/wallet/modal/NordFlow/utils/nordUtils.js +0 -64
  548. package/dist/features/wallet/modal/NordFlow/utils/nordUtils.js.map +0 -1
  549. package/dist/features/wallet/provider/LazyWalletProvider.d.ts +0 -1
  550. package/dist/features/wallet/provider/LazyWalletProvider.js +0 -230
  551. package/dist/features/wallet/provider/LazyWalletProvider.js.map +0 -1
  552. package/dist/features/wallet/provider/N1WalletProvider.d.ts +0 -3
  553. package/dist/features/wallet/provider/N1WalletProvider.js +0 -266
  554. package/dist/features/wallet/provider/N1WalletProvider.js.map +0 -1
  555. package/dist/features/wallet/provider/ShadowRootWrapper.d.ts +0 -7
  556. package/dist/features/wallet/provider/ShadowRootWrapper.js +0 -7
  557. package/dist/features/wallet/provider/ShadowRootWrapper.js.map +0 -1
  558. package/dist/features/wallet/provider/WalletErrorBoundary.d.ts +0 -17
  559. package/dist/features/wallet/provider/WalletErrorBoundary.js +0 -57
  560. package/dist/features/wallet/provider/WalletErrorBoundary.js.map +0 -1
  561. package/dist/features/wallet/provider/context.d.ts +0 -5
  562. package/dist/features/wallet/provider/context.js +0 -5
  563. package/dist/features/wallet/provider/context.js.map +0 -1
  564. package/dist/features/wallet/provider/hooks/useNordUserInitialization.d.ts +0 -1
  565. package/dist/features/wallet/provider/hooks/useNordUserInitialization.js +0 -306
  566. package/dist/features/wallet/provider/hooks/useNordUserInitialization.js.map +0 -1
  567. package/dist/features/wallet/provider/hooks.d.ts +0 -2
  568. package/dist/features/wallet/provider/hooks.js +0 -17
  569. package/dist/features/wallet/provider/hooks.js.map +0 -1
  570. package/dist/features/wallet/provider/index.d.ts +0 -3
  571. package/dist/features/wallet/provider/index.js +0 -4
  572. package/dist/features/wallet/provider/index.js.map +0 -1
  573. package/dist/features/wallet/provider/types.d.ts +0 -152
  574. package/dist/features/wallet/provider/types.js +0 -21
  575. package/dist/features/wallet/provider/types.js.map +0 -1
  576. package/dist/features/wallet/styles/embeddedStyles.d.ts +0 -2
  577. package/dist/features/wallet/styles/embeddedStyles.js +0 -3
  578. package/dist/features/wallet/styles/embeddedStyles.js.map +0 -1
  579. package/dist/lib/nord/index.d.ts +0 -2
  580. package/dist/lib/nord/index.js +0 -59
  581. package/dist/lib/nord/index.js.map +0 -1
  582. package/dist/lib/session/index.d.ts +0 -18
  583. package/dist/lib/session/index.js +0 -70
  584. package/dist/lib/session/index.js.map +0 -1
  585. package/dist/lib/session/utils.d.ts +0 -19
  586. package/dist/lib/session/utils.js +0 -66
  587. package/dist/lib/session/utils.js.map +0 -1
  588. package/dist/lib/transaction/index.d.ts +0 -19
  589. package/dist/lib/transaction/index.js +0 -8
  590. package/dist/lib/transaction/index.js.map +0 -1
  591. package/dist/shared/animations/N1Loader.d.ts +0 -11
  592. package/dist/shared/animations/N1Loader.js +0 -42
  593. package/dist/shared/animations/N1Loader.js.map +0 -1
  594. package/dist/shared/animations/N1Loader.json +0 -1
  595. package/dist/shared/animations/Processing.d.ts +0 -11
  596. package/dist/shared/animations/Processing.js +0 -42
  597. package/dist/shared/animations/Processing.js.map +0 -1
  598. package/dist/shared/animations/Processing.json +0 -1
  599. package/dist/shared/config/chains.d.ts +0 -29
  600. package/dist/shared/config/chains.js +0 -39
  601. package/dist/shared/config/chains.js.map +0 -1
  602. package/dist/shared/config/nordFlow.d.ts +0 -9
  603. package/dist/shared/config/nordFlow.js +0 -71
  604. package/dist/shared/config/nordFlow.js.map +0 -1
  605. package/dist/shared/config/public.d.ts +0 -2
  606. package/dist/shared/config/public.js +0 -3
  607. package/dist/shared/config/public.js.map +0 -1
  608. package/dist/shared/config/solana.d.ts +0 -13
  609. package/dist/shared/config/solana.js +0 -19
  610. package/dist/shared/config/solana.js.map +0 -1
  611. package/dist/shared/errors/types.d.ts +0 -25
  612. package/dist/shared/errors/types.js +0 -77
  613. package/dist/shared/errors/types.js.map +0 -1
  614. package/dist/shared/polyfills/windowEthereumGuard.d.ts +0 -6
  615. package/dist/shared/polyfills/windowEthereumGuard.js +0 -28
  616. package/dist/shared/polyfills/windowEthereumGuard.js.map +0 -1
  617. package/dist/shared/ui/Logo.d.ts +0 -8
  618. package/dist/shared/ui/Logo.js +0 -122
  619. package/dist/shared/ui/Logo.js.map +0 -1
  620. package/dist/shared/ui/logos/ArbitrumLogo.d.ts +0 -8
  621. package/dist/shared/ui/logos/ArbitrumLogo.js +0 -6
  622. package/dist/shared/ui/logos/ArbitrumLogo.js.map +0 -1
  623. package/dist/shared/ui/logos/BaseLogo.d.ts +0 -8
  624. package/dist/shared/ui/logos/BaseLogo.js +0 -6
  625. package/dist/shared/ui/logos/BaseLogo.js.map +0 -1
  626. package/dist/shared/ui/logos/BeraLogo.d.ts +0 -8
  627. package/dist/shared/ui/logos/BeraLogo.js +0 -6
  628. package/dist/shared/ui/logos/BeraLogo.js.map +0 -1
  629. package/dist/shared/ui/logos/BitcoinLogo.d.ts +0 -8
  630. package/dist/shared/ui/logos/BitcoinLogo.js +0 -6
  631. package/dist/shared/ui/logos/BitcoinLogo.js.map +0 -1
  632. package/dist/shared/ui/logos/EthereumLogo.d.ts +0 -8
  633. package/dist/shared/ui/logos/EthereumLogo.js +0 -6
  634. package/dist/shared/ui/logos/EthereumLogo.js.map +0 -1
  635. package/dist/shared/ui/logos/HyperliquidLogo.d.ts +0 -8
  636. package/dist/shared/ui/logos/HyperliquidLogo.js +0 -6
  637. package/dist/shared/ui/logos/HyperliquidLogo.js.map +0 -1
  638. package/dist/shared/ui/logos/OptimismLogo.d.ts +0 -8
  639. package/dist/shared/ui/logos/OptimismLogo.js +0 -6
  640. package/dist/shared/ui/logos/OptimismLogo.js.map +0 -1
  641. package/dist/shared/ui/logos/SolanaLogo.d.ts +0 -8
  642. package/dist/shared/ui/logos/SolanaLogo.js +0 -6
  643. package/dist/shared/ui/logos/SolanaLogo.js.map +0 -1
  644. package/dist/shared/ui/logos/ZeroOneLogo.d.ts +0 -8
  645. package/dist/shared/ui/logos/ZeroOneLogo.js +0 -6
  646. package/dist/shared/ui/logos/ZeroOneLogo.js.map +0 -1
  647. package/dist/shared/ui/logos/index.d.ts +0 -9
  648. package/dist/shared/ui/logos/index.js +0 -10
  649. package/dist/shared/ui/logos/index.js.map +0 -1
  650. package/dist/shared/utils/dynamicNord.d.ts +0 -2
  651. package/dist/shared/utils/dynamicNord.js +0 -59
  652. package/dist/shared/utils/dynamicNord.js.map +0 -1
  653. package/dist/shared/utils/ed25519.d.ts +0 -8
  654. package/dist/shared/utils/ed25519.js +0 -87
  655. package/dist/shared/utils/ed25519.js.map +0 -1
  656. package/dist/shared/utils/logger.d.ts +0 -21
  657. package/dist/shared/utils/logger.js +0 -130
  658. package/dist/shared/utils/logger.js.map +0 -1
  659. package/dist/shared/utils/shortenString.d.ts +0 -2
  660. package/dist/shared/utils/shortenString.js +0 -9
  661. package/dist/shared/utils/shortenString.js.map +0 -1
  662. package/dist/utils/dynamicImports.js +0 -42
  663. package/dist/utils/dynamicImports.js.map +0 -1
  664. package/dist/utils/dynamicNord.d.ts +0 -2
  665. package/dist/utils/dynamicNord.js +0 -59
  666. package/dist/utils/dynamicNord.js.map +0 -1
  667. package/dist/wallet/components/N1ConnectButton.d.ts +0 -5
  668. package/dist/wallet/components/N1ConnectButton.js +0 -49
  669. package/dist/wallet/components/N1ConnectButton.js.map +0 -1
  670. package/dist/wallet/logic/getPseudoName.d.ts +0 -1
  671. package/dist/wallet/logic/getPseudoName.js +0 -5826
  672. package/dist/wallet/logic/getPseudoName.js.map +0 -1
  673. package/dist/wallet/logic/sessionManager.d.ts +0 -17
  674. package/dist/wallet/logic/sessionManager.js +0 -38
  675. package/dist/wallet/logic/sessionManager.js.map +0 -1
  676. package/dist/wallet/logic/transactionManager.d.ts +0 -19
  677. package/dist/wallet/logic/transactionManager.js +0 -8
  678. package/dist/wallet/logic/transactionManager.js.map +0 -1
  679. package/dist/wallet/logic/utils.d.ts +0 -19
  680. package/dist/wallet/logic/utils.js +0 -66
  681. package/dist/wallet/logic/utils.js.map +0 -1
  682. package/dist/wallet/logic/words.d.ts +0 -9
  683. package/dist/wallet/logic/words.js +0 -93572
  684. package/dist/wallet/logic/words.js.map +0 -1
  685. package/dist/wallet/modal/LoadingFallback.d.ts +0 -2
  686. package/dist/wallet/modal/LoadingFallback.js +0 -3
  687. package/dist/wallet/modal/LoadingFallback.js.map +0 -1
  688. package/dist/wallet/modal/N1WalletModal.d.ts +0 -2
  689. package/dist/wallet/modal/N1WalletModal.js +0 -93
  690. package/dist/wallet/modal/N1WalletModal.js.map +0 -1
  691. package/dist/wallet/modal/NordFlow/NordFlow.d.ts +0 -9
  692. package/dist/wallet/modal/NordFlow/NordFlow.js +0 -98
  693. package/dist/wallet/modal/NordFlow/NordFlow.js.map +0 -1
  694. package/dist/wallet/modal/NordFlow/components/ChainButton.d.ts +0 -10
  695. package/dist/wallet/modal/NordFlow/components/ChainButton.js +0 -21
  696. package/dist/wallet/modal/NordFlow/components/ChainButton.js.map +0 -1
  697. package/dist/wallet/modal/NordFlow/components/Header.d.ts +0 -12
  698. package/dist/wallet/modal/NordFlow/components/Header.js +0 -45
  699. package/dist/wallet/modal/NordFlow/components/Header.js.map +0 -1
  700. package/dist/wallet/modal/NordFlow/components/ImageWithFallback.d.ts +0 -17
  701. package/dist/wallet/modal/NordFlow/components/ImageWithFallback.js +0 -33
  702. package/dist/wallet/modal/NordFlow/components/ImageWithFallback.js.map +0 -1
  703. package/dist/wallet/modal/NordFlow/components/TransactionTable.d.ts +0 -13
  704. package/dist/wallet/modal/NordFlow/components/TransactionTable.js +0 -83
  705. package/dist/wallet/modal/NordFlow/components/TransactionTable.js.map +0 -1
  706. package/dist/wallet/modal/NordFlow/components/WaitingMessage.d.ts +0 -8
  707. package/dist/wallet/modal/NordFlow/components/WaitingMessage.js +0 -17
  708. package/dist/wallet/modal/NordFlow/components/WaitingMessage.js.map +0 -1
  709. package/dist/wallet/modal/NordFlow/components/index.d.ts +0 -5
  710. package/dist/wallet/modal/NordFlow/components/index.js +0 -6
  711. package/dist/wallet/modal/NordFlow/components/index.js.map +0 -1
  712. package/dist/wallet/modal/NordFlow/constants.d.ts +0 -31
  713. package/dist/wallet/modal/NordFlow/constants.js +0 -56
  714. package/dist/wallet/modal/NordFlow/constants.js.map +0 -1
  715. package/dist/wallet/modal/NordFlow/context/DepositContext.d.ts +0 -29
  716. package/dist/wallet/modal/NordFlow/context/DepositContext.js +0 -526
  717. package/dist/wallet/modal/NordFlow/context/DepositContext.js.map +0 -1
  718. package/dist/wallet/modal/NordFlow/context/FlowContext.d.ts +0 -50
  719. package/dist/wallet/modal/NordFlow/context/FlowContext.js +0 -192
  720. package/dist/wallet/modal/NordFlow/context/FlowContext.js.map +0 -1
  721. package/dist/wallet/modal/NordFlow/context/NordProvider.d.ts +0 -10
  722. package/dist/wallet/modal/NordFlow/context/NordProvider.js +0 -14
  723. package/dist/wallet/modal/NordFlow/context/NordProvider.js.map +0 -1
  724. package/dist/wallet/modal/NordFlow/context/WalletConnectContext.d.ts +0 -20
  725. package/dist/wallet/modal/NordFlow/context/WalletConnectContext.js +0 -394
  726. package/dist/wallet/modal/NordFlow/context/WalletConnectContext.js.map +0 -1
  727. package/dist/wallet/modal/NordFlow/context/flowMachine.d.ts +0 -48
  728. package/dist/wallet/modal/NordFlow/context/flowMachine.js +0 -83
  729. package/dist/wallet/modal/NordFlow/context/flowMachine.js.map +0 -1
  730. package/dist/wallet/modal/NordFlow/context/index.d.ts +0 -5
  731. package/dist/wallet/modal/NordFlow/context/index.js +0 -8
  732. package/dist/wallet/modal/NordFlow/context/index.js.map +0 -1
  733. package/dist/wallet/modal/NordFlow/hoc/index.d.ts +0 -1
  734. package/dist/wallet/modal/NordFlow/hoc/index.js +0 -2
  735. package/dist/wallet/modal/NordFlow/hoc/index.js.map +0 -1
  736. package/dist/wallet/modal/NordFlow/hoc/withImageFallback.d.ts +0 -7
  737. package/dist/wallet/modal/NordFlow/hoc/withImageFallback.js +0 -61
  738. package/dist/wallet/modal/NordFlow/hoc/withImageFallback.js.map +0 -1
  739. package/dist/wallet/modal/NordFlow/index.d.ts +0 -1
  740. package/dist/wallet/modal/NordFlow/index.js +0 -2
  741. package/dist/wallet/modal/NordFlow/index.js.map +0 -1
  742. package/dist/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.d.ts +0 -1
  743. package/dist/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js +0 -19
  744. package/dist/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js.map +0 -1
  745. package/dist/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.d.ts +0 -1
  746. package/dist/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js +0 -65
  747. package/dist/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js.map +0 -1
  748. package/dist/wallet/modal/NordFlow/screens/03-AmountInputScreen.d.ts +0 -4
  749. package/dist/wallet/modal/NordFlow/screens/03-AmountInputScreen.js +0 -358
  750. package/dist/wallet/modal/NordFlow/screens/03-AmountInputScreen.js.map +0 -1
  751. package/dist/wallet/modal/NordFlow/screens/04-DepositProgressScreen.d.ts +0 -1
  752. package/dist/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js +0 -26
  753. package/dist/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js.map +0 -1
  754. package/dist/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.d.ts +0 -1
  755. package/dist/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js +0 -137
  756. package/dist/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js.map +0 -1
  757. package/dist/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.d.ts +0 -1
  758. package/dist/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js +0 -31
  759. package/dist/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js.map +0 -1
  760. package/dist/wallet/modal/NordFlow/screens/07-ErrorScreen.d.ts +0 -1
  761. package/dist/wallet/modal/NordFlow/screens/07-ErrorScreen.js +0 -14
  762. package/dist/wallet/modal/NordFlow/screens/07-ErrorScreen.js.map +0 -1
  763. package/dist/wallet/modal/NordFlow/screens/index.d.ts +0 -7
  764. package/dist/wallet/modal/NordFlow/screens/index.js +0 -8
  765. package/dist/wallet/modal/NordFlow/screens/index.js.map +0 -1
  766. package/dist/wallet/modal/NordFlow/types.d.ts +0 -113
  767. package/dist/wallet/modal/NordFlow/types.js +0 -34
  768. package/dist/wallet/modal/NordFlow/types.js.map +0 -1
  769. package/dist/wallet/modal/NordFlow/utils/depositStorage.d.ts +0 -4
  770. package/dist/wallet/modal/NordFlow/utils/depositStorage.js +0 -48
  771. package/dist/wallet/modal/NordFlow/utils/depositStorage.js.map +0 -1
  772. package/dist/wallet/modal/NordFlow/utils/imageUtils.d.ts +0 -21
  773. package/dist/wallet/modal/NordFlow/utils/imageUtils.js +0 -110
  774. package/dist/wallet/modal/NordFlow/utils/imageUtils.js.map +0 -1
  775. package/dist/wallet/modal/NordFlow/utils/index.d.ts +0 -2
  776. package/dist/wallet/modal/NordFlow/utils/index.js +0 -3
  777. package/dist/wallet/modal/NordFlow/utils/index.js.map +0 -1
  778. package/dist/wallet/modal/NordFlow/utils/nordUtils.d.ts +0 -40
  779. package/dist/wallet/modal/NordFlow/utils/nordUtils.js +0 -64
  780. package/dist/wallet/modal/NordFlow/utils/nordUtils.js.map +0 -1
  781. package/dist/wallet/modal/flow/NordFlow.d.ts +0 -9
  782. package/dist/wallet/modal/flow/NordFlow.js +0 -98
  783. package/dist/wallet/modal/flow/NordFlow.js.map +0 -1
  784. package/dist/wallet/modal/flow/components/ChainButton.d.ts +0 -10
  785. package/dist/wallet/modal/flow/components/ChainButton.js +0 -21
  786. package/dist/wallet/modal/flow/components/ChainButton.js.map +0 -1
  787. package/dist/wallet/modal/flow/components/Header.d.ts +0 -12
  788. package/dist/wallet/modal/flow/components/Header.js +0 -45
  789. package/dist/wallet/modal/flow/components/Header.js.map +0 -1
  790. package/dist/wallet/modal/flow/components/ImageWithFallback.d.ts +0 -17
  791. package/dist/wallet/modal/flow/components/ImageWithFallback.js +0 -33
  792. package/dist/wallet/modal/flow/components/ImageWithFallback.js.map +0 -1
  793. package/dist/wallet/modal/flow/components/TransactionTable.d.ts +0 -13
  794. package/dist/wallet/modal/flow/components/TransactionTable.js +0 -83
  795. package/dist/wallet/modal/flow/components/TransactionTable.js.map +0 -1
  796. package/dist/wallet/modal/flow/components/WaitingMessage.d.ts +0 -8
  797. package/dist/wallet/modal/flow/components/WaitingMessage.js +0 -17
  798. package/dist/wallet/modal/flow/components/WaitingMessage.js.map +0 -1
  799. package/dist/wallet/modal/flow/components/index.d.ts +0 -5
  800. package/dist/wallet/modal/flow/components/index.js +0 -6
  801. package/dist/wallet/modal/flow/components/index.js.map +0 -1
  802. package/dist/wallet/modal/flow/constants.d.ts +0 -31
  803. package/dist/wallet/modal/flow/constants.js +0 -56
  804. package/dist/wallet/modal/flow/constants.js.map +0 -1
  805. package/dist/wallet/modal/flow/context/DepositContext.d.ts +0 -29
  806. package/dist/wallet/modal/flow/context/DepositContext.js +0 -526
  807. package/dist/wallet/modal/flow/context/DepositContext.js.map +0 -1
  808. package/dist/wallet/modal/flow/context/FlowContext.d.ts +0 -50
  809. package/dist/wallet/modal/flow/context/FlowContext.js +0 -192
  810. package/dist/wallet/modal/flow/context/FlowContext.js.map +0 -1
  811. package/dist/wallet/modal/flow/context/NordProvider.d.ts +0 -10
  812. package/dist/wallet/modal/flow/context/NordProvider.js +0 -14
  813. package/dist/wallet/modal/flow/context/NordProvider.js.map +0 -1
  814. package/dist/wallet/modal/flow/context/WalletConnectContext.d.ts +0 -20
  815. package/dist/wallet/modal/flow/context/WalletConnectContext.js +0 -394
  816. package/dist/wallet/modal/flow/context/WalletConnectContext.js.map +0 -1
  817. package/dist/wallet/modal/flow/context/flowMachine.d.ts +0 -48
  818. package/dist/wallet/modal/flow/context/flowMachine.js +0 -83
  819. package/dist/wallet/modal/flow/context/flowMachine.js.map +0 -1
  820. package/dist/wallet/modal/flow/context/index.d.ts +0 -5
  821. package/dist/wallet/modal/flow/context/index.js +0 -8
  822. package/dist/wallet/modal/flow/context/index.js.map +0 -1
  823. package/dist/wallet/modal/flow/hoc/index.d.ts +0 -1
  824. package/dist/wallet/modal/flow/hoc/index.js +0 -2
  825. package/dist/wallet/modal/flow/hoc/index.js.map +0 -1
  826. package/dist/wallet/modal/flow/hoc/withImageFallback.d.ts +0 -7
  827. package/dist/wallet/modal/flow/hoc/withImageFallback.js +0 -61
  828. package/dist/wallet/modal/flow/hoc/withImageFallback.js.map +0 -1
  829. package/dist/wallet/modal/flow/index.d.ts +0 -1
  830. package/dist/wallet/modal/flow/index.js +0 -2
  831. package/dist/wallet/modal/flow/index.js.map +0 -1
  832. package/dist/wallet/modal/flow/screens/01-ConnectWalletScreen.d.ts +0 -1
  833. package/dist/wallet/modal/flow/screens/01-ConnectWalletScreen.js +0 -19
  834. package/dist/wallet/modal/flow/screens/01-ConnectWalletScreen.js.map +0 -1
  835. package/dist/wallet/modal/flow/screens/02-ChainSelectionScreen.d.ts +0 -1
  836. package/dist/wallet/modal/flow/screens/02-ChainSelectionScreen.js +0 -65
  837. package/dist/wallet/modal/flow/screens/02-ChainSelectionScreen.js.map +0 -1
  838. package/dist/wallet/modal/flow/screens/03-AmountInputScreen.d.ts +0 -4
  839. package/dist/wallet/modal/flow/screens/03-AmountInputScreen.js +0 -358
  840. package/dist/wallet/modal/flow/screens/03-AmountInputScreen.js.map +0 -1
  841. package/dist/wallet/modal/flow/screens/04-DepositProgressScreen.d.ts +0 -1
  842. package/dist/wallet/modal/flow/screens/04-DepositProgressScreen.js +0 -26
  843. package/dist/wallet/modal/flow/screens/04-DepositProgressScreen.js.map +0 -1
  844. package/dist/wallet/modal/flow/screens/05-DepositSuccessScreen.d.ts +0 -1
  845. package/dist/wallet/modal/flow/screens/05-DepositSuccessScreen.js +0 -137
  846. package/dist/wallet/modal/flow/screens/05-DepositSuccessScreen.js.map +0 -1
  847. package/dist/wallet/modal/flow/screens/06-AuthLoadingScreen.d.ts +0 -1
  848. package/dist/wallet/modal/flow/screens/06-AuthLoadingScreen.js +0 -31
  849. package/dist/wallet/modal/flow/screens/06-AuthLoadingScreen.js.map +0 -1
  850. package/dist/wallet/modal/flow/screens/07-ErrorScreen.d.ts +0 -1
  851. package/dist/wallet/modal/flow/screens/07-ErrorScreen.js +0 -14
  852. package/dist/wallet/modal/flow/screens/07-ErrorScreen.js.map +0 -1
  853. package/dist/wallet/modal/flow/screens/index.d.ts +0 -7
  854. package/dist/wallet/modal/flow/screens/index.js +0 -8
  855. package/dist/wallet/modal/flow/screens/index.js.map +0 -1
  856. package/dist/wallet/modal/flow/state/constants.d.ts +0 -31
  857. package/dist/wallet/modal/flow/state/constants.js +0 -56
  858. package/dist/wallet/modal/flow/state/constants.js.map +0 -1
  859. package/dist/wallet/modal/flow/state/context/DepositContext.d.ts +0 -29
  860. package/dist/wallet/modal/flow/state/context/DepositContext.js +0 -526
  861. package/dist/wallet/modal/flow/state/context/DepositContext.js.map +0 -1
  862. package/dist/wallet/modal/flow/state/context/FlowContext.d.ts +0 -50
  863. package/dist/wallet/modal/flow/state/context/FlowContext.js +0 -192
  864. package/dist/wallet/modal/flow/state/context/FlowContext.js.map +0 -1
  865. package/dist/wallet/modal/flow/state/context/NordProvider.d.ts +0 -10
  866. package/dist/wallet/modal/flow/state/context/NordProvider.js +0 -14
  867. package/dist/wallet/modal/flow/state/context/NordProvider.js.map +0 -1
  868. package/dist/wallet/modal/flow/state/context/WalletConnectContext.d.ts +0 -20
  869. package/dist/wallet/modal/flow/state/context/WalletConnectContext.js +0 -394
  870. package/dist/wallet/modal/flow/state/context/WalletConnectContext.js.map +0 -1
  871. package/dist/wallet/modal/flow/state/context/flowMachine.d.ts +0 -48
  872. package/dist/wallet/modal/flow/state/context/flowMachine.js +0 -83
  873. package/dist/wallet/modal/flow/state/context/flowMachine.js.map +0 -1
  874. package/dist/wallet/modal/flow/state/context/index.d.ts +0 -5
  875. package/dist/wallet/modal/flow/state/context/index.js +0 -8
  876. package/dist/wallet/modal/flow/state/context/index.js.map +0 -1
  877. package/dist/wallet/modal/flow/state/types.d.ts +0 -113
  878. package/dist/wallet/modal/flow/state/types.js +0 -34
  879. package/dist/wallet/modal/flow/state/types.js.map +0 -1
  880. package/dist/wallet/modal/flow/state/utils/depositStorage.d.ts +0 -4
  881. package/dist/wallet/modal/flow/state/utils/depositStorage.js +0 -48
  882. package/dist/wallet/modal/flow/state/utils/depositStorage.js.map +0 -1
  883. package/dist/wallet/modal/flow/state/utils/nordUtils.d.ts +0 -40
  884. package/dist/wallet/modal/flow/state/utils/nordUtils.js +0 -64
  885. package/dist/wallet/modal/flow/state/utils/nordUtils.js.map +0 -1
  886. package/dist/wallet/modal/flow/types.d.ts +0 -113
  887. package/dist/wallet/modal/flow/types.js +0 -34
  888. package/dist/wallet/modal/flow/types.js.map +0 -1
  889. package/dist/wallet/modal/flow/ui/NordFlow.d.ts +0 -9
  890. package/dist/wallet/modal/flow/ui/NordFlow.js +0 -98
  891. package/dist/wallet/modal/flow/ui/NordFlow.js.map +0 -1
  892. package/dist/wallet/modal/flow/ui/components/ChainButton.d.ts +0 -10
  893. package/dist/wallet/modal/flow/ui/components/ChainButton.js +0 -21
  894. package/dist/wallet/modal/flow/ui/components/ChainButton.js.map +0 -1
  895. package/dist/wallet/modal/flow/ui/components/Header.d.ts +0 -12
  896. package/dist/wallet/modal/flow/ui/components/Header.js +0 -45
  897. package/dist/wallet/modal/flow/ui/components/Header.js.map +0 -1
  898. package/dist/wallet/modal/flow/ui/components/ImageWithFallback.d.ts +0 -17
  899. package/dist/wallet/modal/flow/ui/components/ImageWithFallback.js +0 -33
  900. package/dist/wallet/modal/flow/ui/components/ImageWithFallback.js.map +0 -1
  901. package/dist/wallet/modal/flow/ui/components/TransactionTable.d.ts +0 -13
  902. package/dist/wallet/modal/flow/ui/components/TransactionTable.js +0 -83
  903. package/dist/wallet/modal/flow/ui/components/TransactionTable.js.map +0 -1
  904. package/dist/wallet/modal/flow/ui/components/WaitingMessage.d.ts +0 -8
  905. package/dist/wallet/modal/flow/ui/components/WaitingMessage.js +0 -17
  906. package/dist/wallet/modal/flow/ui/components/WaitingMessage.js.map +0 -1
  907. package/dist/wallet/modal/flow/ui/components/index.d.ts +0 -5
  908. package/dist/wallet/modal/flow/ui/components/index.js +0 -6
  909. package/dist/wallet/modal/flow/ui/components/index.js.map +0 -1
  910. package/dist/wallet/modal/flow/ui/hoc/index.d.ts +0 -1
  911. package/dist/wallet/modal/flow/ui/hoc/index.js +0 -2
  912. package/dist/wallet/modal/flow/ui/hoc/index.js.map +0 -1
  913. package/dist/wallet/modal/flow/ui/hoc/withImageFallback.d.ts +0 -7
  914. package/dist/wallet/modal/flow/ui/hoc/withImageFallback.js +0 -61
  915. package/dist/wallet/modal/flow/ui/hoc/withImageFallback.js.map +0 -1
  916. package/dist/wallet/modal/flow/ui/screens/01-ConnectWalletScreen.d.ts +0 -1
  917. package/dist/wallet/modal/flow/ui/screens/01-ConnectWalletScreen.js +0 -19
  918. package/dist/wallet/modal/flow/ui/screens/01-ConnectWalletScreen.js.map +0 -1
  919. package/dist/wallet/modal/flow/ui/screens/02-ChainSelectionScreen.d.ts +0 -1
  920. package/dist/wallet/modal/flow/ui/screens/02-ChainSelectionScreen.js +0 -65
  921. package/dist/wallet/modal/flow/ui/screens/02-ChainSelectionScreen.js.map +0 -1
  922. package/dist/wallet/modal/flow/ui/screens/03-AmountInputScreen.d.ts +0 -4
  923. package/dist/wallet/modal/flow/ui/screens/03-AmountInputScreen.js +0 -358
  924. package/dist/wallet/modal/flow/ui/screens/03-AmountInputScreen.js.map +0 -1
  925. package/dist/wallet/modal/flow/ui/screens/04-DepositProgressScreen.d.ts +0 -1
  926. package/dist/wallet/modal/flow/ui/screens/04-DepositProgressScreen.js +0 -26
  927. package/dist/wallet/modal/flow/ui/screens/04-DepositProgressScreen.js.map +0 -1
  928. package/dist/wallet/modal/flow/ui/screens/05-DepositSuccessScreen.d.ts +0 -1
  929. package/dist/wallet/modal/flow/ui/screens/05-DepositSuccessScreen.js +0 -137
  930. package/dist/wallet/modal/flow/ui/screens/05-DepositSuccessScreen.js.map +0 -1
  931. package/dist/wallet/modal/flow/ui/screens/06-AuthLoadingScreen.d.ts +0 -1
  932. package/dist/wallet/modal/flow/ui/screens/06-AuthLoadingScreen.js +0 -31
  933. package/dist/wallet/modal/flow/ui/screens/06-AuthLoadingScreen.js.map +0 -1
  934. package/dist/wallet/modal/flow/ui/screens/07-ErrorScreen.d.ts +0 -1
  935. package/dist/wallet/modal/flow/ui/screens/07-ErrorScreen.js +0 -14
  936. package/dist/wallet/modal/flow/ui/screens/07-ErrorScreen.js.map +0 -1
  937. package/dist/wallet/modal/flow/ui/screens/index.d.ts +0 -7
  938. package/dist/wallet/modal/flow/ui/screens/index.js +0 -8
  939. package/dist/wallet/modal/flow/ui/screens/index.js.map +0 -1
  940. package/dist/wallet/modal/flow/ui/utils/imageUtils.d.ts +0 -21
  941. package/dist/wallet/modal/flow/ui/utils/imageUtils.js +0 -110
  942. package/dist/wallet/modal/flow/ui/utils/imageUtils.js.map +0 -1
  943. package/dist/wallet/modal/flow/utils/depositStorage.d.ts +0 -4
  944. package/dist/wallet/modal/flow/utils/depositStorage.js +0 -48
  945. package/dist/wallet/modal/flow/utils/depositStorage.js.map +0 -1
  946. package/dist/wallet/modal/flow/utils/imageUtils.d.ts +0 -21
  947. package/dist/wallet/modal/flow/utils/imageUtils.js +0 -110
  948. package/dist/wallet/modal/flow/utils/imageUtils.js.map +0 -1
  949. package/dist/wallet/modal/flow/utils/index.d.ts +0 -2
  950. package/dist/wallet/modal/flow/utils/index.js +0 -3
  951. package/dist/wallet/modal/flow/utils/index.js.map +0 -1
  952. package/dist/wallet/modal/flow/utils/nordUtils.d.ts +0 -40
  953. package/dist/wallet/modal/flow/utils/nordUtils.js +0 -64
  954. package/dist/wallet/modal/flow/utils/nordUtils.js.map +0 -1
  955. package/dist/wallet/provider/LazyWalletProvider.d.ts +0 -1
  956. package/dist/wallet/provider/LazyWalletProvider.js +0 -230
  957. package/dist/wallet/provider/LazyWalletProvider.js.map +0 -1
  958. package/dist/wallet/provider/N1WalletProvider.d.ts +0 -3
  959. package/dist/wallet/provider/N1WalletProvider.js +0 -266
  960. package/dist/wallet/provider/N1WalletProvider.js.map +0 -1
  961. package/dist/wallet/provider/ShadowRootWrapper.d.ts +0 -7
  962. package/dist/wallet/provider/ShadowRootWrapper.js +0 -7
  963. package/dist/wallet/provider/ShadowRootWrapper.js.map +0 -1
  964. package/dist/wallet/provider/WalletErrorBoundary.d.ts +0 -17
  965. package/dist/wallet/provider/WalletErrorBoundary.js +0 -57
  966. package/dist/wallet/provider/WalletErrorBoundary.js.map +0 -1
  967. package/dist/wallet/provider/context.d.ts +0 -3
  968. package/dist/wallet/provider/context.js +0 -5
  969. package/dist/wallet/provider/context.js.map +0 -1
  970. package/dist/wallet/provider/hooks/useNordUserInitialization.d.ts +0 -1
  971. package/dist/wallet/provider/hooks/useNordUserInitialization.js +0 -306
  972. package/dist/wallet/provider/hooks/useNordUserInitialization.js.map +0 -1
  973. package/dist/wallet/provider/hooks.d.ts +0 -2
  974. package/dist/wallet/provider/hooks.js +0 -17
  975. package/dist/wallet/provider/hooks.js.map +0 -1
  976. package/dist/wallet/provider/index.d.ts +0 -3
  977. package/dist/wallet/provider/index.js +0 -4
  978. package/dist/wallet/provider/index.js.map +0 -1
  979. package/dist/wallet/provider/types.d.ts +0 -152
  980. package/dist/wallet/provider/types.js +0 -21
  981. package/dist/wallet/provider/types.js.map +0 -1
  982. package/dist/wallet/state/flow/constants.d.ts +0 -31
  983. package/dist/wallet/state/flow/constants.js +0 -56
  984. package/dist/wallet/state/flow/constants.js.map +0 -1
  985. package/dist/wallet/state/flow/context/DepositContext.d.ts +0 -29
  986. package/dist/wallet/state/flow/context/DepositContext.js +0 -525
  987. package/dist/wallet/state/flow/context/DepositContext.js.map +0 -1
  988. package/dist/wallet/state/flow/context/FlowContext.d.ts +0 -50
  989. package/dist/wallet/state/flow/context/FlowContext.js +0 -191
  990. package/dist/wallet/state/flow/context/FlowContext.js.map +0 -1
  991. package/dist/wallet/state/flow/context/NordProvider.d.ts +0 -10
  992. package/dist/wallet/state/flow/context/NordProvider.js +0 -14
  993. package/dist/wallet/state/flow/context/NordProvider.js.map +0 -1
  994. package/dist/wallet/state/flow/context/WalletConnectContext.d.ts +0 -20
  995. package/dist/wallet/state/flow/context/WalletConnectContext.js +0 -393
  996. package/dist/wallet/state/flow/context/WalletConnectContext.js.map +0 -1
  997. package/dist/wallet/state/flow/context/flowMachine.d.ts +0 -48
  998. package/dist/wallet/state/flow/context/flowMachine.js +0 -83
  999. package/dist/wallet/state/flow/context/flowMachine.js.map +0 -1
  1000. package/dist/wallet/state/flow/context/index.d.ts +0 -5
  1001. package/dist/wallet/state/flow/context/index.js +0 -8
  1002. package/dist/wallet/state/flow/context/index.js.map +0 -1
  1003. package/dist/wallet/state/flow/types.d.ts +0 -113
  1004. package/dist/wallet/state/flow/types.js +0 -34
  1005. package/dist/wallet/state/flow/types.js.map +0 -1
  1006. package/dist/wallet/state/flow/utils/depositStorage.d.ts +0 -4
  1007. package/dist/wallet/state/flow/utils/depositStorage.js +0 -48
  1008. package/dist/wallet/state/flow/utils/depositStorage.js.map +0 -1
  1009. package/dist/wallet/state/flow/utils/nordUtils.d.ts +0 -40
  1010. package/dist/wallet/state/flow/utils/nordUtils.js +0 -64
  1011. package/dist/wallet/state/flow/utils/nordUtils.js.map +0 -1
  1012. package/dist/wallet/state/logic/getPseudoName.d.ts +0 -1
  1013. package/dist/wallet/state/logic/getPseudoName.js +0 -5826
  1014. package/dist/wallet/state/logic/getPseudoName.js.map +0 -1
  1015. package/dist/wallet/state/logic/sessionManager.d.ts +0 -17
  1016. package/dist/wallet/state/logic/sessionManager.js +0 -38
  1017. package/dist/wallet/state/logic/sessionManager.js.map +0 -1
  1018. package/dist/wallet/state/logic/transactionManager.d.ts +0 -19
  1019. package/dist/wallet/state/logic/transactionManager.js +0 -8
  1020. package/dist/wallet/state/logic/transactionManager.js.map +0 -1
  1021. package/dist/wallet/state/logic/utils.d.ts +0 -19
  1022. package/dist/wallet/state/logic/utils.js +0 -66
  1023. package/dist/wallet/state/logic/utils.js.map +0 -1
  1024. package/dist/wallet/state/logic/words.d.ts +0 -9
  1025. package/dist/wallet/state/logic/words.js +0 -93572
  1026. package/dist/wallet/state/logic/words.js.map +0 -1
  1027. package/dist/wallet/state/provider/LazyWalletProvider.d.ts +0 -1
  1028. package/dist/wallet/state/provider/LazyWalletProvider.js +0 -230
  1029. package/dist/wallet/state/provider/LazyWalletProvider.js.map +0 -1
  1030. package/dist/wallet/state/provider/N1WalletProvider.d.ts +0 -3
  1031. package/dist/wallet/state/provider/N1WalletProvider.js +0 -266
  1032. package/dist/wallet/state/provider/N1WalletProvider.js.map +0 -1
  1033. package/dist/wallet/state/provider/WalletErrorBoundary.d.ts +0 -17
  1034. package/dist/wallet/state/provider/WalletErrorBoundary.js +0 -57
  1035. package/dist/wallet/state/provider/WalletErrorBoundary.js.map +0 -1
  1036. package/dist/wallet/state/provider/context.d.ts +0 -5
  1037. package/dist/wallet/state/provider/context.js +0 -5
  1038. package/dist/wallet/state/provider/context.js.map +0 -1
  1039. package/dist/wallet/state/provider/hooks/useNordUserInitialization.d.ts +0 -1
  1040. package/dist/wallet/state/provider/hooks/useNordUserInitialization.js +0 -306
  1041. package/dist/wallet/state/provider/hooks/useNordUserInitialization.js.map +0 -1
  1042. package/dist/wallet/state/provider/hooks.d.ts +0 -2
  1043. package/dist/wallet/state/provider/hooks.js +0 -17
  1044. package/dist/wallet/state/provider/hooks.js.map +0 -1
  1045. package/dist/wallet/state/provider/index.d.ts +0 -3
  1046. package/dist/wallet/state/provider/index.js +0 -4
  1047. package/dist/wallet/state/provider/index.js.map +0 -1
  1048. package/dist/wallet/state/provider/types.d.ts +0 -152
  1049. package/dist/wallet/state/provider/types.js +0 -21
  1050. package/dist/wallet/state/provider/types.js.map +0 -1
  1051. package/dist/wallet/state/utils/getPseudoName.d.ts +0 -1
  1052. package/dist/wallet/state/utils/getPseudoName.js +0 -5826
  1053. package/dist/wallet/state/utils/getPseudoName.js.map +0 -1
  1054. package/dist/wallet/state/utils/sessionManager.d.ts +0 -17
  1055. package/dist/wallet/state/utils/sessionManager.js +0 -38
  1056. package/dist/wallet/state/utils/sessionManager.js.map +0 -1
  1057. package/dist/wallet/state/utils/transactionManager.d.ts +0 -19
  1058. package/dist/wallet/state/utils/transactionManager.js +0 -8
  1059. package/dist/wallet/state/utils/transactionManager.js.map +0 -1
  1060. package/dist/wallet/state/utils/utils.d.ts +0 -18
  1061. package/dist/wallet/state/utils/utils.js +0 -66
  1062. package/dist/wallet/state/utils/utils.js.map +0 -1
  1063. package/dist/wallet/state/utils/words.d.ts +0 -9
  1064. package/dist/wallet/state/utils/words.js +0 -93572
  1065. package/dist/wallet/state/utils/words.js.map +0 -1
  1066. package/dist/wallet/styles/embeddedStyles.d.ts +0 -2
  1067. package/dist/wallet/styles/embeddedStyles.js +0 -3
  1068. package/dist/wallet/styles/embeddedStyles.js.map +0 -1
  1069. package/dist/wallet/ui/N1ConnectButton.d.ts +0 -5
  1070. package/dist/wallet/ui/N1ConnectButton.js +0 -49
  1071. package/dist/wallet/ui/N1ConnectButton.js.map +0 -1
  1072. package/dist/wallet/ui/ShadowRootWrapper.d.ts +0 -7
  1073. package/dist/wallet/ui/ShadowRootWrapper.js +0 -7
  1074. package/dist/wallet/ui/ShadowRootWrapper.js.map +0 -1
  1075. package/dist/wallet/ui/modal/LoadingFallback.d.ts +0 -2
  1076. package/dist/wallet/ui/modal/LoadingFallback.js +0 -3
  1077. package/dist/wallet/ui/modal/LoadingFallback.js.map +0 -1
  1078. package/dist/wallet/ui/modal/N1WalletModal.d.ts +0 -2
  1079. package/dist/wallet/ui/modal/N1WalletModal.js +0 -93
  1080. package/dist/wallet/ui/modal/N1WalletModal.js.map +0 -1
  1081. package/dist/wallet/ui/modal/flow/NordFlow.d.ts +0 -9
  1082. package/dist/wallet/ui/modal/flow/NordFlow.js +0 -98
  1083. package/dist/wallet/ui/modal/flow/NordFlow.js.map +0 -1
  1084. package/dist/wallet/ui/modal/flow/components/ChainButton.d.ts +0 -10
  1085. package/dist/wallet/ui/modal/flow/components/ChainButton.js +0 -21
  1086. package/dist/wallet/ui/modal/flow/components/ChainButton.js.map +0 -1
  1087. package/dist/wallet/ui/modal/flow/components/Header.d.ts +0 -12
  1088. package/dist/wallet/ui/modal/flow/components/Header.js +0 -45
  1089. package/dist/wallet/ui/modal/flow/components/Header.js.map +0 -1
  1090. package/dist/wallet/ui/modal/flow/components/ImageWithFallback.d.ts +0 -17
  1091. package/dist/wallet/ui/modal/flow/components/ImageWithFallback.js +0 -33
  1092. package/dist/wallet/ui/modal/flow/components/ImageWithFallback.js.map +0 -1
  1093. package/dist/wallet/ui/modal/flow/components/TransactionTable.d.ts +0 -13
  1094. package/dist/wallet/ui/modal/flow/components/TransactionTable.js +0 -83
  1095. package/dist/wallet/ui/modal/flow/components/TransactionTable.js.map +0 -1
  1096. package/dist/wallet/ui/modal/flow/components/WaitingMessage.d.ts +0 -8
  1097. package/dist/wallet/ui/modal/flow/components/WaitingMessage.js +0 -17
  1098. package/dist/wallet/ui/modal/flow/components/WaitingMessage.js.map +0 -1
  1099. package/dist/wallet/ui/modal/flow/components/index.d.ts +0 -5
  1100. package/dist/wallet/ui/modal/flow/components/index.js +0 -6
  1101. package/dist/wallet/ui/modal/flow/components/index.js.map +0 -1
  1102. package/dist/wallet/ui/modal/flow/hoc/index.d.ts +0 -1
  1103. package/dist/wallet/ui/modal/flow/hoc/index.js +0 -2
  1104. package/dist/wallet/ui/modal/flow/hoc/index.js.map +0 -1
  1105. package/dist/wallet/ui/modal/flow/hoc/withImageFallback.d.ts +0 -7
  1106. package/dist/wallet/ui/modal/flow/hoc/withImageFallback.js +0 -61
  1107. package/dist/wallet/ui/modal/flow/hoc/withImageFallback.js.map +0 -1
  1108. package/dist/wallet/ui/modal/flow/index.d.ts +0 -1
  1109. package/dist/wallet/ui/modal/flow/index.js +0 -2
  1110. package/dist/wallet/ui/modal/flow/index.js.map +0 -1
  1111. package/dist/wallet/ui/modal/flow/screens/01-ConnectWalletScreen.d.ts +0 -1
  1112. package/dist/wallet/ui/modal/flow/screens/01-ConnectWalletScreen.js +0 -19
  1113. package/dist/wallet/ui/modal/flow/screens/01-ConnectWalletScreen.js.map +0 -1
  1114. package/dist/wallet/ui/modal/flow/screens/02-ChainSelectionScreen.d.ts +0 -1
  1115. package/dist/wallet/ui/modal/flow/screens/02-ChainSelectionScreen.js +0 -65
  1116. package/dist/wallet/ui/modal/flow/screens/02-ChainSelectionScreen.js.map +0 -1
  1117. package/dist/wallet/ui/modal/flow/screens/03-AmountInputScreen.d.ts +0 -4
  1118. package/dist/wallet/ui/modal/flow/screens/03-AmountInputScreen.js +0 -358
  1119. package/dist/wallet/ui/modal/flow/screens/03-AmountInputScreen.js.map +0 -1
  1120. package/dist/wallet/ui/modal/flow/screens/04-DepositProgressScreen.d.ts +0 -1
  1121. package/dist/wallet/ui/modal/flow/screens/04-DepositProgressScreen.js +0 -26
  1122. package/dist/wallet/ui/modal/flow/screens/04-DepositProgressScreen.js.map +0 -1
  1123. package/dist/wallet/ui/modal/flow/screens/05-DepositSuccessScreen.d.ts +0 -1
  1124. package/dist/wallet/ui/modal/flow/screens/05-DepositSuccessScreen.js +0 -137
  1125. package/dist/wallet/ui/modal/flow/screens/05-DepositSuccessScreen.js.map +0 -1
  1126. package/dist/wallet/ui/modal/flow/screens/06-AuthLoadingScreen.d.ts +0 -1
  1127. package/dist/wallet/ui/modal/flow/screens/06-AuthLoadingScreen.js +0 -31
  1128. package/dist/wallet/ui/modal/flow/screens/06-AuthLoadingScreen.js.map +0 -1
  1129. package/dist/wallet/ui/modal/flow/screens/07-ErrorScreen.d.ts +0 -1
  1130. package/dist/wallet/ui/modal/flow/screens/07-ErrorScreen.js +0 -14
  1131. package/dist/wallet/ui/modal/flow/screens/07-ErrorScreen.js.map +0 -1
  1132. package/dist/wallet/ui/modal/flow/screens/index.d.ts +0 -7
  1133. package/dist/wallet/ui/modal/flow/screens/index.js +0 -8
  1134. package/dist/wallet/ui/modal/flow/screens/index.js.map +0 -1
  1135. package/dist/wallet/ui/modal/flow/utils/imageUtils.d.ts +0 -21
  1136. package/dist/wallet/ui/modal/flow/utils/imageUtils.js +0 -110
  1137. package/dist/wallet/ui/modal/flow/utils/imageUtils.js.map +0 -1
  1138. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Bold-Italic-Trial.otf +0 -0
  1139. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Bold-Trial.otf +0 -0
  1140. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Extra-Bold-Italic-Trial.otf +0 -0
  1141. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Extra-Bold-Trial.otf +0 -0
  1142. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Light-Italic-Trial.otf +0 -0
  1143. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Light-Trial.otf +0 -0
  1144. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Medium-Italic-Trial.otf +0 -0
  1145. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Medium-Trial.otf +0 -0
  1146. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Regular-Italic-Trial.otf +0 -0
  1147. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Regular-Trial.otf +0 -0
  1148. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Semi-Bold-Italic-Trial.otf +0 -0
  1149. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Semi-Bold-Trial.otf +0 -0
  1150. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Thin-Italic-Trial.otf +0 -0
  1151. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Thin-Trial.otf +0 -0
  1152. /package/dist/{main.css → styles/main.css} +0 -0
@@ -1,98 +0,0 @@
1
- var _a;
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useEffect, useRef } from 'react';
4
- import { Header } from './components';
5
- import { useFlowStateContext } from './context';
6
- import { withImageFallback } from './hoc';
7
- import { AmountInputScreen, AuthLoadingScreen, ChainSelectionScreen, ConnectWalletScreen, DepositProgressScreen, DepositSuccessScreen, ErrorScreen, } from './screens';
8
- import { FlowState } from './types';
9
- // Apply the withImageFallback HOC to all screen components
10
- var EnhancedConnectWalletScreen = withImageFallback(ConnectWalletScreen);
11
- var EnhancedChainSelectionScreen = withImageFallback(ChainSelectionScreen);
12
- var EnhancedAmountInputScreen = withImageFallback(AmountInputScreen);
13
- var EnhancedDepositProgressScreen = withImageFallback(DepositProgressScreen);
14
- var EnhancedDepositSuccessScreen = withImageFallback(DepositSuccessScreen);
15
- var EnhancedAuthLoadingScreen = withImageFallback(AuthLoadingScreen);
16
- var EnhancedErrorScreen = withImageFallback(ErrorScreen);
17
- var DEFAULT_HEADER_CONFIG = { title: 'Bridge' };
18
- var HEADER_CONFIG = (_a = {},
19
- _a[FlowState.CONNECTING_WALLET] = { title: 'Connect Wallet' },
20
- _a[FlowState.CHAIN_SELECTION] = { title: 'Select Network' },
21
- _a[FlowState.AMOUNT_INPUT] = {
22
- title: 'Enter Amount',
23
- backTarget: {
24
- state: FlowState.CHAIN_SELECTION,
25
- contextUpdates: { selectedChain: null, amount: '' },
26
- },
27
- },
28
- _a[FlowState.DEPOSIT_PROGRESS] = { title: 'Processing Deposit' },
29
- _a[FlowState.DEPOSIT_SUCCESS] = { title: 'Deposit Complete' },
30
- _a[FlowState.AUTH_LOADING] = { title: 'Authenticating' },
31
- _a[FlowState.FINAL_SUCCESS] = { title: 'All Set' },
32
- _a[FlowState.ERROR] = { title: 'Something Went Wrong' },
33
- _a);
34
- /**
35
- * Main component for the wallet connection flow
36
- */
37
- export var NordFlow = function (_a) {
38
- var onClose = _a.onClose;
39
- var _b = useFlowStateContext(), state = _b.state, actions = _b.actions, isClosing = _b.isClosing;
40
- var shouldAutoClose = state === FlowState.FINAL_SUCCESS;
41
- useEffect(function () {
42
- if (!shouldAutoClose) {
43
- return;
44
- }
45
- if (onClose) {
46
- onClose();
47
- }
48
- }, [shouldAutoClose, onClose]);
49
- if (shouldAutoClose) {
50
- return null;
51
- }
52
- var headerConfig = HEADER_CONFIG[state] || DEFAULT_HEADER_CONFIG;
53
- var backTarget = headerConfig.backTarget;
54
- var handleBack = backTarget
55
- ? function () {
56
- if (backTarget.state === FlowState.CHAIN_SELECTION) {
57
- actions.goToChainSelection({ resetSelection: true });
58
- }
59
- }
60
- : undefined;
61
- return (_jsx("div", { className: "z-50 flex items-center justify-center overflow-auto font-era", children: _jsxs("div", { className: "bg-n1-ww-gray-700 relative border border-n1-ww-border rounded-[6px] transition-[max-width,transform,opacity] duration-[3000ms] ease-[cubic-bezier(0.16,1,0.3,1)] m-4 origin-center will-change-[max-width,transform,opacity]", style: { width: 400 }, children: [_jsx(Header, { onClose: onClose, title: headerConfig.title, onBack: handleBack }), _jsx("div", { className: "wallet-connection-flow-content p-4 overflow-visible", children: _jsx(NordFlowScreenRenderer, { state: state, isClosing: isClosing }) })] }) }));
62
- };
63
- // Screen renderer component that renders the active flow screen
64
- var renderScreenForState = function (state) {
65
- switch (state) {
66
- case FlowState.CONNECTING_WALLET:
67
- return _jsx(EnhancedConnectWalletScreen, {});
68
- case FlowState.CHAIN_SELECTION:
69
- return _jsx(EnhancedChainSelectionScreen, {});
70
- case FlowState.AMOUNT_INPUT:
71
- return _jsx(EnhancedAmountInputScreen, {});
72
- case FlowState.DEPOSIT_PROGRESS:
73
- return _jsx(EnhancedDepositProgressScreen, {});
74
- case FlowState.DEPOSIT_SUCCESS:
75
- return _jsx(EnhancedDepositSuccessScreen, {});
76
- case FlowState.AUTH_LOADING:
77
- return _jsx(EnhancedAuthLoadingScreen, {});
78
- case FlowState.ERROR:
79
- return _jsx(EnhancedErrorScreen, {});
80
- default:
81
- return _jsx(EnhancedConnectWalletScreen, {});
82
- }
83
- };
84
- var NordFlowScreenRenderer = function (_a) {
85
- var state = _a.state, isClosing = _a.isClosing;
86
- var cachedScreenRef = useRef({
87
- state: state,
88
- element: renderScreenForState(state),
89
- });
90
- if (cachedScreenRef.current.state !== state) {
91
- cachedScreenRef.current = {
92
- state: state,
93
- element: renderScreenForState(state),
94
- };
95
- }
96
- return (_jsx("div", { className: isClosing ? 'n1-ww-animate-fade-out' : 'n1-ww-animate-fade-in', children: cachedScreenRef.current.element }));
97
- };
98
- //# sourceMappingURL=NordFlow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NordFlow.js","sourceRoot":"","sources":["../../../src/Modal/NordFlow/NordFlow.tsx"],"names":[],"mappings":";;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,C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AAO,CACL,cAAK,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,uBAAuB,YAC3E,eAAe,CAAC,OAAO,CAAC,OAAO,GAC5B,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React, { useEffect, useRef } from 'react';\nimport { Header } from './components';\nimport { useFlowStateContext } from './context';\nimport { withImageFallback } from './hoc';\nimport {\n AmountInputScreen,\n AuthLoadingScreen,\n ChainSelectionScreen,\n ConnectWalletScreen,\n DepositProgressScreen,\n DepositSuccessScreen,\n ErrorScreen,\n} from './screens';\nimport { FlowContext, FlowState } from './types';\n\ninterface NordFlowProps {\n onClose?: () => void;\n}\n\n// Apply the withImageFallback HOC to all screen components\nconst EnhancedConnectWalletScreen = withImageFallback(ConnectWalletScreen);\nconst EnhancedChainSelectionScreen = withImageFallback(ChainSelectionScreen);\nconst EnhancedAmountInputScreen = withImageFallback(AmountInputScreen);\nconst EnhancedDepositProgressScreen = withImageFallback(DepositProgressScreen);\nconst EnhancedDepositSuccessScreen = withImageFallback(DepositSuccessScreen);\nconst EnhancedAuthLoadingScreen = withImageFallback(AuthLoadingScreen);\nconst EnhancedErrorScreen = withImageFallback(ErrorScreen);\n\ninterface HeaderDisplayConfig {\n title: string;\n backTarget?: {\n state: FlowState;\n contextUpdates?: Partial<FlowContext>;\n };\n}\n\nconst DEFAULT_HEADER_CONFIG: HeaderDisplayConfig = { title: 'Bridge' };\n\nconst HEADER_CONFIG: Record<FlowState, HeaderDisplayConfig> = {\n [FlowState.CONNECTING_WALLET]: { title: 'Connect Wallet' },\n [FlowState.CHAIN_SELECTION]: { title: 'Select Network' },\n [FlowState.AMOUNT_INPUT]: {\n title: 'Enter Amount',\n backTarget: {\n state: FlowState.CHAIN_SELECTION,\n contextUpdates: { selectedChain: null, amount: '' },\n },\n },\n [FlowState.DEPOSIT_PROGRESS]: { title: 'Processing Deposit' },\n [FlowState.DEPOSIT_SUCCESS]: { title: 'Deposit Complete' },\n [FlowState.AUTH_LOADING]: { title: 'Authenticating' },\n [FlowState.FINAL_SUCCESS]: { title: 'All Set' },\n [FlowState.ERROR]: { title: 'Something Went Wrong' },\n};\n\n/**\n * Main component for the wallet connection flow\n */\nexport const NordFlow: React.FC<NordFlowProps> = ({ onClose}) => {\n const { state, actions, isClosing } = useFlowStateContext();\n const shouldAutoClose = state === FlowState.FINAL_SUCCESS;\n\n useEffect(() => {\n if (!shouldAutoClose) {\n return;\n }\n\n if (onClose) {\n onClose();\n }\n }, [shouldAutoClose, onClose]);\n\n if (shouldAutoClose) {\n return null;\n }\n\n const headerConfig = HEADER_CONFIG[state] || DEFAULT_HEADER_CONFIG;\n const backTarget = headerConfig.backTarget;\n const handleBack = backTarget\n ? () => {\n if (backTarget.state === FlowState.CHAIN_SELECTION) {\n actions.goToChainSelection({ resetSelection: true });\n }\n }\n : undefined;\n\n return (\n <div\n className={`z-50 flex items-center justify-center overflow-auto font-era`}\n >\n <div\n className=\"bg-n1-ww-gray-700 relative border border-n1-ww-border rounded-[6px] transition-[max-width,transform,opacity] duration-[3000ms] ease-[cubic-bezier(0.16,1,0.3,1)] m-4 origin-center will-change-[max-width,transform,opacity]\"\n style={{ width: 400 }}\n >\n {/* Header */}\n <Header\n onClose={onClose}\n title={headerConfig.title}\n onBack={handleBack}\n />\n\n {/* Content */}\n <div className=\"wallet-connection-flow-content p-4 overflow-visible\">\n <NordFlowScreenRenderer\n state={state}\n isClosing={isClosing}\n />\n </div>\n </div>\n </div>\n );\n};\n\n// Screen renderer component that renders the active flow screen\nconst renderScreenForState = (state: FlowState) => {\n switch (state) {\n case FlowState.CONNECTING_WALLET:\n return <EnhancedConnectWalletScreen />;\n case FlowState.CHAIN_SELECTION:\n return <EnhancedChainSelectionScreen />;\n case FlowState.AMOUNT_INPUT:\n return <EnhancedAmountInputScreen />;\n case FlowState.DEPOSIT_PROGRESS:\n return <EnhancedDepositProgressScreen />;\n case FlowState.DEPOSIT_SUCCESS:\n return <EnhancedDepositSuccessScreen />;\n case FlowState.AUTH_LOADING:\n return <EnhancedAuthLoadingScreen />;\n case FlowState.ERROR:\n return <EnhancedErrorScreen />;\n default:\n return <EnhancedConnectWalletScreen />;\n }\n};\n\nconst NordFlowScreenRenderer: React.FC<{\n state: FlowState;\n isClosing: boolean;\n}> = ({ state, isClosing }) => {\n const cachedScreenRef = useRef<{\n state: FlowState;\n element: React.ReactNode;\n }>({\n state,\n element: renderScreenForState(state),\n });\n\n if (cachedScreenRef.current.state !== state) {\n cachedScreenRef.current = {\n state,\n element: renderScreenForState(state),\n };\n }\n\n return (\n <div className={isClosing ? 'n1-ww-animate-fade-out' : 'n1-ww-animate-fade-in'}>\n {cachedScreenRef.current.element}\n </div>\n );\n};\n"]}
@@ -1,10 +0,0 @@
1
- import { Chain } from "../types";
2
- interface ChainButtonProps {
3
- chain: Chain;
4
- onClick: (chainId: string) => void;
5
- selected?: boolean;
6
- soon?: boolean;
7
- subtitle?: string;
8
- }
9
- export declare function ChainButton({ chain, onClick, selected, soon, subtitle, }: ChainButtonProps): import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,21 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ImageWithFallback } from "./ImageWithFallback";
3
- export function ChainButton(_a) {
4
- var chain = _a.chain, onClick = _a.onClick, _b = _a.selected, selected = _b === void 0 ? false : _b, _c = _a.soon, soon = _c === void 0 ? false : _c, subtitle = _a.subtitle;
5
- var handleClick = function () {
6
- if (!soon) {
7
- onClick(chain.id);
8
- }
9
- };
10
- var imageClasses = "opacity-90 grayscale brightness-150 transition-all duration-200";
11
- // Base button classes
12
- var baseButtonClasses = "group rounded-lg flex items-center justify-between border p-4 bg-n1-ww-gray-900 transition-all duration-200";
13
- // Conditional classes based on selection and soon state
14
- var buttonClasses = soon
15
- ? "".concat(baseButtonClasses, " border-n1-ww-border cursor-not-allowed")
16
- : selected
17
- ? "".concat(baseButtonClasses, " border-n1-ww-border hover:border-n1-ww-main-400/50 hover:bg-n1-ww-gray-800 cursor-pointer")
18
- : "".concat(baseButtonClasses, " border-n1-ww-border hover:border-n1-ww-main-400/50 hover:bg-n1-ww-gray-800 cursor-pointer");
19
- return (_jsxs("button", { onClick: handleClick, className: buttonClasses, disabled: soon, children: [_jsxs("div", { className: "flex items-center justify-start", children: [_jsx("div", { className: "flex items-center justify-center rounded-full bg-n1-ww-gray-650 mr-2 h-8 w-8", children: typeof chain.logo === "string" ? (_jsx(ImageWithFallback, { src: chain.logo, width: 48, height: 48, alt: chain.name, className: imageClasses, fallbackClassName: "w-12 h-12 rounded-full text-lg font-bold opacity-90 group-hover:scale-105 transition-all duration-200 brightness-150", fallbackBgColor: "bg-n1-ww-main/20", fallbackTextColor: "text-n1-ww-main" })) : (_jsx("div", { className: "grayscale brightness-150", children: chain.logo })) }), _jsxs("div", { className: "flex flex-col items-start justify-center text-left", children: [_jsx("span", { className: "text-white font-medium text-sm", children: chain.name }), subtitle ? (_jsx("span", { className: "text-n1-ww-gray-100 font-light text-xs", children: subtitle })) : (_jsx("span", { className: "text-white font-light text-xs", children: chain.name }))] })] }), _jsx("div", { className: "flex items-center justify-center", children: soon ? (_jsx("span", { className: "px-2 py-1 rounded text-xs font-medium bg-n1-ww-main-950 text-n1-ww-main-700", children: "SOON" })) : selected ? (_jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("rect", { x: "0.5", y: "0.5", width: "15", height: "15", rx: "7.5", stroke: "#FF441A" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.3333 5.52227L7.48168 11.4007L7.1762 11.7708L6.83012 11.4354L4 8.69212L4.61955 8.10046L7.10358 10.5083L11.6497 5L12.3333 5.52227Z", fill: "#FF441A", stroke: "#FF441A", strokeWidth: "0.5" })] })) : (_jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "transition-opacity duration-200 group-hover:opacity-80", children: [_jsx("circle", { cx: "8", cy: "8", r: "8", fill: "black" }), _jsx("circle", { cx: "8", cy: "8", r: "7.5", stroke: "white", strokeOpacity: "0.2" })] })) })] }));
20
- }
21
- //# sourceMappingURL=ChainButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChainButton.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/components/ChainButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAUxD,MAAM,UAAU,WAAW,CAAC,EAMT;QALjB,KAAK,WAAA,EACL,OAAO,aAAA,EACP,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAChB,YAAY,EAAZ,IAAI,mBAAG,KAAK,KAAA,EACZ,QAAQ,cAAA;IAER,IAAM,WAAW,GAAG;QAClB,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QACpB,CAAC;IACH,CAAC,CAAC;IAEF,IAAM,YAAY,GAAG,iEAAiE,CAAC;IAEvF,sBAAsB;IACtB,IAAM,iBAAiB,GAAG,6GAA6G,CAAC;IAExI,wDAAwD;IACxD,IAAM,aAAa,GAAG,IAAI;QACxB,CAAC,CAAC,UAAG,iBAAiB,4CAAyC;QAC/D,CAAC,CAAC,QAAQ;YACV,CAAC,CAAC,UAAG,iBAAiB,+FAA4F;YAClH,CAAC,CAAC,UAAG,iBAAiB,+FAA4F,CAAC;IAErH,OAAO,CACL,kBACE,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,IAAI,aAEd,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,8EAA8E,YAC1F,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,CAChC,KAAC,iBAAiB,IAChB,GAAG,EAAE,KAAK,CAAC,IAAI,EACf,KAAK,EAAE,EAAE,E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OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,EAAC,SAAS,EAAC,wDAAwD,aAC/J,iBAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,OAAO,GAAE,EAC1C,iBAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,KAAK,EAAC,MAAM,EAAC,OAAO,EAAC,aAAa,EAAC,KAAK,GAAE,IAC9D,CACP,GACG,IACC,CACV,CAAC;AACJ,CAAC","sourcesContent":["import { Chain } from \"../types\";\nimport { ImageWithFallback } from \"./ImageWithFallback\";\n\ninterface ChainButtonProps {\n chain: Chain;\n onClick: (chainId: string) => void;\n selected?: boolean;\n soon?: boolean;\n subtitle?: string;\n}\n\nexport function ChainButton({\n chain,\n onClick,\n selected = false,\n soon = false,\n subtitle,\n}: ChainButtonProps) {\n const handleClick = () => {\n if (!soon) {\n onClick(chain.id);\n }\n };\n \n const imageClasses = \"opacity-90 grayscale brightness-150 transition-all duration-200\";\n\n // Base button classes\n const baseButtonClasses = \"group rounded-lg flex items-center justify-between border p-4 bg-n1-ww-gray-900 transition-all duration-200\";\n \n // Conditional classes based on selection and soon state\n const buttonClasses = soon\n ? `${baseButtonClasses} border-n1-ww-border cursor-not-allowed`\n : selected\n ? `${baseButtonClasses} border-n1-ww-border hover:border-n1-ww-main-400/50 hover:bg-n1-ww-gray-800 cursor-pointer`\n : `${baseButtonClasses} border-n1-ww-border hover:border-n1-ww-main-400/50 hover:bg-n1-ww-gray-800 cursor-pointer`;\n\n return (\n <button\n onClick={handleClick}\n className={buttonClasses}\n disabled={soon}\n >\n <div className=\"flex items-center justify-start\">\n <div className=\"flex items-center justify-center rounded-full bg-n1-ww-gray-650 mr-2 h-8 w-8\">\n {typeof chain.logo === \"string\" ? (\n <ImageWithFallback\n src={chain.logo}\n width={48}\n height={48}\n alt={chain.name}\n className={imageClasses}\n fallbackClassName=\"w-12 h-12 rounded-full text-lg font-bold opacity-90 group-hover:scale-105 transition-all duration-200 brightness-150\"\n fallbackBgColor=\"bg-n1-ww-main/20\"\n fallbackTextColor=\"text-n1-ww-main\"\n />\n ) : (\n <div className=\"grayscale brightness-150\">{chain.logo}</div>\n )}\n </div>\n <div className=\"flex flex-col items-start justify-center text-left\">\n <span className=\"text-white font-medium text-sm\">{chain.name}</span>\n {subtitle ? (\n <span className=\"text-n1-ww-gray-100 font-light text-xs\">{subtitle}</span>\n ) : (\n <span className=\"text-white font-light text-xs\">{chain.name}</span>\n )}\n </div>\n </div>\n <div className=\"flex items-center justify-center\">\n {soon ? (\n <span className=\"px-2 py-1 rounded text-xs font-medium bg-n1-ww-main-950 text-n1-ww-main-700\">\n SOON\n </span>\n ) : selected ? (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"0.5\" y=\"0.5\" width=\"15\" height=\"15\" rx=\"7.5\" stroke=\"#FF441A\"/>\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M12.3333 5.52227L7.48168 11.4007L7.1762 11.7708L6.83012 11.4354L4 8.69212L4.61955 8.10046L7.10358 10.5083L11.6497 5L12.3333 5.52227Z\" fill=\"#FF441A\" stroke=\"#FF441A\" strokeWidth=\"0.5\"/>\n </svg>\n ) : (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" className=\"transition-opacity duration-200 group-hover:opacity-80\">\n <circle cx=\"8\" cy=\"8\" r=\"8\" fill=\"black\"/>\n <circle cx=\"8\" cy=\"8\" r=\"7.5\" stroke=\"white\" strokeOpacity=\"0.2\"/>\n </svg>\n )}\n </div>\n </button>\n );\n}\n"]}
@@ -1,9 +0,0 @@
1
- import { Chain } from '../types';
2
- interface EVMChainsButtonProps {
3
- chain: Chain;
4
- onClick: (chainId: string) => void;
5
- disabled?: boolean;
6
- selected?: boolean;
7
- }
8
- export declare function EVMChainsButton({ chain, onClick, disabled, selected, }: EVMChainsButtonProps): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,21 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { EVMChainsGroup } from '../../../components/logos';
3
- export function EVMChainsButton(_a) {
4
- var chain = _a.chain, onClick = _a.onClick, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.selected, selected = _c === void 0 ? false : _c;
5
- var handleClick = function () {
6
- if (!disabled) {
7
- onClick(chain.id);
8
- }
9
- };
10
- var logoClasses = disabled
11
- ? "opacity-50 grayscale"
12
- : "opacity-90 grayscale group-hover:grayscale-0 group-hover:scale-105 transition-all duration-200";
13
- // Base button classes
14
- var baseButtonClasses = "group rounded-lg flex items-center justify-between border p-4 bg-n1-ww-gray-900 transition-all duration-200";
15
- // Conditional classes based on selection and disabled state
16
- var buttonClasses = disabled
17
- ? "".concat(baseButtonClasses, " border-n1-ww-border opacity-50 cursor-not-allowed")
18
- : "".concat(baseButtonClasses, " border-n1-ww-border hover:border-n1-ww-main-400/50 hover:bg-n1-ww-gray-800 cursor-pointer");
19
- return (_jsxs("button", { onClick: handleClick, className: buttonClasses, disabled: disabled, children: [_jsxs("div", { className: "flex items-center justify-start", children: [_jsx("div", { className: "flex items-center justify-center rounded-full bg-n1-ww-gray-650 mr-2 h-8 w-8", children: _jsx("div", { className: logoClasses, children: _jsx(EVMChainsGroup, { size: 32 }) }) }), _jsxs("div", { className: "flex flex-col items-start justify-center text-left", children: [_jsx("span", { className: "text-white font-medium text-sm", children: chain.name }), _jsx("span", { className: "text-white font-light text-xs", children: chain.name })] })] }), _jsx("div", { className: "flex items-center justify-center", children: selected ? (_jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("rect", { x: "0.5", y: "0.5", width: "15", height: "15", rx: "7.5", stroke: "#FF441A" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.3333 5.52227L7.48168 11.4007L7.1762 11.7708L6.83012 11.4354L4 8.69212L4.61955 8.10046L7.10358 10.5083L11.6497 5L12.3333 5.52227Z", fill: "#FF441A", stroke: "#FF441A", strokeWidth: "0.5" })] })) : (_jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "transition-opacity duration-200 group-hover:opacity-80", children: [_jsx("circle", { cx: "8", cy: "8", r: "8", fill: "black" }), _jsx("circle", { cx: "8", cy: "8", r: "7.5", stroke: "white", strokeOpacity: "0.2" })] })) })] }));
20
- }
21
- //# sourceMappingURL=EVMChainsButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EVMChainsButton.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/components/EVMChainsButton.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAS3D,MAAM,UAAU,eAAe,CAAC,EAKT;QAJrB,KAAK,WAAA,EACL,OAAO,aAAA,EACP,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAChB,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA;IAEhB,IAAM,WAAW,GAAG;QAClB,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QACpB,CAAC;IACH,CAAC,CAAC;IAEF,IAAM,WAAW,GAAG,QAAQ;QAC1B,CAAC,CAAC,sBAAsB;QACxB,CAAC,CAAC,gGAAgG,CAAC;IAErG,sBAAsB;IACtB,IAAM,iBAAiB,GAAG,6GAA6G,CAAC;IAExI,4DAA4D;IAC5D,IAAM,aAAa,GAAG,QAAQ;QAC5B,CAAC,CAAC,UAAG,iBAAiB,uDAAoD;QAC1E,CAAC,CAAC,UAAG,iBAAiB,+FAA4F,CAAC;IAErH,O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AAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,KAAK,EAAC,MAAM,EAAC,OAAO,EAAC,aAAa,EAAC,KAAK,GAAE,IAC9D,CACP,GACG,IACC,CACV,CAAC;AACJ,CAAC","sourcesContent":["import React from 'react';\nimport { Chain } from '../types';\nimport { EVMChainsGroup } from '../../../components/logos';\n\ninterface EVMChainsButtonProps {\n chain: Chain;\n onClick: (chainId: string) => void;\n disabled?: boolean;\n selected?: boolean;\n}\n\nexport function EVMChainsButton({\n chain,\n onClick,\n disabled = false,\n selected = false,\n}: EVMChainsButtonProps) {\n const handleClick = () => {\n if (!disabled) {\n onClick(chain.id);\n }\n };\n\n const logoClasses = disabled\n ? \"opacity-50 grayscale\"\n : \"opacity-90 grayscale group-hover:grayscale-0 group-hover:scale-105 transition-all duration-200\";\n\n // Base button classes\n const baseButtonClasses = \"group rounded-lg flex items-center justify-between border p-4 bg-n1-ww-gray-900 transition-all duration-200\";\n \n // Conditional classes based on selection and disabled state\n const buttonClasses = disabled\n ? `${baseButtonClasses} border-n1-ww-border opacity-50 cursor-not-allowed`\n : `${baseButtonClasses} border-n1-ww-border hover:border-n1-ww-main-400/50 hover:bg-n1-ww-gray-800 cursor-pointer`;\n\n return (\n <button\n onClick={handleClick}\n className={buttonClasses}\n disabled={disabled}\n >\n <div className=\"flex items-center justify-start\">\n <div className=\"flex items-center justify-center rounded-full bg-n1-ww-gray-650 mr-2 h-8 w-8\">\n <div className={logoClasses}>\n <EVMChainsGroup size={32} />\n </div>\n </div>\n <div className=\"flex flex-col items-start justify-center text-left\">\n <span className={\"text-white font-medium text-sm\"}>{chain.name}</span>\n <span className={\"text-white font-light text-xs\"}>{chain.name}</span>\n </div>\n </div>\n <div className=\"flex items-center justify-center\">\n {selected ? (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"0.5\" y=\"0.5\" width=\"15\" height=\"15\" rx=\"7.5\" stroke=\"#FF441A\"/>\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M12.3333 5.52227L7.48168 11.4007L7.1762 11.7708L6.83012 11.4354L4 8.69212L4.61955 8.10046L7.10358 10.5083L11.6497 5L12.3333 5.52227Z\" fill=\"#FF441A\" stroke=\"#FF441A\" strokeWidth=\"0.5\"/>\n </svg>\n ) : (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" className=\"transition-opacity duration-200 group-hover:opacity-80\">\n <circle cx=\"8\" cy=\"8\" r=\"8\" fill=\"black\"/>\n <circle cx=\"8\" cy=\"8\" r=\"7.5\" stroke=\"white\" strokeOpacity=\"0.2\"/>\n </svg>\n )}\n </div>\n </button>\n );\n}\n"]}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface HeaderProps {
3
- title?: string;
4
- onClose?: () => void;
5
- onBack?: () => void;
6
- }
7
- /**
8
- * Header component for the Nord Flow modal
9
- * Contains the "Bridge" text and close button
10
- */
11
- export declare const Header: React.FC<HeaderProps>;
12
- export {};
@@ -1,45 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useCallback } from 'react';
3
- import { useN1WalletContext, useN1WalletInternalContext } from '../../../Provider/hooks';
4
- import { shortenAddress } from '../../../utils/shortenString';
5
- var WalletConnectionBadge = function () {
6
- var address = useN1WalletContext().address;
7
- var dynamicWallet = useN1WalletInternalContext().dynamicWallet;
8
- var connectionAddress = (dynamicWallet === null || dynamicWallet === void 0 ? void 0 : dynamicWallet.address) || address;
9
- var handleShareClick = useCallback(function () {
10
- var _a;
11
- if (!connectionAddress || typeof navigator === 'undefined')
12
- return;
13
- var nav = navigator;
14
- if (typeof nav.share === 'function') {
15
- nav.share({ title: 'Wallet address', text: connectionAddress }).catch(function () { });
16
- return;
17
- }
18
- if ((_a = nav.clipboard) === null || _a === void 0 ? void 0 : _a.writeText) {
19
- nav.clipboard.writeText(connectionAddress).catch(function () { });
20
- }
21
- }, [connectionAddress]);
22
- if (!connectionAddress) {
23
- return null;
24
- }
25
- return (_jsxs("div", { className: "inline-flex items-center gap-2 text-[12px] leading-none text-n1-ww-icon", children: [_jsx("span", { className: "flex h-2 w-2 flex-shrink-0 rounded-full bg-n1-ww-accent-neon", "aria-label": "Wallet connected" }), _jsx("span", { className: "underline underline-offset-2 decoration-white/40 tracking-[-0.2px]", children: shortenAddress(connectionAddress) }), _jsx("button", { type: "button", onClick: handleShareClick, className: "flex h-4 w-4 flex-shrink-0 items-center justify-center text-n1-ww-main hover:text-white transition-colors", "aria-label": "Share wallet address", children: _jsxs("svg", { className: "h-full w-full", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M5.93066 8.06944L12.3473 1.65277", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round" }), _jsx("path", { d: "M8.06958 1.65277H12.3474V5.93055", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round" }), _jsx("path", { d: "M10.7431 7.80207V12.3472H1.65283V3.25693H6.19797", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round" })] }) })] }));
26
- };
27
- /**
28
- * Header component for the Nord Flow modal
29
- * Contains the "Bridge" text and close button
30
- */
31
- export var Header = function (_a) {
32
- var onClose = _a.onClose, onBack = _a.onBack, _b = _a.title, title = _b === void 0 ? 'Bridge' : _b;
33
- return (_jsxs("div", { className: "w-full px-4 pt-4", children: [_jsxs("div", { className: "flex items-center h-4 gap-2", children: [_jsxs("div", { className: "flex flex-1 items-center min-w-0", children: [onBack && (_jsx("button", { type: "button", onClick: onBack, className: "flex h-full items-center justify-center cursor-pointer text-n1-ww-icon hover:text-white pr-4", "aria-label": "Go back", children: _jsx("svg", { className: "h-[10px] w-[6px]", width: "6", height: "10", viewBox: "0 0 6 10", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M5.26316 10L0 5L5.26316 0L6 0.7125L1.48684 5L6 9.2875L5.26316 10Z" }) }) })), _jsx("div", { className: " text-[12px] text-n1-ww-icon opacity-90 tracking-[-0.24px] leading-none", children: title })] }), _jsx("div", { className: "flex flex-1 items-center justify-center px-2", children: _jsx(WalletConnectionBadge, {}) }), _jsx("div", { className: "flex flex-1 justify-end", children: _jsx("button", { type: "button", onClick: function (event) {
34
- var _a;
35
- event.preventDefault();
36
- event.stopPropagation();
37
- if ((_a = event.nativeEvent) === null || _a === void 0 ? void 0 : _a.stopImmediatePropagation) {
38
- event.nativeEvent.stopImmediatePropagation();
39
- }
40
- if (onClose) {
41
- onClose();
42
- }
43
- }, className: "flex h-10 w-10 items-center justify-center cursor-pointer text-n1-ww-icon hover:text-white", children: _jsx("svg", { className: "h-[10px] w-[10px]", viewBox: "0 0 10 10", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M5.88381 5L10 0.883812L9.11619 0L5 4.11619L0.883937 0L0 0.883812L4.11619 5L0 9.11619L0.883937 10L5 5.88381L9.11619 10L10 9.11619L5.88381 5Z" }) }) }) })] }), _jsx("div", { className: "h-4 relative mt-0 w-full", children: _jsx("div", { className: "absolute bottom-0 left-0 right-0 top-[-1px] border-b border-n1-ww-border" }) })] }));
44
- };
45
- //# sourceMappingURL=Header.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/components/Header.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,IAAM,qBAAqB,GAAa;IAC9B,IAAA,OAAO,GAAK,kBAAkB,EAAE,QAAzB,CAA0B;IACjC,IAAA,aAAa,GAAK,0BAA0B,EAAE,cAAjC,CAAkC;IACv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,CAAC;gCAC/C,CAAC;gCACD,IAAI,OAAO,EAAE,CAAC;oCACZ,OAAO,EAAE,CAAC;gCACZ,CAAC;4BACH,CAAC,EACD,SAAS,EAAC,4FAA4F,YAEtG,cACE,SAAS,EAAC,mBAAmB,EAC7B,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,4BAA4B,YAElC,eAAM,CAAC,EAAC,6IAA6I,GAAG,GACpJ,GACC,GACL,IACF,EACN,cAAK,SAAS,EAAC,0BAA0B,YACvC,cAAK,SAAS,EAAC,0EAA0E,GAAO,GAC5F,IACF,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React, { useCallback } from 'react';\nimport { useN1WalletContext, useN1WalletInternalContext } from '../../../Provider/hooks';\nimport { shortenAddress } from '../../../utils/shortenString';\n\nconst WalletConnectionBadge: React.FC = () => {\n const { address } = useN1WalletContext();\n const { dynamicWallet } = useN1WalletInternalContext();\n const connectionAddress = dynamicWallet?.address || address;\n\n const handleShareClick = useCallback(() => {\n if (!connectionAddress || typeof navigator === 'undefined') return;\n\n const nav = navigator as Navigator & {\n share?: (data: ShareData) => Promise<void>;\n };\n\n if (typeof nav.share === 'function') {\n nav.share({ title: 'Wallet address', text: connectionAddress }).catch(() => {});\n return;\n }\n\n if (nav.clipboard?.writeText) {\n nav.clipboard.writeText(connectionAddress).catch(() => {});\n }\n }, [connectionAddress]);\n\n if (!connectionAddress) {\n return null;\n }\n\n return (\n <div className=\"inline-flex items-center gap-2 text-[12px] leading-none text-n1-ww-icon\">\n <span\n className=\"flex h-2 w-2 flex-shrink-0 rounded-full bg-n1-ww-accent-neon\"\n aria-label=\"Wallet connected\"\n />\n <span className=\"underline underline-offset-2 decoration-white/40 tracking-[-0.2px]\">\n {shortenAddress(connectionAddress)}\n </span>\n <button\n type=\"button\"\n onClick={handleShareClick}\n className=\"flex h-4 w-4 flex-shrink-0 items-center justify-center text-n1-ww-main hover:text-white transition-colors\"\n aria-label=\"Share wallet address\"\n >\n <svg\n className=\"h-full w-full\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M5.93066 8.06944L12.3473 1.65277\"\n stroke=\"currentColor\"\n strokeWidth=\"1.2\"\n strokeLinecap=\"round\"\n />\n <path\n d=\"M8.06958 1.65277H12.3474V5.93055\"\n stroke=\"currentColor\"\n strokeWidth=\"1.2\"\n strokeLinecap=\"round\"\n />\n <path\n d=\"M10.7431 7.80207V12.3472H1.65283V3.25693H6.19797\"\n stroke=\"currentColor\"\n strokeWidth=\"1.2\"\n strokeLinecap=\"round\"\n />\n </svg>\n </button>\n </div>\n );\n};\n\ninterface HeaderProps {\n title?: string;\n onClose?: () => void;\n onBack?: () => void;\n}\n\n/**\n * Header component for the Nord Flow modal\n * Contains the \"Bridge\" text and close button\n */\nexport const Header: React.FC<HeaderProps> = ({\n onClose,\n onBack,\n title = 'Bridge',\n}) => {\n return (\n <div className=\"w-full px-4 pt-4\">\n <div className=\"flex items-center h-4 gap-2\">\n <div className=\"flex flex-1 items-center min-w-0\">\n {onBack && (\n <button\n type=\"button\"\n onClick={onBack}\n className=\"flex h-full items-center justify-center cursor-pointer text-n1-ww-icon hover:text-white pr-4\" \n aria-label=\"Go back\"\n >\n <svg\n className=\"h-[10px] w-[6px]\"\n width=\"6\"\n height=\"10\"\n viewBox=\"0 0 6 10\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M5.26316 10L0 5L5.26316 0L6 0.7125L1.48684 5L6 9.2875L5.26316 10Z\" />\n </svg>\n </button>\n )}\n <div className={\" text-[12px] text-n1-ww-icon opacity-90 tracking-[-0.24px] leading-none\"}>\n {title}\n </div>\n </div>\n <div className=\"flex flex-1 items-center justify-center px-2\">\n <WalletConnectionBadge />\n </div>\n <div className=\"flex flex-1 justify-end\">\n <button\n type=\"button\"\n onClick={(event) => {\n event.preventDefault();\n event.stopPropagation();\n if (event.nativeEvent?.stopImmediatePropagation) {\n event.nativeEvent.stopImmediatePropagation();\n }\n if (onClose) {\n onClose();\n }\n }}\n className=\"flex h-10 w-10 items-center justify-center cursor-pointer text-n1-ww-icon hover:text-white\"\n >\n <svg\n className=\"h-[10px] w-[10px]\"\n viewBox=\"0 0 10 10\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M5.88381 5L10 0.883812L9.11619 0L5 4.11619L0.883937 0L0 0.883812L4.11619 5L0 9.11619L0.883937 10L5 5.88381L9.11619 10L10 9.11619L5.88381 5Z\" />\n </svg>\n </button>\n </div>\n </div>\n <div className=\"h-4 relative mt-0 w-full\">\n <div className=\"absolute bottom-0 left-0 right-0 top-[-1px] border-b border-n1-ww-border\"></div>\n </div>\n </div>\n );\n}; \n"]}
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- interface ImageWithFallbackProps {
3
- src: string;
4
- alt: string;
5
- width?: number | string;
6
- height?: number | string;
7
- className?: string;
8
- fallbackClassName?: string;
9
- fallbackText?: string;
10
- fallbackBgColor?: string;
11
- fallbackTextColor?: string;
12
- }
13
- /**
14
- * A component that renders an image with a fallback div when the image is not available
15
- */
16
- export declare const ImageWithFallback: React.FC<ImageWithFallbackProps>;
17
- export {};
@@ -1,33 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useState } from 'react';
3
- /**
4
- * A component that renders an image with a fallback div when the image is not available
5
- */
6
- export var ImageWithFallback = function (_a) {
7
- var src = _a.src, alt = _a.alt, _b = _a.width, width = _b === void 0 ? 'auto' : _b, _c = _a.height, height = _c === void 0 ? 'auto' : _c, _d = _a.className, className = _d === void 0 ? '' : _d, _e = _a.fallbackClassName, fallbackClassName = _e === void 0 ? '' : _e, fallbackText = _a.fallbackText, _f = _a.fallbackBgColor, fallbackBgColor = _f === void 0 ? 'bg-n1-ww-gray-800' : _f, _g = _a.fallbackTextColor, fallbackTextColor = _g === void 0 ? 'text-n1-ww-gray-400' : _g;
8
- var _h = useState(false), imageError = _h[0], setImageError = _h[1];
9
- // Get initials from alt text for fallback
10
- var getInitials = function (text) {
11
- if (!text)
12
- return '';
13
- return text
14
- .split(' ')
15
- .map(function (word) { return word[0]; })
16
- .join('')
17
- .toUpperCase()
18
- .substring(0, 2);
19
- };
20
- var handleError = function () {
21
- setImageError(true);
22
- };
23
- if (imageError || !src) {
24
- // Render fallback div
25
- return (_jsx("div", { className: "flex items-center justify-center ".concat(fallbackBgColor, " ").concat(fallbackTextColor, " ").concat(fallbackClassName), style: {
26
- width: typeof width === 'number' ? "".concat(width, "px") : width,
27
- height: typeof height === 'number' ? "".concat(height, "px") : height,
28
- }, "aria-label": alt, children: fallbackText || getInitials(alt) }));
29
- }
30
- // Render image
31
- return (_jsx("img", { src: src, alt: alt, width: width, height: height, className: className, onError: handleError }));
32
- };
33
- //# sourceMappingURL=ImageWithFallback.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImageWithFallback.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/components/ImageWithFallback.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAcxC;;GAEG;AACH,MAAM,CAAC,IAAM,iBAAiB,GAAqC,UAAC,EAUnE;QATC,GAAG,SAAA,EACH,GAAG,SAAA,EACH,aAAc,EAAd,KAAK,mBAAG,MAAM,KAAA,EACd,cAAe,EAAf,MAAM,mBAAG,MAAM,KAAA,EACf,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA,EACd,yBAAsB,EAAtB,iBAAiB,mBAAG,EAAE,KAAA,EACtB,YAAY,kBAAA,EACZ,uBAAqC,EAArC,eAAe,mBAAG,mBAAmB,KAAA,EACrC,yBAAyC,EAAzC,iBAAiB,mBAAG,qBAAqB,KAAA;IAEnC,IAAA,KAA8B,QAAQ,CAAC,KAAK,CAAC,EAA5C,UAAU,QAAA,EAAE,aAAa,QAAmB,CAAC;IAEpD,0CAA0C;IAC1C,IAAM,WAAW,GAAG,UAAC,IAAY;QAC/B,IAAI,CAAC,IAAI;YAAE,OAAO,EAAE,CAAC;QACrB,OAAO,IAAI;aACR,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,IAAI,CAAC,CAAC,CAAC,EAAP,CAAO,CAAC;aACtB,IAAI,CAAC,EAAE,CAAC;aACR,WAAW,EAAE;aACb,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACrB,CAAC,CAAC;IAEF,IAAM,WAAW,GAAG;QAClB,aAAa,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC,CAAC;IAEF,IAAI,UAAU,IAAI,CAAC,GAAG,EAAE,CAAC;QACvB,sBAAsB;QACtB,OAAO,CACL,cACE,SAAS,EAAE,2CAAoC,eAAe,cAAI,iBAAiB,cAAI,iBAAiB,CAAE,EAC1G,KAAK,EAAE;gBACL,KAAK,EAAE,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAG,KAAK,OAAI,CAAC,CAAC,CAAC,KAAK;gBACvD,MAAM,EAAE,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAG,MAAM,OAAI,CAAC,CAAC,CAAC,MAAM;aAC5D,gBACW,GAAG,YAEd,YAAY,IAAI,WAAW,CAAC,GAAG,CAAC,GAC7B,CACP,CAAC;IACJ,CAAC;IAED,eAAe;IACf,OAAO,CACL,cACE,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,WAAW,GACpB,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React, { useState } from 'react';\n\ninterface ImageWithFallbackProps {\n src: string;\n alt: string;\n width?: number | string;\n height?: number | string;\n className?: string;\n fallbackClassName?: string;\n fallbackText?: string;\n fallbackBgColor?: string;\n fallbackTextColor?: string;\n}\n\n/**\n * A component that renders an image with a fallback div when the image is not available\n */\nexport const ImageWithFallback: React.FC<ImageWithFallbackProps> = ({\n src,\n alt,\n width = 'auto',\n height = 'auto',\n className = '',\n fallbackClassName = '',\n fallbackText,\n fallbackBgColor = 'bg-n1-ww-gray-800',\n fallbackTextColor = 'text-n1-ww-gray-400',\n}) => {\n const [imageError, setImageError] = useState(false);\n\n // Get initials from alt text for fallback\n const getInitials = (text: string) => {\n if (!text) return '';\n return text\n .split(' ')\n .map((word) => word[0])\n .join('')\n .toUpperCase()\n .substring(0, 2);\n };\n\n const handleError = () => {\n setImageError(true);\n };\n\n if (imageError || !src) {\n // Render fallback div\n return (\n <div\n className={`flex items-center justify-center ${fallbackBgColor} ${fallbackTextColor} ${fallbackClassName}`}\n style={{\n width: typeof width === 'number' ? `${width}px` : width,\n height: typeof height === 'number' ? `${height}px` : height,\n }}\n aria-label={alt}\n >\n {fallbackText || getInitials(alt)}\n </div>\n );\n }\n\n // Render image\n return (\n <img\n src={src}\n alt={alt}\n width={width}\n height={height}\n className={className}\n onError={handleError}\n />\n );\n};\n"]}
@@ -1 +0,0 @@
1
- export declare function LoadingSquares(): JSX.Element;
@@ -1,6 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- export function LoadingSquares() {
4
- return (_jsx("div", { className: "relative w-32 h-32 n1-ww-animate-fade-up", style: { animationDelay: '0.2s' }, children: _jsxs("div", { className: "absolute inset-0 grid grid-cols-2 gap-2", children: [_jsx("div", { className: "relative bg-white dark:bg-neutral-900 border-2 border-n1-ww-gray-100 dark:border-neutral-800 overflow-hidden", children: _jsx("div", { className: "absolute inset-x-0 bottom-0 h-full bg-n1-ww-main/40 dark:bg-n1-ww-main/20 n1-ww-animate-square-loader" }) }), _jsx("div", { className: "relative bg-white dark:bg-neutral-900 border-2 border-n1-gray-100 dark:border-neutral-800 overflow-hidden", children: _jsx("div", { className: "absolute inset-x-0 bottom-0 h-full bg-n1-ww-main/40 dark:bg-n1-ww-main/20 n1-ww-animate-square-loader", style: { animationDelay: '0.2s' } }) }), _jsx("div", { className: "relative bg-white dark:bg-neutral-900 border-2 border-n1-gray-100 dark:border-neutral-800 overflow-hidden", children: _jsx("div", { className: "absolute inset-x-0 bottom-0 h-full bg-n1-ww-main/40 dark:bg-n1-ww-main/20 n1-ww-animate-square-loader", style: { animationDelay: '0.4s' } }) }), _jsx("div", { className: "relative bg-white dark:bg-neutral-900 border-2 border-n1-gray-100 dark:border-neutral-800 overflow-hidden", children: _jsx("div", { className: "absolute inset-x-0 bottom-0 h-full bg-n1-ww-main/40 dark:bg-n1-ww-main/20 n1-ww-animate-square-loader", style: { animationDelay: '0.6s' } }) })] }) }));
5
- }
6
- //# sourceMappingURL=LoadingSquares.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoadingSquares.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/components/LoadingSquares.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,MAAM,UAAU,cAAc;IAC5B,OAAO,CACL,cACE,SAAS,EAAC,0CAA0C,EACpD,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,YAEjC,eAAK,SAAS,EAAC,yCAAyC,aACtD,cAAK,SAAS,EAAC,8GAA8G,YAC3H,cAAK,SAAS,EAAC,uGAAuG,GAAO,GACzH,EACN,cAAK,SAAS,EAAC,2GAA2G,YACxH,cACE,SAAS,EAAC,uGAAuG,EACjH,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,GAC5B,GACH,EACN,cAAK,SAAS,EAAC,2GAA2G,YACxH,cACE,SAAS,EAAC,uGAAuG,EACjH,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,GAC5B,GACH,EACN,cAAK,SAAS,EAAC,2GAA2G,YACxH,cACE,SAAS,EAAC,uGAAuG,EACjH,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,GAC5B,GACH,IACF,GACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\nexport function LoadingSquares() {\n return (\n <div\n className=\"relative w-32 h-32 n1-ww-animate-fade-up\"\n style={{ animationDelay: '0.2s' }}\n >\n <div className=\"absolute inset-0 grid grid-cols-2 gap-2\">\n <div className=\"relative bg-white dark:bg-neutral-900 border-2 border-n1-ww-gray-100 dark:border-neutral-800 overflow-hidden\">\n <div className=\"absolute inset-x-0 bottom-0 h-full bg-n1-ww-main/40 dark:bg-n1-ww-main/20 n1-ww-animate-square-loader\"></div>\n </div>\n <div className=\"relative bg-white dark:bg-neutral-900 border-2 border-n1-gray-100 dark:border-neutral-800 overflow-hidden\">\n <div\n className=\"absolute inset-x-0 bottom-0 h-full bg-n1-ww-main/40 dark:bg-n1-ww-main/20 n1-ww-animate-square-loader\"\n style={{ animationDelay: '0.2s' }}\n ></div>\n </div>\n <div className=\"relative bg-white dark:bg-neutral-900 border-2 border-n1-gray-100 dark:border-neutral-800 overflow-hidden\">\n <div\n className=\"absolute inset-x-0 bottom-0 h-full bg-n1-ww-main/40 dark:bg-n1-ww-main/20 n1-ww-animate-square-loader\"\n style={{ animationDelay: '0.4s' }}\n ></div>\n </div>\n <div className=\"relative bg-white dark:bg-neutral-900 border-2 border-n1-gray-100 dark:border-neutral-800 overflow-hidden\">\n <div\n className=\"absolute inset-x-0 bottom-0 h-full bg-n1-ww-main/40 dark:bg-n1-ww-main/20 n1-ww-animate-square-loader\"\n style={{ animationDelay: '0.6s' }}\n ></div>\n </div>\n </div>\n </div>\n );\n}\n"]}
@@ -1,8 +0,0 @@
1
- import { Chain } from '../types';
2
- interface MoreButtonProps {
3
- chain: Chain;
4
- onClick: (chainId: string) => void;
5
- disabled?: boolean;
6
- }
7
- export declare function MoreButton({ chain, onClick, disabled, }: MoreButtonProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,19 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { MoreChainsGroup } from '../../../components/logos';
3
- export function MoreButton(_a) {
4
- var chain = _a.chain, onClick = _a.onClick, _b = _a.disabled, disabled = _b === void 0 ? false : _b;
5
- var handleClick = function () {
6
- if (!disabled) {
7
- onClick(chain.id);
8
- }
9
- };
10
- var baseClasses = 'flex flex-col items-center justify-center p-6 bg-n1-ww-gray-950 border-2 border-n1-ww-border transition-all duration-200 group rounded-lg';
11
- var enabledClasses = 'hover:border-n1-ww-border hover:bg-n1-ww-gray-900';
12
- var disabledClasses = 'opacity-50 cursor-not-allowed';
13
- var buttonClasses = "".concat(baseClasses, " ").concat(disabled ? disabledClasses : enabledClasses);
14
- var textClasses = disabled
15
- ? 'mt-4 font-medium text-n1-ww-gray-500'
16
- : 'mt-4 font-medium text-n1-ww-gray-400 group-hover:text-n1-ww-gray-50 transition-colors duration-200';
17
- return (_jsxs("button", { onClick: handleClick, className: buttonClasses, disabled: disabled, children: [_jsx(MoreChainsGroup, { size: 32, className: disabled ? 'opacity-50 grayscale' : 'opacity-90' }), _jsx("span", { className: textClasses, children: chain.name })] }));
18
- }
19
- //# sourceMappingURL=MoreButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MoreButton.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/components/MoreButton.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAQ5D,MAAM,UAAU,UAAU,CAAC,EAIT;QAHhB,KAAK,WAAA,EACL,OAAO,aAAA,EACP,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA;IAEhB,IAAM,WAAW,GAAG;QAClB,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QACpB,CAAC;IACH,CAAC,CAAC;IAEF,IAAM,WAAW,GACf,2IAA2I,CAAC;IAC9I,IAAM,cAAc,GAClB,mDAAmD,CAAC;IACtD,IAAM,eAAe,GAAG,+BAA+B,CAAC;IAExD,IAAM,aAAa,GAAG,UAAG,WAAW,cAAI,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,CAAE,CAAC;IAEtF,IAAM,WAAW,GAAG,QAAQ;QAC1B,CAAC,CAAC,sCAAsC;QACxC,CAAC,CAAC,oGAAoG,CAAC;IAEzG,OAAO,CACL,kBAAQ,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,aACxE,KAAC,eAAe,IACd,IAAI,EAAE,EAAE,EACR,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,YAAY,GAC3D,EACF,eAAM,SAAS,EAAE,WAAW,YAAG,KAAK,CAAC,IAAI,GAAQ,IAC1C,CACV,CAAC;AACJ,CAAC","sourcesContent":["import React from 'react';\nimport { Chain } from '../types';\nimport { MoreChainsGroup } from '../../../components/logos';\n\ninterface MoreButtonProps {\n chain: Chain;\n onClick: (chainId: string) => void;\n disabled?: boolean;\n}\n\nexport function MoreButton({\n chain,\n onClick,\n disabled = false,\n}: MoreButtonProps) {\n const handleClick = () => {\n if (!disabled) {\n onClick(chain.id);\n }\n };\n\n const baseClasses =\n 'flex flex-col items-center justify-center p-6 bg-n1-ww-gray-950 border-2 border-n1-ww-border transition-all duration-200 group rounded-lg';\n const enabledClasses =\n 'hover:border-n1-ww-border hover:bg-n1-ww-gray-900';\n const disabledClasses = 'opacity-50 cursor-not-allowed';\n\n const buttonClasses = `${baseClasses} ${disabled ? disabledClasses : enabledClasses}`;\n\n const textClasses = disabled\n ? 'mt-4 font-medium text-n1-ww-gray-500'\n : 'mt-4 font-medium text-n1-ww-gray-400 group-hover:text-n1-ww-gray-50 transition-colors duration-200';\n\n return (\n <button onClick={handleClick} className={buttonClasses} disabled={disabled}>\n <MoreChainsGroup\n size={32}\n className={disabled ? 'opacity-50 grayscale' : 'opacity-90'}\n />\n <span className={textClasses}>{chain.name}</span>\n </button>\n );\n}\n"]}
@@ -1,13 +0,0 @@
1
- import { TableValues } from '../types';
2
- interface TransactionTableProps {
3
- tableValues: TableValues & {
4
- amount?: {
5
- text: string;
6
- visible: boolean;
7
- typing: boolean;
8
- };
9
- };
10
- onClose?: () => void;
11
- }
12
- export declare function TransactionTable({ tableValues, onClose, }: TransactionTableProps): import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1,83 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { shortenAddress } from '../utils/nordUtils';
3
- import { getExplorerUrl } from '../../../Logic/transactionManager';
4
- export function TransactionTable(_a) {
5
- var tableValues = _a.tableValues, onClose = _a.onClose;
6
- // Friendly labels for the keys
7
- var getLabel = function (key) {
8
- var labels = {
9
- amount: 'Amount',
10
- tx: 'Transaction ID',
11
- from: 'From',
12
- to: 'To',
13
- network: 'Network',
14
- status: 'Status',
15
- };
16
- return labels[key] || key;
17
- };
18
- // Get appropriate color for values based on key
19
- var getValueStyles = function (key, value) {
20
- if (key === 'status') {
21
- if (value.toLowerCase().includes('success') ||
22
- value.toLowerCase().includes('confirmed')) {
23
- return 'text-emerald-500 font-medium';
24
- }
25
- if (value.toLowerCase().includes('pending')) {
26
- return 'text-amber-400 font-medium';
27
- }
28
- if (value.toLowerCase().includes('fail') ||
29
- value.toLowerCase().includes('error')) {
30
- return 'text-red-400 font-medium';
31
- }
32
- }
33
- if (key === 'tx') {
34
- return 'text-n1-ww-gray-200 text-xs font-medium hover:text-n1-ww-main-400 transition-colors duration-200';
35
- }
36
- if (key === 'network') {
37
- return 'text-purple-400 font-medium';
38
- }
39
- if (key === 'from' || key === 'to') {
40
- return 'text-n1-ww-gray-200 text-xs font-medium hover:text-n1-ww-main-400 transition-colors duration-200';
41
- }
42
- if (key === 'amount') {
43
- return 'text-emerald-500 font-semibold';
44
- }
45
- return 'text-n1-ww-gray-50 font-medium';
46
- };
47
- // Format display value with ellipsis for long text
48
- var getDisplayValue = function (key, value) {
49
- if (key === 'tx') {
50
- return shortenAddress(value, 5, 4);
51
- }
52
- if (key === 'from' || key === 'to') {
53
- return shortenAddress(value, 5, 4);
54
- }
55
- return value;
56
- };
57
- // Get explorer URL for transaction ID or address
58
- var getExplorerLink = function (key, value) {
59
- if (key === 'tx') {
60
- return getExplorerUrl(value);
61
- }
62
- if (key === 'from') {
63
- return "https://explorer.solana.com/address/".concat(value, "?cluster=devnet");
64
- }
65
- return '';
66
- };
67
- // Order of fields to display
68
- var fieldOrder = ['amount', 'status', 'network', 'from', 'to', 'tx'];
69
- // Sort entries based on fieldOrder
70
- var sortedEntries = Object.entries(tableValues).sort(function (_a, _b) {
71
- var keyA = _a[0];
72
- var keyB = _b[0];
73
- var indexA = fieldOrder.indexOf(keyA);
74
- var indexB = fieldOrder.indexOf(keyB);
75
- return (indexA === -1 ? 999 : indexA) - (indexB === -1 ? 999 : indexB);
76
- });
77
- return (_jsxs("div", { className: "relative w-full h-full bg-n1-ww-gray-950 border border-n1-ww-border p-5 rounded-sm flex flex-col justify-center", children: [onClose && (_jsx("button", { onClick: onClose, className: "absolute top-3 right-2 text-n1-ww-gray-600 hover:text-n1-ww-gray-300 transition-colors duration-200 focus:outline-none", "aria-label": "Close details", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-5 w-5", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) })), _jsx("div", { className: "space-y-3 text-sm pt-5", children: sortedEntries.map(function (_a) {
78
- var key = _a[0], value = _a[1];
79
- return (_jsxs("div", { className: "flex items-center justify-between py-2 ", children: [_jsx("span", { className: "text-n1-ww-gray-400 font-medium min-w-[120px]", children: getLabel(key) }), _jsxs("div", { className: "relative transition-all duration-300 ".concat(value.visible ? 'opacity-100' : 'opacity-0', " max-w-[65%] text-right flex-1"), children: [(key === 'tx' || key === 'from') &&
80
- getExplorerLink(key, value.text) ? (_jsxs("a", { href: getExplorerLink(key, value.text), target: "_blank", rel: "noopener noreferrer", className: "".concat(getValueStyles(key, value.text), " break-all inline-block group"), title: value.text, children: [_jsx("span", { className: "underline hover:font-bold", children: getDisplayValue(key, value.text) }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-3 w-3 ml-1 inline-block opacity-50 group-hover:opacity-100 transition-opacity duration-200", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" }) })] })) : (_jsx("span", { className: "".concat(getValueStyles(key, value.text), " break-all inline-block"), title: value.text, children: value.text })), value.typing && (_jsx("span", { className: "inline-block ml-1 w-[2px] h-[14px] bg-n1-ww-main-400 n1-ww-animate-pulse" }))] })] }, key));
81
- }) })] }));
82
- }
83
- //# sourceMappingURL=TransactionTable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TransactionTable.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/components/TransactionTable.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AASnE,MAAM,UAAU,gBAAgB,CAAC,EAGT;QAFtB,WAAW,iBAAA,EACX,OAAO,aAAA;IAEP,+BAA+B;IAC/B,IAAM,QAAQ,GAAG,UAAC,GAAW;QAC3B,IAAM,MAAM,GAA2B;YACrC,MAAM,EAAE,QAAQ;YAChB,EAAE,EAAE,gBAAgB;YACpB,IAAI,EAAE,MAAM;YACZ,EAAE,EAAE,IAAI;YACR,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;QAEF,OAAO,MAAM,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC;IAC5B,CAAC,CAAC;IAEF,gDAAgD;IAChD,IAAM,cAAc,GAAG,UAAC,GAA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AE,UAAG,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,4BAAyB,EACtE,KAAK,EAAE,KAAK,CAAC,IAAI,YAEhB,KAAK,CAAC,IAAI,GACN,CACR,EACA,KAAK,CAAC,MAAM,IAAI,CACf,eAAM,SAAS,EAAC,0EAA0E,GAAQ,CACnG,IACG,KA7CE,GAAG,CA8CP,CACP;gBAhDoC,CAgDpC,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { TableValues } from '../types';\nimport { shortenAddress } from '../utils/nordUtils';\nimport { getExplorerUrl } from '../../../Logic/transactionManager';\n\ninterface TransactionTableProps {\n tableValues: TableValues & {\n amount?: { text: string; visible: boolean; typing: boolean };\n };\n onClose?: () => void;\n}\n\nexport function TransactionTable({\n tableValues,\n onClose,\n}: TransactionTableProps) {\n // Friendly labels for the keys\n const getLabel = (key: string) => {\n const labels: Record<string, string> = {\n amount: 'Amount',\n tx: 'Transaction ID',\n from: 'From',\n to: 'To',\n network: 'Network',\n status: 'Status',\n };\n\n return labels[key] || key;\n };\n\n // Get appropriate color for values based on key\n const getValueStyles = (key: string, value: string) => {\n if (key === 'status') {\n if (\n value.toLowerCase().includes('success') ||\n value.toLowerCase().includes('confirmed')\n ) {\n return 'text-emerald-500 font-medium';\n }\n if (value.toLowerCase().includes('pending')) {\n return 'text-amber-400 font-medium';\n }\n if (\n value.toLowerCase().includes('fail') ||\n value.toLowerCase().includes('error')\n ) {\n return 'text-red-400 font-medium';\n }\n }\n\n if (key === 'tx') {\n return 'text-n1-ww-gray-200 text-xs font-medium hover:text-n1-ww-main-400 transition-colors duration-200';\n }\n\n if (key === 'network') {\n return 'text-purple-400 font-medium';\n }\n\n if (key === 'from' || key === 'to') {\n return 'text-n1-ww-gray-200 text-xs font-medium hover:text-n1-ww-main-400 transition-colors duration-200';\n }\n\n if (key === 'amount') {\n return 'text-emerald-500 font-semibold';\n }\n\n return 'text-n1-ww-gray-50 font-medium';\n };\n\n // Format display value with ellipsis for long text\n const getDisplayValue = (key: string, value: string) => {\n if (key === 'tx') {\n return shortenAddress(value, 5, 4);\n }\n\n if (key === 'from' || key === 'to') {\n return shortenAddress(value, 5, 4);\n }\n\n return value;\n };\n\n // Get explorer URL for transaction ID or address\n const getExplorerLink = (key: string, value: string) => {\n\n if (key === 'tx') {\n return getExplorerUrl(value);\n }\n\n if (key === 'from') {\n return `https://explorer.solana.com/address/${value}?cluster=devnet`;\n }\n\n return '';\n };\n\n // Order of fields to display\n const fieldOrder = ['amount', 'status', 'network', 'from', 'to', 'tx'];\n\n // Sort entries based on fieldOrder\n const sortedEntries = Object.entries(tableValues).sort(([keyA], [keyB]) => {\n const indexA = fieldOrder.indexOf(keyA);\n const indexB = fieldOrder.indexOf(keyB);\n return (indexA === -1 ? 999 : indexA) - (indexB === -1 ? 999 : indexB);\n });\n\n return (\n <div className=\"relative w-full h-full bg-n1-ww-gray-950 border border-n1-ww-border p-5 rounded-sm flex flex-col justify-center\">\n {onClose && (\n <button\n onClick={onClose}\n className=\"absolute top-3 right-2 text-n1-ww-gray-600 hover:text-n1-ww-gray-300 transition-colors duration-200 focus:outline-none\"\n aria-label=\"Close details\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"h-5 w-5\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n stroke=\"currentColor\"\n >\n <path\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth={2}\n d=\"M6 18L18 6M6 6l12 12\"\n />\n </svg>\n </button>\n )}\n <div className=\"space-y-3 text-sm pt-5\">\n {sortedEntries.map(([key, value]) => (\n <div key={key} className=\"flex items-center justify-between py-2 \">\n <span className=\"text-n1-ww-gray-400 font-medium min-w-[120px]\">\n {getLabel(key)}\n </span>\n <div\n className={`relative transition-all duration-300 ${value.visible ? 'opacity-100' : 'opacity-0'} max-w-[65%] text-right flex-1`}\n >\n {(key === 'tx' || key === 'from') &&\n getExplorerLink(key, value.text) ? (\n <a\n href={getExplorerLink(key, value.text)}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className={`${getValueStyles(key, value.text)} break-all inline-block group`}\n title={value.text}\n >\n <span className=\"underline hover:font-bold\">\n {getDisplayValue(key, value.text)}\n </span>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"h-3 w-3 ml-1 inline-block opacity-50 group-hover:opacity-100 transition-opacity duration-200\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n stroke=\"currentColor\"\n >\n <path\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth={2}\n d=\"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14\"\n />\n </svg>\n </a>\n ) : (\n <span\n className={`${getValueStyles(key, value.text)} break-all inline-block`}\n title={value.text}\n >\n {value.text}\n </span>\n )}\n {value.typing && (\n <span className=\"inline-block ml-1 w-[2px] h-[14px] bg-n1-ww-main-400 n1-ww-animate-pulse\"></span>\n )}\n </div>\n </div>\n ))}\n </div>\n </div>\n );\n}\n"]}
@@ -1,8 +0,0 @@
1
- import { WaitingMessageState } from '../types';
2
- interface WaitingMessageProps {
3
- message: WaitingMessageState;
4
- loaderSize?: number;
5
- animation?: 'loader' | 'transfer';
6
- }
7
- export declare function WaitingMessage({ message, loaderSize, animation, }: WaitingMessageProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,17 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { N1LoaderAnimation } from '../../../animations/N1Loader';
3
- import { SolanaLogo, ZeroOneLogo } from '../../../components/logos';
4
- import Logo from '../../../components/Logo';
5
- export function WaitingMessage(_a) {
6
- var message = _a.message, _b = _a.loaderSize, loaderSize = _b === void 0 ? 48 : _b, _c = _a.animation, animation = _c === void 0 ? 'loader' : _c;
7
- return (_jsxs("div", { className: "flex flex-col items-center justify-center", children: [animation === 'loader' ? (_jsx(N1LoaderAnimation, { size: loaderSize })) : (_jsx(TransferWaveAnimation, {})), _jsxs("div", { className: "text-center w-[300px] my-4", children: [_jsx("h3", { className: "text-sm text-white transition-all duration-300 h-[32px] flex items-center justify-center relative", children: _jsx("div", { className: "absolute", children: message.visible && message.title }) }), _jsx("div", { className: "text-xs flex items-center justify-center relative mt-2 font-light", children: _jsx("div", { className: "absolute", children: message.visible && message.subtitle }) })] })] }));
8
- }
9
- var DOT_INDICES = Array.from({ length: 7 }, function (_, index) { return index; });
10
- var TransferDots = function () { return (_jsx("div", { className: "flex items-center gap-[3px]", children: DOT_INDICES.map(function (index) { return (_jsx("span", { className: "n1-ww-animate-transfer-dot n1-ww-force-motion rounded-full bg-n1-ww-main/90", style: {
11
- width: '2.5px',
12
- height: '2.5px',
13
- animationDelay: "".concat(index * 0.12, "s"),
14
- animationDuration: '1.6s',
15
- }, "aria-hidden": "true" }, "wave-dot-".concat(index))); }) })); };
16
- var TransferWaveAnimation = function () { return (_jsx("div", { className: "flex w-full items-center justify-center", "aria-label": "Solana deposit moving into N1 and 01", children: _jsxs("div", { className: "flex items-center gap-2", children: [_jsx("div", { className: "relative h-7 w-7 rounded-full bg-gradient-to-br from-black via-neutral-900 to-neutral-800 p-px shadow-[0_12px_30px_rgba(0,0,0,0.6)]", children: _jsx("div", { className: "flex h-full w-full items-center justify-center rounded-full bg-black text-white", children: _jsx(SolanaLogo, { width: 14, height: 14 }) }) }), _jsx(TransferDots, {}), _jsx("div", { className: "relative h-7 w-7 rounded-full bg-n1-ww-gray-800/70 p-px shadow-[0_12px_30px_rgba(0,0,0,0.6)]", children: _jsx("div", { className: "flex h-full w-full items-center justify-center rounded-full bg-[#1b1b1b]", children: _jsx(Logo, { size: 12, className: "text-n1-ww-main/90" }) }) }), _jsx(TransferDots, {}), _jsx("div", { className: "relative h-7 w-7 rounded-full bg-n1-ww-gray-800/70 p-px shadow-[0_12px_30px_rgba(0,0,0,0.6)]", children: _jsx("div", { className: "flex h-full w-full items-center justify-center rounded-full bg-[#1b1b1b]", children: _jsx(ZeroOneLogo, { width: 14, height: 11 }) }) })] }) })); };
17
- //# sourceMappingURL=WaitingMessage.js.map