vrfi-design-system 1.0.88 → 1.0.89

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,6 +106,7 @@ 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';
109
110
  import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
110
111
  import { TimePickerProps } from 'antd';
111
112
  import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
@@ -544,11 +545,12 @@ export declare interface ListingTableHeaderProps {
544
545
  className?: string;
545
546
  }
546
547
 
547
- export declare const ListItem: ({ text, iconName, className, ...props }: ListItemProps) => default_2.JSX.Element;
548
+ export declare const ListItem: ({ text, iconName, className, children, name, ...props }: ListItemProps) => default_2.JSX.Element;
548
549
 
549
550
  declare interface ListItemProps extends HTMLAttributes<HTMLSpanElement> {
550
- text: string;
551
+ text?: string;
551
552
  iconName: Icons_2;
553
+ name?: string;
552
554
  }
553
555
 
554
556
  export declare const Loader: default_2.FC<LoaderProps>;
@@ -574,14 +576,16 @@ export declare interface ModalProps extends ModalProps_2 {
574
576
  title?: string;
575
577
  confirmLoading?: boolean;
576
578
  modalTitleIcon?: string;
577
- modalType: ModalTypeEnum;
579
+ modalType?: ModalTypeEnum;
580
+ className?: string;
578
581
  }
579
582
 
580
583
  export declare enum ModalTypeEnum {
581
584
  SUCCESS = "success",
582
585
  DANGER = "danger",
583
586
  BASIC = "basic",
584
- WARNING = "warning"
587
+ WARNING = "warning",
588
+ DEFAULT = "default"
585
589
  }
586
590
 
587
591
  export declare const NoData: ({ headingText, subHeading, noDataIcon, buttonOnClick, buttonText, }: NoDataProps) => default_2.JSX.Element;
@@ -616,8 +620,17 @@ declare interface OfflineProps {
616
620
 
617
621
  declare type OutlineType = "primary" | "danger" | "success";
618
622
 
623
+ export declare const Pagination: default_2.FC<PaginationProps>;
624
+
619
625
  export { PaginationMeta }
620
626
 
627
+ declare interface PaginationProps {
628
+ total: number;
629
+ pageSize?: number;
630
+ currentPage: number;
631
+ onPageChange: (page: number) => void;
632
+ }
633
+
621
634
  declare const PasswordField: default_2.ForwardRefExoticComponent<CustomInputProps & PasswordProps & default_2.RefAttributes<InputRef_2>>;
622
635
  export { PasswordField as Password }
623
636
  export { PasswordField }
@@ -864,11 +877,12 @@ declare interface TabsProps extends TabsProps_2 {
864
877
  tabBarGutter?: number;
865
878
  tabBarStyle?: CSSProperties;
866
879
  tabPosition?: "top" | "bottom" | "right" | "left";
867
- type?: "line" | "card" | "editable-card";
880
+ type?: TabsType;
868
881
  onEdit?: () => void;
869
882
  isRemovable?: boolean;
870
883
  onRemove?: (key: string) => void;
871
884
  onDoubleClickHandler?: (key: string) => void;
885
+ isSticky?: boolean;
872
886
  }
873
887
 
874
888
  export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;
@@ -879,7 +893,7 @@ export declare interface TextAreaProps extends Omit<TextAreaProps_2, "value"> {
879
893
  required?: boolean;
880
894
  }
881
895
 
882
- export declare const TextAreaWithController: ({ label, type, placeholder, required, ...rest }: TextAreaWithControllerProps) => default_2.JSX.Element;
896
+ export declare const TextAreaWithController: ({ label, type, placeholder, required, name, ...rest }: TextAreaWithControllerProps) => default_2.JSX.Element;
883
897
 
884
898
  export declare type TextAreaWithControllerProps = CustomInputProps & TextAreaProps_2;
885
899