html2canvas-pro 2.5.0 → 2.5.1
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 +3 -1
- package/dist/html2canvas-pro.cjs +456 -159
- package/dist/html2canvas-pro.cjs.map +1 -1
- package/dist/html2canvas-pro.esm.js +456 -159
- package/dist/html2canvas-pro.esm.js.map +1 -1
- package/dist/html2canvas-pro.js +456 -159
- package/dist/html2canvas-pro.js.map +1 -1
- package/dist/html2canvas-pro.min.js +5 -5
- package/dist/types/core/cache-storage.d.ts +18 -0
- package/dist/types/core/logger.d.ts +0 -3
- package/dist/types/css/types/functions/conic-gradient.d.ts +6 -0
- package/dist/types/css/types/image.d.ts +4 -2
- package/dist/types/dom/replaced-elements/input-element-container.d.ts +1 -1
- package/dist/types/render/canvas/background-renderer.d.ts +9 -0
- package/dist/types/render/canvas/canvas-renderer.d.ts +8 -0
- package/dist/types/render/canvas/effects-renderer.d.ts +8 -0
- package/dist/types/render/canvas/text-clip-renderer.d.ts +25 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ html2canvas-pro is a fork of [niklasvh/html2canvas](https://github.com/niklasvh/
|
|
|
35
35
|
- CSS `writing-mode` support (horizontal-tb, vertical-rl, vertical-lr)
|
|
36
36
|
- `mask-image` alpha masks with position/size/repeat (see [mask support](docs/features.md#mask-support))
|
|
37
37
|
- `backdrop-filter: blur()` for frosted-glass captures (see [backdrop-filter support](docs/features.md#backdrop-filter-support))
|
|
38
|
-
- `conic-gradient()` and `repeating-radial-gradient()` — complete gradient family
|
|
38
|
+
- `conic-gradient()`, `repeating-conic-gradient()` and `repeating-radial-gradient()` — complete gradient family
|
|
39
39
|
- `text-emphasis` (CJK emphasis marks), `-webkit-box-reflect`, `image-set()`, `border-image-outset` / `border-image-width`
|
|
40
40
|
- `accent-color`, `outline`, `-webkit-text-fill-color`, `isolation`
|
|
41
41
|
- `filter` compositing for eligible layers — `blur()` / `drop-shadow()` rendered on a dedicated surface with correct layer `opacity` (see [filter support notes](docs/filter-support.md))
|
|
@@ -153,6 +153,8 @@ The package exports `html2canvas` (default), plus the following named exports:
|
|
|
153
153
|
| `Validator` / `createDefaultValidator` | Input validation (URLs, proxy allow-list, element checks) |
|
|
154
154
|
| `PerformanceMonitor` | Phase-level timing metrics |
|
|
155
155
|
| `Options` | The full options type |
|
|
156
|
+
| `ConfigOptions` | Per-call runtime config type (CSP nonce, shared cache) |
|
|
157
|
+
| `ValidationResult` | Result type returned by the `Validator` API |
|
|
156
158
|
|
|
157
159
|
Full type definitions ship with the package — your editor's IntelliSense covers every option. An HTML API reference can be generated locally with `corepack pnpm docs:api` (TypeDoc).
|
|
158
160
|
|