takumi-pdf 0.15.0 → 0.16.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/README.md CHANGED
@@ -84,3 +84,5 @@ See the [PDF renderer comparison](https://takumi.kane.tw/docs/pdf/comparison) fo
84
84
  ## License
85
85
 
86
86
  MIT or Apache-2.0
87
+
88
+ Bundled third-party code is listed in the [third-party notices](https://github.com/kane50613/takumi/blob/master/THIRD-PARTY-NOTICES.md).
package/dist/export.d.cts CHANGED
@@ -311,7 +311,6 @@ type RenderOptions = (PagedOptions | ViewportOptions) & ConformanceOptions & {
311
311
  * @deprecated Use `css` instead. Will be removed in v3.
312
312
  */
313
313
  stylesheets?: string[];
314
- /** CSS custom properties for `:root`; the `--` prefix is optional. */
315
314
  /** Per-render font stack: ordered family names used as the fallback chain. */
316
315
  fontFamilies?: string[];
317
316
  /** Default BCP-47 language tag applied to the root. */
package/dist/export.d.mts CHANGED
@@ -311,7 +311,6 @@ type RenderOptions = (PagedOptions | ViewportOptions) & ConformanceOptions & {
311
311
  * @deprecated Use `css` instead. Will be removed in v3.
312
312
  */
313
313
  stylesheets?: string[];
314
- /** CSS custom properties for `:root`; the `--` prefix is optional. */
315
314
  /** Per-render font stack: ordered family names used as the fallback chain. */
316
315
  fontFamilies?: string[];
317
316
  /** Default BCP-47 language tag applied to the root. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "takumi-pdf",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Render paged PDFs from JSX, HTML, and CSS. No headless browser.",
5
5
  "keywords": [
6
6
  "chromium-free",
@@ -138,12 +138,12 @@
138
138
  }
139
139
  },
140
140
  "scripts": {
141
- "build": "wasm-pack build ../takumi-pdf-wasm --no-pack --release --out-dir ../takumi-pdf-js/pkg --target web -- --locked && bun build:js",
141
+ "build": "wasm-pack build . --no-pack --release --out-dir pkg --target web -- --locked --config 'profile.release.package.takumi-core.opt-level=\"z\"' && bun build:js",
142
142
  "build:js": "tsdown",
143
143
  "publish-lint": "attw --pack . && publint --strict ."
144
144
  },
145
145
  "dependencies": {
146
- "@takumi-rs/helpers": "2.14.0"
146
+ "@takumi-rs/helpers": "2.15.0"
147
147
  },
148
148
  "devDependencies": {
149
149
  "@types/bun": "^1.4.1",
Binary file