@loafmarkets/ui 0.1.178 → 0.1.180
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 +96 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +96 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8561,7 +8561,8 @@ function PropertyOverview({
|
|
|
8561
8561
|
const tokenMarketCap = tokenPriceValue && resolvedTokensIssued ? tokenPriceValue * resolvedTokensIssued : null;
|
|
8562
8562
|
const currentDividendYield = tokenMarketCap && monthlyCoupon > 0 ? (monthlyCoupon * 12 / tokenMarketCap * 100).toFixed(2) : null;
|
|
8563
8563
|
const loadingSkeleton = /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { width: 90, height: 18 });
|
|
8564
|
-
const
|
|
8564
|
+
const rawPropertyType = overviewData?.propertyType ?? propertyTypeLabel ?? null;
|
|
8565
|
+
const resolvedPropertyType = rawPropertyType === "House" ? "Residential" : rawPropertyType;
|
|
8565
8566
|
const galleryImages = images ?? [];
|
|
8566
8567
|
const chainValue = /* @__PURE__ */ jsxRuntime.jsxs(ChainLogos, { children: [
|
|
8567
8568
|
/* @__PURE__ */ jsxRuntime.jsx(ChainLogoImg, { src: "/Base-Symbol.png", alt: "Base" }),
|
|
@@ -8820,7 +8821,41 @@ function PropertyOverview({
|
|
|
8820
8821
|
/* @__PURE__ */ jsxRuntime.jsx(TimelineGain, { children: "+617%" }),
|
|
8821
8822
|
/* @__PURE__ */ jsxRuntime.jsx(CompSalePriorDate, { children: "in 11 yrs" })
|
|
8822
8823
|
] }),
|
|
8823
|
-
/* @__PURE__ */ jsxRuntime.jsx(CompSalePrior, { children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: "2,592 sqm" }) })
|
|
8824
|
+
/* @__PURE__ */ jsxRuntime.jsx(CompSalePrior, { children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: "c.1905, 2,592 sqm" }) })
|
|
8825
|
+
] }),
|
|
8826
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstatesTitle, { children: "Heritage Peer Group \u2014 Mosman" }),
|
|
8827
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstatesDesc, { children: "Musgrave is among a handful of pre-Federation harbour estates that define Mosman's top tier. None of its peers have transacted publicly in recent years." }),
|
|
8828
|
+
/* @__PURE__ */ jsxRuntime.jsxs(PeerEstatesTable, { children: [
|
|
8829
|
+
/* @__PURE__ */ jsxRuntime.jsxs(PeerEstateRow, { $active: true, children: [
|
|
8830
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateName, { children: "Musgrave" }),
|
|
8831
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateYear, { children: "c.1880" }),
|
|
8832
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateSale, { children: "2026" }),
|
|
8833
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateStatus, { $status: "listed", children: "Tokenized on Loaf" })
|
|
8834
|
+
] }),
|
|
8835
|
+
/* @__PURE__ */ jsxRuntime.jsxs(PeerEstateRow, { children: [
|
|
8836
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateName, { children: "Kirkoswald House" }),
|
|
8837
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateYear, { children: "c.1873" }),
|
|
8838
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateSale, { children: "Listed 2025" }),
|
|
8839
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateStatus, { $status: "off", children: "Off Market" })
|
|
8840
|
+
] }),
|
|
8841
|
+
/* @__PURE__ */ jsxRuntime.jsxs(PeerEstateRow, { children: [
|
|
8842
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateName, { children: "Balmoral House" }),
|
|
8843
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateYear, { children: "c.1906" }),
|
|
8844
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateSale, { children: "Sold 2017" }),
|
|
8845
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateStatus, { $status: "off", children: "Off Market \u2014 est. $40M+" })
|
|
8846
|
+
] }),
|
|
8847
|
+
/* @__PURE__ */ jsxRuntime.jsxs(PeerEstateRow, { children: [
|
|
8848
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateName, { children: "Glenmire" }),
|
|
8849
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateYear, { children: "c.1880s" }),
|
|
8850
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateSale, { children: "Sold 2015" }),
|
|
8851
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateStatus, { $status: "off", children: "Off Market" })
|
|
8852
|
+
] }),
|
|
8853
|
+
/* @__PURE__ */ jsxRuntime.jsxs(PeerEstateRow, { $last: true, children: [
|
|
8854
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateName, { children: "Boronia House" }),
|
|
8855
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateYear, { children: "c.1885" }),
|
|
8856
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateSale, { children: "Not sold since 1952" }),
|
|
8857
|
+
/* @__PURE__ */ jsxRuntime.jsx(PeerEstateStatus, { $status: "off", children: "Council-owned" })
|
|
8858
|
+
] })
|
|
8824
8859
|
] })
|
|
8825
8860
|
] }),
|
|
8826
8861
|
/* @__PURE__ */ jsxRuntime.jsxs(StatsColumn, { children: [
|
|
@@ -9451,6 +9486,65 @@ var CompSalePriorDate = styled9__default.default.span`
|
|
|
9451
9486
|
font-size: 0.68rem;
|
|
9452
9487
|
color: rgba(255,255,255,0.25);
|
|
9453
9488
|
`;
|
|
9489
|
+
var PeerEstatesTitle = styled9__default.default.div`
|
|
9490
|
+
font-size: 0.65rem;
|
|
9491
|
+
color: rgba(255,255,255,0.35);
|
|
9492
|
+
text-transform: uppercase;
|
|
9493
|
+
letter-spacing: 0.08em;
|
|
9494
|
+
font-weight: 500;
|
|
9495
|
+
margin-top: 1rem;
|
|
9496
|
+
padding-top: 0.75rem;
|
|
9497
|
+
padding-bottom: 0.35rem;
|
|
9498
|
+
border-top: 1px solid rgba(255,255,255,0.04);
|
|
9499
|
+
`;
|
|
9500
|
+
var PeerEstatesDesc = styled9__default.default.div`
|
|
9501
|
+
font-size: 0.72rem;
|
|
9502
|
+
color: rgba(255,255,255,0.3);
|
|
9503
|
+
line-height: 1.5;
|
|
9504
|
+
margin-bottom: 0.6rem;
|
|
9505
|
+
`;
|
|
9506
|
+
var PeerEstatesTable = styled9__default.default.div`
|
|
9507
|
+
display: flex;
|
|
9508
|
+
flex-direction: column;
|
|
9509
|
+
`;
|
|
9510
|
+
var PeerEstateRow = styled9__default.default.div`
|
|
9511
|
+
display: grid;
|
|
9512
|
+
grid-template-columns: 1fr 52px auto auto;
|
|
9513
|
+
align-items: center;
|
|
9514
|
+
gap: 0.4rem;
|
|
9515
|
+
padding: 0.45rem 0;
|
|
9516
|
+
border-bottom: ${(p) => p.$last ? "none" : "1px solid rgba(255,255,255,0.03)"};
|
|
9517
|
+
${(p) => p.$active ? `
|
|
9518
|
+
background: rgba(212,175,55,0.04);
|
|
9519
|
+
margin: 0 -0.5rem;
|
|
9520
|
+
padding-left: 0.5rem;
|
|
9521
|
+
padding-right: 0.5rem;
|
|
9522
|
+
border-radius: 6px;
|
|
9523
|
+
` : ""}
|
|
9524
|
+
`;
|
|
9525
|
+
var PeerEstateName = styled9__default.default.span`
|
|
9526
|
+
font-size: 0.8rem;
|
|
9527
|
+
font-weight: 500;
|
|
9528
|
+
color: rgba(255,255,255,0.7);
|
|
9529
|
+
`;
|
|
9530
|
+
var PeerEstateYear = styled9__default.default.span`
|
|
9531
|
+
font-size: 0.72rem;
|
|
9532
|
+
color: rgba(255,255,255,0.3);
|
|
9533
|
+
text-align: center;
|
|
9534
|
+
font-variant-numeric: tabular-nums;
|
|
9535
|
+
`;
|
|
9536
|
+
var PeerEstateSale = styled9__default.default.span`
|
|
9537
|
+
font-size: 0.65rem;
|
|
9538
|
+
color: rgba(255,255,255,0.2);
|
|
9539
|
+
text-align: right;
|
|
9540
|
+
white-space: nowrap;
|
|
9541
|
+
`;
|
|
9542
|
+
var PeerEstateStatus = styled9__default.default.span`
|
|
9543
|
+
font-size: 0.68rem;
|
|
9544
|
+
font-weight: 500;
|
|
9545
|
+
text-align: right;
|
|
9546
|
+
color: ${(p) => p.$status === "listed" ? "#D4AF37" : "rgba(255,255,255,0.25)"};
|
|
9547
|
+
`;
|
|
9454
9548
|
var AssetFeatureRow = styled9__default.default.div`
|
|
9455
9549
|
display: flex;
|
|
9456
9550
|
flex-wrap: wrap;
|