@coffer-org/plugin-webchat 2.2.6 → 2.2.7

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.
@@ -29520,9 +29520,10 @@ function ChatDropSurface({ children, onFiles, className }) {
29520
29520
  }
29521
29521
  /** What to do with the widget after following a link from a response. On desktop a 380px
29522
29522
  * panel does not obstruct the page (a darkened modal does, so it collapses into it);
29523
- * below the nav breakpoint the panel consumes nearly the whole screen. */
29523
+ * on narrow screens the chat remains expanded so the user does not lose the active
29524
+ * conversation after an in-app navigation. */
29524
29525
  function nextModeAfterNav(wideNav) {
29525
- return wideNav ? "panel" : "bubble";
29526
+ return wideNav ? "panel" : "modal";
29526
29527
  }
29527
29528
  function ChatWidget() {
29528
29529
  const { t } = useTranslation();
package/dist/web.js CHANGED
@@ -11,7 +11,7 @@ import { definePluginUI } from "@coffer-org/web-sdk";
11
11
  var ui_default = definePluginUI({ slots: [{
12
12
  slot: "overlay",
13
13
  id: "webchat",
14
- load: () => import("./ChatWidget-By7bmS3U.js")
14
+ load: () => import("./ChatWidget-4U7nKidI.js")
15
15
  }] });
16
16
  //#endregion
17
17
  export { ui_default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coffer-org/plugin-webchat",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=24"