@dynamic-labs/sdk-react-core 1.1.0-alpha.4 → 1.1.0-alpha.6
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 +21 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/index.cjs +22 -4
- package/src/index.d.ts +2 -2
- package/src/index.js +14 -4
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +1 -1
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +1 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +1 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.js +1 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +1 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +1 -1
- package/src/lib/components/Divider/Divider.cjs +2 -2
- package/src/lib/components/Divider/Divider.js +2 -2
- package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.cjs +13 -0
- package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.d.ts +7 -0
- package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.js +9 -0
- package/src/lib/components/DynamicBaseWidget/index.d.ts +1 -0
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +1 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +1 -1
- package/src/lib/components/Modal/Modal.cjs +1 -1
- package/src/lib/components/Modal/Modal.d.ts +1 -2
- package/src/lib/components/Modal/Modal.js +1 -1
- package/src/lib/components/Modal/index.d.ts +1 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +1 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +1 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +1 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.js +1 -1
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +2 -2
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +2 -2
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +2 -2
- package/src/lib/components/NetworkPicker/components/Network/Network.js +2 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +2 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +2 -2
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +2 -2
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +2 -2
- package/src/lib/components/OverlayCard/OverlayCard.cjs +1 -1
- package/src/lib/components/OverlayCard/OverlayCard.js +1 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +1 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +1 -1
- package/src/lib/components/Portal/Portal.cjs +1 -1
- package/src/lib/components/Portal/Portal.js +1 -1
- package/src/lib/components/ShadowDOM/index.d.ts +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.js +1 -1
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.cjs +1 -1
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.js +1 -1
- package/src/lib/components/Tooltip/Tooltip.cjs +1 -1
- package/src/lib/components/Tooltip/Tooltip.js +1 -1
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +1 -1
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +1 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +1 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +1 -1
- package/src/lib/components/UserAddress/UserAddress.cjs +1 -1
- package/src/lib/components/UserAddress/UserAddress.js +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +2 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +2 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +2 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +2 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +2 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +2 -2
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs +122 -0
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.d.ts +2 -0
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js +118 -0
- package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.cjs +9 -0
- package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.d.ts +3 -0
- package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.js +5 -0
- package/src/lib/context/ConnectWithEmailOtpContext/constants.cjs +15 -0
- package/src/lib/context/ConnectWithEmailOtpContext/constants.d.ts +4 -0
- package/src/lib/context/ConnectWithEmailOtpContext/constants.js +10 -0
- package/src/lib/context/ConnectWithEmailOtpContext/index.d.ts +2 -0
- package/src/lib/context/ConnectWithEmailOtpContext/types.d.ts +13 -0
- package/src/lib/context/ConnectWithEmailOtpContext/useConnectWithEmailOtp.cjs +19 -0
- package/src/lib/context/ConnectWithEmailOtpContext/useConnectWithEmailOtp.d.ts +6 -0
- package/src/lib/context/ConnectWithEmailOtpContext/useConnectWithEmailOtp.js +15 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.cjs +27 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.d.ts +2 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.js +23 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createMagicHandler.cjs +21 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createMagicHandler.d.ts +3 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createMagicHandler.js +17 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.cjs +20 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.d.ts +2 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.js +16 -0
- package/src/lib/context/DynamicContext/DynamicContext.cjs +4 -2
- package/src/lib/context/DynamicContext/DynamicContext.js +4 -2
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +1 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +1 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +1 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +1 -1
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +1 -1
- package/src/lib/context/QrCodeContext/QrCodeContext.js +1 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +1 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +1 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +1 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +1 -1
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +1 -1
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +1 -1
- package/src/lib/context/ViewContext/ViewContext.d.ts +1 -1
- package/src/lib/data/api.cjs +15 -0
- package/src/lib/data/api.d.ts +7 -1
- package/src/lib/data/api.js +16 -2
- package/src/lib/events/dynamicEvents.d.ts +2 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +2 -2
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +1 -0
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +2 -1
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +2 -2
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +2 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +2 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +2 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +2 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +2 -2
- package/src/lib/locale/en/translation.cjs +107 -1
- package/src/lib/locale/en/translation.d.ts +106 -0
- package/src/lib/locale/en/translation.js +107 -1
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +4 -4
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +4 -4
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +4 -4
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +4 -4
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +4 -4
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +4 -4
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +4 -4
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +4 -4
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +4 -4
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +4 -4
- package/src/lib/shared/assets/alt-embedded-wallet.cjs +54 -0
- package/src/lib/shared/assets/alt-embedded-wallet.js +30 -0
- package/src/lib/shared/assets/export-embedded-hero.cjs +90 -0
- package/src/lib/shared/assets/export-embedded-hero.js +66 -0
- package/src/lib/shared/assets/eye-off-icon.cjs +53 -0
- package/src/lib/shared/assets/eye-off-icon.js +29 -0
- package/src/lib/shared/assets/face-id.cjs +53 -0
- package/src/lib/shared/assets/face-id.js +29 -0
- package/src/lib/shared/assets/index.d.ts +6 -0
- package/src/lib/shared/assets/lock.cjs +54 -0
- package/src/lib/shared/assets/lock.js +30 -0
- package/src/lib/shared/assets/wallet-v2.cjs +53 -0
- package/src/lib/shared/assets/wallet-v2.js +29 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +28 -1
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +28 -1
- package/src/lib/utils/hooks/index.d.ts +1 -0
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +2 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +2 -1
- package/src/lib/utils/hooks/useEmbeddedReveal/index.d.ts +1 -0
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +60 -0
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.d.ts +4 -0
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +56 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +3 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +3 -0
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +2 -27
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +2 -27
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +20 -14
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +20 -14
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +26 -4
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +26 -4
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +1 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +1 -1
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +2 -2
- package/src/lib/views/AccountExistsView/AccountExistsView.js +2 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +2 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +2 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +2 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +2 -2
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +2 -2
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +2 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +2 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +2 -2
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +2 -2
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +2 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +2 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +2 -2
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +2 -2
- package/src/lib/views/EmailUpdate/EmailUpdate.js +2 -2
- package/src/lib/views/EmailVerification/EmailVerification.cjs +36 -25
- package/src/lib/views/EmailVerification/EmailVerification.js +36 -25
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +1 -1
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +1 -1
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +158 -0
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.d.ts +2 -0
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +154 -0
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/index.d.ts +1 -0
- package/src/lib/views/EmbeddedReveal/constants.cjs +9 -0
- package/src/lib/views/EmbeddedReveal/constants.d.ts +2 -0
- package/src/lib/views/EmbeddedReveal/constants.js +4 -0
- package/src/lib/views/EmbeddedReveal/index.d.ts +1 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/index.d.ts +1 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +114 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.d.ts +15 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +108 -0
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +2 -2
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +2 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +2 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +2 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +2 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +2 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +2 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +2 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +2 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +2 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +2 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +2 -2
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +2 -2
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +2 -2
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +2 -2
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +2 -2
- package/src/lib/views/NoAccess/NoAccess.cjs +2 -2
- package/src/lib/views/NoAccess/NoAccess.js +2 -2
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +2 -2
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +2 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +2 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +2 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +2 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +2 -2
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +2 -2
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +2 -2
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +2 -2
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +2 -2
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +2 -2
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +2 -2
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +4 -4
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +4 -4
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +2 -2
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.d.ts +2 -2
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +2 -2
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +2 -2
- package/src/lib/views/PendingConnectView/PendingConnectView.js +2 -2
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +2 -2
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +2 -2
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +1 -1
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +1 -1
- package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -1
- package/src/lib/views/QrCodeView/QrCodeView.js +1 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -1
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +1 -1
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +1 -1
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +2 -2
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +2 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +2 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +2 -2
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +1 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +1 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +1 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +1 -1
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +2 -2
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +2 -2
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +2 -2
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +2 -2
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +2 -2
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +2 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +2 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +2 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +2 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.js +2 -2
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +2 -2
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +2 -2
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +2 -2
- package/src/lib/views/WalletUsedView/WalletUsedView.js +2 -2
- package/src/lib/views/viewToComponentMap.cjs +2 -0
- package/src/lib/views/viewToComponentMap.js +2 -0
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +2 -2
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +3 -3
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +3 -3
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +33 -0
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.d.ts +2 -0
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +29 -0
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +4 -4
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +4 -4
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.cjs +17 -40
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.js +23 -46
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +71 -0
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.d.ts +7 -0
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +67 -0
- package/src/lib/widgets/DynamicWidget/components/PromptModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +2 -2
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +2 -2
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +1 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.d.ts +3 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.js +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +40 -0
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +36 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +51 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +46 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +6 -4
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +7 -6
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +13 -6
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +13 -7
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +8 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +9 -5
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +9 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +11 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +22 -8
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +22 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +10 -6
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +38 -13
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.d.ts +2 -5
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +37 -13
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +2 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +6 -6
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +6 -6
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +2 -2
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +2 -2
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +93 -0
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +89 -0
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +2 -2
- package/src/lib/widgets/DynamicWidget/views/index.d.ts +1 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +2 -2
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +2 -2
- package/src/lib/widgets/index.d.ts +1 -0
- package/src/lib/utils/hooks/useConnectWithEmailOtp/index.d.ts +0 -1
- package/src/lib/utils/hooks/useConnectWithEmailOtp/useConnectWithEmailOtp.cjs +0 -150
- package/src/lib/utils/hooks/useConnectWithEmailOtp/useConnectWithEmailOtp.d.ts +0 -32
- package/src/lib/utils/hooks/useConnectWithEmailOtp/useConnectWithEmailOtp.js +0 -146
|
@@ -46,8 +46,9 @@ require('../../context/QrCodeContext/QrCodeContext.cjs');
|
|
|
46
46
|
var Typography = require('../../components/Typography/Typography.cjs');
|
|
47
47
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
48
48
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
49
|
-
require('
|
|
49
|
+
require('react-focus-lock');
|
|
50
50
|
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
51
|
+
require('qrcode');
|
|
51
52
|
require('i18next');
|
|
52
53
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
53
54
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
@@ -62,7 +63,6 @@ require('../../components/InlineWidget/InlineWidget.cjs');
|
|
|
62
63
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
63
64
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
64
65
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
65
|
-
require('react-focus-lock');
|
|
66
66
|
|
|
67
67
|
const ConnectedWalletsListLayout = ({ title, body, onClickBack, onClickClose, onClickAction, actionButtonText = 'Continue', children, copykey, }) => {
|
|
68
68
|
const closeButton = onClickClose && (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: onClickClose, "data-testid": 'close-button', children: jsxRuntime.jsx(close.ReactComponent, {}) }));
|
|
@@ -42,8 +42,9 @@ import '../../context/QrCodeContext/QrCodeContext.js';
|
|
|
42
42
|
import { Typography } from '../../components/Typography/Typography.js';
|
|
43
43
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
44
44
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
45
|
-
import '
|
|
45
|
+
import 'react-focus-lock';
|
|
46
46
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
47
|
+
import 'qrcode';
|
|
47
48
|
import 'i18next';
|
|
48
49
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
49
50
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
@@ -58,7 +59,6 @@ import '../../components/InlineWidget/InlineWidget.js';
|
|
|
58
59
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
59
60
|
import '../../components/Popper/Popper/Popper.js';
|
|
60
61
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
61
|
-
import 'react-focus-lock';
|
|
62
62
|
|
|
63
63
|
const ConnectedWalletsListLayout = ({ title, body, onClickBack, onClickClose, onClickAction, actionButtonText = 'Continue', children, copykey, }) => {
|
|
64
64
|
const closeButton = onClickClose && (jsx(IconButton, { type: 'button', onClick: onClickClose, "data-testid": 'close-button', children: jsx(SvgClose, {}) }));
|
|
@@ -363,7 +363,7 @@ const translation = {
|
|
|
363
363
|
}
|
|
364
364
|
*/
|
|
365
365
|
dyn_manage_passkeys: {
|
|
366
|
-
title: '
|
|
366
|
+
title: 'Manage passkeys',
|
|
367
367
|
passkey_from: 'from',
|
|
368
368
|
passkey_providers: {
|
|
369
369
|
android: 'Android Phone',
|
|
@@ -377,6 +377,76 @@ const translation = {
|
|
|
377
377
|
},
|
|
378
378
|
recovery_button: 'Set up new passkey',
|
|
379
379
|
},
|
|
380
|
+
/**
|
|
381
|
+
* @description export keys for Dynamic embedded reveal view
|
|
382
|
+
* @default
|
|
383
|
+
* {
|
|
384
|
+
title: 'Export wallet',
|
|
385
|
+
agreement_title: 'Agree to continue',
|
|
386
|
+
private_key_title: 'Private key',
|
|
387
|
+
recovery_phrase_title: 'Secret recovery phrase',
|
|
388
|
+
description:
|
|
389
|
+
'Your wallet is non-custodial, meaning you are always in control of it.',
|
|
390
|
+
statement_1: {
|
|
391
|
+
title: 'Do not publicly share your {{keyType}}',
|
|
392
|
+
description: 'Your {{keyType}} controls your account and assets.',
|
|
393
|
+
},
|
|
394
|
+
checkbox_label:
|
|
395
|
+
'I am responsible for safeguarding and using my wallet key information.',
|
|
396
|
+
reveal_description: 'Make sure to safely back up this information',
|
|
397
|
+
reveal_button_label: 'Reveal',
|
|
398
|
+
copy_button_label: 'Copy to clipboard',
|
|
399
|
+
done_button_label: "I'm Done",
|
|
400
|
+
},
|
|
401
|
+
*/
|
|
402
|
+
dyn_embedded_reveal: {
|
|
403
|
+
title: 'Export wallet',
|
|
404
|
+
agreement_title: 'Agree to continue',
|
|
405
|
+
private_key_title: 'Private key',
|
|
406
|
+
recovery_phrase_title: 'Secret recovery phrase',
|
|
407
|
+
badge_label: 'Sensitive information',
|
|
408
|
+
statement_1: {
|
|
409
|
+
title: 'Your wallet is non-custodial',
|
|
410
|
+
description: 'You are always in control of it.',
|
|
411
|
+
},
|
|
412
|
+
statement_2: {
|
|
413
|
+
title: 'Do not publicly share your wallet key',
|
|
414
|
+
description: 'Your recovery phrase controls your account and assets.',
|
|
415
|
+
},
|
|
416
|
+
checkbox_label: 'I am responsible for safeguarding and using my wallet key information.',
|
|
417
|
+
reveal_description: 'Make sure to safely back up this information',
|
|
418
|
+
reveal_button_label: 'Reveal',
|
|
419
|
+
copy_button_label: 'Copy to clipboard',
|
|
420
|
+
done_button_label: "I'm Done",
|
|
421
|
+
},
|
|
422
|
+
/**
|
|
423
|
+
* @description wallet settings for Dynamic wallet settings view which are used inside dynamic widget
|
|
424
|
+
* @default
|
|
425
|
+
* {
|
|
426
|
+
title: 'Wallet settings',
|
|
427
|
+
signing_section: {
|
|
428
|
+
title: 'Security & Signing Methods',
|
|
429
|
+
passkey_button: 'Passkeys',
|
|
430
|
+
},
|
|
431
|
+
export_section: {
|
|
432
|
+
title: 'Export & Backup',
|
|
433
|
+
srp_button: 'Recovery phrase',
|
|
434
|
+
private_key_button: 'Private key',
|
|
435
|
+
},
|
|
436
|
+
}
|
|
437
|
+
*/
|
|
438
|
+
dyn_wallet_settings: {
|
|
439
|
+
title: 'Wallet settings',
|
|
440
|
+
signing_section: {
|
|
441
|
+
title: 'Security & Signing Methods',
|
|
442
|
+
passkey_button: 'Passkeys',
|
|
443
|
+
},
|
|
444
|
+
export_section: {
|
|
445
|
+
title: 'Export & Backup',
|
|
446
|
+
srp_button: 'Recovery phrase',
|
|
447
|
+
private_key_button: 'Private key',
|
|
448
|
+
},
|
|
449
|
+
},
|
|
380
450
|
/**
|
|
381
451
|
* @description copy keys for merge user accounts view
|
|
382
452
|
* @default
|
|
@@ -1076,6 +1146,42 @@ const translation = {
|
|
|
1076
1146
|
empty_wallets_action_link: 'Link',
|
|
1077
1147
|
empty_wallets_action_connect: 'Connect',
|
|
1078
1148
|
},
|
|
1149
|
+
/**
|
|
1150
|
+
* @description copy keys for Unlink wallet prompt
|
|
1151
|
+
* @default
|
|
1152
|
+
* {
|
|
1153
|
+
disconnect_title: 'Disconnect your wallet?',
|
|
1154
|
+
unlink_title: 'Unlink your wallet?',
|
|
1155
|
+
disconnect_description: 'Are you sure you want to disconnect your wallet?',
|
|
1156
|
+
unlink_description: 'Are you sure you want to unlink your wallet?',
|
|
1157
|
+
disconnect_button: 'Yes, disconnect',
|
|
1158
|
+
unlink_button: 'Yes, unlink',
|
|
1159
|
+
cancel_button: 'No',
|
|
1160
|
+
}
|
|
1161
|
+
*/
|
|
1162
|
+
dyn_unlink_wallet_pop_up: {
|
|
1163
|
+
disconnect_title: 'Disconnect your wallet?',
|
|
1164
|
+
unlink_title: 'Unlink your wallet?',
|
|
1165
|
+
disconnect_description: 'Are you sure you want to disconnect your wallet?',
|
|
1166
|
+
unlink_description: 'Are you sure you want to unlink your wallet?',
|
|
1167
|
+
disconnect_button: 'Yes, disconnect',
|
|
1168
|
+
unlink_button: 'Yes, unlink',
|
|
1169
|
+
cancel_button: 'No',
|
|
1170
|
+
},
|
|
1171
|
+
/**
|
|
1172
|
+
* @description copy keys for Detected new wallet prompt
|
|
1173
|
+
* @default
|
|
1174
|
+
* {
|
|
1175
|
+
title: 'Account Change Detected',
|
|
1176
|
+
description: 'Your active account in {{walletName}} has changed. This account is not currently linked to this app. Do you want to add it?',
|
|
1177
|
+
confirm_button: 'Yes, link this wallet',
|
|
1178
|
+
}
|
|
1179
|
+
*/
|
|
1180
|
+
dyn_detected_new_wallet: {
|
|
1181
|
+
title: 'Account Change Detected',
|
|
1182
|
+
description: 'Your active account in {{walletName}} has changed. This account is not currently linked to this app. Do you want to add it?',
|
|
1183
|
+
confirm_button: 'Yes, link this wallet',
|
|
1184
|
+
},
|
|
1079
1185
|
};
|
|
1080
1186
|
|
|
1081
1187
|
exports.translation = translation;
|
|
@@ -372,6 +372,76 @@ export declare const translation: {
|
|
|
372
372
|
};
|
|
373
373
|
recovery_button: string;
|
|
374
374
|
};
|
|
375
|
+
/**
|
|
376
|
+
* @description export keys for Dynamic embedded reveal view
|
|
377
|
+
* @default
|
|
378
|
+
* {
|
|
379
|
+
title: 'Export wallet',
|
|
380
|
+
agreement_title: 'Agree to continue',
|
|
381
|
+
private_key_title: 'Private key',
|
|
382
|
+
recovery_phrase_title: 'Secret recovery phrase',
|
|
383
|
+
description:
|
|
384
|
+
'Your wallet is non-custodial, meaning you are always in control of it.',
|
|
385
|
+
statement_1: {
|
|
386
|
+
title: 'Do not publicly share your {{keyType}}',
|
|
387
|
+
description: 'Your {{keyType}} controls your account and assets.',
|
|
388
|
+
},
|
|
389
|
+
checkbox_label:
|
|
390
|
+
'I am responsible for safeguarding and using my wallet key information.',
|
|
391
|
+
reveal_description: 'Make sure to safely back up this information',
|
|
392
|
+
reveal_button_label: 'Reveal',
|
|
393
|
+
copy_button_label: 'Copy to clipboard',
|
|
394
|
+
done_button_label: "I'm Done",
|
|
395
|
+
},
|
|
396
|
+
*/
|
|
397
|
+
dyn_embedded_reveal: {
|
|
398
|
+
title: string;
|
|
399
|
+
agreement_title: string;
|
|
400
|
+
private_key_title: string;
|
|
401
|
+
recovery_phrase_title: string;
|
|
402
|
+
badge_label: string;
|
|
403
|
+
statement_1: {
|
|
404
|
+
title: string;
|
|
405
|
+
description: string;
|
|
406
|
+
};
|
|
407
|
+
statement_2: {
|
|
408
|
+
title: string;
|
|
409
|
+
description: string;
|
|
410
|
+
};
|
|
411
|
+
checkbox_label: string;
|
|
412
|
+
reveal_description: string;
|
|
413
|
+
reveal_button_label: string;
|
|
414
|
+
copy_button_label: string;
|
|
415
|
+
done_button_label: string;
|
|
416
|
+
};
|
|
417
|
+
/**
|
|
418
|
+
* @description wallet settings for Dynamic wallet settings view which are used inside dynamic widget
|
|
419
|
+
* @default
|
|
420
|
+
* {
|
|
421
|
+
title: 'Wallet settings',
|
|
422
|
+
signing_section: {
|
|
423
|
+
title: 'Security & Signing Methods',
|
|
424
|
+
passkey_button: 'Passkeys',
|
|
425
|
+
},
|
|
426
|
+
export_section: {
|
|
427
|
+
title: 'Export & Backup',
|
|
428
|
+
srp_button: 'Recovery phrase',
|
|
429
|
+
private_key_button: 'Private key',
|
|
430
|
+
},
|
|
431
|
+
}
|
|
432
|
+
*/
|
|
433
|
+
dyn_wallet_settings: {
|
|
434
|
+
title: string;
|
|
435
|
+
signing_section: {
|
|
436
|
+
title: string;
|
|
437
|
+
passkey_button: string;
|
|
438
|
+
};
|
|
439
|
+
export_section: {
|
|
440
|
+
title: string;
|
|
441
|
+
srp_button: string;
|
|
442
|
+
private_key_button: string;
|
|
443
|
+
};
|
|
444
|
+
};
|
|
375
445
|
/**
|
|
376
446
|
* @description copy keys for merge user accounts view
|
|
377
447
|
* @default
|
|
@@ -1071,4 +1141,40 @@ export declare const translation: {
|
|
|
1071
1141
|
empty_wallets_action_link: string;
|
|
1072
1142
|
empty_wallets_action_connect: string;
|
|
1073
1143
|
};
|
|
1144
|
+
/**
|
|
1145
|
+
* @description copy keys for Unlink wallet prompt
|
|
1146
|
+
* @default
|
|
1147
|
+
* {
|
|
1148
|
+
disconnect_title: 'Disconnect your wallet?',
|
|
1149
|
+
unlink_title: 'Unlink your wallet?',
|
|
1150
|
+
disconnect_description: 'Are you sure you want to disconnect your wallet?',
|
|
1151
|
+
unlink_description: 'Are you sure you want to unlink your wallet?',
|
|
1152
|
+
disconnect_button: 'Yes, disconnect',
|
|
1153
|
+
unlink_button: 'Yes, unlink',
|
|
1154
|
+
cancel_button: 'No',
|
|
1155
|
+
}
|
|
1156
|
+
*/
|
|
1157
|
+
dyn_unlink_wallet_pop_up: {
|
|
1158
|
+
disconnect_title: string;
|
|
1159
|
+
unlink_title: string;
|
|
1160
|
+
disconnect_description: string;
|
|
1161
|
+
unlink_description: string;
|
|
1162
|
+
disconnect_button: string;
|
|
1163
|
+
unlink_button: string;
|
|
1164
|
+
cancel_button: string;
|
|
1165
|
+
};
|
|
1166
|
+
/**
|
|
1167
|
+
* @description copy keys for Detected new wallet prompt
|
|
1168
|
+
* @default
|
|
1169
|
+
* {
|
|
1170
|
+
title: 'Account Change Detected',
|
|
1171
|
+
description: 'Your active account in {{walletName}} has changed. This account is not currently linked to this app. Do you want to add it?',
|
|
1172
|
+
confirm_button: 'Yes, link this wallet',
|
|
1173
|
+
}
|
|
1174
|
+
*/
|
|
1175
|
+
dyn_detected_new_wallet: {
|
|
1176
|
+
title: string;
|
|
1177
|
+
description: string;
|
|
1178
|
+
confirm_button: string;
|
|
1179
|
+
};
|
|
1074
1180
|
};
|
|
@@ -359,7 +359,7 @@ const translation = {
|
|
|
359
359
|
}
|
|
360
360
|
*/
|
|
361
361
|
dyn_manage_passkeys: {
|
|
362
|
-
title: '
|
|
362
|
+
title: 'Manage passkeys',
|
|
363
363
|
passkey_from: 'from',
|
|
364
364
|
passkey_providers: {
|
|
365
365
|
android: 'Android Phone',
|
|
@@ -373,6 +373,76 @@ const translation = {
|
|
|
373
373
|
},
|
|
374
374
|
recovery_button: 'Set up new passkey',
|
|
375
375
|
},
|
|
376
|
+
/**
|
|
377
|
+
* @description export keys for Dynamic embedded reveal view
|
|
378
|
+
* @default
|
|
379
|
+
* {
|
|
380
|
+
title: 'Export wallet',
|
|
381
|
+
agreement_title: 'Agree to continue',
|
|
382
|
+
private_key_title: 'Private key',
|
|
383
|
+
recovery_phrase_title: 'Secret recovery phrase',
|
|
384
|
+
description:
|
|
385
|
+
'Your wallet is non-custodial, meaning you are always in control of it.',
|
|
386
|
+
statement_1: {
|
|
387
|
+
title: 'Do not publicly share your {{keyType}}',
|
|
388
|
+
description: 'Your {{keyType}} controls your account and assets.',
|
|
389
|
+
},
|
|
390
|
+
checkbox_label:
|
|
391
|
+
'I am responsible for safeguarding and using my wallet key information.',
|
|
392
|
+
reveal_description: 'Make sure to safely back up this information',
|
|
393
|
+
reveal_button_label: 'Reveal',
|
|
394
|
+
copy_button_label: 'Copy to clipboard',
|
|
395
|
+
done_button_label: "I'm Done",
|
|
396
|
+
},
|
|
397
|
+
*/
|
|
398
|
+
dyn_embedded_reveal: {
|
|
399
|
+
title: 'Export wallet',
|
|
400
|
+
agreement_title: 'Agree to continue',
|
|
401
|
+
private_key_title: 'Private key',
|
|
402
|
+
recovery_phrase_title: 'Secret recovery phrase',
|
|
403
|
+
badge_label: 'Sensitive information',
|
|
404
|
+
statement_1: {
|
|
405
|
+
title: 'Your wallet is non-custodial',
|
|
406
|
+
description: 'You are always in control of it.',
|
|
407
|
+
},
|
|
408
|
+
statement_2: {
|
|
409
|
+
title: 'Do not publicly share your wallet key',
|
|
410
|
+
description: 'Your recovery phrase controls your account and assets.',
|
|
411
|
+
},
|
|
412
|
+
checkbox_label: 'I am responsible for safeguarding and using my wallet key information.',
|
|
413
|
+
reveal_description: 'Make sure to safely back up this information',
|
|
414
|
+
reveal_button_label: 'Reveal',
|
|
415
|
+
copy_button_label: 'Copy to clipboard',
|
|
416
|
+
done_button_label: "I'm Done",
|
|
417
|
+
},
|
|
418
|
+
/**
|
|
419
|
+
* @description wallet settings for Dynamic wallet settings view which are used inside dynamic widget
|
|
420
|
+
* @default
|
|
421
|
+
* {
|
|
422
|
+
title: 'Wallet settings',
|
|
423
|
+
signing_section: {
|
|
424
|
+
title: 'Security & Signing Methods',
|
|
425
|
+
passkey_button: 'Passkeys',
|
|
426
|
+
},
|
|
427
|
+
export_section: {
|
|
428
|
+
title: 'Export & Backup',
|
|
429
|
+
srp_button: 'Recovery phrase',
|
|
430
|
+
private_key_button: 'Private key',
|
|
431
|
+
},
|
|
432
|
+
}
|
|
433
|
+
*/
|
|
434
|
+
dyn_wallet_settings: {
|
|
435
|
+
title: 'Wallet settings',
|
|
436
|
+
signing_section: {
|
|
437
|
+
title: 'Security & Signing Methods',
|
|
438
|
+
passkey_button: 'Passkeys',
|
|
439
|
+
},
|
|
440
|
+
export_section: {
|
|
441
|
+
title: 'Export & Backup',
|
|
442
|
+
srp_button: 'Recovery phrase',
|
|
443
|
+
private_key_button: 'Private key',
|
|
444
|
+
},
|
|
445
|
+
},
|
|
376
446
|
/**
|
|
377
447
|
* @description copy keys for merge user accounts view
|
|
378
448
|
* @default
|
|
@@ -1072,6 +1142,42 @@ const translation = {
|
|
|
1072
1142
|
empty_wallets_action_link: 'Link',
|
|
1073
1143
|
empty_wallets_action_connect: 'Connect',
|
|
1074
1144
|
},
|
|
1145
|
+
/**
|
|
1146
|
+
* @description copy keys for Unlink wallet prompt
|
|
1147
|
+
* @default
|
|
1148
|
+
* {
|
|
1149
|
+
disconnect_title: 'Disconnect your wallet?',
|
|
1150
|
+
unlink_title: 'Unlink your wallet?',
|
|
1151
|
+
disconnect_description: 'Are you sure you want to disconnect your wallet?',
|
|
1152
|
+
unlink_description: 'Are you sure you want to unlink your wallet?',
|
|
1153
|
+
disconnect_button: 'Yes, disconnect',
|
|
1154
|
+
unlink_button: 'Yes, unlink',
|
|
1155
|
+
cancel_button: 'No',
|
|
1156
|
+
}
|
|
1157
|
+
*/
|
|
1158
|
+
dyn_unlink_wallet_pop_up: {
|
|
1159
|
+
disconnect_title: 'Disconnect your wallet?',
|
|
1160
|
+
unlink_title: 'Unlink your wallet?',
|
|
1161
|
+
disconnect_description: 'Are you sure you want to disconnect your wallet?',
|
|
1162
|
+
unlink_description: 'Are you sure you want to unlink your wallet?',
|
|
1163
|
+
disconnect_button: 'Yes, disconnect',
|
|
1164
|
+
unlink_button: 'Yes, unlink',
|
|
1165
|
+
cancel_button: 'No',
|
|
1166
|
+
},
|
|
1167
|
+
/**
|
|
1168
|
+
* @description copy keys for Detected new wallet prompt
|
|
1169
|
+
* @default
|
|
1170
|
+
* {
|
|
1171
|
+
title: 'Account Change Detected',
|
|
1172
|
+
description: 'Your active account in {{walletName}} has changed. This account is not currently linked to this app. Do you want to add it?',
|
|
1173
|
+
confirm_button: 'Yes, link this wallet',
|
|
1174
|
+
}
|
|
1175
|
+
*/
|
|
1176
|
+
dyn_detected_new_wallet: {
|
|
1177
|
+
title: 'Account Change Detected',
|
|
1178
|
+
description: 'Your active account in {{walletName}} has changed. This account is not currently linked to this app. Do you want to add it?',
|
|
1179
|
+
confirm_button: 'Yes, link this wallet',
|
|
1180
|
+
},
|
|
1075
1181
|
};
|
|
1076
1182
|
|
|
1077
1183
|
export { translation };
|
|
@@ -41,9 +41,12 @@ require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
|
41
41
|
require('../../components/ShadowDOM/ShadowDOM.cjs');
|
|
42
42
|
require('../../components/OverlayCard/OverlayCard.context.cjs');
|
|
43
43
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
44
|
+
var Modal = require('../../components/Modal/Modal.cjs');
|
|
45
|
+
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
46
|
+
require('react-focus-lock');
|
|
47
|
+
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
44
48
|
require('qrcode');
|
|
45
49
|
require('../../context/QrCodeContext/QrCodeContext.cjs');
|
|
46
|
-
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
47
50
|
require('i18next');
|
|
48
51
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
49
52
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
@@ -56,11 +59,8 @@ var WalletProgressStepper = require('../../layout/DynamicAuthLayout/WalletProgre
|
|
|
56
59
|
var useAuthLayoutChecks = require('../../utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs');
|
|
57
60
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
58
61
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
59
|
-
var Modal = require('../../components/Modal/Modal.cjs');
|
|
60
|
-
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
61
62
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
62
63
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
63
|
-
require('react-focus-lock');
|
|
64
64
|
|
|
65
65
|
const DynamicAuthModal = ({ children, onClose, transitionProps, walletConnector, projectSettings, className, }) => {
|
|
66
66
|
const { showConnectedWalletProgress } = useAuthLayoutChecks.useAuthLayoutChecks(walletConnector);
|
|
@@ -37,9 +37,12 @@ import '../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
|
37
37
|
import '../../components/ShadowDOM/ShadowDOM.js';
|
|
38
38
|
import '../../components/OverlayCard/OverlayCard.context.js';
|
|
39
39
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
40
|
+
import { Modal } from '../../components/Modal/Modal.js';
|
|
41
|
+
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
42
|
+
import 'react-focus-lock';
|
|
43
|
+
import '../../context/LoadingContext/LoadingContext.js';
|
|
40
44
|
import 'qrcode';
|
|
41
45
|
import '../../context/QrCodeContext/QrCodeContext.js';
|
|
42
|
-
import '../../context/LoadingContext/LoadingContext.js';
|
|
43
46
|
import 'i18next';
|
|
44
47
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
45
48
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
@@ -52,11 +55,8 @@ import { WalletProgressStepper } from '../../layout/DynamicAuthLayout/WalletProg
|
|
|
52
55
|
import { useAuthLayoutChecks } from '../../utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js';
|
|
53
56
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
54
57
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
55
|
-
import { Modal } from '../../components/Modal/Modal.js';
|
|
56
|
-
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
57
58
|
import '../../components/Popper/Popper/Popper.js';
|
|
58
59
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
59
|
-
import 'react-focus-lock';
|
|
60
60
|
|
|
61
61
|
const DynamicAuthModal = ({ children, onClose, transitionProps, walletConnector, projectSettings, className, }) => {
|
|
62
62
|
const { showConnectedWalletProgress } = useAuthLayoutChecks(walletConnector);
|
|
@@ -45,8 +45,11 @@ require('../../context/FooterAnimationContext/index.cjs');
|
|
|
45
45
|
require('../../context/QrCodeContext/QrCodeContext.cjs');
|
|
46
46
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
47
47
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
48
|
-
require('
|
|
48
|
+
var Modal = require('../../components/Modal/Modal.cjs');
|
|
49
|
+
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
50
|
+
var Portal = require('../../components/Portal/Portal.cjs');
|
|
49
51
|
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
52
|
+
require('qrcode');
|
|
50
53
|
require('i18next');
|
|
51
54
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
52
55
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
@@ -58,11 +61,8 @@ require('../../components/Alert/Alert.cjs');
|
|
|
58
61
|
require('../../components/IconButton/IconButton.cjs');
|
|
59
62
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
60
63
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
61
|
-
var Modal = require('../../components/Modal/Modal.cjs');
|
|
62
|
-
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
63
64
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
64
65
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
65
|
-
var Portal = require('../../components/Portal/Portal.cjs');
|
|
66
66
|
|
|
67
67
|
const SendBalanceModal = ({ initialRecipientAddress, initialValue, onReject, onSuccess, }) => {
|
|
68
68
|
usePreventPageScroll.usePreventPageScroll(true);
|
|
@@ -41,8 +41,11 @@ import '../../context/FooterAnimationContext/index.js';
|
|
|
41
41
|
import '../../context/QrCodeContext/QrCodeContext.js';
|
|
42
42
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
43
43
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
44
|
-
import '
|
|
44
|
+
import { Modal } from '../../components/Modal/Modal.js';
|
|
45
|
+
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
46
|
+
import { Portal } from '../../components/Portal/Portal.js';
|
|
45
47
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
48
|
+
import 'qrcode';
|
|
46
49
|
import 'i18next';
|
|
47
50
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
48
51
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
@@ -54,11 +57,8 @@ import '../../components/Alert/Alert.js';
|
|
|
54
57
|
import '../../components/IconButton/IconButton.js';
|
|
55
58
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
56
59
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
57
|
-
import { Modal } from '../../components/Modal/Modal.js';
|
|
58
|
-
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
59
60
|
import '../../components/Popper/Popper/Popper.js';
|
|
60
61
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
61
|
-
import { Portal } from '../../components/Portal/Portal.js';
|
|
62
62
|
|
|
63
63
|
const SendBalanceModal = ({ initialRecipientAddress, initialValue, onReject, onSuccess, }) => {
|
|
64
64
|
usePreventPageScroll(true);
|
|
@@ -51,9 +51,12 @@ var useIsTurnkeyWallet = require('../../utils/hooks/useIsTurnkeyWallet/useIsTurn
|
|
|
51
51
|
var PoweredByDynamic = require('../../components/PoweredByDynamic/PoweredByDynamic.cjs');
|
|
52
52
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
53
53
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
54
|
+
var Modal = require('../../components/Modal/Modal.cjs');
|
|
55
|
+
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
56
|
+
var Portal = require('../../components/Portal/Portal.cjs');
|
|
54
57
|
var IconWithSpinner = require('../../components/IconWithSpinner/IconWithSpinner.cjs');
|
|
55
|
-
require('qrcode');
|
|
56
58
|
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
59
|
+
require('qrcode');
|
|
57
60
|
var Icon = require('../../components/Icon/Icon.cjs');
|
|
58
61
|
require('i18next');
|
|
59
62
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
@@ -73,12 +76,9 @@ require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/
|
|
|
73
76
|
var getProperErrorMessage = require('./getProperErrorMessage.cjs');
|
|
74
77
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
75
78
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
76
|
-
var Modal = require('../../components/Modal/Modal.cjs');
|
|
77
|
-
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
78
79
|
var NeedHelpSection = require('../../components/NeedHelpSection/NeedHelpSection.cjs');
|
|
79
80
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
80
81
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
81
|
-
var Portal = require('../../components/Portal/Portal.cjs');
|
|
82
82
|
var SignMessagePreview = require('../../components/SignMessagePreview/SignMessagePreview.cjs');
|
|
83
83
|
|
|
84
84
|
const SignMessageConfirmationModal = ({ appLogoUrl, appName, appOrigin, message, handler, onReject, onSignMessage, }) => {
|
|
@@ -47,9 +47,12 @@ import { useIsTurnkeyWallet } from '../../utils/hooks/useIsTurnkeyWallet/useIsTu
|
|
|
47
47
|
import { PoweredByDynamic } from '../../components/PoweredByDynamic/PoweredByDynamic.js';
|
|
48
48
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
49
49
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
50
|
+
import { Modal } from '../../components/Modal/Modal.js';
|
|
51
|
+
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
52
|
+
import { Portal } from '../../components/Portal/Portal.js';
|
|
50
53
|
import { IconWithSpinner } from '../../components/IconWithSpinner/IconWithSpinner.js';
|
|
51
|
-
import 'qrcode';
|
|
52
54
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
55
|
+
import 'qrcode';
|
|
53
56
|
import { Icon } from '../../components/Icon/Icon.js';
|
|
54
57
|
import 'i18next';
|
|
55
58
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
@@ -69,12 +72,9 @@ import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/P
|
|
|
69
72
|
import { getProperErrorMessage } from './getProperErrorMessage.js';
|
|
70
73
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
71
74
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
72
|
-
import { Modal } from '../../components/Modal/Modal.js';
|
|
73
|
-
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
74
75
|
import { NeedHelpSection } from '../../components/NeedHelpSection/NeedHelpSection.js';
|
|
75
76
|
import '../../components/Popper/Popper/Popper.js';
|
|
76
77
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
77
|
-
import { Portal } from '../../components/Portal/Portal.js';
|
|
78
78
|
import { SignMessagePreview } from '../../components/SignMessagePreview/SignMessagePreview.js';
|
|
79
79
|
|
|
80
80
|
const SignMessageConfirmationModal = ({ appLogoUrl, appName, appOrigin, message, handler, onReject, onSignMessage, }) => {
|
|
@@ -47,8 +47,11 @@ require('../../context/FooterAnimationContext/index.cjs');
|
|
|
47
47
|
require('../../context/QrCodeContext/QrCodeContext.cjs');
|
|
48
48
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
49
49
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
50
|
-
require('
|
|
50
|
+
var Modal = require('../../components/Modal/Modal.cjs');
|
|
51
|
+
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
52
|
+
var Portal = require('../../components/Portal/Portal.cjs');
|
|
51
53
|
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
54
|
+
require('qrcode');
|
|
52
55
|
require('i18next');
|
|
53
56
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
54
57
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
@@ -59,11 +62,8 @@ var TransactionConfirmationView = require('../../views/TransactionConfirmationVi
|
|
|
59
62
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
60
63
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
61
64
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
62
|
-
var Modal = require('../../components/Modal/Modal.cjs');
|
|
63
|
-
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
64
65
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
65
66
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
66
|
-
var Portal = require('../../components/Portal/Portal.cjs');
|
|
67
67
|
|
|
68
68
|
const TransactionConfirmationModal = ({ title, handler, onReject, onTransactionResponseSuccess, transaction, provider, walletConnector, copykey, }) => {
|
|
69
69
|
usePreventPageScroll.usePreventPageScroll(true);
|
|
@@ -43,8 +43,11 @@ import '../../context/FooterAnimationContext/index.js';
|
|
|
43
43
|
import '../../context/QrCodeContext/QrCodeContext.js';
|
|
44
44
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
45
45
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
46
|
-
import '
|
|
46
|
+
import { Modal } from '../../components/Modal/Modal.js';
|
|
47
|
+
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
48
|
+
import { Portal } from '../../components/Portal/Portal.js';
|
|
47
49
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
50
|
+
import 'qrcode';
|
|
48
51
|
import 'i18next';
|
|
49
52
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
50
53
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
@@ -55,11 +58,8 @@ import { TransactionConfirmationView } from '../../views/TransactionConfirmation
|
|
|
55
58
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
56
59
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
57
60
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
58
|
-
import { Modal } from '../../components/Modal/Modal.js';
|
|
59
|
-
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
60
61
|
import '../../components/Popper/Popper/Popper.js';
|
|
61
62
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
62
|
-
import { Portal } from '../../components/Portal/Portal.js';
|
|
63
63
|
|
|
64
64
|
const TransactionConfirmationModal = ({ title, handler, onReject, onTransactionResponseSuccess, transaction, provider, walletConnector, copykey, }) => {
|
|
65
65
|
usePreventPageScroll(true);
|
|
@@ -44,8 +44,11 @@ require('../../context/FooterAnimationContext/index.cjs');
|
|
|
44
44
|
require('../../context/QrCodeContext/QrCodeContext.cjs');
|
|
45
45
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
46
46
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
47
|
-
require('
|
|
47
|
+
var Modal = require('../../components/Modal/Modal.cjs');
|
|
48
|
+
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
49
|
+
var Portal = require('../../components/Portal/Portal.cjs');
|
|
48
50
|
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
51
|
+
require('qrcode');
|
|
49
52
|
require('i18next');
|
|
50
53
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
51
54
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
@@ -57,11 +60,8 @@ require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/
|
|
|
57
60
|
var UserFieldEditorView = require('../../views/UserFieldEditorView/UserFieldEditorView.cjs');
|
|
58
61
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
59
62
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
60
|
-
var Modal = require('../../components/Modal/Modal.cjs');
|
|
61
|
-
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
62
63
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
63
64
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
64
|
-
var Portal = require('../../components/Portal/Portal.cjs');
|
|
65
65
|
|
|
66
66
|
const UserFieldEditorModal = (_a) => {
|
|
67
67
|
var { onCancel, onSubmit, fields } = _a, textOptions = _tslib.__rest(_a, ["onCancel", "onSubmit", "fields"]);
|