@dynamic-labs/sdk-react-core 0.18.0-RC.3 → 0.18.0-RC.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/index.cjs +1 -0
- package/src/index.js +1 -0
- package/src/lib/Main.cjs +1 -0
- package/src/lib/Main.js +1 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +1 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +1 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +1 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.js +1 -0
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +1 -0
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +1 -0
- package/src/lib/components/Badge/Badge.cjs +1 -1
- package/src/lib/components/Badge/Badge.js +1 -1
- package/src/lib/components/ChainCard/ChainCard.cjs +11 -0
- package/src/lib/components/ChainCard/ChainCard.d.ts +4 -2
- package/src/lib/components/ChainCard/ChainCard.js +7 -0
- package/src/lib/components/Divider/Divider.cjs +1 -0
- package/src/lib/components/Divider/Divider.js +1 -0
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.js +1 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +1 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.js +1 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +1 -0
- package/src/lib/components/OverlayCard/OverlayCard.cjs +1 -0
- package/src/lib/components/OverlayCard/OverlayCard.js +1 -0
- package/src/lib/components/Portal/Portal.cjs +1 -0
- package/src/lib/components/Portal/Portal.js +1 -0
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.cjs +11 -0
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.d.ts +0 -2
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.js +7 -0
- package/src/lib/components/Tooltip/Tooltip.cjs +1 -0
- package/src/lib/components/Tooltip/Tooltip.js +1 -0
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +1 -0
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +1 -0
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +1 -0
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +1 -0
- package/src/lib/context/DynamicContext/DynamicContext.cjs +2 -1
- package/src/lib/context/DynamicContext/DynamicContext.js +2 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +1 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +1 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +1 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.js +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +1 -0
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +1 -0
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +1 -0
- package/src/lib/context/ViewContext/ViewContext.d.ts +1 -1
- package/src/lib/context/WalletGroupContext/WalletGroupContext.cjs +37 -0
- package/src/lib/context/WalletGroupContext/WalletGroupContext.d.ts +9 -0
- package/src/lib/context/WalletGroupContext/WalletGroupContext.js +27 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +2 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +2 -0
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +1 -0
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +1 -0
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +1 -0
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +1 -0
- package/src/lib/layouts/SelectWalletListLayout/SelectWalletListLayout.cjs +1 -0
- package/src/lib/layouts/SelectWalletListLayout/SelectWalletListLayout.js +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.cjs +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.js +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.cjs +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.js +1 -0
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +1 -0
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +1 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +1 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +1 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +1 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +1 -0
- package/src/lib/shared/types/index.d.ts +3 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/functions/walletListBuilder/utils/isWalletGroup/isWalletGroup.d.ts +2 -4
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +1 -0
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +1 -0
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +1 -0
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +1 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +1 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +1 -0
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +1 -0
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +1 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +1 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +1 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +1 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +1 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +1 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.js +1 -0
- package/src/lib/views/EmailVerification/EmailVerification.cjs +1 -0
- package/src/lib/views/EmailVerification/EmailVerification.js +1 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +1 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +1 -0
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.cjs +1 -2
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.js +1 -2
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.cjs +1 -0
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.js +1 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs +1 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.js +1 -0
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.cjs +1 -0
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.js +1 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +1 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +1 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +1 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +1 -0
- package/src/lib/views/NoAccess/NoAccess.cjs +1 -0
- package/src/lib/views/NoAccess/NoAccess.js +1 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +1 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +1 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +1 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.js +1 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +1 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +1 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +1 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +1 -0
- package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -0
- package/src/lib/views/QrCodeView/QrCodeView.js +1 -0
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -0
- package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -0
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +1 -0
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +1 -0
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +1 -0
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +1 -0
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +1 -0
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +1 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.cjs +1 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.js +1 -0
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +21 -0
- package/src/lib/views/WalletGroupView/WalletGroupView.d.ts +2 -0
- package/src/lib/views/WalletGroupView/WalletGroupView.js +17 -0
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +55 -0
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +6 -0
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +51 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.cjs +1 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.js +1 -0
- package/src/lib/views/WalletList/WalletList.cjs +1 -2
- package/src/lib/views/WalletList/WalletList.js +1 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +5 -0
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +5 -0
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +1 -0
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +1 -0
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +1 -0
- package/src/lib/views/WalletUsedView/WalletUsedView.js +1 -0
- package/src/lib/views/viewToComponentMap.cjs +2 -0
- package/src/lib/views/viewToComponentMap.js +2 -0
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +1 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +3 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +3 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.types.d.ts +2 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +1 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +1 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +1 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +1 -0
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +1 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +1 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +1 -0
- package/src/polyfills.cjs +1 -2
- package/src/polyfills.js +1 -2
- package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.cjs +0 -12
- package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.d.ts +0 -1
- package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.js +0 -8
|
@@ -31,6 +31,7 @@ import '../../../components/Popper/Popper/Popper.js';
|
|
|
31
31
|
import '../../../components/Popper/PopperContext/PopperContext.js';
|
|
32
32
|
import 'formik';
|
|
33
33
|
import 'yup';
|
|
34
|
+
import '../../WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import '../../MockContext/MockContext.js';
|
|
36
37
|
import '../../CaptchaContext/CaptchaContext.js';
|
|
@@ -34,6 +34,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
34
34
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
35
35
|
require('formik');
|
|
36
36
|
require('yup');
|
|
37
|
+
require('../WalletGroupContext/WalletGroupContext.cjs');
|
|
37
38
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
38
39
|
var useDefaultQrCode = require('../../utils/hooks/useDefaultQrCode/useDefaultQrCode.cjs');
|
|
39
40
|
require('../MockContext/MockContext.cjs');
|
|
@@ -30,6 +30,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
30
30
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
31
31
|
import 'formik';
|
|
32
32
|
import 'yup';
|
|
33
|
+
import '../WalletGroupContext/WalletGroupContext.js';
|
|
33
34
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
34
35
|
import { useDefaultQrCode } from '../../utils/hooks/useDefaultQrCode/useDefaultQrCode.js';
|
|
35
36
|
import '../MockContext/MockContext.js';
|
|
@@ -37,6 +37,7 @@ require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
|
37
37
|
require('formik');
|
|
38
38
|
require('yup');
|
|
39
39
|
var SendBalanceModal = require('../../modals/SendBalanceModal/SendBalanceModal.cjs');
|
|
40
|
+
require('../WalletGroupContext/WalletGroupContext.cjs');
|
|
40
41
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
41
42
|
require('../MockContext/MockContext.cjs');
|
|
42
43
|
require('../CaptchaContext/CaptchaContext.cjs');
|
|
@@ -33,6 +33,7 @@ import '../../components/Popper/PopperContext/PopperContext.js';
|
|
|
33
33
|
import 'formik';
|
|
34
34
|
import 'yup';
|
|
35
35
|
import { SendBalanceModal } from '../../modals/SendBalanceModal/SendBalanceModal.js';
|
|
36
|
+
import '../WalletGroupContext/WalletGroupContext.js';
|
|
36
37
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
37
38
|
import '../MockContext/MockContext.js';
|
|
38
39
|
import '../CaptchaContext/CaptchaContext.js';
|
|
@@ -35,6 +35,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
35
35
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
36
36
|
require('formik');
|
|
37
37
|
require('yup');
|
|
38
|
+
require('../WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
require('../MockContext/MockContext.cjs');
|
|
40
41
|
var ErrorContext = require('../ErrorContext/ErrorContext.cjs');
|
|
@@ -31,6 +31,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
31
31
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
32
32
|
import 'formik';
|
|
33
33
|
import 'yup';
|
|
34
|
+
import '../WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import '../MockContext/MockContext.js';
|
|
36
37
|
import { useErrorContext } from '../ErrorContext/ErrorContext.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SetStateAction, Dispatch, PropsWithChildren, FC } from 'react';
|
|
2
|
-
export type ViewType = 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-with-email' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-email-verification' | 'network-not-supported' | 'network-not-supported-manual' | 'no-access' | 'no-qr-not-installed' | 'pending-connect' | 'pending-signature-without-back-button' | 'pending-signature' | 'qr-code' | 'update-email' | 'verify-email' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'wallet-sign' | 'wallet-used' | 'wait-for-email-confirmation-view' | 'email-wallet-otp-verification-view' | 'social-redirect-view' | 'social-wrong-account';
|
|
2
|
+
export type ViewType = 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-with-email' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-email-verification' | 'network-not-supported' | 'network-not-supported-manual' | 'no-access' | 'no-qr-not-installed' | 'pending-connect' | 'pending-signature-without-back-button' | 'pending-signature' | 'qr-code' | 'update-email' | 'verify-email' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'wallet-sign' | 'wallet-used' | 'wallet-group' | 'wait-for-email-confirmation-view' | 'email-wallet-otp-verification-view' | 'social-redirect-view' | 'social-wrong-account';
|
|
3
3
|
export type ViewContextProps = {
|
|
4
4
|
setView: Dispatch<SetStateAction<ViewType>>;
|
|
5
5
|
view: ViewType;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var ViewContext = require('../ViewContext/ViewContext.cjs');
|
|
8
|
+
|
|
9
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
+
|
|
11
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
|
+
|
|
13
|
+
const WalletGroupContext = React__default["default"].createContext(undefined);
|
|
14
|
+
const useWalletGroupContext = () => {
|
|
15
|
+
const context = React__default["default"].useContext(WalletGroupContext);
|
|
16
|
+
if (context === undefined) {
|
|
17
|
+
throw new Error('usage of useWalletGroupContext not wrapped in `WalletGroupContextProvider`.');
|
|
18
|
+
}
|
|
19
|
+
return context;
|
|
20
|
+
};
|
|
21
|
+
const WalletGroupContextProvider = ({ children, }) => {
|
|
22
|
+
const [selectedWalletGroup, setselectedWalletGroup] = React__default["default"].useState();
|
|
23
|
+
const { setView } = ViewContext.useViewContext();
|
|
24
|
+
const navigateToWalletGroup = React__default["default"].useCallback((walletGroup) => {
|
|
25
|
+
setselectedWalletGroup(walletGroup);
|
|
26
|
+
setView('wallet-group');
|
|
27
|
+
}, []);
|
|
28
|
+
const contextValue = {
|
|
29
|
+
navigateToWalletGroup,
|
|
30
|
+
selectedWalletGroup,
|
|
31
|
+
};
|
|
32
|
+
return (jsxRuntime.jsx(WalletGroupContext.Provider, Object.assign({ value: contextValue }, { children: children })));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
exports.WalletGroupContext = WalletGroupContext;
|
|
36
|
+
exports.WalletGroupContextProvider = WalletGroupContextProvider;
|
|
37
|
+
exports.useWalletGroupContext = useWalletGroupContext;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { WalletGroupOption } from '../../shared';
|
|
3
|
+
export type WalletGroupContextType = {
|
|
4
|
+
selectedWalletGroup?: WalletGroupOption;
|
|
5
|
+
navigateToWalletGroup: (walletGroup: WalletGroupOption) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const WalletGroupContext: React.Context<WalletGroupContextType | undefined>;
|
|
8
|
+
export declare const useWalletGroupContext: () => WalletGroupContextType;
|
|
9
|
+
export declare const WalletGroupContextProvider: FC<PropsWithChildren>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { useViewContext } from '../ViewContext/ViewContext.js';
|
|
4
|
+
|
|
5
|
+
const WalletGroupContext = React__default.createContext(undefined);
|
|
6
|
+
const useWalletGroupContext = () => {
|
|
7
|
+
const context = React__default.useContext(WalletGroupContext);
|
|
8
|
+
if (context === undefined) {
|
|
9
|
+
throw new Error('usage of useWalletGroupContext not wrapped in `WalletGroupContextProvider`.');
|
|
10
|
+
}
|
|
11
|
+
return context;
|
|
12
|
+
};
|
|
13
|
+
const WalletGroupContextProvider = ({ children, }) => {
|
|
14
|
+
const [selectedWalletGroup, setselectedWalletGroup] = React__default.useState();
|
|
15
|
+
const { setView } = useViewContext();
|
|
16
|
+
const navigateToWalletGroup = React__default.useCallback((walletGroup) => {
|
|
17
|
+
setselectedWalletGroup(walletGroup);
|
|
18
|
+
setView('wallet-group');
|
|
19
|
+
}, []);
|
|
20
|
+
const contextValue = {
|
|
21
|
+
navigateToWalletGroup,
|
|
22
|
+
selectedWalletGroup,
|
|
23
|
+
};
|
|
24
|
+
return (jsx(WalletGroupContext.Provider, Object.assign({ value: contextValue }, { children: children })));
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { WalletGroupContext, WalletGroupContextProvider, useWalletGroupContext };
|
|
@@ -35,6 +35,7 @@ require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
|
35
35
|
require('../../components/IconButton/IconButton.cjs');
|
|
36
36
|
var AnimatePresence = require('../../components/AnimatePresence/AnimatePresence.cjs');
|
|
37
37
|
require('../../components/Alert/Alert.cjs');
|
|
38
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
var MockContext = require('../../context/MockContext/MockContext.cjs');
|
|
40
41
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -31,6 +31,7 @@ import '../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
|
31
31
|
import '../../components/IconButton/IconButton.js';
|
|
32
32
|
import { AnimatePresence } from '../../components/AnimatePresence/AnimatePresence.js';
|
|
33
33
|
import '../../components/Alert/Alert.js';
|
|
34
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import { useMockContext } from '../../context/MockContext/MockContext.js';
|
|
36
37
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -35,6 +35,7 @@ require('../../../context/ErrorContext/ErrorContext.cjs');
|
|
|
35
35
|
require('../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
36
36
|
require('../../../components/IconButton/IconButton.cjs');
|
|
37
37
|
require('../../../components/Alert/Alert.cjs');
|
|
38
|
+
require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
require('../../../context/MockContext/MockContext.cjs');
|
|
40
41
|
require('../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -31,6 +31,7 @@ import '../../../context/ErrorContext/ErrorContext.js';
|
|
|
31
31
|
import '../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
32
32
|
import '../../../components/IconButton/IconButton.js';
|
|
33
33
|
import '../../../components/Alert/Alert.js';
|
|
34
|
+
import '../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import '../../../context/MockContext/MockContext.js';
|
|
36
37
|
import '../../../context/CaptchaContext/CaptchaContext.js';
|
package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.cjs
CHANGED
|
@@ -31,6 +31,7 @@ require('../../../../../context/ErrorContext/ErrorContext.cjs');
|
|
|
31
31
|
require('../../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
32
32
|
require('../../../../../components/IconButton/IconButton.cjs');
|
|
33
33
|
require('../../../../../components/Alert/Alert.cjs');
|
|
34
|
+
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
34
35
|
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
35
36
|
require('../../../../../context/MockContext/MockContext.cjs');
|
|
36
37
|
require('../../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -27,6 +27,7 @@ import '../../../../../context/ErrorContext/ErrorContext.js';
|
|
|
27
27
|
import '../../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
28
28
|
import '../../../../../components/IconButton/IconButton.js';
|
|
29
29
|
import '../../../../../components/Alert/Alert.js';
|
|
30
|
+
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
30
31
|
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
31
32
|
import '../../../../../context/MockContext/MockContext.js';
|
|
32
33
|
import '../../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -32,6 +32,7 @@ require('../../../../../context/ErrorContext/ErrorContext.cjs');
|
|
|
32
32
|
require('../../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
33
33
|
require('../../../../../components/IconButton/IconButton.cjs');
|
|
34
34
|
require('../../../../../components/Alert/Alert.cjs');
|
|
35
|
+
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
35
36
|
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
36
37
|
require('../../../../../context/MockContext/MockContext.cjs');
|
|
37
38
|
require('../../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -28,6 +28,7 @@ import '../../../../../context/ErrorContext/ErrorContext.js';
|
|
|
28
28
|
import '../../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
29
29
|
import '../../../../../components/IconButton/IconButton.js';
|
|
30
30
|
import '../../../../../components/Alert/Alert.js';
|
|
31
|
+
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
31
32
|
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
32
33
|
import '../../../../../context/MockContext/MockContext.js';
|
|
33
34
|
import '../../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -36,6 +36,7 @@ require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
|
36
36
|
require('../../../../components/IconButton/IconButton.cjs');
|
|
37
37
|
require('../../../../components/Alert/Alert.cjs');
|
|
38
38
|
var Skeleton = require('../../../../components/Skeleton/Skeleton.cjs');
|
|
39
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
39
40
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
40
41
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
41
42
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -32,6 +32,7 @@ import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
|
32
32
|
import '../../../../components/IconButton/IconButton.js';
|
|
33
33
|
import '../../../../components/Alert/Alert.js';
|
|
34
34
|
import { Skeleton } from '../../../../components/Skeleton/Skeleton.js';
|
|
35
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
35
36
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
36
37
|
import '../../../../context/MockContext/MockContext.js';
|
|
37
38
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -36,6 +36,7 @@ require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
|
36
36
|
require('../../../../components/IconButton/IconButton.cjs');
|
|
37
37
|
var PoweredByDynamic = require('../../../../components/PoweredByDynamic/PoweredByDynamic.cjs');
|
|
38
38
|
require('../../../../components/Alert/Alert.cjs');
|
|
39
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
39
40
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
40
41
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
41
42
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -32,6 +32,7 @@ import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
|
32
32
|
import '../../../../components/IconButton/IconButton.js';
|
|
33
33
|
import { PoweredByDynamic } from '../../../../components/PoweredByDynamic/PoweredByDynamic.js';
|
|
34
34
|
import '../../../../components/Alert/Alert.js';
|
|
35
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
35
36
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
36
37
|
import '../../../../context/MockContext/MockContext.js';
|
|
37
38
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -35,6 +35,7 @@ var ModalHeader = require('../../../components/ModalHeader/ModalHeader.cjs');
|
|
|
35
35
|
var IconButton = require('../../../components/IconButton/IconButton.cjs');
|
|
36
36
|
require('../../../components/Alert/Alert.cjs');
|
|
37
37
|
var Skeleton = require('../../../components/Skeleton/Skeleton.cjs');
|
|
38
|
+
require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
require('../../../context/MockContext/MockContext.cjs');
|
|
40
41
|
require('../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -65,6 +66,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, }) => {
|
|
|
65
66
|
view === 'wallet-connect-mobile-wallets-list' ||
|
|
66
67
|
view === 'login-with-email-verification' ||
|
|
67
68
|
view === 'login-with-email-or-wallet-full-wallet-list' ||
|
|
69
|
+
view === 'wallet-group' ||
|
|
68
70
|
view === 'pending-connect') && (jsxRuntime.jsx(IconButton.IconButton, Object.assign({ type: 'button', onClick: handleBackClick, "data-testid": 'back-button' }, { children: jsxRuntime.jsx(chevronLeft.ReactComponent, {}) })));
|
|
69
71
|
const closeButton = showCloseButton && (jsxRuntime.jsx(IconButton.IconButton, Object.assign({ onClick: handleClose, type: 'button', id: 'close-button', "data-testid": 'close-button' }, { children: jsxRuntime.jsx(close.ReactComponent, {}) })));
|
|
70
72
|
const qrCodePreHeader = (jsxRuntime.jsxs("div", Object.assign({ className: 'qr-code-view__scan-issue-message' }, { children: [jsxRuntime.jsx(Typography.Typography, Object.assign({ color: 'primary', variant: 'body_small' }, { children: "If you're having issues scanning, click\u00A0" })), jsxRuntime.jsx("button", Object.assign({ className: 'qr-code-view__scan-issue-button', onClick: () => setShowQrCodeImage(true) }, { children: "here" }))] })));
|
|
@@ -31,6 +31,7 @@ import { ModalHeader } from '../../../components/ModalHeader/ModalHeader.js';
|
|
|
31
31
|
import { IconButton } from '../../../components/IconButton/IconButton.js';
|
|
32
32
|
import '../../../components/Alert/Alert.js';
|
|
33
33
|
import { Skeleton } from '../../../components/Skeleton/Skeleton.js';
|
|
34
|
+
import '../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import '../../../context/MockContext/MockContext.js';
|
|
36
37
|
import '../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -61,6 +62,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, }) => {
|
|
|
61
62
|
view === 'wallet-connect-mobile-wallets-list' ||
|
|
62
63
|
view === 'login-with-email-verification' ||
|
|
63
64
|
view === 'login-with-email-or-wallet-full-wallet-list' ||
|
|
65
|
+
view === 'wallet-group' ||
|
|
64
66
|
view === 'pending-connect') && (jsx(IconButton, Object.assign({ type: 'button', onClick: handleBackClick, "data-testid": 'back-button' }, { children: jsx(SvgChevronLeft, {}) })));
|
|
65
67
|
const closeButton = showCloseButton && (jsx(IconButton, Object.assign({ onClick: handleClose, type: 'button', id: 'close-button', "data-testid": 'close-button' }, { children: jsx(SvgClose, {}) })));
|
|
66
68
|
const qrCodePreHeader = (jsxs("div", Object.assign({ className: 'qr-code-view__scan-issue-message' }, { children: [jsx(Typography, Object.assign({ color: 'primary', variant: 'body_small' }, { children: "If you're having issues scanning, click\u00A0" })), jsx("button", Object.assign({ className: 'qr-code-view__scan-issue-button', onClick: () => setShowQrCodeImage(true) }, { children: "here" }))] })));
|
|
@@ -34,6 +34,7 @@ var ModalHeader = require('../../components/ModalHeader/ModalHeader.cjs');
|
|
|
34
34
|
var IconButton = require('../../components/IconButton/IconButton.cjs');
|
|
35
35
|
var Button = require('../../components/Button/Button.cjs');
|
|
36
36
|
require('../../components/Alert/Alert.cjs');
|
|
37
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
37
38
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
38
39
|
require('../../context/MockContext/MockContext.cjs');
|
|
39
40
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -30,6 +30,7 @@ import { ModalHeader } from '../../components/ModalHeader/ModalHeader.js';
|
|
|
30
30
|
import { IconButton } from '../../components/IconButton/IconButton.js';
|
|
31
31
|
import { Button } from '../../components/Button/Button.js';
|
|
32
32
|
import '../../components/Alert/Alert.js';
|
|
33
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
33
34
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
34
35
|
import '../../context/MockContext/MockContext.js';
|
|
35
36
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -35,6 +35,7 @@ var ModalHeader = require('../../components/ModalHeader/ModalHeader.cjs');
|
|
|
35
35
|
var IconButton = require('../../components/IconButton/IconButton.cjs');
|
|
36
36
|
var Button = require('../../components/Button/Button.cjs');
|
|
37
37
|
require('../../components/Alert/Alert.cjs');
|
|
38
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
require('../../context/MockContext/MockContext.cjs');
|
|
40
41
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -31,6 +31,7 @@ import { ModalHeader } from '../../components/ModalHeader/ModalHeader.js';
|
|
|
31
31
|
import { IconButton } from '../../components/IconButton/IconButton.js';
|
|
32
32
|
import { Button } from '../../components/Button/Button.js';
|
|
33
33
|
import '../../components/Alert/Alert.js';
|
|
34
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import '../../context/MockContext/MockContext.js';
|
|
36
37
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -34,6 +34,7 @@ require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
|
34
34
|
var ModalHeader = require('../../components/ModalHeader/ModalHeader.cjs');
|
|
35
35
|
var IconButton = require('../../components/IconButton/IconButton.cjs');
|
|
36
36
|
require('../../components/Alert/Alert.cjs');
|
|
37
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
37
38
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
38
39
|
require('../../context/MockContext/MockContext.cjs');
|
|
39
40
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -30,6 +30,7 @@ import '../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
|
30
30
|
import { ModalHeader } from '../../components/ModalHeader/ModalHeader.js';
|
|
31
31
|
import { IconButton } from '../../components/IconButton/IconButton.js';
|
|
32
32
|
import '../../components/Alert/Alert.js';
|
|
33
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
33
34
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
34
35
|
import '../../context/MockContext/MockContext.js';
|
|
35
36
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -31,6 +31,7 @@ require('../../../../context/ErrorContext/ErrorContext.cjs');
|
|
|
31
31
|
require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
32
32
|
require('../../../../components/IconButton/IconButton.cjs');
|
|
33
33
|
require('../../../../components/Alert/Alert.cjs');
|
|
34
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
34
35
|
var ConnectedWalletsListLayout = require('../../../../layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs');
|
|
35
36
|
var DynamicBridgeWalletCard = require('../../../../widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs');
|
|
36
37
|
var DynamicBridgeWalletCardBody = require('../../../../widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs');
|
|
@@ -27,6 +27,7 @@ import '../../../../context/ErrorContext/ErrorContext.js';
|
|
|
27
27
|
import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
28
28
|
import '../../../../components/IconButton/IconButton.js';
|
|
29
29
|
import '../../../../components/Alert/Alert.js';
|
|
30
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
30
31
|
import { ConnectedWalletsListLayout } from '../../../../layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js';
|
|
31
32
|
import { DynamicBridgeWalletCard } from '../../../../widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js';
|
|
32
33
|
import { DynamicBridgeWalletCardBody } from '../../../../widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js';
|
|
@@ -32,6 +32,7 @@ require('../../../../context/ErrorContext/ErrorContext.cjs');
|
|
|
32
32
|
require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
33
33
|
require('../../../../components/IconButton/IconButton.cjs');
|
|
34
34
|
require('../../../../components/Alert/Alert.cjs');
|
|
35
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
35
36
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
36
37
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
37
38
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -28,6 +28,7 @@ import '../../../../context/ErrorContext/ErrorContext.js';
|
|
|
28
28
|
import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
29
29
|
import '../../../../components/IconButton/IconButton.js';
|
|
30
30
|
import '../../../../components/Alert/Alert.js';
|
|
31
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
31
32
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
32
33
|
import '../../../../context/MockContext/MockContext.js';
|
|
33
34
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -27,6 +27,7 @@ require('@dynamic-labs/rpc-providers');
|
|
|
27
27
|
require('../../context/ErrorContext/ErrorContext.cjs');
|
|
28
28
|
require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
29
29
|
var SendBalanceView = require('../../views/SendBalanceView/SendBalanceView.cjs');
|
|
30
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
30
31
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
31
32
|
require('../../context/MockContext/MockContext.cjs');
|
|
32
33
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -23,6 +23,7 @@ import '@dynamic-labs/rpc-providers';
|
|
|
23
23
|
import '../../context/ErrorContext/ErrorContext.js';
|
|
24
24
|
import '../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
25
25
|
import { SendBalanceView } from '../../views/SendBalanceView/SendBalanceView.js';
|
|
26
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
26
27
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
27
28
|
import '../../context/MockContext/MockContext.js';
|
|
28
29
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -42,6 +42,7 @@ require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
|
42
42
|
var VerticalDrawerTransition = require('../../components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs');
|
|
43
43
|
require('../../components/Alert/Alert.cjs');
|
|
44
44
|
var AppOriginTile = require('../../components/AppOriginTile/AppOriginTile.cjs');
|
|
45
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
45
46
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
46
47
|
require('../../context/MockContext/MockContext.cjs');
|
|
47
48
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -38,6 +38,7 @@ import '../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
|
38
38
|
import { VerticalDrawerTransition } from '../../components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js';
|
|
39
39
|
import '../../components/Alert/Alert.js';
|
|
40
40
|
import { AppOriginTile } from '../../components/AppOriginTile/AppOriginTile.js';
|
|
41
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
41
42
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
42
43
|
import '../../context/MockContext/MockContext.js';
|
|
43
44
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -32,6 +32,7 @@ require('../../components/Transition/ZoomTransition/ZoomTransition.cjs');
|
|
|
32
32
|
require('../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
|
|
33
33
|
require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
34
34
|
require('../../components/Alert/Alert.cjs');
|
|
35
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
35
36
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
36
37
|
require('../../context/MockContext/MockContext.cjs');
|
|
37
38
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -28,6 +28,7 @@ import '../../components/Transition/ZoomTransition/ZoomTransition.js';
|
|
|
28
28
|
import '../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
|
|
29
29
|
import '../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
30
30
|
import '../../components/Alert/Alert.js';
|
|
31
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
31
32
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
32
33
|
import '../../context/MockContext/MockContext.js';
|
|
33
34
|
import '../../context/CaptchaContext/CaptchaContext.js';
|