@salutejs/plasma-new-hope 0.195.2-canary.1577.11938240958.0 → 0.196.0-canary.1552.11952949201.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Autocomplete/Autocomplete.css +1 -2
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +3 -2
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +41 -8
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +3 -2
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +3 -2
- 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/DatePicker/RangeDate/RangeDate.css +1 -2
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +1 -2
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +1 -2
- package/cjs/components/Pagination/Pagination.css +1 -2
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -2
- package/cjs/components/Range/Range.css +1 -2
- package/cjs/components/Select/Select.css +1 -2
- package/cjs/components/Select/ui/Inner/Inner.css +1 -2
- package/cjs/components/Select/ui/Inner/ui/Item/Item.css +1 -2
- package/cjs/components/Select/ui/Target/Target.css +1 -2
- package/cjs/components/Select/ui/Target/Target.js +1 -2
- package/cjs/components/Select/ui/Target/Target.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -2
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/cjs/components/Slider/Slider.css +1 -2
- package/cjs/components/Slider/components/Double/Double.css +1 -2
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -2
- package/cjs/components/TextField/TextField.js +4 -7
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +1 -2
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -7
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_1yosnxc.css → TextFieldChip.styles_1y8n7la.css} +0 -1
- package/cjs/index.css +3 -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 +42 -9
- 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/ui/Target/Target.js +1 -2
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/emotion/cjs/components/TextField/TextField.js +5 -8
- package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
- package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +3 -12
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -10
- package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -10
- package/emotion/cjs/utils/createEvent.js +53 -0
- package/emotion/cjs/utils/index.js +10 -1
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +43 -9
- 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/ui/Target/Target.js +1 -2
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/emotion/es/components/TextField/TextField.js +5 -8
- package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
- package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -11
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -10
- package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
- package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -10
- package/emotion/es/utils/createEvent.js +47 -0
- package/emotion/es/utils/index.js +1 -0
- package/es/components/Autocomplete/Autocomplete.css +1 -2
- package/es/components/Combobox/ComboboxNew/Combobox.css +3 -2
- package/es/components/Combobox/ComboboxNew/Combobox.js +43 -10
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +3 -2
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +3 -2
- 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/DatePicker/RangeDate/RangeDate.css +1 -2
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +1 -2
- package/es/components/DatePicker/SingleDate/SingleDate.css +1 -2
- package/es/components/Pagination/Pagination.css +1 -2
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -2
- package/es/components/Range/Range.css +1 -2
- package/es/components/Select/Select.css +1 -2
- package/es/components/Select/ui/Inner/Inner.css +1 -2
- package/es/components/Select/ui/Inner/ui/Item/Item.css +1 -2
- package/es/components/Select/ui/Target/Target.css +1 -2
- package/es/components/Select/ui/Target/Target.js +1 -2
- package/es/components/Select/ui/Target/Target.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -2
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/es/components/Slider/Slider.css +1 -2
- package/es/components/Slider/components/Double/Double.css +1 -2
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -2
- package/es/components/TextField/TextField.js +4 -7
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +1 -2
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -7
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_1yosnxc.css → TextFieldChip.styles_1y8n7la.css} +0 -1
- package/es/index.css +3 -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 +42 -9
- 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/ui/Target/Target.js +1 -2
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/styled-components/cjs/components/TextField/TextField.js +4 -7
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -10
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -10
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -10
- 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 +43 -9
- 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/ui/Target/Target.js +1 -2
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/styled-components/es/components/TextField/TextField.js +4 -7
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -9
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -10
- package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -10
- package/styled-components/es/utils/createEvent.js +47 -0
- package/styled-components/es/utils/index.js +1 -0
- package/types/components/Autocomplete/Autocomplete.types.d.ts +2 -3
- package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +0 -16
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +28 -9
- 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/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +0 -16
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -16
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +0 -6
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Range/Range.styles.d.ts +0 -16
- package/types/components/Range/Range.styles.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +0 -5
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.d.ts +1 -1
- package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.types.d.ts +1 -1
- 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 +0 -16
- 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/components/Slider/components/Double/Double.styles.d.ts +0 -16
- package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +0 -8
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +0 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +1 -5
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +3 -553
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1174 -166
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +0 -16
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +0 -6
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -16
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +3 -553
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1174 -166
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Mask/Mask.d.ts +0 -16
- package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.d.ts +0 -6
- package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -16
- package/types/examples/plasma_web/components/TextField/TextField.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
@@ -48,6 +48,9 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
48
48
|
readOnly?: boolean | undefined;
|
49
49
|
disabled?: true | undefined;
|
50
50
|
alwaysOpened?: false | undefined;
|
51
|
+
} & {
|
52
|
+
name: never;
|
53
|
+
defaultValue: never;
|
51
54
|
} & {
|
52
55
|
multiple?: false | undefined;
|
53
56
|
value?: string | undefined;
|
@@ -60,7 +63,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
60
63
|
} & {
|
61
64
|
required: true;
|
62
65
|
optional?: false | undefined;
|
63
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
66
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
64
67
|
items: ItemOption[];
|
65
68
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
66
69
|
label?: string | undefined;
|
@@ -84,6 +87,9 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
84
87
|
readOnly?: boolean | undefined;
|
85
88
|
disabled?: true | undefined;
|
86
89
|
alwaysOpened?: false | undefined;
|
90
|
+
} & {
|
91
|
+
name: never;
|
92
|
+
defaultValue: never;
|
87
93
|
} & {
|
88
94
|
multiple?: false | undefined;
|
89
95
|
value?: string | undefined;
|
@@ -96,7 +102,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
96
102
|
} & {
|
97
103
|
optional?: true | undefined;
|
98
104
|
required?: false | undefined;
|
99
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
105
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
100
106
|
items: ItemOption[];
|
101
107
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
102
108
|
label?: string | undefined;
|
@@ -121,18 +127,21 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
121
127
|
disabled?: true | undefined;
|
122
128
|
alwaysOpened?: false | undefined;
|
123
129
|
} & {
|
124
|
-
|
125
|
-
|
126
|
-
onChange?: (
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
+
name: string;
|
131
|
+
defaultValue?: string | undefined;
|
132
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
133
|
+
} & {
|
134
|
+
multiple?: false | undefined;
|
135
|
+
value?: string | undefined;
|
136
|
+
isTargetAmount?: false | undefined;
|
137
|
+
targetAmount?: undefined;
|
138
|
+
renderValue?: undefined;
|
130
139
|
} & {
|
131
140
|
requiredPlacement?: "left" | "right" | undefined;
|
132
141
|
} & {
|
133
142
|
required: true;
|
134
143
|
optional?: false | undefined;
|
135
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
144
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
136
145
|
items: ItemOption[];
|
137
146
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
138
147
|
label?: string | undefined;
|
@@ -157,18 +166,21 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
157
166
|
disabled?: true | undefined;
|
158
167
|
alwaysOpened?: false | undefined;
|
159
168
|
} & {
|
160
|
-
|
161
|
-
|
162
|
-
onChange?: (
|
163
|
-
|
164
|
-
|
165
|
-
|
169
|
+
name: string;
|
170
|
+
defaultValue?: string | undefined;
|
171
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
172
|
+
} & {
|
173
|
+
multiple?: false | undefined;
|
174
|
+
value?: string | undefined;
|
175
|
+
isTargetAmount?: false | undefined;
|
176
|
+
targetAmount?: undefined;
|
177
|
+
renderValue?: undefined;
|
166
178
|
} & {
|
167
179
|
requiredPlacement?: "left" | "right" | undefined;
|
168
180
|
} & {
|
169
181
|
optional?: true | undefined;
|
170
182
|
required?: false | undefined;
|
171
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
183
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
172
184
|
items: ItemOption[];
|
173
185
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
174
186
|
label?: string | undefined;
|
@@ -189,22 +201,25 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
189
201
|
view?: string | undefined;
|
190
202
|
labelPlacement?: "inner" | "outer" | undefined;
|
191
203
|
} & {
|
192
|
-
readOnly?:
|
193
|
-
disabled?:
|
204
|
+
readOnly?: boolean | undefined;
|
205
|
+
disabled?: true | undefined;
|
194
206
|
alwaysOpened?: false | undefined;
|
195
207
|
} & {
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
208
|
+
name: never;
|
209
|
+
defaultValue: never;
|
210
|
+
} & {
|
211
|
+
multiple: true;
|
212
|
+
value?: string[] | undefined;
|
213
|
+
onChange?: ((value: string[]) => void) | undefined;
|
214
|
+
isTargetAmount?: true | undefined;
|
215
|
+
targetAmount?: number | undefined;
|
216
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
202
217
|
} & {
|
203
218
|
requiredPlacement?: "left" | "right" | undefined;
|
204
219
|
} & {
|
205
220
|
required: true;
|
206
221
|
optional?: false | undefined;
|
207
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
222
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
208
223
|
items: ItemOption[];
|
209
224
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
210
225
|
label?: string | undefined;
|
@@ -225,22 +240,25 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
225
240
|
view?: string | undefined;
|
226
241
|
labelPlacement?: "inner" | "outer" | undefined;
|
227
242
|
} & {
|
228
|
-
readOnly?:
|
229
|
-
disabled?:
|
243
|
+
readOnly?: boolean | undefined;
|
244
|
+
disabled?: true | undefined;
|
230
245
|
alwaysOpened?: false | undefined;
|
231
246
|
} & {
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
247
|
+
name: never;
|
248
|
+
defaultValue: never;
|
249
|
+
} & {
|
250
|
+
multiple: true;
|
251
|
+
value?: string[] | undefined;
|
252
|
+
onChange?: ((value: string[]) => void) | undefined;
|
253
|
+
isTargetAmount?: true | undefined;
|
254
|
+
targetAmount?: number | undefined;
|
255
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
238
256
|
} & {
|
239
257
|
requiredPlacement?: "left" | "right" | undefined;
|
240
258
|
} & {
|
241
259
|
optional?: true | undefined;
|
242
260
|
required?: false | undefined;
|
243
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
261
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
244
262
|
items: ItemOption[];
|
245
263
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
246
264
|
label?: string | undefined;
|
@@ -261,13 +279,16 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
261
279
|
view?: string | undefined;
|
262
280
|
labelPlacement?: "inner" | "outer" | undefined;
|
263
281
|
} & {
|
264
|
-
readOnly?:
|
265
|
-
disabled?:
|
282
|
+
readOnly?: boolean | undefined;
|
283
|
+
disabled?: true | undefined;
|
266
284
|
alwaysOpened?: false | undefined;
|
285
|
+
} & {
|
286
|
+
name: string;
|
287
|
+
defaultValue?: string | undefined;
|
288
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
267
289
|
} & {
|
268
290
|
multiple: true;
|
269
291
|
value?: string[] | undefined;
|
270
|
-
onChange?: ((value: string[]) => void) | undefined;
|
271
292
|
isTargetAmount?: true | undefined;
|
272
293
|
targetAmount?: number | undefined;
|
273
294
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
@@ -276,7 +297,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
276
297
|
} & {
|
277
298
|
required: true;
|
278
299
|
optional?: false | undefined;
|
279
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
300
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
280
301
|
items: ItemOption[];
|
281
302
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
282
303
|
label?: string | undefined;
|
@@ -297,13 +318,16 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
297
318
|
view?: string | undefined;
|
298
319
|
labelPlacement?: "inner" | "outer" | undefined;
|
299
320
|
} & {
|
300
|
-
readOnly?:
|
301
|
-
disabled?:
|
321
|
+
readOnly?: boolean | undefined;
|
322
|
+
disabled?: true | undefined;
|
302
323
|
alwaysOpened?: false | undefined;
|
324
|
+
} & {
|
325
|
+
name: string;
|
326
|
+
defaultValue?: string | undefined;
|
327
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
303
328
|
} & {
|
304
329
|
multiple: true;
|
305
330
|
value?: string[] | undefined;
|
306
|
-
onChange?: ((value: string[]) => void) | undefined;
|
307
331
|
isTargetAmount?: true | undefined;
|
308
332
|
targetAmount?: number | undefined;
|
309
333
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
@@ -312,7 +336,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
312
336
|
} & {
|
313
337
|
optional?: true | undefined;
|
314
338
|
required?: false | undefined;
|
315
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
339
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
316
340
|
items: ItemOption[];
|
317
341
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
318
342
|
label?: string | undefined;
|
@@ -333,9 +357,12 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
333
357
|
view?: string | undefined;
|
334
358
|
labelPlacement?: "inner" | "outer" | undefined;
|
335
359
|
} & {
|
336
|
-
readOnly?:
|
337
|
-
disabled?:
|
338
|
-
alwaysOpened?:
|
360
|
+
readOnly?: true | undefined;
|
361
|
+
disabled?: boolean | undefined;
|
362
|
+
alwaysOpened?: false | undefined;
|
363
|
+
} & {
|
364
|
+
name: never;
|
365
|
+
defaultValue: never;
|
339
366
|
} & {
|
340
367
|
multiple?: false | undefined;
|
341
368
|
value?: string | undefined;
|
@@ -348,7 +375,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
348
375
|
} & {
|
349
376
|
required: true;
|
350
377
|
optional?: false | undefined;
|
351
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
378
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
352
379
|
items: ItemOption[];
|
353
380
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
354
381
|
label?: string | undefined;
|
@@ -369,9 +396,12 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
369
396
|
view?: string | undefined;
|
370
397
|
labelPlacement?: "inner" | "outer" | undefined;
|
371
398
|
} & {
|
372
|
-
readOnly?:
|
373
|
-
disabled?:
|
374
|
-
alwaysOpened?:
|
399
|
+
readOnly?: true | undefined;
|
400
|
+
disabled?: boolean | undefined;
|
401
|
+
alwaysOpened?: false | undefined;
|
402
|
+
} & {
|
403
|
+
name: never;
|
404
|
+
defaultValue: never;
|
375
405
|
} & {
|
376
406
|
multiple?: false | undefined;
|
377
407
|
value?: string | undefined;
|
@@ -384,7 +414,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
384
414
|
} & {
|
385
415
|
optional?: true | undefined;
|
386
416
|
required?: false | undefined;
|
387
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
417
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
388
418
|
items: ItemOption[];
|
389
419
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
390
420
|
label?: string | undefined;
|
@@ -405,22 +435,25 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
405
435
|
view?: string | undefined;
|
406
436
|
labelPlacement?: "inner" | "outer" | undefined;
|
407
437
|
} & {
|
408
|
-
readOnly?:
|
409
|
-
disabled?:
|
410
|
-
alwaysOpened?:
|
438
|
+
readOnly?: true | undefined;
|
439
|
+
disabled?: boolean | undefined;
|
440
|
+
alwaysOpened?: false | undefined;
|
411
441
|
} & {
|
412
|
-
|
413
|
-
|
414
|
-
onChange?: (
|
415
|
-
|
416
|
-
|
417
|
-
|
442
|
+
name: string;
|
443
|
+
defaultValue?: string | undefined;
|
444
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
445
|
+
} & {
|
446
|
+
multiple?: false | undefined;
|
447
|
+
value?: string | undefined;
|
448
|
+
isTargetAmount?: false | undefined;
|
449
|
+
targetAmount?: undefined;
|
450
|
+
renderValue?: undefined;
|
418
451
|
} & {
|
419
452
|
requiredPlacement?: "left" | "right" | undefined;
|
420
453
|
} & {
|
421
454
|
required: true;
|
422
455
|
optional?: false | undefined;
|
423
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
456
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
424
457
|
items: ItemOption[];
|
425
458
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
426
459
|
label?: string | undefined;
|
@@ -441,48 +474,25 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
441
474
|
view?: string | undefined;
|
442
475
|
labelPlacement?: "inner" | "outer" | undefined;
|
443
476
|
} & {
|
444
|
-
readOnly?:
|
445
|
-
disabled?:
|
446
|
-
alwaysOpened?:
|
477
|
+
readOnly?: true | undefined;
|
478
|
+
disabled?: boolean | undefined;
|
479
|
+
alwaysOpened?: false | undefined;
|
447
480
|
} & {
|
448
|
-
|
449
|
-
|
450
|
-
onChange?: (
|
451
|
-
|
452
|
-
|
453
|
-
|
481
|
+
name: string;
|
482
|
+
defaultValue?: string | undefined;
|
483
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
484
|
+
} & {
|
485
|
+
multiple?: false | undefined;
|
486
|
+
value?: string | undefined;
|
487
|
+
isTargetAmount?: false | undefined;
|
488
|
+
targetAmount?: undefined;
|
489
|
+
renderValue?: undefined;
|
454
490
|
} & {
|
455
491
|
requiredPlacement?: "left" | "right" | undefined;
|
456
492
|
} & {
|
457
493
|
optional?: true | undefined;
|
458
494
|
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
|
-
}> & (({
|
495
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
486
496
|
items: ItemOption[];
|
487
497
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
488
498
|
label?: string | undefined;
|
@@ -503,22 +513,25 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
503
513
|
view?: string | undefined;
|
504
514
|
labelPlacement?: "inner" | "outer" | undefined;
|
505
515
|
} & {
|
506
|
-
readOnly?:
|
507
|
-
disabled?:
|
516
|
+
readOnly?: true | undefined;
|
517
|
+
disabled?: boolean | undefined;
|
508
518
|
alwaysOpened?: false | undefined;
|
509
519
|
} & {
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
520
|
+
name: never;
|
521
|
+
defaultValue: never;
|
522
|
+
} & {
|
523
|
+
multiple: true;
|
524
|
+
value?: string[] | undefined;
|
525
|
+
onChange?: ((value: string[]) => void) | undefined;
|
526
|
+
isTargetAmount?: true | undefined;
|
527
|
+
targetAmount?: number | undefined;
|
528
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
516
529
|
} & {
|
517
530
|
requiredPlacement?: "left" | "right" | undefined;
|
518
531
|
} & {
|
519
532
|
required: true;
|
520
533
|
optional?: false | undefined;
|
521
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
534
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
522
535
|
items: ItemOption[];
|
523
536
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
524
537
|
label?: string | undefined;
|
@@ -539,22 +552,25 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
539
552
|
view?: string | undefined;
|
540
553
|
labelPlacement?: "inner" | "outer" | undefined;
|
541
554
|
} & {
|
542
|
-
readOnly?:
|
543
|
-
disabled?:
|
555
|
+
readOnly?: true | undefined;
|
556
|
+
disabled?: boolean | undefined;
|
544
557
|
alwaysOpened?: false | undefined;
|
545
558
|
} & {
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
559
|
+
name: never;
|
560
|
+
defaultValue: never;
|
561
|
+
} & {
|
562
|
+
multiple: true;
|
563
|
+
value?: string[] | undefined;
|
564
|
+
onChange?: ((value: string[]) => void) | undefined;
|
565
|
+
isTargetAmount?: true | undefined;
|
566
|
+
targetAmount?: number | undefined;
|
567
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
552
568
|
} & {
|
553
569
|
requiredPlacement?: "left" | "right" | undefined;
|
554
570
|
} & {
|
555
571
|
optional?: true | undefined;
|
556
572
|
required?: false | undefined;
|
557
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
573
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
558
574
|
items: ItemOption[];
|
559
575
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
560
576
|
label?: string | undefined;
|
@@ -575,13 +591,16 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
575
591
|
view?: string | undefined;
|
576
592
|
labelPlacement?: "inner" | "outer" | undefined;
|
577
593
|
} & {
|
578
|
-
readOnly?:
|
579
|
-
disabled?:
|
594
|
+
readOnly?: true | undefined;
|
595
|
+
disabled?: boolean | undefined;
|
580
596
|
alwaysOpened?: false | undefined;
|
597
|
+
} & {
|
598
|
+
name: string;
|
599
|
+
defaultValue?: string | undefined;
|
600
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
581
601
|
} & {
|
582
602
|
multiple: true;
|
583
603
|
value?: string[] | undefined;
|
584
|
-
onChange?: ((value: string[]) => void) | undefined;
|
585
604
|
isTargetAmount?: true | undefined;
|
586
605
|
targetAmount?: number | undefined;
|
587
606
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
@@ -590,7 +609,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
590
609
|
} & {
|
591
610
|
required: true;
|
592
611
|
optional?: false | undefined;
|
593
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
612
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
594
613
|
items: ItemOption[];
|
595
614
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
596
615
|
label?: string | undefined;
|
@@ -611,13 +630,16 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
611
630
|
view?: string | undefined;
|
612
631
|
labelPlacement?: "inner" | "outer" | undefined;
|
613
632
|
} & {
|
614
|
-
readOnly?:
|
615
|
-
disabled?:
|
633
|
+
readOnly?: true | undefined;
|
634
|
+
disabled?: boolean | undefined;
|
616
635
|
alwaysOpened?: false | undefined;
|
636
|
+
} & {
|
637
|
+
name: string;
|
638
|
+
defaultValue?: string | undefined;
|
639
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
617
640
|
} & {
|
618
641
|
multiple: true;
|
619
642
|
value?: string[] | undefined;
|
620
|
-
onChange?: ((value: string[]) => void) | undefined;
|
621
643
|
isTargetAmount?: true | undefined;
|
622
644
|
targetAmount?: number | undefined;
|
623
645
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
@@ -626,7 +648,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
626
648
|
} & {
|
627
649
|
optional?: true | undefined;
|
628
650
|
required?: false | undefined;
|
629
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
651
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
630
652
|
items: ItemOption[];
|
631
653
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
632
654
|
label?: string | undefined;
|
@@ -647,9 +669,12 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
647
669
|
view?: string | undefined;
|
648
670
|
labelPlacement?: "inner" | "outer" | undefined;
|
649
671
|
} & {
|
650
|
-
readOnly?:
|
651
|
-
disabled?:
|
652
|
-
alwaysOpened?:
|
672
|
+
readOnly?: false | undefined;
|
673
|
+
disabled?: false | undefined;
|
674
|
+
alwaysOpened?: true | undefined;
|
675
|
+
} & {
|
676
|
+
name: never;
|
677
|
+
defaultValue: never;
|
653
678
|
} & {
|
654
679
|
multiple?: false | undefined;
|
655
680
|
value?: string | undefined;
|
@@ -662,7 +687,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
662
687
|
} & {
|
663
688
|
required: true;
|
664
689
|
optional?: false | undefined;
|
665
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
690
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
666
691
|
items: ItemOption[];
|
667
692
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
668
693
|
label?: string | undefined;
|
@@ -683,9 +708,12 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
683
708
|
view?: string | undefined;
|
684
709
|
labelPlacement?: "inner" | "outer" | undefined;
|
685
710
|
} & {
|
686
|
-
readOnly?:
|
687
|
-
disabled?:
|
688
|
-
alwaysOpened?:
|
711
|
+
readOnly?: false | undefined;
|
712
|
+
disabled?: false | undefined;
|
713
|
+
alwaysOpened?: true | undefined;
|
714
|
+
} & {
|
715
|
+
name: never;
|
716
|
+
defaultValue: never;
|
689
717
|
} & {
|
690
718
|
multiple?: false | undefined;
|
691
719
|
value?: string | undefined;
|
@@ -698,7 +726,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
698
726
|
} & {
|
699
727
|
optional?: true | undefined;
|
700
728
|
required?: false | undefined;
|
701
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
729
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
702
730
|
items: ItemOption[];
|
703
731
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
704
732
|
label?: string | undefined;
|
@@ -719,22 +747,25 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
719
747
|
view?: string | undefined;
|
720
748
|
labelPlacement?: "inner" | "outer" | undefined;
|
721
749
|
} & {
|
722
|
-
readOnly?:
|
723
|
-
disabled?:
|
724
|
-
alwaysOpened?:
|
750
|
+
readOnly?: false | undefined;
|
751
|
+
disabled?: false | undefined;
|
752
|
+
alwaysOpened?: true | undefined;
|
725
753
|
} & {
|
726
|
-
|
727
|
-
|
728
|
-
onChange?: (
|
729
|
-
|
730
|
-
|
731
|
-
|
754
|
+
name: string;
|
755
|
+
defaultValue?: string | undefined;
|
756
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
757
|
+
} & {
|
758
|
+
multiple?: false | undefined;
|
759
|
+
value?: string | undefined;
|
760
|
+
isTargetAmount?: false | undefined;
|
761
|
+
targetAmount?: undefined;
|
762
|
+
renderValue?: undefined;
|
732
763
|
} & {
|
733
764
|
requiredPlacement?: "left" | "right" | undefined;
|
734
765
|
} & {
|
735
766
|
required: true;
|
736
767
|
optional?: false | undefined;
|
737
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
768
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
738
769
|
items: ItemOption[];
|
739
770
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
740
771
|
label?: string | undefined;
|
@@ -755,22 +786,25 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
755
786
|
view?: string | undefined;
|
756
787
|
labelPlacement?: "inner" | "outer" | undefined;
|
757
788
|
} & {
|
758
|
-
readOnly?:
|
759
|
-
disabled?:
|
760
|
-
alwaysOpened?:
|
789
|
+
readOnly?: false | undefined;
|
790
|
+
disabled?: false | undefined;
|
791
|
+
alwaysOpened?: true | undefined;
|
761
792
|
} & {
|
762
|
-
|
763
|
-
|
764
|
-
onChange?: (
|
765
|
-
|
766
|
-
|
767
|
-
|
793
|
+
name: string;
|
794
|
+
defaultValue?: string | undefined;
|
795
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
796
|
+
} & {
|
797
|
+
multiple?: false | undefined;
|
798
|
+
value?: string | undefined;
|
799
|
+
isTargetAmount?: false | undefined;
|
800
|
+
targetAmount?: undefined;
|
801
|
+
renderValue?: undefined;
|
768
802
|
} & {
|
769
803
|
requiredPlacement?: "left" | "right" | undefined;
|
770
804
|
} & {
|
771
805
|
optional?: true | undefined;
|
772
806
|
required?: false | undefined;
|
773
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
807
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
774
808
|
items: ItemOption[];
|
775
809
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
776
810
|
label?: string | undefined;
|
@@ -795,20 +829,829 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
795
829
|
disabled?: false | undefined;
|
796
830
|
alwaysOpened?: true | undefined;
|
797
831
|
} & {
|
798
|
-
|
799
|
-
|
800
|
-
onChange?: ((value: string) => void) | undefined;
|
801
|
-
isTargetAmount?: false | undefined;
|
802
|
-
targetAmount?: undefined;
|
803
|
-
renderValue?: undefined;
|
804
|
-
} & {
|
805
|
-
requiredPlacement?: "left" | "right" | undefined;
|
832
|
+
name: never;
|
833
|
+
defaultValue: never;
|
806
834
|
} & {
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
835
|
+
multiple: true;
|
836
|
+
value?: string[] | undefined;
|
837
|
+
onChange?: ((value: string[]) => void) | undefined;
|
838
|
+
isTargetAmount?: true | undefined;
|
839
|
+
targetAmount?: number | undefined;
|
840
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
841
|
+
} & {
|
842
|
+
requiredPlacement?: "left" | "right" | undefined;
|
843
|
+
} & {
|
844
|
+
required: true;
|
845
|
+
optional?: false | undefined;
|
846
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
847
|
+
items: ItemOption[];
|
848
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
849
|
+
label?: string | undefined;
|
850
|
+
placeholder?: string | undefined;
|
851
|
+
helperText?: string | undefined;
|
852
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
853
|
+
textBefore?: string | undefined;
|
854
|
+
textAfter?: string | undefined;
|
855
|
+
variant?: "normal" | "tight" | undefined;
|
856
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
857
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
858
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
859
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
860
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
861
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
862
|
+
closeAfterSelect?: boolean | undefined;
|
863
|
+
size?: string | undefined;
|
864
|
+
view?: string | undefined;
|
865
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
866
|
+
} & {
|
867
|
+
readOnly?: false | undefined;
|
868
|
+
disabled?: false | undefined;
|
869
|
+
alwaysOpened?: true | undefined;
|
870
|
+
} & {
|
871
|
+
name: never;
|
872
|
+
defaultValue: never;
|
873
|
+
} & {
|
874
|
+
multiple: true;
|
875
|
+
value?: string[] | undefined;
|
876
|
+
onChange?: ((value: string[]) => void) | undefined;
|
877
|
+
isTargetAmount?: true | undefined;
|
878
|
+
targetAmount?: number | undefined;
|
879
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
880
|
+
} & {
|
881
|
+
requiredPlacement?: "left" | "right" | undefined;
|
882
|
+
} & {
|
883
|
+
optional?: true | undefined;
|
884
|
+
required?: false | undefined;
|
885
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
886
|
+
items: ItemOption[];
|
887
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
888
|
+
label?: string | undefined;
|
889
|
+
placeholder?: string | undefined;
|
890
|
+
helperText?: string | undefined;
|
891
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
892
|
+
textBefore?: string | undefined;
|
893
|
+
textAfter?: string | undefined;
|
894
|
+
variant?: "normal" | "tight" | undefined;
|
895
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
896
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
897
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
898
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
899
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
900
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
901
|
+
closeAfterSelect?: boolean | undefined;
|
902
|
+
size?: string | undefined;
|
903
|
+
view?: string | undefined;
|
904
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
905
|
+
} & {
|
906
|
+
readOnly?: false | undefined;
|
907
|
+
disabled?: false | undefined;
|
908
|
+
alwaysOpened?: true | undefined;
|
909
|
+
} & {
|
910
|
+
name: string;
|
911
|
+
defaultValue?: string | undefined;
|
912
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
913
|
+
} & {
|
914
|
+
multiple: true;
|
915
|
+
value?: string[] | undefined;
|
916
|
+
isTargetAmount?: true | undefined;
|
917
|
+
targetAmount?: number | undefined;
|
918
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
919
|
+
} & {
|
920
|
+
requiredPlacement?: "left" | "right" | undefined;
|
921
|
+
} & {
|
922
|
+
required: true;
|
923
|
+
optional?: false | undefined;
|
924
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
925
|
+
items: ItemOption[];
|
926
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
927
|
+
label?: string | undefined;
|
928
|
+
placeholder?: string | undefined;
|
929
|
+
helperText?: string | undefined;
|
930
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
931
|
+
textBefore?: string | undefined;
|
932
|
+
textAfter?: string | undefined;
|
933
|
+
variant?: "normal" | "tight" | undefined;
|
934
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
935
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
936
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
937
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
938
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
939
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
940
|
+
closeAfterSelect?: boolean | undefined;
|
941
|
+
size?: string | undefined;
|
942
|
+
view?: string | undefined;
|
943
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
944
|
+
} & {
|
945
|
+
readOnly?: false | undefined;
|
946
|
+
disabled?: false | undefined;
|
947
|
+
alwaysOpened?: true | undefined;
|
948
|
+
} & {
|
949
|
+
name: string;
|
950
|
+
defaultValue?: string | undefined;
|
951
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
952
|
+
} & {
|
953
|
+
multiple: true;
|
954
|
+
value?: string[] | undefined;
|
955
|
+
isTargetAmount?: true | undefined;
|
956
|
+
targetAmount?: number | undefined;
|
957
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
958
|
+
} & {
|
959
|
+
requiredPlacement?: "left" | "right" | undefined;
|
960
|
+
} & {
|
961
|
+
optional?: true | undefined;
|
962
|
+
required?: false | undefined;
|
963
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
|
964
|
+
declare type PropsFromConfig = keyof typeof config['variations'];
|
965
|
+
declare type PropsNew<T extends ItemOption> = Omit<ComboboxProps<T>, PropsFromConfig> & Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig>;
|
966
|
+
declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & Pick<import("../../../../engines/types").PropsType<{
|
967
|
+
view: {
|
968
|
+
default: import("@linaria/core").LinariaClassName;
|
969
|
+
positive: import("@linaria/core").LinariaClassName;
|
970
|
+
warning: import("@linaria/core").LinariaClassName;
|
971
|
+
negative: import("@linaria/core").LinariaClassName;
|
972
|
+
};
|
973
|
+
size: {
|
974
|
+
l: import("@linaria/core").LinariaClassName;
|
975
|
+
m: import("@linaria/core").LinariaClassName;
|
976
|
+
s: import("@linaria/core").LinariaClassName;
|
977
|
+
xs: import("@linaria/core").LinariaClassName;
|
978
|
+
};
|
979
|
+
labelPlacement: {
|
980
|
+
inner: import("@linaria/core").LinariaClassName;
|
981
|
+
outer: import("@linaria/core").LinariaClassName;
|
982
|
+
};
|
983
|
+
disabled: {
|
984
|
+
true: import("@linaria/core").LinariaClassName;
|
985
|
+
};
|
986
|
+
readOnly: {
|
987
|
+
true: import("@linaria/core").LinariaClassName;
|
988
|
+
};
|
989
|
+
}> & (({
|
990
|
+
items: ItemOption[];
|
991
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
992
|
+
label?: string | undefined;
|
993
|
+
placeholder?: string | undefined;
|
994
|
+
helperText?: string | undefined;
|
995
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
996
|
+
textBefore?: string | undefined;
|
997
|
+
textAfter?: string | undefined;
|
998
|
+
variant?: "normal" | "tight" | undefined;
|
999
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1000
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1001
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1002
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1003
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1004
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1005
|
+
closeAfterSelect?: boolean | undefined;
|
1006
|
+
size?: string | undefined;
|
1007
|
+
view?: string | undefined;
|
1008
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1009
|
+
} & {
|
1010
|
+
readOnly?: boolean | undefined;
|
1011
|
+
disabled?: true | undefined;
|
1012
|
+
alwaysOpened?: false | undefined;
|
1013
|
+
} & {
|
1014
|
+
name: never;
|
1015
|
+
defaultValue: never;
|
1016
|
+
} & {
|
1017
|
+
multiple?: false | undefined;
|
1018
|
+
value?: string | undefined;
|
1019
|
+
onChange?: ((value: string) => void) | undefined;
|
1020
|
+
isTargetAmount?: false | undefined;
|
1021
|
+
targetAmount?: undefined;
|
1022
|
+
renderValue?: undefined;
|
1023
|
+
} & {
|
1024
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1025
|
+
} & {
|
1026
|
+
required: true;
|
1027
|
+
optional?: false | undefined;
|
1028
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1029
|
+
items: ItemOption[];
|
1030
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1031
|
+
label?: string | undefined;
|
1032
|
+
placeholder?: string | undefined;
|
1033
|
+
helperText?: string | undefined;
|
1034
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1035
|
+
textBefore?: string | undefined;
|
1036
|
+
textAfter?: string | undefined;
|
1037
|
+
variant?: "normal" | "tight" | undefined;
|
1038
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1039
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1040
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1041
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1042
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1043
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1044
|
+
closeAfterSelect?: boolean | undefined;
|
1045
|
+
size?: string | undefined;
|
1046
|
+
view?: string | undefined;
|
1047
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1048
|
+
} & {
|
1049
|
+
readOnly?: boolean | undefined;
|
1050
|
+
disabled?: true | undefined;
|
1051
|
+
alwaysOpened?: false | undefined;
|
1052
|
+
} & {
|
1053
|
+
name: never;
|
1054
|
+
defaultValue: never;
|
1055
|
+
} & {
|
1056
|
+
multiple?: false | undefined;
|
1057
|
+
value?: string | undefined;
|
1058
|
+
onChange?: ((value: string) => void) | undefined;
|
1059
|
+
isTargetAmount?: false | undefined;
|
1060
|
+
targetAmount?: undefined;
|
1061
|
+
renderValue?: undefined;
|
1062
|
+
} & {
|
1063
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1064
|
+
} & {
|
1065
|
+
optional?: true | undefined;
|
1066
|
+
required?: false | undefined;
|
1067
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1068
|
+
items: ItemOption[];
|
1069
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1070
|
+
label?: string | undefined;
|
1071
|
+
placeholder?: string | undefined;
|
1072
|
+
helperText?: string | undefined;
|
1073
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1074
|
+
textBefore?: string | undefined;
|
1075
|
+
textAfter?: string | undefined;
|
1076
|
+
variant?: "normal" | "tight" | undefined;
|
1077
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1078
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1079
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1080
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1081
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1082
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1083
|
+
closeAfterSelect?: boolean | undefined;
|
1084
|
+
size?: string | undefined;
|
1085
|
+
view?: string | undefined;
|
1086
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1087
|
+
} & {
|
1088
|
+
readOnly?: boolean | undefined;
|
1089
|
+
disabled?: true | undefined;
|
1090
|
+
alwaysOpened?: false | undefined;
|
1091
|
+
} & {
|
1092
|
+
name: string;
|
1093
|
+
defaultValue?: string | undefined;
|
1094
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1095
|
+
} & {
|
1096
|
+
multiple?: false | undefined;
|
1097
|
+
value?: string | undefined;
|
1098
|
+
isTargetAmount?: false | undefined;
|
1099
|
+
targetAmount?: undefined;
|
1100
|
+
renderValue?: undefined;
|
1101
|
+
} & {
|
1102
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1103
|
+
} & {
|
1104
|
+
required: true;
|
1105
|
+
optional?: false | undefined;
|
1106
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1107
|
+
items: ItemOption[];
|
1108
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1109
|
+
label?: string | undefined;
|
1110
|
+
placeholder?: string | undefined;
|
1111
|
+
helperText?: string | undefined;
|
1112
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1113
|
+
textBefore?: string | undefined;
|
1114
|
+
textAfter?: string | undefined;
|
1115
|
+
variant?: "normal" | "tight" | undefined;
|
1116
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1117
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1118
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1119
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1120
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1121
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1122
|
+
closeAfterSelect?: boolean | undefined;
|
1123
|
+
size?: string | undefined;
|
1124
|
+
view?: string | undefined;
|
1125
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1126
|
+
} & {
|
1127
|
+
readOnly?: boolean | undefined;
|
1128
|
+
disabled?: true | undefined;
|
1129
|
+
alwaysOpened?: false | undefined;
|
1130
|
+
} & {
|
1131
|
+
name: string;
|
1132
|
+
defaultValue?: string | undefined;
|
1133
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1134
|
+
} & {
|
1135
|
+
multiple?: false | undefined;
|
1136
|
+
value?: string | undefined;
|
1137
|
+
isTargetAmount?: false | undefined;
|
1138
|
+
targetAmount?: undefined;
|
1139
|
+
renderValue?: undefined;
|
1140
|
+
} & {
|
1141
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1142
|
+
} & {
|
1143
|
+
optional?: true | undefined;
|
1144
|
+
required?: false | undefined;
|
1145
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1146
|
+
items: ItemOption[];
|
1147
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1148
|
+
label?: string | undefined;
|
1149
|
+
placeholder?: string | undefined;
|
1150
|
+
helperText?: string | undefined;
|
1151
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1152
|
+
textBefore?: string | undefined;
|
1153
|
+
textAfter?: string | undefined;
|
1154
|
+
variant?: "normal" | "tight" | undefined;
|
1155
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1156
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1157
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1158
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1159
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1160
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1161
|
+
closeAfterSelect?: boolean | undefined;
|
1162
|
+
size?: string | undefined;
|
1163
|
+
view?: string | undefined;
|
1164
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1165
|
+
} & {
|
1166
|
+
readOnly?: boolean | undefined;
|
1167
|
+
disabled?: true | undefined;
|
1168
|
+
alwaysOpened?: false | undefined;
|
1169
|
+
} & {
|
1170
|
+
name: never;
|
1171
|
+
defaultValue: never;
|
1172
|
+
} & {
|
1173
|
+
multiple: true;
|
1174
|
+
value?: string[] | undefined;
|
1175
|
+
onChange?: ((value: string[]) => void) | undefined;
|
1176
|
+
isTargetAmount?: true | undefined;
|
1177
|
+
targetAmount?: number | undefined;
|
1178
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1179
|
+
} & {
|
1180
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1181
|
+
} & {
|
1182
|
+
required: true;
|
1183
|
+
optional?: false | undefined;
|
1184
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1185
|
+
items: ItemOption[];
|
1186
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1187
|
+
label?: string | undefined;
|
1188
|
+
placeholder?: string | undefined;
|
1189
|
+
helperText?: string | undefined;
|
1190
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1191
|
+
textBefore?: string | undefined;
|
1192
|
+
textAfter?: string | undefined;
|
1193
|
+
variant?: "normal" | "tight" | undefined;
|
1194
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1195
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1196
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1197
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1198
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1199
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1200
|
+
closeAfterSelect?: boolean | undefined;
|
1201
|
+
size?: string | undefined;
|
1202
|
+
view?: string | undefined;
|
1203
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1204
|
+
} & {
|
1205
|
+
readOnly?: boolean | undefined;
|
1206
|
+
disabled?: true | undefined;
|
1207
|
+
alwaysOpened?: false | undefined;
|
1208
|
+
} & {
|
1209
|
+
name: never;
|
1210
|
+
defaultValue: never;
|
1211
|
+
} & {
|
1212
|
+
multiple: true;
|
1213
|
+
value?: string[] | undefined;
|
1214
|
+
onChange?: ((value: string[]) => void) | undefined;
|
1215
|
+
isTargetAmount?: true | undefined;
|
1216
|
+
targetAmount?: number | undefined;
|
1217
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1218
|
+
} & {
|
1219
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1220
|
+
} & {
|
1221
|
+
optional?: true | undefined;
|
1222
|
+
required?: false | undefined;
|
1223
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1224
|
+
items: ItemOption[];
|
1225
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1226
|
+
label?: string | undefined;
|
1227
|
+
placeholder?: string | undefined;
|
1228
|
+
helperText?: string | undefined;
|
1229
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1230
|
+
textBefore?: string | undefined;
|
1231
|
+
textAfter?: string | undefined;
|
1232
|
+
variant?: "normal" | "tight" | undefined;
|
1233
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1234
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1235
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1236
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1237
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1238
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1239
|
+
closeAfterSelect?: boolean | undefined;
|
1240
|
+
size?: string | undefined;
|
1241
|
+
view?: string | undefined;
|
1242
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1243
|
+
} & {
|
1244
|
+
readOnly?: boolean | undefined;
|
1245
|
+
disabled?: true | undefined;
|
1246
|
+
alwaysOpened?: false | undefined;
|
1247
|
+
} & {
|
1248
|
+
name: string;
|
1249
|
+
defaultValue?: string | undefined;
|
1250
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1251
|
+
} & {
|
1252
|
+
multiple: true;
|
1253
|
+
value?: string[] | undefined;
|
1254
|
+
isTargetAmount?: true | undefined;
|
1255
|
+
targetAmount?: number | undefined;
|
1256
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1257
|
+
} & {
|
1258
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1259
|
+
} & {
|
1260
|
+
required: true;
|
1261
|
+
optional?: false | undefined;
|
1262
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1263
|
+
items: ItemOption[];
|
1264
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1265
|
+
label?: string | undefined;
|
1266
|
+
placeholder?: string | undefined;
|
1267
|
+
helperText?: string | undefined;
|
1268
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1269
|
+
textBefore?: string | undefined;
|
1270
|
+
textAfter?: string | undefined;
|
1271
|
+
variant?: "normal" | "tight" | undefined;
|
1272
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1273
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1274
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1275
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1276
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1277
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1278
|
+
closeAfterSelect?: boolean | undefined;
|
1279
|
+
size?: string | undefined;
|
1280
|
+
view?: string | undefined;
|
1281
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1282
|
+
} & {
|
1283
|
+
readOnly?: boolean | undefined;
|
1284
|
+
disabled?: true | undefined;
|
1285
|
+
alwaysOpened?: false | undefined;
|
1286
|
+
} & {
|
1287
|
+
name: string;
|
1288
|
+
defaultValue?: string | undefined;
|
1289
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1290
|
+
} & {
|
1291
|
+
multiple: true;
|
1292
|
+
value?: string[] | undefined;
|
1293
|
+
isTargetAmount?: true | undefined;
|
1294
|
+
targetAmount?: number | undefined;
|
1295
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1296
|
+
} & {
|
1297
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1298
|
+
} & {
|
1299
|
+
optional?: true | undefined;
|
1300
|
+
required?: false | undefined;
|
1301
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1302
|
+
items: ItemOption[];
|
1303
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1304
|
+
label?: string | undefined;
|
1305
|
+
placeholder?: string | undefined;
|
1306
|
+
helperText?: string | undefined;
|
1307
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1308
|
+
textBefore?: string | undefined;
|
1309
|
+
textAfter?: string | undefined;
|
1310
|
+
variant?: "normal" | "tight" | undefined;
|
1311
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1312
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1313
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1314
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1315
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1316
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1317
|
+
closeAfterSelect?: boolean | undefined;
|
1318
|
+
size?: string | undefined;
|
1319
|
+
view?: string | undefined;
|
1320
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1321
|
+
} & {
|
1322
|
+
readOnly?: true | undefined;
|
1323
|
+
disabled?: boolean | undefined;
|
1324
|
+
alwaysOpened?: false | undefined;
|
1325
|
+
} & {
|
1326
|
+
name: never;
|
1327
|
+
defaultValue: never;
|
1328
|
+
} & {
|
1329
|
+
multiple?: false | undefined;
|
1330
|
+
value?: string | undefined;
|
1331
|
+
onChange?: ((value: string) => void) | undefined;
|
1332
|
+
isTargetAmount?: false | undefined;
|
1333
|
+
targetAmount?: undefined;
|
1334
|
+
renderValue?: undefined;
|
1335
|
+
} & {
|
1336
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1337
|
+
} & {
|
1338
|
+
required: true;
|
1339
|
+
optional?: false | undefined;
|
1340
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1341
|
+
items: ItemOption[];
|
1342
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1343
|
+
label?: string | undefined;
|
1344
|
+
placeholder?: string | undefined;
|
1345
|
+
helperText?: string | undefined;
|
1346
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1347
|
+
textBefore?: string | undefined;
|
1348
|
+
textAfter?: string | undefined;
|
1349
|
+
variant?: "normal" | "tight" | undefined;
|
1350
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1351
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1352
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1353
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1354
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1355
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1356
|
+
closeAfterSelect?: boolean | undefined;
|
1357
|
+
size?: string | undefined;
|
1358
|
+
view?: string | undefined;
|
1359
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1360
|
+
} & {
|
1361
|
+
readOnly?: true | undefined;
|
1362
|
+
disabled?: boolean | undefined;
|
1363
|
+
alwaysOpened?: false | undefined;
|
1364
|
+
} & {
|
1365
|
+
name: never;
|
1366
|
+
defaultValue: never;
|
1367
|
+
} & {
|
1368
|
+
multiple?: false | undefined;
|
1369
|
+
value?: string | undefined;
|
1370
|
+
onChange?: ((value: string) => void) | undefined;
|
1371
|
+
isTargetAmount?: false | undefined;
|
1372
|
+
targetAmount?: undefined;
|
1373
|
+
renderValue?: undefined;
|
1374
|
+
} & {
|
1375
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1376
|
+
} & {
|
1377
|
+
optional?: true | undefined;
|
1378
|
+
required?: false | undefined;
|
1379
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1380
|
+
items: ItemOption[];
|
1381
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1382
|
+
label?: string | undefined;
|
1383
|
+
placeholder?: string | undefined;
|
1384
|
+
helperText?: string | undefined;
|
1385
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1386
|
+
textBefore?: string | undefined;
|
1387
|
+
textAfter?: string | undefined;
|
1388
|
+
variant?: "normal" | "tight" | undefined;
|
1389
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1390
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1391
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1392
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1393
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1394
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1395
|
+
closeAfterSelect?: boolean | undefined;
|
1396
|
+
size?: string | undefined;
|
1397
|
+
view?: string | undefined;
|
1398
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1399
|
+
} & {
|
1400
|
+
readOnly?: true | undefined;
|
1401
|
+
disabled?: boolean | undefined;
|
1402
|
+
alwaysOpened?: false | undefined;
|
1403
|
+
} & {
|
1404
|
+
name: string;
|
1405
|
+
defaultValue?: string | undefined;
|
1406
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1407
|
+
} & {
|
1408
|
+
multiple?: false | undefined;
|
1409
|
+
value?: string | undefined;
|
1410
|
+
isTargetAmount?: false | undefined;
|
1411
|
+
targetAmount?: undefined;
|
1412
|
+
renderValue?: undefined;
|
1413
|
+
} & {
|
1414
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1415
|
+
} & {
|
1416
|
+
required: true;
|
1417
|
+
optional?: false | undefined;
|
1418
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1419
|
+
items: ItemOption[];
|
1420
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1421
|
+
label?: string | undefined;
|
1422
|
+
placeholder?: string | undefined;
|
1423
|
+
helperText?: string | undefined;
|
1424
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1425
|
+
textBefore?: string | undefined;
|
1426
|
+
textAfter?: string | undefined;
|
1427
|
+
variant?: "normal" | "tight" | undefined;
|
1428
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1429
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1430
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1431
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1432
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1433
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1434
|
+
closeAfterSelect?: boolean | undefined;
|
1435
|
+
size?: string | undefined;
|
1436
|
+
view?: string | undefined;
|
1437
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1438
|
+
} & {
|
1439
|
+
readOnly?: true | undefined;
|
1440
|
+
disabled?: boolean | undefined;
|
1441
|
+
alwaysOpened?: false | undefined;
|
1442
|
+
} & {
|
1443
|
+
name: string;
|
1444
|
+
defaultValue?: string | undefined;
|
1445
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1446
|
+
} & {
|
1447
|
+
multiple?: false | undefined;
|
1448
|
+
value?: string | undefined;
|
1449
|
+
isTargetAmount?: false | undefined;
|
1450
|
+
targetAmount?: undefined;
|
1451
|
+
renderValue?: undefined;
|
1452
|
+
} & {
|
1453
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1454
|
+
} & {
|
1455
|
+
optional?: true | undefined;
|
1456
|
+
required?: false | undefined;
|
1457
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1458
|
+
items: ItemOption[];
|
1459
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1460
|
+
label?: string | undefined;
|
1461
|
+
placeholder?: string | undefined;
|
1462
|
+
helperText?: string | undefined;
|
1463
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1464
|
+
textBefore?: string | undefined;
|
1465
|
+
textAfter?: string | undefined;
|
1466
|
+
variant?: "normal" | "tight" | undefined;
|
1467
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1468
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1469
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1470
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1471
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1472
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1473
|
+
closeAfterSelect?: boolean | undefined;
|
1474
|
+
size?: string | undefined;
|
1475
|
+
view?: string | undefined;
|
1476
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1477
|
+
} & {
|
1478
|
+
readOnly?: true | undefined;
|
1479
|
+
disabled?: boolean | undefined;
|
1480
|
+
alwaysOpened?: false | undefined;
|
1481
|
+
} & {
|
1482
|
+
name: never;
|
1483
|
+
defaultValue: never;
|
1484
|
+
} & {
|
1485
|
+
multiple: true;
|
1486
|
+
value?: string[] | undefined;
|
1487
|
+
onChange?: ((value: string[]) => void) | undefined;
|
1488
|
+
isTargetAmount?: true | undefined;
|
1489
|
+
targetAmount?: number | undefined;
|
1490
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1491
|
+
} & {
|
1492
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1493
|
+
} & {
|
1494
|
+
required: true;
|
1495
|
+
optional?: false | undefined;
|
1496
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1497
|
+
items: ItemOption[];
|
1498
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1499
|
+
label?: string | undefined;
|
1500
|
+
placeholder?: string | undefined;
|
1501
|
+
helperText?: string | undefined;
|
1502
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1503
|
+
textBefore?: string | undefined;
|
1504
|
+
textAfter?: string | undefined;
|
1505
|
+
variant?: "normal" | "tight" | undefined;
|
1506
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1507
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1508
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1509
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1510
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1511
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1512
|
+
closeAfterSelect?: boolean | undefined;
|
1513
|
+
size?: string | undefined;
|
1514
|
+
view?: string | undefined;
|
1515
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1516
|
+
} & {
|
1517
|
+
readOnly?: true | undefined;
|
1518
|
+
disabled?: boolean | undefined;
|
1519
|
+
alwaysOpened?: false | undefined;
|
1520
|
+
} & {
|
1521
|
+
name: never;
|
1522
|
+
defaultValue: never;
|
1523
|
+
} & {
|
1524
|
+
multiple: true;
|
1525
|
+
value?: string[] | undefined;
|
1526
|
+
onChange?: ((value: string[]) => void) | undefined;
|
1527
|
+
isTargetAmount?: true | undefined;
|
1528
|
+
targetAmount?: number | undefined;
|
1529
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1530
|
+
} & {
|
1531
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1532
|
+
} & {
|
1533
|
+
optional?: true | undefined;
|
1534
|
+
required?: false | undefined;
|
1535
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1536
|
+
items: ItemOption[];
|
1537
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1538
|
+
label?: string | undefined;
|
1539
|
+
placeholder?: string | undefined;
|
1540
|
+
helperText?: string | undefined;
|
1541
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1542
|
+
textBefore?: string | undefined;
|
1543
|
+
textAfter?: string | undefined;
|
1544
|
+
variant?: "normal" | "tight" | undefined;
|
1545
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1546
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1547
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1548
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1549
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1550
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1551
|
+
closeAfterSelect?: boolean | undefined;
|
1552
|
+
size?: string | undefined;
|
1553
|
+
view?: string | undefined;
|
1554
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1555
|
+
} & {
|
1556
|
+
readOnly?: true | undefined;
|
1557
|
+
disabled?: boolean | undefined;
|
1558
|
+
alwaysOpened?: false | undefined;
|
1559
|
+
} & {
|
1560
|
+
name: string;
|
1561
|
+
defaultValue?: string | undefined;
|
1562
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1563
|
+
} & {
|
1564
|
+
multiple: true;
|
1565
|
+
value?: string[] | undefined;
|
1566
|
+
isTargetAmount?: true | undefined;
|
1567
|
+
targetAmount?: number | undefined;
|
1568
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1569
|
+
} & {
|
1570
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1571
|
+
} & {
|
1572
|
+
required: true;
|
1573
|
+
optional?: false | undefined;
|
1574
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1575
|
+
items: ItemOption[];
|
1576
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1577
|
+
label?: string | undefined;
|
1578
|
+
placeholder?: string | undefined;
|
1579
|
+
helperText?: string | undefined;
|
1580
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1581
|
+
textBefore?: string | undefined;
|
1582
|
+
textAfter?: string | undefined;
|
1583
|
+
variant?: "normal" | "tight" | undefined;
|
1584
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1585
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1586
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1587
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1588
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1589
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1590
|
+
closeAfterSelect?: boolean | undefined;
|
1591
|
+
size?: string | undefined;
|
1592
|
+
view?: string | undefined;
|
1593
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1594
|
+
} & {
|
1595
|
+
readOnly?: true | undefined;
|
1596
|
+
disabled?: boolean | undefined;
|
1597
|
+
alwaysOpened?: false | undefined;
|
1598
|
+
} & {
|
1599
|
+
name: string;
|
1600
|
+
defaultValue?: string | undefined;
|
1601
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1602
|
+
} & {
|
1603
|
+
multiple: true;
|
1604
|
+
value?: string[] | undefined;
|
1605
|
+
isTargetAmount?: true | undefined;
|
1606
|
+
targetAmount?: number | undefined;
|
1607
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1608
|
+
} & {
|
1609
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1610
|
+
} & {
|
1611
|
+
optional?: true | undefined;
|
1612
|
+
required?: false | undefined;
|
1613
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1614
|
+
items: ItemOption[];
|
1615
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1616
|
+
label?: string | undefined;
|
1617
|
+
placeholder?: string | undefined;
|
1618
|
+
helperText?: string | undefined;
|
1619
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1620
|
+
textBefore?: string | undefined;
|
1621
|
+
textAfter?: string | undefined;
|
1622
|
+
variant?: "normal" | "tight" | undefined;
|
1623
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1624
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1625
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1626
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1627
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1628
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1629
|
+
closeAfterSelect?: boolean | undefined;
|
1630
|
+
size?: string | undefined;
|
1631
|
+
view?: string | undefined;
|
1632
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1633
|
+
} & {
|
1634
|
+
readOnly?: false | undefined;
|
1635
|
+
disabled?: false | undefined;
|
1636
|
+
alwaysOpened?: true | undefined;
|
1637
|
+
} & {
|
1638
|
+
name: never;
|
1639
|
+
defaultValue: never;
|
1640
|
+
} & {
|
1641
|
+
multiple?: false | undefined;
|
1642
|
+
value?: string | undefined;
|
1643
|
+
onChange?: ((value: string) => void) | undefined;
|
1644
|
+
isTargetAmount?: false | undefined;
|
1645
|
+
targetAmount?: undefined;
|
1646
|
+
renderValue?: undefined;
|
1647
|
+
} & {
|
1648
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1649
|
+
} & {
|
1650
|
+
required: true;
|
1651
|
+
optional?: false | undefined;
|
1652
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1653
|
+
items: ItemOption[];
|
1654
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
812
1655
|
label?: string | undefined;
|
813
1656
|
placeholder?: string | undefined;
|
814
1657
|
helperText?: string | undefined;
|
@@ -830,6 +1673,9 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
830
1673
|
readOnly?: false | undefined;
|
831
1674
|
disabled?: false | undefined;
|
832
1675
|
alwaysOpened?: true | undefined;
|
1676
|
+
} & {
|
1677
|
+
name: never;
|
1678
|
+
defaultValue: never;
|
833
1679
|
} & {
|
834
1680
|
multiple?: false | undefined;
|
835
1681
|
value?: string | undefined;
|
@@ -842,7 +1688,85 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
842
1688
|
} & {
|
843
1689
|
optional?: true | undefined;
|
844
1690
|
required?: false | undefined;
|
845
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1691
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1692
|
+
items: ItemOption[];
|
1693
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1694
|
+
label?: string | undefined;
|
1695
|
+
placeholder?: string | undefined;
|
1696
|
+
helperText?: string | undefined;
|
1697
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1698
|
+
textBefore?: string | undefined;
|
1699
|
+
textAfter?: string | undefined;
|
1700
|
+
variant?: "normal" | "tight" | undefined;
|
1701
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1702
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1703
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1704
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1705
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1706
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1707
|
+
closeAfterSelect?: boolean | undefined;
|
1708
|
+
size?: string | undefined;
|
1709
|
+
view?: string | undefined;
|
1710
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1711
|
+
} & {
|
1712
|
+
readOnly?: false | undefined;
|
1713
|
+
disabled?: false | undefined;
|
1714
|
+
alwaysOpened?: true | undefined;
|
1715
|
+
} & {
|
1716
|
+
name: string;
|
1717
|
+
defaultValue?: string | undefined;
|
1718
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1719
|
+
} & {
|
1720
|
+
multiple?: false | undefined;
|
1721
|
+
value?: string | undefined;
|
1722
|
+
isTargetAmount?: false | undefined;
|
1723
|
+
targetAmount?: undefined;
|
1724
|
+
renderValue?: undefined;
|
1725
|
+
} & {
|
1726
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1727
|
+
} & {
|
1728
|
+
required: true;
|
1729
|
+
optional?: false | undefined;
|
1730
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1731
|
+
items: ItemOption[];
|
1732
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1733
|
+
label?: string | undefined;
|
1734
|
+
placeholder?: string | undefined;
|
1735
|
+
helperText?: string | undefined;
|
1736
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1737
|
+
textBefore?: string | undefined;
|
1738
|
+
textAfter?: string | undefined;
|
1739
|
+
variant?: "normal" | "tight" | undefined;
|
1740
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1741
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1742
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1743
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1744
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1745
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1746
|
+
closeAfterSelect?: boolean | undefined;
|
1747
|
+
size?: string | undefined;
|
1748
|
+
view?: string | undefined;
|
1749
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1750
|
+
} & {
|
1751
|
+
readOnly?: false | undefined;
|
1752
|
+
disabled?: false | undefined;
|
1753
|
+
alwaysOpened?: true | undefined;
|
1754
|
+
} & {
|
1755
|
+
name: string;
|
1756
|
+
defaultValue?: string | undefined;
|
1757
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1758
|
+
} & {
|
1759
|
+
multiple?: false | undefined;
|
1760
|
+
value?: string | undefined;
|
1761
|
+
isTargetAmount?: false | undefined;
|
1762
|
+
targetAmount?: undefined;
|
1763
|
+
renderValue?: undefined;
|
1764
|
+
} & {
|
1765
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1766
|
+
} & {
|
1767
|
+
optional?: true | undefined;
|
1768
|
+
required?: false | undefined;
|
1769
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
846
1770
|
items: ItemOption[];
|
847
1771
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
848
1772
|
label?: string | undefined;
|
@@ -866,6 +1790,9 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
866
1790
|
readOnly?: false | undefined;
|
867
1791
|
disabled?: false | undefined;
|
868
1792
|
alwaysOpened?: true | undefined;
|
1793
|
+
} & {
|
1794
|
+
name: never;
|
1795
|
+
defaultValue: never;
|
869
1796
|
} & {
|
870
1797
|
multiple: true;
|
871
1798
|
value?: string[] | undefined;
|
@@ -878,7 +1805,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
878
1805
|
} & {
|
879
1806
|
required: true;
|
880
1807
|
optional?: false | undefined;
|
881
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1808
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
882
1809
|
items: ItemOption[];
|
883
1810
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
884
1811
|
label?: string | undefined;
|
@@ -902,6 +1829,9 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
902
1829
|
readOnly?: false | undefined;
|
903
1830
|
disabled?: false | undefined;
|
904
1831
|
alwaysOpened?: true | undefined;
|
1832
|
+
} & {
|
1833
|
+
name: never;
|
1834
|
+
defaultValue: never;
|
905
1835
|
} & {
|
906
1836
|
multiple: true;
|
907
1837
|
value?: string[] | undefined;
|
@@ -914,7 +1844,85 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
914
1844
|
} & {
|
915
1845
|
optional?: true | undefined;
|
916
1846
|
required?: false | undefined;
|
917
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>)
|
1847
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1848
|
+
items: ItemOption[];
|
1849
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1850
|
+
label?: string | undefined;
|
1851
|
+
placeholder?: string | undefined;
|
1852
|
+
helperText?: string | undefined;
|
1853
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1854
|
+
textBefore?: string | undefined;
|
1855
|
+
textAfter?: string | undefined;
|
1856
|
+
variant?: "normal" | "tight" | undefined;
|
1857
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1858
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1859
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1860
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1861
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1862
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1863
|
+
closeAfterSelect?: boolean | undefined;
|
1864
|
+
size?: string | undefined;
|
1865
|
+
view?: string | undefined;
|
1866
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1867
|
+
} & {
|
1868
|
+
readOnly?: false | undefined;
|
1869
|
+
disabled?: false | undefined;
|
1870
|
+
alwaysOpened?: true | undefined;
|
1871
|
+
} & {
|
1872
|
+
name: string;
|
1873
|
+
defaultValue?: string | undefined;
|
1874
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1875
|
+
} & {
|
1876
|
+
multiple: true;
|
1877
|
+
value?: string[] | undefined;
|
1878
|
+
isTargetAmount?: true | undefined;
|
1879
|
+
targetAmount?: number | undefined;
|
1880
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1881
|
+
} & {
|
1882
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1883
|
+
} & {
|
1884
|
+
required: true;
|
1885
|
+
optional?: false | undefined;
|
1886
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1887
|
+
items: ItemOption[];
|
1888
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1889
|
+
label?: string | undefined;
|
1890
|
+
placeholder?: string | undefined;
|
1891
|
+
helperText?: string | undefined;
|
1892
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1893
|
+
textBefore?: string | undefined;
|
1894
|
+
textAfter?: string | undefined;
|
1895
|
+
variant?: "normal" | "tight" | undefined;
|
1896
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1897
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1898
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1899
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
1900
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1901
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1902
|
+
closeAfterSelect?: boolean | undefined;
|
1903
|
+
size?: string | undefined;
|
1904
|
+
view?: string | undefined;
|
1905
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
1906
|
+
} & {
|
1907
|
+
readOnly?: false | undefined;
|
1908
|
+
disabled?: false | undefined;
|
1909
|
+
alwaysOpened?: true | undefined;
|
1910
|
+
} & {
|
1911
|
+
name: string;
|
1912
|
+
defaultValue?: string | undefined;
|
1913
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1914
|
+
} & {
|
1915
|
+
multiple: true;
|
1916
|
+
value?: string[] | undefined;
|
1917
|
+
isTargetAmount?: true | undefined;
|
1918
|
+
targetAmount?: number | undefined;
|
1919
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1920
|
+
} & {
|
1921
|
+
requiredPlacement?: "left" | "right" | undefined;
|
1922
|
+
} & {
|
1923
|
+
optional?: true | undefined;
|
1924
|
+
required?: false | undefined;
|
1925
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement>)), "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & {
|
918
1926
|
ref?: ForwardedRef<HTMLInputElement> | undefined;
|
919
1927
|
}) => ReactElement | null;
|
920
1928
|
export { Combobox };
|