anyclaude-react 0.2.0 → 0.2.1
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 +1 -1
- package/styles.css +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anyclaude-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "React UI kit for anyclaude-sdk — restylable hooks + components (useAgent, Transcript, Composer, AgentChat, Terminal, FileExplorer, CodeEditor, ChatPanel, AskUser) with built-in serverless 'survivor' stream-stitching. Build chatbots, agents, research assistants, browser IDEs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
package/styles.css
CHANGED
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.ac-transcript { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 14px; }
|
|
25
|
+
/* The transcript is a flex column; children must NOT shrink. Tool pills use
|
|
26
|
+
overflow:hidden (→ flex min-height:0), so without this they collapse to a
|
|
27
|
+
sliver and the error border reads as a stray red line. They should keep their
|
|
28
|
+
natural height and let the transcript scroll. */
|
|
29
|
+
.ac-transcript > * { flex-shrink: 0; }
|
|
25
30
|
|
|
26
31
|
.ac-msg { display: flex; gap: 8px; }
|
|
27
32
|
.ac-msg-user { color: var(--ac-user); }
|
|
@@ -37,7 +42,7 @@
|
|
|
37
42
|
.ac-code-inline { font-family: var(--ac-mono); background: var(--ac-panel); border: 1px solid var(--ac-border); border-radius: 6px; padding: 1px 5px; font-size: 0.9em; }
|
|
38
43
|
.ac-code-block { font-family: var(--ac-mono); background: var(--ac-panel); border: 1px solid var(--ac-border); border-radius: var(--ac-radius); padding: 12px 14px; overflow-x: auto; margin: 10px 0; }
|
|
39
44
|
|
|
40
|
-
.ac-tool { border: 1px solid var(--ac-border); border-radius: 10px; background: var(--ac-panel); margin: 2px 0; overflow: hidden; }
|
|
45
|
+
.ac-tool { border: 1px solid var(--ac-border); border-radius: 10px; background: var(--ac-panel); margin: 2px 0; overflow: hidden; flex-shrink: 0; }
|
|
41
46
|
.ac-tool-error { border-color: #b3403a; }
|
|
42
47
|
.ac-tool-head { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; color: var(--ac-accent); padding: 8px 12px; cursor: pointer; font: inherit; text-align: left; }
|
|
43
48
|
.ac-tool-caret { color: var(--ac-muted); }
|