@salutejs/sdds-finportal 0.162.0-canary.1550.11767527974.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 +23 -23
- package/components/Select/Select.d.ts +21 -21
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +23 -23
@@ -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,13 +123,12 @@ 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';
|
125
|
-
import {
|
126
|
+
import { ItemOptionSelect } from '@salutejs/plasma-new-hope/styled-components';
|
126
127
|
import { JSXElementConstructor } from 'react';
|
127
128
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
128
129
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
129
130
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
130
131
|
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
|
131
|
-
import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
|
132
132
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
133
133
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
134
134
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
@@ -3593,7 +3593,7 @@ export { SegmentProvider }
|
|
3593
3593
|
export { SegmentProviderProps }
|
3594
3594
|
|
3595
3595
|
// @public (undocumented)
|
3596
|
-
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps<
|
3596
|
+
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps<ItemOptionSelect>, "view" | "size" | "chipView"> & Pick<PropsType< {
|
3597
3597
|
view: {
|
3598
3598
|
default: PolymorphicClassName;
|
3599
3599
|
positive: PolymorphicClassName;
|
@@ -3643,21 +3643,21 @@ true: PolymorphicClassName;
|
|
3643
3643
|
placeholder?: string | undefined;
|
3644
3644
|
helperText?: string | undefined;
|
3645
3645
|
disabled?: boolean | undefined;
|
3646
|
-
items?:
|
3647
|
-
onItemSelect?: ((e:
|
3646
|
+
items?: DropdownNodeSelect[] | undefined;
|
3647
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3648
3648
|
hasItems?: boolean | undefined;
|
3649
3649
|
children?: undefined;
|
3650
3650
|
isOpen?: boolean | undefined;
|
3651
3651
|
isTargetAmount?: boolean | undefined;
|
3652
|
-
renderTarget?: ((item:
|
3652
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3653
3653
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3654
3654
|
label?: string | undefined;
|
3655
3655
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3656
3656
|
variant?: "normal" | "tight" | undefined;
|
3657
3657
|
listWidth?: Property.Width<string | number> | undefined;
|
3658
3658
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3659
|
-
renderValue?: ((item:
|
3660
|
-
renderItem?: ((item:
|
3659
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3660
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3661
3661
|
closeAfterSelect?: boolean | undefined;
|
3662
3662
|
size?: string | undefined;
|
3663
3663
|
view?: string | undefined;
|
@@ -3681,21 +3681,21 @@ true: PolymorphicClassName;
|
|
3681
3681
|
placeholder?: string | undefined;
|
3682
3682
|
helperText?: string | undefined;
|
3683
3683
|
disabled?: boolean | undefined;
|
3684
|
-
items?:
|
3685
|
-
onItemSelect?: ((e:
|
3684
|
+
items?: DropdownNodeSelect[] | undefined;
|
3685
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3686
3686
|
hasItems?: boolean | undefined;
|
3687
3687
|
children?: undefined;
|
3688
3688
|
isOpen?: boolean | undefined;
|
3689
3689
|
isTargetAmount?: boolean | undefined;
|
3690
|
-
renderTarget?: ((item:
|
3690
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3691
3691
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3692
3692
|
label?: string | undefined;
|
3693
3693
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3694
3694
|
variant?: "normal" | "tight" | undefined;
|
3695
3695
|
listWidth?: Property.Width<string | number> | undefined;
|
3696
3696
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3697
|
-
renderValue?: ((item:
|
3698
|
-
renderItem?: ((item:
|
3697
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3698
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3699
3699
|
closeAfterSelect?: boolean | undefined;
|
3700
3700
|
size?: string | undefined;
|
3701
3701
|
view?: string | undefined;
|
@@ -3719,21 +3719,21 @@ true: PolymorphicClassName;
|
|
3719
3719
|
placeholder?: string | undefined;
|
3720
3720
|
helperText?: string | undefined;
|
3721
3721
|
disabled?: boolean | undefined;
|
3722
|
-
items?:
|
3723
|
-
onItemSelect?: ((e:
|
3722
|
+
items?: DropdownNodeSelect[] | undefined;
|
3723
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3724
3724
|
hasItems?: boolean | undefined;
|
3725
3725
|
children?: undefined;
|
3726
3726
|
isOpen?: boolean | undefined;
|
3727
3727
|
isTargetAmount?: boolean | undefined;
|
3728
|
-
renderTarget?: ((item:
|
3728
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3729
3729
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3730
3730
|
label?: string | undefined;
|
3731
3731
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3732
3732
|
variant?: "normal" | "tight" | undefined;
|
3733
3733
|
listWidth?: Property.Width<string | number> | undefined;
|
3734
3734
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3735
|
-
renderValue?: ((item:
|
3736
|
-
renderItem?: ((item:
|
3735
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3736
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3737
3737
|
closeAfterSelect?: boolean | undefined;
|
3738
3738
|
size?: string | undefined;
|
3739
3739
|
view?: string | undefined;
|
@@ -3757,21 +3757,21 @@ true: PolymorphicClassName;
|
|
3757
3757
|
placeholder?: string | undefined;
|
3758
3758
|
helperText?: string | undefined;
|
3759
3759
|
disabled?: boolean | undefined;
|
3760
|
-
items?:
|
3761
|
-
onItemSelect?: ((e:
|
3760
|
+
items?: DropdownNodeSelect[] | undefined;
|
3761
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3762
3762
|
hasItems?: boolean | undefined;
|
3763
3763
|
children?: undefined;
|
3764
3764
|
isOpen?: boolean | undefined;
|
3765
3765
|
isTargetAmount?: boolean | undefined;
|
3766
|
-
renderTarget?: ((item:
|
3766
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3767
3767
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3768
3768
|
label?: string | undefined;
|
3769
3769
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3770
3770
|
variant?: "normal" | "tight" | undefined;
|
3771
3771
|
listWidth?: Property.Width<string | number> | undefined;
|
3772
3772
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3773
|
-
renderValue?: ((item:
|
3774
|
-
renderItem?: ((item:
|
3773
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3774
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3775
3775
|
closeAfterSelect?: boolean | undefined;
|
3776
3776
|
size?: string | undefined;
|
3777
3777
|
view?: string | undefined;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { SelectProps as SelectPropsNewHope } from '@salutejs/plasma-new-hope/styled-components';
|
2
2
|
import React from 'react';
|
3
|
-
declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<import("@salutejs/plasma-new-hope/
|
3
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<import("@salutejs/plasma-new-hope/styled-components").ItemOptionSelect>, "view" | "size" | "chipView"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
4
4
|
view: {
|
5
5
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
6
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -50,21 +50,21 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<im
|
|
50
50
|
placeholder?: string | undefined;
|
51
51
|
helperText?: string | undefined;
|
52
52
|
disabled?: boolean | undefined;
|
53
|
-
items?: import("@salutejs/plasma-new-hope/
|
54
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
53
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
54
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
55
55
|
hasItems?: boolean | undefined;
|
56
56
|
children?: undefined;
|
57
57
|
isOpen?: boolean | undefined;
|
58
58
|
isTargetAmount?: boolean | undefined;
|
59
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
59
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
60
60
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
61
61
|
label?: string | undefined;
|
62
62
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
63
63
|
variant?: "normal" | "tight" | undefined;
|
64
64
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
65
65
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
66
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
67
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
66
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
67
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
68
68
|
closeAfterSelect?: boolean | undefined;
|
69
69
|
size?: string | undefined;
|
70
70
|
view?: string | undefined;
|
@@ -88,21 +88,21 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<im
|
|
88
88
|
placeholder?: string | undefined;
|
89
89
|
helperText?: string | undefined;
|
90
90
|
disabled?: boolean | undefined;
|
91
|
-
items?: import("@salutejs/plasma-new-hope/
|
92
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
91
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
92
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
93
93
|
hasItems?: boolean | undefined;
|
94
94
|
children?: undefined;
|
95
95
|
isOpen?: boolean | undefined;
|
96
96
|
isTargetAmount?: boolean | undefined;
|
97
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
97
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
98
98
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
99
99
|
label?: string | undefined;
|
100
100
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
101
101
|
variant?: "normal" | "tight" | undefined;
|
102
102
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
103
103
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
104
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
105
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
104
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
105
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
106
106
|
closeAfterSelect?: boolean | undefined;
|
107
107
|
size?: string | undefined;
|
108
108
|
view?: string | undefined;
|
@@ -126,21 +126,21 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<im
|
|
126
126
|
placeholder?: string | undefined;
|
127
127
|
helperText?: string | undefined;
|
128
128
|
disabled?: boolean | undefined;
|
129
|
-
items?: import("@salutejs/plasma-new-hope/
|
130
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
129
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
130
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
131
131
|
hasItems?: boolean | undefined;
|
132
132
|
children?: undefined;
|
133
133
|
isOpen?: boolean | undefined;
|
134
134
|
isTargetAmount?: boolean | undefined;
|
135
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
135
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
136
136
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
137
137
|
label?: string | undefined;
|
138
138
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
139
139
|
variant?: "normal" | "tight" | undefined;
|
140
140
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
141
141
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
142
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
143
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
142
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
143
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
144
144
|
closeAfterSelect?: boolean | undefined;
|
145
145
|
size?: string | undefined;
|
146
146
|
view?: string | undefined;
|
@@ -164,21 +164,21 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<im
|
|
164
164
|
placeholder?: string | undefined;
|
165
165
|
helperText?: string | undefined;
|
166
166
|
disabled?: boolean | undefined;
|
167
|
-
items?: import("@salutejs/plasma-new-hope/
|
168
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
167
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
168
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
169
169
|
hasItems?: boolean | undefined;
|
170
170
|
children?: undefined;
|
171
171
|
isOpen?: boolean | undefined;
|
172
172
|
isTargetAmount?: boolean | undefined;
|
173
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
173
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
174
174
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
175
175
|
label?: string | undefined;
|
176
176
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
177
177
|
variant?: "normal" | "tight" | undefined;
|
178
178
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
179
179
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
180
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
181
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
180
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
181
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
182
182
|
closeAfterSelect?: boolean | undefined;
|
183
183
|
size?: string | undefined;
|
184
184
|
view?: string | undefined;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.162.0-canary.1550.
|
3
|
+
"version": "0.162.0-canary.1550.11768426274.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS FinPortal web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"directory": "packages/sdds-finportal"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "0.188.0-canary.1550.
|
22
|
+
"@salutejs/plasma-new-hope": "0.188.0-canary.1550.11768426274.0",
|
23
23
|
"@salutejs/sdds-themes": "0.27.0-dev.0"
|
24
24
|
},
|
25
25
|
"peerDependencies": {
|
@@ -94,5 +94,5 @@
|
|
94
94
|
"Vasiliy Loginevskiy"
|
95
95
|
],
|
96
96
|
"sideEffects": false,
|
97
|
-
"gitHead": "
|
97
|
+
"gitHead": "672caec6e79a96241f2983779d5420d91f7a54d6"
|
98
98
|
}
|
@@ -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,13 +123,12 @@ 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';
|
125
|
-
import {
|
126
|
+
import { ItemOptionSelect } from '@salutejs/plasma-new-hope/styled-components';
|
126
127
|
import { JSXElementConstructor } from 'react';
|
127
128
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
128
129
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
129
130
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
130
131
|
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
|
131
|
-
import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
|
132
132
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
133
133
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
134
134
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
@@ -3593,7 +3593,7 @@ export { SegmentProvider }
|
|
3593
3593
|
export { SegmentProviderProps }
|
3594
3594
|
|
3595
3595
|
// @public (undocumented)
|
3596
|
-
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps<
|
3596
|
+
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps<ItemOptionSelect>, "view" | "size" | "chipView"> & Pick<PropsType< {
|
3597
3597
|
view: {
|
3598
3598
|
default: PolymorphicClassName;
|
3599
3599
|
positive: PolymorphicClassName;
|
@@ -3643,21 +3643,21 @@ true: PolymorphicClassName;
|
|
3643
3643
|
placeholder?: string | undefined;
|
3644
3644
|
helperText?: string | undefined;
|
3645
3645
|
disabled?: boolean | undefined;
|
3646
|
-
items?:
|
3647
|
-
onItemSelect?: ((e:
|
3646
|
+
items?: DropdownNodeSelect[] | undefined;
|
3647
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3648
3648
|
hasItems?: boolean | undefined;
|
3649
3649
|
children?: undefined;
|
3650
3650
|
isOpen?: boolean | undefined;
|
3651
3651
|
isTargetAmount?: boolean | undefined;
|
3652
|
-
renderTarget?: ((item:
|
3652
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3653
3653
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3654
3654
|
label?: string | undefined;
|
3655
3655
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3656
3656
|
variant?: "normal" | "tight" | undefined;
|
3657
3657
|
listWidth?: Property.Width<string | number> | undefined;
|
3658
3658
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3659
|
-
renderValue?: ((item:
|
3660
|
-
renderItem?: ((item:
|
3659
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3660
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3661
3661
|
closeAfterSelect?: boolean | undefined;
|
3662
3662
|
size?: string | undefined;
|
3663
3663
|
view?: string | undefined;
|
@@ -3681,21 +3681,21 @@ true: PolymorphicClassName;
|
|
3681
3681
|
placeholder?: string | undefined;
|
3682
3682
|
helperText?: string | undefined;
|
3683
3683
|
disabled?: boolean | undefined;
|
3684
|
-
items?:
|
3685
|
-
onItemSelect?: ((e:
|
3684
|
+
items?: DropdownNodeSelect[] | undefined;
|
3685
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3686
3686
|
hasItems?: boolean | undefined;
|
3687
3687
|
children?: undefined;
|
3688
3688
|
isOpen?: boolean | undefined;
|
3689
3689
|
isTargetAmount?: boolean | undefined;
|
3690
|
-
renderTarget?: ((item:
|
3690
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3691
3691
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3692
3692
|
label?: string | undefined;
|
3693
3693
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3694
3694
|
variant?: "normal" | "tight" | undefined;
|
3695
3695
|
listWidth?: Property.Width<string | number> | undefined;
|
3696
3696
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3697
|
-
renderValue?: ((item:
|
3698
|
-
renderItem?: ((item:
|
3697
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3698
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3699
3699
|
closeAfterSelect?: boolean | undefined;
|
3700
3700
|
size?: string | undefined;
|
3701
3701
|
view?: string | undefined;
|
@@ -3719,21 +3719,21 @@ true: PolymorphicClassName;
|
|
3719
3719
|
placeholder?: string | undefined;
|
3720
3720
|
helperText?: string | undefined;
|
3721
3721
|
disabled?: boolean | undefined;
|
3722
|
-
items?:
|
3723
|
-
onItemSelect?: ((e:
|
3722
|
+
items?: DropdownNodeSelect[] | undefined;
|
3723
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3724
3724
|
hasItems?: boolean | undefined;
|
3725
3725
|
children?: undefined;
|
3726
3726
|
isOpen?: boolean | undefined;
|
3727
3727
|
isTargetAmount?: boolean | undefined;
|
3728
|
-
renderTarget?: ((item:
|
3728
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3729
3729
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3730
3730
|
label?: string | undefined;
|
3731
3731
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3732
3732
|
variant?: "normal" | "tight" | undefined;
|
3733
3733
|
listWidth?: Property.Width<string | number> | undefined;
|
3734
3734
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3735
|
-
renderValue?: ((item:
|
3736
|
-
renderItem?: ((item:
|
3735
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3736
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3737
3737
|
closeAfterSelect?: boolean | undefined;
|
3738
3738
|
size?: string | undefined;
|
3739
3739
|
view?: string | undefined;
|
@@ -3757,21 +3757,21 @@ true: PolymorphicClassName;
|
|
3757
3757
|
placeholder?: string | undefined;
|
3758
3758
|
helperText?: string | undefined;
|
3759
3759
|
disabled?: boolean | undefined;
|
3760
|
-
items?:
|
3761
|
-
onItemSelect?: ((e:
|
3760
|
+
items?: DropdownNodeSelect[] | undefined;
|
3761
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3762
3762
|
hasItems?: boolean | undefined;
|
3763
3763
|
children?: undefined;
|
3764
3764
|
isOpen?: boolean | undefined;
|
3765
3765
|
isTargetAmount?: boolean | undefined;
|
3766
|
-
renderTarget?: ((item:
|
3766
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3767
3767
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3768
3768
|
label?: string | undefined;
|
3769
3769
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3770
3770
|
variant?: "normal" | "tight" | undefined;
|
3771
3771
|
listWidth?: Property.Width<string | number> | undefined;
|
3772
3772
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3773
|
-
renderValue?: ((item:
|
3774
|
-
renderItem?: ((item:
|
3773
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3774
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3775
3775
|
closeAfterSelect?: boolean | undefined;
|
3776
3776
|
size?: string | undefined;
|
3777
3777
|
view?: string | undefined;
|