@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.
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { ActionCardProps } from './types';
3
+ export declare const ActionCard: React.FC<ActionCardProps>;
@@ -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
+ }
@@ -27,7 +27,7 @@ export interface SegmentedControlProps extends React.HTMLAttributes<HTMLDivEleme
27
27
  */
28
28
  initialId?: string;
29
29
  /**
30
- * Id of current selected button
30
+ * Id of current selected button, it will make component controlled
31
31
  */
32
32
  currentId?: string;
33
33
  /**
@@ -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;