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

react-flexr

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-flexr - npm Package Compare versions

Comparing version 1.6.2 to 1.6.3

15

dist/cell.component.js

@@ -47,5 +47,7 @@ 'use strict';

base: {
flex: 1,
padding: '0 ' + _defaults.variables.gutter
},
baseFlex: {
flex: 1
},
flex: {

@@ -84,7 +86,5 @@ display: 'flex'

var calcSize = '0 0 ' + 100 / denominator * numerator + '%';
var calcSize = '' + 100 / denominator * numerator + '%';
return {
WebkitFlex: calcSize,
msFlex: calcSize,
flex: calcSize
width: calcSize
};

@@ -113,4 +113,5 @@ }

flex: '' + growStyle + ' 1 auto',
WebkitFlex: '' + growStyle + ' 1 auto'
} : null, style].concat(Array.isArray(styles) ? styles : [styles]);
WebkitFlex: '' + growStyle + ' 1 auto',
msFlex: '' + growStyle + ' 1 auto'
} : CellStyles.baseFlex, style].concat(Array.isArray(styles) ? styles : [styles]);

@@ -117,0 +118,0 @@ return currentBreakpointProp === 'hidden' ? null : _react2['default'].createElement(

@@ -10,5 +10,7 @@ import StyleSheet from 'react-style';

base: {
flex: 1,
padding: `0 ${ variables.gutter }`
},
baseFlex: {
flex: 1
},
flex: {

@@ -51,7 +53,5 @@ display: 'flex'

const [ numerator, denominator ] = size ? size.split('/') : [];
const calcSize = `0 0 ${ ( 100 / denominator ) * numerator }%`;
const calcSize = `${ ( 100 / denominator ) * numerator }%`;
return {
WebkitFlex: calcSize,
msFlex: calcSize,
flex: calcSize
width: calcSize
};

@@ -88,4 +88,5 @@ }

flex: `${ growStyle } 1 auto`,
WebkitFlex: `${ growStyle } 1 auto`
} : null,
WebkitFlex: `${ growStyle } 1 auto`,
msFlex: `${ growStyle } 1 auto`
} : CellStyles.baseFlex,
style

@@ -92,0 +93,0 @@ ].concat( Array.isArray(styles) ? styles : [styles] );

{
"name": "react-flexr",
"version": "1.6.2",
"version": "1.6.3",
"description": "React flexbox grid made simple.",

@@ -5,0 +5,0 @@ "main": "dist",

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