ak-blanket
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -1,6 +0,16 @@ | ||
<a name="1.0.1"></a> | ||
## 1.0.1 (2016-08-25) | ||
<a name="1.0.2"></a> | ||
## 1.0.2 (2016-08-26) | ||
<a name="ak-blanket@1.0.2"></a> | ||
## ak-blanket@1.0.2 (2016-08-25) | ||
### Bug Fixes | ||
* **package:** Publish an extra commonjs-only (no UMD) bundle for webpack consumption. ([bb0a3ce](https://bitbucket.org/atlassian/atlaskit/commits/bb0a3ce)) | ||
<a name="ak-blanket@1.0.1"></a> | ||
@@ -7,0 +17,0 @@ ## ak-blanket@1.0.1 (2016-08-05) |
@@ -74,11 +74,2 @@ module.exports = /******/ | ||
} | ||
function _defineProperty(obj, key, value) { | ||
return key in obj ? Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: !0, | ||
configurable: !0, | ||
writable: !0 | ||
}) : obj[key] = value, obj; | ||
} | ||
/** @jsx vdom */ | ||
function handleBlur(elem) { | ||
@@ -92,3 +83,3 @@ return function() { | ||
}); | ||
var _hasOwn = Object.prototype.hasOwnProperty, _forOwn = function(object, iterator) { | ||
var _defineProperty2 = __webpack_require__(3), _defineProperty3 = _interopRequireDefault(_defineProperty2), _hasOwn = Object.prototype.hasOwnProperty, _forOwn = function(object, iterator) { | ||
for (var prop in object) _hasOwn.call(object, prop) && iterator(object[prop], prop); | ||
@@ -99,4 +90,5 @@ }, _renderArbitrary = function _renderArbitrary(child) { | ||
}; | ||
__webpack_require__(3); | ||
var _skatejs = __webpack_require__(7), _shadow = __webpack_require__(8), _shadow2 = _interopRequireDefault(_shadow), _classnames = __webpack_require__(9), _classnames2 = _interopRequireDefault(_classnames); | ||
/** @jsx vdom */ | ||
__webpack_require__(4); | ||
var _skatejs = __webpack_require__(8), _shadow = __webpack_require__(9), _shadow2 = _interopRequireDefault(_shadow), _classnames = __webpack_require__(10), _classnames2 = _interopRequireDefault(_classnames); | ||
/** | ||
@@ -110,3 +102,4 @@ * @description Create instances of the component programmatically, or using markup. | ||
render: function(elem) { | ||
var classes = (0, _classnames2["default"])([ _shadow2["default"].locals.blanket, _defineProperty({}, "" + _shadow2["default"].locals.tinted, elem.tinted) ]); | ||
var classes = (0, _classnames2["default"])([ _shadow2["default"].locals.blanket, (0, | ||
_defineProperty3["default"])({}, "" + _shadow2["default"].locals.tinted, elem.tinted) ]); | ||
return _skatejs.vdom.elementOpen("div"), _skatejs.vdom.elementOpen("style"), _renderArbitrary(_shadow2["default"].toString()), | ||
@@ -147,14 +140,18 @@ _skatejs.vdom.elementClose("style"), _skatejs.vdom.elementOpen("div", null, null, "onClick", handleBlur(elem), "onTouch", handleBlur(elem), "className", classes), | ||
/***/ | ||
function(module, exports) { | ||
module.exports = require("babel-runtime/helpers/defineProperty"); | ||
}, /* 4 */ | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
// style-loader: Adds some css to the DOM by adding a <style> tag | ||
// load the styles | ||
var content = __webpack_require__(4); | ||
var content = __webpack_require__(5); | ||
"string" == typeof content && (content = [ [ module.id, content, "" ] ]); | ||
// add the styles to the DOM | ||
__webpack_require__(6)(content, {}); | ||
__webpack_require__(7)(content, {}); | ||
content.locals && (module.exports = content.locals); | ||
}, /* 4 */ | ||
}, /* 5 */ | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
exports = module.exports = __webpack_require__(5)(), // imports | ||
exports = module.exports = __webpack_require__(6)(), // imports | ||
// module | ||
@@ -167,3 +164,3 @@ exports.push([ module.id, "._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}", "" ]), | ||
}; | ||
}, /* 5 */ | ||
}, /* 6 */ | ||
/***/ | ||
@@ -203,3 +200,3 @@ function(module, exports) { | ||
}; | ||
}, /* 6 */ | ||
}, /* 7 */ | ||
/***/ | ||
@@ -348,10 +345,10 @@ function(module, exports, __webpack_require__) { | ||
}(); | ||
}, /* 7 */ | ||
}, /* 8 */ | ||
/***/ | ||
function(module, exports) { | ||
module.exports = require("skatejs"); | ||
}, /* 8 */ | ||
}, /* 9 */ | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
exports = module.exports = __webpack_require__(5)(), // imports | ||
exports = module.exports = __webpack_require__(6)(), // imports | ||
// module | ||
@@ -366,3 +363,3 @@ exports.push([ module.id, "._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}", "" ]), | ||
}; | ||
}, /* 9 */ | ||
}, /* 10 */ | ||
/***/ | ||
@@ -369,0 +366,0 @@ function(module, exports) { |
@@ -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){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return function(){e.clickable&&(0,u.emit)(e,"ak-blanket-click")}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.prototype.hasOwnProperty,s=function(e,t){for(var n in e)a.call(e,n)&&t(e[n],n)},l=function v(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?u.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(v):"object"===t&&"[object Object]"===String(e)&&s(e,v)};n(3);var u=n(7),f=n(8),c=r(f),d=n(9),p=r(d);t["default"]=(0,u.define)("ak-blanket",{render:function(e){var t=(0,p["default"])([c["default"].locals.blanket,o({},""+c["default"].locals.tinted,e.tinted)]);return u.vdom.elementOpen("div"),u.vdom.elementOpen("style"),l(c["default"].toString()),u.vdom.elementClose("style"),u.vdom.elementOpen("div",null,null,"onClick",i(e),"onTouch",i(e),"className",t),u.vdom.elementClose("div"),u.vdom.elementClose("div")},props:{tinted:u.prop["boolean"]({attribute:!0}),clickable:u.prop["boolean"]({attribute:!0})}})},,,function(e,t,n){var r=n(4);"string"==typeof r&&(r=[[e.id,r,""]]),n(6)(r,{}),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,"._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}",""]),t.locals={"ak-blanket":"_1xMiJAodBrAKhL8WEHwdrW",akBlanket:"_1xMiJAodBrAKhL8WEHwdrW"}},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 a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=p[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(u(r.parts[i],t))}else{for(var a=[],i=0;i<r.parts.length;i++)a.push(u(r.parts[i],t));p[r.id]={id:r.id,refs:1,parts:a}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],a=o[1],s=o[2],l=o[3],u={css:a,media:s,sourceMap:l};n[i]?n[i].parts.push(u):t.push(n[i]={id:i,parts:[u]})}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 a(e){e.parentNode.removeChild(e);var t=y.indexOf(e);t>=0&&y.splice(t,1)}function s(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 n,r,o;if(t.singleton){var i=g++;n=m||(m=s(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=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=c.bind(null,n),o=function(){a(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=k(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[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 d(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 p={},v=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=v(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),b=v(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=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],l=p[s.id];l.refs--,i.push(l)}if(e){var u=o(e);r(u,t)}for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var f=0;f<l.parts.length;f++)l.parts[f]();delete p[l.id]}}}};var k=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=require("skatejs")},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,"._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}",""]),t.locals={blanket:"_1W1Nqrropv0xHevXc01L9b",blanket:"_1W1Nqrropv0xHevXc01L9b",tinted:"_2jkUido-eka0FjtgtzHfhf",tinted:"_2jkUido-eka0FjtgtzHfhf"}},function(e,t){e.exports=require("classnames")}]); | ||
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){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return function(){e.clickable&&(0,f.emit)(e,"ak-blanket-click")}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),a=r(i),s=Object.prototype.hasOwnProperty,l=function(e,t){for(var n in e)s.call(e,n)&&t(e[n],n)},u=function h(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?f.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(h):"object"===t&&"[object Object]"===String(e)&&l(e,h)};n(4);var f=n(8),c=n(9),d=r(c),p=n(10),v=r(p);t["default"]=(0,f.define)("ak-blanket",{render:function(e){var t=(0,v["default"])([d["default"].locals.blanket,(0,a["default"])({},""+d["default"].locals.tinted,e.tinted)]);return f.vdom.elementOpen("div"),f.vdom.elementOpen("style"),u(d["default"].toString()),f.vdom.elementClose("style"),f.vdom.elementOpen("div",null,null,"onClick",o(e),"onTouch",o(e),"className",t),f.vdom.elementClose("div"),f.vdom.elementClose("div")},props:{tinted:f.prop["boolean"]({attribute:!0}),clickable:f.prop["boolean"]({attribute:!0})}})},,,function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t,n){var r=n(5);"string"==typeof r&&(r=[[e.id,r,""]]),n(7)(r,{}),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,"._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}",""]),t.locals={"ak-blanket":"_1xMiJAodBrAKhL8WEHwdrW",akBlanket:"_1xMiJAodBrAKhL8WEHwdrW"}},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 a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=p[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(u(r.parts[i],t))}else{for(var a=[],i=0;i<r.parts.length;i++)a.push(u(r.parts[i],t));p[r.id]={id:r.id,refs:1,parts:a}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],a=o[1],s=o[2],l=o[3],u={css:a,media:s,sourceMap:l};n[i]?n[i].parts.push(u):t.push(n[i]={id:i,parts:[u]})}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 a(e){e.parentNode.removeChild(e);var t=y.indexOf(e);t>=0&&y.splice(t,1)}function s(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 n,r,o;if(t.singleton){var i=g++;n=m||(m=s(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=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=c.bind(null,n),o=function(){a(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),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[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 d(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 p={},v=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=v(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),b=v(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=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],l=p[s.id];l.refs--,i.push(l)}if(e){var u=o(e);r(u,t)}for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var f=0;f<l.parts.length;f++)l.parts[f]();delete p[l.id]}}}};var x=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=require("skatejs")},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,"._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}",""]),t.locals={blanket:"_1W1Nqrropv0xHevXc01L9b",blanket:"_1W1Nqrropv0xHevXc01L9b",tinted:"_2jkUido-eka0FjtgtzHfhf",tinted:"_2jkUido-eka0FjtgtzHfhf"}},function(e,t){e.exports=require("classnames")}]); |
!function(root, factory) { | ||
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("skatejs"), require("classnames")) : "function" == typeof define && define.amd ? define([ "skatejs", "classnames" ], factory) : "object" == typeof exports ? exports.akBlanket = factory(require("skatejs"), require("classnames")) : root.akBlanket = factory(root.skatejs, root.classnames); | ||
}(this, function(__WEBPACK_EXTERNAL_MODULE_7__, __WEBPACK_EXTERNAL_MODULE_9__) { | ||
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("babel-runtime/helpers/defineProperty"), require("skatejs"), require("classnames")) : "function" == typeof define && define.amd ? define([ "babel-runtime/helpers/defineProperty", "skatejs", "classnames" ], factory) : "object" == typeof exports ? exports.akBlanket = factory(require("babel-runtime/helpers/defineProperty"), require("skatejs"), require("classnames")) : root.akBlanket = factory(root["babel-runtime/helpers/defineProperty"], root.skatejs, root.classnames); | ||
}(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_8__, __WEBPACK_EXTERNAL_MODULE_10__) { | ||
/******/ | ||
@@ -77,11 +77,2 @@ return function(modules) { | ||
} | ||
function _defineProperty(obj, key, value) { | ||
return key in obj ? Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: !0, | ||
configurable: !0, | ||
writable: !0 | ||
}) : obj[key] = value, obj; | ||
} | ||
/** @jsx vdom */ | ||
function handleBlur(elem) { | ||
@@ -95,3 +86,3 @@ return function() { | ||
}); | ||
var _hasOwn = Object.prototype.hasOwnProperty, _forOwn = function(object, iterator) { | ||
var _defineProperty2 = __webpack_require__(3), _defineProperty3 = _interopRequireDefault(_defineProperty2), _hasOwn = Object.prototype.hasOwnProperty, _forOwn = function(object, iterator) { | ||
for (var prop in object) _hasOwn.call(object, prop) && iterator(object[prop], prop); | ||
@@ -102,4 +93,5 @@ }, _renderArbitrary = function _renderArbitrary(child) { | ||
}; | ||
__webpack_require__(3); | ||
var _skatejs = __webpack_require__(7), _shadow = __webpack_require__(8), _shadow2 = _interopRequireDefault(_shadow), _classnames = __webpack_require__(9), _classnames2 = _interopRequireDefault(_classnames); | ||
/** @jsx vdom */ | ||
__webpack_require__(4); | ||
var _skatejs = __webpack_require__(8), _shadow = __webpack_require__(9), _shadow2 = _interopRequireDefault(_shadow), _classnames = __webpack_require__(10), _classnames2 = _interopRequireDefault(_classnames); | ||
/** | ||
@@ -113,3 +105,4 @@ * @description Create instances of the component programmatically, or using markup. | ||
render: function(elem) { | ||
var classes = (0, _classnames2["default"])([ _shadow2["default"].locals.blanket, _defineProperty({}, "" + _shadow2["default"].locals.tinted, elem.tinted) ]); | ||
var classes = (0, _classnames2["default"])([ _shadow2["default"].locals.blanket, (0, | ||
_defineProperty3["default"])({}, "" + _shadow2["default"].locals.tinted, elem.tinted) ]); | ||
return _skatejs.vdom.elementOpen("div"), _skatejs.vdom.elementOpen("style"), _renderArbitrary(_shadow2["default"].toString()), | ||
@@ -150,14 +143,18 @@ _skatejs.vdom.elementClose("style"), _skatejs.vdom.elementOpen("div", null, null, "onClick", handleBlur(elem), "onTouch", handleBlur(elem), "className", classes), | ||
/***/ | ||
function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_3__; | ||
}, /* 4 */ | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
// style-loader: Adds some css to the DOM by adding a <style> tag | ||
// load the styles | ||
var content = __webpack_require__(4); | ||
var content = __webpack_require__(5); | ||
"string" == typeof content && (content = [ [ module.id, content, "" ] ]); | ||
// add the styles to the DOM | ||
__webpack_require__(6)(content, {}); | ||
__webpack_require__(7)(content, {}); | ||
content.locals && (module.exports = content.locals); | ||
}, /* 4 */ | ||
}, /* 5 */ | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
exports = module.exports = __webpack_require__(5)(), // imports | ||
exports = module.exports = __webpack_require__(6)(), // imports | ||
// module | ||
@@ -170,3 +167,3 @@ exports.push([ module.id, "._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}", "" ]), | ||
}; | ||
}, /* 5 */ | ||
}, /* 6 */ | ||
/***/ | ||
@@ -206,3 +203,3 @@ function(module, exports) { | ||
}; | ||
}, /* 6 */ | ||
}, /* 7 */ | ||
/***/ | ||
@@ -351,10 +348,10 @@ function(module, exports, __webpack_require__) { | ||
}(); | ||
}, /* 7 */ | ||
}, /* 8 */ | ||
/***/ | ||
function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_7__; | ||
}, /* 8 */ | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_8__; | ||
}, /* 9 */ | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
exports = module.exports = __webpack_require__(5)(), // imports | ||
exports = module.exports = __webpack_require__(6)(), // imports | ||
// module | ||
@@ -369,7 +366,7 @@ exports.push([ module.id, "._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}", "" ]), | ||
}; | ||
}, /* 9 */ | ||
}, /* 10 */ | ||
/***/ | ||
function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_9__; | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_10__; | ||
} ]); | ||
}); |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("skatejs"),require("classnames")):"function"==typeof define&&define.amd?define(["skatejs","classnames"],t):"object"==typeof exports?exports.akBlanket=t(require("skatejs"),require("classnames")):e.akBlanket=t(e.skatejs,e.classnames)}(this,function(e,t){return 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){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return function(){e.clickable&&(0,f.emit)(e,"ak-blanket-click")}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.prototype.hasOwnProperty,s=function(e,t){for(var n in e)a.call(e,n)&&t(e[n],n)},l=function v(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?f.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(v):"object"===t&&"[object Object]"===String(e)&&s(e,v)};n(3);var f=n(7),u=n(8),c=r(u),d=n(9),p=r(d);t["default"]=(0,f.define)("ak-blanket",{render:function(e){var t=(0,p["default"])([c["default"].locals.blanket,o({},""+c["default"].locals.tinted,e.tinted)]);return f.vdom.elementOpen("div"),f.vdom.elementOpen("style"),l(c["default"].toString()),f.vdom.elementClose("style"),f.vdom.elementOpen("div",null,null,"onClick",i(e),"onTouch",i(e),"className",t),f.vdom.elementClose("div"),f.vdom.elementClose("div")},props:{tinted:f.prop["boolean"]({attribute:!0}),clickable:f.prop["boolean"]({attribute:!0})}})},,,function(e,t,n){var r=n(4);"string"==typeof r&&(r=[[e.id,r,""]]),n(6)(r,{}),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,"._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}",""]),t.locals={"ak-blanket":"_1xMiJAodBrAKhL8WEHwdrW",akBlanket:"_1xMiJAodBrAKhL8WEHwdrW"}},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 a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=p[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(f(r.parts[i],t))}else{for(var a=[],i=0;i<r.parts.length;i++)a.push(f(r.parts[i],t));p[r.id]={id:r.id,refs:1,parts:a}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],a=o[1],s=o[2],l=o[3],f={css:a,media:s,sourceMap:l};n[i]?n[i].parts.push(f):t.push(n[i]={id:i,parts:[f]})}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 a(e){e.parentNode.removeChild(e);var t=y.indexOf(e);t>=0&&y.splice(t,1)}function s(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 f(e,t){var n,r,o;if(t.singleton){var i=k++;n=m||(m=s(t)),r=u.bind(null,n,i,!1),o=u.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=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=c.bind(null,n),o=function(){a(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 u(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[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 d(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 p={},v=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=v(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),b=v(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,k=0,y=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],l=p[s.id];l.refs--,i.push(l)}if(e){var f=o(e);r(f,t)}for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete p[l.id]}}}};var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(t,n){t.exports=e},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,"._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}",""]),t.locals={blanket:"_1W1Nqrropv0xHevXc01L9b",blanket:"_1W1Nqrropv0xHevXc01L9b",tinted:"_2jkUido-eka0FjtgtzHfhf",tinted:"_2jkUido-eka0FjtgtzHfhf"}},function(e,n){e.exports=t}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/helpers/defineProperty"),require("skatejs"),require("classnames")):"function"==typeof define&&define.amd?define(["babel-runtime/helpers/defineProperty","skatejs","classnames"],t):"object"==typeof exports?exports.akBlanket=t(require("babel-runtime/helpers/defineProperty"),require("skatejs"),require("classnames")):e.akBlanket=t(e["babel-runtime/helpers/defineProperty"],e.skatejs,e.classnames)}(this,function(e,t,n){return 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){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return function(){e.clickable&&(0,u.emit)(e,"ak-blanket-click")}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),a=r(i),s=Object.prototype.hasOwnProperty,l=function(e,t){for(var n in e)s.call(e,n)&&t(e[n],n)},f=function h(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?u.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(h):"object"===t&&"[object Object]"===String(e)&&l(e,h)};n(4);var u=n(8),c=n(9),d=r(c),p=n(10),v=r(p);t["default"]=(0,u.define)("ak-blanket",{render:function(e){var t=(0,v["default"])([d["default"].locals.blanket,(0,a["default"])({},""+d["default"].locals.tinted,e.tinted)]);return u.vdom.elementOpen("div"),u.vdom.elementOpen("style"),f(d["default"].toString()),u.vdom.elementClose("style"),u.vdom.elementOpen("div",null,null,"onClick",o(e),"onTouch",o(e),"className",t),u.vdom.elementClose("div"),u.vdom.elementClose("div")},props:{tinted:u.prop["boolean"]({attribute:!0}),clickable:u.prop["boolean"]({attribute:!0})}})},,,function(t,n){t.exports=e},function(e,t,n){var r=n(5);"string"==typeof r&&(r=[[e.id,r,""]]),n(7)(r,{}),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,"._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}",""]),t.locals={"ak-blanket":"_1xMiJAodBrAKhL8WEHwdrW",akBlanket:"_1xMiJAodBrAKhL8WEHwdrW"}},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 a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=p[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(f(r.parts[i],t))}else{for(var a=[],i=0;i<r.parts.length;i++)a.push(f(r.parts[i],t));p[r.id]={id:r.id,refs:1,parts:a}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],a=o[1],s=o[2],l=o[3],f={css:a,media:s,sourceMap:l};n[i]?n[i].parts.push(f):t.push(n[i]={id:i,parts:[f]})}return t}function i(e,t){var n=b(),r=k[k.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),k.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=k.indexOf(e);t>=0&&k.splice(t,1)}function s(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 f(e,t){var n,r,o;if(t.singleton){var i=y++;n=m||(m=s(t)),r=u.bind(null,n,i,!1),o=u.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=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=c.bind(null,n),o=function(){a(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 u(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[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 d(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 p={},v=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=v(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),b=v(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,y=0,k=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],l=p[s.id];l.refs--,i.push(l)}if(e){var f=o(e);r(f,t)}for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete p[l.id]}}}};var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,n){e.exports=t},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,"._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}",""]),t.locals={blanket:"_1W1Nqrropv0xHevXc01L9b",blanket:"_1W1Nqrropv0xHevXc01L9b",tinted:"_2jkUido-eka0FjtgtzHfhf",tinted:"_2jkUido-eka0FjtgtzHfhf"}},function(e,t){e.exports=n}])}); |
{ | ||
"name": "ak-blanket", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "ak-blanket webcomponent", | ||
@@ -18,3 +18,3 @@ "main": "dist/bundle.js", | ||
"classnames": "^2.2.5", | ||
"skatejs": "^1.2.2" | ||
"skatejs": "^1.2.4" | ||
}, | ||
@@ -21,0 +21,0 @@ "author": "Atlassian Pty Ltd", |
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
50555
724
Updatedskatejs@^1.2.4