dt-shared-front 1.1.180 → 1.1.182
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/components/date-picker/date-picker.d.ts +8 -8
- package/dist/components/input/input.d.ts +3 -3
- package/dist/components/radio/radio.d.ts +3 -1
- package/dist/components/range-picker/range-picker.d.ts +8 -8
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.css +28 -27
- package/dist/main.css.map +1 -1
- package/package.json +1 -1
@@ -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>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React, { InputHTMLAttributes, ChangeEvent } from 'react';
|
1
|
+
import React, { InputHTMLAttributes, ChangeEvent, ReactNode } from 'react';
|
2
2
|
export declare enum EInputVariant {
|
3
3
|
filled = "filled",
|
4
4
|
outlined = "outlined",
|
@@ -32,7 +32,7 @@ export declare type IInputProps = {
|
|
32
32
|
className?: string;
|
33
33
|
beginSearch?: number;
|
34
34
|
debounceTime?: number;
|
35
|
-
labelPlaceholder?: string;
|
35
|
+
labelPlaceholder?: string | ReactNode;
|
36
36
|
mask?: string;
|
37
37
|
onClear?: (val?: string) => void;
|
38
38
|
onBeforeMask?: (val?: string) => void;
|
@@ -55,7 +55,7 @@ export declare const Input: React.ForwardRefExoticComponent<{
|
|
55
55
|
className?: string;
|
56
56
|
beginSearch?: number;
|
57
57
|
debounceTime?: number;
|
58
|
-
labelPlaceholder?: string;
|
58
|
+
labelPlaceholder?: string | ReactNode;
|
59
59
|
mask?: string;
|
60
60
|
onClear?: (val?: string) => void;
|
61
61
|
onBeforeMask?: (val?: string) => void;
|
@@ -10,6 +10,8 @@ declare type IRadioProps<T> = Omit<RadioGroupProps, 'options' | 'onChange' | 'va
|
|
10
10
|
value?: any;
|
11
11
|
onChange?: (value: T, e?: MouseEvent) => void;
|
12
12
|
position?: 'vertical' | 'horizontal';
|
13
|
+
className?: string;
|
14
|
+
error?: boolean;
|
13
15
|
};
|
14
|
-
export declare function Radio<T = any>({ options, position, valueKey, labelKey, labels, ...props }: IRadioProps<T>): JSX.Element;
|
16
|
+
export declare function Radio<T = any>({ options, position, valueKey, labelKey, labels, className, error, ...props }: IRadioProps<T>): JSX.Element;
|
15
17
|
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>;
|