@xpert-ai/chatkit-types 0.4.1 → 0.4.2
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/index.d.ts +17 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -305,6 +305,19 @@ export declare type ChatKitImageReference = ChatKitReferenceBase & {
|
|
|
305
305
|
height?: number;
|
|
306
306
|
};
|
|
307
307
|
|
|
308
|
+
export declare type ChatKitLayoutOptions = {
|
|
309
|
+
/**
|
|
310
|
+
* Maximum width of the internal chat column on wide screens. The ChatKit root
|
|
311
|
+
* still fills its host container; message content and composer remain centered
|
|
312
|
+
* within this width.
|
|
313
|
+
*
|
|
314
|
+
* Accepts any CSS max-width value, or a number interpreted by React as pixels.
|
|
315
|
+
*
|
|
316
|
+
* @example "960px"
|
|
317
|
+
*/
|
|
318
|
+
maxWidth?: number | string;
|
|
319
|
+
};
|
|
320
|
+
|
|
308
321
|
export declare interface ChatkitMessage {
|
|
309
322
|
status?: string;
|
|
310
323
|
content: TMessageItems | string;
|
|
@@ -354,6 +367,10 @@ export declare type ChatKitOptions = {
|
|
|
354
367
|
* * @default "light"
|
|
355
368
|
*/
|
|
356
369
|
theme?: ColorScheme | ChatKitTheme;
|
|
370
|
+
/**
|
|
371
|
+
* Layout configuration for the ChatKit UI.
|
|
372
|
+
*/
|
|
373
|
+
layout?: ChatKitLayoutOptions;
|
|
357
374
|
/**
|
|
358
375
|
* Optional animated pet companion rendered by the ChatKit web component over
|
|
359
376
|
* the host page viewport.
|