@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.
@@ -2,6 +2,7 @@ import { FC, ReactNode } from 'react';
2
2
  export interface DialIconProps {
3
3
  icon?: ReactNode;
4
4
  className?: string;
5
+ label?: string;
5
6
  }
6
7
  /**
7
8
  * A wrapper component for rendering icons with consistent styling
@@ -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>;
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.3.0-rc.39",
3
+ "version": "0.3.0-rc.40",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",