@livechat/design-system-react-components 1.22.5 → 1.23.1

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.
package/README.md CHANGED
@@ -58,7 +58,7 @@ At this stage of the project we consider Storybook and Figma as parts of our doc
58
58
 
59
59
  ### Development
60
60
 
61
- Required version of `node.js` is `16.13.2`.
61
+ Required version of `node.js` is `20.14.0`.
62
62
 
63
63
  If you're a [volta](https://volta.sh/) user, the project maintains node version entry within `package.json`.
64
64
 
@@ -40,7 +40,7 @@ export interface IActionBarOption {
40
40
  export interface IActionBarItem {
41
41
  id: string;
42
42
  option: IActionBarOption;
43
- menuItemsKeys: string[];
43
+ isHidden: boolean;
44
44
  isActive?: boolean;
45
45
  vertical?: boolean;
46
46
  }
@@ -1,16 +1,3 @@
1
1
  import * as React from 'react';
2
- export interface ActionMenuItemProps {
3
- /**
4
- * Renders given element on the left of element
5
- */
6
- leftNode?: React.ReactNode;
7
- /**
8
- * Renders given element on the right of element
9
- */
10
- rightNode?: React.ReactNode;
11
- /**
12
- * Specify the kind of menu item
13
- */
14
- kind?: 'warning' | undefined;
15
- }
2
+ import { ActionMenuItemProps } from './types';
16
3
  export declare const ActionMenuItem: React.FC<React.PropsWithChildren<ActionMenuItemProps>>;
@@ -64,3 +64,17 @@ export interface IActionMenuProps extends ComponentCoreProps {
64
64
  */
65
65
  footer?: React.ReactNode;
66
66
  }
67
+ export interface ActionMenuItemProps {
68
+ /**
69
+ * Renders given element on the left of element
70
+ */
71
+ leftNode?: React.ReactNode;
72
+ /**
73
+ * Renders given element on the right of element
74
+ */
75
+ rightNode?: React.ReactNode;
76
+ /**
77
+ * Specify the kind of menu item
78
+ */
79
+ kind?: 'warning' | undefined;
80
+ }