@kwantis-id3/frontend-library 0.16.3 → 0.17.0
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/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/SelectFilter/MultiSelect.d.ts +2 -0
- package/dist/esm/types/components/SelectFilter/SingleSelect.d.ts +2 -0
- package/dist/esm/types/components/TextField/TextField.d.ts +7 -0
- package/dist/index.d.ts +11 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ export interface MultiSelectProps<Option = {
|
|
|
7
7
|
options: Option[];
|
|
8
8
|
onChange?: (option: Option[] | null) => void;
|
|
9
9
|
value?: readonly Option[] | null;
|
|
10
|
+
name?: string;
|
|
10
11
|
placeholder?: string;
|
|
11
12
|
isDisabled?: boolean;
|
|
12
13
|
isClearable?: boolean;
|
|
@@ -17,5 +18,6 @@ export interface MultiSelectProps<Option = {
|
|
|
17
18
|
containerId?: string;
|
|
18
19
|
htmlId?: string;
|
|
19
20
|
className?: string;
|
|
21
|
+
required?: boolean;
|
|
20
22
|
}
|
|
21
23
|
export declare const MultiSelect: <Option>(props: MultiSelectProps<Option>) => JSX.Element;
|
|
@@ -7,6 +7,7 @@ export interface SingleSelectProps<Option = {
|
|
|
7
7
|
options: Option[];
|
|
8
8
|
onChange?: (option: Option | null) => void;
|
|
9
9
|
value?: Option | null;
|
|
10
|
+
name?: string;
|
|
10
11
|
placeholder?: string;
|
|
11
12
|
isDisabled?: boolean;
|
|
12
13
|
isClearable?: boolean;
|
|
@@ -17,5 +18,6 @@ export interface SingleSelectProps<Option = {
|
|
|
17
18
|
containerId?: string;
|
|
18
19
|
htmlId?: string;
|
|
19
20
|
className?: string;
|
|
21
|
+
required?: boolean;
|
|
20
22
|
}
|
|
21
23
|
export declare const SingleSelect: <Option>(props: SingleSelectProps<Option>) => JSX.Element;
|
|
@@ -2,12 +2,19 @@
|
|
|
2
2
|
import { ThemeColorsExtended } from "../ThemeContext/ThemeContext";
|
|
3
3
|
interface TextFieldProps {
|
|
4
4
|
value?: string;
|
|
5
|
+
name?: string;
|
|
5
6
|
onChange?: (value: string) => void;
|
|
6
7
|
placeholder?: string;
|
|
7
8
|
htmlId?: string;
|
|
9
|
+
containerClassName?: string;
|
|
8
10
|
className?: string;
|
|
9
11
|
isDisabled?: boolean;
|
|
10
12
|
color?: ThemeColorsExtended;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
pattern?: string;
|
|
15
|
+
readonly?: boolean;
|
|
16
|
+
autoFocus?: boolean;
|
|
17
|
+
list?: string;
|
|
11
18
|
}
|
|
12
19
|
export declare const TextField: (props: TextFieldProps) => JSX.Element;
|
|
13
20
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -73,12 +73,19 @@ declare const Accordion: (props: AccordionProps) => _emotion_react_types_jsx_nam
|
|
|
73
73
|
|
|
74
74
|
interface TextFieldProps {
|
|
75
75
|
value?: string;
|
|
76
|
+
name?: string;
|
|
76
77
|
onChange?: (value: string) => void;
|
|
77
78
|
placeholder?: string;
|
|
78
79
|
htmlId?: string;
|
|
80
|
+
containerClassName?: string;
|
|
79
81
|
className?: string;
|
|
80
82
|
isDisabled?: boolean;
|
|
81
83
|
color?: ThemeColorsExtended;
|
|
84
|
+
required?: boolean;
|
|
85
|
+
pattern?: string;
|
|
86
|
+
readonly?: boolean;
|
|
87
|
+
autoFocus?: boolean;
|
|
88
|
+
list?: string;
|
|
82
89
|
}
|
|
83
90
|
declare const TextField: (props: TextFieldProps) => JSX.Element;
|
|
84
91
|
|
|
@@ -89,6 +96,7 @@ interface SingleSelectProps<Option = {
|
|
|
89
96
|
options: Option[];
|
|
90
97
|
onChange?: (option: Option | null) => void;
|
|
91
98
|
value?: Option | null;
|
|
99
|
+
name?: string;
|
|
92
100
|
placeholder?: string;
|
|
93
101
|
isDisabled?: boolean;
|
|
94
102
|
isClearable?: boolean;
|
|
@@ -99,6 +107,7 @@ interface SingleSelectProps<Option = {
|
|
|
99
107
|
containerId?: string;
|
|
100
108
|
htmlId?: string;
|
|
101
109
|
className?: string;
|
|
110
|
+
required?: boolean;
|
|
102
111
|
}
|
|
103
112
|
declare const SingleSelect: <Option>(props: SingleSelectProps<Option>) => JSX.Element;
|
|
104
113
|
|
|
@@ -109,6 +118,7 @@ interface MultiSelectProps<Option = {
|
|
|
109
118
|
options: Option[];
|
|
110
119
|
onChange?: (option: Option[] | null) => void;
|
|
111
120
|
value?: readonly Option[] | null;
|
|
121
|
+
name?: string;
|
|
112
122
|
placeholder?: string;
|
|
113
123
|
isDisabled?: boolean;
|
|
114
124
|
isClearable?: boolean;
|
|
@@ -119,6 +129,7 @@ interface MultiSelectProps<Option = {
|
|
|
119
129
|
containerId?: string;
|
|
120
130
|
htmlId?: string;
|
|
121
131
|
className?: string;
|
|
132
|
+
required?: boolean;
|
|
122
133
|
}
|
|
123
134
|
declare const MultiSelect: <Option>(props: MultiSelectProps<Option>) => JSX.Element;
|
|
124
135
|
|