@loafmarkets/ui 0.1.399 → 0.1.400
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 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7681,12 +7681,12 @@ var LoginPopup = ({
|
|
|
7681
7681
|
marginBottom: "1.25rem"
|
|
7682
7682
|
}, children: [
|
|
7683
7683
|
/* @__PURE__ */ jsx("div", { style: { width: 7, height: 7, borderRadius: "50%", background: "#0052FF", flexShrink: 0 } }),
|
|
7684
|
-
/* @__PURE__ */ jsx("span", { style: { fontSize: "0.72rem", fontWeight: 600, color: "#6b9fff", letterSpacing: "0.02em" }, children: "
|
|
7684
|
+
/* @__PURE__ */ jsx("span", { style: { fontSize: "0.72rem", fontWeight: 600, color: "#6b9fff", letterSpacing: "0.02em" }, children: "Arbitrum Sepolia" })
|
|
7685
7685
|
] }),
|
|
7686
7686
|
/* @__PURE__ */ jsxs("p", { style: { fontSize: "0.82rem", color: "rgba(255,255,255,0.5)", textAlign: "center", marginBottom: "1.1rem", lineHeight: 1.5, maxWidth: 320 }, children: [
|
|
7687
7687
|
"Send ",
|
|
7688
7688
|
/* @__PURE__ */ jsx("strong", { style: { color: "rgba(255,255,255,0.8)" }, children: "USDC" }),
|
|
7689
|
-
" on
|
|
7689
|
+
" on Arbitrum Sepolia to the address below. Only send on this network."
|
|
7690
7690
|
] }),
|
|
7691
7691
|
/* @__PURE__ */ jsxs("div", { style: {
|
|
7692
7692
|
width: "100%",
|
|
@@ -10343,13 +10343,13 @@ function PropertyOverview({
|
|
|
10343
10343
|
const resolvedPropertyType = rawPropertyType?.toLowerCase() === "house" ? "Residential" : rawPropertyType;
|
|
10344
10344
|
const galleryImages = images ?? [];
|
|
10345
10345
|
const chainValue = /* @__PURE__ */ jsxs(ChainLogos, { children: [
|
|
10346
|
-
/* @__PURE__ */ jsx(ChainLogoImg, { src: "/
|
|
10346
|
+
/* @__PURE__ */ jsx(ChainLogoImg, { src: "/Arbitrum-Symbol.svg", alt: "Arbitrum" }),
|
|
10347
10347
|
/* @__PURE__ */ jsx(ChainLogoImg, { src: "/Ethereum-Logo.png", alt: "Ethereum", style: { filter: "brightness(0) invert(1)" } }),
|
|
10348
10348
|
/* @__PURE__ */ jsx("span", { children: chain })
|
|
10349
10349
|
] });
|
|
10350
10350
|
const tokenDetailsItems = [
|
|
10351
10351
|
{ label: "Chain", value: chainValue },
|
|
10352
|
-
{ label: "On-Chain Address", value: contractAddress ? truncateAddress(contractAddress) : "\u2014", mono: true, link: contractAddress ? `https://sepolia.
|
|
10352
|
+
{ label: "On-Chain Address", value: contractAddress ? truncateAddress(contractAddress) : "\u2014", mono: true, link: contractAddress ? `https://sepolia.arbiscan.io/address/${contractAddress}` : void 0, copyValue: contractAddress },
|
|
10353
10353
|
{ label: "Token Ticker", value: ticker ?? "\u2014" },
|
|
10354
10354
|
{ label: "Total Circulating Tokens", value: isLoading && resolvedTokensIssued == null ? loadingSkeleton : resolvedTokensIssued?.toLocaleString() ?? "\u2014" },
|
|
10355
10355
|
{ label: "Legal Structuring", value: "See Documents", docLink: true },
|
|
@@ -14870,7 +14870,7 @@ var getOrderStatusMeta = (statusRaw) => {
|
|
|
14870
14870
|
return { color: "#E6C87E", bg: "rgba(240,185,11,0.15)" };
|
|
14871
14871
|
};
|
|
14872
14872
|
var ChevronDown = () => /* @__PURE__ */ jsx("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "rgba(255,255,255,0.5)", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("polyline", { points: "6 9 12 15 18 9" }) });
|
|
14873
|
-
var
|
|
14873
|
+
var ArbiscanIconLink = ({ url }) => /* @__PURE__ */ jsx(TxLink, { href: url, target: "_blank", rel: "noopener noreferrer", title: "View on Arbiscan", onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsxs("svg", { width: "13", height: "13", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
14874
14874
|
/* @__PURE__ */ jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
|
|
14875
14875
|
/* @__PURE__ */ jsx("polyline", { points: "15 3 21 3 21 9" }),
|
|
14876
14876
|
/* @__PURE__ */ jsx("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
|
|
@@ -14895,7 +14895,7 @@ function PortfolioActivityPanel({
|
|
|
14895
14895
|
defaultTab,
|
|
14896
14896
|
onTabChange,
|
|
14897
14897
|
pageSize = ACTIVITY_PAGE_SIZE_DEFAULT,
|
|
14898
|
-
blockExplorerBaseUrl: _blockExplorerBaseUrl = "https://sepolia.
|
|
14898
|
+
blockExplorerBaseUrl: _blockExplorerBaseUrl = "https://sepolia.arbiscan.io/tx",
|
|
14899
14899
|
className,
|
|
14900
14900
|
style
|
|
14901
14901
|
}) {
|
|
@@ -15339,7 +15339,7 @@ function PortfolioActivityPanel({
|
|
|
15339
15339
|
/* @__PURE__ */ jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: "0.35rem" }, children: [
|
|
15340
15340
|
formatNumber2(order.quantity),
|
|
15341
15341
|
order.ticker && /* @__PURE__ */ jsx(TickerTag, { style: { marginLeft: 0 }, children: order.ticker.toUpperCase() }),
|
|
15342
|
-
order.txHash && /* @__PURE__ */ jsx(
|
|
15342
|
+
order.txHash && /* @__PURE__ */ jsx(ArbiscanIconLink, { url: `${_blockExplorerBaseUrl}/${order.txHash}` })
|
|
15343
15343
|
] })
|
|
15344
15344
|
] }),
|
|
15345
15345
|
/* @__PURE__ */ jsxs(CUnitsCell, { children: [
|
|
@@ -15392,7 +15392,7 @@ function PortfolioActivityPanel({
|
|
|
15392
15392
|
order.status === "REJECTED" && order.rejectionReason && /* @__PURE__ */ jsx(CellText, { $muted: true, style: { fontSize: "0.62rem", marginTop: "0.2rem", maxWidth: "120px", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, title: order.rejectionReason, children: order.rejectionReason })
|
|
15393
15393
|
] }),
|
|
15394
15394
|
/* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(CellText, { $muted: true, children: formatTimestamp(order.createdAt) }) }),
|
|
15395
|
-
/* @__PURE__ */ jsx(GridCell, { children: order.txHash && /* @__PURE__ */ jsx(TxLink, { href: `${_blockExplorerBaseUrl}/${order.txHash}`, target: "_blank", rel: "noopener noreferrer", title: "View on
|
|
15395
|
+
/* @__PURE__ */ jsx(GridCell, { children: order.txHash && /* @__PURE__ */ jsx(TxLink, { href: `${_blockExplorerBaseUrl}/${order.txHash}`, target: "_blank", rel: "noopener noreferrer", title: "View on Arbiscan", children: /* @__PURE__ */ jsxs("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
15396
15396
|
/* @__PURE__ */ jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
|
|
15397
15397
|
/* @__PURE__ */ jsx("polyline", { points: "15 3 21 3 21 9" }),
|
|
15398
15398
|
/* @__PURE__ */ jsx("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
|
|
@@ -15636,7 +15636,7 @@ function PortfolioActivityPanel({
|
|
|
15636
15636
|
/* @__PURE__ */ jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: "0.35rem" }, children: [
|
|
15637
15637
|
formatNumber2(trade.quantity),
|
|
15638
15638
|
trade.ticker && /* @__PURE__ */ jsx(TickerTag, { style: { marginLeft: 0 }, children: trade.ticker.toUpperCase() }),
|
|
15639
|
-
trade.txHash && /* @__PURE__ */ jsx(
|
|
15639
|
+
trade.txHash && /* @__PURE__ */ jsx(ArbiscanIconLink, { url: `${_blockExplorerBaseUrl}/${trade.txHash}` })
|
|
15640
15640
|
] })
|
|
15641
15641
|
] }),
|
|
15642
15642
|
/* @__PURE__ */ jsxs(CUnitsCell, { children: [
|
|
@@ -15703,7 +15703,7 @@ function PortfolioActivityPanel({
|
|
|
15703
15703
|
/* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(CellText, { children: formatCurrency4(trade.price * trade.quantity) }) }),
|
|
15704
15704
|
/* @__PURE__ */ jsx(GridCell, { children: settlementMeta ? /* @__PURE__ */ jsx(ActivityTag, { $color: settlementMeta.color, $bg: settlementMeta.bg, children: settlementLabel }) : /* @__PURE__ */ jsx(CellText, { $muted: true, children: "\u2014" }) }),
|
|
15705
15705
|
/* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(CellText, { $muted: true, children: formatTimestamp(trade.executedAt) }) }),
|
|
15706
|
-
/* @__PURE__ */ jsx(GridCell, { children: trade.txHash && /* @__PURE__ */ jsx(TxLink, { href: `${_blockExplorerBaseUrl}/${trade.txHash}`, target: "_blank", rel: "noopener noreferrer", title: "View on
|
|
15706
|
+
/* @__PURE__ */ jsx(GridCell, { children: trade.txHash && /* @__PURE__ */ jsx(TxLink, { href: `${_blockExplorerBaseUrl}/${trade.txHash}`, target: "_blank", rel: "noopener noreferrer", title: "View on Arbiscan", children: /* @__PURE__ */ jsxs("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
15707
15707
|
/* @__PURE__ */ jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
|
|
15708
15708
|
/* @__PURE__ */ jsx("polyline", { points: "15 3 21 3 21 9" }),
|
|
15709
15709
|
/* @__PURE__ */ jsx("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
|
|
@@ -15750,7 +15750,7 @@ function PortfolioActivityPanel({
|
|
|
15750
15750
|
/* @__PURE__ */ jsx(CDValue, { children: formatTimestamp(t.createdAt) })
|
|
15751
15751
|
] })
|
|
15752
15752
|
] }),
|
|
15753
|
-
txUrl && /* @__PURE__ */ jsx(CExpandedLink, { href: txUrl, target: "_blank", rel: "noopener noreferrer", children: "View on
|
|
15753
|
+
txUrl && /* @__PURE__ */ jsx(CExpandedLink, { href: txUrl, target: "_blank", rel: "noopener noreferrer", children: "View on Arbiscan \u2197" })
|
|
15754
15754
|
] })
|
|
15755
15755
|
] }, rowKey);
|
|
15756
15756
|
}),
|
|
@@ -15776,7 +15776,7 @@ function PortfolioActivityPanel({
|
|
|
15776
15776
|
/* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(CellText, { $muted: true, children: formatAddress(t.address) }) }),
|
|
15777
15777
|
/* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(ActivityTag, { $color: statusMeta.color, $bg: statusMeta.bg, children: prettyLabel(t.status) }) }),
|
|
15778
15778
|
/* @__PURE__ */ jsx(GridCell, { children: /* @__PURE__ */ jsx(CellText, { $muted: true, children: formatTimestamp(t.createdAt) }) }),
|
|
15779
|
-
/* @__PURE__ */ jsx(GridCell, { children: txUrl && /* @__PURE__ */ jsx(TxLink, { href: txUrl, target: "_blank", rel: "noopener noreferrer", title: "View on
|
|
15779
|
+
/* @__PURE__ */ jsx(GridCell, { children: txUrl && /* @__PURE__ */ jsx(TxLink, { href: txUrl, target: "_blank", rel: "noopener noreferrer", title: "View on Arbiscan", children: /* @__PURE__ */ jsxs("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
15780
15780
|
/* @__PURE__ */ jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
|
|
15781
15781
|
/* @__PURE__ */ jsx("polyline", { points: "15 3 21 3 21 9" }),
|
|
15782
15782
|
/* @__PURE__ */ jsx("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
|
|
@@ -19443,7 +19443,7 @@ var Container3 = styled10.div`
|
|
|
19443
19443
|
gap: 8px;
|
|
19444
19444
|
}
|
|
19445
19445
|
`;
|
|
19446
|
-
var DEFAULT_EXPLORER = "https://sepolia.
|
|
19446
|
+
var DEFAULT_EXPLORER = "https://sepolia.arbiscan.io/tx/";
|
|
19447
19447
|
function truncateHash(hash) {
|
|
19448
19448
|
return `${hash.slice(0, 6)}\u2026${hash.slice(-4)}`;
|
|
19449
19449
|
}
|