@epam/ai-dial-ui-kit 0.5.0-rc.72 → 0.5.0-rc.74

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.
@@ -9,6 +9,8 @@ export interface DialFoldersTreeProps {
9
9
  selectedPath?: string;
10
10
  renamedPath?: string;
11
11
  showFiles?: boolean;
12
+ rootItemPath?: string;
13
+ rootItemLabel?: string;
12
14
  emptyStateTitle?: string;
13
15
  emptyStateDescription?: string;
14
16
  emptyStateIcon?: ReactNode;
@@ -104,7 +106,8 @@ export interface DialFoldersTreeProps {
104
106
  * @param [onRenameValidate] - Function to validate the new name during editing. Should return an error string or `null` if valid.
105
107
  * @param [getContextMenuItems] - Function returning context menu items for a given node.
106
108
  * @param [areHiddenFilesVisible=false] - Whether hidden files (dotfiles) should be visible in the tree.
107
- *
109
+ * @param [rootItemPath] - Path of the folder to treat as the custom root node (no context menu, special label).
110
+ * @param [rootItemLabel] - Label to display for the root node instead of its actual name.
108
111
  * @remarks
109
112
  * - Folder and file data must follow the `DialFile` model.
110
113
  * - The `expandedPaths`, `loadingPaths`, `selectedPath`, and `renamedPath` props are externally controlled.
@@ -34,5 +34,5 @@ export declare enum DialFilePermission {
34
34
  SHARE = "SHARE"
35
35
  }
36
36
  export interface DialRootFolder extends DialFile {
37
- breadcrumbLabel: string;
37
+ label: string;
38
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.5.0-rc.72",
3
+ "version": "0.5.0-rc.74",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",