@dynamic-labs/sdk-react-core 4.46.3 → 4.47.1

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 (64) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.cjs +1 -1
  3. package/package.js +1 -1
  4. package/package.json +12 -12
  5. package/src/index.cjs +2 -2
  6. package/src/index.js +1 -1
  7. package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.cjs +2 -0
  8. package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.js +2 -0
  9. package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.cjs +2 -0
  10. package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.js +2 -0
  11. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +2 -0
  12. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +2 -0
  13. package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +2 -0
  14. package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +2 -0
  15. package/src/lib/shared/assets/backup-waas.cjs +52 -0
  16. package/src/lib/shared/assets/backup-waas.js +28 -0
  17. package/src/lib/shared/assets/backupArrow.cjs +54 -0
  18. package/src/lib/shared/assets/backupArrow.js +30 -0
  19. package/src/lib/shared/assets/filled-question-mark.cjs +52 -0
  20. package/src/lib/shared/assets/filled-question-mark.js +28 -0
  21. package/src/lib/shared/assets/google-drive.cjs +75 -0
  22. package/src/lib/shared/assets/google-drive.js +51 -0
  23. package/src/lib/shared/assets/index.d.ts +4 -0
  24. package/src/lib/styles/index.shadow.cjs +1 -1
  25. package/src/lib/styles/index.shadow.js +1 -1
  26. package/src/lib/utils/functions/clientSessionKeys/getClientSessionKeys.js +1 -1
  27. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +2 -0
  28. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +2 -0
  29. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +2 -0
  30. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +2 -0
  31. package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +2 -0
  32. package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +2 -0
  33. package/src/lib/utils/hooks/useClientSessionKeys/useClientSessionKeys.cjs +0 -6
  34. package/src/lib/utils/hooks/useClientSessionKeys/useClientSessionKeys.js +1 -7
  35. package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.cjs +2 -0
  36. package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.js +2 -0
  37. package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +3 -1
  38. package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.d.ts +5 -1
  39. package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +3 -1
  40. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +6 -2
  41. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.d.ts +1 -0
  42. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +6 -2
  43. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +2 -0
  44. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +2 -0
  45. package/src/lib/views/EmailVerification/EmailVerification.cjs +2 -0
  46. package/src/lib/views/EmailVerification/EmailVerification.js +2 -0
  47. package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -0
  48. package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -0
  49. package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.cjs +2 -0
  50. package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.js +2 -0
  51. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.cjs +4 -0
  52. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.d.ts +2 -0
  53. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.js +4 -0
  54. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.d.ts +1 -1
  55. package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/EmbeddedWalletExportSection/EmbeddedWalletExportSection.cjs +15 -5
  56. package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/EmbeddedWalletExportSection/EmbeddedWalletExportSection.js +15 -5
  57. package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupInfoView.cjs +36 -0
  58. package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupInfoView.d.ts +2 -0
  59. package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupInfoView.js +32 -0
  60. package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupView.cjs +191 -0
  61. package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupView.d.ts +2 -0
  62. package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupView.js +187 -0
  63. package/src/lib/widgets/DynamicWidget/views/WaasBackupView/index.d.ts +2 -0
  64. package/src/lib/widgets/DynamicWidget/views/index.d.ts +2 -0
@@ -0,0 +1,51 @@
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 SvgGoogleDrive = function SvgGoogleDrive(_ref) {
10
+ var title = _ref.title,
11
+ titleId = _ref.titleId,
12
+ props = _objectWithoutProperties(_ref, _excluded);
13
+ return /*#__PURE__*/React.createElement("svg", _extends({
14
+ width: 20,
15
+ height: 24,
16
+ viewBox: "0 0 20 24",
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(#google-drive_svg__a)"
24
+ }, /*#__PURE__*/React.createElement("path", {
25
+ d: "m1.512 21.141.882 1.705c.183.36.447.641.756.846L6.3 17.59H0c0 .397.092.795.275 1.154l1.237 2.397Z",
26
+ fill: "#0066DA"
27
+ }), /*#__PURE__*/React.createElement("path", {
28
+ d: "M10 10.41 6.85 4.308a2.22 2.22 0 0 0-.756.846L.274 16.436A2.54 2.54 0 0 0 0 17.59h6.3l3.7-7.18Z",
29
+ fill: "#00AC47"
30
+ }), /*#__PURE__*/React.createElement("path", {
31
+ d: "M16.85 23.692a2.22 2.22 0 0 0 .756-.846l.366-.705 1.753-3.397A2.54 2.54 0 0 0 20 17.59h-6.3l1.34 2.948 1.81 3.154Z",
32
+ fill: "#EA4335"
33
+ }), /*#__PURE__*/React.createElement("path", {
34
+ d: "m10 10.41 3.15-6.102A1.852 1.852 0 0 0 12.119 4H7.88a1.96 1.96 0 0 0-1.031.308L10 10.41Z",
35
+ fill: "#00832D"
36
+ }), /*#__PURE__*/React.createElement("path", {
37
+ d: "M13.7 17.59H6.3l-3.15 6.102c.31.205.665.308 1.031.308H15.82a1.96 1.96 0 0 0 1.031-.308L13.7 17.59Z",
38
+ fill: "#2684FC"
39
+ }), /*#__PURE__*/React.createElement("path", {
40
+ d: "m16.816 10.795-2.91-5.641a2.221 2.221 0 0 0-.756-.846L10 10.41l3.7 7.18h6.288a2.54 2.54 0 0 0-.274-1.154l-2.898-5.641Z",
41
+ fill: "#FFBA00"
42
+ }))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
43
+ id: "google-drive_svg__a"
44
+ }, /*#__PURE__*/React.createElement("path", {
45
+ fill: "#fff",
46
+ transform: "translate(0 4)",
47
+ d: "M0 0h20v20H0z"
48
+ })))));
49
+ };
50
+
51
+ export { SvgGoogleDrive as ReactComponent };
@@ -124,6 +124,10 @@ export { ReactComponent as WarningOrangeIcon } from './warning-orange.svg';
124
124
  export { ReactComponent as WarningRedIcon } from './warning-red.svg';
125
125
  export { ReactComponent as WorkSuitcaseIcon } from './work-suitcase.svg';
126
126
  export { ReactComponent as BackupIcon } from './backup.svg';
127
+ export { ReactComponent as BackupArrowIcon } from './backupArrow.svg';
128
+ export { ReactComponent as BackupWaaSIcon } from './backup-waas.svg';
129
+ export { ReactComponent as FilledQuestionMarkIcon } from './filled-question-mark.svg';
130
+ export { ReactComponent as GoogleDriveIcon } from './google-drive.svg';
127
131
  export { ReactComponent as UpgradeIcon } from './upgrade.svg';
128
132
  export { ReactComponent as WhiteCheck } from './white-check-black-circle.svg';
129
133
  export { ReactComponent as ConnectIcon } from './connect.svg';