vrfi-design-system 1.0.54 → 1.0.55
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 +18 -2
- package/dist/main.es.js +1850 -1847
- package/dist/main.umd.js +43 -43
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,8 @@ import { JSX as JSX_2 } from 'react';
|
|
|
47
47
|
import { Justify } from '../../enums/justify.enum';
|
|
48
48
|
import { LoaderSizes } from '../../../enums/LoaderSizes';
|
|
49
49
|
import { MenuItemType } from 'antd/lib/menu/interface';
|
|
50
|
+
import { MobileInputValue } from '../types/mobileInputValue.type';
|
|
51
|
+
import { MobileInputValue as MobileInputValue_2 } from '../../../types/mobileInputValue.type';
|
|
50
52
|
import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
|
|
51
53
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
52
54
|
import { NotificationTypes } from '../../enums/notificationTypes';
|
|
@@ -92,6 +94,8 @@ import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
|
|
92
94
|
import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
|
|
93
95
|
import { TitleHeaderStatus as TitleHeaderStatus_2 } from '../../../enums/titleHeaderStatus.enum';
|
|
94
96
|
import { tooltipPosition } from '../../../enums/tooltipPosition';
|
|
97
|
+
import { Typography } from 'antd';
|
|
98
|
+
import { TypographyProps } from 'antd';
|
|
95
99
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
96
100
|
import { UploadFile as UploadFile_2 } from 'antd';
|
|
97
101
|
import { UploadProps } from 'antd';
|
|
@@ -366,7 +370,7 @@ export declare interface FloatingLabelProps {
|
|
|
366
370
|
|
|
367
371
|
export { FooterDetailsProps }
|
|
368
372
|
|
|
369
|
-
export declare function Form<T extends FieldValues>({ onSubmit, children, ...rest }: FormProps<T>): default_2.JSX.Element;
|
|
373
|
+
export declare function Form<T extends FieldValues>({ onSubmit, children, methods, ...rest }: FormProps<T>): default_2.JSX.Element;
|
|
370
374
|
|
|
371
375
|
declare interface FormDropdown extends Omit<ComponentProps<typeof Dropdown>, "onChange"> {
|
|
372
376
|
name: string;
|
|
@@ -378,6 +382,7 @@ declare interface FormProps<T extends FieldValues> extends UseFormProps<T> {
|
|
|
378
382
|
children: ReactNode | ((methods: UseFormReturn<T>) => ReactNode | default_2.JSX.Element);
|
|
379
383
|
onSubmit: (data: T, methods: UseFormReturn<T>) => void;
|
|
380
384
|
validationSchema?: Yup.ObjectSchema<T>;
|
|
385
|
+
methods?: UseFormReturn<T>;
|
|
381
386
|
}
|
|
382
387
|
|
|
383
388
|
export { GenderProfileEnum }
|
|
@@ -396,7 +401,12 @@ export declare const InputField: ({ label, type, placeholder, prefix, required,
|
|
|
396
401
|
|
|
397
402
|
export { InputTypes }
|
|
398
403
|
|
|
399
|
-
export declare const InputWithCountry: ({ label, type, required, ...rest }:
|
|
404
|
+
export declare const InputWithCountry: ({ label, type, required, isdCodeName, ...rest }: Omit<InputWithCountryFlagProps & InputProps_2, "icon">) => default_2.JSX.Element;
|
|
405
|
+
|
|
406
|
+
declare interface InputWithCountryFlagProps extends Omit<CustomInputProps, "customOnChange"> {
|
|
407
|
+
isdCodeName: string;
|
|
408
|
+
onChange?: (value: MobileInputValue_2) => void;
|
|
409
|
+
}
|
|
400
410
|
|
|
401
411
|
export { JobTypeEnum }
|
|
402
412
|
|
|
@@ -427,6 +437,8 @@ declare type Meta = {
|
|
|
427
437
|
label: string;
|
|
428
438
|
};
|
|
429
439
|
|
|
440
|
+
export { MobileInputValue }
|
|
441
|
+
|
|
430
442
|
export declare const Modal: default_2.FC<ModalProps>;
|
|
431
443
|
|
|
432
444
|
export declare interface ModalProps extends ModalProps_2 {
|
|
@@ -736,6 +748,10 @@ declare interface TooltipProps {
|
|
|
736
748
|
children: JSX_2.Element;
|
|
737
749
|
}
|
|
738
750
|
|
|
751
|
+
export { Typography }
|
|
752
|
+
|
|
753
|
+
export { TypographyProps }
|
|
754
|
+
|
|
739
755
|
export declare const Upload: ({ name, onChange, showUploadList, ...rest }: UploadBaseProps) => default_2.JSX.Element;
|
|
740
756
|
|
|
741
757
|
export declare interface UploadBaseProps extends CustomUploadProps {
|