@tangle-network/ui 11.2.0 → 11.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tangle-network/ui
2
2
 
3
+ ## 11.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8dd0d68: Declare the editor and session-store optional peers in the published manifest and prove every packed public export in a clean consumer before release.
8
+
3
9
  ## 11.2.0
4
10
 
5
11
  ### Minor Changes
@@ -560,7 +560,7 @@ import { lazy, Suspense } from "react";
560
560
  import { Download as Download2, X as X3 } from "lucide-react";
561
561
  import { Fragment, jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
562
562
  var LazyDocumentEditorPane = lazy(async () => {
563
- const module = await import("./document-editor-pane-OQNGM4RJ.js");
563
+ const module = await import("./document-editor-pane-MX3FIZSE.js");
564
564
  return { default: module.DocumentEditorPane };
565
565
  });
566
566
  function FileArtifactPane({
@@ -181,7 +181,6 @@ function EditorProvider({
181
181
  name: documentName,
182
182
  document: doc,
183
183
  token: async () => tokenRef.current,
184
- connect: true,
185
184
  onConnect: () => {
186
185
  reconnectAttemptsRef.current = 0;
187
186
  updateConnectionState("connected");
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  DocumentEditorPane
4
- } from "./chunk-RADUPP44.js";
4
+ } from "./chunk-NZLLDHEG.js";
5
5
  import "./chunk-Q56BYXQF.js";
6
6
  import "./chunk-LTEKI7YJ.js";
7
7
  import "./chunk-P5F43A65.js";
package/dist/editor.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  useEditorConnection,
12
12
  useEditorContext,
13
13
  useYjsState
14
- } from "./chunk-RADUPP44.js";
14
+ } from "./chunk-NZLLDHEG.js";
15
15
  import "./chunk-Q56BYXQF.js";
16
16
  import "./chunk-LTEKI7YJ.js";
17
17
  import "./chunk-P5F43A65.js";
package/dist/files.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  FileTree,
6
6
  RichFileTree,
7
7
  filterFileTree
8
- } from "./chunk-GGDYWMFF.js";
8
+ } from "./chunk-7O22XQ4D.js";
9
9
  import {
10
10
  detectFileFormat,
11
11
  fileExtension,
package/dist/index.js CHANGED
@@ -210,7 +210,7 @@ import {
210
210
  FileTree,
211
211
  RichFileTree,
212
212
  filterFileTree
213
- } from "./chunk-GGDYWMFF.js";
213
+ } from "./chunk-7O22XQ4D.js";
214
214
  import {
215
215
  detectFileFormat,
216
216
  fileExtension,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/ui",
3
- "version": "11.2.0",
3
+ "version": "11.2.1",
4
4
  "description": "Generic React UI components for Tangle products — primitives, chat, run, files, editor, markdown.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -129,10 +129,19 @@
129
129
  "turndown": "^7.2.2"
130
130
  },
131
131
  "peerDependencies": {
132
+ "@hocuspocus/provider": ">=2.15.0 <5.0.0",
133
+ "@nanostores/react": ">=0.8.4 <2.0.0",
134
+ "@tiptap/core": ">=3.20.4 <4.0.0",
135
+ "@tiptap/extension-collaboration": ">=3.20.4 <4.0.0",
136
+ "@tiptap/extension-collaboration-caret": ">=3.7.0 <4.0.0",
137
+ "@tiptap/react": ">=3.20.4 <4.0.0",
138
+ "@tiptap/starter-kit": ">=3.20.4 <4.0.0",
139
+ "nanostores": ">=0.11.3 <2.0.0",
132
140
  "react": "^18 || ^19",
133
141
  "react-dom": "^18 || ^19",
134
142
  "react-router": "^7",
135
- "@tangle-network/brand": "^1.0.0"
143
+ "yjs": "^13.6.0",
144
+ "@tangle-network/brand": "^1.1.0"
136
145
  },
137
146
  "peerDependenciesMeta": {
138
147
  "@nanostores/react": {
@@ -141,9 +150,6 @@
141
150
  "nanostores": {
142
151
  "optional": true
143
152
  },
144
- "@tanstack/react-query": {
145
- "optional": true
146
- },
147
153
  "@hocuspocus/provider": {
148
154
  "optional": true
149
155
  },
@@ -170,23 +176,24 @@
170
176
  }
171
177
  },
172
178
  "devDependencies": {
173
- "@hocuspocus/provider": "^2.15.0",
174
- "@nanostores/react": "^0.8.4",
175
- "@tiptap/core": "^3.20.4",
176
- "@tiptap/extension-collaboration": "^3.20.4",
177
- "@tiptap/extension-collaboration-caret": "^3.7.0",
178
- "@tiptap/react": "^3.20.4",
179
- "@tiptap/starter-kit": "^3.20.4",
179
+ "@hocuspocus/provider": "^4.4.0",
180
+ "@nanostores/react": "^1.1.0",
181
+ "@tiptap/core": "^3.28.0",
182
+ "@tiptap/extension-collaboration": "^3.28.0",
183
+ "@tiptap/extension-collaboration-caret": "^3.28.0",
184
+ "@tiptap/react": "^3.28.0",
185
+ "@tiptap/starter-kit": "^3.28.0",
186
+ "@tiptap/y-tiptap": "^3.0.7",
180
187
  "@types/react": "^19.0.0",
181
188
  "@types/react-syntax-highlighter": "^15.5.13",
182
189
  "@types/turndown": "^5.0.5",
183
- "nanostores": "^0.11.3",
190
+ "nanostores": "^1.4.1",
184
191
  "react": "^19.0.0",
185
192
  "react-dom": "^19.0.0",
186
193
  "@storybook/react": "^8.6.18",
187
194
  "tsup": "^8.3.5",
188
195
  "typescript": "^5.6.0",
189
- "yjs": "^13.6.0",
196
+ "yjs": "^13.6.31",
190
197
  "react-router": "^7"
191
198
  },
192
199
  "keywords": [
@@ -281,7 +281,6 @@ export function EditorProvider({
281
281
  name: documentName,
282
282
  document: doc,
283
283
  token: async () => tokenRef.current,
284
- connect: true,
285
284
 
286
285
  onConnect: () => {
287
286
  reconnectAttemptsRef.current = 0;