@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
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
> @xcelsior/ui-chat@1.0.7 build /Users/tuannguyen/Work/xcelsior-packages/packages/ui/ui-chat
|
|
3
|
+
> tsup src/index.tsx --format esm,cjs --dts --external react
|
|
4
|
+
|
|
5
|
+
[34mCLI[39m Building entry: src/index.tsx
|
|
6
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
+
[34mCLI[39m tsup v8.5.1
|
|
8
|
+
[34mCLI[39m Using tsup config: /Users/tuannguyen/Work/xcelsior-packages/packages/ui/ui-chat/tsup.config.ts
|
|
9
|
+
[34mCLI[39m Target: es2020
|
|
10
|
+
[34mCLI[39m Cleaning output folder
|
|
11
|
+
[34mESM[39m Build start
|
|
12
|
+
[34mCJS[39m Build start
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m59.89 KB[39m
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m114.96 KB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 27ms
|
|
16
|
+
[32mCJS[39m [1mdist/index.js [22m[32m66.59 KB[39m
|
|
17
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m115.65 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 27ms
|
|
19
|
+
DTS Build start
|
|
20
|
+
DTS ⚡️ Build success in 1550ms
|
|
21
|
+
DTS dist/index.d.mts 10.60 KB
|
|
22
|
+
DTS dist/index.d.ts 10.60 KB
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @xcelsior/ui-chat@1.0.
|
|
2
|
+
> @xcelsior/ui-chat@1.0.7 lint /Users/tuannguyen/Work/xcelsior-packages/packages/ui/ui-chat
|
|
3
3
|
> biome check .
|
|
4
4
|
|
|
5
|
-
[0m[34mChecked [0m[0m[
|
|
5
|
+
[0m[34mChecked [0m[0m[34m25[0m[0m[34m [0m[0m[34mfiles[0m[0m[34m in [0m[0m[34m61[0m[0m[2m[34mms[0m[0m[34m.[0m[0m[34m No fixes applied.[0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- improve styling
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- Updated dependencies [f3ec4eb]
|
|
10
|
+
- @xcelsior/ui-fields@1.0.4
|
|
11
|
+
- @xcelsior/design-system@1.0.7
|
|
12
|
+
|
|
13
|
+
## 1.0.7
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- updated version
|
|
18
|
+
- 97bcd49: initial version
|
|
19
|
+
|
|
3
20
|
## 1.0.6
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
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
|
{
|