bstp-agent-widget 0.2.39 → 0.2.40

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.
@@ -24001,15 +24001,15 @@ function QO(e = {}) {
24001
24001
  };
24002
24002
  }
24003
24003
  var $O = {
24004
- root: "_root_lr1a6_1",
24005
- button: "_button_lr1a6_5",
24006
- icon: "_icon_lr1a6_22",
24007
- label: "_label_lr1a6_28"
24004
+ root: "_root_1r0du_1",
24005
+ button: "_button_1r0du_5",
24006
+ icon: "_icon_1r0du_22",
24007
+ label: "_label_1r0du_28"
24008
24008
  };
24009
24009
  //#endregion
24010
24010
  //#region src/components/AgentChat/AgentChatFab.tsx
24011
24011
  function ek({ onClick: e, zIndex: t, position: n, color: r, label: i }) {
24012
- let { handlePointerDown: a, style: o } = QO({ skipSelector: "" }), { transform: s, cursor: c, touchAction: l } = o;
24012
+ let { handlePointerDown: a, style: o } = QO({ skipSelector: "" }), { transform: s, cursor: c, touchAction: l } = o, u = r ? r.includes("linear-gradient") ? r : `linear-gradient(135deg, ${r}, ${r})` : void 0;
24013
24013
  return /* @__PURE__ */ T("div", {
24014
24014
  className: $O.root,
24015
24015
  style: {
@@ -24026,10 +24026,10 @@ function ek({ onClick: e, zIndex: t, position: n, color: r, label: i }) {
24026
24026
  type: "button",
24027
24027
  onClick: e,
24028
24028
  onPointerDown: a,
24029
- style: {
24030
- background: r,
24029
+ style: u ? {
24030
+ background: u,
24031
24031
  cursor: c ?? "pointer"
24032
- },
24032
+ } : { cursor: c ?? "pointer" },
24033
24033
  className: $O.button,
24034
24034
  "aria-label": "Open agent widget",
24035
24035
  children: [/* @__PURE__ */ T("span", {