ados-rcm 1.1.456 → 1.1.457
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/AModule/AComponents/ABase/ABase.d.ts +33 -43
- package/dist/index.cjs.js +26 -26
- package/dist/index.es.js +611 -618
- package/package.json +1 -1
@@ -1,47 +1,5 @@
|
|
1
1
|
import { IAProgressBarProps } from '../AProgressBar/AProgressBar';
|
2
2
|
import { EDir4 } from '../ATypes/ATypes';
|
3
|
-
/**
|
4
|
-
* AComponent : ABase
|
5
|
-
*
|
6
|
-
* Description : ABase is a base component(like div) that can have isDisabled, isLoading and tooltip.
|
7
|
-
*
|
8
|
-
* Basic Usage :
|
9
|
-
*
|
10
|
-
* if (case 1)
|
11
|
-
* <ABase>
|
12
|
-
* {children}
|
13
|
-
* </ABase>
|
14
|
-
*
|
15
|
-
* if (case 2)
|
16
|
-
* <ABase isDisabled>
|
17
|
-
* {children}
|
18
|
-
* </ABase>
|
19
|
-
*
|
20
|
-
* if (case 3)
|
21
|
-
* <ABase isLoading>
|
22
|
-
* {children}
|
23
|
-
* </ABase>
|
24
|
-
*
|
25
|
-
* if (case 4)
|
26
|
-
* <ABase tooltip="tooltip text">
|
27
|
-
* {children}
|
28
|
-
* </ABase>
|
29
|
-
*
|
30
|
-
* if (case 5)
|
31
|
-
* <ABase isLoading progress={50}>
|
32
|
-
* {children}
|
33
|
-
* </ABase>
|
34
|
-
*
|
35
|
-
* if (case 6)
|
36
|
-
* <ABase abaseRef={myRef}>
|
37
|
-
* {children}
|
38
|
-
* </ABase>
|
39
|
-
*
|
40
|
-
* if (case 7)
|
41
|
-
* <ABase ref={(el) => { myCallbackRef(el) }}>
|
42
|
-
* {children}
|
43
|
-
* </ABase>
|
44
|
-
*/
|
45
3
|
export interface IABaseProps extends React.HTMLAttributes<HTMLElement> {
|
46
4
|
className?: string;
|
47
5
|
style?: React.CSSProperties;
|
@@ -49,7 +7,7 @@ export interface IABaseProps extends React.HTMLAttributes<HTMLElement> {
|
|
49
7
|
/**
|
50
8
|
* abaseRef? : React.RefObject<HTMLDivElement>
|
51
9
|
*
|
52
|
-
* Description : ref of ABase
|
10
|
+
* Description : ref of ABase
|
53
11
|
*/
|
54
12
|
abaseRef?: React.RefObject<HTMLDivElement>;
|
55
13
|
/**
|
@@ -107,4 +65,36 @@ export interface IABaseProps extends React.HTMLAttributes<HTMLElement> {
|
|
107
65
|
*/
|
108
66
|
progressProps?: Omit<IAProgressBarProps, 'progress'>;
|
109
67
|
}
|
68
|
+
/**
|
69
|
+
* AComponent : ABase
|
70
|
+
*
|
71
|
+
* Description : ABase is a base component(like div) that can have isDisabled, isLoading and tooltip.
|
72
|
+
*
|
73
|
+
* Basic Usage :
|
74
|
+
*
|
75
|
+
* if (case 1)
|
76
|
+
* <ABase>
|
77
|
+
* {children}
|
78
|
+
* </ABase>
|
79
|
+
*
|
80
|
+
* if (case 2)
|
81
|
+
* <ABase isDisabled>
|
82
|
+
* {children}
|
83
|
+
* </ABase>
|
84
|
+
*
|
85
|
+
* if (case 3)
|
86
|
+
* <ABase isLoading>
|
87
|
+
* {children}
|
88
|
+
* </ABase>
|
89
|
+
*
|
90
|
+
* if (case 4)
|
91
|
+
* <ABase tooltip="tooltip text">
|
92
|
+
* {children}
|
93
|
+
* </ABase>
|
94
|
+
*
|
95
|
+
* if (case 5)
|
96
|
+
* <ABase isLoading progress={50}>
|
97
|
+
* {children}
|
98
|
+
* </ABase>
|
99
|
+
*/
|
110
100
|
export declare const ABase: (props: IABaseProps) => React.ReactNode;
|