Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-grid-system

Package Overview
Dependencies
Maintainers
2
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-grid-system - npm Package Compare versions

Comparing version 2.6.0 to 2.7.0

build/grid/Col/style.js

2

build/grid/Col/index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc