vrfi-design-system 1.1.69 → 1.1.71
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 +13 -2
- package/dist/main.es.js +3618 -3613
- package/dist/main.umd.js +74 -74
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -309,12 +309,13 @@ declare interface ChatDetailsProps {
|
|
|
309
309
|
userType: UserType_3;
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
export declare const ChatList: <T extends GenericChatShape>({ chats, onChatClick, selectedChat, }: ChatListProps<T>) => default_2.JSX.Element;
|
|
312
|
+
export declare const ChatList: <T extends GenericChatShape>({ chats, onChatClick, selectedChat, userType, }: ChatListProps<T>) => default_2.JSX.Element;
|
|
313
313
|
|
|
314
314
|
declare interface ChatListProps<T extends GenericChatShape> {
|
|
315
315
|
chats: T[];
|
|
316
316
|
onChatClick: (chat: T) => void | Promise<void>;
|
|
317
317
|
selectedChat: T | null;
|
|
318
|
+
userType?: UserType_4;
|
|
318
319
|
}
|
|
319
320
|
|
|
320
321
|
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, label, isBlock, checked, maxRows }: CheckboxProps) => default_2.JSX.Element;
|
|
@@ -1242,7 +1243,7 @@ export { Typography }
|
|
|
1242
1243
|
|
|
1243
1244
|
export { TypographyProps }
|
|
1244
1245
|
|
|
1245
|
-
export declare const Upload: ({ name, onChange, showUploadList, supportedFileType, multiple, ...rest }: UploadBaseProps) => default_2.JSX.Element;
|
|
1246
|
+
export declare const Upload: ({ name, onChange, showUploadList, supportedFileType, multiple, primaryUploadText, secondaryUploadText, ...rest }: UploadBaseProps) => default_2.JSX.Element;
|
|
1246
1247
|
|
|
1247
1248
|
export declare interface UploadBaseProps extends CustomUploadProps {
|
|
1248
1249
|
name: string;
|
|
@@ -1250,6 +1251,8 @@ export declare interface UploadBaseProps extends CustomUploadProps {
|
|
|
1250
1251
|
showUploadList?: boolean;
|
|
1251
1252
|
uploadInputType?: UploadInputTypes_2;
|
|
1252
1253
|
multiple?: boolean;
|
|
1254
|
+
primaryUploadText?: string;
|
|
1255
|
+
secondaryUploadText?: string;
|
|
1253
1256
|
}
|
|
1254
1257
|
|
|
1255
1258
|
export declare interface UploadBasePropsForDropdown extends CustomDropDownFileUploadProps {
|
|
@@ -1295,6 +1298,14 @@ export declare type UserStatusProps = {
|
|
|
1295
1298
|
|
|
1296
1299
|
export { UserType }
|
|
1297
1300
|
|
|
1301
|
+
declare enum UserType_4 {
|
|
1302
|
+
AGENCY = "AgencyUser",
|
|
1303
|
+
SUB_CONTRACTOR = "SubcontractorUser",
|
|
1304
|
+
ADMIN = "admin",
|
|
1305
|
+
EMPLOYER = "EmployerUser",
|
|
1306
|
+
CANDIDATE = "Candidate",
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1298
1309
|
export declare interface ValidationRuleProps {
|
|
1299
1310
|
test: (val: string) => boolean;
|
|
1300
1311
|
message: string;
|