@epam/ai-dial-ui-kit 0.5.0-rc.7 → 0.5.0-rc.8
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.
|
@@ -7,3 +7,4 @@ export declare const treeBaseClasses = "w-full h-full rounded bg-layer-3 text-se
|
|
|
7
7
|
export declare const gridBaseClasses = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0";
|
|
8
8
|
export declare const sidebarWidth = 280;
|
|
9
9
|
export declare const sidebarTitleDefault = "Files";
|
|
10
|
+
export declare const BASE_FILE_MANAGER_ICON_SIZE = 20;
|
|
@@ -3,6 +3,7 @@ export interface DialFileNameProps {
|
|
|
3
3
|
name: string;
|
|
4
4
|
cssClass?: string;
|
|
5
5
|
shared?: boolean;
|
|
6
|
+
iconSize?: number;
|
|
6
7
|
}
|
|
7
8
|
/**
|
|
8
9
|
* Component to display a file name with a file icon and shared indicator.
|
|
@@ -16,5 +17,6 @@ export interface DialFileNameProps {
|
|
|
16
17
|
* @param name - Full file name with or without extension
|
|
17
18
|
* @param cssClass - Additional CSS classes for the root container
|
|
18
19
|
* @param shared - Whether the file is shared
|
|
20
|
+
* @param iconSize - Icon size in px. Default: BASE_ICON_SIZE.
|
|
19
21
|
*/
|
|
20
22
|
export declare const DialFileName: FC<DialFileNameProps>;
|
|
@@ -4,6 +4,7 @@ export interface DialFolderNameProps {
|
|
|
4
4
|
cssClass?: string;
|
|
5
5
|
shared?: boolean;
|
|
6
6
|
loading?: boolean;
|
|
7
|
+
iconSize?: number;
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
9
10
|
* Component to display a folder name with a folder icon and shared indicator.
|
|
@@ -16,6 +17,8 @@ export interface DialFolderNameProps {
|
|
|
16
17
|
*
|
|
17
18
|
* @param name - Folder name
|
|
18
19
|
* @param cssClass - Additional CSS classes for the root container
|
|
19
|
-
* @param shared -
|
|
20
|
+
* @param shared - If true, shows shared indicator. Default: false.
|
|
21
|
+
* @param loading - If true, shows loading state. Default: false.
|
|
22
|
+
* @param iconSize - Icon size in px. Default: BASE_ICON_SIZE.
|
|
20
23
|
*/
|
|
21
24
|
export declare const DialFolderName: FC<DialFolderNameProps>;
|