@lifi/widget 3.7.0-beta.10 → 3.7.0-beta.12
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/App.d.ts +3 -0
- package/dist/esm/App.jsx +31 -0
- package/dist/esm/App.jsx.map +1 -0
- package/dist/esm/AppDefault.d.ts +1 -0
- package/dist/esm/AppDefault.jsx +24 -0
- package/dist/esm/AppDefault.jsx.map +1 -0
- package/dist/esm/AppDrawer.d.ts +10 -0
- package/dist/esm/AppDrawer.jsx +53 -0
- package/dist/esm/AppDrawer.jsx.map +1 -0
- package/dist/esm/AppDrawer.style.d.ts +3 -0
- package/dist/esm/AppDrawer.style.jsx +12 -0
- package/dist/esm/AppDrawer.style.jsx.map +1 -0
- package/dist/esm/AppDrawerContext.d.ts +5 -0
- package/dist/esm/AppDrawerContext.js +4 -0
- package/dist/esm/AppDrawerContext.js.map +1 -0
- package/dist/esm/AppProvider.d.ts +4 -0
- package/dist/esm/AppProvider.jsx +37 -0
- package/dist/esm/AppProvider.jsx.map +1 -0
- package/dist/esm/AppRoutes.d.ts +1 -0
- package/dist/esm/AppRoutes.jsx +110 -0
- package/dist/esm/AppRoutes.jsx.map +1 -0
- package/dist/esm/components/ActiveTransactions/ActiveTransactionItem.d.ts +4 -0
- package/dist/esm/components/ActiveTransactions/ActiveTransactionItem.jsx +62 -0
- package/dist/esm/components/ActiveTransactions/ActiveTransactionItem.jsx.map +1 -0
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.d.ts +2 -0
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.jsx +31 -0
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.jsx.map +1 -0
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.d.ts +11 -0
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.js +31 -0
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.js.map +1 -0
- package/dist/esm/components/AlertMessage/AlertMessage.d.ts +11 -0
- package/dist/esm/components/AlertMessage/AlertMessage.jsx +9 -0
- package/dist/esm/components/AlertMessage/AlertMessage.jsx.map +1 -0
- package/dist/esm/components/AlertMessage/AlertMessage.style.d.ts +11 -0
- package/dist/esm/components/AlertMessage/AlertMessage.style.jsx +31 -0
- package/dist/esm/components/AlertMessage/AlertMessage.style.jsx.map +1 -0
- package/dist/esm/components/AlertMessage/types.d.ts +1 -0
- package/dist/esm/components/AlertMessage/types.js +2 -0
- package/dist/esm/components/AlertMessage/types.js.map +1 -0
- package/dist/esm/components/AmountInput/AmountInput.d.ts +12 -0
- package/dist/esm/components/AmountInput/AmountInput.jsx +59 -0
- package/dist/esm/components/AmountInput/AmountInput.jsx.map +1 -0
- package/dist/esm/components/AmountInput/AmountInput.style.d.ts +9 -0
- package/dist/esm/components/AmountInput/AmountInput.style.jsx +35 -0
- package/dist/esm/components/AmountInput/AmountInput.style.jsx.map +1 -0
- package/dist/esm/components/AmountInput/AmountInputAdornment.style.d.ts +6 -0
- package/dist/esm/components/AmountInput/AmountInputAdornment.style.jsx +13 -0
- package/dist/esm/components/AmountInput/AmountInputAdornment.style.jsx.map +1 -0
- package/dist/esm/components/AmountInput/AmountInputEndAdornment.d.ts +2 -0
- package/dist/esm/components/AmountInput/AmountInputEndAdornment.jsx +42 -0
- package/dist/esm/components/AmountInput/AmountInputEndAdornment.jsx.map +1 -0
- package/dist/esm/components/AmountInput/AmountInputStartAdornment.d.ts +2 -0
- package/dist/esm/components/AmountInput/AmountInputStartAdornment.jsx +14 -0
- package/dist/esm/components/AmountInput/AmountInputStartAdornment.jsx.map +1 -0
- package/dist/esm/components/AmountInput/PriceFormHelperText.d.ts +8 -0
- package/dist/esm/components/AmountInput/PriceFormHelperText.jsx +38 -0
- package/dist/esm/components/AmountInput/PriceFormHelperText.jsx.map +1 -0
- package/dist/esm/components/AppContainer.d.ts +16 -0
- package/dist/esm/components/AppContainer.jsx +105 -0
- package/dist/esm/components/AppContainer.jsx.map +1 -0
- package/dist/esm/components/Avatar/AccountAvatar.d.ts +10 -0
- package/dist/esm/components/Avatar/AccountAvatar.jsx +20 -0
- package/dist/esm/components/Avatar/AccountAvatar.jsx.map +1 -0
- package/dist/esm/components/Avatar/Avatar.d.ts +8 -0
- package/dist/esm/components/Avatar/Avatar.jsx +19 -0
- package/dist/esm/components/Avatar/Avatar.jsx.map +1 -0
- package/dist/esm/components/Avatar/Avatar.style.d.ts +16 -0
- package/dist/esm/components/Avatar/Avatar.style.jsx +57 -0
- package/dist/esm/components/Avatar/Avatar.style.jsx.map +1 -0
- package/dist/esm/components/Avatar/SmallAvatar.d.ts +4 -0
- package/dist/esm/components/Avatar/SmallAvatar.jsx +13 -0
- package/dist/esm/components/Avatar/SmallAvatar.jsx.map +1 -0
- package/dist/esm/components/Avatar/TokenAvatar.d.ts +19 -0
- package/dist/esm/components/Avatar/TokenAvatar.jsx +27 -0
- package/dist/esm/components/Avatar/TokenAvatar.jsx.map +1 -0
- package/dist/esm/components/Avatar/utils.d.ts +8 -0
- package/dist/esm/components/Avatar/utils.js +9 -0
- package/dist/esm/components/Avatar/utils.js.map +1 -0
- package/dist/esm/components/BaseTransactionButton/BaseTransactionButton.d.ts +2 -0
- package/dist/esm/components/BaseTransactionButton/BaseTransactionButton.jsx +37 -0
- package/dist/esm/components/BaseTransactionButton/BaseTransactionButton.jsx.map +1 -0
- package/dist/esm/components/BaseTransactionButton/types.d.ts +6 -0
- package/dist/esm/components/BaseTransactionButton/types.js +2 -0
- package/dist/esm/components/BaseTransactionButton/types.js.map +1 -0
- package/dist/esm/components/BottomSheet/BottomSheet.d.ts +2 -0
- package/dist/esm/components/BottomSheet/BottomSheet.jsx +26 -0
- package/dist/esm/components/BottomSheet/BottomSheet.jsx.map +1 -0
- package/dist/esm/components/BottomSheet/types.d.ts +11 -0
- package/dist/esm/components/BottomSheet/types.js +2 -0
- package/dist/esm/components/BottomSheet/types.js.map +1 -0
- package/dist/esm/components/ButtonTertiary.d.ts +3 -0
- package/dist/esm/components/ButtonTertiary.jsx +19 -0
- package/dist/esm/components/ButtonTertiary.jsx.map +1 -0
- package/dist/esm/components/Card/Card.d.ts +9 -0
- package/dist/esm/components/Card/Card.jsx +42 -0
- package/dist/esm/components/Card/Card.jsx.map +1 -0
- package/dist/esm/components/Card/CardButton.d.ts +7 -0
- package/dist/esm/components/Card/CardButton.jsx +12 -0
- package/dist/esm/components/Card/CardButton.jsx.map +1 -0
- package/dist/esm/components/Card/CardButton.style.d.ts +12 -0
- package/dist/esm/components/Card/CardButton.style.jsx +32 -0
- package/dist/esm/components/Card/CardButton.style.jsx.map +1 -0
- package/dist/esm/components/Card/CardHeader.d.ts +3 -0
- package/dist/esm/components/Card/CardHeader.jsx +22 -0
- package/dist/esm/components/Card/CardHeader.jsx.map +1 -0
- package/dist/esm/components/Card/CardIconButton.d.ts +6 -0
- package/dist/esm/components/Card/CardIconButton.jsx +13 -0
- package/dist/esm/components/Card/CardIconButton.jsx.map +1 -0
- package/dist/esm/components/Card/CardLabel.d.ts +10 -0
- package/dist/esm/components/Card/CardLabel.jsx +40 -0
- package/dist/esm/components/Card/CardLabel.jsx.map +1 -0
- package/dist/esm/components/Card/CardTitle.d.ts +5 -0
- package/dist/esm/components/Card/CardTitle.jsx +16 -0
- package/dist/esm/components/Card/CardTitle.jsx.map +1 -0
- package/dist/esm/components/Card/InputCard.d.ts +3 -0
- package/dist/esm/components/Card/InputCard.jsx +7 -0
- package/dist/esm/components/Card/InputCard.jsx.map +1 -0
- package/dist/esm/components/ChainSelect/ChainSelect.d.ts +2 -0
- package/dist/esm/components/ChainSelect/ChainSelect.jsx +55 -0
- package/dist/esm/components/ChainSelect/ChainSelect.jsx.map +1 -0
- package/dist/esm/components/ChainSelect/ChainSelect.style.d.ts +6 -0
- package/dist/esm/components/ChainSelect/ChainSelect.style.jsx +16 -0
- package/dist/esm/components/ChainSelect/ChainSelect.style.jsx.map +1 -0
- package/dist/esm/components/ChainSelect/useChainSelect.d.ts +10 -0
- package/dist/esm/components/ChainSelect/useChainSelect.js +61 -0
- package/dist/esm/components/ChainSelect/useChainSelect.js.map +1 -0
- package/dist/esm/components/ContractComponent/ContractComponent.d.ts +3 -0
- package/dist/esm/components/ContractComponent/ContractComponent.jsx +8 -0
- package/dist/esm/components/ContractComponent/ContractComponent.jsx.map +1 -0
- package/dist/esm/components/ContractComponent/ItemPrice.d.ts +7 -0
- package/dist/esm/components/ContractComponent/ItemPrice.jsx +22 -0
- package/dist/esm/components/ContractComponent/ItemPrice.jsx.map +1 -0
- package/dist/esm/components/ContractComponent/NFT/NFT.d.ts +2 -0
- package/dist/esm/components/ContractComponent/NFT/NFT.jsx +22 -0
- package/dist/esm/components/ContractComponent/NFT/NFT.jsx.map +1 -0
- package/dist/esm/components/ContractComponent/NFT/NFT.style.d.ts +3 -0
- package/dist/esm/components/ContractComponent/NFT/NFT.style.js +8 -0
- package/dist/esm/components/ContractComponent/NFT/NFT.style.js.map +1 -0
- package/dist/esm/components/ContractComponent/NFT/NFTBase.d.ts +2 -0
- package/dist/esm/components/ContractComponent/NFT/NFTBase.jsx +28 -0
- package/dist/esm/components/ContractComponent/NFT/NFTBase.jsx.map +1 -0
- package/dist/esm/components/ContractComponent/NFT/types.d.ts +16 -0
- package/dist/esm/components/ContractComponent/NFT/types.js +2 -0
- package/dist/esm/components/ContractComponent/NFT/types.js.map +1 -0
- package/dist/esm/components/Dialog.d.ts +19 -0
- package/dist/esm/components/Dialog.jsx +33 -0
- package/dist/esm/components/Dialog.jsx.map +1 -0
- package/dist/esm/components/FeeBreakdownTooltip.d.ts +10 -0
- package/dist/esm/components/FeeBreakdownTooltip.jsx +27 -0
- package/dist/esm/components/FeeBreakdownTooltip.jsx.map +1 -0
- package/dist/esm/components/FullPageContainer.d.ts +2 -0
- package/dist/esm/components/FullPageContainer.jsx +8 -0
- package/dist/esm/components/FullPageContainer.jsx.map +1 -0
- package/dist/esm/components/GasMessage/FundsSufficiencyMessage.d.ts +1 -0
- package/dist/esm/components/GasMessage/FundsSufficiencyMessage.jsx +11 -0
- package/dist/esm/components/GasMessage/FundsSufficiencyMessage.jsx.map +1 -0
- package/dist/esm/components/GasMessage/GasMessage.d.ts +7 -0
- package/dist/esm/components/GasMessage/GasMessage.jsx +16 -0
- package/dist/esm/components/GasMessage/GasMessage.jsx.map +1 -0
- package/dist/esm/components/GasMessage/GasMessage.style.d.ts +1 -0
- package/dist/esm/components/GasMessage/GasMessage.style.js +19 -0
- package/dist/esm/components/GasMessage/GasMessage.style.js.map +1 -0
- package/dist/esm/components/GasMessage/GasRefuelMessage.d.ts +2 -0
- package/dist/esm/components/GasMessage/GasRefuelMessage.jsx +35 -0
- package/dist/esm/components/GasMessage/GasRefuelMessage.jsx.map +1 -0
- package/dist/esm/components/GasMessage/GasSufficiencyMessage.d.ts +6 -0
- package/dist/esm/components/GasMessage/GasSufficiencyMessage.jsx +23 -0
- package/dist/esm/components/GasMessage/GasSufficiencyMessage.jsx.map +1 -0
- package/dist/esm/components/Header/BackButton.d.ts +2 -0
- package/dist/esm/components/Header/BackButton.jsx +9 -0
- package/dist/esm/components/Header/BackButton.jsx.map +1 -0
- package/dist/esm/components/Header/CloseDrawerButton.d.ts +5 -0
- package/dist/esm/components/Header/CloseDrawerButton.jsx +20 -0
- package/dist/esm/components/Header/CloseDrawerButton.jsx.map +1 -0
- package/dist/esm/components/Header/DisconnectIconButton.d.ts +4 -0
- package/dist/esm/components/Header/DisconnectIconButton.jsx +13 -0
- package/dist/esm/components/Header/DisconnectIconButton.jsx.map +1 -0
- package/dist/esm/components/Header/Header.d.ts +3 -0
- package/dist/esm/components/Header/Header.jsx +43 -0
- package/dist/esm/components/Header/Header.jsx.map +1 -0
- package/dist/esm/components/Header/Header.style.d.ts +23 -0
- package/dist/esm/components/Header/Header.style.js +86 -0
- package/dist/esm/components/Header/Header.style.js.map +1 -0
- package/dist/esm/components/Header/NavigationHeader.d.ts +1 -0
- package/dist/esm/components/Header/NavigationHeader.jsx +50 -0
- package/dist/esm/components/Header/NavigationHeader.jsx.map +1 -0
- package/dist/esm/components/Header/NavigationTabs.d.ts +1 -0
- package/dist/esm/components/Header/NavigationTabs.jsx +26 -0
- package/dist/esm/components/Header/NavigationTabs.jsx.map +1 -0
- package/dist/esm/components/Header/SettingsButton.d.ts +1 -0
- package/dist/esm/components/Header/SettingsButton.jsx +28 -0
- package/dist/esm/components/Header/SettingsButton.jsx.map +1 -0
- package/dist/esm/components/Header/SettingsButton.style.d.ts +10 -0
- package/dist/esm/components/Header/SettingsButton.style.jsx +36 -0
- package/dist/esm/components/Header/SettingsButton.style.jsx.map +1 -0
- package/dist/esm/components/Header/TransactionHistoryButton.d.ts +1 -0
- package/dist/esm/components/Header/TransactionHistoryButton.jsx +15 -0
- package/dist/esm/components/Header/TransactionHistoryButton.jsx.map +1 -0
- package/dist/esm/components/Header/WalletHeader.d.ts +3 -0
- package/dist/esm/components/Header/WalletHeader.jsx +84 -0
- package/dist/esm/components/Header/WalletHeader.jsx.map +1 -0
- package/dist/esm/components/Header/WalletMenu.d.ts +3 -0
- package/dist/esm/components/Header/WalletMenu.jsx +66 -0
- package/dist/esm/components/Header/WalletMenu.jsx.map +1 -0
- package/dist/esm/components/Header/WalletMenu.style.d.ts +1 -0
- package/dist/esm/components/Header/WalletMenu.style.jsx +25 -0
- package/dist/esm/components/Header/WalletMenu.style.jsx.map +1 -0
- package/dist/esm/components/IconTypography.d.ts +3 -0
- package/dist/esm/components/IconTypography.js +8 -0
- package/dist/esm/components/IconTypography.js.map +1 -0
- package/dist/esm/components/Initializer.d.ts +1 -0
- package/dist/esm/components/Initializer.jsx +6 -0
- package/dist/esm/components/Initializer.jsx.map +1 -0
- package/dist/esm/components/Input.d.ts +1 -0
- package/dist/esm/components/Input.jsx +11 -0
- package/dist/esm/components/Input.jsx.map +1 -0
- package/dist/esm/components/ListItem/ListItem.d.ts +5 -0
- package/dist/esm/components/ListItem/ListItem.jsx +21 -0
- package/dist/esm/components/ListItem/ListItem.jsx.map +1 -0
- package/dist/esm/components/ListItem/ListItemButton.d.ts +3 -0
- package/dist/esm/components/ListItem/ListItemButton.jsx +9 -0
- package/dist/esm/components/ListItem/ListItemButton.jsx.map +1 -0
- package/dist/esm/components/ListItemButton.d.ts +3 -0
- package/dist/esm/components/ListItemButton.jsx +15 -0
- package/dist/esm/components/ListItemButton.jsx.map +1 -0
- package/dist/esm/components/ListItemText.d.ts +1 -0
- package/dist/esm/components/ListItemText.jsx +7 -0
- package/dist/esm/components/ListItemText.jsx.map +1 -0
- package/dist/esm/components/Menu.d.ts +1 -0
- package/dist/esm/components/Menu.jsx +21 -0
- package/dist/esm/components/Menu.jsx.map +1 -0
- package/dist/esm/components/NotFound.d.ts +1 -0
- package/dist/esm/components/NotFound.jsx +25 -0
- package/dist/esm/components/NotFound.jsx.map +1 -0
- package/dist/esm/components/PageContainer.d.ts +9 -0
- package/dist/esm/components/PageContainer.js +12 -0
- package/dist/esm/components/PageContainer.js.map +1 -0
- package/dist/esm/components/PageEntered.d.ts +1 -0
- package/dist/esm/components/PageEntered.js +13 -0
- package/dist/esm/components/PageEntered.js.map +1 -0
- package/dist/esm/components/PoweredBy/PoweredBy.d.ts +1 -0
- package/dist/esm/components/PoweredBy/PoweredBy.jsx +22 -0
- package/dist/esm/components/PoweredBy/PoweredBy.jsx.map +1 -0
- package/dist/esm/components/PoweredBy/PoweredBy.style.d.ts +3 -0
- package/dist/esm/components/PoweredBy/PoweredBy.style.js +10 -0
- package/dist/esm/components/PoweredBy/PoweredBy.style.js.map +1 -0
- package/dist/esm/components/ProgressToNextUpdate.d.ts +6 -0
- package/dist/esm/components/ProgressToNextUpdate.jsx +53 -0
- package/dist/esm/components/ProgressToNextUpdate.jsx.map +1 -0
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.d.ts +3 -0
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.jsx +29 -0
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.jsx.map +1 -0
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +9 -0
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.style.jsx +29 -0
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.style.jsx.map +1 -0
- package/dist/esm/components/RouteCard/RouteCard.d.ts +3 -0
- package/dist/esm/components/RouteCard/RouteCard.jsx +53 -0
- package/dist/esm/components/RouteCard/RouteCard.jsx.map +1 -0
- package/dist/esm/components/RouteCard/RouteCard.style.d.ts +3 -0
- package/dist/esm/components/RouteCard/RouteCard.style.js +8 -0
- package/dist/esm/components/RouteCard/RouteCard.style.js.map +1 -0
- package/dist/esm/components/RouteCard/RouteCardEssentials.d.ts +2 -0
- package/dist/esm/components/RouteCard/RouteCardEssentials.jsx +47 -0
- package/dist/esm/components/RouteCard/RouteCardEssentials.jsx.map +1 -0
- package/dist/esm/components/RouteCard/RouteCardEssentialsExpanded.d.ts +2 -0
- package/dist/esm/components/RouteCard/RouteCardEssentialsExpanded.jsx +23 -0
- package/dist/esm/components/RouteCard/RouteCardEssentialsExpanded.jsx.map +1 -0
- package/dist/esm/components/RouteCard/RouteCardSkeleton.d.ts +3 -0
- package/dist/esm/components/RouteCard/RouteCardSkeleton.jsx +23 -0
- package/dist/esm/components/RouteCard/RouteCardSkeleton.jsx.map +1 -0
- package/dist/esm/components/RouteCard/RouteNotFoundCard.d.ts +1 -0
- package/dist/esm/components/RouteCard/RouteNotFoundCard.jsx +24 -0
- package/dist/esm/components/RouteCard/RouteNotFoundCard.jsx.map +1 -0
- package/dist/esm/components/RouteCard/types.d.ts +13 -0
- package/dist/esm/components/RouteCard/types.js +2 -0
- package/dist/esm/components/RouteCard/types.js.map +1 -0
- package/dist/esm/components/Routes/Routes.d.ts +2 -0
- package/dist/esm/components/Routes/Routes.jsx +51 -0
- package/dist/esm/components/Routes/Routes.jsx.map +1 -0
- package/dist/esm/components/Routes/RoutesExpanded.d.ts +2 -0
- package/dist/esm/components/Routes/RoutesExpanded.jsx +104 -0
- package/dist/esm/components/Routes/RoutesExpanded.jsx.map +1 -0
- package/dist/esm/components/Routes/RoutesExpanded.style.d.ts +19 -0
- package/dist/esm/components/Routes/RoutesExpanded.style.js +53 -0
- package/dist/esm/components/Routes/RoutesExpanded.style.js.map +1 -0
- package/dist/esm/components/Search/SearchInput.d.ts +11 -0
- package/dist/esm/components/Search/SearchInput.jsx +28 -0
- package/dist/esm/components/Search/SearchInput.jsx.map +1 -0
- package/dist/esm/components/Search/SearchInput.style.d.ts +12 -0
- package/dist/esm/components/Search/SearchInput.style.jsx +38 -0
- package/dist/esm/components/Search/SearchInput.style.jsx.map +1 -0
- package/dist/esm/components/Search/SearchNotFound.d.ts +6 -0
- package/dist/esm/components/Search/SearchNotFound.jsx +9 -0
- package/dist/esm/components/Search/SearchNotFound.jsx.map +1 -0
- package/dist/esm/components/Search/SearchNotFound.style.d.ts +14 -0
- package/dist/esm/components/Search/SearchNotFound.style.jsx +29 -0
- package/dist/esm/components/Search/SearchNotFound.style.jsx.map +1 -0
- package/dist/esm/components/Select.d.ts +3 -0
- package/dist/esm/components/Select.jsx +24 -0
- package/dist/esm/components/Select.jsx.map +1 -0
- package/dist/esm/components/SelectChainAndToken.d.ts +2 -0
- package/dist/esm/components/SelectChainAndToken.jsx +29 -0
- package/dist/esm/components/SelectChainAndToken.jsx.map +1 -0
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.d.ts +4 -0
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.jsx +54 -0
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.jsx.map +1 -0
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.style.d.ts +16 -0
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.style.jsx +75 -0
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.style.jsx.map +1 -0
- package/dist/esm/components/SendToWallet/SendToWallet.style.d.ts +5 -0
- package/dist/esm/components/SendToWallet/SendToWallet.style.jsx +34 -0
- package/dist/esm/components/SendToWallet/SendToWallet.style.jsx.map +1 -0
- package/dist/esm/components/SendToWallet/SendToWalletButton.d.ts +2 -0
- package/dist/esm/components/SendToWallet/SendToWalletButton.jsx +101 -0
- package/dist/esm/components/SendToWallet/SendToWalletButton.jsx.map +1 -0
- package/dist/esm/components/SendToWallet/SendToWalletExpandButton.d.ts +1 -0
- package/dist/esm/components/SendToWallet/SendToWalletExpandButton.jsx +44 -0
- package/dist/esm/components/SendToWallet/SendToWalletExpandButton.jsx.map +1 -0
- package/dist/esm/components/SettingsListItemButton.d.ts +3 -0
- package/dist/esm/components/SettingsListItemButton.jsx +6 -0
- package/dist/esm/components/SettingsListItemButton.jsx.map +1 -0
- package/dist/esm/components/Skeleton/WidgetSkeleton.d.ts +2 -0
- package/dist/esm/components/Skeleton/WidgetSkeleton.jsx +77 -0
- package/dist/esm/components/Skeleton/WidgetSkeleton.jsx.map +1 -0
- package/dist/esm/components/Skeleton/WidgetSkeleton.style.d.ts +33 -0
- package/dist/esm/components/Skeleton/WidgetSkeleton.style.jsx +74 -0
- package/dist/esm/components/Skeleton/WidgetSkeleton.style.jsx.map +1 -0
- package/dist/esm/components/Step/CircularProgress.d.ts +4 -0
- package/dist/esm/components/Step/CircularProgress.jsx +26 -0
- package/dist/esm/components/Step/CircularProgress.jsx.map +1 -0
- package/dist/esm/components/Step/CircularProgress.style.d.ts +9 -0
- package/dist/esm/components/Step/CircularProgress.style.jsx +67 -0
- package/dist/esm/components/Step/CircularProgress.style.jsx.map +1 -0
- package/dist/esm/components/Step/DestinationWalletAddress.d.ts +6 -0
- package/dist/esm/components/Step/DestinationWalletAddress.jsx +35 -0
- package/dist/esm/components/Step/DestinationWalletAddress.jsx.map +1 -0
- package/dist/esm/components/Step/Step.d.ts +8 -0
- package/dist/esm/components/Step/Step.jsx +74 -0
- package/dist/esm/components/Step/Step.jsx.map +1 -0
- package/dist/esm/components/Step/StepList.d.ts +3 -0
- package/dist/esm/components/Step/StepList.jsx +36 -0
- package/dist/esm/components/Step/StepList.jsx.map +1 -0
- package/dist/esm/components/Step/StepProcess.d.ts +5 -0
- package/dist/esm/components/Step/StepProcess.jsx +36 -0
- package/dist/esm/components/Step/StepProcess.jsx.map +1 -0
- package/dist/esm/components/Step/StepTimer.d.ts +5 -0
- package/dist/esm/components/Step/StepTimer.jsx +90 -0
- package/dist/esm/components/Step/StepTimer.jsx.map +1 -0
- package/dist/esm/components/StepActions/StepActions.d.ts +11 -0
- package/dist/esm/components/StepActions/StepActions.jsx +181 -0
- package/dist/esm/components/StepActions/StepActions.jsx.map +1 -0
- package/dist/esm/components/StepActions/StepActions.style.d.ts +13 -0
- package/dist/esm/components/StepActions/StepActions.style.jsx +55 -0
- package/dist/esm/components/StepActions/StepActions.style.jsx.map +1 -0
- package/dist/esm/components/StepActions/StepFees.d.ts +5 -0
- package/dist/esm/components/StepActions/StepFees.jsx +26 -0
- package/dist/esm/components/StepActions/StepFees.jsx.map +1 -0
- package/dist/esm/components/StepActions/types.d.ts +16 -0
- package/dist/esm/components/StepActions/types.js +2 -0
- package/dist/esm/components/StepActions/types.js.map +1 -0
- package/dist/esm/components/StepDivider/StepDivider.d.ts +1 -0
- package/dist/esm/components/StepDivider/StepDivider.jsx +8 -0
- package/dist/esm/components/StepDivider/StepDivider.jsx.map +1 -0
- package/dist/esm/components/StepDivider/StepDivider.style.d.ts +3 -0
- package/dist/esm/components/StepDivider/StepDivider.style.jsx +8 -0
- package/dist/esm/components/StepDivider/StepDivider.style.jsx.map +1 -0
- package/dist/esm/components/Switch.d.ts +1 -0
- package/dist/esm/components/Switch.jsx +52 -0
- package/dist/esm/components/Switch.jsx.map +1 -0
- package/dist/esm/components/Tabs/Tabs.style.d.ts +11 -0
- package/dist/esm/components/Tabs/Tabs.style.jsx +39 -0
- package/dist/esm/components/Tabs/Tabs.style.jsx.map +1 -0
- package/dist/esm/components/TextFitter/TextFitter.d.ts +3 -0
- package/dist/esm/components/TextFitter/TextFitter.jsx +60 -0
- package/dist/esm/components/TextFitter/TextFitter.jsx.map +1 -0
- package/dist/esm/components/TextFitter/types.d.ts +12 -0
- package/dist/esm/components/TextFitter/types.js +2 -0
- package/dist/esm/components/TextFitter/types.js.map +1 -0
- package/dist/esm/components/ToAddressRequiredMessage.d.ts +7 -0
- package/dist/esm/components/ToAddressRequiredMessage.jsx +20 -0
- package/dist/esm/components/ToAddressRequiredMessage.jsx.map +1 -0
- package/dist/esm/components/Token/Token.d.ts +17 -0
- package/dist/esm/components/Token/Token.jsx +120 -0
- package/dist/esm/components/Token/Token.jsx.map +1 -0
- package/dist/esm/components/Token/Token.style.d.ts +11 -0
- package/dist/esm/components/Token/Token.style.jsx +27 -0
- package/dist/esm/components/Token/Token.style.jsx.map +1 -0
- package/dist/esm/components/TokenList/TokenList.d.ts +3 -0
- package/dist/esm/components/TokenList/TokenList.jsx +50 -0
- package/dist/esm/components/TokenList/TokenList.jsx.map +1 -0
- package/dist/esm/components/TokenList/TokenList.style.d.ts +14 -0
- package/dist/esm/components/TokenList/TokenList.style.jsx +26 -0
- package/dist/esm/components/TokenList/TokenList.style.jsx.map +1 -0
- package/dist/esm/components/TokenList/TokenListItem.d.ts +5 -0
- package/dist/esm/components/TokenList/TokenListItem.jsx +108 -0
- package/dist/esm/components/TokenList/TokenListItem.jsx.map +1 -0
- package/dist/esm/components/TokenList/TokenNotFound.d.ts +2 -0
- package/dist/esm/components/TokenList/TokenNotFound.jsx +14 -0
- package/dist/esm/components/TokenList/TokenNotFound.jsx.map +1 -0
- package/dist/esm/components/TokenList/VirtualizedTokenList.d.ts +3 -0
- package/dist/esm/components/TokenList/VirtualizedTokenList.jsx +85 -0
- package/dist/esm/components/TokenList/VirtualizedTokenList.jsx.map +1 -0
- package/dist/esm/components/TokenList/types.d.ts +42 -0
- package/dist/esm/components/TokenList/types.js +2 -0
- package/dist/esm/components/TokenList/types.js.map +1 -0
- package/dist/esm/components/TokenList/useTokenSelect.d.ts +2 -0
- package/dist/esm/components/TokenList/useTokenSelect.js +72 -0
- package/dist/esm/components/TokenList/useTokenSelect.js.map +1 -0
- package/dist/esm/components/TokenList/utils.d.ts +2 -0
- package/dist/esm/components/TokenList/utils.js +35 -0
- package/dist/esm/components/TokenList/utils.js.map +1 -0
- package/dist/esm/components/TokenRate/TokenRate.d.ts +7 -0
- package/dist/esm/components/TokenRate/TokenRate.jsx +44 -0
- package/dist/esm/components/TokenRate/TokenRate.jsx.map +1 -0
- package/dist/esm/components/TokenRate/TokenRate.style.d.ts +3 -0
- package/dist/esm/components/TokenRate/TokenRate.style.js +17 -0
- package/dist/esm/components/TokenRate/TokenRate.style.js.map +1 -0
- package/dist/esm/components/TransactionDetails.d.ts +7 -0
- package/dist/esm/components/TransactionDetails.jsx +137 -0
- package/dist/esm/components/TransactionDetails.jsx.map +1 -0
- package/dist/esm/config/coinbase.d.ts +2 -0
- package/dist/esm/config/coinbase.js +6 -0
- package/dist/esm/config/coinbase.js.map +1 -0
- package/dist/esm/config/constants.d.ts +2 -0
- package/dist/esm/config/constants.js +3 -0
- package/dist/esm/config/constants.js.map +1 -0
- package/dist/esm/config/metaMask.d.ts +2 -0
- package/dist/esm/config/metaMask.js +11 -0
- package/dist/esm/config/metaMask.js.map +1 -0
- package/dist/esm/config/queryClient.d.ts +2 -0
- package/dist/esm/config/queryClient.js +21 -0
- package/dist/esm/config/queryClient.js.map +1 -0
- package/dist/esm/config/version.d.ts +2 -0
- package/dist/esm/config/version.js +3 -0
- package/dist/esm/config/version.js.map +1 -0
- package/dist/esm/config/walletConnect.d.ts +2 -0
- package/dist/esm/config/walletConnect.js +4 -0
- package/dist/esm/config/walletConnect.js.map +1 -0
- package/dist/esm/hooks/timer/useInterval.d.ts +1 -0
- package/dist/esm/hooks/timer/useInterval.js +18 -0
- package/dist/esm/hooks/timer/useInterval.js.map +1 -0
- package/dist/esm/hooks/timer/useTimer.d.ts +18 -0
- package/dist/esm/hooks/timer/useTimer.js +61 -0
- package/dist/esm/hooks/timer/useTimer.js.map +1 -0
- package/dist/esm/hooks/timer/utils.d.ts +11 -0
- package/dist/esm/hooks/timer/utils.js +46 -0
- package/dist/esm/hooks/timer/utils.js.map +1 -0
- package/dist/esm/hooks/useAddressValidation.d.ts +25 -0
- package/dist/esm/hooks/useAddressValidation.js +56 -0
- package/dist/esm/hooks/useAddressValidation.js.map +1 -0
- package/dist/esm/hooks/useAvailableChains.d.ts +7 -0
- package/dist/esm/hooks/useAvailableChains.js +49 -0
- package/dist/esm/hooks/useAvailableChains.js.map +1 -0
- package/dist/esm/hooks/useChain.d.ts +4 -0
- package/dist/esm/hooks/useChain.js +11 -0
- package/dist/esm/hooks/useChain.js.map +1 -0
- package/dist/esm/hooks/useChains.d.ts +7 -0
- package/dist/esm/hooks/useChains.js +23 -0
- package/dist/esm/hooks/useChains.js.map +1 -0
- package/dist/esm/hooks/useDebouncedWatch.d.ts +2 -0
- package/dist/esm/hooks/useDebouncedWatch.js +26 -0
- package/dist/esm/hooks/useDebouncedWatch.js.map +1 -0
- package/dist/esm/hooks/useDefaultElementId.d.ts +1 -0
- package/dist/esm/hooks/useDefaultElementId.js +6 -0
- package/dist/esm/hooks/useDefaultElementId.js.map +1 -0
- package/dist/esm/hooks/useExplorer.d.ts +14 -0
- package/dist/esm/hooks/useExplorer.js +43 -0
- package/dist/esm/hooks/useExplorer.js.map +1 -0
- package/dist/esm/hooks/useFromTokenSufficiency.d.ts +5 -0
- package/dist/esm/hooks/useFromTokenSufficiency.js +61 -0
- package/dist/esm/hooks/useFromTokenSufficiency.js.map +1 -0
- package/dist/esm/hooks/useGasRecommendation.d.ts +2 -0
- package/dist/esm/hooks/useGasRecommendation.js +30 -0
- package/dist/esm/hooks/useGasRecommendation.js.map +1 -0
- package/dist/esm/hooks/useGasRefuel.d.ts +7 -0
- package/dist/esm/hooks/useGasRefuel.js +48 -0
- package/dist/esm/hooks/useGasRefuel.js.map +1 -0
- package/dist/esm/hooks/useGasSufficiency.d.ts +13 -0
- package/dist/esm/hooks/useGasSufficiency.js +95 -0
- package/dist/esm/hooks/useGasSufficiency.js.map +1 -0
- package/dist/esm/hooks/useHeader.d.ts +2 -0
- package/dist/esm/hooks/useHeader.js +16 -0
- package/dist/esm/hooks/useHeader.js.map +1 -0
- package/dist/esm/hooks/useInitializer.d.ts +1 -0
- package/dist/esm/hooks/useInitializer.js +15 -0
- package/dist/esm/hooks/useInitializer.js.map +1 -0
- package/dist/esm/hooks/useLanguages.d.ts +6 -0
- package/dist/esm/hooks/useLanguages.js +26 -0
- package/dist/esm/hooks/useLanguages.js.map +1 -0
- package/dist/esm/hooks/useNavigateBack.d.ts +4 -0
- package/dist/esm/hooks/useNavigateBack.js +24 -0
- package/dist/esm/hooks/useNavigateBack.js.map +1 -0
- package/dist/esm/hooks/useProcessMessage.d.ts +11 -0
- package/dist/esm/hooks/useProcessMessage.js +170 -0
- package/dist/esm/hooks/useProcessMessage.js.map +1 -0
- package/dist/esm/hooks/useRouteExecution.d.ts +14 -0
- package/dist/esm/hooks/useRouteExecution.js +157 -0
- package/dist/esm/hooks/useRouteExecution.js.map +1 -0
- package/dist/esm/hooks/useRoutes.d.ts +18 -0
- package/dist/esm/hooks/useRoutes.js +272 -0
- package/dist/esm/hooks/useRoutes.js.map +1 -0
- package/dist/esm/hooks/useScrollableContainer.d.ts +3 -0
- package/dist/esm/hooks/useScrollableContainer.js +32 -0
- package/dist/esm/hooks/useScrollableContainer.js.map +1 -0
- package/dist/esm/hooks/useSetContentHeight.d.ts +2 -0
- package/dist/esm/hooks/useSetContentHeight.js +22 -0
- package/dist/esm/hooks/useSetContentHeight.js.map +1 -0
- package/dist/esm/hooks/useSettingMonitor.d.ts +11 -0
- package/dist/esm/hooks/useSettingMonitor.js +50 -0
- package/dist/esm/hooks/useSettingMonitor.js.map +1 -0
- package/dist/esm/hooks/useSwapOnly.d.ts +1 -0
- package/dist/esm/hooks/useSwapOnly.js +6 -0
- package/dist/esm/hooks/useSwapOnly.js.map +1 -0
- package/dist/esm/hooks/useToAddressRequirements.d.ts +4 -0
- package/dist/esm/hooks/useToAddressRequirements.js +17 -0
- package/dist/esm/hooks/useToAddressRequirements.js.map +1 -0
- package/dist/esm/hooks/useToAddressReset.d.ts +4 -0
- package/dist/esm/hooks/useToAddressReset.js +30 -0
- package/dist/esm/hooks/useToAddressReset.js.map +1 -0
- package/dist/esm/hooks/useToken.d.ts +4 -0
- package/dist/esm/hooks/useToken.js +17 -0
- package/dist/esm/hooks/useToken.js.map +1 -0
- package/dist/esm/hooks/useTokenAddressBalance.d.ts +7 -0
- package/dist/esm/hooks/useTokenAddressBalance.js +18 -0
- package/dist/esm/hooks/useTokenAddressBalance.js.map +1 -0
- package/dist/esm/hooks/useTokenBalance.d.ts +11 -0
- package/dist/esm/hooks/useTokenBalance.js +88 -0
- package/dist/esm/hooks/useTokenBalance.js.map +1 -0
- package/dist/esm/hooks/useTokenBalances.d.ts +11 -0
- package/dist/esm/hooks/useTokenBalances.js +75 -0
- package/dist/esm/hooks/useTokenBalances.js.map +1 -0
- package/dist/esm/hooks/useTokenSearch.d.ts +5 -0
- package/dist/esm/hooks/useTokenSearch.js +31 -0
- package/dist/esm/hooks/useTokenSearch.js.map +1 -0
- package/dist/esm/hooks/useTokens.d.ts +8 -0
- package/dist/esm/hooks/useTokens.js +90 -0
- package/dist/esm/hooks/useTokens.js.map +1 -0
- package/dist/esm/hooks/useTools.d.ts +4 -0
- package/dist/esm/hooks/useTools.js +32 -0
- package/dist/esm/hooks/useTools.js.map +1 -0
- package/dist/esm/hooks/useTransactionDetails.d.ts +4 -0
- package/dist/esm/hooks/useTransactionDetails.js +55 -0
- package/dist/esm/hooks/useTransactionDetails.js.map +1 -0
- package/dist/esm/hooks/useTransactionHistory.d.ts +5 -0
- package/dist/esm/hooks/useTransactionHistory.js +53 -0
- package/dist/esm/hooks/useTransactionHistory.js.map +1 -0
- package/dist/esm/hooks/useWideVariant.d.ts +1 -0
- package/dist/esm/hooks/useWideVariant.js +9 -0
- package/dist/esm/hooks/useWideVariant.js.map +1 -0
- package/dist/esm/hooks/useWidgetEvents.d.ts +4 -0
- package/dist/esm/hooks/useWidgetEvents.js +8 -0
- package/dist/esm/hooks/useWidgetEvents.js.map +1 -0
- package/dist/esm/i18n/bn.json +310 -0
- package/dist/esm/i18n/de.json +310 -0
- package/dist/esm/i18n/en.json +315 -0
- package/dist/esm/i18n/es.json +310 -0
- package/dist/esm/i18n/fr.json +310 -0
- package/dist/esm/i18n/hi.json +310 -0
- package/dist/esm/i18n/id.json +310 -0
- package/dist/esm/i18n/index.d.ts +16 -0
- package/dist/esm/i18n/index.js +17 -0
- package/dist/esm/i18n/index.js.map +1 -0
- package/dist/esm/i18n/it.json +310 -0
- package/dist/esm/i18n/ja.json +310 -0
- package/dist/esm/i18n/ko.json +310 -0
- package/dist/esm/i18n/pt.json +310 -0
- package/dist/esm/i18n/th.json +310 -0
- package/dist/esm/i18n/tr.json +310 -0
- package/dist/esm/i18n/uk.json +310 -0
- package/dist/esm/i18n/vi.json +310 -0
- package/dist/esm/i18n/zh.json +310 -0
- package/dist/esm/icons/lifi.d.ts +1 -0
- package/dist/esm/icons/lifi.js +2 -0
- package/dist/esm/icons/lifi.js.map +1 -0
- package/dist/esm/index.d.ts +24 -0
- package/dist/esm/index.js +22 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.d.ts +1 -0
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.jsx +25 -0
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.jsx.map +1 -0
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.d.ts +1 -0
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.jsx +56 -0
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.jsx.map +1 -0
- package/dist/esm/pages/LanguagesPage.d.ts +1 -0
- package/dist/esm/pages/LanguagesPage.jsx +30 -0
- package/dist/esm/pages/LanguagesPage.jsx.map +1 -0
- package/dist/esm/pages/MainPage/MainMessages.d.ts +2 -0
- package/dist/esm/pages/MainPage/MainMessages.jsx +12 -0
- package/dist/esm/pages/MainPage/MainMessages.jsx.map +1 -0
- package/dist/esm/pages/MainPage/MainPage.d.ts +1 -0
- package/dist/esm/pages/MainPage/MainPage.jsx +49 -0
- package/dist/esm/pages/MainPage/MainPage.jsx.map +1 -0
- package/dist/esm/pages/MainPage/MainPage.style.d.ts +3 -0
- package/dist/esm/pages/MainPage/MainPage.style.jsx +8 -0
- package/dist/esm/pages/MainPage/MainPage.style.jsx.map +1 -0
- package/dist/esm/pages/MainPage/ReviewButton.d.ts +1 -0
- package/dist/esm/pages/MainPage/ReviewButton.jsx +60 -0
- package/dist/esm/pages/MainPage/ReviewButton.jsx.map +1 -0
- package/dist/esm/pages/RoutesPage/RoutesPage.d.ts +2 -0
- package/dist/esm/pages/RoutesPage/RoutesPage.jsx +37 -0
- package/dist/esm/pages/RoutesPage/RoutesPage.jsx.map +1 -0
- package/dist/esm/pages/RoutesPage/RoutesPage.style.d.ts +3 -0
- package/dist/esm/pages/RoutesPage/RoutesPage.style.js +6 -0
- package/dist/esm/pages/RoutesPage/RoutesPage.style.js.map +1 -0
- package/dist/esm/pages/SelectChainPage/SelectChainPage.d.ts +2 -0
- package/dist/esm/pages/SelectChainPage/SelectChainPage.jsx +63 -0
- package/dist/esm/pages/SelectChainPage/SelectChainPage.jsx.map +1 -0
- package/dist/esm/pages/SelectChainPage/types.d.ts +4 -0
- package/dist/esm/pages/SelectChainPage/types.js +2 -0
- package/dist/esm/pages/SelectChainPage/types.js.map +1 -0
- package/dist/esm/pages/SelectEnabledToolsPage.d.ts +3 -0
- package/dist/esm/pages/SelectEnabledToolsPage.jsx +81 -0
- package/dist/esm/pages/SelectEnabledToolsPage.jsx.map +1 -0
- package/dist/esm/pages/SelectNativeTokenPage.d.ts +2 -0
- package/dist/esm/pages/SelectNativeTokenPage.jsx +31 -0
- package/dist/esm/pages/SelectNativeTokenPage.jsx.map +1 -0
- package/dist/esm/pages/SelectTokenPage/SearchTokenInput.d.ts +1 -0
- package/dist/esm/pages/SelectTokenPage/SearchTokenInput.jsx +17 -0
- package/dist/esm/pages/SelectTokenPage/SearchTokenInput.jsx.map +1 -0
- package/dist/esm/pages/SelectTokenPage/SearchTokenInput.style.d.ts +1 -0
- package/dist/esm/pages/SelectTokenPage/SearchTokenInput.style.jsx +6 -0
- package/dist/esm/pages/SelectTokenPage/SearchTokenInput.style.jsx.map +1 -0
- package/dist/esm/pages/SelectTokenPage/SelectTokenPage.d.ts +3 -0
- package/dist/esm/pages/SelectTokenPage/SelectTokenPage.jsx +45 -0
- package/dist/esm/pages/SelectTokenPage/SelectTokenPage.jsx.map +1 -0
- package/dist/esm/pages/SelectTokenPage/types.d.ts +4 -0
- package/dist/esm/pages/SelectTokenPage/types.js +6 -0
- package/dist/esm/pages/SelectTokenPage/types.js.map +1 -0
- package/dist/esm/pages/SelectTokenPage/useTokenListHeight.d.ts +12 -0
- package/dist/esm/pages/SelectTokenPage/useTokenListHeight.js +66 -0
- package/dist/esm/pages/SelectTokenPage/useTokenListHeight.js.map +1 -0
- package/dist/esm/pages/SendToWallet/BookmarkAddressSheet.d.ts +8 -0
- package/dist/esm/pages/SendToWallet/BookmarkAddressSheet.jsx +147 -0
- package/dist/esm/pages/SendToWallet/BookmarkAddressSheet.jsx.map +1 -0
- package/dist/esm/pages/SendToWallet/BookmarksPage.d.ts +1 -0
- package/dist/esm/pages/SendToWallet/BookmarksPage.jsx +131 -0
- package/dist/esm/pages/SendToWallet/BookmarksPage.jsx.map +1 -0
- package/dist/esm/pages/SendToWallet/ConfirmAddressSheet.d.ts +8 -0
- package/dist/esm/pages/SendToWallet/ConfirmAddressSheet.jsx +57 -0
- package/dist/esm/pages/SendToWallet/ConfirmAddressSheet.jsx.map +1 -0
- package/dist/esm/pages/SendToWallet/ConnectedWalletsPage.d.ts +1 -0
- package/dist/esm/pages/SendToWallet/ConnectedWalletsPage.jsx +117 -0
- package/dist/esm/pages/SendToWallet/ConnectedWalletsPage.jsx.map +1 -0
- package/dist/esm/pages/SendToWallet/EmptyListIndicator.d.ts +6 -0
- package/dist/esm/pages/SendToWallet/EmptyListIndicator.jsx +9 -0
- package/dist/esm/pages/SendToWallet/EmptyListIndicator.jsx.map +1 -0
- package/dist/esm/pages/SendToWallet/RecentWalletsPage.d.ts +1 -0
- package/dist/esm/pages/SendToWallet/RecentWalletsPage.jsx +143 -0
- package/dist/esm/pages/SendToWallet/RecentWalletsPage.jsx.map +1 -0
- package/dist/esm/pages/SendToWallet/SendToConfiguredWalletPage.d.ts +1 -0
- package/dist/esm/pages/SendToWallet/SendToConfiguredWalletPage.jsx +96 -0
- package/dist/esm/pages/SendToWallet/SendToConfiguredWalletPage.jsx.map +1 -0
- package/dist/esm/pages/SendToWallet/SendToWalletPage.d.ts +1 -0
- package/dist/esm/pages/SendToWallet/SendToWalletPage.jsx +180 -0
- package/dist/esm/pages/SendToWallet/SendToWalletPage.jsx.map +1 -0
- package/dist/esm/pages/SendToWallet/SendToWalletPage.style.d.ts +52 -0
- package/dist/esm/pages/SendToWallet/SendToWalletPage.style.jsx +125 -0
- package/dist/esm/pages/SendToWallet/SendToWalletPage.style.jsx.map +1 -0
- package/dist/esm/pages/SendToWallet/types.d.ts +4 -0
- package/dist/esm/pages/SendToWallet/types.js +2 -0
- package/dist/esm/pages/SendToWallet/types.js.map +1 -0
- package/dist/esm/pages/SettingsPage/BridgeAndExchangeSettings.d.ts +3 -0
- package/dist/esm/pages/SettingsPage/BridgeAndExchangeSettings.jsx +34 -0
- package/dist/esm/pages/SettingsPage/BridgeAndExchangeSettings.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/GasPriceSettings.d.ts +1 -0
- package/dist/esm/pages/SettingsPage/GasPriceSettings.jsx +27 -0
- package/dist/esm/pages/SettingsPage/GasPriceSettings.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/LanguageSetting.d.ts +1 -0
- package/dist/esm/pages/SettingsPage/LanguageSetting.jsx +25 -0
- package/dist/esm/pages/SettingsPage/LanguageSetting.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.d.ts +1 -0
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.jsx +51 -0
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.style.d.ts +3 -0
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.style.jsx +11 -0
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.style.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/RoutePrioritySettings.d.ts +1 -0
- package/dist/esm/pages/SettingsPage/RoutePrioritySettings.jsx +29 -0
- package/dist/esm/pages/SettingsPage/RoutePrioritySettings.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/BadgedValue.d.ts +8 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/BadgedValue.jsx +6 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/BadgedValue.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCard.style.d.ts +6 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCard.style.jsx +20 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCard.style.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.d.ts +7 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.jsx +25 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingsAccordian.d.ts +6 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingsAccordian.jsx +33 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingsAccordian.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/types.d.ts +5 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/types.js +2 -0
- package/dist/esm/pages/SettingsPage/SettingsCard/types.js.map +1 -0
- package/dist/esm/pages/SettingsPage/SettingsPage.d.ts +1 -0
- package/dist/esm/pages/SettingsPage/SettingsPage.jsx +31 -0
- package/dist/esm/pages/SettingsPage/SettingsPage.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.d.ts +1 -0
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.jsx +62 -0
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.d.ts +15 -0
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.jsx +71 -0
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.jsx.map +1 -0
- package/dist/esm/pages/SettingsPage/ThemeSettings.d.ts +1 -0
- package/dist/esm/pages/SettingsPage/ThemeSettings.jsx +40 -0
- package/dist/esm/pages/SettingsPage/ThemeSettings.jsx.map +1 -0
- package/dist/esm/pages/TransactionDetailsPage/ContactSupportButton.d.ts +5 -0
- package/dist/esm/pages/TransactionDetailsPage/ContactSupportButton.jsx +23 -0
- package/dist/esm/pages/TransactionDetailsPage/ContactSupportButton.jsx.map +1 -0
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsPage.d.ts +1 -0
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsPage.jsx +85 -0
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsPage.jsx.map +1 -0
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.d.ts +1 -0
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.jsx +48 -0
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.jsx.map +1 -0
- package/dist/esm/pages/TransactionDetailsPage/TransferIdCard.d.ts +5 -0
- package/dist/esm/pages/TransactionDetailsPage/TransferIdCard.jsx +46 -0
- package/dist/esm/pages/TransactionDetailsPage/TransferIdCard.jsx.map +1 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.d.ts +1 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.jsx +25 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.jsx.map +1 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryItem.d.ts +5 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryItem.jsx +74 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryItem.jsx.map +1 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryPage.d.ts +1 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryPage.jsx +44 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryPage.jsx.map +1 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.d.ts +1 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.jsx +30 -0
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.jsx.map +1 -0
- package/dist/esm/pages/TransactionHistoryPage/constants.d.ts +1 -0
- package/dist/esm/pages/TransactionHistoryPage/constants.js +2 -0
- package/dist/esm/pages/TransactionHistoryPage/constants.js.map +1 -0
- package/dist/esm/pages/TransactionPage/ExchangeRateBottomSheet.d.ts +13 -0
- package/dist/esm/pages/TransactionPage/ExchangeRateBottomSheet.jsx +101 -0
- package/dist/esm/pages/TransactionPage/ExchangeRateBottomSheet.jsx.map +1 -0
- package/dist/esm/pages/TransactionPage/RouteTracker.d.ts +7 -0
- package/dist/esm/pages/TransactionPage/RouteTracker.jsx +38 -0
- package/dist/esm/pages/TransactionPage/RouteTracker.jsx.map +1 -0
- package/dist/esm/pages/TransactionPage/StartTransactionButton.d.ts +2 -0
- package/dist/esm/pages/TransactionPage/StartTransactionButton.jsx +10 -0
- package/dist/esm/pages/TransactionPage/StartTransactionButton.jsx.map +1 -0
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.d.ts +7 -0
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.jsx +218 -0
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.jsx.map +1 -0
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.style.d.ts +15 -0
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.style.jsx +52 -0
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.style.jsx.map +1 -0
- package/dist/esm/pages/TransactionPage/TokenValueBottomSheet.d.ts +9 -0
- package/dist/esm/pages/TransactionPage/TokenValueBottomSheet.jsx +84 -0
- package/dist/esm/pages/TransactionPage/TokenValueBottomSheet.jsx.map +1 -0
- package/dist/esm/pages/TransactionPage/TransactionPage.d.ts +1 -0
- package/dist/esm/pages/TransactionPage/TransactionPage.jsx +157 -0
- package/dist/esm/pages/TransactionPage/TransactionPage.jsx.map +1 -0
- package/dist/esm/pages/TransactionPage/types.d.ts +5 -0
- package/dist/esm/pages/TransactionPage/types.js +2 -0
- package/dist/esm/pages/TransactionPage/types.js.map +1 -0
- package/dist/esm/pages/TransactionPage/utils.d.ts +2 -0
- package/dist/esm/pages/TransactionPage/utils.js +11 -0
- package/dist/esm/pages/TransactionPage/utils.js.map +1 -0
- package/dist/esm/providers/I18nProvider/I18nProvider.d.ts +1 -0
- package/dist/esm/providers/I18nProvider/I18nProvider.jsx +59 -0
- package/dist/esm/providers/I18nProvider/I18nProvider.jsx.map +1 -0
- package/dist/esm/providers/I18nProvider/currencyExtendedFormatter.d.ts +1 -0
- package/dist/esm/providers/I18nProvider/currencyExtendedFormatter.js +13 -0
- package/dist/esm/providers/I18nProvider/currencyExtendedFormatter.js.map +1 -0
- package/dist/esm/providers/I18nProvider/percentFormatter.d.ts +7 -0
- package/dist/esm/providers/I18nProvider/percentFormatter.js +19 -0
- package/dist/esm/providers/I18nProvider/percentFormatter.js.map +1 -0
- package/dist/esm/providers/I18nProvider/types.d.ts +17 -0
- package/dist/esm/providers/I18nProvider/types.js +2 -0
- package/dist/esm/providers/I18nProvider/types.js.map +1 -0
- package/dist/esm/providers/ThemeProvider/ThemeProvider.d.ts +1 -0
- package/dist/esm/providers/ThemeProvider/ThemeProvider.jsx +32 -0
- package/dist/esm/providers/ThemeProvider/ThemeProvider.jsx.map +1 -0
- package/dist/esm/providers/WalletProvider/EVMBaseProvider.d.ts +2 -0
- package/dist/esm/providers/WalletProvider/EVMBaseProvider.jsx +29 -0
- package/dist/esm/providers/WalletProvider/EVMBaseProvider.jsx.map +1 -0
- package/dist/esm/providers/WalletProvider/EVMExternalContext.d.ts +1 -0
- package/dist/esm/providers/WalletProvider/EVMExternalContext.js +3 -0
- package/dist/esm/providers/WalletProvider/EVMExternalContext.js.map +1 -0
- package/dist/esm/providers/WalletProvider/EVMProvider.d.ts +3 -0
- package/dist/esm/providers/WalletProvider/EVMProvider.jsx +19 -0
- package/dist/esm/providers/WalletProvider/EVMProvider.jsx.map +1 -0
- package/dist/esm/providers/WalletProvider/SDKProviders.d.ts +1 -0
- package/dist/esm/providers/WalletProvider/SDKProviders.jsx +47 -0
- package/dist/esm/providers/WalletProvider/SDKProviders.jsx.map +1 -0
- package/dist/esm/providers/WalletProvider/SVMBaseProvider.d.ts +2 -0
- package/dist/esm/providers/WalletProvider/SVMBaseProvider.jsx +25 -0
- package/dist/esm/providers/WalletProvider/SVMBaseProvider.jsx.map +1 -0
- package/dist/esm/providers/WalletProvider/SVMExternalContext.d.ts +1 -0
- package/dist/esm/providers/WalletProvider/SVMExternalContext.js +3 -0
- package/dist/esm/providers/WalletProvider/SVMExternalContext.js.map +1 -0
- package/dist/esm/providers/WalletProvider/SVMProvider.d.ts +3 -0
- package/dist/esm/providers/WalletProvider/SVMProvider.jsx +19 -0
- package/dist/esm/providers/WalletProvider/SVMProvider.jsx.map +1 -0
- package/dist/esm/providers/WalletProvider/UTXOBaseProvider.d.ts +2 -0
- package/dist/esm/providers/WalletProvider/UTXOBaseProvider.jsx +18 -0
- package/dist/esm/providers/WalletProvider/UTXOBaseProvider.jsx.map +1 -0
- package/dist/esm/providers/WalletProvider/UTXOExternalContext.d.ts +1 -0
- package/dist/esm/providers/WalletProvider/UTXOExternalContext.js +3 -0
- package/dist/esm/providers/WalletProvider/UTXOExternalContext.js.map +1 -0
- package/dist/esm/providers/WalletProvider/UTXOProvider.d.ts +3 -0
- package/dist/esm/providers/WalletProvider/UTXOProvider.jsx +19 -0
- package/dist/esm/providers/WalletProvider/UTXOProvider.jsx.map +1 -0
- package/dist/esm/providers/WalletProvider/WalletProvider.d.ts +3 -0
- package/dist/esm/providers/WalletProvider/WalletProvider.jsx +29 -0
- package/dist/esm/providers/WalletProvider/WalletProvider.jsx.map +1 -0
- package/dist/esm/providers/WalletProvider/useHasExternalWalletProvider.d.ts +7 -0
- package/dist/esm/providers/WalletProvider/useHasExternalWalletProvider.js +28 -0
- package/dist/esm/providers/WalletProvider/useHasExternalWalletProvider.js.map +1 -0
- package/dist/esm/providers/WidgetProvider/WidgetProvider.d.ts +3 -0
- package/dist/esm/providers/WidgetProvider/WidgetProvider.jsx +63 -0
- package/dist/esm/providers/WidgetProvider/WidgetProvider.jsx.map +1 -0
- package/dist/esm/providers/WidgetProvider/types.d.ts +7 -0
- package/dist/esm/providers/WidgetProvider/types.js +2 -0
- package/dist/esm/providers/WidgetProvider/types.js.map +1 -0
- package/dist/esm/providers/WidgetProvider/utils.d.ts +5 -0
- package/dist/esm/providers/WidgetProvider/utils.js +17 -0
- package/dist/esm/providers/WidgetProvider/utils.js.map +1 -0
- package/dist/esm/stores/StoreProvider.d.ts +3 -0
- package/dist/esm/stores/StoreProvider.jsx +24 -0
- package/dist/esm/stores/StoreProvider.jsx.map +1 -0
- package/dist/esm/stores/bookmarks/BookmarkStore.d.ts +6 -0
- package/dist/esm/stores/bookmarks/BookmarkStore.jsx +23 -0
- package/dist/esm/stores/bookmarks/BookmarkStore.jsx.map +1 -0
- package/dist/esm/stores/bookmarks/createBookmarkStore.d.ts +8 -0
- package/dist/esm/stores/bookmarks/createBookmarkStore.js +56 -0
- package/dist/esm/stores/bookmarks/createBookmarkStore.js.map +1 -0
- package/dist/esm/stores/bookmarks/types.d.ts +22 -0
- package/dist/esm/stores/bookmarks/types.js +2 -0
- package/dist/esm/stores/bookmarks/types.js.map +1 -0
- package/dist/esm/stores/bookmarks/useBookmarkActions.d.ts +2 -0
- package/dist/esm/stores/bookmarks/useBookmarkActions.js +15 -0
- package/dist/esm/stores/bookmarks/useBookmarkActions.js.map +1 -0
- package/dist/esm/stores/bookmarks/useBookmarks.d.ts +2 -0
- package/dist/esm/stores/bookmarks/useBookmarks.js +11 -0
- package/dist/esm/stores/bookmarks/useBookmarks.js.map +1 -0
- package/dist/esm/stores/chains/ChainOrderStore.d.ts +9 -0
- package/dist/esm/stores/chains/ChainOrderStore.jsx +48 -0
- package/dist/esm/stores/chains/ChainOrderStore.jsx.map +1 -0
- package/dist/esm/stores/chains/createChainOrderStore.d.ts +5 -0
- package/dist/esm/stores/chains/createChainOrderStore.js +70 -0
- package/dist/esm/stores/chains/createChainOrderStore.js.map +1 -0
- package/dist/esm/stores/chains/types.d.ts +15 -0
- package/dist/esm/stores/chains/types.js +2 -0
- package/dist/esm/stores/chains/types.js.map +1 -0
- package/dist/esm/stores/chains/useChainOrder.d.ts +2 -0
- package/dist/esm/stores/chains/useChainOrder.js +6 -0
- package/dist/esm/stores/chains/useChainOrder.js.map +1 -0
- package/dist/esm/stores/form/FormStore.d.ts +7 -0
- package/dist/esm/stores/form/FormStore.jsx +91 -0
- package/dist/esm/stores/form/FormStore.jsx.map +1 -0
- package/dist/esm/stores/form/FormStoreContext.d.ts +2 -0
- package/dist/esm/stores/form/FormStoreContext.js +3 -0
- package/dist/esm/stores/form/FormStoreContext.js.map +1 -0
- package/dist/esm/stores/form/FormUpdater.d.ts +4 -0
- package/dist/esm/stores/form/FormUpdater.jsx +73 -0
- package/dist/esm/stores/form/FormUpdater.jsx.map +1 -0
- package/dist/esm/stores/form/URLSearchParamsBuilder.d.ts +1 -0
- package/dist/esm/stores/form/URLSearchParamsBuilder.jsx +73 -0
- package/dist/esm/stores/form/URLSearchParamsBuilder.jsx.map +1 -0
- package/dist/esm/stores/form/createFormStore.d.ts +3 -0
- package/dist/esm/stores/form/createFormStore.js +185 -0
- package/dist/esm/stores/form/createFormStore.js.map +1 -0
- package/dist/esm/stores/form/types.d.ts +84 -0
- package/dist/esm/stores/form/types.js +6 -0
- package/dist/esm/stores/form/types.js.map +1 -0
- package/dist/esm/stores/form/useFieldActions.d.ts +2 -0
- package/dist/esm/stores/form/useFieldActions.js +15 -0
- package/dist/esm/stores/form/useFieldActions.js.map +1 -0
- package/dist/esm/stores/form/useFieldController.d.ts +11 -0
- package/dist/esm/stores/form/useFieldController.js +20 -0
- package/dist/esm/stores/form/useFieldController.js.map +1 -0
- package/dist/esm/stores/form/useFieldValues.d.ts +2 -0
- package/dist/esm/stores/form/useFieldValues.js +8 -0
- package/dist/esm/stores/form/useFieldValues.js.map +1 -0
- package/dist/esm/stores/form/useFormRef.d.ts +3 -0
- package/dist/esm/stores/form/useFormRef.js +51 -0
- package/dist/esm/stores/form/useFormRef.js.map +1 -0
- package/dist/esm/stores/form/useFormStore.d.ts +3 -0
- package/dist/esm/stores/form/useFormStore.js +11 -0
- package/dist/esm/stores/form/useFormStore.js.map +1 -0
- package/dist/esm/stores/form/useTouchedFields.d.ts +11 -0
- package/dist/esm/stores/form/useTouchedFields.js +7 -0
- package/dist/esm/stores/form/useTouchedFields.js.map +1 -0
- package/dist/esm/stores/form/useValidation.d.ts +2 -0
- package/dist/esm/stores/form/useValidation.js +11 -0
- package/dist/esm/stores/form/useValidation.js.map +1 -0
- package/dist/esm/stores/form/useValidationActions.d.ts +2 -0
- package/dist/esm/stores/form/useValidationActions.js +11 -0
- package/dist/esm/stores/form/useValidationActions.js.map +1 -0
- package/dist/esm/stores/header/types.d.ts +15 -0
- package/dist/esm/stores/header/types.js +2 -0
- package/dist/esm/stores/header/types.js.map +1 -0
- package/dist/esm/stores/header/useHeaderStore.d.ts +13 -0
- package/dist/esm/stores/header/useHeaderStore.jsx +72 -0
- package/dist/esm/stores/header/useHeaderStore.jsx.map +1 -0
- package/dist/esm/stores/routes/RouteExecutionStore.d.ts +9 -0
- package/dist/esm/stores/routes/RouteExecutionStore.jsx +24 -0
- package/dist/esm/stores/routes/RouteExecutionStore.jsx.map +1 -0
- package/dist/esm/stores/routes/createRouteExecutionStore.d.ts +3 -0
- package/dist/esm/stores/routes/createRouteExecutionStore.js +131 -0
- package/dist/esm/stores/routes/createRouteExecutionStore.js.map +1 -0
- package/dist/esm/stores/routes/types.d.ts +21 -0
- package/dist/esm/stores/routes/types.js +10 -0
- package/dist/esm/stores/routes/types.js.map +1 -0
- package/dist/esm/stores/routes/useExecutingRoutesIds.d.ts +1 -0
- package/dist/esm/stores/routes/useExecutingRoutesIds.js +16 -0
- package/dist/esm/stores/routes/useExecutingRoutesIds.js.map +1 -0
- package/dist/esm/stores/routes/useSetExecutableRoute.d.ts +1 -0
- package/dist/esm/stores/routes/useSetExecutableRoute.js +5 -0
- package/dist/esm/stores/routes/useSetExecutableRoute.js.map +1 -0
- package/dist/esm/stores/routes/utils.d.ts +8 -0
- package/dist/esm/stores/routes/utils.js +41 -0
- package/dist/esm/stores/routes/utils.js.map +1 -0
- package/dist/esm/stores/settings/types.d.ts +46 -0
- package/dist/esm/stores/settings/types.js +2 -0
- package/dist/esm/stores/settings/types.js.map +1 -0
- package/dist/esm/stores/settings/useAppearance.d.ts +2 -0
- package/dist/esm/stores/settings/useAppearance.js +10 -0
- package/dist/esm/stores/settings/useAppearance.js.map +1 -0
- package/dist/esm/stores/settings/useSendToWalletStore.d.ts +5 -0
- package/dist/esm/stores/settings/useSendToWalletStore.js +15 -0
- package/dist/esm/stores/settings/useSendToWalletStore.js.map +1 -0
- package/dist/esm/stores/settings/useSettings.d.ts +2 -0
- package/dist/esm/stores/settings/useSettings.js +9 -0
- package/dist/esm/stores/settings/useSettings.js.map +1 -0
- package/dist/esm/stores/settings/useSettingsStore.d.ts +7 -0
- package/dist/esm/stores/settings/useSettingsStore.js +154 -0
- package/dist/esm/stores/settings/useSettingsStore.js.map +1 -0
- package/dist/esm/stores/settings/useSplitSubvariantStore.d.ts +6 -0
- package/dist/esm/stores/settings/useSplitSubvariantStore.jsx +36 -0
- package/dist/esm/stores/settings/useSplitSubvariantStore.jsx.map +1 -0
- package/dist/esm/stores/types.d.ts +5 -0
- package/dist/esm/stores/types.js +2 -0
- package/dist/esm/stores/types.js.map +1 -0
- package/dist/esm/themes/azureLight.d.ts +2 -0
- package/dist/esm/themes/azureLight.js +57 -0
- package/dist/esm/themes/azureLight.js.map +1 -0
- package/dist/esm/themes/createTheme.d.ts +3 -0
- package/dist/esm/themes/createTheme.js +347 -0
- package/dist/esm/themes/createTheme.js.map +1 -0
- package/dist/esm/themes/jumper.d.ts +2 -0
- package/dist/esm/themes/jumper.js +36 -0
- package/dist/esm/themes/jumper.js.map +1 -0
- package/dist/esm/themes/palettes.d.ts +50 -0
- package/dist/esm/themes/palettes.js +51 -0
- package/dist/esm/themes/palettes.js.map +1 -0
- package/dist/esm/themes/types.d.ts +51 -0
- package/dist/esm/themes/types.js +2 -0
- package/dist/esm/themes/types.js.map +1 -0
- package/dist/esm/themes/utils.d.ts +4 -0
- package/dist/esm/themes/utils.js +9 -0
- package/dist/esm/themes/utils.js.map +1 -0
- package/dist/esm/themes/watermelonLight.d.ts +2 -0
- package/dist/esm/themes/watermelonLight.js +63 -0
- package/dist/esm/themes/watermelonLight.js.map +1 -0
- package/dist/esm/themes/windows95.d.ts +2 -0
- package/dist/esm/themes/windows95.js +95 -0
- package/dist/esm/themes/windows95.js.map +1 -0
- package/dist/esm/types/events.d.ts +66 -0
- package/dist/esm/types/events.js +24 -0
- package/dist/esm/types/events.js.map +1 -0
- package/dist/esm/types/token.d.ts +5 -0
- package/dist/esm/types/token.js +2 -0
- package/dist/esm/types/token.js.map +1 -0
- package/dist/esm/types/widget.d.ts +201 -0
- package/dist/esm/types/widget.js +24 -0
- package/dist/esm/types/widget.js.map +1 -0
- package/dist/esm/utils/chainType.d.ts +7 -0
- package/dist/esm/utils/chainType.js +21 -0
- package/dist/esm/utils/chainType.js.map +1 -0
- package/dist/esm/utils/colors.d.ts +15 -0
- package/dist/esm/utils/colors.js +35 -0
- package/dist/esm/utils/colors.js.map +1 -0
- package/dist/esm/utils/converters.d.ts +3 -0
- package/dist/esm/utils/converters.js +189 -0
- package/dist/esm/utils/converters.js.map +1 -0
- package/dist/esm/utils/deepMerge.d.ts +1 -0
- package/dist/esm/utils/deepMerge.js +15 -0
- package/dist/esm/utils/deepMerge.js.map +1 -0
- package/dist/esm/utils/elements.d.ts +11 -0
- package/dist/esm/utils/elements.js +15 -0
- package/dist/esm/utils/elements.js.map +1 -0
- package/dist/esm/utils/enum.d.ts +1 -0
- package/dist/esm/utils/enum.js +2 -0
- package/dist/esm/utils/enum.js.map +1 -0
- package/dist/esm/utils/fees.d.ts +16 -0
- package/dist/esm/utils/fees.js +83 -0
- package/dist/esm/utils/fees.js.map +1 -0
- package/dist/esm/utils/format.d.ts +18 -0
- package/dist/esm/utils/format.js +114 -0
- package/dist/esm/utils/format.js.map +1 -0
- package/dist/esm/utils/input.d.ts +1 -0
- package/dist/esm/utils/input.js +27 -0
- package/dist/esm/utils/input.js.map +1 -0
- package/dist/esm/utils/item.d.ts +2 -0
- package/dist/esm/utils/item.js +7 -0
- package/dist/esm/utils/item.js.map +1 -0
- package/dist/esm/utils/navigationRoutes.d.ts +27 -0
- package/dist/esm/utils/navigationRoutes.js +64 -0
- package/dist/esm/utils/navigationRoutes.js.map +1 -0
- package/dist/esm/utils/wallet.d.ts +1 -0
- package/dist/esm/utils/wallet.js +4 -0
- package/dist/esm/utils/wallet.js.map +1 -0
- package/package.json +4 -3
- package/src/config/version.ts +1 -1
- package/tsconfig.json +2 -5
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Box, Collapse, Grow, ScopedCssBaseline, styled } from '@mui/material';
|
|
2
|
+
import { defaultMaxHeight } from '../../config/constants.js';
|
|
3
|
+
export const CollapseContainer = styled(Box)(({ theme }) => ({
|
|
4
|
+
zIndex: 0,
|
|
5
|
+
...(theme.container.display === 'flex'
|
|
6
|
+
? { display: 'flex', maxHeight: '100%' }
|
|
7
|
+
: { height: 'auto' }),
|
|
8
|
+
}));
|
|
9
|
+
export const RoutesExpandedCollapse = styled(Collapse)(({ theme }) => ({
|
|
10
|
+
...(theme.container?.display === 'flex' ? { height: '100%' } : {}),
|
|
11
|
+
}));
|
|
12
|
+
export const RouteTopLevelGrow = styled(Grow)(({ theme }) => ({
|
|
13
|
+
...(theme.container?.display === 'flex' ? { height: '100%' } : {}),
|
|
14
|
+
}));
|
|
15
|
+
export const ScrollableContainer = styled(Box)({
|
|
16
|
+
overflowY: 'auto',
|
|
17
|
+
height: '100%',
|
|
18
|
+
width: '100%',
|
|
19
|
+
flex: 1,
|
|
20
|
+
display: 'flex',
|
|
21
|
+
flexDirection: 'column',
|
|
22
|
+
});
|
|
23
|
+
export const Container = styled(ScopedCssBaseline, {
|
|
24
|
+
shouldForwardProp: (prop) => !['minimumHeight'].includes(prop),
|
|
25
|
+
})(({ theme, minimumHeight }) => ({
|
|
26
|
+
backgroundColor: theme.palette.background.default,
|
|
27
|
+
overflow: 'auto',
|
|
28
|
+
width: 436,
|
|
29
|
+
marginLeft: theme.spacing(3),
|
|
30
|
+
display: 'flex',
|
|
31
|
+
flexDirection: 'column',
|
|
32
|
+
...(theme.container?.display !== 'flex'
|
|
33
|
+
? {
|
|
34
|
+
maxHeight: theme.container?.maxHeight ??
|
|
35
|
+
theme.container?.height ??
|
|
36
|
+
defaultMaxHeight,
|
|
37
|
+
...(minimumHeight ? { '&': { height: 'auto' } } : {}),
|
|
38
|
+
}
|
|
39
|
+
: { height: minimumHeight ? 'auto' : '100%' }),
|
|
40
|
+
...theme.container,
|
|
41
|
+
}));
|
|
42
|
+
export const Header = styled(Box)(({ theme }) => ({
|
|
43
|
+
backgroundColor: theme.palette.background.default,
|
|
44
|
+
backdropFilter: 'blur(12px)',
|
|
45
|
+
display: 'flex',
|
|
46
|
+
justifyContent: 'space-between',
|
|
47
|
+
alignItems: 'center',
|
|
48
|
+
padding: theme.spacing(1.5, 3),
|
|
49
|
+
position: 'sticky',
|
|
50
|
+
top: 0,
|
|
51
|
+
zIndex: 1200,
|
|
52
|
+
}));
|
|
53
|
+
//# sourceMappingURL=RoutesExpanded.style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoutesExpanded.style.js","sourceRoot":"","sources":["../../../../src/components/Routes/RoutesExpanded.style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAE5D,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3D,MAAM,EAAE,CAAC;IACT,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,KAAK,MAAM;QACpC,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE;QACxC,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,GAAG,CAAC,KAAK,CAAC,SAAS,EAAE,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;CACnE,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,KA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AAa,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAChD,GAAG,KAAK,CAAC,SAAS;CACnB,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAChD,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO;IACjD,cAAc,EAAE,YAAY;IAC5B,OAAO,EAAE,MAAM;IACf,cAAc,EAAE,eAAe;IAC/B,UAAU,EAAE,QAAQ;IACpB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9B,QAAQ,EAAE,QAAQ;IAClB,GAAG,EAAE,CAAC;IACN,MAAM,EAAE,IAAI;CACb,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FocusEventHandler, FormEventHandler } from 'react';
|
|
2
|
+
interface SearchInputProps {
|
|
3
|
+
name?: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
onChange?: FormEventHandler<HTMLInputElement>;
|
|
7
|
+
onBlur?: FocusEventHandler<HTMLInputElement>;
|
|
8
|
+
}
|
|
9
|
+
export declare const SearchInput: ({ name, placeholder, onChange, onBlur, value, }: SearchInputProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const StickySearchInput: ({ ...rest }: SearchInputProps) => import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Search } from '@mui/icons-material';
|
|
2
|
+
import { FormControl, InputAdornment } from '@mui/material';
|
|
3
|
+
import { InputCard } from '../../components/Card/InputCard.js';
|
|
4
|
+
import { useHeaderHeight } from '../../stores/header/useHeaderStore.js';
|
|
5
|
+
import { Input, StickySearchInputContainer } from './SearchInput.style.js';
|
|
6
|
+
export const SearchInput = ({ name, placeholder, onChange, onBlur, value, }) => {
|
|
7
|
+
return (<InputCard>
|
|
8
|
+
<FormControl fullWidth>
|
|
9
|
+
<Input size="small" placeholder={placeholder} endAdornment={<InputAdornment position="end">
|
|
10
|
+
<Search />
|
|
11
|
+
</InputAdornment>} inputProps={{
|
|
12
|
+
inputMode: 'search',
|
|
13
|
+
onChange,
|
|
14
|
+
onBlur,
|
|
15
|
+
name,
|
|
16
|
+
value,
|
|
17
|
+
maxLength: 128,
|
|
18
|
+
}} autoComplete="off"/>
|
|
19
|
+
</FormControl>
|
|
20
|
+
</InputCard>);
|
|
21
|
+
};
|
|
22
|
+
export const StickySearchInput = ({ ...rest }) => {
|
|
23
|
+
const { headerHeight } = useHeaderHeight();
|
|
24
|
+
return (<StickySearchInputContainer headerHeight={headerHeight}>
|
|
25
|
+
<SearchInput {...rest}/>
|
|
26
|
+
</StickySearchInputContainer>);
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=SearchInput.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchInput.jsx","sourceRoot":"","sources":["../../../../src/components/Search/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAA;AAU1E,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAC1B,IAAI,EACJ,WAAW,EACX,QAAQ,EACR,MAAM,EACN,KAAK,GACY,EAAE,EAAE;IACrB,OAAO,CACL,CAAC,SAAS,CACR;MAAA,CAAC,WAAW,CAAC,SAAS,CACpB;QAAA,CAAC,KAAK,CACJ,IAAI,CAAC,OAAO,CACZ,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,YAAY,CAAC,CACX,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,CAC5B;cAAA,CAAC,MAAM,CAAC,AAAD,EACT;YAAA,EAAE,cAAc,CAClB,CAAC,CACD,UAAU,CAAC,CAAC;YACV,SAAS,EAAE,QAAQ;YACnB,QAAQ;YACR,MAAM;YACN,IAAI;YACJ,KAAK;YACL,SAAS,EAAE,GAAG;SACf,CAAC,CACF,YAAY,CAAC,KAAK,EAEtB;MAAA,EAAE,WAAW,CACf;IAAA,EAAE,SAAS,CAAC,CACb,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAAE,GAAG,IAAI,EAAoB,EAAE,EAAE;IACjE,MAAM,EAAE,YAAY,EAAE,GAAG,eAAe,EAAE,CAAA;IAE1C,OAAO,CACL,CAAC,0BAA0B,CAAC,YAAY,CAAC,CAAC,YAAY,CAAC,CACrD;MAAA,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,EACxB;IAAA,EAAE,0BAA0B,CAAC,CAC9B,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const Input: import("@emotion/styled").StyledComponent<import("@mui/material").InputBaseProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
2
|
+
interface SearchStickyContainerProps {
|
|
3
|
+
headerHeight: number;
|
|
4
|
+
}
|
|
5
|
+
export declare const searchContainerHeight = 64;
|
|
6
|
+
export declare const StickySearchInputContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
8
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & SearchStickyContainerProps, {}, {}>;
|
|
9
|
+
export declare const SearchList: import("@emotion/styled").StyledComponent<import("@mui/material").ListOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
|
10
|
+
ref?: ((instance: HTMLUListElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLUListElement> | null | undefined;
|
|
11
|
+
}, "children" | "sx" | "style" | "className" | "classes" | "dense" | "disablePadding" | "subheader"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Box, List, styled } from '@mui/material';
|
|
2
|
+
import { Input as InputBase } from '../../components/Input.js';
|
|
3
|
+
export const Input = styled(InputBase)(({ theme }) => ({
|
|
4
|
+
paddingRight: theme.spacing(1.5),
|
|
5
|
+
}));
|
|
6
|
+
export const searchContainerHeight = 64;
|
|
7
|
+
// When the widget is in Full Height layout mode in order to appear "sticky the StickySearchInputContainer needs to use
|
|
8
|
+
// position fixed in the same way as the header (see Header.tsx). The headerHeight value here is used as the top value
|
|
9
|
+
// to ensure that this container positioned correctly beneath the header
|
|
10
|
+
export const StickySearchInputContainer = styled(Box, {
|
|
11
|
+
shouldForwardProp: (prop) => prop !== 'headerHeight',
|
|
12
|
+
})(({ theme, headerHeight }) => ({
|
|
13
|
+
position: 'sticky',
|
|
14
|
+
top: headerHeight,
|
|
15
|
+
zIndex: 1,
|
|
16
|
+
height: searchContainerHeight,
|
|
17
|
+
paddingBottom: theme.spacing(2),
|
|
18
|
+
paddingLeft: theme.spacing(3),
|
|
19
|
+
paddingRight: theme.spacing(3),
|
|
20
|
+
backgroundColor: theme.palette.background.default,
|
|
21
|
+
...(theme.header?.position === 'fixed'
|
|
22
|
+
? {
|
|
23
|
+
position: 'fixed',
|
|
24
|
+
minWidth: theme.breakpoints.values.xs,
|
|
25
|
+
maxWidth: theme.breakpoints.values.sm,
|
|
26
|
+
width: '100%',
|
|
27
|
+
}
|
|
28
|
+
: {}),
|
|
29
|
+
}));
|
|
30
|
+
// When in Full Height layout mode, as the StickySearchInputContainer (see above) uses fixed position, the list element needs to provide
|
|
31
|
+
// additional paddingTop in order to be positioned correctly.
|
|
32
|
+
export const SearchList = styled(List)(({ theme }) => ({
|
|
33
|
+
paddingTop: theme.header?.position === 'fixed' ? `${searchContainerHeight}px` : 0,
|
|
34
|
+
paddingLeft: theme.spacing(1.5),
|
|
35
|
+
paddingRight: theme.spacing(1.5),
|
|
36
|
+
paddingBottom: theme.spacing(1.5),
|
|
37
|
+
}));
|
|
38
|
+
//# sourceMappingURL=SearchInput.style.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchInput.style.jsx","sourceRoot":"","sources":["../../../../src/components/Search/SearchInput.style.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAE9D,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACrD,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;CACjC,CAAC,CAAC,CAAA;AAMH,MAAM,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CAAC,GAAG,CAAC;IAC/B,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;IAChC,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;CAClC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SearchOff } from '@mui/icons-material';
|
|
2
|
+
import { NotFoundContainer, NotFoundIconContainer, NotFoundMessage, } from './SearchNotFound.style.js';
|
|
3
|
+
export const SearchNotFound = ({ message, adjustForStickySearchInput, }) => (<NotFoundContainer adjustForStickySearchInput={adjustForStickySearchInput}>
|
|
4
|
+
<NotFoundIconContainer>
|
|
5
|
+
<SearchOff fontSize="inherit"/>
|
|
6
|
+
</NotFoundIconContainer>
|
|
7
|
+
<NotFoundMessage>{message}</NotFoundMessage>
|
|
8
|
+
</NotFoundContainer>);
|
|
9
|
+
//# sourceMappingURL=SearchNotFound.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchNotFound.jsx","sourceRoot":"","sources":["../../../../src/components/Search/SearchNotFound.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAA;AAOlC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,OAAO,EACP,0BAA0B,GACN,EAAE,EAAE,CAAC,CACzB,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,CAAC,0BAA0B,CAAC,CACxE;IAAA,CAAC,qBAAqB,CACpB;MAAA,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,EAC/B;IAAA,EAAE,qBAAqB,CACvB;IAAA,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,EAAE,eAAe,CAC7C;EAAA,EAAE,iBAAiB,CAAC,CACrB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { BoxProps } from '@mui/material';
|
|
2
|
+
interface NotFoundContainerProps extends BoxProps {
|
|
3
|
+
adjustForStickySearchInput?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const NotFoundContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & NotFoundContainerProps, {}, {}>;
|
|
8
|
+
export declare const NotFoundMessage: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
10
|
+
}, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "style" | "className" | "align" | "classes" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
|
+
export declare const NotFoundIconContainer: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
13
|
+
}, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "style" | "className" | "align" | "classes" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Box, Typography, styled } from '@mui/material';
|
|
2
|
+
import { searchContainerHeight } from './SearchInput.style.js';
|
|
3
|
+
export const NotFoundContainer = styled(Box, {
|
|
4
|
+
shouldForwardProp: (prop) => prop !== 'adjustForStickySearchInput',
|
|
5
|
+
})(({ theme, adjustForStickySearchInput }) => ({
|
|
6
|
+
display: 'flex',
|
|
7
|
+
justifyContent: 'center',
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
flexDirection: 'column',
|
|
10
|
+
flex: 1,
|
|
11
|
+
padding: theme.spacing(3),
|
|
12
|
+
...(adjustForStickySearchInput && theme.header?.position === 'fixed'
|
|
13
|
+
? { paddingTop: `calc(${searchContainerHeight}px + ${theme.spacing(3)})` }
|
|
14
|
+
: {}),
|
|
15
|
+
}));
|
|
16
|
+
export const NotFoundMessage = styled(Typography)(({ theme }) => ({
|
|
17
|
+
fontSize: 14,
|
|
18
|
+
color: theme.palette.text.secondary,
|
|
19
|
+
textAlign: 'center',
|
|
20
|
+
flex: 1,
|
|
21
|
+
marginTop: theme.spacing(2),
|
|
22
|
+
paddingLeft: theme.spacing(2),
|
|
23
|
+
paddingRight: theme.spacing(2),
|
|
24
|
+
}));
|
|
25
|
+
export const NotFoundIconContainer = styled(Typography)(() => ({
|
|
26
|
+
fontSize: 48,
|
|
27
|
+
lineHeight: 1,
|
|
28
|
+
}));
|
|
29
|
+
//# sourceMappingURL=SearchNotFound.style.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchNotFound.style.jsx","sourceRoot":"","sources":["../../../../src/components/Search/SearchNotFound.style.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAM9D,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,EAAE;IAC3C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,4BAA4B;CACnE,CAAC,CAAyB,CAAC,EAAE,KAAK,EAAE,0BAA0B,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,OAAO,EAAE,MAAM;IACf,cAAc,EAAE,QAAQ;IACxB,UAAU,EAAE,QAAQ;IACpB,aAAa,EAAE,QAAQ;IACvB,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IACzB,GAAG,CAAC,0BAA0B,IAAI,KAAK,CAAC,MAAM,EAAE,QAAQ,KAAK,OAAO;QAClE,CAAC,CAAC,EAAE,UAAU,EAAE,QAAQ,qBAAqB,QAAQ,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE;QAC1E,CAAC,CAAC,EAAE,CAAC;CACR,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,QAAQ,EAAE,EAAE;IACZ,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS;IACnC,SAAS,EAAE,QAAQ;IACnB,IAAI,EAAE,CAAC;IACP,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IAC7B,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;CAC/B,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7D,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,CAAC;CACd,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Select as MuiSelect, inputBaseClasses, listItemIconClasses, outlinedInputClasses, selectClasses, styled, } from '@mui/material';
|
|
2
|
+
export const Select = styled(MuiSelect, {
|
|
3
|
+
shouldForwardProp: (prop) => prop !== 'dense',
|
|
4
|
+
})(({ theme, dense }) => ({
|
|
5
|
+
backgroundColor: theme.palette.mode === 'light'
|
|
6
|
+
? theme.palette.common.white
|
|
7
|
+
: theme.palette.background.paper,
|
|
8
|
+
[`.${inputBaseClasses.input}`]: {
|
|
9
|
+
padding: dense ? theme.spacing(1.625, 2, 1.5, 2) : theme.spacing(2),
|
|
10
|
+
display: 'flex',
|
|
11
|
+
alignItems: 'center',
|
|
12
|
+
},
|
|
13
|
+
[`.${selectClasses.icon}`]: {
|
|
14
|
+
right: 10,
|
|
15
|
+
color: theme.palette.text.primary,
|
|
16
|
+
},
|
|
17
|
+
[`.${listItemIconClasses.root}`]: {
|
|
18
|
+
minWidth: 38,
|
|
19
|
+
},
|
|
20
|
+
[`.${outlinedInputClasses.notchedOutline}`]: {
|
|
21
|
+
display: 'none',
|
|
22
|
+
},
|
|
23
|
+
}));
|
|
24
|
+
//# sourceMappingURL=Select.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.jsx","sourceRoot":"","sources":["../../../src/components/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,IAAI,SAAS,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,MAAM,GACP,MAAM,eAAe,CAAA;AAEtB,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE;IACtC,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,OAAO;CAC9C,CAAC,CAAsB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7C,eAAe,EACb,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,OAAO;QAC5B,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;QAC5B,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK;IACpC,CAAC,IAAI,gBAAgB,CAAC,KAAK,EAAE,CAAC,EAAE;QAC9B,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QACnE,OAAO,EAAE,MAAM;QACf,UAAU,EAAE,QAAQ;KACrB;IACD,CAAC,IAAI,aAAa,CAAC,IAAI,EAAE,CAAC,EAAE;QAC1B,KAAK,EAAE,EAAE;QACT,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO;KAClC;IACD,CAAC,IAAI,mBAAmB,CAAC,IAAI,EAAE,CAAC,EAAE;QAChC,QAAQ,EAAE,EAAE;KACb;IACD,CAAC,IAAI,oBAAoB,CAAC,cAAc,EAAE,CAAC,EAAE;QAC3C,OAAO,EAAE,MAAM;KAChB;CACF,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Box, useMediaQuery } from '@mui/material';
|
|
2
|
+
import { ReverseTokensButton } from '../components/ReverseTokensButton/ReverseTokensButton.js';
|
|
3
|
+
import { SelectTokenButton } from '../components/SelectTokenButton/SelectTokenButton.js';
|
|
4
|
+
import { useWidgetConfig } from '../providers/WidgetProvider/WidgetProvider.js';
|
|
5
|
+
import { useFieldValues } from '../stores/form/useFieldValues.js';
|
|
6
|
+
import { DisabledUI, HiddenUI } from '../types/widget.js';
|
|
7
|
+
import { ReverseTokensButtonEmpty } from './ReverseTokensButton/ReverseTokensButton.style.js';
|
|
8
|
+
export const SelectChainAndToken = (props) => {
|
|
9
|
+
const prefersNarrowView = useMediaQuery((theme) => theme.breakpoints.down('sm'));
|
|
10
|
+
const { disabledUI, hiddenUI, subvariant } = useWidgetConfig();
|
|
11
|
+
const [fromChain, toChain, fromToken, toToken] = useFieldValues('fromChain', 'toChain', 'fromToken', 'toToken');
|
|
12
|
+
const hiddenReverse = subvariant === 'refuel' ||
|
|
13
|
+
disabledUI?.includes(DisabledUI.FromToken) ||
|
|
14
|
+
disabledUI?.includes(DisabledUI.ToToken) ||
|
|
15
|
+
hiddenUI?.includes(HiddenUI.ToToken);
|
|
16
|
+
const hiddenToToken = subvariant === 'custom' || hiddenUI?.includes(HiddenUI.ToToken);
|
|
17
|
+
const isCompact = !!fromChain &&
|
|
18
|
+
!!toChain &&
|
|
19
|
+
!!fromToken &&
|
|
20
|
+
!!toToken &&
|
|
21
|
+
!prefersNarrowView &&
|
|
22
|
+
!hiddenToToken;
|
|
23
|
+
return (<Box sx={{ display: 'flex', flexDirection: isCompact ? 'row' : 'column' }} {...props}>
|
|
24
|
+
<SelectTokenButton formType="from" compact={isCompact}/>
|
|
25
|
+
{!hiddenToToken ? (!hiddenReverse ? (<ReverseTokensButton vertical={!isCompact}/>) : (<ReverseTokensButtonEmpty />)) : null}
|
|
26
|
+
{!hiddenToToken ? (<SelectTokenButton formType="to" compact={isCompact}/>) : null}
|
|
27
|
+
</Box>);
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=SelectChainAndToken.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectChainAndToken.jsx","sourceRoot":"","sources":["../../../src/components/SelectChainAndToken.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAA;AAC9F,OAAO,EAAE,iBAAiB,EAAE,MAAM,sDAAsD,CAAA;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAA;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAA;AAE7F,MAAM,CAAC,MAAM,mBAAmB,GAAuB,CAAC,KAAK,EAAE,EAAE;IAC/D,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,KAAY,EAAE,EAAE,CACvD,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,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,IAAI,CACR;MAAA,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAChB,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,EAAG,CACxD,CAAC,CAAC,CAAC,IAAI,CACV;IAAA,EAAE,GAAG,CAAC,CACP,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Skeleton } from '@mui/material';
|
|
2
|
+
import { useTranslation } from 'react-i18next';
|
|
3
|
+
import { useNavigate } from 'react-router-dom';
|
|
4
|
+
import { useChain } from '../../hooks/useChain.js';
|
|
5
|
+
import { useSwapOnly } from '../../hooks/useSwapOnly.js';
|
|
6
|
+
import { useToken } from '../../hooks/useToken.js';
|
|
7
|
+
import { useWidgetConfig } from '../../providers/WidgetProvider/WidgetProvider.js';
|
|
8
|
+
import { FormKeyHelper } from '../../stores/form/types.js';
|
|
9
|
+
import { useFieldValues } from '../../stores/form/useFieldValues.js';
|
|
10
|
+
import { navigationRoutes } from '../../utils/navigationRoutes.js';
|
|
11
|
+
import { AvatarBadgedDefault, AvatarBadgedSkeleton } from '../Avatar/Avatar.js';
|
|
12
|
+
import { TokenAvatar } from '../Avatar/TokenAvatar.js';
|
|
13
|
+
import { CardTitle } from '../Card/CardTitle.js';
|
|
14
|
+
import { CardContent, SelectTokenCard, SelectTokenCardHeader, } from './SelectTokenButton.style.js';
|
|
15
|
+
export const SelectTokenButton = ({ formType, compact }) => {
|
|
16
|
+
const { t } = useTranslation();
|
|
17
|
+
const navigate = useNavigate();
|
|
18
|
+
const { disabledUI, subvariant } = useWidgetConfig();
|
|
19
|
+
const swapOnly = useSwapOnly();
|
|
20
|
+
const tokenKey = FormKeyHelper.getTokenKey(formType);
|
|
21
|
+
const [chainId, tokenAddress] = useFieldValues(FormKeyHelper.getChainKey(formType), tokenKey);
|
|
22
|
+
const { chain, isLoading: isChainLoading } = useChain(chainId);
|
|
23
|
+
const { token, isLoading: isTokenLoading } = useToken(chainId, tokenAddress);
|
|
24
|
+
const handleClick = () => {
|
|
25
|
+
navigate(formType === 'from'
|
|
26
|
+
? navigationRoutes.fromToken
|
|
27
|
+
: subvariant === 'refuel'
|
|
28
|
+
? navigationRoutes.toTokenNative
|
|
29
|
+
: navigationRoutes.toToken);
|
|
30
|
+
};
|
|
31
|
+
const isSelected = !!(chain && token);
|
|
32
|
+
const onClick = !disabledUI?.includes(tokenKey) ? handleClick : undefined;
|
|
33
|
+
const defaultPlaceholder = formType === 'to' && subvariant === 'refuel'
|
|
34
|
+
? t('main.selectChain')
|
|
35
|
+
: formType === 'to' && swapOnly
|
|
36
|
+
? t('main.selectToken')
|
|
37
|
+
: t('main.selectChainAndToken');
|
|
38
|
+
const cardTitle = formType === 'from' && subvariant === 'custom'
|
|
39
|
+
? t('header.payWith')
|
|
40
|
+
: t(`main.${formType}`);
|
|
41
|
+
return (<SelectTokenCard component="button" onClick={onClick}>
|
|
42
|
+
<CardContent formType={formType} compact={compact}>
|
|
43
|
+
<CardTitle>{cardTitle}</CardTitle>
|
|
44
|
+
{chainId && tokenAddress && (isChainLoading || isTokenLoading) ? (<SelectTokenCardHeader avatar={<AvatarBadgedSkeleton />} title={<Skeleton variant="text" width={64} height={24}/>} subheader={<Skeleton variant="text" width={72} height={16}/>} compact={compact}/>) : (<SelectTokenCardHeader avatar={isSelected ? (<TokenAvatar token={token} chain={chain}/>) : (<AvatarBadgedDefault />)} title={isSelected ? token.symbol : defaultPlaceholder} titleTypographyProps={{
|
|
45
|
+
title: isSelected ? token.symbol : defaultPlaceholder,
|
|
46
|
+
}} subheader={isSelected ? chain.name : null} subheaderTypographyProps={isSelected
|
|
47
|
+
? {
|
|
48
|
+
title: chain.name,
|
|
49
|
+
}
|
|
50
|
+
: undefined} selected={isSelected} compact={compact}/>)}
|
|
51
|
+
</CardContent>
|
|
52
|
+
</SelectTokenCard>);
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=SelectTokenButton.js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AkB;aACtD,CAAC,CACF,SAAS,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAC1C,wBAAwB,CAAC,CACvB,UAAU;gBACR,CAAC,CAAC;oBACE,KAAK,EAAE,KAAK,CAAC,IAAI;iBAClB;gBACH,CAAC,CAAC,SACN,CAAC,CACD,QAAQ,CAAC,CAAC,UAAU,CAAC,CACrB,OAAO,CAAC,CAAC,OAAO,CAAC,EACjB,CACH,CACH;MAAA,EAAE,WAAW,CACf;IAAA,EAAE,eAAe,CAAC,CACnB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { FormType } from '../../stores/form/types.js';
|
|
2
|
+
export declare const SelectTokenCardHeader: import("@emotion/styled").StyledComponent<import("@mui/material").CardHeaderOwnProps<"span", "span"> & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, "sx" | "style" | "title" | "className" | "action" | "classes" | "subheader" | "disableTypography" | "avatar" | "subheaderTypographyProps" | "titleTypographyProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
compact?: boolean;
|
|
7
|
+
}, {}, {}>;
|
|
8
|
+
export declare const SelectTokenCard: import("@emotion/styled").StyledComponent<import("@mui/material").CardOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}, "children" | "sx" | "style" | "className" | "elevation" | "classes" | "variant" | "square" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("../Card/Card.js").CardProps, {}, {}>;
|
|
11
|
+
export declare const CardContent: import("@emotion/styled").StyledComponent<import("@mui/material").CardContentOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
+
}, "children" | "sx" | "style" | "className" | "classes"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
14
|
+
formType: FormType;
|
|
15
|
+
compact: boolean;
|
|
16
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { CardContent as MuiCardContent, cardHeaderClasses, darken, lighten, styled, } from '@mui/material';
|
|
2
|
+
import { Card } from '../Card/Card.js';
|
|
3
|
+
import { CardHeader } from '../Card/CardHeader.js';
|
|
4
|
+
export const SelectTokenCardHeader = styled(CardHeader, {
|
|
5
|
+
shouldForwardProp: (prop) => !['selected', 'compact'].includes(prop),
|
|
6
|
+
})(({ theme, selected, compact }) => ({
|
|
7
|
+
padding: theme.spacing(2),
|
|
8
|
+
[`.${cardHeaderClasses.title}`]: {
|
|
9
|
+
color: selected
|
|
10
|
+
? theme.palette.text.primary
|
|
11
|
+
: theme.palette.text.secondary,
|
|
12
|
+
textOverflow: 'ellipsis',
|
|
13
|
+
whiteSpace: 'nowrap',
|
|
14
|
+
overflow: 'hidden',
|
|
15
|
+
width: compact ? 96 : 256,
|
|
16
|
+
fontSize: compact && !selected ? 16 : 18,
|
|
17
|
+
fontWeight: selected ? 600 : 500,
|
|
18
|
+
[theme.breakpoints.down(theme.breakpoints.values.sm)]: {
|
|
19
|
+
width: compact ? 96 : 224,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
[`.${cardHeaderClasses.subheader}`]: {
|
|
23
|
+
textOverflow: 'ellipsis',
|
|
24
|
+
whiteSpace: 'nowrap',
|
|
25
|
+
overflow: 'hidden',
|
|
26
|
+
width: compact ? 96 : 256,
|
|
27
|
+
[theme.breakpoints.down(theme.breakpoints.values.sm)]: {
|
|
28
|
+
width: compact ? 96 : 224,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
}));
|
|
32
|
+
export const SelectTokenCard = styled(Card)(({ theme }) => {
|
|
33
|
+
const cardVariant = theme.components?.MuiCard?.defaultProps?.variant;
|
|
34
|
+
return {
|
|
35
|
+
flex: 1,
|
|
36
|
+
...(cardVariant !== 'outlined' && {
|
|
37
|
+
background: 'none',
|
|
38
|
+
'&:hover': {
|
|
39
|
+
cursor: 'pointer',
|
|
40
|
+
background: 'none',
|
|
41
|
+
},
|
|
42
|
+
}),
|
|
43
|
+
};
|
|
44
|
+
});
|
|
45
|
+
export const CardContent = styled(MuiCardContent, {
|
|
46
|
+
shouldForwardProp: (prop) => prop !== 'formType' && prop !== 'compact',
|
|
47
|
+
})(({ theme, formType, compact }) => {
|
|
48
|
+
const cardVariant = theme.components?.MuiCard?.defaultProps?.variant;
|
|
49
|
+
const direction = formType === 'to' ? '-8px' : 'calc(100% + 8px)';
|
|
50
|
+
const horizontal = compact ? direction : '50%';
|
|
51
|
+
const vertical = compact ? '50%' : direction;
|
|
52
|
+
return {
|
|
53
|
+
padding: 0,
|
|
54
|
+
transition: theme.transitions.create(['background-color'], {
|
|
55
|
+
duration: theme.transitions.duration.enteringScreen,
|
|
56
|
+
easing: theme.transitions.easing.easeOut,
|
|
57
|
+
}),
|
|
58
|
+
'&:last-child': {
|
|
59
|
+
paddingBottom: 0,
|
|
60
|
+
},
|
|
61
|
+
...(cardVariant !== 'outlined' && {
|
|
62
|
+
backgroundColor: theme.palette.background.paper,
|
|
63
|
+
mask: `radial-gradient(circle 20px at ${horizontal} ${vertical}, #fff0 96%, #fff) 100% 100% / 100% 100% no-repeat`,
|
|
64
|
+
}),
|
|
65
|
+
...(cardVariant === 'filled' && {
|
|
66
|
+
'&:hover': {
|
|
67
|
+
cursor: 'pointer',
|
|
68
|
+
backgroundColor: theme.palette.mode === 'light'
|
|
69
|
+
? darken(theme.palette.background.paper, 0.02)
|
|
70
|
+
: lighten(theme.palette.background.paper, 0.02),
|
|
71
|
+
},
|
|
72
|
+
}),
|
|
73
|
+
};
|
|
74
|
+
});
|
|
75
|
+
//# sourceMappingURL=SelectTokenButton.style.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectTokenButton.style.jsx","sourceRoot":"","sources":["../../../../src/components/SelectTokenButton/SelectTokenButton.style.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,IAAI,cAAc,EAC7B,iBAAiB,EACjB,MAAM,EACN,OAAO,EACP,MAAM,GACP,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,UAAU,EAAE;IACtD,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;C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,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO;SACzC,CAAC;QACF,cAAc,EAAE;YACd,aAAa,EAAE,CAAC;SACjB;QACD,GAAG,CAAC,WAAW,KAAK,UAAU,IAAI;YAChC,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK;YAC/C,IAAI,EAAE,kCAAkC,UAAU,IAAI,QAAQ,oDAAoD;SACnH,CAAC;QACF,GAAG,CAAC,WAAW,KAAK,QAAQ,IAAI;YAC9B,SAAS,EAAE;gBACT,MAAM,EAAE,SAAS;gBACjB,eAAe,EACb,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,OAAO;oBAC5B,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC;oBAC9C,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC;aACpD;SACF,CAAC;KACH,CAAA;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const SendToWalletCardHeader: import("@emotion/styled").StyledComponent<import("@mui/material").CardHeaderOwnProps<"span", "span"> & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
}, "sx" | "style" | "title" | "className" | "action" | "classes" | "subheader" | "disableTypography" | "avatar" | "subheaderTypographyProps" | "titleTypographyProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { cardHeaderClasses, styled } from '@mui/material';
|
|
2
|
+
import { CardHeader } from '../Card/CardHeader.js';
|
|
3
|
+
export const SendToWalletCardHeader = styled(CardHeader, {
|
|
4
|
+
shouldForwardProp: (prop) => !['selected'].includes(prop),
|
|
5
|
+
})(({ theme, selected }) => ({
|
|
6
|
+
width: '100%',
|
|
7
|
+
[`.${cardHeaderClasses.title}`]: {
|
|
8
|
+
color: selected ? theme.palette.text.primary : theme.palette.text.secondary,
|
|
9
|
+
textOverflow: 'ellipsis',
|
|
10
|
+
whiteSpace: 'nowrap',
|
|
11
|
+
overflow: 'hidden',
|
|
12
|
+
fontWeight: selected ? 600 : 500,
|
|
13
|
+
width: selected ? 224 : 254,
|
|
14
|
+
[theme.breakpoints.down(theme.breakpoints.values.sm)]: {
|
|
15
|
+
width: selected ? 192 : 224,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
[`.${cardHeaderClasses.subheader}`]: {
|
|
19
|
+
textOverflow: 'ellipsis',
|
|
20
|
+
whiteSpace: 'nowrap',
|
|
21
|
+
overflow: 'hidden',
|
|
22
|
+
width: selected ? 224 : 254,
|
|
23
|
+
[theme.breakpoints.down(theme.breakpoints.values.sm)]: {
|
|
24
|
+
width: selected ? 192 : 224,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
[`.${cardHeaderClasses.action}`]: {
|
|
28
|
+
marginRight: 0,
|
|
29
|
+
},
|
|
30
|
+
[`.${cardHeaderClasses.action} > button`]: {
|
|
31
|
+
fontSize: 16,
|
|
32
|
+
},
|
|
33
|
+
}));
|
|
34
|
+
//# sourceMappingURL=SendToWallet.style.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendToWallet.style.jsx","sourceRoot":"","sources":["../../../../src/components/SendToWallet/SendToWallet.style.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAi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