@lifi/widget 3.7.0-beta.0 → 3.7.0-beta.10
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/CHANGELOG.md +22 -0
- package/README.md +12 -0
- package/package.json +19 -33
- package/src/App.tsx +45 -0
- package/src/AppDefault.tsx +33 -0
- package/src/AppDrawer.style.tsx +12 -0
- package/src/AppDrawer.tsx +96 -0
- package/src/AppDrawerContext.ts +9 -0
- package/src/AppProvider.tsx +51 -0
- package/src/AppRoutes.tsx +112 -0
- package/src/components/ActiveTransactions/ActiveTransactionItem.tsx +98 -0
- package/src/components/ActiveTransactions/ActiveTransactions.style.ts +39 -0
- package/src/components/ActiveTransactions/ActiveTransactions.tsx +42 -0
- package/src/components/AlertMessage/AlertMessage.style.tsx +42 -0
- package/src/components/AlertMessage/AlertMessage.tsx +34 -0
- package/src/components/AlertMessage/types.ts +1 -0
- package/src/components/AmountInput/AmountInput.style.tsx +45 -0
- package/src/components/AmountInput/AmountInput.tsx +129 -0
- package/src/components/AmountInput/AmountInputAdornment.style.tsx +14 -0
- package/src/components/AmountInput/AmountInputEndAdornment.tsx +61 -0
- package/src/components/AmountInput/AmountInputStartAdornment.tsx +26 -0
- package/src/components/AmountInput/PriceFormHelperText.tsx +82 -0
- package/src/components/AppContainer.tsx +139 -0
- package/src/components/Avatar/AccountAvatar.tsx +61 -0
- package/src/components/Avatar/Avatar.style.tsx +72 -0
- package/src/components/Avatar/Avatar.tsx +46 -0
- package/src/components/Avatar/SmallAvatar.tsx +16 -0
- package/src/components/Avatar/TokenAvatar.tsx +77 -0
- package/src/components/Avatar/utils.ts +11 -0
- package/src/components/BaseTransactionButton/BaseTransactionButton.tsx +54 -0
- package/src/components/BaseTransactionButton/types.ts +6 -0
- package/src/components/BottomSheet/BottomSheet.tsx +54 -0
- package/src/components/BottomSheet/types.ts +13 -0
- package/src/components/ButtonTertiary.tsx +19 -0
- package/src/components/Card/Card.tsx +54 -0
- package/src/components/Card/CardButton.style.tsx +35 -0
- package/src/components/Card/CardButton.tsx +26 -0
- package/src/components/Card/CardHeader.tsx +26 -0
- package/src/components/Card/CardIconButton.tsx +16 -0
- package/src/components/Card/CardLabel.tsx +56 -0
- package/src/components/Card/CardTitle.tsx +16 -0
- package/src/components/Card/InputCard.tsx +7 -0
- package/src/components/ChainSelect/ChainSelect.style.tsx +17 -0
- package/src/components/ChainSelect/ChainSelect.tsx +99 -0
- package/src/components/ChainSelect/useChainSelect.ts +73 -0
- package/src/components/ContractComponent/ContractComponent.tsx +14 -0
- package/src/components/ContractComponent/ItemPrice.tsx +33 -0
- package/src/components/ContractComponent/NFT/NFT.style.ts +8 -0
- package/src/components/ContractComponent/NFT/NFT.tsx +41 -0
- package/src/components/ContractComponent/NFT/NFTBase.tsx +64 -0
- package/src/components/ContractComponent/NFT/types.ts +19 -0
- package/src/components/Dialog.tsx +51 -0
- package/src/components/FeeBreakdownTooltip.tsx +63 -0
- package/src/components/FullPageContainer.tsx +14 -0
- package/src/components/GasMessage/FundsSufficiencyMessage.tsx +20 -0
- package/src/components/GasMessage/GasMessage.style.ts +21 -0
- package/src/components/GasMessage/GasMessage.tsx +35 -0
- package/src/components/GasMessage/GasRefuelMessage.tsx +67 -0
- package/src/components/GasMessage/GasSufficiencyMessage.tsx +43 -0
- package/src/components/Header/BackButton.tsx +17 -0
- package/src/components/Header/CloseDrawerButton.tsx +30 -0
- package/src/components/Header/DisconnectIconButton.tsx +18 -0
- package/src/components/Header/Header.style.ts +100 -0
- package/src/components/Header/Header.tsx +59 -0
- package/src/components/Header/NavigationHeader.tsx +80 -0
- package/src/components/Header/NavigationTabs.tsx +35 -0
- package/src/components/Header/SettingsButton.style.tsx +50 -0
- package/src/components/Header/SettingsButton.tsx +46 -0
- package/src/components/Header/TransactionHistoryButton.tsx +21 -0
- package/src/components/Header/WalletHeader.tsx +166 -0
- package/src/components/Header/WalletMenu.style.tsx +31 -0
- package/src/components/Header/WalletMenu.tsx +111 -0
- package/src/components/IconTypography.ts +9 -0
- package/src/components/Initializer.tsx +6 -0
- package/src/components/Input.tsx +11 -0
- package/src/components/ListItem/ListItem.tsx +26 -0
- package/src/components/ListItem/ListItemButton.tsx +9 -0
- package/src/components/ListItemButton.tsx +17 -0
- package/src/components/ListItemText.tsx +11 -0
- package/src/components/Menu.tsx +27 -0
- package/src/components/NotFound.tsx +34 -0
- package/src/components/PageContainer.ts +27 -0
- package/src/components/PageEntered.ts +14 -0
- package/src/components/PoweredBy/PoweredBy.style.ts +10 -0
- package/src/components/PoweredBy/PoweredBy.tsx +39 -0
- package/src/components/ProgressToNextUpdate.tsx +92 -0
- package/src/components/ReverseTokensButton/ReverseTokensButton.style.tsx +31 -0
- package/src/components/ReverseTokensButton/ReverseTokensButton.tsx +44 -0
- package/src/components/RouteCard/RouteCard.style.ts +8 -0
- package/src/components/RouteCard/RouteCard.tsx +102 -0
- package/src/components/RouteCard/RouteCardEssentials.tsx +76 -0
- package/src/components/RouteCard/RouteCardEssentialsExpanded.tsx +38 -0
- package/src/components/RouteCard/RouteCardSkeleton.tsx +42 -0
- package/src/components/RouteCard/RouteNotFoundCard.tsx +34 -0
- package/src/components/RouteCard/types.ts +16 -0
- package/src/components/Routes/Routes.tsx +80 -0
- package/src/components/Routes/RoutesExpanded.style.ts +64 -0
- package/src/components/Routes/RoutesExpanded.tsx +174 -0
- package/src/components/Search/SearchInput.style.tsx +46 -0
- package/src/components/Search/SearchInput.tsx +57 -0
- package/src/components/Search/SearchNotFound.style.tsx +36 -0
- package/src/components/Search/SearchNotFound.tsx +23 -0
- package/src/components/Select.tsx +32 -0
- package/src/components/SelectChainAndToken.tsx +58 -0
- package/src/components/SelectTokenButton/SelectTokenButton.style.tsx +88 -0
- package/src/components/SelectTokenButton/SelectTokenButton.tsx +99 -0
- package/src/components/SendToWallet/SendToWallet.style.tsx +34 -0
- package/src/components/SendToWallet/SendToWalletButton.tsx +158 -0
- package/src/components/SendToWallet/SendToWalletExpandButton.tsx +58 -0
- package/src/components/SettingsListItemButton.tsx +8 -0
- package/src/components/Skeleton/WidgetSkeleton.style.tsx +83 -0
- package/src/components/Skeleton/WidgetSkeleton.tsx +135 -0
- package/src/components/Step/CircularProgress.style.tsx +86 -0
- package/src/components/Step/CircularProgress.tsx +58 -0
- package/src/components/Step/DestinationWalletAddress.tsx +53 -0
- package/src/components/Step/Step.tsx +110 -0
- package/src/components/Step/StepList.tsx +54 -0
- package/src/components/Step/StepProcess.tsx +67 -0
- package/src/components/Step/StepTimer.tsx +123 -0
- package/src/components/StepActions/StepActions.style.tsx +73 -0
- package/src/components/StepActions/StepActions.tsx +338 -0
- package/src/components/StepActions/StepFees.tsx +44 -0
- package/src/components/StepActions/types.ts +23 -0
- package/src/components/StepDivider/StepDivider.style.tsx +8 -0
- package/src/components/StepDivider/StepDivider.tsx +10 -0
- package/src/components/Switch.tsx +59 -0
- package/src/components/Tabs/Tabs.style.tsx +53 -0
- package/src/components/TextFitter/TextFitter.tsx +87 -0
- package/src/components/TextFitter/types.ts +13 -0
- package/src/components/ToAddressRequiredMessage.tsx +38 -0
- package/src/components/Token/Token.style.tsx +30 -0
- package/src/components/Token/Token.tsx +247 -0
- package/src/components/TokenList/TokenList.style.tsx +30 -0
- package/src/components/TokenList/TokenList.tsx +99 -0
- package/src/components/TokenList/TokenListItem.tsx +223 -0
- package/src/components/TokenList/TokenNotFound.tsx +20 -0
- package/src/components/TokenList/VirtualizedTokenList.tsx +150 -0
- package/src/components/TokenList/types.ts +47 -0
- package/src/components/TokenList/useTokenSelect.ts +91 -0
- package/src/components/TokenList/utils.ts +42 -0
- package/src/components/TokenRate/TokenRate.style.ts +17 -0
- package/src/components/TokenRate/TokenRate.tsx +70 -0
- package/src/components/TransactionDetails.tsx +215 -0
- package/src/config/coinbase.ts +7 -0
- package/src/config/constants.ts +3 -0
- package/src/config/metaMask.ts +13 -0
- package/src/config/queryClient.ts +21 -0
- package/src/config/version.ts +2 -0
- package/src/config/walletConnect.ts +5 -0
- package/src/hooks/timer/useInterval.ts +21 -0
- package/src/hooks/timer/useTimer.ts +93 -0
- package/src/hooks/timer/utils.ts +54 -0
- package/src/hooks/useAddressValidation.ts +89 -0
- package/src/hooks/useAvailableChains.ts +57 -0
- package/src/hooks/useChain.ts +13 -0
- package/src/hooks/useChains.ts +34 -0
- package/src/hooks/useDebouncedWatch.ts +32 -0
- package/src/hooks/useDefaultElementId.ts +6 -0
- package/src/hooks/useExplorer.ts +68 -0
- package/src/hooks/useFromTokenSufficiency.ts +87 -0
- package/src/hooks/useGasRecommendation.ts +46 -0
- package/src/hooks/useGasRefuel.ts +72 -0
- package/src/hooks/useGasSufficiency.ts +145 -0
- package/src/hooks/useHeader.ts +18 -0
- package/src/hooks/useInitializer.ts +16 -0
- package/src/hooks/useLanguages.ts +31 -0
- package/src/hooks/useNavigateBack.ts +26 -0
- package/src/hooks/useProcessMessage.ts +236 -0
- package/src/hooks/useRouteExecution.ts +208 -0
- package/src/hooks/useRoutes.ts +395 -0
- package/src/hooks/useScrollableContainer.ts +42 -0
- package/src/hooks/useSetContentHeight.ts +28 -0
- package/src/hooks/useSettingMonitor.ts +78 -0
- package/src/hooks/useSwapOnly.ts +6 -0
- package/src/hooks/useToAddressRequirements.ts +23 -0
- package/src/hooks/useToAddressReset.ts +38 -0
- package/src/hooks/useToken.ts +23 -0
- package/src/hooks/useTokenAddressBalance.ts +27 -0
- package/src/hooks/useTokenBalance.ts +129 -0
- package/src/hooks/useTokenBalances.ts +93 -0
- package/src/hooks/useTokenSearch.ts +45 -0
- package/src/hooks/useTokens.ts +122 -0
- package/src/hooks/useTools.ts +43 -0
- package/src/hooks/useTransactionDetails.ts +76 -0
- package/src/hooks/useTransactionHistory.ts +69 -0
- package/src/hooks/useWideVariant.ts +13 -0
- package/src/hooks/useWidgetEvents.ts +12 -0
- package/src/i18n/en.json +315 -0
- package/src/i18n/i18next.d.ts +14 -0
- package/src/i18n/index.ts +17 -0
- package/src/icons/lifi.ts +2 -0
- package/src/index.ts +24 -0
- package/src/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.tsx +34 -0
- package/src/pages/ActiveTransactionsPage/ActiveTransactionsPage.tsx +95 -0
- package/src/pages/LanguagesPage.tsx +43 -0
- package/src/pages/MainPage/MainMessages.tsx +17 -0
- package/src/pages/MainPage/MainPage.style.tsx +8 -0
- package/src/pages/MainPage/MainPage.tsx +59 -0
- package/src/pages/MainPage/ReviewButton.tsx +71 -0
- package/src/pages/RoutesPage/RoutesPage.style.ts +6 -0
- package/src/pages/RoutesPage/RoutesPage.tsx +87 -0
- package/src/pages/SelectChainPage/SelectChainPage.tsx +95 -0
- package/src/pages/SelectChainPage/types.ts +5 -0
- package/src/pages/SelectEnabledToolsPage.tsx +179 -0
- package/src/pages/SelectNativeTokenPage.tsx +47 -0
- package/src/pages/SelectTokenPage/SearchTokenInput.style.tsx +6 -0
- package/src/pages/SelectTokenPage/SearchTokenInput.tsx +30 -0
- package/src/pages/SelectTokenPage/SelectTokenPage.tsx +60 -0
- package/src/pages/SelectTokenPage/types.ts +4 -0
- package/src/pages/SelectTokenPage/useTokenListHeight.ts +108 -0
- package/src/pages/SendToWallet/BookmarkAddressSheet.tsx +229 -0
- package/src/pages/SendToWallet/BookmarksPage.tsx +201 -0
- package/src/pages/SendToWallet/ConfirmAddressSheet.tsx +85 -0
- package/src/pages/SendToWallet/ConnectedWalletsPage.tsx +172 -0
- package/src/pages/SendToWallet/EmptyListIndicator.tsx +18 -0
- package/src/pages/SendToWallet/RecentWalletsPage.tsx +221 -0
- package/src/pages/SendToWallet/SendToConfiguredWalletPage.tsx +155 -0
- package/src/pages/SendToWallet/SendToWalletPage.style.tsx +162 -0
- package/src/pages/SendToWallet/SendToWalletPage.tsx +286 -0
- package/src/pages/SendToWallet/types.ts +4 -0
- package/src/pages/SettingsPage/BridgeAndExchangeSettings.tsx +50 -0
- package/src/pages/SettingsPage/GasPriceSettings.tsx +47 -0
- package/src/pages/SettingsPage/LanguageSetting.tsx +34 -0
- package/src/pages/SettingsPage/ResetSettingsButton.style.tsx +12 -0
- package/src/pages/SettingsPage/ResetSettingsButton.tsx +66 -0
- package/src/pages/SettingsPage/RoutePrioritySettings.tsx +58 -0
- package/src/pages/SettingsPage/SettingsCard/BadgedValue.tsx +22 -0
- package/src/pages/SettingsPage/SettingsCard/SettingCard.style.tsx +21 -0
- package/src/pages/SettingsPage/SettingsCard/SettingCardExpandable.tsx +51 -0
- package/src/pages/SettingsPage/SettingsCard/SettingsAccordian.tsx +44 -0
- package/src/pages/SettingsPage/SettingsCard/types.ts +6 -0
- package/src/pages/SettingsPage/SettingsPage.tsx +34 -0
- package/src/pages/SettingsPage/SlippageSettings/SlippageSettings.style.tsx +96 -0
- package/src/pages/SettingsPage/SlippageSettings/SlippageSettings.tsx +116 -0
- package/src/pages/SettingsPage/ThemeSettings.tsx +83 -0
- package/src/pages/TransactionDetailsPage/ContactSupportButton.tsx +32 -0
- package/src/pages/TransactionDetailsPage/TransactionDetailsPage.tsx +119 -0
- package/src/pages/TransactionDetailsPage/TransactionDetailsSkeleton.tsx +70 -0
- package/src/pages/TransactionDetailsPage/TransferIdCard.tsx +67 -0
- package/src/pages/TransactionHistoryPage/TransactionHistoryEmpty.tsx +34 -0
- package/src/pages/TransactionHistoryPage/TransactionHistoryItem.tsx +99 -0
- package/src/pages/TransactionHistoryPage/TransactionHistoryPage.tsx +70 -0
- package/src/pages/TransactionHistoryPage/TransactionHistorySkeleton.tsx +48 -0
- package/src/pages/TransactionHistoryPage/constants.ts +1 -0
- package/src/pages/TransactionPage/ExchangeRateBottomSheet.tsx +158 -0
- package/src/pages/TransactionPage/RouteTracker.tsx +68 -0
- package/src/pages/TransactionPage/StartTransactionButton.tsx +29 -0
- package/src/pages/TransactionPage/StatusBottomSheet.style.tsx +62 -0
- package/src/pages/TransactionPage/StatusBottomSheet.tsx +322 -0
- package/src/pages/TransactionPage/TokenValueBottomSheet.tsx +117 -0
- package/src/pages/TransactionPage/TransactionPage.tsx +228 -0
- package/src/pages/TransactionPage/types.ts +7 -0
- package/src/pages/TransactionPage/utils.ts +25 -0
- package/src/providers/I18nProvider/I18nProvider.tsx +73 -0
- package/src/providers/I18nProvider/currencyExtendedFormatter.ts +15 -0
- package/src/providers/I18nProvider/percentFormatter.ts +18 -0
- package/src/providers/I18nProvider/types.ts +27 -0
- package/src/providers/ThemeProvider/ThemeProvider.tsx +42 -0
- package/src/providers/WalletProvider/EVMBaseProvider.tsx +38 -0
- package/src/providers/WalletProvider/EVMExternalContext.ts +3 -0
- package/src/providers/WalletProvider/EVMProvider.tsx +26 -0
- package/src/providers/WalletProvider/SDKProviders.tsx +69 -0
- package/src/providers/WalletProvider/SVMBaseProvider.tsx +33 -0
- package/src/providers/WalletProvider/SVMExternalContext.ts +3 -0
- package/src/providers/WalletProvider/SVMProvider.tsx +27 -0
- package/src/providers/WalletProvider/UTXOBaseProvider.tsx +28 -0
- package/src/providers/WalletProvider/UTXOExternalContext.ts +3 -0
- package/src/providers/WalletProvider/UTXOProvider.tsx +26 -0
- package/src/providers/WalletProvider/WalletProvider.tsx +36 -0
- package/src/providers/WalletProvider/useHasExternalWalletProvider.ts +36 -0
- package/src/providers/WidgetProvider/WidgetProvider.tsx +76 -0
- package/src/providers/WidgetProvider/types.ts +9 -0
- package/src/providers/WidgetProvider/utils.ts +26 -0
- package/src/stores/StoreProvider.tsx +36 -0
- package/src/stores/bookmarks/BookmarkStore.tsx +41 -0
- package/src/stores/bookmarks/createBookmarkStore.ts +81 -0
- package/src/stores/bookmarks/types.ts +27 -0
- package/src/stores/bookmarks/useBookmarkActions.ts +20 -0
- package/src/stores/bookmarks/useBookmarks.ts +16 -0
- package/src/stores/chains/ChainOrderStore.tsx +77 -0
- package/src/stores/chains/createChainOrderStore.ts +87 -0
- package/src/stores/chains/types.ts +17 -0
- package/src/stores/chains/useChainOrder.ts +12 -0
- package/src/stores/form/FormStore.tsx +143 -0
- package/src/stores/form/FormStoreContext.ts +4 -0
- package/src/stores/form/FormUpdater.tsx +91 -0
- package/src/stores/form/URLSearchParamsBuilder.tsx +87 -0
- package/src/stores/form/createFormStore.ts +232 -0
- package/src/stores/form/types.ts +110 -0
- package/src/stores/form/useFieldActions.ts +20 -0
- package/src/stores/form/useFieldController.ts +31 -0
- package/src/stores/form/useFieldValues.ts +14 -0
- package/src/stores/form/useFormRef.ts +73 -0
- package/src/stores/form/useFormStore.ts +17 -0
- package/src/stores/form/useTouchedFields.ts +8 -0
- package/src/stores/form/useValidation.ts +15 -0
- package/src/stores/form/useValidationActions.ts +16 -0
- package/src/stores/header/types.ts +18 -0
- package/src/stores/header/useHeaderStore.tsx +99 -0
- package/src/stores/routes/RouteExecutionStore.tsx +46 -0
- package/src/stores/routes/createRouteExecutionStore.ts +164 -0
- package/src/stores/routes/types.ts +24 -0
- package/src/stores/routes/useExecutingRoutesIds.ts +27 -0
- package/src/stores/routes/useSetExecutableRoute.ts +5 -0
- package/src/stores/routes/utils.ts +61 -0
- package/src/stores/settings/types.ts +69 -0
- package/src/stores/settings/useAppearance.ts +17 -0
- package/src/stores/settings/useSendToWalletStore.ts +25 -0
- package/src/stores/settings/useSettings.ts +19 -0
- package/src/stores/settings/useSettingsStore.ts +212 -0
- package/src/stores/settings/useSplitSubvariantStore.tsx +64 -0
- package/src/stores/types.ts +7 -0
- package/src/themes/azureLight.ts +58 -0
- package/src/themes/createTheme.ts +414 -0
- package/src/themes/jumper.ts +37 -0
- package/src/themes/palettes.ts +52 -0
- package/src/themes/types.ts +65 -0
- package/src/themes/utils.ts +18 -0
- package/src/themes/watermelonLight.ts +64 -0
- package/src/themes/windows95.ts +101 -0
- package/src/types/events.ts +73 -0
- package/src/types/token.ts +6 -0
- package/src/types/widget.ts +293 -0
- package/src/utils/chainType.ts +26 -0
- package/src/utils/colors.ts +53 -0
- package/src/utils/converters.ts +226 -0
- package/src/utils/deepMerge.ts +14 -0
- package/src/utils/elements.ts +30 -0
- package/src/utils/enum.ts +2 -0
- package/src/utils/fees.ts +128 -0
- package/src/utils/format.ts +143 -0
- package/src/utils/input.ts +29 -0
- package/src/utils/item.ts +8 -0
- package/src/utils/navigationRoutes.ts +71 -0
- package/src/utils/wallet.ts +4 -0
- package/tsconfig.json +16 -0
- package/App.tsx +0 -47
- package/AppDefault.tsx +0 -33
- package/AppDrawer.style.tsx +0 -12
- package/AppDrawer.tsx +0 -96
- package/AppDrawerContext.ts +0 -9
- package/AppProvider.tsx +0 -49
- package/AppRoutes.tsx +0 -112
- package/_esm/App.d.ts +0 -3
- package/_esm/App.js +0 -26
- package/_esm/App.js.map +0 -1
- package/_esm/AppDefault.d.ts +0 -1
- package/_esm/AppDefault.js +0 -16
- package/_esm/AppDefault.js.map +0 -1
- package/_esm/AppDrawer.d.ts +0 -10
- package/_esm/AppDrawer.js +0 -50
- package/_esm/AppDrawer.js.map +0 -1
- package/_esm/AppDrawer.style.d.ts +0 -3
- package/_esm/AppDrawer.style.js +0 -12
- package/_esm/AppDrawer.style.js.map +0 -1
- package/_esm/AppDrawerContext.d.ts +0 -5
- package/_esm/AppDrawerContext.js +0 -4
- package/_esm/AppDrawerContext.js.map +0 -1
- package/_esm/AppProvider.d.ts +0 -4
- package/_esm/AppProvider.js +0 -21
- package/_esm/AppProvider.js.map +0 -1
- package/_esm/AppRoutes.d.ts +0 -1
- package/_esm/AppRoutes.js +0 -111
- package/_esm/AppRoutes.js.map +0 -1
- package/_esm/components/ActiveTransactions/ActiveTransactionItem.d.ts +0 -4
- package/_esm/components/ActiveTransactions/ActiveTransactionItem.js +0 -46
- package/_esm/components/ActiveTransactions/ActiveTransactionItem.js.map +0 -1
- package/_esm/components/ActiveTransactions/ActiveTransactions.d.ts +0 -2
- package/_esm/components/ActiveTransactions/ActiveTransactions.js +0 -24
- package/_esm/components/ActiveTransactions/ActiveTransactions.js.map +0 -1
- package/_esm/components/ActiveTransactions/ActiveTransactions.style.d.ts +0 -11
- package/_esm/components/ActiveTransactions/ActiveTransactions.style.js +0 -31
- package/_esm/components/ActiveTransactions/ActiveTransactions.style.js.map +0 -1
- package/_esm/components/AlertMessage/AlertMessage.d.ts +0 -11
- package/_esm/components/AlertMessage/AlertMessage.js +0 -4
- package/_esm/components/AlertMessage/AlertMessage.js.map +0 -1
- package/_esm/components/AlertMessage/AlertMessage.style.d.ts +0 -11
- package/_esm/components/AlertMessage/AlertMessage.style.js +0 -31
- package/_esm/components/AlertMessage/AlertMessage.style.js.map +0 -1
- package/_esm/components/AlertMessage/types.d.ts +0 -1
- package/_esm/components/AlertMessage/types.js +0 -2
- package/_esm/components/AlertMessage/types.js.map +0 -1
- package/_esm/components/AmountInput/AmountInput.d.ts +0 -12
- package/_esm/components/AmountInput/AmountInput.js +0 -50
- package/_esm/components/AmountInput/AmountInput.js.map +0 -1
- package/_esm/components/AmountInput/AmountInput.style.d.ts +0 -9
- package/_esm/components/AmountInput/AmountInput.style.js +0 -35
- package/_esm/components/AmountInput/AmountInput.style.js.map +0 -1
- package/_esm/components/AmountInput/AmountInputAdornment.style.d.ts +0 -6
- package/_esm/components/AmountInput/AmountInputAdornment.style.js +0 -13
- package/_esm/components/AmountInput/AmountInputAdornment.style.js.map +0 -1
- package/_esm/components/AmountInput/AmountInputEndAdornment.d.ts +0 -2
- package/_esm/components/AmountInput/AmountInputEndAdornment.js +0 -41
- package/_esm/components/AmountInput/AmountInputEndAdornment.js.map +0 -1
- package/_esm/components/AmountInput/AmountInputStartAdornment.d.ts +0 -2
- package/_esm/components/AmountInput/AmountInputStartAdornment.js +0 -15
- package/_esm/components/AmountInput/AmountInputStartAdornment.js.map +0 -1
- package/_esm/components/AmountInput/PriceFormHelperText.d.ts +0 -8
- package/_esm/components/AmountInput/PriceFormHelperText.js +0 -32
- package/_esm/components/AmountInput/PriceFormHelperText.js.map +0 -1
- package/_esm/components/AppContainer.d.ts +0 -16
- package/_esm/components/AppContainer.js +0 -87
- package/_esm/components/AppContainer.js.map +0 -1
- package/_esm/components/Avatar/AccountAvatar.d.ts +0 -10
- package/_esm/components/Avatar/AccountAvatar.js +0 -13
- package/_esm/components/Avatar/AccountAvatar.js.map +0 -1
- package/_esm/components/Avatar/Avatar.d.ts +0 -8
- package/_esm/components/Avatar/Avatar.js +0 -14
- package/_esm/components/Avatar/Avatar.js.map +0 -1
- package/_esm/components/Avatar/Avatar.style.d.ts +0 -16
- package/_esm/components/Avatar/Avatar.style.js +0 -57
- package/_esm/components/Avatar/Avatar.style.js.map +0 -1
- package/_esm/components/Avatar/SmallAvatar.d.ts +0 -4
- package/_esm/components/Avatar/SmallAvatar.js +0 -12
- package/_esm/components/Avatar/SmallAvatar.js.map +0 -1
- package/_esm/components/Avatar/TokenAvatar.d.ts +0 -19
- package/_esm/components/Avatar/TokenAvatar.js +0 -22
- package/_esm/components/Avatar/TokenAvatar.js.map +0 -1
- package/_esm/components/Avatar/utils.d.ts +0 -8
- package/_esm/components/Avatar/utils.js +0 -9
- package/_esm/components/Avatar/utils.js.map +0 -1
- package/_esm/components/BaseTransactionButton/BaseTransactionButton.d.ts +0 -2
- package/_esm/components/BaseTransactionButton/BaseTransactionButton.js +0 -36
- package/_esm/components/BaseTransactionButton/BaseTransactionButton.js.map +0 -1
- package/_esm/components/BaseTransactionButton/types.d.ts +0 -6
- package/_esm/components/BaseTransactionButton/types.js +0 -2
- package/_esm/components/BaseTransactionButton/types.js.map +0 -1
- package/_esm/components/BottomSheet/BottomSheet.d.ts +0 -2
- package/_esm/components/BottomSheet/BottomSheet.js +0 -25
- package/_esm/components/BottomSheet/BottomSheet.js.map +0 -1
- package/_esm/components/BottomSheet/types.d.ts +0 -11
- package/_esm/components/BottomSheet/types.js +0 -2
- package/_esm/components/BottomSheet/types.js.map +0 -1
- package/_esm/components/ButtonTertiary.d.ts +0 -3
- package/_esm/components/ButtonTertiary.js +0 -19
- package/_esm/components/ButtonTertiary.js.map +0 -1
- package/_esm/components/Card/Card.d.ts +0 -9
- package/_esm/components/Card/Card.js +0 -42
- package/_esm/components/Card/Card.js.map +0 -1
- package/_esm/components/Card/CardButton.d.ts +0 -7
- package/_esm/components/Card/CardButton.js +0 -5
- package/_esm/components/Card/CardButton.js.map +0 -1
- package/_esm/components/Card/CardButton.style.d.ts +0 -12
- package/_esm/components/Card/CardButton.style.js +0 -32
- package/_esm/components/Card/CardButton.style.js.map +0 -1
- package/_esm/components/Card/CardHeader.d.ts +0 -3
- package/_esm/components/Card/CardHeader.js +0 -22
- package/_esm/components/Card/CardHeader.js.map +0 -1
- package/_esm/components/Card/CardIconButton.d.ts +0 -6
- package/_esm/components/Card/CardIconButton.js +0 -13
- package/_esm/components/Card/CardIconButton.js.map +0 -1
- package/_esm/components/Card/CardLabel.d.ts +0 -10
- package/_esm/components/Card/CardLabel.js +0 -40
- package/_esm/components/Card/CardLabel.js.map +0 -1
- package/_esm/components/Card/CardTitle.d.ts +0 -5
- package/_esm/components/Card/CardTitle.js +0 -16
- package/_esm/components/Card/CardTitle.js.map +0 -1
- package/_esm/components/Card/InputCard.d.ts +0 -3
- package/_esm/components/Card/InputCard.js +0 -7
- package/_esm/components/Card/InputCard.js.map +0 -1
- package/_esm/components/ChainSelect/ChainSelect.d.ts +0 -2
- package/_esm/components/ChainSelect/ChainSelect.js +0 -43
- package/_esm/components/ChainSelect/ChainSelect.js.map +0 -1
- package/_esm/components/ChainSelect/ChainSelect.style.d.ts +0 -6
- package/_esm/components/ChainSelect/ChainSelect.style.js +0 -16
- package/_esm/components/ChainSelect/ChainSelect.style.js.map +0 -1
- package/_esm/components/ChainSelect/useChainSelect.d.ts +0 -10
- package/_esm/components/ChainSelect/useChainSelect.js +0 -63
- package/_esm/components/ChainSelect/useChainSelect.js.map +0 -1
- package/_esm/components/ContractComponent/ContractComponent.d.ts +0 -3
- package/_esm/components/ContractComponent/ContractComponent.js +0 -9
- package/_esm/components/ContractComponent/ContractComponent.js.map +0 -1
- package/_esm/components/ContractComponent/ItemPrice.d.ts +0 -7
- package/_esm/components/ContractComponent/ItemPrice.js +0 -23
- package/_esm/components/ContractComponent/ItemPrice.js.map +0 -1
- package/_esm/components/ContractComponent/NFT/NFT.d.ts +0 -2
- package/_esm/components/ContractComponent/NFT/NFT.js +0 -23
- package/_esm/components/ContractComponent/NFT/NFT.js.map +0 -1
- package/_esm/components/ContractComponent/NFT/NFT.style.d.ts +0 -3
- package/_esm/components/ContractComponent/NFT/NFT.style.js +0 -8
- package/_esm/components/ContractComponent/NFT/NFT.style.js.map +0 -1
- package/_esm/components/ContractComponent/NFT/NFTBase.d.ts +0 -2
- package/_esm/components/ContractComponent/NFT/NFTBase.js +0 -10
- package/_esm/components/ContractComponent/NFT/NFTBase.js.map +0 -1
- package/_esm/components/ContractComponent/NFT/types.d.ts +0 -16
- package/_esm/components/ContractComponent/NFT/types.js +0 -2
- package/_esm/components/ContractComponent/NFT/types.js.map +0 -1
- package/_esm/components/Dialog.d.ts +0 -19
- package/_esm/components/Dialog.js +0 -32
- package/_esm/components/Dialog.js.map +0 -1
- package/_esm/components/FeeBreakdownTooltip.d.ts +0 -10
- package/_esm/components/FeeBreakdownTooltip.js +0 -13
- package/_esm/components/FeeBreakdownTooltip.js.map +0 -1
- package/_esm/components/GasMessage/FundsSufficiencyMessage.d.ts +0 -1
- package/_esm/components/GasMessage/FundsSufficiencyMessage.js +0 -10
- package/_esm/components/GasMessage/FundsSufficiencyMessage.js.map +0 -1
- package/_esm/components/GasMessage/GasMessage.d.ts +0 -7
- package/_esm/components/GasMessage/GasMessage.js +0 -13
- package/_esm/components/GasMessage/GasMessage.js.map +0 -1
- package/_esm/components/GasMessage/GasMessage.style.d.ts +0 -1
- package/_esm/components/GasMessage/GasMessage.style.js +0 -19
- package/_esm/components/GasMessage/GasMessage.style.js.map +0 -1
- package/_esm/components/GasMessage/GasRefuelMessage.d.ts +0 -2
- package/_esm/components/GasMessage/GasRefuelMessage.js +0 -23
- package/_esm/components/GasMessage/GasRefuelMessage.js.map +0 -1
- package/_esm/components/GasMessage/GasSufficiencyMessage.d.ts +0 -6
- package/_esm/components/GasMessage/GasSufficiencyMessage.js +0 -15
- package/_esm/components/GasMessage/GasSufficiencyMessage.js.map +0 -1
- package/_esm/components/Header/BackButton.d.ts +0 -2
- package/_esm/components/Header/BackButton.js +0 -8
- package/_esm/components/Header/BackButton.js.map +0 -1
- package/_esm/components/Header/CloseDrawerButton.d.ts +0 -5
- package/_esm/components/Header/CloseDrawerButton.js +0 -17
- package/_esm/components/Header/CloseDrawerButton.js.map +0 -1
- package/_esm/components/Header/EVMDisconnectIconButton.d.ts +0 -4
- package/_esm/components/Header/EVMDisconnectIconButton.js +0 -13
- package/_esm/components/Header/EVMDisconnectIconButton.js.map +0 -1
- package/_esm/components/Header/Header.d.ts +0 -3
- package/_esm/components/Header/Header.js +0 -19
- package/_esm/components/Header/Header.js.map +0 -1
- package/_esm/components/Header/Header.style.d.ts +0 -23
- package/_esm/components/Header/Header.style.js +0 -86
- package/_esm/components/Header/Header.style.js.map +0 -1
- package/_esm/components/Header/NavigationHeader.d.ts +0 -1
- package/_esm/components/Header/NavigationHeader.js +0 -33
- package/_esm/components/Header/NavigationHeader.js.map +0 -1
- package/_esm/components/Header/NavigationTabs.d.ts +0 -1
- package/_esm/components/Header/NavigationTabs.js +0 -22
- package/_esm/components/Header/NavigationTabs.js.map +0 -1
- package/_esm/components/Header/SVMDisconnectIconButton.d.ts +0 -1
- package/_esm/components/Header/SVMDisconnectIconButton.js +0 -12
- package/_esm/components/Header/SVMDisconnectIconButton.js.map +0 -1
- package/_esm/components/Header/SettingsButton.d.ts +0 -1
- package/_esm/components/Header/SettingsButton.js +0 -23
- package/_esm/components/Header/SettingsButton.js.map +0 -1
- package/_esm/components/Header/SettingsButton.style.d.ts +0 -10
- package/_esm/components/Header/SettingsButton.style.js +0 -36
- package/_esm/components/Header/SettingsButton.style.js.map +0 -1
- package/_esm/components/Header/TransactionHistoryButton.d.ts +0 -1
- package/_esm/components/Header/TransactionHistoryButton.js +0 -12
- package/_esm/components/Header/TransactionHistoryButton.js.map +0 -1
- package/_esm/components/Header/UTXODisconnectIconButton.d.ts +0 -4
- package/_esm/components/Header/UTXODisconnectIconButton.js +0 -13
- package/_esm/components/Header/UTXODisconnectIconButton.js.map +0 -1
- package/_esm/components/Header/WalletHeader.d.ts +0 -3
- package/_esm/components/Header/WalletHeader.js +0 -63
- package/_esm/components/Header/WalletHeader.js.map +0 -1
- package/_esm/components/Header/WalletMenu.d.ts +0 -3
- package/_esm/components/Header/WalletMenu.js +0 -41
- package/_esm/components/Header/WalletMenu.js.map +0 -1
- package/_esm/components/Header/WalletMenu.style.d.ts +0 -1
- package/_esm/components/Header/WalletMenu.style.js +0 -25
- package/_esm/components/Header/WalletMenu.style.js.map +0 -1
- package/_esm/components/IconTypography.d.ts +0 -3
- package/_esm/components/IconTypography.js +0 -8
- package/_esm/components/IconTypography.js.map +0 -1
- package/_esm/components/Initializer.d.ts +0 -1
- package/_esm/components/Initializer.js +0 -6
- package/_esm/components/Initializer.js.map +0 -1
- package/_esm/components/Input.d.ts +0 -1
- package/_esm/components/Input.js +0 -11
- package/_esm/components/Input.js.map +0 -1
- package/_esm/components/ListItem/ListItem.d.ts +0 -5
- package/_esm/components/ListItem/ListItem.js +0 -21
- package/_esm/components/ListItem/ListItem.js.map +0 -1
- package/_esm/components/ListItem/ListItemButton.d.ts +0 -3
- package/_esm/components/ListItem/ListItemButton.js +0 -9
- package/_esm/components/ListItem/ListItemButton.js.map +0 -1
- package/_esm/components/ListItemButton.d.ts +0 -3
- package/_esm/components/ListItemButton.js +0 -15
- package/_esm/components/ListItemButton.js.map +0 -1
- package/_esm/components/ListItemText.d.ts +0 -1
- package/_esm/components/ListItemText.js +0 -7
- package/_esm/components/ListItemText.js.map +0 -1
- package/_esm/components/Menu.d.ts +0 -1
- package/_esm/components/Menu.js +0 -21
- package/_esm/components/Menu.js.map +0 -1
- package/_esm/components/NotFound.d.ts +0 -1
- package/_esm/components/NotFound.js +0 -16
- package/_esm/components/NotFound.js.map +0 -1
- package/_esm/components/PageContainer.d.ts +0 -8
- package/_esm/components/PageContainer.js +0 -12
- package/_esm/components/PageContainer.js.map +0 -1
- package/_esm/components/PoweredBy/PoweredBy.d.ts +0 -1
- package/_esm/components/PoweredBy/PoweredBy.js +0 -12
- package/_esm/components/PoweredBy/PoweredBy.js.map +0 -1
- package/_esm/components/PoweredBy/PoweredBy.style.d.ts +0 -3
- package/_esm/components/PoweredBy/PoweredBy.style.js +0 -10
- package/_esm/components/PoweredBy/PoweredBy.style.js.map +0 -1
- package/_esm/components/ProgressToNextUpdate.d.ts +0 -6
- package/_esm/components/ProgressToNextUpdate.js +0 -47
- package/_esm/components/ProgressToNextUpdate.js.map +0 -1
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.d.ts +0 -3
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.js +0 -26
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.js.map +0 -1
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +0 -9
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.js +0 -29
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.style.js.map +0 -1
- package/_esm/components/RouteCard/RouteCard.d.ts +0 -3
- package/_esm/components/RouteCard/RouteCard.js +0 -33
- package/_esm/components/RouteCard/RouteCard.js.map +0 -1
- package/_esm/components/RouteCard/RouteCard.style.d.ts +0 -3
- package/_esm/components/RouteCard/RouteCard.style.js +0 -8
- package/_esm/components/RouteCard/RouteCard.style.js.map +0 -1
- package/_esm/components/RouteCard/RouteCardEssentials.d.ts +0 -2
- package/_esm/components/RouteCard/RouteCardEssentials.js +0 -24
- package/_esm/components/RouteCard/RouteCardEssentials.js.map +0 -1
- package/_esm/components/RouteCard/RouteCardEssentialsExpanded.d.ts +0 -2
- package/_esm/components/RouteCard/RouteCardEssentialsExpanded.js +0 -10
- package/_esm/components/RouteCard/RouteCardEssentialsExpanded.js.map +0 -1
- package/_esm/components/RouteCard/RouteCardSkeleton.d.ts +0 -3
- package/_esm/components/RouteCard/RouteCardSkeleton.js +0 -13
- package/_esm/components/RouteCard/RouteCardSkeleton.js.map +0 -1
- package/_esm/components/RouteCard/RouteNotFoundCard.d.ts +0 -1
- package/_esm/components/RouteCard/RouteNotFoundCard.js +0 -15
- package/_esm/components/RouteCard/RouteNotFoundCard.js.map +0 -1
- package/_esm/components/RouteCard/types.d.ts +0 -13
- package/_esm/components/RouteCard/types.js +0 -2
- package/_esm/components/RouteCard/types.js.map +0 -1
- package/_esm/components/Routes/Routes.d.ts +0 -2
- package/_esm/components/Routes/Routes.js +0 -36
- package/_esm/components/Routes/Routes.js.map +0 -1
- package/_esm/components/Routes/RoutesExpanded.d.ts +0 -2
- package/_esm/components/Routes/RoutesExpanded.js +0 -79
- package/_esm/components/Routes/RoutesExpanded.js.map +0 -1
- package/_esm/components/Routes/RoutesExpanded.style.d.ts +0 -19
- package/_esm/components/Routes/RoutesExpanded.style.js +0 -53
- package/_esm/components/Routes/RoutesExpanded.style.js.map +0 -1
- package/_esm/components/Select.d.ts +0 -3
- package/_esm/components/Select.js +0 -24
- package/_esm/components/Select.js.map +0 -1
- package/_esm/components/SelectChainAndToken.d.ts +0 -2
- package/_esm/components/SelectChainAndToken.js +0 -26
- package/_esm/components/SelectChainAndToken.js.map +0 -1
- package/_esm/components/SelectTokenButton/SelectTokenButton.d.ts +0 -4
- package/_esm/components/SelectTokenButton/SelectTokenButton.js +0 -50
- package/_esm/components/SelectTokenButton/SelectTokenButton.js.map +0 -1
- package/_esm/components/SelectTokenButton/SelectTokenButton.style.d.ts +0 -16
- package/_esm/components/SelectTokenButton/SelectTokenButton.style.js +0 -75
- package/_esm/components/SelectTokenButton/SelectTokenButton.style.js.map +0 -1
- package/_esm/components/SendToWallet/SendToWallet.style.d.ts +0 -5
- package/_esm/components/SendToWallet/SendToWallet.style.js +0 -34
- package/_esm/components/SendToWallet/SendToWallet.style.js.map +0 -1
- package/_esm/components/SendToWallet/SendToWalletButton.d.ts +0 -2
- package/_esm/components/SendToWallet/SendToWalletButton.js +0 -89
- package/_esm/components/SendToWallet/SendToWalletButton.js.map +0 -1
- package/_esm/components/SendToWallet/SendToWalletExpandButton.d.ts +0 -1
- package/_esm/components/SendToWallet/SendToWalletExpandButton.js +0 -41
- package/_esm/components/SendToWallet/SendToWalletExpandButton.js.map +0 -1
- package/_esm/components/SettingsListItemButton.d.ts +0 -3
- package/_esm/components/SettingsListItemButton.js +0 -6
- package/_esm/components/SettingsListItemButton.js.map +0 -1
- package/_esm/components/Skeleton/WidgetSkeleton.d.ts +0 -2
- package/_esm/components/Skeleton/WidgetSkeleton.js +0 -29
- package/_esm/components/Skeleton/WidgetSkeleton.js.map +0 -1
- package/_esm/components/Skeleton/WidgetSkeleton.style.d.ts +0 -30
- package/_esm/components/Skeleton/WidgetSkeleton.style.js +0 -55
- package/_esm/components/Skeleton/WidgetSkeleton.style.js.map +0 -1
- package/_esm/components/Step/CircularProgress.d.ts +0 -4
- package/_esm/components/Step/CircularProgress.js +0 -22
- package/_esm/components/Step/CircularProgress.js.map +0 -1
- package/_esm/components/Step/CircularProgress.style.d.ts +0 -9
- package/_esm/components/Step/CircularProgress.style.js +0 -67
- package/_esm/components/Step/CircularProgress.style.js.map +0 -1
- package/_esm/components/Step/DestinationWalletAddress.d.ts +0 -6
- package/_esm/components/Step/DestinationWalletAddress.js +0 -24
- package/_esm/components/Step/DestinationWalletAddress.js.map +0 -1
- package/_esm/components/Step/Step.d.ts +0 -8
- package/_esm/components/Step/Step.js +0 -60
- package/_esm/components/Step/Step.js.map +0 -1
- package/_esm/components/Step/StepList.d.ts +0 -3
- package/_esm/components/Step/StepList.js +0 -34
- package/_esm/components/Step/StepList.js.map +0 -1
- package/_esm/components/Step/StepProcess.d.ts +0 -5
- package/_esm/components/Step/StepProcess.js +0 -24
- package/_esm/components/Step/StepProcess.js.map +0 -1
- package/_esm/components/Step/StepTimer.d.ts +0 -5
- package/_esm/components/Step/StepTimer.js +0 -75
- package/_esm/components/Step/StepTimer.js.map +0 -1
- package/_esm/components/StepActions/StepActions.d.ts +0 -11
- package/_esm/components/StepActions/StepActions.js +0 -128
- package/_esm/components/StepActions/StepActions.js.map +0 -1
- package/_esm/components/StepActions/StepActions.style.d.ts +0 -13
- package/_esm/components/StepActions/StepActions.style.js +0 -55
- package/_esm/components/StepActions/StepActions.style.js.map +0 -1
- package/_esm/components/StepActions/StepFees.d.ts +0 -5
- package/_esm/components/StepActions/StepFees.js +0 -24
- package/_esm/components/StepActions/StepFees.js.map +0 -1
- package/_esm/components/StepActions/types.d.ts +0 -16
- package/_esm/components/StepActions/types.js +0 -2
- package/_esm/components/StepActions/types.js.map +0 -1
- package/_esm/components/StepDivider/StepDivider.d.ts +0 -1
- package/_esm/components/StepDivider/StepDivider.js +0 -7
- package/_esm/components/StepDivider/StepDivider.js.map +0 -1
- package/_esm/components/StepDivider/StepDivider.style.d.ts +0 -3
- package/_esm/components/StepDivider/StepDivider.style.js +0 -8
- package/_esm/components/StepDivider/StepDivider.style.js.map +0 -1
- package/_esm/components/Switch.d.ts +0 -1
- package/_esm/components/Switch.js +0 -52
- package/_esm/components/Switch.js.map +0 -1
- package/_esm/components/Tabs/Tabs.style.d.ts +0 -11
- package/_esm/components/Tabs/Tabs.style.js +0 -39
- package/_esm/components/Tabs/Tabs.style.js.map +0 -1
- package/_esm/components/TextFitter/TextFitter.d.ts +0 -3
- package/_esm/components/TextFitter/TextFitter.js +0 -55
- package/_esm/components/TextFitter/TextFitter.js.map +0 -1
- package/_esm/components/TextFitter/types.d.ts +0 -12
- package/_esm/components/TextFitter/types.js +0 -2
- package/_esm/components/TextFitter/types.js.map +0 -1
- package/_esm/components/ToAddressRequiredMessage.d.ts +0 -7
- package/_esm/components/ToAddressRequiredMessage.js +0 -15
- package/_esm/components/ToAddressRequiredMessage.js.map +0 -1
- package/_esm/components/Token/Token.d.ts +0 -17
- package/_esm/components/Token/Token.js +0 -62
- package/_esm/components/Token/Token.js.map +0 -1
- package/_esm/components/Token/Token.style.d.ts +0 -11
- package/_esm/components/Token/Token.style.js +0 -27
- package/_esm/components/Token/Token.style.js.map +0 -1
- package/_esm/components/TokenList/TokenList.d.ts +0 -3
- package/_esm/components/TokenList/TokenList.js +0 -53
- package/_esm/components/TokenList/TokenList.js.map +0 -1
- package/_esm/components/TokenList/TokenList.style.d.ts +0 -14
- package/_esm/components/TokenList/TokenList.style.js +0 -26
- package/_esm/components/TokenList/TokenList.style.js.map +0 -1
- package/_esm/components/TokenList/TokenListItem.d.ts +0 -5
- package/_esm/components/TokenList/TokenListItem.js +0 -68
- package/_esm/components/TokenList/TokenListItem.js.map +0 -1
- package/_esm/components/TokenList/TokenNotFound.d.ts +0 -2
- package/_esm/components/TokenList/TokenNotFound.js +0 -23
- package/_esm/components/TokenList/TokenNotFound.js.map +0 -1
- package/_esm/components/TokenList/VirtualizedTokenList.d.ts +0 -3
- package/_esm/components/TokenList/VirtualizedTokenList.js +0 -81
- package/_esm/components/TokenList/VirtualizedTokenList.js.map +0 -1
- package/_esm/components/TokenList/types.d.ts +0 -42
- package/_esm/components/TokenList/types.js +0 -2
- package/_esm/components/TokenList/types.js.map +0 -1
- package/_esm/components/TokenList/useTokenSelect.d.ts +0 -2
- package/_esm/components/TokenList/useTokenSelect.js +0 -72
- package/_esm/components/TokenList/useTokenSelect.js.map +0 -1
- package/_esm/components/TokenList/utils.d.ts +0 -2
- package/_esm/components/TokenList/utils.js +0 -35
- package/_esm/components/TokenList/utils.js.map +0 -1
- package/_esm/components/TokenRate/TokenRate.d.ts +0 -7
- package/_esm/components/TokenRate/TokenRate.js +0 -41
- package/_esm/components/TokenRate/TokenRate.js.map +0 -1
- package/_esm/components/TokenRate/TokenRate.style.d.ts +0 -3
- package/_esm/components/TokenRate/TokenRate.style.js +0 -17
- package/_esm/components/TokenRate/TokenRate.style.js.map +0 -1
- package/_esm/components/TransactionDetails.d.ts +0 -7
- package/_esm/components/TransactionDetails.js +0 -56
- package/_esm/components/TransactionDetails.js.map +0 -1
- package/_esm/config/coinbase.d.ts +0 -2
- package/_esm/config/coinbase.js +0 -6
- package/_esm/config/coinbase.js.map +0 -1
- package/_esm/config/constants.d.ts +0 -2
- package/_esm/config/constants.js +0 -3
- package/_esm/config/constants.js.map +0 -1
- package/_esm/config/metaMask.d.ts +0 -2
- package/_esm/config/metaMask.js +0 -11
- package/_esm/config/metaMask.js.map +0 -1
- package/_esm/config/queryClient.d.ts +0 -2
- package/_esm/config/queryClient.js +0 -21
- package/_esm/config/queryClient.js.map +0 -1
- package/_esm/config/version.d.ts +0 -2
- package/_esm/config/version.js +0 -3
- package/_esm/config/version.js.map +0 -1
- package/_esm/config/walletConnect.d.ts +0 -2
- package/_esm/config/walletConnect.js +0 -4
- package/_esm/config/walletConnect.js.map +0 -1
- package/_esm/hooks/timer/useInterval.d.ts +0 -1
- package/_esm/hooks/timer/useInterval.js +0 -18
- package/_esm/hooks/timer/useInterval.js.map +0 -1
- package/_esm/hooks/timer/useTimer.d.ts +0 -18
- package/_esm/hooks/timer/useTimer.js +0 -61
- package/_esm/hooks/timer/useTimer.js.map +0 -1
- package/_esm/hooks/timer/utils.d.ts +0 -11
- package/_esm/hooks/timer/utils.js +0 -46
- package/_esm/hooks/timer/utils.js.map +0 -1
- package/_esm/hooks/useAddressValidation.d.ts +0 -25
- package/_esm/hooks/useAddressValidation.js +0 -56
- package/_esm/hooks/useAddressValidation.js.map +0 -1
- package/_esm/hooks/useAvailableChains.d.ts +0 -7
- package/_esm/hooks/useAvailableChains.js +0 -49
- package/_esm/hooks/useAvailableChains.js.map +0 -1
- package/_esm/hooks/useChain.d.ts +0 -4
- package/_esm/hooks/useChain.js +0 -11
- package/_esm/hooks/useChain.js.map +0 -1
- package/_esm/hooks/useChains.d.ts +0 -7
- package/_esm/hooks/useChains.js +0 -23
- package/_esm/hooks/useChains.js.map +0 -1
- package/_esm/hooks/useDebouncedWatch.d.ts +0 -2
- package/_esm/hooks/useDebouncedWatch.js +0 -26
- package/_esm/hooks/useDebouncedWatch.js.map +0 -1
- package/_esm/hooks/useDefaultElementId.d.ts +0 -1
- package/_esm/hooks/useDefaultElementId.js +0 -6
- package/_esm/hooks/useDefaultElementId.js.map +0 -1
- package/_esm/hooks/useExplorer.d.ts +0 -14
- package/_esm/hooks/useExplorer.js +0 -43
- package/_esm/hooks/useExplorer.js.map +0 -1
- package/_esm/hooks/useFromTokenSufficiency.d.ts +0 -5
- package/_esm/hooks/useFromTokenSufficiency.js +0 -61
- package/_esm/hooks/useFromTokenSufficiency.js.map +0 -1
- package/_esm/hooks/useGasRecommendation.d.ts +0 -2
- package/_esm/hooks/useGasRecommendation.js +0 -30
- package/_esm/hooks/useGasRecommendation.js.map +0 -1
- package/_esm/hooks/useGasRefuel.d.ts +0 -7
- package/_esm/hooks/useGasRefuel.js +0 -48
- package/_esm/hooks/useGasRefuel.js.map +0 -1
- package/_esm/hooks/useGasSufficiency.d.ts +0 -13
- package/_esm/hooks/useGasSufficiency.js +0 -91
- package/_esm/hooks/useGasSufficiency.js.map +0 -1
- package/_esm/hooks/useHeader.d.ts +0 -2
- package/_esm/hooks/useHeader.js +0 -16
- package/_esm/hooks/useHeader.js.map +0 -1
- package/_esm/hooks/useHeaderHeight.d.ts +0 -6
- package/_esm/hooks/useHeaderHeight.js +0 -23
- package/_esm/hooks/useHeaderHeight.js.map +0 -1
- package/_esm/hooks/useInitializer.d.ts +0 -1
- package/_esm/hooks/useInitializer.js +0 -15
- package/_esm/hooks/useInitializer.js.map +0 -1
- package/_esm/hooks/useLanguages.d.ts +0 -6
- package/_esm/hooks/useLanguages.js +0 -26
- package/_esm/hooks/useLanguages.js.map +0 -1
- package/_esm/hooks/useNavigateBack.d.ts +0 -4
- package/_esm/hooks/useNavigateBack.js +0 -24
- package/_esm/hooks/useNavigateBack.js.map +0 -1
- package/_esm/hooks/useProcessMessage.d.ts +0 -11
- package/_esm/hooks/useProcessMessage.js +0 -171
- package/_esm/hooks/useProcessMessage.js.map +0 -1
- package/_esm/hooks/useRouteExecution.d.ts +0 -14
- package/_esm/hooks/useRouteExecution.js +0 -151
- package/_esm/hooks/useRouteExecution.js.map +0 -1
- package/_esm/hooks/useRoutes.d.ts +0 -18
- package/_esm/hooks/useRoutes.js +0 -275
- package/_esm/hooks/useRoutes.js.map +0 -1
- package/_esm/hooks/useScrollableContainer.d.ts +0 -4
- package/_esm/hooks/useScrollableContainer.js +0 -33
- package/_esm/hooks/useScrollableContainer.js.map +0 -1
- package/_esm/hooks/useSetContentHeight.d.ts +0 -2
- package/_esm/hooks/useSetContentHeight.js +0 -19
- package/_esm/hooks/useSetContentHeight.js.map +0 -1
- package/_esm/hooks/useSettingMonitor.d.ts +0 -11
- package/_esm/hooks/useSettingMonitor.js +0 -50
- package/_esm/hooks/useSettingMonitor.js.map +0 -1
- package/_esm/hooks/useSwapOnly.d.ts +0 -1
- package/_esm/hooks/useSwapOnly.js +0 -6
- package/_esm/hooks/useSwapOnly.js.map +0 -1
- package/_esm/hooks/useToAddressRequirements.d.ts +0 -4
- package/_esm/hooks/useToAddressRequirements.js +0 -17
- package/_esm/hooks/useToAddressRequirements.js.map +0 -1
- package/_esm/hooks/useToAddressReset.d.ts +0 -4
- package/_esm/hooks/useToAddressReset.js +0 -30
- package/_esm/hooks/useToAddressReset.js.map +0 -1
- package/_esm/hooks/useToken.d.ts +0 -4
- package/_esm/hooks/useToken.js +0 -17
- package/_esm/hooks/useToken.js.map +0 -1
- package/_esm/hooks/useTokenAddressBalance.d.ts +0 -7
- package/_esm/hooks/useTokenAddressBalance.js +0 -18
- package/_esm/hooks/useTokenAddressBalance.js.map +0 -1
- package/_esm/hooks/useTokenBalance.d.ts +0 -11
- package/_esm/hooks/useTokenBalance.js +0 -88
- package/_esm/hooks/useTokenBalance.js.map +0 -1
- package/_esm/hooks/useTokenBalances.d.ts +0 -11
- package/_esm/hooks/useTokenBalances.js +0 -75
- package/_esm/hooks/useTokenBalances.js.map +0 -1
- package/_esm/hooks/useTokenSearch.d.ts +0 -5
- package/_esm/hooks/useTokenSearch.js +0 -31
- package/_esm/hooks/useTokenSearch.js.map +0 -1
- package/_esm/hooks/useTokens.d.ts +0 -8
- package/_esm/hooks/useTokens.js +0 -87
- package/_esm/hooks/useTokens.js.map +0 -1
- package/_esm/hooks/useTools.d.ts +0 -4
- package/_esm/hooks/useTools.js +0 -32
- package/_esm/hooks/useTools.js.map +0 -1
- package/_esm/hooks/useTransactionDetails.d.ts +0 -4
- package/_esm/hooks/useTransactionDetails.js +0 -52
- package/_esm/hooks/useTransactionDetails.js.map +0 -1
- package/_esm/hooks/useTransactionHistory.d.ts +0 -5
- package/_esm/hooks/useTransactionHistory.js +0 -53
- package/_esm/hooks/useTransactionHistory.js.map +0 -1
- package/_esm/hooks/useWideVariant.d.ts +0 -1
- package/_esm/hooks/useWideVariant.js +0 -9
- package/_esm/hooks/useWideVariant.js.map +0 -1
- package/_esm/hooks/useWidgetEvents.d.ts +0 -4
- package/_esm/hooks/useWidgetEvents.js +0 -8
- package/_esm/hooks/useWidgetEvents.js.map +0 -1
- package/_esm/i18n/bn.json +0 -310
- package/_esm/i18n/de.json +0 -310
- package/_esm/i18n/en.json +0 -309
- package/_esm/i18n/es.json +0 -310
- package/_esm/i18n/fr.json +0 -310
- package/_esm/i18n/hi.json +0 -310
- package/_esm/i18n/id.json +0 -310
- package/_esm/i18n/index.d.ts +0 -16
- package/_esm/i18n/index.js +0 -17
- package/_esm/i18n/index.js.map +0 -1
- package/_esm/i18n/it.json +0 -310
- package/_esm/i18n/ja.json +0 -310
- package/_esm/i18n/ko.json +0 -310
- package/_esm/i18n/pt.json +0 -310
- package/_esm/i18n/th.json +0 -310
- package/_esm/i18n/tr.json +0 -310
- package/_esm/i18n/uk.json +0 -310
- package/_esm/i18n/vi.json +0 -310
- package/_esm/i18n/zh.json +0 -310
- package/_esm/icons/lifi.d.ts +0 -1
- package/_esm/icons/lifi.js +0 -2
- package/_esm/icons/lifi.js.map +0 -1
- package/_esm/index.d.ts +0 -23
- package/_esm/index.js +0 -22
- package/_esm/index.js.map +0 -1
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.d.ts +0 -1
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js +0 -16
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js.map +0 -1
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.d.ts +0 -1
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js +0 -37
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js.map +0 -1
- package/_esm/pages/LanguagesPage.d.ts +0 -1
- package/_esm/pages/LanguagesPage.js +0 -24
- package/_esm/pages/LanguagesPage.js.map +0 -1
- package/_esm/pages/MainPage/MainMessages.d.ts +0 -2
- package/_esm/pages/MainPage/MainMessages.js +0 -10
- package/_esm/pages/MainPage/MainMessages.js.map +0 -1
- package/_esm/pages/MainPage/MainPage.d.ts +0 -1
- package/_esm/pages/MainPage/MainPage.js +0 -34
- package/_esm/pages/MainPage/MainPage.js.map +0 -1
- package/_esm/pages/MainPage/MainPage.style.d.ts +0 -3
- package/_esm/pages/MainPage/MainPage.style.js +0 -8
- package/_esm/pages/MainPage/MainPage.style.js.map +0 -1
- package/_esm/pages/MainPage/ReviewButton.d.ts +0 -1
- package/_esm/pages/MainPage/ReviewButton.js +0 -62
- package/_esm/pages/MainPage/ReviewButton.js.map +0 -1
- package/_esm/pages/RoutesPage/RoutesPage.d.ts +0 -2
- package/_esm/pages/RoutesPage/RoutesPage.js +0 -36
- package/_esm/pages/RoutesPage/RoutesPage.js.map +0 -1
- package/_esm/pages/RoutesPage/RoutesPage.style.d.ts +0 -3
- package/_esm/pages/RoutesPage/RoutesPage.style.js +0 -6
- package/_esm/pages/RoutesPage/RoutesPage.style.js.map +0 -1
- package/_esm/pages/SelectChainPage/SelectChainPage.d.ts +0 -2
- package/_esm/pages/SelectChainPage/SelectChainPage.js +0 -33
- package/_esm/pages/SelectChainPage/SelectChainPage.js.map +0 -1
- package/_esm/pages/SelectChainPage/types.d.ts +0 -4
- package/_esm/pages/SelectChainPage/types.js +0 -2
- package/_esm/pages/SelectChainPage/types.js.map +0 -1
- package/_esm/pages/SelectEnabledToolsPage.d.ts +0 -3
- package/_esm/pages/SelectEnabledToolsPage.js +0 -43
- package/_esm/pages/SelectEnabledToolsPage.js.map +0 -1
- package/_esm/pages/SelectNativeTokenPage.d.ts +0 -2
- package/_esm/pages/SelectNativeTokenPage.js +0 -23
- package/_esm/pages/SelectNativeTokenPage.js.map +0 -1
- package/_esm/pages/SelectTokenPage/SearchTokenInput.d.ts +0 -1
- package/_esm/pages/SelectTokenPage/SearchTokenInput.js +0 -28
- package/_esm/pages/SelectTokenPage/SearchTokenInput.js.map +0 -1
- package/_esm/pages/SelectTokenPage/SearchTokenInput.style.d.ts +0 -1
- package/_esm/pages/SelectTokenPage/SearchTokenInput.style.js +0 -6
- package/_esm/pages/SelectTokenPage/SearchTokenInput.style.js.map +0 -1
- package/_esm/pages/SelectTokenPage/SelectTokenPage.d.ts +0 -3
- package/_esm/pages/SelectTokenPage/SelectTokenPage.js +0 -36
- package/_esm/pages/SelectTokenPage/SelectTokenPage.js.map +0 -1
- package/_esm/pages/SelectTokenPage/types.d.ts +0 -4
- package/_esm/pages/SelectTokenPage/types.js +0 -6
- package/_esm/pages/SelectTokenPage/types.js.map +0 -1
- package/_esm/pages/SelectTokenPage/useTokenListHeight.d.ts +0 -12
- package/_esm/pages/SelectTokenPage/useTokenListHeight.js +0 -72
- package/_esm/pages/SelectTokenPage/useTokenListHeight.js.map +0 -1
- package/_esm/pages/SendToWallet/BookmarkAddressSheet.d.ts +0 -8
- package/_esm/pages/SendToWallet/BookmarkAddressSheet.js +0 -112
- package/_esm/pages/SendToWallet/BookmarkAddressSheet.js.map +0 -1
- package/_esm/pages/SendToWallet/BookmarksPage.d.ts +0 -1
- package/_esm/pages/SendToWallet/BookmarksPage.js +0 -95
- package/_esm/pages/SendToWallet/BookmarksPage.js.map +0 -1
- package/_esm/pages/SendToWallet/ConfirmAddressSheet.d.ts +0 -8
- package/_esm/pages/SendToWallet/ConfirmAddressSheet.js +0 -33
- package/_esm/pages/SendToWallet/ConfirmAddressSheet.js.map +0 -1
- package/_esm/pages/SendToWallet/ConnectedWalletsPage.d.ts +0 -1
- package/_esm/pages/SendToWallet/ConnectedWalletsPage.js +0 -91
- package/_esm/pages/SendToWallet/ConnectedWalletsPage.js.map +0 -1
- package/_esm/pages/SendToWallet/EmptyListIndicator.d.ts +0 -6
- package/_esm/pages/SendToWallet/EmptyListIndicator.js +0 -5
- package/_esm/pages/SendToWallet/EmptyListIndicator.js.map +0 -1
- package/_esm/pages/SendToWallet/RecentWalletsPage.d.ts +0 -1
- package/_esm/pages/SendToWallet/RecentWalletsPage.js +0 -108
- package/_esm/pages/SendToWallet/RecentWalletsPage.js.map +0 -1
- package/_esm/pages/SendToWallet/SendToConfiguredWalletPage.d.ts +0 -1
- package/_esm/pages/SendToWallet/SendToConfiguredWalletPage.js +0 -73
- package/_esm/pages/SendToWallet/SendToConfiguredWalletPage.js.map +0 -1
- package/_esm/pages/SendToWallet/SendToWalletPage.d.ts +0 -1
- package/_esm/pages/SendToWallet/SendToWalletPage.js +0 -147
- package/_esm/pages/SendToWallet/SendToWalletPage.js.map +0 -1
- package/_esm/pages/SendToWallet/SendToWalletPage.style.d.ts +0 -52
- package/_esm/pages/SendToWallet/SendToWalletPage.style.js +0 -125
- package/_esm/pages/SendToWallet/SendToWalletPage.style.js.map +0 -1
- package/_esm/pages/SendToWallet/types.d.ts +0 -4
- package/_esm/pages/SendToWallet/types.js +0 -2
- package/_esm/pages/SendToWallet/types.js.map +0 -1
- package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.d.ts +0 -3
- package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js +0 -33
- package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js.map +0 -1
- package/_esm/pages/SettingsPage/GasPriceSettings.d.ts +0 -1
- package/_esm/pages/SettingsPage/GasPriceSettings.js +0 -20
- package/_esm/pages/SettingsPage/GasPriceSettings.js.map +0 -1
- package/_esm/pages/SettingsPage/LanguageSetting.d.ts +0 -1
- package/_esm/pages/SettingsPage/LanguageSetting.js +0 -24
- package/_esm/pages/SettingsPage/LanguageSetting.js.map +0 -1
- package/_esm/pages/SettingsPage/ResetSettingsButton.d.ts +0 -1
- package/_esm/pages/SettingsPage/ResetSettingsButton.js +0 -27
- package/_esm/pages/SettingsPage/ResetSettingsButton.js.map +0 -1
- package/_esm/pages/SettingsPage/ResetSettingsButton.style.d.ts +0 -3
- package/_esm/pages/SettingsPage/ResetSettingsButton.style.js +0 -11
- package/_esm/pages/SettingsPage/ResetSettingsButton.style.js.map +0 -1
- package/_esm/pages/SettingsPage/RoutePrioritySettings.d.ts +0 -1
- package/_esm/pages/SettingsPage/RoutePrioritySettings.js +0 -24
- package/_esm/pages/SettingsPage/RoutePrioritySettings.js.map +0 -1
- package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.d.ts +0 -8
- package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.js +0 -5
- package/_esm/pages/SettingsPage/SettingsCard/BadgedValue.js.map +0 -1
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.d.ts +0 -6
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.js +0 -20
- package/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.js.map +0 -1
- package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.d.ts +0 -7
- package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js +0 -13
- package/_esm/pages/SettingsPage/SettingsCard/SettingCardExpandable.js.map +0 -1
- package/_esm/pages/SettingsPage/SettingsCard/SettingsAccordian.d.ts +0 -6
- package/_esm/pages/SettingsPage/SettingsCard/SettingsAccordian.js +0 -32
- package/_esm/pages/SettingsPage/SettingsCard/SettingsAccordian.js.map +0 -1
- package/_esm/pages/SettingsPage/SettingsCard/types.d.ts +0 -5
- package/_esm/pages/SettingsPage/SettingsCard/types.js +0 -2
- package/_esm/pages/SettingsPage/SettingsCard/types.js.map +0 -1
- package/_esm/pages/SettingsPage/SettingsPage.d.ts +0 -1
- package/_esm/pages/SettingsPage/SettingsPage.js +0 -19
- package/_esm/pages/SettingsPage/SettingsPage.js.map +0 -1
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.d.ts +0 -1
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js +0 -48
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js.map +0 -1
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.d.ts +0 -15
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js +0 -71
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.js.map +0 -1
- package/_esm/pages/SettingsPage/ThemeSettings.d.ts +0 -1
- package/_esm/pages/SettingsPage/ThemeSettings.js +0 -35
- package/_esm/pages/SettingsPage/ThemeSettings.js.map +0 -1
- package/_esm/pages/TransactionDetailsPage/ContactSupportButton.d.ts +0 -5
- package/_esm/pages/TransactionDetailsPage/ContactSupportButton.js +0 -22
- package/_esm/pages/TransactionDetailsPage/ContactSupportButton.js.map +0 -1
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.d.ts +0 -1
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js +0 -67
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js.map +0 -1
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.d.ts +0 -1
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js +0 -20
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsSkeleton.js.map +0 -1
- package/_esm/pages/TransactionDetailsPage/TransferIdCard.d.ts +0 -5
- package/_esm/pages/TransactionDetailsPage/TransferIdCard.js +0 -32
- package/_esm/pages/TransactionDetailsPage/TransferIdCard.js.map +0 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.d.ts +0 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js +0 -16
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js.map +0 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.d.ts +0 -6
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.js +0 -59
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryItem.js.map +0 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.d.ts +0 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.js +0 -39
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryPage.js.map +0 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.d.ts +0 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js +0 -19
- package/_esm/pages/TransactionHistoryPage/TransactionHistorySkeleton.js.map +0 -1
- package/_esm/pages/TransactionHistoryPage/constants.d.ts +0 -1
- package/_esm/pages/TransactionHistoryPage/constants.js +0 -2
- package/_esm/pages/TransactionHistoryPage/constants.js.map +0 -1
- package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.d.ts +0 -13
- package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js +0 -60
- package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js.map +0 -1
- package/_esm/pages/TransactionPage/RouteTracker.d.ts +0 -7
- package/_esm/pages/TransactionPage/RouteTracker.js +0 -39
- package/_esm/pages/TransactionPage/RouteTracker.js.map +0 -1
- package/_esm/pages/TransactionPage/StartTransactionButton.d.ts +0 -2
- package/_esm/pages/TransactionPage/StartTransactionButton.js +0 -11
- package/_esm/pages/TransactionPage/StartTransactionButton.js.map +0 -1
- package/_esm/pages/TransactionPage/StatusBottomSheet.d.ts +0 -7
- package/_esm/pages/TransactionPage/StatusBottomSheet.js +0 -184
- package/_esm/pages/TransactionPage/StatusBottomSheet.js.map +0 -1
- package/_esm/pages/TransactionPage/StatusBottomSheet.style.d.ts +0 -15
- package/_esm/pages/TransactionPage/StatusBottomSheet.style.js +0 -52
- package/_esm/pages/TransactionPage/StatusBottomSheet.style.js.map +0 -1
- package/_esm/pages/TransactionPage/TokenValueBottomSheet.d.ts +0 -9
- package/_esm/pages/TransactionPage/TokenValueBottomSheet.js +0 -28
- package/_esm/pages/TransactionPage/TokenValueBottomSheet.js.map +0 -1
- package/_esm/pages/TransactionPage/TransactionPage.d.ts +0 -1
- package/_esm/pages/TransactionPage/TransactionPage.js +0 -140
- package/_esm/pages/TransactionPage/TransactionPage.js.map +0 -1
- package/_esm/pages/TransactionPage/types.d.ts +0 -5
- package/_esm/pages/TransactionPage/types.js +0 -2
- package/_esm/pages/TransactionPage/types.js.map +0 -1
- package/_esm/pages/TransactionPage/utils.d.ts +0 -2
- package/_esm/pages/TransactionPage/utils.js +0 -11
- package/_esm/pages/TransactionPage/utils.js.map +0 -1
- package/_esm/providers/I18nProvider/I18nProvider.d.ts +0 -1
- package/_esm/providers/I18nProvider/I18nProvider.js +0 -60
- package/_esm/providers/I18nProvider/I18nProvider.js.map +0 -1
- package/_esm/providers/I18nProvider/currencyExtendedFormatter.d.ts +0 -1
- package/_esm/providers/I18nProvider/currencyExtendedFormatter.js +0 -13
- package/_esm/providers/I18nProvider/currencyExtendedFormatter.js.map +0 -1
- package/_esm/providers/I18nProvider/percentFormatter.d.ts +0 -7
- package/_esm/providers/I18nProvider/percentFormatter.js +0 -19
- package/_esm/providers/I18nProvider/percentFormatter.js.map +0 -1
- package/_esm/providers/I18nProvider/types.d.ts +0 -17
- package/_esm/providers/I18nProvider/types.js +0 -2
- package/_esm/providers/I18nProvider/types.js.map +0 -1
- package/_esm/providers/ThemeProvider/ThemeProvider.d.ts +0 -1
- package/_esm/providers/ThemeProvider/ThemeProvider.js +0 -33
- package/_esm/providers/ThemeProvider/ThemeProvider.js.map +0 -1
- package/_esm/providers/WalletProvider/EVMBaseProvider.d.ts +0 -2
- package/_esm/providers/WalletProvider/EVMBaseProvider.js +0 -28
- package/_esm/providers/WalletProvider/EVMBaseProvider.js.map +0 -1
- package/_esm/providers/WalletProvider/EVMExternalContext.d.ts +0 -1
- package/_esm/providers/WalletProvider/EVMExternalContext.js +0 -3
- package/_esm/providers/WalletProvider/EVMExternalContext.js.map +0 -1
- package/_esm/providers/WalletProvider/EVMProvider.d.ts +0 -3
- package/_esm/providers/WalletProvider/EVMProvider.js +0 -18
- package/_esm/providers/WalletProvider/EVMProvider.js.map +0 -1
- package/_esm/providers/WalletProvider/SDKProviders.d.ts +0 -1
- package/_esm/providers/WalletProvider/SDKProviders.js +0 -47
- package/_esm/providers/WalletProvider/SDKProviders.js.map +0 -1
- package/_esm/providers/WalletProvider/SVMBaseProvider.d.ts +0 -2
- package/_esm/providers/WalletProvider/SVMBaseProvider.js +0 -22
- package/_esm/providers/WalletProvider/SVMBaseProvider.js.map +0 -1
- package/_esm/providers/WalletProvider/SVMExternalContext.d.ts +0 -1
- package/_esm/providers/WalletProvider/SVMExternalContext.js +0 -3
- package/_esm/providers/WalletProvider/SVMExternalContext.js.map +0 -1
- package/_esm/providers/WalletProvider/SVMProvider.d.ts +0 -3
- package/_esm/providers/WalletProvider/SVMProvider.js +0 -18
- package/_esm/providers/WalletProvider/SVMProvider.js.map +0 -1
- package/_esm/providers/WalletProvider/UTXOBaseProvider.d.ts +0 -2
- package/_esm/providers/WalletProvider/UTXOBaseProvider.js +0 -17
- package/_esm/providers/WalletProvider/UTXOBaseProvider.js.map +0 -1
- package/_esm/providers/WalletProvider/UTXOExternalContext.d.ts +0 -1
- package/_esm/providers/WalletProvider/UTXOExternalContext.js +0 -3
- package/_esm/providers/WalletProvider/UTXOExternalContext.js.map +0 -1
- package/_esm/providers/WalletProvider/UTXOProvider.d.ts +0 -3
- package/_esm/providers/WalletProvider/UTXOProvider.js +0 -18
- package/_esm/providers/WalletProvider/UTXOProvider.js.map +0 -1
- package/_esm/providers/WalletProvider/WalletProvider.d.ts +0 -3
- package/_esm/providers/WalletProvider/WalletProvider.js +0 -21
- package/_esm/providers/WalletProvider/WalletProvider.js.map +0 -1
- package/_esm/providers/WalletProvider/useHasExternalWalletProvider.d.ts +0 -7
- package/_esm/providers/WalletProvider/useHasExternalWalletProvider.js +0 -28
- package/_esm/providers/WalletProvider/useHasExternalWalletProvider.js.map +0 -1
- package/_esm/providers/WidgetProvider/WidgetProvider.d.ts +0 -3
- package/_esm/providers/WidgetProvider/WidgetProvider.js +0 -64
- package/_esm/providers/WidgetProvider/WidgetProvider.js.map +0 -1
- package/_esm/providers/WidgetProvider/types.d.ts +0 -7
- package/_esm/providers/WidgetProvider/types.js +0 -2
- package/_esm/providers/WidgetProvider/types.js.map +0 -1
- package/_esm/providers/WidgetProvider/utils.d.ts +0 -5
- package/_esm/providers/WidgetProvider/utils.js +0 -17
- package/_esm/providers/WidgetProvider/utils.js.map +0 -1
- package/_esm/stores/StoreProvider.d.ts +0 -3
- package/_esm/stores/StoreProvider.js +0 -13
- package/_esm/stores/StoreProvider.js.map +0 -1
- package/_esm/stores/bookmarks/BookmarkStore.d.ts +0 -6
- package/_esm/stores/bookmarks/BookmarkStore.js +0 -22
- package/_esm/stores/bookmarks/BookmarkStore.js.map +0 -1
- package/_esm/stores/bookmarks/createBookmarkStore.d.ts +0 -8
- package/_esm/stores/bookmarks/createBookmarkStore.js +0 -56
- package/_esm/stores/bookmarks/createBookmarkStore.js.map +0 -1
- package/_esm/stores/bookmarks/types.d.ts +0 -22
- package/_esm/stores/bookmarks/types.js +0 -2
- package/_esm/stores/bookmarks/types.js.map +0 -1
- package/_esm/stores/bookmarks/useBookmarkActions.d.ts +0 -2
- package/_esm/stores/bookmarks/useBookmarkActions.js +0 -15
- package/_esm/stores/bookmarks/useBookmarkActions.js.map +0 -1
- package/_esm/stores/bookmarks/useBookmarks.d.ts +0 -2
- package/_esm/stores/bookmarks/useBookmarks.js +0 -11
- package/_esm/stores/bookmarks/useBookmarks.js.map +0 -1
- package/_esm/stores/chains/ChainOrderStore.d.ts +0 -9
- package/_esm/stores/chains/ChainOrderStore.js +0 -46
- package/_esm/stores/chains/ChainOrderStore.js.map +0 -1
- package/_esm/stores/chains/createChainOrderStore.d.ts +0 -5
- package/_esm/stores/chains/createChainOrderStore.js +0 -70
- package/_esm/stores/chains/createChainOrderStore.js.map +0 -1
- package/_esm/stores/chains/types.d.ts +0 -15
- package/_esm/stores/chains/types.js +0 -2
- package/_esm/stores/chains/types.js.map +0 -1
- package/_esm/stores/chains/useChainOrder.d.ts +0 -2
- package/_esm/stores/chains/useChainOrder.js +0 -6
- package/_esm/stores/chains/useChainOrder.js.map +0 -1
- package/_esm/stores/form/FormStore.d.ts +0 -7
- package/_esm/stores/form/FormStore.js +0 -90
- package/_esm/stores/form/FormStore.js.map +0 -1
- package/_esm/stores/form/FormStoreContext.d.ts +0 -2
- package/_esm/stores/form/FormStoreContext.js +0 -3
- package/_esm/stores/form/FormStoreContext.js.map +0 -1
- package/_esm/stores/form/FormUpdater.d.ts +0 -4
- package/_esm/stores/form/FormUpdater.js +0 -77
- package/_esm/stores/form/FormUpdater.js.map +0 -1
- package/_esm/stores/form/URLSearchParamsBuilder.d.ts +0 -1
- package/_esm/stores/form/URLSearchParamsBuilder.js +0 -73
- package/_esm/stores/form/URLSearchParamsBuilder.js.map +0 -1
- package/_esm/stores/form/createFormStore.d.ts +0 -3
- package/_esm/stores/form/createFormStore.js +0 -187
- package/_esm/stores/form/createFormStore.js.map +0 -1
- package/_esm/stores/form/types.d.ts +0 -84
- package/_esm/stores/form/types.js +0 -6
- package/_esm/stores/form/types.js.map +0 -1
- package/_esm/stores/form/useFieldActions.d.ts +0 -2
- package/_esm/stores/form/useFieldActions.js +0 -15
- package/_esm/stores/form/useFieldActions.js.map +0 -1
- package/_esm/stores/form/useFieldController.d.ts +0 -11
- package/_esm/stores/form/useFieldController.js +0 -20
- package/_esm/stores/form/useFieldController.js.map +0 -1
- package/_esm/stores/form/useFieldValues.d.ts +0 -2
- package/_esm/stores/form/useFieldValues.js +0 -8
- package/_esm/stores/form/useFieldValues.js.map +0 -1
- package/_esm/stores/form/useFormRef.d.ts +0 -3
- package/_esm/stores/form/useFormRef.js +0 -51
- package/_esm/stores/form/useFormRef.js.map +0 -1
- package/_esm/stores/form/useFormStore.d.ts +0 -3
- package/_esm/stores/form/useFormStore.js +0 -11
- package/_esm/stores/form/useFormStore.js.map +0 -1
- package/_esm/stores/form/useTouchedFields.d.ts +0 -11
- package/_esm/stores/form/useTouchedFields.js +0 -7
- package/_esm/stores/form/useTouchedFields.js.map +0 -1
- package/_esm/stores/form/useValidation.d.ts +0 -2
- package/_esm/stores/form/useValidation.js +0 -11
- package/_esm/stores/form/useValidation.js.map +0 -1
- package/_esm/stores/form/useValidationActions.d.ts +0 -2
- package/_esm/stores/form/useValidationActions.js +0 -11
- package/_esm/stores/form/useValidationActions.js.map +0 -1
- package/_esm/stores/header/types.d.ts +0 -13
- package/_esm/stores/header/types.js +0 -2
- package/_esm/stores/header/types.js.map +0 -1
- package/_esm/stores/header/useHeaderStore.d.ts +0 -7
- package/_esm/stores/header/useHeaderStore.js +0 -47
- package/_esm/stores/header/useHeaderStore.js.map +0 -1
- package/_esm/stores/routes/RouteExecutionStore.d.ts +0 -9
- package/_esm/stores/routes/RouteExecutionStore.js +0 -23
- package/_esm/stores/routes/RouteExecutionStore.js.map +0 -1
- package/_esm/stores/routes/createRouteExecutionStore.d.ts +0 -3
- package/_esm/stores/routes/createRouteExecutionStore.js +0 -131
- package/_esm/stores/routes/createRouteExecutionStore.js.map +0 -1
- package/_esm/stores/routes/types.d.ts +0 -21
- package/_esm/stores/routes/types.js +0 -10
- package/_esm/stores/routes/types.js.map +0 -1
- package/_esm/stores/routes/useExecutingRoutesIds.d.ts +0 -1
- package/_esm/stores/routes/useExecutingRoutesIds.js +0 -16
- package/_esm/stores/routes/useExecutingRoutesIds.js.map +0 -1
- package/_esm/stores/routes/useSetExecutableRoute.d.ts +0 -1
- package/_esm/stores/routes/useSetExecutableRoute.js +0 -5
- package/_esm/stores/routes/useSetExecutableRoute.js.map +0 -1
- package/_esm/stores/routes/utils.d.ts +0 -8
- package/_esm/stores/routes/utils.js +0 -41
- package/_esm/stores/routes/utils.js.map +0 -1
- package/_esm/stores/settings/types.d.ts +0 -46
- package/_esm/stores/settings/types.js +0 -2
- package/_esm/stores/settings/types.js.map +0 -1
- package/_esm/stores/settings/useAppearance.d.ts +0 -2
- package/_esm/stores/settings/useAppearance.js +0 -10
- package/_esm/stores/settings/useAppearance.js.map +0 -1
- package/_esm/stores/settings/useSendToWalletStore.d.ts +0 -5
- package/_esm/stores/settings/useSendToWalletStore.js +0 -15
- package/_esm/stores/settings/useSendToWalletStore.js.map +0 -1
- package/_esm/stores/settings/useSettings.d.ts +0 -2
- package/_esm/stores/settings/useSettings.js +0 -9
- package/_esm/stores/settings/useSettings.js.map +0 -1
- package/_esm/stores/settings/useSettingsStore.d.ts +0 -7
- package/_esm/stores/settings/useSettingsStore.js +0 -141
- package/_esm/stores/settings/useSettingsStore.js.map +0 -1
- package/_esm/stores/settings/useSplitSubvariantStore.d.ts +0 -6
- package/_esm/stores/settings/useSplitSubvariantStore.js +0 -35
- package/_esm/stores/settings/useSplitSubvariantStore.js.map +0 -1
- package/_esm/stores/types.d.ts +0 -5
- package/_esm/stores/types.js +0 -2
- package/_esm/stores/types.js.map +0 -1
- package/_esm/themes/azureLight.d.ts +0 -2
- package/_esm/themes/azureLight.js +0 -57
- package/_esm/themes/azureLight.js.map +0 -1
- package/_esm/themes/createTheme.d.ts +0 -3
- package/_esm/themes/createTheme.js +0 -347
- package/_esm/themes/createTheme.js.map +0 -1
- package/_esm/themes/jumper.d.ts +0 -2
- package/_esm/themes/jumper.js +0 -36
- package/_esm/themes/jumper.js.map +0 -1
- package/_esm/themes/palettes.d.ts +0 -50
- package/_esm/themes/palettes.js +0 -51
- package/_esm/themes/palettes.js.map +0 -1
- package/_esm/themes/types.d.ts +0 -51
- package/_esm/themes/types.js +0 -2
- package/_esm/themes/types.js.map +0 -1
- package/_esm/themes/utils.d.ts +0 -4
- package/_esm/themes/utils.js +0 -9
- package/_esm/themes/utils.js.map +0 -1
- package/_esm/themes/watermelonLight.d.ts +0 -2
- package/_esm/themes/watermelonLight.js +0 -63
- package/_esm/themes/watermelonLight.js.map +0 -1
- package/_esm/themes/windows95.d.ts +0 -2
- package/_esm/themes/windows95.js +0 -95
- package/_esm/themes/windows95.js.map +0 -1
- package/_esm/types/events.d.ts +0 -60
- package/_esm/types/events.js +0 -20
- package/_esm/types/events.js.map +0 -1
- package/_esm/types/token.d.ts +0 -5
- package/_esm/types/token.js +0 -2
- package/_esm/types/token.js.map +0 -1
- package/_esm/types/widget.d.ts +0 -201
- package/_esm/types/widget.js +0 -24
- package/_esm/types/widget.js.map +0 -1
- package/_esm/utils/chainType.d.ts +0 -7
- package/_esm/utils/chainType.js +0 -21
- package/_esm/utils/chainType.js.map +0 -1
- package/_esm/utils/colors.d.ts +0 -15
- package/_esm/utils/colors.js +0 -35
- package/_esm/utils/colors.js.map +0 -1
- package/_esm/utils/converters.d.ts +0 -3
- package/_esm/utils/converters.js +0 -191
- package/_esm/utils/converters.js.map +0 -1
- package/_esm/utils/deepMerge.d.ts +0 -1
- package/_esm/utils/deepMerge.js +0 -15
- package/_esm/utils/deepMerge.js.map +0 -1
- package/_esm/utils/elements.d.ts +0 -8
- package/_esm/utils/elements.js +0 -10
- package/_esm/utils/elements.js.map +0 -1
- package/_esm/utils/enum.d.ts +0 -1
- package/_esm/utils/enum.js +0 -2
- package/_esm/utils/enum.js.map +0 -1
- package/_esm/utils/fees.d.ts +0 -16
- package/_esm/utils/fees.js +0 -83
- package/_esm/utils/fees.js.map +0 -1
- package/_esm/utils/format.d.ts +0 -18
- package/_esm/utils/format.js +0 -114
- package/_esm/utils/format.js.map +0 -1
- package/_esm/utils/input.d.ts +0 -1
- package/_esm/utils/input.js +0 -27
- package/_esm/utils/input.js.map +0 -1
- package/_esm/utils/item.d.ts +0 -2
- package/_esm/utils/item.js +0 -7
- package/_esm/utils/item.js.map +0 -1
- package/_esm/utils/navigationRoutes.d.ts +0 -26
- package/_esm/utils/navigationRoutes.js +0 -64
- package/_esm/utils/navigationRoutes.js.map +0 -1
- package/_esm/utils/wallet.d.ts +0 -1
- package/_esm/utils/wallet.js +0 -4
- package/_esm/utils/wallet.js.map +0 -1
- package/components/ActiveTransactions/ActiveTransactionItem.tsx +0 -98
- package/components/ActiveTransactions/ActiveTransactions.style.ts +0 -39
- package/components/ActiveTransactions/ActiveTransactions.tsx +0 -42
- package/components/AlertMessage/AlertMessage.style.tsx +0 -42
- package/components/AlertMessage/AlertMessage.tsx +0 -34
- package/components/AlertMessage/types.ts +0 -1
- package/components/AmountInput/AmountInput.style.tsx +0 -45
- package/components/AmountInput/AmountInput.tsx +0 -128
- package/components/AmountInput/AmountInputAdornment.style.tsx +0 -14
- package/components/AmountInput/AmountInputEndAdornment.tsx +0 -61
- package/components/AmountInput/AmountInputStartAdornment.tsx +0 -26
- package/components/AmountInput/PriceFormHelperText.tsx +0 -82
- package/components/AppContainer.tsx +0 -136
- package/components/Avatar/AccountAvatar.tsx +0 -61
- package/components/Avatar/Avatar.style.tsx +0 -72
- package/components/Avatar/Avatar.tsx +0 -46
- package/components/Avatar/SmallAvatar.tsx +0 -16
- package/components/Avatar/TokenAvatar.tsx +0 -77
- package/components/Avatar/utils.ts +0 -11
- package/components/BaseTransactionButton/BaseTransactionButton.tsx +0 -54
- package/components/BaseTransactionButton/types.ts +0 -6
- package/components/BottomSheet/BottomSheet.tsx +0 -54
- package/components/BottomSheet/types.ts +0 -13
- package/components/ButtonTertiary.tsx +0 -19
- package/components/Card/Card.tsx +0 -54
- package/components/Card/CardButton.style.tsx +0 -35
- package/components/Card/CardButton.tsx +0 -26
- package/components/Card/CardHeader.tsx +0 -26
- package/components/Card/CardIconButton.tsx +0 -16
- package/components/Card/CardLabel.tsx +0 -56
- package/components/Card/CardTitle.tsx +0 -16
- package/components/Card/InputCard.tsx +0 -7
- package/components/ChainSelect/ChainSelect.style.tsx +0 -17
- package/components/ChainSelect/ChainSelect.tsx +0 -100
- package/components/ChainSelect/useChainSelect.ts +0 -75
- package/components/ContractComponent/ContractComponent.tsx +0 -14
- package/components/ContractComponent/ItemPrice.tsx +0 -33
- package/components/ContractComponent/NFT/NFT.style.ts +0 -8
- package/components/ContractComponent/NFT/NFT.tsx +0 -41
- package/components/ContractComponent/NFT/NFTBase.tsx +0 -64
- package/components/ContractComponent/NFT/types.ts +0 -19
- package/components/Dialog.tsx +0 -51
- package/components/FeeBreakdownTooltip.tsx +0 -63
- package/components/GasMessage/FundsSufficiencyMessage.tsx +0 -20
- package/components/GasMessage/GasMessage.style.ts +0 -21
- package/components/GasMessage/GasMessage.tsx +0 -35
- package/components/GasMessage/GasRefuelMessage.tsx +0 -67
- package/components/GasMessage/GasSufficiencyMessage.tsx +0 -43
- package/components/Header/BackButton.tsx +0 -17
- package/components/Header/CloseDrawerButton.tsx +0 -30
- package/components/Header/EVMDisconnectIconButton.tsx +0 -24
- package/components/Header/Header.style.ts +0 -100
- package/components/Header/Header.tsx +0 -34
- package/components/Header/NavigationHeader.tsx +0 -80
- package/components/Header/NavigationTabs.tsx +0 -35
- package/components/Header/SVMDisconnectIconButton.tsx +0 -19
- package/components/Header/SettingsButton.style.tsx +0 -50
- package/components/Header/SettingsButton.tsx +0 -46
- package/components/Header/TransactionHistoryButton.tsx +0 -21
- package/components/Header/UTXODisconnectIconButton.tsx +0 -24
- package/components/Header/WalletHeader.tsx +0 -166
- package/components/Header/WalletMenu.style.tsx +0 -31
- package/components/Header/WalletMenu.tsx +0 -127
- package/components/IconTypography.ts +0 -9
- package/components/Initializer.tsx +0 -6
- package/components/Input.tsx +0 -11
- package/components/ListItem/ListItem.tsx +0 -26
- package/components/ListItem/ListItemButton.tsx +0 -9
- package/components/ListItemButton.tsx +0 -18
- package/components/ListItemText.tsx +0 -11
- package/components/Menu.tsx +0 -27
- package/components/NotFound.tsx +0 -34
- package/components/PageContainer.ts +0 -26
- package/components/PoweredBy/PoweredBy.style.ts +0 -10
- package/components/PoweredBy/PoweredBy.tsx +0 -39
- package/components/ProgressToNextUpdate.tsx +0 -93
- package/components/ReverseTokensButton/ReverseTokensButton.style.tsx +0 -31
- package/components/ReverseTokensButton/ReverseTokensButton.tsx +0 -44
- package/components/RouteCard/RouteCard.style.ts +0 -8
- package/components/RouteCard/RouteCard.tsx +0 -102
- package/components/RouteCard/RouteCardEssentials.tsx +0 -76
- package/components/RouteCard/RouteCardEssentialsExpanded.tsx +0 -38
- package/components/RouteCard/RouteCardSkeleton.tsx +0 -42
- package/components/RouteCard/RouteNotFoundCard.tsx +0 -34
- package/components/RouteCard/types.ts +0 -16
- package/components/Routes/Routes.tsx +0 -80
- package/components/Routes/RoutesExpanded.style.ts +0 -64
- package/components/Routes/RoutesExpanded.tsx +0 -174
- package/components/Select.tsx +0 -32
- package/components/SelectChainAndToken.tsx +0 -58
- package/components/SelectTokenButton/SelectTokenButton.style.tsx +0 -88
- package/components/SelectTokenButton/SelectTokenButton.tsx +0 -99
- package/components/SendToWallet/SendToWallet.style.tsx +0 -34
- package/components/SendToWallet/SendToWalletButton.tsx +0 -157
- package/components/SendToWallet/SendToWalletExpandButton.tsx +0 -58
- package/components/SettingsListItemButton.tsx +0 -8
- package/components/Skeleton/WidgetSkeleton.style.tsx +0 -63
- package/components/Skeleton/WidgetSkeleton.tsx +0 -136
- package/components/Step/CircularProgress.style.tsx +0 -86
- package/components/Step/CircularProgress.tsx +0 -58
- package/components/Step/DestinationWalletAddress.tsx +0 -53
- package/components/Step/Step.tsx +0 -110
- package/components/Step/StepList.tsx +0 -54
- package/components/Step/StepProcess.tsx +0 -67
- package/components/Step/StepTimer.tsx +0 -123
- package/components/StepActions/StepActions.style.tsx +0 -73
- package/components/StepActions/StepActions.tsx +0 -338
- package/components/StepActions/StepFees.tsx +0 -44
- package/components/StepActions/types.ts +0 -23
- package/components/StepDivider/StepDivider.style.tsx +0 -8
- package/components/StepDivider/StepDivider.tsx +0 -10
- package/components/Switch.tsx +0 -59
- package/components/Tabs/Tabs.style.tsx +0 -53
- package/components/TextFitter/TextFitter.tsx +0 -86
- package/components/TextFitter/types.ts +0 -13
- package/components/ToAddressRequiredMessage.tsx +0 -38
- package/components/Token/Token.style.tsx +0 -30
- package/components/Token/Token.tsx +0 -248
- package/components/TokenList/TokenList.style.tsx +0 -30
- package/components/TokenList/TokenList.tsx +0 -108
- package/components/TokenList/TokenListItem.tsx +0 -223
- package/components/TokenList/TokenNotFound.tsx +0 -40
- package/components/TokenList/VirtualizedTokenList.tsx +0 -150
- package/components/TokenList/types.ts +0 -47
- package/components/TokenList/useTokenSelect.ts +0 -91
- package/components/TokenList/utils.ts +0 -42
- package/components/TokenRate/TokenRate.style.ts +0 -17
- package/components/TokenRate/TokenRate.tsx +0 -69
- package/components/TransactionDetails.tsx +0 -214
- package/config/coinbase.ts +0 -7
- package/config/constants.ts +0 -3
- package/config/metaMask.ts +0 -13
- package/config/queryClient.ts +0 -21
- package/config/version.ts +0 -2
- package/config/walletConnect.ts +0 -5
- package/hooks/timer/useInterval.ts +0 -21
- package/hooks/timer/useTimer.ts +0 -93
- package/hooks/timer/utils.ts +0 -54
- package/hooks/useAddressValidation.ts +0 -89
- package/hooks/useAvailableChains.ts +0 -57
- package/hooks/useChain.ts +0 -13
- package/hooks/useChains.ts +0 -34
- package/hooks/useDebouncedWatch.ts +0 -32
- package/hooks/useDefaultElementId.ts +0 -6
- package/hooks/useExplorer.ts +0 -68
- package/hooks/useFromTokenSufficiency.ts +0 -88
- package/hooks/useGasRecommendation.ts +0 -46
- package/hooks/useGasRefuel.ts +0 -72
- package/hooks/useGasSufficiency.ts +0 -143
- package/hooks/useHeader.ts +0 -18
- package/hooks/useHeaderHeight.ts +0 -27
- package/hooks/useInitializer.ts +0 -16
- package/hooks/useLanguages.ts +0 -31
- package/hooks/useNavigateBack.ts +0 -26
- package/hooks/useProcessMessage.ts +0 -237
- package/hooks/useRouteExecution.ts +0 -204
- package/hooks/useRoutes.ts +0 -398
- package/hooks/useScrollableContainer.ts +0 -47
- package/hooks/useSetContentHeight.ts +0 -24
- package/hooks/useSettingMonitor.ts +0 -78
- package/hooks/useSwapOnly.ts +0 -6
- package/hooks/useToAddressRequirements.ts +0 -23
- package/hooks/useToAddressReset.ts +0 -38
- package/hooks/useToken.ts +0 -23
- package/hooks/useTokenAddressBalance.ts +0 -27
- package/hooks/useTokenBalance.ts +0 -129
- package/hooks/useTokenBalances.ts +0 -93
- package/hooks/useTokenSearch.ts +0 -45
- package/hooks/useTokens.ts +0 -122
- package/hooks/useTools.ts +0 -43
- package/hooks/useTransactionDetails.ts +0 -75
- package/hooks/useTransactionHistory.ts +0 -69
- package/hooks/useWideVariant.ts +0 -13
- package/hooks/useWidgetEvents.ts +0 -10
- package/i18n/en.json +0 -309
- package/i18n/index.ts +0 -17
- package/icons/lifi.ts +0 -2
- package/index.ts +0 -23
- package/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.tsx +0 -34
- package/pages/ActiveTransactionsPage/ActiveTransactionsPage.tsx +0 -95
- package/pages/LanguagesPage.tsx +0 -43
- package/pages/MainPage/MainMessages.tsx +0 -17
- package/pages/MainPage/MainPage.style.tsx +0 -8
- package/pages/MainPage/MainPage.tsx +0 -59
- package/pages/MainPage/ReviewButton.tsx +0 -71
- package/pages/RoutesPage/RoutesPage.style.ts +0 -6
- package/pages/RoutesPage/RoutesPage.tsx +0 -88
- package/pages/SelectChainPage/SelectChainPage.tsx +0 -56
- package/pages/SelectChainPage/types.ts +0 -5
- package/pages/SelectEnabledToolsPage.tsx +0 -124
- package/pages/SelectNativeTokenPage.tsx +0 -47
- package/pages/SelectTokenPage/SearchTokenInput.style.tsx +0 -6
- package/pages/SelectTokenPage/SearchTokenInput.tsx +0 -48
- package/pages/SelectTokenPage/SelectTokenPage.tsx +0 -60
- package/pages/SelectTokenPage/types.ts +0 -4
- package/pages/SelectTokenPage/useTokenListHeight.ts +0 -115
- package/pages/SendToWallet/BookmarkAddressSheet.tsx +0 -228
- package/pages/SendToWallet/BookmarksPage.tsx +0 -201
- package/pages/SendToWallet/ConfirmAddressSheet.tsx +0 -85
- package/pages/SendToWallet/ConnectedWalletsPage.tsx +0 -172
- package/pages/SendToWallet/EmptyListIndicator.tsx +0 -18
- package/pages/SendToWallet/RecentWalletsPage.tsx +0 -221
- package/pages/SendToWallet/SendToConfiguredWalletPage.tsx +0 -155
- package/pages/SendToWallet/SendToWalletPage.style.tsx +0 -162
- package/pages/SendToWallet/SendToWalletPage.tsx +0 -281
- package/pages/SendToWallet/types.ts +0 -4
- package/pages/SettingsPage/BridgeAndExchangeSettings.tsx +0 -50
- package/pages/SettingsPage/GasPriceSettings.tsx +0 -47
- package/pages/SettingsPage/LanguageSetting.tsx +0 -34
- package/pages/SettingsPage/ResetSettingsButton.style.tsx +0 -12
- package/pages/SettingsPage/ResetSettingsButton.tsx +0 -66
- package/pages/SettingsPage/RoutePrioritySettings.tsx +0 -58
- package/pages/SettingsPage/SettingsCard/BadgedValue.tsx +0 -22
- package/pages/SettingsPage/SettingsCard/SettingCard.style.tsx +0 -21
- package/pages/SettingsPage/SettingsCard/SettingCardExpandable.tsx +0 -50
- package/pages/SettingsPage/SettingsCard/SettingsAccordian.tsx +0 -44
- package/pages/SettingsPage/SettingsCard/types.ts +0 -6
- package/pages/SettingsPage/SettingsPage.tsx +0 -34
- package/pages/SettingsPage/SlippageSettings/SlippageSettings.style.tsx +0 -98
- package/pages/SettingsPage/SlippageSettings/SlippageSettings.tsx +0 -116
- package/pages/SettingsPage/ThemeSettings.tsx +0 -83
- package/pages/TransactionDetailsPage/ContactSupportButton.tsx +0 -32
- package/pages/TransactionDetailsPage/TransactionDetailsPage.tsx +0 -119
- package/pages/TransactionDetailsPage/TransactionDetailsSkeleton.tsx +0 -70
- package/pages/TransactionDetailsPage/TransferIdCard.tsx +0 -67
- package/pages/TransactionHistoryPage/TransactionHistoryEmpty.tsx +0 -34
- package/pages/TransactionHistoryPage/TransactionHistoryItem.tsx +0 -100
- package/pages/TransactionHistoryPage/TransactionHistoryPage.tsx +0 -71
- package/pages/TransactionHistoryPage/TransactionHistorySkeleton.tsx +0 -48
- package/pages/TransactionHistoryPage/constants.ts +0 -1
- package/pages/TransactionPage/ExchangeRateBottomSheet.tsx +0 -161
- package/pages/TransactionPage/RouteTracker.tsx +0 -68
- package/pages/TransactionPage/StartTransactionButton.tsx +0 -30
- package/pages/TransactionPage/StatusBottomSheet.style.tsx +0 -62
- package/pages/TransactionPage/StatusBottomSheet.tsx +0 -324
- package/pages/TransactionPage/TokenValueBottomSheet.tsx +0 -117
- package/pages/TransactionPage/TransactionPage.tsx +0 -229
- package/pages/TransactionPage/types.ts +0 -7
- package/pages/TransactionPage/utils.ts +0 -25
- package/providers/I18nProvider/I18nProvider.tsx +0 -76
- package/providers/I18nProvider/currencyExtendedFormatter.ts +0 -15
- package/providers/I18nProvider/percentFormatter.ts +0 -18
- package/providers/I18nProvider/types.ts +0 -27
- package/providers/ThemeProvider/ThemeProvider.tsx +0 -45
- package/providers/WalletProvider/EVMBaseProvider.tsx +0 -38
- package/providers/WalletProvider/EVMExternalContext.ts +0 -3
- package/providers/WalletProvider/EVMProvider.tsx +0 -26
- package/providers/WalletProvider/SDKProviders.tsx +0 -69
- package/providers/WalletProvider/SVMBaseProvider.tsx +0 -33
- package/providers/WalletProvider/SVMExternalContext.ts +0 -3
- package/providers/WalletProvider/SVMProvider.tsx +0 -27
- package/providers/WalletProvider/UTXOBaseProvider.tsx +0 -28
- package/providers/WalletProvider/UTXOExternalContext.ts +0 -3
- package/providers/WalletProvider/UTXOProvider.tsx +0 -26
- package/providers/WalletProvider/WalletProvider.tsx +0 -36
- package/providers/WalletProvider/useHasExternalWalletProvider.ts +0 -36
- package/providers/WidgetProvider/WidgetProvider.tsx +0 -76
- package/providers/WidgetProvider/types.ts +0 -9
- package/providers/WidgetProvider/utils.ts +0 -26
- package/stores/StoreProvider.tsx +0 -36
- package/stores/bookmarks/BookmarkStore.tsx +0 -41
- package/stores/bookmarks/createBookmarkStore.ts +0 -81
- package/stores/bookmarks/types.ts +0 -29
- package/stores/bookmarks/useBookmarkActions.ts +0 -20
- package/stores/bookmarks/useBookmarks.ts +0 -16
- package/stores/chains/ChainOrderStore.tsx +0 -77
- package/stores/chains/createChainOrderStore.ts +0 -87
- package/stores/chains/types.ts +0 -17
- package/stores/chains/useChainOrder.ts +0 -12
- package/stores/form/FormStore.tsx +0 -143
- package/stores/form/FormStoreContext.ts +0 -4
- package/stores/form/FormUpdater.tsx +0 -100
- package/stores/form/URLSearchParamsBuilder.tsx +0 -86
- package/stores/form/createFormStore.ts +0 -235
- package/stores/form/types.ts +0 -114
- package/stores/form/useFieldActions.ts +0 -20
- package/stores/form/useFieldController.ts +0 -31
- package/stores/form/useFieldValues.ts +0 -14
- package/stores/form/useFormRef.ts +0 -69
- package/stores/form/useFormStore.ts +0 -19
- package/stores/form/useTouchedFields.ts +0 -8
- package/stores/form/useValidation.ts +0 -15
- package/stores/form/useValidationActions.ts +0 -16
- package/stores/header/types.ts +0 -16
- package/stores/header/useHeaderStore.tsx +0 -64
- package/stores/routes/RouteExecutionStore.tsx +0 -46
- package/stores/routes/createRouteExecutionStore.ts +0 -165
- package/stores/routes/types.ts +0 -24
- package/stores/routes/useExecutingRoutesIds.ts +0 -27
- package/stores/routes/useSetExecutableRoute.ts +0 -5
- package/stores/routes/utils.ts +0 -61
- package/stores/settings/types.ts +0 -69
- package/stores/settings/useAppearance.ts +0 -17
- package/stores/settings/useSendToWalletStore.ts +0 -25
- package/stores/settings/useSettings.ts +0 -19
- package/stores/settings/useSettingsStore.ts +0 -191
- package/stores/settings/useSplitSubvariantStore.tsx +0 -64
- package/stores/types.ts +0 -7
- package/themes/azureLight.ts +0 -58
- package/themes/createTheme.ts +0 -414
- package/themes/jumper.ts +0 -37
- package/themes/palettes.ts +0 -52
- package/themes/types.ts +0 -65
- package/themes/utils.ts +0 -18
- package/themes/watermelonLight.ts +0 -64
- package/themes/windows95.ts +0 -101
- package/types/events.ts +0 -67
- package/types/token.ts +0 -6
- package/types/widget.ts +0 -293
- package/utils/chainType.ts +0 -26
- package/utils/colors.ts +0 -53
- package/utils/converters.ts +0 -228
- package/utils/deepMerge.ts +0 -14
- package/utils/elements.ts +0 -10
- package/utils/enum.ts +0 -2
- package/utils/fees.ts +0 -128
- package/utils/format.ts +0 -140
- package/utils/input.ts +0 -29
- package/utils/item.ts +0 -8
- package/utils/navigationRoutes.ts +0 -68
- package/utils/wallet.ts +0 -4
- /package/{i18n → src/i18n}/bn.json +0 -0
- /package/{i18n → src/i18n}/de.json +0 -0
- /package/{i18n → src/i18n}/es.json +0 -0
- /package/{i18n → src/i18n}/fr.json +0 -0
- /package/{i18n → src/i18n}/hi.json +0 -0
- /package/{i18n → src/i18n}/id.json +0 -0
- /package/{i18n → src/i18n}/it.json +0 -0
- /package/{i18n → src/i18n}/ja.json +0 -0
- /package/{i18n → src/i18n}/ko.json +0 -0
- /package/{i18n → src/i18n}/pt.json +0 -0
- /package/{i18n → src/i18n}/th.json +0 -0
- /package/{i18n → src/i18n}/tr.json +0 -0
- /package/{i18n → src/i18n}/uk.json +0 -0
- /package/{i18n → src/i18n}/vi.json +0 -0
- /package/{i18n → src/i18n}/zh.json +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [3.7.0](https://github.com/lifinance/widget/compare/v3.6.2...v3.7.0) (2024-10-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add emitter event on location change ([#304](https://github.com/lifinance/widget/issues/304)) ([d6146f8](https://github.com/lifinance/widget/commit/d6146f83dcc27381d52b95f51e7fdcd05552dc58))
|
|
11
|
+
* add search input to chain, bridges and exchanges pages ([#305](https://github.com/lifinance/widget/issues/305)) ([5504d95](https://github.com/lifinance/widget/commit/5504d95621d11a70ee3fb39108dbd8c0a2417978))
|
|
12
|
+
|
|
13
|
+
### [3.6.2](https://github.com/lifinance/widget/compare/v3.6.1...v3.6.2) (2024-09-24)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* status sheet buttons and height adjustment ([#303](https://github.com/lifinance/widget/issues/303)) ([56db5e4](https://github.com/lifinance/widget/commit/56db5e4033a05a295cf022843c9a359008c70ce5))
|
|
19
|
+
|
|
20
|
+
### [3.6.1](https://github.com/lifinance/widget/compare/v3.6.0...v3.6.1) (2024-09-18)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* trim amount input ([66eed73](https://github.com/lifinance/widget/commit/66eed7386826e7cf0c249ebd2fdc1930ab550f6c))
|
|
26
|
+
|
|
5
27
|
## [3.6.0](https://github.com/lifinance/widget/compare/v3.5.3...v3.6.0) (2024-09-18)
|
|
6
28
|
|
|
7
29
|
|
package/README.md
CHANGED
|
@@ -33,6 +33,12 @@
|
|
|
33
33
|
|
|
34
34
|
LI.FI Widget is available as an [npm package](https://www.npmjs.com/package/@lifi/widget).
|
|
35
35
|
|
|
36
|
+
**pnpm:**
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
pnpm add @lifi/widget
|
|
40
|
+
```
|
|
41
|
+
|
|
36
42
|
**npm:**
|
|
37
43
|
|
|
38
44
|
```sh
|
|
@@ -49,6 +55,12 @@ yarn add @lifi/widget
|
|
|
49
55
|
|
|
50
56
|
LI.FI Wallet Management is available as an [npm package](https://www.npmjs.com/package/@lifi/wallet-management).
|
|
51
57
|
|
|
58
|
+
**pnpm:**
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
pnpm add @lifi/wallet-management
|
|
62
|
+
```
|
|
63
|
+
|
|
52
64
|
**npm:**
|
|
53
65
|
|
|
54
66
|
```sh
|
package/package.json
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifi/widget",
|
|
3
|
-
"version": "3.7.0-beta.
|
|
3
|
+
"version": "3.7.0-beta.10",
|
|
4
4
|
"description": "LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./
|
|
7
|
-
"types": "./
|
|
6
|
+
"main": "./dist/esm/index.js",
|
|
7
|
+
"types": "./dist/esm/index.d.ts",
|
|
8
8
|
"sideEffects": false,
|
|
9
|
-
"publishConfig": {
|
|
10
|
-
"access": "public"
|
|
11
|
-
},
|
|
12
9
|
"author": "Eugene Chybisov <eugene@li.finance>",
|
|
13
10
|
"homepage": "https://github.com/lifinance/widget",
|
|
14
11
|
"repository": {
|
|
@@ -34,16 +31,17 @@
|
|
|
34
31
|
"dependencies": {
|
|
35
32
|
"@emotion/react": "^11.13.3",
|
|
36
33
|
"@emotion/styled": "^11.13.0",
|
|
37
|
-
"@lifi/sdk": "^3.3.0-beta.
|
|
38
|
-
"@lifi/wallet-management": "^3.3.0-beta.0",
|
|
34
|
+
"@lifi/sdk": "^3.3.0-beta.2",
|
|
39
35
|
"@mui/icons-material": "^5.16.7",
|
|
40
36
|
"@mui/lab": "^5.0.0-alpha.173",
|
|
41
37
|
"@mui/material": "^5.16.7",
|
|
38
|
+
"@mui/system": "^5.16.7",
|
|
42
39
|
"@solana/wallet-adapter-base": "^0.9.23",
|
|
43
40
|
"@solana/wallet-adapter-react": "^0.15.35",
|
|
44
41
|
"@solana/web3.js": "^1.95.3",
|
|
45
|
-
"@tanstack/react-query": "^5.
|
|
42
|
+
"@tanstack/react-query": "^5.59.9",
|
|
46
43
|
"@tanstack/react-virtual": "^3.10.8",
|
|
44
|
+
"bs58": "^6.0.0",
|
|
47
45
|
"i18next": "^23.15.1",
|
|
48
46
|
"microdiff": "^1.4.0",
|
|
49
47
|
"mitt": "^3.0.1",
|
|
@@ -52,36 +50,24 @@
|
|
|
52
50
|
"react-i18next": "^15.0.2",
|
|
53
51
|
"react-intersection-observer": "^9.13.1",
|
|
54
52
|
"react-router-dom": "^6.26.2",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
53
|
+
"viem": "^2.21.21",
|
|
54
|
+
"wagmi": "^2.12.16",
|
|
55
|
+
"zustand": "^4.5.5",
|
|
56
|
+
"@lifi/wallet-management": "3.3.0-beta.10"
|
|
59
57
|
},
|
|
60
58
|
"peerDependencies": {
|
|
61
|
-
"@emotion/react": "^11.11.0",
|
|
62
|
-
"@emotion/styled": "^11.11.0",
|
|
63
|
-
"@mui/icons-material": "^5.16.0",
|
|
64
|
-
"@mui/lab": "^5.0.0-alpha.172",
|
|
65
|
-
"@mui/material": "^5.16.0",
|
|
66
|
-
"@solana/wallet-adapter-base": "^0.9.0",
|
|
67
|
-
"@solana/wallet-adapter-react": "^0.15.0",
|
|
68
|
-
"@solana/web3.js": "^1.95.0",
|
|
69
|
-
"@tanstack/react-query": "^5.51.0",
|
|
70
|
-
"i18next": "^23.11.0",
|
|
71
59
|
"react": ">=18",
|
|
72
|
-
"react-dom": ">=18"
|
|
73
|
-
"react-i18next": "^15",
|
|
74
|
-
"react-router-dom": "^6.22.0",
|
|
75
|
-
"viem": "^2.17.0",
|
|
76
|
-
"wagmi": "^2.11.0",
|
|
77
|
-
"zustand": "^4.5.0"
|
|
60
|
+
"react-dom": ">=18"
|
|
78
61
|
},
|
|
79
62
|
"exports": {
|
|
80
63
|
".": {
|
|
81
|
-
"types": "./
|
|
82
|
-
"default": "./
|
|
64
|
+
"types": "./dist/esm/index.d.ts",
|
|
65
|
+
"default": "./dist/esm/index.js"
|
|
66
|
+
},
|
|
67
|
+
"./skeleton": {
|
|
68
|
+
"types": "./dist/esm/components/Skeleton/WidgetSkeleton.d.ts",
|
|
69
|
+
"default": "./dist/esm/components/Skeleton/WidgetSkeleton.js"
|
|
83
70
|
},
|
|
84
|
-
"./package.json": "./package.json"
|
|
85
|
-
"./skeleton": "./_esm/components/Skeleton/WidgetSkeleton.js"
|
|
71
|
+
"./package.json": "./package.json"
|
|
86
72
|
}
|
|
87
73
|
}
|
package/src/App.tsx
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import { forwardRef, useMemo } from 'react'
|
|
3
|
+
import { AppDefault } from './AppDefault.js'
|
|
4
|
+
import type { WidgetDrawer } from './AppDrawer.js'
|
|
5
|
+
import { AppDrawer } from './AppDrawer.js'
|
|
6
|
+
import { AppProvider } from './AppProvider.js'
|
|
7
|
+
import type { WidgetConfig, WidgetProps } from './types/widget.js'
|
|
8
|
+
|
|
9
|
+
export const App = forwardRef<WidgetDrawer, WidgetProps>((props, ref) => {
|
|
10
|
+
const config: WidgetConfig = useMemo(() => {
|
|
11
|
+
const config = { ...props, ...props.config }
|
|
12
|
+
if (config.variant === 'drawer') {
|
|
13
|
+
config.theme = {
|
|
14
|
+
...config.theme,
|
|
15
|
+
container: {
|
|
16
|
+
height: '100%',
|
|
17
|
+
...config.theme?.container,
|
|
18
|
+
},
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return config
|
|
22
|
+
}, [props])
|
|
23
|
+
|
|
24
|
+
if (config.variant === 'drawer') {
|
|
25
|
+
return (
|
|
26
|
+
<AppProvider config={config} formRef={props.formRef}>
|
|
27
|
+
<AppDrawer
|
|
28
|
+
ref={ref}
|
|
29
|
+
elementRef={props.elementRef}
|
|
30
|
+
config={config}
|
|
31
|
+
open={props.open}
|
|
32
|
+
onClose={props.onClose}
|
|
33
|
+
>
|
|
34
|
+
<AppDefault />
|
|
35
|
+
</AppDrawer>
|
|
36
|
+
</AppProvider>
|
|
37
|
+
)
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
<AppProvider config={config} formRef={props.formRef}>
|
|
42
|
+
<AppDefault />
|
|
43
|
+
</AppProvider>
|
|
44
|
+
)
|
|
45
|
+
})
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import { AppRoutes } from './AppRoutes.js'
|
|
3
|
+
import {
|
|
4
|
+
AppContainer,
|
|
5
|
+
AppExpandedContainer,
|
|
6
|
+
FlexContainer,
|
|
7
|
+
} from './components/AppContainer.js'
|
|
8
|
+
import { Header } from './components/Header/Header.js'
|
|
9
|
+
import { Initializer } from './components/Initializer.js'
|
|
10
|
+
import { RoutesExpanded } from './components/Routes/RoutesExpanded.js'
|
|
11
|
+
import { useWideVariant } from './hooks/useWideVariant.js'
|
|
12
|
+
import { useWidgetConfig } from './providers/WidgetProvider/WidgetProvider.js'
|
|
13
|
+
import { ElementId, createElementId } from './utils/elements.js'
|
|
14
|
+
|
|
15
|
+
export const AppDefault = () => {
|
|
16
|
+
const { elementId } = useWidgetConfig()
|
|
17
|
+
const wideVariant = useWideVariant()
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<AppExpandedContainer
|
|
21
|
+
id={createElementId(ElementId.AppExpandedContainer, elementId)}
|
|
22
|
+
>
|
|
23
|
+
<AppContainer>
|
|
24
|
+
<Header />
|
|
25
|
+
<FlexContainer disableGutters>
|
|
26
|
+
<AppRoutes />
|
|
27
|
+
</FlexContainer>
|
|
28
|
+
<Initializer />
|
|
29
|
+
</AppContainer>
|
|
30
|
+
{wideVariant ? <RoutesExpanded /> : null}
|
|
31
|
+
</AppExpandedContainer>
|
|
32
|
+
)
|
|
33
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IconButton, styled } from '@mui/material'
|
|
2
|
+
|
|
3
|
+
export const CloseButtonLayout = styled(IconButton)(() => ({
|
|
4
|
+
position: 'absolute',
|
|
5
|
+
top: '12px',
|
|
6
|
+
right: '26px',
|
|
7
|
+
zIndex: 1,
|
|
8
|
+
height: '40px',
|
|
9
|
+
width: '40px',
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
justifyContent: 'center',
|
|
12
|
+
}))
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Drawer } from '@mui/material'
|
|
2
|
+
import type { PropsWithChildren } from 'react'
|
|
3
|
+
import {
|
|
4
|
+
forwardRef,
|
|
5
|
+
useCallback,
|
|
6
|
+
useImperativeHandle,
|
|
7
|
+
useMemo,
|
|
8
|
+
useRef,
|
|
9
|
+
useState,
|
|
10
|
+
} from 'react'
|
|
11
|
+
import type { WidgetDrawerContext } from './AppDrawerContext.js'
|
|
12
|
+
import { DrawerContext } from './AppDrawerContext.js'
|
|
13
|
+
import type { WidgetDrawerProps } from './types/widget.js'
|
|
14
|
+
|
|
15
|
+
export interface WidgetDrawer {
|
|
16
|
+
isOpen(): void
|
|
17
|
+
toggleDrawer(): void
|
|
18
|
+
openDrawer(): void
|
|
19
|
+
closeDrawer(): void
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const AppDrawer = forwardRef<
|
|
23
|
+
WidgetDrawer,
|
|
24
|
+
PropsWithChildren<WidgetDrawerProps>
|
|
25
|
+
>(({ elementRef, open, onClose, children }, ref) => {
|
|
26
|
+
const openRef = useRef(Boolean(open))
|
|
27
|
+
const [drawerOpen, setDrawerOpen] = useState(Boolean(open))
|
|
28
|
+
|
|
29
|
+
const toggleDrawer = useCallback(() => {
|
|
30
|
+
setDrawerOpen((open) => {
|
|
31
|
+
openRef.current = !open
|
|
32
|
+
return openRef.current
|
|
33
|
+
})
|
|
34
|
+
if (!openRef.current) {
|
|
35
|
+
onClose?.()
|
|
36
|
+
}
|
|
37
|
+
}, [onClose])
|
|
38
|
+
|
|
39
|
+
const openDrawer = useCallback(() => {
|
|
40
|
+
setDrawerOpen(true)
|
|
41
|
+
openRef.current = true
|
|
42
|
+
}, [])
|
|
43
|
+
|
|
44
|
+
const closeDrawer = useCallback(() => {
|
|
45
|
+
setDrawerOpen(false)
|
|
46
|
+
openRef.current = false
|
|
47
|
+
onClose?.()
|
|
48
|
+
}, [onClose])
|
|
49
|
+
|
|
50
|
+
useImperativeHandle(
|
|
51
|
+
ref,
|
|
52
|
+
() => ({
|
|
53
|
+
isOpen: () => openRef.current,
|
|
54
|
+
toggleDrawer,
|
|
55
|
+
openDrawer,
|
|
56
|
+
closeDrawer,
|
|
57
|
+
}),
|
|
58
|
+
[closeDrawer, openDrawer, toggleDrawer]
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
const drawerContext: WidgetDrawerContext = useMemo(
|
|
62
|
+
() => ({
|
|
63
|
+
closeDrawer,
|
|
64
|
+
}),
|
|
65
|
+
[closeDrawer]
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
return (
|
|
69
|
+
<DrawerContext.Provider value={drawerContext}>
|
|
70
|
+
<Drawer
|
|
71
|
+
ref={elementRef}
|
|
72
|
+
anchor="right"
|
|
73
|
+
open={drawerOpen}
|
|
74
|
+
onClose={closeDrawer}
|
|
75
|
+
slotProps={{
|
|
76
|
+
backdrop: {
|
|
77
|
+
sx: {
|
|
78
|
+
backgroundColor: 'rgb(0 0 0 / 48%)',
|
|
79
|
+
backdropFilter: 'blur(3px)',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
}}
|
|
83
|
+
PaperProps={{
|
|
84
|
+
sx: (theme) => ({
|
|
85
|
+
width: theme?.container?.width ?? '100%',
|
|
86
|
+
minWidth: theme?.container?.minWidth ?? theme.breakpoints.values.xs,
|
|
87
|
+
maxWidth: theme?.container?.maxWidth ?? theme.breakpoints.values.sm,
|
|
88
|
+
}),
|
|
89
|
+
}}
|
|
90
|
+
keepMounted
|
|
91
|
+
>
|
|
92
|
+
{children}
|
|
93
|
+
</Drawer>
|
|
94
|
+
</DrawerContext.Provider>
|
|
95
|
+
)
|
|
96
|
+
})
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createContext, useContext } from 'react'
|
|
2
|
+
|
|
3
|
+
export interface WidgetDrawerContext {
|
|
4
|
+
closeDrawer?(): void
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export const DrawerContext = createContext<WidgetDrawerContext>({})
|
|
8
|
+
|
|
9
|
+
export const useDrawer = (): WidgetDrawerContext => useContext(DrawerContext)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { QueryClientProvider } from '@tanstack/react-query'
|
|
2
|
+
import type { PropsWithChildren } from 'react'
|
|
3
|
+
import { Fragment } from 'react'
|
|
4
|
+
import { MemoryRouter, useInRouterContext } from 'react-router-dom'
|
|
5
|
+
import { PageEntered } from './components/PageEntered.js'
|
|
6
|
+
import { queryClient } from './config/queryClient.js'
|
|
7
|
+
import { I18nProvider } from './providers/I18nProvider/I18nProvider.js'
|
|
8
|
+
import { ThemeProvider } from './providers/ThemeProvider/ThemeProvider.js'
|
|
9
|
+
import { WalletProvider } from './providers/WalletProvider/WalletProvider.js'
|
|
10
|
+
import {
|
|
11
|
+
WidgetProvider,
|
|
12
|
+
useWidgetConfig,
|
|
13
|
+
} from './providers/WidgetProvider/WidgetProvider.js'
|
|
14
|
+
import { StoreProvider } from './stores/StoreProvider.js'
|
|
15
|
+
import { URLSearchParamsBuilder } from './stores/form/URLSearchParamsBuilder.js'
|
|
16
|
+
import type { WidgetConfigProps } from './types/widget.js'
|
|
17
|
+
|
|
18
|
+
export const AppProvider: React.FC<PropsWithChildren<WidgetConfigProps>> = ({
|
|
19
|
+
children,
|
|
20
|
+
config,
|
|
21
|
+
formRef,
|
|
22
|
+
}) => {
|
|
23
|
+
return (
|
|
24
|
+
<QueryClientProvider client={queryClient}>
|
|
25
|
+
<WidgetProvider config={config}>
|
|
26
|
+
<I18nProvider>
|
|
27
|
+
<ThemeProvider>
|
|
28
|
+
<WalletProvider>
|
|
29
|
+
<StoreProvider config={config} formRef={formRef}>
|
|
30
|
+
<AppRouter>{children}</AppRouter>
|
|
31
|
+
</StoreProvider>
|
|
32
|
+
</WalletProvider>
|
|
33
|
+
</ThemeProvider>
|
|
34
|
+
</I18nProvider>
|
|
35
|
+
</WidgetProvider>
|
|
36
|
+
</QueryClientProvider>
|
|
37
|
+
)
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export const AppRouter: React.FC<PropsWithChildren> = ({ children }) => {
|
|
41
|
+
const { buildUrl } = useWidgetConfig()
|
|
42
|
+
const inRouterContext = useInRouterContext()
|
|
43
|
+
const Router = inRouterContext ? Fragment : MemoryRouter
|
|
44
|
+
return (
|
|
45
|
+
<Router>
|
|
46
|
+
{children}
|
|
47
|
+
{buildUrl ? <URLSearchParamsBuilder /> : null}
|
|
48
|
+
<PageEntered />
|
|
49
|
+
</Router>
|
|
50
|
+
)
|
|
51
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { RouteObject } from 'react-router-dom'
|
|
2
|
+
import { useRoutes } from 'react-router-dom'
|
|
3
|
+
import { NotFound } from './components/NotFound.js'
|
|
4
|
+
import { ActiveTransactionsPage } from './pages/ActiveTransactionsPage/ActiveTransactionsPage.js'
|
|
5
|
+
import { LanguagesPage } from './pages/LanguagesPage.js'
|
|
6
|
+
import { MainPage } from './pages/MainPage/MainPage.js'
|
|
7
|
+
import { RoutesPage } from './pages/RoutesPage/RoutesPage.js'
|
|
8
|
+
import { SelectChainPage } from './pages/SelectChainPage/SelectChainPage.js'
|
|
9
|
+
import { SelectEnabledToolsPage } from './pages/SelectEnabledToolsPage.js'
|
|
10
|
+
import { SelectTokenPage } from './pages/SelectTokenPage/SelectTokenPage.js'
|
|
11
|
+
import { BookmarksPage } from './pages/SendToWallet/BookmarksPage.js'
|
|
12
|
+
import { ConnectedWalletsPage } from './pages/SendToWallet/ConnectedWalletsPage.js'
|
|
13
|
+
import { RecentWalletsPage } from './pages/SendToWallet/RecentWalletsPage.js'
|
|
14
|
+
import { SendToConfiguredWalletPage } from './pages/SendToWallet/SendToConfiguredWalletPage.js'
|
|
15
|
+
import { SendToWalletPage } from './pages/SendToWallet/SendToWalletPage.js'
|
|
16
|
+
import { SettingsPage } from './pages/SettingsPage/SettingsPage.js'
|
|
17
|
+
import { TransactionDetailsPage } from './pages/TransactionDetailsPage/TransactionDetailsPage.js'
|
|
18
|
+
import { TransactionHistoryPage } from './pages/TransactionHistoryPage/TransactionHistoryPage.js'
|
|
19
|
+
import { TransactionPage } from './pages/TransactionPage/TransactionPage.js'
|
|
20
|
+
import { navigationRoutes } from './utils/navigationRoutes.js'
|
|
21
|
+
|
|
22
|
+
const routes: RouteObject[] = [
|
|
23
|
+
{
|
|
24
|
+
path: '/',
|
|
25
|
+
element: <MainPage />,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
path: navigationRoutes.settings,
|
|
29
|
+
element: <SettingsPage />,
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
path: `${navigationRoutes.settings}/${navigationRoutes.bridges}`,
|
|
33
|
+
element: <SelectEnabledToolsPage type="Bridges" />,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
path: `${navigationRoutes.settings}/${navigationRoutes.exchanges}`,
|
|
37
|
+
element: <SelectEnabledToolsPage type="Exchanges" />,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
path: `${navigationRoutes.settings}/${navigationRoutes.languages}`,
|
|
41
|
+
element: <LanguagesPage />,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
path: navigationRoutes.fromToken,
|
|
45
|
+
element: <SelectTokenPage formType="from" />,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
path: navigationRoutes.toToken,
|
|
49
|
+
element: <SelectTokenPage formType="to" />,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
path: navigationRoutes.toTokenNative,
|
|
53
|
+
element: <SelectChainPage formType="to" selectNativeToken />,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
path: `${navigationRoutes.fromToken}?/${navigationRoutes.fromChain}`,
|
|
57
|
+
element: <SelectChainPage formType="from" />,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
path: `${navigationRoutes.toToken}?/${navigationRoutes.toChain}`,
|
|
61
|
+
element: <SelectChainPage formType="to" />,
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
path: navigationRoutes.routes,
|
|
65
|
+
element: <RoutesPage />,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
path: navigationRoutes.activeTransactions,
|
|
69
|
+
element: <ActiveTransactionsPage />,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
path: navigationRoutes.sendToWallet,
|
|
73
|
+
element: <SendToWalletPage />,
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
path: `${navigationRoutes.sendToWallet}/${navigationRoutes.bookmarks}`,
|
|
77
|
+
element: <BookmarksPage />,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
path: `${navigationRoutes.sendToWallet}/${navigationRoutes.recentWallets}`,
|
|
81
|
+
element: <RecentWalletsPage />,
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
path: `${navigationRoutes.sendToWallet}/${navigationRoutes.connectedWallets}`,
|
|
85
|
+
element: <ConnectedWalletsPage />,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
path: navigationRoutes.configuredWallets,
|
|
89
|
+
element: <SendToConfiguredWalletPage />,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
path: navigationRoutes.transactionHistory,
|
|
93
|
+
element: <TransactionHistoryPage />,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
path: `${navigationRoutes.transactionHistory}?/${navigationRoutes.routes}?/${navigationRoutes.transactionExecution}?/${navigationRoutes.transactionDetails}`,
|
|
97
|
+
element: <TransactionDetailsPage />,
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
path: `${navigationRoutes.routes}?/${navigationRoutes.activeTransactions}?/${navigationRoutes.transactionExecution}`,
|
|
101
|
+
element: <TransactionPage />,
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
path: '*',
|
|
105
|
+
element: <NotFound />,
|
|
106
|
+
},
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
export const AppRoutes = () => {
|
|
110
|
+
const element = useRoutes(routes)
|
|
111
|
+
return element
|
|
112
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { ArrowForward, ErrorRounded, InfoRounded } from '@mui/icons-material'
|
|
2
|
+
import { ListItemAvatar, ListItemText, Typography } from '@mui/material'
|
|
3
|
+
import { useNavigate } from 'react-router-dom'
|
|
4
|
+
import { useProcessMessage } from '../../hooks/useProcessMessage.js'
|
|
5
|
+
import { useRouteExecution } from '../../hooks/useRouteExecution.js'
|
|
6
|
+
import { RouteExecutionStatus } from '../../stores/routes/types.js'
|
|
7
|
+
import { navigationRoutes } from '../../utils/navigationRoutes.js'
|
|
8
|
+
import { TokenAvatarGroup } from '../Avatar/Avatar.style.js'
|
|
9
|
+
import { TokenAvatar } from '../Avatar/TokenAvatar.js'
|
|
10
|
+
import { StepTimer } from '../Step/StepTimer.js'
|
|
11
|
+
import { ListItem, ListItemButton } from './ActiveTransactions.style.js'
|
|
12
|
+
|
|
13
|
+
export const ActiveTransactionItem: React.FC<{
|
|
14
|
+
routeId: string
|
|
15
|
+
dense?: boolean
|
|
16
|
+
}> = ({ routeId, dense }) => {
|
|
17
|
+
const navigate = useNavigate()
|
|
18
|
+
const { route, status } = useRouteExecution({
|
|
19
|
+
routeId,
|
|
20
|
+
executeInBackground: true,
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
const lastActiveStep = route?.steps.findLast((step) => step.execution)
|
|
24
|
+
const lastActiveProcess = lastActiveStep?.execution?.process.at(-1)
|
|
25
|
+
|
|
26
|
+
const { title } = useProcessMessage(lastActiveStep, lastActiveProcess)
|
|
27
|
+
|
|
28
|
+
if (!route || !lastActiveStep) {
|
|
29
|
+
return null
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const handleClick = () => {
|
|
33
|
+
navigate(navigationRoutes.transactionExecution, { state: { routeId } })
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const getStatusComponent = () => {
|
|
37
|
+
switch (lastActiveProcess?.status) {
|
|
38
|
+
case 'ACTION_REQUIRED':
|
|
39
|
+
return <InfoRounded color="info" fontSize="small" />
|
|
40
|
+
case 'FAILED':
|
|
41
|
+
return <ErrorRounded color="error" fontSize="small" />
|
|
42
|
+
default:
|
|
43
|
+
return (
|
|
44
|
+
<Typography fontSize={14} fontWeight={600}>
|
|
45
|
+
<StepTimer step={lastActiveStep} hideInProgress />
|
|
46
|
+
</Typography>
|
|
47
|
+
)
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const ListItemComponent = dense ? ListItem : ListItemButton
|
|
52
|
+
|
|
53
|
+
return (
|
|
54
|
+
<ListItemComponent onClick={handleClick} dense disableRipple={dense}>
|
|
55
|
+
<ListItemAvatar>
|
|
56
|
+
<TokenAvatarGroup total={2}>
|
|
57
|
+
<TokenAvatar token={route.fromToken} />
|
|
58
|
+
<TokenAvatar token={route.toToken} />
|
|
59
|
+
</TokenAvatarGroup>
|
|
60
|
+
</ListItemAvatar>
|
|
61
|
+
<ListItemText
|
|
62
|
+
sx={{ margin: 0 }}
|
|
63
|
+
disableTypography
|
|
64
|
+
primary={
|
|
65
|
+
<Typography
|
|
66
|
+
fontWeight={500}
|
|
67
|
+
lineHeight={1}
|
|
68
|
+
sx={{
|
|
69
|
+
display: 'flex',
|
|
70
|
+
alignItems: 'center',
|
|
71
|
+
marginLeft: 2,
|
|
72
|
+
height: 16,
|
|
73
|
+
}}
|
|
74
|
+
>
|
|
75
|
+
{route.fromToken.symbol}
|
|
76
|
+
<ArrowForward sx={{ paddingX: 0.5 }} />
|
|
77
|
+
{route.toToken.symbol}
|
|
78
|
+
</Typography>
|
|
79
|
+
}
|
|
80
|
+
secondary={
|
|
81
|
+
status !== RouteExecutionStatus.Done ? (
|
|
82
|
+
<Typography
|
|
83
|
+
fontWeight={400}
|
|
84
|
+
fontSize={12}
|
|
85
|
+
color="text.secondary"
|
|
86
|
+
lineHeight={1}
|
|
87
|
+
mt={0.75}
|
|
88
|
+
ml={2}
|
|
89
|
+
>
|
|
90
|
+
{title}
|
|
91
|
+
</Typography>
|
|
92
|
+
) : null
|
|
93
|
+
}
|
|
94
|
+
/>
|
|
95
|
+
{getStatusComponent()}
|
|
96
|
+
</ListItemComponent>
|
|
97
|
+
)
|
|
98
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Button,
|
|
3
|
+
ListItem as MuiListItem,
|
|
4
|
+
ListItemButton as MuiListItemButton,
|
|
5
|
+
listItemSecondaryActionClasses,
|
|
6
|
+
styled,
|
|
7
|
+
} from '@mui/material'
|
|
8
|
+
import { getContrastAlphaColor } from '../../utils/colors.js'
|
|
9
|
+
|
|
10
|
+
export const ListItemButton = styled(MuiListItemButton)(({ theme }) => ({
|
|
11
|
+
borderRadius: theme.shape.borderRadius,
|
|
12
|
+
paddingLeft: theme.spacing(1.5),
|
|
13
|
+
paddingRight: theme.spacing(1.5),
|
|
14
|
+
height: 64,
|
|
15
|
+
'&:hover': {
|
|
16
|
+
backgroundColor: getContrastAlphaColor(theme, 0.04),
|
|
17
|
+
},
|
|
18
|
+
}))
|
|
19
|
+
|
|
20
|
+
export const ListItem = styled(MuiListItem, {
|
|
21
|
+
shouldForwardProp: (prop) => prop !== 'disableRipple',
|
|
22
|
+
})(({ theme }) => ({
|
|
23
|
+
padding: theme.spacing(0, 2),
|
|
24
|
+
[`.${listItemSecondaryActionClasses.root}`]: {
|
|
25
|
+
right: theme.spacing(3),
|
|
26
|
+
},
|
|
27
|
+
'&:hover': {
|
|
28
|
+
cursor: 'pointer',
|
|
29
|
+
},
|
|
30
|
+
}))
|
|
31
|
+
|
|
32
|
+
export const ShowAllButton = styled(Button)(({ theme }) => ({
|
|
33
|
+
background: 'none',
|
|
34
|
+
'&:hover': {
|
|
35
|
+
background: 'none',
|
|
36
|
+
},
|
|
37
|
+
padding: theme.spacing(0.75, 2),
|
|
38
|
+
fontSize: '0.875rem',
|
|
39
|
+
}))
|