vrfi-design-system 1.0.23 → 1.0.25
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 -5
- package/dist/main.es.js +9375 -9375
- package/dist/main.umd.js +96 -96
- package/dist/style.css +1 -1
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ import { FilterValue } from 'antd/lib/table/interface';
|
|
|
30
30
|
import { FooterDetailsProps } from '../types/footerDetails';
|
|
31
31
|
import { FooterDetailsProps as FooterDetailsProps_2 } from '../../types/footerDetails';
|
|
32
32
|
import { GenderProfileEnum } from '../../enums/genderProfile.enum';
|
|
33
|
-
import { GenderProfileEnum as GenderProfileEnum_2 } from '../../../enums/genderProfile.enum';
|
|
34
33
|
import { HtmlButtonType } from '../../enums/buttonType';
|
|
35
34
|
import { Icons } from '../../enums/icons.enum';
|
|
36
35
|
import { InputProps } from 'antd/lib';
|
|
@@ -38,7 +37,6 @@ import { InputProps as InputProps_2 } from 'antd';
|
|
|
38
37
|
import { InputTypes } from '../../enums/inputType.enum';
|
|
39
38
|
import { InputTypes as InputTypes_2 } from '../../../enums/inputType.enum';
|
|
40
39
|
import { JobTypeEnum } from '../../enums/jobType.enum';
|
|
41
|
-
import { JobTypeEnum as JobTypeEnum_2 } from '../../../enums/jobType.enum';
|
|
42
40
|
import { JSX as JSX_2 } from 'react';
|
|
43
41
|
import { Justify } from '../../enums/justify.enum';
|
|
44
42
|
import { LoaderSizes } from '../../../enums/LoaderSizes';
|
|
@@ -178,6 +176,7 @@ export declare interface CustomInputProps {
|
|
|
178
176
|
placeholder?: string;
|
|
179
177
|
type?: InputTypes_2;
|
|
180
178
|
prefix?: ReactNode;
|
|
179
|
+
required?: boolean;
|
|
181
180
|
customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement | HTMLTextAreaElement> | default_3.Dayjs | null, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
182
181
|
}
|
|
183
182
|
|
|
@@ -288,6 +287,14 @@ declare interface FormProps<T extends FieldValues> extends UseFormProps<T> {
|
|
|
288
287
|
|
|
289
288
|
export { GenderProfileEnum }
|
|
290
289
|
|
|
290
|
+
declare enum GenderProfileEnum_2{
|
|
291
|
+
MALE='Male',
|
|
292
|
+
FEMALE='Female',
|
|
293
|
+
PREFER_NOT_TO_SAY='Prefer not to say',
|
|
294
|
+
OTHER='Other',
|
|
295
|
+
|
|
296
|
+
}
|
|
297
|
+
|
|
291
298
|
export { HtmlButtonType }
|
|
292
299
|
|
|
293
300
|
export { Icons }
|
|
@@ -298,7 +305,7 @@ export declare interface INotification {
|
|
|
298
305
|
type: string;
|
|
299
306
|
}
|
|
300
307
|
|
|
301
|
-
export declare const InputField: ({ label, type, placeholder, prefix, ...rest }: CustomInputProps & InputProps) => default_2.JSX.Element;
|
|
308
|
+
export declare const InputField: ({ label, type, placeholder, prefix, required, ...rest }: CustomInputProps & InputProps) => default_2.JSX.Element;
|
|
302
309
|
|
|
303
310
|
export { InputTypes }
|
|
304
311
|
|
|
@@ -306,6 +313,12 @@ export declare const InputWithCountry: ({ label, type, ...rest }: CustomInputPro
|
|
|
306
313
|
|
|
307
314
|
export { JobTypeEnum }
|
|
308
315
|
|
|
316
|
+
declare enum JobTypeEnum_2{
|
|
317
|
+
PART_TIME='Part time',
|
|
318
|
+
FULL_TIME='Full time',
|
|
319
|
+
|
|
320
|
+
}
|
|
321
|
+
|
|
309
322
|
export { Justify }
|
|
310
323
|
|
|
311
324
|
export declare const ListingTableHeader: (props: ListingTableHeaderProps) => default_2.JSX.Element;
|
|
@@ -494,13 +507,13 @@ export declare const Table: <T extends object>(props: TableProps_3<T>) => defaul
|
|
|
494
507
|
|
|
495
508
|
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onRow, onChange, loadingCount, size, type, scroll, rowClassName, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
|
|
496
509
|
|
|
497
|
-
export declare interface TableComponentProps<T> extends TableProps<T> {
|
|
510
|
+
export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onRow"> {
|
|
498
511
|
dataSource?: T[];
|
|
499
512
|
columns: ColumnsType<T>;
|
|
500
513
|
type?: TableType_2;
|
|
501
514
|
pagination?: false | TablePaginationConfig_2;
|
|
502
515
|
loading?: boolean;
|
|
503
|
-
onRow?: (record: T) =>
|
|
516
|
+
onRow?: (record: T) => void;
|
|
504
517
|
rowClassName?: (record: T) => string;
|
|
505
518
|
scroll?: TableProps_2<T>["scroll"] & {
|
|
506
519
|
scrollToFirstRowOnChange?: boolean;
|