@salutejs/sdds-dfa 0.168.0-canary.1550.11767527974.0 → 0.168.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-dfa.api.md +23 -23
- package/components/Select/Select.d.ts +21 -21
- package/package.json +3 -3
- package/temp/sdds-dfa.api.md +23 -23
package/api/sdds-dfa.api.md
CHANGED
@@ -86,6 +86,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
86
86
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
87
87
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
88
88
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
89
|
+
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
89
90
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
90
91
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
91
92
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
@@ -118,13 +119,12 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
118
119
|
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
119
120
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
120
121
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
121
|
-
import {
|
122
|
+
import { ItemOptionSelect } from '@salutejs/plasma-new-hope/styled-components';
|
122
123
|
import { JSXElementConstructor } from 'react';
|
123
124
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
124
125
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
125
126
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
126
127
|
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
|
127
|
-
import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
|
128
128
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
129
129
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
130
130
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
@@ -3497,7 +3497,7 @@ export { SegmentProvider }
|
|
3497
3497
|
export { SegmentProviderProps }
|
3498
3498
|
|
3499
3499
|
// @public (undocumented)
|
3500
|
-
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps<
|
3500
|
+
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps<ItemOptionSelect>, "view" | "size" | "chipView"> & Pick<PropsType< {
|
3501
3501
|
view: {
|
3502
3502
|
default: PolymorphicClassName;
|
3503
3503
|
positive: PolymorphicClassName;
|
@@ -3547,21 +3547,21 @@ true: PolymorphicClassName;
|
|
3547
3547
|
placeholder?: string | undefined;
|
3548
3548
|
helperText?: string | undefined;
|
3549
3549
|
disabled?: boolean | undefined;
|
3550
|
-
items?:
|
3551
|
-
onItemSelect?: ((e:
|
3550
|
+
items?: DropdownNodeSelect[] | undefined;
|
3551
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3552
3552
|
hasItems?: boolean | undefined;
|
3553
3553
|
children?: undefined;
|
3554
3554
|
isOpen?: boolean | undefined;
|
3555
3555
|
isTargetAmount?: boolean | undefined;
|
3556
|
-
renderTarget?: ((item:
|
3556
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3557
3557
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3558
3558
|
label?: string | undefined;
|
3559
3559
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3560
3560
|
variant?: "normal" | "tight" | undefined;
|
3561
3561
|
listWidth?: Property.Width<string | number> | undefined;
|
3562
3562
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3563
|
-
renderValue?: ((item:
|
3564
|
-
renderItem?: ((item:
|
3563
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3564
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3565
3565
|
closeAfterSelect?: boolean | undefined;
|
3566
3566
|
size?: string | undefined;
|
3567
3567
|
view?: string | undefined;
|
@@ -3585,21 +3585,21 @@ true: PolymorphicClassName;
|
|
3585
3585
|
placeholder?: string | undefined;
|
3586
3586
|
helperText?: string | undefined;
|
3587
3587
|
disabled?: boolean | undefined;
|
3588
|
-
items?:
|
3589
|
-
onItemSelect?: ((e:
|
3588
|
+
items?: DropdownNodeSelect[] | undefined;
|
3589
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3590
3590
|
hasItems?: boolean | undefined;
|
3591
3591
|
children?: undefined;
|
3592
3592
|
isOpen?: boolean | undefined;
|
3593
3593
|
isTargetAmount?: boolean | undefined;
|
3594
|
-
renderTarget?: ((item:
|
3594
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3595
3595
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3596
3596
|
label?: string | undefined;
|
3597
3597
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3598
3598
|
variant?: "normal" | "tight" | undefined;
|
3599
3599
|
listWidth?: Property.Width<string | number> | undefined;
|
3600
3600
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3601
|
-
renderValue?: ((item:
|
3602
|
-
renderItem?: ((item:
|
3601
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3602
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3603
3603
|
closeAfterSelect?: boolean | undefined;
|
3604
3604
|
size?: string | undefined;
|
3605
3605
|
view?: string | undefined;
|
@@ -3623,21 +3623,21 @@ true: PolymorphicClassName;
|
|
3623
3623
|
placeholder?: string | undefined;
|
3624
3624
|
helperText?: string | undefined;
|
3625
3625
|
disabled?: boolean | undefined;
|
3626
|
-
items?:
|
3627
|
-
onItemSelect?: ((e:
|
3626
|
+
items?: DropdownNodeSelect[] | undefined;
|
3627
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3628
3628
|
hasItems?: boolean | undefined;
|
3629
3629
|
children?: undefined;
|
3630
3630
|
isOpen?: boolean | undefined;
|
3631
3631
|
isTargetAmount?: boolean | undefined;
|
3632
|
-
renderTarget?: ((item:
|
3632
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3633
3633
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3634
3634
|
label?: string | undefined;
|
3635
3635
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3636
3636
|
variant?: "normal" | "tight" | undefined;
|
3637
3637
|
listWidth?: Property.Width<string | number> | undefined;
|
3638
3638
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3639
|
-
renderValue?: ((item:
|
3640
|
-
renderItem?: ((item:
|
3639
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3640
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3641
3641
|
closeAfterSelect?: boolean | undefined;
|
3642
3642
|
size?: string | undefined;
|
3643
3643
|
view?: string | undefined;
|
@@ -3661,21 +3661,21 @@ true: PolymorphicClassName;
|
|
3661
3661
|
placeholder?: string | undefined;
|
3662
3662
|
helperText?: string | undefined;
|
3663
3663
|
disabled?: boolean | undefined;
|
3664
|
-
items?:
|
3665
|
-
onItemSelect?: ((e:
|
3664
|
+
items?: DropdownNodeSelect[] | undefined;
|
3665
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3666
3666
|
hasItems?: boolean | undefined;
|
3667
3667
|
children?: undefined;
|
3668
3668
|
isOpen?: boolean | undefined;
|
3669
3669
|
isTargetAmount?: boolean | undefined;
|
3670
|
-
renderTarget?: ((item:
|
3670
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3671
3671
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3672
3672
|
label?: string | undefined;
|
3673
3673
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3674
3674
|
variant?: "normal" | "tight" | undefined;
|
3675
3675
|
listWidth?: Property.Width<string | number> | undefined;
|
3676
3676
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3677
|
-
renderValue?: ((item:
|
3678
|
-
renderItem?: ((item:
|
3677
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3678
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3679
3679
|
closeAfterSelect?: boolean | undefined;
|
3680
3680
|
size?: string | undefined;
|
3681
3681
|
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-dfa",
|
3
|
-
"version": "0.168.0-canary.1550.
|
3
|
+
"version": "0.168.0-canary.1550.11768426274.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS DFA 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-dfa"
|
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": {
|
@@ -95,5 +95,5 @@
|
|
95
95
|
"Anton Vinogradov"
|
96
96
|
],
|
97
97
|
"sideEffects": false,
|
98
|
-
"gitHead": "
|
98
|
+
"gitHead": "672caec6e79a96241f2983779d5420d91f7a54d6"
|
99
99
|
}
|
package/temp/sdds-dfa.api.md
CHANGED
@@ -86,6 +86,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
86
86
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
87
87
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
88
88
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
89
|
+
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
89
90
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
90
91
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
91
92
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
@@ -118,13 +119,12 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
118
119
|
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
|
119
120
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
|
120
121
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
121
|
-
import {
|
122
|
+
import { ItemOptionSelect } from '@salutejs/plasma-new-hope/styled-components';
|
122
123
|
import { JSXElementConstructor } from 'react';
|
123
124
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
124
125
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
125
126
|
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
126
127
|
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
|
127
|
-
import { MergedDropdownNode } from '@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types';
|
128
128
|
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
|
129
129
|
import { ModalProps } from '@salutejs/plasma-new-hope/styled-components';
|
130
130
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
@@ -3497,7 +3497,7 @@ export { SegmentProvider }
|
|
3497
3497
|
export { SegmentProviderProps }
|
3498
3498
|
|
3499
3499
|
// @public (undocumented)
|
3500
|
-
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps<
|
3500
|
+
export const Select: React_2.ForwardRefExoticComponent<Omit<SelectProps<ItemOptionSelect>, "view" | "size" | "chipView"> & Pick<PropsType< {
|
3501
3501
|
view: {
|
3502
3502
|
default: PolymorphicClassName;
|
3503
3503
|
positive: PolymorphicClassName;
|
@@ -3547,21 +3547,21 @@ true: PolymorphicClassName;
|
|
3547
3547
|
placeholder?: string | undefined;
|
3548
3548
|
helperText?: string | undefined;
|
3549
3549
|
disabled?: boolean | undefined;
|
3550
|
-
items?:
|
3551
|
-
onItemSelect?: ((e:
|
3550
|
+
items?: DropdownNodeSelect[] | undefined;
|
3551
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3552
3552
|
hasItems?: boolean | undefined;
|
3553
3553
|
children?: undefined;
|
3554
3554
|
isOpen?: boolean | undefined;
|
3555
3555
|
isTargetAmount?: boolean | undefined;
|
3556
|
-
renderTarget?: ((item:
|
3556
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3557
3557
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3558
3558
|
label?: string | undefined;
|
3559
3559
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3560
3560
|
variant?: "normal" | "tight" | undefined;
|
3561
3561
|
listWidth?: Property.Width<string | number> | undefined;
|
3562
3562
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3563
|
-
renderValue?: ((item:
|
3564
|
-
renderItem?: ((item:
|
3563
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3564
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3565
3565
|
closeAfterSelect?: boolean | undefined;
|
3566
3566
|
size?: string | undefined;
|
3567
3567
|
view?: string | undefined;
|
@@ -3585,21 +3585,21 @@ true: PolymorphicClassName;
|
|
3585
3585
|
placeholder?: string | undefined;
|
3586
3586
|
helperText?: string | undefined;
|
3587
3587
|
disabled?: boolean | undefined;
|
3588
|
-
items?:
|
3589
|
-
onItemSelect?: ((e:
|
3588
|
+
items?: DropdownNodeSelect[] | undefined;
|
3589
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3590
3590
|
hasItems?: boolean | undefined;
|
3591
3591
|
children?: undefined;
|
3592
3592
|
isOpen?: boolean | undefined;
|
3593
3593
|
isTargetAmount?: boolean | undefined;
|
3594
|
-
renderTarget?: ((item:
|
3594
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3595
3595
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3596
3596
|
label?: string | undefined;
|
3597
3597
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3598
3598
|
variant?: "normal" | "tight" | undefined;
|
3599
3599
|
listWidth?: Property.Width<string | number> | undefined;
|
3600
3600
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3601
|
-
renderValue?: ((item:
|
3602
|
-
renderItem?: ((item:
|
3601
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3602
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3603
3603
|
closeAfterSelect?: boolean | undefined;
|
3604
3604
|
size?: string | undefined;
|
3605
3605
|
view?: string | undefined;
|
@@ -3623,21 +3623,21 @@ true: PolymorphicClassName;
|
|
3623
3623
|
placeholder?: string | undefined;
|
3624
3624
|
helperText?: string | undefined;
|
3625
3625
|
disabled?: boolean | undefined;
|
3626
|
-
items?:
|
3627
|
-
onItemSelect?: ((e:
|
3626
|
+
items?: DropdownNodeSelect[] | undefined;
|
3627
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3628
3628
|
hasItems?: boolean | undefined;
|
3629
3629
|
children?: undefined;
|
3630
3630
|
isOpen?: boolean | undefined;
|
3631
3631
|
isTargetAmount?: boolean | undefined;
|
3632
|
-
renderTarget?: ((item:
|
3632
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3633
3633
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3634
3634
|
label?: string | undefined;
|
3635
3635
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3636
3636
|
variant?: "normal" | "tight" | undefined;
|
3637
3637
|
listWidth?: Property.Width<string | number> | undefined;
|
3638
3638
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3639
|
-
renderValue?: ((item:
|
3640
|
-
renderItem?: ((item:
|
3639
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3640
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3641
3641
|
closeAfterSelect?: boolean | undefined;
|
3642
3642
|
size?: string | undefined;
|
3643
3643
|
view?: string | undefined;
|
@@ -3661,21 +3661,21 @@ true: PolymorphicClassName;
|
|
3661
3661
|
placeholder?: string | undefined;
|
3662
3662
|
helperText?: string | undefined;
|
3663
3663
|
disabled?: boolean | undefined;
|
3664
|
-
items?:
|
3665
|
-
onItemSelect?: ((e:
|
3664
|
+
items?: DropdownNodeSelect[] | undefined;
|
3665
|
+
onItemSelect?: ((e: DropdownNodeSelect, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
3666
3666
|
hasItems?: boolean | undefined;
|
3667
3667
|
children?: undefined;
|
3668
3668
|
isOpen?: boolean | undefined;
|
3669
3669
|
isTargetAmount?: boolean | undefined;
|
3670
|
-
renderTarget?: ((item:
|
3670
|
+
renderTarget?: ((item: DropdownNodeSelect | DropdownNodeSelect[]) => React_2.ReactNode) | undefined;
|
3671
3671
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
3672
3672
|
label?: string | undefined;
|
3673
3673
|
onScrollBottom?: ((e: React_2.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
3674
3674
|
variant?: "normal" | "tight" | undefined;
|
3675
3675
|
listWidth?: Property.Width<string | number> | undefined;
|
3676
3676
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
3677
|
-
renderValue?: ((item:
|
3678
|
-
renderItem?: ((item:
|
3677
|
+
renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
|
3678
|
+
renderItem?: ((item: DropdownNodeSelect) => React_2.ReactNode) | undefined;
|
3679
3679
|
closeAfterSelect?: boolean | undefined;
|
3680
3680
|
size?: string | undefined;
|
3681
3681
|
view?: string | undefined;
|