From 416aa6b761e9e28527e481f79ca42dc41a826b63 Mon Sep 17 00:00:00 2001 From: Ross Bulat Date: Thu, 5 Dec 2024 20:58:39 +0700 Subject: [PATCH] chore: group modals + canvas in `overlay` --- .../src/library/GenerateNominations/index.tsx | 2 +- .../canvas/CreatePool/Bond/index.tsx | 0 .../canvas/CreatePool/PoolName/Input.tsx | 0 .../canvas/CreatePool/PoolName/index.tsx | 0 .../canvas/CreatePool/PoolRoles/index.tsx | 0 .../canvas/CreatePool/Summary/Wrapper.ts | 0 .../canvas/CreatePool/Summary/index.tsx | 0 .../{ => overlay}/canvas/CreatePool/index.tsx | 13 ++-- .../{ => overlay}/canvas/JoinPool/Header.tsx | 2 +- .../canvas/JoinPool/Nominations/index.tsx | 0 .../JoinPool/Overview/AddressSection.tsx | 0 .../canvas/JoinPool/Overview/Addresses.tsx | 0 .../canvas/JoinPool/Overview/JoinForm.tsx | 0 .../JoinPool/Overview/PerformanceGraph.tsx | 0 .../canvas/JoinPool/Overview/Roles.tsx | 0 .../canvas/JoinPool/Overview/Stats.tsx | 0 .../canvas/JoinPool/Overview/index.tsx | 0 .../canvas/JoinPool/Preloader.tsx | 2 +- .../{ => overlay}/canvas/JoinPool/Wrappers.ts | 0 .../{ => overlay}/canvas/JoinPool/index.tsx | 2 +- .../{ => overlay}/canvas/JoinPool/types.ts | 0 .../Prompts/FavoritesPrompt.tsx | 0 .../Prompts/RevertPrompt.tsx | 0 .../canvas/ManageNominations/index.tsx | 0 .../canvas/ManageNominations/types.ts | 0 .../canvas/NominatorSetup/Bond/index.tsx | 0 .../canvas/NominatorSetup/Payee/index.tsx | 0 .../canvas/NominatorSetup/Summary/Wrapper.ts | 0 .../canvas/NominatorSetup/Summary/index.tsx | 0 .../canvas/NominatorSetup/index.tsx | 11 ++-- .../canvas/PoolMembers/Lists/FetchPage.tsx | 0 .../canvas/PoolMembers/Lists/Member.tsx | 0 .../canvas/PoolMembers/Lists/types.ts | 0 .../canvas/PoolMembers/Members.tsx | 0 .../PoolMembers/Prompts/UnbondMember.tsx | 2 +- .../PoolMembers/Prompts/WithdrawMember.tsx | 0 .../canvas/PoolMembers/index.tsx | 4 +- .../app/src/{ => overlay}/canvas/Wrappers.ts | 0 packages/app/src/overlay/index.tsx | 60 +++++++++---------- .../{ => overlay}/modals/Accounts/Account.tsx | 0 .../modals/Accounts/Delegates/Wrapper.ts | 0 .../modals/Accounts/Delegates/index.tsx | 0 .../{ => overlay}/modals/Accounts/Wrappers.ts | 0 .../{ => overlay}/modals/Accounts/index.tsx | 0 .../{ => overlay}/modals/Accounts/types.ts | 0 .../modals/BalanceTest/index.tsx | 0 .../src/{ => overlay}/modals/Bio/Wrapper.ts | 0 .../src/{ => overlay}/modals/Bio/index.tsx | 0 .../src/{ => overlay}/modals/Bond/index.tsx | 0 .../modals/ChangePoolRoles/RoleChange.tsx | 0 .../modals/ChangePoolRoles/Wrapper.ts | 0 .../modals/ChangePoolRoles/index.tsx | 0 .../modals/ChangePoolRoles/types.ts | 0 .../modals/ChooseLanguage/Wrapper.ts | 0 .../modals/ChooseLanguage/index.tsx | 0 .../modals/ClaimPayouts/Forms.tsx | 0 .../modals/ClaimPayouts/Item.tsx | 0 .../modals/ClaimPayouts/Overview.tsx | 0 .../modals/ClaimPayouts/Utils.ts | 0 .../modals/ClaimPayouts/Wrappers.ts | 0 .../modals/ClaimPayouts/index.tsx | 0 .../modals/ClaimPayouts/types.ts | 0 .../modals/ClaimReward/index.tsx | 0 .../modals/Connect/Extension.tsx | 0 .../{ => overlay}/modals/Connect/Ledger.tsx | 0 .../{ => overlay}/modals/Connect/Proxies.tsx | 0 .../{ => overlay}/modals/Connect/ReadOnly.tsx | 0 .../src/{ => overlay}/modals/Connect/Utils.ts | 0 .../{ => overlay}/modals/Connect/Vault.tsx | 0 .../modals/Connect/WalletConnect.tsx | 0 .../{ => overlay}/modals/Connect/Wrappers.ts | 0 .../{ => overlay}/modals/Connect/index.tsx | 0 .../src/{ => overlay}/modals/Connect/types.ts | 0 .../modals/DiscordSupport/Wrapper.ts | 0 .../modals/DiscordSupport/index.tsx | 0 .../modals/DismissTips/index.tsx | 0 .../modals/ImportLedger/Addresses.tsx | 0 .../modals/ImportLedger/Manage.tsx | 0 .../modals/ImportLedger/Reset.tsx | 0 .../modals/ImportLedger/Splash.tsx | 0 .../modals/ImportLedger/Wrappers.ts | 0 .../modals/ImportLedger/index.tsx | 0 .../modals/ImportVault/Reader.tsx | 0 .../modals/ImportVault/index.tsx | 0 .../modals/ImportWalletConnect/index.tsx | 0 .../modals/MailSupport/Wrapper.ts | 0 .../modals/MailSupport/index.tsx | 0 .../modals/ManageFastUnstake/index.tsx | 0 .../Forms/ClaimCommission/index.tsx | 0 .../ManagePool/Forms/LeavePool/index.tsx | 2 +- .../Forms/ManageCommission/ChangeRate.tsx | 2 +- .../ManageCommission/CommissionCurrent.tsx | 2 +- .../Forms/ManageCommission/MaxCommission.tsx | 2 +- .../Forms/ManageCommission/index.tsx | 0 .../ManageCommission/provider/defaults.ts | 0 .../Forms/ManageCommission/provider/index.tsx | 0 .../Forms/ManageCommission/provider/types.ts | 0 .../ManagePool/Forms/RenamePool/index.tsx | 0 .../Forms/SetClaimPermission/index.tsx | 0 .../ManagePool/Forms/SetPoolState/index.tsx | 0 .../modals/ManagePool/Forms/index.tsx | 0 .../modals/ManagePool/Forms/types.ts | 0 .../{ => overlay}/modals/ManagePool/Tasks.tsx | 0 .../modals/ManagePool/Wrappers.ts | 0 .../{ => overlay}/modals/ManagePool/index.tsx | 0 .../{ => overlay}/modals/ManagePool/types.ts | 0 .../modals/Networks/ProvidersPrompt.tsx | 0 .../{ => overlay}/modals/Networks/Wrapper.ts | 0 .../{ => overlay}/modals/Networks/index.tsx | 0 .../{ => overlay}/modals/Networks/types.ts | 0 .../{ => overlay}/modals/Settings/index.tsx | 0 .../modals/StopNominations/index.tsx | 0 .../src/{ => overlay}/modals/Unbond/index.tsx | 2 +- .../modals/UnlockChunks/Chunk.tsx | 0 .../modals/UnlockChunks/Forms.tsx | 0 .../modals/UnlockChunks/Overview.tsx | 2 +- .../modals/UnlockChunks/Wrappers.ts | 0 .../modals/UnlockChunks/index.tsx | 0 .../modals/UnlockChunks/types.ts | 0 .../{ => overlay}/modals/Unstake/index.tsx | 2 +- .../modals/UpdatePayee/index.tsx | 0 .../modals/UpdateReserve/index.tsx | 2 +- .../{ => overlay}/modals/Utils/StaticNote.tsx | 0 .../modals/ValidatorGeo/index.tsx | 0 .../modals/ValidatorMetrics/index.tsx | 0 125 files changed, 60 insertions(+), 54 deletions(-) rename packages/app/src/{ => overlay}/canvas/CreatePool/Bond/index.tsx (100%) rename packages/app/src/{ => overlay}/canvas/CreatePool/PoolName/Input.tsx (100%) rename packages/app/src/{ => overlay}/canvas/CreatePool/PoolName/index.tsx (100%) rename packages/app/src/{ => overlay}/canvas/CreatePool/PoolRoles/index.tsx (100%) rename packages/app/src/{ => overlay}/canvas/CreatePool/Summary/Wrapper.ts (100%) rename packages/app/src/{ => overlay}/canvas/CreatePool/Summary/index.tsx (100%) rename packages/app/src/{ => overlay}/canvas/CreatePool/index.tsx (86%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Header.tsx (98%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Nominations/index.tsx (100%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Overview/AddressSection.tsx (100%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Overview/Addresses.tsx (100%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Overview/JoinForm.tsx (100%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Overview/PerformanceGraph.tsx (100%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Overview/Roles.tsx (100%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Overview/Stats.tsx (100%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Overview/index.tsx (100%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Preloader.tsx (97%) rename packages/app/src/{ => overlay}/canvas/JoinPool/Wrappers.ts (100%) rename packages/app/src/{ => overlay}/canvas/JoinPool/index.tsx (98%) rename packages/app/src/{ => overlay}/canvas/JoinPool/types.ts (100%) rename packages/app/src/{ => overlay}/canvas/ManageNominations/Prompts/FavoritesPrompt.tsx (100%) rename packages/app/src/{ => overlay}/canvas/ManageNominations/Prompts/RevertPrompt.tsx (100%) rename packages/app/src/{ => overlay}/canvas/ManageNominations/index.tsx (100%) rename packages/app/src/{ => overlay}/canvas/ManageNominations/types.ts (100%) rename packages/app/src/{ => overlay}/canvas/NominatorSetup/Bond/index.tsx (100%) rename packages/app/src/{ => overlay}/canvas/NominatorSetup/Payee/index.tsx (100%) rename packages/app/src/{ => overlay}/canvas/NominatorSetup/Summary/Wrapper.ts (100%) rename packages/app/src/{ => overlay}/canvas/NominatorSetup/Summary/index.tsx (100%) rename packages/app/src/{ => overlay}/canvas/NominatorSetup/index.tsx (87%) rename packages/app/src/{ => overlay}/canvas/PoolMembers/Lists/FetchPage.tsx (100%) rename packages/app/src/{ => overlay}/canvas/PoolMembers/Lists/Member.tsx (100%) rename packages/app/src/{ => overlay}/canvas/PoolMembers/Lists/types.ts (100%) rename packages/app/src/{ => overlay}/canvas/PoolMembers/Members.tsx (100%) rename packages/app/src/{ => overlay}/canvas/PoolMembers/Prompts/UnbondMember.tsx (98%) rename packages/app/src/{ => overlay}/canvas/PoolMembers/Prompts/WithdrawMember.tsx (100%) rename packages/app/src/{ => overlay}/canvas/PoolMembers/index.tsx (86%) rename packages/app/src/{ => overlay}/canvas/Wrappers.ts (100%) rename packages/app/src/{ => overlay}/modals/Accounts/Account.tsx (100%) rename packages/app/src/{ => overlay}/modals/Accounts/Delegates/Wrapper.ts (100%) rename packages/app/src/{ => overlay}/modals/Accounts/Delegates/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/Accounts/Wrappers.ts (100%) rename packages/app/src/{ => overlay}/modals/Accounts/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/Accounts/types.ts (100%) rename packages/app/src/{ => overlay}/modals/BalanceTest/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/Bio/Wrapper.ts (100%) rename packages/app/src/{ => overlay}/modals/Bio/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/Bond/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ChangePoolRoles/RoleChange.tsx (100%) rename packages/app/src/{ => overlay}/modals/ChangePoolRoles/Wrapper.ts (100%) rename packages/app/src/{ => overlay}/modals/ChangePoolRoles/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ChangePoolRoles/types.ts (100%) rename packages/app/src/{ => overlay}/modals/ChooseLanguage/Wrapper.ts (100%) rename packages/app/src/{ => overlay}/modals/ChooseLanguage/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ClaimPayouts/Forms.tsx (100%) rename packages/app/src/{ => overlay}/modals/ClaimPayouts/Item.tsx (100%) rename packages/app/src/{ => overlay}/modals/ClaimPayouts/Overview.tsx (100%) rename packages/app/src/{ => overlay}/modals/ClaimPayouts/Utils.ts (100%) rename packages/app/src/{ => overlay}/modals/ClaimPayouts/Wrappers.ts (100%) rename packages/app/src/{ => overlay}/modals/ClaimPayouts/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ClaimPayouts/types.ts (100%) rename packages/app/src/{ => overlay}/modals/ClaimReward/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/Connect/Extension.tsx (100%) rename packages/app/src/{ => overlay}/modals/Connect/Ledger.tsx (100%) rename packages/app/src/{ => overlay}/modals/Connect/Proxies.tsx (100%) rename packages/app/src/{ => overlay}/modals/Connect/ReadOnly.tsx (100%) rename packages/app/src/{ => overlay}/modals/Connect/Utils.ts (100%) rename packages/app/src/{ => overlay}/modals/Connect/Vault.tsx (100%) rename packages/app/src/{ => overlay}/modals/Connect/WalletConnect.tsx (100%) rename packages/app/src/{ => overlay}/modals/Connect/Wrappers.ts (100%) rename packages/app/src/{ => overlay}/modals/Connect/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/Connect/types.ts (100%) rename packages/app/src/{ => overlay}/modals/DiscordSupport/Wrapper.ts (100%) rename packages/app/src/{ => overlay}/modals/DiscordSupport/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/DismissTips/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ImportLedger/Addresses.tsx (100%) rename packages/app/src/{ => overlay}/modals/ImportLedger/Manage.tsx (100%) rename packages/app/src/{ => overlay}/modals/ImportLedger/Reset.tsx (100%) rename packages/app/src/{ => overlay}/modals/ImportLedger/Splash.tsx (100%) rename packages/app/src/{ => overlay}/modals/ImportLedger/Wrappers.ts (100%) rename packages/app/src/{ => overlay}/modals/ImportLedger/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ImportVault/Reader.tsx (100%) rename packages/app/src/{ => overlay}/modals/ImportVault/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ImportWalletConnect/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/MailSupport/Wrapper.ts (100%) rename packages/app/src/{ => overlay}/modals/MailSupport/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManageFastUnstake/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/ClaimCommission/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/LeavePool/index.tsx (98%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/ManageCommission/ChangeRate.tsx (98%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/ManageCommission/CommissionCurrent.tsx (97%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/ManageCommission/MaxCommission.tsx (96%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/ManageCommission/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/ManageCommission/provider/defaults.ts (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/ManageCommission/provider/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/ManageCommission/provider/types.ts (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/RenamePool/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/SetClaimPermission/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/SetPoolState/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Forms/types.ts (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Tasks.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/Wrappers.ts (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ManagePool/types.ts (100%) rename packages/app/src/{ => overlay}/modals/Networks/ProvidersPrompt.tsx (100%) rename packages/app/src/{ => overlay}/modals/Networks/Wrapper.ts (100%) rename packages/app/src/{ => overlay}/modals/Networks/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/Networks/types.ts (100%) rename packages/app/src/{ => overlay}/modals/Settings/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/StopNominations/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/Unbond/index.tsx (99%) rename packages/app/src/{ => overlay}/modals/UnlockChunks/Chunk.tsx (100%) rename packages/app/src/{ => overlay}/modals/UnlockChunks/Forms.tsx (100%) rename packages/app/src/{ => overlay}/modals/UnlockChunks/Overview.tsx (98%) rename packages/app/src/{ => overlay}/modals/UnlockChunks/Wrappers.ts (100%) rename packages/app/src/{ => overlay}/modals/UnlockChunks/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/UnlockChunks/types.ts (100%) rename packages/app/src/{ => overlay}/modals/Unstake/index.tsx (98%) rename packages/app/src/{ => overlay}/modals/UpdatePayee/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/UpdateReserve/index.tsx (98%) rename packages/app/src/{ => overlay}/modals/Utils/StaticNote.tsx (100%) rename packages/app/src/{ => overlay}/modals/ValidatorGeo/index.tsx (100%) rename packages/app/src/{ => overlay}/modals/ValidatorMetrics/index.tsx (100%) diff --git a/packages/app/src/library/GenerateNominations/index.tsx b/packages/app/src/library/GenerateNominations/index.tsx index 3d4e42899a..8848f1c2d3 100644 --- a/packages/app/src/library/GenerateNominations/index.tsx +++ b/packages/app/src/library/GenerateNominations/index.tsx @@ -10,7 +10,6 @@ import { faUserEdit, } from '@fortawesome/free-solid-svg-icons' import type { AnyFunction, AnyJson } from '@w3ux/types' -import { FavoritesPrompt } from 'canvas/ManageNominations/Prompts/FavoritesPrompt' import { useActiveAccounts } from 'contexts/ActiveAccounts' import { useApi } from 'contexts/Api' import { useImportedAccounts } from 'contexts/Connect/ImportedAccounts' @@ -24,6 +23,7 @@ import { SelectableWrapper } from 'library/List' import { SelectItems } from 'library/SelectItems' import { SelectItem } from 'library/SelectItems/Item' import { ValidatorList } from 'library/ValidatorList' +import { FavoritesPrompt } from 'overlay/canvas/ManageNominations/Prompts/FavoritesPrompt' import { Subheading } from 'pages/Nominate/Wrappers' import { useEffect, useRef, useState } from 'react' import { useTranslation } from 'react-i18next' diff --git a/packages/app/src/canvas/CreatePool/Bond/index.tsx b/packages/app/src/overlay/canvas/CreatePool/Bond/index.tsx similarity index 100% rename from packages/app/src/canvas/CreatePool/Bond/index.tsx rename to packages/app/src/overlay/canvas/CreatePool/Bond/index.tsx diff --git a/packages/app/src/canvas/CreatePool/PoolName/Input.tsx b/packages/app/src/overlay/canvas/CreatePool/PoolName/Input.tsx similarity index 100% rename from packages/app/src/canvas/CreatePool/PoolName/Input.tsx rename to packages/app/src/overlay/canvas/CreatePool/PoolName/Input.tsx diff --git a/packages/app/src/canvas/CreatePool/PoolName/index.tsx b/packages/app/src/overlay/canvas/CreatePool/PoolName/index.tsx similarity index 100% rename from packages/app/src/canvas/CreatePool/PoolName/index.tsx rename to packages/app/src/overlay/canvas/CreatePool/PoolName/index.tsx diff --git a/packages/app/src/canvas/CreatePool/PoolRoles/index.tsx b/packages/app/src/overlay/canvas/CreatePool/PoolRoles/index.tsx similarity index 100% rename from packages/app/src/canvas/CreatePool/PoolRoles/index.tsx rename to packages/app/src/overlay/canvas/CreatePool/PoolRoles/index.tsx diff --git a/packages/app/src/canvas/CreatePool/Summary/Wrapper.ts b/packages/app/src/overlay/canvas/CreatePool/Summary/Wrapper.ts similarity index 100% rename from packages/app/src/canvas/CreatePool/Summary/Wrapper.ts rename to packages/app/src/overlay/canvas/CreatePool/Summary/Wrapper.ts diff --git a/packages/app/src/canvas/CreatePool/Summary/index.tsx b/packages/app/src/overlay/canvas/CreatePool/Summary/index.tsx similarity index 100% rename from packages/app/src/canvas/CreatePool/Summary/index.tsx rename to packages/app/src/overlay/canvas/CreatePool/Summary/index.tsx diff --git a/packages/app/src/canvas/CreatePool/index.tsx b/packages/app/src/overlay/canvas/CreatePool/index.tsx similarity index 86% rename from packages/app/src/canvas/CreatePool/index.tsx rename to packages/app/src/overlay/canvas/CreatePool/index.tsx index 4b26c4c272..139a6efa04 100644 --- a/packages/app/src/canvas/CreatePool/index.tsx +++ b/packages/app/src/overlay/canvas/CreatePool/index.tsx @@ -2,14 +2,17 @@ // SPDX-License-Identifier: GPL-3.0-only import { faTimes } from '@fortawesome/free-solid-svg-icons' -import { Bond } from 'canvas/CreatePool/Bond' -import { PoolName } from 'canvas/CreatePool/PoolName' -import { PoolRoles } from 'canvas/CreatePool/PoolRoles' -import { Summary } from 'canvas/CreatePool/Summary' -import { CanvasFullScreenWrapper, CanvasTitleWrapper } from 'canvas/Wrappers' import { useOverlay } from 'kits/Overlay/Provider' import { CardWrapper } from 'library/Card/Wrappers' import { Nominate } from 'library/SetupSteps/Nominate' +import { Bond } from 'overlay/canvas/CreatePool/Bond' +import { PoolName } from 'overlay/canvas/CreatePool/PoolName' +import { PoolRoles } from 'overlay/canvas/CreatePool/PoolRoles' +import { Summary } from 'overlay/canvas/CreatePool/Summary' +import { + CanvasFullScreenWrapper, + CanvasTitleWrapper, +} from 'overlay/canvas/Wrappers' import { useTranslation } from 'react-i18next' import { Element } from 'react-scroll' import { ButtonPrimary } from 'ui-buttons' diff --git a/packages/app/src/canvas/JoinPool/Header.tsx b/packages/app/src/overlay/canvas/JoinPool/Header.tsx similarity index 98% rename from packages/app/src/canvas/JoinPool/Header.tsx rename to packages/app/src/overlay/canvas/JoinPool/Header.tsx index 42694a6810..03dc801840 100644 --- a/packages/app/src/canvas/JoinPool/Header.tsx +++ b/packages/app/src/overlay/canvas/JoinPool/Header.tsx @@ -8,9 +8,9 @@ import { } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { Polkicon } from '@w3ux/react-polkicon' -import { CanvasTitleWrapper } from 'canvas/Wrappers' import { determinePoolDisplay } from 'contexts/Pools/util' import { useOverlay } from 'kits/Overlay/Provider' +import { CanvasTitleWrapper } from 'overlay/canvas/Wrappers' import { useTranslation } from 'react-i18next' import { ButtonPrimary, ButtonPrimaryInvert } from 'ui-buttons' import { PageTitleTabs } from 'ui-structure' diff --git a/packages/app/src/canvas/JoinPool/Nominations/index.tsx b/packages/app/src/overlay/canvas/JoinPool/Nominations/index.tsx similarity index 100% rename from packages/app/src/canvas/JoinPool/Nominations/index.tsx rename to packages/app/src/overlay/canvas/JoinPool/Nominations/index.tsx diff --git a/packages/app/src/canvas/JoinPool/Overview/AddressSection.tsx b/packages/app/src/overlay/canvas/JoinPool/Overview/AddressSection.tsx similarity index 100% rename from packages/app/src/canvas/JoinPool/Overview/AddressSection.tsx rename to packages/app/src/overlay/canvas/JoinPool/Overview/AddressSection.tsx diff --git a/packages/app/src/canvas/JoinPool/Overview/Addresses.tsx b/packages/app/src/overlay/canvas/JoinPool/Overview/Addresses.tsx similarity index 100% rename from packages/app/src/canvas/JoinPool/Overview/Addresses.tsx rename to packages/app/src/overlay/canvas/JoinPool/Overview/Addresses.tsx diff --git a/packages/app/src/canvas/JoinPool/Overview/JoinForm.tsx b/packages/app/src/overlay/canvas/JoinPool/Overview/JoinForm.tsx similarity index 100% rename from packages/app/src/canvas/JoinPool/Overview/JoinForm.tsx rename to packages/app/src/overlay/canvas/JoinPool/Overview/JoinForm.tsx diff --git a/packages/app/src/canvas/JoinPool/Overview/PerformanceGraph.tsx b/packages/app/src/overlay/canvas/JoinPool/Overview/PerformanceGraph.tsx similarity index 100% rename from packages/app/src/canvas/JoinPool/Overview/PerformanceGraph.tsx rename to packages/app/src/overlay/canvas/JoinPool/Overview/PerformanceGraph.tsx diff --git a/packages/app/src/canvas/JoinPool/Overview/Roles.tsx b/packages/app/src/overlay/canvas/JoinPool/Overview/Roles.tsx similarity index 100% rename from packages/app/src/canvas/JoinPool/Overview/Roles.tsx rename to packages/app/src/overlay/canvas/JoinPool/Overview/Roles.tsx diff --git a/packages/app/src/canvas/JoinPool/Overview/Stats.tsx b/packages/app/src/overlay/canvas/JoinPool/Overview/Stats.tsx similarity index 100% rename from packages/app/src/canvas/JoinPool/Overview/Stats.tsx rename to packages/app/src/overlay/canvas/JoinPool/Overview/Stats.tsx diff --git a/packages/app/src/canvas/JoinPool/Overview/index.tsx b/packages/app/src/overlay/canvas/JoinPool/Overview/index.tsx similarity index 100% rename from packages/app/src/canvas/JoinPool/Overview/index.tsx rename to packages/app/src/overlay/canvas/JoinPool/Overview/index.tsx diff --git a/packages/app/src/canvas/JoinPool/Preloader.tsx b/packages/app/src/overlay/canvas/JoinPool/Preloader.tsx similarity index 97% rename from packages/app/src/canvas/JoinPool/Preloader.tsx rename to packages/app/src/overlay/canvas/JoinPool/Preloader.tsx index b100a41316..1d27ba652f 100644 --- a/packages/app/src/canvas/JoinPool/Preloader.tsx +++ b/packages/app/src/overlay/canvas/JoinPool/Preloader.tsx @@ -4,12 +4,12 @@ import { faTimes } from '@fortawesome/free-solid-svg-icons' import { capitalizeFirstLetter, rmCommas } from '@w3ux/utils' import BigNumber from 'bignumber.js' -import { CanvasTitleWrapper } from 'canvas/Wrappers' import { useApi } from 'contexts/Api' import { useNetwork } from 'contexts/Network' import { useBondedPools } from 'contexts/Pools/BondedPools' import { useOverlay } from 'kits/Overlay/Provider' import { PoolSyncBar } from 'library/PoolSync/Bar' +import { CanvasTitleWrapper } from 'overlay/canvas/Wrappers' import { useTranslation } from 'react-i18next' import type { BondedPool, PoolRewardPointsKey } from 'types' import { ButtonPrimary } from 'ui-buttons' diff --git a/packages/app/src/canvas/JoinPool/Wrappers.ts b/packages/app/src/overlay/canvas/JoinPool/Wrappers.ts similarity index 100% rename from packages/app/src/canvas/JoinPool/Wrappers.ts rename to packages/app/src/overlay/canvas/JoinPool/Wrappers.ts diff --git a/packages/app/src/canvas/JoinPool/index.tsx b/packages/app/src/overlay/canvas/JoinPool/index.tsx similarity index 98% rename from packages/app/src/canvas/JoinPool/index.tsx rename to packages/app/src/overlay/canvas/JoinPool/index.tsx index 14804e6d53..1eaa486a7e 100644 --- a/packages/app/src/canvas/JoinPool/index.tsx +++ b/packages/app/src/overlay/canvas/JoinPool/index.tsx @@ -1,13 +1,13 @@ // Copyright 2024 @polkadot-cloud/polkadot-staking-dashboard authors & contributors // SPDX-License-Identifier: GPL-3.0-only -import { CanvasFullScreenWrapper } from 'canvas/Wrappers' import { MaxEraRewardPointsEras } from 'consts' import { useBondedPools } from 'contexts/Pools/BondedPools' import { useJoinPools } from 'contexts/Pools/JoinPools' import { usePoolPerformance } from 'contexts/Pools/PoolPerformance' import { useStaking } from 'contexts/Staking' import { useOverlay } from 'kits/Overlay/Provider' +import { CanvasFullScreenWrapper } from 'overlay/canvas/Wrappers' import { useEffect, useMemo, useState } from 'react' import { Header } from './Header' import { Nominations } from './Nominations' diff --git a/packages/app/src/canvas/JoinPool/types.ts b/packages/app/src/overlay/canvas/JoinPool/types.ts similarity index 100% rename from packages/app/src/canvas/JoinPool/types.ts rename to packages/app/src/overlay/canvas/JoinPool/types.ts diff --git a/packages/app/src/canvas/ManageNominations/Prompts/FavoritesPrompt.tsx b/packages/app/src/overlay/canvas/ManageNominations/Prompts/FavoritesPrompt.tsx similarity index 100% rename from packages/app/src/canvas/ManageNominations/Prompts/FavoritesPrompt.tsx rename to packages/app/src/overlay/canvas/ManageNominations/Prompts/FavoritesPrompt.tsx diff --git a/packages/app/src/canvas/ManageNominations/Prompts/RevertPrompt.tsx b/packages/app/src/overlay/canvas/ManageNominations/Prompts/RevertPrompt.tsx similarity index 100% rename from packages/app/src/canvas/ManageNominations/Prompts/RevertPrompt.tsx rename to packages/app/src/overlay/canvas/ManageNominations/Prompts/RevertPrompt.tsx diff --git a/packages/app/src/canvas/ManageNominations/index.tsx b/packages/app/src/overlay/canvas/ManageNominations/index.tsx similarity index 100% rename from packages/app/src/canvas/ManageNominations/index.tsx rename to packages/app/src/overlay/canvas/ManageNominations/index.tsx diff --git a/packages/app/src/canvas/ManageNominations/types.ts b/packages/app/src/overlay/canvas/ManageNominations/types.ts similarity index 100% rename from packages/app/src/canvas/ManageNominations/types.ts rename to packages/app/src/overlay/canvas/ManageNominations/types.ts diff --git a/packages/app/src/canvas/NominatorSetup/Bond/index.tsx b/packages/app/src/overlay/canvas/NominatorSetup/Bond/index.tsx similarity index 100% rename from packages/app/src/canvas/NominatorSetup/Bond/index.tsx rename to packages/app/src/overlay/canvas/NominatorSetup/Bond/index.tsx diff --git a/packages/app/src/canvas/NominatorSetup/Payee/index.tsx b/packages/app/src/overlay/canvas/NominatorSetup/Payee/index.tsx similarity index 100% rename from packages/app/src/canvas/NominatorSetup/Payee/index.tsx rename to packages/app/src/overlay/canvas/NominatorSetup/Payee/index.tsx diff --git a/packages/app/src/canvas/NominatorSetup/Summary/Wrapper.ts b/packages/app/src/overlay/canvas/NominatorSetup/Summary/Wrapper.ts similarity index 100% rename from packages/app/src/canvas/NominatorSetup/Summary/Wrapper.ts rename to packages/app/src/overlay/canvas/NominatorSetup/Summary/Wrapper.ts diff --git a/packages/app/src/canvas/NominatorSetup/Summary/index.tsx b/packages/app/src/overlay/canvas/NominatorSetup/Summary/index.tsx similarity index 100% rename from packages/app/src/canvas/NominatorSetup/Summary/index.tsx rename to packages/app/src/overlay/canvas/NominatorSetup/Summary/index.tsx diff --git a/packages/app/src/canvas/NominatorSetup/index.tsx b/packages/app/src/overlay/canvas/NominatorSetup/index.tsx similarity index 87% rename from packages/app/src/canvas/NominatorSetup/index.tsx rename to packages/app/src/overlay/canvas/NominatorSetup/index.tsx index f0e248d288..369d7a4553 100644 --- a/packages/app/src/canvas/NominatorSetup/index.tsx +++ b/packages/app/src/overlay/canvas/NominatorSetup/index.tsx @@ -2,13 +2,16 @@ // SPDX-License-Identifier: GPL-3.0-only import { faTimes } from '@fortawesome/free-solid-svg-icons' -import { Bond } from 'canvas/NominatorSetup/Bond' -import { Payee } from 'canvas/NominatorSetup/Payee' -import { Summary } from 'canvas/NominatorSetup/Summary' -import { CanvasFullScreenWrapper, CanvasTitleWrapper } from 'canvas/Wrappers' import { useOverlay } from 'kits/Overlay/Provider' import { CardWrapper } from 'library/Card/Wrappers' import { Nominate } from 'library/SetupSteps/Nominate' +import { Bond } from 'overlay/canvas/NominatorSetup/Bond' +import { Payee } from 'overlay/canvas/NominatorSetup/Payee' +import { Summary } from 'overlay/canvas/NominatorSetup/Summary' +import { + CanvasFullScreenWrapper, + CanvasTitleWrapper, +} from 'overlay/canvas/Wrappers' import { useTranslation } from 'react-i18next' import { Element } from 'react-scroll' import { ButtonPrimary } from 'ui-buttons' diff --git a/packages/app/src/canvas/PoolMembers/Lists/FetchPage.tsx b/packages/app/src/overlay/canvas/PoolMembers/Lists/FetchPage.tsx similarity index 100% rename from packages/app/src/canvas/PoolMembers/Lists/FetchPage.tsx rename to packages/app/src/overlay/canvas/PoolMembers/Lists/FetchPage.tsx diff --git a/packages/app/src/canvas/PoolMembers/Lists/Member.tsx b/packages/app/src/overlay/canvas/PoolMembers/Lists/Member.tsx similarity index 100% rename from packages/app/src/canvas/PoolMembers/Lists/Member.tsx rename to packages/app/src/overlay/canvas/PoolMembers/Lists/Member.tsx diff --git a/packages/app/src/canvas/PoolMembers/Lists/types.ts b/packages/app/src/overlay/canvas/PoolMembers/Lists/types.ts similarity index 100% rename from packages/app/src/canvas/PoolMembers/Lists/types.ts rename to packages/app/src/overlay/canvas/PoolMembers/Lists/types.ts diff --git a/packages/app/src/canvas/PoolMembers/Members.tsx b/packages/app/src/overlay/canvas/PoolMembers/Members.tsx similarity index 100% rename from packages/app/src/canvas/PoolMembers/Members.tsx rename to packages/app/src/overlay/canvas/PoolMembers/Members.tsx diff --git a/packages/app/src/canvas/PoolMembers/Prompts/UnbondMember.tsx b/packages/app/src/overlay/canvas/PoolMembers/Prompts/UnbondMember.tsx similarity index 98% rename from packages/app/src/canvas/PoolMembers/Prompts/UnbondMember.tsx rename to packages/app/src/overlay/canvas/PoolMembers/Prompts/UnbondMember.tsx index d59f5122ad..65f6d29ce4 100644 --- a/packages/app/src/canvas/PoolMembers/Prompts/UnbondMember.tsx +++ b/packages/app/src/overlay/canvas/PoolMembers/Prompts/UnbondMember.tsx @@ -20,7 +20,7 @@ import { ModalWarnings } from 'kits/Overlay/structure/ModalWarnings' import { Warning } from 'library/Form/Warning' import { Title } from 'library/Prompt/Title' import { SubmitTx } from 'library/SubmitTx' -import { StaticNote } from 'modals/Utils/StaticNote' +import { StaticNote } from 'overlay/modals/Utils/StaticNote' import { useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' import { planckToUnitBn, timeleftAsString } from 'utils' diff --git a/packages/app/src/canvas/PoolMembers/Prompts/WithdrawMember.tsx b/packages/app/src/overlay/canvas/PoolMembers/Prompts/WithdrawMember.tsx similarity index 100% rename from packages/app/src/canvas/PoolMembers/Prompts/WithdrawMember.tsx rename to packages/app/src/overlay/canvas/PoolMembers/Prompts/WithdrawMember.tsx diff --git a/packages/app/src/canvas/PoolMembers/index.tsx b/packages/app/src/overlay/canvas/PoolMembers/index.tsx similarity index 86% rename from packages/app/src/canvas/PoolMembers/index.tsx rename to packages/app/src/overlay/canvas/PoolMembers/index.tsx index 6d62377e13..4eefeecbda 100644 --- a/packages/app/src/canvas/PoolMembers/index.tsx +++ b/packages/app/src/overlay/canvas/PoolMembers/index.tsx @@ -2,9 +2,9 @@ // SPDX-License-Identifier: GPL-3.0-only import { faTimes } from '@fortawesome/free-solid-svg-icons' -import { Members } from 'canvas/PoolMembers/Members' -import { CanvasFullScreenWrapper } from 'canvas/Wrappers' import { useOverlay } from 'kits/Overlay/Provider' +import { Members } from 'overlay/canvas/PoolMembers/Members' +import { CanvasFullScreenWrapper } from 'overlay/canvas/Wrappers' import { useTranslation } from 'react-i18next' import { ButtonPrimary } from 'ui-buttons' diff --git a/packages/app/src/canvas/Wrappers.ts b/packages/app/src/overlay/canvas/Wrappers.ts similarity index 100% rename from packages/app/src/canvas/Wrappers.ts rename to packages/app/src/overlay/canvas/Wrappers.ts diff --git a/packages/app/src/overlay/index.tsx b/packages/app/src/overlay/index.tsx index 688cb55408..adb31b5968 100644 --- a/packages/app/src/overlay/index.tsx +++ b/packages/app/src/overlay/index.tsx @@ -1,39 +1,39 @@ // Copyright 2024 @polkadot-cloud/polkadot-staking-dashboard authors & contributors // SPDX-License-Identifier: GPL-3.0-only -import { CreatePool } from 'canvas/CreatePool' -import { JoinPool } from 'canvas/JoinPool' -import { NominatorSetup } from 'canvas/NominatorSetup' -import { PoolMembers } from 'canvas/PoolMembers' import { useHelp } from 'contexts/Help' import { Overlay } from 'kits/Overlay' import { ErrorFallbackModal } from 'library/ErrorBoundary' -import { ClaimPayouts } from 'modals/ClaimPayouts' -import { ImportWalletConnect } from 'modals/ImportWalletConnect' -import { ManageNominations } from '../canvas/ManageNominations' -import { Accounts } from '../modals/Accounts' -import { Bio } from '../modals/Bio' -import { Bond } from '../modals/Bond' -import { ChangePoolRoles } from '../modals/ChangePoolRoles' -import { ChooseLanguage } from '../modals/ChooseLanguage' -import { ClaimReward } from '../modals/ClaimReward' -import { Connect } from '../modals/Connect' -import { DiscordSupport } from '../modals/DiscordSupport' -import { ImportLedger } from '../modals/ImportLedger' -import { ImportVault } from '../modals/ImportVault' -import { MailSupport } from '../modals/MailSupport' -import { ManageFastUnstake } from '../modals/ManageFastUnstake' -import { ManagePool } from '../modals/ManagePool' -import { Networks } from '../modals/Networks' -import { Settings } from '../modals/Settings' -import { StopNominations } from '../modals/StopNominations' -import { Unbond } from '../modals/Unbond' -import { UnlockChunks } from '../modals/UnlockChunks' -import { Unstake } from '../modals/Unstake' -import { UpdatePayee } from '../modals/UpdatePayee' -import { UpdateReserve } from '../modals/UpdateReserve' -import { ValidatorGeo } from '../modals/ValidatorGeo' -import { ValidatorMetrics } from '../modals/ValidatorMetrics' +import { CreatePool } from './canvas/CreatePool' +import { JoinPool } from './canvas/JoinPool' +import { ManageNominations } from './canvas/ManageNominations' +import { NominatorSetup } from './canvas/NominatorSetup' +import { PoolMembers } from './canvas/PoolMembers' +import { Accounts } from './modals/Accounts' +import { Bio } from './modals/Bio' +import { Bond } from './modals/Bond' +import { ChangePoolRoles } from './modals/ChangePoolRoles' +import { ChooseLanguage } from './modals/ChooseLanguage' +import { ClaimPayouts } from './modals/ClaimPayouts' +import { ClaimReward } from './modals/ClaimReward' +import { Connect } from './modals/Connect' +import { DiscordSupport } from './modals/DiscordSupport' +import { ImportLedger } from './modals/ImportLedger' +import { ImportVault } from './modals/ImportVault' +import { ImportWalletConnect } from './modals/ImportWalletConnect' +import { MailSupport } from './modals/MailSupport' +import { ManageFastUnstake } from './modals/ManageFastUnstake' +import { ManagePool } from './modals/ManagePool' +import { Networks } from './modals/Networks' +import { Settings } from './modals/Settings' +import { StopNominations } from './modals/StopNominations' +import { Unbond } from './modals/Unbond' +import { UnlockChunks } from './modals/UnlockChunks' +import { Unstake } from './modals/Unstake' +import { UpdatePayee } from './modals/UpdatePayee' +import { UpdateReserve } from './modals/UpdateReserve' +import { ValidatorGeo } from './modals/ValidatorGeo' +import { ValidatorMetrics } from './modals/ValidatorMetrics' export const Overlays = () => { const { status } = useHelp() diff --git a/packages/app/src/modals/Accounts/Account.tsx b/packages/app/src/overlay/modals/Accounts/Account.tsx similarity index 100% rename from packages/app/src/modals/Accounts/Account.tsx rename to packages/app/src/overlay/modals/Accounts/Account.tsx diff --git a/packages/app/src/modals/Accounts/Delegates/Wrapper.ts b/packages/app/src/overlay/modals/Accounts/Delegates/Wrapper.ts similarity index 100% rename from packages/app/src/modals/Accounts/Delegates/Wrapper.ts rename to packages/app/src/overlay/modals/Accounts/Delegates/Wrapper.ts diff --git a/packages/app/src/modals/Accounts/Delegates/index.tsx b/packages/app/src/overlay/modals/Accounts/Delegates/index.tsx similarity index 100% rename from packages/app/src/modals/Accounts/Delegates/index.tsx rename to packages/app/src/overlay/modals/Accounts/Delegates/index.tsx diff --git a/packages/app/src/modals/Accounts/Wrappers.ts b/packages/app/src/overlay/modals/Accounts/Wrappers.ts similarity index 100% rename from packages/app/src/modals/Accounts/Wrappers.ts rename to packages/app/src/overlay/modals/Accounts/Wrappers.ts diff --git a/packages/app/src/modals/Accounts/index.tsx b/packages/app/src/overlay/modals/Accounts/index.tsx similarity index 100% rename from packages/app/src/modals/Accounts/index.tsx rename to packages/app/src/overlay/modals/Accounts/index.tsx diff --git a/packages/app/src/modals/Accounts/types.ts b/packages/app/src/overlay/modals/Accounts/types.ts similarity index 100% rename from packages/app/src/modals/Accounts/types.ts rename to packages/app/src/overlay/modals/Accounts/types.ts diff --git a/packages/app/src/modals/BalanceTest/index.tsx b/packages/app/src/overlay/modals/BalanceTest/index.tsx similarity index 100% rename from packages/app/src/modals/BalanceTest/index.tsx rename to packages/app/src/overlay/modals/BalanceTest/index.tsx diff --git a/packages/app/src/modals/Bio/Wrapper.ts b/packages/app/src/overlay/modals/Bio/Wrapper.ts similarity index 100% rename from packages/app/src/modals/Bio/Wrapper.ts rename to packages/app/src/overlay/modals/Bio/Wrapper.ts diff --git a/packages/app/src/modals/Bio/index.tsx b/packages/app/src/overlay/modals/Bio/index.tsx similarity index 100% rename from packages/app/src/modals/Bio/index.tsx rename to packages/app/src/overlay/modals/Bio/index.tsx diff --git a/packages/app/src/modals/Bond/index.tsx b/packages/app/src/overlay/modals/Bond/index.tsx similarity index 100% rename from packages/app/src/modals/Bond/index.tsx rename to packages/app/src/overlay/modals/Bond/index.tsx diff --git a/packages/app/src/modals/ChangePoolRoles/RoleChange.tsx b/packages/app/src/overlay/modals/ChangePoolRoles/RoleChange.tsx similarity index 100% rename from packages/app/src/modals/ChangePoolRoles/RoleChange.tsx rename to packages/app/src/overlay/modals/ChangePoolRoles/RoleChange.tsx diff --git a/packages/app/src/modals/ChangePoolRoles/Wrapper.ts b/packages/app/src/overlay/modals/ChangePoolRoles/Wrapper.ts similarity index 100% rename from packages/app/src/modals/ChangePoolRoles/Wrapper.ts rename to packages/app/src/overlay/modals/ChangePoolRoles/Wrapper.ts diff --git a/packages/app/src/modals/ChangePoolRoles/index.tsx b/packages/app/src/overlay/modals/ChangePoolRoles/index.tsx similarity index 100% rename from packages/app/src/modals/ChangePoolRoles/index.tsx rename to packages/app/src/overlay/modals/ChangePoolRoles/index.tsx diff --git a/packages/app/src/modals/ChangePoolRoles/types.ts b/packages/app/src/overlay/modals/ChangePoolRoles/types.ts similarity index 100% rename from packages/app/src/modals/ChangePoolRoles/types.ts rename to packages/app/src/overlay/modals/ChangePoolRoles/types.ts diff --git a/packages/app/src/modals/ChooseLanguage/Wrapper.ts b/packages/app/src/overlay/modals/ChooseLanguage/Wrapper.ts similarity index 100% rename from packages/app/src/modals/ChooseLanguage/Wrapper.ts rename to packages/app/src/overlay/modals/ChooseLanguage/Wrapper.ts diff --git a/packages/app/src/modals/ChooseLanguage/index.tsx b/packages/app/src/overlay/modals/ChooseLanguage/index.tsx similarity index 100% rename from packages/app/src/modals/ChooseLanguage/index.tsx rename to packages/app/src/overlay/modals/ChooseLanguage/index.tsx diff --git a/packages/app/src/modals/ClaimPayouts/Forms.tsx b/packages/app/src/overlay/modals/ClaimPayouts/Forms.tsx similarity index 100% rename from packages/app/src/modals/ClaimPayouts/Forms.tsx rename to packages/app/src/overlay/modals/ClaimPayouts/Forms.tsx diff --git a/packages/app/src/modals/ClaimPayouts/Item.tsx b/packages/app/src/overlay/modals/ClaimPayouts/Item.tsx similarity index 100% rename from packages/app/src/modals/ClaimPayouts/Item.tsx rename to packages/app/src/overlay/modals/ClaimPayouts/Item.tsx diff --git a/packages/app/src/modals/ClaimPayouts/Overview.tsx b/packages/app/src/overlay/modals/ClaimPayouts/Overview.tsx similarity index 100% rename from packages/app/src/modals/ClaimPayouts/Overview.tsx rename to packages/app/src/overlay/modals/ClaimPayouts/Overview.tsx diff --git a/packages/app/src/modals/ClaimPayouts/Utils.ts b/packages/app/src/overlay/modals/ClaimPayouts/Utils.ts similarity index 100% rename from packages/app/src/modals/ClaimPayouts/Utils.ts rename to packages/app/src/overlay/modals/ClaimPayouts/Utils.ts diff --git a/packages/app/src/modals/ClaimPayouts/Wrappers.ts b/packages/app/src/overlay/modals/ClaimPayouts/Wrappers.ts similarity index 100% rename from packages/app/src/modals/ClaimPayouts/Wrappers.ts rename to packages/app/src/overlay/modals/ClaimPayouts/Wrappers.ts diff --git a/packages/app/src/modals/ClaimPayouts/index.tsx b/packages/app/src/overlay/modals/ClaimPayouts/index.tsx similarity index 100% rename from packages/app/src/modals/ClaimPayouts/index.tsx rename to packages/app/src/overlay/modals/ClaimPayouts/index.tsx diff --git a/packages/app/src/modals/ClaimPayouts/types.ts b/packages/app/src/overlay/modals/ClaimPayouts/types.ts similarity index 100% rename from packages/app/src/modals/ClaimPayouts/types.ts rename to packages/app/src/overlay/modals/ClaimPayouts/types.ts diff --git a/packages/app/src/modals/ClaimReward/index.tsx b/packages/app/src/overlay/modals/ClaimReward/index.tsx similarity index 100% rename from packages/app/src/modals/ClaimReward/index.tsx rename to packages/app/src/overlay/modals/ClaimReward/index.tsx diff --git a/packages/app/src/modals/Connect/Extension.tsx b/packages/app/src/overlay/modals/Connect/Extension.tsx similarity index 100% rename from packages/app/src/modals/Connect/Extension.tsx rename to packages/app/src/overlay/modals/Connect/Extension.tsx diff --git a/packages/app/src/modals/Connect/Ledger.tsx b/packages/app/src/overlay/modals/Connect/Ledger.tsx similarity index 100% rename from packages/app/src/modals/Connect/Ledger.tsx rename to packages/app/src/overlay/modals/Connect/Ledger.tsx diff --git a/packages/app/src/modals/Connect/Proxies.tsx b/packages/app/src/overlay/modals/Connect/Proxies.tsx similarity index 100% rename from packages/app/src/modals/Connect/Proxies.tsx rename to packages/app/src/overlay/modals/Connect/Proxies.tsx diff --git a/packages/app/src/modals/Connect/ReadOnly.tsx b/packages/app/src/overlay/modals/Connect/ReadOnly.tsx similarity index 100% rename from packages/app/src/modals/Connect/ReadOnly.tsx rename to packages/app/src/overlay/modals/Connect/ReadOnly.tsx diff --git a/packages/app/src/modals/Connect/Utils.ts b/packages/app/src/overlay/modals/Connect/Utils.ts similarity index 100% rename from packages/app/src/modals/Connect/Utils.ts rename to packages/app/src/overlay/modals/Connect/Utils.ts diff --git a/packages/app/src/modals/Connect/Vault.tsx b/packages/app/src/overlay/modals/Connect/Vault.tsx similarity index 100% rename from packages/app/src/modals/Connect/Vault.tsx rename to packages/app/src/overlay/modals/Connect/Vault.tsx diff --git a/packages/app/src/modals/Connect/WalletConnect.tsx b/packages/app/src/overlay/modals/Connect/WalletConnect.tsx similarity index 100% rename from packages/app/src/modals/Connect/WalletConnect.tsx rename to packages/app/src/overlay/modals/Connect/WalletConnect.tsx diff --git a/packages/app/src/modals/Connect/Wrappers.ts b/packages/app/src/overlay/modals/Connect/Wrappers.ts similarity index 100% rename from packages/app/src/modals/Connect/Wrappers.ts rename to packages/app/src/overlay/modals/Connect/Wrappers.ts diff --git a/packages/app/src/modals/Connect/index.tsx b/packages/app/src/overlay/modals/Connect/index.tsx similarity index 100% rename from packages/app/src/modals/Connect/index.tsx rename to packages/app/src/overlay/modals/Connect/index.tsx diff --git a/packages/app/src/modals/Connect/types.ts b/packages/app/src/overlay/modals/Connect/types.ts similarity index 100% rename from packages/app/src/modals/Connect/types.ts rename to packages/app/src/overlay/modals/Connect/types.ts diff --git a/packages/app/src/modals/DiscordSupport/Wrapper.ts b/packages/app/src/overlay/modals/DiscordSupport/Wrapper.ts similarity index 100% rename from packages/app/src/modals/DiscordSupport/Wrapper.ts rename to packages/app/src/overlay/modals/DiscordSupport/Wrapper.ts diff --git a/packages/app/src/modals/DiscordSupport/index.tsx b/packages/app/src/overlay/modals/DiscordSupport/index.tsx similarity index 100% rename from packages/app/src/modals/DiscordSupport/index.tsx rename to packages/app/src/overlay/modals/DiscordSupport/index.tsx diff --git a/packages/app/src/modals/DismissTips/index.tsx b/packages/app/src/overlay/modals/DismissTips/index.tsx similarity index 100% rename from packages/app/src/modals/DismissTips/index.tsx rename to packages/app/src/overlay/modals/DismissTips/index.tsx diff --git a/packages/app/src/modals/ImportLedger/Addresses.tsx b/packages/app/src/overlay/modals/ImportLedger/Addresses.tsx similarity index 100% rename from packages/app/src/modals/ImportLedger/Addresses.tsx rename to packages/app/src/overlay/modals/ImportLedger/Addresses.tsx diff --git a/packages/app/src/modals/ImportLedger/Manage.tsx b/packages/app/src/overlay/modals/ImportLedger/Manage.tsx similarity index 100% rename from packages/app/src/modals/ImportLedger/Manage.tsx rename to packages/app/src/overlay/modals/ImportLedger/Manage.tsx diff --git a/packages/app/src/modals/ImportLedger/Reset.tsx b/packages/app/src/overlay/modals/ImportLedger/Reset.tsx similarity index 100% rename from packages/app/src/modals/ImportLedger/Reset.tsx rename to packages/app/src/overlay/modals/ImportLedger/Reset.tsx diff --git a/packages/app/src/modals/ImportLedger/Splash.tsx b/packages/app/src/overlay/modals/ImportLedger/Splash.tsx similarity index 100% rename from packages/app/src/modals/ImportLedger/Splash.tsx rename to packages/app/src/overlay/modals/ImportLedger/Splash.tsx diff --git a/packages/app/src/modals/ImportLedger/Wrappers.ts b/packages/app/src/overlay/modals/ImportLedger/Wrappers.ts similarity index 100% rename from packages/app/src/modals/ImportLedger/Wrappers.ts rename to packages/app/src/overlay/modals/ImportLedger/Wrappers.ts diff --git a/packages/app/src/modals/ImportLedger/index.tsx b/packages/app/src/overlay/modals/ImportLedger/index.tsx similarity index 100% rename from packages/app/src/modals/ImportLedger/index.tsx rename to packages/app/src/overlay/modals/ImportLedger/index.tsx diff --git a/packages/app/src/modals/ImportVault/Reader.tsx b/packages/app/src/overlay/modals/ImportVault/Reader.tsx similarity index 100% rename from packages/app/src/modals/ImportVault/Reader.tsx rename to packages/app/src/overlay/modals/ImportVault/Reader.tsx diff --git a/packages/app/src/modals/ImportVault/index.tsx b/packages/app/src/overlay/modals/ImportVault/index.tsx similarity index 100% rename from packages/app/src/modals/ImportVault/index.tsx rename to packages/app/src/overlay/modals/ImportVault/index.tsx diff --git a/packages/app/src/modals/ImportWalletConnect/index.tsx b/packages/app/src/overlay/modals/ImportWalletConnect/index.tsx similarity index 100% rename from packages/app/src/modals/ImportWalletConnect/index.tsx rename to packages/app/src/overlay/modals/ImportWalletConnect/index.tsx diff --git a/packages/app/src/modals/MailSupport/Wrapper.ts b/packages/app/src/overlay/modals/MailSupport/Wrapper.ts similarity index 100% rename from packages/app/src/modals/MailSupport/Wrapper.ts rename to packages/app/src/overlay/modals/MailSupport/Wrapper.ts diff --git a/packages/app/src/modals/MailSupport/index.tsx b/packages/app/src/overlay/modals/MailSupport/index.tsx similarity index 100% rename from packages/app/src/modals/MailSupport/index.tsx rename to packages/app/src/overlay/modals/MailSupport/index.tsx diff --git a/packages/app/src/modals/ManageFastUnstake/index.tsx b/packages/app/src/overlay/modals/ManageFastUnstake/index.tsx similarity index 100% rename from packages/app/src/modals/ManageFastUnstake/index.tsx rename to packages/app/src/overlay/modals/ManageFastUnstake/index.tsx diff --git a/packages/app/src/modals/ManagePool/Forms/ClaimCommission/index.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/ClaimCommission/index.tsx similarity index 100% rename from packages/app/src/modals/ManagePool/Forms/ClaimCommission/index.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/ClaimCommission/index.tsx diff --git a/packages/app/src/modals/ManagePool/Forms/LeavePool/index.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/LeavePool/index.tsx similarity index 98% rename from packages/app/src/modals/ManagePool/Forms/LeavePool/index.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/LeavePool/index.tsx index 0d72f385d7..cb42ae7324 100644 --- a/packages/app/src/modals/ManagePool/Forms/LeavePool/index.tsx +++ b/packages/app/src/overlay/modals/ManagePool/Forms/LeavePool/index.tsx @@ -19,7 +19,7 @@ import { ModalWarnings } from 'kits/Overlay/structure/ModalWarnings' import { ActionItem } from 'library/ActionItem' import { Warning } from 'library/Form/Warning' import { SubmitTx } from 'library/SubmitTx' -import { StaticNote } from 'modals/Utils/StaticNote' +import { StaticNote } from 'overlay/modals/Utils/StaticNote' import { useEffect, useState, type Dispatch, type SetStateAction } from 'react' import { useTranslation } from 'react-i18next' import { ButtonSubmitInvert } from 'ui-buttons' diff --git a/packages/app/src/modals/ManagePool/Forms/ManageCommission/ChangeRate.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/ChangeRate.tsx similarity index 98% rename from packages/app/src/modals/ManagePool/Forms/ManageCommission/ChangeRate.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/ChangeRate.tsx index 08f2b0d474..916953e43a 100644 --- a/packages/app/src/modals/ManagePool/Forms/ManageCommission/ChangeRate.tsx +++ b/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/ChangeRate.tsx @@ -6,7 +6,7 @@ import { useApi } from 'contexts/Api' import { intervalToDuration } from 'date-fns' import { MinDelayInput } from 'library/Form/MinDelayInput' import { StyledSlider } from 'library/StyledSlider' -import { SliderWrapper } from 'modals/ManagePool/Wrappers' +import { SliderWrapper } from 'overlay/modals/ManagePool/Wrappers' import { useState } from 'react' import { useTranslation } from 'react-i18next' import type { ChangeRateInput } from '../types' diff --git a/packages/app/src/modals/ManagePool/Forms/ManageCommission/CommissionCurrent.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/CommissionCurrent.tsx similarity index 97% rename from packages/app/src/modals/ManagePool/Forms/ManageCommission/CommissionCurrent.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/CommissionCurrent.tsx index 34c6316165..eb7119dc40 100644 --- a/packages/app/src/modals/ManagePool/Forms/ManageCommission/CommissionCurrent.tsx +++ b/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/CommissionCurrent.tsx @@ -3,7 +3,7 @@ import { AccountInput } from 'library/AccountInput' import { StyledSlider } from 'library/StyledSlider' -import { SliderWrapper } from 'modals/ManagePool/Wrappers' +import { SliderWrapper } from 'overlay/modals/ManagePool/Wrappers' import { useTranslation } from 'react-i18next' import { usePoolCommission } from './provider' diff --git a/packages/app/src/modals/ManagePool/Forms/ManageCommission/MaxCommission.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/MaxCommission.tsx similarity index 96% rename from packages/app/src/modals/ManagePool/Forms/ManageCommission/MaxCommission.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/MaxCommission.tsx index 1baf4db6f0..7002463ca7 100644 --- a/packages/app/src/modals/ManagePool/Forms/ManageCommission/MaxCommission.tsx +++ b/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/MaxCommission.tsx @@ -2,7 +2,7 @@ // SPDX-License-Identifier: GPL-3.0-only import { StyledSlider } from 'library/StyledSlider' -import { SliderWrapper } from 'modals/ManagePool/Wrappers' +import { SliderWrapper } from 'overlay/modals/ManagePool/Wrappers' import { useTranslation } from 'react-i18next' import { usePoolCommission } from './provider' diff --git a/packages/app/src/modals/ManagePool/Forms/ManageCommission/index.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/index.tsx similarity index 100% rename from packages/app/src/modals/ManagePool/Forms/ManageCommission/index.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/index.tsx diff --git a/packages/app/src/modals/ManagePool/Forms/ManageCommission/provider/defaults.ts b/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/provider/defaults.ts similarity index 100% rename from packages/app/src/modals/ManagePool/Forms/ManageCommission/provider/defaults.ts rename to packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/provider/defaults.ts diff --git a/packages/app/src/modals/ManagePool/Forms/ManageCommission/provider/index.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/provider/index.tsx similarity index 100% rename from packages/app/src/modals/ManagePool/Forms/ManageCommission/provider/index.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/provider/index.tsx diff --git a/packages/app/src/modals/ManagePool/Forms/ManageCommission/provider/types.ts b/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/provider/types.ts similarity index 100% rename from packages/app/src/modals/ManagePool/Forms/ManageCommission/provider/types.ts rename to packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/provider/types.ts diff --git a/packages/app/src/modals/ManagePool/Forms/RenamePool/index.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/RenamePool/index.tsx similarity index 100% rename from packages/app/src/modals/ManagePool/Forms/RenamePool/index.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/RenamePool/index.tsx diff --git a/packages/app/src/modals/ManagePool/Forms/SetClaimPermission/index.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/SetClaimPermission/index.tsx similarity index 100% rename from packages/app/src/modals/ManagePool/Forms/SetClaimPermission/index.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/SetClaimPermission/index.tsx diff --git a/packages/app/src/modals/ManagePool/Forms/SetPoolState/index.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/SetPoolState/index.tsx similarity index 100% rename from packages/app/src/modals/ManagePool/Forms/SetPoolState/index.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/SetPoolState/index.tsx diff --git a/packages/app/src/modals/ManagePool/Forms/index.tsx b/packages/app/src/overlay/modals/ManagePool/Forms/index.tsx similarity index 100% rename from packages/app/src/modals/ManagePool/Forms/index.tsx rename to packages/app/src/overlay/modals/ManagePool/Forms/index.tsx diff --git a/packages/app/src/modals/ManagePool/Forms/types.ts b/packages/app/src/overlay/modals/ManagePool/Forms/types.ts similarity index 100% rename from packages/app/src/modals/ManagePool/Forms/types.ts rename to packages/app/src/overlay/modals/ManagePool/Forms/types.ts diff --git a/packages/app/src/modals/ManagePool/Tasks.tsx b/packages/app/src/overlay/modals/ManagePool/Tasks.tsx similarity index 100% rename from packages/app/src/modals/ManagePool/Tasks.tsx rename to packages/app/src/overlay/modals/ManagePool/Tasks.tsx diff --git a/packages/app/src/modals/ManagePool/Wrappers.ts b/packages/app/src/overlay/modals/ManagePool/Wrappers.ts similarity index 100% rename from packages/app/src/modals/ManagePool/Wrappers.ts rename to packages/app/src/overlay/modals/ManagePool/Wrappers.ts diff --git a/packages/app/src/modals/ManagePool/index.tsx b/packages/app/src/overlay/modals/ManagePool/index.tsx similarity index 100% rename from packages/app/src/modals/ManagePool/index.tsx rename to packages/app/src/overlay/modals/ManagePool/index.tsx diff --git a/packages/app/src/modals/ManagePool/types.ts b/packages/app/src/overlay/modals/ManagePool/types.ts similarity index 100% rename from packages/app/src/modals/ManagePool/types.ts rename to packages/app/src/overlay/modals/ManagePool/types.ts diff --git a/packages/app/src/modals/Networks/ProvidersPrompt.tsx b/packages/app/src/overlay/modals/Networks/ProvidersPrompt.tsx similarity index 100% rename from packages/app/src/modals/Networks/ProvidersPrompt.tsx rename to packages/app/src/overlay/modals/Networks/ProvidersPrompt.tsx diff --git a/packages/app/src/modals/Networks/Wrapper.ts b/packages/app/src/overlay/modals/Networks/Wrapper.ts similarity index 100% rename from packages/app/src/modals/Networks/Wrapper.ts rename to packages/app/src/overlay/modals/Networks/Wrapper.ts diff --git a/packages/app/src/modals/Networks/index.tsx b/packages/app/src/overlay/modals/Networks/index.tsx similarity index 100% rename from packages/app/src/modals/Networks/index.tsx rename to packages/app/src/overlay/modals/Networks/index.tsx diff --git a/packages/app/src/modals/Networks/types.ts b/packages/app/src/overlay/modals/Networks/types.ts similarity index 100% rename from packages/app/src/modals/Networks/types.ts rename to packages/app/src/overlay/modals/Networks/types.ts diff --git a/packages/app/src/modals/Settings/index.tsx b/packages/app/src/overlay/modals/Settings/index.tsx similarity index 100% rename from packages/app/src/modals/Settings/index.tsx rename to packages/app/src/overlay/modals/Settings/index.tsx diff --git a/packages/app/src/modals/StopNominations/index.tsx b/packages/app/src/overlay/modals/StopNominations/index.tsx similarity index 100% rename from packages/app/src/modals/StopNominations/index.tsx rename to packages/app/src/overlay/modals/StopNominations/index.tsx diff --git a/packages/app/src/modals/Unbond/index.tsx b/packages/app/src/overlay/modals/Unbond/index.tsx similarity index 99% rename from packages/app/src/modals/Unbond/index.tsx rename to packages/app/src/overlay/modals/Unbond/index.tsx index 11121b0e8d..362f4742fe 100644 --- a/packages/app/src/modals/Unbond/index.tsx +++ b/packages/app/src/overlay/modals/Unbond/index.tsx @@ -25,7 +25,7 @@ import { UnbondFeedback } from 'library/Form/Unbond/UnbondFeedback' import { Warning } from 'library/Form/Warning' import { Close } from 'library/Modal/Close' import { SubmitTx } from 'library/SubmitTx' -import { StaticNote } from 'modals/Utils/StaticNote' +import { StaticNote } from 'overlay/modals/Utils/StaticNote' import { useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' import { planckToUnitBn, timeleftAsString } from 'utils' diff --git a/packages/app/src/modals/UnlockChunks/Chunk.tsx b/packages/app/src/overlay/modals/UnlockChunks/Chunk.tsx similarity index 100% rename from packages/app/src/modals/UnlockChunks/Chunk.tsx rename to packages/app/src/overlay/modals/UnlockChunks/Chunk.tsx diff --git a/packages/app/src/modals/UnlockChunks/Forms.tsx b/packages/app/src/overlay/modals/UnlockChunks/Forms.tsx similarity index 100% rename from packages/app/src/modals/UnlockChunks/Forms.tsx rename to packages/app/src/overlay/modals/UnlockChunks/Forms.tsx diff --git a/packages/app/src/modals/UnlockChunks/Overview.tsx b/packages/app/src/overlay/modals/UnlockChunks/Overview.tsx similarity index 98% rename from packages/app/src/modals/UnlockChunks/Overview.tsx rename to packages/app/src/overlay/modals/UnlockChunks/Overview.tsx index d753c3b713..01e004d940 100644 --- a/packages/app/src/modals/UnlockChunks/Overview.tsx +++ b/packages/app/src/overlay/modals/UnlockChunks/Overview.tsx @@ -13,7 +13,7 @@ import { useUnstaking } from 'hooks/useUnstaking' import { ModalNotes } from 'kits/Overlay/structure/ModalNotes' import { ModalPadding } from 'kits/Overlay/structure/ModalPadding' import { StatWrapper, StatsWrapper } from 'library/Modal/Wrappers' -import { StaticNote } from 'modals/Utils/StaticNote' +import { StaticNote } from 'overlay/modals/Utils/StaticNote' import type { Dispatch, ForwardedRef, SetStateAction } from 'react' import { forwardRef } from 'react' import { useTranslation } from 'react-i18next' diff --git a/packages/app/src/modals/UnlockChunks/Wrappers.ts b/packages/app/src/overlay/modals/UnlockChunks/Wrappers.ts similarity index 100% rename from packages/app/src/modals/UnlockChunks/Wrappers.ts rename to packages/app/src/overlay/modals/UnlockChunks/Wrappers.ts diff --git a/packages/app/src/modals/UnlockChunks/index.tsx b/packages/app/src/overlay/modals/UnlockChunks/index.tsx similarity index 100% rename from packages/app/src/modals/UnlockChunks/index.tsx rename to packages/app/src/overlay/modals/UnlockChunks/index.tsx diff --git a/packages/app/src/modals/UnlockChunks/types.ts b/packages/app/src/overlay/modals/UnlockChunks/types.ts similarity index 100% rename from packages/app/src/modals/UnlockChunks/types.ts rename to packages/app/src/overlay/modals/UnlockChunks/types.ts diff --git a/packages/app/src/modals/Unstake/index.tsx b/packages/app/src/overlay/modals/Unstake/index.tsx similarity index 98% rename from packages/app/src/modals/Unstake/index.tsx rename to packages/app/src/overlay/modals/Unstake/index.tsx index 31ea4f0212..d4b0a1e0f7 100644 --- a/packages/app/src/modals/Unstake/index.tsx +++ b/packages/app/src/overlay/modals/Unstake/index.tsx @@ -22,7 +22,7 @@ import { ActionItem } from 'library/ActionItem' import { Warning } from 'library/Form/Warning' import { Close } from 'library/Modal/Close' import { SubmitTx } from 'library/SubmitTx' -import { StaticNote } from 'modals/Utils/StaticNote' +import { StaticNote } from 'overlay/modals/Utils/StaticNote' import { useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' import { planckToUnitBn, timeleftAsString } from 'utils' diff --git a/packages/app/src/modals/UpdatePayee/index.tsx b/packages/app/src/overlay/modals/UpdatePayee/index.tsx similarity index 100% rename from packages/app/src/modals/UpdatePayee/index.tsx rename to packages/app/src/overlay/modals/UpdatePayee/index.tsx diff --git a/packages/app/src/modals/UpdateReserve/index.tsx b/packages/app/src/overlay/modals/UpdateReserve/index.tsx similarity index 98% rename from packages/app/src/modals/UpdateReserve/index.tsx rename to packages/app/src/overlay/modals/UpdateReserve/index.tsx index ba410aafcc..12108e815b 100644 --- a/packages/app/src/modals/UpdateReserve/index.tsx +++ b/packages/app/src/overlay/modals/UpdateReserve/index.tsx @@ -16,7 +16,7 @@ import { CardHeaderWrapper } from 'library/Card/Wrappers' import { Close } from 'library/Modal/Close' import { Title } from 'library/Modal/Title' import { StyledSlider } from 'library/StyledSlider' -import { SliderWrapper } from 'modals/ManagePool/Wrappers' +import { SliderWrapper } from 'overlay/modals/ManagePool/Wrappers' import 'rc-slider/assets/index.css' import { useState } from 'react' import { useTranslation } from 'react-i18next' diff --git a/packages/app/src/modals/Utils/StaticNote.tsx b/packages/app/src/overlay/modals/Utils/StaticNote.tsx similarity index 100% rename from packages/app/src/modals/Utils/StaticNote.tsx rename to packages/app/src/overlay/modals/Utils/StaticNote.tsx diff --git a/packages/app/src/modals/ValidatorGeo/index.tsx b/packages/app/src/overlay/modals/ValidatorGeo/index.tsx similarity index 100% rename from packages/app/src/modals/ValidatorGeo/index.tsx rename to packages/app/src/overlay/modals/ValidatorGeo/index.tsx diff --git a/packages/app/src/modals/ValidatorMetrics/index.tsx b/packages/app/src/overlay/modals/ValidatorMetrics/index.tsx similarity index 100% rename from packages/app/src/modals/ValidatorMetrics/index.tsx rename to packages/app/src/overlay/modals/ValidatorMetrics/index.tsx