@loafmarkets/ui 0.1.92 → 0.1.93
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 +17 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11940,15 +11940,21 @@ function PortfolioActivityPanel({
|
|
|
11940
11940
|
" of portfolio"
|
|
11941
11941
|
] })
|
|
11942
11942
|
] }),
|
|
11943
|
-
/* @__PURE__ */
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11943
|
+
/* @__PURE__ */ jsxs(HoldingsQuantity, { children: [
|
|
11944
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
11945
|
+
pos.quantity.toFixed(2),
|
|
11946
|
+
" ",
|
|
11947
|
+
pos.tokenName
|
|
11948
|
+
] }),
|
|
11949
|
+
/* @__PURE__ */ jsxs(HoldingsAvgEntry, { children: [
|
|
11950
|
+
"Avg ",
|
|
11951
|
+
formatCurrency5(pos.averageEntryPrice)
|
|
11952
|
+
] })
|
|
11953
|
+
] }),
|
|
11948
11954
|
/* @__PURE__ */ jsxs(HoldingsValue, { children: [
|
|
11949
11955
|
/* @__PURE__ */ jsx("span", { children: formatCurrency5(currentValue) }),
|
|
11950
11956
|
/* @__PURE__ */ jsxs(HoldingsAvgCost, { children: [
|
|
11951
|
-
"Avg ",
|
|
11957
|
+
"Avg cost ",
|
|
11952
11958
|
formatCurrency5(costBasis, { maximumFractionDigits: 0 })
|
|
11953
11959
|
] })
|
|
11954
11960
|
] }),
|
|
@@ -12383,6 +12389,11 @@ var HoldingsQuantity = styled25.div`
|
|
|
12383
12389
|
font-weight: 500;
|
|
12384
12390
|
color: #fff;
|
|
12385
12391
|
`;
|
|
12392
|
+
var HoldingsAvgEntry = styled25.div`
|
|
12393
|
+
font-size: 0.7rem;
|
|
12394
|
+
color: var(--color-accent, #E6C87E);
|
|
12395
|
+
font-weight: 500;
|
|
12396
|
+
`;
|
|
12386
12397
|
var HoldingsValue = styled25.div`
|
|
12387
12398
|
display: flex;
|
|
12388
12399
|
flex-direction: column;
|