@tempots/beatui 0.50.0 → 0.50.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TNode } from '@tempots/dom';
|
|
2
2
|
import { AuthContainerOptions } from './index';
|
|
3
|
-
export declare function AuthContainer({ mode: initialMode, socialProviders, passwordRules, showRememberMe, showSocialDivider, showPasswordStrength, labels, onSignIn, onSignUp, onResetPassword, onModeChange, showContainer, }: AuthContainerOptions, ...children: TNode[]): TNode;
|
|
3
|
+
export declare function AuthContainer({ mode: initialMode, socialProviders, initialName, initialEmail, passwordRules, showRememberMe, showSocialDivider, showPasswordStrength, labels, onSignIn, onSignUp, onResetPassword, onModeChange, showContainer, }: AuthContainerOptions, ...children: TNode[]): TNode;
|
|
4
4
|
export declare function AuthModal(fn: (open: (options: AuthContainerOptions & {
|
|
5
5
|
modalTitle?: () => string;
|
|
6
6
|
}) => void) => TNode): TNode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Renderable } from '@tempots/dom';
|
|
2
2
|
import { SignUpFormOptions } from './index';
|
|
3
|
-
export declare function SignUpForm({ passwordRules, labels, showPasswordStrength, onSignUp, showNameField, showConfirmPassword, showAcceptTermsAndConditions, termsAndConditions, }: SignUpFormOptions): Renderable;
|
|
3
|
+
export declare function SignUpForm({ passwordRules, labels, initialEmail, initialName, showPasswordStrength, onSignUp, showNameField, showConfirmPassword, showAcceptTermsAndConditions, termsAndConditions, }: SignUpFormOptions): Renderable;
|
|
@@ -63,6 +63,8 @@ export interface AuthContainerOptions {
|
|
|
63
63
|
mode?: Value<AuthMode>;
|
|
64
64
|
className?: Value<string>;
|
|
65
65
|
socialProviders?: AuthProviderInfo[];
|
|
66
|
+
initialName?: string;
|
|
67
|
+
initialEmail?: string;
|
|
66
68
|
passwordRules?: PasswordRules;
|
|
67
69
|
showRememberMe?: Value<boolean>;
|
|
68
70
|
showSocialDivider?: Value<boolean>;
|