@hackclub/design-system
Advanced tools
Comparing version 0.0.1-0 to 0.0.1-1
@@ -10,7 +10,7 @@ 'use strict' | ||
'\n border-radius: ', | ||
';\n display: inline-block;\n font-weight: normal;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n' | ||
';\n display: inline-block;\n font-weight: normal;\n letter-spacing: 0.04em;\n line-height: 1.25;\n text-transform: uppercase;\n' | ||
], | ||
[ | ||
'\n border-radius: ', | ||
';\n display: inline-block;\n font-weight: normal;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n' | ||
';\n display: inline-block;\n font-weight: normal;\n letter-spacing: 0.04em;\n line-height: 1.25;\n text-transform: uppercase;\n' | ||
] | ||
@@ -17,0 +17,0 @@ ) |
@@ -10,3 +10,3 @@ 'use strict' | ||
'\n -webkit-font-smoothing: antialiased;\n display: inline-block;\n vertical-align: middle;\n text-align: center;\n text-decoration: none;\n font-family: inherit;\n font-weight: ', | ||
';\n appearance: none;\n cursor: pointer;\n transition: .125s box-shadow ease-out;\n box-shadow: 0 2px 12px ', | ||
';\n line-height: 1.125;\n appearance: none;\n cursor: pointer;\n transition: .125s box-shadow ease-out;\n box-shadow: 0 2px 12px ', | ||
';\n border-radius: ', | ||
@@ -21,3 +21,3 @@ ';\n border-width: 0;\n border-style: solid;\n\n ', | ||
'\n -webkit-font-smoothing: antialiased;\n display: inline-block;\n vertical-align: middle;\n text-align: center;\n text-decoration: none;\n font-family: inherit;\n font-weight: ', | ||
';\n appearance: none;\n cursor: pointer;\n transition: .125s box-shadow ease-out;\n box-shadow: 0 2px 12px ', | ||
';\n line-height: 1.125;\n appearance: none;\n cursor: pointer;\n transition: .125s box-shadow ease-out;\n box-shadow: 0 2px 12px ', | ||
';\n border-radius: ', | ||
@@ -24,0 +24,0 @@ ';\n border-width: 0;\n border-style: solid;\n\n ', |
@@ -46,2 +46,6 @@ 'use strict' | ||
var wrap = function wrap(props) { | ||
return props.wrap ? { flexWrap: 'wrap' } : null | ||
} | ||
var Flex = _Box2.default.extend( | ||
@@ -52,3 +56,3 @@ _templateObject, | ||
_styledSystem.justifyContent, | ||
_styledSystem.flexWrap, | ||
wrap, | ||
_styledSystem.flexDirection, | ||
@@ -59,7 +63,8 @@ _styledSystem.flex | ||
Flex.propTypes = _extends( | ||
{}, | ||
{ | ||
wrap: _propTypes2.default.bool | ||
}, | ||
_styledSystem.propTypes.alignSelf, | ||
_styledSystem.propTypes.alignItems, | ||
_styledSystem.propTypes.justifyContent, | ||
_styledSystem.propTypes.flexWrap, | ||
_styledSystem.propTypes.flexDirection, | ||
@@ -66,0 +71,0 @@ _styledSystem.propTypes.flex |
@@ -40,3 +40,3 @@ 'use strict' | ||
inverted: false, | ||
f: [2, 3, 4], | ||
f: [2, 3], | ||
py: 3, | ||
@@ -43,0 +43,0 @@ px: 4 |
@@ -95,3 +95,3 @@ 'use strict' | ||
var fontSizes = (exports.fontSizes = [12, 14, 16, 20, 24, 32, 48]) | ||
var fontSizes = (exports.fontSizes = [12, 14, 16, 20, 24, 32, 48, 64, 72, 96]) | ||
@@ -108,3 +108,3 @@ var regular = (exports.regular = 400) | ||
}) | ||
var radii = (exports.radii = [0, 4, 8]) | ||
var radii = (exports.radii = ['0px', '4px', '8px']) | ||
var radius = (exports.radius = '4px') | ||
@@ -111,0 +111,0 @@ |
{ | ||
"name": "@hackclub/design-system", | ||
"version": "0.0.1-0", | ||
"version": "0.0.1-1", | ||
"description": "Hack Club Design System", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
3269365
86
3852