vrfi-design-system 1.1.0 → 1.1.2

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
@@ -13,6 +13,7 @@ import { ButtonType as ButtonType_2 } from 'antd/lib/button';
13
13
  import { CheckboxGroupProps as CheckboxGroupProps_2 } from 'antd/lib/checkbox';
14
14
  import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
15
15
  import { default as Col } from 'antd/lib/col';
16
+ import { CollapseProps } from 'antd';
16
17
  import { Colors } from '../../enums/colors.enum';
17
18
  import { ColProps } from 'antd/lib/col';
18
19
  import { ColumnSortOrder } from './../../enums/columnSortOrder.enum';
@@ -56,23 +57,21 @@ import { LabelType } from './../../enums/labelType.enum';
56
57
  import { LabelType as LabelType_2 } from '../../../enums/labelType.enum';
57
58
  import { LoaderSizes } from '../../../enums/LoaderSizes';
58
59
  import { MenuProps } from 'antd/lib';
59
- import { Meta } from '../../models/Meta/meta.model';
60
60
  import { MobileInputValue } from '../types/mobileInputValue.type';
61
61
  import { MobileInputValue as MobileInputValue_2 } from '../../../types/mobileInputValue.type';
62
62
  import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
63
63
  import { MouseEvent as MouseEvent_2 } from 'react';
64
64
  import { NotificationTypes } from '../../enums/notificationTypes';
65
- import { PaginationMeta } from '../../models/PaginationMeta/paginationMeta.model';
66
65
  import { PasswordProps } from 'antd/es/input';
67
66
  import { Placement } from '../../enums/placement';
68
67
  import { default as Popover } from 'antd/lib/popover';
69
68
  import { PopoverProps } from 'antd';
70
69
  import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
71
70
  import { PropsWithChildren } from 'react';
72
- import { QueryParams } from '../../models/QueryParams/queryParams.model';
73
71
  import { RadioChangeEvent } from 'antd';
74
72
  import { RadioGroupProps } from 'antd';
75
73
  import { RadioProps as RadioProps_2 } from 'antd';
74
+ import { RateProps as RateProps_2 } from 'antd';
76
75
  import { ReactElement } from 'react';
77
76
  import { ReactNode } from 'react';
78
77
  import { RegisterOptions } from 'react-hook-form';
@@ -126,6 +125,18 @@ import { VerificationTypes } from '../../enums/verificationTypes.enum';
126
125
  import { VerificationTypes as VerificationTypes_2 } from '../../../enums/verificationTypes.enum';
127
126
  import * as Yup from 'yup';
128
127
 
128
+ export declare const Accordian: default_2.FC<AccordionProps>;
129
+
130
+ export declare interface AccordionItem {
131
+ id: string;
132
+ title: ReactNode;
133
+ description: ReactNode;
134
+ }
135
+
136
+ declare interface AccordionProps extends CollapseProps {
137
+ accordionList: AccordionItem[];
138
+ }
139
+
129
140
  export { ActionType }
130
141
 
131
142
  export declare const AgencyJobCard: FC<AgencyJobCardProps>;
@@ -143,6 +154,16 @@ declare interface AgencyJobCardProps extends HTMLAttributes<HTMLDivElement> {
143
154
 
144
155
  export { Align }
145
156
 
157
+ export declare const ApplicationHeader: default_2.FC<ApplicationHeaderProps>;
158
+
159
+ export declare interface ApplicationHeaderProps {
160
+ userName: string;
161
+ activeMenu: string;
162
+ menuItems: MenuItem[];
163
+ onClick: MenuProps["onClick"];
164
+ notificationClickHandler: () => void;
165
+ }
166
+
146
167
  export declare interface AssignedEmployerProps {
147
168
  data?: EmployerDataType[];
148
169
  noDataHeading?: string;
@@ -326,6 +347,23 @@ export declare interface CustomInputProps {
326
347
  customInput?: boolean;
327
348
  }
328
349
 
350
+ export declare const CustomModal: default_2.FC<CustomModalProps>;
351
+
352
+ declare interface CustomModalProps {
353
+ modalType: CustomModalTypes;
354
+ description?: string;
355
+ btnText?: string;
356
+ onClick?: () => void;
357
+ onCancel?: () => void;
358
+ visible: boolean;
359
+ }
360
+
361
+ export declare enum CustomModalTypes {
362
+ SUCCESS = "success",
363
+ WARNING = "warning",
364
+ SORRY = "sorry"
365
+ }
366
+
329
367
  export declare interface CustomTooltipProps extends Omit<TooltipProps, 'title'> {
330
368
  icon?: ReactNode;
331
369
  title: ReactNode;
@@ -463,6 +501,7 @@ export declare interface FloatingLabelProps {
463
501
  placeholder?: string;
464
502
  type?: LabelType_2;
465
503
  customInput?: boolean;
504
+ className?: string;
466
505
  }
467
506
 
468
507
  export { FooterDetailsProps }
@@ -494,7 +533,7 @@ export { InputRef }
494
533
 
495
534
  export { InputTypes }
496
535
 
497
- export declare const InputWithCountry: ({ label, type, required, isdCodeName, ...rest }: Omit<InputWithCountryFlagProps & InputProps_2, "icon">) => default_2.JSX.Element;
536
+ export declare const InputWithCountry: ({ label, type, required, isdCodeName, customInput, ...rest }: Omit<InputWithCountryFlagProps & InputProps_2, "icon">) => default_2.JSX.Element;
498
537
 
499
538
  declare interface InputWithCountryFlagProps extends Omit<CustomInputProps, "customOnChange"> {
500
539
  isdCodeName: string;
@@ -565,7 +604,7 @@ export declare interface LoaderProps {
565
604
  tip?: string;
566
605
  }
567
606
 
568
- export { Meta }
607
+ declare type MenuItem = Required<MenuProps>["items"][number];
569
608
 
570
609
  export { MobileInputValue }
571
610
 
@@ -626,8 +665,6 @@ declare type OutlineType = "primary" | "danger" | "success";
626
665
 
627
666
  export declare const Pagination: default_2.FC<PaginationProps>;
628
667
 
629
- export { PaginationMeta }
630
-
631
668
  declare interface PaginationProps {
632
669
  total: number;
633
670
  pageSize?: number;
@@ -733,8 +770,6 @@ export declare interface ProfileDetailProps {
733
770
  textImage?: boolean;
734
771
  }
735
772
 
736
- export { QueryParams }
737
-
738
773
  export declare function RadioGroup({ name, required, label, options, customOnChange, ...rest }: RadioProps): default_2.JSX.Element;
739
774
 
740
775
  declare interface RadioProps extends RadioProps_2, Pick<RadioGroupProps, 'options'> {
@@ -744,6 +779,12 @@ declare interface RadioProps extends RadioProps_2, Pick<RadioGroupProps, 'option
744
779
  customOnChange?: (event: RadioChangeEvent | null, field: ControllerRenderProps<FieldValues, string>) => void;
745
780
  }
746
781
 
782
+ export declare const Rate: FC<RateProps>;
783
+
784
+ export declare interface RateProps extends Omit<RateProps_2, "characterRender" | "character"> {
785
+ isCandidate?: boolean;
786
+ }
787
+
747
788
  export declare const RoleManagement: (props: RoleManagementProps) => default_2.JSX.Element;
748
789
 
749
790
  export declare interface RoleManagementProps {