styled-system
Advanced tools
Comparing version 4.0.4 to 4.0.5
@@ -5,2 +5,6 @@ # Changelog | ||
## v4.0.5 2019-03-15 | ||
- Fix for missing `propTypes` on `space` function | ||
## v4.0.1 2019-02-27 | ||
@@ -7,0 +11,0 @@ |
@@ -198,5 +198,11 @@ "use strict"; | ||
return function (func) { | ||
return function (props) { | ||
var next = function next(props) { | ||
return func(mapper(props)); | ||
}; | ||
for (var key in func) { | ||
next[key] = func[key]; | ||
} | ||
return next; | ||
}; | ||
@@ -203,0 +209,0 @@ }; |
@@ -155,5 +155,11 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
return function (func) { | ||
return function (props) { | ||
var next = function next(props) { | ||
return func(mapper(props)); | ||
}; | ||
for (var key in func) { | ||
next[key] = func[key]; | ||
} | ||
return next; | ||
}; | ||
@@ -160,0 +166,0 @@ }; |
{ | ||
"name": "styled-system", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"description": "Responsive, theme-based style props for building design systems with React", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
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
57314
10
1124