@salutejs/sdds-dfa 0.353.0-next-sbcom.0 → 0.353.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/styled-components/cjs/components/Accordion/Accordion.config.js +1 -1
  2. package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.config.js +5 -5
  3. package/dist/styled-components/cjs/components/Badge/Badge.clear.config.js +73 -0
  4. package/dist/styled-components/cjs/components/Badge/Badge.config.common.js +107 -0
  5. package/dist/styled-components/cjs/components/Badge/Badge.config.js +6 -69
  6. package/dist/styled-components/cjs/components/Badge/Badge.js +29 -4
  7. package/dist/styled-components/cjs/components/Badge/Badge.transparent.config.js +85 -0
  8. package/dist/styled-components/cjs/components/Combobox/Combobox.config.js +5 -5
  9. package/dist/styled-components/cjs/components/LinkButton/LinkButton.config.js +14 -21
  10. package/dist/styled-components/cjs/components/Scrollbar/Scrollbar.config.js +3 -1
  11. package/dist/styled-components/cjs/components/Select/Select.config.js +5 -5
  12. package/dist/styled-components/cjs/components/Slider/Slider.config.js +0 -3
  13. package/dist/styled-components/cjs/components/TextField/TextField.clear.config.js +5 -5
  14. package/dist/styled-components/cjs/components/TextField/TextField.config.js +5 -5
  15. package/dist/styled-components/cjs/components/TextFieldGroup/TextFieldGroup.config.js +4 -4
  16. package/dist/styled-components/cjs/index.js +1 -0
  17. package/dist/styled-components/es/components/Accordion/Accordion.config.js +1 -1
  18. package/dist/styled-components/es/components/Autocomplete/Autocomplete.config.js +5 -5
  19. package/dist/styled-components/es/components/Badge/Badge.clear.config.js +63 -0
  20. package/dist/styled-components/es/components/Badge/Badge.config.common.js +80 -0
  21. package/dist/styled-components/es/components/Badge/Badge.config.js +6 -69
  22. package/dist/styled-components/es/components/Badge/Badge.js +13 -2
  23. package/dist/styled-components/es/components/Badge/Badge.transparent.config.js +75 -0
  24. package/dist/styled-components/es/components/Combobox/Combobox.config.js +5 -5
  25. package/dist/styled-components/es/components/LinkButton/LinkButton.config.js +14 -21
  26. package/dist/styled-components/es/components/Scrollbar/Scrollbar.config.js +3 -1
  27. package/dist/styled-components/es/components/Select/Select.config.js +5 -5
  28. package/dist/styled-components/es/components/Slider/Slider.config.js +0 -3
  29. package/dist/styled-components/es/components/TextField/TextField.clear.config.js +5 -5
  30. package/dist/styled-components/es/components/TextField/TextField.config.js +5 -5
  31. package/dist/styled-components/es/components/TextFieldGroup/TextFieldGroup.config.js +4 -4
  32. package/dist/styled-components/es/index.js +1 -1
  33. package/package.json +8 -8
  34. package/types/components/Attach/Attach.d.ts +32 -16
  35. package/types/components/Autocomplete/Autocomplete.d.ts +8 -8
  36. package/types/components/Avatar/Avatar.d.ts +8 -0
  37. package/types/components/Badge/Badge.clear.config.d.ts +31 -0
  38. package/types/components/Badge/Badge.config.common.d.ts +5 -0
  39. package/types/components/Badge/Badge.d.ts +343 -15
  40. package/types/components/Badge/Badge.transparent.config.d.ts +34 -0
  41. package/types/components/CodeField/CodeField.d.ts +1 -1
  42. package/types/components/CodeInput/CodeInput.d.ts +1 -1
  43. package/types/components/DatePicker/DatePicker.d.ts +20 -4
  44. package/types/components/Dropdown/Dropdown.d.ts +2 -2
  45. package/types/components/Mask/Mask.d.ts +16 -16
  46. package/types/components/Range/Range.d.ts +2215 -439
  47. package/types/components/Scrollbar/Scrollbar.config.d.ts +2 -0
  48. package/types/components/TextArea/TextArea.d.ts +32 -32
  49. package/types/components/TextField/TextField.d.ts +32 -32
  50. package/types/components/TimePicker/TimePicker.d.ts +8 -2
  51. package/types/index.d.ts +1 -0
@@ -36,7 +36,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
36
36
  labelPlacement?: string;
37
37
  readOnly?: boolean;
38
38
  disabled?: boolean;
39
- portal?: string | React.RefObject<HTMLElement>;
39
+ portal?: string | React.RefObject<HTMLElement | null>;
40
40
  zIndex?: React.CSSProperties["zIndex"];
41
41
  value?: string;
42
42
  defaultValue?: string;
@@ -94,7 +94,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
94
94
  labelPlacement?: string;
95
95
  readOnly?: boolean;
96
96
  disabled?: boolean;
97
- portal?: string | React.RefObject<HTMLElement>;
97
+ portal?: string | React.RefObject<HTMLElement | null>;
98
98
  zIndex?: React.CSSProperties["zIndex"];
99
99
  value?: string;
100
100
  defaultValue?: string;
@@ -154,7 +154,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
154
154
  labelPlacement?: string;
155
155
  readOnly?: boolean;
156
156
  disabled?: boolean;
157
- portal?: string | React.RefObject<HTMLElement>;
157
+ portal?: string | React.RefObject<HTMLElement | null>;
158
158
  zIndex?: React.CSSProperties["zIndex"];
159
159
  value?: string;
160
160
  defaultValue?: string;
@@ -212,7 +212,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
212
212
  labelPlacement?: string;
213
213
  readOnly?: boolean;
214
214
  disabled?: boolean;
215
- portal?: string | React.RefObject<HTMLElement>;
215
+ portal?: string | React.RefObject<HTMLElement | null>;
216
216
  zIndex?: React.CSSProperties["zIndex"];
217
217
  value?: string;
218
218
  defaultValue?: string;
@@ -272,7 +272,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
272
272
  labelPlacement?: string;
273
273
  readOnly?: boolean;
274
274
  disabled?: boolean;
275
- portal?: string | React.RefObject<HTMLElement>;
275
+ portal?: string | React.RefObject<HTMLElement | null>;
276
276
  zIndex?: React.CSSProperties["zIndex"];
277
277
  value?: string;
278
278
  defaultValue?: string;
@@ -330,7 +330,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
330
330
  labelPlacement?: string;
331
331
  readOnly?: boolean;
332
332
  disabled?: boolean;
333
- portal?: string | React.RefObject<HTMLElement>;
333
+ portal?: string | React.RefObject<HTMLElement | null>;
334
334
  zIndex?: React.CSSProperties["zIndex"];
335
335
  value?: string;
336
336
  defaultValue?: string;
@@ -390,7 +390,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
390
390
  labelPlacement?: string;
391
391
  readOnly?: boolean;
392
392
  disabled?: boolean;
393
- portal?: string | React.RefObject<HTMLElement>;
393
+ portal?: string | React.RefObject<HTMLElement | null>;
394
394
  zIndex?: React.CSSProperties["zIndex"];
395
395
  value?: string;
396
396
  defaultValue?: string;
@@ -448,7 +448,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
448
448
  labelPlacement?: string;
449
449
  readOnly?: boolean;
450
450
  disabled?: boolean;
451
- portal?: string | React.RefObject<HTMLElement>;
451
+ portal?: string | React.RefObject<HTMLElement | null>;
452
452
  zIndex?: React.CSSProperties["zIndex"];
453
453
  value?: string;
454
454
  defaultValue?: string;
@@ -88,6 +88,8 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
88
88
  text?: string | undefined;
89
89
  customColor?: string | undefined;
90
90
  customBackgroundColor?: string | undefined;
91
+ clear?: boolean | undefined;
92
+ transparent?: boolean | undefined;
91
93
  contentLeft?: import("react").ReactNode;
92
94
  contentRight?: import("react").ReactNode;
93
95
  } & {
@@ -118,6 +120,8 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
118
120
  text?: undefined;
119
121
  customColor?: undefined;
120
122
  customBackgroundColor?: undefined;
123
+ clear?: undefined;
124
+ transparent?: undefined;
121
125
  contentLeft?: undefined;
122
126
  contentRight?: never | undefined;
123
127
  } & import("react").RefAttributes<HTMLDivElement>)>;
@@ -176,6 +180,8 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
176
180
  text?: string | undefined;
177
181
  customColor?: string | undefined;
178
182
  customBackgroundColor?: string | undefined;
183
+ clear?: boolean | undefined;
184
+ transparent?: boolean | undefined;
179
185
  contentLeft?: import("react").ReactNode;
180
186
  contentRight?: import("react").ReactNode;
181
187
  } & {
@@ -206,6 +212,8 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
206
212
  text?: undefined;
207
213
  customColor?: undefined;
208
214
  customBackgroundColor?: undefined;
215
+ clear?: undefined;
216
+ transparent?: undefined;
209
217
  contentLeft?: undefined;
210
218
  contentRight?: never | undefined;
211
219
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -0,0 +1,31 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ view: {
8
+ default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
9
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
10
+ positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
11
+ warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
12
+ negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
13
+ black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
14
+ white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
15
+ dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
16
+ light: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
17
+ };
18
+ size: {
19
+ l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
20
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
21
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
22
+ xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
23
+ };
24
+ pilled: {
25
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
26
+ };
27
+ truncate: {
28
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
29
+ };
30
+ };
31
+ };
@@ -0,0 +1,5 @@
1
+ export declare const sizeL: string;
2
+ export declare const sizeM: string;
3
+ export declare const sizeS: string;
4
+ export declare const sizeXS: string;
5
+ export declare const pilled: string;
@@ -1,7 +1,4 @@
1
- /**
2
- * Компонент Badge.
3
- */
4
- export declare const Badge: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
1
+ export declare const BadgeDefault: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
5
2
  view: {
6
3
  default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
7
4
  accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
@@ -33,55 +30,386 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
33
30
  customColor?: string;
34
31
  customBackgroundColor?: string;
35
32
  maxWidth?: import("react").CSSProperties["width"];
33
+ pilled?: boolean;
36
34
  size?: string;
37
35
  view?: string;
36
+ appearance?: "default" | "transparent" | "clear";
37
+ clear?: boolean;
38
+ transparent?: boolean;
38
39
  } & {
39
40
  contentLeft?: import("react").ReactNode;
40
41
  contentRight?: never;
41
- } & {
42
- clear?: true;
43
- pilled?: never;
44
- transparent?: never;
45
42
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
46
43
  text?: string;
47
44
  customColor?: string;
48
45
  customBackgroundColor?: string;
49
46
  maxWidth?: import("react").CSSProperties["width"];
47
+ pilled?: boolean;
50
48
  size?: string;
51
49
  view?: string;
50
+ appearance?: "default" | "transparent" | "clear";
51
+ clear?: boolean;
52
+ transparent?: boolean;
53
+ } & {
54
+ contentLeft?: never;
55
+ contentRight?: import("react").ReactNode;
56
+ } & import("react").RefAttributes<HTMLDivElement>))>;
57
+ export declare const BadgeClear: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
58
+ view: {
59
+ default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
60
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
61
+ positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
62
+ warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
63
+ negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
64
+ black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
65
+ white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
66
+ dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
67
+ light: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
68
+ };
69
+ size: {
70
+ l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
71
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
72
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
73
+ xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
74
+ };
75
+ pilled: {
76
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
77
+ };
78
+ truncate: {
79
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
80
+ };
81
+ }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
82
+ text?: string;
83
+ customColor?: string;
84
+ customBackgroundColor?: string;
85
+ maxWidth?: import("react").CSSProperties["width"];
86
+ pilled?: boolean;
87
+ size?: string;
88
+ view?: string;
89
+ appearance?: "default" | "transparent" | "clear";
90
+ clear?: boolean;
91
+ transparent?: boolean;
52
92
  } & {
53
93
  contentLeft?: import("react").ReactNode;
54
94
  contentRight?: never;
95
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
96
+ text?: string;
97
+ customColor?: string;
98
+ customBackgroundColor?: string;
99
+ maxWidth?: import("react").CSSProperties["width"];
100
+ pilled?: boolean;
101
+ size?: string;
102
+ view?: string;
103
+ appearance?: "default" | "transparent" | "clear";
104
+ clear?: boolean;
105
+ transparent?: boolean;
55
106
  } & {
107
+ contentLeft?: never;
108
+ contentRight?: import("react").ReactNode;
109
+ } & import("react").RefAttributes<HTMLDivElement>))>;
110
+ export declare const BadgeTransparent: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
111
+ view: {
112
+ default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
113
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
114
+ positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
115
+ warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
116
+ negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
117
+ black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
118
+ white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
119
+ dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
120
+ light: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
121
+ };
122
+ size: {
123
+ l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
124
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
125
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
126
+ xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
127
+ };
128
+ pilled: {
129
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
130
+ };
131
+ transparent: {
132
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
133
+ };
134
+ truncate: {
135
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
136
+ };
137
+ }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
138
+ text?: string;
139
+ customColor?: string;
140
+ customBackgroundColor?: string;
141
+ maxWidth?: import("react").CSSProperties["width"];
56
142
  pilled?: boolean;
143
+ size?: string;
144
+ view?: string;
145
+ appearance?: "default" | "transparent" | "clear";
146
+ clear?: boolean;
57
147
  transparent?: boolean;
58
- clear?: never;
148
+ } & {
149
+ contentLeft?: import("react").ReactNode;
150
+ contentRight?: never;
59
151
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
60
152
  text?: string;
61
153
  customColor?: string;
62
154
  customBackgroundColor?: string;
63
155
  maxWidth?: import("react").CSSProperties["width"];
156
+ pilled?: boolean;
64
157
  size?: string;
65
158
  view?: string;
159
+ appearance?: "default" | "transparent" | "clear";
160
+ clear?: boolean;
161
+ transparent?: boolean;
66
162
  } & {
67
163
  contentLeft?: never;
68
164
  contentRight?: import("react").ReactNode;
165
+ } & import("react").RefAttributes<HTMLDivElement>))>;
166
+ /**
167
+ * Компонент Badge.
168
+ */
169
+ export declare const Badge: import("react").ForwardRefExoticComponent<(((Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
170
+ view: {
171
+ default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
172
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
173
+ positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
174
+ warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
175
+ negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
176
+ black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
177
+ white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
178
+ dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
179
+ light: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
180
+ };
181
+ size: {
182
+ l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
183
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
184
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
185
+ xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
186
+ };
187
+ pilled: {
188
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
189
+ };
190
+ transparent: {
191
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
192
+ };
193
+ clear: {
194
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
195
+ };
196
+ }> & import("react").HTMLAttributes<HTMLDivElement> & {
197
+ text?: string;
198
+ customColor?: string;
199
+ customBackgroundColor?: string;
200
+ maxWidth?: import("react").CSSProperties["width"];
201
+ pilled?: boolean;
202
+ size?: string;
203
+ view?: string;
204
+ appearance?: "default" | "transparent" | "clear";
205
+ clear?: boolean;
206
+ transparent?: boolean;
69
207
  } & {
70
- clear?: true;
71
- pilled?: never;
72
- transparent?: never;
73
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
208
+ contentLeft?: import("react").ReactNode;
209
+ contentRight?: never;
210
+ } & import("react").RefAttributes<HTMLDivElement>, "ref">, "appearance"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
211
+ view: {
212
+ default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
213
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
214
+ positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
215
+ warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
216
+ negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
217
+ black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
218
+ white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
219
+ dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
220
+ light: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
221
+ };
222
+ size: {
223
+ l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
224
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
225
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
226
+ xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
227
+ };
228
+ pilled: {
229
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
230
+ };
231
+ transparent: {
232
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
233
+ };
234
+ clear: {
235
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
236
+ };
237
+ }> & import("react").HTMLAttributes<HTMLDivElement> & {
74
238
  text?: string;
75
239
  customColor?: string;
76
240
  customBackgroundColor?: string;
77
241
  maxWidth?: import("react").CSSProperties["width"];
242
+ pilled?: boolean;
78
243
  size?: string;
79
244
  view?: string;
245
+ appearance?: "default" | "transparent" | "clear";
246
+ clear?: boolean;
247
+ transparent?: boolean;
80
248
  } & {
81
249
  contentLeft?: never;
82
250
  contentRight?: import("react").ReactNode;
251
+ } & import("react").RefAttributes<HTMLDivElement>, "ref">, "appearance">) & {
252
+ appearance?: "default";
253
+ }) | ((Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
254
+ view: {
255
+ default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
256
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
257
+ positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
258
+ warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
259
+ negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
260
+ black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
261
+ white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
262
+ dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
263
+ light: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
264
+ };
265
+ size: {
266
+ l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
267
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
268
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
269
+ xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
270
+ };
271
+ pilled: {
272
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
273
+ };
274
+ truncate: {
275
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
276
+ };
277
+ }> & import("react").HTMLAttributes<HTMLDivElement> & {
278
+ text?: string;
279
+ customColor?: string;
280
+ customBackgroundColor?: string;
281
+ maxWidth?: import("react").CSSProperties["width"];
282
+ pilled?: boolean;
283
+ size?: string;
284
+ view?: string;
285
+ appearance?: "default" | "transparent" | "clear";
286
+ clear?: boolean;
287
+ transparent?: boolean;
83
288
  } & {
289
+ contentLeft?: import("react").ReactNode;
290
+ contentRight?: never;
291
+ } & import("react").RefAttributes<HTMLDivElement>, "ref">, "appearance"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
292
+ view: {
293
+ default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
294
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
295
+ positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
296
+ warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
297
+ negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
298
+ black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
299
+ white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
300
+ dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
301
+ light: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
302
+ };
303
+ size: {
304
+ l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
305
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
306
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
307
+ xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
308
+ };
309
+ pilled: {
310
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
311
+ };
312
+ truncate: {
313
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
314
+ };
315
+ }> & import("react").HTMLAttributes<HTMLDivElement> & {
316
+ text?: string;
317
+ customColor?: string;
318
+ customBackgroundColor?: string;
319
+ maxWidth?: import("react").CSSProperties["width"];
84
320
  pilled?: boolean;
321
+ size?: string;
322
+ view?: string;
323
+ appearance?: "default" | "transparent" | "clear";
324
+ clear?: boolean;
85
325
  transparent?: boolean;
86
- clear?: never;
87
- } & import("react").RefAttributes<HTMLDivElement>))>;
326
+ } & {
327
+ contentLeft?: never;
328
+ contentRight?: import("react").ReactNode;
329
+ } & import("react").RefAttributes<HTMLDivElement>, "ref">, "appearance">) & {
330
+ appearance: "clear";
331
+ }) | ((Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
332
+ view: {
333
+ default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
334
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
335
+ positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
336
+ warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
337
+ negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
338
+ black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
339
+ white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
340
+ dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
341
+ light: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
342
+ };
343
+ size: {
344
+ l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
345
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
346
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
347
+ xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
348
+ };
349
+ pilled: {
350
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
351
+ };
352
+ transparent: {
353
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
354
+ };
355
+ truncate: {
356
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
357
+ };
358
+ }> & import("react").HTMLAttributes<HTMLDivElement> & {
359
+ text?: string;
360
+ customColor?: string;
361
+ customBackgroundColor?: string;
362
+ maxWidth?: import("react").CSSProperties["width"];
363
+ pilled?: boolean;
364
+ size?: string;
365
+ view?: string;
366
+ appearance?: "default" | "transparent" | "clear";
367
+ clear?: boolean;
368
+ transparent?: boolean;
369
+ } & {
370
+ contentLeft?: import("react").ReactNode;
371
+ contentRight?: never;
372
+ } & import("react").RefAttributes<HTMLDivElement>, "ref">, "appearance"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
373
+ view: {
374
+ default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
375
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
376
+ positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
377
+ warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
378
+ negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
379
+ black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
380
+ white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
381
+ dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
382
+ light: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
383
+ };
384
+ size: {
385
+ l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
386
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
387
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
388
+ xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
389
+ };
390
+ pilled: {
391
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
392
+ };
393
+ transparent: {
394
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
395
+ };
396
+ truncate: {
397
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
398
+ };
399
+ }> & import("react").HTMLAttributes<HTMLDivElement> & {
400
+ text?: string;
401
+ customColor?: string;
402
+ customBackgroundColor?: string;
403
+ maxWidth?: import("react").CSSProperties["width"];
404
+ pilled?: boolean;
405
+ size?: string;
406
+ view?: string;
407
+ appearance?: "default" | "transparent" | "clear";
408
+ clear?: boolean;
409
+ transparent?: boolean;
410
+ } & {
411
+ contentLeft?: never;
412
+ contentRight?: import("react").ReactNode;
413
+ } & import("react").RefAttributes<HTMLDivElement>, "ref">, "appearance">) & {
414
+ appearance: "transparent";
415
+ })) & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,34 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ view: {
8
+ default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
9
+ accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
10
+ positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
11
+ warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
12
+ negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
13
+ black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
14
+ white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
15
+ dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
16
+ light: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
17
+ };
18
+ size: {
19
+ l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
20
+ m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
21
+ s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
22
+ xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
23
+ };
24
+ pilled: {
25
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
26
+ };
27
+ transparent: {
28
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
29
+ };
30
+ truncate: {
31
+ true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
32
+ };
33
+ };
34
+ };
@@ -32,4 +32,4 @@ export declare const CodeField: import("react").FunctionComponent<import("@salut
32
32
  codeErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeField/CodeField.types.js").CodeErrorBehavior;
33
33
  onChange?: (value: string) => void;
34
34
  onFullCodeEnter?: (code: string) => void;
35
- } & Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-label" | "autoComplete"> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange"> & import("react").RefAttributes<HTMLInputElement>>;
35
+ } & Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "inputMode" | "aria-label" | "autoComplete"> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange"> & import("react").RefAttributes<HTMLInputElement>>;
@@ -31,4 +31,4 @@ export declare const CodeInput: import("react").FunctionComponent<import("@salut
31
31
  setIsError?: React.Dispatch<React.SetStateAction<boolean>>;
32
32
  onChange?: (value: string) => void;
33
33
  onFullCodeEnter?: (code: string) => void;
34
- } & Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-label" | "autoComplete"> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange"> & import("react").RefAttributes<HTMLInputElement>>;
34
+ } & Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "inputMode" | "aria-label" | "autoComplete"> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange"> & import("react").RefAttributes<HTMLInputElement>>;