@emailmaker/filemanager 0.10.1 → 0.10.2
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/FolderSidebar/FolderSidebar.d.ts +1 -0
- package/file-manager.css +3 -5
- package/file-manager.esm.js +4 -4
- package/file-manager.esm.js.map +1 -1
- package/file-manager.js +1 -1
- package/hooks/core/files/useFilesAPI.d.ts +1 -1
- package/hooks/core/files/useFilesAPIHelpers.d.ts +4 -1
- package/hooks/core/useFolders.d.ts +1 -0
- package/package.json +1 -1
- package/types.d.ts +14 -2
- package/utils/jsonDataProvider.d.ts +5 -2
|
@@ -6,6 +6,7 @@ interface FolderSidebarProps {
|
|
|
6
6
|
onFolderSelect: (folderId: string) => void;
|
|
7
7
|
folders: Folder[];
|
|
8
8
|
fetchFolders: () => Promise<void>;
|
|
9
|
+
fetchChildFolders?: (parentId: string | null) => Promise<Folder[]>;
|
|
9
10
|
handleAddFile: () => void;
|
|
10
11
|
setIsUrlModalVisible: (visible: boolean) => void;
|
|
11
12
|
activeLibraryItem: LibraryMenuKey;
|
package/file-manager.css
CHANGED
|
@@ -158,11 +158,6 @@
|
|
|
158
158
|
font-weight: 500;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.em-filemanager .fileNameClickable {
|
|
162
|
-
font-weight: 500;
|
|
163
|
-
cursor: pointer;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
161
|
.em-filemanager .fileItemCount {
|
|
167
162
|
font-size: 12px;
|
|
168
163
|
color: var(--colorTextTertiary);
|
|
@@ -1423,6 +1418,9 @@
|
|
|
1423
1418
|
}
|
|
1424
1419
|
.em-filemanager .file-manager__layout .main-content .ant-table-wrapper .ant-table .ant-table-row td {
|
|
1425
1420
|
border-bottom: 4px solid var(--colorBgLayout);
|
|
1421
|
+
cursor: pointer;
|
|
1422
|
+
-webkit-user-select: none;
|
|
1423
|
+
user-select: none;
|
|
1426
1424
|
}
|
|
1427
1425
|
.em-filemanager .file-manager__layout .main-content .ant-table-wrapper .ant-table .ant-table-row td:first-child {
|
|
1428
1426
|
border-radius: calc(var(--borderRadiusLG) * 1px) 0 0 calc(var(--borderRadiusLG) * 1px);
|