@loafmarkets/ui 0.1.85 → 0.1.87
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.js +1 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11633,14 +11633,7 @@ function PortfolioActivityPanel({
|
|
|
11633
11633
|
formatTimestamp(trade.executedAt)
|
|
11634
11634
|
] })
|
|
11635
11635
|
] }),
|
|
11636
|
-
trade.status === "SETTLEMENT_FAILED" ? /* @__PURE__ */ jsxRuntime.jsx(ActivityTag, { $color: "#f6465d", $bg: "rgba(246,70,93,0.12)", children: "Failed" }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
11637
|
-
ActivityTag,
|
|
11638
|
-
{
|
|
11639
|
-
$color: trade.side === "SELL" ? "#f6465d" : "#0ecb81",
|
|
11640
|
-
$bg: trade.side === "SELL" ? "rgba(246,70,93,0.12)" : "rgba(14,203,129,0.12)",
|
|
11641
|
-
children: sideLabel(trade.side)
|
|
11642
|
-
}
|
|
11643
|
-
),
|
|
11636
|
+
trade.status === "SETTLEMENT_FAILED" ? /* @__PURE__ */ jsxRuntime.jsx(ActivityTag, { $color: "#f6465d", $bg: "rgba(246,70,93,0.12)", children: "Failed" }) : trade.status === "SETTLED" ? /* @__PURE__ */ jsxRuntime.jsx(ActivityTag, { $color: "#0ecb81", $bg: "rgba(14,203,129,0.12)", children: "Settled" }) : /* @__PURE__ */ jsxRuntime.jsx(ActivityTag, { $color: "#f0b90b", $bg: "rgba(240,185,11,0.15)", children: "Settling" }),
|
|
11644
11637
|
/* @__PURE__ */ jsxRuntime.jsx(ActivityAmount, { children: formatCurrency5(trade.price * trade.quantity) })
|
|
11645
11638
|
] }, trade.tradeId))
|
|
11646
11639
|
] }),
|