@livechat/design-system-react-components 2.33.0 → 2.34.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.
@@ -1,2 +1,2 @@
1
1
  import { ITableProps } from './types';
2
- export declare const Table: <T>({ data, columns, stripped, size, pin, selectable, getRowId, resizable, selectedRows, onSelectionChange, rowSelectionMessage, rowActions, testId, }: ITableProps<T>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Table: <T>({ data, columns, stripped, size, pin, selectable, getRowId, resizable, selectedRows, onSelectionChange, rowSelectionMessage, rowActions, testId, customBackgroundColor, }: ITableProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -57,6 +57,12 @@ type BaseTableProps<T> = {
57
57
  * Sets the `data-testid` attribute, allowing the table to be easily selected in automated tests.
58
58
  */
59
59
  testId?: string;
60
+ /**
61
+ * Custom background color for table elements in their default state.
62
+ * When provided, all table elements will use this color as their background-color.
63
+ * Other states (hover, selected, etc.) will remain unchanged.
64
+ */
65
+ customBackgroundColor?: string;
60
66
  };
61
67
  type NonSelectableTableProps<T> = BaseTableProps<T> & {
62
68
  selectable?: false;
@@ -8,6 +8,10 @@ export interface IUserGuideStepProps {
8
8
  * The text of the step
9
9
  */
10
10
  text: string;
11
+ /**
12
+ * The custom button cta of the step
13
+ */
14
+ customCta?: string;
11
15
  /**
12
16
  * Set to enable typing animation for the text
13
17
  */