@dynamic-labs/sdk-react-core 0.17.0-RC.17 → 0.17.0-RC.19
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 +28 -0
- package/package.cjs +10 -10
- package/package.js +10 -10
- package/package.json +17 -17
- package/src/index.cjs +8 -0
- package/src/index.js +5 -0
- package/src/lib/Main.cjs +2 -0
- package/src/lib/Main.js +2 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +2 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +2 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +2 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.js +2 -0
- package/src/lib/components/AppOriginTile/AppOriginTile.types.d.ts +1 -1
- package/src/lib/components/Divider/Divider.cjs +2 -0
- package/src/lib/components/Divider/Divider.js +2 -0
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs +2 -2
- package/src/lib/components/ErrorContainer/ErrorContainer.d.ts +3 -1
- package/src/lib/components/ErrorContainer/ErrorContainer.js +2 -2
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +1 -0
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +1 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +1 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +1 -0
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +1 -0
- package/src/lib/components/IconWithStatus/IconWithStatus.js +1 -0
- package/src/lib/components/Input/Input.cjs +13 -6
- package/src/lib/components/Input/Input.js +14 -7
- package/src/lib/components/Input/Input.types.d.ts +4 -0
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.cjs +2 -0
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.js +2 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +2 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +2 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +2 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.js +2 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +2 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +2 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +2 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +2 -0
- package/src/lib/components/OverlayCard/OverlayCard.cjs +2 -0
- package/src/lib/components/OverlayCard/OverlayCard.js +2 -0
- package/src/lib/components/Portal/Portal.cjs +2 -0
- package/src/lib/components/Portal/Portal.js +2 -0
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +24 -0
- package/src/lib/components/SendBalanceForm/SendBalanceForm.d.ts +10 -0
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +22 -0
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.d.ts +16 -0
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.d.ts +8 -0
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/index.d.ts +1 -0
- package/src/lib/components/SendBalancePageLayout/components/index.d.ts +1 -0
- package/src/lib/components/SendBalancePageLayout/index.d.ts +2 -0
- package/src/lib/components/Tooltip/Tooltip.cjs +2 -0
- package/src/lib/components/Tooltip/Tooltip.js +2 -0
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.d.ts +1 -1
- package/src/lib/components/TransactionOriginDestination/TransactionOriginDestination.d.ts +11 -0
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.d.ts +11 -0
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +2 -0
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +2 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +2 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +2 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +2 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +2 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +2 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +2 -0
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/DynamicContext.cjs +3 -2
- package/src/lib/context/DynamicContext/DynamicContext.js +3 -2
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +1 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +2 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +2 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +2 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.js +2 -0
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +59 -20
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.d.ts +3 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +60 -21
- package/src/lib/context/ViewContext/ViewContext.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +2 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +2 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.cjs +2 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.js +2 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.cjs +2 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.js +2 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +2 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +2 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +2 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.js +2 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +13 -3
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +13 -3
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +2 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +2 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +22 -70
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +24 -72
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.types.d.ts +0 -3
- package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.cjs +2 -1
- package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.js +2 -1
- package/src/lib/shared/utils/functions/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/trimEnd/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/trimEnd/trimEnd.cjs +13 -0
- package/src/lib/shared/utils/functions/trimEnd/trimEnd.d.ts +1 -0
- package/src/lib/shared/utils/functions/trimEnd/trimEnd.js +9 -0
- package/src/lib/shared/utils/hooks/index.d.ts +2 -0
- package/src/lib/shared/utils/hooks/useIsMounted/index.d.ts +1 -0
- package/src/lib/shared/utils/hooks/useIsMounted/useIsMounted.cjs +18 -0
- package/src/lib/shared/utils/hooks/useIsMounted/useIsMounted.d.ts +1 -0
- package/src/lib/shared/utils/hooks/useIsMounted/useIsMounted.js +14 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/functions/getAppOrigin/getAppOrigin.cjs +12 -0
- package/src/lib/utils/functions/getAppOrigin/getAppOrigin.d.ts +1 -0
- package/src/lib/utils/functions/getAppOrigin/getAppOrigin.js +8 -0
- package/src/lib/utils/functions/getAppOrigin/index.d.ts +1 -0
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.cjs +29 -0
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.d.ts +7 -0
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.js +25 -0
- package/src/lib/utils/functions/getReferencedAccount/index.d.ts +1 -0
- package/src/lib/utils/functions/index.d.ts +2 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +1 -0
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +1 -0
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +12 -3
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +12 -3
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +1 -1
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.cjs +37 -0
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.d.ts +8 -0
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.js +33 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +7 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +8 -1
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +4 -3
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +4 -3
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +1 -1
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +1 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +19 -17
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +19 -17
- package/src/lib/utils/hooks/useWallets/useWallets.cjs +26 -36
- package/src/lib/utils/hooks/useWallets/useWallets.d.ts +1 -2
- package/src/lib/utils/hooks/useWallets/useWallets.js +27 -37
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +2 -0
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +2 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +1 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +1 -0
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +2 -0
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +2 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +2 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +2 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +2 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +2 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +2 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +2 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +2 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.js +2 -0
- package/src/lib/views/EmailVerification/EmailVerification.cjs +2 -0
- package/src/lib/views/EmailVerification/EmailVerification.js +2 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +2 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +2 -0
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.cjs +2 -0
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.js +2 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs +2 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.js +2 -0
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.cjs +2 -0
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.js +2 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +2 -1
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +2 -1
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +1 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +1 -0
- package/src/lib/views/NoAccess/NoAccess.cjs +1 -0
- package/src/lib/views/NoAccess/NoAccess.js +1 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +1 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +1 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +2 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +2 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.js +1 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +1 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +1 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +2 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +2 -0
- package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -0
- package/src/lib/views/QrCodeView/QrCodeView.js +1 -0
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +5 -8
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +5 -8
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +58 -0
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.d.ts +2 -0
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +54 -0
- package/src/lib/views/SocialWrongAccountView/index.d.ts +1 -0
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +92 -0
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.d.ts +13 -0
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +88 -0
- package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/helpers/transactionErrorMessage.cjs +6 -1
- package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/helpers/transactionErrorMessage.d.ts +1 -0
- package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/helpers/transactionErrorMessage.js +6 -1
- package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/hooks/useTransactionData/useTransactionData.cjs +2 -0
- package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/hooks/useTransactionData/useTransactionData.js +2 -0
- package/src/lib/views/TransactionConfirmationView/index.d.ts +2 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.cjs +2 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.js +2 -0
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +1 -0
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +1 -0
- package/src/lib/views/WalletList/data.cjs +4 -5
- package/src/lib/views/WalletList/data.d.ts +2 -2
- package/src/lib/views/WalletList/data.js +4 -5
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +1 -0
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +1 -0
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +1 -0
- package/src/lib/views/WalletUsedView/WalletUsedView.js +1 -0
- package/src/lib/views/viewToComponentMap.cjs +2 -0
- package/src/lib/views/viewToComponentMap.js +2 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +11 -5
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +11 -5
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +2 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +2 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +2 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +2 -0
- package/src/lib/widgets/DynamicWidget/views/IndexView/IndexView.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/views/IndexView/IndexView.js +2 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +2 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +2 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +2 -0
- /package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/hooks/index.d.ts +0 -0
- /package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/hooks/useTransactionData/index.d.ts +0 -0
- /package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/hooks/useTransactionData/useTransactionData.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
|
|
2
|
+
## [0.17.0-RC.19](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.18...v0.17.0-RC.19) (2023-05-30)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add SocialWrongAccountView ([#2153](https://github.com/dynamic-labs/DynamicAuth/issues/2153)) ([531a29d](https://github.com/dynamic-labs/DynamicAuth/commit/531a29d7d87739d974ecc35c57ef0d333a5e7451))
|
|
8
|
+
* do not show unlink button for embedded wallets ([#2169](https://github.com/dynamic-labs/DynamicAuth/issues/2169)) ([f813058](https://github.com/dynamic-labs/DynamicAuth/commit/f8130585c82c7ae73d1e32e107f67ec86b4edb89))
|
|
9
|
+
* **DYN-2402:** coinbase issues after disconnecting ([#2149](https://github.com/dynamic-labs/DynamicAuth/issues/2149)) ([91d49fb](https://github.com/dynamic-labs/DynamicAuth/commit/91d49fb7f8c6fca3ab03098f3fba53d277c836ad))
|
|
10
|
+
* handle user reconnecting with wrong social account ([#2157](https://github.com/dynamic-labs/DynamicAuth/issues/2157)) ([4f7c6df](https://github.com/dynamic-labs/DynamicAuth/commit/4f7c6dff7df9a7966a644bf2510cb3825b2c6408))
|
|
11
|
+
* **social:** handle reconnect ([#2131](https://github.com/dynamic-labs/DynamicAuth/issues/2131)) ([2b3e5fb](https://github.com/dynamic-labs/DynamicAuth/commit/2b3e5fbb72bb7dafee3bd0bbfa73fae444055410))
|
|
12
|
+
|
|
13
|
+
## [0.17.0-RC.18](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.17...v0.17.0-RC.18) (2023-05-19)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* add getReferencedAccount ([#2141](https://github.com/dynamic-labs/DynamicAuth/issues/2141)) ([ac170a6](https://github.com/dynamic-labs/DynamicAuth/commit/ac170a6dfac25ff9911feb390495974aa5dbede6))
|
|
19
|
+
* add reconnectSocialWallet ([#2142](https://github.com/dynamic-labs/DynamicAuth/issues/2142)) ([fefd759](https://github.com/dynamic-labs/DynamicAuth/commit/fefd759b816b286dd8a7673cf6c839fee59768ac))
|
|
20
|
+
* **DYN-2220:** add Transaction Successfully Sent view ([#2134](https://github.com/dynamic-labs/DynamicAuth/issues/2134)) ([7db96ad](https://github.com/dynamic-labs/DynamicAuth/commit/7db96adcd3b84aef29fbabe40a1e048ea629d2bb))
|
|
21
|
+
* **MagicSocialWalletConnector:** store public address from redirect result in local storage ([#2139](https://github.com/dynamic-labs/DynamicAuth/issues/2139)) ([90b60e4](https://github.com/dynamic-labs/DynamicAuth/commit/90b60e485a53ff29a0e52ef27a58383771490974))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* issue when linking from detect_new_wallet ([#2148](https://github.com/dynamic-labs/DynamicAuth/issues/2148)) ([98feb7b](https://github.com/dynamic-labs/DynamicAuth/commit/98feb7bde081a8107577ac7ec70d0f9c4b611a2b))
|
|
27
|
+
* multi-wallet flows ([#2150](https://github.com/dynamic-labs/DynamicAuth/issues/2150)) ([c82ef4a](https://github.com/dynamic-labs/DynamicAuth/commit/c82ef4a5cc75c9f8edb30620e32dd64bbdb0eb7f))
|
|
28
|
+
* starknet getConnectedAccounts should return an empty array if there's no address to return ([#2140](https://github.com/dynamic-labs/DynamicAuth/issues/2140)) ([ce39641](https://github.com/dynamic-labs/DynamicAuth/commit/ce39641a6dbec1d05d8d5cc611a02de8bd756351))
|
|
29
|
+
|
|
2
30
|
## [0.17.0-RC.17](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.16...v0.17.0-RC.17) (2023-05-17)
|
|
3
31
|
|
|
4
32
|
|
package/package.cjs
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var version = "0.17.0-RC.
|
|
5
|
+
var version = "0.17.0-RC.19";
|
|
6
6
|
var dependencies = {
|
|
7
|
-
"react-focus-lock": "
|
|
8
|
-
"@dynamic-labs/iconic": "
|
|
9
|
-
"@dynamic-labs/sdk-api": "0.0.
|
|
10
|
-
"@dynamic-labs/wallet-book": "
|
|
11
|
-
"@hcaptcha/react-hcaptcha": "
|
|
12
|
-
"country-list": "
|
|
13
|
-
yup: "
|
|
14
|
-
formik: "
|
|
7
|
+
"react-focus-lock": "2.9.2",
|
|
8
|
+
"@dynamic-labs/iconic": "0.1.19",
|
|
9
|
+
"@dynamic-labs/sdk-api": "0.0.198",
|
|
10
|
+
"@dynamic-labs/wallet-book": "0.0.18",
|
|
11
|
+
"@hcaptcha/react-hcaptcha": "1.4.4",
|
|
12
|
+
"country-list": "2.3.0",
|
|
13
|
+
yup: "0.32.11",
|
|
14
|
+
formik: "2.2.9",
|
|
15
15
|
qrcode: "1.5.1",
|
|
16
|
-
ethers: "
|
|
16
|
+
ethers: "5.7.2"
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
exports.dependencies = dependencies;
|
package/package.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var version = "0.17.0-RC.
|
|
1
|
+
var version = "0.17.0-RC.19";
|
|
2
2
|
var dependencies = {
|
|
3
|
-
"react-focus-lock": "
|
|
4
|
-
"@dynamic-labs/iconic": "
|
|
5
|
-
"@dynamic-labs/sdk-api": "0.0.
|
|
6
|
-
"@dynamic-labs/wallet-book": "
|
|
7
|
-
"@hcaptcha/react-hcaptcha": "
|
|
8
|
-
"country-list": "
|
|
9
|
-
yup: "
|
|
10
|
-
formik: "
|
|
3
|
+
"react-focus-lock": "2.9.2",
|
|
4
|
+
"@dynamic-labs/iconic": "0.1.19",
|
|
5
|
+
"@dynamic-labs/sdk-api": "0.0.198",
|
|
6
|
+
"@dynamic-labs/wallet-book": "0.0.18",
|
|
7
|
+
"@hcaptcha/react-hcaptcha": "1.4.4",
|
|
8
|
+
"country-list": "2.3.0",
|
|
9
|
+
yup: "0.32.11",
|
|
10
|
+
formik: "2.2.9",
|
|
11
11
|
qrcode: "1.5.1",
|
|
12
|
-
ethers: "
|
|
12
|
+
ethers: "5.7.2"
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
export { dependencies, version };
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sdk-react-core",
|
|
3
|
-
"version": "0.17.0-RC.
|
|
3
|
+
"version": "0.17.0-RC.19",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
7
7
|
"directory": "packages/sdk-react-core"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"react-focus-lock": "
|
|
11
|
-
"@dynamic-labs/iconic": "
|
|
12
|
-
"@dynamic-labs/sdk-api": "0.0.
|
|
13
|
-
"@dynamic-labs/wallet-book": "
|
|
14
|
-
"@hcaptcha/react-hcaptcha": "
|
|
15
|
-
"country-list": "
|
|
16
|
-
"yup": "
|
|
17
|
-
"formik": "
|
|
10
|
+
"react-focus-lock": "2.9.2",
|
|
11
|
+
"@dynamic-labs/iconic": "0.1.19",
|
|
12
|
+
"@dynamic-labs/sdk-api": "0.0.198",
|
|
13
|
+
"@dynamic-labs/wallet-book": "0.0.18",
|
|
14
|
+
"@hcaptcha/react-hcaptcha": "1.4.4",
|
|
15
|
+
"country-list": "2.3.0",
|
|
16
|
+
"yup": "0.32.11",
|
|
17
|
+
"formik": "2.2.9",
|
|
18
18
|
"qrcode": "1.5.1",
|
|
19
|
-
"ethers": "
|
|
20
|
-
"@dynamic-labs/logger": "0.17.0-RC.
|
|
21
|
-
"@dynamic-labs/multi-wallet": "0.17.0-RC.
|
|
22
|
-
"@dynamic-labs/rpc-providers": "0.17.0-RC.
|
|
23
|
-
"@dynamic-labs/types": "0.17.0-RC.
|
|
24
|
-
"@dynamic-labs/utils": "0.17.0-RC.
|
|
25
|
-
"@dynamic-labs/wallet-connector-core": "0.17.0-RC.
|
|
19
|
+
"ethers": "5.7.2",
|
|
20
|
+
"@dynamic-labs/logger": "0.17.0-RC.19",
|
|
21
|
+
"@dynamic-labs/multi-wallet": "0.17.0-RC.19",
|
|
22
|
+
"@dynamic-labs/rpc-providers": "0.17.0-RC.19",
|
|
23
|
+
"@dynamic-labs/types": "0.17.0-RC.19",
|
|
24
|
+
"@dynamic-labs/utils": "0.17.0-RC.19",
|
|
25
|
+
"@dynamic-labs/wallet-connector-core": "0.17.0-RC.19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"semver": "
|
|
28
|
+
"semver": "7.3.8"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": "^17.0.2 || ^18.0.0",
|
package/src/index.cjs
CHANGED
|
@@ -31,9 +31,12 @@ var isDisplayOrderPriorityForWeb3 = require('./lib/shared/utils/functions/isDisp
|
|
|
31
31
|
var isDisplayOrderPriorityForWeb2 = require('./lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.cjs');
|
|
32
32
|
var getWalletListItemLabel = require('./lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs');
|
|
33
33
|
var formatBigNumber = require('./lib/shared/utils/functions/formatBigNumber/formatBigNumber.cjs');
|
|
34
|
+
var trimEnd = require('./lib/shared/utils/functions/trimEnd/trimEnd.cjs');
|
|
34
35
|
var useLocalStorage = require('./lib/shared/utils/hooks/useLocalStorage/useLocalStorage.cjs');
|
|
35
36
|
var index$1 = require('./lib/shared/utils/hooks/useOnClickOutside/index.cjs');
|
|
36
37
|
var usePreventPageScroll = require('./lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs');
|
|
38
|
+
var useIsMounted = require('./lib/shared/utils/hooks/useIsMounted/useIsMounted.cjs');
|
|
39
|
+
var useGlobalLoading = require('./lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.cjs');
|
|
37
40
|
var PhantomLedgerIcon = require('./lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.cjs');
|
|
38
41
|
var stroke = require('./lib/shared/assets/stroke.cjs');
|
|
39
42
|
var arrowRight = require('./lib/shared/assets/arrow-right.cjs');
|
|
@@ -94,6 +97,8 @@ require('./lib/components/Alert/Alert.cjs');
|
|
|
94
97
|
require('@dynamic-labs/iconic');
|
|
95
98
|
require('./lib/components/Popper/Popper/Popper.cjs');
|
|
96
99
|
require('./lib/components/Popper/PopperContext/PopperContext.cjs');
|
|
100
|
+
require('@dynamic-labs/wallet-book');
|
|
101
|
+
require('./lib/components/SendBalanceForm/SendBalanceForm.cjs');
|
|
97
102
|
var WalletList = require('./lib/views/WalletList/WalletList.cjs');
|
|
98
103
|
var PendingSignatureView = require('./lib/views/PendingSignatureView/PendingSignatureView.cjs');
|
|
99
104
|
var CollectUserDataView = require('./lib/views/CollectUserDataView/CollectUserDataView.cjs');
|
|
@@ -141,9 +146,12 @@ exports.isDisplayOrderPriorityForWeb3 = isDisplayOrderPriorityForWeb3.isDisplayO
|
|
|
141
146
|
exports.isDisplayOrderPriorityForWeb2 = isDisplayOrderPriorityForWeb2.isDisplayOrderPriorityForWeb2;
|
|
142
147
|
exports.getWalletListItemLabel = getWalletListItemLabel.getWalletListItemLabel;
|
|
143
148
|
exports.formatBigNumber = formatBigNumber.formatBigNumber;
|
|
149
|
+
exports.trimEnd = trimEnd.trimEnd;
|
|
144
150
|
exports.useLocalStorage = useLocalStorage.useLocalStorage;
|
|
145
151
|
exports.useOnClickOutside = index$1.useOnClickOutside;
|
|
146
152
|
exports.usePreventPageScroll = usePreventPageScroll.usePreventPageScroll;
|
|
153
|
+
exports.useIsMounted = useIsMounted.useIsMounted;
|
|
154
|
+
exports.useGlobalLoading = useGlobalLoading.useGlobalLoading;
|
|
147
155
|
exports.PhantomLedgerIcon = PhantomLedgerIcon.PhantomLedgerIcon;
|
|
148
156
|
exports.ArrowIcon = stroke.ReactComponent;
|
|
149
157
|
exports.ArrowRightIcon = arrowRight.ReactComponent;
|
package/src/index.js
CHANGED
|
@@ -27,9 +27,12 @@ export { isDisplayOrderPriorityForWeb3 } from './lib/shared/utils/functions/isDi
|
|
|
27
27
|
export { isDisplayOrderPriorityForWeb2 } from './lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.js';
|
|
28
28
|
export { getWalletListItemLabel } from './lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js';
|
|
29
29
|
export { formatBigNumber } from './lib/shared/utils/functions/formatBigNumber/formatBigNumber.js';
|
|
30
|
+
export { trimEnd } from './lib/shared/utils/functions/trimEnd/trimEnd.js';
|
|
30
31
|
export { useLocalStorage } from './lib/shared/utils/hooks/useLocalStorage/useLocalStorage.js';
|
|
31
32
|
export { useOnClickOutside } from './lib/shared/utils/hooks/useOnClickOutside/index.js';
|
|
32
33
|
export { usePreventPageScroll } from './lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js';
|
|
34
|
+
export { useIsMounted } from './lib/shared/utils/hooks/useIsMounted/useIsMounted.js';
|
|
35
|
+
export { useGlobalLoading } from './lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.js';
|
|
33
36
|
export { PhantomLedgerIcon } from './lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.js';
|
|
34
37
|
export { ReactComponent as ArrowIcon } from './lib/shared/assets/stroke.js';
|
|
35
38
|
export { ReactComponent as ArrowRightIcon } from './lib/shared/assets/arrow-right.js';
|
|
@@ -90,6 +93,8 @@ import './lib/components/Alert/Alert.js';
|
|
|
90
93
|
import '@dynamic-labs/iconic';
|
|
91
94
|
import './lib/components/Popper/Popper/Popper.js';
|
|
92
95
|
import './lib/components/Popper/PopperContext/PopperContext.js';
|
|
96
|
+
import '@dynamic-labs/wallet-book';
|
|
97
|
+
import './lib/components/SendBalanceForm/SendBalanceForm.js';
|
|
93
98
|
export { WalletList } from './lib/views/WalletList/WalletList.js';
|
|
94
99
|
export { PendingSignatureView } from './lib/views/PendingSignatureView/PendingSignatureView.js';
|
|
95
100
|
export { CollectUserDataView } from './lib/views/CollectUserDataView/CollectUserDataView.js';
|
package/src/lib/Main.cjs
CHANGED
|
@@ -37,6 +37,8 @@ require('./components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
|
|
|
37
37
|
require('./components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
38
38
|
require('./components/Popper/Popper/Popper.cjs');
|
|
39
39
|
require('./components/Popper/PopperContext/PopperContext.cjs');
|
|
40
|
+
require('@dynamic-labs/wallet-book');
|
|
41
|
+
require('./components/SendBalanceForm/SendBalanceForm.cjs');
|
|
40
42
|
var DynamicAuthLayout = require('./layout/DynamicAuthLayout/DynamicAuthLayout.cjs');
|
|
41
43
|
var SocialRedirectContext = require('./context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
42
44
|
var useVerifyOnAwaitingSignature = require('./utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs');
|
package/src/lib/Main.js
CHANGED
|
@@ -33,6 +33,8 @@ import './components/Transition/SlideInUpTransition/SlideInUpTransition.js';
|
|
|
33
33
|
import './components/Transition/OpacityTransition/OpacityTransition.js';
|
|
34
34
|
import './components/Popper/Popper/Popper.js';
|
|
35
35
|
import './components/Popper/PopperContext/PopperContext.js';
|
|
36
|
+
import '@dynamic-labs/wallet-book';
|
|
37
|
+
import './components/SendBalanceForm/SendBalanceForm.js';
|
|
36
38
|
import { DynamicAuthLayout } from './layout/DynamicAuthLayout/DynamicAuthLayout.js';
|
|
37
39
|
import { SocialRedirectContextProvider } from './context/SocialRedirectContext/SocialRedirectContext.js';
|
|
38
40
|
import { useVerifyOnAwaitingSignature } from './utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js';
|
|
@@ -31,6 +31,8 @@ require('../../../IconButton/IconButton.cjs');
|
|
|
31
31
|
require('../../../Alert/Alert.cjs');
|
|
32
32
|
require('../../../Popper/Popper/Popper.cjs');
|
|
33
33
|
require('../../../Popper/PopperContext/PopperContext.cjs');
|
|
34
|
+
require('@dynamic-labs/wallet-book');
|
|
35
|
+
require('../../../SendBalanceForm/SendBalanceForm.cjs');
|
|
34
36
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
35
37
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
36
38
|
require('../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
|
@@ -27,6 +27,8 @@ import '../../../IconButton/IconButton.js';
|
|
|
27
27
|
import '../../../Alert/Alert.js';
|
|
28
28
|
import '../../../Popper/Popper/Popper.js';
|
|
29
29
|
import '../../../Popper/PopperContext/PopperContext.js';
|
|
30
|
+
import '@dynamic-labs/wallet-book';
|
|
31
|
+
import '../../../SendBalanceForm/SendBalanceForm.js';
|
|
30
32
|
import '../../../../context/MockContext/MockContext.js';
|
|
31
33
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
32
34
|
import '../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
|
@@ -30,6 +30,8 @@ require('../IconButton/IconButton.cjs');
|
|
|
30
30
|
require('../Alert/Alert.cjs');
|
|
31
31
|
require('../Popper/Popper/Popper.cjs');
|
|
32
32
|
require('../Popper/PopperContext/PopperContext.cjs');
|
|
33
|
+
require('@dynamic-labs/wallet-book');
|
|
34
|
+
require('../SendBalanceForm/SendBalanceForm.cjs');
|
|
33
35
|
var useForceUpdate = require('../../utils/hooks/useForceUpdate/useForceUpdate.cjs');
|
|
34
36
|
require('../../context/MockContext/MockContext.cjs');
|
|
35
37
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -26,6 +26,8 @@ import '../IconButton/IconButton.js';
|
|
|
26
26
|
import '../Alert/Alert.js';
|
|
27
27
|
import '../Popper/Popper/Popper.js';
|
|
28
28
|
import '../Popper/PopperContext/PopperContext.js';
|
|
29
|
+
import '@dynamic-labs/wallet-book';
|
|
30
|
+
import '../SendBalanceForm/SendBalanceForm.js';
|
|
29
31
|
import { useForceUpdate } from '../../utils/hooks/useForceUpdate/useForceUpdate.js';
|
|
30
32
|
import '../../context/MockContext/MockContext.js';
|
|
31
33
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -34,6 +34,8 @@ require('../IconButton/IconButton.cjs');
|
|
|
34
34
|
require('../Alert/Alert.cjs');
|
|
35
35
|
require('../Popper/Popper/Popper.cjs');
|
|
36
36
|
require('../Popper/PopperContext/PopperContext.cjs');
|
|
37
|
+
require('@dynamic-labs/wallet-book');
|
|
38
|
+
require('../SendBalanceForm/SendBalanceForm.cjs');
|
|
37
39
|
|
|
38
40
|
const Divider = ({ text, className = '', fullWidth = false }) => (jsxRuntime.jsxs("div", Object.assign({ className: classNames.classNames('divider', className, {
|
|
39
41
|
'divider__full-width': fullWidth,
|
|
@@ -30,6 +30,8 @@ import '../IconButton/IconButton.js';
|
|
|
30
30
|
import '../Alert/Alert.js';
|
|
31
31
|
import '../Popper/Popper/Popper.js';
|
|
32
32
|
import '../Popper/PopperContext/PopperContext.js';
|
|
33
|
+
import '@dynamic-labs/wallet-book';
|
|
34
|
+
import '../SendBalanceForm/SendBalanceForm.js';
|
|
33
35
|
|
|
34
36
|
const Divider = ({ text, className = '', fullWidth = false }) => (jsxs("div", Object.assign({ className: classNames('divider', className, {
|
|
35
37
|
'divider__full-width': fullWidth,
|
|
@@ -17,8 +17,8 @@ require('../../shared/consts/index.cjs');
|
|
|
17
17
|
var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
18
18
|
var Typography = require('../Typography/Typography.cjs');
|
|
19
19
|
|
|
20
|
-
const ErrorContainer = ({ children, className, isMultiWalletError = false, withIcon = true, }) => {
|
|
21
|
-
const effectiveContainerClassName = classNames.classNames('error-container', className, {
|
|
20
|
+
const ErrorContainer = ({ children, className, isMultiWalletError = false, withIcon = true, variant = 'error', }) => {
|
|
21
|
+
const effectiveContainerClassName = classNames.classNames('error-container', `error-container--${variant}`, className, {
|
|
22
22
|
'error-container--multi-wallet': isMultiWalletError,
|
|
23
23
|
});
|
|
24
24
|
const effectiveErrorClassName = classNames.classNames('error', {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
type Variant = 'error' | 'info';
|
|
2
3
|
type Props = {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
className?: string;
|
|
5
6
|
isMultiWalletError?: boolean;
|
|
7
|
+
variant?: Variant;
|
|
6
8
|
withIcon?: boolean;
|
|
7
9
|
};
|
|
8
|
-
export declare const ErrorContainer: ({ children, className, isMultiWalletError, withIcon, }: Props) => JSX.Element;
|
|
10
|
+
export declare const ErrorContainer: ({ children, className, isMultiWalletError, withIcon, variant, }: Props) => JSX.Element;
|
|
9
11
|
export {};
|
|
@@ -13,8 +13,8 @@ import '../../shared/consts/index.js';
|
|
|
13
13
|
import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
14
14
|
import { Typography } from '../Typography/Typography.js';
|
|
15
15
|
|
|
16
|
-
const ErrorContainer = ({ children, className, isMultiWalletError = false, withIcon = true, }) => {
|
|
17
|
-
const effectiveContainerClassName = classNames('error-container', className, {
|
|
16
|
+
const ErrorContainer = ({ children, className, isMultiWalletError = false, withIcon = true, variant = 'error', }) => {
|
|
17
|
+
const effectiveContainerClassName = classNames('error-container', `error-container--${variant}`, className, {
|
|
18
18
|
'error-container--multi-wallet': isMultiWalletError,
|
|
19
19
|
});
|
|
20
20
|
const effectiveErrorClassName = classNames('error', {
|
|
@@ -15,6 +15,7 @@ require('@dynamic-labs/wallet-connector-core');
|
|
|
15
15
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
16
16
|
require('ethers');
|
|
17
17
|
var pixelToRem = require('../../utils/functions/pixelToRem/pixelToRem.cjs');
|
|
18
|
+
require('../../shared/consts/index.cjs');
|
|
18
19
|
var Spinner = require('./Spinner/Spinner.cjs');
|
|
19
20
|
var Indicator = require('./Indicator/Indicator.cjs');
|
|
20
21
|
|
|
@@ -11,6 +11,7 @@ import '@dynamic-labs/wallet-connector-core';
|
|
|
11
11
|
import '../../context/ViewContext/ViewContext.js';
|
|
12
12
|
import 'ethers';
|
|
13
13
|
import { pixelToRem } from '../../utils/functions/pixelToRem/pixelToRem.js';
|
|
14
|
+
import '../../shared/consts/index.js';
|
|
14
15
|
import { Spinner } from './Spinner/Spinner.js';
|
|
15
16
|
import { Indicator } from './Indicator/Indicator.js';
|
|
16
17
|
|
|
@@ -15,6 +15,7 @@ require('../../../context/ViewContext/ViewContext.cjs');
|
|
|
15
15
|
require('react');
|
|
16
16
|
require('ethers');
|
|
17
17
|
var pixelToRem = require('../../../utils/functions/pixelToRem/pixelToRem.cjs');
|
|
18
|
+
require('../../../shared/consts/index.cjs');
|
|
18
19
|
|
|
19
20
|
const defaultCustomColor = '#4779FF';
|
|
20
21
|
const Spinner = ({ className = '', size = 16, customSpinnerColor = '', }) => {
|
|
@@ -11,6 +11,7 @@ import '../../../context/ViewContext/ViewContext.js';
|
|
|
11
11
|
import 'react';
|
|
12
12
|
import 'ethers';
|
|
13
13
|
import { pixelToRem } from '../../../utils/functions/pixelToRem/pixelToRem.js';
|
|
14
|
+
import '../../../shared/consts/index.js';
|
|
14
15
|
|
|
15
16
|
const defaultCustomColor = '#4779FF';
|
|
16
17
|
const Spinner = ({ className = '', size = 16, customSpinnerColor = '', }) => {
|
|
@@ -14,6 +14,7 @@ require('../../context/ViewContext/ViewContext.cjs');
|
|
|
14
14
|
require('react');
|
|
15
15
|
require('ethers');
|
|
16
16
|
var pixelToRem = require('../../utils/functions/pixelToRem/pixelToRem.cjs');
|
|
17
|
+
require('../../shared/consts/index.cjs');
|
|
17
18
|
var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
18
19
|
var StatusDot = require('../StatusDot/StatusDot.cjs');
|
|
19
20
|
|
|
@@ -10,6 +10,7 @@ import '../../context/ViewContext/ViewContext.js';
|
|
|
10
10
|
import 'react';
|
|
11
11
|
import 'ethers';
|
|
12
12
|
import { pixelToRem } from '../../utils/functions/pixelToRem/pixelToRem.js';
|
|
13
|
+
import '../../shared/consts/index.js';
|
|
13
14
|
import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
14
15
|
import { StatusDot } from '../StatusDot/StatusDot.js';
|
|
15
16
|
|
|
@@ -2,15 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var _tslib = require('../../../../_virtual/_tslib.cjs');
|
|
5
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
7
|
var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
7
8
|
var Typography = require('../Typography/Typography.cjs');
|
|
8
9
|
|
|
9
|
-
const Input = (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
const Input = (_a) => {
|
|
11
|
+
var { className = '', id, label, type, onChange, onBlur, name, value, optional, error = false, disabled, message, placeholder, variant = 'dense', suffix } = _a, rest = _tslib.__rest(_a, ["className", "id", "label", "type", "onChange", "onBlur", "name", "value", "optional", "error", "disabled", "message", "placeholder", "variant", "suffix"]);
|
|
12
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", Object.assign({ className: classNames.classNames('input__container', {
|
|
13
|
+
'input__container--dense': variant === 'dense',
|
|
14
|
+
'input__container--regular': variant === 'regular',
|
|
15
|
+
}) }, { children: [jsxRuntime.jsx("input", Object.assign({}, rest, { name: name, value: value, onChange: onChange, onBlur: onBlur, type: type, id: id, placeholder: variant === 'regular' ? placeholder : label, disabled: disabled, className: classNames.classNames('input', className, {
|
|
16
|
+
input__error: error,
|
|
17
|
+
input__has_trailing: optional,
|
|
18
|
+
}) })), jsxRuntime.jsx("label", Object.assign({ htmlFor: id, className: classNames.classNames('input__label') }, { children: label })), suffix && jsxRuntime.jsx("div", Object.assign({ className: classNames.classNames('input__suffix') }, { children: suffix })), optional && jsxRuntime.jsx("span", Object.assign({ className: 'input__trailing' }, { children: "Optional" }))] })), Boolean(message) && (jsxRuntime.jsx(Typography.Typography, Object.assign({ variant: 'body_mini', className: classNames.classNames('input__message', {
|
|
19
|
+
input__message__error: error,
|
|
20
|
+
}) }, { children: message })))] }));
|
|
21
|
+
};
|
|
15
22
|
|
|
16
23
|
exports.Input = Input;
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __rest } from '../../../../_virtual/_tslib.js';
|
|
2
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
3
4
|
import { Typography } from '../Typography/Typography.js';
|
|
4
5
|
|
|
5
|
-
const Input = (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
const Input = (_a) => {
|
|
7
|
+
var { className = '', id, label, type, onChange, onBlur, name, value, optional, error = false, disabled, message, placeholder, variant = 'dense', suffix } = _a, rest = __rest(_a, ["className", "id", "label", "type", "onChange", "onBlur", "name", "value", "optional", "error", "disabled", "message", "placeholder", "variant", "suffix"]);
|
|
8
|
+
return (jsxs(Fragment, { children: [jsxs("div", Object.assign({ className: classNames('input__container', {
|
|
9
|
+
'input__container--dense': variant === 'dense',
|
|
10
|
+
'input__container--regular': variant === 'regular',
|
|
11
|
+
}) }, { children: [jsx("input", Object.assign({}, rest, { name: name, value: value, onChange: onChange, onBlur: onBlur, type: type, id: id, placeholder: variant === 'regular' ? placeholder : label, disabled: disabled, className: classNames('input', className, {
|
|
12
|
+
input__error: error,
|
|
13
|
+
input__has_trailing: optional,
|
|
14
|
+
}) })), jsx("label", Object.assign({ htmlFor: id, className: classNames('input__label') }, { children: label })), suffix && jsx("div", Object.assign({ className: classNames('input__suffix') }, { children: suffix })), optional && jsx("span", Object.assign({ className: 'input__trailing' }, { children: "Optional" }))] })), Boolean(message) && (jsx(Typography, Object.assign({ variant: 'body_mini', className: classNames('input__message', {
|
|
15
|
+
input__message__error: error,
|
|
16
|
+
}) }, { children: message })))] }));
|
|
17
|
+
};
|
|
11
18
|
|
|
12
19
|
export { Input };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
export type InputVariant = 'dense' | 'regular';
|
|
2
3
|
export type InputProps = React.ComponentPropsWithoutRef<'input'> & {
|
|
3
4
|
className?: string;
|
|
4
5
|
error?: boolean;
|
|
@@ -6,5 +7,8 @@ export type InputProps = React.ComponentPropsWithoutRef<'input'> & {
|
|
|
6
7
|
label: string;
|
|
7
8
|
message?: ReactNode;
|
|
8
9
|
optional?: boolean;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
suffix?: ReactNode;
|
|
12
|
+
variant?: InputVariant;
|
|
9
13
|
};
|
|
10
14
|
export type InputComponent = FC<PropsWithChildren<InputProps>>;
|
|
@@ -34,6 +34,8 @@ var IconButton = require('../../../IconButton/IconButton.cjs');
|
|
|
34
34
|
require('../../../Alert/Alert.cjs');
|
|
35
35
|
require('../../../Popper/Popper/Popper.cjs');
|
|
36
36
|
require('../../../Popper/PopperContext/PopperContext.cjs');
|
|
37
|
+
require('@dynamic-labs/wallet-book');
|
|
38
|
+
require('../../../SendBalanceForm/SendBalanceForm.cjs');
|
|
37
39
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
38
40
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
39
41
|
require('../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
|
@@ -30,6 +30,8 @@ import { IconButton } from '../../../IconButton/IconButton.js';
|
|
|
30
30
|
import '../../../Alert/Alert.js';
|
|
31
31
|
import '../../../Popper/Popper/Popper.js';
|
|
32
32
|
import '../../../Popper/PopperContext/PopperContext.js';
|
|
33
|
+
import '@dynamic-labs/wallet-book';
|
|
34
|
+
import '../../../SendBalanceForm/SendBalanceForm.js';
|
|
33
35
|
import '../../../../context/MockContext/MockContext.js';
|
|
34
36
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
35
37
|
import '../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
|
@@ -36,6 +36,8 @@ require('../../../IconButton/IconButton.cjs');
|
|
|
36
36
|
require('../../../Alert/Alert.cjs');
|
|
37
37
|
require('../../../Popper/Popper/Popper.cjs');
|
|
38
38
|
require('../../../Popper/PopperContext/PopperContext.cjs');
|
|
39
|
+
require('@dynamic-labs/wallet-book');
|
|
40
|
+
require('../../../SendBalanceForm/SendBalanceForm.cjs');
|
|
39
41
|
var NetworkControlSkeleton = require('../NetworkControlSkeleton/NetworkControlSkeleton.cjs');
|
|
40
42
|
var UnsupportedNetwork = require('../UnsupportedNetwork/UnsupportedNetwork.cjs');
|
|
41
43
|
|
|
@@ -32,6 +32,8 @@ import '../../../IconButton/IconButton.js';
|
|
|
32
32
|
import '../../../Alert/Alert.js';
|
|
33
33
|
import '../../../Popper/Popper/Popper.js';
|
|
34
34
|
import '../../../Popper/PopperContext/PopperContext.js';
|
|
35
|
+
import '@dynamic-labs/wallet-book';
|
|
36
|
+
import '../../../SendBalanceForm/SendBalanceForm.js';
|
|
35
37
|
import { NetworkControlSkeleton } from '../NetworkControlSkeleton/NetworkControlSkeleton.js';
|
|
36
38
|
import { UnsupportedNetwork } from '../UnsupportedNetwork/UnsupportedNetwork.js';
|
|
37
39
|
|
|
@@ -37,6 +37,8 @@ require('../../../Alert/Alert.cjs');
|
|
|
37
37
|
var Spinner = require('../../../IconWithSpinner/Spinner/Spinner.cjs');
|
|
38
38
|
require('../../../Popper/Popper/Popper.cjs');
|
|
39
39
|
require('../../../Popper/PopperContext/PopperContext.cjs');
|
|
40
|
+
require('@dynamic-labs/wallet-book');
|
|
41
|
+
require('../../../SendBalanceForm/SendBalanceForm.cjs');
|
|
40
42
|
|
|
41
43
|
const Network = ({ iconUrl, isActive, networkName, className, checkboxClassName = '', isChanging, }) => (jsxRuntime.jsxs("div", Object.assign({ className: classNames.classNames('network', className) }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: 'network__title-container' }, { children: [iconUrl ? (jsxRuntime.jsx("img", { src: iconUrl, className: 'network__title-icon', alt: `${networkName} icon` })) : (jsxRuntime.jsx(error.ReactComponent, {})), jsxRuntime.jsx(Typography.Typography, Object.assign({ variant: 'button_primary', className: 'network__title-copy', as: 'span', weight: 'medium' }, { children: networkName }))] })), jsxRuntime.jsxs("div", Object.assign({ className: classNames.classNames('network__status-container', {
|
|
42
44
|
'network__status-container--active': isActive,
|
|
@@ -33,6 +33,8 @@ import '../../../Alert/Alert.js';
|
|
|
33
33
|
import { Spinner } from '../../../IconWithSpinner/Spinner/Spinner.js';
|
|
34
34
|
import '../../../Popper/Popper/Popper.js';
|
|
35
35
|
import '../../../Popper/PopperContext/PopperContext.js';
|
|
36
|
+
import '@dynamic-labs/wallet-book';
|
|
37
|
+
import '../../../SendBalanceForm/SendBalanceForm.js';
|
|
36
38
|
|
|
37
39
|
const Network = ({ iconUrl, isActive, networkName, className, checkboxClassName = '', isChanging, }) => (jsxs("div", Object.assign({ className: classNames('network', className) }, { children: [jsxs("div", Object.assign({ className: 'network__title-container' }, { children: [iconUrl ? (jsx("img", { src: iconUrl, className: 'network__title-icon', alt: `${networkName} icon` })) : (jsx(SvgError, {})), jsx(Typography, Object.assign({ variant: 'button_primary', className: 'network__title-copy', as: 'span', weight: 'medium' }, { children: networkName }))] })), jsxs("div", Object.assign({ className: classNames('network__status-container', {
|
|
38
40
|
'network__status-container--active': isActive,
|
|
@@ -37,6 +37,8 @@ require('../../../IconButton/IconButton.cjs');
|
|
|
37
37
|
require('../../../Alert/Alert.cjs');
|
|
38
38
|
require('../../../Popper/Popper/Popper.cjs');
|
|
39
39
|
require('../../../Popper/PopperContext/PopperContext.cjs');
|
|
40
|
+
require('@dynamic-labs/wallet-book');
|
|
41
|
+
require('../../../SendBalanceForm/SendBalanceForm.cjs');
|
|
40
42
|
var capitalize = require('../../../../shared/utils/functions/capitalize/capitalize.cjs');
|
|
41
43
|
|
|
42
44
|
const NonNetworkSwitchingSupportedControl = ({ walletConnector, className, showNetworkName = false, }) => {
|
|
@@ -33,6 +33,8 @@ import '../../../IconButton/IconButton.js';
|
|
|
33
33
|
import '../../../Alert/Alert.js';
|
|
34
34
|
import '../../../Popper/Popper/Popper.js';
|
|
35
35
|
import '../../../Popper/PopperContext/PopperContext.js';
|
|
36
|
+
import '@dynamic-labs/wallet-book';
|
|
37
|
+
import '../../../SendBalanceForm/SendBalanceForm.js';
|
|
36
38
|
import { capitalize } from '../../../../shared/utils/functions/capitalize/capitalize.js';
|
|
37
39
|
|
|
38
40
|
const NonNetworkSwitchingSupportedControl = ({ walletConnector, className, showNetworkName = false, }) => {
|
|
@@ -44,6 +44,8 @@ var IconWithStatus = require('../IconWithStatus/IconWithStatus.cjs');
|
|
|
44
44
|
var ModalHeaderBanner = require('../ModalHeaderBanner/ModalHeaderBanner.cjs');
|
|
45
45
|
require('../Popper/Popper/Popper.cjs');
|
|
46
46
|
require('../Popper/PopperContext/PopperContext.cjs');
|
|
47
|
+
require('@dynamic-labs/wallet-book');
|
|
48
|
+
require('../SendBalanceForm/SendBalanceForm.cjs');
|
|
47
49
|
|
|
48
50
|
const OTPVerificationView = ({ onClickBack, onClickEditEmail, isLoading, email, onPinComplete, isValid, error, termsOfServiceUrl, privacyPolicyUrl, onPinChange, displayPoweredByDynamic = false, }) => {
|
|
49
51
|
const backButton = (jsxRuntime.jsx(IconButton.IconButton, Object.assign({ type: 'button', onClick: onClickBack, "data-testid": 'back-button' }, { children: jsxRuntime.jsx(chevronLeft.ReactComponent, {}) })));
|
|
@@ -40,6 +40,8 @@ import { IconWithStatus } from '../IconWithStatus/IconWithStatus.js';
|
|
|
40
40
|
import { ModalHeaderBanner } from '../ModalHeaderBanner/ModalHeaderBanner.js';
|
|
41
41
|
import '../Popper/Popper/Popper.js';
|
|
42
42
|
import '../Popper/PopperContext/PopperContext.js';
|
|
43
|
+
import '@dynamic-labs/wallet-book';
|
|
44
|
+
import '../SendBalanceForm/SendBalanceForm.js';
|
|
43
45
|
|
|
44
46
|
const OTPVerificationView = ({ onClickBack, onClickEditEmail, isLoading, email, onPinComplete, isValid, error, termsOfServiceUrl, privacyPolicyUrl, onPinChange, displayPoweredByDynamic = false, }) => {
|
|
45
47
|
const backButton = (jsx(IconButton, Object.assign({ type: 'button', onClick: onClickBack, "data-testid": 'back-button' }, { children: jsx(SvgChevronLeft, {}) })));
|
|
@@ -30,6 +30,8 @@ require('../IconButton/IconButton.cjs');
|
|
|
30
30
|
require('../Alert/Alert.cjs');
|
|
31
31
|
require('../Popper/Popper/Popper.cjs');
|
|
32
32
|
require('../Popper/PopperContext/PopperContext.cjs');
|
|
33
|
+
require('@dynamic-labs/wallet-book');
|
|
34
|
+
require('../SendBalanceForm/SendBalanceForm.cjs');
|
|
33
35
|
require('../../context/MockContext/MockContext.cjs');
|
|
34
36
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
35
37
|
require('../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
|
@@ -26,6 +26,8 @@ import '../IconButton/IconButton.js';
|
|
|
26
26
|
import '../Alert/Alert.js';
|
|
27
27
|
import '../Popper/Popper/Popper.js';
|
|
28
28
|
import '../Popper/PopperContext/PopperContext.js';
|
|
29
|
+
import '@dynamic-labs/wallet-book';
|
|
30
|
+
import '../SendBalanceForm/SendBalanceForm.js';
|
|
29
31
|
import '../../context/MockContext/MockContext.js';
|
|
30
32
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
31
33
|
import '../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|