vrfi-design-system 1.0.89 → 1.0.91

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
@@ -106,7 +106,6 @@ import { TableProps as TableProps_2 } from 'rc-table/lib/Table';
106
106
  import { TableType } from '../../enums/tableType.enum';
107
107
  import { TableType as TableType_2 } from '../../../enums/tableType.enum';
108
108
  import { TabsProps as TabsProps_2 } from 'antd';
109
- import { TabsType } from 'antd/es/tabs';
110
109
  import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
111
110
  import { TimePickerProps } from 'antd';
112
111
  import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
@@ -250,13 +249,6 @@ export declare interface CheckboxProps {
250
249
  maxRows?: number;
251
250
  }
252
251
 
253
- export declare const CheckboxSelectField: ({ name, label, options, selectedOptions, handleCheckboxChange, className, size, type, required, customInput, ...props }: CheckboxSelectFieldProps) => default_2.JSX.Element;
254
-
255
- export declare interface CheckboxSelectFieldProps extends SelectPropsBase {
256
- selectedOptions?: (string | number)[];
257
- handleCheckboxChange?: (value: string) => void;
258
- }
259
-
260
252
  export declare const CheckBoxWithFormWrapper: ({ name, onCheckboxChange, group, children, ...props }: CheckBoxWithFormWrapperProps) => default_2.JSX.Element;
261
253
 
262
254
  declare interface CheckBoxWithFormWrapperProps {
@@ -347,6 +339,9 @@ declare interface CustomUploadProps extends Omit<UploadProps, "onChange"> {
347
339
  loading?: boolean;
348
340
  fileNamePrefix?: string;
349
341
  uploadInputType?: UploadInputTypes;
342
+ showFileNameFormat?: boolean;
343
+ docNamingConvention?: string;
344
+ documentTypes?: string;
350
345
  }
351
346
 
352
347
  export declare const DashboardCard: (props: DashboardCardProps) => default_2.JSX.Element;
@@ -545,12 +540,11 @@ export declare interface ListingTableHeaderProps {
545
540
  className?: string;
546
541
  }
547
542
 
548
- export declare const ListItem: ({ text, iconName, className, children, name, ...props }: ListItemProps) => default_2.JSX.Element;
543
+ export declare const ListItem: ({ text, iconName, className, ...props }: ListItemProps) => default_2.JSX.Element;
549
544
 
550
545
  declare interface ListItemProps extends HTMLAttributes<HTMLSpanElement> {
551
- text?: string;
546
+ text: string;
552
547
  iconName: Icons_2;
553
- name?: string;
554
548
  }
555
549
 
556
550
  export declare const Loader: default_2.FC<LoaderProps>;
@@ -576,16 +570,14 @@ export declare interface ModalProps extends ModalProps_2 {
576
570
  title?: string;
577
571
  confirmLoading?: boolean;
578
572
  modalTitleIcon?: string;
579
- modalType?: ModalTypeEnum;
580
- className?: string;
573
+ modalType: ModalTypeEnum;
581
574
  }
582
575
 
583
576
  export declare enum ModalTypeEnum {
584
577
  SUCCESS = "success",
585
578
  DANGER = "danger",
586
579
  BASIC = "basic",
587
- WARNING = "warning",
588
- DEFAULT = "default"
580
+ WARNING = "warning"
589
581
  }
590
582
 
591
583
  export declare const NoData: ({ headingText, subHeading, noDataIcon, buttonOnClick, buttonText, }: NoDataProps) => default_2.JSX.Element;
@@ -620,17 +612,8 @@ declare interface OfflineProps {
620
612
 
621
613
  declare type OutlineType = "primary" | "danger" | "success";
622
614
 
623
- export declare const Pagination: default_2.FC<PaginationProps>;
624
-
625
615
  export { PaginationMeta }
626
616
 
627
- declare interface PaginationProps {
628
- total: number;
629
- pageSize?: number;
630
- currentPage: number;
631
- onPageChange: (page: number) => void;
632
- }
633
-
634
617
  declare const PasswordField: default_2.ForwardRefExoticComponent<CustomInputProps & PasswordProps & default_2.RefAttributes<InputRef_2>>;
635
618
  export { PasswordField as Password }
636
619
  export { PasswordField }
@@ -676,6 +659,7 @@ declare interface PreviewCardProps {
676
659
  isCandidateDocCard?: boolean;
677
660
  onDelete?: () => void;
678
661
  expiryDate?: string;
662
+ showDownloadIcon?: boolean;
679
663
  }
680
664
 
681
665
  export declare const PreviewDocumentsCard: default_2.FC<PreviewDocumentsCardProps>;
@@ -705,18 +689,18 @@ export declare const ProfileDetail: (props: ProfileDetailProps) => default_2.JSX
705
689
  export { ProfileDetailFooterTypes }
706
690
 
707
691
  export declare interface ProfileDetailProps {
708
- name?: string;
692
+ name: string;
709
693
  phoneNumber?: string;
710
- email?: string;
694
+ email: string;
711
695
  address?: string;
712
- gender?: GenderProfileEnum_2;
696
+ gender: GenderProfileEnum_2;
713
697
  jobType?: JobTypeEnum_2;
714
698
  jobTitle?: string[];
715
699
  skills?: string[];
716
700
  yearsOfExperience?: number | string;
717
- userId?: string;
701
+ userId: string;
718
702
  imageUrl?: string;
719
- verified?: boolean;
703
+ verified: boolean;
720
704
  sinNumber?: number;
721
705
  footerDetails?: boolean;
722
706
  agencyName?: string;
@@ -762,7 +746,7 @@ export declare interface SearchComponentProps {
762
746
 
763
747
  export declare const SearchField: FC<SearchComponentProps>;
764
748
 
765
- export declare const Select: ({ name, label, required, customOnChange, options, size, type, customInput, className, ...props }: SelectPropsBase) => default_2.JSX.Element;
749
+ export declare const Select: ({ name, label, required, customOnChange, options, size, type, customInput, className, selectedOptions, handleCheckboxChange, ...props }: SelectPropsBase) => default_2.JSX.Element;
766
750
 
767
751
  declare interface SelectPropsBase extends SelectProps {
768
752
  name: string;
@@ -772,6 +756,8 @@ declare interface SelectPropsBase extends SelectProps {
772
756
  type?: SelectType_2;
773
757
  customInput?: boolean;
774
758
  customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement> | string | number, field: ControllerRenderProps<FieldValues, string>) => void;
759
+ selectedOptions?: (string | number)[];
760
+ handleCheckboxChange?: (value: string) => void;
775
761
  }
776
762
 
777
763
  export { SelectType }
@@ -877,12 +863,11 @@ declare interface TabsProps extends TabsProps_2 {
877
863
  tabBarGutter?: number;
878
864
  tabBarStyle?: CSSProperties;
879
865
  tabPosition?: "top" | "bottom" | "right" | "left";
880
- type?: TabsType;
866
+ type?: "line" | "card" | "editable-card";
881
867
  onEdit?: () => void;
882
868
  isRemovable?: boolean;
883
869
  onRemove?: (key: string) => void;
884
870
  onDoubleClickHandler?: (key: string) => void;
885
- isSticky?: boolean;
886
871
  }
887
872
 
888
873
  export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;
@@ -893,7 +878,7 @@ export declare interface TextAreaProps extends Omit<TextAreaProps_2, "value"> {
893
878
  required?: boolean;
894
879
  }
895
880
 
896
- export declare const TextAreaWithController: ({ label, type, placeholder, required, name, ...rest }: TextAreaWithControllerProps) => default_2.JSX.Element;
881
+ export declare const TextAreaWithController: ({ label, type, placeholder, required, ...rest }: TextAreaWithControllerProps) => default_2.JSX.Element;
897
882
 
898
883
  export declare type TextAreaWithControllerProps = CustomInputProps & TextAreaProps_2;
899
884