@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 +1 -1
- package/dist/components/ActionBar/types.d.ts +1 -1
- package/dist/components/ActionMenu/ActionMenuItem.d.ts +1 -14
- package/dist/components/ActionMenu/types.d.ts +14 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1100 -1066
- package/dist/style.css +1 -1
- package/package.json +18 -21
- package/dist/preview-stats.json +0 -2764
- /package/dist/components/Button/{helpers.d.ts → Button.helpers.d.ts} +0 -0
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 `
|
|
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
|
|
|
@@ -1,16 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
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
|
+
}
|