@epam/ai-dial-ui-kit 0.3.0-rc.49 → 0.3.0-rc.50
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.
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface DialFolderNameProps {
|
|
3
|
+
name: string;
|
|
4
|
+
cssClass?: string;
|
|
5
|
+
shared?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Component to display a folder name with a folder icon and shared indicator.
|
|
9
|
+
* Handles long names with ellipsis and tooltip.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <DialFolderName name="Organization" />
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* @param name - Folder name
|
|
17
|
+
* @param cssClass - Additional CSS classes for the root container
|
|
18
|
+
* @param shared - Whether the folder is shared
|
|
19
|
+
*/
|
|
20
|
+
export declare const DialFolderName: FC<DialFolderNameProps>;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { DialFileIcon } from './components/FileIcon/FileIcon';
|
|
|
17
17
|
export { DialFormItem } from './components/FormItem/FormItem';
|
|
18
18
|
export { DialSharedEntityIndicator } from './components/SharedEntityIndicator/SharedEntityIndicator';
|
|
19
19
|
export { DialFileName } from './components/FileName/FileName';
|
|
20
|
+
export { DialFolderName } from './components/FolderName/FolderName';
|
|
20
21
|
export { DialTabs } from './components/Tabs/Tabs';
|
|
21
22
|
export { DialTab } from './components/Tab/Tab';
|
|
22
23
|
export { DialBreadcrumb } from './components/Breadcrumb/Breadcrumb';
|