@atlaskit/blanket
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -1,6 +0,16 @@ | ||
<a name="1.2.1"></a> | ||
## 1.2.1 (2017-03-14) | ||
<a name="1.2.2"></a> | ||
## 1.2.2 (2017-03-21) | ||
<a name="1.2.2"></a> | ||
## 1.2.2 (2017-03-21) | ||
### Bug Fixes | ||
* **package:** maintainers for all the packages were added ([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a)) | ||
<a name="1.2.1"></a> | ||
@@ -7,0 +17,0 @@ ## 1.2.1 (2017-03-14) |
@@ -160,11 +160,11 @@ module.exports = /******/ | ||
// module | ||
exports.push([ module.id, "._15bJn8hr7VZuGAzgKmRC9O{background:#091e42;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;-webkit-transition:opacity .22s;transition:opacity .22s;z-index:500}._3lnxwGOwwGNyHL8k1Aomqf{opacity:.5}._1i8jfoi0xxdCBsPHXBvY7l{pointer-events:none}", "" ]), | ||
exports.push([ module.id, "._2wiXo6qS7nwWECvVerLYZ4{background:#091e42;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;-webkit-transition:opacity .22s;transition:opacity .22s;z-index:500}._1cwVNGlMAV58xLRiDbQtZa{opacity:.5}._2SZjMNLJfS9XqF3kas0fHo{pointer-events:none}", "" ]), | ||
// exports | ||
exports.locals = { | ||
blanket: "_15bJn8hr7VZuGAzgKmRC9O", | ||
blanket: "_15bJn8hr7VZuGAzgKmRC9O", | ||
tinted: "_3lnxwGOwwGNyHL8k1Aomqf", | ||
tinted: "_3lnxwGOwwGNyHL8k1Aomqf", | ||
canClickThrough: "_1i8jfoi0xxdCBsPHXBvY7l", | ||
canClickThrough: "_1i8jfoi0xxdCBsPHXBvY7l" | ||
blanket: "_2wiXo6qS7nwWECvVerLYZ4", | ||
blanket: "_2wiXo6qS7nwWECvVerLYZ4", | ||
tinted: "_1cwVNGlMAV58xLRiDbQtZa", | ||
tinted: "_1cwVNGlMAV58xLRiDbQtZa", | ||
canClickThrough: "_2SZjMNLJfS9XqF3kas0fHo", | ||
canClickThrough: "_2SZjMNLJfS9XqF3kas0fHo" | ||
}; | ||
@@ -171,0 +171,0 @@ }, /* 14 */ |
@@ -1,1 +0,1 @@ | ||
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(3)},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),i=r(o),s=n(5),u=r(s),a=n(6),l=r(a),f=n(7),c=r(f),p=n(8),d=r(p),h=n(9),v=r(h),b=n(10),m=r(b),g=n(11),x=r(g),y=n(12),C=r(y),k=function(e){function t(){return(0,l.default)(this,t),(0,d.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e,t=this.props,n=t.canClickThrough,r=t.isTinted,o=t.onBlanketClicked;return m.default.createElement("div",{className:(0,x.default)(C.default.blanket,(e={},(0,i.default)(e,C.default.tinted,r),(0,i.default)(e,C.default.canClickThrough,n),e)),onClick:n?null:o})}}]),t}(b.PureComponent);k.propTypes={canClickThrough:b.PropTypes.bool,isTinted:b.PropTypes.bool,onBlanketClicked:b.PropTypes.func},k.defaultProps={isTinted:!1,canClickThrough:!1,onBlanketClicked:function(){}},t.default=k},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("react")},function(e,t){e.exports=require("classnames")},function(e,t,n){var r=n(13);"string"==typeof r&&(r=[[e.id,r,""]]),n(15)(r,{}),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(14)(),t.push([e.id,"._15bJn8hr7VZuGAzgKmRC9O{background:#091e42;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;-webkit-transition:opacity .22s;transition:opacity .22s;z-index:500}._3lnxwGOwwGNyHL8k1Aomqf{opacity:.5}._1i8jfoi0xxdCBsPHXBvY7l{pointer-events:none}",""]),t.locals={blanket:"_15bJn8hr7VZuGAzgKmRC9O",blanket:"_15bJn8hr7VZuGAzgKmRC9O",tinted:"_3lnxwGOwwGNyHL8k1Aomqf",tinted:"_3lnxwGOwwGNyHL8k1Aomqf",canClickThrough:"_1i8jfoi0xxdCBsPHXBvY7l",canClickThrough:"_1i8jfoi0xxdCBsPHXBvY7l"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var s=t[o];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=d[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(l(r.parts[i],t))}else{for(var s=[],i=0;i<r.parts.length;i++)s.push(l(r.parts[i],t));d[r.id]={id:r.id,refs:1,parts:s}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],s=o[1],u=o[2],a=o[3],l={css:s,media:u,sourceMap:a};n[i]?n[i].parts.push(l):t.push(n[i]={id:i,parts:[l]})}return t}function i(e,t){var n=b(),r=x[x.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),x.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function s(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",i(e,t),t}function a(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function l(e,t){var n,r,o;if(t.singleton){var i=g++;n=m||(m=u(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=a(t),r=p.bind(null,n),o=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=u(t),r=c.bind(null,n),o=function(){s(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function f(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function c(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function p(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var d={},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())}),b=h(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,g=0,x=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],s=0;s<n.length;s++){var u=n[s],a=d[u.id];a.refs--,i.push(a)}if(e){var l=o(e);r(l,t)}for(var s=0;s<i.length;s++){var a=i[s];if(0===a.refs){for(var f=0;f<a.parts.length;f++)a.parts[f]();delete d[a.id]}}}};var y=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()}]); | ||
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(3)},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),i=r(o),s=n(5),a=r(s),u=n(6),l=r(u),f=n(7),c=r(f),p=n(8),d=r(p),h=n(9),v=r(h),b=n(10),m=r(b),g=n(11),y=r(g),x=n(12),C=r(x),k=function(e){function t(){return(0,l.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e,t=this.props,n=t.canClickThrough,r=t.isTinted,o=t.onBlanketClicked;return m.default.createElement("div",{className:(0,y.default)(C.default.blanket,(e={},(0,i.default)(e,C.default.tinted,r),(0,i.default)(e,C.default.canClickThrough,n),e)),onClick:n?null:o})}}]),t}(b.PureComponent);k.propTypes={canClickThrough:b.PropTypes.bool,isTinted:b.PropTypes.bool,onBlanketClicked:b.PropTypes.func},k.defaultProps={isTinted:!1,canClickThrough:!1,onBlanketClicked:function(){}},t.default=k},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("react")},function(e,t){e.exports=require("classnames")},function(e,t,n){var r=n(13);"string"==typeof r&&(r=[[e.id,r,""]]),n(15)(r,{}),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(14)(),t.push([e.id,"._2wiXo6qS7nwWECvVerLYZ4{background:#091e42;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;-webkit-transition:opacity .22s;transition:opacity .22s;z-index:500}._1cwVNGlMAV58xLRiDbQtZa{opacity:.5}._2SZjMNLJfS9XqF3kas0fHo{pointer-events:none}",""]),t.locals={blanket:"_2wiXo6qS7nwWECvVerLYZ4",blanket:"_2wiXo6qS7nwWECvVerLYZ4",tinted:"_1cwVNGlMAV58xLRiDbQtZa",tinted:"_1cwVNGlMAV58xLRiDbQtZa",canClickThrough:"_2SZjMNLJfS9XqF3kas0fHo",canClickThrough:"_2SZjMNLJfS9XqF3kas0fHo"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var s=t[o];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=d[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(l(r.parts[i],t))}else{for(var s=[],i=0;i<r.parts.length;i++)s.push(l(r.parts[i],t));d[r.id]={id:r.id,refs:1,parts:s}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],s=o[1],a=o[2],u=o[3],l={css:s,media:a,sourceMap:u};n[i]?n[i].parts.push(l):t.push(n[i]={id:i,parts:[l]})}return t}function i(e,t){var n=b(),r=y[y.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),y.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function s(e){e.parentNode.removeChild(e);var t=y.indexOf(e);t>=0&&y.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function u(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function l(e,t){var n,r,o;if(t.singleton){var i=g++;n=m||(m=a(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(t),r=p.bind(null,n),o=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),r=c.bind(null,n),o=function(){s(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function f(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function c(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function p(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var d={},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())}),b=h(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,g=0,y=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],s=0;s<n.length;s++){var a=n[s],u=d[a.id];u.refs--,i.push(u)}if(e){var l=o(e);r(l,t)}for(var s=0;s<i.length;s++){var u=i[s];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,n){return e[t]=n,e.filter(Boolean).join("\n")}}()}]); |
@@ -163,11 +163,11 @@ !function(root, factory) { | ||
// module | ||
exports.push([ module.id, "._15bJn8hr7VZuGAzgKmRC9O{background:#091e42;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;-webkit-transition:opacity .22s;transition:opacity .22s;z-index:500}._3lnxwGOwwGNyHL8k1Aomqf{opacity:.5}._1i8jfoi0xxdCBsPHXBvY7l{pointer-events:none}", "" ]), | ||
exports.push([ module.id, "._2wiXo6qS7nwWECvVerLYZ4{background:#091e42;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;-webkit-transition:opacity .22s;transition:opacity .22s;z-index:500}._1cwVNGlMAV58xLRiDbQtZa{opacity:.5}._2SZjMNLJfS9XqF3kas0fHo{pointer-events:none}", "" ]), | ||
// exports | ||
exports.locals = { | ||
blanket: "_15bJn8hr7VZuGAzgKmRC9O", | ||
blanket: "_15bJn8hr7VZuGAzgKmRC9O", | ||
tinted: "_3lnxwGOwwGNyHL8k1Aomqf", | ||
tinted: "_3lnxwGOwwGNyHL8k1Aomqf", | ||
canClickThrough: "_1i8jfoi0xxdCBsPHXBvY7l", | ||
canClickThrough: "_1i8jfoi0xxdCBsPHXBvY7l" | ||
blanket: "_2wiXo6qS7nwWECvVerLYZ4", | ||
blanket: "_2wiXo6qS7nwWECvVerLYZ4", | ||
tinted: "_1cwVNGlMAV58xLRiDbQtZa", | ||
tinted: "_1cwVNGlMAV58xLRiDbQtZa", | ||
canClickThrough: "_2SZjMNLJfS9XqF3kas0fHo", | ||
canClickThrough: "_2SZjMNLJfS9XqF3kas0fHo" | ||
}; | ||
@@ -174,0 +174,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("react"),require("classnames")):"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","react","classnames"],t):"object"==typeof exports?exports["@atlaskit/blanket"]=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("react"),require("classnames")):e["@atlaskit/blanket"]=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.react,e.classnames)}(this,function(e,t,r,n,o,i,s,a){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,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),i=n(o),s=r(5),a=n(s),l=r(6),u=n(l),c=r(7),p=n(c),f=r(8),d=n(f),h=r(9),b=n(h),m=r(10),v=n(m),y=r(11),C=n(y),g=r(12),x=n(g),k=function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e,t=this.props,r=t.canClickThrough,n=t.isTinted,o=t.onBlanketClicked;return v.default.createElement("div",{className:(0,C.default)(x.default.blanket,(e={},(0,i.default)(e,x.default.tinted,n),(0,i.default)(e,x.default.canClickThrough,r),e)),onClick:r?null:o})}}]),t}(m.PureComponent);k.propTypes={canClickThrough:m.PropTypes.bool,isTinted:m.PropTypes.bool,onBlanketClicked:m.PropTypes.func},k.defaultProps={isTinted:!1,canClickThrough:!1,onBlanketClicked:function(){}},t.default=k},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=o},function(e,t){e.exports=i},function(e,t){e.exports=s},function(e,t){e.exports=a},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,"._15bJn8hr7VZuGAzgKmRC9O{background:#091e42;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;-webkit-transition:opacity .22s;transition:opacity .22s;z-index:500}._3lnxwGOwwGNyHL8k1Aomqf{opacity:.5}._1i8jfoi0xxdCBsPHXBvY7l{pointer-events:none}",""]),t.locals={blanket:"_15bJn8hr7VZuGAzgKmRC9O",blanket:"_15bJn8hr7VZuGAzgKmRC9O",tinted:"_3lnxwGOwwGNyHL8k1Aomqf",tinted:"_3lnxwGOwwGNyHL8k1Aomqf",canClickThrough:"_1i8jfoi0xxdCBsPHXBvY7l",canClickThrough:"_1i8jfoi0xxdCBsPHXBvY7l"}},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 i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<t.length;o++){var s=t[o];"number"==typeof s[0]&&n[s[0]]||(r&&!s[2]?s[2]=r:r&&(s[2]="("+s[2]+") and ("+r+")"),e.push(s))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=d[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(u(n.parts[i],t))}else{for(var s=[],i=0;i<n.parts.length;i++)s.push(u(n.parts[i],t));d[n.id]={id:n.id,refs:1,parts:s}}}}function o(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n],i=o[0],s=o[1],a=o[2],l=o[3],u={css:s,media:a,sourceMap:l};r[i]?r[i].parts.push(u):t.push(r[i]={id:i,parts:[u]})}return t}function i(e,t){var r=m(),n=C[C.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),C.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function s(e){e.parentNode.removeChild(e);var t=C.indexOf(e);t>=0&&C.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var r,n,o;if(t.singleton){var i=y++;r=v||(v=a(t)),n=c.bind(null,r,i,!1),o=c.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=l(t),n=f.bind(null,r),o=function(){s(r),r.href&&URL.revokeObjectURL(r.href)}):(r=a(t),n=p.bind(null,r),o=function(){s(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 c(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}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 f(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"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var d={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},b=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=h(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,y=0,C=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=b()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=o(e);return n(r,t),function(e){for(var i=[],s=0;s<r.length;s++){var a=r[s],l=d[a.id];l.refs--,i.push(l)}if(e){var u=o(e);n(u,t)}for(var s=0;s<i.length;s++){var l=i[s];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete d[l.id]}}}};var g=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("react"),require("classnames")):"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","react","classnames"],t):"object"==typeof exports?exports["@atlaskit/blanket"]=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("react"),require("classnames")):e["@atlaskit/blanket"]=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.react,e.classnames)}(this,function(e,t,r,n,o,i,s,a){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,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),i=n(o),s=r(5),a=n(s),l=r(6),u=n(l),c=r(7),p=n(c),f=r(8),d=n(f),b=r(9),h=n(b),m=r(10),v=n(m),y=r(11),C=n(y),g=r(12),x=n(g),k=function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e,t=this.props,r=t.canClickThrough,n=t.isTinted,o=t.onBlanketClicked;return v.default.createElement("div",{className:(0,C.default)(x.default.blanket,(e={},(0,i.default)(e,x.default.tinted,n),(0,i.default)(e,x.default.canClickThrough,r),e)),onClick:r?null:o})}}]),t}(m.PureComponent);k.propTypes={canClickThrough:m.PropTypes.bool,isTinted:m.PropTypes.bool,onBlanketClicked:m.PropTypes.func},k.defaultProps={isTinted:!1,canClickThrough:!1,onBlanketClicked:function(){}},t.default=k},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=o},function(e,t){e.exports=i},function(e,t){e.exports=s},function(e,t){e.exports=a},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,"._2wiXo6qS7nwWECvVerLYZ4{background:#091e42;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;-webkit-transition:opacity .22s;transition:opacity .22s;z-index:500}._1cwVNGlMAV58xLRiDbQtZa{opacity:.5}._2SZjMNLJfS9XqF3kas0fHo{pointer-events:none}",""]),t.locals={blanket:"_2wiXo6qS7nwWECvVerLYZ4",blanket:"_2wiXo6qS7nwWECvVerLYZ4",tinted:"_1cwVNGlMAV58xLRiDbQtZa",tinted:"_1cwVNGlMAV58xLRiDbQtZa",canClickThrough:"_2SZjMNLJfS9XqF3kas0fHo",canClickThrough:"_2SZjMNLJfS9XqF3kas0fHo"}},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 i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<t.length;o++){var s=t[o];"number"==typeof s[0]&&n[s[0]]||(r&&!s[2]?s[2]=r:r&&(s[2]="("+s[2]+") and ("+r+")"),e.push(s))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=d[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(u(n.parts[i],t))}else{for(var s=[],i=0;i<n.parts.length;i++)s.push(u(n.parts[i],t));d[n.id]={id:n.id,refs:1,parts:s}}}}function o(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n],i=o[0],s=o[1],a=o[2],l=o[3],u={css:s,media:a,sourceMap:l};r[i]?r[i].parts.push(u):t.push(r[i]={id:i,parts:[u]})}return t}function i(e,t){var r=m(),n=C[C.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),C.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function s(e){e.parentNode.removeChild(e);var t=C.indexOf(e);t>=0&&C.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var r,n,o;if(t.singleton){var i=y++;r=v||(v=a(t)),n=c.bind(null,r,i,!1),o=c.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=l(t),n=f.bind(null,r),o=function(){s(r),r.href&&URL.revokeObjectURL(r.href)}):(r=a(t),n=p.bind(null,r),o=function(){s(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 c(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}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 f(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"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}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,y=0,C=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=o(e);return n(r,t),function(e){for(var i=[],s=0;s<r.length;s++){var a=r[s],l=d[a.id];l.refs--,i.push(l)}if(e){var u=o(e);n(u,t)}for(var s=0;s<i.length;s++){var l=i[s];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete d[l.id]}}}};var g=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()}])}); |
{ | ||
"name": "@atlaskit/blanket", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"config": { | ||
@@ -27,2 +27,10 @@ "access": "public" | ||
"author": "Atlassian Pty Ltd", | ||
"maintainers": [ | ||
{ | ||
"name": "Nadia M" | ||
}, | ||
{ | ||
"name": "Luke B" | ||
} | ||
], | ||
"license": "Apache-2.0", | ||
@@ -29,0 +37,0 @@ "peerDependencies": { |
@@ -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/blanket,@atlaskit/blanket@1.2.1) | ||
[![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/blanket,@atlaskit/blanket@1.2.2) | ||
@@ -16,3 +16,3 @@ # Blanket | ||
Interact with a [live demo of the @atlaskit/blanket component](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/blanket/1.2.1/). | ||
Interact with a [live demo of the @atlaskit/blanket component](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/blanket/1.2.2/). | ||
@@ -33,3 +33,3 @@ ## Installation | ||
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/blanket,@atlaskit/blanket@1.2.1). | ||
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/blanket,@atlaskit/blanket@1.2.2). | ||
@@ -36,0 +36,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
52322