Skip to content

@ranui/preview 0.2.0

Choose a tag to compare

@chaxus chaxus released this 19 Oct 02:43

Stable release of @ranui/preview.

  • Add passive manual registration, custom element names and enforced opt-in Office read-only mode.
  • Isolate concurrent dialogs, file requests and renderer resources; correct source replacement, cancellation, stacking and keyboard behavior.
  • Upgrade ranui/ranuts to 0.5.0 and PDF.js to 6.4.299, with local workers/fonts/cMaps/WASM assets.
  • Preserve automatic registration and legacy editable Office rendering.
  • Add three-engine browser CI, strict installed-tarball checks and provenance-enabled publishing of the verified artifact.

Validation: 42 browser regressions; real installed ESM/manual/UMD PDF pixels and strict TypeScript; five live DOCX/PPTX mode/export cases. See the verification report in docs/verification-0.2.0.md.

Migration: development/build tooling requires Node 24+; browser support targets current evergreen engines. When bundling or copying the package, keep pdfjs/ assets next to the ES entry (one level above umd/). Older Office deployments need the document embed API for enforced read-only mode.

Issue #4 remains open pending the original user document; the synthetic large-image export test is not a claim that this source-specific report is fixed.

Install: npm install @ranui/preview@0.2.0.