docxodus 9.1.1 → 9.3.0

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 +39 -18
  2. package/dist/editor-reconcile.d.ts +5 -0
  3. package/dist/editor-reconcile.d.ts.map +1 -1
  4. package/dist/editor-reconcile.js +23 -2
  5. package/dist/editor-reconcile.js.map +1 -1
  6. package/dist/editor.bundle.js +5099 -283
  7. package/dist/editor.d.ts +112 -0
  8. package/dist/editor.d.ts.map +1 -1
  9. package/dist/editor.js +742 -55
  10. package/dist/editor.js.map +1 -1
  11. package/dist/embed.bundle.js +5215 -331
  12. package/dist/embed.d.ts +25 -0
  13. package/dist/embed.d.ts.map +1 -1
  14. package/dist/embed.iife.js +5201 -330
  15. package/dist/embed.js +77 -0
  16. package/dist/embed.js.map +1 -1
  17. package/dist/index.d.ts +2 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +4 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/ribbon-chrome.d.ts +45 -0
  22. package/dist/ribbon-chrome.d.ts.map +1 -0
  23. package/dist/ribbon-chrome.js +965 -0
  24. package/dist/ribbon-chrome.js.map +1 -0
  25. package/dist/ribbon.d.ts +153 -0
  26. package/dist/ribbon.d.ts.map +1 -0
  27. package/dist/ribbon.js +834 -0
  28. package/dist/ribbon.js.map +1 -0
  29. package/dist/session.bundle.js +6 -0
  30. package/dist/session.d.ts +2 -0
  31. package/dist/session.d.ts.map +1 -1
  32. package/dist/session.js +4 -0
  33. package/dist/session.js.map +1 -1
  34. package/dist/types.d.ts +10 -0
  35. package/dist/types.d.ts.map +1 -1
  36. package/dist/types.js.map +1 -1
  37. package/dist/wasm/_framework/Docxodus.wasm +0 -0
  38. package/dist/wasm/_framework/Docxodus.wasm.br +0 -0
  39. package/dist/wasm/_framework/DocxodusWasm.wasm +0 -0
  40. package/dist/wasm/_framework/DocxodusWasm.wasm.br +0 -0
  41. package/dist/wasm/_framework/dotnet.boot.js +3 -3
  42. package/dist/wasm/_framework/dotnet.boot.js.br +0 -0
  43. package/package.json +7 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docxodus",
3
- "version": "9.1.1",
3
+ "version": "9.3.0",
4
4
  "description": "Render, edit, diff and project Word .docx files in the browser — DOCX to HTML, a block editor, Word-grade redlines with tracked changes, and anchor-addressed markdown for LLM agents. WebAssembly, no server.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -46,11 +46,11 @@
46
46
  "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.tests.json",
47
47
  "build:pagination-bundle": "esbuild src/pagination.ts --bundle --format=iife --global-name=DocxodusPagination --outfile=dist/pagination.bundle.js",
48
48
  "build:session-bundle": "esbuild src/session.ts --bundle --format=iife --global-name=DocxodusSession --outfile=dist/session.bundle.js",
49
- "build:editor-bundle": "esbuild src/editor.ts --bundle --format=iife --global-name=DocxodusEditor --outfile=dist/editor.bundle.js",
49
+ "build:editor-bundle": "esbuild src/ribbon.ts --bundle --format=iife --global-name=DocxodusEditor --outfile=dist/editor.bundle.js",
50
50
  "build:embed-bundle": "esbuild src/embed.ts --bundle --format=esm --outfile=dist/embed.bundle.js && esbuild src/embed.ts --bundle --format=iife --global-name=Docxodus --outfile=dist/embed.iife.js",
51
51
  "build:worker-bundle": "esbuild src/docxodus.worker.ts --bundle --format=esm --outfile=dist/docxodus.worker.js && esbuild src/worker-proxy.ts --bundle --format=esm --outfile=dist/worker-proxy.bundle.js",
52
52
  "build": "npm run build:wasm && npm run build:ts && npm run build:pagination-bundle && npm run build:session-bundle && npm run build:editor-bundle && npm run build:embed-bundle && npm run build:worker-bundle",
53
- "pretest": "npm run typecheck && cp tests/test-harness.html dist/wasm/ && cp tests/worker-test-harness.html dist/wasm/ && cp tests/profiling-harness.html dist/wasm/ && cp examples/editor.html dist/wasm/ && cp examples/embed.html dist/wasm/ && cp ../docs/demo/player.html dist/wasm/player.html && cp ../docs/demo/index.html dist/wasm/demo-index.html && cp ../docs/demo/docxodus-demo-guide.docx dist/wasm/docxodus-demo-guide.docx && cp dist/pagination.bundle.js dist/wasm/ && cp dist/session.bundle.js dist/wasm/ && cp dist/editor.bundle.js dist/wasm/ && cp dist/embed.bundle.js dist/wasm/ && cp dist/docxodus.worker.js dist/wasm/ && cp dist/worker-proxy.bundle.js dist/wasm/worker-proxy.js",
53
+ "pretest": "npm run typecheck && cp tests/test-harness.html dist/wasm/ && cp tests/worker-test-harness.html dist/wasm/ && cp tests/profiling-harness.html dist/wasm/ && cp examples/editor.html dist/wasm/ && cp examples/embed.html dist/wasm/ && cp ../docs/demo/player.html dist/wasm/player.html && cp ../docs/demo/index.html dist/wasm/demo-index.html && cp ../docs/demo/app.html dist/wasm/demo-app.html && cp ../docs/demo/docxodus-demo-guide.docx dist/wasm/docxodus-demo-guide.docx && cp dist/pagination.bundle.js dist/wasm/ && cp dist/session.bundle.js dist/wasm/ && cp dist/editor.bundle.js dist/wasm/ && cp dist/embed.bundle.js dist/wasm/ && cp dist/docxodus.worker.js dist/wasm/ && cp dist/worker-proxy.bundle.js dist/wasm/worker-proxy.js",
54
54
  "test": "playwright test",
55
55
  "test:ui": "playwright test --ui",
56
56
  "demo": "npm run build && npm run demo:serve",
@@ -105,5 +105,9 @@
105
105
  "@types/react": "^19.2.7",
106
106
  "esbuild": "^0.28.1",
107
107
  "typescript": "^5.3.0"
108
+ },
109
+ "dependencies": {
110
+ "@atlaskit/pragmatic-drag-and-drop": "^2.0.2",
111
+ "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.0.0"
108
112
  }
109
113
  }