@loafmarkets/ui 0.1.248 → 0.1.250
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 +12 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9012,10 +9012,7 @@ function PropertyOverview({
|
|
|
9012
9012
|
] }),
|
|
9013
9013
|
/* @__PURE__ */ jsxRuntime.jsxs(SecurityRow, { children: [
|
|
9014
9014
|
/* @__PURE__ */ jsxRuntime.jsx(SecurityLabel, { children: "Independent Valuation" }),
|
|
9015
|
-
/* @__PURE__ */ jsxRuntime.
|
|
9016
|
-
/* @__PURE__ */ jsxRuntime.jsx("img", { src: "/savills.png", alt: "Savills", style: { height: 14, borderRadius: 2, filter: "grayscale(1) brightness(1.2) contrast(1.6)", opacity: 0.7, verticalAlign: "middle", marginRight: 6 } }),
|
|
9017
|
-
/* @__PURE__ */ jsxRuntime.jsx(SecurityDocLink, { href: "#documents", children: "View Report\xA0\u2197" })
|
|
9018
|
-
] })
|
|
9015
|
+
/* @__PURE__ */ jsxRuntime.jsx(SecurityValue, { children: /* @__PURE__ */ jsxRuntime.jsx(SecurityDocLink, { href: "#documents", children: "View Report\xA0\u2197" }) })
|
|
9019
9016
|
] })
|
|
9020
9017
|
] })
|
|
9021
9018
|
] })
|
|
@@ -9760,6 +9757,9 @@ var CompAssetsGrid = styled9__default.default.div`
|
|
|
9760
9757
|
display: grid;
|
|
9761
9758
|
grid-template-columns: 1fr 1fr;
|
|
9762
9759
|
gap: 0.5rem;
|
|
9760
|
+
@media (max-width: 768px) {
|
|
9761
|
+
grid-template-columns: 1fr;
|
|
9762
|
+
}
|
|
9763
9763
|
`;
|
|
9764
9764
|
var CompAssetStrip = styled9__default.default.div`
|
|
9765
9765
|
position: relative;
|
|
@@ -13868,7 +13868,7 @@ function PortfolioActivityPanel({
|
|
|
13868
13868
|
"PNL (%) ",
|
|
13869
13869
|
posSortKey === "pnl" && (posSortAsc ? "\u2191" : "\u2193")
|
|
13870
13870
|
] }),
|
|
13871
|
-
onClosePosition && /* @__PURE__ */ jsxRuntime.jsx(PositionsHeaderCell, { children: /* @__PURE__ */ jsxRuntime.jsx(CloseAllHeaderBtn, { onClick: () => setCloseAllOpen(true), children: "
|
|
13871
|
+
onClosePosition && /* @__PURE__ */ jsxRuntime.jsx(PositionsHeaderCell, { children: /* @__PURE__ */ jsxRuntime.jsx(CloseAllHeaderBtn, { onClick: () => setCloseAllOpen(true), children: "Sell All" }) })
|
|
13872
13872
|
] }),
|
|
13873
13873
|
pageSlice(sortedPositions).map((pos) => {
|
|
13874
13874
|
const currentValue = pos.quantity * pos.marketPrice;
|
|
@@ -13905,25 +13905,25 @@ function PortfolioActivityPanel({
|
|
|
13905
13905
|
/* @__PURE__ */ jsxRuntime.jsx(CloseBtn2, { onClick: (e) => {
|
|
13906
13906
|
e.stopPropagation();
|
|
13907
13907
|
onClosePosition(pos.tokenName, "market", pos.quantity, pos.marketPrice);
|
|
13908
|
-
}, children: "Market" }),
|
|
13908
|
+
}, children: "Market Sell" }),
|
|
13909
13909
|
/* @__PURE__ */ jsxRuntime.jsx(CloseBtn2, { onClick: (e) => {
|
|
13910
13910
|
e.stopPropagation();
|
|
13911
13911
|
onClosePosition(pos.tokenName, "limit", pos.quantity, pos.marketPrice);
|
|
13912
|
-
}, children: "Limit" })
|
|
13912
|
+
}, children: "Limit Sell" })
|
|
13913
13913
|
] }) })
|
|
13914
13914
|
] }, pos.tokenName);
|
|
13915
13915
|
}),
|
|
13916
13916
|
closeAllOpen && onClosePosition && /* @__PURE__ */ jsxRuntime.jsx(CloseAllOverlay, { onClick: () => setCloseAllOpen(false), children: /* @__PURE__ */ jsxRuntime.jsxs(CloseAllModal, { onClick: (e) => e.stopPropagation(), children: [
|
|
13917
13917
|
/* @__PURE__ */ jsxRuntime.jsx(CloseAllModalX, { onClick: () => setCloseAllOpen(false), children: "\xD7" }),
|
|
13918
|
-
/* @__PURE__ */ jsxRuntime.jsx(CloseAllTitle, { children: "Confirm
|
|
13919
|
-
/* @__PURE__ */ jsxRuntime.jsx(CloseAllDesc, { children: "This will
|
|
13918
|
+
/* @__PURE__ */ jsxRuntime.jsx(CloseAllTitle, { children: "Confirm Sell All" }),
|
|
13919
|
+
/* @__PURE__ */ jsxRuntime.jsx(CloseAllDesc, { children: "This will sell all your positions and cancel their associated TP/SL orders." }),
|
|
13920
13920
|
/* @__PURE__ */ jsxRuntime.jsxs(CloseAllOption, { onClick: () => setCloseAllType("market"), children: [
|
|
13921
13921
|
/* @__PURE__ */ jsxRuntime.jsx(CloseAllRadio, { $selected: closeAllType === "market" }),
|
|
13922
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Market
|
|
13922
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Market Sell" })
|
|
13923
13923
|
] }),
|
|
13924
13924
|
/* @__PURE__ */ jsxRuntime.jsxs(CloseAllOption, { onClick: () => setCloseAllType("limit"), children: [
|
|
13925
13925
|
/* @__PURE__ */ jsxRuntime.jsx(CloseAllRadio, { $selected: closeAllType === "limit" }),
|
|
13926
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Limit
|
|
13926
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Limit Sell at Mid Price" })
|
|
13927
13927
|
] }),
|
|
13928
13928
|
/* @__PURE__ */ jsxRuntime.jsxs(CloseAllConfirmBtn, { onClick: () => {
|
|
13929
13929
|
positions.forEach((pos) => onClosePosition(pos.tokenName, closeAllType, pos.quantity, pos.marketPrice));
|
|
@@ -13931,7 +13931,7 @@ function PortfolioActivityPanel({
|
|
|
13931
13931
|
}, children: [
|
|
13932
13932
|
"Confirm ",
|
|
13933
13933
|
closeAllType === "market" ? "Market" : "Limit",
|
|
13934
|
-
"
|
|
13934
|
+
" Sell"
|
|
13935
13935
|
] })
|
|
13936
13936
|
] }) })
|
|
13937
13937
|
] })
|