@dynamic-labs/sdk-react-core 3.1.4 → 3.3.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 +25 -1
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.cjs +15 -8
- package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.js +15 -8
- package/src/lib/locale/en/translation.cjs +43 -24
- package/src/lib/locale/en/translation.d.ts +43 -24
- package/src/lib/locale/en/translation.js +43 -24
- package/src/lib/shared/assets/connected-apps.cjs +64 -0
- package/src/lib/shared/assets/connected-apps.js +40 -0
- package/src/lib/shared/assets/embedded-wallet-icon.cjs +11 -10
- package/src/lib/shared/assets/embedded-wallet-icon.js +11 -10
- 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/functions/socialStorage/socialStorage.d.ts +3 -0
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +1 -0
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.cjs +4 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.js +4 -2
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +8 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +9 -2
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.cjs +4 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.d.ts +19 -14
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.js +4 -1
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/ConnectedAppsView.cjs +180 -0
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/ConnectedAppsView.d.ts +12 -0
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/ConnectedAppsView.js +175 -0
- package/src/lib/widgets/DynamicWidget/views/GlobalWalletView/GlobalWalletView.cjs +7 -9
- package/src/lib/widgets/DynamicWidget/views/GlobalWalletView/GlobalWalletView.js +7 -9
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.cjs +17 -8
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.js +17 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _path;
|
|
5
5
|
var _excluded = ["title", "titleId"];
|
|
6
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
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; }
|
|
@@ -11,20 +11,21 @@ var SvgEmbeddedWalletIcon = function SvgEmbeddedWalletIcon(_ref) {
|
|
|
11
11
|
titleId = _ref.titleId,
|
|
12
12
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
13
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
-
width:
|
|
15
|
-
height:
|
|
16
|
-
viewBox: "0 0
|
|
14
|
+
width: 64,
|
|
15
|
+
height: 64,
|
|
16
|
+
viewBox: "0 0 64 64",
|
|
17
17
|
fill: "none",
|
|
18
18
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19
19
|
"aria-labelledby": titleId
|
|
20
20
|
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
21
21
|
id: titleId
|
|
22
|
-
}, title) : null,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
clipRule: "evenodd",
|
|
25
|
+
d: "M32 64c17.673 0 32-14.327 32-32C64 14.327 49.673 0 32 0 14.327 0 0 14.327 0 32c0 17.673 14.327 32 32 32Zm8.334-45.333a3.333 3.333 0 0 0-3.333-3.334h-15a6.669 6.669 0 0 0-6.56 5.473 6.649 6.649 0 0 1 4.893-2.14h20ZM42 22a6.667 6.667 0 0 1 6.667 6.667V42A6.667 6.667 0 0 1 42 48.667H22A6.667 6.667 0 0 1 15.334 42V28.667A6.667 6.667 0 0 1 22 22h20Z",
|
|
26
|
+
fill: "#4779FF",
|
|
27
|
+
"data-testid": "wallet-icon-embedded"
|
|
28
|
+
})));
|
|
28
29
|
};
|
|
29
30
|
|
|
30
31
|
export { SvgEmbeddedWalletIcon as ReactComponent };
|
|
@@ -5,6 +5,7 @@ export { ReactComponent as AltEmbeddedWalletIcon } from './alt-embedded-wallet.s
|
|
|
5
5
|
export { ReactComponent as AltKeyIcon } from './alt-key.svg';
|
|
6
6
|
export { ReactComponent as AndroidFaceId } from './android-face-id.svg';
|
|
7
7
|
export { ReactComponent as AndroidTouchId } from './android-touch-id.svg';
|
|
8
|
+
export { ReactComponent as ConnectedAppsIcon } from './connected-apps.svg';
|
|
8
9
|
export { ReactComponent as ArrowDownIcon } from './arrow-down.svg';
|
|
9
10
|
export { ReactComponent as ArrowLeftIcon } from './arrow-left.svg';
|
|
10
11
|
export { ReactComponent as ArrowRightBackgroundIcon } from './arrow-right-background.svg';
|