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

react-reflex

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-reflex - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

dist/demo/bundle.js.map

45

dist/commonjs/ReflexContainer.js

@@ -82,8 +82,2 @@ 'use strict';

/////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////
//
//
/////////////////////////////////////////////////////////
function ReflexContainer(props) {

@@ -118,8 +112,2 @@ (0, _classCallCheck3.default)(this, ReflexContainer);

/////////////////////////////////////////////////////////
//
//
/////////////////////////////////////////////////////////
(0, _createClass3.default)(ReflexContainer, [{

@@ -258,6 +246,4 @@ key: 'setPartialState',

case 'vertical':
default:
return domElement.offsetWidth;
default:
return 0;
}

@@ -283,2 +269,3 @@ }

case 'vertical':
default:
return pos.pageX - this.previousPos;

@@ -307,2 +294,3 @@ }

case 'vertical':
default:
document.body.style.cursor = 'col-resize';

@@ -347,2 +335,3 @@ this.previousPos = pos.pageX;

case 'vertical':
default:
this.previousPos = pos.pageX;

@@ -617,8 +606,5 @@ break;

case 'vertical':
default:
return 1.0 / domElement.offsetWidth;
default:
return 0;
}

@@ -935,10 +921,23 @@ }

/////////////////////////////////////////////////////////
//
//
/////////////////////////////////////////////////////////
ReflexContainer.propTypes = {
orientation: _propTypes2.default.string,
orientation: _propTypes2.default.oneOf(['horizontal', 'vertical']),
className: _propTypes2.default.string,
style: _propTypes2.default.object };
ReflexContainer.defaultProps = {
style: _propTypes2.default.object
/////////////////////////////////////////////////////////
//
//
/////////////////////////////////////////////////////////
};ReflexContainer.defaultProps = {
orientation: 'horizontal',
className: '',
style: {} };
style: {}
};
exports.default = ReflexContainer;

@@ -30,8 +30,2 @@ import _toConsumableArray from 'babel-runtime/helpers/toConsumableArray';

/////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////
//
//
/////////////////////////////////////////////////////////
function ReflexContainer(props) {

@@ -66,8 +60,2 @@ _classCallCheck(this, ReflexContainer);

/////////////////////////////////////////////////////////
//
//
/////////////////////////////////////////////////////////
_createClass(ReflexContainer, [{

@@ -206,6 +194,4 @@ key: 'setPartialState',

case 'vertical':
default:
return domElement.offsetWidth;
default:
return 0;
}

@@ -231,2 +217,3 @@ }

case 'vertical':
default:
return pos.pageX - this.previousPos;

@@ -255,2 +242,3 @@ }

case 'vertical':
default:
document.body.style.cursor = 'col-resize';

@@ -295,2 +283,3 @@ this.previousPos = pos.pageX;

case 'vertical':
default:
this.previousPos = pos.pageX;

@@ -565,8 +554,5 @@ break;

case 'vertical':
default:
return 1.0 / domElement.offsetWidth;
default:
return 0;
}

@@ -884,12 +870,23 @@ }

/////////////////////////////////////////////////////////
//
//
/////////////////////////////////////////////////////////
ReflexContainer.propTypes = {
orientation: PropTypes.string,
orientation: PropTypes.oneOf(['horizontal', 'vertical']),
className: PropTypes.string,
style: PropTypes.object };
ReflexContainer.defaultProps = {
style: PropTypes.object
/////////////////////////////////////////////////////////
//
//
/////////////////////////////////////////////////////////
};ReflexContainer.defaultProps = {
orientation: 'horizontal',
className: '',
style: {} };
style: {}
};
export default ReflexContainer;
{
"name": "react-reflex",
"version": "2.1.1",
"version": "2.1.2",
"description": "Flex layout component for advanced React web applications",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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