vrfi-design-system 1.0.47 → 1.0.49

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';
@@ -173,6 +175,19 @@ export declare interface CheckboxProps {
173
175
  checked?: boolean;
174
176
  }
175
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
+
176
191
  export { Col }
177
192
 
178
193
  export { ColProps }
@@ -377,7 +392,7 @@ export declare const InputField: ({ label, type, placeholder, prefix, required,
377
392
 
378
393
  export { InputTypes }
379
394
 
380
- export declare const InputWithCountry: ({ label, type, ...rest }: CustomInputProps & InputProps_2) => default_2.JSX.Element;
395
+ export declare const InputWithCountry: ({ label, type, required, ...rest }: CustomInputProps & InputProps_2) => default_2.JSX.Element;
381
396
 
382
397
  export { JobTypeEnum }
383
398
 
@@ -426,7 +441,8 @@ export declare interface ModalProps extends ModalProps_2 {
426
441
  export declare enum ModalTypeEnum {
427
442
  SUCCESS = "success",
428
443
  DANGER = "danger",
429
- BASIC = "basic"
444
+ BASIC = "basic",
445
+ WARNING = "warning"
430
446
  }
431
447
 
432
448
  export declare const NoData: ({ headingText, subHeading, noDataIcon, buttonOnClick, buttonText }: NoDataProps) => default_2.JSX.Element;
@@ -439,6 +455,14 @@ export declare interface NoDataProps {
439
455
  headingText?: string;
440
456
  }
441
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
+
442
466
  declare const Notification_2: ({ message, description, type }: INotification) => unknown;
443
467
  export { Notification_2 as Notification }
444
468
 
@@ -706,11 +730,12 @@ declare interface TooltipProps {
706
730
  children: JSX_2.Element;
707
731
  }
708
732
 
709
- export declare const Upload: ({ name, onChange, ...rest }: UploadBaseProps) => default_2.JSX.Element;
733
+ export declare const Upload: ({ name, onChange, showUploadList, ...rest }: UploadBaseProps) => default_2.JSX.Element;
710
734
 
711
735
  export declare interface UploadBaseProps extends CustomUploadProps {
712
736
  name: string;
713
737
  required?: boolean;
738
+ showUploadList?: boolean;
714
739
  }
715
740
 
716
741
  export declare interface UploadBasePropsForDropdown extends CustomDropDownFileUploadProps {