vrfi-design-system 1.0.58 → 1.0.59

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
@@ -262,10 +262,15 @@ declare interface CustomUploadProps extends Omit<UploadProps, 'onChange'> {
262
262
  loading?: boolean;
263
263
  }
264
264
 
265
- export declare const DatePicker: ({ name, label, required, control, rules, customOnChange, ...props }: CustomInputProps & DatePickerProps) => default_2.JSX.Element;
265
+ export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
266
266
 
267
267
  export { DatePickerAntd }
268
268
 
269
+ declare type DatePickerComponentProps = CustomInputProps & Omit<DatePickerProps, 'name' | 'value'> & {
270
+ value?: string;
271
+ format?: string;
272
+ };
273
+
269
274
  export declare const Disclaimer: FC<DisclaimerProps>;
270
275
 
271
276
  declare interface DisclaimerProps {
@@ -486,10 +491,9 @@ export { Notification_2 as Notification }
486
491
 
487
492
  export { NotificationTypes }
488
493
 
489
- export declare const Offline: ({ isOffline }: OfflineProps) => default_2.JSX.Element | null;
494
+ export declare const Offline: ({ children, }: PropsWithChildren<OfflineProps>) => default_2.JSX.Element;
490
495
 
491
- export declare interface OfflineProps {
492
- isOffline: boolean;
496
+ declare interface OfflineProps {
493
497
  }
494
498
 
495
499
  declare const PasswordField: ({ label, placeholder, required, ...rest }: CustomInputProps & PasswordProps) => default_2.JSX.Element;