@salutejs/sdds-finportal 0.161.1-canary.1517.11744378817.0 → 0.162.0-canary.1550.11768426274.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +56 -49
- package/components/Combobox/Combobox.d.ts +12 -12
- package/components/Combobox/index.d.ts +12 -12
- package/components/Select/Select.config.d.ts +15 -7
- package/components/Select/Select.config.js +29 -21
- package/components/Select/Select.d.ts +42 -35
- package/components/Steps/Steps.config.js +1 -1
- package/es/components/Select/Select.config.js +30 -22
- package/es/components/Steps/Steps.config.js +1 -1
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +56 -49
@@ -90,6 +90,7 @@ 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';
|
93
94
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
94
95
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
95
96
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
@@ -122,16 +123,15 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
122
123
|
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
123
124
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
124
125
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
126
|
+
import { ItemOptionSelect } from '@salutejs/plasma-new-hope/styled-components';
|
125
127
|
import { JSXElementConstructor } from 'react';
|
126
128
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
127
129
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
128
130
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
129
131
|
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
|
130
|
-
import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
|
131
132
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
132
133
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
133
134
|
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';
|
@@ -1066,7 +1066,7 @@ true: PolymorphicClassName;
|
|
1066
1066
|
listOverflow?: Property.Overflow | undefined;
|
1067
1067
|
listHeight?: Property.Height<string | number> | undefined;
|
1068
1068
|
listWidth?: Property.Width<string | number> | undefined;
|
1069
|
-
portal?:
|
1069
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1070
1070
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1071
1071
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1072
1072
|
closeAfterSelect?: boolean | undefined;
|
@@ -1102,7 +1102,7 @@ true: PolymorphicClassName;
|
|
1102
1102
|
listOverflow?: Property.Overflow | undefined;
|
1103
1103
|
listHeight?: Property.Height<string | number> | undefined;
|
1104
1104
|
listWidth?: Property.Width<string | number> | undefined;
|
1105
|
-
portal?:
|
1105
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1106
1106
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1107
1107
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1108
1108
|
closeAfterSelect?: boolean | undefined;
|
@@ -1138,7 +1138,7 @@ true: PolymorphicClassName;
|
|
1138
1138
|
listOverflow?: Property.Overflow | undefined;
|
1139
1139
|
listHeight?: Property.Height<string | number> | undefined;
|
1140
1140
|
listWidth?: Property.Width<string | number> | undefined;
|
1141
|
-
portal?:
|
1141
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1142
1142
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1143
1143
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1144
1144
|
closeAfterSelect?: boolean | undefined;
|
@@ -1174,7 +1174,7 @@ true: PolymorphicClassName;
|
|
1174
1174
|
listOverflow?: Property.Overflow | undefined;
|
1175
1175
|
listHeight?: Property.Height<string | number> | undefined;
|
1176
1176
|
listWidth?: Property.Width<string | number> | undefined;
|
1177
|
-
portal?:
|
1177
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1178
1178
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1179
1179
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1180
1180
|
closeAfterSelect?: boolean | undefined;
|
@@ -1210,7 +1210,7 @@ true: PolymorphicClassName;
|
|
1210
1210
|
listOverflow?: Property.Overflow | undefined;
|
1211
1211
|
listHeight?: Property.Height<string | number> | undefined;
|
1212
1212
|
listWidth?: Property.Width<string | number> | undefined;
|
1213
|
-
portal?:
|
1213
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1214
1214
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1215
1215
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1216
1216
|
closeAfterSelect?: boolean | undefined;
|
@@ -1246,7 +1246,7 @@ true: PolymorphicClassName;
|
|
1246
1246
|
listOverflow?: Property.Overflow | undefined;
|
1247
1247
|
listHeight?: Property.Height<string | number> | undefined;
|
1248
1248
|
listWidth?: Property.Width<string | number> | undefined;
|
1249
|
-
portal?:
|
1249
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1250
1250
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1251
1251
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1252
1252
|
closeAfterSelect?: boolean | undefined;
|
@@ -1282,7 +1282,7 @@ true: PolymorphicClassName;
|
|
1282
1282
|
listOverflow?: Property.Overflow | undefined;
|
1283
1283
|
listHeight?: Property.Height<string | number> | undefined;
|
1284
1284
|
listWidth?: Property.Width<string | number> | undefined;
|
1285
|
-
portal?:
|
1285
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1286
1286
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1287
1287
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1288
1288
|
closeAfterSelect?: boolean | undefined;
|
@@ -1318,7 +1318,7 @@ true: PolymorphicClassName;
|
|
1318
1318
|
listOverflow?: Property.Overflow | undefined;
|
1319
1319
|
listHeight?: Property.Height<string | number> | undefined;
|
1320
1320
|
listWidth?: Property.Width<string | number> | undefined;
|
1321
|
-
portal?:
|
1321
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1322
1322
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1323
1323
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1324
1324
|
closeAfterSelect?: boolean | undefined;
|
@@ -1354,7 +1354,7 @@ true: PolymorphicClassName;
|
|
1354
1354
|
listOverflow?: Property.Overflow | undefined;
|
1355
1355
|
listHeight?: Property.Height<string | number> | undefined;
|
1356
1356
|
listWidth?: Property.Width<string | number> | undefined;
|
1357
|
-
portal?:
|
1357
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1358
1358
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1359
1359
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1360
1360
|
closeAfterSelect?: boolean | undefined;
|
@@ -1390,7 +1390,7 @@ true: PolymorphicClassName;
|
|
1390
1390
|
listOverflow?: Property.Overflow | undefined;
|
1391
1391
|
listHeight?: Property.Height<string | number> | undefined;
|
1392
1392
|
listWidth?: Property.Width<string | number> | undefined;
|
1393
|
-
portal?:
|
1393
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1394
1394
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1395
1395
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1396
1396
|
closeAfterSelect?: boolean | undefined;
|
@@ -1426,7 +1426,7 @@ true: PolymorphicClassName;
|
|
1426
1426
|
listOverflow?: Property.Overflow | undefined;
|
1427
1427
|
listHeight?: Property.Height<string | number> | undefined;
|
1428
1428
|
listWidth?: Property.Width<string | number> | undefined;
|
1429
|
-
portal?:
|
1429
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1430
1430
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1431
1431
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1432
1432
|
closeAfterSelect?: boolean | undefined;
|
@@ -1462,7 +1462,7 @@ true: PolymorphicClassName;
|
|
1462
1462
|
listOverflow?: Property.Overflow | undefined;
|
1463
1463
|
listHeight?: Property.Height<string | number> | undefined;
|
1464
1464
|
listWidth?: Property.Width<string | number> | undefined;
|
1465
|
-
portal?:
|
1465
|
+
portal?: string | RefObject<HTMLElement> | undefined;
|
1466
1466
|
renderItem?: ((item: ItemOption) => ReactNode) | undefined;
|
1467
1467
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1468
1468
|
closeAfterSelect?: boolean | undefined;
|
@@ -3593,13 +3593,7 @@ export { SegmentProvider }
|
|
3593
3593
|
export { SegmentProviderProps }
|
3594
3594
|
|
3595
3595
|
// @public (undocumented)
|
3596
|
-
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps
|
3597
|
-
size: {
|
3598
|
-
xs: PolymorphicClassName;
|
3599
|
-
s: PolymorphicClassName;
|
3600
|
-
m: PolymorphicClassName;
|
3601
|
-
l: PolymorphicClassName;
|
3602
|
-
};
|
3596
|
+
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps<ItemOptionSelect>, "view" | "size" | "chipView"> & Pick<PropsType< {
|
3603
3597
|
view: {
|
3604
3598
|
default: PolymorphicClassName;
|
3605
3599
|
positive: PolymorphicClassName;
|
@@ -3612,11 +3606,24 @@ dark: PolymorphicClassName;
|
|
3612
3606
|
black: PolymorphicClassName;
|
3613
3607
|
white: PolymorphicClassName;
|
3614
3608
|
};
|
3609
|
+
size: {
|
3610
|
+
l: PolymorphicClassName;
|
3611
|
+
m: PolymorphicClassName;
|
3612
|
+
s: PolymorphicClassName;
|
3613
|
+
xs: PolymorphicClassName;
|
3614
|
+
};
|
3615
|
+
labelPlacement: {
|
3616
|
+
inner: PolymorphicClassName;
|
3617
|
+
outer: PolymorphicClassName;
|
3618
|
+
};
|
3615
3619
|
chipView: {
|
3616
3620
|
default: PolymorphicClassName;
|
3617
3621
|
secondary: PolymorphicClassName;
|
3618
3622
|
accent: PolymorphicClassName;
|
3619
3623
|
};
|
3624
|
+
disabled: {
|
3625
|
+
true: PolymorphicClassName;
|
3626
|
+
};
|
3620
3627
|
}> & (({
|
3621
3628
|
target?: "textfield-like" | undefined;
|
3622
3629
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
@@ -3628,7 +3635,7 @@ accent: PolymorphicClassName;
|
|
3628
3635
|
multiselect?: false | undefined;
|
3629
3636
|
separator?: undefined;
|
3630
3637
|
} & {
|
3631
|
-
value
|
3638
|
+
value?: any;
|
3632
3639
|
onChange?: ((value: any) => void) | undefined;
|
3633
3640
|
listOverflow?: Property.Overflow | undefined;
|
3634
3641
|
listHeight?: Property.Height<string | number> | undefined;
|
@@ -3636,21 +3643,21 @@ accent: PolymorphicClassName;
|
|
3636
3643
|
placeholder?: string | undefined;
|
3637
3644
|
helperText?: string | undefined;
|
3638
3645
|
disabled?: boolean | undefined;
|
3639
|
-
items?:
|
3640
|
-
onItemSelect?: ((e:
|
3646
|
+
items?: DropdownNodeSelect[] | undefined;
|
3647
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3641
3648
|
hasItems?: boolean | undefined;
|
3642
3649
|
children?: undefined;
|
3643
3650
|
isOpen?: boolean | undefined;
|
3644
3651
|
isTargetAmount?: boolean | undefined;
|
3645
|
-
renderTarget?: ((item:
|
3646
|
-
placement?: ("
|
3652
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3653
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3647
3654
|
label?: string | undefined;
|
3648
3655
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3649
3656
|
variant?: "normal" | "tight" | undefined;
|
3650
3657
|
listWidth?: Property.Width<string | number> | undefined;
|
3651
3658
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3652
|
-
renderValue?: ((item:
|
3653
|
-
renderItem?: ((item:
|
3659
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3660
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3654
3661
|
closeAfterSelect?: boolean | undefined;
|
3655
3662
|
size?: string | undefined;
|
3656
3663
|
view?: string | undefined;
|
@@ -3666,7 +3673,7 @@ accent: PolymorphicClassName;
|
|
3666
3673
|
multiselect?: true | undefined;
|
3667
3674
|
separator?: string | undefined;
|
3668
3675
|
} & {
|
3669
|
-
value
|
3676
|
+
value?: any;
|
3670
3677
|
onChange?: ((value: any) => void) | undefined;
|
3671
3678
|
listOverflow?: Property.Overflow | undefined;
|
3672
3679
|
listHeight?: Property.Height<string | number> | undefined;
|
@@ -3674,21 +3681,21 @@ accent: PolymorphicClassName;
|
|
3674
3681
|
placeholder?: string | undefined;
|
3675
3682
|
helperText?: string | undefined;
|
3676
3683
|
disabled?: boolean | undefined;
|
3677
|
-
items?:
|
3678
|
-
onItemSelect?: ((e:
|
3684
|
+
items?: DropdownNodeSelect[] | undefined;
|
3685
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3679
3686
|
hasItems?: boolean | undefined;
|
3680
3687
|
children?: undefined;
|
3681
3688
|
isOpen?: boolean | undefined;
|
3682
3689
|
isTargetAmount?: boolean | undefined;
|
3683
|
-
renderTarget?: ((item:
|
3684
|
-
placement?: ("
|
3690
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3691
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3685
3692
|
label?: string | undefined;
|
3686
3693
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3687
3694
|
variant?: "normal" | "tight" | undefined;
|
3688
3695
|
listWidth?: Property.Width<string | number> | undefined;
|
3689
3696
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3690
|
-
renderValue?: ((item:
|
3691
|
-
renderItem?: ((item:
|
3697
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3698
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3692
3699
|
closeAfterSelect?: boolean | undefined;
|
3693
3700
|
size?: string | undefined;
|
3694
3701
|
view?: string | undefined;
|
@@ -3704,7 +3711,7 @@ accent: PolymorphicClassName;
|
|
3704
3711
|
multiselect?: false | undefined;
|
3705
3712
|
separator?: undefined;
|
3706
3713
|
} & {
|
3707
|
-
value
|
3714
|
+
value?: any;
|
3708
3715
|
onChange?: ((value: any) => void) | undefined;
|
3709
3716
|
listOverflow?: Property.Overflow | undefined;
|
3710
3717
|
listHeight?: Property.Height<string | number> | undefined;
|
@@ -3712,21 +3719,21 @@ accent: PolymorphicClassName;
|
|
3712
3719
|
placeholder?: string | undefined;
|
3713
3720
|
helperText?: string | undefined;
|
3714
3721
|
disabled?: boolean | undefined;
|
3715
|
-
items?:
|
3716
|
-
onItemSelect?: ((e:
|
3722
|
+
items?: DropdownNodeSelect[] | undefined;
|
3723
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3717
3724
|
hasItems?: boolean | undefined;
|
3718
3725
|
children?: undefined;
|
3719
3726
|
isOpen?: boolean | undefined;
|
3720
3727
|
isTargetAmount?: boolean | undefined;
|
3721
|
-
renderTarget?: ((item:
|
3722
|
-
placement?: ("
|
3728
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3729
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3723
3730
|
label?: string | undefined;
|
3724
3731
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3725
3732
|
variant?: "normal" | "tight" | undefined;
|
3726
3733
|
listWidth?: Property.Width<string | number> | undefined;
|
3727
3734
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3728
|
-
renderValue?: ((item:
|
3729
|
-
renderItem?: ((item:
|
3735
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3736
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3730
3737
|
closeAfterSelect?: boolean | undefined;
|
3731
3738
|
size?: string | undefined;
|
3732
3739
|
view?: string | undefined;
|
@@ -3742,7 +3749,7 @@ accent: PolymorphicClassName;
|
|
3742
3749
|
multiselect?: true | undefined;
|
3743
3750
|
separator?: string | undefined;
|
3744
3751
|
} & {
|
3745
|
-
value
|
3752
|
+
value?: any;
|
3746
3753
|
onChange?: ((value: any) => void) | undefined;
|
3747
3754
|
listOverflow?: Property.Overflow | undefined;
|
3748
3755
|
listHeight?: Property.Height<string | number> | undefined;
|
@@ -3750,21 +3757,21 @@ accent: PolymorphicClassName;
|
|
3750
3757
|
placeholder?: string | undefined;
|
3751
3758
|
helperText?: string | undefined;
|
3752
3759
|
disabled?: boolean | undefined;
|
3753
|
-
items?:
|
3754
|
-
onItemSelect?: ((e:
|
3760
|
+
items?: DropdownNodeSelect[] | undefined;
|
3761
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3755
3762
|
hasItems?: boolean | undefined;
|
3756
3763
|
children?: undefined;
|
3757
3764
|
isOpen?: boolean | undefined;
|
3758
3765
|
isTargetAmount?: boolean | undefined;
|
3759
|
-
renderTarget?: ((item:
|
3760
|
-
placement?: ("
|
3766
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3767
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3761
3768
|
label?: string | undefined;
|
3762
3769
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3763
3770
|
variant?: "normal" | "tight" | undefined;
|
3764
3771
|
listWidth?: Property.Width<string | number> | undefined;
|
3765
3772
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3766
|
-
renderValue?: ((item:
|
3767
|
-
renderItem?: ((item:
|
3773
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3774
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3768
3775
|
closeAfterSelect?: boolean | undefined;
|
3769
3776
|
size?: string | undefined;
|
3770
3777
|
view?: string | undefined;
|