uip-design-system
Advanced tools
Comparing version 0.1.16 to 0.1.17
@@ -153,5 +153,24 @@ (function (global, factory) { | ||
var _templateObject$5 = taggedTemplateLiteral(['\n ', '\n'], ['\n ', '\n']); | ||
var getMarginBottom = function getMarginBottom(_ref) { | ||
var _ref$size = _ref.size, | ||
size = _ref$size === undefined ? SIZE_SCALE.base : _ref$size; | ||
return 'margin-bottom: ' + size + SIZE_UNIT; | ||
}; | ||
var VerticalSpacing = styled__default.div(_templateObject$5, getMarginBottom); | ||
VerticalSpacing.propTypes = { | ||
children: react.PropTypes.any, | ||
bottom: react.PropTypes.oneOf(Object.keys(SIZE_SCALE).map(function (k) { | ||
return SIZE_SCALE[k]; | ||
})) | ||
}; | ||
exports.Grid = Grid; | ||
exports.GridCell = GridCell; | ||
exports.Container = Container; | ||
exports.VerticalSpacing = VerticalSpacing; | ||
exports.MAX_COLS = MAX_COLS; | ||
@@ -158,0 +177,0 @@ exports.GUTTER_SIZE = GUTTER_SIZE; |
{ | ||
"name": "uip-design-system", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"description": "Design system for Urban Infrastructure Partner", | ||
@@ -5,0 +5,0 @@ "main": "dist/uip-design-system.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
41772
291