@ton/appkit-react 0.0.1-alpha.2 → 0.0.2

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 (397) hide show
  1. package/README.md +211 -1
  2. package/dist/esm/components/block/block.js +7 -0
  3. package/dist/esm/components/block/block.js.map +1 -0
  4. package/dist/esm/components/block/block.module.css +13 -0
  5. package/dist/esm/components/block/block.stories.js +27 -0
  6. package/dist/esm/components/block/block.stories.js.map +1 -0
  7. package/dist/esm/components/block/index.js +9 -0
  8. package/dist/esm/components/block/index.js.map +1 -0
  9. package/dist/esm/components/button/button.js +7 -0
  10. package/dist/esm/components/button/button.js.map +1 -0
  11. package/dist/esm/components/button/button.module.css +38 -0
  12. package/dist/esm/components/button/button.stories.js +30 -0
  13. package/dist/esm/components/button/button.stories.js.map +1 -0
  14. package/dist/esm/components/button/index.js +9 -0
  15. package/dist/esm/components/button/index.js.map +1 -0
  16. package/dist/esm/components/circle-icon/circle-icon.js +8 -0
  17. package/dist/esm/components/circle-icon/circle-icon.js.map +1 -0
  18. package/dist/esm/components/circle-icon/circle-icon.module.css +32 -0
  19. package/dist/esm/components/circle-icon/circle-icon.stories.js +56 -0
  20. package/dist/esm/components/circle-icon/circle-icon.stories.js.map +1 -0
  21. package/dist/esm/components/circle-icon/index.js +9 -0
  22. package/dist/esm/components/circle-icon/index.js.map +1 -0
  23. package/dist/esm/components/ton-icon/index.js +9 -0
  24. package/dist/esm/components/ton-icon/index.js.map +1 -0
  25. package/dist/esm/components/ton-icon/ton-icon.js +8 -0
  26. package/dist/esm/components/ton-icon/ton-icon.js.map +1 -0
  27. package/dist/esm/components/ton-icon/ton-icon.stories.js +56 -0
  28. package/dist/esm/components/ton-icon/ton-icon.stories.js.map +1 -0
  29. package/dist/esm/features/balances/components/balance-badge/balance-badge.js +33 -0
  30. package/dist/esm/features/balances/components/balance-badge/balance-badge.js.map +1 -0
  31. package/dist/esm/features/balances/components/balance-badge/balance-badge.module.css +21 -0
  32. package/dist/esm/features/balances/components/balance-badge/balance-badge.stories.js +23 -0
  33. package/dist/esm/features/balances/components/balance-badge/balance-badge.stories.js.map +1 -0
  34. package/dist/esm/features/balances/components/balance-badge/index.js +9 -0
  35. package/dist/esm/features/balances/components/balance-badge/index.js.map +1 -0
  36. package/dist/esm/features/balances/components/currency-item/currency-item.js +8 -0
  37. package/dist/esm/features/balances/components/currency-item/currency-item.js.map +1 -0
  38. package/dist/esm/features/balances/components/currency-item/currency-item.module.css +80 -0
  39. package/dist/esm/features/balances/components/currency-item/currency-item.stories.js +61 -0
  40. package/dist/esm/features/balances/components/currency-item/currency-item.stories.js.map +1 -0
  41. package/dist/esm/features/balances/components/currency-item/index.js +9 -0
  42. package/dist/esm/features/balances/components/currency-item/index.js.map +1 -0
  43. package/dist/esm/features/balances/components/send-jetton-button/index.js +9 -0
  44. package/dist/esm/features/balances/components/send-jetton-button/index.js.map +1 -0
  45. package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.js +43 -0
  46. package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.js.map +1 -0
  47. package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.stories.js +41 -0
  48. package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.stories.js.map +1 -0
  49. package/dist/esm/features/balances/components/send-ton-button/index.js +9 -0
  50. package/dist/esm/features/balances/components/send-ton-button/index.js.map +1 -0
  51. package/dist/esm/features/balances/components/send-ton-button/send-ton-button.js +26 -0
  52. package/dist/esm/features/balances/components/send-ton-button/send-ton-button.js.map +1 -0
  53. package/dist/esm/features/balances/components/send-ton-button/send-ton-button.stories.js +36 -0
  54. package/dist/esm/features/balances/components/send-ton-button/send-ton-button.stories.js.map +1 -0
  55. package/dist/esm/features/balances/hooks/use-balance-by-address.js +18 -0
  56. package/dist/esm/features/balances/hooks/use-balance-by-address.js.map +1 -0
  57. package/dist/esm/features/balances/hooks/use-balance.js +17 -0
  58. package/dist/esm/features/balances/hooks/use-balance.js.map +1 -0
  59. package/dist/esm/features/balances/index.js +14 -0
  60. package/dist/esm/features/balances/index.js.map +1 -0
  61. package/dist/esm/features/jettons/hooks/use-jetton-balance-by-address.js +18 -0
  62. package/dist/esm/features/jettons/hooks/use-jetton-balance-by-address.js.map +1 -0
  63. package/dist/esm/features/jettons/hooks/use-jetton-info.js +18 -0
  64. package/dist/esm/features/jettons/hooks/use-jetton-info.js.map +1 -0
  65. package/dist/esm/features/jettons/hooks/use-jetton-wallet-address.js +18 -0
  66. package/dist/esm/features/jettons/hooks/use-jetton-wallet-address.js.map +1 -0
  67. package/dist/esm/features/jettons/hooks/use-jettons-by-address.js +18 -0
  68. package/dist/esm/features/jettons/hooks/use-jettons-by-address.js.map +1 -0
  69. package/dist/esm/features/jettons/hooks/use-jettons.js +17 -0
  70. package/dist/esm/features/jettons/hooks/use-jettons.js.map +1 -0
  71. package/dist/esm/features/jettons/hooks/use-transfer-jetton.js +16 -0
  72. package/dist/esm/features/jettons/hooks/use-transfer-jetton.js.map +1 -0
  73. package/dist/esm/features/jettons/index.js +14 -0
  74. package/dist/esm/features/jettons/index.js.map +1 -0
  75. package/dist/esm/features/network/hooks/use-network.js +17 -0
  76. package/dist/esm/features/network/hooks/use-network.js.map +1 -0
  77. package/dist/esm/features/network/hooks/use-networks.js +24 -0
  78. package/dist/esm/features/network/hooks/use-networks.js.map +1 -0
  79. package/dist/esm/features/network/index.js +11 -0
  80. package/dist/esm/features/network/index.js.map +1 -0
  81. package/dist/esm/features/nft/components/nft-item/index.js +9 -0
  82. package/dist/esm/features/nft/components/nft-item/index.js.map +1 -0
  83. package/dist/esm/features/nft/components/nft-item/nft-item.js +15 -0
  84. package/dist/esm/features/nft/components/nft-item/nft-item.js.map +1 -0
  85. package/dist/esm/features/nft/components/nft-item/nft-item.module.css +74 -0
  86. package/dist/esm/features/nft/components/nft-item/nft-item.stories.js +52 -0
  87. package/dist/esm/features/nft/components/nft-item/nft-item.stories.js.map +1 -0
  88. package/dist/esm/features/nft/hooks/use-nft.js +18 -0
  89. package/dist/esm/features/nft/hooks/use-nft.js.map +1 -0
  90. package/dist/esm/features/nft/hooks/use-nfts-by-address.js +18 -0
  91. package/dist/esm/features/nft/hooks/use-nfts-by-address.js.map +1 -0
  92. package/dist/esm/features/nft/hooks/use-nfts.js +17 -0
  93. package/dist/esm/features/nft/hooks/use-nfts.js.map +1 -0
  94. package/dist/esm/features/nft/hooks/use-transfer-nft.js +16 -0
  95. package/dist/esm/features/nft/hooks/use-transfer-nft.js.map +1 -0
  96. package/dist/esm/features/nft/index.js +13 -0
  97. package/dist/esm/features/nft/index.js.map +1 -0
  98. package/dist/esm/features/signing/hooks/use-sign-binary.js +27 -0
  99. package/dist/esm/features/signing/hooks/use-sign-binary.js.map +1 -0
  100. package/dist/esm/features/signing/hooks/use-sign-cell.js +28 -0
  101. package/dist/esm/features/signing/hooks/use-sign-cell.js.map +1 -0
  102. package/dist/esm/features/signing/hooks/use-sign-text.js +27 -0
  103. package/dist/esm/features/signing/hooks/use-sign-text.js.map +1 -0
  104. package/dist/esm/features/signing/index.js +11 -0
  105. package/dist/esm/features/signing/index.js.map +1 -0
  106. package/dist/esm/features/swap/hooks/use-build-swap-transaction.js +16 -0
  107. package/dist/esm/features/swap/hooks/use-build-swap-transaction.js.map +1 -0
  108. package/dist/esm/features/swap/hooks/use-swap-quote.js +16 -0
  109. package/dist/esm/features/swap/hooks/use-swap-quote.js.map +1 -0
  110. package/dist/esm/features/swap/index.js +10 -0
  111. package/dist/esm/features/swap/index.js.map +1 -0
  112. package/dist/esm/features/transaction/components/transaction/index.js +9 -0
  113. package/dist/esm/features/transaction/components/transaction/index.js.map +1 -0
  114. package/dist/esm/features/transaction/components/transaction/transaction.js +41 -0
  115. package/dist/esm/features/transaction/components/transaction/transaction.js.map +1 -0
  116. package/dist/esm/features/transaction/components/transaction/transaction.stories.js +47 -0
  117. package/dist/esm/features/transaction/components/transaction/transaction.stories.js.map +1 -0
  118. package/dist/esm/features/transaction/components/transaction-provider/index.js +9 -0
  119. package/dist/esm/features/transaction/components/transaction-provider/index.js.map +1 -0
  120. package/dist/esm/features/transaction/components/transaction-provider/transaction-provider.js +64 -0
  121. package/dist/esm/features/transaction/components/transaction-provider/transaction-provider.js.map +1 -0
  122. package/dist/esm/features/transaction/hooks/use-send-transaction.js +16 -0
  123. package/dist/esm/features/transaction/hooks/use-send-transaction.js.map +1 -0
  124. package/dist/esm/features/transaction/hooks/use-transfer-ton.js +16 -0
  125. package/dist/esm/features/transaction/hooks/use-transfer-ton.js.map +1 -0
  126. package/dist/esm/features/transaction/index.js +11 -0
  127. package/dist/esm/features/transaction/index.js.map +1 -0
  128. package/dist/esm/features/wallets/components/connect-button/index.js +9 -0
  129. package/dist/esm/features/wallets/components/connect-button/index.js.map +1 -0
  130. package/dist/esm/features/wallets/hooks/use-address.js +17 -0
  131. package/dist/esm/features/wallets/hooks/use-address.js.map +1 -0
  132. package/dist/esm/features/wallets/hooks/use-connect.js +15 -0
  133. package/dist/esm/features/wallets/hooks/use-connect.js.map +1 -0
  134. package/dist/esm/features/wallets/hooks/use-connected-wallets.js +21 -0
  135. package/dist/esm/features/wallets/hooks/use-connected-wallets.js.map +1 -0
  136. package/dist/esm/features/wallets/hooks/use-connector-by-id.js +21 -0
  137. package/dist/esm/features/wallets/hooks/use-connector-by-id.js.map +1 -0
  138. package/dist/esm/features/wallets/hooks/use-connectors.js +21 -0
  139. package/dist/esm/features/wallets/hooks/use-connectors.js.map +1 -0
  140. package/dist/esm/features/wallets/hooks/use-disconnect.js +16 -0
  141. package/dist/esm/features/wallets/hooks/use-disconnect.js.map +1 -0
  142. package/dist/esm/features/wallets/hooks/use-selected-wallet.js +28 -0
  143. package/dist/esm/features/wallets/hooks/use-selected-wallet.js.map +1 -0
  144. package/dist/esm/features/wallets/index.js +16 -0
  145. package/dist/esm/features/wallets/index.js.map +1 -0
  146. package/dist/esm/hooks/use-app-kit-theme.js +17 -0
  147. package/dist/esm/hooks/use-app-kit-theme.js.map +1 -0
  148. package/dist/esm/hooks/use-app-kit.js +17 -0
  149. package/dist/esm/hooks/use-app-kit.js.map +1 -0
  150. package/dist/esm/hooks/use-i18n.js +17 -0
  151. package/dist/esm/hooks/use-i18n.js.map +1 -0
  152. package/dist/esm/index.js +26 -0
  153. package/dist/esm/index.js.map +1 -0
  154. package/dist/esm/libs/i18n.js +14 -0
  155. package/dist/esm/libs/i18n.js.map +1 -0
  156. package/dist/esm/libs/query.js +18 -0
  157. package/dist/esm/libs/query.js.map +1 -0
  158. package/dist/esm/locales/en.js +32 -0
  159. package/dist/esm/locales/en.js.map +1 -0
  160. package/dist/esm/providers/app-kit-provider.js +9 -0
  161. package/dist/esm/providers/app-kit-provider.js.map +1 -0
  162. package/dist/esm/providers/i18n-provider.js +51 -0
  163. package/dist/esm/providers/i18n-provider.js.map +1 -0
  164. package/dist/esm/styles/index.css +88 -0
  165. package/dist/esm/styles/typography.module.css +92 -0
  166. package/dist/esm/tonconnect/tonconnect-bridge.js +27 -0
  167. package/dist/esm/tonconnect/tonconnect-bridge.js.map +1 -0
  168. package/dist/esm/tsconfig.build.tsbuildinfo +1 -0
  169. package/dist/types/components/block/block.d.ts +13 -0
  170. package/dist/types/components/block/block.d.ts.map +1 -0
  171. package/dist/types/components/block/block.stories.d.ts +15 -0
  172. package/dist/types/components/block/block.stories.d.ts.map +1 -0
  173. package/dist/types/components/block/index.d.ts +9 -0
  174. package/dist/types/components/block/index.d.ts.map +1 -0
  175. package/dist/types/components/button/button.d.ts +10 -0
  176. package/dist/types/components/button/button.d.ts.map +1 -0
  177. package/dist/types/components/button/button.stories.d.ts +16 -0
  178. package/dist/types/components/button/button.stories.d.ts.map +1 -0
  179. package/dist/types/components/button/index.d.ts +9 -0
  180. package/dist/types/components/button/index.d.ts.map +1 -0
  181. package/dist/types/components/circle-icon/circle-icon.d.ts +16 -0
  182. package/dist/types/components/circle-icon/circle-icon.d.ts.map +1 -0
  183. package/dist/types/components/circle-icon/circle-icon.stories.d.ts +18 -0
  184. package/dist/types/components/circle-icon/circle-icon.stories.d.ts.map +1 -0
  185. package/dist/types/components/circle-icon/index.d.ts +9 -0
  186. package/dist/types/components/circle-icon/index.d.ts.map +1 -0
  187. package/dist/types/components/ton-icon/index.d.ts +9 -0
  188. package/dist/types/components/ton-icon/index.d.ts.map +1 -0
  189. package/dist/types/components/ton-icon/ton-icon.d.ts +14 -0
  190. package/dist/types/components/ton-icon/ton-icon.d.ts.map +1 -0
  191. package/dist/types/components/ton-icon/ton-icon.stories.d.ts +20 -0
  192. package/dist/types/components/ton-icon/ton-icon.stories.d.ts.map +1 -0
  193. package/dist/types/features/balances/components/balance-badge/balance-badge.d.ts +21 -0
  194. package/dist/types/features/balances/components/balance-badge/balance-badge.d.ts.map +1 -0
  195. package/dist/types/features/balances/components/balance-badge/balance-badge.stories.d.ts +16 -0
  196. package/dist/types/features/balances/components/balance-badge/balance-badge.stories.d.ts.map +1 -0
  197. package/dist/types/features/balances/components/balance-badge/index.d.ts +9 -0
  198. package/dist/types/features/balances/components/balance-badge/index.d.ts.map +1 -0
  199. package/dist/types/features/balances/components/currency-item/currency-item.d.ts +17 -0
  200. package/dist/types/features/balances/components/currency-item/currency-item.d.ts.map +1 -0
  201. package/dist/types/features/balances/components/currency-item/currency-item.stories.d.ts +19 -0
  202. package/dist/types/features/balances/components/currency-item/currency-item.stories.d.ts.map +1 -0
  203. package/dist/types/features/balances/components/currency-item/index.d.ts +9 -0
  204. package/dist/types/features/balances/components/currency-item/index.d.ts.map +1 -0
  205. package/dist/types/features/balances/components/send-jetton-button/index.d.ts +9 -0
  206. package/dist/types/features/balances/components/send-jetton-button/index.d.ts.map +1 -0
  207. package/dist/types/features/balances/components/send-jetton-button/send-jetton-button.d.ts +21 -0
  208. package/dist/types/features/balances/components/send-jetton-button/send-jetton-button.d.ts.map +1 -0
  209. package/dist/types/features/balances/components/send-jetton-button/send-jetton-button.stories.d.ts +22 -0
  210. package/dist/types/features/balances/components/send-jetton-button/send-jetton-button.stories.d.ts.map +1 -0
  211. package/dist/types/features/balances/components/send-ton-button/index.d.ts +9 -0
  212. package/dist/types/features/balances/components/send-ton-button/index.d.ts.map +1 -0
  213. package/dist/types/features/balances/components/send-ton-button/send-ton-button.d.ts +16 -0
  214. package/dist/types/features/balances/components/send-ton-button/send-ton-button.d.ts.map +1 -0
  215. package/dist/types/features/balances/components/send-ton-button/send-ton-button.stories.d.ts +21 -0
  216. package/dist/types/features/balances/components/send-ton-button/send-ton-button.stories.d.ts.map +1 -0
  217. package/dist/types/features/balances/hooks/use-balance-by-address.d.ts +16 -0
  218. package/dist/types/features/balances/hooks/use-balance-by-address.d.ts.map +1 -0
  219. package/dist/types/features/balances/hooks/use-balance.d.ts +16 -0
  220. package/dist/types/features/balances/hooks/use-balance.d.ts.map +1 -0
  221. package/dist/types/features/balances/index.d.ts +14 -0
  222. package/dist/types/features/balances/index.d.ts.map +1 -0
  223. package/dist/types/features/jettons/hooks/use-jetton-balance-by-address.d.ts +16 -0
  224. package/dist/types/features/jettons/hooks/use-jetton-balance-by-address.d.ts.map +1 -0
  225. package/dist/types/features/jettons/hooks/use-jetton-info.d.ts +16 -0
  226. package/dist/types/features/jettons/hooks/use-jetton-info.d.ts.map +1 -0
  227. package/dist/types/features/jettons/hooks/use-jetton-wallet-address.d.ts +16 -0
  228. package/dist/types/features/jettons/hooks/use-jetton-wallet-address.d.ts.map +1 -0
  229. package/dist/types/features/jettons/hooks/use-jettons-by-address.d.ts +16 -0
  230. package/dist/types/features/jettons/hooks/use-jettons-by-address.d.ts.map +1 -0
  231. package/dist/types/features/jettons/hooks/use-jettons.d.ts +16 -0
  232. package/dist/types/features/jettons/hooks/use-jettons.d.ts.map +1 -0
  233. package/dist/types/features/jettons/hooks/use-transfer-jetton.d.ts +14 -0
  234. package/dist/types/features/jettons/hooks/use-transfer-jetton.d.ts.map +1 -0
  235. package/dist/types/features/jettons/index.d.ts +14 -0
  236. package/dist/types/features/jettons/index.d.ts.map +1 -0
  237. package/dist/types/features/network/hooks/use-network.d.ts +14 -0
  238. package/dist/types/features/network/hooks/use-network.d.ts.map +1 -0
  239. package/dist/types/features/network/hooks/use-networks.d.ts +14 -0
  240. package/dist/types/features/network/hooks/use-networks.d.ts.map +1 -0
  241. package/dist/types/features/network/index.d.ts +10 -0
  242. package/dist/types/features/network/index.d.ts.map +1 -0
  243. package/dist/types/features/nft/components/nft-item/index.d.ts +9 -0
  244. package/dist/types/features/nft/components/nft-item/index.d.ts.map +1 -0
  245. package/dist/types/features/nft/components/nft-item/nft-item.d.ts +14 -0
  246. package/dist/types/features/nft/components/nft-item/nft-item.d.ts.map +1 -0
  247. package/dist/types/features/nft/components/nft-item/nft-item.stories.d.ts +25 -0
  248. package/dist/types/features/nft/components/nft-item/nft-item.stories.d.ts.map +1 -0
  249. package/dist/types/features/nft/hooks/use-nft.d.ts +16 -0
  250. package/dist/types/features/nft/hooks/use-nft.d.ts.map +1 -0
  251. package/dist/types/features/nft/hooks/use-nfts-by-address.d.ts +16 -0
  252. package/dist/types/features/nft/hooks/use-nfts-by-address.d.ts.map +1 -0
  253. package/dist/types/features/nft/hooks/use-nfts.d.ts +16 -0
  254. package/dist/types/features/nft/hooks/use-nfts.d.ts.map +1 -0
  255. package/dist/types/features/nft/hooks/use-transfer-nft.d.ts +14 -0
  256. package/dist/types/features/nft/hooks/use-transfer-nft.d.ts.map +1 -0
  257. package/dist/types/features/nft/index.d.ts +13 -0
  258. package/dist/types/features/nft/index.d.ts.map +1 -0
  259. package/dist/types/features/signing/hooks/use-sign-binary.d.ts +25 -0
  260. package/dist/types/features/signing/hooks/use-sign-binary.d.ts.map +1 -0
  261. package/dist/types/features/signing/hooks/use-sign-cell.d.ts +26 -0
  262. package/dist/types/features/signing/hooks/use-sign-cell.d.ts.map +1 -0
  263. package/dist/types/features/signing/hooks/use-sign-text.d.ts +25 -0
  264. package/dist/types/features/signing/hooks/use-sign-text.d.ts.map +1 -0
  265. package/dist/types/features/signing/index.d.ts +11 -0
  266. package/dist/types/features/signing/index.d.ts.map +1 -0
  267. package/dist/types/features/swap/hooks/use-build-swap-transaction.d.ts +13 -0
  268. package/dist/types/features/swap/hooks/use-build-swap-transaction.d.ts.map +1 -0
  269. package/dist/types/features/swap/hooks/use-swap-quote.d.ts +13 -0
  270. package/dist/types/features/swap/hooks/use-swap-quote.d.ts.map +1 -0
  271. package/dist/types/features/swap/index.d.ts +10 -0
  272. package/dist/types/features/swap/index.d.ts.map +1 -0
  273. package/dist/types/features/transaction/components/transaction/index.d.ts +10 -0
  274. package/dist/types/features/transaction/components/transaction/index.d.ts.map +1 -0
  275. package/dist/types/features/transaction/components/transaction/transaction.d.ts +30 -0
  276. package/dist/types/features/transaction/components/transaction/transaction.d.ts.map +1 -0
  277. package/dist/types/features/transaction/components/transaction/transaction.stories.d.ts +23 -0
  278. package/dist/types/features/transaction/components/transaction/transaction.stories.d.ts.map +1 -0
  279. package/dist/types/features/transaction/components/transaction-provider/index.d.ts +10 -0
  280. package/dist/types/features/transaction/components/transaction-provider/index.d.ts.map +1 -0
  281. package/dist/types/features/transaction/components/transaction-provider/transaction-provider.d.ts +36 -0
  282. package/dist/types/features/transaction/components/transaction-provider/transaction-provider.d.ts.map +1 -0
  283. package/dist/types/features/transaction/hooks/use-send-transaction.d.ts +14 -0
  284. package/dist/types/features/transaction/hooks/use-send-transaction.d.ts.map +1 -0
  285. package/dist/types/features/transaction/hooks/use-transfer-ton.d.ts +14 -0
  286. package/dist/types/features/transaction/hooks/use-transfer-ton.d.ts.map +1 -0
  287. package/dist/types/features/transaction/index.d.ts +11 -0
  288. package/dist/types/features/transaction/index.d.ts.map +1 -0
  289. package/dist/types/features/wallets/components/connect-button/index.d.ts +9 -0
  290. package/dist/types/features/wallets/components/connect-button/index.d.ts.map +1 -0
  291. package/dist/types/features/wallets/hooks/use-address.d.ts +13 -0
  292. package/dist/types/features/wallets/hooks/use-address.d.ts.map +1 -0
  293. package/dist/types/features/wallets/hooks/use-connect.d.ts +14 -0
  294. package/dist/types/features/wallets/hooks/use-connect.d.ts.map +1 -0
  295. package/dist/types/features/wallets/hooks/use-connected-wallets.d.ts +11 -0
  296. package/dist/types/features/wallets/hooks/use-connected-wallets.d.ts.map +1 -0
  297. package/dist/types/features/wallets/hooks/use-connector-by-id.d.ts +10 -0
  298. package/dist/types/features/wallets/hooks/use-connector-by-id.d.ts.map +1 -0
  299. package/dist/types/features/wallets/hooks/use-connectors.d.ts +11 -0
  300. package/dist/types/features/wallets/hooks/use-connectors.d.ts.map +1 -0
  301. package/dist/types/features/wallets/hooks/use-disconnect.d.ts +14 -0
  302. package/dist/types/features/wallets/hooks/use-disconnect.d.ts.map +1 -0
  303. package/dist/types/features/wallets/hooks/use-selected-wallet.d.ts +14 -0
  304. package/dist/types/features/wallets/hooks/use-selected-wallet.d.ts.map +1 -0
  305. package/dist/types/features/wallets/index.d.ts +16 -0
  306. package/dist/types/features/wallets/index.d.ts.map +1 -0
  307. package/dist/types/hooks/use-app-kit-theme.d.ts +10 -0
  308. package/dist/types/hooks/use-app-kit-theme.d.ts.map +1 -0
  309. package/dist/types/hooks/use-app-kit.d.ts +9 -0
  310. package/dist/types/hooks/use-app-kit.d.ts.map +1 -0
  311. package/dist/types/hooks/use-i18n.d.ts +9 -0
  312. package/dist/types/hooks/use-i18n.d.ts.map +1 -0
  313. package/dist/types/index.d.ts +26 -0
  314. package/dist/types/index.d.ts.map +1 -0
  315. package/dist/types/libs/i18n.d.ts +34 -0
  316. package/dist/types/libs/i18n.d.ts.map +1 -0
  317. package/dist/types/libs/query.d.ts +26 -0
  318. package/dist/types/libs/query.d.ts.map +1 -0
  319. package/dist/types/locales/en.d.ts +29 -0
  320. package/dist/types/locales/en.d.ts.map +1 -0
  321. package/dist/types/providers/app-kit-provider.d.ts +15 -0
  322. package/dist/types/providers/app-kit-provider.d.ts.map +1 -0
  323. package/dist/types/providers/i18n-provider.d.ts +22 -0
  324. package/dist/types/providers/i18n-provider.d.ts.map +1 -0
  325. package/dist/types/tonconnect/tonconnect-bridge.d.ts +19 -0
  326. package/dist/types/tonconnect/tonconnect-bridge.d.ts.map +1 -0
  327. package/package.json +70 -7
  328. package/src/components/block/block.tsx +20 -0
  329. package/src/components/block/index.ts +9 -0
  330. package/src/components/button/button.tsx +16 -0
  331. package/src/components/button/index.ts +9 -0
  332. package/src/components/circle-icon/circle-icon.tsx +34 -0
  333. package/src/components/circle-icon/index.ts +9 -0
  334. package/src/components/ton-icon/index.ts +9 -0
  335. package/src/components/ton-icon/ton-icon.tsx +46 -0
  336. package/src/features/balances/components/balance-badge/balance-badge.tsx +47 -0
  337. package/src/features/balances/components/balance-badge/index.ts +9 -0
  338. package/src/features/balances/components/currency-item/currency-item.tsx +59 -0
  339. package/src/features/balances/components/currency-item/index.ts +9 -0
  340. package/src/features/balances/components/send-jetton-button/index.ts +9 -0
  341. package/src/features/balances/components/send-jetton-button/send-jetton-button.tsx +76 -0
  342. package/src/features/balances/components/send-ton-button/index.ts +9 -0
  343. package/src/features/balances/components/send-ton-button/send-ton-button.tsx +44 -0
  344. package/src/features/balances/hooks/use-balance-by-address.ts +33 -0
  345. package/src/features/balances/hooks/use-balance.ts +28 -0
  346. package/src/features/balances/index.ts +15 -0
  347. package/src/features/jettons/hooks/use-jetton-balance-by-address.ts +37 -0
  348. package/src/features/jettons/hooks/use-jetton-info.ts +32 -0
  349. package/src/features/jettons/hooks/use-jetton-wallet-address.ts +37 -0
  350. package/src/features/jettons/hooks/use-jettons-by-address.ts +33 -0
  351. package/src/features/jettons/hooks/use-jettons.ts +28 -0
  352. package/src/features/jettons/hooks/use-transfer-jetton.ts +44 -0
  353. package/src/features/jettons/index.ts +14 -0
  354. package/src/features/network/hooks/use-network.ts +23 -0
  355. package/src/features/network/hooks/use-networks.ts +35 -0
  356. package/src/features/network/index.ts +11 -0
  357. package/src/features/nft/components/nft-item/index.ts +9 -0
  358. package/src/features/nft/components/nft-item/nft-item.tsx +57 -0
  359. package/src/features/nft/hooks/use-nft.ts +29 -0
  360. package/src/features/nft/hooks/use-nfts-by-address.ts +29 -0
  361. package/src/features/nft/hooks/use-nfts.ts +28 -0
  362. package/src/features/nft/hooks/use-transfer-nft.ts +44 -0
  363. package/src/features/nft/index.ts +14 -0
  364. package/src/features/signing/hooks/use-sign-binary.ts +43 -0
  365. package/src/features/signing/hooks/use-sign-cell.ts +44 -0
  366. package/src/features/signing/hooks/use-sign-text.ts +43 -0
  367. package/src/features/signing/index.ts +11 -0
  368. package/src/features/swap/hooks/use-build-swap-transaction.ts +38 -0
  369. package/src/features/swap/hooks/use-swap-quote.ts +31 -0
  370. package/src/features/swap/index.ts +10 -0
  371. package/src/features/transaction/components/transaction/index.ts +10 -0
  372. package/src/features/transaction/components/transaction/transaction.tsx +105 -0
  373. package/src/features/transaction/components/transaction-provider/index.ts +10 -0
  374. package/src/features/transaction/components/transaction-provider/transaction-provider.tsx +114 -0
  375. package/src/features/transaction/hooks/use-send-transaction.ts +44 -0
  376. package/src/features/transaction/hooks/use-transfer-ton.ts +44 -0
  377. package/src/features/transaction/index.ts +12 -0
  378. package/src/features/wallets/components/connect-button/index.ts +9 -0
  379. package/src/features/wallets/hooks/use-address.ts +22 -0
  380. package/src/features/wallets/hooks/use-connect.ts +37 -0
  381. package/src/features/wallets/hooks/use-connected-wallets.ts +32 -0
  382. package/src/features/wallets/hooks/use-connector-by-id.ts +30 -0
  383. package/src/features/wallets/hooks/use-connectors.ts +32 -0
  384. package/src/features/wallets/hooks/use-disconnect.ts +39 -0
  385. package/src/features/wallets/hooks/use-selected-wallet.ts +44 -0
  386. package/src/features/wallets/index.ts +18 -0
  387. package/src/global.d.ts +12 -0
  388. package/src/hooks/use-app-kit-theme.ts +22 -0
  389. package/src/hooks/use-app-kit.ts +21 -0
  390. package/src/hooks/use-i18n.ts +21 -0
  391. package/src/index.ts +29 -0
  392. package/src/libs/i18n.ts +20 -0
  393. package/src/libs/query.ts +69 -0
  394. package/src/locales/en.ts +35 -0
  395. package/src/providers/app-kit-provider.tsx +30 -0
  396. package/src/providers/i18n-provider.tsx +83 -0
  397. package/src/tonconnect/tonconnect-bridge.tsx +39 -0
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { FC, ComponentProps } from 'react';
9
+ export interface BlockProps extends ComponentProps<'div'> {
10
+ direction?: 'row' | 'column';
11
+ }
12
+ export declare const Block: FC<BlockProps>;
13
+ //# sourceMappingURL=block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../../src/components/block/block.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKhD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,KAAK,CAAC;IACrD,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CAChC;AAED,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAEhC,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { Meta, StoryObj } from '@storybook/react';
9
+ import { Block } from './block';
10
+ declare const meta: Meta<typeof Block>;
11
+ export default meta;
12
+ type Story = StoryObj<typeof Block>;
13
+ export declare const Column: Story;
14
+ export declare const Row: Story;
15
+ //# sourceMappingURL=block.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/block/block.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAU5B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,MAAM,EAAE,KAWpB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KAWjB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ export * from './block';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/block/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,SAAS,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { FC, ComponentProps } from 'react';
9
+ export declare const Button: FC<ComponentProps<'button'>>;
10
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKhD,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,CAE/C,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { Meta, StoryObj } from '@storybook/react';
9
+ import { Button } from './button';
10
+ declare const meta: Meta<typeof Button>;
11
+ export default meta;
12
+ type Story = StoryObj<typeof Button>;
13
+ export declare const Default: Story;
14
+ export declare const Disabled: Story;
15
+ export declare const WithIcon: Story;
16
+ //# sourceMappingURL=button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/button/button.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAS7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAiBtB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ export { Button } from './button';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { FC, ComponentProps } from 'react';
9
+ export interface CircleIconProps extends ComponentProps<'div'> {
10
+ size?: number;
11
+ src?: string;
12
+ alt?: string;
13
+ fallback?: string;
14
+ }
15
+ export declare const CircleIcon: FC<CircleIconProps>;
16
+ //# sourceMappingURL=circle-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"circle-icon.d.ts","sourceRoot":"","sources":["../../../../src/components/circle-icon/circle-icon.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAMhD,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAY1C,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { Meta, StoryObj } from '@storybook/react';
9
+ import { CircleIcon } from './circle-icon';
10
+ declare const meta: Meta<typeof CircleIcon>;
11
+ export default meta;
12
+ type Story = StoryObj<typeof CircleIcon>;
13
+ export declare const WithImage: Story;
14
+ export declare const WithFallback: Story;
15
+ export declare const WithInvalidImage: Story;
16
+ export declare const SmallSize: Story;
17
+ export declare const LargeSize: Story;
18
+ //# sourceMappingURL=circle-icon.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"circle-icon.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/circle-icon/circle-icon.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CASjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAO9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ export * from './circle-icon';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/circle-icon/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,eAAe,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ export { TonIcon, TonIconCircle } from './ton-icon';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ton-icon/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { FC, ComponentProps } from 'react';
9
+ export interface TonIconProps extends Omit<ComponentProps<'svg'>, 'width' | 'height'> {
10
+ size?: number;
11
+ }
12
+ export declare const TonIcon: FC<TonIconProps>;
13
+ export declare const TonIconCircle: FC<TonIconProps>;
14
+ //# sourceMappingURL=ton-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ton-icon.d.ts","sourceRoot":"","sources":["../../../../src/components/ton-icon/ton-icon.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEhD,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CASpC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,YAAY,CAoB1C,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { Meta, StoryObj } from '@storybook/react';
9
+ import { TonIcon, TonIconCircle } from './ton-icon';
10
+ declare const meta: Meta<typeof TonIcon>;
11
+ export default meta;
12
+ type Story = StoryObj<typeof TonIcon>;
13
+ export declare const Default: Story;
14
+ export declare const Small: Story;
15
+ export declare const Large: Story;
16
+ export declare const CustomColor: Story;
17
+ export declare const Circle: StoryObj<typeof TonIconCircle>;
18
+ export declare const CircleSmall: StoryObj<typeof TonIconCircle>;
19
+ export declare const CircleLarge: StoryObj<typeof TonIconCircle>;
20
+ //# sourceMappingURL=ton-icon.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ton-icon.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ton-icon/ton-icon.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAgB9B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,aAAa,CAKjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,OAAO,aAAa,CAKtD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,OAAO,aAAa,CAKtD,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { FC } from 'react';
9
+ export declare const BalanceBadge: {
10
+ Container: FC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
11
+ Icon: FC<import("../../../..").CircleIconProps>;
12
+ BalanceBlock: FC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
13
+ Symbol: FC<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
14
+ symbol: string;
15
+ }>;
16
+ Balance: FC<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
17
+ balance: string;
18
+ decimals: number;
19
+ }>;
20
+ };
21
+ //# sourceMappingURL=balance-badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"balance-badge.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/balance-badge/balance-badge.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,EAAE,EAAkB,MAAM,OAAO,CAAC;AA+BhD,eAAO,MAAM,YAAY;;;;;gBARkC,MAAM;;;iBARX,MAAM;kBAAY,MAAM;;CAsB7E,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { Meta, StoryObj } from '@storybook/react';
9
+ declare const meta: Meta;
10
+ export default meta;
11
+ type Story = StoryObj;
12
+ export declare const TonBalance: Story;
13
+ export declare const JettonBalance: Story;
14
+ export declare const ZeroBalance: Story;
15
+ export declare const LargeBalance: Story;
16
+ //# sourceMappingURL=balance-badge.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"balance-badge.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/balance-badge/balance-badge.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI,EAAE,IAMX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAEtB,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAU3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ export { BalanceBadge } from './balance-badge';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/balance-badge/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { FC, ComponentProps } from 'react';
9
+ export interface CurrencyItemProps extends ComponentProps<'button'> {
10
+ ticker: string;
11
+ name?: string;
12
+ balance?: string;
13
+ icon?: string;
14
+ isVerified?: boolean;
15
+ }
16
+ export declare const CurrencyItem: FC<CurrencyItemProps>;
17
+ //# sourceMappingURL=currency-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currency-item.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/currency-item/currency-item.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAMhD,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,QAAQ,CAAC;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAoC9C,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { Meta, StoryObj } from '@storybook/react';
9
+ import { CurrencyItem } from './currency-item';
10
+ declare const meta: Meta<typeof CurrencyItem>;
11
+ export default meta;
12
+ type Story = StoryObj<typeof CurrencyItem>;
13
+ export declare const TON: Story;
14
+ export declare const USDT: Story;
15
+ export declare const Unverified: Story;
16
+ export declare const ZeroBalance: Story;
17
+ export declare const NoBalance: Story;
18
+ export declare const CurrencyList: Story;
19
+ //# sourceMappingURL=currency-item.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currency-item.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/currency-item/currency-item.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAUnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,GAAG,EAAE,KAQjB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAe1B,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ export * from './currency-item';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/currency-item/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ export * from './send-jetton-button';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/send-jetton-button/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { FC } from 'react';
9
+ import type { TransactionProps } from '../../../transaction';
10
+ export interface SendJettonButtonProps extends Omit<TransactionProps, 'request'> {
11
+ recipientAddress: string;
12
+ amount: string;
13
+ jetton: {
14
+ address: string;
15
+ symbol: string;
16
+ decimals: number;
17
+ };
18
+ comment?: string;
19
+ }
20
+ export declare const SendJettonButton: FC<SendJettonButtonProps>;
21
+ //# sourceMappingURL=send-jetton-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-jetton-button.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/send-jetton-button/send-jetton-button.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC;IAC5E,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA+CtD,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { Meta, StoryObj } from '@storybook/react';
9
+ declare const SendJettonButtonPreview: ({ text, isLoading, disabled, }: {
10
+ text?: string;
11
+ isLoading?: boolean;
12
+ disabled?: boolean;
13
+ }) => import("react/jsx-runtime").JSX.Element;
14
+ declare const meta: Meta<typeof SendJettonButtonPreview>;
15
+ export default meta;
16
+ type Story = StoryObj<typeof SendJettonButtonPreview>;
17
+ export declare const USDT: Story;
18
+ export declare const NOT: Story;
19
+ export declare const WithoutAmount: Story;
20
+ export declare const Loading: Story;
21
+ export declare const Disabled: Story;
22
+ //# sourceMappingURL=send-jetton-button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-jetton-button.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/send-jetton-button/send-jetton-button.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,uBAAuB,GAAI,gCAI9B;IACC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,4CAEA,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,uBAAuB,CAO9C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEtD,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KAIjB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ export * from './send-ton-button';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/send-ton-button/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { FC } from 'react';
9
+ import type { TransactionProps } from '../../../transaction';
10
+ export interface SendTonButtonProps extends Omit<TransactionProps, 'request'> {
11
+ recipientAddress: string;
12
+ amount: string;
13
+ comment?: string;
14
+ }
15
+ export declare const SendTonButton: FC<SendTonButtonProps>;
16
+ //# sourceMappingURL=send-ton-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-ton-button.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/send-ton-button/send-ton-button.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC;IACzE,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAoBhD,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { Meta, StoryObj } from '@storybook/react';
9
+ declare const SendTonButtonPreview: ({ text, isLoading, disabled, }: {
10
+ text?: string;
11
+ isLoading?: boolean;
12
+ disabled?: boolean;
13
+ }) => import("react/jsx-runtime").JSX.Element;
14
+ declare const meta: Meta<typeof SendTonButtonPreview>;
15
+ export default meta;
16
+ type Story = StoryObj<typeof SendTonButtonPreview>;
17
+ export declare const Default: Story;
18
+ export declare const LargeAmount: Story;
19
+ export declare const Loading: Story;
20
+ export declare const Disabled: Story;
21
+ //# sourceMappingURL=send-ton-button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-ton-button.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/send-ton-button/send-ton-button.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,oBAAoB,GAAI,gCAI3B;IACC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,4CAEA,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAO3C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnD,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { GetBalanceByAddressData, GetBalanceErrorType, GetBalanceByAddressQueryConfig } from '@ton/appkit/queries';
9
+ import type { UseQueryReturnType } from '../../../libs/query';
10
+ export type UseBalanceByAddressParameters<selectData = GetBalanceByAddressData> = GetBalanceByAddressQueryConfig<selectData>;
11
+ export type UseBalanceByAddressReturnType<selectData = GetBalanceByAddressData> = UseQueryReturnType<selectData, GetBalanceErrorType>;
12
+ /**
13
+ * Hook to get balance
14
+ */
15
+ export declare const useBalanceByAddress: <selectData = GetBalanceByAddressData>(parameters?: UseBalanceByAddressParameters<selectData>) => UseBalanceByAddressReturnType<selectData>;
16
+ //# sourceMappingURL=use-balance-by-address.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-balance-by-address.d.ts","sourceRoot":"","sources":["../../../../../src/features/balances/hooks/use-balance-by-address.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AAIxH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,6BAA6B,CAAC,UAAU,GAAG,uBAAuB,IAC1E,8BAA8B,CAAC,UAAU,CAAC,CAAC;AAE/C,MAAM,MAAM,6BAA6B,CAAC,UAAU,GAAG,uBAAuB,IAAI,kBAAkB,CAChG,UAAU,EACV,mBAAmB,CACtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,UAAU,GAAG,uBAAuB,EACpE,aAAY,6BAA6B,CAAC,UAAU,CAAM,KAC3D,6BAA6B,CAAC,UAAU,CAI1C,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { GetBalanceByAddressData } from '@ton/appkit/queries';
9
+ import type { UseBalanceByAddressParameters, UseBalanceByAddressReturnType } from './use-balance-by-address';
10
+ export type UseBalanceParameters<selectData = GetBalanceByAddressData> = UseBalanceByAddressParameters<selectData>;
11
+ export type UseBalanceReturnType<selectData = GetBalanceByAddressData> = UseBalanceByAddressReturnType<selectData>;
12
+ /**
13
+ * Hook to get balance of the selected wallet
14
+ */
15
+ export declare const useBalance: <selectData = GetBalanceByAddressData>(parameters?: UseBalanceParameters<selectData>) => UseBalanceReturnType<selectData>;
16
+ //# sourceMappingURL=use-balance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-balance.d.ts","sourceRoot":"","sources":["../../../../../src/features/balances/hooks/use-balance.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAInE,OAAO,KAAK,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AAE7G,MAAM,MAAM,oBAAoB,CAAC,UAAU,GAAG,uBAAuB,IAAI,6BAA6B,CAAC,UAAU,CAAC,CAAC;AAEnH,MAAM,MAAM,oBAAoB,CAAC,UAAU,GAAG,uBAAuB,IAAI,6BAA6B,CAAC,UAAU,CAAC,CAAC;AAEnH;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,UAAU,GAAG,uBAAuB,EAC3D,aAAY,oBAAoB,CAAC,UAAU,CAAM,KAClD,oBAAoB,CAAC,UAAU,CAIjC,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ export * from './components/currency-item';
9
+ export * from './components/balance-badge';
10
+ export * from './components/send-ton-button';
11
+ export * from './components/send-jetton-button';
12
+ export * from './hooks/use-balance';
13
+ export * from './hooks/use-balance-by-address';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/balances/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { GetJettonBalanceByAddressData, GetJettonBalanceErrorType, GetJettonBalanceByAddressQueryConfig } from '@ton/appkit/queries';
9
+ import type { UseQueryReturnType } from '../../../libs/query';
10
+ export type UseJettonBalanceByAddressParameters<selectData = GetJettonBalanceByAddressData> = GetJettonBalanceByAddressQueryConfig<selectData>;
11
+ export type UseJettonBalanceByAddressReturnType<selectData = GetJettonBalanceByAddressData> = UseQueryReturnType<selectData, GetJettonBalanceErrorType>;
12
+ /**
13
+ * Hook to get jetton balance
14
+ */
15
+ export declare const useJettonBalanceByAddress: <selectData = GetJettonBalanceByAddressData>(parameters?: UseJettonBalanceByAddressParameters<selectData>) => UseJettonBalanceByAddressReturnType<selectData>;
16
+ //# sourceMappingURL=use-jetton-balance-by-address.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-jetton-balance-by-address.d.ts","sourceRoot":"","sources":["../../../../../src/features/jettons/hooks/use-jetton-balance-by-address.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EACR,6BAA6B,EAC7B,yBAAyB,EACzB,oCAAoC,EACvC,MAAM,qBAAqB,CAAC;AAI7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,mCAAmC,CAAC,UAAU,GAAG,6BAA6B,IACtF,oCAAoC,CAAC,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,mCAAmC,CAAC,UAAU,GAAG,6BAA6B,IAAI,kBAAkB,CAC5G,UAAU,EACV,yBAAyB,CAC5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,GAAI,UAAU,GAAG,6BAA6B,EAChF,aAAY,mCAAmC,CAAC,UAAU,CAAM,KACjE,mCAAmC,CAAC,UAAU,CAIhD,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { GetJettonInfoData, GetJettonInfoErrorType, GetJettonInfoQueryConfig } from '@ton/appkit/queries';
9
+ import type { UseQueryReturnType } from '../../../libs/query';
10
+ export type UseJettonInfoParameters<selectData = GetJettonInfoData> = GetJettonInfoQueryConfig<selectData>;
11
+ export type UseJettonInfoReturnType<selectData = GetJettonInfoData> = UseQueryReturnType<selectData, GetJettonInfoErrorType>;
12
+ /**
13
+ * Hook to get jetton info by address
14
+ */
15
+ export declare const useJettonInfo: <selectData = GetJettonInfoData>(parameters?: UseJettonInfoParameters<selectData>) => UseJettonInfoReturnType<selectData>;
16
+ //# sourceMappingURL=use-jetton-info.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-jetton-info.d.ts","sourceRoot":"","sources":["../../../../../src/features/jettons/hooks/use-jetton-info.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAI/G,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,uBAAuB,CAAC,UAAU,GAAG,iBAAiB,IAAI,wBAAwB,CAAC,UAAU,CAAC,CAAC;AAE3G,MAAM,MAAM,uBAAuB,CAAC,UAAU,GAAG,iBAAiB,IAAI,kBAAkB,CACpF,UAAU,EACV,sBAAsB,CACzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,UAAU,GAAG,iBAAiB,EACxD,aAAY,uBAAuB,CAAC,UAAU,CAAM,KACrD,uBAAuB,CAAC,UAAU,CAIpC,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) TonTech.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { GetJettonWalletAddressData, GetJettonWalletAddressErrorType, GetJettonWalletAddressQueryConfig } from '@ton/appkit/queries';
9
+ import type { UseQueryReturnType } from '../../../libs/query';
10
+ export type UseJettonWalletAddressParameters<selectData = GetJettonWalletAddressData> = GetJettonWalletAddressQueryConfig<selectData>;
11
+ export type UseJettonWalletAddressReturnType<selectData = GetJettonWalletAddressData> = UseQueryReturnType<selectData, GetJettonWalletAddressErrorType>;
12
+ /**
13
+ * Hook to get jetton wallet address
14
+ */
15
+ export declare const useJettonWalletAddress: <selectData = GetJettonWalletAddressData>(parameters?: UseJettonWalletAddressParameters<selectData>) => UseQueryReturnType<selectData, Error>;
16
+ //# sourceMappingURL=use-jetton-wallet-address.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-jetton-wallet-address.d.ts","sourceRoot":"","sources":["../../../../../src/features/jettons/hooks/use-jetton-wallet-address.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EACR,0BAA0B,EAC1B,+BAA+B,EAC/B,iCAAiC,EACpC,MAAM,qBAAqB,CAAC;AAI7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,gCAAgC,CAAC,UAAU,GAAG,0BAA0B,IAChF,iCAAiC,CAAC,UAAU,CAAC,CAAC;AAElD,MAAM,MAAM,gCAAgC,CAAC,UAAU,GAAG,0BAA0B,IAAI,kBAAkB,CACtG,UAAU,EACV,+BAA+B,CAClC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,UAAU,GAAG,0BAA0B,EAC1E,aAAY,gCAAgC,CAAC,UAAU,CAAM,0CAKhE,CAAC"}