@tangle-network/sandbox-ui 0.108.0 → 0.109.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 +2 -2
- package/package.json +19 -7
package/README.md
CHANGED
|
@@ -16,8 +16,8 @@ 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 ^1.0.0`, `@tangle-network/brand ^1.
|
|
20
|
-
Optional peers are required only by the subpaths that use them; see [package.json](./package.json).
|
|
19
|
+
**Required peers:** `react` and `react-dom` 18 or 19, `@tangle-network/agent-interface ^1.0.0`, `@tangle-network/brand ^1.5.0`, and `@tangle-network/ui ^11.6.0`.
|
|
20
|
+
Optional peers are required only by the subpaths that use them; see [package.json](./package.json). `/editor` needs its tiptap, `yjs` and `@hocuspocus/provider` peers only when it renders an editor, and the `@tangle-network/ui` README holds the table of which surface needs which.
|
|
21
21
|
|
|
22
22
|
## Usage
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.109.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",
|
|
@@ -120,10 +120,13 @@
|
|
|
120
120
|
"@nanostores/react": ">=0.8.4 <2.0.0",
|
|
121
121
|
"@tangle-network/agent-interface": "^1.0.0",
|
|
122
122
|
"@tangle-network/brand": "^1.5.0",
|
|
123
|
-
"@tangle-network/ui": "^11.
|
|
123
|
+
"@tangle-network/ui": "^11.6.0",
|
|
124
124
|
"@tanstack/react-query": "^5.0.0",
|
|
125
|
+
"@tiptap/core": ">=3.20.4 <4.0.0",
|
|
125
126
|
"@tiptap/extension-collaboration": ">=3.20.4 <4.0.0",
|
|
126
127
|
"@tiptap/extension-collaboration-caret": ">=3.7.0 <4.0.0",
|
|
128
|
+
"@tiptap/react": ">=3.20.4 <4.0.0",
|
|
129
|
+
"@tiptap/starter-kit": ">=3.20.4 <4.0.0",
|
|
127
130
|
"@xterm/addon-fit": "^0.11.0",
|
|
128
131
|
"@xterm/addon-web-links": "^0.12.0",
|
|
129
132
|
"@xterm/addon-webgl": "^0.19.0",
|
|
@@ -143,12 +146,21 @@
|
|
|
143
146
|
"@tanstack/react-query": {
|
|
144
147
|
"optional": true
|
|
145
148
|
},
|
|
149
|
+
"@tiptap/core": {
|
|
150
|
+
"optional": true
|
|
151
|
+
},
|
|
146
152
|
"@tiptap/extension-collaboration": {
|
|
147
153
|
"optional": true
|
|
148
154
|
},
|
|
149
155
|
"@tiptap/extension-collaboration-caret": {
|
|
150
156
|
"optional": true
|
|
151
157
|
},
|
|
158
|
+
"@tiptap/react": {
|
|
159
|
+
"optional": true
|
|
160
|
+
},
|
|
161
|
+
"@tiptap/starter-kit": {
|
|
162
|
+
"optional": true
|
|
163
|
+
},
|
|
152
164
|
"@xterm/addon-fit": {
|
|
153
165
|
"optional": true
|
|
154
166
|
},
|
|
@@ -173,9 +185,6 @@
|
|
|
173
185
|
"@pierre/diffs": "^1.2.12",
|
|
174
186
|
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
175
187
|
"@radix-ui/react-select": "^2.3.7",
|
|
176
|
-
"@tiptap/core": "^3.28.0",
|
|
177
|
-
"@tiptap/react": "^3.28.0",
|
|
178
|
-
"@tiptap/starter-kit": "^3.28.0",
|
|
179
188
|
"diff": "^9.0.0",
|
|
180
189
|
"eventsource-parser": "3.1.0",
|
|
181
190
|
"lucide-react": "^1.25.0",
|
|
@@ -190,14 +199,17 @@
|
|
|
190
199
|
"@tailwindcss/postcss": "^4.3.3",
|
|
191
200
|
"@tangle-network/agent-interface": "1.0.0",
|
|
192
201
|
"@tangle-network/brand": "^1.5.0",
|
|
193
|
-
"@tangle-network/ui": "^11.
|
|
202
|
+
"@tangle-network/ui": "^11.6.0",
|
|
194
203
|
"@tanstack/react-query": "^5.101.4",
|
|
195
204
|
"@testing-library/dom": "^10.4.1",
|
|
196
205
|
"@testing-library/jest-dom": "^7.0.0",
|
|
197
206
|
"@testing-library/react": "^16.3.2",
|
|
198
207
|
"@testing-library/user-event": "^14.6.1",
|
|
208
|
+
"@tiptap/core": "^3.28.0",
|
|
199
209
|
"@tiptap/extension-collaboration": "^3.28.0",
|
|
200
210
|
"@tiptap/extension-collaboration-caret": "^3.28.0",
|
|
211
|
+
"@tiptap/react": "^3.28.0",
|
|
212
|
+
"@tiptap/starter-kit": "^3.28.0",
|
|
201
213
|
"@tiptap/y-tiptap": "^3.0.7",
|
|
202
214
|
"@types/react": "^19.2.17",
|
|
203
215
|
"@types/react-dom": "^19.1.2",
|
|
@@ -229,7 +241,7 @@
|
|
|
229
241
|
"storybook": "storybook dev -p 6006",
|
|
230
242
|
"build-storybook": "storybook build",
|
|
231
243
|
"test": "vitest run",
|
|
232
|
-
"test:package": "node scripts/package-smoke.mjs",
|
|
244
|
+
"test:package": "node scripts/package-smoke.mjs && PACKAGE_OMIT_OPTIONAL_PEERS='[\"@hocuspocus/provider\",\"@tiptap/core\",\"@tiptap/extension-collaboration\",\"@tiptap/extension-collaboration-caret\",\"@tiptap/react\",\"@tiptap/starter-kit\",\"yjs\"]' node scripts/package-smoke.mjs",
|
|
233
245
|
"test:watch": "vitest",
|
|
234
246
|
"test:bridge": "pnpm build && vitest run src/__tests__/re-export-identity.test.ts"
|
|
235
247
|
}
|