File Viewer v2.2.3
File Viewer v2.2.3
Host CSS should never be able to erase a viewer toolbar. v2.2.3 fixes that at the component boundary and cleans up two PowerPoint Worker paths that only failed in real framework builds.
- Web Component, Vue 3, Vue 2.7, Vue 2.6, React, React Legacy, Svelte, jQuery, and their Full packages now use Shadow DOM by default.
styleIsolation: 'none'remains the explicit legacy Light DOM path. - The shared browser controller preserves application-owned ShadowRoots, handles Shadow/Light remounts, avoids duplicate first loads in React and Svelte, and restores Vue 2 event forwarding.
- PPTX and Spreadsheet styles stay inside their renderer roots instead of leaking generic selectors and keyframes into the host page.
- Angular 22 now resolves the PPTX Worker correctly through Vite optimization and
baseHref, without leaking.angular/cacheinto the runtime URL. - Binary PPT now uses
@file-viewer/ppt@0.3.2, with a self-contained Worker and one packaged runtime path across plain Vite, subpath builds, Full packages, copy-assets, and CDN/IIFE. - Markdown now participates in the shared fit/zoom contract. PDF mobile toolbar sizing and print-mask styling inside Shadow DOM are also corrected.
The checked matrix remains 54 npm targets, 208 extensions, and 25 preview pipelines.
pnpm add @file-viewer/vue3-full@2.2.3
pnpm add -D @file-viewer/vite-plugin@2.2.3