@qwanyx/stack 0.2.111 → 0.2.112
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/components/LoginForm.d.ts +9 -1
- package/dist/index.cjs.js +27 -27
- package/dist/index.esm.js +1708 -1686
- package/package.json +1 -1
|
@@ -31,6 +31,14 @@ export interface LoginFormProps {
|
|
|
31
31
|
emailLabel?: string;
|
|
32
32
|
/** Password label (default: "Mot de passe") */
|
|
33
33
|
passwordLabel?: string;
|
|
34
|
+
/** Callback to navigate to forgot password */
|
|
35
|
+
onForgotPasswordClick?: () => void;
|
|
36
|
+
/** Callback to navigate to register */
|
|
37
|
+
onRegisterClick?: () => void;
|
|
38
|
+
/** Forgot password link text */
|
|
39
|
+
forgotPasswordText?: string;
|
|
40
|
+
/** Register link text */
|
|
41
|
+
registerText?: string;
|
|
34
42
|
/** Theme customization */
|
|
35
43
|
theme?: LoginFormTheme;
|
|
36
44
|
/** Additional class name for the form container */
|
|
@@ -38,7 +46,7 @@ export interface LoginFormProps {
|
|
|
38
46
|
/** Whether this is displayed in a modal (adds shadow/rounding) */
|
|
39
47
|
isModal?: boolean;
|
|
40
48
|
}
|
|
41
|
-
export declare function LoginForm({ onLogin, onSuccess, logo, title, submitText, loadingText, emailLabel, passwordLabel, theme: customTheme, className, isModal, }: LoginFormProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export declare function LoginForm({ onLogin, onSuccess, logo, title, submitText, loadingText, emailLabel, passwordLabel, onForgotPasswordClick, onRegisterClick, forgotPasswordText, registerText, theme: customTheme, className, isModal, }: LoginFormProps): import("react/jsx-runtime").JSX.Element;
|
|
42
50
|
export interface LoginModalProps extends LoginFormProps {
|
|
43
51
|
/** Whether the modal is open */
|
|
44
52
|
isOpen: boolean;
|