@epam/ai-dial-react-file-manager 0.3.0-dev.22 → 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.
- package/dist/ai-dial-react-file-manager.es.js +2658 -2608
- package/dist/src/components/FileManager/FileManager.d.ts +3 -0
- package/dist/src/components/FileManager/FileManagerContext.d.ts +1 -0
- package/dist/src/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.d.ts +9 -0
- package/package.json +1 -1
|
@@ -165,6 +165,8 @@ export interface DialFileManagerProps {
|
|
|
165
165
|
gridClassName?: string;
|
|
166
166
|
/** Additional classes for the central content column. Merged with the default content classes. */
|
|
167
167
|
contentClassName?: string;
|
|
168
|
+
/** Additional classes for the central content header. Merged with the default header classes. */
|
|
169
|
+
contentHeaderClassName?: string;
|
|
168
170
|
allowedFileTypes?: DialFileAcceptType[];
|
|
169
171
|
items?: DialFile[];
|
|
170
172
|
rootItem?: DialRootFolder;
|
|
@@ -319,6 +321,7 @@ export interface DialFileManagerProps {
|
|
|
319
321
|
* @param [className] - Additional classes for the root container
|
|
320
322
|
* @param [gridClassName] - Additional classes for the grid container
|
|
321
323
|
* @param [contentClassName] - Additional classes for the central content column. Merged with the default content classes.
|
|
324
|
+
* @param [contentHeaderClassName] - Additional classes for the central content header. Merged with the default header classes.
|
|
322
325
|
* @param [items] - Full hierarchical list of files and folders used by both tree and grid
|
|
323
326
|
* @param [rootItem] - Optional root folder item to represent the top-level container in the tree
|
|
324
327
|
* @param [filesLoading=false] - When true, shows skeleton loading state in the grid
|
|
@@ -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>;
|