doct-ui-auth-kit 1.0.0 → 1.0.1

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.
@@ -3,19 +3,13 @@ export interface MainLoginProps {
3
3
  onContinueWithMobile?: () => void;
4
4
  /** Handler for "Continue with Email". */
5
5
  onContinueWithEmail?: () => void;
6
- /** Handler for "Continue with Google". */
6
+ /** Handler for "Continue with Google" (used when Google button is not rendered). */
7
7
  onContinueWithGoogle?: () => void;
8
8
  /** Handler for "Continue with Apple". */
9
9
  onContinueWithApple?: () => void;
10
- /**
11
- * @deprecated Google-branded button is no longer rendered from this component.
12
- * Google One Tap and provider callbacks are handled via `AuthFlow` / `useGoogleOneTap`.
13
- */
10
+ /** When set with onGoogleCredential, renders the official Google Sign-In button that opens the popup. */
14
11
  googleClientId?: string;
15
- /**
16
- * @deprecated Google-branded button is no longer rendered from this component.
17
- * Google One Tap and provider callbacks are handled via `AuthFlow` / `useGoogleOneTap`.
18
- */
12
+ /** Callback when Google credential is received; used with googleClientId. */
19
13
  onGoogleCredential?: (credential: string) => void;
20
14
  }
21
15
  /**
@@ -23,4 +17,4 @@ export interface MainLoginProps {
23
17
  * Intended to be slotted into AuthLayout.Body. Layout shell (AuthLayout with
24
18
  * Logo, Title, Description) is provided by the app or story.
25
19
  */
26
- export declare function MainLogin({ onContinueWithMobile, onContinueWithEmail, onContinueWithGoogle, onContinueWithApple, }: Readonly<MainLoginProps>): import("react/jsx-runtime").JSX.Element;
20
+ export declare function MainLogin({ onContinueWithMobile, onContinueWithEmail, onContinueWithGoogle, onContinueWithApple, googleClientId, onGoogleCredential, }: Readonly<MainLoginProps>): import("react/jsx-runtime").JSX.Element;
package/dist/pages.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as e, F as n, L as o, M as g, O as s, R as t, S as r } from "./signup-Cnybfnhd.js";
1
+ import { C as e, F as n, L as o, M as g, O as s, R as t, S as r } from "./signup-CHqsrPuW.js";
2
2
  export {
3
3
  e as ConflictPage,
4
4
  n as ForeignEmailCollectPage,