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

react-overlays

Package Overview
Dependencies
Maintainers
2
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-overlays - npm Package Compare versions

Comparing version 0.6.5 to 0.6.6

1

lib/Affix.js

@@ -71,3 +71,2 @@ 'use strict';

*/
var Affix = function (_React$Component) {

@@ -74,0 +73,0 @@ _inherits(Affix, _React$Component);

7

lib/AutoAffix.js

@@ -23,5 +23,5 @@ 'use strict';

var _mountable = require('react-prop-types/lib/mountable');
var _componentOrElement = require('react-prop-types/lib/componentOrElement');
var _mountable2 = _interopRequireDefault(_mountable);
var _componentOrElement2 = _interopRequireDefault(_componentOrElement);

@@ -66,3 +66,2 @@ var _Affix = require('./Affix');

*/
var AutoAffix = function (_React$Component) {

@@ -253,3 +252,3 @@ _inherits(AutoAffix, _React$Component);

*/
container: _react2.default.PropTypes.oneOfType([_mountable2.default, _react2.default.PropTypes.func]),
container: _react2.default.PropTypes.oneOfType([_componentOrElement2.default, _react2.default.PropTypes.func]),
/**

@@ -256,0 +255,0 @@ * Automatically set width when affixed

@@ -18,5 +18,5 @@ 'use strict';

var _mountable = require('react-prop-types/lib/mountable');
var _componentOrElement = require('react-prop-types/lib/componentOrElement');
var _mountable2 = _interopRequireDefault(_mountable);
var _componentOrElement2 = _interopRequireDefault(_componentOrElement);

@@ -104,3 +104,3 @@ var _elementType = require('react-prop-types/lib/elementType');

*/
container: _react2.default.PropTypes.oneOfType([_mountable2.default, _react2.default.PropTypes.func]),
container: _react2.default.PropTypes.oneOfType([_componentOrElement2.default, _react2.default.PropTypes.func]),

@@ -107,0 +107,0 @@ /**

@@ -44,3 +44,2 @@ 'use strict';

*/
var Overlay = function (_React$Component) {

@@ -179,7 +178,13 @@ _inherits(Overlay, _React$Component);

*/
onHide: function onHide(props, name, cname) {
var pt = _react2.default.PropTypes.func;
onHide: function onHide(props) {
var propType = _react2.default.PropTypes.func;
if (props.rootClose) {
propType = propType.isRequired;
}
if (props.rootClose) pt = pt.isRequired;
return pt(props, name, cname);
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
}
return propType.apply(undefined, [props].concat(args));
},

@@ -186,0 +191,0 @@

@@ -15,5 +15,5 @@ 'use strict';

var _mountable = require('react-prop-types/lib/mountable');
var _componentOrElement = require('react-prop-types/lib/componentOrElement');
var _mountable2 = _interopRequireDefault(_mountable);
var _componentOrElement2 = _interopRequireDefault(_componentOrElement);

@@ -44,3 +44,3 @@ var _ownerDocument = require('./utils/ownerDocument');

*/
container: _react2.default.PropTypes.oneOfType([_mountable2.default, _react2.default.PropTypes.func])
container: _react2.default.PropTypes.oneOfType([_componentOrElement2.default, _react2.default.PropTypes.func])
},

@@ -47,0 +47,0 @@

@@ -23,5 +23,5 @@ 'use strict';

var _mountable = require('react-prop-types/lib/mountable');
var _componentOrElement = require('react-prop-types/lib/componentOrElement');
var _mountable2 = _interopRequireDefault(_mountable);
var _componentOrElement2 = _interopRequireDefault(_componentOrElement);

@@ -59,3 +59,2 @@ var _calculatePosition = require('./utils/calculatePosition');

*/
var Position = function (_React$Component) {

@@ -185,3 +184,3 @@ _inherits(Position, _React$Component);

*/
target: _react2.default.PropTypes.oneOfType([_mountable2.default, _react2.default.PropTypes.func]),
target: _react2.default.PropTypes.oneOfType([_componentOrElement2.default, _react2.default.PropTypes.func]),

@@ -191,3 +190,3 @@ /**

*/
container: _react2.default.PropTypes.oneOfType([_mountable2.default, _react2.default.PropTypes.func]),
container: _react2.default.PropTypes.oneOfType([_componentOrElement2.default, _react2.default.PropTypes.func]),
/**

@@ -194,0 +193,0 @@ * Minimum spacing in pixels between container border and component border

{
"name": "react-overlays",
"version": "0.6.5",
"version": "0.6.6",
"description": "Utilities for creating robust overlay components",

@@ -77,7 +77,7 @@ "author": "Jason Quense <monastic.panic@gmail.com>",

"raw-loader": "^0.5.1",
"react": "^15.2.1",
"react-addons-test-utils": "^15.2.1",
"react": "^15.3.0",
"react-addons-test-utils": "^15.3.0",
"react-bootstrap": "^0.29.5",
"react-component-metadata": "^3.0.0",
"react-dom": "^15.2.1",
"react-dom": "^15.3.0",
"react-hot-loader": "^1.3.0",

@@ -98,5 +98,5 @@ "release-script": "^1.0.2",

"dom-helpers": "^2.4.0",
"react-prop-types": "^0.3.2",
"react-prop-types": "^0.4.0",
"warning": "^3.0.0"
}
}

@@ -7,3 +7,3 @@ # react-overlays

demos and docs at: http://react-bootstrap.github.io/react-overlays/examples/
demos and docs at: https://react-bootstrap.github.io/react-overlays/

@@ -10,0 +10,0 @@ ## Install

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