@emailmaker/filemanager 0.10.3 → 0.10.4

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.
@@ -12,5 +12,15 @@ declare const EmIcons: {
12
12
  MyFilesIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
13
13
  LightMode: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
14
14
  DarkMode: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
15
+ FolderIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
16
+ DeselectedIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
17
+ EditIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
18
+ MoveToIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
19
+ CopyIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
20
+ RenameIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
21
+ FolderPreviewIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
22
+ FolderOpenIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
23
+ FolderCloseIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
24
+ TrashIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
15
25
  };
16
26
  export default EmIcons;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { UseFileUploadReturn } from '../../hooks/useFileUpload';
3
3
  import { SortByType, SortOptionType, SortOrderType } from '../../hooks/core/types';
4
- import { File as AppFile, PaginationState, PathItem } from '../../types';
4
+ import { File as AppFile, PaginationState, PathItem, ThumbnailFile } from '../../types';
5
5
  interface FileContentProps {
6
6
  searchTerm: string;
7
7
  sortField: string;
@@ -25,6 +25,12 @@ interface FileContentProps {
25
25
  toggleFileSelection: (fileId: string) => void;
26
26
  handleDroppedFiles: (droppedFiles: globalThis.File[]) => Promise<void>;
27
27
  fileUpload: UseFileUploadReturn;
28
+ onClearSelection: () => void;
29
+ onRename: () => void;
30
+ onDelete: () => void;
31
+ onCopy: () => void;
32
+ onMove: () => void;
33
+ onEdit: (file?: AppFile | ThumbnailFile) => void;
28
34
  }
29
35
  export declare const FileContent: React.FC<FileContentProps>;
30
36
  export {};
@@ -1,14 +1,6 @@
1
1
  import * as React from 'react';
2
- import { File as AppFile } from '../../types';
3
2
  interface ActionsHeaderProps {
4
- selectedFiles: Set<string>;
5
- onClearSelection: () => void;
6
- onRename: () => void;
7
- onDelete: () => void;
8
- onCopy: () => void;
9
- onMove: () => void;
10
- onEdit: () => void;
11
- files: AppFile[];
3
+ activeLibraryItem: string;
12
4
  }
13
5
  export declare const ActionsHeader: React.FC<ActionsHeaderProps>;
14
6
  export {};
@@ -35,6 +35,7 @@ interface FileModalsProps {
35
35
  isDeleteConfirmVisible?: boolean;
36
36
  handleDeleteConfirmOk?: () => void | Promise<void>;
37
37
  handleDeleteConfirmCancel?: () => void;
38
+ fetchChildFolders: (parentId: string | null) => Promise<Folder[]>;
38
39
  }
39
40
  export declare const FileModals: React.FC<FileModalsProps>;
40
41
  export {};