@salesmind-ai/design-system 1.7.0 → 1.9.0
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/ChangeEmail-BuUhjW0o.d.cts +226 -0
- package/dist/ChangeEmail-BuUhjW0o.d.ts +226 -0
- package/dist/{chunk-3NS6X2R4.cjs → chunk-5EIBL6DQ.cjs} +133 -38
- package/dist/chunk-5EIBL6DQ.cjs.map +1 -0
- package/dist/chunk-AI2YEYT4.js +1368 -0
- package/dist/chunk-AI2YEYT4.js.map +1 -0
- package/dist/{chunk-4QQKREVH.cjs → chunk-LM3UJILC.cjs} +3 -3
- package/dist/{chunk-4QQKREVH.cjs.map → chunk-LM3UJILC.cjs.map} +1 -1
- package/dist/{chunk-K7NQ7TQG.cjs → chunk-M4MLGT4B.cjs} +84 -27
- package/dist/chunk-M4MLGT4B.cjs.map +1 -0
- package/dist/{chunk-6BUS7RMS.js → chunk-Q3YVBUKQ.js} +133 -38
- package/dist/chunk-Q3YVBUKQ.js.map +1 -0
- package/dist/{chunk-25TUCNN6.js → chunk-QVGDMAZY.js} +84 -27
- package/dist/chunk-QVGDMAZY.js.map +1 -0
- package/dist/{chunk-2TC5EVSJ.js → chunk-TPZ3PKSF.js} +3 -3
- package/dist/{chunk-2TC5EVSJ.js.map → chunk-TPZ3PKSF.js.map} +1 -1
- package/dist/chunk-YWJKSY5C.cjs +1381 -0
- package/dist/chunk-YWJKSY5C.cjs.map +1 -0
- package/dist/index.cjs +57 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +2426 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/marketing/index.cjs +27 -27
- package/dist/marketing/index.js +1 -1
- package/dist/nav/index.cjs +10 -10
- package/dist/nav/index.css +54 -0
- package/dist/nav/index.css.map +1 -1
- package/dist/nav/index.d.cts +9 -0
- package/dist/nav/index.d.ts +9 -0
- package/dist/nav/index.js +1 -1
- package/dist/onboarding/index.cjs +5870 -0
- package/dist/onboarding/index.cjs.map +1 -0
- package/dist/onboarding/index.css +557 -0
- package/dist/onboarding/index.css.map +1 -0
- package/dist/onboarding/index.d.cts +1589 -0
- package/dist/onboarding/index.d.ts +1589 -0
- package/dist/onboarding/index.js +5736 -0
- package/dist/onboarding/index.js.map +1 -0
- package/dist/styles/styles.css +2593 -0
- package/dist/v2-auth/index.cjs +59 -0
- package/dist/v2-auth/index.cjs.map +1 -0
- package/dist/v2-auth/index.css +3360 -0
- package/dist/v2-auth/index.css.map +1 -0
- package/dist/v2-auth/index.d.cts +76 -0
- package/dist/v2-auth/index.d.ts +76 -0
- package/dist/v2-auth/index.js +24 -0
- package/dist/v2-auth/index.js.map +1 -0
- package/dist/web/index.cjs +7 -7
- package/dist/web/index.d.cts +1 -1
- package/dist/web/index.d.ts +1 -1
- package/dist/web/index.js +1 -1
- package/dist/web/server/index.cjs +7 -7
- package/dist/web/server/index.d.cts +91 -27
- package/dist/web/server/index.d.ts +91 -27
- package/dist/web/server/index.js +1 -1
- package/package.json +14 -2
- package/dist/chunk-25TUCNN6.js.map +0 -1
- package/dist/chunk-3NS6X2R4.cjs.map +0 -1
- package/dist/chunk-6BUS7RMS.js.map +0 -1
- package/dist/chunk-K7NQ7TQG.cjs.map +0 -1
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
interface LoginLabels {
|
|
4
|
+
continueWithGoogleLabel?: string;
|
|
5
|
+
orContinueWithEmailLabel?: string;
|
|
6
|
+
emailPlaceholder?: string;
|
|
7
|
+
passwordPlaceholder?: string;
|
|
8
|
+
signInLabel?: string;
|
|
9
|
+
doNotHaveAnAccountLabel?: string;
|
|
10
|
+
emailLabel?: string;
|
|
11
|
+
passwordLabel?: string;
|
|
12
|
+
rememberMeLabel?: string;
|
|
13
|
+
forgotPasswordLabel?: string;
|
|
14
|
+
signUpLabel?: string;
|
|
15
|
+
trustedByLabel?: string;
|
|
16
|
+
}
|
|
17
|
+
interface LoginProps {
|
|
18
|
+
/** Company/Product name */
|
|
19
|
+
brandName?: string;
|
|
20
|
+
/** Tagline or description */
|
|
21
|
+
tagline?: string;
|
|
22
|
+
/** Translation strings */
|
|
23
|
+
labels?: LoginLabels;
|
|
24
|
+
/** Show social login options */
|
|
25
|
+
showSocialLogin?: boolean;
|
|
26
|
+
/** Show "Remember me" checkbox */
|
|
27
|
+
showRememberMe?: boolean;
|
|
28
|
+
/** Show "Forgot password" link */
|
|
29
|
+
showForgotPassword?: boolean;
|
|
30
|
+
/** Show sign up link */
|
|
31
|
+
showSignUp?: boolean;
|
|
32
|
+
/** Language selector component */
|
|
33
|
+
localeSelector?: React__default.ReactNode;
|
|
34
|
+
/** Custom logo element */
|
|
35
|
+
logo?: React__default.ReactNode;
|
|
36
|
+
/** Form submit handler */
|
|
37
|
+
onSubmit?: (data: {
|
|
38
|
+
email: string;
|
|
39
|
+
password: string;
|
|
40
|
+
rememberMe: boolean;
|
|
41
|
+
}) => void;
|
|
42
|
+
/** Social login handlers */
|
|
43
|
+
onGoogleLogin?: () => void;
|
|
44
|
+
/** Link handlers */
|
|
45
|
+
onForgotPassword?: () => void;
|
|
46
|
+
onSignUp?: () => void;
|
|
47
|
+
/** Loading state */
|
|
48
|
+
isLoading?: boolean;
|
|
49
|
+
/** Error message */
|
|
50
|
+
error?: string;
|
|
51
|
+
/** Custom class name */
|
|
52
|
+
className?: string;
|
|
53
|
+
/** Custom styles */
|
|
54
|
+
style?: React__default.CSSProperties;
|
|
55
|
+
}
|
|
56
|
+
declare const Login: React__default.FC<LoginProps>;
|
|
57
|
+
|
|
58
|
+
interface SignupLabels {
|
|
59
|
+
formTitle?: string;
|
|
60
|
+
googleButtonLabel?: string;
|
|
61
|
+
dividerText?: string;
|
|
62
|
+
nameLabel?: string;
|
|
63
|
+
namePlaceholder?: string;
|
|
64
|
+
emailLabel?: string;
|
|
65
|
+
emailPlaceholder?: string;
|
|
66
|
+
passwordLabel?: string;
|
|
67
|
+
passwordPlaceholder?: string;
|
|
68
|
+
phoneLabel?: string;
|
|
69
|
+
phonePlaceholder?: string;
|
|
70
|
+
hidePasswordLabel?: string;
|
|
71
|
+
showPasswordLabel?: string;
|
|
72
|
+
passwordStrengthLabels?: [string, string, string, string, string];
|
|
73
|
+
termsAgreementPrefix?: string;
|
|
74
|
+
termsLabel?: string;
|
|
75
|
+
termsConjunction?: string;
|
|
76
|
+
privacyLabel?: string;
|
|
77
|
+
submitLabel?: string;
|
|
78
|
+
loginPrompt?: string;
|
|
79
|
+
loginLabel?: string;
|
|
80
|
+
successTitle?: string;
|
|
81
|
+
continueToLoginLabel?: string;
|
|
82
|
+
}
|
|
83
|
+
interface SignupProps {
|
|
84
|
+
/** Company/Product name */
|
|
85
|
+
brandName?: string;
|
|
86
|
+
/** Tagline or description */
|
|
87
|
+
tagline?: string;
|
|
88
|
+
/** Show social signup options */
|
|
89
|
+
showSocialSignup?: boolean;
|
|
90
|
+
/** Custom logo element */
|
|
91
|
+
logo?: React__default.ReactNode;
|
|
92
|
+
/** Form submit handler */
|
|
93
|
+
onSubmit?: (data: {
|
|
94
|
+
name: string;
|
|
95
|
+
email: string;
|
|
96
|
+
phone: string;
|
|
97
|
+
password: string;
|
|
98
|
+
acceptedTerms: boolean;
|
|
99
|
+
}) => void;
|
|
100
|
+
/** Social signup handlers */
|
|
101
|
+
onGoogleSignup?: () => void;
|
|
102
|
+
/** Link handlers */
|
|
103
|
+
onLogin?: () => void;
|
|
104
|
+
onTermsClick?: () => void;
|
|
105
|
+
onPrivacyClick?: () => void;
|
|
106
|
+
/** Loading state */
|
|
107
|
+
isLoading?: boolean;
|
|
108
|
+
/** Error message */
|
|
109
|
+
error?: string;
|
|
110
|
+
/** Success state */
|
|
111
|
+
isSuccess?: boolean;
|
|
112
|
+
/** Success message — accepts a string or React nodes (e.g. with <br />) */
|
|
113
|
+
successMessage?: React__default.ReactNode;
|
|
114
|
+
/** Custom class name */
|
|
115
|
+
className?: string;
|
|
116
|
+
/** Custom styles */
|
|
117
|
+
style?: React__default.CSSProperties;
|
|
118
|
+
/** i18n labels — every key falls back to its English default */
|
|
119
|
+
labels?: SignupLabels;
|
|
120
|
+
/** Default country (ISO code, e.g. TH) */
|
|
121
|
+
defaultCountry?: string;
|
|
122
|
+
/** Array of countries to populate the dropdown */
|
|
123
|
+
countries?: {
|
|
124
|
+
code: string;
|
|
125
|
+
dial: string;
|
|
126
|
+
flag: string;
|
|
127
|
+
name: string;
|
|
128
|
+
}[];
|
|
129
|
+
/** Custom render for phone input */
|
|
130
|
+
renderPhoneInput?: (props: {
|
|
131
|
+
value: string;
|
|
132
|
+
onChange: (val: string) => void;
|
|
133
|
+
placeholder?: string;
|
|
134
|
+
disabled?: boolean;
|
|
135
|
+
className?: string;
|
|
136
|
+
id?: string;
|
|
137
|
+
}) => React__default.ReactNode;
|
|
138
|
+
}
|
|
139
|
+
declare const Signup: React__default.FC<SignupProps>;
|
|
140
|
+
|
|
141
|
+
interface ForgotPasswordLabels {
|
|
142
|
+
forgotPasswordTitle?: string;
|
|
143
|
+
resetInstructionsTagline?: string;
|
|
144
|
+
emailLabel?: string;
|
|
145
|
+
emailPlaceholder?: string;
|
|
146
|
+
resetPasswordButton?: string;
|
|
147
|
+
backToLoginButton?: string;
|
|
148
|
+
checkYourEmailTitle?: string;
|
|
149
|
+
passwordResetLinkTagline?: string;
|
|
150
|
+
didNotReceiveEmailHint?: string;
|
|
151
|
+
clickToResendButton?: string;
|
|
152
|
+
setNewPasswordTitle?: string;
|
|
153
|
+
mustBeCharactersTagline?: string;
|
|
154
|
+
passwordLabel?: string;
|
|
155
|
+
enterNewPasswordPlaceholder?: string;
|
|
156
|
+
confirmPasswordLabel?: string;
|
|
157
|
+
confirmNewPasswordPlaceholder?: string;
|
|
158
|
+
passwordsDontMatchError?: string;
|
|
159
|
+
passwordResetTitle?: string;
|
|
160
|
+
passwordSuccessfullyResetTagline?: string;
|
|
161
|
+
clickBelowLogInHint?: string;
|
|
162
|
+
continueToLoginButton?: string;
|
|
163
|
+
showPasswordLabel?: string;
|
|
164
|
+
hidePasswordLabel?: string;
|
|
165
|
+
}
|
|
166
|
+
interface ForgotPasswordProps {
|
|
167
|
+
/** Translation strings */
|
|
168
|
+
labels?: ForgotPasswordLabels;
|
|
169
|
+
/** Custom logo element */
|
|
170
|
+
logo?: React__default.ReactNode;
|
|
171
|
+
/** Form submit handler for email entry */
|
|
172
|
+
onSubmit?: (email: string) => void;
|
|
173
|
+
/** Form submit handler for password reset */
|
|
174
|
+
onResetPassword?: (data: {
|
|
175
|
+
password: string;
|
|
176
|
+
confirmPassword: string;
|
|
177
|
+
}) => void;
|
|
178
|
+
/** Back to login handler */
|
|
179
|
+
onBackToLogin?: () => void;
|
|
180
|
+
/** Loading state */
|
|
181
|
+
isLoading?: boolean;
|
|
182
|
+
/** Error message */
|
|
183
|
+
error?: string;
|
|
184
|
+
/** Current step: 'email' | 'sent' | 'reset' | 'success' */
|
|
185
|
+
step?: 'email' | 'sent' | 'reset' | 'success';
|
|
186
|
+
/** Email address (for display in sent state). */
|
|
187
|
+
email?: string;
|
|
188
|
+
/** Custom class name */
|
|
189
|
+
className?: string;
|
|
190
|
+
}
|
|
191
|
+
declare const ForgotPassword: React__default.FC<ForgotPasswordProps>;
|
|
192
|
+
|
|
193
|
+
interface ChangeEmailLabels {
|
|
194
|
+
changeEmailTitle?: string;
|
|
195
|
+
changeEmailTagline?: string;
|
|
196
|
+
newEmailLabel?: string;
|
|
197
|
+
newEmailPlaceholder?: string;
|
|
198
|
+
currentPasswordLabel?: string;
|
|
199
|
+
currentPasswordPlaceholder?: string;
|
|
200
|
+
forgotPasswordButton?: string;
|
|
201
|
+
continueButton?: string;
|
|
202
|
+
backToLoginButton?: string;
|
|
203
|
+
showPasswordLabel?: string;
|
|
204
|
+
hidePasswordLabel?: string;
|
|
205
|
+
successTitle?: string;
|
|
206
|
+
successTagline?: string;
|
|
207
|
+
continueToLoginButton?: string;
|
|
208
|
+
}
|
|
209
|
+
interface ChangeEmailProps {
|
|
210
|
+
labels?: ChangeEmailLabels;
|
|
211
|
+
logo?: React__default.ReactNode;
|
|
212
|
+
onSubmit?: (data: {
|
|
213
|
+
email: string;
|
|
214
|
+
password: string;
|
|
215
|
+
}) => void;
|
|
216
|
+
onForgotPassword?: () => void;
|
|
217
|
+
onBackToLogin?: () => void;
|
|
218
|
+
isLoading?: boolean;
|
|
219
|
+
error?: string;
|
|
220
|
+
/** Current step: 'form' | 'success' */
|
|
221
|
+
step?: 'form' | 'success';
|
|
222
|
+
className?: string;
|
|
223
|
+
}
|
|
224
|
+
declare const ChangeEmail: React__default.FC<ChangeEmailProps>;
|
|
225
|
+
|
|
226
|
+
export { ChangeEmail as C, ForgotPassword as F, Login as L, Signup as S, type ChangeEmailLabels as a, type ChangeEmailProps as b, type ForgotPasswordLabels as c, type ForgotPasswordProps as d, type LoginLabels as e, type LoginProps as f, type SignupLabels as g, type SignupProps as h };
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
interface LoginLabels {
|
|
4
|
+
continueWithGoogleLabel?: string;
|
|
5
|
+
orContinueWithEmailLabel?: string;
|
|
6
|
+
emailPlaceholder?: string;
|
|
7
|
+
passwordPlaceholder?: string;
|
|
8
|
+
signInLabel?: string;
|
|
9
|
+
doNotHaveAnAccountLabel?: string;
|
|
10
|
+
emailLabel?: string;
|
|
11
|
+
passwordLabel?: string;
|
|
12
|
+
rememberMeLabel?: string;
|
|
13
|
+
forgotPasswordLabel?: string;
|
|
14
|
+
signUpLabel?: string;
|
|
15
|
+
trustedByLabel?: string;
|
|
16
|
+
}
|
|
17
|
+
interface LoginProps {
|
|
18
|
+
/** Company/Product name */
|
|
19
|
+
brandName?: string;
|
|
20
|
+
/** Tagline or description */
|
|
21
|
+
tagline?: string;
|
|
22
|
+
/** Translation strings */
|
|
23
|
+
labels?: LoginLabels;
|
|
24
|
+
/** Show social login options */
|
|
25
|
+
showSocialLogin?: boolean;
|
|
26
|
+
/** Show "Remember me" checkbox */
|
|
27
|
+
showRememberMe?: boolean;
|
|
28
|
+
/** Show "Forgot password" link */
|
|
29
|
+
showForgotPassword?: boolean;
|
|
30
|
+
/** Show sign up link */
|
|
31
|
+
showSignUp?: boolean;
|
|
32
|
+
/** Language selector component */
|
|
33
|
+
localeSelector?: React__default.ReactNode;
|
|
34
|
+
/** Custom logo element */
|
|
35
|
+
logo?: React__default.ReactNode;
|
|
36
|
+
/** Form submit handler */
|
|
37
|
+
onSubmit?: (data: {
|
|
38
|
+
email: string;
|
|
39
|
+
password: string;
|
|
40
|
+
rememberMe: boolean;
|
|
41
|
+
}) => void;
|
|
42
|
+
/** Social login handlers */
|
|
43
|
+
onGoogleLogin?: () => void;
|
|
44
|
+
/** Link handlers */
|
|
45
|
+
onForgotPassword?: () => void;
|
|
46
|
+
onSignUp?: () => void;
|
|
47
|
+
/** Loading state */
|
|
48
|
+
isLoading?: boolean;
|
|
49
|
+
/** Error message */
|
|
50
|
+
error?: string;
|
|
51
|
+
/** Custom class name */
|
|
52
|
+
className?: string;
|
|
53
|
+
/** Custom styles */
|
|
54
|
+
style?: React__default.CSSProperties;
|
|
55
|
+
}
|
|
56
|
+
declare const Login: React__default.FC<LoginProps>;
|
|
57
|
+
|
|
58
|
+
interface SignupLabels {
|
|
59
|
+
formTitle?: string;
|
|
60
|
+
googleButtonLabel?: string;
|
|
61
|
+
dividerText?: string;
|
|
62
|
+
nameLabel?: string;
|
|
63
|
+
namePlaceholder?: string;
|
|
64
|
+
emailLabel?: string;
|
|
65
|
+
emailPlaceholder?: string;
|
|
66
|
+
passwordLabel?: string;
|
|
67
|
+
passwordPlaceholder?: string;
|
|
68
|
+
phoneLabel?: string;
|
|
69
|
+
phonePlaceholder?: string;
|
|
70
|
+
hidePasswordLabel?: string;
|
|
71
|
+
showPasswordLabel?: string;
|
|
72
|
+
passwordStrengthLabels?: [string, string, string, string, string];
|
|
73
|
+
termsAgreementPrefix?: string;
|
|
74
|
+
termsLabel?: string;
|
|
75
|
+
termsConjunction?: string;
|
|
76
|
+
privacyLabel?: string;
|
|
77
|
+
submitLabel?: string;
|
|
78
|
+
loginPrompt?: string;
|
|
79
|
+
loginLabel?: string;
|
|
80
|
+
successTitle?: string;
|
|
81
|
+
continueToLoginLabel?: string;
|
|
82
|
+
}
|
|
83
|
+
interface SignupProps {
|
|
84
|
+
/** Company/Product name */
|
|
85
|
+
brandName?: string;
|
|
86
|
+
/** Tagline or description */
|
|
87
|
+
tagline?: string;
|
|
88
|
+
/** Show social signup options */
|
|
89
|
+
showSocialSignup?: boolean;
|
|
90
|
+
/** Custom logo element */
|
|
91
|
+
logo?: React__default.ReactNode;
|
|
92
|
+
/** Form submit handler */
|
|
93
|
+
onSubmit?: (data: {
|
|
94
|
+
name: string;
|
|
95
|
+
email: string;
|
|
96
|
+
phone: string;
|
|
97
|
+
password: string;
|
|
98
|
+
acceptedTerms: boolean;
|
|
99
|
+
}) => void;
|
|
100
|
+
/** Social signup handlers */
|
|
101
|
+
onGoogleSignup?: () => void;
|
|
102
|
+
/** Link handlers */
|
|
103
|
+
onLogin?: () => void;
|
|
104
|
+
onTermsClick?: () => void;
|
|
105
|
+
onPrivacyClick?: () => void;
|
|
106
|
+
/** Loading state */
|
|
107
|
+
isLoading?: boolean;
|
|
108
|
+
/** Error message */
|
|
109
|
+
error?: string;
|
|
110
|
+
/** Success state */
|
|
111
|
+
isSuccess?: boolean;
|
|
112
|
+
/** Success message — accepts a string or React nodes (e.g. with <br />) */
|
|
113
|
+
successMessage?: React__default.ReactNode;
|
|
114
|
+
/** Custom class name */
|
|
115
|
+
className?: string;
|
|
116
|
+
/** Custom styles */
|
|
117
|
+
style?: React__default.CSSProperties;
|
|
118
|
+
/** i18n labels — every key falls back to its English default */
|
|
119
|
+
labels?: SignupLabels;
|
|
120
|
+
/** Default country (ISO code, e.g. TH) */
|
|
121
|
+
defaultCountry?: string;
|
|
122
|
+
/** Array of countries to populate the dropdown */
|
|
123
|
+
countries?: {
|
|
124
|
+
code: string;
|
|
125
|
+
dial: string;
|
|
126
|
+
flag: string;
|
|
127
|
+
name: string;
|
|
128
|
+
}[];
|
|
129
|
+
/** Custom render for phone input */
|
|
130
|
+
renderPhoneInput?: (props: {
|
|
131
|
+
value: string;
|
|
132
|
+
onChange: (val: string) => void;
|
|
133
|
+
placeholder?: string;
|
|
134
|
+
disabled?: boolean;
|
|
135
|
+
className?: string;
|
|
136
|
+
id?: string;
|
|
137
|
+
}) => React__default.ReactNode;
|
|
138
|
+
}
|
|
139
|
+
declare const Signup: React__default.FC<SignupProps>;
|
|
140
|
+
|
|
141
|
+
interface ForgotPasswordLabels {
|
|
142
|
+
forgotPasswordTitle?: string;
|
|
143
|
+
resetInstructionsTagline?: string;
|
|
144
|
+
emailLabel?: string;
|
|
145
|
+
emailPlaceholder?: string;
|
|
146
|
+
resetPasswordButton?: string;
|
|
147
|
+
backToLoginButton?: string;
|
|
148
|
+
checkYourEmailTitle?: string;
|
|
149
|
+
passwordResetLinkTagline?: string;
|
|
150
|
+
didNotReceiveEmailHint?: string;
|
|
151
|
+
clickToResendButton?: string;
|
|
152
|
+
setNewPasswordTitle?: string;
|
|
153
|
+
mustBeCharactersTagline?: string;
|
|
154
|
+
passwordLabel?: string;
|
|
155
|
+
enterNewPasswordPlaceholder?: string;
|
|
156
|
+
confirmPasswordLabel?: string;
|
|
157
|
+
confirmNewPasswordPlaceholder?: string;
|
|
158
|
+
passwordsDontMatchError?: string;
|
|
159
|
+
passwordResetTitle?: string;
|
|
160
|
+
passwordSuccessfullyResetTagline?: string;
|
|
161
|
+
clickBelowLogInHint?: string;
|
|
162
|
+
continueToLoginButton?: string;
|
|
163
|
+
showPasswordLabel?: string;
|
|
164
|
+
hidePasswordLabel?: string;
|
|
165
|
+
}
|
|
166
|
+
interface ForgotPasswordProps {
|
|
167
|
+
/** Translation strings */
|
|
168
|
+
labels?: ForgotPasswordLabels;
|
|
169
|
+
/** Custom logo element */
|
|
170
|
+
logo?: React__default.ReactNode;
|
|
171
|
+
/** Form submit handler for email entry */
|
|
172
|
+
onSubmit?: (email: string) => void;
|
|
173
|
+
/** Form submit handler for password reset */
|
|
174
|
+
onResetPassword?: (data: {
|
|
175
|
+
password: string;
|
|
176
|
+
confirmPassword: string;
|
|
177
|
+
}) => void;
|
|
178
|
+
/** Back to login handler */
|
|
179
|
+
onBackToLogin?: () => void;
|
|
180
|
+
/** Loading state */
|
|
181
|
+
isLoading?: boolean;
|
|
182
|
+
/** Error message */
|
|
183
|
+
error?: string;
|
|
184
|
+
/** Current step: 'email' | 'sent' | 'reset' | 'success' */
|
|
185
|
+
step?: 'email' | 'sent' | 'reset' | 'success';
|
|
186
|
+
/** Email address (for display in sent state). */
|
|
187
|
+
email?: string;
|
|
188
|
+
/** Custom class name */
|
|
189
|
+
className?: string;
|
|
190
|
+
}
|
|
191
|
+
declare const ForgotPassword: React__default.FC<ForgotPasswordProps>;
|
|
192
|
+
|
|
193
|
+
interface ChangeEmailLabels {
|
|
194
|
+
changeEmailTitle?: string;
|
|
195
|
+
changeEmailTagline?: string;
|
|
196
|
+
newEmailLabel?: string;
|
|
197
|
+
newEmailPlaceholder?: string;
|
|
198
|
+
currentPasswordLabel?: string;
|
|
199
|
+
currentPasswordPlaceholder?: string;
|
|
200
|
+
forgotPasswordButton?: string;
|
|
201
|
+
continueButton?: string;
|
|
202
|
+
backToLoginButton?: string;
|
|
203
|
+
showPasswordLabel?: string;
|
|
204
|
+
hidePasswordLabel?: string;
|
|
205
|
+
successTitle?: string;
|
|
206
|
+
successTagline?: string;
|
|
207
|
+
continueToLoginButton?: string;
|
|
208
|
+
}
|
|
209
|
+
interface ChangeEmailProps {
|
|
210
|
+
labels?: ChangeEmailLabels;
|
|
211
|
+
logo?: React__default.ReactNode;
|
|
212
|
+
onSubmit?: (data: {
|
|
213
|
+
email: string;
|
|
214
|
+
password: string;
|
|
215
|
+
}) => void;
|
|
216
|
+
onForgotPassword?: () => void;
|
|
217
|
+
onBackToLogin?: () => void;
|
|
218
|
+
isLoading?: boolean;
|
|
219
|
+
error?: string;
|
|
220
|
+
/** Current step: 'form' | 'success' */
|
|
221
|
+
step?: 'form' | 'success';
|
|
222
|
+
className?: string;
|
|
223
|
+
}
|
|
224
|
+
declare const ChangeEmail: React__default.FC<ChangeEmailProps>;
|
|
225
|
+
|
|
226
|
+
export { ChangeEmail as C, ForgotPassword as F, Login as L, Signup as S, type ChangeEmailLabels as a, type ChangeEmailProps as b, type ForgotPasswordLabels as c, type ForgotPasswordProps as d, type LoginLabels as e, type LoginProps as f, type SignupLabels as g, type SignupProps as h };
|