gilbarbara/styled-minimal

View on GitHub
docs/main.282207f6813e19aae3ca.bundle.js.map

Summary

Maintainability
Test Coverage
{"version":3,"file":"main.282207f6813e19aae3ca.bundle.js","sources":["webpack:///./src/Box.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport {\n  alignContent,\n  alignItems,\n  alignSelf,\n  backgroundImage,\n  borders,\n  borderRadius,\n  bottom,\n  color,\n  display,\n  flex,\n  flexBasis,\n  flexDirection,\n  flexWrap,\n  fontFamily,\n  fontSize,\n  fontStyle,\n  fontWeight,\n  height,\n  justifyContent,\n  left,\n  lineHeight,\n  maxHeight,\n  maxWidth,\n  minHeight,\n  minWidth,\n  order,\n  position,\n  ratio,\n  right,\n  space,\n  textAlign,\n  top,\n  width,\n  zIndex,\n} from 'styled-system';\n\nimport { textTransform } from './utils/system';\n\nconst Box = styled.div(\n  {\n    boxSizing: 'border-box',\n  },\n  alignContent,\n  alignItems,\n  alignSelf,\n  backgroundImage,\n  borders,\n  borderRadius,\n  bottom,\n  color,\n  display,\n  flex,\n  flexBasis,\n  flexDirection,\n  flexWrap,\n  fontFamily,\n  fontSize,\n  fontStyle,\n  fontWeight,\n  height,\n  justifyContent,\n  left,\n  lineHeight,\n  maxHeight,\n  maxWidth,\n  minHeight,\n  minWidth,\n  order,\n  position,\n  ratio,\n  right,\n  space,\n  textAlign,\n  textTransform,\n  top,\n  width,\n  zIndex,\n);\n\nBox.displayName = 'Box';\n\nBox.propTypes = {\n  as: PropTypes.string,\n  children: PropTypes.node,\n  textTransform: PropTypes.string,\n  ...alignContent.propTypes,\n  ...alignItems.propTypes,\n  ...alignSelf.propTypes,\n  ...backgroundImage.propTypes,\n  ...borders.propTypes,\n  ...borderRadius.propTypes,\n  ...bottom.propTypes,\n  ...color.propTypes,\n  ...display.propTypes,\n  ...flex.propTypes,\n  ...flexBasis.propTypes,\n  ...flexDirection.propTypes,\n  ...flexWrap.propTypes,\n  ...fontFamily.propTypes,\n  ...fontSize.propTypes,\n  ...fontWeight.propTypes,\n  ...height.propTypes,\n  ...justifyContent.propTypes,\n  ...left.propTypes,\n  ...maxHeight.propTypes,\n  ...maxWidth.propTypes,\n  ...minHeight.propTypes,\n  ...minWidth.propTypes,\n  ...order.propTypes,\n  ...position.propTypes,\n  ...right.propTypes,\n  ...ratio.propTypes,\n  ...space.propTypes,\n  ...textAlign.propTypes,\n  ...top.propTypes,\n  ...width.propTypes,\n  ...zIndex.propTypes,\n};\n\nexport default Box;\n"],"mappings":"AA0CA","sourceRoot":""}