@webority/chat-core 0.166.3 → 0.167.0

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/look.js CHANGED
@@ -1 +1 @@
1
- var e=5,t={launcher:{style:`Round`,entrance:`Rise`,idle:`None`,labelReveal:`Bubble`,compact:!1,mark:`Icon`},panel:{motion:`Spring`,widthPx:420,maxHeightPx:650,bottomGapPx:24,height:`Fixed`,placement:`Floating`,replyAvatars:`First`,greetingLoaderMs:0},phone:{maxWidthPx:768,mode:`FullScreen`,sheetHeightDvh:85,sheetMaxHeightPx:640,hideLauncher:!1,launcherLabel:!1,entrance:`Fade`,offsetXPx:null,offsetYPx:null},input:{ring:!0,sendReveal:`OnText`,sendIcon:`arrow-up`,mark:`None`,edge:`None`,placeholder:`Plain`,busyEdge:`Off`,markInsetPx:null,sendInsetPx:null,rowHeightPx:null,markAlign:`Centre`},starters:{style:`Chips`,recentRows:0,heading:!1,gapPx:null},footer:{layout:`Stacked`,disclaimer:`Show`},avoid:{liftGapPx:20,liftSelectors:[`footer`,`.form-actions-sticky`,`.wui-tabbar`],menuSelectors:[`.offcanvas.show`,`wui-drawer[open]`,`[data-menu-open]`],darkSelectors:[`[data-theme='dark']`,`[data-bs-theme='dark']`],autoOpenOptOutSelector:`[data-chat-no-autoopen]`,autoOpenBusySelectors:[`[data-chat-busy]`]},motion:`On`,avatar:null,avatarMotion:`Still`,expressive:!1};function n(e){let n=e??{};return{launcher:{...t.launcher,...n.launcher},panel:{...t.panel,...n.panel},phone:{...t.phone,...n.phone},input:{...t.input,...n.input},starters:{...t.starters,...n.starters},footer:{...t.footer,...n.footer},avoid:{...t.avoid,...n.avoid},motion:n.motion??t.motion,avatar:n.avatar??t.avatar,avatarMotion:n.avatarMotion??t.avatarMotion,expressive:n.expressive??t.expressive}}export{e as CHAT_RECENT_ROWS_MAX,t as defaultChatLook,n as mergeLook};
1
+ var e=5,t={launcher:{style:`Round`,entrance:`Rise`,idle:`None`,labelReveal:`Bubble`,compact:!1,mark:`Icon`},panel:{motion:`Spring`,widthPx:420,maxHeightPx:650,bottomGapPx:24,height:`Fixed`,placement:`Floating`,replyAvatars:`First`,greetingLoaderMs:0},phone:{maxWidthPx:768,mode:`FullScreen`,sheetHeightDvh:85,sheetMaxHeightPx:640,hideLauncher:!1,launcherLabel:!1,entrance:`Fade`,offsetXPx:null,offsetYPx:null},input:{ring:!0,sendReveal:`OnText`,sendIcon:`arrow-up`,mark:`None`,edge:`None`,placeholder:`Plain`,busyEdge:`Off`,markInsetPx:null,sendInsetPx:null,rowHeightPx:null,markAlign:`Centre`},starters:{style:`Chips`,recentRows:0,heading:!1,gapPx:null},footer:{layout:`Stacked`,disclaimer:`Show`},avoid:{liftAboveBanner:!0,liftGapPx:20,liftSelectors:[`footer`,`.form-actions-sticky`,`.wui-tabbar`],menuSelectors:[`.offcanvas.show`,`wui-drawer[open]`,`[data-menu-open]`],darkSelectors:[`[data-theme='dark']`,`[data-bs-theme='dark']`],autoOpenOptOutSelector:`[data-chat-no-autoopen]`,autoOpenBusySelectors:[`[data-chat-busy]`]},motion:`On`,avatar:null,avatarMotion:`Still`,expressive:!1};function n(e){let n=e??{};return{launcher:{...t.launcher,...n.launcher},panel:{...t.panel,...n.panel},phone:{...t.phone,...n.phone},input:{...t.input,...n.input},starters:{...t.starters,...n.starters},footer:{...t.footer,...n.footer},avoid:{...t.avoid,...n.avoid},motion:n.motion??t.motion,avatar:n.avatar??t.avatar,avatarMotion:n.avatarMotion??t.avatarMotion,expressive:n.expressive??t.expressive}}export{e as CHAT_RECENT_ROWS_MAX,t as defaultChatLook,n as mergeLook};
@@ -105,6 +105,8 @@ export interface ChatLook {
105
105
  disclaimer: ChatFooterDisclaimer;
106
106
  };
107
107
  avoid: {
108
+ /** Whether the launcher lifts over an open banner; the profile's own setting also has to allow it. */
109
+ liftAboveBanner: boolean;
108
110
  /** The space in pixels the launcher keeps above a banner or footer it lifts over. */
109
111
  liftGapPx: number;
110
112
  liftSelectors: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/chat-core",
3
- "version": "0.166.3",
3
+ "version": "0.167.0",
4
4
  "description": "The headless Webority Chat engine: the client over the chat routes, the session state machine over message parts, the stream reader, profile resolution with screen narrowing, the default English labels and a fixture client for sandboxes and tests. No DOM and no UI.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "type": "module",