@dynamic-labs/sdk-react-core 3.0.0-alpha.10 → 3.0.0-alpha.12

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 (49) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.cjs +1 -1
  3. package/package.js +1 -1
  4. package/package.json +10 -10
  5. package/src/index.cjs +1 -1
  6. package/src/index.js +1 -1
  7. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +4 -2
  8. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +4 -2
  9. package/src/lib/context/DynamicContext/DynamicContext.cjs +1 -0
  10. package/src/lib/context/DynamicContext/DynamicContext.js +1 -0
  11. package/src/lib/context/PasskeyContext/PasskeyContext.cjs +5 -6
  12. package/src/lib/context/PasskeyContext/PasskeyContext.js +5 -6
  13. package/src/lib/locale/en/translation.cjs +2 -2
  14. package/src/lib/locale/en/translation.d.ts +1 -1
  15. package/src/lib/locale/en/translation.js +2 -2
  16. package/src/lib/styles/index.shadow.cjs +1 -1
  17. package/src/lib/styles/index.shadow.js +1 -1
  18. package/src/lib/utils/functions/getPlatformForConnector/getPlatformForConnector.cjs +10 -0
  19. package/src/lib/utils/functions/getPlatformForConnector/getPlatformForConnector.d.ts +3 -0
  20. package/src/lib/utils/functions/getPlatformForConnector/getPlatformForConnector.js +6 -0
  21. package/src/lib/utils/functions/getPlatformForConnector/index.d.ts +1 -0
  22. package/src/lib/utils/functions/index.d.ts +1 -0
  23. package/src/lib/utils/functions/walletListBuilder/utils/applyMultiWalletFilters/applyMultiWalletFilters.cjs +2 -2
  24. package/src/lib/utils/functions/walletListBuilder/utils/applyMultiWalletFilters/applyMultiWalletFilters.d.ts +3 -1
  25. package/src/lib/utils/functions/walletListBuilder/utils/applyMultiWalletFilters/applyMultiWalletFilters.js +2 -2
  26. package/src/lib/utils/functions/walletListBuilder/utils/staticLinkedWalletFilter/staticLinkedWalletFilter.cjs +5 -12
  27. package/src/lib/utils/functions/walletListBuilder/utils/staticLinkedWalletFilter/staticLinkedWalletFilter.d.ts +2 -1
  28. package/src/lib/utils/functions/walletListBuilder/utils/staticLinkedWalletFilter/staticLinkedWalletFilter.js +5 -12
  29. package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +1 -0
  30. package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +1 -0
  31. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +4 -1
  32. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.d.ts +1 -0
  33. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +4 -1
  34. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +2 -2
  35. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.d.ts +3 -1
  36. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +2 -2
  37. package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +14 -7
  38. package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.d.ts +3 -2
  39. package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +14 -7
  40. package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.cjs +1 -5
  41. package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.js +2 -6
  42. package/src/lib/views/WalletGroupView/WalletGroupView.cjs +1 -6
  43. package/src/lib/views/WalletGroupView/WalletGroupView.js +2 -7
  44. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +8 -5
  45. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +8 -5
  46. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +1 -1
  47. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +1 -1
  48. package/src/lib/shared/assets/prompt-account-switch.cjs +0 -64
  49. package/src/lib/shared/assets/prompt-account-switch.js +0 -40
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var reactI18next = require('react-i18next');
8
+ var walletBook = require('@dynamic-labs/wallet-book');
8
9
  require('../../../../components/Accordion/components/AccordionItem/AccordionItem.cjs');
9
10
  require('../../../../components/Alert/Alert.cjs');
10
11
  require('react');
@@ -17,8 +18,6 @@ require('../../../../shared/logger.cjs');
17
18
  require('@dynamic-labs/iconic');
18
19
  require('@dynamic-labs/wallet-connector-core');
19
20
  require('../../../../context/ViewContext/ViewContext.cjs');
20
- var promptAccountSwitch = require('../../../../shared/assets/prompt-account-switch.cjs');
21
- require('@dynamic-labs/wallet-book');
22
21
  require('../../../../utils/constants/colors.cjs');
23
22
  require('../../../../utils/constants/values.cjs');
24
23
  require('../../../../shared/utils/classes/storage/localStorage.cjs');
@@ -62,6 +61,8 @@ require('../../components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
62
61
  var PromptModal = require('../../components/PromptModal/PromptModal.cjs');
63
62
  var WidgetPortal = require('../../components/WidgetPortal/WidgetPortal.cjs');
64
63
  var useCloseMultiWalletPrompt = require('../../hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs');
64
+ var DefaultPromptModal = require('../DefaultPromptModal/DefaultPromptModal.cjs');
65
+ var Divider = require('../../../../components/Divider/Divider.cjs');
65
66
  require('../../context/DynamicWidgetContext.cjs');
66
67
  require('../../../../components/IconButton/IconButton.cjs');
67
68
  require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
@@ -74,6 +75,7 @@ require('../../../../context/PasskeyContext/PasskeyContext.cjs');
74
75
  require('../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
75
76
  require('../../../../components/InlineWidget/InlineWidget.cjs');
76
77
  require('../../../../components/IsBrowser/IsBrowser.cjs');
78
+ var LogoutButton = require('../../../../components/LogoutButton/LogoutButton.cjs');
77
79
  require('../../../../components/Popper/Popper/Popper.cjs');
78
80
  require('../../../../components/Popper/PopperContext/PopperContext.cjs');
79
81
  require('react-focus-lock');
@@ -84,16 +86,17 @@ require('@hcaptcha/react-hcaptcha');
84
86
  require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs');
85
87
 
86
88
  const DetectedNewWalletContent = () => {
89
+ var _a;
87
90
  const { t } = reactI18next.useTranslation();
88
91
  const { setMultiWalletWidgetState, primaryWallet } = useInternalDynamicContext.useInternalDynamicContext();
89
92
  const handleClick = () => {
90
93
  setMultiWalletWidgetState('awaiting_signature', undefined, 'linking_new_wallet');
91
94
  };
92
- return (jsxRuntime.jsxs("div", { className: 'detected-new-wallet-modal__content', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'primary', children: t('dyn_detected_new_wallet.title') }), jsxRuntime.jsx(promptAccountSwitch.ReactComponent, {}), jsxRuntime.jsx(Typography.Typography, { variant: 'body_small', color: 'secondary', children: t('dyn_detected_new_wallet.description', {
95
+ return (jsxRuntime.jsxs(DefaultPromptModal.DefaultPromptLayout, { dataTestId: 'detected-new-wallet-modal', icon: jsxRuntime.jsx(walletBook.WalletIcon, { walletKey: (_a = primaryWallet === null || primaryWallet === void 0 ? void 0 : primaryWallet.connector) === null || _a === void 0 ? void 0 : _a.key }), title: t('dyn_detected_new_wallet.title'), children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'secondary', weight: 'regular', "data-testid": 'content', children: t('dyn_detected_new_wallet.description', {
93
96
  walletName: primaryWallet === null || primaryWallet === void 0 ? void 0 : primaryWallet.connector.name,
94
- }) }), jsxRuntime.jsx(TypographyButton.TypographyButton, { expanded: true, onClick: handleClick, typographyProps: {
97
+ }) }), jsxRuntime.jsx(TypographyButton.TypographyButton, { buttonClassName: 'detected-new-wallet-modal__confirm-button', expanded: true, onClick: handleClick, typographyProps: {
95
98
  variant: 'button_secondary',
96
- }, children: t('dyn_detected_new_wallet.confirm_button') })] }));
99
+ }, children: t('dyn_detected_new_wallet.confirm_button') }), jsxRuntime.jsx(Divider.Divider, { fullWidth: true, text: 'Or' }), jsxRuntime.jsx(LogoutButton.LogoutButton, { isTextButton: false, buttonClassName: 'detected-new-wallet-modal__log-out-button' })] }));
97
100
  };
98
101
  const DetectedNewWalletWidgetPortal = () => (jsxRuntime.jsx(WidgetPortal.WidgetPortal, { onClose: useCloseMultiWalletPrompt.useCloseMultiWalletPrompt(), children: jsxRuntime.jsx(DetectedNewWalletContent, {}) }));
99
102
  const DetectedNewWalletModal = () => (jsxRuntime.jsx(PromptModal.PromptModal, { onClose: useCloseMultiWalletPrompt.useCloseMultiWalletPrompt(), children: jsxRuntime.jsx(DetectedNewWalletContent, {}) }));
@@ -1,6 +1,7 @@
1
1
  'use client'
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { useTranslation } from 'react-i18next';
4
+ import { WalletIcon } from '@dynamic-labs/wallet-book';
4
5
  import '../../../../components/Accordion/components/AccordionItem/AccordionItem.js';
5
6
  import '../../../../components/Alert/Alert.js';
6
7
  import 'react';
@@ -13,8 +14,6 @@ import '../../../../shared/logger.js';
13
14
  import '@dynamic-labs/iconic';
14
15
  import '@dynamic-labs/wallet-connector-core';
15
16
  import '../../../../context/ViewContext/ViewContext.js';
16
- import { ReactComponent as SvgPromptAccountSwitch } from '../../../../shared/assets/prompt-account-switch.js';
17
- import '@dynamic-labs/wallet-book';
18
17
  import '../../../../utils/constants/colors.js';
19
18
  import '../../../../utils/constants/values.js';
20
19
  import '../../../../shared/utils/classes/storage/localStorage.js';
@@ -58,6 +57,8 @@ import '../../components/DynamicWidgetHeader/DynamicWidgetHeader.js';
58
57
  import { PromptModal } from '../../components/PromptModal/PromptModal.js';
59
58
  import { WidgetPortal } from '../../components/WidgetPortal/WidgetPortal.js';
60
59
  import { useCloseMultiWalletPrompt } from '../../hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js';
60
+ import { DefaultPromptLayout } from '../DefaultPromptModal/DefaultPromptModal.js';
61
+ import { Divider } from '../../../../components/Divider/Divider.js';
61
62
  import '../../context/DynamicWidgetContext.js';
62
63
  import '../../../../components/IconButton/IconButton.js';
63
64
  import '../../../../components/MenuList/Dropdown/Dropdown.js';
@@ -70,6 +71,7 @@ import '../../../../context/PasskeyContext/PasskeyContext.js';
70
71
  import '../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
71
72
  import '../../../../components/InlineWidget/InlineWidget.js';
72
73
  import '../../../../components/IsBrowser/IsBrowser.js';
74
+ import { LogoutButton } from '../../../../components/LogoutButton/LogoutButton.js';
73
75
  import '../../../../components/Popper/Popper/Popper.js';
74
76
  import '../../../../components/Popper/PopperContext/PopperContext.js';
75
77
  import 'react-focus-lock';
@@ -80,16 +82,17 @@ import '@hcaptcha/react-hcaptcha';
80
82
  import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
81
83
 
82
84
  const DetectedNewWalletContent = () => {
85
+ var _a;
83
86
  const { t } = useTranslation();
84
87
  const { setMultiWalletWidgetState, primaryWallet } = useInternalDynamicContext();
85
88
  const handleClick = () => {
86
89
  setMultiWalletWidgetState('awaiting_signature', undefined, 'linking_new_wallet');
87
90
  };
88
- return (jsxs("div", { className: 'detected-new-wallet-modal__content', children: [jsx(Typography, { variant: 'body_normal', color: 'primary', children: t('dyn_detected_new_wallet.title') }), jsx(SvgPromptAccountSwitch, {}), jsx(Typography, { variant: 'body_small', color: 'secondary', children: t('dyn_detected_new_wallet.description', {
91
+ return (jsxs(DefaultPromptLayout, { dataTestId: 'detected-new-wallet-modal', icon: jsx(WalletIcon, { walletKey: (_a = primaryWallet === null || primaryWallet === void 0 ? void 0 : primaryWallet.connector) === null || _a === void 0 ? void 0 : _a.key }), title: t('dyn_detected_new_wallet.title'), children: [jsx(Typography, { variant: 'body_normal', color: 'secondary', weight: 'regular', "data-testid": 'content', children: t('dyn_detected_new_wallet.description', {
89
92
  walletName: primaryWallet === null || primaryWallet === void 0 ? void 0 : primaryWallet.connector.name,
90
- }) }), jsx(TypographyButton, { expanded: true, onClick: handleClick, typographyProps: {
93
+ }) }), jsx(TypographyButton, { buttonClassName: 'detected-new-wallet-modal__confirm-button', expanded: true, onClick: handleClick, typographyProps: {
91
94
  variant: 'button_secondary',
92
- }, children: t('dyn_detected_new_wallet.confirm_button') })] }));
95
+ }, children: t('dyn_detected_new_wallet.confirm_button') }), jsx(Divider, { fullWidth: true, text: 'Or' }), jsx(LogoutButton, { isTextButton: false, buttonClassName: 'detected-new-wallet-modal__log-out-button' })] }));
93
96
  };
94
97
  const DetectedNewWalletWidgetPortal = () => (jsx(WidgetPortal, { onClose: useCloseMultiWalletPrompt(), children: jsx(DetectedNewWalletContent, {}) }));
95
98
  const DetectedNewWalletModal = () => (jsx(PromptModal, { onClose: useCloseMultiWalletPrompt(), children: jsx(DetectedNewWalletContent, {}) }));
@@ -74,8 +74,8 @@ require('../../../../context/PasskeyContext/PasskeyContext.cjs');
74
74
  require('../../components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
75
75
  var PromptModal = require('../../components/PromptModal/PromptModal.cjs');
76
76
  var WidgetPortal = require('../../components/WidgetPortal/WidgetPortal.cjs');
77
- var useConnectedAccountWallet = require('../../../../utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.cjs');
78
77
  var DefaultPromptModal = require('../DefaultPromptModal/DefaultPromptModal.cjs');
78
+ var useConnectedAccountWallet = require('../../../../utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.cjs');
79
79
  var SwitchAccountView = require('./SwitchAccountView/SwitchAccountView.cjs');
80
80
  var SwitchOrUseActiveAccountView = require('./SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs');
81
81
  require('../../context/DynamicWidgetContext.cjs');
@@ -70,8 +70,8 @@ import '../../../../context/PasskeyContext/PasskeyContext.js';
70
70
  import '../../components/DynamicWidgetHeader/DynamicWidgetHeader.js';
71
71
  import { PromptModal } from '../../components/PromptModal/PromptModal.js';
72
72
  import { WidgetPortal } from '../../components/WidgetPortal/WidgetPortal.js';
73
- import { useConnectedAccountWallet } from '../../../../utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.js';
74
73
  import { DefaultPromptLayout } from '../DefaultPromptModal/DefaultPromptModal.js';
74
+ import { useConnectedAccountWallet } from '../../../../utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.js';
75
75
  import { SwitchAccountView } from './SwitchAccountView/SwitchAccountView.js';
76
76
  import { SwitchOrUseActiveAccountView } from './SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js';
77
77
  import '../../context/DynamicWidgetContext.js';
@@ -1,64 +0,0 @@
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, _path2, _path3, _path4;
29
- var _excluded = ["title", "titleId"];
30
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
31
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
32
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
33
- var SvgPromptAccountSwitch = function SvgPromptAccountSwitch(_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: 40,
39
- height: 40,
40
- viewBox: "0 0 42 42",
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
- d: "M31.583 11.75a7.617 7.617 0 0 0-1.25-.083H13.667c-.467 0-.917.033-1.35.1.233-.467.566-.9.966-1.3L18.7 5.033a5.875 5.875 0 0 1 8.267 0l2.916 2.95a5.623 5.623 0 0 1 1.7 3.767Z",
48
- fill: "#2660FF"
49
- })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
50
- opacity: 0.4,
51
- d: "M38.667 20v8.333c0 5-3.334 8.334-8.334 8.334H14.717a5.988 5.988 0 0 0 1.316-1.567c.617-1 .967-2.184.967-3.434A6.665 6.665 0 0 0 10.333 25c-2 0-3.783.883-5 2.267V20c0-4.534 2.734-7.7 6.984-8.233.433-.067.883-.1 1.35-.1h16.666c.434 0 .85.016 1.25.083 4.3.5 7.084 3.683 7.084 8.25Z",
52
- fill: "#2660FF"
53
- })), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
54
- d: "M38.667 20.833h-5a3.343 3.343 0 0 0-3.334 3.334c0 1.833 1.5 3.333 3.334 3.333h5",
55
- fill: "#2660FF"
56
- })), _path4 || (_path4 = /*#__PURE__*/React__namespace.createElement("path", {
57
- fillRule: "evenodd",
58
- clipRule: "evenodd",
59
- d: "M10.333 25a6.667 6.667 0 1 0 0 13.333 6.667 6.667 0 0 0 0-13.333ZM2 31.667a8.333 8.333 0 1 1 16.667 0 8.333 8.333 0 0 1-16.667 0Zm8.577-3.09a.833.833 0 0 1 1.179 0l2.5 2.5a.833.833 0 0 1 0 1.18l-2.5 2.5a.833.833 0 0 1-1.179-1.18l1.078-1.077H7a.833.833 0 0 1 0-1.666h4.655l-1.078-1.078a.833.833 0 0 1 0-1.178Z",
60
- fill: "#2660FF"
61
- })));
62
- };
63
-
64
- exports.ReactComponent = SvgPromptAccountSwitch;
@@ -1,40 +0,0 @@
1
- 'use client'
2
- import * as React from 'react';
3
-
4
- var _path, _path2, _path3, _path4;
5
- var _excluded = ["title", "titleId"];
6
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
7
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
8
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9
- var SvgPromptAccountSwitch = function SvgPromptAccountSwitch(_ref) {
10
- var title = _ref.title,
11
- titleId = _ref.titleId,
12
- props = _objectWithoutProperties(_ref, _excluded);
13
- return /*#__PURE__*/React.createElement("svg", _extends({
14
- width: 40,
15
- height: 40,
16
- viewBox: "0 0 42 42",
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
- d: "M31.583 11.75a7.617 7.617 0 0 0-1.25-.083H13.667c-.467 0-.917.033-1.35.1.233-.467.566-.9.966-1.3L18.7 5.033a5.875 5.875 0 0 1 8.267 0l2.916 2.95a5.623 5.623 0 0 1 1.7 3.767Z",
24
- fill: "#2660FF"
25
- })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
26
- opacity: 0.4,
27
- d: "M38.667 20v8.333c0 5-3.334 8.334-8.334 8.334H14.717a5.988 5.988 0 0 0 1.316-1.567c.617-1 .967-2.184.967-3.434A6.665 6.665 0 0 0 10.333 25c-2 0-3.783.883-5 2.267V20c0-4.534 2.734-7.7 6.984-8.233.433-.067.883-.1 1.35-.1h16.666c.434 0 .85.016 1.25.083 4.3.5 7.084 3.683 7.084 8.25Z",
28
- fill: "#2660FF"
29
- })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
30
- d: "M38.667 20.833h-5a3.343 3.343 0 0 0-3.334 3.334c0 1.833 1.5 3.333 3.334 3.333h5",
31
- fill: "#2660FF"
32
- })), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
33
- fillRule: "evenodd",
34
- clipRule: "evenodd",
35
- d: "M10.333 25a6.667 6.667 0 1 0 0 13.333 6.667 6.667 0 0 0 0-13.333ZM2 31.667a8.333 8.333 0 1 1 16.667 0 8.333 8.333 0 0 1-16.667 0Zm8.577-3.09a.833.833 0 0 1 1.179 0l2.5 2.5a.833.833 0 0 1 0 1.18l-2.5 2.5a.833.833 0 0 1-1.179-1.18l1.078-1.077H7a.833.833 0 0 1 0-1.666h4.655l-1.078-1.078a.833.833 0 0 1 0-1.178Z",
36
- fill: "#2660FF"
37
- })));
38
- };
39
-
40
- export { SvgPromptAccountSwitch as ReactComponent };