vrfi-design-system 1.1.4 → 1.1.5

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 CHANGED
@@ -162,8 +162,13 @@ export declare interface ApplicationHeaderProps {
162
162
  userName: string;
163
163
  activeMenu: string;
164
164
  menuItems: MenuItem[];
165
+ dropdownItems?: MenuItem[];
165
166
  onClick: MenuProps["onClick"];
166
167
  notificationClickHandler: () => void;
168
+ onSearch?: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
169
+ onClear?: () => void;
170
+ searchPlaceholder?: string;
171
+ searchValue?: string;
167
172
  }
168
173
 
169
174
  export declare interface AssignedEmployerProps {
@@ -309,14 +314,16 @@ export { ColumnSortOrder }
309
314
 
310
315
  export { ColumnType }
311
316
 
312
- export declare const CustomAvatar: ({ name, size, imageUrl, isExtra, isTextImage, }: CustomAvatarProps) => default_2.JSX.Element;
317
+ export declare const CustomAvatar: ({ name, size, imageUrl, isExtra, isTextImage, isWorkspace, workspaceSwitcher, }: CustomAvatarProps) => default_2.JSX.Element;
313
318
 
314
319
  export declare type CustomAvatarProps = {
315
320
  name: string;
316
- size: AvatarSize_2;
321
+ size: AvatarSize_2 | number;
317
322
  imageUrl?: string;
318
323
  isExtra?: boolean;
319
324
  isTextImage?: boolean;
325
+ isWorkspace?: boolean;
326
+ workspaceSwitcher?: boolean;
320
327
  };
321
328
 
322
329
  declare interface CustomDropDownFileUploadProps extends Omit<UploadProps_2, "onChange"> {
@@ -628,7 +635,7 @@ export declare interface LoaderProps {
628
635
  tip?: string;
629
636
  }
630
637
 
631
- declare type MenuItem = Required<MenuProps>["items"][number];
638
+ export declare type MenuItem = Required<MenuProps>["items"][number];
632
639
 
633
640
  export { MobileInputValue }
634
641
 
@@ -831,6 +838,7 @@ export declare interface SearchComponentProps {
831
838
  value?: string | number;
832
839
  placeholder?: string;
833
840
  onClear?: () => void;
841
+ inputClassName?: string;
834
842
  }
835
843
 
836
844
  export declare const SearchField: FC<SearchComponentProps>;