@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
package/file-manager.css
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
.em-filemanager .noFilesContainer {
|
|
2
|
+
text-align: center;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.em-filemanager .noFilesImage {
|
|
6
|
+
margin: calc(var(--marginLG) * 1px) auto;
|
|
7
|
+
}
|
|
8
|
+
.em-filemanager .noFilesImage > svg {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.em-filemanager .noFilesTitle {
|
|
14
|
+
text-align: center;
|
|
15
|
+
color: var(--colorTextSecondary);
|
|
16
|
+
padding: 0 calc(var(--marginLG) * 1px);
|
|
17
|
+
font-weight: 700;
|
|
18
|
+
line-height: 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.em-filemanager .noFiles {
|
|
22
|
+
text-align: center;
|
|
23
|
+
color: #999;
|
|
24
|
+
padding: 0 calc(var(--marginLG) * 1px);
|
|
25
|
+
line-height: 1.5;
|
|
26
|
+
margin: auto;
|
|
27
|
+
max-width: 420px;
|
|
28
|
+
}
|
|
1
29
|
.em-filemanager .contentLayout {
|
|
2
30
|
display: flex;
|
|
3
31
|
flex-direction: column;
|
|
@@ -97,7 +125,7 @@
|
|
|
97
125
|
.em-filemanager .fileManagerTableFolderInner {
|
|
98
126
|
display: flex;
|
|
99
127
|
align-items: center;
|
|
100
|
-
justify-content:
|
|
128
|
+
justify-content: flex-start;
|
|
101
129
|
width: 100%;
|
|
102
130
|
height: 100%;
|
|
103
131
|
}
|
|
@@ -417,14 +445,6 @@
|
|
|
417
445
|
text-align: center;
|
|
418
446
|
pointer-events: none;
|
|
419
447
|
}
|
|
420
|
-
|
|
421
|
-
.em-filemanager .noFiles {
|
|
422
|
-
text-align: center;
|
|
423
|
-
color: #999;
|
|
424
|
-
padding: calc(var(--marginLG) * 1px);
|
|
425
|
-
line-height: 1.3;
|
|
426
|
-
font-style: italic;
|
|
427
|
-
}
|
|
428
448
|
@charset "UTF-8";
|
|
429
449
|
.em-filemanager .folderTree .emptyFolderContainer {
|
|
430
450
|
text-align: center;
|
|
@@ -1148,14 +1168,6 @@
|
|
|
1148
1168
|
color: var(--colorSecondary);
|
|
1149
1169
|
line-height: 1.2;
|
|
1150
1170
|
}
|
|
1151
|
-
|
|
1152
|
-
.em-filemanager .noFiles {
|
|
1153
|
-
text-align: center;
|
|
1154
|
-
color: #999;
|
|
1155
|
-
padding: 0 calc(var(--marginLG) * 1px);
|
|
1156
|
-
line-height: 1.3;
|
|
1157
|
-
font-style: italic;
|
|
1158
|
-
}
|
|
1159
1171
|
.em-filemanager .stockTab {
|
|
1160
1172
|
height: 100%;
|
|
1161
1173
|
}
|
|
@@ -1305,6 +1317,9 @@
|
|
|
1305
1317
|
font-size: 0;
|
|
1306
1318
|
border-width: 1px;
|
|
1307
1319
|
}
|
|
1320
|
+
.em-filemanager .stockColorFilter label::before, .em-filemanager .stockColorFilter [class^=ant-radio]::before {
|
|
1321
|
+
display: none;
|
|
1322
|
+
}
|
|
1308
1323
|
.em-filemanager .stockColorFilter label.allColors, .em-filemanager .stockColorFilter [class^=ant-radio].allColors {
|
|
1309
1324
|
background-image: linear-gradient(135deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff);
|
|
1310
1325
|
}
|
|
@@ -1370,14 +1385,6 @@
|
|
|
1370
1385
|
line-height: 1.2;
|
|
1371
1386
|
}
|
|
1372
1387
|
|
|
1373
|
-
.em-filemanager .noFiles {
|
|
1374
|
-
text-align: center;
|
|
1375
|
-
color: #999;
|
|
1376
|
-
padding: 0 calc(var(--marginLG) * 1px);
|
|
1377
|
-
line-height: 1.3;
|
|
1378
|
-
font-style: italic;
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
1388
|
.em-filemanager .dark .stockTab .listItem {
|
|
1382
1389
|
border: 1px solid #2b2b2b;
|
|
1383
1390
|
background: #2b2b2b;
|
|
@@ -1856,8 +1863,10 @@
|
|
|
1856
1863
|
}
|
|
1857
1864
|
.em-filemanager .file-manager__layout .content-layout {
|
|
1858
1865
|
flex: 1 1 auto;
|
|
1859
|
-
min-height: 0;
|
|
1860
|
-
|
|
1866
|
+
min-height: 0;
|
|
1867
|
+
/* чтобы внутренние скроллы работали корректно */
|
|
1868
|
+
display: flex;
|
|
1869
|
+
/* если внутри тоже колонки/скроллы */
|
|
1861
1870
|
flex-direction: column;
|
|
1862
1871
|
/* по желанию: если нужен внутренний скролл содержимого */
|
|
1863
1872
|
/* overflow: auto; */
|
|
@@ -1923,7 +1932,7 @@
|
|
|
1923
1932
|
.em-filemanager .file-manager__layout .sidebar-container {
|
|
1924
1933
|
height: 100%;
|
|
1925
1934
|
padding: 32px;
|
|
1926
|
-
overflow:
|
|
1935
|
+
overflow: auto;
|
|
1927
1936
|
}
|
|
1928
1937
|
.em-filemanager .file-manager__layout .sidebar-container .ant-tree-treenode {
|
|
1929
1938
|
display: flex;
|
|
@@ -2078,7 +2087,7 @@
|
|
|
2078
2087
|
height: 40px;
|
|
2079
2088
|
line-height: 40px;
|
|
2080
2089
|
display: flex;
|
|
2081
|
-
padding: 0
|
|
2090
|
+
padding: 0;
|
|
2082
2091
|
overflow: hidden;
|
|
2083
2092
|
width: 100%;
|
|
2084
2093
|
align-items: center;
|
|
@@ -2190,8 +2199,8 @@
|
|
|
2190
2199
|
display: flex;
|
|
2191
2200
|
gap: 4px;
|
|
2192
2201
|
position: absolute;
|
|
2193
|
-
right:
|
|
2194
|
-
top:
|
|
2202
|
+
right: 4px;
|
|
2203
|
+
top: 4px;
|
|
2195
2204
|
}
|
|
2196
2205
|
|
|
2197
2206
|
/* Specific styles for sidebar tree */
|
package/file-manager.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export interface FileManagerAppProps {
|
|
|
53
53
|
handleNotify?: NotifyListener<NotifyEvent>;
|
|
54
54
|
handleError?: NotifyListener<Notify.ErrorEvent>;
|
|
55
55
|
handleSuccess?: NotifyListener<Notify.SuccessEvent>;
|
|
56
|
+
[key: string]: unknown;
|
|
56
57
|
}
|
|
57
58
|
export declare const init: (containerOrOptions: HTMLElement | Options, config?: Config) => void;
|
|
58
59
|
export declare const unmount: (container: HTMLElement) => void;
|