@xcelsior/ui-chat 1.0.6 → 1.0.8
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/.turbo/turbo-build.log +22 -0
- package/.turbo/turbo-lint.log +2 -2
- package/CHANGELOG.md +17 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -5
- package/src/components/MessageItem.tsx +27 -29
package/dist/index.mjs
CHANGED
|
@@ -571,7 +571,7 @@ function MessageItem({
|
|
|
571
571
|
{
|
|
572
572
|
className: `rounded-2xl px-4 py-2 ${isOwnMessage ? "bg-blue-600 text-white" : "bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-gray-100"}`,
|
|
573
573
|
children: [
|
|
574
|
-
message.messageType === "text" && /* @__PURE__ */ jsx2(
|
|
574
|
+
message.messageType === "text" && /* @__PURE__ */ jsx2(
|
|
575
575
|
ReactMarkdown,
|
|
576
576
|
{
|
|
577
577
|
components: {
|
|
@@ -600,7 +600,7 @@ function MessageItem({
|
|
|
600
600
|
},
|
|
601
601
|
children: message.content
|
|
602
602
|
}
|
|
603
|
-
)
|
|
603
|
+
),
|
|
604
604
|
message.messageType === "image" && /* @__PURE__ */ jsx2("div", { children: /* @__PURE__ */ jsx2(
|
|
605
605
|
"img",
|
|
606
606
|
{
|