@salutejs/sdds-cs 0.319.1 → 0.320.0-canary.1983.15896947411.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.
- package/CHANGELOG.md +0 -56
- package/components/Attach/Attach.d.ts +8 -8
- package/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/components/Button/Button.d.ts +4 -4
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/DatePicker/DatePicker.d.ts +3 -3
- package/components/Dropdown/Dropdown.d.ts +2 -2
- package/components/IconButton/IconButton.d.ts +2 -2
- package/components/Mask/Mask.d.ts +8 -8
- package/components/NumberInput/NumberInput.d.ts +2 -2
- package/components/Radiobox/Radiobox.d.ts +2 -28
- package/components/Select/Select.d.ts +6 -6
- package/components/TextField/TextField.d.ts +8 -8
- package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
@@ -1,59 +1,3 @@
|
|
1
|
-
## 0.319.0 (26 июня 2025)
|
2
|
-
|
3
|
-
## Функциональные изменения в компонентах
|
4
|
-
|
5
|
-
### Tree
|
6
|
-
|
7
|
-
* исправлен баг, из-за которого в некоторых случаях не отображался цвет выделенного элемента;
|
8
|
-
|
9
|
-
[PR](https://github.com/salute-developers/plasma/pull/2038)
|
10
|
-
|
11
|
-
### Combobox
|
12
|
-
|
13
|
-
* исправлен баг, из-за которого label в таргете не обновлялся при обновлении списка `items`;
|
14
|
-
|
15
|
-
[PR](https://github.com/salute-developers/plasma/pull/2043)
|
16
|
-
|
17
|
-
### Calendar
|
18
|
-
|
19
|
-
* исправлен функционал по формированию ref на элементы календарной сетки
|
20
|
-
* добавлена возможность динамически менять `type`
|
21
|
-
|
22
|
-
**Before**:
|
23
|
-
|
24
|
-
https://github.com/user-attachments/assets/45c7c426-6d31-4fb9-bc5f-b20a2f8a4105
|
25
|
-
|
26
|
-
**After**:
|
27
|
-
|
28
|
-
https://github.com/user-attachments/assets/8a13d0ec-8d8a-4764-8305-7a3dc33887d2
|
29
|
-
|
30
|
-
[PR](https://github.com/salute-developers/plasma/pull/2024)
|
31
|
-
|
32
|
-
### Popup, Modal, Drawer
|
33
|
-
|
34
|
-
* массив элементов контекста Popup заменен на Map
|
35
|
-
|
36
|
-
* исправлен импорт safeUseId
|
37
|
-
|
38
|
-
[PR](https://github.com/salute-developers/plasma/pull/2022)
|
39
|
-
|
40
|
-
### Carousel
|
41
|
-
|
42
|
-
* появилась возможно настраивать отступ между слайдами через пропс `gap`;
|
43
|
-
|
44
|
-
* незначительные исправления и улучшения;
|
45
|
-
|
46
|
-
[PR](https://github.com/salute-developers/plasma/pull/2018)
|
47
|
-
|
48
|
-
### CodeInput
|
49
|
-
|
50
|
-
* добавлен новый компонент
|
51
|
-
|
52
|
-
<img width="764" src="https://github.com/user-attachments/assets/aaf5c046-9229-475f-aa5d-312533d5d5f6" />
|
53
|
-
|
54
|
-
[PR](https://github.com/salute-developers/plasma/pull/1973)
|
55
|
-
|
56
|
-
|
57
1
|
## 0.318.0 (11 июня 2025)
|
58
2
|
|
59
3
|
## Функциональные изменения в компонентах
|
@@ -21,7 +21,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
21
21
|
isLoading?: boolean;
|
22
22
|
loader?: import("react").ReactNode;
|
23
23
|
stretch?: boolean;
|
24
|
-
stretching?: "
|
24
|
+
stretching?: "fixed" | "auto" | "filled";
|
25
25
|
square?: boolean;
|
26
26
|
focused?: boolean;
|
27
27
|
disabled?: boolean;
|
@@ -44,7 +44,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
44
44
|
isLoading?: boolean;
|
45
45
|
loader?: import("react").ReactNode;
|
46
46
|
stretch?: boolean;
|
47
|
-
stretching?: "
|
47
|
+
stretching?: "fixed" | "auto" | "filled";
|
48
48
|
square?: boolean;
|
49
49
|
focused?: boolean;
|
50
50
|
disabled?: boolean;
|
@@ -70,7 +70,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
70
70
|
isLoading?: boolean;
|
71
71
|
loader?: import("react").ReactNode;
|
72
72
|
stretch?: boolean;
|
73
|
-
stretching?: "
|
73
|
+
stretching?: "fixed" | "auto" | "filled";
|
74
74
|
square?: boolean;
|
75
75
|
focused?: boolean;
|
76
76
|
disabled?: boolean;
|
@@ -94,7 +94,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
94
94
|
isLoading?: boolean;
|
95
95
|
loader?: import("react").ReactNode;
|
96
96
|
stretch?: boolean;
|
97
|
-
stretching?: "
|
97
|
+
stretching?: "fixed" | "auto" | "filled";
|
98
98
|
square?: boolean;
|
99
99
|
focused?: boolean;
|
100
100
|
disabled?: boolean;
|
@@ -121,7 +121,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
121
121
|
isLoading?: boolean;
|
122
122
|
loader?: import("react").ReactNode;
|
123
123
|
stretch?: boolean;
|
124
|
-
stretching?: "
|
124
|
+
stretching?: "fixed" | "auto" | "filled";
|
125
125
|
square?: boolean;
|
126
126
|
focused?: boolean;
|
127
127
|
disabled?: boolean;
|
@@ -147,7 +147,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
147
147
|
isLoading?: boolean;
|
148
148
|
loader?: import("react").ReactNode;
|
149
149
|
stretch?: boolean;
|
150
|
-
stretching?: "
|
150
|
+
stretching?: "fixed" | "auto" | "filled";
|
151
151
|
square?: boolean;
|
152
152
|
focused?: boolean;
|
153
153
|
disabled?: boolean;
|
@@ -170,7 +170,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
170
170
|
isLoading?: boolean;
|
171
171
|
loader?: import("react").ReactNode;
|
172
172
|
stretch?: boolean;
|
173
|
-
stretching?: "
|
173
|
+
stretching?: "fixed" | "auto" | "filled";
|
174
174
|
square?: boolean;
|
175
175
|
focused?: boolean;
|
176
176
|
disabled?: boolean;
|
@@ -197,7 +197,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
197
197
|
isLoading?: boolean;
|
198
198
|
loader?: import("react").ReactNode;
|
199
199
|
stretch?: boolean;
|
200
|
-
stretching?: "
|
200
|
+
stretching?: "fixed" | "auto" | "filled";
|
201
201
|
square?: boolean;
|
202
202
|
focused?: boolean;
|
203
203
|
disabled?: boolean;
|
@@ -69,7 +69,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
|
|
69
69
|
chipType?: never;
|
70
70
|
chipView?: never;
|
71
71
|
chipValidator?: never;
|
72
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
72
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
73
73
|
size?: string;
|
74
74
|
view?: string;
|
75
75
|
labelPlacement?: string;
|
@@ -124,7 +124,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
|
|
124
124
|
chipValidator?: (value: string) => {
|
125
125
|
view?: string;
|
126
126
|
};
|
127
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
127
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
128
128
|
size?: string;
|
129
129
|
view?: string;
|
130
130
|
labelPlacement?: string;
|
@@ -177,7 +177,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
|
|
177
177
|
chipType?: never;
|
178
178
|
chipView?: never;
|
179
179
|
chipValidator?: never;
|
180
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
180
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
181
181
|
size?: string;
|
182
182
|
view?: string;
|
183
183
|
labelPlacement?: string;
|
@@ -232,7 +232,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
|
|
232
232
|
chipValidator?: (value: string) => {
|
233
233
|
view?: string;
|
234
234
|
};
|
235
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
235
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
236
236
|
size?: string;
|
237
237
|
view?: string;
|
238
238
|
labelPlacement?: string;
|
@@ -285,7 +285,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
|
|
285
285
|
chipType?: never;
|
286
286
|
chipView?: never;
|
287
287
|
chipValidator?: never;
|
288
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
288
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
289
289
|
size?: string;
|
290
290
|
view?: string;
|
291
291
|
labelPlacement?: string;
|
@@ -340,7 +340,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
|
|
340
340
|
chipValidator?: (value: string) => {
|
341
341
|
view?: string;
|
342
342
|
};
|
343
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
343
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
344
344
|
size?: string;
|
345
345
|
view?: string;
|
346
346
|
labelPlacement?: string;
|
@@ -393,7 +393,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
|
|
393
393
|
chipType?: never;
|
394
394
|
chipView?: never;
|
395
395
|
chipValidator?: never;
|
396
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
396
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
397
397
|
size?: string;
|
398
398
|
view?: string;
|
399
399
|
labelPlacement?: string;
|
@@ -448,4 +448,4 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
|
|
448
448
|
chipValidator?: (value: string) => {
|
449
449
|
view?: string;
|
450
450
|
};
|
451
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
451
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -24,7 +24,7 @@ declare const ButtonComponent: React.FunctionComponent<import("@salutejs/plasma-
|
|
24
24
|
isLoading?: boolean;
|
25
25
|
loader?: React.ReactNode;
|
26
26
|
stretch?: boolean;
|
27
|
-
stretching?: "
|
27
|
+
stretching?: "fixed" | "auto" | "filled";
|
28
28
|
square?: boolean;
|
29
29
|
focused?: boolean;
|
30
30
|
disabled?: boolean;
|
@@ -45,7 +45,7 @@ declare const ButtonComponent: React.FunctionComponent<import("@salutejs/plasma-
|
|
45
45
|
isLoading?: boolean;
|
46
46
|
loader?: React.ReactNode;
|
47
47
|
stretch?: boolean;
|
48
|
-
stretching?: "
|
48
|
+
stretching?: "fixed" | "auto" | "filled";
|
49
49
|
square?: boolean;
|
50
50
|
focused?: boolean;
|
51
51
|
disabled?: boolean;
|
@@ -89,7 +89,7 @@ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salu
|
|
89
89
|
isLoading?: boolean;
|
90
90
|
loader?: React.ReactNode;
|
91
91
|
stretch?: boolean;
|
92
|
-
stretching?: "
|
92
|
+
stretching?: "fixed" | "auto" | "filled";
|
93
93
|
square?: boolean;
|
94
94
|
focused?: boolean;
|
95
95
|
disabled?: boolean;
|
@@ -128,7 +128,7 @@ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salu
|
|
128
128
|
isLoading?: boolean;
|
129
129
|
loader?: React.ReactNode;
|
130
130
|
stretch?: boolean;
|
131
|
-
stretching?: "
|
131
|
+
stretching?: "fixed" | "auto" | "filled";
|
132
132
|
square?: boolean;
|
133
133
|
focused?: boolean;
|
134
134
|
disabled?: boolean;
|
@@ -73,7 +73,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
73
73
|
hintOffset?: [number, number];
|
74
74
|
hintWidth?: string;
|
75
75
|
hintContentLeft?: React.ReactNode;
|
76
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
76
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
77
77
|
items: ComboboxItemOption[];
|
78
78
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
79
79
|
placeholder?: string;
|
@@ -127,7 +127,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
127
127
|
hintOffset?: never;
|
128
128
|
hintWidth?: never;
|
129
129
|
hintContentLeft?: never;
|
130
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
130
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
131
131
|
items: ComboboxItemOption[];
|
132
132
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
133
133
|
placeholder?: string;
|
@@ -181,7 +181,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
181
181
|
hintOffset?: [number, number];
|
182
182
|
hintWidth?: string;
|
183
183
|
hintContentLeft?: React.ReactNode;
|
184
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
184
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
185
185
|
items: ComboboxItemOption[];
|
186
186
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
187
187
|
placeholder?: string;
|
@@ -235,7 +235,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
235
235
|
hintOffset?: never;
|
236
236
|
hintWidth?: never;
|
237
237
|
hintContentLeft?: never;
|
238
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
238
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
239
239
|
items: ComboboxItemOption[];
|
240
240
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
241
241
|
placeholder?: string;
|
@@ -289,7 +289,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
289
289
|
hintOffset?: [number, number];
|
290
290
|
hintWidth?: string;
|
291
291
|
hintContentLeft?: React.ReactNode;
|
292
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
292
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
293
293
|
items: ComboboxItemOption[];
|
294
294
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
295
295
|
placeholder?: string;
|
@@ -343,7 +343,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
343
343
|
hintOffset?: never;
|
344
344
|
hintWidth?: never;
|
345
345
|
hintContentLeft?: never;
|
346
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
346
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
347
347
|
items: ComboboxItemOption[];
|
348
348
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
349
349
|
placeholder?: string;
|
@@ -397,7 +397,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
397
397
|
hintOffset?: [number, number];
|
398
398
|
hintWidth?: string;
|
399
399
|
hintContentLeft?: React.ReactNode;
|
400
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
400
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
401
401
|
items: ComboboxItemOption[];
|
402
402
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
403
403
|
placeholder?: string;
|
@@ -451,7 +451,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
451
451
|
hintOffset?: never;
|
452
452
|
hintWidth?: never;
|
453
453
|
hintContentLeft?: never;
|
454
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
454
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
455
455
|
items: ComboboxItemOption[];
|
456
456
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
457
457
|
placeholder?: string;
|
@@ -505,7 +505,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
505
505
|
hintOffset?: [number, number];
|
506
506
|
hintWidth?: string;
|
507
507
|
hintContentLeft?: React.ReactNode;
|
508
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
508
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
509
509
|
items: ComboboxItemOption[];
|
510
510
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
511
511
|
placeholder?: string;
|
@@ -559,7 +559,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
559
559
|
hintOffset?: never;
|
560
560
|
hintWidth?: never;
|
561
561
|
hintContentLeft?: never;
|
562
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
562
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
563
563
|
items: ComboboxItemOption[];
|
564
564
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
565
565
|
placeholder?: string;
|
@@ -613,7 +613,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
613
613
|
hintOffset?: [number, number];
|
614
614
|
hintWidth?: string;
|
615
615
|
hintContentLeft?: React.ReactNode;
|
616
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
616
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
617
617
|
items: ComboboxItemOption[];
|
618
618
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
619
619
|
placeholder?: string;
|
@@ -667,7 +667,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
667
667
|
hintOffset?: never;
|
668
668
|
hintWidth?: never;
|
669
669
|
hintContentLeft?: never;
|
670
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
670
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
671
671
|
items: ComboboxItemOption[];
|
672
672
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
673
673
|
placeholder?: string;
|
@@ -721,7 +721,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
721
721
|
hintOffset?: [number, number];
|
722
722
|
hintWidth?: string;
|
723
723
|
hintContentLeft?: React.ReactNode;
|
724
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
724
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
725
725
|
items: ComboboxItemOption[];
|
726
726
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
727
727
|
placeholder?: string;
|
@@ -775,7 +775,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
775
775
|
hintOffset?: never;
|
776
776
|
hintWidth?: never;
|
777
777
|
hintContentLeft?: never;
|
778
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
778
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
779
779
|
items: ComboboxItemOption[];
|
780
780
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
781
781
|
placeholder?: string;
|
@@ -829,7 +829,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
829
829
|
hintOffset?: [number, number];
|
830
830
|
hintWidth?: string;
|
831
831
|
hintContentLeft?: React.ReactNode;
|
832
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
832
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
833
833
|
items: ComboboxItemOption[];
|
834
834
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
835
835
|
placeholder?: string;
|
@@ -883,7 +883,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
883
883
|
hintOffset?: never;
|
884
884
|
hintWidth?: never;
|
885
885
|
hintContentLeft?: never;
|
886
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
886
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
887
887
|
items: ComboboxItemOption[];
|
888
888
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
889
889
|
placeholder?: string;
|
@@ -937,7 +937,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
937
937
|
hintOffset?: [number, number];
|
938
938
|
hintWidth?: string;
|
939
939
|
hintContentLeft?: React.ReactNode;
|
940
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
940
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
941
941
|
items: ComboboxItemOption[];
|
942
942
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
943
943
|
placeholder?: string;
|
@@ -991,7 +991,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
991
991
|
hintOffset?: never;
|
992
992
|
hintWidth?: never;
|
993
993
|
hintContentLeft?: never;
|
994
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
994
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
995
995
|
items: ComboboxItemOption[];
|
996
996
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
997
997
|
placeholder?: string;
|
@@ -1045,7 +1045,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1045
1045
|
hintOffset?: [number, number];
|
1046
1046
|
hintWidth?: string;
|
1047
1047
|
hintContentLeft?: React.ReactNode;
|
1048
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1048
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1049
1049
|
items: ComboboxItemOption[];
|
1050
1050
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1051
1051
|
placeholder?: string;
|
@@ -1099,7 +1099,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1099
1099
|
hintOffset?: never;
|
1100
1100
|
hintWidth?: never;
|
1101
1101
|
hintContentLeft?: never;
|
1102
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1102
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1103
1103
|
items: ComboboxItemOption[];
|
1104
1104
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1105
1105
|
placeholder?: string;
|
@@ -1153,7 +1153,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1153
1153
|
hintOffset?: [number, number];
|
1154
1154
|
hintWidth?: string;
|
1155
1155
|
hintContentLeft?: React.ReactNode;
|
1156
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1156
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1157
1157
|
items: ComboboxItemOption[];
|
1158
1158
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1159
1159
|
placeholder?: string;
|
@@ -1207,7 +1207,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1207
1207
|
hintOffset?: never;
|
1208
1208
|
hintWidth?: never;
|
1209
1209
|
hintContentLeft?: never;
|
1210
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1210
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1211
1211
|
items: ComboboxItemOption[];
|
1212
1212
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1213
1213
|
placeholder?: string;
|
@@ -1261,7 +1261,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1261
1261
|
hintOffset?: [number, number];
|
1262
1262
|
hintWidth?: string;
|
1263
1263
|
hintContentLeft?: React.ReactNode;
|
1264
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1264
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1265
1265
|
items: ComboboxItemOption[];
|
1266
1266
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1267
1267
|
placeholder?: string;
|
@@ -1315,7 +1315,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1315
1315
|
hintOffset?: never;
|
1316
1316
|
hintWidth?: never;
|
1317
1317
|
hintContentLeft?: never;
|
1318
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1318
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>))>;
|
1319
1319
|
type PropsFromConfig = keyof typeof config['variations'];
|
1320
1320
|
export type Props<T extends ComboboxItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
|
1321
1321
|
declare const Combobox: <T extends ComboboxItemOption>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement | null;
|
@@ -27,13 +27,13 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
|
|
27
27
|
textBefore?: string;
|
28
28
|
textAfter?: string;
|
29
29
|
autoComplete?: string;
|
30
|
-
onCommitDate?: (value: Date | string, error?: boolean, success?: boolean, dateInfo?:
|
31
|
-
onChangeValue?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value?: string, originalDate?:
|
30
|
+
onCommitDate?: (value: Date | string, error?: boolean, success?: boolean, dateInfo?: DateInfo, originalDate?: Date, isoDate?: string) => void;
|
31
|
+
onChangeValue?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value?: string, originalDate?: DateType, isoDate?: string) => void;
|
32
32
|
onChange?: (event: {
|
33
33
|
target: {
|
34
34
|
value?: string;
|
35
35
|
name?: string;
|
36
|
-
originalDate?:
|
36
|
+
originalDate?: DateType;
|
37
37
|
isoDate?: string;
|
38
38
|
};
|
39
39
|
}) => void;
|
@@ -38,7 +38,7 @@ declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-
|
|
38
38
|
hoverIndex?: number;
|
39
39
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
40
40
|
export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
41
|
-
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "
|
41
|
+
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "view" | "size"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
42
42
|
size: {
|
43
43
|
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
44
44
|
};
|
@@ -74,5 +74,5 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
|
|
74
74
|
onItemClick?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
75
75
|
listHeight?: React.CSSProperties["height"];
|
76
76
|
hoverIndex?: number;
|
77
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "
|
77
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "view" | "size"> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
78
78
|
export { Dropdown };
|
@@ -24,7 +24,7 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
|
|
24
24
|
isLoading?: boolean;
|
25
25
|
loader?: import("react").ReactNode;
|
26
26
|
stretch?: boolean;
|
27
|
-
stretching?: "
|
27
|
+
stretching?: "fixed" | "auto" | "filled";
|
28
28
|
square?: boolean;
|
29
29
|
focused?: boolean;
|
30
30
|
disabled?: boolean;
|
@@ -45,7 +45,7 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
|
|
45
45
|
isLoading?: boolean;
|
46
46
|
loader?: import("react").ReactNode;
|
47
47
|
stretch?: boolean;
|
48
|
-
stretching?: "
|
48
|
+
stretching?: "fixed" | "auto" | "filled";
|
49
49
|
square?: boolean;
|
50
50
|
focused?: boolean;
|
51
51
|
disabled?: boolean;
|
@@ -61,7 +61,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
61
61
|
chipType?: never;
|
62
62
|
chipView?: never;
|
63
63
|
chipValidator?: never;
|
64
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
64
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
65
65
|
view: {
|
66
66
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
67
67
|
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -126,7 +126,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
126
126
|
chipValidator?: (value: string) => {
|
127
127
|
view?: string;
|
128
128
|
};
|
129
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
129
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
130
130
|
view: {
|
131
131
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
132
132
|
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -189,7 +189,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
189
189
|
chipType?: never;
|
190
190
|
chipView?: never;
|
191
191
|
chipValidator?: never;
|
192
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
192
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
193
193
|
view: {
|
194
194
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
195
195
|
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -254,7 +254,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
254
254
|
chipValidator?: (value: string) => {
|
255
255
|
view?: string;
|
256
256
|
};
|
257
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
257
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
258
258
|
view: {
|
259
259
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
260
260
|
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -317,7 +317,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
317
317
|
chipType?: never;
|
318
318
|
chipView?: never;
|
319
319
|
chipValidator?: never;
|
320
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
320
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
321
321
|
view: {
|
322
322
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
323
323
|
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -382,7 +382,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
382
382
|
chipValidator?: (value: string) => {
|
383
383
|
view?: string;
|
384
384
|
};
|
385
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
385
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
386
386
|
view: {
|
387
387
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
388
388
|
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -445,7 +445,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
445
445
|
chipType?: never;
|
446
446
|
chipView?: never;
|
447
447
|
chipValidator?: never;
|
448
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
448
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
449
449
|
view: {
|
450
450
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
451
451
|
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -510,4 +510,4 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
510
510
|
chipValidator?: (value: string) => {
|
511
511
|
view?: string;
|
512
512
|
};
|
513
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
513
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
|
@@ -44,7 +44,7 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
|
|
44
44
|
} & {
|
45
45
|
segmentation?: "clear";
|
46
46
|
inputBackgroundType?: never;
|
47
|
-
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
47
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
48
48
|
value?: number;
|
49
49
|
min?: number;
|
50
50
|
max?: number;
|
@@ -70,4 +70,4 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
|
|
70
70
|
} & {
|
71
71
|
segmentation?: string;
|
72
72
|
inputBackgroundType?: string;
|
73
|
-
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
73
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -1,34 +1,8 @@
|
|
1
1
|
import { ComponentProps } from 'react';
|
2
|
-
declare const RadioboxComponent: import("react").FunctionComponent<
|
3
|
-
size: {
|
4
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
-
};
|
6
|
-
view: {
|
7
|
-
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
-
};
|
9
|
-
disabled: {
|
10
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
-
};
|
12
|
-
focused: {
|
13
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
-
};
|
15
|
-
}> & import("@salutejs/plasma-new-hope/types/engines/types").Filter<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("@salutejs/plasma-new-hope/styled-components").BaseboxProps, "indeterminate" | "appearance"> & import("react").RefAttributes<HTMLInputElement>>;
|
2
|
+
declare const RadioboxComponent: import("react").FunctionComponent<any>;
|
16
3
|
export type RadioboxProps = ComponentProps<typeof RadioboxComponent>;
|
17
4
|
/**
|
18
5
|
* Переключатель, или *радиокнопка*.
|
19
6
|
*/
|
20
|
-
export declare const Radiobox: import("react").FunctionComponent<
|
21
|
-
size: {
|
22
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
|
-
};
|
24
|
-
view: {
|
25
|
-
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
|
-
};
|
27
|
-
disabled: {
|
28
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
|
-
};
|
30
|
-
focused: {
|
31
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
32
|
-
};
|
33
|
-
}> & import("@salutejs/plasma-new-hope/types/engines/types").Filter<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("@salutejs/plasma-new-hope/styled-components").BaseboxProps, "indeterminate" | "appearance"> & import("react").RefAttributes<HTMLInputElement>>;
|
7
|
+
export declare const Radiobox: import("react").FunctionComponent<any>;
|
34
8
|
export { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -78,7 +78,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
78
78
|
isOpen?: boolean;
|
79
79
|
listHeight?: React.CSSProperties["height"];
|
80
80
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
81
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
81
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
82
82
|
hintText: string;
|
83
83
|
hintTrigger?: "hover" | "click";
|
84
84
|
hintView?: string;
|
@@ -136,7 +136,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
136
136
|
isOpen?: boolean;
|
137
137
|
listHeight?: React.CSSProperties["height"];
|
138
138
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
139
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
139
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
140
140
|
hintTrigger?: never;
|
141
141
|
hintText?: never;
|
142
142
|
hintView?: never;
|
@@ -193,7 +193,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
193
193
|
isOpen?: boolean;
|
194
194
|
listHeight?: React.CSSProperties["height"];
|
195
195
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
196
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
196
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
197
197
|
hintTrigger?: never;
|
198
198
|
hintText?: never;
|
199
199
|
hintView?: never;
|
@@ -251,7 +251,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
251
251
|
isOpen?: boolean;
|
252
252
|
listHeight?: React.CSSProperties["height"];
|
253
253
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
254
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
254
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
255
255
|
target: "button-like";
|
256
256
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
257
257
|
contentLeft?: never;
|
@@ -296,7 +296,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
296
296
|
isOpen?: boolean;
|
297
297
|
listHeight?: React.CSSProperties["height"];
|
298
298
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
299
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
299
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
300
300
|
target: "button-like";
|
301
301
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
302
302
|
contentLeft?: never;
|
@@ -342,7 +342,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
342
342
|
isOpen?: boolean;
|
343
343
|
listHeight?: React.CSSProperties["height"];
|
344
344
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
345
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
345
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
346
346
|
export type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
347
347
|
declare const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
348
348
|
export { Select };
|
@@ -64,7 +64,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
64
64
|
chipType?: never;
|
65
65
|
chipView?: never;
|
66
66
|
chipValidator?: never;
|
67
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
67
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
68
68
|
size?: string;
|
69
69
|
view?: string;
|
70
70
|
readOnly?: boolean;
|
@@ -102,7 +102,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
102
102
|
chipValidator?: (value: string) => {
|
103
103
|
view?: string;
|
104
104
|
};
|
105
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
105
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
106
106
|
size?: string;
|
107
107
|
view?: string;
|
108
108
|
readOnly?: boolean;
|
@@ -138,7 +138,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
138
138
|
chipType?: never;
|
139
139
|
chipView?: never;
|
140
140
|
chipValidator?: never;
|
141
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
141
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
142
142
|
size?: string;
|
143
143
|
view?: string;
|
144
144
|
readOnly?: boolean;
|
@@ -176,7 +176,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
176
176
|
chipValidator?: (value: string) => {
|
177
177
|
view?: string;
|
178
178
|
};
|
179
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
179
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
180
180
|
size?: string;
|
181
181
|
view?: string;
|
182
182
|
readOnly?: boolean;
|
@@ -212,7 +212,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
212
212
|
chipType?: never;
|
213
213
|
chipView?: never;
|
214
214
|
chipValidator?: never;
|
215
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
215
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
216
216
|
size?: string;
|
217
217
|
view?: string;
|
218
218
|
readOnly?: boolean;
|
@@ -250,7 +250,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
250
250
|
chipValidator?: (value: string) => {
|
251
251
|
view?: string;
|
252
252
|
};
|
253
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
253
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
254
254
|
size?: string;
|
255
255
|
view?: string;
|
256
256
|
readOnly?: boolean;
|
@@ -286,7 +286,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
286
286
|
chipType?: never;
|
287
287
|
chipView?: never;
|
288
288
|
chipValidator?: never;
|
289
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
289
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
290
290
|
size?: string;
|
291
291
|
view?: string;
|
292
292
|
readOnly?: boolean;
|
@@ -324,4 +324,4 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
324
324
|
chipValidator?: (value: string) => {
|
325
325
|
view?: string;
|
326
326
|
};
|
327
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
327
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -28,7 +28,7 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
28
28
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
29
29
|
export declare const Subcategory: import("styled-components").StyledComponent<"div", any, {}, never>;
|
30
30
|
export declare const ColumnTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
31
|
-
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
31
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "title" | "onChange"> & {
|
32
32
|
value?: boolean;
|
33
33
|
type?: "clear" | "arrow" | "sign";
|
34
34
|
contentLeft?: React.ReactNode;
|
@@ -30,7 +30,7 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
30
30
|
export declare const AccordionTypographyTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
31
31
|
export declare const FontFamily: import("styled-components").StyledComponent<"span", any, {}, never>;
|
32
32
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
33
|
-
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
33
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "title" | "onChange"> & {
|
34
34
|
value?: boolean;
|
35
35
|
type?: "clear" | "arrow" | "sign";
|
36
36
|
contentLeft?: React.ReactNode;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-cs",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.320.0-canary.1983.15896947411.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS CS web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -30,8 +30,8 @@
|
|
30
30
|
"directory": "packages/sdds-cs"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@salutejs/plasma-new-hope": "0.
|
34
|
-
"@salutejs/sdds-themes": "0.
|
33
|
+
"@salutejs/plasma-new-hope": "0.328.0-canary.1983.15896947411.0",
|
34
|
+
"@salutejs/sdds-themes": "0.40.0-canary.1983.15896947411.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
37
37
|
"@emotion/react": ">=11",
|
@@ -54,10 +54,10 @@
|
|
54
54
|
"@microsoft/api-extractor": "7.38.3",
|
55
55
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
56
56
|
"@salutejs/plasma-colors": "0.15.0",
|
57
|
-
"@salutejs/plasma-core": "1.
|
58
|
-
"@salutejs/plasma-cy-utils": "0.
|
59
|
-
"@salutejs/plasma-icons": "1.219.0",
|
60
|
-
"@salutejs/plasma-sb-utils": "0.
|
57
|
+
"@salutejs/plasma-core": "1.200.0-canary.1983.15896947411.0",
|
58
|
+
"@salutejs/plasma-cy-utils": "0.131.0-canary.1983.15896947411.0",
|
59
|
+
"@salutejs/plasma-icons": "1.219.0-dev.0",
|
60
|
+
"@salutejs/plasma-sb-utils": "0.201.0-canary.1983.15896947411.0",
|
61
61
|
"@storybook/addon-docs": "7.6.17",
|
62
62
|
"@storybook/addon-essentials": "7.6.17",
|
63
63
|
"@storybook/addons": "7.6.17",
|
@@ -123,5 +123,5 @@
|
|
123
123
|
"Anton Vinogradov"
|
124
124
|
],
|
125
125
|
"sideEffects": false,
|
126
|
-
"gitHead": "
|
126
|
+
"gitHead": "7ec4cf245e0ca7320d5f44220ac121c73d8db6d9"
|
127
127
|
}
|