@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/package.json
CHANGED
package/src/chat/SinglePopup.tsx
CHANGED
|
@@ -223,33 +223,13 @@ const SinglePopup: React.FC<SinglePopupProps> = ({ adapter, uiCallbacks, theme,
|
|
|
223
223
|
)
|
|
224
224
|
}
|
|
225
225
|
right={
|
|
226
|
-
<
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
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>
|