@intelliweave/embedded 2.1.76 → 2.1.78
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 +92 -78
- package/dist/intelliweave-wordpress.zip +0 -0
- package/dist/node/node.d.ts +5 -0
- package/dist/node/node.js +6 -6
- package/dist/react/react.d.ts +2 -0
- package/dist/react/react.js +54 -40
- package/dist/script-tag/script-tag.js +92 -78
- package/dist/webpack/index.d.ts +5 -0
- package/dist/webpack/index.js +58 -44
- package/package.json +1 -1
package/dist/webpack/index.d.ts
CHANGED
|
@@ -873,6 +873,8 @@ interface WebWeaverGPTConfig {
|
|
|
873
873
|
background?: string;
|
|
874
874
|
/** Text color for the chat UI */
|
|
875
875
|
textColor?: string;
|
|
876
|
+
/** Font family for the chat UI. Supports any valid CSS font-family value (e.g. "Inter, sans-serif"). */
|
|
877
|
+
fontFamily?: string;
|
|
876
878
|
/** Display mode: 'closed' (default - starts minimized) or 'open' (always open) */
|
|
877
879
|
displayMode?: 'closed' | 'open';
|
|
878
880
|
/** Layout preset: 'widget' (default) or 'fullscreen' */
|
|
@@ -1873,6 +1875,7 @@ declare class WebWeaverEmbed extends BaseComponent {
|
|
|
1873
1875
|
private _lastLogo?;
|
|
1874
1876
|
private _lastBackground?;
|
|
1875
1877
|
private _lastTextColor?;
|
|
1878
|
+
private _lastFontFamily?;
|
|
1876
1879
|
private _lastDisplayMode?;
|
|
1877
1880
|
private _lastLayout?;
|
|
1878
1881
|
private _lastPersonaName?;
|
|
@@ -1886,6 +1889,8 @@ declare class WebWeaverEmbed extends BaseComponent {
|
|
|
1886
1889
|
private applyPersonaColorVariants;
|
|
1887
1890
|
/** Parse a color string to RGB (supports hex and rgb/rgba) */
|
|
1888
1891
|
private parseColorToRGB;
|
|
1892
|
+
/** Adjust inner container spacing based on logo aspect ratio */
|
|
1893
|
+
private adjustLogoPadding;
|
|
1889
1894
|
/** Apply UI styles from config and attributes, prioritizing attributes */
|
|
1890
1895
|
private applyConfigStylesAndAttributes;
|
|
1891
1896
|
/** Called on update */
|