@ollaid/native-sso 2.8.0 → 2.8.2

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.
@@ -15,10 +15,11 @@ export interface LoginModalProps {
15
15
  logoUrl?: string;
16
16
  loading?: boolean;
17
17
  showSwitchToSignup?: boolean;
18
+ homeUrl?: string;
18
19
  /** Type de compte par défaut à persister dans le storage du package */
19
20
  defaultAccountType?: 'user' | 'client';
20
21
  /** Pre-fill phone number and go directly to phone-input step */
21
22
  initialPhone?: string;
22
23
  }
23
- export declare function LoginModal({ open, onOpenChange, onSwitchToSignup, onLoginSuccess, saasApiUrl, iamApiUrl, logoUrl, loading, showSwitchToSignup, defaultAccountType, initialPhone, }: LoginModalProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function LoginModal({ open, onOpenChange, onSwitchToSignup, onLoginSuccess, saasApiUrl, iamApiUrl, logoUrl, loading, showSwitchToSignup, homeUrl, defaultAccountType, initialPhone, }: LoginModalProps): import("react/jsx-runtime").JSX.Element;
24
25
  export default LoginModal;
@@ -28,9 +28,10 @@ export interface NativeSSOPageProps {
28
28
  description?: string;
29
29
  logoUrl?: string;
30
30
  hideFooter?: boolean;
31
+ homeUrl?: string;
31
32
  redirectAfterLogin?: string;
32
33
  redirectAfterLogout?: string;
33
34
  storage?: NativeStorageAdapter;
34
35
  }
35
- export declare function NativeSSOPage({ saasApiUrl, iamApiUrl, onLoginSuccess, onLogout, onOnboardingComplete, accountType, configPrefix, title, description, logoUrl, hideFooter, redirectAfterLogin, redirectAfterLogout, storage, }: NativeSSOPageProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function NativeSSOPage({ saasApiUrl, iamApiUrl, onLoginSuccess, onLogout, onOnboardingComplete, accountType, configPrefix, title, description, logoUrl, hideFooter, homeUrl, redirectAfterLogin, redirectAfterLogout, storage, }: NativeSSOPageProps): import("react/jsx-runtime").JSX.Element;
36
37
  export default NativeSSOPage;
@@ -15,8 +15,9 @@ export interface SignupModalProps {
15
15
  logoUrl?: string;
16
16
  /** Type de compte par défaut à persister dans le storage du package */
17
17
  defaultAccountType?: 'user' | 'client';
18
+ homeUrl?: string;
18
19
  /** Called when conflict resolution wants to switch to login with a pre-filled phone */
19
20
  onSwitchToLoginWithPhone?: (phone: string) => void;
20
21
  }
21
- export declare function SignupModal({ open, onOpenChange, onSwitchToLogin, onSignupSuccess, saasApiUrl, iamApiUrl, logoUrl, defaultAccountType, onSwitchToLoginWithPhone }: SignupModalProps): import("react/jsx-runtime").JSX.Element;
22
+ export declare function SignupModal({ open, onOpenChange, onSwitchToLogin, onSignupSuccess, saasApiUrl, iamApiUrl, logoUrl, defaultAccountType, homeUrl, onSwitchToLoginWithPhone }: SignupModalProps): import("react/jsx-runtime").JSX.Element;
22
23
  export default SignupModal;
@@ -12,6 +12,13 @@ export declare function IconPhone(props: React.SVGProps<SVGSVGElement>): import(
12
12
  export declare function IconLock(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
13
13
  export declare function IconKeyRound(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
14
14
  export declare function IconLink(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
15
+ export declare function BrandLinkRow({ icon, faviconSrc, faviconAlt, iconBg, iconColor, }: {
16
+ icon: React.ReactNode;
17
+ faviconSrc: string;
18
+ faviconAlt?: string;
19
+ iconBg?: string;
20
+ iconColor?: string;
21
+ }): import("react/jsx-runtime").JSX.Element;
15
22
  export declare function IconArrowLeft(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
16
23
  export declare function IconEye(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
17
24
  export declare function IconEyeOff(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;