vrfi-design-system 1.1.70 → 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 +10 -1
- package/dist/main.es.js +3605 -3604
- 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;
|
|
@@ -1297,6 +1298,14 @@ export declare type UserStatusProps = {
|
|
|
1297
1298
|
|
|
1298
1299
|
export { UserType }
|
|
1299
1300
|
|
|
1301
|
+
declare enum UserType_4 {
|
|
1302
|
+
AGENCY = "AgencyUser",
|
|
1303
|
+
SUB_CONTRACTOR = "SubcontractorUser",
|
|
1304
|
+
ADMIN = "admin",
|
|
1305
|
+
EMPLOYER = "EmployerUser",
|
|
1306
|
+
CANDIDATE = "Candidate",
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1300
1309
|
export declare interface ValidationRuleProps {
|
|
1301
1310
|
test: (val: string) => boolean;
|
|
1302
1311
|
message: string;
|