@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.js
CHANGED
|
@@ -11966,15 +11966,21 @@ function PortfolioActivityPanel({
|
|
|
11966
11966
|
" of portfolio"
|
|
11967
11967
|
] })
|
|
11968
11968
|
] }),
|
|
11969
|
-
/* @__PURE__ */ jsxRuntime.
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
|
|
11969
|
+
/* @__PURE__ */ jsxRuntime.jsxs(HoldingsQuantity, { children: [
|
|
11970
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
11971
|
+
pos.quantity.toFixed(2),
|
|
11972
|
+
" ",
|
|
11973
|
+
pos.tokenName
|
|
11974
|
+
] }),
|
|
11975
|
+
/* @__PURE__ */ jsxRuntime.jsxs(HoldingsAvgEntry, { children: [
|
|
11976
|
+
"Avg ",
|
|
11977
|
+
formatCurrency5(pos.averageEntryPrice)
|
|
11978
|
+
] })
|
|
11979
|
+
] }),
|
|
11974
11980
|
/* @__PURE__ */ jsxRuntime.jsxs(HoldingsValue, { children: [
|
|
11975
11981
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: formatCurrency5(currentValue) }),
|
|
11976
11982
|
/* @__PURE__ */ jsxRuntime.jsxs(HoldingsAvgCost, { children: [
|
|
11977
|
-
"Avg ",
|
|
11983
|
+
"Avg cost ",
|
|
11978
11984
|
formatCurrency5(costBasis, { maximumFractionDigits: 0 })
|
|
11979
11985
|
] })
|
|
11980
11986
|
] }),
|
|
@@ -12409,6 +12415,11 @@ var HoldingsQuantity = styled25__default.default.div`
|
|
|
12409
12415
|
font-weight: 500;
|
|
12410
12416
|
color: #fff;
|
|
12411
12417
|
`;
|
|
12418
|
+
var HoldingsAvgEntry = styled25__default.default.div`
|
|
12419
|
+
font-size: 0.7rem;
|
|
12420
|
+
color: var(--color-accent, #E6C87E);
|
|
12421
|
+
font-weight: 500;
|
|
12422
|
+
`;
|
|
12412
12423
|
var HoldingsValue = styled25__default.default.div`
|
|
12413
12424
|
display: flex;
|
|
12414
12425
|
flex-direction: column;
|