@dynamic-labs/sdk-react-core 1.1.0-alpha.10 → 1.1.0-alpha.11
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 +19 -0
- package/package.cjs +3 -3
- package/package.js +3 -3
- package/package.json +12 -13
- package/src/index.cjs +10 -5
- package/src/index.js +8 -5
- package/src/lib/Main.cjs +41 -21
- package/src/lib/Main.js +41 -21
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +9 -4
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +9 -4
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +9 -4
- package/src/lib/components/AnimatePresence/AnimatePresence.js +9 -4
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +9 -4
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +9 -4
- package/src/lib/components/Divider/Divider.cjs +7 -2
- package/src/lib/components/Divider/Divider.js +7 -2
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +1 -1
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +1 -1
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +1 -1
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.js +1 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +9 -4
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +9 -4
- package/src/lib/components/Modal/Modal.cjs +9 -4
- package/src/lib/components/Modal/Modal.js +9 -4
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +10 -5
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +10 -5
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +11 -6
- package/src/lib/components/NetworkPicker/NetworkPicker.js +11 -6
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +11 -3
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +11 -3
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +7 -2
- package/src/lib/components/NetworkPicker/components/Network/Network.js +7 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +8 -3
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +8 -3
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +7 -2
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +7 -2
- package/src/lib/components/OverlayCard/OverlayCard.cjs +9 -4
- package/src/lib/components/OverlayCard/OverlayCard.js +9 -4
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +15 -6
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.d.ts +4 -0
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +17 -8
- package/src/lib/components/Portal/Portal.cjs +16 -16
- package/src/lib/components/Portal/Portal.d.ts +3 -1
- package/src/lib/components/Portal/Portal.js +16 -16
- package/src/lib/components/RenderView/RenderView.cjs +71 -0
- package/src/lib/components/RenderView/RenderView.d.ts +2 -0
- package/src/lib/components/RenderView/RenderView.js +67 -0
- package/src/lib/components/RenderView/index.d.ts +1 -0
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +1 -1
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +9 -4
- package/src/lib/components/SocialSignIn/SocialSignIn.js +9 -4
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.cjs +9 -4
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.js +9 -4
- package/src/lib/components/Tooltip/Tooltip.cjs +18 -32
- package/src/lib/components/Tooltip/Tooltip.js +18 -32
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +9 -4
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +9 -4
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +9 -4
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +9 -4
- package/src/lib/components/UserAddress/UserAddress.cjs +9 -4
- package/src/lib/components/UserAddress/UserAddress.js +9 -4
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +7 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +7 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +7 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +7 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +8 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +8 -2
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +1 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.js +1 -1
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/context/AccountExistsContext/AccountExistsContext.js +1 -1
- package/src/lib/context/CaptchaContext/CaptchaContext.js +1 -1
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs +9 -4
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js +9 -4
- package/src/lib/context/DynamicContext/DynamicContext.cjs +30 -30
- package/src/lib/context/DynamicContext/DynamicContext.d.ts +1 -0
- package/src/lib/context/DynamicContext/DynamicContext.js +30 -30
- package/src/lib/context/DynamicContext/helpers.cjs +5 -3
- package/src/lib/context/DynamicContext/helpers.d.ts +2 -2
- package/src/lib/context/DynamicContext/helpers.js +5 -3
- package/src/lib/context/DynamicContext/hooks/index.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +10 -11
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +11 -12
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.cjs +23 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.d.ts +5 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.js +19 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.cjs +61 -1
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.d.ts +2 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +61 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +17 -4
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +17 -4
- package/src/lib/context/DynamicContext/types/index.d.ts +4 -2
- package/src/lib/context/DynamicContext/useCustomerCallbacks/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/useDynamicContext.cjs +1 -0
- package/src/lib/context/DynamicContext/useDynamicContext.js +1 -0
- package/src/lib/context/ErrorContext/ErrorContext.cjs +5 -11
- package/src/lib/context/ErrorContext/ErrorContext.js +6 -12
- package/src/lib/context/FooterAnimationContext/index.d.ts +1 -2
- package/src/lib/context/FundingContext/FundingContext.cjs +1 -2
- package/src/lib/context/FundingContext/FundingContext.js +1 -2
- package/src/lib/context/LoadingContext/LoadingContext.cjs +8 -3
- package/src/lib/context/LoadingContext/LoadingContext.js +9 -4
- package/src/lib/context/MockContext/MockContext.cjs +12 -6
- package/src/lib/context/MockContext/MockContext.d.ts +4 -9
- package/src/lib/context/MockContext/MockContext.js +12 -6
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +35 -0
- package/src/lib/context/PasskeyContext/PasskeyContext.d.ts +16 -0
- package/src/lib/context/PasskeyContext/PasskeyContext.js +29 -0
- package/src/lib/context/PasskeyContext/index.d.ts +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +9 -4
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +9 -4
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +9 -5
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +9 -5
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +9 -4
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +9 -4
- package/src/lib/context/ViewContext/ViewContext.cjs +7 -4
- package/src/lib/context/ViewContext/ViewContext.d.ts +5 -5
- package/src/lib/context/ViewContext/ViewContext.js +7 -4
- package/src/lib/context/ViewContext/index.d.ts +1 -0
- package/src/lib/context/ViewContext/types/index.d.ts +10 -0
- package/src/lib/data/api.cjs +18 -2
- package/src/lib/data/api.d.ts +8 -0
- package/src/lib/data/api.js +19 -4
- package/src/lib/events/dynamicEvents.d.ts +2 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.cjs +12 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.d.ts +6 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.js +8 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +11 -8
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +11 -8
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +12 -20
- package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +0 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +13 -21
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +9 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +9 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +13 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +13 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +7 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +7 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +7 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +7 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +8 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +8 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +8 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +8 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +9 -4
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.d.ts +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +10 -5
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +7 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +7 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +7 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +7 -2
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +9 -2
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +9 -2
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +7 -2
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +7 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +7 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +7 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +7 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +7 -2
- package/src/lib/locale/en/translation.cjs +21 -2
- package/src/lib/locale/en/translation.d.ts +21 -2
- package/src/lib/locale/en/translation.js +21 -2
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +11 -4
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.d.ts +0 -2
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +11 -4
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +7 -2
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +7 -2
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +6 -2
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +6 -2
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +7 -2
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +7 -2
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +7 -2
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +7 -2
- package/src/lib/shared/assets/export-private-key.cjs +54 -0
- package/src/lib/shared/assets/export-private-key.js +30 -0
- package/src/lib/shared/assets/export-recovery-phrase.cjs +54 -0
- package/src/lib/shared/assets/export-recovery-phrase.js +30 -0
- package/src/lib/shared/assets/index.d.ts +2 -0
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.cjs +1 -1
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.js +1 -1
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs +6 -7
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js +6 -7
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.cjs +1 -2
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.js +1 -2
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs +0 -3
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js +0 -3
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/functions/generateMessages/index.cjs +1 -1
- package/src/lib/utils/functions/generateMessages/index.js +1 -1
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.cjs +1 -1
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.js +1 -1
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.cjs +7 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.d.ts +2 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.js +3 -0
- package/src/lib/utils/functions/getWalletIdentifier/index.d.ts +1 -0
- package/src/lib/utils/functions/index.d.ts +6 -4
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.cjs +2 -2
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.js +2 -2
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +3 -3
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.d.ts +2 -2
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +3 -3
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +1 -28
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +1 -28
- package/src/lib/utils/hooks/index.d.ts +0 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +1 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +1 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +79 -76
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.d.ts +1 -3
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +79 -76
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +14 -13
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.d.ts +0 -1
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +15 -14
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +1 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +1 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +3 -3
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +3 -3
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +1 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +0 -3
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +0 -3
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +14 -0
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +15 -1
- package/src/lib/utils/hooks/useHover/useHover.cjs +9 -3
- package/src/lib/utils/hooks/useHover/useHover.js +9 -3
- package/src/lib/utils/hooks/useHover/useHover.types.d.ts +8 -1
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +27 -2
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +27 -2
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +1 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +1 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.cjs +1 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.d.ts +3 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.js +1 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +1 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +1 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +15 -21
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +15 -21
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +4 -26
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +4 -26
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +28 -4
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +28 -4
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +7 -3
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +7 -3
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +2 -2
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +2 -2
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +9 -4
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +9 -4
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +9 -5
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +9 -5
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +6 -2
- package/src/lib/views/AccountExistsView/AccountExistsView.js +6 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +6 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +6 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +7 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +7 -2
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +8 -3
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +8 -3
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +7 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +7 -2
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +7 -2
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +7 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +7 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +7 -2
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +7 -2
- package/src/lib/views/EmailUpdate/EmailUpdate.js +7 -2
- package/src/lib/views/EmailVerification/EmailVerification.cjs +31 -37
- package/src/lib/views/EmailVerification/EmailVerification.js +31 -37
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +9 -4
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +9 -4
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +9 -4
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +9 -4
- package/src/lib/views/LoginView/LoginView.cjs +15 -7
- package/src/lib/views/LoginView/LoginView.js +15 -7
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +8 -3
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +8 -3
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +6 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +6 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +6 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +6 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +1 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +7 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +7 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +7 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +7 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +1 -1
- package/src/lib/views/LoginView/useLoginView.cjs +1 -1
- package/src/lib/views/LoginView/useLoginView.js +1 -1
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +7 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +7 -2
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +7 -2
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +7 -2
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +7 -2
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +7 -2
- package/src/lib/views/NoAccess/NoAccess.cjs +7 -2
- package/src/lib/views/NoAccess/NoAccess.js +7 -2
- package/src/lib/views/NoAccess/useNoAccessText.cjs +3 -3
- package/src/lib/views/NoAccess/useNoAccessText.js +3 -3
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +7 -2
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +7 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +7 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +7 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +7 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +7 -2
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +8 -3
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +8 -3
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +8 -3
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +8 -3
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +11 -6
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +11 -6
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +8 -3
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +8 -3
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +113 -0
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.d.ts +2 -0
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +109 -0
- package/src/lib/views/Passkey/RenamePasskeyView/index.d.ts +1 -0
- package/src/lib/views/Passkey/index.d.ts +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +7 -2
- package/src/lib/views/PendingConnectView/PendingConnectView.js +8 -3
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +8 -3
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +9 -4
- package/src/lib/views/QrCodeView/QRCode.cjs +10 -6
- package/src/lib/views/QrCodeView/QRCode.d.ts +2 -1
- package/src/lib/views/QrCodeView/QRCode.js +10 -6
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +8 -3
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.d.ts +2 -1
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +8 -3
- package/src/lib/views/QrCodeView/QrCodeView.cjs +33 -24
- package/src/lib/views/QrCodeView/QrCodeView.js +34 -25
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +13 -8
- package/src/lib/views/SendBalanceView/SendBalanceView.js +13 -8
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +9 -4
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +9 -4
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +6 -2
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +6 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +6 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +6 -2
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +11 -6
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +11 -6
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +9 -4
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +9 -4
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +7 -2
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +7 -2
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +7 -2
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +7 -2
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +11 -7
- package/src/lib/views/WalletGroupView/WalletGroupView.js +11 -7
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.cjs +7 -2
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.js +7 -2
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +7 -2
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +7 -2
- package/src/lib/views/WalletList/WalletList.cjs +8 -9
- package/src/lib/views/WalletList/WalletList.js +8 -9
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +7 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +7 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +7 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.js +8 -3
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +7 -2
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +8 -3
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +7 -2
- package/src/lib/views/WalletUsedView/WalletUsedView.js +7 -2
- package/src/lib/views/viewToComponentMap.cjs +44 -43
- package/src/lib/views/viewToComponentMap.d.ts +2 -3
- package/src/lib/views/viewToComponentMap.js +44 -43
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +8 -3
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +6 -6
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +6 -6
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +8 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +8 -1
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +11 -7
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +10 -6
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +9 -4
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +9 -4
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +8 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +8 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +8 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +8 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +9 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +9 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +28 -22
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.d.ts +3 -1
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +29 -23
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +11 -21
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.d.ts +4 -3
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +11 -21
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +10 -5
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +10 -5
- package/src/lib/widgets/DynamicWidget/hooks/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +19 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +15 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +9 -4
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +9 -4
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +63 -17
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +63 -17
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +10 -5
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.d.ts +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +10 -5
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +18 -12
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +18 -12
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +4 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +4 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +12 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +12 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +12 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +12 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +9 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +9 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +62 -17
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +62 -17
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +17 -5
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +17 -5
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +6 -1
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +6 -1
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +10 -16
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +10 -16
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +7 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +8 -3
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +35 -11
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +35 -11
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +7 -2
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +11 -6
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +11 -6
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +7 -2
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +7 -2
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +7 -2
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.cjs +0 -23
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.d.ts +0 -4
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.js +0 -19
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +0 -76
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.d.ts +0 -5
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +0 -72
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +0 -83
- package/src/lib/context/QrCodeContext/QrCodeContext.d.ts +0 -13
- package/src/lib/context/QrCodeContext/QrCodeContext.js +0 -77
- package/src/lib/context/QrCodeContext/index.d.ts +0 -1
- package/src/lib/utils/hooks/useDefaultQrCode/index.d.ts +0 -1
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.cjs +0 -34
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.d.ts +0 -7
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.js +0 -30
|
@@ -51,32 +51,35 @@ import { WalletProgressStepper } from './WalletProgressStepper/WalletProgressSte
|
|
|
51
51
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
52
52
|
import 'react-focus-lock';
|
|
53
53
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
54
|
-
import 'qrcode';
|
|
55
|
-
import '../../context/QrCodeContext/QrCodeContext.js';
|
|
56
54
|
import 'i18next';
|
|
55
|
+
import 'qrcode';
|
|
57
56
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
58
57
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
59
58
|
import 'formik';
|
|
60
59
|
import '../../components/IconButton/IconButton.js';
|
|
60
|
+
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
61
61
|
import '@dynamic-labs/viem-utils';
|
|
62
|
+
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
62
63
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
63
64
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
64
65
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
65
66
|
import '../../components/Popper/Popper/Popper.js';
|
|
66
67
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
68
|
+
import '../../views/WalletList/WalletList.js';
|
|
69
|
+
import '@hcaptcha/react-hcaptcha';
|
|
70
|
+
import '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
71
|
+
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
67
72
|
|
|
68
73
|
const DynamicAuthLayout = ({ children, className, style, onClose, projectSettings, hideBridgeProgressSteppers, }) => {
|
|
69
74
|
const { view } = useViewContext();
|
|
70
|
-
const {
|
|
75
|
+
const { authMode } = useInternalDynamicContext();
|
|
71
76
|
const { isFooterExpanded } = useFooterAnimationContext();
|
|
72
|
-
const { showHeader, showHelpContent, showToSFooter } = useAuthLayoutChecks(walletConnector);
|
|
73
77
|
const { headerData, helpHeaderData } = useDynamicLayoutData({
|
|
74
78
|
authMode,
|
|
75
|
-
view,
|
|
79
|
+
view: view.type,
|
|
76
80
|
});
|
|
77
|
-
const { showConnectedWalletProgress } = useAuthLayoutChecks(
|
|
78
|
-
|
|
79
|
-
return (jsx(OverlayCardTarget, { children: jsxs(VerticalAccordion, { style: style, className: className, children: [jsxs(AccordionItem, { isOpen: !isFooterExpanded, dimOnHide: true, children: [showConnectedWalletProgress && !hideBridgeProgressSteppers && (jsx(WalletProgressStepper, {})), showHeader && (jsx(Header, { onClose: onClose, heading: (headerData === null || headerData === void 0 ? void 0 : headerData.heading) || '', projectSettings: projectSettings, walletConnector: walletConnector, copykey: headerData === null || headerData === void 0 ? void 0 : headerData.copykey })), children, showDynamicFooter && jsx(DynamicFooter, {}), showToSFooter && jsx(ToSFooter, {})] }), helpHeaderData && showHelpContent && (jsx(AccordionItem, { isOpen: isFooterExpanded, children: jsx("div", { children: jsx(HelpContent, {}) }, isFooterExpanded.toString()) }))] }) }));
|
|
81
|
+
const { showConnectedWalletProgress, showHeader, showHelpContent, showToSFooter, showDynamicFooter, } = useAuthLayoutChecks();
|
|
82
|
+
return (jsx(OverlayCardTarget, { children: jsxs(VerticalAccordion, { style: style, className: className, children: [jsxs(AccordionItem, { isOpen: !isFooterExpanded, dimOnHide: true, children: [showConnectedWalletProgress && !hideBridgeProgressSteppers && (jsx(WalletProgressStepper, {})), showHeader && (jsx(Header, { onClose: onClose, heading: (headerData === null || headerData === void 0 ? void 0 : headerData.heading) || '', projectSettings: projectSettings, copykey: headerData === null || headerData === void 0 ? void 0 : headerData.copykey })), children, showDynamicFooter && jsx(DynamicFooter, {}), showToSFooter && jsx(ToSFooter, {})] }), helpHeaderData && showHelpContent && (jsx(AccordionItem, { isOpen: isFooterExpanded, children: jsx("div", { children: jsx(HelpContent, {}) }, isFooterExpanded.toString()) }))] }) }));
|
|
80
83
|
};
|
|
81
84
|
|
|
82
85
|
export { DynamicAuthLayout };
|
|
@@ -6,7 +6,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('../../../events/dynamicEvents.cjs');
|
|
8
8
|
require('@dynamic-labs/utils');
|
|
9
|
-
|
|
9
|
+
require('../../../context/DynamicContext/DynamicContext.cjs');
|
|
10
10
|
require('@dynamic-labs/wallet-connector-core');
|
|
11
11
|
require('../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
12
12
|
var ErrorContext = require('../../../context/ErrorContext/ErrorContext.cjs');
|
|
@@ -48,49 +48,42 @@ var useAuthLayoutChecks = require('../../../utils/hooks/useAuthLayoutChecks/useA
|
|
|
48
48
|
var Typography = require('../../../components/Typography/Typography.cjs');
|
|
49
49
|
var Skeleton = require('../../../components/Skeleton/Skeleton.cjs');
|
|
50
50
|
var Tooltip = require('../../../components/Tooltip/Tooltip.cjs');
|
|
51
|
-
var QrCodeContext = require('../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
52
51
|
require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
53
52
|
require('../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
54
53
|
require('react-focus-lock');
|
|
55
54
|
require('../../../context/LoadingContext/LoadingContext.cjs');
|
|
56
|
-
require('qrcode');
|
|
57
55
|
require('i18next');
|
|
56
|
+
require('qrcode');
|
|
58
57
|
require('../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
59
58
|
require('../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
60
59
|
require('formik');
|
|
61
60
|
var ModalHeader = require('../../../components/ModalHeader/ModalHeader.cjs');
|
|
62
61
|
var IconButton = require('../../../components/IconButton/IconButton.cjs');
|
|
63
62
|
require('../../../components/Alert/Alert.cjs');
|
|
63
|
+
require('../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
64
64
|
require('@dynamic-labs/viem-utils');
|
|
65
|
+
require('../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
65
66
|
require('../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
66
67
|
require('../../../components/InlineWidget/InlineWidget.cjs');
|
|
67
68
|
require('../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
68
69
|
require('../../../components/Popper/Popper/Popper.cjs');
|
|
69
70
|
require('../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
71
|
+
require('../../../views/WalletList/WalletList.cjs');
|
|
72
|
+
require('@hcaptcha/react-hcaptcha');
|
|
73
|
+
require('../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
74
|
+
require('../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
70
75
|
|
|
71
|
-
const Header = ({ onClose: handleClose, heading, projectSettings,
|
|
72
|
-
const { clearStatesOnBackClick, selectedWalletConnector } = useInternalDynamicContext.useInternalDynamicContext();
|
|
76
|
+
const Header = ({ onClose: handleClose, heading, projectSettings, copykey, }) => {
|
|
73
77
|
const { setError } = ErrorContext.useErrorContext();
|
|
74
|
-
const { setShowQrCodeImage } = QrCodeContext.useQrCodeContext();
|
|
75
78
|
const { isFooterExpanded, setIsFooterExpanded } = index.useFooterAnimationContext();
|
|
76
79
|
const { goToInitialView } = ViewContext.useViewContext();
|
|
77
|
-
const { showBackButton, showCloseButton,
|
|
80
|
+
const { showBackButton, showCloseButton, showHelpContent, isWalletListTypeView, displayBorderBelowHeader, } = useAuthLayoutChecks.useAuthLayoutChecks();
|
|
78
81
|
const { setExistentAccountData } = AccountExistsContext.useAccountExistsContext();
|
|
79
82
|
const handleBackClick = React.useCallback(() => {
|
|
80
83
|
goToInitialView();
|
|
81
84
|
setExistentAccountData(undefined);
|
|
82
85
|
setError(undefined);
|
|
83
|
-
|
|
84
|
-
if ((selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.name) !== 'Coinbase') {
|
|
85
|
-
clearStatesOnBackClick();
|
|
86
|
-
}
|
|
87
|
-
}, [
|
|
88
|
-
goToInitialView,
|
|
89
|
-
setExistentAccountData,
|
|
90
|
-
setError,
|
|
91
|
-
selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.name,
|
|
92
|
-
clearStatesOnBackClick,
|
|
93
|
-
]);
|
|
86
|
+
}, [goToInitialView, setExistentAccountData, setError]);
|
|
94
87
|
const closeButton = showCloseButton && handleClose && (jsxRuntime.jsx(IconButton.IconButton, { onClick: handleClose, type: 'button', id: 'close-button', "data-testid": 'close-button', className: 'header__icon', children: jsxRuntime.jsx(close.ReactComponent, {}) }));
|
|
95
88
|
const infoButton = showHelpContent && (jsxRuntime.jsx(Tooltip.Tooltip, { content: 'Need some help?', className: 'header__tooltip', children: jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: () => setIsFooterExpanded(!isFooterExpanded), "data-testid": 'info-button', className: 'header__icon', children: isWalletListTypeView ? jsxRuntime.jsx(questionMark.ReactComponent, {}) : jsxRuntime.jsx(footerInfoIcon.ReactComponent, {}) }) }, 'info-button'));
|
|
96
89
|
const leadingButtons = [];
|
|
@@ -101,8 +94,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, walletConnecto
|
|
|
101
94
|
if (closeButton && infoButton) {
|
|
102
95
|
leadingButtons.push(infoButton);
|
|
103
96
|
}
|
|
104
|
-
|
|
105
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', copykey: copykey, children: !projectSettings ? (jsxRuntime.jsx(Skeleton.Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
|
|
97
|
+
return (jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', copykey: copykey, children: !projectSettings ? jsxRuntime.jsx(Skeleton.Skeleton, { className: 'header__skeleton' }) : heading }) }));
|
|
106
98
|
};
|
|
107
99
|
|
|
108
100
|
exports.Header = Header;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ProjectSettings } from '@dynamic-labs/sdk-api';
|
|
3
|
-
import { WalletConnector } from '@dynamic-labs/wallet-connector-core';
|
|
4
3
|
import { CopyKey, ModalProps } from '../../../shared';
|
|
5
4
|
export type WalletHeaderProps = Partial<ModalProps> & CopyKey & {
|
|
6
5
|
heading: string | JSX.Element;
|
|
7
6
|
projectSettings?: ProjectSettings;
|
|
8
|
-
walletConnector?: WalletConnector | null;
|
|
9
7
|
};
|
|
10
8
|
export declare const Header: FC<WalletHeaderProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
3
|
import '../../../events/dynamicEvents.js';
|
|
4
4
|
import '@dynamic-labs/utils';
|
|
5
|
-
import
|
|
5
|
+
import '../../../context/DynamicContext/DynamicContext.js';
|
|
6
6
|
import '@dynamic-labs/wallet-connector-core';
|
|
7
7
|
import '../../../context/CaptchaContext/CaptchaContext.js';
|
|
8
8
|
import { useErrorContext } from '../../../context/ErrorContext/ErrorContext.js';
|
|
@@ -44,49 +44,42 @@ import { useAuthLayoutChecks } from '../../../utils/hooks/useAuthLayoutChecks/us
|
|
|
44
44
|
import { Typography } from '../../../components/Typography/Typography.js';
|
|
45
45
|
import { Skeleton } from '../../../components/Skeleton/Skeleton.js';
|
|
46
46
|
import { Tooltip } from '../../../components/Tooltip/Tooltip.js';
|
|
47
|
-
import { useQrCodeContext } from '../../../context/QrCodeContext/QrCodeContext.js';
|
|
48
47
|
import '../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
49
48
|
import '../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
50
49
|
import 'react-focus-lock';
|
|
51
50
|
import '../../../context/LoadingContext/LoadingContext.js';
|
|
52
|
-
import 'qrcode';
|
|
53
51
|
import 'i18next';
|
|
52
|
+
import 'qrcode';
|
|
54
53
|
import '../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
55
54
|
import '../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
56
55
|
import 'formik';
|
|
57
56
|
import { ModalHeader } from '../../../components/ModalHeader/ModalHeader.js';
|
|
58
57
|
import { IconButton } from '../../../components/IconButton/IconButton.js';
|
|
59
58
|
import '../../../components/Alert/Alert.js';
|
|
59
|
+
import '../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
60
60
|
import '@dynamic-labs/viem-utils';
|
|
61
|
+
import '../../../context/PasskeyContext/PasskeyContext.js';
|
|
61
62
|
import '../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
62
63
|
import '../../../components/InlineWidget/InlineWidget.js';
|
|
63
64
|
import '../../../components/MenuList/Dropdown/Dropdown.js';
|
|
64
65
|
import '../../../components/Popper/Popper/Popper.js';
|
|
65
66
|
import '../../../components/Popper/PopperContext/PopperContext.js';
|
|
67
|
+
import '../../../views/WalletList/WalletList.js';
|
|
68
|
+
import '@hcaptcha/react-hcaptcha';
|
|
69
|
+
import '../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
70
|
+
import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
66
71
|
|
|
67
|
-
const Header = ({ onClose: handleClose, heading, projectSettings,
|
|
68
|
-
const { clearStatesOnBackClick, selectedWalletConnector } = useInternalDynamicContext();
|
|
72
|
+
const Header = ({ onClose: handleClose, heading, projectSettings, copykey, }) => {
|
|
69
73
|
const { setError } = useErrorContext();
|
|
70
|
-
const { setShowQrCodeImage } = useQrCodeContext();
|
|
71
74
|
const { isFooterExpanded, setIsFooterExpanded } = useFooterAnimationContext();
|
|
72
75
|
const { goToInitialView } = useViewContext();
|
|
73
|
-
const { showBackButton, showCloseButton,
|
|
76
|
+
const { showBackButton, showCloseButton, showHelpContent, isWalletListTypeView, displayBorderBelowHeader, } = useAuthLayoutChecks();
|
|
74
77
|
const { setExistentAccountData } = useAccountExistsContext();
|
|
75
78
|
const handleBackClick = useCallback(() => {
|
|
76
79
|
goToInitialView();
|
|
77
80
|
setExistentAccountData(undefined);
|
|
78
81
|
setError(undefined);
|
|
79
|
-
|
|
80
|
-
if ((selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.name) !== 'Coinbase') {
|
|
81
|
-
clearStatesOnBackClick();
|
|
82
|
-
}
|
|
83
|
-
}, [
|
|
84
|
-
goToInitialView,
|
|
85
|
-
setExistentAccountData,
|
|
86
|
-
setError,
|
|
87
|
-
selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.name,
|
|
88
|
-
clearStatesOnBackClick,
|
|
89
|
-
]);
|
|
82
|
+
}, [goToInitialView, setExistentAccountData, setError]);
|
|
90
83
|
const closeButton = showCloseButton && handleClose && (jsx(IconButton, { onClick: handleClose, type: 'button', id: 'close-button', "data-testid": 'close-button', className: 'header__icon', children: jsx(SvgClose, {}) }));
|
|
91
84
|
const infoButton = showHelpContent && (jsx(Tooltip, { content: 'Need some help?', className: 'header__tooltip', children: jsx(IconButton, { type: 'button', onClick: () => setIsFooterExpanded(!isFooterExpanded), "data-testid": 'info-button', className: 'header__icon', children: isWalletListTypeView ? jsx(SvgQuestionMark, {}) : jsx(SvgFooterInfoIcon, {}) }) }, 'info-button'));
|
|
92
85
|
const leadingButtons = [];
|
|
@@ -97,8 +90,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, walletConnecto
|
|
|
97
90
|
if (closeButton && infoButton) {
|
|
98
91
|
leadingButtons.push(infoButton);
|
|
99
92
|
}
|
|
100
|
-
|
|
101
|
-
return (jsxs(Fragment, { children: [jsx(ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', copykey: copykey, children: !projectSettings ? (jsx(Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
|
|
93
|
+
return (jsx(ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', copykey: copykey, children: !projectSettings ? jsx(Skeleton, { className: 'header__skeleton' }) : heading }) }));
|
|
102
94
|
};
|
|
103
95
|
|
|
104
96
|
export { Header };
|
|
@@ -16,19 +16,19 @@ const HelpContent = () => (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(He
|
|
|
16
16
|
const HelpContentSwitch = () => {
|
|
17
17
|
const { view } = ViewContext.useViewContext();
|
|
18
18
|
const { projectSettings, newToWeb3WalletChainMap, selectedWalletConnector } = useInternalDynamicContext.useInternalDynamicContext();
|
|
19
|
-
const isWalletListTypeView = React.useMemo(() => view === 'wallet-connect-mobile-wallets-list' ||
|
|
20
|
-
view === 'wallet-list' ||
|
|
21
|
-
view === 'login-with-email-or-wallet-full-wallet-list' ||
|
|
22
|
-
view === 'login-with-wallet-only', [view]);
|
|
23
|
-
const isPendingSignatureTypeView = React.useMemo(() => view === 'pending-signature-without-back-button' ||
|
|
24
|
-
view === 'pending-signature', [view]);
|
|
25
|
-
const isPendingConnectTypeView = React.useMemo(() => view === 'pending-connect' || view === 'qr-code', [view]);
|
|
26
|
-
const isPasskeyIntroView = React.useMemo(() => view === 'passkey-intro', [view]);
|
|
19
|
+
const isWalletListTypeView = React.useMemo(() => view.type === 'wallet-connect-mobile-wallets-list' ||
|
|
20
|
+
view.type === 'wallet-list' ||
|
|
21
|
+
view.type === 'login-with-email-or-wallet-full-wallet-list' ||
|
|
22
|
+
view.type === 'login-with-wallet-only', [view]);
|
|
23
|
+
const isPendingSignatureTypeView = React.useMemo(() => view.type === 'pending-signature-without-back-button' ||
|
|
24
|
+
view.type === 'pending-signature', [view]);
|
|
25
|
+
const isPendingConnectTypeView = React.useMemo(() => view.type === 'pending-connect' || view.type === 'qr-code', [view]);
|
|
26
|
+
const isPasskeyIntroView = React.useMemo(() => view.type === 'passkey-intro', [view]);
|
|
27
27
|
if (isWalletListTypeView) {
|
|
28
28
|
return (jsxRuntime.jsx(WalletListHelpContent.WalletListHelpContent, { chains: projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.chains, newToWeb3WalletChainMap: newToWeb3WalletChainMap }));
|
|
29
29
|
}
|
|
30
30
|
if (isPendingSignatureTypeView) {
|
|
31
|
-
return (jsxRuntime.jsx(WalletMoreInfoContent.WalletMoreInfoContent, { variant: 'sign',
|
|
31
|
+
return (jsxRuntime.jsx(WalletMoreInfoContent.WalletMoreInfoContent, { variant: 'sign', walletKey: selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.key }));
|
|
32
32
|
}
|
|
33
33
|
if (isPendingConnectTypeView) {
|
|
34
34
|
return jsxRuntime.jsx(WalletMoreInfoContent.WalletMoreInfoContent, { variant: 'connect' });
|
|
@@ -12,19 +12,19 @@ const HelpContent = () => (jsxs("div", { children: [jsx(HelpHeader, {}), jsx(Hel
|
|
|
12
12
|
const HelpContentSwitch = () => {
|
|
13
13
|
const { view } = useViewContext();
|
|
14
14
|
const { projectSettings, newToWeb3WalletChainMap, selectedWalletConnector } = useInternalDynamicContext();
|
|
15
|
-
const isWalletListTypeView = useMemo(() => view === 'wallet-connect-mobile-wallets-list' ||
|
|
16
|
-
view === 'wallet-list' ||
|
|
17
|
-
view === 'login-with-email-or-wallet-full-wallet-list' ||
|
|
18
|
-
view === 'login-with-wallet-only', [view]);
|
|
19
|
-
const isPendingSignatureTypeView = useMemo(() => view === 'pending-signature-without-back-button' ||
|
|
20
|
-
view === 'pending-signature', [view]);
|
|
21
|
-
const isPendingConnectTypeView = useMemo(() => view === 'pending-connect' || view === 'qr-code', [view]);
|
|
22
|
-
const isPasskeyIntroView = useMemo(() => view === 'passkey-intro', [view]);
|
|
15
|
+
const isWalletListTypeView = useMemo(() => view.type === 'wallet-connect-mobile-wallets-list' ||
|
|
16
|
+
view.type === 'wallet-list' ||
|
|
17
|
+
view.type === 'login-with-email-or-wallet-full-wallet-list' ||
|
|
18
|
+
view.type === 'login-with-wallet-only', [view]);
|
|
19
|
+
const isPendingSignatureTypeView = useMemo(() => view.type === 'pending-signature-without-back-button' ||
|
|
20
|
+
view.type === 'pending-signature', [view]);
|
|
21
|
+
const isPendingConnectTypeView = useMemo(() => view.type === 'pending-connect' || view.type === 'qr-code', [view]);
|
|
22
|
+
const isPasskeyIntroView = useMemo(() => view.type === 'passkey-intro', [view]);
|
|
23
23
|
if (isWalletListTypeView) {
|
|
24
24
|
return (jsx(WalletListHelpContent, { chains: projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.chains, newToWeb3WalletChainMap: newToWeb3WalletChainMap }));
|
|
25
25
|
}
|
|
26
26
|
if (isPendingSignatureTypeView) {
|
|
27
|
-
return (jsx(WalletMoreInfoContent, { variant: 'sign',
|
|
27
|
+
return (jsx(WalletMoreInfoContent, { variant: 'sign', walletKey: selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.key }));
|
|
28
28
|
}
|
|
29
29
|
if (isPendingConnectTypeView) {
|
|
30
30
|
return jsx(WalletMoreInfoContent, { variant: 'connect' });
|
|
@@ -44,32 +44,40 @@ var index = require('../../../../context/FooterAnimationContext/index.cjs');
|
|
|
44
44
|
var useAuthLayoutChecks = require('../../../../utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs');
|
|
45
45
|
var useDynamicLayoutData = require('../../../../utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs');
|
|
46
46
|
var Typography = require('../../../../components/Typography/Typography.cjs');
|
|
47
|
-
require('../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
48
47
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
49
48
|
require('../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
50
49
|
require('react-focus-lock');
|
|
51
50
|
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
52
|
-
require('qrcode');
|
|
53
51
|
require('i18next');
|
|
52
|
+
require('qrcode');
|
|
54
53
|
require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
55
54
|
require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
56
55
|
require('formik');
|
|
57
56
|
var ModalHeader = require('../../../../components/ModalHeader/ModalHeader.cjs');
|
|
58
57
|
var IconButton = require('../../../../components/IconButton/IconButton.cjs');
|
|
59
58
|
require('../../../../components/Alert/Alert.cjs');
|
|
59
|
+
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
60
60
|
require('@dynamic-labs/viem-utils');
|
|
61
|
+
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
61
62
|
require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
62
63
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
63
64
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
64
65
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
65
66
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
67
|
+
require('../../../../views/WalletList/WalletList.cjs');
|
|
68
|
+
require('@hcaptcha/react-hcaptcha');
|
|
69
|
+
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
70
|
+
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
66
71
|
|
|
67
72
|
const HelpHeader = () => {
|
|
68
|
-
const { authMode
|
|
73
|
+
const { authMode } = useInternalDynamicContext.useInternalDynamicContext();
|
|
69
74
|
const { setIsFooterExpanded } = index.useFooterAnimationContext();
|
|
70
75
|
const { view } = ViewContext.useViewContext();
|
|
71
|
-
const { helpHeaderData } = useDynamicLayoutData.useDynamicLayoutData({
|
|
72
|
-
|
|
76
|
+
const { helpHeaderData } = useDynamicLayoutData.useDynamicLayoutData({
|
|
77
|
+
authMode,
|
|
78
|
+
view: view.type,
|
|
79
|
+
});
|
|
80
|
+
const { displayBorderBelowHeader } = useAuthLayoutChecks.useAuthLayoutChecks();
|
|
73
81
|
const backButton = (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: () => setIsFooterExpanded(false), "data-testid": 'back-button', className: 'header__icon', children: jsxRuntime.jsx(chevronLeft.ReactComponent, { className: 'back-button ' }) }));
|
|
74
82
|
return (jsxRuntime.jsx("div", { className: 'help-header', children: jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', copykey: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.copykey, children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
|
|
75
83
|
};
|
|
@@ -40,32 +40,40 @@ import { useFooterAnimationContext } from '../../../../context/FooterAnimationCo
|
|
|
40
40
|
import { useAuthLayoutChecks } from '../../../../utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js';
|
|
41
41
|
import { useDynamicLayoutData } from '../../../../utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js';
|
|
42
42
|
import { Typography } from '../../../../components/Typography/Typography.js';
|
|
43
|
-
import '../../../../context/QrCodeContext/QrCodeContext.js';
|
|
44
43
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
45
44
|
import '../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
46
45
|
import 'react-focus-lock';
|
|
47
46
|
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
48
|
-
import 'qrcode';
|
|
49
47
|
import 'i18next';
|
|
48
|
+
import 'qrcode';
|
|
50
49
|
import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
51
50
|
import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
52
51
|
import 'formik';
|
|
53
52
|
import { ModalHeader } from '../../../../components/ModalHeader/ModalHeader.js';
|
|
54
53
|
import { IconButton } from '../../../../components/IconButton/IconButton.js';
|
|
55
54
|
import '../../../../components/Alert/Alert.js';
|
|
55
|
+
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
56
56
|
import '@dynamic-labs/viem-utils';
|
|
57
|
+
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
57
58
|
import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
58
59
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
59
60
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
60
61
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
61
62
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
63
|
+
import '../../../../views/WalletList/WalletList.js';
|
|
64
|
+
import '@hcaptcha/react-hcaptcha';
|
|
65
|
+
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
66
|
+
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
62
67
|
|
|
63
68
|
const HelpHeader = () => {
|
|
64
|
-
const { authMode
|
|
69
|
+
const { authMode } = useInternalDynamicContext();
|
|
65
70
|
const { setIsFooterExpanded } = useFooterAnimationContext();
|
|
66
71
|
const { view } = useViewContext();
|
|
67
|
-
const { helpHeaderData } = useDynamicLayoutData({
|
|
68
|
-
|
|
72
|
+
const { helpHeaderData } = useDynamicLayoutData({
|
|
73
|
+
authMode,
|
|
74
|
+
view: view.type,
|
|
75
|
+
});
|
|
76
|
+
const { displayBorderBelowHeader } = useAuthLayoutChecks();
|
|
69
77
|
const backButton = (jsx(IconButton, { type: 'button', onClick: () => setIsFooterExpanded(false), "data-testid": 'back-button', className: 'header__icon', children: jsx(SvgChevronLeft, { className: 'back-button ' }) }));
|
|
70
78
|
return (jsx("div", { className: 'help-header', children: jsx(ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', copykey: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.copykey, children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
|
|
71
79
|
};
|
package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs
CHANGED
|
@@ -42,27 +42,32 @@ require('../../../../components/Transition/OpacityTransition/OpacityTransition.c
|
|
|
42
42
|
require('../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
43
43
|
require('../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
44
44
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
45
|
-
require('../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
46
45
|
var Typography = require('../../../../components/Typography/Typography.cjs');
|
|
47
46
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
48
47
|
require('../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
49
48
|
require('react-focus-lock');
|
|
50
49
|
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
51
|
-
require('qrcode');
|
|
52
50
|
var Icon = require('../../../../components/Icon/Icon.cjs');
|
|
53
51
|
require('i18next');
|
|
52
|
+
require('qrcode');
|
|
54
53
|
require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
55
54
|
require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
56
55
|
require('formik');
|
|
57
56
|
require('../../../../components/IconButton/IconButton.cjs');
|
|
58
57
|
require('../../../../components/Alert/Alert.cjs');
|
|
58
|
+
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
59
59
|
require('@dynamic-labs/viem-utils');
|
|
60
|
+
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
60
61
|
require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
61
62
|
var EnterTileAnimation = require('../../../../components/EnterTileAnimation/EnterTileAnimation.cjs');
|
|
62
63
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
63
64
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
64
65
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
65
66
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
67
|
+
require('../../../../views/WalletList/WalletList.cjs');
|
|
68
|
+
require('@hcaptcha/react-hcaptcha');
|
|
69
|
+
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
70
|
+
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
66
71
|
|
|
67
72
|
const PasskeyInfoHelper = () => {
|
|
68
73
|
const { t } = reactI18next.useTranslation();
|
|
@@ -38,27 +38,32 @@ import '../../../../components/Transition/OpacityTransition/OpacityTransition.js
|
|
|
38
38
|
import '../../../../components/ShadowDOM/ShadowDOM.js';
|
|
39
39
|
import '../../../../components/OverlayCard/OverlayCard.context.js';
|
|
40
40
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
41
|
-
import '../../../../context/QrCodeContext/QrCodeContext.js';
|
|
42
41
|
import { Typography } from '../../../../components/Typography/Typography.js';
|
|
43
42
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
44
43
|
import '../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
45
44
|
import 'react-focus-lock';
|
|
46
45
|
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
47
|
-
import 'qrcode';
|
|
48
46
|
import { Icon } from '../../../../components/Icon/Icon.js';
|
|
49
47
|
import 'i18next';
|
|
48
|
+
import 'qrcode';
|
|
50
49
|
import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
51
50
|
import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
52
51
|
import 'formik';
|
|
53
52
|
import '../../../../components/IconButton/IconButton.js';
|
|
54
53
|
import '../../../../components/Alert/Alert.js';
|
|
54
|
+
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
55
55
|
import '@dynamic-labs/viem-utils';
|
|
56
|
+
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
56
57
|
import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
57
58
|
import { EnterTileAnimation } from '../../../../components/EnterTileAnimation/EnterTileAnimation.js';
|
|
58
59
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
59
60
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
60
61
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
61
62
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
63
|
+
import '../../../../views/WalletList/WalletList.js';
|
|
64
|
+
import '@hcaptcha/react-hcaptcha';
|
|
65
|
+
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
66
|
+
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
62
67
|
|
|
63
68
|
const PasskeyInfoHelper = () => {
|
|
64
69
|
const { t } = useTranslation();
|
|
@@ -40,25 +40,30 @@ require('../../../../../components/Transition/OpacityTransition/OpacityTransitio
|
|
|
40
40
|
require('../../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
41
41
|
require('../../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
42
42
|
require('../../../../../context/FooterAnimationContext/index.cjs');
|
|
43
|
-
require('../../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
44
43
|
var Typography = require('../../../../../components/Typography/Typography.cjs');
|
|
45
44
|
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
46
45
|
require('../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
47
46
|
require('react-focus-lock');
|
|
48
47
|
require('../../../../../context/LoadingContext/LoadingContext.cjs');
|
|
49
|
-
require('qrcode');
|
|
50
48
|
require('i18next');
|
|
49
|
+
require('qrcode');
|
|
51
50
|
require('../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
52
51
|
require('../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
53
52
|
require('formik');
|
|
54
53
|
require('../../../../../components/IconButton/IconButton.cjs');
|
|
55
54
|
require('../../../../../components/Alert/Alert.cjs');
|
|
55
|
+
require('../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
56
56
|
require('@dynamic-labs/viem-utils');
|
|
57
|
+
require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
57
58
|
require('../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
58
59
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
59
60
|
require('../../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
60
61
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
61
62
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
63
|
+
require('../../../../../views/WalletList/WalletList.cjs');
|
|
64
|
+
require('@hcaptcha/react-hcaptcha');
|
|
65
|
+
require('../../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
66
|
+
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
62
67
|
|
|
63
68
|
const Item = ({ heading, StartIcon, EndIcon, message, url, }) => (jsxRuntime.jsxs("a", { className: 'footer-buttons-item', href: url, rel: 'noopener noreferrer', target: '_blank', children: [jsxRuntime.jsx("div", { className: 'footer-buttons-item__icon--left', children: jsxRuntime.jsx(StartIcon, {}) }), jsxRuntime.jsxs("div", { className: 'footer-buttons-item__typography', children: [jsxRuntime.jsx(Typography.Typography, { as: 'h2', weight: 'regular', color: 'primary', variant: 'body_normal', children: heading }), message && (jsxRuntime.jsx(Typography.Typography, { as: 'p', weight: 'regular', color: 'secondary', children: message }))] }), EndIcon && jsxRuntime.jsx(EndIcon, { style: { height: '1.5rem', width: '1.5rem' } })] }));
|
|
64
69
|
|
|
@@ -36,25 +36,30 @@ import '../../../../../components/Transition/OpacityTransition/OpacityTransition
|
|
|
36
36
|
import '../../../../../components/ShadowDOM/ShadowDOM.js';
|
|
37
37
|
import '../../../../../components/OverlayCard/OverlayCard.context.js';
|
|
38
38
|
import '../../../../../context/FooterAnimationContext/index.js';
|
|
39
|
-
import '../../../../../context/QrCodeContext/QrCodeContext.js';
|
|
40
39
|
import { Typography } from '../../../../../components/Typography/Typography.js';
|
|
41
40
|
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
42
41
|
import '../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
43
42
|
import 'react-focus-lock';
|
|
44
43
|
import '../../../../../context/LoadingContext/LoadingContext.js';
|
|
45
|
-
import 'qrcode';
|
|
46
44
|
import 'i18next';
|
|
45
|
+
import 'qrcode';
|
|
47
46
|
import '../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
48
47
|
import '../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
49
48
|
import 'formik';
|
|
50
49
|
import '../../../../../components/IconButton/IconButton.js';
|
|
51
50
|
import '../../../../../components/Alert/Alert.js';
|
|
51
|
+
import '../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
52
52
|
import '@dynamic-labs/viem-utils';
|
|
53
|
+
import '../../../../../context/PasskeyContext/PasskeyContext.js';
|
|
53
54
|
import '../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
54
55
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
55
56
|
import '../../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
56
57
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
57
58
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
59
|
+
import '../../../../../views/WalletList/WalletList.js';
|
|
60
|
+
import '@hcaptcha/react-hcaptcha';
|
|
61
|
+
import '../../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
62
|
+
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
58
63
|
|
|
59
64
|
const Item = ({ heading, StartIcon, EndIcon, message, url, }) => (jsxs("a", { className: 'footer-buttons-item', href: url, rel: 'noopener noreferrer', target: '_blank', children: [jsx("div", { className: 'footer-buttons-item__icon--left', children: jsx(StartIcon, {}) }), jsxs("div", { className: 'footer-buttons-item__typography', children: [jsx(Typography, { as: 'h2', weight: 'regular', color: 'primary', variant: 'body_normal', children: heading }), message && (jsx(Typography, { as: 'p', weight: 'regular', color: 'secondary', children: message }))] }), EndIcon && jsx(EndIcon, { style: { height: '1.5rem', width: '1.5rem' } })] }));
|
|
60
65
|
|
|
@@ -41,25 +41,31 @@ require('../../../../../components/Transition/OpacityTransition/OpacityTransitio
|
|
|
41
41
|
require('../../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
42
42
|
require('../../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
43
43
|
require('../../../../../context/FooterAnimationContext/index.cjs');
|
|
44
|
-
require('../../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
45
44
|
var Typography = require('../../../../../components/Typography/Typography.cjs');
|
|
46
45
|
var NewToWeb3WalletItem = require('../NewToWeb3WalletItem/NewToWeb3WalletItem.cjs');
|
|
47
46
|
require('../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
48
47
|
require('react-focus-lock');
|
|
49
48
|
require('../../../../../context/LoadingContext/LoadingContext.cjs');
|
|
50
|
-
require('qrcode');
|
|
51
49
|
require('i18next');
|
|
50
|
+
require('qrcode');
|
|
52
51
|
require('../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
53
52
|
require('../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
54
53
|
require('formik');
|
|
55
54
|
require('../../../../../components/IconButton/IconButton.cjs');
|
|
56
55
|
require('../../../../../components/Alert/Alert.cjs');
|
|
56
|
+
require('../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
57
57
|
require('@dynamic-labs/viem-utils');
|
|
58
|
+
require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
58
59
|
require('../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
59
60
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
60
61
|
require('../../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
61
62
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
62
63
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
64
|
+
require('../../../../../views/WalletList/WalletList.cjs');
|
|
65
|
+
require('@hcaptcha/react-hcaptcha');
|
|
66
|
+
require('../../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
67
|
+
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
68
|
+
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
63
69
|
|
|
64
70
|
const WalletExtensionOrAppContinueButton = ({ wallet, selectedUrl, }) => {
|
|
65
71
|
const showRefreshOnceInstalledWalletButton = Boolean(selectedUrl.length) && !(wallet === null || wallet === void 0 ? void 0 : wallet.isInstalledOnBrowser);
|
|
@@ -37,25 +37,31 @@ import '../../../../../components/Transition/OpacityTransition/OpacityTransition
|
|
|
37
37
|
import '../../../../../components/ShadowDOM/ShadowDOM.js';
|
|
38
38
|
import '../../../../../components/OverlayCard/OverlayCard.context.js';
|
|
39
39
|
import '../../../../../context/FooterAnimationContext/index.js';
|
|
40
|
-
import '../../../../../context/QrCodeContext/QrCodeContext.js';
|
|
41
40
|
import { Typography } from '../../../../../components/Typography/Typography.js';
|
|
42
41
|
import { NewToWeb3WalletItem } from '../NewToWeb3WalletItem/NewToWeb3WalletItem.js';
|
|
43
42
|
import '../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
44
43
|
import 'react-focus-lock';
|
|
45
44
|
import '../../../../../context/LoadingContext/LoadingContext.js';
|
|
46
|
-
import 'qrcode';
|
|
47
45
|
import 'i18next';
|
|
46
|
+
import 'qrcode';
|
|
48
47
|
import '../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
49
48
|
import '../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
50
49
|
import 'formik';
|
|
51
50
|
import '../../../../../components/IconButton/IconButton.js';
|
|
52
51
|
import '../../../../../components/Alert/Alert.js';
|
|
52
|
+
import '../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
53
53
|
import '@dynamic-labs/viem-utils';
|
|
54
|
+
import '../../../../../context/PasskeyContext/PasskeyContext.js';
|
|
54
55
|
import '../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
55
56
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
56
57
|
import '../../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
57
58
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
58
59
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
60
|
+
import '../../../../../views/WalletList/WalletList.js';
|
|
61
|
+
import '@hcaptcha/react-hcaptcha';
|
|
62
|
+
import '../../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
63
|
+
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
64
|
+
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
59
65
|
|
|
60
66
|
const WalletExtensionOrAppContinueButton = ({ wallet, selectedUrl, }) => {
|
|
61
67
|
const showRefreshOnceInstalledWalletButton = Boolean(selectedUrl.length) && !(wallet === null || wallet === void 0 ? void 0 : wallet.isInstalledOnBrowser);
|