styled-system
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -87,4 +87,8 @@ 'use strict'; | ||
var borderColor = { | ||
borderColor: PropTypes.string | ||
}; | ||
var boxShadow = { | ||
boxShadow: PropTypes.string | ||
boxShadow: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) | ||
}; | ||
@@ -123,2 +127,3 @@ | ||
borderWidth: borderWidth, | ||
borderColor: borderColor, | ||
boxShadow: boxShadow, | ||
@@ -125,0 +130,0 @@ hover: hover, |
{ | ||
"name": "styled-system", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Design system utilities for styled-components, glamorous, and other css-in-js libraries", | ||
@@ -66,3 +66,6 @@ "main": "dist/index.js", | ||
"prop-types": "^15.6.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^0.14.x || ^15.x || ^16.x" | ||
} | ||
} |
@@ -343,2 +343,4 @@ # styled-system | ||
// props.theme.shadows[1] | ||
// -- OR -- | ||
// <Box boxShadow={'1px 1px 0 black'} /> | ||
``` | ||
@@ -345,0 +347,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
39703
657
659
2