@emailmaker/filemanager 0.0.5 → 0.0.7

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.
@@ -1,7 +1,9 @@
1
- import { ReactNode, FC } from 'react';
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.css';
5
- export declare const FileManagerApp: React.MemoExoticComponent<({ config, onPathChange, onChangeSelection, searchQuery, sortBySize, apiEndpoints, customIcons, dragDropIcon, dataProviders, publicPath, notification }: FileManagerProps) => import("react/jsx-runtime").JSX.Element>;
4
+ import '../../styles/variables.scss';
5
+ export declare const FileManagerApp: React.MemoExoticComponent<({ config, onPathChange, onChangeSelection, onEditorOk, searchQuery, sortBySize, apiEndpoints, customIcons, dragDropIcon, dataProviders, publicPath, notification, }: FileManagerProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
2
  import { File as AppFile, ThumbnailFile } from '../../types';
3
- interface PixieEditorIframeProps {
3
+ interface PixieEditorProps {
4
4
  visible: boolean;
5
5
  onClose: () => void;
6
6
  file: AppFile | ThumbnailFile | null;
7
- onSave: (updatedFile: AppFile) => Promise<void>;
7
+ onSave: (updatedFile: AppFile) => Promise<AppFile | undefined>;
8
8
  }
9
- export declare const PixieEditorIframe: React.FC<PixieEditorIframeProps>;
9
+ export declare const PixieEditor: React.FC<PixieEditorProps>;
10
10
  export {};
@@ -1 +1 @@
1
- export { PixieEditorIframe } from './PixieEditorIframe';
1
+ export { PixieEditor } from './PixieEditor';