Comparing version 0.17.0 to 0.17.1-test
@@ -11,2 +11,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.Radium=t(require("react")):e.Radium=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var r=t.slice(1),n=e[t[0]];return function(e,t,o){n.apply(this,[e,t,o].concat(r))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return(0,a["default"])(e)}Object.defineProperty(t,"__esModule",{value:!0});var i=r(1),a=n(i),s=r(47),u=n(s),l=r(58),f=n(l),c=r(59),d=n(c),p=r(43),m=n(p),y=r(61),b=n(y);r(4);o.Plugins=u["default"],o.Style=f["default"],o.StyleRoot=d["default"],o.getState=m["default"],o.keyframes=b["default"],t["default"]=o,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function s(e,t){Object.getOwnPropertyNames(e).forEach(function(r){if(b.indexOf(r)<0&&!t.hasOwnProperty(r)){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n)}})}function u(e){var t,r,n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if("function"!=typeof e){var d=function(){var t=f({},n,e);return{v:function(e){return u(e,t)}}}();if("object"===("undefined"==typeof d?"undefined":l(d)))return d.v}var m=e,b=m;b.render||b.prototype.render||(b=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.render=function(){return m(this.props,this.context)},t}(c.Component),b.displayName=m.displayName||m.name);var g=(r=t=function(e){function t(){o(this,t);var r=i(this,e.apply(this,arguments));return r.state=r.state||{},r.state._radiumStyleState={},r._radiumIsMounted=!0,r}return a(t,e),t.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount&&e.prototype.componentWillUnmount.call(this),this._radiumIsMounted=!1,this._radiumMouseUpListener&&this._radiumMouseUpListener.remove(),this._radiumMediaQueryListenersByQuery&&Object.keys(this._radiumMediaQueryListenersByQuery).forEach(function(e){this._radiumMediaQueryListenersByQuery[e].remove()},this)},t.prototype.getChildContext=function(){var t=e.prototype.getChildContext?e.prototype.getChildContext.call(this):{};if(!this.props.radiumConfig)return t;var r=f({},t);return this.props.radiumConfig&&(r._radiumConfig=this.props.radiumConfig),r},t.prototype.render=function(){var t=e.prototype.render.call(this),r=this.props.radiumConfig||this.context._radiumConfig||n;return n&&r!==n&&(r=f({},n,r)),(0,y["default"])(this,t,r)},t}(b),t._isRadiumEnhanced=!0,r);return s(m,g),g.propTypes&&g.propTypes.style&&(g.propTypes=f({},g.propTypes,{style:c.PropTypes.oneOfType([c.PropTypes.array,c.PropTypes.object])})),g.displayName=m.displayName||m.name||"Component",g.contextTypes=f({},g.contextTypes,{_radiumConfig:c.PropTypes.object,_radiumStyleKeeper:c.PropTypes.instanceOf(p["default"])}),g.childContextTypes=f({},g.childContextTypes,{_radiumConfig:c.PropTypes.object,_radiumStyleKeeper:c.PropTypes.instanceOf(p["default"])}),g}Object.defineProperty(t,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t["default"]=u;var c=r(2),d=r(3),p=n(d),m=r(4),y=n(m),b=["arguments","callee","caller","length","name","prototype","type"];e.exports=t["default"]},function(t,r){t.exports=e},function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(t){r(this,e),this._userAgent=t,this._listeners=[],this._cssSet={}}return e.prototype.subscribe=function(e){var t=this;return-1===this._listeners.indexOf(e)&&this._listeners.push(e),{remove:function(){var r=t._listeners.indexOf(e);r>-1&&t._listeners.splice(r,1)}}},e.prototype.addCSS=function(e){var t=this;return this._cssSet[e]||(this._cssSet[e]=!0,this._emitChange()),{remove:function(){delete t._cssSet[e],t._emitChange()}}},e.prototype.getCSS=function(){return Object.keys(this._cssSet).join("\n")},e.prototype._emitChange=function(){this._listeners.forEach(function(e){return e()})},e}();t["default"]=n,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},a=r(5),s=n(a),u=r(8),l=n(u),f=r(43),c=n(f),d=r(44),p=n(d),m=r(45),y=n(m),b=r(46),g=r(47),v=n(g),h=r(56),x=n(h),S=r(2),k=n(S),_={plugins:[v["default"].mergeStyleArray,v["default"].checkProps,v["default"].resolveMediaQueries,v["default"].resolveInteractionStyles,v["default"].keyframes,v["default"].visited,v["default"].prefix,v["default"].checkProps]},O={},w=null,j=function(e){return e.type&&!e.type._isRadiumEnhanced},P=function(e){var t=e.children,r=e.component,n=e.config,o=e.existingKeyMap;if(!t)return t;var a="undefined"==typeof t?"undefined":i(t);if("string"===a||"number"===a)return t;if("function"===a)return function(){var e=t.apply(this,arguments);return k["default"].isValidElement(e)?w(r,e,n,o,!0):e};if(1===k["default"].Children.count(t)&&t.type){var s=k["default"].Children.only(t);return w(r,s,n,o,!0)}return k["default"].Children.map(t,function(e){return k["default"].isValidElement(e)?w(r,e,n,o,!0):e})},C=function(e){var t=e.component,r=e.config,n=e.existingKeyMap,i=e.props,a=i;return Object.keys(i).forEach(function(e){if("children"!==e){var s=i[e];k["default"].isValidElement(s)&&(a=o({},a),a[e]=w(t,s,r,n,!0))}}),a},M=function(e){var t=e.componentName,r=e.existingKeyMap,n=e.renderedElement,o="string"==typeof n.ref?n.ref:n.key,i=(0,p["default"])(o),a=!1,s=function(){if(a)return i;if(a=!0,r[i]){var e=void 0;throw"string"==typeof n.type?e=n.type:n.type.constructor&&(e=n.type.constructor.displayName||n.type.constructor.name),new Error("Radium requires each element with interactive styles to have a unique key, set using either the ref or key prop. "+(o?'Key "'+o+'" is a duplicate.':"Multiple elements have no key specified.")+' Component: "'+t+'". '+(e?'Element: "'+e+'".':""))}return r[i]=!0,i};return s},E=function(e,t,r,n){if(e._radiumIsMounted){var i=e._lastRadiumState||e.state&&e.state._radiumStyleState||{},a={_radiumStyleState:o({},i)};a._radiumStyleState[t]=o({},a._radiumStyleState[t]),a._radiumStyleState[t][r]=n,e._lastRadiumState=a._radiumStyleState,e.setState(a)}},B=function(e){var t=e.component,r=e.config,n=e.existingKeyMap,i=e.props,a=e.renderedElement;if(!k["default"].isValidElement(a)||"string"!=typeof a.type||!i.style)return i;var u=i,f=r.plugins||_.plugins,d=t.constructor.displayName||t.constructor.name,p=M({renderedElement:a,existingKeyMap:n,componentName:d}),m=function(e){return t[e]},g=function(e){return O[e]},v=function(e,r){return(0,c["default"])(t.state,r||p(),e)},h=function(e,r,n){return E(t,n||p(),e,r)},S=function(e){var r=t._radiumStyleKeeper||t.context._radiumStyleKeeper;if(!r){if(F)return{remove:function(){}};throw new Error("To use plugins requiring `addCSS` (e.g. keyframes, media queries), please wrap your application in the StyleRoot component. Component name: `"+d+"`.")}return r.addCSS(e)},w=i.style;return f.forEach(function(e){var n=e({ExecutionEnvironment:x["default"],addCSS:S,appendImportantToEachValue:s["default"],componentName:d,config:r,cssRuleSetToString:l["default"],getComponentField:m,getGlobalState:g,getState:v,hash:y["default"],mergeStyles:b.mergeStyles,props:u,setState:h,isNestedStyle:b.isNestedStyle,style:w})||{};w=n.style||w,u=n.props&&Object.keys(n.props).length?o({},u,n.props):u;var i=n.componentFields||{};Object.keys(i).forEach(function(e){t[e]=i[e]});var a=n.globalState||{};Object.keys(a).forEach(function(e){O[e]=a[e]})}),w!==i.style&&(u=o({},u,{style:w})),u},I=function(e,t,r){return"string"==typeof e.type&&(t=o({},t,{_radiumDidResolveStyles:!0})),k["default"].cloneElement(e,t,r)};w=function(e,t){var r=arguments.length<=2||void 0===arguments[2]?_:arguments[2],n=arguments[3],o=arguments.length<=4||void 0===arguments[4]?!1:arguments[4];if(n=n||{},!t||t.props&&t.props._radiumDidResolveStyles||o&&!j(t))return t;var i=P({children:t.props.children,component:e,config:r,existingKeyMap:n}),a=C({component:e,config:r,existingKeyMap:n,props:t.props});return a=B({component:e,config:r,existingKeyMap:n,props:a,renderedElement:t}),i===t.props.children&&a===t.props?t:I(t,a!==t.props?a:{},i)};var F=!1;t["default"]=w,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return(0,u["default"])(e,function(t,r){return(0,a["default"])(r,e[r])+" !important"})}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(6),a=n(i),s=r(7),u=n(s);e.exports=t["default"]},function(e,t){"use strict";function r(e,t){var r=!n[e]&&"number"==typeof t&&0!==t;return r?t+"px":t}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=r;var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=t["default"]},function(e,t){"use strict";function r(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=t(e[n],n),r},{})}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=r,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return Object.keys(e).map(function(t){return t+": "+e[t]+";"}).join("\n")}function i(e,t,r){if(!t)return"";var n=(0,c["default"])(t,function(e,t){return(0,s["default"])(t,e)}),i=(0,d.getPrefixedStyle)(n,r),a=(0,l["default"])(i),u=o(a);return e+"{"+u+"}"}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var a=r(6),s=n(a),u=r(9),l=n(u),f=r(7),c=n(f),d=r(10);e.exports=t["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=/([a-z])?([A-Z])/g,n=function(e,t,r){return(t||"")+"-"+r.toLowerCase()},o=function(e){return e.replace(r,n)},i=function(e){return Object.keys(e).reduce(function(t,r){var n=o(r);return/^ms-/.test(n)&&(n="-"+n),t[n]=e[r],t},{})};t["default"]=i,e.exports=t["default"]},function(e,t,r){(function(e){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return Object.keys(e).reduce(function(t,r){var n=e[r];return Array.isArray(n)?n=n.join(";"+r+":"):n&&"object"===("undefined"==typeof n?"undefined":u(n))&&"function"==typeof n.toString&&(n=n.toString()),t[r]=n,t},{})}function i(t){var r=t||e&&e.navigator&&e.navigator.userAgent;return d&&r===c||(d="all"===r?{prefix:f["default"].prefixAll,prefixedKeyframes:"keyframes"}:new f["default"]({userAgent:r}),c=r),d}function a(e){return i(e).prefixedKeyframes}function s(e,t){var r=o(e),n=i(t),a=n.prefix(r);return a}Object.defineProperty(t,"__esModule",{value:!0});var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.getPrefixedKeyframes=a,t.getPrefixedStyle=s;var l=r(11),f=n(l),c=void 0,d=void 0}).call(t,function(){return this}())},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(12),s=n(a),u=r(27),l=n(u),f=r(29),c=n(f),d=r(30),p=n(d),m=r(31),y=n(m),b=r(32),g=n(b),v=r(33),h=n(v),x=r(35),S=n(x),k=r(36),_=n(k),O=r(37),w=n(O),j=r(38),P=n(j),C=r(39),M=n(C),E=r(41),B=n(E),I=r(42),F=n(I),R=[h["default"],S["default"],w["default"],P["default"],M["default"],B["default"],F["default"],_["default"]],D=function(){function e(){var t=this,r=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];o(this,e);var n="undefined"!=typeof navigator?navigator.userAgent:void 0;if(this._userAgent=r.userAgent||n,this._keepUnprefixed=r.keepUnprefixed||!1,this._browserInfo=(0,l["default"])(this._userAgent),!this._browserInfo||!this._browserInfo.prefix)return this._usePrefixAllFallback=!0,!1;this.cssPrefix=this._browserInfo.prefix.css,this.jsPrefix=this._browserInfo.prefix.inline,this.prefixedKeyframes=(0,c["default"])(this._browserInfo);var i=this._browserInfo.browser&&g["default"][this._browserInfo.browser];i?(this._requiresPrefix=Object.keys(i).filter(function(e){return i[e]>=t._browserInfo.version}).reduce(function(e,t){return e[t]=!0,e},{}),this._hasPropsRequiringPrefix=Object.keys(this._requiresPrefix).length>0):this._usePrefixAllFallback=!0}return i(e,[{key:"prefix",value:function(e){var t=this;return this._usePrefixAllFallback?(0,s["default"])(e):this._hasPropsRequiringPrefix?(e=(0,y["default"])({},e),Object.keys(e).forEach(function(r){var n=e[r];n instanceof Object?e[r]=t.prefix(n):(t._requiresPrefix[r]&&(e[t.jsPrefix+(0,p["default"])(r)]=n,t._keepUnprefixed||delete e[r]),R.forEach(function(o){var i=o({property:r,value:n,styles:e,browserInfo:t._browserInfo,prefix:{js:t.jsPrefix,css:t.cssPrefix,keyframes:t.prefixedKeyframes},keepUnprefixed:t._keepUnprefixed,requiresPrefix:t._requiresPrefix});(0,y["default"])(e,i)}))}),e):e}}],[{key:"prefixAll",value:function(e){return(0,s["default"])(e)}}]),e}();t["default"]=D,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return Object.keys(e).reduce(function(t,r){var n=e[r];return n instanceof Object?t[r]=o(n):(Object.keys(a["default"]).forEach(function(e){var o=a["default"][e];o[r]&&(t[e+(0,u["default"])(r)]=n)}),P.forEach(function(e){return(0,f["default"])(t,e(r,n))})),t},e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(13),a=n(i),s=r(14),u=n(s),l=r(15),f=n(l),c=r(16),d=n(c),p=r(19),m=n(p),y=r(20),b=n(y),g=r(21),v=n(g),h=r(22),x=n(h),S=r(23),k=n(S),_=r(25),O=n(_),w=r(26),j=n(w),P=[d["default"],m["default"],v["default"],x["default"],k["default"],O["default"],j["default"],b["default"]];e.exports=t["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={Webkit:{transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,backfaceVisibility:!0,perspective:!0,perspectiveOrigin:!0,transformStyle:!0,transformOriginZ:!0,animation:!0,animationDelay:!0,animationDirection:!0,animationFillMode:!0,animationDuration:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0,appearance:!0,userSelect:!0,fontKerning:!0,textEmphasisPosition:!0,textEmphasis:!0,textEmphasisStyle:!0,textEmphasisColor:!0,boxDecorationBreak:!0,clipPath:!0,maskImage:!0,maskMode:!0,maskRepeat:!0,maskPosition:!0,maskClip:!0,maskOrigin:!0,maskSize:!0,maskComposite:!0,mask:!0,maskBorderSource:!0,maskBorderMode:!0,maskBorderSlice:!0,maskBorderWidth:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorder:!0,maskType:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,filter:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0,flex:!0,flexBasis:!0,flexDirection:!0,flexGrow:!0,flexFlow:!0,flexShrink:!0,flexWrap:!0,alignContent:!0,alignItems:!0,alignSelf:!0,justifyContent:!0,order:!0,transition:!0,transitionDelay:!0,transitionDuration:!0,transitionProperty:!0,transitionTimingFunction:!0,backdropFilter:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,shapeImageThreshold:!0,shapeImageMargin:!0,shapeImageOutside:!0,hyphens:!0,flowInto:!0,flowFrom:!0,regionFragment:!0,textSizeAdjust:!0,borderImage:!0,borderImageOutset:!0,borderImageRepeat:!0,borderImageSlice:!0,borderImageSource:!0,borderImageWidth:!0,tabSize:!0,objectFit:!0,objectPosition:!0},Moz:{appearance:!0,userSelect:!0,boxSizing:!0,textAlignLast:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,tabSize:!0,hyphens:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0},ms:{flex:!0,flexBasis:!1,flexDirection:!0,flexGrow:!1,flexFlow:!0,flexShrink:!1,flexWrap:!0,alignContent:!1,alignItems:!1,alignSelf:!1,justifyContent:!1,order:!1,transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,userSelect:!0,wrapFlow:!0,wrapThrough:!0,wrapMargin:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,touchAction:!0,hyphens:!0,flowInto:!0,flowFrom:!0,breakBefore:!0,breakAfter:!0,breakInside:!0,regionFragment:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridTemplate:!0,gridAutoColumns:!0,gridAutoRows:!0,gridAutoFlow:!0,grid:!0,gridRowStart:!0,gridColumnStart:!0,gridRowEnd:!0,gridRow:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridRowGap:!0,gridArea:!0,gridGap:!0,textSizeAdjust:!0}},e.exports=t["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return Object.keys(t).reduce(function(r,n){return e[n]=t[n],r},{})},e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return"string"==typeof t&&t.indexOf("calc(")>-1?(0,a["default"])(e,t,function(e,t){return t.replace(/calc\(/g,e+"calc(")}):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(17),a=n(i);e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0});var i=r(18),a=n(i);t["default"]=function(e,t){var r=arguments.length<=2||void 0===arguments[2]?function(e,t){return e+t}:arguments[2];return function(){return o({},e,["-webkit-","-moz-",""].map(function(e){return r(e,t)}).join(";"+(0,a["default"])(e)+":"))}()},e.exports=t["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return e.replace(/([a-z]|^)([A-Z])/g,function(e,t,r){return t+"-"+r.toLowerCase()}).replace("ms-","-ms-")},e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return"cursor"===e&&s[t]?(0,a["default"])(e,t):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(17),a=n(i),s={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return"display"===e&&s[t]?{display:["-webkit-box","-moz-box","-ms-"+t+"box","-webkit-"+t,t].join(";"+(0,a["default"])(e)+":")}:void 0}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(18),a=n(i),s={flex:!0,"inline-flex":!0};e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return s[e]&&u[t]?(0,a["default"])(e,t):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(17),a=n(i),s={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},u={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return"string"==typeof t&&null!==t.match(s)?(0,a["default"])(e,t):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(17),a=n(i),s=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=(0,d["default"])(e);if("string"==typeof t&&y[r]){var n,i=function(){var r=t.split(/,(?![^()]*(?:\([^()]*\))?\))/g);r.forEach(function(e,t){r[t]=Object.keys(m["default"]).reduce(function(t,r){var n="-"+r.toLowerCase()+"-";return Object.keys(m["default"][r]).forEach(function(r){var o=(0,u["default"])(r);e.indexOf(o)>-1&&(t=e.replace(o,n+o)+","+t)}),t},e)});var i=r.join(",");return{v:(n={},o(n,"Webkit"+(0,f["default"])(e),i.split(",").filter(function(e){return null===e.match(/-moz-|-ms-/)}).join(",")),o(n,e,i),n)}}();if("object"===("undefined"==typeof i?"undefined":a(i)))return i.v}}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var s=r(18),u=n(s),l=r(14),f=n(l),c=r(24),d=n(c),p=r(13),m=n(p),y={transition:!0,transitionProperty:!0};e.exports=t["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){var t=e.replace(/^(ms|Webkit|Moz|O)/,"");return t.charAt(0).toLowerCase()+t.slice(1)},e.exports=t["default"]},function(e,t){"use strict";function r(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){return i[e]?r({},i[e],o[t]||t):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n;var o={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},i={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msPreferredSize"};e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){return"flexDirection"===e?{WebkitBoxOrient:t.indexOf("column")>-1?"vertical":"horizontal",WebkitBoxDirection:t.indexOf("reverse")>-1?"reverse":"normal"}:u[e]?o({},u[e],s[t]||t):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var a=r(18),s=(n(a),{"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"}),u={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(28),i=n(o),a={Webkit:["chrome","safari","ios","android","phantom","opera","webos","blackberry","bada","tizen"],Moz:["firefox","seamonkey","sailfish"],ms:["msie","msedge"]},s={chrome:[["chrome"]],safari:[["safari"]],firefox:[["firefox"]],ie:[["msie"]],edge:[["msedge"]],opera:[["opera"]],ios_saf:[["ios","mobile"],["ios","tablet"]],ie_mob:[["windowsphone","mobile","msie"],["windowsphone","tablet","msie"],["windowsphone","mobile","msedge"],["windowsphone","tablet","msedge"]],op_mini:[["opera","mobile"],["opera","tablet"]],and_uc:[["android","mobile"],["android","tablet"]],android:[["android","mobile"],["android","tablet"]]};t["default"]=function(e){if(!e)return!1;var t=i["default"]._detect(e);Object.keys(a).forEach(function(e){a[e].forEach(function(r){t[r]&&(t.prefix={inline:e,css:"-"+e.toLowerCase()+"-"})})});var r="";return Object.keys(s).forEach(function(e){s[e].forEach(function(n){var o=0;n.forEach(function(e){t[e]&&(o+=1)}),n.length===o&&(r=e)})}),t.browser=r,t.version=t.version?parseFloat(t.version):parseInt(parseFloat(t.osversion),10),"android"===t.browser&&t.chrome&&t.version>37&&(t.browser="and_chr"),t.version=parseFloat(t.version),t.osversion=parseFloat(t.osversion),"android"===t.browser&&t.osversion<5&&(t.version=t.osversion),t},e.exports=t["default"]},function(e,t,r){var n,o;/*! | ||
*/ | ||
!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};"object"===o(r(57))&&r(57)?(n=function(){return a}.call(t,r,t,e),!(void 0!==n&&(e.exports=n))):"undefined"!=typeof e&&e.exports?e.exports=a:window.ExecutionEnvironment=a}()},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(8),i=n(o),a=r(2),s=n(a),u=s["default"].createClass({displayName:"Style",propTypes:{radiumConfig:a.PropTypes.object,rules:a.PropTypes.object,scopeSelector:a.PropTypes.string},contextTypes:{_radiumConfig:a.PropTypes.object},getDefaultProps:function(){return{scopeSelector:""}},_buildStyles:function(e){var t=this,r=this.props.radiumConfig&&this.props.radiumConfig.userAgent||this.context&&this.context._radiumConfig&&this.context._radiumConfig.userAgent;return Object.keys(e).reduce(function(n,o){var a=t.props.scopeSelector,s=e[o];if("mediaQueries"===o)n+=t._buildMediaQueryString(s);else{var u=a?o.split(",").map(function(e){return a+" "+e.trim()}).join(","):o;n+=(0,i["default"])(u,s,r)}return n},"")},_buildMediaQueryString:function(e){var t=this,r=this._getContextMediaQueries(),n="";return Object.keys(e).forEach(function(o){var i=r[o]?r[o]:o;n+="@media "+i+"{"+t._buildStyles(e[o])+"}"}),n},_getContextMediaQueries:function(){var e=this,t={};return this.context&&this.context.mediaQueries&&Object.keys(this.context.mediaQueries).forEach(function(r){t[r]=e.context.mediaQueries[r].media}),t},render:function(){if(!this.props.rules)return null;var e=this._buildStyles(this.props.rules);return s["default"].createElement("style",{dangerouslySetInnerHTML:{__html:e}})}});t["default"]=u,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function s(e){if(!e._radiumStyleKeeper){var t=e.props.radiumConfig&&e.props.radiumConfig.userAgent||e.context._radiumConfig&&e.context._radiumConfig.userAgent;e._radiumStyleKeeper=new p["default"](t)}return e._radiumStyleKeeper}Object.defineProperty(t,"__esModule",{value:!0});var u=r(2),l=n(u),f=r(1),c=n(f),d=r(3),p=n(d),m=r(60),y=n(m),b=function(e){function t(){o(this,t);var r=i(this,e.apply(this,arguments));return s(r),r}return a(t,e),t.prototype.getChildContext=function(){return{_radiumStyleKeeper:s(this)}},t.prototype.render=function(){return l["default"].createElement("div",this.props,this.props.children,l["default"].createElement(y["default"],null))},t}(u.Component);b.contextTypes={_radiumConfig:u.PropTypes.object,_radiumStyleKeeper:u.PropTypes.instanceOf(p["default"])},b.childContextTypes={_radiumStyleKeeper:u.PropTypes.instanceOf(p["default"])},b=(0,c["default"])(b),t["default"]=b,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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}),t["default"]=void 0;var s,u,l=r(2),f=n(l),c=r(3),d=n(c),p=(u=s=function(e){function t(){o(this,t);var r=i(this,e.apply(this,arguments));return r.state=r._getCSSState(),r._onChange=r._onChange.bind(r),r}return a(t,e),t.prototype.componentDidMount=function(){this._isMounted=!0,this._subscription=this.context._radiumStyleKeeper.subscribe(this._onChange),this._onChange()},t.prototype.componentWillUnmount=function(){this._isMounted=!1,this._subscription&&this._subscription.remove()},t.prototype._getCSSState=function(){return{css:this.context._radiumStyleKeeper.getCSS()}},t.prototype._onChange=function(){var e=this;setTimeout(function(){e._isMounted&&e.setState(e._getCSSState())},0)},t.prototype.render=function(){return f["default"].createElement("style",{dangerouslySetInnerHTML:{__html:this.state.css}})},t}(l.Component),s.contextTypes={_radiumStyleKeeper:f["default"].PropTypes.instanceOf(d["default"])},u);t["default"]=p,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return{__radiumKeyframes:!0,__process:function(r){var n=(0,l.getPrefixedKeyframes)(r),o=Object.keys(e).map(function(t){return(0,a["default"])(t,e[t],r)}).join("\n"),i=(t?t+"-":"")+"radium-animation-"+(0,u["default"])(o),s="@"+n+" "+i+" {\n"+o+"\n}\n";return{css:s,animationName:i}}}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(8),a=n(i),s=r(45),u=n(s),l=r(10);e.exports=t["default"]}]))}); | ||
!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};"object"===o(r(57))&&r(57)?(n=function(){return a}.call(t,r,t,e),!(void 0!==n&&(e.exports=n))):"undefined"!=typeof e&&e.exports?e.exports=a:window.ExecutionEnvironment=a}()},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=r(8),a=n(i),s=r(2),u=n(s),l=u["default"].createClass({displayName:"Style",propTypes:{radiumConfig:s.PropTypes.object,rules:s.PropTypes.object,scopeSelector:s.PropTypes.string},contextTypes:{_radiumConfig:s.PropTypes.object},getDefaultProps:function(){return{scopeSelector:""}},_buildStyles:function(e){var t=this,r=this.props.radiumConfig&&this.props.radiumConfig.userAgent||this.context&&this.context._radiumConfig&&this.context._radiumConfig.userAgent,n=this.props.scopeSelector,i=Object.keys(e).reduce(function(t,r){return"object"!==o(e[r])&&(t[r]=e[r]),t},{}),s=Object.keys(i).length?(0,a["default"])(n||"",i,r):"";return s+Object.keys(e).reduce(function(i,s){var u=e[s];if("mediaQueries"===s)i+=t._buildMediaQueryString(u);else if("object"===o(e[s])){var l=n?s.split(",").map(function(e){return n+" "+e.trim()}).join(","):s;i+=(0,a["default"])(l,u,r)}return i},"")},_buildMediaQueryString:function(e){var t=this,r="";return Object.keys(e).forEach(function(n){r+="@media "+n+"{"+t._buildStyles(e[n])+"}"}),r},render:function(){if(!this.props.rules)return null;var e=this._buildStyles(this.props.rules);return u["default"].createElement("style",{dangerouslySetInnerHTML:{__html:e}})}});t["default"]=l,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function s(e){if(!e._radiumStyleKeeper){var t=e.props.radiumConfig&&e.props.radiumConfig.userAgent||e.context._radiumConfig&&e.context._radiumConfig.userAgent;e._radiumStyleKeeper=new p["default"](t)}return e._radiumStyleKeeper}Object.defineProperty(t,"__esModule",{value:!0});var u=r(2),l=n(u),f=r(1),c=n(f),d=r(3),p=n(d),m=r(60),y=n(m),b=function(e){function t(){o(this,t);var r=i(this,e.apply(this,arguments));return s(r),r}return a(t,e),t.prototype.getChildContext=function(){return{_radiumStyleKeeper:s(this)}},t.prototype.render=function(){return l["default"].createElement("div",this.props,this.props.children,l["default"].createElement(y["default"],null))},t}(u.Component);b.contextTypes={_radiumConfig:u.PropTypes.object,_radiumStyleKeeper:u.PropTypes.instanceOf(p["default"])},b.childContextTypes={_radiumStyleKeeper:u.PropTypes.instanceOf(p["default"])},b=(0,c["default"])(b),t["default"]=b,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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}),t["default"]=void 0;var s,u,l=r(2),f=n(l),c=r(3),d=n(c),p=(u=s=function(e){function t(){o(this,t);var r=i(this,e.apply(this,arguments));return r.state=r._getCSSState(),r._onChange=r._onChange.bind(r),r}return a(t,e),t.prototype.componentDidMount=function(){this._isMounted=!0,this._subscription=this.context._radiumStyleKeeper.subscribe(this._onChange),this._onChange()},t.prototype.componentWillUnmount=function(){this._isMounted=!1,this._subscription&&this._subscription.remove()},t.prototype._getCSSState=function(){return{css:this.context._radiumStyleKeeper.getCSS()}},t.prototype._onChange=function(){var e=this;setTimeout(function(){e._isMounted&&e.setState(e._getCSSState())},0)},t.prototype.render=function(){return f["default"].createElement("style",{dangerouslySetInnerHTML:{__html:this.state.css}})},t}(l.Component),s.contextTypes={_radiumStyleKeeper:f["default"].PropTypes.instanceOf(d["default"])},u);t["default"]=p,e.exports=t["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return{__radiumKeyframes:!0,__process:function(r){var n=(0,l.getPrefixedKeyframes)(r),o=Object.keys(e).map(function(t){return(0,a["default"])(t,e[t],r)}).join("\n"),i=(t?t+"-":"")+"radium-animation-"+(0,u["default"])(o),s="@"+n+" "+i+" {\n"+o+"\n}\n";return{css:s,animationName:i}}}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(8),a=n(i),s=r(45),u=n(s),l=r(10);e.exports=t["default"]}]))}); |
@@ -7,2 +7,4 @@ 'use strict'; | ||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; | ||
var _cssRuleSetToString = require('../css-rule-set-to-string'); | ||
@@ -41,5 +43,14 @@ | ||
return Object.keys(styles).reduce(function (accumulator, selector) { | ||
var scopeSelector = _this.props.scopeSelector; | ||
var scopeSelector = this.props.scopeSelector; | ||
var rootRules = Object.keys(styles).reduce(function (accumulator, selector) { | ||
if (_typeof(styles[selector]) !== 'object') { | ||
accumulator[selector] = styles[selector]; | ||
} | ||
return accumulator; | ||
}, {}); | ||
var rootStyles = Object.keys(rootRules).length ? (0, _cssRuleSetToString2.default)(scopeSelector || '', rootRules, userAgent) : ''; | ||
return rootStyles + Object.keys(styles).reduce(function (accumulator, selector) { | ||
var rules = styles[selector]; | ||
@@ -49,3 +60,3 @@ | ||
accumulator += _this._buildMediaQueryString(rules); | ||
} else { | ||
} else if (_typeof(styles[selector]) === 'object') { | ||
var completeSelector = scopeSelector ? selector.split(',').map(function (part) { | ||
@@ -64,8 +75,6 @@ return scopeSelector + ' ' + part.trim(); | ||
var contextMediaQueries = this._getContextMediaQueries(); | ||
var mediaQueryString = ''; | ||
Object.keys(stylesByMediaQuery).forEach(function (query) { | ||
var completeQuery = contextMediaQueries[query] ? contextMediaQueries[query] : query; | ||
mediaQueryString += '@media ' + completeQuery + '{' + _this2._buildStyles(stylesByMediaQuery[query]) + '}'; | ||
mediaQueryString += '@media ' + query + '{' + _this2._buildStyles(stylesByMediaQuery[query]) + '}'; | ||
}); | ||
@@ -75,14 +84,2 @@ | ||
}, | ||
_getContextMediaQueries: function _getContextMediaQueries() { | ||
var _this3 = this; | ||
var contextMediaQueries = {}; | ||
if (this.context && this.context.mediaQueries) { | ||
Object.keys(this.context.mediaQueries).forEach(function (query) { | ||
contextMediaQueries[query] = _this3.context.mediaQueries[query].media; | ||
}); | ||
} | ||
return contextMediaQueries; | ||
}, | ||
render: function render() { | ||
@@ -89,0 +86,0 @@ if (!this.props.rules) { |
{ | ||
"name": "radium", | ||
"version": "0.17.0", | ||
"version": "0.17.1-test", | ||
"description": "A set of tools to manage inline styles on React elements", | ||
@@ -46,3 +46,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"babel-eslint": "^4.1.6", | ||
"babel-eslint": "^6.0.0", | ||
"babel-loader": "^6.2.0", | ||
@@ -53,5 +53,5 @@ "chai": "^3.0.0", | ||
"coveralls": "^2.11.2", | ||
"eslint": "^1.10.3", | ||
"eslint-plugin-flow-vars": "^0.1.1", | ||
"eslint-plugin-react": "^3.13.1", | ||
"eslint": "^2.5.3", | ||
"eslint-plugin-flow-vars": "^0.2.1", | ||
"eslint-plugin-react": "^4.2.3", | ||
"express": "^4.13.3", | ||
@@ -69,3 +69,3 @@ "express-http-proxy": "^0.6.0", | ||
"karma-mocha-reporter": "^1.1.4", | ||
"karma-phantomjs-launcher": "^0.2.0", | ||
"karma-phantomjs-launcher": "^1.0.0", | ||
"karma-phantomjs-shim": "^1.0.0", | ||
@@ -80,3 +80,3 @@ "karma-sinon-chai": "^1.0.0", | ||
"object-assign": "^4.0.1", | ||
"phantomjs": "^1.9.17", | ||
"phantomjs-prebuilt": "^2.1.7", | ||
"react": "^0.14.0", | ||
@@ -93,3 +93,3 @@ "react-addons-test-utils": "^0.14.0", | ||
"babel-plugin-transform-decorators-legacy": "^1.2.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.3.16", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.7.4", | ||
"babel-preset-es2015-loose": "^6.1.3", | ||
@@ -96,0 +96,0 @@ "babel-preset-react": "^6.3.13", |
Sorry, the diff of this file is too big to display
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
290079
4826