@coffer-org/plugin-webchat 2.2.2 → 2.2.3
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.
|
@@ -29645,7 +29645,7 @@ function ChatWidget() {
|
|
|
29645
29645
|
});
|
|
29646
29646
|
if (mode === "bubble") return /* @__PURE__ */ jsx("button", {
|
|
29647
29647
|
"aria-label": t("webchat.open"),
|
|
29648
|
-
onClick: () => setMode("panel"),
|
|
29648
|
+
onClick: () => setMode(wide ? "panel" : "modal"),
|
|
29649
29649
|
className: "fixed bottom-20 right-4 z-40 grid h-14 w-14 place-items-center rounded-full bg-accent text-white shadow-lg nav:bottom-4",
|
|
29650
29650
|
children: /* @__PURE__ */ jsx(MessageCircle, { size: 24 })
|
|
29651
29651
|
});
|
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-
|
|
14
|
+
load: () => import("./ChatWidget-1G0ZxQH2.js")
|
|
15
15
|
}] });
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ui_default as default };
|