@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.cjs +9 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -27
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/chat/SinglePopup.tsx +7 -27
package/dist/index.cjs
CHANGED
|
@@ -4238,33 +4238,15 @@ var SinglePopup = ({ adapter, uiCallbacks, theme, footerActions }) => {
|
|
|
4238
4238
|
subtitleVariant: "muted"
|
|
4239
4239
|
}
|
|
4240
4240
|
),
|
|
4241
|
-
right: /* @__PURE__ */ jsxRuntime.
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
}
|
|
4249
|
-
|
|
4250
|
-
{
|
|
4251
|
-
pinned: Boolean(activeThread?.pinned),
|
|
4252
|
-
onPinToggle: () => {
|
|
4253
|
-
if (activeId) adapter.threads.pin(activeId, !activeThread?.pinned);
|
|
4254
|
-
},
|
|
4255
|
-
onDelete: () => setShowDelete(true)
|
|
4256
|
-
}
|
|
4257
|
-
),
|
|
4258
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4259
|
-
"button",
|
|
4260
|
-
{
|
|
4261
|
-
type: "button",
|
|
4262
|
-
onClick: close,
|
|
4263
|
-
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",
|
|
4264
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(ChatXIcon, { className: "h-6 w-6" })
|
|
4265
|
-
}
|
|
4266
|
-
)
|
|
4267
|
-
] })
|
|
4241
|
+
right: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4242
|
+
"button",
|
|
4243
|
+
{
|
|
4244
|
+
type: "button",
|
|
4245
|
+
onClick: close,
|
|
4246
|
+
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",
|
|
4247
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(ChatXIcon, { className: "h-6 w-6" })
|
|
4248
|
+
}
|
|
4249
|
+
)
|
|
4268
4250
|
}
|
|
4269
4251
|
) }),
|
|
4270
4252
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-h-0", children: /* @__PURE__ */ jsxRuntime.jsxs(
|