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

react-bem-grid

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bem-grid - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

6

dist/Col.js

@@ -33,2 +33,6 @@ 'use strict';

var _lodashIsnumber = require('lodash.isnumber');
var _lodashIsnumber2 = _interopRequireDefault(_lodashIsnumber);
var Col = (function (_PureComponent) {

@@ -50,3 +54,3 @@ _inherits(Col, _PureComponent);

var classes = (0, _classnames2['default'])((_classNames = {}, _defineProperty(_classNames, 'grid__col--xs' + (Number.isNaN(parseFloat(this.props.xs)) ? '' : '-' + this.props.xs), this.props.xs >= 0), _defineProperty(_classNames, 'grid__col--sm' + (Number.isNaN(parseFloat(this.props.sm)) ? '' : '-' + this.props.sm), this.props.sm >= 0), _defineProperty(_classNames, 'grid__col--md' + (Number.isNaN(parseFloat(this.props.md)) ? '' : '-' + this.props.md), this.props.md >= 0), _defineProperty(_classNames, 'grid__col--lg' + (Number.isNaN(parseFloat(this.props.lg)) ? '' : '-' + this.props.lg), this.props.lg >= 0), _defineProperty(_classNames, 'grid__col--xs-offset-' + this.props.xsOffset, this.props.xsOffset >= 0), _defineProperty(_classNames, 'grid__col--sm-offset-' + this.props.smOffset, this.props.smOffset >= 0), _defineProperty(_classNames, 'grid__col--md-offset-' + this.props.mdOffset, this.props.mdOffset >= 0), _defineProperty(_classNames, 'grid__col--lg-offset-' + this.props.lgOffset, this.props.lgOffset >= 0), _defineProperty(_classNames, 'grid__col--reverse', this.props.reverse), _defineProperty(_classNames, 'grid__col--xs-first', this.props.xsFirst), _defineProperty(_classNames, 'grid__col--sm-first', this.props.smFirst), _defineProperty(_classNames, 'grid__col--md-first', this.props.mdFirst), _defineProperty(_classNames, 'grid__col--lg-first', this.props.lgFirst), _defineProperty(_classNames, 'grid__col--xs-last', this.props.xsLast), _defineProperty(_classNames, 'grid__col--sm-last', this.props.smLast), _defineProperty(_classNames, 'grid__col--md-last', this.props.mdLast), _defineProperty(_classNames, 'grid__col--lg-last', this.props.lgLast), _classNames), this.props.className);
var classes = (0, _classnames2['default'])((_classNames = {}, _defineProperty(_classNames, 'grid__col--xs' + ((0, _lodashIsnumber2['default'])(parseFloat(this.props.xs)) ? '' : '-' + this.props.xs), this.props.xs >= 0), _defineProperty(_classNames, 'grid__col--sm' + ((0, _lodashIsnumber2['default'])(parseFloat(this.props.sm)) ? '' : '-' + this.props.sm), this.props.sm >= 0), _defineProperty(_classNames, 'grid__col--md' + ((0, _lodashIsnumber2['default'])(parseFloat(this.props.md)) ? '' : '-' + this.props.md), this.props.md >= 0), _defineProperty(_classNames, 'grid__col--lg' + ((0, _lodashIsnumber2['default'])(parseFloat(this.props.lg)) ? '' : '-' + this.props.lg), this.props.lg >= 0), _defineProperty(_classNames, 'grid__col--xs-offset-' + this.props.xsOffset, this.props.xsOffset >= 0), _defineProperty(_classNames, 'grid__col--sm-offset-' + this.props.smOffset, this.props.smOffset >= 0), _defineProperty(_classNames, 'grid__col--md-offset-' + this.props.mdOffset, this.props.mdOffset >= 0), _defineProperty(_classNames, 'grid__col--lg-offset-' + this.props.lgOffset, this.props.lgOffset >= 0), _defineProperty(_classNames, 'grid__col--reverse', this.props.reverse), _defineProperty(_classNames, 'grid__col--xs-first', this.props.xsFirst), _defineProperty(_classNames, 'grid__col--sm-first', this.props.smFirst), _defineProperty(_classNames, 'grid__col--md-first', this.props.mdFirst), _defineProperty(_classNames, 'grid__col--lg-first', this.props.lgFirst), _defineProperty(_classNames, 'grid__col--xs-last', this.props.xsLast), _defineProperty(_classNames, 'grid__col--sm-last', this.props.smLast), _defineProperty(_classNames, 'grid__col--md-last', this.props.mdLast), _defineProperty(_classNames, 'grid__col--lg-last', this.props.lgLast), _classNames), this.props.className);

@@ -53,0 +57,0 @@ return _react2['default'].createElement(

@@ -193,3 +193,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

var _isRequiredForA11y2 = __webpack_require__(12);
var _isRequiredForA11y2 = __webpack_require__(13);

@@ -200,3 +200,3 @@ var _isRequiredForA11y3 = _interopRequireDefault(_isRequiredForA11y2);

var _mountable2 = __webpack_require__(14);
var _mountable2 = __webpack_require__(15);

@@ -207,3 +207,3 @@ var _mountable3 = _interopRequireDefault(_mountable2);

var _elementType2 = __webpack_require__(11);
var _elementType2 = __webpack_require__(12);

@@ -214,3 +214,3 @@ var _elementType3 = _interopRequireDefault(_elementType2);

var _keyOf2 = __webpack_require__(13);
var _keyOf2 = __webpack_require__(14);

@@ -221,3 +221,3 @@ var _keyOf3 = _interopRequireDefault(_keyOf2);

var _singlePropFrom2 = __webpack_require__(15);
var _singlePropFrom2 = __webpack_require__(16);

@@ -228,3 +228,3 @@ var _singlePropFrom3 = _interopRequireDefault(_singlePropFrom2);

var _all2 = __webpack_require__(9);
var _all2 = __webpack_require__(10);

@@ -235,3 +235,3 @@ var _all3 = _interopRequireDefault(_all2);

var _deprecated2 = __webpack_require__(10);
var _deprecated2 = __webpack_require__(11);

@@ -256,3 +256,3 @@ var _deprecated3 = _interopRequireDefault(_deprecated2);

var _function = __webpack_require__(17);
var _function = __webpack_require__(18);

@@ -318,2 +318,6 @@ var _function2 = _interopRequireDefault(_function);

var _lodashIsnumber = __webpack_require__(9);
var _lodashIsnumber2 = _interopRequireDefault(_lodashIsnumber);
var Col = (function (_PureComponent) {

@@ -335,3 +339,3 @@ _inherits(Col, _PureComponent);

var classes = (0, _classnames2['default'])((_classNames = {}, _defineProperty(_classNames, 'grid__col--xs' + (Number.isNaN(parseFloat(this.props.xs)) ? '' : '-' + this.props.xs), this.props.xs >= 0), _defineProperty(_classNames, 'grid__col--sm' + (Number.isNaN(parseFloat(this.props.sm)) ? '' : '-' + this.props.sm), this.props.sm >= 0), _defineProperty(_classNames, 'grid__col--md' + (Number.isNaN(parseFloat(this.props.md)) ? '' : '-' + this.props.md), this.props.md >= 0), _defineProperty(_classNames, 'grid__col--lg' + (Number.isNaN(parseFloat(this.props.lg)) ? '' : '-' + this.props.lg), this.props.lg >= 0), _defineProperty(_classNames, 'grid__col--xs-offset-' + this.props.xsOffset, this.props.xsOffset >= 0), _defineProperty(_classNames, 'grid__col--sm-offset-' + this.props.smOffset, this.props.smOffset >= 0), _defineProperty(_classNames, 'grid__col--md-offset-' + this.props.mdOffset, this.props.mdOffset >= 0), _defineProperty(_classNames, 'grid__col--lg-offset-' + this.props.lgOffset, this.props.lgOffset >= 0), _defineProperty(_classNames, 'grid__col--reverse', this.props.reverse), _defineProperty(_classNames, 'grid__col--xs-first', this.props.xsFirst), _defineProperty(_classNames, 'grid__col--sm-first', this.props.smFirst), _defineProperty(_classNames, 'grid__col--md-first', this.props.mdFirst), _defineProperty(_classNames, 'grid__col--lg-first', this.props.lgFirst), _defineProperty(_classNames, 'grid__col--xs-last', this.props.xsLast), _defineProperty(_classNames, 'grid__col--sm-last', this.props.smLast), _defineProperty(_classNames, 'grid__col--md-last', this.props.mdLast), _defineProperty(_classNames, 'grid__col--lg-last', this.props.lgLast), _classNames), this.props.className);
var classes = (0, _classnames2['default'])((_classNames = {}, _defineProperty(_classNames, 'grid__col--xs' + ((0, _lodashIsnumber2['default'])(parseFloat(this.props.xs)) ? '' : '-' + this.props.xs), this.props.xs >= 0), _defineProperty(_classNames, 'grid__col--sm' + ((0, _lodashIsnumber2['default'])(parseFloat(this.props.sm)) ? '' : '-' + this.props.sm), this.props.sm >= 0), _defineProperty(_classNames, 'grid__col--md' + ((0, _lodashIsnumber2['default'])(parseFloat(this.props.md)) ? '' : '-' + this.props.md), this.props.md >= 0), _defineProperty(_classNames, 'grid__col--lg' + ((0, _lodashIsnumber2['default'])(parseFloat(this.props.lg)) ? '' : '-' + this.props.lg), this.props.lg >= 0), _defineProperty(_classNames, 'grid__col--xs-offset-' + this.props.xsOffset, this.props.xsOffset >= 0), _defineProperty(_classNames, 'grid__col--sm-offset-' + this.props.smOffset, this.props.smOffset >= 0), _defineProperty(_classNames, 'grid__col--md-offset-' + this.props.mdOffset, this.props.mdOffset >= 0), _defineProperty(_classNames, 'grid__col--lg-offset-' + this.props.lgOffset, this.props.lgOffset >= 0), _defineProperty(_classNames, 'grid__col--reverse', this.props.reverse), _defineProperty(_classNames, 'grid__col--xs-first', this.props.xsFirst), _defineProperty(_classNames, 'grid__col--sm-first', this.props.smFirst), _defineProperty(_classNames, 'grid__col--md-first', this.props.mdFirst), _defineProperty(_classNames, 'grid__col--lg-first', this.props.lgFirst), _defineProperty(_classNames, 'grid__col--xs-last', this.props.xsLast), _defineProperty(_classNames, 'grid__col--sm-last', this.props.smLast), _defineProperty(_classNames, 'grid__col--md-last', this.props.mdLast), _defineProperty(_classNames, 'grid__col--lg-last', this.props.lgLast), _classNames), this.props.className);

@@ -627,2 +631,67 @@ return _react2['default'].createElement(

/**
* lodash 3.0.1 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <https://lodash.com/license>
*/
/** `Object#toString` result references. */
var numberTag = '[object Number]';
/**
* Checks if `value` is object-like.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
*/
function isObjectLike(value) {
return !!value && typeof value == 'object';
}
/** Used for native method references. */
var objectProto = Object.prototype;
/**
* Used to resolve the [`toStringTag`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
* of values.
*/
var objToString = objectProto.toString;
/**
* Checks if `value` is classified as a `Number` primitive or object.
*
* **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are classified
* as numbers, use the `_.isFinite` method.
*
* @static
* @memberOf _
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
* @example
*
* _.isNumber(8.4);
* // => true
*
* _.isNumber(NaN);
* // => true
*
* _.isNumber('8.4');
* // => false
*/
function isNumber(value) {
return typeof value == 'number' || (isObjectLike(value) && objToString.call(value) == numberTag);
}
module.exports = isNumber;
/***/ },
/* 10 */
/***/ function(module, exports) {
'use strict';

@@ -666,3 +735,3 @@

/***/ },
/* 10 */
/* 11 */
/***/ function(module, exports, __webpack_require__) {

@@ -677,3 +746,3 @@

var _warning = __webpack_require__(16);
var _warning = __webpack_require__(17);

@@ -695,3 +764,3 @@ var _warning2 = _interopRequireDefault(_warning);

/***/ },
/* 11 */
/* 12 */
/***/ function(module, exports, __webpack_require__) {

@@ -742,3 +811,3 @@

/***/ },
/* 12 */
/* 13 */
/***/ function(module, exports) {

@@ -764,3 +833,3 @@

/***/ },
/* 13 */
/* 14 */
/***/ function(module, exports, __webpack_require__) {

@@ -798,3 +867,3 @@

/***/ },
/* 14 */
/* 15 */
/***/ function(module, exports, __webpack_require__) {

@@ -831,3 +900,3 @@

/***/ },
/* 15 */
/* 16 */
/***/ function(module, exports) {

@@ -875,3 +944,3 @@

/***/ },
/* 16 */
/* 17 */
/***/ function(module, exports, __webpack_require__) {

@@ -942,3 +1011,3 @@

/***/ },
/* 17 */
/* 18 */
/***/ function(module, exports, __webpack_require__) {

@@ -953,3 +1022,3 @@

var _shallowEqual = __webpack_require__(18);
var _shallowEqual = __webpack_require__(19);

@@ -965,3 +1034,3 @@ var _shallowEqual2 = _interopRequireDefault(_shallowEqual);

/***/ },
/* 18 */
/* 19 */
/***/ function(module, exports) {

@@ -968,0 +1037,0 @@

2

dist/react-bem-grid.min.js

@@ -6,2 +6,2 @@ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactBEMGrid=t(require("react")):e.ReactBEMGrid=t(e.React)}(this,function(e){return function(e){function t(o){if(r[o])return r[o].exports;var s=r[o]={exports:{},id:o,loaded:!1};return e[o].call(s.exports,s,s.exports,t),s.loaded=!0,s.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var s=r(8),n=o(s),p=r(6),l=o(p),u=r(7),i=o(u);t.default={Row:n.default,Col:l.default,Grid:i.default},e.exports=t.default},function(t,r){t.exports=e},function(e,t,r){var o;/*!

*/
!function(){"use strict";function s(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e+=" "+r;else if(Array.isArray(r))e+=" "+s.apply(null,r);else if("object"===o)for(var p in r)n.call(r,p)&&r[p]&&(e+=" "+p)}}return e.substr(1)}var n={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=s:(o=function(){return s}.call(t,r,t,e),!(void 0!==o&&(e.exports=o)))}()},function(e,t){"use strict";function r(e,t,r,o){return"Invalid prop '"+t+"' of value '"+e[t]+"'"+(" supplied to '"+r+"'"+o)}function o(e){function t(t,r,o,s){return s=s||"<<anonymous>>",null!=r[o]?e(r,o,s):t?new Error("Required prop '"+o+"' was not specified in '"+s+"'."):void 0}var r=t.bind(null,!1);return r.isRequired=t.bind(null,!0),r}t.__esModule=!0,t.errMsg=r,t.createChainableTypeChecker=o},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var s=r(12),n=o(s);t.isRequiredForA11y=n.default;var p=r(14),l=o(p);t.mountable=l.default;var u=r(11),i=o(u);t.elementType=i.default;var a=r(13),d=o(a);t.keyOf=d.default;var f=r(15),c=o(f);t.singlePropFrom=c.default;var y=r(9),m=o(y);t.all=m.default;var _=r(10),b=o(_);t.deprecated=b.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.__proto__=t)}t.__esModule=!0;var p=r(17),l=o(p),u=r(1),i=function(e){function t(){s(this,t),null!=e&&e.apply(this,arguments)}return n(t,e),t}(u.Component);t.default=i,i.prototype.shouldComponentUpdate=l.default,e.exports=t.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),u=function(e,t,r){for(var o=!0;o;){var s=e,n=t,p=r;o=!1,null===s&&(s=Function.prototype);var l=Object.getOwnPropertyDescriptor(s,n);if(void 0!==l){if("value"in l)return l.value;var u=l.get;return void 0===u?void 0:u.call(p)}var i=Object.getPrototypeOf(s);if(null===i)return void 0;e=i,t=n,r=p,o=!0,l=i=void 0}},i=r(1),a=o(i),d=r(5),f=o(d),c=r(2),y=o(c),m=r(4),_=function(e){function t(){n(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return p(t,e),l(t,[{key:"render",value:function(){var e,t=this.props.componentClass,r=y.default((e={},s(e,"grid__col--xs"+(Number.isNaN(parseFloat(this.props.xs))?"":"-"+this.props.xs),this.props.xs>=0),s(e,"grid__col--sm"+(Number.isNaN(parseFloat(this.props.sm))?"":"-"+this.props.sm),this.props.sm>=0),s(e,"grid__col--md"+(Number.isNaN(parseFloat(this.props.md))?"":"-"+this.props.md),this.props.md>=0),s(e,"grid__col--lg"+(Number.isNaN(parseFloat(this.props.lg))?"":"-"+this.props.lg),this.props.lg>=0),s(e,"grid__col--xs-offset-"+this.props.xsOffset,this.props.xsOffset>=0),s(e,"grid__col--sm-offset-"+this.props.smOffset,this.props.smOffset>=0),s(e,"grid__col--md-offset-"+this.props.mdOffset,this.props.mdOffset>=0),s(e,"grid__col--lg-offset-"+this.props.lgOffset,this.props.lgOffset>=0),s(e,"grid__col--reverse",this.props.reverse),s(e,"grid__col--xs-first",this.props.xsFirst),s(e,"grid__col--sm-first",this.props.smFirst),s(e,"grid__col--md-first",this.props.mdFirst),s(e,"grid__col--lg-first",this.props.lgFirst),s(e,"grid__col--xs-last",this.props.xsLast),s(e,"grid__col--sm-last",this.props.smLast),s(e,"grid__col--md-last",this.props.mdLast),s(e,"grid__col--lg-last",this.props.lgLast),e),this.props.className);return a.default.createElement(t,{className:r,style:this.props.style},this.props.children)}}]),t}(f.default);_.propTypes={className:a.default.PropTypes.string,style:a.default.PropTypes.object,children:a.default.PropTypes.node,componentClass:m.elementType,xs:a.default.PropTypes.oneOfType([a.default.PropTypes.number,a.default.PropTypes.bool]),sm:a.default.PropTypes.oneOfType([a.default.PropTypes.number,a.default.PropTypes.bool]),md:a.default.PropTypes.oneOfType([a.default.PropTypes.number,a.default.PropTypes.bool]),lg:a.default.PropTypes.oneOfType([a.default.PropTypes.number,a.default.PropTypes.bool]),xsOffset:a.default.PropTypes.number,smOffset:a.default.PropTypes.number,mdOffset:a.default.PropTypes.number,lgOffset:a.default.PropTypes.number,reverse:a.default.PropTypes.bool,xsFirst:a.default.PropTypes.bool,smFirst:a.default.PropTypes.bool,mdFirst:a.default.PropTypes.bool,lgFirst:a.default.PropTypes.bool,xsLast:a.default.PropTypes.bool,smLast:a.default.PropTypes.bool,mdLast:a.default.PropTypes.bool,lgLast:a.default.PropTypes.bool},_.defaultProps={componentClass:"div"},t.default=_,e.exports=t.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),l=function(e,t,r){for(var o=!0;o;){var s=e,n=t,p=r;o=!1,null===s&&(s=Function.prototype);var l=Object.getOwnPropertyDescriptor(s,n);if(void 0!==l){if("value"in l)return l.value;var u=l.get;return void 0===u?void 0:u.call(p)}var i=Object.getPrototypeOf(s);if(null===i)return void 0;e=i,t=n,r=p,o=!0,l=i=void 0}},u=r(1),i=o(u),a=r(5),d=o(a),f=r(2),c=o(f),y=r(4),m=function(e){function t(){s(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return n(t,e),p(t,[{key:"render",value:function(){var e=this.props.componentClass,t=c.default({grid:!this.props.fluid,"grid--fluid":this.props.fluid},this.props.className);return i.default.createElement(e,{className:t,style:this.props.style},this.props.children)}}]),t}(d.default);m.propTypes={fluid:i.default.PropTypes.bool,className:i.default.PropTypes.string,style:i.default.PropTypes.object,children:i.default.PropTypes.node,componentClass:y.elementType},m.defaultProps={componentClass:"div"},t.default=m,e.exports=t.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),l=function(e,t,r){for(var o=!0;o;){var s=e,n=t,p=r;o=!1,null===s&&(s=Function.prototype);var l=Object.getOwnPropertyDescriptor(s,n);if(void 0!==l){if("value"in l)return l.value;var u=l.get;return void 0===u?void 0:u.call(p)}var i=Object.getPrototypeOf(s);if(null===i)return void 0;e=i,t=n,r=p,o=!0,l=i=void 0}},u=r(1),i=o(u),a=r(5),d=o(a),f=r(2),c=o(f),y=r(4),m=function(e){function t(){s(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return n(t,e),p(t,[{key:"render",value:function(){var e=this.props.componentClass,t=c.default({grid__row:!0,"grid__row--reverse":this.props.reverse,"grid__row--xs-start":this.props.xsStart,"grid__row--sm-start":this.props.smStart,"grid__row--md-start":this.props.mdStart,"grid__row--lg-start":this.props.lgStart,"grid__row--xs-center":this.props.xsCenter,"grid__row--sm-center":this.props.smCenter,"grid__row--md-center":this.props.mdCenter,"grid__row--lg-center":this.props.lgCenter,"grid__row--xs-end":this.props.xsEnd,"grid__row--sm-end":this.props.smEnd,"grid__row--md-end":this.props.mdEnd,"grid__row--lg-end":this.props.lgEnd,"grid__row--xs-top":this.props.xsTop,"grid__row--sm-top":this.props.smTop,"grid__row--md-top":this.props.mdTop,"grid__row--lg-top":this.props.lgTop,"grid__row--xs-middle":this.props.xsMiddle,"grid__row--sm-middle":this.props.smMiddle,"grid__row--md-middle":this.props.mdMiddle,"grid__row--lg-middle":this.props.lgMiddle,"grid__row--xs-bottom":this.props.xsBottom,"grid__row--sm-bottom":this.props.smBottom,"grid__row--md-bottom":this.props.mdBottom,"grid__row--lg-bottom":this.props.lgBottom,"grid__row--xs-around":this.props.xsAround,"grid__row--sm-around":this.props.smAround,"grid__row--md-around":this.props.mdAround,"grid__row--lg-around":this.props.lgAround,"grid__row--xs-between":this.props.xsBetween,"grid__row--sm-between":this.props.smBetween,"grid__row--md-between":this.props.mdBetween,"grid__row--lg-between":this.props.lgBetween},this.props.className);return i.default.createElement(e,{className:t,style:this.props.style},this.props.children)}}]),t}(d.default);m.propTypes={reverse:i.default.PropTypes.bool,className:i.default.PropTypes.string,style:i.default.PropTypes.object,children:i.default.PropTypes.node,componentClass:y.elementType,xsStart:i.default.PropTypes.bool,smStart:i.default.PropTypes.bool,mdStart:i.default.PropTypes.bool,lgStart:i.default.PropTypes.bool,xsCenter:i.default.PropTypes.bool,smCenter:i.default.PropTypes.bool,mdCenter:i.default.PropTypes.bool,lgCenter:i.default.PropTypes.bool,xsEnd:i.default.PropTypes.bool,smEnd:i.default.PropTypes.bool,mdEnd:i.default.PropTypes.bool,lgEnd:i.default.PropTypes.bool,xsTop:i.default.PropTypes.bool,smTop:i.default.PropTypes.bool,mdTop:i.default.PropTypes.bool,lgTop:i.default.PropTypes.bool,xsMiddle:i.default.PropTypes.bool,smMiddle:i.default.PropTypes.bool,mdMiddle:i.default.PropTypes.bool,lgMiddle:i.default.PropTypes.bool,xsBottom:i.default.PropTypes.bool,smBottom:i.default.PropTypes.bool,mdBottom:i.default.PropTypes.bool,lgBottom:i.default.PropTypes.bool,xsAround:i.default.PropTypes.bool,smAround:i.default.PropTypes.bool,mdAround:i.default.PropTypes.bool,lgAround:i.default.PropTypes.bool,xsBetween:i.default.PropTypes.bool,smBetween:i.default.PropTypes.bool,mdBetween:i.default.PropTypes.bool,lgBetween:i.default.PropTypes.bool},m.defaultProps={componentClass:"div"},t.default=m,e.exports=t.default},function(e,t){"use strict";function r(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];if(void 0===t)throw new Error("No validations provided");if(t.some(function(e){return"function"!=typeof e}))throw new Error("Invalid arguments, must be functions");if(0===t.length)throw new Error("No validations provided");return function(e,r,o){for(var s=0;s<t.length;s++){var n=t[s](e,r,o);if(void 0!==n&&null!==n)return n}}}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){return function(r,o,s){return null!=r[o]&&p.default(!1,'"'+o+'" property of "'+s+'" has been deprecated.\n'+t),e(r,o,s)}}t.__esModule=!0,t.default=s;var n=r(16),p=o(n);e.exports=t.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t,r){var o=l.errMsg(e,t,r,". Expected an Element `type`");if("function"!=typeof e[t]){if(p.default.isValidElement(e[t]))return new Error(o+", not an actual Element");if("string"!=typeof e[t])return new Error(o+" such as a tag name or return value of React.createClass(...)")}}t.__esModule=!0;var n=r(1),p=o(n),l=r(3);t.default=l.createChainableTypeChecker(s),e.exports=t.default},function(e,t){"use strict";function r(e){return function(t,r,o){return null==t[r]?new Error("The prop '"+r+"' is required to make '"+o+"' accessible for users using assistive technologies such as screen readers"):e(t,r,o)}}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t,r){"use strict";function o(e){function t(t,r,o){var n=t[r];if(!e.hasOwnProperty(n)){var p=JSON.stringify(Object.keys(e));return new Error(s.errMsg(t,r,o,", expected one of "+p+"."))}}return s.createChainableTypeChecker(t)}t.__esModule=!0,t.default=o;var s=r(3);e.exports=t.default},function(e,t,r){"use strict";function o(e,t,r){return"object"!=typeof e[t]||"function"!=typeof e[t].render&&1!==e[t].nodeType?new Error(s.errMsg(e,t,r,", expected a DOM element or an object that has a `render` method")):void 0}t.__esModule=!0;var s=r(3);t.default=s.createChainableTypeChecker(o),e.exports=t.default},function(e,t){"use strict";function r(){function e(e,t,o){var s=r.map(function(t){return e[t]}).reduce(function(e,t){return e+(void 0!==t?1:0)},0);if(s>1){var n=r[0],p=r.slice(1),l=p.join(", ")+" and "+n;return new Error("Invalid prop '"+t+"', only one of the following may be provided: "+l)}}for(var t=arguments.length,r=Array(t),o=0;t>o;o++)r[o]=arguments[o];return e}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t,r){"use strict";var o=function(){};e.exports=o},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){return!p.default(this.props,e)||!p.default(this.state,t)}t.__esModule=!0,t.default=s;var n=r(18),p=o(n);e.exports=t.default},function(e,t){"use strict";function r(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),n=0;n<r.length;n++)if(!s(r[n])||e[r[n]]!==t[r[n]])return!1;return!0}t.__esModule=!0,t.default=r,e.exports=t.default}])});
!function(){"use strict";function s(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e+=" "+r;else if(Array.isArray(r))e+=" "+s.apply(null,r);else if("object"===o)for(var p in r)n.call(r,p)&&r[p]&&(e+=" "+p)}}return e.substr(1)}var n={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=s:(o=function(){return s}.call(t,r,t,e),!(void 0!==o&&(e.exports=o)))}()},function(e,t){"use strict";function r(e,t,r,o){return"Invalid prop '"+t+"' of value '"+e[t]+"'"+(" supplied to '"+r+"'"+o)}function o(e){function t(t,r,o,s){return s=s||"<<anonymous>>",null!=r[o]?e(r,o,s):t?new Error("Required prop '"+o+"' was not specified in '"+s+"'."):void 0}var r=t.bind(null,!1);return r.isRequired=t.bind(null,!0),r}t.__esModule=!0,t.errMsg=r,t.createChainableTypeChecker=o},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var s=r(13),n=o(s);t.isRequiredForA11y=n.default;var p=r(15),l=o(p);t.mountable=l.default;var u=r(12),i=o(u);t.elementType=i.default;var a=r(14),f=o(a);t.keyOf=f.default;var d=r(16),c=o(d);t.singlePropFrom=c.default;var y=r(10),m=o(y);t.all=m.default;var _=r(11),b=o(_);t.deprecated=b.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.__proto__=t)}t.__esModule=!0;var p=r(18),l=o(p),u=r(1),i=function(e){function t(){s(this,t),null!=e&&e.apply(this,arguments)}return n(t,e),t}(u.Component);t.default=i,i.prototype.shouldComponentUpdate=l.default,e.exports=t.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),u=function(e,t,r){for(var o=!0;o;){var s=e,n=t,p=r;o=!1,null===s&&(s=Function.prototype);var l=Object.getOwnPropertyDescriptor(s,n);if(void 0!==l){if("value"in l)return l.value;var u=l.get;return void 0===u?void 0:u.call(p)}var i=Object.getPrototypeOf(s);if(null===i)return void 0;e=i,t=n,r=p,o=!0,l=i=void 0}},i=r(1),a=o(i),f=r(5),d=o(f),c=r(2),y=o(c),m=r(4),_=r(9),b=o(_),g=function(e){function t(){n(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return p(t,e),l(t,[{key:"render",value:function(){var e,t=this.props.componentClass,r=y.default((e={},s(e,"grid__col--xs"+(b.default(parseFloat(this.props.xs))?"":"-"+this.props.xs),this.props.xs>=0),s(e,"grid__col--sm"+(b.default(parseFloat(this.props.sm))?"":"-"+this.props.sm),this.props.sm>=0),s(e,"grid__col--md"+(b.default(parseFloat(this.props.md))?"":"-"+this.props.md),this.props.md>=0),s(e,"grid__col--lg"+(b.default(parseFloat(this.props.lg))?"":"-"+this.props.lg),this.props.lg>=0),s(e,"grid__col--xs-offset-"+this.props.xsOffset,this.props.xsOffset>=0),s(e,"grid__col--sm-offset-"+this.props.smOffset,this.props.smOffset>=0),s(e,"grid__col--md-offset-"+this.props.mdOffset,this.props.mdOffset>=0),s(e,"grid__col--lg-offset-"+this.props.lgOffset,this.props.lgOffset>=0),s(e,"grid__col--reverse",this.props.reverse),s(e,"grid__col--xs-first",this.props.xsFirst),s(e,"grid__col--sm-first",this.props.smFirst),s(e,"grid__col--md-first",this.props.mdFirst),s(e,"grid__col--lg-first",this.props.lgFirst),s(e,"grid__col--xs-last",this.props.xsLast),s(e,"grid__col--sm-last",this.props.smLast),s(e,"grid__col--md-last",this.props.mdLast),s(e,"grid__col--lg-last",this.props.lgLast),e),this.props.className);return a.default.createElement(t,{className:r,style:this.props.style},this.props.children)}}]),t}(d.default);g.propTypes={className:a.default.PropTypes.string,style:a.default.PropTypes.object,children:a.default.PropTypes.node,componentClass:m.elementType,xs:a.default.PropTypes.oneOfType([a.default.PropTypes.number,a.default.PropTypes.bool]),sm:a.default.PropTypes.oneOfType([a.default.PropTypes.number,a.default.PropTypes.bool]),md:a.default.PropTypes.oneOfType([a.default.PropTypes.number,a.default.PropTypes.bool]),lg:a.default.PropTypes.oneOfType([a.default.PropTypes.number,a.default.PropTypes.bool]),xsOffset:a.default.PropTypes.number,smOffset:a.default.PropTypes.number,mdOffset:a.default.PropTypes.number,lgOffset:a.default.PropTypes.number,reverse:a.default.PropTypes.bool,xsFirst:a.default.PropTypes.bool,smFirst:a.default.PropTypes.bool,mdFirst:a.default.PropTypes.bool,lgFirst:a.default.PropTypes.bool,xsLast:a.default.PropTypes.bool,smLast:a.default.PropTypes.bool,mdLast:a.default.PropTypes.bool,lgLast:a.default.PropTypes.bool},g.defaultProps={componentClass:"div"},t.default=g,e.exports=t.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),l=function(e,t,r){for(var o=!0;o;){var s=e,n=t,p=r;o=!1,null===s&&(s=Function.prototype);var l=Object.getOwnPropertyDescriptor(s,n);if(void 0!==l){if("value"in l)return l.value;var u=l.get;return void 0===u?void 0:u.call(p)}var i=Object.getPrototypeOf(s);if(null===i)return void 0;e=i,t=n,r=p,o=!0,l=i=void 0}},u=r(1),i=o(u),a=r(5),f=o(a),d=r(2),c=o(d),y=r(4),m=function(e){function t(){s(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return n(t,e),p(t,[{key:"render",value:function(){var e=this.props.componentClass,t=c.default({grid:!this.props.fluid,"grid--fluid":this.props.fluid},this.props.className);return i.default.createElement(e,{className:t,style:this.props.style},this.props.children)}}]),t}(f.default);m.propTypes={fluid:i.default.PropTypes.bool,className:i.default.PropTypes.string,style:i.default.PropTypes.object,children:i.default.PropTypes.node,componentClass:y.elementType},m.defaultProps={componentClass:"div"},t.default=m,e.exports=t.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),l=function(e,t,r){for(var o=!0;o;){var s=e,n=t,p=r;o=!1,null===s&&(s=Function.prototype);var l=Object.getOwnPropertyDescriptor(s,n);if(void 0!==l){if("value"in l)return l.value;var u=l.get;return void 0===u?void 0:u.call(p)}var i=Object.getPrototypeOf(s);if(null===i)return void 0;e=i,t=n,r=p,o=!0,l=i=void 0}},u=r(1),i=o(u),a=r(5),f=o(a),d=r(2),c=o(d),y=r(4),m=function(e){function t(){s(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return n(t,e),p(t,[{key:"render",value:function(){var e=this.props.componentClass,t=c.default({grid__row:!0,"grid__row--reverse":this.props.reverse,"grid__row--xs-start":this.props.xsStart,"grid__row--sm-start":this.props.smStart,"grid__row--md-start":this.props.mdStart,"grid__row--lg-start":this.props.lgStart,"grid__row--xs-center":this.props.xsCenter,"grid__row--sm-center":this.props.smCenter,"grid__row--md-center":this.props.mdCenter,"grid__row--lg-center":this.props.lgCenter,"grid__row--xs-end":this.props.xsEnd,"grid__row--sm-end":this.props.smEnd,"grid__row--md-end":this.props.mdEnd,"grid__row--lg-end":this.props.lgEnd,"grid__row--xs-top":this.props.xsTop,"grid__row--sm-top":this.props.smTop,"grid__row--md-top":this.props.mdTop,"grid__row--lg-top":this.props.lgTop,"grid__row--xs-middle":this.props.xsMiddle,"grid__row--sm-middle":this.props.smMiddle,"grid__row--md-middle":this.props.mdMiddle,"grid__row--lg-middle":this.props.lgMiddle,"grid__row--xs-bottom":this.props.xsBottom,"grid__row--sm-bottom":this.props.smBottom,"grid__row--md-bottom":this.props.mdBottom,"grid__row--lg-bottom":this.props.lgBottom,"grid__row--xs-around":this.props.xsAround,"grid__row--sm-around":this.props.smAround,"grid__row--md-around":this.props.mdAround,"grid__row--lg-around":this.props.lgAround,"grid__row--xs-between":this.props.xsBetween,"grid__row--sm-between":this.props.smBetween,"grid__row--md-between":this.props.mdBetween,"grid__row--lg-between":this.props.lgBetween},this.props.className);return i.default.createElement(e,{className:t,style:this.props.style},this.props.children)}}]),t}(f.default);m.propTypes={reverse:i.default.PropTypes.bool,className:i.default.PropTypes.string,style:i.default.PropTypes.object,children:i.default.PropTypes.node,componentClass:y.elementType,xsStart:i.default.PropTypes.bool,smStart:i.default.PropTypes.bool,mdStart:i.default.PropTypes.bool,lgStart:i.default.PropTypes.bool,xsCenter:i.default.PropTypes.bool,smCenter:i.default.PropTypes.bool,mdCenter:i.default.PropTypes.bool,lgCenter:i.default.PropTypes.bool,xsEnd:i.default.PropTypes.bool,smEnd:i.default.PropTypes.bool,mdEnd:i.default.PropTypes.bool,lgEnd:i.default.PropTypes.bool,xsTop:i.default.PropTypes.bool,smTop:i.default.PropTypes.bool,mdTop:i.default.PropTypes.bool,lgTop:i.default.PropTypes.bool,xsMiddle:i.default.PropTypes.bool,smMiddle:i.default.PropTypes.bool,mdMiddle:i.default.PropTypes.bool,lgMiddle:i.default.PropTypes.bool,xsBottom:i.default.PropTypes.bool,smBottom:i.default.PropTypes.bool,mdBottom:i.default.PropTypes.bool,lgBottom:i.default.PropTypes.bool,xsAround:i.default.PropTypes.bool,smAround:i.default.PropTypes.bool,mdAround:i.default.PropTypes.bool,lgAround:i.default.PropTypes.bool,xsBetween:i.default.PropTypes.bool,smBetween:i.default.PropTypes.bool,mdBetween:i.default.PropTypes.bool,lgBetween:i.default.PropTypes.bool},m.defaultProps={componentClass:"div"},t.default=m,e.exports=t.default},function(e,t){function r(e){return!!e&&"object"==typeof e}function o(e){return"number"==typeof e||r(e)&&p.call(e)==s}var s="[object Number]",n=Object.prototype,p=n.toString;e.exports=o},function(e,t){"use strict";function r(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];if(void 0===t)throw new Error("No validations provided");if(t.some(function(e){return"function"!=typeof e}))throw new Error("Invalid arguments, must be functions");if(0===t.length)throw new Error("No validations provided");return function(e,r,o){for(var s=0;s<t.length;s++){var n=t[s](e,r,o);if(void 0!==n&&null!==n)return n}}}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){return function(r,o,s){return null!=r[o]&&p.default(!1,'"'+o+'" property of "'+s+'" has been deprecated.\n'+t),e(r,o,s)}}t.__esModule=!0,t.default=s;var n=r(17),p=o(n);e.exports=t.default},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t,r){var o=l.errMsg(e,t,r,". Expected an Element `type`");if("function"!=typeof e[t]){if(p.default.isValidElement(e[t]))return new Error(o+", not an actual Element");if("string"!=typeof e[t])return new Error(o+" such as a tag name or return value of React.createClass(...)")}}t.__esModule=!0;var n=r(1),p=o(n),l=r(3);t.default=l.createChainableTypeChecker(s),e.exports=t.default},function(e,t){"use strict";function r(e){return function(t,r,o){return null==t[r]?new Error("The prop '"+r+"' is required to make '"+o+"' accessible for users using assistive technologies such as screen readers"):e(t,r,o)}}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t,r){"use strict";function o(e){function t(t,r,o){var n=t[r];if(!e.hasOwnProperty(n)){var p=JSON.stringify(Object.keys(e));return new Error(s.errMsg(t,r,o,", expected one of "+p+"."))}}return s.createChainableTypeChecker(t)}t.__esModule=!0,t.default=o;var s=r(3);e.exports=t.default},function(e,t,r){"use strict";function o(e,t,r){return"object"!=typeof e[t]||"function"!=typeof e[t].render&&1!==e[t].nodeType?new Error(s.errMsg(e,t,r,", expected a DOM element or an object that has a `render` method")):void 0}t.__esModule=!0;var s=r(3);t.default=s.createChainableTypeChecker(o),e.exports=t.default},function(e,t){"use strict";function r(){function e(e,t,o){var s=r.map(function(t){return e[t]}).reduce(function(e,t){return e+(void 0!==t?1:0)},0);if(s>1){var n=r[0],p=r.slice(1),l=p.join(", ")+" and "+n;return new Error("Invalid prop '"+t+"', only one of the following may be provided: "+l)}}for(var t=arguments.length,r=Array(t),o=0;t>o;o++)r[o]=arguments[o];return e}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t,r){"use strict";var o=function(){};e.exports=o},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){return!p.default(this.props,e)||!p.default(this.state,t)}t.__esModule=!0,t.default=s;var n=r(19),p=o(n);e.exports=t.default},function(e,t){"use strict";function r(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),n=0;n<r.length;n++)if(!s(r[n])||e[r[n]]!==t[r[n]])return!1;return!0}t.__esModule=!0,t.default=r,e.exports=t.default}])});
{
"name": "react-bem-grid",
"version": "0.0.8",
"version": "0.0.9",
"description": "A BEM-ified port of Flexbox Grid to a simple, reusable React component.",

@@ -46,2 +46,3 @@ "main": "dist/index.js",

"classnames": "^2.2.0",
"lodash.isnumber": "^3.0.1",
"react": "~0.14",

@@ -48,0 +49,0 @@ "react-dom": "~0.14",

@@ -5,2 +5,3 @@ import React from 'react';

import { elementType } from 'react-prop-types';
import isNumber from 'lodash.isnumber';

@@ -12,6 +13,6 @@ class Col extends PureComponent {

const classes = classNames({
['grid__col--xs' + (Number.isNaN(parseFloat(this.props.xs)) ? '' : '-' + this.props.xs)]: this.props.xs >= 0,
['grid__col--sm' + (Number.isNaN(parseFloat(this.props.sm)) ? '' : '-' + this.props.sm)]: this.props.sm >= 0,
['grid__col--md' + (Number.isNaN(parseFloat(this.props.md)) ? '' : '-' + this.props.md)]: this.props.md >= 0,
['grid__col--lg' + (Number.isNaN(parseFloat(this.props.lg)) ? '' : '-' + this.props.lg)]: this.props.lg >= 0,
['grid__col--xs' + (isNumber(parseFloat(this.props.xs)) ? '' : '-' + this.props.xs)]: this.props.xs >= 0,
['grid__col--sm' + (isNumber(parseFloat(this.props.sm)) ? '' : '-' + this.props.sm)]: this.props.sm >= 0,
['grid__col--md' + (isNumber(parseFloat(this.props.md)) ? '' : '-' + this.props.md)]: this.props.md >= 0,
['grid__col--lg' + (isNumber(parseFloat(this.props.lg)) ? '' : '-' + this.props.lg)]: this.props.lg >= 0,

@@ -18,0 +19,0 @@ ['grid__col--xs-offset-' + this.props.xsOffset]: this.props.xsOffset >= 0,

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