bstp-agent-widget 0.2.8 → 0.2.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.
- package/dist/agent-widget.js +19 -10
- package/dist/agent-widget.js.map +1 -1
- package/package.json +1 -1
package/dist/agent-widget.js
CHANGED
|
@@ -23759,7 +23759,7 @@ function XO({ opened: e, onClose: t, messages: n, composerText: r, onComposerTex
|
|
|
23759
23759
|
right: 0,
|
|
23760
23760
|
bottom: 0,
|
|
23761
23761
|
width: e ? `${Math.max(280, 420 + g.offset)}px` : 0,
|
|
23762
|
-
zIndex:
|
|
23762
|
+
zIndex: 4e3,
|
|
23763
23763
|
pointerEvents: e ? "auto" : "none",
|
|
23764
23764
|
...h.style
|
|
23765
23765
|
},
|
|
@@ -23996,7 +23996,7 @@ function ek({ onClick: e }) {
|
|
|
23996
23996
|
bottom: 16,
|
|
23997
23997
|
right: 16
|
|
23998
23998
|
},
|
|
23999
|
-
zIndex:
|
|
23999
|
+
zIndex: 4e3,
|
|
24000
24000
|
children: /* @__PURE__ */ T("div", {
|
|
24001
24001
|
onPointerDown: (e) => {
|
|
24002
24002
|
n.current = !1, t.handlePointerDown(e);
|
|
@@ -24005,14 +24005,23 @@ function ek({ onClick: e }) {
|
|
|
24005
24005
|
n.current = !0;
|
|
24006
24006
|
},
|
|
24007
24007
|
style: t.style,
|
|
24008
|
-
children: /* @__PURE__ */ T(
|
|
24009
|
-
|
|
24010
|
-
|
|
24011
|
-
|
|
24012
|
-
|
|
24013
|
-
|
|
24014
|
-
|
|
24015
|
-
|
|
24008
|
+
children: /* @__PURE__ */ T(vv, {
|
|
24009
|
+
label: "Open agent widget",
|
|
24010
|
+
position: "left",
|
|
24011
|
+
children: /* @__PURE__ */ T(yl, {
|
|
24012
|
+
onClick: () => {
|
|
24013
|
+
n.current || e();
|
|
24014
|
+
},
|
|
24015
|
+
size: 56,
|
|
24016
|
+
radius: "xl",
|
|
24017
|
+
variant: "filled",
|
|
24018
|
+
"aria-label": "Open agent widget",
|
|
24019
|
+
style: { boxShadow: "0 8px 20px rgba(0,0,0,0.24)" },
|
|
24020
|
+
children: /* @__PURE__ */ T(YO, {
|
|
24021
|
+
width: "22",
|
|
24022
|
+
height: "22"
|
|
24023
|
+
})
|
|
24024
|
+
})
|
|
24016
24025
|
})
|
|
24017
24026
|
})
|
|
24018
24027
|
});
|