@loafmarkets/ui 0.1.42 → 0.1.43

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
@@ -1,6 +1,6 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React$1 from 'react';
3
- import React__default from 'react';
3
+ import React__default, { ReactNode } from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import * as LightweightCharts from 'lightweight-charts';
@@ -84,6 +84,16 @@ interface OrderbookProps extends React$1.HTMLAttributes<HTMLDivElement> {
84
84
  onTabChange?: (tab: "orderbook" | "trades") => void;
85
85
  rightHeader?: React$1.ReactNode;
86
86
  variant?: "auto" | "default" | "compact";
87
+ /**
88
+ * Side-tagged price levels where the current user has an open order — rendered with a
89
+ * left-edge marker (BUY → bids, SELL → asks).
90
+ */
91
+ userOrderPrices?: readonly {
92
+ price: number;
93
+ side: "BUY" | "SELL";
94
+ }[];
95
+ /** When true, render skeleton placeholders in place of ask/bid rows and mid price. */
96
+ isLoading?: boolean;
87
97
  }
88
98
  declare const Orderbook: React$1.ForwardRefExoticComponent<OrderbookProps & React$1.RefAttributes<HTMLDivElement>>;
89
99
 
@@ -417,6 +427,8 @@ type PropertyHeroHeaderProps = React$1.HTMLAttributes<HTMLDivElement> & {
417
427
  label: string;
418
428
  variant?: "live" | "default";
419
429
  };
430
+ /** When true, render skeletons in place of price and amenity values. */
431
+ isLoading?: boolean;
420
432
  };
421
433
  declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
422
434
  imageUrl: string;
@@ -440,6 +452,8 @@ declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTML
440
452
  label: string;
441
453
  variant?: "live" | "default";
442
454
  };
455
+ /** When true, render skeletons in place of price and amenity values. */
456
+ isLoading?: boolean;
443
457
  } & React$1.RefAttributes<HTMLDivElement>>;
444
458
 
445
459
  type EmailCodeParams = {
@@ -658,7 +672,7 @@ interface OverviewImage {
658
672
  }
659
673
  type FinancialItem = {
660
674
  label: string;
661
- value: string;
675
+ value: ReactNode;
662
676
  gold?: boolean;
663
677
  badge?: string;
664
678
  };
@@ -696,8 +710,10 @@ type PropertyOverviewProps = {
696
710
  propertyTypeLabel?: string | null;
697
711
  minimumParticipation?: number | null;
698
712
  tokensIssued?: number | null;
713
+ /** When true, financial grid values render as skeletons instead of 'N/A'. */
714
+ isLoading?: boolean;
699
715
  };
700
- declare function PropertyOverview({ propertyName, location, midPrice, onTradeClick, onPhotosClick, description: descriptionProp, tradeButtonLabel, rightPanelTitle, financialItems: financialItemsProp, images, galleryCategories, videoUrl, tokenName, landSizeSqm: landProp, buildingSizeSqm: buildingProp, features: featuresProp, propertyInfo: propertyInfoProp, overviewData, bedrooms, bathrooms, carSpaces, propertyTypeLabel, tokensIssued: tokensIssuedProp, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
716
+ declare function PropertyOverview({ propertyName, location, midPrice, onTradeClick, onPhotosClick, description: descriptionProp, tradeButtonLabel, rightPanelTitle, financialItems: financialItemsProp, images, galleryCategories, videoUrl, tokenName, landSizeSqm: landProp, buildingSizeSqm: buildingProp, features: featuresProp, propertyInfo: propertyInfoProp, overviewData, bedrooms, bathrooms, carSpaces, propertyTypeLabel, tokensIssued: tokensIssuedProp, isLoading, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
701
717
 
702
718
  type OfferStatus = 'active' | 'rejected' | 'expired' | 'historical' | 'pending';
703
719
  type PropertyOffer = {
@@ -844,7 +860,8 @@ type SelectorItem = {
844
860
  };
845
861
  type AssetSelectorMetric = {
846
862
  label: string;
847
- value: string;
863
+ /** Accepts a formatted string or any node (e.g. a `<Skeleton />` while loading). */
864
+ value: ReactNode;
848
865
  accent?: boolean;
849
866
  change?: number;
850
867
  };
@@ -910,6 +927,8 @@ type PropertyBuyProps = {
910
927
  recentOrders?: readonly IpoRecentOrder[];
911
928
  ordersAllocated?: number;
912
929
  subscribers?: number;
930
+ /** True while the IPO feed is still loading — forwarded to VideoActivitySection. */
931
+ isLoadingActivity?: boolean;
913
932
  selectorItems?: readonly SelectorItem[];
914
933
  onSelectorSelect?: (tokenName: string) => void;
915
934
  portfolioActivity?: {
@@ -924,7 +943,7 @@ type PropertyBuyProps = {
924
943
  cancellingOrderId?: number | null;
925
944
  };
926
945
  };
927
- declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, tokenDisplayName, tokenSymbol, tokenName, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, opensAt, isPrivateClient, recentOrders, ordersAllocated, subscribers, selectorItems, onSelectorSelect, portfolioActivity, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
946
+ declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, tokenDisplayName, tokenSymbol, tokenName, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, opensAt, isPrivateClient, recentOrders, ordersAllocated, subscribers, isLoadingActivity, selectorItems, onSelectorSelect, portfolioActivity, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
928
947
 
929
948
  type OwnerBookingProps = {
930
949
  propertyName?: string | null;
@@ -1036,4 +1055,42 @@ declare function ToastProvider({ children }: {
1036
1055
  }): react_jsx_runtime.JSX.Element;
1037
1056
  declare function useToast(): ToastContextValue;
1038
1057
 
1039
- 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, 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, 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, useToast };
1058
+ type UseAdaptivePollingOptions = {
1059
+ enabled: boolean;
1060
+ onPoll: () => void | Promise<void>;
1061
+ };
1062
+ /**
1063
+ * Adaptive poll that ramps 1s → 2s → 4s and caps at 5s, pauses while the tab
1064
+ * is hidden, and resets to fast cadence when the tab regains focus or when
1065
+ * `enabled` flips false → true. Stops entirely when `enabled` is false.
1066
+ */
1067
+ declare function useAdaptivePolling({ enabled, onPoll }: UseAdaptivePollingOptions): void;
1068
+ type PendingActivitySource = {
1069
+ readonly openOrders?: readonly {
1070
+ readonly status: string;
1071
+ }[];
1072
+ readonly offeringOrders?: readonly {
1073
+ readonly status: string;
1074
+ }[];
1075
+ } | null | undefined;
1076
+ /**
1077
+ * True when the portfolio snapshot has any in-flight orders or unallocated
1078
+ * offerings — i.e. items whose status can still change server-side.
1079
+ */
1080
+ declare function hasPendingActivity(data: PendingActivitySource): boolean;
1081
+
1082
+ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement> {
1083
+ /** CSS width — number (px) or any CSS length string. Defaults to 100%. */
1084
+ width?: number | string;
1085
+ /** CSS height — number (px) or any CSS length string. Defaults to 1em. */
1086
+ height?: number | string;
1087
+ /** Corner radius — number (px) or any CSS length string. Defaults to 6px. */
1088
+ radius?: number | string;
1089
+ }
1090
+ /**
1091
+ * Generic loading placeholder. Renders a muted, pulsing block sized to the
1092
+ * value it stands in for, so layout doesn't shift when real data arrives.
1093
+ */
1094
+ declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
1095
+
1096
+ 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, 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
@@ -1,6 +1,6 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React$1 from 'react';
3
- import React__default from 'react';
3
+ import React__default, { ReactNode } from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import * as LightweightCharts from 'lightweight-charts';
@@ -84,6 +84,16 @@ interface OrderbookProps extends React$1.HTMLAttributes<HTMLDivElement> {
84
84
  onTabChange?: (tab: "orderbook" | "trades") => void;
85
85
  rightHeader?: React$1.ReactNode;
86
86
  variant?: "auto" | "default" | "compact";
87
+ /**
88
+ * Side-tagged price levels where the current user has an open order — rendered with a
89
+ * left-edge marker (BUY → bids, SELL → asks).
90
+ */
91
+ userOrderPrices?: readonly {
92
+ price: number;
93
+ side: "BUY" | "SELL";
94
+ }[];
95
+ /** When true, render skeleton placeholders in place of ask/bid rows and mid price. */
96
+ isLoading?: boolean;
87
97
  }
88
98
  declare const Orderbook: React$1.ForwardRefExoticComponent<OrderbookProps & React$1.RefAttributes<HTMLDivElement>>;
89
99
 
@@ -417,6 +427,8 @@ type PropertyHeroHeaderProps = React$1.HTMLAttributes<HTMLDivElement> & {
417
427
  label: string;
418
428
  variant?: "live" | "default";
419
429
  };
430
+ /** When true, render skeletons in place of price and amenity values. */
431
+ isLoading?: boolean;
420
432
  };
421
433
  declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
422
434
  imageUrl: string;
@@ -440,6 +452,8 @@ declare const PropertyHeroHeader: React$1.ForwardRefExoticComponent<React$1.HTML
440
452
  label: string;
441
453
  variant?: "live" | "default";
442
454
  };
455
+ /** When true, render skeletons in place of price and amenity values. */
456
+ isLoading?: boolean;
443
457
  } & React$1.RefAttributes<HTMLDivElement>>;
444
458
 
445
459
  type EmailCodeParams = {
@@ -658,7 +672,7 @@ interface OverviewImage {
658
672
  }
659
673
  type FinancialItem = {
660
674
  label: string;
661
- value: string;
675
+ value: ReactNode;
662
676
  gold?: boolean;
663
677
  badge?: string;
664
678
  };
@@ -696,8 +710,10 @@ type PropertyOverviewProps = {
696
710
  propertyTypeLabel?: string | null;
697
711
  minimumParticipation?: number | null;
698
712
  tokensIssued?: number | null;
713
+ /** When true, financial grid values render as skeletons instead of 'N/A'. */
714
+ isLoading?: boolean;
699
715
  };
700
- declare function PropertyOverview({ propertyName, location, midPrice, onTradeClick, onPhotosClick, description: descriptionProp, tradeButtonLabel, rightPanelTitle, financialItems: financialItemsProp, images, galleryCategories, videoUrl, tokenName, landSizeSqm: landProp, buildingSizeSqm: buildingProp, features: featuresProp, propertyInfo: propertyInfoProp, overviewData, bedrooms, bathrooms, carSpaces, propertyTypeLabel, tokensIssued: tokensIssuedProp, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
716
+ declare function PropertyOverview({ propertyName, location, midPrice, onTradeClick, onPhotosClick, description: descriptionProp, tradeButtonLabel, rightPanelTitle, financialItems: financialItemsProp, images, galleryCategories, videoUrl, tokenName, landSizeSqm: landProp, buildingSizeSqm: buildingProp, features: featuresProp, propertyInfo: propertyInfoProp, overviewData, bedrooms, bathrooms, carSpaces, propertyTypeLabel, tokensIssued: tokensIssuedProp, isLoading, }: PropertyOverviewProps): react_jsx_runtime.JSX.Element;
701
717
 
702
718
  type OfferStatus = 'active' | 'rejected' | 'expired' | 'historical' | 'pending';
703
719
  type PropertyOffer = {
@@ -844,7 +860,8 @@ type SelectorItem = {
844
860
  };
845
861
  type AssetSelectorMetric = {
846
862
  label: string;
847
- value: string;
863
+ /** Accepts a formatted string or any node (e.g. a `<Skeleton />` while loading). */
864
+ value: ReactNode;
848
865
  accent?: boolean;
849
866
  change?: number;
850
867
  };
@@ -910,6 +927,8 @@ type PropertyBuyProps = {
910
927
  recentOrders?: readonly IpoRecentOrder[];
911
928
  ordersAllocated?: number;
912
929
  subscribers?: number;
930
+ /** True while the IPO feed is still loading — forwarded to VideoActivitySection. */
931
+ isLoadingActivity?: boolean;
913
932
  selectorItems?: readonly SelectorItem[];
914
933
  onSelectorSelect?: (tokenName: string) => void;
915
934
  portfolioActivity?: {
@@ -924,7 +943,7 @@ type PropertyBuyProps = {
924
943
  cancellingOrderId?: number | null;
925
944
  };
926
945
  };
927
- declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, tokenDisplayName, tokenSymbol, tokenName, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, opensAt, isPrivateClient, recentOrders, ordersAllocated, subscribers, selectorItems, onSelectorSelect, portfolioActivity, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
946
+ declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, tokenDisplayName, tokenSymbol, tokenName, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, opensAt, isPrivateClient, recentOrders, ordersAllocated, subscribers, isLoadingActivity, selectorItems, onSelectorSelect, portfolioActivity, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
928
947
 
929
948
  type OwnerBookingProps = {
930
949
  propertyName?: string | null;
@@ -1036,4 +1055,42 @@ declare function ToastProvider({ children }: {
1036
1055
  }): react_jsx_runtime.JSX.Element;
1037
1056
  declare function useToast(): ToastContextValue;
1038
1057
 
1039
- 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, 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, 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, useToast };
1058
+ type UseAdaptivePollingOptions = {
1059
+ enabled: boolean;
1060
+ onPoll: () => void | Promise<void>;
1061
+ };
1062
+ /**
1063
+ * Adaptive poll that ramps 1s → 2s → 4s and caps at 5s, pauses while the tab
1064
+ * is hidden, and resets to fast cadence when the tab regains focus or when
1065
+ * `enabled` flips false → true. Stops entirely when `enabled` is false.
1066
+ */
1067
+ declare function useAdaptivePolling({ enabled, onPoll }: UseAdaptivePollingOptions): void;
1068
+ type PendingActivitySource = {
1069
+ readonly openOrders?: readonly {
1070
+ readonly status: string;
1071
+ }[];
1072
+ readonly offeringOrders?: readonly {
1073
+ readonly status: string;
1074
+ }[];
1075
+ } | null | undefined;
1076
+ /**
1077
+ * True when the portfolio snapshot has any in-flight orders or unallocated
1078
+ * offerings — i.e. items whose status can still change server-side.
1079
+ */
1080
+ declare function hasPendingActivity(data: PendingActivitySource): boolean;
1081
+
1082
+ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement> {
1083
+ /** CSS width — number (px) or any CSS length string. Defaults to 100%. */
1084
+ width?: number | string;
1085
+ /** CSS height — number (px) or any CSS length string. Defaults to 1em. */
1086
+ height?: number | string;
1087
+ /** Corner radius — number (px) or any CSS length string. Defaults to 6px. */
1088
+ radius?: number | string;
1089
+ }
1090
+ /**
1091
+ * Generic loading placeholder. Renders a muted, pulsing block sized to the
1092
+ * value it stands in for, so layout doesn't shift when real data arrives.
1093
+ */
1094
+ declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
1095
+
1096
+ 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, 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 };