@ton/appkit-react 0.0.1 → 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.
- package/dist/esm/components/block/block.js +7 -0
- package/dist/esm/components/block/block.js.map +1 -0
- package/dist/{components → esm/components}/block/block.module.css +1 -1
- package/dist/esm/components/block/block.stories.js +27 -0
- package/dist/esm/components/block/block.stories.js.map +1 -0
- package/dist/esm/components/block/index.js +9 -0
- package/dist/esm/components/block/index.js.map +1 -0
- package/dist/esm/components/button/button.js +7 -0
- package/dist/esm/components/button/button.js.map +1 -0
- package/dist/{components → esm/components}/button/button.module.css +7 -2
- package/dist/esm/components/button/button.stories.js +30 -0
- package/dist/esm/components/button/button.stories.js.map +1 -0
- package/dist/esm/components/button/index.js +9 -0
- package/dist/esm/components/button/index.js.map +1 -0
- package/dist/esm/components/circle-icon/circle-icon.js +8 -0
- package/dist/esm/components/circle-icon/circle-icon.js.map +1 -0
- package/dist/esm/components/circle-icon/circle-icon.module.css +32 -0
- package/dist/esm/components/circle-icon/circle-icon.stories.js +56 -0
- package/dist/esm/components/circle-icon/circle-icon.stories.js.map +1 -0
- package/dist/esm/components/circle-icon/index.js +9 -0
- package/dist/esm/components/circle-icon/index.js.map +1 -0
- package/dist/esm/components/ton-icon/index.js +9 -0
- package/dist/esm/components/ton-icon/index.js.map +1 -0
- package/dist/esm/components/ton-icon/ton-icon.js +8 -0
- package/dist/esm/components/ton-icon/ton-icon.js.map +1 -0
- package/dist/esm/components/ton-icon/ton-icon.stories.js +56 -0
- package/dist/esm/components/ton-icon/ton-icon.stories.js.map +1 -0
- package/dist/esm/features/balances/components/balance-badge/balance-badge.js +33 -0
- package/dist/esm/features/balances/components/balance-badge/balance-badge.js.map +1 -0
- package/dist/{features → esm/features}/balances/components/balance-badge/balance-badge.module.css +3 -1
- package/dist/esm/features/balances/components/balance-badge/balance-badge.stories.js +23 -0
- package/dist/esm/features/balances/components/balance-badge/balance-badge.stories.js.map +1 -0
- package/dist/esm/features/balances/components/balance-badge/index.js +9 -0
- package/dist/esm/features/balances/components/balance-badge/index.js.map +1 -0
- package/dist/esm/features/balances/components/currency-item/currency-item.js +8 -0
- package/dist/esm/features/balances/components/currency-item/currency-item.js.map +1 -0
- package/dist/esm/features/balances/components/currency-item/currency-item.module.css +80 -0
- package/dist/esm/features/balances/components/currency-item/currency-item.stories.js +61 -0
- package/dist/esm/features/balances/components/currency-item/currency-item.stories.js.map +1 -0
- package/dist/esm/features/balances/components/currency-item/index.js +9 -0
- package/dist/esm/features/balances/components/currency-item/index.js.map +1 -0
- package/dist/esm/features/balances/components/send-jetton-button/index.js +9 -0
- package/dist/esm/features/balances/components/send-jetton-button/index.js.map +1 -0
- package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.js +43 -0
- package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.js.map +1 -0
- package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.stories.js +41 -0
- package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.stories.js.map +1 -0
- package/dist/esm/features/balances/components/send-ton-button/index.js +9 -0
- package/dist/esm/features/balances/components/send-ton-button/index.js.map +1 -0
- package/dist/esm/features/balances/components/send-ton-button/send-ton-button.js +26 -0
- package/dist/esm/features/balances/components/send-ton-button/send-ton-button.js.map +1 -0
- package/dist/esm/features/balances/components/send-ton-button/send-ton-button.stories.js +36 -0
- package/dist/esm/features/balances/components/send-ton-button/send-ton-button.stories.js.map +1 -0
- package/dist/esm/features/balances/hooks/use-balance-by-address.js +18 -0
- package/dist/esm/features/balances/hooks/use-balance-by-address.js.map +1 -0
- package/dist/esm/features/balances/hooks/use-balance.js +17 -0
- package/dist/esm/features/balances/hooks/use-balance.js.map +1 -0
- package/dist/esm/features/balances/index.js +14 -0
- package/dist/esm/features/balances/index.js.map +1 -0
- package/dist/esm/features/jettons/hooks/use-jetton-balance-by-address.js +18 -0
- package/dist/esm/features/jettons/hooks/use-jetton-balance-by-address.js.map +1 -0
- package/dist/esm/features/jettons/hooks/use-jetton-info.js +18 -0
- package/dist/esm/features/jettons/hooks/use-jetton-info.js.map +1 -0
- package/dist/esm/features/jettons/hooks/use-jetton-wallet-address.js +18 -0
- package/dist/esm/features/jettons/hooks/use-jetton-wallet-address.js.map +1 -0
- package/dist/esm/features/jettons/hooks/use-jettons-by-address.js +18 -0
- package/dist/esm/features/jettons/hooks/use-jettons-by-address.js.map +1 -0
- package/dist/esm/features/jettons/hooks/use-jettons.js +17 -0
- package/dist/esm/features/jettons/hooks/use-jettons.js.map +1 -0
- package/dist/esm/features/jettons/hooks/use-transfer-jetton.js +16 -0
- package/dist/esm/features/jettons/hooks/use-transfer-jetton.js.map +1 -0
- package/dist/esm/features/jettons/index.js +14 -0
- package/dist/esm/features/jettons/index.js.map +1 -0
- package/dist/esm/features/network/hooks/use-network.js +17 -0
- package/dist/esm/features/network/hooks/use-network.js.map +1 -0
- package/dist/esm/features/network/hooks/use-networks.js +24 -0
- package/dist/esm/features/network/hooks/use-networks.js.map +1 -0
- package/dist/esm/features/network/index.js +11 -0
- package/dist/esm/features/network/index.js.map +1 -0
- package/dist/esm/features/nft/components/nft-item/index.js +9 -0
- package/dist/esm/features/nft/components/nft-item/index.js.map +1 -0
- package/dist/esm/features/nft/components/nft-item/nft-item.js +15 -0
- package/dist/esm/features/nft/components/nft-item/nft-item.js.map +1 -0
- package/dist/esm/features/nft/components/nft-item/nft-item.module.css +74 -0
- package/dist/esm/features/nft/components/nft-item/nft-item.stories.js +52 -0
- package/dist/esm/features/nft/components/nft-item/nft-item.stories.js.map +1 -0
- package/dist/esm/features/nft/hooks/use-nft.js +18 -0
- package/dist/esm/features/nft/hooks/use-nft.js.map +1 -0
- package/dist/esm/features/nft/hooks/use-nfts-by-address.js +18 -0
- package/dist/esm/features/nft/hooks/use-nfts-by-address.js.map +1 -0
- package/dist/esm/features/nft/hooks/use-nfts.js +17 -0
- package/dist/esm/features/nft/hooks/use-nfts.js.map +1 -0
- package/dist/esm/features/nft/hooks/use-transfer-nft.js +16 -0
- package/dist/esm/features/nft/hooks/use-transfer-nft.js.map +1 -0
- package/dist/esm/features/nft/index.js +13 -0
- package/dist/esm/features/nft/index.js.map +1 -0
- package/dist/esm/features/signing/hooks/use-sign-binary.js +27 -0
- package/dist/esm/features/signing/hooks/use-sign-binary.js.map +1 -0
- package/dist/esm/features/signing/hooks/use-sign-cell.js +28 -0
- package/dist/esm/features/signing/hooks/use-sign-cell.js.map +1 -0
- package/dist/esm/features/signing/hooks/use-sign-text.js +27 -0
- package/dist/esm/features/signing/hooks/use-sign-text.js.map +1 -0
- package/dist/esm/features/signing/index.js +11 -0
- package/dist/esm/features/signing/index.js.map +1 -0
- package/dist/esm/features/swap/hooks/use-build-swap-transaction.js +16 -0
- package/dist/esm/features/swap/hooks/use-build-swap-transaction.js.map +1 -0
- package/dist/esm/features/swap/hooks/use-swap-quote.js +16 -0
- package/dist/esm/features/swap/hooks/use-swap-quote.js.map +1 -0
- package/dist/esm/features/swap/index.js +10 -0
- package/dist/esm/features/swap/index.js.map +1 -0
- package/dist/esm/features/transaction/components/transaction/index.js +9 -0
- package/dist/esm/features/transaction/components/transaction/index.js.map +1 -0
- package/dist/esm/features/transaction/components/transaction/transaction.js +41 -0
- package/dist/esm/features/transaction/components/transaction/transaction.js.map +1 -0
- package/dist/esm/features/transaction/components/transaction/transaction.stories.js +47 -0
- package/dist/esm/features/transaction/components/transaction/transaction.stories.js.map +1 -0
- package/dist/esm/features/transaction/components/transaction-provider/index.js +9 -0
- package/dist/esm/features/transaction/components/transaction-provider/index.js.map +1 -0
- package/dist/esm/features/transaction/components/transaction-provider/transaction-provider.js +64 -0
- package/dist/esm/features/transaction/components/transaction-provider/transaction-provider.js.map +1 -0
- package/dist/esm/features/transaction/hooks/use-send-transaction.js +16 -0
- package/dist/esm/features/transaction/hooks/use-send-transaction.js.map +1 -0
- package/dist/esm/features/transaction/hooks/use-transfer-ton.js +16 -0
- package/dist/esm/features/transaction/hooks/use-transfer-ton.js.map +1 -0
- package/dist/esm/features/transaction/index.js +11 -0
- package/dist/esm/features/transaction/index.js.map +1 -0
- package/dist/esm/features/wallets/components/connect-button/index.js +9 -0
- package/dist/esm/features/wallets/components/connect-button/index.js.map +1 -0
- package/dist/esm/features/wallets/hooks/use-address.js +17 -0
- package/dist/esm/features/wallets/hooks/use-address.js.map +1 -0
- package/dist/esm/features/wallets/hooks/use-connect.js +15 -0
- package/dist/esm/features/wallets/hooks/use-connect.js.map +1 -0
- package/dist/esm/features/wallets/hooks/use-connected-wallets.js +21 -0
- package/dist/esm/features/wallets/hooks/use-connected-wallets.js.map +1 -0
- package/dist/esm/features/wallets/hooks/use-connector-by-id.js +21 -0
- package/dist/esm/features/wallets/hooks/use-connector-by-id.js.map +1 -0
- package/dist/esm/features/wallets/hooks/use-connectors.js +21 -0
- package/dist/esm/features/wallets/hooks/use-connectors.js.map +1 -0
- package/dist/esm/features/wallets/hooks/use-disconnect.js +16 -0
- package/dist/esm/features/wallets/hooks/use-disconnect.js.map +1 -0
- package/dist/esm/features/wallets/hooks/use-selected-wallet.js +28 -0
- package/dist/esm/features/wallets/hooks/use-selected-wallet.js.map +1 -0
- package/dist/esm/features/wallets/index.js +16 -0
- package/dist/esm/features/wallets/index.js.map +1 -0
- package/dist/esm/hooks/use-app-kit-theme.js +17 -0
- package/dist/esm/hooks/use-app-kit-theme.js.map +1 -0
- package/dist/esm/hooks/use-app-kit.js +17 -0
- package/dist/esm/hooks/use-app-kit.js.map +1 -0
- package/dist/esm/hooks/use-i18n.js +17 -0
- package/dist/esm/hooks/use-i18n.js.map +1 -0
- package/dist/esm/index.js +26 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/libs/i18n.js +14 -0
- package/dist/esm/libs/i18n.js.map +1 -0
- package/dist/esm/libs/query.js +18 -0
- package/dist/esm/libs/query.js.map +1 -0
- package/dist/esm/locales/en.js +32 -0
- package/dist/esm/locales/en.js.map +1 -0
- package/dist/esm/providers/app-kit-provider.js +9 -0
- package/dist/esm/providers/app-kit-provider.js.map +1 -0
- package/dist/esm/providers/i18n-provider.js +51 -0
- package/dist/esm/providers/i18n-provider.js.map +1 -0
- package/dist/{styles → esm/styles}/index.css +26 -11
- package/dist/{styles → esm/styles}/typography.module.css +14 -1
- package/dist/esm/tonconnect/tonconnect-bridge.js +27 -0
- package/dist/esm/tonconnect/tonconnect-bridge.js.map +1 -0
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/components/block/block.d.ts.map +1 -0
- package/dist/types/components/block/block.stories.d.ts.map +1 -0
- package/dist/types/components/block/index.d.ts.map +1 -0
- package/dist/types/components/button/button.d.ts.map +1 -0
- package/dist/types/components/button/button.stories.d.ts.map +1 -0
- package/dist/types/components/button/index.d.ts.map +1 -0
- package/dist/types/components/circle-icon/circle-icon.d.ts.map +1 -0
- package/dist/types/components/circle-icon/circle-icon.stories.d.ts.map +1 -0
- package/dist/types/components/circle-icon/index.d.ts.map +1 -0
- package/dist/types/components/ton-icon/index.d.ts.map +1 -0
- package/dist/types/components/ton-icon/ton-icon.d.ts.map +1 -0
- package/dist/types/components/ton-icon/ton-icon.stories.d.ts.map +1 -0
- package/dist/types/features/balances/components/balance-badge/balance-badge.d.ts.map +1 -0
- package/dist/types/features/balances/components/balance-badge/balance-badge.stories.d.ts.map +1 -0
- package/dist/types/features/balances/components/balance-badge/index.d.ts.map +1 -0
- package/dist/types/features/balances/components/currency-item/currency-item.d.ts.map +1 -0
- package/dist/types/features/balances/components/currency-item/currency-item.stories.d.ts.map +1 -0
- package/dist/types/features/balances/components/currency-item/index.d.ts.map +1 -0
- package/dist/types/features/balances/components/send-jetton-button/index.d.ts.map +1 -0
- package/dist/types/features/balances/components/send-jetton-button/send-jetton-button.d.ts.map +1 -0
- package/dist/types/features/balances/components/send-jetton-button/send-jetton-button.stories.d.ts.map +1 -0
- package/dist/types/features/balances/components/send-ton-button/index.d.ts.map +1 -0
- package/dist/types/features/balances/components/send-ton-button/send-ton-button.d.ts.map +1 -0
- package/dist/types/features/balances/components/send-ton-button/send-ton-button.stories.d.ts.map +1 -0
- package/dist/types/features/balances/hooks/use-balance-by-address.d.ts.map +1 -0
- package/dist/types/features/balances/hooks/use-balance.d.ts.map +1 -0
- package/dist/types/features/balances/index.d.ts.map +1 -0
- package/dist/types/features/jettons/hooks/use-jetton-balance-by-address.d.ts.map +1 -0
- package/dist/types/features/jettons/hooks/use-jetton-info.d.ts.map +1 -0
- package/dist/types/features/jettons/hooks/use-jetton-wallet-address.d.ts.map +1 -0
- package/dist/types/features/jettons/hooks/use-jettons-by-address.d.ts.map +1 -0
- package/dist/types/features/jettons/hooks/use-jettons.d.ts.map +1 -0
- package/dist/types/features/jettons/hooks/use-transfer-jetton.d.ts.map +1 -0
- package/dist/types/features/jettons/index.d.ts.map +1 -0
- package/dist/types/features/network/hooks/use-network.d.ts.map +1 -0
- package/dist/types/features/network/hooks/use-networks.d.ts.map +1 -0
- package/dist/types/features/network/index.d.ts.map +1 -0
- package/dist/types/features/nft/components/nft-item/index.d.ts.map +1 -0
- package/dist/types/features/nft/components/nft-item/nft-item.d.ts.map +1 -0
- package/dist/types/features/nft/components/nft-item/nft-item.stories.d.ts.map +1 -0
- package/dist/types/features/nft/hooks/use-nft.d.ts.map +1 -0
- package/dist/types/features/nft/hooks/use-nfts-by-address.d.ts.map +1 -0
- package/dist/types/features/nft/hooks/use-nfts.d.ts.map +1 -0
- package/dist/types/features/nft/hooks/use-transfer-nft.d.ts.map +1 -0
- package/dist/types/features/nft/index.d.ts.map +1 -0
- package/dist/types/features/signing/hooks/use-sign-binary.d.ts.map +1 -0
- package/dist/types/features/signing/hooks/use-sign-cell.d.ts.map +1 -0
- package/dist/types/features/signing/hooks/use-sign-text.d.ts.map +1 -0
- package/dist/types/features/signing/index.d.ts.map +1 -0
- package/dist/types/features/swap/hooks/use-build-swap-transaction.d.ts.map +1 -0
- package/dist/types/features/swap/hooks/use-swap-quote.d.ts.map +1 -0
- package/dist/types/features/swap/index.d.ts.map +1 -0
- package/dist/types/features/transaction/components/transaction/index.d.ts.map +1 -0
- package/dist/types/features/transaction/components/transaction/transaction.d.ts.map +1 -0
- package/dist/types/features/transaction/components/transaction/transaction.stories.d.ts.map +1 -0
- package/dist/types/features/transaction/components/transaction-provider/index.d.ts.map +1 -0
- package/dist/types/features/transaction/components/transaction-provider/transaction-provider.d.ts.map +1 -0
- package/dist/types/features/transaction/hooks/use-send-transaction.d.ts.map +1 -0
- package/dist/types/features/transaction/hooks/use-transfer-ton.d.ts.map +1 -0
- package/dist/types/features/transaction/index.d.ts.map +1 -0
- package/dist/types/features/wallets/components/connect-button/index.d.ts.map +1 -0
- package/dist/types/features/wallets/hooks/use-address.d.ts.map +1 -0
- package/dist/types/features/wallets/hooks/use-connect.d.ts.map +1 -0
- package/dist/types/features/wallets/hooks/use-connected-wallets.d.ts.map +1 -0
- package/dist/types/features/wallets/hooks/use-connector-by-id.d.ts.map +1 -0
- package/dist/types/features/wallets/hooks/use-connectors.d.ts.map +1 -0
- package/dist/types/features/wallets/hooks/use-disconnect.d.ts.map +1 -0
- package/dist/types/features/wallets/hooks/use-selected-wallet.d.ts.map +1 -0
- package/dist/types/features/wallets/index.d.ts.map +1 -0
- package/dist/types/hooks/use-app-kit-theme.d.ts.map +1 -0
- package/dist/types/hooks/use-app-kit.d.ts.map +1 -0
- package/dist/types/hooks/use-i18n.d.ts.map +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/libs/i18n.d.ts.map +1 -0
- package/dist/types/libs/query.d.ts.map +1 -0
- package/dist/types/locales/en.d.ts.map +1 -0
- package/dist/types/providers/app-kit-provider.d.ts.map +1 -0
- package/dist/types/providers/i18n-provider.d.ts.map +1 -0
- package/dist/types/tonconnect/tonconnect-bridge.d.ts.map +1 -0
- package/package.json +18 -11
- package/src/components/block/block.tsx +20 -0
- package/src/components/block/index.ts +9 -0
- package/src/components/button/button.tsx +16 -0
- package/src/components/button/index.ts +9 -0
- package/src/components/circle-icon/circle-icon.tsx +34 -0
- package/src/components/circle-icon/index.ts +9 -0
- package/src/components/ton-icon/index.ts +9 -0
- package/src/components/ton-icon/ton-icon.tsx +46 -0
- package/src/features/balances/components/balance-badge/balance-badge.tsx +47 -0
- package/src/features/balances/components/balance-badge/index.ts +9 -0
- package/src/features/balances/components/currency-item/currency-item.tsx +59 -0
- package/src/features/balances/components/currency-item/index.ts +9 -0
- package/src/features/balances/components/send-jetton-button/index.ts +9 -0
- package/src/features/balances/components/send-jetton-button/send-jetton-button.tsx +76 -0
- package/src/features/balances/components/send-ton-button/index.ts +9 -0
- package/src/features/balances/components/send-ton-button/send-ton-button.tsx +44 -0
- package/src/features/balances/hooks/use-balance-by-address.ts +33 -0
- package/src/features/balances/hooks/use-balance.ts +28 -0
- package/{dist/features/balances/index.mjs → src/features/balances/index.ts} +9 -2
- package/src/features/jettons/hooks/use-jetton-balance-by-address.ts +37 -0
- package/src/features/jettons/hooks/use-jetton-info.ts +32 -0
- package/src/features/jettons/hooks/use-jetton-wallet-address.ts +37 -0
- package/src/features/jettons/hooks/use-jettons-by-address.ts +33 -0
- package/src/features/jettons/hooks/use-jettons.ts +28 -0
- package/src/features/jettons/hooks/use-transfer-jetton.ts +44 -0
- package/{dist/features/jettons/index.mjs → src/features/jettons/index.ts} +8 -2
- package/src/features/network/hooks/use-network.ts +23 -0
- package/src/features/network/hooks/use-networks.ts +35 -0
- package/src/features/network/index.ts +11 -0
- package/src/features/nft/components/nft-item/index.ts +9 -0
- package/src/features/nft/components/nft-item/nft-item.tsx +57 -0
- package/src/features/nft/hooks/use-nft.ts +29 -0
- package/src/features/nft/hooks/use-nfts-by-address.ts +29 -0
- package/src/features/nft/hooks/use-nfts.ts +28 -0
- package/src/features/nft/hooks/use-transfer-nft.ts +44 -0
- package/{dist/features/nft/index.mjs → src/features/nft/index.ts} +9 -2
- package/src/features/signing/hooks/use-sign-binary.ts +43 -0
- package/src/features/signing/hooks/use-sign-cell.ts +44 -0
- package/src/features/signing/hooks/use-sign-text.ts +43 -0
- package/src/features/signing/index.ts +11 -0
- package/src/features/swap/hooks/use-build-swap-transaction.ts +38 -0
- package/src/features/swap/hooks/use-swap-quote.ts +31 -0
- package/src/features/swap/index.ts +10 -0
- package/src/features/transaction/components/transaction/index.ts +10 -0
- package/src/features/transaction/components/transaction/transaction.tsx +105 -0
- package/src/features/transaction/components/transaction-provider/index.ts +10 -0
- package/src/features/transaction/components/transaction-provider/transaction-provider.tsx +114 -0
- package/src/features/transaction/hooks/use-send-transaction.ts +44 -0
- package/src/features/transaction/hooks/use-transfer-ton.ts +44 -0
- package/src/features/transaction/index.ts +12 -0
- package/src/features/wallets/components/connect-button/index.ts +9 -0
- package/src/features/wallets/hooks/use-address.ts +22 -0
- package/src/features/wallets/hooks/use-connect.ts +37 -0
- package/src/features/wallets/hooks/use-connected-wallets.ts +32 -0
- package/src/features/wallets/hooks/use-connector-by-id.ts +30 -0
- package/src/features/wallets/hooks/use-connectors.ts +32 -0
- package/src/features/wallets/hooks/use-disconnect.ts +39 -0
- package/src/features/wallets/hooks/use-selected-wallet.ts +44 -0
- package/{dist/features/wallets/index.mjs → src/features/wallets/index.ts} +10 -2
- package/src/global.d.ts +12 -0
- package/src/hooks/use-app-kit-theme.ts +22 -0
- package/src/hooks/use-app-kit.ts +21 -0
- package/src/hooks/use-i18n.ts +21 -0
- package/{dist/index.mjs → src/index.ts} +11 -2
- package/src/libs/i18n.ts +20 -0
- package/src/libs/query.ts +69 -0
- package/src/locales/en.ts +35 -0
- package/src/providers/app-kit-provider.tsx +30 -0
- package/src/providers/i18n-provider.tsx +83 -0
- package/src/tonconnect/tonconnect-bridge.tsx +39 -0
- package/dist/components/block/block.d.ts.map +0 -1
- package/dist/components/block/block.js +0 -18
- package/dist/components/block/block.js.map +0 -1
- package/dist/components/block/block.mjs +0 -11
- package/dist/components/block/block.mjs.map +0 -1
- package/dist/components/block/block.module.css.map +0 -1
- package/dist/components/block/block.stories.d.ts.map +0 -1
- package/dist/components/block/block.stories.js +0 -45
- package/dist/components/block/block.stories.js.map +0 -1
- package/dist/components/block/block.stories.mjs +0 -39
- package/dist/components/block/block.stories.mjs.map +0 -1
- package/dist/components/block/index.d.ts.map +0 -1
- package/dist/components/block/index.js +0 -14
- package/dist/components/block/index.js.map +0 -1
- package/dist/components/block/index.mjs +0 -3
- package/dist/components/block/index.mjs.map +0 -1
- package/dist/components/button/button.d.ts.map +0 -1
- package/dist/components/button/button.js +0 -18
- package/dist/components/button/button.js.map +0 -1
- package/dist/components/button/button.mjs +0 -11
- package/dist/components/button/button.mjs.map +0 -1
- package/dist/components/button/button.module.css.map +0 -1
- package/dist/components/button/button.stories.d.ts.map +0 -1
- package/dist/components/button/button.stories.js +0 -53
- package/dist/components/button/button.stories.js.map +0 -1
- package/dist/components/button/button.stories.mjs +0 -46
- package/dist/components/button/button.stories.mjs.map +0 -1
- package/dist/components/button/index.d.ts.map +0 -1
- package/dist/components/button/index.js +0 -12
- package/dist/components/button/index.js.map +0 -1
- package/dist/components/button/index.mjs +0 -3
- package/dist/components/button/index.mjs.map +0 -1
- package/dist/components/circle-icon/circle-icon.d.ts.map +0 -1
- package/dist/components/circle-icon/circle-icon.js +0 -22
- package/dist/components/circle-icon/circle-icon.js.map +0 -1
- package/dist/components/circle-icon/circle-icon.mjs +0 -15
- package/dist/components/circle-icon/circle-icon.mjs.map +0 -1
- package/dist/components/circle-icon/circle-icon.module.css +0 -31
- package/dist/components/circle-icon/circle-icon.module.css.map +0 -1
- package/dist/components/circle-icon/circle-icon.stories.d.ts.map +0 -1
- package/dist/components/circle-icon/circle-icon.stories.js +0 -62
- package/dist/components/circle-icon/circle-icon.stories.js.map +0 -1
- package/dist/components/circle-icon/circle-icon.stories.mjs +0 -53
- package/dist/components/circle-icon/circle-icon.stories.mjs.map +0 -1
- package/dist/components/circle-icon/index.d.ts.map +0 -1
- package/dist/components/circle-icon/index.js +0 -14
- package/dist/components/circle-icon/index.js.map +0 -1
- package/dist/components/circle-icon/index.mjs +0 -3
- package/dist/components/circle-icon/index.mjs.map +0 -1
- package/dist/components/ton-icon/index.d.ts.map +0 -1
- package/dist/components/ton-icon/index.js +0 -16
- package/dist/components/ton-icon/index.js.map +0 -1
- package/dist/components/ton-icon/index.mjs +0 -3
- package/dist/components/ton-icon/index.mjs.map +0 -1
- package/dist/components/ton-icon/ton-icon.d.ts.map +0 -1
- package/dist/components/ton-icon/ton-icon.js +0 -39
- package/dist/components/ton-icon/ton-icon.js.map +0 -1
- package/dist/components/ton-icon/ton-icon.mjs +0 -36
- package/dist/components/ton-icon/ton-icon.mjs.map +0 -1
- package/dist/components/ton-icon/ton-icon.stories.d.ts.map +0 -1
- package/dist/components/ton-icon/ton-icon.stories.js +0 -71
- package/dist/components/ton-icon/ton-icon.stories.js.map +0 -1
- package/dist/components/ton-icon/ton-icon.stories.mjs +0 -60
- package/dist/components/ton-icon/ton-icon.stories.mjs.map +0 -1
- package/dist/features/balances/components/balance-badge/balance-badge.d.ts.map +0 -1
- package/dist/features/balances/components/balance-badge/balance-badge.js +0 -41
- package/dist/features/balances/components/balance-badge/balance-badge.js.map +0 -1
- package/dist/features/balances/components/balance-badge/balance-badge.mjs +0 -34
- package/dist/features/balances/components/balance-badge/balance-badge.mjs.map +0 -1
- package/dist/features/balances/components/balance-badge/balance-badge.module.css.map +0 -1
- package/dist/features/balances/components/balance-badge/balance-badge.stories.d.ts.map +0 -1
- package/dist/features/balances/components/balance-badge/balance-badge.stories.js +0 -59
- package/dist/features/balances/components/balance-badge/balance-badge.stories.js.map +0 -1
- package/dist/features/balances/components/balance-badge/balance-badge.stories.mjs +0 -51
- package/dist/features/balances/components/balance-badge/balance-badge.stories.mjs.map +0 -1
- package/dist/features/balances/components/balance-badge/index.d.ts.map +0 -1
- package/dist/features/balances/components/balance-badge/index.js +0 -12
- package/dist/features/balances/components/balance-badge/index.js.map +0 -1
- package/dist/features/balances/components/balance-badge/index.mjs +0 -3
- package/dist/features/balances/components/balance-badge/index.mjs.map +0 -1
- package/dist/features/balances/components/currency-item/currency-item.d.ts.map +0 -1
- package/dist/features/balances/components/currency-item/currency-item.js +0 -44
- package/dist/features/balances/components/currency-item/currency-item.js.map +0 -1
- package/dist/features/balances/components/currency-item/currency-item.mjs +0 -37
- package/dist/features/balances/components/currency-item/currency-item.mjs.map +0 -1
- package/dist/features/balances/components/currency-item/currency-item.module.css +0 -69
- package/dist/features/balances/components/currency-item/currency-item.module.css.map +0 -1
- package/dist/features/balances/components/currency-item/currency-item.stories.d.ts.map +0 -1
- package/dist/features/balances/components/currency-item/currency-item.stories.js +0 -89
- package/dist/features/balances/components/currency-item/currency-item.stories.js.map +0 -1
- package/dist/features/balances/components/currency-item/currency-item.stories.mjs +0 -79
- package/dist/features/balances/components/currency-item/currency-item.stories.mjs.map +0 -1
- package/dist/features/balances/components/currency-item/index.d.ts.map +0 -1
- package/dist/features/balances/components/currency-item/index.js +0 -14
- package/dist/features/balances/components/currency-item/index.js.map +0 -1
- package/dist/features/balances/components/currency-item/index.mjs +0 -3
- package/dist/features/balances/components/currency-item/index.mjs.map +0 -1
- package/dist/features/balances/components/send-jetton-button/index.d.ts.map +0 -1
- package/dist/features/balances/components/send-jetton-button/index.js +0 -14
- package/dist/features/balances/components/send-jetton-button/index.js.map +0 -1
- package/dist/features/balances/components/send-jetton-button/index.mjs +0 -3
- package/dist/features/balances/components/send-jetton-button/index.mjs.map +0 -1
- package/dist/features/balances/components/send-jetton-button/send-jetton-button.d.ts.map +0 -1
- package/dist/features/balances/components/send-jetton-button/send-jetton-button.js +0 -56
- package/dist/features/balances/components/send-jetton-button/send-jetton-button.js.map +0 -1
- package/dist/features/balances/components/send-jetton-button/send-jetton-button.mjs +0 -54
- package/dist/features/balances/components/send-jetton-button/send-jetton-button.mjs.map +0 -1
- package/dist/features/balances/components/send-jetton-button/send-jetton-button.stories.d.ts.map +0 -1
- package/dist/features/balances/components/send-jetton-button/send-jetton-button.stories.js +0 -58
- package/dist/features/balances/components/send-jetton-button/send-jetton-button.stories.js.map +0 -1
- package/dist/features/balances/components/send-jetton-button/send-jetton-button.stories.mjs +0 -49
- package/dist/features/balances/components/send-jetton-button/send-jetton-button.stories.mjs.map +0 -1
- package/dist/features/balances/components/send-ton-button/index.d.ts.map +0 -1
- package/dist/features/balances/components/send-ton-button/index.js +0 -14
- package/dist/features/balances/components/send-ton-button/index.js.map +0 -1
- package/dist/features/balances/components/send-ton-button/index.mjs +0 -3
- package/dist/features/balances/components/send-ton-button/index.mjs.map +0 -1
- package/dist/features/balances/components/send-ton-button/send-ton-button.d.ts.map +0 -1
- package/dist/features/balances/components/send-ton-button/send-ton-button.js +0 -33
- package/dist/features/balances/components/send-ton-button/send-ton-button.js.map +0 -1
- package/dist/features/balances/components/send-ton-button/send-ton-button.mjs +0 -31
- package/dist/features/balances/components/send-ton-button/send-ton-button.mjs.map +0 -1
- package/dist/features/balances/components/send-ton-button/send-ton-button.stories.d.ts.map +0 -1
- package/dist/features/balances/components/send-ton-button/send-ton-button.stories.js +0 -52
- package/dist/features/balances/components/send-ton-button/send-ton-button.stories.js.map +0 -1
- package/dist/features/balances/components/send-ton-button/send-ton-button.stories.mjs +0 -44
- package/dist/features/balances/components/send-ton-button/send-ton-button.stories.mjs.map +0 -1
- package/dist/features/balances/hooks/use-balance-by-address.d.ts.map +0 -1
- package/dist/features/balances/hooks/use-balance-by-address.js +0 -14
- package/dist/features/balances/hooks/use-balance-by-address.js.map +0 -1
- package/dist/features/balances/hooks/use-balance-by-address.mjs +0 -12
- package/dist/features/balances/hooks/use-balance-by-address.mjs.map +0 -1
- package/dist/features/balances/hooks/use-balance.d.ts.map +0 -1
- package/dist/features/balances/hooks/use-balance.js +0 -13
- package/dist/features/balances/hooks/use-balance.js.map +0 -1
- package/dist/features/balances/hooks/use-balance.mjs +0 -11
- package/dist/features/balances/hooks/use-balance.mjs.map +0 -1
- package/dist/features/balances/index.d.ts.map +0 -1
- package/dist/features/balances/index.js +0 -49
- package/dist/features/balances/index.js.map +0 -1
- package/dist/features/balances/index.mjs.map +0 -1
- package/dist/features/jettons/hooks/use-jetton-balance-by-address.d.ts.map +0 -1
- package/dist/features/jettons/hooks/use-jetton-balance-by-address.js +0 -14
- package/dist/features/jettons/hooks/use-jetton-balance-by-address.js.map +0 -1
- package/dist/features/jettons/hooks/use-jetton-balance-by-address.mjs +0 -12
- package/dist/features/jettons/hooks/use-jetton-balance-by-address.mjs.map +0 -1
- package/dist/features/jettons/hooks/use-jetton-info.d.ts.map +0 -1
- package/dist/features/jettons/hooks/use-jetton-info.js +0 -14
- package/dist/features/jettons/hooks/use-jetton-info.js.map +0 -1
- package/dist/features/jettons/hooks/use-jetton-info.mjs +0 -12
- package/dist/features/jettons/hooks/use-jetton-info.mjs.map +0 -1
- package/dist/features/jettons/hooks/use-jetton-wallet-address.d.ts.map +0 -1
- package/dist/features/jettons/hooks/use-jetton-wallet-address.js +0 -14
- package/dist/features/jettons/hooks/use-jetton-wallet-address.js.map +0 -1
- package/dist/features/jettons/hooks/use-jetton-wallet-address.mjs +0 -12
- package/dist/features/jettons/hooks/use-jetton-wallet-address.mjs.map +0 -1
- package/dist/features/jettons/hooks/use-jettons-by-address.d.ts.map +0 -1
- package/dist/features/jettons/hooks/use-jettons-by-address.js +0 -14
- package/dist/features/jettons/hooks/use-jettons-by-address.js.map +0 -1
- package/dist/features/jettons/hooks/use-jettons-by-address.mjs +0 -12
- package/dist/features/jettons/hooks/use-jettons-by-address.mjs.map +0 -1
- package/dist/features/jettons/hooks/use-jettons.d.ts.map +0 -1
- package/dist/features/jettons/hooks/use-jettons.js +0 -13
- package/dist/features/jettons/hooks/use-jettons.js.map +0 -1
- package/dist/features/jettons/hooks/use-jettons.mjs +0 -11
- package/dist/features/jettons/hooks/use-jettons.mjs.map +0 -1
- package/dist/features/jettons/hooks/use-transfer-jetton.d.ts.map +0 -1
- package/dist/features/jettons/hooks/use-transfer-jetton.js +0 -14
- package/dist/features/jettons/hooks/use-transfer-jetton.js.map +0 -1
- package/dist/features/jettons/hooks/use-transfer-jetton.mjs +0 -12
- package/dist/features/jettons/hooks/use-transfer-jetton.mjs.map +0 -1
- package/dist/features/jettons/index.d.ts.map +0 -1
- package/dist/features/jettons/index.js +0 -49
- package/dist/features/jettons/index.js.map +0 -1
- package/dist/features/jettons/index.mjs.map +0 -1
- package/dist/features/network/hooks/use-network.d.ts.map +0 -1
- package/dist/features/network/hooks/use-network.js +0 -13
- package/dist/features/network/hooks/use-network.js.map +0 -1
- package/dist/features/network/hooks/use-network.mjs +0 -11
- package/dist/features/network/hooks/use-network.mjs.map +0 -1
- package/dist/features/network/hooks/use-networks.d.ts.map +0 -1
- package/dist/features/network/hooks/use-networks.js +0 -23
- package/dist/features/network/hooks/use-networks.js.map +0 -1
- package/dist/features/network/hooks/use-networks.mjs +0 -21
- package/dist/features/network/hooks/use-networks.mjs.map +0 -1
- package/dist/features/network/index.d.ts.map +0 -1
- package/dist/features/network/index.js +0 -17
- package/dist/features/network/index.js.map +0 -1
- package/dist/features/network/index.mjs +0 -4
- package/dist/features/network/index.mjs.map +0 -1
- package/dist/features/nft/components/nft-item/index.d.ts.map +0 -1
- package/dist/features/nft/components/nft-item/index.js +0 -14
- package/dist/features/nft/components/nft-item/index.js.map +0 -1
- package/dist/features/nft/components/nft-item/index.mjs +0 -3
- package/dist/features/nft/components/nft-item/index.mjs.map +0 -1
- package/dist/features/nft/components/nft-item/nft-item.d.ts.map +0 -1
- package/dist/features/nft/components/nft-item/nft-item.js +0 -43
- package/dist/features/nft/components/nft-item/nft-item.js.map +0 -1
- package/dist/features/nft/components/nft-item/nft-item.mjs +0 -36
- package/dist/features/nft/components/nft-item/nft-item.mjs.map +0 -1
- package/dist/features/nft/components/nft-item/nft-item.module.css +0 -65
- package/dist/features/nft/components/nft-item/nft-item.module.css.map +0 -1
- package/dist/features/nft/components/nft-item/nft-item.stories.d.ts.map +0 -1
- package/dist/features/nft/components/nft-item/nft-item.stories.js +0 -124
- package/dist/features/nft/components/nft-item/nft-item.stories.js.map +0 -1
- package/dist/features/nft/components/nft-item/nft-item.stories.mjs +0 -110
- package/dist/features/nft/components/nft-item/nft-item.stories.mjs.map +0 -1
- package/dist/features/nft/hooks/use-nft.d.ts.map +0 -1
- package/dist/features/nft/hooks/use-nft.js +0 -14
- package/dist/features/nft/hooks/use-nft.js.map +0 -1
- package/dist/features/nft/hooks/use-nft.mjs +0 -12
- package/dist/features/nft/hooks/use-nft.mjs.map +0 -1
- package/dist/features/nft/hooks/use-nfts-by-address.d.ts.map +0 -1
- package/dist/features/nft/hooks/use-nfts-by-address.js +0 -14
- package/dist/features/nft/hooks/use-nfts-by-address.js.map +0 -1
- package/dist/features/nft/hooks/use-nfts-by-address.mjs +0 -12
- package/dist/features/nft/hooks/use-nfts-by-address.mjs.map +0 -1
- package/dist/features/nft/hooks/use-nfts.d.ts.map +0 -1
- package/dist/features/nft/hooks/use-nfts.js +0 -13
- package/dist/features/nft/hooks/use-nfts.js.map +0 -1
- package/dist/features/nft/hooks/use-nfts.mjs +0 -11
- package/dist/features/nft/hooks/use-nfts.mjs.map +0 -1
- package/dist/features/nft/hooks/use-transfer-nft.d.ts.map +0 -1
- package/dist/features/nft/hooks/use-transfer-nft.js +0 -14
- package/dist/features/nft/hooks/use-transfer-nft.js.map +0 -1
- package/dist/features/nft/hooks/use-transfer-nft.mjs +0 -12
- package/dist/features/nft/hooks/use-transfer-nft.mjs.map +0 -1
- package/dist/features/nft/index.d.ts.map +0 -1
- package/dist/features/nft/index.js +0 -42
- package/dist/features/nft/index.js.map +0 -1
- package/dist/features/nft/index.mjs.map +0 -1
- package/dist/features/signing/hooks/use-sign-binary.d.ts.map +0 -1
- package/dist/features/signing/hooks/use-sign-binary.js +0 -14
- package/dist/features/signing/hooks/use-sign-binary.js.map +0 -1
- package/dist/features/signing/hooks/use-sign-binary.mjs +0 -12
- package/dist/features/signing/hooks/use-sign-binary.mjs.map +0 -1
- package/dist/features/signing/hooks/use-sign-cell.d.ts.map +0 -1
- package/dist/features/signing/hooks/use-sign-cell.js +0 -14
- package/dist/features/signing/hooks/use-sign-cell.js.map +0 -1
- package/dist/features/signing/hooks/use-sign-cell.mjs +0 -12
- package/dist/features/signing/hooks/use-sign-cell.mjs.map +0 -1
- package/dist/features/signing/hooks/use-sign-text.d.ts.map +0 -1
- package/dist/features/signing/hooks/use-sign-text.js +0 -14
- package/dist/features/signing/hooks/use-sign-text.js.map +0 -1
- package/dist/features/signing/hooks/use-sign-text.mjs +0 -12
- package/dist/features/signing/hooks/use-sign-text.mjs.map +0 -1
- package/dist/features/signing/index.d.ts.map +0 -1
- package/dist/features/signing/index.js +0 -28
- package/dist/features/signing/index.js.map +0 -1
- package/dist/features/signing/index.mjs +0 -5
- package/dist/features/signing/index.mjs.map +0 -1
- package/dist/features/swap/hooks/use-build-swap-transaction.d.ts.map +0 -1
- package/dist/features/swap/hooks/use-build-swap-transaction.js +0 -14
- package/dist/features/swap/hooks/use-build-swap-transaction.js.map +0 -1
- package/dist/features/swap/hooks/use-build-swap-transaction.mjs +0 -12
- package/dist/features/swap/hooks/use-build-swap-transaction.mjs.map +0 -1
- package/dist/features/swap/hooks/use-swap-quote.d.ts.map +0 -1
- package/dist/features/swap/hooks/use-swap-quote.js +0 -14
- package/dist/features/swap/hooks/use-swap-quote.js.map +0 -1
- package/dist/features/swap/hooks/use-swap-quote.mjs +0 -12
- package/dist/features/swap/hooks/use-swap-quote.mjs.map +0 -1
- package/dist/features/swap/index.d.ts.map +0 -1
- package/dist/features/swap/index.js +0 -21
- package/dist/features/swap/index.js.map +0 -1
- package/dist/features/swap/index.mjs +0 -4
- package/dist/features/swap/index.mjs.map +0 -1
- package/dist/features/transaction/components/transaction/index.d.ts.map +0 -1
- package/dist/features/transaction/components/transaction/index.js +0 -12
- package/dist/features/transaction/components/transaction/index.js.map +0 -1
- package/dist/features/transaction/components/transaction/index.mjs +0 -3
- package/dist/features/transaction/components/transaction/index.mjs.map +0 -1
- package/dist/features/transaction/components/transaction/transaction.d.ts.map +0 -1
- package/dist/features/transaction/components/transaction/transaction.js +0 -49
- package/dist/features/transaction/components/transaction/transaction.js.map +0 -1
- package/dist/features/transaction/components/transaction/transaction.mjs +0 -47
- package/dist/features/transaction/components/transaction/transaction.mjs.map +0 -1
- package/dist/features/transaction/components/transaction/transaction.stories.d.ts.map +0 -1
- package/dist/features/transaction/components/transaction/transaction.stories.js +0 -64
- package/dist/features/transaction/components/transaction/transaction.stories.js.map +0 -1
- package/dist/features/transaction/components/transaction/transaction.stories.mjs +0 -54
- package/dist/features/transaction/components/transaction/transaction.stories.mjs.map +0 -1
- package/dist/features/transaction/components/transaction-provider/index.d.ts.map +0 -1
- package/dist/features/transaction/components/transaction-provider/index.js +0 -20
- package/dist/features/transaction/components/transaction-provider/index.js.map +0 -1
- package/dist/features/transaction/components/transaction-provider/index.mjs +0 -3
- package/dist/features/transaction/components/transaction-provider/index.mjs.map +0 -1
- package/dist/features/transaction/components/transaction-provider/transaction-provider.d.ts.map +0 -1
- package/dist/features/transaction/components/transaction-provider/transaction-provider.js +0 -76
- package/dist/features/transaction/components/transaction-provider/transaction-provider.js.map +0 -1
- package/dist/features/transaction/components/transaction-provider/transaction-provider.mjs +0 -72
- package/dist/features/transaction/components/transaction-provider/transaction-provider.mjs.map +0 -1
- package/dist/features/transaction/hooks/use-send-transaction.d.ts.map +0 -1
- package/dist/features/transaction/hooks/use-send-transaction.js +0 -14
- package/dist/features/transaction/hooks/use-send-transaction.js.map +0 -1
- package/dist/features/transaction/hooks/use-send-transaction.mjs +0 -12
- package/dist/features/transaction/hooks/use-send-transaction.mjs.map +0 -1
- package/dist/features/transaction/hooks/use-transfer-ton.d.ts.map +0 -1
- package/dist/features/transaction/hooks/use-transfer-ton.js +0 -14
- package/dist/features/transaction/hooks/use-transfer-ton.js.map +0 -1
- package/dist/features/transaction/hooks/use-transfer-ton.mjs +0 -12
- package/dist/features/transaction/hooks/use-transfer-ton.mjs.map +0 -1
- package/dist/features/transaction/index.d.ts.map +0 -1
- package/dist/features/transaction/index.js +0 -28
- package/dist/features/transaction/index.js.map +0 -1
- package/dist/features/transaction/index.mjs +0 -5
- package/dist/features/transaction/index.mjs.map +0 -1
- package/dist/features/wallets/components/connect-button/index.d.ts.map +0 -1
- package/dist/features/wallets/components/connect-button/index.js +0 -12
- package/dist/features/wallets/components/connect-button/index.js.map +0 -1
- package/dist/features/wallets/components/connect-button/index.mjs +0 -3
- package/dist/features/wallets/components/connect-button/index.mjs.map +0 -1
- package/dist/features/wallets/hooks/use-address.d.ts.map +0 -1
- package/dist/features/wallets/hooks/use-address.js +0 -13
- package/dist/features/wallets/hooks/use-address.js.map +0 -1
- package/dist/features/wallets/hooks/use-address.mjs +0 -11
- package/dist/features/wallets/hooks/use-address.mjs.map +0 -1
- package/dist/features/wallets/hooks/use-connect.d.ts.map +0 -1
- package/dist/features/wallets/hooks/use-connect.js +0 -14
- package/dist/features/wallets/hooks/use-connect.js.map +0 -1
- package/dist/features/wallets/hooks/use-connect.mjs +0 -12
- package/dist/features/wallets/hooks/use-connect.mjs.map +0 -1
- package/dist/features/wallets/hooks/use-connected-wallets.d.ts.map +0 -1
- package/dist/features/wallets/hooks/use-connected-wallets.js +0 -23
- package/dist/features/wallets/hooks/use-connected-wallets.js.map +0 -1
- package/dist/features/wallets/hooks/use-connected-wallets.mjs +0 -21
- package/dist/features/wallets/hooks/use-connected-wallets.mjs.map +0 -1
- package/dist/features/wallets/hooks/use-connector-by-id.d.ts.map +0 -1
- package/dist/features/wallets/hooks/use-connector-by-id.js +0 -23
- package/dist/features/wallets/hooks/use-connector-by-id.js.map +0 -1
- package/dist/features/wallets/hooks/use-connector-by-id.mjs +0 -21
- package/dist/features/wallets/hooks/use-connector-by-id.mjs.map +0 -1
- package/dist/features/wallets/hooks/use-connectors.d.ts.map +0 -1
- package/dist/features/wallets/hooks/use-connectors.js +0 -23
- package/dist/features/wallets/hooks/use-connectors.js.map +0 -1
- package/dist/features/wallets/hooks/use-connectors.mjs +0 -21
- package/dist/features/wallets/hooks/use-connectors.mjs.map +0 -1
- package/dist/features/wallets/hooks/use-disconnect.d.ts.map +0 -1
- package/dist/features/wallets/hooks/use-disconnect.js +0 -14
- package/dist/features/wallets/hooks/use-disconnect.js.map +0 -1
- package/dist/features/wallets/hooks/use-disconnect.mjs +0 -12
- package/dist/features/wallets/hooks/use-disconnect.mjs.map +0 -1
- package/dist/features/wallets/hooks/use-selected-wallet.d.ts.map +0 -1
- package/dist/features/wallets/hooks/use-selected-wallet.js +0 -30
- package/dist/features/wallets/hooks/use-selected-wallet.js.map +0 -1
- package/dist/features/wallets/hooks/use-selected-wallet.mjs +0 -28
- package/dist/features/wallets/hooks/use-selected-wallet.mjs.map +0 -1
- package/dist/features/wallets/index.d.ts.map +0 -1
- package/dist/features/wallets/index.js +0 -63
- package/dist/features/wallets/index.js.map +0 -1
- package/dist/features/wallets/index.mjs.map +0 -1
- package/dist/global.d.js +0 -4
- package/dist/global.d.js.map +0 -1
- package/dist/global.d.mjs +0 -3
- package/dist/global.d.mjs.map +0 -1
- package/dist/hooks/use-app-kit-theme.d.ts.map +0 -1
- package/dist/hooks/use-app-kit-theme.js +0 -16
- package/dist/hooks/use-app-kit-theme.js.map +0 -1
- package/dist/hooks/use-app-kit-theme.mjs +0 -14
- package/dist/hooks/use-app-kit-theme.mjs.map +0 -1
- package/dist/hooks/use-app-kit.d.ts.map +0 -1
- package/dist/hooks/use-app-kit.js +0 -16
- package/dist/hooks/use-app-kit.js.map +0 -1
- package/dist/hooks/use-app-kit.mjs +0 -14
- package/dist/hooks/use-app-kit.mjs.map +0 -1
- package/dist/hooks/use-i18n.d.ts.map +0 -1
- package/dist/hooks/use-i18n.js +0 -16
- package/dist/hooks/use-i18n.js.map +0 -1
- package/dist/hooks/use-i18n.mjs +0 -14
- package/dist/hooks/use-i18n.mjs.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -123
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/libs/i18n.d.ts.map +0 -1
- package/dist/libs/i18n.js +0 -22
- package/dist/libs/i18n.js.map +0 -1
- package/dist/libs/i18n.mjs +0 -11
- package/dist/libs/i18n.mjs.map +0 -1
- package/dist/libs/query.d.ts.map +0 -1
- package/dist/libs/query.js +0 -20
- package/dist/libs/query.js.map +0 -1
- package/dist/libs/query.mjs +0 -15
- package/dist/libs/query.mjs.map +0 -1
- package/dist/locales/en.d.ts.map +0 -1
- package/dist/locales/en.js +0 -30
- package/dist/locales/en.js.map +0 -1
- package/dist/locales/en.mjs +0 -28
- package/dist/locales/en.mjs.map +0 -1
- package/dist/providers/app-kit-provider.d.ts.map +0 -1
- package/dist/providers/app-kit-provider.js +0 -16
- package/dist/providers/app-kit-provider.js.map +0 -1
- package/dist/providers/app-kit-provider.mjs +0 -13
- package/dist/providers/app-kit-provider.mjs.map +0 -1
- package/dist/providers/i18n-provider.d.ts.map +0 -1
- package/dist/providers/i18n-provider.js +0 -55
- package/dist/providers/i18n-provider.js.map +0 -1
- package/dist/providers/i18n-provider.mjs +0 -52
- package/dist/providers/i18n-provider.mjs.map +0 -1
- package/dist/styles/index.css.map +0 -1
- package/dist/styles/typography.module.css.map +0 -1
- package/dist/tonconnect/tonconnect-bridge.d.ts.map +0 -1
- package/dist/tonconnect/tonconnect-bridge.js +0 -23
- package/dist/tonconnect/tonconnect-bridge.js.map +0 -1
- package/dist/tonconnect/tonconnect-bridge.mjs +0 -21
- package/dist/tonconnect/tonconnect-bridge.mjs.map +0 -1
- /package/dist/{components → types/components}/block/block.d.ts +0 -0
- /package/dist/{components → types/components}/block/block.stories.d.ts +0 -0
- /package/dist/{components → types/components}/block/index.d.ts +0 -0
- /package/dist/{components → types/components}/button/button.d.ts +0 -0
- /package/dist/{components → types/components}/button/button.stories.d.ts +0 -0
- /package/dist/{components → types/components}/button/index.d.ts +0 -0
- /package/dist/{components → types/components}/circle-icon/circle-icon.d.ts +0 -0
- /package/dist/{components → types/components}/circle-icon/circle-icon.stories.d.ts +0 -0
- /package/dist/{components → types/components}/circle-icon/index.d.ts +0 -0
- /package/dist/{components → types/components}/ton-icon/index.d.ts +0 -0
- /package/dist/{components → types/components}/ton-icon/ton-icon.d.ts +0 -0
- /package/dist/{components → types/components}/ton-icon/ton-icon.stories.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/balance-badge/balance-badge.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/balance-badge/balance-badge.stories.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/balance-badge/index.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/currency-item/currency-item.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/currency-item/currency-item.stories.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/currency-item/index.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/send-jetton-button/index.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/send-jetton-button/send-jetton-button.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/send-jetton-button/send-jetton-button.stories.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/send-ton-button/index.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/send-ton-button/send-ton-button.d.ts +0 -0
- /package/dist/{features → types/features}/balances/components/send-ton-button/send-ton-button.stories.d.ts +0 -0
- /package/dist/{features → types/features}/balances/hooks/use-balance-by-address.d.ts +0 -0
- /package/dist/{features → types/features}/balances/hooks/use-balance.d.ts +0 -0
- /package/dist/{features → types/features}/balances/index.d.ts +0 -0
- /package/dist/{features → types/features}/jettons/hooks/use-jetton-balance-by-address.d.ts +0 -0
- /package/dist/{features → types/features}/jettons/hooks/use-jetton-info.d.ts +0 -0
- /package/dist/{features → types/features}/jettons/hooks/use-jetton-wallet-address.d.ts +0 -0
- /package/dist/{features → types/features}/jettons/hooks/use-jettons-by-address.d.ts +0 -0
- /package/dist/{features → types/features}/jettons/hooks/use-jettons.d.ts +0 -0
- /package/dist/{features → types/features}/jettons/hooks/use-transfer-jetton.d.ts +0 -0
- /package/dist/{features → types/features}/jettons/index.d.ts +0 -0
- /package/dist/{features → types/features}/network/hooks/use-network.d.ts +0 -0
- /package/dist/{features → types/features}/network/hooks/use-networks.d.ts +0 -0
- /package/dist/{features → types/features}/network/index.d.ts +0 -0
- /package/dist/{features → types/features}/nft/components/nft-item/index.d.ts +0 -0
- /package/dist/{features → types/features}/nft/components/nft-item/nft-item.d.ts +0 -0
- /package/dist/{features → types/features}/nft/components/nft-item/nft-item.stories.d.ts +0 -0
- /package/dist/{features → types/features}/nft/hooks/use-nft.d.ts +0 -0
- /package/dist/{features → types/features}/nft/hooks/use-nfts-by-address.d.ts +0 -0
- /package/dist/{features → types/features}/nft/hooks/use-nfts.d.ts +0 -0
- /package/dist/{features → types/features}/nft/hooks/use-transfer-nft.d.ts +0 -0
- /package/dist/{features → types/features}/nft/index.d.ts +0 -0
- /package/dist/{features → types/features}/signing/hooks/use-sign-binary.d.ts +0 -0
- /package/dist/{features → types/features}/signing/hooks/use-sign-cell.d.ts +0 -0
- /package/dist/{features → types/features}/signing/hooks/use-sign-text.d.ts +0 -0
- /package/dist/{features → types/features}/signing/index.d.ts +0 -0
- /package/dist/{features → types/features}/swap/hooks/use-build-swap-transaction.d.ts +0 -0
- /package/dist/{features → types/features}/swap/hooks/use-swap-quote.d.ts +0 -0
- /package/dist/{features → types/features}/swap/index.d.ts +0 -0
- /package/dist/{features → types/features}/transaction/components/transaction/index.d.ts +0 -0
- /package/dist/{features → types/features}/transaction/components/transaction/transaction.d.ts +0 -0
- /package/dist/{features → types/features}/transaction/components/transaction/transaction.stories.d.ts +0 -0
- /package/dist/{features → types/features}/transaction/components/transaction-provider/index.d.ts +0 -0
- /package/dist/{features → types/features}/transaction/components/transaction-provider/transaction-provider.d.ts +0 -0
- /package/dist/{features → types/features}/transaction/hooks/use-send-transaction.d.ts +0 -0
- /package/dist/{features → types/features}/transaction/hooks/use-transfer-ton.d.ts +0 -0
- /package/dist/{features → types/features}/transaction/index.d.ts +0 -0
- /package/dist/{features → types/features}/wallets/components/connect-button/index.d.ts +0 -0
- /package/dist/{features → types/features}/wallets/hooks/use-address.d.ts +0 -0
- /package/dist/{features → types/features}/wallets/hooks/use-connect.d.ts +0 -0
- /package/dist/{features → types/features}/wallets/hooks/use-connected-wallets.d.ts +0 -0
- /package/dist/{features → types/features}/wallets/hooks/use-connector-by-id.d.ts +0 -0
- /package/dist/{features → types/features}/wallets/hooks/use-connectors.d.ts +0 -0
- /package/dist/{features → types/features}/wallets/hooks/use-disconnect.d.ts +0 -0
- /package/dist/{features → types/features}/wallets/hooks/use-selected-wallet.d.ts +0 -0
- /package/dist/{features → types/features}/wallets/index.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/use-app-kit-theme.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/use-app-kit.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/use-i18n.d.ts +0 -0
- /package/dist/{index.d.ts → types/index.d.ts} +0 -0
- /package/dist/{libs → types/libs}/i18n.d.ts +0 -0
- /package/dist/{libs → types/libs}/query.d.ts +0 -0
- /package/dist/{locales → types/locales}/en.d.ts +0 -0
- /package/dist/{providers → types/providers}/app-kit-provider.d.ts +0 -0
- /package/dist/{providers → types/providers}/i18n-provider.d.ts +0 -0
- /package/dist/{tonconnect → types/tonconnect}/tonconnect-bridge.d.ts +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { BalanceBadge } from './balance-badge';
|
|
3
|
-
|
|
4
|
-
const meta = {
|
|
5
|
-
title: "Public/Features/Balances/BalanceBadge",
|
|
6
|
-
tags: ["autodocs"],
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: "centered"
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
var balance_badge_stories_default = meta;
|
|
12
|
-
const TonBalance = {
|
|
13
|
-
render: () => /* @__PURE__ */ jsxs(BalanceBadge.Container, { children: [
|
|
14
|
-
/* @__PURE__ */ jsx(BalanceBadge.Icon, { src: "https://ton.org/download/ton_symbol.png", alt: "TON", size: 40 }),
|
|
15
|
-
/* @__PURE__ */ jsxs(BalanceBadge.BalanceBlock, { children: [
|
|
16
|
-
/* @__PURE__ */ jsx(BalanceBadge.Balance, { balance: "1500000000", decimals: 9 }),
|
|
17
|
-
/* @__PURE__ */ jsx(BalanceBadge.Symbol, { symbol: "TON" })
|
|
18
|
-
] })
|
|
19
|
-
] })
|
|
20
|
-
};
|
|
21
|
-
const JettonBalance = {
|
|
22
|
-
render: () => /* @__PURE__ */ jsxs(BalanceBadge.Container, { children: [
|
|
23
|
-
/* @__PURE__ */ jsx(BalanceBadge.Icon, { fallback: "U", alt: "USDT", size: 40 }),
|
|
24
|
-
/* @__PURE__ */ jsxs(BalanceBadge.BalanceBlock, { children: [
|
|
25
|
-
/* @__PURE__ */ jsx(BalanceBadge.Balance, { balance: "100000000", decimals: 6 }),
|
|
26
|
-
/* @__PURE__ */ jsx(BalanceBadge.Symbol, { symbol: "USDT" })
|
|
27
|
-
] })
|
|
28
|
-
] })
|
|
29
|
-
};
|
|
30
|
-
const ZeroBalance = {
|
|
31
|
-
render: () => /* @__PURE__ */ jsxs(BalanceBadge.Container, { children: [
|
|
32
|
-
/* @__PURE__ */ jsx(BalanceBadge.Icon, { src: "https://ton.org/download/ton_symbol.png", alt: "TON", size: 40 }),
|
|
33
|
-
/* @__PURE__ */ jsxs(BalanceBadge.BalanceBlock, { children: [
|
|
34
|
-
/* @__PURE__ */ jsx(BalanceBadge.Balance, { balance: "", decimals: 9 }),
|
|
35
|
-
/* @__PURE__ */ jsx(BalanceBadge.Symbol, { symbol: "TON" })
|
|
36
|
-
] })
|
|
37
|
-
] })
|
|
38
|
-
};
|
|
39
|
-
const LargeBalance = {
|
|
40
|
-
render: () => /* @__PURE__ */ jsxs(BalanceBadge.Container, { children: [
|
|
41
|
-
/* @__PURE__ */ jsx(BalanceBadge.Icon, { src: "https://ton.org/download/ton_symbol.png", alt: "TON", size: 40 }),
|
|
42
|
-
/* @__PURE__ */ jsxs(BalanceBadge.BalanceBlock, { children: [
|
|
43
|
-
/* @__PURE__ */ jsx(BalanceBadge.Balance, { balance: "999999999999999999", decimals: 9 }),
|
|
44
|
-
/* @__PURE__ */ jsx(BalanceBadge.Symbol, { symbol: "TON" })
|
|
45
|
-
] })
|
|
46
|
-
] })
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export { JettonBalance, LargeBalance, TonBalance, ZeroBalance, balance_badge_stories_default as default };
|
|
50
|
-
//# sourceMappingURL=balance-badge.stories.mjs.map
|
|
51
|
-
//# sourceMappingURL=balance-badge.stories.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/balance-badge/balance-badge.stories.tsx"],"names":[],"mappings":";;;AAYA,MAAM,IAAA,GAAa;AAAA,EACf,KAAA,EAAO,uCAAA;AAAA,EACP,IAAA,EAAM,CAAC,UAAU,CAAA;AAAA,EACjB,UAAA,EAAY;AAAA,IACR,MAAA,EAAQ;AAAA;AAEhB,CAAA;AAEA,IAAO,6BAAA,GAAQ;AAIR,MAAM,UAAA,GAAoB;AAAA,EAC7B,MAAA,EAAQ,sBACJ,IAAA,CAAC,YAAA,CAAa,WAAb,EACG,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,YAAA,CAAa,MAAb,EAAkB,GAAA,EAAI,2CAA0C,GAAA,EAAI,KAAA,EAAM,MAAM,EAAA,EAAI,CAAA;AAAA,oBACrF,IAAA,CAAC,YAAA,CAAa,YAAA,EAAb,EACG,QAAA,EAAA;AAAA,sBAAA,GAAA,CAAC,aAAa,OAAA,EAAb,EAAqB,OAAA,EAAQ,YAAA,EAAa,UAAU,CAAA,EAAG,CAAA;AAAA,sBACxD,GAAA,CAAC,YAAA,CAAa,MAAA,EAAb,EAAoB,QAAO,KAAA,EAAM;AAAA,KAAA,EACtC;AAAA,GAAA,EACJ;AAER;AAEO,MAAM,aAAA,GAAuB;AAAA,EAChC,MAAA,EAAQ,sBACJ,IAAA,CAAC,YAAA,CAAa,WAAb,EACG,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,YAAA,CAAa,MAAb,EAAkB,QAAA,EAAS,KAAI,GAAA,EAAI,MAAA,EAAO,MAAM,EAAA,EAAI,CAAA;AAAA,oBACrD,IAAA,CAAC,YAAA,CAAa,YAAA,EAAb,EACG,QAAA,EAAA;AAAA,sBAAA,GAAA,CAAC,aAAa,OAAA,EAAb,EAAqB,OAAA,EAAQ,WAAA,EAAY,UAAU,CAAA,EAAG,CAAA;AAAA,sBACvD,GAAA,CAAC,YAAA,CAAa,MAAA,EAAb,EAAoB,QAAO,MAAA,EAAO;AAAA,KAAA,EACvC;AAAA,GAAA,EACJ;AAER;AAEO,MAAM,WAAA,GAAqB;AAAA,EAC9B,MAAA,EAAQ,sBACJ,IAAA,CAAC,YAAA,CAAa,WAAb,EACG,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,YAAA,CAAa,MAAb,EAAkB,GAAA,EAAI,2CAA0C,GAAA,EAAI,KAAA,EAAM,MAAM,EAAA,EAAI,CAAA;AAAA,oBACrF,IAAA,CAAC,YAAA,CAAa,YAAA,EAAb,EACG,QAAA,EAAA;AAAA,sBAAA,GAAA,CAAC,aAAa,OAAA,EAAb,EAAqB,OAAA,EAAQ,EAAA,EAAG,UAAU,CAAA,EAAG,CAAA;AAAA,sBAC9C,GAAA,CAAC,YAAA,CAAa,MAAA,EAAb,EAAoB,QAAO,KAAA,EAAM;AAAA,KAAA,EACtC;AAAA,GAAA,EACJ;AAER;AAEO,MAAM,YAAA,GAAsB;AAAA,EAC/B,MAAA,EAAQ,sBACJ,IAAA,CAAC,YAAA,CAAa,WAAb,EACG,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,YAAA,CAAa,MAAb,EAAkB,GAAA,EAAI,2CAA0C,GAAA,EAAI,KAAA,EAAM,MAAM,EAAA,EAAI,CAAA;AAAA,oBACrF,IAAA,CAAC,YAAA,CAAa,YAAA,EAAb,EACG,QAAA,EAAA;AAAA,sBAAA,GAAA,CAAC,aAAa,OAAA,EAAb,EAAqB,OAAA,EAAQ,oBAAA,EAAqB,UAAU,CAAA,EAAG,CAAA;AAAA,sBAChE,GAAA,CAAC,YAAA,CAAa,MAAA,EAAb,EAAoB,QAAO,KAAA,EAAM;AAAA,KAAA,EACtC;AAAA,GAAA,EACJ;AAER","file":"balance-badge.stories.mjs","sourcesContent":["/**\n * Copyright (c) TonTech.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type { Meta, StoryObj } from '@storybook/react';\n\nimport { BalanceBadge } from './balance-badge';\n\nconst meta: Meta = {\n title: 'Public/Features/Balances/BalanceBadge',\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj;\n\nexport const TonBalance: Story = {\n render: () => (\n <BalanceBadge.Container>\n <BalanceBadge.Icon src=\"https://ton.org/download/ton_symbol.png\" alt=\"TON\" size={40} />\n <BalanceBadge.BalanceBlock>\n <BalanceBadge.Balance balance=\"1500000000\" decimals={9} />\n <BalanceBadge.Symbol symbol=\"TON\" />\n </BalanceBadge.BalanceBlock>\n </BalanceBadge.Container>\n ),\n};\n\nexport const JettonBalance: Story = {\n render: () => (\n <BalanceBadge.Container>\n <BalanceBadge.Icon fallback=\"U\" alt=\"USDT\" size={40} />\n <BalanceBadge.BalanceBlock>\n <BalanceBadge.Balance balance=\"100000000\" decimals={6} />\n <BalanceBadge.Symbol symbol=\"USDT\" />\n </BalanceBadge.BalanceBlock>\n </BalanceBadge.Container>\n ),\n};\n\nexport const ZeroBalance: Story = {\n render: () => (\n <BalanceBadge.Container>\n <BalanceBadge.Icon src=\"https://ton.org/download/ton_symbol.png\" alt=\"TON\" size={40} />\n <BalanceBadge.BalanceBlock>\n <BalanceBadge.Balance balance=\"\" decimals={9} />\n <BalanceBadge.Symbol symbol=\"TON\" />\n </BalanceBadge.BalanceBlock>\n </BalanceBadge.Container>\n ),\n};\n\nexport const LargeBalance: Story = {\n render: () => (\n <BalanceBadge.Container>\n <BalanceBadge.Icon src=\"https://ton.org/download/ton_symbol.png\" alt=\"TON\" size={40} />\n <BalanceBadge.BalanceBlock>\n <BalanceBadge.Balance balance=\"999999999999999999\" decimals={9} />\n <BalanceBadge.Symbol symbol=\"TON\" />\n </BalanceBadge.BalanceBlock>\n </BalanceBadge.Container>\n ),\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var balanceBadge = require('./balance-badge');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "BalanceBadge", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return balanceBadge.BalanceBadge; }
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var clsx = require('clsx');
|
|
5
|
-
var circleIcon = require('../../../../components/circle-icon');
|
|
6
|
-
var styles = require('./currency-item.module.css');
|
|
7
|
-
|
|
8
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
|
|
10
|
-
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
11
|
-
var styles__default = /*#__PURE__*/_interopDefault(styles);
|
|
12
|
-
|
|
13
|
-
const CurrencyItem = ({
|
|
14
|
-
ticker,
|
|
15
|
-
name,
|
|
16
|
-
balance,
|
|
17
|
-
icon,
|
|
18
|
-
isVerified,
|
|
19
|
-
className,
|
|
20
|
-
...props
|
|
21
|
-
}) => {
|
|
22
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("button", { className: clsx__default.default(styles__default.default.currencyItem, className), ...props, children: [
|
|
23
|
-
/* @__PURE__ */ jsxRuntime.jsx(circleIcon.CircleIcon, { className: styles__default.default.icon, size: 40, src: icon, fallback: ticker[0], alt: ticker }),
|
|
24
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles__default.default.info, children: [
|
|
25
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles__default.default.header, children: [
|
|
26
|
-
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: styles__default.default.name, children: name || ticker }),
|
|
27
|
-
isVerified && /* @__PURE__ */ jsxRuntime.jsx("svg", { className: styles__default.default.verified, fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28
|
-
"path",
|
|
29
|
-
{
|
|
30
|
-
fillRule: "evenodd",
|
|
31
|
-
d: "M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
|
|
32
|
-
clipRule: "evenodd"
|
|
33
|
-
}
|
|
34
|
-
) })
|
|
35
|
-
] }),
|
|
36
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: styles__default.default.ticker, children: ticker })
|
|
37
|
-
] }),
|
|
38
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles__default.default.balance, children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: balance ?? "0" }) })
|
|
39
|
-
] });
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
exports.CurrencyItem = CurrencyItem;
|
|
43
|
-
//# sourceMappingURL=currency-item.js.map
|
|
44
|
-
//# sourceMappingURL=currency-item.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/currency-item/currency-item.tsx"],"names":["jsxs","clsx","styles","jsx","CircleIcon"],"mappings":";;;;;;;;;;;;AAsBO,MAAM,eAAsC,CAAC;AAAA,EAChD,MAAA;AAAA,EACA,IAAA;AAAA,EACA,OAAA;AAAA,EACA,IAAA;AAAA,EACA,UAAA;AAAA,EACA,SAAA;AAAA,EACA,GAAG;AACP,CAAA,KAAM;AACF,EAAA,uBACIA,eAAA,CAAC,YAAO,SAAA,EAAWC,qBAAA,CAAKC,wBAAO,YAAA,EAAc,SAAS,CAAA,EAAI,GAAG,KAAA,EACzD,QAAA,EAAA;AAAA,oBAAAC,cAAA,CAACC,qBAAA,EAAA,EAAW,SAAA,EAAWF,uBAAA,CAAO,IAAA,EAAM,IAAA,EAAM,EAAA,EAAI,GAAA,EAAK,IAAA,EAAM,QAAA,EAAU,MAAA,CAAO,CAAC,CAAA,EAAG,KAAK,MAAA,EAAQ,CAAA;AAAA,oBAE3FF,eAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAWE,uBAAA,CAAO,IAAA,EACnB,QAAA,EAAA;AAAA,sBAAAF,eAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAWE,uBAAA,CAAO,MAAA,EACnB,QAAA,EAAA;AAAA,wBAAAC,cAAA,CAAC,IAAA,EAAA,EAAG,SAAA,EAAWD,uBAAA,CAAO,IAAA,EAAO,kBAAQ,MAAA,EAAO,CAAA;AAAA,QAE3C,UAAA,mCACI,KAAA,EAAA,EAAI,SAAA,EAAWA,wBAAO,QAAA,EAAU,IAAA,EAAK,cAAA,EAAe,OAAA,EAAQ,WAAA,EACzD,QAAA,kBAAAC,cAAA;AAAA,UAAC,MAAA;AAAA,UAAA;AAAA,YACG,QAAA,EAAS,SAAA;AAAA,YACT,CAAA,EAAE,iiBAAA;AAAA,YACF,QAAA,EAAS;AAAA;AAAA,SACb,EACJ;AAAA,OAAA,EAER,CAAA;AAAA,sBAEAA,cAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAWD,uBAAA,CAAO,QAAS,QAAA,EAAA,MAAA,EAAO;AAAA,KAAA,EACzC,CAAA;AAAA,oBAEAC,cAAA,CAAC,SAAI,SAAA,EAAWD,uBAAA,CAAO,SACnB,QAAA,kBAAAC,cAAA,CAAC,GAAA,EAAA,EAAG,QAAA,EAAA,OAAA,IAAW,GAAA,EAAI,CAAA,EACvB;AAAA,GAAA,EACJ,CAAA;AAER","file":"currency-item.js","sourcesContent":["/**\n * Copyright (c) TonTech.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type { FC, ComponentProps } from 'react';\nimport clsx from 'clsx';\n\nimport { CircleIcon } from '../../../../components/circle-icon';\nimport styles from './currency-item.module.css';\n\nexport interface CurrencyItemProps extends ComponentProps<'button'> {\n ticker: string;\n name?: string;\n balance?: string;\n icon?: string;\n isVerified?: boolean;\n}\n\nexport const CurrencyItem: FC<CurrencyItemProps> = ({\n ticker,\n name,\n balance,\n icon,\n isVerified,\n className,\n ...props\n}) => {\n return (\n <button className={clsx(styles.currencyItem, className)} {...props}>\n <CircleIcon className={styles.icon} size={40} src={icon} fallback={ticker[0]} alt={ticker} />\n\n <div className={styles.info}>\n <div className={styles.header}>\n <h4 className={styles.name}>{name || ticker}</h4>\n\n {isVerified && (\n <svg className={styles.verified} fill=\"currentColor\" viewBox=\"0 0 20 20\">\n <path\n fillRule=\"evenodd\"\n d=\"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\"\n clipRule=\"evenodd\"\n />\n </svg>\n )}\n </div>\n\n <p className={styles.ticker}>{ticker}</p>\n </div>\n\n <div className={styles.balance}>\n <p>{balance ?? '0'}</p>\n </div>\n </button>\n );\n};\n"]}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import { CircleIcon } from '../../../../components/circle-icon';
|
|
4
|
-
import styles from './currency-item.module.css';
|
|
5
|
-
|
|
6
|
-
const CurrencyItem = ({
|
|
7
|
-
ticker,
|
|
8
|
-
name,
|
|
9
|
-
balance,
|
|
10
|
-
icon,
|
|
11
|
-
isVerified,
|
|
12
|
-
className,
|
|
13
|
-
...props
|
|
14
|
-
}) => {
|
|
15
|
-
return /* @__PURE__ */ jsxs("button", { className: clsx(styles.currencyItem, className), ...props, children: [
|
|
16
|
-
/* @__PURE__ */ jsx(CircleIcon, { className: styles.icon, size: 40, src: icon, fallback: ticker[0], alt: ticker }),
|
|
17
|
-
/* @__PURE__ */ jsxs("div", { className: styles.info, children: [
|
|
18
|
-
/* @__PURE__ */ jsxs("div", { className: styles.header, children: [
|
|
19
|
-
/* @__PURE__ */ jsx("h4", { className: styles.name, children: name || ticker }),
|
|
20
|
-
isVerified && /* @__PURE__ */ jsx("svg", { className: styles.verified, fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx(
|
|
21
|
-
"path",
|
|
22
|
-
{
|
|
23
|
-
fillRule: "evenodd",
|
|
24
|
-
d: "M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
|
|
25
|
-
clipRule: "evenodd"
|
|
26
|
-
}
|
|
27
|
-
) })
|
|
28
|
-
] }),
|
|
29
|
-
/* @__PURE__ */ jsx("p", { className: styles.ticker, children: ticker })
|
|
30
|
-
] }),
|
|
31
|
-
/* @__PURE__ */ jsx("div", { className: styles.balance, children: /* @__PURE__ */ jsx("p", { children: balance ?? "0" }) })
|
|
32
|
-
] });
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export { CurrencyItem };
|
|
36
|
-
//# sourceMappingURL=currency-item.mjs.map
|
|
37
|
-
//# sourceMappingURL=currency-item.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/currency-item/currency-item.tsx"],"names":[],"mappings":";;;;;AAsBO,MAAM,eAAsC,CAAC;AAAA,EAChD,MAAA;AAAA,EACA,IAAA;AAAA,EACA,OAAA;AAAA,EACA,IAAA;AAAA,EACA,UAAA;AAAA,EACA,SAAA;AAAA,EACA,GAAG;AACP,CAAA,KAAM;AACF,EAAA,uBACI,IAAA,CAAC,YAAO,SAAA,EAAW,IAAA,CAAK,OAAO,YAAA,EAAc,SAAS,CAAA,EAAI,GAAG,KAAA,EACzD,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,UAAA,EAAA,EAAW,SAAA,EAAW,MAAA,CAAO,IAAA,EAAM,IAAA,EAAM,EAAA,EAAI,GAAA,EAAK,IAAA,EAAM,QAAA,EAAU,MAAA,CAAO,CAAC,CAAA,EAAG,KAAK,MAAA,EAAQ,CAAA;AAAA,oBAE3F,IAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAW,MAAA,CAAO,IAAA,EACnB,QAAA,EAAA;AAAA,sBAAA,IAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAW,MAAA,CAAO,MAAA,EACnB,QAAA,EAAA;AAAA,wBAAA,GAAA,CAAC,IAAA,EAAA,EAAG,SAAA,EAAW,MAAA,CAAO,IAAA,EAAO,kBAAQ,MAAA,EAAO,CAAA;AAAA,QAE3C,UAAA,wBACI,KAAA,EAAA,EAAI,SAAA,EAAW,OAAO,QAAA,EAAU,IAAA,EAAK,cAAA,EAAe,OAAA,EAAQ,WAAA,EACzD,QAAA,kBAAA,GAAA;AAAA,UAAC,MAAA;AAAA,UAAA;AAAA,YACG,QAAA,EAAS,SAAA;AAAA,YACT,CAAA,EAAE,iiBAAA;AAAA,YACF,QAAA,EAAS;AAAA;AAAA,SACb,EACJ;AAAA,OAAA,EAER,CAAA;AAAA,sBAEA,GAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAW,MAAA,CAAO,QAAS,QAAA,EAAA,MAAA,EAAO;AAAA,KAAA,EACzC,CAAA;AAAA,oBAEA,GAAA,CAAC,SAAI,SAAA,EAAW,MAAA,CAAO,SACnB,QAAA,kBAAA,GAAA,CAAC,GAAA,EAAA,EAAG,QAAA,EAAA,OAAA,IAAW,GAAA,EAAI,CAAA,EACvB;AAAA,GAAA,EACJ,CAAA;AAER","file":"currency-item.mjs","sourcesContent":["/**\n * Copyright (c) TonTech.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type { FC, ComponentProps } from 'react';\nimport clsx from 'clsx';\n\nimport { CircleIcon } from '../../../../components/circle-icon';\nimport styles from './currency-item.module.css';\n\nexport interface CurrencyItemProps extends ComponentProps<'button'> {\n ticker: string;\n name?: string;\n balance?: string;\n icon?: string;\n isVerified?: boolean;\n}\n\nexport const CurrencyItem: FC<CurrencyItemProps> = ({\n ticker,\n name,\n balance,\n icon,\n isVerified,\n className,\n ...props\n}) => {\n return (\n <button className={clsx(styles.currencyItem, className)} {...props}>\n <CircleIcon className={styles.icon} size={40} src={icon} fallback={ticker[0]} alt={ticker} />\n\n <div className={styles.info}>\n <div className={styles.header}>\n <h4 className={styles.name}>{name || ticker}</h4>\n\n {isVerified && (\n <svg className={styles.verified} fill=\"currentColor\" viewBox=\"0 0 20 20\">\n <path\n fillRule=\"evenodd\"\n d=\"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\"\n clipRule=\"evenodd\"\n />\n </svg>\n )}\n </div>\n\n <p className={styles.ticker}>{ticker}</p>\n </div>\n\n <div className={styles.balance}>\n <p>{balance ?? '0'}</p>\n </div>\n </button>\n );\n};\n"]}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
.currencyItem {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
border-radius: var(--ta-border-radius-l);
|
|
4
|
-
width: 100%;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: row;
|
|
7
|
-
align-items: center;
|
|
8
|
-
gap: 12px;
|
|
9
|
-
padding: 12px;
|
|
10
|
-
background-color: var(--ta-color-block);
|
|
11
|
-
transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
border: 1px solid transparent;
|
|
14
|
-
outline: none;
|
|
15
|
-
}
|
|
16
|
-
.currencyItem:hover {
|
|
17
|
-
border-color: var(--ta-color-primary);
|
|
18
|
-
}
|
|
19
|
-
.icon {
|
|
20
|
-
width: 40px;
|
|
21
|
-
height: 40px;
|
|
22
|
-
background-color: var(--ta-color-background-secondary);
|
|
23
|
-
border-radius: var(--ta-border-radius-full);
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
flex-shrink: 0;
|
|
29
|
-
}
|
|
30
|
-
.info {
|
|
31
|
-
flex: 1;
|
|
32
|
-
min-width: 0;
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
align-items: flex-start;
|
|
36
|
-
}
|
|
37
|
-
.header {
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
gap: 8px;
|
|
41
|
-
}
|
|
42
|
-
.name {
|
|
43
|
-
composes: bodyBold from "../../../../styles/typography.module.css";
|
|
44
|
-
color: var(--ta-color-text);
|
|
45
|
-
white-space: nowrap;
|
|
46
|
-
overflow: hidden;
|
|
47
|
-
text-overflow: ellipsis;
|
|
48
|
-
margin: 0;
|
|
49
|
-
}
|
|
50
|
-
.verified {
|
|
51
|
-
width: 16px;
|
|
52
|
-
height: 16px;
|
|
53
|
-
color: var(--ta-color-primary);
|
|
54
|
-
flex-shrink: 0;
|
|
55
|
-
}
|
|
56
|
-
.ticker {
|
|
57
|
-
composes: bodyMedium from "../../../../styles/typography.module.css";
|
|
58
|
-
color: var(--ta-color-text-secondary);
|
|
59
|
-
margin: 0;
|
|
60
|
-
}
|
|
61
|
-
.details {
|
|
62
|
-
text-align: right;
|
|
63
|
-
}
|
|
64
|
-
.balance {
|
|
65
|
-
composes: bodyMedium from "../../../../styles/typography.module.css";
|
|
66
|
-
color: var(--ta-color-text);
|
|
67
|
-
margin: 0;
|
|
68
|
-
}
|
|
69
|
-
/*# sourceMappingURL=currency-item.module.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/currency-item/currency-item.module.css"],"sourcesContent":[".currencyItem {\n box-sizing: border-box;\n border-radius: var(--ta-border-radius-l);\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 12px;\n padding: 12px;\n background-color: var(--ta-color-block);\n transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);\n cursor: pointer;\n border: 1px solid transparent;\n outline: none;\n}\n\n.currencyItem:hover {\n border-color: var(--ta-color-primary);\n}\n\n.icon {\n width: 40px;\n height: 40px;\n background-color: var(--ta-color-background-secondary);\n border-radius: var(--ta-border-radius-full);\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n flex-shrink: 0;\n}\n\n.info {\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n}\n\n.header {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.name {\n composes: bodyBold from \"../../../../styles/typography.module.css\";\n\n color: var(--ta-color-text);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n}\n\n.verified {\n width: 16px;\n height: 16px;\n color: var(--ta-color-primary);\n flex-shrink: 0;\n}\n\n.ticker {\n composes: bodyMedium from \"../../../../styles/typography.module.css\";\n\n color: var(--ta-color-text-secondary);\n margin: 0;\n}\n\n.details {\n text-align: right;\n}\n\n.balance {\n composes: bodyMedium from \"../../../../styles/typography.module.css\";\n\n color: var(--ta-color-text);\n margin: 0;\n}\n"],"mappings":"AAAA,CAAC;AACG,cAAY;AACZ,iBAAe,IAAI;AACnB,SAAO;AACP,WAAS;AACT,kBAAgB;AAChB,eAAa;AACb,OAAK;AACL,WAAS;AACT,oBAAkB,IAAI;AACtB,cAAY,aAAa,MAAM,aAAa,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE;AACzD,UAAQ;AACR,UAAQ,IAAI,MAAM;AAClB,WAAS;AACb;AAEA,CAhBC,YAgBY;AACT,gBAAc,IAAI;AACtB;AAEA,CAAC;AACG,SAAO;AACP,UAAQ;AACR,oBAAkB,IAAI;AACtB,iBAAe,IAAI;AACnB,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,YAAU;AACV,eAAa;AACjB;AAEA,CAAC;AACG,QAAM;AACN,aAAW;AACX,WAAS;AACT,kBAAgB;AAChB,eAAa;AACjB;AAEA,CAAC;AACG,WAAS;AACT,eAAa;AACb,OAAK;AACT;AAEA,CAAC;AACG,YAAU,SAAS,KAAK;AAExB,SAAO,IAAI;AACX,eAAa;AACb,YAAU;AACV,iBAAe;AACf,UAAQ;AACZ;AAEA,CAAC;AACG,SAAO;AACP,UAAQ;AACR,SAAO,IAAI;AACX,eAAa;AACjB;AAEA,CAAC;AACG,YAAU,WAAW,KAAK;AAE1B,SAAO,IAAI;AACX,UAAQ;AACZ;AAEA,CAAC;AACG,cAAY;AAChB;AAEA,CAAC;AACG,YAAU,WAAW,KAAK;AAE1B,SAAO,IAAI;AACX,UAAQ;AACZ;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var test = require('@storybook/test');
|
|
7
|
-
var currencyItem = require('./currency-item');
|
|
8
|
-
|
|
9
|
-
const meta = {
|
|
10
|
-
title: "Public/Features/Balances/CurrencyItem",
|
|
11
|
-
component: currencyItem.CurrencyItem,
|
|
12
|
-
tags: ["autodocs"],
|
|
13
|
-
parameters: {
|
|
14
|
-
layout: "centered"
|
|
15
|
-
},
|
|
16
|
-
args: {
|
|
17
|
-
onClick: test.fn()
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
var currency_item_stories_default = meta;
|
|
21
|
-
const TON = {
|
|
22
|
-
args: {
|
|
23
|
-
ticker: "TON",
|
|
24
|
-
name: "Toncoin",
|
|
25
|
-
balance: "55",
|
|
26
|
-
icon: "https://ton.org/download/ton_symbol.png",
|
|
27
|
-
isVerified: true
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
const USDT = {
|
|
31
|
-
args: {
|
|
32
|
-
ticker: "USDT",
|
|
33
|
-
name: "Tether USD",
|
|
34
|
-
balance: "10",
|
|
35
|
-
isVerified: true
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
const Unverified = {
|
|
39
|
-
args: {
|
|
40
|
-
ticker: "MEME",
|
|
41
|
-
name: "Meme Token",
|
|
42
|
-
balance: "10000",
|
|
43
|
-
isVerified: false
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
const ZeroBalance = {
|
|
47
|
-
args: {
|
|
48
|
-
ticker: "TON",
|
|
49
|
-
name: "Toncoin",
|
|
50
|
-
balance: "0",
|
|
51
|
-
icon: "https://ton.org/download/ton_symbol.png",
|
|
52
|
-
isVerified: true
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
const NoBalance = {
|
|
56
|
-
args: {
|
|
57
|
-
ticker: "TON",
|
|
58
|
-
name: "Toncoin",
|
|
59
|
-
icon: "https://ton.org/download/ton_symbol.png",
|
|
60
|
-
isVerified: true
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
const CurrencyList = {
|
|
64
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "4px", width: "320px" }, children: [
|
|
65
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
66
|
-
currencyItem.CurrencyItem,
|
|
67
|
-
{
|
|
68
|
-
ticker: "TON",
|
|
69
|
-
name: "Toncoin",
|
|
70
|
-
balance: "55",
|
|
71
|
-
icon: "https://ton.org/download/ton_symbol.png",
|
|
72
|
-
isVerified: true,
|
|
73
|
-
onClick: test.fn()
|
|
74
|
-
}
|
|
75
|
-
),
|
|
76
|
-
/* @__PURE__ */ jsxRuntime.jsx(currencyItem.CurrencyItem, { ticker: "USDT", name: "Tether USD", balance: "10", isVerified: true, onClick: test.fn() }),
|
|
77
|
-
/* @__PURE__ */ jsxRuntime.jsx(currencyItem.CurrencyItem, { ticker: "NOT", name: "Notcoin", balance: "500", isVerified: true, onClick: test.fn() })
|
|
78
|
-
] })
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
exports.CurrencyList = CurrencyList;
|
|
82
|
-
exports.NoBalance = NoBalance;
|
|
83
|
-
exports.TON = TON;
|
|
84
|
-
exports.USDT = USDT;
|
|
85
|
-
exports.Unverified = Unverified;
|
|
86
|
-
exports.ZeroBalance = ZeroBalance;
|
|
87
|
-
exports.default = currency_item_stories_default;
|
|
88
|
-
//# sourceMappingURL=currency-item.stories.js.map
|
|
89
|
-
//# sourceMappingURL=currency-item.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/currency-item/currency-item.stories.tsx"],"names":["CurrencyItem","fn","jsxs","jsx"],"mappings":";;;;;;;;AAaA,MAAM,IAAA,GAAkC;AAAA,EACpC,KAAA,EAAO,uCAAA;AAAA,EACP,SAAA,EAAWA,yBAAA;AAAA,EACX,IAAA,EAAM,CAAC,UAAU,CAAA;AAAA,EACjB,UAAA,EAAY;AAAA,IACR,MAAA,EAAQ;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACF,SAASC,OAAA;AAAG;AAEpB,CAAA;AAEA,IAAO,6BAAA,GAAQ;AAIR,MAAM,GAAA,GAAa;AAAA,EACtB,IAAA,EAAM;AAAA,IACF,MAAA,EAAQ,KAAA;AAAA,IACR,IAAA,EAAM,SAAA;AAAA,IACN,OAAA,EAAS,IAAA;AAAA,IACT,IAAA,EAAM,yCAAA;AAAA,IACN,UAAA,EAAY;AAAA;AAEpB;AAEO,MAAM,IAAA,GAAc;AAAA,EACvB,IAAA,EAAM;AAAA,IACF,MAAA,EAAQ,MAAA;AAAA,IACR,IAAA,EAAM,YAAA;AAAA,IACN,OAAA,EAAS,IAAA;AAAA,IACT,UAAA,EAAY;AAAA;AAEpB;AAEO,MAAM,UAAA,GAAoB;AAAA,EAC7B,IAAA,EAAM;AAAA,IACF,MAAA,EAAQ,MAAA;AAAA,IACR,IAAA,EAAM,YAAA;AAAA,IACN,OAAA,EAAS,OAAA;AAAA,IACT,UAAA,EAAY;AAAA;AAEpB;AAEO,MAAM,WAAA,GAAqB;AAAA,EAC9B,IAAA,EAAM;AAAA,IACF,MAAA,EAAQ,KAAA;AAAA,IACR,IAAA,EAAM,SAAA;AAAA,IACN,OAAA,EAAS,GAAA;AAAA,IACT,IAAA,EAAM,yCAAA;AAAA,IACN,UAAA,EAAY;AAAA;AAEpB;AAEO,MAAM,SAAA,GAAmB;AAAA,EAC5B,IAAA,EAAM;AAAA,IACF,MAAA,EAAQ,KAAA;AAAA,IACR,IAAA,EAAM,SAAA;AAAA,IACN,IAAA,EAAM,yCAAA;AAAA,IACN,UAAA,EAAY;AAAA;AAEpB;AAEO,MAAM,YAAA,GAAsB;AAAA,EAC/B,MAAA,EAAQ,sBACJC,eAAA,CAAC,KAAA,EAAA,EAAI,OAAO,EAAE,OAAA,EAAS,MAAA,EAAQ,aAAA,EAAe,QAAA,EAAU,GAAA,EAAK,KAAA,EAAO,KAAA,EAAO,SAAQ,EAC/E,QAAA,EAAA;AAAA,oBAAAC,cAAA;AAAA,MAACH,yBAAA;AAAA,MAAA;AAAA,QACG,MAAA,EAAO,KAAA;AAAA,QACP,IAAA,EAAK,SAAA;AAAA,QACL,OAAA,EAAQ,IAAA;AAAA,QACR,IAAA,EAAK,yCAAA;AAAA,QACL,UAAA,EAAY,IAAA;AAAA,QACZ,SAASC,OAAA;AAAG;AAAA,KAChB;AAAA,oBACAE,cAAA,CAACH,yBAAA,EAAA,EAAa,MAAA,EAAO,MAAA,EAAO,IAAA,EAAK,YAAA,EAAa,OAAA,EAAQ,IAAA,EAAK,UAAA,EAAY,IAAA,EAAM,OAAA,EAASC,OAAA,EAAG,EAAG,CAAA;AAAA,oBAC5FE,cAAA,CAACH,yBAAA,EAAA,EAAa,MAAA,EAAO,KAAA,EAAM,IAAA,EAAK,SAAA,EAAU,OAAA,EAAQ,KAAA,EAAM,UAAA,EAAY,IAAA,EAAM,OAAA,EAASC,OAAA,EAAG,EAAG;AAAA,GAAA,EAC7F;AAER","file":"currency-item.stories.js","sourcesContent":["/**\n * Copyright (c) TonTech.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type { Meta, StoryObj } from '@storybook/react';\nimport { fn } from '@storybook/test';\n\nimport { CurrencyItem } from './currency-item';\n\nconst meta: Meta<typeof CurrencyItem> = {\n title: 'Public/Features/Balances/CurrencyItem',\n component: CurrencyItem,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n args: {\n onClick: fn(),\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof CurrencyItem>;\n\nexport const TON: Story = {\n args: {\n ticker: 'TON',\n name: 'Toncoin',\n balance: '55',\n icon: 'https://ton.org/download/ton_symbol.png',\n isVerified: true,\n },\n};\n\nexport const USDT: Story = {\n args: {\n ticker: 'USDT',\n name: 'Tether USD',\n balance: '10',\n isVerified: true,\n },\n};\n\nexport const Unverified: Story = {\n args: {\n ticker: 'MEME',\n name: 'Meme Token',\n balance: '10000',\n isVerified: false,\n },\n};\n\nexport const ZeroBalance: Story = {\n args: {\n ticker: 'TON',\n name: 'Toncoin',\n balance: '0',\n icon: 'https://ton.org/download/ton_symbol.png',\n isVerified: true,\n },\n};\n\nexport const NoBalance: Story = {\n args: {\n ticker: 'TON',\n name: 'Toncoin',\n icon: 'https://ton.org/download/ton_symbol.png',\n isVerified: true,\n },\n};\n\nexport const CurrencyList: Story = {\n render: () => (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '4px', width: '320px' }}>\n <CurrencyItem\n ticker=\"TON\"\n name=\"Toncoin\"\n balance=\"55\"\n icon=\"https://ton.org/download/ton_symbol.png\"\n isVerified={true}\n onClick={fn()}\n />\n <CurrencyItem ticker=\"USDT\" name=\"Tether USD\" balance=\"10\" isVerified={true} onClick={fn()} />\n <CurrencyItem ticker=\"NOT\" name=\"Notcoin\" balance=\"500\" isVerified={true} onClick={fn()} />\n </div>\n ),\n};\n"]}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { fn } from '@storybook/test';
|
|
3
|
-
import { CurrencyItem } from './currency-item';
|
|
4
|
-
|
|
5
|
-
const meta = {
|
|
6
|
-
title: "Public/Features/Balances/CurrencyItem",
|
|
7
|
-
component: CurrencyItem,
|
|
8
|
-
tags: ["autodocs"],
|
|
9
|
-
parameters: {
|
|
10
|
-
layout: "centered"
|
|
11
|
-
},
|
|
12
|
-
args: {
|
|
13
|
-
onClick: fn()
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
var currency_item_stories_default = meta;
|
|
17
|
-
const TON = {
|
|
18
|
-
args: {
|
|
19
|
-
ticker: "TON",
|
|
20
|
-
name: "Toncoin",
|
|
21
|
-
balance: "55",
|
|
22
|
-
icon: "https://ton.org/download/ton_symbol.png",
|
|
23
|
-
isVerified: true
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
const USDT = {
|
|
27
|
-
args: {
|
|
28
|
-
ticker: "USDT",
|
|
29
|
-
name: "Tether USD",
|
|
30
|
-
balance: "10",
|
|
31
|
-
isVerified: true
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
const Unverified = {
|
|
35
|
-
args: {
|
|
36
|
-
ticker: "MEME",
|
|
37
|
-
name: "Meme Token",
|
|
38
|
-
balance: "10000",
|
|
39
|
-
isVerified: false
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
const ZeroBalance = {
|
|
43
|
-
args: {
|
|
44
|
-
ticker: "TON",
|
|
45
|
-
name: "Toncoin",
|
|
46
|
-
balance: "0",
|
|
47
|
-
icon: "https://ton.org/download/ton_symbol.png",
|
|
48
|
-
isVerified: true
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
const NoBalance = {
|
|
52
|
-
args: {
|
|
53
|
-
ticker: "TON",
|
|
54
|
-
name: "Toncoin",
|
|
55
|
-
icon: "https://ton.org/download/ton_symbol.png",
|
|
56
|
-
isVerified: true
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
const CurrencyList = {
|
|
60
|
-
render: () => /* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "4px", width: "320px" }, children: [
|
|
61
|
-
/* @__PURE__ */ jsx(
|
|
62
|
-
CurrencyItem,
|
|
63
|
-
{
|
|
64
|
-
ticker: "TON",
|
|
65
|
-
name: "Toncoin",
|
|
66
|
-
balance: "55",
|
|
67
|
-
icon: "https://ton.org/download/ton_symbol.png",
|
|
68
|
-
isVerified: true,
|
|
69
|
-
onClick: fn()
|
|
70
|
-
}
|
|
71
|
-
),
|
|
72
|
-
/* @__PURE__ */ jsx(CurrencyItem, { ticker: "USDT", name: "Tether USD", balance: "10", isVerified: true, onClick: fn() }),
|
|
73
|
-
/* @__PURE__ */ jsx(CurrencyItem, { ticker: "NOT", name: "Notcoin", balance: "500", isVerified: true, onClick: fn() })
|
|
74
|
-
] })
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
export { CurrencyList, NoBalance, TON, USDT, Unverified, ZeroBalance, currency_item_stories_default as default };
|
|
78
|
-
//# sourceMappingURL=currency-item.stories.mjs.map
|
|
79
|
-
//# sourceMappingURL=currency-item.stories.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/currency-item/currency-item.stories.tsx"],"names":[],"mappings":";;;;AAaA,MAAM,IAAA,GAAkC;AAAA,EACpC,KAAA,EAAO,uCAAA;AAAA,EACP,SAAA,EAAW,YAAA;AAAA,EACX,IAAA,EAAM,CAAC,UAAU,CAAA;AAAA,EACjB,UAAA,EAAY;AAAA,IACR,MAAA,EAAQ;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACF,SAAS,EAAA;AAAG;AAEpB,CAAA;AAEA,IAAO,6BAAA,GAAQ;AAIR,MAAM,GAAA,GAAa;AAAA,EACtB,IAAA,EAAM;AAAA,IACF,MAAA,EAAQ,KAAA;AAAA,IACR,IAAA,EAAM,SAAA;AAAA,IACN,OAAA,EAAS,IAAA;AAAA,IACT,IAAA,EAAM,yCAAA;AAAA,IACN,UAAA,EAAY;AAAA;AAEpB;AAEO,MAAM,IAAA,GAAc;AAAA,EACvB,IAAA,EAAM;AAAA,IACF,MAAA,EAAQ,MAAA;AAAA,IACR,IAAA,EAAM,YAAA;AAAA,IACN,OAAA,EAAS,IAAA;AAAA,IACT,UAAA,EAAY;AAAA;AAEpB;AAEO,MAAM,UAAA,GAAoB;AAAA,EAC7B,IAAA,EAAM;AAAA,IACF,MAAA,EAAQ,MAAA;AAAA,IACR,IAAA,EAAM,YAAA;AAAA,IACN,OAAA,EAAS,OAAA;AAAA,IACT,UAAA,EAAY;AAAA;AAEpB;AAEO,MAAM,WAAA,GAAqB;AAAA,EAC9B,IAAA,EAAM;AAAA,IACF,MAAA,EAAQ,KAAA;AAAA,IACR,IAAA,EAAM,SAAA;AAAA,IACN,OAAA,EAAS,GAAA;AAAA,IACT,IAAA,EAAM,yCAAA;AAAA,IACN,UAAA,EAAY;AAAA;AAEpB;AAEO,MAAM,SAAA,GAAmB;AAAA,EAC5B,IAAA,EAAM;AAAA,IACF,MAAA,EAAQ,KAAA;AAAA,IACR,IAAA,EAAM,SAAA;AAAA,IACN,IAAA,EAAM,yCAAA;AAAA,IACN,UAAA,EAAY;AAAA;AAEpB;AAEO,MAAM,YAAA,GAAsB;AAAA,EAC/B,MAAA,EAAQ,sBACJ,IAAA,CAAC,KAAA,EAAA,EAAI,OAAO,EAAE,OAAA,EAAS,MAAA,EAAQ,aAAA,EAAe,QAAA,EAAU,GAAA,EAAK,KAAA,EAAO,KAAA,EAAO,SAAQ,EAC/E,QAAA,EAAA;AAAA,oBAAA,GAAA;AAAA,MAAC,YAAA;AAAA,MAAA;AAAA,QACG,MAAA,EAAO,KAAA;AAAA,QACP,IAAA,EAAK,SAAA;AAAA,QACL,OAAA,EAAQ,IAAA;AAAA,QACR,IAAA,EAAK,yCAAA;AAAA,QACL,UAAA,EAAY,IAAA;AAAA,QACZ,SAAS,EAAA;AAAG;AAAA,KAChB;AAAA,oBACA,GAAA,CAAC,YAAA,EAAA,EAAa,MAAA,EAAO,MAAA,EAAO,IAAA,EAAK,YAAA,EAAa,OAAA,EAAQ,IAAA,EAAK,UAAA,EAAY,IAAA,EAAM,OAAA,EAAS,EAAA,EAAG,EAAG,CAAA;AAAA,oBAC5F,GAAA,CAAC,YAAA,EAAA,EAAa,MAAA,EAAO,KAAA,EAAM,IAAA,EAAK,SAAA,EAAU,OAAA,EAAQ,KAAA,EAAM,UAAA,EAAY,IAAA,EAAM,OAAA,EAAS,EAAA,EAAG,EAAG;AAAA,GAAA,EAC7F;AAER","file":"currency-item.stories.mjs","sourcesContent":["/**\n * Copyright (c) TonTech.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type { Meta, StoryObj } from '@storybook/react';\nimport { fn } from '@storybook/test';\n\nimport { CurrencyItem } from './currency-item';\n\nconst meta: Meta<typeof CurrencyItem> = {\n title: 'Public/Features/Balances/CurrencyItem',\n component: CurrencyItem,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n args: {\n onClick: fn(),\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof CurrencyItem>;\n\nexport const TON: Story = {\n args: {\n ticker: 'TON',\n name: 'Toncoin',\n balance: '55',\n icon: 'https://ton.org/download/ton_symbol.png',\n isVerified: true,\n },\n};\n\nexport const USDT: Story = {\n args: {\n ticker: 'USDT',\n name: 'Tether USD',\n balance: '10',\n isVerified: true,\n },\n};\n\nexport const Unverified: Story = {\n args: {\n ticker: 'MEME',\n name: 'Meme Token',\n balance: '10000',\n isVerified: false,\n },\n};\n\nexport const ZeroBalance: Story = {\n args: {\n ticker: 'TON',\n name: 'Toncoin',\n balance: '0',\n icon: 'https://ton.org/download/ton_symbol.png',\n isVerified: true,\n },\n};\n\nexport const NoBalance: Story = {\n args: {\n ticker: 'TON',\n name: 'Toncoin',\n icon: 'https://ton.org/download/ton_symbol.png',\n isVerified: true,\n },\n};\n\nexport const CurrencyList: Story = {\n render: () => (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '4px', width: '320px' }}>\n <CurrencyItem\n ticker=\"TON\"\n name=\"Toncoin\"\n balance=\"55\"\n icon=\"https://ton.org/download/ton_symbol.png\"\n isVerified={true}\n onClick={fn()}\n />\n <CurrencyItem ticker=\"USDT\" name=\"Tether USD\" balance=\"10\" isVerified={true} onClick={fn()} />\n <CurrencyItem ticker=\"NOT\" name=\"Notcoin\" balance=\"500\" isVerified={true} onClick={fn()} />\n </div>\n ),\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var currencyItem = require('./currency-item');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.keys(currencyItem).forEach(function (k) {
|
|
8
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return currencyItem[k]; }
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var sendJettonButton = require('./send-jetton-button');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.keys(sendJettonButton).forEach(function (k) {
|
|
8
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return sendJettonButton[k]; }
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var react = require('react');
|
|
5
|
-
var appkit = require('@ton/appkit');
|
|
6
|
-
var useI18n = require('../../../../hooks/use-i18n');
|
|
7
|
-
var useAppKit = require('../../../../hooks/use-app-kit');
|
|
8
|
-
var transaction = require('../../../transaction');
|
|
9
|
-
|
|
10
|
-
const SendJettonButton = ({
|
|
11
|
-
recipientAddress,
|
|
12
|
-
amount,
|
|
13
|
-
comment,
|
|
14
|
-
jetton,
|
|
15
|
-
...props
|
|
16
|
-
}) => {
|
|
17
|
-
const appKit = useAppKit.useAppKit();
|
|
18
|
-
const { t } = useI18n.useI18n();
|
|
19
|
-
const createTransferTransaction = react.useCallback(async () => {
|
|
20
|
-
if (!jetton.address) {
|
|
21
|
-
throw new Error("Jetton address is required");
|
|
22
|
-
}
|
|
23
|
-
if (!jetton.decimals) {
|
|
24
|
-
throw new Error("Jetton decimals is required");
|
|
25
|
-
}
|
|
26
|
-
return appkit.createTransferJettonTransaction(appKit, {
|
|
27
|
-
jettonAddress: jetton.address,
|
|
28
|
-
recipientAddress,
|
|
29
|
-
amount,
|
|
30
|
-
comment,
|
|
31
|
-
jettonDecimals: jetton.decimals
|
|
32
|
-
});
|
|
33
|
-
}, [appKit, recipientAddress, amount, comment, jetton]);
|
|
34
|
-
const text = react.useMemo(() => {
|
|
35
|
-
if (amount && jetton.decimals) {
|
|
36
|
-
return t("balances.sendJettonWithAmount", {
|
|
37
|
-
amount: appkit.formatUnits(appkit.parseUnits(amount, jetton.decimals), jetton.decimals).toString(),
|
|
38
|
-
symbol: jetton.symbol
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
return t("balances.sendJetton", { symbol: jetton.symbol, amount });
|
|
42
|
-
}, [t, amount, jetton]);
|
|
43
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44
|
-
transaction.Transaction,
|
|
45
|
-
{
|
|
46
|
-
request: createTransferTransaction,
|
|
47
|
-
text,
|
|
48
|
-
disabled: !recipientAddress || !amount || !jetton.address || !jetton.decimals,
|
|
49
|
-
...props
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
exports.SendJettonButton = SendJettonButton;
|
|
55
|
-
//# sourceMappingURL=send-jetton-button.js.map
|
|
56
|
-
//# sourceMappingURL=send-jetton-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/send-jetton-button/send-jetton-button.tsx"],"names":["useAppKit","useI18n","useCallback","createTransferJettonTransaction","useMemo","formatUnits","parseUnits","jsx","Transaction"],"mappings":";;;;;;;;;AA4BO,MAAM,mBAA8C,CAAC;AAAA,EACxD,gBAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA;AAAA,EACA,MAAA;AAAA,EACA,GAAG;AACP,CAAA,KAAM;AACF,EAAA,MAAM,SAASA,mBAAA,EAAU;AACzB,EAAA,MAAM,EAAE,CAAA,EAAE,GAAIC,eAAA,EAAQ;AAEtB,EAAA,MAAM,yBAAA,GAA4BC,kBAAY,YAAY;AACtD,IAAA,IAAI,CAAC,OAAO,OAAA,EAAS;AACjB,MAAA,MAAM,IAAI,MAAM,4BAA4B,CAAA;AAAA,IAChD;AAEA,IAAA,IAAI,CAAC,OAAO,QAAA,EAAU;AAClB,MAAA,MAAM,IAAI,MAAM,6BAA6B,CAAA;AAAA,IACjD;AAEA,IAAA,OAAOC,uCAAgC,MAAA,EAAQ;AAAA,MAC3C,eAAe,MAAA,CAAO,OAAA;AAAA,MACtB,gBAAA;AAAA,MACA,MAAA;AAAA,MACA,OAAA;AAAA,MACA,gBAAgB,MAAA,CAAO;AAAA,KAC1B,CAAA;AAAA,EACL,GAAG,CAAC,MAAA,EAAQ,kBAAkB,MAAA,EAAQ,OAAA,EAAS,MAAM,CAAC,CAAA;AAEtD,EAAA,MAAM,IAAA,GAAOC,cAAQ,MAAM;AACvB,IAAA,IAAI,MAAA,IAAU,OAAO,QAAA,EAAU;AAC3B,MAAA,OAAO,EAAE,+BAAA,EAAiC;AAAA,QACtC,MAAA,EAAQC,kBAAA,CAAYC,iBAAA,CAAW,MAAA,EAAQ,MAAA,CAAO,QAAQ,CAAA,EAAG,MAAA,CAAO,QAAQ,CAAA,CAAE,QAAA,EAAS;AAAA,QACnF,QAAQ,MAAA,CAAO;AAAA,OAClB,CAAA;AAAA,IACL;AAEA,IAAA,OAAO,EAAE,qBAAA,EAAuB,EAAE,QAAQ,MAAA,CAAO,MAAA,EAAQ,QAAQ,CAAA;AAAA,EACrE,CAAA,EAAG,CAAC,CAAA,EAAG,MAAA,EAAQ,MAAM,CAAC,CAAA;AAEtB,EAAA,uBACIC,cAAA;AAAA,IAACC,uBAAA;AAAA,IAAA;AAAA,MACG,OAAA,EAAS,yBAAA;AAAA,MACT,IAAA;AAAA,MACA,QAAA,EAAU,CAAC,gBAAA,IAAoB,CAAC,UAAU,CAAC,MAAA,CAAO,OAAA,IAAW,CAAC,MAAA,CAAO,QAAA;AAAA,MACpE,GAAG;AAAA;AAAA,GACR;AAER","file":"send-jetton-button.js","sourcesContent":["/**\n * Copyright (c) TonTech.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { useCallback, useMemo } from 'react';\nimport type { FC } from 'react';\nimport { createTransferJettonTransaction, formatUnits, parseUnits } from '@ton/appkit';\n\nimport { useI18n } from '../../../../hooks/use-i18n';\nimport { useAppKit } from '../../../../hooks/use-app-kit';\nimport type { TransactionProps } from '../../../transaction';\nimport { Transaction } from '../../../transaction';\n\nexport interface SendJettonButtonProps extends Omit<TransactionProps, 'request'> {\n recipientAddress: string;\n amount: string;\n jetton: {\n address: string;\n symbol: string;\n decimals: number;\n };\n comment?: string;\n}\n\nexport const SendJettonButton: FC<SendJettonButtonProps> = ({\n recipientAddress,\n amount,\n comment,\n jetton,\n ...props\n}) => {\n const appKit = useAppKit();\n const { t } = useI18n();\n\n const createTransferTransaction = useCallback(async () => {\n if (!jetton.address) {\n throw new Error('Jetton address is required');\n }\n\n if (!jetton.decimals) {\n throw new Error('Jetton decimals is required');\n }\n\n return createTransferJettonTransaction(appKit, {\n jettonAddress: jetton.address,\n recipientAddress,\n amount,\n comment,\n jettonDecimals: jetton.decimals,\n });\n }, [appKit, recipientAddress, amount, comment, jetton]);\n\n const text = useMemo(() => {\n if (amount && jetton.decimals) {\n return t('balances.sendJettonWithAmount', {\n amount: formatUnits(parseUnits(amount, jetton.decimals), jetton.decimals).toString(),\n symbol: jetton.symbol,\n });\n }\n\n return t('balances.sendJetton', { symbol: jetton.symbol, amount });\n }, [t, amount, jetton]);\n\n return (\n <Transaction\n request={createTransferTransaction}\n text={text}\n disabled={!recipientAddress || !amount || !jetton.address || !jetton.decimals}\n {...props}\n />\n );\n};\n"]}
|