@octanejs/tiptap 0.0.29 → 0.0.31

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/tiptap",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -55,23 +55,28 @@
55
55
  "@tiptap/extension-floating-menu": "3.28.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "octane": "0.1.35"
58
+ "octane": "0.1.37"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@testing-library/jest-dom": "^6.9.1",
62
+ "@testing-library/react": "16.3.2",
62
63
  "@tiptap/react": "3.28.0",
63
64
  "@tiptap/starter-kit": "3.28.0",
64
65
  "@tsrx/react": "^0.2.56",
65
66
  "esbuild": "^0.28.1",
66
67
  "playwright": "^1.61.1",
67
- "react": "^19.2.7",
68
- "react-dom": "^19.2.7",
68
+ "react": "19.2.7",
69
+ "react-dom": "19.2.7",
69
70
  "vite": "^8.1.5",
70
71
  "vitest": "^4.1.10",
71
- "@octanejs/testing-library": "0.1.32",
72
- "octane": "0.1.35"
72
+ "use-sync-external-store": "^1.4.0",
73
+ "@types/react": "19.2.17",
74
+ "@types/react-dom": "19.2.3",
75
+ "octane": "0.1.37",
76
+ "@octanejs/testing-library": "0.1.34"
73
77
  },
74
78
  "scripts": {
75
- "test": "vitest run"
79
+ "test": "vitest run",
80
+ "upstream:verify": "node ./scripts/verify-upstream.mjs"
76
81
  }
77
82
  }
@@ -12,6 +12,7 @@ export interface NodeViewWrapperProps {
12
12
  }
13
13
 
14
14
  export function NodeViewWrapper({ as: Tag = 'div', ...props }: NodeViewWrapperProps): unknown {
15
+ // OCTANE DIVERGENCE[tiptap-node-view-as-prop][differential:tiptap-node-view-as-prop]
15
16
  const { onDragStart } = useReactNodeView();
16
17
 
17
18
  return createElement(Tag, {
@@ -100,6 +100,7 @@ export class ReactMarkView extends MarkView<
100
100
 
101
101
  /** ProseMirror calls this when the mark view leaves the document. */
102
102
  destroy(): void {
103
+ // OCTANE DIVERGENCE[tiptap-mark-view-portal-cleanup][differential:tiptap-mark-view-portal-cleanup]
103
104
  this.renderer.destroy();
104
105
  }
105
106
  }