@salutejs/sdds-dfa 0.171.0-canary.1550.11797632633.0 → 0.171.0-canary.1551.11797041657.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.api.md +195 -23
- 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 +7 -15
- package/components/Select/Select.config.js +21 -29
- package/components/Select/Select.d.ts +50 -59
- package/components/Select/Select.js +6 -5
- package/components/TextArea/TextArea.d.ts +16 -16
- package/components/TextField/TextField.config.js +4 -4
- package/components/TextField/TextField.d.ts +16 -16
- package/es/components/Select/Select.config.js +22 -30
- package/es/components/Select/Select.js +4 -5
- package/es/components/TextField/TextField.config.js +4 -4
- package/package.json +3 -3
- package/temp/sdds-dfa.api.md +195 -23
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/types/types';
|
13
13
|
import { AvatarGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
14
14
|
import { AvatarProps } from '@salutejs/plasma-new-hope/styled-components';
|
15
15
|
import { BadgeProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -79,8 +79,6 @@ import { DatePickerRangeProps } from '@salutejs/plasma-new-hope/styled-component
|
|
79
79
|
import { DatePickerTextFieldProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types';
|
80
80
|
import { datePickerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
81
81
|
import { DatePickerVariationProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
|
82
|
-
import type { DistributiveOmit } from '@salutejs/plasma-new-hope';
|
83
|
-
import type { DistributivePick } from '@salutejs/plasma-new-hope';
|
84
82
|
import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
|
85
83
|
import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
86
84
|
import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -88,7 +86,6 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
88
86
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
89
87
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
90
88
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
|
-
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
92
89
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
93
90
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
94
91
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
@@ -118,18 +115,19 @@ import { HTMLAttributes } from 'react';
|
|
118
115
|
import { ImageProps } from '@salutejs/plasma-new-hope/styled-components';
|
119
116
|
import { ImgHTMLAttributes } from 'react';
|
120
117
|
import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
121
|
-
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/
|
118
|
+
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
122
119
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
123
120
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
124
|
-
import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
|
125
121
|
import { JSXElementConstructor } from 'react';
|
126
122
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
127
123
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
128
124
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
129
125
|
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
|
126
|
+
import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
|
130
127
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
131
128
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
132
129
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
130
|
+
import { MutableRefObject } from 'react';
|
133
131
|
import { numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
|
134
132
|
import { numberInputTokens } from '@salutejs/plasma-new-hope/styled-components';
|
135
133
|
import { Orientation } from '@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types';
|
@@ -173,7 +171,7 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
173
171
|
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
174
172
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
175
173
|
import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
|
176
|
-
import type { SelectProps
|
174
|
+
import type { SelectProps } from '@salutejs/plasma-new-hope/styled-components';
|
177
175
|
import { sheetClasses } from '@salutejs/plasma-new-hope/styled-components';
|
178
176
|
import { SheetProps } from '@salutejs/plasma-new-hope/styled-components';
|
179
177
|
import { ShowToastArgs } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -193,7 +191,7 @@ import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
|
|
193
191
|
import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
|
194
192
|
import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
|
195
193
|
import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
|
196
|
-
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/
|
194
|
+
import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
197
195
|
import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
198
196
|
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
199
197
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
@@ -1019,7 +1017,7 @@ true: PolymorphicClassName;
|
|
1019
1017
|
listOverflow?: Property.Overflow | undefined;
|
1020
1018
|
listHeight?: Property.Height<string | number> | undefined;
|
1021
1019
|
listWidth?: Property.Width<string | number> | undefined;
|
1022
|
-
portal?:
|
1020
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1023
1021
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1024
1022
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1025
1023
|
closeAfterSelect?: boolean | undefined;
|
@@ -1055,7 +1053,7 @@ true: PolymorphicClassName;
|
|
1055
1053
|
listOverflow?: Property.Overflow | undefined;
|
1056
1054
|
listHeight?: Property.Height<string | number> | undefined;
|
1057
1055
|
listWidth?: Property.Width<string | number> | undefined;
|
1058
|
-
portal?:
|
1056
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1059
1057
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1060
1058
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1061
1059
|
closeAfterSelect?: boolean | undefined;
|
@@ -1091,7 +1089,7 @@ true: PolymorphicClassName;
|
|
1091
1089
|
listOverflow?: Property.Overflow | undefined;
|
1092
1090
|
listHeight?: Property.Height<string | number> | undefined;
|
1093
1091
|
listWidth?: Property.Width<string | number> | undefined;
|
1094
|
-
portal?:
|
1092
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1095
1093
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1096
1094
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1097
1095
|
closeAfterSelect?: boolean | undefined;
|
@@ -1127,7 +1125,7 @@ true: PolymorphicClassName;
|
|
1127
1125
|
listOverflow?: Property.Overflow | undefined;
|
1128
1126
|
listHeight?: Property.Height<string | number> | undefined;
|
1129
1127
|
listWidth?: Property.Width<string | number> | undefined;
|
1130
|
-
portal?:
|
1128
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1131
1129
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1132
1130
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1133
1131
|
closeAfterSelect?: boolean | undefined;
|
@@ -1163,7 +1161,7 @@ true: PolymorphicClassName;
|
|
1163
1161
|
listOverflow?: Property.Overflow | undefined;
|
1164
1162
|
listHeight?: Property.Height<string | number> | undefined;
|
1165
1163
|
listWidth?: Property.Width<string | number> | undefined;
|
1166
|
-
portal?:
|
1164
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1167
1165
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1168
1166
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1169
1167
|
closeAfterSelect?: boolean | undefined;
|
@@ -1199,7 +1197,7 @@ true: PolymorphicClassName;
|
|
1199
1197
|
listOverflow?: Property.Overflow | undefined;
|
1200
1198
|
listHeight?: Property.Height<string | number> | undefined;
|
1201
1199
|
listWidth?: Property.Width<string | number> | undefined;
|
1202
|
-
portal?:
|
1200
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1203
1201
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1204
1202
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1205
1203
|
closeAfterSelect?: boolean | undefined;
|
@@ -1235,7 +1233,7 @@ true: PolymorphicClassName;
|
|
1235
1233
|
listOverflow?: Property.Overflow | undefined;
|
1236
1234
|
listHeight?: Property.Height<string | number> | undefined;
|
1237
1235
|
listWidth?: Property.Width<string | number> | undefined;
|
1238
|
-
portal?:
|
1236
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1239
1237
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1240
1238
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1241
1239
|
closeAfterSelect?: boolean | undefined;
|
@@ -1271,7 +1269,7 @@ true: PolymorphicClassName;
|
|
1271
1269
|
listOverflow?: Property.Overflow | undefined;
|
1272
1270
|
listHeight?: Property.Height<string | number> | undefined;
|
1273
1271
|
listWidth?: Property.Width<string | number> | undefined;
|
1274
|
-
portal?:
|
1272
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1275
1273
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1276
1274
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1277
1275
|
closeAfterSelect?: boolean | undefined;
|
@@ -1307,7 +1305,7 @@ true: PolymorphicClassName;
|
|
1307
1305
|
listOverflow?: Property.Overflow | undefined;
|
1308
1306
|
listHeight?: Property.Height<string | number> | undefined;
|
1309
1307
|
listWidth?: Property.Width<string | number> | undefined;
|
1310
|
-
portal?:
|
1308
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1311
1309
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1312
1310
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1313
1311
|
closeAfterSelect?: boolean | undefined;
|
@@ -1343,7 +1341,7 @@ true: PolymorphicClassName;
|
|
1343
1341
|
listOverflow?: Property.Overflow | undefined;
|
1344
1342
|
listHeight?: Property.Height<string | number> | undefined;
|
1345
1343
|
listWidth?: Property.Width<string | number> | undefined;
|
1346
|
-
portal?:
|
1344
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1347
1345
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1348
1346
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1349
1347
|
closeAfterSelect?: boolean | undefined;
|
@@ -1379,7 +1377,7 @@ true: PolymorphicClassName;
|
|
1379
1377
|
listOverflow?: Property.Overflow | undefined;
|
1380
1378
|
listHeight?: Property.Height<string | number> | undefined;
|
1381
1379
|
listWidth?: Property.Width<string | number> | undefined;
|
1382
|
-
portal?:
|
1380
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1383
1381
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1384
1382
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1385
1383
|
closeAfterSelect?: boolean | undefined;
|
@@ -1415,7 +1413,7 @@ true: PolymorphicClassName;
|
|
1415
1413
|
listOverflow?: Property.Overflow | undefined;
|
1416
1414
|
listHeight?: Property.Height<string | number> | undefined;
|
1417
1415
|
listWidth?: Property.Width<string | number> | undefined;
|
1418
|
-
portal?:
|
1416
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1419
1417
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1420
1418
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1421
1419
|
closeAfterSelect?: boolean | undefined;
|
@@ -3500,10 +3498,184 @@ export { SegmentProvider }
|
|
3500
3498
|
|
3501
3499
|
export { SegmentProviderProps }
|
3502
3500
|
|
3503
|
-
// Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
|
3504
|
-
//
|
3505
3501
|
// @public (undocumented)
|
3506
|
-
export const Select:
|
3502
|
+
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps, "view" | "size" | "chipView"> & Pick<PropsType< {
|
3503
|
+
size: {
|
3504
|
+
xs: PolymorphicClassName;
|
3505
|
+
s: PolymorphicClassName;
|
3506
|
+
m: PolymorphicClassName;
|
3507
|
+
l: PolymorphicClassName;
|
3508
|
+
};
|
3509
|
+
view: {
|
3510
|
+
default: PolymorphicClassName;
|
3511
|
+
positive: PolymorphicClassName;
|
3512
|
+
warning: PolymorphicClassName;
|
3513
|
+
negative: PolymorphicClassName;
|
3514
|
+
accent: PolymorphicClassName;
|
3515
|
+
secondary: PolymorphicClassName;
|
3516
|
+
clear: PolymorphicClassName;
|
3517
|
+
dark: PolymorphicClassName;
|
3518
|
+
black: PolymorphicClassName;
|
3519
|
+
white: PolymorphicClassName;
|
3520
|
+
};
|
3521
|
+
chipView: {
|
3522
|
+
default: PolymorphicClassName;
|
3523
|
+
secondary: PolymorphicClassName;
|
3524
|
+
accent: PolymorphicClassName;
|
3525
|
+
};
|
3526
|
+
}> & (({
|
3527
|
+
target?: "textfield-like" | undefined;
|
3528
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
3529
|
+
contentLeft?: React_2.ReactNode;
|
3530
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
3531
|
+
placeholder?: string | undefined;
|
3532
|
+
helperText?: string | undefined;
|
3533
|
+
} & {
|
3534
|
+
multiselect?: false | undefined;
|
3535
|
+
separator?: undefined;
|
3536
|
+
} & {
|
3537
|
+
value: any;
|
3538
|
+
onChange?: ((value: any) => void) | undefined;
|
3539
|
+
listOverflow?: Property.Overflow | undefined;
|
3540
|
+
listHeight?: Property.Height<string | number> | undefined;
|
3541
|
+
status?: "warning" | "success" | "error" | undefined;
|
3542
|
+
placeholder?: string | undefined;
|
3543
|
+
helperText?: string | undefined;
|
3544
|
+
disabled?: boolean | undefined;
|
3545
|
+
items?: MergedDropdownNode[] | undefined;
|
3546
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3547
|
+
hasItems?: boolean | undefined;
|
3548
|
+
children?: undefined;
|
3549
|
+
isOpen?: boolean | undefined;
|
3550
|
+
isTargetAmount?: boolean | undefined;
|
3551
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3552
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3553
|
+
label?: string | undefined;
|
3554
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3555
|
+
variant?: "normal" | "tight" | undefined;
|
3556
|
+
listWidth?: Property.Width<string | number> | undefined;
|
3557
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3558
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3559
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3560
|
+
closeAfterSelect?: boolean | undefined;
|
3561
|
+
size?: string | undefined;
|
3562
|
+
view?: string | undefined;
|
3563
|
+
chipView?: string | undefined;
|
3564
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3565
|
+
target?: "textfield-like" | undefined;
|
3566
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
3567
|
+
contentLeft?: React_2.ReactNode;
|
3568
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
3569
|
+
placeholder?: string | undefined;
|
3570
|
+
helperText?: string | undefined;
|
3571
|
+
} & {
|
3572
|
+
multiselect?: true | undefined;
|
3573
|
+
separator?: string | undefined;
|
3574
|
+
} & {
|
3575
|
+
value: any;
|
3576
|
+
onChange?: ((value: any) => void) | undefined;
|
3577
|
+
listOverflow?: Property.Overflow | undefined;
|
3578
|
+
listHeight?: Property.Height<string | number> | undefined;
|
3579
|
+
status?: "warning" | "success" | "error" | undefined;
|
3580
|
+
placeholder?: string | undefined;
|
3581
|
+
helperText?: string | undefined;
|
3582
|
+
disabled?: boolean | undefined;
|
3583
|
+
items?: MergedDropdownNode[] | undefined;
|
3584
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3585
|
+
hasItems?: boolean | undefined;
|
3586
|
+
children?: undefined;
|
3587
|
+
isOpen?: boolean | undefined;
|
3588
|
+
isTargetAmount?: boolean | undefined;
|
3589
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3590
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3591
|
+
label?: string | undefined;
|
3592
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3593
|
+
variant?: "normal" | "tight" | undefined;
|
3594
|
+
listWidth?: Property.Width<string | number> | undefined;
|
3595
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3596
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3597
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3598
|
+
closeAfterSelect?: boolean | undefined;
|
3599
|
+
size?: string | undefined;
|
3600
|
+
view?: string | undefined;
|
3601
|
+
chipView?: string | undefined;
|
3602
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3603
|
+
target?: "button-like" | undefined;
|
3604
|
+
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
3605
|
+
contentLeft?: undefined;
|
3606
|
+
labelPlacement?: undefined;
|
3607
|
+
placeholder?: undefined;
|
3608
|
+
helperText?: undefined;
|
3609
|
+
} & {
|
3610
|
+
multiselect?: false | undefined;
|
3611
|
+
separator?: undefined;
|
3612
|
+
} & {
|
3613
|
+
value: any;
|
3614
|
+
onChange?: ((value: any) => void) | undefined;
|
3615
|
+
listOverflow?: Property.Overflow | undefined;
|
3616
|
+
listHeight?: Property.Height<string | number> | undefined;
|
3617
|
+
status?: "warning" | "success" | "error" | undefined;
|
3618
|
+
placeholder?: string | undefined;
|
3619
|
+
helperText?: string | undefined;
|
3620
|
+
disabled?: boolean | undefined;
|
3621
|
+
items?: MergedDropdownNode[] | undefined;
|
3622
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3623
|
+
hasItems?: boolean | undefined;
|
3624
|
+
children?: undefined;
|
3625
|
+
isOpen?: boolean | undefined;
|
3626
|
+
isTargetAmount?: boolean | undefined;
|
3627
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3628
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3629
|
+
label?: string | undefined;
|
3630
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3631
|
+
variant?: "normal" | "tight" | undefined;
|
3632
|
+
listWidth?: Property.Width<string | number> | undefined;
|
3633
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3634
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3635
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3636
|
+
closeAfterSelect?: boolean | undefined;
|
3637
|
+
size?: string | undefined;
|
3638
|
+
view?: string | undefined;
|
3639
|
+
chipView?: string | undefined;
|
3640
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3641
|
+
target?: "button-like" | undefined;
|
3642
|
+
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
3643
|
+
contentLeft?: undefined;
|
3644
|
+
labelPlacement?: undefined;
|
3645
|
+
placeholder?: undefined;
|
3646
|
+
helperText?: undefined;
|
3647
|
+
} & {
|
3648
|
+
multiselect?: true | undefined;
|
3649
|
+
separator?: string | undefined;
|
3650
|
+
} & {
|
3651
|
+
value: any;
|
3652
|
+
onChange?: ((value: any) => void) | undefined;
|
3653
|
+
listOverflow?: Property.Overflow | undefined;
|
3654
|
+
listHeight?: Property.Height<string | number> | undefined;
|
3655
|
+
status?: "warning" | "success" | "error" | undefined;
|
3656
|
+
placeholder?: string | undefined;
|
3657
|
+
helperText?: string | undefined;
|
3658
|
+
disabled?: boolean | undefined;
|
3659
|
+
items?: MergedDropdownNode[] | undefined;
|
3660
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3661
|
+
hasItems?: boolean | undefined;
|
3662
|
+
children?: undefined;
|
3663
|
+
isOpen?: boolean | undefined;
|
3664
|
+
isTargetAmount?: boolean | undefined;
|
3665
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3666
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3667
|
+
label?: string | undefined;
|
3668
|
+
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3669
|
+
variant?: "normal" | "tight" | undefined;
|
3670
|
+
listWidth?: Property.Width<string | number> | undefined;
|
3671
|
+
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3672
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3673
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3674
|
+
closeAfterSelect?: boolean | undefined;
|
3675
|
+
size?: string | undefined;
|
3676
|
+
view?: string | undefined;
|
3677
|
+
chipView?: string | undefined;
|
3678
|
+
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>)), "view" | "size" | "chipView"> & React_2.RefAttributes<HTMLButtonElement>>;
|
3507
3679
|
|
3508
3680
|
// @public
|
3509
3681
|
export const Sheet: FunctionComponent<PropsType< {
|