@staylift-tech/conv-widget 0.0.12 → 0.0.16

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 o}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,o={};return""!==e&&(o.resourcesUrl=new URL(".",e).href),t(o)})().then((async t=>(await o(),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-39df3b2a",[[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],offerIndexes:[32],pinnedOffers:[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 o}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,o={};return""!==e&&(o.resourcesUrl=new URL(".",e).href),t(o)})().then((async t=>(await o(),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-def24482",[[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],offerIndexes:[32],startConversation:[64],endConversation:[64],getStatus:[64],sendMessage:[64]}]]]],t))));
@@ -45,9 +45,6 @@ export declare class StayliftWidget {
45
45
  copiedIndex: number | null;
46
46
  selectedMode: ConversationMode;
47
47
  offerIndexes: Record<number, number>;
48
- pinnedOffers: OfferCard[] | null;
49
- private pinnedOfferIndex;
50
- private pinnedMessagesRemaining;
51
48
  conversationStarted: EventEmitter<void>;
52
49
  conversationEnded: EventEmitter<void>;
53
50
  widgetError: EventEmitter<{
@@ -60,7 +60,7 @@ export namespace Components {
60
60
  */
61
61
  "mode": WidgetMode;
62
62
  /**
63
- * @default false
63
+ * @default true
64
64
  */
65
65
  "onlyText": boolean;
66
66
  /**
@@ -182,7 +182,7 @@ declare namespace LocalJSX {
182
182
  "onStatusChanged"?: (event: StayliftWidgetCustomEvent<WidgetStatus>) => void;
183
183
  "onWidgetError"?: (event: StayliftWidgetCustomEvent<{ message: string; code?: string }>) => void;
184
184
  /**
185
- * @default false
185
+ * @default true
186
186
  */
187
187
  "onlyText"?: boolean;
188
188
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staylift-tech/conv-widget",
3
- "version": "0.0.12",
3
+ "version": "0.0.16",
4
4
  "description": "Staylift Conversational Widget - Embeddable agents for hotels",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",