react-grid-system
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -15,3 +15,3 @@ 'use strict'; | ||
var _style = require('./style.css'); | ||
var _style = require('./style'); | ||
@@ -18,0 +18,0 @@ var _style2 = _interopRequireDefault(_style); |
@@ -15,3 +15,3 @@ 'use strict'; | ||
var _style = require('./style.css'); | ||
var _style = require('./style'); | ||
@@ -59,7 +59,17 @@ var _style2 = _interopRequireDefault(_style); | ||
fluid = _this$props.fluid, | ||
xs = _this$props.xs, | ||
sm = _this$props.sm, | ||
md = _this$props.md, | ||
lg = _this$props.lg, | ||
xl = _this$props.xl, | ||
style = _this$props.style, | ||
otherProps = _objectWithoutProperties(_this$props, ['children', 'fluid', 'style']); | ||
otherProps = _objectWithoutProperties(_this$props, ['children', 'fluid', 'xs', 'sm', 'md', 'lg', 'xl', 'style']); | ||
var theStyle = (0, _style2.default)({ | ||
fluid: fluid, | ||
xs: xs, | ||
sm: sm, | ||
md: md, | ||
lg: lg, | ||
xl: xl, | ||
screenClass: _this.state.screenClass, | ||
@@ -92,2 +102,27 @@ containerWidths: _this.context.containerWidths, | ||
/** | ||
* This is in combination with fluid enabled | ||
* True makes container fluid only in xs, not present means fluid everywhere | ||
*/ | ||
xs: _react2.default.PropTypes.bool, | ||
/** | ||
* This is in combination with fluid enabled | ||
* True makes container fluid only in sm, not present means fluid everywhere | ||
*/ | ||
sm: _react2.default.PropTypes.bool, | ||
/** | ||
* This is in combination with fluid enabled | ||
* True makes container fluid only in md, not present means fluid everywhere | ||
*/ | ||
md: _react2.default.PropTypes.bool, | ||
/** | ||
* This is in combination with fluid enabled | ||
* True makes container fluid only in lg, not present means fluid everywhere | ||
*/ | ||
lg: _react2.default.PropTypes.bool, | ||
/** | ||
* This is in combination with fluid enabled | ||
* True makes container fluid only in xl, not present means fluid everywhere | ||
*/ | ||
xl: _react2.default.PropTypes.bool, | ||
/** | ||
* Optional styling | ||
@@ -107,4 +142,9 @@ */ | ||
fluid: false, | ||
xs: false, | ||
sm: false, | ||
md: false, | ||
lg: false, | ||
xl: false, | ||
style: {} | ||
}; | ||
exports.default = Container; |
@@ -13,3 +13,3 @@ 'use strict'; | ||
var _style = require('./style.css'); | ||
var _style = require('./style'); | ||
@@ -16,0 +16,0 @@ var _style2 = _interopRequireDefault(_style); |
@@ -15,3 +15,3 @@ 'use strict'; | ||
var _style = require('./style.css'); | ||
var _style = require('./style'); | ||
@@ -18,0 +18,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
@@ -13,3 +13,3 @@ 'use strict'; | ||
var _style = require('./style.css'); | ||
var _style = require('./style'); | ||
@@ -16,0 +16,0 @@ var style = _interopRequireWildcard(_style); |
@@ -13,3 +13,3 @@ 'use strict'; | ||
var _style = require('./style.css'); | ||
var _style = require('./style'); | ||
@@ -16,0 +16,0 @@ var style = _interopRequireWildcard(_style); |
{ | ||
"name": "react-grid-system", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "A no CSS Bootstrap-like responsive grid system for React.", | ||
@@ -5,0 +5,0 @@ "main": "./build/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
46696
886