@atlaskit/badge
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -187,21 +187,21 @@ module.exports = /******/ | ||
// module | ||
exports.push([ module.id, ".EzUhIDZDYmzn9GtLhVq9f{display:inline-block}._2_XsoX-l3Z0FwfeNrmlmX{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}._3wof23PwscvsetcfR0UBdd{background:#ebecf0;color:#42526e}.wIEtMSx1Om_yYwM5VUdZ1{background:#0052cc;color:#fff}._2Jr06uHS_hDQiqLOeoQDgt{background:#ff5630;color:#fff}._2zV7PVTJBo7JKyFuVQd4sH{background:#e3fcef;color:#064}._2VxnVAPoEKQaBIIiAJxmHb{background:#ffebe6;color:#bf2600}._2Jr06uHS_hDQiqLOeoQDgt._39q1GHRQK_TGS8flP3Cfau,._2VxnVAPoEKQaBIIiAJxmHb._39q1GHRQK_TGS8flP3Cfau,._2zV7PVTJBo7JKyFuVQd4sH._39q1GHRQK_TGS8flP3Cfau,._3wof23PwscvsetcfR0UBdd._39q1GHRQK_TGS8flP3Cfau,.wIEtMSx1Om_yYwM5VUdZ1._39q1GHRQK_TGS8flP3Cfau{background:#fff;color:#0049b0}", "" ]), | ||
exports.push([ module.id, "._2tOWNlSL7CpZsP4OKd2qqN{display:inline-block}._1P09jTN-QI_N_tBicjLWKk{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}._10PO3wnE_wEx8I_bRo-X1R{background:#ebecf0;color:#42526e}._79R5SQ1HLI85EiW5tCe-H{background:#0052cc;color:#fff}._3xXqFwz4j1Q7JaYDx_qffL{background:#ff5630;color:#fff}._2dBIN8dJsnbdQKmbxHPEEv{background:#e3fcef;color:#064}._2gWJBoEZOa5hSfi9MMuVEk{background:#ffebe6;color:#bf2600}._2dBIN8dJsnbdQKmbxHPEEv._3i7pHHfSKcPHNU0YsL7IQZ,._2gWJBoEZOa5hSfi9MMuVEk._3i7pHHfSKcPHNU0YsL7IQZ,._3xXqFwz4j1Q7JaYDx_qffL._3i7pHHfSKcPHNU0YsL7IQZ,._10PO3wnE_wEx8I_bRo-X1R._3i7pHHfSKcPHNU0YsL7IQZ,._79R5SQ1HLI85EiW5tCe-H._3i7pHHfSKcPHNU0YsL7IQZ{background:#fff;color:#0049b0}", "" ]), | ||
// exports | ||
exports.locals = { | ||
container: "EzUhIDZDYmzn9GtLhVq9f", | ||
container: "EzUhIDZDYmzn9GtLhVq9f", | ||
value: "_2_XsoX-l3Z0FwfeNrmlmX", | ||
value: "_2_XsoX-l3Z0FwfeNrmlmX", | ||
default: "_3wof23PwscvsetcfR0UBdd", | ||
default: "_3wof23PwscvsetcfR0UBdd", | ||
primary: "wIEtMSx1Om_yYwM5VUdZ1", | ||
primary: "wIEtMSx1Om_yYwM5VUdZ1", | ||
important: "_2Jr06uHS_hDQiqLOeoQDgt", | ||
important: "_2Jr06uHS_hDQiqLOeoQDgt", | ||
added: "_2zV7PVTJBo7JKyFuVQd4sH", | ||
added: "_2zV7PVTJBo7JKyFuVQd4sH", | ||
removed: "_2VxnVAPoEKQaBIIiAJxmHb", | ||
removed: "_2VxnVAPoEKQaBIIiAJxmHb", | ||
isDarkTheme: "_39q1GHRQK_TGS8flP3Cfau", | ||
isDarkTheme: "_39q1GHRQK_TGS8flP3Cfau" | ||
container: "_2tOWNlSL7CpZsP4OKd2qqN", | ||
container: "_2tOWNlSL7CpZsP4OKd2qqN", | ||
value: "_1P09jTN-QI_N_tBicjLWKk", | ||
value: "_1P09jTN-QI_N_tBicjLWKk", | ||
default: "_10PO3wnE_wEx8I_bRo-X1R", | ||
default: "_10PO3wnE_wEx8I_bRo-X1R", | ||
primary: "_79R5SQ1HLI85EiW5tCe-H", | ||
primary: "_79R5SQ1HLI85EiW5tCe-H", | ||
important: "_3xXqFwz4j1Q7JaYDx_qffL", | ||
important: "_3xXqFwz4j1Q7JaYDx_qffL", | ||
added: "_2dBIN8dJsnbdQKmbxHPEEv", | ||
added: "_2dBIN8dJsnbdQKmbxHPEEv", | ||
removed: "_2gWJBoEZOa5hSfi9MMuVEk", | ||
removed: "_2gWJBoEZOa5hSfi9MMuVEk", | ||
isDarkTheme: "_3i7pHHfSKcPHNU0YsL7IQZ", | ||
isDarkTheme: "_3i7pHHfSKcPHNU0YsL7IQZ" | ||
}; | ||
@@ -208,0 +208,0 @@ }, /* 14 */ |
@@ -1,1 +0,1 @@ | ||
module.exports=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,t,r){e.exports=r(3)},,,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(4),a=n(o),u=r(5),i=n(u),s=r(6),l=n(s),f=r(7),d=n(f),p=r(8),c=n(p),h=r(9),m=n(h),v=r(10),b=n(v),y=r(11),_=n(y),x=r(12),g=n(x),V={values:["default","primary","important","added","removed"],defaultValue:"default"},w={values:["default","dark"],defaultValue:"default"},P=function(e){function t(){return(0,l.default)(this,t),(0,c.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentWillUpdate",value:function(e){var t=this.props,r=t.onValueUpdated,n=t.value,o=e.value;r&&o!==n&&r({oldValue:n,newValue:o})}},{key:"displayValue",value:function(){var e=this.props,t=e.value,r=e.max;return t<0?0:r>0&&t>r?r+"+":t===1/0?"∞":t}},{key:"validAppearance",value:function(){var e=this.props.appearance,t=V.values,r=V.defaultValue;return t.indexOf(e)!==-1?e:r}},{key:"render",value:function(){return _.default.createElement("span",{className:g.default.root},_.default.createElement("span",{className:(0,b.default)([g.default.value,g.default[this.validAppearance()]],(0,a.default)({},g.default.isDarkTheme,"dark"===this.props.theme))},this.displayValue().toString()))}}]),t}(y.PureComponent);P.propTypes={value:y.PropTypes.number,max:y.PropTypes.number,appearance:y.PropTypes.oneOf(V.values),onValueUpdated:y.PropTypes.func,theme:y.PropTypes.oneOf(w.values)},P.defaultProps={value:0,max:99,appearance:V.defaultValue,theme:w.defaultValue},t.default=P},function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t){e.exports=require("babel-runtime/core-js/object/get-prototype-of")},function(e,t){e.exports=require("babel-runtime/helpers/classCallCheck")},function(e,t){e.exports=require("babel-runtime/helpers/createClass")},function(e,t){e.exports=require("babel-runtime/helpers/possibleConstructorReturn")},function(e,t){e.exports=require("babel-runtime/helpers/inherits")},function(e,t){e.exports=require("classnames")},function(e,t){e.exports=require("react")},function(e,t,r){var n=r(13);"string"==typeof n&&(n=[[e.id,n,""]]),r(15)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(14)(),t.push([e.id,".EzUhIDZDYmzn9GtLhVq9f{display:inline-block}._2_XsoX-l3Z0FwfeNrmlmX{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}._3wof23PwscvsetcfR0UBdd{background:#ebecf0;color:#42526e}.wIEtMSx1Om_yYwM5VUdZ1{background:#0052cc;color:#fff}._2Jr06uHS_hDQiqLOeoQDgt{background:#ff5630;color:#fff}._2zV7PVTJBo7JKyFuVQd4sH{background:#e3fcef;color:#064}._2VxnVAPoEKQaBIIiAJxmHb{background:#ffebe6;color:#bf2600}._2Jr06uHS_hDQiqLOeoQDgt._39q1GHRQK_TGS8flP3Cfau,._2VxnVAPoEKQaBIIiAJxmHb._39q1GHRQK_TGS8flP3Cfau,._2zV7PVTJBo7JKyFuVQd4sH._39q1GHRQK_TGS8flP3Cfau,._3wof23PwscvsetcfR0UBdd._39q1GHRQK_TGS8flP3Cfau,.wIEtMSx1Om_yYwM5VUdZ1._39q1GHRQK_TGS8flP3Cfau{background:#fff;color:#0049b0}",""]),t.locals={container:"EzUhIDZDYmzn9GtLhVq9f",container:"EzUhIDZDYmzn9GtLhVq9f",value:"_2_XsoX-l3Z0FwfeNrmlmX",value:"_2_XsoX-l3Z0FwfeNrmlmX",default:"_3wof23PwscvsetcfR0UBdd",default:"_3wof23PwscvsetcfR0UBdd",primary:"wIEtMSx1Om_yYwM5VUdZ1",primary:"wIEtMSx1Om_yYwM5VUdZ1",important:"_2Jr06uHS_hDQiqLOeoQDgt",important:"_2Jr06uHS_hDQiqLOeoQDgt",added:"_2zV7PVTJBo7JKyFuVQd4sH",added:"_2zV7PVTJBo7JKyFuVQd4sH",removed:"_2VxnVAPoEKQaBIIiAJxmHb",removed:"_2VxnVAPoEKQaBIIiAJxmHb",isDarkTheme:"_39q1GHRQK_TGS8flP3Cfau",isDarkTheme:"_39q1GHRQK_TGS8flP3Cfau"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o<this.length;o++){var a=this[o][0];"number"==typeof a&&(n[a]=!0)}for(o=0;o<t.length;o++){var u=t[o];"number"==typeof u[0]&&n[u[0]]||(r&&!u[2]?u[2]=r:r&&(u[2]="("+u[2]+") and ("+r+")"),e.push(u))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=c[n.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](n.parts[a]);for(;a<n.parts.length;a++)o.parts.push(l(n.parts[a],t))}else{for(var u=[],a=0;a<n.parts.length;a++)u.push(l(n.parts[a],t));c[n.id]={id:n.id,refs:1,parts:u}}}}function o(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n],a=o[0],u=o[1],i=o[2],s=o[3],l={css:u,media:i,sourceMap:s};r[a]?r[a].parts.push(l):t.push(r[a]={id:a,parts:[l]})}return t}function a(e,t){var r=v(),n=_[_.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),_.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function u(e){e.parentNode.removeChild(e);var t=_.indexOf(e);t>=0&&_.splice(t,1)}function i(e){var t=document.createElement("style");return t.type="text/css",a(e,t),t}function s(e){var t=document.createElement("link");return t.rel="stylesheet",a(e,t),t}function l(e,t){var r,n,o;if(t.singleton){var a=y++;r=b||(b=i(t)),n=f.bind(null,r,a,!1),o=f.bind(null,r,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=s(t),n=p.bind(null,r),o=function(){u(r),r.href&&URL.revokeObjectURL(r.href)}):(r=i(t),n=d.bind(null,r),o=function(){u(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}function f(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var a=document.createTextNode(o),u=e.childNodes;u[t]&&e.removeChild(u[t]),u.length?e.insertBefore(a,u[t]):e.appendChild(a)}}function d(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function p(e,t){var r=t.css,n=t.sourceMap;n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([r],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(o),a&&URL.revokeObjectURL(a)}var c={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),b=null,y=0,_=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=o(e);return n(r,t),function(e){for(var a=[],u=0;u<r.length;u++){var i=r[u],s=c[i.id];s.refs--,a.push(s)}if(e){var l=o(e);n(l,t)}for(var u=0;u<a.length;u++){var s=a[u];if(0===s.refs){for(var f=0;f<s.parts.length;f++)s.parts[f]();delete c[s.id]}}}};var x=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()}]); | ||
module.exports=function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(3)},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(4),o=n(a),i=r(5),u=n(i),s=r(6),l=n(s),f=r(7),p=n(f),d=r(8),c=n(d),h=r(9),v=n(h),m=r(10),b=n(m),_=r(11),x=n(_),y=r(12),g=n(y),E={values:["default","primary","important","added","removed"],defaultValue:"default"},L={values:["default","dark"],defaultValue:"default"},H=function(e){function t(){return(0,l.default)(this,t),(0,c.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,p.default)(t,[{key:"componentWillUpdate",value:function(e){var t=this.props,r=t.onValueUpdated,n=t.value,a=e.value;r&&a!==n&&r({oldValue:n,newValue:a})}},{key:"displayValue",value:function(){var e=this.props,t=e.value,r=e.max;return t<0?0:r>0&&t>r?r+"+":t===1/0?"∞":t}},{key:"validAppearance",value:function(){var e=this.props.appearance,t=E.values,r=E.defaultValue;return t.indexOf(e)!==-1?e:r}},{key:"render",value:function(){return x.default.createElement("span",{className:g.default.root},x.default.createElement("span",{className:(0,b.default)([g.default.value,g.default[this.validAppearance()]],(0,o.default)({},g.default.isDarkTheme,"dark"===this.props.theme))},this.displayValue().toString()))}}]),t}(_.PureComponent);H.propTypes={value:_.PropTypes.number,max:_.PropTypes.number,appearance:_.PropTypes.oneOf(E.values),onValueUpdated:_.PropTypes.func,theme:_.PropTypes.oneOf(L.values)},H.defaultProps={value:0,max:99,appearance:E.defaultValue,theme:L.defaultValue},t.default=H},function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t){e.exports=require("babel-runtime/core-js/object/get-prototype-of")},function(e,t){e.exports=require("babel-runtime/helpers/classCallCheck")},function(e,t){e.exports=require("babel-runtime/helpers/createClass")},function(e,t){e.exports=require("babel-runtime/helpers/possibleConstructorReturn")},function(e,t){e.exports=require("babel-runtime/helpers/inherits")},function(e,t){e.exports=require("classnames")},function(e,t){e.exports=require("react")},function(e,t,r){var n=r(13);"string"==typeof n&&(n=[[e.id,n,""]]),r(15)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(14)(),t.push([e.id,"._2tOWNlSL7CpZsP4OKd2qqN{display:inline-block}._1P09jTN-QI_N_tBicjLWKk{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}._10PO3wnE_wEx8I_bRo-X1R{background:#ebecf0;color:#42526e}._79R5SQ1HLI85EiW5tCe-H{background:#0052cc;color:#fff}._3xXqFwz4j1Q7JaYDx_qffL{background:#ff5630;color:#fff}._2dBIN8dJsnbdQKmbxHPEEv{background:#e3fcef;color:#064}._2gWJBoEZOa5hSfi9MMuVEk{background:#ffebe6;color:#bf2600}._2dBIN8dJsnbdQKmbxHPEEv._3i7pHHfSKcPHNU0YsL7IQZ,._2gWJBoEZOa5hSfi9MMuVEk._3i7pHHfSKcPHNU0YsL7IQZ,._3xXqFwz4j1Q7JaYDx_qffL._3i7pHHfSKcPHNU0YsL7IQZ,._10PO3wnE_wEx8I_bRo-X1R._3i7pHHfSKcPHNU0YsL7IQZ,._79R5SQ1HLI85EiW5tCe-H._3i7pHHfSKcPHNU0YsL7IQZ{background:#fff;color:#0049b0}",""]),t.locals={container:"_2tOWNlSL7CpZsP4OKd2qqN",container:"_2tOWNlSL7CpZsP4OKd2qqN",value:"_1P09jTN-QI_N_tBicjLWKk",value:"_1P09jTN-QI_N_tBicjLWKk",default:"_10PO3wnE_wEx8I_bRo-X1R",default:"_10PO3wnE_wEx8I_bRo-X1R",primary:"_79R5SQ1HLI85EiW5tCe-H",primary:"_79R5SQ1HLI85EiW5tCe-H",important:"_3xXqFwz4j1Q7JaYDx_qffL",important:"_3xXqFwz4j1Q7JaYDx_qffL",added:"_2dBIN8dJsnbdQKmbxHPEEv",added:"_2dBIN8dJsnbdQKmbxHPEEv",removed:"_2gWJBoEZOa5hSfi9MMuVEk",removed:"_2gWJBoEZOa5hSfi9MMuVEk",isDarkTheme:"_3i7pHHfSKcPHNU0YsL7IQZ",isDarkTheme:"_3i7pHHfSKcPHNU0YsL7IQZ"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(n[o]=!0)}for(a=0;a<t.length;a++){var i=t[a];"number"==typeof i[0]&&n[i[0]]||(r&&!i[2]?i[2]=r:r&&(i[2]="("+i[2]+") and ("+r+")"),e.push(i))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],a=c[n.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](n.parts[o]);for(;o<n.parts.length;o++)a.parts.push(l(n.parts[o],t))}else{for(var i=[],o=0;o<n.parts.length;o++)i.push(l(n.parts[o],t));c[n.id]={id:n.id,refs:1,parts:i}}}}function a(e){for(var t=[],r={},n=0;n<e.length;n++){var a=e[n],o=a[0],i=a[1],u=a[2],s=a[3],l={css:i,media:u,sourceMap:s};r[o]?r[o].parts.push(l):t.push(r[o]={id:o,parts:[l]})}return t}function o(e,t){var r=m(),n=x[x.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),x.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function i(e){e.parentNode.removeChild(e);var t=x.indexOf(e);t>=0&&x.splice(t,1)}function u(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function s(e){var t=document.createElement("link");return t.rel="stylesheet",o(e,t),t}function l(e,t){var r,n,a;if(t.singleton){var o=_++;r=b||(b=u(t)),n=f.bind(null,r,o,!1),a=f.bind(null,r,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=s(t),n=d.bind(null,r),a=function(){i(r),r.href&&URL.revokeObjectURL(r.href)}):(r=u(t),n=p.bind(null,r),a=function(){i(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}function f(e,t,r,n){var a=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function d(e,t){var r=t.css,n=t.sourceMap;n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var a=new Blob([r],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(a),o&&URL.revokeObjectURL(o)}var c={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},v=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=h(function(){return document.head||document.getElementsByTagName("head")[0]}),b=null,_=0,x=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=a(e);return n(r,t),function(e){for(var o=[],i=0;i<r.length;i++){var u=r[i],s=c[u.id];s.refs--,o.push(s)}if(e){var l=a(e);n(l,t)}for(var i=0;i<o.length;i++){var s=o[i];if(0===s.refs){for(var f=0;f<s.parts.length;f++)s.parts[f]();delete c[s.id]}}}};var y=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()}]); |
@@ -190,21 +190,21 @@ !function(root, factory) { | ||
// module | ||
exports.push([ module.id, ".EzUhIDZDYmzn9GtLhVq9f{display:inline-block}._2_XsoX-l3Z0FwfeNrmlmX{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}._3wof23PwscvsetcfR0UBdd{background:#ebecf0;color:#42526e}.wIEtMSx1Om_yYwM5VUdZ1{background:#0052cc;color:#fff}._2Jr06uHS_hDQiqLOeoQDgt{background:#ff5630;color:#fff}._2zV7PVTJBo7JKyFuVQd4sH{background:#e3fcef;color:#064}._2VxnVAPoEKQaBIIiAJxmHb{background:#ffebe6;color:#bf2600}._2Jr06uHS_hDQiqLOeoQDgt._39q1GHRQK_TGS8flP3Cfau,._2VxnVAPoEKQaBIIiAJxmHb._39q1GHRQK_TGS8flP3Cfau,._2zV7PVTJBo7JKyFuVQd4sH._39q1GHRQK_TGS8flP3Cfau,._3wof23PwscvsetcfR0UBdd._39q1GHRQK_TGS8flP3Cfau,.wIEtMSx1Om_yYwM5VUdZ1._39q1GHRQK_TGS8flP3Cfau{background:#fff;color:#0049b0}", "" ]), | ||
exports.push([ module.id, "._2tOWNlSL7CpZsP4OKd2qqN{display:inline-block}._1P09jTN-QI_N_tBicjLWKk{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}._10PO3wnE_wEx8I_bRo-X1R{background:#ebecf0;color:#42526e}._79R5SQ1HLI85EiW5tCe-H{background:#0052cc;color:#fff}._3xXqFwz4j1Q7JaYDx_qffL{background:#ff5630;color:#fff}._2dBIN8dJsnbdQKmbxHPEEv{background:#e3fcef;color:#064}._2gWJBoEZOa5hSfi9MMuVEk{background:#ffebe6;color:#bf2600}._2dBIN8dJsnbdQKmbxHPEEv._3i7pHHfSKcPHNU0YsL7IQZ,._2gWJBoEZOa5hSfi9MMuVEk._3i7pHHfSKcPHNU0YsL7IQZ,._3xXqFwz4j1Q7JaYDx_qffL._3i7pHHfSKcPHNU0YsL7IQZ,._10PO3wnE_wEx8I_bRo-X1R._3i7pHHfSKcPHNU0YsL7IQZ,._79R5SQ1HLI85EiW5tCe-H._3i7pHHfSKcPHNU0YsL7IQZ{background:#fff;color:#0049b0}", "" ]), | ||
// exports | ||
exports.locals = { | ||
container: "EzUhIDZDYmzn9GtLhVq9f", | ||
container: "EzUhIDZDYmzn9GtLhVq9f", | ||
value: "_2_XsoX-l3Z0FwfeNrmlmX", | ||
value: "_2_XsoX-l3Z0FwfeNrmlmX", | ||
default: "_3wof23PwscvsetcfR0UBdd", | ||
default: "_3wof23PwscvsetcfR0UBdd", | ||
primary: "wIEtMSx1Om_yYwM5VUdZ1", | ||
primary: "wIEtMSx1Om_yYwM5VUdZ1", | ||
important: "_2Jr06uHS_hDQiqLOeoQDgt", | ||
important: "_2Jr06uHS_hDQiqLOeoQDgt", | ||
added: "_2zV7PVTJBo7JKyFuVQd4sH", | ||
added: "_2zV7PVTJBo7JKyFuVQd4sH", | ||
removed: "_2VxnVAPoEKQaBIIiAJxmHb", | ||
removed: "_2VxnVAPoEKQaBIIiAJxmHb", | ||
isDarkTheme: "_39q1GHRQK_TGS8flP3Cfau", | ||
isDarkTheme: "_39q1GHRQK_TGS8flP3Cfau" | ||
container: "_2tOWNlSL7CpZsP4OKd2qqN", | ||
container: "_2tOWNlSL7CpZsP4OKd2qqN", | ||
value: "_1P09jTN-QI_N_tBicjLWKk", | ||
value: "_1P09jTN-QI_N_tBicjLWKk", | ||
default: "_10PO3wnE_wEx8I_bRo-X1R", | ||
default: "_10PO3wnE_wEx8I_bRo-X1R", | ||
primary: "_79R5SQ1HLI85EiW5tCe-H", | ||
primary: "_79R5SQ1HLI85EiW5tCe-H", | ||
important: "_3xXqFwz4j1Q7JaYDx_qffL", | ||
important: "_3xXqFwz4j1Q7JaYDx_qffL", | ||
added: "_2dBIN8dJsnbdQKmbxHPEEv", | ||
added: "_2dBIN8dJsnbdQKmbxHPEEv", | ||
removed: "_2gWJBoEZOa5hSfi9MMuVEk", | ||
removed: "_2gWJBoEZOa5hSfi9MMuVEk", | ||
isDarkTheme: "_3i7pHHfSKcPHNU0YsL7IQZ", | ||
isDarkTheme: "_3i7pHHfSKcPHNU0YsL7IQZ" | ||
}; | ||
@@ -211,0 +211,0 @@ }, /* 14 */ |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/helpers/defineProperty"),require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("classnames"),require("react")):"function"==typeof define&&define.amd?define(["babel-runtime/helpers/defineProperty","babel-runtime/core-js/object/get-prototype-of","babel-runtime/helpers/classCallCheck","babel-runtime/helpers/createClass","babel-runtime/helpers/possibleConstructorReturn","babel-runtime/helpers/inherits","classnames","react"],t):"object"==typeof exports?exports["@atlaskit/badge"]=t(require("babel-runtime/helpers/defineProperty"),require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("classnames"),require("react")):e["@atlaskit/badge"]=t(e["babel-runtime/helpers/defineProperty"],e["babel-runtime/core-js/object/get-prototype-of"],e["babel-runtime/helpers/classCallCheck"],e["babel-runtime/helpers/createClass"],e["babel-runtime/helpers/possibleConstructorReturn"],e["babel-runtime/helpers/inherits"],e.classnames,e.react)}(this,function(e,t,r,n,a,o,i,s){return function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(3)},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(4),o=n(a),i=r(5),s=n(i),u=r(6),l=n(u),f=r(7),p=n(f),c=r(8),d=n(c),h=r(9),m=n(h),b=r(10),v=n(b),y=r(11),_=n(y),x=r(12),g=n(x),V={values:["default","primary","important","added","removed"],defaultValue:"default"},C={values:["default","dark"],defaultValue:"default"},P=function(e){function t(){return(0,l.default)(this,t),(0,d.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,p.default)(t,[{key:"componentWillUpdate",value:function(e){var t=this.props,r=t.onValueUpdated,n=t.value,a=e.value;r&&a!==n&&r({oldValue:n,newValue:a})}},{key:"displayValue",value:function(){var e=this.props,t=e.value,r=e.max;return t<0?0:r>0&&t>r?r+"+":t===1/0?"∞":t}},{key:"validAppearance",value:function(){var e=this.props.appearance,t=V.values,r=V.defaultValue;return t.indexOf(e)!==-1?e:r}},{key:"render",value:function(){return _.default.createElement("span",{className:g.default.root},_.default.createElement("span",{className:(0,v.default)([g.default.value,g.default[this.validAppearance()]],(0,o.default)({},g.default.isDarkTheme,"dark"===this.props.theme))},this.displayValue().toString()))}}]),t}(y.PureComponent);P.propTypes={value:y.PropTypes.number,max:y.PropTypes.number,appearance:y.PropTypes.oneOf(V.values),onValueUpdated:y.PropTypes.func,theme:y.PropTypes.oneOf(C.values)},P.defaultProps={value:0,max:99,appearance:V.defaultValue,theme:C.defaultValue},t.default=P},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=a},function(e,t){e.exports=o},function(e,t){e.exports=i},function(e,t){e.exports=s},function(e,t,r){var n=r(13);"string"==typeof n&&(n=[[e.id,n,""]]),r(15)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(14)(),t.push([e.id,".EzUhIDZDYmzn9GtLhVq9f{display:inline-block}._2_XsoX-l3Z0FwfeNrmlmX{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}._3wof23PwscvsetcfR0UBdd{background:#ebecf0;color:#42526e}.wIEtMSx1Om_yYwM5VUdZ1{background:#0052cc;color:#fff}._2Jr06uHS_hDQiqLOeoQDgt{background:#ff5630;color:#fff}._2zV7PVTJBo7JKyFuVQd4sH{background:#e3fcef;color:#064}._2VxnVAPoEKQaBIIiAJxmHb{background:#ffebe6;color:#bf2600}._2Jr06uHS_hDQiqLOeoQDgt._39q1GHRQK_TGS8flP3Cfau,._2VxnVAPoEKQaBIIiAJxmHb._39q1GHRQK_TGS8flP3Cfau,._2zV7PVTJBo7JKyFuVQd4sH._39q1GHRQK_TGS8flP3Cfau,._3wof23PwscvsetcfR0UBdd._39q1GHRQK_TGS8flP3Cfau,.wIEtMSx1Om_yYwM5VUdZ1._39q1GHRQK_TGS8flP3Cfau{background:#fff;color:#0049b0}",""]),t.locals={container:"EzUhIDZDYmzn9GtLhVq9f",container:"EzUhIDZDYmzn9GtLhVq9f",value:"_2_XsoX-l3Z0FwfeNrmlmX",value:"_2_XsoX-l3Z0FwfeNrmlmX",default:"_3wof23PwscvsetcfR0UBdd",default:"_3wof23PwscvsetcfR0UBdd",primary:"wIEtMSx1Om_yYwM5VUdZ1",primary:"wIEtMSx1Om_yYwM5VUdZ1",important:"_2Jr06uHS_hDQiqLOeoQDgt",important:"_2Jr06uHS_hDQiqLOeoQDgt",added:"_2zV7PVTJBo7JKyFuVQd4sH",added:"_2zV7PVTJBo7JKyFuVQd4sH",removed:"_2VxnVAPoEKQaBIIiAJxmHb",removed:"_2VxnVAPoEKQaBIIiAJxmHb",isDarkTheme:"_39q1GHRQK_TGS8flP3Cfau",isDarkTheme:"_39q1GHRQK_TGS8flP3Cfau"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(n[o]=!0)}for(a=0;a<t.length;a++){var i=t[a];"number"==typeof i[0]&&n[i[0]]||(r&&!i[2]?i[2]=r:r&&(i[2]="("+i[2]+") and ("+r+")"),e.push(i))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],a=d[n.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](n.parts[o]);for(;o<n.parts.length;o++)a.parts.push(l(n.parts[o],t))}else{for(var i=[],o=0;o<n.parts.length;o++)i.push(l(n.parts[o],t));d[n.id]={id:n.id,refs:1,parts:i}}}}function a(e){for(var t=[],r={},n=0;n<e.length;n++){var a=e[n],o=a[0],i=a[1],s=a[2],u=a[3],l={css:i,media:s,sourceMap:u};r[o]?r[o].parts.push(l):t.push(r[o]={id:o,parts:[l]})}return t}function o(e,t){var r=b(),n=_[_.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),_.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function i(e){e.parentNode.removeChild(e);var t=_.indexOf(e);t>=0&&_.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function u(e){var t=document.createElement("link");return t.rel="stylesheet",o(e,t),t}function l(e,t){var r,n,a;if(t.singleton){var o=y++;r=v||(v=s(t)),n=f.bind(null,r,o,!1),a=f.bind(null,r,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=u(t),n=c.bind(null,r),a=function(){i(r),r.href&&URL.revokeObjectURL(r.href)}):(r=s(t),n=p.bind(null,r),a=function(){i(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}function f(e,t,r,n){var a=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=x(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function c(e,t){var r=t.css,n=t.sourceMap;n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var a=new Blob([r],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(a),o&&URL.revokeObjectURL(o)}var d={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),b=h(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,y=0,_=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=a(e);return n(r,t),function(e){for(var o=[],i=0;i<r.length;i++){var s=r[i],u=d[s.id];u.refs--,o.push(u)}if(e){var l=a(e);n(l,t)}for(var i=0;i<o.length;i++){var u=o[i];if(0===u.refs){for(var f=0;f<u.parts.length;f++)u.parts[f]();delete d[u.id]}}}};var x=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/helpers/defineProperty"),require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("classnames"),require("react")):"function"==typeof define&&define.amd?define(["babel-runtime/helpers/defineProperty","babel-runtime/core-js/object/get-prototype-of","babel-runtime/helpers/classCallCheck","babel-runtime/helpers/createClass","babel-runtime/helpers/possibleConstructorReturn","babel-runtime/helpers/inherits","classnames","react"],t):"object"==typeof exports?exports["@atlaskit/badge"]=t(require("babel-runtime/helpers/defineProperty"),require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("classnames"),require("react")):e["@atlaskit/badge"]=t(e["babel-runtime/helpers/defineProperty"],e["babel-runtime/core-js/object/get-prototype-of"],e["babel-runtime/helpers/classCallCheck"],e["babel-runtime/helpers/createClass"],e["babel-runtime/helpers/possibleConstructorReturn"],e["babel-runtime/helpers/inherits"],e.classnames,e.react)}(this,function(e,t,r,n,a,o,i,s){return function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(3)},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(4),o=n(a),i=r(5),s=n(i),u=r(6),l=n(u),f=r(7),p=n(f),c=r(8),d=n(c),b=r(9),h=n(b),m=r(10),v=n(m),_=r(11),x=n(_),y=r(12),g=n(y),C={values:["default","primary","important","added","removed"],defaultValue:"default"},k={values:["default","dark"],defaultValue:"default"},E=function(e){function t(){return(0,l.default)(this,t),(0,d.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,p.default)(t,[{key:"componentWillUpdate",value:function(e){var t=this.props,r=t.onValueUpdated,n=t.value,a=e.value;r&&a!==n&&r({oldValue:n,newValue:a})}},{key:"displayValue",value:function(){var e=this.props,t=e.value,r=e.max;return t<0?0:r>0&&t>r?r+"+":t===1/0?"∞":t}},{key:"validAppearance",value:function(){var e=this.props.appearance,t=C.values,r=C.defaultValue;return t.indexOf(e)!==-1?e:r}},{key:"render",value:function(){return x.default.createElement("span",{className:g.default.root},x.default.createElement("span",{className:(0,v.default)([g.default.value,g.default[this.validAppearance()]],(0,o.default)({},g.default.isDarkTheme,"dark"===this.props.theme))},this.displayValue().toString()))}}]),t}(_.PureComponent);E.propTypes={value:_.PropTypes.number,max:_.PropTypes.number,appearance:_.PropTypes.oneOf(C.values),onValueUpdated:_.PropTypes.func,theme:_.PropTypes.oneOf(k.values)},E.defaultProps={value:0,max:99,appearance:C.defaultValue,theme:k.defaultValue},t.default=E},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=a},function(e,t){e.exports=o},function(e,t){e.exports=i},function(e,t){e.exports=s},function(e,t,r){var n=r(13);"string"==typeof n&&(n=[[e.id,n,""]]),r(15)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(14)(),t.push([e.id,"._2tOWNlSL7CpZsP4OKd2qqN{display:inline-block}._1P09jTN-QI_N_tBicjLWKk{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}._10PO3wnE_wEx8I_bRo-X1R{background:#ebecf0;color:#42526e}._79R5SQ1HLI85EiW5tCe-H{background:#0052cc;color:#fff}._3xXqFwz4j1Q7JaYDx_qffL{background:#ff5630;color:#fff}._2dBIN8dJsnbdQKmbxHPEEv{background:#e3fcef;color:#064}._2gWJBoEZOa5hSfi9MMuVEk{background:#ffebe6;color:#bf2600}._2dBIN8dJsnbdQKmbxHPEEv._3i7pHHfSKcPHNU0YsL7IQZ,._2gWJBoEZOa5hSfi9MMuVEk._3i7pHHfSKcPHNU0YsL7IQZ,._3xXqFwz4j1Q7JaYDx_qffL._3i7pHHfSKcPHNU0YsL7IQZ,._10PO3wnE_wEx8I_bRo-X1R._3i7pHHfSKcPHNU0YsL7IQZ,._79R5SQ1HLI85EiW5tCe-H._3i7pHHfSKcPHNU0YsL7IQZ{background:#fff;color:#0049b0}",""]),t.locals={container:"_2tOWNlSL7CpZsP4OKd2qqN",container:"_2tOWNlSL7CpZsP4OKd2qqN",value:"_1P09jTN-QI_N_tBicjLWKk",value:"_1P09jTN-QI_N_tBicjLWKk",default:"_10PO3wnE_wEx8I_bRo-X1R",default:"_10PO3wnE_wEx8I_bRo-X1R",primary:"_79R5SQ1HLI85EiW5tCe-H",primary:"_79R5SQ1HLI85EiW5tCe-H",important:"_3xXqFwz4j1Q7JaYDx_qffL",important:"_3xXqFwz4j1Q7JaYDx_qffL",added:"_2dBIN8dJsnbdQKmbxHPEEv",added:"_2dBIN8dJsnbdQKmbxHPEEv",removed:"_2gWJBoEZOa5hSfi9MMuVEk",removed:"_2gWJBoEZOa5hSfi9MMuVEk",isDarkTheme:"_3i7pHHfSKcPHNU0YsL7IQZ",isDarkTheme:"_3i7pHHfSKcPHNU0YsL7IQZ"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(n[o]=!0)}for(a=0;a<t.length;a++){var i=t[a];"number"==typeof i[0]&&n[i[0]]||(r&&!i[2]?i[2]=r:r&&(i[2]="("+i[2]+") and ("+r+")"),e.push(i))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],a=d[n.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](n.parts[o]);for(;o<n.parts.length;o++)a.parts.push(l(n.parts[o],t))}else{for(var i=[],o=0;o<n.parts.length;o++)i.push(l(n.parts[o],t));d[n.id]={id:n.id,refs:1,parts:i}}}}function a(e){for(var t=[],r={},n=0;n<e.length;n++){var a=e[n],o=a[0],i=a[1],s=a[2],u=a[3],l={css:i,media:s,sourceMap:u};r[o]?r[o].parts.push(l):t.push(r[o]={id:o,parts:[l]})}return t}function o(e,t){var r=m(),n=x[x.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),x.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function i(e){e.parentNode.removeChild(e);var t=x.indexOf(e);t>=0&&x.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function u(e){var t=document.createElement("link");return t.rel="stylesheet",o(e,t),t}function l(e,t){var r,n,a;if(t.singleton){var o=_++;r=v||(v=s(t)),n=f.bind(null,r,o,!1),a=f.bind(null,r,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=u(t),n=c.bind(null,r),a=function(){i(r),r.href&&URL.revokeObjectURL(r.href)}):(r=s(t),n=p.bind(null,r),a=function(){i(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}function f(e,t,r,n){var a=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function c(e,t){var r=t.css,n=t.sourceMap;n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var a=new Blob([r],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(a),o&&URL.revokeObjectURL(o)}var d={},b=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=b(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=b(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,_=0,x=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=a(e);return n(r,t),function(e){for(var o=[],i=0;i<r.length;i++){var s=r[i],u=d[s.id];u.refs--,o.push(u)}if(e){var l=a(e);n(l,t)}for(var i=0;i<o.length;i++){var u=o[i];if(0===u.refs){for(var f=0;f<u.parts.length;f++)u.parts[f]();delete d[u.id]}}}};var y=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()}])}); |
{ | ||
"name": "@atlaskit/badge", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"config": { | ||
"access": "public" | ||
"access": "public" | ||
}, | ||
@@ -18,3 +18,3 @@ "description": "A React component that indicates values", | ||
"dependencies": { | ||
"akutil-shared-styles": "^37.0.0", | ||
"@atlaskit/util-shared-styles": "^1.0.0", | ||
"babel-runtime": "^6.11.6", | ||
@@ -24,4 +24,4 @@ "classnames": "^2.2.5" | ||
"devDependencies": { | ||
"ak-badge": "*", | ||
"akutil-readme": "^1.1.0" | ||
"@atlaskit/badge": "*", | ||
"@atlaskit/util-readme": "^1.0.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "author": "Atlassian Pty Ltd", |
@@ -5,3 +5,3 @@ [![AtlasKit component registry](https://img.shields.io/badge/AtlasKit-components-FF5230.svg)](http://aui-cdn.atlassian.com/atlaskit/registry/) | ||
[![Report an issue](https://img.shields.io/badge/Report-an_issue-6554C0.svg)](https://ecosystem.atlassian.net/browse/AK) | ||
[![Ask in our forum](https://img.shields.io/badge/Ask-in_our_forum-6554C0.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/badge,@atlaskit/badge@1.0.0) | ||
[![Ask in our forum](https://img.shields.io/badge/Ask-in_our_forum-6554C0.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/badge,@atlaskit/badge@1.0.1) | ||
@@ -21,3 +21,3 @@ # Badge | ||
Interact with a [live demo of the @atlaskit/badge component with code examples](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/badge/1.0.0/). | ||
Interact with a [live demo of the @atlaskit/badge component with code examples](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/badge/1.0.1/). | ||
@@ -34,3 +34,3 @@ | ||
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/badge,@atlaskit/badge@1.0.0). | ||
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/badge,@atlaskit/badge@1.0.1). | ||
@@ -37,0 +37,0 @@ Check [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit). |
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
58412
7
+ Added@atlaskit/util-shared-styles@1.7.1(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbowser@1.9.4(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcss-color-list@0.0.1(transitive)
+ Addedcss-color-names@0.0.1(transitive)
+ Addedcss-to-react-native@1.0.6(transitive)
+ Addeddiscontinuous-range@1.0.0(transitive)
+ Addedhas-flag@1.0.0(transitive)
+ Addedhyphenate-style-name@1.1.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)
+ Addedisobject@3.0.1(transitive)
+ Addedmoo@0.5.2(transitive)
+ Addednearley@2.20.1(transitive)
+ Addedrailroad-diagrams@1.0.0(transitive)
+ Addedrandexp@0.4.6(transitive)
+ Addedret@0.1.15(transitive)
+ Addedstyled-components@1.4.6(transitive)
+ Addedsupports-color@3.2.3(transitive)
- Removedakutil-shared-styles@^37.0.0
- Removedakutil-shared-styles@37.3.3(transitive)