@ai-matrx/print 0.12.35 → 0.12.37
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 +11 -0
- package/dist/booklet.cjs.map +1 -1
- package/dist/booklet.js.map +1 -1
- package/dist/certificate.cjs.map +1 -1
- package/dist/certificate.js.map +1 -1
- package/dist/core.cjs +27 -0
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +9 -1
- package/dist/core.d.ts +9 -1
- package/dist/core.js +27 -0
- package/dist/core.js.map +1 -1
- package/dist/education.cjs.map +1 -1
- package/dist/education.js.map +1 -1
- package/dist/exam.cjs.map +1 -1
- package/dist/exam.js.map +1 -1
- package/dist/flashcards.cjs.map +1 -1
- package/dist/flashcards.js.map +1 -1
- package/dist/labels.cjs.map +1 -1
- package/dist/labels.js.map +1 -1
- package/dist/markdown.cjs.map +1 -1
- package/dist/markdown.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/dist/zpl.cjs.map +1 -1
- package/dist/zpl.js.map +1 -1
- package/package.json +4 -4
package/dist/react.js
CHANGED
|
@@ -1712,7 +1712,7 @@ function DocumentPrintPreview({
|
|
|
1712
1712
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: n.remedy })
|
|
1713
1713
|
] }, i)) })
|
|
1714
1714
|
] }),
|
|
1715
|
-
/* @__PURE__ */ jsx("div", { className: "min-h-0 flex-1 bg-muted/40", children: view === "pages" ? pdf ? inlineViewer ? /* @__PURE__ */ jsx("iframe", { ref: frameRef,
|
|
1715
|
+
/* @__PURE__ */ jsx("div", { className: "min-h-0 flex-1 bg-muted/40", children: view === "pages" ? pdf ? inlineViewer ? /* @__PURE__ */ jsx("iframe", { ref: frameRef, "aria-label": "Print preview", src: pdf.url, className: "h-full min-h-[480px] w-full border-0" }) : /* @__PURE__ */ jsx("div", { className: "h-full min-h-[480px] w-full", children: renderPages2?.(pdf.url) }) : /* @__PURE__ */ jsx("p", { className: "p-8 text-center text-xs text-muted-foreground", children: error ? "No preview." : "Laying out pages\u2026" }) : /* @__PURE__ */ jsx("iframe", { "aria-label": "Web preview", srcDoc: html, sandbox: "allow-same-origin", className: "h-full min-h-[480px] w-full border-0 bg-white" }) })
|
|
1716
1716
|
] });
|
|
1717
1717
|
}
|
|
1718
1718
|
export {
|