@loafmarkets/ui 0.1.69 → 0.1.71

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.d.mts CHANGED
@@ -824,6 +824,7 @@ interface TradeHistoryItem {
824
824
  readonly price: number;
825
825
  readonly executedAt: number;
826
826
  readonly fee: number;
827
+ readonly status?: string;
827
828
  }
828
829
  interface TransferHistoryItem {
829
830
  readonly type: 'DEPOSIT' | 'WITHDRAWAL';
package/dist/index.d.ts CHANGED
@@ -824,6 +824,7 @@ interface TradeHistoryItem {
824
824
  readonly price: number;
825
825
  readonly executedAt: number;
826
826
  readonly fee: number;
827
+ readonly status?: string;
827
828
  }
828
829
  interface TransferHistoryItem {
829
830
  readonly type: 'DEPOSIT' | 'WITHDRAWAL';
package/dist/index.js CHANGED
@@ -9769,7 +9769,7 @@ function OfferingProgressCard({
9769
9769
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: "\u24D8" })
9770
9770
  ] }),
9771
9771
  /* @__PURE__ */ jsxRuntime.jsxs(LivePercent, { children: [
9772
- percentSold.toFixed(1),
9772
+ percentSold < 0.1 && percentSold > 0 ? percentSold.toFixed(3) : percentSold.toFixed(1),
9773
9773
  "%",
9774
9774
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "arrow", children: "\u2191" })
9775
9775
  ] })
@@ -11679,7 +11679,7 @@ function PortfolioActivityPanel({
11679
11679
  formatTimestamp(trade.executedAt)
11680
11680
  ] })
11681
11681
  ] }),
11682
- /* @__PURE__ */ jsxRuntime.jsx(
11682
+ trade.status === "SETTLEMENT_FAILED" ? /* @__PURE__ */ jsxRuntime.jsx(ActivityTag, { $color: "#f6465d", $bg: "rgba(246,70,93,0.12)", children: "Failed" }) : /* @__PURE__ */ jsxRuntime.jsx(
11683
11683
  ActivityTag,
11684
11684
  {
11685
11685
  $color: trade.side === "SELL" ? "#f6465d" : "#0ecb81",