vrfi-design-system 1.0.13 → 1.0.14

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
@@ -2,10 +2,13 @@ import { default as AuthBanner } from '../../views/Auth/AuthBanner';
2
2
  import { default as AuthForm } from '../../views/Auth/AuthForm';
3
3
  import { AuthFormProps } from './../../views/Auth/AuthForm/index';
4
4
  import { BaseOptionType } from 'rc-select/lib/Select';
5
- import { ButtonType } from 'antd/lib/button';
5
+ import { ButtonType } from '../../enums/buttonType';
6
+ import { ButtonType as ButtonType_2 } from 'antd/lib/button';
6
7
  import { CheckboxChangeEvent } from 'antd/es/checkbox';
7
8
  import { CheckboxGroupProps } from 'antd/es/checkbox';
8
9
  import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
10
+ import { default as Col } from 'antd/lib/col';
11
+ import { ColProps } from 'antd/lib/col';
9
12
  import { ComponentProps } from 'react';
10
13
  import { ControllerRenderProps } from 'react-hook-form';
11
14
  import { DatePickerProps as DatePickerProps_2 } from 'antd';
@@ -18,6 +21,7 @@ import { FieldValues } from 'react-hook-form';
18
21
  import { FilterValue } from 'antd/lib/table/interface';
19
22
  import { FooterDetailsProps } from '../types/footerDetails';
20
23
  import { FooterDetailsProps as FooterDetailsProps_2 } from '../../types/footerDetails';
24
+ import { HtmlButtonType } from '../../enums/buttonType';
21
25
  import { InputProps } from 'antd/lib';
22
26
  import { JSX as JSX_2 } from 'react';
23
27
  import { LoaderSizes } from '../../../enums/LoaderSizes';
@@ -27,6 +31,8 @@ import { MouseEvent as MouseEvent_2 } from 'react';
27
31
  import { Radio as Radio_2 } from 'antd';
28
32
  import { ReactElement } from 'react';
29
33
  import { ReactNode } from 'react';
34
+ import { default as Row } from 'antd/lib/row';
35
+ import { RowProps } from 'antd/lib/row';
30
36
  import { SelectProps } from 'antd';
31
37
  import { SidebarMenuProps } from '../types/SidebarRouteProps';
32
38
  import { SidebarMenuProps as SidebarMenuProps_2 } from '../..//types/SidebarRouteProps';
@@ -74,7 +80,7 @@ export declare interface ButtonProps {
74
80
  clickHandler?: (event: MouseEvent_2) => void;
75
81
  children: ReactNode;
76
82
  htmlType?: "reset" | "submit" | "button";
77
- type?: ButtonType;
83
+ type?: ButtonType_2;
78
84
  className?: string;
79
85
  moduleClassName?: string;
80
86
  icon?: any;
@@ -86,6 +92,8 @@ export declare interface ButtonProps {
86
92
  href?: string;
87
93
  }
88
94
 
95
+ export { ButtonType }
96
+
89
97
  export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, checked, }: CheckboxProps) => default_2.JSX.Element;
90
98
 
91
99
  export declare interface CheckboxProps {
@@ -99,6 +107,10 @@ export declare interface CheckboxProps {
99
107
  checked?: boolean;
100
108
  }
101
109
 
110
+ export { Col }
111
+
112
+ export { ColProps }
113
+
102
114
  export declare const CustomAvatar: ({ name, size, imageUrl, isExtra }: CustomAvatarProps) => default_2.JSX.Element;
103
115
 
104
116
  export declare type CustomAvatarProps = {
@@ -205,6 +217,8 @@ declare interface FormDropdown extends Omit<ComponentProps<typeof Dropdown>, "on
205
217
  customOnChange: (event: default_2.ChangeEvent<HTMLInputElement>, field: any) => void;
206
218
  }
207
219
 
220
+ export { HtmlButtonType }
221
+
208
222
  export declare interface INotification {
209
223
  message: string;
210
224
  description: string;
@@ -260,6 +274,10 @@ declare interface RadioButtonProps {
260
274
 
261
275
  export declare type RadioProps = RadioButtonProps & ComponentProps<typeof Radio_2.Group>;
262
276
 
277
+ export { Row }
278
+
279
+ export { RowProps }
280
+
263
281
  export declare interface SearchComponentProps {
264
282
  onChange: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
265
283
  value: string | number;
@@ -330,6 +348,15 @@ declare const enum TableType {
330
348
  NO_DESIGN = "noDesign",
331
349
  }
332
350
 
351
+ export declare const TitleHeader: (props: TitleHeaderProps) => default_2.JSX.Element;
352
+
353
+ declare interface TitleHeaderProps {
354
+ heading: string;
355
+ subHeading?: string;
356
+ icon?: JSX.Element;
357
+ description?: string;
358
+ }
359
+
333
360
  export declare const Tooltip: FC<TooltipProps>;
334
361
 
335
362
  declare interface TooltipProps {