@loafmarkets/ui 0.1.344 → 0.1.345

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 CHANGED
@@ -466,6 +466,12 @@ type PropertyHeroHeaderProps = React$1.HTMLAttributes<HTMLDivElement> & {
466
466
  };
467
467
  /** When true, render skeletons in place of price and amenity values. */
468
468
  isLoading?: boolean;
469
+ /** Optional label rendered above the info card inside the hero. */
470
+ heroLabel?: React$1.ReactNode;
471
+ /** Optional panel rendered to the right of the info card inside the hero. */
472
+ heroSidePanel?: React$1.ReactNode;
473
+ /** Add a gold glow to the info card. */
474
+ glowInfoCard?: boolean;
469
475
  };
470
476
  declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
471
477
  imageUrl: string;
@@ -497,6 +503,12 @@ declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTML
497
503
  };
498
504
  /** When true, render skeletons in place of price and amenity values. */
499
505
  isLoading?: boolean;
506
+ /** Optional label rendered above the info card inside the hero. */
507
+ heroLabel?: React$1.ReactNode;
508
+ /** Optional panel rendered to the right of the info card inside the hero. */
509
+ heroSidePanel?: React$1.ReactNode;
510
+ /** Add a gold glow to the info card. */
511
+ glowInfoCard?: boolean;
500
512
  } & React$1.RefAttributes<HTMLDivElement>>;
501
513
 
502
514
  type EmailCodeParams = {
@@ -583,6 +595,7 @@ type HeaderUser = {
583
595
  type HeaderPortfolioData = {
584
596
  holdings: number;
585
597
  cash: number;
598
+ frozen?: number;
586
599
  portfolioValue: number;
587
600
  pnl: number;
588
601
  pnlPercent: number;
@@ -629,6 +642,7 @@ type HeaderProps = {
629
642
  onSettingsClick?: () => void;
630
643
  showTradeTab?: boolean;
631
644
  portfolioSummary?: HeaderPortfolioData | null;
645
+ transparentOnTop?: boolean;
632
646
  };
633
647
  declare const Header: React__default.FC<HeaderProps>;
634
648
 
@@ -721,6 +735,7 @@ type PropertyOverviewProps = {
721
735
  location: string;
722
736
  midPrice: number;
723
737
  onTradeClick?: () => void;
738
+ onDocumentsClick?: () => void;
724
739
  onPhotosClick?: (startIndex: number) => void;
725
740
  description?: string;
726
741
  tradeButtonLabel?: string;
@@ -758,7 +773,7 @@ type PropertyOverviewProps = {
758
773
  close: number;
759
774
  }[] | null;
760
775
  };
761
- declare function PropertyOverview({ propertyName: _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, volume24h, openOrdersValue, holderCount, priceHistory: priceHistoryProp, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
776
+ declare function PropertyOverview({ propertyName: _propertyName, location, midPrice, onTradeClick, onDocumentsClick, 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, volume24h, openOrdersValue, holderCount, priceHistory: priceHistoryProp, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
762
777
 
763
778
  type OfferStatus = 'active' | 'rejected' | 'expired' | 'historical' | 'pending';
764
779
  type PropertyOffer = {
@@ -787,8 +802,10 @@ interface DocumentsResponse {
787
802
  }
788
803
  type PropertyDocumentsProps = {
789
804
  documentsData?: DocumentsResponse | null;
805
+ highlightDocument?: string | null;
806
+ onClearHighlight?: () => void;
790
807
  };
791
- declare function PropertyDocuments({ documentsData }: PropertyDocumentsProps): react_jsx_runtime.JSX.Element;
808
+ declare function PropertyDocuments({ documentsData, highlightDocument, onClearHighlight }: PropertyDocumentsProps): react_jsx_runtime.JSX.Element;
792
809
 
793
810
  type InspectionSlot = {
794
811
  slotId: string;
@@ -912,9 +929,11 @@ type SelectorItem = {
912
929
  readonly tokenName: string;
913
930
  readonly ticker: string;
914
931
  readonly streetAddress: string;
932
+ readonly name?: string;
915
933
  readonly suburb: string;
916
934
  readonly status: string;
917
935
  readonly imageUrl?: string;
936
+ readonly badge?: string;
918
937
  };
919
938
  type AssetSelectorMetric = {
920
939
  label: string;
@@ -934,8 +953,9 @@ type AssetSelectorBarProps = {
934
953
  onSelect?: (tokenName: string) => void;
935
954
  trailing?: ReactNode;
936
955
  imageUrl?: string;
956
+ badgeLabel?: string;
937
957
  };
938
- declare function AssetSelectorBar({ propertyName, tokenPrice, offeringValuation, metrics: metricsProp, currentTokenName, selectorItems, onSelect, trailing, imageUrl, }: AssetSelectorBarProps): react_jsx_runtime.JSX.Element;
958
+ declare function AssetSelectorBar({ propertyName, tokenPrice, offeringValuation, metrics: metricsProp, currentTokenName, selectorItems, onSelect, trailing, imageUrl, badgeLabel, }: AssetSelectorBarProps): react_jsx_runtime.JSX.Element;
939
959
 
940
960
  type ToastVariant = 'success' | 'error' | 'info' | 'pending' | 'sell';
941
961
  type ToastData = {
@@ -1046,6 +1066,7 @@ type OfferingProgressCardProps = {
1046
1066
  totalSold: number;
1047
1067
  supplyToSell: number;
1048
1068
  opensAt?: number | null;
1069
+ tradingStartsAt?: number | null;
1049
1070
  subscriberCount?: number;
1050
1071
  raisedAmount?: number;
1051
1072
  targetAmount?: number;
@@ -1055,7 +1076,7 @@ type OfferingProgressCardProps = {
1055
1076
  style?: React__default.CSSProperties;
1056
1077
  className?: string;
1057
1078
  };
1058
- declare function OfferingProgressCard({ ipoStarted, statusLabel, statusColor, ipoStatus, tokenPrice, offeringValuation, percentSold, totalSold, supplyToSell, opensAt, subscriberCount, raisedAmount, targetAmount, isPrivateClient, variant, style, className, }: OfferingProgressCardProps): react_jsx_runtime.JSX.Element;
1079
+ declare function OfferingProgressCard({ ipoStarted, statusLabel, statusColor, ipoStatus, tokenPrice, offeringValuation, percentSold, totalSold, supplyToSell, opensAt, tradingStartsAt, subscriberCount, raisedAmount, targetAmount, isPrivateClient, variant, style, className, }: OfferingProgressCardProps): react_jsx_runtime.JSX.Element;
1059
1080
 
1060
1081
  type OwnerBookingProps = {
1061
1082
  propertyName?: string | null;
package/dist/index.d.ts CHANGED
@@ -466,6 +466,12 @@ type PropertyHeroHeaderProps = React$1.HTMLAttributes<HTMLDivElement> & {
466
466
  };
467
467
  /** When true, render skeletons in place of price and amenity values. */
468
468
  isLoading?: boolean;
469
+ /** Optional label rendered above the info card inside the hero. */
470
+ heroLabel?: React$1.ReactNode;
471
+ /** Optional panel rendered to the right of the info card inside the hero. */
472
+ heroSidePanel?: React$1.ReactNode;
473
+ /** Add a gold glow to the info card. */
474
+ glowInfoCard?: boolean;
469
475
  };
470
476
  declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
471
477
  imageUrl: string;
@@ -497,6 +503,12 @@ declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTML
497
503
  };
498
504
  /** When true, render skeletons in place of price and amenity values. */
499
505
  isLoading?: boolean;
506
+ /** Optional label rendered above the info card inside the hero. */
507
+ heroLabel?: React$1.ReactNode;
508
+ /** Optional panel rendered to the right of the info card inside the hero. */
509
+ heroSidePanel?: React$1.ReactNode;
510
+ /** Add a gold glow to the info card. */
511
+ glowInfoCard?: boolean;
500
512
  } & React$1.RefAttributes<HTMLDivElement>>;
501
513
 
502
514
  type EmailCodeParams = {
@@ -583,6 +595,7 @@ type HeaderUser = {
583
595
  type HeaderPortfolioData = {
584
596
  holdings: number;
585
597
  cash: number;
598
+ frozen?: number;
586
599
  portfolioValue: number;
587
600
  pnl: number;
588
601
  pnlPercent: number;
@@ -629,6 +642,7 @@ type HeaderProps = {
629
642
  onSettingsClick?: () => void;
630
643
  showTradeTab?: boolean;
631
644
  portfolioSummary?: HeaderPortfolioData | null;
645
+ transparentOnTop?: boolean;
632
646
  };
633
647
  declare const Header: React__default.FC<HeaderProps>;
634
648
 
@@ -721,6 +735,7 @@ type PropertyOverviewProps = {
721
735
  location: string;
722
736
  midPrice: number;
723
737
  onTradeClick?: () => void;
738
+ onDocumentsClick?: () => void;
724
739
  onPhotosClick?: (startIndex: number) => void;
725
740
  description?: string;
726
741
  tradeButtonLabel?: string;
@@ -758,7 +773,7 @@ type PropertyOverviewProps = {
758
773
  close: number;
759
774
  }[] | null;
760
775
  };
761
- declare function PropertyOverview({ propertyName: _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, volume24h, openOrdersValue, holderCount, priceHistory: priceHistoryProp, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
776
+ declare function PropertyOverview({ propertyName: _propertyName, location, midPrice, onTradeClick, onDocumentsClick, 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, volume24h, openOrdersValue, holderCount, priceHistory: priceHistoryProp, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
762
777
 
763
778
  type OfferStatus = 'active' | 'rejected' | 'expired' | 'historical' | 'pending';
764
779
  type PropertyOffer = {
@@ -787,8 +802,10 @@ interface DocumentsResponse {
787
802
  }
788
803
  type PropertyDocumentsProps = {
789
804
  documentsData?: DocumentsResponse | null;
805
+ highlightDocument?: string | null;
806
+ onClearHighlight?: () => void;
790
807
  };
791
- declare function PropertyDocuments({ documentsData }: PropertyDocumentsProps): react_jsx_runtime.JSX.Element;
808
+ declare function PropertyDocuments({ documentsData, highlightDocument, onClearHighlight }: PropertyDocumentsProps): react_jsx_runtime.JSX.Element;
792
809
 
793
810
  type InspectionSlot = {
794
811
  slotId: string;
@@ -912,9 +929,11 @@ type SelectorItem = {
912
929
  readonly tokenName: string;
913
930
  readonly ticker: string;
914
931
  readonly streetAddress: string;
932
+ readonly name?: string;
915
933
  readonly suburb: string;
916
934
  readonly status: string;
917
935
  readonly imageUrl?: string;
936
+ readonly badge?: string;
918
937
  };
919
938
  type AssetSelectorMetric = {
920
939
  label: string;
@@ -934,8 +953,9 @@ type AssetSelectorBarProps = {
934
953
  onSelect?: (tokenName: string) => void;
935
954
  trailing?: ReactNode;
936
955
  imageUrl?: string;
956
+ badgeLabel?: string;
937
957
  };
938
- declare function AssetSelectorBar({ propertyName, tokenPrice, offeringValuation, metrics: metricsProp, currentTokenName, selectorItems, onSelect, trailing, imageUrl, }: AssetSelectorBarProps): react_jsx_runtime.JSX.Element;
958
+ declare function AssetSelectorBar({ propertyName, tokenPrice, offeringValuation, metrics: metricsProp, currentTokenName, selectorItems, onSelect, trailing, imageUrl, badgeLabel, }: AssetSelectorBarProps): react_jsx_runtime.JSX.Element;
939
959
 
940
960
  type ToastVariant = 'success' | 'error' | 'info' | 'pending' | 'sell';
941
961
  type ToastData = {
@@ -1046,6 +1066,7 @@ type OfferingProgressCardProps = {
1046
1066
  totalSold: number;
1047
1067
  supplyToSell: number;
1048
1068
  opensAt?: number | null;
1069
+ tradingStartsAt?: number | null;
1049
1070
  subscriberCount?: number;
1050
1071
  raisedAmount?: number;
1051
1072
  targetAmount?: number;
@@ -1055,7 +1076,7 @@ type OfferingProgressCardProps = {
1055
1076
  style?: React__default.CSSProperties;
1056
1077
  className?: string;
1057
1078
  };
1058
- declare function OfferingProgressCard({ ipoStarted, statusLabel, statusColor, ipoStatus, tokenPrice, offeringValuation, percentSold, totalSold, supplyToSell, opensAt, subscriberCount, raisedAmount, targetAmount, isPrivateClient, variant, style, className, }: OfferingProgressCardProps): react_jsx_runtime.JSX.Element;
1079
+ declare function OfferingProgressCard({ ipoStarted, statusLabel, statusColor, ipoStatus, tokenPrice, offeringValuation, percentSold, totalSold, supplyToSell, opensAt, tradingStartsAt, subscriberCount, raisedAmount, targetAmount, isPrivateClient, variant, style, className, }: OfferingProgressCardProps): react_jsx_runtime.JSX.Element;
1059
1080
 
1060
1081
  type OwnerBookingProps = {
1061
1082
  propertyName?: string | null;