@loafmarkets/ui 0.1.93 → 0.1.95

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 CHANGED
@@ -11977,9 +11977,9 @@ function PortfolioActivityPanel({
11977
11977
  formatCurrency5(pos.averageEntryPrice)
11978
11978
  ] })
11979
11979
  ] }),
11980
- /* @__PURE__ */ jsxRuntime.jsxs(HoldingsValue, { children: [
11981
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: formatCurrency5(currentValue) }),
11982
- /* @__PURE__ */ jsxRuntime.jsxs(HoldingsAvgCost, { children: [
11980
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", alignItems: "center", gap: "0.15rem" }, children: [
11981
+ /* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: "0.85rem", fontWeight: 600, color: "#fff" }, children: formatCurrency5(currentValue) }),
11982
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: "0.65rem", color: "rgba(255,255,255,0.4)" }, children: [
11983
11983
  "Avg cost ",
11984
11984
  formatCurrency5(costBasis, { maximumFractionDigits: 0 })
11985
11985
  ] })
@@ -12420,20 +12420,6 @@ var HoldingsAvgEntry = styled25__default.default.div`
12420
12420
  color: var(--color-accent, #E6C87E);
12421
12421
  font-weight: 500;
12422
12422
  `;
12423
- var HoldingsValue = styled25__default.default.div`
12424
- display: flex;
12425
- flex-direction: column;
12426
- align-items: center;
12427
- gap: 0.15rem;
12428
- font-size: 0.85rem;
12429
- font-weight: 600;
12430
- color: #fff;
12431
- `;
12432
- var HoldingsAvgCost = styled25__default.default.div`
12433
- font-size: 0.65rem;
12434
- color: rgba(255, 255, 255, 0.4);
12435
- font-weight: 400;
12436
- `;
12437
12423
  var HoldingsPnL = styled25__default.default.div`
12438
12424
  display: flex;
12439
12425
  flex-direction: column;