@dynamic-labs/sdk-react-core 4.59.1 → 4.60.0

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.
Files changed (70) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/package.cjs +2 -1
  3. package/package.js +2 -1
  4. package/package.json +13 -12
  5. package/src/index.cjs +4 -2
  6. package/src/index.d.ts +1 -1
  7. package/src/index.js +2 -1
  8. package/src/lib/components/FormFieldLabel/FormFieldLabel.cjs +5 -1
  9. package/src/lib/components/FormFieldLabel/FormFieldLabel.d.ts +2 -1
  10. package/src/lib/components/FormFieldLabel/FormFieldLabel.js +5 -1
  11. package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +4 -2
  12. package/src/lib/components/SendBalanceForm/SendBalanceForm.js +4 -2
  13. package/src/lib/context/ViewContext/types/index.d.ts +1 -1
  14. package/src/lib/events/embeddedWallet.d.ts +15 -3
  15. package/src/lib/shared/assets/index.d.ts +1 -1
  16. package/src/lib/shared/assets/setup-password-terms-illustration.cjs +83 -0
  17. package/src/lib/shared/assets/setup-password-terms-illustration.js +59 -0
  18. package/src/lib/styles/index.shadow.cjs +1 -1
  19. package/src/lib/styles/index.shadow.js +1 -1
  20. package/src/lib/utils/hooks/index.d.ts +4 -0
  21. package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.cjs +48 -6
  22. package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.d.ts +8 -1
  23. package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.js +49 -7
  24. package/src/lib/utils/hooks/useGetPasswordForSigning/index.d.ts +2 -0
  25. package/src/lib/utils/hooks/useGetPasswordForSigning/useGetPasswordForSigning.cjs +16 -0
  26. package/src/lib/utils/hooks/useGetPasswordForSigning/useGetPasswordForSigning.d.ts +5 -0
  27. package/src/lib/utils/hooks/useGetPasswordForSigning/useGetPasswordForSigning.js +12 -0
  28. package/src/lib/utils/hooks/usePromptWalletUnlock/index.d.ts +2 -0
  29. package/src/lib/utils/hooks/usePromptWalletUnlock/usePromptWalletUnlock.cjs +144 -0
  30. package/src/lib/utils/hooks/usePromptWalletUnlock/usePromptWalletUnlock.d.ts +5 -0
  31. package/src/lib/utils/hooks/usePromptWalletUnlock/usePromptWalletUnlock.js +140 -0
  32. package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.cjs +14 -14
  33. package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.js +14 -14
  34. package/src/lib/utils/hooks/useSetupPassword/useSetupPassword.cjs +13 -100
  35. package/src/lib/utils/hooks/useSetupPassword/useSetupPassword.js +13 -100
  36. package/src/lib/utils/hooks/useSyncDynamicWaas/useSyncDynamicWaas.cjs +10 -3
  37. package/src/lib/utils/hooks/useSyncDynamicWaas/useSyncDynamicWaas.js +10 -3
  38. package/src/lib/utils/hooks/useWalletDelegation/useWalletDelegation.cjs +2 -1
  39. package/src/lib/utils/hooks/useWalletDelegation/useWalletDelegation.js +3 -2
  40. package/src/lib/utils/hooks/useWalletUnlock/index.d.ts +2 -0
  41. package/src/lib/utils/hooks/useWalletUnlock/useWalletUnlock.d.ts +15 -0
  42. package/src/lib/views/NoAccess/NoAccess.cjs +1 -1
  43. package/src/lib/views/NoAccess/NoAccess.js +1 -1
  44. package/src/lib/views/{SetupPasswordForWalletCreationView/SetupPasswordForWalletCreationView.cjs → UnlockWalletView/UnlockWalletView.cjs} +18 -13
  45. package/src/lib/views/UnlockWalletView/UnlockWalletView.d.ts +6 -0
  46. package/src/lib/views/{SetupPasswordForWalletCreationView/SetupPasswordForWalletCreationView.js → UnlockWalletView/UnlockWalletView.js} +18 -13
  47. package/src/lib/views/UnlockWalletView/index.d.ts +2 -0
  48. package/src/lib/views/index.d.ts +3 -3
  49. package/src/lib/views/viewToComponentMap.cjs +3 -3
  50. package/src/lib/views/viewToComponentMap.d.ts +1 -1
  51. package/src/lib/views/viewToComponentMap.js +3 -3
  52. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +1 -1
  53. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +1 -1
  54. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.cjs +43 -43
  55. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.js +43 -43
  56. package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/MfaSection/MfaSection.cjs +33 -19
  57. package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/MfaSection/MfaSection.js +33 -19
  58. package/src/lib/widgets/DynamicWidget/views/EnterPasswordView/EnterPasswordView.cjs +61 -0
  59. package/src/lib/widgets/DynamicWidget/views/EnterPasswordView/EnterPasswordView.d.ts +9 -0
  60. package/src/lib/widgets/DynamicWidget/views/EnterPasswordView/EnterPasswordView.js +57 -0
  61. package/src/lib/widgets/DynamicWidget/views/EnterPasswordView/index.d.ts +2 -0
  62. package/src/lib/widgets/DynamicWidget/views/SetupPasswordTermsView/SetupPasswordTermsView.cjs +2 -3
  63. package/src/lib/widgets/DynamicWidget/views/SetupPasswordTermsView/SetupPasswordTermsView.js +2 -3
  64. package/src/lib/widgets/DynamicWidget/views/SetupPasswordView/SetupPasswordView.cjs +13 -6
  65. package/src/lib/widgets/DynamicWidget/views/SetupPasswordView/SetupPasswordView.js +13 -6
  66. package/src/lib/widgets/DynamicWidget/views/index.d.ts +1 -0
  67. package/src/lib/shared/assets/warning-circle-orange.cjs +0 -57
  68. package/src/lib/shared/assets/warning-circle-orange.js +0 -33
  69. package/src/lib/views/SetupPasswordForWalletCreationView/SetupPasswordForWalletCreationView.d.ts +0 -2
  70. package/src/lib/views/SetupPasswordForWalletCreationView/index.d.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -1,4 +1,27 @@
1
1
 
2
+ ## [4.60.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.59.2...v4.60.0) (2026-02-05)
3
+
4
+
5
+ ### Features
6
+
7
+ * add prompt to unlock wallet when getting encrypted shares ([#10333](https://github.com/dynamic-labs/dynamic-auth/issues/10333)) ([7009dfa](https://github.com/dynamic-labs/dynamic-auth/commit/7009dfa315538f4f4ad27ff37e7902f10e1cf019))
8
+ * add stellar sendBalance method ([#10310](https://github.com/dynamic-labs/dynamic-auth/issues/10310)) ([c083ea0](https://github.com/dynamic-labs/dynamic-auth/commit/c083ea0a7caa0cb9095d32897acf677c1b661cb4))
9
+ * **webview-controller:** add DelegatedAccessController ([#10348](https://github.com/dynamic-labs/dynamic-auth/issues/10348)) ([57599e4](https://github.com/dynamic-labs/dynamic-auth/commit/57599e4dd1ad6f4b22f98d49d7fae1a724b719ee))
10
+ * **webview-messages:** add DelegatedAccessMessages types ([#10347](https://github.com/dynamic-labs/dynamic-auth/issues/10347)) ([b0a1275](https://github.com/dynamic-labs/dynamic-auth/commit/b0a12759016fa6f8a76753c2394d589acb18ccf1))
11
+
12
+ ### [4.59.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.59.1...v4.59.2) (2026-02-03)
13
+
14
+
15
+ ### Features
16
+
17
+ * add more copykeys in the send widget. ([#10271](https://github.com/dynamic-labs/dynamic-auth/issues/10271)) ([d62c4c5](https://github.com/dynamic-labs/dynamic-auth/commit/d62c4c50feaebb2449b1b3b8372638257761a729))
18
+ * add StellarWalletConnector ([#10249](https://github.com/dynamic-labs/dynamic-auth/issues/10249)) ([152b400](https://github.com/dynamic-labs/dynamic-auth/commit/152b4001fd17f3f11581e66502edd6e17b51ecd0))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * filter delegated wallets to only include EVM and Solana chains ([#10237](https://github.com/dynamic-labs/dynamic-auth/issues/10237)) ([53f9b00](https://github.com/dynamic-labs/dynamic-auth/commit/53f9b003b95dcd11ea380893f28085362e42f252))
24
+
2
25
  ### [4.59.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.59.0...v4.59.1) (2026-01-30)
3
26
 
4
27
  This was a version bump only, there were no code changes.
package/package.cjs CHANGED
@@ -3,10 +3,11 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.59.1";
6
+ var version = "4.60.0";
7
7
  var dependencies = {
8
8
  "@dynamic-labs/sdk-api-core": "0.0.860",
9
9
  "@dynamic-labs-sdk/client": "0.4.0",
10
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.259",
10
11
  "@hcaptcha/react-hcaptcha": "1.4.4",
11
12
  "@thumbmarkjs/thumbmarkjs": "0.16.0",
12
13
  "country-list": "2.3.0",
package/package.js CHANGED
@@ -1,8 +1,9 @@
1
1
  'use client'
2
- var version = "4.59.1";
2
+ var version = "4.60.0";
3
3
  var dependencies = {
4
4
  "@dynamic-labs/sdk-api-core": "0.0.860",
5
5
  "@dynamic-labs-sdk/client": "0.4.0",
6
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.259",
6
7
  "@hcaptcha/react-hcaptcha": "1.4.4",
7
8
  "@thumbmarkjs/thumbmarkjs": "0.16.0",
8
9
  "country-list": "2.3.0",
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-react-core",
3
- "version": "4.59.1",
3
+ "version": "4.60.0",
4
4
  "dependencies": {
5
5
  "@dynamic-labs/sdk-api-core": "0.0.860",
6
6
  "@dynamic-labs-sdk/client": "0.4.0",
7
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.259",
7
8
  "@hcaptcha/react-hcaptcha": "1.4.4",
8
9
  "@thumbmarkjs/thumbmarkjs": "0.16.0",
9
10
  "country-list": "2.3.0",
@@ -15,17 +16,17 @@
15
16
  "yup": "0.32.11",
16
17
  "react-international-phone": "4.5.0",
17
18
  "bs58": "5.0.0",
18
- "@dynamic-labs/assert-package-version": "4.59.1",
19
- "@dynamic-labs/iconic": "4.59.1",
20
- "@dynamic-labs/locale": "4.59.1",
21
- "@dynamic-labs/logger": "4.59.1",
22
- "@dynamic-labs/multi-wallet": "4.59.1",
23
- "@dynamic-labs/rpc-providers": "4.59.1",
24
- "@dynamic-labs/store": "4.59.1",
25
- "@dynamic-labs/types": "4.59.1",
26
- "@dynamic-labs/utils": "4.59.1",
27
- "@dynamic-labs/wallet-book": "4.59.1",
28
- "@dynamic-labs/wallet-connector-core": "4.59.1",
19
+ "@dynamic-labs/assert-package-version": "4.60.0",
20
+ "@dynamic-labs/iconic": "4.60.0",
21
+ "@dynamic-labs/locale": "4.60.0",
22
+ "@dynamic-labs/logger": "4.60.0",
23
+ "@dynamic-labs/multi-wallet": "4.60.0",
24
+ "@dynamic-labs/rpc-providers": "4.60.0",
25
+ "@dynamic-labs/store": "4.60.0",
26
+ "@dynamic-labs/types": "4.60.0",
27
+ "@dynamic-labs/utils": "4.60.0",
28
+ "@dynamic-labs/wallet-book": "4.60.0",
29
+ "@dynamic-labs/wallet-connector-core": "4.60.0",
29
30
  "eventemitter3": "5.0.1"
30
31
  },
31
32
  "devDependencies": {
package/src/index.cjs CHANGED
@@ -149,11 +149,11 @@ require('./lib/widgets/DynamicWidget/views/ReceiveWalletFunds/ReceiveWalletFunds
149
149
  var NoQrNotInstalledView = require('./lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs');
150
150
  var CollectUserDataView = require('./lib/views/CollectUserDataView/CollectUserDataView.cjs');
151
151
  var EmailConfirmationWaitingView = require('./lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs');
152
+ var FarcasterConnectView = require('./lib/views/FarcasterConnectView/FarcasterConnectView.cjs');
152
153
  var NoAccess = require('./lib/views/NoAccess/NoAccess.cjs');
153
154
  var PendingSignatureView = require('./lib/views/PendingSignatureView/PendingSignatureView.cjs');
154
155
  var QrCodeView = require('./lib/views/QrCodeView/QrCodeView.cjs');
155
156
  var WalletList = require('./lib/views/WalletList/WalletList.cjs');
156
- var FarcasterConnectView = require('./lib/views/FarcasterConnectView/FarcasterConnectView.cjs');
157
157
  var NetworkNotSupportedSwitchManual = require('./lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs');
158
158
  var viewToComponentMap = require('./lib/views/viewToComponentMap.cjs');
159
159
  require('./lib/store/state/connectorsInitializing/connectorsInitializing.cjs');
@@ -184,6 +184,7 @@ var usePromptMfaAuth = require('./lib/utils/hooks/usePromptMfaAuth/usePromptMfaA
184
184
  var useUpgradeToDynamicWaasFlow = require('./lib/utils/hooks/useUpgradeToDynamicWaasFlow/useUpgradeToDynamicWaasFlow.cjs');
185
185
  var useIsMfaRequiredForAction = require('./lib/utils/hooks/useIsMfaRequiredForAction/useIsMfaRequiredForAction.cjs');
186
186
  var useRefreshAuth = require('./lib/utils/hooks/useRefreshAuth/useRefreshAuth.cjs');
187
+ var useGetPasswordForSigning = require('./lib/utils/hooks/useGetPasswordForSigning/useGetPasswordForSigning.cjs');
187
188
  var DynamicConnectButton = require('./lib/components/DynamicConnectButton/DynamicConnectButton.cjs');
188
189
  require('./lib/components/InlineWidget/InlineWidget.cjs');
189
190
  var IsBrowser = require('./lib/components/IsBrowser/IsBrowser.cjs');
@@ -308,11 +309,11 @@ exports.useFundWithWallet = useFundWithWallet.useFundWithWallet;
308
309
  exports.NoQrNotInstalledView = NoQrNotInstalledView.NoQrNotInstalledView;
309
310
  exports.CollectUserDataView = CollectUserDataView.CollectUserDataView;
310
311
  exports.EmailConfirmationWaitingView = EmailConfirmationWaitingView.EmailConfirmationWaitingView;
312
+ exports.FarcasterConnectView = FarcasterConnectView.FarcasterConnectView;
311
313
  exports.NoAccess = NoAccess.NoAccess;
312
314
  exports.PendingSignatureView = PendingSignatureView.PendingSignatureView;
313
315
  exports.QrCodeView = QrCodeView.QrCodeView;
314
316
  exports.WalletList = WalletList.WalletList;
315
- exports.FarcasterConnectView = FarcasterConnectView.FarcasterConnectView;
316
317
  exports.NetworkNotSupportedSwitchManual = NetworkNotSupportedSwitchManual.NetworkNotSupportedSwitchManual;
317
318
  exports.viewToComponentMap = viewToComponentMap.viewToComponentMap;
318
319
  exports.useDynamicWaas = useDynamicWaas.useDynamicWaas;
@@ -345,6 +346,7 @@ exports.usePromptMfaAuth = usePromptMfaAuth.usePromptMfaAuth;
345
346
  exports.useUpgradeToDynamicWaasFlow = useUpgradeToDynamicWaasFlow.useUpgradeToDynamicWaasFlow;
346
347
  exports.useIsMfaRequiredForAction = useIsMfaRequiredForAction.useIsMfaRequiredForAction;
347
348
  exports.useRefreshAuth = useRefreshAuth.useRefreshAuth;
349
+ exports.useGetPasswordForSigning = useGetPasswordForSigning.useGetPasswordForSigning;
348
350
  exports.DynamicConnectButton = DynamicConnectButton.DynamicConnectButton;
349
351
  exports.IsBrowser = IsBrowser.IsBrowser;
350
352
  exports.DynamicBridgeWidget = DynamicBridgeWidget.DynamicBridgeWidget;
package/src/index.d.ts CHANGED
@@ -123,7 +123,7 @@ export { FilterAndSortWallets, FilterBridgeChainsName, FilterChain, FilterWallet
123
123
  export {
124
124
  /** @deprecated */
125
125
  DynamicWidgetContextProvider, } from './lib/widgets/DynamicWidget/context';
126
- export { useWalletItemActions, useAuthenticateConnectedUser, useSocialAccounts, useEmbeddedWallet, useEmbeddedWalletAuthenticator, usePasskeyRecovery, useEmbeddedReveal, useIsLoggedIn, useDynamicModals, useMfa, useTokenBalances, useMultichainTokenBalances, useSwitchWallet, useRpcProviders, useRefreshUser, useRefreshAuth, useWalletOptions, useSmartWallets, EmbeddedWalletVersion, useTelegramLogin, useUpgradeEmbeddedWallet, useEVMTransactionSimulation, useSVMTransactionSimulation, useDeleteUserAccount, useDynamicWaas, useGetPasskeys, useDeletePasskey, useRegisterPasskey, useAuthenticatePasskeyMFA, useGetUserMfaMethods, usePromptMfaAuth, useUpgradeToDynamicWaasFlow, useGetMfaToken, useIsMfaRequiredForAction, useWalletDelegation, useWalletBackup, useBackupWallets, isWalletBackedUp, CloudBackupProvider, useExchangeAccounts, } from './lib/utils/hooks';
126
+ export { useWalletItemActions, useAuthenticateConnectedUser, useSocialAccounts, useEmbeddedWallet, useEmbeddedWalletAuthenticator, usePasskeyRecovery, useEmbeddedReveal, useIsLoggedIn, useDynamicModals, useMfa, useTokenBalances, useMultichainTokenBalances, useSwitchWallet, useRpcProviders, useRefreshUser, useRefreshAuth, useWalletOptions, useSmartWallets, EmbeddedWalletVersion, useTelegramLogin, useUpgradeEmbeddedWallet, useEVMTransactionSimulation, useSVMTransactionSimulation, useDeleteUserAccount, useDynamicWaas, useGetPasskeys, useDeletePasskey, useRegisterPasskey, useAuthenticatePasskeyMFA, useGetUserMfaMethods, usePromptMfaAuth, useUpgradeToDynamicWaasFlow, useGetMfaToken, useGetPasswordForSigning, useIsMfaRequiredForAction, useWalletDelegation, useWalletBackup, useBackupWallets, isWalletBackedUp, CloudBackupProvider, useExchangeAccounts, } from './lib/utils/hooks';
127
127
  export {
128
128
  /** @deprecated use useOnramp instead */
129
129
  useFunding, } from './lib/utils/hooks/useFunding';
package/src/index.js CHANGED
@@ -145,11 +145,11 @@ import './lib/widgets/DynamicWidget/views/ReceiveWalletFunds/ReceiveWalletFunds.
145
145
  export { NoQrNotInstalledView } from './lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js';
146
146
  export { CollectUserDataView } from './lib/views/CollectUserDataView/CollectUserDataView.js';
147
147
  export { EmailConfirmationWaitingView } from './lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js';
148
+ export { FarcasterConnectView } from './lib/views/FarcasterConnectView/FarcasterConnectView.js';
148
149
  export { NoAccess } from './lib/views/NoAccess/NoAccess.js';
149
150
  export { PendingSignatureView } from './lib/views/PendingSignatureView/PendingSignatureView.js';
150
151
  export { QrCodeView } from './lib/views/QrCodeView/QrCodeView.js';
151
152
  export { WalletList } from './lib/views/WalletList/WalletList.js';
152
- export { FarcasterConnectView } from './lib/views/FarcasterConnectView/FarcasterConnectView.js';
153
153
  export { NetworkNotSupportedSwitchManual } from './lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js';
154
154
  export { viewToComponentMap } from './lib/views/viewToComponentMap.js';
155
155
  import './lib/store/state/connectorsInitializing/connectorsInitializing.js';
@@ -180,6 +180,7 @@ export { usePromptMfaAuth } from './lib/utils/hooks/usePromptMfaAuth/usePromptMf
180
180
  export { useUpgradeToDynamicWaasFlow } from './lib/utils/hooks/useUpgradeToDynamicWaasFlow/useUpgradeToDynamicWaasFlow.js';
181
181
  export { useIsMfaRequiredForAction } from './lib/utils/hooks/useIsMfaRequiredForAction/useIsMfaRequiredForAction.js';
182
182
  export { useRefreshAuth } from './lib/utils/hooks/useRefreshAuth/useRefreshAuth.js';
183
+ export { useGetPasswordForSigning } from './lib/utils/hooks/useGetPasswordForSigning/useGetPasswordForSigning.js';
183
184
  export { DynamicConnectButton } from './lib/components/DynamicConnectButton/DynamicConnectButton.js';
184
185
  import './lib/components/InlineWidget/InlineWidget.js';
185
186
  export { IsBrowser } from './lib/components/IsBrowser/IsBrowser.js';
@@ -3,9 +3,13 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
+ var _tslib = require('../../../../_virtual/_tslib.cjs');
6
7
  var jsxRuntime = require('react/jsx-runtime');
7
8
  var classNames = require('../../utils/functions/classNames/classNames.cjs');
8
9
 
9
- const FormFieldLabel = ({ children, htmlFor, className, divider, }) => (jsxRuntime.jsx("label", { className: classNames.classNames('form-field-label', { 'form-field-label__with-divider': divider }, className), htmlFor: htmlFor, children: children }));
10
+ const FormFieldLabel = (_a) => {
11
+ var { children, htmlFor, className, divider } = _a, props = _tslib.__rest(_a, ["children", "htmlFor", "className", "divider"]);
12
+ return (jsxRuntime.jsx("label", Object.assign({ className: classNames.classNames('form-field-label', { 'form-field-label__with-divider': divider }, className), htmlFor: htmlFor }, props, { children: children })));
13
+ };
10
14
 
11
15
  exports.FormFieldLabel = FormFieldLabel;
@@ -1,8 +1,9 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
+ import { CopyKey } from '../../shared';
2
3
  type FormFieldLabelProps = {
3
4
  htmlFor?: string;
4
5
  className?: string;
5
6
  divider?: boolean;
6
- };
7
+ } & CopyKey;
7
8
  export declare const FormFieldLabel: FC<PropsWithChildren<FormFieldLabelProps>>;
8
9
  export {};
@@ -1,7 +1,11 @@
1
1
  'use client'
2
+ import { __rest } from '../../../../_virtual/_tslib.js';
2
3
  import { jsx } from 'react/jsx-runtime';
3
4
  import { classNames } from '../../utils/functions/classNames/classNames.js';
4
5
 
5
- const FormFieldLabel = ({ children, htmlFor, className, divider, }) => (jsx("label", { className: classNames('form-field-label', { 'form-field-label__with-divider': divider }, className), htmlFor: htmlFor, children: children }));
6
+ const FormFieldLabel = (_a) => {
7
+ var { children, htmlFor, className, divider } = _a, props = __rest(_a, ["children", "htmlFor", "className", "divider"]);
8
+ return (jsx("label", Object.assign({ className: classNames('form-field-label', { 'form-field-label__with-divider': divider }, className), htmlFor: htmlFor }, props, { children: children })));
9
+ };
6
10
 
7
11
  export { FormFieldLabel };
@@ -169,7 +169,7 @@ const SendBalanceForm = ({ initialValues, onSubmit, decimals = 18, validateAddre
169
169
  }, [decimals, validateAddress, validateAmount]);
170
170
  return (jsxRuntime.jsx(formik.Formik, { initialValues: initialValues || sendBalanceFormInitialValues, validationSchema: sendBalanceFormValidationSchema, onSubmit: (values) => onSubmit(values), validateOnChange: false, validateOnBlur: false, children: ({ errors, touched, values, handleChange, setFieldValue, setErrors, handleBlur, setFieldTouched, validateField, }) => {
171
171
  var _a;
172
- return (jsxRuntime.jsxs(formik.Form, { className: 'send-balance-form', children: [jsxRuntime.jsxs("div", { className: 'send-balance-page-layout__balance-container', children: [jsxRuntime.jsx(FormFieldLabel.FormFieldLabel, { children: "Select any token" }), jsxRuntime.jsx(TokensBalanceDropdown.TokensBalanceDropdown, { tokenBalances: tokenBalances !== null && tokenBalances !== void 0 ? tokenBalances : (currentToken && [currentToken]), currentToken: currentToken, setCurrentToken: setCurrentToken, isLoading: isLoading, setFieldValue: setFieldValue, setErrors: setErrors })] }), jsxRuntime.jsxs("div", { className: 'send-balance-form__amount-container', children: [jsxRuntime.jsx(formik.Field, { variant: 'regular', className: `send-balance-form__amount-container__field ${showFiat ? 'fiat' : ''}`, name: 'amount', id: 'amount', onChange: (e) => {
172
+ return (jsxRuntime.jsxs(formik.Form, { className: 'send-balance-form', children: [jsxRuntime.jsxs("div", { className: 'send-balance-page-layout__balance-container', children: [jsxRuntime.jsx(FormFieldLabel.FormFieldLabel, { copykey: 'dyn_send_transaction.data.select_token', children: t('dyn_send_transaction.data.select_token') }), jsxRuntime.jsx(TokensBalanceDropdown.TokensBalanceDropdown, { tokenBalances: tokenBalances !== null && tokenBalances !== void 0 ? tokenBalances : (currentToken && [currentToken]), currentToken: currentToken, setCurrentToken: setCurrentToken, isLoading: isLoading, setFieldValue: setFieldValue, setErrors: setErrors })] }), jsxRuntime.jsxs("div", { className: 'send-balance-form__amount-container', children: [jsxRuntime.jsx(formik.Field, { variant: 'regular', className: `send-balance-form__amount-container__field ${showFiat ? 'fiat' : ''}`, name: 'amount', id: 'amount', onChange: (e) => {
173
173
  const newValue = e.target.value;
174
174
  // Matching 123, 123.45, .45, 123.
175
175
  if (newValue !== '' && !/^(?:\d+|\d*\.\d*|)$/.test(newValue)) {
@@ -189,7 +189,9 @@ const SendBalanceForm = ({ initialValues, onSubmit, decimals = 18, validateAddre
189
189
  }, placeholder: t('dyn_send_transaction.data.amount.placeholder'), as: Input.Input, error: errors['amount'], copykey: 'dyn_send_transaction.data.amount.label', message: touched['amount'] &&
190
190
  getDisplayErrorMessage(errors, t, 'amount', decimals), style: {
191
191
  paddingLeft: `${leftSymbolPadding}px`,
192
- } }), jsxRuntime.jsx("div", { className: 'send-balance-form__amount-container__floating_value', ref: floatingValueRef, children: jsxRuntime.jsx(Typography.Typography, { variant: 'title', weight: 'regular', color: 'secondary', children: currentToken === null || currentToken === void 0 ? void 0 : currentToken.symbol }) }), jsxRuntime.jsx("div", { className: 'send-balance-form__amount-container__balance', children: showFiat && !Number.isNaN(amount) && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_mini', weight: 'bold', color: 'secondary', children: "$" }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_mini', weight: 'regular', color: 'secondary', children: utils.getDisplayFiatPrice(amount, currentToken) })] })) })] }), jsxRuntime.jsx(Typography.Typography, { className: 'send-balance-form__amount_available', variant: 'body_small', weight: 'regular', color: 'secondary', as: 'div', children: jsxRuntime.jsxs("div", { style: { display: 'flex', gap: '0.225rem' }, children: [jsxRuntime.jsx(Typography.Typography, { className: 'send-balance-form__amount_available__line', variant: 'body_small', weight: 'bold', color: 'primary', as: 'div', children: (_a = currentToken === null || currentToken === void 0 ? void 0 : currentToken.balance) !== null && _a !== void 0 ? _a : 0 }), `${currentToken === null || currentToken === void 0 ? void 0 : currentToken.symbol} Available`] }) }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_small', weight: 'regular', color: 'secondary', copykey: 'dyn_send_transaction.data.recipient.label', children: "Recipient Address" }), jsxRuntime.jsx(formik.Field, { className: 'send-balance-form__field', placeholder: t('dyn_send_transaction.data.recipient.placeholder'), label: t('dyn_send_transaction.data.recipient.label'), id: 'recipient', name: 'recipient', as: Input.Input, error: errors['recipient'], copykey: 'dyn_send_transaction.data.recipient.label', message: touched['recipient'] &&
192
+ } }), jsxRuntime.jsx("div", { className: 'send-balance-form__amount-container__floating_value', ref: floatingValueRef, children: jsxRuntime.jsx(Typography.Typography, { variant: 'title', weight: 'regular', color: 'secondary', children: currentToken === null || currentToken === void 0 ? void 0 : currentToken.symbol }) }), jsxRuntime.jsx("div", { className: 'send-balance-form__amount-container__balance', children: showFiat && !Number.isNaN(amount) && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_mini', weight: 'bold', color: 'secondary', children: "$" }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_mini', weight: 'regular', color: 'secondary', children: utils.getDisplayFiatPrice(amount, currentToken) })] })) })] }), jsxRuntime.jsx(Typography.Typography, { className: 'send-balance-form__amount_available', variant: 'body_small', weight: 'regular', color: 'secondary', as: 'div', children: jsxRuntime.jsxs("div", { style: { display: 'flex', gap: '0.225rem' }, children: [jsxRuntime.jsx(Typography.Typography, { className: 'send-balance-form__amount_available__line', variant: 'body_small', weight: 'bold', color: 'primary', as: 'div', children: (_a = currentToken === null || currentToken === void 0 ? void 0 : currentToken.balance) !== null && _a !== void 0 ? _a : 0 }), t('dyn_send_transaction.data.symbol_available', {
193
+ symbol: currentToken === null || currentToken === void 0 ? void 0 : currentToken.symbol,
194
+ })] }) }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_small', weight: 'regular', color: 'secondary', copykey: 'dyn_send_transaction.data.recipient.label', children: "Recipient Address" }), jsxRuntime.jsx(formik.Field, { className: 'send-balance-form__field', placeholder: t('dyn_send_transaction.data.recipient.placeholder'), label: t('dyn_send_transaction.data.recipient.label'), id: 'recipient', name: 'recipient', as: Input.Input, error: errors['recipient'], copykey: 'dyn_send_transaction.data.recipient.label', message: touched['recipient'] &&
193
195
  getDisplayErrorMessage(errors, t, 'recipient') }), jsxRuntime.jsx(TypographyButton.TypographyButton, { dataTestId: 'sendBalanceFormSubmitButton', expanded: true, type: 'submit', buttonVariant: 'primary', buttonPadding: 'small', buttonClassName: 'send-balance-form__button', copykey: 'dyn_send_transaction.preview_transaction', children: t('dyn_send_transaction.preview_transaction') })] }));
194
196
  } }));
195
197
  };
@@ -165,7 +165,7 @@ const SendBalanceForm = ({ initialValues, onSubmit, decimals = 18, validateAddre
165
165
  }, [decimals, validateAddress, validateAmount]);
166
166
  return (jsx(Formik, { initialValues: initialValues || sendBalanceFormInitialValues, validationSchema: sendBalanceFormValidationSchema, onSubmit: (values) => onSubmit(values), validateOnChange: false, validateOnBlur: false, children: ({ errors, touched, values, handleChange, setFieldValue, setErrors, handleBlur, setFieldTouched, validateField, }) => {
167
167
  var _a;
168
- return (jsxs(Form, { className: 'send-balance-form', children: [jsxs("div", { className: 'send-balance-page-layout__balance-container', children: [jsx(FormFieldLabel, { children: "Select any token" }), jsx(TokensBalanceDropdown, { tokenBalances: tokenBalances !== null && tokenBalances !== void 0 ? tokenBalances : (currentToken && [currentToken]), currentToken: currentToken, setCurrentToken: setCurrentToken, isLoading: isLoading, setFieldValue: setFieldValue, setErrors: setErrors })] }), jsxs("div", { className: 'send-balance-form__amount-container', children: [jsx(Field, { variant: 'regular', className: `send-balance-form__amount-container__field ${showFiat ? 'fiat' : ''}`, name: 'amount', id: 'amount', onChange: (e) => {
168
+ return (jsxs(Form, { className: 'send-balance-form', children: [jsxs("div", { className: 'send-balance-page-layout__balance-container', children: [jsx(FormFieldLabel, { copykey: 'dyn_send_transaction.data.select_token', children: t('dyn_send_transaction.data.select_token') }), jsx(TokensBalanceDropdown, { tokenBalances: tokenBalances !== null && tokenBalances !== void 0 ? tokenBalances : (currentToken && [currentToken]), currentToken: currentToken, setCurrentToken: setCurrentToken, isLoading: isLoading, setFieldValue: setFieldValue, setErrors: setErrors })] }), jsxs("div", { className: 'send-balance-form__amount-container', children: [jsx(Field, { variant: 'regular', className: `send-balance-form__amount-container__field ${showFiat ? 'fiat' : ''}`, name: 'amount', id: 'amount', onChange: (e) => {
169
169
  const newValue = e.target.value;
170
170
  // Matching 123, 123.45, .45, 123.
171
171
  if (newValue !== '' && !/^(?:\d+|\d*\.\d*|)$/.test(newValue)) {
@@ -185,7 +185,9 @@ const SendBalanceForm = ({ initialValues, onSubmit, decimals = 18, validateAddre
185
185
  }, placeholder: t('dyn_send_transaction.data.amount.placeholder'), as: Input, error: errors['amount'], copykey: 'dyn_send_transaction.data.amount.label', message: touched['amount'] &&
186
186
  getDisplayErrorMessage(errors, t, 'amount', decimals), style: {
187
187
  paddingLeft: `${leftSymbolPadding}px`,
188
- } }), jsx("div", { className: 'send-balance-form__amount-container__floating_value', ref: floatingValueRef, children: jsx(Typography, { variant: 'title', weight: 'regular', color: 'secondary', children: currentToken === null || currentToken === void 0 ? void 0 : currentToken.symbol }) }), jsx("div", { className: 'send-balance-form__amount-container__balance', children: showFiat && !Number.isNaN(amount) && (jsxs(Fragment, { children: [jsx(Typography, { variant: 'body_mini', weight: 'bold', color: 'secondary', children: "$" }), jsx(Typography, { variant: 'body_mini', weight: 'regular', color: 'secondary', children: getDisplayFiatPrice(amount, currentToken) })] })) })] }), jsx(Typography, { className: 'send-balance-form__amount_available', variant: 'body_small', weight: 'regular', color: 'secondary', as: 'div', children: jsxs("div", { style: { display: 'flex', gap: '0.225rem' }, children: [jsx(Typography, { className: 'send-balance-form__amount_available__line', variant: 'body_small', weight: 'bold', color: 'primary', as: 'div', children: (_a = currentToken === null || currentToken === void 0 ? void 0 : currentToken.balance) !== null && _a !== void 0 ? _a : 0 }), `${currentToken === null || currentToken === void 0 ? void 0 : currentToken.symbol} Available`] }) }), jsx(Typography, { variant: 'body_small', weight: 'regular', color: 'secondary', copykey: 'dyn_send_transaction.data.recipient.label', children: "Recipient Address" }), jsx(Field, { className: 'send-balance-form__field', placeholder: t('dyn_send_transaction.data.recipient.placeholder'), label: t('dyn_send_transaction.data.recipient.label'), id: 'recipient', name: 'recipient', as: Input, error: errors['recipient'], copykey: 'dyn_send_transaction.data.recipient.label', message: touched['recipient'] &&
188
+ } }), jsx("div", { className: 'send-balance-form__amount-container__floating_value', ref: floatingValueRef, children: jsx(Typography, { variant: 'title', weight: 'regular', color: 'secondary', children: currentToken === null || currentToken === void 0 ? void 0 : currentToken.symbol }) }), jsx("div", { className: 'send-balance-form__amount-container__balance', children: showFiat && !Number.isNaN(amount) && (jsxs(Fragment, { children: [jsx(Typography, { variant: 'body_mini', weight: 'bold', color: 'secondary', children: "$" }), jsx(Typography, { variant: 'body_mini', weight: 'regular', color: 'secondary', children: getDisplayFiatPrice(amount, currentToken) })] })) })] }), jsx(Typography, { className: 'send-balance-form__amount_available', variant: 'body_small', weight: 'regular', color: 'secondary', as: 'div', children: jsxs("div", { style: { display: 'flex', gap: '0.225rem' }, children: [jsx(Typography, { className: 'send-balance-form__amount_available__line', variant: 'body_small', weight: 'bold', color: 'primary', as: 'div', children: (_a = currentToken === null || currentToken === void 0 ? void 0 : currentToken.balance) !== null && _a !== void 0 ? _a : 0 }), t('dyn_send_transaction.data.symbol_available', {
189
+ symbol: currentToken === null || currentToken === void 0 ? void 0 : currentToken.symbol,
190
+ })] }) }), jsx(Typography, { variant: 'body_small', weight: 'regular', color: 'secondary', copykey: 'dyn_send_transaction.data.recipient.label', children: "Recipient Address" }), jsx(Field, { className: 'send-balance-form__field', placeholder: t('dyn_send_transaction.data.recipient.placeholder'), label: t('dyn_send_transaction.data.recipient.label'), id: 'recipient', name: 'recipient', as: Input, error: errors['recipient'], copykey: 'dyn_send_transaction.data.recipient.label', message: touched['recipient'] &&
189
191
  getDisplayErrorMessage(errors, t, 'recipient') }), jsx(TypographyButton, { dataTestId: 'sendBalanceFormSubmitButton', expanded: true, type: 'submit', buttonVariant: 'primary', buttonPadding: 'small', buttonClassName: 'send-balance-form__button', copykey: 'dyn_send_transaction.preview_transaction', children: t('dyn_send_transaction.preview_transaction') })] }));
190
192
  } }));
191
193
  };
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { viewToComponentMap } from '../../../views/viewToComponentMap';
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' | 'export-shares-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' | 'wallet-delegation-view' | 'waas-backup-view' | 'waas-backup-info-view' | 'waas-backup-cloud-provider-view' | 'waas-backup-download-view' | 'waas-backup-progress-view' | 'waas-backup-success-view' | 'setup-password-terms' | 'setup-password-for-wallet-creation';
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' | 'export-shares-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' | 'wallet-delegation-view' | 'waas-backup-view' | 'waas-backup-info-view' | 'waas-backup-cloud-provider-view' | 'waas-backup-download-view' | 'waas-backup-progress-view' | 'waas-backup-success-view' | 'setup-password-terms' | 'unlock-wallet';
4
4
  export type ViewMapConstraint = Record<ViewType, FC<any>>;
5
5
  export type ViewMap = typeof viewToComponentMap;
6
6
  export type ViewState<T extends ViewType> = {
@@ -1,6 +1,13 @@
1
1
  import { JwtVerifiedCredential } from '@dynamic-labs/sdk-api-core';
2
- import { Wallet } from '../shared/types/wallets';
3
2
  import { UserProfile } from '../..';
3
+ import { Wallet } from '../shared/types/wallets';
4
+ export type WalletUnlockPayload = {
5
+ accountAddress: string;
6
+ chainName: string;
7
+ };
8
+ export type WalletUnlockPasswordPayload = WalletUnlockPayload & {
9
+ password: string;
10
+ };
4
11
  export type EmbeddedWalletEvents = {
5
12
  embeddedWalletCreated: (wallet: Wallet, verifiedCredential: JwtVerifiedCredential | undefined, user: UserProfile | undefined) => void;
6
13
  embeddedWalletFailed: (error: unknown) => void;
@@ -10,6 +17,11 @@ export type EmbeddedWalletEvents = {
10
17
  embeddedWalletDelegationFailed: (error: unknown) => void;
11
18
  embeddedWalletRecoveryEmailCompleted: (email: string) => void;
12
19
  embeddedWalletRecoveryEmailFailed: (error: unknown) => void;
13
- embeddedWalletPasswordSetupCompleted: (password: string) => void;
14
- embeddedWalletPasswordSetupCancelled: () => void;
20
+ walletUnlockAttempt: (payload: WalletUnlockPayload) => void;
21
+ walletUnlockPasswordProvided: (payload: WalletUnlockPasswordPayload) => void;
22
+ walletUnlockCompleted: (payload: WalletUnlockPayload) => void;
23
+ walletUnlockFailed: (payload: WalletUnlockPayload & {
24
+ error: unknown;
25
+ }) => void;
26
+ walletUnlockCancelled: (payload: WalletUnlockPayload) => void;
15
27
  };
@@ -104,6 +104,7 @@ export { ReactComponent as SendIcon } from './send.svg';
104
104
  export { ReactComponent as SessionIcon } from './session.svg';
105
105
  export { ReactComponent as SettingsIconOutline } from './settings-outline.svg';
106
106
  export { ReactComponent as SettingsIcon } from './settings.svg';
107
+ export { ReactComponent as SetupPasswordTermsIllustration } from './setup-password-terms-illustration.svg';
107
108
  export { ReactComponent as ShieldIcon } from './shield.svg';
108
109
  export { ReactComponent as SignCircleIcon } from './sign-circle.svg';
109
110
  export { ReactComponent as SignInWithEmailIcon } from './sign-in-with-email.svg';
@@ -132,7 +133,6 @@ export { ReactComponent as WalletV2Icon } from './wallet-v2.svg';
132
133
  export { ReactComponent as WalletWithSunglassesIcon } from './wallet-with-sunglasses.svg';
133
134
  export { ReactComponent as WalletIcon } from './wallet.svg';
134
135
  export { PhantomLedgerIcon } from './wallets/PhantomLedgerIcon/PhantomLedgerIcon';
135
- export { ReactComponent as WarningCircleOrangeIcon } from './warning-circle-orange.svg';
136
136
  export { ReactComponent as WarningOrangeIcon } from './warning-orange.svg';
137
137
  export { ReactComponent as WarningRedIcon } from './warning-red.svg';
138
138
  export { ReactComponent as WhiteCheck } from './white-check-black-circle.svg';
@@ -0,0 +1,83 @@
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 SvgSetupPasswordTermsIllustration = function SvgSetupPasswordTermsIllustration(_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: 317,
39
+ height: 85,
40
+ viewBox: "0 0 317 85",
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(#setup-password-terms-illustration_svg__a)"
48
+ }, /*#__PURE__*/React__namespace.createElement("circle", {
49
+ cx: 158.41,
50
+ cy: 110.114,
51
+ r: 110.114,
52
+ fill: "url(#setup-password-terms-illustration_svg__b)",
53
+ fillOpacity: 0.12
54
+ }), /*#__PURE__*/React__namespace.createElement("path", {
55
+ d: "M230.37 18.352a3.864 3.864 0 0 1 3.864 3.863v7.728a3.863 3.863 0 0 1-3.864 3.863h-38.636a3.864 3.864 0 0 1-3.864-3.863v-7.728a3.864 3.864 0 0 1 3.864-3.863h38.636Zm-32.002 5.152c-1.449 0-2.625 1.153-2.625 2.576 0 1.422 1.176 2.575 2.625 2.575s2.624-1.153 2.624-2.575c0-1.423-1.175-2.576-2.624-2.576Zm8.747 0c-1.449 0-2.624 1.153-2.624 2.576 0 1.422 1.175 2.575 2.624 2.575 1.45 0 2.625-1.153 2.625-2.575 0-1.423-1.175-2.576-2.625-2.576Zm8.749 0c-1.449 0-2.624 1.153-2.624 2.576 0 1.422 1.175 2.575 2.624 2.575 1.45 0 2.625-1.153 2.625-2.575 0-1.423-1.175-2.576-2.625-2.576Zm8.746 0c-1.449 0-2.624 1.154-2.624 2.576l.014.263c.134 1.298 1.252 2.312 2.61 2.312 1.359 0 2.477-1.014 2.612-2.313l.013-.262c0-1.423-1.175-2.576-2.625-2.576Zm0 .965c.933 0 1.659.739 1.66 1.61-.001.873-.727 1.61-1.66 1.61-.932 0-1.658-.738-1.658-1.61 0-.871.726-1.61 1.658-1.61ZM97.995 25.218c8.244-2.209 16.719 2.683 18.928 10.927 2.209 8.245-2.684 16.72-10.928 18.929-8.245 2.209-16.719-2.684-18.928-10.929-2.209-8.244 2.684-16.718 10.928-18.927Zm1.839 6.007a3.9 3.9 0 0 0-2.757 4.776l.504 1.882a6.498 6.498 0 1 0 7.532-2.018l-.504-1.882a3.9 3.9 0 0 0-4.58-2.805l-.195.047Zm2.145 7.925a1.69 1.69 0 0 1 1.532 2.919l.355 1.325a.725.725 0 1 1-1.4.375l-.355-1.325a1.69 1.69 0 0 1-.132-3.294Zm-1.395-5.126a1.002 1.002 0 0 1 1.226.709l.188.701a6.583 6.583 0 0 0-1.935.519l-.188-.702a1.003 1.003 0 0 1 .709-1.227ZM165.171 39.28a4.508 4.508 0 0 1 4.508 4.507h-27.045a8.992 8.992 0 0 0-6.618 2.893c.762-4.209 4.444-7.4 8.871-7.4h20.284ZM180.947 57.31a9.015 9.015 0 0 0-9.015-9.015h-27.046a9.015 9.015 0 0 0-9.015 9.015v18.03a9.015 9.015 0 0 0 9.015 9.015h27.046a9.015 9.015 0 0 0 9.015-9.015V57.31Z",
56
+ fill: "#4779FF"
57
+ }), /*#__PURE__*/React__namespace.createElement("path", {
58
+ d: "M155.879 66.785a7.284 7.284 0 0 0 1.936 2.16l-2.734 2.734 2.031 2.031-2.049 2.05-2.031-2.032-1.991 1.992-2.049-2.049 6.887-6.886Zm6.153-9.555a5.796 5.796 0 1 1-.001 11.591 5.796 5.796 0 0 1 .001-11.591Zm0 2.898a2.899 2.899 0 0 0 0 5.795 2.899 2.899 0 0 0 0-5.796Z",
59
+ fill: "#fff"
60
+ }))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
61
+ id: "setup-password-terms-illustration_svg__b",
62
+ x1: 158.41,
63
+ y1: 0,
64
+ x2: 158.41,
65
+ y2: 90.313,
66
+ gradientUnits: "userSpaceOnUse"
67
+ }, /*#__PURE__*/React__namespace.createElement("stop", {
68
+ stopColor: "#4779FF"
69
+ }), /*#__PURE__*/React__namespace.createElement("stop", {
70
+ offset: 1,
71
+ stopColor: "#4779FF",
72
+ stopOpacity: 0
73
+ })), /*#__PURE__*/React__namespace.createElement("clipPath", {
74
+ id: "setup-password-terms-illustration_svg__a"
75
+ }, /*#__PURE__*/React__namespace.createElement("rect", {
76
+ width: 316.818,
77
+ height: 85,
78
+ rx: 11.591,
79
+ fill: "#fff"
80
+ })))));
81
+ };
82
+
83
+ exports.ReactComponent = SvgSetupPasswordTermsIllustration;
@@ -0,0 +1,59 @@
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 SvgSetupPasswordTermsIllustration = function SvgSetupPasswordTermsIllustration(_ref) {
10
+ var title = _ref.title,
11
+ titleId = _ref.titleId,
12
+ props = _objectWithoutProperties(_ref, _excluded);
13
+ return /*#__PURE__*/React.createElement("svg", _extends({
14
+ width: 317,
15
+ height: 85,
16
+ viewBox: "0 0 317 85",
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(#setup-password-terms-illustration_svg__a)"
24
+ }, /*#__PURE__*/React.createElement("circle", {
25
+ cx: 158.41,
26
+ cy: 110.114,
27
+ r: 110.114,
28
+ fill: "url(#setup-password-terms-illustration_svg__b)",
29
+ fillOpacity: 0.12
30
+ }), /*#__PURE__*/React.createElement("path", {
31
+ d: "M230.37 18.352a3.864 3.864 0 0 1 3.864 3.863v7.728a3.863 3.863 0 0 1-3.864 3.863h-38.636a3.864 3.864 0 0 1-3.864-3.863v-7.728a3.864 3.864 0 0 1 3.864-3.863h38.636Zm-32.002 5.152c-1.449 0-2.625 1.153-2.625 2.576 0 1.422 1.176 2.575 2.625 2.575s2.624-1.153 2.624-2.575c0-1.423-1.175-2.576-2.624-2.576Zm8.747 0c-1.449 0-2.624 1.153-2.624 2.576 0 1.422 1.175 2.575 2.624 2.575 1.45 0 2.625-1.153 2.625-2.575 0-1.423-1.175-2.576-2.625-2.576Zm8.749 0c-1.449 0-2.624 1.153-2.624 2.576 0 1.422 1.175 2.575 2.624 2.575 1.45 0 2.625-1.153 2.625-2.575 0-1.423-1.175-2.576-2.625-2.576Zm8.746 0c-1.449 0-2.624 1.154-2.624 2.576l.014.263c.134 1.298 1.252 2.312 2.61 2.312 1.359 0 2.477-1.014 2.612-2.313l.013-.262c0-1.423-1.175-2.576-2.625-2.576Zm0 .965c.933 0 1.659.739 1.66 1.61-.001.873-.727 1.61-1.66 1.61-.932 0-1.658-.738-1.658-1.61 0-.871.726-1.61 1.658-1.61ZM97.995 25.218c8.244-2.209 16.719 2.683 18.928 10.927 2.209 8.245-2.684 16.72-10.928 18.929-8.245 2.209-16.719-2.684-18.928-10.929-2.209-8.244 2.684-16.718 10.928-18.927Zm1.839 6.007a3.9 3.9 0 0 0-2.757 4.776l.504 1.882a6.498 6.498 0 1 0 7.532-2.018l-.504-1.882a3.9 3.9 0 0 0-4.58-2.805l-.195.047Zm2.145 7.925a1.69 1.69 0 0 1 1.532 2.919l.355 1.325a.725.725 0 1 1-1.4.375l-.355-1.325a1.69 1.69 0 0 1-.132-3.294Zm-1.395-5.126a1.002 1.002 0 0 1 1.226.709l.188.701a6.583 6.583 0 0 0-1.935.519l-.188-.702a1.003 1.003 0 0 1 .709-1.227ZM165.171 39.28a4.508 4.508 0 0 1 4.508 4.507h-27.045a8.992 8.992 0 0 0-6.618 2.893c.762-4.209 4.444-7.4 8.871-7.4h20.284ZM180.947 57.31a9.015 9.015 0 0 0-9.015-9.015h-27.046a9.015 9.015 0 0 0-9.015 9.015v18.03a9.015 9.015 0 0 0 9.015 9.015h27.046a9.015 9.015 0 0 0 9.015-9.015V57.31Z",
32
+ fill: "#4779FF"
33
+ }), /*#__PURE__*/React.createElement("path", {
34
+ d: "M155.879 66.785a7.284 7.284 0 0 0 1.936 2.16l-2.734 2.734 2.031 2.031-2.049 2.05-2.031-2.032-1.991 1.992-2.049-2.049 6.887-6.886Zm6.153-9.555a5.796 5.796 0 1 1-.001 11.591 5.796 5.796 0 0 1 .001-11.591Zm0 2.898a2.899 2.899 0 0 0 0 5.795 2.899 2.899 0 0 0 0-5.796Z",
35
+ fill: "#fff"
36
+ }))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
37
+ id: "setup-password-terms-illustration_svg__b",
38
+ x1: 158.41,
39
+ y1: 0,
40
+ x2: 158.41,
41
+ y2: 90.313,
42
+ gradientUnits: "userSpaceOnUse"
43
+ }, /*#__PURE__*/React.createElement("stop", {
44
+ stopColor: "#4779FF"
45
+ }), /*#__PURE__*/React.createElement("stop", {
46
+ offset: 1,
47
+ stopColor: "#4779FF",
48
+ stopOpacity: 0
49
+ })), /*#__PURE__*/React.createElement("clipPath", {
50
+ id: "setup-password-terms-illustration_svg__a"
51
+ }, /*#__PURE__*/React.createElement("rect", {
52
+ width: 316.818,
53
+ height: 85,
54
+ rx: 11.591,
55
+ fill: "#fff"
56
+ })))));
57
+ };
58
+
59
+ export { SvgSetupPasswordTermsIllustration as ReactComponent };