@epam/ai-dial-ui-kit 0.10.0-dev.46 → 0.10.0-dev.49
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/dist/{JsonEditor-GZaY7frl.cjs → JsonEditor-3Gyugv0O.cjs} +1 -1
- package/dist/{JsonEditor-e8z0P-UH.js → JsonEditor-UUe8IX-3.js} +1 -1
- package/dist/{MarkdownEditor-BLUiL3MX.js → MarkdownEditor-59ImdYKO.js} +1 -1
- package/dist/{MarkdownEditor-2IJ0G1PW.cjs → MarkdownEditor-BhtFB_dl.cjs} +1 -1
- package/dist/components-manifest.json +2 -2
- package/dist/dial-ui-kit.cjs.js +1 -1
- package/dist/dial-ui-kit.es.js +1 -1
- package/dist/{index-CxHm3zRd.cjs → index-Cl1UXBkf.cjs} +35 -35
- package/dist/{index-SFhhVz32.js → index-urpv9JWr.js} +5640 -5622
- package/dist/src/components/FileManager/FileManagerContext.d.ts +1 -0
- package/dist/src/components/FileManager/constants.d.ts +1 -0
- package/dist/src/components/FileManager/hooks/use-folder-creation.d.ts +1 -0
- package/dist/src/components/FileManager/utils.d.ts +1 -0
- package/package.json +1 -1
|
@@ -115,6 +115,7 @@ export interface FileManagerContextValue {
|
|
|
115
115
|
fileInputRef: RefObject<HTMLInputElement | null>;
|
|
116
116
|
isCreatingFolder: boolean;
|
|
117
117
|
newFolderTempId: string | null;
|
|
118
|
+
newFolderDefaultName: string;
|
|
118
119
|
startFolderCreation: () => void;
|
|
119
120
|
cancelFolderCreation: () => void;
|
|
120
121
|
saveFolderCreation: (name: string) => Promise<void>;
|
|
@@ -12,6 +12,7 @@ export declare const sidebarTitleDefault = "Files";
|
|
|
12
12
|
export declare const BASE_FILE_MANAGER_ICON_SIZE = 20;
|
|
13
13
|
export declare const FILES_DATA_TRANSFER_TYPE = "Files";
|
|
14
14
|
export declare const FOLDER_PLACEHOLDER_FILE_NAME = ".dial_folder";
|
|
15
|
+
export declare const DEFAULT_FOLDER_BASE_NAME = "New folder";
|
|
15
16
|
export declare const FOLDERS_TREE_PANEL_MIN_WIDTH = 280;
|
|
16
17
|
export declare const FOLDERS_TREE_PANEL_MAX_WIDTH = 460;
|
|
17
18
|
export declare const COMPACT_VIEW_HEADER_HEIGHT = 44;
|
|
@@ -14,6 +14,7 @@ export interface UseFolderCreationProps {
|
|
|
14
14
|
export interface UseFolderCreationResult {
|
|
15
15
|
isCreatingFolder: boolean;
|
|
16
16
|
newFolderTempId: string | null;
|
|
17
|
+
newFolderDefaultName: string;
|
|
17
18
|
startFolderCreation: () => void;
|
|
18
19
|
cancelFolderCreation: () => void;
|
|
19
20
|
saveFolderCreation: (name: string) => Promise<void>;
|
|
@@ -54,3 +54,4 @@ export declare const splitPathAndName: (fullPath: string) => {
|
|
|
54
54
|
};
|
|
55
55
|
export declare const isFileSelectable: (file: Pick<DialFile, "contentLength" | "contentType" | "name">, allowedFileTypes?: DialFileAcceptType[], maxSelectableFileSize?: number) => boolean;
|
|
56
56
|
export declare const getRowTooltip: (file: FileManagerGridRow, allowedFileTypes?: DialFileAcceptType[], maxSelectableFileSize?: number, unsupportedFileTypeTooltip?: string, fileTooLargeTooltip?: string) => string | undefined;
|
|
57
|
+
export declare const getNextFolderName: (existingFolders: DialFile[]) => string;
|