@loafmarkets/ui 0.1.179 → 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 +17 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -5
- 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" }),
|
|
@@ -8802,27 +8803,32 @@ function PropertyOverview({
|
|
|
8802
8803
|
/* @__PURE__ */ jsxs(PeerEstateRow, { $active: true, children: [
|
|
8803
8804
|
/* @__PURE__ */ jsx(PeerEstateName, { children: "Musgrave" }),
|
|
8804
8805
|
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.1880" }),
|
|
8806
|
+
/* @__PURE__ */ jsx(PeerEstateSale, { children: "2026" }),
|
|
8805
8807
|
/* @__PURE__ */ jsx(PeerEstateStatus, { $status: "listed", children: "Tokenized on Loaf" })
|
|
8806
8808
|
] }),
|
|
8807
8809
|
/* @__PURE__ */ jsxs(PeerEstateRow, { children: [
|
|
8808
8810
|
/* @__PURE__ */ jsx(PeerEstateName, { children: "Kirkoswald House" }),
|
|
8809
|
-
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.
|
|
8811
|
+
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.1873" }),
|
|
8812
|
+
/* @__PURE__ */ jsx(PeerEstateSale, { children: "Listed 2025" }),
|
|
8810
8813
|
/* @__PURE__ */ jsx(PeerEstateStatus, { $status: "off", children: "Off Market" })
|
|
8811
8814
|
] }),
|
|
8812
8815
|
/* @__PURE__ */ jsxs(PeerEstateRow, { children: [
|
|
8813
8816
|
/* @__PURE__ */ jsx(PeerEstateName, { children: "Balmoral House" }),
|
|
8814
8817
|
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.1906" }),
|
|
8818
|
+
/* @__PURE__ */ jsx(PeerEstateSale, { children: "Sold 2017" }),
|
|
8815
8819
|
/* @__PURE__ */ jsx(PeerEstateStatus, { $status: "off", children: "Off Market \u2014 est. $40M+" })
|
|
8816
8820
|
] }),
|
|
8817
8821
|
/* @__PURE__ */ jsxs(PeerEstateRow, { children: [
|
|
8818
8822
|
/* @__PURE__ */ jsx(PeerEstateName, { children: "Glenmire" }),
|
|
8819
8823
|
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.1880s" }),
|
|
8824
|
+
/* @__PURE__ */ jsx(PeerEstateSale, { children: "Sold 2015" }),
|
|
8820
8825
|
/* @__PURE__ */ jsx(PeerEstateStatus, { $status: "off", children: "Off Market" })
|
|
8821
8826
|
] }),
|
|
8822
8827
|
/* @__PURE__ */ jsxs(PeerEstateRow, { $last: true, children: [
|
|
8823
8828
|
/* @__PURE__ */ jsx(PeerEstateName, { children: "Boronia House" }),
|
|
8824
8829
|
/* @__PURE__ */ jsx(PeerEstateYear, { children: "c.1885" }),
|
|
8825
|
-
/* @__PURE__ */ jsx(
|
|
8830
|
+
/* @__PURE__ */ jsx(PeerEstateSale, { children: "Not sold since 1952" }),
|
|
8831
|
+
/* @__PURE__ */ jsx(PeerEstateStatus, { $status: "off", children: "Council-owned" })
|
|
8826
8832
|
] })
|
|
8827
8833
|
] })
|
|
8828
8834
|
] }),
|
|
@@ -9477,9 +9483,9 @@ var PeerEstatesTable = styled9.div`
|
|
|
9477
9483
|
`;
|
|
9478
9484
|
var PeerEstateRow = styled9.div`
|
|
9479
9485
|
display: grid;
|
|
9480
|
-
grid-template-columns: 1fr
|
|
9486
|
+
grid-template-columns: 1fr 52px auto auto;
|
|
9481
9487
|
align-items: center;
|
|
9482
|
-
gap: 0.
|
|
9488
|
+
gap: 0.4rem;
|
|
9483
9489
|
padding: 0.45rem 0;
|
|
9484
9490
|
border-bottom: ${(p) => p.$last ? "none" : "1px solid rgba(255,255,255,0.03)"};
|
|
9485
9491
|
${(p) => p.$active ? `
|
|
@@ -9501,6 +9507,12 @@ var PeerEstateYear = styled9.span`
|
|
|
9501
9507
|
text-align: center;
|
|
9502
9508
|
font-variant-numeric: tabular-nums;
|
|
9503
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
|
+
`;
|
|
9504
9516
|
var PeerEstateStatus = styled9.span`
|
|
9505
9517
|
font-size: 0.68rem;
|
|
9506
9518
|
font-weight: 500;
|