@salutejs/sdds-dfa 0.170.1-canary.1532.11798057558.0 → 0.171.0-canary.1550.11797632633.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.api.md +23 -195
- package/components/Attach/Attach.d.ts +8 -8
- package/components/Button/Button.d.ts +4 -4
- package/components/Combobox/Combobox.d.ts +12 -12
- package/components/Combobox/index.d.ts +12 -12
- 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/Tabs/horizontal/HorizontalTabs.config.js +1 -1
- package/components/TextArea/TextArea.d.ts +16 -16
- package/components/TextField/TextField.d.ts +16 -16
- package/es/components/Select/Select.config.js +30 -22
- package/es/components/Select/Select.js +5 -4
- package/es/components/Tabs/horizontal/HorizontalTabs.config.js +1 -1
- package/package.json +3 -3
- package/temp/sdds-dfa.api.md +23 -195
package/temp/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';
|
@@ -115,19 +118,18 @@ import { HTMLAttributes } from 'react';
|
|
115
118
|
import { ImageProps } from '@salutejs/plasma-new-hope/styled-components';
|
116
119
|
import { ImgHTMLAttributes } from 'react';
|
117
120
|
import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
118
|
-
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/
|
121
|
+
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
|
119
122
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
120
123
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
124
|
+
import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
|
121
125
|
import { JSXElementConstructor } from 'react';
|
122
126
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
123
127
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
124
128
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
125
129
|
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
130
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
128
131
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
129
132
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
130
|
-
import { MutableRefObject } from 'react';
|
131
133
|
import { numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
|
132
134
|
import { numberInputTokens } from '@salutejs/plasma-new-hope/styled-components';
|
133
135
|
import { Orientation } from '@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types';
|
@@ -171,7 +173,7 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
171
173
|
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
172
174
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
173
175
|
import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
|
174
|
-
import type { SelectProps } from '@salutejs/plasma-new-hope
|
176
|
+
import type { SelectProps as SelectProps_2 } from '@salutejs/plasma-new-hope';
|
175
177
|
import { sheetClasses } from '@salutejs/plasma-new-hope/styled-components';
|
176
178
|
import { SheetProps } from '@salutejs/plasma-new-hope/styled-components';
|
177
179
|
import { ShowToastArgs } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -191,7 +193,7 @@ import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
|
|
191
193
|
import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
|
192
194
|
import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
|
193
195
|
import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
|
194
|
-
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/
|
196
|
+
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
|
195
197
|
import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
196
198
|
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
197
199
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
@@ -1017,7 +1019,7 @@ true: PolymorphicClassName;
|
|
1017
1019
|
listOverflow?: Property.Overflow | undefined;
|
1018
1020
|
listHeight?: Property.Height<string | number> | undefined;
|
1019
1021
|
listWidth?: Property.Width<string | number> | undefined;
|
1020
|
-
portal?:
|
1022
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1021
1023
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1022
1024
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1023
1025
|
closeAfterSelect?: boolean | undefined;
|
@@ -1053,7 +1055,7 @@ true: PolymorphicClassName;
|
|
1053
1055
|
listOverflow?: Property.Overflow | undefined;
|
1054
1056
|
listHeight?: Property.Height<string | number> | undefined;
|
1055
1057
|
listWidth?: Property.Width<string | number> | undefined;
|
1056
|
-
portal?:
|
1058
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1057
1059
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1058
1060
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1059
1061
|
closeAfterSelect?: boolean | undefined;
|
@@ -1089,7 +1091,7 @@ true: PolymorphicClassName;
|
|
1089
1091
|
listOverflow?: Property.Overflow | undefined;
|
1090
1092
|
listHeight?: Property.Height<string | number> | undefined;
|
1091
1093
|
listWidth?: Property.Width<string | number> | undefined;
|
1092
|
-
portal?:
|
1094
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1093
1095
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1094
1096
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1095
1097
|
closeAfterSelect?: boolean | undefined;
|
@@ -1125,7 +1127,7 @@ true: PolymorphicClassName;
|
|
1125
1127
|
listOverflow?: Property.Overflow | undefined;
|
1126
1128
|
listHeight?: Property.Height<string | number> | undefined;
|
1127
1129
|
listWidth?: Property.Width<string | number> | undefined;
|
1128
|
-
portal?:
|
1130
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1129
1131
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1130
1132
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1131
1133
|
closeAfterSelect?: boolean | undefined;
|
@@ -1161,7 +1163,7 @@ true: PolymorphicClassName;
|
|
1161
1163
|
listOverflow?: Property.Overflow | undefined;
|
1162
1164
|
listHeight?: Property.Height<string | number> | undefined;
|
1163
1165
|
listWidth?: Property.Width<string | number> | undefined;
|
1164
|
-
portal?:
|
1166
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1165
1167
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1166
1168
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1167
1169
|
closeAfterSelect?: boolean | undefined;
|
@@ -1197,7 +1199,7 @@ true: PolymorphicClassName;
|
|
1197
1199
|
listOverflow?: Property.Overflow | undefined;
|
1198
1200
|
listHeight?: Property.Height<string | number> | undefined;
|
1199
1201
|
listWidth?: Property.Width<string | number> | undefined;
|
1200
|
-
portal?:
|
1202
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1201
1203
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1202
1204
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1203
1205
|
closeAfterSelect?: boolean | undefined;
|
@@ -1233,7 +1235,7 @@ true: PolymorphicClassName;
|
|
1233
1235
|
listOverflow?: Property.Overflow | undefined;
|
1234
1236
|
listHeight?: Property.Height<string | number> | undefined;
|
1235
1237
|
listWidth?: Property.Width<string | number> | undefined;
|
1236
|
-
portal?:
|
1238
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1237
1239
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1238
1240
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1239
1241
|
closeAfterSelect?: boolean | undefined;
|
@@ -1269,7 +1271,7 @@ true: PolymorphicClassName;
|
|
1269
1271
|
listOverflow?: Property.Overflow | undefined;
|
1270
1272
|
listHeight?: Property.Height<string | number> | undefined;
|
1271
1273
|
listWidth?: Property.Width<string | number> | undefined;
|
1272
|
-
portal?:
|
1274
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1273
1275
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1274
1276
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1275
1277
|
closeAfterSelect?: boolean | undefined;
|
@@ -1305,7 +1307,7 @@ true: PolymorphicClassName;
|
|
1305
1307
|
listOverflow?: Property.Overflow | undefined;
|
1306
1308
|
listHeight?: Property.Height<string | number> | undefined;
|
1307
1309
|
listWidth?: Property.Width<string | number> | undefined;
|
1308
|
-
portal?:
|
1310
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1309
1311
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1310
1312
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1311
1313
|
closeAfterSelect?: boolean | undefined;
|
@@ -1341,7 +1343,7 @@ true: PolymorphicClassName;
|
|
1341
1343
|
listOverflow?: Property.Overflow | undefined;
|
1342
1344
|
listHeight?: Property.Height<string | number> | undefined;
|
1343
1345
|
listWidth?: Property.Width<string | number> | undefined;
|
1344
|
-
portal?:
|
1346
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1345
1347
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1346
1348
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1347
1349
|
closeAfterSelect?: boolean | undefined;
|
@@ -1377,7 +1379,7 @@ true: PolymorphicClassName;
|
|
1377
1379
|
listOverflow?: Property.Overflow | undefined;
|
1378
1380
|
listHeight?: Property.Height<string | number> | undefined;
|
1379
1381
|
listWidth?: Property.Width<string | number> | undefined;
|
1380
|
-
portal?:
|
1382
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1381
1383
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1382
1384
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1383
1385
|
closeAfterSelect?: boolean | undefined;
|
@@ -1413,7 +1415,7 @@ true: PolymorphicClassName;
|
|
1413
1415
|
listOverflow?: Property.Overflow | undefined;
|
1414
1416
|
listHeight?: Property.Height<string | number> | undefined;
|
1415
1417
|
listWidth?: Property.Width<string | number> | undefined;
|
1416
|
-
portal?:
|
1418
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1417
1419
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1418
1420
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1419
1421
|
closeAfterSelect?: boolean | undefined;
|
@@ -3498,184 +3500,10 @@ export { SegmentProvider }
|
|
3498
3500
|
|
3499
3501
|
export { SegmentProviderProps }
|
3500
3502
|
|
3503
|
+
// Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
|
3504
|
+
//
|
3501
3505
|
// @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>>;
|
3506
|
+
export const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
3679
3507
|
|
3680
3508
|
// @public
|
3681
3509
|
export const Sheet: FunctionComponent<PropsType< {
|