@loafmarkets/ui 0.1.224 → 0.1.226

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
@@ -8064,33 +8064,33 @@ function GalleryMapSection({
8064
8064
  tabIndex: -1
8065
8065
  }
8066
8066
  )
8067
+ ] })
8068
+ ] }),
8069
+ !hideMap && /* @__PURE__ */ jsxs(SuburbProfilePanel, { children: [
8070
+ /* @__PURE__ */ jsxs(SuburbProfileTitle, { children: [
8071
+ "Suburb Profile (",
8072
+ propertyLocation.split(",")[0]?.trim() || propertyLocation,
8073
+ ")"
8067
8074
  ] }),
8068
- /* @__PURE__ */ jsxs(SuburbProfile, { children: [
8069
- /* @__PURE__ */ jsxs(SuburbProfileTitle, { children: [
8070
- "Suburb Profile (",
8071
- propertyLocation.split(",")[0]?.trim() || propertyLocation,
8072
- ")"
8075
+ /* @__PURE__ */ jsxs(SuburbStatsGrid, { children: [
8076
+ /* @__PURE__ */ jsxs(SuburbStat, { children: [
8077
+ /* @__PURE__ */ jsx(SuburbStatLabel, { children: "Median House Price" }),
8078
+ /* @__PURE__ */ jsx(SuburbStatValue, { children: "$5.5M" })
8073
8079
  ] }),
8074
- /* @__PURE__ */ jsxs(SuburbStatsGrid, { children: [
8075
- /* @__PURE__ */ jsxs(SuburbStat, { children: [
8076
- /* @__PURE__ */ jsx(SuburbStatLabel, { children: "Median House Price" }),
8077
- /* @__PURE__ */ jsx(SuburbStatValue, { children: "$5.5M" })
8078
- ] }),
8079
- /* @__PURE__ */ jsxs(SuburbStat, { children: [
8080
- /* @__PURE__ */ jsx(SuburbStatLabel, { children: "5yr Growth" }),
8081
- /* @__PURE__ */ jsx(SuburbStatValue, { children: "+42%" })
8082
- ] }),
8083
- /* @__PURE__ */ jsxs(SuburbStat, { children: [
8084
- /* @__PURE__ */ jsx(SuburbStatLabel, { children: "Suburb Rank" }),
8085
- /* @__PURE__ */ jsx(SuburbStatValue, { children: "Top 1%" })
8086
- ] }),
8087
- /* @__PURE__ */ jsxs(SuburbStat, { children: [
8088
- /* @__PURE__ */ jsx(SuburbStatLabel, { children: "Avg. Days on Market" }),
8089
- /* @__PURE__ */ jsx(SuburbStatValue, { children: "28" })
8090
- ] })
8080
+ /* @__PURE__ */ jsxs(SuburbStat, { children: [
8081
+ /* @__PURE__ */ jsx(SuburbStatLabel, { children: "5yr Growth" }),
8082
+ /* @__PURE__ */ jsx(SuburbStatValue, { children: "+42%" })
8091
8083
  ] }),
8092
- /* @__PURE__ */ jsx(SuburbDesc, { children: "One of Sydney's most prestigious harbourside suburbs, consistently ranked among Australia's highest-value residential markets. Strong capital growth driven by limited supply, heritage conservation overlays, and international buyer demand." })
8093
- ] })
8084
+ /* @__PURE__ */ jsxs(SuburbStat, { children: [
8085
+ /* @__PURE__ */ jsx(SuburbStatLabel, { children: "Suburb Rank" }),
8086
+ /* @__PURE__ */ jsx(SuburbStatValue, { children: "Top 1%" })
8087
+ ] }),
8088
+ /* @__PURE__ */ jsxs(SuburbStat, { children: [
8089
+ /* @__PURE__ */ jsx(SuburbStatLabel, { children: "Avg. Days on Market" }),
8090
+ /* @__PURE__ */ jsx(SuburbStatValue, { children: "28" })
8091
+ ] })
8092
+ ] }),
8093
+ /* @__PURE__ */ jsx(SuburbDesc, { children: "One of Sydney's most prestigious harbourside suburbs, consistently ranked among Australia's highest-value residential markets. Strong capital growth driven by limited supply, heritage conservation overlays, and international buyer demand." })
8094
8094
  ] }),
8095
8095
  showFullMap && !hideMap && /* @__PURE__ */ jsx(FullMapPopup, { onClose: () => setShowFullMap(false), mapUrl: resolvedMapUrl })
8096
8096
  ] });
@@ -8270,10 +8270,8 @@ var MapFrame = styled9.div`
8270
8270
  var IframeShield = styled9.div`
8271
8271
  position: absolute; inset: 0; z-index: 1; cursor: pointer;
8272
8272
  `;
8273
- var SuburbProfile = styled9.div`
8274
- margin-top: 1rem;
8275
- padding-top: 0.85rem;
8276
- border-top: 1px solid rgba(255,255,255,0.06);
8273
+ var SuburbProfilePanel = styled9(PanelBase)`
8274
+ padding: 1.5rem;
8277
8275
  `;
8278
8276
  var SuburbProfileTitle = styled9.div`
8279
8277
  font-size: 0.65rem;
@@ -8691,18 +8689,25 @@ function PropertyOverview({
8691
8689
  /* @__PURE__ */ jsx(SectionHeader, { children: "The Asset" }),
8692
8690
  galleryImages.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
8693
8691
  /* @__PURE__ */ jsxs(GallerySpecRow, { children: [
8694
- /* @__PURE__ */ jsx(GallerySpecLeft, { children: /* @__PURE__ */ jsx(
8695
- GalleryMapSection,
8696
- {
8697
- images: galleryImages.map((img) => ({ src: img.imageUrl, title: img.title, subtitle: img.subtitle })),
8698
- categories: galleryCategories2,
8699
- propertyLocation: location,
8700
- videoUrl,
8701
- tokenName,
8702
- onPhotoClick: onPhotosClick,
8703
- hideMap: true
8704
- }
8705
- ) }),
8692
+ /* @__PURE__ */ jsxs(GallerySpecLeft, { children: [
8693
+ /* @__PURE__ */ jsx(
8694
+ GalleryMapSection,
8695
+ {
8696
+ images: galleryImages.map((img) => ({ src: img.imageUrl, title: img.title, subtitle: img.subtitle })),
8697
+ categories: galleryCategories2,
8698
+ propertyLocation: location,
8699
+ videoUrl,
8700
+ tokenName,
8701
+ onPhotoClick: onPhotosClick,
8702
+ hideMap: true
8703
+ }
8704
+ ),
8705
+ /* @__PURE__ */ jsx(FeaturesPanel, { children: features.map((item, i) => /* @__PURE__ */ jsxs(AssetFeatureItem, { children: [
8706
+ item.icon && /* @__PURE__ */ jsx(AssetFeatureIcon, { children: item.icon }),
8707
+ item.value && /* @__PURE__ */ jsx(AssetFeatureValue, { children: item.value }),
8708
+ /* @__PURE__ */ jsx(AssetFeatureLabel, { children: item.label })
8709
+ ] }, i)) })
8710
+ ] }),
8706
8711
  /* @__PURE__ */ jsxs(StatsColumn, { children: [
8707
8712
  /* @__PURE__ */ jsx(StatsColumnHeader, { children: "Asset Specification" }),
8708
8713
  /* @__PURE__ */ jsxs(StatRow, { children: [
@@ -8743,11 +8748,6 @@ function PropertyOverview({
8743
8748
  /* @__PURE__ */ jsx(StatLabel, { children: "5yr Property Growth" }),
8744
8749
  /* @__PURE__ */ jsx(StatValue, { style: { color: "#4ade80" }, children: "+90%" })
8745
8750
  ] }),
8746
- /* @__PURE__ */ jsx(AssetFeatureRow, { children: features.map((item, i) => /* @__PURE__ */ jsxs(AssetFeatureItem, { children: [
8747
- item.icon && /* @__PURE__ */ jsx(AssetFeatureIcon, { children: item.icon }),
8748
- item.value && /* @__PURE__ */ jsx(AssetFeatureValue, { children: item.value }),
8749
- /* @__PURE__ */ jsx(AssetFeatureLabel, { children: item.label })
8750
- ] }, i)) }),
8751
8751
  /* @__PURE__ */ jsx(StatsColumnHeader, { style: { marginTop: "1.25rem" }, children: "Capital History" }),
8752
8752
  /* @__PURE__ */ jsxs(TimelineWrap, { children: [
8753
8753
  /* @__PURE__ */ jsxs(TimelineEntry, { children: [
@@ -9922,7 +9922,18 @@ styled9.span`
9922
9922
  text-align: right;
9923
9923
  color: ${(p) => p.$status === "listed" ? "#D4AF37" : "rgba(255,255,255,0.25)"};
9924
9924
  `;
9925
- var AssetFeatureRow = styled9.div`
9925
+ var FeaturesPanel = styled9.div`
9926
+ display: flex;
9927
+ flex-wrap: wrap;
9928
+ gap: 0.75rem 1.5rem;
9929
+ margin-top: 1.25rem;
9930
+ background: #111111;
9931
+ border: 1px solid rgba(255,255,255,0.1);
9932
+ border-radius: 12px;
9933
+ padding: 1rem 1.25rem;
9934
+ justify-content: center;
9935
+ `;
9936
+ styled9.div`
9926
9937
  display: flex;
9927
9938
  flex-wrap: wrap;
9928
9939
  gap: 0.5rem 1.25rem;