@eigenpal/docx-js-editor 0.0.25 → 0.0.27

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 (79) hide show
  1. package/README.md +6 -5
  2. package/dist/{ClipboardManager-Bbo5MM_U.d.cts → ClipboardManager-BYO62Qs5.d.cts} +1 -1
  3. package/dist/{ClipboardManager-CR843H7H.d.ts → ClipboardManager-YQYq5X_Z.d.ts} +1 -1
  4. package/dist/{DocumentAgent-lHtXgMFN.d.ts → DocumentAgent-BW1-gnqM.d.ts} +1 -1
  5. package/dist/{DocumentAgent-cHf96hwL.d.cts → DocumentAgent-ZcA8CUmC.d.cts} +1 -1
  6. package/dist/{agentApi-DmDuQm0e.d.cts → agentApi-B0688ssC.d.cts} +6 -0
  7. package/dist/{agentApi-DmDuQm0e.d.ts → agentApi-B0688ssC.d.ts} +6 -0
  8. package/dist/{chunk-R56SLH64.js → chunk-4XF5YD4I.js} +4 -4
  9. package/dist/chunk-76GITSCY.cjs +258 -0
  10. package/dist/chunk-7YCCCWUZ.cjs +3 -0
  11. package/dist/{chunk-6TUCNECX.js → chunk-ABNIHWGF.js} +1 -1
  12. package/dist/{chunk-PIVLDW7B.cjs → chunk-CL62W2HQ.cjs} +7 -7
  13. package/dist/chunk-E7U5ZBOK.js +3 -0
  14. package/dist/{chunk-3C2VHZX6.cjs → chunk-EUH3GF72.cjs} +4 -4
  15. package/dist/chunk-H7AKDCWH.js +258 -0
  16. package/dist/{chunk-5ILXHRJS.cjs → chunk-J5YOIHCW.cjs} +2 -2
  17. package/dist/chunk-JO2CKU4O.js +1 -0
  18. package/dist/chunk-MHUCHYNM.cjs +59 -0
  19. package/dist/{chunk-KL2RYY6G.cjs → chunk-NKW2UER2.cjs} +2 -2
  20. package/dist/chunk-OJ7NJK46.cjs +1 -0
  21. package/dist/chunk-PP54GVGD.js +59 -0
  22. package/dist/{chunk-JIKVCUR6.js → chunk-T2SRPPZY.js} +1 -1
  23. package/dist/{chunk-3X3LTNK4.js → chunk-YP3CXYSU.js} +7 -7
  24. package/dist/{clipboard-DriRE6eS.d.ts → clipboard-D0EG6AxE.d.ts} +2 -155
  25. package/dist/{clipboard-Bj2X5pLO.d.cts → clipboard-Da1iPK0O.d.cts} +2 -155
  26. package/dist/{colorResolver-yl7Xh_Qg.d.cts → colorResolver-DR1p8Eg-.d.cts} +2 -2
  27. package/dist/{colorResolver-BTTqW66Q.d.ts → colorResolver-Dk7bMHIa.d.ts} +2 -2
  28. package/dist/core-plugins-reexport.cjs +1 -1
  29. package/dist/core-plugins-reexport.d.cts +4 -4
  30. package/dist/core-plugins-reexport.d.ts +4 -4
  31. package/dist/core-plugins-reexport.js +1 -1
  32. package/dist/core-reexport.cjs +1 -1
  33. package/dist/core-reexport.d.cts +10 -10
  34. package/dist/core-reexport.d.ts +10 -10
  35. package/dist/core-reexport.js +1 -1
  36. package/dist/{fontLoader-Daq8y8C2.d.cts → fontLoader-54sS8rtN.d.cts} +1 -1
  37. package/dist/{fontLoader-DQJOS1sb.d.ts → fontLoader-C7RvUiHx.d.ts} +1 -1
  38. package/dist/headless-reexport.cjs +2 -2
  39. package/dist/headless-reexport.d.cts +7 -7
  40. package/dist/headless-reexport.d.ts +7 -7
  41. package/dist/headless-reexport.js +1 -1
  42. package/dist/index.cjs +6 -6
  43. package/dist/index.d.cts +98 -15
  44. package/dist/index.d.ts +98 -15
  45. package/dist/index.js +6 -6
  46. package/dist/mcp-reexport.cjs +3 -3
  47. package/dist/mcp-reexport.d.cts +2 -2
  48. package/dist/mcp-reexport.d.ts +2 -2
  49. package/dist/mcp-reexport.js +1 -1
  50. package/dist/{react-BYRZYSPG.d.cts → react-C_O0Z9ci.d.ts} +20 -12
  51. package/dist/{react-Bj9uDtjg.d.ts → react-XjilVrXZ.d.cts} +20 -12
  52. package/dist/react.cjs +1 -1
  53. package/dist/react.d.cts +5 -5
  54. package/dist/react.d.ts +5 -5
  55. package/dist/react.js +1 -1
  56. package/dist/{registry-C2DPl-QW.d.ts → registry-BHOeZbR9.d.ts} +1 -1
  57. package/dist/{registry-CXGC344v.d.cts → registry-CqFFeBgF.d.cts} +1 -1
  58. package/dist/selectionRects-BMXJJCPJ.cjs +1 -0
  59. package/dist/selectionRects-TWK7CAC3.js +1 -0
  60. package/dist/styles.css +1 -1
  61. package/dist/{types-BpokDLqL.d.ts → types-BwCYaZKB.d.ts} +1 -1
  62. package/dist/{types-COQvtZji.d.cts → types-DAxXgYu5.d.cts} +1 -1
  63. package/dist/ui.cjs +1 -1
  64. package/dist/ui.d.cts +6 -5
  65. package/dist/ui.d.ts +6 -5
  66. package/dist/ui.js +1 -1
  67. package/dist/{variableDetector-BYzE_RXw.d.ts → variableDetector-B2FHghLx.d.ts} +1 -1
  68. package/dist/{variableDetector-C8ST_dnq.d.cts → variableDetector-DIeB1Nxd.d.cts} +1 -1
  69. package/package.json +2 -2
  70. package/dist/chunk-2JOQ7WKO.js +0 -258
  71. package/dist/chunk-4CUGBNL2.cjs +0 -1
  72. package/dist/chunk-5GFXHUMP.js +0 -1
  73. package/dist/chunk-C6ELWJWO.js +0 -3
  74. package/dist/chunk-I5YZ4MRV.cjs +0 -3
  75. package/dist/chunk-PGEORVCG.js +0 -59
  76. package/dist/chunk-PUVSVHHB.cjs +0 -59
  77. package/dist/chunk-RHLMVYVZ.cjs +0 -258
  78. package/dist/selectionRects-7QU337P5.cjs +0 -1
  79. package/dist/selectionRects-V5RC2BYX.js +0 -1
package/README.md CHANGED
@@ -8,17 +8,18 @@
8
8
  <a href="https://www.npmjs.com/package/@eigenpal/docx-js-editor"><img src="https://img.shields.io/npm/v/@eigenpal/docx-js-editor.svg?style=flat-square&color=00C853" alt="npm version" /></a>
9
9
  <a href="https://www.npmjs.com/package/@eigenpal/docx-js-editor"><img src="https://img.shields.io/npm/dm/@eigenpal/docx-js-editor.svg?style=flat-square&color=00C853" alt="npm downloads" /></a>
10
10
  <a href="https://github.com/eigenpal/docx-js-editor/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square&color=00C853" alt="license" /></a>
11
- <a href="https://demo.docx-editor.dev/"><img src="https://img.shields.io/badge/Live_Demo-00C853?style=flat-square&logo=vercel&logoColor=white" alt="Live Demo" /></a>
11
+ <a href="https://docx-editor.dev/editor"><img src="https://img.shields.io/badge/Live_Demo-00C853?style=flat-square&logo=vercel&logoColor=white" alt="Live Demo" /></a>
12
+ <a href="https://www.docx-editor.dev/docs"><img src="https://img.shields.io/badge/Docs-00C853?style=flat-square&logo=readthedocs&logoColor=white" alt="Documentation" /></a>
12
13
  </p>
13
14
 
14
15
  # @eigenpal/docx-js-editor
15
16
 
16
- Open-source WYSIWYG DOCX editor for the browser. No server required. **[Live demo](https://demo.docx-editor.dev/)**
17
+ Open-source WYSIWYG DOCX editor for the browser. No server required. **[Live demo](https://docx-editor.dev/editor)** | **[Documentation](https://www.docx-editor.dev/docs)**
17
18
 
18
19
  For AI agents: see the [Agent Reference](https://raw.githubusercontent.com/eigenpal/docx-editor/main/AGENTS_README.md) for comprehensive API docs, code examples, and integration patterns.
19
20
 
20
21
  <p align="center">
21
- <a href="https://demo.docx-editor.dev/">
22
+ <a href="https://docx-editor.dev/editor">
22
23
  <img src="https://raw.githubusercontent.com/eigenpal/docx-js-editor/main/assets/editor.png" alt="DOCX JS Editor screenshot" width="700" />
23
24
  </a>
24
25
  </p>
@@ -65,7 +66,7 @@ import { DocxEditor, PluginHost, templatePlugin } from '@eigenpal/docx-js-editor
65
66
  </PluginHost>;
66
67
  ```
67
68
 
68
- See [docs/PLUGINS.md](https://github.com/eigenpal/docx-js-editor/blob/main/docs/PLUGINS.md) for the full plugin API.
69
+ See the [plugin documentation](https://www.docx-editor.dev/docs/plugins) for the full plugin API.
69
70
 
70
71
  ## Development
71
72
 
@@ -78,7 +79,7 @@ bun run typecheck
78
79
 
79
80
  Examples: [Vite](https://github.com/eigenpal/docx-js-editor/tree/main/examples/vite) | [Next.js](https://github.com/eigenpal/docx-js-editor/tree/main/examples/nextjs) | [Remix](https://github.com/eigenpal/docx-js-editor/tree/main/examples/remix) | [Astro](https://github.com/eigenpal/docx-js-editor/tree/main/examples/astro) | [Vue](https://github.com/eigenpal/docx-js-editor/tree/main/examples/vue)
80
81
 
81
- **[Props & Ref Methods](https://github.com/eigenpal/docx-js-editor/blob/main/docs/PROPS.md)** | **[Plugins](https://github.com/eigenpal/docx-js-editor/blob/main/docs/PLUGINS.md)** | **[Architecture](https://github.com/eigenpal/docx-js-editor/blob/main/docs/ARCHITECTURE.md)**
82
+ **[Documentation](https://www.docx-editor.dev/docs)** | **[Props & Ref Methods](https://www.docx-editor.dev/docs/props)** | **[Plugins](https://www.docx-editor.dev/docs/plugins)** | **[Architecture](https://www.docx-editor.dev/docs/architecture)**
82
83
 
83
84
  ## License
84
85
 
@@ -1,7 +1,7 @@
1
1
  import { Plugin } from 'prosemirror-state';
2
2
  import { EditorView } from 'prosemirror-view';
3
3
  import { Node } from 'prosemirror-model';
4
- import { D as Document, e as Table, b as Run } from './agentApi-DmDuQm0e.cjs';
4
+ import { D as Document, e as Table, b as Run } from './agentApi-B0688ssC.cjs';
5
5
 
6
6
  /**
7
7
  * Framework-Agnostic Plugin Interface for the DOCX Editor
@@ -1,7 +1,7 @@
1
1
  import { Plugin } from 'prosemirror-state';
2
2
  import { EditorView } from 'prosemirror-view';
3
3
  import { Node } from 'prosemirror-model';
4
- import { D as Document, e as Table, b as Run } from './agentApi-DmDuQm0e.js';
4
+ import { D as Document, e as Table, b as Run } from './agentApi-B0688ssC.js';
5
5
 
6
6
  /**
7
7
  * Framework-Agnostic Plugin Interface for the DOCX Editor
@@ -1,4 +1,4 @@
1
- import { D as Document, T as TextFormatting, O as StyleInfo, h as AgentContext, P as Position, R as Range, w as ParagraphFormatting, A as AgentCommand } from './agentApi-DmDuQm0e.js';
1
+ import { D as Document, T as TextFormatting, O as StyleInfo, h as AgentContext, P as Position, R as Range, w as ParagraphFormatting, A as AgentCommand } from './agentApi-B0688ssC.js';
2
2
 
3
3
  /**
4
4
  * Selective Save Module
@@ -1,4 +1,4 @@
1
- import { D as Document, T as TextFormatting, O as StyleInfo, h as AgentContext, P as Position, R as Range, w as ParagraphFormatting, A as AgentCommand } from './agentApi-DmDuQm0e.cjs';
1
+ import { D as Document, T as TextFormatting, O as StyleInfo, h as AgentContext, P as Position, R as Range, w as ParagraphFormatting, A as AgentCommand } from './agentApi-B0688ssC.cjs';
2
2
 
3
3
  /**
4
4
  * Selective Save Module
@@ -520,6 +520,12 @@ interface ListRendering {
520
520
  isBullet: boolean;
521
521
  /** Number format type (decimal, lowerRoman, upperRoman, etc.) */
522
522
  numFmt?: NumberFormat;
523
+ /** Whether the list marker is hidden (w:vanish on level rPr) */
524
+ markerHidden?: boolean;
525
+ /** Marker font family from numbering level rPr (ascii name) */
526
+ markerFontFamily?: string;
527
+ /** Marker font size from numbering level rPr, in points */
528
+ markerFontSize?: number;
523
529
  }
524
530
  /**
525
531
  * Complete numbering definitions
@@ -520,6 +520,12 @@ interface ListRendering {
520
520
  isBullet: boolean;
521
521
  /** Number format type (decimal, lowerRoman, upperRoman, etc.) */
522
522
  numFmt?: NumberFormat;
523
+ /** Whether the list marker is hidden (w:vanish on level rPr) */
524
+ markerHidden?: boolean;
525
+ /** Marker font family from numbering level rPr (ascii name) */
526
+ markerFontFamily?: string;
527
+ /** Marker font size from numbering level rPr, in points */
528
+ markerFontSize?: number;
523
529
  }
524
530
  /**
525
531
  * Complete numbering definitions