@loafmarkets/ui 0.1.93 → 0.1.94

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.mjs CHANGED
@@ -11787,8 +11787,8 @@ var InsufficientFunds = styled25.div`
11787
11787
  `;
11788
11788
  var ACTIVITY_PAGE_SIZE_DEFAULT = 10;
11789
11789
  var formatCurrency5 = (value, opts) => {
11790
- const min = opts?.minimumFractionDigits ?? 2;
11791
- const max = opts?.maximumFractionDigits ?? 2;
11790
+ const min = 2;
11791
+ const max = 2;
11792
11792
  return `$${value.toLocaleString("en-US", { minimumFractionDigits: min, maximumFractionDigits: max })}`;
11793
11793
  };
11794
11794
  var formatNumber2 = (value, maximumFractionDigits = 2) => value.toLocaleString("en-US", { minimumFractionDigits: 0, maximumFractionDigits });
@@ -11951,13 +11951,6 @@ function PortfolioActivityPanel({
11951
11951
  formatCurrency5(pos.averageEntryPrice)
11952
11952
  ] })
11953
11953
  ] }),
11954
- /* @__PURE__ */ jsxs(HoldingsValue, { children: [
11955
- /* @__PURE__ */ jsx("span", { children: formatCurrency5(currentValue) }),
11956
- /* @__PURE__ */ jsxs(HoldingsAvgCost, { children: [
11957
- "Avg cost ",
11958
- formatCurrency5(costBasis, { maximumFractionDigits: 0 })
11959
- ] })
11960
- ] }),
11961
11954
  /* @__PURE__ */ jsxs(HoldingsPnL, { children: [
11962
11955
  /* @__PURE__ */ jsxs(PnLAmount, { $positive: isPositive, children: [
11963
11956
  isPositive ? "+" : "-",
@@ -12355,7 +12348,7 @@ var PaginationLabel = styled25.span`
12355
12348
  `;
12356
12349
  var HoldingsItem = styled25.div`
12357
12350
  display: grid;
12358
- grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
12351
+ grid-template-columns: 1fr 1fr 1fr;
12359
12352
  align-items: center;
12360
12353
  padding: 0.5rem 0;
12361
12354
  min-height: 50px;
@@ -12394,7 +12387,7 @@ var HoldingsAvgEntry = styled25.div`
12394
12387
  color: var(--color-accent, #E6C87E);
12395
12388
  font-weight: 500;
12396
12389
  `;
12397
- var HoldingsValue = styled25.div`
12390
+ styled25.div`
12398
12391
  display: flex;
12399
12392
  flex-direction: column;
12400
12393
  align-items: center;
@@ -12403,7 +12396,7 @@ var HoldingsValue = styled25.div`
12403
12396
  font-weight: 600;
12404
12397
  color: #fff;
12405
12398
  `;
12406
- var HoldingsAvgCost = styled25.div`
12399
+ styled25.div`
12407
12400
  font-size: 0.65rem;
12408
12401
  color: rgba(255, 255, 255, 0.4);
12409
12402
  font-weight: 400;