ados-rcm 1.1.278 → 1.1.280
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AModule/AComponents/AIcon/AIcon.d.ts +30 -7
- package/dist/AModule/AComponents/ATheme/ATheme.d.ts +2 -2
- package/dist/index.cjs.js +25 -25
- package/dist/index.es.js +6420 -6272
- package/package.json +1 -1
@@ -3,8 +3,20 @@ export interface IASVGProps extends React.SVGProps<SVGSVGElement> {
|
|
3
3
|
svgRef?: React.Ref<SVGSVGElement>;
|
4
4
|
primaryColor?: string;
|
5
5
|
secondaryColor?: string;
|
6
|
+
size?: TIconSize;
|
6
7
|
}
|
7
8
|
export type TIcons = keyof typeof Icons;
|
9
|
+
declare const iconSizes: {
|
10
|
+
readonly '2xs': 12;
|
11
|
+
readonly xs: 16;
|
12
|
+
readonly sm: 20;
|
13
|
+
readonly md: 24;
|
14
|
+
readonly lg: 32;
|
15
|
+
readonly xl: 40;
|
16
|
+
readonly '2xl': 48;
|
17
|
+
readonly '3xl': 64;
|
18
|
+
};
|
19
|
+
export type TIconSize = keyof typeof iconSizes;
|
8
20
|
export interface IAIconProps extends IASVGProps {
|
9
21
|
/**
|
10
22
|
* icon : TIcons
|
@@ -28,25 +40,27 @@ interface IAIconHOCProps<T extends string> extends Omit<IAIconProps, 'icon'> {
|
|
28
40
|
icon: T | TIcons;
|
29
41
|
}
|
30
42
|
export declare const AIconHOC: <T extends string>(customIcons: Record<T, (props?: IASVGProps) => JSX.Element>) => (props: IAIconHOCProps<T>) => import("react/jsx-runtime").JSX.Element;
|
31
|
-
declare const Icons: Readonly<{
|
43
|
+
export declare const Icons: Readonly<{
|
32
44
|
ArrowDown: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
33
45
|
ArrowUp: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
34
46
|
Chat: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
35
47
|
'Check.Checked': (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
36
48
|
'Check.Indeterminate': (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
37
49
|
'Check.UnChecked': (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
38
|
-
|
50
|
+
CircleCheck: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
39
51
|
ClipBoard: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
40
52
|
Close: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
41
53
|
Document: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
42
54
|
Menu: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
43
55
|
Person: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
56
|
+
PersonOutline: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
44
57
|
Reset: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
45
58
|
Search: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
46
59
|
Send: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
47
60
|
Spinner: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
48
61
|
Stop: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
49
62
|
TriangleAlert: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
63
|
+
TriangleAlert2: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
50
64
|
Sun: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
51
65
|
Moon: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
52
66
|
CCTV: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -72,6 +86,8 @@ declare const Icons: Readonly<{
|
|
72
86
|
DateRange: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
73
87
|
PlayArrow: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
74
88
|
Mail: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
89
|
+
MailOutline: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
90
|
+
Bell: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
75
91
|
Download: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
76
92
|
Folder: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
77
93
|
FolderPost: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -86,7 +102,6 @@ declare const Icons: Readonly<{
|
|
86
102
|
ListAdd: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
87
103
|
ListRemove: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
88
104
|
Cancel: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
89
|
-
Clear: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
90
105
|
Article: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
91
106
|
Info: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
92
107
|
Type: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -99,11 +114,12 @@ declare const Icons: Readonly<{
|
|
99
114
|
Gear: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
100
115
|
TriangleUp: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
101
116
|
TriangleDown: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
102
|
-
|
117
|
+
CircleHelp: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
103
118
|
Cow: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
104
|
-
|
105
|
-
|
119
|
+
CircleAlertOutline: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
120
|
+
CircleAlert: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
106
121
|
Manager: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
122
|
+
ManagerOutline: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
107
123
|
Admin: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
108
124
|
Equalizer: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
109
125
|
ABC: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -117,7 +133,14 @@ declare const Icons: Readonly<{
|
|
117
133
|
Save: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
118
134
|
Remove: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
119
135
|
Sync: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
136
|
+
X: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
137
|
+
MoreVertical: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
138
|
+
MoreHorizontal: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
139
|
+
Verified: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
140
|
+
NonVerified: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
141
|
+
Edit2: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
142
|
+
Trash2: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
120
143
|
}>;
|
121
|
-
export declare const AIcons: ("ArrowDown" | "ArrowUp" | "Chat" | "Check.Checked" | "Check.Indeterminate" | "Check.UnChecked" | "
|
144
|
+
export declare const AIcons: ("ArrowDown" | "ArrowUp" | "Chat" | "Check.Checked" | "Check.Indeterminate" | "Check.UnChecked" | "CircleCheck" | "ClipBoard" | "Close" | "Document" | "Menu" | "Person" | "PersonOutline" | "Reset" | "Search" | "Send" | "Spinner" | "Stop" | "TriangleAlert" | "TriangleAlert2" | "Sun" | "Moon" | "CCTV" | "Convert" | "KeyboardArrowUp" | "KeyboardArrowDown" | "Alert" | "SortUp" | "SortDown" | "SortBoth" | "RowSortUp" | "RowSortDown" | "RowSortBoth" | "Favorite" | "FavoriteDisabled" | "Main" | "Frame" | "FileDownload" | "File" | "UnPlug" | "CloudSync" | "CalendarDay" | "DateRange" | "PlayArrow" | "Mail" | "MailOutline" | "Bell" | "Download" | "Folder" | "FolderPost" | "FolderOpen" | "FolderCopy" | "FolderAdd" | "FolderMove" | "FirstPage" | "LastPage" | "NavigateBefore" | "NavigateNext" | "ListAdd" | "ListRemove" | "Cancel" | "Article" | "Info" | "Type" | "PersonAdd" | "CheckNormal" | "Create" | "PersonRemove" | "Refresh" | "Undo" | "Gear" | "TriangleUp" | "TriangleDown" | "CircleHelp" | "Cow" | "CircleAlertOutline" | "CircleAlert" | "Manager" | "ManagerOutline" | "Admin" | "Equalizer" | "ABC" | "Auth" | "AuthAdd" | "Switch" | "Add" | "Edit" | "EditOff" | "Delete" | "Save" | "Remove" | "Sync" | "X" | "MoreVertical" | "MoreHorizontal" | "Verified" | "NonVerified" | "Edit2" | "Trash2")[];
|
122
145
|
export type TAIcons = (typeof AIcons)[number];
|
123
146
|
export {};
|
@@ -40,7 +40,7 @@ declare function changePaletteMode(mode: TPaletteModes): void;
|
|
40
40
|
*/
|
41
41
|
declare function editPalette(palette: Partial<TPalette>, mode?: TPaletteModes | 'all'): void;
|
42
42
|
export type TSemantic = typeof refinedDesignTokens.semantic.light;
|
43
|
-
export declare const semanticModes: ("
|
43
|
+
export declare const semanticModes: ("dark" | "light")[];
|
44
44
|
export type TSemanticModes = (typeof semanticModes)[number];
|
45
45
|
export declare const semanticKeys: ("static-white" | "static-black" | "acent-brand" | "label-normal" | "label-strong" | "label-neutral" | "line-normal" | "line-strong" | "line-neutral" | "background-normal" | "elevation-0" | "elevation-10" | "elevation-20" | "alert-warning" | "alert-success" | "alert-danger" | "inverse-label-normal" | "inverse-label-strong" | "inverse-label-neutral" | "inverse-line-normal" | "inverse-line-strong" | "inverse-line-neutral" | "inverse-elevation-0" | "inverse-elevation-10" | "inverse-elevation-20")[];
|
46
46
|
export type TSemanticKeys = (typeof semanticKeys)[number];
|
@@ -49,7 +49,7 @@ export type TSemanticKeys = (typeof semanticKeys)[number];
|
|
49
49
|
*
|
50
50
|
* Description : get the current semantic mode.
|
51
51
|
*/
|
52
|
-
declare function getCurrentSemanticMode(): "
|
52
|
+
declare function getCurrentSemanticMode(): "dark" | "light";
|
53
53
|
/**
|
54
54
|
* getSemanticValue : (key: TSemanticKeys, mode: TSemanticModes, isDeep: boolean) => string
|
55
55
|
*
|