@ai-matrx/print 0.6.1 → 0.7.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.
- package/CHANGELOG.md +58 -3
- package/README.md +38 -0
- package/dist/directives.cjs +48 -1
- package/dist/directives.cjs.map +1 -1
- package/dist/directives.d.cts +21 -2
- package/dist/directives.d.ts +21 -2
- package/dist/directives.js +48 -1
- package/dist/directives.js.map +1 -1
- package/dist/document.cjs +2842 -0
- package/dist/document.cjs.map +1 -0
- package/dist/document.d.cts +490 -0
- package/dist/document.d.ts +490 -0
- package/dist/document.js +2809 -0
- package/dist/document.js.map +1 -0
- package/dist/markdown.cjs +40 -2
- package/dist/markdown.cjs.map +1 -1
- package/dist/markdown.js +40 -2
- package/dist/markdown.js.map +1 -1
- package/dist/pdf.cjs.map +1 -1
- package/dist/pdf.js.map +1 -1
- package/dist/react.cjs +117 -0
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +24 -1
- package/dist/react.d.ts +24 -1
- package/dist/react.js +117 -0
- package/dist/react.js.map +1 -1
- package/package.json +29 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/print",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "The AI Matrx print system: the BlockPrinter contract and print-window composition, the flashcards deck printer (duplex-mirrored cut sheets, Avery 5388, study sheets), QR generation with spec quiet zones and e-commerce payload builders, label-sheet printing on Avery and roll stock with custom label formats, and a complete markdown pipeline: a shipped markdown converter, two default print stylesheets, print windows, and markdown/DOM to PDF.",
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"description": "The AI Matrx print system: the BlockPrinter contract and print-window composition, the flashcards deck printer (duplex-mirrored cut sheets, Avery 5388, study sheets), QR generation with spec quiet zones and e-commerce payload builders, label-sheet printing on Avery and roll stock with custom label formats, and a complete markdown pipeline: a shipped markdown converter, two default print stylesheets, print windows, and markdown/DOM to PDF, and print-grade documents (cover, TOC, captions, cross-references, citations, sections) exported to PDF, DOCX, EPUB and HTML from one parsed tree.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -18,7 +18,13 @@
|
|
|
18
18
|
"pdf",
|
|
19
19
|
"jspdf",
|
|
20
20
|
"duplex",
|
|
21
|
-
"ai-matrx"
|
|
21
|
+
"ai-matrx",
|
|
22
|
+
"docx",
|
|
23
|
+
"epub",
|
|
24
|
+
"word",
|
|
25
|
+
"toc",
|
|
26
|
+
"citations",
|
|
27
|
+
"bibliography"
|
|
22
28
|
],
|
|
23
29
|
"repository": {
|
|
24
30
|
"type": "git",
|
|
@@ -196,17 +202,34 @@
|
|
|
196
202
|
"types": "./dist/directives.d.cts",
|
|
197
203
|
"default": "./dist/directives.cjs"
|
|
198
204
|
}
|
|
205
|
+
},
|
|
206
|
+
"./document": {
|
|
207
|
+
"import": {
|
|
208
|
+
"types": "./dist/document.d.ts",
|
|
209
|
+
"default": "./dist/document.js"
|
|
210
|
+
},
|
|
211
|
+
"require": {
|
|
212
|
+
"types": "./dist/document.d.cts",
|
|
213
|
+
"default": "./dist/document.cjs"
|
|
214
|
+
}
|
|
199
215
|
}
|
|
200
216
|
},
|
|
201
217
|
"dependencies": {
|
|
202
218
|
"@radix-ui/react-dialog": "^1.1.23",
|
|
203
219
|
"bwip-js": "^4.11.4",
|
|
220
|
+
"docx": "^9.7.2",
|
|
204
221
|
"html2canvas": "^1.4.1",
|
|
205
222
|
"jspdf": "^4.2.1",
|
|
223
|
+
"jszip": "^3.10.2",
|
|
224
|
+
"mdast-util-from-markdown": "^2.0.3",
|
|
225
|
+
"mdast-util-gfm": "^3.1.0",
|
|
226
|
+
"micromark-extension-gfm": "^3.0.0",
|
|
227
|
+
"pdfmake": "^0.3.11",
|
|
206
228
|
"qr-code-styling": "^1.9.2",
|
|
207
229
|
"qrcode": "^1.5.4",
|
|
208
230
|
"tailwind-merge": "^3.7.0",
|
|
209
231
|
"vaul": "^1.1.2",
|
|
232
|
+
"yaml": "^2.9.1",
|
|
210
233
|
"@ai-matrx/kit": "latest"
|
|
211
234
|
},
|
|
212
235
|
"peerDependencies": {
|
|
@@ -224,7 +247,9 @@
|
|
|
224
247
|
"devDependencies": {
|
|
225
248
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
226
249
|
"@testing-library/react": "^16.3.3",
|
|
250
|
+
"@types/mdast": "^4.0.4",
|
|
227
251
|
"@types/node": "^26.6.2",
|
|
252
|
+
"@types/pdfmake": "^0.3.3",
|
|
228
253
|
"@types/qrcode": "^1.5.6",
|
|
229
254
|
"@types/react": "19.3.0",
|
|
230
255
|
"@types/react-dom": "19.3.0",
|
|
@@ -234,6 +259,7 @@
|
|
|
234
259
|
"react-dom": "^19.3.0",
|
|
235
260
|
"tsup": "^8.5.1",
|
|
236
261
|
"typescript": "^6.0.3",
|
|
262
|
+
"unpdf": "^1.8.1",
|
|
237
263
|
"vitest": "^5.0.1"
|
|
238
264
|
},
|
|
239
265
|
"publishConfig": {
|