From 906661153e4bda0d280ebfc4b8deaf226dc9386c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Leszczyk?= Date: Thu, 1 Aug 2024 13:02:14 +0200 Subject: [PATCH] chore: update k2-components to core-k2-components --- package.json | 20 +-- src/components/common/AddressK2.tsx | 2 +- src/components/common/AppBackground.tsx | 2 +- src/components/common/ArcProgress.tsx | 2 +- src/components/common/BNInput.tsx | 2 +- src/components/common/BalanceColumn.tsx | 2 +- .../common/CameraAccessDeniedDialog.tsx | 2 +- .../common/CameraAccessPromptDialog.tsx | 2 +- src/components/common/ConfirmationTracker.tsx | 2 +- .../common/ConnectionIndicatorK2.tsx | 2 +- src/components/common/ContainedDropdown.tsx | 2 +- src/components/common/CustomFees.tsx | 2 +- src/components/common/CustomGasSettings.tsx | 2 +- src/components/common/Dialog.tsx | 2 +- src/components/common/Dropdown.tsx | 2 +- src/components/common/EmptyContent.tsx | 2 +- src/components/common/Flipper.tsx | 2 +- src/components/common/FunctionIsOffline.tsx | 6 +- .../common/FunctionIsUnavailable.tsx | 2 +- .../common/InAppApprovalOverlay.tsx | 2 +- src/components/common/InlineBold.tsx | 2 +- src/components/common/InlineTokenEllipsis.tsx | 2 +- src/components/common/InvalidQRCodeDialog.tsx | 2 +- src/components/common/LoadingOverlay.tsx | 2 +- src/components/common/NetworkLogo.tsx | 7 +- src/components/common/NetworkLogoK2.tsx | 2 +- .../common/NotSupportedByWallet.tsx | 2 +- src/components/common/Overlay.tsx | 2 +- src/components/common/PageTitle.tsx | 2 +- src/components/common/PasswordStrength.tsx | 7 +- src/components/common/ProfitAndLoss.tsx | 2 +- src/components/common/QRCodeWithLogo.tsx | 2 +- src/components/common/SimpleAddress.tsx | 2 +- src/components/common/SiteAvatar.tsx | 2 +- src/components/common/StyledNumberList.tsx | 2 +- src/components/common/TestnetBanner.tsx | 7 +- src/components/common/TextFieldLabel.tsx | 2 +- src/components/common/TokenAmount.tsx | 2 +- src/components/common/TokenCard.tsx | 2 +- .../common/TokenCardWithBalance.tsx | 2 +- src/components/common/TokenEllipsis.tsx | 2 +- src/components/common/TokenIcon.tsx | 6 +- src/components/common/TokenSelect.tsx | 2 +- src/components/common/TokenSelector.tsx | 2 +- src/components/common/TxWarningBox.tsx | 2 +- src/components/common/VerticalStack.tsx | 2 +- src/components/common/VirtualizedList.tsx | 2 +- src/components/common/WalletChip.tsx | 7 +- .../common/account/AccountSelectorButton.tsx | 2 +- .../common/approval/ApprovalSection.tsx | 2 +- .../common/approval/TxDetailsRow.tsx | 2 +- src/components/common/fab/FAB.tsx | 2 +- src/components/common/header/Header.tsx | 2 +- .../NetworkSwitcher/NetworkSwitcher.tsx | 2 +- .../common/infiniteScroll/InfiniteScroll.tsx | 6 +- .../common/scrollbars/Scrollbars.tsx | 2 +- .../common/seedless/SeedlessAuthPrompt.tsx | 2 +- .../components/AuthenticationError.tsx | 6 +- .../seedless/components/ExportError.tsx | 2 +- .../seedless/components/ExportPending.tsx | 2 +- .../seedless/components/FIDOChallenge.tsx | 2 +- .../seedless/components/MfaChoicePrompt.tsx | 2 +- .../components/PhraseReadyToExport.tsx | 2 +- .../seedless/components/RecoveryMethod.tsx | 2 +- .../seedless/components/TOTPChallenge.tsx | 7 +- .../components/WaitingForAuthentication.tsx | 6 +- .../dialogs/AnalyticsOptInDialog.tsx | 2 +- src/components/icons/BrandName.tsx | 2 +- .../icons/CameraAccessDeniedIcon.tsx | 2 +- src/components/icons/DangerIcon.tsx | 2 +- src/components/icons/InvalidQRCodeIcon.tsx | 6 +- src/components/icons/QRCodeLogos.tsx | 2 +- src/components/ledger/LedgerConnector.tsx | 2 +- src/components/ledger/LedgerTroublesSteps.tsx | 2 +- src/components/settings/SettingsHeader.tsx | 2 +- src/components/settings/SettingsMenu.tsx | 2 +- .../settings/components/ContactForm.tsx | 2 +- .../settings/components/ContactInfo.tsx | 2 +- .../settings/components/ContactListItem.tsx | 2 +- .../settings/components/ContactProfile.tsx | 2 +- .../components/StyledListItemButton.tsx | 2 +- src/components/settings/pages/AddContact.tsx | 2 +- src/components/settings/pages/Advanced.tsx | 2 +- .../settings/pages/ChangePassword.tsx | 2 +- .../settings/pages/ConnectedSites.tsx | 2 +- src/components/settings/pages/ContactList.tsx | 2 +- src/components/settings/pages/Currencies.tsx | 2 +- .../settings/pages/ExportRecoveryPhrase.tsx | 2 +- src/components/settings/pages/Feedback.tsx | 2 +- src/components/settings/pages/Language.tsx | 2 +- src/components/settings/pages/Ledger.tsx | 2 +- src/components/settings/pages/Legal.tsx | 2 +- src/components/settings/pages/MainPage.tsx | 2 +- .../RecoveryMethods/AddNewRecoveryMethod.tsx | 2 +- .../RecoveryMethods/AuthenticatorDetails.tsx | 2 +- .../AuthenticatorVerifyScreen.tsx | 2 +- .../pages/RecoveryMethods/FIDODetails.tsx | 2 +- .../pages/RecoveryMethods/RecoveryMethods.tsx | 2 +- .../RecoveryMethods/RecoveryMethodsList.tsx | 2 +- .../settings/pages/RecoveryPhrase.tsx | 2 +- .../settings/pages/SecurityAndPrivacy.tsx | 2 +- src/contexts/OnboardingProvider.tsx | 2 +- src/hooks/useApprovalHelpers.ts | 2 +- src/hooks/useKeystoneScannerContents.tsx | 2 +- src/hooks/useSeedlessMfa.tsx | 6 +- src/pages/Accounts/AccountBalance.tsx | 2 +- src/pages/Accounts/AccountDetailsView.tsx | 2 +- src/pages/Accounts/AccountItemChip.tsx | 2 +- src/pages/Accounts/Accounts.tsx | 2 +- src/pages/Accounts/AddAccountError.tsx | 2 +- .../Accounts/AddWalletWithKeystoreFile.tsx | 2 +- src/pages/Accounts/AddWalletWithLedger.tsx | 2 +- .../Accounts/AddWalletWithSeedPhrase.tsx | 2 +- .../components/AccountDetailsAddressRow.tsx | 2 +- src/pages/Accounts/components/AccountItem.tsx | 2 +- .../Accounts/components/AccountItemMenu.tsx | 2 +- src/pages/Accounts/components/AccountList.tsx | 2 +- .../components/AccountListPrimary.tsx | 2 +- .../Accounts/components/AccountNameInput.tsx | 2 +- .../components/AccountsActionButton.tsx | 2 +- .../ConfirmAccountRemovalDialog.tsx | 2 +- .../components/CurrentAddressSneakPeek.tsx | 2 +- .../components/KeystoreFileConfirmation.tsx | 2 +- .../Accounts/components/KeystoreFileError.tsx | 2 +- .../components/KeystoreFileUpload.tsx | 2 +- .../Accounts/components/MenuFilterItem.tsx | 7 +- .../Accounts/components/NameYourWallet.tsx | 7 +- .../Accounts/components/NoAccountsFound.tsx | 2 +- .../Accounts/components/WalletTypeIcon.tsx | 2 +- src/pages/Accounts/components/XPChainIcon.tsx | 2 +- src/pages/Activity/Activity.tsx | 2 +- src/pages/ApproveAction/ApproveAction.tsx | 2 +- src/pages/ApproveAction/AvalancheSignTx.tsx | 2 +- src/pages/ApproveAction/BitcoinSignTx.tsx | 2 +- .../ApproveAction/BridgeTransferAsset.tsx | 2 +- src/pages/ApproveAction/SelectWallet.tsx | 2 +- src/pages/ApproveAction/SetDeveloperMode.tsx | 2 +- src/pages/ApproveAction/UpdateContacts.tsx | 2 +- .../components/ApproveAddDelegator.tsx | 7 +- .../ApproveAddPermissionlessDelegator.tsx | 2 +- .../ApproveAddPermissionlessValidator.tsx | 2 +- .../components/ApproveAddSubnetValidator.tsx | 2 +- .../components/ApproveAddValidator.tsx | 2 +- .../components/ApproveBaseTx.tsx | 2 +- .../components/ApproveCreateChain.tsx | 2 +- .../components/ApproveCreateSubnet.tsx | 2 +- .../components/ApproveExportTx.tsx | 2 +- .../components/ApproveImportTx.tsx | 2 +- .../components/AvalancheTxHeader.tsx | 2 +- .../ApproveAction/components/AvaxAmount.tsx | 2 +- .../components/BlockchainGenesisFile.tsx | 2 +- .../components/ExcessiveBurnWarningDialog.tsx | 2 +- .../components/TruncatedIdentifier.tsx | 2 +- src/pages/Bridge/Bridge.tsx | 2 +- src/pages/Bridge/BridgeConfirmation.tsx | 2 +- src/pages/Bridge/BridgeTransactionStatus.tsx | 2 +- src/pages/Bridge/components/BridgeCard.tsx | 2 +- .../Bridge/components/BridgeSanctions.tsx | 6 +- .../components/BridgeUnknownNetwork.tsx | 2 +- src/pages/Bridge/components/ElapsedTimer.tsx | 2 +- .../Bridge/components/NetworkSelector.tsx | 2 +- .../Bridge/components/OffloadTimerTooltip.tsx | 2 +- src/pages/Collectibles/CollectibleDetails.tsx | 2 +- src/pages/Collectibles/CollectibleSend.tsx | 2 +- src/pages/Collectibles/Collectibles.tsx | 2 +- src/pages/Collectibles/SendEVMCollectible.tsx | 2 +- .../components/CollectibleGrid.tsx | 2 +- .../components/CollectibleList.tsx | 2 +- .../components/CollectibleListEmpty.tsx | 2 +- .../components/CollectibleMedia.tsx | 2 +- .../components/CollectibleSkeleton.tsx | 2 +- .../components/CollectibleWrapper.tsx | 2 +- .../Collectibles/components/ImageWrapper.tsx | 2 +- src/pages/DeFi/DeFi.tsx | 2 +- src/pages/DeFi/DefiProtocolDetails.tsx | 2 +- src/pages/DeFi/components/DefiErrorState.tsx | 2 +- .../DeFi/components/DefiPortfolioCommon.tsx | 2 +- .../components/DefiPortfolioInsurance.tsx | 2 +- .../components/DefiPortfolioItemGroup.tsx | 2 +- .../DeFi/components/DefiPortfolioLending.tsx | 2 +- .../components/DefiPortfolioPerpetual.tsx | 7 +- .../DeFi/components/DefiPortfolioRewards.tsx | 2 +- .../DeFi/components/DefiPortfolioVesting.tsx | 2 +- .../components/DefiProtocolDetailsHeader.tsx | 2 +- .../DeFi/components/DefiProtocolListItem.tsx | 2 +- .../DeFi/components/DefiTokenAvatarGroup.tsx | 2 +- src/pages/DeFi/components/DefiZeroState.tsx | 7 +- src/pages/ExportPrivateKey/EnterPassword.tsx | 2 +- .../ExportPrivateKey/ExportPrivateKey.tsx | 2 +- src/pages/ExportPrivateKey/ShowPrivateKey.tsx | 2 +- src/pages/Fireblocks/ConnectBitcoinWallet.tsx | 2 +- .../components/FireblocksAvatar.tsx | 2 +- .../components/FireblocksBitcoinDialog.tsx | 2 +- src/pages/Home/Home.tsx | 2 +- .../Home/components/Portfolio/Assets.tsx | 2 +- .../NetworkWidget/ActiveNetworkWidget.tsx | 2 +- .../Portfolio/NetworkWidget/Assetlist.tsx | 2 +- .../Portfolio/NetworkWidget/NetworkList.tsx | 2 +- .../NetworkWidget/NetworksWidget.tsx | 2 +- .../PchainActiveNetworkWidgetContent.tsx | 2 +- .../NetworkWidget/SeeAllNetworksButton.tsx | 2 +- .../XchainActiveNetworkWidgetContent.tsx | 2 +- .../Portfolio/NetworkWidget/ZeroWidget.tsx | 7 +- .../NetworkWidget/common/NetworkCard.tsx | 2 +- .../Home/components/Portfolio/Portfolio.tsx | 2 +- .../Home/components/Portfolio/TokenList.tsx | 2 +- .../components/Portfolio/WalletBalances.tsx | 2 +- .../components/Portfolio/WalletIsEmpty.tsx | 7 +- .../ImportPrivateKey/ImportPrivateKey.tsx | 2 +- .../components/DerivedAddress.tsx | 2 +- .../ImportWithWalletConnect.tsx | 2 +- .../components/WalletConnectCircledIcon.tsx | 2 +- .../components/WalletConnectConnector.tsx | 2 +- .../components/WalletConnectQRCode.tsx | 2 +- .../components/WalletConnectStatusMessage.tsx | 2 +- .../components/WalletConnectURIField.tsx | 2 +- src/pages/Ledger/Connect.tsx | 2 +- src/pages/Ledger/LedgerDisconnected.tsx | 2 +- src/pages/Ledger/LedgerIncorrectApp.tsx | 2 +- src/pages/Ledger/LedgerIncorrectDevice.tsx | 2 +- .../Ledger/LedgerRegisterBtcWalletPolicy.tsx | 2 +- src/pages/Ledger/LedgerWrongVersion.tsx | 2 +- .../Ledger/LedgerWrongVersionOverlay.tsx | 2 +- src/pages/ManageTokens/AddToken.tsx | 2 +- src/pages/ManageTokens/AddTokenApproval.tsx | 2 +- src/pages/ManageTokens/ManageTokens.tsx | 2 +- src/pages/ManageTokens/ManageTokensList.tsx | 7 +- src/pages/Network/AddCustomNetworkPopup.tsx | 2 +- src/pages/Network/SwitchActiveNetwork.tsx | 2 +- src/pages/Networks/AddNetwork.tsx | 2 +- src/pages/Networks/CustomsTab.tsx | 2 +- src/pages/Networks/EditNetwork.tsx | 2 +- src/pages/Networks/FavoritesTab.tsx | 2 +- src/pages/Networks/NetworkDetails.tsx | 2 +- src/pages/Networks/NetworkDetailsDialogs.tsx | 2 +- src/pages/Networks/NetworkForm.tsx | 2 +- src/pages/Networks/NetworkRpcHeaders.tsx | 2 +- .../Networks/NetworkRpcHeadersManager.tsx | 2 +- src/pages/Networks/Networks.tsx | 2 +- src/pages/Networks/NetworksTab.tsx | 2 +- src/pages/Networks/common/NetworkList.tsx | 2 +- src/pages/Networks/common/NetworkListItem.ts | 2 +- src/pages/Networks/common/NetworkLogo.ts | 2 +- src/pages/Onboarding/Onboarding.tsx | 2 +- .../components/DerivationPathDropDown.tsx | 7 +- .../components/DerivedAddresses.tsx | 2 +- .../components/LanguageSelector.tsx | 2 +- .../Onboarding/components/OnboardButton.tsx | 2 +- .../components/OnboardingStepHeader.tsx | 2 +- src/pages/Onboarding/components/PageNav.tsx | 2 +- .../Onboarding/components/PageTracker.tsx | 2 +- .../Onboarding/components/TypographyLink.tsx | 2 +- .../components/WordsLengthSelector.tsx | 2 +- .../Onboarding/hooks/useSeedlessActions.ts | 2 +- .../Onboarding/pages/AnalyticsConsent.tsx | 7 +- src/pages/Onboarding/pages/CreatePassword.tsx | 2 +- .../pages/CreateWallet/ConfirmMnemonic.tsx | 7 +- .../pages/CreateWallet/ConfirmPhrase.tsx | 2 +- .../pages/CreateWallet/CopyPhrase.tsx | 7 +- .../pages/CreateWallet/ShowMnemonic.tsx | 2 +- src/pages/Onboarding/pages/ImportWallet.tsx | 2 +- .../Onboarding/pages/Keystone/Keystone.tsx | 2 +- .../pages/Keystone/KeystoneQRCodeScanner.tsx | 2 +- .../Onboarding/pages/Ledger/LedgerConnect.tsx | 2 +- .../Onboarding/pages/Ledger/LedgerTrouble.tsx | 2 +- .../pages/Seedless/RecoveryMethods.tsx | 2 +- .../pages/Seedless/RecoveryMethodsLogin.tsx | 2 +- .../pages/Seedless/components/AppleButton.tsx | 2 +- .../components/ExistingWalletButton.tsx | 2 +- .../Seedless/components/GoogleButton.tsx | 2 +- .../pages/Seedless/components/MethodCard.tsx | 2 +- .../Seedless/modals/AuthenticatorModal.tsx | 2 +- .../pages/Seedless/modals/FIDOModal.tsx | 2 +- .../pages/Seedless/modals/TOTPModal.tsx | 2 +- .../Seedless/modals/VerifyGoBackModal.tsx | 2 +- .../pages/Welcome/SignUpWithSeedless.tsx | 2 +- .../Onboarding/pages/Welcome/Welcome.tsx | 2 +- src/pages/Permissions/Permissions.tsx | 2 +- .../components/AccountsDropdown.tsx | 2 +- src/pages/Permissions/components/AlertBox.tsx | 2 +- .../Permissions/components/AlertDialog.tsx | 2 +- .../Permissions/components/WarningBox.tsx | 2 +- src/pages/Receive/Receive.tsx | 6 +- .../SeedlessPopups/SeedlessAuthPopup.tsx | 2 +- .../SeedlessPopups/SeedlessExportPopup.tsx | 2 +- .../SeedlessPopups/SeedlessRemoveTotp.tsx | 2 +- .../SeedlessUpdateRecoveryMethod.tsx | 2 +- src/pages/Send/Send.tsx | 2 +- .../Send/components/AddressDropdownList.tsx | 2 +- .../components/AddressDropdownListItem.tsx | 2 +- .../AddressDropdownListMyAccounts.tsx | 2 +- src/pages/Send/components/ContactAddress.tsx | 2 +- src/pages/Send/components/ContactInput.tsx | 2 +- src/pages/Send/components/ContactSelect.tsx | 2 +- src/pages/Send/components/LoadingSendForm.tsx | 2 +- src/pages/Send/components/SendForm.tsx | 2 +- .../Send/components/TruncatedAddress.tsx | 2 +- src/pages/SignMessage/SignMessage.tsx | 2 +- src/pages/SignMessage/components/EthSign.tsx | 7 +- .../SignMessage/components/PersonalSign.tsx | 7 +- .../components/ScrollableMessageCard.tsx | 2 +- src/pages/SignMessage/components/SignData.tsx | 2 +- .../SignMessage/components/SignDataV3.tsx | 2 +- .../SignMessage/components/SignDataV4.tsx | 2 +- src/pages/SignTransaction/SignTransaction.tsx | 2 +- .../components/ApprovalTxDetails.tsx | 2 +- .../FireblocksApprovalOverlay.tsx | 2 +- .../FireblocksApprovalReview.tsx | 2 +- .../components/KeystoneApprovalOverlay.tsx | 2 +- .../components/LedgerApprovalDialog.tsx | 2 +- .../components/LedgerApprovalOverlay.tsx | 2 +- .../components/LedgerDisconnectDialog.tsx | 6 +- .../components/NftAccordion.tsx | 2 +- .../components/RawTransactionData.tsx | 2 +- .../RemoteApprovalConfirmation.tsx | 7 +- .../RemoteApproval/RemoteApprovalDialog.tsx | 7 +- .../components/SignTxErrorBoundary.tsx | 2 +- .../SpendLimitInfo/CustomSpendLimit.tsx | 2 +- .../NftCollectionSpendLimit.tsx | 2 +- .../SpendLimitInfo/NftSpendLimit.tsx | 2 +- .../SpendLimitInfo/TokenSpendLimit.tsx | 2 +- .../ApproveContractCallDetails.tsx | 2 +- .../ApproveNftCollectionDetails.tsx | 2 +- .../ApproveNftDetails.tsx | 2 +- .../ApproveSendDetails.tsx | 2 +- .../ApproveTokenDetails.tsx | 2 +- .../components/TransactionErrorDialog.tsx | 2 +- .../components/TransactionTokenCard.tsx | 2 +- .../components/TxBalanceChange.tsx | 2 +- .../WalletConnectApprovalConnect.tsx | 2 +- .../WalletConnectApprovalOverlay.tsx | 2 +- .../WalletConnectApprovalReview.tsx | 2 +- .../WalletConnectApprovalSent.tsx | 2 +- src/pages/Swap/Swap.tsx | 2 +- src/pages/Swap/components/ParaswapNotice.tsx | 2 +- src/pages/Swap/components/SlippageToolTip.tsx | 2 +- src/pages/Swap/components/SwapError.tsx | 2 +- .../Swap/components/SwapRefreshTimer.tsx | 2 +- .../Swap/components/TransactionDetails.tsx | 2 +- src/pages/Wallet/SwitchAccount.tsx | 2 +- src/pages/Wallet/TokenFlow.tsx | 2 +- src/pages/Wallet/WalletLocked.tsx | 2 +- src/pages/Wallet/WalletRecentTxs.tsx | 2 +- .../components/ActivityCard/ActivityCard.tsx | 2 +- .../ActivityCard/ActivityCardAmount.tsx | 2 +- .../ActivityCard/ActivityCardDetails.tsx | 2 +- .../ActivityCard/ActivityCardIcon.tsx | 2 +- .../ActivityCard/ActivityCardSummary.tsx | 2 +- .../ActivityCard/PchainActivityCard.tsx | 2 +- .../ActivityCard/PrimaryNetworkMethodIcon.tsx | 2 +- .../ActivityCard/XchainActivityCard.tsx | 2 +- .../InProgressBridgeActivityCard.tsx | 2 +- .../InProgressBridge/InProgressBridgeIcon.tsx | 2 +- .../Wallet/components/NoTransactions.tsx | 2 +- .../components/WalletExtensionButton.tsx | 2 +- src/popup/AppRoutes.tsx | 2 +- src/popup/ApprovalRoutes.tsx | 2 +- src/popup/LoadingContent.tsx | 2 +- src/popup/OfflineContent.tsx | 2 +- src/popup/index.tsx | 2 +- src/popup/popup.tsx | 2 +- src/utils/toastCardWithLink.tsx | 2 +- yarn.lock | 150 +++++++++--------- 363 files changed, 591 insertions(+), 446 deletions(-) diff --git a/package.json b/package.json index 1fd70b1ee..fad52111d 100644 --- a/package.json +++ b/package.json @@ -25,18 +25,18 @@ "@avalabs/vm-module-types": "0.0.15", "@avalabs/avalanchejs": "4.0.5", "@avalabs/bridge-unified": "2.1.0", - "@avalabs/core-bridge-sdk": "2.8.0-canary.a436aaa.0", - "@avalabs/core-chains-sdk": "2.8.0-canary.a436aaa.0", - "@avalabs/core-coingecko-sdk": "2.8.0-canary.a436aaa.0", - "@avalabs/core-covalent-sdk": "2.8.0-canary.a436aaa.0", - "@avalabs/core-etherscan-sdk": "2.8.0-canary.a436aaa.0", - "@avalabs/core-snowtrace-sdk": "2.8.0-canary.a436aaa.0", - "@avalabs/core-token-prices-sdk": "2.8.0-canary.a436aaa.0", - "@avalabs/core-utils-sdk": "2.8.0-canary.a436aaa.0", - "@avalabs/core-wallets-sdk": "2.8.0-canary.a436aaa.0", + "@avalabs/core-bridge-sdk": "3.0.0", + "@avalabs/core-chains-sdk": "3.0.0", + "@avalabs/core-coingecko-sdk": "3.0.0", + "@avalabs/core-covalent-sdk": "3.0.0", + "@avalabs/core-etherscan-sdk": "3.0.0", + "@avalabs/core-snowtrace-sdk": "3.0.0", + "@avalabs/core-token-prices-sdk": "3.0.0", + "@avalabs/core-utils-sdk": "3.0.0", + "@avalabs/core-wallets-sdk": "3.0.0", "@avalabs/glacier-sdk": "2.8.0-alpha.188", "@avalabs/hw-app-avalanche": "0.14.1", - "@avalabs/k2-components": "4.18.0-alpha.41", + "@avalabs/core-k2-components": "4.18.0-alpha.44", "@avalabs/types": "2.8.0-alpha.188", "@blockaid/client": "0.10.0", "@coinbase/cbpay-js": "1.6.0", diff --git a/src/components/common/AddressK2.tsx b/src/components/common/AddressK2.tsx index 068ec91c3..2bdd2d99c 100644 --- a/src/components/common/AddressK2.tsx +++ b/src/components/common/AddressK2.tsx @@ -6,7 +6,7 @@ import { Stack, IconButton, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { truncateAddress } from '@src/utils/truncateAddress'; interface AddressProps { diff --git a/src/components/common/AppBackground.tsx b/src/components/common/AppBackground.tsx index de768f883..e9fbfc6dd 100644 --- a/src/components/common/AppBackground.tsx +++ b/src/components/common/AppBackground.tsx @@ -1,4 +1,4 @@ -import { Stack, styled } from '@avalabs/k2-components'; +import { Stack, styled } from '@avalabs/core-k2-components'; import { Suspense } from 'react'; const FallbackImage = styled(Stack)` diff --git a/src/components/common/ArcProgress.tsx b/src/components/common/ArcProgress.tsx index f4398aaec..7e81a8324 100644 --- a/src/components/common/ArcProgress.tsx +++ b/src/components/common/ArcProgress.tsx @@ -1,4 +1,4 @@ -import { useTheme } from '@avalabs/k2-components'; +import { useTheme } from '@avalabs/core-k2-components'; type Props = { size: number; diff --git a/src/components/common/BNInput.tsx b/src/components/common/BNInput.tsx index c7811c6b1..5f861fc95 100644 --- a/src/components/common/BNInput.tsx +++ b/src/components/common/BNInput.tsx @@ -8,7 +8,7 @@ import { Button, styled, CircularProgress, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { bnToLocaleString, numberToBN } from '@avalabs/core-utils-sdk'; Big.PE = 99; diff --git a/src/components/common/BalanceColumn.tsx b/src/components/common/BalanceColumn.tsx index 09817ab79..3ea7125af 100644 --- a/src/components/common/BalanceColumn.tsx +++ b/src/components/common/BalanceColumn.tsx @@ -1,4 +1,4 @@ -import { Stack, styled } from '@avalabs/k2-components'; +import { Stack, styled } from '@avalabs/core-k2-components'; export const BalanceColumn = styled(Stack)` align-items: end; diff --git a/src/components/common/CameraAccessDeniedDialog.tsx b/src/components/common/CameraAccessDeniedDialog.tsx index 847aa04d5..7fc96b501 100644 --- a/src/components/common/CameraAccessDeniedDialog.tsx +++ b/src/components/common/CameraAccessDeniedDialog.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography, Dialog, Button } from '@avalabs/k2-components'; +import { Stack, Typography, Dialog, Button } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import CameraBlockedIcon from '../icons/CameraAccessDeniedIcon'; diff --git a/src/components/common/CameraAccessPromptDialog.tsx b/src/components/common/CameraAccessPromptDialog.tsx index 9c41e9ac0..d047a68a2 100644 --- a/src/components/common/CameraAccessPromptDialog.tsx +++ b/src/components/common/CameraAccessPromptDialog.tsx @@ -5,7 +5,7 @@ import { Button, ExternalLinkIcon, CircularProgress, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; export const CameraAccessPromptDialog = ({ QRScanner }) => { diff --git a/src/components/common/ConfirmationTracker.tsx b/src/components/common/ConfirmationTracker.tsx index fc2149e6e..18ee8d96e 100644 --- a/src/components/common/ConfirmationTracker.tsx +++ b/src/components/common/ConfirmationTracker.tsx @@ -1,5 +1,5 @@ import { Fragment, memo, useRef } from 'react'; -import { Box, styled, Theme, Typography } from '@avalabs/k2-components'; +import { Box, styled, Theme, Typography } from '@avalabs/core-k2-components'; import { keyframes } from '@emotion/react'; import { useTranslation } from 'react-i18next'; diff --git a/src/components/common/ConnectionIndicatorK2.tsx b/src/components/common/ConnectionIndicatorK2.tsx index a2107a95d..6f37503fb 100644 --- a/src/components/common/ConnectionIndicatorK2.tsx +++ b/src/components/common/ConnectionIndicatorK2.tsx @@ -7,7 +7,7 @@ import { StackProps, Box, BoxProps, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; interface ConnectionIndicatorProps { diff --git a/src/components/common/ContainedDropdown.tsx b/src/components/common/ContainedDropdown.tsx index 6c8b33b52..ed2fa72b2 100644 --- a/src/components/common/ContainedDropdown.tsx +++ b/src/components/common/ContainedDropdown.tsx @@ -1,4 +1,4 @@ -import { Stack, StackProps, useTheme } from '@avalabs/k2-components'; +import { Stack, StackProps, useTheme } from '@avalabs/core-k2-components'; import { forwardRef, MutableRefObject, diff --git a/src/components/common/CustomFees.tsx b/src/components/common/CustomFees.tsx index 2a804800c..ac511bf72 100644 --- a/src/components/common/CustomFees.tsx +++ b/src/components/common/CustomFees.tsx @@ -18,7 +18,7 @@ import { Stack, Typography, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { ApprovalSection, ApprovalSectionBody, diff --git a/src/components/common/CustomGasSettings.tsx b/src/components/common/CustomGasSettings.tsx index ee75387ee..1cf69b847 100644 --- a/src/components/common/CustomGasSettings.tsx +++ b/src/components/common/CustomGasSettings.tsx @@ -13,7 +13,7 @@ import { TextField, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useSettingsContext } from '@src/contexts/SettingsProvider'; import { TextFieldLabel } from './TextFieldLabel'; import { parseUnits } from 'ethers'; diff --git a/src/components/common/Dialog.tsx b/src/components/common/Dialog.tsx index 73791de71..21b3a5dcf 100644 --- a/src/components/common/Dialog.tsx +++ b/src/components/common/Dialog.tsx @@ -1,5 +1,5 @@ import { ReactNode } from 'react'; -import { Dialog as K2Dialog, Typography } from '@avalabs/k2-components'; +import { Dialog as K2Dialog, Typography } from '@avalabs/core-k2-components'; export interface DialogProps { open: boolean; diff --git a/src/components/common/Dropdown.tsx b/src/components/common/Dropdown.tsx index 4529c85ca..5cc255eff 100644 --- a/src/components/common/Dropdown.tsx +++ b/src/components/common/Dropdown.tsx @@ -6,7 +6,7 @@ import { Select, TextFieldProps, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; const TriggerIcon = ({ ...rest }: IconBaseProps) => { const theme = useTheme(); diff --git a/src/components/common/EmptyContent.tsx b/src/components/common/EmptyContent.tsx index c24211f22..21893642b 100644 --- a/src/components/common/EmptyContent.tsx +++ b/src/components/common/EmptyContent.tsx @@ -1,4 +1,4 @@ -import { Stack, Grow, Typography } from '@avalabs/k2-components'; +import { Stack, Grow, Typography } from '@avalabs/core-k2-components'; interface EmptyContentProps { text: string; diff --git a/src/components/common/Flipper.tsx b/src/components/common/Flipper.tsx index 98c0edd10..1774b09e9 100644 --- a/src/components/common/Flipper.tsx +++ b/src/components/common/Flipper.tsx @@ -1,5 +1,5 @@ import { cloneElement } from 'react'; -import { Box } from '@avalabs/k2-components'; +import { Box } from '@avalabs/core-k2-components'; type FlipperProps = { size: number; diff --git a/src/components/common/FunctionIsOffline.tsx b/src/components/common/FunctionIsOffline.tsx index 61565cd3a..896e96aa4 100644 --- a/src/components/common/FunctionIsOffline.tsx +++ b/src/components/common/FunctionIsOffline.tsx @@ -1,7 +1,11 @@ import { PropsWithChildren } from 'react'; import { PageTitle, PageTitleVariant } from './PageTitle'; import { t as translate } from 'i18next'; -import { AlertCircleIcon, Stack, Typography } from '@avalabs/k2-components'; +import { + AlertCircleIcon, + Stack, + Typography, +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { FunctionNames } from '@src/hooks/useIsFunctionAvailable'; diff --git a/src/components/common/FunctionIsUnavailable.tsx b/src/components/common/FunctionIsUnavailable.tsx index 0967a3a04..9457d1834 100644 --- a/src/components/common/FunctionIsUnavailable.tsx +++ b/src/components/common/FunctionIsUnavailable.tsx @@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react'; import { PageTitle, PageTitleVariant } from './PageTitle'; import { Trans, useTranslation } from 'react-i18next'; import { getTranslatedFunctionName } from './FunctionIsOffline'; -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { FunctionNames } from '@src/hooks/useIsFunctionAvailable'; interface FunctionIsOfflineProps { functionName: FunctionNames; diff --git a/src/components/common/InAppApprovalOverlay.tsx b/src/components/common/InAppApprovalOverlay.tsx index 16d4d3954..96a2b1c32 100644 --- a/src/components/common/InAppApprovalOverlay.tsx +++ b/src/components/common/InAppApprovalOverlay.tsx @@ -1,5 +1,5 @@ import { useMemo } from 'react'; -import { Fade, Stack, useTheme } from '@avalabs/k2-components'; +import { Fade, Stack, useTheme } from '@avalabs/core-k2-components'; import { useApprovalsContext } from '@src/contexts/ApprovalsProvider'; import { ApprovalRoutes } from '@src/popup/ApprovalRoutes'; diff --git a/src/components/common/InlineBold.tsx b/src/components/common/InlineBold.tsx index 920fad019..131bf424a 100644 --- a/src/components/common/InlineBold.tsx +++ b/src/components/common/InlineBold.tsx @@ -1,4 +1,4 @@ -import { styled } from '@avalabs/k2-components'; +import { styled } from '@avalabs/core-k2-components'; export const InlineBold = styled('span')` font-weight: bold; diff --git a/src/components/common/InlineTokenEllipsis.tsx b/src/components/common/InlineTokenEllipsis.tsx index ff187c465..6155fcbb6 100644 --- a/src/components/common/InlineTokenEllipsis.tsx +++ b/src/components/common/InlineTokenEllipsis.tsx @@ -1,4 +1,4 @@ -import { styled } from '@avalabs/k2-components'; +import { styled } from '@avalabs/core-k2-components'; import { TokenEllipsis } from './TokenEllipsis'; export const InlineTokenEllipsis = styled(TokenEllipsis)` diff --git a/src/components/common/InvalidQRCodeDialog.tsx b/src/components/common/InvalidQRCodeDialog.tsx index 18209cea0..e203e223b 100644 --- a/src/components/common/InvalidQRCodeDialog.tsx +++ b/src/components/common/InvalidQRCodeDialog.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography, Dialog, Button } from '@avalabs/k2-components'; +import { Stack, Typography, Dialog, Button } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import InvalidQRCodeIcon from '../icons/InvalidQRCodeIcon'; diff --git a/src/components/common/LoadingOverlay.tsx b/src/components/common/LoadingOverlay.tsx index ce212b4eb..1e04bb17e 100644 --- a/src/components/common/LoadingOverlay.tsx +++ b/src/components/common/LoadingOverlay.tsx @@ -1,4 +1,4 @@ -import { CircularProgress } from '@avalabs/k2-components'; +import { CircularProgress } from '@avalabs/core-k2-components'; import { Overlay } from './Overlay'; export function LoadingOverlay() { diff --git a/src/components/common/NetworkLogo.tsx b/src/components/common/NetworkLogo.tsx index a61286e7c..0ffcf8b06 100644 --- a/src/components/common/NetworkLogo.tsx +++ b/src/components/common/NetworkLogo.tsx @@ -1,4 +1,9 @@ -import { CheckIcon, GlobeIcon, Stack, styled } from '@avalabs/k2-components'; +import { + CheckIcon, + GlobeIcon, + Stack, + styled, +} from '@avalabs/core-k2-components'; import { ipfsResolverWithFallback } from '@src/utils/ipsfResolverWithFallback'; export const GlobeIconContainer = styled('div')` diff --git a/src/components/common/NetworkLogoK2.tsx b/src/components/common/NetworkLogoK2.tsx index b808a2e83..049ed977a 100644 --- a/src/components/common/NetworkLogoK2.tsx +++ b/src/components/common/NetworkLogoK2.tsx @@ -1,4 +1,4 @@ -import { GlobeIcon, styled } from '@avalabs/k2-components'; +import { GlobeIcon, styled } from '@avalabs/core-k2-components'; import { ipfsResolverWithFallback } from '@src/utils/ipsfResolverWithFallback'; export const GlobeIconContainer = styled('div')` diff --git a/src/components/common/NotSupportedByWallet.tsx b/src/components/common/NotSupportedByWallet.tsx index 65e4a23cb..f70581bb1 100644 --- a/src/components/common/NotSupportedByWallet.tsx +++ b/src/components/common/NotSupportedByWallet.tsx @@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react'; import { PageTitle, PageTitleVariant } from './PageTitle'; import { Trans, useTranslation } from 'react-i18next'; import { getTranslatedFunctionName } from './FunctionIsOffline'; -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { FunctionNames } from '@src/hooks/useIsFunctionAvailable'; interface NotSupportedByWalleteProps { functionName: FunctionNames; diff --git a/src/components/common/Overlay.tsx b/src/components/common/Overlay.tsx index d1de8ce78..86febb4c0 100644 --- a/src/components/common/Overlay.tsx +++ b/src/components/common/Overlay.tsx @@ -5,7 +5,7 @@ import { SxProps, Theme, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; interface OverlayProps { children: ReactNode; diff --git a/src/components/common/PageTitle.tsx b/src/components/common/PageTitle.tsx index 9a2cc7ce8..7cc85aa2f 100644 --- a/src/components/common/PageTitle.tsx +++ b/src/components/common/PageTitle.tsx @@ -8,7 +8,7 @@ import { Typography, styled, keyframes, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; const ShowThumbnailImageAnimation = keyframes` 0% { diff --git a/src/components/common/PasswordStrength.tsx b/src/components/common/PasswordStrength.tsx index 5c9da4805..92eff0d1d 100644 --- a/src/components/common/PasswordStrength.tsx +++ b/src/components/common/PasswordStrength.tsx @@ -1,6 +1,11 @@ import { t as translate } from 'i18next'; import { useTranslation } from 'react-i18next'; -import { useTheme, darkTheme, Typography, Stack } from '@avalabs/k2-components'; +import { + useTheme, + darkTheme, + Typography, + Stack, +} from '@avalabs/core-k2-components'; import zxcvbn from 'zxcvbn'; import { useEffect } from 'react'; diff --git a/src/components/common/ProfitAndLoss.tsx b/src/components/common/ProfitAndLoss.tsx index b4369c70c..89049c3cd 100644 --- a/src/components/common/ProfitAndLoss.tsx +++ b/src/components/common/ProfitAndLoss.tsx @@ -1,4 +1,4 @@ -import { Stack, Trend, ProfitAndLoss } from '@avalabs/k2-components'; +import { Stack, Trend, ProfitAndLoss } from '@avalabs/core-k2-components'; import { useSettingsContext } from '@src/contexts/SettingsProvider'; interface PandLProps { diff --git a/src/components/common/QRCodeWithLogo.tsx b/src/components/common/QRCodeWithLogo.tsx index 8eb4a01d7..0e776d6ab 100644 --- a/src/components/common/QRCodeWithLogo.tsx +++ b/src/components/common/QRCodeWithLogo.tsx @@ -1,6 +1,6 @@ import QRCode from 'qrcode.react'; import { PropsWithChildren } from 'react'; -import { Stack, useTheme } from '@avalabs/k2-components'; +import { Stack, useTheme } from '@avalabs/core-k2-components'; export function QRCodeWithLogo({ value, diff --git a/src/components/common/SimpleAddress.tsx b/src/components/common/SimpleAddress.tsx index 915ff5a14..6c29a3dd4 100644 --- a/src/components/common/SimpleAddress.tsx +++ b/src/components/common/SimpleAddress.tsx @@ -5,7 +5,7 @@ import { toast, CopyIcon, TypographyProps, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { truncateAddress } from '@src/utils/truncateAddress'; diff --git a/src/components/common/SiteAvatar.tsx b/src/components/common/SiteAvatar.tsx index ecaed52f0..efcb52a9d 100644 --- a/src/components/common/SiteAvatar.tsx +++ b/src/components/common/SiteAvatar.tsx @@ -1,4 +1,4 @@ -import { Stack, styled } from '@avalabs/k2-components'; +import { Stack, styled } from '@avalabs/core-k2-components'; export const SiteAvatar = styled(Stack)<{ margin?: string }>` width: 80px; diff --git a/src/components/common/StyledNumberList.tsx b/src/components/common/StyledNumberList.tsx index 27d0cef92..6f96cab53 100644 --- a/src/components/common/StyledNumberList.tsx +++ b/src/components/common/StyledNumberList.tsx @@ -1,4 +1,4 @@ -import { styled, Typography } from '@avalabs/k2-components'; +import { styled, Typography } from '@avalabs/core-k2-components'; export const StyledNumberList = styled(Typography)` ${({ theme }) => ({ diff --git a/src/components/common/TestnetBanner.tsx b/src/components/common/TestnetBanner.tsx index c1c2dd672..289fd0ced 100644 --- a/src/components/common/TestnetBanner.tsx +++ b/src/components/common/TestnetBanner.tsx @@ -1,4 +1,9 @@ -import { Slide, Stack, Typography, useTheme } from '@avalabs/k2-components'; +import { + Slide, + Stack, + Typography, + useTheme, +} from '@avalabs/core-k2-components'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; import { t } from 'i18next'; diff --git a/src/components/common/TextFieldLabel.tsx b/src/components/common/TextFieldLabel.tsx index 6ca25867c..b2d0dcadf 100644 --- a/src/components/common/TextFieldLabel.tsx +++ b/src/components/common/TextFieldLabel.tsx @@ -3,7 +3,7 @@ import { Stack, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; interface TextFieldLabelProps { label: string; diff --git a/src/components/common/TokenAmount.tsx b/src/components/common/TokenAmount.tsx index d179132ee..03decd77d 100644 --- a/src/components/common/TokenAmount.tsx +++ b/src/components/common/TokenAmount.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { TokenWithBalance } from '@src/background/services/balances/models'; diff --git a/src/components/common/TokenCard.tsx b/src/components/common/TokenCard.tsx index 3bc3cb57d..c8c6f9311 100644 --- a/src/components/common/TokenCard.tsx +++ b/src/components/common/TokenCard.tsx @@ -1,5 +1,5 @@ import { PropsWithChildren } from 'react'; -import { Card, Stack, Typography } from '@avalabs/k2-components'; +import { Card, Stack, Typography } from '@avalabs/core-k2-components'; interface TokenCardProps { name: string; diff --git a/src/components/common/TokenCardWithBalance.tsx b/src/components/common/TokenCardWithBalance.tsx index 2761a9306..0a2fc2511 100644 --- a/src/components/common/TokenCardWithBalance.tsx +++ b/src/components/common/TokenCardWithBalance.tsx @@ -1,4 +1,4 @@ -import { Card, Stack, Tooltip, Typography } from '@avalabs/k2-components'; +import { Card, Stack, Tooltip, Typography } from '@avalabs/core-k2-components'; import { useEffect, useRef, useState } from 'react'; import { PAndL } from './ProfitAndLoss'; import { TokenWithBalance } from '@src/background/services/balances/models'; diff --git a/src/components/common/TokenEllipsis.tsx b/src/components/common/TokenEllipsis.tsx index df6849548..71ba1a965 100644 --- a/src/components/common/TokenEllipsis.tsx +++ b/src/components/common/TokenEllipsis.tsx @@ -1,5 +1,5 @@ import { PropsWithChildren } from 'react'; -import { Tooltip } from '@avalabs/k2-components'; +import { Tooltip } from '@avalabs/core-k2-components'; import { truncateAddress } from '@avalabs/core-utils-sdk'; interface TokenEllipsisProps { diff --git a/src/components/common/TokenIcon.tsx b/src/components/common/TokenIcon.tsx index bd6714b1c..9b4d60934 100644 --- a/src/components/common/TokenIcon.tsx +++ b/src/components/common/TokenIcon.tsx @@ -1,4 +1,8 @@ -import { CircularProgress, Stack, Typography } from '@avalabs/k2-components'; +import { + CircularProgress, + Stack, + Typography, +} from '@avalabs/core-k2-components'; import { ipfsResolverWithFallback } from '@src/utils/ipsfResolverWithFallback'; import { useEffect, useState } from 'react'; diff --git a/src/components/common/TokenSelect.tsx b/src/components/common/TokenSelect.tsx index df0b01791..cb113af11 100644 --- a/src/components/common/TokenSelect.tsx +++ b/src/components/common/TokenSelect.tsx @@ -31,7 +31,7 @@ import { Divider, Card, SearchBar, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { BNInput } from '@src/components/common/BNInput'; import { TokenSelector } from './TokenSelector'; import { TokenEllipsis } from './TokenEllipsis'; diff --git a/src/components/common/TokenSelector.tsx b/src/components/common/TokenSelector.tsx index f6e13266b..b0fd8f61e 100644 --- a/src/components/common/TokenSelector.tsx +++ b/src/components/common/TokenSelector.tsx @@ -4,7 +4,7 @@ import { ChevronDownIcon, Stack, ChevronUpIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; export interface Token { diff --git a/src/components/common/TxWarningBox.tsx b/src/components/common/TxWarningBox.tsx index 3c8601f10..4407a561d 100644 --- a/src/components/common/TxWarningBox.tsx +++ b/src/components/common/TxWarningBox.tsx @@ -1,4 +1,4 @@ -import { Box } from '@avalabs/k2-components'; +import { Box } from '@avalabs/core-k2-components'; import { AlertBox } from '@src/pages/Permissions/components/AlertBox'; import { WarningBox } from '@src/pages/Permissions/components/WarningBox'; import { useTranslation } from 'react-i18next'; diff --git a/src/components/common/VerticalStack.tsx b/src/components/common/VerticalStack.tsx index 46b89a5fd..e1f5640e0 100644 --- a/src/components/common/VerticalStack.tsx +++ b/src/components/common/VerticalStack.tsx @@ -1,4 +1,4 @@ -import { Stack, StackProps } from '@avalabs/k2-components'; +import { Stack, StackProps } from '@avalabs/core-k2-components'; export const VerticalStack = (props: Exclude) => ( diff --git a/src/components/common/VirtualizedList.tsx b/src/components/common/VirtualizedList.tsx index 687bb7fe0..04bfb7f5e 100644 --- a/src/components/common/VirtualizedList.tsx +++ b/src/components/common/VirtualizedList.tsx @@ -1,4 +1,4 @@ -import { styled } from '@avalabs/k2-components'; +import { styled } from '@avalabs/core-k2-components'; import { List } from 'react-virtualized'; const VirtualizedList = styled(List)` diff --git a/src/components/common/WalletChip.tsx b/src/components/common/WalletChip.tsx index 13130ce9f..5db2a3ce4 100644 --- a/src/components/common/WalletChip.tsx +++ b/src/components/common/WalletChip.tsx @@ -1,5 +1,10 @@ import { useCallback, useState } from 'react'; -import { Chip, ChipProps, Tooltip, Typography } from '@avalabs/k2-components'; +import { + Chip, + ChipProps, + Tooltip, + Typography, +} from '@avalabs/core-k2-components'; import { WalletDetails } from '@src/background/services/wallet/models'; import { WalletTypeIcon } from '@src/pages/Accounts/components/WalletTypeIcon'; diff --git a/src/components/common/account/AccountSelectorButton.tsx b/src/components/common/account/AccountSelectorButton.tsx index fabb12a62..660ea49aa 100644 --- a/src/components/common/account/AccountSelectorButton.tsx +++ b/src/components/common/account/AccountSelectorButton.tsx @@ -4,7 +4,7 @@ import { ChevronDownIcon, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAccountsContext } from '@src/contexts/AccountsProvider'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; diff --git a/src/components/common/approval/ApprovalSection.tsx b/src/components/common/approval/ApprovalSection.tsx index 7465b3e62..684b60c78 100644 --- a/src/components/common/approval/ApprovalSection.tsx +++ b/src/components/common/approval/ApprovalSection.tsx @@ -6,7 +6,7 @@ import { Tooltip, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import React from 'react'; type ApprovalSectionHeaderProps = { diff --git a/src/components/common/approval/TxDetailsRow.tsx b/src/components/common/approval/TxDetailsRow.tsx index dda6c2cdb..2f545ec35 100644 --- a/src/components/common/approval/TxDetailsRow.tsx +++ b/src/components/common/approval/TxDetailsRow.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography, useTheme } from '@avalabs/k2-components'; +import { Stack, Typography, useTheme } from '@avalabs/core-k2-components'; type TxDetailsRowProps = { label: string }; diff --git a/src/components/common/fab/FAB.tsx b/src/components/common/fab/FAB.tsx index dfe947d6d..29d2fa3fc 100644 --- a/src/components/common/fab/FAB.tsx +++ b/src/components/common/fab/FAB.tsx @@ -19,7 +19,7 @@ import { Collapse, XIcon, IconButton, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { FunctionNames, diff --git a/src/components/common/header/Header.tsx b/src/components/common/header/Header.tsx index 21b6f74a8..33940a363 100644 --- a/src/components/common/header/Header.tsx +++ b/src/components/common/header/Header.tsx @@ -5,7 +5,7 @@ import { Stack, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { SettingsMenu } from '@src/components/settings/SettingsMenu'; diff --git a/src/components/common/header/NetworkSwitcher/NetworkSwitcher.tsx b/src/components/common/header/NetworkSwitcher/NetworkSwitcher.tsx index 300935bca..d5873ac62 100644 --- a/src/components/common/header/NetworkSwitcher/NetworkSwitcher.tsx +++ b/src/components/common/header/NetworkSwitcher/NetworkSwitcher.tsx @@ -18,7 +18,7 @@ import { Grow, ClickAwayListener, Box, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; const defaultNetworks = [ diff --git a/src/components/common/infiniteScroll/InfiniteScroll.tsx b/src/components/common/infiniteScroll/InfiniteScroll.tsx index d8e249607..18e4299fb 100644 --- a/src/components/common/infiniteScroll/InfiniteScroll.tsx +++ b/src/components/common/infiniteScroll/InfiniteScroll.tsx @@ -1,6 +1,10 @@ import { useTranslation } from 'react-i18next'; import { useCallback, useEffect, useRef } from 'react'; -import { CircularProgress, Stack, Typography } from '@avalabs/k2-components'; +import { + CircularProgress, + Stack, + Typography, +} from '@avalabs/core-k2-components'; export interface InfiniteScrollProps { loadMore: () => void; diff --git a/src/components/common/scrollbars/Scrollbars.tsx b/src/components/common/scrollbars/Scrollbars.tsx index 9116e86a5..973acef39 100644 --- a/src/components/common/scrollbars/Scrollbars.tsx +++ b/src/components/common/scrollbars/Scrollbars.tsx @@ -1,6 +1,6 @@ import * as CustomScrollbars from 'react-custom-scrollbars-2'; import { forwardRef, LegacyRef } from 'react'; -import { useTheme } from '@avalabs/k2-components'; +import { useTheme } from '@avalabs/core-k2-components'; export type ScrollbarsRef = CustomScrollbars.Scrollbars; diff --git a/src/components/common/seedless/SeedlessAuthPrompt.tsx b/src/components/common/seedless/SeedlessAuthPrompt.tsx index 6f771e152..b74c474c1 100644 --- a/src/components/common/seedless/SeedlessAuthPrompt.tsx +++ b/src/components/common/seedless/SeedlessAuthPrompt.tsx @@ -7,7 +7,7 @@ import { DialogContent, DialogTitle, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useWalletContext } from '@src/contexts/WalletProvider'; import { openExtensionNewWindow } from '@src/utils/extensionUtils'; diff --git a/src/components/common/seedless/components/AuthenticationError.tsx b/src/components/common/seedless/components/AuthenticationError.tsx index 32531aff8..c9d93fcce 100644 --- a/src/components/common/seedless/components/AuthenticationError.tsx +++ b/src/components/common/seedless/components/AuthenticationError.tsx @@ -1,5 +1,9 @@ import { useTranslation } from 'react-i18next'; -import { AlertCircleIcon, Stack, Typography } from '@avalabs/k2-components'; +import { + AlertCircleIcon, + Stack, + Typography, +} from '@avalabs/core-k2-components'; import { AuthErrorCode } from '@src/background/services/seedless/models'; type Props = { diff --git a/src/components/common/seedless/components/ExportError.tsx b/src/components/common/seedless/components/ExportError.tsx index 1c41c4b85..f3982c5ac 100644 --- a/src/components/common/seedless/components/ExportError.tsx +++ b/src/components/common/seedless/components/ExportError.tsx @@ -3,7 +3,7 @@ import { Button, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { ExportErrorCode } from '@src/hooks/useSeedlessMnemonicExport'; import { useTranslation } from 'react-i18next'; diff --git a/src/components/common/seedless/components/ExportPending.tsx b/src/components/common/seedless/components/ExportPending.tsx index 1bc299f9c..85566fe0b 100644 --- a/src/components/common/seedless/components/ExportPending.tsx +++ b/src/components/common/seedless/components/ExportPending.tsx @@ -9,7 +9,7 @@ import { Stack, Typography, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { ArcProgress } from '@src/components/common/ArcProgress'; diff --git a/src/components/common/seedless/components/FIDOChallenge.tsx b/src/components/common/seedless/components/FIDOChallenge.tsx index b7f1ab8e1..4867ec0be 100644 --- a/src/components/common/seedless/components/FIDOChallenge.tsx +++ b/src/components/common/seedless/components/FIDOChallenge.tsx @@ -5,7 +5,7 @@ import { CircularProgress, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useFidoErrorMessage } from '@src/hooks/useFidoErrorMessage'; import { Trans, useTranslation } from 'react-i18next'; import { AuthErrorCode } from '@src/background/services/seedless/models'; diff --git a/src/components/common/seedless/components/MfaChoicePrompt.tsx b/src/components/common/seedless/components/MfaChoicePrompt.tsx index 345c8cee4..52d5ca3aa 100644 --- a/src/components/common/seedless/components/MfaChoicePrompt.tsx +++ b/src/components/common/seedless/components/MfaChoicePrompt.tsx @@ -4,7 +4,7 @@ import { DialogContent, DialogTitle, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { diff --git a/src/components/common/seedless/components/PhraseReadyToExport.tsx b/src/components/common/seedless/components/PhraseReadyToExport.tsx index fd312d129..d519a6bf4 100644 --- a/src/components/common/seedless/components/PhraseReadyToExport.tsx +++ b/src/components/common/seedless/components/PhraseReadyToExport.tsx @@ -15,7 +15,7 @@ import { Stack, Typography, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { SeedlessExportAnalytics } from '@src/background/services/seedless/seedlessAnalytics'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; diff --git a/src/components/common/seedless/components/RecoveryMethod.tsx b/src/components/common/seedless/components/RecoveryMethod.tsx index 88d544bca..e842a2b58 100644 --- a/src/components/common/seedless/components/RecoveryMethod.tsx +++ b/src/components/common/seedless/components/RecoveryMethod.tsx @@ -6,7 +6,7 @@ import { Typography, styled, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; const MethodName = styled(Typography)` ${({ theme }) => ({ diff --git a/src/components/common/seedless/components/TOTPChallenge.tsx b/src/components/common/seedless/components/TOTPChallenge.tsx index ab59d36e9..ce26f40f2 100644 --- a/src/components/common/seedless/components/TOTPChallenge.tsx +++ b/src/components/common/seedless/components/TOTPChallenge.tsx @@ -1,4 +1,9 @@ -import { Button, Stack, TextField, Typography } from '@avalabs/k2-components'; +import { + Button, + Stack, + TextField, + Typography, +} from '@avalabs/core-k2-components'; import { AuthErrorCode } from '@src/background/services/seedless/models'; import { PageTitle, PageTitleVariant } from '@src/components/common/PageTitle'; import { useTotpErrorMessage } from '@src/hooks/useTotpErrorMessage'; diff --git a/src/components/common/seedless/components/WaitingForAuthentication.tsx b/src/components/common/seedless/components/WaitingForAuthentication.tsx index 7492d42c9..9628eb4c4 100644 --- a/src/components/common/seedless/components/WaitingForAuthentication.tsx +++ b/src/components/common/seedless/components/WaitingForAuthentication.tsx @@ -1,5 +1,9 @@ import { Trans, useTranslation } from 'react-i18next'; -import { CircularProgress, Stack, Typography } from '@avalabs/k2-components'; +import { + CircularProgress, + Stack, + Typography, +} from '@avalabs/core-k2-components'; import { SeedlessAuthProvider } from '@src/background/services/wallet/models'; diff --git a/src/components/dialogs/AnalyticsOptInDialog.tsx b/src/components/dialogs/AnalyticsOptInDialog.tsx index 17d4b2a64..29fe55444 100644 --- a/src/components/dialogs/AnalyticsOptInDialog.tsx +++ b/src/components/dialogs/AnalyticsOptInDialog.tsx @@ -6,7 +6,7 @@ import { DialogTitle, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Trans, useTranslation } from 'react-i18next'; import { TypographyLink } from '@src/pages/Onboarding/components/TypographyLink'; diff --git a/src/components/icons/BrandName.tsx b/src/components/icons/BrandName.tsx index f201b313a..cb9dd552a 100644 --- a/src/components/icons/BrandName.tsx +++ b/src/components/icons/BrandName.tsx @@ -1,4 +1,4 @@ -import { Stack, useTheme } from '@avalabs/k2-components'; +import { Stack, useTheme } from '@avalabs/core-k2-components'; interface BrandNameProps { height?: number; diff --git a/src/components/icons/CameraAccessDeniedIcon.tsx b/src/components/icons/CameraAccessDeniedIcon.tsx index 8944c5ac6..4a3cf10a2 100644 --- a/src/components/icons/CameraAccessDeniedIcon.tsx +++ b/src/components/icons/CameraAccessDeniedIcon.tsx @@ -2,7 +2,7 @@ import { CameraBlockedIcon, IconBaseProps, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; export default function CameraAccessDeniedIcon(props: IconBaseProps) { const theme = useTheme(); diff --git a/src/components/icons/DangerIcon.tsx b/src/components/icons/DangerIcon.tsx index 9456b48ec..edd449960 100644 --- a/src/components/icons/DangerIcon.tsx +++ b/src/components/icons/DangerIcon.tsx @@ -1,4 +1,4 @@ -import { AlertCircleIcon, Stack, useTheme } from '@avalabs/k2-components'; +import { AlertCircleIcon, Stack, useTheme } from '@avalabs/core-k2-components'; type DangerIconProps = { size?: number; diff --git a/src/components/icons/InvalidQRCodeIcon.tsx b/src/components/icons/InvalidQRCodeIcon.tsx index 4fb0dcb8a..e87e82ddc 100644 --- a/src/components/icons/InvalidQRCodeIcon.tsx +++ b/src/components/icons/InvalidQRCodeIcon.tsx @@ -1,4 +1,8 @@ -import { IconBaseProps, QRCodeIcon, useTheme } from '@avalabs/k2-components'; +import { + IconBaseProps, + QRCodeIcon, + useTheme, +} from '@avalabs/core-k2-components'; export default function InvalidQRCodeIcon(props: IconBaseProps) { const theme = useTheme(); diff --git a/src/components/icons/QRCodeLogos.tsx b/src/components/icons/QRCodeLogos.tsx index 3fd0193ae..cc1a74a35 100644 --- a/src/components/icons/QRCodeLogos.tsx +++ b/src/components/icons/QRCodeLogos.tsx @@ -1,4 +1,4 @@ -import { Stack, useTheme } from '@avalabs/k2-components'; +import { Stack, useTheme } from '@avalabs/core-k2-components'; import { ReactNode } from 'react'; const innerCirclToOuterCircleRatio = 49.5 / 63; diff --git a/src/components/ledger/LedgerConnector.tsx b/src/components/ledger/LedgerConnector.tsx index e9fd80a94..b18d7aa2f 100644 --- a/src/components/ledger/LedgerConnector.tsx +++ b/src/components/ledger/LedgerConnector.tsx @@ -16,7 +16,7 @@ import { Stack, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { DerivationPathDropdown } from '@src/pages/Onboarding/components/DerivationPathDropDown'; import { DerivedAddresses } from '@src/pages/Onboarding/components/DerivedAddresses'; diff --git a/src/components/ledger/LedgerTroublesSteps.tsx b/src/components/ledger/LedgerTroublesSteps.tsx index 969956013..b79701355 100644 --- a/src/components/ledger/LedgerTroublesSteps.tsx +++ b/src/components/ledger/LedgerTroublesSteps.tsx @@ -6,7 +6,7 @@ import { SxProps, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { TypographyLink } from '../../pages/Onboarding/components/TypographyLink'; export enum LedgerTroubleStepsFontVariant { diff --git a/src/components/settings/SettingsHeader.tsx b/src/components/settings/SettingsHeader.tsx index d0eb87719..6eda4bf1d 100644 --- a/src/components/settings/SettingsHeader.tsx +++ b/src/components/settings/SettingsHeader.tsx @@ -4,7 +4,7 @@ import { Stack, Typography, ChevronLeftIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { SettingsPageProps } from './models'; interface SettingsHeaderProps { title: string; diff --git a/src/components/settings/SettingsMenu.tsx b/src/components/settings/SettingsMenu.tsx index be03dbf45..01b2a1605 100644 --- a/src/components/settings/SettingsMenu.tsx +++ b/src/components/settings/SettingsMenu.tsx @@ -23,7 +23,7 @@ import { MenuIcon, Stack, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { ExportRecoveryPhrase } from './pages/ExportRecoveryPhrase'; import { ExportState, diff --git a/src/components/settings/components/ContactForm.tsx b/src/components/settings/components/ContactForm.tsx index 33739f497..bd2b4d566 100644 --- a/src/components/settings/components/ContactForm.tsx +++ b/src/components/settings/components/ContactForm.tsx @@ -7,7 +7,7 @@ import { } from '@src/utils/isAddressValid'; import { useTranslation } from 'react-i18next'; import { useContactsContext } from '@src/contexts/ContactsProvider'; -import { Stack, TextField } from '@avalabs/k2-components'; +import { Stack, TextField } from '@avalabs/core-k2-components'; interface ContactFormProps { contact: Contact; handleChange: (contact: Contact, formValid: boolean) => void; diff --git a/src/components/settings/components/ContactInfo.tsx b/src/components/settings/components/ContactInfo.tsx index b6b4044a8..ec2aba48d 100644 --- a/src/components/settings/components/ContactInfo.tsx +++ b/src/components/settings/components/ContactInfo.tsx @@ -6,7 +6,7 @@ import { AvalancheColorIcon, BitcoinColorIcon, XAndPChainsIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; export const ContactInfo = ({ contact }: { contact: Contact }) => { return ( diff --git a/src/components/settings/components/ContactListItem.tsx b/src/components/settings/components/ContactListItem.tsx index c6b331c0b..1f7d622b3 100644 --- a/src/components/settings/components/ContactListItem.tsx +++ b/src/components/settings/components/ContactListItem.tsx @@ -2,7 +2,7 @@ import type { Contact } from '@avalabs/types'; import { SettingsPages } from '../models'; import { useHistory, useLocation } from 'react-router-dom'; import { ContactInfo } from './ContactInfo'; -import { Divider, ListItem, ListItemButton } from '@avalabs/k2-components'; +import { Divider, ListItem, ListItemButton } from '@avalabs/core-k2-components'; interface ContactListItemProps { contact: Contact; diff --git a/src/components/settings/components/ContactProfile.tsx b/src/components/settings/components/ContactProfile.tsx index f5e415605..ee374be68 100644 --- a/src/components/settings/components/ContactProfile.tsx +++ b/src/components/settings/components/ContactProfile.tsx @@ -16,7 +16,7 @@ import { toast, Scrollbars, CopyIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import Dialog from '@src/components/common/Dialog'; import { truncateAddress } from '@src/utils/truncateAddress'; diff --git a/src/components/settings/components/StyledListItemButton.tsx b/src/components/settings/components/StyledListItemButton.tsx index 90f8ed7de..97546731d 100644 --- a/src/components/settings/components/StyledListItemButton.tsx +++ b/src/components/settings/components/StyledListItemButton.tsx @@ -1,4 +1,4 @@ -import { ListItemButton, styled } from '@avalabs/k2-components'; +import { ListItemButton, styled } from '@avalabs/core-k2-components'; export const StyledListButton = styled(ListItemButton)` justify-content: space-between; diff --git a/src/components/settings/pages/AddContact.tsx b/src/components/settings/pages/AddContact.tsx index 5c21647a3..4b8672603 100644 --- a/src/components/settings/pages/AddContact.tsx +++ b/src/components/settings/pages/AddContact.tsx @@ -11,7 +11,7 @@ import { Scrollbars, styled, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; const FlexScrollbars = styled(Scrollbars)` diff --git a/src/components/settings/pages/Advanced.tsx b/src/components/settings/pages/Advanced.tsx index 5e1bda646..f857de99a 100644 --- a/src/components/settings/pages/Advanced.tsx +++ b/src/components/settings/pages/Advanced.tsx @@ -7,7 +7,7 @@ import { Switch, Tooltip, InfoCircleIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useBridgeContext } from '@src/contexts/BridgeProvider'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; import { isProductionBuild } from '@src/utils/environment'; diff --git a/src/components/settings/pages/ChangePassword.tsx b/src/components/settings/pages/ChangePassword.tsx index e1e722539..07ce03c09 100644 --- a/src/components/settings/pages/ChangePassword.tsx +++ b/src/components/settings/pages/ChangePassword.tsx @@ -13,7 +13,7 @@ import { Typography, Button, AlertTriangleIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; export function ChangePassword({ diff --git a/src/components/settings/pages/ConnectedSites.tsx b/src/components/settings/pages/ConnectedSites.tsx index d38376a5f..12761a5bd 100644 --- a/src/components/settings/pages/ConnectedSites.tsx +++ b/src/components/settings/pages/ConnectedSites.tsx @@ -11,7 +11,7 @@ import { IconButton, EmptySitesIcon, Tooltip, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAccountsContext } from '@src/contexts/AccountsProvider'; import { usePermissionContext } from '@src/contexts/PermissionsProvider'; import { SettingsPageProps } from '../models'; diff --git a/src/components/settings/pages/ContactList.tsx b/src/components/settings/pages/ContactList.tsx index 66ebc58a2..fd90300ff 100644 --- a/src/components/settings/pages/ContactList.tsx +++ b/src/components/settings/pages/ContactList.tsx @@ -13,7 +13,7 @@ import { IconButton, List, SearchBar, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; export function ContactList({ goBack, navigateTo, width }: SettingsPageProps) { diff --git a/src/components/settings/pages/Currencies.tsx b/src/components/settings/pages/Currencies.tsx index fe9ec1154..9cee5c45d 100644 --- a/src/components/settings/pages/Currencies.tsx +++ b/src/components/settings/pages/Currencies.tsx @@ -7,7 +7,7 @@ import { List, CheckIcon, SearchBar, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { SettingsPageProps } from '../models'; import { SettingsHeader } from '../SettingsHeader'; import { useSettingsContext } from '@src/contexts/SettingsProvider'; diff --git a/src/components/settings/pages/ExportRecoveryPhrase.tsx b/src/components/settings/pages/ExportRecoveryPhrase.tsx index 19e5be6c7..a133e32c8 100644 --- a/src/components/settings/pages/ExportRecoveryPhrase.tsx +++ b/src/components/settings/pages/ExportRecoveryPhrase.tsx @@ -15,7 +15,7 @@ import { Typography, Skeleton, CheckCircleIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useCallback, useState } from 'react'; import { diff --git a/src/components/settings/pages/Feedback.tsx b/src/components/settings/pages/Feedback.tsx index a4f9f1653..3dd94573b 100644 --- a/src/components/settings/pages/Feedback.tsx +++ b/src/components/settings/pages/Feedback.tsx @@ -7,7 +7,7 @@ import { ListItemText, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; import browser from 'webextension-polyfill'; import { useEffect, useState } from 'react'; diff --git a/src/components/settings/pages/Language.tsx b/src/components/settings/pages/Language.tsx index 1480cb7fa..3c309ed71 100644 --- a/src/components/settings/pages/Language.tsx +++ b/src/components/settings/pages/Language.tsx @@ -10,7 +10,7 @@ import { ListItem, List, CheckIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { StyledListButton } from '../components/StyledListItemButton'; export function Language({ goBack, navigateTo, width }: SettingsPageProps) { diff --git a/src/components/settings/pages/Ledger.tsx b/src/components/settings/pages/Ledger.tsx index f4329ae56..7093c8064 100644 --- a/src/components/settings/pages/Ledger.tsx +++ b/src/components/settings/pages/Ledger.tsx @@ -8,7 +8,7 @@ import { Box, Divider, Scrollbars, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { SettingsPageProps } from '../models'; import { SettingsHeader } from '../SettingsHeader'; import { diff --git a/src/components/settings/pages/Legal.tsx b/src/components/settings/pages/Legal.tsx index b87fd4618..5a74de381 100644 --- a/src/components/settings/pages/Legal.tsx +++ b/src/components/settings/pages/Legal.tsx @@ -7,7 +7,7 @@ import { ListItemText, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; export function Legal({ goBack, navigateTo, width }) { diff --git a/src/components/settings/pages/MainPage.tsx b/src/components/settings/pages/MainPage.tsx index 89486af65..8460256dc 100644 --- a/src/components/settings/pages/MainPage.tsx +++ b/src/components/settings/pages/MainPage.tsx @@ -30,7 +30,7 @@ import { ComputerIcon, Badge, Box, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import browser from 'webextension-polyfill'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; import { useSeedlessMfaManager } from '@src/contexts/SeedlessMfaManagementProvider'; diff --git a/src/components/settings/pages/RecoveryMethods/AddNewRecoveryMethod.tsx b/src/components/settings/pages/RecoveryMethods/AddNewRecoveryMethod.tsx index 2706af622..bb1aa8a07 100644 --- a/src/components/settings/pages/RecoveryMethods/AddNewRecoveryMethod.tsx +++ b/src/components/settings/pages/RecoveryMethods/AddNewRecoveryMethod.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { Overlay } from '@src/components/common/Overlay'; import { PageTitle } from '@src/components/common/PageTitle'; diff --git a/src/components/settings/pages/RecoveryMethods/AuthenticatorDetails.tsx b/src/components/settings/pages/RecoveryMethods/AuthenticatorDetails.tsx index 089b8fa3f..2673475a7 100644 --- a/src/components/settings/pages/RecoveryMethods/AuthenticatorDetails.tsx +++ b/src/components/settings/pages/RecoveryMethods/AuthenticatorDetails.tsx @@ -15,7 +15,7 @@ import { AlertCircleIcon, TrashIcon, Tooltip, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useCallback, useEffect, useState } from 'react'; import browser from 'webextension-polyfill'; diff --git a/src/components/settings/pages/RecoveryMethods/AuthenticatorVerifyScreen.tsx b/src/components/settings/pages/RecoveryMethods/AuthenticatorVerifyScreen.tsx index 486c75b30..6fb7cf665 100644 --- a/src/components/settings/pages/RecoveryMethods/AuthenticatorVerifyScreen.tsx +++ b/src/components/settings/pages/RecoveryMethods/AuthenticatorVerifyScreen.tsx @@ -11,7 +11,7 @@ import { Typography, toast, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import QRCode from 'qrcode.react'; import { PageTitle } from '@src/components/common/PageTitle'; diff --git a/src/components/settings/pages/RecoveryMethods/FIDODetails.tsx b/src/components/settings/pages/RecoveryMethods/FIDODetails.tsx index e2187db25..52a539fcd 100644 --- a/src/components/settings/pages/RecoveryMethods/FIDODetails.tsx +++ b/src/components/settings/pages/RecoveryMethods/FIDODetails.tsx @@ -14,7 +14,7 @@ import { TrashIcon, toast, Tooltip, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useCallback, useState } from 'react'; import { Overlay } from '@src/components/common/Overlay'; diff --git a/src/components/settings/pages/RecoveryMethods/RecoveryMethods.tsx b/src/components/settings/pages/RecoveryMethods/RecoveryMethods.tsx index 1c38de578..515494fa3 100644 --- a/src/components/settings/pages/RecoveryMethods/RecoveryMethods.tsx +++ b/src/components/settings/pages/RecoveryMethods/RecoveryMethods.tsx @@ -1,6 +1,6 @@ import { useCallback, useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { Stack, Button, PlusIcon, Skeleton } from '@avalabs/k2-components'; +import { Stack, Button, PlusIcon, Skeleton } from '@avalabs/core-k2-components'; import browser from 'webextension-polyfill'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; diff --git a/src/components/settings/pages/RecoveryMethods/RecoveryMethodsList.tsx b/src/components/settings/pages/RecoveryMethods/RecoveryMethodsList.tsx index 32968866b..fd7f4ce0f 100644 --- a/src/components/settings/pages/RecoveryMethods/RecoveryMethodsList.tsx +++ b/src/components/settings/pages/RecoveryMethods/RecoveryMethodsList.tsx @@ -1,5 +1,5 @@ import { t } from 'i18next'; -import { KeyIcon, QRCodeIcon, UsbIcon } from '@avalabs/k2-components'; +import { KeyIcon, QRCodeIcon, UsbIcon } from '@avalabs/core-k2-components'; import { RecoveryMethodType } from '@src/background/services/seedless/models'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; diff --git a/src/components/settings/pages/RecoveryPhrase.tsx b/src/components/settings/pages/RecoveryPhrase.tsx index 5662a02c0..58d19de8b 100644 --- a/src/components/settings/pages/RecoveryPhrase.tsx +++ b/src/components/settings/pages/RecoveryPhrase.tsx @@ -10,7 +10,7 @@ import { TextField, Typography, LoadingDots, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; export function RecoveryPhrase({ goBack, diff --git a/src/components/settings/pages/SecurityAndPrivacy.tsx b/src/components/settings/pages/SecurityAndPrivacy.tsx index 655a74096..a9a8466f9 100644 --- a/src/components/settings/pages/SecurityAndPrivacy.tsx +++ b/src/components/settings/pages/SecurityAndPrivacy.tsx @@ -21,7 +21,7 @@ import { Switch, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useState } from 'react'; import Dialog from '@src/components/common/Dialog'; import { SeedlessExportAnalytics } from '@src/background/services/seedless/seedlessAnalytics'; diff --git a/src/contexts/OnboardingProvider.tsx b/src/contexts/OnboardingProvider.tsx index eaf476f92..04b87bf57 100644 --- a/src/contexts/OnboardingProvider.tsx +++ b/src/contexts/OnboardingProvider.tsx @@ -28,7 +28,7 @@ import { concat, filter, from, map } from 'rxjs'; import browser from 'webextension-polyfill'; import { useConnectionContext } from './ConnectionProvider'; import { LoadingContent } from '@src/popup/LoadingContent'; -import { toast } from '@avalabs/k2-components'; +import { toast } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { SignerSessionData } from '@cubist-labs/cubesigner-sdk'; import { useAnalyticsContext } from './AnalyticsProvider'; diff --git a/src/hooks/useApprovalHelpers.ts b/src/hooks/useApprovalHelpers.ts index 01b625cfd..9f1cf620c 100644 --- a/src/hooks/useApprovalHelpers.ts +++ b/src/hooks/useApprovalHelpers.ts @@ -3,7 +3,7 @@ import { useCallback, useRef, useState } from 'react'; import useIsUsingLedgerWallet from './useIsUsingLedgerWallet'; import useIsUsingKeystoneWallet from './useIsUsingKeystoneWallet'; import useIsUsingWalletConnectAccount from './useIsUsingWalletConnectAccount'; -import { toast } from '@avalabs/k2-components'; +import { toast } from '@avalabs/core-k2-components'; import useIsUsingFireblocksAccount from './useIsUsingFireblocksAccount'; type UseApprovalHelpersProps = { diff --git a/src/hooks/useKeystoneScannerContents.tsx b/src/hooks/useKeystoneScannerContents.tsx index dd47a9f16..dde0ebee6 100644 --- a/src/hooks/useKeystoneScannerContents.tsx +++ b/src/hooks/useKeystoneScannerContents.tsx @@ -6,7 +6,7 @@ import { CircularProgress, QRCodeIcon, CameraBlockedIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { AnimatedQRScanner, Purpose, URType } from '@keystonehq/animated-qr'; diff --git a/src/hooks/useSeedlessMfa.tsx b/src/hooks/useSeedlessMfa.tsx index 54aad1e5e..ef1f00f5a 100644 --- a/src/hooks/useSeedlessMfa.tsx +++ b/src/hooks/useSeedlessMfa.tsx @@ -19,7 +19,11 @@ import { useConnectionContext } from '@src/contexts/ConnectionProvider'; import { launchFidoFlow } from '@src/utils/seedless/fido/launchFidoFlow'; import { FIDOApiEndpoint } from '@src/utils/seedless/fido/types'; -import { Dialog, DialogContent, DialogTitle } from '@avalabs/k2-components'; +import { + Dialog, + DialogContent, + DialogTitle, +} from '@avalabs/core-k2-components'; import { TOTPChallenge } from '@src/components/common/seedless/components/TOTPChallenge'; import { FIDOChallenge } from '@src/components/common/seedless/components/FIDOChallenge'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Accounts/AccountBalance.tsx b/src/pages/Accounts/AccountBalance.tsx index f03d41e38..8719da738 100644 --- a/src/pages/Accounts/AccountBalance.tsx +++ b/src/pages/Accounts/AccountBalance.tsx @@ -8,7 +8,7 @@ import { IconButton, Button, Grow, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { useSettingsContext } from '@src/contexts/SettingsProvider'; diff --git a/src/pages/Accounts/AccountDetailsView.tsx b/src/pages/Accounts/AccountDetailsView.tsx index 15c59392f..7cf8559c8 100644 --- a/src/pages/Accounts/AccountDetailsView.tsx +++ b/src/pages/Accounts/AccountDetailsView.tsx @@ -13,7 +13,7 @@ import { Tooltip, Typography, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { useWalletContext } from '@src/contexts/WalletProvider'; diff --git a/src/pages/Accounts/AccountItemChip.tsx b/src/pages/Accounts/AccountItemChip.tsx index 59bbd48c6..cbfb0af7e 100644 --- a/src/pages/Accounts/AccountItemChip.tsx +++ b/src/pages/Accounts/AccountItemChip.tsx @@ -5,7 +5,7 @@ import { WalletConnectIcon, FireblocksIcon, Chip, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Account, AccountType } from '@src/background/services/accounts/models'; diff --git a/src/pages/Accounts/Accounts.tsx b/src/pages/Accounts/Accounts.tsx index adcaf13bb..2c7601ab6 100644 --- a/src/pages/Accounts/Accounts.tsx +++ b/src/pages/Accounts/Accounts.tsx @@ -11,7 +11,7 @@ import { XIcon, toast, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { t } from 'i18next'; import { useHistory } from 'react-router-dom'; diff --git a/src/pages/Accounts/AddAccountError.tsx b/src/pages/Accounts/AddAccountError.tsx index 22ae8bf13..8dd541b8d 100644 --- a/src/pages/Accounts/AddAccountError.tsx +++ b/src/pages/Accounts/AddAccountError.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography, useTheme } from '@avalabs/k2-components'; +import { Stack, Typography, useTheme } from '@avalabs/core-k2-components'; import { useHistory } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Accounts/AddWalletWithKeystoreFile.tsx b/src/pages/Accounts/AddWalletWithKeystoreFile.tsx index 7764577c0..dc632010e 100644 --- a/src/pages/Accounts/AddWalletWithKeystoreFile.tsx +++ b/src/pages/Accounts/AddWalletWithKeystoreFile.tsx @@ -10,7 +10,7 @@ import { Typography, toast, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useHistory } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Accounts/AddWalletWithLedger.tsx b/src/pages/Accounts/AddWalletWithLedger.tsx index 805dc5a4a..4a88c3f06 100644 --- a/src/pages/Accounts/AddWalletWithLedger.tsx +++ b/src/pages/Accounts/AddWalletWithLedger.tsx @@ -7,7 +7,7 @@ import { Typography, toast, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { useTranslation } from 'react-i18next'; import { useCallback, useEffect, useState } from 'react'; diff --git a/src/pages/Accounts/AddWalletWithSeedPhrase.tsx b/src/pages/Accounts/AddWalletWithSeedPhrase.tsx index ac78e78db..a730bbf93 100644 --- a/src/pages/Accounts/AddWalletWithSeedPhrase.tsx +++ b/src/pages/Accounts/AddWalletWithSeedPhrase.tsx @@ -12,7 +12,7 @@ import { styled, toast, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useHistory } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { diff --git a/src/pages/Accounts/components/AccountDetailsAddressRow.tsx b/src/pages/Accounts/components/AccountDetailsAddressRow.tsx index 0c0fe7b14..ec9086f32 100644 --- a/src/pages/Accounts/components/AccountDetailsAddressRow.tsx +++ b/src/pages/Accounts/components/AccountDetailsAddressRow.tsx @@ -3,7 +3,7 @@ import { IconButton, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { stripAddressPrefix } from '@src/utils/stripAddressPrefix'; diff --git a/src/pages/Accounts/components/AccountItem.tsx b/src/pages/Accounts/components/AccountItem.tsx index 299c05d3b..4b3581de9 100644 --- a/src/pages/Accounts/components/AccountItem.tsx +++ b/src/pages/Accounts/components/AccountItem.tsx @@ -7,7 +7,7 @@ import { Tooltip, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useHistory } from 'react-router-dom'; import { ForwardedRef, diff --git a/src/pages/Accounts/components/AccountItemMenu.tsx b/src/pages/Accounts/components/AccountItemMenu.tsx index 6307278fb..43f8e6e68 100644 --- a/src/pages/Accounts/components/AccountItemMenu.tsx +++ b/src/pages/Accounts/components/AccountItemMenu.tsx @@ -12,7 +12,7 @@ import { MenuList, MoreHorizontalIcon, Popper, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useHistory } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { MouseEvent, useCallback, useRef, useState } from 'react'; diff --git a/src/pages/Accounts/components/AccountList.tsx b/src/pages/Accounts/components/AccountList.tsx index 032470173..1f35cb3ee 100644 --- a/src/pages/Accounts/components/AccountList.tsx +++ b/src/pages/Accounts/components/AccountList.tsx @@ -3,7 +3,7 @@ import { ScrollbarsRef, Stack, SxProps, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useEffect, useRef } from 'react'; import { Account } from '@src/background/services/accounts/models'; diff --git a/src/pages/Accounts/components/AccountListPrimary.tsx b/src/pages/Accounts/components/AccountListPrimary.tsx index b96cd99a2..9efd346a0 100644 --- a/src/pages/Accounts/components/AccountListPrimary.tsx +++ b/src/pages/Accounts/components/AccountListPrimary.tsx @@ -5,7 +5,7 @@ import { Stack, SxProps, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useEffect, useRef } from 'react'; import { diff --git a/src/pages/Accounts/components/AccountNameInput.tsx b/src/pages/Accounts/components/AccountNameInput.tsx index 6053463ba..166cbe6fc 100644 --- a/src/pages/Accounts/components/AccountNameInput.tsx +++ b/src/pages/Accounts/components/AccountNameInput.tsx @@ -1,4 +1,4 @@ -import { TextFieldProps, useTheme } from '@avalabs/k2-components'; +import { TextFieldProps, useTheme } from '@avalabs/core-k2-components'; import { TextField } from '@mui/material'; export const AccountNameInput = (props: TextFieldProps) => { diff --git a/src/pages/Accounts/components/AccountsActionButton.tsx b/src/pages/Accounts/components/AccountsActionButton.tsx index 0b5e6f990..7efea82dc 100644 --- a/src/pages/Accounts/components/AccountsActionButton.tsx +++ b/src/pages/Accounts/components/AccountsActionButton.tsx @@ -15,7 +15,7 @@ import { ListIcon, Typography, TypographyProps, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useCallback, useMemo, useRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { useHistory } from 'react-router-dom'; diff --git a/src/pages/Accounts/components/ConfirmAccountRemovalDialog.tsx b/src/pages/Accounts/components/ConfirmAccountRemovalDialog.tsx index d667564f7..ec1fe69d6 100644 --- a/src/pages/Accounts/components/ConfirmAccountRemovalDialog.tsx +++ b/src/pages/Accounts/components/ConfirmAccountRemovalDialog.tsx @@ -6,7 +6,7 @@ import { DialogProps, DialogTitle, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; type ConfirmAccountRemovalDialogProps = DialogProps & { diff --git a/src/pages/Accounts/components/CurrentAddressSneakPeek.tsx b/src/pages/Accounts/components/CurrentAddressSneakPeek.tsx index c1710a0ed..974802f9a 100644 --- a/src/pages/Accounts/components/CurrentAddressSneakPeek.tsx +++ b/src/pages/Accounts/components/CurrentAddressSneakPeek.tsx @@ -7,7 +7,7 @@ import { Tooltip, Typography, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { truncateAddress } from '@src/utils/truncateAddress'; diff --git a/src/pages/Accounts/components/KeystoreFileConfirmation.tsx b/src/pages/Accounts/components/KeystoreFileConfirmation.tsx index dea22afb4..3e7f0dcb3 100644 --- a/src/pages/Accounts/components/KeystoreFileConfirmation.tsx +++ b/src/pages/Accounts/components/KeystoreFileConfirmation.tsx @@ -4,7 +4,7 @@ import { Stack, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { KeystoreFileContentInfo } from '@src/utils/keystore/models'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Accounts/components/KeystoreFileError.tsx b/src/pages/Accounts/components/KeystoreFileError.tsx index 2d929a505..23dbdd626 100644 --- a/src/pages/Accounts/components/KeystoreFileError.tsx +++ b/src/pages/Accounts/components/KeystoreFileError.tsx @@ -4,7 +4,7 @@ import { Card, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useErrorMessage } from '@src/hooks/useErrorMessage'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Accounts/components/KeystoreFileUpload.tsx b/src/pages/Accounts/components/KeystoreFileUpload.tsx index 520b89d2a..4b30d1848 100644 --- a/src/pages/Accounts/components/KeystoreFileUpload.tsx +++ b/src/pages/Accounts/components/KeystoreFileUpload.tsx @@ -5,7 +5,7 @@ import { Typography, UploadIcon, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { ChangeEventHandler, DragEventHandler, diff --git a/src/pages/Accounts/components/MenuFilterItem.tsx b/src/pages/Accounts/components/MenuFilterItem.tsx index a5363e17f..c55d149e3 100644 --- a/src/pages/Accounts/components/MenuFilterItem.tsx +++ b/src/pages/Accounts/components/MenuFilterItem.tsx @@ -1,4 +1,9 @@ -import { CheckIcon, MenuItem, Stack, Typography } from '@avalabs/k2-components'; +import { + CheckIcon, + MenuItem, + Stack, + Typography, +} from '@avalabs/core-k2-components'; export const MenuFilterItem = ({ itemText, diff --git a/src/pages/Accounts/components/NameYourWallet.tsx b/src/pages/Accounts/components/NameYourWallet.tsx index 702447d29..6d3189ad2 100644 --- a/src/pages/Accounts/components/NameYourWallet.tsx +++ b/src/pages/Accounts/components/NameYourWallet.tsx @@ -1,6 +1,11 @@ import { useCallback, useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { Button, Stack, TextField, useTheme } from '@avalabs/k2-components'; +import { + Button, + Stack, + TextField, + useTheme, +} from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { useKeyboardShortcuts } from '@src/hooks/useKeyboardShortcuts'; diff --git a/src/pages/Accounts/components/NoAccountsFound.tsx b/src/pages/Accounts/components/NoAccountsFound.tsx index 84e8c54cc..4431dd15d 100644 --- a/src/pages/Accounts/components/NoAccountsFound.tsx +++ b/src/pages/Accounts/components/NoAccountsFound.tsx @@ -4,7 +4,7 @@ import { SearchOffIcon, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useCallback } from 'react'; import { useTranslation } from 'react-i18next'; import { useHistory } from 'react-router-dom'; diff --git a/src/pages/Accounts/components/WalletTypeIcon.tsx b/src/pages/Accounts/components/WalletTypeIcon.tsx index 506ecef21..93dab261c 100644 --- a/src/pages/Accounts/components/WalletTypeIcon.tsx +++ b/src/pages/Accounts/components/WalletTypeIcon.tsx @@ -6,7 +6,7 @@ import { LedgerIcon, ListIcon, SxProps, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { SecretType } from '@src/background/services/secrets/models'; import { diff --git a/src/pages/Accounts/components/XPChainIcon.tsx b/src/pages/Accounts/components/XPChainIcon.tsx index 55c6b5167..5ae536899 100644 --- a/src/pages/Accounts/components/XPChainIcon.tsx +++ b/src/pages/Accounts/components/XPChainIcon.tsx @@ -3,7 +3,7 @@ import { Avatar, Badge, Stack, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; export const XPChainIcon = () => ( { const { t } = useTranslation(); diff --git a/src/pages/Bridge/components/BridgeUnknownNetwork.tsx b/src/pages/Bridge/components/BridgeUnknownNetwork.tsx index 2c0e3d0b3..58f88b465 100644 --- a/src/pages/Bridge/components/BridgeUnknownNetwork.tsx +++ b/src/pages/Bridge/components/BridgeUnknownNetwork.tsx @@ -4,7 +4,7 @@ import { useNetworkContext } from '@src/contexts/NetworkProvider'; import { useAvailableBlockchains } from '../hooks/useAvailableBlockchains'; import { blockchainToNetwork } from '../utils/blockchainConversion'; import { useTranslation } from 'react-i18next'; -import { Button, Stack, Typography } from '@avalabs/k2-components'; +import { Button, Stack, Typography } from '@avalabs/core-k2-components'; export const BridgeUnknownNetwork = ({ onSelect }) => { const { t } = useTranslation(); diff --git a/src/pages/Bridge/components/ElapsedTimer.tsx b/src/pages/Bridge/components/ElapsedTimer.tsx index 715545524..871116401 100644 --- a/src/pages/Bridge/components/ElapsedTimer.tsx +++ b/src/pages/Bridge/components/ElapsedTimer.tsx @@ -5,7 +5,7 @@ import { Tooltip, Typography, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { useEffect } from 'react'; import { useStopwatch } from 'react-timer-hook'; diff --git a/src/pages/Bridge/components/NetworkSelector.tsx b/src/pages/Bridge/components/NetworkSelector.tsx index 9d425a835..02ea5260d 100644 --- a/src/pages/Bridge/components/NetworkSelector.tsx +++ b/src/pages/Bridge/components/NetworkSelector.tsx @@ -13,7 +13,7 @@ import { MenuItem, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { TokenIcon } from '@src/components/common/TokenIcon'; interface NetworkSelectorProps { diff --git a/src/pages/Bridge/components/OffloadTimerTooltip.tsx b/src/pages/Bridge/components/OffloadTimerTooltip.tsx index 41f1520b5..360987b72 100644 --- a/src/pages/Bridge/components/OffloadTimerTooltip.tsx +++ b/src/pages/Bridge/components/OffloadTimerTooltip.tsx @@ -1,4 +1,4 @@ -import { InfoCircleIcon, Link, Tooltip } from '@avalabs/k2-components'; +import { InfoCircleIcon, Link, Tooltip } from '@avalabs/core-k2-components'; import { Trans, useTranslation } from 'react-i18next'; import { formatDistance } from 'date-fns'; diff --git a/src/pages/Collectibles/CollectibleDetails.tsx b/src/pages/Collectibles/CollectibleDetails.tsx index 0d5cb31f1..dcb89c34d 100644 --- a/src/pages/Collectibles/CollectibleDetails.tsx +++ b/src/pages/Collectibles/CollectibleDetails.tsx @@ -9,7 +9,7 @@ import { Typography, TypographyProps, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { Scrollbars } from '@src/components/common/scrollbars/Scrollbars'; diff --git a/src/pages/Collectibles/CollectibleSend.tsx b/src/pages/Collectibles/CollectibleSend.tsx index 57b0c2d20..f95b93e55 100644 --- a/src/pages/Collectibles/CollectibleSend.tsx +++ b/src/pages/Collectibles/CollectibleSend.tsx @@ -2,7 +2,7 @@ import { useCallback, useMemo } from 'react'; import { useHistory } from 'react-router-dom'; import { NetworkVMType } from '@avalabs/core-chains-sdk'; import { useTranslation } from 'react-i18next'; -import { Stack, toast } from '@avalabs/k2-components'; +import { Stack, toast } from '@avalabs/core-k2-components'; import { JsonRpcBatchInternal } from '@avalabs/core-wallets-sdk'; import { PageTitle } from '@src/components/common/PageTitle'; diff --git a/src/pages/Collectibles/Collectibles.tsx b/src/pages/Collectibles/Collectibles.tsx index 9f1868971..b5e2bed98 100644 --- a/src/pages/Collectibles/Collectibles.tsx +++ b/src/pages/Collectibles/Collectibles.tsx @@ -7,7 +7,7 @@ import { ToggleButton, ToggleButtonGroup, Stack, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { CollectibleGrid } from './components/CollectibleGrid'; import { CollectibleList } from './components/CollectibleList'; diff --git a/src/pages/Collectibles/SendEVMCollectible.tsx b/src/pages/Collectibles/SendEVMCollectible.tsx index bca614c12..d02ac9fb2 100644 --- a/src/pages/Collectibles/SendEVMCollectible.tsx +++ b/src/pages/Collectibles/SendEVMCollectible.tsx @@ -8,7 +8,7 @@ import { Stack, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { NetworkTokenWithBalance, diff --git a/src/pages/Collectibles/components/CollectibleGrid.tsx b/src/pages/Collectibles/components/CollectibleGrid.tsx index e3270de6b..34b4b58cc 100644 --- a/src/pages/Collectibles/components/CollectibleGrid.tsx +++ b/src/pages/Collectibles/components/CollectibleGrid.tsx @@ -5,7 +5,7 @@ import { import { useBalancesContext } from '@src/contexts/BalancesProvider'; import { CollectibleMedia } from './CollectibleMedia'; import { CollectibleWrapper } from './CollectibleWrapper'; -import { Button } from '@avalabs/k2-components'; +import { Button } from '@avalabs/core-k2-components'; export function CollectibleGrid({ onClick, diff --git a/src/pages/Collectibles/components/CollectibleList.tsx b/src/pages/Collectibles/components/CollectibleList.tsx index 78c0b8644..cd2634cc0 100644 --- a/src/pages/Collectibles/components/CollectibleList.tsx +++ b/src/pages/Collectibles/components/CollectibleList.tsx @@ -1,7 +1,7 @@ import { CollectibleMedia } from './CollectibleMedia'; import { useBalancesContext } from '@src/contexts/BalancesProvider'; import { NftTokenWithBalance } from '@src/background/services/balances/models'; -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { TokenCard } from '@src/components/common/TokenCard'; export function CollectibleList({ diff --git a/src/pages/Collectibles/components/CollectibleListEmpty.tsx b/src/pages/Collectibles/components/CollectibleListEmpty.tsx index 0af57b458..d0fcd4e7b 100644 --- a/src/pages/Collectibles/components/CollectibleListEmpty.tsx +++ b/src/pages/Collectibles/components/CollectibleListEmpty.tsx @@ -1,4 +1,4 @@ -import { Typography, Stack } from '@avalabs/k2-components'; +import { Typography, Stack } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; export function CollectibleListEmpty() { diff --git a/src/pages/Collectibles/components/CollectibleMedia.tsx b/src/pages/Collectibles/components/CollectibleMedia.tsx index c09a8da95..06457779e 100644 --- a/src/pages/Collectibles/components/CollectibleMedia.tsx +++ b/src/pages/Collectibles/components/CollectibleMedia.tsx @@ -9,7 +9,7 @@ import { styled, TriangleRightIcon, ArrowsMaximizeIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import BN from 'bn.js'; const NftImage = styled(ImageWithFallback)<{ diff --git a/src/pages/Collectibles/components/CollectibleSkeleton.tsx b/src/pages/Collectibles/components/CollectibleSkeleton.tsx index fc22e0fd4..1ddfdb803 100644 --- a/src/pages/Collectibles/components/CollectibleSkeleton.tsx +++ b/src/pages/Collectibles/components/CollectibleSkeleton.tsx @@ -1,4 +1,4 @@ -import { Skeleton } from '@avalabs/k2-components'; +import { Skeleton } from '@avalabs/core-k2-components'; import { CollectibleWrapper } from './CollectibleWrapper'; export function CollectibleSkeleton() { diff --git a/src/pages/Collectibles/components/CollectibleWrapper.tsx b/src/pages/Collectibles/components/CollectibleWrapper.tsx index c42bcc177..2398bd2f4 100644 --- a/src/pages/Collectibles/components/CollectibleWrapper.tsx +++ b/src/pages/Collectibles/components/CollectibleWrapper.tsx @@ -1,6 +1,6 @@ import { ReactNode } from 'react'; import Masonry from 'react-masonry-css'; -import { styled } from '@avalabs/k2-components'; +import { styled } from '@avalabs/core-k2-components'; const StyledMasonry = styled(Masonry)` display: flex; diff --git a/src/pages/Collectibles/components/ImageWrapper.tsx b/src/pages/Collectibles/components/ImageWrapper.tsx index 3bc852253..689713ac1 100644 --- a/src/pages/Collectibles/components/ImageWrapper.tsx +++ b/src/pages/Collectibles/components/ImageWrapper.tsx @@ -3,7 +3,7 @@ import { ChevronLeftIcon, IconButton, Stack, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Overlay } from '@src/components/common/Overlay'; import { PropsWithChildren } from 'react'; interface ImageWrapperProps { diff --git a/src/pages/DeFi/DeFi.tsx b/src/pages/DeFi/DeFi.tsx index 4227efa76..8b7164e9c 100644 --- a/src/pages/DeFi/DeFi.tsx +++ b/src/pages/DeFi/DeFi.tsx @@ -1,4 +1,4 @@ -import { CircularProgress, Stack } from '@avalabs/k2-components'; +import { CircularProgress, Stack } from '@avalabs/core-k2-components'; import { useDefiContext } from '@src/contexts/DefiProvider'; import { useFeatureFlagContext } from '@src/contexts/FeatureFlagsProvider'; diff --git a/src/pages/DeFi/DefiProtocolDetails.tsx b/src/pages/DeFi/DefiProtocolDetails.tsx index 190495c38..48c8756de 100644 --- a/src/pages/DeFi/DefiProtocolDetails.tsx +++ b/src/pages/DeFi/DefiProtocolDetails.tsx @@ -12,7 +12,7 @@ import { Scrollbars, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { openNewTab } from '@src/utils/extensionUtils'; import { useDefiContext } from '@src/contexts/DefiProvider'; diff --git a/src/pages/DeFi/components/DefiErrorState.tsx b/src/pages/DeFi/components/DefiErrorState.tsx index ee98ad4cd..878204e01 100644 --- a/src/pages/DeFi/components/DefiErrorState.tsx +++ b/src/pages/DeFi/components/DefiErrorState.tsx @@ -4,7 +4,7 @@ import { Stack, StackProps, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; export const DefiErrorState = (props: StackProps) => { const { t } = useTranslation(); diff --git a/src/pages/DeFi/components/DefiPortfolioCommon.tsx b/src/pages/DeFi/components/DefiPortfolioCommon.tsx index c147f3697..c288bfb46 100644 --- a/src/pages/DeFi/components/DefiPortfolioCommon.tsx +++ b/src/pages/DeFi/components/DefiPortfolioCommon.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { sumByProperty } from '@src/utils/sumByProperty'; import { DefiCommonItem } from '@src/background/services/defi/models'; diff --git a/src/pages/DeFi/components/DefiPortfolioInsurance.tsx b/src/pages/DeFi/components/DefiPortfolioInsurance.tsx index a9047a58b..de2aa451c 100644 --- a/src/pages/DeFi/components/DefiPortfolioInsurance.tsx +++ b/src/pages/DeFi/components/DefiPortfolioInsurance.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { Stack, Tooltip, Typography } from '@avalabs/k2-components'; +import { Stack, Tooltip, Typography } from '@avalabs/core-k2-components'; import { DefiInsuranceBuyerItem } from '@src/background/services/defi/models'; diff --git a/src/pages/DeFi/components/DefiPortfolioItemGroup.tsx b/src/pages/DeFi/components/DefiPortfolioItemGroup.tsx index 477afedf7..950e97828 100644 --- a/src/pages/DeFi/components/DefiPortfolioItemGroup.tsx +++ b/src/pages/DeFi/components/DefiPortfolioItemGroup.tsx @@ -1,6 +1,6 @@ import { useMemo } from 'react'; import { useTranslation } from 'react-i18next'; -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { DefiCommonItem, diff --git a/src/pages/DeFi/components/DefiPortfolioLending.tsx b/src/pages/DeFi/components/DefiPortfolioLending.tsx index c047b5bd0..a6f4f9e04 100644 --- a/src/pages/DeFi/components/DefiPortfolioLending.tsx +++ b/src/pages/DeFi/components/DefiPortfolioLending.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { Avatar, Stack, Typography } from '@avalabs/k2-components'; +import { Avatar, Stack, Typography } from '@avalabs/core-k2-components'; import { DefiLendingItem, diff --git a/src/pages/DeFi/components/DefiPortfolioPerpetual.tsx b/src/pages/DeFi/components/DefiPortfolioPerpetual.tsx index 670968304..9c549cb8c 100644 --- a/src/pages/DeFi/components/DefiPortfolioPerpetual.tsx +++ b/src/pages/DeFi/components/DefiPortfolioPerpetual.tsx @@ -1,5 +1,10 @@ import { useTranslation } from 'react-i18next'; -import { Grid, GridProps, Stack, Typography } from '@avalabs/k2-components'; +import { + Grid, + GridProps, + Stack, + Typography, +} from '@avalabs/core-k2-components'; import { DefiPerpetualItem } from '@src/background/services/defi/models'; diff --git a/src/pages/DeFi/components/DefiPortfolioRewards.tsx b/src/pages/DeFi/components/DefiPortfolioRewards.tsx index 7aae09af8..f85c92925 100644 --- a/src/pages/DeFi/components/DefiPortfolioRewards.tsx +++ b/src/pages/DeFi/components/DefiPortfolioRewards.tsx @@ -1,6 +1,6 @@ import { useMemo } from 'react'; import { useTranslation } from 'react-i18next'; -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { DefiRewardItem } from '@src/background/services/defi/models'; diff --git a/src/pages/DeFi/components/DefiPortfolioVesting.tsx b/src/pages/DeFi/components/DefiPortfolioVesting.tsx index f4cd73077..8a8681e54 100644 --- a/src/pages/DeFi/components/DefiPortfolioVesting.tsx +++ b/src/pages/DeFi/components/DefiPortfolioVesting.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { Avatar, Stack, Typography } from '@avalabs/k2-components'; +import { Avatar, Stack, Typography } from '@avalabs/core-k2-components'; import { DefiVestingItem } from '@src/background/services/defi/models'; diff --git a/src/pages/DeFi/components/DefiProtocolDetailsHeader.tsx b/src/pages/DeFi/components/DefiProtocolDetailsHeader.tsx index 9406802d5..fed4e90ff 100644 --- a/src/pages/DeFi/components/DefiProtocolDetailsHeader.tsx +++ b/src/pages/DeFi/components/DefiProtocolDetailsHeader.tsx @@ -5,7 +5,7 @@ import { IconButton, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { openNewTab } from '@src/utils/extensionUtils'; import { DefiProtocol } from '@src/background/services/defi/models'; diff --git a/src/pages/DeFi/components/DefiProtocolListItem.tsx b/src/pages/DeFi/components/DefiProtocolListItem.tsx index fd372e8d8..22f9240f0 100644 --- a/src/pages/DeFi/components/DefiProtocolListItem.tsx +++ b/src/pages/DeFi/components/DefiProtocolListItem.tsx @@ -9,7 +9,7 @@ import { Stack, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { DefiProtocol } from '@src/background/services/defi/models'; import { openNewTab } from '@src/utils/extensionUtils'; diff --git a/src/pages/DeFi/components/DefiTokenAvatarGroup.tsx b/src/pages/DeFi/components/DefiTokenAvatarGroup.tsx index 1a3106afc..8cb07267c 100644 --- a/src/pages/DeFi/components/DefiTokenAvatarGroup.tsx +++ b/src/pages/DeFi/components/DefiTokenAvatarGroup.tsx @@ -3,7 +3,7 @@ import { AvatarGroup, AvatarGroupProps, AvatarProps, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { DefiToken } from '@src/background/services/defi/models'; import { useMemo } from 'react'; diff --git a/src/pages/DeFi/components/DefiZeroState.tsx b/src/pages/DeFi/components/DefiZeroState.tsx index 3638e2703..302f3d4c9 100644 --- a/src/pages/DeFi/components/DefiZeroState.tsx +++ b/src/pages/DeFi/components/DefiZeroState.tsx @@ -1,6 +1,11 @@ import { useCallback } from 'react'; import { useTranslation } from 'react-i18next'; -import { Button, Stack, StackProps, Typography } from '@avalabs/k2-components'; +import { + Button, + Stack, + StackProps, + Typography, +} from '@avalabs/core-k2-components'; import { openNewTab } from '@src/utils/extensionUtils'; diff --git a/src/pages/ExportPrivateKey/EnterPassword.tsx b/src/pages/ExportPrivateKey/EnterPassword.tsx index ebb03ee53..2e856c390 100644 --- a/src/pages/ExportPrivateKey/EnterPassword.tsx +++ b/src/pages/ExportPrivateKey/EnterPassword.tsx @@ -4,7 +4,7 @@ import { Stack, TextField, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; import { Dispatch, SetStateAction } from 'react'; diff --git a/src/pages/ExportPrivateKey/ExportPrivateKey.tsx b/src/pages/ExportPrivateKey/ExportPrivateKey.tsx index 3e0a769dd..f991ce486 100644 --- a/src/pages/ExportPrivateKey/ExportPrivateKey.tsx +++ b/src/pages/ExportPrivateKey/ExportPrivateKey.tsx @@ -1,7 +1,7 @@ import { useCallback, useEffect, useState } from 'react'; import { EnterPassword } from './EnterPassword'; import { ShowPrivateKey } from './ShowPrivateKey'; -import { Stack, useTheme } from '@avalabs/k2-components'; +import { Stack, useTheme } from '@avalabs/core-k2-components'; import { GetPrivateKeyHandler } from '@src/background/services/accounts/handlers/getPrivateKey'; import { ExtensionRequest } from '@src/background/connections/extensionConnection/models'; import { useConnectionContext } from '@src/contexts/ConnectionProvider'; diff --git a/src/pages/ExportPrivateKey/ShowPrivateKey.tsx b/src/pages/ExportPrivateKey/ShowPrivateKey.tsx index 61c1a19d6..75c044b04 100644 --- a/src/pages/ExportPrivateKey/ShowPrivateKey.tsx +++ b/src/pages/ExportPrivateKey/ShowPrivateKey.tsx @@ -9,7 +9,7 @@ import { Typography, CopyIcon, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { useTranslation } from 'react-i18next'; import { useHistory } from 'react-router-dom'; diff --git a/src/pages/Fireblocks/ConnectBitcoinWallet.tsx b/src/pages/Fireblocks/ConnectBitcoinWallet.tsx index ceb1448f1..ba52d0faf 100644 --- a/src/pages/Fireblocks/ConnectBitcoinWallet.tsx +++ b/src/pages/Fireblocks/ConnectBitcoinWallet.tsx @@ -7,7 +7,7 @@ import { useTheme, Scrollbars, Link, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { Trans, useTranslation } from 'react-i18next'; import { useHistory, useParams } from 'react-router-dom'; diff --git a/src/pages/Fireblocks/components/FireblocksAvatar.tsx b/src/pages/Fireblocks/components/FireblocksAvatar.tsx index 1d30cffc0..9f3b3a38e 100644 --- a/src/pages/Fireblocks/components/FireblocksAvatar.tsx +++ b/src/pages/Fireblocks/components/FireblocksAvatar.tsx @@ -4,7 +4,7 @@ import { BitcoinColorIcon, FireblocksIcon, WalletConnectIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; interface FireblocksAvatarProps { badgeIcon?: 'walletConnect' | 'bitcoin'; diff --git a/src/pages/Fireblocks/components/FireblocksBitcoinDialog.tsx b/src/pages/Fireblocks/components/FireblocksBitcoinDialog.tsx index ea2064474..a6551bd5a 100644 --- a/src/pages/Fireblocks/components/FireblocksBitcoinDialog.tsx +++ b/src/pages/Fireblocks/components/FireblocksBitcoinDialog.tsx @@ -6,7 +6,7 @@ import { Button, DialogContent, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; import { AccountsTab } from '@src/pages/Accounts/Accounts'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index 9efccf989..387fa7b55 100644 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -1,6 +1,6 @@ import { Portfolio } from './components/Portfolio/Portfolio'; import { LedgerWrongVersionOverlay } from '../Ledger/LedgerWrongVersionOverlay'; -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; export function Home() { return ( diff --git a/src/pages/Home/components/Portfolio/Assets.tsx b/src/pages/Home/components/Portfolio/Assets.tsx index 7272b1faa..ce5762dd4 100644 --- a/src/pages/Home/components/Portfolio/Assets.tsx +++ b/src/pages/Home/components/Portfolio/Assets.tsx @@ -13,7 +13,7 @@ import { Tabs, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Redirect, useHistory } from 'react-router-dom'; import { TokenIcon } from '@src/components/common/TokenIcon'; import { diff --git a/src/pages/Home/components/Portfolio/NetworkWidget/ActiveNetworkWidget.tsx b/src/pages/Home/components/Portfolio/NetworkWidget/ActiveNetworkWidget.tsx index 0779d6ea5..dcd71bbec 100644 --- a/src/pages/Home/components/Portfolio/NetworkWidget/ActiveNetworkWidget.tsx +++ b/src/pages/Home/components/Portfolio/NetworkWidget/ActiveNetworkWidget.tsx @@ -19,7 +19,7 @@ import { AlertTriangleIcon, Badge, CheckIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { TokenIcon } from '@src/components/common/TokenIcon'; import { NetworkLogoK2 } from '@src/components/common/NetworkLogoK2'; import { isBitcoin } from '@src/utils/isBitcoin'; diff --git a/src/pages/Home/components/Portfolio/NetworkWidget/Assetlist.tsx b/src/pages/Home/components/Portfolio/NetworkWidget/Assetlist.tsx index d93eb753a..7a9fb0b82 100644 --- a/src/pages/Home/components/Portfolio/NetworkWidget/Assetlist.tsx +++ b/src/pages/Home/components/Portfolio/NetworkWidget/Assetlist.tsx @@ -17,7 +17,7 @@ import { Typography, keyframes, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { TokenEllipsis } from '@src/components/common/TokenEllipsis'; import { BalanceColumn } from '@src/components/common/BalanceColumn'; import { PAndL } from '@src/components/common/ProfitAndLoss'; diff --git a/src/pages/Home/components/Portfolio/NetworkWidget/NetworkList.tsx b/src/pages/Home/components/Portfolio/NetworkWidget/NetworkList.tsx index 7aaa59655..7e2a8c4ef 100644 --- a/src/pages/Home/components/Portfolio/NetworkWidget/NetworkList.tsx +++ b/src/pages/Home/components/Portfolio/NetworkWidget/NetworkList.tsx @@ -16,7 +16,7 @@ import { styled, Skeleton, Badge, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { useBridgeContext } from '@src/contexts/BridgeProvider'; import { filterBridgeStateToNetwork } from '@src/background/services/bridge/utils'; diff --git a/src/pages/Home/components/Portfolio/NetworkWidget/NetworksWidget.tsx b/src/pages/Home/components/Portfolio/NetworkWidget/NetworksWidget.tsx index d619decee..6f4fa0ea6 100644 --- a/src/pages/Home/components/Portfolio/NetworkWidget/NetworksWidget.tsx +++ b/src/pages/Home/components/Portfolio/NetworkWidget/NetworksWidget.tsx @@ -1,4 +1,4 @@ -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { TokenWithBalance } from '@src/background/services/balances/models'; import { useTokensWithBalances } from '@src/hooks/useTokensWithBalances'; diff --git a/src/pages/Home/components/Portfolio/NetworkWidget/PchainActiveNetworkWidgetContent.tsx b/src/pages/Home/components/Portfolio/NetworkWidget/PchainActiveNetworkWidgetContent.tsx index be047b802..209977953 100644 --- a/src/pages/Home/components/Portfolio/NetworkWidget/PchainActiveNetworkWidgetContent.tsx +++ b/src/pages/Home/components/Portfolio/NetworkWidget/PchainActiveNetworkWidgetContent.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { BalanceColumn } from '@src/components/common/BalanceColumn'; import { TokenWithBalancePVM } from '@src/background/services/balances/models'; diff --git a/src/pages/Home/components/Portfolio/NetworkWidget/SeeAllNetworksButton.tsx b/src/pages/Home/components/Portfolio/NetworkWidget/SeeAllNetworksButton.tsx index c34188ddd..68aeb5cab 100644 --- a/src/pages/Home/components/Portfolio/NetworkWidget/SeeAllNetworksButton.tsx +++ b/src/pages/Home/components/Portfolio/NetworkWidget/SeeAllNetworksButton.tsx @@ -1,7 +1,7 @@ import { useHistory } from 'react-router-dom'; import { NetworkCard } from './common/NetworkCard'; import { useTranslation } from 'react-i18next'; -import { Button, Stack, Typography } from '@avalabs/k2-components'; +import { Button, Stack, Typography } from '@avalabs/core-k2-components'; import { NetworkTab } from '@src/pages/Networks'; diff --git a/src/pages/Home/components/Portfolio/NetworkWidget/XchainActiveNetworkWidgetContent.tsx b/src/pages/Home/components/Portfolio/NetworkWidget/XchainActiveNetworkWidgetContent.tsx index 212d7656e..dfc2135a1 100644 --- a/src/pages/Home/components/Portfolio/NetworkWidget/XchainActiveNetworkWidgetContent.tsx +++ b/src/pages/Home/components/Portfolio/NetworkWidget/XchainActiveNetworkWidgetContent.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { BalanceColumn } from '@src/components/common/BalanceColumn'; import { TokenWithBalanceAVM } from '@src/background/services/balances/models'; diff --git a/src/pages/Home/components/Portfolio/NetworkWidget/ZeroWidget.tsx b/src/pages/Home/components/Portfolio/NetworkWidget/ZeroWidget.tsx index c7390ce2e..470bee27c 100644 --- a/src/pages/Home/components/Portfolio/NetworkWidget/ZeroWidget.tsx +++ b/src/pages/Home/components/Portfolio/NetworkWidget/ZeroWidget.tsx @@ -3,7 +3,12 @@ import { useHistory } from 'react-router-dom'; import { ChainId } from '@avalabs/core-chains-sdk'; import { useTranslation } from 'react-i18next'; -import { Button, BuyIcon, QRCodeIcon, Stack } from '@avalabs/k2-components'; +import { + Button, + BuyIcon, + QRCodeIcon, + Stack, +} from '@avalabs/core-k2-components'; import { openNewTab } from '@src/utils/extensionUtils'; import { getCoreWebUrl } from '@src/utils/getCoreWebUrl'; diff --git a/src/pages/Home/components/Portfolio/NetworkWidget/common/NetworkCard.tsx b/src/pages/Home/components/Portfolio/NetworkWidget/common/NetworkCard.tsx index 6fae84eb7..aa59963da 100644 --- a/src/pages/Home/components/Portfolio/NetworkWidget/common/NetworkCard.tsx +++ b/src/pages/Home/components/Portfolio/NetworkWidget/common/NetworkCard.tsx @@ -1,4 +1,4 @@ -import { Card, styled } from '@avalabs/k2-components'; +import { Card, styled } from '@avalabs/core-k2-components'; export const NetworkCard = styled(Card)` padding: 16px; diff --git a/src/pages/Home/components/Portfolio/Portfolio.tsx b/src/pages/Home/components/Portfolio/Portfolio.tsx index db7489494..270dde12d 100644 --- a/src/pages/Home/components/Portfolio/Portfolio.tsx +++ b/src/pages/Home/components/Portfolio/Portfolio.tsx @@ -13,7 +13,7 @@ import { TabPanel, Tabs, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useCallback, useEffect, useMemo, useState } from 'react'; import { useIsFunctionAvailable } from '@src/hooks/useIsFunctionAvailable'; import { Redirect } from 'react-router-dom'; diff --git a/src/pages/Home/components/Portfolio/TokenList.tsx b/src/pages/Home/components/Portfolio/TokenList.tsx index 0d8d7220b..e5165558f 100644 --- a/src/pages/Home/components/Portfolio/TokenList.tsx +++ b/src/pages/Home/components/Portfolio/TokenList.tsx @@ -14,7 +14,7 @@ import { TokenType } from '@src/background/services/balances/models'; import { useTranslation } from 'react-i18next'; import { AutoSizer } from 'react-virtualized'; import VirtualizedList from '@src/components/common/VirtualizedList'; -import { Button, Stack, styled } from '@avalabs/k2-components'; +import { Button, Stack, styled } from '@avalabs/core-k2-components'; import { TokenIcon } from '@src/components/common/TokenIcon'; import { BN } from 'bn.js'; diff --git a/src/pages/Home/components/Portfolio/WalletBalances.tsx b/src/pages/Home/components/Portfolio/WalletBalances.tsx index a108a0cab..68715b003 100644 --- a/src/pages/Home/components/Portfolio/WalletBalances.tsx +++ b/src/pages/Home/components/Portfolio/WalletBalances.tsx @@ -4,7 +4,7 @@ import { Tooltip, Typography, Skeleton, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PAndL } from '@src/components/common/ProfitAndLoss'; import { useAccountsContext } from '@src/contexts/AccountsProvider'; import { useBalancesContext } from '@src/contexts/BalancesProvider'; diff --git a/src/pages/Home/components/Portfolio/WalletIsEmpty.tsx b/src/pages/Home/components/Portfolio/WalletIsEmpty.tsx index a01d4b647..30dfc8350 100644 --- a/src/pages/Home/components/Portfolio/WalletIsEmpty.tsx +++ b/src/pages/Home/components/Portfolio/WalletIsEmpty.tsx @@ -4,7 +4,12 @@ import { } from '@src/hooks/useIsFunctionAvailable'; import { useHistory } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; -import { Button, QRCodeIcon, Stack, Typography } from '@avalabs/k2-components'; +import { + Button, + QRCodeIcon, + Stack, + Typography, +} from '@avalabs/core-k2-components'; export function WalletIsEmpty() { const history = useHistory(); diff --git a/src/pages/ImportPrivateKey/ImportPrivateKey.tsx b/src/pages/ImportPrivateKey/ImportPrivateKey.tsx index e8132e037..052b694b1 100644 --- a/src/pages/ImportPrivateKey/ImportPrivateKey.tsx +++ b/src/pages/ImportPrivateKey/ImportPrivateKey.tsx @@ -7,7 +7,7 @@ import { Typography, toast, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { getBtcAddressFromPubKey, getEvmAddressFromPubKey, diff --git a/src/pages/ImportPrivateKey/components/DerivedAddress.tsx b/src/pages/ImportPrivateKey/components/DerivedAddress.tsx index cd1a9b84b..528656bb1 100644 --- a/src/pages/ImportPrivateKey/components/DerivedAddress.tsx +++ b/src/pages/ImportPrivateKey/components/DerivedAddress.tsx @@ -5,7 +5,7 @@ import { Stack, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; export enum NetworkType { AVALANCHE = 'avalanche', diff --git a/src/pages/ImportWithWalletConnect/ImportWithWalletConnect.tsx b/src/pages/ImportWithWalletConnect/ImportWithWalletConnect.tsx index cfccde637..d9b395de9 100644 --- a/src/pages/ImportWithWalletConnect/ImportWithWalletConnect.tsx +++ b/src/pages/ImportWithWalletConnect/ImportWithWalletConnect.tsx @@ -1,7 +1,7 @@ import { useCallback } from 'react'; import { useHistory } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; -import { Stack, useTheme } from '@avalabs/k2-components'; +import { Stack, useTheme } from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { WalletConnectCircledIcon } from './components/WalletConnectCircledIcon'; diff --git a/src/pages/ImportWithWalletConnect/components/WalletConnectCircledIcon.tsx b/src/pages/ImportWithWalletConnect/components/WalletConnectCircledIcon.tsx index 23997ac4c..0aa6f8001 100644 --- a/src/pages/ImportWithWalletConnect/components/WalletConnectCircledIcon.tsx +++ b/src/pages/ImportWithWalletConnect/components/WalletConnectCircledIcon.tsx @@ -1,4 +1,4 @@ -import { WalletConnectIcon, Avatar } from '@avalabs/k2-components'; +import { WalletConnectIcon, Avatar } from '@avalabs/core-k2-components'; export const WalletConnectCircledIcon = () => ( { diff --git a/src/pages/Ledger/LedgerIncorrectApp.tsx b/src/pages/Ledger/LedgerIncorrectApp.tsx index 90821240a..dee305183 100644 --- a/src/pages/Ledger/LedgerIncorrectApp.tsx +++ b/src/pages/Ledger/LedgerIncorrectApp.tsx @@ -1,4 +1,4 @@ -import { Typography, useTheme, Button } from '@avalabs/k2-components'; +import { Typography, useTheme, Button } from '@avalabs/core-k2-components'; import { Trans, useTranslation } from 'react-i18next'; import { LedgerAppType, useLedgerContext } from '@src/contexts/LedgerProvider'; import { diff --git a/src/pages/Ledger/LedgerIncorrectDevice.tsx b/src/pages/Ledger/LedgerIncorrectDevice.tsx index 5ed8bbcb9..141b0fd77 100644 --- a/src/pages/Ledger/LedgerIncorrectDevice.tsx +++ b/src/pages/Ledger/LedgerIncorrectDevice.tsx @@ -2,7 +2,7 @@ import Dialog from '@src/components/common/Dialog'; import { useEffect, useState } from 'react'; import { t } from 'i18next'; import DangerIcon from '@src/components/icons/DangerIcon'; -import { Stack, Typography, useTheme } from '@avalabs/k2-components'; +import { Stack, Typography, useTheme } from '@avalabs/core-k2-components'; import useIsIncorrectDevice from './hooks/useIsIncorrectDevice'; import { useLedgerContext } from '@src/contexts/LedgerProvider'; diff --git a/src/pages/Ledger/LedgerRegisterBtcWalletPolicy.tsx b/src/pages/Ledger/LedgerRegisterBtcWalletPolicy.tsx index 20cdee61f..673993e6c 100644 --- a/src/pages/Ledger/LedgerRegisterBtcWalletPolicy.tsx +++ b/src/pages/Ledger/LedgerRegisterBtcWalletPolicy.tsx @@ -4,7 +4,7 @@ import { Divider, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useEffect, useState } from 'react'; import useRegisterBtcWalletPolicy from './hooks/useRegisterBtcWalletPolicy'; import { useLedgerContext } from '@src/contexts/LedgerProvider'; diff --git a/src/pages/Ledger/LedgerWrongVersion.tsx b/src/pages/Ledger/LedgerWrongVersion.tsx index 02748d073..3736b3039 100644 --- a/src/pages/Ledger/LedgerWrongVersion.tsx +++ b/src/pages/Ledger/LedgerWrongVersion.tsx @@ -7,7 +7,7 @@ import { Typography, useTheme, XIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; export const LedgerWrongVersionContent = () => ( <> diff --git a/src/pages/Ledger/LedgerWrongVersionOverlay.tsx b/src/pages/Ledger/LedgerWrongVersionOverlay.tsx index 53fef93d9..88919aab8 100644 --- a/src/pages/Ledger/LedgerWrongVersionOverlay.tsx +++ b/src/pages/Ledger/LedgerWrongVersionOverlay.tsx @@ -5,7 +5,7 @@ import { useLedgerContext, } from '@src/contexts/LedgerProvider'; import { isLedgerVersionCompatible } from '@src/utils/isLedgerVersionCompatible'; -import { Backdrop, Stack } from '@avalabs/k2-components'; +import { Backdrop, Stack } from '@avalabs/core-k2-components'; export function LedgerWrongVersionOverlay({ onClose, diff --git a/src/pages/ManageTokens/AddToken.tsx b/src/pages/ManageTokens/AddToken.tsx index 39c0f7229..4537bc729 100644 --- a/src/pages/ManageTokens/AddToken.tsx +++ b/src/pages/ManageTokens/AddToken.tsx @@ -16,7 +16,7 @@ import { TextField, Typography, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { TokenCardWithBalance } from '@src/components/common/TokenCardWithBalance'; import { TokenIcon } from '@src/components/common/TokenIcon'; diff --git a/src/pages/ManageTokens/AddTokenApproval.tsx b/src/pages/ManageTokens/AddTokenApproval.tsx index 07db03b22..168b1d06a 100644 --- a/src/pages/ManageTokens/AddTokenApproval.tsx +++ b/src/pages/ManageTokens/AddTokenApproval.tsx @@ -11,7 +11,7 @@ import { GlobeIcon, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Scrollbars } from '@src/components/common/scrollbars/Scrollbars'; import { AddCustomTokenData } from '@src/background/services/settings/models'; diff --git a/src/pages/ManageTokens/ManageTokens.tsx b/src/pages/ManageTokens/ManageTokens.tsx index 7ab46aaa9..7a0fbe593 100644 --- a/src/pages/ManageTokens/ManageTokens.tsx +++ b/src/pages/ManageTokens/ManageTokens.tsx @@ -10,7 +10,7 @@ import { SearchBar, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; export const ManageTokens = () => { const history = useHistory(); diff --git a/src/pages/ManageTokens/ManageTokensList.tsx b/src/pages/ManageTokens/ManageTokensList.tsx index adc30cb68..2a76ada56 100644 --- a/src/pages/ManageTokens/ManageTokensList.tsx +++ b/src/pages/ManageTokens/ManageTokensList.tsx @@ -5,7 +5,12 @@ import { TokenType, TokenWithBalance, } from '@src/background/services/balances/models'; -import { Divider, Stack, Switch, Typography } from '@avalabs/k2-components'; +import { + Divider, + Stack, + Switch, + Typography, +} from '@avalabs/core-k2-components'; type ManageTokensListProps = { searchQuery: string; diff --git a/src/pages/Network/AddCustomNetworkPopup.tsx b/src/pages/Network/AddCustomNetworkPopup.tsx index 0edf96b62..89cf81026 100644 --- a/src/pages/Network/AddCustomNetworkPopup.tsx +++ b/src/pages/Network/AddCustomNetworkPopup.tsx @@ -20,7 +20,7 @@ import { Stack, TextField, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { SiteAvatar } from '@src/components/common/SiteAvatar'; import { buildGlacierAuthHeaders } from '@src/background/services/network/utils/buildGlacierAuthHeaders'; import { useKeyboardShortcuts } from '@src/hooks/useKeyboardShortcuts'; diff --git a/src/pages/Network/SwitchActiveNetwork.tsx b/src/pages/Network/SwitchActiveNetwork.tsx index f0498426e..b94a2c3ae 100644 --- a/src/pages/Network/SwitchActiveNetwork.tsx +++ b/src/pages/Network/SwitchActiveNetwork.tsx @@ -5,7 +5,7 @@ import { Stack, Typography, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Network } from '@avalabs/core-chains-sdk'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Networks/AddNetwork.tsx b/src/pages/Networks/AddNetwork.tsx index f877058cb..af773d019 100644 --- a/src/pages/Networks/AddNetwork.tsx +++ b/src/pages/Networks/AddNetwork.tsx @@ -10,7 +10,7 @@ import { styled, toast, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Network, NetworkVMType } from '@avalabs/core-chains-sdk'; import { PageTitle } from '@src/components/common/PageTitle'; diff --git a/src/pages/Networks/CustomsTab.tsx b/src/pages/Networks/CustomsTab.tsx index e6e113c2e..f59b10b28 100644 --- a/src/pages/Networks/CustomsTab.tsx +++ b/src/pages/Networks/CustomsTab.tsx @@ -1,4 +1,4 @@ -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; diff --git a/src/pages/Networks/EditNetwork.tsx b/src/pages/Networks/EditNetwork.tsx index 0e96227a4..9113abb95 100644 --- a/src/pages/Networks/EditNetwork.tsx +++ b/src/pages/Networks/EditNetwork.tsx @@ -8,7 +8,7 @@ import { Stack, Typography, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; diff --git a/src/pages/Networks/FavoritesTab.tsx b/src/pages/Networks/FavoritesTab.tsx index 89f206238..43cf7e985 100644 --- a/src/pages/Networks/FavoritesTab.tsx +++ b/src/pages/Networks/FavoritesTab.tsx @@ -1,4 +1,4 @@ -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; diff --git a/src/pages/Networks/NetworkDetails.tsx b/src/pages/Networks/NetworkDetails.tsx index 5dab5d698..38defb32c 100644 --- a/src/pages/Networks/NetworkDetails.tsx +++ b/src/pages/Networks/NetworkDetails.tsx @@ -20,7 +20,7 @@ import { TrashIcon, Typography, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { NetworkLogo } from '@src/components/common/NetworkLogo'; diff --git a/src/pages/Networks/NetworkDetailsDialogs.tsx b/src/pages/Networks/NetworkDetailsDialogs.tsx index 82bcd9fd4..0895f2b73 100644 --- a/src/pages/Networks/NetworkDetailsDialogs.tsx +++ b/src/pages/Networks/NetworkDetailsDialogs.tsx @@ -1,4 +1,4 @@ -import { Button, Stack, Typography } from '@avalabs/k2-components'; +import { Button, Stack, Typography } from '@avalabs/core-k2-components'; import Dialog from '@src/components/common/Dialog'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Networks/NetworkForm.tsx b/src/pages/Networks/NetworkForm.tsx index be100a814..43b60da66 100644 --- a/src/pages/Networks/NetworkForm.tsx +++ b/src/pages/Networks/NetworkForm.tsx @@ -12,7 +12,7 @@ import { Stack, TextField, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; import { TextFieldLabel } from '@src/components/common/TextFieldLabel'; diff --git a/src/pages/Networks/NetworkRpcHeaders.tsx b/src/pages/Networks/NetworkRpcHeaders.tsx index a7b108482..36d4c9750 100644 --- a/src/pages/Networks/NetworkRpcHeaders.tsx +++ b/src/pages/Networks/NetworkRpcHeaders.tsx @@ -6,7 +6,7 @@ import { Stack, TextField, TrashIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { diff --git a/src/pages/Networks/NetworkRpcHeadersManager.tsx b/src/pages/Networks/NetworkRpcHeadersManager.tsx index b0e95ebd9..5fa693116 100644 --- a/src/pages/Networks/NetworkRpcHeadersManager.tsx +++ b/src/pages/Networks/NetworkRpcHeadersManager.tsx @@ -5,7 +5,7 @@ import { DialogTitle, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { CustomRpcHeaders, Network, diff --git a/src/pages/Networks/Networks.tsx b/src/pages/Networks/Networks.tsx index ce3c529ad..4e9f69b70 100644 --- a/src/pages/Networks/Networks.tsx +++ b/src/pages/Networks/Networks.tsx @@ -10,7 +10,7 @@ import { TabPanel, Tabs, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; import { PageTitle } from '@src/components/common/PageTitle'; diff --git a/src/pages/Networks/NetworksTab.tsx b/src/pages/Networks/NetworksTab.tsx index 9d6986c85..2388a67f0 100644 --- a/src/pages/Networks/NetworksTab.tsx +++ b/src/pages/Networks/NetworksTab.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; import { EmptyContent } from '@src/components/common/EmptyContent'; diff --git a/src/pages/Networks/common/NetworkList.tsx b/src/pages/Networks/common/NetworkList.tsx index b89ec8976..3cfc991e5 100644 --- a/src/pages/Networks/common/NetworkList.tsx +++ b/src/pages/Networks/common/NetworkList.tsx @@ -16,7 +16,7 @@ import { Typography, toast, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { NetworkLogo } from '@src/components/common/NetworkLogo'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; diff --git a/src/pages/Networks/common/NetworkListItem.ts b/src/pages/Networks/common/NetworkListItem.ts index ed5362014..2fe77f01a 100644 --- a/src/pages/Networks/common/NetworkListItem.ts +++ b/src/pages/Networks/common/NetworkListItem.ts @@ -1,4 +1,4 @@ -import { Stack, styled } from '@avalabs/k2-components'; +import { Stack, styled } from '@avalabs/core-k2-components'; export const NetworkListItem = styled(Stack, { shouldForwardProp: (prop) => prop !== 'isActive', diff --git a/src/pages/Networks/common/NetworkLogo.ts b/src/pages/Networks/common/NetworkLogo.ts index b728e7650..34f251c0c 100644 --- a/src/pages/Networks/common/NetworkLogo.ts +++ b/src/pages/Networks/common/NetworkLogo.ts @@ -1,4 +1,4 @@ -import { styled } from '@avalabs/k2-components'; +import { styled } from '@avalabs/core-k2-components'; export const NetworkLogoContainer = styled('div')` width: 32px; diff --git a/src/pages/Onboarding/Onboarding.tsx b/src/pages/Onboarding/Onboarding.tsx index 3526fd318..31dc539d0 100644 --- a/src/pages/Onboarding/Onboarding.tsx +++ b/src/pages/Onboarding/Onboarding.tsx @@ -4,7 +4,7 @@ import { CircularProgress, HomeIcon, Box, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { LanguageSelector } from './components/LanguageSelector'; import { Redirect, diff --git a/src/pages/Onboarding/components/DerivationPathDropDown.tsx b/src/pages/Onboarding/components/DerivationPathDropDown.tsx index f12f51cd9..0ff3dd413 100644 --- a/src/pages/Onboarding/components/DerivationPathDropDown.tsx +++ b/src/pages/Onboarding/components/DerivationPathDropDown.tsx @@ -1,6 +1,11 @@ import { DerivationPath } from '@avalabs/core-wallets-sdk'; import { useTranslation } from 'react-i18next'; -import { CheckIcon, Stack, Typography, useTheme } from '@avalabs/k2-components'; +import { + CheckIcon, + Stack, + Typography, + useTheme, +} from '@avalabs/core-k2-components'; import { Dropdown, DropdownItem } from '@src/components/common/Dropdown'; interface DerivationPathDropdownProps { diff --git a/src/pages/Onboarding/components/DerivedAddresses.tsx b/src/pages/Onboarding/components/DerivedAddresses.tsx index 999527aa9..cf40fcb89 100644 --- a/src/pages/Onboarding/components/DerivedAddresses.tsx +++ b/src/pages/Onboarding/components/DerivedAddresses.tsx @@ -12,7 +12,7 @@ import { Typography, useTheme, Tooltip, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; interface DerivedAddressesProps { addresses: AddressType[]; diff --git a/src/pages/Onboarding/components/LanguageSelector.tsx b/src/pages/Onboarding/components/LanguageSelector.tsx index 590dfa196..72570a79a 100644 --- a/src/pages/Onboarding/components/LanguageSelector.tsx +++ b/src/pages/Onboarding/components/LanguageSelector.tsx @@ -10,7 +10,7 @@ import { Popper, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; import { useLanguage } from '@src/hooks/useLanguages'; diff --git a/src/pages/Onboarding/components/OnboardButton.tsx b/src/pages/Onboarding/components/OnboardButton.tsx index c6ada08f5..e86dbeb6c 100644 --- a/src/pages/Onboarding/components/OnboardButton.tsx +++ b/src/pages/Onboarding/components/OnboardButton.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography, useTheme } from '@avalabs/k2-components'; +import { Stack, Typography, useTheme } from '@avalabs/core-k2-components'; export function OnboardButton({ children, diff --git a/src/pages/Onboarding/components/OnboardingStepHeader.tsx b/src/pages/Onboarding/components/OnboardingStepHeader.tsx index 81641b923..dc4cb2ae4 100644 --- a/src/pages/Onboarding/components/OnboardingStepHeader.tsx +++ b/src/pages/Onboarding/components/OnboardingStepHeader.tsx @@ -1,4 +1,4 @@ -import { CoreIcon, Stack, Typography } from '@avalabs/k2-components'; +import { CoreIcon, Stack, Typography } from '@avalabs/core-k2-components'; interface OnboardingStepHeaderProps { testId?: string; diff --git a/src/pages/Onboarding/components/PageNav.tsx b/src/pages/Onboarding/components/PageNav.tsx index 842177215..f0a997625 100644 --- a/src/pages/Onboarding/components/PageNav.tsx +++ b/src/pages/Onboarding/components/PageNav.tsx @@ -1,4 +1,4 @@ -import { Button, Stack, Tooltip, useTheme } from '@avalabs/k2-components'; +import { Button, Stack, Tooltip, useTheme } from '@avalabs/core-k2-components'; import { PropsWithChildren } from 'react'; import { useTranslation } from 'react-i18next'; import { PageTracker } from './PageTracker'; diff --git a/src/pages/Onboarding/components/PageTracker.tsx b/src/pages/Onboarding/components/PageTracker.tsx index 846459645..de8c24926 100644 --- a/src/pages/Onboarding/components/PageTracker.tsx +++ b/src/pages/Onboarding/components/PageTracker.tsx @@ -1,4 +1,4 @@ -import { MobileStepper } from '@avalabs/k2-components'; +import { MobileStepper } from '@avalabs/core-k2-components'; interface PageTrackerrProps { steps: number; diff --git a/src/pages/Onboarding/components/TypographyLink.tsx b/src/pages/Onboarding/components/TypographyLink.tsx index d61009f12..f812356f9 100644 --- a/src/pages/Onboarding/components/TypographyLink.tsx +++ b/src/pages/Onboarding/components/TypographyLink.tsx @@ -1,4 +1,4 @@ -import { styled, Typography } from '@avalabs/k2-components'; +import { styled, Typography } from '@avalabs/core-k2-components'; export const TypographyLink = styled(Typography)` cursor: pointer; diff --git a/src/pages/Onboarding/components/WordsLengthSelector.tsx b/src/pages/Onboarding/components/WordsLengthSelector.tsx index f0d80eaaa..d948532d6 100644 --- a/src/pages/Onboarding/components/WordsLengthSelector.tsx +++ b/src/pages/Onboarding/components/WordsLengthSelector.tsx @@ -8,7 +8,7 @@ import { MenuItem, MenuList, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { wordPhraseLength } from '@src/utils/seedPhraseValidation'; import { useRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Onboarding/hooks/useSeedlessActions.ts b/src/pages/Onboarding/hooks/useSeedlessActions.ts index 8ceedfe0f..09b2b5d41 100644 --- a/src/pages/Onboarding/hooks/useSeedlessActions.ts +++ b/src/pages/Onboarding/hooks/useSeedlessActions.ts @@ -3,7 +3,7 @@ import { SeedlessRegistartionResult, approveSeedlessRegistration, } from '../utils/approveSeedlessRegistration'; -import { toast } from '@avalabs/k2-components'; +import { toast } from '@avalabs/core-k2-components'; import { useOnboardingContext } from '@src/contexts/OnboardingProvider'; import { useHistory } from 'react-router-dom'; import { OnboardingURLs } from '@src/background/services/onboarding/models'; diff --git a/src/pages/Onboarding/pages/AnalyticsConsent.tsx b/src/pages/Onboarding/pages/AnalyticsConsent.tsx index a85cc9213..2a3b59842 100644 --- a/src/pages/Onboarding/pages/AnalyticsConsent.tsx +++ b/src/pages/Onboarding/pages/AnalyticsConsent.tsx @@ -5,7 +5,12 @@ import { } from '@src/background/services/onboarding/models'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; import { Trans, useTranslation } from 'react-i18next'; -import { AirdropIcon, Button, Stack, Typography } from '@avalabs/k2-components'; +import { + AirdropIcon, + Button, + Stack, + Typography, +} from '@avalabs/core-k2-components'; import { PageNav } from '../components/PageNav'; import { useEffect, useMemo, useState } from 'react'; import { useHistory } from 'react-router-dom'; diff --git a/src/pages/Onboarding/pages/CreatePassword.tsx b/src/pages/Onboarding/pages/CreatePassword.tsx index 8aa5e95ea..b301b51e7 100644 --- a/src/pages/Onboarding/pages/CreatePassword.tsx +++ b/src/pages/Onboarding/pages/CreatePassword.tsx @@ -17,7 +17,7 @@ import { Typography, XIcon, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageNav } from '../components/PageNav'; import { PasswordStrength } from '@src/components/common/PasswordStrength'; import { useHistory } from 'react-router-dom'; diff --git a/src/pages/Onboarding/pages/CreateWallet/ConfirmMnemonic.tsx b/src/pages/Onboarding/pages/CreateWallet/ConfirmMnemonic.tsx index b9461c29b..8aaef010f 100644 --- a/src/pages/Onboarding/pages/CreateWallet/ConfirmMnemonic.tsx +++ b/src/pages/Onboarding/pages/CreateWallet/ConfirmMnemonic.tsx @@ -1,4 +1,9 @@ -import { Stack, Typography, styled, useTheme } from '@avalabs/k2-components'; +import { + Stack, + Typography, + styled, + useTheme, +} from '@avalabs/core-k2-components'; import { useEffect, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { MnemonicProps } from './Mnemonic'; diff --git a/src/pages/Onboarding/pages/CreateWallet/ConfirmPhrase.tsx b/src/pages/Onboarding/pages/CreateWallet/ConfirmPhrase.tsx index 11bed9c7d..7e9a5f762 100644 --- a/src/pages/Onboarding/pages/CreateWallet/ConfirmPhrase.tsx +++ b/src/pages/Onboarding/pages/CreateWallet/ConfirmPhrase.tsx @@ -2,7 +2,7 @@ import { useState } from 'react'; import { OnboardingStepHeader } from '../../components/OnboardingStepHeader'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; import { Trans, useTranslation } from 'react-i18next'; -import { Stack, Typography, useTheme } from '@avalabs/k2-components'; +import { Stack, Typography, useTheme } from '@avalabs/core-k2-components'; import { Mnemonic } from './Mnemonic'; import { PageNav } from '../../components/PageNav'; diff --git a/src/pages/Onboarding/pages/CreateWallet/CopyPhrase.tsx b/src/pages/Onboarding/pages/CreateWallet/CopyPhrase.tsx index 42cc89a1e..a6c58ff8f 100644 --- a/src/pages/Onboarding/pages/CreateWallet/CopyPhrase.tsx +++ b/src/pages/Onboarding/pages/CreateWallet/CopyPhrase.tsx @@ -2,7 +2,12 @@ import { useState } from 'react'; import { OnboardingStepHeader } from '../../components/OnboardingStepHeader'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; import { Trans, useTranslation } from 'react-i18next'; -import { Checkbox, Stack, Typography, useTheme } from '@avalabs/k2-components'; +import { + Checkbox, + Stack, + Typography, + useTheme, +} from '@avalabs/core-k2-components'; import { Mnemonic } from './Mnemonic'; import { PageNav } from '../../components/PageNav'; diff --git a/src/pages/Onboarding/pages/CreateWallet/ShowMnemonic.tsx b/src/pages/Onboarding/pages/CreateWallet/ShowMnemonic.tsx index c7f55283b..8be806ff4 100644 --- a/src/pages/Onboarding/pages/CreateWallet/ShowMnemonic.tsx +++ b/src/pages/Onboarding/pages/CreateWallet/ShowMnemonic.tsx @@ -6,7 +6,7 @@ import { toast, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useMemo } from 'react'; import { useTranslation } from 'react-i18next'; import { MnemonicProps } from './Mnemonic'; diff --git a/src/pages/Onboarding/pages/ImportWallet.tsx b/src/pages/Onboarding/pages/ImportWallet.tsx index ad11c03f5..21795e870 100644 --- a/src/pages/Onboarding/pages/ImportWallet.tsx +++ b/src/pages/Onboarding/pages/ImportWallet.tsx @@ -14,7 +14,7 @@ import { TextField, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageNav } from '../components/PageNav'; import { useHistory } from 'react-router-dom'; import { WordsLengthSelector } from '../components/WordsLengthSelector'; diff --git a/src/pages/Onboarding/pages/Keystone/Keystone.tsx b/src/pages/Onboarding/pages/Keystone/Keystone.tsx index 571fb2140..03cc8ff4b 100644 --- a/src/pages/Onboarding/pages/Keystone/Keystone.tsx +++ b/src/pages/Onboarding/pages/Keystone/Keystone.tsx @@ -9,7 +9,7 @@ import { ExternalLinkIcon, Button, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageNav } from '../../components/PageNav'; import { FunctionIsOffline } from '@src/components/common/FunctionIsOffline'; import { useFeatureFlagContext } from '@src/contexts/FeatureFlagsProvider'; diff --git a/src/pages/Onboarding/pages/Keystone/KeystoneQRCodeScanner.tsx b/src/pages/Onboarding/pages/Keystone/KeystoneQRCodeScanner.tsx index c54e3f0bf..8c7bbbf8f 100644 --- a/src/pages/Onboarding/pages/Keystone/KeystoneQRCodeScanner.tsx +++ b/src/pages/Onboarding/pages/Keystone/KeystoneQRCodeScanner.tsx @@ -13,7 +13,7 @@ import { ExternalLinkIcon, useTheme, XIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Overlay } from '@src/components/common/Overlay'; import { useTranslation } from 'react-i18next'; import { CryptoMultiAccounts } from '@keystonehq/bc-ur-registry-eth'; diff --git a/src/pages/Onboarding/pages/Ledger/LedgerConnect.tsx b/src/pages/Onboarding/pages/Ledger/LedgerConnect.tsx index 82f067ab1..d8fb2b0c6 100644 --- a/src/pages/Onboarding/pages/Ledger/LedgerConnect.tsx +++ b/src/pages/Onboarding/pages/Ledger/LedgerConnect.tsx @@ -12,7 +12,7 @@ import { Tooltip, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PageNav } from '../../components/PageNav'; import { ONBOARDING_EVENT_NAMES, diff --git a/src/pages/Onboarding/pages/Ledger/LedgerTrouble.tsx b/src/pages/Onboarding/pages/Ledger/LedgerTrouble.tsx index 3afaa4cf0..115e2f8fb 100644 --- a/src/pages/Onboarding/pages/Ledger/LedgerTrouble.tsx +++ b/src/pages/Onboarding/pages/Ledger/LedgerTrouble.tsx @@ -7,7 +7,7 @@ import { Stack, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useHistory } from 'react-router-dom'; import { OnboardingURLs } from '@src/background/services/onboarding/models'; import { useLanguage } from '@src/hooks/useLanguages'; diff --git a/src/pages/Onboarding/pages/Seedless/RecoveryMethods.tsx b/src/pages/Onboarding/pages/Seedless/RecoveryMethods.tsx index 1aaaf4b95..291f8a57b 100644 --- a/src/pages/Onboarding/pages/Seedless/RecoveryMethods.tsx +++ b/src/pages/Onboarding/pages/Seedless/RecoveryMethods.tsx @@ -4,7 +4,7 @@ import { Typography, UsbIcon, QRCodeIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { OnboardingStepHeader } from '../../components/OnboardingStepHeader'; import { Trans, useTranslation } from 'react-i18next'; import { MethodCard } from './components/MethodCard'; diff --git a/src/pages/Onboarding/pages/Seedless/RecoveryMethodsLogin.tsx b/src/pages/Onboarding/pages/Seedless/RecoveryMethodsLogin.tsx index a555bd7b9..802419a88 100644 --- a/src/pages/Onboarding/pages/Seedless/RecoveryMethodsLogin.tsx +++ b/src/pages/Onboarding/pages/Seedless/RecoveryMethodsLogin.tsx @@ -5,7 +5,7 @@ import { Stack, Typography, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { OnboardingStepHeader } from '../../components/OnboardingStepHeader'; import { Trans, useTranslation } from 'react-i18next'; import { MethodCard } from './components/MethodCard'; diff --git a/src/pages/Onboarding/pages/Seedless/components/AppleButton.tsx b/src/pages/Onboarding/pages/Seedless/components/AppleButton.tsx index e008ea3ed..0e2483ce5 100644 --- a/src/pages/Onboarding/pages/Seedless/components/AppleButton.tsx +++ b/src/pages/Onboarding/pages/Seedless/components/AppleButton.tsx @@ -1,4 +1,4 @@ -import { AppleIcon, Button } from '@avalabs/k2-components'; +import { AppleIcon, Button } from '@avalabs/core-k2-components'; import { useAnalyticsContext } from '@src/contexts/AnalyticsProvider'; import { useOnboardingContext } from '@src/contexts/OnboardingProvider'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Onboarding/pages/Seedless/components/ExistingWalletButton.tsx b/src/pages/Onboarding/pages/Seedless/components/ExistingWalletButton.tsx index 14d3eca6b..8cc1c5b5f 100644 --- a/src/pages/Onboarding/pages/Seedless/components/ExistingWalletButton.tsx +++ b/src/pages/Onboarding/pages/Seedless/components/ExistingWalletButton.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { ReactNode } from 'react'; interface ExistingWalletButtonProps { diff --git a/src/pages/Onboarding/pages/Seedless/components/GoogleButton.tsx b/src/pages/Onboarding/pages/Seedless/components/GoogleButton.tsx index 28518688f..c2e9b76e5 100644 --- a/src/pages/Onboarding/pages/Seedless/components/GoogleButton.tsx +++ b/src/pages/Onboarding/pages/Seedless/components/GoogleButton.tsx @@ -1,5 +1,5 @@ import { Dispatch, SetStateAction } from 'react'; -import { GoogleColorIcon, Button } from '@avalabs/k2-components'; +import { GoogleColorIcon, Button } from '@avalabs/core-k2-components'; import { ONBOARDING_EVENT_NAMES, OnboardingPhase, diff --git a/src/pages/Onboarding/pages/Seedless/components/MethodCard.tsx b/src/pages/Onboarding/pages/Seedless/components/MethodCard.tsx index 0886f727b..efcc91b4e 100644 --- a/src/pages/Onboarding/pages/Seedless/components/MethodCard.tsx +++ b/src/pages/Onboarding/pages/Seedless/components/MethodCard.tsx @@ -5,7 +5,7 @@ import { ChevronRightIcon, CardActionArea, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { ReactElement } from 'react'; import { InlineBold } from '@src/components/common/InlineBold'; diff --git a/src/pages/Onboarding/pages/Seedless/modals/AuthenticatorModal.tsx b/src/pages/Onboarding/pages/Seedless/modals/AuthenticatorModal.tsx index 03e9d0118..8adb215e0 100644 --- a/src/pages/Onboarding/pages/Seedless/modals/AuthenticatorModal.tsx +++ b/src/pages/Onboarding/pages/Seedless/modals/AuthenticatorModal.tsx @@ -8,7 +8,7 @@ import { CopyIcon, toast, CircularProgress, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Trans, useTranslation } from 'react-i18next'; import { Overlay } from '@src/components/common/Overlay'; import { TypographyLink } from '@src/pages/Onboarding/components/TypographyLink'; diff --git a/src/pages/Onboarding/pages/Seedless/modals/FIDOModal.tsx b/src/pages/Onboarding/pages/Seedless/modals/FIDOModal.tsx index f12225d54..c035f376f 100644 --- a/src/pages/Onboarding/pages/Seedless/modals/FIDOModal.tsx +++ b/src/pages/Onboarding/pages/Seedless/modals/FIDOModal.tsx @@ -7,7 +7,7 @@ import { XIcon, useTheme, AlertCircleIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Overlay } from '@src/components/common/Overlay'; import { useSeedlessActions } from '@src/pages/Onboarding/hooks/useSeedlessActions'; import { useCallback, useEffect, useMemo, useState } from 'react'; diff --git a/src/pages/Onboarding/pages/Seedless/modals/TOTPModal.tsx b/src/pages/Onboarding/pages/Seedless/modals/TOTPModal.tsx index 0f55b60d3..12f93c6c4 100644 --- a/src/pages/Onboarding/pages/Seedless/modals/TOTPModal.tsx +++ b/src/pages/Onboarding/pages/Seedless/modals/TOTPModal.tsx @@ -5,7 +5,7 @@ import { Typography, XIcon, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { SignerSessionData } from '@cubist-labs/cubesigner-sdk'; import { Overlay } from '@src/components/common/Overlay'; import { AuthStep, useSeedlessAuth } from '@src/hooks/useSeedlessAuth'; diff --git a/src/pages/Onboarding/pages/Seedless/modals/VerifyGoBackModal.tsx b/src/pages/Onboarding/pages/Seedless/modals/VerifyGoBackModal.tsx index a01b5bde1..3ba9f3187 100644 --- a/src/pages/Onboarding/pages/Seedless/modals/VerifyGoBackModal.tsx +++ b/src/pages/Onboarding/pages/Seedless/modals/VerifyGoBackModal.tsx @@ -5,7 +5,7 @@ import { Button, XIcon, AlertCircleIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Overlay } from '@src/components/common/Overlay'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Onboarding/pages/Welcome/SignUpWithSeedless.tsx b/src/pages/Onboarding/pages/Welcome/SignUpWithSeedless.tsx index a4c68aeaa..724e9972c 100644 --- a/src/pages/Onboarding/pages/Welcome/SignUpWithSeedless.tsx +++ b/src/pages/Onboarding/pages/Welcome/SignUpWithSeedless.tsx @@ -6,7 +6,7 @@ import { LedgerIcon, ArrowLeftIcon, ShieldLockIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { useFeatureFlagContext } from '@src/contexts/FeatureFlagsProvider'; import { FeatureGates } from '@src/background/services/featureFlags/models'; diff --git a/src/pages/Onboarding/pages/Welcome/Welcome.tsx b/src/pages/Onboarding/pages/Welcome/Welcome.tsx index 9ca373fa3..1197dd668 100644 --- a/src/pages/Onboarding/pages/Welcome/Welcome.tsx +++ b/src/pages/Onboarding/pages/Welcome/Welcome.tsx @@ -1,5 +1,5 @@ import { SignUpWithSeedles } from './SignUpWithSeedless'; -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { useOnboardingContext } from '@src/contexts/OnboardingProvider'; import { useEffect } from 'react'; diff --git a/src/pages/Permissions/Permissions.tsx b/src/pages/Permissions/Permissions.tsx index 9890d5179..161ba8331 100644 --- a/src/pages/Permissions/Permissions.tsx +++ b/src/pages/Permissions/Permissions.tsx @@ -7,7 +7,7 @@ import { Box, useTheme, GlobeIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAccountsContext } from '@src/contexts/AccountsProvider'; import { Account } from '@src/background/services/accounts/models'; import { TokenIcon } from '@src/components/common/TokenIcon'; diff --git a/src/pages/Permissions/components/AccountsDropdown.tsx b/src/pages/Permissions/components/AccountsDropdown.tsx index ad3e3a4af..5eefbfee2 100644 --- a/src/pages/Permissions/components/AccountsDropdown.tsx +++ b/src/pages/Permissions/components/AccountsDropdown.tsx @@ -6,7 +6,7 @@ import { Stack, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { DropdownItem, Dropdown } from '@src/components/common/Dropdown'; import { useBalancesContext } from '@src/contexts/BalancesProvider'; import { useSettingsContext } from '@src/contexts/SettingsProvider'; diff --git a/src/pages/Permissions/components/AlertBox.tsx b/src/pages/Permissions/components/AlertBox.tsx index 1f920f9cc..5df5b2cc9 100644 --- a/src/pages/Permissions/components/AlertBox.tsx +++ b/src/pages/Permissions/components/AlertBox.tsx @@ -4,7 +4,7 @@ import { Typography, useTheme, RemoveModeratorIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; interface AlertBoxProps { title: string; diff --git a/src/pages/Permissions/components/AlertDialog.tsx b/src/pages/Permissions/components/AlertDialog.tsx index 84e98ad49..060330f2f 100644 --- a/src/pages/Permissions/components/AlertDialog.tsx +++ b/src/pages/Permissions/components/AlertDialog.tsx @@ -5,7 +5,7 @@ import { Typography, useTheme, RemoveModeratorIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; interface AlertDialogProps { diff --git a/src/pages/Permissions/components/WarningBox.tsx b/src/pages/Permissions/components/WarningBox.tsx index e3c6ac6f5..fdc3e828b 100644 --- a/src/pages/Permissions/components/WarningBox.tsx +++ b/src/pages/Permissions/components/WarningBox.tsx @@ -4,7 +4,7 @@ import { Typography, useTheme, GppMaybeIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; interface WarningBoxProps { title: string; diff --git a/src/pages/Receive/Receive.tsx b/src/pages/Receive/Receive.tsx index a2821e9e9..3d879bc5b 100644 --- a/src/pages/Receive/Receive.tsx +++ b/src/pages/Receive/Receive.tsx @@ -14,7 +14,11 @@ import { NetworkVMType } from '@avalabs/core-chains-sdk'; import { isEthereumChainId } from '@src/background/services/network/utils/isEthereumNetwork'; import { useTranslation } from 'react-i18next'; import { PrimaryAddressK2 } from '@src/components/common/AddressK2'; -import { CircularProgress, Stack, Typography } from '@avalabs/k2-components'; +import { + CircularProgress, + Stack, + Typography, +} from '@avalabs/core-k2-components'; import { isPchainNetwork } from '@src/background/services/network/utils/isAvalanchePchainNetwork'; import { FunctionNames, diff --git a/src/pages/SeedlessPopups/SeedlessAuthPopup.tsx b/src/pages/SeedlessPopups/SeedlessAuthPopup.tsx index e3884751c..d70dc67cb 100644 --- a/src/pages/SeedlessPopups/SeedlessAuthPopup.tsx +++ b/src/pages/SeedlessPopups/SeedlessAuthPopup.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { Button, Stack } from '@avalabs/k2-components'; +import { Button, Stack } from '@avalabs/core-k2-components'; import { SignerSessionData } from '@cubist-labs/cubesigner-sdk'; import { useCallback, useEffect, useMemo, useState } from 'react'; diff --git a/src/pages/SeedlessPopups/SeedlessExportPopup.tsx b/src/pages/SeedlessPopups/SeedlessExportPopup.tsx index 048eabf75..a20239a92 100644 --- a/src/pages/SeedlessPopups/SeedlessExportPopup.tsx +++ b/src/pages/SeedlessPopups/SeedlessExportPopup.tsx @@ -8,7 +8,7 @@ import { DialogTitle, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { ExportState, diff --git a/src/pages/SeedlessPopups/SeedlessRemoveTotp.tsx b/src/pages/SeedlessPopups/SeedlessRemoveTotp.tsx index aca5e96d6..8e5557c72 100644 --- a/src/pages/SeedlessPopups/SeedlessRemoveTotp.tsx +++ b/src/pages/SeedlessPopups/SeedlessRemoveTotp.tsx @@ -7,7 +7,7 @@ import { CircularProgress, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useSeedlessMfa } from '@src/hooks/useSeedlessMfa'; import { PageTitle, PageTitleVariant } from '@src/components/common/PageTitle'; diff --git a/src/pages/SeedlessPopups/SeedlessUpdateRecoveryMethod.tsx b/src/pages/SeedlessPopups/SeedlessUpdateRecoveryMethod.tsx index 547fed376..d9e108c03 100644 --- a/src/pages/SeedlessPopups/SeedlessUpdateRecoveryMethod.tsx +++ b/src/pages/SeedlessPopups/SeedlessUpdateRecoveryMethod.tsx @@ -8,7 +8,7 @@ import { Stack, TextField, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useSeedlessMfa } from '@src/hooks/useSeedlessMfa'; import { PageTitle, PageTitleVariant } from '@src/components/common/PageTitle'; diff --git a/src/pages/Send/Send.tsx b/src/pages/Send/Send.tsx index 6641a9bc7..1b22ff6e6 100644 --- a/src/pages/Send/Send.tsx +++ b/src/pages/Send/Send.tsx @@ -14,7 +14,7 @@ import { TokenWithBalancePVM, } from '@src/background/services/balances/models'; import { useTranslation } from 'react-i18next'; -import { Stack, toast } from '@avalabs/k2-components'; +import { Stack, toast } from '@avalabs/core-k2-components'; import { FunctionNames, useIsFunctionAvailable, diff --git a/src/pages/Send/components/AddressDropdownList.tsx b/src/pages/Send/components/AddressDropdownList.tsx index 6bfc21348..9b0fc20a2 100644 --- a/src/pages/Send/components/AddressDropdownList.tsx +++ b/src/pages/Send/components/AddressDropdownList.tsx @@ -1,4 +1,4 @@ -import { Box, Button, Scrollbars, Stack } from '@avalabs/k2-components'; +import { Box, Button, Scrollbars, Stack } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import type { Contact } from '@avalabs/types'; diff --git a/src/pages/Send/components/AddressDropdownListItem.tsx b/src/pages/Send/components/AddressDropdownListItem.tsx index b763d2077..4cbf274fc 100644 --- a/src/pages/Send/components/AddressDropdownListItem.tsx +++ b/src/pages/Send/components/AddressDropdownListItem.tsx @@ -9,7 +9,7 @@ import { Typography, Tooltip, XAndPChainsIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { ContactAddress } from './ContactAddress'; import { isPchainNetwork } from '@src/background/services/network/utils/isAvalanchePchainNetwork'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; diff --git a/src/pages/Send/components/AddressDropdownListMyAccounts.tsx b/src/pages/Send/components/AddressDropdownListMyAccounts.tsx index 53ec1d243..8190dcdfa 100644 --- a/src/pages/Send/components/AddressDropdownListMyAccounts.tsx +++ b/src/pages/Send/components/AddressDropdownListMyAccounts.tsx @@ -4,7 +4,7 @@ import { Scrollbars, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import type { Contact } from '@avalabs/types'; diff --git a/src/pages/Send/components/ContactAddress.tsx b/src/pages/Send/components/ContactAddress.tsx index 93b07b3ef..dfbddce26 100644 --- a/src/pages/Send/components/ContactAddress.tsx +++ b/src/pages/Send/components/ContactAddress.tsx @@ -4,7 +4,7 @@ import { toast, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { truncateAddress } from '@src/utils/truncateAddress'; diff --git a/src/pages/Send/components/ContactInput.tsx b/src/pages/Send/components/ContactInput.tsx index e66814424..01386d2de 100644 --- a/src/pages/Send/components/ContactInput.tsx +++ b/src/pages/Send/components/ContactInput.tsx @@ -6,7 +6,7 @@ import { TextField, Tooltip, UserSearchIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import type { Contact } from '@avalabs/types'; import { NetworkVMType } from '@avalabs/core-chains-sdk'; import { isBech32Address } from '@avalabs/core-bridge-sdk'; diff --git a/src/pages/Send/components/ContactSelect.tsx b/src/pages/Send/components/ContactSelect.tsx index 796801ede..cc27f7019 100644 --- a/src/pages/Send/components/ContactSelect.tsx +++ b/src/pages/Send/components/ContactSelect.tsx @@ -9,7 +9,7 @@ import { TabPanel, Tabs, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useAccountsContext } from '@src/contexts/AccountsProvider'; import { useContactsContext } from '@src/contexts/ContactsProvider'; diff --git a/src/pages/Send/components/LoadingSendForm.tsx b/src/pages/Send/components/LoadingSendForm.tsx index 5f9f826a1..4db8c0b10 100644 --- a/src/pages/Send/components/LoadingSendForm.tsx +++ b/src/pages/Send/components/LoadingSendForm.tsx @@ -1,4 +1,4 @@ -import { Skeleton, Stack } from '@avalabs/k2-components'; +import { Skeleton, Stack } from '@avalabs/core-k2-components'; type Props = { withTitle?: boolean }; diff --git a/src/pages/Send/components/SendForm.tsx b/src/pages/Send/components/SendForm.tsx index 6cb5d94f6..5b4dd1791 100644 --- a/src/pages/Send/components/SendForm.tsx +++ b/src/pages/Send/components/SendForm.tsx @@ -6,7 +6,7 @@ import { Stack, Scrollbars, Tooltip, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Contact } from '@avalabs/types'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Send/components/TruncatedAddress.tsx b/src/pages/Send/components/TruncatedAddress.tsx index 73601395f..5e411fd01 100644 --- a/src/pages/Send/components/TruncatedAddress.tsx +++ b/src/pages/Send/components/TruncatedAddress.tsx @@ -3,7 +3,7 @@ import { Stack, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { truncateAddress } from '@src/utils/truncateAddress'; import React from 'react'; diff --git a/src/pages/SignMessage/SignMessage.tsx b/src/pages/SignMessage/SignMessage.tsx index c7df86968..5810b2d4e 100644 --- a/src/pages/SignMessage/SignMessage.tsx +++ b/src/pages/SignMessage/SignMessage.tsx @@ -13,7 +13,7 @@ import { Stack, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import Dialog from '@src/components/common/Dialog'; import { ActionStatus } from '@src/background/services/actions/models'; diff --git a/src/pages/SignMessage/components/EthSign.tsx b/src/pages/SignMessage/components/EthSign.tsx index 5a41d515c..3302364d0 100644 --- a/src/pages/SignMessage/components/EthSign.tsx +++ b/src/pages/SignMessage/components/EthSign.tsx @@ -1,4 +1,9 @@ -import { Card, Scrollbars, Stack, Typography } from '@avalabs/k2-components'; +import { + Card, + Scrollbars, + Stack, + Typography, +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { positionValues } from 'react-custom-scrollbars-2'; import { MessageParams } from '@src/background/services/messages/models'; diff --git a/src/pages/SignMessage/components/PersonalSign.tsx b/src/pages/SignMessage/components/PersonalSign.tsx index 835451e0d..70d183e56 100644 --- a/src/pages/SignMessage/components/PersonalSign.tsx +++ b/src/pages/SignMessage/components/PersonalSign.tsx @@ -1,7 +1,12 @@ import { toUtf8 } from 'ethereumjs-util'; import { positionValues } from 'react-custom-scrollbars-2'; import { useTranslation } from 'react-i18next'; -import { Card, Scrollbars, Stack, Typography } from '@avalabs/k2-components'; +import { + Card, + Scrollbars, + Stack, + Typography, +} from '@avalabs/core-k2-components'; import { MessageParams } from '@src/background/services/messages/models'; import { forwardRef, ForwardedRef } from 'react'; diff --git a/src/pages/SignMessage/components/ScrollableMessageCard.tsx b/src/pages/SignMessage/components/ScrollableMessageCard.tsx index d1e140c01..81fe1de8e 100644 --- a/src/pages/SignMessage/components/ScrollableMessageCard.tsx +++ b/src/pages/SignMessage/components/ScrollableMessageCard.tsx @@ -1,6 +1,6 @@ import React, { ForwardedRef, forwardRef } from 'react'; import { positionValues } from 'react-custom-scrollbars-2'; -import { Card, Scrollbars, useTheme } from '@avalabs/k2-components'; +import { Card, Scrollbars, useTheme } from '@avalabs/core-k2-components'; type Props = { scrollUpdateHandler: (values: positionValues) => void; diff --git a/src/pages/SignMessage/components/SignData.tsx b/src/pages/SignMessage/components/SignData.tsx index 8d725c6df..36204accc 100644 --- a/src/pages/SignMessage/components/SignData.tsx +++ b/src/pages/SignMessage/components/SignData.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { positionValues } from 'react-custom-scrollbars-2'; import { MessageParams } from '@src/background/services/messages/models'; diff --git a/src/pages/SignMessage/components/SignDataV3.tsx b/src/pages/SignMessage/components/SignDataV3.tsx index dc5f7e032..d4ba526a0 100644 --- a/src/pages/SignMessage/components/SignDataV3.tsx +++ b/src/pages/SignMessage/components/SignDataV3.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { positionValues } from 'react-custom-scrollbars-2'; import { MessageParams } from '@src/background/services/messages/models'; import { ForwardedRef, forwardRef } from 'react'; diff --git a/src/pages/SignMessage/components/SignDataV4.tsx b/src/pages/SignMessage/components/SignDataV4.tsx index 5fb0735e3..54de1003a 100644 --- a/src/pages/SignMessage/components/SignDataV4.tsx +++ b/src/pages/SignMessage/components/SignDataV4.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { positionValues } from 'react-custom-scrollbars-2'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/SignTransaction/SignTransaction.tsx b/src/pages/SignTransaction/SignTransaction.tsx index 91d28cc0e..a1343495b 100644 --- a/src/pages/SignTransaction/SignTransaction.tsx +++ b/src/pages/SignTransaction/SignTransaction.tsx @@ -8,7 +8,7 @@ import { Skeleton, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { BN } from 'bn.js'; import { useGetRequestId } from '@src/hooks/useGetRequestId'; import { useCallback, useMemo, useState } from 'react'; diff --git a/src/pages/SignTransaction/components/ApprovalTxDetails.tsx b/src/pages/SignTransaction/components/ApprovalTxDetails.tsx index 8973724e9..4cebb3718 100644 --- a/src/pages/SignTransaction/components/ApprovalTxDetails.tsx +++ b/src/pages/SignTransaction/components/ApprovalTxDetails.tsx @@ -6,7 +6,7 @@ import { ExternalLinkIcon, Link, Tooltip, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Network } from '@avalabs/core-chains-sdk'; import { useTranslation } from 'react-i18next'; import { truncateAddress } from '@src/utils/truncateAddress'; diff --git a/src/pages/SignTransaction/components/FireblocksApproval/FireblocksApprovalOverlay.tsx b/src/pages/SignTransaction/components/FireblocksApproval/FireblocksApprovalOverlay.tsx index 412fb0f03..fa5a27f6f 100644 --- a/src/pages/SignTransaction/components/FireblocksApproval/FireblocksApprovalOverlay.tsx +++ b/src/pages/SignTransaction/components/FireblocksApproval/FireblocksApprovalOverlay.tsx @@ -2,7 +2,7 @@ import { useNetworkContext } from '@src/contexts/NetworkProvider'; import { useEffect, useMemo, useState } from 'react'; import { useRequiredSession } from '@src/components/common/walletConnect/useRequiredSession'; import { useAccountsContext } from '@src/contexts/AccountsProvider'; -import { CircularProgress, Stack } from '@avalabs/k2-components'; +import { CircularProgress, Stack } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { WalletConnectApprovalConnect } from '../WalletConnectApproval/WalletConnectApprovalConnect'; import shouldUseWalletConnectApproval from '@src/utils/shouldUseWalletConnectApproval'; diff --git a/src/pages/SignTransaction/components/FireblocksApproval/FireblocksApprovalReview.tsx b/src/pages/SignTransaction/components/FireblocksApproval/FireblocksApprovalReview.tsx index c0bddda4e..b7f5791d5 100644 --- a/src/pages/SignTransaction/components/FireblocksApproval/FireblocksApprovalReview.tsx +++ b/src/pages/SignTransaction/components/FireblocksApproval/FireblocksApprovalReview.tsx @@ -5,7 +5,7 @@ import { FireblocksIcon, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Trans } from 'react-i18next'; import { WalletConnectSessionInfo } from '@src/background/services/walletConnect/models'; import { Account } from '@src/background/services/accounts/models'; diff --git a/src/pages/SignTransaction/components/KeystoneApprovalOverlay.tsx b/src/pages/SignTransaction/components/KeystoneApprovalOverlay.tsx index 0eab67ee1..eacd81bc7 100644 --- a/src/pages/SignTransaction/components/KeystoneApprovalOverlay.tsx +++ b/src/pages/SignTransaction/components/KeystoneApprovalOverlay.tsx @@ -8,7 +8,7 @@ import { CircularProgress, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { AnimatedQRCode, AnimatedQRScanner, diff --git a/src/pages/SignTransaction/components/LedgerApprovalDialog.tsx b/src/pages/SignTransaction/components/LedgerApprovalDialog.tsx index 5d15a94b7..3c22a8769 100644 --- a/src/pages/SignTransaction/components/LedgerApprovalDialog.tsx +++ b/src/pages/SignTransaction/components/LedgerApprovalDialog.tsx @@ -6,7 +6,7 @@ import { Stack, CircularProgress, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { truncateAddress } from '@src/utils/truncateAddress'; interface LedgerApprovalDialogProps { diff --git a/src/pages/SignTransaction/components/LedgerApprovalOverlay.tsx b/src/pages/SignTransaction/components/LedgerApprovalOverlay.tsx index 2e725bb35..11086b800 100644 --- a/src/pages/SignTransaction/components/LedgerApprovalOverlay.tsx +++ b/src/pages/SignTransaction/components/LedgerApprovalOverlay.tsx @@ -1,4 +1,4 @@ -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { Overlay } from '@src/components/common/Overlay'; import useIsUsingLedgerWallet from '@src/hooks/useIsUsingLedgerWallet'; diff --git a/src/pages/SignTransaction/components/LedgerDisconnectDialog.tsx b/src/pages/SignTransaction/components/LedgerDisconnectDialog.tsx index 51dbd2a1d..62262510a 100644 --- a/src/pages/SignTransaction/components/LedgerDisconnectDialog.tsx +++ b/src/pages/SignTransaction/components/LedgerDisconnectDialog.tsx @@ -1,5 +1,9 @@ import { useState } from 'react'; -import { CircularProgress, Typography, useTheme } from '@avalabs/k2-components'; +import { + CircularProgress, + Typography, + useTheme, +} from '@avalabs/core-k2-components'; import Dialog from '@src/components/common/Dialog'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/SignTransaction/components/NftAccordion.tsx b/src/pages/SignTransaction/components/NftAccordion.tsx index 1f428ff87..026ed11b4 100644 --- a/src/pages/SignTransaction/components/NftAccordion.tsx +++ b/src/pages/SignTransaction/components/NftAccordion.tsx @@ -4,7 +4,7 @@ import { Stack, Typography, AccordionDetails, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { TransactionNft } from '@src/background/services/wallet/handlers/eth_sendTransaction/models'; import { CollectibleMedia } from '@src/pages/Collectibles/components/CollectibleMedia'; import { diff --git a/src/pages/SignTransaction/components/RawTransactionData.tsx b/src/pages/SignTransaction/components/RawTransactionData.tsx index 6203255a7..574d3b935 100644 --- a/src/pages/SignTransaction/components/RawTransactionData.tsx +++ b/src/pages/SignTransaction/components/RawTransactionData.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { Scrollbars, Stack, Typography } from '@avalabs/k2-components'; +import { Scrollbars, Stack, Typography } from '@avalabs/core-k2-components'; import { PageTitle } from '@src/components/common/PageTitle'; import { getHexStringToBytes } from '@src/utils/getHexStringToBytes'; diff --git a/src/pages/SignTransaction/components/RemoteApproval/RemoteApprovalConfirmation.tsx b/src/pages/SignTransaction/components/RemoteApproval/RemoteApprovalConfirmation.tsx index dd374875e..baad6be40 100644 --- a/src/pages/SignTransaction/components/RemoteApproval/RemoteApprovalConfirmation.tsx +++ b/src/pages/SignTransaction/components/RemoteApproval/RemoteApprovalConfirmation.tsx @@ -1,4 +1,9 @@ -import { Divider, Typography, Button, Stack } from '@avalabs/k2-components'; +import { + Divider, + Typography, + Button, + Stack, +} from '@avalabs/core-k2-components'; import { truncateAddress } from '@avalabs/core-utils-sdk'; import { Account } from '@src/background/services/accounts/models'; import { WalletConnectSessionInfo } from '@src/background/services/walletConnect/models'; diff --git a/src/pages/SignTransaction/components/RemoteApproval/RemoteApprovalDialog.tsx b/src/pages/SignTransaction/components/RemoteApproval/RemoteApprovalDialog.tsx index 50f872587..f27ca804a 100644 --- a/src/pages/SignTransaction/components/RemoteApproval/RemoteApprovalDialog.tsx +++ b/src/pages/SignTransaction/components/RemoteApproval/RemoteApprovalDialog.tsx @@ -1,4 +1,9 @@ -import { Dialog, IconButton, Typography, XIcon } from '@avalabs/k2-components'; +import { + Dialog, + IconButton, + Typography, + XIcon, +} from '@avalabs/core-k2-components'; import { PropsWithChildren } from 'react'; interface RemoteApprovalDialogProps { diff --git a/src/pages/SignTransaction/components/SignTxErrorBoundary.tsx b/src/pages/SignTransaction/components/SignTxErrorBoundary.tsx index 5c22fc4c6..f62b746a3 100644 --- a/src/pages/SignTransaction/components/SignTxErrorBoundary.tsx +++ b/src/pages/SignTransaction/components/SignTxErrorBoundary.tsx @@ -7,7 +7,7 @@ import { Stack, Typography, toast, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { WithTranslation, withTranslation } from 'react-i18next'; interface SignTxErrorBoundaryProps extends WithTranslation { diff --git a/src/pages/SignTransaction/components/SpendLimitInfo/CustomSpendLimit.tsx b/src/pages/SignTransaction/components/SpendLimitInfo/CustomSpendLimit.tsx index 6cfec6d03..60b05bc49 100644 --- a/src/pages/SignTransaction/components/SpendLimitInfo/CustomSpendLimit.tsx +++ b/src/pages/SignTransaction/components/SpendLimitInfo/CustomSpendLimit.tsx @@ -10,7 +10,7 @@ import { Stack, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Trans, useTranslation } from 'react-i18next'; import { BNInput } from '@src/components/common/BNInput'; diff --git a/src/pages/SignTransaction/components/SpendLimitInfo/NftCollectionSpendLimit.tsx b/src/pages/SignTransaction/components/SpendLimitInfo/NftCollectionSpendLimit.tsx index ef9d3b2b3..02874f6d8 100644 --- a/src/pages/SignTransaction/components/SpendLimitInfo/NftCollectionSpendLimit.tsx +++ b/src/pages/SignTransaction/components/SpendLimitInfo/NftCollectionSpendLimit.tsx @@ -1,4 +1,4 @@ -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { ApprovalSection, diff --git a/src/pages/SignTransaction/components/SpendLimitInfo/NftSpendLimit.tsx b/src/pages/SignTransaction/components/SpendLimitInfo/NftSpendLimit.tsx index e85c1a121..2bc38a37c 100644 --- a/src/pages/SignTransaction/components/SpendLimitInfo/NftSpendLimit.tsx +++ b/src/pages/SignTransaction/components/SpendLimitInfo/NftSpendLimit.tsx @@ -1,4 +1,4 @@ -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { ApprovalSection, diff --git a/src/pages/SignTransaction/components/SpendLimitInfo/TokenSpendLimit.tsx b/src/pages/SignTransaction/components/SpendLimitInfo/TokenSpendLimit.tsx index 1f2391842..f61687937 100644 --- a/src/pages/SignTransaction/components/SpendLimitInfo/TokenSpendLimit.tsx +++ b/src/pages/SignTransaction/components/SpendLimitInfo/TokenSpendLimit.tsx @@ -1,4 +1,4 @@ -import { Box, Button, Dialog, Stack } from '@avalabs/k2-components'; +import { Box, Button, Dialog, Stack } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { ApprovalSection, diff --git a/src/pages/SignTransaction/components/TransactionActionInfo/ApproveContractCallDetails.tsx b/src/pages/SignTransaction/components/TransactionActionInfo/ApproveContractCallDetails.tsx index dd7ddbcd6..64f48e13b 100644 --- a/src/pages/SignTransaction/components/TransactionActionInfo/ApproveContractCallDetails.tsx +++ b/src/pages/SignTransaction/components/TransactionActionInfo/ApproveContractCallDetails.tsx @@ -1,4 +1,4 @@ -import { Tooltip, Typography } from '@avalabs/k2-components'; +import { Tooltip, Typography } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { TxDetailsRow } from '@src/components/common/approval/TxDetailsRow'; import { truncateAddress } from '@avalabs/core-utils-sdk'; diff --git a/src/pages/SignTransaction/components/TransactionActionInfo/ApproveNftCollectionDetails.tsx b/src/pages/SignTransaction/components/TransactionActionInfo/ApproveNftCollectionDetails.tsx index 960662083..b967ab0e3 100644 --- a/src/pages/SignTransaction/components/TransactionActionInfo/ApproveNftCollectionDetails.tsx +++ b/src/pages/SignTransaction/components/TransactionActionInfo/ApproveNftCollectionDetails.tsx @@ -1,4 +1,4 @@ -import { Tooltip, Typography } from '@avalabs/k2-components'; +import { Tooltip, Typography } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { TxDetailsRow } from '@src/components/common/approval/TxDetailsRow'; import { truncateAddress } from '@avalabs/core-utils-sdk'; diff --git a/src/pages/SignTransaction/components/TransactionActionInfo/ApproveNftDetails.tsx b/src/pages/SignTransaction/components/TransactionActionInfo/ApproveNftDetails.tsx index a1eaa0f35..f13d6492c 100644 --- a/src/pages/SignTransaction/components/TransactionActionInfo/ApproveNftDetails.tsx +++ b/src/pages/SignTransaction/components/TransactionActionInfo/ApproveNftDetails.tsx @@ -1,4 +1,4 @@ -import { Tooltip, Typography } from '@avalabs/k2-components'; +import { Tooltip, Typography } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { TxDetailsRow } from '@src/components/common/approval/TxDetailsRow'; import { truncateAddress } from '@avalabs/core-utils-sdk'; diff --git a/src/pages/SignTransaction/components/TransactionActionInfo/ApproveSendDetails.tsx b/src/pages/SignTransaction/components/TransactionActionInfo/ApproveSendDetails.tsx index af8282ee4..fda0f1261 100644 --- a/src/pages/SignTransaction/components/TransactionActionInfo/ApproveSendDetails.tsx +++ b/src/pages/SignTransaction/components/TransactionActionInfo/ApproveSendDetails.tsx @@ -1,4 +1,4 @@ -import { Tooltip, Typography } from '@avalabs/k2-components'; +import { Tooltip, Typography } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { TxDetailsRow } from '@src/components/common/approval/TxDetailsRow'; import { truncateAddress } from '@avalabs/core-utils-sdk'; diff --git a/src/pages/SignTransaction/components/TransactionActionInfo/ApproveTokenDetails.tsx b/src/pages/SignTransaction/components/TransactionActionInfo/ApproveTokenDetails.tsx index e6ddb8817..f89dfbd32 100644 --- a/src/pages/SignTransaction/components/TransactionActionInfo/ApproveTokenDetails.tsx +++ b/src/pages/SignTransaction/components/TransactionActionInfo/ApproveTokenDetails.tsx @@ -1,4 +1,4 @@ -import { Tooltip, Typography } from '@avalabs/k2-components'; +import { Tooltip, Typography } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { TxDetailsRow } from '@src/components/common/approval/TxDetailsRow'; import { truncateAddress } from '@avalabs/core-utils-sdk'; diff --git a/src/pages/SignTransaction/components/TransactionErrorDialog.tsx b/src/pages/SignTransaction/components/TransactionErrorDialog.tsx index 66d15bf56..128fdc9e6 100644 --- a/src/pages/SignTransaction/components/TransactionErrorDialog.tsx +++ b/src/pages/SignTransaction/components/TransactionErrorDialog.tsx @@ -1,4 +1,4 @@ -import { Typography, Stack, Button } from '@avalabs/k2-components'; +import { Typography, Stack, Button } from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; export const TransactionErrorDialog = ({ onConfirm }) => { diff --git a/src/pages/SignTransaction/components/TransactionTokenCard.tsx b/src/pages/SignTransaction/components/TransactionTokenCard.tsx index 964f619aa..56eaf05ab 100644 --- a/src/pages/SignTransaction/components/TransactionTokenCard.tsx +++ b/src/pages/SignTransaction/components/TransactionTokenCard.tsx @@ -5,7 +5,7 @@ import { Theme, Tooltip, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { balanceToDisplayValue } from '@avalabs/core-utils-sdk'; import { TransactionNft, diff --git a/src/pages/SignTransaction/components/TxBalanceChange.tsx b/src/pages/SignTransaction/components/TxBalanceChange.tsx index 9a352afd5..cb5474482 100644 --- a/src/pages/SignTransaction/components/TxBalanceChange.tsx +++ b/src/pages/SignTransaction/components/TxBalanceChange.tsx @@ -5,7 +5,7 @@ import { Divider, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; import { ApprovalSection, diff --git a/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalConnect.tsx b/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalConnect.tsx index f11553e45..dc28a9e5d 100644 --- a/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalConnect.tsx +++ b/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalConnect.tsx @@ -1,4 +1,4 @@ -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { WalletConnectCircledIcon } from '../../../ImportWithWalletConnect/components/WalletConnectCircledIcon'; import WalletConnectConnector from '@src/pages/ImportWithWalletConnect/components/WalletConnectConnector'; diff --git a/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalOverlay.tsx b/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalOverlay.tsx index 2a1bd9bd1..4086659b1 100644 --- a/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalOverlay.tsx +++ b/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalOverlay.tsx @@ -1,4 +1,4 @@ -import { CircularProgress, Stack } from '@avalabs/k2-components'; +import { CircularProgress, Stack } from '@avalabs/core-k2-components'; import { useEffect, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalReview.tsx b/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalReview.tsx index ea5ba108b..6998ff225 100644 --- a/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalReview.tsx +++ b/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalReview.tsx @@ -4,7 +4,7 @@ import { Stack, Typography, styled, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Trans } from 'react-i18next'; import { WalletConnectCircledIcon } from '../../../ImportWithWalletConnect/components/WalletConnectCircledIcon'; import { WalletConnectSessionInfo } from '@src/background/services/walletConnect/models'; diff --git a/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalSent.tsx b/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalSent.tsx index cf51d1a42..c146bea47 100644 --- a/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalSent.tsx +++ b/src/pages/SignTransaction/components/WalletConnectApproval/WalletConnectApprovalSent.tsx @@ -5,7 +5,7 @@ import { CheckCircleIcon, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useCallback, useEffect, useRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; diff --git a/src/pages/Swap/Swap.tsx b/src/pages/Swap/Swap.tsx index 7cd3ffccc..0601932bd 100644 --- a/src/pages/Swap/Swap.tsx +++ b/src/pages/Swap/Swap.tsx @@ -31,7 +31,7 @@ import { Button, styled, IconButton, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { TokenSelect } from '@src/components/common/TokenSelect'; import { useAccountsContext } from '@src/contexts/AccountsProvider'; import { isBitcoinNetwork } from '@src/background/services/network/utils/isBitcoinNetwork'; diff --git a/src/pages/Swap/components/ParaswapNotice.tsx b/src/pages/Swap/components/ParaswapNotice.tsx index e8d871a5f..b49e98611 100644 --- a/src/pages/Swap/components/ParaswapNotice.tsx +++ b/src/pages/Swap/components/ParaswapNotice.tsx @@ -4,7 +4,7 @@ import { Stack, Typography, Tooltip, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { ParaswapIcon } from '@src/components/icons/ParaswapIcon'; export function ParaswapNotice() { diff --git a/src/pages/Swap/components/SlippageToolTip.tsx b/src/pages/Swap/components/SlippageToolTip.tsx index b6577582a..6885abf77 100644 --- a/src/pages/Swap/components/SlippageToolTip.tsx +++ b/src/pages/Swap/components/SlippageToolTip.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next'; -import { InfoCircleIcon, Tooltip } from '@avalabs/k2-components'; +import { InfoCircleIcon, Tooltip } from '@avalabs/core-k2-components'; export function SlippageToolTip() { const { t } = useTranslation(); diff --git a/src/pages/Swap/components/SwapError.tsx b/src/pages/Swap/components/SwapError.tsx index 0acf99476..80fa1a181 100644 --- a/src/pages/Swap/components/SwapError.tsx +++ b/src/pages/Swap/components/SwapError.tsx @@ -7,7 +7,7 @@ import { Tooltip, styled, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; const TryAgainButton = styled('span')` text-decoration: underline; diff --git a/src/pages/Swap/components/SwapRefreshTimer.tsx b/src/pages/Swap/components/SwapRefreshTimer.tsx index 3ca42af73..e6d301329 100644 --- a/src/pages/Swap/components/SwapRefreshTimer.tsx +++ b/src/pages/Swap/components/SwapRefreshTimer.tsx @@ -6,7 +6,7 @@ import { Tooltip, Typography, Card, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; interface SwapRefreshTimerProps { secondsTimer: number; diff --git a/src/pages/Swap/components/TransactionDetails.tsx b/src/pages/Swap/components/TransactionDetails.tsx index 34a34a197..4ac1a867e 100644 --- a/src/pages/Swap/components/TransactionDetails.tsx +++ b/src/pages/Swap/components/TransactionDetails.tsx @@ -9,7 +9,7 @@ import { ChevronUpIcon, TextField, Grow, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; interface TransactionDetailsProps { fromTokenSymbol: string; diff --git a/src/pages/Wallet/SwitchAccount.tsx b/src/pages/Wallet/SwitchAccount.tsx index 7cd4b8516..618d366cc 100644 --- a/src/pages/Wallet/SwitchAccount.tsx +++ b/src/pages/Wallet/SwitchAccount.tsx @@ -11,7 +11,7 @@ import { WalletIcon, toast, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { Account } from '@src/background/services/accounts/models'; import { useApproveAction } from '@src/hooks/useApproveAction'; diff --git a/src/pages/Wallet/TokenFlow.tsx b/src/pages/Wallet/TokenFlow.tsx index 4ae79cd47..dc2412e6e 100644 --- a/src/pages/Wallet/TokenFlow.tsx +++ b/src/pages/Wallet/TokenFlow.tsx @@ -20,7 +20,7 @@ import { QRCodeIcon, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { FunctionNames, useIsFunctionAvailable, diff --git a/src/pages/Wallet/WalletLocked.tsx b/src/pages/Wallet/WalletLocked.tsx index 9bbef40ca..7b0438d46 100644 --- a/src/pages/Wallet/WalletLocked.tsx +++ b/src/pages/Wallet/WalletLocked.tsx @@ -14,7 +14,7 @@ import { Stack, TextField, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; const defaultOptions = { loop: false, diff --git a/src/pages/Wallet/WalletRecentTxs.tsx b/src/pages/Wallet/WalletRecentTxs.tsx index f42daa34a..1a4cd25fc 100644 --- a/src/pages/Wallet/WalletRecentTxs.tsx +++ b/src/pages/Wallet/WalletRecentTxs.tsx @@ -24,7 +24,7 @@ import { MenuList, Stack, Typography, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { isNFT } from '@src/background/services/balances/nft/utils/isNFT'; import { usePendingBridgeTransactions } from '../Bridge/hooks/usePendingBridgeTransactions'; import { diff --git a/src/pages/Wallet/components/History/components/ActivityCard/ActivityCard.tsx b/src/pages/Wallet/components/History/components/ActivityCard/ActivityCard.tsx index 2f7e013a0..8c0ccb7e8 100644 --- a/src/pages/Wallet/components/History/components/ActivityCard/ActivityCard.tsx +++ b/src/pages/Wallet/components/History/components/ActivityCard/ActivityCard.tsx @@ -9,7 +9,7 @@ import { Tooltip, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { weiToAvax } from '@avalabs/core-utils-sdk'; import { isNFT } from '@src/background/services/balances/nft/utils/isNFT'; import { diff --git a/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardAmount.tsx b/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardAmount.tsx index 5bdf41bdd..419e725bd 100644 --- a/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardAmount.tsx +++ b/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardAmount.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography } from '@avalabs/k2-components'; +import { Stack, Typography } from '@avalabs/core-k2-components'; import { isNFT } from '@src/background/services/balances/nft/utils/isNFT'; import { TransactionType, diff --git a/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardDetails.tsx b/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardDetails.tsx index 6f0c7ccfc..98d74d4bb 100644 --- a/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardDetails.tsx +++ b/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardDetails.tsx @@ -4,7 +4,7 @@ import { Stack, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { isNFT } from '@src/background/services/balances/nft/utils/isNFT'; import { TransactionType } from '@src/background/services/history/models'; import { TokenIcon } from '@src/components/common/TokenIcon'; diff --git a/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardIcon.tsx b/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardIcon.tsx index e1472472d..c83af182a 100644 --- a/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardIcon.tsx +++ b/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardIcon.tsx @@ -8,7 +8,7 @@ import { Stack, SwapIcon, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { isNFT } from '@src/background/services/balances/nft/utils/isNFT'; import { TransactionType, diff --git a/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardSummary.tsx b/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardSummary.tsx index 57d184cf2..9e2e08e67 100644 --- a/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardSummary.tsx +++ b/src/pages/Wallet/components/History/components/ActivityCard/ActivityCardSummary.tsx @@ -1,4 +1,4 @@ -import { Typography } from '@avalabs/k2-components'; +import { Typography } from '@avalabs/core-k2-components'; import { TransactionType } from '@src/background/services/history/models'; import { useAccountsContext } from '@src/contexts/AccountsProvider'; import { truncateAddress } from '@src/utils/truncateAddress'; diff --git a/src/pages/Wallet/components/History/components/ActivityCard/PchainActivityCard.tsx b/src/pages/Wallet/components/History/components/ActivityCard/PchainActivityCard.tsx index 6f0c785ee..3c39ff466 100644 --- a/src/pages/Wallet/components/History/components/ActivityCard/PchainActivityCard.tsx +++ b/src/pages/Wallet/components/History/components/ActivityCard/PchainActivityCard.tsx @@ -6,7 +6,7 @@ import { Tooltip, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { PchainTxHistoryItem } from '@src/background/services/history/models'; import { PrimaryNetworkMethodIcon } from './PrimaryNetworkMethodIcon'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; diff --git a/src/pages/Wallet/components/History/components/ActivityCard/PrimaryNetworkMethodIcon.tsx b/src/pages/Wallet/components/History/components/ActivityCard/PrimaryNetworkMethodIcon.tsx index a00f4655c..8c126acd8 100644 --- a/src/pages/Wallet/components/History/components/ActivityCard/PrimaryNetworkMethodIcon.tsx +++ b/src/pages/Wallet/components/History/components/ActivityCard/PrimaryNetworkMethodIcon.tsx @@ -11,7 +11,7 @@ import { ShareIcon, Stack, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useMemo } from 'react'; import { PChainTransactionType, diff --git a/src/pages/Wallet/components/History/components/ActivityCard/XchainActivityCard.tsx b/src/pages/Wallet/components/History/components/ActivityCard/XchainActivityCard.tsx index 32506e83d..37d33f4e3 100644 --- a/src/pages/Wallet/components/History/components/ActivityCard/XchainActivityCard.tsx +++ b/src/pages/Wallet/components/History/components/ActivityCard/XchainActivityCard.tsx @@ -6,7 +6,7 @@ import { Tooltip, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { XchainTxHistoryItem } from '@src/background/services/history/models'; import { PrimaryNetworkMethodIcon } from './PrimaryNetworkMethodIcon'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; diff --git a/src/pages/Wallet/components/History/components/InProgressBridge/InProgressBridgeActivityCard.tsx b/src/pages/Wallet/components/History/components/InProgressBridge/InProgressBridgeActivityCard.tsx index ca5f482a7..ea86639ef 100644 --- a/src/pages/Wallet/components/History/components/InProgressBridge/InProgressBridgeActivityCard.tsx +++ b/src/pages/Wallet/components/History/components/InProgressBridge/InProgressBridgeActivityCard.tsx @@ -9,7 +9,7 @@ import { ToastCard, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useBridgeContext } from '@src/contexts/BridgeProvider'; import { useNetworkContext } from '@src/contexts/NetworkProvider'; import { blockchainToNetwork } from '@src/pages/Bridge/utils/blockchainConversion'; diff --git a/src/pages/Wallet/components/History/components/InProgressBridge/InProgressBridgeIcon.tsx b/src/pages/Wallet/components/History/components/InProgressBridge/InProgressBridgeIcon.tsx index 76f08af73..c84013bbe 100644 --- a/src/pages/Wallet/components/History/components/InProgressBridge/InProgressBridgeIcon.tsx +++ b/src/pages/Wallet/components/History/components/InProgressBridge/InProgressBridgeIcon.tsx @@ -3,7 +3,7 @@ import { CircularProgress, Stack, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; export interface InProgressBridgeIconProp { value: number; hasError?: boolean; diff --git a/src/pages/Wallet/components/NoTransactions.tsx b/src/pages/Wallet/components/NoTransactions.tsx index 4544dd1e4..a414cc44f 100644 --- a/src/pages/Wallet/components/NoTransactions.tsx +++ b/src/pages/Wallet/components/NoTransactions.tsx @@ -3,7 +3,7 @@ import { Stack, Typography, useTheme, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { useTranslation } from 'react-i18next'; export function NoTransactions({ loading = false }: { loading: boolean }) { diff --git a/src/pages/Wallet/components/WalletExtensionButton.tsx b/src/pages/Wallet/components/WalletExtensionButton.tsx index b56be6050..475f08b22 100644 --- a/src/pages/Wallet/components/WalletExtensionButton.tsx +++ b/src/pages/Wallet/components/WalletExtensionButton.tsx @@ -5,7 +5,7 @@ import { CoreIcon, MetaMaskIcon, WalletIcon, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; import { WalletExtensionType } from '@src/background/services/web3/models'; diff --git a/src/popup/AppRoutes.tsx b/src/popup/AppRoutes.tsx index d4835bfb3..60b5ba961 100644 --- a/src/popup/AppRoutes.tsx +++ b/src/popup/AppRoutes.tsx @@ -1,6 +1,6 @@ import { Suspense, lazy } from 'react'; import { Redirect, Route, Switch } from 'react-router-dom'; -import { CircularProgress } from '@avalabs/k2-components'; +import { CircularProgress } from '@avalabs/core-k2-components'; import { LoadingSendForm } from '@src/pages/Send/components/LoadingSendForm'; diff --git a/src/popup/ApprovalRoutes.tsx b/src/popup/ApprovalRoutes.tsx index 55c91bd6b..f9f776fec 100644 --- a/src/popup/ApprovalRoutes.tsx +++ b/src/popup/ApprovalRoutes.tsx @@ -1,6 +1,6 @@ import { Suspense, lazy } from 'react'; import { Route, Switch, SwitchProps } from 'react-router-dom'; -import { CircularProgress, Stack } from '@avalabs/k2-components'; +import { CircularProgress, Stack } from '@avalabs/core-k2-components'; import { SignTxErrorBoundary } from '@src/pages/SignTransaction/components/SignTxErrorBoundary'; diff --git a/src/popup/LoadingContent.tsx b/src/popup/LoadingContent.tsx index 89d5f32f4..b6b3c821f 100644 --- a/src/popup/LoadingContent.tsx +++ b/src/popup/LoadingContent.tsx @@ -1,4 +1,4 @@ -import { Stack, styled } from '@avalabs/k2-components'; +import { Stack, styled } from '@avalabs/core-k2-components'; import { useAppDimensions } from '@src/hooks/useAppDimensions'; diff --git a/src/popup/OfflineContent.tsx b/src/popup/OfflineContent.tsx index 892b3cf02..61c57664b 100644 --- a/src/popup/OfflineContent.tsx +++ b/src/popup/OfflineContent.tsx @@ -1,4 +1,4 @@ -import { Stack, Typography, styled } from '@avalabs/k2-components'; +import { Stack, Typography, styled } from '@avalabs/core-k2-components'; import { BrandName } from '@src/components/icons/BrandName'; import { Logo } from '@src/components/icons/Logo'; diff --git a/src/popup/index.tsx b/src/popup/index.tsx index 29d0304d3..2c9fcf868 100644 --- a/src/popup/index.tsx +++ b/src/popup/index.tsx @@ -14,7 +14,7 @@ import { LoadingContent } from './LoadingContent'; import { FeatureFlagsContextProvider } from '@src/contexts/FeatureFlagsProvider'; import { I18nextProvider } from 'react-i18next'; import i18n from '@src/localization/init'; -import { darkTheme, ThemeProvider } from '@avalabs/k2-components'; +import { darkTheme, ThemeProvider } from '@avalabs/core-k2-components'; const App = lazy(() => { return import(/* webpackChunkName: 'App' */ './popup').then((m) => ({ diff --git a/src/popup/popup.tsx b/src/popup/popup.tsx index f841a7f16..db4f021ac 100644 --- a/src/popup/popup.tsx +++ b/src/popup/popup.tsx @@ -1,4 +1,4 @@ -import { Stack } from '@avalabs/k2-components'; +import { Stack } from '@avalabs/core-k2-components'; import { Header } from '@src/components/common/header/Header'; import { WalletLoading } from '@src/components/common/WalletLoading'; import { AccountsContextProvider } from '@src/contexts/AccountsProvider'; diff --git a/src/utils/toastCardWithLink.tsx b/src/utils/toastCardWithLink.tsx index 6bdbbaeda..91eb95931 100644 --- a/src/utils/toastCardWithLink.tsx +++ b/src/utils/toastCardWithLink.tsx @@ -4,7 +4,7 @@ import { ExternalLinkIcon, Button, Link, -} from '@avalabs/k2-components'; +} from '@avalabs/core-k2-components'; export const toastCardWithLink = ({ url, title, label, id = '' }) => { const toaster = toast.custom( diff --git a/yarn.lock b/yarn.lock index 1f2090962..3d6af6266 100644 --- a/yarn.lock +++ b/yarn.lock @@ -54,75 +54,98 @@ lodash "4.17.21" viem "1.19.8" -"@avalabs/core-bridge-sdk@2.8.0-canary.a436aaa.0": - version "2.8.0-canary.a436aaa.0" - resolved "https://registry.yarnpkg.com/@avalabs/core-bridge-sdk/-/core-bridge-sdk-2.8.0-canary.a436aaa.0.tgz#2af714395870090d9aabb681448014129246fc2f" - integrity sha512-h4sb18oyHUKj+8JKpwdjgLAtcRVgC2Uk3w4SrCjpiG8wvicG0AEJ5VFbe2fC70RJoNwjzcg7OFdLp5kEFqSRPg== +"@avalabs/core-bridge-sdk@3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@avalabs/core-bridge-sdk/-/core-bridge-sdk-3.0.0.tgz#e5375e31c4939e5fe659349899f302070c2ec657" + integrity sha512-i/7BjMnnQhgs4E9trOuGDml9jmxyv1O02D7EXLe7lZQ0w4HrkYeol4p7j43qLfqPszb6yCMCo8Ra4iCFbv4kUA== + dependencies: + "@avalabs/core-coingecko-sdk" "^3.0.0" + "@avalabs/core-utils-sdk" "^3.0.0" + "@avalabs/core-wallets-sdk" "^3.0.0" + +"@avalabs/core-chains-sdk@3.0.0", "@avalabs/core-chains-sdk@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@avalabs/core-chains-sdk/-/core-chains-sdk-3.0.0.tgz#b5c2f92d8709881f821b68495ed8f89b1adbb3e0" + integrity sha512-7l5cpam+5kEXELTJ5zlheoyFAAe9bBGcgZv3pZCHAMeRrSMVMpHfoAH8upw05kc9Xl7wre3bouQJF6zkheyjMw== dependencies: - "@avalabs/core-coingecko-sdk" "2.8.0-canary.a436aaa.0+a436aaa" - "@avalabs/core-utils-sdk" "2.8.0-canary.a436aaa.0+a436aaa" - "@avalabs/core-wallets-sdk" "2.8.0-canary.a436aaa.0+a436aaa" + "@avalabs/core-utils-sdk" "^3.0.0" -"@avalabs/core-chains-sdk@2.8.0-canary.a436aaa.0", "@avalabs/core-chains-sdk@2.8.0-canary.a436aaa.0+a436aaa": - version "2.8.0-canary.a436aaa.0" - resolved "https://registry.yarnpkg.com/@avalabs/core-chains-sdk/-/core-chains-sdk-2.8.0-canary.a436aaa.0.tgz#8602e75023cb74f0903551d62ee046f64821f61d" - integrity sha512-Lr2npqF4KALGFVu51P4P2q7BKx4vAmMBtajvu3yL/9bia/nUSFpfq7lgH0759fCPjAF/grHZMYMP3UY1Nazk2Q== +"@avalabs/core-coingecko-sdk@3.0.0", "@avalabs/core-coingecko-sdk@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@avalabs/core-coingecko-sdk/-/core-coingecko-sdk-3.0.0.tgz#3c9cb42c2d7586b54f440a840fbcc35d412bd2c4" + integrity sha512-J3idot3eY3TdGpZU+bp8j5c9aebWGmI+44i4kEx02PjIuRlzcT1xU74U2PpuQBJOLl+Ug9Xo9SLo2i9sk52q8w== dependencies: - "@avalabs/core-utils-sdk" "2.8.0-canary.a436aaa.0+a436aaa" + "@avalabs/core-utils-sdk" "^3.0.0" -"@avalabs/core-coingecko-sdk@2.8.0-canary.a436aaa.0", "@avalabs/core-coingecko-sdk@2.8.0-canary.a436aaa.0+a436aaa": - version "2.8.0-canary.a436aaa.0" - resolved "https://registry.yarnpkg.com/@avalabs/core-coingecko-sdk/-/core-coingecko-sdk-2.8.0-canary.a436aaa.0.tgz#2fcd69014282ee20c4bb93792c780b00f440ad76" - integrity sha512-vxC6A+otmFLYBMdaPd2P65AUzDB9ZbqHfB0XO4S3QcsrG5AAEyfwS+VHhie/iObpaUxaG5JX1GslBMk62R+Irg== +"@avalabs/core-covalent-sdk@3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@avalabs/core-covalent-sdk/-/core-covalent-sdk-3.0.0.tgz#b19471eb3f50b9cf391725b40710dc03e4d79c41" + integrity sha512-6zKpuRYjJz70aenhX5Tg+9EfHsxWEOgCJv14jCtsRle8Y5NEXMd+qlgtG4RShkHSVKVsWRWeh6U05hutv4DYUg== dependencies: - "@avalabs/core-utils-sdk" "2.8.0-canary.a436aaa.0+a436aaa" + "@avalabs/core-utils-sdk" "^3.0.0" -"@avalabs/core-covalent-sdk@2.8.0-canary.a436aaa.0": - version "2.8.0-canary.a436aaa.0" - resolved "https://registry.yarnpkg.com/@avalabs/core-covalent-sdk/-/core-covalent-sdk-2.8.0-canary.a436aaa.0.tgz#e2058fa9847c4cd0fc616df04835fb0173b4c73b" - integrity sha512-o0dKoBPYPFdg7S1sFhRziiru1Ts7qt5k2ohiBFsyU8NQM+qCHpguqXI8ysP5loiYPmjPaJ9qLgdxb+0YUhWnoA== +"@avalabs/core-etherscan-sdk@3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@avalabs/core-etherscan-sdk/-/core-etherscan-sdk-3.0.0.tgz#0d9625f4497b784c10107c195967226ec41cbabb" + integrity sha512-bHyct1Ss6DK7wJbbi1EW1tUHlLt71q/8xOOTbI7PeeOIum02HDmJqeNt3X3iUkIyq6WOnszuCA6AsGt98RGpNg== dependencies: - "@avalabs/core-utils-sdk" "2.8.0-canary.a436aaa.0+a436aaa" + "@avalabs/core-utils-sdk" "^3.0.0" -"@avalabs/core-etherscan-sdk@2.8.0-canary.a436aaa.0": - version "2.8.0-canary.a436aaa.0" - resolved "https://registry.yarnpkg.com/@avalabs/core-etherscan-sdk/-/core-etherscan-sdk-2.8.0-canary.a436aaa.0.tgz#a56fda2dae8bae55a11dc545633689bbe9829bf7" - integrity sha512-1W9KlaABe8YqPI7e8eMG7xKFaXb6otr7nS2OyiD0iRIT7AI04pzkPl4xOVGRYCm3bXLvzTllRuI86GKc2mse1g== +"@avalabs/core-k2-components@4.18.0-alpha.44": + version "4.18.0-alpha.44" + resolved "https://registry.yarnpkg.com/@avalabs/core-k2-components/-/core-k2-components-4.18.0-alpha.44.tgz#8daf2d8ab28cc5491adbb11d36201ec91dfc4bce" + integrity sha512-2oIg1SsJ7dGedpxoezOPMTJbIcMK4s+P8fu9ba6Q3ZskjhX5OJizv42H4orvQyCb5RXgN2FvxYkft6FSufNiqA== dependencies: - "@avalabs/core-utils-sdk" "2.8.0-canary.a436aaa.0+a436aaa" + "@emotion/react" "11.11.1" + "@emotion/styled" "11.11.0" + "@fontsource/dejavu-mono" "5.0.7" + "@fontsource/inter" "5.0.16" + "@mui/lab" "5.0.0-alpha.157" + "@mui/material" "5.15.1" + "@mui/system" "5.15.1" + "@mui/x-data-grid" "5.17.24" + "@mui/x-date-pickers" "6.3.1" + dayjs "1.11.10" + deepmerge "4.3.1" + just-capitalize "3.2.0" + just-values "2.2.0" + react-custom-scrollbars-2 "4.5.0" + react-hot-toast "2.4.1" + react-hotkeys-hook "4.4.3" + uuid "9.0.1" -"@avalabs/core-snowtrace-sdk@2.8.0-canary.a436aaa.0": - version "2.8.0-canary.a436aaa.0" - resolved "https://registry.yarnpkg.com/@avalabs/core-snowtrace-sdk/-/core-snowtrace-sdk-2.8.0-canary.a436aaa.0.tgz#4a417abcbcd497737123297558a6837a71190498" - integrity sha512-CVYf2PsC8QjV3plkbx2p0/1rfyTf2FiUi3tBmvad4PO30EuUSHbCnjSU8RGOqMyw/2th9FtksDXqe9wiShs2eA== +"@avalabs/core-snowtrace-sdk@3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@avalabs/core-snowtrace-sdk/-/core-snowtrace-sdk-3.0.0.tgz#3ea02a56480addd64fbb1b8b49ab6981c6cf22e4" + integrity sha512-Tr9cEzHSiRRb3467pGoOG1JnoMH8AvC/Mx6pg+Xj3TvxgY5vnTPyyLb72TzMnGl06SsUL9tpsyPHa7htp0YneA== dependencies: - "@avalabs/core-utils-sdk" "2.8.0-canary.a436aaa.0+a436aaa" + "@avalabs/core-utils-sdk" "^3.0.0" -"@avalabs/core-token-prices-sdk@2.8.0-canary.a436aaa.0": - version "2.8.0-canary.a436aaa.0" - resolved "https://registry.yarnpkg.com/@avalabs/core-token-prices-sdk/-/core-token-prices-sdk-2.8.0-canary.a436aaa.0.tgz#5a75d3fe2f3a5f233559351e521d4b14c008e953" - integrity sha512-00kif987XdennZZwNCcHpepKQ0O9RM42lLADOyiNQJ7ppdsBtJsbmX0eO0oEDCpCseYET8HuoONj8gU1kbN/iw== +"@avalabs/core-token-prices-sdk@3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@avalabs/core-token-prices-sdk/-/core-token-prices-sdk-3.0.0.tgz#8f390ba11eb6ac00dca7bb32393702d3e4cafdd3" + integrity sha512-X4JzhTUJi8zKv/XdFh66z4/az4Pyn4DHeQYc4HccSZ/4/5tMixF9tYIXaQAlMbUTTAGKoKj5IOT3hIE3Z1y7aw== dependencies: - "@avalabs/core-coingecko-sdk" "2.8.0-canary.a436aaa.0+a436aaa" - "@avalabs/core-utils-sdk" "2.8.0-canary.a436aaa.0+a436aaa" + "@avalabs/core-coingecko-sdk" "^3.0.0" + "@avalabs/core-utils-sdk" "^3.0.0" -"@avalabs/core-utils-sdk@2.8.0-canary.a436aaa.0", "@avalabs/core-utils-sdk@2.8.0-canary.a436aaa.0+a436aaa": - version "2.8.0-canary.a436aaa.0" - resolved "https://registry.yarnpkg.com/@avalabs/core-utils-sdk/-/core-utils-sdk-2.8.0-canary.a436aaa.0.tgz#1915271a6e9007695736b985bbf5cf8630f26022" - integrity sha512-W8zK12y+BhMcN6fS2kfmECgry9ftwOw9JN9nuP2XWPgkiPmLOtEm788/w/fdqloS2pUeBzC1aDVBJdNWz5bELQ== +"@avalabs/core-utils-sdk@3.0.0", "@avalabs/core-utils-sdk@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@avalabs/core-utils-sdk/-/core-utils-sdk-3.0.0.tgz#2712645c5dc4da3fe725fd7ebf0ee415aa0ebc93" + integrity sha512-XBIepxf/UtCRGQNPB8/OYG4bLNSgETaePJjplcRO7oQzgn20DU99534F7adiS0ew3krsJ7HW2cro2gYAwROgZA== dependencies: "@avalabs/avalanchejs" "4.0.5" "@hpke/core" "1.2.5" is-ipfs "6.0.2" -"@avalabs/core-wallets-sdk@2.8.0-canary.a436aaa.0", "@avalabs/core-wallets-sdk@2.8.0-canary.a436aaa.0+a436aaa": - version "2.8.0-canary.a436aaa.0" - resolved "https://registry.yarnpkg.com/@avalabs/core-wallets-sdk/-/core-wallets-sdk-2.8.0-canary.a436aaa.0.tgz#9d6ebf204fdbd8bb748c6723dcd907019417be0c" - integrity sha512-WCcCPBj/tWPj9xjxh91cZUEqdT1gDX/bE+bzEnAbQe2O7YSilM+sHUm+wPaJnzkD1TbotfKF6zX7RJEFVDuY2w== +"@avalabs/core-wallets-sdk@3.0.0", "@avalabs/core-wallets-sdk@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@avalabs/core-wallets-sdk/-/core-wallets-sdk-3.0.0.tgz#25a57d6af5e98f48243bf70da533b5b7b373ab8e" + integrity sha512-Voml0K8h7FdW8u/n0pgaxR/zGKQ7z4kkX/wboBBjX589Dw/RcHY/WIyQXsfy5qvZZRDjY/lImIYM28UdEW8uPA== dependencies: "@avalabs/avalanchejs" "4.0.5" - "@avalabs/core-chains-sdk" "2.8.0-canary.a436aaa.0+a436aaa" - "@avalabs/glacier-sdk" "2.8.0-canary.a436aaa.0+a436aaa" + "@avalabs/core-chains-sdk" "^3.0.0" + "@avalabs/glacier-sdk" "^3.0.0" "@avalabs/hw-app-avalanche" "0.14.1" "@ledgerhq/hw-app-btc" "10.2.4" "@ledgerhq/hw-app-eth" "6.36.1" @@ -144,10 +167,10 @@ resolved "https://registry.yarnpkg.com/@avalabs/glacier-sdk/-/glacier-sdk-2.8.0-alpha.188.tgz#82e4efc4be55b2f67a825e033863a25a14a13915" integrity sha512-NjtlHXWpxC7aDZE+USb5YkZ1In+IjkCi/THHxOZg0ahv2RyccUiA75VU+daZ0zAZWgIUQCutniTB46HFq5Sjbw== -"@avalabs/glacier-sdk@2.8.0-canary.a436aaa.0+a436aaa": - version "2.8.0-canary.a436aaa.0" - resolved "https://registry.yarnpkg.com/@avalabs/glacier-sdk/-/glacier-sdk-2.8.0-canary.a436aaa.0.tgz#4238c74c79538603f22ec4f9b6956591ae320aa1" - integrity sha512-oQ9HYtUID4e+9k4XVbApsKyoXCT3lYDCzhyZTH3FVsvwA4CsSgAoEcJGvIC/tXLNYad/W1pk5vCl4krZBqAgyA== +"@avalabs/glacier-sdk@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@avalabs/glacier-sdk/-/glacier-sdk-3.0.0.tgz#aa290877dd62e984e720750a19abe5b8e6b6a51a" + integrity sha512-NZOjqDRgM8S/vm9k7cWa8KYnhhvakaNIOb3pz1qn2jK+uYzyFh8X5MT+QhmVQcwfOiXt62Yhh0PUKHwpU+aTyg== "@avalabs/hw-app-avalanche@0.14.1": version "0.14.1" @@ -160,29 +183,6 @@ ledger-bitcoin "^0.2.1" sha3 "2.1.4" -"@avalabs/k2-components@4.18.0-alpha.41": - version "4.18.0-alpha.41" - resolved "https://registry.yarnpkg.com/@avalabs/k2-components/-/k2-components-4.18.0-alpha.41.tgz#55a17dea35521d55d41190ba39d1a35b9fd7fe2a" - integrity sha512-KWtwWhSyL9+5GhcJQNYNfa5zI55PGw8WR1PviUqLn3X4KFMs9xm0vQ6lLZ4gXONHdO/i5+/3yL6tx+Tl9Q2N2g== - dependencies: - "@emotion/react" "11.11.1" - "@emotion/styled" "11.11.0" - "@fontsource/dejavu-mono" "5.0.7" - "@fontsource/inter" "5.0.16" - "@mui/lab" "5.0.0-alpha.157" - "@mui/material" "5.15.1" - "@mui/system" "5.15.1" - "@mui/x-data-grid" "5.17.24" - "@mui/x-date-pickers" "6.3.1" - dayjs "1.11.10" - deepmerge "4.3.1" - just-capitalize "3.2.0" - just-values "2.2.0" - react-custom-scrollbars-2 "4.5.0" - react-hot-toast "2.4.1" - react-hotkeys-hook "4.4.3" - uuid "9.0.1" - "@avalabs/types@2.8.0-alpha.188": version "2.8.0-alpha.188" resolved "https://registry.yarnpkg.com/@avalabs/types/-/types-2.8.0-alpha.188.tgz#5f3d6df1983474c362e4345dd7acca7ed18052a3"