vrfi-design-system 1.0.58 → 1.0.60

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
@@ -45,6 +45,8 @@ import { JobTypeEnum } from '../../enums/jobType.enum';
45
45
  import { JobTypeEnum as JobTypeEnum_2 } from '../../../enums/jobType.enum';
46
46
  import { JSX as JSX_2 } from 'react';
47
47
  import { Justify } from '../../enums/justify.enum';
48
+ import { LabelType } from './../../enums/labelType.enum';
49
+ import { LabelType as LabelType_2 } from '../../../enums/labelType.enum';
48
50
  import { LoaderSizes } from '../../../enums/LoaderSizes';
49
51
  import { MenuItemType } from 'antd/lib/menu/interface';
50
52
  import { MobileInputValue } from '../types/mobileInputValue.type';
@@ -262,10 +264,15 @@ declare interface CustomUploadProps extends Omit<UploadProps, 'onChange'> {
262
264
  loading?: boolean;
263
265
  }
264
266
 
265
- export declare const DatePicker: ({ name, label, required, control, rules, customOnChange, ...props }: CustomInputProps & DatePickerProps) => default_2.JSX.Element;
267
+ export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
266
268
 
267
269
  export { DatePickerAntd }
268
270
 
271
+ declare type DatePickerComponentProps = CustomInputProps & Omit<DatePickerProps, 'name' | 'value'> & {
272
+ value?: string;
273
+ format?: string;
274
+ };
275
+
269
276
  export declare const Disclaimer: FC<DisclaimerProps>;
270
277
 
271
278
  declare interface DisclaimerProps {
@@ -366,6 +373,7 @@ export declare interface FloatingLabelProps {
366
373
  prefix?: ReactNode;
367
374
  required?: boolean;
368
375
  placeholder?: string;
376
+ type?: LabelType_2;
369
377
  }
370
378
 
371
379
  export { FooterDetailsProps }
@@ -412,6 +420,8 @@ export { JobTypeEnum }
412
420
 
413
421
  export { Justify }
414
422
 
423
+ export { LabelType }
424
+
415
425
  export declare const ListingTableHeader: (props: ListingTableHeaderProps) => default_2.JSX.Element;
416
426
 
417
427
  export declare interface ListingTableHeaderProps {
@@ -486,10 +496,9 @@ export { Notification_2 as Notification }
486
496
 
487
497
  export { NotificationTypes }
488
498
 
489
- export declare const Offline: ({ isOffline }: OfflineProps) => default_2.JSX.Element | null;
499
+ export declare const Offline: ({ children, }: PropsWithChildren<OfflineProps>) => default_2.JSX.Element;
490
500
 
491
- export declare interface OfflineProps {
492
- isOffline: boolean;
501
+ declare interface OfflineProps {
493
502
  }
494
503
 
495
504
  declare const PasswordField: ({ label, placeholder, required, ...rest }: CustomInputProps & PasswordProps) => default_2.JSX.Element;