@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.mjs
CHANGED
|
@@ -8535,7 +8535,8 @@ function PropertyOverview({
|
|
|
8535
8535
|
const tokenMarketCap = tokenPriceValue && resolvedTokensIssued ? tokenPriceValue * resolvedTokensIssued : null;
|
|
8536
8536
|
const currentDividendYield = tokenMarketCap && monthlyCoupon > 0 ? (monthlyCoupon * 12 / tokenMarketCap * 100).toFixed(2) : null;
|
|
8537
8537
|
const loadingSkeleton = /* @__PURE__ */ jsx(Skeleton, { width: 90, height: 18 });
|
|
8538
|
-
const
|
|
8538
|
+
const rawPropertyType = overviewData?.propertyType ?? propertyTypeLabel ?? null;
|
|
8539
|
+
const resolvedPropertyType = rawPropertyType === "House" ? "Residential" : rawPropertyType;
|
|
8539
8540
|
const galleryImages = images ?? [];
|
|
8540
8541
|
const chainValue = /* @__PURE__ */ jsxs(ChainLogos, { children: [
|
|
8541
8542
|
/* @__PURE__ */ jsx(ChainLogoImg, { src: "/Base-Symbol.png", alt: "Base" }),
|
|
@@ -8794,7 +8795,41 @@ function PropertyOverview({
|
|
|
8794
8795
|
/* @__PURE__ */ jsx(TimelineGain, { children: "+617%" }),
|
|
8795
8796
|
/* @__PURE__ */ jsx(CompSalePriorDate, { children: "in 11 yrs" })
|
|
8796
8797
|
] }),
|
|
8797
|
-
/* @__PURE__ */ jsx(CompSalePrior, { children: /* @__PURE__ */ jsx("span", { children: "2,592 sqm" }) })
|
|
8798
|
+
/* @__PURE__ */ jsx(CompSalePrior, { children: /* @__PURE__ */ jsx("span", { children: "c.1905, 2,592 sqm" }) })
|
|
8799
|
+
] }),
|
|
8800
|
+
/* @__PURE__ */ jsx(PeerEstatesTitle, { children: "Heritage Peer Group \u2014 Mosman" }),
|
|
8801
|
+
/* @__PURE__ */ 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." }),
|
|
8802
|
+
/* @__PURE__ */ jsxs(PeerEstatesTable, { children: [
|
|
8803
|
+
/* @__PURE__ */ jsxs(PeerEstateRow, { $active: true, children: [
|
|
8804
|
+
/* @__PURE__ */ jsx(PeerEstateName, { children: "Musgrave" }),
|
|
8805
|
+
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.1880" }),
|
|
8806
|
+
/* @__PURE__ */ jsx(PeerEstateSale, { children: "2026" }),
|
|
8807
|
+
/* @__PURE__ */ jsx(PeerEstateStatus, { $status: "listed", children: "Tokenized on Loaf" })
|
|
8808
|
+
] }),
|
|
8809
|
+
/* @__PURE__ */ jsxs(PeerEstateRow, { children: [
|
|
8810
|
+
/* @__PURE__ */ jsx(PeerEstateName, { children: "Kirkoswald House" }),
|
|
8811
|
+
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.1873" }),
|
|
8812
|
+
/* @__PURE__ */ jsx(PeerEstateSale, { children: "Listed 2025" }),
|
|
8813
|
+
/* @__PURE__ */ jsx(PeerEstateStatus, { $status: "off", children: "Off Market" })
|
|
8814
|
+
] }),
|
|
8815
|
+
/* @__PURE__ */ jsxs(PeerEstateRow, { children: [
|
|
8816
|
+
/* @__PURE__ */ jsx(PeerEstateName, { children: "Balmoral House" }),
|
|
8817
|
+
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.1906" }),
|
|
8818
|
+
/* @__PURE__ */ jsx(PeerEstateSale, { children: "Sold 2017" }),
|
|
8819
|
+
/* @__PURE__ */ jsx(PeerEstateStatus, { $status: "off", children: "Off Market \u2014 est. $40M+" })
|
|
8820
|
+
] }),
|
|
8821
|
+
/* @__PURE__ */ jsxs(PeerEstateRow, { children: [
|
|
8822
|
+
/* @__PURE__ */ jsx(PeerEstateName, { children: "Glenmire" }),
|
|
8823
|
+
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.1880s" }),
|
|
8824
|
+
/* @__PURE__ */ jsx(PeerEstateSale, { children: "Sold 2015" }),
|
|
8825
|
+
/* @__PURE__ */ jsx(PeerEstateStatus, { $status: "off", children: "Off Market" })
|
|
8826
|
+
] }),
|
|
8827
|
+
/* @__PURE__ */ jsxs(PeerEstateRow, { $last: true, children: [
|
|
8828
|
+
/* @__PURE__ */ jsx(PeerEstateName, { children: "Boronia House" }),
|
|
8829
|
+
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.1885" }),
|
|
8830
|
+
/* @__PURE__ */ jsx(PeerEstateSale, { children: "Not sold since 1952" }),
|
|
8831
|
+
/* @__PURE__ */ jsx(PeerEstateStatus, { $status: "off", children: "Council-owned" })
|
|
8832
|
+
] })
|
|
8798
8833
|
] })
|
|
8799
8834
|
] }),
|
|
8800
8835
|
/* @__PURE__ */ jsxs(StatsColumn, { children: [
|
|
@@ -9425,6 +9460,65 @@ var CompSalePriorDate = styled9.span`
|
|
|
9425
9460
|
font-size: 0.68rem;
|
|
9426
9461
|
color: rgba(255,255,255,0.25);
|
|
9427
9462
|
`;
|
|
9463
|
+
var PeerEstatesTitle = styled9.div`
|
|
9464
|
+
font-size: 0.65rem;
|
|
9465
|
+
color: rgba(255,255,255,0.35);
|
|
9466
|
+
text-transform: uppercase;
|
|
9467
|
+
letter-spacing: 0.08em;
|
|
9468
|
+
font-weight: 500;
|
|
9469
|
+
margin-top: 1rem;
|
|
9470
|
+
padding-top: 0.75rem;
|
|
9471
|
+
padding-bottom: 0.35rem;
|
|
9472
|
+
border-top: 1px solid rgba(255,255,255,0.04);
|
|
9473
|
+
`;
|
|
9474
|
+
var PeerEstatesDesc = styled9.div`
|
|
9475
|
+
font-size: 0.72rem;
|
|
9476
|
+
color: rgba(255,255,255,0.3);
|
|
9477
|
+
line-height: 1.5;
|
|
9478
|
+
margin-bottom: 0.6rem;
|
|
9479
|
+
`;
|
|
9480
|
+
var PeerEstatesTable = styled9.div`
|
|
9481
|
+
display: flex;
|
|
9482
|
+
flex-direction: column;
|
|
9483
|
+
`;
|
|
9484
|
+
var PeerEstateRow = styled9.div`
|
|
9485
|
+
display: grid;
|
|
9486
|
+
grid-template-columns: 1fr 52px auto auto;
|
|
9487
|
+
align-items: center;
|
|
9488
|
+
gap: 0.4rem;
|
|
9489
|
+
padding: 0.45rem 0;
|
|
9490
|
+
border-bottom: ${(p) => p.$last ? "none" : "1px solid rgba(255,255,255,0.03)"};
|
|
9491
|
+
${(p) => p.$active ? `
|
|
9492
|
+
background: rgba(212,175,55,0.04);
|
|
9493
|
+
margin: 0 -0.5rem;
|
|
9494
|
+
padding-left: 0.5rem;
|
|
9495
|
+
padding-right: 0.5rem;
|
|
9496
|
+
border-radius: 6px;
|
|
9497
|
+
` : ""}
|
|
9498
|
+
`;
|
|
9499
|
+
var PeerEstateName = styled9.span`
|
|
9500
|
+
font-size: 0.8rem;
|
|
9501
|
+
font-weight: 500;
|
|
9502
|
+
color: rgba(255,255,255,0.7);
|
|
9503
|
+
`;
|
|
9504
|
+
var PeerEstateYear = styled9.span`
|
|
9505
|
+
font-size: 0.72rem;
|
|
9506
|
+
color: rgba(255,255,255,0.3);
|
|
9507
|
+
text-align: center;
|
|
9508
|
+
font-variant-numeric: tabular-nums;
|
|
9509
|
+
`;
|
|
9510
|
+
var PeerEstateSale = styled9.span`
|
|
9511
|
+
font-size: 0.65rem;
|
|
9512
|
+
color: rgba(255,255,255,0.2);
|
|
9513
|
+
text-align: right;
|
|
9514
|
+
white-space: nowrap;
|
|
9515
|
+
`;
|
|
9516
|
+
var PeerEstateStatus = styled9.span`
|
|
9517
|
+
font-size: 0.68rem;
|
|
9518
|
+
font-weight: 500;
|
|
9519
|
+
text-align: right;
|
|
9520
|
+
color: ${(p) => p.$status === "listed" ? "#D4AF37" : "rgba(255,255,255,0.25)"};
|
|
9521
|
+
`;
|
|
9428
9522
|
var AssetFeatureRow = styled9.div`
|
|
9429
9523
|
display: flex;
|
|
9430
9524
|
flex-wrap: wrap;
|