@lifi/widget 4.0.0-beta.8 → 4.0.0
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/README.md +200 -16
- package/dist/esm/App.d.ts +9 -3
- package/dist/esm/App.d.ts.map +1 -0
- package/dist/esm/App.js +42 -24
- package/dist/esm/App.js.map +1 -1
- package/dist/esm/AppDefault.js +151 -171
- package/dist/esm/AppDefault.js.map +1 -1
- package/dist/esm/AppDrawer.d.ts +11 -9
- package/dist/esm/AppDrawer.d.ts.map +1 -0
- package/dist/esm/AppDrawer.js +61 -50
- package/dist/esm/AppDrawer.js.map +1 -1
- package/dist/esm/AppDrawerContext.js +7 -3
- package/dist/esm/AppDrawerContext.js.map +1 -1
- package/dist/esm/AppLayout.js +31 -17
- package/dist/esm/AppLayout.js.map +1 -1
- package/dist/esm/AppProvider.js +28 -11
- package/dist/esm/AppProvider.js.map +1 -1
- package/dist/esm/components/ActionRow/ActionRow.js +17 -0
- package/dist/esm/components/ActionRow/ActionRow.js.map +1 -0
- package/dist/esm/components/ActionRow/ActionRow.style.js +21 -0
- package/dist/esm/components/ActionRow/ActionRow.style.js.map +1 -0
- package/dist/esm/components/AmountInput/AmountInput.js +114 -111
- package/dist/esm/components/AmountInput/AmountInput.js.map +1 -1
- package/dist/esm/components/AmountInput/AmountInput.style.js +34 -42
- package/dist/esm/components/AmountInput/AmountInput.style.js.map +1 -1
- package/dist/esm/components/AmountInput/AmountInputEndAdornment.js +62 -53
- package/dist/esm/components/AmountInput/AmountInputEndAdornment.js.map +1 -1
- package/dist/esm/components/AmountInput/AmountInputEndAdornment.style.js +21 -0
- package/dist/esm/components/AmountInput/AmountInputEndAdornment.style.js.map +1 -0
- package/dist/esm/components/AmountInput/AmountInputStartAdornment.js +19 -13
- package/dist/esm/components/AmountInput/AmountInputStartAdornment.js.map +1 -1
- package/dist/esm/components/AmountInput/PriceFormHelperText.js +94 -69
- package/dist/esm/components/AmountInput/PriceFormHelperText.js.map +1 -1
- package/dist/esm/components/AmountInput/PriceFormHelperText.style.js +26 -30
- package/dist/esm/components/AmountInput/PriceFormHelperText.style.js.map +1 -1
- package/dist/esm/components/AppContainer.js +88 -111
- package/dist/esm/components/AppContainer.js.map +1 -1
- package/dist/esm/components/Avatar/AccountAvatar.js +27 -11
- package/dist/esm/components/Avatar/AccountAvatar.js.map +1 -1
- package/dist/esm/components/Avatar/Avatar.js +42 -10
- package/dist/esm/components/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/Avatar/Avatar.style.js +50 -62
- package/dist/esm/components/Avatar/Avatar.style.js.map +1 -1
- package/dist/esm/components/Avatar/ChainBadgeContent.js +15 -8
- package/dist/esm/components/Avatar/ChainBadgeContent.js.map +1 -1
- package/dist/esm/components/Avatar/SmallAvatar.js +17 -11
- package/dist/esm/components/Avatar/SmallAvatar.js.map +1 -1
- package/dist/esm/components/Avatar/TokenAvatar.js +59 -16
- package/dist/esm/components/Avatar/TokenAvatar.js.map +1 -1
- package/dist/esm/components/Avatar/utils.js +6 -3
- package/dist/esm/components/Avatar/utils.js.map +1 -1
- package/dist/esm/components/BaseTransactionButton/BaseTransactionButton.js +48 -43
- package/dist/esm/components/BaseTransactionButton/BaseTransactionButton.js.map +1 -1
- package/dist/esm/components/BottomSheet/BottomSheet.js +44 -31
- package/dist/esm/components/BottomSheet/BottomSheet.js.map +1 -1
- package/dist/esm/components/ButtonTertiary.js +19 -25
- package/dist/esm/components/ButtonTertiary.js.map +1 -1
- package/dist/esm/components/Card/Card.js +63 -69
- package/dist/esm/components/Card/Card.js.map +1 -1
- package/dist/esm/components/Card/CardButton.js +12 -4
- package/dist/esm/components/Card/CardButton.js.map +1 -1
- package/dist/esm/components/Card/CardButton.style.js +25 -21
- package/dist/esm/components/Card/CardButton.style.js.map +1 -1
- package/dist/esm/components/Card/CardHeader.js +24 -20
- package/dist/esm/components/Card/CardHeader.js.map +1 -1
- package/dist/esm/components/Card/CardIconButton.js +12 -10
- package/dist/esm/components/Card/CardIconButton.js.map +1 -1
- package/dist/esm/components/Card/CardLabel.js +59 -58
- package/dist/esm/components/Card/CardLabel.js.map +1 -1
- package/dist/esm/components/Card/CardTitle.js +20 -24
- package/dist/esm/components/Card/CardTitle.js.map +1 -1
- package/dist/esm/components/Card/InputCard.js +9 -5
- package/dist/esm/components/Card/InputCard.js.map +1 -1
- package/dist/esm/components/ChainSelect/ChainSelect.js +121 -59
- package/dist/esm/components/ChainSelect/ChainSelect.js.map +1 -1
- package/dist/esm/components/ChainSelect/ChainSelect.style.js +51 -56
- package/dist/esm/components/ChainSelect/ChainSelect.style.js.map +1 -1
- package/dist/esm/components/ChainSelect/useChainSelect.js +57 -73
- package/dist/esm/components/ChainSelect/useChainSelect.js.map +1 -1
- package/dist/esm/components/Chains/AllChainsAvatar.js +102 -99
- package/dist/esm/components/Chains/AllChainsAvatar.js.map +1 -1
- package/dist/esm/components/Chains/ChainList.js +48 -16
- package/dist/esm/components/Chains/ChainList.js.map +1 -1
- package/dist/esm/components/Chains/ChainList.style.js +38 -40
- package/dist/esm/components/Chains/ChainList.style.js.map +1 -1
- package/dist/esm/components/Chains/ChainListItem.js +53 -21
- package/dist/esm/components/Chains/ChainListItem.js.map +1 -1
- package/dist/esm/components/Chains/ChainsExpanded.js +21 -10
- package/dist/esm/components/Chains/ChainsExpanded.js.map +1 -1
- package/dist/esm/components/Chains/ChainsExpanded.style.js +17 -15
- package/dist/esm/components/Chains/ChainsExpanded.style.js.map +1 -1
- package/dist/esm/components/Chains/PinChainButton.js +40 -31
- package/dist/esm/components/Chains/PinChainButton.js.map +1 -1
- package/dist/esm/components/Chains/SelectChainExpansionContent.js +65 -0
- package/dist/esm/components/Chains/SelectChainExpansionContent.js.map +1 -0
- package/dist/esm/components/Chains/SelectChainPageContent.js +60 -0
- package/dist/esm/components/Chains/SelectChainPageContent.js.map +1 -0
- package/dist/esm/components/Chains/VirtualizedChainList.js +141 -118
- package/dist/esm/components/Chains/VirtualizedChainList.js.map +1 -1
- package/dist/esm/components/ContextMenu.js +59 -0
- package/dist/esm/components/ContextMenu.js.map +1 -0
- package/dist/esm/components/ContextMenu.style.js +12 -0
- package/dist/esm/components/ContextMenu.style.js.map +1 -0
- package/dist/esm/components/ContractComponent/ContractComponent.js +12 -7
- package/dist/esm/components/ContractComponent/ContractComponent.js.map +1 -1
- package/dist/esm/components/ContractComponent/ItemPrice.d.ts +11 -6
- package/dist/esm/components/ContractComponent/ItemPrice.d.ts.map +1 -0
- package/dist/esm/components/ContractComponent/ItemPrice.js +27 -22
- package/dist/esm/components/ContractComponent/ItemPrice.js.map +1 -1
- package/dist/esm/components/ContractComponent/NFT/NFT.d.ts +7 -2
- package/dist/esm/components/ContractComponent/NFT/NFT.d.ts.map +1 -0
- package/dist/esm/components/ContractComponent/NFT/NFT.js +31 -22
- package/dist/esm/components/ContractComponent/NFT/NFT.js.map +1 -1
- package/dist/esm/components/ContractComponent/NFT/NFT.style.js +10 -6
- package/dist/esm/components/ContractComponent/NFT/NFT.style.js.map +1 -1
- package/dist/esm/components/ContractComponent/NFT/NFTBase.d.ts +7 -2
- package/dist/esm/components/ContractComponent/NFT/NFTBase.d.ts.map +1 -0
- package/dist/esm/components/ContractComponent/NFT/NFTBase.js +74 -23
- package/dist/esm/components/ContractComponent/NFT/NFTBase.js.map +1 -1
- package/dist/esm/components/ContractComponent/NFT/types.d.ts +18 -13
- package/dist/esm/components/ContractComponent/NFT/types.d.ts.map +1 -0
- package/dist/esm/components/Dialog/Dialog.js +36 -0
- package/dist/esm/components/Dialog/Dialog.js.map +1 -0
- package/dist/esm/components/Dialog/Dialog.style.js +42 -0
- package/dist/esm/components/Dialog/Dialog.style.js.map +1 -0
- package/dist/esm/components/EmptyListIndicator/EmptyListIndicator.js +12 -0
- package/dist/esm/components/EmptyListIndicator/EmptyListIndicator.js.map +1 -0
- package/dist/esm/components/EmptyListIndicator/EmptyListIndicator.style.js +30 -0
- package/dist/esm/components/EmptyListIndicator/EmptyListIndicator.style.js.map +1 -0
- package/dist/esm/components/ExecutionStatusCard/ExecutionChecklist.js +65 -0
- package/dist/esm/components/ExecutionStatusCard/ExecutionChecklist.js.map +1 -0
- package/dist/esm/components/ExecutionStatusCard/ExecutionStatusCard.js +273 -0
- package/dist/esm/components/ExecutionStatusCard/ExecutionStatusCard.js.map +1 -0
- package/dist/esm/components/ExecutionStatusCard/StaggeredRevealTypography.js +47 -0
- package/dist/esm/components/ExecutionStatusCard/StaggeredRevealTypography.js.map +1 -0
- package/dist/esm/components/ExecutionStatusCard/StatusIcon.js +122 -0
- package/dist/esm/components/ExecutionStatusCard/StatusIcon.js.map +1 -0
- package/dist/esm/components/ExecutionStatusCard/StatusIcon.style.js +14 -0
- package/dist/esm/components/ExecutionStatusCard/StatusIcon.style.js.map +1 -0
- package/dist/esm/components/ExecutionStatusCard/iconKey.js +13 -0
- package/dist/esm/components/ExecutionStatusCard/iconKey.js.map +1 -0
- package/dist/esm/components/Expansion/Expansion.js +30 -28
- package/dist/esm/components/Expansion/Expansion.js.map +1 -1
- package/dist/esm/components/Expansion/Expansion.style.js +36 -36
- package/dist/esm/components/Expansion/Expansion.style.js.map +1 -1
- package/dist/esm/components/Expansion/ExpansionTransition.js +30 -14
- package/dist/esm/components/Expansion/ExpansionTransition.js.map +1 -1
- package/dist/esm/components/FeeBreakdownTooltip.js +37 -15
- package/dist/esm/components/FeeBreakdownTooltip.js.map +1 -1
- package/dist/esm/components/Header/ActivitiesButton.js +61 -0
- package/dist/esm/components/Header/ActivitiesButton.js.map +1 -0
- package/dist/esm/components/Header/ActivitiesButton.style.js +39 -0
- package/dist/esm/components/Header/ActivitiesButton.style.js.map +1 -0
- package/dist/esm/components/Header/BackButton.js +22 -20
- package/dist/esm/components/Header/BackButton.js.map +1 -1
- package/dist/esm/components/Header/CloseDrawerButton.js +22 -13
- package/dist/esm/components/Header/CloseDrawerButton.js.map +1 -1
- package/dist/esm/components/Header/DisconnectIconButton.js +18 -10
- package/dist/esm/components/Header/DisconnectIconButton.js.map +1 -1
- package/dist/esm/components/Header/Header.js +40 -35
- package/dist/esm/components/Header/Header.js.map +1 -1
- package/dist/esm/components/Header/Header.style.js +64 -88
- package/dist/esm/components/Header/Header.style.js.map +1 -1
- package/dist/esm/components/Header/NavigationHeader.js +60 -41
- package/dist/esm/components/Header/NavigationHeader.js.map +1 -1
- package/dist/esm/components/Header/SettingsButton.js +30 -21
- package/dist/esm/components/Header/SettingsButton.js.map +1 -1
- package/dist/esm/components/Header/SettingsButton.style.js +35 -44
- package/dist/esm/components/Header/SettingsButton.style.js.map +1 -1
- package/dist/esm/components/Header/SplitNavigationTabs.js +31 -19
- package/dist/esm/components/Header/SplitNavigationTabs.js.map +1 -1
- package/dist/esm/components/Header/WalletHeader.js +108 -65
- package/dist/esm/components/Header/WalletHeader.js.map +1 -1
- package/dist/esm/components/Header/WalletMenu.js +98 -47
- package/dist/esm/components/Header/WalletMenu.js.map +1 -1
- package/dist/esm/components/Header/WalletMenu.style.js +24 -24
- package/dist/esm/components/Header/WalletMenu.style.js.map +1 -1
- package/dist/esm/components/IconCircle/IconCircle.js +19 -0
- package/dist/esm/components/IconCircle/IconCircle.js.map +1 -0
- package/dist/esm/components/IconCircle/IconCircle.style.js +57 -0
- package/dist/esm/components/IconCircle/IconCircle.style.js.map +1 -0
- package/dist/esm/components/IconCircle/statusIcons.js +15 -0
- package/dist/esm/components/IconCircle/statusIcons.js.map +1 -0
- package/dist/esm/components/IconTypography.js +9 -7
- package/dist/esm/components/IconTypography.js.map +1 -1
- package/dist/esm/components/Initializer.js +8 -4
- package/dist/esm/components/Initializer.js.map +1 -1
- package/dist/esm/components/Input.js +13 -9
- package/dist/esm/components/Input.js.map +1 -1
- package/dist/esm/components/ListItem/ListItem.js +21 -19
- package/dist/esm/components/ListItem/ListItem.js.map +1 -1
- package/dist/esm/components/ListItem/ListItemButton.js +11 -7
- package/dist/esm/components/ListItem/ListItemButton.js.map +1 -1
- package/dist/esm/components/ListItemButton.js +28 -34
- package/dist/esm/components/ListItemButton.js.map +1 -1
- package/dist/esm/components/ListItemText.js +6 -6
- package/dist/esm/components/ListItemText.js.map +1 -1
- package/dist/esm/components/Menu.js +20 -20
- package/dist/esm/components/Menu.js.map +1 -1
- package/dist/esm/components/Messages/AccountDeployedMessage.js +25 -11
- package/dist/esm/components/Messages/AccountDeployedMessage.js.map +1 -1
- package/dist/esm/components/Messages/AccountNotDeployedMessage.js +22 -8
- package/dist/esm/components/Messages/AccountNotDeployedMessage.js.map +1 -1
- package/dist/esm/components/Messages/AlertMessage.js +15 -3
- package/dist/esm/components/Messages/AlertMessage.js.map +1 -1
- package/dist/esm/components/Messages/AlertMessage.style.js +35 -51
- package/dist/esm/components/Messages/AlertMessage.style.js.map +1 -1
- package/dist/esm/components/Messages/FundsSufficiencyMessage.js +22 -10
- package/dist/esm/components/Messages/FundsSufficiencyMessage.js.map +1 -1
- package/dist/esm/components/Messages/GasRefuelMessage.js +61 -31
- package/dist/esm/components/Messages/GasRefuelMessage.js.map +1 -1
- package/dist/esm/components/Messages/GasRefuelMessage.style.js +16 -20
- package/dist/esm/components/Messages/GasRefuelMessage.style.js.map +1 -1
- package/dist/esm/components/Messages/GasSufficiencyMessage.js +41 -21
- package/dist/esm/components/Messages/GasSufficiencyMessage.js.map +1 -1
- package/dist/esm/components/Messages/MinFromAmountUSDMessage.js +25 -13
- package/dist/esm/components/Messages/MinFromAmountUSDMessage.js.map +1 -1
- package/dist/esm/components/Messages/MissingRouteRequiredAccountMessage.js +29 -18
- package/dist/esm/components/Messages/MissingRouteRequiredAccountMessage.js.map +1 -1
- package/dist/esm/components/Messages/WarningMessages.js +43 -33
- package/dist/esm/components/Messages/WarningMessages.js.map +1 -1
- package/dist/esm/components/Messages/useMessageQueue.js +66 -82
- package/dist/esm/components/Messages/useMessageQueue.js.map +1 -1
- package/dist/esm/components/NotFound.js +42 -24
- package/dist/esm/components/NotFound.js.map +1 -1
- package/dist/esm/components/PageContainer.js +18 -16
- package/dist/esm/components/PageContainer.js.map +1 -1
- package/dist/esm/components/PageEntered.js +15 -11
- package/dist/esm/components/PageEntered.js.map +1 -1
- package/dist/esm/components/PoweredBy/PoweredBy.js +55 -32
- package/dist/esm/components/PoweredBy/PoweredBy.js.map +1 -1
- package/dist/esm/components/PoweredBy/PoweredBy.style.js +10 -8
- package/dist/esm/components/PoweredBy/PoweredBy.style.js.map +1 -1
- package/dist/esm/components/ProgressToNextUpdate.js +64 -47
- package/dist/esm/components/ProgressToNextUpdate.js.map +1 -1
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.js +37 -40
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.js.map +1 -1
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.style.js +29 -25
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.style.js.map +1 -1
- package/dist/esm/components/RouteCard/RouteCard.js +84 -67
- package/dist/esm/components/RouteCard/RouteCard.js.map +1 -1
- package/dist/esm/components/RouteCard/RouteCardEssentials.js +90 -45
- package/dist/esm/components/RouteCard/RouteCardEssentials.js.map +1 -1
- package/dist/esm/components/RouteCard/RouteCardSkeleton.js +51 -21
- package/dist/esm/components/RouteCard/RouteCardSkeleton.js.map +1 -1
- package/dist/esm/components/RouteCard/RouteDetails.js +100 -0
- package/dist/esm/components/RouteCard/RouteDetails.js.map +1 -0
- package/dist/esm/components/RouteCard/RouteDetails.style.js +35 -0
- package/dist/esm/components/RouteCard/RouteDetails.style.js.map +1 -0
- package/dist/esm/components/RouteCard/RouteNotFoundCard.js +43 -25
- package/dist/esm/components/RouteCard/RouteNotFoundCard.js.map +1 -1
- package/dist/esm/components/RouteCard/RouteToken.js +49 -0
- package/dist/esm/components/RouteCard/RouteToken.js.map +1 -0
- package/dist/esm/components/RouteCard/RouteToken.style.js +11 -0
- package/dist/esm/components/RouteCard/RouteToken.style.js.map +1 -0
- package/dist/esm/components/RouteCard/RouteTokens.js +50 -0
- package/dist/esm/components/RouteCard/RouteTokens.js.map +1 -0
- package/dist/esm/components/RouteCard/getMatchingLabels.js +22 -34
- package/dist/esm/components/RouteCard/getMatchingLabels.js.map +1 -1
- package/dist/esm/components/Routes/Routes.js +68 -43
- package/dist/esm/components/Routes/Routes.js.map +1 -1
- package/dist/esm/components/Routes/RoutesContent.js +72 -38
- package/dist/esm/components/Routes/RoutesContent.js.map +1 -1
- package/dist/esm/components/Routes/RoutesExpanded.js +67 -51
- package/dist/esm/components/Routes/RoutesExpanded.js.map +1 -1
- package/dist/esm/components/Routes/RoutesExpanded.style.js +31 -34
- package/dist/esm/components/Routes/RoutesExpanded.style.js.map +1 -1
- package/dist/esm/components/Search/SearchInput.js +44 -23
- package/dist/esm/components/Search/SearchInput.js.map +1 -1
- package/dist/esm/components/Search/SearchInput.style.js +25 -61
- package/dist/esm/components/Search/SearchInput.style.js.map +1 -1
- package/dist/esm/components/Search/SearchNotFound.js +8 -4
- package/dist/esm/components/Search/SearchNotFound.js.map +1 -1
- package/dist/esm/components/Search/SearchNotFound.style.js +24 -26
- package/dist/esm/components/Search/SearchNotFound.style.js.map +1 -1
- package/dist/esm/components/SelectChainAndToken.js +34 -28
- package/dist/esm/components/SelectChainAndToken.js.map +1 -1
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.js +68 -55
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.js.map +1 -1
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.style.js +63 -107
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.style.js.map +1 -1
- package/dist/esm/components/SendToWallet/SendToWalletButton.js +113 -98
- package/dist/esm/components/SendToWallet/SendToWalletButton.js.map +1 -1
- package/dist/esm/components/SendToWallet/SendToWalletButton.style.js +53 -0
- package/dist/esm/components/SendToWallet/SendToWalletButton.style.js.map +1 -0
- package/dist/esm/components/SendToWallet/SendToWalletExpandButton.js +47 -39
- package/dist/esm/components/SendToWallet/SendToWalletExpandButton.js.map +1 -1
- package/dist/esm/components/SettingsListItemButton.js +7 -5
- package/dist/esm/components/SettingsListItemButton.js.map +1 -1
- package/dist/esm/components/Skeleton/WidgetSkeleton.d.ts +10 -2
- package/dist/esm/components/Skeleton/WidgetSkeleton.d.ts.map +1 -0
- package/dist/esm/components/Skeleton/WidgetSkeleton.js +119 -26
- package/dist/esm/components/Skeleton/WidgetSkeleton.js.map +1 -1
- package/dist/esm/components/Skeleton/WidgetSkeleton.style.js +63 -63
- package/dist/esm/components/Skeleton/WidgetSkeleton.style.js.map +1 -1
- package/dist/esm/components/Step/StepActions.js +198 -0
- package/dist/esm/components/Step/StepActions.js.map +1 -0
- package/dist/esm/components/Step/StepActions.style.js +27 -0
- package/dist/esm/components/Step/StepActions.style.js.map +1 -0
- package/dist/esm/components/StepActions/SentToWalletRow.js +49 -0
- package/dist/esm/components/StepActions/SentToWalletRow.js.map +1 -0
- package/dist/esm/components/StepActions/SentToWalletRow.style.js +26 -0
- package/dist/esm/components/StepActions/SentToWalletRow.style.js.map +1 -0
- package/dist/esm/components/StepActions/StepActionRow.js +27 -0
- package/dist/esm/components/StepActions/StepActionRow.js.map +1 -0
- package/dist/esm/components/StepActions/StepActionRow.style.js +17 -0
- package/dist/esm/components/StepActions/StepActionRow.style.js.map +1 -0
- package/dist/esm/components/StepActions/StepActionsList.js +23 -0
- package/dist/esm/components/StepActions/StepActionsList.js.map +1 -0
- package/dist/esm/components/StepActions/executionRows.js +67 -0
- package/dist/esm/components/StepActions/executionRows.js.map +1 -0
- package/dist/esm/components/Switch.js +45 -49
- package/dist/esm/components/Switch.js.map +1 -1
- package/dist/esm/components/Tabs/NavigationTabs.js +34 -34
- package/dist/esm/components/Tabs/NavigationTabs.js.map +1 -1
- package/dist/esm/components/Tabs/Tabs.style.js +28 -34
- package/dist/esm/components/Tabs/Tabs.style.js.map +1 -1
- package/dist/esm/components/TextFitter/TextFitter.js +58 -52
- package/dist/esm/components/TextFitter/TextFitter.js.map +1 -1
- package/dist/esm/components/Timer/ExecutionTimerText.js +10 -0
- package/dist/esm/components/Timer/ExecutionTimerText.js.map +1 -0
- package/dist/esm/components/Timer/StepStatusTimer.js +56 -0
- package/dist/esm/components/Timer/StepStatusTimer.js.map +1 -0
- package/dist/esm/components/Timer/StepStatusTimer.style.js +67 -0
- package/dist/esm/components/Timer/StepStatusTimer.style.js.map +1 -0
- package/dist/esm/components/Token/Token.js +200 -102
- package/dist/esm/components/Token/Token.js.map +1 -1
- package/dist/esm/components/Token/Token.style.js +27 -30
- package/dist/esm/components/Token/Token.style.js.map +1 -1
- package/dist/esm/components/TokenList/PinTokenButton.js +34 -27
- package/dist/esm/components/TokenList/PinTokenButton.js.map +1 -1
- package/dist/esm/components/TokenList/TokenDetailsSheet.js +35 -22
- package/dist/esm/components/TokenList/TokenDetailsSheet.js.map +1 -1
- package/dist/esm/components/TokenList/TokenDetailsSheetContent.js +174 -87
- package/dist/esm/components/TokenList/TokenDetailsSheetContent.js.map +1 -1
- package/dist/esm/components/TokenList/TokenDetailsSheetContent.style.js +27 -23
- package/dist/esm/components/TokenList/TokenDetailsSheetContent.style.js.map +1 -1
- package/dist/esm/components/TokenList/TokenList.js +63 -39
- package/dist/esm/components/TokenList/TokenList.js.map +1 -1
- package/dist/esm/components/TokenList/TokenList.style.js +26 -26
- package/dist/esm/components/TokenList/TokenList.style.js.map +1 -1
- package/dist/esm/components/TokenList/TokenListItem.js +265 -121
- package/dist/esm/components/TokenList/TokenListItem.js.map +1 -1
- package/dist/esm/components/TokenList/TokenNotFound.js +10 -6
- package/dist/esm/components/TokenList/TokenNotFound.js.map +1 -1
- package/dist/esm/components/TokenList/VirtualizedTokenList.js +121 -140
- package/dist/esm/components/TokenList/VirtualizedTokenList.js.map +1 -1
- package/dist/esm/components/TokenList/useTokenSelect.js +76 -98
- package/dist/esm/components/TokenList/useTokenSelect.js.map +1 -1
- package/dist/esm/components/TokenRate/TokenRate.js +34 -35
- package/dist/esm/components/TokenRate/TokenRate.js.map +1 -1
- package/dist/esm/components/TokenRate/TokenRate.style.js +17 -15
- package/dist/esm/components/TokenRate/TokenRate.style.js.map +1 -1
- package/dist/esm/components/Tools/ToolItem.js +35 -14
- package/dist/esm/components/Tools/ToolItem.js.map +1 -1
- package/dist/esm/components/Tools/Tools.js +48 -30
- package/dist/esm/components/Tools/Tools.js.map +1 -1
- package/dist/esm/components/TransactionCard/ActiveTransactionCard.js +68 -0
- package/dist/esm/components/TransactionCard/ActiveTransactionCard.js.map +1 -0
- package/dist/esm/components/TransactionCard/ActiveTransactionCard.style.js +21 -0
- package/dist/esm/components/TransactionCard/ActiveTransactionCard.style.js.map +1 -0
- package/dist/esm/components/TransactionCard/TransactionCard.js +32 -0
- package/dist/esm/components/TransactionCard/TransactionCard.js.map +1 -0
- package/dist/esm/components/TransactionCard/TransactionCard.style.js +14 -0
- package/dist/esm/components/TransactionCard/TransactionCard.style.js.map +1 -0
- package/dist/esm/components/TransactionCard/TransactionCardSkeleton.js +63 -0
- package/dist/esm/components/TransactionCard/TransactionCardSkeleton.js.map +1 -0
- package/dist/esm/config/constants.d.ts +5 -2
- package/dist/esm/config/constants.d.ts.map +1 -0
- package/dist/esm/config/constants.js +6 -2
- package/dist/esm/config/constants.js.map +1 -1
- package/dist/esm/config/queryClient.js +17 -20
- package/dist/esm/config/queryClient.js.map +1 -1
- package/dist/esm/config/version.d.ts +6 -2
- package/dist/esm/config/version.d.ts.map +1 -0
- package/dist/esm/config/version.js +6 -2
- package/dist/esm/config/version.js.map +1 -1
- package/dist/esm/hooks/timer/time.js +23 -22
- package/dist/esm/hooks/timer/time.js.map +1 -1
- package/dist/esm/hooks/timer/useExecutionTimer.js +29 -0
- package/dist/esm/hooks/timer/useExecutionTimer.js.map +1 -0
- package/dist/esm/hooks/timer/useInterval.js +17 -16
- package/dist/esm/hooks/timer/useInterval.js.map +1 -1
- package/dist/esm/hooks/timer/useTimer.js +64 -65
- package/dist/esm/hooks/timer/useTimer.js.map +1 -1
- package/dist/esm/hooks/timer/validate.js +12 -12
- package/dist/esm/hooks/timer/validate.js.map +1 -1
- package/dist/esm/hooks/useAccountsBalancesData.js +66 -60
- package/dist/esm/hooks/useAccountsBalancesData.js.map +1 -1
- package/dist/esm/hooks/useActionMessage.js +16 -16
- package/dist/esm/hooks/useActionMessage.js.map +1 -1
- package/dist/esm/hooks/useAddressActivity.js +34 -30
- package/dist/esm/hooks/useAddressActivity.js.map +1 -1
- package/dist/esm/hooks/useAddressValidation.js +48 -57
- package/dist/esm/hooks/useAddressValidation.js.map +1 -1
- package/dist/esm/hooks/useAvailableChains.js +65 -73
- package/dist/esm/hooks/useAvailableChains.js.map +1 -1
- package/dist/esm/hooks/useChain.js +13 -10
- package/dist/esm/hooks/useChain.js.map +1 -1
- package/dist/esm/hooks/useChainSearch.js +39 -0
- package/dist/esm/hooks/useChainSearch.js.map +1 -0
- package/dist/esm/hooks/useChains.js +24 -21
- package/dist/esm/hooks/useChains.js.map +1 -1
- package/dist/esm/hooks/useContactSupport.js +15 -0
- package/dist/esm/hooks/useContactSupport.js.map +1 -0
- package/dist/esm/hooks/useDebouncedWatch.js +26 -24
- package/dist/esm/hooks/useDebouncedWatch.js.map +1 -1
- package/dist/esm/hooks/useDefaultElementId.js +8 -4
- package/dist/esm/hooks/useDefaultElementId.js.map +1 -1
- package/dist/esm/hooks/useExplorer.js +57 -53
- package/dist/esm/hooks/useExplorer.js.map +1 -1
- package/dist/esm/hooks/useFilteredByTokenBalances.js +69 -85
- package/dist/esm/hooks/useFilteredByTokenBalances.js.map +1 -1
- package/dist/esm/hooks/useFromAmountThreshold.js +27 -21
- package/dist/esm/hooks/useFromAmountThreshold.js.map +1 -1
- package/dist/esm/hooks/useFromTokenSufficiency.js +54 -62
- package/dist/esm/hooks/useFromTokenSufficiency.js.map +1 -1
- package/dist/esm/hooks/useGasRecommendation.js +36 -40
- package/dist/esm/hooks/useGasRecommendation.js.map +1 -1
- package/dist/esm/hooks/useGasRefuel.js +43 -60
- package/dist/esm/hooks/useGasRefuel.js.map +1 -1
- package/dist/esm/hooks/useGasSufficiency.js +102 -148
- package/dist/esm/hooks/useGasSufficiency.js.map +1 -1
- package/dist/esm/hooks/useHasChainExpansion.js +15 -22
- package/dist/esm/hooks/useHasChainExpansion.js.map +1 -1
- package/dist/esm/hooks/useHeader.js +21 -17
- package/dist/esm/hooks/useHeader.js.map +1 -1
- package/dist/esm/hooks/useInitializeSDKProviders.js +13 -9
- package/dist/esm/hooks/useInitializeSDKProviders.js.map +1 -1
- package/dist/esm/hooks/useInitializer.js +16 -12
- package/dist/esm/hooks/useInitializer.js.map +1 -1
- package/dist/esm/hooks/useIsBatchingSupported.js +35 -31
- package/dist/esm/hooks/useIsBatchingSupported.js.map +1 -1
- package/dist/esm/hooks/useIsContractAddress.js +28 -21
- package/dist/esm/hooks/useIsContractAddress.js.map +1 -1
- package/dist/esm/hooks/useLanguages.js +51 -60
- package/dist/esm/hooks/useLanguages.js.map +1 -1
- package/dist/esm/hooks/useListHeight.js +46 -59
- package/dist/esm/hooks/useListHeight.js.map +1 -1
- package/dist/esm/hooks/useLongPress.js +38 -39
- package/dist/esm/hooks/useLongPress.js.map +1 -1
- package/dist/esm/hooks/useNavigateBack.js +16 -14
- package/dist/esm/hooks/useNavigateBack.js.map +1 -1
- package/dist/esm/hooks/usePacedRouteExecution.js +30 -0
- package/dist/esm/hooks/usePacedRouteExecution.js.map +1 -0
- package/dist/esm/hooks/usePacedValue.js +42 -0
- package/dist/esm/hooks/usePacedValue.js.map +1 -0
- package/dist/esm/hooks/useRouteExecution.js +154 -189
- package/dist/esm/hooks/useRouteExecution.js.map +1 -1
- package/dist/esm/hooks/useRouteExecutionMessage.js +61 -0
- package/dist/esm/hooks/useRouteExecutionMessage.js.map +1 -0
- package/dist/esm/hooks/useRouteRequiredAccountConnection.js +35 -43
- package/dist/esm/hooks/useRouteRequiredAccountConnection.js.map +1 -1
- package/dist/esm/hooks/useRoutes.js +301 -393
- package/dist/esm/hooks/useRoutes.js.map +1 -1
- package/dist/esm/hooks/useScrollableContainer.js +10 -30
- package/dist/esm/hooks/useScrollableContainer.js.map +1 -1
- package/dist/esm/hooks/useSetContentHeight.js +21 -21
- package/dist/esm/hooks/useSetContentHeight.js.map +1 -1
- package/dist/esm/hooks/useSettingMonitor.js +49 -53
- package/dist/esm/hooks/useSettingMonitor.js.map +1 -1
- package/dist/esm/hooks/useSwapOnly.js +7 -4
- package/dist/esm/hooks/useSwapOnly.js.map +1 -1
- package/dist/esm/hooks/useToAddressAutoPopulate.js +48 -67
- package/dist/esm/hooks/useToAddressAutoPopulate.js.map +1 -1
- package/dist/esm/hooks/useToAddressRequirements.js +39 -56
- package/dist/esm/hooks/useToAddressRequirements.js.map +1 -1
- package/dist/esm/hooks/useToAddressReset.js +27 -43
- package/dist/esm/hooks/useToAddressReset.js.map +1 -1
- package/dist/esm/hooks/useToken.js +21 -18
- package/dist/esm/hooks/useToken.js.map +1 -1
- package/dist/esm/hooks/useTokenAddressBalance.js +19 -15
- package/dist/esm/hooks/useTokenAddressBalance.js.map +1 -1
- package/dist/esm/hooks/useTokenBalance.js +90 -89
- package/dist/esm/hooks/useTokenBalance.js.map +1 -1
- package/dist/esm/hooks/useTokenBalances.js +109 -127
- package/dist/esm/hooks/useTokenBalances.js.map +1 -1
- package/dist/esm/hooks/useTokenBalancesQueries.js +61 -74
- package/dist/esm/hooks/useTokenBalancesQueries.js.map +1 -1
- package/dist/esm/hooks/useTokenRateText.js +36 -0
- package/dist/esm/hooks/useTokenRateText.js.map +1 -0
- package/dist/esm/hooks/useTokenSearch.js +46 -53
- package/dist/esm/hooks/useTokenSearch.js.map +1 -1
- package/dist/esm/hooks/useTokens.js +98 -103
- package/dist/esm/hooks/useTokens.js.map +1 -1
- package/dist/esm/hooks/useTools.js +40 -36
- package/dist/esm/hooks/useTools.js.map +1 -1
- package/dist/esm/hooks/useTransactionDetails.js +47 -60
- package/dist/esm/hooks/useTransactionDetails.js.map +1 -1
- package/dist/esm/hooks/useTransactionHistory.js +66 -59
- package/dist/esm/hooks/useTransactionHistory.js.map +1 -1
- package/dist/esm/hooks/useTransactionList.js +57 -0
- package/dist/esm/hooks/useTransactionList.js.map +1 -0
- package/dist/esm/hooks/useWideVariant.js +10 -6
- package/dist/esm/hooks/useWideVariant.js.map +1 -1
- package/dist/esm/hooks/useWidgetChains.d.ts +11 -5
- package/dist/esm/hooks/useWidgetChains.d.ts.map +1 -0
- package/dist/esm/hooks/useWidgetChains.js +7 -3
- package/dist/esm/hooks/useWidgetChains.js.map +1 -1
- package/dist/esm/hooks/useWidgetEvents.d.ts +10 -4
- package/dist/esm/hooks/useWidgetEvents.d.ts.map +1 -0
- package/dist/esm/hooks/useWidgetEvents.js +7 -7
- package/dist/esm/hooks/useWidgetEvents.js.map +1 -1
- package/dist/esm/i18n/bn.json +350 -345
- package/dist/esm/i18n/de.json +350 -345
- package/dist/esm/i18n/en.json +348 -345
- package/dist/esm/i18n/es.json +350 -345
- package/dist/esm/i18n/fr.json +350 -345
- package/dist/esm/i18n/hi.json +350 -345
- package/dist/esm/i18n/id.json +350 -345
- package/dist/esm/i18n/it.json +350 -345
- package/dist/esm/i18n/ja.json +350 -345
- package/dist/esm/i18n/ko.json +350 -345
- package/dist/esm/i18n/pl.json +350 -345
- package/dist/esm/i18n/pt.json +350 -345
- package/dist/esm/i18n/th.json +350 -345
- package/dist/esm/i18n/tr.json +350 -345
- package/dist/esm/i18n/uk.json +350 -345
- package/dist/esm/i18n/vi.json +350 -345
- package/dist/esm/i18n/zh.json +350 -345
- package/dist/esm/index.d.ts +33 -33
- package/dist/esm/index.js +28 -31
- package/dist/esm/pages/ActivitiesPage/ActiveTransactionItem.js +36 -0
- package/dist/esm/pages/ActivitiesPage/ActiveTransactionItem.js.map +1 -0
- package/dist/esm/pages/ActivitiesPage/ActivitiesPage.js +101 -0
- package/dist/esm/pages/ActivitiesPage/ActivitiesPage.js.map +1 -0
- package/dist/esm/pages/ActivitiesPage/ActivitiesPageMenuButton.js +55 -0
- package/dist/esm/pages/ActivitiesPage/ActivitiesPageMenuButton.js.map +1 -0
- package/dist/esm/pages/ActivitiesPage/TransactionHistoryEmpty.js +17 -0
- package/dist/esm/pages/ActivitiesPage/TransactionHistoryEmpty.js.map +1 -0
- package/dist/esm/pages/ActivitiesPage/TransactionHistoryItem.js +24 -0
- package/dist/esm/pages/ActivitiesPage/TransactionHistoryItem.js.map +1 -0
- package/dist/esm/pages/LanguagesPage.js +29 -27
- package/dist/esm/pages/LanguagesPage.js.map +1 -1
- package/dist/esm/pages/MainPage/MainPage.js +57 -45
- package/dist/esm/pages/MainPage/MainPage.js.map +1 -1
- package/dist/esm/pages/MainPage/MainWarningMessages.js +14 -7
- package/dist/esm/pages/MainPage/MainWarningMessages.js.map +1 -1
- package/dist/esm/pages/MainPage/ReviewButton.js +58 -66
- package/dist/esm/pages/MainPage/ReviewButton.js.map +1 -1
- package/dist/esm/pages/RoutesPage/RoutesPage.js +72 -42
- package/dist/esm/pages/RoutesPage/RoutesPage.js.map +1 -1
- package/dist/esm/pages/RoutesPage/RoutesPage.style.js +8 -4
- package/dist/esm/pages/RoutesPage/RoutesPage.style.js.map +1 -1
- package/dist/esm/pages/SelectChainPage/SelectChainPage.js +33 -24
- package/dist/esm/pages/SelectChainPage/SelectChainPage.js.map +1 -1
- package/dist/esm/pages/SelectEnabledToolsPage.js +102 -54
- package/dist/esm/pages/SelectEnabledToolsPage.js.map +1 -1
- package/dist/esm/pages/SelectTokenPage/SearchTokenInput.js +38 -28
- package/dist/esm/pages/SelectTokenPage/SearchTokenInput.js.map +1 -1
- package/dist/esm/pages/SelectTokenPage/SelectTokenPage.js +44 -45
- package/dist/esm/pages/SelectTokenPage/SelectTokenPage.js.map +1 -1
- package/dist/esm/pages/SendToWallet/BookmarkAddressSheet.js +174 -115
- package/dist/esm/pages/SendToWallet/BookmarkAddressSheet.js.map +1 -1
- package/dist/esm/pages/SendToWallet/BookmarksPage.js +122 -96
- package/dist/esm/pages/SendToWallet/BookmarksPage.js.map +1 -1
- package/dist/esm/pages/SendToWallet/ConfirmAddressSheet.js +79 -42
- package/dist/esm/pages/SendToWallet/ConfirmAddressSheet.js.map +1 -1
- package/dist/esm/pages/SendToWallet/ConnectedWalletsPage.js +104 -94
- package/dist/esm/pages/SendToWallet/ConnectedWalletsPage.js.map +1 -1
- package/dist/esm/pages/SendToWallet/RecentWalletsPage.js +122 -109
- package/dist/esm/pages/SendToWallet/RecentWalletsPage.js.map +1 -1
- package/dist/esm/pages/SendToWallet/SendToConfiguredWalletPage.js +82 -76
- package/dist/esm/pages/SendToWallet/SendToConfiguredWalletPage.js.map +1 -1
- package/dist/esm/pages/SendToWallet/SendToWalletPage.js +235 -159
- package/dist/esm/pages/SendToWallet/SendToWalletPage.js.map +1 -1
- package/dist/esm/pages/SendToWallet/SendToWalletPage.style.js +88 -122
- package/dist/esm/pages/SendToWallet/SendToWalletPage.style.js.map +1 -1
- package/dist/esm/pages/SettingsPage/BridgeAndExchangeSettings.js +45 -37
- package/dist/esm/pages/SettingsPage/BridgeAndExchangeSettings.js.map +1 -1
- package/dist/esm/pages/SettingsPage/GasPriceSettings.js +54 -18
- package/dist/esm/pages/SettingsPage/GasPriceSettings.js.map +1 -1
- package/dist/esm/pages/SettingsPage/LanguageSetting.js +29 -27
- package/dist/esm/pages/SettingsPage/LanguageSetting.js.map +1 -1
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.js +62 -32
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.js.map +1 -1
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.style.js +10 -8
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.style.js.map +1 -1
- package/dist/esm/pages/SettingsPage/RoutePrioritySettings.js +46 -22
- package/dist/esm/pages/SettingsPage/RoutePrioritySettings.js.map +1 -1
- package/dist/esm/pages/SettingsPage/SettingsCard/BadgedValue.js +12 -4
- package/dist/esm/pages/SettingsPage/SettingsCard/BadgedValue.js.map +1 -1
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCard.style.js +20 -17
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCard.style.js.map +1 -1
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js +45 -17
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js.map +1 -1
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingsAccordian.js +33 -27
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingsAccordian.js.map +1 -1
- package/dist/esm/pages/SettingsPage/SettingsPage.js +37 -21
- package/dist/esm/pages/SettingsPage/SettingsPage.js.map +1 -1
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js +89 -74
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js.map +1 -1
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js +55 -69
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js.map +1 -1
- package/dist/esm/pages/SettingsPage/SmallBalanceFilterSettings.js +73 -56
- package/dist/esm/pages/SettingsPage/SmallBalanceFilterSettings.js.map +1 -1
- package/dist/esm/pages/SettingsPage/ThemeSettings.js +56 -33
- package/dist/esm/pages/SettingsPage/ThemeSettings.js.map +1 -1
- package/dist/esm/pages/TransactionDetailsPage/ContactSupportButton.js +14 -20
- package/dist/esm/pages/TransactionDetailsPage/ContactSupportButton.js.map +1 -1
- package/dist/esm/pages/TransactionDetailsPage/ContactSupportButton.style.js +14 -0
- package/dist/esm/pages/TransactionDetailsPage/ContactSupportButton.style.js.map +1 -0
- package/dist/esm/pages/TransactionDetailsPage/ReceiptsCard.js +28 -0
- package/dist/esm/pages/TransactionDetailsPage/ReceiptsCard.js.map +1 -0
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsPage.js +82 -85
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsPage.js.map +1 -1
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js +78 -31
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js.map +1 -1
- package/dist/esm/pages/TransactionDetailsPage/TransferIdCard.js +63 -30
- package/dist/esm/pages/TransactionDetailsPage/TransferIdCard.js.map +1 -1
- package/dist/esm/pages/TransactionPage/ConfirmToAddressSheet.js +77 -35
- package/dist/esm/pages/TransactionPage/ConfirmToAddressSheet.js.map +1 -1
- package/dist/esm/pages/TransactionPage/ExchangeRateBottomSheet.js +142 -91
- package/dist/esm/pages/TransactionPage/ExchangeRateBottomSheet.js.map +1 -1
- package/dist/esm/pages/TransactionPage/ExchangeRateBottomSheet.style.js +11 -0
- package/dist/esm/pages/TransactionPage/ExchangeRateBottomSheet.style.js.map +1 -0
- package/dist/esm/pages/TransactionPage/ExecutionDoneCard.js +38 -0
- package/dist/esm/pages/TransactionPage/ExecutionDoneCard.js.map +1 -0
- package/dist/esm/pages/TransactionPage/RouteTracker.js +45 -37
- package/dist/esm/pages/TransactionPage/RouteTracker.js.map +1 -1
- package/dist/esm/pages/TransactionPage/StartTransactionButton.js +19 -10
- package/dist/esm/pages/TransactionPage/StartTransactionButton.js.map +1 -1
- package/dist/esm/pages/TransactionPage/TokenValueBottomSheet.js +79 -72
- package/dist/esm/pages/TransactionPage/TokenValueBottomSheet.js.map +1 -1
- package/dist/esm/pages/TransactionPage/TokenValueBottomSheet.style.js +44 -0
- package/dist/esm/pages/TransactionPage/TokenValueBottomSheet.style.js.map +1 -0
- package/dist/esm/pages/TransactionPage/TransactionContent.js +21 -0
- package/dist/esm/pages/TransactionPage/TransactionContent.js.map +1 -0
- package/dist/esm/pages/TransactionPage/TransactionDoneButtons.js +46 -0
- package/dist/esm/pages/TransactionPage/TransactionDoneButtons.js.map +1 -0
- package/dist/esm/pages/TransactionPage/TransactionExecutionContent.js +78 -0
- package/dist/esm/pages/TransactionPage/TransactionExecutionContent.js.map +1 -0
- package/dist/esm/pages/TransactionPage/TransactionFailedButtons.js +80 -0
- package/dist/esm/pages/TransactionPage/TransactionFailedButtons.js.map +1 -0
- package/dist/esm/pages/TransactionPage/TransactionPage.js +77 -160
- package/dist/esm/pages/TransactionPage/TransactionPage.js.map +1 -1
- package/dist/esm/pages/TransactionPage/TransactionReview.js +115 -0
- package/dist/esm/pages/TransactionPage/TransactionReview.js.map +1 -0
- package/dist/esm/pages/TransactionPage/utils.js +9 -8
- package/dist/esm/pages/TransactionPage/utils.js.map +1 -1
- package/dist/esm/providers/I18nProvider/I18nProvider.js +79 -93
- package/dist/esm/providers/I18nProvider/I18nProvider.js.map +1 -1
- package/dist/esm/providers/I18nProvider/constants.js +40 -36
- package/dist/esm/providers/I18nProvider/constants.js.map +1 -1
- package/dist/esm/providers/I18nProvider/enResource.d.ts +2 -2
- package/dist/esm/providers/I18nProvider/enResource.js +2 -4
- package/dist/esm/providers/I18nProvider/i18n.js +15 -24
- package/dist/esm/providers/I18nProvider/i18n.js.map +1 -1
- package/dist/esm/providers/I18nProvider/types.d.ts +11 -10
- package/dist/esm/providers/I18nProvider/types.d.ts.map +1 -0
- package/dist/esm/providers/QueryClientProvider.js +13 -7
- package/dist/esm/providers/QueryClientProvider.js.map +1 -1
- package/dist/esm/providers/SDKClientProvider.js +40 -34
- package/dist/esm/providers/SDKClientProvider.js.map +1 -1
- package/dist/esm/providers/ThemeProvider/ThemeProvider.js +23 -16
- package/dist/esm/providers/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/esm/providers/WalletProvider/WalletProvider.js +36 -31
- package/dist/esm/providers/WalletProvider/WalletProvider.js.map +1 -1
- package/dist/esm/providers/WalletProvider/useExternalWalletProvider.js +41 -49
- package/dist/esm/providers/WalletProvider/useExternalWalletProvider.js.map +1 -1
- package/dist/esm/providers/WidgetProvider/WidgetProvider.js +41 -36
- package/dist/esm/providers/WidgetProvider/WidgetProvider.js.map +1 -1
- package/dist/esm/stores/StoreProvider.js +36 -13
- package/dist/esm/stores/StoreProvider.js.map +1 -1
- package/dist/esm/stores/bookmarks/BookmarkStore.js +24 -18
- package/dist/esm/stores/bookmarks/BookmarkStore.js.map +1 -1
- package/dist/esm/stores/bookmarks/createBookmarkStore.js +41 -52
- package/dist/esm/stores/bookmarks/createBookmarkStore.js.map +1 -1
- package/dist/esm/stores/bookmarks/types.d.ts +23 -18
- package/dist/esm/stores/bookmarks/types.d.ts.map +1 -0
- package/dist/esm/stores/bookmarks/useBookmarkActions.js +15 -12
- package/dist/esm/stores/bookmarks/useBookmarkActions.js.map +1 -1
- package/dist/esm/stores/bookmarks/useBookmarks.js +16 -8
- package/dist/esm/stores/bookmarks/useBookmarks.js.map +1 -1
- package/dist/esm/stores/chains/ChainOrderStore.js +76 -113
- package/dist/esm/stores/chains/ChainOrderStore.js.map +1 -1
- package/dist/esm/stores/chains/createChainOrderStore.js +82 -101
- package/dist/esm/stores/chains/createChainOrderStore.js.map +1 -1
- package/dist/esm/stores/chains/useChainOrder.js +9 -10
- package/dist/esm/stores/chains/useChainOrder.js.map +1 -1
- package/dist/esm/stores/form/FormStore.js +68 -88
- package/dist/esm/stores/form/FormStore.js.map +1 -1
- package/dist/esm/stores/form/FormStoreContext.js +6 -2
- package/dist/esm/stores/form/FormStoreContext.js.map +1 -1
- package/dist/esm/stores/form/FormUpdater.js +33 -42
- package/dist/esm/stores/form/FormUpdater.js.map +1 -1
- package/dist/esm/stores/form/URLSearchParamsBuilder.js +75 -87
- package/dist/esm/stores/form/URLSearchParamsBuilder.js.map +1 -1
- package/dist/esm/stores/form/createFormStore.js +165 -175
- package/dist/esm/stores/form/createFormStore.js.map +1 -1
- package/dist/esm/stores/form/getDefaultValuesFromQueryString.js +20 -30
- package/dist/esm/stores/form/getDefaultValuesFromQueryString.js.map +1 -1
- package/dist/esm/stores/form/types.d.ts +64 -72
- package/dist/esm/stores/form/types.d.ts.map +1 -0
- package/dist/esm/stores/form/types.js +8 -4
- package/dist/esm/stores/form/types.js.map +1 -1
- package/dist/esm/stores/form/useClearAmountFields.js +14 -0
- package/dist/esm/stores/form/useClearAmountFields.js.map +1 -0
- package/dist/esm/stores/form/useFieldActions.d.ts +7 -11
- package/dist/esm/stores/form/useFieldActions.d.ts.map +1 -0
- package/dist/esm/stores/form/useFieldActions.js +59 -51
- package/dist/esm/stores/form/useFieldActions.js.map +1 -1
- package/dist/esm/stores/form/useFieldValues.d.ts +7 -2
- package/dist/esm/stores/form/useFieldValues.d.ts.map +1 -0
- package/dist/esm/stores/form/useFieldValues.js +7 -5
- package/dist/esm/stores/form/useFieldValues.js.map +1 -1
- package/dist/esm/stores/form/useFormRef.js +34 -43
- package/dist/esm/stores/form/useFormRef.js.map +1 -1
- package/dist/esm/stores/form/useFormStore.js +11 -9
- package/dist/esm/stores/form/useFormStore.js.map +1 -1
- package/dist/esm/stores/form/useTouchedFields.js +7 -4
- package/dist/esm/stores/form/useTouchedFields.js.map +1 -1
- package/dist/esm/stores/header/useHeaderStore.js +52 -75
- package/dist/esm/stores/header/useHeaderStore.js.map +1 -1
- package/dist/esm/stores/inputMode/useInputModeStore.js +18 -17
- package/dist/esm/stores/inputMode/useInputModeStore.js.map +1 -1
- package/dist/esm/stores/pinnedTokens/PinnedTokensStore.js +19 -16
- package/dist/esm/stores/pinnedTokens/PinnedTokensStore.js.map +1 -1
- package/dist/esm/stores/pinnedTokens/createPinnedTokensStore.js +54 -58
- package/dist/esm/stores/pinnedTokens/createPinnedTokensStore.js.map +1 -1
- package/dist/esm/stores/routes/RouteExecutionStore.js +21 -19
- package/dist/esm/stores/routes/RouteExecutionStore.js.map +1 -1
- package/dist/esm/stores/routes/createRouteExecutionStore.js +82 -116
- package/dist/esm/stores/routes/createRouteExecutionStore.js.map +1 -1
- package/dist/esm/stores/routes/useIntermediateRoutesStore.js +17 -14
- package/dist/esm/stores/routes/useIntermediateRoutesStore.js.map +1 -1
- package/dist/esm/stores/routes/useRouteExecutionIndicator.js +23 -0
- package/dist/esm/stores/routes/useRouteExecutionIndicator.js.map +1 -0
- package/dist/esm/stores/routes/useSetExecutableRoute.js +7 -3
- package/dist/esm/stores/routes/useSetExecutableRoute.js.map +1 -1
- package/dist/esm/stores/routes/utils.js +27 -34
- package/dist/esm/stores/routes/utils.js.map +1 -1
- package/dist/esm/stores/settings/SettingsStore.js +21 -19
- package/dist/esm/stores/settings/SettingsStore.js.map +1 -1
- package/dist/esm/stores/settings/createSettingsStore.js +120 -153
- package/dist/esm/stores/settings/createSettingsStore.js.map +1 -1
- package/dist/esm/stores/settings/types.d.ts +24 -54
- package/dist/esm/stores/settings/types.d.ts.map +1 -0
- package/dist/esm/stores/settings/types.js +5 -1
- package/dist/esm/stores/settings/types.js.map +1 -1
- package/dist/esm/stores/settings/useSettings.js +10 -6
- package/dist/esm/stores/settings/useSettings.js.map +1 -1
- package/dist/esm/stores/settings/useSettingsActions.js +66 -80
- package/dist/esm/stores/settings/useSettingsActions.js.map +1 -1
- package/dist/esm/stores/settings/useSplitModeStore.js +36 -0
- package/dist/esm/stores/settings/useSplitModeStore.js.map +1 -0
- package/dist/esm/stores/settings/utils/getStateValues.js +18 -14
- package/dist/esm/stores/settings/utils/getStateValues.js.map +1 -1
- package/dist/esm/themes/azureLight.d.ts +7 -2
- package/dist/esm/themes/azureLight.d.ts.map +1 -0
- package/dist/esm/themes/azureLight.js +39 -58
- package/dist/esm/themes/azureLight.js.map +1 -1
- package/dist/esm/themes/createTheme.d.ts +8 -2
- package/dist/esm/themes/createTheme.d.ts.map +1 -0
- package/dist/esm/themes/createTheme.js +304 -420
- package/dist/esm/themes/createTheme.js.map +1 -1
- package/dist/esm/themes/jumper.d.ts +7 -2
- package/dist/esm/themes/jumper.d.ts.map +1 -0
- package/dist/esm/themes/jumper.js +56 -74
- package/dist/esm/themes/jumper.js.map +1 -1
- package/dist/esm/themes/palettes.d.ts +51 -47
- package/dist/esm/themes/palettes.d.ts.map +1 -0
- package/dist/esm/themes/palettes.js +39 -47
- package/dist/esm/themes/palettes.js.map +1 -1
- package/dist/esm/themes/types.d.ts +65 -73
- package/dist/esm/themes/types.d.ts.map +1 -0
- package/dist/esm/themes/utils.js +11 -7
- package/dist/esm/themes/utils.js.map +1 -1
- package/dist/esm/themes/watermelonLight.d.ts +7 -2
- package/dist/esm/themes/watermelonLight.d.ts.map +1 -0
- package/dist/esm/themes/watermelonLight.js +43 -77
- package/dist/esm/themes/watermelonLight.js.map +1 -1
- package/dist/esm/themes/windows95.d.ts +7 -2
- package/dist/esm/themes/windows95.d.ts.map +1 -0
- package/dist/esm/themes/windows95.js +74 -124
- package/dist/esm/themes/windows95.js.map +1 -1
- package/dist/esm/types/events.d.ts +85 -93
- package/dist/esm/types/events.d.ts.map +1 -0
- package/dist/esm/types/events.js +25 -25
- package/dist/esm/types/events.js.map +1 -1
- package/dist/esm/types/token.d.ts +11 -14
- package/dist/esm/types/token.d.ts.map +1 -0
- package/dist/esm/types/widget.d.ts +298 -281
- package/dist/esm/types/widget.d.ts.map +1 -0
- package/dist/esm/types/widget.js +10 -44
- package/dist/esm/types/widget.js.map +1 -1
- package/dist/esm/utils/chainType.js +12 -8
- package/dist/esm/utils/chainType.js.map +1 -1
- package/dist/esm/utils/compactNumberFormatter.d.ts +13 -9
- package/dist/esm/utils/compactNumberFormatter.d.ts.map +1 -0
- package/dist/esm/utils/compactNumberFormatter.js +61 -75
- package/dist/esm/utils/compactNumberFormatter.js.map +1 -1
- package/dist/esm/utils/converters.js +164 -188
- package/dist/esm/utils/converters.js.map +1 -1
- package/dist/esm/utils/currencyExtendedFormatter.d.ts +5 -1
- package/dist/esm/utils/currencyExtendedFormatter.d.ts.map +1 -0
- package/dist/esm/utils/currencyExtendedFormatter.js +13 -11
- package/dist/esm/utils/currencyExtendedFormatter.js.map +1 -1
- package/dist/esm/utils/deepEqual.js +29 -49
- package/dist/esm/utils/deepEqual.js.map +1 -1
- package/dist/esm/utils/deepMerge.js +11 -13
- package/dist/esm/utils/deepMerge.js.map +1 -1
- package/dist/esm/utils/elements.js +9 -14
- package/dist/esm/utils/elements.js.map +1 -1
- package/dist/esm/utils/enum.js +5 -1
- package/dist/esm/utils/enum.js.map +1 -1
- package/dist/esm/utils/fees.js +66 -74
- package/dist/esm/utils/fees.js.map +1 -1
- package/dist/esm/utils/format.d.ts +26 -22
- package/dist/esm/utils/format.d.ts.map +1 -0
- package/dist/esm/utils/format.js +85 -130
- package/dist/esm/utils/format.js.map +1 -1
- package/dist/esm/utils/getActionMessage.js +62 -105
- package/dist/esm/utils/getActionMessage.js.map +1 -1
- package/dist/esm/utils/getErrorMessage.js +115 -116
- package/dist/esm/utils/getErrorMessage.js.map +1 -1
- package/dist/esm/utils/getPriceImpact.d.ts +16 -7
- package/dist/esm/utils/getPriceImpact.d.ts.map +1 -0
- package/dist/esm/utils/getPriceImpact.js +10 -9
- package/dist/esm/utils/getPriceImpact.js.map +1 -1
- package/dist/esm/utils/input.js +21 -25
- package/dist/esm/utils/input.js.map +1 -1
- package/dist/esm/utils/item.js +22 -31
- package/dist/esm/utils/item.js.map +1 -1
- package/dist/esm/utils/navigationRoutes.d.ts +25 -26
- package/dist/esm/utils/navigationRoutes.d.ts.map +1 -0
- package/dist/esm/utils/navigationRoutes.js +61 -60
- package/dist/esm/utils/navigationRoutes.js.map +1 -1
- package/dist/esm/utils/percentFormatter.d.ts +10 -6
- package/dist/esm/utils/percentFormatter.d.ts.map +1 -0
- package/dist/esm/utils/percentFormatter.js +20 -20
- package/dist/esm/utils/percentFormatter.js.map +1 -1
- package/dist/esm/utils/prepareActions.js +17 -20
- package/dist/esm/utils/prepareActions.js.map +1 -1
- package/dist/esm/utils/queries.js +5 -1
- package/dist/esm/utils/queries.js.map +1 -1
- package/dist/esm/utils/timer.js +21 -21
- package/dist/esm/utils/timer.js.map +1 -1
- package/dist/esm/utils/token.js +53 -67
- package/dist/esm/utils/token.js.map +1 -1
- package/dist/esm/utils/tokenList.js +140 -197
- package/dist/esm/utils/tokenList.js.map +1 -1
- package/dist/esm/utils/variant.js +8 -8
- package/dist/esm/utils/variant.js.map +1 -1
- package/dist/esm/utils/wallet.js +5 -3
- package/dist/esm/utils/wallet.js.map +1 -1
- package/dist/esm/utils/widgetSize.js +9 -9
- package/dist/esm/utils/widgetSize.js.map +1 -1
- package/package.json +15 -14
- package/src/App.tsx +4 -1
- package/src/AppDefault.tsx +29 -46
- package/src/AppDrawer.tsx +77 -72
- package/src/AppDrawerContext.ts +3 -2
- package/src/components/ActionRow/ActionRow.style.tsx +21 -0
- package/src/components/ActionRow/ActionRow.tsx +25 -0
- package/src/components/AmountInput/AmountInput.style.tsx +22 -12
- package/src/components/AmountInput/AmountInput.tsx +5 -11
- package/src/components/AmountInput/AmountInputEndAdornment.style.ts +22 -0
- package/src/components/AmountInput/AmountInputEndAdornment.tsx +74 -70
- package/src/components/AmountInput/PriceFormHelperText.style.tsx +29 -27
- package/src/components/AmountInput/PriceFormHelperText.tsx +17 -15
- package/src/components/AppContainer.tsx +26 -36
- package/src/components/Avatar/AccountAvatar.tsx +2 -1
- package/src/components/Avatar/Avatar.style.tsx +22 -6
- package/src/components/Avatar/SmallAvatar.tsx +4 -1
- package/src/components/BaseTransactionButton/BaseTransactionButton.tsx +2 -0
- package/src/components/BaseTransactionButton/types.ts +2 -0
- package/src/components/BottomSheet/BottomSheet.tsx +5 -2
- package/src/components/ButtonTertiary.tsx +22 -20
- package/src/components/Card/Card.tsx +62 -60
- package/src/components/Card/CardButton.style.tsx +27 -23
- package/src/components/Card/CardHeader.tsx +22 -20
- package/src/components/Card/CardIconButton.tsx +8 -3
- package/src/components/Card/CardLabel.tsx +21 -3
- package/src/components/Card/CardTitle.tsx +4 -1
- package/src/components/Card/InputCard.tsx +8 -4
- package/src/components/ChainSelect/ChainSelect.style.tsx +17 -6
- package/src/components/ChainSelect/ChainSelect.tsx +111 -103
- package/src/components/ChainSelect/useChainSelect.ts +22 -13
- package/src/components/Chains/AllChainsAvatar.tsx +12 -6
- package/src/components/Chains/ChainList.style.tsx +37 -13
- package/src/components/Chains/ChainList.tsx +3 -8
- package/src/components/Chains/ChainListItem.tsx +59 -57
- package/src/components/Chains/ChainsExpanded.style.tsx +4 -1
- package/src/components/Chains/ChainsExpanded.tsx +15 -16
- package/src/components/Chains/PinChainButton.tsx +5 -1
- package/src/components/Chains/SelectChainExpansionContent.tsx +84 -0
- package/src/components/Chains/SelectChainPageContent.tsx +66 -0
- package/src/components/Chains/VirtualizedChainList.tsx +2 -2
- package/src/components/ContextMenu.style.tsx +13 -0
- package/src/components/ContextMenu.tsx +75 -0
- package/src/components/ContractComponent/ItemPrice.tsx +1 -1
- package/src/components/ContractComponent/NFT/NFT.style.ts +8 -6
- package/src/components/ContractComponent/NFT/NFTBase.tsx +1 -1
- package/src/components/Dialog/Dialog.style.tsx +59 -0
- package/src/components/{Dialog.tsx → Dialog/Dialog.tsx} +3 -3
- package/src/components/EmptyListIndicator/EmptyListIndicator.style.tsx +38 -0
- package/src/components/EmptyListIndicator/EmptyListIndicator.tsx +25 -0
- package/src/components/ExecutionStatusCard/ExecutionChecklist.tsx +61 -0
- package/src/components/ExecutionStatusCard/ExecutionStatusCard.tsx +242 -0
- package/src/components/ExecutionStatusCard/StaggeredRevealTypography.tsx +59 -0
- package/src/components/ExecutionStatusCard/StatusIcon.style.tsx +13 -0
- package/src/components/ExecutionStatusCard/StatusIcon.tsx +99 -0
- package/src/components/ExecutionStatusCard/iconKey.ts +37 -0
- package/src/components/Expansion/Expansion.style.tsx +4 -1
- package/src/components/Expansion/Expansion.tsx +2 -2
- package/src/components/Expansion/ExpansionTransition.tsx +2 -2
- package/src/components/Header/ActivitiesButton.style.tsx +67 -0
- package/src/components/Header/ActivitiesButton.tsx +59 -0
- package/src/components/Header/CloseDrawerButton.tsx +4 -1
- package/src/components/Header/DisconnectIconButton.tsx +6 -1
- package/src/components/Header/Header.style.ts +25 -9
- package/src/components/Header/Header.tsx +1 -1
- package/src/components/Header/NavigationHeader.tsx +5 -12
- package/src/components/Header/SettingsButton.style.tsx +15 -10
- package/src/components/Header/SettingsButton.tsx +2 -1
- package/src/components/Header/SplitNavigationTabs.tsx +4 -3
- package/src/components/Header/WalletHeader.tsx +2 -3
- package/src/components/Header/WalletMenu.style.tsx +4 -1
- package/src/components/Header/WalletMenu.tsx +6 -1
- package/src/components/IconCircle/IconCircle.style.tsx +85 -0
- package/src/components/IconCircle/IconCircle.tsx +29 -0
- package/src/components/IconCircle/statusIcons.ts +14 -0
- package/src/components/IconTypography.ts +5 -3
- package/src/components/Input.tsx +4 -1
- package/src/components/ListItem/ListItem.tsx +22 -19
- package/src/components/ListItem/ListItemButton.tsx +4 -1
- package/src/components/ListItemButton.tsx +5 -2
- package/src/components/ListItemText.tsx +4 -1
- package/src/components/Menu.tsx +4 -1
- package/src/components/Messages/AlertMessage.style.tsx +11 -6
- package/src/components/Messages/AlertMessage.tsx +3 -3
- package/src/components/Messages/GasRefuelMessage.style.ts +16 -14
- package/src/components/Messages/WarningMessages.tsx +0 -3
- package/src/components/Messages/useMessageQueue.ts +10 -12
- package/src/components/PageContainer.ts +5 -2
- package/src/components/PoweredBy/PoweredBy.style.ts +4 -1
- package/src/components/ReverseTokensButton/ReverseTokensButton.style.tsx +16 -10
- package/src/components/ReverseTokensButton/ReverseTokensButton.tsx +3 -9
- package/src/components/RouteCard/RouteCard.tsx +16 -52
- package/src/components/RouteCard/RouteCardEssentials.tsx +5 -3
- package/src/components/RouteCard/RouteCardSkeleton.tsx +3 -3
- package/src/components/RouteCard/RouteDetails.style.tsx +43 -0
- package/src/components/RouteCard/RouteDetails.tsx +214 -0
- package/src/components/RouteCard/RouteToken.style.tsx +9 -0
- package/src/components/RouteCard/RouteToken.tsx +68 -0
- package/src/components/RouteCard/RouteTokens.tsx +56 -0
- package/src/components/RouteCard/getMatchingLabels.ts +5 -0
- package/src/components/RouteCard/types.ts +2 -2
- package/src/components/Routes/Routes.tsx +5 -6
- package/src/components/Routes/RoutesContent.tsx +84 -81
- package/src/components/Routes/RoutesExpanded.style.ts +18 -17
- package/src/components/Routes/RoutesExpanded.tsx +77 -74
- package/src/components/Search/SearchInput.style.tsx +4 -43
- package/src/components/Search/SearchInput.tsx +8 -14
- package/src/components/Search/SearchNotFound.style.tsx +17 -20
- package/src/components/Search/SearchNotFound.tsx +3 -4
- package/src/components/SelectChainAndToken.tsx +17 -48
- package/src/components/SelectTokenButton/SelectTokenButton.style.tsx +53 -69
- package/src/components/SelectTokenButton/SelectTokenButton.tsx +10 -19
- package/src/components/SendToWallet/{SendToWallet.style.tsx → SendToWalletButton.style.tsx} +28 -2
- package/src/components/SendToWallet/SendToWalletButton.tsx +26 -19
- package/src/components/SendToWallet/SendToWalletExpandButton.tsx +45 -49
- package/src/components/SettingsListItemButton.tsx +6 -5
- package/src/components/Skeleton/WidgetSkeleton.style.tsx +45 -25
- package/src/components/Skeleton/WidgetSkeleton.tsx +11 -9
- package/src/components/Step/StepActions.style.tsx +33 -0
- package/src/components/Step/StepActions.tsx +329 -0
- package/src/components/StepActions/SentToWalletRow.style.tsx +29 -0
- package/src/components/StepActions/SentToWalletRow.tsx +56 -0
- package/src/components/StepActions/StepActionRow.style.tsx +18 -0
- package/src/components/StepActions/StepActionRow.tsx +30 -0
- package/src/components/StepActions/StepActionsList.tsx +40 -0
- package/src/components/StepActions/executionRows.tsx +86 -0
- package/src/components/Switch.tsx +6 -3
- package/src/components/Tabs/NavigationTabs.tsx +36 -31
- package/src/components/Tabs/Tabs.style.tsx +10 -5
- package/src/components/Timer/ExecutionTimerText.tsx +10 -0
- package/src/components/Timer/StepStatusTimer.style.tsx +98 -0
- package/src/components/Timer/StepStatusTimer.tsx +85 -0
- package/src/components/Token/Token.style.tsx +12 -4
- package/src/components/Token/Token.tsx +5 -5
- package/src/components/TokenList/PinTokenButton.tsx +2 -1
- package/src/components/TokenList/TokenDetailsSheet.tsx +4 -1
- package/src/components/TokenList/TokenDetailsSheetContent.style.tsx +16 -10
- package/src/components/TokenList/TokenDetailsSheetContent.tsx +176 -172
- package/src/components/TokenList/TokenList.style.tsx +26 -21
- package/src/components/TokenList/TokenListItem.tsx +2 -2
- package/src/components/TokenList/VirtualizedTokenList.tsx +1 -0
- package/src/components/TokenList/useTokenSelect.ts +15 -15
- package/src/components/TokenRate/TokenRate.style.ts +4 -1
- package/src/components/Tools/ToolItem.tsx +4 -5
- package/src/components/Tools/Tools.tsx +11 -11
- package/src/components/TransactionCard/ActiveTransactionCard.style.tsx +24 -0
- package/src/components/TransactionCard/ActiveTransactionCard.tsx +81 -0
- package/src/components/TransactionCard/TransactionCard.style.tsx +14 -0
- package/src/components/TransactionCard/TransactionCard.tsx +37 -0
- package/src/components/TransactionCard/TransactionCardSkeleton.tsx +68 -0
- package/src/config/queryClient.ts +1 -1
- package/src/config/version.ts +1 -1
- package/src/hooks/timer/useExecutionTimer.ts +21 -0
- package/src/hooks/timer/useInterval.ts +1 -1
- package/src/hooks/timer/validate.ts +2 -2
- package/src/hooks/useAccountsBalancesData.ts +4 -1
- package/src/hooks/useActionMessage.ts +6 -5
- package/src/hooks/useAddressValidation.ts +7 -2
- package/src/hooks/useAvailableChains.ts +6 -1
- package/src/hooks/useChain.ts +11 -1
- package/src/hooks/useChainSearch.ts +70 -0
- package/src/hooks/useChains.ts +12 -2
- package/src/hooks/useContactSupport.ts +16 -0
- package/src/hooks/useDebouncedWatch.ts +2 -2
- package/src/hooks/useDefaultElementId.ts +1 -1
- package/src/hooks/useExplorer.ts +78 -61
- package/src/hooks/useFilteredByTokenBalances.ts +4 -1
- package/src/hooks/useFromAmountThreshold.ts +4 -1
- package/src/hooks/useFromTokenSufficiency.ts +7 -2
- package/src/hooks/useGasRecommendation.ts +3 -3
- package/src/hooks/useGasRefuel.ts +9 -3
- package/src/hooks/useGasSufficiency.ts +8 -4
- package/src/hooks/useHasChainExpansion.ts +8 -5
- package/src/hooks/useHeader.ts +1 -1
- package/src/hooks/useInitializeSDKProviders.ts +2 -2
- package/src/hooks/useInitializer.ts +1 -1
- package/src/hooks/useIsBatchingSupported.ts +4 -1
- package/src/hooks/useLanguages.ts +6 -2
- package/src/hooks/useListHeight.ts +2 -2
- package/src/hooks/useLongPress.ts +10 -1
- package/src/hooks/useNavigateBack.ts +2 -2
- package/src/hooks/usePacedRouteExecution.ts +45 -0
- package/src/hooks/usePacedValue.ts +45 -0
- package/src/hooks/useRouteExecution.ts +35 -30
- package/src/hooks/useRouteExecutionMessage.ts +100 -0
- package/src/hooks/useRouteRequiredAccountConnection.ts +5 -1
- package/src/hooks/useRoutes.ts +32 -20
- package/src/hooks/useScrollableContainer.ts +5 -18
- package/src/hooks/useSetContentHeight.ts +2 -2
- package/src/hooks/useSettingMonitor.ts +15 -3
- package/src/hooks/useSwapOnly.ts +3 -3
- package/src/hooks/useToAddressAutoPopulate.ts +3 -5
- package/src/hooks/useToAddressRequirements.ts +28 -14
- package/src/hooks/useToAddressReset.ts +7 -24
- package/src/hooks/useToken.ts +5 -1
- package/src/hooks/useTokenAddressBalance.ts +7 -2
- package/src/hooks/useTokenBalance.ts +10 -1
- package/src/hooks/useTokenBalances.ts +10 -3
- package/src/hooks/useTokenBalancesQueries.ts +5 -1
- package/src/hooks/useTokenRateText.ts +55 -0
- package/src/hooks/useTokenSearch.ts +4 -1
- package/src/hooks/useTokens.ts +8 -1
- package/src/hooks/useTools.ts +1 -1
- package/src/hooks/useTransactionDetails.ts +6 -1
- package/src/hooks/useTransactionHistory.ts +54 -12
- package/src/hooks/useTransactionList.ts +83 -0
- package/src/hooks/useWideVariant.ts +3 -3
- package/src/hooks/useWidgetChains.ts +11 -1
- package/src/hooks/useWidgetEvents.ts +4 -9
- package/src/index.ts +5 -1
- package/src/pages/ActivitiesPage/ActiveTransactionItem.tsx +43 -0
- package/src/pages/ActivitiesPage/ActivitiesPage.tsx +148 -0
- package/src/pages/ActivitiesPage/ActivitiesPageMenuButton.tsx +71 -0
- package/src/pages/ActivitiesPage/TransactionHistoryEmpty.tsx +14 -0
- package/src/pages/ActivitiesPage/TransactionHistoryItem.tsx +30 -0
- package/src/pages/ActivitiesPage/types.ts +16 -0
- package/src/pages/LanguagesPage.tsx +1 -4
- package/src/pages/MainPage/MainPage.tsx +15 -20
- package/src/pages/MainPage/ReviewButton.tsx +8 -7
- package/src/pages/RoutesPage/RoutesPage.style.ts +4 -1
- package/src/pages/RoutesPage/RoutesPage.tsx +8 -3
- package/src/pages/SelectChainPage/SelectChainPage.tsx +2 -8
- package/src/pages/SelectEnabledToolsPage.tsx +31 -35
- package/src/pages/SelectTokenPage/SearchTokenInput.tsx +4 -2
- package/src/pages/SelectTokenPage/SelectTokenPage.tsx +9 -12
- package/src/pages/SendToWallet/BookmarkAddressSheet.tsx +184 -172
- package/src/pages/SendToWallet/BookmarksPage.tsx +64 -116
- package/src/pages/SendToWallet/ConfirmAddressSheet.tsx +4 -9
- package/src/pages/SendToWallet/ConnectedWalletsPage.tsx +59 -97
- package/src/pages/SendToWallet/RecentWalletsPage.tsx +68 -124
- package/src/pages/SendToWallet/SendToConfiguredWalletPage.tsx +45 -91
- package/src/pages/SendToWallet/SendToWalletPage.style.tsx +61 -82
- package/src/pages/SendToWallet/SendToWalletPage.tsx +5 -7
- package/src/pages/SettingsPage/BridgeAndExchangeSettings.tsx +1 -2
- package/src/pages/SettingsPage/LanguageSetting.tsx +1 -2
- package/src/pages/SettingsPage/ResetSettingsButton.style.tsx +10 -8
- package/src/pages/SettingsPage/ResetSettingsButton.tsx +20 -18
- package/src/pages/SettingsPage/SettingsCard/SettingCard.style.tsx +7 -2
- package/src/pages/SettingsPage/SettingsCard/SettingCardExpandable.tsx +12 -2
- package/src/pages/SettingsPage/SettingsCard/SettingsAccordian.tsx +6 -3
- package/src/pages/SettingsPage/SettingsPage.tsx +4 -6
- package/src/pages/SettingsPage/SlippageSettings/SlippageSettings.style.tsx +60 -55
- package/src/pages/SettingsPage/ThemeSettings.tsx +1 -2
- package/src/pages/TransactionDetailsPage/ContactSupportButton.style.tsx +12 -0
- package/src/pages/TransactionDetailsPage/ContactSupportButton.tsx +7 -18
- package/src/pages/TransactionDetailsPage/ReceiptsCard.tsx +22 -0
- package/src/pages/TransactionDetailsPage/TransactionDetailsPage.tsx +31 -74
- package/src/pages/TransactionDetailsPage/TransactionDetailsSkeleton.tsx +3 -2
- package/src/pages/TransactionDetailsPage/TransferIdCard.tsx +16 -9
- package/src/pages/TransactionPage/ConfirmToAddressSheet.tsx +4 -5
- package/src/pages/TransactionPage/ExchangeRateBottomSheet.style.tsx +9 -0
- package/src/pages/TransactionPage/ExchangeRateBottomSheet.tsx +55 -56
- package/src/pages/TransactionPage/ExecutionDoneCard.tsx +43 -0
- package/src/pages/TransactionPage/RouteTracker.tsx +2 -2
- package/src/pages/TransactionPage/TokenValueBottomSheet.style.tsx +60 -0
- package/src/pages/TransactionPage/TokenValueBottomSheet.tsx +83 -138
- package/src/pages/TransactionPage/TransactionContent.tsx +42 -0
- package/src/pages/TransactionPage/TransactionDoneButtons.tsx +70 -0
- package/src/pages/TransactionPage/TransactionExecutionContent.tsx +93 -0
- package/src/pages/TransactionPage/TransactionFailedButtons.tsx +105 -0
- package/src/pages/TransactionPage/TransactionPage.tsx +38 -202
- package/src/pages/TransactionPage/TransactionReview.tsx +163 -0
- package/src/pages/TransactionPage/utils.ts +2 -2
- package/src/providers/I18nProvider/I18nProvider.tsx +0 -1
- package/src/providers/I18nProvider/i18n.ts +2 -2
- package/src/providers/SDKClientProvider.tsx +6 -5
- package/src/providers/WalletProvider/WalletProvider.tsx +8 -2
- package/src/providers/WalletProvider/useExternalWalletProvider.ts +9 -1
- package/src/stores/StoreProvider.tsx +6 -6
- package/src/stores/bookmarks/BookmarkStore.tsx +1 -1
- package/src/stores/bookmarks/createBookmarkStore.ts +2 -1
- package/src/stores/bookmarks/useBookmarkActions.ts +1 -1
- package/src/stores/chains/ChainOrderStore.tsx +5 -9
- package/src/stores/chains/createChainOrderStore.ts +6 -3
- package/src/stores/form/FormStoreContext.ts +3 -2
- package/src/stores/form/FormUpdater.tsx +0 -6
- package/src/stores/form/URLSearchParamsBuilder.tsx +0 -4
- package/src/stores/form/createFormStore.ts +4 -1
- package/src/stores/form/useClearAmountFields.ts +10 -0
- package/src/stores/form/useFieldActions.ts +7 -2
- package/src/stores/form/useFieldValues.ts +3 -1
- package/src/stores/form/useFormRef.ts +25 -11
- package/src/stores/form/useTouchedFields.ts +2 -1
- package/src/stores/header/useHeaderStore.tsx +6 -4
- package/src/stores/inputMode/useInputModeStore.ts +20 -18
- package/src/stores/pinnedTokens/PinnedTokensStore.tsx +1 -1
- package/src/stores/pinnedTokens/createPinnedTokensStore.ts +4 -1
- package/src/stores/routes/RouteExecutionStore.tsx +3 -3
- package/src/stores/routes/createRouteExecutionStore.ts +59 -44
- package/src/stores/routes/types.ts +4 -1
- package/src/stores/routes/useIntermediateRoutesStore.ts +17 -16
- package/src/stores/routes/useRouteExecutionIndicator.ts +43 -0
- package/src/stores/routes/useSetExecutableRoute.ts +5 -3
- package/src/stores/routes/utils.ts +7 -7
- package/src/stores/settings/SettingsStore.tsx +3 -2
- package/src/stores/settings/createSettingsStore.ts +5 -10
- package/src/stores/settings/types.ts +8 -17
- package/src/stores/settings/useSettingsActions.ts +14 -6
- package/src/stores/settings/useSplitModeStore.tsx +58 -0
- package/src/themes/azureLight.ts +2 -2
- package/src/themes/createTheme.ts +28 -35
- package/src/themes/jumper.ts +1 -1
- package/src/themes/types.ts +0 -12
- package/src/themes/utils.ts +1 -1
- package/src/themes/watermelonLight.ts +2 -2
- package/src/types/events.ts +26 -31
- package/src/types/widget.ts +83 -67
- package/src/utils/compactNumberFormatter.ts +1 -1
- package/src/utils/converters.ts +4 -2
- package/src/utils/currencyExtendedFormatter.ts +1 -1
- package/src/utils/deepEqual.ts +1 -1
- package/src/utils/deepMerge.ts +2 -2
- package/src/utils/elements.ts +8 -6
- package/src/utils/enum.ts +4 -2
- package/src/utils/fees.ts +8 -2
- package/src/utils/format.ts +8 -5
- package/src/utils/getActionMessage.ts +13 -18
- package/src/utils/getErrorMessage.ts +1 -1
- package/src/utils/getPriceImpact.ts +1 -1
- package/src/utils/input.ts +1 -1
- package/src/utils/item.ts +1 -1
- package/src/utils/navigationRoutes.ts +6 -9
- package/src/utils/percentFormatter.ts +4 -1
- package/src/utils/timer.ts +10 -0
- package/src/utils/token.ts +16 -1
- package/src/utils/tokenList.ts +8 -4
- package/src/utils/variant.ts +4 -7
- package/src/utils/wallet.ts +1 -1
- package/dist/esm/AppDefault.d.ts +0 -9
- package/dist/esm/AppDrawerContext.d.ts +0 -5
- package/dist/esm/AppLayout.d.ts +0 -1
- package/dist/esm/AppProvider.d.ts +0 -3
- package/dist/esm/components/ActiveTransactions/ActiveTransactionItem.d.ts +0 -4
- package/dist/esm/components/ActiveTransactions/ActiveTransactionItem.js +0 -65
- package/dist/esm/components/ActiveTransactions/ActiveTransactionItem.js.map +0 -1
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.d.ts +0 -2
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.js +0 -24
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.js.map +0 -1
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.d.ts +0 -2
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.js +0 -22
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.js.map +0 -1
- package/dist/esm/components/AmountInput/AmountInput.d.ts +0 -3
- package/dist/esm/components/AmountInput/AmountInput.style.d.ts +0 -9
- package/dist/esm/components/AmountInput/AmountInputAdornment.style.d.ts +0 -2
- package/dist/esm/components/AmountInput/AmountInputAdornment.style.js +0 -67
- package/dist/esm/components/AmountInput/AmountInputAdornment.style.js.map +0 -1
- package/dist/esm/components/AmountInput/AmountInputEndAdornment.d.ts +0 -2
- package/dist/esm/components/AmountInput/AmountInputStartAdornment.d.ts +0 -2
- package/dist/esm/components/AmountInput/PriceFormHelperText.d.ts +0 -2
- package/dist/esm/components/AmountInput/PriceFormHelperText.style.d.ts +0 -1
- package/dist/esm/components/AppContainer.d.ts +0 -10
- package/dist/esm/components/Avatar/AccountAvatar.d.ts +0 -10
- package/dist/esm/components/Avatar/Avatar.d.ts +0 -11
- package/dist/esm/components/Avatar/Avatar.style.d.ts +0 -15
- package/dist/esm/components/Avatar/ChainBadgeContent.d.ts +0 -7
- package/dist/esm/components/Avatar/SmallAvatar.d.ts +0 -8
- package/dist/esm/components/Avatar/TokenAvatar.d.ts +0 -10
- package/dist/esm/components/Avatar/utils.d.ts +0 -1
- package/dist/esm/components/BaseTransactionButton/BaseTransactionButton.d.ts +0 -2
- package/dist/esm/components/BaseTransactionButton/types.d.ts +0 -8
- package/dist/esm/components/BaseTransactionButton/types.js +0 -2
- package/dist/esm/components/BaseTransactionButton/types.js.map +0 -1
- package/dist/esm/components/BottomSheet/BottomSheet.d.ts +0 -2
- package/dist/esm/components/BottomSheet/types.d.ts +0 -12
- package/dist/esm/components/BottomSheet/types.js +0 -2
- package/dist/esm/components/BottomSheet/types.js.map +0 -1
- package/dist/esm/components/ButtonTertiary.d.ts +0 -1
- package/dist/esm/components/Card/Card.d.ts +0 -7
- package/dist/esm/components/Card/CardButton.d.ts +0 -7
- package/dist/esm/components/Card/CardButton.style.d.ts +0 -3
- package/dist/esm/components/Card/CardHeader.d.ts +0 -1
- package/dist/esm/components/Card/CardIconButton.d.ts +0 -4
- package/dist/esm/components/Card/CardLabel.d.ts +0 -6
- package/dist/esm/components/Card/CardTitle.d.ts +0 -3
- package/dist/esm/components/Card/InputCard.d.ts +0 -1
- package/dist/esm/components/ChainSelect/ChainSelect.d.ts +0 -2
- package/dist/esm/components/ChainSelect/ChainSelect.style.d.ts +0 -7
- package/dist/esm/components/ChainSelect/useChainSelect.d.ts +0 -10
- package/dist/esm/components/Chains/AllChainsAvatar.d.ts +0 -7
- package/dist/esm/components/Chains/ChainList.d.ts +0 -15
- package/dist/esm/components/Chains/ChainList.style.d.ts +0 -14
- package/dist/esm/components/Chains/ChainListItem.d.ts +0 -14
- package/dist/esm/components/Chains/ChainSearchInput.d.ts +0 -10
- package/dist/esm/components/Chains/ChainSearchInput.js +0 -25
- package/dist/esm/components/Chains/ChainSearchInput.js.map +0 -1
- package/dist/esm/components/Chains/ChainsExpanded.d.ts +0 -7
- package/dist/esm/components/Chains/ChainsExpanded.style.d.ts +0 -6
- package/dist/esm/components/Chains/PinChainButton.d.ts +0 -7
- package/dist/esm/components/Chains/SelectChainContent.d.ts +0 -9
- package/dist/esm/components/Chains/SelectChainContent.js +0 -60
- package/dist/esm/components/Chains/SelectChainContent.js.map +0 -1
- package/dist/esm/components/Chains/VirtualizedChainList.d.ts +0 -15
- package/dist/esm/components/ContractComponent/ContractComponent.d.ts +0 -3
- package/dist/esm/components/ContractComponent/NFT/NFT.style.d.ts +0 -1
- package/dist/esm/components/ContractComponent/NFT/types.js +0 -2
- package/dist/esm/components/ContractComponent/NFT/types.js.map +0 -1
- package/dist/esm/components/Dialog.d.ts +0 -27
- package/dist/esm/components/Dialog.js +0 -32
- package/dist/esm/components/Dialog.js.map +0 -1
- package/dist/esm/components/Expansion/Expansion.d.ts +0 -1
- package/dist/esm/components/Expansion/Expansion.style.d.ts +0 -32
- package/dist/esm/components/Expansion/ExpansionTransition.d.ts +0 -8
- package/dist/esm/components/FeeBreakdownTooltip.d.ts +0 -10
- package/dist/esm/components/FullPageContainer.d.ts +0 -2
- package/dist/esm/components/FullPageContainer.js +0 -9
- package/dist/esm/components/FullPageContainer.js.map +0 -1
- package/dist/esm/components/Header/BackButton.d.ts +0 -1
- package/dist/esm/components/Header/CloseDrawerButton.d.ts +0 -5
- package/dist/esm/components/Header/DisconnectIconButton.d.ts +0 -4
- package/dist/esm/components/Header/Header.d.ts +0 -2
- package/dist/esm/components/Header/Header.style.d.ts +0 -13
- package/dist/esm/components/Header/NavigationHeader.d.ts +0 -1
- package/dist/esm/components/Header/SettingsButton.d.ts +0 -1
- package/dist/esm/components/Header/SettingsButton.style.d.ts +0 -6
- package/dist/esm/components/Header/SplitNavigationTabs.d.ts +0 -1
- package/dist/esm/components/Header/TransactionHistoryButton.d.ts +0 -1
- package/dist/esm/components/Header/TransactionHistoryButton.js +0 -12
- package/dist/esm/components/Header/TransactionHistoryButton.js.map +0 -1
- package/dist/esm/components/Header/WalletHeader.d.ts +0 -1
- package/dist/esm/components/Header/WalletMenu.d.ts +0 -3
- package/dist/esm/components/Header/WalletMenu.style.d.ts +0 -1
- package/dist/esm/components/IconTypography.d.ts +0 -1
- package/dist/esm/components/Initializer.d.ts +0 -1
- package/dist/esm/components/Input.d.ts +0 -1
- package/dist/esm/components/ListItem/ListItem.d.ts +0 -1
- package/dist/esm/components/ListItem/ListItemButton.d.ts +0 -1
- package/dist/esm/components/ListItemButton.d.ts +0 -1
- package/dist/esm/components/ListItemText.d.ts +0 -1
- package/dist/esm/components/Menu.d.ts +0 -1
- package/dist/esm/components/Messages/AccountDeployedMessage.d.ts +0 -2
- package/dist/esm/components/Messages/AccountNotDeployedMessage.d.ts +0 -2
- package/dist/esm/components/Messages/AlertMessage.d.ts +0 -11
- package/dist/esm/components/Messages/AlertMessage.style.d.ts +0 -7
- package/dist/esm/components/Messages/FundsSufficiencyMessage.d.ts +0 -2
- package/dist/esm/components/Messages/GasRefuelMessage.d.ts +0 -2
- package/dist/esm/components/Messages/GasRefuelMessage.style.d.ts +0 -1
- package/dist/esm/components/Messages/GasSufficiencyMessage.d.ts +0 -7
- package/dist/esm/components/Messages/MinFromAmountUSDMessage.d.ts +0 -6
- package/dist/esm/components/Messages/MissingRouteRequiredAccountMessage.d.ts +0 -8
- package/dist/esm/components/Messages/ToAddressRequiredMessage.d.ts +0 -2
- package/dist/esm/components/Messages/ToAddressRequiredMessage.js +0 -13
- package/dist/esm/components/Messages/ToAddressRequiredMessage.js.map +0 -1
- package/dist/esm/components/Messages/WarningMessages.d.ts +0 -8
- package/dist/esm/components/Messages/types.d.ts +0 -1
- package/dist/esm/components/Messages/types.js +0 -2
- package/dist/esm/components/Messages/types.js.map +0 -1
- package/dist/esm/components/Messages/useMessageQueue.d.ts +0 -12
- package/dist/esm/components/NotFound.d.ts +0 -1
- package/dist/esm/components/PageContainer.d.ts +0 -7
- package/dist/esm/components/PageEntered.d.ts +0 -1
- package/dist/esm/components/PoweredBy/PoweredBy.d.ts +0 -1
- package/dist/esm/components/PoweredBy/PoweredBy.style.d.ts +0 -1
- package/dist/esm/components/ProgressToNextUpdate.d.ts +0 -6
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.d.ts +0 -3
- package/dist/esm/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +0 -3
- package/dist/esm/components/RouteCard/RouteCard.d.ts +0 -3
- package/dist/esm/components/RouteCard/RouteCard.style.d.ts +0 -1
- package/dist/esm/components/RouteCard/RouteCard.style.js +0 -8
- package/dist/esm/components/RouteCard/RouteCard.style.js.map +0 -1
- package/dist/esm/components/RouteCard/RouteCardEssentials.d.ts +0 -2
- package/dist/esm/components/RouteCard/RouteCardEssentialsExpanded.d.ts +0 -2
- package/dist/esm/components/RouteCard/RouteCardEssentialsExpanded.js +0 -29
- package/dist/esm/components/RouteCard/RouteCardEssentialsExpanded.js.map +0 -1
- package/dist/esm/components/RouteCard/RouteCardSkeleton.d.ts +0 -3
- package/dist/esm/components/RouteCard/RouteNotFoundCard.d.ts +0 -1
- package/dist/esm/components/RouteCard/getMatchingLabels.d.ts +0 -3
- package/dist/esm/components/RouteCard/types.d.ts +0 -13
- package/dist/esm/components/RouteCard/types.js +0 -2
- package/dist/esm/components/RouteCard/types.js.map +0 -1
- package/dist/esm/components/Routes/Routes.d.ts +0 -2
- package/dist/esm/components/Routes/RoutesContent.d.ts +0 -13
- package/dist/esm/components/Routes/RoutesExpanded.d.ts +0 -6
- package/dist/esm/components/Routes/RoutesExpanded.style.d.ts +0 -8
- package/dist/esm/components/Search/SearchInput.d.ts +0 -15
- package/dist/esm/components/Search/SearchInput.style.d.ts +0 -11
- package/dist/esm/components/Search/SearchNotFound.d.ts +0 -6
- package/dist/esm/components/Search/SearchNotFound.style.d.ts +0 -8
- package/dist/esm/components/SelectChainAndToken.d.ts +0 -2
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.d.ts +0 -5
- package/dist/esm/components/SelectTokenButton/SelectTokenButton.style.d.ts +0 -11
- package/dist/esm/components/SendToWallet/SendToWallet.style.d.ts +0 -3
- package/dist/esm/components/SendToWallet/SendToWallet.style.js +0 -55
- package/dist/esm/components/SendToWallet/SendToWallet.style.js.map +0 -1
- package/dist/esm/components/SendToWallet/SendToWalletButton.d.ts +0 -2
- package/dist/esm/components/SendToWallet/SendToWalletExpandButton.d.ts +0 -1
- package/dist/esm/components/SettingsListItemButton.d.ts +0 -1
- package/dist/esm/components/Skeleton/WidgetSkeleton.style.d.ts +0 -11
- package/dist/esm/components/Step/CircularProgress.d.ts +0 -4
- package/dist/esm/components/Step/CircularProgress.js +0 -26
- package/dist/esm/components/Step/CircularProgress.js.map +0 -1
- package/dist/esm/components/Step/CircularProgress.style.d.ts +0 -7
- package/dist/esm/components/Step/CircularProgress.style.js +0 -81
- package/dist/esm/components/Step/CircularProgress.style.js.map +0 -1
- package/dist/esm/components/Step/DestinationWalletAddress.d.ts +0 -6
- package/dist/esm/components/Step/DestinationWalletAddress.js +0 -33
- package/dist/esm/components/Step/DestinationWalletAddress.js.map +0 -1
- package/dist/esm/components/Step/Step.d.ts +0 -8
- package/dist/esm/components/Step/Step.js +0 -73
- package/dist/esm/components/Step/Step.js.map +0 -1
- package/dist/esm/components/Step/StepAction.d.ts +0 -5
- package/dist/esm/components/Step/StepAction.js +0 -45
- package/dist/esm/components/Step/StepAction.js.map +0 -1
- package/dist/esm/components/Step/StepList.d.ts +0 -3
- package/dist/esm/components/Step/StepList.js +0 -34
- package/dist/esm/components/Step/StepList.js.map +0 -1
- package/dist/esm/components/StepActions/StepActions.d.ts +0 -2
- package/dist/esm/components/StepActions/StepActions.js +0 -155
- package/dist/esm/components/StepActions/StepActions.js.map +0 -1
- package/dist/esm/components/StepActions/StepActions.style.d.ts +0 -10
- package/dist/esm/components/StepActions/StepActions.style.js +0 -64
- package/dist/esm/components/StepActions/StepActions.style.js.map +0 -1
- package/dist/esm/components/StepActions/types.d.ts +0 -17
- package/dist/esm/components/StepActions/types.js +0 -2
- package/dist/esm/components/StepActions/types.js.map +0 -1
- package/dist/esm/components/StepDivider/StepDivider.d.ts +0 -1
- package/dist/esm/components/StepDivider/StepDivider.js +0 -7
- package/dist/esm/components/StepDivider/StepDivider.js.map +0 -1
- package/dist/esm/components/StepDivider/StepDivider.style.d.ts +0 -1
- package/dist/esm/components/StepDivider/StepDivider.style.js +0 -8
- package/dist/esm/components/StepDivider/StepDivider.style.js.map +0 -1
- package/dist/esm/components/Switch.d.ts +0 -1
- package/dist/esm/components/Tabs/NavigationTabs.d.ts +0 -4
- package/dist/esm/components/Tabs/Tabs.style.d.ts +0 -4
- package/dist/esm/components/TextFitter/TextFitter.d.ts +0 -3
- package/dist/esm/components/TextFitter/types.d.ts +0 -12
- package/dist/esm/components/TextFitter/types.js +0 -2
- package/dist/esm/components/TextFitter/types.js.map +0 -1
- package/dist/esm/components/Timer/StepTimer.d.ts +0 -5
- package/dist/esm/components/Timer/StepTimer.js +0 -57
- package/dist/esm/components/Timer/StepTimer.js.map +0 -1
- package/dist/esm/components/Timer/TimerContent.d.ts +0 -2
- package/dist/esm/components/Timer/TimerContent.js +0 -17
- package/dist/esm/components/Timer/TimerContent.js.map +0 -1
- package/dist/esm/components/Token/Token.d.ts +0 -15
- package/dist/esm/components/Token/Token.style.d.ts +0 -5
- package/dist/esm/components/TokenList/PinTokenButton.d.ts +0 -6
- package/dist/esm/components/TokenList/TokenDetailsSheet.d.ts +0 -2
- package/dist/esm/components/TokenList/TokenDetailsSheetContent.d.ts +0 -8
- package/dist/esm/components/TokenList/TokenDetailsSheetContent.style.d.ts +0 -5
- package/dist/esm/components/TokenList/TokenList.d.ts +0 -3
- package/dist/esm/components/TokenList/TokenList.style.d.ts +0 -7
- package/dist/esm/components/TokenList/TokenListItem.d.ts +0 -3
- package/dist/esm/components/TokenList/TokenNotFound.d.ts +0 -2
- package/dist/esm/components/TokenList/VirtualizedTokenList.d.ts +0 -3
- package/dist/esm/components/TokenList/types.d.ts +0 -51
- package/dist/esm/components/TokenList/types.js +0 -2
- package/dist/esm/components/TokenList/types.js.map +0 -1
- package/dist/esm/components/TokenList/useTokenSelect.d.ts +0 -2
- package/dist/esm/components/TokenRate/TokenRate.d.ts +0 -7
- package/dist/esm/components/TokenRate/TokenRate.style.d.ts +0 -1
- package/dist/esm/components/Tools/ToolItem.d.ts +0 -8
- package/dist/esm/components/Tools/Tools.d.ts +0 -8
- package/dist/esm/components/TransactionDetails.d.ts +0 -7
- package/dist/esm/components/TransactionDetails.js +0 -117
- package/dist/esm/components/TransactionDetails.js.map +0 -1
- package/dist/esm/config/queryClient.d.ts +0 -2
- package/dist/esm/hooks/timer/time.d.ts +0 -11
- package/dist/esm/hooks/timer/useInterval.d.ts +0 -1
- package/dist/esm/hooks/timer/useTimer.d.ts +0 -19
- package/dist/esm/hooks/timer/validate.d.ts +0 -2
- package/dist/esm/hooks/useAccountsBalancesData.d.ts +0 -6
- package/dist/esm/hooks/useActionMessage.d.ts +0 -5
- package/dist/esm/hooks/useAddressActivity.d.ts +0 -8
- package/dist/esm/hooks/useAddressValidation.d.ts +0 -25
- package/dist/esm/hooks/useAvailableChains.d.ts +0 -10
- package/dist/esm/hooks/useChain.d.ts +0 -5
- package/dist/esm/hooks/useChains.d.ts +0 -7
- package/dist/esm/hooks/useDebouncedWatch.d.ts +0 -2
- package/dist/esm/hooks/useDefaultElementId.d.ts +0 -1
- package/dist/esm/hooks/useExplorer.d.ts +0 -15
- package/dist/esm/hooks/useFilteredByTokenBalances.d.ts +0 -9
- package/dist/esm/hooks/useFromAmountThreshold.d.ts +0 -4
- package/dist/esm/hooks/useFromTokenSufficiency.d.ts +0 -5
- package/dist/esm/hooks/useGasRecommendation.d.ts +0 -2
- package/dist/esm/hooks/useGasRefuel.d.ts +0 -7
- package/dist/esm/hooks/useGasSufficiency.d.ts +0 -13
- package/dist/esm/hooks/useHasChainExpansion.d.ts +0 -2
- package/dist/esm/hooks/useHeader.d.ts +0 -2
- package/dist/esm/hooks/useInitializeSDKProviders.d.ts +0 -1
- package/dist/esm/hooks/useInitializer.d.ts +0 -1
- package/dist/esm/hooks/useIsBatchingSupported.d.ts +0 -5
- package/dist/esm/hooks/useIsContractAddress.d.ts +0 -7
- package/dist/esm/hooks/useLanguages.d.ts +0 -5
- package/dist/esm/hooks/useListHeight.d.ts +0 -9
- package/dist/esm/hooks/useLongPress.d.ts +0 -7
- package/dist/esm/hooks/useNavigateBack.d.ts +0 -1
- package/dist/esm/hooks/useRouteExecution.d.ts +0 -14
- package/dist/esm/hooks/useRouteRequiredAccountConnection.d.ts +0 -10
- package/dist/esm/hooks/useRoutes.d.ts +0 -18
- package/dist/esm/hooks/useScrollableContainer.d.ts +0 -3
- package/dist/esm/hooks/useSetContentHeight.d.ts +0 -2
- package/dist/esm/hooks/useSettingMonitor.d.ts +0 -13
- package/dist/esm/hooks/useSwapOnly.d.ts +0 -1
- package/dist/esm/hooks/useToAddressAutoPopulate.d.ts +0 -13
- package/dist/esm/hooks/useToAddressRequirements.d.ts +0 -12
- package/dist/esm/hooks/useToAddressReset.d.ts +0 -4
- package/dist/esm/hooks/useToken.d.ts +0 -4
- package/dist/esm/hooks/useTokenAddressBalance.d.ts +0 -7
- package/dist/esm/hooks/useTokenBalance.d.ts +0 -9
- package/dist/esm/hooks/useTokenBalances.d.ts +0 -9
- package/dist/esm/hooks/useTokenBalancesQueries.d.ts +0 -11
- package/dist/esm/hooks/useTokenSearch.d.ts +0 -6
- package/dist/esm/hooks/useTokens.d.ts +0 -8
- package/dist/esm/hooks/useTools.d.ts +0 -4
- package/dist/esm/hooks/useTransactionDetails.d.ts +0 -4
- package/dist/esm/hooks/useTransactionHistory.d.ts +0 -5
- package/dist/esm/hooks/useWideVariant.d.ts +0 -1
- package/dist/esm/icons/lifi.d.ts +0 -1
- package/dist/esm/icons/lifi.js +0 -2
- package/dist/esm/icons/lifi.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.d.ts +0 -1
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js +0 -26
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js.map +0 -1
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.d.ts +0 -1
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js +0 -37
- package/dist/esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js.map +0 -1
- package/dist/esm/pages/LanguagesPage.d.ts +0 -1
- package/dist/esm/pages/MainPage/MainPage.d.ts +0 -1
- package/dist/esm/pages/MainPage/MainWarningMessages.d.ts +0 -7
- package/dist/esm/pages/MainPage/ReviewButton.d.ts +0 -1
- package/dist/esm/pages/RoutesPage/RoutesPage.d.ts +0 -1
- package/dist/esm/pages/RoutesPage/RoutesPage.style.d.ts +0 -1
- package/dist/esm/pages/SelectChainPage/SelectChainPage.d.ts +0 -2
- package/dist/esm/pages/SelectChainPage/types.d.ts +0 -4
- package/dist/esm/pages/SelectChainPage/types.js +0 -2
- package/dist/esm/pages/SelectChainPage/types.js.map +0 -1
- package/dist/esm/pages/SelectEnabledToolsPage.d.ts +0 -3
- package/dist/esm/pages/SelectTokenPage/SearchTokenInput.d.ts +0 -6
- package/dist/esm/pages/SelectTokenPage/SelectTokenPage.d.ts +0 -3
- package/dist/esm/pages/SendToWallet/BookmarkAddressSheet.d.ts +0 -8
- package/dist/esm/pages/SendToWallet/BookmarksPage.d.ts +0 -1
- package/dist/esm/pages/SendToWallet/ConfirmAddressSheet.d.ts +0 -8
- package/dist/esm/pages/SendToWallet/ConnectedWalletsPage.d.ts +0 -1
- package/dist/esm/pages/SendToWallet/EmptyListIndicator.d.ts +0 -6
- package/dist/esm/pages/SendToWallet/EmptyListIndicator.js +0 -9
- package/dist/esm/pages/SendToWallet/EmptyListIndicator.js.map +0 -1
- package/dist/esm/pages/SendToWallet/RecentWalletsPage.d.ts +0 -1
- package/dist/esm/pages/SendToWallet/SendToConfiguredWalletPage.d.ts +0 -1
- package/dist/esm/pages/SendToWallet/SendToWalletPage.d.ts +0 -1
- package/dist/esm/pages/SendToWallet/SendToWalletPage.style.d.ts +0 -22
- package/dist/esm/pages/SendToWallet/types.d.ts +0 -4
- package/dist/esm/pages/SendToWallet/types.js +0 -2
- package/dist/esm/pages/SendToWallet/types.js.map +0 -1
- package/dist/esm/pages/SettingsPage/BridgeAndExchangeSettings.d.ts +0 -3
- package/dist/esm/pages/SettingsPage/GasPriceSettings.d.ts +0 -1
- package/dist/esm/pages/SettingsPage/LanguageSetting.d.ts +0 -1
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.d.ts +0 -1
- package/dist/esm/pages/SettingsPage/ResetSettingsButton.style.d.ts +0 -1
- package/dist/esm/pages/SettingsPage/RoutePrioritySettings.d.ts +0 -1
- package/dist/esm/pages/SettingsPage/SettingsCard/BadgedValue.d.ts +0 -8
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCard.style.d.ts +0 -2
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.d.ts +0 -17
- package/dist/esm/pages/SettingsPage/SettingsCard/SettingsAccordian.d.ts +0 -6
- package/dist/esm/pages/SettingsPage/SettingsCard/types.d.ts +0 -5
- package/dist/esm/pages/SettingsPage/SettingsCard/types.js +0 -2
- package/dist/esm/pages/SettingsPage/SettingsCard/types.js.map +0 -1
- package/dist/esm/pages/SettingsPage/SettingsPage.d.ts +0 -1
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.d.ts +0 -1
- package/dist/esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.d.ts +0 -9
- package/dist/esm/pages/SettingsPage/SmallBalanceFilterSettings.d.ts +0 -1
- package/dist/esm/pages/SettingsPage/ThemeSettings.d.ts +0 -1
- package/dist/esm/pages/TransactionDetailsPage/ContactSupportButton.d.ts +0 -5
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsPage.d.ts +0 -1
- package/dist/esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.d.ts +0 -1
- package/dist/esm/pages/TransactionDetailsPage/TransferIdCard.d.ts +0 -6
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.d.ts +0 -1
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js +0 -26
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js.map +0 -1
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryItem.d.ts +0 -5
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryItem.js +0 -72
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryItem.js.map +0 -1
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryPage.d.ts +0 -1
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryPage.js +0 -50
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistoryPage.js.map +0 -1
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.d.ts +0 -1
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js +0 -27
- package/dist/esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js.map +0 -1
- package/dist/esm/pages/TransactionHistoryPage/constants.d.ts +0 -1
- package/dist/esm/pages/TransactionHistoryPage/constants.js +0 -2
- package/dist/esm/pages/TransactionHistoryPage/constants.js.map +0 -1
- package/dist/esm/pages/TransactionPage/ConfirmToAddressSheet.d.ts +0 -8
- package/dist/esm/pages/TransactionPage/ExchangeRateBottomSheet.d.ts +0 -13
- package/dist/esm/pages/TransactionPage/RouteTracker.d.ts +0 -8
- package/dist/esm/pages/TransactionPage/StartTransactionButton.d.ts +0 -2
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.d.ts +0 -2
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.js +0 -182
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.js.map +0 -1
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.style.d.ts +0 -8
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.style.js +0 -68
- package/dist/esm/pages/TransactionPage/StatusBottomSheet.style.js.map +0 -1
- package/dist/esm/pages/TransactionPage/TokenValueBottomSheet.d.ts +0 -9
- package/dist/esm/pages/TransactionPage/TransactionPage.d.ts +0 -1
- package/dist/esm/pages/TransactionPage/types.d.ts +0 -5
- package/dist/esm/pages/TransactionPage/types.js +0 -2
- package/dist/esm/pages/TransactionPage/types.js.map +0 -1
- package/dist/esm/pages/TransactionPage/utils.d.ts +0 -2
- package/dist/esm/providers/I18nProvider/I18nProvider.d.ts +0 -1
- package/dist/esm/providers/I18nProvider/constants.d.ts +0 -3
- package/dist/esm/providers/I18nProvider/enResource.js.map +0 -1
- package/dist/esm/providers/I18nProvider/i18n.d.ts +0 -3
- package/dist/esm/providers/I18nProvider/types.js +0 -2
- package/dist/esm/providers/I18nProvider/types.js.map +0 -1
- package/dist/esm/providers/QueryClientProvider.d.ts +0 -2
- package/dist/esm/providers/SDKClientProvider.d.ts +0 -4
- package/dist/esm/providers/ThemeProvider/ThemeProvider.d.ts +0 -1
- package/dist/esm/providers/WalletProvider/WalletProvider.d.ts +0 -7
- package/dist/esm/providers/WalletProvider/useExternalWalletProvider.d.ts +0 -8
- package/dist/esm/providers/WidgetProvider/WidgetProvider.d.ts +0 -3
- package/dist/esm/providers/WidgetProvider/types.d.ts +0 -7
- package/dist/esm/providers/WidgetProvider/types.js +0 -2
- package/dist/esm/providers/WidgetProvider/types.js.map +0 -1
- package/dist/esm/stores/StoreProvider.d.ts +0 -3
- package/dist/esm/stores/bookmarks/BookmarkStore.d.ts +0 -4
- package/dist/esm/stores/bookmarks/createBookmarkStore.d.ts +0 -26
- package/dist/esm/stores/bookmarks/types.js +0 -2
- package/dist/esm/stores/bookmarks/types.js.map +0 -1
- package/dist/esm/stores/bookmarks/useBookmarkActions.d.ts +0 -2
- package/dist/esm/stores/bookmarks/useBookmarks.d.ts +0 -2
- package/dist/esm/stores/chains/ChainOrderStore.d.ts +0 -4
- package/dist/esm/stores/chains/createChainOrderStore.d.ts +0 -30
- package/dist/esm/stores/chains/types.d.ts +0 -24
- package/dist/esm/stores/chains/types.js +0 -2
- package/dist/esm/stores/chains/types.js.map +0 -1
- package/dist/esm/stores/chains/useChainOrder.d.ts +0 -2
- package/dist/esm/stores/form/FormStore.d.ts +0 -7
- package/dist/esm/stores/form/FormStoreContext.d.ts +0 -2
- package/dist/esm/stores/form/FormUpdater.d.ts +0 -4
- package/dist/esm/stores/form/URLSearchParamsBuilder.d.ts +0 -1
- package/dist/esm/stores/form/createFormStore.d.ts +0 -3
- package/dist/esm/stores/form/getDefaultValuesFromQueryString.d.ts +0 -7
- package/dist/esm/stores/form/useFormRef.d.ts +0 -3
- package/dist/esm/stores/form/useFormStore.d.ts +0 -2
- package/dist/esm/stores/form/useTouchedFields.d.ts +0 -11
- package/dist/esm/stores/header/types.d.ts +0 -18
- package/dist/esm/stores/header/types.js +0 -2
- package/dist/esm/stores/header/types.js.map +0 -1
- package/dist/esm/stores/header/useHeaderStore.d.ts +0 -10
- package/dist/esm/stores/inputMode/useInputModeStore.d.ts +0 -9
- package/dist/esm/stores/pinnedTokens/PinnedTokensStore.d.ts +0 -4
- package/dist/esm/stores/pinnedTokens/createPinnedTokensStore.d.ts +0 -19
- package/dist/esm/stores/pinnedTokens/types.d.ts +0 -17
- package/dist/esm/stores/pinnedTokens/types.js +0 -2
- package/dist/esm/stores/pinnedTokens/types.js.map +0 -1
- package/dist/esm/stores/routes/RouteExecutionStore.d.ts +0 -8
- package/dist/esm/stores/routes/createRouteExecutionStore.d.ts +0 -19
- package/dist/esm/stores/routes/types.d.ts +0 -20
- package/dist/esm/stores/routes/types.js +0 -10
- package/dist/esm/stores/routes/types.js.map +0 -1
- package/dist/esm/stores/routes/useExecutingRoutesIds.d.ts +0 -1
- package/dist/esm/stores/routes/useExecutingRoutesIds.js +0 -15
- package/dist/esm/stores/routes/useExecutingRoutesIds.js.map +0 -1
- package/dist/esm/stores/routes/useIntermediateRoutesStore.d.ts +0 -8
- package/dist/esm/stores/routes/useSetExecutableRoute.d.ts +0 -1
- package/dist/esm/stores/routes/utils.d.ts +0 -8
- package/dist/esm/stores/settings/SettingsStore.d.ts +0 -8
- package/dist/esm/stores/settings/createSettingsStore.d.ts +0 -55
- package/dist/esm/stores/settings/useSendToWalletStore.d.ts +0 -6
- package/dist/esm/stores/settings/useSendToWalletStore.js +0 -18
- package/dist/esm/stores/settings/useSendToWalletStore.js.map +0 -1
- package/dist/esm/stores/settings/useSettings.d.ts +0 -2
- package/dist/esm/stores/settings/useSettingsActions.d.ts +0 -10
- package/dist/esm/stores/settings/useSplitSubvariantStore.d.ts +0 -3
- package/dist/esm/stores/settings/useSplitSubvariantStore.js +0 -36
- package/dist/esm/stores/settings/useSplitSubvariantStore.js.map +0 -1
- package/dist/esm/stores/settings/utils/getStateValues.d.ts +0 -2
- package/dist/esm/stores/types.d.ts +0 -5
- package/dist/esm/stores/types.js +0 -2
- package/dist/esm/stores/types.js.map +0 -1
- package/dist/esm/themes/types.js +0 -2
- package/dist/esm/themes/types.js.map +0 -1
- package/dist/esm/themes/utils.d.ts +0 -4
- package/dist/esm/types/token.js +0 -2
- package/dist/esm/types/token.js.map +0 -1
- package/dist/esm/utils/chainType.d.ts +0 -2
- package/dist/esm/utils/compactNumberFormatter.test.d.ts +0 -1
- package/dist/esm/utils/compactNumberFormatter.test.js +0 -64
- package/dist/esm/utils/compactNumberFormatter.test.js.map +0 -1
- package/dist/esm/utils/converters.d.ts +0 -3
- package/dist/esm/utils/deepEqual.d.ts +0 -2
- package/dist/esm/utils/deepMerge.d.ts +0 -1
- package/dist/esm/utils/elements.d.ts +0 -11
- package/dist/esm/utils/enum.d.ts +0 -1
- package/dist/esm/utils/fees.d.ts +0 -13
- package/dist/esm/utils/format.test.d.ts +0 -1
- package/dist/esm/utils/format.test.js +0 -47
- package/dist/esm/utils/format.test.js.map +0 -1
- package/dist/esm/utils/getActionMessage.d.ts +0 -7
- package/dist/esm/utils/getErrorMessage.d.ts +0 -6
- package/dist/esm/utils/input.d.ts +0 -1
- package/dist/esm/utils/item.d.ts +0 -6
- package/dist/esm/utils/prepareActions.d.ts +0 -2
- package/dist/esm/utils/queries.d.ts +0 -1
- package/dist/esm/utils/timer.d.ts +0 -7
- package/dist/esm/utils/token.d.ts +0 -19
- package/dist/esm/utils/tokenList.d.ts +0 -10
- package/dist/esm/utils/variant.d.ts +0 -2
- package/dist/esm/utils/wallet.d.ts +0 -1
- package/dist/esm/utils/widgetSize.d.ts +0 -3
- package/src/components/ActiveTransactions/ActiveTransactionItem.tsx +0 -112
- package/src/components/ActiveTransactions/ActiveTransactions.style.ts +0 -28
- package/src/components/ActiveTransactions/ActiveTransactions.tsx +0 -47
- package/src/components/AmountInput/AmountInputAdornment.style.tsx +0 -69
- package/src/components/Chains/ChainSearchInput.tsx +0 -60
- package/src/components/Chains/SelectChainContent.tsx +0 -114
- package/src/components/FullPageContainer.tsx +0 -14
- package/src/components/Header/TransactionHistoryButton.tsx +0 -21
- package/src/components/Messages/ToAddressRequiredMessage.tsx +0 -27
- package/src/components/RouteCard/RouteCard.style.ts +0 -8
- package/src/components/RouteCard/RouteCardEssentialsExpanded.tsx +0 -57
- package/src/components/Step/CircularProgress.style.tsx +0 -100
- package/src/components/Step/CircularProgress.tsx +0 -57
- package/src/components/Step/DestinationWalletAddress.tsx +0 -66
- package/src/components/Step/Step.tsx +0 -138
- package/src/components/Step/StepAction.tsx +0 -84
- package/src/components/Step/StepList.tsx +0 -54
- package/src/components/StepActions/StepActions.style.tsx +0 -78
- package/src/components/StepActions/StepActions.tsx +0 -378
- package/src/components/StepActions/types.ts +0 -24
- package/src/components/StepDivider/StepDivider.style.tsx +0 -8
- package/src/components/StepDivider/StepDivider.tsx +0 -10
- package/src/components/Timer/StepTimer.tsx +0 -93
- package/src/components/Timer/TimerContent.tsx +0 -34
- package/src/components/TransactionDetails.tsx +0 -306
- package/src/icons/lifi.ts +0 -2
- package/src/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.tsx +0 -45
- package/src/pages/ActiveTransactionsPage/ActiveTransactionsPage.tsx +0 -96
- package/src/pages/SendToWallet/EmptyListIndicator.tsx +0 -24
- package/src/pages/TransactionHistoryPage/TransactionHistoryEmpty.tsx +0 -45
- package/src/pages/TransactionHistoryPage/TransactionHistoryItem.tsx +0 -118
- package/src/pages/TransactionHistoryPage/TransactionHistoryPage.tsx +0 -92
- package/src/pages/TransactionHistoryPage/TransactionHistorySkeleton.tsx +0 -58
- package/src/pages/TransactionHistoryPage/constants.ts +0 -1
- package/src/pages/TransactionPage/StatusBottomSheet.style.tsx +0 -74
- package/src/pages/TransactionPage/StatusBottomSheet.tsx +0 -318
- package/src/stores/routes/useExecutingRoutesIds.ts +0 -24
- package/src/stores/settings/useSendToWalletStore.ts +0 -25
- package/src/stores/settings/useSplitSubvariantStore.tsx +0 -63
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Fragment } from 'react';
|
|
3
|
-
import { StepDivider } from '../../components/StepDivider/StepDivider.js';
|
|
4
|
-
import { Step } from './Step.js';
|
|
5
|
-
export const getStepList = (route, subvariant) => route?.steps.map((step, index, steps) => {
|
|
6
|
-
const lastIndex = steps.length - 1;
|
|
7
|
-
const fromToken = index === 0
|
|
8
|
-
? {
|
|
9
|
-
...step.action.fromToken,
|
|
10
|
-
amount: BigInt(step.action.fromAmount),
|
|
11
|
-
}
|
|
12
|
-
: undefined;
|
|
13
|
-
let toToken;
|
|
14
|
-
let impactToken;
|
|
15
|
-
if (index === lastIndex) {
|
|
16
|
-
toToken = {
|
|
17
|
-
...(step.execution?.toToken ?? step.action.toToken),
|
|
18
|
-
amount: step.execution?.toAmount
|
|
19
|
-
? BigInt(step.execution.toAmount)
|
|
20
|
-
: subvariant === 'custom'
|
|
21
|
-
? BigInt(route.toAmount)
|
|
22
|
-
: BigInt(step.estimate.toAmount),
|
|
23
|
-
};
|
|
24
|
-
impactToken = {
|
|
25
|
-
...steps[0].action.fromToken,
|
|
26
|
-
amount: BigInt(steps[0].action.fromAmount),
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
const toAddress = index === lastIndex && route.fromAddress !== route.toAddress
|
|
30
|
-
? route.toAddress
|
|
31
|
-
: undefined;
|
|
32
|
-
return (_jsxs(Fragment, { children: [_jsx(Step, { step: step, fromToken: fromToken, toToken: toToken, impactToken: impactToken, toAddress: toAddress }), steps.length > 1 && index !== steps.length - 1 ? (_jsx(StepDivider, {})) : null] }, step.id));
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=StepList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepList.js","sourceRoot":"","sources":["../../../../src/components/Step/StepList.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAA;AAEzE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAEhC,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,KAAqB,EACrB,UAA6B,EAC7B,EAAE,CACF,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE;IACtC,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAA;IAClC,MAAM,SAAS,GACb,KAAK,KAAK,CAAC;QACT,CAAC,CAAC;YACE,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS;YACxB,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;SACvC;QACH,CAAC,CAAC,SAAS,CAAA;IACf,IAAI,OAAgC,CAAA;IACpC,IAAI,WAAoC,CAAA;IACxC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,GAAG;YACR,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;YACnD,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE,QAAQ;gBAC9B,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;gBACjC,CAAC,CAAC,UAAU,KAAK,QAAQ;oBACvB,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;oBACxB,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC;SACrC,CAAA;QACD,WAAW,GAAG;YACZ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS;YAC5B,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC;SAC3C,CAAA;IACH,CAAC;IACD,MAAM,SAAS,GACb,KAAK,KAAK,SAAS,IAAI,KAAK,CAAC,WAAW,KAAK,KAAK,CAAC,SAAS;QAC1D,CAAC,CAAC,KAAK,CAAC,SAAS;QACjB,CAAC,CAAC,SAAS,CAAA;IACf,OAAO,CACL,MAAC,QAAQ,eACP,KAAC,IAAI,IACH,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,GACpB,EACD,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,KAAK,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAChD,KAAC,WAAW,KAAG,CAChB,CAAC,CAAC,CAAC,IAAI,KAVK,IAAI,CAAC,EAAE,CAWX,CACZ,CAAA;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useEthereumContext } from '@lifi/widget-provider';
|
|
3
|
-
import ArrowForward from '@mui/icons-material/ArrowForward';
|
|
4
|
-
import ExpandLess from '@mui/icons-material/ExpandLess';
|
|
5
|
-
import ExpandMore from '@mui/icons-material/ExpandMore';
|
|
6
|
-
import { Badge, Box, Collapse, Step as MuiStep, Stepper, Typography, } from '@mui/material';
|
|
7
|
-
import { useState } from 'react';
|
|
8
|
-
import { useTranslation } from 'react-i18next';
|
|
9
|
-
import { useAvailableChains } from '../../hooks/useAvailableChains.js';
|
|
10
|
-
import { lifiLogoUrl } from '../../icons/lifi.js';
|
|
11
|
-
import { useWidgetConfig } from '../../providers/WidgetProvider/WidgetProvider.js';
|
|
12
|
-
import { HiddenUI } from '../../types/widget.js';
|
|
13
|
-
import { formatTokenAmount, formatTokenPrice } from '../../utils/format.js';
|
|
14
|
-
import { SmallAvatar } from '../Avatar/SmallAvatar.js';
|
|
15
|
-
import { CardIconButton } from '../Card/CardIconButton.js';
|
|
16
|
-
import { StepAvatar, StepConnector, StepContent, StepLabel, StepLabelTypography, } from './StepActions.style.js';
|
|
17
|
-
export const StepActions = ({ step, dense, ...other }) => {
|
|
18
|
-
const { t } = useTranslation();
|
|
19
|
-
const { subvariant } = useWidgetConfig();
|
|
20
|
-
const [cardExpanded, setCardExpanded] = useState(false);
|
|
21
|
-
const handleExpand = (e) => {
|
|
22
|
-
e.stopPropagation();
|
|
23
|
-
setCardExpanded((expanded) => !expanded);
|
|
24
|
-
};
|
|
25
|
-
// FIXME: step transaction request overrides step tool details, but not included step tool details
|
|
26
|
-
const toolDetails = subvariant === 'custom'
|
|
27
|
-
? step.includedSteps.find((step) => step.tool === 'custom' && step.toolDetails.key !== 'custom')?.toolDetails || step.toolDetails
|
|
28
|
-
: step.toolDetails;
|
|
29
|
-
return (_jsxs(Box, { ...other, children: [_jsxs(Box, { sx: {
|
|
30
|
-
display: 'flex',
|
|
31
|
-
alignItems: 'center',
|
|
32
|
-
}, children: [_jsx(Badge, { overlap: "circular", anchorOrigin: { vertical: 'bottom', horizontal: 'right' }, badgeContent: _jsx(SmallAvatar, { src: lifiLogoUrl }), children: _jsx(StepAvatar, { variant: "circular", src: toolDetails.logoURI ?? lifiLogoUrl, alt: toolDetails.name, children: toolDetails.name[0] }) }), _jsx(Box, { sx: {
|
|
33
|
-
flex: 1,
|
|
34
|
-
}, children: _jsx(Typography, { sx: {
|
|
35
|
-
fontSize: 18,
|
|
36
|
-
fontWeight: 600,
|
|
37
|
-
lineHeight: 1.3334,
|
|
38
|
-
ml: 2,
|
|
39
|
-
}, children: toolDetails.name?.includes('LI.FI')
|
|
40
|
-
? toolDetails.name
|
|
41
|
-
: t('main.stepDetails', {
|
|
42
|
-
tool: toolDetails.name,
|
|
43
|
-
}) }) }), dense ? (_jsx(CardIconButton, { onClick: handleExpand, size: "small", children: cardExpanded ? (_jsx(ExpandLess, { fontSize: "inherit" })) : (_jsx(ExpandMore, { fontSize: "inherit" })) })) : null] }), dense ? (_jsx(Collapse, { timeout: 225, in: cardExpanded, mountOnEnter: true, unmountOnExit: true, children: _jsx(IncludedSteps, { step: step }) })) : (_jsx(IncludedSteps, { step: step }))] }));
|
|
44
|
-
};
|
|
45
|
-
const IncludedSteps = ({ step }) => {
|
|
46
|
-
const { subvariant, subvariantOptions, feeConfig, hiddenUI } = useWidgetConfig();
|
|
47
|
-
const { isGaslessStep } = useEthereumContext();
|
|
48
|
-
let includedSteps = step.includedSteps;
|
|
49
|
-
if (hiddenUI?.includes(HiddenUI.IntegratorStepDetails)) {
|
|
50
|
-
const feeCollectionStep = includedSteps.find((step) => step.tool === 'feeCollection');
|
|
51
|
-
if (feeCollectionStep) {
|
|
52
|
-
includedSteps = structuredClone(includedSteps.filter((step) => step.tool !== 'feeCollection'));
|
|
53
|
-
includedSteps[0].estimate.fromAmount =
|
|
54
|
-
feeCollectionStep.estimate.fromAmount;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
// biome-ignore lint/correctness/noNestedComponentDefinitions: part of the flow
|
|
58
|
-
const StepIconComponent = ({ icon }) => {
|
|
59
|
-
const includedStep = includedSteps?.[Number(icon) - 1];
|
|
60
|
-
const feeCollectionStep = includedStep?.type === 'protocol' &&
|
|
61
|
-
includedStep?.tool === 'feeCollection';
|
|
62
|
-
const toolName = feeCollectionStep && feeConfig?.name
|
|
63
|
-
? feeConfig?.name
|
|
64
|
-
: includedStep?.toolDetails.name;
|
|
65
|
-
const toolLogoURI = feeCollectionStep && feeConfig?.logoURI
|
|
66
|
-
? feeConfig?.logoURI
|
|
67
|
-
: includedStep?.toolDetails.logoURI;
|
|
68
|
-
return toolLogoURI ? (_jsx(SmallAvatar, { src: toolLogoURI, alt: toolName, sx: { width: 20, height: 20 }, children: toolName?.[0] })) : null;
|
|
69
|
-
};
|
|
70
|
-
const hasGaslessSupport = !!isGaslessStep?.(step);
|
|
71
|
-
return (_jsx(Box, { sx: {
|
|
72
|
-
mt: 1,
|
|
73
|
-
}, children: _jsx(Stepper, { orientation: "vertical", connector: _jsx(StepConnector, {}), activeStep: -1, children: includedSteps.map((step, i, includedSteps) => (_jsxs(MuiStep, { expanded: true, children: [_jsx(StepLabel, { slots: {
|
|
74
|
-
stepIcon: StepIconComponent,
|
|
75
|
-
}, children: step.type === 'custom' && subvariant === 'custom' ? (_jsx(CustomStepDetailsLabel, { step: step, subvariant: subvariant, subvariantOptions: subvariantOptions })) : step.type === 'cross' ? (_jsx(BridgeStepDetailsLabel, { step: step })) : step.type === 'protocol' ? (_jsx(ProtocolStepDetailsLabel, { step: step, feeConfig: feeConfig, relayerSupport: hasGaslessSupport })) : (_jsx(SwapStepDetailsLabel, { step: step })) }), _jsx(StepContent, { last: i === includedSteps.length - 1, children: _jsx(StepDetailsContent, { step: step }) })] }, step.id))) }) }));
|
|
76
|
-
};
|
|
77
|
-
const StepDetailsContent = ({ step }) => {
|
|
78
|
-
const { t } = useTranslation();
|
|
79
|
-
const sameTokenProtocolStep = step.action.fromToken.chainId === step.action.toToken.chainId &&
|
|
80
|
-
step.action.fromToken.address === step.action.toToken.address;
|
|
81
|
-
let fromAmount;
|
|
82
|
-
if (sameTokenProtocolStep) {
|
|
83
|
-
const estimatedFromAmount = BigInt(step.estimate.fromAmount) - BigInt(step.estimate.toAmount);
|
|
84
|
-
fromAmount =
|
|
85
|
-
estimatedFromAmount > 0n
|
|
86
|
-
? formatTokenAmount(estimatedFromAmount, step.action.fromToken.decimals)
|
|
87
|
-
: formatTokenAmount(BigInt(step.estimate.fromAmount), step.action.fromToken.decimals);
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
fromAmount = formatTokenAmount(BigInt(step.estimate.fromAmount), step.action.fromToken.decimals);
|
|
91
|
-
}
|
|
92
|
-
const showToAmount = step.type !== 'custom' && step.tool !== 'custom' && !sameTokenProtocolStep;
|
|
93
|
-
return (_jsxs(Typography, { sx: {
|
|
94
|
-
fontSize: 12,
|
|
95
|
-
lineHeight: 1,
|
|
96
|
-
fontWeight: '500',
|
|
97
|
-
color: 'text.secondary',
|
|
98
|
-
alignItems: 'center',
|
|
99
|
-
display: 'flex',
|
|
100
|
-
}, children: [!showToAmount ? (_jsxs(_Fragment, { children: [t('format.tokenAmount', {
|
|
101
|
-
value: formatTokenAmount(BigInt(step.estimate.fromAmount), step.action.fromToken.decimals),
|
|
102
|
-
}), ' ', step.action.fromToken.symbol, ' - '] })) : null, t('format.tokenAmount', {
|
|
103
|
-
value: fromAmount,
|
|
104
|
-
}), ' ', step.action.fromToken.symbol, showToAmount ? (_jsxs(_Fragment, { children: [_jsx(ArrowForward, { sx: { fontSize: 18, paddingX: 0.5, height: 12 } }), t('format.tokenAmount', {
|
|
105
|
-
value: formatTokenAmount(BigInt(step.execution?.toAmount ?? step.estimate.toAmount), step.execution?.toToken?.decimals ?? step.action.toToken.decimals),
|
|
106
|
-
}), ' ', step.execution?.toToken?.symbol ?? step.action.toToken.symbol] })) : (` (${t('format.currency', {
|
|
107
|
-
value: formatTokenPrice(fromAmount, step.action.fromToken.priceUSD, step.action.fromToken.decimals),
|
|
108
|
-
})})`)] }));
|
|
109
|
-
};
|
|
110
|
-
const CustomStepDetailsLabel = ({ step, subvariant, subvariantOptions, }) => {
|
|
111
|
-
const { t } = useTranslation();
|
|
112
|
-
if (!subvariant) {
|
|
113
|
-
return null;
|
|
114
|
-
}
|
|
115
|
-
// FIXME: step transaction request overrides step tool details, but not included step tool details
|
|
116
|
-
const toolDetails = subvariant === 'custom' &&
|
|
117
|
-
step.includedSteps?.length > 0
|
|
118
|
-
? step.includedSteps.find((step) => step.tool === 'custom' && step.toolDetails.key !== 'custom')?.toolDetails || step.toolDetails
|
|
119
|
-
: step.toolDetails;
|
|
120
|
-
const stepDetailsKey = (subvariant === 'custom' && subvariantOptions?.custom) || 'checkout';
|
|
121
|
-
return (_jsx(StepLabelTypography, { children: t(`main.${stepDetailsKey}StepDetails`, {
|
|
122
|
-
tool: toolDetails.name,
|
|
123
|
-
}) }));
|
|
124
|
-
};
|
|
125
|
-
const BridgeStepDetailsLabel = ({ step }) => {
|
|
126
|
-
const { t } = useTranslation();
|
|
127
|
-
const { getChainById } = useAvailableChains();
|
|
128
|
-
return (_jsx(StepLabelTypography, { children: t('main.bridgeStepDetails', {
|
|
129
|
-
from: getChainById(step.action.fromChainId)?.name,
|
|
130
|
-
to: getChainById(step.action.toChainId)?.name,
|
|
131
|
-
tool: step.toolDetails.name,
|
|
132
|
-
}) }));
|
|
133
|
-
};
|
|
134
|
-
const SwapStepDetailsLabel = ({ step }) => {
|
|
135
|
-
const { t } = useTranslation();
|
|
136
|
-
const { getChainById } = useAvailableChains();
|
|
137
|
-
return (_jsx(StepLabelTypography, { children: t('main.swapStepDetails', {
|
|
138
|
-
chain: getChainById(step.action.fromChainId)?.name,
|
|
139
|
-
tool: step.toolDetails.name,
|
|
140
|
-
}) }));
|
|
141
|
-
};
|
|
142
|
-
const ProtocolStepDetailsLabel = ({ step, feeConfig, relayerSupport }) => {
|
|
143
|
-
const { t } = useTranslation();
|
|
144
|
-
return (_jsx(StepLabelTypography, { children: step.toolDetails.key === 'feeCollection'
|
|
145
|
-
? feeConfig?.name ||
|
|
146
|
-
(relayerSupport
|
|
147
|
-
? t('main.fees.relayerService')
|
|
148
|
-
: t('main.fees.defaultIntegrator'))
|
|
149
|
-
: step.toolDetails.key === 'gasZip'
|
|
150
|
-
? t('main.refuelStepDetails', {
|
|
151
|
-
tool: step.toolDetails.name,
|
|
152
|
-
})
|
|
153
|
-
: step.toolDetails.name }));
|
|
154
|
-
};
|
|
155
|
-
//# sourceMappingURL=StepActions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepActions.js","sourceRoot":"","sources":["../../../../src/components/StepActions/StepActions.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,YAAY,MAAM,kCAAkC,CAAA;AAC3D,OAAO,UAAU,MAAM,gCAAgC,CAAA;AACvD,OAAO,UAAU,MAAM,gCAAgC,CAAA;AAEvD,OAAO,EACL,KAAK,EACL,GAAG,EACH,QAAQ,EACR,IAAI,IAAI,OAAO,EACf,OAAO,EACP,UAAU,GACX,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EACL,UAAU,EACV,aAAa,EACb,WAAW,EACX,SAAS,EACT,mBAAmB,GACpB,MAAM,wBAAwB,CAAA;AAO/B,MAAM,CAAC,MAAM,WAAW,GAA+B,CAAC,EACtD,IAAI,EACJ,KAAK,EACL,GAAG,KAAK,E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AW,CAAC,IAAI,GACP,CACvB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const StepConnector: import("@emotion/styled").StyledComponent<import("@mui/material").StepConnectorProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
2
|
-
export declare const StepLabel: import("@emotion/styled").StyledComponent<import("@mui/material").StepLabelProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
3
|
-
export declare const StepLabelTypography: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "pt" | "pl" | "order" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pr" | "pb" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "children" | "style" | "sx" | "className" | "variant" | "classes" | "align" | "noWrap" | "gutterBottom" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
4
|
-
export declare const StepContent: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
5
|
-
last: boolean;
|
|
6
|
-
}, {}, {}>;
|
|
7
|
-
export declare const StepAvatar: import("@emotion/styled").StyledComponent<import("@mui/material").AvatarOwnProps & import("@mui/material").AvatarSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "style" | "sx" | "className" | "variant" | "classes" | "slotProps" | "slots" | "sizes" | "alt" | "src" | "imgProps" | "srcSet"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
8
|
-
avatarSize?: number;
|
|
9
|
-
badgeSize?: number;
|
|
10
|
-
}, {}, {}>;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { Box, StepConnector as MuiStepConnector, StepLabel as MuiStepLabel, stepConnectorClasses, stepLabelClasses, styled, Typography, } from '@mui/material';
|
|
2
|
-
import { AvatarMasked } from '../Avatar/Avatar.style.js';
|
|
3
|
-
export const StepConnector = styled(MuiStepConnector, {
|
|
4
|
-
shouldForwardProp: (prop) => !['active', 'completed', 'error'].includes(prop),
|
|
5
|
-
})(({ theme }) => ({
|
|
6
|
-
marginLeft: theme.spacing(2.375),
|
|
7
|
-
[`.${stepConnectorClasses.line}`]: {
|
|
8
|
-
minHeight: 8,
|
|
9
|
-
borderLeftWidth: 2,
|
|
10
|
-
borderColor: `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.12)`,
|
|
11
|
-
...theme.applyStyles('dark', {
|
|
12
|
-
borderColor: `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.16)`,
|
|
13
|
-
}),
|
|
14
|
-
},
|
|
15
|
-
}));
|
|
16
|
-
export const StepLabel = styled(MuiStepLabel, {
|
|
17
|
-
shouldForwardProp: (prop) => !['active', 'completed', 'error', 'disabled'].includes(prop),
|
|
18
|
-
})(({ theme }) => ({
|
|
19
|
-
padding: 0,
|
|
20
|
-
alignItems: 'center',
|
|
21
|
-
[`.${stepLabelClasses.iconContainer}`]: {
|
|
22
|
-
paddingLeft: theme.spacing(1.25),
|
|
23
|
-
paddingRight: theme.spacing(3.25),
|
|
24
|
-
},
|
|
25
|
-
[`.${stepLabelClasses.labelContainer}`]: {
|
|
26
|
-
minHeight: 24,
|
|
27
|
-
display: 'flex',
|
|
28
|
-
alignItems: 'center',
|
|
29
|
-
},
|
|
30
|
-
[`&.${stepLabelClasses.disabled}`]: {
|
|
31
|
-
cursor: 'inherit',
|
|
32
|
-
},
|
|
33
|
-
}));
|
|
34
|
-
export const StepLabelTypography = styled(Typography)(({ theme }) => ({
|
|
35
|
-
fontSize: 12,
|
|
36
|
-
fontWeight: 500,
|
|
37
|
-
lineHeight: 1.325,
|
|
38
|
-
color: theme.vars.palette.text.secondary,
|
|
39
|
-
padding: theme.spacing(0.5, 0),
|
|
40
|
-
}));
|
|
41
|
-
export const StepContent = styled(Box, {
|
|
42
|
-
shouldForwardProp: (prop) => !['last'].includes(prop),
|
|
43
|
-
})(({ theme }) => ({
|
|
44
|
-
margin: theme.spacing(0, 0, 0, 2.375),
|
|
45
|
-
paddingLeft: theme.spacing(4.375),
|
|
46
|
-
borderLeft: `2px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.12)`,
|
|
47
|
-
...theme.applyStyles('dark', {
|
|
48
|
-
borderLeft: `2px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.16)`,
|
|
49
|
-
}),
|
|
50
|
-
variants: [
|
|
51
|
-
{
|
|
52
|
-
props: ({ last }) => last,
|
|
53
|
-
style: {
|
|
54
|
-
borderLeft: 'none',
|
|
55
|
-
paddingLeft: theme.spacing(4.625),
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
}));
|
|
60
|
-
export const StepAvatar = styled(AvatarMasked)(({ theme }) => ({
|
|
61
|
-
color: theme.vars.palette.text.primary,
|
|
62
|
-
backgroundColor: 'transparent',
|
|
63
|
-
}));
|
|
64
|
-
//# sourceMappingURL=StepActions.style.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepActions.style.js","sourceRoot":"","sources":["../../../../src/components/StepActions/StepActions.style.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,GAAG,EACH,aAAa,IAAI,gBAAgB,EACjC,SAAS,IAAI,YAAY,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,MAAM,EACN,UAAU,GACX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAExD,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,gBAAgB,EAAE;IACpD,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC7D,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACjB,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;IAChC,CAAC,IAAI,oBAAoB,CAAC,IAAI,EAAE,CAAC,EAAE;QACjC,SAAS,EAAE,CAAC;QACZ,eAAe,EAAE,CAAC;QAClB,WAAW,EAA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Step, Step } from '@lifi/sdk';
|
|
2
|
-
import type { BoxProps } from '@mui/material';
|
|
3
|
-
import type { SubvariantOptions, WidgetFeeConfig, WidgetSubvariant } from '../../types/widget.js';
|
|
4
|
-
export interface StepActionsProps extends BoxProps {
|
|
5
|
-
step: LiFiStep;
|
|
6
|
-
dense?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface StepDetailsLabelProps {
|
|
9
|
-
step: Step;
|
|
10
|
-
subvariant?: Extract<WidgetSubvariant, 'custom'>;
|
|
11
|
-
subvariantOptions?: SubvariantOptions;
|
|
12
|
-
feeConfig?: WidgetFeeConfig;
|
|
13
|
-
relayerSupport?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface IncludedStepsProps {
|
|
16
|
-
step: LiFiStep;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/components/StepActions/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StepDivider: React.FC;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Divider } from '@mui/material';
|
|
3
|
-
import { Container } from './StepDivider.style.js';
|
|
4
|
-
export const StepDivider = () => {
|
|
5
|
-
return (_jsx(Container, { children: _jsx(Divider, { orientation: "vertical", flexItem: true }) }));
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=StepDivider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepDivider.js","sourceRoot":"","sources":["../../../../src/components/StepDivider/StepDivider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAElD,MAAM,CAAC,MAAM,WAAW,GAAa,GAAG,EAAE;IACxC,OAAO,CACL,KAAC,SAAS,cACR,KAAC,OAAO,IAAC,WAAW,EAAC,UAAU,EAAC,QAAQ,SAAG,GACjC,CACb,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/material").ContainerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "fixed" | "maxWidth" | "children" | "style" | "sx" | "className" | "classes" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Container as MuiContainer, styled } from '@mui/material';
|
|
2
|
-
export const Container = styled(MuiContainer)(({ theme }) => ({
|
|
3
|
-
display: 'flex',
|
|
4
|
-
alignItems: 'center',
|
|
5
|
-
justifyContent: 'center',
|
|
6
|
-
height: theme.spacing(2),
|
|
7
|
-
}));
|
|
8
|
-
//# sourceMappingURL=StepDivider.style.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepDivider.style.js","sourceRoot":"","sources":["../../../../src/components/StepDivider/StepDivider.style.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAEjE,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5D,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,QAAQ;IACxB,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;CACzB,CAAC,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Switch: import("@emotion/styled").StyledComponent<import("@mui/material").SwitchProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const NavigationTabs: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "value" | "children" | "style" | "sx" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "variant" | "action" | "classes" | "slotProps" | "slots" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar">, "id" | "color" | "content" | "translate" | "key" | "value" | "children" | "ref" | "title" | "slot" | "style" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "variant" | "action" | "classes" | "slotProps" | "slots" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
2
|
-
export declare const NavigationTab: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "value" | "children" | "label" | "style" | "sx" | "className" | "tabIndex" | "icon" | "disabled" | "action" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "iconPosition" | "wrapped"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
3
|
-
component?: React.ElementType | undefined;
|
|
4
|
-
}, "id" | "color" | "content" | "translate" | "key" | "value" | "children" | "ref" | "title" | "label" | "slot" | "style" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "theme" | "as" | "icon" | "disabled" | "action" | "classes" | "component" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "iconPosition" | "wrapped"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const CardTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "value" | "children" | "style" | "sx" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "variant" | "action" | "classes" | "slotProps" | "slots" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
2
|
-
export declare const Tab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "value" | "children" | "label" | "style" | "sx" | "className" | "tabIndex" | "icon" | "disabled" | "action" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "iconPosition" | "wrapped"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
3
|
-
component?: React.ElementType | undefined;
|
|
4
|
-
}, {}, {}>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from 'react';
|
|
2
|
-
export interface TextFitterProps {
|
|
3
|
-
textStyle?: CSSProperties;
|
|
4
|
-
svgStyle?: CSSProperties;
|
|
5
|
-
onFit?(): void;
|
|
6
|
-
maxHeight?: string | number;
|
|
7
|
-
height?: string | number;
|
|
8
|
-
width?: string | number;
|
|
9
|
-
preserveAspectRatio?: string;
|
|
10
|
-
cropTop?: number;
|
|
11
|
-
cropBottom?: number;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/components/TextFitter/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from 'react';
|
|
3
|
-
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { useTimer } from '../../hooks/timer/useTimer.js';
|
|
5
|
-
import { formatTimer } from '../../utils/timer.js';
|
|
6
|
-
import { TimerContent } from './TimerContent.js';
|
|
7
|
-
const getExpiryTimestamp = (step) => {
|
|
8
|
-
const execution = step?.execution;
|
|
9
|
-
if (!execution) {
|
|
10
|
-
return new Date();
|
|
11
|
-
}
|
|
12
|
-
const expiry = new Date((execution.signedAt ?? Date.now()) + step.estimate.executionDuration * 1000);
|
|
13
|
-
return expiry;
|
|
14
|
-
};
|
|
15
|
-
export const StepTimer = ({ step, hideInProgress }) => {
|
|
16
|
-
const { i18n } = useTranslation();
|
|
17
|
-
if (step.execution?.status === 'DONE' ||
|
|
18
|
-
step.execution?.status === 'FAILED') {
|
|
19
|
-
return null;
|
|
20
|
-
}
|
|
21
|
-
if (!step.execution?.signedAt) {
|
|
22
|
-
const showSeconds = step.estimate.executionDuration < 60;
|
|
23
|
-
const duration = showSeconds
|
|
24
|
-
? Math.floor(step.estimate.executionDuration)
|
|
25
|
-
: Math.floor(step.estimate.executionDuration / 60);
|
|
26
|
-
return (_jsx(TimerContent, { children: duration.toLocaleString(i18n.language, {
|
|
27
|
-
style: 'unit',
|
|
28
|
-
unit: showSeconds ? 'second' : 'minute',
|
|
29
|
-
unitDisplay: 'narrow',
|
|
30
|
-
}) }));
|
|
31
|
-
}
|
|
32
|
-
return (_jsx(ExecutionTimer, { expiryTimestamp: getExpiryTimestamp(step), hideInProgress: hideInProgress }));
|
|
33
|
-
};
|
|
34
|
-
const ExecutionTimer = ({ expiryTimestamp, hideInProgress, }) => {
|
|
35
|
-
const { t, i18n } = useTranslation();
|
|
36
|
-
const [isExpired, setExpired] = useState(false);
|
|
37
|
-
const { days, hours, minutes, seconds } = useTimer({
|
|
38
|
-
autoStart: true,
|
|
39
|
-
expiryTimestamp,
|
|
40
|
-
onExpire: () => setExpired(true),
|
|
41
|
-
});
|
|
42
|
-
const isTimerExpired = isExpired || (!minutes && !seconds);
|
|
43
|
-
if (isTimerExpired) {
|
|
44
|
-
if (hideInProgress) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return t('main.inProgress');
|
|
48
|
-
}
|
|
49
|
-
return (_jsx(TimerContent, { children: formatTimer({
|
|
50
|
-
locale: i18n.language,
|
|
51
|
-
days,
|
|
52
|
-
hours,
|
|
53
|
-
minutes,
|
|
54
|
-
seconds,
|
|
55
|
-
}) }));
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=StepTimer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepTimer.js","sourceRoot":"","sources":["../../../../src/components/Timer/StepTimer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,kBAAkB,GAAG,CAAC,IAAsB,EAAE,EAAE;IACpD,MAAM,SAAS,GAAG,IAAI,EAAE,SAAS,CAAA;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,CAAC,IAAI,CAAC,EACzC,cAAc,EAAE,cAAc,GAC9B,CACH,CAAA;AACH,CAAC,CAAA;AAED,MAAM,cAAc,GAAG,CAAC,EACtB,eAAe,EACf,cAAc,GAIf,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,CAAA;IAEpC,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAA;IAE/C,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAC;QACjD,SAAS,EAAE,IAAI;QACf,eAAe;QACf,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;KACjC,CAAC,CAAA;IAEF,MAAM,cAAc,GAAG,SAAS,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,CAAA;IAE1D,IAAI,cAAc,EAAE,CAAC;QACnB,IAAI,cAAc,EAAE,CAAC;YACnB,OAAO,IAAI,CAAA;QACb,CAAC;QACD,OAAO,CAAC,CAAC,iBAAiB,CAAC,CAAA;IAC7B,CAAC;IAED,OAAO,CACL,KAAC,YAAY,cACV,WAAW,CAAC;YACX,MAAM,EAAE,IAAI,CAAC,QAAQ;YACrB,IAAI;YACJ,KAAK;YACL,OAAO;YACP,OAAO;SACR,CAAC,GACW,CAChB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import AccessTimeFilled from '@mui/icons-material/AccessTimeFilled';
|
|
3
|
-
import { Box, Tooltip } from '@mui/material';
|
|
4
|
-
import { useTranslation } from 'react-i18next';
|
|
5
|
-
import { IconTypography } from '../IconTypography.js';
|
|
6
|
-
export const TimerContent = ({ children }) => {
|
|
7
|
-
const { t } = useTranslation();
|
|
8
|
-
return (_jsx(Tooltip, { title: t('tooltip.estimatedTime'), sx: { cursor: 'help' }, children: _jsxs(Box, { component: "span", sx: {
|
|
9
|
-
display: 'flex',
|
|
10
|
-
alignItems: 'center',
|
|
11
|
-
height: 14,
|
|
12
|
-
}, children: [_jsx(IconTypography, { as: "span", sx: { marginRight: 0.5, fontSize: 16 }, children: _jsx(AccessTimeFilled, { fontSize: "inherit" }) }), _jsx(Box, { component: "span", sx: {
|
|
13
|
-
fontVariantNumeric: 'tabular-nums',
|
|
14
|
-
cursor: 'help',
|
|
15
|
-
}, children: children })] }) }));
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=TimerContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TimerContent.js","sourceRoot":"","sources":["../../../../src/components/Timer/TimerContent.tsx"],"names":[],"mappings":";AAAA,OAAO,gBAAgB,MAAM,sCAAsC,CAAA;AACnE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAE5C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,MAAM,CAAC,MAAM,YAAY,GAA0B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClE,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAA;IAC9B,OAAO,CACL,KAAC,OAAO,IAAC,KAAK,EAAE,CAAC,CAAC,uBAAuB,CAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,YAChE,MAAC,GAAG,IACF,SAAS,EAAC,MAAM,EAChB,EAAE,EAAE;gBACF,OAAO,EAAE,MAAM;gBACf,UAAU,EAAE,QAAQ;gBACpB,MAAM,EAAE,EAAE;aACX,aAED,KAAC,cAAc,IAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,YAC9D,KAAC,gBAAgB,IAAC,QAAQ,EAAC,SAAS,GAAG,GACxB,EACjB,KAAC,GAAG,IACF,SAAS,EAAC,MAAM,EAChB,EAAE,EAAE;wBACF,kBAAkB,EAAE,cAAc;wBAClC,MAAM,EAAE,MAAM;qBACf,YAEA,QAAQ,GACL,IACF,GACE,CACX,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { LiFiStep, TokenAmount } from '@lifi/sdk';
|
|
2
|
-
import type { BoxProps } from '@mui/material';
|
|
3
|
-
import type { FC } from 'react';
|
|
4
|
-
interface TokenProps {
|
|
5
|
-
token: TokenAmount;
|
|
6
|
-
impactToken?: TokenAmount;
|
|
7
|
-
enableImpactTokenTooltip?: boolean;
|
|
8
|
-
step?: LiFiStep;
|
|
9
|
-
stepVisible?: boolean;
|
|
10
|
-
disableDescription?: boolean;
|
|
11
|
-
isLoading?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const Token: FC<TokenProps & BoxProps>;
|
|
14
|
-
export declare const TokenSkeleton: FC<Partial<TokenProps> & BoxProps>;
|
|
15
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const TextSecondaryContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
2
|
-
export declare const TextSecondary: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "pt" | "pl" | "order" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pr" | "pb" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "children" | "style" | "sx" | "className" | "variant" | "classes" | "align" | "noWrap" | "gutterBottom" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
3
|
-
dot?: boolean;
|
|
4
|
-
}, {}, {}>;
|
|
5
|
-
export declare const TokenDivider: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|