@emailmaker/filemanager 0.10.25 → 0.10.27
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/components/PixieEditor/PixieEditor.d.ts +1 -1
- package/file-manager.css +41 -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/hooks/useCustomIcons.d.ts +1 -0
- package/package.json +1 -1
- package/shared/config.d.ts +2 -0
- package/types.d.ts +4 -0
package/file-manager.css
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
.em-filemanager .noFilesContainer {
|
|
2
|
+
text-align: center;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.em-filemanager .noFilesImage {
|
|
6
|
+
margin: calc(var(--marginLG) * 1px) auto;
|
|
7
|
+
color: var(--colorPrimary);
|
|
8
|
+
}
|
|
9
|
+
.em-filemanager .noFilesImage > svg {
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.em-filemanager .noFilesTitle {
|
|
15
|
+
text-align: center;
|
|
16
|
+
padding: 0 calc(var(--marginLG) * 1px);
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
line-height: 1;
|
|
19
|
+
font-size: 16px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.em-filemanager .noFiles {
|
|
23
|
+
text-align: center;
|
|
24
|
+
color: var(--colorTextSecondary);
|
|
25
|
+
padding: 0 calc(var(--marginLG) * 1px);
|
|
26
|
+
line-height: 1.5;
|
|
27
|
+
margin: auto;
|
|
28
|
+
max-width: 420px;
|
|
29
|
+
}
|
|
1
30
|
.em-filemanager .contentLayout {
|
|
2
31
|
display: flex;
|
|
3
32
|
flex-direction: column;
|
|
@@ -97,7 +126,7 @@
|
|
|
97
126
|
.em-filemanager .fileManagerTableFolderInner {
|
|
98
127
|
display: flex;
|
|
99
128
|
align-items: center;
|
|
100
|
-
justify-content:
|
|
129
|
+
justify-content: flex-start;
|
|
101
130
|
width: 100%;
|
|
102
131
|
height: 100%;
|
|
103
132
|
}
|
|
@@ -417,14 +446,6 @@
|
|
|
417
446
|
text-align: center;
|
|
418
447
|
pointer-events: none;
|
|
419
448
|
}
|
|
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
449
|
@charset "UTF-8";
|
|
429
450
|
.em-filemanager .folderTree .emptyFolderContainer {
|
|
430
451
|
text-align: center;
|
|
@@ -1148,14 +1169,6 @@
|
|
|
1148
1169
|
color: var(--colorSecondary);
|
|
1149
1170
|
line-height: 1.2;
|
|
1150
1171
|
}
|
|
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
1172
|
.em-filemanager .stockTab {
|
|
1160
1173
|
height: 100%;
|
|
1161
1174
|
}
|
|
@@ -1305,6 +1318,9 @@
|
|
|
1305
1318
|
font-size: 0;
|
|
1306
1319
|
border-width: 1px;
|
|
1307
1320
|
}
|
|
1321
|
+
.em-filemanager .stockColorFilter label::before, .em-filemanager .stockColorFilter [class^=ant-radio]::before {
|
|
1322
|
+
display: none;
|
|
1323
|
+
}
|
|
1308
1324
|
.em-filemanager .stockColorFilter label.allColors, .em-filemanager .stockColorFilter [class^=ant-radio].allColors {
|
|
1309
1325
|
background-image: linear-gradient(135deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff);
|
|
1310
1326
|
}
|
|
@@ -1370,14 +1386,6 @@
|
|
|
1370
1386
|
line-height: 1.2;
|
|
1371
1387
|
}
|
|
1372
1388
|
|
|
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
1389
|
.em-filemanager .dark .stockTab .listItem {
|
|
1382
1390
|
border: 1px solid #2b2b2b;
|
|
1383
1391
|
background: #2b2b2b;
|
|
@@ -1856,8 +1864,10 @@
|
|
|
1856
1864
|
}
|
|
1857
1865
|
.em-filemanager .file-manager__layout .content-layout {
|
|
1858
1866
|
flex: 1 1 auto;
|
|
1859
|
-
min-height: 0;
|
|
1860
|
-
|
|
1867
|
+
min-height: 0;
|
|
1868
|
+
/* чтобы внутренние скроллы работали корректно */
|
|
1869
|
+
display: flex;
|
|
1870
|
+
/* если внутри тоже колонки/скроллы */
|
|
1861
1871
|
flex-direction: column;
|
|
1862
1872
|
/* по желанию: если нужен внутренний скролл содержимого */
|
|
1863
1873
|
/* overflow: auto; */
|
|
@@ -1923,7 +1933,7 @@
|
|
|
1923
1933
|
.em-filemanager .file-manager__layout .sidebar-container {
|
|
1924
1934
|
height: 100%;
|
|
1925
1935
|
padding: 32px;
|
|
1926
|
-
overflow:
|
|
1936
|
+
overflow: auto;
|
|
1927
1937
|
}
|
|
1928
1938
|
.em-filemanager .file-manager__layout .sidebar-container .ant-tree-treenode {
|
|
1929
1939
|
display: flex;
|
|
@@ -2078,7 +2088,7 @@
|
|
|
2078
2088
|
height: 40px;
|
|
2079
2089
|
line-height: 40px;
|
|
2080
2090
|
display: flex;
|
|
2081
|
-
padding: 0
|
|
2091
|
+
padding: 0;
|
|
2082
2092
|
overflow: hidden;
|
|
2083
2093
|
width: 100%;
|
|
2084
2094
|
align-items: center;
|
|
@@ -2190,8 +2200,8 @@
|
|
|
2190
2200
|
display: flex;
|
|
2191
2201
|
gap: 4px;
|
|
2192
2202
|
position: absolute;
|
|
2193
|
-
right:
|
|
2194
|
-
top:
|
|
2203
|
+
right: 4px;
|
|
2204
|
+
top: 4px;
|
|
2195
2205
|
}
|
|
2196
2206
|
|
|
2197
2207
|
/* 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;
|