vrfi-design-system 1.0.46 → 1.0.48

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
@@ -8,6 +8,8 @@ import { BaseOptionType } from 'rc-select/lib/Select';
8
8
  import { default as Button } from 'antd/lib/button';
9
9
  import { ButtonType } from '../../enums/buttonType';
10
10
  import { ButtonType as ButtonType_2 } from 'antd/lib/button';
11
+ import { CheckboxChangeEvent } from 'antd/es/checkbox';
12
+ import { CheckboxGroupProps } from 'antd/es/checkbox';
11
13
  import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
12
14
  import { default as Col } from 'antd/lib/col';
13
15
  import { ColProps } from 'antd/lib/col';
@@ -62,10 +64,12 @@ import { RegisterOptions } from 'react-hook-form';
62
64
  import { default as Row } from 'antd/lib/row';
63
65
  import { RowProps } from 'antd/lib/row';
64
66
  import { SelectProps } from 'antd';
67
+ import { SelectType } from '../../../../enums/selectType.enum';
65
68
  import { SidebarMenuProps } from '../types/SidebarRouteProps';
66
69
  import { SidebarMenuProps as SidebarMenuProps_2 } from '../..//types/SidebarRouteProps';
67
70
  import { Size } from '../../enums/size.enum';
68
71
  import { SizeType } from 'antd/lib/config-provider/SizeContext';
72
+ import { SizeType as SizeType_2 } from 'antd/es/config-provider/SizeContext';
69
73
  import { SkeletonProps } from 'antd';
70
74
  import { SorterResult } from 'antd/lib/table/interface';
71
75
  import { SortOrder } from 'antd/lib/table/interface';
@@ -171,6 +175,19 @@ export declare interface CheckboxProps {
171
175
  checked?: boolean;
172
176
  }
173
177
 
178
+ export declare const CheckBoxWithFormWrapper: ({ name, onCheckboxChange, group, children, ...props }: CheckBoxWithFormWrapperProps) => default_2.JSX.Element;
179
+
180
+ declare interface CheckBoxWithFormWrapperProps {
181
+ children?: default_2.ReactNode;
182
+ disabled?: boolean;
183
+ indeterminate?: boolean;
184
+ group?: boolean;
185
+ onCheckboxChange?: (event: CheckboxChangeEvent | CheckboxGroupProps[] | boolean) => void;
186
+ options?: (CheckboxOptionType | string | number)[];
187
+ name: string;
188
+ className?: string;
189
+ }
190
+
174
191
  export { Col }
175
192
 
176
193
  export { ColProps }
@@ -424,7 +441,8 @@ export declare interface ModalProps extends ModalProps_2 {
424
441
  export declare enum ModalTypeEnum {
425
442
  SUCCESS = "success",
426
443
  DANGER = "danger",
427
- BASIC = "basic"
444
+ BASIC = "basic",
445
+ WARNING = "warning"
428
446
  }
429
447
 
430
448
  export declare const NoData: ({ headingText, subHeading, noDataIcon, buttonOnClick, buttonText }: NoDataProps) => default_2.JSX.Element;
@@ -437,6 +455,14 @@ export declare interface NoDataProps {
437
455
  headingText?: string;
438
456
  }
439
457
 
458
+ export declare const NoRecords: ({ headingText, subHeading, noRecordsIcon }: NoRecordsProps) => default_2.JSX.Element;
459
+
460
+ export declare interface NoRecordsProps {
461
+ subHeading?: string;
462
+ noRecordsIcon?: Icons_2;
463
+ headingText?: string;
464
+ }
465
+
440
466
  declare const Notification_2: ({ message, description, type }: INotification) => unknown;
441
467
  export { Notification_2 as Notification }
442
468
 
@@ -548,12 +574,14 @@ export declare interface SearchComponentProps {
548
574
 
549
575
  export declare const SearchField: FC<SearchComponentProps>;
550
576
 
551
- export declare const Select: ({ name, label, required, customOnChange, options, ...props }: SelectPropsBase) => default_2.JSX.Element;
577
+ export declare const Select: ({ name, label, required, customOnChange, options, size, type, ...props }: SelectPropsBase) => default_2.JSX.Element;
552
578
 
553
579
  declare interface SelectPropsBase extends SelectProps {
554
580
  name: string;
555
581
  label: string;
556
582
  required?: boolean;
583
+ size?: SizeType_2;
584
+ type?: SelectType;
557
585
  customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement> | string | number, field: ControllerRenderProps<FieldValues, string>) => void;
558
586
  }
559
587