@intelliweave/embedded 2.1.75 → 2.1.77
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/component/component.d.ts +5 -0
- package/dist/component/component.js +158 -92
- package/dist/intelliweave-wordpress.zip +0 -0
- package/dist/node/node.d.ts +5 -0
- package/dist/node/node.js +1 -1
- package/dist/react/react.d.ts +2 -0
- package/dist/react/react.js +84 -33
- package/dist/script-tag/script-tag.js +158 -92
- package/dist/webpack/index.d.ts +5 -0
- package/dist/webpack/index.js +92 -41
- package/package.json +2 -1
|
@@ -1128,6 +1128,8 @@ interface WebWeaverGPTConfig {
|
|
|
1128
1128
|
background?: string;
|
|
1129
1129
|
/** Text color for the chat UI */
|
|
1130
1130
|
textColor?: string;
|
|
1131
|
+
/** Font family for the chat UI. Supports any valid CSS font-family value (e.g. "Inter, sans-serif"). */
|
|
1132
|
+
fontFamily?: string;
|
|
1131
1133
|
/** Display mode: 'closed' (default - starts minimized) or 'open' (always open) */
|
|
1132
1134
|
displayMode?: 'closed' | 'open';
|
|
1133
1135
|
/** Layout preset: 'widget' (default) or 'fullscreen' */
|
|
@@ -1373,6 +1375,7 @@ declare class WebWeaverEmbed extends BaseComponent {
|
|
|
1373
1375
|
private _lastLogo?;
|
|
1374
1376
|
private _lastBackground?;
|
|
1375
1377
|
private _lastTextColor?;
|
|
1378
|
+
private _lastFontFamily?;
|
|
1376
1379
|
private _lastDisplayMode?;
|
|
1377
1380
|
private _lastLayout?;
|
|
1378
1381
|
private _lastPersonaName?;
|
|
@@ -1386,6 +1389,8 @@ declare class WebWeaverEmbed extends BaseComponent {
|
|
|
1386
1389
|
private applyPersonaColorVariants;
|
|
1387
1390
|
/** Parse a color string to RGB (supports hex and rgb/rgba) */
|
|
1388
1391
|
private parseColorToRGB;
|
|
1392
|
+
/** Adjust inner container spacing based on logo aspect ratio */
|
|
1393
|
+
private adjustLogoPadding;
|
|
1389
1394
|
/** Apply UI styles from config and attributes, prioritizing attributes */
|
|
1390
1395
|
private applyConfigStylesAndAttributes;
|
|
1391
1396
|
/** Called on update */
|