@salutejs/sdds-dfa 0.170.0-canary.1550.11795356464.0 → 0.170.0-canary.1552.11794692529.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.api.md +688 -35
- package/components/Attach/Attach.d.ts +8 -8
- package/components/Button/Button.d.ts +4 -4
- package/components/Combobox/Combobox.d.ts +504 -24
- package/components/Combobox/index.d.ts +504 -24
- package/components/IconButton/IconButton.d.ts +2 -2
- package/components/Mask/Mask.d.ts +16 -16
- package/components/Radiobox/Radiobox.d.ts +2 -2
- package/components/Select/Select.config.d.ts +7 -15
- package/components/Select/Select.config.js +21 -29
- package/components/Select/Select.d.ts +50 -59
- package/components/Select/Select.js +6 -5
- package/components/TextArea/TextArea.d.ts +16 -16
- package/components/TextField/TextField.d.ts +16 -16
- package/es/components/Select/Select.config.js +22 -30
- package/es/components/Select/Select.js +4 -5
- package/package.json +3 -3
- package/temp/sdds-dfa.api.md +688 -35
package/api/sdds-dfa.api.md
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
import { addFocus } from '@salutejs/plasma-new-hope/styled-components';
|
10
10
|
import { AlignProp } from '@salutejs/plasma-new-hope/types/components/Cell/Cell.types';
|
11
11
|
import { AnchorHTMLAttributes } from 'react';
|
12
|
-
import { AsProps } from '@salutejs/plasma-new-hope/
|
12
|
+
import { AsProps } from '@salutejs/plasma-new-hope/types/types';
|
13
13
|
import { AvatarGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
14
14
|
import { AvatarProps } from '@salutejs/plasma-new-hope/styled-components';
|
15
15
|
import { BadgeProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -48,6 +48,7 @@ import { CellTextboxLabel } from '@salutejs/plasma-new-hope/styled-components';
|
|
48
48
|
import { CellTextboxSubtitle } from '@salutejs/plasma-new-hope/styled-components';
|
49
49
|
import { CellTextboxTitle } from '@salutejs/plasma-new-hope/styled-components';
|
50
50
|
import { ChangeEvent } from 'react';
|
51
|
+
import { ChangeEventHandler } from 'react';
|
51
52
|
import { ChangeInstanceCallback } from '@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types';
|
52
53
|
import { CheckboxProps as CheckboxProps_2 } from '@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types';
|
53
54
|
import { ChipGroupProps } from '@salutejs/plasma-new-hope/types/components/ChipGroup/ChipGroup.types';
|
@@ -79,8 +80,6 @@ import { DatePickerRangeProps } from '@salutejs/plasma-new-hope/styled-component
|
|
79
80
|
import { DatePickerTextFieldProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types';
|
80
81
|
import { datePickerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
81
82
|
import { DatePickerVariationProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
|
82
|
-
import type { DistributiveOmit } from '@salutejs/plasma-new-hope';
|
83
|
-
import type { DistributivePick } from '@salutejs/plasma-new-hope';
|
84
83
|
import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
|
85
84
|
import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
86
85
|
import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -88,7 +87,6 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
88
87
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
89
88
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
90
89
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
|
-
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
92
90
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
93
91
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
94
92
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
@@ -118,18 +116,19 @@ import { HTMLAttributes } from 'react';
|
|
118
116
|
import { ImageProps } from '@salutejs/plasma-new-hope/styled-components';
|
119
117
|
import { ImgHTMLAttributes } from 'react';
|
120
118
|
import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
121
|
-
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/
|
119
|
+
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
122
120
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
123
121
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
124
|
-
import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
|
125
122
|
import { JSXElementConstructor } from 'react';
|
126
123
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
127
124
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
128
125
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
129
126
|
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
|
127
|
+
import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
|
130
128
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
131
129
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
132
130
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
131
|
+
import { MutableRefObject } from 'react';
|
133
132
|
import { numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
|
134
133
|
import { numberInputTokens } from '@salutejs/plasma-new-hope/styled-components';
|
135
134
|
import { Orientation } from '@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types';
|
@@ -173,7 +172,7 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
173
172
|
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
174
173
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
175
174
|
import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
|
176
|
-
import type { SelectProps
|
175
|
+
import type { SelectProps } from '@salutejs/plasma-new-hope/styled-components';
|
177
176
|
import { sheetClasses } from '@salutejs/plasma-new-hope/styled-components';
|
178
177
|
import { SheetProps } from '@salutejs/plasma-new-hope/styled-components';
|
179
178
|
import { ShowToastArgs } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -193,7 +192,7 @@ import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
|
|
193
192
|
import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
|
194
193
|
import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
|
195
194
|
import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
|
196
|
-
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/
|
195
|
+
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
197
196
|
import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
198
197
|
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
199
198
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
@@ -1019,7 +1018,7 @@ true: PolymorphicClassName;
|
|
1019
1018
|
listOverflow?: Property.Overflow | undefined;
|
1020
1019
|
listHeight?: Property.Height<string | number> | undefined;
|
1021
1020
|
listWidth?: Property.Width<string | number> | undefined;
|
1022
|
-
portal?:
|
1021
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1023
1022
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1024
1023
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1025
1024
|
closeAfterSelect?: boolean | undefined;
|
@@ -1031,8 +1030,10 @@ true: PolymorphicClassName;
|
|
1031
1030
|
disabled?: true | undefined;
|
1032
1031
|
alwaysOpened?: false | undefined;
|
1033
1032
|
} & {
|
1033
|
+
name?: undefined;
|
1034
1034
|
multiple?: false | undefined;
|
1035
1035
|
value?: string | undefined;
|
1036
|
+
defaultValue?: undefined;
|
1036
1037
|
onChange?: ((value: string) => void) | undefined;
|
1037
1038
|
isTargetAmount?: false | undefined;
|
1038
1039
|
targetAmount?: undefined;
|
@@ -1042,7 +1043,7 @@ true: PolymorphicClassName;
|
|
1042
1043
|
} & {
|
1043
1044
|
required: true;
|
1044
1045
|
optional?: false | undefined;
|
1045
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1046
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1046
1047
|
items: ItemOption[];
|
1047
1048
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1048
1049
|
label?: string | undefined;
|
@@ -1055,7 +1056,7 @@ true: PolymorphicClassName;
|
|
1055
1056
|
listOverflow?: Property.Overflow | undefined;
|
1056
1057
|
listHeight?: Property.Height<string | number> | undefined;
|
1057
1058
|
listWidth?: Property.Width<string | number> | undefined;
|
1058
|
-
portal?:
|
1059
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1059
1060
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1060
1061
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1061
1062
|
closeAfterSelect?: boolean | undefined;
|
@@ -1067,8 +1068,10 @@ true: PolymorphicClassName;
|
|
1067
1068
|
disabled?: true | undefined;
|
1068
1069
|
alwaysOpened?: false | undefined;
|
1069
1070
|
} & {
|
1071
|
+
name?: undefined;
|
1070
1072
|
multiple?: false | undefined;
|
1071
1073
|
value?: string | undefined;
|
1074
|
+
defaultValue?: undefined;
|
1072
1075
|
onChange?: ((value: string) => void) | undefined;
|
1073
1076
|
isTargetAmount?: false | undefined;
|
1074
1077
|
targetAmount?: undefined;
|
@@ -1078,7 +1081,7 @@ true: PolymorphicClassName;
|
|
1078
1081
|
} & {
|
1079
1082
|
optional?: true | undefined;
|
1080
1083
|
required?: false | undefined;
|
1081
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1084
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1082
1085
|
items: ItemOption[];
|
1083
1086
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1084
1087
|
label?: string | undefined;
|
@@ -1091,7 +1094,7 @@ true: PolymorphicClassName;
|
|
1091
1094
|
listOverflow?: Property.Overflow | undefined;
|
1092
1095
|
listHeight?: Property.Height<string | number> | undefined;
|
1093
1096
|
listWidth?: Property.Width<string | number> | undefined;
|
1094
|
-
portal?:
|
1097
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1095
1098
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1096
1099
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1097
1100
|
closeAfterSelect?: boolean | undefined;
|
@@ -1105,16 +1108,170 @@ true: PolymorphicClassName;
|
|
1105
1108
|
} & {
|
1106
1109
|
multiple: true;
|
1107
1110
|
value?: string[] | undefined;
|
1111
|
+
defaultValue?: string[] | undefined;
|
1112
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1113
|
+
isTargetAmount?: false | undefined;
|
1114
|
+
targetAmount?: undefined;
|
1115
|
+
renderValue?: undefined;
|
1116
|
+
name: string;
|
1117
|
+
} & {
|
1118
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1119
|
+
} & {
|
1120
|
+
required: true;
|
1121
|
+
optional?: false | undefined;
|
1122
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1123
|
+
items: ItemOption[];
|
1124
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1125
|
+
label?: string | undefined;
|
1126
|
+
placeholder?: string | undefined;
|
1127
|
+
helperText?: string | undefined;
|
1128
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1129
|
+
textBefore?: string | undefined;
|
1130
|
+
textAfter?: string | undefined;
|
1131
|
+
variant?: "normal" | "tight" | undefined;
|
1132
|
+
listOverflow?: Property.Overflow | undefined;
|
1133
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1134
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1135
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1136
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1137
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1138
|
+
closeAfterSelect?: boolean | undefined;
|
1139
|
+
size?: string | undefined;
|
1140
|
+
view?: string | undefined;
|
1141
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1142
|
+
} & {
|
1143
|
+
readOnly?: boolean | undefined;
|
1144
|
+
disabled?: true | undefined;
|
1145
|
+
alwaysOpened?: false | undefined;
|
1146
|
+
} & {
|
1147
|
+
multiple: true;
|
1148
|
+
value?: string[] | undefined;
|
1149
|
+
defaultValue?: string[] | undefined;
|
1150
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1151
|
+
isTargetAmount?: false | undefined;
|
1152
|
+
targetAmount?: undefined;
|
1153
|
+
renderValue?: undefined;
|
1154
|
+
name: string;
|
1155
|
+
} & {
|
1156
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1157
|
+
} & {
|
1158
|
+
optional?: true | undefined;
|
1159
|
+
required?: false | undefined;
|
1160
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1161
|
+
items: ItemOption[];
|
1162
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1163
|
+
label?: string | undefined;
|
1164
|
+
placeholder?: string | undefined;
|
1165
|
+
helperText?: string | undefined;
|
1166
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1167
|
+
textBefore?: string | undefined;
|
1168
|
+
textAfter?: string | undefined;
|
1169
|
+
variant?: "normal" | "tight" | undefined;
|
1170
|
+
listOverflow?: Property.Overflow | undefined;
|
1171
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1172
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1173
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1174
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1175
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1176
|
+
closeAfterSelect?: boolean | undefined;
|
1177
|
+
size?: string | undefined;
|
1178
|
+
view?: string | undefined;
|
1179
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1180
|
+
} & {
|
1181
|
+
readOnly?: boolean | undefined;
|
1182
|
+
disabled?: true | undefined;
|
1183
|
+
alwaysOpened?: false | undefined;
|
1184
|
+
} & {
|
1185
|
+
multiple?: false | undefined;
|
1186
|
+
value?: string | undefined;
|
1187
|
+
defaultValue?: string | undefined;
|
1188
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1189
|
+
isTargetAmount?: false | undefined;
|
1190
|
+
targetAmount?: undefined;
|
1191
|
+
renderValue?: undefined;
|
1192
|
+
name: string;
|
1193
|
+
} & {
|
1194
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1195
|
+
} & {
|
1196
|
+
required: true;
|
1197
|
+
optional?: false | undefined;
|
1198
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1199
|
+
items: ItemOption[];
|
1200
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1201
|
+
label?: string | undefined;
|
1202
|
+
placeholder?: string | undefined;
|
1203
|
+
helperText?: string | undefined;
|
1204
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1205
|
+
textBefore?: string | undefined;
|
1206
|
+
textAfter?: string | undefined;
|
1207
|
+
variant?: "normal" | "tight" | undefined;
|
1208
|
+
listOverflow?: Property.Overflow | undefined;
|
1209
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1210
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1211
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1212
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1213
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1214
|
+
closeAfterSelect?: boolean | undefined;
|
1215
|
+
size?: string | undefined;
|
1216
|
+
view?: string | undefined;
|
1217
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1218
|
+
} & {
|
1219
|
+
readOnly?: boolean | undefined;
|
1220
|
+
disabled?: true | undefined;
|
1221
|
+
alwaysOpened?: false | undefined;
|
1222
|
+
} & {
|
1223
|
+
multiple?: false | undefined;
|
1224
|
+
value?: string | undefined;
|
1225
|
+
defaultValue?: string | undefined;
|
1226
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1227
|
+
isTargetAmount?: false | undefined;
|
1228
|
+
targetAmount?: undefined;
|
1229
|
+
renderValue?: undefined;
|
1230
|
+
name: string;
|
1231
|
+
} & {
|
1232
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1233
|
+
} & {
|
1234
|
+
optional?: true | undefined;
|
1235
|
+
required?: false | undefined;
|
1236
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1237
|
+
items: ItemOption[];
|
1238
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1239
|
+
label?: string | undefined;
|
1240
|
+
placeholder?: string | undefined;
|
1241
|
+
helperText?: string | undefined;
|
1242
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1243
|
+
textBefore?: string | undefined;
|
1244
|
+
textAfter?: string | undefined;
|
1245
|
+
variant?: "normal" | "tight" | undefined;
|
1246
|
+
listOverflow?: Property.Overflow | undefined;
|
1247
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1248
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1249
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1250
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1251
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1252
|
+
closeAfterSelect?: boolean | undefined;
|
1253
|
+
size?: string | undefined;
|
1254
|
+
view?: string | undefined;
|
1255
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1256
|
+
} & {
|
1257
|
+
readOnly?: boolean | undefined;
|
1258
|
+
disabled?: true | undefined;
|
1259
|
+
alwaysOpened?: false | undefined;
|
1260
|
+
} & {
|
1261
|
+
multiple: true;
|
1262
|
+
value?: string[] | undefined;
|
1263
|
+
defaultValue?: undefined;
|
1108
1264
|
onChange?: ((value: string[]) => void) | undefined;
|
1109
1265
|
isTargetAmount?: true | undefined;
|
1110
1266
|
targetAmount?: number | undefined;
|
1111
1267
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1268
|
+
name?: undefined;
|
1112
1269
|
} & {
|
1113
1270
|
requiredPlacement?: "right" | "left" | undefined;
|
1114
1271
|
} & {
|
1115
1272
|
required: true;
|
1116
1273
|
optional?: false | undefined;
|
1117
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1274
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1118
1275
|
items: ItemOption[];
|
1119
1276
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1120
1277
|
label?: string | undefined;
|
@@ -1127,7 +1284,7 @@ true: PolymorphicClassName;
|
|
1127
1284
|
listOverflow?: Property.Overflow | undefined;
|
1128
1285
|
listHeight?: Property.Height<string | number> | undefined;
|
1129
1286
|
listWidth?: Property.Width<string | number> | undefined;
|
1130
|
-
portal?:
|
1287
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1131
1288
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1132
1289
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1133
1290
|
closeAfterSelect?: boolean | undefined;
|
@@ -1141,16 +1298,18 @@ true: PolymorphicClassName;
|
|
1141
1298
|
} & {
|
1142
1299
|
multiple: true;
|
1143
1300
|
value?: string[] | undefined;
|
1301
|
+
defaultValue?: undefined;
|
1144
1302
|
onChange?: ((value: string[]) => void) | undefined;
|
1145
1303
|
isTargetAmount?: true | undefined;
|
1146
1304
|
targetAmount?: number | undefined;
|
1147
1305
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1306
|
+
name?: undefined;
|
1148
1307
|
} & {
|
1149
1308
|
requiredPlacement?: "right" | "left" | undefined;
|
1150
1309
|
} & {
|
1151
1310
|
optional?: true | undefined;
|
1152
1311
|
required?: false | undefined;
|
1153
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1312
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1154
1313
|
items: ItemOption[];
|
1155
1314
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1156
1315
|
label?: string | undefined;
|
@@ -1163,7 +1322,7 @@ true: PolymorphicClassName;
|
|
1163
1322
|
listOverflow?: Property.Overflow | undefined;
|
1164
1323
|
listHeight?: Property.Height<string | number> | undefined;
|
1165
1324
|
listWidth?: Property.Width<string | number> | undefined;
|
1166
|
-
portal?:
|
1325
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1167
1326
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1168
1327
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1169
1328
|
closeAfterSelect?: boolean | undefined;
|
@@ -1175,8 +1334,10 @@ true: PolymorphicClassName;
|
|
1175
1334
|
disabled?: boolean | undefined;
|
1176
1335
|
alwaysOpened?: false | undefined;
|
1177
1336
|
} & {
|
1337
|
+
name?: undefined;
|
1178
1338
|
multiple?: false | undefined;
|
1179
1339
|
value?: string | undefined;
|
1340
|
+
defaultValue?: undefined;
|
1180
1341
|
onChange?: ((value: string) => void) | undefined;
|
1181
1342
|
isTargetAmount?: false | undefined;
|
1182
1343
|
targetAmount?: undefined;
|
@@ -1186,7 +1347,7 @@ true: PolymorphicClassName;
|
|
1186
1347
|
} & {
|
1187
1348
|
required: true;
|
1188
1349
|
optional?: false | undefined;
|
1189
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1350
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1190
1351
|
items: ItemOption[];
|
1191
1352
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1192
1353
|
label?: string | undefined;
|
@@ -1199,7 +1360,7 @@ true: PolymorphicClassName;
|
|
1199
1360
|
listOverflow?: Property.Overflow | undefined;
|
1200
1361
|
listHeight?: Property.Height<string | number> | undefined;
|
1201
1362
|
listWidth?: Property.Width<string | number> | undefined;
|
1202
|
-
portal?:
|
1363
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1203
1364
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1204
1365
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1205
1366
|
closeAfterSelect?: boolean | undefined;
|
@@ -1211,8 +1372,10 @@ true: PolymorphicClassName;
|
|
1211
1372
|
disabled?: boolean | undefined;
|
1212
1373
|
alwaysOpened?: false | undefined;
|
1213
1374
|
} & {
|
1375
|
+
name?: undefined;
|
1214
1376
|
multiple?: false | undefined;
|
1215
1377
|
value?: string | undefined;
|
1378
|
+
defaultValue?: undefined;
|
1216
1379
|
onChange?: ((value: string) => void) | undefined;
|
1217
1380
|
isTargetAmount?: false | undefined;
|
1218
1381
|
targetAmount?: undefined;
|
@@ -1222,7 +1385,159 @@ true: PolymorphicClassName;
|
|
1222
1385
|
} & {
|
1223
1386
|
optional?: true | undefined;
|
1224
1387
|
required?: false | undefined;
|
1225
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1388
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1389
|
+
items: ItemOption[];
|
1390
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1391
|
+
label?: string | undefined;
|
1392
|
+
placeholder?: string | undefined;
|
1393
|
+
helperText?: string | undefined;
|
1394
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1395
|
+
textBefore?: string | undefined;
|
1396
|
+
textAfter?: string | undefined;
|
1397
|
+
variant?: "normal" | "tight" | undefined;
|
1398
|
+
listOverflow?: Property.Overflow | undefined;
|
1399
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1400
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1401
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1402
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1403
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1404
|
+
closeAfterSelect?: boolean | undefined;
|
1405
|
+
size?: string | undefined;
|
1406
|
+
view?: string | undefined;
|
1407
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1408
|
+
} & {
|
1409
|
+
readOnly?: true | undefined;
|
1410
|
+
disabled?: boolean | undefined;
|
1411
|
+
alwaysOpened?: false | undefined;
|
1412
|
+
} & {
|
1413
|
+
multiple: true;
|
1414
|
+
value?: string[] | undefined;
|
1415
|
+
defaultValue?: string[] | undefined;
|
1416
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1417
|
+
isTargetAmount?: false | undefined;
|
1418
|
+
targetAmount?: undefined;
|
1419
|
+
renderValue?: undefined;
|
1420
|
+
name: string;
|
1421
|
+
} & {
|
1422
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1423
|
+
} & {
|
1424
|
+
required: true;
|
1425
|
+
optional?: false | undefined;
|
1426
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1427
|
+
items: ItemOption[];
|
1428
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1429
|
+
label?: string | undefined;
|
1430
|
+
placeholder?: string | undefined;
|
1431
|
+
helperText?: string | undefined;
|
1432
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1433
|
+
textBefore?: string | undefined;
|
1434
|
+
textAfter?: string | undefined;
|
1435
|
+
variant?: "normal" | "tight" | undefined;
|
1436
|
+
listOverflow?: Property.Overflow | undefined;
|
1437
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1438
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1439
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1440
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1441
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1442
|
+
closeAfterSelect?: boolean | undefined;
|
1443
|
+
size?: string | undefined;
|
1444
|
+
view?: string | undefined;
|
1445
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1446
|
+
} & {
|
1447
|
+
readOnly?: true | undefined;
|
1448
|
+
disabled?: boolean | undefined;
|
1449
|
+
alwaysOpened?: false | undefined;
|
1450
|
+
} & {
|
1451
|
+
multiple: true;
|
1452
|
+
value?: string[] | undefined;
|
1453
|
+
defaultValue?: string[] | undefined;
|
1454
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1455
|
+
isTargetAmount?: false | undefined;
|
1456
|
+
targetAmount?: undefined;
|
1457
|
+
renderValue?: undefined;
|
1458
|
+
name: string;
|
1459
|
+
} & {
|
1460
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1461
|
+
} & {
|
1462
|
+
optional?: true | undefined;
|
1463
|
+
required?: false | undefined;
|
1464
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1465
|
+
items: ItemOption[];
|
1466
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1467
|
+
label?: string | undefined;
|
1468
|
+
placeholder?: string | undefined;
|
1469
|
+
helperText?: string | undefined;
|
1470
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1471
|
+
textBefore?: string | undefined;
|
1472
|
+
textAfter?: string | undefined;
|
1473
|
+
variant?: "normal" | "tight" | undefined;
|
1474
|
+
listOverflow?: Property.Overflow | undefined;
|
1475
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1476
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1477
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1478
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1479
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1480
|
+
closeAfterSelect?: boolean | undefined;
|
1481
|
+
size?: string | undefined;
|
1482
|
+
view?: string | undefined;
|
1483
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1484
|
+
} & {
|
1485
|
+
readOnly?: true | undefined;
|
1486
|
+
disabled?: boolean | undefined;
|
1487
|
+
alwaysOpened?: false | undefined;
|
1488
|
+
} & {
|
1489
|
+
multiple?: false | undefined;
|
1490
|
+
value?: string | undefined;
|
1491
|
+
defaultValue?: string | undefined;
|
1492
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1493
|
+
isTargetAmount?: false | undefined;
|
1494
|
+
targetAmount?: undefined;
|
1495
|
+
renderValue?: undefined;
|
1496
|
+
name: string;
|
1497
|
+
} & {
|
1498
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1499
|
+
} & {
|
1500
|
+
required: true;
|
1501
|
+
optional?: false | undefined;
|
1502
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1503
|
+
items: ItemOption[];
|
1504
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1505
|
+
label?: string | undefined;
|
1506
|
+
placeholder?: string | undefined;
|
1507
|
+
helperText?: string | undefined;
|
1508
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1509
|
+
textBefore?: string | undefined;
|
1510
|
+
textAfter?: string | undefined;
|
1511
|
+
variant?: "normal" | "tight" | undefined;
|
1512
|
+
listOverflow?: Property.Overflow | undefined;
|
1513
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1514
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1515
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1516
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1517
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1518
|
+
closeAfterSelect?: boolean | undefined;
|
1519
|
+
size?: string | undefined;
|
1520
|
+
view?: string | undefined;
|
1521
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1522
|
+
} & {
|
1523
|
+
readOnly?: true | undefined;
|
1524
|
+
disabled?: boolean | undefined;
|
1525
|
+
alwaysOpened?: false | undefined;
|
1526
|
+
} & {
|
1527
|
+
multiple?: false | undefined;
|
1528
|
+
value?: string | undefined;
|
1529
|
+
defaultValue?: string | undefined;
|
1530
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1531
|
+
isTargetAmount?: false | undefined;
|
1532
|
+
targetAmount?: undefined;
|
1533
|
+
renderValue?: undefined;
|
1534
|
+
name: string;
|
1535
|
+
} & {
|
1536
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1537
|
+
} & {
|
1538
|
+
optional?: true | undefined;
|
1539
|
+
required?: false | undefined;
|
1540
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1226
1541
|
items: ItemOption[];
|
1227
1542
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1228
1543
|
label?: string | undefined;
|
@@ -1235,7 +1550,7 @@ true: PolymorphicClassName;
|
|
1235
1550
|
listOverflow?: Property.Overflow | undefined;
|
1236
1551
|
listHeight?: Property.Height<string | number> | undefined;
|
1237
1552
|
listWidth?: Property.Width<string | number> | undefined;
|
1238
|
-
portal?:
|
1553
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1239
1554
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1240
1555
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1241
1556
|
closeAfterSelect?: boolean | undefined;
|
@@ -1249,16 +1564,18 @@ true: PolymorphicClassName;
|
|
1249
1564
|
} & {
|
1250
1565
|
multiple: true;
|
1251
1566
|
value?: string[] | undefined;
|
1567
|
+
defaultValue?: undefined;
|
1252
1568
|
onChange?: ((value: string[]) => void) | undefined;
|
1253
1569
|
isTargetAmount?: true | undefined;
|
1254
1570
|
targetAmount?: number | undefined;
|
1255
1571
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1572
|
+
name?: undefined;
|
1256
1573
|
} & {
|
1257
1574
|
requiredPlacement?: "right" | "left" | undefined;
|
1258
1575
|
} & {
|
1259
1576
|
required: true;
|
1260
1577
|
optional?: false | undefined;
|
1261
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1578
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1262
1579
|
items: ItemOption[];
|
1263
1580
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1264
1581
|
label?: string | undefined;
|
@@ -1271,7 +1588,7 @@ true: PolymorphicClassName;
|
|
1271
1588
|
listOverflow?: Property.Overflow | undefined;
|
1272
1589
|
listHeight?: Property.Height<string | number> | undefined;
|
1273
1590
|
listWidth?: Property.Width<string | number> | undefined;
|
1274
|
-
portal?:
|
1591
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1275
1592
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1276
1593
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1277
1594
|
closeAfterSelect?: boolean | undefined;
|
@@ -1285,16 +1602,18 @@ true: PolymorphicClassName;
|
|
1285
1602
|
} & {
|
1286
1603
|
multiple: true;
|
1287
1604
|
value?: string[] | undefined;
|
1605
|
+
defaultValue?: undefined;
|
1288
1606
|
onChange?: ((value: string[]) => void) | undefined;
|
1289
1607
|
isTargetAmount?: true | undefined;
|
1290
1608
|
targetAmount?: number | undefined;
|
1291
1609
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1610
|
+
name?: undefined;
|
1292
1611
|
} & {
|
1293
1612
|
requiredPlacement?: "right" | "left" | undefined;
|
1294
1613
|
} & {
|
1295
1614
|
optional?: true | undefined;
|
1296
1615
|
required?: false | undefined;
|
1297
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1616
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1298
1617
|
items: ItemOption[];
|
1299
1618
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1300
1619
|
label?: string | undefined;
|
@@ -1307,7 +1626,7 @@ true: PolymorphicClassName;
|
|
1307
1626
|
listOverflow?: Property.Overflow | undefined;
|
1308
1627
|
listHeight?: Property.Height<string | number> | undefined;
|
1309
1628
|
listWidth?: Property.Width<string | number> | undefined;
|
1310
|
-
portal?:
|
1629
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1311
1630
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1312
1631
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1313
1632
|
closeAfterSelect?: boolean | undefined;
|
@@ -1319,8 +1638,10 @@ true: PolymorphicClassName;
|
|
1319
1638
|
disabled?: false | undefined;
|
1320
1639
|
alwaysOpened?: true | undefined;
|
1321
1640
|
} & {
|
1641
|
+
name?: undefined;
|
1322
1642
|
multiple?: false | undefined;
|
1323
1643
|
value?: string | undefined;
|
1644
|
+
defaultValue?: undefined;
|
1324
1645
|
onChange?: ((value: string) => void) | undefined;
|
1325
1646
|
isTargetAmount?: false | undefined;
|
1326
1647
|
targetAmount?: undefined;
|
@@ -1330,7 +1651,7 @@ true: PolymorphicClassName;
|
|
1330
1651
|
} & {
|
1331
1652
|
required: true;
|
1332
1653
|
optional?: false | undefined;
|
1333
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1654
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1334
1655
|
items: ItemOption[];
|
1335
1656
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1336
1657
|
label?: string | undefined;
|
@@ -1343,7 +1664,7 @@ true: PolymorphicClassName;
|
|
1343
1664
|
listOverflow?: Property.Overflow | undefined;
|
1344
1665
|
listHeight?: Property.Height<string | number> | undefined;
|
1345
1666
|
listWidth?: Property.Width<string | number> | undefined;
|
1346
|
-
portal?:
|
1667
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1347
1668
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1348
1669
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1349
1670
|
closeAfterSelect?: boolean | undefined;
|
@@ -1355,8 +1676,10 @@ true: PolymorphicClassName;
|
|
1355
1676
|
disabled?: false | undefined;
|
1356
1677
|
alwaysOpened?: true | undefined;
|
1357
1678
|
} & {
|
1679
|
+
name?: undefined;
|
1358
1680
|
multiple?: false | undefined;
|
1359
1681
|
value?: string | undefined;
|
1682
|
+
defaultValue?: undefined;
|
1360
1683
|
onChange?: ((value: string) => void) | undefined;
|
1361
1684
|
isTargetAmount?: false | undefined;
|
1362
1685
|
targetAmount?: undefined;
|
@@ -1366,7 +1689,45 @@ true: PolymorphicClassName;
|
|
1366
1689
|
} & {
|
1367
1690
|
optional?: true | undefined;
|
1368
1691
|
required?: false | undefined;
|
1369
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1692
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1693
|
+
items: ItemOption[];
|
1694
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1695
|
+
label?: string | undefined;
|
1696
|
+
placeholder?: string | undefined;
|
1697
|
+
helperText?: string | undefined;
|
1698
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1699
|
+
textBefore?: string | undefined;
|
1700
|
+
textAfter?: string | undefined;
|
1701
|
+
variant?: "normal" | "tight" | undefined;
|
1702
|
+
listOverflow?: Property.Overflow | undefined;
|
1703
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1704
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1705
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1706
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1707
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1708
|
+
closeAfterSelect?: boolean | undefined;
|
1709
|
+
size?: string | undefined;
|
1710
|
+
view?: string | undefined;
|
1711
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1712
|
+
} & {
|
1713
|
+
readOnly?: false | undefined;
|
1714
|
+
disabled?: false | undefined;
|
1715
|
+
alwaysOpened?: true | undefined;
|
1716
|
+
} & {
|
1717
|
+
multiple: true;
|
1718
|
+
value?: string[] | undefined;
|
1719
|
+
defaultValue?: string[] | undefined;
|
1720
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1721
|
+
isTargetAmount?: false | undefined;
|
1722
|
+
targetAmount?: undefined;
|
1723
|
+
renderValue?: undefined;
|
1724
|
+
name: string;
|
1725
|
+
} & {
|
1726
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1727
|
+
} & {
|
1728
|
+
required: true;
|
1729
|
+
optional?: false | undefined;
|
1730
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1370
1731
|
items: ItemOption[];
|
1371
1732
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1372
1733
|
label?: string | undefined;
|
@@ -1379,7 +1740,7 @@ true: PolymorphicClassName;
|
|
1379
1740
|
listOverflow?: Property.Overflow | undefined;
|
1380
1741
|
listHeight?: Property.Height<string | number> | undefined;
|
1381
1742
|
listWidth?: Property.Width<string | number> | undefined;
|
1382
|
-
portal?:
|
1743
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1383
1744
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1384
1745
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1385
1746
|
closeAfterSelect?: boolean | undefined;
|
@@ -1393,16 +1754,132 @@ true: PolymorphicClassName;
|
|
1393
1754
|
} & {
|
1394
1755
|
multiple: true;
|
1395
1756
|
value?: string[] | undefined;
|
1757
|
+
defaultValue?: string[] | undefined;
|
1758
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1759
|
+
isTargetAmount?: false | undefined;
|
1760
|
+
targetAmount?: undefined;
|
1761
|
+
renderValue?: undefined;
|
1762
|
+
name: string;
|
1763
|
+
} & {
|
1764
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1765
|
+
} & {
|
1766
|
+
optional?: true | undefined;
|
1767
|
+
required?: false | undefined;
|
1768
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1769
|
+
items: ItemOption[];
|
1770
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1771
|
+
label?: string | undefined;
|
1772
|
+
placeholder?: string | undefined;
|
1773
|
+
helperText?: string | undefined;
|
1774
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1775
|
+
textBefore?: string | undefined;
|
1776
|
+
textAfter?: string | undefined;
|
1777
|
+
variant?: "normal" | "tight" | undefined;
|
1778
|
+
listOverflow?: Property.Overflow | undefined;
|
1779
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1780
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1781
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1782
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1783
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1784
|
+
closeAfterSelect?: boolean | undefined;
|
1785
|
+
size?: string | undefined;
|
1786
|
+
view?: string | undefined;
|
1787
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1788
|
+
} & {
|
1789
|
+
readOnly?: false | undefined;
|
1790
|
+
disabled?: false | undefined;
|
1791
|
+
alwaysOpened?: true | undefined;
|
1792
|
+
} & {
|
1793
|
+
multiple?: false | undefined;
|
1794
|
+
value?: string | undefined;
|
1795
|
+
defaultValue?: string | undefined;
|
1796
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1797
|
+
isTargetAmount?: false | undefined;
|
1798
|
+
targetAmount?: undefined;
|
1799
|
+
renderValue?: undefined;
|
1800
|
+
name: string;
|
1801
|
+
} & {
|
1802
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1803
|
+
} & {
|
1804
|
+
required: true;
|
1805
|
+
optional?: false | undefined;
|
1806
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1807
|
+
items: ItemOption[];
|
1808
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1809
|
+
label?: string | undefined;
|
1810
|
+
placeholder?: string | undefined;
|
1811
|
+
helperText?: string | undefined;
|
1812
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1813
|
+
textBefore?: string | undefined;
|
1814
|
+
textAfter?: string | undefined;
|
1815
|
+
variant?: "normal" | "tight" | undefined;
|
1816
|
+
listOverflow?: Property.Overflow | undefined;
|
1817
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1818
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1819
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1820
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1821
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1822
|
+
closeAfterSelect?: boolean | undefined;
|
1823
|
+
size?: string | undefined;
|
1824
|
+
view?: string | undefined;
|
1825
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1826
|
+
} & {
|
1827
|
+
readOnly?: false | undefined;
|
1828
|
+
disabled?: false | undefined;
|
1829
|
+
alwaysOpened?: true | undefined;
|
1830
|
+
} & {
|
1831
|
+
multiple?: false | undefined;
|
1832
|
+
value?: string | undefined;
|
1833
|
+
defaultValue?: string | undefined;
|
1834
|
+
onChange?: ChangeEventHandler<Element> | undefined;
|
1835
|
+
isTargetAmount?: false | undefined;
|
1836
|
+
targetAmount?: undefined;
|
1837
|
+
renderValue?: undefined;
|
1838
|
+
name: string;
|
1839
|
+
} & {
|
1840
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1841
|
+
} & {
|
1842
|
+
optional?: true | undefined;
|
1843
|
+
required?: false | undefined;
|
1844
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1845
|
+
items: ItemOption[];
|
1846
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1847
|
+
label?: string | undefined;
|
1848
|
+
placeholder?: string | undefined;
|
1849
|
+
helperText?: string | undefined;
|
1850
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1851
|
+
textBefore?: string | undefined;
|
1852
|
+
textAfter?: string | undefined;
|
1853
|
+
variant?: "normal" | "tight" | undefined;
|
1854
|
+
listOverflow?: Property.Overflow | undefined;
|
1855
|
+
listHeight?: Property.Height<string | number> | undefined;
|
1856
|
+
listWidth?: Property.Width<string | number> | undefined;
|
1857
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1858
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1859
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1860
|
+
closeAfterSelect?: boolean | undefined;
|
1861
|
+
size?: string | undefined;
|
1862
|
+
view?: string | undefined;
|
1863
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1864
|
+
} & {
|
1865
|
+
readOnly?: false | undefined;
|
1866
|
+
disabled?: false | undefined;
|
1867
|
+
alwaysOpened?: true | undefined;
|
1868
|
+
} & {
|
1869
|
+
multiple: true;
|
1870
|
+
value?: string[] | undefined;
|
1871
|
+
defaultValue?: undefined;
|
1396
1872
|
onChange?: ((value: string[]) => void) | undefined;
|
1397
1873
|
isTargetAmount?: true | undefined;
|
1398
1874
|
targetAmount?: number | undefined;
|
1399
1875
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1876
|
+
name?: undefined;
|
1400
1877
|
} & {
|
1401
1878
|
requiredPlacement?: "right" | "left" | undefined;
|
1402
1879
|
} & {
|
1403
1880
|
required: true;
|
1404
1881
|
optional?: false | undefined;
|
1405
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1882
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1406
1883
|
items: ItemOption[];
|
1407
1884
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1408
1885
|
label?: string | undefined;
|
@@ -1415,7 +1892,7 @@ true: PolymorphicClassName;
|
|
1415
1892
|
listOverflow?: Property.Overflow | undefined;
|
1416
1893
|
listHeight?: Property.Height<string | number> | undefined;
|
1417
1894
|
listWidth?: Property.Width<string | number> | undefined;
|
1418
|
-
portal?:
|
1895
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1419
1896
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1420
1897
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1421
1898
|
closeAfterSelect?: boolean | undefined;
|
@@ -1429,16 +1906,18 @@ true: PolymorphicClassName;
|
|
1429
1906
|
} & {
|
1430
1907
|
multiple: true;
|
1431
1908
|
value?: string[] | undefined;
|
1909
|
+
defaultValue?: undefined;
|
1432
1910
|
onChange?: ((value: string[]) => void) | undefined;
|
1433
1911
|
isTargetAmount?: true | undefined;
|
1434
1912
|
targetAmount?: number | undefined;
|
1435
1913
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1914
|
+
name?: undefined;
|
1436
1915
|
} & {
|
1437
1916
|
requiredPlacement?: "right" | "left" | undefined;
|
1438
1917
|
} & {
|
1439
1918
|
optional?: true | undefined;
|
1440
1919
|
required?: false | undefined;
|
1441
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
|
1920
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
|
1442
1921
|
ref?: ForwardedRef<HTMLInputElement> | undefined;
|
1443
1922
|
}) => ReactElement | null;
|
1444
1923
|
|
@@ -3500,10 +3979,184 @@ export { SegmentProvider }
|
|
3500
3979
|
|
3501
3980
|
export { SegmentProviderProps }
|
3502
3981
|
|
3503
|
-
// Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
|
3504
|
-
//
|
3505
3982
|
// @public (undocumented)
|
3506
|
-
export const Select:
|
3983
|
+
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps, "view" | "size" | "chipView"> & Pick<PropsType< {
|
3984
|
+
size: {
|
3985
|
+
xs: PolymorphicClassName;
|
3986
|
+
s: PolymorphicClassName;
|
3987
|
+
m: PolymorphicClassName;
|
3988
|
+
l: PolymorphicClassName;
|
3989
|
+
};
|
3990
|
+
view: {
|
3991
|
+
default: PolymorphicClassName;
|
3992
|
+
positive: PolymorphicClassName;
|
3993
|
+
warning: PolymorphicClassName;
|
3994
|
+
negative: PolymorphicClassName;
|
3995
|
+
accent: PolymorphicClassName;
|
3996
|
+
secondary: PolymorphicClassName;
|
3997
|
+
clear: PolymorphicClassName;
|
3998
|
+
dark: PolymorphicClassName;
|
3999
|
+
black: PolymorphicClassName;
|
4000
|
+
white: PolymorphicClassName;
|
4001
|
+
};
|
4002
|
+
chipView: {
|
4003
|
+
default: PolymorphicClassName;
|
4004
|
+
secondary: PolymorphicClassName;
|
4005
|
+
accent: PolymorphicClassName;
|
4006
|
+
};
|
4007
|
+
}> & (({
|
4008
|
+
target?: "textfield-like" | undefined;
|
4009
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
4010
|
+
contentLeft?: React_2.ReactNode;
|
4011
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
4012
|
+
placeholder?: string | undefined;
|
4013
|
+
helperText?: string | undefined;
|
4014
|
+
} & {
|
4015
|
+
multiselect?: false | undefined;
|
4016
|
+
separator?: undefined;
|
4017
|
+
} & {
|
4018
|
+
value: any;
|
4019
|
+
onChange?: ((value: any) => void) | undefined;
|
4020
|
+
listOverflow?: Property.Overflow | undefined;
|
4021
|
+
listHeight?: Property.Height<string | number> | undefined;
|
4022
|
+
status?: "warning" | "success" | "error" | undefined;
|
4023
|
+
placeholder?: string | undefined;
|
4024
|
+
helperText?: string | undefined;
|
4025
|
+
disabled?: boolean | undefined;
|
4026
|
+
items?: MergedDropdownNode[] | undefined;
|
4027
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
4028
|
+
hasItems?: boolean | undefined;
|
4029
|
+
children?: undefined;
|
4030
|
+
isOpen?: boolean | undefined;
|
4031
|
+
isTargetAmount?: boolean | undefined;
|
4032
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
4033
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
4034
|
+
label?: string | undefined;
|
4035
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
4036
|
+
variant?: "normal" | "tight" | undefined;
|
4037
|
+
listWidth?: Property.Width<string | number> | undefined;
|
4038
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
4039
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
4040
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
4041
|
+
closeAfterSelect?: boolean | undefined;
|
4042
|
+
size?: string | undefined;
|
4043
|
+
view?: string | undefined;
|
4044
|
+
chipView?: string | undefined;
|
4045
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
4046
|
+
target?: "textfield-like" | undefined;
|
4047
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
4048
|
+
contentLeft?: React_2.ReactNode;
|
4049
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
4050
|
+
placeholder?: string | undefined;
|
4051
|
+
helperText?: string | undefined;
|
4052
|
+
} & {
|
4053
|
+
multiselect?: true | undefined;
|
4054
|
+
separator?: string | undefined;
|
4055
|
+
} & {
|
4056
|
+
value: any;
|
4057
|
+
onChange?: ((value: any) => void) | undefined;
|
4058
|
+
listOverflow?: Property.Overflow | undefined;
|
4059
|
+
listHeight?: Property.Height<string | number> | undefined;
|
4060
|
+
status?: "warning" | "success" | "error" | undefined;
|
4061
|
+
placeholder?: string | undefined;
|
4062
|
+
helperText?: string | undefined;
|
4063
|
+
disabled?: boolean | undefined;
|
4064
|
+
items?: MergedDropdownNode[] | undefined;
|
4065
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
4066
|
+
hasItems?: boolean | undefined;
|
4067
|
+
children?: undefined;
|
4068
|
+
isOpen?: boolean | undefined;
|
4069
|
+
isTargetAmount?: boolean | undefined;
|
4070
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
4071
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
4072
|
+
label?: string | undefined;
|
4073
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
4074
|
+
variant?: "normal" | "tight" | undefined;
|
4075
|
+
listWidth?: Property.Width<string | number> | undefined;
|
4076
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
4077
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
4078
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
4079
|
+
closeAfterSelect?: boolean | undefined;
|
4080
|
+
size?: string | undefined;
|
4081
|
+
view?: string | undefined;
|
4082
|
+
chipView?: string | undefined;
|
4083
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
4084
|
+
target?: "button-like" | undefined;
|
4085
|
+
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
4086
|
+
contentLeft?: undefined;
|
4087
|
+
labelPlacement?: undefined;
|
4088
|
+
placeholder?: undefined;
|
4089
|
+
helperText?: undefined;
|
4090
|
+
} & {
|
4091
|
+
multiselect?: false | undefined;
|
4092
|
+
separator?: undefined;
|
4093
|
+
} & {
|
4094
|
+
value: any;
|
4095
|
+
onChange?: ((value: any) => void) | undefined;
|
4096
|
+
listOverflow?: Property.Overflow | undefined;
|
4097
|
+
listHeight?: Property.Height<string | number> | undefined;
|
4098
|
+
status?: "warning" | "success" | "error" | undefined;
|
4099
|
+
placeholder?: string | undefined;
|
4100
|
+
helperText?: string | undefined;
|
4101
|
+
disabled?: boolean | undefined;
|
4102
|
+
items?: MergedDropdownNode[] | undefined;
|
4103
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
4104
|
+
hasItems?: boolean | undefined;
|
4105
|
+
children?: undefined;
|
4106
|
+
isOpen?: boolean | undefined;
|
4107
|
+
isTargetAmount?: boolean | undefined;
|
4108
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
4109
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
4110
|
+
label?: string | undefined;
|
4111
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
4112
|
+
variant?: "normal" | "tight" | undefined;
|
4113
|
+
listWidth?: Property.Width<string | number> | undefined;
|
4114
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
4115
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
4116
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
4117
|
+
closeAfterSelect?: boolean | undefined;
|
4118
|
+
size?: string | undefined;
|
4119
|
+
view?: string | undefined;
|
4120
|
+
chipView?: string | undefined;
|
4121
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
4122
|
+
target?: "button-like" | undefined;
|
4123
|
+
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
4124
|
+
contentLeft?: undefined;
|
4125
|
+
labelPlacement?: undefined;
|
4126
|
+
placeholder?: undefined;
|
4127
|
+
helperText?: undefined;
|
4128
|
+
} & {
|
4129
|
+
multiselect?: true | undefined;
|
4130
|
+
separator?: string | undefined;
|
4131
|
+
} & {
|
4132
|
+
value: any;
|
4133
|
+
onChange?: ((value: any) => void) | undefined;
|
4134
|
+
listOverflow?: Property.Overflow | undefined;
|
4135
|
+
listHeight?: Property.Height<string | number> | undefined;
|
4136
|
+
status?: "warning" | "success" | "error" | undefined;
|
4137
|
+
placeholder?: string | undefined;
|
4138
|
+
helperText?: string | undefined;
|
4139
|
+
disabled?: boolean | undefined;
|
4140
|
+
items?: MergedDropdownNode[] | undefined;
|
4141
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
4142
|
+
hasItems?: boolean | undefined;
|
4143
|
+
children?: undefined;
|
4144
|
+
isOpen?: boolean | undefined;
|
4145
|
+
isTargetAmount?: boolean | undefined;
|
4146
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
4147
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
4148
|
+
label?: string | undefined;
|
4149
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
4150
|
+
variant?: "normal" | "tight" | undefined;
|
4151
|
+
listWidth?: Property.Width<string | number> | undefined;
|
4152
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
4153
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
4154
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
4155
|
+
closeAfterSelect?: boolean | undefined;
|
4156
|
+
size?: string | undefined;
|
4157
|
+
view?: string | undefined;
|
4158
|
+
chipView?: string | undefined;
|
4159
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>)), "view" | "size" | "chipView"> & React_2.RefAttributes<HTMLButtonElement>>;
|
3507
4160
|
|
3508
4161
|
// @public
|
3509
4162
|
export const Sheet: FunctionComponent<PropsType< {
|