@tangle-network/ui 11.32.1 → 11.32.2
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 +6 -0
- package/dist/index.js +1 -1
- package/dist/run/run-group.js +3 -2
- package/package.json +2 -2
- package/src/run/run-group.tsx +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @tangle-network/ui
|
|
2
2
|
|
|
3
|
+
## 11.32.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 07e7a78: tangle-drift ignores CSS comments when counting header_height_literal and transcript_type_override, and no longer counts a step-progress bar (`.steps-bar`) as a header row. UI's RunGroup sets its Markdown with the shared TRANSCRIPT_TEXT instead of a fixed 15px / leading-7, so a run reads at the transcript scale.
|
|
8
|
+
|
|
3
9
|
## 11.32.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -77,8 +77,8 @@ import { InlineThinkingItem } from "./run/inline-thinking-item.js";
|
|
|
77
77
|
import { OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES } from "./openui/schema-data.js";
|
|
78
78
|
import { findUnsupportedOpenUINode, validateOpenUIJsonArtifact, validateOpenUIJsonNode } from "./openui-schema.js";
|
|
79
79
|
import { OpenUIArtifactRenderer } from "./openui/openui-artifact-renderer.js";
|
|
80
|
-
import { RunGroup } from "./run/run-group.js";
|
|
81
80
|
import { TRANSCRIPT_TEXT } from "./chat/transcript-text.js";
|
|
81
|
+
import { RunGroup } from "./run/run-group.js";
|
|
82
82
|
import { MessageAuthor, isViewerMessage } from "./chat/message-author.js";
|
|
83
83
|
import { UserMessage } from "./chat/user-message.js";
|
|
84
84
|
import { MessageList } from "./chat/message-list.js";
|
package/dist/run/run-group.js
CHANGED
|
@@ -5,6 +5,7 @@ import { Markdown } from "../markdown/markdown.js";
|
|
|
5
5
|
import { InlineThinkingItem } from "./inline-thinking-item.js";
|
|
6
6
|
import { SyntheticText } from "../chat/synthetic-text.js";
|
|
7
7
|
import { OpenUIArtifactRenderer } from "../openui/openui-artifact-renderer.js";
|
|
8
|
+
import { TRANSCRIPT_TEXT } from "../chat/transcript-text.js";
|
|
8
9
|
import { memo, useMemo } from "react";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
11
|
import { Bot, ChevronDown, ChevronRight, ClipboardList, FileEdit, FileSearch, Globe, Loader2, PencilLine, Search, Settings, Sparkles, Terminal } from "lucide-react";
|
|
@@ -254,7 +255,7 @@ const RunGroup = memo(({ run, partMap, collapsed, onToggle, branding = DEFAULT_B
|
|
|
254
255
|
if (part.type === "text" && !part.synthetic && part.text.trim()) return /* @__PURE__ */ jsx("div", {
|
|
255
256
|
className: "px-0.5",
|
|
256
257
|
children: /* @__PURE__ */ jsx(Markdown, {
|
|
257
|
-
className:
|
|
258
|
+
className: `tangle-prose ${TRANSCRIPT_TEXT} text-[var(--text-primary)]`,
|
|
258
259
|
children: part.text
|
|
259
260
|
})
|
|
260
261
|
}, key);
|
|
@@ -364,7 +365,7 @@ const RunGroup = memo(({ run, partMap, collapsed, onToggle, branding = DEFAULT_B
|
|
|
364
365
|
else if (part.type === "text" && part.text.trim()) node = part.synthetic ? /* @__PURE__ */ jsx(SyntheticText, { text: part.text }) : /* @__PURE__ */ jsx("div", {
|
|
365
366
|
className: "px-1 py-0.5",
|
|
366
367
|
children: /* @__PURE__ */ jsx(Markdown, {
|
|
367
|
-
className:
|
|
368
|
+
className: `tangle-prose ${TRANSCRIPT_TEXT}`,
|
|
368
369
|
children: part.text
|
|
369
370
|
})
|
|
370
371
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/ui",
|
|
3
|
-
"version": "11.32.
|
|
3
|
+
"version": "11.32.2",
|
|
4
4
|
"description": "Generic React UI components for Tangle products — primitives, chat, run, files, editor, markdown.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"peerDependencies": {
|
|
151
151
|
"@hocuspocus/provider": ">=2.15.0 <5.0.0",
|
|
152
152
|
"@nanostores/react": ">=0.8.4 <3.0.0",
|
|
153
|
-
"@tangle-network/brand": "^1.22.
|
|
153
|
+
"@tangle-network/brand": "^1.22.1",
|
|
154
154
|
"@tiptap/core": ">=3.20.4 <4.0.0",
|
|
155
155
|
"@tiptap/extension-collaboration": ">=3.20.4 <4.0.0",
|
|
156
156
|
"@tiptap/extension-collaboration-caret": ">=3.7.0 <4.0.0",
|
package/src/run/run-group.tsx
CHANGED
|
@@ -64,6 +64,7 @@ import {
|
|
|
64
64
|
type OpenUIAction,
|
|
65
65
|
type OpenUIComponentNode,
|
|
66
66
|
} from "../openui/openui-artifact-renderer";
|
|
67
|
+
import { TRANSCRIPT_TEXT } from "../chat/transcript-text";
|
|
67
68
|
|
|
68
69
|
// ---------------------------------------------------------------------------
|
|
69
70
|
// Default branding
|
|
@@ -427,7 +428,7 @@ export const RunGroup = memo(
|
|
|
427
428
|
if (part.type === "text" && !part.synthetic && part.text.trim()) {
|
|
428
429
|
return (
|
|
429
430
|
<div key={key} className="px-0.5">
|
|
430
|
-
<Markdown className=
|
|
431
|
+
<Markdown className={`tangle-prose ${TRANSCRIPT_TEXT} text-[var(--text-primary)]`}>
|
|
431
432
|
{part.text}
|
|
432
433
|
</Markdown>
|
|
433
434
|
</div>
|
|
@@ -570,7 +571,7 @@ export const RunGroup = memo(
|
|
|
570
571
|
<SyntheticText text={part.text} />
|
|
571
572
|
) : (
|
|
572
573
|
<div className="px-1 py-0.5">
|
|
573
|
-
<Markdown className=
|
|
574
|
+
<Markdown className={`tangle-prose ${TRANSCRIPT_TEXT}`}>{part.text}</Markdown>
|
|
574
575
|
</div>
|
|
575
576
|
);
|
|
576
577
|
}
|