@clevertask/scribe 0.1.17 → 0.1.18

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.
Files changed (43) hide show
  1. package/README.md +1 -1
  2. package/dist/{BarMenu-x4sf3ECS.js → BarMenu-C9tCdvyV.js} +1 -1
  3. package/dist/components/Menu/BarMenu.js +1 -1
  4. package/dist/components/Menu/BubbleMenu.js +2 -2
  5. package/dist/components/Menu/CalloutBubbleMenu.js +2 -2
  6. package/dist/components/Menu/LinkBubbleMenu.d.ts.map +1 -1
  7. package/dist/components/Menu/LinkBubbleMenu.js +2 -2
  8. package/dist/components/Menu/LinkEditor.d.ts.map +1 -1
  9. package/dist/components/Menu/Mobile/ListOptionBar.js +1 -1
  10. package/dist/components/Menu/TableBubbleMenu.js +2 -2
  11. package/dist/components/Menu/linkBubbleMenuPlugin.js +1 -1
  12. package/dist/components/Scribe/extension/callout.js +1 -1
  13. package/dist/components/Scribe/extension/emoji/suggest.js +1 -1
  14. package/dist/components/Scribe/extension/extension-link.js +1 -1
  15. package/dist/components/Scribe/extension/extension-markdown-paste.js +2 -2
  16. package/dist/components/Scribe/extension/extension-selectedText.js +1 -1
  17. package/dist/components/Scribe/extension/external-link-preview/commands.js +1 -1
  18. package/dist/components/Scribe/extension/external-link-preview/index.js +2 -2
  19. package/dist/components/Scribe/extension/external-link-preview/node-view.js +1 -1
  20. package/dist/components/Scribe/extension/external-link-preview/render-html.js +1 -1
  21. package/dist/components/Scribe/extension/index.js +1 -1
  22. package/dist/components/Scribe/extension/resizable-table.js +1 -1
  23. package/dist/components/Scribe/extension/slashCommand/index.js +1 -1
  24. package/dist/components/Scribe/extension/slashCommand/renderItems.js +1 -1
  25. package/dist/components/Scribe/extension/tableOfContents.js +1 -1
  26. package/dist/components/Scribe/index.d.ts.map +1 -1
  27. package/dist/components/Scribe/index.js +4 -4
  28. package/dist/{dist-tNcpTcFT.js → dist-CkWsQ5Lj.js} +197 -185
  29. package/dist/{dist-DDjaA1Pn.js → dist-DRPH9MfF.js} +1 -1
  30. package/dist/{extension-CwuvxVkr.js → extension-DOo9QT6U.js} +1167 -1159
  31. package/dist/{extension-link-RYtPpHwt.js → extension-link-yMrg9JOz.js} +2 -2
  32. package/dist/{html-to-markdown-nbQ6qHyO.js → html-to-markdown-CnlA8pb8.js} +1 -1
  33. package/dist/main.js +2 -2
  34. package/dist/{markdown-to-html-B-KKCZRs.js → markdown-to-html-BLzYd3Fu.js} +10 -11
  35. package/dist/{menus-U2HdvQnu.js → menus-Dy2dj4QT.js} +5 -5
  36. package/dist/purify.es-DGv0-Lid.js +805 -0
  37. package/dist/{resizable-table-m0AzovsZ.js → resizable-table-D0mls3aB.js} +2 -2
  38. package/dist/{slashCommand-CtvgnL0Z.js → slashCommand-D35jcSNp.js} +2 -2
  39. package/dist/utils/html-to-markdown.js +1 -1
  40. package/dist/utils/index.js +4 -4
  41. package/dist/utils/markdown-to-html.js +1 -1
  42. package/package.json +51 -51
  43. package/dist/purify.es-BES4pJF7.js +0 -774
@@ -1,7 +1,7 @@
1
- import { L as e, _ as t, a as n, l as r, m as i, n as a } from "./dist-tNcpTcFT.js";
1
+ import { L as e, _ as t, a as n, l as r, m as i, n as a } from "./dist-CkWsQ5Lj.js";
2
2
  import { TextSelection as o } from "@tiptap/pm/state";
3
3
  import { CellSelection as s, addColumnAfter as c, addColumnBefore as l, addRowAfter as u, addRowBefore as d, columnResizing as f, columnResizingPluginKey as p, deleteColumn as m, deleteRow as h, deleteTable as g, fixTables as _, goToNextCell as v, mergeCells as y, setCellAttr as b, splitCell as x, tableEditing as S, toggleHeader as C, toggleHeaderCell as w } from "@tiptap/pm/tables";
4
- //#region node_modules/.pnpm/@tiptap+extension-table@3.30.1_@tiptap+core@3.30.1_@tiptap+pm@3.30.1__@tiptap+pm@3.30.1/node_modules/@tiptap/extension-table/dist/index.js
4
+ //#region node_modules/.pnpm/@tiptap+extension-table@3.30.2_@tiptap+core@3.30.2_@tiptap+pm@3.30.2__@tiptap+pm@3.30.2/node_modules/@tiptap/extension-table/dist/index.js
5
5
  function T(e) {
6
6
  return e === "left" || e === "right" || e === "center" ? e : null;
7
7
  }
@@ -1,8 +1,8 @@
1
- import { f as e, n as t } from "./dist-tNcpTcFT.js";
1
+ import { f as e, n as t } from "./dist-CkWsQ5Lj.js";
2
2
  import { a as n, c as r, i, r as a } from "./floating-ui.dom-CmJ6iBdh.js";
3
3
  import { Plugin as o, PluginKey as s } from "@tiptap/pm/state";
4
4
  import { Decoration as c, DecorationSet as l } from "@tiptap/pm/view";
5
- //#region node_modules/.pnpm/@tiptap+suggestion@3.30.1_@floating-ui+dom@1.8.0_@tiptap+core@3.30.1_@tiptap+pm@3.30.1__@tiptap+pm@3.30.1/node_modules/@tiptap/suggestion/dist/index.js
5
+ //#region node_modules/.pnpm/@tiptap+suggestion@3.30.2_@floating-ui+dom@1.8.0_@tiptap+core@3.30.2_@tiptap+pm@3.30.2__@tiptap+pm@3.30.2/node_modules/@tiptap/suggestion/dist/index.js
6
6
  function u(t) {
7
7
  let { char: n, allowSpaces: r, allowToIncludeChar: i, allowedPrefixes: a, startOfLine: o, $position: s } = t, c = r && !i, l = e(n), u = RegExp(`\\s${l}$`), d = o ? "^" : "", f = i ? "" : l, p = RegExp(c ? `${d}${l}.*?(?=\\s${f}|$)` : `${d}(?:^)?${l}[^\\s${f}]*`, "gm"), m = s.nodeBefore?.isText && s.nodeBefore.text;
8
8
  if (!m) return null;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../html-to-markdown-nbQ6qHyO.js";
1
+ import { t as e } from "../html-to-markdown-CnlA8pb8.js";
2
2
  export { e as html2md };
@@ -1,9 +1,9 @@
1
- import { t as e } from "../dist-tNcpTcFT.js";
2
- import { t } from "../html-to-markdown-nbQ6qHyO.js";
3
- import { t as n } from "../markdown-to-html-B-KKCZRs.js";
1
+ import { t as e } from "../dist-CkWsQ5Lj.js";
2
+ import { t } from "../html-to-markdown-CnlA8pb8.js";
3
+ import { t as n } from "../markdown-to-html-BLzYd3Fu.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-CwuvxVkr.js";
6
+ import { t as a } from "../extension-DOo9QT6U.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,2 +1,2 @@
1
- import { t as e } from "../markdown-to-html-B-KKCZRs.js";
1
+ import { t as e } from "../markdown-to-html-BLzYd3Fu.js";
2
2
  export { e as md2html };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clevertask/scribe",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
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": [
@@ -45,15 +45,15 @@
45
45
  "registry": "https://registry.npmjs.org/"
46
46
  },
47
47
  "dependencies": {
48
- "@tiptap/core": "3.30.1",
49
- "@tiptap/extension-bubble-menu": "3.30.1",
50
- "@tiptap/extension-floating-menu": "3.30.1",
51
- "@tiptap/react": "3.30.1",
52
- "@tiptap/suggestion": "3.30.1",
48
+ "@tiptap/core": "3.30.2",
49
+ "@tiptap/extension-bubble-menu": "3.30.2",
50
+ "@tiptap/extension-floating-menu": "3.30.2",
51
+ "@tiptap/react": "3.30.2",
52
+ "@tiptap/suggestion": "3.30.2",
53
53
  "clsx": "^2.1.1",
54
- "dompurify": "^3.4.13",
54
+ "dompurify": "^3.4.14",
55
55
  "katex": "^0.18.4",
56
- "marked": "^18.0.9",
56
+ "marked": "^18.0.10",
57
57
  "tippy.js": "^6.3.7",
58
58
  "turndown": "^7.2.4"
59
59
  },
@@ -63,62 +63,62 @@
63
63
  "@testing-library/dom": "^10.4.1",
64
64
  "@testing-library/jest-dom": "^7.0.1",
65
65
  "@testing-library/react": "^16.3.2",
66
- "@tiptap/extension-blockquote": "3.30.1",
67
- "@tiptap/extension-bold": "3.30.1",
68
- "@tiptap/extension-bullet-list": "3.30.1",
69
- "@tiptap/extension-code": "3.30.1",
70
- "@tiptap/extension-code-block": "3.30.1",
71
- "@tiptap/extension-document": "3.30.1",
72
- "@tiptap/extension-dropcursor": "3.30.1",
73
- "@tiptap/extension-emoji": "3.30.1",
74
- "@tiptap/extension-focus": "3.30.1",
75
- "@tiptap/extension-gapcursor": "3.30.1",
76
- "@tiptap/extension-hard-break": "3.30.1",
77
- "@tiptap/extension-heading": "3.30.1",
78
- "@tiptap/extension-highlight": "3.30.1",
79
- "@tiptap/extension-horizontal-rule": "3.30.1",
80
- "@tiptap/extension-image": "3.30.1",
81
- "@tiptap/extension-italic": "3.30.1",
82
- "@tiptap/extension-link": "3.30.1",
83
- "@tiptap/extension-list": "3.30.1",
84
- "@tiptap/extension-list-item": "3.30.1",
85
- "@tiptap/extension-list-keymap": "3.30.1",
86
- "@tiptap/extension-mathematics": "3.30.1",
87
- "@tiptap/extension-ordered-list": "3.30.1",
88
- "@tiptap/extension-paragraph": "3.30.1",
89
- "@tiptap/extension-placeholder": "3.30.1",
90
- "@tiptap/extension-strike": "3.30.1",
91
- "@tiptap/extension-table": "3.30.1",
92
- "@tiptap/extension-table-cell": "3.30.1",
93
- "@tiptap/extension-table-header": "3.30.1",
94
- "@tiptap/extension-table-row": "3.30.1",
95
- "@tiptap/extension-task-item": "3.30.1",
96
- "@tiptap/extension-task-list": "3.30.1",
97
- "@tiptap/extension-text": "3.30.1",
98
- "@tiptap/extension-typography": "3.30.1",
99
- "@tiptap/extension-underline": "3.30.1",
100
- "@tiptap/extensions": "3.30.1",
101
- "@tiptap/pm": "3.30.1",
102
- "@tiptap/starter-kit": "3.30.1",
66
+ "@tiptap/extension-blockquote": "3.30.2",
67
+ "@tiptap/extension-bold": "3.30.2",
68
+ "@tiptap/extension-bullet-list": "3.30.2",
69
+ "@tiptap/extension-code": "3.30.2",
70
+ "@tiptap/extension-code-block": "3.30.2",
71
+ "@tiptap/extension-document": "3.30.2",
72
+ "@tiptap/extension-dropcursor": "3.30.2",
73
+ "@tiptap/extension-emoji": "3.30.2",
74
+ "@tiptap/extension-focus": "3.30.2",
75
+ "@tiptap/extension-gapcursor": "3.30.2",
76
+ "@tiptap/extension-hard-break": "3.30.2",
77
+ "@tiptap/extension-heading": "3.30.2",
78
+ "@tiptap/extension-highlight": "3.30.2",
79
+ "@tiptap/extension-horizontal-rule": "3.30.2",
80
+ "@tiptap/extension-image": "3.30.2",
81
+ "@tiptap/extension-italic": "3.30.2",
82
+ "@tiptap/extension-link": "3.30.2",
83
+ "@tiptap/extension-list": "3.30.2",
84
+ "@tiptap/extension-list-item": "3.30.2",
85
+ "@tiptap/extension-list-keymap": "3.30.2",
86
+ "@tiptap/extension-mathematics": "3.30.2",
87
+ "@tiptap/extension-ordered-list": "3.30.2",
88
+ "@tiptap/extension-paragraph": "3.30.2",
89
+ "@tiptap/extension-placeholder": "3.30.2",
90
+ "@tiptap/extension-strike": "3.30.2",
91
+ "@tiptap/extension-table": "3.30.2",
92
+ "@tiptap/extension-table-cell": "3.30.2",
93
+ "@tiptap/extension-table-header": "3.30.2",
94
+ "@tiptap/extension-table-row": "3.30.2",
95
+ "@tiptap/extension-task-item": "3.30.2",
96
+ "@tiptap/extension-task-list": "3.30.2",
97
+ "@tiptap/extension-text": "3.30.2",
98
+ "@tiptap/extension-typography": "3.30.2",
99
+ "@tiptap/extension-underline": "3.30.2",
100
+ "@tiptap/extensions": "3.30.2",
101
+ "@tiptap/pm": "3.30.2",
102
+ "@tiptap/starter-kit": "3.30.2",
103
103
  "@types/lodash": "^4.17.25",
104
104
  "@types/node": "^24.13.3",
105
105
  "@types/react": "^19.2.18",
106
106
  "@types/react-dom": "^19.2.4",
107
107
  "@types/turndown": "^5.0.6",
108
- "@vitejs/plugin-react": "^6.0.5",
108
+ "@vitejs/plugin-react": "^6.1.0",
109
109
  "glob": "^13.0.6",
110
110
  "jsdom": "^30.0.1",
111
111
  "lodash": "^4.18.1",
112
- "oxfmt": "^0.63.0",
113
- "oxlint": "^1.78.0",
112
+ "oxfmt": "^0.64.0",
113
+ "oxlint": "^1.79.0",
114
114
  "typescript": "~7.0.2",
115
- "vite": "^8.2.1",
115
+ "vite": "^8.2.2",
116
116
  "vite-plugin-lib-inject-css": "^2.2.2",
117
- "vitest": "^4.1.10"
117
+ "vitest": "^4.1.11"
118
118
  },
119
119
  "peerDependencies": {
120
120
  "@radix-ui/themes": ">=3.3.0",
121
- "@tiptap/pm": "3.30.1",
121
+ "@tiptap/pm": "3.30.2",
122
122
  "react": ">=18.3.1 <20.0.0",
123
123
  "react-dom": ">=18.3.1 <20.0.0"
124
124
  },