ui-mathilde-web 0.0.5 → 0.0.7
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/README.md +2 -1
- package/dist/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +57 -2
- package/dist/ui-mathilde-web.js +3808 -3622
- package/dist/ui-mathilde-web.umd.cjs +42 -37
- package/package.json +2 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
|
+
import { FormikProps } from 'formik';
|
|
2
3
|
import { ForwardRefExoticComponent } from 'react';
|
|
4
|
+
import { IconType } from 'react-icons';
|
|
3
5
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
4
6
|
import * as React_2 from 'react';
|
|
5
7
|
import { RefAttributes } from 'react';
|
|
@@ -17,6 +19,8 @@ declare interface ButtonFormatProps {
|
|
|
17
19
|
onClick?: () => void;
|
|
18
20
|
}
|
|
19
21
|
|
|
22
|
+
export declare const CardFormat: ForwardRefExoticComponent<CardProps & RefAttributes<HTMLDivElement>>;
|
|
23
|
+
|
|
20
24
|
export declare const CardIndicator: React.FC<CardIndicatorProps>;
|
|
21
25
|
|
|
22
26
|
declare interface CardIndicatorProps {
|
|
@@ -28,6 +32,12 @@ declare interface CardIndicatorProps {
|
|
|
28
32
|
current: number;
|
|
29
33
|
}
|
|
30
34
|
|
|
35
|
+
declare interface CardProps {
|
|
36
|
+
image: string;
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
31
41
|
export declare const Checkbox: default_2.FC<CheckboxProps>;
|
|
32
42
|
|
|
33
43
|
declare interface CheckboxProps {
|
|
@@ -37,6 +47,12 @@ declare interface CheckboxProps {
|
|
|
37
47
|
onChange: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
38
48
|
}
|
|
39
49
|
|
|
50
|
+
declare interface Column {
|
|
51
|
+
header: string;
|
|
52
|
+
accessor: string;
|
|
53
|
+
cell?: (row: any) => React_2.ReactNode;
|
|
54
|
+
}
|
|
55
|
+
|
|
40
56
|
export declare const ImageFormat: ({ src, alt, width, height, classIm }: {
|
|
41
57
|
src: string;
|
|
42
58
|
alt: string;
|
|
@@ -62,7 +78,14 @@ declare interface InputFormProps extends default_2.InputHTMLAttributes<HTMLInput
|
|
|
62
78
|
|
|
63
79
|
export declare const LayoutOutside: () => JSX_2.Element;
|
|
64
80
|
|
|
65
|
-
|
|
81
|
+
declare interface MenuItem {
|
|
82
|
+
id: string;
|
|
83
|
+
title: string;
|
|
84
|
+
href: string;
|
|
85
|
+
isActive?: boolean;
|
|
86
|
+
icon?: IconType;
|
|
87
|
+
subItems?: MenuItem[];
|
|
88
|
+
}
|
|
66
89
|
|
|
67
90
|
export declare const ModalFormat: ForwardRefExoticComponent<ModalProps & RefAttributes<HTMLDivElement>>;
|
|
68
91
|
|
|
@@ -88,6 +111,8 @@ declare interface PasswordInputProps extends default_2.InputHTMLAttributes<HTMLI
|
|
|
88
111
|
value?: string;
|
|
89
112
|
}
|
|
90
113
|
|
|
114
|
+
export declare const PasswordValidationList: default_2.FC<ValidationListProps>;
|
|
115
|
+
|
|
91
116
|
export declare const ProgressBar: ({ start, end, current }: {
|
|
92
117
|
start: number;
|
|
93
118
|
end: number;
|
|
@@ -104,7 +129,21 @@ declare interface SelectFormProps extends React.SelectHTMLAttributes<HTMLSelectE
|
|
|
104
129
|
|
|
105
130
|
export declare const SidebarMth: () => JSX_2.Element;
|
|
106
131
|
|
|
107
|
-
export declare const TableComponent: React_2.FC
|
|
132
|
+
export declare const TableComponent: React_2.FC<TableComponentProps>;
|
|
133
|
+
|
|
134
|
+
declare interface TableComponentProps {
|
|
135
|
+
columns: Column[];
|
|
136
|
+
data: any[];
|
|
137
|
+
showSearch?: boolean;
|
|
138
|
+
itemsPerPage?: number;
|
|
139
|
+
title?: string;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export declare const TableOfContents: React.FC<TableOfContentsProps>;
|
|
143
|
+
|
|
144
|
+
declare interface TableOfContentsProps {
|
|
145
|
+
items: MenuItem[];
|
|
146
|
+
}
|
|
108
147
|
|
|
109
148
|
export declare const TermsCheckbox: default_2.FC<TermsCheckboxProps>;
|
|
110
149
|
|
|
@@ -115,4 +154,20 @@ declare interface TermsCheckboxProps {
|
|
|
115
154
|
label?: string;
|
|
116
155
|
}
|
|
117
156
|
|
|
157
|
+
declare interface ValidationListProps {
|
|
158
|
+
validations: {
|
|
159
|
+
hasMinLength: boolean;
|
|
160
|
+
hasNumber: boolean;
|
|
161
|
+
hasUpperCase: boolean;
|
|
162
|
+
hasLowerCase: boolean;
|
|
163
|
+
hasSpecialChar: boolean;
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export declare const ValidationPassword: ({ formik }: ValidationPasswordProps) => JSX_2.Element;
|
|
168
|
+
|
|
169
|
+
declare interface ValidationPasswordProps {
|
|
170
|
+
formik: FormikProps<any>;
|
|
171
|
+
}
|
|
172
|
+
|
|
118
173
|
export { }
|