@loafmarkets/ui 0.1.16 → 0.1.18

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
@@ -479,6 +479,8 @@ type LoginPopupProps = {
479
479
  }> | void;
480
480
  /** Optional view to show immediately when the popup opens. */
481
481
  initialView?: LoginPopupView;
482
+ /** Handler invoked when the user selects "Sign in with Wallet". */
483
+ onWalletLogin?: () => Promise<void> | void;
482
484
  };
483
485
  declare const LoginPopup: React__default.FC<LoginPopupProps>;
484
486
 
@@ -487,7 +489,7 @@ type HeaderUser = {
487
489
  email?: string | null;
488
490
  walletAddress?: string | null;
489
491
  };
490
- type HeaderActiveTab = "home" | "trade" | "offerings" | "propertyMap" | "about";
492
+ type HeaderActiveTab = "home" | "trade" | "offerings" | "propertyMap" | "about" | "portfolio" | "learn";
491
493
  type HeaderLoginPopupComponentProps = {
492
494
  onClose: () => void;
493
495
  initialView?: LoginPopupView;
@@ -501,12 +503,13 @@ type HeaderProps = {
501
503
  onLogout?: () => Promise<void> | void;
502
504
  onSignInClick?: () => void;
503
505
  loginPopupComponent?: React__default.ComponentType<HeaderLoginPopupComponentProps>;
504
- tradeUrl?: string;
505
506
  tradePath?: string;
506
507
  homePath?: string;
507
508
  aboutPath?: string;
509
+ learnPath?: string;
508
510
  offeringsPath?: string;
509
511
  propertyMapPath?: string;
512
+ portfolioPath?: string;
510
513
  loafLiquidityPath?: string;
511
514
  /** Absolute URL for the auth/login surface (e.g. https://auth.loafmarkets.com/login). */
512
515
  authLoginUrl?: string | null;
@@ -716,6 +719,8 @@ type PropertySubscription = {
716
719
  type PropertyBuyProps = {
717
720
  propertyName?: string;
718
721
  propertyLocation?: string;
722
+ tokenDisplayName?: string;
723
+ tokenSymbol?: string;
719
724
  isAuthenticated: boolean;
720
725
  onSignIn: () => void;
721
726
  saleData?: SaleData | null;
@@ -727,7 +732,7 @@ type PropertyBuyProps = {
727
732
  onDeposit?: () => void;
728
733
  initialUserSubscriptions?: PropertySubscription[];
729
734
  };
730
- declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, initialUserSubscriptions, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
735
+ declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, tokenDisplayName, tokenSymbol, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, initialUserSubscriptions, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
731
736
 
732
737
  type OwnerBookingProps = {
733
738
  propertyName?: string | null;
package/dist/index.d.ts CHANGED
@@ -479,6 +479,8 @@ type LoginPopupProps = {
479
479
  }> | void;
480
480
  /** Optional view to show immediately when the popup opens. */
481
481
  initialView?: LoginPopupView;
482
+ /** Handler invoked when the user selects "Sign in with Wallet". */
483
+ onWalletLogin?: () => Promise<void> | void;
482
484
  };
483
485
  declare const LoginPopup: React__default.FC<LoginPopupProps>;
484
486
 
@@ -487,7 +489,7 @@ type HeaderUser = {
487
489
  email?: string | null;
488
490
  walletAddress?: string | null;
489
491
  };
490
- type HeaderActiveTab = "home" | "trade" | "offerings" | "propertyMap" | "about";
492
+ type HeaderActiveTab = "home" | "trade" | "offerings" | "propertyMap" | "about" | "portfolio" | "learn";
491
493
  type HeaderLoginPopupComponentProps = {
492
494
  onClose: () => void;
493
495
  initialView?: LoginPopupView;
@@ -501,12 +503,13 @@ type HeaderProps = {
501
503
  onLogout?: () => Promise<void> | void;
502
504
  onSignInClick?: () => void;
503
505
  loginPopupComponent?: React__default.ComponentType<HeaderLoginPopupComponentProps>;
504
- tradeUrl?: string;
505
506
  tradePath?: string;
506
507
  homePath?: string;
507
508
  aboutPath?: string;
509
+ learnPath?: string;
508
510
  offeringsPath?: string;
509
511
  propertyMapPath?: string;
512
+ portfolioPath?: string;
510
513
  loafLiquidityPath?: string;
511
514
  /** Absolute URL for the auth/login surface (e.g. https://auth.loafmarkets.com/login). */
512
515
  authLoginUrl?: string | null;
@@ -716,6 +719,8 @@ type PropertySubscription = {
716
719
  type PropertyBuyProps = {
717
720
  propertyName?: string;
718
721
  propertyLocation?: string;
722
+ tokenDisplayName?: string;
723
+ tokenSymbol?: string;
719
724
  isAuthenticated: boolean;
720
725
  onSignIn: () => void;
721
726
  saleData?: SaleData | null;
@@ -727,7 +732,7 @@ type PropertyBuyProps = {
727
732
  onDeposit?: () => void;
728
733
  initialUserSubscriptions?: PropertySubscription[];
729
734
  };
730
- declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, initialUserSubscriptions, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
735
+ declare function PropertyBuy({ propertyName, propertyLocation: propertyLocationLabel, tokenDisplayName, tokenSymbol, isAuthenticated, onSignIn, saleData, walletUsdcBalance, walletPropertyTokenBalance, onPurchase, purchaseStatus, purchaseError, onDeposit, initialUserSubscriptions, }: PropertyBuyProps): react_jsx_runtime.JSX.Element;
731
736
 
732
737
  type OwnerBookingProps = {
733
738
  propertyName?: string | null;