@dynamic-labs/sdk-react-core 4.29.4 → 4.29.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/package.cjs +3 -3
- package/package.js +3 -3
- package/package.json +13 -13
- package/src/index.cjs +10 -2
- package/src/index.d.ts +2 -2
- package/src/index.js +4 -2
- package/src/lib/client/extension/deprecated/mfa/verifyTotpMfaDevice/verifyTotpMfaDevice.d.ts +1 -1
- package/src/lib/components/EmbeddedWalletExport/EmbeddedWalletExport.cjs +83 -0
- package/src/lib/components/EmbeddedWalletExport/EmbeddedWalletExport.d.ts +12 -0
- package/src/lib/components/EmbeddedWalletExport/EmbeddedWalletExport.js +79 -0
- package/src/lib/components/EmbeddedWalletExport/index.d.ts +2 -0
- package/src/lib/components/Input/Input.cjs +1 -1
- package/src/lib/components/Input/Input.js +1 -1
- package/src/lib/components/Textarea/Textarea.cjs +1 -1
- package/src/lib/components/Textarea/Textarea.js +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +3 -2
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +3 -2
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useAutoselectPrimaryWallet/useAutoselectPrimaryWallet.cjs +7 -7
- package/src/lib/context/DynamicContext/hooks/useAutoselectPrimaryWallet/useAutoselectPrimaryWallet.js +7 -7
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +7 -7
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +7 -7
- package/src/lib/context/ViewContext/types/index.d.ts +1 -1
- package/src/lib/locale/en/translation.cjs +76 -0
- package/src/lib/locale/en/translation.d.ts +76 -0
- package/src/lib/locale/en/translation.js +76 -0
- package/src/lib/shared/assets/index.d.ts +1 -0
- package/src/lib/shared/assets/sparkles.cjs +54 -0
- package/src/lib/shared/assets/sparkles.js +30 -0
- package/src/lib/shared/assets/upgrade.cjs +93 -0
- package/src/lib/shared/assets/upgrade.js +69 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/constants/authViewLayoutChecks.cjs +4 -0
- package/src/lib/utils/constants/authViewLayoutChecks.js +4 -0
- package/src/lib/utils/functions/exportWalletCredential/exportWalletCredential.cjs +57 -0
- package/src/lib/utils/functions/exportWalletCredential/exportWalletCredential.d.ts +13 -0
- package/src/lib/utils/functions/exportWalletCredential/exportWalletCredential.js +53 -0
- package/src/lib/utils/functions/exportWalletCredential/index.d.ts +2 -0
- package/src/lib/utils/functions/findPrimaryWalletVCForUser/findPrimaryWalletVCForUser.cjs +57 -0
- package/src/lib/utils/functions/findPrimaryWalletVCForUser/findPrimaryWalletVCForUser.d.ts +11 -0
- package/src/lib/utils/functions/findPrimaryWalletVCForUser/findPrimaryWalletVCForUser.js +53 -0
- package/src/lib/utils/functions/findPrimaryWalletVCForUser/index.d.ts +1 -0
- package/src/lib/utils/functions/index.d.ts +1 -0
- package/src/lib/utils/hooks/index.d.ts +2 -0
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +3 -3
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +3 -3
- package/src/lib/utils/hooks/useDeletePasskey/index.d.ts +1 -0
- package/src/lib/utils/hooks/useDeletePasskey/useDeletePasskey.cjs +33 -0
- package/src/lib/utils/hooks/useDeletePasskey/useDeletePasskey.d.ts +22 -0
- package/src/lib/utils/hooks/useDeletePasskey/useDeletePasskey.js +29 -0
- package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.cjs +23 -23
- package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.d.ts +5 -4
- package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.js +24 -24
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +25 -36
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +26 -37
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.cjs +2 -2
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.js +2 -2
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.cjs +4 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.js +4 -4
- package/src/lib/utils/hooks/useGetMfaToken/useGetMfaToken.cjs +39 -19
- package/src/lib/utils/hooks/useGetMfaToken/useGetMfaToken.js +39 -19
- package/src/lib/utils/hooks/useRefreshUser/useRefreshUser.cjs +11 -5
- package/src/lib/utils/hooks/useRefreshUser/useRefreshUser.js +11 -5
- package/src/lib/utils/hooks/useRefreshUserState/useRefreshUserState.cjs +2 -2
- package/src/lib/utils/hooks/useRefreshUserState/useRefreshUserState.js +2 -2
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.cjs +1 -1
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.js +1 -1
- package/src/lib/utils/hooks/useSmartWallets/useSmartWallets.cjs +1 -1
- package/src/lib/utils/hooks/useSmartWallets/useSmartWallets.js +1 -1
- package/src/lib/utils/hooks/useSyncDynamicWaas/useSyncDynamicWaas.cjs +1 -1
- package/src/lib/utils/hooks/useSyncDynamicWaas/useSyncDynamicWaas.js +1 -1
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.cjs +5 -4
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.js +5 -4
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.cjs +3 -3
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.js +3 -3
- package/src/lib/utils/hooks/useUpgradeEmbeddedWallet/useUpgradeEmbeddedWallet.cjs +3 -3
- package/src/lib/utils/hooks/useUpgradeEmbeddedWallet/useUpgradeEmbeddedWallet.js +3 -3
- package/src/lib/utils/hooks/useUpgradeToDynamicWaasFlow/index.d.ts +1 -0
- package/src/lib/utils/hooks/useUpgradeToDynamicWaasFlow/useUpgradeToDynamicWaasFlow.cjs +124 -0
- package/src/lib/utils/hooks/useUpgradeToDynamicWaasFlow/useUpgradeToDynamicWaasFlow.d.ts +7 -0
- package/src/lib/utils/hooks/useUpgradeToDynamicWaasFlow/useUpgradeToDynamicWaasFlow.js +120 -0
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +3 -3
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +3 -3
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +6 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +6 -0
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +6 -0
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +6 -0
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.cjs +44 -31
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.js +44 -31
- package/src/lib/views/AccountUpgradedView/AccountUpgradedView.cjs +124 -0
- package/src/lib/views/AccountUpgradedView/AccountUpgradedView.d.ts +2 -0
- package/src/lib/views/AccountUpgradedView/AccountUpgradedView.js +120 -0
- package/src/lib/views/AccountUpgradedView/index.d.ts +1 -0
- package/src/lib/views/EmailVerification/EmailVerification.cjs +3 -3
- package/src/lib/views/EmailVerification/EmailVerification.js +3 -3
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +17 -139
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +20 -142
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs +15 -0
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.d.ts +2 -0
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.js +14 -1
- package/src/lib/views/WaasUpgradeView/WaasUpgradeView.cjs +159 -0
- package/src/lib/views/WaasUpgradeView/WaasUpgradeView.d.ts +5 -0
- package/src/lib/views/WaasUpgradeView/WaasUpgradeView.js +155 -0
- package/src/lib/views/WaasUpgradeView/index.d.ts +2 -0
- package/src/lib/views/WalletUpgradeFlowView/WalletUpgradeFlowView.cjs +203 -0
- package/src/lib/views/WalletUpgradeFlowView/WalletUpgradeFlowView.d.ts +9 -0
- package/src/lib/views/WalletUpgradeFlowView/WalletUpgradeFlowView.js +199 -0
- package/src/lib/views/WalletUpgradeFlowView/index.d.ts +1 -0
- package/src/lib/views/viewToComponentMap.cjs +6 -0
- package/src/lib/views/viewToComponentMap.d.ts +3 -0
- package/src/lib/views/viewToComponentMap.js +6 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +3 -3
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +3 -3
- package/src/lib/widgets/DynamicWidget/components/PasskeyCard/PasskeyCard.cjs +12 -1
- package/src/lib/widgets/DynamicWidget/components/PasskeyCard/PasskeyCard.js +12 -1
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysMfaWidgetView/ManagePasskeysMfaWidgetView.cjs +10 -1
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysMfaWidgetView/ManagePasskeysMfaWidgetView.js +10 -1
|
@@ -20,6 +20,13 @@ import { updatePrimaryWalletId } from '../../utils/functions/updatePrimaryWallet
|
|
|
20
20
|
import '../../store/state/connectedWalletsInfo/connectedWalletsInfo.js';
|
|
21
21
|
import '../../store/state/dynamicContextProps/dynamicContextProps.js';
|
|
22
22
|
import '../../store/state/primaryWalletId/primaryWalletId.js';
|
|
23
|
+
import '@dynamic-labs-sdk/client/core';
|
|
24
|
+
import '../../client/client.js';
|
|
25
|
+
import '@dynamic-labs-sdk/client';
|
|
26
|
+
import '../../config/ApiEndpoint.js';
|
|
27
|
+
import '../../events/dynamicEvents.js';
|
|
28
|
+
import '../../store/state/projectSettings/projectSettings.js';
|
|
29
|
+
import '../../locale/locale.js';
|
|
23
30
|
import { useInternalDynamicEvents } from '../../utils/hooks/events/useDynamicEvents/useDynamicEvents.js';
|
|
24
31
|
import '../DynamicContext/DynamicContext.js';
|
|
25
32
|
import '../../store/state/loadingAndLifecycle/loadingAndLifecycle.js';
|
|
@@ -28,14 +35,7 @@ import { useInternalDynamicContext } from '../DynamicContext/useDynamicContext/u
|
|
|
28
35
|
import { useCaptchaContext } from '../CaptchaContext/CaptchaContext.js';
|
|
29
36
|
import { useErrorContext } from '../ErrorContext/ErrorContext.js';
|
|
30
37
|
import { useVerifyWallet } from '../../utils/hooks/useVerifyWallet/useVerifyWallet.js';
|
|
31
|
-
import '@dynamic-labs-sdk/client/core';
|
|
32
|
-
import '../../client/client.js';
|
|
33
|
-
import '@dynamic-labs-sdk/client';
|
|
34
|
-
import '../../config/ApiEndpoint.js';
|
|
35
|
-
import '../../events/dynamicEvents.js';
|
|
36
|
-
import '../../store/state/projectSettings/projectSettings.js';
|
|
37
38
|
import '../VerificationContext/VerificationContext.js';
|
|
38
|
-
import '../../locale/locale.js';
|
|
39
39
|
import 'react-dom';
|
|
40
40
|
import '../../utils/functions/compareChains/compareChains.js';
|
|
41
41
|
import '../../views/Passkey/utils/findPrimaryEmbeddedChain/findPrimaryEmbeddedChain.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC } from 'react';
|
|
2
2
|
import { viewToComponentMap } from '../../../views/viewToComponentMap';
|
|
3
|
-
export type ViewType = 'access-blocked' | 'backup-unsuccessful' | 'select-hardware-wallet' | 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-no-wallet' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-wallet-only' | 'login-with-email-verification' | 'login-with-sms-verification' | 'network-not-supported' | 'network-not-supported-manual' | 'no-access' | 'no-qr-not-installed' | 'pending-connect' | 'pending-signature-without-back-button' | 'pending-signature' | 'qr-code' | 'verify-email' | 'verify-sms' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'unified-wallet-exchange-list' | 'external-funding-exchange-list' | 'external-funding-wallet-list' | 'mfa-exchange-view' | 'exchange-whitelist-warning' | 'sandbox-maximum-threshold-reached' | 'multi-wallet-wallet-list' | 'duplicate-wallet' | 'wallet-sign' | 'wallet-used' | 'wallet-group' | 'select-wallet-in-wallet-group' | 'wait-for-email-confirmation-view' | 'email-wallet-otp-verification-view' | 'social-redirect-view' | 'wallet-locked-view' | 'social-wrong-account' | 'gate-blocked-wallet' | 'bridge-welcome' | 'bridge-summary' | 'bridge-next-wallet-connection' | 'account-exists' | 'merge-user-accounts' | 'merge-user-accounts-conflicts' | 'merge-user-accounts-with-same-email' | 'mfa-choose-device' | 'mfa-recovery' | 'mfa-secure-device' | 'mfa-secure-device-help' | 'mfa-verification' | 'mfa-display-backup-codes' | 'wallet-cannot-be-transferred' | 'passkey-intro' | 'passkey-recovery-add-email' | 'global-wallet-confirm' | 'global-wallet-malicious' | 'global-wallet-info' | 'passkey-recovery-start' | 'passkey-recovery-bundle' | 'passkey-recovery-complete' | 'passkey-new-domain-detected' | 'passkey-setup' | 'passkey-confirm' | 'embedded-delete-view' | 'embedded-reveal-view' | 'embedded-reveal-account-view' | 'embedded-wallet-auth-choice' | 'rename-passkey' | 'wallet-redirect-view' | 'mobile-wallet-redirect-view' | 'farcaster-connect-view' | 'embedded-wallet-exists' | 'user-delete-account';
|
|
3
|
+
export type ViewType = 'access-blocked' | 'account-upgraded' | 'backup-unsuccessful' | 'select-hardware-wallet' | 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-no-wallet' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-wallet-only' | 'login-with-email-verification' | 'login-with-sms-verification' | 'network-not-supported' | 'network-not-supported-manual' | 'no-access' | 'no-qr-not-installed' | 'pending-connect' | 'pending-signature-without-back-button' | 'pending-signature' | 'qr-code' | 'verify-email' | 'verify-sms' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'unified-wallet-exchange-list' | 'external-funding-exchange-list' | 'external-funding-wallet-list' | 'mfa-exchange-view' | 'exchange-whitelist-warning' | 'sandbox-maximum-threshold-reached' | 'multi-wallet-wallet-list' | 'duplicate-wallet' | 'wallet-sign' | 'wallet-used' | 'wallet-group' | 'select-wallet-in-wallet-group' | 'wait-for-email-confirmation-view' | 'email-wallet-otp-verification-view' | 'social-redirect-view' | 'wallet-locked-view' | 'social-wrong-account' | 'gate-blocked-wallet' | 'bridge-welcome' | 'bridge-summary' | 'bridge-next-wallet-connection' | 'account-exists' | 'merge-user-accounts' | 'merge-user-accounts-conflicts' | 'merge-user-accounts-with-same-email' | 'mfa-choose-device' | 'mfa-recovery' | 'mfa-secure-device' | 'mfa-secure-device-help' | 'mfa-verification' | 'mfa-display-backup-codes' | 'wallet-cannot-be-transferred' | 'passkey-intro' | 'passkey-recovery-add-email' | 'global-wallet-confirm' | 'global-wallet-malicious' | 'global-wallet-info' | 'passkey-recovery-start' | 'passkey-recovery-bundle' | 'passkey-recovery-complete' | 'passkey-new-domain-detected' | 'passkey-setup' | 'passkey-confirm' | 'embedded-delete-view' | 'embedded-reveal-view' | 'embedded-reveal-account-view' | 'embedded-wallet-auth-choice' | 'rename-passkey' | 'wallet-redirect-view' | 'wallet-upgrade-flow-view' | 'mobile-wallet-redirect-view' | 'farcaster-connect-view' | 'embedded-wallet-exists' | 'user-delete-account' | 'waas-upgrade-view';
|
|
4
4
|
export type ViewMapConstraint = Record<ViewType, FC<any>>;
|
|
5
5
|
export type ViewMap = typeof viewToComponentMap;
|
|
6
6
|
export type ViewState<T extends ViewType> = {
|
|
@@ -898,6 +898,7 @@ const translation = {
|
|
|
898
898
|
safari: 'Safari Browser',
|
|
899
899
|
},
|
|
900
900
|
passkey_rename: 'Rename',
|
|
901
|
+
passkey_delete: 'Delete',
|
|
901
902
|
recovery_button: 'Set up new passkey',
|
|
902
903
|
}
|
|
903
904
|
*/
|
|
@@ -916,6 +917,7 @@ const translation = {
|
|
|
916
917
|
passkey: 'Passkey',
|
|
917
918
|
},
|
|
918
919
|
passkey_rename: 'Rename',
|
|
920
|
+
passkey_delete: 'Delete',
|
|
919
921
|
recovery_button: 'Set up new passkey',
|
|
920
922
|
},
|
|
921
923
|
/**
|
|
@@ -2899,6 +2901,80 @@ const translation = {
|
|
|
2899
2901
|
dyn_search: {
|
|
2900
2902
|
clear: 'Clear',
|
|
2901
2903
|
},
|
|
2904
|
+
/**
|
|
2905
|
+
* @description copy keys for account upgraded view
|
|
2906
|
+
* @default
|
|
2907
|
+
* {
|
|
2908
|
+
* title: 'Account Upgraded',
|
|
2909
|
+
* message: 'All done! You've got the latest version — more powerful, flexible, and ready for what's next.',
|
|
2910
|
+
* continue_button: 'Continue',
|
|
2911
|
+
* }
|
|
2912
|
+
*/
|
|
2913
|
+
dyn_account_upgraded: {
|
|
2914
|
+
title: 'Account Upgraded',
|
|
2915
|
+
message: "All done! You've got the latest version — more powerful, flexible, and ready for what's next.",
|
|
2916
|
+
continue_button: 'Continue',
|
|
2917
|
+
},
|
|
2918
|
+
/**
|
|
2919
|
+
* @description copy keys for Dynamic WaaS upgrade view
|
|
2920
|
+
* @default
|
|
2921
|
+
* {
|
|
2922
|
+
* title: 'Upgrade your account',
|
|
2923
|
+
* description: 'A new version of your account is available, with better security and easier recovery.',
|
|
2924
|
+
* eligible_wallets: 'Eligible wallets',
|
|
2925
|
+
* how_to_upgrade: 'How would you like to upgrade?',
|
|
2926
|
+
* keep_existing: 'Keep existing wallet',
|
|
2927
|
+
* keep_existing_desc: 'Export your legacy wallet and securely import the private key to upgrade',
|
|
2928
|
+
* start_fresh: 'Start fresh',
|
|
2929
|
+
* start_fresh_desc: 'Removes your legacy wallet and create a brand new upgraded wallet',
|
|
2930
|
+
* recommended: 'recommended',
|
|
2931
|
+
* upgrade: 'Upgrade',
|
|
2932
|
+
* not_now: 'Not now',
|
|
2933
|
+
* }
|
|
2934
|
+
*/
|
|
2935
|
+
dyn_upgrade_wallet: {
|
|
2936
|
+
title: 'Upgrade your account',
|
|
2937
|
+
description: 'A new version of your account is available, with better security and easier recovery.',
|
|
2938
|
+
eligible_wallets: 'Eligible wallets',
|
|
2939
|
+
how_to_upgrade: 'How would you like to upgrade?',
|
|
2940
|
+
keep_existing: 'Keep existing wallet',
|
|
2941
|
+
keep_existing_desc: 'Export your legacy wallet and securely import the private key to upgrade',
|
|
2942
|
+
start_fresh: 'Start fresh',
|
|
2943
|
+
start_fresh_desc: 'Removes your legacy wallet and create a brand new upgraded wallet',
|
|
2944
|
+
recommended: 'recommended',
|
|
2945
|
+
upgrade: 'Upgrade',
|
|
2946
|
+
not_now: 'Not now',
|
|
2947
|
+
},
|
|
2948
|
+
/**
|
|
2949
|
+
* @description copy keys for Dynamic wallet upgrade flow view
|
|
2950
|
+
* @default
|
|
2951
|
+
* {
|
|
2952
|
+
* title: 'Upgrade your wallet',
|
|
2953
|
+
* step_wallet_upgrade: '{{walletName}} Upgrade',
|
|
2954
|
+
* new_wallet_title: 'Create New Wallet',
|
|
2955
|
+
* new_wallet_coming_soon: 'New wallet creation coming soon...',
|
|
2956
|
+
* copy_private_key_subtitle: 'Import your wallet key to upgrade your wallet. You will not lose access to any assets. Your wallet will always remain in your control.',
|
|
2957
|
+
* copy_private_key_title: 'Copy',
|
|
2958
|
+
* step_2_upgrade_description: 'Paste',
|
|
2959
|
+
* upgrade_wallet: 'Upgrade Account',
|
|
2960
|
+
* cancel: 'Cancel',
|
|
2961
|
+
* export_failed: 'Failed to export wallet',
|
|
2962
|
+
* upgrade_failed: 'Failed to upgrade wallet',
|
|
2963
|
+
* }
|
|
2964
|
+
*/
|
|
2965
|
+
dyn_wallet_upgrade_flow: {
|
|
2966
|
+
title: 'Upgrade your wallet',
|
|
2967
|
+
step_wallet_upgrade: '{{walletName}} Upgrade',
|
|
2968
|
+
new_wallet_title: 'Create New Wallet',
|
|
2969
|
+
new_wallet_coming_soon: 'New wallet creation coming soon...',
|
|
2970
|
+
copy_private_key_subtitle: 'Import your wallet key to upgrade your wallet. You will not lose access to any assets. Your wallet will always remain in your control.',
|
|
2971
|
+
copy_private_key_title: 'Copy',
|
|
2972
|
+
step_2_upgrade_description: 'Paste',
|
|
2973
|
+
upgrade_wallet: 'Upgrade Account',
|
|
2974
|
+
cancel: 'Cancel',
|
|
2975
|
+
export_failed: 'Failed to export wallet',
|
|
2976
|
+
upgrade_failed: 'Failed to upgrade wallet',
|
|
2977
|
+
},
|
|
2902
2978
|
};
|
|
2903
2979
|
|
|
2904
2980
|
exports.translation = translation;
|
|
@@ -892,6 +892,7 @@ export declare const translation: {
|
|
|
892
892
|
safari: 'Safari Browser',
|
|
893
893
|
},
|
|
894
894
|
passkey_rename: 'Rename',
|
|
895
|
+
passkey_delete: 'Delete',
|
|
895
896
|
recovery_button: 'Set up new passkey',
|
|
896
897
|
}
|
|
897
898
|
*/
|
|
@@ -910,6 +911,7 @@ export declare const translation: {
|
|
|
910
911
|
passkey: string;
|
|
911
912
|
};
|
|
912
913
|
passkey_rename: string;
|
|
914
|
+
passkey_delete: string;
|
|
913
915
|
recovery_button: string;
|
|
914
916
|
};
|
|
915
917
|
/**
|
|
@@ -2895,4 +2897,78 @@ export declare const translation: {
|
|
|
2895
2897
|
dyn_search: {
|
|
2896
2898
|
clear: string;
|
|
2897
2899
|
};
|
|
2900
|
+
/**
|
|
2901
|
+
* @description copy keys for account upgraded view
|
|
2902
|
+
* @default
|
|
2903
|
+
* {
|
|
2904
|
+
* title: 'Account Upgraded',
|
|
2905
|
+
* message: 'All done! You've got the latest version — more powerful, flexible, and ready for what's next.',
|
|
2906
|
+
* continue_button: 'Continue',
|
|
2907
|
+
* }
|
|
2908
|
+
*/
|
|
2909
|
+
dyn_account_upgraded: {
|
|
2910
|
+
title: string;
|
|
2911
|
+
message: string;
|
|
2912
|
+
continue_button: string;
|
|
2913
|
+
};
|
|
2914
|
+
/**
|
|
2915
|
+
* @description copy keys for Dynamic WaaS upgrade view
|
|
2916
|
+
* @default
|
|
2917
|
+
* {
|
|
2918
|
+
* title: 'Upgrade your account',
|
|
2919
|
+
* description: 'A new version of your account is available, with better security and easier recovery.',
|
|
2920
|
+
* eligible_wallets: 'Eligible wallets',
|
|
2921
|
+
* how_to_upgrade: 'How would you like to upgrade?',
|
|
2922
|
+
* keep_existing: 'Keep existing wallet',
|
|
2923
|
+
* keep_existing_desc: 'Export your legacy wallet and securely import the private key to upgrade',
|
|
2924
|
+
* start_fresh: 'Start fresh',
|
|
2925
|
+
* start_fresh_desc: 'Removes your legacy wallet and create a brand new upgraded wallet',
|
|
2926
|
+
* recommended: 'recommended',
|
|
2927
|
+
* upgrade: 'Upgrade',
|
|
2928
|
+
* not_now: 'Not now',
|
|
2929
|
+
* }
|
|
2930
|
+
*/
|
|
2931
|
+
dyn_upgrade_wallet: {
|
|
2932
|
+
title: string;
|
|
2933
|
+
description: string;
|
|
2934
|
+
eligible_wallets: string;
|
|
2935
|
+
how_to_upgrade: string;
|
|
2936
|
+
keep_existing: string;
|
|
2937
|
+
keep_existing_desc: string;
|
|
2938
|
+
start_fresh: string;
|
|
2939
|
+
start_fresh_desc: string;
|
|
2940
|
+
recommended: string;
|
|
2941
|
+
upgrade: string;
|
|
2942
|
+
not_now: string;
|
|
2943
|
+
};
|
|
2944
|
+
/**
|
|
2945
|
+
* @description copy keys for Dynamic wallet upgrade flow view
|
|
2946
|
+
* @default
|
|
2947
|
+
* {
|
|
2948
|
+
* title: 'Upgrade your wallet',
|
|
2949
|
+
* step_wallet_upgrade: '{{walletName}} Upgrade',
|
|
2950
|
+
* new_wallet_title: 'Create New Wallet',
|
|
2951
|
+
* new_wallet_coming_soon: 'New wallet creation coming soon...',
|
|
2952
|
+
* copy_private_key_subtitle: 'Import your wallet key to upgrade your wallet. You will not lose access to any assets. Your wallet will always remain in your control.',
|
|
2953
|
+
* copy_private_key_title: 'Copy',
|
|
2954
|
+
* step_2_upgrade_description: 'Paste',
|
|
2955
|
+
* upgrade_wallet: 'Upgrade Account',
|
|
2956
|
+
* cancel: 'Cancel',
|
|
2957
|
+
* export_failed: 'Failed to export wallet',
|
|
2958
|
+
* upgrade_failed: 'Failed to upgrade wallet',
|
|
2959
|
+
* }
|
|
2960
|
+
*/
|
|
2961
|
+
dyn_wallet_upgrade_flow: {
|
|
2962
|
+
title: string;
|
|
2963
|
+
step_wallet_upgrade: string;
|
|
2964
|
+
new_wallet_title: string;
|
|
2965
|
+
new_wallet_coming_soon: string;
|
|
2966
|
+
copy_private_key_subtitle: string;
|
|
2967
|
+
copy_private_key_title: string;
|
|
2968
|
+
step_2_upgrade_description: string;
|
|
2969
|
+
upgrade_wallet: string;
|
|
2970
|
+
cancel: string;
|
|
2971
|
+
export_failed: string;
|
|
2972
|
+
upgrade_failed: string;
|
|
2973
|
+
};
|
|
2898
2974
|
};
|
|
@@ -894,6 +894,7 @@ const translation = {
|
|
|
894
894
|
safari: 'Safari Browser',
|
|
895
895
|
},
|
|
896
896
|
passkey_rename: 'Rename',
|
|
897
|
+
passkey_delete: 'Delete',
|
|
897
898
|
recovery_button: 'Set up new passkey',
|
|
898
899
|
}
|
|
899
900
|
*/
|
|
@@ -912,6 +913,7 @@ const translation = {
|
|
|
912
913
|
passkey: 'Passkey',
|
|
913
914
|
},
|
|
914
915
|
passkey_rename: 'Rename',
|
|
916
|
+
passkey_delete: 'Delete',
|
|
915
917
|
recovery_button: 'Set up new passkey',
|
|
916
918
|
},
|
|
917
919
|
/**
|
|
@@ -2895,6 +2897,80 @@ const translation = {
|
|
|
2895
2897
|
dyn_search: {
|
|
2896
2898
|
clear: 'Clear',
|
|
2897
2899
|
},
|
|
2900
|
+
/**
|
|
2901
|
+
* @description copy keys for account upgraded view
|
|
2902
|
+
* @default
|
|
2903
|
+
* {
|
|
2904
|
+
* title: 'Account Upgraded',
|
|
2905
|
+
* message: 'All done! You've got the latest version — more powerful, flexible, and ready for what's next.',
|
|
2906
|
+
* continue_button: 'Continue',
|
|
2907
|
+
* }
|
|
2908
|
+
*/
|
|
2909
|
+
dyn_account_upgraded: {
|
|
2910
|
+
title: 'Account Upgraded',
|
|
2911
|
+
message: "All done! You've got the latest version — more powerful, flexible, and ready for what's next.",
|
|
2912
|
+
continue_button: 'Continue',
|
|
2913
|
+
},
|
|
2914
|
+
/**
|
|
2915
|
+
* @description copy keys for Dynamic WaaS upgrade view
|
|
2916
|
+
* @default
|
|
2917
|
+
* {
|
|
2918
|
+
* title: 'Upgrade your account',
|
|
2919
|
+
* description: 'A new version of your account is available, with better security and easier recovery.',
|
|
2920
|
+
* eligible_wallets: 'Eligible wallets',
|
|
2921
|
+
* how_to_upgrade: 'How would you like to upgrade?',
|
|
2922
|
+
* keep_existing: 'Keep existing wallet',
|
|
2923
|
+
* keep_existing_desc: 'Export your legacy wallet and securely import the private key to upgrade',
|
|
2924
|
+
* start_fresh: 'Start fresh',
|
|
2925
|
+
* start_fresh_desc: 'Removes your legacy wallet and create a brand new upgraded wallet',
|
|
2926
|
+
* recommended: 'recommended',
|
|
2927
|
+
* upgrade: 'Upgrade',
|
|
2928
|
+
* not_now: 'Not now',
|
|
2929
|
+
* }
|
|
2930
|
+
*/
|
|
2931
|
+
dyn_upgrade_wallet: {
|
|
2932
|
+
title: 'Upgrade your account',
|
|
2933
|
+
description: 'A new version of your account is available, with better security and easier recovery.',
|
|
2934
|
+
eligible_wallets: 'Eligible wallets',
|
|
2935
|
+
how_to_upgrade: 'How would you like to upgrade?',
|
|
2936
|
+
keep_existing: 'Keep existing wallet',
|
|
2937
|
+
keep_existing_desc: 'Export your legacy wallet and securely import the private key to upgrade',
|
|
2938
|
+
start_fresh: 'Start fresh',
|
|
2939
|
+
start_fresh_desc: 'Removes your legacy wallet and create a brand new upgraded wallet',
|
|
2940
|
+
recommended: 'recommended',
|
|
2941
|
+
upgrade: 'Upgrade',
|
|
2942
|
+
not_now: 'Not now',
|
|
2943
|
+
},
|
|
2944
|
+
/**
|
|
2945
|
+
* @description copy keys for Dynamic wallet upgrade flow view
|
|
2946
|
+
* @default
|
|
2947
|
+
* {
|
|
2948
|
+
* title: 'Upgrade your wallet',
|
|
2949
|
+
* step_wallet_upgrade: '{{walletName}} Upgrade',
|
|
2950
|
+
* new_wallet_title: 'Create New Wallet',
|
|
2951
|
+
* new_wallet_coming_soon: 'New wallet creation coming soon...',
|
|
2952
|
+
* copy_private_key_subtitle: 'Import your wallet key to upgrade your wallet. You will not lose access to any assets. Your wallet will always remain in your control.',
|
|
2953
|
+
* copy_private_key_title: 'Copy',
|
|
2954
|
+
* step_2_upgrade_description: 'Paste',
|
|
2955
|
+
* upgrade_wallet: 'Upgrade Account',
|
|
2956
|
+
* cancel: 'Cancel',
|
|
2957
|
+
* export_failed: 'Failed to export wallet',
|
|
2958
|
+
* upgrade_failed: 'Failed to upgrade wallet',
|
|
2959
|
+
* }
|
|
2960
|
+
*/
|
|
2961
|
+
dyn_wallet_upgrade_flow: {
|
|
2962
|
+
title: 'Upgrade your wallet',
|
|
2963
|
+
step_wallet_upgrade: '{{walletName}} Upgrade',
|
|
2964
|
+
new_wallet_title: 'Create New Wallet',
|
|
2965
|
+
new_wallet_coming_soon: 'New wallet creation coming soon...',
|
|
2966
|
+
copy_private_key_subtitle: 'Import your wallet key to upgrade your wallet. You will not lose access to any assets. Your wallet will always remain in your control.',
|
|
2967
|
+
copy_private_key_title: 'Copy',
|
|
2968
|
+
step_2_upgrade_description: 'Paste',
|
|
2969
|
+
upgrade_wallet: 'Upgrade Account',
|
|
2970
|
+
cancel: 'Cancel',
|
|
2971
|
+
export_failed: 'Failed to export wallet',
|
|
2972
|
+
upgrade_failed: 'Failed to upgrade wallet',
|
|
2973
|
+
},
|
|
2898
2974
|
};
|
|
2899
2975
|
|
|
2900
2976
|
export { translation };
|
|
@@ -123,4 +123,5 @@ export { ReactComponent as WarningOrangeIcon } from './warning-orange.svg';
|
|
|
123
123
|
export { ReactComponent as WarningRedIcon } from './warning-red.svg';
|
|
124
124
|
export { ReactComponent as WorkSuitcaseIcon } from './work-suitcase.svg';
|
|
125
125
|
export { ReactComponent as BackupIcon } from './backup.svg';
|
|
126
|
+
export { ReactComponent as UpgradeIcon } from './upgrade.svg';
|
|
126
127
|
export { ReactComponent as WhiteCheck } from './white-check-black-circle.svg';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var React = require('react');
|
|
7
|
+
|
|
8
|
+
function _interopNamespace(e) {
|
|
9
|
+
if (e && e.__esModule) return e;
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n["default"] = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
+
|
|
28
|
+
var _path;
|
|
29
|
+
var _excluded = ["title", "titleId"];
|
|
30
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
31
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
32
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
33
|
+
var SvgSparkles = function SvgSparkles(_ref) {
|
|
34
|
+
var title = _ref.title,
|
|
35
|
+
titleId = _ref.titleId,
|
|
36
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
37
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
38
|
+
width: 32,
|
|
39
|
+
height: 32,
|
|
40
|
+
viewBox: "0 0 32 32",
|
|
41
|
+
fill: "none",
|
|
42
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
+
"aria-labelledby": titleId
|
|
44
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
45
|
+
id: titleId
|
|
46
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
clipRule: "evenodd",
|
|
49
|
+
d: "M6.667 2.667C7.403 2.667 8 3.264 8 4v1.333h1.333a1.333 1.333 0 0 1 0 2.667H8v1.333a1.333 1.333 0 1 1-2.667 0V8H4a1.333 1.333 0 0 1 0-2.667h1.333V4c0-.736.597-1.333 1.334-1.333Zm10.666 0c.574 0 1.084.367 1.265.911l2.847 8.54 7.023 2.634a1.333 1.333 0 0 1 0 2.496l-7.023 2.634-2.847 8.54a1.333 1.333 0 0 1-2.53 0l-2.846-8.54-7.023-2.634a1.333 1.333 0 0 1 0-2.496l7.023-2.634 2.846-8.54a1.333 1.333 0 0 1 1.265-.911Zm0 5.55-1.782 5.348c-.128.381-.42.685-.797.826L10.464 16l4.29 1.609c.377.141.67.445.797.826l1.782 5.349 1.783-5.348c.127-.382.42-.686.797-.827L24.203 16l-4.29-1.609a1.333 1.333 0 0 1-.797-.826l-1.783-5.349ZM8 21.332c.736 0 1.333.597 1.333 1.334V24h1.334a1.333 1.333 0 0 1 0 2.667H9.333V28a1.333 1.333 0 1 1-2.666 0v-1.333H5.333a1.333 1.333 0 0 1 0-2.667h1.334v-1.333c0-.737.597-1.334 1.333-1.334Z",
|
|
50
|
+
fill: "currentColor"
|
|
51
|
+
})));
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
exports.ReactComponent = SvgSparkles;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
var _path;
|
|
5
|
+
var _excluded = ["title", "titleId"];
|
|
6
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
7
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
9
|
+
var SvgSparkles = function SvgSparkles(_ref) {
|
|
10
|
+
var title = _ref.title,
|
|
11
|
+
titleId = _ref.titleId,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
+
width: 32,
|
|
15
|
+
height: 32,
|
|
16
|
+
viewBox: "0 0 32 32",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
"aria-labelledby": titleId
|
|
20
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
21
|
+
id: titleId
|
|
22
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
clipRule: "evenodd",
|
|
25
|
+
d: "M6.667 2.667C7.403 2.667 8 3.264 8 4v1.333h1.333a1.333 1.333 0 0 1 0 2.667H8v1.333a1.333 1.333 0 1 1-2.667 0V8H4a1.333 1.333 0 0 1 0-2.667h1.333V4c0-.736.597-1.333 1.334-1.333Zm10.666 0c.574 0 1.084.367 1.265.911l2.847 8.54 7.023 2.634a1.333 1.333 0 0 1 0 2.496l-7.023 2.634-2.847 8.54a1.333 1.333 0 0 1-2.53 0l-2.846-8.54-7.023-2.634a1.333 1.333 0 0 1 0-2.496l7.023-2.634 2.846-8.54a1.333 1.333 0 0 1 1.265-.911Zm0 5.55-1.782 5.348c-.128.381-.42.685-.797.826L10.464 16l4.29 1.609c.377.141.67.445.797.826l1.782 5.349 1.783-5.348c.127-.382.42-.686.797-.827L24.203 16l-4.29-1.609a1.333 1.333 0 0 1-.797-.826l-1.783-5.349ZM8 21.332c.736 0 1.333.597 1.333 1.334V24h1.334a1.333 1.333 0 0 1 0 2.667H9.333V28a1.333 1.333 0 1 1-2.666 0v-1.333H5.333a1.333 1.333 0 0 1 0-2.667h1.334v-1.333c0-.737.597-1.334 1.333-1.334Z",
|
|
26
|
+
fill: "currentColor"
|
|
27
|
+
})));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { SvgSparkles as ReactComponent };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var React = require('react');
|
|
7
|
+
|
|
8
|
+
function _interopNamespace(e) {
|
|
9
|
+
if (e && e.__esModule) return e;
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n["default"] = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
+
|
|
28
|
+
var _g, _defs;
|
|
29
|
+
var _excluded = ["title", "titleId"];
|
|
30
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
31
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
32
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
33
|
+
var SvgUpgrade = function SvgUpgrade(_ref) {
|
|
34
|
+
var title = _ref.title,
|
|
35
|
+
titleId = _ref.titleId,
|
|
36
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
37
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
38
|
+
width: 328,
|
|
39
|
+
height: 112,
|
|
40
|
+
viewBox: "0 0 328 112",
|
|
41
|
+
fill: "none",
|
|
42
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
+
"aria-labelledby": titleId
|
|
44
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
45
|
+
id: titleId
|
|
46
|
+
}, title) : null, _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
47
|
+
clipPath: "url(#upgrade_svg__a)"
|
|
48
|
+
}, /*#__PURE__*/React__namespace.createElement("circle", {
|
|
49
|
+
cx: 164.5,
|
|
50
|
+
cy: 114,
|
|
51
|
+
r: 114,
|
|
52
|
+
fill: "url(#upgrade_svg__b)",
|
|
53
|
+
fillOpacity: 0.12
|
|
54
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
55
|
+
d: "M138.586 37.408s12.282 9.32 30.953-8.106c16.582-15.477 30.121 8.941 30.216 20.635.123 15.148-16.582 27.268-8.475 37.217 8.107 9.95-16.077 26.379-29.111 12.16-16.213-17.687-20.605-3.316-29.847-3.316-6.633 0-20.251-16.481-11.055-28.742 7.739-10.318 3.518-13.742 1.475-17.32-2.948-5.158 4.053-19.16 15.844-12.528Z",
|
|
56
|
+
fill: "#DEE9FF"
|
|
57
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
58
|
+
d: "M193.356 31.055a7.764 7.764 0 0 1-8.274 7.741 7.76 7.76 0 1 1 8.274-7.74Z",
|
|
59
|
+
fill: "#A2BDFF"
|
|
60
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
61
|
+
d: "M186.574 31.65c-.501.389-1.201 1.165-.99 2.89-.234.67-1.069 1.95-1.069 2.563 0 .612-1.002.723-1.113.556-.111-.168-.167-2.282-.779-2.671-.612-.39-.501-2.17-.501-2.17s.223-.668-.501-1.113c-.723-.445-1.227-1.502-.585-2.115.641-.612-1.084-1.001-1.306-1.446-.095-.19-.458-.612-.843-1.034a7.799 7.799 0 0 1 3.588-3.179c.569.594 1.061 1.355.927 2.154.022.39 1.713 1.001.885 1.836-.829.835-1.954 2.003 0 2.393 1.953.39 2.788.946 2.287 1.335ZM191.019 25.5c-.417.879-1.46 1.587-2.052 1.587-.668-.724-2.115.278-2.25-.89-.079-.682.697-1.739 1.359-2.505a7.777 7.777 0 0 1 2.943 1.809ZM193.326 31.734a7.74 7.74 0 0 1-2.46 5.02c-.257-.246-.474-.534-.397-.764.167-.501.846-1.559.729-2.226-.109-.623.466-2.509 2.128-2.03Z",
|
|
62
|
+
fill: "#0E84E5"
|
|
63
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
64
|
+
d: "M180.69 70.309a21.881 21.881 0 0 1-1.227 4.48c-3.696 9.468-13.612 15.4-24.046 13.695a22.016 22.016 0 0 1-18.014-26.147c2.354-11.517 13.406-19.214 25.112-17.302a21.88 21.88 0 0 1 9.628 4.09 21.659 21.659 0 0 1 2.611 2.299 22 22 0 0 1 5.936 18.884Z",
|
|
65
|
+
fill: "#699CFF"
|
|
66
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
67
|
+
d: "M179.463 74.79c-4.192 2.698-9.142 5.194-14.6 7.259-5.557 2.1-11.014 3.52-16.016 4.263-11.753 1.752-20.983-.206-23.063-5.707-1.948-5.139 2.843-12.098 11.619-18.268a21.656 21.656 0 0 0-.446 4.11c-5.057 3.904-7.688 7.727-6.651 10.47 1.009 2.667 5.291 3.802 11.383 3.48 5.955-.314 13.64-2.029 21.684-5.07 6.957-2.633 13.058-5.834 17.6-9.05 6.082-4.299 9.38-8.625 8.242-11.643-1.171-3.098-6.756-4.131-14.461-3.21a21.591 21.591 0 0 0-2.611-2.298c10.786-1.247 19.099.79 21.058 5.972 2.1 5.542-3.625 13.193-13.738 19.692Z",
|
|
68
|
+
fill: "#0E84E5"
|
|
69
|
+
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
70
|
+
id: "upgrade_svg__b",
|
|
71
|
+
x1: 164.5,
|
|
72
|
+
y1: 0,
|
|
73
|
+
x2: 164.5,
|
|
74
|
+
y2: 93.5,
|
|
75
|
+
gradientUnits: "userSpaceOnUse"
|
|
76
|
+
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
77
|
+
stopColor: "#4779FF"
|
|
78
|
+
}), /*#__PURE__*/React__namespace.createElement("stop", {
|
|
79
|
+
offset: 1,
|
|
80
|
+
stopColor: "#4779FF",
|
|
81
|
+
stopOpacity: 0
|
|
82
|
+
})), /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
83
|
+
id: "upgrade_svg__a"
|
|
84
|
+
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
85
|
+
x: 0.5,
|
|
86
|
+
width: 327,
|
|
87
|
+
height: 112,
|
|
88
|
+
rx: 12,
|
|
89
|
+
fill: "#fff"
|
|
90
|
+
})))));
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
exports.ReactComponent = SvgUpgrade;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
var _g, _defs;
|
|
5
|
+
var _excluded = ["title", "titleId"];
|
|
6
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
7
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
9
|
+
var SvgUpgrade = function SvgUpgrade(_ref) {
|
|
10
|
+
var title = _ref.title,
|
|
11
|
+
titleId = _ref.titleId,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
+
width: 328,
|
|
15
|
+
height: 112,
|
|
16
|
+
viewBox: "0 0 328 112",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
"aria-labelledby": titleId
|
|
20
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
21
|
+
id: titleId
|
|
22
|
+
}, title) : null, _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
23
|
+
clipPath: "url(#upgrade_svg__a)"
|
|
24
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
25
|
+
cx: 164.5,
|
|
26
|
+
cy: 114,
|
|
27
|
+
r: 114,
|
|
28
|
+
fill: "url(#upgrade_svg__b)",
|
|
29
|
+
fillOpacity: 0.12
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
d: "M138.586 37.408s12.282 9.32 30.953-8.106c16.582-15.477 30.121 8.941 30.216 20.635.123 15.148-16.582 27.268-8.475 37.217 8.107 9.95-16.077 26.379-29.111 12.16-16.213-17.687-20.605-3.316-29.847-3.316-6.633 0-20.251-16.481-11.055-28.742 7.739-10.318 3.518-13.742 1.475-17.32-2.948-5.158 4.053-19.16 15.844-12.528Z",
|
|
32
|
+
fill: "#DEE9FF"
|
|
33
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
34
|
+
d: "M193.356 31.055a7.764 7.764 0 0 1-8.274 7.741 7.76 7.76 0 1 1 8.274-7.74Z",
|
|
35
|
+
fill: "#A2BDFF"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
d: "M186.574 31.65c-.501.389-1.201 1.165-.99 2.89-.234.67-1.069 1.95-1.069 2.563 0 .612-1.002.723-1.113.556-.111-.168-.167-2.282-.779-2.671-.612-.39-.501-2.17-.501-2.17s.223-.668-.501-1.113c-.723-.445-1.227-1.502-.585-2.115.641-.612-1.084-1.001-1.306-1.446-.095-.19-.458-.612-.843-1.034a7.799 7.799 0 0 1 3.588-3.179c.569.594 1.061 1.355.927 2.154.022.39 1.713 1.001.885 1.836-.829.835-1.954 2.003 0 2.393 1.953.39 2.788.946 2.287 1.335ZM191.019 25.5c-.417.879-1.46 1.587-2.052 1.587-.668-.724-2.115.278-2.25-.89-.079-.682.697-1.739 1.359-2.505a7.777 7.777 0 0 1 2.943 1.809ZM193.326 31.734a7.74 7.74 0 0 1-2.46 5.02c-.257-.246-.474-.534-.397-.764.167-.501.846-1.559.729-2.226-.109-.623.466-2.509 2.128-2.03Z",
|
|
38
|
+
fill: "#0E84E5"
|
|
39
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
40
|
+
d: "M180.69 70.309a21.881 21.881 0 0 1-1.227 4.48c-3.696 9.468-13.612 15.4-24.046 13.695a22.016 22.016 0 0 1-18.014-26.147c2.354-11.517 13.406-19.214 25.112-17.302a21.88 21.88 0 0 1 9.628 4.09 21.659 21.659 0 0 1 2.611 2.299 22 22 0 0 1 5.936 18.884Z",
|
|
41
|
+
fill: "#699CFF"
|
|
42
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
43
|
+
d: "M179.463 74.79c-4.192 2.698-9.142 5.194-14.6 7.259-5.557 2.1-11.014 3.52-16.016 4.263-11.753 1.752-20.983-.206-23.063-5.707-1.948-5.139 2.843-12.098 11.619-18.268a21.656 21.656 0 0 0-.446 4.11c-5.057 3.904-7.688 7.727-6.651 10.47 1.009 2.667 5.291 3.802 11.383 3.48 5.955-.314 13.64-2.029 21.684-5.07 6.957-2.633 13.058-5.834 17.6-9.05 6.082-4.299 9.38-8.625 8.242-11.643-1.171-3.098-6.756-4.131-14.461-3.21a21.591 21.591 0 0 0-2.611-2.298c10.786-1.247 19.099.79 21.058 5.972 2.1 5.542-3.625 13.193-13.738 19.692Z",
|
|
44
|
+
fill: "#0E84E5"
|
|
45
|
+
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
46
|
+
id: "upgrade_svg__b",
|
|
47
|
+
x1: 164.5,
|
|
48
|
+
y1: 0,
|
|
49
|
+
x2: 164.5,
|
|
50
|
+
y2: 93.5,
|
|
51
|
+
gradientUnits: "userSpaceOnUse"
|
|
52
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
53
|
+
stopColor: "#4779FF"
|
|
54
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
55
|
+
offset: 1,
|
|
56
|
+
stopColor: "#4779FF",
|
|
57
|
+
stopOpacity: 0
|
|
58
|
+
})), /*#__PURE__*/React.createElement("clipPath", {
|
|
59
|
+
id: "upgrade_svg__a"
|
|
60
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
61
|
+
x: 0.5,
|
|
62
|
+
width: 327,
|
|
63
|
+
height: 112,
|
|
64
|
+
rx: 12,
|
|
65
|
+
fill: "#fff"
|
|
66
|
+
})))));
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export { SvgUpgrade as ReactComponent };
|