@loafmarkets/ui 0.1.102 → 0.1.103
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 +35 -5
- package/dist/index.d.ts +35 -5
- package/dist/index.js +1289 -745
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1291 -747
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -105,6 +105,10 @@ interface OrderbookProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
105
105
|
onLoafLiquidityClick?: () => void;
|
|
106
106
|
/** Given a trade's txHash, returns the full explorer URL to link to. Defaults to Sepolia Etherscan. */
|
|
107
107
|
tradeExplorerUrl?: (txHash: string) => string;
|
|
108
|
+
/** Override the number of visible price levels per side (default 5). */
|
|
109
|
+
maxLevels?: number;
|
|
110
|
+
/** When true, asks/bids sections stretch to fill the container instead of using fixed pixel heights. */
|
|
111
|
+
fillHeight?: boolean;
|
|
108
112
|
}
|
|
109
113
|
declare const Orderbook: React$1.ForwardRefExoticComponent<OrderbookProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
110
114
|
|
|
@@ -424,13 +428,19 @@ type PropertyHeroHeaderProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
424
428
|
imageUrl: string;
|
|
425
429
|
imageAlt?: string;
|
|
426
430
|
name: string;
|
|
431
|
+
address?: string;
|
|
427
432
|
location: string;
|
|
428
433
|
price?: number;
|
|
429
434
|
currencySymbol?: string;
|
|
430
435
|
changePercent?: number;
|
|
436
|
+
priceChange?: number;
|
|
437
|
+
/** @deprecated No longer rendered. */
|
|
431
438
|
beds?: number;
|
|
439
|
+
/** @deprecated No longer rendered. */
|
|
432
440
|
baths?: number;
|
|
441
|
+
/** @deprecated No longer rendered. */
|
|
433
442
|
cars?: number;
|
|
443
|
+
/** @deprecated No longer rendered. */
|
|
434
444
|
propertyTypeLabel?: string;
|
|
435
445
|
onTrade?: () => void;
|
|
436
446
|
onMakeOffer?: () => void;
|
|
@@ -449,13 +459,19 @@ declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTML
|
|
|
449
459
|
imageUrl: string;
|
|
450
460
|
imageAlt?: string;
|
|
451
461
|
name: string;
|
|
462
|
+
address?: string;
|
|
452
463
|
location: string;
|
|
453
464
|
price?: number;
|
|
454
465
|
currencySymbol?: string;
|
|
455
466
|
changePercent?: number;
|
|
467
|
+
priceChange?: number;
|
|
468
|
+
/** @deprecated No longer rendered. */
|
|
456
469
|
beds?: number;
|
|
470
|
+
/** @deprecated No longer rendered. */
|
|
457
471
|
baths?: number;
|
|
472
|
+
/** @deprecated No longer rendered. */
|
|
458
473
|
cars?: number;
|
|
474
|
+
/** @deprecated No longer rendered. */
|
|
459
475
|
propertyTypeLabel?: string;
|
|
460
476
|
onTrade?: () => void;
|
|
461
477
|
onMakeOffer?: () => void;
|
|
@@ -550,6 +566,13 @@ type HeaderUser = {
|
|
|
550
566
|
email?: string | null;
|
|
551
567
|
walletAddress?: string | null;
|
|
552
568
|
};
|
|
569
|
+
type HeaderPortfolioData = {
|
|
570
|
+
holdings: number;
|
|
571
|
+
cash: number;
|
|
572
|
+
portfolioValue: number;
|
|
573
|
+
pnl: number;
|
|
574
|
+
pnlPercent: number;
|
|
575
|
+
};
|
|
553
576
|
type HeaderActiveTab = "home" | "trade" | "offerings" | "propertyMap" | "about" | "portfolio" | "learn" | "api";
|
|
554
577
|
type HeaderLoginPopupComponentProps = {
|
|
555
578
|
onClose: () => void;
|
|
@@ -590,6 +613,7 @@ type HeaderProps = {
|
|
|
590
613
|
onOrdersNavigate?: () => void;
|
|
591
614
|
onWalletNavigate?: () => void;
|
|
592
615
|
showTradeTab?: boolean;
|
|
616
|
+
portfolioSummary?: HeaderPortfolioData | null;
|
|
593
617
|
};
|
|
594
618
|
declare const Header: React__default.FC<HeaderProps>;
|
|
595
619
|
|
|
@@ -824,7 +848,6 @@ interface TradeHistoryItem {
|
|
|
824
848
|
readonly price: number;
|
|
825
849
|
readonly executedAt: number;
|
|
826
850
|
readonly fee: number;
|
|
827
|
-
readonly status?: string;
|
|
828
851
|
}
|
|
829
852
|
interface TransferHistoryItem {
|
|
830
853
|
readonly type: 'DEPOSIT' | 'WITHDRAWAL';
|
|
@@ -853,6 +876,7 @@ type PortfolioActivityPanelProps = {
|
|
|
853
876
|
positions?: readonly PortfolioPosition[];
|
|
854
877
|
showPositionsTab?: boolean;
|
|
855
878
|
onPositionClick?: (tokenName: string, isIpo: boolean) => void;
|
|
879
|
+
onClosePosition?: (tokenName: string, type: 'market' | 'limit', quantity: number, marketPrice: number) => void;
|
|
856
880
|
offeringOrders?: readonly OfferingOrder[];
|
|
857
881
|
openOrders?: readonly OrderHistoryItem[];
|
|
858
882
|
orderHistory?: readonly OrderHistoryItem[];
|
|
@@ -866,7 +890,7 @@ type PortfolioActivityPanelProps = {
|
|
|
866
890
|
className?: string;
|
|
867
891
|
style?: React.CSSProperties;
|
|
868
892
|
};
|
|
869
|
-
declare function PortfolioActivityPanel({ positions, showPositionsTab, onPositionClick, offeringOrders, openOrders, orderHistory, tradeHistory, transfers, onCancelOrder, cancellingOrderId, defaultTab, pageSize, blockExplorerBaseUrl, className, style, }: PortfolioActivityPanelProps): react_jsx_runtime.JSX.Element;
|
|
893
|
+
declare function PortfolioActivityPanel({ positions, showPositionsTab, onPositionClick, onClosePosition, offeringOrders, openOrders, orderHistory, tradeHistory, transfers, onCancelOrder, cancellingOrderId, defaultTab, pageSize, blockExplorerBaseUrl, className, style, }: PortfolioActivityPanelProps): react_jsx_runtime.JSX.Element;
|
|
870
894
|
|
|
871
895
|
type SelectorItem = {
|
|
872
896
|
readonly tokenName: string;
|
|
@@ -874,6 +898,7 @@ type SelectorItem = {
|
|
|
874
898
|
readonly streetAddress: string;
|
|
875
899
|
readonly suburb: string;
|
|
876
900
|
readonly status: string;
|
|
901
|
+
readonly imageUrl?: string;
|
|
877
902
|
};
|
|
878
903
|
type AssetSelectorMetric = {
|
|
879
904
|
label: string;
|
|
@@ -881,6 +906,7 @@ type AssetSelectorMetric = {
|
|
|
881
906
|
value: ReactNode;
|
|
882
907
|
accent?: boolean;
|
|
883
908
|
change?: number;
|
|
909
|
+
secondary?: boolean;
|
|
884
910
|
};
|
|
885
911
|
type AssetSelectorBarProps = {
|
|
886
912
|
propertyName: string;
|
|
@@ -890,8 +916,10 @@ type AssetSelectorBarProps = {
|
|
|
890
916
|
currentTokenName?: string;
|
|
891
917
|
selectorItems?: readonly SelectorItem[];
|
|
892
918
|
onSelect?: (tokenName: string) => void;
|
|
919
|
+
trailing?: ReactNode;
|
|
920
|
+
imageUrl?: string;
|
|
893
921
|
};
|
|
894
|
-
declare function AssetSelectorBar({ propertyName, tokenPrice, offeringValuation, metrics: metricsProp, currentTokenName, selectorItems, onSelect, }: AssetSelectorBarProps): react_jsx_runtime.JSX.Element;
|
|
922
|
+
declare function AssetSelectorBar({ propertyName, tokenPrice, offeringValuation, metrics: metricsProp, currentTokenName, selectorItems, onSelect, trailing, imageUrl, }: AssetSelectorBarProps): react_jsx_runtime.JSX.Element;
|
|
895
923
|
|
|
896
924
|
type IpoStatus = 'PENDING' | 'LIVE' | 'CLOSED' | 'CANCELLED';
|
|
897
925
|
type SaleData = {
|
|
@@ -979,10 +1007,12 @@ type OfferingProgressCardProps = {
|
|
|
979
1007
|
raisedAmount?: number;
|
|
980
1008
|
targetAmount?: number;
|
|
981
1009
|
isPrivateClient?: boolean;
|
|
1010
|
+
/** "default" = full card with header/countdown, "compact" = bar-only, "home" = countdown left + spinner right */
|
|
1011
|
+
variant?: 'default' | 'compact' | 'home';
|
|
982
1012
|
style?: React__default.CSSProperties;
|
|
983
1013
|
className?: string;
|
|
984
1014
|
};
|
|
985
|
-
declare function OfferingProgressCard({ ipoStarted, statusLabel, statusColor, ipoStatus, tokenPrice, offeringValuation, percentSold, totalSold, supplyToSell, opensAt, subscriberCount, raisedAmount, targetAmount, isPrivateClient, style, className, }: OfferingProgressCardProps): react_jsx_runtime.JSX.Element;
|
|
1015
|
+
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;
|
|
986
1016
|
|
|
987
1017
|
type OwnerBookingProps = {
|
|
988
1018
|
propertyName?: string | null;
|
|
@@ -1132,4 +1162,4 @@ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1132
1162
|
*/
|
|
1133
1163
|
declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1134
1164
|
|
|
1135
|
-
export { type ActivityTabId, AssetSelectorBar, type AssetSelectorBarProps, type AssetSelectorMetric, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type FinancialItem, type FundWalletParams, type FundWalletResult, Header, type HeaderProps, type HousePositionOrderbook, type HousePositionPendingOrder, HousePositionSlider, HousePositionSliderMobile, type HousePositionSliderMobileOrderPayload, type HousePositionSliderMobileOrderbook, type HousePositionSliderMobileProps, type HousePositionSliderOrderPayload, type HousePositionSliderProps, type InspectionSlot, LoafLiquidityBadge, LoafLiquidityLogo, type LoafLiquidityLogoProps, LoginPopup, type LoginPopupProps, MobileTradeNav, type MobileTradeNavItem, type MobileTradeNavProps, type OfferStatus, OfferingProgressCard, type OfferingProgressCardProps, Orderbook, type OrderbookLevel, type OrderbookProps, type OrderbookSide, type OrderbookTrade, type OverviewImage, type OverviewResponse, OwnerBooking, type OwnerBookingProps, PaymentPopup, type PaymentPopupProps, PortfolioActivityPanel, type PortfolioActivityPanelProps, type PortfolioPosition, PortfolioSummary, type PortfolioSummaryProps, PriceChart, type PriceChartCandle, type PriceChartProps, type PriceChartRange, type PropertyAddressOption, PropertyBuy, PropertyCompareBar, type PropertyCompareBarProps, PropertyDocuments, type PropertyGalleryHotspot, type PropertyGalleryImage, PropertyHeroHeader, type PropertyHeroHeaderProps, PropertyHistory, type PropertyInfoItem, PropertyInspectionTimes, type PropertyNewsItem, type PropertyNewsType, PropertyNewsUpdates, type PropertyNewsUpdatesProps, type PropertyOffer, PropertyOffers, type PropertyOffersProps, PropertyOverview, type PropertyOverviewProps, PropertyPhotoGallery, type PropertyPriceSummary, PropertySubheader, type PropertySubheaderAction, type PropertySubheaderProps, type PropertySubheaderTab, PropertyTour, type PropertyTourProps, PropertyValuation, type PropertyValuationProps, type PropertyValueSummary, type PurchaseFeedItem, type SelectorItem, Skeleton, type SkeletonProps, type ToastData, ToastProvider, type ToastVariant, TradeConfirmationModal, type TradeConfirmationModalDetails, type TradeConfirmationModalProps, TradingSlider, type TradingSliderProps, type ValuationHistoryPoint, type ValuationRecentSale, type ValuationSummary, type YourOrder, type YourOrderSide, YourOrders, type YourOrdersProps, badgeVariants, buttonVariants, hasPendingActivity, useAdaptivePolling, useToast };
|
|
1165
|
+
export { type ActivityTabId, AssetSelectorBar, type AssetSelectorBarProps, type AssetSelectorMetric, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type FinancialItem, type FundWalletParams, type FundWalletResult, Header, type HeaderPortfolioData, type HeaderProps, type HousePositionOrderbook, type HousePositionPendingOrder, HousePositionSlider, HousePositionSliderMobile, type HousePositionSliderMobileOrderPayload, type HousePositionSliderMobileOrderbook, type HousePositionSliderMobileProps, type HousePositionSliderOrderPayload, type HousePositionSliderProps, type InspectionSlot, LoafLiquidityBadge, LoafLiquidityLogo, type LoafLiquidityLogoProps, LoginPopup, type LoginPopupProps, MobileTradeNav, type MobileTradeNavItem, type MobileTradeNavProps, type OfferStatus, OfferingProgressCard, type OfferingProgressCardProps, Orderbook, type OrderbookLevel, type OrderbookProps, type OrderbookSide, type OrderbookTrade, type OverviewImage, type OverviewResponse, OwnerBooking, type OwnerBookingProps, PaymentPopup, type PaymentPopupProps, PortfolioActivityPanel, type PortfolioActivityPanelProps, type PortfolioPosition, PortfolioSummary, type PortfolioSummaryProps, PriceChart, type PriceChartCandle, type PriceChartProps, type PriceChartRange, type PropertyAddressOption, PropertyBuy, PropertyCompareBar, type PropertyCompareBarProps, PropertyDocuments, type PropertyGalleryHotspot, type PropertyGalleryImage, PropertyHeroHeader, type PropertyHeroHeaderProps, PropertyHistory, type PropertyInfoItem, PropertyInspectionTimes, type PropertyNewsItem, type PropertyNewsType, PropertyNewsUpdates, type PropertyNewsUpdatesProps, type PropertyOffer, PropertyOffers, type PropertyOffersProps, PropertyOverview, type PropertyOverviewProps, PropertyPhotoGallery, type PropertyPriceSummary, PropertySubheader, type PropertySubheaderAction, type PropertySubheaderProps, type PropertySubheaderTab, PropertyTour, type PropertyTourProps, PropertyValuation, type PropertyValuationProps, type PropertyValueSummary, type PurchaseFeedItem, type SelectorItem, Skeleton, type SkeletonProps, type ToastData, ToastProvider, type ToastVariant, TradeConfirmationModal, type TradeConfirmationModalDetails, type TradeConfirmationModalProps, TradingSlider, type TradingSliderProps, type ValuationHistoryPoint, type ValuationRecentSale, type ValuationSummary, type YourOrder, type YourOrderSide, YourOrders, type YourOrdersProps, badgeVariants, buttonVariants, hasPendingActivity, useAdaptivePolling, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -105,6 +105,10 @@ interface OrderbookProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
105
105
|
onLoafLiquidityClick?: () => void;
|
|
106
106
|
/** Given a trade's txHash, returns the full explorer URL to link to. Defaults to Sepolia Etherscan. */
|
|
107
107
|
tradeExplorerUrl?: (txHash: string) => string;
|
|
108
|
+
/** Override the number of visible price levels per side (default 5). */
|
|
109
|
+
maxLevels?: number;
|
|
110
|
+
/** When true, asks/bids sections stretch to fill the container instead of using fixed pixel heights. */
|
|
111
|
+
fillHeight?: boolean;
|
|
108
112
|
}
|
|
109
113
|
declare const Orderbook: React$1.ForwardRefExoticComponent<OrderbookProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
110
114
|
|
|
@@ -424,13 +428,19 @@ type PropertyHeroHeaderProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
424
428
|
imageUrl: string;
|
|
425
429
|
imageAlt?: string;
|
|
426
430
|
name: string;
|
|
431
|
+
address?: string;
|
|
427
432
|
location: string;
|
|
428
433
|
price?: number;
|
|
429
434
|
currencySymbol?: string;
|
|
430
435
|
changePercent?: number;
|
|
436
|
+
priceChange?: number;
|
|
437
|
+
/** @deprecated No longer rendered. */
|
|
431
438
|
beds?: number;
|
|
439
|
+
/** @deprecated No longer rendered. */
|
|
432
440
|
baths?: number;
|
|
441
|
+
/** @deprecated No longer rendered. */
|
|
433
442
|
cars?: number;
|
|
443
|
+
/** @deprecated No longer rendered. */
|
|
434
444
|
propertyTypeLabel?: string;
|
|
435
445
|
onTrade?: () => void;
|
|
436
446
|
onMakeOffer?: () => void;
|
|
@@ -449,13 +459,19 @@ declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTML
|
|
|
449
459
|
imageUrl: string;
|
|
450
460
|
imageAlt?: string;
|
|
451
461
|
name: string;
|
|
462
|
+
address?: string;
|
|
452
463
|
location: string;
|
|
453
464
|
price?: number;
|
|
454
465
|
currencySymbol?: string;
|
|
455
466
|
changePercent?: number;
|
|
467
|
+
priceChange?: number;
|
|
468
|
+
/** @deprecated No longer rendered. */
|
|
456
469
|
beds?: number;
|
|
470
|
+
/** @deprecated No longer rendered. */
|
|
457
471
|
baths?: number;
|
|
472
|
+
/** @deprecated No longer rendered. */
|
|
458
473
|
cars?: number;
|
|
474
|
+
/** @deprecated No longer rendered. */
|
|
459
475
|
propertyTypeLabel?: string;
|
|
460
476
|
onTrade?: () => void;
|
|
461
477
|
onMakeOffer?: () => void;
|
|
@@ -550,6 +566,13 @@ type HeaderUser = {
|
|
|
550
566
|
email?: string | null;
|
|
551
567
|
walletAddress?: string | null;
|
|
552
568
|
};
|
|
569
|
+
type HeaderPortfolioData = {
|
|
570
|
+
holdings: number;
|
|
571
|
+
cash: number;
|
|
572
|
+
portfolioValue: number;
|
|
573
|
+
pnl: number;
|
|
574
|
+
pnlPercent: number;
|
|
575
|
+
};
|
|
553
576
|
type HeaderActiveTab = "home" | "trade" | "offerings" | "propertyMap" | "about" | "portfolio" | "learn" | "api";
|
|
554
577
|
type HeaderLoginPopupComponentProps = {
|
|
555
578
|
onClose: () => void;
|
|
@@ -590,6 +613,7 @@ type HeaderProps = {
|
|
|
590
613
|
onOrdersNavigate?: () => void;
|
|
591
614
|
onWalletNavigate?: () => void;
|
|
592
615
|
showTradeTab?: boolean;
|
|
616
|
+
portfolioSummary?: HeaderPortfolioData | null;
|
|
593
617
|
};
|
|
594
618
|
declare const Header: React__default.FC<HeaderProps>;
|
|
595
619
|
|
|
@@ -824,7 +848,6 @@ interface TradeHistoryItem {
|
|
|
824
848
|
readonly price: number;
|
|
825
849
|
readonly executedAt: number;
|
|
826
850
|
readonly fee: number;
|
|
827
|
-
readonly status?: string;
|
|
828
851
|
}
|
|
829
852
|
interface TransferHistoryItem {
|
|
830
853
|
readonly type: 'DEPOSIT' | 'WITHDRAWAL';
|
|
@@ -853,6 +876,7 @@ type PortfolioActivityPanelProps = {
|
|
|
853
876
|
positions?: readonly PortfolioPosition[];
|
|
854
877
|
showPositionsTab?: boolean;
|
|
855
878
|
onPositionClick?: (tokenName: string, isIpo: boolean) => void;
|
|
879
|
+
onClosePosition?: (tokenName: string, type: 'market' | 'limit', quantity: number, marketPrice: number) => void;
|
|
856
880
|
offeringOrders?: readonly OfferingOrder[];
|
|
857
881
|
openOrders?: readonly OrderHistoryItem[];
|
|
858
882
|
orderHistory?: readonly OrderHistoryItem[];
|
|
@@ -866,7 +890,7 @@ type PortfolioActivityPanelProps = {
|
|
|
866
890
|
className?: string;
|
|
867
891
|
style?: React.CSSProperties;
|
|
868
892
|
};
|
|
869
|
-
declare function PortfolioActivityPanel({ positions, showPositionsTab, onPositionClick, offeringOrders, openOrders, orderHistory, tradeHistory, transfers, onCancelOrder, cancellingOrderId, defaultTab, pageSize, blockExplorerBaseUrl, className, style, }: PortfolioActivityPanelProps): react_jsx_runtime.JSX.Element;
|
|
893
|
+
declare function PortfolioActivityPanel({ positions, showPositionsTab, onPositionClick, onClosePosition, offeringOrders, openOrders, orderHistory, tradeHistory, transfers, onCancelOrder, cancellingOrderId, defaultTab, pageSize, blockExplorerBaseUrl, className, style, }: PortfolioActivityPanelProps): react_jsx_runtime.JSX.Element;
|
|
870
894
|
|
|
871
895
|
type SelectorItem = {
|
|
872
896
|
readonly tokenName: string;
|
|
@@ -874,6 +898,7 @@ type SelectorItem = {
|
|
|
874
898
|
readonly streetAddress: string;
|
|
875
899
|
readonly suburb: string;
|
|
876
900
|
readonly status: string;
|
|
901
|
+
readonly imageUrl?: string;
|
|
877
902
|
};
|
|
878
903
|
type AssetSelectorMetric = {
|
|
879
904
|
label: string;
|
|
@@ -881,6 +906,7 @@ type AssetSelectorMetric = {
|
|
|
881
906
|
value: ReactNode;
|
|
882
907
|
accent?: boolean;
|
|
883
908
|
change?: number;
|
|
909
|
+
secondary?: boolean;
|
|
884
910
|
};
|
|
885
911
|
type AssetSelectorBarProps = {
|
|
886
912
|
propertyName: string;
|
|
@@ -890,8 +916,10 @@ type AssetSelectorBarProps = {
|
|
|
890
916
|
currentTokenName?: string;
|
|
891
917
|
selectorItems?: readonly SelectorItem[];
|
|
892
918
|
onSelect?: (tokenName: string) => void;
|
|
919
|
+
trailing?: ReactNode;
|
|
920
|
+
imageUrl?: string;
|
|
893
921
|
};
|
|
894
|
-
declare function AssetSelectorBar({ propertyName, tokenPrice, offeringValuation, metrics: metricsProp, currentTokenName, selectorItems, onSelect, }: AssetSelectorBarProps): react_jsx_runtime.JSX.Element;
|
|
922
|
+
declare function AssetSelectorBar({ propertyName, tokenPrice, offeringValuation, metrics: metricsProp, currentTokenName, selectorItems, onSelect, trailing, imageUrl, }: AssetSelectorBarProps): react_jsx_runtime.JSX.Element;
|
|
895
923
|
|
|
896
924
|
type IpoStatus = 'PENDING' | 'LIVE' | 'CLOSED' | 'CANCELLED';
|
|
897
925
|
type SaleData = {
|
|
@@ -979,10 +1007,12 @@ type OfferingProgressCardProps = {
|
|
|
979
1007
|
raisedAmount?: number;
|
|
980
1008
|
targetAmount?: number;
|
|
981
1009
|
isPrivateClient?: boolean;
|
|
1010
|
+
/** "default" = full card with header/countdown, "compact" = bar-only, "home" = countdown left + spinner right */
|
|
1011
|
+
variant?: 'default' | 'compact' | 'home';
|
|
982
1012
|
style?: React__default.CSSProperties;
|
|
983
1013
|
className?: string;
|
|
984
1014
|
};
|
|
985
|
-
declare function OfferingProgressCard({ ipoStarted, statusLabel, statusColor, ipoStatus, tokenPrice, offeringValuation, percentSold, totalSold, supplyToSell, opensAt, subscriberCount, raisedAmount, targetAmount, isPrivateClient, style, className, }: OfferingProgressCardProps): react_jsx_runtime.JSX.Element;
|
|
1015
|
+
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;
|
|
986
1016
|
|
|
987
1017
|
type OwnerBookingProps = {
|
|
988
1018
|
propertyName?: string | null;
|
|
@@ -1132,4 +1162,4 @@ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1132
1162
|
*/
|
|
1133
1163
|
declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1134
1164
|
|
|
1135
|
-
export { type ActivityTabId, AssetSelectorBar, type AssetSelectorBarProps, type AssetSelectorMetric, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type FinancialItem, type FundWalletParams, type FundWalletResult, Header, type HeaderProps, type HousePositionOrderbook, type HousePositionPendingOrder, HousePositionSlider, HousePositionSliderMobile, type HousePositionSliderMobileOrderPayload, type HousePositionSliderMobileOrderbook, type HousePositionSliderMobileProps, type HousePositionSliderOrderPayload, type HousePositionSliderProps, type InspectionSlot, LoafLiquidityBadge, LoafLiquidityLogo, type LoafLiquidityLogoProps, LoginPopup, type LoginPopupProps, MobileTradeNav, type MobileTradeNavItem, type MobileTradeNavProps, type OfferStatus, OfferingProgressCard, type OfferingProgressCardProps, Orderbook, type OrderbookLevel, type OrderbookProps, type OrderbookSide, type OrderbookTrade, type OverviewImage, type OverviewResponse, OwnerBooking, type OwnerBookingProps, PaymentPopup, type PaymentPopupProps, PortfolioActivityPanel, type PortfolioActivityPanelProps, type PortfolioPosition, PortfolioSummary, type PortfolioSummaryProps, PriceChart, type PriceChartCandle, type PriceChartProps, type PriceChartRange, type PropertyAddressOption, PropertyBuy, PropertyCompareBar, type PropertyCompareBarProps, PropertyDocuments, type PropertyGalleryHotspot, type PropertyGalleryImage, PropertyHeroHeader, type PropertyHeroHeaderProps, PropertyHistory, type PropertyInfoItem, PropertyInspectionTimes, type PropertyNewsItem, type PropertyNewsType, PropertyNewsUpdates, type PropertyNewsUpdatesProps, type PropertyOffer, PropertyOffers, type PropertyOffersProps, PropertyOverview, type PropertyOverviewProps, PropertyPhotoGallery, type PropertyPriceSummary, PropertySubheader, type PropertySubheaderAction, type PropertySubheaderProps, type PropertySubheaderTab, PropertyTour, type PropertyTourProps, PropertyValuation, type PropertyValuationProps, type PropertyValueSummary, type PurchaseFeedItem, type SelectorItem, Skeleton, type SkeletonProps, type ToastData, ToastProvider, type ToastVariant, TradeConfirmationModal, type TradeConfirmationModalDetails, type TradeConfirmationModalProps, TradingSlider, type TradingSliderProps, type ValuationHistoryPoint, type ValuationRecentSale, type ValuationSummary, type YourOrder, type YourOrderSide, YourOrders, type YourOrdersProps, badgeVariants, buttonVariants, hasPendingActivity, useAdaptivePolling, useToast };
|
|
1165
|
+
export { type ActivityTabId, AssetSelectorBar, type AssetSelectorBarProps, type AssetSelectorMetric, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type FinancialItem, type FundWalletParams, type FundWalletResult, Header, type HeaderPortfolioData, type HeaderProps, type HousePositionOrderbook, type HousePositionPendingOrder, HousePositionSlider, HousePositionSliderMobile, type HousePositionSliderMobileOrderPayload, type HousePositionSliderMobileOrderbook, type HousePositionSliderMobileProps, type HousePositionSliderOrderPayload, type HousePositionSliderProps, type InspectionSlot, LoafLiquidityBadge, LoafLiquidityLogo, type LoafLiquidityLogoProps, LoginPopup, type LoginPopupProps, MobileTradeNav, type MobileTradeNavItem, type MobileTradeNavProps, type OfferStatus, OfferingProgressCard, type OfferingProgressCardProps, Orderbook, type OrderbookLevel, type OrderbookProps, type OrderbookSide, type OrderbookTrade, type OverviewImage, type OverviewResponse, OwnerBooking, type OwnerBookingProps, PaymentPopup, type PaymentPopupProps, PortfolioActivityPanel, type PortfolioActivityPanelProps, type PortfolioPosition, PortfolioSummary, type PortfolioSummaryProps, PriceChart, type PriceChartCandle, type PriceChartProps, type PriceChartRange, type PropertyAddressOption, PropertyBuy, PropertyCompareBar, type PropertyCompareBarProps, PropertyDocuments, type PropertyGalleryHotspot, type PropertyGalleryImage, PropertyHeroHeader, type PropertyHeroHeaderProps, PropertyHistory, type PropertyInfoItem, PropertyInspectionTimes, type PropertyNewsItem, type PropertyNewsType, PropertyNewsUpdates, type PropertyNewsUpdatesProps, type PropertyOffer, PropertyOffers, type PropertyOffersProps, PropertyOverview, type PropertyOverviewProps, PropertyPhotoGallery, type PropertyPriceSummary, PropertySubheader, type PropertySubheaderAction, type PropertySubheaderProps, type PropertySubheaderTab, PropertyTour, type PropertyTourProps, PropertyValuation, type PropertyValuationProps, type PropertyValueSummary, type PurchaseFeedItem, type SelectorItem, Skeleton, type SkeletonProps, type ToastData, ToastProvider, type ToastVariant, TradeConfirmationModal, type TradeConfirmationModalDetails, type TradeConfirmationModalProps, TradingSlider, type TradingSliderProps, type ValuationHistoryPoint, type ValuationRecentSale, type ValuationSummary, type YourOrder, type YourOrderSide, YourOrders, type YourOrdersProps, badgeVariants, buttonVariants, hasPendingActivity, useAdaptivePolling, useToast };
|