@flyfish-group/file-viewer-react 2.0.0 → 2.0.2
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 +1 -1
- package/README.md +1 -1
- package/package.json +2 -2
package/README.en.md
CHANGED
|
@@ -36,4 +36,4 @@ export function Preview() {
|
|
|
36
36
|
|
|
37
37
|
`options` cover theme, watermarking, search, unified zoom, download, print, HTML export, beforeOperation guards, lifecycle hooks, and format-specific settings. Lifecycle, operation availability, search state, and document location updates are emitted through `onViewerEvent`.
|
|
38
38
|
|
|
39
|
-
New projects should prefer the standard package name `@file-viewer/react`. Official documentation: https://doc.
|
|
39
|
+
New projects should prefer the standard package name `@file-viewer/react`. Official documentation: https://doc.file-viewer.app/
|
package/README.md
CHANGED
|
@@ -37,4 +37,4 @@ export function Preview() {
|
|
|
37
37
|
|
|
38
38
|
`options` 支持主题、水印、搜索、统一缩放、下载、打印、导出 HTML、beforeOperation 前置校验、生命周期 hooks 和格式专项参数。生命周期、操作能力变化、搜索状态和当前位置会通过 `onViewerEvent` 回传给宿主。
|
|
39
39
|
|
|
40
|
-
新项目建议优先使用标准包名 `@file-viewer/react`。官方文档: https://doc.
|
|
40
|
+
新项目建议优先使用标准包名 `@file-viewer/react`。官方文档: https://doc.file-viewer.app/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flyfish-group/file-viewer-react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Private-deploy React component for Flyfish Viewer",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"react": ">=17 <20"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@file-viewer/react": "^2.0.
|
|
51
|
+
"@file-viewer/react": "^2.0.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/react": "^19.2.17",
|