@matchain/matchid-sdk-react 0.1.48-alpha.2 → 0.1.48-alpha.20
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/assets/icon/index.d.mts +12 -2
- package/dist/assets/icon/index.d.ts +12 -2
- package/dist/assets/icon/index.js +93 -2
- package/dist/assets/icon/index.js.map +1 -1
- package/dist/assets/icon/index.mjs +9 -1
- package/dist/{chunk-6HRRPZPM.mjs → chunk-3UVHHJP6.mjs} +2 -2
- package/dist/chunk-5JHHHLG4.mjs +136 -0
- package/dist/chunk-5JHHHLG4.mjs.map +1 -0
- package/dist/{chunk-A5D3NKTK.mjs → chunk-LHNKZISB.mjs} +91 -4
- package/dist/chunk-LHNKZISB.mjs.map +1 -0
- package/dist/{chunk-D6IUBR7S.mjs → chunk-WHZ3HI4R.mjs} +2197 -553
- package/dist/chunk-WHZ3HI4R.mjs.map +1 -0
- package/dist/{chunk-LNSJ3ZXG.mjs → chunk-WXPVHKGJ.mjs} +73 -42
- package/dist/chunk-WXPVHKGJ.mjs.map +1 -0
- package/dist/components/index.d.mts +4 -3
- package/dist/components/index.d.ts +4 -3
- package/dist/components/index.js +2283 -525
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +14 -3
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +375 -193
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +5 -4
- package/dist/hooks/index.d.mts +4 -2
- package/dist/hooks/index.d.ts +4 -2
- package/dist/hooks/index.js +1904 -227
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +12 -3
- package/dist/index-BMfaixEx.d.mts +66 -0
- package/dist/{index-DamklTOJ.d.mts → index-BMsj8hJv.d.ts} +4 -3
- package/dist/{index-CKiK4KHj.d.ts → index-BcEreCxd.d.ts} +1 -1
- package/dist/index-Bpmrd7mh.d.ts +66 -0
- package/dist/{index-CGs_yTFg.d.ts → index-Bvc8cjpN.d.ts} +34 -4
- package/dist/{index-C2-M-aBb.d.ts → index-C9F6f2iz.d.mts} +4 -3
- package/dist/{index-M7ZB3yR5.d.mts → index-C9qYyRgt.d.mts} +34 -4
- package/dist/index-CFKZWJVt.d.ts +3306 -0
- package/dist/{index-Bb7IkjUW.d.mts → index-Cou96DpL.d.mts} +1 -1
- package/dist/{index-BIgM4fy0.d.mts → index-Cy3K-Yao.d.ts} +31 -8
- package/dist/{index-BwD1ij0H.d.ts → index-D4ju2J_e.d.mts} +31 -8
- package/dist/index-Dhtyz0pT.d.mts +3306 -0
- package/dist/index.css +587 -6
- package/dist/index.d.mts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +2855 -1015
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -10
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/{types-DQq17lf4.d.mts → types-DzVVzMYU.d.mts} +74 -36
- package/dist/{types-DQq17lf4.d.ts → types-DzVVzMYU.d.ts} +74 -36
- package/dist/ui/index.d.mts +4 -3
- package/dist/ui/index.d.ts +4 -3
- package/dist/ui/index.js +140 -95
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +2 -2
- package/dist/utils/index.d.mts +26 -0
- package/dist/utils/index.d.ts +26 -0
- package/dist/utils/index.js +181 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +30 -0
- package/dist/utils/index.mjs.map +1 -0
- package/example/src/pages/Wallet/components/MatchWallet.tsx +24 -10
- package/example/src/pages/Wallet/index.tsx +2 -1
- package/package.json +7 -1
- package/dist/chunk-A5D3NKTK.mjs.map +0 -1
- package/dist/chunk-D6IUBR7S.mjs.map +0 -1
- package/dist/chunk-LNSJ3ZXG.mjs.map +0 -1
- package/dist/index-BHVMQGZj.d.mts +0 -173
- package/dist/index-BVatQlwF.d.mts +0 -59
- package/dist/index-DgAnNnit.d.ts +0 -173
- package/dist/index-RfA22r-Z.d.ts +0 -59
- /package/dist/{chunk-6HRRPZPM.mjs.map → chunk-3UVHHJP6.mjs.map} +0 -0
package/dist/index.css
CHANGED
|
@@ -15,7 +15,12 @@ body {
|
|
|
15
15
|
--matchid-gray-100: #F8F8F8;
|
|
16
16
|
--matchid-red-600: #F7585E;
|
|
17
17
|
--matchid-green-600: #2CBF68;
|
|
18
|
-
--matchid-
|
|
18
|
+
--matchid-secondary-grey: var(--matchid-gray-600);
|
|
19
|
+
--matchid-light-grey: var(--matchid-gray-100);
|
|
20
|
+
--matchid-disabled: var(--matchid-gray-350);
|
|
21
|
+
--matchid-success: #2FCC00;
|
|
22
|
+
--matchid-error: #F14141;
|
|
23
|
+
--matchid-link: #006FFF;
|
|
19
24
|
|
|
20
25
|
--matchid-shadow-full: 0px 15px 40px 0px rgba(22, 17, 46, 0.12);
|
|
21
26
|
--matchid-shadow-middle: 0px 10px 30px 0px rgba(22, 17, 46, 0.12);
|
|
@@ -129,6 +134,7 @@ body {
|
|
|
129
134
|
--matchid-radio-line: var(--matchid-gray-300);
|
|
130
135
|
--matchid-radio-checked: var(--matchid-highlight-orange);
|
|
131
136
|
|
|
137
|
+
|
|
132
138
|
}
|
|
133
139
|
|
|
134
140
|
.matchid-login-box {
|
|
@@ -988,16 +994,26 @@ body {
|
|
|
988
994
|
box-shadow: -20px 0px 20px 0px rgba(22, 17, 46, 0.12);
|
|
989
995
|
|
|
990
996
|
.matchid-drawer-header {
|
|
991
|
-
display: flex;
|
|
992
|
-
justify-content: space-between;
|
|
993
997
|
font-size: 18px;
|
|
994
998
|
font-weight: 500;
|
|
995
999
|
padding-bottom: 24px;
|
|
996
1000
|
border-bottom: 1px solid var(--matchid-line);
|
|
997
1001
|
|
|
1002
|
+
display: flex;
|
|
1003
|
+
justify-content: space-between;
|
|
1004
|
+
.matchid-drawer-header-content {
|
|
1005
|
+
display: flex;
|
|
1006
|
+
gap: 12px;
|
|
1007
|
+
align-items: center;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
998
1010
|
.matchid-drawer-header-close {
|
|
999
1011
|
cursor: pointer;
|
|
1000
1012
|
}
|
|
1013
|
+
|
|
1014
|
+
.matchid-drawer-header-back {
|
|
1015
|
+
cursor: pointer;
|
|
1016
|
+
}
|
|
1001
1017
|
}
|
|
1002
1018
|
}
|
|
1003
1019
|
|
|
@@ -1207,14 +1223,15 @@ body {
|
|
|
1207
1223
|
|
|
1208
1224
|
}
|
|
1209
1225
|
|
|
1210
|
-
.matchid-toast-box{
|
|
1226
|
+
.matchid-toast-box {
|
|
1211
1227
|
position: fixed;
|
|
1212
1228
|
top: 20px; /* 5 * 4px = 20px */
|
|
1213
1229
|
right: 20px; /* 5 * 4px = 20px */
|
|
1214
1230
|
display: flex;
|
|
1215
1231
|
flex-direction: column;
|
|
1216
1232
|
gap: 8px; /* space-y-2 -> 2 * 4px = 8px */
|
|
1217
|
-
|
|
1233
|
+
|
|
1234
|
+
.matchid-toast {
|
|
1218
1235
|
display: flex;
|
|
1219
1236
|
align-items: center;
|
|
1220
1237
|
box-shadow: var(--matchid-shadow-small);
|
|
@@ -1268,7 +1285,7 @@ body {
|
|
|
1268
1285
|
.matchid-receive-link {
|
|
1269
1286
|
text-align: center;
|
|
1270
1287
|
word-break: break-all;
|
|
1271
|
-
color:var(--matchid-link);
|
|
1288
|
+
color: var(--matchid-link);
|
|
1272
1289
|
font-size: 12px;
|
|
1273
1290
|
font-weight: 500;
|
|
1274
1291
|
|
|
@@ -1278,3 +1295,567 @@ body {
|
|
|
1278
1295
|
}
|
|
1279
1296
|
}
|
|
1280
1297
|
}
|
|
1298
|
+
|
|
1299
|
+
.matchid-import-token {
|
|
1300
|
+
display: flex;
|
|
1301
|
+
flex-direction: column;
|
|
1302
|
+
gap: 48px;
|
|
1303
|
+
|
|
1304
|
+
.matchid-import-token-form {
|
|
1305
|
+
display: flex;
|
|
1306
|
+
flex-direction: column;
|
|
1307
|
+
gap: 24px
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
.matchid-wallet-asset-list {
|
|
1312
|
+
display: flex;
|
|
1313
|
+
flex-direction: column;
|
|
1314
|
+
gap: 16px;
|
|
1315
|
+
|
|
1316
|
+
.matchid-wallet-asset-item {
|
|
1317
|
+
display: flex;
|
|
1318
|
+
cursor: pointer;
|
|
1319
|
+
gap: 8px;
|
|
1320
|
+
align-items: center;
|
|
1321
|
+
padding: 16px;
|
|
1322
|
+
border: 1px solid var(--matchid-line);
|
|
1323
|
+
border-radius: 16px;
|
|
1324
|
+
|
|
1325
|
+
&:hover {
|
|
1326
|
+
border-color: var(--matchid-highlight-orange);
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
.matchid-wallet-asset-logo {
|
|
1330
|
+
position: relative;
|
|
1331
|
+
height: 46px;
|
|
1332
|
+
width: 42px;
|
|
1333
|
+
display: flex;
|
|
1334
|
+
align-items: center;
|
|
1335
|
+
|
|
1336
|
+
.matchid-wallet-asset-icon {
|
|
1337
|
+
width: 40px;
|
|
1338
|
+
height: 40px;
|
|
1339
|
+
border-radius: 8px;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
.matchid-wallet-asset-chain {
|
|
1343
|
+
position: absolute;
|
|
1344
|
+
border-radius: 100%;
|
|
1345
|
+
width: 12px;
|
|
1346
|
+
height: 12px;
|
|
1347
|
+
right: 0px;
|
|
1348
|
+
bottom: 1px;
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
.matchid-wallet-asset-info {
|
|
1353
|
+
height: 46px;
|
|
1354
|
+
display: flex;
|
|
1355
|
+
flex: 1;
|
|
1356
|
+
align-items: center;
|
|
1357
|
+
justify-content: space-between;
|
|
1358
|
+
gap: 10px;
|
|
1359
|
+
|
|
1360
|
+
.matchid-wallet-asset-name {
|
|
1361
|
+
font-size: 16px;
|
|
1362
|
+
font-weight: 500;
|
|
1363
|
+
flex: 1;
|
|
1364
|
+
color: var(--matchid-black);
|
|
1365
|
+
display: -webkit-box;
|
|
1366
|
+
-webkit-line-clamp: 2;
|
|
1367
|
+
-webkit-box-orient: vertical;
|
|
1368
|
+
overflow: hidden;
|
|
1369
|
+
text-overflow: ellipsis;
|
|
1370
|
+
@media (max-width: 768px) {
|
|
1371
|
+
font-size: 14px;
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
.matchid-wallet-asset-content {
|
|
1376
|
+
display: flex;
|
|
1377
|
+
flex-direction: column;
|
|
1378
|
+
gap: 4px;
|
|
1379
|
+
flex: 1;
|
|
1380
|
+
|
|
1381
|
+
.matchid-wallet-asset-price {
|
|
1382
|
+
font-size: 16px;
|
|
1383
|
+
font-weight: 500;
|
|
1384
|
+
color: var(--matchid-black);
|
|
1385
|
+
@media (max-width: 768px) {
|
|
1386
|
+
font-size: 14px;
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
.matchid-wallet-asset-value {
|
|
1391
|
+
font-size: 14px;
|
|
1392
|
+
font-weight: 500;
|
|
1393
|
+
color: var(--matchid-gray-600);
|
|
1394
|
+
@media (max-width: 768px) {
|
|
1395
|
+
font-size: 12px;
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
.matchid-wallet-asset-footer {
|
|
1401
|
+
flex: 1;
|
|
1402
|
+
display: flex;
|
|
1403
|
+
flex-direction: column;
|
|
1404
|
+
gap: 4px;
|
|
1405
|
+
align-items: end;
|
|
1406
|
+
|
|
1407
|
+
.matchid-wallet-asset-balance {
|
|
1408
|
+
font-size: 16px;
|
|
1409
|
+
font-weight: 500;
|
|
1410
|
+
color: var(--matchid-success);
|
|
1411
|
+
@media (max-width: 768px) {
|
|
1412
|
+
font-size: 14px;
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
.matchid-wallet-asset-change {
|
|
1417
|
+
font-size: 14px;
|
|
1418
|
+
font-weight: 400;
|
|
1419
|
+
@media (max-width: 768px) {
|
|
1420
|
+
font-size: 12px;
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
.matchid-wallet-asset-down {
|
|
1428
|
+
color: var(--matchid-error);
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
.matchid-wallet-asset-up {
|
|
1432
|
+
color: var(--matchid-success);
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
.matchid-token-detail {
|
|
1437
|
+
flex: 1;
|
|
1438
|
+
display: flex;
|
|
1439
|
+
justify-content: space-between;
|
|
1440
|
+
flex-direction: column;
|
|
1441
|
+
padding-bottom: 200px;
|
|
1442
|
+
gap: 40px;
|
|
1443
|
+
@media (max-width: 768px) {
|
|
1444
|
+
padding-bottom: 0px;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
.matchid-token-main {
|
|
1448
|
+
display: flex;
|
|
1449
|
+
flex-direction: column;
|
|
1450
|
+
gap: 24px;
|
|
1451
|
+
align-items: center;
|
|
1452
|
+
|
|
1453
|
+
.matchid-token-info {
|
|
1454
|
+
display: flex;
|
|
1455
|
+
flex-direction: column;
|
|
1456
|
+
gap: 8px;
|
|
1457
|
+
align-items: center;
|
|
1458
|
+
|
|
1459
|
+
.matchid-token-logo {
|
|
1460
|
+
position: relative;
|
|
1461
|
+
width: 48px;
|
|
1462
|
+
height: 48px;
|
|
1463
|
+
|
|
1464
|
+
.matchid-token-icon {
|
|
1465
|
+
width: 100%;
|
|
1466
|
+
height: 100%;
|
|
1467
|
+
border-radius: 100%
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
.matchid-token-chain {
|
|
1471
|
+
position: absolute;
|
|
1472
|
+
border-radius: 100%;
|
|
1473
|
+
width: 12px;
|
|
1474
|
+
height: 12px;
|
|
1475
|
+
right: 0px;
|
|
1476
|
+
bottom: 0px;
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
.matchid-token-name {
|
|
1481
|
+
font-size: 20px;
|
|
1482
|
+
font-weight: 500;
|
|
1483
|
+
color: var(--matchid-black);
|
|
1484
|
+
@media (max-width: 768px) {
|
|
1485
|
+
font-size: 16px;
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
.matchid-token-contract {
|
|
1491
|
+
gap: 16px;
|
|
1492
|
+
display: flex;
|
|
1493
|
+
flex-direction: column;
|
|
1494
|
+
padding: 16px;
|
|
1495
|
+
background: var(--matchid-gray-100);
|
|
1496
|
+
border-radius: 12px;
|
|
1497
|
+
|
|
1498
|
+
.matchid-token-contract-title {
|
|
1499
|
+
color: var(--matchid-black);
|
|
1500
|
+
font-size: 16px;
|
|
1501
|
+
font-weight: 500;
|
|
1502
|
+
@media (max-width: 768px) {
|
|
1503
|
+
font-size: 14px;
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
.matchid-token-contract-address {
|
|
1508
|
+
width: 100%;
|
|
1509
|
+
word-break: break-all;
|
|
1510
|
+
font-size: 14px;
|
|
1511
|
+
color: var(--matchid-secondary-grey);
|
|
1512
|
+
@media (max-width: 768px) {
|
|
1513
|
+
font-size: 12px;
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
.matchid-token-send-box {
|
|
1521
|
+
flex: 1;
|
|
1522
|
+
display: flex;
|
|
1523
|
+
justify-content: space-between;
|
|
1524
|
+
flex-direction: column;
|
|
1525
|
+
padding-bottom: 200px;
|
|
1526
|
+
gap: 40px;
|
|
1527
|
+
@media (max-width: 768px) {
|
|
1528
|
+
padding-bottom: 0px;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
.matchid-token-send-content {
|
|
1532
|
+
display: flex;
|
|
1533
|
+
flex-direction: column;
|
|
1534
|
+
gap: 16px;
|
|
1535
|
+
|
|
1536
|
+
.matchid-token-amount-content, .matchid-token-address-content {
|
|
1537
|
+
padding: 16px;
|
|
1538
|
+
background: var(--matchid-light-grey);
|
|
1539
|
+
border-radius: 16px;
|
|
1540
|
+
display: flex;
|
|
1541
|
+
gap: 16px;
|
|
1542
|
+
flex-direction: column;
|
|
1543
|
+
position: relative;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
.matchid-token-amount-content {
|
|
1547
|
+
.matchid-token-amount-transfer {
|
|
1548
|
+
position: absolute;
|
|
1549
|
+
left: 50%;
|
|
1550
|
+
bottom: -20px;
|
|
1551
|
+
transform: translateX(-50%);
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
.matchid-token-amount-header {
|
|
1555
|
+
display: flex;
|
|
1556
|
+
justify-content: space-between;
|
|
1557
|
+
align-items: center;
|
|
1558
|
+
|
|
1559
|
+
.matchid-token-amount-title {
|
|
1560
|
+
font-size: 16px;
|
|
1561
|
+
font-weight: 500;
|
|
1562
|
+
color: var(--matchid-black);
|
|
1563
|
+
@media (max-width: 768px) {
|
|
1564
|
+
font-size: 14px;
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
.matchid-token-amount-chain {
|
|
1569
|
+
display: flex;
|
|
1570
|
+
align-items: center;
|
|
1571
|
+
gap: 4px;
|
|
1572
|
+
border-radius: 100px;
|
|
1573
|
+
padding: 4px 8px;
|
|
1574
|
+
background: var(--matchid-white);
|
|
1575
|
+
|
|
1576
|
+
.matchid-token-amount-chain-icon {
|
|
1577
|
+
width: 16px;
|
|
1578
|
+
height: 16px;
|
|
1579
|
+
border-radius: 50%;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
span {
|
|
1583
|
+
|
|
1584
|
+
font-size: 12px;
|
|
1585
|
+
font-weight: 500;
|
|
1586
|
+
color: var(--matchid-black);
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
.matchid-token-amount-footer {
|
|
1592
|
+
display: flex;
|
|
1593
|
+
align-items: center;
|
|
1594
|
+
gap: 8px;
|
|
1595
|
+
font-size: 14px;
|
|
1596
|
+
@media (max-width: 768px) {
|
|
1597
|
+
font-size: 12px;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
.matchid-token-amount-title {
|
|
1601
|
+
font-weight: 300;
|
|
1602
|
+
color: var(--matchid-secondary-grey);
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
.matchid-token-amount-value {
|
|
1606
|
+
color: var(--matchid-black);
|
|
1607
|
+
font-weight: 500;
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
.matchid-token-address-content {
|
|
1613
|
+
.matchid-token-address-header {
|
|
1614
|
+
.matchid-token-address-title {
|
|
1615
|
+
font-size: 16px;
|
|
1616
|
+
font-weight: 500;
|
|
1617
|
+
color: var(--matchid-black);
|
|
1618
|
+
@media (max-width: 768px) {
|
|
1619
|
+
font-size: 14px;
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
.matchid-token-input-box {
|
|
1628
|
+
display: flex;
|
|
1629
|
+
flex-direction: column;
|
|
1630
|
+
gap: 8px;
|
|
1631
|
+
|
|
1632
|
+
.matchid-token-input {
|
|
1633
|
+
width: 100%;
|
|
1634
|
+
background: transparent;
|
|
1635
|
+
font-size: 24px;
|
|
1636
|
+
color: var(--matchid-black);
|
|
1637
|
+
padding: 10px 0;
|
|
1638
|
+
border: none;
|
|
1639
|
+
font-weight: 600;
|
|
1640
|
+
border-bottom: 1px solid var(--matchid-line);
|
|
1641
|
+
caret-color: var(--matchid-black);
|
|
1642
|
+
|
|
1643
|
+
&::placeholder {
|
|
1644
|
+
color: var(--matchid-disabled);
|
|
1645
|
+
font-weight: 300;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
&.matchid-token-input-error {
|
|
1649
|
+
border-color: var(--matchid-highlight-orange);
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
&:focus {
|
|
1653
|
+
outline: none;
|
|
1654
|
+
}
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
&.matchid-token-input-sm {
|
|
1658
|
+
.matchid-token-input {
|
|
1659
|
+
font-size: 16px;
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
.matchid-token-input-error-text {
|
|
1664
|
+
font-size: 12px;
|
|
1665
|
+
color: var(--matchid-error);
|
|
1666
|
+
font-weight: 500;
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
.matchid-token-send-list-box {
|
|
1671
|
+
flex: 1;
|
|
1672
|
+
display: flex;
|
|
1673
|
+
flex-direction: column;
|
|
1674
|
+
justify-content: space-between;
|
|
1675
|
+
gap: 48px;
|
|
1676
|
+
overflow-y: scroll;
|
|
1677
|
+
max-height: 70vh;
|
|
1678
|
+
|
|
1679
|
+
@media (max-width: 768px) {
|
|
1680
|
+
padding-bottom: 0px;
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
.matchid-token-send-list {
|
|
1684
|
+
display: flex;
|
|
1685
|
+
flex-direction: column;
|
|
1686
|
+
gap: 24px;
|
|
1687
|
+
flex: 1;
|
|
1688
|
+
overflow-y: scroll;
|
|
1689
|
+
|
|
1690
|
+
.matchid-token-send-item {
|
|
1691
|
+
cursor: pointer;
|
|
1692
|
+
display: flex;
|
|
1693
|
+
align-items: center;
|
|
1694
|
+
gap: 8px;
|
|
1695
|
+
justify-content: space-between;
|
|
1696
|
+
padding: 16px;
|
|
1697
|
+
border: 1px solid var(--matchid-line);
|
|
1698
|
+
border-radius: 16px;
|
|
1699
|
+
transition: border-color 0.2s;
|
|
1700
|
+
|
|
1701
|
+
&:hover, &.matchid-token-send-checked {
|
|
1702
|
+
border-color: var(--matchid-highlight-orange);
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
.matchid-token-send-content {
|
|
1706
|
+
display: flex;
|
|
1707
|
+
align-items: center;
|
|
1708
|
+
flex: 1;
|
|
1709
|
+
gap: 16px;
|
|
1710
|
+
|
|
1711
|
+
.matchid-token-send-logo {
|
|
1712
|
+
width: 32px;
|
|
1713
|
+
height: 32px;
|
|
1714
|
+
position: relative;
|
|
1715
|
+
|
|
1716
|
+
.matchid-token-send-icon {
|
|
1717
|
+
width: 100%;
|
|
1718
|
+
height: 100%;
|
|
1719
|
+
border-radius: 8px;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
.matchid-token-send-chain {
|
|
1723
|
+
position: absolute;
|
|
1724
|
+
border-radius: 100%;
|
|
1725
|
+
width: 12px;
|
|
1726
|
+
height: 12px;
|
|
1727
|
+
right: -1px;
|
|
1728
|
+
bottom: -1px;
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
@media (min-width: 768px) {
|
|
1732
|
+
width: 40px;
|
|
1733
|
+
height: 40px;
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
.matchid-token-send-info {
|
|
1738
|
+
font-size: 14px;
|
|
1739
|
+
font-weight: 500;
|
|
1740
|
+
display: flex;
|
|
1741
|
+
flex: 1;
|
|
1742
|
+
align-items: center;
|
|
1743
|
+
justify-content: space-between;
|
|
1744
|
+
gap: 10px;
|
|
1745
|
+
@media (min-width: 768px) {
|
|
1746
|
+
font-size: 16px;
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
.matchid-rotate {
|
|
1756
|
+
animation: spin 2s linear infinite;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
.matchid-transaction-item {
|
|
1760
|
+
padding: 16px;
|
|
1761
|
+
display: flex;
|
|
1762
|
+
justify-content: space-between;
|
|
1763
|
+
border: 1px solid var(--matchid-line);
|
|
1764
|
+
border-radius: 16px;
|
|
1765
|
+
height: 78px;
|
|
1766
|
+
&:hover{
|
|
1767
|
+
border-color: var(--matchid-highlight-orange);
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
.matchid-transacton-item-container {
|
|
1771
|
+
display: flex;
|
|
1772
|
+
gap: 8px;
|
|
1773
|
+
align-items: center;
|
|
1774
|
+
|
|
1775
|
+
.matchid-transaction-item-icon {
|
|
1776
|
+
background-color: var(--matchid-light-grey);
|
|
1777
|
+
border-radius: 8px;
|
|
1778
|
+
width: 40px;
|
|
1779
|
+
height: 40px;
|
|
1780
|
+
display: flex;
|
|
1781
|
+
align-items: center;
|
|
1782
|
+
justify-content: center;
|
|
1783
|
+
|
|
1784
|
+
.rotate-180 {
|
|
1785
|
+
transform: rotate(180deg);
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
.matchid-transaction-item-details {
|
|
1790
|
+
display: flex;
|
|
1791
|
+
flex-direction: column;
|
|
1792
|
+
justify-content: space-between;
|
|
1793
|
+
|
|
1794
|
+
.matchid-transaction-item-address {
|
|
1795
|
+
font-size: 16px;
|
|
1796
|
+
font-weight: 500;
|
|
1797
|
+
color: black;
|
|
1798
|
+
@media screen and (max-width: 768px) {
|
|
1799
|
+
font-size: 14px;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
.matchid-transaction-item-timestamp {
|
|
1805
|
+
|
|
1806
|
+
font-size: 14px;
|
|
1807
|
+
color: var(--matchid-secondary-grey);
|
|
1808
|
+
|
|
1809
|
+
@media screen and (max-width: 768px) {
|
|
1810
|
+
font-size: 12px;
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
.matchid-transaction-item-amount {
|
|
1818
|
+
display: flex;
|
|
1819
|
+
align-items: center;
|
|
1820
|
+
gap: 8px;
|
|
1821
|
+
font-size: 16px;
|
|
1822
|
+
font-weight: 500;
|
|
1823
|
+
|
|
1824
|
+
@media screen and (max-width: 768px) {
|
|
1825
|
+
font-size: 14px;
|
|
1826
|
+
}
|
|
1827
|
+
}
|
|
1828
|
+
.matchid-transaction-item-loading{
|
|
1829
|
+
color: var(--matchid-black);
|
|
1830
|
+
}
|
|
1831
|
+
.matchid-transaction-item-success{
|
|
1832
|
+
color: var(--matchid-success);
|
|
1833
|
+
}
|
|
1834
|
+
.matchid-transaction-item-error{
|
|
1835
|
+
color: var(--matchid-error);
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
.matchid-transaction-list{
|
|
1841
|
+
display: flex;
|
|
1842
|
+
flex-direction: column;
|
|
1843
|
+
gap: 16px;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
.matchid-list-nomore{
|
|
1847
|
+
gap:8px;
|
|
1848
|
+
text-align: center;
|
|
1849
|
+
font-size: 16px;
|
|
1850
|
+
padding:16px 0;
|
|
1851
|
+
display: flex;
|
|
1852
|
+
align-items: center;
|
|
1853
|
+
justify-content: center;
|
|
1854
|
+
color: var(--matchid-secondary-grey);
|
|
1855
|
+
@media screen and (max-width: 768px){
|
|
1856
|
+
font-size: 14px;
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1859
|
+
.matchid-flex{
|
|
1860
|
+
display: flex;
|
|
1861
|
+
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
3
|
-
export { i as Components } from './index-
|
|
4
|
-
export { i as UI } from './index-
|
|
5
|
-
export { i as Hooks } from './index-
|
|
6
|
-
export { i as Api } from './index-
|
|
2
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-DzVVzMYU.mjs';
|
|
3
|
+
export { i as Components } from './index-C9qYyRgt.mjs';
|
|
4
|
+
export { i as UI } from './index-C9F6f2iz.mjs';
|
|
5
|
+
export { i as Hooks } from './index-Dhtyz0pT.mjs';
|
|
6
|
+
export { i as Api } from './index-D4ju2J_e.mjs';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.mjs';
|
|
8
|
-
export { i as Types } from './index-
|
|
8
|
+
export { i as Types } from './index-BMfaixEx.mjs';
|
|
9
|
+
import '@tanstack/react-query/src/types';
|
|
9
10
|
import 'react/jsx-runtime';
|
|
10
|
-
import './index-
|
|
11
|
+
import './index-Cou96DpL.mjs';
|
|
11
12
|
import 'viem';
|
|
12
13
|
import './mpc-CTbBWHld.mjs';
|
|
13
14
|
import 'viem/types/misc';
|
|
14
15
|
import 'abitype';
|
|
16
|
+
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
15
17
|
import '@tanstack/react-query';
|
|
16
|
-
import '@tanstack/react-query/src/types';
|
|
17
18
|
|
|
18
19
|
type MatchContextType = {
|
|
19
20
|
appid: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
3
|
-
export { i as Components } from './index-
|
|
4
|
-
export { i as UI } from './index-
|
|
5
|
-
export { i as Hooks } from './index-
|
|
6
|
-
export { i as Api } from './index-
|
|
2
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-DzVVzMYU.js';
|
|
3
|
+
export { i as Components } from './index-Bvc8cjpN.js';
|
|
4
|
+
export { i as UI } from './index-BMsj8hJv.js';
|
|
5
|
+
export { i as Hooks } from './index-CFKZWJVt.js';
|
|
6
|
+
export { i as Api } from './index-Cy3K-Yao.js';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.js';
|
|
8
|
-
export { i as Types } from './index-
|
|
8
|
+
export { i as Types } from './index-Bpmrd7mh.js';
|
|
9
|
+
import '@tanstack/react-query/src/types';
|
|
9
10
|
import 'react/jsx-runtime';
|
|
10
|
-
import './index-
|
|
11
|
+
import './index-BcEreCxd.js';
|
|
11
12
|
import 'viem';
|
|
12
13
|
import './mpc-CTbBWHld.js';
|
|
13
14
|
import 'viem/types/misc';
|
|
14
15
|
import 'abitype';
|
|
16
|
+
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
15
17
|
import '@tanstack/react-query';
|
|
16
|
-
import '@tanstack/react-query/src/types';
|
|
17
18
|
|
|
18
19
|
type MatchContextType = {
|
|
19
20
|
appid: string;
|