@ape.swap/bonds-sdk 4.1.1-test.8 → 4.1.1-test.9
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/main.js +1777 -1774
- package/dist/styles.css +0 -341
- package/dist/views/YourBondsModal/components/Actions/Actions.d.ts +6 -0
- package/dist/views/YourBondsModal/components/Actions/ActionsSolana.d.ts +6 -0
- package/dist/views/YourBondsModal/components/NFTImage/NFTImage.d.ts +8 -0
- package/dist/views/YourBondsModal/components/YourBondModalHeader/YourBondModalHeader.d.ts +7 -0
- package/package.json +1 -1
- package/dist/views/YourBondsModal/YourBondsModalSolana.d.ts +0 -7
- package/dist/views/YourBondsModal/components/Recommendations/CardRecommendationsMobile.d.ts +0 -6
package/dist/styles.css
CHANGED
|
@@ -1300,347 +1300,6 @@ html {
|
|
|
1300
1300
|
visibility: hidden;
|
|
1301
1301
|
}
|
|
1302
1302
|
|
|
1303
|
-
.yourbondsmodal-backdrop {
|
|
1304
|
-
position: fixed;
|
|
1305
|
-
top: 0;
|
|
1306
|
-
left: 0;
|
|
1307
|
-
width: 100%;
|
|
1308
|
-
height: 100%;
|
|
1309
|
-
background-color: rgba(66, 66, 66, 0.5);
|
|
1310
|
-
display: flex;
|
|
1311
|
-
justify-content: center;
|
|
1312
|
-
align-items: center;
|
|
1313
|
-
z-index: 1000;
|
|
1314
|
-
overflow: auto;
|
|
1315
|
-
padding: 50px;
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
.yourbondsmodal-spinner {
|
|
1319
|
-
display: flex;
|
|
1320
|
-
justify-content: center;
|
|
1321
|
-
align-items: center;
|
|
1322
|
-
height: 100vh;
|
|
1323
|
-
width: 100vw;
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
.yourbondsmodal-header {
|
|
1327
|
-
display: flex;
|
|
1328
|
-
justify-content: space-between;
|
|
1329
|
-
align-items: center;
|
|
1330
|
-
padding: 5px;
|
|
1331
|
-
}
|
|
1332
|
-
.yourbondsmodal-header .svg-close {
|
|
1333
|
-
height: 12px;
|
|
1334
|
-
width: 12px;
|
|
1335
|
-
cursor: pointer;
|
|
1336
|
-
}
|
|
1337
|
-
|
|
1338
|
-
.yourbondsmodal.table-container {
|
|
1339
|
-
width: 100%;
|
|
1340
|
-
display: flex;
|
|
1341
|
-
flex-direction: column;
|
|
1342
|
-
align-items: center;
|
|
1343
|
-
}
|
|
1344
|
-
@media screen and (min-width: 1000px) {
|
|
1345
|
-
.yourbondsmodal.table-container {
|
|
1346
|
-
flex-direction: row;
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
.yourbondsmodal.bondimage {
|
|
1351
|
-
width: 100%;
|
|
1352
|
-
display: flex;
|
|
1353
|
-
flex-direction: column;
|
|
1354
|
-
position: relative;
|
|
1355
|
-
max-width: 400px;
|
|
1356
|
-
}
|
|
1357
|
-
@media screen and (min-width: 1000px) {
|
|
1358
|
-
.yourbondsmodal.bondimage {
|
|
1359
|
-
max-width: 520px;
|
|
1360
|
-
min-width: 520px;
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
@media screen and (min-width: 1200px) {
|
|
1364
|
-
.yourbondsmodal.bondimage {
|
|
1365
|
-
max-width: 720px;
|
|
1366
|
-
min-width: 720px;
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
.yourbondsmodal.yourbondinfo {
|
|
1371
|
-
width: 100%;
|
|
1372
|
-
height: 100%;
|
|
1373
|
-
display: flex;
|
|
1374
|
-
flex-direction: column;
|
|
1375
|
-
padding-left: 10px;
|
|
1376
|
-
padding-right: 10px;
|
|
1377
|
-
padding-bottom: 10px;
|
|
1378
|
-
margin-top: 10px;
|
|
1379
|
-
}
|
|
1380
|
-
@media screen and (min-width: 1000px) {
|
|
1381
|
-
.yourbondsmodal.yourbondinfo {
|
|
1382
|
-
margin-top: 0;
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1386
|
-
.yourbondinfo.title-container {
|
|
1387
|
-
font-weight: bold;
|
|
1388
|
-
font-size: 1.5rem;
|
|
1389
|
-
display: flex;
|
|
1390
|
-
flex-direction: row;
|
|
1391
|
-
align-items: center;
|
|
1392
|
-
padding-top: 5px;
|
|
1393
|
-
padding-bottom: 5px;
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
.title-container.bondicon {
|
|
1397
|
-
display: flex;
|
|
1398
|
-
flex-direction: row;
|
|
1399
|
-
align-items: center;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
.icon-container {
|
|
1403
|
-
position: relative;
|
|
1404
|
-
display: inline-block;
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
.icon-container svg {
|
|
1408
|
-
position: absolute;
|
|
1409
|
-
top: -8px;
|
|
1410
|
-
right: -5px;
|
|
1411
|
-
z-index: 1;
|
|
1412
|
-
}
|
|
1413
|
-
|
|
1414
|
-
.icon-container img {
|
|
1415
|
-
display: block;
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
.icon-container-small {
|
|
1419
|
-
position: relative;
|
|
1420
|
-
display: inline-block;
|
|
1421
|
-
}
|
|
1422
|
-
|
|
1423
|
-
.icon-container-small svg {
|
|
1424
|
-
position: absolute;
|
|
1425
|
-
top: -5px;
|
|
1426
|
-
right: -4px;
|
|
1427
|
-
z-index: 1;
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
.icon-container-small img {
|
|
1431
|
-
display: block;
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
.title-container.tokenname {
|
|
1435
|
-
display: flex;
|
|
1436
|
-
flex-direction: row;
|
|
1437
|
-
align-items: center;
|
|
1438
|
-
padding-left: 10px;
|
|
1439
|
-
}
|
|
1440
|
-
|
|
1441
|
-
.title-container.tokentags {
|
|
1442
|
-
display: flex;
|
|
1443
|
-
align-items: center;
|
|
1444
|
-
padding-left: 10px;
|
|
1445
|
-
}
|
|
1446
|
-
|
|
1447
|
-
.yourbondinfo.blocks-container {
|
|
1448
|
-
display: flex;
|
|
1449
|
-
flex-direction: column;
|
|
1450
|
-
align-items: center;
|
|
1451
|
-
width: 100%;
|
|
1452
|
-
height: 100%;
|
|
1453
|
-
justify-content: space-around;
|
|
1454
|
-
margin-bottom: 10px;
|
|
1455
|
-
margin-top: 5px;
|
|
1456
|
-
}
|
|
1457
|
-
|
|
1458
|
-
.yourbondinfo-block.header {
|
|
1459
|
-
color: white;
|
|
1460
|
-
align-items: center;
|
|
1461
|
-
width: 50%;
|
|
1462
|
-
font-size: 12px;
|
|
1463
|
-
font-weight: 400;
|
|
1464
|
-
line-height: 14px;
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1467
|
-
.yourbondinfo-block.header-title {
|
|
1468
|
-
align-items: center;
|
|
1469
|
-
display: flex;
|
|
1470
|
-
opacity: 0.6;
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
.yourbondinfo-block.header-tooltip {
|
|
1474
|
-
align-items: center;
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
.block-header.icon {
|
|
1478
|
-
padding-left: 5px;
|
|
1479
|
-
align-items: flex-start;
|
|
1480
|
-
cursor: pointer;
|
|
1481
|
-
opacity: 0.6;
|
|
1482
|
-
}
|
|
1483
|
-
|
|
1484
|
-
.yourbondinfo-block.info {
|
|
1485
|
-
flex-direction: row;
|
|
1486
|
-
align-items: center;
|
|
1487
|
-
justify-content: flex-end;
|
|
1488
|
-
width: 50%;
|
|
1489
|
-
display: flex;
|
|
1490
|
-
border-radius: 10px;
|
|
1491
|
-
padding-top: 6px;
|
|
1492
|
-
padding-bottom: 6px;
|
|
1493
|
-
}
|
|
1494
|
-
@media screen and (min-width: 1000px) {
|
|
1495
|
-
.yourbondinfo-block.info {
|
|
1496
|
-
padding-top: 10px;
|
|
1497
|
-
padding-bottom: 10px;
|
|
1498
|
-
}
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
.block-info.icon {
|
|
1502
|
-
align-items: center;
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
.block-info.text {
|
|
1506
|
-
padding-left: 10px;
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1509
|
-
.yourbondinfo-block.row-vested {
|
|
1510
|
-
flex-direction: row;
|
|
1511
|
-
height: 30px;
|
|
1512
|
-
width: 100%;
|
|
1513
|
-
padding-left: 10px;
|
|
1514
|
-
padding-right: 10px;
|
|
1515
|
-
align-items: center;
|
|
1516
|
-
justify-content: space-between;
|
|
1517
|
-
background: var(--theme-ui-colors-white3);
|
|
1518
|
-
margin-bottom: 1px;
|
|
1519
|
-
border-radius: 10px 10px 0 0;
|
|
1520
|
-
}
|
|
1521
|
-
@media screen and (min-width: 1000px) {
|
|
1522
|
-
.yourbondinfo-block.row-vested {
|
|
1523
|
-
margin-bottom: 8px;
|
|
1524
|
-
border-radius: 10px;
|
|
1525
|
-
height: 40px;
|
|
1526
|
-
}
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
.yourbondinfo-block.row-pending {
|
|
1530
|
-
flex-direction: row;
|
|
1531
|
-
height: 30px;
|
|
1532
|
-
width: 100%;
|
|
1533
|
-
padding-left: 10px;
|
|
1534
|
-
padding-right: 10px;
|
|
1535
|
-
align-items: center;
|
|
1536
|
-
justify-content: space-between;
|
|
1537
|
-
background: var(--theme-ui-colors-white3);
|
|
1538
|
-
padding-top: 10px;
|
|
1539
|
-
padding-bottom: 10px;
|
|
1540
|
-
margin-bottom: 1px;
|
|
1541
|
-
}
|
|
1542
|
-
@media screen and (min-width: 1000px) {
|
|
1543
|
-
.yourbondinfo-block.row-pending {
|
|
1544
|
-
margin-bottom: 8px;
|
|
1545
|
-
border-radius: 10px;
|
|
1546
|
-
height: 40px;
|
|
1547
|
-
}
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
.yourbondinfo-block.row-claimable {
|
|
1551
|
-
flex-direction: row;
|
|
1552
|
-
height: 35px;
|
|
1553
|
-
width: 100%;
|
|
1554
|
-
padding-left: 10px;
|
|
1555
|
-
padding-right: 10px;
|
|
1556
|
-
align-items: center;
|
|
1557
|
-
justify-content: space-between;
|
|
1558
|
-
background: var(--theme-ui-colors-white3);
|
|
1559
|
-
padding-top: 10px;
|
|
1560
|
-
padding-bottom: 10px;
|
|
1561
|
-
margin-bottom: 1px;
|
|
1562
|
-
border-radius: 0 0 10px 10px;
|
|
1563
|
-
}
|
|
1564
|
-
@media screen and (min-width: 1000px) {
|
|
1565
|
-
.yourbondinfo-block.row-claimable {
|
|
1566
|
-
margin-bottom: 8px;
|
|
1567
|
-
border-radius: 10px;
|
|
1568
|
-
height: 40px;
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
.button-container.claim {
|
|
1573
|
-
justify-content: center;
|
|
1574
|
-
align-items: center;
|
|
1575
|
-
cursor: pointer;
|
|
1576
|
-
}
|
|
1577
|
-
.button-container.claim .switch-button {
|
|
1578
|
-
width: 100%;
|
|
1579
|
-
}
|
|
1580
|
-
@media screen and (min-width: 1000px) {
|
|
1581
|
-
.button-container.claim .switch-button {
|
|
1582
|
-
width: 300px;
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
.button-container.claim .claim-button {
|
|
1586
|
-
width: 100%;
|
|
1587
|
-
}
|
|
1588
|
-
@media screen and (min-width: 1000px) {
|
|
1589
|
-
.button-container.claim .claim-button {
|
|
1590
|
-
width: 300px;
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
.button-container.transfer {
|
|
1595
|
-
justify-content: center;
|
|
1596
|
-
align-items: center;
|
|
1597
|
-
}
|
|
1598
|
-
.button-container.transfer .transfer-button {
|
|
1599
|
-
width: 100%;
|
|
1600
|
-
margin-top: 10px;
|
|
1601
|
-
}
|
|
1602
|
-
@media screen and (min-width: 1000px) {
|
|
1603
|
-
.button-container.transfer .transfer-button {
|
|
1604
|
-
width: 125px;
|
|
1605
|
-
margin-top: 0;
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
|
-
.toast {
|
|
1610
|
-
position: fixed;
|
|
1611
|
-
top: 50px;
|
|
1612
|
-
right: 20px;
|
|
1613
|
-
background-color: var(--theme-ui-colors-white2);
|
|
1614
|
-
color: white;
|
|
1615
|
-
font-size: 24px;
|
|
1616
|
-
padding: 10px 20px;
|
|
1617
|
-
border-radius: 5px;
|
|
1618
|
-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
1619
|
-
z-index: 9999;
|
|
1620
|
-
animation: fadein 0.5s, fadeout 0.5s 4.5s;
|
|
1621
|
-
cursor: pointer;
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
@keyframes fadein {
|
|
1625
|
-
from {
|
|
1626
|
-
top: 0;
|
|
1627
|
-
opacity: 0;
|
|
1628
|
-
}
|
|
1629
|
-
to {
|
|
1630
|
-
top: 50px;
|
|
1631
|
-
opacity: 1;
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
@keyframes fadeout {
|
|
1635
|
-
from {
|
|
1636
|
-
top: 50px;
|
|
1637
|
-
opacity: 1;
|
|
1638
|
-
}
|
|
1639
|
-
to {
|
|
1640
|
-
top: 0;
|
|
1641
|
-
opacity: 0;
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
1303
|
.full-bonds-view-container {
|
|
1645
1304
|
width: 100%;
|
|
1646
1305
|
flex-direction: column;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UserBill } from '../../../../types/yourbonds';
|
|
3
|
+
declare const NftImage: ({ userBill, showNFTImg, setShowNFTImg, }: {
|
|
4
|
+
userBill?: UserBill;
|
|
5
|
+
showNFTImg: boolean;
|
|
6
|
+
setShowNFTImg: (value: boolean) => void;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export default NftImage;
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BondRecommendation } from '../../../../state/recommendations/useGetBondRecommendations';
|
|
3
|
-
declare const CardRecommendationsMobile: ({ recommendations }: {
|
|
4
|
-
recommendations: BondRecommendation[];
|
|
5
|
-
}) => React.JSX.Element;
|
|
6
|
-
export default CardRecommendationsMobile;
|