vrfi-design-system 1.0.12 → 1.0.13
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/index.d.ts +31 -94
- package/dist/main.es.js +18030 -17808
- package/dist/main.umd.js +120 -104
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,16 +16,20 @@ import { DrawerProps as DrawerProps_2 } from 'antd';
|
|
|
16
16
|
import { FC } from 'react';
|
|
17
17
|
import { FieldValues } from 'react-hook-form';
|
|
18
18
|
import { FilterValue } from 'antd/lib/table/interface';
|
|
19
|
+
import { FooterDetailsProps } from '../types/footerDetails';
|
|
20
|
+
import { FooterDetailsProps as FooterDetailsProps_2 } from '../../types/footerDetails';
|
|
19
21
|
import { InputProps } from 'antd/lib';
|
|
20
22
|
import { JSX as JSX_2 } from 'react';
|
|
21
23
|
import { LoaderSizes } from '../../../enums/LoaderSizes';
|
|
24
|
+
import { MenuItemType } from 'antd/lib/menu/interface';
|
|
22
25
|
import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
|
|
23
26
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
24
|
-
import { PropsWithChildren } from 'react';
|
|
25
27
|
import { Radio as Radio_2 } from 'antd';
|
|
26
28
|
import { ReactElement } from 'react';
|
|
27
29
|
import { ReactNode } from 'react';
|
|
28
30
|
import { SelectProps } from 'antd';
|
|
31
|
+
import { SidebarMenuProps } from '../types/SidebarRouteProps';
|
|
32
|
+
import { SidebarMenuProps as SidebarMenuProps_2 } from '../..//types/SidebarRouteProps';
|
|
29
33
|
import { SizeType } from 'antd/lib/config-provider/SizeContext';
|
|
30
34
|
import { SkeletonProps } from 'antd';
|
|
31
35
|
import { SorterResult } from 'antd/lib/table/interface';
|
|
@@ -39,14 +43,6 @@ import { TableProps as TableProps_3 } from 'antd';
|
|
|
39
43
|
import { tooltipPosition } from '../../../enums/tooltipPosition';
|
|
40
44
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
41
45
|
|
|
42
|
-
export declare interface AssignedEmployerProps {
|
|
43
|
-
data?: EmployerDataType[];
|
|
44
|
-
noDataHeading?: string;
|
|
45
|
-
noDataSubheading?: string;
|
|
46
|
-
noDataIcon: ReactElement;
|
|
47
|
-
profileAssignedHeading: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
46
|
export { AuthBanner }
|
|
51
47
|
|
|
52
48
|
export { AuthForm }
|
|
@@ -90,14 +86,6 @@ export declare interface ButtonProps {
|
|
|
90
86
|
href?: string;
|
|
91
87
|
}
|
|
92
88
|
|
|
93
|
-
export declare function CardWithIconAndText({ icon, heading, subHeading }: CardWithIconAndTextProps): default_2.JSX.Element;
|
|
94
|
-
|
|
95
|
-
export declare interface CardWithIconAndTextProps {
|
|
96
|
-
icon: ReactNode;
|
|
97
|
-
heading: string;
|
|
98
|
-
subHeading: string;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
89
|
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, checked, }: CheckboxProps) => default_2.JSX.Element;
|
|
102
90
|
|
|
103
91
|
export declare interface CheckboxProps {
|
|
@@ -139,11 +127,6 @@ export declare interface DatePickerProps {
|
|
|
139
127
|
title?: string;
|
|
140
128
|
}
|
|
141
129
|
|
|
142
|
-
declare interface DocumentCardProps {
|
|
143
|
-
name: string;
|
|
144
|
-
onDownload?: () => void;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
130
|
export declare function DocumentStatus(props: DocumentStatusTypes): default_2.JSX.Element;
|
|
148
131
|
|
|
149
132
|
declare enum DocumentStatusEnum {
|
|
@@ -180,11 +163,6 @@ export declare interface DropdownProps<ValueType, OptionType extends BaseOptionT
|
|
|
180
163
|
title?: string;
|
|
181
164
|
}
|
|
182
165
|
|
|
183
|
-
declare type EmployerDataType = {
|
|
184
|
-
name: string;
|
|
185
|
-
startDate: string;
|
|
186
|
-
};
|
|
187
|
-
|
|
188
166
|
declare const Error_2: FC<ErrorMessageProps>;
|
|
189
167
|
export { Error_2 as Error }
|
|
190
168
|
|
|
@@ -215,6 +193,8 @@ export declare interface FloatingLabelProps {
|
|
|
215
193
|
value: string;
|
|
216
194
|
}
|
|
217
195
|
|
|
196
|
+
export { FooterDetailsProps }
|
|
197
|
+
|
|
218
198
|
declare interface FormDropdown extends Omit<ComponentProps<typeof Dropdown>, "onChange"> {
|
|
219
199
|
control: any;
|
|
220
200
|
rules: any;
|
|
@@ -225,14 +205,6 @@ declare interface FormDropdown extends Omit<ComponentProps<typeof Dropdown>, "on
|
|
|
225
205
|
customOnChange: (event: default_2.ChangeEvent<HTMLInputElement>, field: any) => void;
|
|
226
206
|
}
|
|
227
207
|
|
|
228
|
-
declare enum GenderProfileEnum{
|
|
229
|
-
MALE='Male',
|
|
230
|
-
FEMALE='Female',
|
|
231
|
-
PREFER_NOT_TO_SAY='Prefer not to say',
|
|
232
|
-
OTHER='Other',
|
|
233
|
-
|
|
234
|
-
}
|
|
235
|
-
|
|
236
208
|
export declare interface INotification {
|
|
237
209
|
message: string;
|
|
238
210
|
description: string;
|
|
@@ -241,25 +213,6 @@ export declare interface INotification {
|
|
|
241
213
|
|
|
242
214
|
export declare const InputField: ({ label, type, placeholder, ...rest }: CustomInputProps & InputProps) => default_2.JSX.Element;
|
|
243
215
|
|
|
244
|
-
declare enum JobTypeEnum{
|
|
245
|
-
PART_TIME='Part time',
|
|
246
|
-
FULL_TIME='Full time',
|
|
247
|
-
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
export declare const ListingTableHeader: (props: ListingTableHeaderProps) => default_2.JSX.Element;
|
|
251
|
-
|
|
252
|
-
export declare interface ListingTableHeaderProps {
|
|
253
|
-
onSearch: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
254
|
-
onFilter: () => void;
|
|
255
|
-
showButtons: boolean;
|
|
256
|
-
onClear: () => void;
|
|
257
|
-
searchPlaceholder: string;
|
|
258
|
-
buttonText: string;
|
|
259
|
-
searchValue: string;
|
|
260
|
-
actionButtons: ReactNode;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
216
|
export declare const Loader: default_2.FC<LoaderProps>;
|
|
264
217
|
|
|
265
218
|
export declare interface LoaderProps {
|
|
@@ -297,35 +250,7 @@ export declare interface OfflineProps {
|
|
|
297
250
|
isOffline: boolean;
|
|
298
251
|
}
|
|
299
252
|
|
|
300
|
-
export declare
|
|
301
|
-
|
|
302
|
-
export declare interface ProfileAssignedCardProps {
|
|
303
|
-
name: string;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
export declare const ProfileAssignedEmployer: ({ data, profileAssignedHeading, noDataHeading, noDataSubheading, noDataIcon }: AssignedEmployerProps) => default_2.JSX.Element;
|
|
307
|
-
|
|
308
|
-
export declare interface ProfileAttachmentProps {
|
|
309
|
-
data?: DocumentCardProps[];
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export declare const ProfileAttachments: ({ data }: ProfileAttachmentProps) => default_2.JSX.Element;
|
|
313
|
-
|
|
314
|
-
export declare const ProfileDetail: (props: ProfileDetailProps) => default_2.JSX.Element;
|
|
315
|
-
|
|
316
|
-
export declare interface ProfileDetailProps {
|
|
317
|
-
name: string;
|
|
318
|
-
phoneNumber: string;
|
|
319
|
-
email: string;
|
|
320
|
-
address: string;
|
|
321
|
-
gender: GenderProfileEnum;
|
|
322
|
-
jobType?: JobTypeEnum;
|
|
323
|
-
jobTitle?: string;
|
|
324
|
-
skills?: string[];
|
|
325
|
-
yearsOfExperience?: number | string;
|
|
326
|
-
userId: string;
|
|
327
|
-
imageUrl?: string;
|
|
328
|
-
}
|
|
253
|
+
export declare const PasswordValidation: default_2.FC;
|
|
329
254
|
|
|
330
255
|
export declare const Radio: ({ label, ...props }: RadioProps) => default_2.JSX.Element;
|
|
331
256
|
|
|
@@ -344,8 +269,31 @@ export declare interface SearchComponentProps {
|
|
|
344
269
|
|
|
345
270
|
export declare const SearchField: FC<SearchComponentProps>;
|
|
346
271
|
|
|
272
|
+
export declare const Sidebar: default_2.FC<SidebarProps>;
|
|
273
|
+
|
|
274
|
+
export { SidebarMenuProps }
|
|
275
|
+
|
|
276
|
+
declare interface SidebarProps {
|
|
277
|
+
activeMenu: string;
|
|
278
|
+
menus: SidebarMenuProps_2[];
|
|
279
|
+
footerDetails: FooterDetailsProps_2;
|
|
280
|
+
popoverContent: default_2.ReactNode;
|
|
281
|
+
onClick: MenuItemType["onClick"];
|
|
282
|
+
}
|
|
283
|
+
|
|
347
284
|
export declare const Skeleton: FC<SkeletonProps>;
|
|
348
285
|
|
|
286
|
+
declare interface Stats {
|
|
287
|
+
label: string;
|
|
288
|
+
value: string | number;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export declare const StatsBanner: default_2.FC<StatsBannerProps>;
|
|
292
|
+
|
|
293
|
+
declare interface StatsBannerProps {
|
|
294
|
+
stats: Stats[];
|
|
295
|
+
}
|
|
296
|
+
|
|
349
297
|
declare interface StepItem extends StepProps {
|
|
350
298
|
component?: default_2.ReactElement;
|
|
351
299
|
}
|
|
@@ -358,8 +306,6 @@ export declare interface StepperProps extends StepsProps {
|
|
|
358
306
|
destroyOnChange?: boolean;
|
|
359
307
|
}
|
|
360
308
|
|
|
361
|
-
export declare const SummaryCard: (props: PropsWithChildren) => default_2.JSX.Element;
|
|
362
|
-
|
|
363
309
|
export declare const Table: <T extends object>(props: TableProps_3<T>) => default_2.JSX.Element;
|
|
364
310
|
|
|
365
311
|
export declare const TableComponent: FC<TableComponentProps>;
|
|
@@ -384,15 +330,6 @@ declare const enum TableType {
|
|
|
384
330
|
NO_DESIGN = "noDesign",
|
|
385
331
|
}
|
|
386
332
|
|
|
387
|
-
export declare const TitleHeader: (props: TitleHeaderProps) => default_2.JSX.Element;
|
|
388
|
-
|
|
389
|
-
export declare interface TitleHeaderProps {
|
|
390
|
-
heading: string;
|
|
391
|
-
subHeading?: string;
|
|
392
|
-
icon?: JSX.Element;
|
|
393
|
-
description?: string;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
333
|
export declare const Tooltip: FC<TooltipProps>;
|
|
397
334
|
|
|
398
335
|
declare interface TooltipProps {
|