@salutejs/sdds-finportal 0.162.0-canary.1550.11777193712.0 → 0.162.0-canary.1553.11776288397.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +61 -68
- package/components/Combobox/Combobox.d.ts +12 -12
- package/components/Combobox/index.d.ts +12 -12
- package/components/Select/Select.config.d.ts +7 -15
- package/components/Select/Select.config.js +21 -29
- package/components/Select/Select.d.ts +47 -54
- package/es/components/Select/Select.config.js +22 -30
- package/package.json +6 -6
- package/temp/sdds-finportal.api.md +61 -68
@@ -90,7 +90,6 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
90
90
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
91
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
92
92
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
93
|
-
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
94
93
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
95
94
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
96
95
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
@@ -123,15 +122,16 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
123
122
|
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
124
123
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
125
124
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
126
|
-
import { ItemOptionSelect } from '@salutejs/plasma-new-hope/styled-components';
|
127
125
|
import { JSXElementConstructor } from 'react';
|
128
126
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
129
127
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
130
128
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
131
129
|
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
|
130
|
+
import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
|
132
131
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
133
132
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
134
133
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
134
|
+
import { MutableRefObject } from 'react';
|
135
135
|
import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
136
136
|
import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
|
137
137
|
import { NotificationPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -1068,7 +1068,7 @@ true: PolymorphicClassName;
|
|
1068
1068
|
listOverflow?: Property.Overflow | undefined;
|
1069
1069
|
listHeight?: Property.Height<string | number> | undefined;
|
1070
1070
|
listWidth?: Property.Width<string | number> | undefined;
|
1071
|
-
portal?:
|
1071
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1072
1072
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1073
1073
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1074
1074
|
closeAfterSelect?: boolean | undefined;
|
@@ -1104,7 +1104,7 @@ true: PolymorphicClassName;
|
|
1104
1104
|
listOverflow?: Property.Overflow | undefined;
|
1105
1105
|
listHeight?: Property.Height<string | number> | undefined;
|
1106
1106
|
listWidth?: Property.Width<string | number> | undefined;
|
1107
|
-
portal?:
|
1107
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1108
1108
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1109
1109
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1110
1110
|
closeAfterSelect?: boolean | undefined;
|
@@ -1140,7 +1140,7 @@ true: PolymorphicClassName;
|
|
1140
1140
|
listOverflow?: Property.Overflow | undefined;
|
1141
1141
|
listHeight?: Property.Height<string | number> | undefined;
|
1142
1142
|
listWidth?: Property.Width<string | number> | undefined;
|
1143
|
-
portal?:
|
1143
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1144
1144
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1145
1145
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1146
1146
|
closeAfterSelect?: boolean | undefined;
|
@@ -1176,7 +1176,7 @@ true: PolymorphicClassName;
|
|
1176
1176
|
listOverflow?: Property.Overflow | undefined;
|
1177
1177
|
listHeight?: Property.Height<string | number> | undefined;
|
1178
1178
|
listWidth?: Property.Width<string | number> | undefined;
|
1179
|
-
portal?:
|
1179
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1180
1180
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1181
1181
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1182
1182
|
closeAfterSelect?: boolean | undefined;
|
@@ -1212,7 +1212,7 @@ true: PolymorphicClassName;
|
|
1212
1212
|
listOverflow?: Property.Overflow | undefined;
|
1213
1213
|
listHeight?: Property.Height<string | number> | undefined;
|
1214
1214
|
listWidth?: Property.Width<string | number> | undefined;
|
1215
|
-
portal?:
|
1215
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1216
1216
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1217
1217
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1218
1218
|
closeAfterSelect?: boolean | undefined;
|
@@ -1248,7 +1248,7 @@ true: PolymorphicClassName;
|
|
1248
1248
|
listOverflow?: Property.Overflow | undefined;
|
1249
1249
|
listHeight?: Property.Height<string | number> | undefined;
|
1250
1250
|
listWidth?: Property.Width<string | number> | undefined;
|
1251
|
-
portal?:
|
1251
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1252
1252
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1253
1253
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1254
1254
|
closeAfterSelect?: boolean | undefined;
|
@@ -1284,7 +1284,7 @@ true: PolymorphicClassName;
|
|
1284
1284
|
listOverflow?: Property.Overflow | undefined;
|
1285
1285
|
listHeight?: Property.Height<string | number> | undefined;
|
1286
1286
|
listWidth?: Property.Width<string | number> | undefined;
|
1287
|
-
portal?:
|
1287
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1288
1288
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1289
1289
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1290
1290
|
closeAfterSelect?: boolean | undefined;
|
@@ -1320,7 +1320,7 @@ true: PolymorphicClassName;
|
|
1320
1320
|
listOverflow?: Property.Overflow | undefined;
|
1321
1321
|
listHeight?: Property.Height<string | number> | undefined;
|
1322
1322
|
listWidth?: Property.Width<string | number> | undefined;
|
1323
|
-
portal?:
|
1323
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1324
1324
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1325
1325
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1326
1326
|
closeAfterSelect?: boolean | undefined;
|
@@ -1356,7 +1356,7 @@ true: PolymorphicClassName;
|
|
1356
1356
|
listOverflow?: Property.Overflow | undefined;
|
1357
1357
|
listHeight?: Property.Height<string | number> | undefined;
|
1358
1358
|
listWidth?: Property.Width<string | number> | undefined;
|
1359
|
-
portal?:
|
1359
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1360
1360
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1361
1361
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1362
1362
|
closeAfterSelect?: boolean | undefined;
|
@@ -1392,7 +1392,7 @@ true: PolymorphicClassName;
|
|
1392
1392
|
listOverflow?: Property.Overflow | undefined;
|
1393
1393
|
listHeight?: Property.Height<string | number> | undefined;
|
1394
1394
|
listWidth?: Property.Width<string | number> | undefined;
|
1395
|
-
portal?:
|
1395
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1396
1396
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1397
1397
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1398
1398
|
closeAfterSelect?: boolean | undefined;
|
@@ -1428,7 +1428,7 @@ true: PolymorphicClassName;
|
|
1428
1428
|
listOverflow?: Property.Overflow | undefined;
|
1429
1429
|
listHeight?: Property.Height<string | number> | undefined;
|
1430
1430
|
listWidth?: Property.Width<string | number> | undefined;
|
1431
|
-
portal?:
|
1431
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1432
1432
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1433
1433
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1434
1434
|
closeAfterSelect?: boolean | undefined;
|
@@ -1464,7 +1464,7 @@ true: PolymorphicClassName;
|
|
1464
1464
|
listOverflow?: Property.Overflow | undefined;
|
1465
1465
|
listHeight?: Property.Height<string | number> | undefined;
|
1466
1466
|
listWidth?: Property.Width<string | number> | undefined;
|
1467
|
-
portal?:
|
1467
|
+
portal?: MutableRefObject<HTMLElement | null> | undefined;
|
1468
1468
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1469
1469
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1470
1470
|
closeAfterSelect?: boolean | undefined;
|
@@ -3595,7 +3595,13 @@ export { SegmentProvider }
|
|
3595
3595
|
export { SegmentProviderProps }
|
3596
3596
|
|
3597
3597
|
// @public (undocumented)
|
3598
|
-
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps
|
3598
|
+
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps, "view" | "size" | "chipView"> & Pick<PropsType< {
|
3599
|
+
size: {
|
3600
|
+
xs: PolymorphicClassName;
|
3601
|
+
s: PolymorphicClassName;
|
3602
|
+
m: PolymorphicClassName;
|
3603
|
+
l: PolymorphicClassName;
|
3604
|
+
};
|
3599
3605
|
view: {
|
3600
3606
|
default: PolymorphicClassName;
|
3601
3607
|
positive: PolymorphicClassName;
|
@@ -3608,24 +3614,11 @@ dark: PolymorphicClassName;
|
|
3608
3614
|
black: PolymorphicClassName;
|
3609
3615
|
white: PolymorphicClassName;
|
3610
3616
|
};
|
3611
|
-
size: {
|
3612
|
-
l: PolymorphicClassName;
|
3613
|
-
m: PolymorphicClassName;
|
3614
|
-
s: PolymorphicClassName;
|
3615
|
-
xs: PolymorphicClassName;
|
3616
|
-
};
|
3617
|
-
labelPlacement: {
|
3618
|
-
inner: PolymorphicClassName;
|
3619
|
-
outer: PolymorphicClassName;
|
3620
|
-
};
|
3621
3617
|
chipView: {
|
3622
3618
|
default: PolymorphicClassName;
|
3623
3619
|
secondary: PolymorphicClassName;
|
3624
3620
|
accent: PolymorphicClassName;
|
3625
3621
|
};
|
3626
|
-
disabled: {
|
3627
|
-
true: PolymorphicClassName;
|
3628
|
-
};
|
3629
3622
|
}> & (({
|
3630
3623
|
target?: "textfield-like" | undefined;
|
3631
3624
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
@@ -3637,33 +3630,33 @@ true: PolymorphicClassName;
|
|
3637
3630
|
multiselect?: false | undefined;
|
3638
3631
|
separator?: undefined;
|
3639
3632
|
} & {
|
3640
|
-
value
|
3633
|
+
value: any;
|
3641
3634
|
onChange?: ((value: any) => void) | undefined;
|
3642
3635
|
listOverflow?: Property.Overflow | undefined;
|
3643
3636
|
listHeight?: Property.Height<string | number> | undefined;
|
3637
|
+
status?: "warning" | "success" | "error" | undefined;
|
3644
3638
|
placeholder?: string | undefined;
|
3645
3639
|
helperText?: string | undefined;
|
3646
3640
|
disabled?: boolean | undefined;
|
3647
|
-
items?:
|
3648
|
-
onItemSelect?: ((e:
|
3641
|
+
items?: MergedDropdownNode[] | undefined;
|
3642
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3643
|
+
hasItems?: boolean | undefined;
|
3649
3644
|
children?: undefined;
|
3645
|
+
isOpen?: boolean | undefined;
|
3650
3646
|
isTargetAmount?: boolean | undefined;
|
3651
|
-
renderTarget?: ((item:
|
3652
|
-
placement?: ("
|
3647
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3648
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3653
3649
|
label?: string | undefined;
|
3654
3650
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3655
3651
|
variant?: "normal" | "tight" | undefined;
|
3656
3652
|
listWidth?: Property.Width<string | number> | undefined;
|
3657
3653
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3658
|
-
renderValue?: ((item:
|
3659
|
-
renderItem?: ((item:
|
3654
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3655
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3660
3656
|
closeAfterSelect?: boolean | undefined;
|
3661
3657
|
size?: string | undefined;
|
3662
3658
|
view?: string | undefined;
|
3663
3659
|
chipView?: string | undefined;
|
3664
|
-
status?: "warning" | "success" | "error" | undefined;
|
3665
|
-
hasItems?: boolean | undefined;
|
3666
|
-
isOpen?: boolean | undefined;
|
3667
3660
|
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3668
3661
|
target?: "textfield-like" | undefined;
|
3669
3662
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
@@ -3675,33 +3668,33 @@ true: PolymorphicClassName;
|
|
3675
3668
|
multiselect?: true | undefined;
|
3676
3669
|
separator?: string | undefined;
|
3677
3670
|
} & {
|
3678
|
-
value
|
3671
|
+
value: any;
|
3679
3672
|
onChange?: ((value: any) => void) | undefined;
|
3680
3673
|
listOverflow?: Property.Overflow | undefined;
|
3681
3674
|
listHeight?: Property.Height<string | number> | undefined;
|
3675
|
+
status?: "warning" | "success" | "error" | undefined;
|
3682
3676
|
placeholder?: string | undefined;
|
3683
3677
|
helperText?: string | undefined;
|
3684
3678
|
disabled?: boolean | undefined;
|
3685
|
-
items?:
|
3686
|
-
onItemSelect?: ((e:
|
3679
|
+
items?: MergedDropdownNode[] | undefined;
|
3680
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3681
|
+
hasItems?: boolean | undefined;
|
3687
3682
|
children?: undefined;
|
3683
|
+
isOpen?: boolean | undefined;
|
3688
3684
|
isTargetAmount?: boolean | undefined;
|
3689
|
-
renderTarget?: ((item:
|
3690
|
-
placement?: ("
|
3685
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3686
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3691
3687
|
label?: string | undefined;
|
3692
3688
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3693
3689
|
variant?: "normal" | "tight" | undefined;
|
3694
3690
|
listWidth?: Property.Width<string | number> | undefined;
|
3695
3691
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3696
|
-
renderValue?: ((item:
|
3697
|
-
renderItem?: ((item:
|
3692
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3693
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3698
3694
|
closeAfterSelect?: boolean | undefined;
|
3699
3695
|
size?: string | undefined;
|
3700
3696
|
view?: string | undefined;
|
3701
3697
|
chipView?: string | undefined;
|
3702
|
-
status?: "warning" | "success" | "error" | undefined;
|
3703
|
-
hasItems?: boolean | undefined;
|
3704
|
-
isOpen?: boolean | undefined;
|
3705
3698
|
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3706
3699
|
target?: "button-like" | undefined;
|
3707
3700
|
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
@@ -3713,33 +3706,33 @@ true: PolymorphicClassName;
|
|
3713
3706
|
multiselect?: false | undefined;
|
3714
3707
|
separator?: undefined;
|
3715
3708
|
} & {
|
3716
|
-
value
|
3709
|
+
value: any;
|
3717
3710
|
onChange?: ((value: any) => void) | undefined;
|
3718
3711
|
listOverflow?: Property.Overflow | undefined;
|
3719
3712
|
listHeight?: Property.Height<string | number> | undefined;
|
3713
|
+
status?: "warning" | "success" | "error" | undefined;
|
3720
3714
|
placeholder?: string | undefined;
|
3721
3715
|
helperText?: string | undefined;
|
3722
3716
|
disabled?: boolean | undefined;
|
3723
|
-
items?:
|
3724
|
-
onItemSelect?: ((e:
|
3717
|
+
items?: MergedDropdownNode[] | undefined;
|
3718
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3719
|
+
hasItems?: boolean | undefined;
|
3725
3720
|
children?: undefined;
|
3721
|
+
isOpen?: boolean | undefined;
|
3726
3722
|
isTargetAmount?: boolean | undefined;
|
3727
|
-
renderTarget?: ((item:
|
3728
|
-
placement?: ("
|
3723
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3724
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3729
3725
|
label?: string | undefined;
|
3730
3726
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3731
3727
|
variant?: "normal" | "tight" | undefined;
|
3732
3728
|
listWidth?: Property.Width<string | number> | undefined;
|
3733
3729
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3734
|
-
renderValue?: ((item:
|
3735
|
-
renderItem?: ((item:
|
3730
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3731
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3736
3732
|
closeAfterSelect?: boolean | undefined;
|
3737
3733
|
size?: string | undefined;
|
3738
3734
|
view?: string | undefined;
|
3739
3735
|
chipView?: string | undefined;
|
3740
|
-
status?: "warning" | "success" | "error" | undefined;
|
3741
|
-
hasItems?: boolean | undefined;
|
3742
|
-
isOpen?: boolean | undefined;
|
3743
3736
|
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3744
3737
|
target?: "button-like" | undefined;
|
3745
3738
|
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
@@ -3751,33 +3744,33 @@ true: PolymorphicClassName;
|
|
3751
3744
|
multiselect?: true | undefined;
|
3752
3745
|
separator?: string | undefined;
|
3753
3746
|
} & {
|
3754
|
-
value
|
3747
|
+
value: any;
|
3755
3748
|
onChange?: ((value: any) => void) | undefined;
|
3756
3749
|
listOverflow?: Property.Overflow | undefined;
|
3757
3750
|
listHeight?: Property.Height<string | number> | undefined;
|
3751
|
+
status?: "warning" | "success" | "error" | undefined;
|
3758
3752
|
placeholder?: string | undefined;
|
3759
3753
|
helperText?: string | undefined;
|
3760
3754
|
disabled?: boolean | undefined;
|
3761
|
-
items?:
|
3762
|
-
onItemSelect?: ((e:
|
3755
|
+
items?: MergedDropdownNode[] | undefined;
|
3756
|
+
onItemSelect?: ((e: MergedDropdownNode, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3757
|
+
hasItems?: boolean | undefined;
|
3763
3758
|
children?: undefined;
|
3759
|
+
isOpen?: boolean | undefined;
|
3764
3760
|
isTargetAmount?: boolean | undefined;
|
3765
|
-
renderTarget?: ((item:
|
3766
|
-
placement?: ("
|
3761
|
+
renderTarget?: ((item: MergedDropdownNode | MergedDropdownNode[]) => React_2.ReactNode) | undefined;
|
3762
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3767
3763
|
label?: string | undefined;
|
3768
3764
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3769
3765
|
variant?: "normal" | "tight" | undefined;
|
3770
3766
|
listWidth?: Property.Width<string | number> | undefined;
|
3771
3767
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3772
|
-
renderValue?: ((item:
|
3773
|
-
renderItem?: ((item:
|
3768
|
+
renderValue?: ((item: MergedDropdownNode) => string) | undefined;
|
3769
|
+
renderItem?: ((item: MergedDropdownNode) => React_2.ReactNode) | undefined;
|
3774
3770
|
closeAfterSelect?: boolean | undefined;
|
3775
3771
|
size?: string | undefined;
|
3776
3772
|
view?: string | undefined;
|
3777
3773
|
chipView?: string | undefined;
|
3778
|
-
status?: "warning" | "success" | "error" | undefined;
|
3779
|
-
hasItems?: boolean | undefined;
|
3780
|
-
isOpen?: boolean | undefined;
|
3781
3774
|
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>)), "view" | "size" | "chipView"> & React_2.RefAttributes<HTMLButtonElement>>;
|
3782
3775
|
|
3783
3776
|
// @public
|
@@ -35,7 +35,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
35
35
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
36
36
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
37
37
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
38
|
-
portal?:
|
38
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
39
39
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
40
40
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
41
41
|
closeAfterSelect?: boolean | undefined;
|
@@ -71,7 +71,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
71
71
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
72
72
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
73
73
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
74
|
-
portal?:
|
74
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
75
75
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
76
76
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
77
77
|
closeAfterSelect?: boolean | undefined;
|
@@ -107,7 +107,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
107
107
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
108
108
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
109
109
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
110
|
-
portal?:
|
110
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
111
111
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
112
112
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
113
113
|
closeAfterSelect?: boolean | undefined;
|
@@ -143,7 +143,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
143
143
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
144
144
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
145
145
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
146
|
-
portal?:
|
146
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
147
147
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
148
148
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
149
149
|
closeAfterSelect?: boolean | undefined;
|
@@ -179,7 +179,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
179
179
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
180
180
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
181
181
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
182
|
-
portal?:
|
182
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
183
183
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
184
184
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
185
185
|
closeAfterSelect?: boolean | undefined;
|
@@ -215,7 +215,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
215
215
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
216
216
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
217
217
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
218
|
-
portal?:
|
218
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
219
219
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
220
220
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
221
221
|
closeAfterSelect?: boolean | undefined;
|
@@ -251,7 +251,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
251
251
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
252
252
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
253
253
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
254
|
-
portal?:
|
254
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
255
255
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
256
256
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
257
257
|
closeAfterSelect?: boolean | undefined;
|
@@ -287,7 +287,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
287
287
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
288
288
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
289
289
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
290
|
-
portal?:
|
290
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
291
291
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
292
292
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
293
293
|
closeAfterSelect?: boolean | undefined;
|
@@ -323,7 +323,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
323
323
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
324
324
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
325
325
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
326
|
-
portal?:
|
326
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
327
327
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
328
328
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
329
329
|
closeAfterSelect?: boolean | undefined;
|
@@ -359,7 +359,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
359
359
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
360
360
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
361
361
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
362
|
-
portal?:
|
362
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
363
363
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
364
364
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
365
365
|
closeAfterSelect?: boolean | undefined;
|
@@ -395,7 +395,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
395
395
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
396
396
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
397
397
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
398
|
-
portal?:
|
398
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
399
399
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
400
400
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
401
401
|
closeAfterSelect?: boolean | undefined;
|
@@ -431,7 +431,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
431
431
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
432
432
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
433
433
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
434
|
-
portal?:
|
434
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
435
435
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
436
436
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
437
437
|
closeAfterSelect?: boolean | undefined;
|
@@ -40,7 +40,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
40
40
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
41
41
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
42
42
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
43
|
-
portal?:
|
43
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
44
44
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
45
45
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
46
46
|
closeAfterSelect?: boolean | undefined;
|
@@ -76,7 +76,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
76
76
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
77
77
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
78
78
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
79
|
-
portal?:
|
79
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
80
80
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
81
81
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
82
82
|
closeAfterSelect?: boolean | undefined;
|
@@ -112,7 +112,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
112
112
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
113
113
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
114
114
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
115
|
-
portal?:
|
115
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
116
116
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
117
117
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
118
118
|
closeAfterSelect?: boolean | undefined;
|
@@ -148,7 +148,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
148
148
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
149
149
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
150
150
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
151
|
-
portal?:
|
151
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
152
152
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
153
153
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
154
154
|
closeAfterSelect?: boolean | undefined;
|
@@ -184,7 +184,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
184
184
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
185
185
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
186
186
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
187
|
-
portal?:
|
187
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
188
188
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
189
189
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
190
190
|
closeAfterSelect?: boolean | undefined;
|
@@ -220,7 +220,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
220
220
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
221
221
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
222
222
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
223
|
-
portal?:
|
223
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
224
224
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
225
225
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
226
226
|
closeAfterSelect?: boolean | undefined;
|
@@ -256,7 +256,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
256
256
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
257
257
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
258
258
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
259
|
-
portal?:
|
259
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
260
260
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
261
261
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
262
262
|
closeAfterSelect?: boolean | undefined;
|
@@ -292,7 +292,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
292
292
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
293
293
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
294
294
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
295
|
-
portal?:
|
295
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
296
296
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
297
297
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
298
298
|
closeAfterSelect?: boolean | undefined;
|
@@ -328,7 +328,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
328
328
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
329
329
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
330
330
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
331
|
-
portal?:
|
331
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
332
332
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
333
333
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
334
334
|
closeAfterSelect?: boolean | undefined;
|
@@ -364,7 +364,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
364
364
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
365
365
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
366
366
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
367
|
-
portal?:
|
367
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
368
368
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
369
369
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
370
370
|
closeAfterSelect?: boolean | undefined;
|
@@ -400,7 +400,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
400
400
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
401
401
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
402
402
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
403
|
-
portal?:
|
403
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
404
404
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
405
405
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
406
406
|
closeAfterSelect?: boolean | undefined;
|
@@ -436,7 +436,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
436
436
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
437
437
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
438
438
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
439
|
-
portal?:
|
439
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
440
440
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
441
441
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
442
442
|
closeAfterSelect?: boolean | undefined;
|
@@ -1,11 +1,16 @@
|
|
1
1
|
export declare const config: {
|
2
2
|
defaults: {
|
3
3
|
view: string;
|
4
|
-
size: string;
|
5
|
-
labelPlacement: string;
|
6
4
|
chipView: string;
|
5
|
+
size: string;
|
7
6
|
};
|
8
7
|
variations: {
|
8
|
+
size: {
|
9
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
+
};
|
9
14
|
view: {
|
10
15
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
16
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -18,23 +23,10 @@ export declare const config: {
|
|
18
23
|
black: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
24
|
white: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
25
|
};
|
21
|
-
size: {
|
22
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
|
-
};
|
27
|
-
labelPlacement: {
|
28
|
-
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
|
-
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
30
|
-
};
|
31
26
|
chipView: {
|
32
27
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
33
28
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
34
29
|
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
35
30
|
};
|
36
|
-
disabled: {
|
37
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
38
|
-
};
|
39
31
|
};
|
40
32
|
};
|