@salutejs/sdds-finportal 0.166.1-canary.1525.11803660289.0 → 0.167.0-canary.1550.11804452240.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +59 -234
- package/components/Attach/Attach.d.ts +8 -8
- package/components/Button/Button.d.ts +4 -4
- package/components/Combobox/Combobox.d.ts +82 -80
- package/components/Combobox/Combobox.js +10 -1
- package/components/Combobox/index.d.ts +1 -465
- package/components/Combobox/index.js +7 -3
- 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 +15 -7
- package/components/Select/Select.config.js +29 -21
- package/components/Select/Select.d.ts +59 -50
- package/components/Select/Select.js +5 -6
- package/components/TextArea/TextArea.d.ts +16 -16
- package/components/TextField/TextField.d.ts +16 -16
- package/es/components/Combobox/Combobox.js +11 -2
- package/es/components/Combobox/index.js +1 -3
- package/es/components/Select/Select.config.js +30 -22
- package/es/components/Select/Select.js +5 -4
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +59 -234
@@ -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/styled-components';
|
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,6 +83,8 @@ 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';
|
86
88
|
import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
|
87
89
|
import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
88
90
|
import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -90,6 +92,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
90
92
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
93
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
92
94
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
95
|
+
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
93
96
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
94
97
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
95
98
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
@@ -101,7 +104,6 @@ import { FC } from 'react';
|
|
101
104
|
import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
|
102
105
|
import { FormTypeNumber } from '@salutejs/plasma-new-hope/types/types/FormType';
|
103
106
|
import { FormTypeString } from '@salutejs/plasma-new-hope/types/types/FormType';
|
104
|
-
import type { ForwardedRef } from 'react';
|
105
107
|
import { ForwardRefExoticComponent } from 'react';
|
106
108
|
import { FunctionComponent } from 'react';
|
107
109
|
import { GridProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -119,19 +121,18 @@ import { HTMLAttributes } from 'react';
|
|
119
121
|
import { ImageProps } from '@salutejs/plasma-new-hope/styled-components';
|
120
122
|
import { ImgHTMLAttributes } from 'react';
|
121
123
|
import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
122
|
-
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/
|
124
|
+
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
|
123
125
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
124
126
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
127
|
+
import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
|
125
128
|
import { JSXElementConstructor } from 'react';
|
126
129
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
127
130
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
128
131
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
129
132
|
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';
|
131
133
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
132
134
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
133
135
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
134
|
-
import { MutableRefObject } from 'react';
|
135
136
|
import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
136
137
|
import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
|
137
138
|
import { NotificationPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -180,7 +181,7 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
180
181
|
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
181
182
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
182
183
|
import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
|
183
|
-
import type { SelectProps } from '@salutejs/plasma-new-hope
|
184
|
+
import type { SelectProps as SelectProps_2 } from '@salutejs/plasma-new-hope';
|
184
185
|
import { sheetClasses } from '@salutejs/plasma-new-hope/styled-components';
|
185
186
|
import { SheetProps } from '@salutejs/plasma-new-hope/styled-components';
|
186
187
|
import { ShowToastArgs } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -202,7 +203,7 @@ import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
|
|
202
203
|
import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
|
203
204
|
import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
|
204
205
|
import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
|
205
|
-
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/
|
206
|
+
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
|
206
207
|
import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
207
208
|
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
208
209
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
@@ -1061,15 +1062,15 @@ true: PolymorphicClassName;
|
|
1061
1062
|
label?: string | undefined;
|
1062
1063
|
placeholder?: string | undefined;
|
1063
1064
|
helperText?: string | undefined;
|
1064
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1065
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1065
1066
|
textBefore?: string | undefined;
|
1066
1067
|
textAfter?: string | undefined;
|
1067
1068
|
variant?: "normal" | "tight" | undefined;
|
1068
1069
|
listOverflow?: Property.Overflow | undefined;
|
1069
1070
|
listHeight?: Property.Height<string | number> | undefined;
|
1070
1071
|
listWidth?: Property.Width<string | number> | undefined;
|
1071
|
-
portal?:
|
1072
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1072
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1073
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1073
1074
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1074
1075
|
closeAfterSelect?: boolean | undefined;
|
1075
1076
|
size?: string | undefined;
|
@@ -1091,21 +1092,21 @@ true: PolymorphicClassName;
|
|
1091
1092
|
} & {
|
1092
1093
|
required: true;
|
1093
1094
|
optional?: false | undefined;
|
1094
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1095
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1095
1096
|
items: ItemOption[];
|
1096
1097
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1097
1098
|
label?: string | undefined;
|
1098
1099
|
placeholder?: string | undefined;
|
1099
1100
|
helperText?: string | undefined;
|
1100
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1101
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1101
1102
|
textBefore?: string | undefined;
|
1102
1103
|
textAfter?: string | undefined;
|
1103
1104
|
variant?: "normal" | "tight" | undefined;
|
1104
1105
|
listOverflow?: Property.Overflow | undefined;
|
1105
1106
|
listHeight?: Property.Height<string | number> | undefined;
|
1106
1107
|
listWidth?: Property.Width<string | number> | undefined;
|
1107
|
-
portal?:
|
1108
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1108
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1109
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1109
1110
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1110
1111
|
closeAfterSelect?: boolean | undefined;
|
1111
1112
|
size?: string | undefined;
|
@@ -1127,21 +1128,21 @@ true: PolymorphicClassName;
|
|
1127
1128
|
} & {
|
1128
1129
|
optional?: true | undefined;
|
1129
1130
|
required?: false | undefined;
|
1130
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1131
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1131
1132
|
items: ItemOption[];
|
1132
1133
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1133
1134
|
label?: string | undefined;
|
1134
1135
|
placeholder?: string | undefined;
|
1135
1136
|
helperText?: string | undefined;
|
1136
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1137
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1137
1138
|
textBefore?: string | undefined;
|
1138
1139
|
textAfter?: string | undefined;
|
1139
1140
|
variant?: "normal" | "tight" | undefined;
|
1140
1141
|
listOverflow?: Property.Overflow | undefined;
|
1141
1142
|
listHeight?: Property.Height<string | number> | undefined;
|
1142
1143
|
listWidth?: Property.Width<string | number> | undefined;
|
1143
|
-
portal?:
|
1144
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1144
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1145
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1145
1146
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1146
1147
|
closeAfterSelect?: boolean | undefined;
|
1147
1148
|
size?: string | undefined;
|
@@ -1163,21 +1164,21 @@ true: PolymorphicClassName;
|
|
1163
1164
|
} & {
|
1164
1165
|
required: true;
|
1165
1166
|
optional?: false | undefined;
|
1166
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1167
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1167
1168
|
items: ItemOption[];
|
1168
1169
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1169
1170
|
label?: string | undefined;
|
1170
1171
|
placeholder?: string | undefined;
|
1171
1172
|
helperText?: string | undefined;
|
1172
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1173
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1173
1174
|
textBefore?: string | undefined;
|
1174
1175
|
textAfter?: string | undefined;
|
1175
1176
|
variant?: "normal" | "tight" | undefined;
|
1176
1177
|
listOverflow?: Property.Overflow | undefined;
|
1177
1178
|
listHeight?: Property.Height<string | number> | undefined;
|
1178
1179
|
listWidth?: Property.Width<string | number> | undefined;
|
1179
|
-
portal?:
|
1180
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1180
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1181
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1181
1182
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1182
1183
|
closeAfterSelect?: boolean | undefined;
|
1183
1184
|
size?: string | undefined;
|
@@ -1199,21 +1200,21 @@ true: PolymorphicClassName;
|
|
1199
1200
|
} & {
|
1200
1201
|
optional?: true | undefined;
|
1201
1202
|
required?: false | undefined;
|
1202
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1203
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1203
1204
|
items: ItemOption[];
|
1204
1205
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1205
1206
|
label?: string | undefined;
|
1206
1207
|
placeholder?: string | undefined;
|
1207
1208
|
helperText?: string | undefined;
|
1208
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1209
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1209
1210
|
textBefore?: string | undefined;
|
1210
1211
|
textAfter?: string | undefined;
|
1211
1212
|
variant?: "normal" | "tight" | undefined;
|
1212
1213
|
listOverflow?: Property.Overflow | undefined;
|
1213
1214
|
listHeight?: Property.Height<string | number> | undefined;
|
1214
1215
|
listWidth?: Property.Width<string | number> | undefined;
|
1215
|
-
portal?:
|
1216
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1216
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1217
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1217
1218
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1218
1219
|
closeAfterSelect?: boolean | undefined;
|
1219
1220
|
size?: string | undefined;
|
@@ -1235,21 +1236,21 @@ true: PolymorphicClassName;
|
|
1235
1236
|
} & {
|
1236
1237
|
required: true;
|
1237
1238
|
optional?: false | undefined;
|
1238
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1239
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1239
1240
|
items: ItemOption[];
|
1240
1241
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1241
1242
|
label?: string | undefined;
|
1242
1243
|
placeholder?: string | undefined;
|
1243
1244
|
helperText?: string | undefined;
|
1244
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1245
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1245
1246
|
textBefore?: string | undefined;
|
1246
1247
|
textAfter?: string | undefined;
|
1247
1248
|
variant?: "normal" | "tight" | undefined;
|
1248
1249
|
listOverflow?: Property.Overflow | undefined;
|
1249
1250
|
listHeight?: Property.Height<string | number> | undefined;
|
1250
1251
|
listWidth?: Property.Width<string | number> | undefined;
|
1251
|
-
portal?:
|
1252
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1252
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1253
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1253
1254
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1254
1255
|
closeAfterSelect?: boolean | undefined;
|
1255
1256
|
size?: string | undefined;
|
@@ -1271,21 +1272,21 @@ true: PolymorphicClassName;
|
|
1271
1272
|
} & {
|
1272
1273
|
optional?: true | undefined;
|
1273
1274
|
required?: false | undefined;
|
1274
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1275
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1275
1276
|
items: ItemOption[];
|
1276
1277
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1277
1278
|
label?: string | undefined;
|
1278
1279
|
placeholder?: string | undefined;
|
1279
1280
|
helperText?: string | undefined;
|
1280
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1281
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1281
1282
|
textBefore?: string | undefined;
|
1282
1283
|
textAfter?: string | undefined;
|
1283
1284
|
variant?: "normal" | "tight" | undefined;
|
1284
1285
|
listOverflow?: Property.Overflow | undefined;
|
1285
1286
|
listHeight?: Property.Height<string | number> | undefined;
|
1286
1287
|
listWidth?: Property.Width<string | number> | undefined;
|
1287
|
-
portal?:
|
1288
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1288
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1289
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1289
1290
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1290
1291
|
closeAfterSelect?: boolean | undefined;
|
1291
1292
|
size?: string | undefined;
|
@@ -1307,21 +1308,21 @@ true: PolymorphicClassName;
|
|
1307
1308
|
} & {
|
1308
1309
|
required: true;
|
1309
1310
|
optional?: false | undefined;
|
1310
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1311
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1311
1312
|
items: ItemOption[];
|
1312
1313
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1313
1314
|
label?: string | undefined;
|
1314
1315
|
placeholder?: string | undefined;
|
1315
1316
|
helperText?: string | undefined;
|
1316
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1317
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1317
1318
|
textBefore?: string | undefined;
|
1318
1319
|
textAfter?: string | undefined;
|
1319
1320
|
variant?: "normal" | "tight" | undefined;
|
1320
1321
|
listOverflow?: Property.Overflow | undefined;
|
1321
1322
|
listHeight?: Property.Height<string | number> | undefined;
|
1322
1323
|
listWidth?: Property.Width<string | number> | undefined;
|
1323
|
-
portal?:
|
1324
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1324
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1325
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1325
1326
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1326
1327
|
closeAfterSelect?: boolean | undefined;
|
1327
1328
|
size?: string | undefined;
|
@@ -1343,21 +1344,21 @@ true: PolymorphicClassName;
|
|
1343
1344
|
} & {
|
1344
1345
|
optional?: true | undefined;
|
1345
1346
|
required?: false | undefined;
|
1346
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1347
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1347
1348
|
items: ItemOption[];
|
1348
1349
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1349
1350
|
label?: string | undefined;
|
1350
1351
|
placeholder?: string | undefined;
|
1351
1352
|
helperText?: string | undefined;
|
1352
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1353
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1353
1354
|
textBefore?: string | undefined;
|
1354
1355
|
textAfter?: string | undefined;
|
1355
1356
|
variant?: "normal" | "tight" | undefined;
|
1356
1357
|
listOverflow?: Property.Overflow | undefined;
|
1357
1358
|
listHeight?: Property.Height<string | number> | undefined;
|
1358
1359
|
listWidth?: Property.Width<string | number> | undefined;
|
1359
|
-
portal?:
|
1360
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1360
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1361
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1361
1362
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1362
1363
|
closeAfterSelect?: boolean | undefined;
|
1363
1364
|
size?: string | undefined;
|
@@ -1379,21 +1380,21 @@ true: PolymorphicClassName;
|
|
1379
1380
|
} & {
|
1380
1381
|
required: true;
|
1381
1382
|
optional?: false | undefined;
|
1382
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1383
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1383
1384
|
items: ItemOption[];
|
1384
1385
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1385
1386
|
label?: string | undefined;
|
1386
1387
|
placeholder?: string | undefined;
|
1387
1388
|
helperText?: string | undefined;
|
1388
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1389
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1389
1390
|
textBefore?: string | undefined;
|
1390
1391
|
textAfter?: string | undefined;
|
1391
1392
|
variant?: "normal" | "tight" | undefined;
|
1392
1393
|
listOverflow?: Property.Overflow | undefined;
|
1393
1394
|
listHeight?: Property.Height<string | number> | undefined;
|
1394
1395
|
listWidth?: Property.Width<string | number> | undefined;
|
1395
|
-
portal?:
|
1396
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1396
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1397
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1397
1398
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1398
1399
|
closeAfterSelect?: boolean | undefined;
|
1399
1400
|
size?: string | undefined;
|
@@ -1415,21 +1416,21 @@ true: PolymorphicClassName;
|
|
1415
1416
|
} & {
|
1416
1417
|
optional?: true | undefined;
|
1417
1418
|
required?: false | undefined;
|
1418
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1419
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1419
1420
|
items: ItemOption[];
|
1420
1421
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1421
1422
|
label?: string | undefined;
|
1422
1423
|
placeholder?: string | undefined;
|
1423
1424
|
helperText?: string | undefined;
|
1424
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1425
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1425
1426
|
textBefore?: string | undefined;
|
1426
1427
|
textAfter?: string | undefined;
|
1427
1428
|
variant?: "normal" | "tight" | undefined;
|
1428
1429
|
listOverflow?: Property.Overflow | undefined;
|
1429
1430
|
listHeight?: Property.Height<string | number> | undefined;
|
1430
1431
|
listWidth?: Property.Width<string | number> | undefined;
|
1431
|
-
portal?:
|
1432
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1432
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1433
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1433
1434
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1434
1435
|
closeAfterSelect?: boolean | undefined;
|
1435
1436
|
size?: string | undefined;
|
@@ -1451,21 +1452,21 @@ true: PolymorphicClassName;
|
|
1451
1452
|
} & {
|
1452
1453
|
required: true;
|
1453
1454
|
optional?: false | undefined;
|
1454
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1455
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1455
1456
|
items: ItemOption[];
|
1456
1457
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1457
1458
|
label?: string | undefined;
|
1458
1459
|
placeholder?: string | undefined;
|
1459
1460
|
helperText?: string | undefined;
|
1460
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1461
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1461
1462
|
textBefore?: string | undefined;
|
1462
1463
|
textAfter?: string | undefined;
|
1463
1464
|
variant?: "normal" | "tight" | undefined;
|
1464
1465
|
listOverflow?: Property.Overflow | undefined;
|
1465
1466
|
listHeight?: Property.Height<string | number> | undefined;
|
1466
1467
|
listWidth?: Property.Width<string | number> | undefined;
|
1467
|
-
portal?:
|
1468
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1468
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1469
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1469
1470
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1470
1471
|
closeAfterSelect?: boolean | undefined;
|
1471
1472
|
size?: string | undefined;
|
@@ -1487,9 +1488,7 @@ true: PolymorphicClassName;
|
|
1487
1488
|
} & {
|
1488
1489
|
optional?: true | undefined;
|
1489
1490
|
required?: false | undefined;
|
1490
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> &
|
1491
|
-
ref?: ForwardedRef<HTMLInputElement> | undefined;
|
1492
|
-
}) => ReactElement | null;
|
1491
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
1493
1492
|
|
1494
1493
|
// @public
|
1495
1494
|
export const Counter: FunctionComponent<PropsType< {
|
@@ -3594,184 +3593,10 @@ export { SegmentProvider }
|
|
3594
3593
|
|
3595
3594
|
export { SegmentProviderProps }
|
3596
3595
|
|
3596
|
+
// Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
|
3597
|
+
//
|
3597
3598
|
// @public (undocumented)
|
3598
|
-
export const Select: React_2.
|
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>>;
|
3599
|
+
export const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
3775
3600
|
|
3776
3601
|
// @public
|
3777
3602
|
export const Sheet: FunctionComponent<PropsType< {
|