vrfi-design-system 1.0.21 → 1.0.23

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 CHANGED
@@ -2,6 +2,7 @@ import { Align } from '../../enums/align.enum';
2
2
  import { default as AuthBanner } from '../../views/Auth/AuthBanner';
3
3
  import { default as AuthForm } from '../../views/Auth/AuthForm';
4
4
  import { AuthFormProps } from './../../views/Auth/AuthForm/index';
5
+ import { AvatarSize } from '../../../enums/avatarSize.enum';
5
6
  import { BaseOptionType } from 'rc-select/lib/Select';
6
7
  import { default as Button } from 'antd/lib/button';
7
8
  import { ButtonType } from '../../enums/buttonType';
@@ -29,12 +30,15 @@ import { FilterValue } from 'antd/lib/table/interface';
29
30
  import { FooterDetailsProps } from '../types/footerDetails';
30
31
  import { FooterDetailsProps as FooterDetailsProps_2 } from '../../types/footerDetails';
31
32
  import { GenderProfileEnum } from '../../enums/genderProfile.enum';
33
+ import { GenderProfileEnum as GenderProfileEnum_2 } from '../../../enums/genderProfile.enum';
32
34
  import { HtmlButtonType } from '../../enums/buttonType';
33
35
  import { Icons } from '../../enums/icons.enum';
34
36
  import { InputProps } from 'antd/lib';
35
37
  import { InputProps as InputProps_2 } from 'antd';
36
38
  import { InputTypes } from '../../enums/inputType.enum';
39
+ import { InputTypes as InputTypes_2 } from '../../../enums/inputType.enum';
37
40
  import { JobTypeEnum } from '../../enums/jobType.enum';
41
+ import { JobTypeEnum as JobTypeEnum_2 } from '../../../enums/jobType.enum';
38
42
  import { JSX as JSX_2 } from 'react';
39
43
  import { Justify } from '../../enums/justify.enum';
40
44
  import { LoaderSizes } from '../../../enums/LoaderSizes';
@@ -73,6 +77,7 @@ import { TableProps as TableProps_3 } from 'antd';
73
77
  import { TableType } from '../../enums/tableType.enum';
74
78
  import { TableType as TableType_2 } from '../../../enums/tableType.enum';
75
79
  import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
80
+ import { TitleHeaderStatus as TitleHeaderStatus_2 } from '../../../enums/titleHeaderStatus.enum';
76
81
  import { tooltipPosition } from '../../../enums/tooltipPosition';
77
82
  import { UploadFile } from 'antd/lib/upload/interface';
78
83
  import { UseFormProps } from 'react-hook-form';
@@ -106,11 +111,6 @@ export declare interface AvatarProps {
106
111
  names: string[];
107
112
  }
108
113
 
109
- declare const enum AvatarSize {
110
- SMALL = 'small',
111
- LARGE = 'large'
112
- }
113
-
114
114
  export declare function AvatarWithDetailsCard(props: AvatarCardProps): default_2.JSX.Element;
115
115
 
116
116
  export declare const AvatarWithInitials: ({ names }: AvatarProps) => default_2.JSX.Element;
@@ -185,6 +185,12 @@ export declare const DatePicker: (props: CustomInputProps & DatePickerProps) =>
185
185
 
186
186
  export { DatePickerAntd }
187
187
 
188
+ export declare const Disclaimer: FC<DisclaimerProps>;
189
+
190
+ declare interface DisclaimerProps {
191
+ content?: string;
192
+ }
193
+
188
194
  export declare const DocumentCard: ({ name, onDownload }: DocumentCardProps) => default_2.JSX.Element;
189
195
 
190
196
  declare interface DocumentCardProps {
@@ -282,14 +288,6 @@ declare interface FormProps<T extends FieldValues> extends UseFormProps<T> {
282
288
 
283
289
  export { GenderProfileEnum }
284
290
 
285
- declare enum GenderProfileEnum_2{
286
- MALE='Male',
287
- FEMALE='Female',
288
- PREFER_NOT_TO_SAY='Prefer not to say',
289
- OTHER='Other',
290
-
291
- }
292
-
293
291
  export { HtmlButtonType }
294
292
 
295
293
  export { Icons }
@@ -304,25 +302,10 @@ export declare const InputField: ({ label, type, placeholder, prefix, ...rest }:
304
302
 
305
303
  export { InputTypes }
306
304
 
307
- declare enum InputTypes_2 {
308
- TEXT='text',
309
- NUMBER='number',
310
- TEXTAREA='textarea',
311
- PASSWORD='password',
312
- EMAIL='email',
313
- DATE='date'
314
- }
315
-
316
305
  export declare const InputWithCountry: ({ label, type, ...rest }: CustomInputProps & InputProps_2) => default_2.JSX.Element;
317
306
 
318
307
  export { JobTypeEnum }
319
308
 
320
- declare enum JobTypeEnum_2{
321
- PART_TIME='Part time',
322
- FULL_TIME='Full time',
323
-
324
- }
325
-
326
309
  export { Justify }
327
310
 
328
311
  export declare const ListingTableHeader: (props: ListingTableHeaderProps) => default_2.JSX.Element;
@@ -452,10 +435,6 @@ export declare const Select: (props: SelectPropsBase) => default_2.JSX.Element;
452
435
 
453
436
  declare interface SelectPropsBase extends SelectProps {
454
437
  name: string;
455
- options: {
456
- value: string;
457
- label: string;
458
- }[];
459
438
  label: string;
460
439
  customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement> | string | number, field: ControllerRenderProps<FieldValues, string>) => void;
461
440
  }
@@ -549,11 +528,6 @@ export declare interface TitleHeaderProps {
549
528
 
550
529
  export { TitleHeaderStatus }
551
530
 
552
- declare enum TitleHeaderStatus_2{
553
- ACTIVE='active',
554
- INACTIVE='inactive',
555
- }
556
-
557
531
  export declare const Tooltip: FC<TooltipProps>;
558
532
 
559
533
  declare interface TooltipProps {