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

react-material-responsive-grid

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-material-responsive-grid - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

30

components/Col.js

@@ -91,27 +91,27 @@ 'use strict';

if (xs4Offset) {
if (xs4Offset != null) {
classNames.push((0, _utils.getClass)('col-xs4-offset-' + xs4Offset));
}
if (xs8Offset) {
if (xs8Offset != null) {
classNames.push((0, _utils.getClass)('col-xs8-offset-' + xs8Offset));
}
if (sm8Offset) {
if (sm8Offset != null) {
classNames.push((0, _utils.getClass)('col-sm8-offset-' + sm8Offset));
}
if (sm12Offset) {
if (sm12Offset != null) {
classNames.push((0, _utils.getClass)('col-sm12-offset-' + sm12Offset));
}
if (md12Offset) {
if (md12Offset != null) {
classNames.push((0, _utils.getClass)('col-md12-offset-' + md12Offset));
}
if (lg12Offset) {
if (lg12Offset != null) {
classNames.push((0, _utils.getClass)('col-lg12-offset-' + lg12Offset));
}
if (xl12Offset) {
if (xl12Offset != null) {
classNames.push((0, _utils.getClass)('col-xl12-offset-' + xl12Offset));

@@ -137,26 +137,18 @@ }

if (smOffset) {
if (smOffset != null) {
classNames.push((0, _utils.getClass)('col-sm-offset-' + smOffset));
}
if (mdOffset) {
if (mdOffset != null) {
classNames.push((0, _utils.getClass)('col-md-offset-' + mdOffset));
}
if (lgOffset) {
if (lgOffset != null) {
classNames.push((0, _utils.getClass)('col-lg-offset-' + lgOffset));
}
if (xlOffset) {
if (xlOffset != null) {
classNames.push((0, _utils.getClass)('col-xl-offset-' + xlOffset));
}
if (lgOffset) {
classNames.push((0, _utils.getClass)('col-lg-offset-' + lgOffset));
}
if (xlOffset) {
classNames.push((0, _utils.getClass)('col-xl-offset-' + xlOffset));
}
if (hiddenUp && (0, _utils.isSizeValid)(hiddenUp)) {

@@ -163,0 +155,0 @@ classNames.push((0, _utils.getClass)('hidden-' + hiddenUp + '-up'));

{
"name": "react-material-responsive-grid",
"author": "Ken Gregory",
"version": "1.2.1",
"version": "1.2.2",
"description": "A set of React components implementing the material-responsive-grid CSS framework.",

@@ -6,0 +6,0 @@ "main": "./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