vrfi-design-system 1.0.26 → 1.0.27
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 +14 -3
- package/dist/main.es.js +2326 -2299
- package/dist/main.umd.js +91 -91
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -48,7 +48,9 @@ import { PasswordProps } from 'antd/es/input';
|
|
|
48
48
|
import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
|
|
49
49
|
import { PropsWithChildren } from 'react';
|
|
50
50
|
import { Radio as Radio_2 } from 'antd';
|
|
51
|
-
import {
|
|
51
|
+
import { RadioChangeEvent } from 'antd';
|
|
52
|
+
import { RadioGroupProps } from 'antd';
|
|
53
|
+
import { RadioProps } from 'antd';
|
|
52
54
|
import { ReactElement } from 'react';
|
|
53
55
|
import { ReactNode } from 'react';
|
|
54
56
|
import { default as Row } from 'antd/lib/row';
|
|
@@ -88,6 +90,8 @@ import * as Yup from 'yup';
|
|
|
88
90
|
|
|
89
91
|
export { Align }
|
|
90
92
|
|
|
93
|
+
export declare type AntdRadioProps = RadioButtonProps & ComponentProps<typeof Radio_2.Group>;
|
|
94
|
+
|
|
91
95
|
export declare interface AssignedEmployerProps {
|
|
92
96
|
data?: EmployerDataType[];
|
|
93
97
|
noDataHeading?: string;
|
|
@@ -205,6 +209,11 @@ export declare interface CustomInputProps {
|
|
|
205
209
|
customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement | HTMLTextAreaElement> | default_3.Dayjs | null, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
206
210
|
}
|
|
207
211
|
|
|
212
|
+
export declare interface CustomRadioProps extends RadioProps, Pick<RadioGroupProps, 'options'> {
|
|
213
|
+
name: string;
|
|
214
|
+
customOnChange?: (event: RadioChangeEvent | null, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
215
|
+
}
|
|
216
|
+
|
|
208
217
|
declare interface CustomUploadProps extends Omit<UploadProps, 'onChange'> {
|
|
209
218
|
value?: UploadFile_2[];
|
|
210
219
|
onChange: (fileList: UploadFile_2[]) => void | boolean;
|
|
@@ -301,6 +310,8 @@ export declare interface FileUploadProps {
|
|
|
301
310
|
handleChange: (file: FileList | UploadFile) => void;
|
|
302
311
|
}
|
|
303
312
|
|
|
313
|
+
export declare const FileUploadWithDropdown: ({ loading, required, selectLabel, dropdownName, dropdownOptions, className, value, onChange, maxFileSize, uploadHint, uploadTitle, uploadIcon, supportedFileType, ...propsDragDrop }: CustomDropDownFileUploadProps) => default_2.JSX.Element;
|
|
314
|
+
|
|
304
315
|
export { FilterValue }
|
|
305
316
|
|
|
306
317
|
export declare const FloatingLabel: (props: FloatingLabelProps) => default_2.JSX.Element;
|
|
@@ -465,13 +476,13 @@ export declare interface ProfileDetailProps {
|
|
|
465
476
|
imageUrl?: string;
|
|
466
477
|
}
|
|
467
478
|
|
|
468
|
-
export declare const Radio: (props: CustomInputProps &
|
|
479
|
+
export declare const Radio: (props: CustomInputProps & RadioProps) => default_2.JSX.Element;
|
|
469
480
|
|
|
470
481
|
declare interface RadioButtonProps {
|
|
471
482
|
label?: string;
|
|
472
483
|
}
|
|
473
484
|
|
|
474
|
-
export declare
|
|
485
|
+
export declare function RadioGroup({ name, options, customOnChange, ...rest }: CustomRadioProps): default_2.JSX.Element;
|
|
475
486
|
|
|
476
487
|
export { Row }
|
|
477
488
|
|