@salutejs/plasma-new-hope 0.193.1-canary.1561.11839785759.0 → 0.194.0-canary.1552.11858023676.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +2 -0
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +38 -6
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -0
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.css +1 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +39 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js.map +1 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +15 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js.map +1 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles_18yw2bf.css +1 -0
- package/cjs/components/Pagination/Pagination.css +2 -2
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
- package/cjs/components/Select/Select.css +2 -2
- package/cjs/components/Select/Select.js +4 -11
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.tokens.js +1 -11
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- package/cjs/components/Select/ui/Inner/Inner.css +2 -2
- package/cjs/components/Select/ui/Inner/ui/Item/Item.css +2 -2
- package/cjs/components/Select/ui/Target/Target.css +2 -2
- package/cjs/components/Select/ui/Target/Target.js +4 -5
- package/cjs/components/Select/ui/Target/Target.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -7
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
- package/cjs/index.css +4 -2
- package/cjs/index.js +2 -0
- package/cjs/index.js.map +1 -1
- package/cjs/utils/createEvent.js +54 -0
- package/cjs/utils/createEvent.js.map +1 -0
- package/cjs/utils/index.js.map +1 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +39 -7
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +40 -0
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +13 -0
- package/emotion/cjs/components/Select/Select.js +4 -11
- package/emotion/cjs/components/Select/Select.tokens.js +1 -11
- package/emotion/cjs/components/Select/ui/Target/Target.js +4 -5
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +3 -3
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -20
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
- package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +20 -20
- package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
- package/emotion/cjs/utils/createEvent.js +53 -0
- package/emotion/cjs/utils/index.js +10 -1
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +40 -7
- package/emotion/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +31 -0
- package/emotion/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +6 -0
- package/emotion/es/components/Select/Select.js +4 -11
- package/emotion/es/components/Select/Select.tokens.js +1 -11
- package/emotion/es/components/Select/ui/Target/Target.js +4 -5
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +3 -3
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +20 -20
- package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
- package/emotion/es/examples/plasma_web/components/Select/Select.config.js +20 -20
- package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
- package/emotion/es/utils/createEvent.js +47 -0
- package/emotion/es/utils/index.js +1 -0
- package/es/components/Combobox/ComboboxNew/Combobox.css +2 -0
- package/es/components/Combobox/ComboboxNew/Combobox.js +40 -8
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -0
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.css +1 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +35 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js.map +1 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +11 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js.map +1 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles_18yw2bf.css +1 -0
- package/es/components/Pagination/Pagination.css +2 -2
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
- package/es/components/Select/Select.css +2 -2
- package/es/components/Select/Select.js +4 -11
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/Select.tokens.js +1 -11
- package/es/components/Select/Select.tokens.js.map +1 -1
- package/es/components/Select/ui/Inner/Inner.css +2 -2
- package/es/components/Select/ui/Inner/ui/Item/Item.css +2 -2
- package/es/components/Select/ui/Target/Target.css +2 -2
- package/es/components/Select/ui/Target/Target.js +4 -5
- package/es/components/Select/ui/Target/Target.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -7
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
- package/es/index.css +4 -2
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/utils/createEvent.js +50 -0
- package/es/utils/createEvent.js.map +1 -0
- package/es/utils/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +39 -7
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +40 -0
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +12 -0
- package/styled-components/cjs/components/Select/Select.js +4 -11
- package/styled-components/cjs/components/Select/Select.tokens.js +1 -11
- package/styled-components/cjs/components/Select/ui/Target/Target.js +4 -5
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +8 -8
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +8 -8
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
- package/styled-components/cjs/utils/createEvent.js +53 -0
- package/styled-components/cjs/utils/index.js +10 -1
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +40 -7
- package/styled-components/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +31 -0
- package/styled-components/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +5 -0
- package/styled-components/es/components/Select/Select.js +4 -11
- package/styled-components/es/components/Select/Select.tokens.js +1 -11
- package/styled-components/es/components/Select/ui/Target/Target.js +4 -5
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +8 -8
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
- package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +8 -8
- package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
- package/styled-components/es/utils/createEvent.js +47 -0
- package/styled-components/es/utils/index.js +1 -0
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +24 -2
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +6 -0
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts.map +1 -0
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts +3 -0
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts.map +1 -0
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +0 -96
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.tokens.d.ts +1 -11
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +2 -4
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.d.ts +1 -2
- package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.types.d.ts +2 -3
- package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1076 -116
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +0 -96
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1076 -116
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.d.ts +0 -96
- package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
- package/types/utils/createEvent.d.ts +3 -0
- package/types/utils/createEvent.d.ts.map +1 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/index.d.ts.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1b7iij0.css +0 -3
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1b7iij0.css +0 -3
@@ -49,8 +49,10 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
49
49
|
disabled?: true | undefined;
|
50
50
|
alwaysOpened?: false | undefined;
|
51
51
|
} & {
|
52
|
+
name?: undefined;
|
52
53
|
multiple?: false | undefined;
|
53
54
|
value?: string | undefined;
|
55
|
+
defaultValue?: undefined;
|
54
56
|
onChange?: ((value: string) => void) | undefined;
|
55
57
|
isTargetAmount?: false | undefined;
|
56
58
|
targetAmount?: undefined;
|
@@ -60,7 +62,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
60
62
|
} & {
|
61
63
|
required: true;
|
62
64
|
optional?: false | undefined;
|
63
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
65
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
64
66
|
items: ItemOption[];
|
65
67
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
66
68
|
label?: string | undefined;
|
@@ -85,8 +87,10 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
85
87
|
disabled?: true | undefined;
|
86
88
|
alwaysOpened?: false | undefined;
|
87
89
|
} & {
|
90
|
+
name?: undefined;
|
88
91
|
multiple?: false | undefined;
|
89
92
|
value?: string | undefined;
|
93
|
+
defaultValue?: undefined;
|
90
94
|
onChange?: ((value: string) => void) | undefined;
|
91
95
|
isTargetAmount?: false | undefined;
|
92
96
|
targetAmount?: undefined;
|
@@ -96,7 +100,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
96
100
|
} & {
|
97
101
|
optional?: true | undefined;
|
98
102
|
required?: false | undefined;
|
99
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
103
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
100
104
|
items: ItemOption[];
|
101
105
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
102
106
|
label?: string | undefined;
|
@@ -123,16 +127,956 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
123
127
|
} & {
|
124
128
|
multiple: true;
|
125
129
|
value?: string[] | undefined;
|
130
|
+
defaultValue?: string[] | undefined;
|
131
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
132
|
+
isTargetAmount?: false | undefined;
|
133
|
+
targetAmount?: undefined;
|
134
|
+
renderValue?: undefined;
|
135
|
+
name: string;
|
136
|
+
} & {
|
137
|
+
requiredPlacement?: "left" | "right" | undefined;
|
138
|
+
} & {
|
139
|
+
required: true;
|
140
|
+
optional?: false | undefined;
|
141
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
142
|
+
items: ItemOption[];
|
143
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
144
|
+
label?: string | undefined;
|
145
|
+
placeholder?: string | undefined;
|
146
|
+
helperText?: string | undefined;
|
147
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
148
|
+
textBefore?: string | undefined;
|
149
|
+
textAfter?: string | undefined;
|
150
|
+
variant?: "normal" | "tight" | undefined;
|
151
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
152
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
153
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
154
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
155
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
156
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
157
|
+
closeAfterSelect?: boolean | undefined;
|
158
|
+
size?: string | undefined;
|
159
|
+
view?: string | undefined;
|
160
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
161
|
+
} & {
|
162
|
+
readOnly?: boolean | undefined;
|
163
|
+
disabled?: true | undefined;
|
164
|
+
alwaysOpened?: false | undefined;
|
165
|
+
} & {
|
166
|
+
multiple: true;
|
167
|
+
value?: string[] | undefined;
|
168
|
+
defaultValue?: string[] | undefined;
|
169
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
170
|
+
isTargetAmount?: false | undefined;
|
171
|
+
targetAmount?: undefined;
|
172
|
+
renderValue?: undefined;
|
173
|
+
name: string;
|
174
|
+
} & {
|
175
|
+
requiredPlacement?: "left" | "right" | undefined;
|
176
|
+
} & {
|
177
|
+
optional?: true | undefined;
|
178
|
+
required?: false | undefined;
|
179
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
180
|
+
items: ItemOption[];
|
181
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
182
|
+
label?: string | undefined;
|
183
|
+
placeholder?: string | undefined;
|
184
|
+
helperText?: string | undefined;
|
185
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
186
|
+
textBefore?: string | undefined;
|
187
|
+
textAfter?: string | undefined;
|
188
|
+
variant?: "normal" | "tight" | undefined;
|
189
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
190
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
191
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
192
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
193
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
194
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
195
|
+
closeAfterSelect?: boolean | undefined;
|
196
|
+
size?: string | undefined;
|
197
|
+
view?: string | undefined;
|
198
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
199
|
+
} & {
|
200
|
+
readOnly?: boolean | undefined;
|
201
|
+
disabled?: true | undefined;
|
202
|
+
alwaysOpened?: false | undefined;
|
203
|
+
} & {
|
204
|
+
multiple?: false | undefined;
|
205
|
+
value?: string | undefined;
|
206
|
+
defaultValue?: string | undefined;
|
207
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
208
|
+
isTargetAmount?: false | undefined;
|
209
|
+
targetAmount?: undefined;
|
210
|
+
renderValue?: undefined;
|
211
|
+
name: string;
|
212
|
+
} & {
|
213
|
+
requiredPlacement?: "left" | "right" | undefined;
|
214
|
+
} & {
|
215
|
+
required: true;
|
216
|
+
optional?: false | undefined;
|
217
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
218
|
+
items: ItemOption[];
|
219
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
220
|
+
label?: string | undefined;
|
221
|
+
placeholder?: string | undefined;
|
222
|
+
helperText?: string | undefined;
|
223
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
224
|
+
textBefore?: string | undefined;
|
225
|
+
textAfter?: string | undefined;
|
226
|
+
variant?: "normal" | "tight" | undefined;
|
227
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
228
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
229
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
230
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
231
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
232
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
233
|
+
closeAfterSelect?: boolean | undefined;
|
234
|
+
size?: string | undefined;
|
235
|
+
view?: string | undefined;
|
236
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
237
|
+
} & {
|
238
|
+
readOnly?: boolean | undefined;
|
239
|
+
disabled?: true | undefined;
|
240
|
+
alwaysOpened?: false | undefined;
|
241
|
+
} & {
|
242
|
+
multiple?: false | undefined;
|
243
|
+
value?: string | undefined;
|
244
|
+
defaultValue?: string | undefined;
|
245
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
246
|
+
isTargetAmount?: false | undefined;
|
247
|
+
targetAmount?: undefined;
|
248
|
+
renderValue?: undefined;
|
249
|
+
name: string;
|
250
|
+
} & {
|
251
|
+
requiredPlacement?: "left" | "right" | undefined;
|
252
|
+
} & {
|
253
|
+
optional?: true | undefined;
|
254
|
+
required?: false | undefined;
|
255
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
256
|
+
items: ItemOption[];
|
257
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
258
|
+
label?: string | undefined;
|
259
|
+
placeholder?: string | undefined;
|
260
|
+
helperText?: string | undefined;
|
261
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
262
|
+
textBefore?: string | undefined;
|
263
|
+
textAfter?: string | undefined;
|
264
|
+
variant?: "normal" | "tight" | undefined;
|
265
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
266
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
267
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
268
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
269
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
270
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
271
|
+
closeAfterSelect?: boolean | undefined;
|
272
|
+
size?: string | undefined;
|
273
|
+
view?: string | undefined;
|
274
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
275
|
+
} & {
|
276
|
+
readOnly?: boolean | undefined;
|
277
|
+
disabled?: true | undefined;
|
278
|
+
alwaysOpened?: false | undefined;
|
279
|
+
} & {
|
280
|
+
multiple: true;
|
281
|
+
value?: string[] | undefined;
|
282
|
+
defaultValue?: undefined;
|
283
|
+
onChange?: ((value: string[]) => void) | undefined;
|
284
|
+
isTargetAmount?: true | undefined;
|
285
|
+
targetAmount?: number | undefined;
|
286
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
287
|
+
name?: undefined;
|
288
|
+
} & {
|
289
|
+
requiredPlacement?: "left" | "right" | undefined;
|
290
|
+
} & {
|
291
|
+
required: true;
|
292
|
+
optional?: false | undefined;
|
293
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
294
|
+
items: ItemOption[];
|
295
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
296
|
+
label?: string | undefined;
|
297
|
+
placeholder?: string | undefined;
|
298
|
+
helperText?: string | undefined;
|
299
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
300
|
+
textBefore?: string | undefined;
|
301
|
+
textAfter?: string | undefined;
|
302
|
+
variant?: "normal" | "tight" | undefined;
|
303
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
304
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
305
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
306
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
307
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
308
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
309
|
+
closeAfterSelect?: boolean | undefined;
|
310
|
+
size?: string | undefined;
|
311
|
+
view?: string | undefined;
|
312
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
313
|
+
} & {
|
314
|
+
readOnly?: boolean | undefined;
|
315
|
+
disabled?: true | undefined;
|
316
|
+
alwaysOpened?: false | undefined;
|
317
|
+
} & {
|
318
|
+
multiple: true;
|
319
|
+
value?: string[] | undefined;
|
320
|
+
defaultValue?: undefined;
|
321
|
+
onChange?: ((value: string[]) => void) | undefined;
|
322
|
+
isTargetAmount?: true | undefined;
|
323
|
+
targetAmount?: number | undefined;
|
324
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
325
|
+
name?: undefined;
|
326
|
+
} & {
|
327
|
+
requiredPlacement?: "left" | "right" | undefined;
|
328
|
+
} & {
|
329
|
+
optional?: true | undefined;
|
330
|
+
required?: false | undefined;
|
331
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
332
|
+
items: ItemOption[];
|
333
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
334
|
+
label?: string | undefined;
|
335
|
+
placeholder?: string | undefined;
|
336
|
+
helperText?: string | undefined;
|
337
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
338
|
+
textBefore?: string | undefined;
|
339
|
+
textAfter?: string | undefined;
|
340
|
+
variant?: "normal" | "tight" | undefined;
|
341
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
342
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
343
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
344
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
345
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
346
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
347
|
+
closeAfterSelect?: boolean | undefined;
|
348
|
+
size?: string | undefined;
|
349
|
+
view?: string | undefined;
|
350
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
351
|
+
} & {
|
352
|
+
readOnly?: true | undefined;
|
353
|
+
disabled?: boolean | undefined;
|
354
|
+
alwaysOpened?: false | undefined;
|
355
|
+
} & {
|
356
|
+
name?: undefined;
|
357
|
+
multiple?: false | undefined;
|
358
|
+
value?: string | undefined;
|
359
|
+
defaultValue?: undefined;
|
360
|
+
onChange?: ((value: string) => void) | undefined;
|
361
|
+
isTargetAmount?: false | undefined;
|
362
|
+
targetAmount?: undefined;
|
363
|
+
renderValue?: undefined;
|
364
|
+
} & {
|
365
|
+
requiredPlacement?: "left" | "right" | undefined;
|
366
|
+
} & {
|
367
|
+
required: true;
|
368
|
+
optional?: false | undefined;
|
369
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
370
|
+
items: ItemOption[];
|
371
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
372
|
+
label?: string | undefined;
|
373
|
+
placeholder?: string | undefined;
|
374
|
+
helperText?: string | undefined;
|
375
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
376
|
+
textBefore?: string | undefined;
|
377
|
+
textAfter?: string | undefined;
|
378
|
+
variant?: "normal" | "tight" | undefined;
|
379
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
380
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
381
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
382
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
383
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
384
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
385
|
+
closeAfterSelect?: boolean | undefined;
|
386
|
+
size?: string | undefined;
|
387
|
+
view?: string | undefined;
|
388
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
389
|
+
} & {
|
390
|
+
readOnly?: true | undefined;
|
391
|
+
disabled?: boolean | undefined;
|
392
|
+
alwaysOpened?: false | undefined;
|
393
|
+
} & {
|
394
|
+
name?: undefined;
|
395
|
+
multiple?: false | undefined;
|
396
|
+
value?: string | undefined;
|
397
|
+
defaultValue?: undefined;
|
398
|
+
onChange?: ((value: string) => void) | undefined;
|
399
|
+
isTargetAmount?: false | undefined;
|
400
|
+
targetAmount?: undefined;
|
401
|
+
renderValue?: undefined;
|
402
|
+
} & {
|
403
|
+
requiredPlacement?: "left" | "right" | undefined;
|
404
|
+
} & {
|
405
|
+
optional?: true | undefined;
|
406
|
+
required?: false | undefined;
|
407
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
408
|
+
items: ItemOption[];
|
409
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
410
|
+
label?: string | undefined;
|
411
|
+
placeholder?: string | undefined;
|
412
|
+
helperText?: string | undefined;
|
413
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
414
|
+
textBefore?: string | undefined;
|
415
|
+
textAfter?: string | undefined;
|
416
|
+
variant?: "normal" | "tight" | undefined;
|
417
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
418
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
419
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
420
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
421
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
422
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
423
|
+
closeAfterSelect?: boolean | undefined;
|
424
|
+
size?: string | undefined;
|
425
|
+
view?: string | undefined;
|
426
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
427
|
+
} & {
|
428
|
+
readOnly?: true | undefined;
|
429
|
+
disabled?: boolean | undefined;
|
430
|
+
alwaysOpened?: false | undefined;
|
431
|
+
} & {
|
432
|
+
multiple: true;
|
433
|
+
value?: string[] | undefined;
|
434
|
+
defaultValue?: string[] | undefined;
|
435
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
436
|
+
isTargetAmount?: false | undefined;
|
437
|
+
targetAmount?: undefined;
|
438
|
+
renderValue?: undefined;
|
439
|
+
name: string;
|
440
|
+
} & {
|
441
|
+
requiredPlacement?: "left" | "right" | undefined;
|
442
|
+
} & {
|
443
|
+
required: true;
|
444
|
+
optional?: false | undefined;
|
445
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
446
|
+
items: ItemOption[];
|
447
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
448
|
+
label?: string | undefined;
|
449
|
+
placeholder?: string | undefined;
|
450
|
+
helperText?: string | undefined;
|
451
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
452
|
+
textBefore?: string | undefined;
|
453
|
+
textAfter?: string | undefined;
|
454
|
+
variant?: "normal" | "tight" | undefined;
|
455
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
456
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
457
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
458
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
459
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
460
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
461
|
+
closeAfterSelect?: boolean | undefined;
|
462
|
+
size?: string | undefined;
|
463
|
+
view?: string | undefined;
|
464
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
465
|
+
} & {
|
466
|
+
readOnly?: true | undefined;
|
467
|
+
disabled?: boolean | undefined;
|
468
|
+
alwaysOpened?: false | undefined;
|
469
|
+
} & {
|
470
|
+
multiple: true;
|
471
|
+
value?: string[] | undefined;
|
472
|
+
defaultValue?: string[] | undefined;
|
473
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
474
|
+
isTargetAmount?: false | undefined;
|
475
|
+
targetAmount?: undefined;
|
476
|
+
renderValue?: undefined;
|
477
|
+
name: string;
|
478
|
+
} & {
|
479
|
+
requiredPlacement?: "left" | "right" | undefined;
|
480
|
+
} & {
|
481
|
+
optional?: true | undefined;
|
482
|
+
required?: false | undefined;
|
483
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
484
|
+
items: ItemOption[];
|
485
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
486
|
+
label?: string | undefined;
|
487
|
+
placeholder?: string | undefined;
|
488
|
+
helperText?: string | undefined;
|
489
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
490
|
+
textBefore?: string | undefined;
|
491
|
+
textAfter?: string | undefined;
|
492
|
+
variant?: "normal" | "tight" | undefined;
|
493
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
494
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
495
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
496
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
497
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
498
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
499
|
+
closeAfterSelect?: boolean | undefined;
|
500
|
+
size?: string | undefined;
|
501
|
+
view?: string | undefined;
|
502
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
503
|
+
} & {
|
504
|
+
readOnly?: true | undefined;
|
505
|
+
disabled?: boolean | undefined;
|
506
|
+
alwaysOpened?: false | undefined;
|
507
|
+
} & {
|
508
|
+
multiple?: false | undefined;
|
509
|
+
value?: string | undefined;
|
510
|
+
defaultValue?: string | undefined;
|
511
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
512
|
+
isTargetAmount?: false | undefined;
|
513
|
+
targetAmount?: undefined;
|
514
|
+
renderValue?: undefined;
|
515
|
+
name: string;
|
516
|
+
} & {
|
517
|
+
requiredPlacement?: "left" | "right" | undefined;
|
518
|
+
} & {
|
519
|
+
required: true;
|
520
|
+
optional?: false | undefined;
|
521
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
522
|
+
items: ItemOption[];
|
523
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
524
|
+
label?: string | undefined;
|
525
|
+
placeholder?: string | undefined;
|
526
|
+
helperText?: string | undefined;
|
527
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
528
|
+
textBefore?: string | undefined;
|
529
|
+
textAfter?: string | undefined;
|
530
|
+
variant?: "normal" | "tight" | undefined;
|
531
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
532
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
533
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
534
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
535
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
536
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
537
|
+
closeAfterSelect?: boolean | undefined;
|
538
|
+
size?: string | undefined;
|
539
|
+
view?: string | undefined;
|
540
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
541
|
+
} & {
|
542
|
+
readOnly?: true | undefined;
|
543
|
+
disabled?: boolean | undefined;
|
544
|
+
alwaysOpened?: false | undefined;
|
545
|
+
} & {
|
546
|
+
multiple?: false | undefined;
|
547
|
+
value?: string | undefined;
|
548
|
+
defaultValue?: string | undefined;
|
549
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
550
|
+
isTargetAmount?: false | undefined;
|
551
|
+
targetAmount?: undefined;
|
552
|
+
renderValue?: undefined;
|
553
|
+
name: string;
|
554
|
+
} & {
|
555
|
+
requiredPlacement?: "left" | "right" | undefined;
|
556
|
+
} & {
|
557
|
+
optional?: true | undefined;
|
558
|
+
required?: false | undefined;
|
559
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
560
|
+
items: ItemOption[];
|
561
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
562
|
+
label?: string | undefined;
|
563
|
+
placeholder?: string | undefined;
|
564
|
+
helperText?: string | undefined;
|
565
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
566
|
+
textBefore?: string | undefined;
|
567
|
+
textAfter?: string | undefined;
|
568
|
+
variant?: "normal" | "tight" | undefined;
|
569
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
570
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
571
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
572
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
573
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
574
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
575
|
+
closeAfterSelect?: boolean | undefined;
|
576
|
+
size?: string | undefined;
|
577
|
+
view?: string | undefined;
|
578
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
579
|
+
} & {
|
580
|
+
readOnly?: true | undefined;
|
581
|
+
disabled?: boolean | undefined;
|
582
|
+
alwaysOpened?: false | undefined;
|
583
|
+
} & {
|
584
|
+
multiple: true;
|
585
|
+
value?: string[] | undefined;
|
586
|
+
defaultValue?: undefined;
|
587
|
+
onChange?: ((value: string[]) => void) | undefined;
|
588
|
+
isTargetAmount?: true | undefined;
|
589
|
+
targetAmount?: number | undefined;
|
590
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
591
|
+
name?: undefined;
|
592
|
+
} & {
|
593
|
+
requiredPlacement?: "left" | "right" | undefined;
|
594
|
+
} & {
|
595
|
+
required: true;
|
596
|
+
optional?: false | undefined;
|
597
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
598
|
+
items: ItemOption[];
|
599
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
600
|
+
label?: string | undefined;
|
601
|
+
placeholder?: string | undefined;
|
602
|
+
helperText?: string | undefined;
|
603
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
604
|
+
textBefore?: string | undefined;
|
605
|
+
textAfter?: string | undefined;
|
606
|
+
variant?: "normal" | "tight" | undefined;
|
607
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
608
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
609
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
610
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
611
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
612
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
613
|
+
closeAfterSelect?: boolean | undefined;
|
614
|
+
size?: string | undefined;
|
615
|
+
view?: string | undefined;
|
616
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
617
|
+
} & {
|
618
|
+
readOnly?: true | undefined;
|
619
|
+
disabled?: boolean | undefined;
|
620
|
+
alwaysOpened?: false | undefined;
|
621
|
+
} & {
|
622
|
+
multiple: true;
|
623
|
+
value?: string[] | undefined;
|
624
|
+
defaultValue?: undefined;
|
625
|
+
onChange?: ((value: string[]) => void) | undefined;
|
626
|
+
isTargetAmount?: true | undefined;
|
627
|
+
targetAmount?: number | undefined;
|
628
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
629
|
+
name?: undefined;
|
630
|
+
} & {
|
631
|
+
requiredPlacement?: "left" | "right" | undefined;
|
632
|
+
} & {
|
633
|
+
optional?: true | undefined;
|
634
|
+
required?: false | undefined;
|
635
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
636
|
+
items: ItemOption[];
|
637
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
638
|
+
label?: string | undefined;
|
639
|
+
placeholder?: string | undefined;
|
640
|
+
helperText?: string | undefined;
|
641
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
642
|
+
textBefore?: string | undefined;
|
643
|
+
textAfter?: string | undefined;
|
644
|
+
variant?: "normal" | "tight" | undefined;
|
645
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
646
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
647
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
648
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
649
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
650
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
651
|
+
closeAfterSelect?: boolean | undefined;
|
652
|
+
size?: string | undefined;
|
653
|
+
view?: string | undefined;
|
654
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
655
|
+
} & {
|
656
|
+
readOnly?: false | undefined;
|
657
|
+
disabled?: false | undefined;
|
658
|
+
alwaysOpened?: true | undefined;
|
659
|
+
} & {
|
660
|
+
name?: undefined;
|
661
|
+
multiple?: false | undefined;
|
662
|
+
value?: string | undefined;
|
663
|
+
defaultValue?: undefined;
|
664
|
+
onChange?: ((value: string) => void) | undefined;
|
665
|
+
isTargetAmount?: false | undefined;
|
666
|
+
targetAmount?: undefined;
|
667
|
+
renderValue?: undefined;
|
668
|
+
} & {
|
669
|
+
requiredPlacement?: "left" | "right" | undefined;
|
670
|
+
} & {
|
671
|
+
required: true;
|
672
|
+
optional?: false | undefined;
|
673
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
674
|
+
items: ItemOption[];
|
675
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
676
|
+
label?: string | undefined;
|
677
|
+
placeholder?: string | undefined;
|
678
|
+
helperText?: string | undefined;
|
679
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
680
|
+
textBefore?: string | undefined;
|
681
|
+
textAfter?: string | undefined;
|
682
|
+
variant?: "normal" | "tight" | undefined;
|
683
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
684
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
685
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
686
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
687
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
688
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
689
|
+
closeAfterSelect?: boolean | undefined;
|
690
|
+
size?: string | undefined;
|
691
|
+
view?: string | undefined;
|
692
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
693
|
+
} & {
|
694
|
+
readOnly?: false | undefined;
|
695
|
+
disabled?: false | undefined;
|
696
|
+
alwaysOpened?: true | undefined;
|
697
|
+
} & {
|
698
|
+
name?: undefined;
|
699
|
+
multiple?: false | undefined;
|
700
|
+
value?: string | undefined;
|
701
|
+
defaultValue?: undefined;
|
702
|
+
onChange?: ((value: string) => void) | undefined;
|
703
|
+
isTargetAmount?: false | undefined;
|
704
|
+
targetAmount?: undefined;
|
705
|
+
renderValue?: undefined;
|
706
|
+
} & {
|
707
|
+
requiredPlacement?: "left" | "right" | undefined;
|
708
|
+
} & {
|
709
|
+
optional?: true | undefined;
|
710
|
+
required?: false | undefined;
|
711
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
712
|
+
items: ItemOption[];
|
713
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
714
|
+
label?: string | undefined;
|
715
|
+
placeholder?: string | undefined;
|
716
|
+
helperText?: string | undefined;
|
717
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
718
|
+
textBefore?: string | undefined;
|
719
|
+
textAfter?: string | undefined;
|
720
|
+
variant?: "normal" | "tight" | undefined;
|
721
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
722
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
723
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
724
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
725
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
726
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
727
|
+
closeAfterSelect?: boolean | undefined;
|
728
|
+
size?: string | undefined;
|
729
|
+
view?: string | undefined;
|
730
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
731
|
+
} & {
|
732
|
+
readOnly?: false | undefined;
|
733
|
+
disabled?: false | undefined;
|
734
|
+
alwaysOpened?: true | undefined;
|
735
|
+
} & {
|
736
|
+
multiple: true;
|
737
|
+
value?: string[] | undefined;
|
738
|
+
defaultValue?: string[] | undefined;
|
739
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
740
|
+
isTargetAmount?: false | undefined;
|
741
|
+
targetAmount?: undefined;
|
742
|
+
renderValue?: undefined;
|
743
|
+
name: string;
|
744
|
+
} & {
|
745
|
+
requiredPlacement?: "left" | "right" | undefined;
|
746
|
+
} & {
|
747
|
+
required: true;
|
748
|
+
optional?: false | undefined;
|
749
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
750
|
+
items: ItemOption[];
|
751
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
752
|
+
label?: string | undefined;
|
753
|
+
placeholder?: string | undefined;
|
754
|
+
helperText?: string | undefined;
|
755
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
756
|
+
textBefore?: string | undefined;
|
757
|
+
textAfter?: string | undefined;
|
758
|
+
variant?: "normal" | "tight" | undefined;
|
759
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
760
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
761
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
762
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
763
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
764
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
765
|
+
closeAfterSelect?: boolean | undefined;
|
766
|
+
size?: string | undefined;
|
767
|
+
view?: string | undefined;
|
768
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
769
|
+
} & {
|
770
|
+
readOnly?: false | undefined;
|
771
|
+
disabled?: false | undefined;
|
772
|
+
alwaysOpened?: true | undefined;
|
773
|
+
} & {
|
774
|
+
multiple: true;
|
775
|
+
value?: string[] | undefined;
|
776
|
+
defaultValue?: string[] | undefined;
|
777
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
778
|
+
isTargetAmount?: false | undefined;
|
779
|
+
targetAmount?: undefined;
|
780
|
+
renderValue?: undefined;
|
781
|
+
name: string;
|
782
|
+
} & {
|
783
|
+
requiredPlacement?: "left" | "right" | undefined;
|
784
|
+
} & {
|
785
|
+
optional?: true | undefined;
|
786
|
+
required?: false | undefined;
|
787
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
788
|
+
items: ItemOption[];
|
789
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
790
|
+
label?: string | undefined;
|
791
|
+
placeholder?: string | undefined;
|
792
|
+
helperText?: string | undefined;
|
793
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
794
|
+
textBefore?: string | undefined;
|
795
|
+
textAfter?: string | undefined;
|
796
|
+
variant?: "normal" | "tight" | undefined;
|
797
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
798
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
799
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
800
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
801
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
802
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
803
|
+
closeAfterSelect?: boolean | undefined;
|
804
|
+
size?: string | undefined;
|
805
|
+
view?: string | undefined;
|
806
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
807
|
+
} & {
|
808
|
+
readOnly?: false | undefined;
|
809
|
+
disabled?: false | undefined;
|
810
|
+
alwaysOpened?: true | undefined;
|
811
|
+
} & {
|
812
|
+
multiple?: false | undefined;
|
813
|
+
value?: string | undefined;
|
814
|
+
defaultValue?: string | undefined;
|
815
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
816
|
+
isTargetAmount?: false | undefined;
|
817
|
+
targetAmount?: undefined;
|
818
|
+
renderValue?: undefined;
|
819
|
+
name: string;
|
820
|
+
} & {
|
821
|
+
requiredPlacement?: "left" | "right" | undefined;
|
822
|
+
} & {
|
823
|
+
required: true;
|
824
|
+
optional?: false | undefined;
|
825
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
826
|
+
items: ItemOption[];
|
827
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
828
|
+
label?: string | undefined;
|
829
|
+
placeholder?: string | undefined;
|
830
|
+
helperText?: string | undefined;
|
831
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
832
|
+
textBefore?: string | undefined;
|
833
|
+
textAfter?: string | undefined;
|
834
|
+
variant?: "normal" | "tight" | undefined;
|
835
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
836
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
837
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
838
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
839
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
840
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
841
|
+
closeAfterSelect?: boolean | undefined;
|
842
|
+
size?: string | undefined;
|
843
|
+
view?: string | undefined;
|
844
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
845
|
+
} & {
|
846
|
+
readOnly?: false | undefined;
|
847
|
+
disabled?: false | undefined;
|
848
|
+
alwaysOpened?: true | undefined;
|
849
|
+
} & {
|
850
|
+
multiple?: false | undefined;
|
851
|
+
value?: string | undefined;
|
852
|
+
defaultValue?: string | undefined;
|
853
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
854
|
+
isTargetAmount?: false | undefined;
|
855
|
+
targetAmount?: undefined;
|
856
|
+
renderValue?: undefined;
|
857
|
+
name: string;
|
858
|
+
} & {
|
859
|
+
requiredPlacement?: "left" | "right" | undefined;
|
860
|
+
} & {
|
861
|
+
optional?: true | undefined;
|
862
|
+
required?: false | undefined;
|
863
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
864
|
+
items: ItemOption[];
|
865
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
866
|
+
label?: string | undefined;
|
867
|
+
placeholder?: string | undefined;
|
868
|
+
helperText?: string | undefined;
|
869
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
870
|
+
textBefore?: string | undefined;
|
871
|
+
textAfter?: string | undefined;
|
872
|
+
variant?: "normal" | "tight" | undefined;
|
873
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
874
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
875
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
876
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
877
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
878
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
879
|
+
closeAfterSelect?: boolean | undefined;
|
880
|
+
size?: string | undefined;
|
881
|
+
view?: string | undefined;
|
882
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
883
|
+
} & {
|
884
|
+
readOnly?: false | undefined;
|
885
|
+
disabled?: false | undefined;
|
886
|
+
alwaysOpened?: true | undefined;
|
887
|
+
} & {
|
888
|
+
multiple: true;
|
889
|
+
value?: string[] | undefined;
|
890
|
+
defaultValue?: undefined;
|
891
|
+
onChange?: ((value: string[]) => void) | undefined;
|
892
|
+
isTargetAmount?: true | undefined;
|
893
|
+
targetAmount?: number | undefined;
|
894
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
895
|
+
name?: undefined;
|
896
|
+
} & {
|
897
|
+
requiredPlacement?: "left" | "right" | undefined;
|
898
|
+
} & {
|
899
|
+
required: true;
|
900
|
+
optional?: false | undefined;
|
901
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
902
|
+
items: ItemOption[];
|
903
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
904
|
+
label?: string | undefined;
|
905
|
+
placeholder?: string | undefined;
|
906
|
+
helperText?: string | undefined;
|
907
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
908
|
+
textBefore?: string | undefined;
|
909
|
+
textAfter?: string | undefined;
|
910
|
+
variant?: "normal" | "tight" | undefined;
|
911
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
912
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
913
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
914
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
915
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
916
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
917
|
+
closeAfterSelect?: boolean | undefined;
|
918
|
+
size?: string | undefined;
|
919
|
+
view?: string | undefined;
|
920
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
921
|
+
} & {
|
922
|
+
readOnly?: false | undefined;
|
923
|
+
disabled?: false | undefined;
|
924
|
+
alwaysOpened?: true | undefined;
|
925
|
+
} & {
|
926
|
+
multiple: true;
|
927
|
+
value?: string[] | undefined;
|
928
|
+
defaultValue?: undefined;
|
126
929
|
onChange?: ((value: string[]) => void) | undefined;
|
127
930
|
isTargetAmount?: true | undefined;
|
128
931
|
targetAmount?: number | undefined;
|
129
932
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
933
|
+
name?: undefined;
|
934
|
+
} & {
|
935
|
+
requiredPlacement?: "left" | "right" | undefined;
|
936
|
+
} & {
|
937
|
+
optional?: true | undefined;
|
938
|
+
required?: false | undefined;
|
939
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
|
940
|
+
declare type PropsFromConfig = keyof typeof config['variations'];
|
941
|
+
declare type PropsNew<T extends ItemOption> = Omit<ComboboxProps<T>, PropsFromConfig> & Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig>;
|
942
|
+
declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & Pick<import("../../../../engines/types").PropsType<{
|
943
|
+
view: {
|
944
|
+
default: import("@linaria/core").LinariaClassName;
|
945
|
+
positive: import("@linaria/core").LinariaClassName;
|
946
|
+
warning: import("@linaria/core").LinariaClassName;
|
947
|
+
negative: import("@linaria/core").LinariaClassName;
|
948
|
+
};
|
949
|
+
size: {
|
950
|
+
l: import("@linaria/core").LinariaClassName;
|
951
|
+
m: import("@linaria/core").LinariaClassName;
|
952
|
+
s: import("@linaria/core").LinariaClassName;
|
953
|
+
xs: import("@linaria/core").LinariaClassName;
|
954
|
+
};
|
955
|
+
labelPlacement: {
|
956
|
+
inner: import("@linaria/core").LinariaClassName;
|
957
|
+
outer: import("@linaria/core").LinariaClassName;
|
958
|
+
};
|
959
|
+
disabled: {
|
960
|
+
true: import("@linaria/core").LinariaClassName;
|
961
|
+
};
|
962
|
+
readOnly: {
|
963
|
+
true: import("@linaria/core").LinariaClassName;
|
964
|
+
};
|
965
|
+
}> & (({
|
966
|
+
items: ItemOption[];
|
967
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
968
|
+
label?: string | undefined;
|
969
|
+
placeholder?: string | undefined;
|
970
|
+
helperText?: string | undefined;
|
971
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
972
|
+
textBefore?: string | undefined;
|
973
|
+
textAfter?: string | undefined;
|
974
|
+
variant?: "normal" | "tight" | undefined;
|
975
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
976
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
977
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
978
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
979
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
980
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
981
|
+
closeAfterSelect?: boolean | undefined;
|
982
|
+
size?: string | undefined;
|
983
|
+
view?: string | undefined;
|
984
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
985
|
+
} & {
|
986
|
+
readOnly?: boolean | undefined;
|
987
|
+
disabled?: true | undefined;
|
988
|
+
alwaysOpened?: false | undefined;
|
989
|
+
} & {
|
990
|
+
name?: undefined;
|
991
|
+
multiple?: false | undefined;
|
992
|
+
value?: string | undefined;
|
993
|
+
defaultValue?: undefined;
|
994
|
+
onChange?: ((value: string) => void) | undefined;
|
995
|
+
isTargetAmount?: false | undefined;
|
996
|
+
targetAmount?: undefined;
|
997
|
+
renderValue?: undefined;
|
998
|
+
} & {
|
999
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1000
|
+
} & {
|
1001
|
+
required: true;
|
1002
|
+
optional?: false | undefined;
|
1003
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1004
|
+
items: ItemOption[];
|
1005
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1006
|
+
label?: string | undefined;
|
1007
|
+
placeholder?: string | undefined;
|
1008
|
+
helperText?: string | undefined;
|
1009
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1010
|
+
textBefore?: string | undefined;
|
1011
|
+
textAfter?: string | undefined;
|
1012
|
+
variant?: "normal" | "tight" | undefined;
|
1013
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1014
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1015
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1016
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1017
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1018
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1019
|
+
closeAfterSelect?: boolean | undefined;
|
1020
|
+
size?: string | undefined;
|
1021
|
+
view?: string | undefined;
|
1022
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1023
|
+
} & {
|
1024
|
+
readOnly?: boolean | undefined;
|
1025
|
+
disabled?: true | undefined;
|
1026
|
+
alwaysOpened?: false | undefined;
|
1027
|
+
} & {
|
1028
|
+
name?: undefined;
|
1029
|
+
multiple?: false | undefined;
|
1030
|
+
value?: string | undefined;
|
1031
|
+
defaultValue?: undefined;
|
1032
|
+
onChange?: ((value: string) => void) | undefined;
|
1033
|
+
isTargetAmount?: false | undefined;
|
1034
|
+
targetAmount?: undefined;
|
1035
|
+
renderValue?: undefined;
|
1036
|
+
} & {
|
1037
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1038
|
+
} & {
|
1039
|
+
optional?: true | undefined;
|
1040
|
+
required?: false | undefined;
|
1041
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1042
|
+
items: ItemOption[];
|
1043
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1044
|
+
label?: string | undefined;
|
1045
|
+
placeholder?: string | undefined;
|
1046
|
+
helperText?: string | undefined;
|
1047
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1048
|
+
textBefore?: string | undefined;
|
1049
|
+
textAfter?: string | undefined;
|
1050
|
+
variant?: "normal" | "tight" | undefined;
|
1051
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1052
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1053
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1054
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1055
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1056
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1057
|
+
closeAfterSelect?: boolean | undefined;
|
1058
|
+
size?: string | undefined;
|
1059
|
+
view?: string | undefined;
|
1060
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1061
|
+
} & {
|
1062
|
+
readOnly?: boolean | undefined;
|
1063
|
+
disabled?: true | undefined;
|
1064
|
+
alwaysOpened?: false | undefined;
|
1065
|
+
} & {
|
1066
|
+
multiple: true;
|
1067
|
+
value?: string[] | undefined;
|
1068
|
+
defaultValue?: string[] | undefined;
|
1069
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1070
|
+
isTargetAmount?: false | undefined;
|
1071
|
+
targetAmount?: undefined;
|
1072
|
+
renderValue?: undefined;
|
1073
|
+
name: string;
|
130
1074
|
} & {
|
131
1075
|
requiredPlacement?: "left" | "right" | undefined;
|
132
1076
|
} & {
|
133
1077
|
required: true;
|
134
1078
|
optional?: false | undefined;
|
135
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1079
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
136
1080
|
items: ItemOption[];
|
137
1081
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
138
1082
|
label?: string | undefined;
|
@@ -159,16 +1103,18 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
159
1103
|
} & {
|
160
1104
|
multiple: true;
|
161
1105
|
value?: string[] | undefined;
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
1106
|
+
defaultValue?: string[] | undefined;
|
1107
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1108
|
+
isTargetAmount?: false | undefined;
|
1109
|
+
targetAmount?: undefined;
|
1110
|
+
renderValue?: undefined;
|
1111
|
+
name: string;
|
166
1112
|
} & {
|
167
1113
|
requiredPlacement?: "left" | "right" | undefined;
|
168
1114
|
} & {
|
169
1115
|
optional?: true | undefined;
|
170
1116
|
required?: false | undefined;
|
171
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1117
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
172
1118
|
items: ItemOption[];
|
173
1119
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
174
1120
|
label?: string | undefined;
|
@@ -189,22 +1135,24 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
189
1135
|
view?: string | undefined;
|
190
1136
|
labelPlacement?: "inner" | "outer" | undefined;
|
191
1137
|
} & {
|
192
|
-
readOnly?:
|
193
|
-
disabled?:
|
1138
|
+
readOnly?: boolean | undefined;
|
1139
|
+
disabled?: true | undefined;
|
194
1140
|
alwaysOpened?: false | undefined;
|
195
1141
|
} & {
|
196
1142
|
multiple?: false | undefined;
|
197
1143
|
value?: string | undefined;
|
198
|
-
|
1144
|
+
defaultValue?: string | undefined;
|
1145
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
199
1146
|
isTargetAmount?: false | undefined;
|
200
1147
|
targetAmount?: undefined;
|
201
1148
|
renderValue?: undefined;
|
1149
|
+
name: string;
|
202
1150
|
} & {
|
203
1151
|
requiredPlacement?: "left" | "right" | undefined;
|
204
1152
|
} & {
|
205
1153
|
required: true;
|
206
1154
|
optional?: false | undefined;
|
207
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1155
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
208
1156
|
items: ItemOption[];
|
209
1157
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
210
1158
|
label?: string | undefined;
|
@@ -225,22 +1173,24 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
225
1173
|
view?: string | undefined;
|
226
1174
|
labelPlacement?: "inner" | "outer" | undefined;
|
227
1175
|
} & {
|
228
|
-
readOnly?:
|
229
|
-
disabled?:
|
1176
|
+
readOnly?: boolean | undefined;
|
1177
|
+
disabled?: true | undefined;
|
230
1178
|
alwaysOpened?: false | undefined;
|
231
1179
|
} & {
|
232
1180
|
multiple?: false | undefined;
|
233
1181
|
value?: string | undefined;
|
234
|
-
|
1182
|
+
defaultValue?: string | undefined;
|
1183
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
235
1184
|
isTargetAmount?: false | undefined;
|
236
1185
|
targetAmount?: undefined;
|
237
1186
|
renderValue?: undefined;
|
1187
|
+
name: string;
|
238
1188
|
} & {
|
239
1189
|
requiredPlacement?: "left" | "right" | undefined;
|
240
1190
|
} & {
|
241
1191
|
optional?: true | undefined;
|
242
1192
|
required?: false | undefined;
|
243
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1193
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
244
1194
|
items: ItemOption[];
|
245
1195
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
246
1196
|
label?: string | undefined;
|
@@ -261,22 +1211,24 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
261
1211
|
view?: string | undefined;
|
262
1212
|
labelPlacement?: "inner" | "outer" | undefined;
|
263
1213
|
} & {
|
264
|
-
readOnly?:
|
265
|
-
disabled?:
|
1214
|
+
readOnly?: boolean | undefined;
|
1215
|
+
disabled?: true | undefined;
|
266
1216
|
alwaysOpened?: false | undefined;
|
267
1217
|
} & {
|
268
1218
|
multiple: true;
|
269
1219
|
value?: string[] | undefined;
|
1220
|
+
defaultValue?: undefined;
|
270
1221
|
onChange?: ((value: string[]) => void) | undefined;
|
271
1222
|
isTargetAmount?: true | undefined;
|
272
1223
|
targetAmount?: number | undefined;
|
273
1224
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1225
|
+
name?: undefined;
|
274
1226
|
} & {
|
275
1227
|
requiredPlacement?: "left" | "right" | undefined;
|
276
1228
|
} & {
|
277
1229
|
required: true;
|
278
1230
|
optional?: false | undefined;
|
279
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1231
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
280
1232
|
items: ItemOption[];
|
281
1233
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
282
1234
|
label?: string | undefined;
|
@@ -297,22 +1249,24 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
297
1249
|
view?: string | undefined;
|
298
1250
|
labelPlacement?: "inner" | "outer" | undefined;
|
299
1251
|
} & {
|
300
|
-
readOnly?:
|
301
|
-
disabled?:
|
1252
|
+
readOnly?: boolean | undefined;
|
1253
|
+
disabled?: true | undefined;
|
302
1254
|
alwaysOpened?: false | undefined;
|
303
1255
|
} & {
|
304
1256
|
multiple: true;
|
305
1257
|
value?: string[] | undefined;
|
1258
|
+
defaultValue?: undefined;
|
306
1259
|
onChange?: ((value: string[]) => void) | undefined;
|
307
1260
|
isTargetAmount?: true | undefined;
|
308
1261
|
targetAmount?: number | undefined;
|
309
1262
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1263
|
+
name?: undefined;
|
310
1264
|
} & {
|
311
1265
|
requiredPlacement?: "left" | "right" | undefined;
|
312
1266
|
} & {
|
313
1267
|
optional?: true | undefined;
|
314
1268
|
required?: false | undefined;
|
315
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1269
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
316
1270
|
items: ItemOption[];
|
317
1271
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
318
1272
|
label?: string | undefined;
|
@@ -333,12 +1287,14 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
333
1287
|
view?: string | undefined;
|
334
1288
|
labelPlacement?: "inner" | "outer" | undefined;
|
335
1289
|
} & {
|
336
|
-
readOnly?:
|
337
|
-
disabled?:
|
338
|
-
alwaysOpened?:
|
1290
|
+
readOnly?: true | undefined;
|
1291
|
+
disabled?: boolean | undefined;
|
1292
|
+
alwaysOpened?: false | undefined;
|
339
1293
|
} & {
|
1294
|
+
name?: undefined;
|
340
1295
|
multiple?: false | undefined;
|
341
1296
|
value?: string | undefined;
|
1297
|
+
defaultValue?: undefined;
|
342
1298
|
onChange?: ((value: string) => void) | undefined;
|
343
1299
|
isTargetAmount?: false | undefined;
|
344
1300
|
targetAmount?: undefined;
|
@@ -348,7 +1304,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
348
1304
|
} & {
|
349
1305
|
required: true;
|
350
1306
|
optional?: false | undefined;
|
351
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1307
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
352
1308
|
items: ItemOption[];
|
353
1309
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
354
1310
|
label?: string | undefined;
|
@@ -369,12 +1325,14 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
369
1325
|
view?: string | undefined;
|
370
1326
|
labelPlacement?: "inner" | "outer" | undefined;
|
371
1327
|
} & {
|
372
|
-
readOnly?:
|
373
|
-
disabled?:
|
374
|
-
alwaysOpened?:
|
1328
|
+
readOnly?: true | undefined;
|
1329
|
+
disabled?: boolean | undefined;
|
1330
|
+
alwaysOpened?: false | undefined;
|
375
1331
|
} & {
|
1332
|
+
name?: undefined;
|
376
1333
|
multiple?: false | undefined;
|
377
1334
|
value?: string | undefined;
|
1335
|
+
defaultValue?: undefined;
|
378
1336
|
onChange?: ((value: string) => void) | undefined;
|
379
1337
|
isTargetAmount?: false | undefined;
|
380
1338
|
targetAmount?: undefined;
|
@@ -384,7 +1342,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
384
1342
|
} & {
|
385
1343
|
optional?: true | undefined;
|
386
1344
|
required?: false | undefined;
|
387
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1345
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
388
1346
|
items: ItemOption[];
|
389
1347
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
390
1348
|
label?: string | undefined;
|
@@ -405,22 +1363,24 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
405
1363
|
view?: string | undefined;
|
406
1364
|
labelPlacement?: "inner" | "outer" | undefined;
|
407
1365
|
} & {
|
408
|
-
readOnly?:
|
409
|
-
disabled?:
|
410
|
-
alwaysOpened?:
|
1366
|
+
readOnly?: true | undefined;
|
1367
|
+
disabled?: boolean | undefined;
|
1368
|
+
alwaysOpened?: false | undefined;
|
411
1369
|
} & {
|
412
1370
|
multiple: true;
|
413
1371
|
value?: string[] | undefined;
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
1372
|
+
defaultValue?: string[] | undefined;
|
1373
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1374
|
+
isTargetAmount?: false | undefined;
|
1375
|
+
targetAmount?: undefined;
|
1376
|
+
renderValue?: undefined;
|
1377
|
+
name: string;
|
418
1378
|
} & {
|
419
1379
|
requiredPlacement?: "left" | "right" | undefined;
|
420
1380
|
} & {
|
421
1381
|
required: true;
|
422
1382
|
optional?: false | undefined;
|
423
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1383
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
424
1384
|
items: ItemOption[];
|
425
1385
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
426
1386
|
label?: string | undefined;
|
@@ -441,48 +1401,24 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
441
1401
|
view?: string | undefined;
|
442
1402
|
labelPlacement?: "inner" | "outer" | undefined;
|
443
1403
|
} & {
|
444
|
-
readOnly?:
|
445
|
-
disabled?:
|
446
|
-
alwaysOpened?:
|
1404
|
+
readOnly?: true | undefined;
|
1405
|
+
disabled?: boolean | undefined;
|
1406
|
+
alwaysOpened?: false | undefined;
|
447
1407
|
} & {
|
448
1408
|
multiple: true;
|
449
1409
|
value?: string[] | undefined;
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
1410
|
+
defaultValue?: string[] | undefined;
|
1411
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1412
|
+
isTargetAmount?: false | undefined;
|
1413
|
+
targetAmount?: undefined;
|
1414
|
+
renderValue?: undefined;
|
1415
|
+
name: string;
|
454
1416
|
} & {
|
455
1417
|
requiredPlacement?: "left" | "right" | undefined;
|
456
1418
|
} & {
|
457
1419
|
optional?: true | undefined;
|
458
1420
|
required?: false | undefined;
|
459
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>)
|
460
|
-
declare type PropsFromConfig = keyof typeof config['variations'];
|
461
|
-
declare type PropsNew<T extends ItemOption> = Omit<ComboboxProps<T>, PropsFromConfig> & Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig>;
|
462
|
-
declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & Pick<import("../../../../engines/types").PropsType<{
|
463
|
-
view: {
|
464
|
-
default: import("@linaria/core").LinariaClassName;
|
465
|
-
positive: import("@linaria/core").LinariaClassName;
|
466
|
-
warning: import("@linaria/core").LinariaClassName;
|
467
|
-
negative: import("@linaria/core").LinariaClassName;
|
468
|
-
};
|
469
|
-
size: {
|
470
|
-
l: import("@linaria/core").LinariaClassName;
|
471
|
-
m: import("@linaria/core").LinariaClassName;
|
472
|
-
s: import("@linaria/core").LinariaClassName;
|
473
|
-
xs: import("@linaria/core").LinariaClassName;
|
474
|
-
};
|
475
|
-
labelPlacement: {
|
476
|
-
inner: import("@linaria/core").LinariaClassName;
|
477
|
-
outer: import("@linaria/core").LinariaClassName;
|
478
|
-
};
|
479
|
-
disabled: {
|
480
|
-
true: import("@linaria/core").LinariaClassName;
|
481
|
-
};
|
482
|
-
readOnly: {
|
483
|
-
true: import("@linaria/core").LinariaClassName;
|
484
|
-
};
|
485
|
-
}> & (({
|
1421
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
486
1422
|
items: ItemOption[];
|
487
1423
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
488
1424
|
label?: string | undefined;
|
@@ -503,22 +1439,24 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
503
1439
|
view?: string | undefined;
|
504
1440
|
labelPlacement?: "inner" | "outer" | undefined;
|
505
1441
|
} & {
|
506
|
-
readOnly?:
|
507
|
-
disabled?:
|
1442
|
+
readOnly?: true | undefined;
|
1443
|
+
disabled?: boolean | undefined;
|
508
1444
|
alwaysOpened?: false | undefined;
|
509
1445
|
} & {
|
510
1446
|
multiple?: false | undefined;
|
511
1447
|
value?: string | undefined;
|
512
|
-
|
1448
|
+
defaultValue?: string | undefined;
|
1449
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
513
1450
|
isTargetAmount?: false | undefined;
|
514
1451
|
targetAmount?: undefined;
|
515
1452
|
renderValue?: undefined;
|
1453
|
+
name: string;
|
516
1454
|
} & {
|
517
1455
|
requiredPlacement?: "left" | "right" | undefined;
|
518
1456
|
} & {
|
519
1457
|
required: true;
|
520
1458
|
optional?: false | undefined;
|
521
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1459
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
522
1460
|
items: ItemOption[];
|
523
1461
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
524
1462
|
label?: string | undefined;
|
@@ -539,22 +1477,24 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
539
1477
|
view?: string | undefined;
|
540
1478
|
labelPlacement?: "inner" | "outer" | undefined;
|
541
1479
|
} & {
|
542
|
-
readOnly?:
|
543
|
-
disabled?:
|
1480
|
+
readOnly?: true | undefined;
|
1481
|
+
disabled?: boolean | undefined;
|
544
1482
|
alwaysOpened?: false | undefined;
|
545
1483
|
} & {
|
546
1484
|
multiple?: false | undefined;
|
547
1485
|
value?: string | undefined;
|
548
|
-
|
1486
|
+
defaultValue?: string | undefined;
|
1487
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
549
1488
|
isTargetAmount?: false | undefined;
|
550
1489
|
targetAmount?: undefined;
|
551
1490
|
renderValue?: undefined;
|
1491
|
+
name: string;
|
552
1492
|
} & {
|
553
1493
|
requiredPlacement?: "left" | "right" | undefined;
|
554
1494
|
} & {
|
555
1495
|
optional?: true | undefined;
|
556
1496
|
required?: false | undefined;
|
557
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1497
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
558
1498
|
items: ItemOption[];
|
559
1499
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
560
1500
|
label?: string | undefined;
|
@@ -575,22 +1515,24 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
575
1515
|
view?: string | undefined;
|
576
1516
|
labelPlacement?: "inner" | "outer" | undefined;
|
577
1517
|
} & {
|
578
|
-
readOnly?:
|
579
|
-
disabled?:
|
1518
|
+
readOnly?: true | undefined;
|
1519
|
+
disabled?: boolean | undefined;
|
580
1520
|
alwaysOpened?: false | undefined;
|
581
1521
|
} & {
|
582
1522
|
multiple: true;
|
583
1523
|
value?: string[] | undefined;
|
1524
|
+
defaultValue?: undefined;
|
584
1525
|
onChange?: ((value: string[]) => void) | undefined;
|
585
1526
|
isTargetAmount?: true | undefined;
|
586
1527
|
targetAmount?: number | undefined;
|
587
1528
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1529
|
+
name?: undefined;
|
588
1530
|
} & {
|
589
1531
|
requiredPlacement?: "left" | "right" | undefined;
|
590
1532
|
} & {
|
591
1533
|
required: true;
|
592
1534
|
optional?: false | undefined;
|
593
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1535
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
594
1536
|
items: ItemOption[];
|
595
1537
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
596
1538
|
label?: string | undefined;
|
@@ -611,22 +1553,24 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
611
1553
|
view?: string | undefined;
|
612
1554
|
labelPlacement?: "inner" | "outer" | undefined;
|
613
1555
|
} & {
|
614
|
-
readOnly?:
|
615
|
-
disabled?:
|
1556
|
+
readOnly?: true | undefined;
|
1557
|
+
disabled?: boolean | undefined;
|
616
1558
|
alwaysOpened?: false | undefined;
|
617
1559
|
} & {
|
618
1560
|
multiple: true;
|
619
1561
|
value?: string[] | undefined;
|
1562
|
+
defaultValue?: undefined;
|
620
1563
|
onChange?: ((value: string[]) => void) | undefined;
|
621
1564
|
isTargetAmount?: true | undefined;
|
622
1565
|
targetAmount?: number | undefined;
|
623
1566
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1567
|
+
name?: undefined;
|
624
1568
|
} & {
|
625
1569
|
requiredPlacement?: "left" | "right" | undefined;
|
626
1570
|
} & {
|
627
1571
|
optional?: true | undefined;
|
628
1572
|
required?: false | undefined;
|
629
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1573
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
630
1574
|
items: ItemOption[];
|
631
1575
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
632
1576
|
label?: string | undefined;
|
@@ -647,12 +1591,14 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
647
1591
|
view?: string | undefined;
|
648
1592
|
labelPlacement?: "inner" | "outer" | undefined;
|
649
1593
|
} & {
|
650
|
-
readOnly?:
|
651
|
-
disabled?:
|
652
|
-
alwaysOpened?:
|
1594
|
+
readOnly?: false | undefined;
|
1595
|
+
disabled?: false | undefined;
|
1596
|
+
alwaysOpened?: true | undefined;
|
653
1597
|
} & {
|
1598
|
+
name?: undefined;
|
654
1599
|
multiple?: false | undefined;
|
655
1600
|
value?: string | undefined;
|
1601
|
+
defaultValue?: undefined;
|
656
1602
|
onChange?: ((value: string) => void) | undefined;
|
657
1603
|
isTargetAmount?: false | undefined;
|
658
1604
|
targetAmount?: undefined;
|
@@ -662,7 +1608,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
662
1608
|
} & {
|
663
1609
|
required: true;
|
664
1610
|
optional?: false | undefined;
|
665
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1611
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
666
1612
|
items: ItemOption[];
|
667
1613
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
668
1614
|
label?: string | undefined;
|
@@ -683,12 +1629,14 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
683
1629
|
view?: string | undefined;
|
684
1630
|
labelPlacement?: "inner" | "outer" | undefined;
|
685
1631
|
} & {
|
686
|
-
readOnly?:
|
687
|
-
disabled?:
|
688
|
-
alwaysOpened?:
|
1632
|
+
readOnly?: false | undefined;
|
1633
|
+
disabled?: false | undefined;
|
1634
|
+
alwaysOpened?: true | undefined;
|
689
1635
|
} & {
|
1636
|
+
name?: undefined;
|
690
1637
|
multiple?: false | undefined;
|
691
1638
|
value?: string | undefined;
|
1639
|
+
defaultValue?: undefined;
|
692
1640
|
onChange?: ((value: string) => void) | undefined;
|
693
1641
|
isTargetAmount?: false | undefined;
|
694
1642
|
targetAmount?: undefined;
|
@@ -698,7 +1646,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
698
1646
|
} & {
|
699
1647
|
optional?: true | undefined;
|
700
1648
|
required?: false | undefined;
|
701
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1649
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
702
1650
|
items: ItemOption[];
|
703
1651
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
704
1652
|
label?: string | undefined;
|
@@ -719,22 +1667,24 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
719
1667
|
view?: string | undefined;
|
720
1668
|
labelPlacement?: "inner" | "outer" | undefined;
|
721
1669
|
} & {
|
722
|
-
readOnly?:
|
723
|
-
disabled?:
|
724
|
-
alwaysOpened?:
|
1670
|
+
readOnly?: false | undefined;
|
1671
|
+
disabled?: false | undefined;
|
1672
|
+
alwaysOpened?: true | undefined;
|
725
1673
|
} & {
|
726
1674
|
multiple: true;
|
727
1675
|
value?: string[] | undefined;
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
1676
|
+
defaultValue?: string[] | undefined;
|
1677
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1678
|
+
isTargetAmount?: false | undefined;
|
1679
|
+
targetAmount?: undefined;
|
1680
|
+
renderValue?: undefined;
|
1681
|
+
name: string;
|
732
1682
|
} & {
|
733
1683
|
requiredPlacement?: "left" | "right" | undefined;
|
734
1684
|
} & {
|
735
1685
|
required: true;
|
736
1686
|
optional?: false | undefined;
|
737
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1687
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
738
1688
|
items: ItemOption[];
|
739
1689
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
740
1690
|
label?: string | undefined;
|
@@ -755,22 +1705,24 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
755
1705
|
view?: string | undefined;
|
756
1706
|
labelPlacement?: "inner" | "outer" | undefined;
|
757
1707
|
} & {
|
758
|
-
readOnly?:
|
759
|
-
disabled?:
|
760
|
-
alwaysOpened?:
|
1708
|
+
readOnly?: false | undefined;
|
1709
|
+
disabled?: false | undefined;
|
1710
|
+
alwaysOpened?: true | undefined;
|
761
1711
|
} & {
|
762
1712
|
multiple: true;
|
763
1713
|
value?: string[] | undefined;
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
1714
|
+
defaultValue?: string[] | undefined;
|
1715
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1716
|
+
isTargetAmount?: false | undefined;
|
1717
|
+
targetAmount?: undefined;
|
1718
|
+
renderValue?: undefined;
|
1719
|
+
name: string;
|
768
1720
|
} & {
|
769
1721
|
requiredPlacement?: "left" | "right" | undefined;
|
770
1722
|
} & {
|
771
1723
|
optional?: true | undefined;
|
772
1724
|
required?: false | undefined;
|
773
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1725
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
774
1726
|
items: ItemOption[];
|
775
1727
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
776
1728
|
label?: string | undefined;
|
@@ -797,16 +1749,18 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
797
1749
|
} & {
|
798
1750
|
multiple?: false | undefined;
|
799
1751
|
value?: string | undefined;
|
800
|
-
|
1752
|
+
defaultValue?: string | undefined;
|
1753
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
801
1754
|
isTargetAmount?: false | undefined;
|
802
1755
|
targetAmount?: undefined;
|
803
1756
|
renderValue?: undefined;
|
1757
|
+
name: string;
|
804
1758
|
} & {
|
805
1759
|
requiredPlacement?: "left" | "right" | undefined;
|
806
1760
|
} & {
|
807
1761
|
required: true;
|
808
1762
|
optional?: false | undefined;
|
809
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1763
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
810
1764
|
items: ItemOption[];
|
811
1765
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
812
1766
|
label?: string | undefined;
|
@@ -833,16 +1787,18 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
833
1787
|
} & {
|
834
1788
|
multiple?: false | undefined;
|
835
1789
|
value?: string | undefined;
|
836
|
-
|
1790
|
+
defaultValue?: string | undefined;
|
1791
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
837
1792
|
isTargetAmount?: false | undefined;
|
838
1793
|
targetAmount?: undefined;
|
839
1794
|
renderValue?: undefined;
|
1795
|
+
name: string;
|
840
1796
|
} & {
|
841
1797
|
requiredPlacement?: "left" | "right" | undefined;
|
842
1798
|
} & {
|
843
1799
|
optional?: true | undefined;
|
844
1800
|
required?: false | undefined;
|
845
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1801
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
846
1802
|
items: ItemOption[];
|
847
1803
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
848
1804
|
label?: string | undefined;
|
@@ -869,16 +1825,18 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
869
1825
|
} & {
|
870
1826
|
multiple: true;
|
871
1827
|
value?: string[] | undefined;
|
1828
|
+
defaultValue?: undefined;
|
872
1829
|
onChange?: ((value: string[]) => void) | undefined;
|
873
1830
|
isTargetAmount?: true | undefined;
|
874
1831
|
targetAmount?: number | undefined;
|
875
1832
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1833
|
+
name?: undefined;
|
876
1834
|
} & {
|
877
1835
|
requiredPlacement?: "left" | "right" | undefined;
|
878
1836
|
} & {
|
879
1837
|
required: true;
|
880
1838
|
optional?: false | undefined;
|
881
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1839
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
882
1840
|
items: ItemOption[];
|
883
1841
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
884
1842
|
label?: string | undefined;
|
@@ -905,16 +1863,18 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
905
1863
|
} & {
|
906
1864
|
multiple: true;
|
907
1865
|
value?: string[] | undefined;
|
1866
|
+
defaultValue?: undefined;
|
908
1867
|
onChange?: ((value: string[]) => void) | undefined;
|
909
1868
|
isTargetAmount?: true | undefined;
|
910
1869
|
targetAmount?: number | undefined;
|
911
1870
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1871
|
+
name?: undefined;
|
912
1872
|
} & {
|
913
1873
|
requiredPlacement?: "left" | "right" | undefined;
|
914
1874
|
} & {
|
915
1875
|
optional?: true | undefined;
|
916
1876
|
required?: false | undefined;
|
917
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>)), "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & {
|
1877
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>)), "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & {
|
918
1878
|
ref?: ForwardedRef<HTMLInputElement> | undefined;
|
919
1879
|
}) => ReactElement | null;
|
920
1880
|
export { Combobox };
|