@loafmarkets/ui 0.1.172 → 0.1.174

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
@@ -8696,7 +8696,7 @@ function PropertyOverview({
8696
8696
  /* @__PURE__ */ jsxs(TimelineEntry, { children: [
8697
8697
  /* @__PURE__ */ jsx(TimelineYear, { children: "1880s" }),
8698
8698
  /* @__PURE__ */ jsx(TimelineDot, {}),
8699
- /* @__PURE__ */ jsx(TimelineDetail, { children: /* @__PURE__ */ jsx(TimelineLabel, { children: "Built \u2014 Pre-Federation" }) })
8699
+ /* @__PURE__ */ jsx(TimelineDetail, { children: /* @__PURE__ */ jsx(TimelineLabel, { children: "Built \u2014 c.1880, Pre-Federation" }) })
8700
8700
  ] }),
8701
8701
  /* @__PURE__ */ jsxs(TimelineEntry, { children: [
8702
8702
  /* @__PURE__ */ jsx(TimelineYear, { children: "1976" }),
@@ -8764,19 +8764,30 @@ function PropertyOverview({
8764
8764
  ] })
8765
8765
  ] }),
8766
8766
  /* @__PURE__ */ jsx(ComparableSalesTitle, { children: "Comparable Sales" }),
8767
- /* @__PURE__ */ jsxs(StatRow, { children: [
8768
- /* @__PURE__ */ jsx(StatLabel, { children: "200A Raglan St, Mosman" }),
8769
- /* @__PURE__ */ jsxs(StatValue, { children: [
8770
- "$16.07M ",
8771
- /* @__PURE__ */ jsx("span", { style: { fontSize: "0.7rem", color: "rgba(255,255,255,0.3)", fontWeight: 400 }, children: "Mar 2022" })
8767
+ /* @__PURE__ */ jsxs(CompSaleCard, { children: [
8768
+ /* @__PURE__ */ jsxs(CompSaleHeader, { children: [
8769
+ /* @__PURE__ */ jsx(CompSaleAddress, { children: "200A Raglan St, Mosman" }),
8770
+ /* @__PURE__ */ jsxs(CompSalePrice, { children: [
8771
+ "$16.07M ",
8772
+ /* @__PURE__ */ jsx(CompSaleDate, { children: "Mar 2022" })
8773
+ ] })
8774
+ ] }),
8775
+ /* @__PURE__ */ jsxs(CompSalePrior, { children: [
8776
+ /* @__PURE__ */ jsx("span", { children: "Previously sold $10.12M" }),
8777
+ /* @__PURE__ */ jsx(CompSalePriorDate, { children: "Sep 2016" }),
8778
+ /* @__PURE__ */ jsx(TimelineGain, { children: "+59%" }),
8779
+ /* @__PURE__ */ jsx(CompSalePriorDate, { children: "in 6 yrs" })
8772
8780
  ] })
8773
8781
  ] }),
8774
- /* @__PURE__ */ jsxs(StatRow, { children: [
8775
- /* @__PURE__ */ jsx(StatLabel, { children: "7 Bradleys Head Rd, Mosman" }),
8776
- /* @__PURE__ */ jsxs(StatValue, { children: [
8777
- "$27.96M ",
8778
- /* @__PURE__ */ jsx("span", { style: { fontSize: "0.7rem", color: "rgba(255,255,255,0.3)", fontWeight: 400 }, children: "Aug 2024" })
8779
- ] })
8782
+ /* @__PURE__ */ jsxs(CompSaleCard, { children: [
8783
+ /* @__PURE__ */ jsxs(CompSaleHeader, { children: [
8784
+ /* @__PURE__ */ jsx(CompSaleAddress, { children: "7 Bradleys Head Rd, Mosman" }),
8785
+ /* @__PURE__ */ jsxs(CompSalePrice, { children: [
8786
+ "$27.96M ",
8787
+ /* @__PURE__ */ jsx(CompSaleDate, { children: "Aug 2024" })
8788
+ ] })
8789
+ ] }),
8790
+ /* @__PURE__ */ jsx(CompSalePrior, { children: /* @__PURE__ */ jsx("span", { children: "Boondabah \u2014 c.1905, 2,066 sqm" }) })
8780
8791
  ] })
8781
8792
  ] }),
8782
8793
  /* @__PURE__ */ jsxs(StatsColumn, { children: [
@@ -8797,7 +8808,7 @@ function PropertyOverview({
8797
8808
  ] }),
8798
8809
  /* @__PURE__ */ jsxs(StatRow, { children: [
8799
8810
  /* @__PURE__ */ jsx(StatLabel, { children: "Built" }),
8800
- /* @__PURE__ */ jsx(StatValue, { children: "1880 \u2014 Heritage Listed" })
8811
+ /* @__PURE__ */ jsx(StatValue, { children: "c.1880 \u2014 Heritage Listed" })
8801
8812
  ] }),
8802
8813
  /* @__PURE__ */ jsxs(StatRow, { children: [
8803
8814
  /* @__PURE__ */ jsx(StatLabel, { children: "Zoning" }),
@@ -9365,6 +9376,48 @@ var ComparableSalesTitle = styled9.div`
9365
9376
  padding-bottom: 0.5rem;
9366
9377
  border-top: 1px solid rgba(255,255,255,0.04);
9367
9378
  `;
9379
+ var CompSaleCard = styled9.div`
9380
+ padding: 0.6rem 0;
9381
+ border-bottom: 1px solid rgba(255,255,255,0.03);
9382
+ &:last-child { border-bottom: none; }
9383
+ `;
9384
+ var CompSaleHeader = styled9.div`
9385
+ display: flex;
9386
+ justify-content: space-between;
9387
+ align-items: center;
9388
+ gap: 0.5rem;
9389
+ `;
9390
+ var CompSaleAddress = styled9.span`
9391
+ font-size: 0.82rem;
9392
+ color: rgba(255,255,255,0.6);
9393
+ `;
9394
+ var CompSalePrice = styled9.span`
9395
+ font-size: 0.85rem;
9396
+ font-weight: 600;
9397
+ color: #fff;
9398
+ font-variant-numeric: tabular-nums;
9399
+ display: flex;
9400
+ align-items: center;
9401
+ gap: 0.4rem;
9402
+ flex-shrink: 0;
9403
+ `;
9404
+ var CompSaleDate = styled9.span`
9405
+ font-size: 0.7rem;
9406
+ color: rgba(255,255,255,0.3);
9407
+ font-weight: 400;
9408
+ `;
9409
+ var CompSalePrior = styled9.div`
9410
+ display: flex;
9411
+ align-items: center;
9412
+ gap: 0.4rem;
9413
+ margin-top: 0.3rem;
9414
+ font-size: 0.72rem;
9415
+ color: rgba(255,255,255,0.35);
9416
+ `;
9417
+ var CompSalePriorDate = styled9.span`
9418
+ font-size: 0.68rem;
9419
+ color: rgba(255,255,255,0.25);
9420
+ `;
9368
9421
  var AssetFeatureRow = styled9.div`
9369
9422
  display: flex;
9370
9423
  flex-wrap: wrap;