signer-test-sdk-react 0.0.12 → 0.0.13
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/dist/src/AbstraxnProvider.d.ts +2 -5
- package/dist/src/AbstraxnProvider.js +189 -18
- package/dist/src/AbstraxnProvider.js.map +1 -1
- package/dist/src/WalletModal.css +547 -21
- package/dist/src/WalletModal.js +98 -164
- package/dist/src/WalletModal.js.map +1 -1
- package/dist/src/components/OnboardingUI/OnboardingUIWeb.d.ts +7 -0
- package/dist/src/components/OnboardingUI/OnboardingUIWeb.js +169 -20
- package/dist/src/components/OnboardingUI/OnboardingUIWeb.js.map +1 -1
- package/dist/src/components/WalletModal/components/ChainSelector.css +180 -0
- package/dist/src/components/WalletModal/components/ChainSelector.d.ts +10 -0
- package/dist/src/components/WalletModal/components/ChainSelector.js +34 -0
- package/dist/src/components/WalletModal/components/ChainSelector.js.map +1 -0
- package/dist/src/components/WalletModal/components/ExportKeyModal.css +133 -0
- package/dist/src/components/WalletModal/components/ExportKeyModal.d.ts +9 -0
- package/dist/src/components/WalletModal/components/ExportKeyModal.js +31 -0
- package/dist/src/components/WalletModal/components/ExportKeyModal.js.map +1 -0
- package/dist/src/components/WalletModal/components/ExportWarningModal.css +2 -0
- package/dist/src/components/WalletModal/components/ExportWarningModal.d.ts +11 -0
- package/dist/src/components/WalletModal/components/ExportWarningModal.js +18 -0
- package/dist/src/components/WalletModal/components/ExportWarningModal.js.map +1 -0
- package/dist/src/components/WalletModal/components/ManageWalletModal.css +160 -0
- package/dist/src/components/WalletModal/components/ManageWalletModal.d.ts +12 -0
- package/dist/src/components/WalletModal/components/ManageWalletModal.js +21 -0
- package/dist/src/components/WalletModal/components/ManageWalletModal.js.map +1 -0
- package/dist/src/components/WalletModal/components/PreviewTransactionModal.css +128 -0
- package/dist/src/components/WalletModal/components/PreviewTransactionModal.d.ts +17 -0
- package/dist/src/components/WalletModal/components/PreviewTransactionModal.js +10 -0
- package/dist/src/components/WalletModal/components/PreviewTransactionModal.js.map +1 -0
- package/dist/src/components/WalletModal/components/ReceiveModal.css +101 -0
- package/dist/src/components/WalletModal/components/ReceiveModal.d.ts +8 -0
- package/dist/src/components/WalletModal/components/ReceiveModal.js +22 -0
- package/dist/src/components/WalletModal/components/ReceiveModal.js.map +1 -0
- package/dist/src/components/WalletModal/components/SendModal.css +234 -0
- package/dist/src/components/WalletModal/components/SendModal.d.ts +18 -0
- package/dist/src/components/WalletModal/components/SendModal.js +127 -0
- package/dist/src/components/WalletModal/components/SendModal.js.map +1 -0
- package/dist/src/components/WalletModal/components/SuccessModal.css +86 -0
- package/dist/src/components/WalletModal/components/SuccessModal.d.ts +13 -0
- package/dist/src/components/WalletModal/components/SuccessModal.js +8 -0
- package/dist/src/components/WalletModal/components/SuccessModal.js.map +1 -0
- package/dist/src/components/WalletModal/components/UserAvatar.d.ts +9 -0
- package/dist/src/components/WalletModal/components/UserAvatar.js +31 -0
- package/dist/src/components/WalletModal/components/UserAvatar.js.map +1 -0
- package/dist/src/components/WalletModal/components/index.d.ts +21 -0
- package/dist/src/components/WalletModal/components/index.js +13 -0
- package/dist/src/components/WalletModal/components/index.js.map +1 -0
- package/dist/src/components/WalletModal/hooks/index.d.ts +6 -0
- package/dist/src/components/WalletModal/hooks/index.js +7 -0
- package/dist/src/components/WalletModal/hooks/index.js.map +1 -0
- package/dist/src/components/WalletModal/hooks/useAddressValidation.d.ts +4 -0
- package/dist/src/components/WalletModal/hooks/useAddressValidation.js +17 -0
- package/dist/src/components/WalletModal/hooks/useAddressValidation.js.map +1 -0
- package/dist/src/components/WalletModal/hooks/useAmountValidation.d.ts +4 -0
- package/dist/src/components/WalletModal/hooks/useAmountValidation.js +29 -0
- package/dist/src/components/WalletModal/hooks/useAmountValidation.js.map +1 -0
- package/dist/src/components/WalletModal/hooks/useSendTransaction.d.ts +20 -0
- package/dist/src/components/WalletModal/hooks/useSendTransaction.js +55 -0
- package/dist/src/components/WalletModal/hooks/useSendTransaction.js.map +1 -0
- package/dist/src/components/WalletModal/index.d.ts +5 -0
- package/dist/src/components/WalletModal/index.js +7 -0
- package/dist/src/components/WalletModal/index.js.map +1 -0
- package/dist/src/components/WalletModal/utils/addressUtils.d.ts +19 -0
- package/dist/src/components/WalletModal/utils/addressUtils.js +62 -0
- package/dist/src/components/WalletModal/utils/addressUtils.js.map +1 -0
- package/dist/src/components/WalletModal/utils/formatUtils.d.ts +20 -0
- package/dist/src/components/WalletModal/utils/formatUtils.js +47 -0
- package/dist/src/components/WalletModal/utils/formatUtils.js.map +1 -0
- package/dist/src/components/WalletModal/utils/index.d.ts +5 -0
- package/dist/src/components/WalletModal/utils/index.js +6 -0
- package/dist/src/components/WalletModal/utils/index.js.map +1 -0
- package/dist/src/wagmiConfig.js +6 -2
- package/dist/src/wagmiConfig.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -3
package/dist/src/WalletModal.css
CHANGED
|
@@ -122,22 +122,10 @@
|
|
|
122
122
|
background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.wallet-modal-avatar
|
|
125
|
+
.wallet-modal-avatar svg {
|
|
126
|
+
display: block;
|
|
126
127
|
width: 32px;
|
|
127
128
|
height: 32px;
|
|
128
|
-
background: white;
|
|
129
|
-
border-radius: 50%;
|
|
130
|
-
display: flex;
|
|
131
|
-
align-items: center;
|
|
132
|
-
justify-content: center;
|
|
133
|
-
position: absolute;
|
|
134
|
-
bottom: -2px;
|
|
135
|
-
right: -2px;
|
|
136
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.wallet-modal-avatar-icon svg {
|
|
140
|
-
display: block;
|
|
141
129
|
}
|
|
142
130
|
|
|
143
131
|
.wallet-modal-user-details {
|
|
@@ -237,6 +225,8 @@
|
|
|
237
225
|
overflow: hidden;
|
|
238
226
|
text-overflow: ellipsis;
|
|
239
227
|
white-space: nowrap;
|
|
228
|
+
text-align: left;
|
|
229
|
+
max-width: 100%;
|
|
240
230
|
}
|
|
241
231
|
|
|
242
232
|
.wallet-modal-theme-dark .wallet-modal-email {
|
|
@@ -262,6 +252,11 @@
|
|
|
262
252
|
height: 40px;
|
|
263
253
|
}
|
|
264
254
|
|
|
255
|
+
.wallet-modal-close:disabled {
|
|
256
|
+
opacity: 0.5;
|
|
257
|
+
cursor: not-allowed;
|
|
258
|
+
}
|
|
259
|
+
|
|
265
260
|
.wallet-modal-theme-dark .wallet-modal-close {
|
|
266
261
|
color: #9ca3af;
|
|
267
262
|
}
|
|
@@ -293,14 +288,15 @@
|
|
|
293
288
|
padding: 16px;
|
|
294
289
|
display: flex;
|
|
295
290
|
flex-direction: column;
|
|
296
|
-
align-items:
|
|
291
|
+
align-items: center;
|
|
292
|
+
justify-content: center;
|
|
297
293
|
gap: 8px;
|
|
298
294
|
cursor: pointer;
|
|
299
295
|
transition: all 0.2s;
|
|
300
296
|
font-size: 14px;
|
|
301
297
|
font-weight: 500;
|
|
302
298
|
border: 1px solid;
|
|
303
|
-
text-align:
|
|
299
|
+
text-align: center;
|
|
304
300
|
}
|
|
305
301
|
|
|
306
302
|
.wallet-modal-theme-dark .wallet-modal-action-btn {
|
|
@@ -466,6 +462,9 @@
|
|
|
466
462
|
cursor: pointer;
|
|
467
463
|
transition: all 0.2s;
|
|
468
464
|
font-size: 15px;
|
|
465
|
+
text-align: left;
|
|
466
|
+
width: 100%;
|
|
467
|
+
justify-content: flex-start;
|
|
469
468
|
font-weight: 500;
|
|
470
469
|
text-align: left;
|
|
471
470
|
width: 100%;
|
|
@@ -507,6 +506,39 @@
|
|
|
507
506
|
color: #9333ea;
|
|
508
507
|
}
|
|
509
508
|
|
|
509
|
+
/* Disconnect button - Red theme */
|
|
510
|
+
.wallet-modal-menu-item-disconnect {
|
|
511
|
+
color: #ef4444 !important;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.wallet-modal-menu-item-disconnect svg {
|
|
515
|
+
color: #ef4444 !important;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.wallet-modal-menu-item-disconnect:hover {
|
|
519
|
+
background: rgba(239, 68, 68, 0.1) !important;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.wallet-modal-menu-item-disconnect:hover svg {
|
|
523
|
+
color: #dc2626 !important;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.wallet-modal-theme-dark .wallet-modal-menu-item-disconnect {
|
|
527
|
+
color: #ef4444 !important;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.wallet-modal-theme-dark .wallet-modal-menu-item-disconnect svg {
|
|
531
|
+
color: #ef4444 !important;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.wallet-modal-theme-dark .wallet-modal-menu-item-disconnect:hover {
|
|
535
|
+
background: rgba(239, 68, 68, 0.15) !important;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.wallet-modal-theme-dark .wallet-modal-menu-item-disconnect:hover svg {
|
|
539
|
+
color: #f87171 !important;
|
|
540
|
+
}
|
|
541
|
+
|
|
510
542
|
/* Divider */
|
|
511
543
|
.wallet-modal-divider {
|
|
512
544
|
height: 1px;
|
|
@@ -695,6 +727,11 @@
|
|
|
695
727
|
height: 40px;
|
|
696
728
|
}
|
|
697
729
|
|
|
730
|
+
.wallet-modal-back:disabled {
|
|
731
|
+
opacity: 0.5;
|
|
732
|
+
cursor: not-allowed;
|
|
733
|
+
}
|
|
734
|
+
|
|
698
735
|
.wallet-modal-theme-dark .wallet-modal-back {
|
|
699
736
|
color: #9ca3af;
|
|
700
737
|
}
|
|
@@ -896,20 +933,509 @@
|
|
|
896
933
|
padding: 20px 0;
|
|
897
934
|
}
|
|
898
935
|
|
|
899
|
-
.wallet-modal-send-
|
|
900
|
-
|
|
936
|
+
.wallet-modal-send-field {
|
|
937
|
+
display: flex;
|
|
938
|
+
flex-direction: column;
|
|
939
|
+
gap: 8px;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.wallet-modal-send-label {
|
|
943
|
+
font-size: 14px;
|
|
944
|
+
font-weight: 500;
|
|
945
|
+
text-align: left;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.wallet-modal-theme-dark .wallet-modal-send-label {
|
|
949
|
+
color: #9ca3af;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
.wallet-modal-theme-light .wallet-modal-send-label {
|
|
953
|
+
color: #6b7280;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/* Token Selector */
|
|
957
|
+
.wallet-modal-send-token-selector-wrapper {
|
|
958
|
+
position: relative;
|
|
959
|
+
width: 100%;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
.wallet-modal-send-token-selector {
|
|
963
|
+
width: 100%;
|
|
964
|
+
padding: 14px 16px;
|
|
965
|
+
border-radius: 12px;
|
|
966
|
+
border: 1px solid;
|
|
967
|
+
background: transparent;
|
|
968
|
+
cursor: pointer;
|
|
969
|
+
transition: all 0.2s;
|
|
970
|
+
display: flex;
|
|
971
|
+
align-items: center;
|
|
972
|
+
justify-content: space-between;
|
|
973
|
+
gap: 12px;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.wallet-modal-send-chain-dropdown {
|
|
977
|
+
position: absolute;
|
|
978
|
+
top: calc(100% + 8px);
|
|
979
|
+
left: 0;
|
|
980
|
+
right: 0;
|
|
981
|
+
width: 100%;
|
|
982
|
+
z-index: 10001;
|
|
983
|
+
border-radius: 12px;
|
|
984
|
+
border: 1px solid;
|
|
985
|
+
overflow: hidden;
|
|
986
|
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.wallet-modal-theme-dark .wallet-modal-send-chain-dropdown {
|
|
990
|
+
background: #1a1a1a;
|
|
991
|
+
border-color: #3a3a3a;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.wallet-modal-theme-light .wallet-modal-send-chain-dropdown {
|
|
995
|
+
background: #ffffff;
|
|
996
|
+
border-color: #e5e7eb;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.wallet-modal-theme-dark .wallet-modal-send-token-selector {
|
|
1000
|
+
border-color: #3a3a3a;
|
|
1001
|
+
background: #2a2a2a;
|
|
1002
|
+
color: #ffffff;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.wallet-modal-theme-light .wallet-modal-send-token-selector {
|
|
1006
|
+
border-color: #e5e7eb;
|
|
1007
|
+
background: #f9fafb;
|
|
1008
|
+
color: #111827;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.wallet-modal-theme-dark .wallet-modal-send-token-selector:hover {
|
|
1012
|
+
background: #3a3a3a;
|
|
1013
|
+
border-color: #4a4a4a;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
.wallet-modal-theme-light .wallet-modal-send-token-selector:hover {
|
|
1017
|
+
background: #f3f4f6;
|
|
1018
|
+
border-color: #d1d5db;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
.wallet-modal-send-token-info {
|
|
1022
|
+
display: flex;
|
|
1023
|
+
align-items: center;
|
|
1024
|
+
gap: 12px;
|
|
1025
|
+
flex: 1;
|
|
1026
|
+
min-width: 0;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
.wallet-modal-send-token-name {
|
|
1030
|
+
font-size: 15px;
|
|
1031
|
+
font-weight: 500;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
/* Amount Input */
|
|
1035
|
+
.wallet-modal-send-amount-wrapper {
|
|
1036
|
+
display: flex;
|
|
1037
|
+
align-items: center;
|
|
1038
|
+
border-radius: 12px;
|
|
1039
|
+
border: 1px solid;
|
|
1040
|
+
overflow: hidden;
|
|
1041
|
+
background: transparent;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.wallet-modal-theme-dark .wallet-modal-send-amount-wrapper {
|
|
1045
|
+
border-color: #3a3a3a;
|
|
1046
|
+
background: #2a2a2a;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
.wallet-modal-theme-light .wallet-modal-send-amount-wrapper {
|
|
1050
|
+
border-color: #e5e7eb;
|
|
1051
|
+
background: #f9fafb;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.wallet-modal-send-amount-wrapper.error {
|
|
1055
|
+
border-color: #ef4444;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
.wallet-modal-send-amount-prefix {
|
|
1059
|
+
padding: 14px 16px;
|
|
1060
|
+
font-size: 15px;
|
|
1061
|
+
font-weight: 500;
|
|
1062
|
+
flex-shrink: 0;
|
|
1063
|
+
border-right: 1px solid;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.wallet-modal-theme-dark .wallet-modal-send-amount-prefix {
|
|
1067
|
+
color: #ffffff;
|
|
1068
|
+
border-color: #3a3a3a;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.wallet-modal-theme-light .wallet-modal-send-amount-prefix {
|
|
1072
|
+
color: #111827;
|
|
1073
|
+
border-color: #e5e7eb;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
.wallet-modal-send-amount-input {
|
|
1077
|
+
flex: 1;
|
|
1078
|
+
padding: 14px 16px;
|
|
1079
|
+
border: none;
|
|
1080
|
+
background: transparent;
|
|
1081
|
+
font-size: 16px;
|
|
1082
|
+
font-weight: 500;
|
|
1083
|
+
outline: none;
|
|
1084
|
+
min-width: 0;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.wallet-modal-theme-dark .wallet-modal-send-amount-input {
|
|
1088
|
+
color: #ffffff;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
.wallet-modal-theme-light .wallet-modal-send-amount-input {
|
|
1092
|
+
color: #111827;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
.wallet-modal-send-amount-input::placeholder {
|
|
1096
|
+
opacity: 0.5;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.wallet-modal-send-amount-suffix {
|
|
1100
|
+
padding: 14px 16px;
|
|
1101
|
+
font-size: 14px;
|
|
1102
|
+
flex-shrink: 0;
|
|
1103
|
+
opacity: 0.7;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.wallet-modal-theme-dark .wallet-modal-send-amount-suffix {
|
|
1107
|
+
color: #9ca3af;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.wallet-modal-theme-light .wallet-modal-send-amount-suffix {
|
|
1111
|
+
color: #6b7280;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
.wallet-modal-send-balance {
|
|
1115
|
+
display: flex;
|
|
1116
|
+
align-items: center;
|
|
1117
|
+
gap: 8px;
|
|
1118
|
+
font-size: 12px;
|
|
1119
|
+
margin-top: 4px;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
.wallet-modal-send-balance-label {
|
|
1123
|
+
opacity: 0.7;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
.wallet-modal-send-balance-value {
|
|
1127
|
+
font-weight: 500;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
.wallet-modal-theme-dark .wallet-modal-send-balance {
|
|
1131
|
+
color: #9ca3af;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
.wallet-modal-theme-light .wallet-modal-send-balance {
|
|
1135
|
+
color: #6b7280;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
/* Address Input */
|
|
1139
|
+
.wallet-modal-send-address-input {
|
|
1140
|
+
width: 100%;
|
|
1141
|
+
padding: 14px 16px;
|
|
1142
|
+
border-radius: 12px;
|
|
1143
|
+
border: 1px solid;
|
|
1144
|
+
background: transparent;
|
|
1145
|
+
font-size: 14px;
|
|
1146
|
+
font-family: monospace;
|
|
1147
|
+
outline: none;
|
|
1148
|
+
transition: all 0.2s;
|
|
1149
|
+
box-sizing: border-box;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.wallet-modal-theme-dark .wallet-modal-send-address-input {
|
|
1153
|
+
border-color: #3a3a3a;
|
|
1154
|
+
background: #2a2a2a;
|
|
1155
|
+
color: #ffffff;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.wallet-modal-theme-light .wallet-modal-send-address-input {
|
|
1159
|
+
border-color: #e5e7eb;
|
|
1160
|
+
background: #f9fafb;
|
|
1161
|
+
color: #111827;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.wallet-modal-send-address-input.error {
|
|
1165
|
+
border-color: #ef4444;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
.wallet-modal-send-address-input:focus {
|
|
1169
|
+
border-color: #9333ea;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
.wallet-modal-theme-dark .wallet-modal-send-address-input:focus {
|
|
1173
|
+
border-color: #a855f7;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.wallet-modal-theme-light .wallet-modal-send-address-input:focus {
|
|
1177
|
+
border-color: #9333ea;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.wallet-modal-send-address-input::placeholder {
|
|
1181
|
+
opacity: 0.5;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/* Error Messages */
|
|
1185
|
+
.wallet-modal-send-error {
|
|
1186
|
+
font-size: 12px;
|
|
1187
|
+
color: #ef4444;
|
|
1188
|
+
margin-top: 4px;
|
|
1189
|
+
text-align: left;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
/* Preview Transaction Button */
|
|
1193
|
+
.wallet-modal-send-preview-btn {
|
|
1194
|
+
width: 100%;
|
|
1195
|
+
padding: 14px 24px;
|
|
1196
|
+
border-radius: 12px;
|
|
1197
|
+
border: none;
|
|
1198
|
+
font-size: 16px;
|
|
1199
|
+
font-weight: 600;
|
|
1200
|
+
cursor: pointer;
|
|
1201
|
+
transition: all 0.2s;
|
|
1202
|
+
display: flex;
|
|
1203
|
+
align-items: center;
|
|
1204
|
+
justify-content: center;
|
|
1205
|
+
gap: 8px;
|
|
1206
|
+
margin-top: 8px;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.wallet-modal-send-preview-btn.disabled {
|
|
1210
|
+
opacity: 0.5;
|
|
1211
|
+
cursor: not-allowed;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.wallet-modal-theme-dark .wallet-modal-send-preview-btn {
|
|
1215
|
+
background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
|
|
1216
|
+
color: #ffffff;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
.wallet-modal-theme-light .wallet-modal-send-preview-btn {
|
|
1220
|
+
background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
|
|
1221
|
+
color: #ffffff;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
.wallet-modal-theme-dark .wallet-modal-send-preview-btn:hover:not(.disabled) {
|
|
1225
|
+
background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
|
|
1226
|
+
transform: translateY(-1px);
|
|
1227
|
+
box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
.wallet-modal-theme-light .wallet-modal-send-preview-btn:hover:not(.disabled) {
|
|
1231
|
+
background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
|
|
1232
|
+
transform: translateY(-1px);
|
|
1233
|
+
box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2);
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
/* Preview Modal */
|
|
1237
|
+
.wallet-modal-preview-content {
|
|
1238
|
+
padding: 20px 0;
|
|
1239
|
+
display: flex;
|
|
1240
|
+
flex-direction: column;
|
|
1241
|
+
gap: 24px;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
.wallet-modal-preview-section {
|
|
1245
|
+
display: flex;
|
|
1246
|
+
flex-direction: column;
|
|
1247
|
+
gap: 16px;
|
|
1248
|
+
padding: 20px;
|
|
1249
|
+
border-radius: 12px;
|
|
1250
|
+
border: 1px solid;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
.wallet-modal-theme-dark .wallet-modal-preview-section {
|
|
1254
|
+
background: #2a2a2a;
|
|
1255
|
+
border-color: #3a3a3a;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
.wallet-modal-theme-light .wallet-modal-preview-section {
|
|
1259
|
+
background: #f9fafb;
|
|
1260
|
+
border-color: #e5e7eb;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
.wallet-modal-preview-item {
|
|
1264
|
+
display: flex;
|
|
1265
|
+
flex-direction: column;
|
|
1266
|
+
gap: 4px;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.wallet-modal-preview-label {
|
|
1270
|
+
font-size: 12px;
|
|
1271
|
+
opacity: 0.7;
|
|
1272
|
+
text-align: left;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
.wallet-modal-preview-value {
|
|
1276
|
+
font-size: 14px;
|
|
1277
|
+
font-weight: 500;
|
|
1278
|
+
word-break: break-all;
|
|
1279
|
+
text-align: left;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
.wallet-modal-theme-dark .wallet-modal-preview-label,
|
|
1283
|
+
.wallet-modal-theme-dark .wallet-modal-preview-value {
|
|
1284
|
+
color: #ffffff;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
.wallet-modal-theme-light .wallet-modal-preview-label,
|
|
1288
|
+
.wallet-modal-theme-light .wallet-modal-preview-value {
|
|
1289
|
+
color: #111827;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
.wallet-modal-preview-actions {
|
|
1293
|
+
display: flex;
|
|
1294
|
+
flex-direction: column;
|
|
1295
|
+
gap: 12px;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
.wallet-modal-preview-btn {
|
|
1299
|
+
width: 100%;
|
|
1300
|
+
padding: 14px 24px;
|
|
1301
|
+
border-radius: 12px;
|
|
1302
|
+
border: none;
|
|
1303
|
+
font-size: 16px;
|
|
1304
|
+
font-weight: 600;
|
|
1305
|
+
cursor: pointer;
|
|
1306
|
+
transition: all 0.2s;
|
|
1307
|
+
display: flex;
|
|
1308
|
+
align-items: center;
|
|
1309
|
+
justify-content: center;
|
|
1310
|
+
gap: 8px;
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
.wallet-modal-preview-btn:disabled {
|
|
1314
|
+
opacity: 0.5;
|
|
1315
|
+
cursor: not-allowed;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
.wallet-modal-preview-btn-primary {
|
|
1319
|
+
background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
|
|
1320
|
+
color: #ffffff;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
.wallet-modal-preview-btn-primary:hover:not(:disabled) {
|
|
1324
|
+
background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
|
|
1325
|
+
transform: translateY(-1px);
|
|
1326
|
+
box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
.wallet-modal-preview-btn-secondary {
|
|
1330
|
+
background: transparent;
|
|
1331
|
+
border: 1px solid;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
.wallet-modal-theme-dark .wallet-modal-preview-btn-secondary {
|
|
1335
|
+
border-color: #3a3a3a;
|
|
1336
|
+
color: #ffffff;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
.wallet-modal-theme-light .wallet-modal-preview-btn-secondary {
|
|
1340
|
+
border-color: #e5e7eb;
|
|
1341
|
+
color: #111827;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
.wallet-modal-theme-dark .wallet-modal-preview-btn-secondary:hover:not(:disabled) {
|
|
1345
|
+
background: #3a3a3a;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
.wallet-modal-theme-light .wallet-modal-preview-btn-secondary:hover:not(:disabled) {
|
|
1349
|
+
background: #f3f4f6;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/* Success Modal */
|
|
1353
|
+
.wallet-modal-success-content {
|
|
901
1354
|
padding: 40px 20px;
|
|
902
|
-
|
|
1355
|
+
display: flex;
|
|
1356
|
+
flex-direction: column;
|
|
1357
|
+
align-items: center;
|
|
1358
|
+
gap: 20px;
|
|
1359
|
+
text-align: center;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
.wallet-modal-success-icon {
|
|
1363
|
+
width: 64px;
|
|
1364
|
+
height: 64px;
|
|
1365
|
+
display: flex;
|
|
1366
|
+
align-items: center;
|
|
1367
|
+
justify-content: center;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
.wallet-modal-success-title {
|
|
1371
|
+
font-size: 24px;
|
|
1372
|
+
font-weight: 600;
|
|
1373
|
+
margin: 0;
|
|
903
1374
|
}
|
|
904
1375
|
|
|
905
|
-
.wallet-modal-theme-dark .wallet-modal-
|
|
1376
|
+
.wallet-modal-theme-dark .wallet-modal-success-title {
|
|
1377
|
+
color: #ffffff;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
.wallet-modal-theme-light .wallet-modal-success-title {
|
|
1381
|
+
color: #111827;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
.wallet-modal-success-message {
|
|
1385
|
+
font-size: 14px;
|
|
1386
|
+
opacity: 0.7;
|
|
1387
|
+
margin: 0;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
.wallet-modal-theme-dark .wallet-modal-success-message {
|
|
906
1391
|
color: #9ca3af;
|
|
907
1392
|
}
|
|
908
1393
|
|
|
909
|
-
.wallet-modal-theme-light .wallet-modal-
|
|
1394
|
+
.wallet-modal-theme-light .wallet-modal-success-message {
|
|
910
1395
|
color: #6b7280;
|
|
911
1396
|
}
|
|
912
1397
|
|
|
1398
|
+
.wallet-modal-success-link {
|
|
1399
|
+
font-size: 14px;
|
|
1400
|
+
text-decoration: none;
|
|
1401
|
+
padding: 8px 16px;
|
|
1402
|
+
border-radius: 8px;
|
|
1403
|
+
transition: all 0.2s;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
.wallet-modal-theme-dark .wallet-modal-success-link {
|
|
1407
|
+
color: #a855f7;
|
|
1408
|
+
background: rgba(147, 51, 234, 0.1);
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
.wallet-modal-theme-light .wallet-modal-success-link {
|
|
1412
|
+
color: #9333ea;
|
|
1413
|
+
background: rgba(147, 51, 234, 0.1);
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
.wallet-modal-success-link:hover {
|
|
1417
|
+
background: rgba(147, 51, 234, 0.2);
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
.wallet-modal-success-btn {
|
|
1421
|
+
width: 100%;
|
|
1422
|
+
padding: 14px 24px;
|
|
1423
|
+
border-radius: 12px;
|
|
1424
|
+
border: none;
|
|
1425
|
+
font-size: 16px;
|
|
1426
|
+
font-weight: 600;
|
|
1427
|
+
cursor: pointer;
|
|
1428
|
+
transition: all 0.2s;
|
|
1429
|
+
background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
|
|
1430
|
+
color: #ffffff;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
.wallet-modal-success-btn:hover {
|
|
1434
|
+
background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
|
|
1435
|
+
transform: translateY(-1px);
|
|
1436
|
+
box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
|
|
1437
|
+
}
|
|
1438
|
+
|
|
913
1439
|
.wallet-modal-action-btn-primary {
|
|
914
1440
|
padding: 14px 24px;
|
|
915
1441
|
border-radius: 12px;
|