@file-viewer/react 2.0.1 → 2.0.3

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.en.md CHANGED
@@ -28,7 +28,7 @@ The historical package `@flyfish-group/file-viewer-react` remains supported for
28
28
 
29
29
  ## Capabilities
30
30
 
31
- `@file-viewer/react` shares the same native preview capability set with the pure web, Vue 3, Vue 2, jQuery, and Svelte standard component packages, including PDF, Word, Excel, PowerPoint, OFD, CAD/DWG/DXF/DWF, EPUB/UMD, archives, email, Markdown, highlighted code, images, audio, video, 3D models, geospatial files, and structured data assets. See the complete format matrix and option reference at https://doc.flyfish-viewer.app/guide/formats
31
+ `@file-viewer/react` shares the same native preview capability set with the pure web, Vue 3, Vue 2, jQuery, and Svelte standard component packages, including PDF, Word, Excel, PowerPoint, OFD, CAD/DWG/DXF/DWF, EPUB/UMD, archives, email, Markdown, highlighted code, images, audio, video, 3D models, geospatial files, and structured data assets. See the complete format matrix and option reference at https://doc.file-viewer.app/guide/formats
32
32
 
33
33
  <!-- FILE_VIEWER_GENERATED:START -->
34
34
  ## Ecosystem Matrix
@@ -146,7 +146,7 @@ Every ecosystem package uses the same `ViewerMountOptions` and `FileViewerOption
146
146
  - Format parsing, search, zoom, print, export, watermark, lifecycle, and beforeOperation semantics all come from the same core.
147
147
  - Releases should pass type checks, component API verification, README generation checks, format-matrix verification, standalone repository export, and browser smoke tests.
148
148
 
149
- See the official documentation for options, lifecycle hooks, beforeOperation, theme, watermark, search, zoom, print, and export APIs: https://doc.flyfish-viewer.app/
149
+ See the official documentation for options, lifecycle hooks, beforeOperation, theme, watermark, search, zoom, print, and export APIs: https://doc.file-viewer.app/
150
150
 
151
- Online demo: https://viewer.flyfish.dev/. License: Apache-2.0. For second development or commercial use, keep clear Flyfish Viewer attribution; shared compatibility fixes are welcome in the matching component repository.
151
+ Online demo: https://demo.file-viewer.app/. License: Apache-2.0. For second development or commercial use, keep clear Flyfish Viewer attribution; shared compatibility fixes are welcome in the matching component repository.
152
152
  <!-- FILE_VIEWER_GENERATED:END -->
package/README.md CHANGED
@@ -28,7 +28,7 @@ export function Preview() {
28
28
 
29
29
  ## 能力范围
30
30
 
31
- `@file-viewer/react` 与纯 Web、Vue3、Vue2、jQuery 和 Svelte 标准组件包 共享同一套 native 预览能力,覆盖 PDF、Word、Excel、PPT、OFD、CAD/DWG/DXF/DWF、EPUB/UMD、压缩包、邮件、Markdown、代码高亮、图片、音频、视频、3D 模型、地理数据和结构化数据资产等预览链路。完整格式矩阵和参数说明见官方文档: https://doc.flyfish-viewer.app/guide/formats
31
+ `@file-viewer/react` 与纯 Web、Vue3、Vue2、jQuery 和 Svelte 标准组件包 共享同一套 native 预览能力,覆盖 PDF、Word、Excel、PPT、OFD、CAD/DWG/DXF/DWF、EPUB/UMD、压缩包、邮件、Markdown、代码高亮、图片、音频、视频、3D 模型、地理数据和结构化数据资产等预览链路。完整格式矩阵和参数说明见官方文档: https://doc.file-viewer.app/guide/formats
32
32
 
33
33
  <!-- FILE_VIEWER_GENERATED:START -->
34
34
  ## 生态包矩阵
@@ -146,7 +146,7 @@ export function Preview() {
146
146
  - 格式解析、搜索、缩放、打印、导出、水印、生命周期和 beforeOperation 语义全部来自同一个 core。
147
147
  - 发布前需通过类型检查、组件 API 校验、README 生成校验、格式矩阵校验、独立仓库导出和浏览器 smoke。
148
148
 
149
- 完整参数、生命周期 hooks、beforeOperation、主题、水印、搜索、缩放、打印和导出说明见官方文档: https://doc.flyfish-viewer.app/
149
+ 完整参数、生命周期 hooks、beforeOperation、主题、水印、搜索、缩放、打印和导出说明见官方文档: https://doc.file-viewer.app/
150
150
 
151
- 在线 Demo: https://viewer.flyfish.dev/ 。License: Apache-2.0。二开或商用请保留 Flyfish Viewer 来源说明;如果修复了通用兼容问题,也欢迎贡献回对应组件仓库。
151
+ 在线 Demo: https://demo.file-viewer.app/ 。License: Apache-2.0。二开或商用请保留 Flyfish Viewer 来源说明;如果修复了通用兼容问题,也欢迎贡献回对应组件仓库。
152
152
  <!-- FILE_VIEWER_GENERATED:END -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/react",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Standard React component package for Flyfish File Viewer",
@@ -24,7 +24,7 @@
24
24
  "url": "git+https://github.com/flyfish-dev/file-viewer-react.git",
25
25
  "directory": "packages/components/react"
26
26
  },
27
- "homepage": "https://doc.flyfish-viewer.app/",
27
+ "homepage": "https://doc.file-viewer.app/",
28
28
  "bugs": {
29
29
  "url": "https://github.com/flyfish-dev/file-viewer-react/issues"
30
30
  },
@@ -48,7 +48,7 @@
48
48
  "react": ">=17 <20"
49
49
  },
50
50
  "dependencies": {
51
- "@file-viewer/core": "^2.0.1"
51
+ "@file-viewer/core": "^2.0.3"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/react": "^19.2.17",