@salutejs/sdds-finportal 0.167.0-canary.1550.11804452240.0 → 0.167.0-canary.1558.11807380775.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +234 -59
- package/components/Attach/Attach.d.ts +8 -8
- package/components/Button/Button.d.ts +4 -4
- package/components/Combobox/Combobox.d.ts +80 -82
- package/components/Combobox/Combobox.js +1 -10
- package/components/Combobox/index.d.ts +465 -1
- package/components/Combobox/index.js +3 -7
- 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/Combobox/Combobox.js +2 -11
- package/es/components/Combobox/index.js +3 -1
- 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-finportal.api.md +234 -59
@@ -11,7 +11,7 @@ import { addFocus } from '@salutejs/plasma-new-hope/styled-components';
|
|
11
11
|
import { addNotification } from '@salutejs/plasma-new-hope/styled-components';
|
12
12
|
import { AlignProp } from '@salutejs/plasma-new-hope/types/components/Cell/Cell.types';
|
13
13
|
import { AnchorHTMLAttributes } from 'react';
|
14
|
-
import { AsProps } from '@salutejs/plasma-new-hope/
|
14
|
+
import { AsProps } from '@salutejs/plasma-new-hope/types/types';
|
15
15
|
import { AvatarGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
16
16
|
import { AvatarProps } from '@salutejs/plasma-new-hope/styled-components';
|
17
17
|
import { BadgeProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -83,8 +83,6 @@ import { DatePickerRangeProps } from '@salutejs/plasma-new-hope/styled-component
|
|
83
83
|
import { DatePickerTextFieldProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types';
|
84
84
|
import { datePickerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
85
85
|
import { DatePickerVariationProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
|
86
|
-
import type { DistributiveOmit } from '@salutejs/plasma-new-hope';
|
87
|
-
import type { DistributivePick } from '@salutejs/plasma-new-hope';
|
88
86
|
import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
|
89
87
|
import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
90
88
|
import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -92,7 +90,6 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
92
90
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
93
91
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
94
92
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
95
|
-
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
96
93
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
97
94
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
98
95
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
@@ -104,6 +101,7 @@ import { FC } from 'react';
|
|
104
101
|
import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
|
105
102
|
import { FormTypeNumber } from '@salutejs/plasma-new-hope/types/types/FormType';
|
106
103
|
import { FormTypeString } from '@salutejs/plasma-new-hope/types/types/FormType';
|
104
|
+
import type { ForwardedRef } from 'react';
|
107
105
|
import { ForwardRefExoticComponent } from 'react';
|
108
106
|
import { FunctionComponent } from 'react';
|
109
107
|
import { GridProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -121,18 +119,19 @@ import { HTMLAttributes } from 'react';
|
|
121
119
|
import { ImageProps } from '@salutejs/plasma-new-hope/styled-components';
|
122
120
|
import { ImgHTMLAttributes } from 'react';
|
123
121
|
import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
124
|
-
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/
|
122
|
+
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
125
123
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
126
124
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
127
|
-
import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
|
128
125
|
import { JSXElementConstructor } from 'react';
|
129
126
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
130
127
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
131
128
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
132
129
|
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
|
130
|
+
import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
|
133
131
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
134
132
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
135
133
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
134
|
+
import { MutableRefObject } from 'react';
|
136
135
|
import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
137
136
|
import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
|
138
137
|
import { NotificationPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -181,7 +180,7 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
181
180
|
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
182
181
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
183
182
|
import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
|
184
|
-
import type { SelectProps
|
183
|
+
import type { SelectProps } from '@salutejs/plasma-new-hope/styled-components';
|
185
184
|
import { sheetClasses } from '@salutejs/plasma-new-hope/styled-components';
|
186
185
|
import { SheetProps } from '@salutejs/plasma-new-hope/styled-components';
|
187
186
|
import { ShowToastArgs } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -203,7 +202,7 @@ import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
|
|
203
202
|
import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
|
204
203
|
import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
|
205
204
|
import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
|
206
|
-
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/
|
205
|
+
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
207
206
|
import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
208
207
|
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
209
208
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
@@ -1062,15 +1061,15 @@ true: PolymorphicClassName;
|
|
1062
1061
|
label?: string | undefined;
|
1063
1062
|
placeholder?: string | undefined;
|
1064
1063
|
helperText?: string | undefined;
|
1065
|
-
contentLeft?:
|
1064
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1066
1065
|
textBefore?: string | undefined;
|
1067
1066
|
textAfter?: string | undefined;
|
1068
1067
|
variant?: "normal" | "tight" | undefined;
|
1069
1068
|
listOverflow?: Property.Overflow | undefined;
|
1070
1069
|
listHeight?: Property.Height<string | number> | undefined;
|
1071
1070
|
listWidth?: Property.Width<string | number> | undefined;
|
1072
|
-
portal?:
|
1073
|
-
renderItem?: ((item: ItemOption) =>
|
1071
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1072
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1074
1073
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1075
1074
|
closeAfterSelect?: boolean | undefined;
|
1076
1075
|
size?: string | undefined;
|
@@ -1092,21 +1091,21 @@ true: PolymorphicClassName;
|
|
1092
1091
|
} & {
|
1093
1092
|
required: true;
|
1094
1093
|
optional?: false | undefined;
|
1095
|
-
} & Omit<
|
1094
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1096
1095
|
items: ItemOption[];
|
1097
1096
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1098
1097
|
label?: string | undefined;
|
1099
1098
|
placeholder?: string | undefined;
|
1100
1099
|
helperText?: string | undefined;
|
1101
|
-
contentLeft?:
|
1100
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1102
1101
|
textBefore?: string | undefined;
|
1103
1102
|
textAfter?: string | undefined;
|
1104
1103
|
variant?: "normal" | "tight" | undefined;
|
1105
1104
|
listOverflow?: Property.Overflow | undefined;
|
1106
1105
|
listHeight?: Property.Height<string | number> | undefined;
|
1107
1106
|
listWidth?: Property.Width<string | number> | undefined;
|
1108
|
-
portal?:
|
1109
|
-
renderItem?: ((item: ItemOption) =>
|
1107
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1108
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1110
1109
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1111
1110
|
closeAfterSelect?: boolean | undefined;
|
1112
1111
|
size?: string | undefined;
|
@@ -1128,21 +1127,21 @@ true: PolymorphicClassName;
|
|
1128
1127
|
} & {
|
1129
1128
|
optional?: true | undefined;
|
1130
1129
|
required?: false | undefined;
|
1131
|
-
} & Omit<
|
1130
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1132
1131
|
items: ItemOption[];
|
1133
1132
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1134
1133
|
label?: string | undefined;
|
1135
1134
|
placeholder?: string | undefined;
|
1136
1135
|
helperText?: string | undefined;
|
1137
|
-
contentLeft?:
|
1136
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1138
1137
|
textBefore?: string | undefined;
|
1139
1138
|
textAfter?: string | undefined;
|
1140
1139
|
variant?: "normal" | "tight" | undefined;
|
1141
1140
|
listOverflow?: Property.Overflow | undefined;
|
1142
1141
|
listHeight?: Property.Height<string | number> | undefined;
|
1143
1142
|
listWidth?: Property.Width<string | number> | undefined;
|
1144
|
-
portal?:
|
1145
|
-
renderItem?: ((item: ItemOption) =>
|
1143
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1144
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1146
1145
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1147
1146
|
closeAfterSelect?: boolean | undefined;
|
1148
1147
|
size?: string | undefined;
|
@@ -1164,21 +1163,21 @@ true: PolymorphicClassName;
|
|
1164
1163
|
} & {
|
1165
1164
|
required: true;
|
1166
1165
|
optional?: false | undefined;
|
1167
|
-
} & Omit<
|
1166
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1168
1167
|
items: ItemOption[];
|
1169
1168
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1170
1169
|
label?: string | undefined;
|
1171
1170
|
placeholder?: string | undefined;
|
1172
1171
|
helperText?: string | undefined;
|
1173
|
-
contentLeft?:
|
1172
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1174
1173
|
textBefore?: string | undefined;
|
1175
1174
|
textAfter?: string | undefined;
|
1176
1175
|
variant?: "normal" | "tight" | undefined;
|
1177
1176
|
listOverflow?: Property.Overflow | undefined;
|
1178
1177
|
listHeight?: Property.Height<string | number> | undefined;
|
1179
1178
|
listWidth?: Property.Width<string | number> | undefined;
|
1180
|
-
portal?:
|
1181
|
-
renderItem?: ((item: ItemOption) =>
|
1179
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1180
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1182
1181
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1183
1182
|
closeAfterSelect?: boolean | undefined;
|
1184
1183
|
size?: string | undefined;
|
@@ -1200,21 +1199,21 @@ true: PolymorphicClassName;
|
|
1200
1199
|
} & {
|
1201
1200
|
optional?: true | undefined;
|
1202
1201
|
required?: false | undefined;
|
1203
|
-
} & Omit<
|
1202
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1204
1203
|
items: ItemOption[];
|
1205
1204
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1206
1205
|
label?: string | undefined;
|
1207
1206
|
placeholder?: string | undefined;
|
1208
1207
|
helperText?: string | undefined;
|
1209
|
-
contentLeft?:
|
1208
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1210
1209
|
textBefore?: string | undefined;
|
1211
1210
|
textAfter?: string | undefined;
|
1212
1211
|
variant?: "normal" | "tight" | undefined;
|
1213
1212
|
listOverflow?: Property.Overflow | undefined;
|
1214
1213
|
listHeight?: Property.Height<string | number> | undefined;
|
1215
1214
|
listWidth?: Property.Width<string | number> | undefined;
|
1216
|
-
portal?:
|
1217
|
-
renderItem?: ((item: ItemOption) =>
|
1215
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1216
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1218
1217
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1219
1218
|
closeAfterSelect?: boolean | undefined;
|
1220
1219
|
size?: string | undefined;
|
@@ -1236,21 +1235,21 @@ true: PolymorphicClassName;
|
|
1236
1235
|
} & {
|
1237
1236
|
required: true;
|
1238
1237
|
optional?: false | undefined;
|
1239
|
-
} & Omit<
|
1238
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1240
1239
|
items: ItemOption[];
|
1241
1240
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1242
1241
|
label?: string | undefined;
|
1243
1242
|
placeholder?: string | undefined;
|
1244
1243
|
helperText?: string | undefined;
|
1245
|
-
contentLeft?:
|
1244
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1246
1245
|
textBefore?: string | undefined;
|
1247
1246
|
textAfter?: string | undefined;
|
1248
1247
|
variant?: "normal" | "tight" | undefined;
|
1249
1248
|
listOverflow?: Property.Overflow | undefined;
|
1250
1249
|
listHeight?: Property.Height<string | number> | undefined;
|
1251
1250
|
listWidth?: Property.Width<string | number> | undefined;
|
1252
|
-
portal?:
|
1253
|
-
renderItem?: ((item: ItemOption) =>
|
1251
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1252
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1254
1253
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1255
1254
|
closeAfterSelect?: boolean | undefined;
|
1256
1255
|
size?: string | undefined;
|
@@ -1272,21 +1271,21 @@ true: PolymorphicClassName;
|
|
1272
1271
|
} & {
|
1273
1272
|
optional?: true | undefined;
|
1274
1273
|
required?: false | undefined;
|
1275
|
-
} & Omit<
|
1274
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1276
1275
|
items: ItemOption[];
|
1277
1276
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1278
1277
|
label?: string | undefined;
|
1279
1278
|
placeholder?: string | undefined;
|
1280
1279
|
helperText?: string | undefined;
|
1281
|
-
contentLeft?:
|
1280
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1282
1281
|
textBefore?: string | undefined;
|
1283
1282
|
textAfter?: string | undefined;
|
1284
1283
|
variant?: "normal" | "tight" | undefined;
|
1285
1284
|
listOverflow?: Property.Overflow | undefined;
|
1286
1285
|
listHeight?: Property.Height<string | number> | undefined;
|
1287
1286
|
listWidth?: Property.Width<string | number> | undefined;
|
1288
|
-
portal?:
|
1289
|
-
renderItem?: ((item: ItemOption) =>
|
1287
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1288
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1290
1289
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1291
1290
|
closeAfterSelect?: boolean | undefined;
|
1292
1291
|
size?: string | undefined;
|
@@ -1308,21 +1307,21 @@ true: PolymorphicClassName;
|
|
1308
1307
|
} & {
|
1309
1308
|
required: true;
|
1310
1309
|
optional?: false | undefined;
|
1311
|
-
} & Omit<
|
1310
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1312
1311
|
items: ItemOption[];
|
1313
1312
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1314
1313
|
label?: string | undefined;
|
1315
1314
|
placeholder?: string | undefined;
|
1316
1315
|
helperText?: string | undefined;
|
1317
|
-
contentLeft?:
|
1316
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1318
1317
|
textBefore?: string | undefined;
|
1319
1318
|
textAfter?: string | undefined;
|
1320
1319
|
variant?: "normal" | "tight" | undefined;
|
1321
1320
|
listOverflow?: Property.Overflow | undefined;
|
1322
1321
|
listHeight?: Property.Height<string | number> | undefined;
|
1323
1322
|
listWidth?: Property.Width<string | number> | undefined;
|
1324
|
-
portal?:
|
1325
|
-
renderItem?: ((item: ItemOption) =>
|
1323
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1324
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1326
1325
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1327
1326
|
closeAfterSelect?: boolean | undefined;
|
1328
1327
|
size?: string | undefined;
|
@@ -1344,21 +1343,21 @@ true: PolymorphicClassName;
|
|
1344
1343
|
} & {
|
1345
1344
|
optional?: true | undefined;
|
1346
1345
|
required?: false | undefined;
|
1347
|
-
} & Omit<
|
1346
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1348
1347
|
items: ItemOption[];
|
1349
1348
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1350
1349
|
label?: string | undefined;
|
1351
1350
|
placeholder?: string | undefined;
|
1352
1351
|
helperText?: string | undefined;
|
1353
|
-
contentLeft?:
|
1352
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1354
1353
|
textBefore?: string | undefined;
|
1355
1354
|
textAfter?: string | undefined;
|
1356
1355
|
variant?: "normal" | "tight" | undefined;
|
1357
1356
|
listOverflow?: Property.Overflow | undefined;
|
1358
1357
|
listHeight?: Property.Height<string | number> | undefined;
|
1359
1358
|
listWidth?: Property.Width<string | number> | undefined;
|
1360
|
-
portal?:
|
1361
|
-
renderItem?: ((item: ItemOption) =>
|
1359
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1360
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1362
1361
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1363
1362
|
closeAfterSelect?: boolean | undefined;
|
1364
1363
|
size?: string | undefined;
|
@@ -1380,21 +1379,21 @@ true: PolymorphicClassName;
|
|
1380
1379
|
} & {
|
1381
1380
|
required: true;
|
1382
1381
|
optional?: false | undefined;
|
1383
|
-
} & Omit<
|
1382
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1384
1383
|
items: ItemOption[];
|
1385
1384
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1386
1385
|
label?: string | undefined;
|
1387
1386
|
placeholder?: string | undefined;
|
1388
1387
|
helperText?: string | undefined;
|
1389
|
-
contentLeft?:
|
1388
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1390
1389
|
textBefore?: string | undefined;
|
1391
1390
|
textAfter?: string | undefined;
|
1392
1391
|
variant?: "normal" | "tight" | undefined;
|
1393
1392
|
listOverflow?: Property.Overflow | undefined;
|
1394
1393
|
listHeight?: Property.Height<string | number> | undefined;
|
1395
1394
|
listWidth?: Property.Width<string | number> | undefined;
|
1396
|
-
portal?:
|
1397
|
-
renderItem?: ((item: ItemOption) =>
|
1395
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1396
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1398
1397
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1399
1398
|
closeAfterSelect?: boolean | undefined;
|
1400
1399
|
size?: string | undefined;
|
@@ -1416,21 +1415,21 @@ true: PolymorphicClassName;
|
|
1416
1415
|
} & {
|
1417
1416
|
optional?: true | undefined;
|
1418
1417
|
required?: false | undefined;
|
1419
|
-
} & Omit<
|
1418
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1420
1419
|
items: ItemOption[];
|
1421
1420
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1422
1421
|
label?: string | undefined;
|
1423
1422
|
placeholder?: string | undefined;
|
1424
1423
|
helperText?: string | undefined;
|
1425
|
-
contentLeft?:
|
1424
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1426
1425
|
textBefore?: string | undefined;
|
1427
1426
|
textAfter?: string | undefined;
|
1428
1427
|
variant?: "normal" | "tight" | undefined;
|
1429
1428
|
listOverflow?: Property.Overflow | undefined;
|
1430
1429
|
listHeight?: Property.Height<string | number> | undefined;
|
1431
1430
|
listWidth?: Property.Width<string | number> | undefined;
|
1432
|
-
portal?:
|
1433
|
-
renderItem?: ((item: ItemOption) =>
|
1431
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1432
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1434
1433
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1435
1434
|
closeAfterSelect?: boolean | undefined;
|
1436
1435
|
size?: string | undefined;
|
@@ -1452,21 +1451,21 @@ true: PolymorphicClassName;
|
|
1452
1451
|
} & {
|
1453
1452
|
required: true;
|
1454
1453
|
optional?: false | undefined;
|
1455
|
-
} & Omit<
|
1454
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1456
1455
|
items: ItemOption[];
|
1457
1456
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1458
1457
|
label?: string | undefined;
|
1459
1458
|
placeholder?: string | undefined;
|
1460
1459
|
helperText?: string | undefined;
|
1461
|
-
contentLeft?:
|
1460
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1462
1461
|
textBefore?: string | undefined;
|
1463
1462
|
textAfter?: string | undefined;
|
1464
1463
|
variant?: "normal" | "tight" | undefined;
|
1465
1464
|
listOverflow?: Property.Overflow | undefined;
|
1466
1465
|
listHeight?: Property.Height<string | number> | undefined;
|
1467
1466
|
listWidth?: Property.Width<string | number> | undefined;
|
1468
|
-
portal?:
|
1469
|
-
renderItem?: ((item: ItemOption) =>
|
1467
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1468
|
+
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1470
1469
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1471
1470
|
closeAfterSelect?: boolean | undefined;
|
1472
1471
|
size?: string | undefined;
|
@@ -1488,7 +1487,9 @@ true: PolymorphicClassName;
|
|
1488
1487
|
} & {
|
1489
1488
|
optional?: true | undefined;
|
1490
1489
|
required?: false | undefined;
|
1491
|
-
} & Omit<
|
1490
|
+
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
|
1491
|
+
ref?: ForwardedRef<HTMLInputElement> | undefined;
|
1492
|
+
}) => ReactElement | null;
|
1492
1493
|
|
1493
1494
|
// @public
|
1494
1495
|
export const Counter: FunctionComponent<PropsType< {
|
@@ -3593,10 +3594,184 @@ export { SegmentProvider }
|
|
3593
3594
|
|
3594
3595
|
export { SegmentProviderProps }
|
3595
3596
|
|
3596
|
-
// Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
|
3597
|
-
//
|
3598
3597
|
// @public (undocumented)
|
3599
|
-
export const Select:
|
3598
|
+
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps, "view" | "size" | "chipView"> & Pick<PropsType< {
|
3599
|
+
size: {
|
3600
|
+
xs: PolymorphicClassName;
|
3601
|
+
s: PolymorphicClassName;
|
3602
|
+
m: PolymorphicClassName;
|
3603
|
+
l: PolymorphicClassName;
|
3604
|
+
};
|
3605
|
+
view: {
|
3606
|
+
default: PolymorphicClassName;
|
3607
|
+
positive: PolymorphicClassName;
|
3608
|
+
warning: PolymorphicClassName;
|
3609
|
+
negative: PolymorphicClassName;
|
3610
|
+
accent: PolymorphicClassName;
|
3611
|
+
secondary: PolymorphicClassName;
|
3612
|
+
clear: PolymorphicClassName;
|
3613
|
+
dark: PolymorphicClassName;
|
3614
|
+
black: PolymorphicClassName;
|
3615
|
+
white: PolymorphicClassName;
|
3616
|
+
};
|
3617
|
+
chipView: {
|
3618
|
+
default: PolymorphicClassName;
|
3619
|
+
secondary: PolymorphicClassName;
|
3620
|
+
accent: PolymorphicClassName;
|
3621
|
+
};
|
3622
|
+
}> & (({
|
3623
|
+
target?: "textfield-like" | undefined;
|
3624
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
3625
|
+
contentLeft?: React_2.ReactNode;
|
3626
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
3627
|
+
placeholder?: string | undefined;
|
3628
|
+
helperText?: string | undefined;
|
3629
|
+
} & {
|
3630
|
+
multiselect?: false | undefined;
|
3631
|
+
separator?: undefined;
|
3632
|
+
} & {
|
3633
|
+
value: any;
|
3634
|
+
onChange?: ((value: any) => void) | undefined;
|
3635
|
+
listOverflow?: Property.Overflow | undefined;
|
3636
|
+
listHeight?: Property.Height<string | number> | undefined;
|
3637
|
+
status?: "warning" | "success" | "error" | undefined;
|
3638
|
+
placeholder?: string | undefined;
|
3639
|
+
helperText?: string | undefined;
|
3640
|
+
disabled?: boolean | undefined;
|
3641
|
+
items?: MergedDropdownNode[] | undefined;
|
3642
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3643
|
+
hasItems?: boolean | undefined;
|
3644
|
+
children?: undefined;
|
3645
|
+
isOpen?: boolean | undefined;
|
3646
|
+
isTargetAmount?: boolean | undefined;
|
3647
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3648
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3649
|
+
label?: string | undefined;
|
3650
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3651
|
+
variant?: "normal" | "tight" | undefined;
|
3652
|
+
listWidth?: Property.Width<string | number> | undefined;
|
3653
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3654
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3655
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3656
|
+
closeAfterSelect?: boolean | undefined;
|
3657
|
+
size?: string | undefined;
|
3658
|
+
view?: string | undefined;
|
3659
|
+
chipView?: string | undefined;
|
3660
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3661
|
+
target?: "textfield-like" | undefined;
|
3662
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
3663
|
+
contentLeft?: React_2.ReactNode;
|
3664
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
3665
|
+
placeholder?: string | undefined;
|
3666
|
+
helperText?: string | undefined;
|
3667
|
+
} & {
|
3668
|
+
multiselect?: true | undefined;
|
3669
|
+
separator?: string | undefined;
|
3670
|
+
} & {
|
3671
|
+
value: any;
|
3672
|
+
onChange?: ((value: any) => void) | undefined;
|
3673
|
+
listOverflow?: Property.Overflow | undefined;
|
3674
|
+
listHeight?: Property.Height<string | number> | undefined;
|
3675
|
+
status?: "warning" | "success" | "error" | undefined;
|
3676
|
+
placeholder?: string | undefined;
|
3677
|
+
helperText?: string | undefined;
|
3678
|
+
disabled?: boolean | undefined;
|
3679
|
+
items?: MergedDropdownNode[] | undefined;
|
3680
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3681
|
+
hasItems?: boolean | undefined;
|
3682
|
+
children?: undefined;
|
3683
|
+
isOpen?: boolean | undefined;
|
3684
|
+
isTargetAmount?: boolean | undefined;
|
3685
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3686
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3687
|
+
label?: string | undefined;
|
3688
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3689
|
+
variant?: "normal" | "tight" | undefined;
|
3690
|
+
listWidth?: Property.Width<string | number> | undefined;
|
3691
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3692
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3693
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3694
|
+
closeAfterSelect?: boolean | undefined;
|
3695
|
+
size?: string | undefined;
|
3696
|
+
view?: string | undefined;
|
3697
|
+
chipView?: string | undefined;
|
3698
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3699
|
+
target?: "button-like" | undefined;
|
3700
|
+
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
3701
|
+
contentLeft?: undefined;
|
3702
|
+
labelPlacement?: undefined;
|
3703
|
+
placeholder?: undefined;
|
3704
|
+
helperText?: undefined;
|
3705
|
+
} & {
|
3706
|
+
multiselect?: false | undefined;
|
3707
|
+
separator?: undefined;
|
3708
|
+
} & {
|
3709
|
+
value: any;
|
3710
|
+
onChange?: ((value: any) => void) | undefined;
|
3711
|
+
listOverflow?: Property.Overflow | undefined;
|
3712
|
+
listHeight?: Property.Height<string | number> | undefined;
|
3713
|
+
status?: "warning" | "success" | "error" | undefined;
|
3714
|
+
placeholder?: string | undefined;
|
3715
|
+
helperText?: string | undefined;
|
3716
|
+
disabled?: boolean | undefined;
|
3717
|
+
items?: MergedDropdownNode[] | undefined;
|
3718
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3719
|
+
hasItems?: boolean | undefined;
|
3720
|
+
children?: undefined;
|
3721
|
+
isOpen?: boolean | undefined;
|
3722
|
+
isTargetAmount?: boolean | undefined;
|
3723
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3724
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3725
|
+
label?: string | undefined;
|
3726
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3727
|
+
variant?: "normal" | "tight" | undefined;
|
3728
|
+
listWidth?: Property.Width<string | number> | undefined;
|
3729
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3730
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3731
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3732
|
+
closeAfterSelect?: boolean | undefined;
|
3733
|
+
size?: string | undefined;
|
3734
|
+
view?: string | undefined;
|
3735
|
+
chipView?: string | undefined;
|
3736
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3737
|
+
target?: "button-like" | undefined;
|
3738
|
+
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
3739
|
+
contentLeft?: undefined;
|
3740
|
+
labelPlacement?: undefined;
|
3741
|
+
placeholder?: undefined;
|
3742
|
+
helperText?: undefined;
|
3743
|
+
} & {
|
3744
|
+
multiselect?: true | undefined;
|
3745
|
+
separator?: string | undefined;
|
3746
|
+
} & {
|
3747
|
+
value: any;
|
3748
|
+
onChange?: ((value: any) => void) | undefined;
|
3749
|
+
listOverflow?: Property.Overflow | undefined;
|
3750
|
+
listHeight?: Property.Height<string | number> | undefined;
|
3751
|
+
status?: "warning" | "success" | "error" | undefined;
|
3752
|
+
placeholder?: string | undefined;
|
3753
|
+
helperText?: string | undefined;
|
3754
|
+
disabled?: boolean | undefined;
|
3755
|
+
items?: MergedDropdownNode[] | undefined;
|
3756
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3757
|
+
hasItems?: boolean | undefined;
|
3758
|
+
children?: undefined;
|
3759
|
+
isOpen?: boolean | undefined;
|
3760
|
+
isTargetAmount?: boolean | undefined;
|
3761
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3762
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3763
|
+
label?: string | undefined;
|
3764
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3765
|
+
variant?: "normal" | "tight" | undefined;
|
3766
|
+
listWidth?: Property.Width<string | number> | undefined;
|
3767
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3768
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3769
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3770
|
+
closeAfterSelect?: boolean | undefined;
|
3771
|
+
size?: string | undefined;
|
3772
|
+
view?: string | undefined;
|
3773
|
+
chipView?: string | undefined;
|
3774
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>)), "view" | "size" | "chipView"> & React_2.RefAttributes<HTMLButtonElement>>;
|
3600
3775
|
|
3601
3776
|
// @public
|
3602
3777
|
export const Sheet: FunctionComponent<PropsType< {
|