@epam/ai-dial-ui-kit 0.13.0-dev.28 → 0.13.0-dev.30

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,23 @@
1
+ import { FC } from 'react';
2
+ import { DialButtonProps } from '../../Button/Button';
3
+ import { DropdownItem } from '../../../models/dropdown';
4
+ export interface ButtonDropdownProps extends Omit<DialButtonProps, 'iconAfter'> {
5
+ items: DropdownItem[];
6
+ }
7
+ /**
8
+ * A Button dropdown component based on DialDropdown component
9
+ * aliases: SplitButton|MenuButton
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * <ButtonDropdown
14
+ * title="Click me"
15
+ * variant={ButtonVariant.Neutral}
16
+ * items={[{ key: 'profile', label: 'Profile' }, { key: 'logout', label: 'Logout' }]}
17
+ * />
18
+ * ```
19
+ *
20
+ * Inherits all props from DialButton.
21
+ * @param [items] - DropdownItems with actions
22
+ */
23
+ export declare const ButtonDropdown: FC<ButtonDropdownProps>;
@@ -0,0 +1,2 @@
1
+ export declare const buttonChevronDown: import("react/jsx-runtime").JSX.Element;
2
+ export declare const buttonChevronUp: import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.13.0-dev.28",
3
+ "version": "0.13.0-dev.30",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",