@dynamic-labs/sdk-react-core 0.17.25 → 0.17.26
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 +15 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/index.cjs +3 -0
- package/src/index.js +2 -0
- package/src/lib/Main.cjs +3 -2
- package/src/lib/Main.js +3 -2
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +1 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +1 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +1 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.js +1 -0
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +1 -0
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +1 -0
- package/src/lib/components/Divider/Divider.cjs +1 -0
- package/src/lib/components/Divider/Divider.js +1 -0
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +83 -0
- package/src/lib/components/MenuList/Dropdown/Dropdown.d.ts +16 -0
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +79 -0
- package/src/lib/components/MenuList/Dropdown/index.d.ts +1 -0
- package/src/lib/components/MenuList/MenuList/MenuList.cjs +33 -0
- package/src/lib/components/MenuList/MenuList/MenuList.d.ts +15 -0
- package/src/lib/components/MenuList/MenuList/MenuList.js +29 -0
- package/src/lib/components/MenuList/MenuList/index.d.ts +1 -0
- package/src/lib/components/MenuList/index.d.ts +1 -0
- package/src/lib/components/MenuList/utils/index.d.ts +1 -0
- package/src/lib/components/{Popper → MenuList}/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.cjs +6 -1
- package/src/lib/components/MenuList/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.d.ts +5 -0
- package/src/lib/components/{Popper → MenuList}/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.js +6 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +9 -12
- package/src/lib/components/NetworkPicker/NetworkPicker.js +9 -12
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +1 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.js +1 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +1 -0
- package/src/lib/components/OverlayCard/OverlayCard.cjs +10 -11
- package/src/lib/components/OverlayCard/OverlayCard.d.ts +4 -2
- package/src/lib/components/OverlayCard/OverlayCard.js +11 -11
- package/src/lib/components/Popper/Popper/Popper.cjs +12 -12
- package/src/lib/components/Popper/Popper/Popper.d.ts +7 -4
- package/src/lib/components/Popper/Popper/Popper.js +12 -12
- package/src/lib/components/Popper/PopperContent/PopperContent.cjs +1 -1
- package/src/lib/components/Popper/PopperContent/PopperContent.d.ts +2 -1
- package/src/lib/components/Popper/PopperContent/PopperContent.js +1 -1
- package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.cjs +1 -0
- package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.d.ts +1 -0
- package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.js +1 -0
- package/src/lib/components/Popper/utils/index.d.ts +0 -1
- package/src/lib/components/Portal/Portal.cjs +1 -0
- package/src/lib/components/Portal/Portal.js +1 -0
- package/src/lib/components/Tooltip/Tooltip.cjs +1 -0
- package/src/lib/components/Tooltip/Tooltip.js +1 -0
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +1 -0
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +1 -0
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +1 -0
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +1 -0
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/DynamicContext.cjs +2 -0
- package/src/lib/context/DynamicContext/DynamicContext.js +2 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +1 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +1 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +1 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.js +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +1 -0
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +1 -0
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +1 -0
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +1 -0
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +1 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +1 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +1 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +1 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +1 -0
- package/src/lib/shared/utils/hooks/index.d.ts +1 -0
- package/src/lib/shared/utils/hooks/useForwardedRef/index.d.ts +1 -0
- package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.cjs +25 -0
- package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.d.ts +2 -0
- package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.js +21 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/hooks/useTransition/useTransition.js +1 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +1 -0
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +1 -0
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +1 -0
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +1 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +1 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +1 -0
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +1 -0
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +1 -0
- package/src/lib/views/CollectUserDataView/fieldsConfig.cjs +8 -4
- package/src/lib/views/CollectUserDataView/fieldsConfig.js +8 -4
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +1 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +1 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +1 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +1 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +1 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.js +1 -0
- package/src/lib/views/EmailVerification/EmailVerification.cjs +1 -0
- package/src/lib/views/EmailVerification/EmailVerification.js +1 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +1 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +1 -0
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.cjs +1 -0
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.js +1 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs +1 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.js +1 -0
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.cjs +1 -0
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.js +1 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +1 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +1 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +1 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +1 -0
- package/src/lib/views/NoAccess/NoAccess.cjs +1 -0
- package/src/lib/views/NoAccess/NoAccess.js +1 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +1 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +1 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +1 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.js +1 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +1 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +1 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +1 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +1 -0
- package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -0
- package/src/lib/views/QrCodeView/QrCodeView.js +1 -0
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -0
- package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -0
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +1 -0
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +1 -0
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +1 -0
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +1 -0
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +1 -0
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +1 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.cjs +1 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.js +1 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.cjs +1 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.js +1 -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/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/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +1 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +4 -3
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +4 -3
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +5 -4
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +4 -7
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +5 -4
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +4 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +4 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +4 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +1 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +1 -0
- package/src/lib/widgets/DynamicWidget/helpers/helpers.cjs +19 -1
- package/src/lib/widgets/DynamicWidget/helpers/helpers.js +19 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +1 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +1 -0
- package/src/lib/widgets/DynamicWidget/views/IndexView/IndexView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/views/IndexView/IndexView.js +1 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +1 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +1 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +1 -0
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.cjs +0 -69
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.d.ts +0 -12
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.js +0 -63
- package/src/lib/components/NetworkPicker/components/ActionList/index.d.ts +0 -1
- package/src/lib/components/Popper/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.d.ts +0 -1
- /package/src/lib/components/{Popper → MenuList}/utils/watchToScrollInHierarchy/index.d.ts +0 -0
|
@@ -35,6 +35,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
35
35
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
36
36
|
require('formik');
|
|
37
37
|
require('yup');
|
|
38
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
38
39
|
require('../../context/MockContext/MockContext.cjs');
|
|
39
40
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
40
41
|
var useMutation = require('../../utils/hooks/useMutation/useMutation.cjs');
|
|
@@ -31,6 +31,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
31
31
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
32
32
|
import 'formik';
|
|
33
33
|
import 'yup';
|
|
34
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
34
35
|
import '../../context/MockContext/MockContext.js';
|
|
35
36
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
36
37
|
import { useMutation } from '../../utils/hooks/useMutation/useMutation.js';
|
|
@@ -41,6 +41,7 @@ require('../../../../components/Popper/Popper/Popper.cjs');
|
|
|
41
41
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
42
42
|
require('formik');
|
|
43
43
|
require('yup');
|
|
44
|
+
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
44
45
|
var Badge = require('../../../../components/Badge/Badge.cjs');
|
|
45
46
|
|
|
46
47
|
const ListItemButton = ({ text, onClick, numberOfWallets }) => {
|
|
@@ -37,6 +37,7 @@ import '../../../../components/Popper/Popper/Popper.js';
|
|
|
37
37
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
38
38
|
import 'formik';
|
|
39
39
|
import 'yup';
|
|
40
|
+
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
40
41
|
import { Badge } from '../../../../components/Badge/Badge.js';
|
|
41
42
|
|
|
42
43
|
const ListItemButton = ({ text, onClick, numberOfWallets }) => {
|
package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs
CHANGED
|
@@ -37,6 +37,7 @@ require('../../../../components/Popper/Popper/Popper.cjs');
|
|
|
37
37
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
38
38
|
require('formik');
|
|
39
39
|
require('yup');
|
|
40
|
+
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
40
41
|
var useWalletItemActions = require('../../../../utils/hooks/useWalletItemActions/useWalletItemActions.cjs');
|
|
41
42
|
require('../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
|
42
43
|
var useConnectWithEmail = require('../../../../utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs');
|
package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.js
CHANGED
|
@@ -33,6 +33,7 @@ import '../../../../components/Popper/Popper/Popper.js';
|
|
|
33
33
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
34
34
|
import 'formik';
|
|
35
35
|
import 'yup';
|
|
36
|
+
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
36
37
|
import { useWalletItemActions } from '../../../../utils/hooks/useWalletItemActions/useWalletItemActions.js';
|
|
37
38
|
import '../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
|
38
39
|
import { useConnectWithEmail } from '../../../../utils/hooks/useConnectWithEmail/useConnectWithEmail.js';
|
|
@@ -47,6 +47,7 @@ require('../../../../components/Popper/Popper/Popper.cjs');
|
|
|
47
47
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
48
48
|
require('formik');
|
|
49
49
|
require('yup');
|
|
50
|
+
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
50
51
|
var SocialRedirectContext = require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
51
52
|
var OverlayCard = require('../../../../components/OverlayCard/OverlayCard.cjs');
|
|
52
53
|
require('../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
@@ -43,6 +43,7 @@ import '../../../../components/Popper/Popper/Popper.js';
|
|
|
43
43
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
44
44
|
import 'formik';
|
|
45
45
|
import 'yup';
|
|
46
|
+
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
46
47
|
import { useSocialRedirectContext } from '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
47
48
|
import { OverlayCard } from '../../../../components/OverlayCard/OverlayCard.js';
|
|
48
49
|
import '../../../../components/OverlayCard/OverlayCard.context.js';
|
|
@@ -42,6 +42,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
42
42
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
43
43
|
require('formik');
|
|
44
44
|
require('yup');
|
|
45
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
45
46
|
var NetworkPicker = require('../../components/NetworkPicker/NetworkPicker.cjs');
|
|
46
47
|
var UserAddress = require('../../components/UserAddress/UserAddress.cjs');
|
|
47
48
|
var AuthProviderIcon = require('../../components/AuthProviderIcon/AuthProviderIcon.cjs');
|
|
@@ -38,6 +38,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
38
38
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
39
39
|
import 'formik';
|
|
40
40
|
import 'yup';
|
|
41
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
41
42
|
import { NetworkPicker } from '../../components/NetworkPicker/NetworkPicker.js';
|
|
42
43
|
import { UserAddress } from '../../components/UserAddress/UserAddress.js';
|
|
43
44
|
import { AuthProviderIcon } from '../../components/AuthProviderIcon/AuthProviderIcon.js';
|
|
@@ -41,6 +41,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
41
41
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
42
42
|
require('formik');
|
|
43
43
|
require('yup');
|
|
44
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
44
45
|
var useUpdateUserProfileByJWTCallback = require('../../utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs');
|
|
45
46
|
|
|
46
47
|
// The component notifies the user about the required manual network change,
|
|
@@ -37,6 +37,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
37
37
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
38
38
|
import 'formik';
|
|
39
39
|
import 'yup';
|
|
40
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
40
41
|
import { useUpdateUserProfileByJWTCallback } from '../../utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js';
|
|
41
42
|
|
|
42
43
|
// The component notifies the user about the required manual network change,
|
|
@@ -42,6 +42,7 @@ require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
|
42
42
|
require('@dynamic-labs/wallet-book');
|
|
43
43
|
require('formik');
|
|
44
44
|
require('yup');
|
|
45
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
45
46
|
var StatusDot = require('../../components/StatusDot/StatusDot.cjs');
|
|
46
47
|
var getSocialNetworkIcon = require('../../utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.cjs');
|
|
47
48
|
var EmailVerificationContext = require('../../context/EmailVerificationContext/EmailVerificationContext.cjs');
|
|
@@ -38,6 +38,7 @@ import '../../components/Popper/PopperContext/PopperContext.js';
|
|
|
38
38
|
import '@dynamic-labs/wallet-book';
|
|
39
39
|
import 'formik';
|
|
40
40
|
import 'yup';
|
|
41
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
41
42
|
import { StatusDot } from '../../components/StatusDot/StatusDot.js';
|
|
42
43
|
import { getSocialNetworkIcon } from '../../utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.js';
|
|
43
44
|
import { useEmailVerificationContext } from '../../context/EmailVerificationContext/EmailVerificationContext.js';
|
|
@@ -39,6 +39,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
39
39
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
40
40
|
require('formik');
|
|
41
41
|
require('yup');
|
|
42
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
42
43
|
var getBrowserIcon = require('../../shared/utils/functions/getBrowserIcon/getBrowserIcon.cjs');
|
|
43
44
|
var WalletHelpLink = require('./WalletHelpLink.cjs');
|
|
44
45
|
|
|
@@ -35,6 +35,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
35
35
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
36
36
|
import 'formik';
|
|
37
37
|
import 'yup';
|
|
38
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
38
39
|
import { getBrowserIcon } from '../../shared/utils/functions/getBrowserIcon/getBrowserIcon.js';
|
|
39
40
|
import { WalletHelpLink } from './WalletHelpLink.js';
|
|
40
41
|
|
|
@@ -38,6 +38,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
38
38
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
39
39
|
require('formik');
|
|
40
40
|
require('yup');
|
|
41
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
41
42
|
|
|
42
43
|
const capitalize = (value) => value[0].toUpperCase() + value.slice(1);
|
|
43
44
|
const WalletHelpLink = ({ name, link, Icon }) => (jsxRuntime.jsx("div", Object.assign({ className: 'wallet-help-link' }, { children: jsxRuntime.jsxs("a", Object.assign({ className: 'wallet-help-link__anchor', href: link, target: '_blank', rel: 'noreferrer' }, { children: [jsxRuntime.jsx(Icon, { style: {
|
|
@@ -34,6 +34,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
34
34
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
35
35
|
import 'formik';
|
|
36
36
|
import 'yup';
|
|
37
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
37
38
|
|
|
38
39
|
const capitalize = (value) => value[0].toUpperCase() + value.slice(1);
|
|
39
40
|
const WalletHelpLink = ({ name, link, Icon }) => (jsx("div", Object.assign({ className: 'wallet-help-link' }, { children: jsxs("a", Object.assign({ className: 'wallet-help-link__anchor', href: link, target: '_blank', rel: 'noreferrer' }, { children: [jsx(Icon, { style: {
|
|
@@ -42,6 +42,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
42
42
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
43
43
|
require('formik');
|
|
44
44
|
require('yup');
|
|
45
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
45
46
|
|
|
46
47
|
const PendingConnectView = () => {
|
|
47
48
|
const { selectedWalletConnector: walletConnector, termsOfServiceUrl, privacyPolicyUrl, } = useInternalDynamicContext.useInternalDynamicContext();
|
|
@@ -38,6 +38,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
38
38
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
39
39
|
import 'formik';
|
|
40
40
|
import 'yup';
|
|
41
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
41
42
|
|
|
42
43
|
const PendingConnectView = () => {
|
|
43
44
|
const { selectedWalletConnector: walletConnector, termsOfServiceUrl, privacyPolicyUrl, } = useInternalDynamicContext();
|
|
@@ -47,6 +47,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
47
47
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
48
48
|
require('formik');
|
|
49
49
|
require('yup');
|
|
50
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
50
51
|
|
|
51
52
|
const PendingSignatureView = () => {
|
|
52
53
|
const [loading, setLoading] = React.useState(false);
|
|
@@ -43,6 +43,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
43
43
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
44
44
|
import 'formik';
|
|
45
45
|
import 'yup';
|
|
46
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
46
47
|
|
|
47
48
|
const PendingSignatureView = () => {
|
|
48
49
|
const [loading, setLoading] = useState(false);
|
|
@@ -45,6 +45,7 @@ require('../../../components/Popper/Popper/Popper.cjs');
|
|
|
45
45
|
require('../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
46
46
|
require('formik');
|
|
47
47
|
require('yup');
|
|
48
|
+
require('../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
48
49
|
|
|
49
50
|
const QrCodeContainer = ({ accentColor, walletName, qrcodeValue, Icon: WalletIcon, privacyPolicyUrl, termsOfServiceUrl, showCopyToClipboardButton = false, desktopUri, }) => (jsxRuntime.jsxs("div", Object.assign({ className: 'qrcode-container__container' }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: 'qrcode-container__top' }, { children: [qrcodeValue ? (jsxRuntime.jsx(QRCode.QRCode, { Icon: WalletIcon, accentColor: accentColor, value: qrcodeValue, logoSize: 50, walletName: walletConnectorCore.normalizeWalletName(walletName) })) : (
|
|
50
51
|
// this div exists to give the parent a child, so that the parent
|
|
@@ -41,6 +41,7 @@ import '../../../components/Popper/Popper/Popper.js';
|
|
|
41
41
|
import '../../../components/Popper/PopperContext/PopperContext.js';
|
|
42
42
|
import 'formik';
|
|
43
43
|
import 'yup';
|
|
44
|
+
import '../../../components/MenuList/Dropdown/Dropdown.js';
|
|
44
45
|
|
|
45
46
|
const QrCodeContainer = ({ accentColor, walletName, qrcodeValue, Icon: WalletIcon, privacyPolicyUrl, termsOfServiceUrl, showCopyToClipboardButton = false, desktopUri, }) => (jsxs("div", Object.assign({ className: 'qrcode-container__container' }, { children: [jsxs("div", Object.assign({ className: 'qrcode-container__top' }, { children: [qrcodeValue ? (jsx(QRCode, { Icon: WalletIcon, accentColor: accentColor, value: qrcodeValue, logoSize: 50, walletName: normalizeWalletName(walletName) })) : (
|
|
46
47
|
// this div exists to give the parent a child, so that the parent
|
|
@@ -39,6 +39,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
39
39
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
40
40
|
require('formik');
|
|
41
41
|
require('yup');
|
|
42
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
42
43
|
var QrCodeContext = require('../../context/QrCodeContext/QrCodeContext.cjs');
|
|
43
44
|
var QrCodeContainer = require('./QrCodeContainer/QrCodeContainer.cjs');
|
|
44
45
|
|
|
@@ -35,6 +35,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
35
35
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
36
36
|
import 'formik';
|
|
37
37
|
import 'yup';
|
|
38
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
38
39
|
import { useQrCodeContext } from '../../context/QrCodeContext/QrCodeContext.js';
|
|
39
40
|
import { QrCodeContainer } from './QrCodeContainer/QrCodeContainer.js';
|
|
40
41
|
|
|
@@ -38,6 +38,7 @@ require('@dynamic-labs/wallet-book');
|
|
|
38
38
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
39
39
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
40
40
|
var SendBalancePageLayout = require('../../components/SendBalancePageLayout/SendBalancePageLayout.cjs');
|
|
41
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
41
42
|
var TransactionConfirmationView = require('../TransactionConfirmationView/TransactionConfirmationView.cjs');
|
|
42
43
|
var TransactionStatusLayout = require('../../components/TransactionStatusLayout/TransactionStatusLayout.cjs');
|
|
43
44
|
var useFetchCurrency = require('../../widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs');
|
|
@@ -34,6 +34,7 @@ import '@dynamic-labs/wallet-book';
|
|
|
34
34
|
import '../../components/Popper/Popper/Popper.js';
|
|
35
35
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
36
36
|
import { SendBalancePageLayout } from '../../components/SendBalancePageLayout/SendBalancePageLayout.js';
|
|
37
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
37
38
|
import { TransactionConfirmationView } from '../TransactionConfirmationView/TransactionConfirmationView.js';
|
|
38
39
|
import { TransactionStatusLayout } from '../../components/TransactionStatusLayout/TransactionStatusLayout.js';
|
|
39
40
|
import { useFetchCurrency } from '../../widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js';
|
|
@@ -42,6 +42,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
42
42
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
43
43
|
require('formik');
|
|
44
44
|
require('yup');
|
|
45
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
45
46
|
var SocialRedirectContext = require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
46
47
|
|
|
47
48
|
const capitalize = (str) => str.charAt(0).toUpperCase() + str.slice(1);
|
|
@@ -38,6 +38,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
38
38
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
39
39
|
import 'formik';
|
|
40
40
|
import 'yup';
|
|
41
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
41
42
|
import { useSocialRedirectContext } from '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
42
43
|
|
|
43
44
|
const capitalize = (str) => str.charAt(0).toUpperCase() + str.slice(1);
|
|
@@ -42,6 +42,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
42
42
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
43
43
|
require('formik');
|
|
44
44
|
require('yup');
|
|
45
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
45
46
|
var SocialRedirectContext = require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
46
47
|
|
|
47
48
|
const SocialWrongAccountView = () => {
|
|
@@ -38,6 +38,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
38
38
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
39
39
|
import 'formik';
|
|
40
40
|
import 'yup';
|
|
41
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
41
42
|
import { useSocialRedirectContext } from '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
42
43
|
|
|
43
44
|
const SocialWrongAccountView = () => {
|
|
@@ -41,6 +41,7 @@ var TransactionConfirmationPageLayout = require('../../components/TransactionCon
|
|
|
41
41
|
var TransactionRow = require('../../components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.cjs');
|
|
42
42
|
require('formik');
|
|
43
43
|
require('yup');
|
|
44
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
44
45
|
var useFetchCurrency = require('../../widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs');
|
|
45
46
|
var useTransactionData = require('./hooks/useTransactionData/useTransactionData.cjs');
|
|
46
47
|
var transactionErrorMessage = require('./helpers/transactionErrorMessage.cjs');
|
|
@@ -37,6 +37,7 @@ import { TransactionConfirmationPageLayout } from '../../components/TransactionC
|
|
|
37
37
|
import { TransactionRow } from '../../components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.js';
|
|
38
38
|
import 'formik';
|
|
39
39
|
import 'yup';
|
|
40
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
40
41
|
import { useFetchCurrency } from '../../widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js';
|
|
41
42
|
import { useTransactionData } from './hooks/useTransactionData/useTransactionData.js';
|
|
42
43
|
import { transactionErrorMessage } from './helpers/transactionErrorMessage.js';
|
package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.cjs
CHANGED
|
@@ -35,6 +35,7 @@ require('../../../../components/Popper/Popper/Popper.cjs');
|
|
|
35
35
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
36
36
|
require('formik');
|
|
37
37
|
require('yup');
|
|
38
|
+
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
38
39
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
39
40
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
40
41
|
var usePromise = require('../../../../utils/hooks/usePromise/usePromise.cjs');
|
package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.js
CHANGED
|
@@ -31,6 +31,7 @@ import '../../../../components/Popper/Popper/Popper.js';
|
|
|
31
31
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
32
32
|
import 'formik';
|
|
33
33
|
import 'yup';
|
|
34
|
+
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
34
35
|
import '../../../../context/MockContext/MockContext.js';
|
|
35
36
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
36
37
|
import { usePromise } from '../../../../utils/hooks/usePromise/usePromise.js';
|
|
@@ -38,6 +38,7 @@ require('../../../components/Popper/Popper/Popper.cjs');
|
|
|
38
38
|
require('../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
39
39
|
require('formik');
|
|
40
40
|
require('yup');
|
|
41
|
+
require('../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
41
42
|
|
|
42
43
|
const SearchInstead = () => (jsxRuntime.jsxs("div", Object.assign({ className: 'search-instead__container' }, { children: [jsxRuntime.jsx(Typography.Typography, Object.assign({ color: 'secondary', variant: 'body_small', weight: 'regular' }, { children: "Don't see your wallet?" })), jsxRuntime.jsx(Typography.Typography, Object.assign({ color: 'primary', variant: 'button_primary', weight: 'regular' }, { children: "Try search instead" }))] })));
|
|
43
44
|
|
|
@@ -34,6 +34,7 @@ import '../../../components/Popper/Popper/Popper.js';
|
|
|
34
34
|
import '../../../components/Popper/PopperContext/PopperContext.js';
|
|
35
35
|
import 'formik';
|
|
36
36
|
import 'yup';
|
|
37
|
+
import '../../../components/MenuList/Dropdown/Dropdown.js';
|
|
37
38
|
|
|
38
39
|
const SearchInstead = () => (jsxs("div", Object.assign({ className: 'search-instead__container' }, { children: [jsx(Typography, Object.assign({ color: 'secondary', variant: 'body_small', weight: 'regular' }, { children: "Don't see your wallet?" })), jsx(Typography, Object.assign({ color: 'primary', variant: 'button_primary', weight: 'regular' }, { children: "Try search instead" }))] })));
|
|
39
40
|
|
|
@@ -43,6 +43,7 @@ require('../../../components/Popper/Popper/Popper.cjs');
|
|
|
43
43
|
require('../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
44
44
|
require('formik');
|
|
45
45
|
require('yup');
|
|
46
|
+
require('../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
46
47
|
var Badge = require('../../../components/Badge/Badge.cjs');
|
|
47
48
|
|
|
48
49
|
const WalletListItem = ({ usingMultiWallet, wallet, onResetSearchValue, tile = ({ leading, name, onClick, trailing }) => (jsxRuntime.jsx(ListTile.ListTile, Object.assign({ leading: leading, trailing: trailing, onClick: onClick, className: 'wallet-list-item__tile' }, { children: name }))), }) => {
|
|
@@ -39,6 +39,7 @@ import '../../../components/Popper/Popper/Popper.js';
|
|
|
39
39
|
import '../../../components/Popper/PopperContext/PopperContext.js';
|
|
40
40
|
import 'formik';
|
|
41
41
|
import 'yup';
|
|
42
|
+
import '../../../components/MenuList/Dropdown/Dropdown.js';
|
|
42
43
|
import { Badge } from '../../../components/Badge/Badge.js';
|
|
43
44
|
|
|
44
45
|
const WalletListItem = ({ usingMultiWallet, wallet, onResetSearchValue, tile = ({ leading, name, onClick, trailing }) => (jsx(ListTile, Object.assign({ leading: leading, trailing: trailing, onClick: onClick, className: 'wallet-list-item__tile' }, { children: name }))), }) => {
|
|
@@ -43,6 +43,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
43
43
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
44
44
|
require('formik');
|
|
45
45
|
require('yup');
|
|
46
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
46
47
|
|
|
47
48
|
const WalletSignSpinnerView = () => {
|
|
48
49
|
const { goToInitialView } = ViewContext.useViewContext();
|
|
@@ -39,6 +39,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
39
39
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
40
40
|
import 'formik';
|
|
41
41
|
import 'yup';
|
|
42
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
42
43
|
|
|
43
44
|
const WalletSignSpinnerView = () => {
|
|
44
45
|
const { goToInitialView } = useViewContext();
|
|
@@ -49,6 +49,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
49
49
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
50
50
|
require('formik');
|
|
51
51
|
require('yup');
|
|
52
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
52
53
|
var LoadingContext = require('../../context/LoadingContext/LoadingContext.cjs');
|
|
53
54
|
|
|
54
55
|
const WalletUsedView = () => {
|
|
@@ -45,6 +45,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
45
45
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
46
46
|
import 'formik';
|
|
47
47
|
import 'yup';
|
|
48
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
48
49
|
import { useLoadingContext } from '../../context/LoadingContext/LoadingContext.js';
|
|
49
50
|
|
|
50
51
|
const WalletUsedView = () => {
|
|
@@ -38,6 +38,7 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
38
38
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
39
39
|
require('formik');
|
|
40
40
|
require('yup');
|
|
41
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
41
42
|
var DynamicBridgeWidgetNav = require('./components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.cjs');
|
|
42
43
|
var DynamicBridgeUserProfile = require('./components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs');
|
|
43
44
|
|
|
@@ -34,6 +34,7 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
34
34
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
35
35
|
import 'formik';
|
|
36
36
|
import 'yup';
|
|
37
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
37
38
|
import { DynamicBridgeWidgetNav } from './components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.js';
|
|
38
39
|
import { DynamicBridgeUserProfile } from './components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js';
|
|
39
40
|
|
|
@@ -36,9 +36,10 @@ require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
|
36
36
|
require('../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
|
37
37
|
var DynamicConnectButton = require('../../components/DynamicConnectButton/DynamicConnectButton.cjs');
|
|
38
38
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
39
|
-
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
39
|
+
var PopperContext = require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
40
40
|
require('formik');
|
|
41
41
|
require('yup');
|
|
42
|
+
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
42
43
|
var IsBrowser = require('../../components/IsBrowser/IsBrowser.cjs');
|
|
43
44
|
var DynamicNav = require('./components/DynamicNav/DynamicNav.cjs');
|
|
44
45
|
var DynamicUserProfile = require('./components/DynamicUserProfile/DynamicUserProfile.cjs');
|
|
@@ -57,7 +58,7 @@ const DynamicWidget = ({ buttonContainerClassName = '', buttonClassName = '', in
|
|
|
57
58
|
}
|
|
58
59
|
}, [inlineControlsRef, variant, showAuthFlow, setShowDynamicUserProfile]);
|
|
59
60
|
index.useOnClickOutside(widgetRef, closeOnOutsideClick);
|
|
60
|
-
return (jsxRuntime.jsx(IsBrowser.IsBrowser, { children: jsxRuntime.jsx(ShadowDOM.ShadowDOM, Object.assign({ className: 'dynamic-widget__container', id: 'dynamic-widget' }, { children: !primaryWallet && !user ? (jsxRuntime.jsx(DynamicConnectButton.DynamicConnectButton, Object.assign({ buttonContainerClassName: buttonContainerClassName, buttonClassName: buttonClassName }, { children: innerButtonComponent }))) : (jsxRuntime.jsxs(
|
|
61
|
+
return (jsxRuntime.jsx(IsBrowser.IsBrowser, { children: jsxRuntime.jsx(ShadowDOM.ShadowDOM, Object.assign({ className: 'dynamic-widget__container', id: 'dynamic-widget' }, { children: !primaryWallet && !user ? (jsxRuntime.jsx(DynamicConnectButton.DynamicConnectButton, Object.assign({ buttonContainerClassName: buttonContainerClassName, buttonClassName: buttonClassName }, { children: innerButtonComponent }))) : (jsxRuntime.jsxs(PopperContext.PopperProvider, { children: [jsxRuntime.jsx(DynamicNav.DynamicNav, {}), jsxRuntime.jsx(DynamicUserProfile.DynamicUserProfile, { variant: variant })] })) })) }));
|
|
61
62
|
};
|
|
62
63
|
|
|
63
64
|
exports.DynamicWidget = DynamicWidget;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx, jsxs
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
3
|
import '@dynamic-labs/sdk-api';
|
|
4
4
|
import '../../shared/logger.js';
|
|
@@ -32,9 +32,10 @@ import '../../context/CaptchaContext/CaptchaContext.js';
|
|
|
32
32
|
import '../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
|
33
33
|
import { DynamicConnectButton } from '../../components/DynamicConnectButton/DynamicConnectButton.js';
|
|
34
34
|
import '../../components/Popper/Popper/Popper.js';
|
|
35
|
-
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
35
|
+
import { PopperProvider } from '../../components/Popper/PopperContext/PopperContext.js';
|
|
36
36
|
import 'formik';
|
|
37
37
|
import 'yup';
|
|
38
|
+
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
38
39
|
import { IsBrowser } from '../../components/IsBrowser/IsBrowser.js';
|
|
39
40
|
import { DynamicNav } from './components/DynamicNav/DynamicNav.js';
|
|
40
41
|
import { DynamicUserProfile } from './components/DynamicUserProfile/DynamicUserProfile.js';
|
|
@@ -53,7 +54,7 @@ const DynamicWidget = ({ buttonContainerClassName = '', buttonClassName = '', in
|
|
|
53
54
|
}
|
|
54
55
|
}, [inlineControlsRef, variant, showAuthFlow, setShowDynamicUserProfile]);
|
|
55
56
|
useOnClickOutside(widgetRef, closeOnOutsideClick);
|
|
56
|
-
return (jsx(IsBrowser, { children: jsx(ShadowDOM, Object.assign({ className: 'dynamic-widget__container', id: 'dynamic-widget' }, { children: !primaryWallet && !user ? (jsx(DynamicConnectButton, Object.assign({ buttonContainerClassName: buttonContainerClassName, buttonClassName: buttonClassName }, { children: innerButtonComponent }))) : (jsxs(
|
|
57
|
+
return (jsx(IsBrowser, { children: jsx(ShadowDOM, Object.assign({ className: 'dynamic-widget__container', id: 'dynamic-widget' }, { children: !primaryWallet && !user ? (jsx(DynamicConnectButton, Object.assign({ buttonContainerClassName: buttonContainerClassName, buttonClassName: buttonClassName }, { children: innerButtonComponent }))) : (jsxs(PopperProvider, { children: [jsx(DynamicNav, {}), jsx(DynamicUserProfile, { variant: variant })] })) })) }));
|
|
57
58
|
};
|
|
58
59
|
|
|
59
60
|
export { DynamicWidget };
|
|
@@ -44,6 +44,7 @@ require('../../../../components/Popper/Popper/Popper.cjs');
|
|
|
44
44
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
45
45
|
require('formik');
|
|
46
46
|
require('yup');
|
|
47
|
+
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
47
48
|
var useFetchNameService = require('../../hooks/useFetchNameService/useFetchNameService.cjs');
|
|
48
49
|
var AuthProviderIcon = require('../../../../components/AuthProviderIcon/AuthProviderIcon.cjs');
|
|
49
50
|
|
|
@@ -40,6 +40,7 @@ import '../../../../components/Popper/Popper/Popper.js';
|
|
|
40
40
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
41
41
|
import 'formik';
|
|
42
42
|
import 'yup';
|
|
43
|
+
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
43
44
|
import { useFetchNameService } from '../../hooks/useFetchNameService/useFetchNameService.js';
|
|
44
45
|
import { AuthProviderIcon } from '../../../../components/AuthProviderIcon/AuthProviderIcon.js';
|
|
45
46
|
|
package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs
CHANGED
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var utils = require('@dynamic-labs/utils');
|
|
8
7
|
var Typography = require('../../../../components/Typography/Typography.cjs');
|
|
9
8
|
require('@dynamic-labs/sdk-api');
|
|
10
9
|
require('../../../../shared/logger.cjs');
|
|
@@ -13,6 +12,7 @@ require('@dynamic-labs/iconic');
|
|
|
13
12
|
require('@dynamic-labs/wallet-connector-core');
|
|
14
13
|
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
15
14
|
var shortenWalletAddress = require('../../../../shared/utils/functions/shortenWalletAddress/shortenWalletAddress.cjs');
|
|
15
|
+
require('@dynamic-labs/utils');
|
|
16
16
|
require('../../../../utils/constants/colors.cjs');
|
|
17
17
|
require('ethers');
|
|
18
18
|
require('../../../../shared/consts/index.cjs');
|
|
@@ -40,11 +40,12 @@ require('../../../../components/Popper/Popper/Popper.cjs');
|
|
|
40
40
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
41
41
|
require('formik');
|
|
42
42
|
require('yup');
|
|
43
|
+
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
44
|
+
var AuthProviderIcon = require('../../../../components/AuthProviderIcon/AuthProviderIcon.cjs');
|
|
43
45
|
var NetworkPicker = require('../../../../components/NetworkPicker/NetworkPicker.cjs');
|
|
44
46
|
var useFetchNameService = require('../../hooks/useFetchNameService/useFetchNameService.cjs');
|
|
45
47
|
var Balance = require('../Balance/Balance.cjs');
|
|
46
48
|
var DotsMenu = require('../DotsMenu/DotsMenu.cjs');
|
|
47
|
-
var AuthProviderIcon = require('../../../../components/AuthProviderIcon/AuthProviderIcon.cjs');
|
|
48
49
|
|
|
49
50
|
const ICON_SIZE = 28;
|
|
50
51
|
const ActiveWalletInformation = () => {
|
|
@@ -74,7 +75,7 @@ const ActiveWalletInformation = () => {
|
|
|
74
75
|
[];
|
|
75
76
|
return (jsxRuntime.jsxs("div", Object.assign({ className: 'active-wallet-information-container', "data-testid": 'active-wallet-information' }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: 'active-wallet-information' }, { children: [(nameService === null || nameService === void 0 ? void 0 : nameService.avatar) ? (jsxRuntime.jsx("div", Object.assign({ className: 'active-wallet-information__avatar' }, { children: jsxRuntime.jsx("img", { src: nameService === null || nameService === void 0 ? void 0 : nameService.avatar, alt: '' }) }))) : (jsxRuntime.jsx("div", Object.assign({ className: 'active-wallet-information__wallet-img' }, { children: jsxRuntime.jsx(AuthProviderIcon.AuthProviderIcon, { jwt: authToken, iconSize: ICON_SIZE, showStatus: true }) }))), jsxRuntime.jsxs("div", Object.assign({ className: 'active-wallet-information__details' }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: classNames.classNames('active-wallet-information__actions-container', {
|
|
76
77
|
'active-wallet-information__actions-container--centered': !(nameService === null || nameService === void 0 ? void 0 : nameService.name),
|
|
77
|
-
}) }, { children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Typography.Typography, Object.assign({ className: 'active-wallet-information__handle', color: 'primary', variant: 'body_normal' }, { children: nameService === null || nameService === void 0 ? void 0 : nameService.name })), jsxRuntime.jsx(Typography.Typography, Object.assign({ className: 'active-wallet-information__address', weight: (nameService === null || nameService === void 0 ? void 0 : nameService.name) ? 'regular' : 'medium', variant: (nameService === null || nameService === void 0 ? void 0 : nameService.name) ? 'body_small' : 'body_normal', color: (nameService === null || nameService === void 0 ? void 0 : nameService.name) ? 'secondary' : 'primary' }, { children: shortenWalletAddress.shortenWalletAddress(address, 4, 4) }))] }), jsxRuntime.jsx(DotsMenu.DotsMenu, { "data-testid": 'dots-menu', options: options,
|
|
78
|
+
}) }, { children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Typography.Typography, Object.assign({ className: 'active-wallet-information__handle', color: 'primary', variant: 'body_normal' }, { children: nameService === null || nameService === void 0 ? void 0 : nameService.name })), jsxRuntime.jsx(Typography.Typography, Object.assign({ className: 'active-wallet-information__address', weight: (nameService === null || nameService === void 0 ? void 0 : nameService.name) ? 'regular' : 'medium', variant: (nameService === null || nameService === void 0 ? void 0 : nameService.name) ? 'body_small' : 'body_normal', color: (nameService === null || nameService === void 0 ? void 0 : nameService.name) ? 'secondary' : 'primary' }, { children: shortenWalletAddress.shortenWalletAddress(address, 4, 4) }))] }), jsxRuntime.jsx(DotsMenu.DotsMenu, { "data-testid": 'dots-menu', options: options, buttonClassName: 'active-wallet-information__dots-menu', buttonClassNameWithOpenMenu: 'active-wallet-information__dots-menu' })] })), jsxRuntime.jsx(NetworkPicker.NetworkPicker, { connector: primaryWallet === null || primaryWallet === void 0 ? void 0 : primaryWallet.connector, isNetworkPickerOpen: isNetworkPickerOpen, setIsNetworkPickerOpen: setIsNetworkPickerOpen, mainClassName: 'active-wallet-information__network-picker', buttonClassName: 'active-wallet-information__network-picker-button', evmNetworks: evmNetworks, showNetworkName: true })] }))] })), jsxRuntime.jsxs("div", Object.assign({ className: 'balance-container' }, { children: [jsxRuntime.jsx(Typography.Typography, Object.assign({ color: 'secondary', variant: 'body_small' }, { children: "Balance" })), primaryWallet && (jsxRuntime.jsx(Balance.Balance, { className: 'balance-container__balance', connector: primaryWallet.connector, address: primaryWallet.address, network: network }))] }))] })));
|
|
78
79
|
};
|
|
79
80
|
|
|
80
81
|
exports.ActiveWalletInformation = ActiveWalletInformation;
|