@blocknote/xl-docx-exporter 0.33.0 → 0.35.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.
@@ -1 +1 @@
1
- {"builtAt":1751535611974,"assets":[{"name":"blocknote-xl-docx-exporter.cjs","size":8339},{"name":"Inter_18pt-Regular-CCMUw8TC.cjs","size":457096},{"name":"GeistMono-Regular--NrcstcO.cjs","size":155187},{"name":"index-B-FmPo2r.cjs","size":28104},{"name":"styles-C7c5RlKz.cjs","size":55568},{"name":"styles-C7c5RlKz.cjs.map","size":72356},{"name":"index-B-FmPo2r.cjs.map","size":109769},{"name":"GeistMono-Regular--NrcstcO.cjs.map","size":155239},{"name":"Inter_18pt-Regular-CCMUw8TC.cjs.map","size":457156},{"name":"blocknote-xl-docx-exporter.cjs.map","size":35033}],"chunks":[{"id":"a1ee98a","entry":true,"initial":true,"files":["blocknote-xl-docx-exporter.cjs"],"names":["blocknote-xl-docx-exporter"]},{"id":"b6f14fb","entry":false,"initial":false,"files":["Inter_18pt-Regular-CCMUw8TC.cjs"],"names":["Inter_18pt-Regular"]},{"id":"642be88","entry":false,"initial":false,"files":["GeistMono-Regular--NrcstcO.cjs"],"names":["GeistMono-Regular"]},{"id":"d3d6f02","entry":false,"initial":false,"files":["index-B-FmPo2r.cjs"],"names":["index"]},{"id":"714dba6","entry":false,"initial":false,"files":["styles-C7c5RlKz.cjs"],"names":["styles"]}],"modules":[{"name":"../../shared/util/imageUtil.ts","size":592,"chunks":["a1ee98a"]},{"name":"./src/docx/util/Table.tsx","size":2384,"chunks":["a1ee98a"]},{"name":"./src/docx/defaultSchema/blocks.ts","size":5923,"chunks":["a1ee98a"]},{"name":"./src/docx/defaultSchema/inlinecontent.ts","size":363,"chunks":["a1ee98a"]},{"name":"./src/docx/defaultSchema/styles.ts","size":941,"chunks":["a1ee98a"]},{"name":"./src/docx/defaultSchema/index.ts","size":203,"chunks":["a1ee98a"]},{"name":"../../shared/api/corsProxy.ts","size":139,"chunks":["a1ee98a"]},{"name":"../../shared/util/fileUtil.ts","size":214,"chunks":["a1ee98a"]},{"name":"./src/docx/docxExporter.ts","size":5308,"chunks":["a1ee98a"]},{"name":"./src/index.ts","size":0,"chunks":["a1ee98a"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Regular.ttf","size":456958,"chunks":["b6f14fb"]},{"name":"../../shared/assets/fonts/GeistMono-Regular.ttf","size":155049,"chunks":["642be88"]},{"name":"../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js?commonjs-exports","size":16,"chunks":["d3d6f02"]},{"name":"../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js?commonjs-exports","size":18,"chunks":["d3d6f02"]},{"name":"../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js","size":3969,"chunks":["d3d6f02"]},{"name":"../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js?commonjs-exports","size":17,"chunks":["d3d6f02"]},{"name":"../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js","size":2201,"chunks":["d3d6f02"]},{"name":"../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js","size":60535,"chunks":["d3d6f02"]},{"name":"./src/docx/template/word/styles.xml?raw","size":59368,"chunks":["714dba6"]}]}
1
+ {"builtAt":1753435061556,"assets":[{"name":"blocknote-xl-docx-exporter.cjs","size":8811},{"name":"Inter_18pt-Regular-CCMUw8TC.cjs","size":457096},{"name":"GeistMono-Regular--NrcstcO.cjs","size":155187},{"name":"index-B-FmPo2r.cjs","size":28104},{"name":"styles-C7c5RlKz.cjs","size":55568},{"name":"styles-C7c5RlKz.cjs.map","size":72356},{"name":"GeistMono-Regular--NrcstcO.cjs.map","size":155239},{"name":"index-B-FmPo2r.cjs.map","size":109769},{"name":"Inter_18pt-Regular-CCMUw8TC.cjs.map","size":457156},{"name":"blocknote-xl-docx-exporter.cjs.map","size":37372}],"chunks":[{"id":"a1ee98a","entry":true,"initial":true,"files":["blocknote-xl-docx-exporter.cjs"],"names":["blocknote-xl-docx-exporter"]},{"id":"b6f14fb","entry":false,"initial":false,"files":["Inter_18pt-Regular-CCMUw8TC.cjs"],"names":["Inter_18pt-Regular"]},{"id":"642be88","entry":false,"initial":false,"files":["GeistMono-Regular--NrcstcO.cjs"],"names":["GeistMono-Regular"]},{"id":"d3d6f02","entry":false,"initial":false,"files":["index-B-FmPo2r.cjs"],"names":["index"]},{"id":"714dba6","entry":false,"initial":false,"files":["styles-C7c5RlKz.cjs"],"names":["styles"]}],"modules":[{"name":"../../shared/util/imageUtil.ts","size":592,"chunks":["a1ee98a"]},{"name":"./src/docx/util/Table.tsx","size":2384,"chunks":["a1ee98a"]},{"name":"./src/docx/defaultSchema/blocks.ts","size":7146,"chunks":["a1ee98a"]},{"name":"./src/docx/defaultSchema/inlinecontent.ts","size":363,"chunks":["a1ee98a"]},{"name":"./src/docx/defaultSchema/styles.ts","size":941,"chunks":["a1ee98a"]},{"name":"./src/docx/defaultSchema/index.ts","size":203,"chunks":["a1ee98a"]},{"name":"../../shared/api/corsProxy.ts","size":139,"chunks":["a1ee98a"]},{"name":"../../shared/util/fileUtil.ts","size":214,"chunks":["a1ee98a"]},{"name":"./src/docx/docxExporter.ts","size":5254,"chunks":["a1ee98a"]},{"name":"./src/index.ts","size":0,"chunks":["a1ee98a"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Regular.ttf","size":456958,"chunks":["b6f14fb"]},{"name":"../../shared/assets/fonts/GeistMono-Regular.ttf","size":155049,"chunks":["642be88"]},{"name":"../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js?commonjs-exports","size":16,"chunks":["d3d6f02"]},{"name":"../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js?commonjs-exports","size":18,"chunks":["d3d6f02"]},{"name":"../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js","size":3969,"chunks":["d3d6f02"]},{"name":"../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js?commonjs-exports","size":17,"chunks":["d3d6f02"]},{"name":"../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js","size":2201,"chunks":["d3d6f02"]},{"name":"../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js","size":60535,"chunks":["d3d6f02"]},{"name":"./src/docx/template/word/styles.xml?raw","size":59368,"chunks":["714dba6"]}]}
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "directory": "packages/xl-docx-exporter"
10
10
  },
11
11
  "license": "AGPL-3.0 OR PROPRIETARY",
12
- "version": "0.33.0",
12
+ "version": "0.35.0",
13
13
  "files": [
14
14
  "dist",
15
15
  "types",
@@ -49,14 +49,15 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@blocknote/core": "0.33.0",
52
+ "@blocknote/core": "0.35.0",
53
+ "@blocknote/xl-multi-column": "0.35.0",
53
54
  "buffer": "^6.0.3",
54
55
  "docx": "^9.0.2",
55
56
  "image-meta": "^0.2.1"
56
57
  },
57
58
  "devDependencies": {
58
- "@types/react": "^18.0.25",
59
- "@types/react-dom": "^18.0.9",
59
+ "@types/react": "^19.1.0",
60
+ "@types/react-dom": "^19.1.0",
60
61
  "@zip.js/zip.js": "^2.7.57",
61
62
  "eslint": "^8.10.0",
62
63
  "rollup-plugin-webpack-stats": "^0.2.2",
@@ -65,8 +66,8 @@
65
66
  "vite-plugin-eslint": "^1.8.1",
66
67
  "vitest": "^2.0.3",
67
68
  "xml-formatter": "^3.6.3",
68
- "react": "^18.3.1",
69
- "react-dom": "^18.3.1"
69
+ "react": "^19.1.0",
70
+ "react-dom": "^19.1.0"
70
71
  },
71
72
  "peerDependencies": {
72
73
  "react": "^18.0 || ^19.0 || >= 19.0.0-rc",
@@ -418,7 +418,7 @@
418
418
  </pic:cNvPicPr>
419
419
  </pic:nvPicPr>
420
420
  <pic:blipFill>
421
- <a:blip r:embed="rId7" cstate="none"/>
421
+ <a:blip r:embed="rId6" cstate="none"/>
422
422
  <a:srcRect/>
423
423
  <a:stretch>
424
424
  <a:fillRect/>
@@ -471,7 +471,7 @@
471
471
  </pic:cNvPicPr>
472
472
  </pic:nvPicPr>
473
473
  <pic:blipFill>
474
- <a:blip r:embed="rId7" cstate="none"/>
474
+ <a:blip r:embed="rId6" cstate="none"/>
475
475
  <a:srcRect/>
476
476
  <a:stretch>
477
477
  <a:fillRect/>
@@ -7,7 +7,6 @@
7
7
  <Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" Target="comments.xml"/>
8
8
  <Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" Target="header1.xml"/>
9
9
  <Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" Target="footer1.xml"/>
10
- <Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" Target="fontTable.xml"/>
11
10
  <Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="" TargetMode="External"/>
12
11
  <Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm" TargetMode="External"/>
13
12
  <Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3" TargetMode="External"/>
@@ -0,0 +1,113 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
+ <w:document mc:Ignorable="w14 w15 wp14" xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" xmlns:cx2="http://schemas.microsoft.com/office/drawing/2015/10/21/chartex" xmlns:cx3="http://schemas.microsoft.com/office/drawing/2016/5/9/chartex" xmlns:cx4="http://schemas.microsoft.com/office/drawing/2016/5/10/chartex" xmlns:cx5="http://schemas.microsoft.com/office/drawing/2016/5/11/chartex" xmlns:cx6="http://schemas.microsoft.com/office/drawing/2016/5/12/chartex" xmlns:cx7="http://schemas.microsoft.com/office/drawing/2016/5/13/chartex" xmlns:cx8="http://schemas.microsoft.com/office/drawing/2016/5/14/chartex" xmlns:aink="http://schemas.microsoft.com/office/drawing/2016/ink" xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex">
3
+ <w:body>
4
+ <w:tbl>
5
+ <w:tblPr>
6
+ <w:tblW w:type="auto" w:w="100"/>
7
+ <w:tblBorders>
8
+ <w:top w:val="nil"/>
9
+ <w:left w:val="nil"/>
10
+ <w:bottom w:val="nil"/>
11
+ <w:right w:val="nil"/>
12
+ <w:insideH w:val="nil"/>
13
+ <w:insideV w:val="nil"/>
14
+ </w:tblBorders>
15
+ <w:tblLayout w:type="autofit"/>
16
+ </w:tblPr>
17
+ <w:tblGrid>
18
+ <w:gridCol w:w="100"/>
19
+ <w:gridCol w:w="100"/>
20
+ <w:gridCol w:w="100"/>
21
+ </w:tblGrid>
22
+ <w:tr>
23
+ <w:tc>
24
+ <w:tcPr>
25
+ <w:tcW w:type="pct" w:w="26.666666666666668%"/>
26
+ </w:tcPr>
27
+ <w:p>
28
+ <w:pPr>
29
+ <w:pStyle w:val="Normal"/>
30
+ <w:rPr>
31
+ <w:rFonts w:ascii="Inter" w:cs="Inter" w:eastAsia="Inter" w:hAnsi="Inter"/>
32
+ </w:rPr>
33
+ </w:pPr>
34
+ <w:r>
35
+ <w:t xml:space="preserve">This paragraph is in a column!</w:t>
36
+ </w:r>
37
+ </w:p>
38
+ </w:tc>
39
+ <w:tc>
40
+ <w:tcPr>
41
+ <w:tcW w:type="pct" w:w="46.666666666666664%"/>
42
+ </w:tcPr>
43
+ <w:p>
44
+ <w:pPr>
45
+ <w:pStyle w:val="Heading1"/>
46
+ </w:pPr>
47
+ <w:r>
48
+ <w:t xml:space="preserve">So is this heading!</w:t>
49
+ </w:r>
50
+ </w:p>
51
+ </w:tc>
52
+ <w:tc>
53
+ <w:tcPr>
54
+ <w:tcW w:type="pct" w:w="26.666666666666668%"/>
55
+ </w:tcPr>
56
+ <w:p>
57
+ <w:pPr>
58
+ <w:pStyle w:val="Normal"/>
59
+ <w:rPr>
60
+ <w:rFonts w:ascii="Inter" w:cs="Inter" w:eastAsia="Inter" w:hAnsi="Inter"/>
61
+ </w:rPr>
62
+ </w:pPr>
63
+ <w:r>
64
+ <w:t xml:space="preserve">You can have multiple blocks in a column too</w:t>
65
+ </w:r>
66
+ </w:p>
67
+ <w:p>
68
+ <w:pPr>
69
+ <w:pStyle w:val="ListParagraph"/>
70
+ <w:numPr>
71
+ <w:ilvl w:val="2"/>
72
+ <w:numId w:val="2"/>
73
+ </w:numPr>
74
+ </w:pPr>
75
+ <w:r>
76
+ <w:t xml:space="preserve">Block 1</w:t>
77
+ </w:r>
78
+ </w:p>
79
+ <w:p>
80
+ <w:pPr>
81
+ <w:pStyle w:val="ListParagraph"/>
82
+ <w:numPr>
83
+ <w:ilvl w:val="2"/>
84
+ <w:numId w:val="2"/>
85
+ </w:numPr>
86
+ </w:pPr>
87
+ <w:r>
88
+ <w:t xml:space="preserve">Block 2</w:t>
89
+ </w:r>
90
+ </w:p>
91
+ <w:p>
92
+ <w:pPr>
93
+ <w:pStyle w:val="ListParagraph"/>
94
+ <w:numPr>
95
+ <w:ilvl w:val="2"/>
96
+ <w:numId w:val="2"/>
97
+ </w:numPr>
98
+ </w:pPr>
99
+ <w:r>
100
+ <w:t xml:space="preserve">Block 3</w:t>
101
+ </w:r>
102
+ </w:p>
103
+ </w:tc>
104
+ </w:tr>
105
+ </w:tbl>
106
+ <w:sectPr>
107
+ <w:pgSz w:w="11906" w:h="16838" w:orient="portrait"/>
108
+ <w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="708" w:footer="708" w:gutter="0"/>
109
+ <w:pgNumType/>
110
+ <w:docGrid w:linePitch="360"/>
111
+ </w:sectPr>
112
+ </w:body>
113
+ </w:document>