@staylift-tech/conv-widget 0.0.7 → 0.0.9

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 +1 @@
1
- import{p as t,b as e}from"./p-DAtfDq5B.js";export{s as setNonce}from"./p-DAtfDq5B.js";import{g as a}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),t(a)})().then((async t=>(await a(),e([["p-37510f2e",[[1,"staylift-orb",{inputVolume:[2,"input-volume"],outputVolume:[2,"output-volume"],isActive:[4,"is-active"],primaryColor:[1,"primary-color"],size:[8],animationFrame:[32]}]]],["p-2656bb5a",[[1,"staylift-widget",{agentId:[1,"agent-id"],textAgentId:[1,"text-agent-id"],voiceAgentId:[1,"voice-agent-id"],positionX:[1,"position-x"],positionY:[1,"position-y"],variant:[1],mode:[1],primaryColor:[1,"primary-color"],brandName:[1,"brand-name"],language:[1],autoExpand:[4,"auto-expand"],showBranding:[4,"show-branding"],avatarUrl:[1,"avatar-url"],fabPrompt:[1,"fab-prompt"],fabButtonText:[1,"fab-button-text"],status:[32],isExpanded:[32],termsAccepted:[32],errorMessage:[32],inputVolume:[32],outputVolume:[32],messages:[32],inputText:[32],copiedIndex:[32],selectedMode:[32],startConversation:[64],endConversation:[64],getStatus:[64],sendMessage:[64]}]]]],t))));
1
+ import{p as t,b as e}from"./p-DAtfDq5B.js";export{s as setNonce}from"./p-DAtfDq5B.js";import{g as a}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),t(a)})().then((async t=>(await a(),e([["p-37510f2e",[[1,"staylift-orb",{inputVolume:[2,"input-volume"],outputVolume:[2,"output-volume"],isActive:[4,"is-active"],primaryColor:[1,"primary-color"],size:[8],animationFrame:[32]}]]],["p-9f1eab0f",[[1,"staylift-widget",{agentId:[1,"agent-id"],textAgentId:[1,"text-agent-id"],voiceAgentId:[1,"voice-agent-id"],positionX:[1,"position-x"],positionY:[1,"position-y"],variant:[1],mode:[1],primaryColor:[1,"primary-color"],brandName:[1,"brand-name"],language:[1],autoExpand:[4,"auto-expand"],showBranding:[4,"show-branding"],onlyText:[4,"only-text"],avatarUrl:[1,"avatar-url"],fabPrompt:[1,"fab-prompt"],fabButtonText:[1,"fab-button-text"],status:[32],isExpanded:[32],termsAccepted:[32],errorMessage:[32],inputVolume:[32],outputVolume:[32],messages:[32],inputText:[32],copiedIndex:[32],selectedMode:[32],startConversation:[64],endConversation:[64],getStatus:[64],sendMessage:[64]}]]]],t))));
@@ -23,6 +23,7 @@ export declare class StayliftWidget {
23
23
  language: string;
24
24
  autoExpand: boolean;
25
25
  showBranding: boolean;
26
+ onlyText: boolean;
26
27
  avatarUrl?: string;
27
28
  fabPrompt: string;
28
29
  fabButtonText: string;
@@ -59,6 +59,10 @@ export namespace Components {
59
59
  * @default 'dark'
60
60
  */
61
61
  "mode": WidgetMode;
62
+ /**
63
+ * @default false
64
+ */
65
+ "onlyText": boolean;
62
66
  /**
63
67
  * @default 'right'
64
68
  */
@@ -177,6 +181,10 @@ declare namespace LocalJSX {
177
181
  "onMessageReceived"?: (event: StayliftWidgetCustomEvent<ChatMessage>) => void;
178
182
  "onStatusChanged"?: (event: StayliftWidgetCustomEvent<WidgetStatus>) => void;
179
183
  "onWidgetError"?: (event: StayliftWidgetCustomEvent<{ message: string; code?: string }>) => void;
184
+ /**
185
+ * @default false
186
+ */
187
+ "onlyText"?: boolean;
180
188
  /**
181
189
  * @default 'right'
182
190
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staylift-tech/conv-widget",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "Staylift Conversational Widget - Embeddable agents for hotels",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",