@loafmarkets/ui 0.1.338 → 0.1.340
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/index.js +34 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +34 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11361,7 +11361,7 @@ function AssetSelectorBar({
|
|
|
11361
11361
|
] })
|
|
11362
11362
|
] })
|
|
11363
11363
|
] }, m.label)) }),
|
|
11364
|
-
trailing,
|
|
11364
|
+
trailing != null && /* @__PURE__ */ jsx(TrailingWrapper, { children: /* @__PURE__ */ jsx(TrailingInner, { children: trailing }) }),
|
|
11365
11365
|
isDropdownOpen && hasItems && /* @__PURE__ */ jsx(IPODropdown, { children: selectorItems.map((item) => {
|
|
11366
11366
|
const isCurrent = item.tokenName === currentTokenName;
|
|
11367
11367
|
const status = item.status?.toUpperCase();
|
|
@@ -11445,6 +11445,9 @@ var AssetSelectorDropdown = styled9.div`
|
|
|
11445
11445
|
padding: 0.5rem 0.75rem;
|
|
11446
11446
|
border-radius: 8px;
|
|
11447
11447
|
transition: all 0.2s ease;
|
|
11448
|
+
flex: 1 1 auto;
|
|
11449
|
+
min-width: 0;
|
|
11450
|
+
overflow: hidden;
|
|
11448
11451
|
&:hover { background-color: rgba(255,255,255,0.05); }
|
|
11449
11452
|
`;
|
|
11450
11453
|
var AssetName = styled9.div`
|
|
@@ -11454,7 +11457,8 @@ var AssetName = styled9.div`
|
|
|
11454
11457
|
font-size: 1.15rem;
|
|
11455
11458
|
color: var(--color-text);
|
|
11456
11459
|
letter-spacing: -0.02em;
|
|
11457
|
-
|
|
11460
|
+
min-width: 0;
|
|
11461
|
+
svg { flex-shrink: 0; margin-left: 0.75rem; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); opacity: 0.7; }
|
|
11458
11462
|
&:hover svg { opacity: 1; }
|
|
11459
11463
|
|
|
11460
11464
|
@media (min-width: 769px) and (max-width: 1200px) {
|
|
@@ -11463,6 +11467,9 @@ var AssetName = styled9.div`
|
|
|
11463
11467
|
|
|
11464
11468
|
@media (max-width: 768px) {
|
|
11465
11469
|
font-size: 1rem;
|
|
11470
|
+
overflow: hidden;
|
|
11471
|
+
text-overflow: ellipsis;
|
|
11472
|
+
white-space: nowrap;
|
|
11466
11473
|
}
|
|
11467
11474
|
|
|
11468
11475
|
@media (max-width: 480px) {
|
|
@@ -11482,17 +11489,35 @@ var SelectorMetrics = styled9.div`
|
|
|
11482
11489
|
border: 1px solid rgba(255,255,255,0.05);
|
|
11483
11490
|
|
|
11484
11491
|
@media (max-width: 768px) {
|
|
11485
|
-
|
|
11486
|
-
|
|
11492
|
+
width: 100%;
|
|
11493
|
+
margin-left: 0;
|
|
11487
11494
|
margin-right: 0;
|
|
11495
|
+
justify-content: flex-start;
|
|
11496
|
+
gap: 0.75rem;
|
|
11497
|
+
padding: 0.4rem 0.5rem;
|
|
11488
11498
|
}
|
|
11499
|
+
`;
|
|
11500
|
+
var TrailingWrapper = styled9.div`
|
|
11501
|
+
display: flex;
|
|
11502
|
+
align-items: center;
|
|
11489
11503
|
|
|
11490
|
-
@media (max-width:
|
|
11504
|
+
@media (max-width: 768px) {
|
|
11491
11505
|
width: 100%;
|
|
11492
|
-
|
|
11493
|
-
|
|
11494
|
-
|
|
11495
|
-
|
|
11506
|
+
overflow-x: auto;
|
|
11507
|
+
-webkit-overflow-scrolling: touch;
|
|
11508
|
+
scrollbar-width: none;
|
|
11509
|
+
&::-webkit-scrollbar { display: none; }
|
|
11510
|
+
}
|
|
11511
|
+
`;
|
|
11512
|
+
var TrailingInner = styled9.div`
|
|
11513
|
+
display: flex;
|
|
11514
|
+
align-items: center;
|
|
11515
|
+
|
|
11516
|
+
@media (max-width: 768px) {
|
|
11517
|
+
display: inline-flex;
|
|
11518
|
+
align-items: center;
|
|
11519
|
+
min-width: max-content;
|
|
11520
|
+
gap: 0.75rem;
|
|
11496
11521
|
}
|
|
11497
11522
|
`;
|
|
11498
11523
|
var MetricLabel = styled9.span`
|