diff --git a/example/generic/package-lock.json b/example/generic/package-lock.json index c3812d9..36c0578 100644 --- a/example/generic/package-lock.json +++ b/example/generic/package-lock.json @@ -14,52 +14,52 @@ "prop-types": "^15.5.4", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-photo-sphere-viewer": "file:../..", + "react-photo-sphere-viewer": "file:../../", "react-scripts": "5.0.1", "web-vitals": "^2.1.4" } }, "../..": { - "version": "4.0.0-psv5.4.4", + "version": "4.1.0-psv5.5.2", "license": "MIT", "dependencies": { - "@photo-sphere-viewer/autorotate-plugin": "^5.4.4", - "@photo-sphere-viewer/compass-plugin": "^5.4.4", - "@photo-sphere-viewer/core": "^5.4.4", - "@photo-sphere-viewer/cubemap-adapter": "^5.4.4", - "@photo-sphere-viewer/cubemap-tiles-adapter": "^5.4.4", - "@photo-sphere-viewer/cubemap-video-adapter": "^5.4.4", - "@photo-sphere-viewer/equirectangular-tiles-adapter": "^5.4.4", - "@photo-sphere-viewer/equirectangular-video-adapter": "^5.4.4", - "@photo-sphere-viewer/gallery-plugin": "^5.4.4", - "@photo-sphere-viewer/gyroscope-plugin": "^5.4.4", - "@photo-sphere-viewer/map-plugin": "^5.4.4", - "@photo-sphere-viewer/markers-plugin": "^5.4.4", - "@photo-sphere-viewer/resolution-plugin": "^5.4.4", - "@photo-sphere-viewer/settings-plugin": "^5.4.4", - "@photo-sphere-viewer/stereo-plugin": "^5.4.4", - "@photo-sphere-viewer/video-plugin": "^5.4.4", - "@photo-sphere-viewer/virtual-tour-plugin": "^5.4.4", - "@photo-sphere-viewer/visible-range-plugin": "^5.4.4", - "autoprefixer": "^10.4.16", + "@photo-sphere-viewer/autorotate-plugin": "^5.5.2", + "@photo-sphere-viewer/compass-plugin": "^5.5.2", + "@photo-sphere-viewer/core": "^5.5.2", + "@photo-sphere-viewer/cubemap-adapter": "^5.5.2", + "@photo-sphere-viewer/cubemap-tiles-adapter": "^5.5.2", + "@photo-sphere-viewer/cubemap-video-adapter": "^5.5.2", + "@photo-sphere-viewer/equirectangular-tiles-adapter": "^5.5.2", + "@photo-sphere-viewer/equirectangular-video-adapter": "^5.5.2", + "@photo-sphere-viewer/gallery-plugin": "^5.5.2", + "@photo-sphere-viewer/gyroscope-plugin": "^5.5.2", + "@photo-sphere-viewer/map-plugin": "^5.5.2", + "@photo-sphere-viewer/markers-plugin": "^5.5.2", + "@photo-sphere-viewer/resolution-plugin": "^5.5.2", + "@photo-sphere-viewer/settings-plugin": "^5.5.2", + "@photo-sphere-viewer/stereo-plugin": "^5.5.2", + "@photo-sphere-viewer/video-plugin": "^5.5.2", + "@photo-sphere-viewer/virtual-tour-plugin": "^5.5.2", + "@photo-sphere-viewer/visible-range-plugin": "^5.5.2", + "autoprefixer": "^10.4.17", "eventemitter3": "^5.0.1", - "photo-sphere-viewer-lensflare-plugin": "^1.1.2" + "photo-sphere-viewer-lensflare-plugin": "^2.0.1" }, "devDependencies": { "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", - "@rollup/plugin-typescript": "^11.1.5", + "@rollup/plugin-typescript": "^11.1.6", "@rollup/plugin-url": "^8.0.2", "@svgr/rollup": "^8.1.0", - "@types/react": "^18.2.37", - "@typescript-eslint/eslint-plugin": "^6.12.0", - "@typescript-eslint/parser": "^6.12.0", + "@types/react": "^18.2.48", + "@typescript-eslint/eslint-plugin": "^6.19.0", + "@typescript-eslint/parser": "^6.19.0", "babel-plugin-styled-components": "^2.1.4", "copyfiles": "^2.4.1", - "gh-pages": "^6.1.0", + "gh-pages": "^6.1.1", "rimraf": "^5.0.5", - "rollup": "^4.5.0", + "rollup": "^4.9.5", "rollup-plugin-postcss": "^4.0.2" }, "engines": { @@ -23750,41 +23750,41 @@ "react-photo-sphere-viewer": { "version": "file:../..", "requires": { - "@photo-sphere-viewer/autorotate-plugin": "^5.4.4", - "@photo-sphere-viewer/compass-plugin": "^5.4.4", - "@photo-sphere-viewer/core": "^5.4.4", - "@photo-sphere-viewer/cubemap-adapter": "^5.4.4", - "@photo-sphere-viewer/cubemap-tiles-adapter": "^5.4.4", - "@photo-sphere-viewer/cubemap-video-adapter": "^5.4.4", - "@photo-sphere-viewer/equirectangular-tiles-adapter": "^5.4.4", - "@photo-sphere-viewer/equirectangular-video-adapter": "^5.4.4", - "@photo-sphere-viewer/gallery-plugin": "^5.4.4", - "@photo-sphere-viewer/gyroscope-plugin": "^5.4.4", - "@photo-sphere-viewer/map-plugin": "^5.4.4", - "@photo-sphere-viewer/markers-plugin": "^5.4.4", - "@photo-sphere-viewer/resolution-plugin": "^5.4.4", - "@photo-sphere-viewer/settings-plugin": "^5.4.4", - "@photo-sphere-viewer/stereo-plugin": "^5.4.4", - "@photo-sphere-viewer/video-plugin": "^5.4.4", - "@photo-sphere-viewer/virtual-tour-plugin": "^5.4.4", - "@photo-sphere-viewer/visible-range-plugin": "^5.4.4", + "@photo-sphere-viewer/autorotate-plugin": "^5.5.2", + "@photo-sphere-viewer/compass-plugin": "^5.5.2", + "@photo-sphere-viewer/core": "^5.5.2", + "@photo-sphere-viewer/cubemap-adapter": "^5.5.2", + "@photo-sphere-viewer/cubemap-tiles-adapter": "^5.5.2", + "@photo-sphere-viewer/cubemap-video-adapter": "^5.5.2", + "@photo-sphere-viewer/equirectangular-tiles-adapter": "^5.5.2", + "@photo-sphere-viewer/equirectangular-video-adapter": "^5.5.2", + "@photo-sphere-viewer/gallery-plugin": "^5.5.2", + "@photo-sphere-viewer/gyroscope-plugin": "^5.5.2", + "@photo-sphere-viewer/map-plugin": "^5.5.2", + "@photo-sphere-viewer/markers-plugin": "^5.5.2", + "@photo-sphere-viewer/resolution-plugin": "^5.5.2", + "@photo-sphere-viewer/settings-plugin": "^5.5.2", + "@photo-sphere-viewer/stereo-plugin": "^5.5.2", + "@photo-sphere-viewer/video-plugin": "^5.5.2", + "@photo-sphere-viewer/virtual-tour-plugin": "^5.5.2", + "@photo-sphere-viewer/visible-range-plugin": "^5.5.2", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", - "@rollup/plugin-typescript": "^11.1.5", + "@rollup/plugin-typescript": "^11.1.6", "@rollup/plugin-url": "^8.0.2", "@svgr/rollup": "^8.1.0", - "@types/react": "^18.2.37", - "@typescript-eslint/eslint-plugin": "^6.12.0", - "@typescript-eslint/parser": "^6.12.0", - "autoprefixer": "^10.4.16", + "@types/react": "^18.2.48", + "@typescript-eslint/eslint-plugin": "^6.19.0", + "@typescript-eslint/parser": "^6.19.0", + "autoprefixer": "^10.4.17", "babel-plugin-styled-components": "^2.1.4", "copyfiles": "^2.4.1", "eventemitter3": "^5.0.1", - "gh-pages": "^6.1.0", - "photo-sphere-viewer-lensflare-plugin": "^1.1.2", + "gh-pages": "^6.1.1", + "photo-sphere-viewer-lensflare-plugin": "^2.0.1", "rimraf": "^5.0.5", - "rollup": "^4.5.0", + "rollup": "^4.9.5", "rollup-plugin-postcss": "^4.0.2" } }, diff --git a/example/generic/src/App.js b/example/generic/src/App.js index ad52b9b..df7fc7b 100644 --- a/example/generic/src/App.js +++ b/example/generic/src/App.js @@ -71,6 +71,10 @@ function App() { ref={photoSphereRef} src="Test_pano.jpg" littlePlanet={true} + lang={{ + littlePlanetButton: "Little Planet", + }} + hideNavbarButton={true} height={'100vh'} width={"100%"} onClick={handleClick}