@salutejs/sdds-dfa 0.172.1-canary.1525.11803660289.0 → 0.173.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-dfa.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-dfa.api.md +59 -234
package/api/sdds-dfa.api.md
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
import { addFocus } from '@salutejs/plasma-new-hope/styled-components';
|
10
10
|
import { AlignProp } from '@salutejs/plasma-new-hope/types/components/Cell/Cell.types';
|
11
11
|
import { AnchorHTMLAttributes } from 'react';
|
12
|
-
import { AsProps } from '@salutejs/plasma-new-hope/
|
12
|
+
import { AsProps } from '@salutejs/plasma-new-hope/styled-components';
|
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,6 +79,8 @@ 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';
|
82
84
|
import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
|
83
85
|
import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
84
86
|
import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -86,6 +88,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
86
88
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
87
89
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
88
90
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
|
+
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
89
92
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
90
93
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
91
94
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
@@ -97,7 +100,6 @@ import type { FC } from 'react';
|
|
97
100
|
import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
|
98
101
|
import { FormTypeNumber } from '@salutejs/plasma-new-hope/types/types/FormType';
|
99
102
|
import { FormTypeString } from '@salutejs/plasma-new-hope/types/types/FormType';
|
100
|
-
import type { ForwardedRef } from 'react';
|
101
103
|
import { ForwardRefExoticComponent } from 'react';
|
102
104
|
import { FunctionComponent } from 'react';
|
103
105
|
import { GridProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -115,19 +117,18 @@ import { HTMLAttributes } from 'react';
|
|
115
117
|
import { ImageProps } from '@salutejs/plasma-new-hope/styled-components';
|
116
118
|
import { ImgHTMLAttributes } from 'react';
|
117
119
|
import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
118
|
-
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/
|
120
|
+
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
|
119
121
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
120
122
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
123
|
+
import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
|
121
124
|
import { JSXElementConstructor } from 'react';
|
122
125
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
123
126
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
124
127
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
125
128
|
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';
|
127
129
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
128
130
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
129
131
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
130
|
-
import { MutableRefObject } from 'react';
|
131
132
|
import { numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
|
132
133
|
import { numberInputTokens } from '@salutejs/plasma-new-hope/styled-components';
|
133
134
|
import { Orientation } from '@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types';
|
@@ -171,7 +172,7 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
171
172
|
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
172
173
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
173
174
|
import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
|
174
|
-
import type { SelectProps } from '@salutejs/plasma-new-hope
|
175
|
+
import type { SelectProps as SelectProps_2 } from '@salutejs/plasma-new-hope';
|
175
176
|
import { sheetClasses } from '@salutejs/plasma-new-hope/styled-components';
|
176
177
|
import { SheetProps } from '@salutejs/plasma-new-hope/styled-components';
|
177
178
|
import { ShowToastArgs } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -191,7 +192,7 @@ import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
|
|
191
192
|
import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
|
192
193
|
import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
|
193
194
|
import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
|
194
|
-
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/
|
195
|
+
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
|
195
196
|
import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
196
197
|
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
197
198
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
@@ -1010,15 +1011,15 @@ true: PolymorphicClassName;
|
|
1010
1011
|
label?: string | undefined;
|
1011
1012
|
placeholder?: string | undefined;
|
1012
1013
|
helperText?: string | undefined;
|
1013
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1014
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1014
1015
|
textBefore?: string | undefined;
|
1015
1016
|
textAfter?: string | undefined;
|
1016
1017
|
variant?: "normal" | "tight" | undefined;
|
1017
1018
|
listOverflow?: Property.Overflow | undefined;
|
1018
1019
|
listHeight?: Property.Height<string | number> | undefined;
|
1019
1020
|
listWidth?: Property.Width<string | number> | undefined;
|
1020
|
-
portal?:
|
1021
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1021
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1022
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1022
1023
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1023
1024
|
closeAfterSelect?: boolean | undefined;
|
1024
1025
|
size?: string | undefined;
|
@@ -1040,21 +1041,21 @@ true: PolymorphicClassName;
|
|
1040
1041
|
} & {
|
1041
1042
|
required: true;
|
1042
1043
|
optional?: false | undefined;
|
1043
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1044
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1044
1045
|
items: ItemOption[];
|
1045
1046
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1046
1047
|
label?: string | undefined;
|
1047
1048
|
placeholder?: string | undefined;
|
1048
1049
|
helperText?: string | undefined;
|
1049
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1050
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1050
1051
|
textBefore?: string | undefined;
|
1051
1052
|
textAfter?: string | undefined;
|
1052
1053
|
variant?: "normal" | "tight" | undefined;
|
1053
1054
|
listOverflow?: Property.Overflow | undefined;
|
1054
1055
|
listHeight?: Property.Height<string | number> | undefined;
|
1055
1056
|
listWidth?: Property.Width<string | number> | undefined;
|
1056
|
-
portal?:
|
1057
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1057
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1058
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1058
1059
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1059
1060
|
closeAfterSelect?: boolean | undefined;
|
1060
1061
|
size?: string | undefined;
|
@@ -1076,21 +1077,21 @@ true: PolymorphicClassName;
|
|
1076
1077
|
} & {
|
1077
1078
|
optional?: true | undefined;
|
1078
1079
|
required?: false | undefined;
|
1079
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1080
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1080
1081
|
items: ItemOption[];
|
1081
1082
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1082
1083
|
label?: string | undefined;
|
1083
1084
|
placeholder?: string | undefined;
|
1084
1085
|
helperText?: string | undefined;
|
1085
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1086
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1086
1087
|
textBefore?: string | undefined;
|
1087
1088
|
textAfter?: string | undefined;
|
1088
1089
|
variant?: "normal" | "tight" | undefined;
|
1089
1090
|
listOverflow?: Property.Overflow | undefined;
|
1090
1091
|
listHeight?: Property.Height<string | number> | undefined;
|
1091
1092
|
listWidth?: Property.Width<string | number> | undefined;
|
1092
|
-
portal?:
|
1093
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1093
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1094
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1094
1095
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1095
1096
|
closeAfterSelect?: boolean | undefined;
|
1096
1097
|
size?: string | undefined;
|
@@ -1112,21 +1113,21 @@ true: PolymorphicClassName;
|
|
1112
1113
|
} & {
|
1113
1114
|
required: true;
|
1114
1115
|
optional?: false | undefined;
|
1115
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1116
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1116
1117
|
items: ItemOption[];
|
1117
1118
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1118
1119
|
label?: string | undefined;
|
1119
1120
|
placeholder?: string | undefined;
|
1120
1121
|
helperText?: string | undefined;
|
1121
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1122
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1122
1123
|
textBefore?: string | undefined;
|
1123
1124
|
textAfter?: string | undefined;
|
1124
1125
|
variant?: "normal" | "tight" | undefined;
|
1125
1126
|
listOverflow?: Property.Overflow | undefined;
|
1126
1127
|
listHeight?: Property.Height<string | number> | undefined;
|
1127
1128
|
listWidth?: Property.Width<string | number> | undefined;
|
1128
|
-
portal?:
|
1129
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1129
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1130
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1130
1131
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1131
1132
|
closeAfterSelect?: boolean | undefined;
|
1132
1133
|
size?: string | undefined;
|
@@ -1148,21 +1149,21 @@ true: PolymorphicClassName;
|
|
1148
1149
|
} & {
|
1149
1150
|
optional?: true | undefined;
|
1150
1151
|
required?: false | undefined;
|
1151
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1152
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1152
1153
|
items: ItemOption[];
|
1153
1154
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1154
1155
|
label?: string | undefined;
|
1155
1156
|
placeholder?: string | undefined;
|
1156
1157
|
helperText?: string | undefined;
|
1157
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1158
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1158
1159
|
textBefore?: string | undefined;
|
1159
1160
|
textAfter?: string | undefined;
|
1160
1161
|
variant?: "normal" | "tight" | undefined;
|
1161
1162
|
listOverflow?: Property.Overflow | undefined;
|
1162
1163
|
listHeight?: Property.Height<string | number> | undefined;
|
1163
1164
|
listWidth?: Property.Width<string | number> | undefined;
|
1164
|
-
portal?:
|
1165
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1165
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1166
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1166
1167
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1167
1168
|
closeAfterSelect?: boolean | undefined;
|
1168
1169
|
size?: string | undefined;
|
@@ -1184,21 +1185,21 @@ true: PolymorphicClassName;
|
|
1184
1185
|
} & {
|
1185
1186
|
required: true;
|
1186
1187
|
optional?: false | undefined;
|
1187
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1188
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1188
1189
|
items: ItemOption[];
|
1189
1190
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1190
1191
|
label?: string | undefined;
|
1191
1192
|
placeholder?: string | undefined;
|
1192
1193
|
helperText?: string | undefined;
|
1193
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1194
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1194
1195
|
textBefore?: string | undefined;
|
1195
1196
|
textAfter?: string | undefined;
|
1196
1197
|
variant?: "normal" | "tight" | undefined;
|
1197
1198
|
listOverflow?: Property.Overflow | undefined;
|
1198
1199
|
listHeight?: Property.Height<string | number> | undefined;
|
1199
1200
|
listWidth?: Property.Width<string | number> | undefined;
|
1200
|
-
portal?:
|
1201
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1201
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1202
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1202
1203
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1203
1204
|
closeAfterSelect?: boolean | undefined;
|
1204
1205
|
size?: string | undefined;
|
@@ -1220,21 +1221,21 @@ true: PolymorphicClassName;
|
|
1220
1221
|
} & {
|
1221
1222
|
optional?: true | undefined;
|
1222
1223
|
required?: false | undefined;
|
1223
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1224
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1224
1225
|
items: ItemOption[];
|
1225
1226
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1226
1227
|
label?: string | undefined;
|
1227
1228
|
placeholder?: string | undefined;
|
1228
1229
|
helperText?: string | undefined;
|
1229
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1230
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1230
1231
|
textBefore?: string | undefined;
|
1231
1232
|
textAfter?: string | undefined;
|
1232
1233
|
variant?: "normal" | "tight" | undefined;
|
1233
1234
|
listOverflow?: Property.Overflow | undefined;
|
1234
1235
|
listHeight?: Property.Height<string | number> | undefined;
|
1235
1236
|
listWidth?: Property.Width<string | number> | undefined;
|
1236
|
-
portal?:
|
1237
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1237
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1238
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1238
1239
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1239
1240
|
closeAfterSelect?: boolean | undefined;
|
1240
1241
|
size?: string | undefined;
|
@@ -1256,21 +1257,21 @@ true: PolymorphicClassName;
|
|
1256
1257
|
} & {
|
1257
1258
|
required: true;
|
1258
1259
|
optional?: false | undefined;
|
1259
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1260
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1260
1261
|
items: ItemOption[];
|
1261
1262
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1262
1263
|
label?: string | undefined;
|
1263
1264
|
placeholder?: string | undefined;
|
1264
1265
|
helperText?: string | undefined;
|
1265
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1266
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1266
1267
|
textBefore?: string | undefined;
|
1267
1268
|
textAfter?: string | undefined;
|
1268
1269
|
variant?: "normal" | "tight" | undefined;
|
1269
1270
|
listOverflow?: Property.Overflow | undefined;
|
1270
1271
|
listHeight?: Property.Height<string | number> | undefined;
|
1271
1272
|
listWidth?: Property.Width<string | number> | undefined;
|
1272
|
-
portal?:
|
1273
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1273
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1274
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1274
1275
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1275
1276
|
closeAfterSelect?: boolean | undefined;
|
1276
1277
|
size?: string | undefined;
|
@@ -1292,21 +1293,21 @@ true: PolymorphicClassName;
|
|
1292
1293
|
} & {
|
1293
1294
|
optional?: true | undefined;
|
1294
1295
|
required?: false | undefined;
|
1295
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1296
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1296
1297
|
items: ItemOption[];
|
1297
1298
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1298
1299
|
label?: string | undefined;
|
1299
1300
|
placeholder?: string | undefined;
|
1300
1301
|
helperText?: string | undefined;
|
1301
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1302
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1302
1303
|
textBefore?: string | undefined;
|
1303
1304
|
textAfter?: string | undefined;
|
1304
1305
|
variant?: "normal" | "tight" | undefined;
|
1305
1306
|
listOverflow?: Property.Overflow | undefined;
|
1306
1307
|
listHeight?: Property.Height<string | number> | undefined;
|
1307
1308
|
listWidth?: Property.Width<string | number> | undefined;
|
1308
|
-
portal?:
|
1309
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1309
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1310
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1310
1311
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1311
1312
|
closeAfterSelect?: boolean | undefined;
|
1312
1313
|
size?: string | undefined;
|
@@ -1328,21 +1329,21 @@ true: PolymorphicClassName;
|
|
1328
1329
|
} & {
|
1329
1330
|
required: true;
|
1330
1331
|
optional?: false | undefined;
|
1331
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1332
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1332
1333
|
items: ItemOption[];
|
1333
1334
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1334
1335
|
label?: string | undefined;
|
1335
1336
|
placeholder?: string | undefined;
|
1336
1337
|
helperText?: string | undefined;
|
1337
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1338
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1338
1339
|
textBefore?: string | undefined;
|
1339
1340
|
textAfter?: string | undefined;
|
1340
1341
|
variant?: "normal" | "tight" | undefined;
|
1341
1342
|
listOverflow?: Property.Overflow | undefined;
|
1342
1343
|
listHeight?: Property.Height<string | number> | undefined;
|
1343
1344
|
listWidth?: Property.Width<string | number> | undefined;
|
1344
|
-
portal?:
|
1345
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1345
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1346
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1346
1347
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1347
1348
|
closeAfterSelect?: boolean | undefined;
|
1348
1349
|
size?: string | undefined;
|
@@ -1364,21 +1365,21 @@ true: PolymorphicClassName;
|
|
1364
1365
|
} & {
|
1365
1366
|
optional?: true | undefined;
|
1366
1367
|
required?: false | undefined;
|
1367
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1368
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1368
1369
|
items: ItemOption[];
|
1369
1370
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1370
1371
|
label?: string | undefined;
|
1371
1372
|
placeholder?: string | undefined;
|
1372
1373
|
helperText?: string | undefined;
|
1373
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1374
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1374
1375
|
textBefore?: string | undefined;
|
1375
1376
|
textAfter?: string | undefined;
|
1376
1377
|
variant?: "normal" | "tight" | undefined;
|
1377
1378
|
listOverflow?: Property.Overflow | undefined;
|
1378
1379
|
listHeight?: Property.Height<string | number> | undefined;
|
1379
1380
|
listWidth?: Property.Width<string | number> | undefined;
|
1380
|
-
portal?:
|
1381
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1381
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1382
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1382
1383
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1383
1384
|
closeAfterSelect?: boolean | undefined;
|
1384
1385
|
size?: string | undefined;
|
@@ -1400,21 +1401,21 @@ true: PolymorphicClassName;
|
|
1400
1401
|
} & {
|
1401
1402
|
required: true;
|
1402
1403
|
optional?: false | undefined;
|
1403
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
|
1404
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1404
1405
|
items: ItemOption[];
|
1405
1406
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1406
1407
|
label?: string | undefined;
|
1407
1408
|
placeholder?: string | undefined;
|
1408
1409
|
helperText?: string | undefined;
|
1409
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1410
|
+
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1410
1411
|
textBefore?: string | undefined;
|
1411
1412
|
textAfter?: string | undefined;
|
1412
1413
|
variant?: "normal" | "tight" | undefined;
|
1413
1414
|
listOverflow?: Property.Overflow | undefined;
|
1414
1415
|
listHeight?: Property.Height<string | number> | undefined;
|
1415
1416
|
listWidth?: Property.Width<string | number> | undefined;
|
1416
|
-
portal?:
|
1417
|
-
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1417
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1418
|
+
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1418
1419
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1419
1420
|
closeAfterSelect?: boolean | undefined;
|
1420
1421
|
size?: string | undefined;
|
@@ -1436,9 +1437,7 @@ true: PolymorphicClassName;
|
|
1436
1437
|
} & {
|
1437
1438
|
optional?: true | undefined;
|
1438
1439
|
required?: false | undefined;
|
1439
|
-
} & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> &
|
1440
|
-
ref?: ForwardedRef<HTMLInputElement> | undefined;
|
1441
|
-
}) => ReactElement | null;
|
1440
|
+
} & 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;
|
1442
1441
|
|
1443
1442
|
// @public
|
1444
1443
|
export const Counter: FunctionComponent<PropsType< {
|
@@ -3498,184 +3497,10 @@ export { SegmentProvider }
|
|
3498
3497
|
|
3499
3498
|
export { SegmentProviderProps }
|
3500
3499
|
|
3500
|
+
// Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
|
3501
|
+
//
|
3501
3502
|
// @public (undocumented)
|
3502
|
-
export const Select: React_2.
|
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>>;
|
3503
|
+
export const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
3679
3504
|
|
3680
3505
|
// @public
|
3681
3506
|
export const Sheet: FunctionComponent<PropsType< {
|