@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.js
CHANGED
|
@@ -10470,9 +10470,15 @@ function PortfolioActivityPanel({
|
|
|
10470
10470
|
] })
|
|
10471
10471
|
] }),
|
|
10472
10472
|
/* @__PURE__ */ jsxRuntime.jsxs(HoldingsQuantity, { children: [
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
|
|
10473
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
10474
|
+
pos.quantity.toFixed(2),
|
|
10475
|
+
" ",
|
|
10476
|
+
pos.tokenName
|
|
10477
|
+
] }),
|
|
10478
|
+
/* @__PURE__ */ jsxRuntime.jsxs(HoldingsAvgEntry, { children: [
|
|
10479
|
+
"Avg ",
|
|
10480
|
+
formatCurrency5(pos.averageEntryPrice)
|
|
10481
|
+
] })
|
|
10476
10482
|
] }),
|
|
10477
10483
|
/* @__PURE__ */ jsxRuntime.jsxs(HoldingsPnL, { children: [
|
|
10478
10484
|
/* @__PURE__ */ jsxRuntime.jsxs(PnLAmount, { $positive: isPositive, children: [
|
|
@@ -10858,10 +10864,18 @@ var HoldingsPortfolio = styled24__default.default.div`
|
|
|
10858
10864
|
}
|
|
10859
10865
|
`;
|
|
10860
10866
|
var HoldingsQuantity = styled24__default.default.div`
|
|
10867
|
+
display: flex;
|
|
10868
|
+
flex-direction: column;
|
|
10869
|
+
align-items: center;
|
|
10870
|
+
gap: 0.15rem;
|
|
10861
10871
|
font-size: 0.85rem;
|
|
10862
10872
|
font-weight: 500;
|
|
10863
10873
|
color: #fff;
|
|
10864
|
-
|
|
10874
|
+
`;
|
|
10875
|
+
var HoldingsAvgEntry = styled24__default.default.div`
|
|
10876
|
+
font-size: 0.7rem;
|
|
10877
|
+
color: var(--color-accent, #E6C87E);
|
|
10878
|
+
font-weight: 500;
|
|
10865
10879
|
`;
|
|
10866
10880
|
var HoldingsPnL = styled24__default.default.div`
|
|
10867
10881
|
display: flex;
|