@loafmarkets/ui 0.1.138 → 0.1.140

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
@@ -8048,7 +8048,7 @@ function GalleryMapSection({
8048
8048
  src: resolvedMapUrl,
8049
8049
  width: "100%",
8050
8050
  height: "100%",
8051
- style: { border: 0, minHeight: 280, pointerEvents: "auto" },
8051
+ style: { border: 0, minHeight: 500, pointerEvents: "auto" },
8052
8052
  allow: "autoplay; fullscreen; web-share; xr-spatial-tracking;",
8053
8053
  title: "Property Location",
8054
8054
  referrerPolicy: "unsafe-url",
@@ -8107,8 +8107,8 @@ var Track = styled19.div`
8107
8107
  `;
8108
8108
  var Slide = styled19.div`
8109
8109
  min-width: 100%; position: relative; cursor: pointer;
8110
- img { width: 100%; height: 315px; object-fit: cover; border-radius: 8px; }
8111
- @media (max-width: 768px) { img { height: 155px; } }
8110
+ img { width: 100%; height: 500px; object-fit: cover; border-radius: 8px; }
8111
+ @media (max-width: 768px) { img { height: 280px; } }
8112
8112
  `;
8113
8113
  var SlideCaption = styled19.div`
8114
8114
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem;
@@ -8173,11 +8173,11 @@ var CategoryRow = styled19.div`
8173
8173
  button[data-active='true'] { background: rgba(212,175,55,0.2); border-color: #D4AF37; color: #D4AF37; }
8174
8174
  `;
8175
8175
  var MapPanel = styled19(PanelBase)`
8176
- min-height: 280px; padding: 1.5rem;
8176
+ min-height: 500px; padding: 1.5rem;
8177
8177
  min-width: 0; overflow: hidden;
8178
8178
  `;
8179
8179
  var MapFrame = styled19.div`
8180
- flex: 1; border-radius: 6px; overflow: hidden; min-height: 280px; position: relative;
8180
+ flex: 1; border-radius: 6px; overflow: hidden; min-height: 500px; position: relative;
8181
8181
  `;
8182
8182
  var IframeShield = styled19.div`
8183
8183
  position: absolute; inset: 0; z-index: 1; cursor: pointer;
@@ -8335,7 +8335,6 @@ function PropertyOverview({
8335
8335
  const weeklyRent = overviewData?.weeklyRent ?? 0;
8336
8336
  const annualRent = weeklyRent * 52;
8337
8337
  const dividendYield = resolvedValuation && annualRent > 0 ? (annualRent / resolvedValuation * 100).toFixed(2) : null;
8338
- const marketCap = tokenPriceValue && resolvedTokensIssued ? tokenPriceValue * resolvedTokensIssued : null;
8339
8338
  const loadingSkeleton = /* @__PURE__ */ jsx(Skeleton, { width: 90, height: 18 });
8340
8339
  const resolvedPropertyType = overviewData?.propertyType ?? propertyTypeLabel ?? null;
8341
8340
  const galleryImages = images ?? [];
@@ -8349,12 +8348,12 @@ function PropertyOverview({
8349
8348
  ];
8350
8349
  const tokenStats = [
8351
8350
  { label: "Token Price", value: isLoading && tokenPriceValue == null ? loadingSkeleton : tokenPriceValue ? `$${tokenPriceValue.toLocaleString(void 0, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}` : "\u2014", gold: true },
8352
- { label: "Market Cap", value: isLoading && marketCap == null ? loadingSkeleton : marketCap ? marketCap >= 1e6 ? `$${(marketCap / 1e6).toFixed(1)}M` : `$${marketCap.toLocaleString()}` : "\u2014" },
8351
+ { label: "Property Value", value: isLoading && resolvedValuation == null ? loadingSkeleton : resolvedValuation ? resolvedValuation >= 1e6 ? `$${(resolvedValuation / 1e6).toFixed(2)}M` : `$${resolvedValuation.toLocaleString()}` : "\u2014" },
8353
8352
  { label: "Dividend Yield", value: isLoading && dividendYield == null ? loadingSkeleton : dividendYield ? `${dividendYield}%` : "\u2014" },
8354
8353
  { label: "Total Tokens", value: isLoading && resolvedTokensIssued == null ? loadingSkeleton : resolvedTokensIssued?.toLocaleString() ?? "\u2014" }
8355
8354
  ];
8356
8355
  const propertyStats = [
8357
- { label: "Property Value", value: isLoading && resolvedValuation == null ? loadingSkeleton : resolvedValuation ? resolvedValuation >= 1e6 ? `$${(resolvedValuation / 1e6).toFixed(2)}M` : `$${resolvedValuation.toLocaleString()}` : "\u2014" },
8356
+ { label: "Offering Valuation", value: isLoading && resolvedValuation == null ? loadingSkeleton : resolvedValuation ? resolvedValuation >= 1e6 ? `$${(resolvedValuation / 1e6).toFixed(2)}M` : `$${resolvedValuation.toLocaleString()}` : "\u2014" },
8358
8357
  { label: "Weekly Rent", value: isLoading && !overviewData ? loadingSkeleton : weeklyRent > 0 ? `$${weeklyRent.toLocaleString()}/wk` : "\u2014", badge: weeklyRent > 0 ? "Rented" : void 0 },
8359
8358
  { label: "Annual Rent", value: isLoading && !overviewData ? loadingSkeleton : annualRent > 0 ? `$${annualRent.toLocaleString()}/yr` : "\u2014" },
8360
8359
  { label: "Year Built", value: isLoading && !overviewData ? loadingSkeleton : overviewData?.yearBuilt ? String(overviewData.yearBuilt) : "\u2014" }