@loafmarkets/ui 0.1.270 → 0.1.271

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
@@ -13721,7 +13721,8 @@ function PortfolioActivityPanel({
13721
13721
  deadline: 0,
13722
13722
  filledAt: o.status.toUpperCase() === "ALLOCATED" || o.status.toUpperCase() === "FILLED" || o.status.toUpperCase() === "CONFIRMED" ? o.createdAt : null,
13723
13723
  cancelledAt: null,
13724
- createdAt: o.createdAt
13724
+ createdAt: o.createdAt,
13725
+ isOfferingOrder: true
13725
13726
  }));
13726
13727
  return [...orderHistory, ...mapped].sort((a, b) => b.createdAt - a.createdAt);
13727
13728
  }, [showSubscriptionsTab, offeringOrders, orderHistory]);
@@ -14070,10 +14071,11 @@ function PortfolioActivityPanel({
14070
14071
  const meta = getOrderStatusMeta(order.status);
14071
14072
  const isMarket = order.type === "MARKET";
14072
14073
  const filledPercent = order.quantity > 0 ? Math.round(order.filledQuantity / order.quantity * 100) : 0;
14074
+ const typeLabel = order.isOfferingOrder ? "Initial Offering" : prettyLabel(order.type);
14073
14075
  return /* @__PURE__ */ jsxs(GridRow, { $columns: "1.2fr 0.6fr 0.7fr 0.8fr 1fr 0.8fr 0.8fr 1fr", children: [
14074
14076
  /* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(CellText, { $primary: true, children: order.tokenName }) }),
14075
14077
  /* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(SideBadge, { $side: sideLabel(order.side), children: sideLabel(order.side) }) }),
14076
- /* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(CellText, { $muted: true, children: prettyLabel(order.type) }) }),
14078
+ /* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(CellText, { $muted: true, children: typeLabel }) }),
14077
14079
  /* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(CellText, { children: formatNumber2(order.quantity) }) }),
14078
14080
  /* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(CellText, { children: isMarket || !order.price ? "Market" : formatCurrency4(order.price) }) }),
14079
14081
  /* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsxs(CellText, { $muted: true, children: [