@thecb/components 8.0.6-beta.0 → 8.0.6-beta.1
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.ts +19 -15
- package/package.json +1 -1
- package/src/components/atoms/form-layouts/index.d.ts +20 -15
package/dist/index.d.ts
CHANGED
|
@@ -59,24 +59,28 @@ interface CardProps {
|
|
|
59
59
|
declare const Card: React.FC<Expand<CardProps> &
|
|
60
60
|
React.HTMLAttributes<HTMLElement>>;
|
|
61
61
|
|
|
62
|
+
interface ErrorMessage {
|
|
63
|
+
[fieldName: string]: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
62
66
|
interface FormInputProps {
|
|
63
|
-
type
|
|
64
|
-
labelTextWhenNoError
|
|
65
|
-
errorMessages
|
|
67
|
+
type?: string;
|
|
68
|
+
labelTextWhenNoError?: string;
|
|
69
|
+
errorMessages?: ErrorMessage[];
|
|
66
70
|
isNum: boolean;
|
|
67
71
|
isEmail: boolean;
|
|
68
|
-
helperModal
|
|
69
|
-
field
|
|
70
|
-
fieldActions
|
|
71
|
-
showErrors
|
|
72
|
-
formatter
|
|
73
|
-
decorator
|
|
74
|
-
themeValues
|
|
75
|
-
background
|
|
76
|
-
customHeight
|
|
77
|
-
autocomplete
|
|
78
|
-
extraStyles
|
|
79
|
-
removeFromValue
|
|
72
|
+
helperModal?: boolean;
|
|
73
|
+
field?: any;
|
|
74
|
+
fieldActions?: any;
|
|
75
|
+
showErrors?: boolean;
|
|
76
|
+
formatter?: any;
|
|
77
|
+
decorator?: any;
|
|
78
|
+
themeValues?: any;
|
|
79
|
+
background?: any;
|
|
80
|
+
customHeight?: any;
|
|
81
|
+
autocomplete?: any;
|
|
82
|
+
extraStyles?: any;
|
|
83
|
+
removeFromValue?: any;
|
|
80
84
|
}
|
|
81
85
|
|
|
82
86
|
declare const FormInput: React.FC<Expand<FormInputProps> &
|
package/package.json
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import Expand from "../../../util/expand";
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
interface ErrorMessage {
|
|
6
|
+
[fieldName: string]: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
4
9
|
export interface FormInputProps {
|
|
5
|
-
type
|
|
6
|
-
labelTextWhenNoError
|
|
7
|
-
errorMessages
|
|
10
|
+
type?: string;
|
|
11
|
+
labelTextWhenNoError?: string;
|
|
12
|
+
errorMessages?: ErrorMessage[];
|
|
8
13
|
isNum: boolean;
|
|
9
14
|
isEmail: boolean;
|
|
10
|
-
helperModal
|
|
11
|
-
field
|
|
12
|
-
fieldActions
|
|
13
|
-
showErrors
|
|
14
|
-
formatter
|
|
15
|
-
decorator
|
|
16
|
-
themeValues
|
|
17
|
-
background
|
|
18
|
-
customHeight
|
|
19
|
-
autocomplete
|
|
20
|
-
extraStyles
|
|
21
|
-
removeFromValue
|
|
15
|
+
helperModal?: boolean;
|
|
16
|
+
field?: any;
|
|
17
|
+
fieldActions?: any;
|
|
18
|
+
showErrors?: boolean;
|
|
19
|
+
formatter?: any;
|
|
20
|
+
decorator?: any;
|
|
21
|
+
themeValues?: any;
|
|
22
|
+
background?: any;
|
|
23
|
+
customHeight?: any;
|
|
24
|
+
autocomplete?: any;
|
|
25
|
+
extraStyles?: any;
|
|
26
|
+
removeFromValue?: any;
|
|
22
27
|
}
|
|
23
28
|
|
|
24
29
|
export const FormInput: React.FC<Expand<FormInputProps> &
|