@emailmaker/filemanager 0.10.25 → 0.10.26
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/components/NoFilesMessage/NoFilesMessage.d.ts +2 -0
- package/file-manager.css +40 -31
- package/file-manager.d.ts +1 -0
- package/file-manager.esm.js +9 -9
- package/file-manager.esm.js.map +1 -1
- package/file-manager.js +1 -1
- package/file-manager.js.LICENSE.txt +2 -0
- package/hooks/useCustomIcons.d.ts +1 -0
- package/package.json +1 -1
- package/types.d.ts +3 -0
|
@@ -131,6 +131,8 @@ and limitations under the License.
|
|
|
131
131
|
|
|
132
132
|
/** */
|
|
133
133
|
|
|
134
|
+
/** */
|
|
135
|
+
|
|
134
136
|
/** */
|
|
135
137
|
|
|
136
138
|
/** */
|
|
@@ -28,5 +28,6 @@ export declare const useCustomIcons: () => {
|
|
|
28
28
|
LightModeIcon: (props?: IconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
29
29
|
DarkModeIcon: (props?: IconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
30
30
|
AiIcon_2: (props?: IconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
31
|
+
NoFilesIcon: (props?: IconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
31
32
|
getCustomIcon: (iconName: keyof NonNullable<import("../types").CustomIcons | undefined>, defaultIcon: React.ComponentType<any>, props?: IconProps) => React.ReactElement;
|
|
32
33
|
};
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ export interface CustomIcons {
|
|
|
110
110
|
lightMode?: React.ComponentType<IconProps>;
|
|
111
111
|
darkMode?: React.ComponentType<IconProps>;
|
|
112
112
|
aiIcon_2?: React.ComponentType<IconProps>;
|
|
113
|
+
noFiles?: React.ComponentType<IconProps>;
|
|
113
114
|
}
|
|
114
115
|
type MayBePromise<T> = T | Promise<T>;
|
|
115
116
|
export type NotifyListener<T> = (value: T) => MayBePromise<void | false | (NotifyEvent & Notify)>;
|
|
@@ -394,6 +395,8 @@ export interface Config {
|
|
|
394
395
|
multiSelect?: boolean;
|
|
395
396
|
defaultFolderName?: string;
|
|
396
397
|
availableImageExtensions?: Array<(typeof IMAGE_EXTENSIONS)[number]>;
|
|
398
|
+
/** Разрешаем произвольные дополнительные поля */
|
|
399
|
+
[key: string]: unknown;
|
|
397
400
|
}
|
|
398
401
|
export type LibraryMenuKey = typeof MY_FILES | typeof GIF | typeof STOCK_IMAGES | typeof AI | typeof EDITOR;
|
|
399
402
|
export interface GifItem {
|