@emailmaker/filemanager 0.10.62 → 0.10.63
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/PixieEditor/PixieEditor.d.ts +1 -0
- package/file-manager.css +3 -3
- package/file-manager.d.ts +1 -0
- package/file-manager.esm.js +8 -8
- package/file-manager.esm.js.map +1 -1
- package/file-manager.js +1 -1
- package/hooks/core/files/useFilesAPI.d.ts +4 -2
- package/hooks/core/useFiles.d.ts +1 -1
- package/hooks/usePixieEditor.d.ts +1 -0
- package/notification.d.ts +7 -0
- package/package.json +1 -1
- package/types.d.ts +12 -0
- package/utils/jsonDataProvider.d.ts +3 -0
- package/utils/urlNormalization.d.ts +5 -0
|
@@ -5,6 +5,7 @@ interface PixieEditorProps {
|
|
|
5
5
|
onClose?: () => void;
|
|
6
6
|
file: AppFile | ThumbnailFile | string | null;
|
|
7
7
|
onSave: (updatedFile: AppFile) => Promise<AppFile | undefined>;
|
|
8
|
+
onSaveCopy: (updatedFile: AppFile) => Promise<AppFile | undefined>;
|
|
8
9
|
}
|
|
9
10
|
export declare const PixieEditor: React.FC<PixieEditorProps>;
|
|
10
11
|
export {};
|
package/file-manager.css
CHANGED
|
@@ -390,10 +390,10 @@
|
|
|
390
390
|
position: relative;
|
|
391
391
|
}
|
|
392
392
|
.em-filemanager .uploadArea:hover {
|
|
393
|
-
border-color:
|
|
393
|
+
border-color: var(--colorPrimary);
|
|
394
394
|
}
|
|
395
395
|
.em-filemanager .uploadArea.active {
|
|
396
|
-
border-color:
|
|
396
|
+
border-color: var(--colorPrimary);
|
|
397
397
|
background-color: var(--colorBgContainer);
|
|
398
398
|
}
|
|
399
399
|
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
}
|
|
442
442
|
.em-filemanager .btnAi:hover,
|
|
443
443
|
.em-filemanager .btnPhoto:hover {
|
|
444
|
-
border-color:
|
|
444
|
+
border-color: var(--colorPrimary);
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
/* Drag overlay for non-empty folder drop */
|
package/file-manager.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export interface InitPixieEditorOptions {
|
|
|
81
81
|
baseUrl?: string;
|
|
82
82
|
assetsUrl?: string;
|
|
83
83
|
showNotifications?: boolean;
|
|
84
|
+
handleFileProxy?: Config['handleFileProxy'];
|
|
84
85
|
handleNotify?: NotifyListener<NotifyEvent>;
|
|
85
86
|
handleError?: NotifyListener<Notify.ErrorEvent>;
|
|
86
87
|
handleSuccess?: NotifyListener<Notify.SuccessEvent>;
|