@lifi/widget 3.0.0-alpha.3 → 3.0.0-alpha.5
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/_cjs/App.js +13 -0
- package/_cjs/AppDefault.js +20 -0
- package/_cjs/AppDrawer.js +64 -0
- package/_cjs/AppDrawer.style.js +90 -0
- package/_cjs/AppProvider.js +21 -0
- package/_cjs/AppRoutes.js +96 -0
- package/_cjs/components/ActiveTransactions/ActiveTransactionItem.js +49 -0
- package/_cjs/components/ActiveTransactions/ActiveTransactions.js +28 -0
- package/_cjs/components/ActiveTransactions/ActiveTransactions.style.js +35 -0
- package/_cjs/components/ActiveTransactions/index.js +18 -0
- package/_cjs/components/AmountInput/AmountInput.js +57 -0
- package/_cjs/components/AmountInput/AmountInput.style.js +34 -0
- package/_cjs/components/AmountInput/AmountInputAdornment.style.js +11 -0
- package/_cjs/components/AmountInput/AmountInputEndAdornment.js +44 -0
- package/_cjs/components/AmountInput/AmountInputStartAdornment.js +21 -0
- package/_cjs/components/AmountInput/FormPriceHelperText.js +37 -0
- package/_cjs/components/AmountInput/index.js +17 -0
- package/_cjs/components/AppContainer.js +56 -0
- package/_cjs/components/BaseTransactionButton/BaseTransactionButton.js +37 -0
- package/_cjs/components/BaseTransactionButton/index.js +20 -0
- package/_cjs/components/BaseTransactionButton/types.js +2 -0
- package/_cjs/components/BottomSheet/BottomSheet.js +27 -0
- package/_cjs/components/BottomSheet/index.js +18 -0
- package/_cjs/components/BottomSheet/types.js +2 -0
- package/_cjs/components/Card/Card.js +53 -0
- package/_cjs/components/Card/CardHeader.js +23 -0
- package/_cjs/components/Card/CardIconButton.js +17 -0
- package/_cjs/components/Card/CardLabel.js +45 -0
- package/_cjs/components/Card/CardTitle.js +18 -0
- package/_cjs/components/Card/index.js +21 -0
- package/_cjs/components/ChainSelect/ChainSelect.js +40 -0
- package/_cjs/components/ChainSelect/ChainSelect.style.js +19 -0
- package/_cjs/components/ChainSelect/index.js +18 -0
- package/_cjs/components/ChainSelect/useChainSelect.js +65 -0
- package/_cjs/components/ContractComponent/ContractComponent.js +12 -0
- package/_cjs/components/ContractComponent/index.js +17 -0
- package/_cjs/components/Dialog.js +34 -0
- package/_cjs/components/GasMessage/FundsSufficiencyMessage.js +16 -0
- package/_cjs/components/GasMessage/GasMessage.js +15 -0
- package/_cjs/components/GasMessage/GasMessage.style.js +45 -0
- package/_cjs/components/GasMessage/GasRefuelMessage.js +26 -0
- package/_cjs/components/GasMessage/GasSufficiencyMessage.js +22 -0
- package/_cjs/components/GasMessage/index.js +18 -0
- package/_cjs/components/Header/Header.js +25 -0
- package/_cjs/components/Header/Header.style.js +71 -0
- package/_cjs/components/Header/NavigationHeader.js +96 -0
- package/_cjs/components/Header/NavigationTabs.js +26 -0
- package/_cjs/components/Header/SettingsButton.js +25 -0
- package/_cjs/components/Header/SettingsButton.style.js +44 -0
- package/_cjs/components/Header/WalletHeader.js +64 -0
- package/_cjs/components/Header/WalletMenu.js +62 -0
- package/_cjs/components/Header/WalletMenu.style.js +27 -0
- package/_cjs/components/Header/index.js +17 -0
- package/_cjs/components/Initializer.js +9 -0
- package/_cjs/components/Input.js +17 -0
- package/_cjs/components/Insurance/Insurance.js +11 -0
- package/_cjs/components/Insurance/InsuranceCard.js +45 -0
- package/_cjs/components/Insurance/InsuranceCollapsed.js +30 -0
- package/_cjs/components/Insurance/index.js +18 -0
- package/_cjs/components/Insurance/types.js +2 -0
- package/_cjs/components/ListItemButton.js +14 -0
- package/_cjs/components/ListItemText.js +11 -0
- package/_cjs/components/NFT/NFT.js +33 -0
- package/_cjs/components/NFT/NFT.style.js +11 -0
- package/_cjs/components/NFT/NFTBase.js +13 -0
- package/_cjs/components/NFT/index.js +19 -0
- package/_cjs/components/NFT/types.js +2 -0
- package/_cjs/components/NotFound.js +19 -0
- package/_cjs/components/PoweredBy/PoweredBy.js +26 -0
- package/_cjs/components/PoweredBy/PoweredBy.style.js +13 -0
- package/_cjs/components/PoweredBy/index.js +5 -0
- package/_cjs/components/ProgressToNextUpdate/ProgressToNextUpdate.js +50 -0
- package/_cjs/components/ProgressToNextUpdate/index.js +17 -0
- package/_cjs/components/ReverseTokensButton/ReverseTokensButton.js +27 -0
- package/_cjs/components/ReverseTokensButton/ReverseTokensButton.style.js +19 -0
- package/_cjs/components/ReverseTokensButton/index.js +17 -0
- package/_cjs/components/RouteCard/RouteCard.js +49 -0
- package/_cjs/components/RouteCard/RouteCard.style.js +12 -0
- package/_cjs/components/RouteCard/RouteCardEssentials.js +28 -0
- package/_cjs/components/RouteCard/RouteCardSkeleton.js +15 -0
- package/_cjs/components/RouteCard/RouteNotFoundCard.js +18 -0
- package/_cjs/components/RouteCard/index.js +19 -0
- package/_cjs/components/RouteCard/types.js +2 -0
- package/_cjs/components/RouteCard/utils.js +55 -0
- package/_cjs/components/Routes/Routes.js +37 -0
- package/_cjs/components/Routes/RoutesExpanded.js +44 -0
- package/_cjs/components/Routes/RoutesExpanded.style.js +38 -0
- package/_cjs/components/Routes/index.js +18 -0
- package/_cjs/components/Select.js +31 -0
- package/_cjs/components/SelectChainAndToken.js +40 -0
- package/_cjs/components/SelectTokenButton/SelectTokenButton.js +45 -0
- package/_cjs/components/SelectTokenButton/SelectTokenButton.style.js +34 -0
- package/_cjs/components/SelectTokenButton/index.js +17 -0
- package/_cjs/components/SendToWallet/SendToWallet.js +82 -0
- package/_cjs/components/SendToWallet/SendToWallet.style.js +21 -0
- package/_cjs/components/SendToWallet/SendToWalletButton.js +39 -0
- package/_cjs/components/SendToWallet/index.js +18 -0
- package/_cjs/components/SettingsListItemButton.js +8 -0
- package/_cjs/components/SmallAvatar.js +25 -0
- package/_cjs/components/Step/CircularProgress.js +28 -0
- package/_cjs/components/Step/CircularProgress.style.js +72 -0
- package/_cjs/components/Step/DestinationWalletAddress.js +28 -0
- package/_cjs/components/Step/GasStepProcess.js +24 -0
- package/_cjs/components/Step/Step.js +56 -0
- package/_cjs/components/Step/StepList.js +28 -0
- package/_cjs/components/Step/StepProcess.js +17 -0
- package/_cjs/components/Step/StepProcess.style.js +8 -0
- package/_cjs/components/Step/StepTimer.js +60 -0
- package/_cjs/components/Step/index.js +18 -0
- package/_cjs/components/StepActions/StepActions.js +119 -0
- package/_cjs/components/StepActions/StepActions.style.js +59 -0
- package/_cjs/components/StepActions/index.js +5 -0
- package/_cjs/components/StepActions/types.js +2 -0
- package/_cjs/components/StepDivider/StepDivider.js +10 -0
- package/_cjs/components/StepDivider/StepDivider.style.js +11 -0
- package/_cjs/components/StepDivider/index.js +17 -0
- package/_cjs/components/Switch.js +56 -0
- package/_cjs/components/Tabs/Tabs.style.js +39 -0
- package/_cjs/components/Tabs/index.js +17 -0
- package/_cjs/components/TextFitter/TextFitter.js +58 -0
- package/_cjs/components/TextFitter/index.js +17 -0
- package/_cjs/components/TextFitter/types.js +2 -0
- package/_cjs/components/Token/Token.js +44 -0
- package/_cjs/components/Token/Token.style.js +44 -0
- package/_cjs/components/Token/index.js +18 -0
- package/_cjs/components/TokenAvatar/TokenAvatar.js +29 -0
- package/_cjs/components/TokenAvatar/TokenAvatar.style.js +29 -0
- package/_cjs/components/TokenAvatar/index.js +18 -0
- package/_cjs/components/TokenList/TokenList.js +47 -0
- package/_cjs/components/TokenList/TokenList.style.js +53 -0
- package/_cjs/components/TokenList/TokenListItem.js +61 -0
- package/_cjs/components/TokenList/TokenNotFound.js +28 -0
- package/_cjs/components/TokenList/VirtualizedTokenList.js +59 -0
- package/_cjs/components/TokenList/index.js +18 -0
- package/_cjs/components/TokenList/types.js +2 -0
- package/_cjs/components/TokenList/useTokenSelect.js +56 -0
- package/_cjs/config/queryClient.js +24 -0
- package/_cjs/config/theme.js +244 -0
- package/_cjs/config/version.d.ts +2 -0
- package/_cjs/config/version.js +5 -0
- package/_cjs/hooks/index.js +49 -0
- package/_cjs/hooks/useAccount.js +53 -0
- package/_cjs/hooks/useAvailableChains.js +36 -0
- package/_cjs/hooks/useChain.js +14 -0
- package/_cjs/hooks/useChains.js +20 -0
- package/_cjs/hooks/useContentHeight.js +44 -0
- package/_cjs/hooks/useDebouncedWatch.js +33 -0
- package/_cjs/hooks/useDefaultElementId.js +9 -0
- package/_cjs/hooks/useExpandableVariant.js +12 -0
- package/_cjs/hooks/useFeaturedTokens.js +10 -0
- package/_cjs/hooks/useFromTokenSufficiency.js +67 -0
- package/_cjs/hooks/useGasRecommendation.d.ts +2 -0
- package/_cjs/hooks/useGasRecommendation.js +33 -0
- package/_cjs/hooks/useGasRefuel.js +58 -0
- package/_cjs/hooks/useGasSufficiency.js +91 -0
- package/_cjs/hooks/useInitializer.js +18 -0
- package/_cjs/hooks/useLanguages.js +28 -0
- package/_cjs/hooks/useNavigateBack.js +27 -0
- package/_cjs/hooks/useProcessMessage.js +159 -0
- package/_cjs/hooks/useRequiredToAddress.js +19 -0
- package/_cjs/hooks/useRouteExecution.js +153 -0
- package/_cjs/hooks/useRoutes.d.ts +14 -0
- package/_cjs/hooks/useRoutes.js +234 -0
- package/_cjs/hooks/useScrollableContainer.js +39 -0
- package/_cjs/hooks/useSettingMonitor.js +57 -0
- package/_cjs/hooks/useSwapOnly.js +9 -0
- package/_cjs/hooks/useToken.js +20 -0
- package/_cjs/hooks/useTokenAddressBalance.d.ts +5 -0
- package/_cjs/hooks/useTokenAddressBalance.js +20 -0
- package/_cjs/hooks/useTokenBalance.d.ts +11 -0
- package/_cjs/hooks/useTokenBalance.js +106 -0
- package/_cjs/hooks/useTokenBalances.d.ts +9 -0
- package/_cjs/hooks/useTokenBalances.js +59 -0
- package/_cjs/hooks/useTokenSearch.js +34 -0
- package/_cjs/hooks/useTokens.js +76 -0
- package/_cjs/hooks/useTools.js +28 -0
- package/_cjs/hooks/useTransactionDetails.js +56 -0
- package/_cjs/hooks/useTransactionHistory.d.ts +5 -0
- package/_cjs/hooks/useTransactionHistory.js +39 -0
- package/_cjs/hooks/useWidgetEvents.js +9 -0
- package/_cjs/i18n/index.js +31 -0
- package/_cjs/icons/InsuraceLogo.js +11 -0
- package/_cjs/icons/index.js +18 -0
- package/_cjs/icons/lifi.js +4 -0
- package/_cjs/index.js +36 -0
- package/_cjs/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js +19 -0
- package/_cjs/pages/ActiveTransactionsPage/ActiveTransactionsPage.js +37 -0
- package/_cjs/pages/ActiveTransactionsPage/index.js +17 -0
- package/_cjs/pages/LanguagesPage/LanguagesPage.js +22 -0
- package/_cjs/pages/LanguagesPage/index.js +17 -0
- package/_cjs/pages/MainPage/MainGasMessage.js +12 -0
- package/_cjs/pages/MainPage/MainPage.js +24 -0
- package/_cjs/pages/MainPage/MainPage.style.js +11 -0
- package/_cjs/pages/MainPage/ReviewButton.js +62 -0
- package/_cjs/pages/MainPage/index.js +17 -0
- package/_cjs/pages/RoutesPage/RoutesPage.js +38 -0
- package/_cjs/pages/RoutesPage/RoutesPage.style.js +9 -0
- package/_cjs/pages/RoutesPage/index.js +17 -0
- package/_cjs/pages/SelectChainPage/SelectChainPage.js +29 -0
- package/_cjs/pages/SelectChainPage/index.js +17 -0
- package/_cjs/pages/SelectChainPage/types.js +2 -0
- package/_cjs/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js +64 -0
- package/_cjs/pages/SelectEnabledToolsPage/index.js +17 -0
- package/_cjs/pages/SelectNativeTokenPage/SelectNativeTokenPage.js +22 -0
- package/_cjs/pages/SelectNativeTokenPage/index.js +17 -0
- package/_cjs/pages/SelectTokenPage/SearchTokenInput.js +24 -0
- package/_cjs/pages/SelectTokenPage/SearchTokenInput.style.js +8 -0
- package/_cjs/pages/SelectTokenPage/SelectTokenPage.js +25 -0
- package/_cjs/pages/SelectTokenPage/index.js +18 -0
- package/_cjs/pages/SelectTokenPage/types.js +8 -0
- package/_cjs/pages/SelectWalletPage/EVMListItemButton.js +40 -0
- package/_cjs/pages/SelectWalletPage/SVMListItemButton.js +34 -0
- package/_cjs/pages/SelectWalletPage/SelectWalletPage.js +59 -0
- package/_cjs/pages/SelectWalletPage/index.js +17 -0
- package/_cjs/pages/SelectWalletPage/utils.js +21 -0
- package/_cjs/pages/SettingsPage/BridgeAndExchangeSettings.js +36 -0
- package/_cjs/pages/SettingsPage/GasPriceSettings.js +21 -0
- package/_cjs/pages/SettingsPage/LanguageSetting.js +26 -0
- package/_cjs/pages/SettingsPage/ResetSettingsButton.js +30 -0
- package/_cjs/pages/SettingsPage/ResetSettingsButton.style.js +14 -0
- package/_cjs/pages/SettingsPage/RoutePrioritySettings.js +25 -0
- package/_cjs/pages/SettingsPage/SendToWalletOptionSetting.js +27 -0
- package/_cjs/pages/SettingsPage/SettingsCard/BadgedValue.js +7 -0
- package/_cjs/pages/SettingsPage/SettingsCard/SettingCard.js +11 -0
- package/_cjs/pages/SettingsPage/SettingsCard/SettingCard.style.js +53 -0
- package/_cjs/pages/SettingsPage/SettingsCard/SettingCardButton.js +8 -0
- package/_cjs/pages/SettingsPage/SettingsCard/SettingCardExpandable.js +16 -0
- package/_cjs/pages/SettingsPage/SettingsCard/SettingsAccordian.js +36 -0
- package/_cjs/pages/SettingsPage/SettingsCard/index.js +22 -0
- package/_cjs/pages/SettingsPage/SettingsCard/types.js +2 -0
- package/_cjs/pages/SettingsPage/SettingsPage.js +18 -0
- package/_cjs/pages/SettingsPage/SlippageSettings/SlippageSettings.js +51 -0
- package/_cjs/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js +74 -0
- package/_cjs/pages/SettingsPage/SlippageSettings/index.js +17 -0
- package/_cjs/pages/SettingsPage/ThemeSettings.js +39 -0
- package/_cjs/pages/SettingsPage/index.js +17 -0
- package/_cjs/pages/TransactionDetailsPage/ContactSupportButton.js +25 -0
- package/_cjs/pages/TransactionDetailsPage/TransactionDetailsPage.js +71 -0
- package/_cjs/pages/TransactionDetailsPage/TransactionDetailsPage.style.js +8 -0
- package/_cjs/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js +31 -0
- package/_cjs/pages/TransactionDetailsPage/index.js +17 -0
- package/_cjs/pages/TransactionHistoryPage/TransactionHistoryEmpty.js +19 -0
- package/_cjs/pages/TransactionHistoryPage/TransactionHistoryItem.js +60 -0
- package/_cjs/pages/TransactionHistoryPage/TransactionHistoryPage.js +34 -0
- package/_cjs/pages/TransactionHistoryPage/TransactionHistorySkeleton.js +26 -0
- package/_cjs/pages/TransactionHistoryPage/constants.js +4 -0
- package/_cjs/pages/TransactionHistoryPage/index.js +17 -0
- package/_cjs/pages/TransactionPage/ExchangeRateBottomSheet.js +62 -0
- package/_cjs/pages/TransactionPage/StartTransactionButton.js +22 -0
- package/_cjs/pages/TransactionPage/StatusBottomSheet.js +165 -0
- package/_cjs/pages/TransactionPage/StatusBottomSheet.style.js +48 -0
- package/_cjs/pages/TransactionPage/TokenValueBottomSheet.js +38 -0
- package/_cjs/pages/TransactionPage/TransactionPage.js +136 -0
- package/_cjs/pages/TransactionPage/TransactionPage.style.js +8 -0
- package/_cjs/pages/TransactionPage/index.js +17 -0
- package/_cjs/pages/TransactionPage/types.js +2 -0
- package/_cjs/pages/TransactionPage/utils.js +10 -0
- package/_cjs/providers/FormProvider/FormProvider.js +39 -0
- package/_cjs/providers/FormProvider/FormUpdater.js +71 -0
- package/_cjs/providers/FormProvider/URLSearchParamsBuilder.js +37 -0
- package/_cjs/providers/FormProvider/index.js +19 -0
- package/_cjs/providers/FormProvider/types.js +23 -0
- package/_cjs/providers/I18nProvider/I18nProvider.js +57 -0
- package/_cjs/providers/I18nProvider/index.js +18 -0
- package/_cjs/providers/I18nProvider/types.js +2 -0
- package/_cjs/providers/ThemeProvider/ThemeProvider.js +37 -0
- package/_cjs/providers/ThemeProvider/index.js +17 -0
- package/_cjs/providers/WalletProvider/EVMProvider.js +79 -0
- package/_cjs/providers/WalletProvider/SDKProviders.js +31 -0
- package/_cjs/providers/WalletProvider/SolanaProvider.js +35 -0
- package/_cjs/providers/WalletProvider/WalletProvider.js +11 -0
- package/_cjs/providers/WalletProvider/index.js +18 -0
- package/_cjs/providers/WalletProvider/utils.js +25 -0
- package/_cjs/providers/WidgetProvider/WidgetProvider.js +94 -0
- package/_cjs/providers/WidgetProvider/index.js +19 -0
- package/_cjs/providers/WidgetProvider/types.js +2 -0
- package/_cjs/providers/WidgetProvider/utils.js +10 -0
- package/_cjs/providers/index.js +21 -0
- package/_cjs/stores/StoreProvider.js +14 -0
- package/_cjs/stores/chains/ChainOrderStore.js +55 -0
- package/_cjs/stores/chains/createChainOrderStore.js +53 -0
- package/_cjs/stores/chains/index.js +20 -0
- package/_cjs/stores/chains/types.js +2 -0
- package/_cjs/stores/chains/useChainOrder.js +9 -0
- package/_cjs/stores/header/index.js +17 -0
- package/_cjs/stores/header/types.js +2 -0
- package/_cjs/stores/header/useHeaderStore.js +56 -0
- package/_cjs/stores/index.js +21 -0
- package/_cjs/stores/routes/RouteExecutionStore.js +31 -0
- package/_cjs/stores/routes/createRouteExecutionStore.js +134 -0
- package/_cjs/stores/routes/index.js +21 -0
- package/_cjs/stores/routes/types.js +12 -0
- package/_cjs/stores/routes/useExecutingRoutesIds.js +16 -0
- package/_cjs/stores/routes/useSetExecutableRoute.js +8 -0
- package/_cjs/stores/routes/utils.js +48 -0
- package/_cjs/stores/settings/index.js +22 -0
- package/_cjs/stores/settings/types.js +4 -0
- package/_cjs/stores/settings/useAppearance.js +13 -0
- package/_cjs/stores/settings/useSendToWalletStore.js +16 -0
- package/_cjs/stores/settings/useSettings.js +12 -0
- package/_cjs/stores/settings/useSettingsStore.js +122 -0
- package/_cjs/stores/settings/useSplitSubvariantStore.js +44 -0
- package/_cjs/stores/types.js +2 -0
- package/_cjs/types/events.js +17 -0
- package/_cjs/types/index.js +19 -0
- package/_cjs/types/token.js +2 -0
- package/_cjs/types/widget.js +25 -0
- package/_cjs/utils/colors.js +23 -0
- package/_cjs/utils/converters.js +172 -0
- package/_cjs/utils/deepMerge.js +18 -0
- package/_cjs/utils/elements.js +12 -0
- package/_cjs/utils/enum.js +5 -0
- package/_cjs/utils/format.js +82 -0
- package/_cjs/utils/index.js +25 -0
- package/_cjs/utils/input.js +30 -0
- package/_cjs/utils/navigationRoutes.js +54 -0
- package/_cjs/utils/svm.js +14 -0
- package/_cjs/utils/wallet.js +7 -0
- package/_esm/App.d.ts +4 -0
- package/_esm/App.js +10 -0
- package/_esm/AppDefault.d.ts +1 -0
- package/_esm/AppDefault.js +16 -0
- package/_esm/AppDrawer.d.ts +13 -0
- package/_esm/AppDrawer.js +60 -0
- package/_esm/AppDrawer.style.d.ts +16 -0
- package/_esm/AppDrawer.style.js +87 -0
- package/_esm/AppProvider.d.ts +4 -0
- package/_esm/AppProvider.js +16 -0
- package/_esm/AppRoutes.d.ts +2 -0
- package/_esm/AppRoutes.js +92 -0
- package/_esm/components/ActiveTransactions/ActiveTransactionItem.d.ts +5 -0
- package/_esm/components/ActiveTransactions/ActiveTransactionItem.js +45 -0
- package/_esm/components/ActiveTransactions/ActiveTransactions.d.ts +3 -0
- package/_esm/components/ActiveTransactions/ActiveTransactions.js +24 -0
- package/_esm/components/ActiveTransactions/ActiveTransactions.style.d.ts +12 -0
- package/_esm/components/ActiveTransactions/ActiveTransactions.style.js +32 -0
- package/_esm/components/ActiveTransactions/index.js +2 -0
- package/_esm/components/AmountInput/AmountInput.d.ts +12 -0
- package/_esm/components/AmountInput/AmountInput.js +52 -0
- package/_esm/components/AmountInput/AmountInput.style.d.ts +7 -0
- package/_esm/components/AmountInput/AmountInput.style.js +31 -0
- package/_esm/components/AmountInput/AmountInputAdornment.style.d.ts +4 -0
- package/_esm/components/AmountInput/AmountInputAdornment.style.js +8 -0
- package/_esm/components/AmountInput/AmountInputEndAdornment.d.ts +2 -0
- package/_esm/components/AmountInput/AmountInputEndAdornment.js +40 -0
- package/_esm/components/AmountInput/AmountInputStartAdornment.d.ts +3 -0
- package/_esm/components/AmountInput/AmountInputStartAdornment.js +17 -0
- package/_esm/components/AmountInput/FormPriceHelperText.d.ts +9 -0
- package/_esm/components/AmountInput/FormPriceHelperText.js +32 -0
- package/_esm/components/AmountInput/index.js +1 -0
- package/_esm/components/AppContainer.d.ts +12 -0
- package/_esm/components/AppContainer.js +52 -0
- package/_esm/components/BaseTransactionButton/BaseTransactionButton.d.ts +3 -0
- package/_esm/components/BaseTransactionButton/BaseTransactionButton.js +33 -0
- package/_esm/components/BaseTransactionButton/index.js +2 -0
- package/_esm/components/BaseTransactionButton/types.d.ts +6 -0
- package/_esm/components/BaseTransactionButton/types.js +1 -0
- package/_esm/components/BottomSheet/BottomSheet.d.ts +3 -0
- package/_esm/components/BottomSheet/BottomSheet.js +24 -0
- package/_esm/components/BottomSheet/index.js +2 -0
- package/_esm/components/BottomSheet/types.d.ts +11 -0
- package/_esm/components/BottomSheet/types.js +1 -0
- package/_esm/components/Card/Card.d.ts +22 -0
- package/_esm/components/Card/Card.js +50 -0
- package/_esm/components/Card/CardHeader.d.ts +4 -0
- package/_esm/components/Card/CardHeader.js +20 -0
- package/_esm/components/Card/CardIconButton.d.ts +4 -0
- package/_esm/components/Card/CardIconButton.js +14 -0
- package/_esm/components/Card/CardLabel.d.ts +11 -0
- package/_esm/components/Card/CardLabel.js +42 -0
- package/_esm/components/Card/CardTitle.d.ts +6 -0
- package/_esm/components/Card/CardTitle.js +15 -0
- package/_esm/components/Card/index.js +5 -0
- package/_esm/components/ChainSelect/ChainSelect.d.ts +2 -0
- package/_esm/components/ChainSelect/ChainSelect.js +36 -0
- package/_esm/components/ChainSelect/ChainSelect.style.d.ts +15 -0
- package/_esm/components/ChainSelect/ChainSelect.style.js +16 -0
- package/_esm/components/ChainSelect/index.js +2 -0
- package/_esm/components/ChainSelect/useChainSelect.d.ts +10 -0
- package/_esm/components/ChainSelect/useChainSelect.js +61 -0
- package/_esm/components/ContractComponent/ContractComponent.d.ts +3 -0
- package/_esm/components/ContractComponent/ContractComponent.js +8 -0
- package/_esm/components/ContractComponent/index.js +1 -0
- package/_esm/components/Dialog.d.ts +26 -0
- package/_esm/components/Dialog.js +30 -0
- package/_esm/components/GasMessage/FundsSufficiencyMessage.d.ts +1 -0
- package/_esm/components/GasMessage/FundsSufficiencyMessage.js +12 -0
- package/_esm/components/GasMessage/GasMessage.d.ts +8 -0
- package/_esm/components/GasMessage/GasMessage.js +11 -0
- package/_esm/components/GasMessage/GasMessage.style.d.ts +14 -0
- package/_esm/components/GasMessage/GasMessage.style.js +42 -0
- package/_esm/components/GasMessage/GasRefuelMessage.d.ts +3 -0
- package/_esm/components/GasMessage/GasRefuelMessage.js +22 -0
- package/_esm/components/GasMessage/GasSufficiencyMessage.d.ts +7 -0
- package/_esm/components/GasMessage/GasSufficiencyMessage.js +18 -0
- package/_esm/components/GasMessage/index.js +2 -0
- package/_esm/components/Header/Header.d.ts +3 -0
- package/_esm/components/Header/Header.js +20 -0
- package/_esm/components/Header/Header.style.d.ts +23 -0
- package/_esm/components/Header/Header.style.js +68 -0
- package/_esm/components/Header/NavigationHeader.d.ts +3 -0
- package/_esm/components/Header/NavigationHeader.js +91 -0
- package/_esm/components/Header/NavigationTabs.d.ts +1 -0
- package/_esm/components/Header/NavigationTabs.js +22 -0
- package/_esm/components/Header/SettingsButton.d.ts +1 -0
- package/_esm/components/Header/SettingsButton.js +21 -0
- package/_esm/components/Header/SettingsButton.style.d.ts +11 -0
- package/_esm/components/Header/SettingsButton.style.js +41 -0
- package/_esm/components/Header/WalletHeader.d.ts +3 -0
- package/_esm/components/Header/WalletHeader.js +59 -0
- package/_esm/components/Header/WalletMenu.d.ts +3 -0
- package/_esm/components/Header/WalletMenu.js +58 -0
- package/_esm/components/Header/WalletMenu.style.d.ts +1 -0
- package/_esm/components/Header/WalletMenu.style.js +24 -0
- package/_esm/components/Header/index.js +1 -0
- package/_esm/components/Initializer.d.ts +2 -0
- package/_esm/components/Initializer.js +5 -0
- package/_esm/components/Input.d.ts +1 -0
- package/_esm/components/Input.js +14 -0
- package/_esm/components/Insurance/Insurance.d.ts +3 -0
- package/_esm/components/Insurance/Insurance.js +7 -0
- package/_esm/components/Insurance/InsuranceCard.d.ts +3 -0
- package/_esm/components/Insurance/InsuranceCard.js +41 -0
- package/_esm/components/Insurance/InsuranceCollapsed.d.ts +3 -0
- package/_esm/components/Insurance/InsuranceCollapsed.js +26 -0
- package/_esm/components/Insurance/index.js +2 -0
- package/_esm/components/Insurance/types.d.ts +19 -0
- package/_esm/components/Insurance/types.js +1 -0
- package/_esm/components/ListItemButton.d.ts +4 -0
- package/_esm/components/ListItemButton.js +11 -0
- package/_esm/components/ListItemText.d.ts +2 -0
- package/_esm/components/ListItemText.js +8 -0
- package/_esm/components/NFT/NFT.d.ts +3 -0
- package/_esm/components/NFT/NFT.js +29 -0
- package/_esm/components/NFT/NFT.style.d.ts +4 -0
- package/_esm/components/NFT/NFT.style.js +8 -0
- package/_esm/components/NFT/NFTBase.d.ts +3 -0
- package/_esm/components/NFT/NFTBase.js +9 -0
- package/_esm/components/NFT/index.js +3 -0
- package/_esm/components/NFT/types.d.ts +17 -0
- package/_esm/components/NFT/types.js +1 -0
- package/_esm/components/NotFound.d.ts +2 -0
- package/_esm/components/NotFound.js +15 -0
- package/_esm/components/PoweredBy/PoweredBy.d.ts +2 -0
- package/_esm/components/PoweredBy/PoweredBy.js +22 -0
- package/_esm/components/PoweredBy/PoweredBy.style.d.ts +3 -0
- package/_esm/components/PoweredBy/PoweredBy.style.js +10 -0
- package/_esm/components/PoweredBy/index.js +1 -0
- package/_esm/components/ProgressToNextUpdate/ProgressToNextUpdate.d.ts +7 -0
- package/_esm/components/ProgressToNextUpdate/ProgressToNextUpdate.js +46 -0
- package/_esm/components/ProgressToNextUpdate/index.js +1 -0
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.d.ts +4 -0
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.js +23 -0
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +4 -0
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.js +16 -0
- package/_esm/components/ReverseTokensButton/index.js +1 -0
- package/_esm/components/RouteCard/RouteCard.d.ts +4 -0
- package/_esm/components/RouteCard/RouteCard.js +45 -0
- package/_esm/components/RouteCard/RouteCard.style.d.ts +4 -0
- package/_esm/components/RouteCard/RouteCard.style.js +9 -0
- package/_esm/components/RouteCard/RouteCardEssentials.d.ts +3 -0
- package/_esm/components/RouteCard/RouteCardEssentials.js +24 -0
- package/_esm/components/RouteCard/RouteCardSkeleton.d.ts +4 -0
- package/_esm/components/RouteCard/RouteCardSkeleton.js +11 -0
- package/_esm/components/RouteCard/RouteNotFoundCard.d.ts +2 -0
- package/_esm/components/RouteCard/RouteNotFoundCard.js +14 -0
- package/_esm/components/RouteCard/index.js +3 -0
- package/_esm/components/RouteCard/types.d.ts +14 -0
- package/_esm/components/RouteCard/types.js +1 -0
- package/_esm/components/RouteCard/utils.d.ts +11 -0
- package/_esm/components/RouteCard/utils.js +50 -0
- package/_esm/components/Routes/Routes.d.ts +3 -0
- package/_esm/components/Routes/Routes.js +33 -0
- package/_esm/components/Routes/RoutesExpanded.d.ts +2 -0
- package/_esm/components/Routes/RoutesExpanded.js +39 -0
- package/_esm/components/Routes/RoutesExpanded.style.d.ts +13 -0
- package/_esm/components/Routes/RoutesExpanded.style.js +35 -0
- package/_esm/components/Routes/index.js +2 -0
- package/_esm/components/Select.d.ts +3 -0
- package/_esm/components/Select.js +28 -0
- package/_esm/components/SelectChainAndToken.d.ts +3 -0
- package/_esm/components/SelectChainAndToken.js +36 -0
- package/_esm/components/SelectTokenButton/SelectTokenButton.d.ts +5 -0
- package/_esm/components/SelectTokenButton/SelectTokenButton.js +41 -0
- package/_esm/components/SelectTokenButton/SelectTokenButton.style.d.ts +7 -0
- package/_esm/components/SelectTokenButton/SelectTokenButton.style.js +31 -0
- package/_esm/components/SelectTokenButton/index.js +1 -0
- package/_esm/components/SendToWallet/SendToWallet.d.ts +4 -0
- package/_esm/components/SendToWallet/SendToWallet.js +78 -0
- package/_esm/components/SendToWallet/SendToWallet.style.d.ts +5 -0
- package/_esm/components/SendToWallet/SendToWallet.style.js +18 -0
- package/_esm/components/SendToWallet/SendToWalletButton.d.ts +2 -0
- package/_esm/components/SendToWallet/SendToWalletButton.js +35 -0
- package/_esm/components/SendToWallet/index.js +2 -0
- package/_esm/components/SettingsListItemButton.d.ts +4 -0
- package/_esm/components/SettingsListItemButton.js +5 -0
- package/_esm/components/SmallAvatar.d.ts +11 -0
- package/_esm/components/SmallAvatar.js +21 -0
- package/_esm/components/Step/CircularProgress.d.ts +4 -0
- package/_esm/components/Step/CircularProgress.js +24 -0
- package/_esm/components/Step/CircularProgress.style.d.ts +10 -0
- package/_esm/components/Step/CircularProgress.style.js +69 -0
- package/_esm/components/Step/DestinationWalletAddress.d.ts +7 -0
- package/_esm/components/Step/DestinationWalletAddress.js +24 -0
- package/_esm/components/Step/GasStepProcess.d.ts +5 -0
- package/_esm/components/Step/GasStepProcess.js +20 -0
- package/_esm/components/Step/Step.d.ts +8 -0
- package/_esm/components/Step/Step.js +52 -0
- package/_esm/components/Step/StepList.d.ts +3 -0
- package/_esm/components/Step/StepList.js +24 -0
- package/_esm/components/Step/StepProcess.d.ts +6 -0
- package/_esm/components/Step/StepProcess.js +13 -0
- package/_esm/components/Step/StepProcess.style.d.ts +3 -0
- package/_esm/components/Step/StepProcess.style.js +5 -0
- package/_esm/components/Step/StepTimer.d.ts +6 -0
- package/_esm/components/Step/StepTimer.js +56 -0
- package/_esm/components/Step/index.js +2 -0
- package/_esm/components/StepActions/StepActions.d.ts +17 -0
- package/_esm/components/StepActions/StepActions.js +109 -0
- package/_esm/components/StepActions/StepActions.style.d.ts +8 -0
- package/_esm/components/StepActions/StepActions.style.js +56 -0
- package/_esm/components/StepActions/index.js +1 -0
- package/_esm/components/StepActions/types.d.ts +11 -0
- package/_esm/components/StepActions/types.js +1 -0
- package/_esm/components/StepDivider/StepDivider.d.ts +2 -0
- package/_esm/components/StepDivider/StepDivider.js +6 -0
- package/_esm/components/StepDivider/StepDivider.style.d.ts +4 -0
- package/_esm/components/StepDivider/StepDivider.style.js +8 -0
- package/_esm/components/StepDivider/index.js +1 -0
- package/_esm/components/Switch.d.ts +1 -0
- package/_esm/components/Switch.js +53 -0
- package/_esm/components/Tabs/Tabs.style.d.ts +9 -0
- package/_esm/components/Tabs/Tabs.style.js +36 -0
- package/_esm/components/Tabs/index.js +1 -0
- package/_esm/components/TextFitter/TextFitter.d.ts +3 -0
- package/_esm/components/TextFitter/TextFitter.js +54 -0
- package/_esm/components/TextFitter/index.js +1 -0
- package/_esm/components/TextFitter/types.d.ts +12 -0
- package/_esm/components/TextFitter/types.js +1 -0
- package/_esm/components/Token/Token.d.ts +14 -0
- package/_esm/components/Token/Token.js +38 -0
- package/_esm/components/Token/Token.style.d.ts +15 -0
- package/_esm/components/Token/Token.style.js +41 -0
- package/_esm/components/Token/index.js +2 -0
- package/_esm/components/TokenAvatar/TokenAvatar.d.ts +23 -0
- package/_esm/components/TokenAvatar/TokenAvatar.js +22 -0
- package/_esm/components/TokenAvatar/TokenAvatar.style.d.ts +8 -0
- package/_esm/components/TokenAvatar/TokenAvatar.style.js +26 -0
- package/_esm/components/TokenAvatar/index.js +2 -0
- package/_esm/components/TokenList/TokenList.d.ts +3 -0
- package/_esm/components/TokenList/TokenList.js +43 -0
- package/_esm/components/TokenList/TokenList.style.d.ts +12 -0
- package/_esm/components/TokenList/TokenList.style.js +50 -0
- package/_esm/components/TokenList/TokenListItem.d.ts +6 -0
- package/_esm/components/TokenList/TokenListItem.js +54 -0
- package/_esm/components/TokenList/TokenNotFound.d.ts +3 -0
- package/_esm/components/TokenList/TokenNotFound.js +24 -0
- package/_esm/components/TokenList/VirtualizedTokenList.d.ts +3 -0
- package/_esm/components/TokenList/VirtualizedTokenList.js +55 -0
- package/_esm/components/TokenList/index.js +2 -0
- package/_esm/components/TokenList/types.d.ts +41 -0
- package/_esm/components/TokenList/types.js +1 -0
- package/_esm/components/TokenList/useTokenSelect.d.ts +2 -0
- package/_esm/components/TokenList/useTokenSelect.js +52 -0
- package/_esm/config/queryClient.d.ts +2 -0
- package/_esm/config/queryClient.js +21 -0
- package/_esm/config/theme.d.ts +27 -0
- package/_esm/config/theme.js +240 -0
- package/_esm/config/version.d.ts +2 -0
- package/_esm/config/version.js +2 -0
- package/_esm/hooks/index.js +33 -0
- package/_esm/hooks/useAccount.d.ts +31 -0
- package/_esm/hooks/useAccount.js +48 -0
- package/_esm/hooks/useAvailableChains.d.ts +6 -0
- package/_esm/hooks/useAvailableChains.js +32 -0
- package/_esm/hooks/useChain.d.ts +4 -0
- package/_esm/hooks/useChain.js +10 -0
- package/_esm/hooks/useChains.d.ts +5 -0
- package/_esm/hooks/useChains.js +16 -0
- package/_esm/hooks/useContentHeight.d.ts +3 -0
- package/_esm/hooks/useContentHeight.js +39 -0
- package/_esm/hooks/useDebouncedWatch.d.ts +1 -0
- package/_esm/hooks/useDebouncedWatch.js +29 -0
- package/_esm/hooks/useDefaultElementId.d.ts +1 -0
- package/_esm/hooks/useDefaultElementId.js +5 -0
- package/_esm/hooks/useExpandableVariant.d.ts +1 -0
- package/_esm/hooks/useExpandableVariant.js +8 -0
- package/_esm/hooks/useFeaturedTokens.d.ts +1 -0
- package/_esm/hooks/useFeaturedTokens.js +6 -0
- package/_esm/hooks/useFromTokenSufficiency.d.ts +5 -0
- package/_esm/hooks/useFromTokenSufficiency.js +63 -0
- package/_esm/hooks/useGasRecommendation.d.ts +2 -0
- package/_esm/hooks/useGasRecommendation.js +29 -0
- package/_esm/hooks/useGasRefuel.d.ts +7 -0
- package/_esm/hooks/useGasRefuel.js +54 -0
- package/_esm/hooks/useGasSufficiency.d.ts +13 -0
- package/_esm/hooks/useGasSufficiency.js +87 -0
- package/_esm/hooks/useInitializer.d.ts +1 -0
- package/_esm/hooks/useInitializer.js +14 -0
- package/_esm/hooks/useLanguages.d.ts +6 -0
- package/_esm/hooks/useLanguages.js +24 -0
- package/_esm/hooks/useNavigateBack.d.ts +4 -0
- package/_esm/hooks/useNavigateBack.js +23 -0
- package/_esm/hooks/useProcessMessage.d.ts +11 -0
- package/_esm/hooks/useProcessMessage.js +154 -0
- package/_esm/hooks/useRequiredToAddress.d.ts +1 -0
- package/_esm/hooks/useRequiredToAddress.js +15 -0
- package/_esm/hooks/useRouteExecution.d.ts +14 -0
- package/_esm/hooks/useRouteExecution.js +149 -0
- package/_esm/hooks/useRoutes.d.ts +14 -0
- package/_esm/hooks/useRoutes.js +230 -0
- package/_esm/hooks/useScrollableContainer.d.ts +4 -0
- package/_esm/hooks/useScrollableContainer.js +32 -0
- package/_esm/hooks/useSettingMonitor.d.ts +11 -0
- package/_esm/hooks/useSettingMonitor.js +53 -0
- package/_esm/hooks/useSwapOnly.d.ts +1 -0
- package/_esm/hooks/useSwapOnly.js +5 -0
- package/_esm/hooks/useToken.d.ts +4 -0
- package/_esm/hooks/useToken.js +16 -0
- package/_esm/hooks/useTokenAddressBalance.d.ts +5 -0
- package/_esm/hooks/useTokenAddressBalance.js +16 -0
- package/_esm/hooks/useTokenBalance.d.ts +11 -0
- package/_esm/hooks/useTokenBalance.js +101 -0
- package/_esm/hooks/useTokenBalances.d.ts +9 -0
- package/_esm/hooks/useTokenBalances.js +55 -0
- package/_esm/hooks/useTokenSearch.d.ts +5 -0
- package/_esm/hooks/useTokenSearch.js +30 -0
- package/_esm/hooks/useTokens.d.ts +6 -0
- package/_esm/hooks/useTokens.js +72 -0
- package/_esm/hooks/useTools.d.ts +4 -0
- package/_esm/hooks/useTools.js +24 -0
- package/_esm/hooks/useTransactionDetails.d.ts +4 -0
- package/_esm/hooks/useTransactionDetails.js +52 -0
- package/_esm/hooks/useTransactionHistory.d.ts +5 -0
- package/_esm/hooks/useTransactionHistory.js +35 -0
- package/_esm/hooks/useWidgetEvents.d.ts +3 -0
- package/_esm/hooks/useWidgetEvents.js +5 -0
- package/_esm/i18n/bn.json +245 -0
- package/_esm/i18n/de.json +264 -0
- package/_esm/i18n/en.json +273 -0
- package/_esm/i18n/es.json +230 -0
- package/_esm/i18n/fr.json +267 -0
- package/_esm/i18n/id.json +263 -0
- package/_esm/i18n/index.d.ts +15 -0
- package/_esm/i18n/index.js +15 -0
- package/_esm/i18n/it.json +263 -0
- package/_esm/i18n/ko.json +263 -0
- package/_esm/i18n/pt.json +267 -0
- package/_esm/i18n/th.json +263 -0
- package/_esm/i18n/tr.json +267 -0
- package/_esm/i18n/uk.json +267 -0
- package/_esm/i18n/vi.json +263 -0
- package/_esm/i18n/zh.json +267 -0
- package/_esm/icons/InsuraceLogo.d.ts +2 -0
- package/_esm/icons/InsuraceLogo.js +7 -0
- package/_esm/icons/index.js +2 -0
- package/_esm/icons/lifi.d.ts +1 -0
- package/_esm/icons/lifi.js +1 -0
- package/_esm/index.d.ts +9 -0
- package/_esm/index.js +11 -0
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.d.ts +2 -0
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js +15 -0
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.d.ts +1 -0
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js +33 -0
- package/_esm/pages/ActiveTransactionsPage/index.js +1 -0
- package/_esm/pages/LanguagesPage/LanguagesPage.d.ts +2 -0
- package/_esm/pages/LanguagesPage/LanguagesPage.js +18 -0
- package/_esm/pages/LanguagesPage/index.js +1 -0
- package/_esm/pages/MainPage/MainGasMessage.d.ts +3 -0
- package/_esm/pages/MainPage/MainGasMessage.js +8 -0
- package/_esm/pages/MainPage/MainPage.d.ts +2 -0
- package/_esm/pages/MainPage/MainPage.js +20 -0
- package/_esm/pages/MainPage/MainPage.style.d.ts +4 -0
- package/_esm/pages/MainPage/MainPage.style.js +8 -0
- package/_esm/pages/MainPage/ReviewButton.d.ts +2 -0
- package/_esm/pages/MainPage/ReviewButton.js +58 -0
- package/_esm/pages/MainPage/index.js +1 -0
- package/_esm/pages/RoutesPage/RoutesPage.d.ts +3 -0
- package/_esm/pages/RoutesPage/RoutesPage.js +34 -0
- package/_esm/pages/RoutesPage/RoutesPage.style.d.ts +4 -0
- package/_esm/pages/RoutesPage/RoutesPage.style.js +6 -0
- package/_esm/pages/RoutesPage/index.js +1 -0
- package/_esm/pages/SelectChainPage/SelectChainPage.d.ts +3 -0
- package/_esm/pages/SelectChainPage/SelectChainPage.js +25 -0
- package/_esm/pages/SelectChainPage/index.js +1 -0
- package/_esm/pages/SelectChainPage/types.d.ts +4 -0
- package/_esm/pages/SelectChainPage/types.js +1 -0
- package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.d.ts +4 -0
- package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js +60 -0
- package/_esm/pages/SelectEnabledToolsPage/index.js +1 -0
- package/_esm/pages/SelectNativeTokenPage/SelectNativeTokenPage.d.ts +3 -0
- package/_esm/pages/SelectNativeTokenPage/SelectNativeTokenPage.js +18 -0
- package/_esm/pages/SelectNativeTokenPage/index.js +1 -0
- package/_esm/pages/SelectTokenPage/SearchTokenInput.d.ts +1 -0
- package/_esm/pages/SelectTokenPage/SearchTokenInput.js +20 -0
- package/_esm/pages/SelectTokenPage/SearchTokenInput.style.d.ts +1 -0
- package/_esm/pages/SelectTokenPage/SearchTokenInput.style.js +5 -0
- package/_esm/pages/SelectTokenPage/SelectTokenPage.d.ts +3 -0
- package/_esm/pages/SelectTokenPage/SelectTokenPage.js +21 -0
- package/_esm/pages/SelectTokenPage/index.js +2 -0
- package/_esm/pages/SelectTokenPage/types.d.ts +4 -0
- package/_esm/pages/SelectTokenPage/types.js +5 -0
- package/_esm/pages/SelectWalletPage/EVMListItemButton.d.ts +8 -0
- package/_esm/pages/SelectWalletPage/EVMListItemButton.js +36 -0
- package/_esm/pages/SelectWalletPage/SVMListItemButton.d.ts +6 -0
- package/_esm/pages/SelectWalletPage/SVMListItemButton.js +30 -0
- package/_esm/pages/SelectWalletPage/SelectWalletPage.d.ts +1 -0
- package/_esm/pages/SelectWalletPage/SelectWalletPage.js +55 -0
- package/_esm/pages/SelectWalletPage/index.js +1 -0
- package/_esm/pages/SelectWalletPage/utils.d.ts +3 -0
- package/_esm/pages/SelectWalletPage/utils.js +17 -0
- package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.d.ts +4 -0
- package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js +32 -0
- package/_esm/pages/SettingsPage/GasPriceSettings.d.ts +2 -0
- package/_esm/pages/SettingsPage/GasPriceSettings.js +17 -0
- package/_esm/pages/SettingsPage/LanguageSetting.d.ts +2 -0
- package/_esm/pages/SettingsPage/LanguageSetting.js +22 -0
- package/_esm/pages/SettingsPage/ResetSettingsButton.d.ts +2 -0
- package/_esm/pages/SettingsPage/ResetSettingsButton.js +26 -0
- package/_esm/pages/SettingsPage/ResetSettingsButton.style.d.ts +4 -0
- package/_esm/pages/SettingsPage/ResetSettingsButton.style.js +11 -0
- package/_esm/pages/SettingsPage/RoutePrioritySettings.d.ts +2 -0
- package/_esm/pages/SettingsPage/RoutePrioritySettings.js +21 -0
- package/_esm/pages/SettingsPage/SendToWalletOptionSetting.d.ts +1 -0
- package/_esm/pages/SettingsPage/SendToWalletOptionSetting.js +23 -0
- package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.d.ts +8 -0
- package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.js +3 -0
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.d.ts +2 -0
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.js +7 -0
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.d.ts +19 -0
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.js +50 -0
- package/_esm/pages/SettingsPage/SettingsCard/SettingCardButton.d.ts +7 -0
- package/_esm/pages/SettingsPage/SettingsCard/SettingCardButton.js +4 -0
- package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.d.ts +7 -0
- package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js +12 -0
- package/_esm/pages/SettingsPage/SettingsCard/SettingsAccordian.d.ts +6 -0
- package/_esm/pages/SettingsPage/SettingsCard/SettingsAccordian.js +31 -0
- package/_esm/pages/SettingsPage/SettingsCard/index.js +6 -0
- package/_esm/pages/SettingsPage/SettingsCard/types.d.ts +5 -0
- package/_esm/pages/SettingsPage/SettingsCard/types.js +1 -0
- package/_esm/pages/SettingsPage/SettingsPage.d.ts +1 -0
- package/_esm/pages/SettingsPage/SettingsPage.js +14 -0
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.d.ts +2 -0
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js +47 -0
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.d.ts +16 -0
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js +71 -0
- package/_esm/pages/SettingsPage/SlippageSettings/index.js +1 -0
- package/_esm/pages/SettingsPage/ThemeSettings.d.ts +2 -0
- package/_esm/pages/SettingsPage/ThemeSettings.js +35 -0
- package/_esm/pages/SettingsPage/index.js +1 -0
- package/_esm/pages/TransactionDetailsPage/ContactSupportButton.d.ts +5 -0
- package/_esm/pages/TransactionDetailsPage/ContactSupportButton.js +21 -0
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.d.ts +2 -0
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js +67 -0
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.style.d.ts +4 -0
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.style.js +5 -0
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.d.ts +1 -0
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js +27 -0
- package/_esm/pages/TransactionDetailsPage/index.js +1 -0
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.d.ts +2 -0
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js +15 -0
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.d.ts +7 -0
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.js +56 -0
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.d.ts +2 -0
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.js +30 -0
- package/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.d.ts +1 -0
- package/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js +22 -0
- package/_esm/pages/TransactionHistoryPage/constants.d.ts +1 -0
- package/_esm/pages/TransactionHistoryPage/index.js +1 -0
- package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.d.ts +14 -0
- package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js +59 -0
- package/_esm/pages/TransactionPage/StartTransactionButton.d.ts +4 -0
- package/_esm/pages/TransactionPage/StartTransactionButton.js +17 -0
- package/_esm/pages/TransactionPage/StatusBottomSheet.d.ts +3 -0
- package/_esm/pages/TransactionPage/StatusBottomSheet.js +161 -0
- package/_esm/pages/TransactionPage/StatusBottomSheet.style.d.ts +13 -0
- package/_esm/pages/TransactionPage/StatusBottomSheet.style.js +45 -0
- package/_esm/pages/TransactionPage/TokenValueBottomSheet.d.ts +11 -0
- package/_esm/pages/TransactionPage/TokenValueBottomSheet.js +34 -0
- package/_esm/pages/TransactionPage/TransactionPage.d.ts +2 -0
- package/_esm/pages/TransactionPage/TransactionPage.js +132 -0
- package/_esm/pages/TransactionPage/TransactionPage.style.d.ts +4 -0
- package/_esm/pages/TransactionPage/TransactionPage.style.js +5 -0
- package/_esm/pages/TransactionPage/index.js +1 -0
- package/_esm/pages/TransactionPage/types.d.ts +6 -0
- package/_esm/pages/TransactionPage/types.js +1 -0
- package/_esm/pages/TransactionPage/utils.d.ts +2 -0
- package/_esm/pages/TransactionPage/utils.js +6 -0
- package/_esm/providers/FormProvider/FormProvider.d.ts +12 -0
- package/_esm/providers/FormProvider/FormProvider.js +35 -0
- package/_esm/providers/FormProvider/FormUpdater.d.ts +5 -0
- package/_esm/providers/FormProvider/FormUpdater.js +67 -0
- package/_esm/providers/FormProvider/URLSearchParamsBuilder.d.ts +1 -0
- package/_esm/providers/FormProvider/URLSearchParamsBuilder.js +33 -0
- package/_esm/providers/FormProvider/index.js +3 -0
- package/_esm/providers/FormProvider/types.d.ts +37 -0
- package/_esm/providers/FormProvider/types.js +20 -0
- package/_esm/providers/I18nProvider/I18nProvider.d.ts +2 -0
- package/_esm/providers/I18nProvider/I18nProvider.js +53 -0
- package/_esm/providers/I18nProvider/index.js +2 -0
- package/_esm/providers/I18nProvider/types.d.ts +17 -0
- package/_esm/providers/I18nProvider/types.js +1 -0
- package/_esm/providers/ThemeProvider/ThemeProvider.d.ts +2 -0
- package/_esm/providers/ThemeProvider/ThemeProvider.js +33 -0
- package/_esm/providers/ThemeProvider/index.js +1 -0
- package/_esm/providers/WalletProvider/EVMProvider.d.ts +3 -0
- package/_esm/providers/WalletProvider/EVMProvider.js +74 -0
- package/_esm/providers/WalletProvider/SDKProviders.d.ts +1 -0
- package/_esm/providers/WalletProvider/SDKProviders.js +27 -0
- package/_esm/providers/WalletProvider/SolanaProvider.d.ts +3 -0
- package/_esm/providers/WalletProvider/SolanaProvider.js +30 -0
- package/_esm/providers/WalletProvider/WalletProvider.d.ts +2 -0
- package/_esm/providers/WalletProvider/WalletProvider.js +7 -0
- package/_esm/providers/WalletProvider/index.js +2 -0
- package/_esm/providers/WalletProvider/utils.d.ts +3 -0
- package/_esm/providers/WalletProvider/utils.js +21 -0
- package/_esm/providers/WidgetProvider/WidgetProvider.d.ts +4 -0
- package/_esm/providers/WidgetProvider/WidgetProvider.js +89 -0
- package/_esm/providers/WidgetProvider/index.js +3 -0
- package/_esm/providers/WidgetProvider/types.d.ts +9 -0
- package/_esm/providers/WidgetProvider/types.js +1 -0
- package/_esm/providers/WidgetProvider/utils.d.ts +4 -0
- package/_esm/providers/WidgetProvider/utils.js +6 -0
- package/_esm/providers/index.js +5 -0
- package/_esm/stores/StoreProvider.d.ts +3 -0
- package/_esm/stores/StoreProvider.js +10 -0
- package/_esm/stores/chains/ChainOrderStore.d.ts +10 -0
- package/_esm/stores/chains/ChainOrderStore.js +49 -0
- package/_esm/stores/chains/createChainOrderStore.d.ts +4 -0
- package/_esm/stores/chains/createChainOrderStore.js +49 -0
- package/_esm/stores/chains/index.js +4 -0
- package/_esm/stores/chains/types.d.ts +8 -0
- package/_esm/stores/chains/types.js +1 -0
- package/_esm/stores/chains/useChainOrder.d.ts +1 -0
- package/_esm/stores/chains/useChainOrder.js +5 -0
- package/_esm/stores/header/index.js +1 -0
- package/_esm/stores/header/types.d.ts +14 -0
- package/_esm/stores/header/types.js +1 -0
- package/_esm/stores/header/useHeaderStore.d.ts +8 -0
- package/_esm/stores/header/useHeaderStore.js +49 -0
- package/_esm/stores/index.js +5 -0
- package/_esm/stores/routes/RouteExecutionStore.d.ts +10 -0
- package/_esm/stores/routes/RouteExecutionStore.js +25 -0
- package/_esm/stores/routes/createRouteExecutionStore.d.ts +3 -0
- package/_esm/stores/routes/createRouteExecutionStore.js +130 -0
- package/_esm/stores/routes/index.js +5 -0
- package/_esm/stores/routes/types.d.ts +21 -0
- package/_esm/stores/routes/types.js +9 -0
- package/_esm/stores/routes/useExecutingRoutesIds.d.ts +1 -0
- package/_esm/stores/routes/useExecutingRoutesIds.js +12 -0
- package/_esm/stores/routes/useSetExecutableRoute.d.ts +1 -0
- package/_esm/stores/routes/useSetExecutableRoute.js +4 -0
- package/_esm/stores/routes/utils.d.ts +8 -0
- package/_esm/stores/routes/utils.js +38 -0
- package/_esm/stores/settings/index.js +6 -0
- package/_esm/stores/settings/types.d.ts +47 -0
- package/_esm/stores/settings/types.js +1 -0
- package/_esm/stores/settings/useAppearance.d.ts +2 -0
- package/_esm/stores/settings/useAppearance.js +9 -0
- package/_esm/stores/settings/useSendToWalletStore.d.ts +2 -0
- package/_esm/stores/settings/useSendToWalletStore.js +13 -0
- package/_esm/stores/settings/useSettings.d.ts +2 -0
- package/_esm/stores/settings/useSettings.js +8 -0
- package/_esm/stores/settings/useSettingsStore.d.ts +6 -0
- package/_esm/stores/settings/useSettingsStore.js +118 -0
- package/_esm/stores/settings/useSplitSubvariantStore.d.ts +7 -0
- package/_esm/stores/settings/useSplitSubvariantStore.js +37 -0
- package/_esm/stores/types.d.ts +5 -0
- package/_esm/stores/types.js +1 -0
- package/_esm/types/events.d.ts +49 -0
- package/_esm/types/events.js +14 -0
- package/_esm/types/index.js +3 -0
- package/_esm/types/token.d.ts +4 -0
- package/_esm/types/token.js +1 -0
- package/_esm/types/widget.d.ts +125 -0
- package/_esm/types/widget.js +22 -0
- package/_esm/utils/colors.d.ts +6 -0
- package/_esm/utils/colors.js +15 -0
- package/_esm/utils/converters.d.ts +3 -0
- package/_esm/utils/converters.js +168 -0
- package/_esm/utils/deepMerge.d.ts +1 -0
- package/_esm/utils/deepMerge.js +14 -0
- package/_esm/utils/elements.d.ts +7 -0
- package/_esm/utils/elements.js +8 -0
- package/_esm/utils/enum.d.ts +1 -0
- package/_esm/utils/enum.js +1 -0
- package/_esm/utils/format.d.ts +9 -0
- package/_esm/utils/format.js +75 -0
- package/_esm/utils/index.js +9 -0
- package/_esm/utils/input.d.ts +1 -0
- package/_esm/utils/input.js +26 -0
- package/_esm/utils/navigationRoutes.d.ts +22 -0
- package/_esm/utils/navigationRoutes.js +51 -0
- package/_esm/utils/svm.d.ts +1 -0
- package/_esm/utils/svm.js +10 -0
- package/_esm/utils/wallet.d.ts +1 -0
- package/_esm/utils/wallet.js +3 -0
- package/package.json +11 -20
- package/src/App.tsx +0 -29
- package/src/AppDefault.tsx +0 -35
- package/src/AppDrawer.style.tsx +0 -109
- package/src/AppDrawer.tsx +0 -141
- package/src/AppProvider.tsx +0 -51
- package/src/AppRoutes.tsx +0 -99
- package/src/_esm/App.js +0 -11
- package/src/_esm/App.js.map +0 -1
- package/src/_esm/AppDefault.js +0 -17
- package/src/_esm/AppDefault.js.map +0 -1
- package/src/_esm/AppDrawer.js +0 -61
- package/src/_esm/AppDrawer.js.map +0 -1
- package/src/_esm/AppDrawer.style.js +0 -88
- package/src/_esm/AppDrawer.style.js.map +0 -1
- package/src/_esm/AppProvider.js +0 -17
- package/src/_esm/AppProvider.js.map +0 -1
- package/src/_esm/AppRoutes.js +0 -93
- package/src/_esm/AppRoutes.js.map +0 -1
- package/src/_esm/components/ActiveTransactions/ActiveTransactionItem.js +0 -46
- package/src/_esm/components/ActiveTransactions/ActiveTransactionItem.js.map +0 -1
- package/src/_esm/components/ActiveTransactions/ActiveTransactions.js +0 -25
- package/src/_esm/components/ActiveTransactions/ActiveTransactions.js.map +0 -1
- package/src/_esm/components/ActiveTransactions/ActiveTransactions.style.js +0 -33
- package/src/_esm/components/ActiveTransactions/ActiveTransactions.style.js.map +0 -1
- package/src/_esm/components/ActiveTransactions/index.js +0 -3
- package/src/_esm/components/ActiveTransactions/index.js.map +0 -1
- package/src/_esm/components/AmountInput/AmountInput.js +0 -53
- package/src/_esm/components/AmountInput/AmountInput.js.map +0 -1
- package/src/_esm/components/AmountInput/AmountInput.style.js +0 -32
- package/src/_esm/components/AmountInput/AmountInput.style.js.map +0 -1
- package/src/_esm/components/AmountInput/AmountInputAdornment.style.js +0 -9
- package/src/_esm/components/AmountInput/AmountInputAdornment.style.js.map +0 -1
- package/src/_esm/components/AmountInput/AmountInputEndAdornment.js +0 -41
- package/src/_esm/components/AmountInput/AmountInputEndAdornment.js.map +0 -1
- package/src/_esm/components/AmountInput/AmountInputStartAdornment.js +0 -18
- package/src/_esm/components/AmountInput/AmountInputStartAdornment.js.map +0 -1
- package/src/_esm/components/AmountInput/FormPriceHelperText.js +0 -33
- package/src/_esm/components/AmountInput/FormPriceHelperText.js.map +0 -1
- package/src/_esm/components/AmountInput/index.js +0 -2
- package/src/_esm/components/AmountInput/index.js.map +0 -1
- package/src/_esm/components/AppContainer.js +0 -53
- package/src/_esm/components/AppContainer.js.map +0 -1
- package/src/_esm/components/BaseTransactionButton/BaseTransactionButton.js +0 -34
- package/src/_esm/components/BaseTransactionButton/BaseTransactionButton.js.map +0 -1
- package/src/_esm/components/BaseTransactionButton/index.js +0 -3
- package/src/_esm/components/BaseTransactionButton/index.js.map +0 -1
- package/src/_esm/components/BaseTransactionButton/types.js +0 -2
- package/src/_esm/components/BaseTransactionButton/types.js.map +0 -1
- package/src/_esm/components/BottomSheet/BottomSheet.js +0 -25
- package/src/_esm/components/BottomSheet/BottomSheet.js.map +0 -1
- package/src/_esm/components/BottomSheet/index.js +0 -3
- package/src/_esm/components/BottomSheet/index.js.map +0 -1
- package/src/_esm/components/BottomSheet/types.js +0 -2
- package/src/_esm/components/BottomSheet/types.js.map +0 -1
- package/src/_esm/components/Card/Card.js +0 -51
- package/src/_esm/components/Card/Card.js.map +0 -1
- package/src/_esm/components/Card/CardHeader.js +0 -21
- package/src/_esm/components/Card/CardHeader.js.map +0 -1
- package/src/_esm/components/Card/CardIconButton.js +0 -15
- package/src/_esm/components/Card/CardIconButton.js.map +0 -1
- package/src/_esm/components/Card/CardLabel.js +0 -43
- package/src/_esm/components/Card/CardLabel.js.map +0 -1
- package/src/_esm/components/Card/CardTitle.js +0 -16
- package/src/_esm/components/Card/CardTitle.js.map +0 -1
- package/src/_esm/components/Card/index.js +0 -6
- package/src/_esm/components/Card/index.js.map +0 -1
- package/src/_esm/components/ChainSelect/ChainSelect.js +0 -37
- package/src/_esm/components/ChainSelect/ChainSelect.js.map +0 -1
- package/src/_esm/components/ChainSelect/ChainSelect.style.js +0 -17
- package/src/_esm/components/ChainSelect/ChainSelect.style.js.map +0 -1
- package/src/_esm/components/ChainSelect/index.js +0 -3
- package/src/_esm/components/ChainSelect/index.js.map +0 -1
- package/src/_esm/components/ChainSelect/useChainSelect.js +0 -62
- package/src/_esm/components/ChainSelect/useChainSelect.js.map +0 -1
- package/src/_esm/components/ContractComponent/ContractComponent.js +0 -9
- package/src/_esm/components/ContractComponent/ContractComponent.js.map +0 -1
- package/src/_esm/components/ContractComponent/index.js +0 -2
- package/src/_esm/components/ContractComponent/index.js.map +0 -1
- package/src/_esm/components/Dialog.js +0 -31
- package/src/_esm/components/Dialog.js.map +0 -1
- package/src/_esm/components/GasMessage/FundsSufficiencyMessage.js +0 -13
- package/src/_esm/components/GasMessage/FundsSufficiencyMessage.js.map +0 -1
- package/src/_esm/components/GasMessage/GasMessage.js +0 -12
- package/src/_esm/components/GasMessage/GasMessage.js.map +0 -1
- package/src/_esm/components/GasMessage/GasMessage.style.js +0 -43
- package/src/_esm/components/GasMessage/GasMessage.style.js.map +0 -1
- package/src/_esm/components/GasMessage/GasRefuelMessage.js +0 -23
- package/src/_esm/components/GasMessage/GasRefuelMessage.js.map +0 -1
- package/src/_esm/components/GasMessage/GasSufficiencyMessage.js +0 -19
- package/src/_esm/components/GasMessage/GasSufficiencyMessage.js.map +0 -1
- package/src/_esm/components/GasMessage/index.js +0 -3
- package/src/_esm/components/GasMessage/index.js.map +0 -1
- package/src/_esm/components/Header/Header.js +0 -21
- package/src/_esm/components/Header/Header.js.map +0 -1
- package/src/_esm/components/Header/Header.style.js +0 -69
- package/src/_esm/components/Header/Header.style.js.map +0 -1
- package/src/_esm/components/Header/NavigationHeader.js +0 -92
- package/src/_esm/components/Header/NavigationHeader.js.map +0 -1
- package/src/_esm/components/Header/NavigationTabs.js +0 -23
- package/src/_esm/components/Header/NavigationTabs.js.map +0 -1
- package/src/_esm/components/Header/SettingsButton.js +0 -22
- package/src/_esm/components/Header/SettingsButton.js.map +0 -1
- package/src/_esm/components/Header/SettingsButton.style.js +0 -42
- package/src/_esm/components/Header/SettingsButton.style.js.map +0 -1
- package/src/_esm/components/Header/WalletHeader.js +0 -60
- package/src/_esm/components/Header/WalletHeader.js.map +0 -1
- package/src/_esm/components/Header/WalletMenu.js +0 -59
- package/src/_esm/components/Header/WalletMenu.js.map +0 -1
- package/src/_esm/components/Header/WalletMenu.style.js +0 -25
- package/src/_esm/components/Header/WalletMenu.style.js.map +0 -1
- package/src/_esm/components/Header/index.js +0 -2
- package/src/_esm/components/Header/index.js.map +0 -1
- package/src/_esm/components/Initializer.js +0 -6
- package/src/_esm/components/Initializer.js.map +0 -1
- package/src/_esm/components/Input.js +0 -15
- package/src/_esm/components/Input.js.map +0 -1
- package/src/_esm/components/Insurance/Insurance.js +0 -8
- package/src/_esm/components/Insurance/Insurance.js.map +0 -1
- package/src/_esm/components/Insurance/InsuranceCard.js +0 -42
- package/src/_esm/components/Insurance/InsuranceCard.js.map +0 -1
- package/src/_esm/components/Insurance/InsuranceCollapsed.js +0 -27
- package/src/_esm/components/Insurance/InsuranceCollapsed.js.map +0 -1
- package/src/_esm/components/Insurance/index.js +0 -3
- package/src/_esm/components/Insurance/index.js.map +0 -1
- package/src/_esm/components/Insurance/types.js +0 -2
- package/src/_esm/components/Insurance/types.js.map +0 -1
- package/src/_esm/components/ListItemButton.js +0 -12
- package/src/_esm/components/ListItemButton.js.map +0 -1
- package/src/_esm/components/ListItemText.js +0 -9
- package/src/_esm/components/ListItemText.js.map +0 -1
- package/src/_esm/components/NFT/NFT.js +0 -30
- package/src/_esm/components/NFT/NFT.js.map +0 -1
- package/src/_esm/components/NFT/NFT.style.js +0 -9
- package/src/_esm/components/NFT/NFT.style.js.map +0 -1
- package/src/_esm/components/NFT/NFTBase.js +0 -10
- package/src/_esm/components/NFT/NFTBase.js.map +0 -1
- package/src/_esm/components/NFT/index.js +0 -4
- package/src/_esm/components/NFT/index.js.map +0 -1
- package/src/_esm/components/NFT/types.js +0 -2
- package/src/_esm/components/NFT/types.js.map +0 -1
- package/src/_esm/components/NotFound.js +0 -16
- package/src/_esm/components/NotFound.js.map +0 -1
- package/src/_esm/components/PoweredBy/PoweredBy.js +0 -23
- package/src/_esm/components/PoweredBy/PoweredBy.js.map +0 -1
- package/src/_esm/components/PoweredBy/PoweredBy.style.js +0 -11
- package/src/_esm/components/PoweredBy/PoweredBy.style.js.map +0 -1
- package/src/_esm/components/PoweredBy/index.js +0 -2
- package/src/_esm/components/PoweredBy/index.js.map +0 -1
- package/src/_esm/components/ProgressToNextUpdate/ProgressToNextUpdate.js +0 -47
- package/src/_esm/components/ProgressToNextUpdate/ProgressToNextUpdate.js.map +0 -1
- package/src/_esm/components/ProgressToNextUpdate/index.js +0 -2
- package/src/_esm/components/ProgressToNextUpdate/index.js.map +0 -1
- package/src/_esm/components/ReverseTokensButton/ReverseTokensButton.js +0 -24
- package/src/_esm/components/ReverseTokensButton/ReverseTokensButton.js.map +0 -1
- package/src/_esm/components/ReverseTokensButton/ReverseTokensButton.style.js +0 -17
- package/src/_esm/components/ReverseTokensButton/ReverseTokensButton.style.js.map +0 -1
- package/src/_esm/components/ReverseTokensButton/index.js +0 -2
- package/src/_esm/components/ReverseTokensButton/index.js.map +0 -1
- package/src/_esm/components/RouteCard/RouteCard.js +0 -46
- package/src/_esm/components/RouteCard/RouteCard.js.map +0 -1
- package/src/_esm/components/RouteCard/RouteCard.style.js +0 -10
- package/src/_esm/components/RouteCard/RouteCard.style.js.map +0 -1
- package/src/_esm/components/RouteCard/RouteCardEssentials.js +0 -25
- package/src/_esm/components/RouteCard/RouteCardEssentials.js.map +0 -1
- package/src/_esm/components/RouteCard/RouteCardSkeleton.js +0 -12
- package/src/_esm/components/RouteCard/RouteCardSkeleton.js.map +0 -1
- package/src/_esm/components/RouteCard/RouteNotFoundCard.js +0 -15
- package/src/_esm/components/RouteCard/RouteNotFoundCard.js.map +0 -1
- package/src/_esm/components/RouteCard/index.js +0 -4
- package/src/_esm/components/RouteCard/index.js.map +0 -1
- package/src/_esm/components/RouteCard/types.js +0 -2
- package/src/_esm/components/RouteCard/types.js.map +0 -1
- package/src/_esm/components/RouteCard/utils.js +0 -51
- package/src/_esm/components/RouteCard/utils.js.map +0 -1
- package/src/_esm/components/Routes/Routes.js +0 -34
- package/src/_esm/components/Routes/Routes.js.map +0 -1
- package/src/_esm/components/Routes/RoutesExpanded.js +0 -40
- package/src/_esm/components/Routes/RoutesExpanded.js.map +0 -1
- package/src/_esm/components/Routes/RoutesExpanded.style.js +0 -36
- package/src/_esm/components/Routes/RoutesExpanded.style.js.map +0 -1
- package/src/_esm/components/Routes/index.js +0 -3
- package/src/_esm/components/Routes/index.js.map +0 -1
- package/src/_esm/components/Select.js +0 -29
- package/src/_esm/components/Select.js.map +0 -1
- package/src/_esm/components/SelectChainAndToken.js +0 -37
- package/src/_esm/components/SelectChainAndToken.js.map +0 -1
- package/src/_esm/components/SelectTokenButton/SelectTokenButton.js +0 -42
- package/src/_esm/components/SelectTokenButton/SelectTokenButton.js.map +0 -1
- package/src/_esm/components/SelectTokenButton/SelectTokenButton.style.js +0 -32
- package/src/_esm/components/SelectTokenButton/SelectTokenButton.style.js.map +0 -1
- package/src/_esm/components/SelectTokenButton/index.js +0 -2
- package/src/_esm/components/SelectTokenButton/index.js.map +0 -1
- package/src/_esm/components/SendToWallet/SendToWallet.js +0 -79
- package/src/_esm/components/SendToWallet/SendToWallet.js.map +0 -1
- package/src/_esm/components/SendToWallet/SendToWallet.style.js +0 -19
- package/src/_esm/components/SendToWallet/SendToWallet.style.js.map +0 -1
- package/src/_esm/components/SendToWallet/SendToWalletButton.js +0 -36
- package/src/_esm/components/SendToWallet/SendToWalletButton.js.map +0 -1
- package/src/_esm/components/SendToWallet/index.js +0 -3
- package/src/_esm/components/SendToWallet/index.js.map +0 -1
- package/src/_esm/components/SettingsListItemButton.js +0 -6
- package/src/_esm/components/SettingsListItemButton.js.map +0 -1
- package/src/_esm/components/SmallAvatar.js +0 -22
- package/src/_esm/components/SmallAvatar.js.map +0 -1
- package/src/_esm/components/Step/CircularProgress.js +0 -25
- package/src/_esm/components/Step/CircularProgress.js.map +0 -1
- package/src/_esm/components/Step/CircularProgress.style.js +0 -70
- package/src/_esm/components/Step/CircularProgress.style.js.map +0 -1
- package/src/_esm/components/Step/DestinationWalletAddress.js +0 -25
- package/src/_esm/components/Step/DestinationWalletAddress.js.map +0 -1
- package/src/_esm/components/Step/GasStepProcess.js +0 -21
- package/src/_esm/components/Step/GasStepProcess.js.map +0 -1
- package/src/_esm/components/Step/Step.js +0 -53
- package/src/_esm/components/Step/Step.js.map +0 -1
- package/src/_esm/components/Step/StepList.js +0 -25
- package/src/_esm/components/Step/StepList.js.map +0 -1
- package/src/_esm/components/Step/StepProcess.js +0 -14
- package/src/_esm/components/Step/StepProcess.js.map +0 -1
- package/src/_esm/components/Step/StepProcess.style.js +0 -6
- package/src/_esm/components/Step/StepProcess.style.js.map +0 -1
- package/src/_esm/components/Step/StepTimer.js +0 -57
- package/src/_esm/components/Step/StepTimer.js.map +0 -1
- package/src/_esm/components/Step/index.js +0 -3
- package/src/_esm/components/Step/index.js.map +0 -1
- package/src/_esm/components/StepActions/StepActions.js +0 -110
- package/src/_esm/components/StepActions/StepActions.js.map +0 -1
- package/src/_esm/components/StepActions/StepActions.style.js +0 -57
- package/src/_esm/components/StepActions/StepActions.style.js.map +0 -1
- package/src/_esm/components/StepActions/index.js +0 -2
- package/src/_esm/components/StepActions/index.js.map +0 -1
- package/src/_esm/components/StepActions/types.js +0 -2
- package/src/_esm/components/StepActions/types.js.map +0 -1
- package/src/_esm/components/StepDivider/StepDivider.js +0 -7
- package/src/_esm/components/StepDivider/StepDivider.js.map +0 -1
- package/src/_esm/components/StepDivider/StepDivider.style.js +0 -9
- package/src/_esm/components/StepDivider/StepDivider.style.js.map +0 -1
- package/src/_esm/components/StepDivider/index.js +0 -2
- package/src/_esm/components/StepDivider/index.js.map +0 -1
- package/src/_esm/components/Switch.js +0 -54
- package/src/_esm/components/Switch.js.map +0 -1
- package/src/_esm/components/Tabs/Tabs.style.js +0 -37
- package/src/_esm/components/Tabs/Tabs.style.js.map +0 -1
- package/src/_esm/components/Tabs/index.js +0 -2
- package/src/_esm/components/Tabs/index.js.map +0 -1
- package/src/_esm/components/TextFitter/TextFitter.js +0 -55
- package/src/_esm/components/TextFitter/TextFitter.js.map +0 -1
- package/src/_esm/components/TextFitter/index.js +0 -2
- package/src/_esm/components/TextFitter/index.js.map +0 -1
- package/src/_esm/components/TextFitter/types.js +0 -2
- package/src/_esm/components/TextFitter/types.js.map +0 -1
- package/src/_esm/components/Token/Token.js +0 -39
- package/src/_esm/components/Token/Token.js.map +0 -1
- package/src/_esm/components/Token/Token.style.js +0 -42
- package/src/_esm/components/Token/Token.style.js.map +0 -1
- package/src/_esm/components/Token/index.js +0 -3
- package/src/_esm/components/Token/index.js.map +0 -1
- package/src/_esm/components/TokenAvatar/TokenAvatar.js +0 -23
- package/src/_esm/components/TokenAvatar/TokenAvatar.js.map +0 -1
- package/src/_esm/components/TokenAvatar/TokenAvatar.style.js +0 -27
- package/src/_esm/components/TokenAvatar/TokenAvatar.style.js.map +0 -1
- package/src/_esm/components/TokenAvatar/index.js +0 -3
- package/src/_esm/components/TokenAvatar/index.js.map +0 -1
- package/src/_esm/components/TokenList/TokenList.js +0 -44
- package/src/_esm/components/TokenList/TokenList.js.map +0 -1
- package/src/_esm/components/TokenList/TokenList.style.js +0 -51
- package/src/_esm/components/TokenList/TokenList.style.js.map +0 -1
- package/src/_esm/components/TokenList/TokenListItem.js +0 -55
- package/src/_esm/components/TokenList/TokenListItem.js.map +0 -1
- package/src/_esm/components/TokenList/TokenNotFound.js +0 -25
- package/src/_esm/components/TokenList/TokenNotFound.js.map +0 -1
- package/src/_esm/components/TokenList/VirtualizedTokenList.js +0 -56
- package/src/_esm/components/TokenList/VirtualizedTokenList.js.map +0 -1
- package/src/_esm/components/TokenList/index.js +0 -3
- package/src/_esm/components/TokenList/index.js.map +0 -1
- package/src/_esm/components/TokenList/types.js +0 -2
- package/src/_esm/components/TokenList/types.js.map +0 -1
- package/src/_esm/components/TokenList/useTokenSelect.js +0 -53
- package/src/_esm/components/TokenList/useTokenSelect.js.map +0 -1
- package/src/_esm/config/queryClient.js +0 -22
- package/src/_esm/config/queryClient.js.map +0 -1
- package/src/_esm/config/theme.js +0 -241
- package/src/_esm/config/theme.js.map +0 -1
- package/src/_esm/config/version.d.ts +0 -2
- package/src/_esm/config/version.js +0 -3
- package/src/_esm/config/version.js.map +0 -1
- package/src/_esm/hooks/index.js +0 -34
- package/src/_esm/hooks/index.js.map +0 -1
- package/src/_esm/hooks/useAccount.js +0 -49
- package/src/_esm/hooks/useAccount.js.map +0 -1
- package/src/_esm/hooks/useAvailableChains.js +0 -33
- package/src/_esm/hooks/useAvailableChains.js.map +0 -1
- package/src/_esm/hooks/useChain.js +0 -11
- package/src/_esm/hooks/useChain.js.map +0 -1
- package/src/_esm/hooks/useChains.js +0 -17
- package/src/_esm/hooks/useChains.js.map +0 -1
- package/src/_esm/hooks/useContentHeight.js +0 -40
- package/src/_esm/hooks/useContentHeight.js.map +0 -1
- package/src/_esm/hooks/useDebouncedWatch.js +0 -30
- package/src/_esm/hooks/useDebouncedWatch.js.map +0 -1
- package/src/_esm/hooks/useDefaultElementId.js +0 -6
- package/src/_esm/hooks/useDefaultElementId.js.map +0 -1
- package/src/_esm/hooks/useExpandableVariant.js +0 -9
- package/src/_esm/hooks/useExpandableVariant.js.map +0 -1
- package/src/_esm/hooks/useFeaturedTokens.js +0 -7
- package/src/_esm/hooks/useFeaturedTokens.js.map +0 -1
- package/src/_esm/hooks/useFromTokenSufficiency.js +0 -64
- package/src/_esm/hooks/useFromTokenSufficiency.js.map +0 -1
- package/src/_esm/hooks/useGasRecommendation.d.ts +0 -2
- package/src/_esm/hooks/useGasRecommendation.js +0 -30
- package/src/_esm/hooks/useGasRecommendation.js.map +0 -1
- package/src/_esm/hooks/useGasRefuel.js +0 -55
- package/src/_esm/hooks/useGasRefuel.js.map +0 -1
- package/src/_esm/hooks/useGasSufficiency.js +0 -88
- package/src/_esm/hooks/useGasSufficiency.js.map +0 -1
- package/src/_esm/hooks/useInitializer.js +0 -15
- package/src/_esm/hooks/useInitializer.js.map +0 -1
- package/src/_esm/hooks/useLanguages.js +0 -25
- package/src/_esm/hooks/useLanguages.js.map +0 -1
- package/src/_esm/hooks/useNavigateBack.js +0 -24
- package/src/_esm/hooks/useNavigateBack.js.map +0 -1
- package/src/_esm/hooks/useProcessMessage.js +0 -155
- package/src/_esm/hooks/useProcessMessage.js.map +0 -1
- package/src/_esm/hooks/useRequiredToAddress.js +0 -16
- package/src/_esm/hooks/useRequiredToAddress.js.map +0 -1
- package/src/_esm/hooks/useRouteExecution.js +0 -150
- package/src/_esm/hooks/useRouteExecution.js.map +0 -1
- package/src/_esm/hooks/useRoutes.d.ts +0 -14
- package/src/_esm/hooks/useRoutes.js +0 -231
- package/src/_esm/hooks/useRoutes.js.map +0 -1
- package/src/_esm/hooks/useScrollableContainer.js +0 -33
- package/src/_esm/hooks/useScrollableContainer.js.map +0 -1
- package/src/_esm/hooks/useSettingMonitor.js +0 -54
- package/src/_esm/hooks/useSettingMonitor.js.map +0 -1
- package/src/_esm/hooks/useSwapOnly.js +0 -6
- package/src/_esm/hooks/useSwapOnly.js.map +0 -1
- package/src/_esm/hooks/useToken.js +0 -17
- package/src/_esm/hooks/useToken.js.map +0 -1
- package/src/_esm/hooks/useTokenAddressBalance.d.ts +0 -5
- package/src/_esm/hooks/useTokenAddressBalance.js +0 -17
- package/src/_esm/hooks/useTokenAddressBalance.js.map +0 -1
- package/src/_esm/hooks/useTokenBalance.d.ts +0 -11
- package/src/_esm/hooks/useTokenBalance.js +0 -102
- package/src/_esm/hooks/useTokenBalance.js.map +0 -1
- package/src/_esm/hooks/useTokenBalances.d.ts +0 -9
- package/src/_esm/hooks/useTokenBalances.js +0 -56
- package/src/_esm/hooks/useTokenBalances.js.map +0 -1
- package/src/_esm/hooks/useTokenSearch.js +0 -31
- package/src/_esm/hooks/useTokenSearch.js.map +0 -1
- package/src/_esm/hooks/useTokens.js +0 -73
- package/src/_esm/hooks/useTokens.js.map +0 -1
- package/src/_esm/hooks/useTools.js +0 -25
- package/src/_esm/hooks/useTools.js.map +0 -1
- package/src/_esm/hooks/useTransactionDetails.js +0 -53
- package/src/_esm/hooks/useTransactionDetails.js.map +0 -1
- package/src/_esm/hooks/useTransactionHistory.d.ts +0 -5
- package/src/_esm/hooks/useTransactionHistory.js +0 -36
- package/src/_esm/hooks/useTransactionHistory.js.map +0 -1
- package/src/_esm/hooks/useWidgetEvents.js +0 -6
- package/src/_esm/hooks/useWidgetEvents.js.map +0 -1
- package/src/_esm/i18n/index.js +0 -16
- package/src/_esm/i18n/index.js.map +0 -1
- package/src/_esm/icons/InsuraceLogo.js +0 -8
- package/src/_esm/icons/InsuraceLogo.js.map +0 -1
- package/src/_esm/icons/index.js +0 -3
- package/src/_esm/icons/index.js.map +0 -1
- package/src/_esm/icons/lifi.js +0 -2
- package/src/_esm/icons/lifi.js.map +0 -1
- package/src/_esm/index.js +0 -12
- package/src/_esm/index.js.map +0 -1
- package/src/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js +0 -16
- package/src/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js.map +0 -1
- package/src/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js +0 -34
- package/src/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js.map +0 -1
- package/src/_esm/pages/ActiveTransactionsPage/index.js +0 -2
- package/src/_esm/pages/ActiveTransactionsPage/index.js.map +0 -1
- package/src/_esm/pages/LanguagesPage/LanguagesPage.js +0 -19
- package/src/_esm/pages/LanguagesPage/LanguagesPage.js.map +0 -1
- package/src/_esm/pages/LanguagesPage/index.js +0 -2
- package/src/_esm/pages/LanguagesPage/index.js.map +0 -1
- package/src/_esm/pages/MainPage/MainGasMessage.js +0 -9
- package/src/_esm/pages/MainPage/MainGasMessage.js.map +0 -1
- package/src/_esm/pages/MainPage/MainPage.js +0 -21
- package/src/_esm/pages/MainPage/MainPage.js.map +0 -1
- package/src/_esm/pages/MainPage/MainPage.style.js +0 -9
- package/src/_esm/pages/MainPage/MainPage.style.js.map +0 -1
- package/src/_esm/pages/MainPage/ReviewButton.js +0 -59
- package/src/_esm/pages/MainPage/ReviewButton.js.map +0 -1
- package/src/_esm/pages/MainPage/index.js +0 -2
- package/src/_esm/pages/MainPage/index.js.map +0 -1
- package/src/_esm/pages/RoutesPage/RoutesPage.js +0 -35
- package/src/_esm/pages/RoutesPage/RoutesPage.js.map +0 -1
- package/src/_esm/pages/RoutesPage/RoutesPage.style.js +0 -7
- package/src/_esm/pages/RoutesPage/RoutesPage.style.js.map +0 -1
- package/src/_esm/pages/RoutesPage/index.js +0 -2
- package/src/_esm/pages/RoutesPage/index.js.map +0 -1
- package/src/_esm/pages/SelectChainPage/SelectChainPage.js +0 -26
- package/src/_esm/pages/SelectChainPage/SelectChainPage.js.map +0 -1
- package/src/_esm/pages/SelectChainPage/index.js +0 -2
- package/src/_esm/pages/SelectChainPage/index.js.map +0 -1
- package/src/_esm/pages/SelectChainPage/types.js +0 -2
- package/src/_esm/pages/SelectChainPage/types.js.map +0 -1
- package/src/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js +0 -61
- package/src/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js.map +0 -1
- package/src/_esm/pages/SelectEnabledToolsPage/index.js +0 -2
- package/src/_esm/pages/SelectEnabledToolsPage/index.js.map +0 -1
- package/src/_esm/pages/SelectNativeTokenPage/SelectNativeTokenPage.js +0 -19
- package/src/_esm/pages/SelectNativeTokenPage/SelectNativeTokenPage.js.map +0 -1
- package/src/_esm/pages/SelectNativeTokenPage/index.js +0 -2
- package/src/_esm/pages/SelectNativeTokenPage/index.js.map +0 -1
- package/src/_esm/pages/SelectTokenPage/SearchTokenInput.js +0 -21
- package/src/_esm/pages/SelectTokenPage/SearchTokenInput.js.map +0 -1
- package/src/_esm/pages/SelectTokenPage/SearchTokenInput.style.js +0 -6
- package/src/_esm/pages/SelectTokenPage/SearchTokenInput.style.js.map +0 -1
- package/src/_esm/pages/SelectTokenPage/SelectTokenPage.js +0 -22
- package/src/_esm/pages/SelectTokenPage/SelectTokenPage.js.map +0 -1
- package/src/_esm/pages/SelectTokenPage/index.js +0 -3
- package/src/_esm/pages/SelectTokenPage/index.js.map +0 -1
- package/src/_esm/pages/SelectTokenPage/types.js +0 -6
- package/src/_esm/pages/SelectTokenPage/types.js.map +0 -1
- package/src/_esm/pages/SelectWalletPage/EVMListItemButton.js +0 -37
- package/src/_esm/pages/SelectWalletPage/EVMListItemButton.js.map +0 -1
- package/src/_esm/pages/SelectWalletPage/SVMListItemButton.js +0 -31
- package/src/_esm/pages/SelectWalletPage/SVMListItemButton.js.map +0 -1
- package/src/_esm/pages/SelectWalletPage/SelectWalletPage.js +0 -56
- package/src/_esm/pages/SelectWalletPage/SelectWalletPage.js.map +0 -1
- package/src/_esm/pages/SelectWalletPage/index.js +0 -2
- package/src/_esm/pages/SelectWalletPage/index.js.map +0 -1
- package/src/_esm/pages/SelectWalletPage/utils.js +0 -18
- package/src/_esm/pages/SelectWalletPage/utils.js.map +0 -1
- package/src/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js +0 -33
- package/src/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js.map +0 -1
- package/src/_esm/pages/SettingsPage/GasPriceSettings.js +0 -18
- package/src/_esm/pages/SettingsPage/GasPriceSettings.js.map +0 -1
- package/src/_esm/pages/SettingsPage/LanguageSetting.js +0 -23
- package/src/_esm/pages/SettingsPage/LanguageSetting.js.map +0 -1
- package/src/_esm/pages/SettingsPage/ResetSettingsButton.js +0 -27
- package/src/_esm/pages/SettingsPage/ResetSettingsButton.js.map +0 -1
- package/src/_esm/pages/SettingsPage/ResetSettingsButton.style.js +0 -12
- package/src/_esm/pages/SettingsPage/ResetSettingsButton.style.js.map +0 -1
- package/src/_esm/pages/SettingsPage/RoutePrioritySettings.js +0 -22
- package/src/_esm/pages/SettingsPage/RoutePrioritySettings.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SendToWalletOptionSetting.js +0 -24
- package/src/_esm/pages/SettingsPage/SendToWalletOptionSetting.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SettingsCard/BadgedValue.js +0 -4
- package/src/_esm/pages/SettingsPage/SettingsCard/BadgedValue.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SettingsCard/SettingCard.js +0 -8
- package/src/_esm/pages/SettingsPage/SettingsCard/SettingCard.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.js +0 -51
- package/src/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SettingsCard/SettingCardButton.js +0 -5
- package/src/_esm/pages/SettingsPage/SettingsCard/SettingCardButton.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js +0 -13
- package/src/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SettingsCard/SettingsAccordian.js +0 -32
- package/src/_esm/pages/SettingsPage/SettingsCard/SettingsAccordian.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SettingsCard/index.js +0 -7
- package/src/_esm/pages/SettingsPage/SettingsCard/index.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SettingsCard/types.js +0 -2
- package/src/_esm/pages/SettingsPage/SettingsCard/types.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SettingsPage.js +0 -15
- package/src/_esm/pages/SettingsPage/SettingsPage.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js +0 -48
- package/src/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js +0 -72
- package/src/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js.map +0 -1
- package/src/_esm/pages/SettingsPage/SlippageSettings/index.js +0 -2
- package/src/_esm/pages/SettingsPage/SlippageSettings/index.js.map +0 -1
- package/src/_esm/pages/SettingsPage/ThemeSettings.js +0 -36
- package/src/_esm/pages/SettingsPage/ThemeSettings.js.map +0 -1
- package/src/_esm/pages/SettingsPage/index.js +0 -2
- package/src/_esm/pages/SettingsPage/index.js.map +0 -1
- package/src/_esm/pages/TransactionDetailsPage/ContactSupportButton.js +0 -22
- package/src/_esm/pages/TransactionDetailsPage/ContactSupportButton.js.map +0 -1
- package/src/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js +0 -68
- package/src/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js.map +0 -1
- package/src/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.style.js +0 -6
- package/src/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.style.js.map +0 -1
- package/src/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js +0 -28
- package/src/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js.map +0 -1
- package/src/_esm/pages/TransactionDetailsPage/index.js +0 -2
- package/src/_esm/pages/TransactionDetailsPage/index.js.map +0 -1
- package/src/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js +0 -16
- package/src/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js.map +0 -1
- package/src/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.js +0 -57
- package/src/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.js.map +0 -1
- package/src/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.js +0 -31
- package/src/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.js.map +0 -1
- package/src/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js +0 -23
- package/src/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js.map +0 -1
- package/src/_esm/pages/TransactionHistoryPage/constants.js +0 -2
- package/src/_esm/pages/TransactionHistoryPage/constants.js.map +0 -1
- package/src/_esm/pages/TransactionHistoryPage/index.js +0 -2
- package/src/_esm/pages/TransactionHistoryPage/index.js.map +0 -1
- package/src/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js +0 -60
- package/src/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js.map +0 -1
- package/src/_esm/pages/TransactionPage/StartTransactionButton.js +0 -18
- package/src/_esm/pages/TransactionPage/StartTransactionButton.js.map +0 -1
- package/src/_esm/pages/TransactionPage/StatusBottomSheet.js +0 -162
- package/src/_esm/pages/TransactionPage/StatusBottomSheet.js.map +0 -1
- package/src/_esm/pages/TransactionPage/StatusBottomSheet.style.js +0 -46
- package/src/_esm/pages/TransactionPage/StatusBottomSheet.style.js.map +0 -1
- package/src/_esm/pages/TransactionPage/TokenValueBottomSheet.js +0 -35
- package/src/_esm/pages/TransactionPage/TokenValueBottomSheet.js.map +0 -1
- package/src/_esm/pages/TransactionPage/TransactionPage.js +0 -133
- package/src/_esm/pages/TransactionPage/TransactionPage.js.map +0 -1
- package/src/_esm/pages/TransactionPage/TransactionPage.style.js +0 -6
- package/src/_esm/pages/TransactionPage/TransactionPage.style.js.map +0 -1
- package/src/_esm/pages/TransactionPage/index.js +0 -2
- package/src/_esm/pages/TransactionPage/index.js.map +0 -1
- package/src/_esm/pages/TransactionPage/types.js +0 -2
- package/src/_esm/pages/TransactionPage/types.js.map +0 -1
- package/src/_esm/pages/TransactionPage/utils.js +0 -7
- package/src/_esm/pages/TransactionPage/utils.js.map +0 -1
- package/src/_esm/providers/FormProvider/FormProvider.js +0 -36
- package/src/_esm/providers/FormProvider/FormProvider.js.map +0 -1
- package/src/_esm/providers/FormProvider/FormUpdater.js +0 -68
- package/src/_esm/providers/FormProvider/FormUpdater.js.map +0 -1
- package/src/_esm/providers/FormProvider/URLSearchParamsBuilder.js +0 -34
- package/src/_esm/providers/FormProvider/URLSearchParamsBuilder.js.map +0 -1
- package/src/_esm/providers/FormProvider/index.js +0 -4
- package/src/_esm/providers/FormProvider/index.js.map +0 -1
- package/src/_esm/providers/FormProvider/types.js +0 -21
- package/src/_esm/providers/FormProvider/types.js.map +0 -1
- package/src/_esm/providers/I18nProvider/I18nProvider.js +0 -54
- package/src/_esm/providers/I18nProvider/I18nProvider.js.map +0 -1
- package/src/_esm/providers/I18nProvider/index.js +0 -3
- package/src/_esm/providers/I18nProvider/index.js.map +0 -1
- package/src/_esm/providers/I18nProvider/types.js +0 -2
- package/src/_esm/providers/I18nProvider/types.js.map +0 -1
- package/src/_esm/providers/ThemeProvider/ThemeProvider.js +0 -34
- package/src/_esm/providers/ThemeProvider/ThemeProvider.js.map +0 -1
- package/src/_esm/providers/ThemeProvider/index.js +0 -2
- package/src/_esm/providers/ThemeProvider/index.js.map +0 -1
- package/src/_esm/providers/WalletProvider/EVMProvider.js +0 -75
- package/src/_esm/providers/WalletProvider/EVMProvider.js.map +0 -1
- package/src/_esm/providers/WalletProvider/SDKProviders.js +0 -28
- package/src/_esm/providers/WalletProvider/SDKProviders.js.map +0 -1
- package/src/_esm/providers/WalletProvider/SolanaProvider.js +0 -31
- package/src/_esm/providers/WalletProvider/SolanaProvider.js.map +0 -1
- package/src/_esm/providers/WalletProvider/WalletProvider.js +0 -8
- package/src/_esm/providers/WalletProvider/WalletProvider.js.map +0 -1
- package/src/_esm/providers/WalletProvider/index.js +0 -3
- package/src/_esm/providers/WalletProvider/index.js.map +0 -1
- package/src/_esm/providers/WalletProvider/utils.js +0 -22
- package/src/_esm/providers/WalletProvider/utils.js.map +0 -1
- package/src/_esm/providers/WidgetProvider/WidgetProvider.js +0 -90
- package/src/_esm/providers/WidgetProvider/WidgetProvider.js.map +0 -1
- package/src/_esm/providers/WidgetProvider/index.js +0 -4
- package/src/_esm/providers/WidgetProvider/index.js.map +0 -1
- package/src/_esm/providers/WidgetProvider/types.js +0 -2
- package/src/_esm/providers/WidgetProvider/types.js.map +0 -1
- package/src/_esm/providers/WidgetProvider/utils.js +0 -7
- package/src/_esm/providers/WidgetProvider/utils.js.map +0 -1
- package/src/_esm/providers/index.js +0 -6
- package/src/_esm/providers/index.js.map +0 -1
- package/src/_esm/stores/StoreProvider.js +0 -11
- package/src/_esm/stores/StoreProvider.js.map +0 -1
- package/src/_esm/stores/chains/ChainOrderStore.js +0 -50
- package/src/_esm/stores/chains/ChainOrderStore.js.map +0 -1
- package/src/_esm/stores/chains/createChainOrderStore.js +0 -50
- package/src/_esm/stores/chains/createChainOrderStore.js.map +0 -1
- package/src/_esm/stores/chains/index.js +0 -5
- package/src/_esm/stores/chains/index.js.map +0 -1
- package/src/_esm/stores/chains/types.js +0 -2
- package/src/_esm/stores/chains/types.js.map +0 -1
- package/src/_esm/stores/chains/useChainOrder.js +0 -6
- package/src/_esm/stores/chains/useChainOrder.js.map +0 -1
- package/src/_esm/stores/header/index.js +0 -2
- package/src/_esm/stores/header/index.js.map +0 -1
- package/src/_esm/stores/header/types.js +0 -2
- package/src/_esm/stores/header/types.js.map +0 -1
- package/src/_esm/stores/header/useHeaderStore.js +0 -50
- package/src/_esm/stores/header/useHeaderStore.js.map +0 -1
- package/src/_esm/stores/index.js +0 -6
- package/src/_esm/stores/index.js.map +0 -1
- package/src/_esm/stores/routes/RouteExecutionStore.js +0 -26
- package/src/_esm/stores/routes/RouteExecutionStore.js.map +0 -1
- package/src/_esm/stores/routes/createRouteExecutionStore.js +0 -131
- package/src/_esm/stores/routes/createRouteExecutionStore.js.map +0 -1
- package/src/_esm/stores/routes/index.js +0 -6
- package/src/_esm/stores/routes/index.js.map +0 -1
- package/src/_esm/stores/routes/types.js +0 -10
- package/src/_esm/stores/routes/types.js.map +0 -1
- package/src/_esm/stores/routes/useExecutingRoutesIds.js +0 -13
- package/src/_esm/stores/routes/useExecutingRoutesIds.js.map +0 -1
- package/src/_esm/stores/routes/useSetExecutableRoute.js +0 -5
- package/src/_esm/stores/routes/useSetExecutableRoute.js.map +0 -1
- package/src/_esm/stores/routes/utils.js +0 -39
- package/src/_esm/stores/routes/utils.js.map +0 -1
- package/src/_esm/stores/settings/index.js +0 -7
- package/src/_esm/stores/settings/index.js.map +0 -1
- package/src/_esm/stores/settings/types.js +0 -2
- package/src/_esm/stores/settings/types.js.map +0 -1
- package/src/_esm/stores/settings/useAppearance.js +0 -10
- package/src/_esm/stores/settings/useAppearance.js.map +0 -1
- package/src/_esm/stores/settings/useSendToWalletStore.js +0 -14
- package/src/_esm/stores/settings/useSendToWalletStore.js.map +0 -1
- package/src/_esm/stores/settings/useSettings.js +0 -9
- package/src/_esm/stores/settings/useSettings.js.map +0 -1
- package/src/_esm/stores/settings/useSettingsStore.js +0 -119
- package/src/_esm/stores/settings/useSettingsStore.js.map +0 -1
- package/src/_esm/stores/settings/useSplitSubvariantStore.js +0 -38
- package/src/_esm/stores/settings/useSplitSubvariantStore.js.map +0 -1
- package/src/_esm/stores/types.js +0 -2
- package/src/_esm/stores/types.js.map +0 -1
- package/src/_esm/types/events.js +0 -15
- package/src/_esm/types/events.js.map +0 -1
- package/src/_esm/types/index.js +0 -4
- package/src/_esm/types/index.js.map +0 -1
- package/src/_esm/types/token.js +0 -2
- package/src/_esm/types/token.js.map +0 -1
- package/src/_esm/types/widget.js +0 -23
- package/src/_esm/types/widget.js.map +0 -1
- package/src/_esm/utils/colors.js +0 -16
- package/src/_esm/utils/colors.js.map +0 -1
- package/src/_esm/utils/converters.js +0 -169
- package/src/_esm/utils/converters.js.map +0 -1
- package/src/_esm/utils/deepMerge.js +0 -15
- package/src/_esm/utils/deepMerge.js.map +0 -1
- package/src/_esm/utils/elements.js +0 -9
- package/src/_esm/utils/elements.js.map +0 -1
- package/src/_esm/utils/enum.js +0 -2
- package/src/_esm/utils/enum.js.map +0 -1
- package/src/_esm/utils/format.js +0 -76
- package/src/_esm/utils/format.js.map +0 -1
- package/src/_esm/utils/index.js +0 -10
- package/src/_esm/utils/index.js.map +0 -1
- package/src/_esm/utils/input.js +0 -27
- package/src/_esm/utils/input.js.map +0 -1
- package/src/_esm/utils/navigationRoutes.js +0 -52
- package/src/_esm/utils/navigationRoutes.js.map +0 -1
- package/src/_esm/utils/svm.js +0 -11
- package/src/_esm/utils/svm.js.map +0 -1
- package/src/_esm/utils/wallet.js +0 -4
- package/src/_esm/utils/wallet.js.map +0 -1
- package/src/components/ActiveTransactions/ActiveTransactionItem.tsx +0 -98
- package/src/components/ActiveTransactions/ActiveTransactions.style.ts +0 -39
- package/src/components/ActiveTransactions/ActiveTransactions.tsx +0 -43
- package/src/components/AmountInput/AmountInput.style.tsx +0 -35
- package/src/components/AmountInput/AmountInput.tsx +0 -126
- package/src/components/AmountInput/AmountInputAdornment.style.tsx +0 -9
- package/src/components/AmountInput/AmountInputEndAdornment.tsx +0 -69
- package/src/components/AmountInput/AmountInputStartAdornment.tsx +0 -26
- package/src/components/AmountInput/FormPriceHelperText.tsx +0 -87
- package/src/components/AppContainer.tsx +0 -85
- package/src/components/BaseTransactionButton/BaseTransactionButton.tsx +0 -52
- package/src/components/BaseTransactionButton/types.ts +0 -6
- package/src/components/BottomSheet/BottomSheet.tsx +0 -54
- package/src/components/BottomSheet/types.ts +0 -13
- package/src/components/Card/Card.tsx +0 -83
- package/src/components/Card/CardHeader.tsx +0 -21
- package/src/components/Card/CardIconButton.tsx +0 -16
- package/src/components/Card/CardLabel.tsx +0 -52
- package/src/components/Card/CardTitle.tsx +0 -16
- package/src/components/ChainSelect/ChainSelect.style.tsx +0 -18
- package/src/components/ChainSelect/ChainSelect.tsx +0 -92
- package/src/components/ChainSelect/useChainSelect.ts +0 -77
- package/src/components/ContractComponent/ContractComponent.tsx +0 -14
- package/src/components/Dialog.tsx +0 -50
- package/src/components/GasMessage/FundsSufficiencyMessage.tsx +0 -26
- package/src/components/GasMessage/GasMessage.style.ts +0 -52
- package/src/components/GasMessage/GasMessage.tsx +0 -34
- package/src/components/GasMessage/GasRefuelMessage.tsx +0 -67
- package/src/components/GasMessage/GasSufficiencyMessage.tsx +0 -55
- package/src/components/Header/Header.style.ts +0 -78
- package/src/components/Header/Header.tsx +0 -36
- package/src/components/Header/NavigationHeader.tsx +0 -156
- package/src/components/Header/NavigationTabs.tsx +0 -35
- package/src/components/Header/SettingsButton.style.tsx +0 -48
- package/src/components/Header/SettingsButton.tsx +0 -42
- package/src/components/Header/WalletHeader.tsx +0 -149
- package/src/components/Header/WalletMenu.style.tsx +0 -25
- package/src/components/Header/WalletMenu.tsx +0 -150
- package/src/components/Initializer.tsx +0 -6
- package/src/components/Input.tsx +0 -16
- package/src/components/Insurance/Insurance.tsx +0 -22
- package/src/components/Insurance/InsuranceCard.tsx +0 -136
- package/src/components/Insurance/InsuranceCollapsed.tsx +0 -61
- package/src/components/Insurance/types.ts +0 -24
- package/src/components/ListItemButton.tsx +0 -12
- package/src/components/ListItemText.tsx +0 -9
- package/src/components/NFT/NFT.style.ts +0 -9
- package/src/components/NFT/NFT.tsx +0 -47
- package/src/components/NFT/NFTBase.tsx +0 -64
- package/src/components/NFT/types.ts +0 -20
- package/src/components/NotFound.tsx +0 -34
- package/src/components/PoweredBy/PoweredBy.style.ts +0 -15
- package/src/components/PoweredBy/PoweredBy.tsx +0 -54
- package/src/components/ProgressToNextUpdate/ProgressToNextUpdate.tsx +0 -96
- package/src/components/ReverseTokensButton/ReverseTokensButton.style.tsx +0 -19
- package/src/components/ReverseTokensButton/ReverseTokensButton.tsx +0 -29
- package/src/components/RouteCard/RouteCard.style.ts +0 -11
- package/src/components/RouteCard/RouteCard.tsx +0 -170
- package/src/components/RouteCard/RouteCardEssentials.tsx +0 -150
- package/src/components/RouteCard/RouteCardSkeleton.tsx +0 -60
- package/src/components/RouteCard/RouteNotFoundCard.tsx +0 -34
- package/src/components/RouteCard/types.ts +0 -17
- package/src/components/RouteCard/utils.ts +0 -91
- package/src/components/Routes/Routes.tsx +0 -82
- package/src/components/Routes/RoutesExpanded.style.ts +0 -39
- package/src/components/Routes/RoutesExpanded.tsx +0 -119
- package/src/components/Select.tsx +0 -30
- package/src/components/SelectChainAndToken.tsx +0 -66
- package/src/components/SelectTokenButton/SelectTokenButton.style.tsx +0 -35
- package/src/components/SelectTokenButton/SelectTokenButton.tsx +0 -80
- package/src/components/SendToWallet/SendToWallet.style.tsx +0 -20
- package/src/components/SendToWallet/SendToWallet.tsx +0 -124
- package/src/components/SendToWallet/SendToWalletButton.tsx +0 -59
- package/src/components/SettingsListItemButton.tsx +0 -8
- package/src/components/SmallAvatar.tsx +0 -28
- package/src/components/Step/CircularProgress.style.tsx +0 -82
- package/src/components/Step/CircularProgress.tsx +0 -56
- package/src/components/Step/DestinationWalletAddress.tsx +0 -55
- package/src/components/Step/GasStepProcess.tsx +0 -45
- package/src/components/Step/Step.tsx +0 -96
- package/src/components/Step/StepList.tsx +0 -45
- package/src/components/Step/StepProcess.style.tsx +0 -10
- package/src/components/Step/StepProcess.tsx +0 -55
- package/src/components/Step/StepTimer.tsx +0 -80
- package/src/components/StepActions/StepActions.style.tsx +0 -75
- package/src/components/StepActions/StepActions.tsx +0 -295
- package/src/components/StepActions/types.ts +0 -13
- package/src/components/StepDivider/StepDivider.style.tsx +0 -9
- package/src/components/StepDivider/StepDivider.tsx +0 -10
- package/src/components/Switch.tsx +0 -56
- package/src/components/Tabs/Tabs.style.tsx +0 -54
- package/src/components/TextFitter/TextFitter.tsx +0 -86
- package/src/components/TextFitter/types.ts +0 -13
- package/src/components/Token/Token.style.tsx +0 -46
- package/src/components/Token/Token.tsx +0 -143
- package/src/components/TokenAvatar/TokenAvatar.style.tsx +0 -31
- package/src/components/TokenAvatar/TokenAvatar.tsx +0 -92
- package/src/components/TokenList/TokenList.style.tsx +0 -61
- package/src/components/TokenList/TokenList.tsx +0 -98
- package/src/components/TokenList/TokenListItem.tsx +0 -211
- package/src/components/TokenList/TokenNotFound.tsx +0 -42
- package/src/components/TokenList/VirtualizedTokenList.tsx +0 -121
- package/src/components/TokenList/types.ts +0 -46
- package/src/components/TokenList/useTokenSelect.ts +0 -67
- package/src/config/queryClient.ts +0 -22
- package/src/config/theme.ts +0 -305
- package/src/config/version.ts +0 -2
- package/src/hooks/useAccount.ts +0 -86
- package/src/hooks/useAvailableChains.ts +0 -39
- package/src/hooks/useChain.ts +0 -13
- package/src/hooks/useChains.ts +0 -25
- package/src/hooks/useContentHeight.ts +0 -53
- package/src/hooks/useDebouncedWatch.ts +0 -32
- package/src/hooks/useDefaultElementId.ts +0 -6
- package/src/hooks/useExpandableVariant.ts +0 -13
- package/src/hooks/useFeaturedTokens.ts +0 -12
- package/src/hooks/useFromTokenSufficiency.ts +0 -83
- package/src/hooks/useGasRecommendation.ts +0 -46
- package/src/hooks/useGasRefuel.ts +0 -74
- package/src/hooks/useGasSufficiency.ts +0 -140
- package/src/hooks/useInitializer.ts +0 -16
- package/src/hooks/useLanguages.ts +0 -30
- package/src/hooks/useNavigateBack.ts +0 -26
- package/src/hooks/useProcessMessage.ts +0 -202
- package/src/hooks/useRequiredToAddress.ts +0 -22
- package/src/hooks/useRouteExecution.ts +0 -202
- package/src/hooks/useRoutes.ts +0 -328
- package/src/hooks/useScrollableContainer.ts +0 -47
- package/src/hooks/useSettingMonitor.ts +0 -79
- package/src/hooks/useSwapOnly.ts +0 -6
- package/src/hooks/useToken.ts +0 -23
- package/src/hooks/useTokenAddressBalance.ts +0 -25
- package/src/hooks/useTokenBalance.ts +0 -142
- package/src/hooks/useTokenBalances.ts +0 -90
- package/src/hooks/useTokenSearch.ts +0 -45
- package/src/hooks/useTokens.ts +0 -91
- package/src/hooks/useTools.ts +0 -36
- package/src/hooks/useTransactionDetails.ts +0 -76
- package/src/hooks/useTransactionHistory.ts +0 -49
- package/src/hooks/useWidgetEvents.ts +0 -8
- package/src/i18n/bn.json +0 -245
- package/src/i18n/de.json +0 -264
- package/src/i18n/en.json +0 -273
- package/src/i18n/es.json +0 -230
- package/src/i18n/fr.json +0 -267
- package/src/i18n/i18next.d.ts +0 -10
- package/src/i18n/id.json +0 -263
- package/src/i18n/index.ts +0 -16
- package/src/i18n/it.json +0 -263
- package/src/i18n/ko.json +0 -263
- package/src/i18n/pt.json +0 -267
- package/src/i18n/th.json +0 -263
- package/src/i18n/tr.json +0 -267
- package/src/i18n/uk.json +0 -267
- package/src/i18n/vi.json +0 -263
- package/src/i18n/zh.json +0 -267
- package/src/icons/InsuraceLogo.tsx +0 -46
- package/src/icons/lifi.ts +0 -2
- package/src/index.ts +0 -18
- package/src/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.tsx +0 -34
- package/src/pages/ActiveTransactionsPage/ActiveTransactionsPage.tsx +0 -82
- package/src/pages/LanguagesPage/LanguagesPage.tsx +0 -38
- package/src/pages/MainPage/MainGasMessage.tsx +0 -11
- package/src/pages/MainPage/MainPage.style.tsx +0 -9
- package/src/pages/MainPage/MainPage.tsx +0 -42
- package/src/pages/MainPage/ReviewButton.tsx +0 -69
- package/src/pages/RoutesPage/RoutesPage.style.ts +0 -7
- package/src/pages/RoutesPage/RoutesPage.tsx +0 -77
- package/src/pages/SelectChainPage/SelectChainPage.tsx +0 -48
- package/src/pages/SelectChainPage/types.ts +0 -5
- package/src/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.tsx +0 -130
- package/src/pages/SelectNativeTokenPage/SelectNativeTokenPage.tsx +0 -43
- package/src/pages/SelectTokenPage/SearchTokenInput.style.tsx +0 -6
- package/src/pages/SelectTokenPage/SearchTokenInput.tsx +0 -42
- package/src/pages/SelectTokenPage/SelectTokenPage.tsx +0 -51
- package/src/pages/SelectTokenPage/types.ts +0 -4
- package/src/pages/SelectWalletPage/EVMListItemButton.tsx +0 -64
- package/src/pages/SelectWalletPage/SVMListItemButton.tsx +0 -46
- package/src/pages/SelectWalletPage/SelectWalletPage.tsx +0 -127
- package/src/pages/SelectWalletPage/utils.ts +0 -26
- package/src/pages/SettingsPage/BridgeAndExchangeSettings.tsx +0 -50
- package/src/pages/SettingsPage/GasPriceSettings.tsx +0 -45
- package/src/pages/SettingsPage/LanguageSetting.tsx +0 -33
- package/src/pages/SettingsPage/ResetSettingsButton.style.tsx +0 -13
- package/src/pages/SettingsPage/ResetSettingsButton.tsx +0 -66
- package/src/pages/SettingsPage/RoutePrioritySettings.tsx +0 -56
- package/src/pages/SettingsPage/SendToWalletOptionSetting.tsx +0 -48
- package/src/pages/SettingsPage/SettingsCard/BadgedValue.tsx +0 -21
- package/src/pages/SettingsPage/SettingsCard/SettingCard.style.tsx +0 -56
- package/src/pages/SettingsPage/SettingsCard/SettingCard.tsx +0 -16
- package/src/pages/SettingsPage/SettingsCard/SettingCardButton.tsx +0 -26
- package/src/pages/SettingsPage/SettingsCard/SettingCardExpandable.tsx +0 -49
- package/src/pages/SettingsPage/SettingsCard/SettingsAccordian.tsx +0 -44
- package/src/pages/SettingsPage/SettingsCard/types.ts +0 -6
- package/src/pages/SettingsPage/SettingsPage.tsx +0 -30
- package/src/pages/SettingsPage/SlippageSettings/SlippageSettings.style.tsx +0 -93
- package/src/pages/SettingsPage/SlippageSettings/SlippageSettings.tsx +0 -114
- package/src/pages/SettingsPage/ThemeSettings.tsx +0 -84
- package/src/pages/TransactionDetailsPage/ContactSupportButton.tsx +0 -32
- package/src/pages/TransactionDetailsPage/TransactionDetailsPage.style.tsx +0 -6
- package/src/pages/TransactionDetailsPage/TransactionDetailsPage.tsx +0 -144
- package/src/pages/TransactionDetailsPage/TransactionDetailsSkeleton.tsx +0 -113
- package/src/pages/TransactionHistoryPage/TransactionHistoryEmpty.tsx +0 -34
- package/src/pages/TransactionHistoryPage/TransactionHistoryItem.tsx +0 -102
- package/src/pages/TransactionHistoryPage/TransactionHistoryPage.tsx +0 -62
- package/src/pages/TransactionHistoryPage/TransactionHistorySkeleton.tsx +0 -87
- package/src/pages/TransactionPage/ExchangeRateBottomSheet.tsx +0 -163
- package/src/pages/TransactionPage/StartTransactionButton.tsx +0 -56
- package/src/pages/TransactionPage/StatusBottomSheet.style.tsx +0 -55
- package/src/pages/TransactionPage/StatusBottomSheet.tsx +0 -269
- package/src/pages/TransactionPage/TokenValueBottomSheet.tsx +0 -104
- package/src/pages/TransactionPage/TransactionPage.style.tsx +0 -6
- package/src/pages/TransactionPage/TransactionPage.tsx +0 -236
- package/src/pages/TransactionPage/types.ts +0 -8
- package/src/pages/TransactionPage/utils.ts +0 -10
- package/src/providers/FormProvider/FormProvider.tsx +0 -55
- package/src/providers/FormProvider/FormUpdater.tsx +0 -86
- package/src/providers/FormProvider/URLSearchParamsBuilder.tsx +0 -37
- package/src/providers/FormProvider/types.ts +0 -44
- package/src/providers/I18nProvider/I18nProvider.tsx +0 -66
- package/src/providers/I18nProvider/types.ts +0 -27
- package/src/providers/ThemeProvider/ThemeProvider.tsx +0 -43
- package/src/providers/WalletProvider/EVMProvider.tsx +0 -119
- package/src/providers/WalletProvider/SDKProviders.tsx +0 -31
- package/src/providers/WalletProvider/SolanaProvider.tsx +0 -48
- package/src/providers/WalletProvider/WalletProvider.tsx +0 -15
- package/src/providers/WalletProvider/utils.ts +0 -37
- package/src/providers/WidgetProvider/WidgetProvider.tsx +0 -108
- package/src/providers/WidgetProvider/types.ts +0 -11
- package/src/providers/WidgetProvider/utils.ts +0 -12
- package/src/react-app-env.d.ts +0 -1
- package/src/stores/StoreProvider.tsx +0 -29
- package/src/stores/chains/ChainOrderStore.tsx +0 -79
- package/src/stores/chains/createChainOrderStore.ts +0 -67
- package/src/stores/chains/types.ts +0 -9
- package/src/stores/chains/useChainOrder.ts +0 -9
- package/src/stores/header/types.ts +0 -16
- package/src/stores/header/useHeaderStore.tsx +0 -70
- package/src/stores/routes/RouteExecutionStore.tsx +0 -51
- package/src/stores/routes/createRouteExecutionStore.ts +0 -165
- package/src/stores/routes/types.ts +0 -24
- package/src/stores/routes/useExecutingRoutesIds.ts +0 -24
- package/src/stores/routes/useSetExecutableRoute.ts +0 -5
- package/src/stores/routes/utils.ts +0 -61
- package/src/stores/settings/types.ts +0 -75
- package/src/stores/settings/useAppearance.ts +0 -17
- package/src/stores/settings/useSendToWalletStore.ts +0 -20
- package/src/stores/settings/useSettings.ts +0 -19
- package/src/stores/settings/useSettingsStore.ts +0 -165
- package/src/stores/settings/useSplitSubvariantStore.tsx +0 -69
- package/src/stores/types.ts +0 -7
- package/src/types/events.ts +0 -56
- package/src/types/token.ts +0 -5
- package/src/types/widget.ts +0 -175
- package/src/utils/colors.ts +0 -29
- package/src/utils/converters.ts +0 -202
- package/src/utils/deepMerge.ts +0 -14
- package/src/utils/elements.ts +0 -9
- package/src/utils/enum.ts +0 -2
- package/src/utils/format.ts +0 -93
- package/src/utils/input.ts +0 -29
- package/src/utils/navigationRoutes.ts +0 -56
- package/src/utils/svm.ts +0 -10
- package/src/utils/wallet.ts +0 -4
- /package/{src/_esm → _cjs}/App.d.ts +0 -0
- /package/{src/_esm → _cjs}/AppDefault.d.ts +0 -0
- /package/{src/_esm → _cjs}/AppDrawer.d.ts +0 -0
- /package/{src/_esm → _cjs}/AppDrawer.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/AppProvider.d.ts +0 -0
- /package/{src/_esm → _cjs}/AppRoutes.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ActiveTransactions/ActiveTransactionItem.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ActiveTransactions/ActiveTransactions.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ActiveTransactions/ActiveTransactions.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ActiveTransactions/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/AmountInput/AmountInput.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/AmountInput/AmountInput.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/AmountInput/AmountInputAdornment.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/AmountInput/AmountInputEndAdornment.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/AmountInput/AmountInputStartAdornment.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/AmountInput/FormPriceHelperText.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/AmountInput/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/AppContainer.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/BaseTransactionButton/BaseTransactionButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/BaseTransactionButton/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/BaseTransactionButton/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/BottomSheet/BottomSheet.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/BottomSheet/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/BottomSheet/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Card/Card.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Card/CardHeader.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Card/CardIconButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Card/CardLabel.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Card/CardTitle.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Card/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ChainSelect/ChainSelect.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ChainSelect/ChainSelect.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ChainSelect/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ChainSelect/useChainSelect.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ContractComponent/ContractComponent.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ContractComponent/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Dialog.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/GasMessage/FundsSufficiencyMessage.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/GasMessage/GasMessage.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/GasMessage/GasMessage.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/GasMessage/GasRefuelMessage.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/GasMessage/GasSufficiencyMessage.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/GasMessage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Header/Header.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Header/Header.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Header/NavigationHeader.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Header/NavigationTabs.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Header/SettingsButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Header/SettingsButton.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Header/WalletHeader.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Header/WalletMenu.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Header/WalletMenu.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Header/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Initializer.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Input.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Insurance/Insurance.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Insurance/InsuranceCard.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Insurance/InsuranceCollapsed.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Insurance/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Insurance/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ListItemButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ListItemText.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/NFT/NFT.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/NFT/NFT.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/NFT/NFTBase.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/NFT/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/NFT/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/NotFound.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/PoweredBy/PoweredBy.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/PoweredBy/PoweredBy.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/PoweredBy/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ProgressToNextUpdate/ProgressToNextUpdate.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ProgressToNextUpdate/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ReverseTokensButton/ReverseTokensButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/ReverseTokensButton/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/RouteCard/RouteCard.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/RouteCard/RouteCard.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/RouteCard/RouteCardEssentials.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/RouteCard/RouteCardSkeleton.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/RouteCard/RouteNotFoundCard.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/RouteCard/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/RouteCard/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/RouteCard/utils.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Routes/Routes.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Routes/RoutesExpanded.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Routes/RoutesExpanded.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Routes/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Select.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/SelectChainAndToken.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/SelectTokenButton/SelectTokenButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/SelectTokenButton/SelectTokenButton.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/SelectTokenButton/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/SendToWallet/SendToWallet.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/SendToWallet/SendToWallet.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/SendToWallet/SendToWalletButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/SendToWallet/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/SettingsListItemButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/SmallAvatar.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Step/CircularProgress.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Step/CircularProgress.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Step/DestinationWalletAddress.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Step/GasStepProcess.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Step/Step.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Step/StepList.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Step/StepProcess.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Step/StepProcess.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Step/StepTimer.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Step/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/StepActions/StepActions.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/StepActions/StepActions.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/StepActions/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/StepActions/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/StepDivider/StepDivider.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/StepDivider/StepDivider.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/StepDivider/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Switch.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Tabs/Tabs.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Tabs/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TextFitter/TextFitter.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TextFitter/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TextFitter/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Token/Token.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Token/Token.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/Token/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenAvatar/TokenAvatar.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenAvatar/TokenAvatar.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenAvatar/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenList/TokenList.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenList/TokenList.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenList/TokenListItem.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenList/TokenNotFound.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenList/VirtualizedTokenList.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenList/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenList/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/components/TokenList/useTokenSelect.d.ts +0 -0
- /package/{src/_esm → _cjs}/config/queryClient.d.ts +0 -0
- /package/{src/_esm → _cjs}/config/theme.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useAccount.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useAvailableChains.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useChain.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useChains.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useContentHeight.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useDebouncedWatch.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useDefaultElementId.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useExpandableVariant.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useFeaturedTokens.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useFromTokenSufficiency.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useGasRefuel.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useGasSufficiency.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useInitializer.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useLanguages.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useNavigateBack.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useProcessMessage.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useRequiredToAddress.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useRouteExecution.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useScrollableContainer.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useSettingMonitor.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useSwapOnly.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useToken.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useTokenSearch.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useTokens.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useTools.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useTransactionDetails.d.ts +0 -0
- /package/{src/_esm → _cjs}/hooks/useWidgetEvents.d.ts +0 -0
- /package/{src/_esm → _cjs}/i18n/bn.json +0 -0
- /package/{src/_esm → _cjs}/i18n/de.json +0 -0
- /package/{src/_esm → _cjs}/i18n/en.json +0 -0
- /package/{src/_esm → _cjs}/i18n/es.json +0 -0
- /package/{src/_esm → _cjs}/i18n/fr.json +0 -0
- /package/{src/_esm → _cjs}/i18n/id.json +0 -0
- /package/{src/_esm → _cjs}/i18n/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/i18n/it.json +0 -0
- /package/{src/_esm → _cjs}/i18n/ko.json +0 -0
- /package/{src/_esm → _cjs}/i18n/pt.json +0 -0
- /package/{src/_esm → _cjs}/i18n/th.json +0 -0
- /package/{src/_esm → _cjs}/i18n/tr.json +0 -0
- /package/{src/_esm → _cjs}/i18n/uk.json +0 -0
- /package/{src/_esm → _cjs}/i18n/vi.json +0 -0
- /package/{src/_esm → _cjs}/i18n/zh.json +0 -0
- /package/{src/_esm → _cjs}/icons/InsuraceLogo.d.ts +0 -0
- /package/{src/_esm → _cjs}/icons/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/icons/lifi.d.ts +0 -0
- /package/{src/_esm → _cjs}/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/ActiveTransactionsPage/ActiveTransactionsPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/ActiveTransactionsPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/LanguagesPage/LanguagesPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/LanguagesPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/MainPage/MainGasMessage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/MainPage/MainPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/MainPage/MainPage.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/MainPage/ReviewButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/MainPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/RoutesPage/RoutesPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/RoutesPage/RoutesPage.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/RoutesPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectChainPage/SelectChainPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectChainPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectChainPage/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectEnabledToolsPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectNativeTokenPage/SelectNativeTokenPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectNativeTokenPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectTokenPage/SearchTokenInput.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectTokenPage/SearchTokenInput.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectTokenPage/SelectTokenPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectTokenPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectTokenPage/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectWalletPage/EVMListItemButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectWalletPage/SVMListItemButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectWalletPage/SelectWalletPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectWalletPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SelectWalletPage/utils.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/BridgeAndExchangeSettings.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/GasPriceSettings.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/LanguageSetting.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/ResetSettingsButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/ResetSettingsButton.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/RoutePrioritySettings.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SendToWalletOptionSetting.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SettingsCard/BadgedValue.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SettingsCard/SettingCard.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SettingsCard/SettingCard.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SettingsCard/SettingCardButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SettingsCard/SettingCardExpandable.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SettingsCard/SettingsAccordian.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SettingsCard/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SettingsCard/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SettingsPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SlippageSettings/SlippageSettings.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SlippageSettings/SlippageSettings.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/SlippageSettings/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/ThemeSettings.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/SettingsPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionDetailsPage/ContactSupportButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionDetailsPage/TransactionDetailsPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionDetailsPage/TransactionDetailsPage.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionDetailsPage/TransactionDetailsSkeleton.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionDetailsPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionHistoryPage/TransactionHistoryEmpty.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionHistoryPage/TransactionHistoryItem.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionHistoryPage/TransactionHistoryPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionHistoryPage/TransactionHistorySkeleton.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionHistoryPage/constants.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionHistoryPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionPage/ExchangeRateBottomSheet.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionPage/StartTransactionButton.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionPage/StatusBottomSheet.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionPage/StatusBottomSheet.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionPage/TokenValueBottomSheet.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionPage/TransactionPage.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionPage/TransactionPage.style.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionPage/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionPage/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/pages/TransactionPage/utils.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/FormProvider/FormProvider.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/FormProvider/FormUpdater.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/FormProvider/URLSearchParamsBuilder.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/FormProvider/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/FormProvider/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/I18nProvider/I18nProvider.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/I18nProvider/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/I18nProvider/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/ThemeProvider/ThemeProvider.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/ThemeProvider/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/WalletProvider/EVMProvider.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/WalletProvider/SDKProviders.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/WalletProvider/SolanaProvider.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/WalletProvider/WalletProvider.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/WalletProvider/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/WalletProvider/utils.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/WidgetProvider/WidgetProvider.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/WidgetProvider/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/WidgetProvider/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/WidgetProvider/utils.d.ts +0 -0
- /package/{src/_esm → _cjs}/providers/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/StoreProvider.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/chains/ChainOrderStore.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/chains/createChainOrderStore.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/chains/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/chains/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/chains/useChainOrder.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/header/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/header/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/header/useHeaderStore.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/routes/RouteExecutionStore.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/routes/createRouteExecutionStore.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/routes/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/routes/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/routes/useExecutingRoutesIds.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/routes/useSetExecutableRoute.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/routes/utils.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/settings/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/settings/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/settings/useAppearance.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/settings/useSendToWalletStore.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/settings/useSettings.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/settings/useSettingsStore.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/settings/useSplitSubvariantStore.d.ts +0 -0
- /package/{src/_esm → _cjs}/stores/types.d.ts +0 -0
- /package/{src/_esm → _cjs}/types/events.d.ts +0 -0
- /package/{src/_esm → _cjs}/types/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/types/token.d.ts +0 -0
- /package/{src/_esm → _cjs}/types/widget.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/colors.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/converters.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/deepMerge.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/elements.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/enum.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/format.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/index.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/input.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/navigationRoutes.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/svm.d.ts +0 -0
- /package/{src/_esm → _cjs}/utils/wallet.d.ts +0 -0
- /package/{src/components/ActiveTransactions/index.ts → _esm/components/ActiveTransactions/index.d.ts} +0 -0
- /package/{src/components/AmountInput/index.ts → _esm/components/AmountInput/index.d.ts} +0 -0
- /package/{src/components/BaseTransactionButton/index.ts → _esm/components/BaseTransactionButton/index.d.ts} +0 -0
- /package/{src/components/BottomSheet/index.ts → _esm/components/BottomSheet/index.d.ts} +0 -0
- /package/{src/components/Card/index.ts → _esm/components/Card/index.d.ts} +0 -0
- /package/{src/components/ChainSelect/index.ts → _esm/components/ChainSelect/index.d.ts} +0 -0
- /package/{src/components/ContractComponent/index.ts → _esm/components/ContractComponent/index.d.ts} +0 -0
- /package/{src/components/GasMessage/index.ts → _esm/components/GasMessage/index.d.ts} +0 -0
- /package/{src/components/Header/index.ts → _esm/components/Header/index.d.ts} +0 -0
- /package/{src/components/Insurance/index.ts → _esm/components/Insurance/index.d.ts} +0 -0
- /package/{src/components/NFT/index.ts → _esm/components/NFT/index.d.ts} +0 -0
- /package/{src/components/PoweredBy/index.ts → _esm/components/PoweredBy/index.d.ts} +0 -0
- /package/{src/components/ProgressToNextUpdate/index.ts → _esm/components/ProgressToNextUpdate/index.d.ts} +0 -0
- /package/{src/components/ReverseTokensButton/index.ts → _esm/components/ReverseTokensButton/index.d.ts} +0 -0
- /package/{src/components/RouteCard/index.ts → _esm/components/RouteCard/index.d.ts} +0 -0
- /package/{src/components/Routes/index.ts → _esm/components/Routes/index.d.ts} +0 -0
- /package/{src/components/SelectTokenButton/index.ts → _esm/components/SelectTokenButton/index.d.ts} +0 -0
- /package/{src/components/SendToWallet/index.ts → _esm/components/SendToWallet/index.d.ts} +0 -0
- /package/{src/components/Step/index.ts → _esm/components/Step/index.d.ts} +0 -0
- /package/{src/components/StepActions/index.ts → _esm/components/StepActions/index.d.ts} +0 -0
- /package/{src/components/StepDivider/index.ts → _esm/components/StepDivider/index.d.ts} +0 -0
- /package/{src/components/Tabs/index.ts → _esm/components/Tabs/index.d.ts} +0 -0
- /package/{src/components/TextFitter/index.ts → _esm/components/TextFitter/index.d.ts} +0 -0
- /package/{src/components/Token/index.ts → _esm/components/Token/index.d.ts} +0 -0
- /package/{src/components/TokenAvatar/index.ts → _esm/components/TokenAvatar/index.d.ts} +0 -0
- /package/{src/components/TokenList/index.ts → _esm/components/TokenList/index.d.ts} +0 -0
- /package/{src/hooks/index.ts → _esm/hooks/index.d.ts} +0 -0
- /package/{src/icons/index.ts → _esm/icons/index.d.ts} +0 -0
- /package/{src/pages/ActiveTransactionsPage/index.ts → _esm/pages/ActiveTransactionsPage/index.d.ts} +0 -0
- /package/{src/pages/LanguagesPage/index.ts → _esm/pages/LanguagesPage/index.d.ts} +0 -0
- /package/{src/pages/MainPage/index.ts → _esm/pages/MainPage/index.d.ts} +0 -0
- /package/{src/pages/RoutesPage/index.ts → _esm/pages/RoutesPage/index.d.ts} +0 -0
- /package/{src/pages/SelectChainPage/index.ts → _esm/pages/SelectChainPage/index.d.ts} +0 -0
- /package/{src/pages/SelectEnabledToolsPage/index.ts → _esm/pages/SelectEnabledToolsPage/index.d.ts} +0 -0
- /package/{src/pages/SelectNativeTokenPage/index.ts → _esm/pages/SelectNativeTokenPage/index.d.ts} +0 -0
- /package/{src/pages/SelectTokenPage/index.ts → _esm/pages/SelectTokenPage/index.d.ts} +0 -0
- /package/{src/pages/SelectWalletPage/index.ts → _esm/pages/SelectWalletPage/index.d.ts} +0 -0
- /package/{src/pages/SettingsPage/SettingsCard/index.ts → _esm/pages/SettingsPage/SettingsCard/index.d.ts} +0 -0
- /package/{src/pages/SettingsPage/SlippageSettings/index.ts → _esm/pages/SettingsPage/SlippageSettings/index.d.ts} +0 -0
- /package/{src/pages/SettingsPage/index.ts → _esm/pages/SettingsPage/index.d.ts} +0 -0
- /package/{src/pages/TransactionDetailsPage/index.ts → _esm/pages/TransactionDetailsPage/index.d.ts} +0 -0
- /package/{src/pages/TransactionHistoryPage/constants.ts → _esm/pages/TransactionHistoryPage/constants.js} +0 -0
- /package/{src/pages/TransactionHistoryPage/index.ts → _esm/pages/TransactionHistoryPage/index.d.ts} +0 -0
- /package/{src/pages/TransactionPage/index.ts → _esm/pages/TransactionPage/index.d.ts} +0 -0
- /package/{src/providers/FormProvider/index.ts → _esm/providers/FormProvider/index.d.ts} +0 -0
- /package/{src/providers/I18nProvider/index.ts → _esm/providers/I18nProvider/index.d.ts} +0 -0
- /package/{src/providers/ThemeProvider/index.ts → _esm/providers/ThemeProvider/index.d.ts} +0 -0
- /package/{src/providers/WalletProvider/index.ts → _esm/providers/WalletProvider/index.d.ts} +0 -0
- /package/{src/providers/WidgetProvider/index.ts → _esm/providers/WidgetProvider/index.d.ts} +0 -0
- /package/{src/providers/index.ts → _esm/providers/index.d.ts} +0 -0
- /package/{src/stores/chains/index.ts → _esm/stores/chains/index.d.ts} +0 -0
- /package/{src/stores/header/index.ts → _esm/stores/header/index.d.ts} +0 -0
- /package/{src/stores/index.ts → _esm/stores/index.d.ts} +0 -0
- /package/{src/stores/routes/index.ts → _esm/stores/routes/index.d.ts} +0 -0
- /package/{src/stores/settings/index.ts → _esm/stores/settings/index.d.ts} +0 -0
- /package/{src/types/index.ts → _esm/types/index.d.ts} +0 -0
- /package/{src/utils/index.ts → _esm/utils/index.d.ts} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Insurance = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const stores_1 = require("../../stores");
|
|
6
|
+
const InsuranceCard_1 = require("./InsuranceCard");
|
|
7
|
+
const InsuranceCollapsed_1 = require("./InsuranceCollapsed");
|
|
8
|
+
const Insurance = ({ status, insurableRouteId, onChange, ...props }) => {
|
|
9
|
+
return status === stores_1.RouteExecutionStatus.Idle ? ((0, jsx_runtime_1.jsx)(InsuranceCollapsed_1.InsuranceCollapsed, { status: status, insurableRouteId: insurableRouteId, onChange: onChange, ...props })) : ((0, jsx_runtime_1.jsx)(InsuranceCard_1.InsuranceCard, { status: status, ...props }));
|
|
10
|
+
};
|
|
11
|
+
exports.Insurance = Insurance;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InsuranceCard = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ExpandLess_1 = require("@mui/icons-material/ExpandLess");
|
|
6
|
+
const ExpandMore_1 = require("@mui/icons-material/ExpandMore");
|
|
7
|
+
const VerifiedUser_1 = require("@mui/icons-material/VerifiedUser");
|
|
8
|
+
const material_1 = require("@mui/material");
|
|
9
|
+
const react_1 = require("react");
|
|
10
|
+
const react_i18next_1 = require("react-i18next");
|
|
11
|
+
const icons_1 = require("../../icons");
|
|
12
|
+
const stores_1 = require("../../stores");
|
|
13
|
+
const Card_1 = require("../Card");
|
|
14
|
+
const Switch_1 = require("../Switch");
|
|
15
|
+
const InsuranceCard = ({ status, feeAmountUsd, insuredAmount, insuredTokenSymbol, insuranceCoverageId, onChange, ...props }) => {
|
|
16
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
17
|
+
const [enabled, setEnabled] = (0, react_1.useState)(false);
|
|
18
|
+
const [cardExpanded, setCardExpanded] = (0, react_1.useState)(status === stores_1.RouteExecutionStatus.Idle);
|
|
19
|
+
const handleExpand = (e) => {
|
|
20
|
+
e.stopPropagation();
|
|
21
|
+
setCardExpanded((expanded) => !expanded);
|
|
22
|
+
};
|
|
23
|
+
const handleSwitch = (_, checked) => {
|
|
24
|
+
setEnabled(checked);
|
|
25
|
+
onChange?.(checked);
|
|
26
|
+
};
|
|
27
|
+
return ((0, jsx_runtime_1.jsxs)(Card_1.Card, { selectionColor: "secondary", indented: true, ...props, children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [(0, jsx_runtime_1.jsxs)(Card_1.CardLabel, { type: 'insurance', children: [(0, jsx_runtime_1.jsx)(VerifiedUser_1.default, { fontSize: "inherit" }), (0, jsx_runtime_1.jsx)(Card_1.CardLabelTypography, { type: "icon", children: status === stores_1.RouteExecutionStatus.Idle
|
|
28
|
+
? t('main.tags.insurance')
|
|
29
|
+
: t('main.tags.insured') })] }), status === stores_1.RouteExecutionStatus.Idle ? ((0, jsx_runtime_1.jsx)(Switch_1.Switch, { onChange: handleSwitch, value: enabled })) : ((0, jsx_runtime_1.jsx)(material_1.Box, { my: -0.5, children: (0, jsx_runtime_1.jsx)(Card_1.CardIconButton, { onClick: handleExpand, size: "small", children: cardExpanded ? (0, jsx_runtime_1.jsx)(ExpandLess_1.default, {}) : (0, jsx_runtime_1.jsx)(ExpandMore_1.default, {}) }) }))] }), (0, jsx_runtime_1.jsx)(material_1.Collapse, { timeout: 225, in: cardExpanded, mountOnEnter: true, unmountOnExit: true, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { mt: 2, children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", justifyContent: "space-between", mb: 2, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 24, fontWeight: 700, lineHeight: 1, children: t('format.currency', {
|
|
30
|
+
value: feeAmountUsd,
|
|
31
|
+
}) }), (0, jsx_runtime_1.jsx)(icons_1.InsuraceLogo, {})] }), (0, jsx_runtime_1.jsxs)(material_1.Box, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 14, children: (0, jsx_runtime_1.jsx)(react_i18next_1.Trans, { i18nKey: status === stores_1.RouteExecutionStatus.Idle
|
|
32
|
+
? 'insurance.insure'
|
|
33
|
+
: 'insurance.insured', values: {
|
|
34
|
+
amount: insuredAmount,
|
|
35
|
+
tokenSymbol: insuredTokenSymbol,
|
|
36
|
+
}, components: [(0, jsx_runtime_1.jsx)("strong", {})] }) }), (0, jsx_runtime_1.jsx)(material_1.Collapse, { timeout: 225, in: enabled || status !== stores_1.RouteExecutionStatus.Idle, mountOnEnter: true, unmountOnExit: true, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
|
|
37
|
+
listStyleType: 'disc',
|
|
38
|
+
pl: 2,
|
|
39
|
+
}, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 14, display: "list-item", children: t('insurance.bridgeExploits') }), (0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 14, display: "list-item", children: t('insurance.slippageError') })] }) }), (0, jsx_runtime_1.jsx)(material_1.Link, { href: status === stores_1.RouteExecutionStatus.Idle
|
|
40
|
+
? 'https://docs.insurace.io/landing-page/documentation/cover-products/bridge-cover/li.fi'
|
|
41
|
+
: `https://app.insurace.io/bridge-cover?search=${insuranceCoverageId}`, target: "_blank", underline: "none", color: "text.primary", children: (0, jsx_runtime_1.jsx)(material_1.Typography, { pt: 0.5, color: "primary", fontSize: 14, fontWeight: 600, children: status === stores_1.RouteExecutionStatus.Idle
|
|
42
|
+
? t('button.learnMore')
|
|
43
|
+
: t('button.viewCoverage') }) })] })] }) })] }));
|
|
44
|
+
};
|
|
45
|
+
exports.InsuranceCard = InsuranceCard;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InsuranceCollapsed = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const material_1 = require("@mui/material");
|
|
6
|
+
const hooks_1 = require("../../hooks");
|
|
7
|
+
const stores_1 = require("../../stores");
|
|
8
|
+
const utils_1 = require("../../utils");
|
|
9
|
+
const InsuranceCard_1 = require("./InsuranceCard");
|
|
10
|
+
const InsuranceCollapsed = ({ status, insurableRouteId, onChange, ...props }) => {
|
|
11
|
+
const setExecutableRoute = (0, stores_1.useSetExecutableRoute)();
|
|
12
|
+
const routeExecution = (0, stores_1.useRouteExecutionStore)((state) => state.routes[insurableRouteId]);
|
|
13
|
+
const { routes } = (0, hooks_1.useRoutes)({
|
|
14
|
+
insurableRoute: routeExecution?.route,
|
|
15
|
+
});
|
|
16
|
+
const insuredRoute = routes?.[0];
|
|
17
|
+
const toggleInsurance = (checked) => {
|
|
18
|
+
if (insuredRoute) {
|
|
19
|
+
if (checked) {
|
|
20
|
+
setExecutableRoute(insuredRoute, insurableRouteId);
|
|
21
|
+
}
|
|
22
|
+
onChange?.(checked ? insuredRoute.id : insurableRouteId);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
if (!insuredRoute) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)(material_1.Collapse, { timeout: 225, in: insuredRoute.insurance.state === 'INSURED', unmountOnExit: true, mountOnEnter: true, appear: status === stores_1.RouteExecutionStatus.Idle, children: (0, jsx_runtime_1.jsx)(InsuranceCard_1.InsuranceCard, { ...props, status: status, insuredAmount: (0, utils_1.formatTokenAmount)(BigInt(insuredRoute.toAmountMin), insuredRoute.toToken.decimals), insuredTokenSymbol: insuredRoute.toToken.symbol, onChange: toggleInsurance }) }));
|
|
29
|
+
};
|
|
30
|
+
exports.InsuranceCollapsed = InsuranceCollapsed;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Insurance"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListItemButton = void 0;
|
|
4
|
+
const material_1 = require("@mui/material");
|
|
5
|
+
const styles_1 = require("@mui/material/styles");
|
|
6
|
+
const utils_1 = require("../utils");
|
|
7
|
+
exports.ListItemButton = (0, styles_1.styled)(material_1.ListItemButton)(({ theme }) => ({
|
|
8
|
+
borderRadius: theme.shape.borderRadius,
|
|
9
|
+
paddingLeft: theme.spacing(1.5),
|
|
10
|
+
height: 56,
|
|
11
|
+
'&:hover': {
|
|
12
|
+
backgroundColor: (0, utils_1.getContrastAlphaColor)(theme.palette.mode, '4%'),
|
|
13
|
+
},
|
|
14
|
+
}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListItemText = void 0;
|
|
4
|
+
const material_1 = require("@mui/material");
|
|
5
|
+
const ListItemText_1 = require("@mui/material/ListItemText");
|
|
6
|
+
const styles_1 = require("@mui/material/styles");
|
|
7
|
+
exports.ListItemText = (0, styles_1.styled)(material_1.ListItemText)(({ theme }) => ({
|
|
8
|
+
[`.${ListItemText_1.listItemTextClasses.primary}`]: {
|
|
9
|
+
fontWeight: 400,
|
|
10
|
+
},
|
|
11
|
+
}));
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NFT = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const react_hook_form_1 = require("react-hook-form");
|
|
7
|
+
const providers_1 = require("../../providers");
|
|
8
|
+
const NFTBase_1 = require("./NFTBase");
|
|
9
|
+
const NFT = ({ imageUrl, isLoading, collectionName, assetName, owner, token, contract, }) => {
|
|
10
|
+
const { setValue } = (0, react_hook_form_1.useFormContext)();
|
|
11
|
+
(0, react_1.useEffect)(() => {
|
|
12
|
+
if (token) {
|
|
13
|
+
setValue(providers_1.FormKey.ToChain, token.chainId, { shouldTouch: true });
|
|
14
|
+
setValue(providers_1.FormKey.ToToken, token.address, { shouldTouch: true });
|
|
15
|
+
setValue(providers_1.FormKey.ToAmount, token.amount?.toString(), {
|
|
16
|
+
shouldTouch: true,
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
if (contract) {
|
|
20
|
+
setValue(providers_1.FormKey.ToContractAddress, contract.address, {
|
|
21
|
+
shouldTouch: true,
|
|
22
|
+
});
|
|
23
|
+
setValue(providers_1.FormKey.ToContractCallData, contract.callData, {
|
|
24
|
+
shouldTouch: true,
|
|
25
|
+
});
|
|
26
|
+
setValue(providers_1.FormKey.ToContractGasLimit, contract.gasLimit, {
|
|
27
|
+
shouldTouch: true,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}, [contract, setValue, token]);
|
|
31
|
+
return ((0, jsx_runtime_1.jsx)(NFTBase_1.NFTBase, { isLoading: isLoading, imageUrl: imageUrl, collectionName: collectionName, assetName: assetName, owner: owner, token: token }));
|
|
32
|
+
};
|
|
33
|
+
exports.NFT = NFT;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreviewAvatar = void 0;
|
|
4
|
+
const material_1 = require("@mui/material");
|
|
5
|
+
const styles_1 = require("@mui/material/styles");
|
|
6
|
+
exports.PreviewAvatar = (0, styles_1.styled)(material_1.Avatar)(({ theme }) => ({
|
|
7
|
+
background: theme.palette.background.paper,
|
|
8
|
+
width: 96,
|
|
9
|
+
height: 96,
|
|
10
|
+
borderRadius: theme.shape.borderRadius,
|
|
11
|
+
}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NFTBase = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const material_1 = require("@mui/material");
|
|
6
|
+
const react_i18next_1 = require("react-i18next");
|
|
7
|
+
const Token_1 = require("../Token");
|
|
8
|
+
const NFT_style_1 = require("./NFT.style");
|
|
9
|
+
const NFTBase = ({ imageUrl, isLoading, collectionName, assetName, owner, token, }) => {
|
|
10
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Box, { p: 2, children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", children: [isLoading ? ((0, jsx_runtime_1.jsx)(material_1.Skeleton, { width: 96, height: 96, variant: "rectangular", sx: { borderRadius: 1 } })) : ((0, jsx_runtime_1.jsx)(NFT_style_1.PreviewAvatar, { src: imageUrl })), (0, jsx_runtime_1.jsxs)(material_1.Box, { ml: 2, children: [isLoading ? ((0, jsx_runtime_1.jsx)(material_1.Skeleton, { width: 144, height: 21, variant: "text" })) : ((0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 14, color: "text.secondary", children: collectionName })), isLoading ? ((0, jsx_runtime_1.jsx)(material_1.Skeleton, { width: 112, height: 27, variant: "text" })) : ((0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 18, fontWeight: 600, children: assetName })), isLoading ? ((0, jsx_runtime_1.jsx)(material_1.Skeleton, { width: 128, height: 21, variant: "text" })) : owner ? ((0, jsx_runtime_1.jsxs)(material_1.Typography, { fontSize: 14, color: "text.secondary", children: [t('main.ownedBy'), ' ', (0, jsx_runtime_1.jsx)(material_1.Link, { href: owner.url, target: "_blank", underline: "none", color: "primary", children: owner.name })] })) : null] })] }), (0, jsx_runtime_1.jsx)(Token_1.Token, { token: token, isLoading: isLoading, mt: 2 })] }));
|
|
12
|
+
};
|
|
13
|
+
exports.NFTBase = NFTBase;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./NFT"), exports);
|
|
18
|
+
__exportStar(require("./NFTBase"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotFound = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const Block_1 = require("@mui/icons-material/Block");
|
|
6
|
+
const material_1 = require("@mui/material");
|
|
7
|
+
const react_i18next_1 = require("react-i18next");
|
|
8
|
+
const NotFound = () => {
|
|
9
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
|
|
11
|
+
display: 'flex',
|
|
12
|
+
justifyContent: 'center',
|
|
13
|
+
alignItems: 'center',
|
|
14
|
+
flexDirection: 'column',
|
|
15
|
+
flex: 1,
|
|
16
|
+
padding: 3,
|
|
17
|
+
}, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 48, children: (0, jsx_runtime_1.jsx)(Block_1.default, { fontSize: "inherit" }) }), (0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 18, fontWeight: 700, children: t('tooltip.notFound.title') }), (0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 14, color: "text.secondary", textAlign: "center", mt: 2, children: t('tooltip.notFound.text') })] }));
|
|
18
|
+
};
|
|
19
|
+
exports.NotFound = NotFound;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PoweredBy = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const material_1 = require("@mui/material");
|
|
6
|
+
const react_router_dom_1 = require("react-router-dom");
|
|
7
|
+
const version_1 = require("../../config/version");
|
|
8
|
+
const providers_1 = require("../../providers");
|
|
9
|
+
const types_1 = require("../../types");
|
|
10
|
+
const utils_1 = require("../../utils");
|
|
11
|
+
const PoweredBy_style_1 = require("./PoweredBy.style");
|
|
12
|
+
const PoweredBy = () => {
|
|
13
|
+
const { hiddenUI } = (0, providers_1.useWidgetConfig)();
|
|
14
|
+
const { pathname } = (0, react_router_dom_1.useLocation)();
|
|
15
|
+
if (pathname.includes(utils_1.navigationRoutes.fromToken) ||
|
|
16
|
+
pathname.includes(utils_1.navigationRoutes.toToken) ||
|
|
17
|
+
pathname.includes(utils_1.navigationRoutes.transactionHistory)) {
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
return ((0, jsx_runtime_1.jsx)(material_1.Box, { px: 3, pt: 1, pb: hiddenUI?.includes(types_1.HiddenUI.PoweredBy) ? 1 : 2, sx: {
|
|
21
|
+
display: 'flex',
|
|
22
|
+
alignItems: 'flex-end',
|
|
23
|
+
justifyContent: 'flex-end',
|
|
24
|
+
}, children: !hiddenUI?.includes(types_1.HiddenUI.PoweredBy) ? ((0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: `v${version_1.version}`, placement: "top", enterDelay: 1000, arrow: true, children: (0, jsx_runtime_1.jsxs)(PoweredBy_style_1.Link, { href: "https://li.fi", target: "_blank", underline: "none", color: "text.primary", children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { color: "text.secondary", fontSize: 12, fontWeight: 500, px: 0.5, children: "Powered by" }), (0, jsx_runtime_1.jsx)(material_1.Typography, { color: "text.primary", fontSize: 12, fontWeight: 500, children: "LI.FI" })] }) })) : null }));
|
|
25
|
+
};
|
|
26
|
+
exports.PoweredBy = PoweredBy;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Link = void 0;
|
|
4
|
+
const material_1 = require("@mui/material");
|
|
5
|
+
const styles_1 = require("@mui/material/styles");
|
|
6
|
+
exports.Link = (0, styles_1.styled)(material_1.Link)(({ theme }) => ({
|
|
7
|
+
display: 'flex',
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
border: 'none',
|
|
10
|
+
':hover': {
|
|
11
|
+
color: theme.palette.primary.main,
|
|
12
|
+
},
|
|
13
|
+
}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PoweredBy = void 0;
|
|
4
|
+
var PoweredBy_1 = require("./PoweredBy");
|
|
5
|
+
Object.defineProperty(exports, "PoweredBy", { enumerable: true, get: function () { return PoweredBy_1.PoweredBy; } });
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProgressToNextUpdate = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const material_1 = require("@mui/material");
|
|
6
|
+
const react_1 = require("react");
|
|
7
|
+
const react_i18next_1 = require("react-i18next");
|
|
8
|
+
const getProgressValue = (updatedAt, timeToUpdate) => updatedAt
|
|
9
|
+
? Math.min(100, ((Date.now() - updatedAt) / timeToUpdate) * 100)
|
|
10
|
+
: 0;
|
|
11
|
+
const getSecondsToUpdate = (updatedAt, timeToUpdate) => Math.max(Math.round((timeToUpdate - (Date.now() - updatedAt)) / 1000), 0);
|
|
12
|
+
const ProgressToNextUpdate = ({ updatedAt, timeToUpdate, isLoading, onClick, ...other }) => {
|
|
13
|
+
const [value, setValue] = (0, react_1.useState)(() => getProgressValue(updatedAt, timeToUpdate));
|
|
14
|
+
(0, react_1.useEffect)(() => {
|
|
15
|
+
setValue(getProgressValue(updatedAt, timeToUpdate));
|
|
16
|
+
const id = setInterval(() => {
|
|
17
|
+
const time = getProgressValue(updatedAt, timeToUpdate);
|
|
18
|
+
setValue(time);
|
|
19
|
+
if (time >= 100) {
|
|
20
|
+
clearInterval(id);
|
|
21
|
+
}
|
|
22
|
+
}, 1000);
|
|
23
|
+
return () => clearInterval(id);
|
|
24
|
+
}, [timeToUpdate, updatedAt]);
|
|
25
|
+
(0, react_1.useEffect)(() => {
|
|
26
|
+
if (isLoading) {
|
|
27
|
+
setValue(0);
|
|
28
|
+
}
|
|
29
|
+
}, [isLoading]);
|
|
30
|
+
return ((0, jsx_runtime_1.jsx)(material_1.IconButton, { onClick: onClick, disabled: isLoading, ...other, children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: (0, jsx_runtime_1.jsx)(react_i18next_1.Trans, { i18nKey: "tooltip.progressToNextUpdate", values: {
|
|
31
|
+
value: getSecondsToUpdate(updatedAt, timeToUpdate),
|
|
32
|
+
}, components: [(0, jsx_runtime_1.jsx)("br", {})] }), placement: "top", enterDelay: 400, arrow: true, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
|
|
33
|
+
display: 'grid',
|
|
34
|
+
position: 'relative',
|
|
35
|
+
placeItems: 'center',
|
|
36
|
+
width: 24,
|
|
37
|
+
height: 24,
|
|
38
|
+
}, children: [(0, jsx_runtime_1.jsx)(material_1.CircularProgress, { variant: "determinate", size: 24, value: 100, sx: (theme) => ({
|
|
39
|
+
position: 'absolute',
|
|
40
|
+
color: theme.palette.mode === 'light'
|
|
41
|
+
? theme.palette.grey[300]
|
|
42
|
+
: theme.palette.grey[800],
|
|
43
|
+
}) }), (0, jsx_runtime_1.jsx)(material_1.CircularProgress, { variant: isLoading ? 'indeterminate' : 'determinate', size: 24, value: value, sx: (theme) => ({
|
|
44
|
+
opacity: value === 100 && !isLoading ? 0.5 : 1,
|
|
45
|
+
color: theme.palette.mode === 'light'
|
|
46
|
+
? theme.palette.primary.main
|
|
47
|
+
: theme.palette.primary.light,
|
|
48
|
+
}) })] }) }) }));
|
|
49
|
+
};
|
|
50
|
+
exports.ProgressToNextUpdate = ProgressToNextUpdate;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ProgressToNextUpdate"), exports);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReverseTokensButton = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const SwapHoriz_1 = require("@mui/icons-material/SwapHoriz");
|
|
6
|
+
const SwapVert_1 = require("@mui/icons-material/SwapVert");
|
|
7
|
+
const react_hook_form_1 = require("react-hook-form");
|
|
8
|
+
const providers_1 = require("../../providers");
|
|
9
|
+
const ReverseTokensButton_style_1 = require("./ReverseTokensButton.style");
|
|
10
|
+
const ReverseTokensButton = ({ vertical, }) => {
|
|
11
|
+
const { setValue, getValues } = (0, react_hook_form_1.useFormContext)();
|
|
12
|
+
const handleClick = () => {
|
|
13
|
+
const [fromChain, fromToken, toChain, toToken] = getValues([
|
|
14
|
+
providers_1.FormKey.FromChain,
|
|
15
|
+
providers_1.FormKey.FromToken,
|
|
16
|
+
providers_1.FormKey.ToChain,
|
|
17
|
+
providers_1.FormKey.ToToken,
|
|
18
|
+
]);
|
|
19
|
+
setValue(providers_1.FormKey.FromAmount, '', { shouldTouch: true });
|
|
20
|
+
setValue(providers_1.FormKey.FromChain, toChain, { shouldTouch: true });
|
|
21
|
+
setValue(providers_1.FormKey.FromToken, toToken, { shouldTouch: true });
|
|
22
|
+
setValue(providers_1.FormKey.ToChain, fromChain, { shouldTouch: true });
|
|
23
|
+
setValue(providers_1.FormKey.ToToken, fromToken, { shouldTouch: true });
|
|
24
|
+
};
|
|
25
|
+
return ((0, jsx_runtime_1.jsx)(ReverseTokensButton_style_1.IconButton, { onClick: handleClick, size: "small", children: vertical ? (0, jsx_runtime_1.jsx)(SwapVert_1.default, {}) : (0, jsx_runtime_1.jsx)(SwapHoriz_1.default, {}) }));
|
|
26
|
+
};
|
|
27
|
+
exports.ReverseTokensButton = ReverseTokensButton;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IconButton = void 0;
|
|
4
|
+
const material_1 = require("@mui/material");
|
|
5
|
+
const styles_1 = require("@mui/material/styles");
|
|
6
|
+
exports.IconButton = (0, styles_1.styled)(material_1.IconButton)(({ theme }) => ({
|
|
7
|
+
backgroundColor: theme.palette.background.paper,
|
|
8
|
+
border: `1px solid`,
|
|
9
|
+
borderColor: theme.palette.mode === 'light'
|
|
10
|
+
? theme.palette.grey[300]
|
|
11
|
+
: theme.palette.grey[800],
|
|
12
|
+
zIndex: 1100,
|
|
13
|
+
padding: theme.spacing(0.5),
|
|
14
|
+
'&:hover': {
|
|
15
|
+
backgroundColor: theme.palette.mode === 'light'
|
|
16
|
+
? (0, styles_1.darken)(theme.palette.background.paper, 0.02)
|
|
17
|
+
: (0, styles_1.lighten)(theme.palette.background.paper, 0.02),
|
|
18
|
+
},
|
|
19
|
+
}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ReverseTokensButton"), exports);
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RouteCard = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ExpandLess_1 = require("@mui/icons-material/ExpandLess");
|
|
6
|
+
const ExpandMore_1 = require("@mui/icons-material/ExpandMore");
|
|
7
|
+
const VerifiedUser_1 = require("@mui/icons-material/VerifiedUser");
|
|
8
|
+
const material_1 = require("@mui/material");
|
|
9
|
+
const react_1 = require("react");
|
|
10
|
+
const react_i18next_1 = require("react-i18next");
|
|
11
|
+
const providers_1 = require("../../providers");
|
|
12
|
+
const utils_1 = require("../../utils");
|
|
13
|
+
const Card_1 = require("../Card");
|
|
14
|
+
const StepActions_1 = require("../StepActions");
|
|
15
|
+
const Token_1 = require("../Token");
|
|
16
|
+
const RouteCardEssentials_1 = require("./RouteCardEssentials");
|
|
17
|
+
const RouteCard = ({ route, active, variant = 'default', expanded, ...other }) => {
|
|
18
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
19
|
+
const { subvariant } = (0, providers_1.useWidgetConfig)();
|
|
20
|
+
const [cardExpanded, setCardExpanded] = (0, react_1.useState)(expanded);
|
|
21
|
+
const insurable = route.insurance?.state === 'INSURABLE';
|
|
22
|
+
const handleExpand = (e) => {
|
|
23
|
+
e.stopPropagation();
|
|
24
|
+
setCardExpanded((expanded) => !expanded);
|
|
25
|
+
};
|
|
26
|
+
const token = subvariant === 'nft'
|
|
27
|
+
? { ...route.fromToken, amount: BigInt(route.fromAmount) }
|
|
28
|
+
: { ...route.toToken, amount: BigInt(route.toAmount) };
|
|
29
|
+
const RecommendedTagTooltip = route.tags?.[0] === 'RECOMMENDED' ? RecommendedTooltip : react_1.Fragment;
|
|
30
|
+
const cardContent = ((0, jsx_runtime_1.jsxs)(material_1.Box, { flex: 1, children: [subvariant !== 'refuel' && (insurable || route.tags?.length) ? ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", mb: 2, children: [insurable ? ((0, jsx_runtime_1.jsx)(InsuranceTooltip, { insuredAmount: (0, utils_1.formatTokenAmount)(BigInt(route.toAmountMin), route.toToken.decimals), insuredTokenSymbol: route.toToken.symbol, children: (0, jsx_runtime_1.jsxs)(Card_1.CardLabel, { type: route.tags?.length && !cardExpanded
|
|
31
|
+
? 'insurance-icon'
|
|
32
|
+
: 'insurance', children: [(0, jsx_runtime_1.jsx)(VerifiedUser_1.default, { fontSize: "inherit" }), cardExpanded || !route.tags?.length ? ((0, jsx_runtime_1.jsx)(Card_1.CardLabelTypography, { type: "icon", children: t(`main.tags.insurable`) })) : null] }) })) : null, route.tags?.length ? ((0, jsx_runtime_1.jsx)(RecommendedTagTooltip, { children: (0, jsx_runtime_1.jsx)(Card_1.CardLabel, { type: active ? 'active' : undefined, children: (0, jsx_runtime_1.jsx)(Card_1.CardLabelTypography, { children: t(`main.tags.${route.tags[0].toLowerCase()}`) }) }) })) : null] })) : null, (0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", justifyContent: "space-between", alignItems: "start", children: [(0, jsx_runtime_1.jsx)(Token_1.Token, { token: token, step: !cardExpanded ? route.steps[0] : undefined }), !expanded ? ((0, jsx_runtime_1.jsx)(Card_1.CardIconButton, { onClick: handleExpand, size: "small", children: cardExpanded ? (0, jsx_runtime_1.jsx)(ExpandLess_1.default, {}) : (0, jsx_runtime_1.jsx)(ExpandMore_1.default, {}) })) : null] }), (0, jsx_runtime_1.jsx)(material_1.Collapse, { timeout: 225, in: cardExpanded, mountOnEnter: true, unmountOnExit: true, children: route.steps.map((step) => ((0, jsx_runtime_1.jsx)(StepActions_1.StepActions, { step: step, mt: 2 }, step.id))) }), (0, jsx_runtime_1.jsx)(RouteCardEssentials_1.RouteCardEssentials, { route: route })] }));
|
|
33
|
+
return subvariant === 'refuel' || variant === 'cardless' ? (cardContent) : ((0, jsx_runtime_1.jsx)(Card_1.Card, { variant: active ? 'selected' : 'default', selectionColor: "secondary", indented: true, ...other, children: cardContent }));
|
|
34
|
+
};
|
|
35
|
+
exports.RouteCard = RouteCard;
|
|
36
|
+
const InsuranceTooltip = ({ insuredAmount, insuredTokenSymbol, children }) => {
|
|
37
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
38
|
+
return ((0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: (0, jsx_runtime_1.jsxs)(material_1.Box, { component: "span", children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 12, fontWeight: "500", children: (0, jsx_runtime_1.jsx)(react_i18next_1.Trans, { i18nKey: "insurance.insure", values: {
|
|
39
|
+
amount: insuredAmount,
|
|
40
|
+
tokenSymbol: insuredTokenSymbol,
|
|
41
|
+
}, components: [(0, jsx_runtime_1.jsx)("strong", {})] }) }), (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
|
|
42
|
+
listStyleType: 'disc',
|
|
43
|
+
pl: 2,
|
|
44
|
+
}, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 12, fontWeight: "500", display: "list-item", children: t('insurance.bridgeExploits') }), (0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 12, fontWeight: "500", display: "list-item", children: t('insurance.slippageError') })] })] }), placement: "top", enterDelay: 400, arrow: true, children: children }));
|
|
45
|
+
};
|
|
46
|
+
const RecommendedTooltip = ({ children, }) => {
|
|
47
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
48
|
+
return ((0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: t('tooltip.recommended'), placement: "top", enterDelay: 400, arrow: true, children: children }));
|
|
49
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IconTypography = void 0;
|
|
4
|
+
const material_1 = require("@mui/material");
|
|
5
|
+
const styles_1 = require("@mui/material/styles");
|
|
6
|
+
exports.IconTypography = (0, styles_1.styled)(material_1.Typography)(({ theme }) => ({
|
|
7
|
+
color: theme.palette.mode === 'light'
|
|
8
|
+
? (0, styles_1.alpha)(theme.palette.common.black, 0.24)
|
|
9
|
+
: (0, styles_1.alpha)(theme.palette.common.white, 0.32),
|
|
10
|
+
lineHeight: 0,
|
|
11
|
+
marginRight: theme.spacing(0.5),
|
|
12
|
+
}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RouteCardEssentials = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const AccessTimeFilled_1 = require("@mui/icons-material/AccessTimeFilled");
|
|
6
|
+
const EvStation_1 = require("@mui/icons-material/EvStation");
|
|
7
|
+
const Layers_1 = require("@mui/icons-material/Layers");
|
|
8
|
+
const MonetizationOn_1 = require("@mui/icons-material/MonetizationOn");
|
|
9
|
+
const material_1 = require("@mui/material");
|
|
10
|
+
const react_i18next_1 = require("react-i18next");
|
|
11
|
+
const viem_1 = require("viem");
|
|
12
|
+
const RouteCard_style_1 = require("./RouteCard.style");
|
|
13
|
+
const utils_1 = require("./utils");
|
|
14
|
+
const RouteCardEssentials = ({ route, dense, }) => {
|
|
15
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
16
|
+
const executionTimeMinutes = Math.ceil(route.steps
|
|
17
|
+
.map((step) => step.estimate.executionDuration)
|
|
18
|
+
.reduce((duration, x) => duration + x, 0) / 60);
|
|
19
|
+
const gasCostUSD = parseFloat(route.gasCostUSD ?? '') || 0.01;
|
|
20
|
+
const gasCosts = (0, utils_1.getGasCostsBreakdown)(route);
|
|
21
|
+
const feeCosts = (0, utils_1.getFeeCostsBreakdown)(route, false);
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", justifyContent: 'space-between', flex: 1, mt: 2, children: [(0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: (0, jsx_runtime_1.jsxs)(material_1.Box, { component: "span", children: [t(`tooltip.estimatedNetworkFee`), gasCosts.map((gas, index) => ((0, jsx_runtime_1.jsxs)(material_1.Typography, { fontSize: 12, fontWeight: "500", children: [parseFloat((0, viem_1.formatUnits)(gas.amount, gas.token.decimals))?.toFixed(9), ' ', gas.token.symbol, " (", t(`format.currency`, { value: gas.amountUSD }), ")"] }, `${gas.token.address}${index}`)))] }), placement: "top", enterDelay: 400, arrow: true, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", mr: dense ? 0 : 2, children: [(0, jsx_runtime_1.jsx)(RouteCard_style_1.IconTypography, { children: (0, jsx_runtime_1.jsx)(EvStation_1.default, { fontSize: "small" }) }), (0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 14, color: "text.primary", fontWeight: "500", lineHeight: 1, children: t(`format.currency`, { value: gasCostUSD }) })] }) }), (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: (0, jsx_runtime_1.jsxs)(material_1.Box, { component: "span", children: [t(`tooltip.additionalProviderFee`), feeCosts.map((fee, index) => ((0, jsx_runtime_1.jsxs)(material_1.Typography, { fontSize: 12, fontWeight: "500", children: [parseFloat((0, viem_1.formatUnits)(fee.amount, fee.token.decimals))?.toFixed(9), ' ', fee.token.symbol, " (", t(`format.currency`, { value: fee.amountUSD }), ")"] }, `${fee.token.address}${index}`)))] }), placement: "top", enterDelay: 400, arrow: true, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", mr: dense ? 0 : 2, children: [(0, jsx_runtime_1.jsx)(RouteCard_style_1.IconTypography, { children: (0, jsx_runtime_1.jsx)(MonetizationOn_1.default, { fontSize: "small" }) }), (0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 14, color: "text.primary", fontWeight: "500", lineHeight: 1, children: t(`format.currency`, {
|
|
23
|
+
value: feeCosts.reduce((sum, feeCost) => sum + feeCost.amountUSD, 0),
|
|
24
|
+
}) })] }) }), (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: t(`tooltip.estimatedTime`), placement: "top", enterDelay: 400, arrow: true, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", mr: dense ? 0 : 2, children: [(0, jsx_runtime_1.jsx)(RouteCard_style_1.IconTypography, { children: (0, jsx_runtime_1.jsx)(AccessTimeFilled_1.default, { fontSize: "small" }) }), (0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 14, color: "text.primary", fontWeight: "500", lineHeight: 1, children: t('main.estimatedTime', {
|
|
25
|
+
value: executionTimeMinutes,
|
|
26
|
+
}) })] }) }), (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: t(`tooltip.numberOfSteps`), placement: "top", enterDelay: 400, arrow: true, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", children: [(0, jsx_runtime_1.jsx)(RouteCard_style_1.IconTypography, { children: (0, jsx_runtime_1.jsx)(Layers_1.default, { fontSize: "small" }) }), (0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 14, color: "text.primary", fontWeight: "500", lineHeight: 1, children: route.steps.length })] }) })] }));
|
|
27
|
+
};
|
|
28
|
+
exports.RouteCardEssentials = RouteCardEssentials;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RouteCardSkeleton = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const material_1 = require("@mui/material");
|
|
6
|
+
const providers_1 = require("../../providers");
|
|
7
|
+
const Card_1 = require("../Card");
|
|
8
|
+
const RouteCardSkeleton = ({ variant, ...other }) => {
|
|
9
|
+
const { subvariant } = (0, providers_1.useWidgetConfig)();
|
|
10
|
+
const cardContent = ((0, jsx_runtime_1.jsxs)(material_1.Box, { flex: 1, children: [subvariant !== 'refuel' && subvariant !== 'nft' ? ((0, jsx_runtime_1.jsx)(material_1.Box, { display: "flex", alignItems: "center", mb: 2, children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "rectangular", width: 112, height: 24, sx: (theme) => ({
|
|
11
|
+
borderRadius: `${theme.shape.borderRadius}px`,
|
|
12
|
+
}) }) })) : null, (0, jsx_runtime_1.jsxs)(material_1.Box, { children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", children: [(0, jsx_runtime_1.jsx)(material_1.Box, { mr: 2, children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "circular", width: 32, height: 32 }) }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", width: 96, height: 32 })] }), (0, jsx_runtime_1.jsxs)(material_1.Box, { ml: 6, display: "flex", alignItems: "center", children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", width: 102, height: 16 }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", width: 72, height: 16, sx: { marginLeft: 1 } })] })] }), (0, jsx_runtime_1.jsxs)(material_1.Box, { mt: 2, display: "flex", justifyContent: "space-between", children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", width: 64, height: 20 }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", width: 64, height: 20 }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", width: 48, height: 20 }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", width: 32, height: 20 })] })] }));
|
|
13
|
+
return subvariant === 'refuel' || variant === 'cardless' ? (cardContent) : ((0, jsx_runtime_1.jsx)(Card_1.Card, { indented: true, ...other, children: cardContent }));
|
|
14
|
+
};
|
|
15
|
+
exports.RouteCardSkeleton = RouteCardSkeleton;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RouteNotFoundCard = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const Route_1 = require("@mui/icons-material/Route");
|
|
6
|
+
const material_1 = require("@mui/material");
|
|
7
|
+
const react_i18next_1 = require("react-i18next");
|
|
8
|
+
const RouteNotFoundCard = () => {
|
|
9
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
|
|
11
|
+
display: 'flex',
|
|
12
|
+
alignItems: 'center',
|
|
13
|
+
justifyContent: 'center',
|
|
14
|
+
flexDirection: 'column',
|
|
15
|
+
flex: 1,
|
|
16
|
+
}, py: 1.625, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 48, children: (0, jsx_runtime_1.jsx)(Route_1.default, { fontSize: "inherit" }) }), (0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 18, fontWeight: 700, children: t('info.title.routeNotFound') }), (0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 14, color: "text.secondary", textAlign: "center", mt: 2, children: t('info.message.routeNotFound') })] }));
|
|
17
|
+
};
|
|
18
|
+
exports.RouteNotFoundCard = RouteNotFoundCard;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./RouteCard"), exports);
|
|
18
|
+
__exportStar(require("./RouteCardSkeleton"), exports);
|
|
19
|
+
__exportStar(require("./RouteNotFoundCard"), exports);
|