New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pannellum-react

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pannellum-react - npm Package Compare versions

Comparing version

to
1.3.6

3

es/elements/Pannellum.js

@@ -89,2 +89,3 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

showZoomCtrl: _this.props.showZoomCtrl,
doubleClickZoom: _this.props.doubleClickZoom,
keyboardZoom: _this.props.keyboardZoom,

@@ -241,2 +242,3 @@ mouseZoom: _this.props.mouseZoom,

showZoomCtrl: true,
doubleClickZoom: true,
keyboardZoom: true,

@@ -289,2 +291,3 @@ mouseZoom: true,

showZoomCtrl: propTypes.bool,
doubleClickZoom: propTypes.bool,
keyboardZoom: propTypes.bool,

@@ -291,0 +294,0 @@ mouseZoom: propTypes.bool,

5

es/index.d.ts

@@ -28,2 +28,3 @@

showZoomCtrl?: boolean;
doubleClickZoom?: boolean;
keyboardZoom?: boolean;

@@ -55,3 +56,3 @@ disableKeyboardCtrl?: boolean;

muted?: boolean;
width?: string;

@@ -98,3 +99,3 @@ height?: string;

export function Hotspot(props: PannellumHotspotPropType | PannellumHotspotCustomPropType): JSX.Element;
}

@@ -106,2 +106,3 @@ "use strict";

showZoomCtrl: _this.props.showZoomCtrl,
doubleClickZoom: _this.props.doubleClickZoom,
keyboardZoom: _this.props.keyboardZoom,

@@ -258,2 +259,3 @@ mouseZoom: _this.props.mouseZoom,

showZoomCtrl: true,
doubleClickZoom: true,
keyboardZoom: true,

@@ -306,2 +308,3 @@ mouseZoom: true,

showZoomCtrl: _propTypes["default"].bool,
doubleClickZoom: _propTypes["default"].bool,
keyboardZoom: _propTypes["default"].bool,

@@ -308,0 +311,0 @@ mouseZoom: _propTypes["default"].bool,

@@ -28,2 +28,3 @@

showZoomCtrl?: boolean;
doubleClickZoom?: boolean;
keyboardZoom?: boolean;

@@ -55,3 +56,3 @@ disableKeyboardCtrl?: boolean;

muted?: boolean;
width?: string;

@@ -98,3 +99,3 @@ height?: string;

export function Hotspot(props: PannellumHotspotPropType | PannellumHotspotCustomPropType): JSX.Element;
}
{
"name": "pannellum-react",
"version": "1.3.5",
"version": "1.3.6",
"description": "Pannellum React Component",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -179,2 +179,3 @@ # pannellum-react

| hotspotDebug | Boolean | false | For debug pupose (finding correct point for hotspot) |
| doubleClickZoom | Boolean | true | Zoom if you double click |

@@ -181,0 +182,0 @@ Additionally, by Getting refrence of the component, you can get the pannellum **Viewer** calling `getViewer()` which gives all the available functions of the viewer such as `getPitch`, `setPitch` , `getyaw` and etc. find [here](https://pannellum.org/documentation/api/#viewer)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet