@salutejs/sdds-dfa 0.173.0-canary.1550.11805988388.0 → 0.173.0-canary.1558.11807380775.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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/styled-components';
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';
@@ -79,8 +79,6 @@ import { DatePickerRangeProps } from '@salutejs/plasma-new-hope/styled-component
79
79
  import { DatePickerTextFieldProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types';
80
80
  import { datePickerTokens } from '@salutejs/plasma-new-hope/styled-components';
81
81
  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
82
  import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
85
83
  import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
86
84
  import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -88,7 +86,6 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
88
86
  import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
89
87
  import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
90
88
  import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
91
- import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
92
89
  import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
93
90
  import { dsplL } from '@salutejs/sdds-themes/tokens';
94
91
  import { dsplLBold } from '@salutejs/sdds-themes/tokens';
@@ -100,6 +97,7 @@ import type { FC } from 'react';
100
97
  import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
101
98
  import { FormTypeNumber } from '@salutejs/plasma-new-hope/types/types/FormType';
102
99
  import { FormTypeString } from '@salutejs/plasma-new-hope/types/types/FormType';
100
+ import type { ForwardedRef } from 'react';
103
101
  import { ForwardRefExoticComponent } from 'react';
104
102
  import { FunctionComponent } from 'react';
105
103
  import { GridProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -117,18 +115,19 @@ import { HTMLAttributes } from 'react';
117
115
  import { ImageProps } from '@salutejs/plasma-new-hope/styled-components';
118
116
  import { ImgHTMLAttributes } from 'react';
119
117
  import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
120
- import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
118
+ import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
121
119
  import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
122
120
  import type { ItemOption } from '@salutejs/plasma-new-hope';
123
- import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
124
121
  import { JSXElementConstructor } from 'react';
125
122
  import { KeyboardEvent as KeyboardEvent_2 } from 'react';
126
123
  import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
127
124
  import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
128
125
  import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
126
+ import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
129
127
  import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
130
128
  import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
131
129
  import { MouseEvent as MouseEvent_2 } from 'react';
130
+ import { MutableRefObject } from 'react';
132
131
  import { numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
133
132
  import { numberInputTokens } from '@salutejs/plasma-new-hope/styled-components';
134
133
  import { Orientation } from '@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types';
@@ -152,7 +151,7 @@ import { priceClasses } from '@salutejs/plasma-new-hope/styled-components';
152
151
  import { PriceProps } from '@salutejs/plasma-new-hope/types/components/Price/Price.types';
153
152
  import { ProgressProps } from '@salutejs/plasma-new-hope/styled-components';
154
153
  import { Property } from 'csstype';
155
- import { Props as Props_2 } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
154
+ import { Props } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
156
155
  import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
157
156
  import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
158
157
  import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components';
@@ -172,7 +171,7 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
172
171
  import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
173
172
  import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
174
173
  import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
175
- import type { SelectProps as SelectProps_2 } from '@salutejs/plasma-new-hope';
174
+ import type { SelectProps } from '@salutejs/plasma-new-hope/styled-components';
176
175
  import { sheetClasses } from '@salutejs/plasma-new-hope/styled-components';
177
176
  import { SheetProps } from '@salutejs/plasma-new-hope/styled-components';
178
177
  import { ShowToastArgs } from '@salutejs/plasma-new-hope/styled-components';
@@ -192,7 +191,7 @@ import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
192
191
  import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
193
192
  import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
194
193
  import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
195
- import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
194
+ import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
196
195
  import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
197
196
  import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
198
197
  import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
@@ -981,10 +980,465 @@ export { ColProps }
981
980
 
982
981
  export { ColSizeProps }
983
982
 
984
- // Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
985
- //
986
983
  // @public (undocumented)
987
- export const Combobox: <T extends ItemOption>(props: Props<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
984
+ export const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & Pick<PropsType< {
985
+ view: {
986
+ default: PolymorphicClassName;
987
+ positive: PolymorphicClassName;
988
+ warning: PolymorphicClassName;
989
+ negative: PolymorphicClassName;
990
+ };
991
+ size: {
992
+ l: PolymorphicClassName;
993
+ m: PolymorphicClassName;
994
+ s: PolymorphicClassName;
995
+ xs: PolymorphicClassName;
996
+ };
997
+ labelPlacement: {
998
+ inner: PolymorphicClassName;
999
+ outer: PolymorphicClassName;
1000
+ };
1001
+ disabled: {
1002
+ true: PolymorphicClassName;
1003
+ };
1004
+ readOnly: {
1005
+ true: PolymorphicClassName;
1006
+ };
1007
+ }> & (({
1008
+ items: ItemOption[];
1009
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1010
+ label?: string | undefined;
1011
+ placeholder?: string | undefined;
1012
+ helperText?: string | undefined;
1013
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1014
+ textBefore?: string | undefined;
1015
+ textAfter?: string | undefined;
1016
+ variant?: "normal" | "tight" | undefined;
1017
+ listOverflow?: Property.Overflow | undefined;
1018
+ listHeight?: Property.Height<string | number> | undefined;
1019
+ listWidth?: Property.Width<string | number> | undefined;
1020
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1021
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1022
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1023
+ closeAfterSelect?: boolean | undefined;
1024
+ size?: string | undefined;
1025
+ view?: string | undefined;
1026
+ labelPlacement?: "outer" | "inner" | undefined;
1027
+ } & {
1028
+ readOnly?: boolean | undefined;
1029
+ disabled?: true | undefined;
1030
+ alwaysOpened?: false | undefined;
1031
+ } & {
1032
+ multiple?: false | undefined;
1033
+ value?: string | undefined;
1034
+ onChange?: ((value: string) => void) | undefined;
1035
+ isTargetAmount?: false | undefined;
1036
+ targetAmount?: undefined;
1037
+ renderValue?: undefined;
1038
+ } & {
1039
+ requiredPlacement?: "right" | "left" | undefined;
1040
+ } & {
1041
+ required: true;
1042
+ optional?: false | undefined;
1043
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1044
+ items: ItemOption[];
1045
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1046
+ label?: string | undefined;
1047
+ placeholder?: string | undefined;
1048
+ helperText?: string | undefined;
1049
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1050
+ textBefore?: string | undefined;
1051
+ textAfter?: string | undefined;
1052
+ variant?: "normal" | "tight" | undefined;
1053
+ listOverflow?: Property.Overflow | undefined;
1054
+ listHeight?: Property.Height<string | number> | undefined;
1055
+ listWidth?: Property.Width<string | number> | undefined;
1056
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1057
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1058
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1059
+ closeAfterSelect?: boolean | undefined;
1060
+ size?: string | undefined;
1061
+ view?: string | undefined;
1062
+ labelPlacement?: "outer" | "inner" | undefined;
1063
+ } & {
1064
+ readOnly?: boolean | undefined;
1065
+ disabled?: true | undefined;
1066
+ alwaysOpened?: false | undefined;
1067
+ } & {
1068
+ multiple?: false | undefined;
1069
+ value?: string | undefined;
1070
+ onChange?: ((value: string) => void) | undefined;
1071
+ isTargetAmount?: false | undefined;
1072
+ targetAmount?: undefined;
1073
+ renderValue?: undefined;
1074
+ } & {
1075
+ requiredPlacement?: "right" | "left" | undefined;
1076
+ } & {
1077
+ optional?: true | undefined;
1078
+ required?: false | undefined;
1079
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1080
+ items: ItemOption[];
1081
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1082
+ label?: string | undefined;
1083
+ placeholder?: string | undefined;
1084
+ helperText?: string | undefined;
1085
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1086
+ textBefore?: string | undefined;
1087
+ textAfter?: string | undefined;
1088
+ variant?: "normal" | "tight" | undefined;
1089
+ listOverflow?: Property.Overflow | undefined;
1090
+ listHeight?: Property.Height<string | number> | undefined;
1091
+ listWidth?: Property.Width<string | number> | undefined;
1092
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1093
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1094
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1095
+ closeAfterSelect?: boolean | undefined;
1096
+ size?: string | undefined;
1097
+ view?: string | undefined;
1098
+ labelPlacement?: "outer" | "inner" | undefined;
1099
+ } & {
1100
+ readOnly?: boolean | undefined;
1101
+ disabled?: true | undefined;
1102
+ alwaysOpened?: false | undefined;
1103
+ } & {
1104
+ multiple: true;
1105
+ value?: string[] | undefined;
1106
+ onChange?: ((value: string[]) => void) | undefined;
1107
+ isTargetAmount?: true | undefined;
1108
+ targetAmount?: number | undefined;
1109
+ renderValue?: ((item: ItemOption) => string) | undefined;
1110
+ } & {
1111
+ requiredPlacement?: "right" | "left" | undefined;
1112
+ } & {
1113
+ required: true;
1114
+ optional?: false | undefined;
1115
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1116
+ items: ItemOption[];
1117
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1118
+ label?: string | undefined;
1119
+ placeholder?: string | undefined;
1120
+ helperText?: string | undefined;
1121
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1122
+ textBefore?: string | undefined;
1123
+ textAfter?: string | undefined;
1124
+ variant?: "normal" | "tight" | undefined;
1125
+ listOverflow?: Property.Overflow | undefined;
1126
+ listHeight?: Property.Height<string | number> | undefined;
1127
+ listWidth?: Property.Width<string | number> | undefined;
1128
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1129
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1130
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1131
+ closeAfterSelect?: boolean | undefined;
1132
+ size?: string | undefined;
1133
+ view?: string | undefined;
1134
+ labelPlacement?: "outer" | "inner" | undefined;
1135
+ } & {
1136
+ readOnly?: boolean | undefined;
1137
+ disabled?: true | undefined;
1138
+ alwaysOpened?: false | undefined;
1139
+ } & {
1140
+ multiple: true;
1141
+ value?: string[] | undefined;
1142
+ onChange?: ((value: string[]) => void) | undefined;
1143
+ isTargetAmount?: true | undefined;
1144
+ targetAmount?: number | undefined;
1145
+ renderValue?: ((item: ItemOption) => string) | undefined;
1146
+ } & {
1147
+ requiredPlacement?: "right" | "left" | undefined;
1148
+ } & {
1149
+ optional?: true | undefined;
1150
+ required?: false | undefined;
1151
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1152
+ items: ItemOption[];
1153
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1154
+ label?: string | undefined;
1155
+ placeholder?: string | undefined;
1156
+ helperText?: string | undefined;
1157
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1158
+ textBefore?: string | undefined;
1159
+ textAfter?: string | undefined;
1160
+ variant?: "normal" | "tight" | undefined;
1161
+ listOverflow?: Property.Overflow | undefined;
1162
+ listHeight?: Property.Height<string | number> | undefined;
1163
+ listWidth?: Property.Width<string | number> | undefined;
1164
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1165
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1166
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1167
+ closeAfterSelect?: boolean | undefined;
1168
+ size?: string | undefined;
1169
+ view?: string | undefined;
1170
+ labelPlacement?: "outer" | "inner" | undefined;
1171
+ } & {
1172
+ readOnly?: true | undefined;
1173
+ disabled?: boolean | undefined;
1174
+ alwaysOpened?: false | undefined;
1175
+ } & {
1176
+ multiple?: false | undefined;
1177
+ value?: string | undefined;
1178
+ onChange?: ((value: string) => void) | undefined;
1179
+ isTargetAmount?: false | undefined;
1180
+ targetAmount?: undefined;
1181
+ renderValue?: undefined;
1182
+ } & {
1183
+ requiredPlacement?: "right" | "left" | undefined;
1184
+ } & {
1185
+ required: true;
1186
+ optional?: false | undefined;
1187
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1188
+ items: ItemOption[];
1189
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1190
+ label?: string | undefined;
1191
+ placeholder?: string | undefined;
1192
+ helperText?: string | undefined;
1193
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1194
+ textBefore?: string | undefined;
1195
+ textAfter?: string | undefined;
1196
+ variant?: "normal" | "tight" | undefined;
1197
+ listOverflow?: Property.Overflow | undefined;
1198
+ listHeight?: Property.Height<string | number> | undefined;
1199
+ listWidth?: Property.Width<string | number> | undefined;
1200
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1201
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1202
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1203
+ closeAfterSelect?: boolean | undefined;
1204
+ size?: string | undefined;
1205
+ view?: string | undefined;
1206
+ labelPlacement?: "outer" | "inner" | undefined;
1207
+ } & {
1208
+ readOnly?: true | undefined;
1209
+ disabled?: boolean | undefined;
1210
+ alwaysOpened?: false | undefined;
1211
+ } & {
1212
+ multiple?: false | undefined;
1213
+ value?: string | undefined;
1214
+ onChange?: ((value: string) => void) | undefined;
1215
+ isTargetAmount?: false | undefined;
1216
+ targetAmount?: undefined;
1217
+ renderValue?: undefined;
1218
+ } & {
1219
+ requiredPlacement?: "right" | "left" | undefined;
1220
+ } & {
1221
+ optional?: true | undefined;
1222
+ required?: false | undefined;
1223
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1224
+ items: ItemOption[];
1225
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1226
+ label?: string | undefined;
1227
+ placeholder?: string | undefined;
1228
+ helperText?: string | undefined;
1229
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1230
+ textBefore?: string | undefined;
1231
+ textAfter?: string | undefined;
1232
+ variant?: "normal" | "tight" | undefined;
1233
+ listOverflow?: Property.Overflow | undefined;
1234
+ listHeight?: Property.Height<string | number> | undefined;
1235
+ listWidth?: Property.Width<string | number> | undefined;
1236
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1237
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1238
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1239
+ closeAfterSelect?: boolean | undefined;
1240
+ size?: string | undefined;
1241
+ view?: string | undefined;
1242
+ labelPlacement?: "outer" | "inner" | undefined;
1243
+ } & {
1244
+ readOnly?: true | undefined;
1245
+ disabled?: boolean | undefined;
1246
+ alwaysOpened?: false | undefined;
1247
+ } & {
1248
+ multiple: true;
1249
+ value?: string[] | undefined;
1250
+ onChange?: ((value: string[]) => void) | undefined;
1251
+ isTargetAmount?: true | undefined;
1252
+ targetAmount?: number | undefined;
1253
+ renderValue?: ((item: ItemOption) => string) | undefined;
1254
+ } & {
1255
+ requiredPlacement?: "right" | "left" | undefined;
1256
+ } & {
1257
+ required: true;
1258
+ optional?: false | undefined;
1259
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1260
+ items: ItemOption[];
1261
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1262
+ label?: string | undefined;
1263
+ placeholder?: string | undefined;
1264
+ helperText?: string | undefined;
1265
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1266
+ textBefore?: string | undefined;
1267
+ textAfter?: string | undefined;
1268
+ variant?: "normal" | "tight" | undefined;
1269
+ listOverflow?: Property.Overflow | undefined;
1270
+ listHeight?: Property.Height<string | number> | undefined;
1271
+ listWidth?: Property.Width<string | number> | undefined;
1272
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1273
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1274
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1275
+ closeAfterSelect?: boolean | undefined;
1276
+ size?: string | undefined;
1277
+ view?: string | undefined;
1278
+ labelPlacement?: "outer" | "inner" | undefined;
1279
+ } & {
1280
+ readOnly?: true | undefined;
1281
+ disabled?: boolean | undefined;
1282
+ alwaysOpened?: false | undefined;
1283
+ } & {
1284
+ multiple: true;
1285
+ value?: string[] | undefined;
1286
+ onChange?: ((value: string[]) => void) | undefined;
1287
+ isTargetAmount?: true | undefined;
1288
+ targetAmount?: number | undefined;
1289
+ renderValue?: ((item: ItemOption) => string) | undefined;
1290
+ } & {
1291
+ requiredPlacement?: "right" | "left" | undefined;
1292
+ } & {
1293
+ optional?: true | undefined;
1294
+ required?: false | undefined;
1295
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1296
+ items: ItemOption[];
1297
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1298
+ label?: string | undefined;
1299
+ placeholder?: string | undefined;
1300
+ helperText?: string | undefined;
1301
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1302
+ textBefore?: string | undefined;
1303
+ textAfter?: string | undefined;
1304
+ variant?: "normal" | "tight" | undefined;
1305
+ listOverflow?: Property.Overflow | undefined;
1306
+ listHeight?: Property.Height<string | number> | undefined;
1307
+ listWidth?: Property.Width<string | number> | undefined;
1308
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1309
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1310
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1311
+ closeAfterSelect?: boolean | undefined;
1312
+ size?: string | undefined;
1313
+ view?: string | undefined;
1314
+ labelPlacement?: "outer" | "inner" | undefined;
1315
+ } & {
1316
+ readOnly?: false | undefined;
1317
+ disabled?: false | undefined;
1318
+ alwaysOpened?: true | undefined;
1319
+ } & {
1320
+ multiple?: false | undefined;
1321
+ value?: string | undefined;
1322
+ onChange?: ((value: string) => void) | undefined;
1323
+ isTargetAmount?: false | undefined;
1324
+ targetAmount?: undefined;
1325
+ renderValue?: undefined;
1326
+ } & {
1327
+ requiredPlacement?: "right" | "left" | undefined;
1328
+ } & {
1329
+ required: true;
1330
+ optional?: false | undefined;
1331
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1332
+ items: ItemOption[];
1333
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1334
+ label?: string | undefined;
1335
+ placeholder?: string | undefined;
1336
+ helperText?: string | undefined;
1337
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1338
+ textBefore?: string | undefined;
1339
+ textAfter?: string | undefined;
1340
+ variant?: "normal" | "tight" | undefined;
1341
+ listOverflow?: Property.Overflow | undefined;
1342
+ listHeight?: Property.Height<string | number> | undefined;
1343
+ listWidth?: Property.Width<string | number> | undefined;
1344
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1345
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1346
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1347
+ closeAfterSelect?: boolean | undefined;
1348
+ size?: string | undefined;
1349
+ view?: string | undefined;
1350
+ labelPlacement?: "outer" | "inner" | undefined;
1351
+ } & {
1352
+ readOnly?: false | undefined;
1353
+ disabled?: false | undefined;
1354
+ alwaysOpened?: true | undefined;
1355
+ } & {
1356
+ multiple?: false | undefined;
1357
+ value?: string | undefined;
1358
+ onChange?: ((value: string) => void) | undefined;
1359
+ isTargetAmount?: false | undefined;
1360
+ targetAmount?: undefined;
1361
+ renderValue?: undefined;
1362
+ } & {
1363
+ requiredPlacement?: "right" | "left" | undefined;
1364
+ } & {
1365
+ optional?: true | undefined;
1366
+ required?: false | undefined;
1367
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1368
+ items: ItemOption[];
1369
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1370
+ label?: string | undefined;
1371
+ placeholder?: string | undefined;
1372
+ helperText?: string | undefined;
1373
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1374
+ textBefore?: string | undefined;
1375
+ textAfter?: string | undefined;
1376
+ variant?: "normal" | "tight" | undefined;
1377
+ listOverflow?: Property.Overflow | undefined;
1378
+ listHeight?: Property.Height<string | number> | undefined;
1379
+ listWidth?: Property.Width<string | number> | undefined;
1380
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1381
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1382
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1383
+ closeAfterSelect?: boolean | undefined;
1384
+ size?: string | undefined;
1385
+ view?: string | undefined;
1386
+ labelPlacement?: "outer" | "inner" | undefined;
1387
+ } & {
1388
+ readOnly?: false | undefined;
1389
+ disabled?: false | undefined;
1390
+ alwaysOpened?: true | undefined;
1391
+ } & {
1392
+ multiple: true;
1393
+ value?: string[] | undefined;
1394
+ onChange?: ((value: string[]) => void) | undefined;
1395
+ isTargetAmount?: true | undefined;
1396
+ targetAmount?: number | undefined;
1397
+ renderValue?: ((item: ItemOption) => string) | undefined;
1398
+ } & {
1399
+ requiredPlacement?: "right" | "left" | undefined;
1400
+ } & {
1401
+ required: true;
1402
+ optional?: false | undefined;
1403
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1404
+ items: ItemOption[];
1405
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1406
+ label?: string | undefined;
1407
+ placeholder?: string | undefined;
1408
+ helperText?: string | undefined;
1409
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1410
+ textBefore?: string | undefined;
1411
+ textAfter?: string | undefined;
1412
+ variant?: "normal" | "tight" | undefined;
1413
+ listOverflow?: Property.Overflow | undefined;
1414
+ listHeight?: Property.Height<string | number> | undefined;
1415
+ listWidth?: Property.Width<string | number> | undefined;
1416
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1417
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1418
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1419
+ closeAfterSelect?: boolean | undefined;
1420
+ size?: string | undefined;
1421
+ view?: string | undefined;
1422
+ labelPlacement?: "outer" | "inner" | undefined;
1423
+ } & {
1424
+ readOnly?: false | undefined;
1425
+ disabled?: false | undefined;
1426
+ alwaysOpened?: true | undefined;
1427
+ } & {
1428
+ multiple: true;
1429
+ value?: string[] | undefined;
1430
+ onChange?: ((value: string[]) => void) | undefined;
1431
+ isTargetAmount?: true | undefined;
1432
+ targetAmount?: number | undefined;
1433
+ renderValue?: ((item: ItemOption) => string) | undefined;
1434
+ } & {
1435
+ requiredPlacement?: "right" | "left" | undefined;
1436
+ } & {
1437
+ optional?: true | undefined;
1438
+ required?: false | undefined;
1439
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
1440
+ ref?: ForwardedRef<HTMLInputElement> | undefined;
1441
+ }) => ReactElement | null;
988
1442
 
989
1443
  // @public
990
1444
  export const Counter: FunctionComponent<PropsType< {
@@ -1250,7 +1704,7 @@ m: PolymorphicClassName;
1250
1704
  s: PolymorphicClassName;
1251
1705
  xs: PolymorphicClassName;
1252
1706
  };
1253
- }> & Props_2 & RefAttributes<HTMLDivElement>>;
1707
+ }> & Props & RefAttributes<HTMLDivElement>>;
1254
1708
 
1255
1709
  // @public (undocumented)
1256
1710
  export const Grid: FunctionComponent<PropsType< {
@@ -3044,10 +3498,184 @@ export { SegmentProvider }
3044
3498
 
3045
3499
  export { SegmentProviderProps }
3046
3500
 
3047
- // Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
3048
- //
3049
3501
  // @public (undocumented)
3050
- export const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
3502
+ export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps, "view" | "size" | "chipView"> & Pick<PropsType< {
3503
+ size: {
3504
+ xs: PolymorphicClassName;
3505
+ s: PolymorphicClassName;
3506
+ m: PolymorphicClassName;
3507
+ l: PolymorphicClassName;
3508
+ };
3509
+ view: {
3510
+ default: PolymorphicClassName;
3511
+ positive: PolymorphicClassName;
3512
+ warning: PolymorphicClassName;
3513
+ negative: PolymorphicClassName;
3514
+ accent: PolymorphicClassName;
3515
+ secondary: PolymorphicClassName;
3516
+ clear: PolymorphicClassName;
3517
+ dark: PolymorphicClassName;
3518
+ black: PolymorphicClassName;
3519
+ white: PolymorphicClassName;
3520
+ };
3521
+ chipView: {
3522
+ default: PolymorphicClassName;
3523
+ secondary: PolymorphicClassName;
3524
+ accent: PolymorphicClassName;
3525
+ };
3526
+ }> & (({
3527
+ target?: "textfield-like" | undefined;
3528
+ view?: "default" | "positive" | "warning" | "negative" | undefined;
3529
+ contentLeft?: React_2.ReactNode;
3530
+ labelPlacement?: "outer" | "inner" | undefined;
3531
+ placeholder?: string | undefined;
3532
+ helperText?: string | undefined;
3533
+ } & {
3534
+ multiselect?: false | undefined;
3535
+ separator?: undefined;
3536
+ } & {
3537
+ value: any;
3538
+ onChange?: ((value: any) => void) | undefined;
3539
+ listOverflow?: Property.Overflow | undefined;
3540
+ listHeight?: Property.Height<string | number> | undefined;
3541
+ status?: "warning" | "success" | "error" | undefined;
3542
+ placeholder?: string | undefined;
3543
+ helperText?: string | undefined;
3544
+ disabled?: boolean | undefined;
3545
+ items?: MergedDropdownNode[] | undefined;
3546
+ onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
3547
+ hasItems?: boolean | undefined;
3548
+ children?: undefined;
3549
+ isOpen?: boolean | undefined;
3550
+ isTargetAmount?: boolean | undefined;
3551
+ renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
3552
+ placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
3553
+ label?: string | undefined;
3554
+ onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
3555
+ variant?: "normal" | "tight" | undefined;
3556
+ listWidth?: Property.Width<string | number> | undefined;
3557
+ portal?: string | React_2.RefObject<HTMLElement> | undefined;
3558
+ renderValue?: ((item: MergedDropdownNode) => string) | undefined;
3559
+ renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
3560
+ closeAfterSelect?: boolean | undefined;
3561
+ size?: string | undefined;
3562
+ view?: string | undefined;
3563
+ chipView?: string | undefined;
3564
+ } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3565
+ target?: "textfield-like" | undefined;
3566
+ view?: "default" | "positive" | "warning" | "negative" | undefined;
3567
+ contentLeft?: React_2.ReactNode;
3568
+ labelPlacement?: "outer" | "inner" | undefined;
3569
+ placeholder?: string | undefined;
3570
+ helperText?: string | undefined;
3571
+ } & {
3572
+ multiselect?: true | undefined;
3573
+ separator?: string | undefined;
3574
+ } & {
3575
+ value: any;
3576
+ onChange?: ((value: any) => void) | undefined;
3577
+ listOverflow?: Property.Overflow | undefined;
3578
+ listHeight?: Property.Height<string | number> | undefined;
3579
+ status?: "warning" | "success" | "error" | undefined;
3580
+ placeholder?: string | undefined;
3581
+ helperText?: string | undefined;
3582
+ disabled?: boolean | undefined;
3583
+ items?: MergedDropdownNode[] | undefined;
3584
+ onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
3585
+ hasItems?: boolean | undefined;
3586
+ children?: undefined;
3587
+ isOpen?: boolean | undefined;
3588
+ isTargetAmount?: boolean | undefined;
3589
+ renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
3590
+ placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
3591
+ label?: string | undefined;
3592
+ onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
3593
+ variant?: "normal" | "tight" | undefined;
3594
+ listWidth?: Property.Width<string | number> | undefined;
3595
+ portal?: string | React_2.RefObject<HTMLElement> | undefined;
3596
+ renderValue?: ((item: MergedDropdownNode) => string) | undefined;
3597
+ renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
3598
+ closeAfterSelect?: boolean | undefined;
3599
+ size?: string | undefined;
3600
+ view?: string | undefined;
3601
+ chipView?: string | undefined;
3602
+ } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3603
+ target?: "button-like" | undefined;
3604
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3605
+ contentLeft?: undefined;
3606
+ labelPlacement?: undefined;
3607
+ placeholder?: undefined;
3608
+ helperText?: undefined;
3609
+ } & {
3610
+ multiselect?: false | undefined;
3611
+ separator?: undefined;
3612
+ } & {
3613
+ value: any;
3614
+ onChange?: ((value: any) => void) | undefined;
3615
+ listOverflow?: Property.Overflow | undefined;
3616
+ listHeight?: Property.Height<string | number> | undefined;
3617
+ status?: "warning" | "success" | "error" | undefined;
3618
+ placeholder?: string | undefined;
3619
+ helperText?: string | undefined;
3620
+ disabled?: boolean | undefined;
3621
+ items?: MergedDropdownNode[] | undefined;
3622
+ onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
3623
+ hasItems?: boolean | undefined;
3624
+ children?: undefined;
3625
+ isOpen?: boolean | undefined;
3626
+ isTargetAmount?: boolean | undefined;
3627
+ renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
3628
+ placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
3629
+ label?: string | undefined;
3630
+ onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
3631
+ variant?: "normal" | "tight" | undefined;
3632
+ listWidth?: Property.Width<string | number> | undefined;
3633
+ portal?: string | React_2.RefObject<HTMLElement> | undefined;
3634
+ renderValue?: ((item: MergedDropdownNode) => string) | undefined;
3635
+ renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
3636
+ closeAfterSelect?: boolean | undefined;
3637
+ size?: string | undefined;
3638
+ view?: string | undefined;
3639
+ chipView?: string | undefined;
3640
+ } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3641
+ target?: "button-like" | undefined;
3642
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3643
+ contentLeft?: undefined;
3644
+ labelPlacement?: undefined;
3645
+ placeholder?: undefined;
3646
+ helperText?: undefined;
3647
+ } & {
3648
+ multiselect?: true | undefined;
3649
+ separator?: string | undefined;
3650
+ } & {
3651
+ value: any;
3652
+ onChange?: ((value: any) => void) | undefined;
3653
+ listOverflow?: Property.Overflow | undefined;
3654
+ listHeight?: Property.Height<string | number> | undefined;
3655
+ status?: "warning" | "success" | "error" | undefined;
3656
+ placeholder?: string | undefined;
3657
+ helperText?: string | undefined;
3658
+ disabled?: boolean | undefined;
3659
+ items?: MergedDropdownNode[] | undefined;
3660
+ onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
3661
+ hasItems?: boolean | undefined;
3662
+ children?: undefined;
3663
+ isOpen?: boolean | undefined;
3664
+ isTargetAmount?: boolean | undefined;
3665
+ renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
3666
+ placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
3667
+ label?: string | undefined;
3668
+ onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
3669
+ variant?: "normal" | "tight" | undefined;
3670
+ listWidth?: Property.Width<string | number> | undefined;
3671
+ portal?: string | React_2.RefObject<HTMLElement> | undefined;
3672
+ renderValue?: ((item: MergedDropdownNode) => string) | undefined;
3673
+ renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
3674
+ closeAfterSelect?: boolean | undefined;
3675
+ size?: string | undefined;
3676
+ view?: string | undefined;
3677
+ chipView?: string | undefined;
3678
+ } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>)), "view" | "size" | "chipView"> & React_2.RefAttributes<HTMLButtonElement>>;
3051
3679
 
3052
3680
  // @public
3053
3681
  export const Sheet: FunctionComponent<PropsType< {