@loafmarkets/ui 0.1.35 → 0.1.36
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 +18 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10445,9 +10445,15 @@ function PortfolioActivityPanel({
|
|
|
10445
10445
|
] })
|
|
10446
10446
|
] }),
|
|
10447
10447
|
/* @__PURE__ */ jsxs(HoldingsQuantity, { children: [
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
|
|
10448
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
10449
|
+
pos.quantity.toFixed(2),
|
|
10450
|
+
" ",
|
|
10451
|
+
pos.tokenName
|
|
10452
|
+
] }),
|
|
10453
|
+
/* @__PURE__ */ jsxs(HoldingsAvgEntry, { children: [
|
|
10454
|
+
"Avg ",
|
|
10455
|
+
formatCurrency5(pos.averageEntryPrice)
|
|
10456
|
+
] })
|
|
10451
10457
|
] }),
|
|
10452
10458
|
/* @__PURE__ */ jsxs(HoldingsPnL, { children: [
|
|
10453
10459
|
/* @__PURE__ */ jsxs(PnLAmount, { $positive: isPositive, children: [
|
|
@@ -10833,10 +10839,18 @@ var HoldingsPortfolio = styled24.div`
|
|
|
10833
10839
|
}
|
|
10834
10840
|
`;
|
|
10835
10841
|
var HoldingsQuantity = styled24.div`
|
|
10842
|
+
display: flex;
|
|
10843
|
+
flex-direction: column;
|
|
10844
|
+
align-items: center;
|
|
10845
|
+
gap: 0.15rem;
|
|
10836
10846
|
font-size: 0.85rem;
|
|
10837
10847
|
font-weight: 500;
|
|
10838
10848
|
color: #fff;
|
|
10839
|
-
|
|
10849
|
+
`;
|
|
10850
|
+
var HoldingsAvgEntry = styled24.div`
|
|
10851
|
+
font-size: 0.7rem;
|
|
10852
|
+
color: var(--color-accent, #E6C87E);
|
|
10853
|
+
font-weight: 500;
|
|
10840
10854
|
`;
|
|
10841
10855
|
var HoldingsPnL = styled24.div`
|
|
10842
10856
|
display: flex;
|