@lifi/widget 3.0.0-alpha.24 → 3.0.0-alpha.26
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/App.tsx +5 -5
- package/AppDefault.tsx +9 -9
- package/AppDrawer.style.tsx +1 -2
- package/AppDrawer.tsx +7 -8
- package/AppProvider.tsx +8 -7
- package/AppRoutes.tsx +19 -21
- package/_esm/App.d.ts +4 -4
- package/_esm/App.js +3 -3
- package/_esm/App.js.map +1 -1
- package/_esm/AppDefault.js +9 -9
- package/_esm/AppDefault.js.map +1 -1
- package/_esm/AppDrawer.d.ts +2 -2
- package/_esm/AppDrawer.js +5 -6
- package/_esm/AppDrawer.js.map +1 -1
- package/_esm/AppDrawer.style.d.ts +4 -4
- package/_esm/AppDrawer.style.js +1 -2
- package/_esm/AppDrawer.style.js.map +1 -1
- package/_esm/AppDrawerContext.d.ts +1 -1
- package/_esm/AppProvider.d.ts +1 -1
- package/_esm/AppProvider.js +7 -3
- package/_esm/AppProvider.js.map +1 -1
- package/_esm/AppRoutes.d.ts +1 -1
- package/_esm/AppRoutes.js +19 -15
- package/_esm/AppRoutes.js.map +1 -1
- package/_esm/components/AccountAvatar.d.ts +1 -1
- package/_esm/components/AccountAvatar.js +5 -5
- package/_esm/components/AccountAvatar.js.map +1 -1
- package/_esm/components/ActiveTransactions/ActiveTransactionItem.d.ts +1 -1
- package/_esm/components/ActiveTransactions/ActiveTransactionItem.js +12 -12
- package/_esm/components/ActiveTransactions/ActiveTransactionItem.js.map +1 -1
- package/_esm/components/ActiveTransactions/ActiveTransactions.d.ts +1 -1
- package/_esm/components/ActiveTransactions/ActiveTransactions.js +6 -5
- package/_esm/components/ActiveTransactions/ActiveTransactions.js.map +1 -1
- package/_esm/components/ActiveTransactions/ActiveTransactions.style.d.ts +6 -6
- package/_esm/components/ActiveTransactions/ActiveTransactions.style.js +2 -4
- package/_esm/components/ActiveTransactions/ActiveTransactions.style.js.map +1 -1
- package/_esm/components/ActiveTransactions/index.d.ts +2 -2
- package/_esm/components/ActiveTransactions/index.js +2 -2
- package/_esm/components/ActiveTransactions/index.js.map +1 -1
- package/_esm/components/AlertMessage/AlertMessage.d.ts +1 -1
- package/_esm/components/AlertMessage/AlertMessage.js +1 -1
- package/_esm/components/AlertMessage/AlertMessage.js.map +1 -1
- package/_esm/components/AlertMessage/AlertMessage.style.d.ts +2 -2
- package/_esm/components/AlertMessage/AlertMessage.style.js +2 -3
- package/_esm/components/AlertMessage/AlertMessage.style.js.map +1 -1
- package/_esm/components/AlertMessage/index.d.ts +3 -3
- package/_esm/components/AlertMessage/index.js +3 -3
- package/_esm/components/AlertMessage/index.js.map +1 -1
- package/_esm/components/AmountInput/AmountInput.d.ts +1 -1
- package/_esm/components/AmountInput/AmountInput.js +14 -10
- package/_esm/components/AmountInput/AmountInput.js.map +1 -1
- package/_esm/components/AmountInput/AmountInput.style.d.ts +2 -2
- package/_esm/components/AmountInput/AmountInput.style.js +1 -3
- package/_esm/components/AmountInput/AmountInput.style.js.map +1 -1
- package/_esm/components/AmountInput/AmountInputAdornment.style.d.ts +3 -3
- package/_esm/components/AmountInput/AmountInputAdornment.style.js +1 -2
- package/_esm/components/AmountInput/AmountInputAdornment.style.js.map +1 -1
- package/_esm/components/AmountInput/AmountInputEndAdornment.d.ts +1 -1
- package/_esm/components/AmountInput/AmountInputEndAdornment.js +7 -3
- package/_esm/components/AmountInput/AmountInputEndAdornment.js.map +1 -1
- package/_esm/components/AmountInput/AmountInputStartAdornment.d.ts +2 -2
- package/_esm/components/AmountInput/AmountInputStartAdornment.js +5 -3
- package/_esm/components/AmountInput/AmountInputStartAdornment.js.map +1 -1
- package/_esm/components/AmountInput/PriceFormHelperText.d.ts +2 -2
- package/_esm/components/AmountInput/PriceFormHelperText.js +4 -3
- package/_esm/components/AmountInput/PriceFormHelperText.js.map +1 -1
- package/_esm/components/AmountInput/index.d.ts +1 -1
- package/_esm/components/AmountInput/index.js +1 -1
- package/_esm/components/AmountInput/index.js.map +1 -1
- package/_esm/components/AppContainer.d.ts +2 -2
- package/_esm/components/AppContainer.js +3 -4
- package/_esm/components/AppContainer.js.map +1 -1
- package/_esm/components/BaseTransactionButton/BaseTransactionButton.d.ts +2 -2
- package/_esm/components/BaseTransactionButton/BaseTransactionButton.js +6 -5
- package/_esm/components/BaseTransactionButton/BaseTransactionButton.js.map +1 -1
- package/_esm/components/BaseTransactionButton/index.d.ts +2 -2
- package/_esm/components/BaseTransactionButton/index.js +2 -2
- package/_esm/components/BaseTransactionButton/index.js.map +1 -1
- package/_esm/components/BottomSheet/BottomSheet.d.ts +2 -2
- package/_esm/components/BottomSheet/BottomSheet.js +2 -2
- package/_esm/components/BottomSheet/BottomSheet.js.map +1 -1
- package/_esm/components/BottomSheet/index.d.ts +2 -2
- package/_esm/components/BottomSheet/index.js +2 -2
- package/_esm/components/BottomSheet/index.js.map +1 -1
- package/_esm/components/Card/Card.d.ts +2 -2
- package/_esm/components/Card/Card.js +1 -3
- package/_esm/components/Card/Card.js.map +1 -1
- package/_esm/components/Card/CardButton.d.ts +1 -1
- package/_esm/components/Card/CardButton.js +2 -2
- package/_esm/components/Card/CardButton.js.map +1 -1
- package/_esm/components/Card/CardButton.style.d.ts +3 -3
- package/_esm/components/Card/CardButton.style.js +1 -2
- package/_esm/components/Card/CardButton.style.js.map +1 -1
- package/_esm/components/Card/CardHeader.d.ts +3 -3
- package/_esm/components/Card/CardHeader.js +1 -3
- package/_esm/components/Card/CardHeader.js.map +1 -1
- package/_esm/components/Card/CardIconButton.d.ts +2 -2
- package/_esm/components/Card/CardIconButton.js +1 -2
- package/_esm/components/Card/CardIconButton.js.map +1 -1
- package/_esm/components/Card/CardLabel.d.ts +2 -2
- package/_esm/components/Card/CardLabel.js +1 -2
- package/_esm/components/Card/CardLabel.js.map +1 -1
- package/_esm/components/Card/CardTitle.d.ts +2 -2
- package/_esm/components/Card/CardTitle.js +1 -2
- package/_esm/components/Card/CardTitle.js.map +1 -1
- package/_esm/components/Card/index.d.ts +7 -7
- package/_esm/components/Card/index.js +7 -7
- package/_esm/components/Card/index.js.map +1 -1
- package/_esm/components/ChainSelect/ChainSelect.d.ts +1 -1
- package/_esm/components/ChainSelect/ChainSelect.js +6 -4
- package/_esm/components/ChainSelect/ChainSelect.js.map +1 -1
- package/_esm/components/ChainSelect/ChainSelect.style.d.ts +3 -3
- package/_esm/components/ChainSelect/ChainSelect.style.js +2 -3
- package/_esm/components/ChainSelect/ChainSelect.style.js.map +1 -1
- package/_esm/components/ChainSelect/index.d.ts +2 -2
- package/_esm/components/ChainSelect/index.js +2 -2
- package/_esm/components/ChainSelect/index.js.map +1 -1
- package/_esm/components/ChainSelect/useChainSelect.d.ts +1 -1
- package/_esm/components/ChainSelect/useChainSelect.js +7 -2
- package/_esm/components/ChainSelect/useChainSelect.js.map +1 -1
- package/_esm/components/ContractComponent/ContractComponent.js +1 -1
- package/_esm/components/ContractComponent/ContractComponent.js.map +1 -1
- package/_esm/components/ContractComponent/index.d.ts +1 -1
- package/_esm/components/ContractComponent/index.js +1 -1
- package/_esm/components/ContractComponent/index.js.map +1 -1
- package/_esm/components/Dialog.js +1 -1
- package/_esm/components/Dialog.js.map +1 -1
- package/_esm/components/GasMessage/FundsSufficiencyMessage.js +4 -5
- package/_esm/components/GasMessage/FundsSufficiencyMessage.js.map +1 -1
- package/_esm/components/GasMessage/GasMessage.d.ts +1 -1
- package/_esm/components/GasMessage/GasMessage.js +4 -3
- package/_esm/components/GasMessage/GasMessage.js.map +1 -1
- package/_esm/components/GasMessage/GasMessage.style.d.ts +1 -1
- package/_esm/components/GasMessage/GasMessage.style.js +2 -3
- package/_esm/components/GasMessage/GasMessage.style.js.map +1 -1
- package/_esm/components/GasMessage/GasRefuelMessage.d.ts +1 -1
- package/_esm/components/GasMessage/GasRefuelMessage.js +7 -6
- package/_esm/components/GasMessage/GasRefuelMessage.js.map +1 -1
- package/_esm/components/GasMessage/GasSufficiencyMessage.d.ts +2 -2
- package/_esm/components/GasMessage/GasSufficiencyMessage.js +3 -3
- package/_esm/components/GasMessage/GasSufficiencyMessage.js.map +1 -1
- package/_esm/components/GasMessage/index.d.ts +2 -2
- package/_esm/components/GasMessage/index.js +2 -2
- package/_esm/components/GasMessage/index.js.map +1 -1
- package/_esm/components/Header/CloseDrawerButton.js +4 -5
- package/_esm/components/Header/CloseDrawerButton.js.map +1 -1
- package/_esm/components/Header/EVMDisconnectIconButton.js +2 -2
- package/_esm/components/Header/EVMDisconnectIconButton.js.map +1 -1
- package/_esm/components/Header/Header.js +6 -5
- package/_esm/components/Header/Header.js.map +1 -1
- package/_esm/components/Header/Header.style.d.ts +4 -4
- package/_esm/components/Header/Header.style.js +2 -4
- package/_esm/components/Header/Header.style.js.map +1 -1
- package/_esm/components/Header/NavigationHeader.d.ts +1 -1
- package/_esm/components/Header/NavigationHeader.js +15 -15
- package/_esm/components/Header/NavigationHeader.js.map +1 -1
- package/_esm/components/Header/NavigationTabs.js +4 -3
- package/_esm/components/Header/NavigationTabs.js.map +1 -1
- package/_esm/components/Header/SVMDisconnectIconButton.js +2 -2
- package/_esm/components/Header/SVMDisconnectIconButton.js.map +1 -1
- package/_esm/components/Header/SettingsButton.js +6 -5
- package/_esm/components/Header/SettingsButton.js.map +1 -1
- package/_esm/components/Header/SettingsButton.style.d.ts +3 -3
- package/_esm/components/Header/SettingsButton.style.js +2 -5
- package/_esm/components/Header/SettingsButton.style.js.map +1 -1
- package/_esm/components/Header/TransactionHistoryButton.js +5 -6
- package/_esm/components/Header/TransactionHistoryButton.js.map +1 -1
- package/_esm/components/Header/WalletHeader.d.ts +1 -1
- package/_esm/components/Header/WalletHeader.js +15 -14
- package/_esm/components/Header/WalletHeader.js.map +1 -1
- package/_esm/components/Header/WalletMenu.js +10 -10
- package/_esm/components/Header/WalletMenu.js.map +1 -1
- package/_esm/components/Header/WalletMenu.style.js +1 -5
- package/_esm/components/Header/WalletMenu.style.js.map +1 -1
- package/_esm/components/Header/index.d.ts +1 -1
- package/_esm/components/Header/index.js +1 -1
- package/_esm/components/Header/index.js.map +1 -1
- package/_esm/components/Initializer.d.ts +1 -1
- package/_esm/components/Initializer.js +1 -1
- package/_esm/components/Initializer.js.map +1 -1
- package/_esm/components/Input.js +1 -3
- package/_esm/components/Input.js.map +1 -1
- package/_esm/components/Insurance/Insurance.d.ts +2 -2
- package/_esm/components/Insurance/Insurance.js +3 -3
- package/_esm/components/Insurance/Insurance.js.map +1 -1
- package/_esm/components/Insurance/InsuranceCard.d.ts +2 -2
- package/_esm/components/Insurance/InsuranceCard.js +7 -6
- package/_esm/components/Insurance/InsuranceCard.js.map +1 -1
- package/_esm/components/Insurance/InsuranceCollapsed.d.ts +2 -2
- package/_esm/components/Insurance/InsuranceCollapsed.js +6 -4
- package/_esm/components/Insurance/InsuranceCollapsed.js.map +1 -1
- package/_esm/components/Insurance/index.d.ts +2 -2
- package/_esm/components/Insurance/index.js +2 -2
- package/_esm/components/Insurance/index.js.map +1 -1
- package/_esm/components/Insurance/types.d.ts +1 -1
- package/_esm/components/ListItem/ListItem.d.ts +3 -3
- package/_esm/components/ListItem/ListItem.js +1 -4
- package/_esm/components/ListItem/ListItem.js.map +1 -1
- package/_esm/components/ListItem/ListItemButton.d.ts +3 -3
- package/_esm/components/ListItem/ListItemButton.js +2 -2
- package/_esm/components/ListItem/ListItemButton.js.map +1 -1
- package/_esm/components/ListItem/index.d.ts +2 -2
- package/_esm/components/ListItem/index.js +2 -2
- package/_esm/components/ListItem/index.js.map +1 -1
- package/_esm/components/ListItemButton.d.ts +3 -3
- package/_esm/components/ListItemButton.js +2 -3
- package/_esm/components/ListItemButton.js.map +1 -1
- package/_esm/components/ListItemText.d.ts +1 -1
- package/_esm/components/ListItemText.js +1 -3
- package/_esm/components/ListItemText.js.map +1 -1
- package/_esm/components/Menu.js +1 -2
- package/_esm/components/Menu.js.map +1 -1
- package/_esm/components/NFT/NFT.d.ts +2 -2
- package/_esm/components/NFT/NFT.js +2 -2
- package/_esm/components/NFT/NFT.js.map +1 -1
- package/_esm/components/NFT/NFT.style.d.ts +2 -2
- package/_esm/components/NFT/NFT.style.js +1 -2
- package/_esm/components/NFT/NFT.style.js.map +1 -1
- package/_esm/components/NFT/NFTBase.d.ts +2 -2
- package/_esm/components/NFT/NFTBase.js +2 -2
- package/_esm/components/NFT/NFTBase.js.map +1 -1
- package/_esm/components/NFT/index.d.ts +3 -3
- package/_esm/components/NFT/index.js +3 -3
- package/_esm/components/NFT/index.js.map +1 -1
- package/_esm/components/NFT/types.d.ts +1 -1
- package/_esm/components/NotFound.d.ts +1 -1
- package/_esm/components/NotFound.js +2 -2
- package/_esm/components/NotFound.js.map +1 -1
- package/_esm/components/PageContainer.d.ts +2 -2
- package/_esm/components/PageContainer.js +1 -2
- package/_esm/components/PageContainer.js.map +1 -1
- package/_esm/components/PoweredBy/PoweredBy.d.ts +1 -1
- package/_esm/components/PoweredBy/PoweredBy.js +5 -5
- package/_esm/components/PoweredBy/PoweredBy.js.map +1 -1
- package/_esm/components/PoweredBy/PoweredBy.style.d.ts +2 -2
- package/_esm/components/PoweredBy/PoweredBy.style.js +1 -2
- package/_esm/components/PoweredBy/PoweredBy.style.js.map +1 -1
- package/_esm/components/PoweredBy/index.d.ts +1 -1
- package/_esm/components/PoweredBy/index.js +1 -1
- package/_esm/components/PoweredBy/index.js.map +1 -1
- package/_esm/components/ProgressToNextUpdate/ProgressToNextUpdate.d.ts +1 -1
- package/_esm/components/ProgressToNextUpdate/index.d.ts +1 -1
- package/_esm/components/ProgressToNextUpdate/index.js +1 -1
- package/_esm/components/ProgressToNextUpdate/index.js.map +1 -1
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.d.ts +1 -1
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.js +6 -6
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.js.map +1 -1
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +2 -2
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.js +1 -2
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.js.map +1 -1
- package/_esm/components/ReverseTokensButton/index.d.ts +1 -1
- package/_esm/components/ReverseTokensButton/index.js +1 -1
- package/_esm/components/ReverseTokensButton/index.js.map +1 -1
- package/_esm/components/RouteCard/RouteCard.d.ts +3 -3
- package/_esm/components/RouteCard/RouteCard.js +12 -12
- package/_esm/components/RouteCard/RouteCard.js.map +1 -1
- package/_esm/components/RouteCard/RouteCard.style.d.ts +2 -2
- package/_esm/components/RouteCard/RouteCard.style.js +1 -2
- package/_esm/components/RouteCard/RouteCard.style.js.map +1 -1
- package/_esm/components/RouteCard/RouteCardEssentials.d.ts +2 -2
- package/_esm/components/RouteCard/RouteCardEssentials.js +5 -6
- package/_esm/components/RouteCard/RouteCardEssentials.js.map +1 -1
- package/_esm/components/RouteCard/RouteCardEssentialsExpanded.d.ts +2 -2
- package/_esm/components/RouteCard/RouteCardEssentialsExpanded.js +5 -7
- package/_esm/components/RouteCard/RouteCardEssentialsExpanded.js.map +1 -1
- package/_esm/components/RouteCard/RouteCardSkeleton.d.ts +2 -2
- package/_esm/components/RouteCard/RouteCardSkeleton.js +3 -3
- package/_esm/components/RouteCard/RouteCardSkeleton.js.map +1 -1
- package/_esm/components/RouteCard/RouteNotFoundCard.d.ts +1 -1
- package/_esm/components/RouteCard/RouteNotFoundCard.js +2 -2
- package/_esm/components/RouteCard/RouteNotFoundCard.js.map +1 -1
- package/_esm/components/RouteCard/index.d.ts +3 -3
- package/_esm/components/RouteCard/index.js +3 -3
- package/_esm/components/RouteCard/index.js.map +1 -1
- package/_esm/components/Routes/Routes.d.ts +1 -1
- package/_esm/components/Routes/Routes.js +9 -6
- package/_esm/components/Routes/Routes.js.map +1 -1
- package/_esm/components/Routes/RoutesExpanded.js +10 -8
- package/_esm/components/Routes/RoutesExpanded.js.map +1 -1
- package/_esm/components/Routes/RoutesExpanded.style.d.ts +2 -2
- package/_esm/components/Routes/RoutesExpanded.style.js +2 -3
- package/_esm/components/Routes/RoutesExpanded.style.js.map +1 -1
- package/_esm/components/Routes/index.d.ts +2 -2
- package/_esm/components/Routes/index.js +2 -2
- package/_esm/components/Routes/index.js.map +1 -1
- package/_esm/components/Select.js +1 -6
- package/_esm/components/Select.js.map +1 -1
- package/_esm/components/SelectChainAndToken.d.ts +1 -1
- package/_esm/components/SelectChainAndToken.js +6 -7
- package/_esm/components/SelectChainAndToken.js.map +1 -1
- package/_esm/components/SelectTokenButton/SelectTokenButton.d.ts +2 -2
- package/_esm/components/SelectTokenButton/SelectTokenButton.js +11 -7
- package/_esm/components/SelectTokenButton/SelectTokenButton.js.map +1 -1
- package/_esm/components/SelectTokenButton/SelectTokenButton.style.d.ts +3 -3
- package/_esm/components/SelectTokenButton/SelectTokenButton.style.js +2 -3
- package/_esm/components/SelectTokenButton/SelectTokenButton.style.js.map +1 -1
- package/_esm/components/SelectTokenButton/index.d.ts +1 -1
- package/_esm/components/SelectTokenButton/index.js +1 -1
- package/_esm/components/SelectTokenButton/index.js.map +1 -1
- package/_esm/components/SendToWallet/SendToWallet.style.d.ts +3 -3
- package/_esm/components/SendToWallet/SendToWallet.style.js +2 -3
- package/_esm/components/SendToWallet/SendToWallet.style.js.map +1 -1
- package/_esm/components/SendToWallet/SendToWalletButton.js +16 -8
- package/_esm/components/SendToWallet/SendToWalletButton.js.map +1 -1
- package/_esm/components/SendToWallet/SendToWalletExpandButton.d.ts +1 -1
- package/_esm/components/SendToWallet/SendToWalletExpandButton.js +12 -8
- package/_esm/components/SendToWallet/SendToWalletExpandButton.js.map +1 -1
- package/_esm/components/SendToWallet/index.d.ts +3 -3
- package/_esm/components/SendToWallet/index.js +3 -3
- package/_esm/components/SendToWallet/index.js.map +1 -1
- package/_esm/components/SettingsListItemButton.d.ts +3 -3
- package/_esm/components/SettingsListItemButton.js +2 -2
- package/_esm/components/SettingsListItemButton.js.map +1 -1
- package/_esm/components/SmallAvatar.d.ts +3 -3
- package/_esm/components/SmallAvatar.js +1 -2
- package/_esm/components/SmallAvatar.js.map +1 -1
- package/_esm/components/Step/CircularProgress.js +7 -10
- package/_esm/components/Step/CircularProgress.js.map +1 -1
- package/_esm/components/Step/CircularProgress.style.d.ts +1 -1
- package/_esm/components/Step/CircularProgress.style.js +1 -3
- package/_esm/components/Step/CircularProgress.style.js.map +1 -1
- package/_esm/components/Step/DestinationWalletAddress.d.ts +1 -1
- package/_esm/components/Step/DestinationWalletAddress.js +5 -6
- package/_esm/components/Step/DestinationWalletAddress.js.map +1 -1
- package/_esm/components/Step/Step.d.ts +1 -1
- package/_esm/components/Step/Step.js +10 -9
- package/_esm/components/Step/Step.js.map +1 -1
- package/_esm/components/Step/StepList.d.ts +1 -1
- package/_esm/components/Step/StepList.js +2 -2
- package/_esm/components/Step/StepList.js.map +1 -1
- package/_esm/components/Step/StepProcess.d.ts +1 -1
- package/_esm/components/Step/StepProcess.js +5 -5
- package/_esm/components/Step/StepProcess.js.map +1 -1
- package/_esm/components/Step/StepProcess.style.d.ts +2 -2
- package/_esm/components/Step/StepProcess.style.js +1 -2
- package/_esm/components/Step/StepProcess.style.js.map +1 -1
- package/_esm/components/Step/StepTimer.d.ts +1 -1
- package/_esm/components/Step/StepTimer.js +2 -1
- package/_esm/components/Step/StepTimer.js.map +1 -1
- package/_esm/components/Step/index.d.ts +2 -2
- package/_esm/components/Step/index.js +2 -2
- package/_esm/components/Step/index.js.map +1 -1
- package/_esm/components/StepActions/StepActions.d.ts +3 -3
- package/_esm/components/StepActions/StepActions.js +12 -14
- package/_esm/components/StepActions/StepActions.js.map +1 -1
- package/_esm/components/StepActions/StepActions.style.d.ts +3 -3
- package/_esm/components/StepActions/StepActions.style.js +1 -4
- package/_esm/components/StepActions/StepActions.style.js.map +1 -1
- package/_esm/components/StepActions/StepFeeBreakdown.d.ts +1 -1
- package/_esm/components/StepActions/StepFeeBreakdown.js +3 -3
- package/_esm/components/StepActions/StepFeeBreakdown.js.map +1 -1
- package/_esm/components/StepActions/StepFees.d.ts +1 -1
- package/_esm/components/StepActions/StepFees.js +1 -1
- package/_esm/components/StepActions/StepFees.js.map +1 -1
- package/_esm/components/StepActions/index.d.ts +1 -1
- package/_esm/components/StepActions/index.js +1 -1
- package/_esm/components/StepActions/index.js.map +1 -1
- package/_esm/components/StepActions/types.d.ts +1 -1
- package/_esm/components/StepDivider/StepDivider.d.ts +1 -1
- package/_esm/components/StepDivider/StepDivider.js +1 -1
- package/_esm/components/StepDivider/StepDivider.js.map +1 -1
- package/_esm/components/StepDivider/StepDivider.style.d.ts +2 -2
- package/_esm/components/StepDivider/StepDivider.style.js +1 -2
- package/_esm/components/StepDivider/StepDivider.style.js.map +1 -1
- package/_esm/components/StepDivider/index.d.ts +1 -1
- package/_esm/components/StepDivider/index.js +1 -1
- package/_esm/components/StepDivider/index.js.map +1 -1
- package/_esm/components/Switch.js +1 -3
- package/_esm/components/Switch.js.map +1 -1
- package/_esm/components/Tabs/Tabs.style.d.ts +3 -3
- package/_esm/components/Tabs/Tabs.style.js +2 -3
- package/_esm/components/Tabs/Tabs.style.js.map +1 -1
- package/_esm/components/Tabs/index.d.ts +1 -1
- package/_esm/components/Tabs/index.js +1 -1
- package/_esm/components/Tabs/index.js.map +1 -1
- package/_esm/components/TextFitter/TextFitter.d.ts +1 -1
- package/_esm/components/TextFitter/TextFitter.js +1 -1
- package/_esm/components/TextFitter/TextFitter.js.map +1 -1
- package/_esm/components/TextFitter/index.d.ts +1 -1
- package/_esm/components/TextFitter/index.js +1 -1
- package/_esm/components/TextFitter/index.js.map +1 -1
- package/_esm/components/Token/Token.js +7 -6
- package/_esm/components/Token/Token.js.map +1 -1
- package/_esm/components/Token/Token.style.d.ts +2 -2
- package/_esm/components/Token/Token.style.js +1 -2
- package/_esm/components/Token/Token.style.js.map +1 -1
- package/_esm/components/Token/index.d.ts +2 -2
- package/_esm/components/Token/index.js +2 -2
- package/_esm/components/Token/index.js.map +1 -1
- package/_esm/components/TokenAvatar/TokenAvatar.d.ts +1 -1
- package/_esm/components/TokenAvatar/TokenAvatar.js +4 -3
- package/_esm/components/TokenAvatar/TokenAvatar.js.map +1 -1
- package/_esm/components/TokenAvatar/TokenAvatar.style.d.ts +1 -1
- package/_esm/components/TokenAvatar/TokenAvatar.style.js +1 -4
- package/_esm/components/TokenAvatar/TokenAvatar.style.js.map +1 -1
- package/_esm/components/TokenAvatar/index.d.ts +2 -2
- package/_esm/components/TokenAvatar/index.js +2 -2
- package/_esm/components/TokenAvatar/index.js.map +1 -1
- package/_esm/components/TokenList/TokenList.d.ts +1 -1
- package/_esm/components/TokenList/TokenList.js +10 -5
- package/_esm/components/TokenList/TokenList.js.map +1 -1
- package/_esm/components/TokenList/TokenList.style.d.ts +4 -4
- package/_esm/components/TokenList/TokenList.style.js +2 -3
- package/_esm/components/TokenList/TokenList.style.js.map +1 -1
- package/_esm/components/TokenList/TokenListItem.d.ts +2 -2
- package/_esm/components/TokenList/TokenListItem.js +6 -5
- package/_esm/components/TokenList/TokenListItem.js.map +1 -1
- package/_esm/components/TokenList/TokenNotFound.d.ts +2 -2
- package/_esm/components/TokenList/TokenNotFound.js +5 -4
- package/_esm/components/TokenList/TokenNotFound.js.map +1 -1
- package/_esm/components/TokenList/VirtualizedTokenList.d.ts +1 -1
- package/_esm/components/TokenList/VirtualizedTokenList.js +1 -1
- package/_esm/components/TokenList/VirtualizedTokenList.js.map +1 -1
- package/_esm/components/TokenList/index.d.ts +2 -2
- package/_esm/components/TokenList/index.js +2 -2
- package/_esm/components/TokenList/index.js.map +1 -1
- package/_esm/components/TokenList/types.d.ts +3 -3
- package/_esm/components/TokenList/useTokenSelect.d.ts +1 -1
- package/_esm/components/TokenList/useTokenSelect.js +6 -3
- package/_esm/components/TokenList/useTokenSelect.js.map +1 -1
- package/_esm/config/theme.d.ts +2 -2
- package/_esm/config/theme.js +14 -13
- package/_esm/config/theme.js.map +1 -1
- package/_esm/config/version.d.ts +1 -1
- package/_esm/config/version.js +1 -1
- package/_esm/hooks/index.d.ts +34 -34
- package/_esm/hooks/index.js +34 -34
- package/_esm/hooks/index.js.map +1 -1
- package/_esm/hooks/useAddressValidation.d.ts +1 -1
- package/_esm/hooks/useAddressValidation.js +1 -1
- package/_esm/hooks/useAddressValidation.js.map +1 -1
- package/_esm/hooks/useAvailableChains.js +3 -2
- package/_esm/hooks/useAvailableChains.js.map +1 -1
- package/_esm/hooks/useChain.js +1 -1
- package/_esm/hooks/useChain.js.map +1 -1
- package/_esm/hooks/useChains.d.ts +1 -1
- package/_esm/hooks/useChains.js +3 -3
- package/_esm/hooks/useChains.js.map +1 -1
- package/_esm/hooks/useContentHeight.js +3 -3
- package/_esm/hooks/useContentHeight.js.map +1 -1
- package/_esm/hooks/useDebouncedWatch.d.ts +1 -1
- package/_esm/hooks/useDebouncedWatch.js +1 -1
- package/_esm/hooks/useDebouncedWatch.js.map +1 -1
- package/_esm/hooks/useDefaultElementId.js +1 -1
- package/_esm/hooks/useDefaultElementId.js.map +1 -1
- package/_esm/hooks/useExpandableVariant.js +2 -2
- package/_esm/hooks/useExpandableVariant.js.map +1 -1
- package/_esm/hooks/useFromTokenSufficiency.js +5 -4
- package/_esm/hooks/useFromTokenSufficiency.js.map +1 -1
- package/_esm/hooks/useGasRecommendation.d.ts +1 -1
- package/_esm/hooks/useGasRecommendation.js +1 -1
- package/_esm/hooks/useGasRecommendation.js.map +1 -1
- package/_esm/hooks/useGasRefuel.js +4 -4
- package/_esm/hooks/useGasRefuel.js.map +1 -1
- package/_esm/hooks/useGasSufficiency.js +3 -3
- package/_esm/hooks/useGasSufficiency.js.map +1 -1
- package/_esm/hooks/useInitializer.js +2 -2
- package/_esm/hooks/useInitializer.js.map +1 -1
- package/_esm/hooks/useLanguages.js +3 -2
- package/_esm/hooks/useLanguages.js.map +1 -1
- package/_esm/hooks/useProcessMessage.d.ts +1 -1
- package/_esm/hooks/useProcessMessage.js +3 -3
- package/_esm/hooks/useProcessMessage.js.map +1 -1
- package/_esm/hooks/useRouteExecution.d.ts +1 -1
- package/_esm/hooks/useRouteExecution.js +5 -4
- package/_esm/hooks/useRouteExecution.js.map +1 -1
- package/_esm/hooks/useRoutes.d.ts +1 -1
- package/_esm/hooks/useRoutes.js +11 -6
- package/_esm/hooks/useRoutes.js.map +1 -1
- package/_esm/hooks/useScrollableContainer.js +2 -2
- package/_esm/hooks/useScrollableContainer.js.map +1 -1
- package/_esm/hooks/useSettingMonitor.js +3 -3
- package/_esm/hooks/useSettingMonitor.js.map +1 -1
- package/_esm/hooks/useSwapOnly.js +1 -1
- package/_esm/hooks/useSwapOnly.js.map +1 -1
- package/_esm/hooks/useToAddressRequirements.js +4 -4
- package/_esm/hooks/useToAddressRequirements.js.map +1 -1
- package/_esm/hooks/useToAddressReset.js +5 -3
- package/_esm/hooks/useToAddressReset.js.map +1 -1
- package/_esm/hooks/useToken.js +2 -2
- package/_esm/hooks/useToken.js.map +1 -1
- package/_esm/hooks/useTokenAddressBalance.d.ts +2 -2
- package/_esm/hooks/useTokenAddressBalance.js +1 -1
- package/_esm/hooks/useTokenAddressBalance.js.map +1 -1
- package/_esm/hooks/useTokenBalance.d.ts +1 -1
- package/_esm/hooks/useTokenBalance.js +1 -1
- package/_esm/hooks/useTokenBalance.js.map +1 -1
- package/_esm/hooks/useTokenBalances.d.ts +2 -2
- package/_esm/hooks/useTokenBalances.js +2 -2
- package/_esm/hooks/useTokenBalances.js.map +1 -1
- package/_esm/hooks/useTokenSearch.d.ts +1 -1
- package/_esm/hooks/useTokens.d.ts +1 -1
- package/_esm/hooks/useTokens.js +2 -2
- package/_esm/hooks/useTokens.js.map +1 -1
- package/_esm/hooks/useTools.js +3 -3
- package/_esm/hooks/useTools.js.map +1 -1
- package/_esm/hooks/useTransactionDetails.js +1 -1
- package/_esm/hooks/useTransactionDetails.js.map +1 -1
- package/_esm/hooks/useTransactionHistory.js +1 -1
- package/_esm/hooks/useTransactionHistory.js.map +1 -1
- package/_esm/hooks/useWidgetEvents.d.ts +4 -3
- package/_esm/hooks/useWidgetEvents.js +3 -1
- package/_esm/hooks/useWidgetEvents.js.map +1 -1
- package/_esm/i18n/index.js +14 -14
- package/_esm/i18n/index.js.map +1 -1
- package/_esm/icons/InsuraceLogo.js +1 -1
- package/_esm/icons/InsuraceLogo.js.map +1 -1
- package/_esm/icons/index.d.ts +2 -2
- package/_esm/icons/index.js +2 -2
- package/_esm/icons/index.js.map +1 -1
- package/_esm/index.d.ts +12 -9
- package/_esm/index.js +11 -8
- package/_esm/index.js.map +1 -1
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.d.ts +1 -1
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js +2 -2
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js.map +1 -1
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js +9 -7
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js.map +1 -1
- package/_esm/pages/ActiveTransactionsPage/index.d.ts +1 -1
- package/_esm/pages/ActiveTransactionsPage/index.js +1 -1
- package/_esm/pages/ActiveTransactionsPage/index.js.map +1 -1
- package/_esm/pages/LanguagesPage/LanguagesPage.d.ts +1 -1
- package/_esm/pages/LanguagesPage/LanguagesPage.js +6 -6
- package/_esm/pages/LanguagesPage/LanguagesPage.js.map +1 -1
- package/_esm/pages/LanguagesPage/index.d.ts +1 -1
- package/_esm/pages/LanguagesPage/index.js +1 -1
- package/_esm/pages/LanguagesPage/index.js.map +1 -1
- package/_esm/pages/MainPage/MainGasMessage.d.ts +1 -1
- package/_esm/pages/MainPage/MainGasMessage.js +2 -2
- package/_esm/pages/MainPage/MainGasMessage.js.map +1 -1
- package/_esm/pages/MainPage/MainPage.d.ts +1 -1
- package/_esm/pages/MainPage/MainPage.js +13 -12
- package/_esm/pages/MainPage/MainPage.js.map +1 -1
- package/_esm/pages/MainPage/MainPage.style.d.ts +2 -2
- package/_esm/pages/MainPage/MainPage.style.js +1 -2
- package/_esm/pages/MainPage/MainPage.style.js.map +1 -1
- package/_esm/pages/MainPage/ReviewButton.d.ts +1 -1
- package/_esm/pages/MainPage/ReviewButton.js +8 -5
- package/_esm/pages/MainPage/ReviewButton.js.map +1 -1
- package/_esm/pages/MainPage/index.d.ts +1 -1
- package/_esm/pages/MainPage/index.js +1 -1
- package/_esm/pages/MainPage/index.js.map +1 -1
- package/_esm/pages/RoutesPage/RoutesPage.d.ts +1 -1
- package/_esm/pages/RoutesPage/RoutesPage.js +10 -6
- package/_esm/pages/RoutesPage/RoutesPage.js.map +1 -1
- package/_esm/pages/RoutesPage/RoutesPage.style.d.ts +3 -3
- package/_esm/pages/RoutesPage/RoutesPage.style.js +1 -2
- package/_esm/pages/RoutesPage/RoutesPage.style.js.map +1 -1
- package/_esm/pages/RoutesPage/index.d.ts +1 -1
- package/_esm/pages/RoutesPage/index.js +1 -1
- package/_esm/pages/RoutesPage/index.js.map +1 -1
- package/_esm/pages/SelectChainPage/SelectChainPage.d.ts +2 -2
- package/_esm/pages/SelectChainPage/SelectChainPage.js +6 -6
- package/_esm/pages/SelectChainPage/SelectChainPage.js.map +1 -1
- package/_esm/pages/SelectChainPage/index.d.ts +1 -1
- package/_esm/pages/SelectChainPage/index.js +1 -1
- package/_esm/pages/SelectChainPage/index.js.map +1 -1
- package/_esm/pages/SelectChainPage/types.d.ts +1 -1
- package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.d.ts +1 -1
- package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js +9 -11
- package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js.map +1 -1
- package/_esm/pages/SelectEnabledToolsPage/index.d.ts +1 -1
- package/_esm/pages/SelectEnabledToolsPage/index.js +1 -1
- package/_esm/pages/SelectEnabledToolsPage/index.js.map +1 -1
- package/_esm/pages/SelectNativeTokenPage/SelectNativeTokenPage.d.ts +2 -2
- package/_esm/pages/SelectNativeTokenPage/SelectNativeTokenPage.js +7 -6
- package/_esm/pages/SelectNativeTokenPage/SelectNativeTokenPage.js.map +1 -1
- package/_esm/pages/SelectNativeTokenPage/index.d.ts +1 -1
- package/_esm/pages/SelectNativeTokenPage/index.js +1 -1
- package/_esm/pages/SelectNativeTokenPage/index.js.map +1 -1
- package/_esm/pages/SelectTokenPage/SearchTokenInput.js +6 -5
- package/_esm/pages/SelectTokenPage/SearchTokenInput.js.map +1 -1
- package/_esm/pages/SelectTokenPage/SearchTokenInput.style.d.ts +1 -1
- package/_esm/pages/SelectTokenPage/SearchTokenInput.style.js +2 -2
- package/_esm/pages/SelectTokenPage/SearchTokenInput.style.js.map +1 -1
- package/_esm/pages/SelectTokenPage/SelectTokenPage.d.ts +1 -1
- package/_esm/pages/SelectTokenPage/SelectTokenPage.js +8 -5
- package/_esm/pages/SelectTokenPage/SelectTokenPage.js.map +1 -1
- package/_esm/pages/SelectTokenPage/index.d.ts +2 -2
- package/_esm/pages/SelectTokenPage/index.js +2 -2
- package/_esm/pages/SelectTokenPage/index.js.map +1 -1
- package/_esm/pages/SelectWalletPage/EVMListItemButton.js +5 -4
- package/_esm/pages/SelectWalletPage/EVMListItemButton.js.map +1 -1
- package/_esm/pages/SelectWalletPage/SVMListItemButton.js +5 -4
- package/_esm/pages/SelectWalletPage/SVMListItemButton.js.map +1 -1
- package/_esm/pages/SelectWalletPage/SelectWalletPage.js +8 -9
- package/_esm/pages/SelectWalletPage/SelectWalletPage.js.map +1 -1
- package/_esm/pages/SelectWalletPage/index.d.ts +1 -1
- package/_esm/pages/SelectWalletPage/index.js +1 -1
- package/_esm/pages/SelectWalletPage/index.js.map +1 -1
- package/_esm/pages/SendToWallet/BookmarkAddressSheet.d.ts +3 -3
- package/_esm/pages/SendToWallet/BookmarkAddressSheet.js +7 -8
- package/_esm/pages/SendToWallet/BookmarkAddressSheet.js.map +1 -1
- package/_esm/pages/SendToWallet/BookmarksPage.js +17 -17
- package/_esm/pages/SendToWallet/BookmarksPage.js.map +1 -1
- package/_esm/pages/SendToWallet/ConfirmAddressSheet.d.ts +3 -3
- package/_esm/pages/SendToWallet/ConfirmAddressSheet.js +8 -8
- package/_esm/pages/SendToWallet/ConfirmAddressSheet.js.map +1 -1
- package/_esm/pages/SendToWallet/ConnectedWalletsPage.js +16 -16
- package/_esm/pages/SendToWallet/ConnectedWalletsPage.js.map +1 -1
- package/_esm/pages/SendToWallet/EmptyListIndicator.js +1 -1
- package/_esm/pages/SendToWallet/EmptyListIndicator.js.map +1 -1
- package/_esm/pages/SendToWallet/RecentWalletsPage.js +18 -18
- package/_esm/pages/SendToWallet/RecentWalletsPage.js.map +1 -1
- package/_esm/pages/SendToWallet/SendToConfiguredWalletPage.js +16 -13
- package/_esm/pages/SendToWallet/SendToConfiguredWalletPage.js.map +1 -1
- package/_esm/pages/SendToWallet/SendToWalletPage.js +14 -12
- package/_esm/pages/SendToWallet/SendToWalletPage.js.map +1 -1
- package/_esm/pages/SendToWallet/SendToWalletPage.style.d.ts +12 -12
- package/_esm/pages/SendToWallet/SendToWalletPage.style.js +4 -4
- package/_esm/pages/SendToWallet/SendToWalletPage.style.js.map +1 -1
- package/_esm/pages/SendToWallet/index.d.ts +5 -5
- package/_esm/pages/SendToWallet/index.js +5 -5
- package/_esm/pages/SendToWallet/index.js.map +1 -1
- package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.d.ts +1 -1
- package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js +8 -9
- package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js.map +1 -1
- package/_esm/pages/SettingsPage/GasPriceSettings.d.ts +1 -1
- package/_esm/pages/SettingsPage/GasPriceSettings.js +8 -6
- package/_esm/pages/SettingsPage/GasPriceSettings.js.map +1 -1
- package/_esm/pages/SettingsPage/LanguageSetting.d.ts +1 -1
- package/_esm/pages/SettingsPage/LanguageSetting.js +8 -7
- package/_esm/pages/SettingsPage/LanguageSetting.js.map +1 -1
- package/_esm/pages/SettingsPage/ResetSettingsButton.d.ts +1 -1
- package/_esm/pages/SettingsPage/ResetSettingsButton.js +4 -4
- package/_esm/pages/SettingsPage/ResetSettingsButton.js.map +1 -1
- package/_esm/pages/SettingsPage/ResetSettingsButton.style.d.ts +1 -1
- package/_esm/pages/SettingsPage/ResetSettingsButton.style.js +2 -3
- package/_esm/pages/SettingsPage/ResetSettingsButton.style.js.map +1 -1
- package/_esm/pages/SettingsPage/RoutePrioritySettings.d.ts +1 -1
- package/_esm/pages/SettingsPage/RoutePrioritySettings.js +8 -6
- package/_esm/pages/SettingsPage/RoutePrioritySettings.js.map +1 -1
- package/_esm/pages/SettingsPage/SendToWalletOptionSetting.js +10 -7
- package/_esm/pages/SettingsPage/SendToWalletOptionSetting.js.map +1 -1
- package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.d.ts +1 -1
- package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.js +2 -2
- package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.js.map +1 -1
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.d.ts +2 -2
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.js +1 -3
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.js.map +1 -1
- package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.d.ts +1 -1
- package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js +4 -3
- package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js.map +1 -1
- package/_esm/pages/SettingsPage/SettingsCard/index.d.ts +4 -4
- package/_esm/pages/SettingsPage/SettingsCard/index.js +4 -4
- package/_esm/pages/SettingsPage/SettingsCard/index.js.map +1 -1
- package/_esm/pages/SettingsPage/SettingsPage.js +11 -10
- package/_esm/pages/SettingsPage/SettingsPage.js.map +1 -1
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.d.ts +1 -1
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js +10 -9
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js.map +1 -1
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.d.ts +2 -2
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js +2 -4
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js.map +1 -1
- package/_esm/pages/SettingsPage/SlippageSettings/index.d.ts +1 -1
- package/_esm/pages/SettingsPage/SlippageSettings/index.js +1 -1
- package/_esm/pages/SettingsPage/SlippageSettings/index.js.map +1 -1
- package/_esm/pages/SettingsPage/ThemeSettings.d.ts +1 -1
- package/_esm/pages/SettingsPage/ThemeSettings.js +10 -12
- package/_esm/pages/SettingsPage/ThemeSettings.js.map +1 -1
- package/_esm/pages/SettingsPage/index.d.ts +1 -1
- package/_esm/pages/SettingsPage/index.js +1 -1
- package/_esm/pages/SettingsPage/index.js.map +1 -1
- package/_esm/pages/TransactionDetailsPage/ContactSupportButton.js +2 -2
- package/_esm/pages/TransactionDetailsPage/ContactSupportButton.js.map +1 -1
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.d.ts +1 -1
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js +19 -14
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js.map +1 -1
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js +3 -3
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js.map +1 -1
- package/_esm/pages/TransactionDetailsPage/index.d.ts +1 -1
- package/_esm/pages/TransactionDetailsPage/index.js +1 -1
- package/_esm/pages/TransactionDetailsPage/index.js.map +1 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.d.ts +1 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js +2 -2
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js.map +1 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.d.ts +1 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.js +4 -3
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.js.map +1 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.d.ts +1 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.js +6 -6
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.js.map +1 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js +3 -2
- package/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js.map +1 -1
- package/_esm/pages/TransactionHistoryPage/index.d.ts +1 -1
- package/_esm/pages/TransactionHistoryPage/index.js +1 -1
- package/_esm/pages/TransactionHistoryPage/index.js.map +1 -1
- package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.d.ts +1 -1
- package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js +6 -6
- package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js.map +1 -1
- package/_esm/pages/TransactionPage/StartTransactionButton.d.ts +2 -2
- package/_esm/pages/TransactionPage/StartTransactionButton.js +5 -3
- package/_esm/pages/TransactionPage/StartTransactionButton.js.map +1 -1
- package/_esm/pages/TransactionPage/StatusBottomSheet.d.ts +2 -2
- package/_esm/pages/TransactionPage/StatusBottomSheet.js +18 -13
- package/_esm/pages/TransactionPage/StatusBottomSheet.js.map +1 -1
- package/_esm/pages/TransactionPage/StatusBottomSheet.style.d.ts +2 -2
- package/_esm/pages/TransactionPage/StatusBottomSheet.style.js +2 -3
- package/_esm/pages/TransactionPage/StatusBottomSheet.style.js.map +1 -1
- package/_esm/pages/TransactionPage/TokenValueBottomSheet.d.ts +2 -2
- package/_esm/pages/TransactionPage/TokenValueBottomSheet.js +6 -6
- package/_esm/pages/TransactionPage/TokenValueBottomSheet.js.map +1 -1
- package/_esm/pages/TransactionPage/TransactionPage.d.ts +1 -1
- package/_esm/pages/TransactionPage/TransactionPage.js +21 -17
- package/_esm/pages/TransactionPage/TransactionPage.js.map +1 -1
- package/_esm/pages/TransactionPage/index.d.ts +1 -1
- package/_esm/pages/TransactionPage/index.js +1 -1
- package/_esm/pages/TransactionPage/index.js.map +1 -1
- package/_esm/pages/TransactionPage/types.d.ts +1 -1
- package/_esm/providers/I18nProvider/I18nProvider.d.ts +1 -1
- package/_esm/providers/I18nProvider/I18nProvider.js +5 -4
- package/_esm/providers/I18nProvider/I18nProvider.js.map +1 -1
- package/_esm/providers/I18nProvider/index.d.ts +2 -2
- package/_esm/providers/I18nProvider/index.js +2 -2
- package/_esm/providers/I18nProvider/index.js.map +1 -1
- package/_esm/providers/I18nProvider/types.d.ts +1 -1
- package/_esm/providers/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/_esm/providers/ThemeProvider/ThemeProvider.js +4 -5
- package/_esm/providers/ThemeProvider/ThemeProvider.js.map +1 -1
- package/_esm/providers/ThemeProvider/index.d.ts +1 -1
- package/_esm/providers/ThemeProvider/index.js +1 -1
- package/_esm/providers/ThemeProvider/index.js.map +1 -1
- package/_esm/providers/WalletProvider/EVMBaseProvider.js +5 -5
- package/_esm/providers/WalletProvider/EVMBaseProvider.js.map +1 -1
- package/_esm/providers/WalletProvider/EVMExternalContext.d.ts +1 -1
- package/_esm/providers/WalletProvider/EVMProvider.js +4 -4
- package/_esm/providers/WalletProvider/EVMProvider.js.map +1 -1
- package/_esm/providers/WalletProvider/SDKProviders.js +1 -1
- package/_esm/providers/WalletProvider/SDKProviders.js.map +1 -1
- package/_esm/providers/WalletProvider/SVMExternalContext.d.ts +1 -1
- package/_esm/providers/WalletProvider/SVMProvider.js +4 -4
- package/_esm/providers/WalletProvider/SVMProvider.js.map +1 -1
- package/_esm/providers/WalletProvider/WalletProvider.js +3 -3
- package/_esm/providers/WalletProvider/WalletProvider.js.map +1 -1
- package/_esm/providers/WalletProvider/index.d.ts +3 -3
- package/_esm/providers/WalletProvider/index.js +3 -3
- package/_esm/providers/WalletProvider/index.js.map +1 -1
- package/_esm/providers/WalletProvider/useHasExternalWalletProvider.js +2 -2
- package/_esm/providers/WalletProvider/useHasExternalWalletProvider.js.map +1 -1
- package/_esm/providers/WidgetProvider/WidgetProvider.d.ts +2 -2
- package/_esm/providers/WidgetProvider/WidgetProvider.js +4 -4
- package/_esm/providers/WidgetProvider/WidgetProvider.js.map +1 -1
- package/_esm/providers/WidgetProvider/index.d.ts +2 -2
- package/_esm/providers/WidgetProvider/index.js +2 -2
- package/_esm/providers/WidgetProvider/index.js.map +1 -1
- package/_esm/providers/WidgetProvider/types.d.ts +1 -1
- package/_esm/providers/WidgetProvider/utils.d.ts +2 -2
- package/_esm/providers/WidgetProvider/utils.js +1 -1
- package/_esm/providers/WidgetProvider/utils.js.map +1 -1
- package/_esm/stores/StoreProvider.d.ts +1 -1
- package/_esm/stores/StoreProvider.js +6 -6
- package/_esm/stores/StoreProvider.js.map +1 -1
- package/_esm/stores/bookmarks/BookmarkStore.d.ts +3 -3
- package/_esm/stores/bookmarks/BookmarkStore.js +2 -2
- package/_esm/stores/bookmarks/BookmarkStore.js.map +1 -1
- package/_esm/stores/bookmarks/createBookmarkStore.d.ts +3 -3
- package/_esm/stores/bookmarks/index.d.ts +5 -5
- package/_esm/stores/bookmarks/index.js +5 -5
- package/_esm/stores/bookmarks/index.js.map +1 -1
- package/_esm/stores/bookmarks/types.d.ts +2 -2
- package/_esm/stores/bookmarks/useBookmarkActions.d.ts +1 -1
- package/_esm/stores/bookmarks/useBookmarkActions.js +1 -1
- package/_esm/stores/bookmarks/useBookmarkActions.js.map +1 -1
- package/_esm/stores/bookmarks/useBookmarks.d.ts +1 -1
- package/_esm/stores/bookmarks/useBookmarks.js +1 -1
- package/_esm/stores/bookmarks/useBookmarks.js.map +1 -1
- package/_esm/stores/chains/ChainOrderStore.d.ts +3 -3
- package/_esm/stores/chains/ChainOrderStore.js +5 -5
- package/_esm/stores/chains/ChainOrderStore.js.map +1 -1
- package/_esm/stores/chains/createChainOrderStore.d.ts +2 -2
- package/_esm/stores/chains/index.d.ts +4 -4
- package/_esm/stores/chains/index.js +4 -4
- package/_esm/stores/chains/index.js.map +1 -1
- package/_esm/stores/chains/types.d.ts +1 -1
- package/_esm/stores/chains/useChainOrder.d.ts +1 -1
- package/_esm/stores/chains/useChainOrder.js +1 -1
- package/_esm/stores/chains/useChainOrder.js.map +1 -1
- package/_esm/stores/form/FormStore.d.ts +0 -4
- package/_esm/stores/form/FormStore.js +6 -14
- package/_esm/stores/form/FormStore.js.map +1 -1
- package/_esm/stores/form/FormStoreContext.d.ts +3 -0
- package/_esm/stores/form/FormStoreContext.js +3 -0
- package/_esm/stores/form/FormStoreContext.js.map +1 -0
- package/_esm/stores/form/FormUpdater.d.ts +1 -1
- package/_esm/stores/form/FormUpdater.js +4 -4
- package/_esm/stores/form/FormUpdater.js.map +1 -1
- package/_esm/stores/form/URLSearchParamsBuilder.js +2 -1
- package/_esm/stores/form/URLSearchParamsBuilder.js.map +1 -1
- package/_esm/stores/form/createFormStore.d.ts +1 -1
- package/_esm/stores/form/index.d.ts +10 -10
- package/_esm/stores/form/index.js +10 -10
- package/_esm/stores/form/index.js.map +1 -1
- package/_esm/stores/form/useFieldActions.d.ts +1 -1
- package/_esm/stores/form/useFieldActions.js +1 -1
- package/_esm/stores/form/useFieldActions.js.map +1 -1
- package/_esm/stores/form/useFieldController.d.ts +2 -2
- package/_esm/stores/form/useFieldController.js +2 -2
- package/_esm/stores/form/useFieldController.js.map +1 -1
- package/_esm/stores/form/useFieldValues.d.ts +2 -2
- package/_esm/stores/form/useFieldValues.js +1 -1
- package/_esm/stores/form/useFieldValues.js.map +1 -1
- package/_esm/stores/form/useFormStore.d.ts +3 -0
- package/_esm/stores/form/useFormStore.js +11 -0
- package/_esm/stores/form/useFormStore.js.map +1 -0
- package/_esm/stores/form/useTouchedFields.d.ts +4 -4
- package/_esm/stores/form/useTouchedFields.js +1 -1
- package/_esm/stores/form/useTouchedFields.js.map +1 -1
- package/_esm/stores/form/useValidation.d.ts +1 -1
- package/_esm/stores/form/useValidation.js +1 -1
- package/_esm/stores/form/useValidation.js.map +1 -1
- package/_esm/stores/form/useValidationActions.d.ts +1 -1
- package/_esm/stores/form/useValidationActions.js +1 -1
- package/_esm/stores/form/useValidationActions.js.map +1 -1
- package/_esm/stores/header/index.d.ts +1 -1
- package/_esm/stores/header/index.js +1 -1
- package/_esm/stores/header/index.js.map +1 -1
- package/_esm/stores/header/types.d.ts +1 -1
- package/_esm/stores/header/useHeaderStore.d.ts +3 -3
- package/_esm/stores/routes/RouteExecutionStore.d.ts +3 -3
- package/_esm/stores/routes/RouteExecutionStore.js +1 -1
- package/_esm/stores/routes/RouteExecutionStore.js.map +1 -1
- package/_esm/stores/routes/createRouteExecutionStore.d.ts +2 -2
- package/_esm/stores/routes/createRouteExecutionStore.js +3 -3
- package/_esm/stores/routes/createRouteExecutionStore.js.map +1 -1
- package/_esm/stores/routes/index.d.ts +5 -5
- package/_esm/stores/routes/index.js +5 -5
- package/_esm/stores/routes/index.js.map +1 -1
- package/_esm/stores/routes/useExecutingRoutesIds.js +3 -3
- package/_esm/stores/routes/useExecutingRoutesIds.js.map +1 -1
- package/_esm/stores/routes/useSetExecutableRoute.js +1 -1
- package/_esm/stores/routes/useSetExecutableRoute.js.map +1 -1
- package/_esm/stores/settings/index.d.ts +6 -6
- package/_esm/stores/settings/index.js +6 -6
- package/_esm/stores/settings/index.js.map +1 -1
- package/_esm/stores/settings/types.d.ts +1 -2
- package/_esm/stores/settings/useAppearance.d.ts +1 -1
- package/_esm/stores/settings/useAppearance.js +1 -1
- package/_esm/stores/settings/useAppearance.js.map +1 -1
- package/_esm/stores/settings/useSendToWalletStore.d.ts +1 -1
- package/_esm/stores/settings/useSettings.d.ts +1 -1
- package/_esm/stores/settings/useSettings.js +1 -1
- package/_esm/stores/settings/useSettings.js.map +1 -1
- package/_esm/stores/settings/useSettingsStore.d.ts +2 -2
- package/_esm/stores/settings/useSettingsStore.js +1 -1
- package/_esm/stores/settings/useSettingsStore.js.map +1 -1
- package/_esm/stores/settings/useSplitSubvariantStore.d.ts +2 -2
- package/_esm/types/index.d.ts +3 -3
- package/_esm/types/index.js +3 -3
- package/_esm/types/index.js.map +1 -1
- package/_esm/types/widget.d.ts +3 -3
- package/_esm/types/widget.js.map +1 -1
- package/_esm/utils/chainType.js +1 -1
- package/_esm/utils/chainType.js.map +1 -1
- package/_esm/utils/colors.d.ts +0 -1
- package/_esm/utils/colors.js +1 -5
- package/_esm/utils/colors.js.map +1 -1
- package/_esm/utils/converters.d.ts +1 -1
- package/_esm/utils/index.d.ts +12 -12
- package/_esm/utils/index.js +12 -12
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/item.d.ts +1 -1
- package/components/AccountAvatar.tsx +6 -6
- package/components/ActiveTransactions/ActiveTransactionItem.tsx +12 -12
- package/components/ActiveTransactions/ActiveTransactions.style.ts +3 -3
- package/components/ActiveTransactions/ActiveTransactions.tsx +6 -5
- package/components/ActiveTransactions/index.ts +2 -2
- package/components/AlertMessage/AlertMessage.style.tsx +6 -4
- package/components/AlertMessage/AlertMessage.tsx +5 -2
- package/components/AlertMessage/index.ts +3 -3
- package/components/AmountInput/AmountInput.style.tsx +7 -3
- package/components/AmountInput/AmountInput.tsx +14 -15
- package/components/AmountInput/AmountInputAdornment.style.tsx +1 -2
- package/components/AmountInput/AmountInputEndAdornment.tsx +8 -8
- package/components/AmountInput/AmountInputStartAdornment.tsx +6 -4
- package/components/AmountInput/PriceFormHelperText.tsx +5 -4
- package/components/AmountInput/index.ts +1 -1
- package/components/AppContainer.tsx +4 -5
- package/components/BaseTransactionButton/BaseTransactionButton.tsx +7 -6
- package/components/BaseTransactionButton/index.ts +2 -2
- package/components/BottomSheet/BottomSheet.tsx +3 -3
- package/components/BottomSheet/index.ts +2 -2
- package/components/Card/Card.tsx +8 -3
- package/components/Card/CardButton.style.tsx +1 -2
- package/components/Card/CardButton.tsx +4 -4
- package/components/Card/CardHeader.tsx +5 -3
- package/components/Card/CardIconButton.tsx +1 -2
- package/components/Card/CardLabel.tsx +1 -2
- package/components/Card/CardTitle.tsx +1 -2
- package/components/Card/index.ts +7 -7
- package/components/ChainSelect/ChainSelect.style.tsx +2 -3
- package/components/ChainSelect/ChainSelect.tsx +7 -5
- package/components/ChainSelect/index.ts +2 -2
- package/components/ChainSelect/useChainSelect.ts +8 -8
- package/components/ContractComponent/ContractComponent.tsx +1 -1
- package/components/ContractComponent/index.ts +1 -1
- package/components/Dialog.tsx +1 -1
- package/components/GasMessage/FundsSufficiencyMessage.tsx +4 -5
- package/components/GasMessage/GasMessage.style.ts +2 -3
- package/components/GasMessage/GasMessage.tsx +4 -3
- package/components/GasMessage/GasRefuelMessage.tsx +7 -6
- package/components/GasMessage/GasSufficiencyMessage.tsx +4 -4
- package/components/GasMessage/index.ts +2 -2
- package/components/Header/CloseDrawerButton.tsx +4 -5
- package/components/Header/EVMDisconnectIconButton.tsx +2 -2
- package/components/Header/Header.style.ts +10 -4
- package/components/Header/Header.tsx +6 -5
- package/components/Header/NavigationHeader.tsx +15 -15
- package/components/Header/NavigationTabs.tsx +4 -3
- package/components/Header/SVMDisconnectIconButton.tsx +2 -2
- package/components/Header/SettingsButton.style.tsx +11 -5
- package/components/Header/SettingsButton.tsx +10 -6
- package/components/Header/TransactionHistoryButton.tsx +5 -6
- package/components/Header/WalletHeader.tsx +17 -18
- package/components/Header/WalletMenu.style.tsx +7 -5
- package/components/Header/WalletMenu.tsx +15 -11
- package/components/Header/index.ts +1 -1
- package/components/Initializer.tsx +1 -1
- package/components/Input.tsx +1 -3
- package/components/Insurance/Insurance.tsx +4 -4
- package/components/Insurance/InsuranceCard.tsx +8 -7
- package/components/Insurance/InsuranceCollapsed.tsx +7 -9
- package/components/Insurance/index.ts +2 -2
- package/components/Insurance/types.ts +1 -1
- package/components/ListItem/ListItem.tsx +6 -4
- package/components/ListItem/ListItemButton.tsx +2 -2
- package/components/ListItem/index.ts +2 -2
- package/components/ListItemButton.tsx +2 -3
- package/components/ListItemText.tsx +5 -3
- package/components/Menu.tsx +1 -1
- package/components/NFT/NFT.style.ts +1 -2
- package/components/NFT/NFT.tsx +3 -3
- package/components/NFT/NFTBase.tsx +3 -3
- package/components/NFT/index.ts +3 -3
- package/components/NFT/types.ts +1 -1
- package/components/NotFound.tsx +2 -2
- package/components/PageContainer.ts +1 -2
- package/components/PoweredBy/PoweredBy.style.ts +1 -2
- package/components/PoweredBy/PoweredBy.tsx +5 -5
- package/components/PoweredBy/index.ts +1 -1
- package/components/ProgressToNextUpdate/index.ts +1 -1
- package/components/ReverseTokensButton/ReverseTokensButton.style.tsx +6 -2
- package/components/ReverseTokensButton/ReverseTokensButton.tsx +7 -7
- package/components/ReverseTokensButton/index.ts +1 -1
- package/components/RouteCard/RouteCard.style.ts +1 -2
- package/components/RouteCard/RouteCard.tsx +16 -16
- package/components/RouteCard/RouteCardEssentials.tsx +9 -7
- package/components/RouteCard/RouteCardEssentialsExpanded.tsx +10 -9
- package/components/RouteCard/RouteCardSkeleton.tsx +4 -4
- package/components/RouteCard/RouteNotFoundCard.tsx +2 -2
- package/components/RouteCard/index.ts +3 -3
- package/components/Routes/Routes.tsx +9 -6
- package/components/Routes/RoutesExpanded.style.ts +2 -3
- package/components/Routes/RoutesExpanded.tsx +10 -8
- package/components/Routes/index.ts +2 -2
- package/components/Select.tsx +8 -6
- package/components/SelectChainAndToken.tsx +6 -7
- package/components/SelectTokenButton/SelectTokenButton.style.tsx +2 -3
- package/components/SelectTokenButton/SelectTokenButton.tsx +12 -8
- package/components/SelectTokenButton/index.ts +1 -1
- package/components/SendToWallet/SendToWallet.style.tsx +2 -3
- package/components/SendToWallet/SendToWalletButton.tsx +16 -15
- package/components/SendToWallet/SendToWalletExpandButton.tsx +12 -13
- package/components/SendToWallet/index.ts +3 -3
- package/components/SettingsListItemButton.tsx +2 -2
- package/components/SmallAvatar.tsx +1 -2
- package/components/Step/CircularProgress.style.tsx +8 -3
- package/components/Step/CircularProgress.tsx +12 -10
- package/components/Step/DestinationWalletAddress.tsx +5 -6
- package/components/Step/Step.tsx +10 -9
- package/components/Step/StepList.tsx +3 -3
- package/components/Step/StepProcess.style.tsx +1 -2
- package/components/Step/StepProcess.tsx +5 -5
- package/components/Step/StepTimer.tsx +2 -1
- package/components/Step/index.ts +2 -2
- package/components/StepActions/StepActions.style.tsx +3 -3
- package/components/StepActions/StepActions.tsx +14 -16
- package/components/StepActions/StepFeeBreakdown.tsx +3 -3
- package/components/StepActions/StepFees.tsx +1 -1
- package/components/StepActions/index.ts +1 -1
- package/components/StepActions/types.ts +1 -1
- package/components/StepDivider/StepDivider.style.tsx +1 -2
- package/components/StepDivider/StepDivider.tsx +1 -1
- package/components/StepDivider/index.ts +1 -1
- package/components/Switch.tsx +6 -3
- package/components/Tabs/Tabs.style.tsx +3 -2
- package/components/Tabs/index.ts +1 -1
- package/components/TextFitter/TextFitter.tsx +2 -2
- package/components/TextFitter/index.ts +1 -1
- package/components/Token/Token.style.tsx +1 -2
- package/components/Token/Token.tsx +10 -6
- package/components/Token/index.ts +2 -2
- package/components/TokenAvatar/TokenAvatar.style.tsx +7 -4
- package/components/TokenAvatar/TokenAvatar.tsx +4 -3
- package/components/TokenAvatar/index.ts +2 -2
- package/components/TokenList/TokenList.style.tsx +2 -3
- package/components/TokenList/TokenList.tsx +12 -13
- package/components/TokenList/TokenListItem.tsx +7 -10
- package/components/TokenList/TokenNotFound.tsx +6 -5
- package/components/TokenList/VirtualizedTokenList.tsx +3 -3
- package/components/TokenList/index.ts +2 -2
- package/components/TokenList/types.ts +3 -3
- package/components/TokenList/useTokenSelect.ts +7 -8
- package/config/theme.ts +20 -14
- package/config/version.ts +1 -1
- package/hooks/index.ts +34 -34
- package/hooks/useAddressValidation.ts +1 -1
- package/hooks/useAvailableChains.ts +3 -2
- package/hooks/useChain.ts +1 -1
- package/hooks/useChains.ts +4 -4
- package/hooks/useContentHeight.ts +3 -3
- package/hooks/useDebouncedWatch.ts +2 -2
- package/hooks/useDefaultElementId.ts +1 -1
- package/hooks/useExpandableVariant.ts +2 -2
- package/hooks/useFromTokenSufficiency.ts +5 -4
- package/hooks/useGasRecommendation.ts +1 -1
- package/hooks/useGasRefuel.ts +4 -4
- package/hooks/useGasSufficiency.ts +3 -3
- package/hooks/useInitializer.ts +2 -2
- package/hooks/useLanguages.ts +3 -2
- package/hooks/useProcessMessage.ts +4 -4
- package/hooks/useRouteExecution.ts +8 -6
- package/hooks/useRoutes.ts +11 -6
- package/hooks/useScrollableContainer.ts +2 -2
- package/hooks/useSettingMonitor.ts +3 -3
- package/hooks/useSwapOnly.ts +1 -1
- package/hooks/useToAddressRequirements.ts +4 -4
- package/hooks/useToAddressReset.ts +5 -3
- package/hooks/useToken.ts +2 -2
- package/hooks/useTokenAddressBalance.ts +2 -2
- package/hooks/useTokenBalance.ts +1 -1
- package/hooks/useTokenBalances.ts +3 -3
- package/hooks/useTokenSearch.ts +1 -1
- package/hooks/useTokens.ts +3 -3
- package/hooks/useTools.ts +3 -3
- package/hooks/useTransactionDetails.ts +1 -1
- package/hooks/useTransactionHistory.ts +1 -1
- package/hooks/useWidgetEvents.ts +4 -2
- package/i18n/index.ts +14 -14
- package/icons/InsuraceLogo.tsx +1 -1
- package/icons/index.ts +2 -2
- package/index.ts +12 -14
- package/package.json +2 -2
- package/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.tsx +2 -2
- package/pages/ActiveTransactionsPage/ActiveTransactionsPage.tsx +9 -11
- package/pages/ActiveTransactionsPage/index.ts +1 -1
- package/pages/LanguagesPage/LanguagesPage.tsx +6 -6
- package/pages/LanguagesPage/index.ts +1 -1
- package/pages/MainPage/MainGasMessage.tsx +2 -2
- package/pages/MainPage/MainPage.style.tsx +1 -2
- package/pages/MainPage/MainPage.tsx +13 -15
- package/pages/MainPage/ReviewButton.tsx +8 -9
- package/pages/MainPage/index.ts +1 -1
- package/pages/RoutesPage/RoutesPage.style.ts +1 -2
- package/pages/RoutesPage/RoutesPage.tsx +10 -10
- package/pages/RoutesPage/index.ts +1 -1
- package/pages/SelectChainPage/SelectChainPage.tsx +7 -7
- package/pages/SelectChainPage/index.ts +1 -1
- package/pages/SelectChainPage/types.ts +1 -1
- package/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.tsx +16 -13
- package/pages/SelectEnabledToolsPage/index.ts +1 -1
- package/pages/SelectNativeTokenPage/SelectNativeTokenPage.tsx +8 -7
- package/pages/SelectNativeTokenPage/index.ts +1 -1
- package/pages/SelectTokenPage/SearchTokenInput.style.tsx +2 -2
- package/pages/SelectTokenPage/SearchTokenInput.tsx +6 -5
- package/pages/SelectTokenPage/SelectTokenPage.tsx +9 -11
- package/pages/SelectTokenPage/index.ts +2 -2
- package/pages/SelectWalletPage/EVMListItemButton.tsx +5 -4
- package/pages/SelectWalletPage/SVMListItemButton.tsx +5 -4
- package/pages/SelectWalletPage/SelectWalletPage.tsx +8 -8
- package/pages/SelectWalletPage/index.ts +1 -1
- package/pages/SendToWallet/BookmarkAddressSheet.tsx +11 -14
- package/pages/SendToWallet/BookmarksPage.tsx +28 -22
- package/pages/SendToWallet/ConfirmAddressSheet.tsx +11 -11
- package/pages/SendToWallet/ConnectedWalletsPage.tsx +25 -20
- package/pages/SendToWallet/EmptyListIndicator.tsx +1 -1
- package/pages/SendToWallet/RecentWalletsPage.tsx +31 -28
- package/pages/SendToWallet/SendToConfiguredWalletPage.tsx +22 -19
- package/pages/SendToWallet/SendToWalletPage.style.tsx +5 -5
- package/pages/SendToWallet/SendToWalletPage.tsx +20 -23
- package/pages/SendToWallet/index.ts +5 -5
- package/pages/SettingsPage/BridgeAndExchangeSettings.tsx +8 -9
- package/pages/SettingsPage/GasPriceSettings.tsx +8 -6
- package/pages/SettingsPage/LanguageSetting.tsx +8 -7
- package/pages/SettingsPage/ResetSettingsButton.style.tsx +2 -3
- package/pages/SettingsPage/ResetSettingsButton.tsx +4 -4
- package/pages/SettingsPage/RoutePrioritySettings.tsx +8 -6
- package/pages/SettingsPage/SendToWalletOptionSetting.tsx +10 -12
- package/pages/SettingsPage/SettingsCard/BadgedValue.tsx +3 -3
- package/pages/SettingsPage/SettingsCard/SettingCard.style.tsx +1 -3
- package/pages/SettingsPage/SettingsCard/SettingCardExpandable.tsx +6 -6
- package/pages/SettingsPage/SettingsCard/index.ts +4 -4
- package/pages/SettingsPage/SettingsPage.tsx +11 -10
- package/pages/SettingsPage/SlippageSettings/SlippageSettings.style.tsx +9 -4
- package/pages/SettingsPage/SlippageSettings/SlippageSettings.tsx +10 -10
- package/pages/SettingsPage/SlippageSettings/index.ts +1 -1
- package/pages/SettingsPage/ThemeSettings.tsx +11 -13
- package/pages/SettingsPage/index.ts +1 -1
- package/pages/TransactionDetailsPage/ContactSupportButton.tsx +2 -2
- package/pages/TransactionDetailsPage/TransactionDetailsPage.tsx +19 -14
- package/pages/TransactionDetailsPage/TransactionDetailsSkeleton.tsx +3 -3
- package/pages/TransactionDetailsPage/index.ts +1 -1
- package/pages/TransactionHistoryPage/TransactionHistoryEmpty.tsx +2 -2
- package/pages/TransactionHistoryPage/TransactionHistoryItem.tsx +4 -3
- package/pages/TransactionHistoryPage/TransactionHistoryPage.tsx +6 -6
- package/pages/TransactionHistoryPage/TransactionHistorySkeleton.tsx +3 -2
- package/pages/TransactionHistoryPage/index.ts +1 -1
- package/pages/TransactionPage/ExchangeRateBottomSheet.tsx +7 -7
- package/pages/TransactionPage/StartTransactionButton.tsx +6 -8
- package/pages/TransactionPage/StatusBottomSheet.style.tsx +2 -3
- package/pages/TransactionPage/StatusBottomSheet.tsx +27 -29
- package/pages/TransactionPage/TokenValueBottomSheet.tsx +7 -7
- package/pages/TransactionPage/TransactionPage.tsx +23 -27
- package/pages/TransactionPage/index.ts +1 -1
- package/pages/TransactionPage/types.ts +1 -1
- package/providers/I18nProvider/I18nProvider.tsx +6 -5
- package/providers/I18nProvider/index.ts +2 -2
- package/providers/I18nProvider/types.ts +1 -1
- package/providers/ThemeProvider/ThemeProvider.tsx +7 -5
- package/providers/ThemeProvider/index.ts +1 -1
- package/providers/WalletProvider/EVMBaseProvider.tsx +5 -5
- package/providers/WalletProvider/EVMProvider.tsx +4 -4
- package/providers/WalletProvider/SDKProviders.tsx +1 -1
- package/providers/WalletProvider/SVMProvider.tsx +4 -4
- package/providers/WalletProvider/WalletProvider.tsx +3 -3
- package/providers/WalletProvider/index.ts +3 -3
- package/providers/WalletProvider/useHasExternalWalletProvider.ts +2 -2
- package/providers/WidgetProvider/WidgetProvider.tsx +5 -5
- package/providers/WidgetProvider/index.ts +2 -2
- package/providers/WidgetProvider/types.ts +1 -1
- package/providers/WidgetProvider/utils.ts +2 -2
- package/stores/StoreProvider.tsx +7 -7
- package/stores/bookmarks/BookmarkStore.tsx +4 -4
- package/stores/bookmarks/createBookmarkStore.ts +3 -3
- package/stores/bookmarks/index.ts +5 -5
- package/stores/bookmarks/types.ts +2 -2
- package/stores/bookmarks/useBookmarkActions.ts +2 -2
- package/stores/bookmarks/useBookmarks.ts +2 -2
- package/stores/chains/ChainOrderStore.tsx +8 -8
- package/stores/chains/createChainOrderStore.ts +2 -2
- package/stores/chains/index.ts +4 -4
- package/stores/chains/types.ts +1 -1
- package/stores/chains/useChainOrder.ts +2 -2
- package/stores/form/FormStore.tsx +7 -24
- package/stores/form/FormStoreContext.ts +4 -0
- package/stores/form/FormUpdater.tsx +5 -5
- package/stores/form/URLSearchParamsBuilder.tsx +3 -2
- package/stores/form/createFormStore.ts +1 -1
- package/stores/form/index.ts +10 -10
- package/stores/form/useFieldActions.ts +2 -2
- package/stores/form/useFieldController.ts +3 -3
- package/stores/form/useFieldValues.ts +2 -2
- package/stores/form/useFormStore.ts +19 -0
- package/stores/form/useTouchedFields.ts +1 -1
- package/stores/form/useValidation.ts +2 -2
- package/stores/form/useValidationActions.ts +2 -2
- package/stores/header/index.ts +1 -1
- package/stores/header/useHeaderStore.tsx +2 -2
- package/stores/routes/RouteExecutionStore.tsx +3 -3
- package/stores/routes/createRouteExecutionStore.ts +5 -5
- package/stores/routes/index.ts +5 -5
- package/stores/routes/useExecutingRoutesIds.ts +4 -4
- package/stores/routes/useSetExecutableRoute.ts +1 -1
- package/stores/settings/index.ts +6 -6
- package/stores/settings/types.ts +1 -3
- package/stores/settings/useAppearance.ts +2 -2
- package/stores/settings/useSendToWalletStore.ts +1 -1
- package/stores/settings/useSettings.ts +2 -2
- package/stores/settings/useSettingsStore.ts +3 -3
- package/stores/settings/useSplitSubvariantStore.tsx +1 -1
- package/types/index.ts +3 -3
- package/types/widget.ts +6 -4
- package/utils/chainType.ts +1 -1
- package/utils/colors.ts +1 -7
- package/utils/converters.ts +1 -1
- package/utils/index.ts +12 -12
- package/utils/item.ts +1 -1
- package/_esm/providers/index.d.ts +0 -4
- package/_esm/providers/index.js +0 -5
- package/_esm/providers/index.js.map +0 -1
- package/_esm/stores/index.d.ts +0 -7
- package/_esm/stores/index.js +0 -8
- package/_esm/stores/index.js.map +0 -1
- package/providers/index.ts +0 -4
- package/stores/index.ts +0 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './StepDivider';
|
|
1
|
+
export * from './StepDivider.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/StepDivider/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/StepDivider/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { Switch as MuiSwitch } from '@mui/material';
|
|
2
|
-
import { alpha, styled } from '@mui/material/styles';
|
|
3
|
-
import { switchClasses } from '@mui/material/Switch';
|
|
1
|
+
import { Switch as MuiSwitch, alpha, styled, switchClasses, } from '@mui/material';
|
|
4
2
|
export const Switch = styled(MuiSwitch)(({ theme }) => ({
|
|
5
3
|
width: 42,
|
|
6
4
|
height: 24,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.js","sourceRoot":"","sources":["../../components/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Switch.js","sourceRoot":"","sources":["../../components/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAC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gBAC5B,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC;gBACzC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC;SAC9C;QACD,CAAC,KAAK,aAAa,CAAC,QAAQ,OAAO,aAAa,CAAC,KAAK,EAAE,CAAC,EAAE;YACzD,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG;SACpD;KACF;IACD,CAAC,IAAI,aAAa,CAAC,KAAK,EAAE,CAAC,EAAE;QAC3B,SAAS,EAAE,YAAY;QACvB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;KACX;IACD,CAAC,IAAI,aAAa,CAAC,KAAK,EAAE,CAAC,EAAE;QAC3B,YAAY,EAAE,EAAE,GAAG,CAAC;QACpB,eAAe,EACb,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,OAAO;YAC5B,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC;YACzC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC;QAC7C,OAAO,EAAE,CAAC;QACV,UAAU,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,kBAAkB,CAAC,EAAE;YACzD,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,QAAQ;SAC9C,CAAC;KACH;CACF,CAAC,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Tabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
+
export declare const Tabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, "children" | "sx" | "style" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "orientation" | "value" | "action" | "classes" | "variant" | "slotProps" | "slots" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
-
export declare const Tab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
export declare const Tab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
6
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
7
|
}, "children" | "sx" | "label" | "style" | "className" | "tabIndex" | "disabled" | "value" | "action" | "classes" | "icon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "iconPosition" | "wrapped"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
8
8
|
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Tab as MuiTab, Tabs as MuiTabs, tabClasses, tabsClasses, } from '@mui/material';
|
|
2
|
-
import {
|
|
3
|
-
import { getCardFieldsetBackgroundColor } from '../../utils';
|
|
1
|
+
import { Tab as MuiTab, Tabs as MuiTabs, alpha, styled, tabClasses, tabsClasses, } from '@mui/material';
|
|
2
|
+
import { getCardFieldsetBackgroundColor } from '../../utils/colors.js';
|
|
4
3
|
export const Tabs = styled(MuiTabs)(({ theme }) => ({
|
|
5
4
|
backgroundColor: getCardFieldsetBackgroundColor(theme),
|
|
6
5
|
borderRadius: Math.max(theme.shape.borderRadius, theme.shape.borderRadiusSecondary),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.style.js","sourceRoot":"","sources":["../../../components/Tabs/Tabs.style.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,GAAG,IAAI,MAAM,EACb,IAAI,IAAI,OAAO,EACf,UAAU,EACV,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Tabs.style.js","sourceRoot":"","sources":["../../../components/Tabs/Tabs.style.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,GAAG,IAAI,MAAM,EACb,IAAI,IAAI,OAAO,EACf,KAAK,EACL,MAAM,EACN,UAAU,EACV,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,8BAA8B,EAAE,MAAM,uBAAuB,CAAC;AAEvE,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAClD,eA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CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;IAChC,CAAC,KAAK,UAAU,CAAC,QAAQ,EAAE,CAAC,EAAE;QAC5B,KAAK,EACH,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,MAAM;YAC3B,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;YAC5B,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;KACjC;CACF,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Tabs.style';
|
|
1
|
+
export * from './Tabs.style.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Tabs.style';
|
|
1
|
+
export * from './Tabs.style.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/Tabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/Tabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useTheme } from '@mui/material
|
|
2
|
+
import { useTheme } from '@mui/material';
|
|
3
3
|
import { useCallback, useLayoutEffect, useRef, useState } from 'react';
|
|
4
4
|
import { useInView } from 'react-intersection-observer';
|
|
5
5
|
const initialState = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextFitter.js","sourceRoot":"","sources":["../../../components/TextFitter/TextFitter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TextFitter.js","sourceRoot":"","sources":["../../../components/TextFitter/TextFitter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC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
export * from './TextFitter.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/TextFitter/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/TextFitter/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box, Grow, Skeleton } from '@mui/material';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { useChain
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
4
|
+
import { useChain } from '../../hooks/useChain.js';
|
|
5
|
+
import { useToken } from '../../hooks/useToken.js';
|
|
6
|
+
import { formatTokenAmount, formatTokenPrice } from '../../utils/format.js';
|
|
7
|
+
import { SmallAvatar } from '../SmallAvatar.js';
|
|
8
|
+
import { TextFitter } from '../TextFitter/TextFitter.js';
|
|
9
|
+
import { TokenAvatar, TokenAvatarSkeleton, } from '../TokenAvatar/TokenAvatar.js';
|
|
10
|
+
import { TextSecondary, TextSecondaryContainer } from './Token.style.js';
|
|
10
11
|
export const Token = ({ token, ...other }) => {
|
|
11
12
|
if (!token.priceUSD || !token.logoURI) {
|
|
12
13
|
return _jsx(TokenFallback, { token: token, ...other });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Token.js","sourceRoot":"","sources":["../../../components/Token/Token.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,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AM,GAAG,EACnD,MAAC,sBAAsB,IAAC,SAAS,EAAC,MAAM,aACtC,KAAC,QAAQ,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,OAAO,EAAC,SAAS,EACjB,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,GACtB,EACD,CAAC,IAAI,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAC9B,KAAC,QAAQ,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,OAAO,EAAC,SAAS,EACjB,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,GACvC,CACH,CAAC,CAAC,CAAC,IAAI,IACe,IACrB,IACF,GACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
2
2
|
export declare const TextSecondaryContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
-
export declare const TextSecondary: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
5
|
+
export declare const TextSecondary: 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"> & {
|
|
6
6
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
7
7
|
}, "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> & {
|
|
8
8
|
dot?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Box, Typography } from '@mui/material';
|
|
2
|
-
import { alpha, styled } from '@mui/material/styles';
|
|
1
|
+
import { Box, Typography, alpha, styled } from '@mui/material';
|
|
3
2
|
export const TextSecondaryContainer = styled(Box)(() => ({
|
|
4
3
|
display: 'flex',
|
|
5
4
|
alignItems: 'center',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Token.style.js","sourceRoot":"","sources":["../../../components/Token/Token.style.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"Token.style.js","sourceRoot":"","sources":["../../../components/Token/Token.style.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/D,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IACvD,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,CAAC;CACR,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,EAAE;IAC9C,iBAAiB,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;CAC7D,CAAC,CAAoB,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IACzC,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,GAAG;IACf,KAAK,EAAE,GAAG;QACR,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC;QAC3C,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS;CACjC,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACtD,MAAM,EAAE,EAAE;IACV,eAAe,EAAE,CAAC;IAClB,eAAe,EAAE,OAAO;IACxB,WAAW,EACT,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,OAAO;QAC5B,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;QACzB,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;CAC9B,CAAC,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Token';
|
|
2
|
-
export * from './Token.style';
|
|
1
|
+
export * from './Token.js';
|
|
2
|
+
export * from './Token.style.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './Token';
|
|
2
|
-
export * from './Token.style';
|
|
1
|
+
export * from './Token.js';
|
|
2
|
+
export * from './Token.style.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/Token/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/Token/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Avatar, Badge, Skeleton } from '@mui/material';
|
|
3
|
-
import { useChain
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { useChain } from '../../hooks/useChain.js';
|
|
4
|
+
import { useToken } from '../../hooks/useToken.js';
|
|
5
|
+
import { SmallAvatar, SmallAvatarSkeleton } from '../SmallAvatar.js';
|
|
6
|
+
import { AvatarDefault, AvatarDefaultBadge } from './TokenAvatar.style.js';
|
|
6
7
|
export const TokenAvatarFallback = ({ token, isLoading, sx }) => {
|
|
7
8
|
const { chain } = useChain(token?.chainId);
|
|
8
9
|
const { token: chainToken, isLoading: isLoadingToken } = useToken(token?.chainId, token?.address);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenAvatar.js","sourceRoot":"","sources":["../../../components/TokenAvatar/TokenAvatar.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TokenAvatar.js","sourceRoot":"","sources":["../../../components/TokenAvatar/TokenAvatar.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE3E,MAAM,CAAC,MAAM,mBAAmB,GAI3B,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE;IAChC,MAAM,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3C,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,QAAQ,CAC/D,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,OAAO,CACf,CAAC;IACF,OAAO,CACL,KAAC,eAAe,IACd,KAAK,EAAE,UAAU,IAAI,KAAK,EAC1B,SAAS,EAAE,SAAS,IAAI,cAAc,EAC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EAAE,EAAE,EAAE,GACN,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAE1B,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE;IACd,OAAO,CACL,KAAC,KAAK,IACJ,OAAO,EAAC,UAAU,EAClB,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,EACzD,YAAY,EAAE,KAAC,kBAAkB,KAAG,EACpC,EAAE,EAAE,EAAE,YAEN,KAAC,aAAa,KAAG,GACX,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAE3B,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE;IACd,OAAO,CACL,KAAC,KAAK,IACJ,OAAO,EAAC,UAAU,EAClB,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,EACzD,YAAY,EAAE,KAAC,mBAAmB,KAAG,EACrC,EAAE,EAAE,EAAE,YAEN,KAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAC,UAAU,GAAG,GAChD,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
2
2
|
export declare const TokenAvatarGroup: import("@emotion/styled").StyledComponent<import("@mui/material").AvatarGroupProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
3
3
|
export declare const AvatarDefault: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { AvatarGroup, Box } from '@mui/material';
|
|
2
|
-
import { avatarClasses } from '@mui/material/Avatar';
|
|
3
|
-
import { badgeClasses } from '@mui/material/Badge';
|
|
4
|
-
import { styled } from '@mui/material/styles';
|
|
1
|
+
import { AvatarGroup, Box, avatarClasses, badgeClasses, styled, } from '@mui/material';
|
|
5
2
|
export const TokenAvatarGroup = styled(AvatarGroup)(({ theme }) => ({
|
|
6
3
|
[`& .${badgeClasses.badge}:last-child .${avatarClasses.root}`]: {
|
|
7
4
|
marginLeft: theme.spacing(-1),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenAvatar.style.js","sourceRoot":"","sources":["../../../components/TokenAvatar/TokenAvatar.style.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"TokenAvatar.style.js","sourceRoot":"","sources":["../../../components/TokenAvatar/TokenAvatar.style.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,GAAG,EACH,aAAa,EACb,YAAY,EACZ,MAAM,GACP,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC,MAAM,YAAY,CAAC,KAAK,gBAAgB,aAAa,CAAC,IAAI,EAAE,CAAC,EAAE;QAC9D,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC7B,SAAS,EAAE,YAAY;KACxB;IACD,CAAC,MAAM,YAAY,CAAC,IAAI,aAAa,CAAC,EAAE;QACtC,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;KAC7B;CACF,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACrD,MAAM,IA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,2 +1,2 @@
|
|
|
1
|
-
export * from './TokenAvatar';
|
|
2
|
-
export * from './TokenAvatar.style';
|
|
1
|
+
export * from './TokenAvatar.js';
|
|
2
|
+
export * from './TokenAvatar.style.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './TokenAvatar';
|
|
2
|
-
export * from './TokenAvatar.style';
|
|
1
|
+
export * from './TokenAvatar.js';
|
|
2
|
+
export * from './TokenAvatar.style.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/TokenAvatar/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/TokenAvatar/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box } from '@mui/material';
|
|
3
3
|
import { useRef } from 'react';
|
|
4
|
-
import { useAccount
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { useAccount } from '../../hooks/useAccount.js';
|
|
5
|
+
import { useChain } from '../../hooks/useChain.js';
|
|
6
|
+
import { useDebouncedWatch } from '../../hooks/useDebouncedWatch.js';
|
|
7
|
+
import { useTokenBalances } from '../../hooks/useTokenBalances.js';
|
|
8
|
+
import { useTokenSearch } from '../../hooks/useTokenSearch.js';
|
|
9
|
+
import { FormKeyHelper } from '../../stores/form/types.js';
|
|
10
|
+
import { useFieldValues } from '../../stores/form/useFieldValues.js';
|
|
11
|
+
import { TokenNotFound } from './TokenNotFound.js';
|
|
12
|
+
import { VirtualizedTokenList } from './VirtualizedTokenList.js';
|
|
13
|
+
import { useTokenSelect } from './useTokenSelect.js';
|
|
9
14
|
export const TokenList = ({ formType, height, onClick, }) => {
|
|
10
15
|
const parentRef = useRef(null);
|
|
11
16
|
const [selectedChainId] = useFieldValues(FormKeyHelper.getChainKey(formType));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.js","sourceRoot":"","sources":["../../../components/TokenList/TokenList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"TokenList.js","sourceRoot":"","sources":["../../../components/TokenList/TokenList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,MAAM,CAAC,MAAM,SAAS,GAAuB,CAAC,EAC5C,QAAQ,EACR,MAAM,EACN,OAAO,GACR,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,MAAM,CAA0B,IAAI,CAAC,CAAC;IACxD,MAAM,CAAC,eAAe,CAAC,GAAG,cAAc,CAAC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SAAS,EAAE,sBAAsB,EAAE,GAC/D,cAAc,CAAC,eAAe,EAAE,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;IAE9E,MAAM,SAAS,GACb,eAAe;QACf,cAAc;QACd,CAAC,kBAAkB,IAAI,sBAAsB,CAAC,CAAC;IAEjD,MAAM,MAAM,GAAG,cAAc,CAAC,MAAM;QAClC,CAAC,CAAC,cAAc;QAChB,CAAC,CAAC,aAAa;YACb,CAAC,CAAC,CAAC,aAAa,CAAC;YACjB,CAAC,CAAC,cAAc,CAAC;IAErB,MAAM,gBAAgB,GAAG,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC3D,MAAM,cAAc,GAClB,OAAO,CAAC,cAAc,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,CAAC;QACxD,CAAC,iBAAiB,CAAC;IAErB,OAAO,CACL,MAAC,GAAG,IAAC,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,aACrD,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAC9B,KAAC,aAAa,IAAC,QAAQ,EAAE,QAAQ,GAAI,CACtC,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,oBAAoB,IACnB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,SAAS,EAC3B,OAAO,EAAE,eAAe,EACxB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,gBAAgB,EAClC,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,gBAAgB,GACzB,IACE,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
2
2
|
export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
button?: false | undefined;
|
|
4
|
-
} & import("@mui/material").ListItemOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
4
|
+
} & import("@mui/material").ListItemOwnProps & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
6
|
-
}, "button" | "alignItems" | "children" | "sx" | "style" | "autoFocus" | "className" | "disabled" | "selected" | "classes" | "
|
|
7
|
-
export declare const IconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
6
|
+
}, "button" | "alignItems" | "children" | "sx" | "style" | "autoFocus" | "className" | "disabled" | "selected" | "classes" | "divider" | "components" | "componentsProps" | "slotProps" | "slots" | "dense" | "disableGutters" | "ContainerComponent" | "ContainerProps" | "disablePadding" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
7
|
+
export declare const IconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
8
8
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
9
9
|
}, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "disabled" | "action" | "size" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
10
10
|
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { IconButton as MuiIconButton } from '@mui/material';
|
|
2
|
-
import {
|
|
3
|
-
import { ListItem as ListItemBase } from '../ListItem';
|
|
1
|
+
import { IconButton as MuiIconButton, alpha, styled } from '@mui/material';
|
|
2
|
+
import { ListItem as ListItemBase } from '../ListItem/ListItem.js';
|
|
4
3
|
export const ListItem = styled(ListItemBase)(({ theme }) => ({
|
|
5
4
|
position: 'absolute',
|
|
6
5
|
top: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.style.js","sourceRoot":"","sources":["../../../components/TokenList/TokenList.style.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,IAAI,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"TokenList.style.js","sourceRoot":"","sources":["../../../components/TokenList/TokenList.style.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,IAAI,aAAa,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEnE,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3D,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,CAAC;CACR,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,aAAa,CAAC,CAC7C,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACd,UAAU,EAAE,CAAC;IACb,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,GAAG;IACf,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;IACpC,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC;IACpC,KAAK,EAAE,SAAS;IAChB,eAAe,EAAE,OAAO;IACxB,QAAQ,EAAE,OAAO;IACjB,YAAY,EAAE,KAAK;IACnB,SAAS,EAAE;QACT,eAAe,EACb,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,OAAO;YAC5B,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC;YACzC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC;KAC9C;IACD,GAAG,EAAE;QACH,QAAQ,EAAE,EAAE;KACb;CACF,CAAC,CACH,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { TokenListItemButtonProps, TokenListItemProps } from './types';
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
+
import type { TokenListItemButtonProps, TokenListItemProps } from './types.js';
|
|
3
3
|
export declare const TokenListItem: React.FC<TokenListItemProps>;
|
|
4
4
|
export declare const TokenListItemButton: React.FC<TokenListItemButtonProps>;
|
|
5
5
|
export declare const TokenListItemSkeleton: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import { OpenInNewRounded } from '@mui/icons-material';
|
|
3
3
|
import { Avatar, Box, Link, ListItemAvatar, ListItemText, Skeleton, Slide, Typography, } from '@mui/material';
|
|
4
4
|
import { useRef, useState } from 'react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { formatUnits } from 'viem';
|
|
7
|
-
import { formatTokenAmount, formatTokenPrice
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { formatTokenAmount, formatTokenPrice } from '../../utils/format.js';
|
|
8
|
+
import { shortenAddress } from '../../utils/wallet.js';
|
|
9
|
+
import { ListItemButton } from '../ListItem/ListItemButton.js';
|
|
10
|
+
import { IconButton, ListItem } from './TokenList.style.js';
|
|
10
11
|
export const TokenListItem = ({ onClick, size, start, token, chain, showBalance, isBalanceLoading, startAdornment, endAdornment, }) => {
|
|
11
12
|
const handleClick = (e) => {
|
|
12
13
|
e.stopPropagation();
|
|
@@ -40,7 +41,7 @@ export const TokenListItemButton = ({ onClick, token, chain, showBalance, isBala
|
|
|
40
41
|
position: 'absolute',
|
|
41
42
|
}, appear: false, children: _jsx(Box, { pt: 0.25, children: token.name }) }), _jsx(Slide, { direction: "up", in: showAddress, container: container.current, style: {
|
|
42
43
|
position: 'absolute',
|
|
43
|
-
}, appear: false, mountOnEnter: true, children: _jsxs(Box, { display: "flex", children: [_jsx(Box, { display: "flex", alignItems: "center", pt: 0.125, children: shortenAddress(token.address) }), _jsx(IconButton, { size: "small", LinkComponent: Link, href: `${chain?.metamask.blockExplorerUrls[0]}address/${token.address}`, target: "_blank", rel: "nofollow noreferrer", onClick: (e) => e.stopPropagation(), children: _jsx(
|
|
44
|
+
}, appear: false, mountOnEnter: true, children: _jsxs(Box, { display: "flex", children: [_jsx(Box, { display: "flex", alignItems: "center", pt: 0.125, children: shortenAddress(token.address) }), _jsx(IconButton, { size: "small", LinkComponent: Link, href: `${chain?.metamask.blockExplorerUrls[0]}address/${token.address}`, target: "_blank", rel: "nofollow noreferrer", onClick: (e) => e.stopPropagation(), children: _jsx(OpenInNewRounded, {}) })] }) })] }) }), showBalance ? (isBalanceLoading ? (_jsx(TokenAmountSkeleton, {})) : (_jsxs(Box, { sx: { textAlign: 'right' }, children: [token.amount ? (_jsx(Typography, { variant: "body1", noWrap: true, children: t('format.number', {
|
|
44
45
|
value: formatTokenAmount(token.amount, token.decimals),
|
|
45
46
|
}) })) : null, tokenPrice ? (_jsx(Typography, { fontWeight: 500, fontSize: 12, color: "text.secondary", "data-price": token.priceUSD, children: t(`format.currency`, {
|
|
46
47
|
value: tokenPrice,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenListItem.js","sourceRoot":"","sources":["../../../components/TokenList/TokenListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TokenListItem.js","sourceRoot":"","sources":["../../../components/TokenList/TokenListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,MAAM,EACN,GAAG,EACH,IAAI,EACJ,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,UAAU,GACX,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAG5D,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,EAC1D,OAAO,EACP,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,GACb,EAAE,EAAE;IACH,MAAM,WAAW,GAAsC,CAA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AG,EACxC,cAAc,QACd,EAAE,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,aAExE,KAAC,cAAc,cACb,KAAC,QAAQ,IACP,OAAO,EAAC,UAAU,EAClB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC,EAAE,GACvC,GACa,EACjB,KAAC,YAAY,IACX,OAAO,EAAE,KAAC,QAAQ,IAAC,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,EAC3D,SAAS,EAAE,KAAC,QAAQ,IAAC,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,GAC7D,IACO,CACZ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAa,GAAG,EAAE;IAChD,OAAO,CACL,MAAC,GAAG,IACF,EAAE,EAAE;YACF,OAAO,EAAE,MAAM;YACf,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,UAAU;SACvB,aAED,KAAC,QAAQ,IAAC,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,EAClD,KAAC,QAAQ,IAAC,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,IAC9C,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { FormTypeProps } from '../../stores';
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
+
import type { FormTypeProps } from '../../stores/form/types.js';
|
|
3
3
|
export declare const TokenNotFound: React.FC<FormTypeProps>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import { SearchOff } from '@mui/icons-material';
|
|
3
3
|
import { Box, Typography } from '@mui/material';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
|
-
import { useAvailableChains } from '../../hooks';
|
|
6
|
-
import {
|
|
5
|
+
import { useAvailableChains } from '../../hooks/useAvailableChains.js';
|
|
6
|
+
import { FormKeyHelper } from '../../stores/form/types.js';
|
|
7
|
+
import { useFieldValues } from '../../stores/form/useFieldValues.js';
|
|
7
8
|
export const TokenNotFound = ({ formType }) => {
|
|
8
9
|
const { t } = useTranslation();
|
|
9
10
|
const [selectedChainId] = useFieldValues(FormKeyHelper.getChainKey(formType));
|
|
@@ -15,7 +16,7 @@ export const TokenNotFound = ({ formType }) => {
|
|
|
15
16
|
flexDirection: 'column',
|
|
16
17
|
flex: 1,
|
|
17
18
|
padding: 3,
|
|
18
|
-
}, children: [_jsx(Typography, { fontSize: 48, lineHeight: 1, children: _jsx(
|
|
19
|
+
}, children: [_jsx(Typography, { fontSize: 48, lineHeight: 1, children: _jsx(SearchOff, { fontSize: "inherit" }) }), _jsx(Typography, { fontSize: 14, color: "text.secondary", textAlign: "center", mt: 2, px: 2, children: t('info.message.emptyTokenList', {
|
|
19
20
|
chainName: getChainById(selectedChainId)?.name,
|
|
20
21
|
}) })] }));
|
|
21
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenNotFound.js","sourceRoot":"","sources":["../../../components/TokenList/TokenNotFound.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TokenNotFound.js","sourceRoot":"","sources":["../../../components/TokenList/TokenNotFound.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAErE,MAAM,CAAC,MAAM,aAAa,GAA4B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAC;IAC/B,MAAM,CAAC,eAAe,CAAC,GAAG,cAAc,CAAC,aAAa,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC9E,MAAM,EAAE,YAAY,EAAE,GAAG,kBAAkB,EAAE,CAAC;IAC9C,OAAO,CACL,MAAC,GAAG,IACF,EAAE,EAAE;YACF,OAAO,EAAE,MAAM;YACf,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,QAAQ;YACpB,aAAa,EAAE,QAAQ;YACvB,IAAI,EAAE,CAAC;YACP,OAAO,EAAE,CAAC;SACX,aAED,KAAC,UAAU,IAAC,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,YACrC,KAAC,SAAS,IAAC,QAAQ,EAAC,SAAS,GAAG,GACrB,EACb,KAAC,UAAU,IACT,QAAQ,EAAE,EAAE,EACZ,KAAK,EAAC,gBAAgB,EACtB,SAAS,EAAC,QAAQ,EAClB,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,YAEJ,CAAC,CAAC,6BAA6B,EAAE;oBAChC,SAAS,EAAE,YAAY,CAAC,eAAe,CAAC,EAAE,IAAI;iBAC/C,CAAC,GACS,IACT,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { List, Typography } from '@mui/material';
|
|
|
3
3
|
import { useVirtualizer } from '@tanstack/react-virtual';
|
|
4
4
|
import { useEffect } from 'react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
|
-
import { TokenListItem, TokenListItemSkeleton } from './TokenListItem';
|
|
6
|
+
import { TokenListItem, TokenListItemSkeleton } from './TokenListItem.js';
|
|
7
7
|
export const VirtualizedTokenList = ({ account, tokens, scrollElementRef, chainId, chain, isLoading, isBalanceLoading, showCategories, onClick, }) => {
|
|
8
8
|
const { t } = useTranslation();
|
|
9
9
|
const { getVirtualItems, getTotalSize, scrollToIndex } = useVirtualizer({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualizedTokenList.js","sourceRoot":"","sources":["../../../components/TokenList/VirtualizedTokenList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"VirtualizedTokenList.js","sourceRoot":"","sources":["../../../components/TokenList/VirtualizedTokenList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAG1E,MAAM,CAAC,MAAM,oBAAoB,GAAkC,CAAC,EAClE,OAAO,EACP,MAAM,EACN,gBAAgB,EAChB,OAAO,EACP,KAAK,EACL,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,OAAO,GACR,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,C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
2
|
-
export * from './useTokenSelect';
|
|
1
|
+
export * from './TokenList.js';
|
|
2
|
+
export * from './useTokenSelect.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './TokenList';
|
|
2
|
-
export * from './useTokenSelect';
|
|
1
|
+
export * from './TokenList.js';
|
|
2
|
+
export * from './useTokenSelect.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/TokenList/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/TokenList/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
|