This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@filevista/file-preview@0.2.0
Minor Changes
0f5622d: Initial public release of @filevista/file-preview.
A browser-side file preview toolkit for React supporting 20+ formats (PDF, DOCX, PPTX, XLSX, EPUB, RTF, Markdown, code, images, video, audio, ZIP, CSV, SVG, HTML, plain text) with zero server processing — files never leave the user's device.
Highlights:
Plugin-based architecture with a lazy-loaded registry per file type
Source abstraction over File / Blob / ArrayBuffer / URL
Optional peer dependencies for the heavy formats (pdfjs-dist, exceljs, docx-preview, pptx-preview, rtf.js, jszip) — install only what you preview
Framework-agnostic, zero-external-UI fv- prefixed CSS with theming via CSS variables
Built-in zhCN/enUS locales with a LocaleProvider for custom localization
Graceful fallback UI with install hints when an optional peer dep is missing
See the README for install, quick start, theming, and the optional peer dependency table.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
# Releases
## @filevista/file-preview@0.2.0
### Minor Changes
- 0f5622d: Initial public release of `@filevista/file-preview`.
A browser-side file preview toolkit for React supporting 20+ formats (PDF, DOCX, PPTX, XLSX, EPUB, RTF, Markdown, code, images, video, audio, ZIP, CSV, SVG, HTML, plain text) with zero server processing — files never leave the user's device.
Highlights:
- Plugin-based architecture with a lazy-loaded registry per file type
- Source abstraction over `File` / `Blob` / `ArrayBuffer` / URL
- Optional peer dependencies for the heavy formats (pdfjs-dist, exceljs, docx-preview, pptx-preview, rtf.js, jszip) — install only what you preview
- Framework-agnostic, zero-external-UI `fv-` prefixed CSS with theming via CSS variables
- Built-in zhCN/enUS locales with a `LocaleProvider` for custom localization
- Graceful fallback UI with install hints when an optional peer dep is missing
See the README for install, quick start, theming, and the optional peer dependency table.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@filevista/file-preview@0.2.0
Minor Changes
0f5622d: Initial public release of@filevista/file-preview.A browser-side file preview toolkit for React supporting 20+ formats (PDF, DOCX, PPTX, XLSX, EPUB, RTF, Markdown, code, images, video, audio, ZIP, CSV, SVG, HTML, plain text) with zero server processing — files never leave the user's device.
Highlights:
File/Blob/ArrayBuffer/ URLfv-prefixed CSS with theming via CSS variablesLocaleProviderfor custom localizationSee the README for install, quick start, theming, and the optional peer dependency table.