@customafk/lunas-ui 0.0.0-k → 0.0.0-l
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/Icons/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
2
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
4
|
+
import { a as TUserSettingSelect } from '../types-DdUenP1k.js';
|
|
5
|
+
import { z } from 'zod';
|
|
4
6
|
|
|
5
7
|
interface IProps {
|
|
6
8
|
readonly user: {
|
|
@@ -14,4 +16,49 @@ interface IProps {
|
|
|
14
16
|
}
|
|
15
17
|
declare const UserDropdown: React.MemoExoticComponent<({ onSelected, user }: IProps) => react_jsx_runtime.JSX.Element>;
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
declare const SignInModel: z.ZodObject<{
|
|
20
|
+
email: z.ZodString;
|
|
21
|
+
password: z.ZodEffects<z.ZodString, string, string>;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
email: string;
|
|
24
|
+
password: string;
|
|
25
|
+
}, {
|
|
26
|
+
email: string;
|
|
27
|
+
password: string;
|
|
28
|
+
}>;
|
|
29
|
+
declare const SignUpModel: z.ZodEffects<z.ZodObject<{
|
|
30
|
+
fullname: z.ZodString;
|
|
31
|
+
email: z.ZodString;
|
|
32
|
+
password: z.ZodEffects<z.ZodString, string, string>;
|
|
33
|
+
confirmPassword: z.ZodString;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
email: string;
|
|
36
|
+
fullname: string;
|
|
37
|
+
password: string;
|
|
38
|
+
confirmPassword: string;
|
|
39
|
+
}, {
|
|
40
|
+
email: string;
|
|
41
|
+
fullname: string;
|
|
42
|
+
password: string;
|
|
43
|
+
confirmPassword: string;
|
|
44
|
+
}>, {
|
|
45
|
+
email: string;
|
|
46
|
+
fullname: string;
|
|
47
|
+
password: string;
|
|
48
|
+
confirmPassword: string;
|
|
49
|
+
}, {
|
|
50
|
+
email: string;
|
|
51
|
+
fullname: string;
|
|
52
|
+
password: string;
|
|
53
|
+
confirmPassword: string;
|
|
54
|
+
}>;
|
|
55
|
+
|
|
56
|
+
interface IAuthFormProps extends HTMLAttributes<HTMLDivElement> {
|
|
57
|
+
initialTitle?: 'SIGN_IN' | 'SIGN_OUT';
|
|
58
|
+
isLoading?: boolean;
|
|
59
|
+
onSignIn?: (parameters: z.infer<typeof SignInModel>) => void;
|
|
60
|
+
onSignUp?: (parameters: z.infer<typeof SignUpModel>) => void;
|
|
61
|
+
}
|
|
62
|
+
declare const AuthForm: React.MemoExoticComponent<React.ForwardRefExoticComponent<IAuthFormProps & React.RefAttributes<HTMLDivElement>>>;
|
|
63
|
+
|
|
64
|
+
export { AuthForm, UserDropdown };
|