@epam/ai-dial-ui-kit 0.3.0-rc.39 → 0.3.0-rc.40
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,25 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface DialSharedEntityIndicatorProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
size?: number;
|
|
5
|
+
cssClass?: string;
|
|
6
|
+
stroke?: number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A compact icon-only indicator to denote a "shared" entity.
|
|
10
|
+
*
|
|
11
|
+
* Renders a small arrow-up-right icon with token-based colors.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* <DialSharedEntityIndicator />
|
|
16
|
+
* <DialSharedEntityIndicator size={12} label="Opens in new window" />
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* @param [label="Shared entity"] - Accessible label for assistive tech
|
|
20
|
+
* @param [size=10] - Pixel size for the icon
|
|
21
|
+
* @param [cssClass] - Additional Tailwind classes appended to the container
|
|
22
|
+
* @param [stroke=2] - Stroke width for the icon
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare const DialSharedEntityIndicator: FC<DialSharedEntityIndicatorProps>;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { DialEllipsisTooltip } from './components/EllipsisTooltip/EllipsisToolti
|
|
|
15
15
|
export { DialDraggableItem } from './components/DraggableItem/DraggableItem';
|
|
16
16
|
export { DialFileIcon } from './components/FileIcon/FileIcon';
|
|
17
17
|
export { DialFormItem } from './components/FormItem/FormItem';
|
|
18
|
+
export { DialSharedEntityIndicator } from './components/SharedEntityIndicator/SharedEntityIndicator';
|
|
18
19
|
export { DialTabs } from './components/Tabs/Tabs';
|
|
19
20
|
export { DialTab } from './components/Tab/Tab';
|
|
20
21
|
export { DialBreadcrumb } from './components/Breadcrumb/Breadcrumb';
|