@livechat/design-system-react-components 1.23.1 → 1.24.0
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/dist/components/ActionCard/ActionCard.d.ts +3 -0
- package/dist/components/ActionCard/types.d.ts +23 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/foundations/design-token.d.ts +4 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +5 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface ActionCardProps {
|
|
3
|
+
/**
|
|
4
|
+
* The CSS class for main container
|
|
5
|
+
*/
|
|
6
|
+
className?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The CSS class for the first column container
|
|
9
|
+
*/
|
|
10
|
+
firstColumnClassName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The CSS class for the second column container
|
|
13
|
+
*/
|
|
14
|
+
secondColumnClassName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional element that will be placed in the second column
|
|
17
|
+
*/
|
|
18
|
+
secondColumn?: React.ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Optional handler called on card click
|
|
21
|
+
*/
|
|
22
|
+
onClick?: () => void;
|
|
23
|
+
}
|
|
@@ -103,6 +103,7 @@ export declare const DesignToken: {
|
|
|
103
103
|
SurfaceGradient11: string;
|
|
104
104
|
SurfaceGradient12: string;
|
|
105
105
|
SurfaceGradient13: string;
|
|
106
|
+
SurfaceGradient14: string;
|
|
106
107
|
SurfaceOtherOverlay: string;
|
|
107
108
|
SurfaceOtherAgent: string;
|
|
108
109
|
SurfaceOtherAgentHover: string;
|
|
@@ -359,5 +360,8 @@ export declare const DesignToken: {
|
|
|
359
360
|
SurfaceOtherInternalNoteDefault: string;
|
|
360
361
|
ContentBasicInternalNoteMessagePlaceholder: string;
|
|
361
362
|
ContentBasicInternalNoteMessageActive: string;
|
|
363
|
+
OnePopoverMessageBackgroundDefault: string;
|
|
364
|
+
OnePopoverBorderDefault: string;
|
|
365
|
+
OnePopoverBorderActive: string;
|
|
362
366
|
};
|
|
363
367
|
export type DesignTokenKey = keyof typeof DesignToken;
|