signer-test-sdk-react 0.0.20 → 0.0.22

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 (56) hide show
  1. package/dist/src/AbstraxnProvider.d.ts +2 -2
  2. package/dist/src/AbstraxnProvider.js +627 -602
  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/WalletModal.css +373 -193
  7. package/dist/src/WalletModal.d.ts +1 -1
  8. package/dist/src/WalletModal.js +45 -108
  9. package/dist/src/WalletModal.js.map +1 -1
  10. package/dist/src/chains.d.ts +3 -4
  11. package/dist/src/chains.js +84 -154
  12. package/dist/src/chains.js.map +1 -1
  13. package/dist/src/components/OnboardingUI/OnboardingUI.css +5 -6
  14. package/dist/src/components/OnboardingUI/OnboardingUIReact.js +9 -3
  15. package/dist/src/components/OnboardingUI/OnboardingUIReact.js.map +1 -1
  16. package/dist/src/components/OnboardingUI/OnboardingUIWeb.js +0 -6
  17. package/dist/src/components/OnboardingUI/OnboardingUIWeb.js.map +1 -1
  18. package/dist/src/components/OnboardingUI/hooks/useAuthMethods.js +57 -0
  19. package/dist/src/components/OnboardingUI/hooks/useAuthMethods.js.map +1 -1
  20. package/dist/src/components/WalletModal/components/ChainSelector.css +102 -249
  21. package/dist/src/components/WalletModal/components/ChainSelector.d.ts +6 -7
  22. package/dist/src/components/WalletModal/components/ChainSelector.js +27 -68
  23. package/dist/src/components/WalletModal/components/ChainSelector.js.map +1 -1
  24. package/dist/src/components/WalletModal/components/ExportKeyModal.css +88 -89
  25. package/dist/src/components/WalletModal/components/ExportKeyModal.d.ts +1 -6
  26. package/dist/src/components/WalletModal/components/ExportKeyModal.js +11 -6
  27. package/dist/src/components/WalletModal/components/ExportKeyModal.js.map +1 -1
  28. package/dist/src/components/WalletModal/components/ExportWarningModal.css +2 -107
  29. package/dist/src/components/WalletModal/components/ExportWarningModal.d.ts +1 -7
  30. package/dist/src/components/WalletModal/components/ExportWarningModal.js +3 -5
  31. package/dist/src/components/WalletModal/components/ExportWarningModal.js.map +1 -1
  32. package/dist/src/components/WalletModal/components/ManageWalletModal.css +4 -90
  33. package/dist/src/components/WalletModal/components/ManageWalletModal.d.ts +3 -3
  34. package/dist/src/components/WalletModal/components/ManageWalletModal.js +13 -28
  35. package/dist/src/components/WalletModal/components/ManageWalletModal.js.map +1 -1
  36. package/dist/src/components/WalletModal/components/PreviewTransactionModal.css +4 -3
  37. package/dist/src/components/WalletModal/components/ReceiveModal.css +58 -93
  38. package/dist/src/components/WalletModal/components/ReceiveModal.js +1 -1
  39. package/dist/src/components/WalletModal/components/ReceiveModal.js.map +1 -1
  40. package/dist/src/components/WalletModal/components/SendModal.css +127 -170
  41. package/dist/src/components/WalletModal/components/SendModal.d.ts +6 -4
  42. package/dist/src/components/WalletModal/components/SendModal.js +39 -131
  43. package/dist/src/components/WalletModal/components/SendModal.js.map +1 -1
  44. package/dist/src/components/WalletModal/components/SuccessModal.css +8 -7
  45. package/dist/src/components/WalletModal/components/index.d.ts +0 -2
  46. package/dist/src/components/WalletModal/components/index.js +0 -1
  47. package/dist/src/components/WalletModal/components/index.js.map +1 -1
  48. package/dist/src/hooks.d.ts +4399 -448
  49. package/dist/src/hooks.js +53 -47
  50. package/dist/src/hooks.js.map +1 -1
  51. package/dist/tsconfig.tsbuildinfo +1 -1
  52. package/package.json +1 -1
  53. package/dist/src/components/WalletModal/components/TokenSelectorModal.css +0 -240
  54. package/dist/src/components/WalletModal/components/TokenSelectorModal.d.ts +0 -21
  55. package/dist/src/components/WalletModal/components/TokenSelectorModal.js +0 -44
  56. package/dist/src/components/WalletModal/components/TokenSelectorModal.js.map +0 -1
@@ -1,46 +1,4 @@
1
1
  /* Wallet Modal Styles */
2
-
3
- /* GeistSans Font */
4
- @font-face {
5
- font-family: 'GeistSans';
6
- src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Regular.woff2') format('woff2');
7
- font-weight: 400;
8
- font-style: normal;
9
- font-display: swap;
10
- }
11
-
12
- @font-face {
13
- font-family: 'GeistSans';
14
- src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Medium.woff2') format('woff2');
15
- font-weight: 500;
16
- font-style: normal;
17
- font-display: swap;
18
- }
19
-
20
- @font-face {
21
- font-family: 'GeistSans';
22
- src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-SemiBold.woff2') format('woff2');
23
- font-weight: 600;
24
- font-style: normal;
25
- font-display: swap;
26
- }
27
-
28
- @font-face {
29
- font-family: 'GeistSans';
30
- src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Bold.woff2') format('woff2');
31
- font-weight: 700;
32
- font-style: normal;
33
- font-display: swap;
34
- }
35
-
36
- @font-face {
37
- font-family: 'GeistMono';
38
- src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-mono/GeistMono-Regular.woff2') format('woff2');
39
- font-weight: 400;
40
- font-style: normal;
41
- font-display: swap;
42
- }
43
-
44
2
  .wallet-modal-overlay {
45
3
  position: fixed;
46
4
  top: 0;
@@ -52,23 +10,11 @@
52
10
  justify-content: center;
53
11
  z-index: 10000;
54
12
  animation: fadeIn 0.2s ease-out;
55
- font-family: 'GeistSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
56
- will-change: opacity;
57
- backface-visibility: hidden;
58
- -webkit-backface-visibility: hidden;
59
- transform: translateZ(0);
60
- -webkit-transform: translateZ(0);
61
- /* Theme variables (overridable via inline style from uiConfig.colors) */
62
- --abstraxn-primary: #111827;
63
- --abstraxn-primary-hover: #1f2937;
64
- --abstraxn-primary-text: #ffffff;
65
13
  }
66
14
 
67
15
  /* Dark Theme (Default) */
68
16
  .wallet-modal-overlay.wallet-modal-theme-dark {
69
17
  background: rgba(0, 0, 0, 0.5);
70
- --abstraxn-primary: #4b5563;
71
- --abstraxn-primary-hover: #6b7280;
72
18
  }
73
19
 
74
20
  /* Light Theme */
@@ -76,32 +22,7 @@
76
22
  background: rgba(0, 0, 0, 0.3);
77
23
  }
78
24
 
79
- /* Shared primary button (uses theme variables above) */
80
- .wallet-modal-primary-btn {
81
- width: 100%;
82
- padding: 14px 24px;
83
- border-radius: 12px;
84
- border: none;
85
- font-size: 16px;
86
- font-weight: 600;
87
- cursor: pointer;
88
- transition: all 0.2s;
89
- background: var(--abstraxn-primary);
90
- color: var(--abstraxn-primary-text);
91
- }
92
-
93
- .wallet-modal-primary-btn:hover:not(:disabled) {
94
- background: var(--abstraxn-primary-hover);
95
- transform: translateY(-1px);
96
- }
97
-
98
- .wallet-modal-primary-btn:disabled {
99
- opacity: 0.6;
100
- cursor: not-allowed;
101
- }
102
-
103
25
  .wallet-modal-content {
104
- position: relative;
105
26
  border-radius: 16px;
106
27
  width: 90%;
107
28
  max-width: 400px;
@@ -114,17 +35,6 @@
114
35
  flex-direction: column;
115
36
  gap: 20px;
116
37
  box-sizing: border-box;
117
- font-family: 'GeistSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
118
- font-size: 14px;
119
- will-change: transform, opacity;
120
- backface-visibility: hidden;
121
- -webkit-backface-visibility: hidden;
122
- transform: translate3d(0, 0, 0);
123
- -webkit-transform: translate3d(0, 0, 0);
124
- }
125
-
126
- .wallet-modal-content.selector-open {
127
- overflow: hidden;
128
38
  }
129
39
 
130
40
  /* Dark Theme Content */
@@ -151,11 +61,11 @@
151
61
 
152
62
  @keyframes slideUp {
153
63
  from {
154
- transform: translate3d(0, 20px, 0);
64
+ transform: translateY(20px);
155
65
  opacity: 0;
156
66
  }
157
67
  to {
158
- transform: translate3d(0, 0, 0);
68
+ transform: translateY(0);
159
69
  opacity: 1;
160
70
  }
161
71
  }
@@ -236,7 +146,7 @@
236
146
  gap: 8px;
237
147
  cursor: pointer;
238
148
  transition: opacity 0.2s;
239
- font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
149
+ font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
240
150
  }
241
151
 
242
152
  .wallet-modal-theme-dark .wallet-modal-address {
@@ -375,16 +285,16 @@
375
285
 
376
286
  .wallet-modal-action-btn {
377
287
  border-radius: 12px;
378
- padding: 12px 8px;
288
+ padding: 16px;
379
289
  display: flex;
380
- flex-direction: row;
290
+ flex-direction: column;
381
291
  align-items: center;
382
292
  justify-content: center;
383
- gap: 12px;
293
+ gap: 8px;
384
294
  cursor: pointer;
385
295
  transition: all 0.2s;
386
- font-size: 15px;
387
- font-weight: 600;
296
+ font-size: 14px;
297
+ font-weight: 500;
388
298
  border: 1px solid;
389
299
  text-align: center;
390
300
  }
@@ -396,7 +306,7 @@
396
306
  }
397
307
 
398
308
  .wallet-modal-theme-light .wallet-modal-action-btn {
399
- background: #ffffff;
309
+ background: #f9fafb;
400
310
  border-color: #e5e7eb;
401
311
  color: #111827;
402
312
  }
@@ -418,11 +328,11 @@
418
328
  }
419
329
 
420
330
  .wallet-modal-theme-dark .wallet-modal-action-btn svg {
421
- color: #9ca3af;
331
+ color: #a855f7;
422
332
  }
423
333
 
424
334
  .wallet-modal-theme-light .wallet-modal-action-btn svg {
425
- color: #6b7280;
335
+ color: #9333ea;
426
336
  }
427
337
 
428
338
  /* Asset Display */
@@ -438,11 +348,6 @@
438
348
  border: 1px solid;
439
349
  }
440
350
 
441
- .wallet-modal-asset:hover {
442
- border-color: #9333ea;
443
- background: rgba(147, 51, 234, 0.02);
444
- }
445
-
446
351
  .wallet-modal-theme-dark .wallet-modal-asset {
447
352
  background: #2a2a2a;
448
353
  border-color: #3a3a3a;
@@ -470,35 +375,22 @@
470
375
  flex: 1;
471
376
  }
472
377
 
473
- .wallet-modal-asset-icon-wrapper {
474
- position: relative;
378
+ .wallet-modal-asset-icon {
475
379
  width: 40px;
476
380
  height: 40px;
477
- flex-shrink: 0;
478
- }
479
-
480
- .wallet-modal-asset-icon-img {
481
- width: 100%;
482
- height: 100%;
483
- border-radius: 50%;
484
- object-fit: cover;
485
- }
486
-
487
- .wallet-modal-asset-icon {
488
- width: 100%;
489
- height: 100%;
490
381
  border-radius: 50%;
491
382
  background: linear-gradient(135deg, #627eea 0%, #4c6ef5 100%);
492
383
  display: flex;
493
384
  align-items: center;
494
385
  justify-content: center;
495
386
  color: white;
387
+ flex-shrink: 0;
496
388
  }
497
389
 
498
390
  .wallet-modal-asset-details {
499
391
  display: flex;
500
392
  flex-direction: column;
501
- gap: 2px;
393
+ gap: 4px;
502
394
  flex: 1;
503
395
  min-width: 0;
504
396
  }
@@ -506,7 +398,6 @@
506
398
  .wallet-modal-asset-name {
507
399
  font-size: 16px;
508
400
  font-weight: 600;
509
- text-align: left;
510
401
  }
511
402
 
512
403
  .wallet-modal-theme-dark .wallet-modal-asset-name {
@@ -519,8 +410,9 @@
519
410
 
520
411
  .wallet-modal-asset-balance {
521
412
  font-size: 14px;
522
- font-weight: 500;
523
- text-align: left;
413
+ display: flex;
414
+ align-items: center;
415
+ gap: 8px;
524
416
  }
525
417
 
526
418
  .wallet-modal-theme-dark .wallet-modal-asset-balance {
@@ -532,19 +424,11 @@
532
424
  }
533
425
 
534
426
  .wallet-modal-asset-status {
535
- position: absolute;
536
- bottom: 0;
537
- right: 0;
538
- width: 10px;
539
- height: 10px;
427
+ width: 8px;
428
+ height: 8px;
540
429
  border-radius: 50%;
541
430
  background: #10b981;
542
- border: 2px solid white;
543
- z-index: 1;
544
- }
545
-
546
- .wallet-modal-theme-dark .wallet-modal-asset-status {
547
- border-color: #1a1a1a;
431
+ flex-shrink: 0;
548
432
  }
549
433
 
550
434
  .wallet-modal-asset-arrow {
@@ -606,6 +490,21 @@
606
490
  flex-shrink: 0;
607
491
  }
608
492
 
493
+ .wallet-modal-theme-dark .wallet-modal-menu-item svg {
494
+ color: #9ca3af;
495
+ }
496
+
497
+ .wallet-modal-theme-light .wallet-modal-menu-item svg {
498
+ color: #6b7280;
499
+ }
500
+
501
+ .wallet-modal-theme-dark .wallet-modal-menu-item:hover svg {
502
+ color: #a855f7;
503
+ }
504
+
505
+ .wallet-modal-theme-light .wallet-modal-menu-item:hover svg {
506
+ color: #9333ea;
507
+ }
609
508
 
610
509
  /* Disconnect button - Red theme */
611
510
  .wallet-modal-menu-item-disconnect {
@@ -794,7 +693,7 @@
794
693
  display: flex;
795
694
  align-items: center;
796
695
  gap: 8px;
797
- font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
696
+ font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
798
697
  text-align: left;
799
698
  }
800
699
 
@@ -819,7 +718,6 @@
819
718
  border: none;
820
719
  cursor: pointer;
821
720
  padding: 8px;
822
- margin: 0;
823
721
  display: flex;
824
722
  align-items: center;
825
723
  justify-content: center;
@@ -827,7 +725,6 @@
827
725
  transition: all 0.2s;
828
726
  width: 40px;
829
727
  height: 40px;
830
- box-sizing: border-box;
831
728
  }
832
729
 
833
730
  .wallet-modal-back:disabled {
@@ -886,19 +783,17 @@
886
783
  color: #111827;
887
784
  }
888
785
 
889
- .wallet-modal-content .wallet-modal-receive-title {
786
+ .wallet-modal-receive-title {
890
787
  font-size: 20px;
891
- font-weight: 500;
788
+ font-weight: 600;
892
789
  margin: 0;
893
- flex: 1;
894
- text-align: center;
895
790
  }
896
791
 
897
- .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-receive-title {
792
+ .wallet-modal-theme-dark .wallet-modal-receive-title {
898
793
  color: #ffffff;
899
794
  }
900
795
 
901
- .wallet-modal-content.wallet-modal-theme-light .wallet-modal-receive-title {
796
+ .wallet-modal-theme-light .wallet-modal-receive-title {
902
797
  color: #111827;
903
798
  }
904
799
 
@@ -961,7 +856,7 @@
961
856
 
962
857
  .wallet-modal-address-full {
963
858
  flex: 1;
964
- font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
859
+ font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
965
860
  font-size: 14px;
966
861
  word-break: break-all;
967
862
  text-align: left;
@@ -1035,7 +930,7 @@
1035
930
  display: flex;
1036
931
  flex-direction: column;
1037
932
  gap: 20px;
1038
- /* padding: 20px 0; */
933
+ padding: 20px 0;
1039
934
  }
1040
935
 
1041
936
  .wallet-modal-send-field {
@@ -1248,7 +1143,7 @@
1248
1143
  border: 1px solid;
1249
1144
  background: transparent;
1250
1145
  font-size: 14px;
1251
- font-family: 'GeistMono', 'SF Mono', monospace;
1146
+ font-family: monospace;
1252
1147
  outline: none;
1253
1148
  transition: all 0.2s;
1254
1149
  box-sizing: border-box;
@@ -1317,23 +1212,25 @@
1317
1212
  }
1318
1213
 
1319
1214
  .wallet-modal-theme-dark .wallet-modal-send-preview-btn {
1320
- background: var(--abstraxn-primary);
1321
- color: var(--abstraxn-primary-text);
1215
+ background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
1216
+ color: #ffffff;
1322
1217
  }
1323
1218
 
1324
1219
  .wallet-modal-theme-light .wallet-modal-send-preview-btn {
1325
- background: var(--abstraxn-primary);
1326
- color: var(--abstraxn-primary-text);
1220
+ background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
1221
+ color: #ffffff;
1327
1222
  }
1328
1223
 
1329
1224
  .wallet-modal-theme-dark .wallet-modal-send-preview-btn:hover:not(.disabled) {
1330
- background: var(--abstraxn-primary-hover);
1225
+ background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
1331
1226
  transform: translateY(-1px);
1227
+ box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
1332
1228
  }
1333
1229
 
1334
1230
  .wallet-modal-theme-light .wallet-modal-send-preview-btn:hover:not(.disabled) {
1335
- background: var(--abstraxn-primary-hover);
1231
+ background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
1336
1232
  transform: translateY(-1px);
1233
+ box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2);
1337
1234
  }
1338
1235
 
1339
1236
  /* Preview Modal */
@@ -1419,13 +1316,14 @@
1419
1316
  }
1420
1317
 
1421
1318
  .wallet-modal-preview-btn-primary {
1422
- background: var(--abstraxn-primary);
1423
- color: var(--abstraxn-primary-text);
1319
+ background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
1320
+ color: #ffffff;
1424
1321
  }
1425
1322
 
1426
1323
  .wallet-modal-preview-btn-primary:hover:not(:disabled) {
1427
- background: var(--abstraxn-primary-hover);
1324
+ background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
1428
1325
  transform: translateY(-1px);
1326
+ box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
1429
1327
  }
1430
1328
 
1431
1329
  .wallet-modal-preview-btn-secondary {
@@ -1469,17 +1367,17 @@
1469
1367
  justify-content: center;
1470
1368
  }
1471
1369
 
1472
- .wallet-modal-content .wallet-modal-success-title {
1370
+ .wallet-modal-success-title {
1473
1371
  font-size: 24px;
1474
- font-weight: 500;
1372
+ font-weight: 600;
1475
1373
  margin: 0;
1476
1374
  }
1477
1375
 
1478
- .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-success-title {
1376
+ .wallet-modal-theme-dark .wallet-modal-success-title {
1479
1377
  color: #ffffff;
1480
1378
  }
1481
1379
 
1482
- .wallet-modal-content.wallet-modal-theme-light .wallet-modal-success-title {
1380
+ .wallet-modal-theme-light .wallet-modal-success-title {
1483
1381
  color: #111827;
1484
1382
  }
1485
1383
 
@@ -1528,13 +1426,14 @@
1528
1426
  font-weight: 600;
1529
1427
  cursor: pointer;
1530
1428
  transition: all 0.2s;
1531
- background: var(--abstraxn-primary);
1532
- color: var(--abstraxn-primary-text);
1429
+ background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
1430
+ color: #ffffff;
1533
1431
  }
1534
1432
 
1535
1433
  .wallet-modal-success-btn:hover {
1536
- background: var(--abstraxn-primary-hover);
1434
+ background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
1537
1435
  transform: translateY(-1px);
1436
+ box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
1538
1437
  }
1539
1438
 
1540
1439
  .wallet-modal-action-btn-primary {
@@ -1545,14 +1444,13 @@
1545
1444
  font-weight: 600;
1546
1445
  cursor: pointer;
1547
1446
  transition: all 0.2s;
1548
- background: var(--abstraxn-primary);
1549
- color: var(--abstraxn-primary-text);
1447
+ background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
1448
+ color: #ffffff;
1550
1449
  }
1551
1450
 
1552
1451
  .wallet-modal-action-btn-primary:hover {
1553
1452
  transform: translateY(-2px);
1554
- background: var(--abstraxn-primary-hover);
1555
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
1453
+ box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
1556
1454
  }
1557
1455
 
1558
1456
  /* Manage Modal */
@@ -1568,19 +1466,19 @@
1568
1466
  gap: 20px;
1569
1467
  }
1570
1468
 
1571
- .wallet-modal-content .wallet-modal-manage-section-title {
1469
+ .wallet-modal-manage-section-title {
1572
1470
  font-size: 16px;
1573
- font-weight: 500;
1471
+ font-weight: 600;
1574
1472
  margin: 0;
1575
1473
  text-align: left;
1576
1474
  letter-spacing: -0.01em;
1577
1475
  }
1578
1476
 
1579
- .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-manage-section-title {
1477
+ .wallet-modal-theme-dark .wallet-modal-manage-section-title {
1580
1478
  color: #ffffff;
1581
1479
  }
1582
1480
 
1583
- .wallet-modal-content.wallet-modal-theme-light .wallet-modal-manage-section-title {
1481
+ .wallet-modal-theme-light .wallet-modal-manage-section-title {
1584
1482
  color: #111827;
1585
1483
  }
1586
1484
 
@@ -1646,7 +1544,7 @@
1646
1544
 
1647
1545
  .wallet-modal-manage-address-text {
1648
1546
  flex: 1;
1649
- font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
1547
+ font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
1650
1548
  font-size: 14px;
1651
1549
  word-break: break-all;
1652
1550
  min-width: 0;
@@ -1847,9 +1745,295 @@
1847
1745
  margin-bottom: 16px;
1848
1746
  }
1849
1747
 
1850
- /* Balance Display */
1748
+ .wallet-modal-chain-selector {
1749
+ position: relative;
1750
+ width: 100%;
1751
+ }
1752
+
1753
+ .wallet-modal-chain-selector-btn {
1754
+ width: 100%;
1755
+ padding: 12px 16px;
1756
+ border-radius: 12px;
1757
+ border: 1px solid;
1758
+ background: transparent;
1759
+ cursor: pointer;
1760
+ transition: all 0.2s;
1761
+ display: flex;
1762
+ align-items: center;
1763
+ justify-content: space-between;
1764
+ gap: 12px;
1765
+ }
1766
+
1767
+ .wallet-modal-theme-dark .wallet-modal-chain-selector-btn {
1768
+ border-color: #3a3a3a;
1769
+ background: #2a2a2a;
1770
+ color: #ffffff;
1771
+ }
1772
+
1773
+ .wallet-modal-theme-light .wallet-modal-chain-selector-btn {
1774
+ border-color: #e5e7eb;
1775
+ background: #f9fafb;
1776
+ color: #111827;
1777
+ }
1778
+
1779
+ .wallet-modal-theme-dark .wallet-modal-chain-selector-btn:hover {
1780
+ background: #3a3a3a;
1781
+ border-color: #4a4a4a;
1782
+ }
1783
+
1784
+ .wallet-modal-theme-light .wallet-modal-chain-selector-btn:hover {
1785
+ background: #f3f4f6;
1786
+ border-color: #d1d5db;
1787
+ }
1788
+
1789
+ .wallet-modal-chain-selector-current {
1790
+ display: flex;
1791
+ align-items: center;
1792
+ gap: 12px;
1793
+ flex: 1;
1794
+ min-width: 0;
1795
+ }
1796
+
1797
+ .wallet-modal-chain-icon {
1798
+ width: 24px;
1799
+ height: 24px;
1800
+ border-radius: 6px;
1801
+ display: flex;
1802
+ align-items: center;
1803
+ justify-content: center;
1804
+ flex-shrink: 0;
1805
+ background: rgba(147, 51, 234, 0.1);
1806
+ }
1807
+
1808
+ .wallet-modal-theme-dark .wallet-modal-chain-icon {
1809
+ color: #a855f7;
1810
+ }
1811
+
1812
+ .wallet-modal-theme-light .wallet-modal-chain-icon {
1813
+ color: #9333ea;
1814
+ }
1815
+
1816
+ .wallet-modal-chain-info {
1817
+ display: flex;
1818
+ flex-direction: column;
1819
+ gap: 2px;
1820
+ flex: 1;
1821
+ min-width: 0;
1822
+ text-align: left;
1823
+ }
1824
+
1825
+ .wallet-modal-chain-name {
1826
+ font-size: 15px;
1827
+ font-weight: 500;
1828
+ }
1829
+
1830
+ .wallet-modal-theme-dark .wallet-modal-chain-name {
1831
+ color: #ffffff;
1832
+ }
1833
+
1834
+ .wallet-modal-theme-light .wallet-modal-chain-name {
1835
+ color: #111827;
1836
+ }
1837
+
1838
+ .wallet-modal-chain-type {
1839
+ font-size: 12px;
1840
+ font-weight: 400;
1841
+ opacity: 0.7;
1842
+ }
1843
+
1844
+ .wallet-modal-theme-dark .wallet-modal-chain-type {
1845
+ color: #9ca3af;
1846
+ }
1847
+
1848
+ .wallet-modal-theme-light .wallet-modal-chain-type {
1849
+ color: #6b7280;
1850
+ }
1851
+
1852
+ .wallet-modal-chain-arrow {
1853
+ flex-shrink: 0;
1854
+ transition: transform 0.2s;
1855
+ }
1856
+
1857
+ .wallet-modal-chain-arrow.open {
1858
+ transform: rotate(180deg);
1859
+ }
1860
+
1861
+ .wallet-modal-chain-selector-placeholder {
1862
+ padding: 12px 16px;
1863
+ border-radius: 12px;
1864
+ border: 1px solid;
1865
+ text-align: left;
1866
+ font-size: 15px;
1867
+ width: 100%;
1868
+ }
1869
+
1870
+ .wallet-modal-theme-dark .wallet-modal-chain-selector-placeholder {
1871
+ border-color: #3a3a3a;
1872
+ background: #2a2a2a;
1873
+ color: #9ca3af;
1874
+ }
1875
+
1876
+ .wallet-modal-theme-light .wallet-modal-chain-selector-placeholder {
1877
+ border-color: #e5e7eb;
1878
+ background: #f9fafb;
1879
+ color: #6b7280;
1880
+ }
1881
+
1882
+ .wallet-modal-chain-dropdown {
1883
+ position: absolute;
1884
+ top: calc(100% + 8px);
1885
+ left: 0;
1886
+ right: 0;
1887
+ width: 100%;
1888
+ z-index: 10001;
1889
+ border-radius: 12px;
1890
+ border: 1px solid;
1891
+ overflow: hidden;
1892
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
1893
+ }
1894
+
1895
+ .wallet-modal-theme-dark .wallet-modal-chain-dropdown {
1896
+ background: #1a1a1a;
1897
+ border-color: #3a3a3a;
1898
+ }
1899
+
1900
+ .wallet-modal-theme-light .wallet-modal-chain-dropdown {
1901
+ background: #ffffff;
1902
+ border-color: #e5e7eb;
1903
+ }
1904
+
1905
+ .wallet-modal-chain-tabs {
1906
+ display: flex;
1907
+ border-bottom: 1px solid;
1908
+ padding: 8px;
1909
+ gap: 4px;
1910
+ }
1911
+
1912
+ .wallet-modal-theme-dark .wallet-modal-chain-tabs {
1913
+ border-color: #3a3a3a;
1914
+ }
1915
+
1916
+ .wallet-modal-theme-light .wallet-modal-chain-tabs {
1917
+ border-color: #e5e7eb;
1918
+ }
1919
+
1920
+ .wallet-modal-chain-tab {
1921
+ flex: 1;
1922
+ padding: 8px 12px;
1923
+ border-radius: 8px;
1924
+ border: none;
1925
+ background: transparent;
1926
+ cursor: pointer;
1927
+ font-size: 13px;
1928
+ font-weight: 500;
1929
+ transition: all 0.2s;
1930
+ }
1931
+
1932
+ .wallet-modal-theme-dark .wallet-modal-chain-tab {
1933
+ color: #9ca3af;
1934
+ }
1935
+
1936
+ .wallet-modal-theme-light .wallet-modal-chain-tab {
1937
+ color: #6b7280;
1938
+ }
1939
+
1940
+ .wallet-modal-theme-dark .wallet-modal-chain-tab.active {
1941
+ background: #2a2a2a;
1942
+ color: #ffffff;
1943
+ }
1944
+
1945
+ .wallet-modal-theme-light .wallet-modal-chain-tab.active {
1946
+ background: #f3f4f6;
1947
+ color: #111827;
1948
+ }
1949
+
1950
+ .wallet-modal-chain-list {
1951
+ max-height: 300px;
1952
+ overflow-y: auto;
1953
+ padding: 4px;
1954
+ }
1955
+
1956
+ .wallet-modal-chain-item {
1957
+ width: 100%;
1958
+ padding: 12px;
1959
+ border-radius: 8px;
1960
+ border: none;
1961
+ background: transparent;
1962
+ cursor: pointer;
1963
+ display: flex;
1964
+ align-items: center;
1965
+ gap: 12px;
1966
+ transition: all 0.2s;
1967
+ text-align: left;
1968
+ }
1969
+
1970
+ .wallet-modal-theme-dark .wallet-modal-chain-item {
1971
+ color: #ffffff;
1972
+ }
1973
+
1974
+ .wallet-modal-theme-light .wallet-modal-chain-item {
1975
+ color: #111827;
1976
+ }
1977
+
1978
+ .wallet-modal-theme-dark .wallet-modal-chain-item:hover {
1979
+ background: #2a2a2a;
1980
+ }
1981
+
1982
+ .wallet-modal-theme-light .wallet-modal-chain-item:hover {
1983
+ background: #f3f4f6;
1984
+ }
1985
+
1986
+ .wallet-modal-theme-dark .wallet-modal-chain-item.active {
1987
+ background: rgba(147, 51, 234, 0.15);
1988
+ }
1989
+
1990
+ .wallet-modal-theme-light .wallet-modal-chain-item.active {
1991
+ background: rgba(147, 51, 234, 0.1);
1992
+ }
1993
+
1994
+ .wallet-modal-chain-item .wallet-modal-chain-icon {
1995
+ width: 28px;
1996
+ height: 28px;
1997
+ }
1998
+
1999
+ .wallet-modal-chain-item .wallet-modal-chain-info {
2000
+ flex: 1;
2001
+ min-width: 0;
2002
+ }
2003
+
2004
+ .wallet-modal-chain-item .wallet-modal-chain-name {
2005
+ font-size: 14px;
2006
+ }
2007
+
2008
+ .wallet-modal-chain-badge {
2009
+ font-size: 10px;
2010
+ font-weight: 500;
2011
+ padding: 2px 6px;
2012
+ border-radius: 4px;
2013
+ text-transform: uppercase;
2014
+ letter-spacing: 0.5px;
2015
+ }
2016
+
2017
+ .wallet-modal-theme-dark .wallet-modal-chain-badge {
2018
+ background: rgba(251, 191, 36, 0.2);
2019
+ color: #fbbf24;
2020
+ }
2021
+
2022
+ .wallet-modal-theme-light .wallet-modal-chain-badge {
2023
+ background: rgba(251, 191, 36, 0.15);
2024
+ color: #d97706;
2025
+ }
2026
+
2027
+ .wallet-modal-chain-item svg:last-child {
2028
+ flex-shrink: 0;
2029
+ color: #10b981;
2030
+ }
1851
2031
 
1852
2032
  /* Export Warning Modal */
2033
+ .wallet-modal-export-warning {
2034
+ /* Same size as other modals - no max-width override */
2035
+ }
2036
+
1853
2037
  .wallet-modal-export-warning-content {
1854
2038
  display: flex;
1855
2039
  flex-direction: column;
@@ -2092,8 +2276,8 @@
2092
2276
  font-weight: 600;
2093
2277
  cursor: pointer;
2094
2278
  transition: all 0.2s;
2095
- background: var(--abstraxn-primary);
2096
- color: var(--abstraxn-primary-text);
2279
+ background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
2280
+ color: #ffffff;
2097
2281
  box-sizing: border-box;
2098
2282
  display: flex;
2099
2283
  align-items: center;
@@ -2102,7 +2286,7 @@
2102
2286
  }
2103
2287
 
2104
2288
  .wallet-modal-theme-dark .wallet-modal-export-warning-reveal:not(.disabled) {
2105
- background: var(--abstraxn-primary);
2289
+ background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
2106
2290
  }
2107
2291
 
2108
2292
  .wallet-modal-export-warning-reveal:hover:not(.disabled) {
@@ -2110,11 +2294,11 @@
2110
2294
  }
2111
2295
 
2112
2296
  .wallet-modal-theme-dark .wallet-modal-export-warning-reveal:hover:not(.disabled) {
2113
- background: var(--abstraxn-primary-hover);
2297
+ box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
2114
2298
  }
2115
2299
 
2116
2300
  .wallet-modal-theme-light .wallet-modal-export-warning-reveal:hover:not(.disabled) {
2117
- background: var(--abstraxn-primary-hover);
2301
+ box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
2118
2302
  }
2119
2303
 
2120
2304
  .wallet-modal-loading-spinner {
@@ -2160,19 +2344,17 @@
2160
2344
  margin-bottom: 24px;
2161
2345
  }
2162
2346
 
2163
- .wallet-modal-content .wallet-modal-export-title {
2347
+ .wallet-modal-export-title {
2164
2348
  font-size: 20px;
2165
- font-weight: 500;
2349
+ font-weight: 600;
2166
2350
  margin: 0;
2167
- flex: 1;
2168
- text-align: center;
2169
2351
  }
2170
2352
 
2171
- .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-export-title {
2353
+ .wallet-modal-theme-dark .wallet-modal-export-title {
2172
2354
  color: #ffffff;
2173
2355
  }
2174
2356
 
2175
- .wallet-modal-content.wallet-modal-theme-light .wallet-modal-export-title {
2357
+ .wallet-modal-theme-light .wallet-modal-export-title {
2176
2358
  color: #111827;
2177
2359
  }
2178
2360
 
@@ -2185,7 +2367,7 @@
2185
2367
  .wallet-modal-export-key-display {
2186
2368
  padding: 16px;
2187
2369
  border-radius: 12px;
2188
- font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
2370
+ font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
2189
2371
  font-size: 13px;
2190
2372
  line-height: 1.6;
2191
2373
  word-break: break-all;
@@ -2292,15 +2474,15 @@
2292
2474
  font-weight: 600;
2293
2475
  cursor: pointer;
2294
2476
  transition: all 0.2s;
2295
- color: var(--abstraxn-primary-text);
2477
+ color: #ffffff;
2296
2478
  }
2297
2479
 
2298
2480
  .wallet-modal-theme-dark .wallet-modal-export-done-btn {
2299
- background: var(--abstraxn-primary);
2481
+ background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
2300
2482
  }
2301
2483
 
2302
2484
  .wallet-modal-theme-light .wallet-modal-export-done-btn {
2303
- background: var(--abstraxn-primary);
2485
+ background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
2304
2486
  }
2305
2487
 
2306
2488
  .wallet-modal-export-done-btn:hover {
@@ -2308,12 +2490,10 @@
2308
2490
  }
2309
2491
 
2310
2492
  .wallet-modal-theme-dark .wallet-modal-export-done-btn:hover {
2311
- background: var(--abstraxn-primary-hover);
2312
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
2493
+ box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
2313
2494
  }
2314
2495
 
2315
2496
  .wallet-modal-theme-light .wallet-modal-export-done-btn:hover {
2316
- background: var(--abstraxn-primary-hover);
2317
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
2497
+ box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
2318
2498
  }
2319
2499