takumi-pdf 0.9.0 → 0.10.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/dist/export.d.cts +2 -2
- package/dist/export.d.mts +2 -2
- package/package.json +2 -2
- package/pkg/takumi_pdf_wasm_bg.wasm +0 -0
package/dist/export.d.cts
CHANGED
|
@@ -65,11 +65,11 @@ type PageSizeName = "a3" | "a4" | "a5" | "b4" | "b5" | "jis-b4" | "jis-b5" | "le
|
|
|
65
65
|
type PageSize = PageSizeName | Dimensions;
|
|
66
66
|
/**
|
|
67
67
|
* One side of a page margin: a length in CSS px, or `"auto"` to fit the band
|
|
68
|
-
* that draws on that side. `"auto"` never goes below the
|
|
68
|
+
* that draws on that side. `"auto"` never goes below the 37.8 a page starts with, and the
|
|
69
69
|
* left and right sides hold no band, so they land on it.
|
|
70
70
|
*/
|
|
71
71
|
type PageMarginSide = number | "auto";
|
|
72
|
-
/** A page margin: one value for all sides, or per-side values (
|
|
72
|
+
/** A page margin: one value for all sides, or per-side values (a side left out is `auto`). */
|
|
73
73
|
type PageMargin = PageMarginSide | {
|
|
74
74
|
top?: PageMarginSide;
|
|
75
75
|
right?: PageMarginSide;
|
package/dist/export.d.mts
CHANGED
|
@@ -65,11 +65,11 @@ type PageSizeName = "a3" | "a4" | "a5" | "b4" | "b5" | "jis-b4" | "jis-b5" | "le
|
|
|
65
65
|
type PageSize = PageSizeName | Dimensions;
|
|
66
66
|
/**
|
|
67
67
|
* One side of a page margin: a length in CSS px, or `"auto"` to fit the band
|
|
68
|
-
* that draws on that side. `"auto"` never goes below the
|
|
68
|
+
* that draws on that side. `"auto"` never goes below the 37.8 a page starts with, and the
|
|
69
69
|
* left and right sides hold no band, so they land on it.
|
|
70
70
|
*/
|
|
71
71
|
type PageMarginSide = number | "auto";
|
|
72
|
-
/** A page margin: one value for all sides, or per-side values (
|
|
72
|
+
/** A page margin: one value for all sides, or per-side values (a side left out is `auto`). */
|
|
73
73
|
type PageMargin = PageMarginSide | {
|
|
74
74
|
top?: PageMarginSide;
|
|
75
75
|
right?: PageMarginSide;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "takumi-pdf",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Render paged PDFs from JSX, HTML, and CSS. No headless browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chromium-free",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"publish-lint": "attw --pack . && publint --strict ."
|
|
131
131
|
},
|
|
132
132
|
"dependencies": {
|
|
133
|
-
"@takumi-rs/helpers": "2.9.
|
|
133
|
+
"@takumi-rs/helpers": "2.9.1"
|
|
134
134
|
},
|
|
135
135
|
"devDependencies": {
|
|
136
136
|
"@types/bun": "^1.3.14",
|
|
Binary file
|