@loafmarkets/ui 0.1.283 → 0.1.284

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
@@ -13869,15 +13869,17 @@ function PortfolioActivityPanel({
13869
13869
  ] }),
13870
13870
  /* @__PURE__ */ jsxs(CPnlCell, { children: [
13871
13871
  /* @__PURE__ */ jsx(CCellLabel, { children: "PNL (%)" }),
13872
- /* @__PURE__ */ jsxs(CPnlValue, { $positive: isPositive, children: [
13873
- isPositive ? "+" : "-",
13874
- formatCurrency4(Math.abs(pnl))
13875
- ] }),
13876
- /* @__PURE__ */ jsxs(CPnlPct, { $positive: isPositive, children: [
13877
- "(",
13878
- isPositive ? "+" : "",
13879
- pnlPercent.toFixed(1),
13880
- "%)"
13872
+ /* @__PURE__ */ jsxs(CPnlLine, { children: [
13873
+ /* @__PURE__ */ jsxs(CPnlValue, { $positive: isPositive, children: [
13874
+ isPositive ? "+" : "-",
13875
+ formatCurrency4(Math.abs(pnl))
13876
+ ] }),
13877
+ /* @__PURE__ */ jsxs(CPnlPct, { $positive: isPositive, children: [
13878
+ "(",
13879
+ isPositive ? "+" : "",
13880
+ pnlPercent.toFixed(1),
13881
+ "%)"
13882
+ ] })
13881
13883
  ] })
13882
13884
  ] }),
13883
13885
  /* @__PURE__ */ jsx(CChevronWrap, { $open: posExpanded, children: /* @__PURE__ */ jsx("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "rgba(255,255,255,0.5)", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("polyline", { points: "6 9 12 15 18 9" }) }) })
@@ -14927,16 +14929,20 @@ var CUnitsCell = styled9.div`
14927
14929
  font-variant-numeric: tabular-nums;
14928
14930
  `;
14929
14931
  var CPnlCell = styled9.div``;
14930
- var CPnlValue = styled9.div`
14932
+ var CPnlLine = styled9.div`
14933
+ display: flex;
14934
+ align-items: baseline;
14935
+ gap: 4px;
14936
+ `;
14937
+ var CPnlValue = styled9.span`
14931
14938
  font-size: 0.78rem;
14932
14939
  font-weight: 600;
14933
14940
  color: ${(p) => p.$positive ? "#0ecb81" : "#f6465d"};
14934
14941
  font-variant-numeric: tabular-nums;
14935
14942
  `;
14936
- var CPnlPct = styled9.div`
14943
+ var CPnlPct = styled9.span`
14937
14944
  font-size: 0.62rem;
14938
14945
  color: ${(p) => p.$positive ? "rgba(14, 203, 129, 0.65)" : "rgba(246, 70, 93, 0.65)"};
14939
- margin-top: 1px;
14940
14946
  `;
14941
14947
  var CChevronWrap = styled9.span`
14942
14948
  display: flex;