@pilotiq/tiptap 3.10.7 → 3.10.8
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 +7 -0
- package/dist/Block.js +0 -1
- package/dist/MentionProvider.js +0 -1
- package/dist/PlainTextEditor.js +0 -1
- package/dist/RichTextField.js +0 -1
- package/dist/extensions/AiInlineDiffExtension.js +0 -1
- package/dist/extensions/AiSuggestionExtension.js +0 -1
- package/dist/extensions/BlockNodeExtension.js +0 -1
- package/dist/extensions/DragHandleExtension.js +0 -1
- package/dist/extensions/GridExtension.js +0 -1
- package/dist/extensions/MentionExtension.js +0 -1
- package/dist/extensions/MergeTagExtension.js +0 -1
- package/dist/extensions/SlashCommandExtension.js +0 -1
- package/dist/extensions/TextSizeMarks.js +0 -1
- package/dist/index.js +0 -1
- package/dist/markdownStorage.js +0 -1
- package/dist/plugin.js +0 -1
- package/dist/react/AiSuggestionBanner.js +0 -1
- package/dist/react/BlockNodeView.js +0 -1
- package/dist/react/BlockSidePanel.js +0 -1
- package/dist/react/CollabTextRenderer.js +0 -1
- package/dist/react/FloatingToolbar.js +0 -1
- package/dist/react/MarkdownEditor.js +0 -1
- package/dist/react/MentionMenu.js +0 -1
- package/dist/react/Palette.js +0 -1
- package/dist/react/SlashMenu.js +0 -1
- package/dist/react/TableFloatingToolbar.js +0 -1
- package/dist/react/TiptapEditor.js +0 -1
- package/dist/react/Toolbar.js +0 -1
- package/dist/react/toolbarButtons.js +0 -1
- package/dist/react/useAiInlineDiff.js +0 -1
- package/dist/react/useAiSuggestionBridge.js +0 -1
- package/dist/register.js +0 -1
- package/dist/render.js +0 -1
- package/dist/surgicalOps.js +0 -1
- package/dist/test/setup.js +0 -1
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @pilotiq/tiptap
|
|
2
2
|
|
|
3
|
+
## 3.10.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0d346bd: Stop emitting JS sourcemaps in the build (`sourceMap` removed from tsconfig.base.json). The previous release excluded `dist/*.js.map` from the tarball but left the trailing `//# sourceMappingURL=` comment in every `.js` file, so Vite dev in consumer apps chased the pointer and logged an ENOENT stack trace per module — louder than the warning it replaced. `declarationMap` stays on (editors silently skip missing `.d.ts.map`; Vite never reads `.d.ts`).
|
|
8
|
+
- c7d62e9: Relax the exact `3.22.4` pins on the ten `@tiptap/extension-*` peer (and dev) dependencies to `^3.22.4`. The exact pins were an accident of pinning the installed version when each extension feature landed, not an intentional ceiling — and because Tiptap extensions peer-pin `@tiptap/core` exactly per release train, the pins made it impossible for consumers to align on core ≥3.23 (required by `@tiptap/extension-collaboration@^3.23`), producing unavoidable `unmet peer` warnings. Consumers should keep their whole `@tiptap/*` set on one release train.
|
|
9
|
+
|
|
3
10
|
## 3.10.7
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/Block.js
CHANGED
package/dist/MentionProvider.js
CHANGED
package/dist/PlainTextEditor.js
CHANGED
package/dist/RichTextField.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -10,4 +10,3 @@ export { useAiSuggestionBridge } from './react/useAiSuggestionBridge.js';
|
|
|
10
10
|
export { AiInlineDiffExtension, aiInlineDiffPluginKey, getAiInlineDiffState, } from './extensions/AiInlineDiffExtension.js';
|
|
11
11
|
export { planReplaceBlock, planInsertBlockBefore, planDeleteBlock, planUpdateBlockMark, summarizeBlockStructure, } from './surgicalOps.js';
|
|
12
12
|
export { renderRichTextToHtml, isRichTextValue, } from './render.js';
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
package/dist/markdownStorage.js
CHANGED
package/dist/plugin.js
CHANGED
|
@@ -69,4 +69,3 @@ export function AiSuggestionBanner({ fieldName, onApplyWholeField, onAcceptViaEd
|
|
|
69
69
|
: 'Changes suggested'
|
|
70
70
|
: `${pending.length} changes suggested` }), _jsxs("div", { className: "pilotiq-ai-banner-actions", children: [_jsx("button", { type: "button", className: "pilotiq-ai-banner-reject", onClick: handleReject, children: single ? 'Reject' : 'Reject all' }), _jsx("button", { type: "button", className: "pilotiq-ai-banner-accept", onClick: handleAccept, children: single ? 'Accept' : 'Accept all' })] })] }));
|
|
71
71
|
}
|
|
72
|
-
//# sourceMappingURL=AiSuggestionBanner.js.map
|
|
@@ -57,4 +57,3 @@ export function BlockNodeView(props) {
|
|
|
57
57
|
};
|
|
58
58
|
return (_jsx(NodeViewWrapper, { className: "pilotiq-block my-3 rounded-lg border bg-muted/30", children: _jsxs("div", { className: "flex items-start justify-between gap-2 px-3 py-2", children: [_jsxs("button", { type: "button", onClick: handleEdit, disabled: !onEdit, className: "flex items-center gap-2 text-left text-sm disabled:cursor-default", children: [meta.icon && _jsx("span", { "aria-hidden": "true", children: meta.icon }), _jsx("span", { className: "font-medium", children: meta.label }), _jsx("span", { className: "text-xs text-muted-foreground line-clamp-1", children: summary })] }), _jsxs("div", { className: "flex items-center gap-2", children: [onEdit && (_jsx("button", { type: "button", onClick: handleEdit, className: "text-xs text-muted-foreground hover:text-foreground", children: "Edit" })), _jsx("button", { type: "button", onClick: () => deleteNode(), className: "text-xs text-destructive hover:underline", children: "Remove" })] })] }) }));
|
|
59
59
|
}
|
|
60
|
-
//# sourceMappingURL=BlockNodeView.js.map
|
|
@@ -110,4 +110,3 @@ function CodeIcon() {
|
|
|
110
110
|
function LinkIcon() {
|
|
111
111
|
return (_jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [_jsx("path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }), _jsx("path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" })] }));
|
|
112
112
|
}
|
|
113
|
-
//# sourceMappingURL=FloatingToolbar.js.map
|
package/dist/react/Palette.js
CHANGED
|
@@ -18,4 +18,3 @@ export function Palette({ trigger, swatches, custom, activeColor, onPick, onClea
|
|
|
18
18
|
return (_jsx("button", { type: "button", title: s.label, "aria-label": s.label, "aria-pressed": Boolean(isActive), onClick: () => pick(s.value), className: `h-6 w-6 rounded border transition-transform hover:scale-110 ${isActive ? 'ring-2 ring-ring ring-offset-1' : 'border-border/60'}`, style: { background: s.value } }, s.value));
|
|
19
19
|
}) }), custom && (_jsxs("label", { className: "mt-2 flex items-center justify-between gap-2 text-xs text-muted-foreground", children: [_jsx("span", { children: "Custom" }), _jsx("input", { type: "color", defaultValue: activeColor ?? '#000000', onChange: (e) => onPick(e.target.value), className: "h-6 w-12 cursor-pointer rounded border-0 bg-transparent p-0" })] })), _jsx("button", { type: "button", onClick: clear, className: "mt-2 w-full rounded px-2 py-1 text-xs text-muted-foreground hover:bg-accent hover:text-accent-foreground", children: clearLabel })] }) }) })] }));
|
|
20
20
|
}
|
|
21
|
-
//# sourceMappingURL=Palette.js.map
|
package/dist/react/SlashMenu.js
CHANGED
package/dist/react/Toolbar.js
CHANGED
package/dist/register.js
CHANGED
package/dist/render.js
CHANGED
package/dist/surgicalOps.js
CHANGED
package/dist/test/setup.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pilotiq/tiptap",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.8",
|
|
4
4
|
"description": "Tiptap rich-text editor adapter for @pilotiq/pilotiq — slash menu, draggable blocks, custom-block API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
"@pilotiq/pilotiq": ">=0.6.0 <1.0.0",
|
|
41
41
|
"@rudderjs/sync": "^1.2.0",
|
|
42
42
|
"@tiptap/core": "^3",
|
|
43
|
-
"@tiptap/extension-color": "3.22.4",
|
|
44
|
-
"@tiptap/extension-details": "3.22.4",
|
|
45
|
-
"@tiptap/extension-highlight": "3.22.4",
|
|
46
|
-
"@tiptap/extension-image": "3.22.4",
|
|
43
|
+
"@tiptap/extension-color": "^3.22.4",
|
|
44
|
+
"@tiptap/extension-details": "^3.22.4",
|
|
45
|
+
"@tiptap/extension-highlight": "^3.22.4",
|
|
46
|
+
"@tiptap/extension-image": "^3.22.4",
|
|
47
47
|
"@tiptap/extension-link": "^3",
|
|
48
48
|
"@tiptap/extension-placeholder": "^3",
|
|
49
|
-
"@tiptap/extension-subscript": "3.22.4",
|
|
50
|
-
"@tiptap/extension-superscript": "3.22.4",
|
|
51
|
-
"@tiptap/extension-table": "3.22.4",
|
|
52
|
-
"@tiptap/extension-text-align": "3.22.4",
|
|
53
|
-
"@tiptap/extension-text-style": "3.22.4",
|
|
54
|
-
"@tiptap/extension-underline": "3.22.4",
|
|
49
|
+
"@tiptap/extension-subscript": "^3.22.4",
|
|
50
|
+
"@tiptap/extension-superscript": "^3.22.4",
|
|
51
|
+
"@tiptap/extension-table": "^3.22.4",
|
|
52
|
+
"@tiptap/extension-text-align": "^3.22.4",
|
|
53
|
+
"@tiptap/extension-text-style": "^3.22.4",
|
|
54
|
+
"@tiptap/extension-underline": "^3.22.4",
|
|
55
55
|
"@tiptap/pm": "^3",
|
|
56
56
|
"@tiptap/react": "^3",
|
|
57
57
|
"@tiptap/starter-kit": "^3",
|
|
@@ -65,18 +65,18 @@
|
|
|
65
65
|
"@testing-library/dom": "^10.4.1",
|
|
66
66
|
"@testing-library/react": "^16.3.2",
|
|
67
67
|
"@tiptap/core": "^3",
|
|
68
|
-
"@tiptap/extension-color": "3.22.4",
|
|
69
|
-
"@tiptap/extension-details": "3.22.4",
|
|
70
|
-
"@tiptap/extension-highlight": "3.22.4",
|
|
71
|
-
"@tiptap/extension-image": "3.22.4",
|
|
68
|
+
"@tiptap/extension-color": "^3.22.4",
|
|
69
|
+
"@tiptap/extension-details": "^3.22.4",
|
|
70
|
+
"@tiptap/extension-highlight": "^3.22.4",
|
|
71
|
+
"@tiptap/extension-image": "^3.22.4",
|
|
72
72
|
"@tiptap/extension-link": "^3",
|
|
73
73
|
"@tiptap/extension-placeholder": "^3",
|
|
74
|
-
"@tiptap/extension-subscript": "3.22.4",
|
|
75
|
-
"@tiptap/extension-superscript": "3.22.4",
|
|
76
|
-
"@tiptap/extension-table": "3.22.4",
|
|
77
|
-
"@tiptap/extension-text-align": "3.22.4",
|
|
78
|
-
"@tiptap/extension-text-style": "3.22.4",
|
|
79
|
-
"@tiptap/extension-underline": "3.22.4",
|
|
74
|
+
"@tiptap/extension-subscript": "^3.22.4",
|
|
75
|
+
"@tiptap/extension-superscript": "^3.22.4",
|
|
76
|
+
"@tiptap/extension-table": "^3.22.4",
|
|
77
|
+
"@tiptap/extension-text-align": "^3.22.4",
|
|
78
|
+
"@tiptap/extension-text-style": "^3.22.4",
|
|
79
|
+
"@tiptap/extension-underline": "^3.22.4",
|
|
80
80
|
"@tiptap/pm": "^3",
|
|
81
81
|
"@tiptap/react": "^3",
|
|
82
82
|
"@tiptap/starter-kit": "^3",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"react-dom": "^19",
|
|
92
92
|
"tiptap-markdown": "^0.9",
|
|
93
93
|
"typescript": "^5",
|
|
94
|
-
"@pilotiq/pilotiq": "^0.35.
|
|
94
|
+
"@pilotiq/pilotiq": "^0.35.2"
|
|
95
95
|
},
|
|
96
96
|
"author": "Suleiman Shahbari",
|
|
97
97
|
"scripts": {
|