@emailmaker/filemanager 0.10.76 → 0.10.77

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.
@@ -4,7 +4,6 @@ import type { FileListRowModel } from '../../../presentation/file-list/types';
4
4
  interface FileTableViewProps {
5
5
  rows: FileListRowModel[];
6
6
  columns: ColumnsType<FileListRowModel>;
7
- loading: boolean;
8
7
  topOffset?: number;
9
8
  bottomOffset?: number;
10
9
  onRow: (record: FileListRowModel) => React.HTMLAttributes<HTMLElement>;
@@ -19,8 +18,8 @@ interface FileTableViewProps {
19
18
  /**
20
19
  * Изолированный renderer table-режима.
21
20
  *
22
- * Важно, что `loading` живёт снаружи таблицы, а не внутри `Table`,
23
- * поэтому сам table tree не пересобирается только из-за spinner state.
21
+ * Индикатор загрузки ренерится оверлеем в `FileContent` поверх viewport,
22
+ * иначе `Spin` центрируется по всей высоте виртуализированного списка (padding) и «прыгает».
24
23
  */
25
24
  export declare const FileTableView: React.NamedExoticComponent<FileTableViewProps>;
26
25
  export {};
package/file-manager.css CHANGED
@@ -61,6 +61,18 @@
61
61
  isolation: isolate;
62
62
  }
63
63
 
64
+ .em-filemanager .filesLoadingOverlay {
65
+ position: absolute;
66
+ inset: 0;
67
+ z-index: 5;
68
+ display: flex;
69
+ align-items: center;
70
+ justify-content: center;
71
+ background: rgba(255, 255, 255, 0.45);
72
+ backdrop-filter: blur(1px);
73
+ pointer-events: auto;
74
+ }
75
+
64
76
  .em-filemanager .emptyStateWrapper {
65
77
  flex: 1;
66
78
  display: flex;
@@ -129,6 +141,9 @@
129
141
  .em-filemanager .tableLoadingWrapper {
130
142
  width: 100%;
131
143
  }
144
+ .tableLoadingWrapper .ant-table-tbody > tr {
145
+ cursor: pointer;
146
+ }
132
147
 
133
148
  .em-filemanager .imagePreview {
134
149
  max-width: 100%;
@@ -235,6 +250,7 @@
235
250
  height: 100%;
236
251
  -webkit-user-select: none;
237
252
  user-select: none;
253
+ cursor: pointer;
238
254
  border: 2px solid transparent;
239
255
  }
240
256
  .em-filemanager .gridCard:hover {