@ericchen1990/pano-view 3.2.0 → 3.2.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.md CHANGED
@@ -35,8 +35,8 @@ this library. npm 7+ and pnpm install them automatically; Yarn Classic and npm
35
35
 
36
36
  | Package | Supported range |
37
37
  | --- | --- |
38
- | `react` | `>=19.0.0 <19.3.0` |
39
- | `react-dom` | `>=19.0.0 <19.3.0` |
38
+ | `react` | `^19.0.0` |
39
+ | `react-dom` | `^19.0.0` |
40
40
  | `three` | `^0.185.1` |
41
41
  | `@react-three/fiber` | `^9.7.0` |
42
42
  | `@react-three/drei` | `^10.0.0` |
@@ -47,8 +47,6 @@ in the host app. Duplicate `three` trees are a common cause of blank canvases
47
47
  and context errors (`R3F: Hooks can only be used within the Canvas component`).
48
48
  If that happens, check `npm ls three` / `pnpm why three` and dedupe.
49
49
 
50
- React 19.3 and later are outside the supported range.
51
-
52
50
  ### Stylesheet (HTML chrome)
53
51
 
54
52
  Import the shipped stylesheet once in the host app. The WebGL panorama
package/README.zh-CN.md CHANGED
@@ -26,8 +26,8 @@ pnpm 与 Yarn 用法相同(`pnpm add` / `yarn add`)。
26
26
 
27
27
  | 包 | 支持范围 |
28
28
  | --- | --- |
29
- | `react` | `>=19.0.0 <19.3.0` |
30
- | `react-dom` | `>=19.0.0 <19.3.0` |
29
+ | `react` | `^19.0.0` |
30
+ | `react-dom` | `^19.0.0` |
31
31
  | `three` | `^0.185.1` |
32
32
  | `@react-three/fiber` | `^9.7.0` |
33
33
  | `@react-three/drei` | `^10.0.0` |
@@ -35,8 +35,6 @@ pnpm 与 Yarn 用法相同(`pnpm add` / `yarn add`)。
35
35
 
36
36
  在宿主应用中保持 React、Three.js 与 React Three Fiber 相关包的**单一副本**。重复的 `three` 树是空白画布与上下文错误(`R3F: Hooks can only be used within the Canvas component`)的常见原因。若出现该问题,请检查 `npm ls three` / `pnpm why three` 并去重。
37
37
 
38
- React 19.3 及更高版本不在支持范围内。
39
-
40
38
  ### 样式表(HTML 叠加层)
41
39
 
42
40
  在宿主应用中导入一次随包样式表。WebGL 全景(`PanoViewer`、`Sphere`、`Tile`、3D 热点)无需该文件即可渲染。内置 **HTML** 叠加层则不行:它们使用带 `pano-` 前缀的类名做布局。