@matchain/matchid-sdk-react 0.1.51-alpha.0 → 0.1.51-alpha.2
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/{chunk-JJGSJGWC.mjs → chunk-5W2S6QMI.mjs} +2 -2
- package/dist/{chunk-5P2AOB6Q.mjs → chunk-OWEJPD4R.mjs} +18 -16
- package/dist/chunk-OWEJPD4R.mjs.map +1 -0
- package/dist/components/index.js +5 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +3 -3
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +5 -3
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/{index-BU0r26-N.d.mts → index-B-QfwtE5.d.mts} +1 -1
- package/dist/{index-C3aFwrd4.d.ts → index-X_fw5wX_.d.ts} +1 -1
- package/dist/index.css +136 -43
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/utils/index.d.mts +2 -1
- package/dist/utils/index.d.ts +2 -1
- package/example/src/pages/Wallet/components/MatchWallet.tsx +1 -1
- package/package.json +1 -1
- package/dist/chunk-5P2AOB6Q.mjs.map +0 -1
- /package/dist/{chunk-JJGSJGWC.mjs.map → chunk-5W2S6QMI.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
useTransaction,
|
|
13
13
|
useUserInfo,
|
|
14
14
|
useWallet
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-OWEJPD4R.mjs";
|
|
16
16
|
import "../chunk-UA6XHZHX.mjs";
|
|
17
|
+
import "../chunk-HLUFAIFV.mjs";
|
|
17
18
|
import {
|
|
18
19
|
useLayout_exports
|
|
19
20
|
} from "../chunk-FB5MHLWX.mjs";
|
|
20
|
-
import "../chunk-HLUFAIFV.mjs";
|
|
21
21
|
import "../chunk-LHNKZISB.mjs";
|
|
22
22
|
import "../chunk-J5LGTIGS.mjs";
|
|
23
23
|
export {
|
|
@@ -61,7 +61,7 @@ declare const LOGIN_METHOD_MAP: {
|
|
|
61
61
|
|
|
62
62
|
declare function useUserInfo(): {
|
|
63
63
|
loginByMethod: (method: ISocialLoginMethod) => Promise<Window | null>;
|
|
64
|
-
loginByTelegram: () => Promise<Window | null>;
|
|
64
|
+
loginByTelegram: () => Promise<Window | null | undefined>;
|
|
65
65
|
loginByTwitter: () => Promise<Window | null>;
|
|
66
66
|
loginByGoogle: () => Promise<Window | null>;
|
|
67
67
|
loginByWallet: () => Promise<Window | null>;
|
|
@@ -61,7 +61,7 @@ declare const LOGIN_METHOD_MAP: {
|
|
|
61
61
|
|
|
62
62
|
declare function useUserInfo(): {
|
|
63
63
|
loginByMethod: (method: ISocialLoginMethod) => Promise<Window | null>;
|
|
64
|
-
loginByTelegram: () => Promise<Window | null>;
|
|
64
|
+
loginByTelegram: () => Promise<Window | null | undefined>;
|
|
65
65
|
loginByTwitter: () => Promise<Window | null>;
|
|
66
66
|
loginByGoogle: () => Promise<Window | null>;
|
|
67
67
|
loginByWallet: () => Promise<Window | null>;
|
package/dist/index.css
CHANGED
|
@@ -1001,6 +1001,7 @@ body {
|
|
|
1001
1001
|
|
|
1002
1002
|
display: flex;
|
|
1003
1003
|
justify-content: space-between;
|
|
1004
|
+
|
|
1004
1005
|
.matchid-drawer-header-content {
|
|
1005
1006
|
display: flex;
|
|
1006
1007
|
gap: 12px;
|
|
@@ -1173,11 +1174,17 @@ body {
|
|
|
1173
1174
|
display: flex;
|
|
1174
1175
|
flex-direction: column;
|
|
1175
1176
|
gap: 48px;
|
|
1177
|
+
@media screen and (max-width: 768px) {
|
|
1178
|
+
gap:36px;
|
|
1179
|
+
}
|
|
1176
1180
|
|
|
1177
1181
|
.matchid-change-network-list {
|
|
1178
1182
|
display: flex;
|
|
1179
1183
|
flex-direction: column;
|
|
1180
1184
|
gap: 24px;
|
|
1185
|
+
@media screen and (max-width: 768px) {
|
|
1186
|
+
gap: 16px;
|
|
1187
|
+
}
|
|
1181
1188
|
|
|
1182
1189
|
.matchid-change-network-item {
|
|
1183
1190
|
cursor: pointer;
|
|
@@ -1189,6 +1196,10 @@ body {
|
|
|
1189
1196
|
border: 1px solid var(--matchid-line);
|
|
1190
1197
|
border-radius: 16px;
|
|
1191
1198
|
transition: border-color 0.2s;
|
|
1199
|
+
@media screen and (max-width: 768px) {
|
|
1200
|
+
padding: 10px 16px;
|
|
1201
|
+
border-radius: 12px;
|
|
1202
|
+
}
|
|
1192
1203
|
|
|
1193
1204
|
&:hover, &.matchid-change-network-selected {
|
|
1194
1205
|
border-color: var(--matchid-highlight-orange);
|
|
@@ -1198,15 +1209,17 @@ body {
|
|
|
1198
1209
|
display: flex;
|
|
1199
1210
|
align-items: center;
|
|
1200
1211
|
gap: 16px;
|
|
1212
|
+
@media screen and (max-width: 768px) {
|
|
1213
|
+
gap:8px;
|
|
1214
|
+
}
|
|
1201
1215
|
|
|
1202
1216
|
.matchid-change-network-item-icon {
|
|
1203
|
-
width:
|
|
1204
|
-
height:
|
|
1205
|
-
border-radius:
|
|
1217
|
+
width: 28px;
|
|
1218
|
+
height: 28px;
|
|
1219
|
+
border-radius: 8px;
|
|
1206
1220
|
@media (min-width: 768px) {
|
|
1207
1221
|
width: 40px;
|
|
1208
1222
|
height: 40px;
|
|
1209
|
-
|
|
1210
1223
|
}
|
|
1211
1224
|
}
|
|
1212
1225
|
|
|
@@ -1255,13 +1268,18 @@ body {
|
|
|
1255
1268
|
align-items: center;
|
|
1256
1269
|
flex: 1;
|
|
1257
1270
|
gap: 48px;
|
|
1271
|
+
@media screen and (max-width: 768px) {
|
|
1272
|
+
gap: 36px;
|
|
1273
|
+
}
|
|
1258
1274
|
|
|
1259
1275
|
.matchid-receive-container {
|
|
1260
1276
|
display: flex;
|
|
1261
1277
|
flex-direction: column;
|
|
1262
1278
|
align-items: center;
|
|
1263
1279
|
gap: 48px;
|
|
1264
|
-
|
|
1280
|
+
@media screen and (max-width: 768px) {
|
|
1281
|
+
gap: 24px;
|
|
1282
|
+
}
|
|
1265
1283
|
.matchid-receive-text {
|
|
1266
1284
|
font-size: 14px;
|
|
1267
1285
|
font-weight: 500;
|
|
@@ -1275,10 +1293,16 @@ body {
|
|
|
1275
1293
|
border: 2px solid var(--matchid-line);
|
|
1276
1294
|
border-radius: 12px;
|
|
1277
1295
|
padding: 16px;
|
|
1278
|
-
|
|
1296
|
+
@media screen and (max-width: 768px) {
|
|
1297
|
+
padding: 10px;
|
|
1298
|
+
}
|
|
1279
1299
|
.matchid-qr-code {
|
|
1280
1300
|
width: 148px;
|
|
1281
1301
|
height: 148px;
|
|
1302
|
+
@media screen and (max-width: 768px) {
|
|
1303
|
+
width: 88px;
|
|
1304
|
+
height: 88px;
|
|
1305
|
+
}
|
|
1282
1306
|
}
|
|
1283
1307
|
}
|
|
1284
1308
|
|
|
@@ -1286,12 +1310,8 @@ body {
|
|
|
1286
1310
|
text-align: center;
|
|
1287
1311
|
word-break: break-all;
|
|
1288
1312
|
color: var(--matchid-link);
|
|
1289
|
-
font-size:
|
|
1313
|
+
font-size: 14px;
|
|
1290
1314
|
font-weight: 500;
|
|
1291
|
-
|
|
1292
|
-
@media (min-width: 768px) {
|
|
1293
|
-
font-size: 14px;
|
|
1294
|
-
}
|
|
1295
1315
|
}
|
|
1296
1316
|
}
|
|
1297
1317
|
}
|
|
@@ -1300,11 +1320,17 @@ body {
|
|
|
1300
1320
|
display: flex;
|
|
1301
1321
|
flex-direction: column;
|
|
1302
1322
|
gap: 48px;
|
|
1323
|
+
@media screen and (max-width: 768px) {
|
|
1324
|
+
gap: 36px;
|
|
1325
|
+
}
|
|
1303
1326
|
|
|
1304
1327
|
.matchid-import-token-form {
|
|
1305
1328
|
display: flex;
|
|
1306
1329
|
flex-direction: column;
|
|
1307
|
-
gap: 24px
|
|
1330
|
+
gap: 24px;
|
|
1331
|
+
@media screen and (max-width: 768px) {
|
|
1332
|
+
gap: 16px;
|
|
1333
|
+
}
|
|
1308
1334
|
}
|
|
1309
1335
|
}
|
|
1310
1336
|
|
|
@@ -1312,6 +1338,9 @@ body {
|
|
|
1312
1338
|
display: flex;
|
|
1313
1339
|
flex-direction: column;
|
|
1314
1340
|
gap: 16px;
|
|
1341
|
+
@media screen and (max-width: 768px) {
|
|
1342
|
+
gap: 8px;
|
|
1343
|
+
}
|
|
1315
1344
|
|
|
1316
1345
|
.matchid-wallet-asset-item {
|
|
1317
1346
|
display: flex;
|
|
@@ -1321,6 +1350,9 @@ body {
|
|
|
1321
1350
|
padding: 16px;
|
|
1322
1351
|
border: 1px solid var(--matchid-line);
|
|
1323
1352
|
border-radius: 16px;
|
|
1353
|
+
@media screen and (max-width: 768px) {
|
|
1354
|
+
padding: 10px 16px;
|
|
1355
|
+
}
|
|
1324
1356
|
|
|
1325
1357
|
&:hover {
|
|
1326
1358
|
border-color: var(--matchid-highlight-orange);
|
|
@@ -1332,11 +1364,18 @@ body {
|
|
|
1332
1364
|
width: 42px;
|
|
1333
1365
|
display: flex;
|
|
1334
1366
|
align-items: center;
|
|
1335
|
-
|
|
1367
|
+
@media screen and (max-width: 768px) {
|
|
1368
|
+
width: 36px;
|
|
1369
|
+
height: 36px;
|
|
1370
|
+
}
|
|
1336
1371
|
.matchid-wallet-asset-icon {
|
|
1337
1372
|
width: 40px;
|
|
1338
1373
|
height: 40px;
|
|
1339
1374
|
border-radius: 8px;
|
|
1375
|
+
@media screen and (max-width: 768px) {
|
|
1376
|
+
width: 36px;
|
|
1377
|
+
height: 36px;
|
|
1378
|
+
}
|
|
1340
1379
|
}
|
|
1341
1380
|
|
|
1342
1381
|
.matchid-wallet-asset-chain {
|
|
@@ -1346,6 +1385,10 @@ body {
|
|
|
1346
1385
|
height: 12px;
|
|
1347
1386
|
right: 0px;
|
|
1348
1387
|
bottom: 1px;
|
|
1388
|
+
@media screen and (max-width: 768px) {
|
|
1389
|
+
wdth:10px;
|
|
1390
|
+
height:10px;
|
|
1391
|
+
}
|
|
1349
1392
|
}
|
|
1350
1393
|
}
|
|
1351
1394
|
|
|
@@ -1357,6 +1400,9 @@ body {
|
|
|
1357
1400
|
justify-content: space-between;
|
|
1358
1401
|
gap: 10px;
|
|
1359
1402
|
|
|
1403
|
+
@media screen and (max-width: 768px) {
|
|
1404
|
+
height: 44px;
|
|
1405
|
+
}
|
|
1360
1406
|
.matchid-wallet-asset-name {
|
|
1361
1407
|
font-size: 16px;
|
|
1362
1408
|
font-weight: 500;
|
|
@@ -1391,10 +1437,8 @@ body {
|
|
|
1391
1437
|
font-size: 14px;
|
|
1392
1438
|
font-weight: 500;
|
|
1393
1439
|
color: var(--matchid-gray-600);
|
|
1394
|
-
@media (max-width: 768px) {
|
|
1395
|
-
font-size: 12px;
|
|
1396
|
-
}
|
|
1397
1440
|
}
|
|
1441
|
+
|
|
1398
1442
|
}
|
|
1399
1443
|
|
|
1400
1444
|
.matchid-wallet-asset-footer {
|
|
@@ -1416,9 +1460,6 @@ body {
|
|
|
1416
1460
|
.matchid-wallet-asset-change {
|
|
1417
1461
|
font-size: 14px;
|
|
1418
1462
|
font-weight: 400;
|
|
1419
|
-
@media (max-width: 768px) {
|
|
1420
|
-
font-size: 12px;
|
|
1421
|
-
}
|
|
1422
1463
|
}
|
|
1423
1464
|
}
|
|
1424
1465
|
}
|
|
@@ -1439,9 +1480,11 @@ body {
|
|
|
1439
1480
|
justify-content: space-between;
|
|
1440
1481
|
flex-direction: column;
|
|
1441
1482
|
padding-bottom: 200px;
|
|
1442
|
-
gap:
|
|
1483
|
+
gap: 48px;
|
|
1484
|
+
|
|
1443
1485
|
@media (max-width: 768px) {
|
|
1444
1486
|
padding-bottom: 0px;
|
|
1487
|
+
gap:36px;
|
|
1445
1488
|
}
|
|
1446
1489
|
|
|
1447
1490
|
.matchid-token-main {
|
|
@@ -1494,6 +1537,9 @@ body {
|
|
|
1494
1537
|
padding: 16px;
|
|
1495
1538
|
background: var(--matchid-gray-100);
|
|
1496
1539
|
border-radius: 12px;
|
|
1540
|
+
@media (max-width: 768px) {
|
|
1541
|
+
gap:8px;
|
|
1542
|
+
}
|
|
1497
1543
|
|
|
1498
1544
|
.matchid-token-contract-title {
|
|
1499
1545
|
color: var(--matchid-black);
|
|
@@ -1526,6 +1572,7 @@ body {
|
|
|
1526
1572
|
gap: 40px;
|
|
1527
1573
|
@media (max-width: 768px) {
|
|
1528
1574
|
padding-bottom: 0px;
|
|
1575
|
+
gap:68px;
|
|
1529
1576
|
}
|
|
1530
1577
|
|
|
1531
1578
|
.matchid-token-send-content {
|
|
@@ -1639,6 +1686,9 @@ body {
|
|
|
1639
1686
|
font-weight: 600;
|
|
1640
1687
|
border-bottom: 1px solid var(--matchid-line);
|
|
1641
1688
|
caret-color: var(--matchid-black);
|
|
1689
|
+
@media (max-width: 768px) {
|
|
1690
|
+
font-size: 20px;
|
|
1691
|
+
}
|
|
1642
1692
|
|
|
1643
1693
|
&::placeholder {
|
|
1644
1694
|
color: var(--matchid-disabled);
|
|
@@ -1657,6 +1707,9 @@ body {
|
|
|
1657
1707
|
&.matchid-token-input-sm {
|
|
1658
1708
|
.matchid-token-input {
|
|
1659
1709
|
font-size: 16px;
|
|
1710
|
+
@media (max-width: 768px) {
|
|
1711
|
+
font-size: 14px;
|
|
1712
|
+
}
|
|
1660
1713
|
}
|
|
1661
1714
|
}
|
|
1662
1715
|
|
|
@@ -1676,8 +1729,10 @@ body {
|
|
|
1676
1729
|
overflow-y: scroll;
|
|
1677
1730
|
max-height: 70vh;
|
|
1678
1731
|
|
|
1732
|
+
|
|
1679
1733
|
@media (max-width: 768px) {
|
|
1680
1734
|
padding-bottom: 0px;
|
|
1735
|
+
gap:36px;
|
|
1681
1736
|
}
|
|
1682
1737
|
|
|
1683
1738
|
.matchid-token-send-list {
|
|
@@ -1686,6 +1741,10 @@ body {
|
|
|
1686
1741
|
gap: 24px;
|
|
1687
1742
|
flex: 1;
|
|
1688
1743
|
overflow-y: scroll;
|
|
1744
|
+
max-height: calc(70vh - 48px - 50px);
|
|
1745
|
+
@media (max-width: 768px) {
|
|
1746
|
+
max-height: calc(70vh - 48px - 38px);
|
|
1747
|
+
}
|
|
1689
1748
|
|
|
1690
1749
|
.matchid-token-send-item {
|
|
1691
1750
|
cursor: pointer;
|
|
@@ -1697,6 +1756,10 @@ body {
|
|
|
1697
1756
|
border: 1px solid var(--matchid-line);
|
|
1698
1757
|
border-radius: 16px;
|
|
1699
1758
|
transition: border-color 0.2s;
|
|
1759
|
+
@media (max-width: 768px) {
|
|
1760
|
+
padding: 10px 16px;
|
|
1761
|
+
border-radius: 12px;
|
|
1762
|
+
}
|
|
1700
1763
|
|
|
1701
1764
|
&:hover, &.matchid-token-send-checked {
|
|
1702
1765
|
border-color: var(--matchid-highlight-orange);
|
|
@@ -1707,10 +1770,13 @@ body {
|
|
|
1707
1770
|
align-items: center;
|
|
1708
1771
|
flex: 1;
|
|
1709
1772
|
gap: 16px;
|
|
1773
|
+
@media (max-width: 768px) {
|
|
1774
|
+
gap: 8px;
|
|
1775
|
+
}
|
|
1710
1776
|
|
|
1711
1777
|
.matchid-token-send-logo {
|
|
1712
|
-
width:
|
|
1713
|
-
height:
|
|
1778
|
+
width: 28px;
|
|
1779
|
+
height: 28px;
|
|
1714
1780
|
position: relative;
|
|
1715
1781
|
|
|
1716
1782
|
.matchid-token-send-icon {
|
|
@@ -1763,7 +1829,11 @@ body {
|
|
|
1763
1829
|
border: 1px solid var(--matchid-line);
|
|
1764
1830
|
border-radius: 16px;
|
|
1765
1831
|
height: 78px;
|
|
1766
|
-
|
|
1832
|
+
@media screen and (max-width: 768px) {
|
|
1833
|
+
height: 64px;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
&:hover {
|
|
1767
1837
|
border-color: var(--matchid-highlight-orange);
|
|
1768
1838
|
}
|
|
1769
1839
|
|
|
@@ -1780,6 +1850,10 @@ body {
|
|
|
1780
1850
|
display: flex;
|
|
1781
1851
|
align-items: center;
|
|
1782
1852
|
justify-content: center;
|
|
1853
|
+
@media screen and (max-width: 768px) {
|
|
1854
|
+
width: 36px;
|
|
1855
|
+
height: 36px;
|
|
1856
|
+
}
|
|
1783
1857
|
|
|
1784
1858
|
.rotate-180 {
|
|
1785
1859
|
transform: rotate(180deg);
|
|
@@ -1820,73 +1894,92 @@ body {
|
|
|
1820
1894
|
gap: 8px;
|
|
1821
1895
|
font-size: 16px;
|
|
1822
1896
|
font-weight: 500;
|
|
1897
|
+
span{
|
|
1898
|
+
text-align: right;
|
|
1899
|
+
}
|
|
1823
1900
|
|
|
1824
1901
|
@media screen and (max-width: 768px) {
|
|
1825
1902
|
font-size: 14px;
|
|
1826
1903
|
}
|
|
1827
1904
|
}
|
|
1828
|
-
|
|
1905
|
+
|
|
1906
|
+
.matchid-transaction-item-loading {
|
|
1829
1907
|
color: var(--matchid-black);
|
|
1830
1908
|
}
|
|
1831
|
-
|
|
1909
|
+
|
|
1910
|
+
.matchid-transaction-item-success {
|
|
1832
1911
|
color: var(--matchid-success);
|
|
1833
1912
|
}
|
|
1834
|
-
|
|
1913
|
+
|
|
1914
|
+
.matchid-transaction-item-error {
|
|
1835
1915
|
color: var(--matchid-error);
|
|
1836
1916
|
}
|
|
1837
1917
|
|
|
1838
1918
|
}
|
|
1839
1919
|
|
|
1840
|
-
.matchid-transaction-list{
|
|
1920
|
+
.matchid-transaction-list {
|
|
1841
1921
|
display: flex;
|
|
1842
1922
|
flex-direction: column;
|
|
1843
1923
|
gap: 16px;
|
|
1924
|
+
@media screen and (max-width: 768px) {
|
|
1925
|
+
gap: 8px;
|
|
1926
|
+
}
|
|
1844
1927
|
}
|
|
1845
1928
|
|
|
1846
|
-
.matchid-list-nomore{
|
|
1847
|
-
gap:8px;
|
|
1929
|
+
.matchid-list-nomore {
|
|
1930
|
+
gap: 8px;
|
|
1848
1931
|
text-align: center;
|
|
1849
1932
|
font-size: 16px;
|
|
1850
|
-
padding:16px 0;
|
|
1933
|
+
padding: 16px 0;
|
|
1851
1934
|
display: flex;
|
|
1852
1935
|
align-items: center;
|
|
1853
1936
|
justify-content: center;
|
|
1854
1937
|
color: var(--matchid-secondary-grey);
|
|
1855
|
-
@media screen and (max-width: 768px){
|
|
1938
|
+
@media screen and (max-width: 768px) {
|
|
1856
1939
|
font-size: 14px;
|
|
1857
1940
|
}
|
|
1858
1941
|
}
|
|
1859
|
-
|
|
1942
|
+
|
|
1943
|
+
.matchid-flex {
|
|
1860
1944
|
display: flex;
|
|
1861
1945
|
}
|
|
1862
|
-
|
|
1946
|
+
|
|
1947
|
+
.matchid-import-token-result {
|
|
1863
1948
|
display: flex;
|
|
1864
|
-
flex:1;
|
|
1949
|
+
flex: 1;
|
|
1865
1950
|
flex-direction: column;
|
|
1866
1951
|
padding-bottom: 100px;
|
|
1867
1952
|
gap: 24px;
|
|
1868
1953
|
justify-content: space-between;
|
|
1869
|
-
@media screen and (max-width: 768px){
|
|
1954
|
+
@media screen and (max-width: 768px) {
|
|
1870
1955
|
padding-bottom: 0;
|
|
1956
|
+
gap:115px;
|
|
1871
1957
|
}
|
|
1872
|
-
|
|
1958
|
+
|
|
1959
|
+
.matchid-import-token-result-box {
|
|
1873
1960
|
display: flex;
|
|
1874
1961
|
flex-direction: column;
|
|
1875
1962
|
gap: 48px;
|
|
1876
1963
|
align-items: center;
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1964
|
+
@media screen and (max-width: 768px) {
|
|
1965
|
+
gap: 24px;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
.matchid-import-token-result-img {
|
|
1969
|
+
width: 96px;
|
|
1970
|
+
height: 96px;
|
|
1880
1971
|
}
|
|
1881
|
-
|
|
1972
|
+
|
|
1973
|
+
.matchid-import-token-result-text {
|
|
1882
1974
|
font-size: 24px;
|
|
1883
1975
|
font-weight: 500;
|
|
1884
1976
|
color: var(--matchid-success);
|
|
1885
|
-
@media screen and (max-width: 768px){
|
|
1886
|
-
font-size:
|
|
1977
|
+
@media screen and (max-width: 768px) {
|
|
1978
|
+
font-size: 18px;
|
|
1887
1979
|
}
|
|
1888
1980
|
}
|
|
1889
|
-
|
|
1981
|
+
|
|
1982
|
+
.matchid-import-token-result-text-fail {
|
|
1890
1983
|
color: var(--matchid-error);
|
|
1891
1984
|
}
|
|
1892
1985
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-Dd_ExpLx.mjs';
|
|
3
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-B-QfwtE5.mjs';
|
|
4
4
|
export { i as Components } from './index-XzSw1Bym.mjs';
|
|
5
5
|
export { i as UI } from './index-D5OzNRfu.mjs';
|
|
6
6
|
export { i as Api } from './index-CDqIk5k2.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-Dd_ExpLx.js';
|
|
3
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-X_fw5wX_.js';
|
|
4
4
|
export { i as Components } from './index-BDoEk1EK.js';
|
|
5
5
|
export { i as UI } from './index-DMUZQqNB.js';
|
|
6
6
|
export { i as Api } from './index-DvM6x6e6.js';
|
package/dist/index.js
CHANGED
|
@@ -3282,6 +3282,7 @@ function useMatchChain() {
|
|
|
3282
3282
|
}) {
|
|
3283
3283
|
const { chainId: storeChainId2, setChainId: setChainId2 } = useLocalStore_default();
|
|
3284
3284
|
const [selectedChainId, setSelectedChainId] = (0, import_react13.useState)(storeChainId2);
|
|
3285
|
+
const isDownMd = useDownMd();
|
|
3285
3286
|
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: `matchid-change-network-box`, children: [
|
|
3286
3287
|
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
|
|
3287
3288
|
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
@@ -3294,7 +3295,7 @@ function useMatchChain() {
|
|
|
3294
3295
|
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
|
|
3295
3296
|
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
|
|
3296
3297
|
] }),
|
|
3297
|
-
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Radio, { checked: selectedChainId === item.id })
|
|
3298
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
|
|
3298
3299
|
]
|
|
3299
3300
|
},
|
|
3300
3301
|
index
|
|
@@ -5604,6 +5605,7 @@ var import_react31 = require("react");
|
|
|
5604
5605
|
var import_react_intl16 = require("react-intl");
|
|
5605
5606
|
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
5606
5607
|
function TokenSendList({ close }) {
|
|
5608
|
+
const isDownMd = useDownMd();
|
|
5607
5609
|
const walletAssets = useMatchWalletAssets();
|
|
5608
5610
|
const matchWalletAssetList = useMatchWalletAssetList({
|
|
5609
5611
|
list: walletAssets.mergedAssets
|
|
@@ -5630,14 +5632,14 @@ function TokenSendList({ close }) {
|
|
|
5630
5632
|
setChecked(n);
|
|
5631
5633
|
},
|
|
5632
5634
|
children: [
|
|
5633
|
-
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Radio, { checked: checked?.address == n.address }),
|
|
5635
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
|
|
5634
5636
|
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "matchid-token-send-content", children: [
|
|
5635
5637
|
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "matchid-token-send-logo", children: [
|
|
5636
5638
|
n.icon ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
5637
5639
|
AlphaAvatar2,
|
|
5638
5640
|
{
|
|
5639
5641
|
className: `matchid-token-send-icon`,
|
|
5640
|
-
size: 40,
|
|
5642
|
+
size: isDownMd ? 28 : 40,
|
|
5641
5643
|
name: n.symbol || n.name || ""
|
|
5642
5644
|
}
|
|
5643
5645
|
),
|