@loafmarkets/ui 0.1.140 → 0.1.141
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -754,8 +754,9 @@ type PropertyOverviewProps = {
|
|
|
754
754
|
ticker?: string;
|
|
755
755
|
contractAddress?: string;
|
|
756
756
|
chain?: string;
|
|
757
|
+
percentageTokenized?: number | null;
|
|
757
758
|
};
|
|
758
|
-
declare function PropertyOverview({ propertyName, location, midPrice, onTradeClick, onPhotosClick, description: descriptionProp, tradeButtonLabel, images, galleryCategories, videoUrl, tokenName, landSizeSqm: landProp, buildingSizeSqm: buildingProp, features: featuresProp, propertyInfo: propertyInfoProp, overviewData, bedrooms, bathrooms, carSpaces, propertyTypeLabel, tokensIssued: tokensIssuedProp, isLoading, ticker, contractAddress, chain, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
|
|
759
|
+
declare function PropertyOverview({ propertyName, location, midPrice, onTradeClick, onPhotosClick, description: descriptionProp, tradeButtonLabel, images, galleryCategories, videoUrl, tokenName, landSizeSqm: landProp, buildingSizeSqm: buildingProp, features: featuresProp, propertyInfo: propertyInfoProp, overviewData, bedrooms, bathrooms, carSpaces, propertyTypeLabel, tokensIssued: tokensIssuedProp, isLoading, ticker, contractAddress, chain, percentageTokenized, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
|
|
759
760
|
|
|
760
761
|
type OfferStatus = 'active' | 'rejected' | 'expired' | 'historical' | 'pending';
|
|
761
762
|
type PropertyOffer = {
|
package/dist/index.d.ts
CHANGED
|
@@ -754,8 +754,9 @@ type PropertyOverviewProps = {
|
|
|
754
754
|
ticker?: string;
|
|
755
755
|
contractAddress?: string;
|
|
756
756
|
chain?: string;
|
|
757
|
+
percentageTokenized?: number | null;
|
|
757
758
|
};
|
|
758
|
-
declare function PropertyOverview({ propertyName, location, midPrice, onTradeClick, onPhotosClick, description: descriptionProp, tradeButtonLabel, images, galleryCategories, videoUrl, tokenName, landSizeSqm: landProp, buildingSizeSqm: buildingProp, features: featuresProp, propertyInfo: propertyInfoProp, overviewData, bedrooms, bathrooms, carSpaces, propertyTypeLabel, tokensIssued: tokensIssuedProp, isLoading, ticker, contractAddress, chain, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
|
|
759
|
+
declare function PropertyOverview({ propertyName, location, midPrice, onTradeClick, onPhotosClick, description: descriptionProp, tradeButtonLabel, images, galleryCategories, videoUrl, tokenName, landSizeSqm: landProp, buildingSizeSqm: buildingProp, features: featuresProp, propertyInfo: propertyInfoProp, overviewData, bedrooms, bathrooms, carSpaces, propertyTypeLabel, tokensIssued: tokensIssuedProp, isLoading, ticker, contractAddress, chain, percentageTokenized, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
|
|
759
760
|
|
|
760
761
|
type OfferStatus = 'active' | 'rejected' | 'expired' | 'historical' | 'pending';
|
|
761
762
|
type PropertyOffer = {
|
package/dist/index.js
CHANGED
|
@@ -8323,7 +8323,8 @@ function PropertyOverview({
|
|
|
8323
8323
|
isLoading = false,
|
|
8324
8324
|
ticker,
|
|
8325
8325
|
contractAddress,
|
|
8326
|
-
chain = "Base (Ethereum L2)"
|
|
8326
|
+
chain = "Base (Ethereum L2)",
|
|
8327
|
+
percentageTokenized
|
|
8327
8328
|
}) {
|
|
8328
8329
|
const [isDescExpanded, setDescExpanded] = React5.useState(false);
|
|
8329
8330
|
const description = descriptionProp ?? overviewData?.description ?? DEFAULT_DESCRIPTION;
|
|
@@ -8369,6 +8370,7 @@ function PropertyOverview({
|
|
|
8369
8370
|
{ label: "Contract Address", value: contractAddress ? truncateAddress(contractAddress) : "\u2014", mono: true },
|
|
8370
8371
|
{ label: "Token Ticker", value: ticker ?? "\u2014" },
|
|
8371
8372
|
{ label: "Total Tokens", value: isLoading && resolvedTokensIssued == null ? loadingSkeleton : resolvedTokensIssued?.toLocaleString() ?? "\u2014" },
|
|
8373
|
+
{ label: "Percentage Tokenized", value: percentageTokenized != null ? `${percentageTokenized}%` : "\u2014" },
|
|
8372
8374
|
{ label: "Property Type", value: resolvedPropertyType ?? "\u2014" },
|
|
8373
8375
|
{ label: "Location", value: location || "\u2014" }
|
|
8374
8376
|
];
|