Comparing version 4.0.1 to 4.1.0
@@ -44,3 +44,3 @@ 'use strict'; | ||
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ReactRnd).call(this, props)); | ||
var _this = _possibleConstructorReturn(this, (ReactRnd.__proto__ || Object.getPrototypeOf(ReactRnd)).call(this, props)); | ||
@@ -84,3 +84,6 @@ _this.state = { | ||
} | ||
this.props.onResize(dir, styleSize, clientSize, delta); | ||
this.props.onResize(dir, styleSize, clientSize, delta, { | ||
x: this.state.x, | ||
y: this.state.y | ||
}); | ||
} | ||
@@ -178,3 +181,3 @@ }, { | ||
'div', | ||
{ style: _extends({}, boxStyle, { zIndex: zIndex }) }, | ||
{ style: _extends(boxStyle, { zIndex: zIndex }) }, | ||
_react2.default.createElement( | ||
@@ -181,0 +184,0 @@ _reactResizableBox2.default, |
{ | ||
"name": "react-rnd", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "Resizable and draggable component for React.", | ||
@@ -66,2 +66,3 @@ "main": "lib/index.js", | ||
"react-addons-test-utils": "^15.0.1", | ||
"react-dom": "^15.3.2", | ||
"sinon": "^1.17.3", | ||
@@ -68,0 +69,0 @@ "watchify": "^3.7.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12853
278
31