@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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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:
|
|
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
|
|
15369
|
-
|
|
15370
|
-
|
|
15370
|
+
flex: 0 1 520px;
|
|
15371
|
+
min-width: 380px;
|
|
15372
|
+
max-width: 520px;
|
|
15371
15373
|
}
|
|
15372
15374
|
|
|
15373
15375
|
& > *:last-child {
|