dt-shared-front 1.1.158 → 1.1.160
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/.DS_Store +0 -0
- package/dist/components/date-picker/date-picker.d.ts +8 -8
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/link/link.d.ts +7 -1
- package/dist/components/range-picker/range-picker.d.ts +8 -8
- package/dist/components/spoiler/spoiler.d.ts +1 -0
- package/dist/components/text-area/text-area.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.css +27 -27
- package/dist/main.css.map +1 -1
- package/package.json +1 -1
package/dist/.DS_Store
ADDED
Binary file
|
@@ -1,21 +1,21 @@
|
|
1
1
|
import { ComponentProps } from 'react';
|
2
2
|
declare const AntDatePicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
3
|
-
status?: "" | "
|
3
|
+
status?: "" | "error" | "warning";
|
4
4
|
dropdownClassName?: string;
|
5
5
|
popupClassName?: string;
|
6
6
|
}, unknown> & {
|
7
7
|
WeekPicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
8
|
-
status?: "" | "
|
8
|
+
status?: "" | "error" | "warning";
|
9
9
|
dropdownClassName?: string;
|
10
10
|
popupClassName?: string;
|
11
11
|
}, "picker">, unknown>;
|
12
12
|
MonthPicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
13
|
-
status?: "" | "
|
13
|
+
status?: "" | "error" | "warning";
|
14
14
|
dropdownClassName?: string;
|
15
15
|
popupClassName?: string;
|
16
16
|
}, "picker">, unknown>;
|
17
17
|
YearPicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
18
|
-
status?: "" | "
|
18
|
+
status?: "" | "error" | "warning";
|
19
19
|
dropdownClassName?: string;
|
20
20
|
popupClassName?: string;
|
21
21
|
}, "picker">, unknown>;
|
@@ -28,9 +28,9 @@ declare const AntDatePicker: import("antd/lib/date-picker/generatePicker/interfa
|
|
28
28
|
size?: import("antd/lib/button").ButtonSize;
|
29
29
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
30
30
|
bordered?: boolean;
|
31
|
-
status?: "" | "
|
31
|
+
status?: "" | "error" | "warning";
|
32
32
|
} & {
|
33
|
-
status?: "" | "
|
33
|
+
status?: "" | "error" | "warning";
|
34
34
|
dropdownClassName?: string;
|
35
35
|
popupClassName?: string;
|
36
36
|
}, "picker">, unknown>;
|
@@ -39,9 +39,9 @@ declare const AntDatePicker: import("antd/lib/date-picker/generatePicker/interfa
|
|
39
39
|
size?: import("antd/lib/button").ButtonSize;
|
40
40
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
41
41
|
bordered?: boolean;
|
42
|
-
status?: "" | "
|
42
|
+
status?: "" | "error" | "warning";
|
43
43
|
} & {
|
44
|
-
status?: "" | "
|
44
|
+
status?: "" | "error" | "warning";
|
45
45
|
dropdownClassName?: string;
|
46
46
|
popupClassName?: string;
|
47
47
|
}, "picker">, unknown>;
|
@@ -62,4 +62,4 @@ export declare const Input: React.ForwardRefExoticComponent<{
|
|
62
62
|
onPointerUp?: (e: any) => void;
|
63
63
|
onChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;
|
64
64
|
onSearch?: ((val: string) => void) | ((val: string) => Promise<void>);
|
65
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
65
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "variant" | "size" | "onChange"> & React.RefAttributes<HTMLInputElement>>;
|
@@ -16,6 +16,11 @@ export declare enum ELinkSize {
|
|
16
16
|
medium = "medium",
|
17
17
|
large = "large"
|
18
18
|
}
|
19
|
+
export declare enum ELinkWeight {
|
20
|
+
bold = "bold",
|
21
|
+
semibold = "semibold",
|
22
|
+
normal = "normal"
|
23
|
+
}
|
19
24
|
interface ILinkProps {
|
20
25
|
size?: keyof typeof ELinkSize;
|
21
26
|
icon?: any;
|
@@ -23,6 +28,7 @@ interface ILinkProps {
|
|
23
28
|
children: any;
|
24
29
|
href?: string;
|
25
30
|
bold?: boolean;
|
31
|
+
weight?: keyof typeof ELinkWeight;
|
26
32
|
type?: keyof typeof ELinkType;
|
27
33
|
dashed?: boolean;
|
28
34
|
className?: string;
|
@@ -32,5 +38,5 @@ interface ILinkProps {
|
|
32
38
|
style?: any;
|
33
39
|
tag?: string;
|
34
40
|
}
|
35
|
-
export declare const Link: ({ children, target, icon: Icon, variant, size, href, bold, className, type, dashed, onClick, rel, style, tag, }: ILinkProps) => JSX.Element;
|
41
|
+
export declare const Link: ({ children, target, icon: Icon, variant, size, weight, href, bold, className, type, dashed, onClick, rel, style, tag, }: ILinkProps) => JSX.Element;
|
36
42
|
export {};
|
@@ -1,21 +1,21 @@
|
|
1
1
|
import React, { ComponentProps } from 'react';
|
2
2
|
declare const AntDatePicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
3
|
-
status?: "" | "
|
3
|
+
status?: "" | "error" | "warning";
|
4
4
|
dropdownClassName?: string;
|
5
5
|
popupClassName?: string;
|
6
6
|
}, unknown> & {
|
7
7
|
WeekPicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
8
|
-
status?: "" | "
|
8
|
+
status?: "" | "error" | "warning";
|
9
9
|
dropdownClassName?: string;
|
10
10
|
popupClassName?: string;
|
11
11
|
}, "picker">, unknown>;
|
12
12
|
MonthPicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
13
|
-
status?: "" | "
|
13
|
+
status?: "" | "error" | "warning";
|
14
14
|
dropdownClassName?: string;
|
15
15
|
popupClassName?: string;
|
16
16
|
}, "picker">, unknown>;
|
17
17
|
YearPicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
18
|
-
status?: "" | "
|
18
|
+
status?: "" | "error" | "warning";
|
19
19
|
dropdownClassName?: string;
|
20
20
|
popupClassName?: string;
|
21
21
|
}, "picker">, unknown>;
|
@@ -28,9 +28,9 @@ declare const AntDatePicker: import("antd/lib/date-picker/generatePicker/interfa
|
|
28
28
|
size?: import("antd/lib/button").ButtonSize;
|
29
29
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
30
30
|
bordered?: boolean;
|
31
|
-
status?: "" | "
|
31
|
+
status?: "" | "error" | "warning";
|
32
32
|
} & {
|
33
|
-
status?: "" | "
|
33
|
+
status?: "" | "error" | "warning";
|
34
34
|
dropdownClassName?: string;
|
35
35
|
popupClassName?: string;
|
36
36
|
}, "picker">, unknown>;
|
@@ -39,9 +39,9 @@ declare const AntDatePicker: import("antd/lib/date-picker/generatePicker/interfa
|
|
39
39
|
size?: import("antd/lib/button").ButtonSize;
|
40
40
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
41
41
|
bordered?: boolean;
|
42
|
-
status?: "" | "
|
42
|
+
status?: "" | "error" | "warning";
|
43
43
|
} & {
|
44
|
-
status?: "" | "
|
44
|
+
status?: "" | "error" | "warning";
|
45
45
|
dropdownClassName?: string;
|
46
46
|
popupClassName?: string;
|
47
47
|
}, "picker">, unknown>;
|
@@ -26,4 +26,4 @@ export declare const TextArea: React.ForwardRefExoticComponent<{
|
|
26
26
|
onClear?: () => void;
|
27
27
|
onSearch?: (e: any) => void;
|
28
28
|
onChange?: (value: string, event?: ChangeEvent<HTMLTextAreaElement>) => void;
|
29
|
-
} & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
29
|
+
} & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "variant" | "size" | "onChange"> & React.RefAttributes<HTMLTextAreaElement>>;
|