react-interface
Advanced tools
Comparing version 0.9.3 to 0.9.4-alpha.0.0.1
@@ -1,2 +0,2 @@ | ||
var _templateObject = _taggedTemplateLiteralLoose(['\n display: flex;\n flex-flow: row nowrap;\n flex-grow: ', ';\n flex-shrink: ', ';\n flex-basis: ', ';\n justify-content: ', ';\n align-items: ', ';\n padding: 0.5em;\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0px;\n'], ['\n display: flex;\n flex-flow: row nowrap;\n flex-grow: ', ';\n flex-shrink: ', ';\n flex-basis: ', ';\n justify-content: ', ';\n align-items: ', ';\n padding: 0.5em;\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0px;\n']); | ||
var _templateObject = _taggedTemplateLiteralLoose(['\n display: flex;\n flex-flow: row nowrap;\n flex-grow: ', ';\n flex-shrink: ', ';\n flex-basis: ', ';\n justify-content: ', ';\n align-items: ', ';\n padding: 0.5em;\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0px;\n ', '\n'], ['\n display: flex;\n flex-flow: row nowrap;\n flex-grow: ', ';\n flex-shrink: ', ';\n flex-basis: ', ';\n justify-content: ', ';\n align-items: ', ';\n padding: 0.5em;\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0px;\n ', '\n']); | ||
@@ -10,2 +10,3 @@ 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; } | ||
import styled from 'styled-components'; | ||
import { space } from 'styled-system'; | ||
@@ -22,3 +23,3 @@ var Cell = styled.div(_templateObject, function (props) { | ||
return props.align; | ||
}); | ||
}, space); | ||
@@ -25,0 +26,0 @@ var FlexCell = function FlexCell(_ref) { |
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; }; | ||
var _templateObject = _taggedTemplateLiteralLoose(['\n width: 100%;\n display: flex;\n flex-flow: row nowrap;\n'], ['\n width: 100%;\n display: flex;\n flex-flow: row nowrap;\n']); | ||
var _templateObject = _taggedTemplateLiteralLoose(['\n width: 100%;\n display: flex;\n flex-flow: row nowrap;\n ', '\n'], ['\n width: 100%;\n display: flex;\n flex-flow: row nowrap;\n ', '\n']); | ||
@@ -12,4 +12,5 @@ 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; } | ||
import styled from 'styled-components'; | ||
import { space } from 'styled-system'; | ||
var Row = styled.div(_templateObject); | ||
var Row = styled.div(_templateObject, space); | ||
@@ -16,0 +17,0 @@ var FlexRow = function FlexRow(_ref) { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var _templateObject = _taggedTemplateLiteralLoose(['\n display: flex;\n flex-flow: row nowrap;\n flex-grow: ', ';\n flex-shrink: ', ';\n flex-basis: ', ';\n justify-content: ', ';\n align-items: ', ';\n padding: 0.5em;\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0px;\n'], ['\n display: flex;\n flex-flow: row nowrap;\n flex-grow: ', ';\n flex-shrink: ', ';\n flex-basis: ', ';\n justify-content: ', ';\n align-items: ', ';\n padding: 0.5em;\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0px;\n']); | ||
var _templateObject = _taggedTemplateLiteralLoose(['\n display: flex;\n flex-flow: row nowrap;\n flex-grow: ', ';\n flex-shrink: ', ';\n flex-basis: ', ';\n justify-content: ', ';\n align-items: ', ';\n padding: 0.5em;\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0px;\n ', '\n'], ['\n display: flex;\n flex-flow: row nowrap;\n flex-grow: ', ';\n flex-shrink: ', ';\n flex-basis: ', ';\n justify-content: ', ';\n align-items: ', ';\n padding: 0.5em;\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0px;\n ', '\n']); | ||
@@ -20,2 +20,4 @@ var _react = require('react'); | ||
var _styledSystem = require('styled-system'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -37,3 +39,3 @@ | ||
return props.align; | ||
}); | ||
}, _styledSystem.space); | ||
@@ -40,0 +42,0 @@ var FlexCell = function FlexCell(_ref) { |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var _templateObject = _taggedTemplateLiteralLoose(['\n width: 100%;\n display: flex;\n flex-flow: row nowrap;\n'], ['\n width: 100%;\n display: flex;\n flex-flow: row nowrap;\n']); | ||
var _templateObject = _taggedTemplateLiteralLoose(['\n width: 100%;\n display: flex;\n flex-flow: row nowrap;\n ', '\n'], ['\n width: 100%;\n display: flex;\n flex-flow: row nowrap;\n ', '\n']); | ||
@@ -22,2 +22,4 @@ var _react = require('react'); | ||
var _styledSystem = require('styled-system'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -29,3 +31,3 @@ | ||
var Row = _styledComponents2.default.div(_templateObject); | ||
var Row = _styledComponents2.default.div(_templateObject, _styledSystem.space); | ||
@@ -32,0 +34,0 @@ var FlexRow = function FlexRow(_ref) { |
{ | ||
"name": "react-interface", | ||
"version": "0.9.3", | ||
"version": "0.9.4-alpha.0.0.1", | ||
"description": "react-interface React component", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.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
145446
2905