@salutejs/plasma-web 1.467.0-canary.1623.12195945790.0 → 1.468.0-canary.1606.12198867480.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;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const CategoryContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
3
|
+
export declare const Category: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
4
|
+
size: {
|
5
|
+
h2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
};
|
7
|
+
}> & {
|
8
|
+
noWrap?: boolean | undefined;
|
9
|
+
breakWord?: boolean | undefined;
|
10
|
+
color?: string | undefined;
|
11
|
+
} & import("@salutejs/plasma-new-hope").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
12
|
+
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
13
|
+
export declare const Subcategory: import("styled-components").StyledComponent<"div", any, {}, never>;
|
14
|
+
export declare const ColumnTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
15
|
+
export declare const StyledAccrodionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
16
|
+
value?: boolean | undefined;
|
17
|
+
type?: "clear" | "arrow" | "sign" | undefined;
|
18
|
+
contentLeft?: import("react").ReactNode;
|
19
|
+
alignWithTitle?: boolean | undefined;
|
20
|
+
contentRight?: import("react").ReactNode;
|
21
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
22
|
+
title?: import("react").ReactNode;
|
23
|
+
children: import("react").ReactNode;
|
24
|
+
onChange?: ((index: number, value: boolean) => void) | undefined;
|
25
|
+
onClick?: ((index: number, value: boolean) => void) | undefined;
|
26
|
+
disabled?: boolean | undefined;
|
27
|
+
opened?: boolean | undefined;
|
28
|
+
eventKey?: number | undefined;
|
29
|
+
index?: number | undefined;
|
30
|
+
view?: string | undefined;
|
31
|
+
} & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
32
|
+
export declare const TokenInfoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
33
|
+
export declare const OpacityPart: import("styled-components").StyledComponent<"span", any, {}, never>;
|
34
|
+
export declare const TokenInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
35
|
+
export declare const ColorCircle: import("styled-components").StyledComponent<"div", any, {
|
36
|
+
background?: string | undefined;
|
37
|
+
disableShadow?: boolean | undefined;
|
38
|
+
}, never>;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.TokenInfoWrapper = exports.TokenInfo = exports.Subcategory = exports.StyledAccrodionItem = exports.OpacityPart = exports.ColumnTitle = exports.ColorCircle = exports.CategoryContainer = exports.Category = exports.AccordionInfo = void 0;
|
7
|
+
var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
|
8
|
+
var _Typography = /*#__PURE__*/require("../Typography");
|
9
|
+
var _Accordion = /*#__PURE__*/require("../Accordion");
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
|
+
var CategoryContainer = exports.CategoryContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
12
|
+
componentId: "plasma-web__sc-14jkg94-0"
|
13
|
+
})(["margin-bottom:1.875rem;"]);
|
14
|
+
var Category = exports.Category = /*#__PURE__*/(0, _styledComponents["default"])(_Typography.H2).withConfig({
|
15
|
+
componentId: "plasma-web__sc-14jkg94-1"
|
16
|
+
})(["margin:0 0 1.125rem 1.5rem;"]);
|
17
|
+
var AccordionInfo = exports.AccordionInfo = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
18
|
+
componentId: "plasma-web__sc-14jkg94-2"
|
19
|
+
})(["display:grid;grid-template-columns:18rem 7.938rem 3.813rem;grid-column-gap:1.5rem;font-family:var(--plasma-typo-body-m-font-family);font-size:var(--plasma-typo-body-m-font-size);font-style:var(--plasma-typo-body-m-font-style);font-weight:var(--plasma-typo-body-m-font-weight);letter-spacing:var(--plasma-typo-body-m-letter-spacing);line-height:var(--plasma-typo-body-m-line-height);"]);
|
20
|
+
var Subcategory = exports.Subcategory = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
21
|
+
componentId: "plasma-web__sc-14jkg94-3"
|
22
|
+
})(["color:var(--text-secondary);"]);
|
23
|
+
var ColumnTitle = exports.ColumnTitle = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
24
|
+
componentId: "plasma-web__sc-14jkg94-4"
|
25
|
+
})(["color:var(--text-tertiary);transition:opacity 0.2s;&.color{display:flex;align-items:center;gap:0.5rem;}"]);
|
26
|
+
var StyledAccrodionItem = exports.StyledAccrodionItem = /*#__PURE__*/(0, _styledComponents["default"])(_Accordion.AccordionItem).withConfig({
|
27
|
+
componentId: "plasma-web__sc-14jkg94-5"
|
28
|
+
})(["--plasma-accordion-item-padding:0;--plasma-accordion-item-padding-vertical:0;border-bottom:unset;width:max-content;div > div > div > svg{color:var(--text-secondary);}.accordion-item-body{margin-bottom:1.125rem;padding-top:0.125rem;transition:margin-bottom 0.2s,padding-top 0.2s;}[aria-expanded]{margin-bottom:1rem;}[aria-expanded='false']{", " ", "{opacity:0;}}[aria-expanded='false'] + div > .accordion-item-body{margin:0;padding:0;}"], AccordionInfo, ColumnTitle);
|
29
|
+
var TokenInfoWrapper = exports.TokenInfoWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
30
|
+
componentId: "plasma-web__sc-14jkg94-6"
|
31
|
+
})(["display:flex;flex-direction:column;gap:0.75rem;margin-top:-0.125rem;"]);
|
32
|
+
var OpacityPart = exports.OpacityPart = /*#__PURE__*/_styledComponents["default"].span.withConfig({
|
33
|
+
componentId: "plasma-web__sc-14jkg94-7"
|
34
|
+
})(["color:var(--text-secondary);padding-left:0.125rem;"]);
|
35
|
+
var TokenInfo = exports.TokenInfo = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
36
|
+
componentId: "plasma-web__sc-14jkg94-8"
|
37
|
+
})(["color:var(--text-paragraph);cursor:default;&.copy{cursor:copy;}&.color{display:flex;align-items:center;gap:0.5rem;}&.opacity{text-align:right;}&:not(.opacity):hover{color:var(--text-paragraph-hover);", "{color:var(--text-paragraph-hover);}}&:not(.opacity):active{color:var(--text-paragraph-active);", "{color:var(--text-secondary-active);}}"], OpacityPart, OpacityPart);
|
38
|
+
var ColorCircle = exports.ColorCircle = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
39
|
+
componentId: "plasma-web__sc-14jkg94-9"
|
40
|
+
})(["width:1.25rem;height:1.25rem;border-radius:50%;background:", ";box-shadow:", ";"], function (props) {
|
41
|
+
return props.background;
|
42
|
+
}, function (props) {
|
43
|
+
return props.disableShadow ? 'none' : 'inset 0px 0px 0px 1px rgba(8, 8, 8, 0.12)';
|
44
|
+
});
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import styled from 'styled-components';
|
2
|
+
import { H2 } from '../Typography';
|
3
|
+
import { AccordionItem } from '../Accordion';
|
4
|
+
export var CategoryContainer = /*#__PURE__*/styled.div.withConfig({
|
5
|
+
componentId: "plasma-web__sc-14jkg94-0"
|
6
|
+
})(["margin-bottom:1.875rem;"]);
|
7
|
+
export var Category = /*#__PURE__*/styled(H2).withConfig({
|
8
|
+
componentId: "plasma-web__sc-14jkg94-1"
|
9
|
+
})(["margin:0 0 1.125rem 1.5rem;"]);
|
10
|
+
export var AccordionInfo = /*#__PURE__*/styled.div.withConfig({
|
11
|
+
componentId: "plasma-web__sc-14jkg94-2"
|
12
|
+
})(["display:grid;grid-template-columns:18rem 7.938rem 3.813rem;grid-column-gap:1.5rem;font-family:var(--plasma-typo-body-m-font-family);font-size:var(--plasma-typo-body-m-font-size);font-style:var(--plasma-typo-body-m-font-style);font-weight:var(--plasma-typo-body-m-font-weight);letter-spacing:var(--plasma-typo-body-m-letter-spacing);line-height:var(--plasma-typo-body-m-line-height);"]);
|
13
|
+
export var Subcategory = /*#__PURE__*/styled.div.withConfig({
|
14
|
+
componentId: "plasma-web__sc-14jkg94-3"
|
15
|
+
})(["color:var(--text-secondary);"]);
|
16
|
+
export var ColumnTitle = /*#__PURE__*/styled.div.withConfig({
|
17
|
+
componentId: "plasma-web__sc-14jkg94-4"
|
18
|
+
})(["color:var(--text-tertiary);transition:opacity 0.2s;&.color{display:flex;align-items:center;gap:0.5rem;}"]);
|
19
|
+
export var StyledAccrodionItem = /*#__PURE__*/styled(AccordionItem).withConfig({
|
20
|
+
componentId: "plasma-web__sc-14jkg94-5"
|
21
|
+
})(["--plasma-accordion-item-padding:0;--plasma-accordion-item-padding-vertical:0;border-bottom:unset;width:max-content;div > div > div > svg{color:var(--text-secondary);}.accordion-item-body{margin-bottom:1.125rem;padding-top:0.125rem;transition:margin-bottom 0.2s,padding-top 0.2s;}[aria-expanded]{margin-bottom:1rem;}[aria-expanded='false']{", " ", "{opacity:0;}}[aria-expanded='false'] + div > .accordion-item-body{margin:0;padding:0;}"], AccordionInfo, ColumnTitle);
|
22
|
+
export var TokenInfoWrapper = /*#__PURE__*/styled.div.withConfig({
|
23
|
+
componentId: "plasma-web__sc-14jkg94-6"
|
24
|
+
})(["display:flex;flex-direction:column;gap:0.75rem;margin-top:-0.125rem;"]);
|
25
|
+
export var OpacityPart = /*#__PURE__*/styled.span.withConfig({
|
26
|
+
componentId: "plasma-web__sc-14jkg94-7"
|
27
|
+
})(["color:var(--text-secondary);padding-left:0.125rem;"]);
|
28
|
+
export var TokenInfo = /*#__PURE__*/styled.div.withConfig({
|
29
|
+
componentId: "plasma-web__sc-14jkg94-8"
|
30
|
+
})(["color:var(--text-paragraph);cursor:default;&.copy{cursor:copy;}&.color{display:flex;align-items:center;gap:0.5rem;}&.opacity{text-align:right;}&:not(.opacity):hover{color:var(--text-paragraph-hover);", "{color:var(--text-paragraph-hover);}}&:not(.opacity):active{color:var(--text-paragraph-active);", "{color:var(--text-secondary-active);}}"], OpacityPart, OpacityPart);
|
31
|
+
export var ColorCircle = /*#__PURE__*/styled.div.withConfig({
|
32
|
+
componentId: "plasma-web__sc-14jkg94-9"
|
33
|
+
})(["width:1.25rem;height:1.25rem;border-radius:50%;background:", ";box-shadow:", ";"], function (props) {
|
34
|
+
return props.background;
|
35
|
+
}, function (props) {
|
36
|
+
return props.disableShadow ? 'none' : 'inset 0px 0px 0px 1px rgba(8, 8, 8, 0.12)';
|
37
|
+
});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-web",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.468.0-canary.1606.12198867480.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",
|
@@ -19,9 +19,9 @@
|
|
19
19
|
"directory": "packages/plasma-web"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-core": "1.
|
23
|
-
"@salutejs/plasma-hope": "1.323.0-canary.
|
24
|
-
"@salutejs/plasma-new-hope": "0.
|
22
|
+
"@salutejs/plasma-core": "1.187.0",
|
23
|
+
"@salutejs/plasma-hope": "1.323.0-canary.1606.12198867480.0",
|
24
|
+
"@salutejs/plasma-new-hope": "0.213.0-canary.1606.12198867480.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",
|
@@ -49,9 +49,9 @@
|
|
49
49
|
"@rollup/plugin-commonjs": "25.0.7",
|
50
50
|
"@rollup/plugin-node-resolve": "15.2.3",
|
51
51
|
"@salutejs/plasma-colors": "0.13.0",
|
52
|
-
"@salutejs/plasma-cy-utils": "0.
|
52
|
+
"@salutejs/plasma-cy-utils": "0.118.0",
|
53
53
|
"@salutejs/plasma-icons": "1.209.0",
|
54
|
-
"@salutejs/plasma-sb-utils": "0.186.0-canary.
|
54
|
+
"@salutejs/plasma-sb-utils": "0.186.0-canary.1606.12198867480.0",
|
55
55
|
"@storybook/addon-docs": "7.6.17",
|
56
56
|
"@storybook/addon-essentials": "7.6.17",
|
57
57
|
"@storybook/addons": "7.6.17",
|
@@ -112,5 +112,5 @@
|
|
112
112
|
"Fanil Zubairov"
|
113
113
|
],
|
114
114
|
"sideEffects": false,
|
115
|
-
"gitHead": "
|
115
|
+
"gitHead": "1f0ed34b1375397fb8acc345bbc71e0fc1550841"
|
116
116
|
}
|