@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.mjs CHANGED
@@ -8986,10 +8986,7 @@ function PropertyOverview({
8986
8986
  ] }),
8987
8987
  /* @__PURE__ */ jsxs(SecurityRow, { children: [
8988
8988
  /* @__PURE__ */ jsx(SecurityLabel, { children: "Independent Valuation" }),
8989
- /* @__PURE__ */ jsxs(SecurityValue, { children: [
8990
- /* @__PURE__ */ 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 } }),
8991
- /* @__PURE__ */ jsx(SecurityDocLink, { href: "#documents", children: "View Report\xA0\u2197" })
8992
- ] })
8989
+ /* @__PURE__ */ jsx(SecurityValue, { children: /* @__PURE__ */ jsx(SecurityDocLink, { href: "#documents", children: "View Report\xA0\u2197" }) })
8993
8990
  ] })
8994
8991
  ] })
8995
8992
  ] })
@@ -9734,6 +9731,9 @@ var CompAssetsGrid = styled9.div`
9734
9731
  display: grid;
9735
9732
  grid-template-columns: 1fr 1fr;
9736
9733
  gap: 0.5rem;
9734
+ @media (max-width: 768px) {
9735
+ grid-template-columns: 1fr;
9736
+ }
9737
9737
  `;
9738
9738
  var CompAssetStrip = styled9.div`
9739
9739
  position: relative;
@@ -13842,7 +13842,7 @@ function PortfolioActivityPanel({
13842
13842
  "PNL (%) ",
13843
13843
  posSortKey === "pnl" && (posSortAsc ? "\u2191" : "\u2193")
13844
13844
  ] }),
13845
- onClosePosition && /* @__PURE__ */ jsx(PositionsHeaderCell, { children: /* @__PURE__ */ jsx(CloseAllHeaderBtn, { onClick: () => setCloseAllOpen(true), children: "Close All" }) })
13845
+ onClosePosition && /* @__PURE__ */ jsx(PositionsHeaderCell, { children: /* @__PURE__ */ jsx(CloseAllHeaderBtn, { onClick: () => setCloseAllOpen(true), children: "Sell All" }) })
13846
13846
  ] }),
13847
13847
  pageSlice(sortedPositions).map((pos) => {
13848
13848
  const currentValue = pos.quantity * pos.marketPrice;
@@ -13879,25 +13879,25 @@ function PortfolioActivityPanel({
13879
13879
  /* @__PURE__ */ jsx(CloseBtn2, { onClick: (e) => {
13880
13880
  e.stopPropagation();
13881
13881
  onClosePosition(pos.tokenName, "market", pos.quantity, pos.marketPrice);
13882
- }, children: "Market" }),
13882
+ }, children: "Market Sell" }),
13883
13883
  /* @__PURE__ */ jsx(CloseBtn2, { onClick: (e) => {
13884
13884
  e.stopPropagation();
13885
13885
  onClosePosition(pos.tokenName, "limit", pos.quantity, pos.marketPrice);
13886
- }, children: "Limit" })
13886
+ }, children: "Limit Sell" })
13887
13887
  ] }) })
13888
13888
  ] }, pos.tokenName);
13889
13889
  }),
13890
13890
  closeAllOpen && onClosePosition && /* @__PURE__ */ jsx(CloseAllOverlay, { onClick: () => setCloseAllOpen(false), children: /* @__PURE__ */ jsxs(CloseAllModal, { onClick: (e) => e.stopPropagation(), children: [
13891
13891
  /* @__PURE__ */ jsx(CloseAllModalX, { onClick: () => setCloseAllOpen(false), children: "\xD7" }),
13892
- /* @__PURE__ */ jsx(CloseAllTitle, { children: "Confirm Close All" }),
13893
- /* @__PURE__ */ jsx(CloseAllDesc, { children: "This will close all your positions and cancel their associated TP/SL orders." }),
13892
+ /* @__PURE__ */ jsx(CloseAllTitle, { children: "Confirm Sell All" }),
13893
+ /* @__PURE__ */ jsx(CloseAllDesc, { children: "This will sell all your positions and cancel their associated TP/SL orders." }),
13894
13894
  /* @__PURE__ */ jsxs(CloseAllOption, { onClick: () => setCloseAllType("market"), children: [
13895
13895
  /* @__PURE__ */ jsx(CloseAllRadio, { $selected: closeAllType === "market" }),
13896
- /* @__PURE__ */ jsx("span", { children: "Market Close" })
13896
+ /* @__PURE__ */ jsx("span", { children: "Market Sell" })
13897
13897
  ] }),
13898
13898
  /* @__PURE__ */ jsxs(CloseAllOption, { onClick: () => setCloseAllType("limit"), children: [
13899
13899
  /* @__PURE__ */ jsx(CloseAllRadio, { $selected: closeAllType === "limit" }),
13900
- /* @__PURE__ */ jsx("span", { children: "Limit Close at Mid Price" })
13900
+ /* @__PURE__ */ jsx("span", { children: "Limit Sell at Mid Price" })
13901
13901
  ] }),
13902
13902
  /* @__PURE__ */ jsxs(CloseAllConfirmBtn, { onClick: () => {
13903
13903
  positions.forEach((pos) => onClosePosition(pos.tokenName, closeAllType, pos.quantity, pos.marketPrice));
@@ -13905,7 +13905,7 @@ function PortfolioActivityPanel({
13905
13905
  }, children: [
13906
13906
  "Confirm ",
13907
13907
  closeAllType === "market" ? "Market" : "Limit",
13908
- " Close"
13908
+ " Sell"
13909
13909
  ] })
13910
13910
  ] }) })
13911
13911
  ] })