@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banbox/chat",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Banbox Chat UI components — reusable across all Banbox React/Next.js projects",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -223,33 +223,13 @@ const SinglePopup: React.FC<SinglePopupProps> = ({ adapter, uiCallbacks, theme,
223
223
  )
224
224
  }
225
225
  right={
226
- <div className="flex items-center gap-1">
227
- {uiCallbacks?.renderKebabMenu
228
- ? uiCallbacks.renderKebabMenu({
229
- pinned: Boolean(activeThread?.pinned),
230
- onPinToggle: () => {
231
- if (activeId) adapter.threads.pin(activeId, !activeThread?.pinned);
232
- },
233
- onDelete: () => setShowDelete(true),
234
- })
235
- : (
236
- <ChatKebabMenu
237
- pinned={Boolean(activeThread?.pinned)}
238
- onPinToggle={() => {
239
- if (activeId) adapter.threads.pin(activeId, !activeThread?.pinned);
240
- }}
241
- onDelete={() => setShowDelete(true)}
242
- />
243
- )
244
- }
245
- <button
246
- type="button"
247
- onClick={close}
248
- 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"
249
- >
250
- <ChatXIcon className="h-6 w-6" />
251
- </button>
252
- </div>
226
+ <button
227
+ type="button"
228
+ onClick={close}
229
+ 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"
230
+ >
231
+ <ChatXIcon className="h-6 w-6" />
232
+ </button>
253
233
  }
254
234
  />
255
235
  </div>