@salutejs/plasma-web 1.466.1-canary.1598.12180956760.0 → 1.467.0-canary.1552.12181791744.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,6 +48,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
48
48
  readOnly?: boolean | undefined;
49
49
  disabled?: true | undefined;
50
50
  alwaysOpened?: false | undefined;
51
+ } & {
52
+ name?: undefined;
53
+ defaultValue?: undefined;
51
54
  } & {
52
55
  multiple?: false | undefined;
53
56
  value?: string | undefined;
@@ -55,7 +58,39 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
55
58
  isTargetAmount?: false | undefined;
56
59
  targetAmount?: undefined;
57
60
  renderValue?: undefined;
58
- } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
61
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
62
+ items: ItemOption[];
63
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
64
+ placeholder?: string | undefined;
65
+ helperText?: string | undefined;
66
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
67
+ textBefore?: string | undefined;
68
+ textAfter?: string | undefined;
69
+ variant?: "normal" | "tight" | undefined;
70
+ listOverflow?: import("csstype").Property.Overflow | undefined;
71
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
72
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
73
+ portal?: string | React.RefObject<HTMLElement> | undefined;
74
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
75
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
76
+ closeAfterSelect?: boolean | undefined;
77
+ size?: string | undefined;
78
+ view?: string | undefined;
79
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
80
+ readOnly?: boolean | undefined;
81
+ disabled?: true | undefined;
82
+ alwaysOpened?: false | undefined;
83
+ } & {
84
+ name: string;
85
+ onChange?: React.ChangeEventHandler<Element> | undefined;
86
+ } & {
87
+ multiple?: false | undefined;
88
+ defaultValue?: string | undefined;
89
+ value?: undefined;
90
+ isTargetAmount?: false | undefined;
91
+ targetAmount?: undefined;
92
+ renderValue?: undefined;
93
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
59
94
  items: ItemOption[];
60
95
  placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
61
96
  placeholder?: string | undefined;
@@ -77,6 +112,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
77
112
  readOnly?: boolean | undefined;
78
113
  disabled?: true | undefined;
79
114
  alwaysOpened?: false | undefined;
115
+ } & {
116
+ name?: undefined;
117
+ defaultValue?: undefined;
80
118
  } & {
81
119
  multiple: true;
82
120
  value?: string[] | undefined;
@@ -84,7 +122,39 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
84
122
  isTargetAmount?: true | undefined;
85
123
  targetAmount?: number | undefined;
86
124
  renderValue?: ((item: ItemOption) => string) | undefined;
87
- } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
125
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
126
+ items: ItemOption[];
127
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
128
+ placeholder?: string | undefined;
129
+ helperText?: string | undefined;
130
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
131
+ textBefore?: string | undefined;
132
+ textAfter?: string | undefined;
133
+ variant?: "normal" | "tight" | undefined;
134
+ listOverflow?: import("csstype").Property.Overflow | undefined;
135
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
136
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
137
+ portal?: string | React.RefObject<HTMLElement> | undefined;
138
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
139
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
140
+ closeAfterSelect?: boolean | undefined;
141
+ size?: string | undefined;
142
+ view?: string | undefined;
143
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
144
+ readOnly?: boolean | undefined;
145
+ disabled?: true | undefined;
146
+ alwaysOpened?: false | undefined;
147
+ } & {
148
+ name: string;
149
+ onChange?: React.ChangeEventHandler<Element> | undefined;
150
+ } & {
151
+ multiple: true;
152
+ defaultValue?: string[] | undefined;
153
+ value?: undefined;
154
+ isTargetAmount?: true | undefined;
155
+ targetAmount?: number | undefined;
156
+ renderValue?: ((item: ItemOption) => string) | undefined;
157
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
88
158
  items: ItemOption[];
89
159
  placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
90
160
  placeholder?: string | undefined;
@@ -106,6 +176,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
106
176
  readOnly?: true | undefined;
107
177
  disabled?: boolean | undefined;
108
178
  alwaysOpened?: false | undefined;
179
+ } & {
180
+ name?: undefined;
181
+ defaultValue?: undefined;
109
182
  } & {
110
183
  multiple?: false | undefined;
111
184
  value?: string | undefined;
@@ -113,7 +186,39 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
113
186
  isTargetAmount?: false | undefined;
114
187
  targetAmount?: undefined;
115
188
  renderValue?: undefined;
116
- } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
189
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
190
+ items: ItemOption[];
191
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
192
+ placeholder?: string | undefined;
193
+ helperText?: string | undefined;
194
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
195
+ textBefore?: string | undefined;
196
+ textAfter?: string | undefined;
197
+ variant?: "normal" | "tight" | undefined;
198
+ listOverflow?: import("csstype").Property.Overflow | undefined;
199
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
200
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
201
+ portal?: string | React.RefObject<HTMLElement> | undefined;
202
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
203
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
204
+ closeAfterSelect?: boolean | undefined;
205
+ size?: string | undefined;
206
+ view?: string | undefined;
207
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
208
+ readOnly?: true | undefined;
209
+ disabled?: boolean | undefined;
210
+ alwaysOpened?: false | undefined;
211
+ } & {
212
+ name: string;
213
+ onChange?: React.ChangeEventHandler<Element> | undefined;
214
+ } & {
215
+ multiple?: false | undefined;
216
+ defaultValue?: string | undefined;
217
+ value?: undefined;
218
+ isTargetAmount?: false | undefined;
219
+ targetAmount?: undefined;
220
+ renderValue?: undefined;
221
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
117
222
  items: ItemOption[];
118
223
  placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
119
224
  placeholder?: string | undefined;
@@ -135,6 +240,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
135
240
  readOnly?: true | undefined;
136
241
  disabled?: boolean | undefined;
137
242
  alwaysOpened?: false | undefined;
243
+ } & {
244
+ name?: undefined;
245
+ defaultValue?: undefined;
138
246
  } & {
139
247
  multiple: true;
140
248
  value?: string[] | undefined;
@@ -142,7 +250,39 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
142
250
  isTargetAmount?: true | undefined;
143
251
  targetAmount?: number | undefined;
144
252
  renderValue?: ((item: ItemOption) => string) | undefined;
145
- } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
253
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
254
+ items: ItemOption[];
255
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
256
+ placeholder?: string | undefined;
257
+ helperText?: string | undefined;
258
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
259
+ textBefore?: string | undefined;
260
+ textAfter?: string | undefined;
261
+ variant?: "normal" | "tight" | undefined;
262
+ listOverflow?: import("csstype").Property.Overflow | undefined;
263
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
264
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
265
+ portal?: string | React.RefObject<HTMLElement> | undefined;
266
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
267
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
268
+ closeAfterSelect?: boolean | undefined;
269
+ size?: string | undefined;
270
+ view?: string | undefined;
271
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
272
+ readOnly?: true | undefined;
273
+ disabled?: boolean | undefined;
274
+ alwaysOpened?: false | undefined;
275
+ } & {
276
+ name: string;
277
+ onChange?: React.ChangeEventHandler<Element> | undefined;
278
+ } & {
279
+ multiple: true;
280
+ defaultValue?: string[] | undefined;
281
+ value?: undefined;
282
+ isTargetAmount?: true | undefined;
283
+ targetAmount?: number | undefined;
284
+ renderValue?: ((item: ItemOption) => string) | undefined;
285
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
146
286
  items: ItemOption[];
147
287
  placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
148
288
  placeholder?: string | undefined;
@@ -164,6 +304,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
164
304
  readOnly?: false | undefined;
165
305
  disabled?: false | undefined;
166
306
  alwaysOpened?: true | undefined;
307
+ } & {
308
+ name?: undefined;
309
+ defaultValue?: undefined;
167
310
  } & {
168
311
  multiple?: false | undefined;
169
312
  value?: string | undefined;
@@ -171,7 +314,39 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
171
314
  isTargetAmount?: false | undefined;
172
315
  targetAmount?: undefined;
173
316
  renderValue?: undefined;
174
- } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
317
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
318
+ items: ItemOption[];
319
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
320
+ placeholder?: string | undefined;
321
+ helperText?: string | undefined;
322
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
323
+ textBefore?: string | undefined;
324
+ textAfter?: string | undefined;
325
+ variant?: "normal" | "tight" | undefined;
326
+ listOverflow?: import("csstype").Property.Overflow | undefined;
327
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
328
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
329
+ portal?: string | React.RefObject<HTMLElement> | undefined;
330
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
331
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
332
+ closeAfterSelect?: boolean | undefined;
333
+ size?: string | undefined;
334
+ view?: string | undefined;
335
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
336
+ readOnly?: false | undefined;
337
+ disabled?: false | undefined;
338
+ alwaysOpened?: true | undefined;
339
+ } & {
340
+ name: string;
341
+ onChange?: React.ChangeEventHandler<Element> | undefined;
342
+ } & {
343
+ multiple?: false | undefined;
344
+ defaultValue?: string | undefined;
345
+ value?: undefined;
346
+ isTargetAmount?: false | undefined;
347
+ targetAmount?: undefined;
348
+ renderValue?: undefined;
349
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
175
350
  items: ItemOption[];
176
351
  placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
177
352
  placeholder?: string | undefined;
@@ -193,6 +368,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
193
368
  readOnly?: false | undefined;
194
369
  disabled?: false | undefined;
195
370
  alwaysOpened?: true | undefined;
371
+ } & {
372
+ name?: undefined;
373
+ defaultValue?: undefined;
196
374
  } & {
197
375
  multiple: true;
198
376
  value?: string[] | undefined;
@@ -200,7 +378,39 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
200
378
  isTargetAmount?: true | undefined;
201
379
  targetAmount?: number | undefined;
202
380
  renderValue?: ((item: ItemOption) => string) | undefined;
203
- } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>))>;
381
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
382
+ items: ItemOption[];
383
+ placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
384
+ placeholder?: string | undefined;
385
+ helperText?: string | undefined;
386
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
387
+ textBefore?: string | undefined;
388
+ textAfter?: string | undefined;
389
+ variant?: "normal" | "tight" | undefined;
390
+ listOverflow?: import("csstype").Property.Overflow | undefined;
391
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
392
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
393
+ portal?: string | React.RefObject<HTMLElement> | undefined;
394
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
395
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
396
+ closeAfterSelect?: boolean | undefined;
397
+ size?: string | undefined;
398
+ view?: string | undefined;
399
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
400
+ readOnly?: false | undefined;
401
+ disabled?: false | undefined;
402
+ alwaysOpened?: true | undefined;
403
+ } & {
404
+ name: string;
405
+ onChange?: React.ChangeEventHandler<Element> | undefined;
406
+ } & {
407
+ multiple: true;
408
+ defaultValue?: string[] | undefined;
409
+ value?: undefined;
410
+ isTargetAmount?: true | undefined;
411
+ targetAmount?: number | undefined;
412
+ renderValue?: ((item: ItemOption) => string) | undefined;
413
+ } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>))>;
204
414
  declare type PropsFromConfig = keyof typeof config['variations'];
205
415
  declare type PropsOld = ComponentProps<typeof ComboboxOld> & {
206
416
  items?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-web",
3
- "version": "1.466.1-canary.1598.12180956760.0",
3
+ "version": "1.467.0-canary.1552.12181791744.0",
4
4
  "description": "Salute Design System / React UI kit for web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@salutejs/plasma-core": "1.187.0",
23
23
  "@salutejs/plasma-hope": "1.322.0",
24
- "@salutejs/plasma-new-hope": "0.211.1-canary.1598.12180956760.0",
24
+ "@salutejs/plasma-new-hope": "0.212.0-canary.1552.12181791744.0",
25
25
  "@salutejs/plasma-themes": "0.23.0",
26
26
  "@salutejs/plasma-tokens-b2b": "1.43.0",
27
27
  "@salutejs/plasma-tokens-b2c": "0.54.0",
@@ -112,5 +112,5 @@
112
112
  "Fanil Zubairov"
113
113
  ],
114
114
  "sideEffects": false,
115
- "gitHead": "9d03e38feb22072643a1d71bc1928f6255d6d977"
115
+ "gitHead": "6aa49df8ed9e4ce0c24d45fd747d01aad9ad3ef4"
116
116
  }