@loafmarkets/ui 0.1.35 → 0.1.37

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
@@ -591,6 +591,8 @@ declare const PropertySubheader: React$1.ForwardRefExoticComponent<React$1.HTMLA
591
591
  type PropertyAddressOption = {
592
592
  id: string;
593
593
  label: string;
594
+ subtitle?: string;
595
+ status?: string;
594
596
  };
595
597
  type PropertyValueSummary = {
596
598
  value: number;
@@ -754,12 +756,13 @@ type OrderType = 'MARKET' | 'LIMIT';
754
756
  type TimeInForce = 'GTC' | 'IOC' | 'FOK' | 'GTD';
755
757
  type OrderStatus = 'OPEN' | 'PARTIALLY_FILLED' | 'FILLED' | 'CANCELLED' | 'REJECTED';
756
758
  interface OfferingOrder {
759
+ readonly ipoOrderId?: number;
757
760
  readonly tokenName: string;
758
761
  readonly txHash: string;
759
762
  readonly price: number;
760
763
  readonly quantity: number;
761
764
  readonly status: string;
762
- readonly imageUrl: string;
765
+ readonly imageUrl?: string;
763
766
  readonly createdAt: number;
764
767
  }
765
768
  interface OrderHistoryItem {
@@ -832,6 +835,14 @@ type PortfolioActivityPanelProps = {
832
835
  };
833
836
  declare function PortfolioActivityPanel({ positions, showPositionsTab, onPositionClick, offeringOrders, openOrders, orderHistory, tradeHistory, transfers, onCancelOrder, cancellingOrderId, defaultTab, pageSize, blockExplorerBaseUrl, className, style, }: PortfolioActivityPanelProps): react_jsx_runtime.JSX.Element;
834
837
 
838
+ type SelectorItem = {
839
+ readonly tokenName: string;
840
+ readonly ticker: string;
841
+ readonly streetAddress: string;
842
+ readonly suburb: string;
843
+ readonly status: string;
844
+ };
845
+
835
846
  type IpoStatus = 'PENDING' | 'LIVE' | 'CLOSED' | 'CANCELLED';
836
847
  type SaleData = {
837
848
  loading: boolean;
@@ -883,6 +894,8 @@ type PropertyBuyProps = {
883
894
  recentOrders?: readonly IpoRecentOrder[];
884
895
  ordersAllocated?: number;
885
896
  subscribers?: number;
897
+ selectorItems?: readonly SelectorItem[];
898
+ onSelectorSelect?: (tokenName: string) => void;
886
899
  portfolioActivity?: {
887
900
  positions?: readonly PortfolioPosition[];
888
901
  onPositionClick?: (tokenName: string, isIpo: boolean) => void;
@@ -895,7 +908,7 @@ type PropertyBuyProps = {
895
908
  cancellingOrderId?: number | null;
896
909
  };
897
910
  };
898
- declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, tokenDisplayName, tokenSymbol, tokenName, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, opensAt, isPrivateClient, recentOrders, ordersAllocated, subscribers, portfolioActivity, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
911
+ 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;
899
912
 
900
913
  type OwnerBookingProps = {
901
914
  propertyName?: string | null;
package/dist/index.d.ts CHANGED
@@ -591,6 +591,8 @@ declare const PropertySubheader: React$1.ForwardRefExoticComponent<React$1.HTMLA
591
591
  type PropertyAddressOption = {
592
592
  id: string;
593
593
  label: string;
594
+ subtitle?: string;
595
+ status?: string;
594
596
  };
595
597
  type PropertyValueSummary = {
596
598
  value: number;
@@ -754,12 +756,13 @@ type OrderType = 'MARKET' | 'LIMIT';
754
756
  type TimeInForce = 'GTC' | 'IOC' | 'FOK' | 'GTD';
755
757
  type OrderStatus = 'OPEN' | 'PARTIALLY_FILLED' | 'FILLED' | 'CANCELLED' | 'REJECTED';
756
758
  interface OfferingOrder {
759
+ readonly ipoOrderId?: number;
757
760
  readonly tokenName: string;
758
761
  readonly txHash: string;
759
762
  readonly price: number;
760
763
  readonly quantity: number;
761
764
  readonly status: string;
762
- readonly imageUrl: string;
765
+ readonly imageUrl?: string;
763
766
  readonly createdAt: number;
764
767
  }
765
768
  interface OrderHistoryItem {
@@ -832,6 +835,14 @@ type PortfolioActivityPanelProps = {
832
835
  };
833
836
  declare function PortfolioActivityPanel({ positions, showPositionsTab, onPositionClick, offeringOrders, openOrders, orderHistory, tradeHistory, transfers, onCancelOrder, cancellingOrderId, defaultTab, pageSize, blockExplorerBaseUrl, className, style, }: PortfolioActivityPanelProps): react_jsx_runtime.JSX.Element;
834
837
 
838
+ type SelectorItem = {
839
+ readonly tokenName: string;
840
+ readonly ticker: string;
841
+ readonly streetAddress: string;
842
+ readonly suburb: string;
843
+ readonly status: string;
844
+ };
845
+
835
846
  type IpoStatus = 'PENDING' | 'LIVE' | 'CLOSED' | 'CANCELLED';
836
847
  type SaleData = {
837
848
  loading: boolean;
@@ -883,6 +894,8 @@ type PropertyBuyProps = {
883
894
  recentOrders?: readonly IpoRecentOrder[];
884
895
  ordersAllocated?: number;
885
896
  subscribers?: number;
897
+ selectorItems?: readonly SelectorItem[];
898
+ onSelectorSelect?: (tokenName: string) => void;
886
899
  portfolioActivity?: {
887
900
  positions?: readonly PortfolioPosition[];
888
901
  onPositionClick?: (tokenName: string, isIpo: boolean) => void;
@@ -895,7 +908,7 @@ type PropertyBuyProps = {
895
908
  cancellingOrderId?: number | null;
896
909
  };
897
910
  };
898
- declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, tokenDisplayName, tokenSymbol, tokenName, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, opensAt, isPrivateClient, recentOrders, ordersAllocated, subscribers, portfolioActivity, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
911
+ 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;
899
912
 
900
913
  type OwnerBookingProps = {
901
914
  propertyName?: string | null;