digitinary-ui 1.0.240 → 1.0.242
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.
|
@@ -1,30 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './style.scss';
|
|
3
|
-
|
|
4
|
-
id?: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
helperText?: string;
|
|
8
|
-
errorMsg?: string;
|
|
9
|
-
value?: string | undefined | null;
|
|
10
|
-
onChange: (value: string) => void;
|
|
11
|
-
disabledDay?: string;
|
|
12
|
-
selectedEndDate?: string;
|
|
13
|
-
success?: boolean;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
size?: 'small' | 'medium' | 'large';
|
|
16
|
-
clearable?: boolean;
|
|
17
|
-
disablePastDays?: boolean;
|
|
18
|
-
timePicker?: boolean;
|
|
19
|
-
isEndDay?: boolean;
|
|
20
|
-
defaultFormat?: string;
|
|
21
|
-
required?: boolean;
|
|
22
|
-
acceptSameDay?: boolean;
|
|
23
|
-
setCheckDateOpened?: (opened: boolean) => void;
|
|
24
|
-
maxDate?: string;
|
|
25
|
-
minDate?: string;
|
|
26
|
-
className?: string;
|
|
27
|
-
dataId?: string;
|
|
28
|
-
}
|
|
3
|
+
import { DateProps } from 'types';
|
|
29
4
|
declare const Date: React.FC<DateProps>;
|
|
30
5
|
export default Date;
|
|
@@ -1,53 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { DateRangePropsTypes } from '../../types';
|
|
3
3
|
import './style.scss';
|
|
4
|
-
|
|
5
|
-
id?: string;
|
|
6
|
-
label?: JSX.Element | string;
|
|
7
|
-
helperText?: string;
|
|
8
|
-
errorMsg?: string;
|
|
9
|
-
success?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
maxRangeSpan?: periodType;
|
|
12
|
-
value?: {
|
|
13
|
-
value: string;
|
|
14
|
-
type: {
|
|
15
|
-
key: string;
|
|
16
|
-
value: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
onChange: (newValue?: {
|
|
20
|
-
value: string;
|
|
21
|
-
type: {
|
|
22
|
-
key: string;
|
|
23
|
-
value: string;
|
|
24
|
-
};
|
|
25
|
-
}) => void;
|
|
26
|
-
size?: SizeType;
|
|
27
|
-
clearable?: boolean;
|
|
28
|
-
hideMoreDateOptions?: boolean;
|
|
29
|
-
showTimePicker?: boolean;
|
|
30
|
-
acceptSameDay?: boolean;
|
|
31
|
-
maxStartDate?: string;
|
|
32
|
-
minStartDate?: string;
|
|
33
|
-
maxEndDate?: string;
|
|
34
|
-
minEndDate?: string;
|
|
35
|
-
disableStartDate?: boolean;
|
|
36
|
-
disableEndDate?: boolean;
|
|
37
|
-
labels?: {
|
|
38
|
-
month: string;
|
|
39
|
-
day: string;
|
|
40
|
-
Apply: string;
|
|
41
|
-
week: string;
|
|
42
|
-
Select: string;
|
|
43
|
-
Last: string;
|
|
44
|
-
Start_Date: string;
|
|
45
|
-
End_Date: string;
|
|
46
|
-
Selected_Date: string;
|
|
47
|
-
};
|
|
48
|
-
className?: string;
|
|
49
|
-
dataId?: string;
|
|
50
|
-
required?: boolean;
|
|
51
|
-
}
|
|
52
|
-
declare const DateRange: FC<DateRangeProps>;
|
|
4
|
+
declare const DateRange: FC<DateRangePropsTypes>;
|
|
53
5
|
export default DateRange;
|
|
@@ -1,31 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './style.scss';
|
|
3
|
-
|
|
4
|
-
name: string;
|
|
5
|
-
value: number;
|
|
6
|
-
fill: string;
|
|
7
|
-
};
|
|
8
|
-
type DonutChartProps = {
|
|
9
|
-
data: DataItem[] | undefined;
|
|
10
|
-
height?: number;
|
|
11
|
-
width?: string;
|
|
12
|
-
innerRadius?: number;
|
|
13
|
-
outerRadius?: number;
|
|
14
|
-
withPercentage?: boolean;
|
|
15
|
-
dataId?: string;
|
|
16
|
-
fontSize?: string;
|
|
17
|
-
withLegend?: boolean;
|
|
18
|
-
withMoreDetails?: boolean;
|
|
19
|
-
valueFontSize?: string;
|
|
20
|
-
nameFontSize?: string;
|
|
21
|
-
noDataState?: boolean;
|
|
22
|
-
endAngle?: number;
|
|
23
|
-
startAngle?: number;
|
|
24
|
-
dy?: number;
|
|
25
|
-
className?: string;
|
|
26
|
-
innerShapeRadius?: number;
|
|
27
|
-
outerShapeRadius?: number;
|
|
28
|
-
withTooltip?: boolean;
|
|
29
|
-
};
|
|
3
|
+
import { DonutChartProps } from 'types';
|
|
30
4
|
declare const DonutChart: React.FC<DonutChartProps>;
|
|
31
5
|
export default DonutChart;
|