@epam/ai-dial-react-file-manager 0.3.0-dev.23 → 0.3.0-dev.24

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,12 @@ export interface DialFileManagerNavigationPanelProps extends Omit<BreadcrumbsPro
9
9
  rootItemPath?: string;
10
10
  rootItemLabel?: string;
11
11
  breadcrumbsHiddenPathPart?: string;
12
+ /** Names a level above the folder roots; when set, it heads the trail. */
13
+ topLevelLabel?: string;
14
+ /** Whether that top level is the current view, so the trail is its one segment. */
15
+ isTopLevel?: boolean;
16
+ /** Fired when the top-level segment is activated from inside a root. */
17
+ onTopLevelClick?: () => void;
12
18
  }
13
19
  /**
14
20
  * FileManagerNavigationPanel
@@ -42,5 +48,8 @@ export interface DialFileManagerNavigationPanelProps extends Omit<BreadcrumbsPro
42
48
  * @param [className] - Additional classes for the panel container
43
49
  * @param [breadcrumbClassName] - ClassName forwarded to inner `Breadcrumbs`
44
50
  * @param [breadcrumbsHiddenPathPart] - A slash-separated path fragment whose segments will be omitted from the rendered breadcrumb trail.
51
+ * @param [topLevelLabel] - Label of a level above the folder roots, drawn as the first segment
52
+ * @param [isTopLevel=false] - Whether that top level is the current view, so the trail is just its segment
53
+ * @param [onTopLevelClick] - Callback fired when the top-level segment is activated
45
54
  */
46
55
  export declare const DialFileManagerNavigationPanel: FC<DialFileManagerNavigationPanelProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-react-file-manager",
3
- "version": "0.3.0-dev.23",
3
+ "version": "0.3.0-dev.24",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "React file manager package for AI DIAL interfaces",