@salutejs/sdds-finai 0.324.0-canary.2423.20988873450.0 → 0.324.0-canary.2424.21061741521.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/dist/styled-components/cjs/components/DatePicker/DatePicker.config.js +126 -71
- package/dist/styled-components/cjs/components/Range/Range.config.js +10 -1
- package/dist/styled-components/cjs/components/TextArea/TextArea.config.js +376 -324
- package/dist/styled-components/es/components/DatePicker/DatePicker.config.js +126 -71
- package/dist/styled-components/es/components/Range/Range.config.js +10 -1
- package/dist/styled-components/es/components/TextArea/TextArea.config.js +376 -324
- package/package.json +7 -7
- package/types/components/DatePicker/DatePicker.d.ts +61 -4
- package/types/components/TextArea/TextArea.config.d.ts +10 -7
- package/types/components/TextArea/TextArea.d.ts +10 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/sdds-finai",
|
|
3
|
-
"version": "0.324.0-canary.
|
|
3
|
+
"version": "0.324.0-canary.2424.21061741521.0",
|
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS FinAI web applications",
|
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
|
6
6
|
"exports": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"directory": "packages/sdds-fiai"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@salutejs/plasma-new-hope": "0.345.0-canary.
|
|
36
|
-
"@salutejs/sdds-themes": "0.52.0-canary.
|
|
35
|
+
"@salutejs/plasma-new-hope": "0.345.0-canary.2424.21061741521.0",
|
|
36
|
+
"@salutejs/sdds-themes": "0.52.0-canary.2424.21061741521.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=16.13.1",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"@babel/preset-react": "7.24.1",
|
|
50
50
|
"@babel/preset-typescript": "7.24.1",
|
|
51
51
|
"@salutejs/plasma-colors": "0.16.0",
|
|
52
|
-
"@salutejs/plasma-core": "1.213.0-canary.
|
|
53
|
-
"@salutejs/plasma-cy-utils": "0.143.0-canary.
|
|
52
|
+
"@salutejs/plasma-core": "1.213.0-canary.2424.21061741521.0",
|
|
53
|
+
"@salutejs/plasma-cy-utils": "0.143.0-canary.2424.21061741521.0",
|
|
54
54
|
"@salutejs/plasma-icons": "1.228.0",
|
|
55
|
-
"@salutejs/plasma-sb-utils": "0.213.0-canary.
|
|
55
|
+
"@salutejs/plasma-sb-utils": "0.213.0-canary.2424.21061741521.0",
|
|
56
56
|
"@types/node": "16.7.13",
|
|
57
57
|
"@types/react": "18.0.28",
|
|
58
58
|
"@types/react-dom": "18.0.11",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"salute.developers@gmail.com"
|
|
100
100
|
],
|
|
101
101
|
"sideEffects": false,
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "005f4b16d9e63795a4b733ae6ac95b18e69799d2"
|
|
103
103
|
}
|
|
@@ -18,7 +18,48 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
|
|
|
18
18
|
readOnly: {
|
|
19
19
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
20
20
|
};
|
|
21
|
-
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
21
|
+
}> & ((import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
22
|
+
titleCaption?: import("react").ReactNode;
|
|
23
|
+
requiredPlacement?: "left" | "right";
|
|
24
|
+
required?: boolean;
|
|
25
|
+
hasRequiredIndicator?: boolean;
|
|
26
|
+
value?: Date | string;
|
|
27
|
+
preserveInvalidOnBlur?: boolean;
|
|
28
|
+
defaultDate?: Date;
|
|
29
|
+
placeholder?: string;
|
|
30
|
+
name?: string;
|
|
31
|
+
valueError?: boolean;
|
|
32
|
+
valueSuccess?: boolean;
|
|
33
|
+
leftHelper?: string;
|
|
34
|
+
contentLeft?: React.ReactElement;
|
|
35
|
+
contentRight?: React.ReactElement;
|
|
36
|
+
textBefore?: string;
|
|
37
|
+
textAfter?: string;
|
|
38
|
+
autoComplete?: string;
|
|
39
|
+
onCommitDate?: (value: Date | string, error?: boolean, success?: boolean, dateInfo?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").DateInfo, originalDate?: Date, isoDate?: string) => void;
|
|
40
|
+
onChangeValue?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value?: string, originalDate?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").DateType, isoDate?: string) => void;
|
|
41
|
+
onChange?: (event: {
|
|
42
|
+
target: {
|
|
43
|
+
value?: string;
|
|
44
|
+
name?: string;
|
|
45
|
+
originalDate?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").DateType;
|
|
46
|
+
isoDate?: string;
|
|
47
|
+
};
|
|
48
|
+
}) => void;
|
|
49
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
50
|
+
hintText: string;
|
|
51
|
+
hintTrigger?: "hover" | "click";
|
|
52
|
+
hintView?: string;
|
|
53
|
+
hintSize?: string;
|
|
54
|
+
hintTargetIcon?: import("react").ReactNode;
|
|
55
|
+
hintTargetPlacement?: "inner" | "outer";
|
|
56
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
|
|
57
|
+
hintHasArrow?: boolean;
|
|
58
|
+
hintOffset?: [number, number];
|
|
59
|
+
hintWidth?: string;
|
|
60
|
+
hintContentLeft?: import("react").ReactNode;
|
|
61
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
62
|
+
titleCaption?: import("react").ReactNode;
|
|
22
63
|
requiredPlacement?: "left" | "right";
|
|
23
64
|
required?: boolean;
|
|
24
65
|
hasRequiredIndicator?: boolean;
|
|
@@ -45,7 +86,19 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
|
|
|
45
86
|
isoDate?: string;
|
|
46
87
|
};
|
|
47
88
|
}) => void;
|
|
48
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps &
|
|
89
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
90
|
+
hintTrigger?: never;
|
|
91
|
+
hintText?: never;
|
|
92
|
+
hintView?: never;
|
|
93
|
+
hintSize?: never;
|
|
94
|
+
hintTargetIcon?: never;
|
|
95
|
+
hintTargetPlacement?: never;
|
|
96
|
+
hintPlacement?: never;
|
|
97
|
+
hintHasArrow?: never;
|
|
98
|
+
hintOffset?: never;
|
|
99
|
+
hintWidth?: never;
|
|
100
|
+
hintContentLeft?: never;
|
|
101
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>))>;
|
|
49
102
|
export declare const DatePickerRange: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
50
103
|
view: {
|
|
51
104
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
@@ -132,7 +185,11 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
|
132
185
|
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
133
186
|
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
134
187
|
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
135
|
-
} & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps, "placement"> & {
|
|
188
|
+
} & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps, "placement" | "dateShortcuts"> & {
|
|
136
189
|
placement?: import("@salutejs/plasma-new-hope/styled-components").DatePickerRangePlacement | Array<import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types.js").DatePickerRangePlacementBasic>;
|
|
137
190
|
isDoubleCalendar?: boolean;
|
|
138
|
-
|
|
191
|
+
dateShortcuts?: import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types.js").DateShortcutItem[];
|
|
192
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
193
|
+
appearance?: "default" | "clear";
|
|
194
|
+
hasClearDivider?: boolean;
|
|
195
|
+
} & import("react").RefAttributes<import("@salutejs/plasma-new-hope/styled-components").RangeInputRefs>>;
|
|
@@ -4,6 +4,13 @@ export declare const config: {
|
|
|
4
4
|
focused: string;
|
|
5
5
|
};
|
|
6
6
|
variations: {
|
|
7
|
+
size: {
|
|
8
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
9
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
10
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
11
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
12
|
+
xl: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
13
|
+
};
|
|
7
14
|
view: {
|
|
8
15
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
9
16
|
positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
@@ -15,13 +22,6 @@ export declare const config: {
|
|
|
15
22
|
warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
16
23
|
negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
17
24
|
};
|
|
18
|
-
size: {
|
|
19
|
-
xl: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
20
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
21
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
22
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
23
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
24
|
-
};
|
|
25
25
|
hintView: {
|
|
26
26
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
27
27
|
};
|
|
@@ -29,6 +29,9 @@ export declare const config: {
|
|
|
29
29
|
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
30
30
|
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
31
31
|
};
|
|
32
|
+
clear: {
|
|
33
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
34
|
+
};
|
|
32
35
|
readOnly: {
|
|
33
36
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
34
37
|
};
|
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
* Поле ввода многострочного текста.
|
|
3
3
|
*/
|
|
4
4
|
export declare const TextArea: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
5
|
+
size: {
|
|
6
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
7
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
8
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
9
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
10
|
+
xl: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
11
|
+
};
|
|
5
12
|
view: {
|
|
6
13
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
7
14
|
positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
@@ -9,13 +16,6 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
|
9
16
|
warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
10
17
|
negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
11
18
|
};
|
|
12
|
-
size: {
|
|
13
|
-
xl: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
14
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
15
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
16
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
17
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
18
|
-
};
|
|
19
19
|
hintView: {
|
|
20
20
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
21
21
|
};
|
|
@@ -23,6 +23,9 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
|
23
23
|
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
24
24
|
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
25
25
|
};
|
|
26
|
+
clear: {
|
|
27
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
28
|
+
};
|
|
26
29
|
readOnly: {
|
|
27
30
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
28
31
|
};
|
|
@@ -60,7 +63,6 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
|
60
63
|
hintWidth?: string;
|
|
61
64
|
hintContentLeft?: import("react").ReactNode;
|
|
62
65
|
} & {
|
|
63
|
-
appearance?: "default" | "clear";
|
|
64
66
|
size?: string;
|
|
65
67
|
view?: string;
|
|
66
68
|
} & {
|
|
@@ -109,7 +111,6 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
|
109
111
|
hintWidth?: string;
|
|
110
112
|
hintContentLeft?: import("react").ReactNode;
|
|
111
113
|
} & {
|
|
112
|
-
appearance?: "default" | "clear";
|
|
113
114
|
size?: string;
|
|
114
115
|
view?: string;
|
|
115
116
|
} & {
|
|
@@ -158,7 +159,6 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
|
158
159
|
hintWidth?: string;
|
|
159
160
|
hintContentLeft?: import("react").ReactNode;
|
|
160
161
|
} & {
|
|
161
|
-
appearance?: "default" | "clear";
|
|
162
162
|
size?: string;
|
|
163
163
|
view?: string;
|
|
164
164
|
} & {
|
|
@@ -207,7 +207,6 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
|
207
207
|
hintWidth?: string;
|
|
208
208
|
hintContentLeft?: import("react").ReactNode;
|
|
209
209
|
} & {
|
|
210
|
-
appearance?: "default" | "clear";
|
|
211
210
|
size?: string;
|
|
212
211
|
view?: string;
|
|
213
212
|
} & {
|
|
@@ -256,7 +255,6 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
|
256
255
|
hintWidth?: never;
|
|
257
256
|
hintContentLeft?: never;
|
|
258
257
|
} & {
|
|
259
|
-
appearance?: "default" | "clear";
|
|
260
258
|
size?: string;
|
|
261
259
|
view?: string;
|
|
262
260
|
} & {
|
|
@@ -305,7 +303,6 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
|
305
303
|
hintWidth?: never;
|
|
306
304
|
hintContentLeft?: never;
|
|
307
305
|
} & {
|
|
308
|
-
appearance?: "default" | "clear";
|
|
309
306
|
size?: string;
|
|
310
307
|
view?: string;
|
|
311
308
|
} & {
|
|
@@ -354,7 +351,6 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
|
354
351
|
hintWidth?: never;
|
|
355
352
|
hintContentLeft?: never;
|
|
356
353
|
} & {
|
|
357
|
-
appearance?: "default" | "clear";
|
|
358
354
|
size?: string;
|
|
359
355
|
view?: string;
|
|
360
356
|
} & {
|
|
@@ -403,7 +399,6 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
|
403
399
|
hintWidth?: never;
|
|
404
400
|
hintContentLeft?: never;
|
|
405
401
|
} & {
|
|
406
|
-
appearance?: "default" | "clear";
|
|
407
402
|
size?: string;
|
|
408
403
|
view?: string;
|
|
409
404
|
} & {
|