@pretextbook/web-editor 0.0.14 → 0.0.16

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 (42) hide show
  1. package/README.md +0 -0
  2. package/dist/App.d.ts +5 -5
  3. package/dist/components/BubbleMenu.d.ts +0 -0
  4. package/dist/components/CodeEditor.d.ts +0 -0
  5. package/dist/components/CodeEditorMenu.d.ts +2 -2
  6. package/dist/components/Editors.d.ts +1 -1
  7. package/dist/components/FloatingMenu.d.ts +0 -0
  8. package/dist/components/FullPreview.d.ts +1 -1
  9. package/dist/components/MenuBar.d.ts +1 -1
  10. package/dist/components/TheoremLike.d.ts +0 -0
  11. package/dist/components/TiptapMenuBar.d.ts +0 -0
  12. package/dist/components/VisualEditor.d.ts +0 -0
  13. package/dist/defaultContent.d.ts +0 -0
  14. package/dist/extensions/AxiomLike.d.ts +0 -0
  15. package/dist/extensions/Blocks.d.ts +0 -0
  16. package/dist/extensions/Definition.d.ts +0 -0
  17. package/dist/extensions/Divisions.d.ts +0 -0
  18. package/dist/extensions/Emph.d.ts +0 -0
  19. package/dist/extensions/ExampleLike.d.ts +0 -0
  20. package/dist/extensions/Inline.d.ts +0 -0
  21. package/dist/extensions/Keyboard.d.ts +0 -0
  22. package/dist/extensions/Math.d.ts +0 -0
  23. package/dist/extensions/RawPtx.d.ts +0 -0
  24. package/dist/extensions/RemarkLike.d.ts +0 -0
  25. package/dist/extensions/Statement.d.ts +0 -0
  26. package/dist/extensions/TheoremLike.d.ts +0 -0
  27. package/dist/extensions/Title.d.ts +0 -0
  28. package/dist/extensions/UnknownMark.d.ts +0 -0
  29. package/dist/extensions/Url.d.ts +0 -0
  30. package/dist/extensions/getCursorPos.d.ts +0 -0
  31. package/dist/index.d.ts +0 -0
  32. package/dist/index.es.js +14234 -13186
  33. package/dist/index.es.js.map +1 -1
  34. package/dist/index.js +108 -172
  35. package/dist/index.js.map +1 -1
  36. package/dist/json2ptx.d.ts +0 -0
  37. package/dist/knownTags.d.ts +0 -0
  38. package/dist/main.d.ts +1 -1
  39. package/dist/utils.d.ts +0 -0
  40. package/dist/web-editor.css +1 -1
  41. package/package.json +9 -9
  42. package/dist/ptxSourceSlice.d.ts +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pretextbook/web-editor",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "private": false,
5
5
  "description": "A web-based editor for PreTeXt documents, with simple preview functionality",
6
6
  "keywords": [
@@ -8,13 +8,13 @@
8
8
  "editor",
9
9
  "tiptap"
10
10
  ],
11
- "homepage": "https://github.com/oscarlevin/pretext-plus-editor#readme",
11
+ "homepage": "https://github.com/PreTeXtPlus/pretext-plus-editor#readme",
12
12
  "bugs": {
13
- "url": "https://github.com/oscarlevin/pretext-plus-editor/issues"
13
+ "url": "https://github.com/PreTeXtPlus/pretext-plus-editor/issues"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "git+https://github.com/oscarlevin/pretext-plus-editor.git"
17
+ "url": "git+https://github.com/PreTeXtPlus/pretext-plus-editor.git"
18
18
  },
19
19
  "license": "MIT",
20
20
  "author": "Oscar Levin",
@@ -50,7 +50,6 @@
50
50
  "@floating-ui/dom": "^1.7.4",
51
51
  "@monaco-editor/react": "^4.7.0",
52
52
  "@pretextbook/format": "^0.0.5",
53
- "@reduxjs/toolkit": "^2.11.2",
54
53
  "@tailwindcss/vite": "^4.1.18",
55
54
  "@tiptap/extension-code-block": "^3.14.0",
56
55
  "@tiptap/extension-hard-break": "^3.14.0",
@@ -61,11 +60,10 @@
61
60
  "@tiptap/react": "^3.14.0",
62
61
  "hast-util-whitespace": "^3.0.0",
63
62
  "katex": "^0.16.27",
64
- "primeflex": "^4.0.0",
65
- "primeicons": "^7.0.0",
66
63
  "primereact": "^10.9.7",
67
- "react": ">=16.8.0",
68
- "react-dom": ">=16.8.0",
64
+ "react": "^19.0.0",
65
+ "react-dom": "^19.0.0",
66
+ "react-resizable-panels": "^2.1.7",
69
67
  "tailwindcss": "^4.1.18",
70
68
  "unist-util-visit": "^5.0.0",
71
69
  "xast-util-from-xml": "^4.0.0",
@@ -81,6 +79,8 @@
81
79
  "eslint-plugin-react-hooks": "^7.0.1",
82
80
  "eslint-plugin-react-refresh": "^0.4.26",
83
81
  "globals": "^16.5.0",
82
+ "primeflex": "^4.0.0",
83
+ "primeicons": "^7.0.0",
84
84
  "sass-embedded": "^1.97.1",
85
85
  "typescript": "~5.9.3",
86
86
  "typescript-eslint": "^8.50.0",
@@ -1,6 +0,0 @@
1
- export declare const setPtxSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "ptxSource/setPtxSource">;
2
- declare const _default: import("redux").Reducer<{
3
- value: string;
4
- editor: null;
5
- }>;
6
- export default _default;