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

react-combo-modal

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-combo-modal - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

24

lib/Modal.jsx

@@ -43,3 +43,3 @@ 'use strict';

value: function componentDidMount() {
this.popup = document.createElement("div");
this.popup = document.createElement('div');
document.body.appendChild(this.popup);

@@ -64,3 +64,5 @@ this.renderLayer();

value: function componentWillUnmount() {
document.body.removeChild(this.popup);
if (document.body) {
document.body.removeChild(this.popup);
}

@@ -94,12 +96,18 @@ window.removeEventListener('click', this.globalMouseClick);

'div',
{ style: this.props.style && this.props.style.background,
className: this.props.customClassNames && this.props.customClassNames.background ? this.props.customClassNames.background : 'ReactComboModalBackground' },
{
style: this.props.style && this.props.style.background,
className: this.props.customClassNames && this.props.customClassNames.background ? this.props.customClassNames.background : 'ReactComboModalBackground'
},
_react2.default.createElement(
'div',
{ style: this.props.style && this.props.style.holder,
className: this.props.customClassNames && this.props.customClassNames.holder ? this.props.customClassNames.holder : 'ReactComboModalHolder' },
{
style: this.props.style && this.props.style.holder,
className: this.props.customClassNames && this.props.customClassNames.holder ? this.props.customClassNames.holder : 'ReactComboModalHolder'
},
_react2.default.createElement(
'div',
{ style: this.props.style && this.props.style.modal,
className: this.props.customClassNames && this.props.customClassNames.modal ? this.props.customClassNames.modal : 'ReactComboModal' },
{
style: this.props.style && this.props.style.modal,
className: this.props.customClassNames && this.props.customClassNames.modal ? this.props.customClassNames.modal : 'ReactComboModal'
},
content

@@ -106,0 +114,0 @@ )

{
"name": "react-combo-modal",
"version": "0.1.3",
"version": "0.1.4",
"keywords": "react, modal, react-component",

@@ -8,3 +8,3 @@ "description": "React modal component",

"scripts": {
"start": "./node_modules/.bin/webpack-dev-server --config webpack.config.js --hot --progress --colors --port 8080",
"start": "./node_modules/.bin/webpack-dev-server --config webpack.config.js --hot --progress --colors --port 8081 --open",
"test": "mocha -r mock-local-storage --compilers js:babel-core/register --require ./test/test.js \"test/**/*@(.js|.jsx)\"",

@@ -16,3 +16,3 @@ "prepublish": "rm -rf ./lib && mkdir lib && ./node_modules/.bin/babel Components/Modal.jsx --out-file lib/Modal.jsx && ./node_modules/.bin/babel lib/Modal.jsx",

"type": "git",
"url": "git+https://github.com/markokostovski/react-combo-modal.git"
"url": "git+https://github.com/gogoair/react-combo-modal.git"
},

@@ -22,5 +22,5 @@ "author": "Marko Kostovski <marko.kostovski@gmail.com>",

"bugs": {
"url": "https://github.com/markokostovski/react-combo-select/issues"
"url": "https://github.com/gogoair/react-combo-select/issues"
},
"homepage": "https://github.com/markokostovski/react-combo-modal#readme",
"homepage": "https://github.com/gogoair/react-combo-modal#readme",
"devDependencies": {

@@ -37,21 +37,15 @@ "babel": "^6.5.2",

"babel-preset-stage-0": "^6.5.0",
"chai": "^3.5.0",
"chai-immutable": "^1.5.4",
"enzyme": "^2.3.0",
"eslint": "^3.19.0",
"eslint-plugin-react": "^6.10.3",
"immutable": "^3.7.6",
"jsdom": "^10.0.0",
"mocha": "^3.3.0",
"mock-local-storage": "^1.0.2",
"react-addons-test-utils": "^15.1.0",
"react-hot-loader": "^1.3.0",
"sinon": "^2.1.0",
"react-hot-loader": "^3.0.0-beta.7",
"webpack": "^2.4.1",
"webpack-dev-server": "^2.4.4"
},
"peerDependencies": {
"react": ">15.1.0",
"react-dom": ">15.1.0"
},
"dependencies": {
"react": "^15.1.0",
"react-dom": "^15.1.0"
"prop-types": "^15.6.0"
}
}

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