@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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.10.0-dev.46",
3
+ "version": "0.10.0-dev.49",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",