@banbox/chat 1.0.14 → 1.0.15

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/index.js CHANGED
@@ -4230,33 +4230,15 @@ var SinglePopup = ({ adapter, uiCallbacks, theme, footerActions }) => {
4230
4230
  subtitleVariant: "muted"
4231
4231
  }
4232
4232
  ),
4233
- right: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
4234
- uiCallbacks?.renderKebabMenu ? uiCallbacks.renderKebabMenu({
4235
- pinned: Boolean(activeThread?.pinned),
4236
- onPinToggle: () => {
4237
- if (activeId) adapter.threads.pin(activeId, !activeThread?.pinned);
4238
- },
4239
- onDelete: () => setShowDelete(true)
4240
- }) : /* @__PURE__ */ jsx(
4241
- ChatKebabMenu_default,
4242
- {
4243
- pinned: Boolean(activeThread?.pinned),
4244
- onPinToggle: () => {
4245
- if (activeId) adapter.threads.pin(activeId, !activeThread?.pinned);
4246
- },
4247
- onDelete: () => setShowDelete(true)
4248
- }
4249
- ),
4250
- /* @__PURE__ */ jsx(
4251
- "button",
4252
- {
4253
- type: "button",
4254
- onClick: close,
4255
- className: "flex h-[34px] w-[34px] items-center justify-center rounded-full bg-white text-black shadow-[0px_2px_4px_0px_#A5A3AE4D] hover:bg-black/5 hover:text-[var(--color-banbox-warning)] cursor-pointer border-none",
4256
- children: /* @__PURE__ */ jsx(ChatXIcon, { className: "h-6 w-6" })
4257
- }
4258
- )
4259
- ] })
4233
+ right: /* @__PURE__ */ jsx(
4234
+ "button",
4235
+ {
4236
+ type: "button",
4237
+ onClick: close,
4238
+ className: "flex h-[34px] w-[34px] items-center justify-center rounded-full bg-white text-black shadow-[0px_2px_4px_0px_#A5A3AE4D] hover:bg-black/5 hover:text-[var(--color-banbox-warning)] cursor-pointer border-none",
4239
+ children: /* @__PURE__ */ jsx(ChatXIcon, { className: "h-6 w-6" })
4240
+ }
4241
+ )
4260
4242
  }
4261
4243
  ) }),
4262
4244
  /* @__PURE__ */ jsx("div", { className: "flex-1 min-h-0", children: /* @__PURE__ */ jsxs(