iris-chatbot 5.1.0 → 5.2.0
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
package/template/next-env.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="next" />
|
|
2
2
|
/// <reference types="next/image-types/global" />
|
|
3
|
-
import "./.next/
|
|
3
|
+
import "./.next/types/routes.d.ts";
|
|
4
4
|
|
|
5
5
|
// NOTE: This file should not be edited
|
|
6
6
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iris",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "iris",
|
|
9
|
-
"version": "5.
|
|
9
|
+
"version": "5.2.0",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.72.1",
|
|
12
12
|
"clsx": "^2.1.1",
|
package/template/package.json
CHANGED
|
@@ -172,13 +172,12 @@ button:focus-visible {
|
|
|
172
172
|
top: 2px;
|
|
173
173
|
right: 0;
|
|
174
174
|
opacity: 0;
|
|
175
|
-
pointer-events:
|
|
175
|
+
pointer-events: auto;
|
|
176
176
|
transition: opacity 0.2s ease;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.assistant-
|
|
179
|
+
.assistant-collapse-row:hover {
|
|
180
180
|
opacity: 1;
|
|
181
|
-
pointer-events: auto;
|
|
182
181
|
}
|
|
183
182
|
|
|
184
183
|
.assistant-collapse-toggle {
|
|
@@ -465,6 +464,9 @@ button:focus-visible {
|
|
|
465
464
|
text-align: left;
|
|
466
465
|
border-right: 1px solid var(--border-strong);
|
|
467
466
|
border-bottom: 1px solid var(--border-strong);
|
|
467
|
+
/* Keep words intact: wrap at spaces; only break long words when necessary */
|
|
468
|
+
overflow-wrap: break-word;
|
|
469
|
+
word-break: normal;
|
|
468
470
|
}
|
|
469
471
|
|
|
470
472
|
.message-content tr> :last-child {
|
|
@@ -502,8 +504,8 @@ button:focus-visible {
|
|
|
502
504
|
}
|
|
503
505
|
|
|
504
506
|
.message-content strong {
|
|
505
|
-
font-weight:
|
|
506
|
-
color:
|
|
507
|
+
font-weight: 600;
|
|
508
|
+
color: inherit;
|
|
507
509
|
}
|
|
508
510
|
|
|
509
511
|
.message-content em {
|
|
@@ -1048,7 +1048,7 @@ function MessageCard({
|
|
|
1048
1048
|
) : null}
|
|
1049
1049
|
</div>
|
|
1050
1050
|
<div
|
|
1051
|
-
className={`message-actions ${isAssistant ? "assistant opacity-0
|
|
1051
|
+
className={`message-actions ${isAssistant ? "assistant opacity-0 transition-opacity duration-150 hover:opacity-100" : "user"}`}
|
|
1052
1052
|
>
|
|
1053
1053
|
{isAssistant ? (
|
|
1054
1054
|
<button
|