Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ak-blanket

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ak-blanket - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

dist/bundle-cjs.js

43

CHANGELOG.md

@@ -1,6 +0,16 @@

<a name="1.0.0"></a>
# 1.0.0 (2016-08-04)
<a name="1.0.1"></a>
## 1.0.1 (2016-08-25)
<a name="ak-blanket@1.0.1"></a>
## ak-blanket@1.0.1 (2016-08-05)
### Bug Fixes
* **package:** Fix package dependencies on github packages that were removed ([1c1a99e](https://bitbucket.org/atlassian/atlaskit/commits/1c1a99e))
<a name="ak-blanket@1.0.0"></a>

@@ -10,5 +20,30 @@ # ak-blanket@1.0.0 (2016-08-04)

### Features
* introducing the blanket component ([bc8c23f](https://bitbucket.org/atlassian/atlaskit/commits/bc8c23f))
<a name="0.0.1-atlas-animation3"></a>
## 0.0.1-atlas-animation3 (2016-06-08)
<a name="1.1.6-atlas-animation"></a>
## 1.1.6-atlas-animation (2016-06-08)
<a name="13.1.0-tmp-atlaskit-component-b"></a>
# 13.1.0-tmp-atlaskit-component-b (2016-06-08)
<a name="13.1.0-tmp-atlaskit-component-a"></a>
# 13.1.0-tmp-atlaskit-component-a (2016-06-08)
### Bug Fixes
* **linkButton:** component and color ([824c5d4](https://bitbucket.org/atlassian/atlaskit/commits/824c5d4))
* **components:** commented out a line ([4b91174](https://bitbucket.org/atlassian/atlaskit/commits/4b91174))

@@ -18,5 +53,5 @@

* introducing the blanket component ([bc8c23f](https://bitbucket.org/atlassian/atlaskit/commits/bc8c23f))
* **components:** Add an ! mark ([2b7bdb0](https://bitbucket.org/atlassian/atlaskit/commits/2b7bdb0))

8

dist/bundle.js

@@ -112,3 +112,3 @@ !function(root, factory) {

return _skatejs.vdom.elementOpen("div"), _skatejs.vdom.elementOpen("style"), _renderArbitrary(_shadow2["default"].toString()),
_skatejs.vdom.elementClose("style"), _skatejs.vdom.elementOpen("div", null, null, "onclick", handleBlur(elem), "ontouch", handleBlur(elem), "class", classes),
_skatejs.vdom.elementClose("style"), _skatejs.vdom.elementOpen("div", null, null, "onClick", handleBlur(elem), "onTouch", handleBlur(elem), "className", classes),
_skatejs.vdom.elementClose("div"), _skatejs.vdom.elementClose("div");

@@ -127,4 +127,3 @@ },

tinted: _skatejs.prop["boolean"]({
attribute: !0,
"default": !1
attribute: !0
}),

@@ -141,4 +140,3 @@ /**

clickable: _skatejs.prop["boolean"]({
attribute: !0,
"default": !1
attribute: !0
})

@@ -145,0 +143,0 @@ }

@@ -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),"class",t),f.vdom.elementClose("div"),f.vdom.elementClose("div")},props:{tinted:f.prop["boolean"]({attribute:!0,"default":!1}),clickable:f.prop["boolean"]({attribute:!0,"default":!1})}})},,,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("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}])});
{
"name": "ak-blanket",
"version": "1.0.1",
"version": "1.0.2",
"description": "ak-blanket webcomponent",
"main": "dist/bundle.js",
"webpack": "src/index.js",
"webpack": "dist/bundle-cjs.js",
"ak:webpack:raw": "src/index.js",
"scripts": {

@@ -14,6 +15,6 @@ "prepublish": "cd ../.. && npm run prepublish/single ak-blanket"

"dependencies": {
"akutil-common": "^0.2.0",
"akutil-shared-styles": "*",
"akutil-common": "^2.0.0",
"akutil-shared-styles": "^33.1.0",
"classnames": "^2.2.5",
"skatejs": "1.0.0-beta.12"
"skatejs": "^1.2.2"
},

@@ -23,3 +24,3 @@ "author": "Atlassian Pty Ltd",

"devDependencies": {
"akutil-react": "^0.0.4"
"akutil-react": "^1.0.0"
},

@@ -26,0 +27,0 @@ "repository": {

@@ -74,4 +74,4 @@ # Blanket

```
## Component API
## Blanket API
* Properties

@@ -78,0 +78,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc