@loafmarkets/ui 0.1.172 → 0.1.173

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
@@ -8764,20 +8764,28 @@ 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: [
8782
+ /* @__PURE__ */ jsx(CompSaleCard, { children: /* @__PURE__ */ jsxs(CompSaleHeader, { children: [
8783
+ /* @__PURE__ */ jsx(CompSaleAddress, { children: "7 Bradleys Head Rd, Mosman" }),
8784
+ /* @__PURE__ */ jsxs(CompSalePrice, { children: [
8777
8785
  "$27.96M ",
8778
- /* @__PURE__ */ jsx("span", { style: { fontSize: "0.7rem", color: "rgba(255,255,255,0.3)", fontWeight: 400 }, children: "Aug 2024" })
8786
+ /* @__PURE__ */ jsx(CompSaleDate, { children: "Aug 2024" })
8779
8787
  ] })
8780
- ] })
8788
+ ] }) })
8781
8789
  ] }),
8782
8790
  /* @__PURE__ */ jsxs(StatsColumn, { children: [
8783
8791
  /* @__PURE__ */ jsx(StatsColumnHeader, { children: "Asset Specification" }),
@@ -9365,6 +9373,48 @@ var ComparableSalesTitle = styled9.div`
9365
9373
  padding-bottom: 0.5rem;
9366
9374
  border-top: 1px solid rgba(255,255,255,0.04);
9367
9375
  `;
9376
+ var CompSaleCard = styled9.div`
9377
+ padding: 0.6rem 0;
9378
+ border-bottom: 1px solid rgba(255,255,255,0.03);
9379
+ &:last-child { border-bottom: none; }
9380
+ `;
9381
+ var CompSaleHeader = styled9.div`
9382
+ display: flex;
9383
+ justify-content: space-between;
9384
+ align-items: center;
9385
+ gap: 0.5rem;
9386
+ `;
9387
+ var CompSaleAddress = styled9.span`
9388
+ font-size: 0.82rem;
9389
+ color: rgba(255,255,255,0.6);
9390
+ `;
9391
+ var CompSalePrice = styled9.span`
9392
+ font-size: 0.85rem;
9393
+ font-weight: 600;
9394
+ color: #fff;
9395
+ font-variant-numeric: tabular-nums;
9396
+ display: flex;
9397
+ align-items: center;
9398
+ gap: 0.4rem;
9399
+ flex-shrink: 0;
9400
+ `;
9401
+ var CompSaleDate = styled9.span`
9402
+ font-size: 0.7rem;
9403
+ color: rgba(255,255,255,0.3);
9404
+ font-weight: 400;
9405
+ `;
9406
+ var CompSalePrior = styled9.div`
9407
+ display: flex;
9408
+ align-items: center;
9409
+ gap: 0.4rem;
9410
+ margin-top: 0.3rem;
9411
+ font-size: 0.72rem;
9412
+ color: rgba(255,255,255,0.35);
9413
+ `;
9414
+ var CompSalePriorDate = styled9.span`
9415
+ font-size: 0.68rem;
9416
+ color: rgba(255,255,255,0.25);
9417
+ `;
9368
9418
  var AssetFeatureRow = styled9.div`
9369
9419
  display: flex;
9370
9420
  flex-wrap: wrap;