@blocknote/xl-odt-exporter 0.32.0 → 0.34.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":1750769767348,"assets":[{"name":"blocknote-xl-odt-exporter.umd.cjs","size":699103},{"name":"blocknote-xl-odt-exporter.umd.cjs.map","size":747579}],"chunks":[{"id":"642be88","entry":true,"initial":true,"files":["blocknote-xl-odt-exporter.umd.cjs"],"names":["index"]}],"modules":[{"name":"./src/odt/defaultSchema/blocks.tsx","size":14408,"chunks":["642be88"]},{"name":"./src/odt/defaultSchema/inlineContent.tsx","size":533,"chunks":["642be88"]},{"name":"./src/odt/defaultSchema/styles.ts","size":963,"chunks":["642be88"]},{"name":"./src/odt/defaultSchema/index.ts","size":199,"chunks":["642be88"]},{"name":"../../shared/util/fileUtil.ts","size":214,"chunks":["642be88"]},{"name":"../../shared/util/imageUtil.ts","size":592,"chunks":["642be88"]},{"name":"./src/odt/template/styles.xml?raw","size":76781,"chunks":["642be88"]},{"name":"./src/odt/odtExporter.tsx","size":9974,"chunks":["642be88"]},{"name":"./src/index.ts","size":0,"chunks":["642be88"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Regular.ttf","size":456958,"chunks":["642be88"]},{"name":"../../shared/assets/fonts/GeistMono-Regular.ttf","size":155049,"chunks":["642be88"]}]}
1
+ {"builtAt":1752763408930,"assets":[{"name":"blocknote-xl-odt-exporter.umd.cjs","size":700253},{"name":"blocknote-xl-odt-exporter.umd.cjs.map","size":751215}],"chunks":[{"id":"642be88","entry":true,"initial":true,"files":["blocknote-xl-odt-exporter.umd.cjs"],"names":["index"]}],"modules":[{"name":"./src/odt/defaultSchema/blocks.tsx","size":16273,"chunks":["642be88"]},{"name":"./src/odt/defaultSchema/inlineContent.tsx","size":533,"chunks":["642be88"]},{"name":"./src/odt/defaultSchema/styles.ts","size":963,"chunks":["642be88"]},{"name":"./src/odt/defaultSchema/index.ts","size":199,"chunks":["642be88"]},{"name":"../../shared/util/fileUtil.ts","size":214,"chunks":["642be88"]},{"name":"../../shared/util/imageUtil.ts","size":592,"chunks":["642be88"]},{"name":"./src/odt/template/styles.xml?raw","size":76781,"chunks":["642be88"]},{"name":"./src/odt/odtExporter.tsx","size":10335,"chunks":["642be88"]},{"name":"./src/index.ts","size":0,"chunks":["642be88"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Regular.ttf","size":456958,"chunks":["642be88"]},{"name":"../../shared/assets/fonts/GeistMono-Regular.ttf","size":155049,"chunks":["642be88"]}]}
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "directory": "packages/xl-odt-exporter"
10
10
  },
11
11
  "license": "AGPL-3.0 OR PROPRIETARY",
12
- "version": "0.32.0",
12
+ "version": "0.34.0",
13
13
  "files": [
14
14
  "dist",
15
15
  "types",
@@ -49,23 +49,24 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@blocknote/core": "0.32.0",
52
+ "@blocknote/core": "0.34.0",
53
+ "@blocknote/xl-multi-column": "0.34.0",
53
54
  "@zip.js/zip.js": "^2.7.57",
54
55
  "buffer": "^6.0.3",
55
56
  "image-meta": "^0.2.1"
56
57
  },
57
58
  "devDependencies": {
58
59
  "@testing-library/react": "^16.0.1",
59
- "@types/react": "^18.0.25",
60
- "@types/react-dom": "^18.0.9",
60
+ "@types/react": "^19.1.0",
61
+ "@types/react-dom": "^19.1.0",
61
62
  "rollup-plugin-webpack-stats": "^0.2.2",
62
63
  "typescript": "^5.0.4",
63
64
  "vite": "^5.3.4",
64
65
  "vite-plugin-eslint": "^1.8.1",
65
66
  "vitest": "^2.0.3",
66
67
  "xml-formatter": "^3.6.3",
67
- "react": "^18.3.1",
68
- "react-dom": "^18.3.1"
68
+ "react": "^19.1.0",
69
+ "react-dom": "^19.1.0"
69
70
  },
70
71
  "peerDependencies": {
71
72
  "react": "^18.0 || ^19.0 || >= 19.0.0-rc",
@@ -0,0 +1,91 @@
1
+ <office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" office:version="1.3">
2
+ <office:font-face-decls>
3
+ <style:font-face style:name="Inter 18pt" svg:font-family="Inter 18pt" style:font-pitch="variable">
4
+ <svg:font-face-src>
5
+ <svg:font-face-uri xlink:href="Fonts/Inter_18pt-Regular.ttf" xlink:type="simple" loext:font-style="normal" loext:font-weight="normal">
6
+ <svg:font-face-format svg:string="truetype"></svg:font-face-format>
7
+ </svg:font-face-uri>
8
+ </svg:font-face-src>
9
+ </style:font-face>
10
+ <style:font-face style:name="Geist Mono" svg:font-family="Geist Mono" style:font-pitch="variable">
11
+ <svg:font-face-src>
12
+ <svg:font-face-uri xlink:href="Fonts/GeistMono-Regular.ttf" xlink:type="simple" loext:font-style="normal" loext:font-weight="normal">
13
+ <svg:font-face-format svg:string="truetype"></svg:font-face-format>
14
+ </svg:font-face-uri>
15
+ </svg:font-face-src>
16
+ </style:font-face>
17
+ </office:font-face-decls>
18
+ <office:automatic-styles>
19
+ <style:style style:name="BN_S1" style:family="table-cell">
20
+ <style:table-cell-properties style:writing-mode="lr-tb" fo:border="none" fo:padding-top="0in" fo:padding-left="0.075in" fo:padding-bottom="0in" fo:padding-right="0.075in"></style:table-cell-properties>
21
+ </style:style>
22
+ <style:style style:name="BN_S2" style:family="table-cell">
23
+ <style:table-cell-properties style:writing-mode="lr-tb" fo:border="none" fo:padding-top="0in" fo:padding-left="0.075in" fo:padding-bottom="0in" fo:padding-right="0.075in"></style:table-cell-properties>
24
+ </style:style>
25
+ <style:style style:family="paragraph" style:name="BN_S3" style:parent-style-name="Standard" style:list-style-name="WWNum1"></style:style>
26
+ <style:style style:family="paragraph" style:name="BN_S4" style:parent-style-name="Standard" style:list-style-name="WWNum1"></style:style>
27
+ <style:style style:family="paragraph" style:name="BN_S5" style:parent-style-name="Standard" style:list-style-name="WWNum1"></style:style>
28
+ <style:style style:name="BN_S6" style:family="table-cell">
29
+ <style:table-cell-properties style:writing-mode="lr-tb" fo:border="none" fo:padding-top="0in" fo:padding-left="0.075in" fo:padding-bottom="0in" fo:padding-right="0.075in"></style:table-cell-properties>
30
+ </style:style>
31
+ <style:style style:name="BN_S7" style:family="table">
32
+ <style:table-properties table:align="margins" style:writing-mode="lr-tb"></style:table-properties>
33
+ </style:style>
34
+ <style:style style:name="BN_S8" style:family="table-column">
35
+ <style:table-column-properties style:rel-column-width="80*"></style:table-column-properties>
36
+ </style:style>
37
+ <style:style style:name="BN_S9" style:family="table-column">
38
+ <style:table-column-properties style:rel-column-width="140*"></style:table-column-properties>
39
+ </style:style>
40
+ <style:style style:name="BN_S10" style:family="table-column">
41
+ <style:table-column-properties style:rel-column-width="80*"></style:table-column-properties>
42
+ </style:style>
43
+ </office:automatic-styles>
44
+ <office:body>
45
+ <office:text>
46
+ <table:table table:name="" table:style-name="BN_S7">
47
+ <table:table-column table:style-name="BN_S8"></table:table-column>
48
+ <table:table-column table:style-name="BN_S9"></table:table-column>
49
+ <table:table-column table:style-name="BN_S10"></table:table-column>
50
+ <table:table-row>
51
+ <table:table-cell table:style-name="BN_S1">
52
+ <text:p text:style-name="Standard">
53
+ This paragraph is in a column!
54
+ </text:p>
55
+ </table:table-cell>
56
+ <table:table-cell table:style-name="BN_S2">
57
+ <text:h text:outline-level="1" text:style-name="Heading_20_1">
58
+ So is this heading!
59
+ </text:h>
60
+ </table:table-cell>
61
+ <table:table-cell table:style-name="BN_S6">
62
+ <text:p text:style-name="Standard">
63
+ You can have multiple blocks in a column too
64
+ </text:p>
65
+ <text:list text:style-name="WWNum1">
66
+ <text:list-item>
67
+ <text:p text:style-name="BN_S3">
68
+ Block 1
69
+ </text:p>
70
+ </text:list-item>
71
+ </text:list>
72
+ <text:list text:style-name="WWNum1">
73
+ <text:list-item>
74
+ <text:p text:style-name="BN_S4">
75
+ Block 2
76
+ </text:p>
77
+ </text:list-item>
78
+ </text:list>
79
+ <text:list text:style-name="WWNum1">
80
+ <text:list-item>
81
+ <text:p text:style-name="BN_S5">
82
+ Block 3
83
+ </text:p>
84
+ </text:list-item>
85
+ </text:list>
86
+ </table:table-cell>
87
+ </table:table-row>
88
+ </table:table>
89
+ </office:text>
90
+ </office:body>
91
+ </office:document-content>