Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-popover-view

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-popover-view - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

src/declarations.d.ts

12

dist/AdaptivePopover.js

@@ -302,4 +302,3 @@ var __extends = (this && this.__extends) || (function () {

return (React.createElement(BasePopover, __assign({}, otherProps, { displayArea: this.getDisplayArea(), fromRect: fromRect, onOpenStart: function () {
if (onOpenStart)
onOpenStart();
onOpenStart === null || onOpenStart === void 0 ? void 0 : onOpenStart();
_this.debug('Setting up keyboard listeners');

@@ -311,4 +310,3 @@ _this.keyboardDidShowSubscription = Keyboard.addListener('keyboardDidShow', _this.keyboardDidShow);

}, onCloseStart: function () {
if (onCloseStart)
onCloseStart();
onCloseStart === null || onCloseStart === void 0 ? void 0 : onCloseStart();
_this.debug('Tearing down keyboard listeners');

@@ -326,5 +324,5 @@ if (_this.keyboardDidShowSubscription !== null) {

}, onCloseComplete: function () {
if (onCloseComplete)
onCloseComplete();
_this.setState({ showing: false });
_this.setState({ showing: false }, function () {
onCloseComplete === null || onCloseComplete === void 0 ? void 0 : onCloseComplete();
});
}, skipMeasureContent: function () { return _this.waitForResizeToFinish; }, onDisplayAreaChanged: function (rect) { return _this.setDefaultDisplayArea(rect); } })));

@@ -331,0 +329,0 @@ };

@@ -40,11 +40,7 @@ var __extends = (this && this.__extends) || (function () {

import PropTypes from 'prop-types';
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
import { Rect, Placement, Mode, Size } from './Types';
import { DEFAULT_ARROW_SIZE, isWeb } from './Constants';
import { DEFAULT_ARROW_SIZE } from './Constants';
import JSModalPopover from './JSModalPopover';
import RNModalPopover from './RNModalPopover';
// React Native Web does not export ViewPropTypes, so this is a workaround
var stylePropType = isWeb
? PropTypes.object
// eslint-disable-next-line
: require('react-native').ViewPropTypes.style;
var Popover = /** @class */ (function (_super) {

@@ -161,3 +157,3 @@ __extends(Popover, _super);

// style
popoverStyle: stylePropType,
popoverStyle: ViewPropTypes.style,
popoverShift: PropTypes.shape({

@@ -167,3 +163,3 @@ x: PropTypes.number,

}),
backgroundStyle: stylePropType,
backgroundStyle: ViewPropTypes.style,
arrowSize: PropTypes.shape({

@@ -170,0 +166,0 @@ width: PropTypes.number,

{
"name": "react-native-popover-view",
"version": "5.0.1",
"version": "5.0.2",
"description": "A <Popover /> component for react-native iOS, Android, and Web",

@@ -58,3 +58,2 @@ "main": "dist/index.js",

"postinstall-postinstall": "^2.1.0",
"prop-types": "^15.7.2",
"react": "^17.0.2",

@@ -67,3 +66,6 @@ "react-addons-test-utils": "^15.6.2",

},
"dependencies": {}
"dependencies": {
"prop-types": "^15.8.1",
"deprecated-react-native-prop-types": "^2.3.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc