vrfi-design-system 1.0.45 → 1.0.47

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
@@ -34,6 +34,7 @@ import { GenderProfileEnum } from '../../enums/genderProfile.enum';
34
34
  import { GenderProfileEnum as GenderProfileEnum_2 } from '../../../enums/genderProfile.enum';
35
35
  import { HtmlButtonType } from '../../enums/buttonType';
36
36
  import { Icons } from '../../enums/icons.enum';
37
+ import { Icons as Icons_2 } from '../../../enums/icons.enum';
37
38
  import { InputProps } from 'antd/lib';
38
39
  import { InputProps as InputProps_2 } from 'antd';
39
40
  import { InputTypes } from '../../enums/inputType.enum';
@@ -61,10 +62,12 @@ import { RegisterOptions } from 'react-hook-form';
61
62
  import { default as Row } from 'antd/lib/row';
62
63
  import { RowProps } from 'antd/lib/row';
63
64
  import { SelectProps } from 'antd';
65
+ import { SelectType } from '../../../../enums/selectType.enum';
64
66
  import { SidebarMenuProps } from '../types/SidebarRouteProps';
65
67
  import { SidebarMenuProps as SidebarMenuProps_2 } from '../..//types/SidebarRouteProps';
66
68
  import { Size } from '../../enums/size.enum';
67
69
  import { SizeType } from 'antd/lib/config-provider/SizeContext';
70
+ import { SizeType as SizeType_2 } from 'antd/es/config-provider/SizeContext';
68
71
  import { SkeletonProps } from 'antd';
69
72
  import { SorterResult } from 'antd/lib/table/interface';
70
73
  import { SortOrder } from 'antd/lib/table/interface';
@@ -83,6 +86,7 @@ import { TableProps as TableProps_2 } from 'rc-table/lib/Table';
83
86
  import { TableProps as TableProps_3 } from 'antd';
84
87
  import { TableType } from '../../enums/tableType.enum';
85
88
  import { TableType as TableType_2 } from '../../../enums/tableType.enum';
89
+ import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
86
90
  import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
87
91
  import { TitleHeaderStatus as TitleHeaderStatus_2 } from '../../../enums/titleHeaderStatus.enum';
88
92
  import { tooltipPosition } from '../../../enums/tooltipPosition';
@@ -457,13 +461,19 @@ export declare interface PasswordValidationProps {
457
461
  validationRules: ValidationRuleProps[];
458
462
  }
459
463
 
464
+ export declare const PathIcon: default_2.MemoExoticComponent<({ count, className }: PathIconProps) => default_2.JSX.Element>;
465
+
466
+ declare interface PathIconProps {
467
+ count?: number;
468
+ className: Icons_2;
469
+ }
470
+
460
471
  export { Placement }
461
472
 
462
473
  export declare const PreviewCard: default_2.FC<PreviewCardProps>;
463
474
 
464
475
  declare interface PreviewCardProps {
465
476
  fileName: string;
466
- onRemove: () => void;
467
477
  url?: string;
468
478
  showPreviewIcon?: boolean;
469
479
  className?: string;
@@ -540,12 +550,14 @@ export declare interface SearchComponentProps {
540
550
 
541
551
  export declare const SearchField: FC<SearchComponentProps>;
542
552
 
543
- export declare const Select: ({ name, label, required, customOnChange, options, ...props }: SelectPropsBase) => default_2.JSX.Element;
553
+ export declare const Select: ({ name, label, required, customOnChange, options, size, type, ...props }: SelectPropsBase) => default_2.JSX.Element;
544
554
 
545
555
  declare interface SelectPropsBase extends SelectProps {
546
556
  name: string;
547
557
  label: string;
548
558
  required?: boolean;
559
+ size?: SizeType_2;
560
+ type?: SelectType;
549
561
  customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement> | string | number, field: ControllerRenderProps<FieldValues, string>) => void;
550
562
  }
551
563
 
@@ -653,8 +665,21 @@ export declare interface TabsProps {
653
665
  tabPosition?: "top" | "bottom" | "right" | "left";
654
666
  type?: "line" | "card" | "editable-card";
655
667
  onEdit?: () => void;
668
+ onChange?: (activeKey: string) => void;
656
669
  }
657
670
 
671
+ export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;
672
+
673
+ export declare interface TextAreaProps extends Omit<TextAreaProps_2, "value"> {
674
+ label?: string;
675
+ value?: string;
676
+ required?: boolean;
677
+ }
678
+
679
+ export declare const TextAreaWithController: ({ label, type, placeholder, required, ...rest }: TextAreaWithControllerProps) => default_2.JSX.Element;
680
+
681
+ export declare type TextAreaWithControllerProps = CustomInputProps & TextAreaProps_2;
682
+
658
683
  export declare const TitleHeader: (props: TitleHeaderProps) => default_2.JSX.Element;
659
684
 
660
685
  export declare interface TitleHeaderProps {
@@ -708,10 +733,11 @@ export declare interface UserBadgeProps {
708
733
  address: string;
709
734
  inviteLinkIncluded?: boolean;
710
735
  inviteLink?: string;
711
- shareLink?: string;
712
736
  onClose: () => void;
713
737
  visible: boolean;
714
738
  modalWidth: number;
739
+ emailSubject?: string;
740
+ emailBody?: string;
715
741
  }
716
742
 
717
743
  export declare function UserStatus(props: UserStatusProps): default_2.JSX.Element;