@ai-matrx/print 0.3.1 → 0.4.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 +44 -0
- package/dist/certificate.cjs +746 -0
- package/dist/certificate.cjs.map +1 -0
- package/dist/certificate.d.cts +101 -0
- package/dist/certificate.d.ts +101 -0
- package/dist/certificate.js +723 -0
- package/dist/certificate.js.map +1 -0
- package/dist/education.cjs +928 -0
- package/dist/education.cjs.map +1 -0
- package/dist/education.d.cts +79 -0
- package/dist/education.d.ts +79 -0
- package/dist/education.js +905 -0
- package/dist/education.js.map +1 -0
- package/dist/exam.cjs +648 -0
- package/dist/exam.cjs.map +1 -0
- package/dist/exam.d.cts +69 -0
- package/dist/exam.d.ts +69 -0
- package/dist/exam.js +625 -0
- package/dist/exam.js.map +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/zpl.cjs +1039 -0
- package/dist/zpl.cjs.map +1 -0
- package/dist/zpl.d.cts +160 -0
- package/dist/zpl.d.ts +160 -0
- package/dist/zpl.js +1006 -0
- package/dist/zpl.js.map +1 -0
- package/package.json +41 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0 — 2026-08-31
|
|
4
|
+
|
|
5
|
+
Wave 3 — the education artifact library, the certificate/workbook primitives,
|
|
6
|
+
and the raw thermal lane. All four new entries are import-inert and RSC-safe.
|
|
7
|
+
|
|
8
|
+
- **/education** — three printers modeled on the test-prep leaders:
|
|
9
|
+
`cheatSheetPrinter` (2/3/1-column dense one-pagers, boxed formulas, section
|
|
10
|
+
bars), `glossaryPrinter` (term/definition table or compact list, stable
|
|
11
|
+
alphabetize option, printable mastered checkboxes, entry ranges),
|
|
12
|
+
`studyCalendarPrinter` (week-rows portrait or landscape day-grid, per-task
|
|
13
|
+
checkboxes, milestone banners). Checkboxes are CSS-drawn — print windows
|
|
14
|
+
have no webfonts, and tofu on the artifact meant to be written on is a
|
|
15
|
+
failure.
|
|
16
|
+
- **/exam** — `practiceTestPrinter` with four SEPARATED printable units (the
|
|
17
|
+
answer-separation law: blanks stay reusable): question booklet (lettered
|
|
18
|
+
choices, ruled work-space lines, points), a scannable **bubble answer
|
|
19
|
+
sheet** (Scantron-convention 25-row columns, inch-exact circles, per-question
|
|
20
|
+
bubble counts, free-response write-in rules), answer key, and explanation
|
|
21
|
+
sheets. The booklet provably contains no answers; there is deliberately no
|
|
22
|
+
shuffle setting (shuffling would desynchronize the separated units).
|
|
23
|
+
- **/certificate** — `certificatePrinter` (formal ornamental / modern-minimal /
|
|
24
|
+
**acknowledgment** — the HR signature-page twin of a certificate, one shared
|
|
25
|
+
primitive across education and corporate training) plus
|
|
26
|
+
`composeWorkbookPages` / `printWorkbook`: cover → computed-page-number TOC →
|
|
27
|
+
sections → optional certificate final page, printable sequentially or
|
|
28
|
+
through the /booklet fold-and-staple lane.
|
|
29
|
+
- **/zpl** — raw ZPL for Zebra-class thermal roll printers: `labelToZpl` /
|
|
30
|
+
`labelsToZpl` over the SAME geometry brain as the label engine (inch fields
|
|
31
|
+
× dpi), QR magnification derived from the payload's real module count and
|
|
32
|
+
clamped to firmware limits, `^CI28` UTF-8 + `^FH` escaping via
|
|
33
|
+
`zplFieldData`, `assertZplScannable` (the 0.4 mm module floor, provably able
|
|
34
|
+
to fail), sheet stock refused with guidance. Verified against a real ZPL
|
|
35
|
+
interpreter (Labelary render + QR decode round-trip) during development;
|
|
36
|
+
tests are pure string assertions.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## 0.3.1 — 2026-08-30
|
|
40
|
+
|
|
41
|
+
Release-only successor to 0.3.0. The 0.3.0 tagged workflow was rejected before
|
|
42
|
+
package verification because its monorepo lockfile did not match a concurrently
|
|
43
|
+
landed sibling manifest. No 0.3.0 artifact reached npm. This version carries the
|
|
44
|
+
same `/markdown` capability from a source graph whose frozen workspace install
|
|
45
|
+
passes, preserving the immutable-tag release boundary.
|
|
46
|
+
|
|
3
47
|
## 0.3.0 — 2026-08-30
|
|
4
48
|
|
|
5
49
|
**The BYO-converter seam is gone.** `markdownToPdfBlob` used to declare its
|