@vryzel/file-next-ui 0.4.2 → 0.4.4
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/README.md +2 -0
- package/dist/index.cjs +300 -156
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +300 -156
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -31,6 +31,9 @@ interface ExplorerListViewProps {
|
|
|
31
31
|
readonly sortKey?: ExplorerColumn;
|
|
32
32
|
readonly sortDirection?: SortDirection;
|
|
33
33
|
readonly onSortChange?: (key: ExplorerColumn) => void;
|
|
34
|
+
readonly renamingId?: string | null;
|
|
35
|
+
readonly onRenameCommit?: (name: string) => void;
|
|
36
|
+
readonly onRenameCancel?: () => void;
|
|
34
37
|
readonly className?: string;
|
|
35
38
|
}
|
|
36
39
|
declare function ExplorerListView(props: ExplorerListViewProps): React.ReactElement;
|
|
@@ -121,6 +124,7 @@ interface FileExplorerActions {
|
|
|
121
124
|
readonly purgeNode?: (input: {
|
|
122
125
|
id: string;
|
|
123
126
|
}) => Promise<unknown>;
|
|
127
|
+
/** Return the openable URL to copy (presigned GET). */
|
|
124
128
|
readonly createShare?: (input: {
|
|
125
129
|
id: string;
|
|
126
130
|
}) => Promise<string>;
|
|
@@ -225,6 +229,9 @@ interface ExplorerGridViewProps {
|
|
|
225
229
|
readonly draggingIds?: ReadonlySet<string>;
|
|
226
230
|
readonly dropTargetId: string | null;
|
|
227
231
|
readonly onDragOverRow: (id: string | null) => void;
|
|
232
|
+
readonly renamingId?: string | null;
|
|
233
|
+
readonly onRenameCommit?: (name: string) => void;
|
|
234
|
+
readonly onRenameCancel?: () => void;
|
|
228
235
|
readonly className?: string;
|
|
229
236
|
}
|
|
230
237
|
declare function ExplorerGridView(props: ExplorerGridViewProps): React.ReactElement;
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,9 @@ interface ExplorerListViewProps {
|
|
|
31
31
|
readonly sortKey?: ExplorerColumn;
|
|
32
32
|
readonly sortDirection?: SortDirection;
|
|
33
33
|
readonly onSortChange?: (key: ExplorerColumn) => void;
|
|
34
|
+
readonly renamingId?: string | null;
|
|
35
|
+
readonly onRenameCommit?: (name: string) => void;
|
|
36
|
+
readonly onRenameCancel?: () => void;
|
|
34
37
|
readonly className?: string;
|
|
35
38
|
}
|
|
36
39
|
declare function ExplorerListView(props: ExplorerListViewProps): React.ReactElement;
|
|
@@ -121,6 +124,7 @@ interface FileExplorerActions {
|
|
|
121
124
|
readonly purgeNode?: (input: {
|
|
122
125
|
id: string;
|
|
123
126
|
}) => Promise<unknown>;
|
|
127
|
+
/** Return the openable URL to copy (presigned GET). */
|
|
124
128
|
readonly createShare?: (input: {
|
|
125
129
|
id: string;
|
|
126
130
|
}) => Promise<string>;
|
|
@@ -225,6 +229,9 @@ interface ExplorerGridViewProps {
|
|
|
225
229
|
readonly draggingIds?: ReadonlySet<string>;
|
|
226
230
|
readonly dropTargetId: string | null;
|
|
227
231
|
readonly onDragOverRow: (id: string | null) => void;
|
|
232
|
+
readonly renamingId?: string | null;
|
|
233
|
+
readonly onRenameCommit?: (name: string) => void;
|
|
234
|
+
readonly onRenameCancel?: () => void;
|
|
228
235
|
readonly className?: string;
|
|
229
236
|
}
|
|
230
237
|
declare function ExplorerGridView(props: ExplorerGridViewProps): React.ReactElement;
|