Comparing version 0.0.114 to 0.0.120
@@ -6,2 +6,5 @@ 'use strict'; | ||
}); | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
exports.default = Group; | ||
@@ -19,2 +22,4 @@ | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } | ||
function Group(_ref) { | ||
@@ -27,12 +32,13 @@ var _ref$top = _ref.top, | ||
className = _ref.className, | ||
children = _ref.children; | ||
children = _ref.children, | ||
restProps = _objectWithoutProperties(_ref, ['top', 'left', 'transform', 'className', 'children']); | ||
return _react2.default.createElement( | ||
'g', | ||
{ | ||
_extends({ | ||
className: (0, _classnames2.default)('cx-group', className), | ||
transform: transform || 'translate(' + left + ', ' + top + ')' | ||
}, | ||
}, restProps), | ||
children | ||
); | ||
} |
{ | ||
"name": "@vx/group", | ||
"version": "0.0.114", | ||
"version": "0.0.120", | ||
"description": "vx group", | ||
@@ -39,7 +39,10 @@ "main": "build/index.js", | ||
"react-tools": "^0.10.0", | ||
"regenerator-runtime": "^0.10.5" | ||
"regenerator-runtime": "^0.10.5", | ||
"react": "^15.0.0 || 15.x" | ||
}, | ||
"peerDependencies": { | ||
"react": "^15.0.0 || 15.x" | ||
}, | ||
"dependencies": { | ||
"classnames": "^2.2.5", | ||
"react": "15.4.2" | ||
"classnames": "^2.2.5" | ||
}, | ||
@@ -46,0 +49,0 @@ "publishConfig": { |
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
4600
40
8
+ Addedcreate-react-class@15.7.0(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact@15.7.0(transitive)
+ Addedreact-is@16.13.1(transitive)
- Removedreact@15.4.2
- Removedreact@15.4.2(transitive)