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

backstage-modal

Package Overview
Dependencies
Maintainers
8
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backstage-modal - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

6

dist/close-button.js

@@ -15,2 +15,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _modal = require('./modal.css');

@@ -76,4 +80,4 @@

CloseButton.propTypes = {
onClick: _react2.default.PropTypes.func
onClick: _propTypes2.default.func
};
exports.default = CloseButton;

@@ -13,2 +13,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _modal = require('./modal.css');

@@ -50,4 +54,4 @@

ModalBody.propTypes = {
children: _react2.default.PropTypes.node
children: _propTypes2.default.node
};
exports.default = ModalBody;

@@ -13,2 +13,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _modal = require('./modal.css');

@@ -50,4 +54,4 @@

ModalFooter.propTypes = {
children: _react2.default.PropTypes.node
children: _propTypes2.default.node
};
exports.default = ModalFooter;

18

dist/modal.js

@@ -16,2 +16,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _reactPortalStateless = require('react-portal-stateless');

@@ -132,9 +136,9 @@

Modal.propTypes = {
className: _react2.default.PropTypes.string,
isOpen: _react2.default.PropTypes.bool,
width: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.number]),
height: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.number]),
title: _react2.default.PropTypes.string,
children: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.arrayOf(_react2.default.PropTypes.node), _react2.default.PropTypes.node]),
onCloseRequest: _react2.default.PropTypes.func
className: _propTypes2.default.string,
isOpen: _propTypes2.default.bool,
width: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),
height: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),
title: _propTypes2.default.string,
children: _propTypes2.default.oneOfType([_propTypes2.default.arrayOf(_propTypes2.default.node), _propTypes2.default.node]),
onCloseRequest: _propTypes2.default.func
};

@@ -141,0 +145,0 @@ Modal.defaultProps = {

{
"name": "backstage-modal",
"version": "0.3.1",
"version": "0.3.2",
"description": "backstage modal",

@@ -36,3 +36,3 @@ "main": "dist/modal.js",

"babel-preset-stage-0": "^6.16.0",
"enzyme": "^2.4.1",
"enzyme": "^2.9.1",
"eslint": "^3.3.1",

@@ -44,5 +44,5 @@ "eslint-config-airbnb": "^10.0.1",

"jest": "^16.0.1",
"react": "^15.3.1",
"react-addons-test-utils": "^15.3.1",
"react-dom": "^15.3.1",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
"webpack": "^1.13.2",

@@ -52,4 +52,5 @@ "webpack-dev-server": "^1.16.1"

"dependencies": {
"prop-types": "^15.5.10",
"react-portal-stateless": "^1.0.3"
}
}
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