react-boxen
Advanced tools
Comparing version 0.0.24 to 0.0.25
@@ -1,1 +0,1 @@ | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("glamor"),require("react"),require("prop-types")):"function"==typeof define&&define.amd?define("react-boxen",["glamor","react","prop-types"],n):"object"==typeof exports?exports["react-boxen"]=n(require("glamor"),require("react"),require("prop-types")):t["react-boxen"]=n(t.glamor,t.react,t["prop-types"])}(this,function(t,n,r){return function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r={};return n.m=t,n.c=r,n.i=function(t){return t},n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=21)}([function(t,n,r){var e=r(1),o=r(5);t.exports=function(t){return function n(r,i){switch(arguments.length){case 0:return n;case 1:return o(r)?n:e(function(n){return t(r,n)});default:return o(r)&&o(i)?n:o(r)?e(function(n){return t(n,i)}):o(i)?e(function(n){return t(r,n)}):t(r,i)}}}},function(t,n,r){var e=r(5);t.exports=function(t){return function n(r){return 0===arguments.length||e(r)?n:t.apply(this,arguments)}}},function(t,n,r){var e=r(1),o=r(0),i=r(5);t.exports=function(t){return function n(r,u,c){switch(arguments.length){case 0:return n;case 1:return i(r)?n:o(function(n,e){return t(r,n,e)});case 2:return i(r)&&i(u)?n:i(r)?o(function(n,r){return t(n,u,r)}):i(u)?o(function(n,e){return t(r,n,e)}):e(function(n){return t(r,u,n)});default:return i(r)&&i(u)&&i(c)?n:i(r)&&i(u)?o(function(n,r){return t(n,r,c)}):i(r)&&i(c)?o(function(n,r){return t(n,u,r)}):i(u)&&i(c)?o(function(n,e){return t(r,n,e)}):i(r)?e(function(n){return t(n,u,c)}):i(u)?e(function(n){return t(r,n,c)}):i(c)?e(function(n){return t(r,u,n)}):t(r,u,c)}}}},function(t,n,r){var e=r(4),o=r(1),i=r(0),u=r(37);t.exports=i(function(t,n){return 1===t?o(n):e(t,u(t,[],n))})},function(t,n){t.exports=function(t,n){switch(t){case 0:return function(){return n.apply(this,arguments)};case 1:return function(t){return n.apply(this,arguments)};case 2:return function(t,r){return n.apply(this,arguments)};case 3:return function(t,r,e){return n.apply(this,arguments)};case 4:return function(t,r,e,o){return n.apply(this,arguments)};case 5:return function(t,r,e,o,i){return n.apply(this,arguments)};case 6:return function(t,r,e,o,i,u){return n.apply(this,arguments)};case 7:return function(t,r,e,o,i,u,c){return n.apply(this,arguments)};case 8:return function(t,r,e,o,i,u,c,a){return n.apply(this,arguments)};case 9:return function(t,r,e,o,i,u,c,a,f){return n.apply(this,arguments)};case 10:return function(t,r,e,o,i,u,c,a,f,s){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(t,n){t.exports=function(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}},function(t,n,r){var e=r(1),o=r(7),i=r(43);t.exports=function(){var t=!{toString:null}.propertyIsEnumerable("toString"),n=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],r=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),u=function(t,n){for(var r=0;r<t.length;){if(t[r]===n)return!0;r+=1}return!1};return e("function"!=typeof Object.keys||r?function(e){if(Object(e)!==e)return[];var c,a,f=[],s=r&&i(e);for(c in e)!o(c,e)||s&&"length"===c||(f[f.length]=c);if(t)for(a=n.length-1;a>=0;)c=n[a],o(c,e)&&!u(f,c)&&(f[f.length]=c),a-=1;return f}:function(t){return Object(t)!==t?[]:Object.keys(t)})}()},function(t,n){t.exports=function(t,n){return Object.prototype.hasOwnProperty.call(n,t)}},function(t,n){t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,n,r){var e=r(53),o=r(25),i=r(55);t.exports=function(){function t(t,n,r){for(var e=0,o=r.length;e<o;){if((n=t["@@transducer/step"](n,r[e]))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e+=1}return t["@@transducer/result"](n)}function n(t,n,r){for(var e=r.next();!e.done;){if((n=t["@@transducer/step"](n,e.value))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e=r.next()}return t["@@transducer/result"](n)}function r(t,n,r){return t["@@transducer/result"](r.reduce(o(t["@@transducer/step"],t),n))}var u="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(o,c,a){if("function"==typeof o&&(o=e(o)),i(a))return t(o,c,a);if("function"==typeof a.reduce)return r(o,c,a);if(null!=a[u])return n(o,c,a[u]());if("function"==typeof a.next)return n(o,c,a);throw new TypeError("reduce: list must be array or iterable")}}()},function(t,n,r){var e=r(8);t.exports=function(t,n){return function(){var r=arguments.length;if(0===r)return n();var o=arguments[r-1];return e(o)||"function"!=typeof o[t]?n.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,r-1))}}},function(t,n,r){var e=r(8),o=r(46);t.exports=function(t,n,r){return function(){if(0===arguments.length)return r();var i=Array.prototype.slice.call(arguments,0),u=i.pop();if(!e(u)){for(var c=0;c<t.length;){if("function"==typeof u[t[c]])return u[t[c]].apply(u,i);c+=1}if(o(u)){return n.apply(null,i)(u)}}return r.apply(this,arguments)}}},function(t,n){t.exports=function(t){return"[object String]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t,n){for(var r=0,e=n.length,o=Array(e);r<e;)o[r]=t(n[r]),r+=1;return o}},function(t,n){t.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,n,r){var e=r(0),o=r(11),i=r(13),u=r(9),c=r(52),a=r(3),f=r(6);t.exports=e(o(["map"],c,function(t,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return a(n.length,function(){return t.call(this,n.apply(this,arguments))});case"[object Object]":return u(function(r,e){return r[e]=t(n[e]),r},{},f(n));default:return i(t,n)}}))},function(t,n,r){var e=r(0);t.exports=e(function(t,n){return n[t]})},function(t,n,r){"use strict";var e=r(70),o=r.n(e),i=o.a.string,u=o.a.number,c=o.a.bool,a=o.a.oneOf,f=o.a.oneOfType,s=o.a.arrayOf,l=a(["flex-start","flex-end","center","stretch","baseline","auto"]),p=f([i,u]);n.a={align:l,childAlign:l,childBasis:p,childDirection:a(["column","column-reverse","row","row-reverse"]),childJustify:a(["flex-start","flex-end","center","space-between","space-around","space-evenly"]),childWrap:a(["nowrap","wrap","wrap-reverse","inherit","initial","unset"]),childWrapLastGrow:c,childSpacing:f([p,s(p)]),grow:p,height:p,padding:f([p,s(p)]),shrink:p,width:p}},function(t,n,r){"use strict";var e=r(16),o=r.n(e),i=r(59),u=r.n(i),c=r(22),a=r.n(c),f=r(28),s=r.n(f),l=r(23),p=r.n(l),h=r(32),d=r.n(h),y=r(33),g=r.n(y),v=r(26),x=r.n(v),b=r(27),w=r.n(b),m=r(69),j=r.n(m),O=r(56),S=r.n(O),A=r(15),k=r.n(A),C=r(58),E=r.n(C),P=r(60),B=r.n(P);r.d(n,"a",function(){return U});var D=function(t){return{values:t.split(" ").map(function(t){return t.replace(/^-?\d*(.\d+)?$/g,"")}).map(function(t){return parseFloat(t)}),lengths:t.split(" ").map(function(t){return t.match(/(?!\-?\.?[\d]).\w|%/g,"")})}},T=function(t){return B()(E()("values"),k()(t))},W=function(t){return S()(" ",k()(S()(""),j()(t.values,t.lengths)))},q=w()(function(t,n){return x()(W,T(t),D)(n)}),N=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){return""+x()(g()(p()(n.halve),q(s()(a.a,2)),d.a),g()(p()(n.negate),q(u()(-1)),d.a))(r[t])}},U=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){return g()(o()(t),N(t,n),p()(null))(r)}}},function(n,r){n.exports=t},function(t,r){t.exports=n},function(t,n,r){"use strict";function e(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n<t.length;n++)r[n]=t[n];return r}return Array.from(t)}function o(t,n){var r={};for(var e in t)n.indexOf(e)>=0||Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e]);return r}function i(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function u(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}function c(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}Object.defineProperty(n,"__esModule",{value:!0});var a=r(20),f=r.n(a),s=r(17),l=r(18),p=r(19);r.n(p);r.d(n,"default",function(){return x});var h=function(){function t(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}return function(n,r,e){return r&&t(n.prototype,r),e&&t(n,e),n}}(),d=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t},y=function(t){return r.i(p.css)(d({display:"flex",overflow:"hidden",boxSizing:"border-box",alignSelf:t.align,flexDirection:t.childDirection,flexGrow:t.grow,flexShrink:t.shrink,padding:t.padding,width:t.width,height:t.height},t.style))},g=function(t){return r.i(p.css)({display:"flex",boxSizing:"border-box",flexGrow:1,flexDirection:t.childDirection,flexWrap:t.childWrap,alignItems:t.childAlign,justifyContent:t.childJustify,margin:r.i(l.a)("childSpacing",{negate:!0,halve:!0})(t)})},v=function(t,n){return r.i(p.css)({display:"flex",boxSizing:"border-box",flexDirection:"column",flexGrow:n.width?0:t.isCompensator?1:n.grow||t.childGrow||0,flexShrink:n.shrink||1,flexBasis:n.basis||t.childBasis,width:t.width,height:t.height,padding:(t.isCompensator?"0":"")+" "+r.i(l.a)("childSpacing",{halve:!0})(t)})},x=function(t){function n(){return i(this,n),u(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return c(n,t),h(n,[{key:"render",value:function(){var t=this.props,n=t.align,r=t.basis,i=t.childAlign,u=t.childDirection,c=t.childBasis,s=t.childGrow,l=t.childJustify,p=t.childWrap,h=t.childWrapLastGrow,x=t.childWrapCount,b=t.children,w=t.childSpacing,m=t.color,j=t.justify,O=t.style,S=t.grow,A=t.padding,k=t.shrink,C=t.width,E=o(t,["align","basis","childAlign","childDirection","childBasis","childGrow","childJustify","childWrap","childWrapLastGrow","childWrapCount","children","childSpacing","color","justify","style","grow","padding","shrink","width"]),P={align:n,basis:r,childAlign:i,childDirection:u,childBasis:c,childGrow:s,childJustify:l,childWrap:p,childWrapLastGrow:h,childWrapCount:x,children:b,childSpacing:w,color:m,justify:j,style:O,grow:S,padding:A,shrink:k,width:C},B=a.Children.map(b,function(t,n){return null===t?null:f.a.createElement("div",d({className:"BoxChild"},v(d({},P,{width:t&&t.props&&t.props.width,height:t&&t.props&&t.props.height}),t&&t.props||{}),{key:n}),t&&t.type?f.a.cloneElement(t,{height:t&&t.props&&t.props.height&&"auto",width:t&&t.props&&t.props.width&&"auto"}):t||null)});return f.a.createElement("div",d({className:"BoxContainer"},y(P),E),null!==b?f.a.createElement("div",d({className:"BoxChildren"},g(P)),B,p&&!h&&[].concat(e(Array(x||20).keys())).map(function(t,n){return f.a.createElement("div",d({className:"BoxChild"},v(d({},P,{isCompensator:!0}),t&&t.props||{}),{key:n}))})):b)}}]),n}(f.a.Component);x.displayName="Box",x.propTypes=s.a,x.defaultProps={childDirection:"column",childWrapLastGrow:!0}},function(t,n){t.exports={"@@functional/placeholder":!0}},function(t,n,r){var e=r(1);t.exports=e(function(t){return function(){return t}})},function(t,n,r){var e=r(2);t.exports=e(function(t,n,r){var e={};for(var o in r)e[o]=r[o];return e[t]=n,e})},function(t,n,r){var e=r(4),o=r(0);t.exports=o(function(t,n){return e(t.length,function(){return t.apply(n,arguments)})})},function(t,n,r){var e=r(61),o=r(64);t.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return e.apply(this,o(arguments))}},function(t,n,r){var e=r(1),o=r(3);t.exports=e(function(t){return o(t.length,t)})},function(t,n,r){var e=r(0);t.exports=e(function(t,n){return t/n})},function(t,n,r){var e=r(0),o=r(38);t.exports=e(function(t,n){return o(t,n,[],[])})},function(t,n,r){var e=r(0),o=r(11),i=r(39),u=r(45),c=r(9),a=r(51),f=r(6);t.exports=e(o(["filter"],a,function(t,n){return u(n)?c(function(r,e){return t(n[e])&&(r[e]=n[e]),r},{},f(n)):i(t,n)}))},function(t,n,r){var e=r(0);t.exports=e(function(t,n){return t===n?0!==t||1/t==1/n:t!==t&&n!==n})},function(t,n,r){var e=r(1),o=r(41);t.exports=e(o)},function(t,n,r){var e=r(2),o=r(3);t.exports=e(function(t,n,r){return o(Math.max(t.length,n.length,r.length),function(){return t.apply(this,arguments)?n.apply(this,arguments):r.apply(this,arguments)})})},function(t,n){t.exports=function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}},function(t,n){t.exports=function(t){return function(){return!t.apply(this,arguments)}}},function(t,n,r){var e=r(42);t.exports=function(t,n){return e(n,t,0)>=0}},function(t,n,r){var e=r(4),o=r(5);t.exports=function t(n,r,i){return function(){for(var u=[],c=0,a=n,f=0;f<r.length||c<arguments.length;){var s;f<r.length&&(!o(r[f])||c>=arguments.length)?s=r[f]:(s=arguments[c],c+=1),u[f]=s,o(s)||(a-=1),f+=1}return a<=0?i.apply(this,u):e(a,t(n,u,i))}}},function(t,n,r){var e=r(34),o=r(40),i=r(7),u=r(31),c=r(6),a=r(68);t.exports=function t(n,r,f,s){if(u(n,r))return!0;if(a(n)!==a(r))return!1;if(null==n||null==r)return!1;if("function"==typeof n.equals||"function"==typeof r.equals)return"function"==typeof n.equals&&n.equals(r)&&"function"==typeof r.equals&&r.equals(n);switch(a(n)){case"Arguments":case"Array":case"Object":if("function"==typeof n.constructor&&"Promise"===o(n.constructor))return n===r;break;case"Boolean":case"Number":case"String":if(typeof n!=typeof r||!u(n.valueOf(),r.valueOf()))return!1;break;case"Date":if(!u(n.valueOf(),r.valueOf()))return!1;break;case"Error":return n.name===r.name&&n.message===r.message;case"RegExp":if(n.source!==r.source||n.global!==r.global||n.ignoreCase!==r.ignoreCase||n.multiline!==r.multiline||n.sticky!==r.sticky||n.unicode!==r.unicode)return!1;break;case"Map":case"Set":if(!t(e(n.entries()),e(r.entries()),f,s))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var l=c(n);if(l.length!==c(r).length)return!1;for(var p=f.length-1;p>=0;){if(f[p]===n)return s[p]===r;p-=1}for(f.push(n),s.push(r),p=l.length-1;p>=0;){var h=l[p];if(!i(h,r)||!t(r[h],n[h],f,s))return!1;p-=1}return f.pop(),s.pop(),!0}},function(t,n){t.exports=function(t,n){for(var r=0,e=n.length,o=[];r<e;)t(n[r])&&(o[o.length]=n[r]),r+=1;return o}},function(t,n){t.exports=function(t){var n=String(t).match(/^function (\w*)/);return null==n?"":n[1]}},function(t,n){t.exports=function(t){return t}},function(t,n,r){var e=r(29);t.exports=function(t,n,r){var o,i;if("function"==typeof t.indexOf)switch(typeof n){case"number":if(0===n){for(o=1/n;r<t.length;){if(0===(i=t[r])&&1/i===o)return r;r+=1}return-1}if(n!==n){for(;r<t.length;){if("number"==typeof(i=t[r])&&i!==i)return r;r+=1}return-1}return t.indexOf(n,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(n,r);case"object":if(null===n)return t.indexOf(n,r)}for(;r<t.length;){if(e(t[r],n))return r;r+=1}return-1}},function(t,n,r){var e=r(7);t.exports=function(){var t=Object.prototype.toString;return"[object Arguments]"===t.call(arguments)?function(n){return"[object Arguments]"===t.call(n)}:function(t){return e("callee",t)}}()},function(t,n){t.exports=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"[object Object]"===Object.prototype.toString.call(t)}},function(t,n){t.exports=function(t){return"function"==typeof t["@@transducer/step"]}},function(t,n){t.exports=function(t,n){return function(){return n.call(this,t.apply(this,arguments))}}},function(t,n){t.exports=function(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},function(t,n){t.exports=function(){var t=function(t){return(t<10?"0":"")+t};return"function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(n){return n.getUTCFullYear()+"-"+t(n.getUTCMonth()+1)+"-"+t(n.getUTCDate())+"T"+t(n.getUTCHours())+":"+t(n.getUTCMinutes())+":"+t(n.getUTCSeconds())+"."+(n.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}}()},function(t,n,r){var e=r(36),o=r(13),i=r(48),u=r(49),c=r(6),a=r(63);t.exports=function t(n,r){var f=function(o){var i=r.concat([n]);return e(o,i)?"<Circular>":t(o,i)},s=function(t,n){return o(function(n){return i(n)+": "+f(t[n])},n.slice().sort())};switch(Object.prototype.toString.call(n)){case"[object Arguments]":return"(function() { return arguments; }("+o(f,n).join(", ")+"))";case"[object Array]":return"["+o(f,n).concat(s(n,a(function(t){return/^\d+$/.test(t)},c(n)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof n?"new Boolean("+f(n.valueOf())+")":n.toString();case"[object Date]":return"new Date("+(isNaN(n.valueOf())?f(NaN):i(u(n)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof n?"new Number("+f(n.valueOf())+")":1/n==-1/0?"-0":n.toString(10);case"[object String]":return"object"==typeof n?"new String("+f(n.valueOf())+")":i(n);case"[object Undefined]":return"undefined";default:if("function"==typeof n.toString){var l=n.toString();if("[object Object]"!==l)return l}return"{"+s(n,c(n)).join(", ")+"}"}}},function(t,n,r){var e=r(0),o=r(14);t.exports=function(){function t(t,n){this.xf=n,this.f=t}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):t},e(function(n,r){return new t(n,r)})}()},function(t,n,r){var e=r(0),o=r(14);t.exports=function(){function t(t,n){this.xf=n,this.f=t}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,n){return this.xf["@@transducer/step"](t,this.f(n))},e(function(n,r){return new t(n,r)})}()},function(t,n){t.exports=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,n){return this.f(t,n)},function(n){return new t(n)}}()},function(t,n,r){var e=r(0),o=r(44),i=r(3),u=r(67);t.exports=e(function(t,n){return i(t+1,function(){var r=arguments[t];if(null!=r&&o(r[n]))return r[n].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(u(r)+' does not have a method named "'+n+'"')})})},function(t,n,r){var e=r(1),o=r(8),i=r(12);t.exports=e(function(t){return!!o(t)||!!t&&("object"==typeof t&&(!i(t)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))})},function(t,n,r){var e=r(54);t.exports=e(1,"join")},function(t,n,r){var e=r(0),o=r(15);t.exports=e(function(t,n){return function(r){return function(e){return o(function(t){return n(t,e)},r(t(e)))}}})},function(t,n,r){var e=r(1),o=r(24),i=r(57),u=r(16);t.exports=e(function(t){return i(u(t),o(t))})},function(t,n,r){var e=r(0);t.exports=e(function(t,n){return t*n})},function(t,n,r){var e=r(2);t.exports=function(){var t=function(n){return{value:n,map:function(r){return t(r(n))}}};return e(function(n,r,e){return n(function(n){return t(r(n))})(e).value})}()},function(t,n,r){var e=r(4),o=r(47),i=r(62),u=r(66);t.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return e(arguments[0].length,i(o,arguments[0],u(arguments)))}},function(t,n,r){var e=r(2),o=r(9);t.exports=e(o)},function(t,n,r){var e=r(35),o=r(0),i=r(30);t.exports=o(function(t,n){return i(e(t),n)})},function(t,n,r){var e=r(1),o=r(12);t.exports=e(function(t){return o(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()})},function(t,n,r){var e=r(10),o=r(2);t.exports=o(e("slice",function(t,n,r){return Array.prototype.slice.call(r,t,n)}))},function(t,n,r){var e=r(10),o=r(1),i=r(65);t.exports=o(e("tail",i(1,1/0)))},function(t,n,r){var e=r(1),o=r(50);t.exports=e(function(t){return o(t,[])})},function(t,n,r){var e=r(1);t.exports=e(function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)})},function(t,n,r){var e=r(0);t.exports=e(function(t,n){for(var r=[],e=0,o=Math.min(t.length,n.length);e<o;)r[e]=[t[e],n[e]],e+=1;return r})},function(t,n){t.exports=r}])}); | ||
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("styled-components"),require("prop-types")):"function"==typeof define&&define.amd?define("react-boxen",["react","styled-components","prop-types"],t):"object"==typeof exports?exports["react-boxen"]=t(require("react"),require("styled-components"),require("prop-types")):n["react-boxen"]=t(n.react,n["styled-components"],n["prop-types"])}(this,function(n,t,r){return function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=n,t.c=r,t.i=function(n){return n},t.d=function(n,r,e){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=21)}([function(n,t,r){var e=r(1),o=r(5);n.exports=function(n){return function t(r,u){switch(arguments.length){case 0:return t;case 1:return o(r)?t:e(function(t){return n(r,t)});default:return o(r)&&o(u)?t:o(r)?e(function(t){return n(t,u)}):o(u)?e(function(t){return n(r,t)}):n(r,u)}}}},function(n,t,r){var e=r(5);n.exports=function(n){return function t(r){return 0===arguments.length||e(r)?t:n.apply(this,arguments)}}},function(n,t,r){var e=r(1),o=r(0),u=r(5);n.exports=function(n){return function t(r,i,c){switch(arguments.length){case 0:return t;case 1:return u(r)?t:o(function(t,e){return n(r,t,e)});case 2:return u(r)&&u(i)?t:u(r)?o(function(t,r){return n(t,i,r)}):u(i)?o(function(t,e){return n(r,t,e)}):e(function(t){return n(r,i,t)});default:return u(r)&&u(i)&&u(c)?t:u(r)&&u(i)?o(function(t,r){return n(t,r,c)}):u(r)&&u(c)?o(function(t,r){return n(t,i,r)}):u(i)&&u(c)?o(function(t,e){return n(r,t,e)}):u(r)?e(function(t){return n(t,i,c)}):u(i)?e(function(t){return n(r,t,c)}):u(c)?e(function(t){return n(r,i,t)}):n(r,i,c)}}}},function(n,t,r){var e=r(4),o=r(1),u=r(0),i=r(37);n.exports=u(function(n,t){return 1===n?o(t):e(n,i(n,[],t))})},function(n,t){n.exports=function(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(n){return t.apply(this,arguments)};case 2:return function(n,r){return t.apply(this,arguments)};case 3:return function(n,r,e){return t.apply(this,arguments)};case 4:return function(n,r,e,o){return t.apply(this,arguments)};case 5:return function(n,r,e,o,u){return t.apply(this,arguments)};case 6:return function(n,r,e,o,u,i){return t.apply(this,arguments)};case 7:return function(n,r,e,o,u,i,c){return t.apply(this,arguments)};case 8:return function(n,r,e,o,u,i,c,a){return t.apply(this,arguments)};case 9:return function(n,r,e,o,u,i,c,a,f){return t.apply(this,arguments)};case 10:return function(n,r,e,o,u,i,c,a,f,s){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(n,t){n.exports=function(n){return null!=n&&"object"==typeof n&&!0===n["@@functional/placeholder"]}},function(n,t,r){var e=r(1),o=r(7),u=r(43);n.exports=function(){var n=!{toString:null}.propertyIsEnumerable("toString"),t=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],r=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),i=function(n,t){for(var r=0;r<n.length;){if(n[r]===t)return!0;r+=1}return!1};return e("function"!=typeof Object.keys||r?function(e){if(Object(e)!==e)return[];var c,a,f=[],s=r&&u(e);for(c in e)!o(c,e)||s&&"length"===c||(f[f.length]=c);if(n)for(a=t.length-1;a>=0;)c=t[a],o(c,e)&&!i(f,c)&&(f[f.length]=c),a-=1;return f}:function(n){return Object(n)!==n?[]:Object.keys(n)})}()},function(n,t){n.exports=function(n,t){return Object.prototype.hasOwnProperty.call(t,n)}},function(n,t){n.exports=Array.isArray||function(n){return null!=n&&n.length>=0&&"[object Array]"===Object.prototype.toString.call(n)}},function(n,t,r){var e=r(53),o=r(25),u=r(55);n.exports=function(){function n(n,t,r){for(var e=0,o=r.length;e<o;){if((t=n["@@transducer/step"](t,r[e]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}e+=1}return n["@@transducer/result"](t)}function t(n,t,r){for(var e=r.next();!e.done;){if((t=n["@@transducer/step"](t,e.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}e=r.next()}return n["@@transducer/result"](t)}function r(n,t,r){return n["@@transducer/result"](r.reduce(o(n["@@transducer/step"],n),t))}var i="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(o,c,a){if("function"==typeof o&&(o=e(o)),u(a))return n(o,c,a);if("function"==typeof a.reduce)return r(o,c,a);if(null!=a[i])return t(o,c,a[i]());if("function"==typeof a.next)return t(o,c,a);throw new TypeError("reduce: list must be array or iterable")}}()},function(n,t,r){var e=r(8);n.exports=function(n,t){return function(){var r=arguments.length;if(0===r)return t();var o=arguments[r-1];return e(o)||"function"!=typeof o[n]?t.apply(this,arguments):o[n].apply(o,Array.prototype.slice.call(arguments,0,r-1))}}},function(n,t,r){var e=r(8),o=r(46);n.exports=function(n,t,r){return function(){if(0===arguments.length)return r();var u=Array.prototype.slice.call(arguments,0),i=u.pop();if(!e(i)){for(var c=0;c<n.length;){if("function"==typeof i[n[c]])return i[n[c]].apply(i,u);c+=1}if(o(i)){return t.apply(null,u)(i)}}return r.apply(this,arguments)}}},function(n,t){n.exports=function(n){return"[object String]"===Object.prototype.toString.call(n)}},function(n,t){n.exports=function(n,t){for(var r=0,e=t.length,o=Array(e);r<e;)o[r]=n(t[r]),r+=1;return o}},function(n,t){n.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(n){return this.xf["@@transducer/result"](n)}}},function(n,t,r){var e=r(0),o=r(11),u=r(13),i=r(9),c=r(52),a=r(3),f=r(6);n.exports=e(o(["map"],c,function(n,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return a(t.length,function(){return n.call(this,t.apply(this,arguments))});case"[object Object]":return i(function(r,e){return r[e]=n(t[e]),r},{},f(t));default:return u(n,t)}}))},function(n,t,r){var e=r(0);n.exports=e(function(n,t){return t[n]})},function(n,t,r){"use strict";var e=r(70),o=r.n(e),u=o.a.string,i=o.a.number,c=o.a.bool,a=o.a.oneOf,f=o.a.oneOfType,s=o.a.arrayOf,l=a(["flex-start","flex-end","center","stretch","baseline","auto"]),p=f([u,i]);t.a={align:l,childAlign:l,childBasis:p,childDirection:a(["column","column-reverse","row","row-reverse"]),childJustify:a(["flex-start","flex-end","center","space-between","space-around","space-evenly"]),childWrap:a(["nowrap","wrap","wrap-reverse","inherit","initial","unset"]),childWrapLastGrow:c,childSpacing:f([p,s(p)]),grow:p,height:p,padding:f([p,s(p)]),shrink:p,width:p}},function(n,t,r){"use strict";var e=r(16),o=r.n(e),u=r(59),i=r.n(u),c=r(22),a=r.n(c),f=r(28),s=r.n(f),l=r(23),p=r.n(l),y=r(32),h=r.n(y),d=r(33),g=r.n(d),v=r(26),x=r.n(v),b=r(27),m=r.n(b),w=r(69),j=r.n(w),O=r(56),S=r.n(O),A=r(15),k=r.n(A),E=r(58),P=r.n(E),T=r(60),q=r.n(T);r.d(t,"a",function(){return I});var C=function(n){return{values:n.split(" ").map(function(n){return n.replace(/^-?\d*(.\d+)?$/g,"")}).map(function(n){return parseFloat(n)}),lengths:n.split(" ").map(function(n){return n.match(/(?!\-?\.?[\d]).\w|%/g,"")})}},U=function(n){return q()(P()("values"),k()(n))},_=function(n){return S()(" ",k()(S()(""),j()(n.values,n.lengths)))},F=m()(function(n,t){return x()(_,U(n),C)(t)}),N=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){return""+x()(g()(p()(t.halve),F(s()(a.a,2)),h.a),g()(p()(t.negate),F(i()(-1)),h.a))(r[n])}},I=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){return g()(o()(n),N(n,t),p()(null))(r)}}},function(t,r){t.exports=n},function(n,r){n.exports=t},function(n,t,r){"use strict";function e(n){if(Array.isArray(n)){for(var t=0,r=Array(n.length);t<n.length;t++)r[t]=n[t];return r}return Array.from(n)}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function i(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function c(n,t){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}Object.defineProperty(t,"__esModule",{value:!0});var a=r(19),f=r.n(a),s=r(17),l=r(18),p=r(20),y=r.n(p);r.d(t,"default",function(){return O});var h=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n},d=function(){function n(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}return function(t,r,e){return r&&n(t.prototype,r),e&&n(t,e),t}}(),g=c(["\n box-sizing: border-box;\n display: ",";\n flex-grow: ",";\n flex-direction: ",";\n flex-wrap: ",";\n align-items: ",";\n justify-content: ",";\n margin: ",";\n"],["\n box-sizing: border-box;\n display: ",";\n flex-grow: ",";\n flex-direction: ",";\n flex-wrap: ",";\n align-items: ",";\n justify-content: ",";\n margin: ",";\n"]),v=c(["\n box-sizing: border-box;\n display: ",";\n flex-grow: ",";\n flex-basis: ",";\n padding: ",";\n ",";\n width: ",";\n & > * {\n flex-grow: ",";\n }\n"],["\n box-sizing: border-box;\n display: ",";\n flex-grow: ",";\n flex-basis: ",";\n padding: ",";\n ",";\n width: ",";\n & > * {\n flex-grow: ",";\n }\n"]),x=function(n){return n.childSpacing?r.i(l.a)("childSpacing",{negate:!0,halve:!0}):0},b=function(n){return void 0!==n.cp["data-grow"]&&n.cp["data-grow"].toString()||n.childGrow&&1||0},m=function(n){return n.childSpacing?r.i(l.a)("childSpacing",{halve:!0}):0},w=y.a.div(g,function(n){return n.display||"flex"},function(n){return n.grow||1},function(n){return n.childDirection||"column"},function(n){return n.childWrap||"nowrap"},function(n){return n.childAlign||"stretch"},function(n){return n.childJustify||"flex-start"},x),j=y.a.div(v,function(n){return n.childFlex?"flex":"block"},b,function(n){return n.cp["data-basis"]||n.childBasis||"auto"},m,function(n){return n.last?"padding-top: 0; padding-bottom: 0;":null},function(n){return n.cp["data-width"]||"auto"},function(n){return n.childFlex?"1":"0"}),O=function(n){function t(){return o(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,n),d(t,[{key:"render",value:function(){var n=this.props,t=this.props.children;return f.a.createElement(w,n,a.Children.map(t,function(t){return t?f.a.createElement(j,h({},n,{cp:h({},t.props),children:t})):null}),!1===n.childWrapLastGrow?[].concat(e(Array(10).keys())).map(function(t,r){return f.a.createElement(j,h({},n,{key:r,children:null,last:!0}))}):null)}}]),t}(f.a.Component);O.displayName="Box",O.defaultProps={cp:{}},O.propTypes=s.a},function(n,t){n.exports={"@@functional/placeholder":!0}},function(n,t,r){var e=r(1);n.exports=e(function(n){return function(){return n}})},function(n,t,r){var e=r(2);n.exports=e(function(n,t,r){var e={};for(var o in r)e[o]=r[o];return e[n]=t,e})},function(n,t,r){var e=r(4),o=r(0);n.exports=o(function(n,t){return e(n.length,function(){return n.apply(t,arguments)})})},function(n,t,r){var e=r(61),o=r(64);n.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return e.apply(this,o(arguments))}},function(n,t,r){var e=r(1),o=r(3);n.exports=e(function(n){return o(n.length,n)})},function(n,t,r){var e=r(0);n.exports=e(function(n,t){return n/t})},function(n,t,r){var e=r(0),o=r(38);n.exports=e(function(n,t){return o(n,t,[],[])})},function(n,t,r){var e=r(0),o=r(11),u=r(39),i=r(45),c=r(9),a=r(51),f=r(6);n.exports=e(o(["filter"],a,function(n,t){return i(t)?c(function(r,e){return n(t[e])&&(r[e]=t[e]),r},{},f(t)):u(n,t)}))},function(n,t,r){var e=r(0);n.exports=e(function(n,t){return n===t?0!==n||1/n==1/t:n!==n&&t!==t})},function(n,t,r){var e=r(1),o=r(41);n.exports=e(o)},function(n,t,r){var e=r(2),o=r(3);n.exports=e(function(n,t,r){return o(Math.max(n.length,t.length,r.length),function(){return n.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)})})},function(n,t){n.exports=function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}},function(n,t){n.exports=function(n){return function(){return!n.apply(this,arguments)}}},function(n,t,r){var e=r(42);n.exports=function(n,t){return e(t,n,0)>=0}},function(n,t,r){var e=r(4),o=r(5);n.exports=function n(t,r,u){return function(){for(var i=[],c=0,a=t,f=0;f<r.length||c<arguments.length;){var s;f<r.length&&(!o(r[f])||c>=arguments.length)?s=r[f]:(s=arguments[c],c+=1),i[f]=s,o(s)||(a-=1),f+=1}return a<=0?u.apply(this,i):e(a,n(t,i,u))}}},function(n,t,r){var e=r(34),o=r(40),u=r(7),i=r(31),c=r(6),a=r(68);n.exports=function n(t,r,f,s){if(i(t,r))return!0;if(a(t)!==a(r))return!1;if(null==t||null==r)return!1;if("function"==typeof t.equals||"function"==typeof r.equals)return"function"==typeof t.equals&&t.equals(r)&&"function"==typeof r.equals&&r.equals(t);switch(a(t)){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===o(t.constructor))return t===r;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof r||!i(t.valueOf(),r.valueOf()))return!1;break;case"Date":if(!i(t.valueOf(),r.valueOf()))return!1;break;case"Error":return t.name===r.name&&t.message===r.message;case"RegExp":if(t.source!==r.source||t.global!==r.global||t.ignoreCase!==r.ignoreCase||t.multiline!==r.multiline||t.sticky!==r.sticky||t.unicode!==r.unicode)return!1;break;case"Map":case"Set":if(!n(e(t.entries()),e(r.entries()),f,s))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var l=c(t);if(l.length!==c(r).length)return!1;for(var p=f.length-1;p>=0;){if(f[p]===t)return s[p]===r;p-=1}for(f.push(t),s.push(r),p=l.length-1;p>=0;){var y=l[p];if(!u(y,r)||!n(r[y],t[y],f,s))return!1;p-=1}return f.pop(),s.pop(),!0}},function(n,t){n.exports=function(n,t){for(var r=0,e=t.length,o=[];r<e;)n(t[r])&&(o[o.length]=t[r]),r+=1;return o}},function(n,t){n.exports=function(n){var t=String(n).match(/^function (\w*)/);return null==t?"":t[1]}},function(n,t){n.exports=function(n){return n}},function(n,t,r){var e=r(29);n.exports=function(n,t,r){var o,u;if("function"==typeof n.indexOf)switch(typeof t){case"number":if(0===t){for(o=1/t;r<n.length;){if(0===(u=n[r])&&1/u===o)return r;r+=1}return-1}if(t!==t){for(;r<n.length;){if("number"==typeof(u=n[r])&&u!==u)return r;r+=1}return-1}return n.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return n.indexOf(t,r);case"object":if(null===t)return n.indexOf(t,r)}for(;r<n.length;){if(e(n[r],t))return r;r+=1}return-1}},function(n,t,r){var e=r(7);n.exports=function(){var n=Object.prototype.toString;return"[object Arguments]"===n.call(arguments)?function(t){return"[object Arguments]"===n.call(t)}:function(n){return e("callee",n)}}()},function(n,t){n.exports=function(n){return"[object Function]"===Object.prototype.toString.call(n)}},function(n,t){n.exports=function(n){return"[object Object]"===Object.prototype.toString.call(n)}},function(n,t){n.exports=function(n){return"function"==typeof n["@@transducer/step"]}},function(n,t){n.exports=function(n,t){return function(){return t.call(this,n.apply(this,arguments))}}},function(n,t){n.exports=function(n){return'"'+n.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},function(n,t){n.exports=function(){var n=function(n){return(n<10?"0":"")+n};return"function"==typeof Date.prototype.toISOString?function(n){return n.toISOString()}:function(t){return t.getUTCFullYear()+"-"+n(t.getUTCMonth()+1)+"-"+n(t.getUTCDate())+"T"+n(t.getUTCHours())+":"+n(t.getUTCMinutes())+":"+n(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}}()},function(n,t,r){var e=r(36),o=r(13),u=r(48),i=r(49),c=r(6),a=r(63);n.exports=function n(t,r){var f=function(o){var u=r.concat([t]);return e(o,u)?"<Circular>":n(o,u)},s=function(n,t){return o(function(t){return u(t)+": "+f(n[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+o(f,t).join(", ")+"))";case"[object Array]":return"["+o(f,t).concat(s(t,a(function(n){return/^\d+$/.test(n)},c(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+f(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?f(NaN):u(i(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+f(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+f(t.valueOf())+")":u(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var l=t.toString();if("[object Object]"!==l)return l}return"{"+s(t,c(t)).join(", ")+"}"}}},function(n,t,r){var e=r(0),o=r(14);n.exports=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype["@@transducer/init"]=o.init,n.prototype["@@transducer/result"]=o.result,n.prototype["@@transducer/step"]=function(n,t){return this.f(t)?this.xf["@@transducer/step"](n,t):n},e(function(t,r){return new n(t,r)})}()},function(n,t,r){var e=r(0),o=r(14);n.exports=function(){function n(n,t){this.xf=t,this.f=n}return n.prototype["@@transducer/init"]=o.init,n.prototype["@@transducer/result"]=o.result,n.prototype["@@transducer/step"]=function(n,t){return this.xf["@@transducer/step"](n,this.f(t))},e(function(t,r){return new n(t,r)})}()},function(n,t){n.exports=function(){function n(n){this.f=n}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(n){return n},n.prototype["@@transducer/step"]=function(n,t){return this.f(n,t)},function(t){return new n(t)}}()},function(n,t,r){var e=r(0),o=r(44),u=r(3),i=r(67);n.exports=e(function(n,t){return u(n+1,function(){var r=arguments[n];if(null!=r&&o(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,n));throw new TypeError(i(r)+' does not have a method named "'+t+'"')})})},function(n,t,r){var e=r(1),o=r(8),u=r(12);n.exports=e(function(n){return!!o(n)||!!n&&("object"==typeof n&&(!u(n)&&(1===n.nodeType?!!n.length:0===n.length||n.length>0&&(n.hasOwnProperty(0)&&n.hasOwnProperty(n.length-1)))))})},function(n,t,r){var e=r(54);n.exports=e(1,"join")},function(n,t,r){var e=r(0),o=r(15);n.exports=e(function(n,t){return function(r){return function(e){return o(function(n){return t(n,e)},r(n(e)))}}})},function(n,t,r){var e=r(1),o=r(24),u=r(57),i=r(16);n.exports=e(function(n){return u(i(n),o(n))})},function(n,t,r){var e=r(0);n.exports=e(function(n,t){return n*t})},function(n,t,r){var e=r(2);n.exports=function(){var n=function(t){return{value:t,map:function(r){return n(r(t))}}};return e(function(t,r,e){return t(function(t){return n(r(t))})(e).value})}()},function(n,t,r){var e=r(4),o=r(47),u=r(62),i=r(66);n.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return e(arguments[0].length,u(o,arguments[0],i(arguments)))}},function(n,t,r){var e=r(2),o=r(9);n.exports=e(o)},function(n,t,r){var e=r(35),o=r(0),u=r(30);n.exports=o(function(n,t){return u(e(n),t)})},function(n,t,r){var e=r(1),o=r(12);n.exports=e(function(n){return o(n)?n.split("").reverse().join(""):Array.prototype.slice.call(n,0).reverse()})},function(n,t,r){var e=r(10),o=r(2);n.exports=o(e("slice",function(n,t,r){return Array.prototype.slice.call(r,n,t)}))},function(n,t,r){var e=r(10),o=r(1),u=r(65);n.exports=o(e("tail",u(1,1/0)))},function(n,t,r){var e=r(1),o=r(50);n.exports=e(function(n){return o(n,[])})},function(n,t,r){var e=r(1);n.exports=e(function(n){return null===n?"Null":void 0===n?"Undefined":Object.prototype.toString.call(n).slice(8,-1)})},function(n,t,r){var e=r(0);n.exports=e(function(n,t){for(var r=[],e=0,o=Math.min(n.length,t.length);e<o;)r[e]=[n[e],t[e]],e+=1;return r})},function(n,t){n.exports=r}])}); |
{ | ||
"name": "react-boxen", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"main": "dist/web/index.js", | ||
@@ -30,5 +30,3 @@ "module": "src/components/web/Box/index.js", | ||
"devDependencies": { | ||
"@kadira/storybook": "^2.21.0", | ||
"@kadira/storybook-addon-knobs": "^1.7.1", | ||
"@kadira/storybook-addons": "^1.3.0", | ||
"@kadira/storybook": "^2.35.3", | ||
"babel-loader": "^6.2.5", | ||
@@ -57,4 +55,4 @@ "babel-plugin-ramda": "1.2.0", | ||
"dependencies": { | ||
"glamor": "^2.20.24", | ||
"prop-types": "^15.5.8" | ||
"prop-types": "^15.5.8", | ||
"styled-components": "2.0.0-15" | ||
}, | ||
@@ -61,0 +59,0 @@ "peerDependencies": { |
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
22
27723
+ Addedstyled-components@2.0.0-15
+ Addedbase64-js@1.5.1(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedcamelize@1.0.1(transitive)
+ Addedcss-color-keywords@1.0.0(transitive)
+ Addedcss-to-react-native@2.3.2(transitive)
+ Addedhas-flag@1.0.0(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedinline-style-prefixer@2.0.5(transitive)
+ Addedis-function@1.0.2(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedpostcss-value-parser@3.3.1(transitive)
+ Addedstyled-components@2.0.0-15(transitive)
+ Addedstylis@2.0.12(transitive)
+ Addedsupports-color@3.2.3(transitive)
- Removedglamor@^2.20.24
- Removedcss-in-js-utils@2.0.1(transitive)
- Removedglamor@2.20.40(transitive)
- Removedinline-style-prefixer@3.0.8(transitive)
- Removedthrough@2.3.8(transitive)