tccd-ui 0.0.29 → 0.0.30
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/index.d.mts +10 -6
- package/dist/index.d.ts +10 -6
- package/dist/index.js +101 -75
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +99 -75
- package/dist/index.mjs.map +1 -1
- package/package.json +38 -38
package/dist/index.d.mts
CHANGED
|
@@ -24,6 +24,10 @@ interface DropdownOption {
|
|
|
24
24
|
label: string;
|
|
25
25
|
disabled?: boolean;
|
|
26
26
|
}
|
|
27
|
+
interface InfoScreenProps {
|
|
28
|
+
title: string;
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
27
31
|
|
|
28
32
|
interface ButtonProps {
|
|
29
33
|
buttonText?: string;
|
|
@@ -67,11 +71,7 @@ interface DropdownMenuProps {
|
|
|
67
71
|
}
|
|
68
72
|
declare function DropdownMenu({ label, placeholder, options, value, onChange, error, disabled, className, id, }: DropdownMenuProps): any;
|
|
69
73
|
|
|
70
|
-
|
|
71
|
-
title: string;
|
|
72
|
-
message: string;
|
|
73
|
-
}
|
|
74
|
-
declare function ErrorComponent({ title, message, }: ErrorComponentProps): any;
|
|
74
|
+
declare function ErrorScreen({ title, message, }: InfoScreenProps): any;
|
|
75
75
|
|
|
76
76
|
declare function InputField({ label, value, placeholder, onChange, error, id, }: {
|
|
77
77
|
label: string;
|
|
@@ -82,6 +82,8 @@ declare function InputField({ label, value, placeholder, onChange, error, id, }:
|
|
|
82
82
|
error?: string;
|
|
83
83
|
}): any;
|
|
84
84
|
|
|
85
|
+
declare function InfoScreen({ title, message }: InfoScreenProps): any;
|
|
86
|
+
|
|
85
87
|
interface LazyImageLoaderProps {
|
|
86
88
|
src: string;
|
|
87
89
|
alt: string;
|
|
@@ -133,6 +135,8 @@ interface SearchFieldProps {
|
|
|
133
135
|
}
|
|
134
136
|
declare function SearchField({ value, onChange, placeholder, className }: SearchFieldProps): any;
|
|
135
137
|
|
|
138
|
+
declare function SuccessScreen({ title, message }: InfoScreenProps): any;
|
|
139
|
+
|
|
136
140
|
declare function TextAreaField({ label, value, placeholder, onChange, error, maxLength, id, }: {
|
|
137
141
|
label: string;
|
|
138
142
|
id: string;
|
|
@@ -145,4 +149,4 @@ declare function TextAreaField({ label, value, placeholder, onChange, error, max
|
|
|
145
149
|
|
|
146
150
|
declare function UnauthorizedPage(): any;
|
|
147
151
|
|
|
148
|
-
export { Button, ButtonTypes, ButtonWidths, Checkbox, DatePicker, DropdownMenu, type DropdownOption,
|
|
152
|
+
export { Button, ButtonTypes, ButtonWidths, Checkbox, DatePicker, DropdownMenu, type DropdownOption, ErrorScreen, InfoScreen, type InfoScreenProps, InputField, LazyImageLoader, LoadingPage, Modal, NumberField, PasswordField, Radiobutton as RadioButton, SearchField, SuccessScreen, TextAreaField, UnauthorizedPage };
|
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ interface DropdownOption {
|
|
|
24
24
|
label: string;
|
|
25
25
|
disabled?: boolean;
|
|
26
26
|
}
|
|
27
|
+
interface InfoScreenProps {
|
|
28
|
+
title: string;
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
27
31
|
|
|
28
32
|
interface ButtonProps {
|
|
29
33
|
buttonText?: string;
|
|
@@ -67,11 +71,7 @@ interface DropdownMenuProps {
|
|
|
67
71
|
}
|
|
68
72
|
declare function DropdownMenu({ label, placeholder, options, value, onChange, error, disabled, className, id, }: DropdownMenuProps): any;
|
|
69
73
|
|
|
70
|
-
|
|
71
|
-
title: string;
|
|
72
|
-
message: string;
|
|
73
|
-
}
|
|
74
|
-
declare function ErrorComponent({ title, message, }: ErrorComponentProps): any;
|
|
74
|
+
declare function ErrorScreen({ title, message, }: InfoScreenProps): any;
|
|
75
75
|
|
|
76
76
|
declare function InputField({ label, value, placeholder, onChange, error, id, }: {
|
|
77
77
|
label: string;
|
|
@@ -82,6 +82,8 @@ declare function InputField({ label, value, placeholder, onChange, error, id, }:
|
|
|
82
82
|
error?: string;
|
|
83
83
|
}): any;
|
|
84
84
|
|
|
85
|
+
declare function InfoScreen({ title, message }: InfoScreenProps): any;
|
|
86
|
+
|
|
85
87
|
interface LazyImageLoaderProps {
|
|
86
88
|
src: string;
|
|
87
89
|
alt: string;
|
|
@@ -133,6 +135,8 @@ interface SearchFieldProps {
|
|
|
133
135
|
}
|
|
134
136
|
declare function SearchField({ value, onChange, placeholder, className }: SearchFieldProps): any;
|
|
135
137
|
|
|
138
|
+
declare function SuccessScreen({ title, message }: InfoScreenProps): any;
|
|
139
|
+
|
|
136
140
|
declare function TextAreaField({ label, value, placeholder, onChange, error, maxLength, id, }: {
|
|
137
141
|
label: string;
|
|
138
142
|
id: string;
|
|
@@ -145,4 +149,4 @@ declare function TextAreaField({ label, value, placeholder, onChange, error, max
|
|
|
145
149
|
|
|
146
150
|
declare function UnauthorizedPage(): any;
|
|
147
151
|
|
|
148
|
-
export { Button, ButtonTypes, ButtonWidths, Checkbox, DatePicker, DropdownMenu, type DropdownOption,
|
|
152
|
+
export { Button, ButtonTypes, ButtonWidths, Checkbox, DatePicker, DropdownMenu, type DropdownOption, ErrorScreen, InfoScreen, type InfoScreenProps, InputField, LazyImageLoader, LoadingPage, Modal, NumberField, PasswordField, Radiobutton as RadioButton, SearchField, SuccessScreen, TextAreaField, UnauthorizedPage };
|