@emailmaker/filemanager 0.0.6 → 0.0.8
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/app/themeProvider/ThemeProvider.d.ts +4 -2
- package/components/EmIcons/EmIcons.d.ts +2 -0
- package/components/FileManagerApp/FileManagerApp.d.ts +2 -2
- package/components/FileModals/FileModals.d.ts +3 -0
- package/components/PixieEditor/PixieEditor.d.ts +10 -0
- package/components/PixieEditor/index.d.ts +1 -1
- package/file-manager.css +647 -726
- package/file-manager.d.ts +35 -2
- package/file-manager.esm.js +85 -27104
- package/file-manager.esm.js.map +1 -1
- package/file-manager.js +1 -1
- package/file-manager.js.LICENSE.txt +87 -0
- package/hooks/core/files/useFilesModals.d.ts +3 -0
- package/hooks/core/types.d.ts +5 -0
- package/hooks/core/useFiles.d.ts +3 -0
- package/hooks/useFileActions.d.ts +2 -1
- package/hooks/useNotifications.d.ts +2 -2
- package/index.d.ts +10 -2
- package/mockServiceWorker.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +14 -30
- package/utils/jsonDataProvider.d.ts +10 -0
- package/utils/themeUtils.d.ts +4 -13
- package/components/PixieEditor/PixieEditorIframe.d.ts +0 -10
- package/pixie-editor.html +0 -187
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { CustomTheme } from '../../types';
|
|
2
3
|
interface FMConfigWrapperProps {
|
|
3
|
-
externalTheme?: string;
|
|
4
4
|
children: ReactNode;
|
|
5
|
+
externalTheme?: string;
|
|
6
|
+
customThemeToken?: CustomTheme | undefined;
|
|
5
7
|
}
|
|
6
8
|
export declare const ThemeProvider: FC<FMConfigWrapperProps>;
|
|
7
9
|
export {};
|
|
@@ -10,5 +10,7 @@ declare const EmIcons: {
|
|
|
10
10
|
StockImagesIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
GifIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
MyFilesIcon: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
LightMode: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
DarkMode: (props: React.ComponentProps<typeof Icon>) => import("react/jsx-runtime").JSX.Element;
|
|
13
15
|
};
|
|
14
16
|
export default EmIcons;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FileManagerProps } from '../../types';
|
|
3
3
|
import '../../styles/index.scss';
|
|
4
|
-
import '../../styles/variables.
|
|
5
|
-
export declare const FileManagerApp: React.MemoExoticComponent<({ config, onPathChange, onChangeSelection, onEditorOk, searchQuery, sortBySize, apiEndpoints, customIcons, dragDropIcon, dataProviders,
|
|
4
|
+
import '../../styles/variables.scss';
|
|
5
|
+
export declare const FileManagerApp: React.MemoExoticComponent<({ config, onPathChange, onChangeSelection, onEditorOk, searchQuery, sortBySize, apiEndpoints, customIcons, dragDropIcon, dataProviders, notification, }: FileManagerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -32,6 +32,9 @@ interface FileModalsProps {
|
|
|
32
32
|
handleCopyOk: () => void;
|
|
33
33
|
handleCopyCancel: () => void;
|
|
34
34
|
copyForm: FormInstance;
|
|
35
|
+
isDeleteConfirmVisible?: boolean;
|
|
36
|
+
handleDeleteConfirmOk?: () => void | Promise<void>;
|
|
37
|
+
handleDeleteConfirmCancel?: () => void;
|
|
35
38
|
}
|
|
36
39
|
export declare const FileModals: React.FC<FileModalsProps>;
|
|
37
40
|
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { File as AppFile, ThumbnailFile } from '../../types';
|
|
3
|
+
interface PixieEditorProps {
|
|
4
|
+
visible: boolean;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
file: AppFile | ThumbnailFile | string | null;
|
|
7
|
+
onSave: (updatedFile: AppFile) => Promise<AppFile | undefined>;
|
|
8
|
+
}
|
|
9
|
+
export declare const PixieEditor: React.FC<PixieEditorProps>;
|
|
10
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { PixieEditor } from './PixieEditor';
|