@salutejs/plasma-b2c 1.412.0-dev.0 → 1.413.0-canary.1470.11181201904.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,38 @@ import React from 'react';
2
2
  export { ComboboxDivider, ComboboxFooter, ComboboxGroup, ComboboxHeader, ComboboxItem } from './Legacy';
3
3
  export type { ComboboxOldProps as ComboboxProps } from '@salutejs/plasma-new-hope/styled-components';
4
4
  declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
5
+ size: {
6
+ xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
7
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
8
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
9
+ l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
10
+ };
11
+ view: {
12
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
+ };
14
+ }> & Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value" | "type" | "target" | "checked" | "minLength" | "maxLength"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
15
+ valueType?: "single" | undefined;
16
+ value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue | undefined;
17
+ onChangeValue?: ((value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue | undefined) => void) | undefined;
18
+ } & React.RefAttributes<HTMLInputElement> & {
19
+ items?: undefined;
20
+ }, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
21
+ size: {
22
+ xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
23
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
24
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
25
+ l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
26
+ };
27
+ view: {
28
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
29
+ };
30
+ }> & Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value" | "type" | "target" | "checked" | "minLength" | "maxLength"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
31
+ valueType: "multiple";
32
+ value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue[] | undefined;
33
+ onChangeValue?: ((value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
34
+ } & React.RefAttributes<HTMLInputElement> & {
35
+ items?: undefined;
36
+ }, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/styled-components").ComboboxProps<import("@salutejs/plasma-new-hope/styled-components").ItemOption>, "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
5
37
  view: {
6
38
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
7
39
  positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -24,7 +56,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
24
56
  readOnly: {
25
57
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
26
58
  };
27
- }> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
59
+ }> & (({
60
+ items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
61
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
62
+ label?: string | undefined;
63
+ placeholder?: string | undefined;
64
+ helperText?: string | undefined;
65
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
66
+ textBefore?: string | undefined;
67
+ textAfter?: string | undefined;
68
+ variant?: "normal" | "tight" | undefined;
69
+ listOverflow?: import("csstype").Property.Overflow | undefined;
70
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
71
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
72
+ portal?: React.MutableRefObject<HTMLElement | null> | undefined;
73
+ renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
74
+ filter?: ((label: string, textValue: string) => boolean) | undefined;
75
+ closeAfterSelect?: boolean | undefined;
76
+ size?: string | undefined;
77
+ view?: string | undefined;
78
+ labelPlacement?: "outer" | "inner" | undefined;
79
+ } & {
28
80
  readOnly?: boolean | undefined;
29
81
  disabled?: true | undefined;
30
82
  alwaysOpened?: false | undefined;
@@ -33,30 +85,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
33
85
  value?: string | undefined;
34
86
  onChange?: ((value: string) => void) | undefined;
35
87
  isTargetAmount?: false | undefined;
36
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
37
- view: {
38
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
39
- positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
40
- warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
41
- negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
42
- };
43
- size: {
44
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
45
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
46
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
47
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
48
- };
49
- labelPlacement: {
50
- inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
51
- outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
52
- };
53
- disabled: {
54
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
55
- };
56
- readOnly: {
57
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
58
- };
59
- }> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
88
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
89
+ items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
90
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
91
+ label?: string | undefined;
92
+ placeholder?: string | undefined;
93
+ helperText?: string | undefined;
94
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
95
+ textBefore?: string | undefined;
96
+ textAfter?: string | undefined;
97
+ variant?: "normal" | "tight" | undefined;
98
+ listOverflow?: import("csstype").Property.Overflow | undefined;
99
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
100
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
101
+ portal?: React.MutableRefObject<HTMLElement | null> | undefined;
102
+ renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
103
+ filter?: ((label: string, textValue: string) => boolean) | undefined;
104
+ closeAfterSelect?: boolean | undefined;
105
+ size?: string | undefined;
106
+ view?: string | undefined;
107
+ labelPlacement?: "outer" | "inner" | undefined;
108
+ } & {
60
109
  readOnly?: boolean | undefined;
61
110
  disabled?: true | undefined;
62
111
  alwaysOpened?: false | undefined;
@@ -65,30 +114,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
65
114
  value?: string[] | undefined;
66
115
  onChange?: ((value: string[]) => void) | undefined;
67
116
  isTargetAmount?: boolean | undefined;
68
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
69
- view: {
70
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
71
- positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
72
- warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
73
- negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
74
- };
75
- size: {
76
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
77
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
78
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
79
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
80
- };
81
- labelPlacement: {
82
- inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
83
- outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
84
- };
85
- disabled: {
86
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
87
- };
88
- readOnly: {
89
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
90
- };
91
- }> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
117
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
118
+ items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
119
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
120
+ label?: string | undefined;
121
+ placeholder?: string | undefined;
122
+ helperText?: string | undefined;
123
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
124
+ textBefore?: string | undefined;
125
+ textAfter?: string | undefined;
126
+ variant?: "normal" | "tight" | undefined;
127
+ listOverflow?: import("csstype").Property.Overflow | undefined;
128
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
129
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
130
+ portal?: React.MutableRefObject<HTMLElement | null> | undefined;
131
+ renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
132
+ filter?: ((label: string, textValue: string) => boolean) | undefined;
133
+ closeAfterSelect?: boolean | undefined;
134
+ size?: string | undefined;
135
+ view?: string | undefined;
136
+ labelPlacement?: "outer" | "inner" | undefined;
137
+ } & {
92
138
  readOnly?: true | undefined;
93
139
  disabled?: boolean | undefined;
94
140
  alwaysOpened?: false | undefined;
@@ -97,30 +143,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
97
143
  value?: string | undefined;
98
144
  onChange?: ((value: string) => void) | undefined;
99
145
  isTargetAmount?: false | undefined;
100
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
101
- view: {
102
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
103
- positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
104
- warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
105
- negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
106
- };
107
- size: {
108
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
109
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
110
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
111
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
112
- };
113
- labelPlacement: {
114
- inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
115
- outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
116
- };
117
- disabled: {
118
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
119
- };
120
- readOnly: {
121
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
122
- };
123
- }> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
146
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
147
+ items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
148
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
149
+ label?: string | undefined;
150
+ placeholder?: string | undefined;
151
+ helperText?: string | undefined;
152
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
153
+ textBefore?: string | undefined;
154
+ textAfter?: string | undefined;
155
+ variant?: "normal" | "tight" | undefined;
156
+ listOverflow?: import("csstype").Property.Overflow | undefined;
157
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
158
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
159
+ portal?: React.MutableRefObject<HTMLElement | null> | undefined;
160
+ renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
161
+ filter?: ((label: string, textValue: string) => boolean) | undefined;
162
+ closeAfterSelect?: boolean | undefined;
163
+ size?: string | undefined;
164
+ view?: string | undefined;
165
+ labelPlacement?: "outer" | "inner" | undefined;
166
+ } & {
124
167
  readOnly?: true | undefined;
125
168
  disabled?: boolean | undefined;
126
169
  alwaysOpened?: false | undefined;
@@ -129,30 +172,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
129
172
  value?: string[] | undefined;
130
173
  onChange?: ((value: string[]) => void) | undefined;
131
174
  isTargetAmount?: boolean | undefined;
132
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
133
- view: {
134
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
135
- positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
136
- warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
137
- negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
138
- };
139
- size: {
140
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
141
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
142
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
143
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
144
- };
145
- labelPlacement: {
146
- inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
147
- outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
148
- };
149
- disabled: {
150
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
151
- };
152
- readOnly: {
153
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
154
- };
155
- }> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
175
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
176
+ items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
177
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
178
+ label?: string | undefined;
179
+ placeholder?: string | undefined;
180
+ helperText?: string | undefined;
181
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
182
+ textBefore?: string | undefined;
183
+ textAfter?: string | undefined;
184
+ variant?: "normal" | "tight" | undefined;
185
+ listOverflow?: import("csstype").Property.Overflow | undefined;
186
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
187
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
188
+ portal?: React.MutableRefObject<HTMLElement | null> | undefined;
189
+ renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
190
+ filter?: ((label: string, textValue: string) => boolean) | undefined;
191
+ closeAfterSelect?: boolean | undefined;
192
+ size?: string | undefined;
193
+ view?: string | undefined;
194
+ labelPlacement?: "outer" | "inner" | undefined;
195
+ } & {
156
196
  readOnly?: false | undefined;
157
197
  disabled?: false | undefined;
158
198
  alwaysOpened?: true | undefined;
@@ -161,30 +201,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
161
201
  value?: string | undefined;
162
202
  onChange?: ((value: string) => void) | undefined;
163
203
  isTargetAmount?: false | undefined;
164
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
165
- view: {
166
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
167
- positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
168
- warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
169
- negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
170
- };
171
- size: {
172
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
173
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
174
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
175
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
176
- };
177
- labelPlacement: {
178
- inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
179
- outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
180
- };
181
- disabled: {
182
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
183
- };
184
- readOnly: {
185
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
186
- };
187
- }> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
204
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
205
+ items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
206
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
207
+ label?: string | undefined;
208
+ placeholder?: string | undefined;
209
+ helperText?: string | undefined;
210
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
211
+ textBefore?: string | undefined;
212
+ textAfter?: string | undefined;
213
+ variant?: "normal" | "tight" | undefined;
214
+ listOverflow?: import("csstype").Property.Overflow | undefined;
215
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
216
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
217
+ portal?: React.MutableRefObject<HTMLElement | null> | undefined;
218
+ renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
219
+ filter?: ((label: string, textValue: string) => boolean) | undefined;
220
+ closeAfterSelect?: boolean | undefined;
221
+ size?: string | undefined;
222
+ view?: string | undefined;
223
+ labelPlacement?: "outer" | "inner" | undefined;
224
+ } & {
188
225
  readOnly?: false | undefined;
189
226
  disabled?: false | undefined;
190
227
  alwaysOpened?: true | undefined;
@@ -193,37 +230,7 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
193
230
  value?: string[] | undefined;
194
231
  onChange?: ((value: string[]) => void) | undefined;
195
232
  isTargetAmount?: boolean | undefined;
196
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
197
- size: {
198
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
199
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
200
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
201
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
202
- };
203
- view: {
204
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
205
- };
206
- }> & Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value" | "type" | "target" | "checked" | "minLength" | "maxLength"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
207
- valueType?: "single" | undefined;
208
- value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue | undefined;
209
- onChangeValue?: ((value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue | undefined) => void) | undefined;
210
- } & React.RefAttributes<HTMLInputElement> & {
211
- items?: undefined;
212
- }, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
213
- size: {
214
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
215
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
216
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
217
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
218
- };
219
- view: {
220
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
221
- };
222
- }> & Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value" | "type" | "target" | "checked" | "minLength" | "maxLength"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
223
- valueType: "multiple";
224
- value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue[] | undefined;
225
- onChangeValue?: ((value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
226
- } & React.RefAttributes<HTMLInputElement> & {
227
- items?: undefined;
233
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
234
+ ref: React.ForwardedRef<HTMLInputElement>;
228
235
  }, "ref">) & React.RefAttributes<HTMLInputElement>>;
229
236
  export { Combobox };
@@ -6,7 +6,9 @@ var plasmaNewHope = require('@salutejs/plasma-new-hope');
6
6
  var Combobox_config = require('./Combobox.config.js');
7
7
 
8
8
  var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.comboboxNewConfig, Combobox_config.config);
9
- var Combobox = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
9
+ var ComboboxComponent = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
10
+ var Combobox = ComboboxComponent;
10
11
 
11
12
  exports.Combobox = Combobox;
13
+ exports.ComboboxComponent = ComboboxComponent;
12
14
  //# sourceMappingURL=Combobox.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.ts"],"sourcesContent":["import { comboboxNewConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nexport const Combobox = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","Combobox","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,sBAAM,CAAC,CAAA;IAC9CC,QAAQ,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
1
+ {"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.ts"],"sourcesContent":["import type { ComponentProps, ReactElement, ForwardedRef } from 'react';\nimport { comboboxNewConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\nimport type { ComboboxProps, ItemOption } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nexport const ComboboxComponent = component(mergedConfig);\n\ntype PropsFromConfig = 'view' | 'size' | 'labelPlacement' | 'disabled' | 'readOnly';\n\ntype ComboboxType = <T extends ItemOption>(\n props: Omit<ComboboxProps<T>, PropsFromConfig> &\n Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig> & { ref: ForwardedRef<HTMLInputElement> },\n) => ReactElement;\n\nexport const Combobox = ComboboxComponent as ComboboxType;\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","ComboboxComponent","component","Combobox"],"mappings":";;;;;;;AAMA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,sBAAM,CAAC,CAAA;IAC9CC,iBAAiB,gBAAGC,uBAAS,CAACL,YAAY,EAAC;AASjD,IAAMM,QAAQ,GAAGF;;;;;"}
@@ -2,7 +2,8 @@ import { component, mergeConfig, comboboxNewConfig } from '@salutejs/plasma-new-
2
2
  import { config } from './Combobox.config.js';
3
3
 
4
4
  var mergedConfig = /*#__PURE__*/mergeConfig(comboboxNewConfig, config);
5
- var Combobox = /*#__PURE__*/component(mergedConfig);
5
+ var ComboboxComponent = /*#__PURE__*/component(mergedConfig);
6
+ var Combobox = ComboboxComponent;
6
7
 
7
- export { Combobox };
8
+ export { Combobox, ComboboxComponent };
8
9
  //# sourceMappingURL=Combobox.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.ts"],"sourcesContent":["import { comboboxNewConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nexport const Combobox = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","Combobox","component"],"mappings":";;;AAIA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,iBAAiB,EAAEC,MAAM,CAAC,CAAA;IAC9CC,QAAQ,gBAAGC,SAAS,CAACL,YAAY;;;;"}
1
+ {"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.ts"],"sourcesContent":["import type { ComponentProps, ReactElement, ForwardedRef } from 'react';\nimport { comboboxNewConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\nimport type { ComboboxProps, ItemOption } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nexport const ComboboxComponent = component(mergedConfig);\n\ntype PropsFromConfig = 'view' | 'size' | 'labelPlacement' | 'disabled' | 'readOnly';\n\ntype ComboboxType = <T extends ItemOption>(\n props: Omit<ComboboxProps<T>, PropsFromConfig> &\n Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig> & { ref: ForwardedRef<HTMLInputElement> },\n) => ReactElement;\n\nexport const Combobox = ComboboxComponent as ComboboxType;\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","ComboboxComponent","component","Combobox"],"mappings":";;;AAMA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,iBAAiB,EAAEC,MAAM,CAAC,CAAA;IAC9CC,iBAAiB,gBAAGC,SAAS,CAACL,YAAY,EAAC;AASjD,IAAMM,QAAQ,GAAGF;;;;"}
@@ -1,4 +1,5 @@
1
1
  import { comboboxNewConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
2
2
  import { config } from './Combobox.config';
3
3
  var mergedConfig = /*#__PURE__*/mergeConfig(comboboxNewConfig, config);
4
- export var Combobox = /*#__PURE__*/component(mergedConfig);
4
+ export var ComboboxComponent = /*#__PURE__*/component(mergedConfig);
5
+ export var Combobox = ComboboxComponent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-b2c",
3
- "version": "1.412.0-dev.0",
3
+ "version": "1.413.0-canary.1470.11181201904.0",
4
4
  "description": "Salute Design System / React UI kit for business-related web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@salutejs/plasma-core": "1.180.0",
46
46
  "@salutejs/plasma-hope": "1.313.0",
47
- "@salutejs/plasma-new-hope": "0.161.0-dev.0",
47
+ "@salutejs/plasma-new-hope": "0.162.0-canary.1470.11181201904.0",
48
48
  "@salutejs/plasma-themes": "0.18.0",
49
49
  "@salutejs/plasma-tokens-b2c": "0.52.0",
50
50
  "@salutejs/plasma-tokens-web": "1.57.0",
@@ -109,5 +109,5 @@
109
109
  "react"
110
110
  ],
111
111
  "sideEffects": false,
112
- "gitHead": "77a1037be3e81202f2a2c35a64e3b5fe0b0a6380"
112
+ "gitHead": "35b518838f3d4549c52600a89ff0a7a7ee3ce548"
113
113
  }