@dynamic-labs/sdk-react-core 4.36.1 → 4.37.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.
- package/CHANGELOG.md +9 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/index.cjs +2 -0
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -0
- package/src/lib/locale/en/translation.cjs +24 -3
- package/src/lib/locale/en/translation.d.ts +23 -2
- package/src/lib/locale/en/translation.js +24 -3
- package/src/lib/shared/assets/connect.cjs +57 -0
- package/src/lib/shared/assets/connect.js +33 -0
- package/src/lib/shared/assets/index.d.ts +1 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/hooks/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWalletDelegation/useWalletDelegation.cjs +22 -0
- package/src/lib/utils/hooks/useWalletDelegation/useWalletDelegation.d.ts +6 -0
- package/src/lib/utils/hooks/useWalletDelegation/useWalletDelegation.js +22 -0
- package/src/lib/views/WalletDelegation/WalletDelegationView/AgreementSection.cjs +28 -0
- package/src/lib/views/WalletDelegation/WalletDelegationView/AgreementSection.d.ts +9 -0
- package/src/lib/views/WalletDelegation/WalletDelegationView/AgreementSection.js +24 -0
- package/src/lib/views/WalletDelegation/WalletDelegationView/WalletDelegationView.cjs +78 -5
- package/src/lib/views/WalletDelegation/WalletDelegationView/WalletDelegationView.js +79 -6
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.js +2 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/ConnectedAppsView.cjs +2 -6
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/ConnectedAppsView.js +2 -6
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.cjs +17 -1
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.js +17 -1
- package/src/lib/widgets/DynamicWidget/views/WalletsDelegatedSettingsView/WalletsDelegatedSettingsView.cjs +149 -0
- package/src/lib/widgets/DynamicWidget/views/WalletsDelegatedSettingsView/WalletsDelegatedSettingsView.d.ts +12 -0
- package/src/lib/widgets/DynamicWidget/views/WalletsDelegatedSettingsView/WalletsDelegatedSettingsView.js +144 -0
- package/src/lib/widgets/DynamicWidget/views/WalletsDelegatedSettingsView/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/EmbeddedDelegatedSection/EmbeddedDelegatedSection.cjs +0 -34
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/EmbeddedDelegatedSection/EmbeddedDelegatedSection.d.ts +0 -2
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/EmbeddedDelegatedSection/EmbeddedDelegatedSection.js +0 -30
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/EmbeddedDelegatedSection/index.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.37.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.36.1...v4.37.0) (2025-10-08)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add workflow to auto-update documentation changelog on release ([#9642](https://github.com/dynamic-labs/dynamic-auth/issues/9642)) ([701041e](https://github.com/dynamic-labs/dynamic-auth/commit/701041e05d6f2e46869f4e864e4533bbd046b3b6))
|
|
8
|
+
* add delegation ui
|
|
9
|
+
* add token pocket connector for tron
|
|
10
|
+
|
|
2
11
|
### [4.36.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.36.0...v4.36.1) (2025-10-06)
|
|
3
12
|
|
|
4
13
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sdk-react-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.37.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@dynamic-labs/sdk-api-core": "0.0.798",
|
|
6
6
|
"@dynamic-labs-sdk/client": "0.1.0-alpha.17",
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
"yup": "0.32.11",
|
|
16
16
|
"react-international-phone": "4.5.0",
|
|
17
17
|
"bs58": "5.0.0",
|
|
18
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
19
|
-
"@dynamic-labs/iconic": "4.
|
|
20
|
-
"@dynamic-labs/logger": "4.
|
|
21
|
-
"@dynamic-labs/multi-wallet": "4.
|
|
22
|
-
"@dynamic-labs/rpc-providers": "4.
|
|
23
|
-
"@dynamic-labs/store": "4.
|
|
24
|
-
"@dynamic-labs/types": "4.
|
|
25
|
-
"@dynamic-labs/utils": "4.
|
|
26
|
-
"@dynamic-labs/wallet-book": "4.
|
|
27
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
18
|
+
"@dynamic-labs/assert-package-version": "4.37.0",
|
|
19
|
+
"@dynamic-labs/iconic": "4.37.0",
|
|
20
|
+
"@dynamic-labs/logger": "4.37.0",
|
|
21
|
+
"@dynamic-labs/multi-wallet": "4.37.0",
|
|
22
|
+
"@dynamic-labs/rpc-providers": "4.37.0",
|
|
23
|
+
"@dynamic-labs/store": "4.37.0",
|
|
24
|
+
"@dynamic-labs/types": "4.37.0",
|
|
25
|
+
"@dynamic-labs/utils": "4.37.0",
|
|
26
|
+
"@dynamic-labs/wallet-book": "4.37.0",
|
|
27
|
+
"@dynamic-labs/wallet-connector-core": "4.37.0",
|
|
28
28
|
"eventemitter3": "5.0.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
package/src/index.cjs
CHANGED
|
@@ -122,6 +122,7 @@ require('./lib/context/CaptchaContext/CaptchaContext.cjs');
|
|
|
122
122
|
var DynamicWidgetContext = require('./lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
123
123
|
require('./lib/components/IconButton/IconButton.cjs');
|
|
124
124
|
var useDynamicWaas = require('./lib/utils/hooks/useDynamicWaas/useDynamicWaas.cjs');
|
|
125
|
+
var useWalletDelegation = require('./lib/utils/hooks/useWalletDelegation/useWalletDelegation.cjs');
|
|
125
126
|
var useSwitchWallet = require('./lib/utils/hooks/useSwitchWallet/useSwitchWallet.cjs');
|
|
126
127
|
require('./lib/components/MenuList/Dropdown/Dropdown.cjs');
|
|
127
128
|
require('formik');
|
|
@@ -280,6 +281,7 @@ exports.ShadowDOM = ShadowDOM.ShadowDOM;
|
|
|
280
281
|
exports.useMultiWalletPromptState = useMultiWalletPromptState.useMultiWalletPromptState;
|
|
281
282
|
exports.DynamicWidgetContextProvider = DynamicWidgetContext.DynamicWidgetContextProvider;
|
|
282
283
|
exports.useDynamicWaas = useDynamicWaas.useDynamicWaas;
|
|
284
|
+
exports.useWalletDelegation = useWalletDelegation.useWalletDelegation;
|
|
283
285
|
exports.useSwitchWallet = useSwitchWallet.useSwitchWallet;
|
|
284
286
|
exports.useEmbeddedReveal = useEmbeddedReveal.useEmbeddedReveal;
|
|
285
287
|
exports.useEmbeddedWalletAuthenticator = useEmbeddedWalletAuthenticator.useEmbeddedWalletAuthenticator;
|
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, useWalletOptions, useSmartWallets, EmbeddedWalletVersion, useTelegramLogin, useUpgradeEmbeddedWallet, useEVMTransactionSimulation, useSVMTransactionSimulation, useDeleteUserAccount, useDynamicWaas, useGetPasskeys, useDeletePasskey, useRegisterPasskey, useAuthenticatePasskeyMFA, useGetUserMfaMethods, usePromptMfaAuth, useUpgradeToDynamicWaasFlow, useGetMfaToken, useIsMfaRequiredForAction, } from './lib/utils/hooks';
|
|
126
|
+
export { useWalletItemActions, useAuthenticateConnectedUser, useSocialAccounts, useEmbeddedWallet, useEmbeddedWalletAuthenticator, usePasskeyRecovery, useEmbeddedReveal, useIsLoggedIn, useDynamicModals, useMfa, useTokenBalances, useMultichainTokenBalances, useSwitchWallet, useRpcProviders, useRefreshUser, useWalletOptions, useSmartWallets, EmbeddedWalletVersion, useTelegramLogin, useUpgradeEmbeddedWallet, useEVMTransactionSimulation, useSVMTransactionSimulation, useDeleteUserAccount, useDynamicWaas, useGetPasskeys, useDeletePasskey, useRegisterPasskey, useAuthenticatePasskeyMFA, useGetUserMfaMethods, usePromptMfaAuth, useUpgradeToDynamicWaasFlow, useGetMfaToken, useIsMfaRequiredForAction, useWalletDelegation, } 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
|
@@ -118,6 +118,7 @@ import './lib/context/CaptchaContext/CaptchaContext.js';
|
|
|
118
118
|
export { DynamicWidgetContextProvider } from './lib/widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
119
119
|
import './lib/components/IconButton/IconButton.js';
|
|
120
120
|
export { useDynamicWaas } from './lib/utils/hooks/useDynamicWaas/useDynamicWaas.js';
|
|
121
|
+
export { useWalletDelegation } from './lib/utils/hooks/useWalletDelegation/useWalletDelegation.js';
|
|
121
122
|
export { useSwitchWallet } from './lib/utils/hooks/useSwitchWallet/useSwitchWallet.js';
|
|
122
123
|
import './lib/components/MenuList/Dropdown/Dropdown.js';
|
|
123
124
|
import 'formik';
|
|
@@ -1069,9 +1069,9 @@ const translation = {
|
|
|
1069
1069
|
}
|
|
1070
1070
|
*/
|
|
1071
1071
|
dyn_settings: {
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1072
|
+
account_permissions_section: {
|
|
1073
|
+
title: 'Account Permissions',
|
|
1074
|
+
delegated_wallets_button: 'Delegated Wallets',
|
|
1075
1075
|
},
|
|
1076
1076
|
global_connectivity_section: {
|
|
1077
1077
|
title: 'Global Connectivity',
|
|
@@ -1240,6 +1240,18 @@ const translation = {
|
|
|
1240
1240
|
},
|
|
1241
1241
|
},
|
|
1242
1242
|
},
|
|
1243
|
+
/**
|
|
1244
|
+
* @description copy keys for wallets delegated view
|
|
1245
|
+
* @default
|
|
1246
|
+
* {
|
|
1247
|
+
* title: 'Wallets Delegated',
|
|
1248
|
+
* subtitle: 'Delegated wallets allow you to interact with your wallet on other platforms.',
|
|
1249
|
+
* },
|
|
1250
|
+
*/
|
|
1251
|
+
wallets_delegated: {
|
|
1252
|
+
title: 'Wallets Delegated',
|
|
1253
|
+
subtitle: 'Delegated wallets allow you to interact with your wallet on other platforms.',
|
|
1254
|
+
},
|
|
1243
1255
|
/**
|
|
1244
1256
|
* @description copy keys for totp mfa management view
|
|
1245
1257
|
* @default
|
|
@@ -3000,6 +3012,15 @@ const translation = {
|
|
|
3000
3012
|
permissions_granted: 'Permissions granted',
|
|
3001
3013
|
permissions_description_granted: '{{appName}} has been granted access to perform automations on your behalf. You can revoke this permission at any time.',
|
|
3002
3014
|
revoke_note: 'You can always revoke these permissions in your wallet settings.',
|
|
3015
|
+
wallets_selected: 'wallets selected',
|
|
3016
|
+
edit_selections: 'Edit Selections',
|
|
3017
|
+
save_selections: 'Save Selections',
|
|
3018
|
+
edit_wallets_title: 'Edit Wallets',
|
|
3019
|
+
my_wallet: 'My Wallet',
|
|
3020
|
+
all_wallets: 'All Wallets',
|
|
3021
|
+
agreement_text: 'I understand, and agree to accept this permission request',
|
|
3022
|
+
selected_wallets: 'Selected Wallets',
|
|
3023
|
+
edit_wallets_to_delegate: 'Edit Wallets to Delegate',
|
|
3003
3024
|
something_went_wrong: 'Something went wrong',
|
|
3004
3025
|
delegation_timeout_message: 'The delegation request timed out or was rejected. Please try approving again or come back in another time.',
|
|
3005
3026
|
try_again_button: 'Try again',
|
|
@@ -1063,9 +1063,9 @@ export declare const translation: {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
*/
|
|
1065
1065
|
dyn_settings: {
|
|
1066
|
-
|
|
1067
|
-
button: string;
|
|
1066
|
+
account_permissions_section: {
|
|
1068
1067
|
title: string;
|
|
1068
|
+
delegated_wallets_button: string;
|
|
1069
1069
|
};
|
|
1070
1070
|
global_connectivity_section: {
|
|
1071
1071
|
title: string;
|
|
@@ -1236,6 +1236,18 @@ export declare const translation: {
|
|
|
1236
1236
|
};
|
|
1237
1237
|
};
|
|
1238
1238
|
};
|
|
1239
|
+
/**
|
|
1240
|
+
* @description copy keys for wallets delegated view
|
|
1241
|
+
* @default
|
|
1242
|
+
* {
|
|
1243
|
+
* title: 'Wallets Delegated',
|
|
1244
|
+
* subtitle: 'Delegated wallets allow you to interact with your wallet on other platforms.',
|
|
1245
|
+
* },
|
|
1246
|
+
*/
|
|
1247
|
+
wallets_delegated: {
|
|
1248
|
+
title: string;
|
|
1249
|
+
subtitle: string;
|
|
1250
|
+
};
|
|
1239
1251
|
/**
|
|
1240
1252
|
* @description copy keys for totp mfa management view
|
|
1241
1253
|
* @default
|
|
@@ -2996,6 +3008,15 @@ export declare const translation: {
|
|
|
2996
3008
|
permissions_granted: string;
|
|
2997
3009
|
permissions_description_granted: string;
|
|
2998
3010
|
revoke_note: string;
|
|
3011
|
+
wallets_selected: string;
|
|
3012
|
+
edit_selections: string;
|
|
3013
|
+
save_selections: string;
|
|
3014
|
+
edit_wallets_title: string;
|
|
3015
|
+
my_wallet: string;
|
|
3016
|
+
all_wallets: string;
|
|
3017
|
+
agreement_text: string;
|
|
3018
|
+
selected_wallets: string;
|
|
3019
|
+
edit_wallets_to_delegate: string;
|
|
2999
3020
|
something_went_wrong: string;
|
|
3000
3021
|
delegation_timeout_message: string;
|
|
3001
3022
|
try_again_button: string;
|
|
@@ -1065,9 +1065,9 @@ const translation = {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
*/
|
|
1067
1067
|
dyn_settings: {
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1068
|
+
account_permissions_section: {
|
|
1069
|
+
title: 'Account Permissions',
|
|
1070
|
+
delegated_wallets_button: 'Delegated Wallets',
|
|
1071
1071
|
},
|
|
1072
1072
|
global_connectivity_section: {
|
|
1073
1073
|
title: 'Global Connectivity',
|
|
@@ -1236,6 +1236,18 @@ const translation = {
|
|
|
1236
1236
|
},
|
|
1237
1237
|
},
|
|
1238
1238
|
},
|
|
1239
|
+
/**
|
|
1240
|
+
* @description copy keys for wallets delegated view
|
|
1241
|
+
* @default
|
|
1242
|
+
* {
|
|
1243
|
+
* title: 'Wallets Delegated',
|
|
1244
|
+
* subtitle: 'Delegated wallets allow you to interact with your wallet on other platforms.',
|
|
1245
|
+
* },
|
|
1246
|
+
*/
|
|
1247
|
+
wallets_delegated: {
|
|
1248
|
+
title: 'Wallets Delegated',
|
|
1249
|
+
subtitle: 'Delegated wallets allow you to interact with your wallet on other platforms.',
|
|
1250
|
+
},
|
|
1239
1251
|
/**
|
|
1240
1252
|
* @description copy keys for totp mfa management view
|
|
1241
1253
|
* @default
|
|
@@ -2996,6 +3008,15 @@ const translation = {
|
|
|
2996
3008
|
permissions_granted: 'Permissions granted',
|
|
2997
3009
|
permissions_description_granted: '{{appName}} has been granted access to perform automations on your behalf. You can revoke this permission at any time.',
|
|
2998
3010
|
revoke_note: 'You can always revoke these permissions in your wallet settings.',
|
|
3011
|
+
wallets_selected: 'wallets selected',
|
|
3012
|
+
edit_selections: 'Edit Selections',
|
|
3013
|
+
save_selections: 'Save Selections',
|
|
3014
|
+
edit_wallets_title: 'Edit Wallets',
|
|
3015
|
+
my_wallet: 'My Wallet',
|
|
3016
|
+
all_wallets: 'All Wallets',
|
|
3017
|
+
agreement_text: 'I understand, and agree to accept this permission request',
|
|
3018
|
+
selected_wallets: 'Selected Wallets',
|
|
3019
|
+
edit_wallets_to_delegate: 'Edit Wallets to Delegate',
|
|
2999
3020
|
something_went_wrong: 'Something went wrong',
|
|
3000
3021
|
delegation_timeout_message: 'The delegation request timed out or was rejected. Please try approving again or come back in another time.',
|
|
3001
3022
|
try_again_button: 'Try again',
|
|
@@ -0,0 +1,57 @@
|
|
|
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 _rect, _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 SvgConnect = function SvgConnect(_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: 28,
|
|
39
|
+
height: 28,
|
|
40
|
+
viewBox: "0 0 28 28",
|
|
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, _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
47
|
+
width: 28,
|
|
48
|
+
height: 28,
|
|
49
|
+
rx: 14,
|
|
50
|
+
fill: "#4779FF"
|
|
51
|
+
})), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
52
|
+
d: "M18.667 5.667a2 2 0 0 1 2 2v12.666a2 2 0 0 1-2 2H9.333a2 2 0 0 1-2-2V7.667a2 2 0 0 1 2-2h9.334Z",
|
|
53
|
+
fill: "#fff"
|
|
54
|
+
})));
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
exports.ReactComponent = SvgConnect;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
var _rect, _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 SvgConnect = function SvgConnect(_ref) {
|
|
10
|
+
var title = _ref.title,
|
|
11
|
+
titleId = _ref.titleId,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
+
width: 28,
|
|
15
|
+
height: 28,
|
|
16
|
+
viewBox: "0 0 28 28",
|
|
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, _rect || (_rect = /*#__PURE__*/React.createElement("rect", {
|
|
23
|
+
width: 28,
|
|
24
|
+
height: 28,
|
|
25
|
+
rx: 14,
|
|
26
|
+
fill: "#4779FF"
|
|
27
|
+
})), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
28
|
+
d: "M18.667 5.667a2 2 0 0 1 2 2v12.666a2 2 0 0 1-2 2H9.333a2 2 0 0 1-2-2V7.667a2 2 0 0 1 2-2h9.334Z",
|
|
29
|
+
fill: "#fff"
|
|
30
|
+
})));
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export { SvgConnect as ReactComponent };
|
|
@@ -125,3 +125,4 @@ export { ReactComponent as WorkSuitcaseIcon } from './work-suitcase.svg';
|
|
|
125
125
|
export { ReactComponent as BackupIcon } from './backup.svg';
|
|
126
126
|
export { ReactComponent as UpgradeIcon } from './upgrade.svg';
|
|
127
127
|
export { ReactComponent as WhiteCheck } from './white-check-black-circle.svg';
|
|
128
|
+
export { ReactComponent as ConnectIcon } from './connect.svg';
|