@clevertask/scribe 0.1.31 → 0.1.33
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/dist/{BarMenu-Bm5IfWVV.js → BarMenu-KDCTLxwU.js} +1 -1
- package/dist/components/Menu/BarMenu.js +1 -1
- package/dist/components/Menu/BubbleMenu.js +2 -2
- package/dist/components/Menu/CalloutBubbleMenu.js +2 -2
- package/dist/components/Menu/LinkBubbleMenu.js +2 -2
- package/dist/components/Menu/Mobile/ListOptionBar.js +1 -1
- package/dist/components/Menu/TableBubbleMenu.js +3 -3
- package/dist/components/Menu/TableHeightSettings.js +1 -1
- package/dist/components/Menu/linkBubbleMenuPlugin.js +1 -1
- package/dist/components/Scribe/extension/callout.js +1 -1
- package/dist/components/Scribe/extension/emoji/suggest.js +1 -1
- package/dist/components/Scribe/extension/extension-link.js +1 -1
- package/dist/components/Scribe/extension/extension-markdown-paste.js +2 -2
- package/dist/components/Scribe/extension/extension-selectedText.js +1 -1
- package/dist/components/Scribe/extension/external-link-preview/commands.js +1 -1
- package/dist/components/Scribe/extension/external-link-preview/render-html.js +1 -1
- package/dist/components/Scribe/extension/external-link-preview/schema.js +1 -1
- package/dist/components/Scribe/extension/index.js +1 -1
- package/dist/components/Scribe/extension/resizable-table.js +2 -2
- package/dist/components/Scribe/extension/slashCommand/SlashCommandList.js +3 -3
- package/dist/components/Scribe/extension/slashCommand/index.js +2 -2
- package/dist/components/Scribe/extension/slashCommand/renderItems.js +1 -1
- package/dist/components/Scribe/extension/table-layout.js +1 -1
- package/dist/components/Scribe/extension/tableOfContents.js +1 -1
- package/dist/components/Scribe/index.d.ts.map +1 -1
- package/dist/components/Scribe/index.js +5 -5
- package/dist/{dist-BoAzo5MN.js → dist-B0QTAeBQ.js} +816 -644
- package/dist/{dist-SM4NoN4h.js → dist-D2ylH0wL.js} +144 -126
- package/dist/{dist-BqlzKS-_.js → dist-Dn1WHiQf.js} +2 -2
- package/dist/document-node-capabilities.js +1 -1
- package/dist/{extension-dz0CIf3r.js → extension-BpvJtqXe.js} +2 -2
- package/dist/{extension-link-DxIXGCtV.js → extension-link-DvMmKOua.js} +2 -2
- package/dist/{html-to-markdown-DeRG9OPm.js → html-to-markdown-CsSZIegJ.js} +1 -1
- package/dist/main.js +2 -2
- package/dist/{markdown-to-html-tCPjQ5u6.js → markdown-to-html-YkhBwkrX.js} +225 -217
- package/dist/{menus-BKxcTUsl.js → menus-DcCI3Z7f.js} +5 -5
- package/dist/purify.es-BpCmlcgS.js +877 -0
- package/dist/{rolldown-runtime-CtkjhSXr.js → rolldown-runtime-gFifre8I.js} +1 -1
- package/dist/{schema-extensions-B9hR1VrD.js → schema-extensions-CROueYL8.js} +6 -6
- package/dist/schema-extensions.js +1 -1
- package/dist/schema.js +1 -1
- package/dist/{table-layout-ClqaGg1E.js → table-layout-CARP38M-.js} +2 -2
- package/dist/utils/html-to-markdown.js +1 -1
- package/dist/utils/index.js +4 -4
- package/dist/utils/markdown-to-html.js +1 -1
- package/package.json +52 -52
- package/dist/purify.es-CSWcs7f1.js +0 -844
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as e, B as t, C as n, G as r, H as i, I as a, K as o, M as s, N as c, P as l, R as u, S as d, T as f, V as p, W as m, _ as h, a as g, c as _, f as v, g as y, i as b, j as x, k as S, l as C, n as w, o as ee, p as te, q as ne, r as re, s as ie, u as ae, w as oe, x as se, z as ce } from "./dist-
|
|
2
|
-
import { t as le } from "./dist-
|
|
3
|
-
import { m as ue } from "./table-layout-
|
|
4
|
-
import { n as de, t as fe } from "./extension-link-
|
|
1
|
+
import { A as e, B as t, C as n, G as r, H as i, I as a, K as o, M as s, N as c, P as l, R as u, S as d, T as f, V as p, W as m, _ as h, a as g, c as _, f as v, g as y, i as b, j as x, k as S, l as C, n as w, o as ee, p as te, q as ne, r as re, s as ie, u as ae, w as oe, x as se, z as ce } from "./dist-B0QTAeBQ.js";
|
|
2
|
+
import { t as le } from "./dist-Dn1WHiQf.js";
|
|
3
|
+
import { m as ue } from "./table-layout-CARP38M-.js";
|
|
4
|
+
import { n as de, t as fe } from "./extension-link-DvMmKOua.js";
|
|
5
5
|
import { Callout as pe } from "./components/Scribe/extension/callout.js";
|
|
6
6
|
import { ExternalLinkPreviewSchema as me } from "./components/Scribe/extension/external-link-preview/schema.js";
|
|
7
7
|
import { ScribeTable as he } from "./components/Scribe/extension/resizable-table.js";
|
|
@@ -11,7 +11,7 @@ import { Decoration as Ce, DecorationSet as we } from "@tiptap/pm/view";
|
|
|
11
11
|
import { history as Te, redo as Ee, undo as De } from "@tiptap/pm/history";
|
|
12
12
|
import { dropCursor as Oe } from "@tiptap/pm/dropcursor";
|
|
13
13
|
import { gapCursor as ke } from "@tiptap/pm/gapcursor";
|
|
14
|
-
//#region node_modules/.pnpm/@tiptap+extension-code@3.
|
|
14
|
+
//#region node_modules/.pnpm/@tiptap+extension-code@3.32.0_@tiptap+core@3.32.0_@tiptap+pm@3.32.0_/node_modules/@tiptap/extension-code/dist/index.js
|
|
15
15
|
var Ae = (e) => {
|
|
16
16
|
let t = /`([^`]+)`(?!`)$/.exec(e);
|
|
17
17
|
return !t || t.index > 0 && e[t.index - 1] === "`" ? null : {
|
|
@@ -54086,7 +54086,7 @@ w.create({
|
|
|
54086
54086
|
}
|
|
54087
54087
|
});
|
|
54088
54088
|
//#endregion
|
|
54089
|
-
//#region node_modules/.pnpm/@tiptap+extension-task-item@3.
|
|
54089
|
+
//#region node_modules/.pnpm/@tiptap+extension-task-item@3.32.0_@tiptap+extension-list@3.32.0_@tiptap+core@3.32.0_@t_39ab5c525767751237f6268fe0100697/node_modules/@tiptap/extension-task-item/dist/index.js
|
|
54090
54090
|
var dc = lc, fc = uc, pc = (e) => r({
|
|
54091
54091
|
find: /--$/,
|
|
54092
54092
|
replace: e ?? "—"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as createScribeSchemaExtensionSet } from "./schema-extensions-
|
|
1
|
+
export { t as createScribeSchemaExtensionSet } from "./schema-extensions-CROueYL8.js";
|
package/dist/schema.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScribeTableTransformError as e, applyScribeTableTransform as t } from "./table-transforms.js";
|
|
2
|
-
import { t as n } from "./schema-extensions-
|
|
2
|
+
import { t as n } from "./schema-extensions-CROueYL8.js";
|
|
3
3
|
import { SCRIBE_DOCUMENT_NODE_CAPABILITY_ROLES as r, SCRIBE_DOCUMENT_NODE_CONTENT_KINDS as i, createScribeDocumentNodeCapabilityManifest as a, defineScribeDocumentNodeCapability as o } from "./document-node-capabilities.js";
|
|
4
4
|
//#region lib/schema.ts
|
|
5
5
|
var s = (e = {}) => Object.values(n(e));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as e, I as t, _ as n, a as r, c as i, m as a, n as o } from "./dist-
|
|
1
|
+
import { B as e, I as t, _ as n, a as r, c as i, m as a, n as o } from "./dist-B0QTAeBQ.js";
|
|
2
2
|
import { Plugin as s, PluginKey as c, TextSelection as l } from "@tiptap/pm/state";
|
|
3
3
|
import { CellSelection as u, addColumnAfter as d, addColumnBefore as f, addRowAfter as ee, addRowBefore as p, columnResizing as te, deleteColumn as ne, deleteRow as m, deleteTable as re, fixTables as ie, goToNextCell as h, mergeCells as g, setCellAttr as _, splitCell as v, tableEditing as ae, toggleHeader as y, toggleHeaderCell as b } from "@tiptap/pm/tables";
|
|
4
|
-
//#region node_modules/.pnpm/@tiptap+extension-table@3.
|
|
4
|
+
//#region node_modules/.pnpm/@tiptap+extension-table@3.32.0_@tiptap+core@3.32.0_@tiptap+pm@3.32.0__@tiptap+pm@3.32.0/node_modules/@tiptap/extension-table/dist/index.js
|
|
5
5
|
function x(e) {
|
|
6
6
|
return e === "left" || e === "right" || e === "center" ? e : null;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as html2md } from "../html-to-markdown-
|
|
1
|
+
export { t as html2md } from "../html-to-markdown-CsSZIegJ.js";
|
package/dist/utils/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "../dist-
|
|
2
|
-
import { t } from "../html-to-markdown-
|
|
3
|
-
import { t as n } from "../markdown-to-html-
|
|
1
|
+
import { t as e } from "../dist-B0QTAeBQ.js";
|
|
2
|
+
import { t } from "../html-to-markdown-CsSZIegJ.js";
|
|
3
|
+
import { t as n } from "../markdown-to-html-YkhBwkrX.js";
|
|
4
4
|
import { isInViewport as r } from "./is-in-viewport.js";
|
|
5
5
|
import { convertLegacyMathDelimiters as i } from "./convert-legacy-math-delimiters.js";
|
|
6
|
-
import { t as a } from "../extension-
|
|
6
|
+
import { t as a } from "../extension-BpvJtqXe.js";
|
|
7
7
|
//#region lib/utils/create-scribe-editor.ts
|
|
8
8
|
function o({ content: n = "", editable: r = !1, enableUndoRedo: i, externalLinkPreview: o, onContentChange: s }) {
|
|
9
9
|
return new e({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as md2html } from "../markdown-to-html-
|
|
1
|
+
export { t as md2html } from "../markdown-to-html-YkhBwkrX.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clevertask/scribe",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Radix-based Tiptap rich text editor with a Notion-style block interface for viewing and creating content. Perfect for diverse needs like notes, documents, AI chat, Markdown parsing, and comments.",
|
|
6
6
|
"keywords": [
|
|
@@ -50,62 +50,62 @@
|
|
|
50
50
|
"registry": "https://registry.npmjs.org/"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@tiptap/core": "3.
|
|
54
|
-
"@tiptap/extension-bubble-menu": "3.
|
|
55
|
-
"@tiptap/extension-floating-menu": "3.
|
|
56
|
-
"@tiptap/react": "3.
|
|
57
|
-
"@tiptap/suggestion": "3.
|
|
53
|
+
"@tiptap/core": "3.32.0",
|
|
54
|
+
"@tiptap/extension-bubble-menu": "3.32.0",
|
|
55
|
+
"@tiptap/extension-floating-menu": "3.32.0",
|
|
56
|
+
"@tiptap/react": "3.32.0",
|
|
57
|
+
"@tiptap/suggestion": "3.32.0",
|
|
58
58
|
"clsx": "^2.1.1",
|
|
59
|
-
"dompurify": "^3.4.
|
|
59
|
+
"dompurify": "^3.4.17",
|
|
60
60
|
"katex": "^0.19.0",
|
|
61
|
-
"marked": "^18.1.
|
|
61
|
+
"marked": "^18.1.1",
|
|
62
62
|
"tippy.js": "^6.3.7",
|
|
63
63
|
"turndown": "^7.2.4"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@playwright/test": "^1.64.
|
|
66
|
+
"@playwright/test": "^1.64.1",
|
|
67
67
|
"@radix-ui/themes": "^3.3.0",
|
|
68
68
|
"@testing-library/dom": "^10.4.2",
|
|
69
69
|
"@testing-library/jest-dom": "^7.0.1",
|
|
70
70
|
"@testing-library/react": "^16.3.3",
|
|
71
|
-
"@tiptap/extension-blockquote": "3.
|
|
72
|
-
"@tiptap/extension-bold": "3.
|
|
73
|
-
"@tiptap/extension-bullet-list": "3.
|
|
74
|
-
"@tiptap/extension-code": "3.
|
|
75
|
-
"@tiptap/extension-code-block": "3.
|
|
76
|
-
"@tiptap/extension-document": "3.
|
|
77
|
-
"@tiptap/extension-dropcursor": "3.
|
|
78
|
-
"@tiptap/extension-emoji": "3.
|
|
79
|
-
"@tiptap/extension-focus": "3.
|
|
80
|
-
"@tiptap/extension-gapcursor": "3.
|
|
81
|
-
"@tiptap/extension-hard-break": "3.
|
|
82
|
-
"@tiptap/extension-heading": "3.
|
|
83
|
-
"@tiptap/extension-highlight": "3.
|
|
84
|
-
"@tiptap/extension-horizontal-rule": "3.
|
|
85
|
-
"@tiptap/extension-image": "3.
|
|
86
|
-
"@tiptap/extension-italic": "3.
|
|
87
|
-
"@tiptap/extension-link": "3.
|
|
88
|
-
"@tiptap/extension-list": "3.
|
|
89
|
-
"@tiptap/extension-list-item": "3.
|
|
90
|
-
"@tiptap/extension-list-keymap": "3.
|
|
91
|
-
"@tiptap/extension-mathematics": "3.
|
|
92
|
-
"@tiptap/extension-ordered-list": "3.
|
|
93
|
-
"@tiptap/extension-paragraph": "3.
|
|
94
|
-
"@tiptap/extension-placeholder": "3.
|
|
95
|
-
"@tiptap/extension-strike": "3.
|
|
96
|
-
"@tiptap/extension-table": "3.
|
|
97
|
-
"@tiptap/extension-table-cell": "3.
|
|
98
|
-
"@tiptap/extension-table-header": "3.
|
|
99
|
-
"@tiptap/extension-table-row": "3.
|
|
100
|
-
"@tiptap/extension-task-item": "3.
|
|
101
|
-
"@tiptap/extension-task-list": "3.
|
|
102
|
-
"@tiptap/extension-text": "3.
|
|
103
|
-
"@tiptap/extension-typography": "3.
|
|
104
|
-
"@tiptap/extension-underline": "3.
|
|
105
|
-
"@tiptap/extensions": "3.
|
|
106
|
-
"@tiptap/html": "3.
|
|
107
|
-
"@tiptap/pm": "3.
|
|
108
|
-
"@tiptap/starter-kit": "3.
|
|
71
|
+
"@tiptap/extension-blockquote": "3.32.0",
|
|
72
|
+
"@tiptap/extension-bold": "3.32.0",
|
|
73
|
+
"@tiptap/extension-bullet-list": "3.32.0",
|
|
74
|
+
"@tiptap/extension-code": "3.32.0",
|
|
75
|
+
"@tiptap/extension-code-block": "3.32.0",
|
|
76
|
+
"@tiptap/extension-document": "3.32.0",
|
|
77
|
+
"@tiptap/extension-dropcursor": "3.32.0",
|
|
78
|
+
"@tiptap/extension-emoji": "3.32.0",
|
|
79
|
+
"@tiptap/extension-focus": "3.32.0",
|
|
80
|
+
"@tiptap/extension-gapcursor": "3.32.0",
|
|
81
|
+
"@tiptap/extension-hard-break": "3.32.0",
|
|
82
|
+
"@tiptap/extension-heading": "3.32.0",
|
|
83
|
+
"@tiptap/extension-highlight": "3.32.0",
|
|
84
|
+
"@tiptap/extension-horizontal-rule": "3.32.0",
|
|
85
|
+
"@tiptap/extension-image": "3.32.0",
|
|
86
|
+
"@tiptap/extension-italic": "3.32.0",
|
|
87
|
+
"@tiptap/extension-link": "3.32.0",
|
|
88
|
+
"@tiptap/extension-list": "3.32.0",
|
|
89
|
+
"@tiptap/extension-list-item": "3.32.0",
|
|
90
|
+
"@tiptap/extension-list-keymap": "3.32.0",
|
|
91
|
+
"@tiptap/extension-mathematics": "3.32.0",
|
|
92
|
+
"@tiptap/extension-ordered-list": "3.32.0",
|
|
93
|
+
"@tiptap/extension-paragraph": "3.32.0",
|
|
94
|
+
"@tiptap/extension-placeholder": "3.32.0",
|
|
95
|
+
"@tiptap/extension-strike": "3.32.0",
|
|
96
|
+
"@tiptap/extension-table": "3.32.0",
|
|
97
|
+
"@tiptap/extension-table-cell": "3.32.0",
|
|
98
|
+
"@tiptap/extension-table-header": "3.32.0",
|
|
99
|
+
"@tiptap/extension-table-row": "3.32.0",
|
|
100
|
+
"@tiptap/extension-task-item": "3.32.0",
|
|
101
|
+
"@tiptap/extension-task-list": "3.32.0",
|
|
102
|
+
"@tiptap/extension-text": "3.32.0",
|
|
103
|
+
"@tiptap/extension-typography": "3.32.0",
|
|
104
|
+
"@tiptap/extension-underline": "3.32.0",
|
|
105
|
+
"@tiptap/extensions": "3.32.0",
|
|
106
|
+
"@tiptap/html": "3.32.0",
|
|
107
|
+
"@tiptap/pm": "3.32.0",
|
|
108
|
+
"@tiptap/starter-kit": "3.32.0",
|
|
109
109
|
"@types/lodash": "^4.17.26",
|
|
110
110
|
"@types/node": "^24.19.2",
|
|
111
111
|
"@types/react": "^19.3.0",
|
|
@@ -113,18 +113,18 @@
|
|
|
113
113
|
"@types/turndown": "^5.0.6",
|
|
114
114
|
"@vitejs/plugin-react": "^6.1.2",
|
|
115
115
|
"glob": "^13.0.6",
|
|
116
|
-
"jsdom": "^30.1.
|
|
116
|
+
"jsdom": "^30.1.3",
|
|
117
117
|
"lodash": "^4.18.1",
|
|
118
|
-
"oxfmt": "^0.
|
|
119
|
-
"oxlint": "^1.
|
|
118
|
+
"oxfmt": "^0.73.0",
|
|
119
|
+
"oxlint": "^1.88.0",
|
|
120
120
|
"typescript": "~7.0.2",
|
|
121
121
|
"vite": "^8.3.4",
|
|
122
122
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
123
|
-
"vitest": "^5.0.
|
|
123
|
+
"vitest": "^5.0.5"
|
|
124
124
|
},
|
|
125
125
|
"peerDependencies": {
|
|
126
126
|
"@radix-ui/themes": ">=3.3.0",
|
|
127
|
-
"@tiptap/pm": "3.
|
|
127
|
+
"@tiptap/pm": "3.32.0",
|
|
128
128
|
"react": ">=18.3.1 <20.0.0",
|
|
129
129
|
"react-dom": ">=18.3.1 <20.0.0"
|
|
130
130
|
},
|