@sikka/hawa 0.0.116 → 0.0.118
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/styles.css +32 -5
- package/es/blocks/AuthForms/SignInForm.d.ts +36 -36
- package/es/elements/HawaSpinner.d.ts +4 -0
- package/es/elements/HawaStats.d.ts +2 -0
- package/es/elements/index.d.ts +1 -0
- package/es/index.es.js +1 -1
- package/lib/blocks/AuthForms/SignInForm.d.ts +36 -36
- package/lib/elements/HawaSpinner.d.ts +4 -0
- package/lib/elements/HawaStats.d.ts +2 -0
- package/lib/elements/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/blocks/AuthForms/SignInForm.tsx +36 -36
- package/src/elements/HawaButton.tsx +5 -3
- package/src/elements/HawaSpinner.tsx +10 -0
- package/src/elements/HawaStats.tsx +12 -2
- package/src/elements/index.ts +1 -0
- package/src/layout/HawaAppLayout.tsx +26 -17
- package/src/styles.css +32 -5
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type SignInFormTypes = {
|
|
3
|
-
showError
|
|
4
|
-
errorTitle
|
|
5
|
-
errorText
|
|
6
|
-
signInType
|
|
7
|
-
texts
|
|
8
|
-
emailLabel
|
|
9
|
-
emailPlaceholder
|
|
10
|
-
emailRequiredText
|
|
11
|
-
emailInvalidText
|
|
12
|
-
usernameLabel
|
|
13
|
-
usernamePlaceholder
|
|
14
|
-
usernameRequired
|
|
15
|
-
usernameRequiredText
|
|
16
|
-
phoneRequiredText
|
|
17
|
-
passwordLabel
|
|
18
|
-
passwordPlaceholder
|
|
19
|
-
passwordRequiredText
|
|
20
|
-
forgotPasswordText
|
|
21
|
-
newUserText
|
|
22
|
-
signUpText
|
|
23
|
-
signInText
|
|
24
|
-
googleButtonLabel
|
|
25
|
-
githubButtonLabel
|
|
26
|
-
twitterButtonLabel
|
|
3
|
+
showError?: any;
|
|
4
|
+
errorTitle?: string;
|
|
5
|
+
errorText?: string;
|
|
6
|
+
signInType?: "email" | "username" | "phone";
|
|
7
|
+
texts?: {
|
|
8
|
+
emailLabel?: string;
|
|
9
|
+
emailPlaceholder?: string;
|
|
10
|
+
emailRequiredText?: string;
|
|
11
|
+
emailInvalidText?: string;
|
|
12
|
+
usernameLabel?: string;
|
|
13
|
+
usernamePlaceholder?: string;
|
|
14
|
+
usernameRequired?: string;
|
|
15
|
+
usernameRequiredText?: string;
|
|
16
|
+
phoneRequiredText?: string;
|
|
17
|
+
passwordLabel?: string;
|
|
18
|
+
passwordPlaceholder?: string;
|
|
19
|
+
passwordRequiredText?: string;
|
|
20
|
+
forgotPasswordText?: string;
|
|
21
|
+
newUserText?: string;
|
|
22
|
+
signUpText?: string;
|
|
23
|
+
signInText?: string;
|
|
24
|
+
googleButtonLabel?: string;
|
|
25
|
+
githubButtonLabel?: string;
|
|
26
|
+
twitterButtonLabel?: string;
|
|
27
27
|
};
|
|
28
|
-
withoutResetPassword
|
|
29
|
-
withoutSignUp
|
|
30
|
-
isLoading
|
|
31
|
-
viaGoogle
|
|
32
|
-
viaGithub
|
|
33
|
-
viaTwitter
|
|
34
|
-
handleSignIn
|
|
35
|
-
handleRouteToSignUp
|
|
36
|
-
handleForgotPassword
|
|
37
|
-
handleGoogleSignIn
|
|
38
|
-
handleGithubSignIn
|
|
39
|
-
handleTwitterSignIn
|
|
28
|
+
withoutResetPassword?: boolean;
|
|
29
|
+
withoutSignUp?: boolean;
|
|
30
|
+
isLoading?: any;
|
|
31
|
+
viaGoogle?: boolean;
|
|
32
|
+
viaGithub?: boolean;
|
|
33
|
+
viaTwitter?: boolean;
|
|
34
|
+
handleSignIn?: (e: any) => void;
|
|
35
|
+
handleRouteToSignUp?: () => void;
|
|
36
|
+
handleForgotPassword?: () => void;
|
|
37
|
+
handleGoogleSignIn?: () => void;
|
|
38
|
+
handleGithubSignIn?: () => void;
|
|
39
|
+
handleTwitterSignIn?: () => void;
|
|
40
40
|
};
|
|
41
41
|
export declare const SignInForm: React.FunctionComponent<SignInFormTypes>;
|
|
42
42
|
export {};
|
package/lib/elements/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from "./HawaCopyrights";
|
|
|
25
25
|
export * from "./HawaTimeline";
|
|
26
26
|
export * from "./Breadcrumb";
|
|
27
27
|
export * from "./HawaStats";
|
|
28
|
+
export * from "./HawaSpinner";
|
|
28
29
|
export * from "./HawaTextField";
|
|
29
30
|
export * from "./HawaCardInput";
|
|
30
31
|
export * from "./HawaPinInput";
|