@xcelsior/ui-chat 1.0.6 → 1.0.7
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/CHANGELOG.md +7 -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 +1 -1
- package/src/components/MessageItem.tsx +0 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -620,7 +620,7 @@ function MessageItem({
|
|
|
620
620
|
{
|
|
621
621
|
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"}`,
|
|
622
622
|
children: [
|
|
623
|
-
message.messageType === "text" && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
623
|
+
message.messageType === "text" && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
624
624
|
import_react_markdown.default,
|
|
625
625
|
{
|
|
626
626
|
components: {
|
|
@@ -649,7 +649,7 @@ function MessageItem({
|
|
|
649
649
|
},
|
|
650
650
|
children: message.content
|
|
651
651
|
}
|
|
652
|
-
)
|
|
652
|
+
),
|
|
653
653
|
message.messageType === "image" && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
654
654
|
"img",
|
|
655
655
|
{
|