@ethora/chat-component 26.5.3 → 26.5.5

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.
@@ -2,14 +2,15 @@ export declare const AddNewIcon: ({ color, ...props }: {
2
2
  [x: string]: any;
3
3
  color?: string;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
5
- export declare const AttachIcon: ({ color, ...props }: any) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const AttachIcon: ({ color, bgcolor, ...props }: any) => import("react/jsx-runtime").JSX.Element;
6
6
  export declare const CloseIcon: ({ color, ...props }: any) => import("react/jsx-runtime").JSX.Element;
7
7
  export declare const DownloadIcon: ({ color, ...props }: any) => import("react/jsx-runtime").JSX.Element;
8
- export declare const RecordIcon: ({ color, ...props }: any) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const RecordIcon: ({ color, bgcolor, ...props }: any) => import("react/jsx-runtime").JSX.Element;
9
9
  export declare const RemoveIcon: (props: any) => import("react/jsx-runtime").JSX.Element;
10
- export declare const SendIcon: ({ color, ...props }: {
10
+ export declare const SendIcon: ({ color, bgcolor, ...props }: {
11
11
  [x: string]: any;
12
12
  color?: string;
13
+ bgcolor?: string;
13
14
  }) => import("react/jsx-runtime").JSX.Element;
14
15
  export declare const GoogleIcon: ({ ...props }: {
15
16
  [x: string]: any;
@@ -8,6 +8,15 @@ import { IConfig } from '../types/types';
8
8
  * `colors.icons`.
9
9
  */
10
10
  export declare const resolveIconColor: (config?: Pick<IConfig, "colors"> | null) => string;
11
+ /**
12
+ * Resolve the background colour to use behind the chat's icon "chips" (attach,
13
+ * send, microphone, file preview, etc.).
14
+ *
15
+ * Priority: explicit `config.colors.iconsBg` → `config.colors.secondary` →
16
+ * white. Lets a host theme the icon backgrounds independently from `secondary`
17
+ * via `colors.iconsBg`, while keeping the historical white default.
18
+ */
19
+ export declare const resolveIconBgColor: (config?: Pick<IConfig, "colors"> | null) => string;
11
20
  /** CSS variable read by the chat's chrome icons as their default colour. */
12
21
  export declare const ICON_COLOR_VAR = "--ethora-icon-color";
13
22
  /**