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

backstage-modal

Package Overview
Dependencies
Maintainers
7
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.2.1 to 0.2.2

2

dist/modal.css.js

@@ -66,2 +66,2 @@ 'use strict';

}
};
};

@@ -86,6 +86,9 @@ 'use strict';

value: function render() {
var modalStyle = _modal2.default.container;
var modalStyle = _modal2.default.modal;
if (this.props.width) {
modalStyle = _extends({}, modalStyle, { width: this.props.width });
}
if (this.props.height) {
modalStyle = _extends({}, modalStyle, { height: this.props.height });
}

@@ -99,3 +102,3 @@ var classNames = 'bs-modal ' + (this.props.className || '');

'div',
{ onKeyDown: this.handleKeyDown, className: classNames, style: modalStyle },
{ onKeyDown: this.handleKeyDown, className: classNames, style: _modal2.default.container },
_react2.default.createElement(

@@ -110,3 +113,3 @@ 'div',

'div',
{ style: _modal2.default.modal },
{ style: modalStyle },
_react2.default.createElement(

@@ -140,2 +143,3 @@ 'div',

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,

@@ -142,0 +146,0 @@ children: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.arrayOf(_react2.default.PropTypes.node), _react2.default.PropTypes.node]),

{
"name": "backstage-modal",
"version": "0.2.1",
"version": "0.2.2",
"description": "backstage modal",

@@ -5,0 +5,0 @@ "main": "dist/modal.js",

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