vrfi-design-system 1.0.99 → 1.1.1

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
@@ -56,23 +56,21 @@ import { LabelType } from './../../enums/labelType.enum';
56
56
  import { LabelType as LabelType_2 } from '../../../enums/labelType.enum';
57
57
  import { LoaderSizes } from '../../../enums/LoaderSizes';
58
58
  import { MenuProps } from 'antd/lib';
59
- import { Meta } from '../../models/Meta/meta.model';
60
59
  import { MobileInputValue } from '../types/mobileInputValue.type';
61
60
  import { MobileInputValue as MobileInputValue_2 } from '../../../types/mobileInputValue.type';
62
61
  import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
63
62
  import { MouseEvent as MouseEvent_2 } from 'react';
64
63
  import { NotificationTypes } from '../../enums/notificationTypes';
65
- import { PaginationMeta } from '../../models/PaginationMeta/paginationMeta.model';
66
64
  import { PasswordProps } from 'antd/es/input';
67
65
  import { Placement } from '../../enums/placement';
68
66
  import { default as Popover } from 'antd/lib/popover';
69
67
  import { PopoverProps } from 'antd';
70
68
  import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
71
69
  import { PropsWithChildren } from 'react';
72
- import { QueryParams } from '../../models/QueryParams/queryParams.model';
73
70
  import { RadioChangeEvent } from 'antd';
74
71
  import { RadioGroupProps } from 'antd';
75
72
  import { RadioProps as RadioProps_2 } from 'antd';
73
+ import { RateProps as RateProps_2 } from 'antd';
76
74
  import { ReactElement } from 'react';
77
75
  import { ReactNode } from 'react';
78
76
  import { RegisterOptions } from 'react-hook-form';
@@ -143,6 +141,16 @@ declare interface AgencyJobCardProps extends HTMLAttributes<HTMLDivElement> {
143
141
 
144
142
  export { Align }
145
143
 
144
+ export declare const ApplicationHeader: default_2.FC<ApplicationHeaderProps>;
145
+
146
+ export declare interface ApplicationHeaderProps {
147
+ userName: string;
148
+ activeMenu: string;
149
+ menuItems: MenuItem[];
150
+ onClick: MenuProps["onClick"];
151
+ notificationClickHandler: () => void;
152
+ }
153
+
146
154
  export declare interface AssignedEmployerProps {
147
155
  data?: EmployerDataType[];
148
156
  noDataHeading?: string;
@@ -463,6 +471,7 @@ export declare interface FloatingLabelProps {
463
471
  placeholder?: string;
464
472
  type?: LabelType_2;
465
473
  customInput?: boolean;
474
+ className?: string;
466
475
  }
467
476
 
468
477
  export { FooterDetailsProps }
@@ -494,7 +503,7 @@ export { InputRef }
494
503
 
495
504
  export { InputTypes }
496
505
 
497
- export declare const InputWithCountry: ({ label, type, required, isdCodeName, ...rest }: Omit<InputWithCountryFlagProps & InputProps_2, "icon">) => default_2.JSX.Element;
506
+ export declare const InputWithCountry: ({ label, type, required, isdCodeName, customInput, ...rest }: Omit<InputWithCountryFlagProps & InputProps_2, "icon">) => default_2.JSX.Element;
498
507
 
499
508
  declare interface InputWithCountryFlagProps extends Omit<CustomInputProps, "customOnChange"> {
500
509
  isdCodeName: string;
@@ -565,7 +574,7 @@ export declare interface LoaderProps {
565
574
  tip?: string;
566
575
  }
567
576
 
568
- export { Meta }
577
+ declare type MenuItem = Required<MenuProps>["items"][number];
569
578
 
570
579
  export { MobileInputValue }
571
580
 
@@ -626,8 +635,6 @@ declare type OutlineType = "primary" | "danger" | "success";
626
635
 
627
636
  export declare const Pagination: default_2.FC<PaginationProps>;
628
637
 
629
- export { PaginationMeta }
630
-
631
638
  declare interface PaginationProps {
632
639
  total: number;
633
640
  pageSize?: number;
@@ -733,8 +740,6 @@ export declare interface ProfileDetailProps {
733
740
  textImage?: boolean;
734
741
  }
735
742
 
736
- export { QueryParams }
737
-
738
743
  export declare function RadioGroup({ name, required, label, options, customOnChange, ...rest }: RadioProps): default_2.JSX.Element;
739
744
 
740
745
  declare interface RadioProps extends RadioProps_2, Pick<RadioGroupProps, 'options'> {
@@ -744,6 +749,12 @@ declare interface RadioProps extends RadioProps_2, Pick<RadioGroupProps, 'option
744
749
  customOnChange?: (event: RadioChangeEvent | null, field: ControllerRenderProps<FieldValues, string>) => void;
745
750
  }
746
751
 
752
+ export declare const Rate: FC<RateProps>;
753
+
754
+ export declare interface RateProps extends Omit<RateProps_2, "characterRender" | "character"> {
755
+ isCandidate?: boolean;
756
+ }
757
+
747
758
  export declare const RoleManagement: (props: RoleManagementProps) => default_2.JSX.Element;
748
759
 
749
760
  export declare interface RoleManagementProps {
@@ -891,6 +902,7 @@ declare interface TabsProps extends TabsProps_2 {
891
902
  onRemove?: (key: string) => void;
892
903
  onDoubleClickHandler?: (key: string) => void;
893
904
  isSticky?: boolean;
905
+ innerRef?: default_2.RefObject<HTMLDivElement> | null;
894
906
  }
895
907
 
896
908
  export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;