signer-test-sdk-react 0.0.22 → 0.0.23

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 (93) hide show
  1. package/dist/src/AbstraxnProvider.d.ts +5 -13
  2. package/dist/src/AbstraxnProvider.js +14 -3126
  3. package/dist/src/AbstraxnProvider.js.map +1 -1
  4. package/dist/src/ConnectButton.css +1 -1
  5. package/dist/src/ExternalWalletButtons.css +1 -1
  6. package/dist/src/ExternalWalletButtons.js +2 -2
  7. package/dist/src/ExternalWalletButtons.js.map +1 -1
  8. package/dist/src/WalletModal.css +193 -373
  9. package/dist/src/WalletModal.d.ts +1 -1
  10. package/dist/src/WalletModal.js +108 -45
  11. package/dist/src/WalletModal.js.map +1 -1
  12. package/dist/src/chains.d.ts +4 -3
  13. package/dist/src/chains.js +154 -84
  14. package/dist/src/chains.js.map +1 -1
  15. package/dist/src/components/AbstraxnProvider/AbstraxnProvider.d.ts +12 -0
  16. package/dist/src/components/AbstraxnProvider/AbstraxnProvider.js +146 -0
  17. package/dist/src/components/AbstraxnProvider/AbstraxnProvider.js.map +1 -0
  18. package/dist/src/components/AbstraxnProvider/AbstraxnProviderInner.d.ts +25 -0
  19. package/dist/src/components/AbstraxnProvider/AbstraxnProviderInner.js +3086 -0
  20. package/dist/src/components/AbstraxnProvider/AbstraxnProviderInner.js.map +1 -0
  21. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithWagmi.d.ts +8 -0
  22. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithWagmi.js +46 -0
  23. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithWagmi.js.map +1 -0
  24. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithoutWagmi.d.ts +8 -0
  25. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithoutWagmi.js +12 -0
  26. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithoutWagmi.js.map +1 -0
  27. package/dist/src/components/AbstraxnProvider/context.d.ts +2 -0
  28. package/dist/src/components/AbstraxnProvider/context.js +6 -0
  29. package/dist/src/components/AbstraxnProvider/context.js.map +1 -0
  30. package/dist/src/components/AbstraxnProvider/index.d.ts +6 -0
  31. package/dist/src/components/AbstraxnProvider/index.js +7 -0
  32. package/dist/src/components/AbstraxnProvider/index.js.map +1 -0
  33. package/dist/src/components/AbstraxnProvider/useAbstraxnProviderBase.d.ts +30 -0
  34. package/dist/src/components/AbstraxnProvider/useAbstraxnProviderBase.js +49 -0
  35. package/dist/src/components/AbstraxnProvider/useAbstraxnProviderBase.js.map +1 -0
  36. package/dist/src/components/AbstraxnProvider/useAbstraxnWallet.d.ts +2 -0
  37. package/dist/src/components/AbstraxnProvider/useAbstraxnWallet.js +13 -0
  38. package/dist/src/components/AbstraxnProvider/useAbstraxnWallet.js.map +1 -0
  39. package/dist/src/components/AbstraxnProvider/useOAuthCallbacks.d.ts +22 -0
  40. package/dist/src/components/AbstraxnProvider/useOAuthCallbacks.js +242 -0
  41. package/dist/src/components/AbstraxnProvider/useOAuthCallbacks.js.map +1 -0
  42. package/dist/src/components/AbstraxnProvider/useWalletInitialization.d.ts +25 -0
  43. package/dist/src/components/AbstraxnProvider/useWalletInitialization.js +539 -0
  44. package/dist/src/components/AbstraxnProvider/useWalletInitialization.js.map +1 -0
  45. package/dist/src/components/AbstraxnProvider/utils.d.ts +41 -0
  46. package/dist/src/components/AbstraxnProvider/utils.js +139 -0
  47. package/dist/src/components/AbstraxnProvider/utils.js.map +1 -0
  48. package/dist/src/components/OnboardingUI/OnboardingUI.css +8 -5
  49. package/dist/src/components/OnboardingUI/OnboardingUIWeb.js +6 -0
  50. package/dist/src/components/OnboardingUI/OnboardingUIWeb.js.map +1 -1
  51. package/dist/src/components/WalletModal/components/ChainSelector.css +249 -102
  52. package/dist/src/components/WalletModal/components/ChainSelector.d.ts +7 -6
  53. package/dist/src/components/WalletModal/components/ChainSelector.js +68 -27
  54. package/dist/src/components/WalletModal/components/ChainSelector.js.map +1 -1
  55. package/dist/src/components/WalletModal/components/ExportKeyModal.css +89 -88
  56. package/dist/src/components/WalletModal/components/ExportKeyModal.d.ts +6 -1
  57. package/dist/src/components/WalletModal/components/ExportKeyModal.js +6 -11
  58. package/dist/src/components/WalletModal/components/ExportKeyModal.js.map +1 -1
  59. package/dist/src/components/WalletModal/components/ExportWarningModal.css +107 -2
  60. package/dist/src/components/WalletModal/components/ExportWarningModal.d.ts +7 -1
  61. package/dist/src/components/WalletModal/components/ExportWarningModal.js +5 -3
  62. package/dist/src/components/WalletModal/components/ExportWarningModal.js.map +1 -1
  63. package/dist/src/components/WalletModal/components/ManageWalletModal.css +90 -4
  64. package/dist/src/components/WalletModal/components/ManageWalletModal.d.ts +3 -3
  65. package/dist/src/components/WalletModal/components/ManageWalletModal.js +28 -13
  66. package/dist/src/components/WalletModal/components/ManageWalletModal.js.map +1 -1
  67. package/dist/src/components/WalletModal/components/PreviewTransactionModal.css +3 -4
  68. package/dist/src/components/WalletModal/components/ReceiveModal.css +93 -58
  69. package/dist/src/components/WalletModal/components/ReceiveModal.js +1 -1
  70. package/dist/src/components/WalletModal/components/ReceiveModal.js.map +1 -1
  71. package/dist/src/components/WalletModal/components/SendModal.css +170 -127
  72. package/dist/src/components/WalletModal/components/SendModal.d.ts +4 -6
  73. package/dist/src/components/WalletModal/components/SendModal.js +131 -39
  74. package/dist/src/components/WalletModal/components/SendModal.js.map +1 -1
  75. package/dist/src/components/WalletModal/components/SuccessModal.css +7 -8
  76. package/dist/src/components/WalletModal/components/TokenSelectorModal.css +240 -0
  77. package/dist/src/components/WalletModal/components/TokenSelectorModal.d.ts +21 -0
  78. package/dist/src/components/WalletModal/components/TokenSelectorModal.js +44 -0
  79. package/dist/src/components/WalletModal/components/TokenSelectorModal.js.map +1 -0
  80. package/dist/src/components/WalletModal/components/index.d.ts +2 -0
  81. package/dist/src/components/WalletModal/components/index.js +1 -0
  82. package/dist/src/components/WalletModal/components/index.js.map +1 -1
  83. package/dist/src/hooks.d.ts +301 -329
  84. package/dist/src/hooks.js +152 -123
  85. package/dist/src/hooks.js.map +1 -1
  86. package/dist/src/index.d.ts +1 -1
  87. package/dist/src/index.js +1 -1
  88. package/dist/src/index.js.map +1 -1
  89. package/dist/src/wagmiConfig.d.ts +1 -1
  90. package/dist/src/wagmiConfig.js +33 -20
  91. package/dist/src/wagmiConfig.js.map +1 -1
  92. package/dist/tsconfig.tsbuildinfo +1 -1
  93. package/package.json +1 -1
@@ -1,21 +1,36 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /**
3
3
  * Manage Wallet Modal Component
4
4
  */
5
- import { useState, useCallback } from 'react';
6
- import { formatAddress } from '../utils/formatUtils';
7
- import './ManageWalletModal.css';
8
- export function ManageWalletModal({ isOpen, onClose, displayAddress, userEmail, organizationName, isExternalWalletConnected, onExportPrivateKey, theme = 'dark', }) {
9
- const [copied, setCopied] = useState(false);
10
- const handleCopy = useCallback(() => {
11
- if (displayAddress) {
12
- navigator.clipboard.writeText(displayAddress);
13
- setCopied(true);
14
- setTimeout(() => setCopied(false), 2000);
5
+ import { useEffect, useRef, useState, useCallback } from "react";
6
+ import { IoKeyOutline } from "react-icons/io5";
7
+ import { SiWalletconnect } from "react-icons/si";
8
+ import { FiUsers } from "react-icons/fi";
9
+ import "./ManageWalletModal.css";
10
+ export function ManageWalletModal({ ...props }) {
11
+ const { isOpen, onClose, isExternalWalletConnected, onExportPrivateKey, theme = "dark", } = props;
12
+ const toastTimerRef = useRef(null);
13
+ const [toastMessage, setToastMessage] = useState(null);
14
+ const showToast = useCallback((message) => {
15
+ setToastMessage(message);
16
+ if (toastTimerRef.current) {
17
+ window.clearTimeout(toastTimerRef.current);
15
18
  }
16
- }, [displayAddress]);
19
+ toastTimerRef.current = window.setTimeout(() => {
20
+ setToastMessage(null);
21
+ toastTimerRef.current = null;
22
+ }, 1800);
23
+ }, []);
24
+ useEffect(() => {
25
+ return () => {
26
+ if (toastTimerRef.current) {
27
+ window.clearTimeout(toastTimerRef.current);
28
+ toastTimerRef.current = null;
29
+ }
30
+ };
31
+ }, []);
17
32
  if (!isOpen)
18
33
  return null;
19
- return (_jsx("div", { className: `wallet-modal-overlay wallet-modal-theme-${theme}`, onClick: onClose, children: _jsxs("div", { className: `wallet-modal-content wallet-modal-theme-${theme} wallet-modal-manage`, onClick: (e) => e.stopPropagation(), children: [_jsxs("div", { className: "wallet-modal-receive-header", children: [_jsx("button", { className: "wallet-modal-back", onClick: onClose, children: _jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: _jsx("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) }), _jsx("h2", { className: "wallet-modal-receive-title", children: "Account & Settings" }), _jsx("div", { style: { width: '40px' } })] }), _jsxs("div", { className: "wallet-modal-manage-content", children: [_jsxs("div", { className: "wallet-modal-manage-section", children: [_jsx("h3", { className: "wallet-modal-manage-section-title", children: "Wallet Information" }), _jsxs("div", { className: "wallet-modal-manage-item", children: [_jsx("span", { className: "wallet-modal-manage-label", children: "Address" }), _jsxs("div", { className: "wallet-modal-manage-value", children: [_jsx("span", { className: "wallet-modal-manage-address-text", children: formatAddress(displayAddress) }), _jsx("button", { className: `wallet-modal-manage-copy-btn ${copied ? 'copied' : ''}`, onClick: handleCopy, children: copied ? (_jsxs(_Fragment, { children: [_jsx("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", children: _jsx("path", { d: "M11.5 3.5L5.5 9.5L2.5 6.5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), _jsx("span", { children: "Copied!" })] })) : (_jsxs("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", children: [_jsx("path", { d: "M4.5 3H2.5C1.67157 3 1 3.67157 1 4.5V11C1 11.8284 1.67157 12.5 2.5 12.5H9C9.82843 12.5 10.5 11.8284 10.5 11V9", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M4.5 3C4.5 2.17157 5.17157 1.5 6 1.5H11.5C12.3284 1.5 13 2.17157 13 3V7.5C13 8.32843 12.3284 9 11.5 9H6C5.17157 9 4.5 8.32843 4.5 7.5V3Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })] })) })] })] }), userEmail && (_jsxs("div", { className: "wallet-modal-manage-item", children: [_jsx("span", { className: "wallet-modal-manage-label", children: "Email" }), _jsx("span", { className: "wallet-modal-manage-value", children: userEmail })] })), organizationName && (_jsxs("div", { className: "wallet-modal-manage-item", children: [_jsx("span", { className: "wallet-modal-manage-label", children: "Organization" }), _jsx("span", { className: "wallet-modal-manage-value", children: organizationName })] }))] }), !isExternalWalletConnected && (_jsxs("div", { className: "wallet-modal-manage-section", children: [_jsx("h3", { className: "wallet-modal-manage-section-title", children: "Export & Backup" }), _jsxs("button", { className: "wallet-modal-manage-action-item", onClick: onExportPrivateKey, children: [_jsx("div", { className: "wallet-modal-manage-action-icon", children: _jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [_jsx("path", { d: "M10 2L2 6L10 10L18 6L10 2Z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M2 14L10 18L18 14M2 10L10 14L18 10", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M10 10V18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] }) }), _jsx("span", { className: "wallet-modal-manage-action-label", children: "Export Private Key" }), _jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", className: "wallet-modal-manage-action-arrow", children: _jsx("path", { d: "M6 12L10 8L6 4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })] })] }))] })] }) }));
34
+ return (_jsx("div", { className: `wallet-modal-overlay wallet-modal-theme-${theme}`, onClick: onClose, children: _jsxs("div", { className: `wallet-modal-content wallet-modal-theme-${theme} wallet-modal-manage`, onClick: (e) => e.stopPropagation(), children: [_jsxs("div", { className: "wallet-modal-receive-header", children: [_jsx("button", { className: "wallet-modal-back", onClick: onClose, children: _jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: _jsx("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) }), _jsx("h2", { className: "wallet-modal-receive-title", children: "Manage Wallet" }), _jsx("button", { className: "wallet-modal-close", onClick: onClose, "aria-label": "Close", children: _jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: _jsx("path", { d: "M18 6L6 18M6 6L18 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) })] }), _jsx("div", { className: "wallet-modal-manage-content", children: _jsxs("div", { className: "wallet-modal-manage-list", children: [_jsxs("button", { className: "wallet-modal-manage-list-item", onClick: () => showToast("Coming soon"), type: "button", children: [_jsx("div", { className: "wallet-modal-manage-list-icon", "aria-hidden": "true", children: _jsx(FiUsers, { size: 20 }) }), _jsx("span", { className: "wallet-modal-manage-list-label", children: "Linked Profiles" }), _jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", className: "wallet-modal-manage-list-arrow", "aria-hidden": "true", children: _jsx("path", { d: "M6 12L10 8L6 4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })] }), _jsxs("button", { className: "wallet-modal-manage-list-item", onClick: () => showToast("Coming soon"), type: "button", children: [_jsx("div", { className: "wallet-modal-manage-list-icon", "aria-hidden": "true", children: _jsx(SiWalletconnect, { size: 20 }) }), _jsx("span", { className: "wallet-modal-manage-list-label", children: "Connect an App" }), _jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", className: "wallet-modal-manage-list-arrow", "aria-hidden": "true", children: _jsx("path", { d: "M6 12L10 8L6 4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })] }), !isExternalWalletConnected && (_jsxs("button", { className: "wallet-modal-manage-list-item", onClick: onExportPrivateKey, type: "button", children: [_jsx("div", { className: "wallet-modal-manage-list-icon", "aria-hidden": "true", children: _jsx(IoKeyOutline, { size: 20 }) }), _jsx("span", { className: "wallet-modal-manage-list-label", children: "Export Private Key" }), _jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", className: "wallet-modal-manage-list-arrow", "aria-hidden": "true", children: _jsx("path", { d: "M6 12L10 8L6 4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })] }))] }) }), toastMessage && (_jsx("div", { className: "wallet-modal-manage-toast", role: "status", children: toastMessage }))] }) }));
20
35
  }
21
36
  //# sourceMappingURL=ManageWalletModal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ManageWalletModal.js","sourceRoot":"","sources":["../../../../../src/components/WalletModal/components/ManageWalletModal.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,yBAAyB,CAAC;AAajC,MAAM,UAAU,iBAAiB,CAAC,EAChC,MAAM,EACN,OAAO,EACP,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,yBAAyB,EACzB,kBAAkB,EAClB,KAAK,GAAG,MAAM,GACS;IACvB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE5C,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,EAAE;QAClC,IAAI,cAAc,EAAE,CAAC;YACnB,SAAS,CAAC,S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,EAAC,iCAAiC,EAC3C,OAAO,EAAE,kBAAkB,aAE3B,cAAK,SAAS,EAAC,iCAAiC,YAC9C,eAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,aACzD,eACE,CAAC,EAAC,4BAA4B,EAC9B,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,EACF,eACE,CAAC,EAAC,oCAAoC,EACtC,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,EACF,eACE,CAAC,EAAC,WAAW,EACb,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,IACE,GACF,EACN,eAAM,SAAS,EAAC,kCAAkC,mCAA0B,EAC5E,cACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,SAAS,EAAC,kCAAkC,YAE5C,eACE,CAAC,EAAC,gBAAgB,EAClB,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,GACE,IACC,IACL,CACP,IAEG,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"ManageWalletModal.js","sourceRoot":"","sources":["../../../../../src/components/WalletModal/components/ManageWalletModal.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,C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IACC,CACV,IACG,GACF,EAEL,YAAY,IAAI,CACf,cAAK,SAAS,EAAC,2BAA2B,EAAC,IAAI,EAAC,QAAQ,YACrD,YAAY,GACT,CACP,IACG,GACF,CACP,CAAC;AACJ,CAAC"}
@@ -81,14 +81,13 @@
81
81
  }
82
82
 
83
83
  .wallet-modal-preview-btn-primary {
84
- background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
85
- color: #ffffff;
84
+ background: var(--abstraxn-primary);
85
+ color: var(--abstraxn-primary-text);
86
86
  }
87
87
 
88
88
  .wallet-modal-preview-btn-primary:hover:not(:disabled) {
89
- background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
89
+ background: var(--abstraxn-primary-hover);
90
90
  transform: translateY(-1px);
91
- box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
92
91
  }
93
92
 
94
93
  .wallet-modal-preview-btn-secondary {
@@ -1,101 +1,136 @@
1
- /* Receive Modal Styles - extracted from WalletModal.css */
1
+ /* Receive Funds modal - styled to match the provided design screenshot */
2
+
3
+ /* Modal padding */
4
+ .wallet-modal-content.wallet-modal-receive {
5
+ padding: 20px;
6
+ gap: 0;
7
+ }
8
+
9
+ /* Header */
10
+ .wallet-modal-content.wallet-modal-receive .wallet-modal-receive-header {
11
+ margin-bottom: 16px;
12
+ }
13
+
14
+ .wallet-modal-content.wallet-modal-receive .wallet-modal-receive-title {
15
+ font-size: 18px;
16
+ font-weight: 600;
17
+ margin: 0;
18
+ flex: 1;
19
+ text-align: center;
20
+ }
21
+
22
+ /* Content */
2
23
  .wallet-modal-receive-content {
3
24
  display: flex;
4
25
  flex-direction: column;
5
26
  align-items: center;
6
- gap: 24px;
7
- padding: 20px 0;
27
+ gap: 18px;
28
+ padding: 0;
29
+ margin-top: 12px;
8
30
  }
9
31
 
10
- .wallet-modal-receive-qr {
11
- padding: 20px;
12
- background: #ffffff;
13
- border-radius: 12px;
14
- display: flex;
15
- align-items: center;
16
- justify-content: center;
32
+ /* QR */
33
+ .wallet-modal-receive-qr-card {
34
+ position: relative;
17
35
  }
18
36
 
19
- .wallet-modal-receive-address-section {
37
+ .wallet-modal-receive-qr {
20
38
  width: 100%;
39
+ padding: 18px;
40
+ background: #ffffff;
41
+ border-radius: 18px;
42
+ border: 1px solid #e5e7eb;
21
43
  display: flex;
22
- flex-direction: column;
23
44
  align-items: center;
24
- gap: 12px;
45
+ justify-content: center;
46
+ box-shadow: 0 10px 25px -15px rgba(0, 0, 0, 0.25);
25
47
  }
26
48
 
27
- .wallet-modal-receive-address-label {
28
- font-size: 14px;
29
- font-weight: 500;
30
- opacity: 0.7;
49
+ .wallet-modal-receive-qr-badge {
50
+ position: absolute;
51
+ left: 50%;
52
+ top: 50%;
53
+ transform: translate(-50%, -50%);
54
+ pointer-events: none;
31
55
  }
32
56
 
33
- .wallet-modal-theme-dark .wallet-modal-receive-address-label {
34
- color: #9ca3af;
57
+ .wallet-modal-receive-qr-badge-inner {
58
+ width: 56px;
59
+ height: 56px;
60
+ border-radius: 16px;
61
+ background: #ffffff;
62
+ border: 1px solid #e5e7eb;
63
+ display: flex;
64
+ align-items: center;
65
+ justify-content: center;
66
+ color: #2563eb;
35
67
  }
36
68
 
37
- .wallet-modal-theme-light .wallet-modal-receive-address-label {
38
- color: #6b7280;
69
+ /* Address "input" row */
70
+ .wallet-modal-receive-address-row {
71
+ width: 100%;
72
+ display: flex;
73
+ align-items: center;
74
+ justify-content: space-between;
75
+ gap: 12px;
76
+ padding: 14px 16px;
77
+ border-radius: 12px;
78
+ border: 1px solid;
79
+ cursor: pointer;
80
+ transition: all 0.2s ease;
39
81
  }
40
82
 
41
- .wallet-modal-receive-address-value {
42
- font-size: 16px;
83
+ .wallet-modal-receive-address-text {
84
+ flex: 1;
85
+ text-align: left;
86
+ font-size: 15px;
43
87
  font-weight: 600;
44
- font-family: monospace;
45
- padding: 12px 20px;
46
- border-radius: 8px;
47
- word-break: break-all;
48
- text-align: center;
88
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
49
89
  }
50
90
 
51
- .wallet-modal-theme-dark .wallet-modal-receive-address-value {
52
- background: #2a2a2a;
53
- color: #ffffff;
91
+ .wallet-modal-receive-copy-icon {
92
+ display: flex;
93
+ align-items: center;
94
+ justify-content: center;
95
+ flex-shrink: 0;
54
96
  }
55
97
 
56
- .wallet-modal-theme-light .wallet-modal-receive-address-value {
57
- background: #f3f4f6;
98
+ .wallet-modal-theme-light .wallet-modal-receive-address-row {
99
+ background: #ffffff;
100
+ border-color: #e5e7eb;
58
101
  color: #111827;
59
102
  }
60
103
 
61
- .wallet-modal-receive-copy-btn {
62
- padding: 10px 20px;
63
- border-radius: 8px;
64
- border: none;
65
- font-size: 14px;
66
- font-weight: 500;
67
- cursor: pointer;
68
- transition: all 0.2s;
69
- display: flex;
70
- align-items: center;
71
- gap: 8px;
104
+ .wallet-modal-theme-light .wallet-modal-receive-address-row:hover {
105
+ background: #f9fafb;
72
106
  }
73
107
 
74
- .wallet-modal-theme-dark .wallet-modal-receive-copy-btn {
75
- background: rgba(147, 51, 234, 0.1);
76
- color: #a855f7;
108
+ .wallet-modal-theme-dark .wallet-modal-receive-address-row {
109
+ background: #1a1a1a;
110
+ border-color: #3a3a3a;
111
+ color: #ffffff;
77
112
  }
78
113
 
79
- .wallet-modal-theme-light .wallet-modal-receive-copy-btn {
80
- background: rgba(147, 51, 234, 0.1);
81
- color: #9333ea;
114
+ .wallet-modal-theme-dark .wallet-modal-receive-address-row:hover {
115
+ background: #202020;
82
116
  }
83
117
 
84
- .wallet-modal-receive-copy-btn:hover {
85
- background: rgba(147, 51, 234, 0.2);
118
+ .wallet-modal-receive-address-row.copied {
119
+ border-color: rgba(16, 185, 129, 0.55);
120
+ box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
86
121
  }
87
122
 
88
- .wallet-modal-receive-note {
123
+ /* Helper text */
124
+ .wallet-modal-receive-helper {
89
125
  font-size: 12px;
90
126
  text-align: center;
91
- opacity: 0.7;
92
127
  margin: 0;
93
128
  }
94
129
 
95
- .wallet-modal-theme-dark .wallet-modal-receive-note {
96
- color: #9ca3af;
130
+ .wallet-modal-theme-light .wallet-modal-receive-helper {
131
+ color: #6b7280;
97
132
  }
98
133
 
99
- .wallet-modal-theme-light .wallet-modal-receive-note {
100
- color: #6b7280;
134
+ .wallet-modal-theme-dark .wallet-modal-receive-helper {
135
+ color: #9ca3af;
101
136
  }
@@ -17,6 +17,6 @@ export function ReceiveModal({ isOpen, onClose, address, theme = 'dark', }) {
17
17
  }, [address]);
18
18
  if (!isOpen)
19
19
  return null;
20
- return (_jsx("div", { className: `wallet-modal-overlay wallet-modal-theme-${theme}`, onClick: onClose, children: _jsxs("div", { className: `wallet-modal-content wallet-modal-theme-${theme} wallet-modal-receive`, onClick: (e) => e.stopPropagation(), children: [_jsxs("div", { className: "wallet-modal-receive-header", children: [_jsx("button", { className: "wallet-modal-back", onClick: onClose, children: _jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: _jsx("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) }), _jsx("h2", { className: "wallet-modal-receive-title", children: "Receive" }), _jsx("div", { style: { width: '40px' } })] }), _jsx("div", { className: "wallet-modal-receive-content", children: address && (_jsxs(_Fragment, { children: [_jsx("div", { className: "wallet-modal-receive-qr", children: _jsx(QRCode, { value: address, size: 200 }) }), _jsxs("div", { className: "wallet-modal-receive-address-section", children: [_jsx("div", { className: "wallet-modal-receive-address-label", children: "Your Address" }), _jsx("div", { className: "wallet-modal-receive-address-value", children: formatAddress(address) }), _jsx("button", { className: `wallet-modal-receive-copy-btn wallet-modal-theme-${theme}`, onClick: handleCopy, children: copied ? (_jsxs(_Fragment, { children: [_jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: _jsx("path", { d: "M13.5 4L6 11.5L2.5 8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), _jsx("span", { children: "Copied!" })] })) : (_jsxs(_Fragment, { children: [_jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: _jsx("path", { d: "M5.5 4.5H3.5C2.67157 4.5 2 5.17157 2 6V12.5C2 13.3284 2.67157 14 3.5 14H10C10.8284 14 11.5 13.3284 11.5 12.5V10.5M5.5 4.5C5.5 3.67157 6.17157 3 7 3H10.5C11.3284 3 12 3.67157 12 4.5V8M5.5 4.5C5.5 5.32843 6.17157 6 7 6H10.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), _jsx("span", { children: "Copy Address" })] })) })] }), _jsx("p", { className: "wallet-modal-receive-note", children: "Scan this QR code or copy the address to receive funds" })] })) })] }) }));
20
+ return (_jsx("div", { className: `wallet-modal-overlay wallet-modal-theme-${theme}`, onClick: onClose, children: _jsxs("div", { className: `wallet-modal-content wallet-modal-theme-${theme} wallet-modal-receive`, onClick: (e) => e.stopPropagation(), children: [_jsxs("div", { className: "wallet-modal-receive-header", children: [_jsx("button", { className: "wallet-modal-back", onClick: onClose, children: _jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: _jsx("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) }), _jsx("h2", { className: "wallet-modal-receive-title", children: "Receive Funds" }), _jsx("button", { className: "wallet-modal-close", onClick: onClose, "aria-label": "Close", children: _jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: _jsx("path", { d: "M15 5L5 15M5 5L15 15", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) })] }), _jsx("div", { className: "wallet-modal-receive-content", children: address && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "wallet-modal-receive-qr-card", children: [_jsx("div", { className: "wallet-modal-receive-qr", children: _jsx(QRCode, { value: address, size: 260 }) }), _jsx("div", { className: "wallet-modal-receive-qr-badge", "aria-hidden": "true", children: _jsx("div", { className: "wallet-modal-receive-qr-badge-inner", children: _jsxs("svg", { width: "26", height: "26", viewBox: "0 0 24 24", fill: "none", children: [_jsx("path", { d: "M4 7.5C4 6.67157 4.67157 6 5.5 6H18.5C19.3284 6 20 6.67157 20 7.5V16.5C20 17.3284 19.3284 18 18.5 18H5.5C4.67157 18 4 17.3284 4 16.5V7.5Z", stroke: "currentColor", strokeWidth: "2", strokeLinejoin: "round" }), _jsx("path", { d: "M5.5 7.5L12 12L18.5 7.5", stroke: "currentColor", strokeWidth: "2", strokeLinejoin: "round", strokeLinecap: "round" })] }) }) })] }), _jsxs("button", { type: "button", className: `wallet-modal-receive-address-row wallet-modal-theme-${theme} ${copied ? 'copied' : ''}`, onClick: handleCopy, "aria-label": "Copy wallet address", children: [_jsx("span", { className: "wallet-modal-receive-address-text", children: formatAddress(address) }), _jsx("span", { className: "wallet-modal-receive-copy-icon", "aria-hidden": "true", children: copied ? (_jsx("svg", { width: "18", height: "18", viewBox: "0 0 16 16", fill: "none", children: _jsx("path", { d: "M13.5 4L6 11.5L2.5 8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })) : (_jsx("svg", { width: "18", height: "18", viewBox: "0 0 16 16", fill: "none", children: _jsx("path", { d: "M5.5 4.5H3.5C2.67157 4.5 2 5.17157 2 6V12.5C2 13.3284 2.67157 14 3.5 14H10C10.8284 14 11.5 13.3284 11.5 12.5V10.5M5.5 4.5C5.5 3.67157 6.17157 3 7 3H10.5C11.3284 3 12 3.67157 12 4.5V8M5.5 4.5C5.5 5.32843 6.17157 6 7 6H10.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })) })] }), _jsx("p", { className: "wallet-modal-receive-helper", children: "Copy the address to send funds to this wallet" })] })) })] }) }));
21
21
  }
22
22
  //# sourceMappingURL=ReceiveModal.js.map
@@ -1 +1 @@
1
- {"version":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AC,2BAA2B,uEAEpC,IACH,CACJ,GACG,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"ReceiveModal.js","sourceRoot":"","sources":["../../../../../src/components/WalletModal/components/ReceiveModal.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,oBAAoB,CAAC;AAS5B,MAAM,UAAU,YAAY,CAAC,EAC3B,MAAM,EACN,OAAO,EACP,OAAO,EACP,KAAK,GAAG,MAAM,GACI;IAClB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE5C,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,EAAE;QAClC,IAAI,OAAO,EAAE,CAAC;YACZ,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACvC,SAAS,CAAC,IAAI,CAAC,CAAC;YAChB,UAAU,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzB,OAAO,CACL,cACE,SAAS,EAAE,2CAA2C,KAAK,EAAE,EAC7D,OAAO,EAAE,OAAO,YAEhB,eACE,SAAS,EAAE,2CAA2C,KAAK,uBAAuB,EAClF,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,EAAE,aAEnC,eAAK,SAAS,EAAC,6BAA6B,aAC1C,iBAAQ,SAAS,EAAC,mBAAmB,EAAC,OAAO,EAAE,OAAO,YACpD,cAAK,KAAK,EAAC,IAAI,EA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