@tangle-network/sandbox-ui 0.103.0 → 0.104.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/README.md +1 -1
- package/dist/chat.d.ts +8 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ React component library for [Tangle Sandbox](https://sandbox.tangle.tools) — a
|
|
|
16
16
|
npm install @tangle-network/sandbox-ui
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
**Required peers:** `react` and `react-dom` 18 or 19, `@tangle-network/agent-interface
|
|
19
|
+
**Required peers:** `react` and `react-dom` 18 or 19, `@tangle-network/agent-interface ^1.0.0`, `@tangle-network/brand ^1.1.0`, and `@tangle-network/ui ^11.0.0`.
|
|
20
20
|
Optional peers are required only by the subpaths that use them; see [package.json](./package.json).
|
|
21
21
|
|
|
22
22
|
## Usage
|
package/dist/chat.d.ts
CHANGED
|
@@ -289,9 +289,14 @@ interface AgentComposerProps {
|
|
|
289
289
|
}
|
|
290
290
|
/**
|
|
291
291
|
* @deprecated Use `ChatComposer` from `@tangle-network/agent-app/web-react` —
|
|
292
|
-
* the canonical composer
|
|
293
|
-
*
|
|
294
|
-
*
|
|
292
|
+
* the canonical composer. It adds send-failure recovery, seeds, control
|
|
293
|
+
* placement, floating elevation, and the circular icon send via
|
|
294
|
+
* `sendVariant="icon"`. Plan a port, not a rename: 14 of the 28 props here
|
|
295
|
+
* have no same-named counterpart there, among them `contextItems`, `mention`,
|
|
296
|
+
* `trailing`, `maxHeight`, `minRows`, and `autoFocus`. The control model also
|
|
297
|
+
* differs — this component requires `value` and `onChange` and calls
|
|
298
|
+
* `onSubmit` with no arguments, while `ChatComposer` can own its draft and
|
|
299
|
+
* gives the message to a refusable `onSend`. This slot-shell is frozen and
|
|
295
300
|
* will be removed at sandbox-ui's next breaking release.
|
|
296
301
|
*
|
|
297
302
|
* The canonical agent chat input: one rounded surface holding an auto-growing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.104.0",
|
|
4
4
|
"description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"peerDependencies": {
|
|
119
119
|
"@hocuspocus/provider": ">=2.15.0 <5.0.0",
|
|
120
120
|
"@nanostores/react": ">=0.8.4 <2.0.0",
|
|
121
|
-
"@tangle-network/agent-interface": "
|
|
121
|
+
"@tangle-network/agent-interface": "^1.0.0",
|
|
122
122
|
"@tangle-network/brand": "^1.5.0",
|
|
123
123
|
"@tangle-network/ui": "^11.5.0",
|
|
124
124
|
"@tanstack/react-query": "^5.0.0",
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"@storybook/react": "^10.5.4",
|
|
191
191
|
"@storybook/react-vite": "^10.5.4",
|
|
192
192
|
"@tailwindcss/postcss": "^4.3.3",
|
|
193
|
-
"@tangle-network/agent-interface": "0.
|
|
193
|
+
"@tangle-network/agent-interface": "1.0.0",
|
|
194
194
|
"@tangle-network/brand": "^1.5.0",
|
|
195
195
|
"@tangle-network/ui": "^11.5.0",
|
|
196
196
|
"@tanstack/react-query": "^5.101.4",
|