vrfi-design-system 1.0.30 → 1.0.32

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
@@ -1,3 +1,4 @@
1
+ import { ActionType } from '../../enums/trigger';
1
2
  import { Align } from '../../enums/align.enum';
2
3
  import { default as AuthBanner } from '../../views/Auth/AuthBanner';
3
4
  import { default as AuthForm } from '../../views/Auth/AuthForm';
@@ -48,6 +49,7 @@ import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
48
49
  import { MouseEvent as MouseEvent_2 } from 'react';
49
50
  import { NotificationTypes } from '../../enums/notificationTypes';
50
51
  import { PasswordProps } from 'antd/es/input';
52
+ import { Placement } from '../../enums/placement';
51
53
  import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
52
54
  import { PropsWithChildren } from 'react';
53
55
  import { Radio as Radio_2 } from 'antd';
@@ -94,6 +96,8 @@ import { VerificationTypes } from '../../enums/verificationTypes.enum';
94
96
  import { VerificationTypes as VerificationTypes_2 } from '../../../enums/verificationTypes.enum';
95
97
  import * as Yup from 'yup';
96
98
 
99
+ export { ActionType }
100
+
97
101
  export { Align }
98
102
 
99
103
  export declare interface AssignedEmployerProps {
@@ -209,6 +213,7 @@ export declare interface CustomInputProps {
209
213
  placeholder?: string;
210
214
  type?: InputTypes_2;
211
215
  prefix?: ReactNode;
216
+ textLabel?: string;
212
217
  required?: boolean;
213
218
  customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement | HTMLTextAreaElement> | default_3.Dayjs | null, field: ControllerRenderProps<FieldValues, string>) => void;
214
219
  control?: Control<FieldValues>;
@@ -352,7 +357,7 @@ export declare interface INotification {
352
357
  type: string;
353
358
  }
354
359
 
355
- export declare const InputField: ({ label, type, placeholder, prefix, required, ...rest }: CustomInputProps & InputProps) => default_2.JSX.Element;
360
+ export declare const InputField: ({ label, type, placeholder, prefix, required, textLabel, ...rest }: CustomInputProps & InputProps) => default_2.JSX.Element;
356
361
 
357
362
  export { InputTypes }
358
363
 
@@ -395,7 +400,7 @@ export declare interface ModalProps extends ModalProps_2 {
395
400
  modalType: ModalTypeEnum;
396
401
  }
397
402
 
398
- declare enum ModalTypeEnum {
403
+ export declare enum ModalTypeEnum {
399
404
  SUCCESS = "success",
400
405
  DANGER = "danger",
401
406
  BASIC = "basic"
@@ -433,6 +438,8 @@ export declare interface PasswordValidationProps {
433
438
  validationRules: ValidationRuleProps[];
434
439
  }
435
440
 
441
+ export { Placement }
442
+
436
443
  export declare const PreviewDocumentsCard: default_2.FC<PreviewDocumentsCardProps>;
437
444
 
438
445
  export declare interface PreviewDocumentsCardProps {
@@ -568,7 +575,7 @@ export { SwitchProps }
568
575
 
569
576
  export declare const Table: <T extends object>(props: TableProps_3<T>) => default_2.JSX.Element;
570
577
 
571
- export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onRow, onChange, loadingCount, size, type, scroll, rowClassName, noDataComponent, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
578
+ export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent, rowHoverAction, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
572
579
 
573
580
  export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onRow"> {
574
581
  dataSource?: T[];
@@ -581,10 +588,12 @@ export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onR
581
588
  scroll?: TableProps_2<T>["scroll"] & {
582
589
  scrollToFirstRowOnChange?: boolean;
583
590
  };
591
+ rowHoverable?: boolean;
584
592
  onChange?: (pagination?: TablePaginationConfig_2, filters?: Record<string, FilterValue | null>, sorter?: SorterResult<T> | SorterResult<T>[], extra?: TableCurrentDataSource<T>) => void;
585
593
  loadingCount?: number;
586
594
  size?: SizeType;
587
595
  noDataComponent?: default_2.ReactNode;
596
+ rowHoverAction?: default_2.ReactNode;
588
597
  }
589
598
 
590
599
  export { TablePaginationConfig }