pagyra-js 0.0.10 → 0.0.11
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/README.md +2 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/src/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./core.js";
|
|
2
2
|
export * from "./html-to-pdf.js";
|
|
3
3
|
export * from "./svg/index.js";
|
|
4
|
+
export * from "./types/fonts.js";
|
|
4
5
|
import { LayoutNode } from "./dom/node.js";
|
|
5
6
|
import type { Viewport } from "./geometry/box.js";
|
|
6
7
|
export declare function demoLayout(viewport?: Viewport): LayoutNode;
|
package/dist/src/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./core.js";
|
|
2
2
|
export * from "./html-to-pdf.js";
|
|
3
3
|
export * from "./svg/index.js";
|
|
4
|
+
export * from "./types/fonts.js";
|
|
4
5
|
import { LayoutNode } from "./dom/node.js";
|
|
5
6
|
import { ComputedStyle } from "./css/style.js";
|
|
6
7
|
import { layoutTree } from "./layout/pipeline/layout-tree.js";
|
|
@@ -14,6 +15,5 @@ export function demoLayout(viewport = { width: 800, height: 600 }) {
|
|
|
14
15
|
layoutTree(root, viewport);
|
|
15
16
|
return root;
|
|
16
17
|
}
|
|
17
|
-
import { log } from "./logging/debug.js";
|
|
18
18
|
// Note: isMain block removed as it relied on node:url and process.argv,
|
|
19
19
|
// which breaks browser compatibility. For CLI usage, use a separate entrypoint.
|