@epam/ai-dial-ui-kit 0.5.0-rc.97 → 0.5.0-rc.99
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/dial-ui-kit.cjs.js +27 -27
- package/dist/dial-ui-kit.es.js +6884 -6858
- 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/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.d.ts +1 -0
- package/dist/src/components/FileManager/components/FoldersTree/FoldersTree.d.ts +2 -0
- package/dist/src/components/Search/Search.d.ts +3 -0
- package/package.json +1 -1
|
@@ -102,6 +102,7 @@ export interface DialFileManagerProps {
|
|
|
102
102
|
items?: DialFile[];
|
|
103
103
|
rootItem?: DialRootFolder;
|
|
104
104
|
filesLoading?: boolean;
|
|
105
|
+
sharedByMePaths?: Set<string>;
|
|
105
106
|
showHiddenFiles?: boolean;
|
|
106
107
|
onShowHiddenFilesChange?: (value: boolean) => void;
|
|
107
108
|
treeOptions?: FileTreeOptions;
|
|
@@ -205,6 +206,8 @@ export interface DialFileManagerProps {
|
|
|
205
206
|
*
|
|
206
207
|
* @param [onUploadArchive] - Callback fired when archive files are uploaded
|
|
207
208
|
*
|
|
209
|
+
* @param [sharedByMePaths] - Set of items paths that the user has shared with others. Enables UI indicators (icons/badges) in the tree and grid.
|
|
210
|
+
*
|
|
208
211
|
* @param [actionsRef] - Ref exposing a limited set of imperative File Manager actions (e.g., creating a folder). Allows parent components to trigger internal behaviors programmatically. This ref is not a DOM ref and should be used only for invoking the component’s public actions API.
|
|
209
212
|
*/
|
|
210
213
|
export declare const DialFileManager: FC<DialFileManagerProps>;
|
|
@@ -118,5 +118,6 @@ export interface FileManagerContextValue {
|
|
|
118
118
|
onGetInfo?: (file: DialFile) => void | Promise<void>;
|
|
119
119
|
onUnshareFile?: (file: DialFile) => void | Promise<void>;
|
|
120
120
|
actionsRef?: Ref<DialFileManagerActionsRef>;
|
|
121
|
+
sharedByMePaths?: Set<string>;
|
|
121
122
|
}
|
|
122
123
|
export declare const FileManagerContext: import('react').Context<FileManagerContextValue | undefined>;
|
|
@@ -6,6 +6,7 @@ export interface DialFoldersTreeProps {
|
|
|
6
6
|
expandedPaths?: Set<string>;
|
|
7
7
|
loadingPaths?: Set<string>;
|
|
8
8
|
loadedPaths?: Set<string>;
|
|
9
|
+
sharedByMePaths?: Set<string>;
|
|
9
10
|
selectedPath?: string;
|
|
10
11
|
renamedPath?: string;
|
|
11
12
|
showFiles?: boolean;
|
|
@@ -94,6 +95,7 @@ export interface DialFoldersTreeProps {
|
|
|
94
95
|
* @param [expandedPaths] - Set of folder paths that should be expanded.
|
|
95
96
|
* @param [loadingPaths] - Set of folder paths currently loading (shows spinner or placeholder).
|
|
96
97
|
* @param [loadedPaths] - Set of folder paths that have loaded.
|
|
98
|
+
* @param [sharedByMePaths] - Set of items paths that the user has shared with others. Enables UI indicators (icons/badges).
|
|
97
99
|
* @param [selectedPath] - Path representing the currently selected folder or file.
|
|
98
100
|
* @param [renamedPath] - Path of the folder or file currently being edited.
|
|
99
101
|
* @param [showFiles=false] - Whether to show files in addition to folders.
|
|
@@ -10,6 +10,7 @@ export interface DialSearchProps {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
containerClassName?: string;
|
|
12
12
|
onChange?: (value: string) => void;
|
|
13
|
+
onBlur?: () => void;
|
|
13
14
|
size?: SearchSize;
|
|
14
15
|
allowClear?: boolean;
|
|
15
16
|
}
|
|
@@ -25,6 +26,7 @@ export interface DialSearchProps {
|
|
|
25
26
|
* placeholder="Search"
|
|
26
27
|
* size={SearchSize.Small}
|
|
27
28
|
* onChange={(value) => setQuery(value)}
|
|
29
|
+
* onBlur={() => handleBlur()}
|
|
28
30
|
* disabled={false}
|
|
29
31
|
* />
|
|
30
32
|
* ```
|
|
@@ -38,6 +40,7 @@ export interface DialSearchProps {
|
|
|
38
40
|
* @param [className] - Additional CSS classes applied to the input element
|
|
39
41
|
* @param [containerClassName] - Additional CSS classes applied to the container
|
|
40
42
|
* @param [onChange] - Callback fired when the input value changes
|
|
43
|
+
* @param [onBlur] - Callback fired when the input loses focus
|
|
41
44
|
* @param [size=SearchSize.Base] - The size of the search input. Uses the {@link SearchSize} enum.
|
|
42
45
|
* @param [allowClear=true] - Whether to show a clear button when there is a value
|
|
43
46
|
*/
|