@pixldocs/canvas-renderer 0.5.36 → 0.5.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/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12072,10 +12072,15 @@ function PixldocsPreview(props) {
|
|
|
12072
12072
|
!canvasSettled && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { position: "absolute", inset: 0, display: "flex", alignItems: "center", justifyContent: "center", minHeight: 200 }, children: /* @__PURE__ */ jsxRuntime.jsx("div", { style: { color: "#888", fontSize: 14 }, children: "Loading preview..." }) })
|
|
12073
12073
|
] });
|
|
12074
12074
|
}
|
|
12075
|
+
const PACKAGE_VERSION = "0.5.37";
|
|
12075
12076
|
class PixldocsRenderer {
|
|
12076
12077
|
constructor(config) {
|
|
12077
12078
|
__publicField(this, "config");
|
|
12078
12079
|
this.config = config;
|
|
12080
|
+
try {
|
|
12081
|
+
console.log(`[canvas-renderer] PixldocsRenderer v${PACKAGE_VERSION} initialized`);
|
|
12082
|
+
} catch {
|
|
12083
|
+
}
|
|
12079
12084
|
}
|
|
12080
12085
|
/**
|
|
12081
12086
|
* Render a pre-resolved template config to an image using the full PageCanvas engine.
|
|
@@ -14881,6 +14886,7 @@ async function warmTemplateFromForm(options) {
|
|
|
14881
14886
|
exports.FONT_FALLBACK_DEVANAGARI = FONT_FALLBACK_DEVANAGARI;
|
|
14882
14887
|
exports.FONT_FALLBACK_SYMBOLS = FONT_FALLBACK_SYMBOLS;
|
|
14883
14888
|
exports.FONT_FILES = FONT_FILES;
|
|
14889
|
+
exports.PACKAGE_VERSION = PACKAGE_VERSION;
|
|
14884
14890
|
exports.PixldocsPreview = PixldocsPreview;
|
|
14885
14891
|
exports.PixldocsRenderer = PixldocsRenderer;
|
|
14886
14892
|
exports.applyThemeToConfig = applyThemeToConfig;
|