@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
package/dist/libs/query.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/libs/query.ts"],"names":["tanstack_useQuery"],"mappings":";;;AAwCO,SAAS,SACZ,UAAA,EAG+B;AAC/B,EAAA,MAAM,SAASA,UAAA,CAAkB;AAAA,IAC7B,GAAG;AAAA;AAAA,GAEN,CAAA;AACD,EAAA,MAAA,CAAO,WAAW,UAAA,CAAW,QAAA;AAC7B,EAAA,OAAO,MAAA;AACX","file":"query.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 { useQuery as tanstack_useQuery, useMutation } from '@tanstack/react-query';\nimport type {\n DefaultError,\n MutateFunction,\n QueryKey,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n} from '@tanstack/react-query';\nimport type { Compute, ExactPartial, UnionStrictOmit } from '@ton/appkit';\n\nexport { useMutation };\n\nexport type UseMutationParameters<data = unknown, error = Error, variables = void, context = unknown> = Compute<\n Omit<UseMutationOptions<data, error, Compute<variables>, context>, 'mutationFn' | 'mutationKey' | 'throwOnError'>\n>;\n\nexport type UseMutationReturnType<\n data = unknown,\n error = Error,\n variables = void,\n context = unknown,\n mutate = MutateFunction,\n mutateAsync = MutateFunction,\n> = Compute<\n UnionStrictOmit<UseMutationResult<data, error, variables, context>, 'mutate' | 'mutateAsync'> & {\n mutate: mutate;\n mutateAsync: mutateAsync;\n }\n>;\n\nexport function useQuery<queryFnData, error, data, queryKey extends QueryKey>(\n parameters: UseQueryParameters<queryFnData, error, data, queryKey> & {\n queryKey: QueryKey;\n },\n): UseQueryReturnType<data, error> {\n const result = tanstack_useQuery({\n ...parameters,\n // queryKeyHashFn: hashFn, // for bigint support\n }) as UseQueryReturnType<data, error>;\n result.queryKey = parameters.queryKey;\n return result;\n}\n\nexport type UseQueryParameters<\n queryFnData = unknown,\n error = DefaultError,\n data = queryFnData,\n queryKey extends QueryKey = QueryKey,\n> = Compute<\n ExactPartial<Omit<UseQueryOptions<queryFnData, error, data, queryKey>, 'initialData'>> & {\n initialData?: UseQueryOptions<queryFnData, error, data, queryKey>['initialData'] | undefined;\n }\n>;\n\nexport type UseQueryReturnType<data = unknown, error = DefaultError> = Compute<\n UseQueryResult<data, error> & {\n queryKey: QueryKey;\n }\n>;\n"]}
|
package/dist/locales/en.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;AAEH,wBA0BW"}
|
package/dist/locales/en.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var en_default = {
|
|
4
|
-
// Wallet connection
|
|
5
|
-
wallet: {
|
|
6
|
-
connect: "Connect",
|
|
7
|
-
disconnect: "Disconnect",
|
|
8
|
-
connectWallet: "Connect Wallet",
|
|
9
|
-
noWalletsFound: "No wallets found"
|
|
10
|
-
},
|
|
11
|
-
// Transaction
|
|
12
|
-
transaction: {
|
|
13
|
-
sendTransaction: "Send Transaction",
|
|
14
|
-
processing: "Processing..."
|
|
15
|
-
},
|
|
16
|
-
// Balances
|
|
17
|
-
balances: {
|
|
18
|
-
sendTon: "Send {{ amount }} TON",
|
|
19
|
-
sendJetton: "Send {{ amount }} TON",
|
|
20
|
-
sendJettonWithAmount: "Send {{ amount }} {{ symbol }}"
|
|
21
|
-
},
|
|
22
|
-
// NFT
|
|
23
|
-
nft: {
|
|
24
|
-
onSale: "On Sale"
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
module.exports = en_default;
|
|
29
|
-
//# sourceMappingURL=en.js.map
|
|
30
|
-
//# sourceMappingURL=en.js.map
|
package/dist/locales/en.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/locales/en.ts"],"names":[],"mappings":";;AAQA,IAAO,UAAA,GAAQ;AAAA;AAAA,EAEX,MAAA,EAAQ;AAAA,IACJ,OAAA,EAAS,SAAA;AAAA,IACT,UAAA,EAAY,YAAA;AAAA,IACZ,aAAA,EAAe,gBAAA;AAAA,IACf,cAAA,EAAgB;AAAA,GACpB;AAAA;AAAA,EAGA,WAAA,EAAa;AAAA,IACT,eAAA,EAAiB,kBAAA;AAAA,IACjB,UAAA,EAAY;AAAA,GAChB;AAAA;AAAA,EAGA,QAAA,EAAU;AAAA,IACN,OAAA,EAAS,uBAAA;AAAA,IACT,UAAA,EAAY,uBAAA;AAAA,IACZ,oBAAA,EAAsB;AAAA,GAC1B;AAAA;AAAA,EAGA,GAAA,EAAK;AAAA,IACD,MAAA,EAAQ;AAAA;AAEhB","file":"en.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\nexport default {\n // Wallet connection\n wallet: {\n connect: 'Connect',\n disconnect: 'Disconnect',\n connectWallet: 'Connect Wallet',\n noWalletsFound: 'No wallets found',\n },\n\n // Transaction\n transaction: {\n sendTransaction: 'Send Transaction',\n processing: 'Processing...',\n },\n\n // Balances\n balances: {\n sendTon: 'Send {{ amount }} TON',\n sendJetton: 'Send {{ amount }} TON',\n sendJettonWithAmount: 'Send {{ amount }} {{ symbol }}',\n },\n\n // NFT\n nft: {\n onSale: 'On Sale',\n },\n} as const;\n"]}
|
package/dist/locales/en.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
var en_default = {
|
|
2
|
-
// Wallet connection
|
|
3
|
-
wallet: {
|
|
4
|
-
connect: "Connect",
|
|
5
|
-
disconnect: "Disconnect",
|
|
6
|
-
connectWallet: "Connect Wallet",
|
|
7
|
-
noWalletsFound: "No wallets found"
|
|
8
|
-
},
|
|
9
|
-
// Transaction
|
|
10
|
-
transaction: {
|
|
11
|
-
sendTransaction: "Send Transaction",
|
|
12
|
-
processing: "Processing..."
|
|
13
|
-
},
|
|
14
|
-
// Balances
|
|
15
|
-
balances: {
|
|
16
|
-
sendTon: "Send {{ amount }} TON",
|
|
17
|
-
sendJetton: "Send {{ amount }} TON",
|
|
18
|
-
sendJettonWithAmount: "Send {{ amount }} {{ symbol }}"
|
|
19
|
-
},
|
|
20
|
-
// NFT
|
|
21
|
-
nft: {
|
|
22
|
-
onSale: "On Sale"
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export { en_default as default };
|
|
27
|
-
//# sourceMappingURL=en.mjs.map
|
|
28
|
-
//# sourceMappingURL=en.mjs.map
|
package/dist/locales/en.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAQA,IAAO,UAAA,GAAQ;AAAA;AAAA,EAEX,MAAA,EAAQ;AAAA,IACJ,OAAA,EAAS,SAAA;AAAA,IACT,UAAA,EAAY,YAAA;AAAA,IACZ,aAAA,EAAe,gBAAA;AAAA,IACf,cAAA,EAAgB;AAAA,GACpB;AAAA;AAAA,EAGA,WAAA,EAAa;AAAA,IACT,eAAA,EAAiB,kBAAA;AAAA,IACjB,UAAA,EAAY;AAAA,GAChB;AAAA;AAAA,EAGA,QAAA,EAAU;AAAA,IACN,OAAA,EAAS,uBAAA;AAAA,IACT,UAAA,EAAY,uBAAA;AAAA,IACZ,oBAAA,EAAsB;AAAA,GAC1B;AAAA;AAAA,EAGA,GAAA,EAAK;AAAA,IACD,MAAA,EAAQ;AAAA;AAEhB","file":"en.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\nexport default {\n // Wallet connection\n wallet: {\n connect: 'Connect',\n disconnect: 'Disconnect',\n connectWallet: 'Connect Wallet',\n noWalletsFound: 'No wallets found',\n },\n\n // Transaction\n transaction: {\n sendTransaction: 'Send Transaction',\n processing: 'Processing...',\n },\n\n // Balances\n balances: {\n sendTon: 'Send {{ amount }} TON',\n sendJetton: 'Send {{ amount }} TON',\n sendJettonWithAmount: 'Send {{ amount }} {{ symbol }}',\n },\n\n // NFT\n nft: {\n onSale: 'On Sale',\n },\n} as const;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-kit-provider.d.ts","sourceRoot":"","sources":["../../src/providers/app-kit-provider.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAK1C,eAAO,MAAM,aAAa,6CAA+C,CAAC;AAE1E,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC1D,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CAQvE"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var react = require('react');
|
|
5
|
-
var i18nProvider = require('./i18n-provider');
|
|
6
|
-
var tonconnectBridge = require('../tonconnect/tonconnect-bridge');
|
|
7
|
-
|
|
8
|
-
const AppKitContext = react.createContext(void 0);
|
|
9
|
-
function AppKitProvider({ appKit, children }) {
|
|
10
|
-
return /* @__PURE__ */ jsxRuntime.jsx(AppKitContext.Provider, { value: appKit, children: /* @__PURE__ */ jsxRuntime.jsx(tonconnectBridge.TonConnectBridge, { children: /* @__PURE__ */ jsxRuntime.jsx(i18nProvider.I18nProvider, { children }) }) });
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
exports.AppKitContext = AppKitContext;
|
|
14
|
-
exports.AppKitProvider = AppKitProvider;
|
|
15
|
-
//# sourceMappingURL=app-kit-provider.js.map
|
|
16
|
-
//# sourceMappingURL=app-kit-provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/providers/app-kit-provider.tsx"],"names":["createContext","jsx","TonConnectBridge","I18nProvider"],"mappings":";;;;;;;AAeO,MAAM,aAAA,GAAgBA,oBAAkC,MAAS;AAMjE,SAAS,cAAA,CAAe,EAAE,MAAA,EAAQ,QAAA,EAAS,EAAwB;AACtE,EAAA,uBACIC,cAAA,CAAC,aAAA,CAAc,QAAA,EAAd,EAAuB,KAAA,EAAO,MAAA,EAC3B,QAAA,kBAAAA,cAAA,CAACC,iCAAA,EAAA,EACG,QAAA,kBAAAD,cAAA,CAACE,yBAAA,EAAA,EAAc,QAAA,EAAS,CAAA,EAC5B,CAAA,EACJ,CAAA;AAER","file":"app-kit-provider.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 { PropsWithChildren } from 'react';\nimport { createContext } from 'react';\nimport type { AppKit } from '@ton/appkit';\n\nimport { I18nProvider } from './i18n-provider';\nimport { TonConnectBridge } from '../tonconnect/tonconnect-bridge';\n\nexport const AppKitContext = createContext<AppKit | undefined>(undefined);\n\nexport interface AppKitProviderProps extends PropsWithChildren {\n appKit: AppKit;\n}\n\nexport function AppKitProvider({ appKit, children }: AppKitProviderProps) {\n return (\n <AppKitContext.Provider value={appKit}>\n <TonConnectBridge>\n <I18nProvider>{children}</I18nProvider>\n </TonConnectBridge>\n </AppKitContext.Provider>\n );\n}\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { createContext } from 'react';
|
|
3
|
-
import { I18nProvider } from './i18n-provider';
|
|
4
|
-
import { TonConnectBridge } from '../tonconnect/tonconnect-bridge';
|
|
5
|
-
|
|
6
|
-
const AppKitContext = createContext(void 0);
|
|
7
|
-
function AppKitProvider({ appKit, children }) {
|
|
8
|
-
return /* @__PURE__ */ jsx(AppKitContext.Provider, { value: appKit, children: /* @__PURE__ */ jsx(TonConnectBridge, { children: /* @__PURE__ */ jsx(I18nProvider, { children }) }) });
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export { AppKitContext, AppKitProvider };
|
|
12
|
-
//# sourceMappingURL=app-kit-provider.mjs.map
|
|
13
|
-
//# sourceMappingURL=app-kit-provider.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/providers/app-kit-provider.tsx"],"names":[],"mappings":";;;;;AAeO,MAAM,aAAA,GAAgB,cAAkC,MAAS;AAMjE,SAAS,cAAA,CAAe,EAAE,MAAA,EAAQ,QAAA,EAAS,EAAwB;AACtE,EAAA,uBACI,GAAA,CAAC,aAAA,CAAc,QAAA,EAAd,EAAuB,KAAA,EAAO,MAAA,EAC3B,QAAA,kBAAA,GAAA,CAAC,gBAAA,EAAA,EACG,QAAA,kBAAA,GAAA,CAAC,YAAA,EAAA,EAAc,QAAA,EAAS,CAAA,EAC5B,CAAA,EACJ,CAAA;AAER","file":"app-kit-provider.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 { PropsWithChildren } from 'react';\nimport { createContext } from 'react';\nimport type { AppKit } from '@ton/appkit';\n\nimport { I18nProvider } from './i18n-provider';\nimport { TonConnectBridge } from '../tonconnect/tonconnect-bridge';\n\nexport const AppKitContext = createContext<AppKit | undefined>(undefined);\n\nexport interface AppKitProviderProps extends PropsWithChildren {\n appKit: AppKit;\n}\n\nexport function AppKitProvider({ appKit, children }: AppKitProviderProps) {\n return (\n <AppKitContext.Provider value={appKit}>\n <TonConnectBridge>\n <I18nProvider>{children}</I18nProvider>\n </TonConnectBridge>\n </AppKitContext.Provider>\n );\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-provider.d.ts","sourceRoot":"","sources":["../../src/providers/i18n-provider.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAG/C,MAAM,WAAW,eAAe;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACb,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,IAAI,KAAK,IAAI,CAAC;IAC5C,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CAC/C;AAED,eAAO,MAAM,WAAW,iDAA8C,CAAC;AAEvE,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,YAAY,GAAI,gCAAgC,iBAAiB,4CAsD7E,CAAC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var react = require('react');
|
|
5
|
-
var i18n = require('../libs/i18n');
|
|
6
|
-
|
|
7
|
-
const I18nContext = react.createContext(null);
|
|
8
|
-
const I18nProvider = ({ children, locale, lngDicts }) => {
|
|
9
|
-
const activeLocaleRef = react.useRef(locale || i18n.defaultLanguage);
|
|
10
|
-
const [, setTick] = react.useState(0);
|
|
11
|
-
const firstRender = react.useRef(true);
|
|
12
|
-
const i18nWrapper = {
|
|
13
|
-
activeLocale: activeLocaleRef.current,
|
|
14
|
-
t: (...args) => i18n.i18n.t(...args),
|
|
15
|
-
locale: (l, dict) => {
|
|
16
|
-
i18n.i18n.locale(l);
|
|
17
|
-
activeLocaleRef.current = l;
|
|
18
|
-
if (dict) {
|
|
19
|
-
i18n.i18n.set(l, dict);
|
|
20
|
-
}
|
|
21
|
-
setTick((tick) => tick + 1);
|
|
22
|
-
},
|
|
23
|
-
addDict: (l, dict) => {
|
|
24
|
-
i18n.i18n.set(l, dict);
|
|
25
|
-
setTick((tick) => tick + 1);
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
if (locale && firstRender.current === true) {
|
|
29
|
-
firstRender.current = false;
|
|
30
|
-
const dict = lngDicts?.[locale];
|
|
31
|
-
i18nWrapper.locale(locale, dict);
|
|
32
|
-
const restDicts = Object.entries(lngDicts || {}).filter(([l]) => l !== locale);
|
|
33
|
-
restDicts.forEach(([l, dict2]) => {
|
|
34
|
-
i18nWrapper.addDict(l, dict2);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
react.useEffect(() => {
|
|
38
|
-
if (lngDicts) {
|
|
39
|
-
Object.entries(lngDicts).forEach(([l, dict]) => {
|
|
40
|
-
i18nWrapper.addDict(l, dict);
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
}, [lngDicts]);
|
|
44
|
-
react.useEffect(() => {
|
|
45
|
-
if (locale) {
|
|
46
|
-
i18nWrapper.locale(locale);
|
|
47
|
-
}
|
|
48
|
-
}, [locale]);
|
|
49
|
-
return /* @__PURE__ */ jsxRuntime.jsx(I18nContext.Provider, { value: i18nWrapper, children });
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
exports.I18nContext = I18nContext;
|
|
53
|
-
exports.I18nProvider = I18nProvider;
|
|
54
|
-
//# sourceMappingURL=i18n-provider.js.map
|
|
55
|
-
//# sourceMappingURL=i18n-provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/providers/i18n-provider.tsx"],"names":["createContext","useRef","defaultLanguage","useState","i18n","dict","useEffect"],"mappings":";;;;;;AAqBO,MAAM,WAAA,GAAcA,oBAAsC,IAAI;AAO9D,MAAM,eAAe,CAAC,EAAE,QAAA,EAAU,MAAA,EAAQ,UAAS,KAAyB;AAC/E,EAAA,MAAM,eAAA,GAAkBC,YAAA,CAAO,MAAA,IAAUC,oBAAe,CAAA;AACxD,EAAA,MAAM,GAAG,OAAO,CAAA,GAAIC,eAAS,CAAC,CAAA;AAC9B,EAAA,MAAM,WAAA,GAAcF,aAAO,IAAI,CAAA;AAE/B,EAAA,MAAM,WAAA,GAA+B;AAAA,IACjC,cAAc,eAAA,CAAgB,OAAA;AAAA,IAC9B,GAAG,CAAA,GAAI,IAAA,KAASG,SAAA,CAAK,CAAA,CAAE,GAAG,IAAI,CAAA;AAAA,IAC9B,MAAA,EAAQ,CAAC,CAAA,EAAG,IAAA,KAAS;AACjB,MAAAA,SAAA,CAAK,OAAO,CAAC,CAAA;AACb,MAAA,eAAA,CAAgB,OAAA,GAAU,CAAA;AAE1B,MAAA,IAAI,IAAA,EAAM;AACN,QAAAA,SAAA,CAAK,GAAA,CAAI,GAAG,IAAI,CAAA;AAAA,MACpB;AAGA,MAAA,OAAA,CAAQ,CAAC,IAAA,KAAS,IAAA,GAAO,CAAC,CAAA;AAAA,IAC9B,CAAA;AAAA,IACA,OAAA,EAAS,CAAC,CAAA,EAAG,IAAA,KAAS;AAClB,MAAAA,SAAA,CAAK,GAAA,CAAI,GAAG,IAAI,CAAA;AAGhB,MAAA,OAAA,CAAQ,CAAC,IAAA,KAAS,IAAA,GAAO,CAAC,CAAA;AAAA,IAC9B;AAAA,GACJ;AAGA,EAAA,IAAI,MAAA,IAAU,WAAA,CAAY,OAAA,KAAY,IAAA,EAAM;AACxC,IAAA,WAAA,CAAY,OAAA,GAAU,KAAA;AACtB,IAAA,MAAM,IAAA,GAAO,WAAW,MAAM,CAAA;AAC9B,IAAA,WAAA,CAAY,MAAA,CAAO,QAAQ,IAAI,CAAA;AAE/B,IAAA,MAAM,SAAA,GAAY,MAAA,CAAO,OAAA,CAAQ,QAAA,IAAY,EAAE,CAAA,CAAE,MAAA,CAAO,CAAC,CAAC,CAAC,CAAA,KAAM,MAAM,MAAM,CAAA;AAC7E,IAAA,SAAA,CAAU,OAAA,CAAQ,CAAC,CAAC,CAAA,EAAGC,KAAI,CAAA,KAAM;AAC7B,MAAA,WAAA,CAAY,OAAA,CAAQ,GAAGA,KAAI,CAAA;AAAA,IAC/B,CAAC,CAAA;AAAA,EACL;AAEA,EAAAC,eAAA,CAAU,MAAM;AACZ,IAAA,IAAI,QAAA,EAAU;AACV,MAAA,MAAA,CAAO,OAAA,CAAQ,QAAQ,CAAA,CAAE,OAAA,CAAQ,CAAC,CAAC,CAAA,EAAG,IAAI,CAAA,KAAM;AAC5C,QAAA,WAAA,CAAY,OAAA,CAAQ,GAAG,IAAI,CAAA;AAAA,MAC/B,CAAC,CAAA;AAAA,IACL;AAAA,EACJ,CAAA,EAAG,CAAC,QAAQ,CAAC,CAAA;AAEb,EAAAA,eAAA,CAAU,MAAM;AACZ,IAAA,IAAI,MAAA,EAAQ;AACR,MAAA,WAAA,CAAY,OAAO,MAAM,CAAA;AAAA,IAC7B;AAAA,EACJ,CAAA,EAAG,CAAC,MAAM,CAAC,CAAA;AAEX,EAAA,sCAAQ,WAAA,CAAY,QAAA,EAAZ,EAAqB,KAAA,EAAO,aAAc,QAAA,EAAS,CAAA;AAC/D","file":"i18n-provider.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 { PropsWithChildren } from 'react';\nimport { createContext, useState, useRef, useEffect } from 'react';\n\nimport type { Dict, I18n } from '../libs/i18n';\nimport { i18n, defaultLanguage } from '../libs/i18n';\n\nexport interface I18nContextType {\n activeLocale: string;\n t: I18n['t'];\n locale: (lang: string, dict?: Dict) => void;\n addDict: (lang: string, dict: Dict) => void;\n}\n\nexport const I18nContext = createContext<I18nContextType | null>(null);\n\nexport interface I18nProviderProps extends PropsWithChildren {\n locale?: string;\n lngDicts?: Record<string, Dict>;\n}\n\nexport const I18nProvider = ({ children, locale, lngDicts }: I18nProviderProps) => {\n const activeLocaleRef = useRef(locale || defaultLanguage);\n const [, setTick] = useState(0);\n const firstRender = useRef(true);\n\n const i18nWrapper: I18nContextType = {\n activeLocale: activeLocaleRef.current,\n t: (...args) => i18n.t(...args),\n locale: (l, dict) => {\n i18n.locale(l);\n activeLocaleRef.current = l;\n\n if (dict) {\n i18n.set(l, dict);\n }\n\n // force rerender to update view\n setTick((tick) => tick + 1);\n },\n addDict: (l, dict) => {\n i18n.set(l, dict);\n\n // force rerender to update view\n setTick((tick) => tick + 1);\n },\n };\n\n // for initial SSR render\n if (locale && firstRender.current === true) {\n firstRender.current = false;\n const dict = lngDicts?.[locale];\n i18nWrapper.locale(locale, dict);\n\n const restDicts = Object.entries(lngDicts || {}).filter(([l]) => l !== locale);\n restDicts.forEach(([l, dict]) => {\n i18nWrapper.addDict(l, dict);\n });\n }\n\n useEffect(() => {\n if (lngDicts) {\n Object.entries(lngDicts).forEach(([l, dict]) => {\n i18nWrapper.addDict(l, dict);\n });\n }\n }, [lngDicts]);\n\n useEffect(() => {\n if (locale) {\n i18nWrapper.locale(locale);\n }\n }, [locale]);\n\n return <I18nContext.Provider value={i18nWrapper}>{children}</I18nContext.Provider>;\n};\n"]}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { createContext, useRef, useState, useEffect } from 'react';
|
|
3
|
-
import { defaultLanguage, i18n } from '../libs/i18n';
|
|
4
|
-
|
|
5
|
-
const I18nContext = createContext(null);
|
|
6
|
-
const I18nProvider = ({ children, locale, lngDicts }) => {
|
|
7
|
-
const activeLocaleRef = useRef(locale || defaultLanguage);
|
|
8
|
-
const [, setTick] = useState(0);
|
|
9
|
-
const firstRender = useRef(true);
|
|
10
|
-
const i18nWrapper = {
|
|
11
|
-
activeLocale: activeLocaleRef.current,
|
|
12
|
-
t: (...args) => i18n.t(...args),
|
|
13
|
-
locale: (l, dict) => {
|
|
14
|
-
i18n.locale(l);
|
|
15
|
-
activeLocaleRef.current = l;
|
|
16
|
-
if (dict) {
|
|
17
|
-
i18n.set(l, dict);
|
|
18
|
-
}
|
|
19
|
-
setTick((tick) => tick + 1);
|
|
20
|
-
},
|
|
21
|
-
addDict: (l, dict) => {
|
|
22
|
-
i18n.set(l, dict);
|
|
23
|
-
setTick((tick) => tick + 1);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
if (locale && firstRender.current === true) {
|
|
27
|
-
firstRender.current = false;
|
|
28
|
-
const dict = lngDicts?.[locale];
|
|
29
|
-
i18nWrapper.locale(locale, dict);
|
|
30
|
-
const restDicts = Object.entries(lngDicts || {}).filter(([l]) => l !== locale);
|
|
31
|
-
restDicts.forEach(([l, dict2]) => {
|
|
32
|
-
i18nWrapper.addDict(l, dict2);
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
useEffect(() => {
|
|
36
|
-
if (lngDicts) {
|
|
37
|
-
Object.entries(lngDicts).forEach(([l, dict]) => {
|
|
38
|
-
i18nWrapper.addDict(l, dict);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}, [lngDicts]);
|
|
42
|
-
useEffect(() => {
|
|
43
|
-
if (locale) {
|
|
44
|
-
i18nWrapper.locale(locale);
|
|
45
|
-
}
|
|
46
|
-
}, [locale]);
|
|
47
|
-
return /* @__PURE__ */ jsx(I18nContext.Provider, { value: i18nWrapper, children });
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
export { I18nContext, I18nProvider };
|
|
51
|
-
//# sourceMappingURL=i18n-provider.mjs.map
|
|
52
|
-
//# sourceMappingURL=i18n-provider.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/providers/i18n-provider.tsx"],"names":["dict"],"mappings":";;;;AAqBO,MAAM,WAAA,GAAc,cAAsC,IAAI;AAO9D,MAAM,eAAe,CAAC,EAAE,QAAA,EAAU,MAAA,EAAQ,UAAS,KAAyB;AAC/E,EAAA,MAAM,eAAA,GAAkB,MAAA,CAAO,MAAA,IAAU,eAAe,CAAA;AACxD,EAAA,MAAM,GAAG,OAAO,CAAA,GAAI,SAAS,CAAC,CAAA;AAC9B,EAAA,MAAM,WAAA,GAAc,OAAO,IAAI,CAAA;AAE/B,EAAA,MAAM,WAAA,GAA+B;AAAA,IACjC,cAAc,eAAA,CAAgB,OAAA;AAAA,IAC9B,GAAG,CAAA,GAAI,IAAA,KAAS,IAAA,CAAK,CAAA,CAAE,GAAG,IAAI,CAAA;AAAA,IAC9B,MAAA,EAAQ,CAAC,CAAA,EAAG,IAAA,KAAS;AACjB,MAAA,IAAA,CAAK,OAAO,CAAC,CAAA;AACb,MAAA,eAAA,CAAgB,OAAA,GAAU,CAAA;AAE1B,MAAA,IAAI,IAAA,EAAM;AACN,QAAA,IAAA,CAAK,GAAA,CAAI,GAAG,IAAI,CAAA;AAAA,MACpB;AAGA,MAAA,OAAA,CAAQ,CAAC,IAAA,KAAS,IAAA,GAAO,CAAC,CAAA;AAAA,IAC9B,CAAA;AAAA,IACA,OAAA,EAAS,CAAC,CAAA,EAAG,IAAA,KAAS;AAClB,MAAA,IAAA,CAAK,GAAA,CAAI,GAAG,IAAI,CAAA;AAGhB,MAAA,OAAA,CAAQ,CAAC,IAAA,KAAS,IAAA,GAAO,CAAC,CAAA;AAAA,IAC9B;AAAA,GACJ;AAGA,EAAA,IAAI,MAAA,IAAU,WAAA,CAAY,OAAA,KAAY,IAAA,EAAM;AACxC,IAAA,WAAA,CAAY,OAAA,GAAU,KAAA;AACtB,IAAA,MAAM,IAAA,GAAO,WAAW,MAAM,CAAA;AAC9B,IAAA,WAAA,CAAY,MAAA,CAAO,QAAQ,IAAI,CAAA;AAE/B,IAAA,MAAM,SAAA,GAAY,MAAA,CAAO,OAAA,CAAQ,QAAA,IAAY,EAAE,CAAA,CAAE,MAAA,CAAO,CAAC,CAAC,CAAC,CAAA,KAAM,MAAM,MAAM,CAAA;AAC7E,IAAA,SAAA,CAAU,OAAA,CAAQ,CAAC,CAAC,CAAA,EAAGA,KAAI,CAAA,KAAM;AAC7B,MAAA,WAAA,CAAY,OAAA,CAAQ,GAAGA,KAAI,CAAA;AAAA,IAC/B,CAAC,CAAA;AAAA,EACL;AAEA,EAAA,SAAA,CAAU,MAAM;AACZ,IAAA,IAAI,QAAA,EAAU;AACV,MAAA,MAAA,CAAO,OAAA,CAAQ,QAAQ,CAAA,CAAE,OAAA,CAAQ,CAAC,CAAC,CAAA,EAAG,IAAI,CAAA,KAAM;AAC5C,QAAA,WAAA,CAAY,OAAA,CAAQ,GAAG,IAAI,CAAA;AAAA,MAC/B,CAAC,CAAA;AAAA,IACL;AAAA,EACJ,CAAA,EAAG,CAAC,QAAQ,CAAC,CAAA;AAEb,EAAA,SAAA,CAAU,MAAM;AACZ,IAAA,IAAI,MAAA,EAAQ;AACR,MAAA,WAAA,CAAY,OAAO,MAAM,CAAA;AAAA,IAC7B;AAAA,EACJ,CAAA,EAAG,CAAC,MAAM,CAAC,CAAA;AAEX,EAAA,2BAAQ,WAAA,CAAY,QAAA,EAAZ,EAAqB,KAAA,EAAO,aAAc,QAAA,EAAS,CAAA;AAC/D","file":"i18n-provider.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 { PropsWithChildren } from 'react';\nimport { createContext, useState, useRef, useEffect } from 'react';\n\nimport type { Dict, I18n } from '../libs/i18n';\nimport { i18n, defaultLanguage } from '../libs/i18n';\n\nexport interface I18nContextType {\n activeLocale: string;\n t: I18n['t'];\n locale: (lang: string, dict?: Dict) => void;\n addDict: (lang: string, dict: Dict) => void;\n}\n\nexport const I18nContext = createContext<I18nContextType | null>(null);\n\nexport interface I18nProviderProps extends PropsWithChildren {\n locale?: string;\n lngDicts?: Record<string, Dict>;\n}\n\nexport const I18nProvider = ({ children, locale, lngDicts }: I18nProviderProps) => {\n const activeLocaleRef = useRef(locale || defaultLanguage);\n const [, setTick] = useState(0);\n const firstRender = useRef(true);\n\n const i18nWrapper: I18nContextType = {\n activeLocale: activeLocaleRef.current,\n t: (...args) => i18n.t(...args),\n locale: (l, dict) => {\n i18n.locale(l);\n activeLocaleRef.current = l;\n\n if (dict) {\n i18n.set(l, dict);\n }\n\n // force rerender to update view\n setTick((tick) => tick + 1);\n },\n addDict: (l, dict) => {\n i18n.set(l, dict);\n\n // force rerender to update view\n setTick((tick) => tick + 1);\n },\n };\n\n // for initial SSR render\n if (locale && firstRender.current === true) {\n firstRender.current = false;\n const dict = lngDicts?.[locale];\n i18nWrapper.locale(locale, dict);\n\n const restDicts = Object.entries(lngDicts || {}).filter(([l]) => l !== locale);\n restDicts.forEach(([l, dict]) => {\n i18nWrapper.addDict(l, dict);\n });\n }\n\n useEffect(() => {\n if (lngDicts) {\n Object.entries(lngDicts).forEach(([l, dict]) => {\n i18nWrapper.addDict(l, dict);\n });\n }\n }, [lngDicts]);\n\n useEffect(() => {\n if (locale) {\n i18nWrapper.locale(locale);\n }\n }, [locale]);\n\n return <I18nContext.Provider value={i18nWrapper}>{children}</I18nContext.Provider>;\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/styles/index.css"],"sourcesContent":[":root {\n /* Font */\n --ta-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, Tahoma, Verdana, sans-serif;\n \n /* Typography */\n /* Headings */\n --ta-heading1-font-size: 32px;\n --ta-heading1-font-weight: 700;\n --ta-heading1-line-height: normal;\n\n --ta-heading2-font-size: 28px;\n --ta-heading2-font-weight: 700;\n --ta-heading2-line-height: normal;\n\n --ta-heading3-font-size: 24px;\n --ta-heading3-font-weight: 700;\n --ta-heading3-line-height: normal;\n\n --ta-heading4-font-size: 20px;\n --ta-heading4-font-weight: 700;\n --ta-heading4-line-height: normal;\n\n --ta-heading5-font-size: 18px;\n --ta-heading5-font-weight: 700;\n --ta-heading5-line-height: normal;\n\n /* Body */\n --ta-body-large-font-size: 16px;\n --ta-body-large-line-height: 24px;\n --ta-body-large-font-weight: 400;\n --ta-body-large-medium-font-weight: 500;\n \n --ta-body-font-size: 14px;\n --ta-body-line-height: 20px;\n --ta-body-font-weight: 400;\n --ta-body-medium-font-weight: 500;\n --ta-body-bold-font-weight: 700;\n\n --ta-body-small-font-size: 12px;\n --ta-body-small-line-height: 16px;\n --ta-body-small-font-weight: 400;\n\n /* Caption */\n --ta-caption1-font-size: 12px;\n --ta-caption1-line-height: 16px;\n --ta-caption1-font-weight: 400;\n\n --ta-caption2-font-size: 10px;\n --ta-caption2-line-height: 12px;\n --ta-caption2-font-weight: 400;\n\n /* Colors */\n --ta-color-primary: #0098EB;\n --ta-color-primary-foreground: #ffffff;\n --ta-color-text: #000000;\n --ta-color-text-secondary: #8e8e93;\n --ta-color-background: #ffffff;\n --ta-color-background-secondary: #f2f2f7;\n --ta-color-block: #ffffff;\n --ta-color-block-foreground: #000000;\n\n /* Static Colors */\n --ta-color-white: #ffffff;\n --ta-color-black: #000000;\n --ta-color-ton: #0098EB;\n\n /* Border Radius */\n --ta-border-radius-s: 4px;\n --ta-border-radius-m: 8px;\n --ta-border-radius-l: 12px;\n --ta-border-radius-xl: 16px;\n --ta-border-radius-full: 9999px;\n\n /* Border Width */\n --ta-border-width-s: 1px;\n --ta-border-width-m: 2px;\n}\n\n[data-ta-theme='dark'] {\n --ta-color-primary: #0098EB;\n --ta-color-primary-foreground: #ffffff;\n --ta-color-text: #ffffff;\n --ta-color-text-secondary: #8e8e93;\n --ta-color-background: #000000;\n --ta-color-background-secondary: #1c1c1e;\n --ta-color-block: #121214;\n --ta-color-block-foreground: #ffffff;\n}\n"],"mappings":"AAAA;AAEE;AAAA,IAAkB,aAAa;AAAA,IAAE,kBAAkB;AAAA,IAAE,QAAQ;AAAA,IAAE,gBAAgB;AAAA,IAAE,KAAK;AAAA,IAAE,MAAM;AAAA,IAAE,OAAO;AAAA,IAAE;AAIzG,2BAAyB;AACzB,6BAA2B;AAC3B,6BAA2B;AAE3B,2BAAyB;AACzB,6BAA2B;AAC3B,6BAA2B;AAE3B,2BAAyB;AACzB,6BAA2B;AAC3B,6BAA2B;AAE3B,2BAAyB;AACzB,6BAA2B;AAC3B,6BAA2B;AAE3B,2BAAyB;AACzB,6BAA2B;AAC3B,6BAA2B;AAG3B,6BAA2B;AAC3B,+BAA6B;AAC7B,+BAA6B;AAC7B,sCAAoC;AAEpC,uBAAqB;AACrB,yBAAuB;AACvB,yBAAuB;AACvB,gCAA8B;AAC9B,8BAA4B;AAE5B,6BAA2B;AAC3B,+BAA6B;AAC7B,+BAA6B;AAG7B,2BAAyB;AACzB,6BAA2B;AAC3B,6BAA2B;AAE3B,2BAAyB;AACzB,6BAA2B;AAC3B,6BAA2B;AAG3B,sBAAoB;AACpB,iCAA+B;AAC/B,mBAAiB;AACjB,6BAA2B;AAC3B,yBAAuB;AACvB,mCAAiC;AACjC,oBAAkB;AAClB,+BAA6B;AAG7B,oBAAkB;AAClB,oBAAkB;AAClB,kBAAgB;AAGhB,wBAAsB;AACtB,wBAAsB;AACtB,wBAAsB;AACtB,yBAAuB;AACvB,2BAAyB;AAGzB,uBAAqB;AACrB,uBAAqB;AACvB;AAEA,CAAC;AACC,sBAAoB;AACpB,iCAA+B;AAC/B,mBAAiB;AACjB,6BAA2B;AAC3B,yBAAuB;AACvB,mCAAiC;AACjC,oBAAkB;AAClB,+BAA6B;AAC/B;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/styles/typography.module.css"],"sourcesContent":[".heading1 {\n font-family: var(--ta-font-family);\n font-size: var(--ta-heading1-font-size);\n font-weight: var(--ta-heading1-font-weight);\n line-height: var(--ta-heading1-line-height);\n}\n\n.heading2 {\n font-family: var(--ta-font-family);\n font-size: var(--ta-heading2-font-size);\n font-weight: var(--ta-heading2-font-weight);\n line-height: var(--ta-heading2-line-height);\n}\n\n.heading3 {\n font-family: var(--ta-font-family);\n font-size: var(--ta-heading3-font-size);\n font-weight: var(--ta-heading3-font-weight);\n line-height: var(--ta-heading3-line-height);\n}\n\n.heading4 {\n font-family: var(--ta-font-family);\n font-size: var(--ta-heading4-font-size);\n font-weight: var(--ta-heading4-font-weight);\n line-height: var(--ta-heading4-line-height);\n}\n\n.heading5 {\n font-family: var(--ta-font-family);\n font-size: var(--ta-heading5-font-size);\n font-weight: var(--ta-heading5-font-weight);\n line-height: var(--ta-heading5-line-height);\n}\n\n/* Body */\n.bodyLarge {\n font-family: var(--ta-font-family);\n font-size: var(--ta-body-large-font-size);\n line-height: var(--ta-body-large-line-height);\n font-weight: var(--ta-body-large-font-weight);\n}\n\n.bodyLargeMedium {\n font-family: var(--ta-font-family);\n font-size: var(--ta-body-large-font-size);\n line-height: var(--ta-body-large-line-height);\n font-weight: var(--ta-body-large-medium-font-weight);\n}\n\n.body {\n font-family: var(--ta-font-family);\n font-size: var(--ta-body-font-size);\n line-height: var(--ta-body-line-height);\n font-weight: var(--ta-body-font-weight);\n}\n\n.bodyMedium {\n font-family: var(--ta-font-family);\n font-size: var(--ta-body-font-size);\n line-height: var(--ta-body-line-height);\n font-weight: var(--ta-body-medium-font-weight);\n}\n\n.bodyBold {\n font-family: var(--ta-font-family);\n font-size: var(--ta-body-font-size);\n line-height: var(--ta-body-line-height);\n font-weight: var(--ta-body-bold-font-weight);\n}\n\n.bodySmall {\n font-family: var(--ta-font-family);\n font-size: var(--ta-body-small-font-size);\n line-height: var(--ta-body-small-line-height);\n font-weight: var(--ta-body-small-font-weight);\n}\n\n/* Caption */\n.caption1 {\n font-family: var(--ta-font-family);\n font-size: var(--ta-caption1-font-size);\n line-height: var(--ta-caption1-line-height);\n font-weight: var(--ta-caption1-font-weight);\n}\n\n.caption2 {\n font-family: var(--ta-font-family);\n font-size: var(--ta-caption2-font-size);\n line-height: var(--ta-caption2-line-height);\n font-weight: var(--ta-caption2-font-weight);\n}\n"],"mappings":"AAAA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAEA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAEA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAEA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAEA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAGA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAEA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAEA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAEA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAEA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAEA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAGA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;AAEA,CAAC;AACC,eAAa,IAAI;AACjB,aAAW,IAAI;AACf,eAAa,IAAI;AACjB,eAAa,IAAI;AACnB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tonconnect-bridge.d.ts","sourceRoot":"","sources":["../../src/tonconnect/tonconnect-bridge.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAOnD,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAYtD,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var react = require('react');
|
|
5
|
-
var uiReact = require('@tonconnect/ui-react');
|
|
6
|
-
var appkit = require('@ton/appkit');
|
|
7
|
-
var useConnectorById = require('../features/wallets/hooks/use-connector-by-id');
|
|
8
|
-
|
|
9
|
-
const TonConnectBridge = ({
|
|
10
|
-
children,
|
|
11
|
-
connectorId = appkit.TONCONNECT_DEFAULT_CONNECTOR_ID
|
|
12
|
-
}) => {
|
|
13
|
-
const connector = useConnectorById.useConnectorById(connectorId);
|
|
14
|
-
const tonConnectUI = react.useMemo(() => connector?.tonConnectUI, [connector]);
|
|
15
|
-
if (!tonConnectUI) {
|
|
16
|
-
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
17
|
-
}
|
|
18
|
-
return /* @__PURE__ */ jsxRuntime.jsx(uiReact.TonConnectUIProvider, { instance: tonConnectUI, children });
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
exports.TonConnectBridge = TonConnectBridge;
|
|
22
|
-
//# sourceMappingURL=tonconnect-bridge.js.map
|
|
23
|
-
//# sourceMappingURL=tonconnect-bridge.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/tonconnect/tonconnect-bridge.tsx"],"names":["TONCONNECT_DEFAULT_CONNECTOR_ID","useConnectorById","useMemo","jsx","TonConnectUIProvider"],"mappings":";;;;;;;;AA0BO,MAAM,mBAA8C,CAAC;AAAA,EACxD,QAAA;AAAA,EACA,WAAA,GAAcA;AAClB,CAAA,KAAM;AACF,EAAA,MAAM,SAAA,GAAYC,kCAAiB,WAAW,CAAA;AAC9C,EAAA,MAAM,eAAeC,aAAA,CAAQ,MAAM,WAAW,YAAA,EAAc,CAAC,SAAS,CAAC,CAAA;AAEvE,EAAA,IAAI,CAAC,YAAA,EAAc;AACf,IAAA,6DAAU,QAAA,EAAS,CAAA;AAAA,EACvB;AAEA,EAAA,uBAAOC,cAAA,CAACC,4BAAA,EAAA,EAAqB,QAAA,EAAU,YAAA,EAAe,QAAA,EAAS,CAAA;AACnE","file":"tonconnect-bridge.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 { useMemo } from 'react';\nimport type { FC, PropsWithChildren } from 'react';\nimport { TonConnectUIProvider } from '@tonconnect/ui-react';\nimport type { TonConnectConnector } from '@ton/appkit';\nimport { TONCONNECT_DEFAULT_CONNECTOR_ID } from '@ton/appkit';\n\nimport { useConnectorById } from '../features/wallets/hooks/use-connector-by-id';\n\nexport interface TonConnectBridgeProps extends PropsWithChildren {\n connectorId?: string;\n}\n\n/**\n * Automatically creates TonConnectUIProvider if TonConnectConnector is found\n * @param children - The children to render\n * @param connectorId - The connector ID to use\n * @returns The TonConnectUIProvider or the children\n */\nexport const TonConnectBridge: FC<TonConnectBridgeProps> = ({\n children,\n connectorId = TONCONNECT_DEFAULT_CONNECTOR_ID,\n}) => {\n const connector = useConnectorById(connectorId) as TonConnectConnector | undefined;\n const tonConnectUI = useMemo(() => connector?.tonConnectUI, [connector]);\n\n if (!tonConnectUI) {\n return <>{children}</>;\n }\n\n return <TonConnectUIProvider instance={tonConnectUI}>{children}</TonConnectUIProvider>;\n};\n"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import { useMemo } from 'react';
|
|
3
|
-
import { TonConnectUIProvider } from '@tonconnect/ui-react';
|
|
4
|
-
import { TONCONNECT_DEFAULT_CONNECTOR_ID } from '@ton/appkit';
|
|
5
|
-
import { useConnectorById } from '../features/wallets/hooks/use-connector-by-id';
|
|
6
|
-
|
|
7
|
-
const TonConnectBridge = ({
|
|
8
|
-
children,
|
|
9
|
-
connectorId = TONCONNECT_DEFAULT_CONNECTOR_ID
|
|
10
|
-
}) => {
|
|
11
|
-
const connector = useConnectorById(connectorId);
|
|
12
|
-
const tonConnectUI = useMemo(() => connector?.tonConnectUI, [connector]);
|
|
13
|
-
if (!tonConnectUI) {
|
|
14
|
-
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
15
|
-
}
|
|
16
|
-
return /* @__PURE__ */ jsx(TonConnectUIProvider, { instance: tonConnectUI, children });
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export { TonConnectBridge };
|
|
20
|
-
//# sourceMappingURL=tonconnect-bridge.mjs.map
|
|
21
|
-
//# sourceMappingURL=tonconnect-bridge.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/tonconnect/tonconnect-bridge.tsx"],"names":[],"mappings":";;;;;;AA0BO,MAAM,mBAA8C,CAAC;AAAA,EACxD,QAAA;AAAA,EACA,WAAA,GAAc;AAClB,CAAA,KAAM;AACF,EAAA,MAAM,SAAA,GAAY,iBAAiB,WAAW,CAAA;AAC9C,EAAA,MAAM,eAAe,OAAA,CAAQ,MAAM,WAAW,YAAA,EAAc,CAAC,SAAS,CAAC,CAAA;AAEvE,EAAA,IAAI,CAAC,YAAA,EAAc;AACf,IAAA,uCAAU,QAAA,EAAS,CAAA;AAAA,EACvB;AAEA,EAAA,uBAAO,GAAA,CAAC,oBAAA,EAAA,EAAqB,QAAA,EAAU,YAAA,EAAe,QAAA,EAAS,CAAA;AACnE","file":"tonconnect-bridge.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 { useMemo } from 'react';\nimport type { FC, PropsWithChildren } from 'react';\nimport { TonConnectUIProvider } from '@tonconnect/ui-react';\nimport type { TonConnectConnector } from '@ton/appkit';\nimport { TONCONNECT_DEFAULT_CONNECTOR_ID } from '@ton/appkit';\n\nimport { useConnectorById } from '../features/wallets/hooks/use-connector-by-id';\n\nexport interface TonConnectBridgeProps extends PropsWithChildren {\n connectorId?: string;\n}\n\n/**\n * Automatically creates TonConnectUIProvider if TonConnectConnector is found\n * @param children - The children to render\n * @param connectorId - The connector ID to use\n * @returns The TonConnectUIProvider or the children\n */\nexport const TonConnectBridge: FC<TonConnectBridgeProps> = ({\n children,\n connectorId = TONCONNECT_DEFAULT_CONNECTOR_ID,\n}) => {\n const connector = useConnectorById(connectorId) as TonConnectConnector | undefined;\n const tonConnectUI = useMemo(() => connector?.tonConnectUI, [connector]);\n\n if (!tonConnectUI) {\n return <>{children}</>;\n }\n\n return <TonConnectUIProvider instance={tonConnectUI}>{children}</TonConnectUIProvider>;\n};\n"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{features → types/features}/balances/components/balance-badge/balance-badge.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{features → types/features}/balances/components/currency-item/currency-item.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{features → types/features}/balances/components/send-ton-button/send-ton-button.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{features → types/features}/transaction/components/transaction/transaction.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{features → types/features}/transaction/components/transaction-provider/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|