vrfi-design-system 1.1.79 → 1.1.81
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 +4 -0
- package/dist/main.es.js +162 -143
- package/dist/main.umd.js +24 -24
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ import { FieldValues } from 'react-hook-form';
|
|
|
43
43
|
import { FilterValue } from 'antd/lib/table/interface';
|
|
44
44
|
import { FooterDetailsProps } from '../types/footerDetails';
|
|
45
45
|
import { FooterDetailsProps as FooterDetailsProps_2 } from '../../types/footerDetails';
|
|
46
|
+
import { formatTimeAgo } from '../utils/formatTimeAgo';
|
|
46
47
|
import { FormValidationTriggers } from '../../enums/formTriggers.enum';
|
|
47
48
|
import { GenderProfileEnum } from '../../enums/genderProfile.enum';
|
|
48
49
|
import { GenderProfileEnum as GenderProfileEnum_2 } from '../../../enums/genderProfile.enum';
|
|
@@ -619,6 +620,8 @@ export { FooterDetailsProps }
|
|
|
619
620
|
|
|
620
621
|
export declare function Form<T extends FieldValues>({ onSubmit, children, methods, ...rest }: FormProps<T>): default_2.JSX.Element;
|
|
621
622
|
|
|
623
|
+
export { formatTimeAgo }
|
|
624
|
+
|
|
622
625
|
declare interface FormProps<T extends FieldValues> extends UseFormProps<T> {
|
|
623
626
|
children: ReactNode | ((methods: UseFormReturn<T>) => ReactNode | default_2.JSX.Element);
|
|
624
627
|
onSubmit: (data: T, methods: UseFormReturn<T>) => void;
|
|
@@ -836,6 +839,7 @@ export declare interface NotificationData {
|
|
|
836
839
|
onAccept?: () => void;
|
|
837
840
|
onReject?: () => void;
|
|
838
841
|
onApply?: () => void;
|
|
842
|
+
onClick?: () => void;
|
|
839
843
|
}
|
|
840
844
|
|
|
841
845
|
export declare const NotificationPanel: default_2.FC<NotificationPanelProps>;
|