@loafmarkets/ui 0.1.270 → 0.1.272

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
@@ -848,6 +848,7 @@ interface OrderHistoryItem {
848
848
  readonly filledAt: number | null;
849
849
  readonly cancelledAt: number | null;
850
850
  readonly createdAt: number;
851
+ readonly isOfferingOrder?: boolean;
851
852
  }
852
853
  interface TradeHistoryItem {
853
854
  readonly tradeId: number;
package/dist/index.d.ts CHANGED
@@ -848,6 +848,7 @@ interface OrderHistoryItem {
848
848
  readonly filledAt: number | null;
849
849
  readonly cancelledAt: number | null;
850
850
  readonly createdAt: number;
851
+ readonly isOfferingOrder?: boolean;
851
852
  }
852
853
  interface TradeHistoryItem {
853
854
  readonly tradeId: number;
package/dist/index.js CHANGED
@@ -13747,7 +13747,8 @@ function PortfolioActivityPanel({
13747
13747
  deadline: 0,
13748
13748
  filledAt: o.status.toUpperCase() === "ALLOCATED" || o.status.toUpperCase() === "FILLED" || o.status.toUpperCase() === "CONFIRMED" ? o.createdAt : null,
13749
13749
  cancelledAt: null,
13750
- createdAt: o.createdAt
13750
+ createdAt: o.createdAt,
13751
+ isOfferingOrder: true
13751
13752
  }));
13752
13753
  return [...orderHistory, ...mapped].sort((a, b) => b.createdAt - a.createdAt);
13753
13754
  }, [showSubscriptionsTab, offeringOrders, orderHistory]);
@@ -14096,10 +14097,11 @@ function PortfolioActivityPanel({
14096
14097
  const meta = getOrderStatusMeta(order.status);
14097
14098
  const isMarket = order.type === "MARKET";
14098
14099
  const filledPercent = order.quantity > 0 ? Math.round(order.filledQuantity / order.quantity * 100) : 0;
14100
+ const typeLabel = order.isOfferingOrder ? "Initial Offering" : prettyLabel(order.type);
14099
14101
  return /* @__PURE__ */ jsxRuntime.jsxs(GridRow, { $columns: "1.2fr 0.6fr 0.7fr 0.8fr 1fr 0.8fr 0.8fr 1fr", children: [
14100
14102
  /* @__PURE__ */ jsxRuntime.jsx(GridCell, { children: /* @__PURE__ */ jsxRuntime.jsx(CellText, { $primary: true, children: order.tokenName }) }),
14101
14103
  /* @__PURE__ */ jsxRuntime.jsx(GridCell, { children: /* @__PURE__ */ jsxRuntime.jsx(SideBadge, { $side: sideLabel(order.side), children: sideLabel(order.side) }) }),
14102
- /* @__PURE__ */ jsxRuntime.jsx(GridCell, { children: /* @__PURE__ */ jsxRuntime.jsx(CellText, { $muted: true, children: prettyLabel(order.type) }) }),
14104
+ /* @__PURE__ */ jsxRuntime.jsx(GridCell, { children: /* @__PURE__ */ jsxRuntime.jsx(CellText, { $muted: true, children: typeLabel }) }),
14103
14105
  /* @__PURE__ */ jsxRuntime.jsx(GridCell, { children: /* @__PURE__ */ jsxRuntime.jsx(CellText, { children: formatNumber2(order.quantity) }) }),
14104
14106
  /* @__PURE__ */ jsxRuntime.jsx(GridCell, { children: /* @__PURE__ */ jsxRuntime.jsx(CellText, { children: isMarket || !order.price ? "Market" : formatCurrency4(order.price) }) }),
14105
14107
  /* @__PURE__ */ jsxRuntime.jsx(GridCell, { children: /* @__PURE__ */ jsxRuntime.jsxs(CellText, { $muted: true, children: [
@@ -15365,9 +15367,9 @@ var NewsVideoRow = styled9__default.default.div`
15365
15367
  align-items: stretch;
15366
15368
 
15367
15369
  & > *:first-child {
15368
- flex: 0 0 420px;
15369
- max-width: 420px;
15370
- min-width: 0;
15370
+ flex: 0 1 520px;
15371
+ min-width: 380px;
15372
+ max-width: 520px;
15371
15373
  }
15372
15374
 
15373
15375
  & > *:last-child {