@epam/ai-dial-ui-kit 0.5.0-rc.55 → 0.5.0-rc.56

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.
@@ -55,6 +55,7 @@ export interface FileManagerContextValue {
55
55
  handleSetCopiedFiles: (files: DialFile[]) => void;
56
56
  handleSetMovedFiles: (files: DialFile[]) => void;
57
57
  renamedPath?: string;
58
+ renamedItem?: DialFile;
58
59
  onRename: (file: string) => void;
59
60
  onRenameSave: (value: string) => void;
60
61
  onRenameCancel: () => void;
@@ -11,6 +11,7 @@ export declare const useItemRenaming: ({ items, onRenameValidate, validationMess
11
11
  onMoveToFiles?: (items: DialCopiedItem[], sourceFolder: string, destinationFolder: string) => void;
12
12
  }) => {
13
13
  renamedPath: string | undefined;
14
+ renamedItem: DialFile | undefined;
14
15
  renameHandler: (path: string) => void;
15
16
  renameSaveHandler: (value: string) => void;
16
17
  renameCancelHandler: () => void;
@@ -1,5 +1,5 @@
1
1
  import { DialFile } from '../../models/file';
2
- export declare const findNodeByPath: (nodes: DialFile[] | undefined, path?: string) => DialFile | undefined;
2
+ export declare const findNodeByPath: (nodes: DialFile[] | undefined, path: string) => DialFile | undefined;
3
3
  export declare const findFolderForPath: (root: DialFile[] | undefined, path?: string) => DialFile | undefined;
4
4
  export declare const normalizeToLowerCase: (input?: string) => string;
5
5
  export declare const normalizeExtensionWithoutDot: (input?: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.5.0-rc.55",
3
+ "version": "0.5.0-rc.56",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",