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

ak-button

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ak-button - npm Package Compare versions

Comparing version 0.5.2 to 1.0.0

dist/bundle-with-deps.js

14

CHANGELOG.md

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

<a name="0.5.1"></a>
## 0.5.1 (2016-09-01)
<a name="1.0.0"></a>
# 1.0.0 (2016-09-07)
<a name="ak-button@0.5.2"></a>
## ak-button@0.5.2 (2016-09-01)
### Bug Fixes
* Bump skatejs to pull in a fix for how attributes are handled in components. ([bd9bb8f](https://bitbucket.org/atlassian/atlaskit/commits/bd9bb8f))
<a name="ak-button@0.5.1"></a>

@@ -7,0 +17,0 @@ ## ak-button@0.5.1 (2016-08-31)

2

dist/bundle-cjs.js

@@ -391,3 +391,3 @@ module.exports = /******/

// module
exports.push([ module.id, "._2Qep03_yqM2CZAcLCDAX1B{-webkit-box-align:center;align-items:center;box-sizing:border-box;background:#eceef1;border:none;border-radius:3px;color:#42526e;display:-webkit-box;display:flex;font-style:normal;font-size:14px;height:30px;line-height:30px;margin:0;outline:none;padding:0 10px;text-align:center;-webkit-transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:hover{background:#e5e8ec;cursor:pointer;-webkit-transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:active{background:#bfebff;-webkit-transition-duration:0s;transition-duration:0s}._2Qep03_yqM2CZAcLCDAX1B:focus{box-shadow:0 0 0 2px #0091ea;-webkit-transition-duration:0s,.2s;transition-duration:0s,.2s}._2Qep03_yqM2CZAcLCDAX1B:focus:active{box-shadow:0 0 0 0 #0091ea}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:hover{background:#1251ae}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:active{background:#0074e0}._2Qep03_yqM2CZAcLCDAX1B.lW7gC7XXbUl_Ecxw8Lxr3:not(:hover):not(:focus):not(:active){background:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ._3ObqUJneuf6Rt8YYi8TMtb>*,._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::content>*,._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::slotted(*){pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu:hover{cursor:not-allowed}._2Qep03_yqM2CZAcLCDAX1B.js8PpsWRWdOhVM_y5nAXE{background:#253858;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3{background:none;color:#165ecc;-webkit-transition:color .1s ease-out;transition:color .1s ease-out}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:hover{color:#0074e0;text-decoration:underline}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:active{color:#0074e0;text-decoration:none}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db;background:none}._2Qep03_yqM2CZAcLCDAX1B.gpG5B46WN9c_3VqYjaA_{height:22px;line-height:22px}", "" ]),
exports.push([ module.id, "._2Qep03_yqM2CZAcLCDAX1B{-webkit-box-align:center;align-items:center;box-sizing:border-box;background:#eceef1;border:none;border-radius:3px;color:#42526e;display:-webkit-box;display:flex;font-style:normal;font-size:14px;height:30px;line-height:30px;margin:0;outline:none;padding:0 10px;text-align:center;-webkit-transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:hover{background:#e5e8ec;cursor:pointer;-webkit-transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:active{background:#bfebff;-webkit-transition-duration:0s;transition-duration:0s}._2Qep03_yqM2CZAcLCDAX1B:focus{box-shadow:0 0 0 2px #0091ea;-webkit-transition-duration:0s,.2s;transition-duration:0s,.2s}._2Qep03_yqM2CZAcLCDAX1B:focus:active{box-shadow:0 0 0 0 #0091ea}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:hover{background:#1251ae}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:active{background:#0074e0}._2Qep03_yqM2CZAcLCDAX1B.lW7gC7XXbUl_Ecxw8Lxr3:not(:hover):not(:focus):not(:active){background:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::content>*{pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::slotted(*){pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ._3ObqUJneuf6Rt8YYi8TMtb>*{pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu:hover{cursor:not-allowed}._2Qep03_yqM2CZAcLCDAX1B.js8PpsWRWdOhVM_y5nAXE{background:#253858;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3{background:none;color:#165ecc;-webkit-transition:color .1s ease-out;transition:color .1s ease-out}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:hover{color:#0074e0;text-decoration:underline}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:active{color:#0074e0;text-decoration:none}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db;background:none}._2Qep03_yqM2CZAcLCDAX1B.gpG5B46WN9c_3VqYjaA_{height:22px;line-height:22px}", "" ]),
// exports

@@ -394,0 +394,0 @@ exports.locals = {

@@ -1,1 +0,1 @@

module.exports=function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TYPE=t.APPEARANCE=void 0;var r=n(2),a=o(r),i=Object.prototype.hasOwnProperty,s=function(e,t){for(var n in e)i.call(e,n)&&t(e[n],n)},u=function L(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?c.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(L):"object"===t&&"[object Object]"===String(e)&&s(e,L)};n(3);var c=n(7),l=n(8),d=o(l),p=n(9),f=o(p),b=n(10),v=d["default"].locals,C=function(e){return e.reduce(function(e,t){return e[t.toUpperCase()]=t,e},{})},_=function(e){var t;return t={},(0,a["default"])(t,v.button,!0),(0,a["default"])(t,v.compact,e.compact),(0,a["default"])(t,v.disabled,e.disabled),(0,a["default"])(t,v.selected,e.selected&&!e.disabled),(0,a["default"])(t,v.primary,"primary"===e.appearance&&!e.disabled&&!e.selected),(0,a["default"])(t,v.subtle,"subtle"===e.appearance&&!e.disabled&&!e.selected),(0,a["default"])(t,v.link,"link"===e.appearance&&!e.selected),t},g=["primary","standard","subtle","link"],h=["button","submit"],m=C(g),y=C(h),A={attribute:"appearance",values:g,invalidDefault:m.STANDARD},x={attribute:"type",values:h,missingDefault:"button",invalidDefault:"button"},k={props:{appearance:(0,b.enumeration)(A)({attribute:!0}),type:(0,b.enumeration)(x)({attribute:!0}),disabled:c.prop["boolean"]({attribute:!0}),compact:c.prop["boolean"]({attribute:!0}),selected:c.prop["boolean"]({attribute:!0})},render:function(e){return c.vdom.elementOpen("div"),c.vdom.elementOpen("style"),u(d["default"].toString()),c.vdom.elementClose("style"),c.vdom.elementOpen("button",null,null,"className",(0,f["default"])(_(e)),"type",e.type,"disabled",e.disabled,"onmousedown",function(e){return e.preventDefault()}),c.vdom.elementVoid("slot",null,null,"className",v.slot),c.vdom.elementClose("button"),c.vdom.elementClose("div")}},q=(0,c.define)("ak-button",k);t["default"]=q,t.APPEARANCE=m,t.TYPE=y},,function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t,n){var o=n(4);"string"==typeof o&&(o=[[e.id,o,""]]),n(6)(o,{}),o.locals&&(e.exports=o.locals)},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,"._31L_2bvCZypgC4vUIMA3v2,ak-button{display:inline-block}._31L_2bvCZypgC4vUIMA3v2[disabled],ak-button[disabled]{pointer-events:none}",""]),t.locals={"ak-button":"_31L_2bvCZypgC4vUIMA3v2",akButton:"_31L_2bvCZypgC4vUIMA3v2"}},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 o={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(o[a]=!0)}for(r=0;r<t.length;r++){var i=t[r];"number"==typeof i[0]&&o[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},function(e,t,n){function o(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=f[o.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](o.parts[a]);for(;a<o.parts.length;a++)r.parts.push(c(o.parts[a],t))}else{for(var i=[],a=0;a<o.parts.length;a++)i.push(c(o.parts[a],t));f[o.id]={id:o.id,refs:1,parts:i}}}}function r(e){for(var t=[],n={},o=0;o<e.length;o++){var r=e[o],a=r[0],i=r[1],s=r[2],u=r[3],c={css:i,media:s,sourceMap:u};n[a]?n[a].parts.push(c):t.push(n[a]={id:a,parts:[c]})}return t}function a(e,t){var n=C(),o=h[h.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),h.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function i(e){e.parentNode.removeChild(e);var t=h.indexOf(e);t>=0&&h.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",a(e,t),t}function u(e){var t=document.createElement("link");return t.rel="stylesheet",a(e,t),t}function c(e,t){var n,o,r;if(t.singleton){var a=g++;n=_||(_=s(t)),o=l.bind(null,n,a,!1),r=l.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(t),o=p.bind(null,n),r=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),o=d.bind(null,n),r=function(){i(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function l(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=m(t,r);else{var a=document.createTextNode(r),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function d(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),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,o=t.sourceMap;o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var r=new Blob([n],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(r),a&&URL.revokeObjectURL(a)}var f={},b=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},v=b(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),C=b(function(){return document.head||document.getElementsByTagName("head")[0]}),_=null,g=0,h=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=r(e);return o(n,t),function(e){for(var a=[],i=0;i<n.length;i++){var s=n[i],u=f[s.id];u.refs--,a.push(u)}if(e){var c=r(e);o(c,t)}for(var i=0;i<a.length;i++){var u=a[i];if(0===u.refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete f[u.id]}}}};var m=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,"._2Qep03_yqM2CZAcLCDAX1B{-webkit-box-align:center;align-items:center;box-sizing:border-box;background:#eceef1;border:none;border-radius:3px;color:#42526e;display:-webkit-box;display:flex;font-style:normal;font-size:14px;height:30px;line-height:30px;margin:0;outline:none;padding:0 10px;text-align:center;-webkit-transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:hover{background:#e5e8ec;cursor:pointer;-webkit-transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:active{background:#bfebff;-webkit-transition-duration:0s;transition-duration:0s}._2Qep03_yqM2CZAcLCDAX1B:focus{box-shadow:0 0 0 2px #0091ea;-webkit-transition-duration:0s,.2s;transition-duration:0s,.2s}._2Qep03_yqM2CZAcLCDAX1B:focus:active{box-shadow:0 0 0 0 #0091ea}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:hover{background:#1251ae}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:active{background:#0074e0}._2Qep03_yqM2CZAcLCDAX1B.lW7gC7XXbUl_Ecxw8Lxr3:not(:hover):not(:focus):not(:active){background:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ._3ObqUJneuf6Rt8YYi8TMtb>*,._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::content>*,._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::slotted(*){pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu:hover{cursor:not-allowed}._2Qep03_yqM2CZAcLCDAX1B.js8PpsWRWdOhVM_y5nAXE{background:#253858;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3{background:none;color:#165ecc;-webkit-transition:color .1s ease-out;transition:color .1s ease-out}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:hover{color:#0074e0;text-decoration:underline}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:active{color:#0074e0;text-decoration:none}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db;background:none}._2Qep03_yqM2CZAcLCDAX1B.gpG5B46WN9c_3VqYjaA_{height:22px;line-height:22px}",""]),t.locals={button:"_2Qep03_yqM2CZAcLCDAX1B",button:"_2Qep03_yqM2CZAcLCDAX1B",primary:"_3m6YegzVE32UQC6u2al8qi",primary:"_3m6YegzVE32UQC6u2al8qi",subtle:"lW7gC7XXbUl_Ecxw8Lxr3",subtle:"lW7gC7XXbUl_Ecxw8Lxr3",disabled:"X0FrY0s5O-RgqksaF7Tvu",disabled:"X0FrY0s5O-RgqksaF7Tvu",slot:"_3ObqUJneuf6Rt8YYi8TMtb",slot:"_3ObqUJneuf6Rt8YYi8TMtb",selected:"js8PpsWRWdOhVM_y5nAXE",selected:"js8PpsWRWdOhVM_y5nAXE",link:"_1qEoQlodHpFGkbo3CBeUP3",link:"_1qEoQlodHpFGkbo3CBeUP3",compact:"gpG5B46WN9c_3VqYjaA_",compact:"gpG5B46WN9c_3VqYjaA_"}},function(e,t){e.exports=require("classnames")},function(e,t){e.exports=require("akutil-common")}]);
module.exports=function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TYPE=t.APPEARANCE=void 0;var r=n(2),i=o(r),a=Object.prototype.hasOwnProperty,s=function(e,t){for(var n in e)a.call(e,n)&&t(e[n],n)},u=function L(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?c.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(L):"object"===t&&"[object Object]"===String(e)&&s(e,L)};n(3);var c=n(7),l=n(8),d=o(l),p=n(9),f=o(p),b=n(10),v=d["default"].locals,C=function(e){return e.reduce(function(e,t){return e[t.toUpperCase()]=t,e},{})},_=function(e){var t;return t={},(0,i["default"])(t,v.button,!0),(0,i["default"])(t,v.compact,e.compact),(0,i["default"])(t,v.disabled,e.disabled),(0,i["default"])(t,v.selected,e.selected&&!e.disabled),(0,i["default"])(t,v.primary,"primary"===e.appearance&&!e.disabled&&!e.selected),(0,i["default"])(t,v.subtle,"subtle"===e.appearance&&!e.disabled&&!e.selected),(0,i["default"])(t,v.link,"link"===e.appearance&&!e.selected),t},g=["primary","standard","subtle","link"],h=["button","submit"],m=C(g),y=C(h),A={attribute:"appearance",values:g,invalidDefault:m.STANDARD},x={attribute:"type",values:h,missingDefault:"button",invalidDefault:"button"},k={props:{appearance:(0,b.enumeration)(A)({attribute:!0}),type:(0,b.enumeration)(x)({attribute:!0}),disabled:c.prop["boolean"]({attribute:!0}),compact:c.prop["boolean"]({attribute:!0}),selected:c.prop["boolean"]({attribute:!0})},render:function(e){return c.vdom.elementOpen("div"),c.vdom.elementOpen("style"),u(d["default"].toString()),c.vdom.elementClose("style"),c.vdom.elementOpen("button",null,null,"className",(0,f["default"])(_(e)),"type",e.type,"disabled",e.disabled,"onmousedown",function(e){return e.preventDefault()}),c.vdom.elementVoid("slot",null,null,"className",v.slot),c.vdom.elementClose("button"),c.vdom.elementClose("div")}},q=(0,c.define)("ak-button",k);t["default"]=q,t.APPEARANCE=m,t.TYPE=y},,function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t,n){var o=n(4);"string"==typeof o&&(o=[[e.id,o,""]]),n(6)(o,{}),o.locals&&(e.exports=o.locals)},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,"._31L_2bvCZypgC4vUIMA3v2,ak-button{display:inline-block}._31L_2bvCZypgC4vUIMA3v2[disabled],ak-button[disabled]{pointer-events:none}",""]),t.locals={"ak-button":"_31L_2bvCZypgC4vUIMA3v2",akButton:"_31L_2bvCZypgC4vUIMA3v2"}},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 o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function o(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=f[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(c(o.parts[i],t))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(c(o.parts[i],t));f[o.id]={id:o.id,refs:1,parts:a}}}}function r(e){for(var t=[],n={},o=0;o<e.length;o++){var r=e[o],i=r[0],a=r[1],s=r[2],u=r[3],c={css:a,media:s,sourceMap:u};n[i]?n[i].parts.push(c):t.push(n[i]={id:i,parts:[c]})}return t}function i(e,t){var n=C(),o=h[h.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),h.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=h.indexOf(e);t>=0&&h.splice(t,1)}function s(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 c(e,t){var n,o,r;if(t.singleton){var i=g++;n=_||(_=s(t)),o=l.bind(null,n,i,!1),r=l.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),o=p.bind(null,n),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),o=d.bind(null,n),r=function(){a(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function l(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=m(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),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,o=t.sourceMap;o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var r=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(r),i&&URL.revokeObjectURL(i)}var f={},b=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},v=b(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),C=b(function(){return document.head||document.getElementsByTagName("head")[0]}),_=null,g=0,h=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=r(e);return o(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],u=f[s.id];u.refs--,i.push(u)}if(e){var c=r(e);o(c,t)}for(var a=0;a<i.length;a++){var u=i[a];if(0===u.refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete f[u.id]}}}};var m=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,"._2Qep03_yqM2CZAcLCDAX1B{-webkit-box-align:center;align-items:center;box-sizing:border-box;background:#eceef1;border:none;border-radius:3px;color:#42526e;display:-webkit-box;display:flex;font-style:normal;font-size:14px;height:30px;line-height:30px;margin:0;outline:none;padding:0 10px;text-align:center;-webkit-transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:hover{background:#e5e8ec;cursor:pointer;-webkit-transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:active{background:#bfebff;-webkit-transition-duration:0s;transition-duration:0s}._2Qep03_yqM2CZAcLCDAX1B:focus{box-shadow:0 0 0 2px #0091ea;-webkit-transition-duration:0s,.2s;transition-duration:0s,.2s}._2Qep03_yqM2CZAcLCDAX1B:focus:active{box-shadow:0 0 0 0 #0091ea}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:hover{background:#1251ae}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:active{background:#0074e0}._2Qep03_yqM2CZAcLCDAX1B.lW7gC7XXbUl_Ecxw8Lxr3:not(:hover):not(:focus):not(:active){background:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::content>*{pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::slotted(*){pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ._3ObqUJneuf6Rt8YYi8TMtb>*{pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu:hover{cursor:not-allowed}._2Qep03_yqM2CZAcLCDAX1B.js8PpsWRWdOhVM_y5nAXE{background:#253858;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3{background:none;color:#165ecc;-webkit-transition:color .1s ease-out;transition:color .1s ease-out}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:hover{color:#0074e0;text-decoration:underline}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:active{color:#0074e0;text-decoration:none}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db;background:none}._2Qep03_yqM2CZAcLCDAX1B.gpG5B46WN9c_3VqYjaA_{height:22px;line-height:22px}",""]),t.locals={button:"_2Qep03_yqM2CZAcLCDAX1B",button:"_2Qep03_yqM2CZAcLCDAX1B",primary:"_3m6YegzVE32UQC6u2al8qi",primary:"_3m6YegzVE32UQC6u2al8qi",subtle:"lW7gC7XXbUl_Ecxw8Lxr3",subtle:"lW7gC7XXbUl_Ecxw8Lxr3",disabled:"X0FrY0s5O-RgqksaF7Tvu",disabled:"X0FrY0s5O-RgqksaF7Tvu",slot:"_3ObqUJneuf6Rt8YYi8TMtb",slot:"_3ObqUJneuf6Rt8YYi8TMtb",selected:"js8PpsWRWdOhVM_y5nAXE",selected:"js8PpsWRWdOhVM_y5nAXE",link:"_1qEoQlodHpFGkbo3CBeUP3",link:"_1qEoQlodHpFGkbo3CBeUP3",compact:"gpG5B46WN9c_3VqYjaA_",compact:"gpG5B46WN9c_3VqYjaA_"}},function(e,t){e.exports=require("classnames")},function(e,t){e.exports=require("akutil-common")}]);

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

// module
exports.push([ module.id, "._2Qep03_yqM2CZAcLCDAX1B{-webkit-box-align:center;align-items:center;box-sizing:border-box;background:#eceef1;border:none;border-radius:3px;color:#42526e;display:-webkit-box;display:flex;font-style:normal;font-size:14px;height:30px;line-height:30px;margin:0;outline:none;padding:0 10px;text-align:center;-webkit-transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:hover{background:#e5e8ec;cursor:pointer;-webkit-transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:active{background:#bfebff;-webkit-transition-duration:0s;transition-duration:0s}._2Qep03_yqM2CZAcLCDAX1B:focus{box-shadow:0 0 0 2px #0091ea;-webkit-transition-duration:0s,.2s;transition-duration:0s,.2s}._2Qep03_yqM2CZAcLCDAX1B:focus:active{box-shadow:0 0 0 0 #0091ea}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:hover{background:#1251ae}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:active{background:#0074e0}._2Qep03_yqM2CZAcLCDAX1B.lW7gC7XXbUl_Ecxw8Lxr3:not(:hover):not(:focus):not(:active){background:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ._3ObqUJneuf6Rt8YYi8TMtb>*,._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::content>*,._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::slotted(*){pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu:hover{cursor:not-allowed}._2Qep03_yqM2CZAcLCDAX1B.js8PpsWRWdOhVM_y5nAXE{background:#253858;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3{background:none;color:#165ecc;-webkit-transition:color .1s ease-out;transition:color .1s ease-out}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:hover{color:#0074e0;text-decoration:underline}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:active{color:#0074e0;text-decoration:none}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db;background:none}._2Qep03_yqM2CZAcLCDAX1B.gpG5B46WN9c_3VqYjaA_{height:22px;line-height:22px}", "" ]),
exports.push([ module.id, "._2Qep03_yqM2CZAcLCDAX1B{-webkit-box-align:center;align-items:center;box-sizing:border-box;background:#eceef1;border:none;border-radius:3px;color:#42526e;display:-webkit-box;display:flex;font-style:normal;font-size:14px;height:30px;line-height:30px;margin:0;outline:none;padding:0 10px;text-align:center;-webkit-transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:hover{background:#e5e8ec;cursor:pointer;-webkit-transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:active{background:#bfebff;-webkit-transition-duration:0s;transition-duration:0s}._2Qep03_yqM2CZAcLCDAX1B:focus{box-shadow:0 0 0 2px #0091ea;-webkit-transition-duration:0s,.2s;transition-duration:0s,.2s}._2Qep03_yqM2CZAcLCDAX1B:focus:active{box-shadow:0 0 0 0 #0091ea}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:hover{background:#1251ae}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:active{background:#0074e0}._2Qep03_yqM2CZAcLCDAX1B.lW7gC7XXbUl_Ecxw8Lxr3:not(:hover):not(:focus):not(:active){background:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::content>*{pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::slotted(*){pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ._3ObqUJneuf6Rt8YYi8TMtb>*{pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu:hover{cursor:not-allowed}._2Qep03_yqM2CZAcLCDAX1B.js8PpsWRWdOhVM_y5nAXE{background:#253858;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3{background:none;color:#165ecc;-webkit-transition:color .1s ease-out;transition:color .1s ease-out}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:hover{color:#0074e0;text-decoration:underline}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:active{color:#0074e0;text-decoration:none}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db;background:none}._2Qep03_yqM2CZAcLCDAX1B.gpG5B46WN9c_3VqYjaA_{height:22px;line-height:22px}", "" ]),
// exports

@@ -397,0 +397,0 @@ exports.locals = {

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/helpers/defineProperty"),require("skatejs"),require("classnames"),require("akutil-common")):"function"==typeof define&&define.amd?define(["babel-runtime/helpers/defineProperty","skatejs","classnames","akutil-common"],t):"object"==typeof exports?exports.akButton=t(require("babel-runtime/helpers/defineProperty"),require("skatejs"),require("classnames"),require("akutil-common")):e.akButton=t(e["babel-runtime/helpers/defineProperty"],e.skatejs,e.classnames,e["akutil-common"])}(this,function(e,t,n,o){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TYPE=t.APPEARANCE=void 0;var r=n(2),i=o(r),a=Object.prototype.hasOwnProperty,s=function(e,t){for(var n in e)a.call(e,n)&&t(e[n],n)},u=function L(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?c.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(L):"object"===t&&"[object Object]"===String(e)&&s(e,L)};n(3);var c=n(7),l=n(8),d=o(l),p=n(9),f=o(p),b=n(10),v=d["default"].locals,m=function(e){return e.reduce(function(e,t){return e[t.toUpperCase()]=t,e},{})},C=function(e){var t;return t={},(0,i["default"])(t,v.button,!0),(0,i["default"])(t,v.compact,e.compact),(0,i["default"])(t,v.disabled,e.disabled),(0,i["default"])(t,v.selected,e.selected&&!e.disabled),(0,i["default"])(t,v.primary,"primary"===e.appearance&&!e.disabled&&!e.selected),(0,i["default"])(t,v.subtle,"subtle"===e.appearance&&!e.disabled&&!e.selected),(0,i["default"])(t,v.link,"link"===e.appearance&&!e.selected),t},_=["primary","standard","subtle","link"],h=["button","submit"],y=m(_),g=m(h),A={attribute:"appearance",values:_,invalidDefault:y.STANDARD},k={attribute:"type",values:h,missingDefault:"button",invalidDefault:"button"},x={props:{appearance:(0,b.enumeration)(A)({attribute:!0}),type:(0,b.enumeration)(k)({attribute:!0}),disabled:c.prop["boolean"]({attribute:!0}),compact:c.prop["boolean"]({attribute:!0}),selected:c.prop["boolean"]({attribute:!0})},render:function(e){return c.vdom.elementOpen("div"),c.vdom.elementOpen("style"),u(d["default"].toString()),c.vdom.elementClose("style"),c.vdom.elementOpen("button",null,null,"className",(0,f["default"])(C(e)),"type",e.type,"disabled",e.disabled,"onmousedown",function(e){return e.preventDefault()}),c.vdom.elementVoid("slot",null,null,"className",v.slot),c.vdom.elementClose("button"),c.vdom.elementClose("div")}},q=(0,c.define)("ak-button",x);t["default"]=q,t.APPEARANCE=y,t.TYPE=g},,function(t,n){t.exports=e},function(e,t,n){var o=n(4);"string"==typeof o&&(o=[[e.id,o,""]]),n(6)(o,{}),o.locals&&(e.exports=o.locals)},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,"._31L_2bvCZypgC4vUIMA3v2,ak-button{display:inline-block}._31L_2bvCZypgC4vUIMA3v2[disabled],ak-button[disabled]{pointer-events:none}",""]),t.locals={"ak-button":"_31L_2bvCZypgC4vUIMA3v2",akButton:"_31L_2bvCZypgC4vUIMA3v2"}},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 o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function o(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=f[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(c(o.parts[i],t))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(c(o.parts[i],t));f[o.id]={id:o.id,refs:1,parts:a}}}}function r(e){for(var t=[],n={},o=0;o<e.length;o++){var r=e[o],i=r[0],a=r[1],s=r[2],u=r[3],c={css:a,media:s,sourceMap:u};n[i]?n[i].parts.push(c):t.push(n[i]={id:i,parts:[c]})}return t}function i(e,t){var n=m(),o=h[h.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),h.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=h.indexOf(e);t>=0&&h.splice(t,1)}function s(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 c(e,t){var n,o,r;if(t.singleton){var i=_++;n=C||(C=s(t)),o=l.bind(null,n,i,!1),r=l.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),o=p.bind(null,n),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),o=d.bind(null,n),r=function(){a(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function l(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=y(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),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,o=t.sourceMap;o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var r=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(r),i&&URL.revokeObjectURL(i)}var f={},b=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},v=b(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=b(function(){return document.head||document.getElementsByTagName("head")[0]}),C=null,_=0,h=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=r(e);return o(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],u=f[s.id];u.refs--,i.push(u)}if(e){var c=r(e);o(c,t)}for(var a=0;a<i.length;a++){var u=i[a];if(0===u.refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete f[u.id]}}}};var y=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(5)(),t.push([e.id,"._2Qep03_yqM2CZAcLCDAX1B{-webkit-box-align:center;align-items:center;box-sizing:border-box;background:#eceef1;border:none;border-radius:3px;color:#42526e;display:-webkit-box;display:flex;font-style:normal;font-size:14px;height:30px;line-height:30px;margin:0;outline:none;padding:0 10px;text-align:center;-webkit-transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:hover{background:#e5e8ec;cursor:pointer;-webkit-transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:active{background:#bfebff;-webkit-transition-duration:0s;transition-duration:0s}._2Qep03_yqM2CZAcLCDAX1B:focus{box-shadow:0 0 0 2px #0091ea;-webkit-transition-duration:0s,.2s;transition-duration:0s,.2s}._2Qep03_yqM2CZAcLCDAX1B:focus:active{box-shadow:0 0 0 0 #0091ea}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:hover{background:#1251ae}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:active{background:#0074e0}._2Qep03_yqM2CZAcLCDAX1B.lW7gC7XXbUl_Ecxw8Lxr3:not(:hover):not(:focus):not(:active){background:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ._3ObqUJneuf6Rt8YYi8TMtb>*,._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::content>*,._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::slotted(*){pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu:hover{cursor:not-allowed}._2Qep03_yqM2CZAcLCDAX1B.js8PpsWRWdOhVM_y5nAXE{background:#253858;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3{background:none;color:#165ecc;-webkit-transition:color .1s ease-out;transition:color .1s ease-out}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:hover{color:#0074e0;text-decoration:underline}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:active{color:#0074e0;text-decoration:none}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db;background:none}._2Qep03_yqM2CZAcLCDAX1B.gpG5B46WN9c_3VqYjaA_{height:22px;line-height:22px}",""]),t.locals={button:"_2Qep03_yqM2CZAcLCDAX1B",button:"_2Qep03_yqM2CZAcLCDAX1B",primary:"_3m6YegzVE32UQC6u2al8qi",primary:"_3m6YegzVE32UQC6u2al8qi",subtle:"lW7gC7XXbUl_Ecxw8Lxr3",subtle:"lW7gC7XXbUl_Ecxw8Lxr3",disabled:"X0FrY0s5O-RgqksaF7Tvu",disabled:"X0FrY0s5O-RgqksaF7Tvu",slot:"_3ObqUJneuf6Rt8YYi8TMtb",slot:"_3ObqUJneuf6Rt8YYi8TMtb",selected:"js8PpsWRWdOhVM_y5nAXE",selected:"js8PpsWRWdOhVM_y5nAXE",link:"_1qEoQlodHpFGkbo3CBeUP3",link:"_1qEoQlodHpFGkbo3CBeUP3",compact:"gpG5B46WN9c_3VqYjaA_",compact:"gpG5B46WN9c_3VqYjaA_"}},function(e,t){e.exports=n},function(e,t){e.exports=o}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/helpers/defineProperty"),require("skatejs"),require("classnames"),require("akutil-common")):"function"==typeof define&&define.amd?define(["babel-runtime/helpers/defineProperty","skatejs","classnames","akutil-common"],t):"object"==typeof exports?exports.akButton=t(require("babel-runtime/helpers/defineProperty"),require("skatejs"),require("classnames"),require("akutil-common")):e.akButton=t(e["babel-runtime/helpers/defineProperty"],e.skatejs,e.classnames,e["akutil-common"])}(this,function(e,t,n,o){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TYPE=t.APPEARANCE=void 0;var r=n(2),i=o(r),a=Object.prototype.hasOwnProperty,s=function(e,t){for(var n in e)a.call(e,n)&&t(e[n],n)},u=function L(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?c.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(L):"object"===t&&"[object Object]"===String(e)&&s(e,L)};n(3);var c=n(7),l=n(8),p=o(l),d=n(9),f=o(d),b=n(10),v=p["default"].locals,m=function(e){return e.reduce(function(e,t){return e[t.toUpperCase()]=t,e},{})},C=function(e){var t;return t={},(0,i["default"])(t,v.button,!0),(0,i["default"])(t,v.compact,e.compact),(0,i["default"])(t,v.disabled,e.disabled),(0,i["default"])(t,v.selected,e.selected&&!e.disabled),(0,i["default"])(t,v.primary,"primary"===e.appearance&&!e.disabled&&!e.selected),(0,i["default"])(t,v.subtle,"subtle"===e.appearance&&!e.disabled&&!e.selected),(0,i["default"])(t,v.link,"link"===e.appearance&&!e.selected),t},_=["primary","standard","subtle","link"],h=["button","submit"],y=m(_),g=m(h),A={attribute:"appearance",values:_,invalidDefault:y.STANDARD},k={attribute:"type",values:h,missingDefault:"button",invalidDefault:"button"},x={props:{appearance:(0,b.enumeration)(A)({attribute:!0}),type:(0,b.enumeration)(k)({attribute:!0}),disabled:c.prop["boolean"]({attribute:!0}),compact:c.prop["boolean"]({attribute:!0}),selected:c.prop["boolean"]({attribute:!0})},render:function(e){return c.vdom.elementOpen("div"),c.vdom.elementOpen("style"),u(p["default"].toString()),c.vdom.elementClose("style"),c.vdom.elementOpen("button",null,null,"className",(0,f["default"])(C(e)),"type",e.type,"disabled",e.disabled,"onmousedown",function(e){return e.preventDefault()}),c.vdom.elementVoid("slot",null,null,"className",v.slot),c.vdom.elementClose("button"),c.vdom.elementClose("div")}},q=(0,c.define)("ak-button",x);t["default"]=q,t.APPEARANCE=y,t.TYPE=g},,function(t,n){t.exports=e},function(e,t,n){var o=n(4);"string"==typeof o&&(o=[[e.id,o,""]]),n(6)(o,{}),o.locals&&(e.exports=o.locals)},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,"._31L_2bvCZypgC4vUIMA3v2,ak-button{display:inline-block}._31L_2bvCZypgC4vUIMA3v2[disabled],ak-button[disabled]{pointer-events:none}",""]),t.locals={"ak-button":"_31L_2bvCZypgC4vUIMA3v2",akButton:"_31L_2bvCZypgC4vUIMA3v2"}},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 o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function o(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=f[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(c(o.parts[i],t))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(c(o.parts[i],t));f[o.id]={id:o.id,refs:1,parts:a}}}}function r(e){for(var t=[],n={},o=0;o<e.length;o++){var r=e[o],i=r[0],a=r[1],s=r[2],u=r[3],c={css:a,media:s,sourceMap:u};n[i]?n[i].parts.push(c):t.push(n[i]={id:i,parts:[c]})}return t}function i(e,t){var n=m(),o=h[h.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),h.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=h.indexOf(e);t>=0&&h.splice(t,1)}function s(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 c(e,t){var n,o,r;if(t.singleton){var i=_++;n=C||(C=s(t)),o=l.bind(null,n,i,!1),r=l.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),o=d.bind(null,n),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),o=p.bind(null,n),r=function(){a(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function l(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=y(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),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,o=t.sourceMap;o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var r=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(r),i&&URL.revokeObjectURL(i)}var f={},b=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},v=b(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=b(function(){return document.head||document.getElementsByTagName("head")[0]}),C=null,_=0,h=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=r(e);return o(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],u=f[s.id];u.refs--,i.push(u)}if(e){var c=r(e);o(c,t)}for(var a=0;a<i.length;a++){var u=i[a];if(0===u.refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete f[u.id]}}}};var y=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(5)(),t.push([e.id,"._2Qep03_yqM2CZAcLCDAX1B{-webkit-box-align:center;align-items:center;box-sizing:border-box;background:#eceef1;border:none;border-radius:3px;color:#42526e;display:-webkit-box;display:flex;font-style:normal;font-size:14px;height:30px;line-height:30px;margin:0;outline:none;padding:0 10px;text-align:center;-webkit-transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .1s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:hover{background:#e5e8ec;cursor:pointer;-webkit-transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38);transition:background .2s ease-out,box-shadow .15s cubic-bezier(.47,.03,.49,1.38)}._2Qep03_yqM2CZAcLCDAX1B:active{background:#bfebff;-webkit-transition-duration:0s;transition-duration:0s}._2Qep03_yqM2CZAcLCDAX1B:focus{box-shadow:0 0 0 2px #0091ea;-webkit-transition-duration:0s,.2s;transition-duration:0s,.2s}._2Qep03_yqM2CZAcLCDAX1B:focus:active{box-shadow:0 0 0 0 #0091ea}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:hover{background:#1251ae}._2Qep03_yqM2CZAcLCDAX1B._3m6YegzVE32UQC6u2al8qi:active{background:#0074e0}._2Qep03_yqM2CZAcLCDAX1B.lW7gC7XXbUl_Ecxw8Lxr3:not(:hover):not(:focus):not(:active){background:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::content>*{pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ::slotted(*){pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu ._3ObqUJneuf6Rt8YYi8TMtb>*{pointer-events:none}._2Qep03_yqM2CZAcLCDAX1B.X0FrY0s5O-RgqksaF7Tvu:hover{cursor:not-allowed}._2Qep03_yqM2CZAcLCDAX1B.js8PpsWRWdOhVM_y5nAXE{background:#253858;color:#eceef1}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3{background:none;color:#165ecc;-webkit-transition:color .1s ease-out;transition:color .1s ease-out}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:hover{color:#0074e0;text-decoration:underline}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3:active{color:#0074e0;text-decoration:none}._2Qep03_yqM2CZAcLCDAX1B._1qEoQlodHpFGkbo3CBeUP3.X0FrY0s5O-RgqksaF7Tvu{color:#cfd4db;background:none}._2Qep03_yqM2CZAcLCDAX1B.gpG5B46WN9c_3VqYjaA_{height:22px;line-height:22px}",""]),t.locals={button:"_2Qep03_yqM2CZAcLCDAX1B",button:"_2Qep03_yqM2CZAcLCDAX1B",primary:"_3m6YegzVE32UQC6u2al8qi",primary:"_3m6YegzVE32UQC6u2al8qi",subtle:"lW7gC7XXbUl_Ecxw8Lxr3",subtle:"lW7gC7XXbUl_Ecxw8Lxr3",disabled:"X0FrY0s5O-RgqksaF7Tvu",disabled:"X0FrY0s5O-RgqksaF7Tvu",slot:"_3ObqUJneuf6Rt8YYi8TMtb",slot:"_3ObqUJneuf6Rt8YYi8TMtb",selected:"js8PpsWRWdOhVM_y5nAXE",selected:"js8PpsWRWdOhVM_y5nAXE",link:"_1qEoQlodHpFGkbo3CBeUP3",link:"_1qEoQlodHpFGkbo3CBeUP3",compact:"gpG5B46WN9c_3VqYjaA_",compact:"gpG5B46WN9c_3VqYjaA_"}},function(e,t){e.exports=n},function(e,t){e.exports=o}])});
{
"name": "ak-button",
"version": "0.5.2",
"version": "1.0.0",
"description": "ak-button webcomponent",

@@ -5,0 +5,0 @@ "main": "dist/bundle.js",

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