vrfi-design-system 1.0.11 → 1.0.12
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 +95 -0
- package/dist/main.es.js +16356 -15089
- package/dist/main.umd.js +97 -97
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { JSX as JSX_2 } from 'react';
|
|
|
21
21
|
import { LoaderSizes } from '../../../enums/LoaderSizes';
|
|
22
22
|
import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
|
|
23
23
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
24
|
+
import { PropsWithChildren } from 'react';
|
|
24
25
|
import { Radio as Radio_2 } from 'antd';
|
|
25
26
|
import { ReactElement } from 'react';
|
|
26
27
|
import { ReactNode } from 'react';
|
|
@@ -38,6 +39,14 @@ import { TableProps as TableProps_3 } from 'antd';
|
|
|
38
39
|
import { tooltipPosition } from '../../../enums/tooltipPosition';
|
|
39
40
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
40
41
|
|
|
42
|
+
export declare interface AssignedEmployerProps {
|
|
43
|
+
data?: EmployerDataType[];
|
|
44
|
+
noDataHeading?: string;
|
|
45
|
+
noDataSubheading?: string;
|
|
46
|
+
noDataIcon: ReactElement;
|
|
47
|
+
profileAssignedHeading: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
41
50
|
export { AuthBanner }
|
|
42
51
|
|
|
43
52
|
export { AuthForm }
|
|
@@ -81,6 +90,14 @@ export declare interface ButtonProps {
|
|
|
81
90
|
href?: string;
|
|
82
91
|
}
|
|
83
92
|
|
|
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
|
+
|
|
84
101
|
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, checked, }: CheckboxProps) => default_2.JSX.Element;
|
|
85
102
|
|
|
86
103
|
export declare interface CheckboxProps {
|
|
@@ -122,6 +139,11 @@ export declare interface DatePickerProps {
|
|
|
122
139
|
title?: string;
|
|
123
140
|
}
|
|
124
141
|
|
|
142
|
+
declare interface DocumentCardProps {
|
|
143
|
+
name: string;
|
|
144
|
+
onDownload?: () => void;
|
|
145
|
+
}
|
|
146
|
+
|
|
125
147
|
export declare function DocumentStatus(props: DocumentStatusTypes): default_2.JSX.Element;
|
|
126
148
|
|
|
127
149
|
declare enum DocumentStatusEnum {
|
|
@@ -158,6 +180,11 @@ export declare interface DropdownProps<ValueType, OptionType extends BaseOptionT
|
|
|
158
180
|
title?: string;
|
|
159
181
|
}
|
|
160
182
|
|
|
183
|
+
declare type EmployerDataType = {
|
|
184
|
+
name: string;
|
|
185
|
+
startDate: string;
|
|
186
|
+
};
|
|
187
|
+
|
|
161
188
|
declare const Error_2: FC<ErrorMessageProps>;
|
|
162
189
|
export { Error_2 as Error }
|
|
163
190
|
|
|
@@ -198,6 +225,14 @@ declare interface FormDropdown extends Omit<ComponentProps<typeof Dropdown>, "on
|
|
|
198
225
|
customOnChange: (event: default_2.ChangeEvent<HTMLInputElement>, field: any) => void;
|
|
199
226
|
}
|
|
200
227
|
|
|
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
|
+
|
|
201
236
|
export declare interface INotification {
|
|
202
237
|
message: string;
|
|
203
238
|
description: string;
|
|
@@ -206,6 +241,25 @@ export declare interface INotification {
|
|
|
206
241
|
|
|
207
242
|
export declare const InputField: ({ label, type, placeholder, ...rest }: CustomInputProps & InputProps) => default_2.JSX.Element;
|
|
208
243
|
|
|
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
|
+
|
|
209
263
|
export declare const Loader: default_2.FC<LoaderProps>;
|
|
210
264
|
|
|
211
265
|
export declare interface LoaderProps {
|
|
@@ -243,6 +297,36 @@ export declare interface OfflineProps {
|
|
|
243
297
|
isOffline: boolean;
|
|
244
298
|
}
|
|
245
299
|
|
|
300
|
+
export declare function ProfileAssignedCard({ name }: ProfileAssignedCardProps): default_2.JSX.Element;
|
|
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
|
+
}
|
|
329
|
+
|
|
246
330
|
export declare const Radio: ({ label, ...props }: RadioProps) => default_2.JSX.Element;
|
|
247
331
|
|
|
248
332
|
declare interface RadioButtonProps {
|
|
@@ -274,6 +358,8 @@ export declare interface StepperProps extends StepsProps {
|
|
|
274
358
|
destroyOnChange?: boolean;
|
|
275
359
|
}
|
|
276
360
|
|
|
361
|
+
export declare const SummaryCard: (props: PropsWithChildren) => default_2.JSX.Element;
|
|
362
|
+
|
|
277
363
|
export declare const Table: <T extends object>(props: TableProps_3<T>) => default_2.JSX.Element;
|
|
278
364
|
|
|
279
365
|
export declare const TableComponent: FC<TableComponentProps>;
|
|
@@ -298,6 +384,15 @@ declare const enum TableType {
|
|
|
298
384
|
NO_DESIGN = "noDesign",
|
|
299
385
|
}
|
|
300
386
|
|
|
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
|
+
|
|
301
396
|
export declare const Tooltip: FC<TooltipProps>;
|
|
302
397
|
|
|
303
398
|
declare interface TooltipProps {
|