@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,62 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var circleIcon = require('./circle-icon');
|
|
6
|
-
|
|
7
|
-
const meta = {
|
|
8
|
-
title: "Private/Components/CircleIcon",
|
|
9
|
-
component: circleIcon.CircleIcon,
|
|
10
|
-
tags: ["autodocs"],
|
|
11
|
-
argTypes: {
|
|
12
|
-
size: {
|
|
13
|
-
control: { type: "range", min: 20, max: 100, step: 5 }
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
var circle_icon_stories_default = meta;
|
|
18
|
-
const WithImage = {
|
|
19
|
-
args: {
|
|
20
|
-
size: 48,
|
|
21
|
-
src: "https://ton.org/download/ton_symbol.png",
|
|
22
|
-
alt: "TON"
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
const WithFallback = {
|
|
26
|
-
args: {
|
|
27
|
-
size: 48,
|
|
28
|
-
fallback: "T",
|
|
29
|
-
alt: "TON"
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
const WithInvalidImage = {
|
|
33
|
-
args: {
|
|
34
|
-
size: 48,
|
|
35
|
-
src: "https://invalid-url.com/image.png",
|
|
36
|
-
alt: "Fallback",
|
|
37
|
-
fallback: "F"
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
const SmallSize = {
|
|
41
|
-
args: {
|
|
42
|
-
size: 24,
|
|
43
|
-
src: "https://ton.org/download/ton_symbol.png",
|
|
44
|
-
alt: "TON"
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
const LargeSize = {
|
|
48
|
-
args: {
|
|
49
|
-
size: 80,
|
|
50
|
-
src: "https://ton.org/download/ton_symbol.png",
|
|
51
|
-
alt: "TON"
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
exports.LargeSize = LargeSize;
|
|
56
|
-
exports.SmallSize = SmallSize;
|
|
57
|
-
exports.WithFallback = WithFallback;
|
|
58
|
-
exports.WithImage = WithImage;
|
|
59
|
-
exports.WithInvalidImage = WithInvalidImage;
|
|
60
|
-
exports.default = circle_icon_stories_default;
|
|
61
|
-
//# sourceMappingURL=circle-icon.stories.js.map
|
|
62
|
-
//# sourceMappingURL=circle-icon.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/circle-icon/circle-icon.stories.tsx"],"names":["CircleIcon"],"mappings":";;;;;;AAYA,MAAM,IAAA,GAAgC;AAAA,EAClC,KAAA,EAAO,+BAAA;AAAA,EACP,SAAA,EAAWA,qBAAA;AAAA,EACX,IAAA,EAAM,CAAC,UAAU,CAAA;AAAA,EACjB,QAAA,EAAU;AAAA,IACN,IAAA,EAAM;AAAA,MACF,OAAA,EAAS,EAAE,IAAA,EAAM,OAAA,EAAS,KAAK,EAAA,EAAI,GAAA,EAAK,GAAA,EAAK,IAAA,EAAM,CAAA;AAAE;AACzD;AAER,CAAA;AAEA,IAAO,2BAAA,GAAQ;AAIR,MAAM,SAAA,GAAmB;AAAA,EAC5B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,GAAA,EAAK,yCAAA;AAAA,IACL,GAAA,EAAK;AAAA;AAEb;AAEO,MAAM,YAAA,GAAsB;AAAA,EAC/B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,QAAA,EAAU,GAAA;AAAA,IACV,GAAA,EAAK;AAAA;AAEb;AAEO,MAAM,gBAAA,GAA0B;AAAA,EACnC,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,GAAA,EAAK,mCAAA;AAAA,IACL,GAAA,EAAK,UAAA;AAAA,IACL,QAAA,EAAU;AAAA;AAElB;AAEO,MAAM,SAAA,GAAmB;AAAA,EAC5B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,GAAA,EAAK,yCAAA;AAAA,IACL,GAAA,EAAK;AAAA;AAEb;AAEO,MAAM,SAAA,GAAmB;AAAA,EAC5B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,GAAA,EAAK,yCAAA;AAAA,IACL,GAAA,EAAK;AAAA;AAEb","file":"circle-icon.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';\n\nimport { CircleIcon } from './circle-icon';\n\nconst meta: Meta<typeof CircleIcon> = {\n title: 'Private/Components/CircleIcon',\n component: CircleIcon,\n tags: ['autodocs'],\n argTypes: {\n size: {\n control: { type: 'range', min: 20, max: 100, step: 5 },\n },\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof CircleIcon>;\n\nexport const WithImage: Story = {\n args: {\n size: 48,\n src: 'https://ton.org/download/ton_symbol.png',\n alt: 'TON',\n },\n};\n\nexport const WithFallback: Story = {\n args: {\n size: 48,\n fallback: 'T',\n alt: 'TON',\n },\n};\n\nexport const WithInvalidImage: Story = {\n args: {\n size: 48,\n src: 'https://invalid-url.com/image.png',\n alt: 'Fallback',\n fallback: 'F',\n },\n};\n\nexport const SmallSize: Story = {\n args: {\n size: 24,\n src: 'https://ton.org/download/ton_symbol.png',\n alt: 'TON',\n },\n};\n\nexport const LargeSize: Story = {\n args: {\n size: 80,\n src: 'https://ton.org/download/ton_symbol.png',\n alt: 'TON',\n },\n};\n"]}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { CircleIcon } from './circle-icon';
|
|
2
|
-
|
|
3
|
-
const meta = {
|
|
4
|
-
title: "Private/Components/CircleIcon",
|
|
5
|
-
component: CircleIcon,
|
|
6
|
-
tags: ["autodocs"],
|
|
7
|
-
argTypes: {
|
|
8
|
-
size: {
|
|
9
|
-
control: { type: "range", min: 20, max: 100, step: 5 }
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
var circle_icon_stories_default = meta;
|
|
14
|
-
const WithImage = {
|
|
15
|
-
args: {
|
|
16
|
-
size: 48,
|
|
17
|
-
src: "https://ton.org/download/ton_symbol.png",
|
|
18
|
-
alt: "TON"
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
const WithFallback = {
|
|
22
|
-
args: {
|
|
23
|
-
size: 48,
|
|
24
|
-
fallback: "T",
|
|
25
|
-
alt: "TON"
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
const WithInvalidImage = {
|
|
29
|
-
args: {
|
|
30
|
-
size: 48,
|
|
31
|
-
src: "https://invalid-url.com/image.png",
|
|
32
|
-
alt: "Fallback",
|
|
33
|
-
fallback: "F"
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
const SmallSize = {
|
|
37
|
-
args: {
|
|
38
|
-
size: 24,
|
|
39
|
-
src: "https://ton.org/download/ton_symbol.png",
|
|
40
|
-
alt: "TON"
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const LargeSize = {
|
|
44
|
-
args: {
|
|
45
|
-
size: 80,
|
|
46
|
-
src: "https://ton.org/download/ton_symbol.png",
|
|
47
|
-
alt: "TON"
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export { LargeSize, SmallSize, WithFallback, WithImage, WithInvalidImage, circle_icon_stories_default as default };
|
|
52
|
-
//# sourceMappingURL=circle-icon.stories.mjs.map
|
|
53
|
-
//# sourceMappingURL=circle-icon.stories.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/circle-icon/circle-icon.stories.tsx"],"names":[],"mappings":";;AAYA,MAAM,IAAA,GAAgC;AAAA,EAClC,KAAA,EAAO,+BAAA;AAAA,EACP,SAAA,EAAW,UAAA;AAAA,EACX,IAAA,EAAM,CAAC,UAAU,CAAA;AAAA,EACjB,QAAA,EAAU;AAAA,IACN,IAAA,EAAM;AAAA,MACF,OAAA,EAAS,EAAE,IAAA,EAAM,OAAA,EAAS,KAAK,EAAA,EAAI,GAAA,EAAK,GAAA,EAAK,IAAA,EAAM,CAAA;AAAE;AACzD;AAER,CAAA;AAEA,IAAO,2BAAA,GAAQ;AAIR,MAAM,SAAA,GAAmB;AAAA,EAC5B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,GAAA,EAAK,yCAAA;AAAA,IACL,GAAA,EAAK;AAAA;AAEb;AAEO,MAAM,YAAA,GAAsB;AAAA,EAC/B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,QAAA,EAAU,GAAA;AAAA,IACV,GAAA,EAAK;AAAA;AAEb;AAEO,MAAM,gBAAA,GAA0B;AAAA,EACnC,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,GAAA,EAAK,mCAAA;AAAA,IACL,GAAA,EAAK,UAAA;AAAA,IACL,QAAA,EAAU;AAAA;AAElB;AAEO,MAAM,SAAA,GAAmB;AAAA,EAC5B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,GAAA,EAAK,yCAAA;AAAA,IACL,GAAA,EAAK;AAAA;AAEb;AAEO,MAAM,SAAA,GAAmB;AAAA,EAC5B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,GAAA,EAAK,yCAAA;AAAA,IACL,GAAA,EAAK;AAAA;AAEb","file":"circle-icon.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 { CircleIcon } from './circle-icon';\n\nconst meta: Meta<typeof CircleIcon> = {\n title: 'Private/Components/CircleIcon',\n component: CircleIcon,\n tags: ['autodocs'],\n argTypes: {\n size: {\n control: { type: 'range', min: 20, max: 100, step: 5 },\n },\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof CircleIcon>;\n\nexport const WithImage: Story = {\n args: {\n size: 48,\n src: 'https://ton.org/download/ton_symbol.png',\n alt: 'TON',\n },\n};\n\nexport const WithFallback: Story = {\n args: {\n size: 48,\n fallback: 'T',\n alt: 'TON',\n },\n};\n\nexport const WithInvalidImage: Story = {\n args: {\n size: 48,\n src: 'https://invalid-url.com/image.png',\n alt: 'Fallback',\n fallback: 'F',\n },\n};\n\nexport const SmallSize: Story = {\n args: {\n size: 24,\n src: 'https://ton.org/download/ton_symbol.png',\n alt: 'TON',\n },\n};\n\nexport const LargeSize: Story = {\n args: {\n size: 80,\n src: 'https://ton.org/download/ton_symbol.png',\n alt: 'TON',\n },\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/circle-icon/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,eAAe,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var circleIcon = require('./circle-icon');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.keys(circleIcon).forEach(function (k) {
|
|
8
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return circleIcon[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/components/ton-icon/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tonIcon = require('./ton-icon');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "TonIcon", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return tonIcon.TonIcon; }
|
|
10
|
-
});
|
|
11
|
-
Object.defineProperty(exports, "TonIconCircle", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return tonIcon.TonIconCircle; }
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
16
|
-
//# 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":"ton-icon.d.ts","sourceRoot":"","sources":["../../../src/components/ton-icon/ton-icon.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEhD,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CASpC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,YAAY,CAoB1C,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
|
|
5
|
-
const TonIcon = ({ size = 16, ...props }) => {
|
|
6
|
-
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 29 29", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7
|
-
"path",
|
|
8
|
-
{
|
|
9
|
-
d: "M23.7861 0H4.58614C1.08614 0 -1.11386 3.8 0.586136 6.9L12.3861 27.4C13.1861 28.7 15.0861 28.7 15.8861 27.4L27.6861 6.9C29.4861 3.8 27.2861 0 23.7861 0ZM12.4861 21.2L9.88614 16.2L3.68614 5.1C3.28614 4.4 3.78614 3.5 4.68614 3.5H12.4861V21.2ZM24.6861 5.1L18.4861 16.2L15.8861 21.2V3.5H23.6861C24.5861 3.5 25.0861 4.4 24.6861 5.1Z",
|
|
10
|
-
fill: "currentColor"
|
|
11
|
-
}
|
|
12
|
-
) });
|
|
13
|
-
};
|
|
14
|
-
const TonIconCircle = ({ size = 16, ...props }) => {
|
|
15
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
16
|
-
/* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#clip0_2906_144)", children: [
|
|
17
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18
|
-
"path",
|
|
19
|
-
{
|
|
20
|
-
d: "M28 56C43.5 56 56 43.5 56 28C56 12.5 43.5 0 28 0C12.5 0 0 12.5 0 28C0 43.5 12.5 56 28 56Z",
|
|
21
|
-
fill: "#0098EA"
|
|
22
|
-
}
|
|
23
|
-
),
|
|
24
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
25
|
-
"path",
|
|
26
|
-
{
|
|
27
|
-
d: "M37.5996 15.6H18.3996C14.8996 15.6 12.6996 19.4 14.3996 22.5L26.1996 43C26.9996 44.3 28.8996 44.3 29.6996 43L41.4996 22.5C43.2996 19.4 41.0996 15.6 37.5996 15.6ZM26.2996 36.8L23.6996 31.8L17.4996 20.7C17.0996 20 17.5996 19.1 18.4996 19.1H26.2996V36.8ZM38.4996 20.7L32.2996 31.8L29.6996 36.8V19.1H37.4996C38.3996 19.1 38.8996 20 38.4996 20.7Z",
|
|
28
|
-
fill: "white"
|
|
29
|
-
}
|
|
30
|
-
)
|
|
31
|
-
] }),
|
|
32
|
-
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_2906_144", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "56", height: "56", fill: "white" }) }) })
|
|
33
|
-
] });
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
exports.TonIcon = TonIcon;
|
|
37
|
-
exports.TonIconCircle = TonIconCircle;
|
|
38
|
-
//# sourceMappingURL=ton-icon.js.map
|
|
39
|
-
//# sourceMappingURL=ton-icon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ton-icon/ton-icon.tsx"],"names":["jsx","jsxs"],"mappings":";;;;AAcO,MAAM,UAA4B,CAAC,EAAE,OAAO,EAAA,EAAI,GAAG,OAAM,KAAM;AAClE,EAAA,uBACIA,cAAA,CAAC,KAAA,EAAA,EAAI,KAAA,EAAO,IAAA,EAAM,MAAA,EAAQ,IAAA,EAAM,OAAA,EAAQ,WAAA,EAAY,IAAA,EAAK,MAAA,EAAO,KAAA,EAAM,4BAAA,EAA8B,GAAG,KAAA,EACnG,QAAA,kBAAAA,cAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACG,CAAA,EAAE,wUAAA;AAAA,MACF,IAAA,EAAK;AAAA;AAAA,GACT,EACJ,CAAA;AAER;AAEO,MAAM,gBAAkC,CAAC,EAAE,OAAO,EAAA,EAAI,GAAG,OAAM,KAAM;AACxE,EAAA,uBACIC,eAAA,CAAC,KAAA,EAAA,EAAI,KAAA,EAAO,IAAA,EAAM,MAAA,EAAQ,IAAA,EAAM,OAAA,EAAQ,WAAA,EAAY,IAAA,EAAK,MAAA,EAAO,KAAA,EAAM,4BAAA,EAA8B,GAAG,KAAA,EACnG,QAAA,EAAA;AAAA,oBAAAA,eAAA,CAAC,GAAA,EAAA,EAAE,UAAS,sBAAA,EACR,QAAA,EAAA;AAAA,sBAAAD,cAAA;AAAA,QAAC,MAAA;AAAA,QAAA;AAAA,UACG,CAAA,EAAE,2FAAA;AAAA,UACF,IAAA,EAAK;AAAA;AAAA,OACT;AAAA,sBACAA,cAAA;AAAA,QAAC,MAAA;AAAA,QAAA;AAAA,UACG,CAAA,EAAE,uVAAA;AAAA,UACF,IAAA,EAAK;AAAA;AAAA;AACT,KAAA,EACJ,CAAA;AAAA,oBACAA,cAAA,CAAC,MAAA,EAAA,EACG,QAAA,kBAAAA,cAAA,CAAC,UAAA,EAAA,EAAS,IAAG,gBAAA,EACT,QAAA,kBAAAA,cAAA,CAAC,MAAA,EAAA,EAAK,KAAA,EAAM,MAAK,MAAA,EAAO,IAAA,EAAK,IAAA,EAAK,OAAA,EAAQ,GAC9C,CAAA,EACJ;AAAA,GAAA,EACJ,CAAA;AAER","file":"ton-icon.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';\n\nexport interface TonIconProps extends Omit<ComponentProps<'svg'>, 'width' | 'height'> {\n size?: number;\n}\n\nexport const TonIcon: FC<TonIconProps> = ({ size = 16, ...props }) => {\n return (\n <svg width={size} height={size} viewBox=\"0 0 29 29\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M23.7861 0H4.58614C1.08614 0 -1.11386 3.8 0.586136 6.9L12.3861 27.4C13.1861 28.7 15.0861 28.7 15.8861 27.4L27.6861 6.9C29.4861 3.8 27.2861 0 23.7861 0ZM12.4861 21.2L9.88614 16.2L3.68614 5.1C3.28614 4.4 3.78614 3.5 4.68614 3.5H12.4861V21.2ZM24.6861 5.1L18.4861 16.2L15.8861 21.2V3.5H23.6861C24.5861 3.5 25.0861 4.4 24.6861 5.1Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n\nexport const TonIconCircle: FC<TonIconProps> = ({ size = 16, ...props }) => {\n return (\n <svg width={size} height={size} viewBox=\"0 0 56 56\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <g clipPath=\"url(#clip0_2906_144)\">\n <path\n d=\"M28 56C43.5 56 56 43.5 56 28C56 12.5 43.5 0 28 0C12.5 0 0 12.5 0 28C0 43.5 12.5 56 28 56Z\"\n fill=\"#0098EA\"\n />\n <path\n d=\"M37.5996 15.6H18.3996C14.8996 15.6 12.6996 19.4 14.3996 22.5L26.1996 43C26.9996 44.3 28.8996 44.3 29.6996 43L41.4996 22.5C43.2996 19.4 41.0996 15.6 37.5996 15.6ZM26.2996 36.8L23.6996 31.8L17.4996 20.7C17.0996 20 17.5996 19.1 18.4996 19.1H26.2996V36.8ZM38.4996 20.7L32.2996 31.8L29.6996 36.8V19.1H37.4996C38.3996 19.1 38.8996 20 38.4996 20.7Z\"\n fill=\"white\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_2906_144\">\n <rect width=\"56\" height=\"56\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n );\n};\n"]}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
const TonIcon = ({ size = 16, ...props }) => {
|
|
4
|
-
return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 29 29", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx(
|
|
5
|
-
"path",
|
|
6
|
-
{
|
|
7
|
-
d: "M23.7861 0H4.58614C1.08614 0 -1.11386 3.8 0.586136 6.9L12.3861 27.4C13.1861 28.7 15.0861 28.7 15.8861 27.4L27.6861 6.9C29.4861 3.8 27.2861 0 23.7861 0ZM12.4861 21.2L9.88614 16.2L3.68614 5.1C3.28614 4.4 3.78614 3.5 4.68614 3.5H12.4861V21.2ZM24.6861 5.1L18.4861 16.2L15.8861 21.2V3.5H23.6861C24.5861 3.5 25.0861 4.4 24.6861 5.1Z",
|
|
8
|
-
fill: "currentColor"
|
|
9
|
-
}
|
|
10
|
-
) });
|
|
11
|
-
};
|
|
12
|
-
const TonIconCircle = ({ size = 16, ...props }) => {
|
|
13
|
-
return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
14
|
-
/* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_2906_144)", children: [
|
|
15
|
-
/* @__PURE__ */ jsx(
|
|
16
|
-
"path",
|
|
17
|
-
{
|
|
18
|
-
d: "M28 56C43.5 56 56 43.5 56 28C56 12.5 43.5 0 28 0C12.5 0 0 12.5 0 28C0 43.5 12.5 56 28 56Z",
|
|
19
|
-
fill: "#0098EA"
|
|
20
|
-
}
|
|
21
|
-
),
|
|
22
|
-
/* @__PURE__ */ jsx(
|
|
23
|
-
"path",
|
|
24
|
-
{
|
|
25
|
-
d: "M37.5996 15.6H18.3996C14.8996 15.6 12.6996 19.4 14.3996 22.5L26.1996 43C26.9996 44.3 28.8996 44.3 29.6996 43L41.4996 22.5C43.2996 19.4 41.0996 15.6 37.5996 15.6ZM26.2996 36.8L23.6996 31.8L17.4996 20.7C17.0996 20 17.5996 19.1 18.4996 19.1H26.2996V36.8ZM38.4996 20.7L32.2996 31.8L29.6996 36.8V19.1H37.4996C38.3996 19.1 38.8996 20 38.4996 20.7Z",
|
|
26
|
-
fill: "white"
|
|
27
|
-
}
|
|
28
|
-
)
|
|
29
|
-
] }),
|
|
30
|
-
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_2906_144", children: /* @__PURE__ */ jsx("rect", { width: "56", height: "56", fill: "white" }) }) })
|
|
31
|
-
] });
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export { TonIcon, TonIconCircle };
|
|
35
|
-
//# sourceMappingURL=ton-icon.mjs.map
|
|
36
|
-
//# sourceMappingURL=ton-icon.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ton-icon/ton-icon.tsx"],"names":[],"mappings":";;AAcO,MAAM,UAA4B,CAAC,EAAE,OAAO,EAAA,EAAI,GAAG,OAAM,KAAM;AAClE,EAAA,uBACI,GAAA,CAAC,KAAA,EAAA,EAAI,KAAA,EAAO,IAAA,EAAM,MAAA,EAAQ,IAAA,EAAM,OAAA,EAAQ,WAAA,EAAY,IAAA,EAAK,MAAA,EAAO,KAAA,EAAM,4BAAA,EAA8B,GAAG,KAAA,EACnG,QAAA,kBAAA,GAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACG,CAAA,EAAE,wUAAA;AAAA,MACF,IAAA,EAAK;AAAA;AAAA,GACT,EACJ,CAAA;AAER;AAEO,MAAM,gBAAkC,CAAC,EAAE,OAAO,EAAA,EAAI,GAAG,OAAM,KAAM;AACxE,EAAA,uBACI,IAAA,CAAC,KAAA,EAAA,EAAI,KAAA,EAAO,IAAA,EAAM,MAAA,EAAQ,IAAA,EAAM,OAAA,EAAQ,WAAA,EAAY,IAAA,EAAK,MAAA,EAAO,KAAA,EAAM,4BAAA,EAA8B,GAAG,KAAA,EACnG,QAAA,EAAA;AAAA,oBAAA,IAAA,CAAC,GAAA,EAAA,EAAE,UAAS,sBAAA,EACR,QAAA,EAAA;AAAA,sBAAA,GAAA;AAAA,QAAC,MAAA;AAAA,QAAA;AAAA,UACG,CAAA,EAAE,2FAAA;AAAA,UACF,IAAA,EAAK;AAAA;AAAA,OACT;AAAA,sBACA,GAAA;AAAA,QAAC,MAAA;AAAA,QAAA;AAAA,UACG,CAAA,EAAE,uVAAA;AAAA,UACF,IAAA,EAAK;AAAA;AAAA;AACT,KAAA,EACJ,CAAA;AAAA,oBACA,GAAA,CAAC,MAAA,EAAA,EACG,QAAA,kBAAA,GAAA,CAAC,UAAA,EAAA,EAAS,IAAG,gBAAA,EACT,QAAA,kBAAA,GAAA,CAAC,MAAA,EAAA,EAAK,KAAA,EAAM,MAAK,MAAA,EAAO,IAAA,EAAK,IAAA,EAAK,OAAA,EAAQ,GAC9C,CAAA,EACJ;AAAA,GAAA,EACJ,CAAA;AAER","file":"ton-icon.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';\n\nexport interface TonIconProps extends Omit<ComponentProps<'svg'>, 'width' | 'height'> {\n size?: number;\n}\n\nexport const TonIcon: FC<TonIconProps> = ({ size = 16, ...props }) => {\n return (\n <svg width={size} height={size} viewBox=\"0 0 29 29\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M23.7861 0H4.58614C1.08614 0 -1.11386 3.8 0.586136 6.9L12.3861 27.4C13.1861 28.7 15.0861 28.7 15.8861 27.4L27.6861 6.9C29.4861 3.8 27.2861 0 23.7861 0ZM12.4861 21.2L9.88614 16.2L3.68614 5.1C3.28614 4.4 3.78614 3.5 4.68614 3.5H12.4861V21.2ZM24.6861 5.1L18.4861 16.2L15.8861 21.2V3.5H23.6861C24.5861 3.5 25.0861 4.4 24.6861 5.1Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n\nexport const TonIconCircle: FC<TonIconProps> = ({ size = 16, ...props }) => {\n return (\n <svg width={size} height={size} viewBox=\"0 0 56 56\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <g clipPath=\"url(#clip0_2906_144)\">\n <path\n d=\"M28 56C43.5 56 56 43.5 56 28C56 12.5 43.5 0 28 0C12.5 0 0 12.5 0 28C0 43.5 12.5 56 28 56Z\"\n fill=\"#0098EA\"\n />\n <path\n d=\"M37.5996 15.6H18.3996C14.8996 15.6 12.6996 19.4 14.3996 22.5L26.1996 43C26.9996 44.3 28.8996 44.3 29.6996 43L41.4996 22.5C43.2996 19.4 41.0996 15.6 37.5996 15.6ZM26.2996 36.8L23.6996 31.8L17.4996 20.7C17.0996 20 17.5996 19.1 18.4996 19.1H26.2996V36.8ZM38.4996 20.7L32.2996 31.8L29.6996 36.8V19.1H37.4996C38.3996 19.1 38.8996 20 38.4996 20.7Z\"\n fill=\"white\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_2906_144\">\n <rect width=\"56\" height=\"56\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n );\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ton-icon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ton-icon/ton-icon.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAgB9B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,aAAa,CAKjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,OAAO,aAAa,CAKtD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,OAAO,aAAa,CAKtD,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var tonIcon = require('./ton-icon');
|
|
7
|
-
|
|
8
|
-
const meta = {
|
|
9
|
-
title: "Private/Components/TonIcon",
|
|
10
|
-
component: tonIcon.TonIcon,
|
|
11
|
-
tags: ["autodocs"],
|
|
12
|
-
argTypes: {
|
|
13
|
-
size: {
|
|
14
|
-
control: { type: "range", min: 12, max: 64, step: 4 }
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
decorators: [
|
|
18
|
-
(Story) => /* @__PURE__ */ jsxRuntime.jsx("div", { style: { color: "white" }, children: /* @__PURE__ */ jsxRuntime.jsx(Story, {}) })
|
|
19
|
-
]
|
|
20
|
-
};
|
|
21
|
-
var ton_icon_stories_default = meta;
|
|
22
|
-
const Default = {
|
|
23
|
-
args: {
|
|
24
|
-
size: 24
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
const Small = {
|
|
28
|
-
args: {
|
|
29
|
-
size: 16
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
const Large = {
|
|
33
|
-
args: {
|
|
34
|
-
size: 48
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
const CustomColor = {
|
|
38
|
-
args: {
|
|
39
|
-
size: 32,
|
|
40
|
-
style: { color: "#0098EB" }
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const Circle = {
|
|
44
|
-
render: (args) => /* @__PURE__ */ jsxRuntime.jsx(tonIcon.TonIconCircle, { ...args }),
|
|
45
|
-
args: {
|
|
46
|
-
size: 48
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
const CircleSmall = {
|
|
50
|
-
render: (args) => /* @__PURE__ */ jsxRuntime.jsx(tonIcon.TonIconCircle, { ...args }),
|
|
51
|
-
args: {
|
|
52
|
-
size: 24
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
const CircleLarge = {
|
|
56
|
-
render: (args) => /* @__PURE__ */ jsxRuntime.jsx(tonIcon.TonIconCircle, { ...args }),
|
|
57
|
-
args: {
|
|
58
|
-
size: 72
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
exports.Circle = Circle;
|
|
63
|
-
exports.CircleLarge = CircleLarge;
|
|
64
|
-
exports.CircleSmall = CircleSmall;
|
|
65
|
-
exports.CustomColor = CustomColor;
|
|
66
|
-
exports.Default = Default;
|
|
67
|
-
exports.Large = Large;
|
|
68
|
-
exports.Small = Small;
|
|
69
|
-
exports.default = ton_icon_stories_default;
|
|
70
|
-
//# sourceMappingURL=ton-icon.stories.js.map
|
|
71
|
-
//# sourceMappingURL=ton-icon.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ton-icon/ton-icon.stories.tsx"],"names":["TonIcon","jsx","TonIconCircle"],"mappings":";;;;;;;AAYA,MAAM,IAAA,GAA6B;AAAA,EAC/B,KAAA,EAAO,4BAAA;AAAA,EACP,SAAA,EAAWA,eAAA;AAAA,EACX,IAAA,EAAM,CAAC,UAAU,CAAA;AAAA,EACjB,QAAA,EAAU;AAAA,IACN,IAAA,EAAM;AAAA,MACF,OAAA,EAAS,EAAE,IAAA,EAAM,OAAA,EAAS,KAAK,EAAA,EAAI,GAAA,EAAK,EAAA,EAAI,IAAA,EAAM,CAAA;AAAE;AACxD,GACJ;AAAA,EACA,UAAA,EAAY;AAAA,IACR,CAAC,KAAA,qBACGC,cAAA,CAAC,KAAA,EAAA,EAAI,KAAA,EAAO,EAAE,KAAA,EAAO,OAAA,EAAQ,EACzB,QAAA,kBAAAA,cAAA,CAAC,KAAA,EAAA,EAAM,CAAA,EACX;AAAA;AAGZ,CAAA;AAEA,IAAO,wBAAA,GAAQ;AAIR,MAAM,OAAA,GAAiB;AAAA,EAC1B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd;AAEO,MAAM,KAAA,GAAe;AAAA,EACxB,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd;AAEO,MAAM,KAAA,GAAe;AAAA,EACxB,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd;AAEO,MAAM,WAAA,GAAqB;AAAA,EAC9B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,KAAA,EAAO,EAAE,KAAA,EAAO,SAAA;AAAU;AAElC;AAEO,MAAM,MAAA,GAAyC;AAAA,EAClD,QAAQ,CAAC,IAAA,qBAASA,cAAA,CAACC,qBAAA,EAAA,EAAe,GAAG,IAAA,EAAM,CAAA;AAAA,EAC3C,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd;AAEO,MAAM,WAAA,GAA8C;AAAA,EACvD,QAAQ,CAAC,IAAA,qBAASD,cAAA,CAACC,qBAAA,EAAA,EAAe,GAAG,IAAA,EAAM,CAAA;AAAA,EAC3C,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd;AAEO,MAAM,WAAA,GAA8C;AAAA,EACvD,QAAQ,CAAC,IAAA,qBAASD,cAAA,CAACC,qBAAA,EAAA,EAAe,GAAG,IAAA,EAAM,CAAA;AAAA,EAC3C,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd","file":"ton-icon.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';\n\nimport { TonIcon, TonIconCircle } from './ton-icon';\n\nconst meta: Meta<typeof TonIcon> = {\n title: 'Private/Components/TonIcon',\n component: TonIcon,\n tags: ['autodocs'],\n argTypes: {\n size: {\n control: { type: 'range', min: 12, max: 64, step: 4 },\n },\n },\n decorators: [\n (Story) => (\n <div style={{ color: 'white' }}>\n <Story />\n </div>\n ),\n ],\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof TonIcon>;\n\nexport const Default: Story = {\n args: {\n size: 24,\n },\n};\n\nexport const Small: Story = {\n args: {\n size: 16,\n },\n};\n\nexport const Large: Story = {\n args: {\n size: 48,\n },\n};\n\nexport const CustomColor: Story = {\n args: {\n size: 32,\n style: { color: '#0098EB' },\n },\n};\n\nexport const Circle: StoryObj<typeof TonIconCircle> = {\n render: (args) => <TonIconCircle {...args} />,\n args: {\n size: 48,\n },\n};\n\nexport const CircleSmall: StoryObj<typeof TonIconCircle> = {\n render: (args) => <TonIconCircle {...args} />,\n args: {\n size: 24,\n },\n};\n\nexport const CircleLarge: StoryObj<typeof TonIconCircle> = {\n render: (args) => <TonIconCircle {...args} />,\n args: {\n size: 72,\n },\n};\n"]}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { TonIcon, TonIconCircle } from './ton-icon';
|
|
3
|
-
|
|
4
|
-
const meta = {
|
|
5
|
-
title: "Private/Components/TonIcon",
|
|
6
|
-
component: TonIcon,
|
|
7
|
-
tags: ["autodocs"],
|
|
8
|
-
argTypes: {
|
|
9
|
-
size: {
|
|
10
|
-
control: { type: "range", min: 12, max: 64, step: 4 }
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
decorators: [
|
|
14
|
-
(Story) => /* @__PURE__ */ jsx("div", { style: { color: "white" }, children: /* @__PURE__ */ jsx(Story, {}) })
|
|
15
|
-
]
|
|
16
|
-
};
|
|
17
|
-
var ton_icon_stories_default = meta;
|
|
18
|
-
const Default = {
|
|
19
|
-
args: {
|
|
20
|
-
size: 24
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
const Small = {
|
|
24
|
-
args: {
|
|
25
|
-
size: 16
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
const Large = {
|
|
29
|
-
args: {
|
|
30
|
-
size: 48
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
const CustomColor = {
|
|
34
|
-
args: {
|
|
35
|
-
size: 32,
|
|
36
|
-
style: { color: "#0098EB" }
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
const Circle = {
|
|
40
|
-
render: (args) => /* @__PURE__ */ jsx(TonIconCircle, { ...args }),
|
|
41
|
-
args: {
|
|
42
|
-
size: 48
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
const CircleSmall = {
|
|
46
|
-
render: (args) => /* @__PURE__ */ jsx(TonIconCircle, { ...args }),
|
|
47
|
-
args: {
|
|
48
|
-
size: 24
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
const CircleLarge = {
|
|
52
|
-
render: (args) => /* @__PURE__ */ jsx(TonIconCircle, { ...args }),
|
|
53
|
-
args: {
|
|
54
|
-
size: 72
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export { Circle, CircleLarge, CircleSmall, CustomColor, Default, Large, Small, ton_icon_stories_default as default };
|
|
59
|
-
//# sourceMappingURL=ton-icon.stories.mjs.map
|
|
60
|
-
//# sourceMappingURL=ton-icon.stories.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ton-icon/ton-icon.stories.tsx"],"names":[],"mappings":";;;AAYA,MAAM,IAAA,GAA6B;AAAA,EAC/B,KAAA,EAAO,4BAAA;AAAA,EACP,SAAA,EAAW,OAAA;AAAA,EACX,IAAA,EAAM,CAAC,UAAU,CAAA;AAAA,EACjB,QAAA,EAAU;AAAA,IACN,IAAA,EAAM;AAAA,MACF,OAAA,EAAS,EAAE,IAAA,EAAM,OAAA,EAAS,KAAK,EAAA,EAAI,GAAA,EAAK,EAAA,EAAI,IAAA,EAAM,CAAA;AAAE;AACxD,GACJ;AAAA,EACA,UAAA,EAAY;AAAA,IACR,CAAC,KAAA,qBACG,GAAA,CAAC,KAAA,EAAA,EAAI,KAAA,EAAO,EAAE,KAAA,EAAO,OAAA,EAAQ,EACzB,QAAA,kBAAA,GAAA,CAAC,KAAA,EAAA,EAAM,CAAA,EACX;AAAA;AAGZ,CAAA;AAEA,IAAO,wBAAA,GAAQ;AAIR,MAAM,OAAA,GAAiB;AAAA,EAC1B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd;AAEO,MAAM,KAAA,GAAe;AAAA,EACxB,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd;AAEO,MAAM,KAAA,GAAe;AAAA,EACxB,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd;AAEO,MAAM,WAAA,GAAqB;AAAA,EAC9B,IAAA,EAAM;AAAA,IACF,IAAA,EAAM,EAAA;AAAA,IACN,KAAA,EAAO,EAAE,KAAA,EAAO,SAAA;AAAU;AAElC;AAEO,MAAM,MAAA,GAAyC;AAAA,EAClD,QAAQ,CAAC,IAAA,qBAAS,GAAA,CAAC,aAAA,EAAA,EAAe,GAAG,IAAA,EAAM,CAAA;AAAA,EAC3C,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd;AAEO,MAAM,WAAA,GAA8C;AAAA,EACvD,QAAQ,CAAC,IAAA,qBAAS,GAAA,CAAC,aAAA,EAAA,EAAe,GAAG,IAAA,EAAM,CAAA;AAAA,EAC3C,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd;AAEO,MAAM,WAAA,GAA8C;AAAA,EACvD,QAAQ,CAAC,IAAA,qBAAS,GAAA,CAAC,aAAA,EAAA,EAAe,GAAG,IAAA,EAAM,CAAA;AAAA,EAC3C,IAAA,EAAM;AAAA,IACF,IAAA,EAAM;AAAA;AAEd","file":"ton-icon.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 { TonIcon, TonIconCircle } from './ton-icon';\n\nconst meta: Meta<typeof TonIcon> = {\n title: 'Private/Components/TonIcon',\n component: TonIcon,\n tags: ['autodocs'],\n argTypes: {\n size: {\n control: { type: 'range', min: 12, max: 64, step: 4 },\n },\n },\n decorators: [\n (Story) => (\n <div style={{ color: 'white' }}>\n <Story />\n </div>\n ),\n ],\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof TonIcon>;\n\nexport const Default: Story = {\n args: {\n size: 24,\n },\n};\n\nexport const Small: Story = {\n args: {\n size: 16,\n },\n};\n\nexport const Large: Story = {\n args: {\n size: 48,\n },\n};\n\nexport const CustomColor: Story = {\n args: {\n size: 32,\n style: { color: '#0098EB' },\n },\n};\n\nexport const Circle: StoryObj<typeof TonIconCircle> = {\n render: (args) => <TonIconCircle {...args} />,\n args: {\n size: 48,\n },\n};\n\nexport const CircleSmall: StoryObj<typeof TonIconCircle> = {\n render: (args) => <TonIconCircle {...args} />,\n args: {\n size: 24,\n },\n};\n\nexport const CircleLarge: StoryObj<typeof TonIconCircle> = {\n render: (args) => <TonIconCircle {...args} />,\n args: {\n size: 72,\n },\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"balance-badge.d.ts","sourceRoot":"","sources":["../../../../../src/features/balances/components/balance-badge/balance-badge.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,EAAE,EAAkB,MAAM,OAAO,CAAC;AA+BhD,eAAO,MAAM,YAAY;;;;;gBARkC,MAAM;;;iBARX,MAAM;kBAAY,MAAM;;CAsB7E,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var appkit = require('@ton/appkit');
|
|
5
|
-
var clsx = require('clsx');
|
|
6
|
-
var block = require('../../../../components/block');
|
|
7
|
-
var styles = require('./balance-badge.module.css');
|
|
8
|
-
var circleIcon = require('../../../../components/circle-icon');
|
|
9
|
-
|
|
10
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
|
|
12
|
-
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
13
|
-
var styles__default = /*#__PURE__*/_interopDefault(styles);
|
|
14
|
-
|
|
15
|
-
const BalanceBadgeContainer = ({ className, ...props }) => {
|
|
16
|
-
return /* @__PURE__ */ jsxRuntime.jsx(block.Block, { direction: "row", className: clsx__default.default(styles__default.default.balance, className), ...props });
|
|
17
|
-
};
|
|
18
|
-
const BalanceBlock = ({ className, ...props }) => {
|
|
19
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx__default.default(styles__default.default.balanceContainer, className), ...props });
|
|
20
|
-
};
|
|
21
|
-
const Balance = ({
|
|
22
|
-
balance,
|
|
23
|
-
decimals,
|
|
24
|
-
...props
|
|
25
|
-
}) => {
|
|
26
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { ...props, children: balance ? appkit.formatUnits(balance, decimals) : "0" });
|
|
27
|
-
};
|
|
28
|
-
const BalanceSymbol = ({ className, symbol, ...props }) => {
|
|
29
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx__default.default(styles__default.default.ticker, className), ...props, children: symbol });
|
|
30
|
-
};
|
|
31
|
-
const BalanceBadge = {
|
|
32
|
-
Container: BalanceBadgeContainer,
|
|
33
|
-
Icon: circleIcon.CircleIcon,
|
|
34
|
-
BalanceBlock,
|
|
35
|
-
Symbol: BalanceSymbol,
|
|
36
|
-
Balance
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
exports.BalanceBadge = BalanceBadge;
|
|
40
|
-
//# sourceMappingURL=balance-badge.js.map
|
|
41
|
-
//# sourceMappingURL=balance-badge.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/balance-badge/balance-badge.tsx"],"names":["jsx","Block","clsx","styles","formatUnits","CircleIcon"],"mappings":";;;;;;;;;;;;;;AAgBA,MAAM,wBAAmD,CAAC,EAAE,SAAA,EAAW,GAAG,OAAM,KAAM;AAClF,EAAA,uBAAOA,cAAA,CAACC,WAAA,EAAA,EAAM,SAAA,EAAU,KAAA,EAAM,SAAA,EAAWC,qBAAA,CAAKC,uBAAA,CAAO,OAAA,EAAS,SAAS,CAAA,EAAI,GAAG,KAAA,EAAO,CAAA;AACzF,CAAA;AAEA,MAAM,eAA0C,CAAC,EAAE,SAAA,EAAW,GAAG,OAAM,KAAM;AACzE,EAAA,uBAAOH,cAAA,CAAC,SAAI,SAAA,EAAWE,qBAAA,CAAKC,wBAAO,gBAAA,EAAkB,SAAS,CAAA,EAAI,GAAG,KAAA,EAAO,CAAA;AAChF,CAAA;AAEA,MAAM,UAA8E,CAAC;AAAA,EACjF,OAAA;AAAA,EACA,QAAA;AAAA,EACA,GAAG;AACP,CAAA,KAAM;AACF,EAAA,uBAAOH,cAAA,CAAC,UAAM,GAAG,KAAA,EAAQ,oBAAUI,kBAAA,CAAY,OAAA,EAAS,QAAQ,CAAA,GAAI,GAAA,EAAI,CAAA;AAC5E,CAAA;AAEA,MAAM,gBAAiE,CAAC,EAAE,WAAW,MAAA,EAAQ,GAAG,OAAM,KAAM;AACxG,EAAA,uBACIJ,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAWE,qBAAA,CAAKC,uBAAA,CAAO,QAAQ,SAAS,CAAA,EAAI,GAAG,KAAA,EAChD,QAAA,EAAA,MAAA,EACL,CAAA;AAER,CAAA;AAEO,MAAM,YAAA,GAAe;AAAA,EACxB,SAAA,EAAW,qBAAA;AAAA,EACX,IAAA,EAAME,qBAAA;AAAA,EACN,YAAA;AAAA,EACA,MAAA,EAAQ,aAAA;AAAA,EACR;AACJ","file":"balance-badge.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 { formatUnits } from '@ton/appkit';\nimport type { FC, ComponentProps } from 'react';\nimport clsx from 'clsx';\n\nimport { Block } from '../../../../components/block';\nimport styles from './balance-badge.module.css';\nimport { CircleIcon } from '../../../../components/circle-icon';\n\nconst BalanceBadgeContainer: FC<ComponentProps<'div'>> = ({ className, ...props }) => {\n return <Block direction=\"row\" className={clsx(styles.balance, className)} {...props} />;\n};\n\nconst BalanceBlock: FC<ComponentProps<'div'>> = ({ className, ...props }) => {\n return <div className={clsx(styles.balanceContainer, className)} {...props} />;\n};\n\nconst Balance: FC<ComponentProps<'span'> & { balance: string; decimals: number }> = ({\n balance,\n decimals,\n ...props\n}) => {\n return <span {...props}>{balance ? formatUnits(balance, decimals) : '0'}</span>;\n};\n\nconst BalanceSymbol: FC<ComponentProps<'span'> & { symbol: string }> = ({ className, symbol, ...props }) => {\n return (\n <span className={clsx(styles.ticker, className)} {...props}>\n {symbol}\n </span>\n );\n};\n\nexport const BalanceBadge = {\n Container: BalanceBadgeContainer,\n Icon: CircleIcon,\n BalanceBlock: BalanceBlock,\n Symbol: BalanceSymbol,\n Balance: Balance,\n};\n"]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { formatUnits } from '@ton/appkit';
|
|
3
|
-
import clsx from 'clsx';
|
|
4
|
-
import { Block } from '../../../../components/block';
|
|
5
|
-
import styles from './balance-badge.module.css';
|
|
6
|
-
import { CircleIcon } from '../../../../components/circle-icon';
|
|
7
|
-
|
|
8
|
-
const BalanceBadgeContainer = ({ className, ...props }) => {
|
|
9
|
-
return /* @__PURE__ */ jsx(Block, { direction: "row", className: clsx(styles.balance, className), ...props });
|
|
10
|
-
};
|
|
11
|
-
const BalanceBlock = ({ className, ...props }) => {
|
|
12
|
-
return /* @__PURE__ */ jsx("div", { className: clsx(styles.balanceContainer, className), ...props });
|
|
13
|
-
};
|
|
14
|
-
const Balance = ({
|
|
15
|
-
balance,
|
|
16
|
-
decimals,
|
|
17
|
-
...props
|
|
18
|
-
}) => {
|
|
19
|
-
return /* @__PURE__ */ jsx("span", { ...props, children: balance ? formatUnits(balance, decimals) : "0" });
|
|
20
|
-
};
|
|
21
|
-
const BalanceSymbol = ({ className, symbol, ...props }) => {
|
|
22
|
-
return /* @__PURE__ */ jsx("span", { className: clsx(styles.ticker, className), ...props, children: symbol });
|
|
23
|
-
};
|
|
24
|
-
const BalanceBadge = {
|
|
25
|
-
Container: BalanceBadgeContainer,
|
|
26
|
-
Icon: CircleIcon,
|
|
27
|
-
BalanceBlock,
|
|
28
|
-
Symbol: BalanceSymbol,
|
|
29
|
-
Balance
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export { BalanceBadge };
|
|
33
|
-
//# sourceMappingURL=balance-badge.mjs.map
|
|
34
|
-
//# sourceMappingURL=balance-badge.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/balance-badge/balance-badge.tsx"],"names":[],"mappings":";;;;;;;AAgBA,MAAM,wBAAmD,CAAC,EAAE,SAAA,EAAW,GAAG,OAAM,KAAM;AAClF,EAAA,uBAAO,GAAA,CAAC,KAAA,EAAA,EAAM,SAAA,EAAU,KAAA,EAAM,SAAA,EAAW,IAAA,CAAK,MAAA,CAAO,OAAA,EAAS,SAAS,CAAA,EAAI,GAAG,KAAA,EAAO,CAAA;AACzF,CAAA;AAEA,MAAM,eAA0C,CAAC,EAAE,SAAA,EAAW,GAAG,OAAM,KAAM;AACzE,EAAA,uBAAO,GAAA,CAAC,SAAI,SAAA,EAAW,IAAA,CAAK,OAAO,gBAAA,EAAkB,SAAS,CAAA,EAAI,GAAG,KAAA,EAAO,CAAA;AAChF,CAAA;AAEA,MAAM,UAA8E,CAAC;AAAA,EACjF,OAAA;AAAA,EACA,QAAA;AAAA,EACA,GAAG;AACP,CAAA,KAAM;AACF,EAAA,uBAAO,GAAA,CAAC,UAAM,GAAG,KAAA,EAAQ,oBAAU,WAAA,CAAY,OAAA,EAAS,QAAQ,CAAA,GAAI,GAAA,EAAI,CAAA;AAC5E,CAAA;AAEA,MAAM,gBAAiE,CAAC,EAAE,WAAW,MAAA,EAAQ,GAAG,OAAM,KAAM;AACxG,EAAA,uBACI,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAW,IAAA,CAAK,MAAA,CAAO,QAAQ,SAAS,CAAA,EAAI,GAAG,KAAA,EAChD,QAAA,EAAA,MAAA,EACL,CAAA;AAER,CAAA;AAEO,MAAM,YAAA,GAAe;AAAA,EACxB,SAAA,EAAW,qBAAA;AAAA,EACX,IAAA,EAAM,UAAA;AAAA,EACN,YAAA;AAAA,EACA,MAAA,EAAQ,aAAA;AAAA,EACR;AACJ","file":"balance-badge.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 { formatUnits } from '@ton/appkit';\nimport type { FC, ComponentProps } from 'react';\nimport clsx from 'clsx';\n\nimport { Block } from '../../../../components/block';\nimport styles from './balance-badge.module.css';\nimport { CircleIcon } from '../../../../components/circle-icon';\n\nconst BalanceBadgeContainer: FC<ComponentProps<'div'>> = ({ className, ...props }) => {\n return <Block direction=\"row\" className={clsx(styles.balance, className)} {...props} />;\n};\n\nconst BalanceBlock: FC<ComponentProps<'div'>> = ({ className, ...props }) => {\n return <div className={clsx(styles.balanceContainer, className)} {...props} />;\n};\n\nconst Balance: FC<ComponentProps<'span'> & { balance: string; decimals: number }> = ({\n balance,\n decimals,\n ...props\n}) => {\n return <span {...props}>{balance ? formatUnits(balance, decimals) : '0'}</span>;\n};\n\nconst BalanceSymbol: FC<ComponentProps<'span'> & { symbol: string }> = ({ className, symbol, ...props }) => {\n return (\n <span className={clsx(styles.ticker, className)} {...props}>\n {symbol}\n </span>\n );\n};\n\nexport const BalanceBadge = {\n Container: BalanceBadgeContainer,\n Icon: CircleIcon,\n BalanceBlock: BalanceBlock,\n Symbol: BalanceSymbol,\n Balance: Balance,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/balance-badge/balance-badge.module.css"],"sourcesContent":[".balance {\n composes: bodyMedium from \"../../../../styles/typography.module.css\";\n\n width: fit-content;\n gap: 12px;\n padding: 12px;\n color: var(--ta-color-text-secondary);\n line-height: 1;\n}\n\n.balanceContainer {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n.ticker {\n composes: bodyBold from \"../../../../styles/typography.module.css\";\n color: var(--ta-color-text);\n line-height: 1;\n}\n"],"mappings":"AAAA,CAAC;AACC,YAAU,WAAW,KAAK;AAE1B,SAAO;AACP,OAAK;AACL,WAAS;AACT,SAAO,IAAI;AACX,eAAa;AACf;AAEA,CAAC;AACC,WAAS;AACT,kBAAgB;AAChB,OAAK;AACP;AAEA,CAAC;AACC,YAAU,SAAS,KAAK;AACxB,SAAO,IAAI;AACX,eAAa;AACf;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"balance-badge.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/balances/components/balance-badge/balance-badge.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI,EAAE,IAMX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAEtB,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAU3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var balanceBadge = require('./balance-badge');
|
|
7
|
-
|
|
8
|
-
const meta = {
|
|
9
|
-
title: "Public/Features/Balances/BalanceBadge",
|
|
10
|
-
tags: ["autodocs"],
|
|
11
|
-
parameters: {
|
|
12
|
-
layout: "centered"
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
var balance_badge_stories_default = meta;
|
|
16
|
-
const TonBalance = {
|
|
17
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs(balanceBadge.BalanceBadge.Container, { children: [
|
|
18
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Icon, { src: "https://ton.org/download/ton_symbol.png", alt: "TON", size: 40 }),
|
|
19
|
-
/* @__PURE__ */ jsxRuntime.jsxs(balanceBadge.BalanceBadge.BalanceBlock, { children: [
|
|
20
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Balance, { balance: "1500000000", decimals: 9 }),
|
|
21
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Symbol, { symbol: "TON" })
|
|
22
|
-
] })
|
|
23
|
-
] })
|
|
24
|
-
};
|
|
25
|
-
const JettonBalance = {
|
|
26
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs(balanceBadge.BalanceBadge.Container, { children: [
|
|
27
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Icon, { fallback: "U", alt: "USDT", size: 40 }),
|
|
28
|
-
/* @__PURE__ */ jsxRuntime.jsxs(balanceBadge.BalanceBadge.BalanceBlock, { children: [
|
|
29
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Balance, { balance: "100000000", decimals: 6 }),
|
|
30
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Symbol, { symbol: "USDT" })
|
|
31
|
-
] })
|
|
32
|
-
] })
|
|
33
|
-
};
|
|
34
|
-
const ZeroBalance = {
|
|
35
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs(balanceBadge.BalanceBadge.Container, { children: [
|
|
36
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Icon, { src: "https://ton.org/download/ton_symbol.png", alt: "TON", size: 40 }),
|
|
37
|
-
/* @__PURE__ */ jsxRuntime.jsxs(balanceBadge.BalanceBadge.BalanceBlock, { children: [
|
|
38
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Balance, { balance: "", decimals: 9 }),
|
|
39
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Symbol, { symbol: "TON" })
|
|
40
|
-
] })
|
|
41
|
-
] })
|
|
42
|
-
};
|
|
43
|
-
const LargeBalance = {
|
|
44
|
-
render: () => /* @__PURE__ */ jsxRuntime.jsxs(balanceBadge.BalanceBadge.Container, { children: [
|
|
45
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Icon, { src: "https://ton.org/download/ton_symbol.png", alt: "TON", size: 40 }),
|
|
46
|
-
/* @__PURE__ */ jsxRuntime.jsxs(balanceBadge.BalanceBadge.BalanceBlock, { children: [
|
|
47
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Balance, { balance: "999999999999999999", decimals: 9 }),
|
|
48
|
-
/* @__PURE__ */ jsxRuntime.jsx(balanceBadge.BalanceBadge.Symbol, { symbol: "TON" })
|
|
49
|
-
] })
|
|
50
|
-
] })
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
exports.JettonBalance = JettonBalance;
|
|
54
|
-
exports.LargeBalance = LargeBalance;
|
|
55
|
-
exports.TonBalance = TonBalance;
|
|
56
|
-
exports.ZeroBalance = ZeroBalance;
|
|
57
|
-
exports.default = balance_badge_stories_default;
|
|
58
|
-
//# sourceMappingURL=balance-badge.stories.js.map
|
|
59
|
-
//# sourceMappingURL=balance-badge.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/features/balances/components/balance-badge/balance-badge.stories.tsx"],"names":["jsxs","BalanceBadge","jsx"],"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,sBACJA,eAAA,CAACC,yBAAA,CAAa,WAAb,EACG,QAAA,EAAA;AAAA,oBAAAC,cAAA,CAACD,yBAAA,CAAa,MAAb,EAAkB,GAAA,EAAI,2CAA0C,GAAA,EAAI,KAAA,EAAM,MAAM,EAAA,EAAI,CAAA;AAAA,oBACrFD,eAAA,CAACC,yBAAA,CAAa,YAAA,EAAb,EACG,QAAA,EAAA;AAAA,sBAAAC,cAAA,CAACD,0BAAa,OAAA,EAAb,EAAqB,OAAA,EAAQ,YAAA,EAAa,UAAU,CAAA,EAAG,CAAA;AAAA,sBACxDC,cAAA,CAACD,yBAAA,CAAa,MAAA,EAAb,EAAoB,QAAO,KAAA,EAAM;AAAA,KAAA,EACtC;AAAA,GAAA,EACJ;AAER;AAEO,MAAM,aAAA,GAAuB;AAAA,EAChC,MAAA,EAAQ,sBACJD,eAAA,CAACC,yBAAA,CAAa,WAAb,EACG,QAAA,EAAA;AAAA,oBAAAC,cAAA,CAACD,yBAAA,CAAa,MAAb,EAAkB,QAAA,EAAS,KAAI,GAAA,EAAI,MAAA,EAAO,MAAM,EAAA,EAAI,CAAA;AAAA,oBACrDD,eAAA,CAACC,yBAAA,CAAa,YAAA,EAAb,EACG,QAAA,EAAA;AAAA,sBAAAC,cAAA,CAACD,0BAAa,OAAA,EAAb,EAAqB,OAAA,EAAQ,WAAA,EAAY,UAAU,CAAA,EAAG,CAAA;AAAA,sBACvDC,cAAA,CAACD,yBAAA,CAAa,MAAA,EAAb,EAAoB,QAAO,MAAA,EAAO;AAAA,KAAA,EACvC;AAAA,GAAA,EACJ;AAER;AAEO,MAAM,WAAA,GAAqB;AAAA,EAC9B,MAAA,EAAQ,sBACJD,eAAA,CAACC,yBAAA,CAAa,WAAb,EACG,QAAA,EAAA;AAAA,oBAAAC,cAAA,CAACD,yBAAA,CAAa,MAAb,EAAkB,GAAA,EAAI,2CAA0C,GAAA,EAAI,KAAA,EAAM,MAAM,EAAA,EAAI,CAAA;AAAA,oBACrFD,eAAA,CAACC,yBAAA,CAAa,YAAA,EAAb,EACG,QAAA,EAAA;AAAA,sBAAAC,cAAA,CAACD,0BAAa,OAAA,EAAb,EAAqB,OAAA,EAAQ,EAAA,EAAG,UAAU,CAAA,EAAG,CAAA;AAAA,sBAC9CC,cAAA,CAACD,yBAAA,CAAa,MAAA,EAAb,EAAoB,QAAO,KAAA,EAAM;AAAA,KAAA,EACtC;AAAA,GAAA,EACJ;AAER;AAEO,MAAM,YAAA,GAAsB;AAAA,EAC/B,MAAA,EAAQ,sBACJD,eAAA,CAACC,yBAAA,CAAa,WAAb,EACG,QAAA,EAAA;AAAA,oBAAAC,cAAA,CAACD,yBAAA,CAAa,MAAb,EAAkB,GAAA,EAAI,2CAA0C,GAAA,EAAI,KAAA,EAAM,MAAM,EAAA,EAAI,CAAA;AAAA,oBACrFD,eAAA,CAACC,yBAAA,CAAa,YAAA,EAAb,EACG,QAAA,EAAA;AAAA,sBAAAC,cAAA,CAACD,0BAAa,OAAA,EAAb,EAAqB,OAAA,EAAQ,oBAAA,EAAqB,UAAU,CAAA,EAAG,CAAA;AAAA,sBAChEC,cAAA,CAACD,yBAAA,CAAa,MAAA,EAAb,EAAoB,QAAO,KAAA,EAAM;AAAA,KAAA,EACtC;AAAA,GAAA,EACJ;AAER","file":"balance-badge.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';\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"]}
|