vrfi-design-system 1.0.88 → 1.0.90
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 +23 -10
- package/dist/main.es.js +8291 -8232
- package/dist/main.umd.js +96 -96
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,9 +10,7 @@ import { BadgeType } from '../../enums/badgeType.enum';
|
|
|
10
10
|
import { BadgeType as BadgeType_2 } from '../../../enums/badgeType.enum';
|
|
11
11
|
import { ButtonType } from '../../enums/buttonType';
|
|
12
12
|
import { ButtonType as ButtonType_2 } from 'antd/lib/button';
|
|
13
|
-
import { CheckboxChangeEvent } from 'antd/es/checkbox';
|
|
14
13
|
import { CheckboxGroupProps as CheckboxGroupProps_2 } from 'antd/lib/checkbox';
|
|
15
|
-
import { CheckboxGroupProps as CheckboxGroupProps_3 } from 'antd/es/checkbox';
|
|
16
14
|
import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
|
|
17
15
|
import { default as Col } from 'antd/lib/col';
|
|
18
16
|
import { Colors } from '../../enums/colors.enum';
|
|
@@ -106,6 +104,7 @@ import { TableProps as TableProps_2 } from 'rc-table/lib/Table';
|
|
|
106
104
|
import { TableType } from '../../enums/tableType.enum';
|
|
107
105
|
import { TableType as TableType_2 } from '../../../enums/tableType.enum';
|
|
108
106
|
import { TabsProps as TabsProps_2 } from 'antd';
|
|
107
|
+
import { TabsType } from 'antd/es/tabs';
|
|
109
108
|
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
|
110
109
|
import { TimePickerProps } from 'antd';
|
|
111
110
|
import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
|
|
@@ -256,17 +255,18 @@ export declare interface CheckboxSelectFieldProps extends SelectPropsBase {
|
|
|
256
255
|
handleCheckboxChange?: (value: string) => void;
|
|
257
256
|
}
|
|
258
257
|
|
|
259
|
-
export declare const CheckBoxWithFormWrapper: ({ name, onCheckboxChange, group, children, ...props }: CheckBoxWithFormWrapperProps) => default_2.JSX.Element;
|
|
258
|
+
export declare const CheckBoxWithFormWrapper: ({ name, onCheckboxChange, group, children, singleSelectionMode, ...props }: CheckBoxWithFormWrapperProps) => default_2.JSX.Element;
|
|
260
259
|
|
|
261
260
|
declare interface CheckBoxWithFormWrapperProps {
|
|
262
261
|
children?: default_2.ReactNode;
|
|
263
262
|
disabled?: boolean;
|
|
264
263
|
indeterminate?: boolean;
|
|
265
264
|
group?: boolean;
|
|
266
|
-
onCheckboxChange?: (event:
|
|
265
|
+
onCheckboxChange?: (event: string | number | boolean | (string | number)[] | null) => void;
|
|
267
266
|
options?: (CheckboxOptionType | string | number)[];
|
|
268
267
|
name: string;
|
|
269
268
|
className?: string;
|
|
269
|
+
singleSelectionMode?: boolean;
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
export { Col }
|
|
@@ -544,11 +544,12 @@ export declare interface ListingTableHeaderProps {
|
|
|
544
544
|
className?: string;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
-
export declare const ListItem: ({ text, iconName, className, ...props }: ListItemProps) => default_2.JSX.Element;
|
|
547
|
+
export declare const ListItem: ({ text, iconName, className, children, name, ...props }: ListItemProps) => default_2.JSX.Element;
|
|
548
548
|
|
|
549
549
|
declare interface ListItemProps extends HTMLAttributes<HTMLSpanElement> {
|
|
550
|
-
text
|
|
550
|
+
text?: string;
|
|
551
551
|
iconName: Icons_2;
|
|
552
|
+
name?: string;
|
|
552
553
|
}
|
|
553
554
|
|
|
554
555
|
export declare const Loader: default_2.FC<LoaderProps>;
|
|
@@ -574,14 +575,16 @@ export declare interface ModalProps extends ModalProps_2 {
|
|
|
574
575
|
title?: string;
|
|
575
576
|
confirmLoading?: boolean;
|
|
576
577
|
modalTitleIcon?: string;
|
|
577
|
-
modalType
|
|
578
|
+
modalType?: ModalTypeEnum;
|
|
579
|
+
className?: string;
|
|
578
580
|
}
|
|
579
581
|
|
|
580
582
|
export declare enum ModalTypeEnum {
|
|
581
583
|
SUCCESS = "success",
|
|
582
584
|
DANGER = "danger",
|
|
583
585
|
BASIC = "basic",
|
|
584
|
-
WARNING = "warning"
|
|
586
|
+
WARNING = "warning",
|
|
587
|
+
DEFAULT = "default"
|
|
585
588
|
}
|
|
586
589
|
|
|
587
590
|
export declare const NoData: ({ headingText, subHeading, noDataIcon, buttonOnClick, buttonText, }: NoDataProps) => default_2.JSX.Element;
|
|
@@ -616,8 +619,17 @@ declare interface OfflineProps {
|
|
|
616
619
|
|
|
617
620
|
declare type OutlineType = "primary" | "danger" | "success";
|
|
618
621
|
|
|
622
|
+
export declare const Pagination: default_2.FC<PaginationProps>;
|
|
623
|
+
|
|
619
624
|
export { PaginationMeta }
|
|
620
625
|
|
|
626
|
+
declare interface PaginationProps {
|
|
627
|
+
total: number;
|
|
628
|
+
pageSize?: number;
|
|
629
|
+
currentPage: number;
|
|
630
|
+
onPageChange: (page: number) => void;
|
|
631
|
+
}
|
|
632
|
+
|
|
621
633
|
declare const PasswordField: default_2.ForwardRefExoticComponent<CustomInputProps & PasswordProps & default_2.RefAttributes<InputRef_2>>;
|
|
622
634
|
export { PasswordField as Password }
|
|
623
635
|
export { PasswordField }
|
|
@@ -864,11 +876,12 @@ declare interface TabsProps extends TabsProps_2 {
|
|
|
864
876
|
tabBarGutter?: number;
|
|
865
877
|
tabBarStyle?: CSSProperties;
|
|
866
878
|
tabPosition?: "top" | "bottom" | "right" | "left";
|
|
867
|
-
type?:
|
|
879
|
+
type?: TabsType;
|
|
868
880
|
onEdit?: () => void;
|
|
869
881
|
isRemovable?: boolean;
|
|
870
882
|
onRemove?: (key: string) => void;
|
|
871
883
|
onDoubleClickHandler?: (key: string) => void;
|
|
884
|
+
isSticky?: boolean;
|
|
872
885
|
}
|
|
873
886
|
|
|
874
887
|
export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;
|
|
@@ -879,7 +892,7 @@ export declare interface TextAreaProps extends Omit<TextAreaProps_2, "value"> {
|
|
|
879
892
|
required?: boolean;
|
|
880
893
|
}
|
|
881
894
|
|
|
882
|
-
export declare const TextAreaWithController: ({ label, type, placeholder, required, ...rest }: TextAreaWithControllerProps) => default_2.JSX.Element;
|
|
895
|
+
export declare const TextAreaWithController: ({ label, type, placeholder, required, name, ...rest }: TextAreaWithControllerProps) => default_2.JSX.Element;
|
|
883
896
|
|
|
884
897
|
export declare type TextAreaWithControllerProps = CustomInputProps & TextAreaProps_2;
|
|
885
898
|
|