New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@leafygreen-ui/button

Package Overview
Dependencies
Maintainers
3
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafygreen-ui/button - npm Package Compare versions

Comparing version 2.2.6 to 2.3.0

dist/Button.d.ts

2

dist/index.js

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

!function(o,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("react"),require("prop-types"),require("@leafygreen-ui/theme"),require("@leafygreen-ui/lib"),require("polished"));else if("function"==typeof define&&define.amd)define(["react","prop-types","@leafygreen-ui/theme","@leafygreen-ui/lib","polished"],e);else{var r="object"==typeof exports?e(require("react"),require("prop-types"),require("@leafygreen-ui/theme"),require("@leafygreen-ui/lib"),require("polished")):e(o.react,o["prop-types"],o["@leafygreen-ui/theme"],o["@leafygreen-ui/lib"],o.polished);for(var n in r)("object"==typeof exports?exports:o)[n]=r[n]}}(window,function(o,e,r,n,t){return function(o){var e={};function r(n){if(e[n])return e[n].exports;var t=e[n]={i:n,l:!1,exports:{}};return o[n].call(t.exports,t,t.exports,r),t.l=!0,t.exports}return r.m=o,r.c=e,r.d=function(o,e,n){r.o(o,e)||Object.defineProperty(o,e,{enumerable:!0,get:n})},r.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,e){if(1&e&&(o=r(o)),8&e)return o;if(4&e&&"object"==typeof o&&o&&o.__esModule)return o;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:o}),2&e&&"string"!=typeof o)for(var t in o)r.d(n,t,function(e){return o[e]}.bind(null,t));return n},r.n=function(o){var e=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(e,"a",e),e},r.o=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)},r.p="",r(r.s=0)}([function(o,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var n,t=(n=r(1))&&n.__esModule?n:{default:n}},function(o,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,t=function(o){if(o&&o.__esModule)return o;var e={};if(null!=o)for(var r in o)if(Object.prototype.hasOwnProperty.call(o,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(o,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=o[r]}return e.default=o,e}(r(2)),a=(n=r(3))&&n.__esModule?n:{default:n},l=r(4),i=r(5),c=r(6);function d(o){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}function s(){return(s=Object.assign||function(o){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])}return o}).apply(this,arguments)}function g(o,e){if(null==o)return{};var r,n,t=function(o,e){if(null==o)return{};var r,n,t={},a=Object.keys(o);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(t[r]=o[r]);return t}(o,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(o,r)&&(t[r]=o[r])}return t}function u(o,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(o,n.key,n)}}function b(o,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(o):e}function f(o){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function p(o,e){return(p=Object.setPrototypeOf||function(o,e){return o.__proto__=e,o})(o,e)}function y(o,e,r){return e in o?Object.defineProperty(o,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[e]=r,o}var h=i.emotion.css,m=i.emotion.cx,x={default:h("color:",l.colors.gray[1],";background-color:",l.colors.mongodb.white,";background-image:linear-gradient( ",l.colors.mongodb.white,",",(0,c.lighten)(.2,l.colors.gray[5])," );border-color:",l.colors.gray[6],";box-shadow:inset 0 -1px 0 ",l.colors.gray[6],";&:focus,&:hover{&:not(:disabled){color:",l.colors.gray[0],";border-color:",l.colors.gray[5],";background-color:",l.colors.mongodb.white,";background-image:linear-gradient( ",(0,c.lighten)(.5,l.colors.gray[5]),",",(0,c.lighten)(.15,l.colors.gray[5])," );box-shadow:inset 0 -1px 0 ",l.colors.gray[5],",0 1px 4px rgba(0,0,0,0.1);}}&:active:not(:disabled){color:",l.colors.gray[1],";background-color:",l.colors.mongodb.white,";background-image:linear-gradient( ",(0,c.lighten)(.15,l.colors.gray[5]),",",(0,c.lighten)(.5,l.colors.gray[5])," );box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);border-color:",l.colors.gray[5],";}"),primary:h("color:",l.colors.mongodb.white,";background-color:",l.colors.green[2],";background-image:linear-gradient( ",l.colors.green[2],",",(0,c.lighten)(.025,l.colors.green[1])," );border-color:",(0,c.darken)(.02,l.colors.green[2]),";box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);&:focus,&:hover{&:not(:disabled){color:",l.colors.mongodb.white,";border-color:",(0,c.darken)(.07,l.colors.green[1]),";background-color:",(0,c.darken)(.05,l.colors.green[2]),";background-image:linear-gradient( ",(0,c.darken)(.025,l.colors.green[2]),",",(0,c.darken)(.025,l.colors.green[1])," );box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15),0 1px 4px rgba(0,0,0,0.1);}}&:active:not(:disabled){color:",l.colors.mongodb.white,";background-color:",l.colors.green[2],";background-image:linear-gradient( ",(0,c.darken)(.025,l.colors.green[1]),",",(0,c.darken)(.025,l.colors.green[2])," );border-color:",(0,c.darken)(.07,l.colors.green[1]),";box-shadow:inset 0 2px 2px rgba(0,0,0,0.2);}"),info:h("color:",l.colors.green[2],";background-color:transparent;background-image:none;border-color:",l.colors.green[2],";box-shadow:none;&:focus,&:hover{&:not(:disabled){color:",l.colors.mongodb.white,";background-color:",(0,c.darken)(.05,l.colors.green[2]),";background-image:linear-gradient( ",l.colors.green[2],",",(0,c.lighten)(.025,l.colors.green[1])," );border-color:",(0,c.darken)(.02,l.colors.green[1]),";box-shadow:inset 0 -1px rgba(0,0,0,0.15);}}&:active:not(:disabled){color:",l.colors.mongodb.white,";background-color:",l.colors.green[2],";background-image:linear-gradient( ",(0,c.darken)(.025,l.colors.green[1]),",",(0,c.darken)(.025,l.colors.green[2])," );border-color:",(0,c.darken)(.07,l.colors.green[1]),";box-shadow:inset 0 2px 2px rgba(0,0,0,0.2);}"),danger:h("color:",l.colors.mongodb.white,";background-color:#bd180f;background-image:linear-gradient( ",(0,c.darken)(.1,l.colors.mongodb.alertRed),",",(0,c.darken)(.2,l.colors.mongodb.alertRed)," );border-color:#97130c;box-shadow:inset 0 -1px 0 0 ",(0,c.darken)(.25,l.colors.mongodb.alertRed),";&:focus,&:hover{&:not(:disabled){color:",l.colors.mongodb.white,";background-color:",(0,c.darken)(.05,"#BD180F"),";background-image:linear-gradient( ",(0,c.darken)(.15,l.colors.mongodb.alertRed),",",(0,c.darken)(.25,l.colors.mongodb.alertRed)," );border-color:",(0,c.darken)(.1,"#BD180F"),";box-shadow:0 1px 4px rgba(0,0,0,0.1),inset 0 -1px 0 ",(0,c.darken)(.25,l.colors.mongodb.alertRed),";}}&:active:not(:disabled){color:",l.colors.mongodb.white,";background-color:#bd180f;background-image:linear-gradient( ",(0,c.darken)(.2,l.colors.mongodb.alertRed),",",(0,c.darken)(.1,l.colors.mongodb.alertRed)," );box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);border-color:#97130c;}"),dark:h("color:",l.colors.mongodb.white,";border-color:",l.colors.gray[0],";background-image:linear-gradient(",l.colors.gray[3],",",l.colors.gray[1],");box-shadow:inset 0 -1px 0 ",l.colors.gray[0],";&:focus,&:hover{&:not(:disabled){color:",l.colors.mongodb.white,";background-image:linear-gradient(#7c7f82,#41474a);border-color:#303030;box-shadow:inset 0 -1px 0 ",l.colors.gray[0],";}}&:active:not(:disabled){color:",l.colors.mongodb.white,";background-image:linear-gradient(",l.colors.gray[1],",",l.colors.gray[3],");border-color:",l.colors.gray[0],";box-shadow:inset 0 -1px 0 ",l.colors.gray[0],";}")},k={xsmall:h("height:22px;padding:0 8px;font-size:11px;line-height:21px;text-transform:uppercase;font-weight:bold;"),small:h("height:25px;padding:0 10px;line-height:23px;"),normal:h("height:32px;padding:0 12px;font-size:14px;line-height:32px;text-transform:none;font-weight:normal;"),large:h("height:45px;line-height:44px;font-size:16px;padding:0 20px;")},w=h("color:",l.colors.gray[1],";background-color:",l.colors.mongodb.white,";background-image:linear-gradient( ",l.colors.mongodb.white,",",(0,c.lighten)(.2,l.colors.gray[5])," );border:1px solid ",l.colors.gray[6],"};box-shadow:inset 0 -1px 0 ",l.colors.gray[6],";height:32px;padding:0 12px;font-size:14px;line-height:32px;text-transform:none;font-weight:normal;font-family:Akzidenz,'Helvetica Neue',Helvetica,Arial,sans-serif;box-sizing:border-box;border-radius:3px;display:inline-block;transition:all 120ms ease;text-decoration:none;cursor:pointer;&:disabled{color:",l.colors.gray[3],";border-color:",l.colors.gray[5],";background-color:",l.colors.gray[7],";background-image:none;box-shadow:none;cursor:not-allowed;}&:focus,&:hover{&:not(:disabled){color:",l.colors.gray[0],";border-color:",l.colors.gray[5],";background-color:",l.colors.mongodb.white,";background-image:linear-gradient( ",(0,c.lighten)(.5,l.colors.gray[5]),",",(0,c.lighten)(.15,l.colors.gray[5])," );box-shadow:inset 0 -1px 0 ",l.colors.gray[5],",0 1px 4px rgba(0,0,0,0.1);outline:none;}}&:active:not(:disabled){border-color:",l.colors.gray[5],";background-color:linear-gradient( ",(0,c.lighten)(.15,l.colors.gray[5]),",",(0,c.lighten)(.5,l.colors.gray[5])," );box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);outline:none;}"),v=function(o){function e(){return function(o,e){if(!(o instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),b(this,f(e).apply(this,arguments))}var r,n,a;return function(o,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),e&&p(o,e)}(e,t.Component),r=e,(n=[{key:"render",value:function(){var o=this.props,e=o.className,r=o.children,n=o.disabled,a=o.variant,l=o.size,i=o.as,c=o.href,d=g(o,["className","children","disabled","variant","size","as","href"]),u=c?"a":"button";return i&&(u=i),t.default.createElement(u,s({},d,{href:c,className:m(w,k[l],x[a],e),disabled:n,"aria-disabled":n}),r)}}])&&u(r.prototype,n),a&&u(r,a),e}();e.default=v,y(v,"displayName","Button"),y(v,"propTypes",{variant:a.default.oneOf(["default","primary","info","danger","dark"]),size:a.default.oneOf(["xsmall","small","normal","large"]),className:a.default.string,children:a.default.node,disabled:a.default.bool,as:a.default.oneOfType([a.default.string,a.default.element]),href:a.default.string}),y(v,"defaultProps",{variant:"default",size:"normal",className:"",children:null,disabled:!1,type:"button"})},function(e,r){e.exports=o},function(o,r){o.exports=e},function(o,e){o.exports=r},function(o,e){o.exports=n},function(o,e){o.exports=t}])});
!function(r,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("prop-types"),require("@leafygreen-ui/theme"),require("@leafygreen-ui/emotion"),require("polished"));else if("function"==typeof define&&define.amd)define(["react","prop-types","@leafygreen-ui/theme","@leafygreen-ui/emotion","polished"],t);else{var e="object"==typeof exports?t(require("react"),require("prop-types"),require("@leafygreen-ui/theme"),require("@leafygreen-ui/emotion"),require("polished")):t(r.react,r["prop-types"],r["@leafygreen-ui/theme"],r["@leafygreen-ui/emotion"],r.polished);for(var o in e)("object"==typeof exports?exports:r)[o]=e[o]}}(window,function(r,t,e,o,n){return function(r){var t={};function e(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return r[o].call(n.exports,n,n.exports,e),n.l=!0,n.exports}return e.m=r,e.c=t,e.d=function(r,t,o){e.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:o})},e.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},e.t=function(r,t){if(1&t&&(r=e(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var n in r)e.d(o,n,function(t){return r[t]}.bind(null,n));return o},e.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(t,"a",t),t},e.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},e.p="",e(e.s=46)}([function(r,t,e){var o=e(28),n="object"==typeof self&&self&&self.Object===Object&&self,a=o||n||Function("return this")();r.exports=a},function(r,t,e){var o=e(66),n=e(72);r.exports=function(r,t){var e=n(r,t);return o(e)?e:void 0}},function(r,t){r.exports=function(r){return null!=r&&"object"==typeof r}},function(r,t){var e=Array.isArray;r.exports=e},function(r,t,e){var o=e(5),n=e(68),a=e(69),c="[object Null]",i="[object Undefined]",u=o?o.toStringTag:void 0;r.exports=function(r){return null==r?void 0===r?i:c:u&&u in Object(r)?n(r):a(r)}},function(r,t,e){var o=e(0).Symbol;r.exports=o},function(r,t){r.exports=function(r){var t=typeof r;return null!=r&&("object"==t||"function"==t)}},function(r,t,e){var o=e(31),n=e(32);r.exports=function(r,t,e,a){var c=!e;e||(e={});for(var i=-1,u=t.length;++i<u;){var s=t[i],f=a?a(e[s],r[s],s,e,r):void 0;void 0===f&&(f=r[s]),c?n(e,s,f):o(e,s,f)}return e}},function(r,t,e){var o=e(56),n=e(57),a=e(58),c=e(59),i=e(60);function u(r){var t=-1,e=null==r?0:r.length;for(this.clear();++t<e;){var o=r[t];this.set(o[0],o[1])}}u.prototype.clear=o,u.prototype.delete=n,u.prototype.get=a,u.prototype.has=c,u.prototype.set=i,r.exports=u},function(r,t,e){var o=e(26);r.exports=function(r,t){for(var e=r.length;e--;)if(o(r[e][0],t))return e;return-1}},function(r,t,e){var o=e(1)(Object,"create");r.exports=o},function(r,t,e){var o=e(81);r.exports=function(r,t){var e=r.__data__;return o(t)?e["string"==typeof t?"string":"hash"]:e.map}},function(r,t,e){var o=e(1)(e(0),"Map");r.exports=o},function(r,t,e){var o=e(34),n=e(93),a=e(39);r.exports=function(r){return a(r)?o(r):n(r)}},function(r,t){r.exports=function(r){return r.webpackPolyfill||(r.deprecate=function(){},r.paths=[],r.children||(r.children=[]),Object.defineProperty(r,"loaded",{enumerable:!0,get:function(){return r.l}}),Object.defineProperty(r,"id",{enumerable:!0,get:function(){return r.i}}),r.webpackPolyfill=1),r}},function(r,t){r.exports=function(r){return function(t){return r(t)}}},function(r,t,e){(function(r){var o=e(28),n=t&&!t.nodeType&&t,a=n&&"object"==typeof r&&r&&!r.nodeType&&r,c=a&&a.exports===n&&o.process,i=function(){try{var r=a&&a.require&&a.require("util").types;return r||c&&c.binding&&c.binding("util")}catch(r){}}();r.exports=i}).call(this,e(14)(r))},function(r,t){var e=Object.prototype;r.exports=function(r){var t=r&&r.constructor;return r===("function"==typeof t&&t.prototype||e)}},function(r,t,e){var o=e(101),n=e(41),a=Object.prototype.propertyIsEnumerable,c=Object.getOwnPropertySymbols,i=c?function(r){return null==r?[]:(r=Object(r),o(c(r),function(t){return a.call(r,t)}))}:n;r.exports=i},function(r,t){r.exports=function(r,t){for(var e=-1,o=t.length,n=r.length;++e<o;)r[n+e]=t[e];return r}},function(r,t,e){var o=e(38)(Object.getPrototypeOf,Object);r.exports=o},function(r,t,e){var o=e(104),n=e(12),a=e(105),c=e(106),i=e(107),u=e(4),s=e(29),f=s(o),l=s(n),p=s(a),d=s(c),b=s(i),v=u;(o&&"[object DataView]"!=v(new o(new ArrayBuffer(1)))||n&&"[object Map]"!=v(new n)||a&&"[object Promise]"!=v(a.resolve())||c&&"[object Set]"!=v(new c)||i&&"[object WeakMap]"!=v(new i))&&(v=function(r){var t=u(r),e="[object Object]"==t?r.constructor:void 0,o=e?s(e):"";if(o)switch(o){case f:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case b:return"[object WeakMap]"}return t}),r.exports=v},function(r,t,e){var o=e(110);r.exports=function(r){var t=new r.constructor(r.byteLength);return new o(t).set(new o(r)),t}},function(r,t,e){var o=e(3),n=e(122),a=e(123),c=e(126);r.exports=function(r,t){return o(r)?r:n(r,t)?[r]:a(c(r))}},function(r,t,e){var o=e(4),n=e(2),a="[object Symbol]";r.exports=function(r){return"symbol"==typeof r||n(r)&&o(r)==a}},function(r,t){r.exports=function(r,t){for(var e=-1,o=null==r?0:r.length,n=Array(o);++e<o;)n[e]=t(r[e],e,r);return n}},function(r,t){r.exports=function(r,t){return r===t||r!=r&&t!=t}},function(r,t,e){var o=e(4),n=e(6),a="[object AsyncFunction]",c="[object Function]",i="[object GeneratorFunction]",u="[object Proxy]";r.exports=function(r){if(!n(r))return!1;var t=o(r);return t==c||t==i||t==a||t==u}},function(r,t,e){(function(t){var e="object"==typeof t&&t&&t.Object===Object&&t;r.exports=e}).call(this,e(67))},function(r,t){var e=Function.prototype.toString;r.exports=function(r){if(null!=r){try{return e.call(r)}catch(r){}try{return r+""}catch(r){}}return""}},function(r,t,e){var o=e(73),n=e(80),a=e(82),c=e(83),i=e(84);function u(r){var t=-1,e=null==r?0:r.length;for(this.clear();++t<e;){var o=r[t];this.set(o[0],o[1])}}u.prototype.clear=o,u.prototype.delete=n,u.prototype.get=a,u.prototype.has=c,u.prototype.set=i,r.exports=u},function(r,t,e){var o=e(32),n=e(26),a=Object.prototype.hasOwnProperty;r.exports=function(r,t,e){var c=r[t];a.call(r,t)&&n(c,e)&&(void 0!==e||t in r)||o(r,t,e)}},function(r,t,e){var o=e(33);r.exports=function(r,t,e){"__proto__"==t&&o?o(r,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):r[t]=e}},function(r,t,e){var o=e(1),n=function(){try{var r=o(Object,"defineProperty");return r({},"",{}),r}catch(r){}}();r.exports=n},function(r,t,e){var o=e(87),n=e(35),a=e(3),c=e(36),i=e(90),u=e(91),s=Object.prototype.hasOwnProperty;r.exports=function(r,t){var e=a(r),f=!e&&n(r),l=!e&&!f&&c(r),p=!e&&!f&&!l&&u(r),d=e||f||l||p,b=d?o(r.length,String):[],v=b.length;for(var g in r)!t&&!s.call(r,g)||d&&("length"==g||l&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||i(g,v))||b.push(g);return b}},function(r,t,e){var o=e(88),n=e(2),a=Object.prototype,c=a.hasOwnProperty,i=a.propertyIsEnumerable,u=o(function(){return arguments}())?o:function(r){return n(r)&&c.call(r,"callee")&&!i.call(r,"callee")};r.exports=u},function(r,t,e){(function(r){var o=e(0),n=e(89),a=t&&!t.nodeType&&t,c=a&&"object"==typeof r&&r&&!r.nodeType&&r,i=c&&c.exports===a?o.Buffer:void 0,u=(i?i.isBuffer:void 0)||n;r.exports=u}).call(this,e(14)(r))},function(r,t){var e=9007199254740991;r.exports=function(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=e}},function(r,t){r.exports=function(r,t){return function(e){return r(t(e))}}},function(r,t,e){var o=e(27),n=e(37);r.exports=function(r){return null!=r&&n(r.length)&&!o(r)}},function(r,t,e){var o=e(34),n=e(96),a=e(39);r.exports=function(r){return a(r)?o(r,!0):n(r)}},function(r,t){r.exports=function(){return[]}},function(r,t,e){var o=e(19),n=e(20),a=e(18),c=e(41),i=Object.getOwnPropertySymbols?function(r){for(var t=[];r;)o(t,a(r)),r=n(r);return t}:c;r.exports=i},function(r,t,e){var o=e(19),n=e(3);r.exports=function(r,t,e){var a=t(r);return n(r)?a:o(a,e(r))}},function(r,t,e){var o=e(43),n=e(42),a=e(40);r.exports=function(r){return o(r,a,n)}},function(r,t,e){var o=e(24),n=1/0;r.exports=function(r){if("string"==typeof r||o(r))return r;var t=r+"";return"0"==t&&1/r==-n?"-0":t}},function(r,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Size",{enumerable:!0,get:function(){return o.Size}}),Object.defineProperty(t,"Variant",{enumerable:!0,get:function(){return o.Variant}}),t.default=void 0;var o=function(r){if(r&&r.__esModule)return r;var t={};if(null!=r)for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(r,e):{};o.get||o.set?Object.defineProperty(t,e,o):t[e]=r[e]}return t.default=r,t}(e(47));var n=o.default;t.default=n},function(r,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=x,t.Size=t.Variant=void 0;var o,n,a=l(e(48)),c=l(e(49)),i=e(50),u=e(51),s=e(52),f=l(e(53));function l(r){return r&&r.__esModule?r:{default:r}}function p(){return(p=Object.assign||function(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}).apply(this,arguments)}function d(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var b={Default:"default",Primary:"primary",Info:"info",Danger:"danger",Dark:"dark"};t.Variant=b;var v={XSmall:"xsmall",Small:"small",Normal:"normal",Large:"large"};t.Size=v;var g=(d(o={},b.Default,(0,u.css)("color:",i.colors.gray[1],";background-color:",i.colors.mongodb.white,";background-image:linear-gradient( ",i.colors.mongodb.white,",",(0,s.lighten)(.2,i.colors.gray[5])," );border-color:",i.colors.gray[6],";box-shadow:inset 0 -1px 0 ",i.colors.gray[6],";&:focus,&:hover{&:not(:disabled){color:",i.colors.gray[0],";border-color:",i.colors.gray[5],";background-color:",i.colors.mongodb.white,";background-image:linear-gradient( ",(0,s.lighten)(.5,i.colors.gray[5]),",",(0,s.lighten)(.15,i.colors.gray[5])," );box-shadow:inset 0 -1px 0 ",i.colors.gray[5],",0 1px 4px rgba(0,0,0,0.1);}}&:active:not(:disabled){color:",i.colors.gray[1],";background-color:",i.colors.mongodb.white,";background-image:linear-gradient( ",(0,s.lighten)(.15,i.colors.gray[5]),",",(0,s.lighten)(.5,i.colors.gray[5])," );box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);border-color:",i.colors.gray[5],";}")),d(o,b.Primary,(0,u.css)("color:",i.colors.mongodb.white,";background-color:",i.colors.green[2],";background-image:linear-gradient( ",i.colors.green[2],",",(0,s.lighten)(.025,i.colors.green[1])," );border-color:",(0,s.darken)(.02,i.colors.green[2]),";box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);&:focus,&:hover{&:not(:disabled){color:",i.colors.mongodb.white,";border-color:",(0,s.darken)(.07,i.colors.green[1]),";background-color:",(0,s.darken)(.05,i.colors.green[2]),";background-image:linear-gradient( ",(0,s.darken)(.025,i.colors.green[2]),",",(0,s.darken)(.025,i.colors.green[1])," );box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15),0 1px 4px rgba(0,0,0,0.1);}}&:active:not(:disabled){color:",i.colors.mongodb.white,";background-color:",i.colors.green[2],";background-image:linear-gradient( ",(0,s.darken)(.025,i.colors.green[1]),",",(0,s.darken)(.025,i.colors.green[2])," );border-color:",(0,s.darken)(.07,i.colors.green[1]),";box-shadow:inset 0 2px 2px rgba(0,0,0,0.2);}")),d(o,b.Info,(0,u.css)("color:",i.colors.green[2],";background-color:transparent;background-image:none;border-color:",i.colors.green[2],";box-shadow:none;&:focus,&:hover{&:not(:disabled){color:",i.colors.mongodb.white,";background-color:",(0,s.darken)(.05,i.colors.green[2]),";background-image:linear-gradient( ",i.colors.green[2],",",(0,s.lighten)(.025,i.colors.green[1])," );border-color:",(0,s.darken)(.02,i.colors.green[1]),";box-shadow:inset 0 -1px rgba(0,0,0,0.15);}}&:active:not(:disabled){color:",i.colors.mongodb.white,";background-color:",i.colors.green[2],";background-image:linear-gradient( ",(0,s.darken)(.025,i.colors.green[1]),",",(0,s.darken)(.025,i.colors.green[2])," );border-color:",(0,s.darken)(.07,i.colors.green[1]),";box-shadow:inset 0 2px 2px rgba(0,0,0,0.2);}")),d(o,b.Danger,(0,u.css)("color:",i.colors.mongodb.white,";background-color:#bd180f;background-image:linear-gradient( ",(0,s.darken)(.1,i.colors.mongodb.alertRed),",",(0,s.darken)(.2,i.colors.mongodb.alertRed)," );border-color:#97130c;box-shadow:inset 0 -1px 0 0 ",(0,s.darken)(.25,i.colors.mongodb.alertRed),";&:focus,&:hover{&:not(:disabled){color:",i.colors.mongodb.white,";background-color:",(0,s.darken)(.05,"#BD180F"),";background-image:linear-gradient( ",(0,s.darken)(.15,i.colors.mongodb.alertRed),",",(0,s.darken)(.25,i.colors.mongodb.alertRed)," );border-color:",(0,s.darken)(.1,"#BD180F"),";box-shadow:0 1px 4px rgba(0,0,0,0.1),inset 0 -1px 0 ",(0,s.darken)(.25,i.colors.mongodb.alertRed),";}}&:active:not(:disabled){color:",i.colors.mongodb.white,";background-color:#bd180f;background-image:linear-gradient( ",(0,s.darken)(.2,i.colors.mongodb.alertRed),",",(0,s.darken)(.1,i.colors.mongodb.alertRed)," );box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);border-color:#97130c;}")),d(o,b.Dark,(0,u.css)("color:",i.colors.mongodb.white,";border-color:",i.colors.gray[0],";background-image:linear-gradient(",i.colors.gray[3],",",i.colors.gray[1],");box-shadow:inset 0 -1px 0 ",i.colors.gray[0],";&:focus,&:hover{&:not(:disabled){color:",i.colors.mongodb.white,";background-image:linear-gradient(#7c7f82,#41474a);border-color:#303030;box-shadow:inset 0 -1px 0 ",i.colors.gray[0],";}}&:active:not(:disabled){color:",i.colors.mongodb.white,";background-image:linear-gradient(",i.colors.gray[1],",",i.colors.gray[3],");border-color:",i.colors.gray[0],";box-shadow:inset 0 -1px 0 ",i.colors.gray[0],";}")),o),y=(d(n={},v.XSmall,(0,u.css)("height:22px;padding:0 8px;font-size:11px;line-height:21px;text-transform:uppercase;font-weight:bold;")),d(n,v.Small,(0,u.css)("height:25px;padding:0 10px;line-height:23px;")),d(n,v.Normal,(0,u.css)("height:32px;padding:0 12px;font-size:14px;line-height:32px;text-transform:none;font-weight:normal;")),d(n,v.Large,(0,u.css)("height:45px;line-height:44px;font-size:16px;padding:0 20px;")),n),h=(0,u.css)("border:1px solid ",i.colors.gray[6],"};box-shadow:inset 0 -1px 0 ",i.colors.gray[6],";height:32px;padding:0 12px;font-size:14px;line-height:32px;text-transform:none;font-weight:normal;font-family:Akzidenz,'Helvetica Neue',Helvetica,Arial,sans-serif;box-sizing:border-box;border-radius:3px;display:inline-block;transition:all 120ms ease;text-decoration:none;cursor:pointer;&:disabled{color:",i.colors.gray[3],";border-color:",i.colors.gray[5],";background-color:",i.colors.gray[7],";background-image:none;box-shadow:none;cursor:not-allowed;}");function x(r){var t=r.className,e=void 0===t?"":t,o=r.children,n=void 0===o?null:o,c=r.disabled,i=void 0!==c&&c,s=r.variant,l=void 0===s?b.Default:s,d=r.size,x=void 0===d?v.Normal:d,j={className:(0,u.cx)(h,y[x],g[l],e),disabled:i,"aria-disabled":i},m=(0,f.default)(r,["as","className","disabled","size","variant","children"]);if(function(r){return null!=r.as}(r)){var _=r.as;return a.default.createElement(_,p({},m,j),n)}return function(r){return null!=r.href}(r)?a.default.createElement("a",p({},m,j),n):a.default.createElement("button",p({type:"button"},m,j),n)}x.propTypes={variant:c.default.oneOf(["default","primary","info","danger","dark"]),size:c.default.oneOf(["xsmall","small","normal","large"]),className:c.default.string,children:c.default.node,disabled:c.default.bool,as:c.default.oneOfType([c.default.string,c.default.func]),href:c.default.string},x.displayName="Button"},function(t,e){t.exports=r},function(r,e){r.exports=t},function(r,t){r.exports=e},function(r,t){r.exports=o},function(r,t){r.exports=n},function(r,t,e){var o=e(25),n=e(54),a=e(121),c=e(23),i=e(7),u=e(132),s=e(134),f=e(44),l=s(function(r,t){var e={};if(null==r)return e;var s=!1;t=o(t,function(t){return t=c(t,r),s||(s=t.length>1),t}),i(r,f(r),e),s&&(e=n(e,7,u));for(var l=t.length;l--;)a(e,t[l]);return e});r.exports=l},function(r,t,e){var o=e(55),n=e(85),a=e(31),c=e(86),i=e(95),u=e(98),s=e(99),f=e(100),l=e(102),p=e(103),d=e(44),b=e(21),v=e(108),g=e(109),y=e(115),h=e(3),x=e(36),j=e(117),m=e(6),_=e(119),w=e(13),O=1,k=2,A=4,P="[object Arguments]",S="[object Function]",z="[object GeneratorFunction]",M="[object Object]",D={};D[P]=D["[object Array]"]=D["[object ArrayBuffer]"]=D["[object DataView]"]=D["[object Boolean]"]=D["[object Date]"]=D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Map]"]=D["[object Number]"]=D[M]=D["[object RegExp]"]=D["[object Set]"]=D["[object String]"]=D["[object Symbol]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D["[object Error]"]=D[S]=D["[object WeakMap]"]=!1,r.exports=function r(t,e,F,I,E,T){var U,B=e&O,N=e&k,R=e&A;if(F&&(U=E?F(t,I,E,T):F(t)),void 0!==U)return U;if(!m(t))return t;var q=h(t);if(q){if(U=v(t),!B)return s(t,U)}else{var $=b(t),V=$==S||$==z;if(x(t))return u(t,B);if($==M||$==P||V&&!E){if(U=N||V?{}:y(t),!B)return N?l(t,i(U,t)):f(t,c(U,t))}else{if(!D[$])return E?t:{};U=g(t,$,B)}}T||(T=new o);var C=T.get(t);if(C)return C;if(T.set(t,U),_(t))return t.forEach(function(o){U.add(r(o,e,F,o,t,T))}),U;if(j(t))return t.forEach(function(o,n){U.set(n,r(o,e,F,n,t,T))}),U;var L=R?N?d:p:N?keysIn:w,W=q?void 0:L(t);return n(W||t,function(o,n){W&&(o=t[n=o]),a(U,n,r(o,e,F,n,t,T))}),U}},function(r,t,e){var o=e(8),n=e(61),a=e(62),c=e(63),i=e(64),u=e(65);function s(r){var t=this.__data__=new o(r);this.size=t.size}s.prototype.clear=n,s.prototype.delete=a,s.prototype.get=c,s.prototype.has=i,s.prototype.set=u,r.exports=s},function(r,t){r.exports=function(){this.__data__=[],this.size=0}},function(r,t,e){var o=e(9),n=Array.prototype.splice;r.exports=function(r){var t=this.__data__,e=o(t,r);return!(e<0||(e==t.length-1?t.pop():n.call(t,e,1),--this.size,0))}},function(r,t,e){var o=e(9);r.exports=function(r){var t=this.__data__,e=o(t,r);return e<0?void 0:t[e][1]}},function(r,t,e){var o=e(9);r.exports=function(r){return o(this.__data__,r)>-1}},function(r,t,e){var o=e(9);r.exports=function(r,t){var e=this.__data__,n=o(e,r);return n<0?(++this.size,e.push([r,t])):e[n][1]=t,this}},function(r,t,e){var o=e(8);r.exports=function(){this.__data__=new o,this.size=0}},function(r,t){r.exports=function(r){var t=this.__data__,e=t.delete(r);return this.size=t.size,e}},function(r,t){r.exports=function(r){return this.__data__.get(r)}},function(r,t){r.exports=function(r){return this.__data__.has(r)}},function(r,t,e){var o=e(8),n=e(12),a=e(30),c=200;r.exports=function(r,t){var e=this.__data__;if(e instanceof o){var i=e.__data__;if(!n||i.length<c-1)return i.push([r,t]),this.size=++e.size,this;e=this.__data__=new a(i)}return e.set(r,t),this.size=e.size,this}},function(r,t,e){var o=e(27),n=e(70),a=e(6),c=e(29),i=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,f=u.toString,l=s.hasOwnProperty,p=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");r.exports=function(r){return!(!a(r)||n(r))&&(o(r)?p:i).test(c(r))}},function(r,t){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(r){"object"==typeof window&&(e=window)}r.exports=e},function(r,t,e){var o=e(5),n=Object.prototype,a=n.hasOwnProperty,c=n.toString,i=o?o.toStringTag:void 0;r.exports=function(r){var t=a.call(r,i),e=r[i];try{r[i]=void 0;var o=!0}catch(r){}var n=c.call(r);return o&&(t?r[i]=e:delete r[i]),n}},function(r,t){var e=Object.prototype.toString;r.exports=function(r){return e.call(r)}},function(r,t,e){var o,n=e(71),a=(o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";r.exports=function(r){return!!a&&a in r}},function(r,t,e){var o=e(0)["__core-js_shared__"];r.exports=o},function(r,t){r.exports=function(r,t){return null==r?void 0:r[t]}},function(r,t,e){var o=e(74),n=e(8),a=e(12);r.exports=function(){this.size=0,this.__data__={hash:new o,map:new(a||n),string:new o}}},function(r,t,e){var o=e(75),n=e(76),a=e(77),c=e(78),i=e(79);function u(r){var t=-1,e=null==r?0:r.length;for(this.clear();++t<e;){var o=r[t];this.set(o[0],o[1])}}u.prototype.clear=o,u.prototype.delete=n,u.prototype.get=a,u.prototype.has=c,u.prototype.set=i,r.exports=u},function(r,t,e){var o=e(10);r.exports=function(){this.__data__=o?o(null):{},this.size=0}},function(r,t){r.exports=function(r){var t=this.has(r)&&delete this.__data__[r];return this.size-=t?1:0,t}},function(r,t,e){var o=e(10),n="__lodash_hash_undefined__",a=Object.prototype.hasOwnProperty;r.exports=function(r){var t=this.__data__;if(o){var e=t[r];return e===n?void 0:e}return a.call(t,r)?t[r]:void 0}},function(r,t,e){var o=e(10),n=Object.prototype.hasOwnProperty;r.exports=function(r){var t=this.__data__;return o?void 0!==t[r]:n.call(t,r)}},function(r,t,e){var o=e(10),n="__lodash_hash_undefined__";r.exports=function(r,t){var e=this.__data__;return this.size+=this.has(r)?0:1,e[r]=o&&void 0===t?n:t,this}},function(r,t,e){var o=e(11);r.exports=function(r){var t=o(this,r).delete(r);return this.size-=t?1:0,t}},function(r,t){r.exports=function(r){var t=typeof r;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==r:null===r}},function(r,t,e){var o=e(11);r.exports=function(r){return o(this,r).get(r)}},function(r,t,e){var o=e(11);r.exports=function(r){return o(this,r).has(r)}},function(r,t,e){var o=e(11);r.exports=function(r,t){var e=o(this,r),n=e.size;return e.set(r,t),this.size+=e.size==n?0:1,this}},function(r,t){r.exports=function(r,t){for(var e=-1,o=null==r?0:r.length;++e<o&&!1!==t(r[e],e,r););return r}},function(r,t,e){var o=e(7),n=e(13);r.exports=function(r,t){return r&&o(t,n(t),r)}},function(r,t){r.exports=function(r,t){for(var e=-1,o=Array(r);++e<r;)o[e]=t(e);return o}},function(r,t,e){var o=e(4),n=e(2),a="[object Arguments]";r.exports=function(r){return n(r)&&o(r)==a}},function(r,t){r.exports=function(){return!1}},function(r,t){var e=9007199254740991,o=/^(?:0|[1-9]\d*)$/;r.exports=function(r,t){var n=typeof r;return!!(t=null==t?e:t)&&("number"==n||"symbol"!=n&&o.test(r))&&r>-1&&r%1==0&&r<t}},function(r,t,e){var o=e(92),n=e(15),a=e(16),c=a&&a.isTypedArray,i=c?n(c):o;r.exports=i},function(r,t,e){var o=e(4),n=e(37),a=e(2),c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c["[object Arguments]"]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c["[object Map]"]=c["[object Number]"]=c["[object Object]"]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1,r.exports=function(r){return a(r)&&n(r.length)&&!!c[o(r)]}},function(r,t,e){var o=e(17),n=e(94),a=Object.prototype.hasOwnProperty;r.exports=function(r){if(!o(r))return n(r);var t=[];for(var e in Object(r))a.call(r,e)&&"constructor"!=e&&t.push(e);return t}},function(r,t,e){var o=e(38)(Object.keys,Object);r.exports=o},function(r,t,e){var o=e(7),n=e(40);r.exports=function(r,t){return r&&o(t,n(t),r)}},function(r,t,e){var o=e(6),n=e(17),a=e(97),c=Object.prototype.hasOwnProperty;r.exports=function(r){if(!o(r))return a(r);var t=n(r),e=[];for(var i in r)("constructor"!=i||!t&&c.call(r,i))&&e.push(i);return e}},function(r,t){r.exports=function(r){var t=[];if(null!=r)for(var e in Object(r))t.push(e);return t}},function(r,t,e){(function(r){var o=e(0),n=t&&!t.nodeType&&t,a=n&&"object"==typeof r&&r&&!r.nodeType&&r,c=a&&a.exports===n?o.Buffer:void 0,i=c?c.allocUnsafe:void 0;r.exports=function(r,t){if(t)return r.slice();var e=r.length,o=i?i(e):new r.constructor(e);return r.copy(o),o}}).call(this,e(14)(r))},function(r,t){r.exports=function(r,t){var e=-1,o=r.length;for(t||(t=Array(o));++e<o;)t[e]=r[e];return t}},function(r,t,e){var o=e(7),n=e(18);r.exports=function(r,t){return o(r,n(r),t)}},function(r,t){r.exports=function(r,t){for(var e=-1,o=null==r?0:r.length,n=0,a=[];++e<o;){var c=r[e];t(c,e,r)&&(a[n++]=c)}return a}},function(r,t,e){var o=e(7),n=e(42);r.exports=function(r,t){return o(r,n(r),t)}},function(r,t,e){var o=e(43),n=e(18),a=e(13);r.exports=function(r){return o(r,a,n)}},function(r,t,e){var o=e(1)(e(0),"DataView");r.exports=o},function(r,t,e){var o=e(1)(e(0),"Promise");r.exports=o},function(r,t,e){var o=e(1)(e(0),"Set");r.exports=o},function(r,t,e){var o=e(1)(e(0),"WeakMap");r.exports=o},function(r,t){var e=Object.prototype.hasOwnProperty;r.exports=function(r){var t=r.length,o=new r.constructor(t);return t&&"string"==typeof r[0]&&e.call(r,"index")&&(o.index=r.index,o.input=r.input),o}},function(r,t,e){var o=e(22),n=e(111),a=e(112),c=e(113),i=e(114),u="[object Boolean]",s="[object Date]",f="[object Map]",l="[object Number]",p="[object RegExp]",d="[object Set]",b="[object String]",v="[object Symbol]",g="[object ArrayBuffer]",y="[object DataView]",h="[object Float32Array]",x="[object Float64Array]",j="[object Int8Array]",m="[object Int16Array]",_="[object Int32Array]",w="[object Uint8Array]",O="[object Uint8ClampedArray]",k="[object Uint16Array]",A="[object Uint32Array]";r.exports=function(r,t,e){var P=r.constructor;switch(t){case g:return o(r);case u:case s:return new P(+r);case y:return n(r,e);case h:case x:case j:case m:case _:case w:case O:case k:case A:return i(r,e);case f:return new P;case l:case b:return new P(r);case p:return a(r);case d:return new P;case v:return c(r)}}},function(r,t,e){var o=e(0).Uint8Array;r.exports=o},function(r,t,e){var o=e(22);r.exports=function(r,t){var e=t?o(r.buffer):r.buffer;return new r.constructor(e,r.byteOffset,r.byteLength)}},function(r,t){var e=/\w*$/;r.exports=function(r){var t=new r.constructor(r.source,e.exec(r));return t.lastIndex=r.lastIndex,t}},function(r,t,e){var o=e(5),n=o?o.prototype:void 0,a=n?n.valueOf:void 0;r.exports=function(r){return a?Object(a.call(r)):{}}},function(r,t,e){var o=e(22);r.exports=function(r,t){var e=t?o(r.buffer):r.buffer;return new r.constructor(e,r.byteOffset,r.length)}},function(r,t,e){var o=e(116),n=e(20),a=e(17);r.exports=function(r){return"function"!=typeof r.constructor||a(r)?{}:o(n(r))}},function(r,t,e){var o=e(6),n=Object.create,a=function(){function r(){}return function(t){if(!o(t))return{};if(n)return n(t);r.prototype=t;var e=new r;return r.prototype=void 0,e}}();r.exports=a},function(r,t,e){var o=e(118),n=e(15),a=e(16),c=a&&a.isMap,i=c?n(c):o;r.exports=i},function(r,t,e){var o=e(21),n=e(2),a="[object Map]";r.exports=function(r){return n(r)&&o(r)==a}},function(r,t,e){var o=e(120),n=e(15),a=e(16),c=a&&a.isSet,i=c?n(c):o;r.exports=i},function(r,t,e){var o=e(21),n=e(2),a="[object Set]";r.exports=function(r){return n(r)&&o(r)==a}},function(r,t,e){var o=e(23),n=e(128),a=e(129),c=e(45);r.exports=function(r,t){return t=o(t,r),null==(r=a(r,t))||delete r[c(n(t))]}},function(r,t,e){var o=e(3),n=e(24),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;r.exports=function(r,t){if(o(r))return!1;var e=typeof r;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=r&&!n(r))||c.test(r)||!a.test(r)||null!=t&&r in Object(t)}},function(r,t,e){var o=e(124),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,c=o(function(r){var t=[];return 46===r.charCodeAt(0)&&t.push(""),r.replace(n,function(r,e,o,n){t.push(o?n.replace(a,"$1"):e||r)}),t});r.exports=c},function(r,t,e){var o=e(125),n=500;r.exports=function(r){var t=o(r,function(r){return e.size===n&&e.clear(),r}),e=t.cache;return t}},function(r,t,e){var o=e(30),n="Expected a function";function a(r,t){if("function"!=typeof r||null!=t&&"function"!=typeof t)throw new TypeError(n);var e=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=e.cache;if(a.has(n))return a.get(n);var c=r.apply(this,o);return e.cache=a.set(n,c)||a,c};return e.cache=new(a.Cache||o),e}a.Cache=o,r.exports=a},function(r,t,e){var o=e(127);r.exports=function(r){return null==r?"":o(r)}},function(r,t,e){var o=e(5),n=e(25),a=e(3),c=e(24),i=1/0,u=o?o.prototype:void 0,s=u?u.toString:void 0;r.exports=function r(t){if("string"==typeof t)return t;if(a(t))return n(t,r)+"";if(c(t))return s?s.call(t):"";var e=t+"";return"0"==e&&1/t==-i?"-0":e}},function(r,t){r.exports=function(r){var t=null==r?0:r.length;return t?r[t-1]:void 0}},function(r,t,e){var o=e(130),n=e(131);r.exports=function(r,t){return t.length<2?r:o(r,n(t,0,-1))}},function(r,t,e){var o=e(23),n=e(45);r.exports=function(r,t){for(var e=0,a=(t=o(t,r)).length;null!=r&&e<a;)r=r[n(t[e++])];return e&&e==a?r:void 0}},function(r,t){r.exports=function(r,t,e){var o=-1,n=r.length;t<0&&(t=-t>n?0:n+t),(e=e>n?n:e)<0&&(e+=n),n=t>e?0:e-t>>>0,t>>>=0;for(var a=Array(n);++o<n;)a[o]=r[o+t];return a}},function(r,t,e){var o=e(133);r.exports=function(r){return o(r)?void 0:r}},function(r,t,e){var o=e(4),n=e(20),a=e(2),c="[object Object]",i=Function.prototype,u=Object.prototype,s=i.toString,f=u.hasOwnProperty,l=s.call(Object);r.exports=function(r){if(!a(r)||o(r)!=c)return!1;var t=n(r);if(null===t)return!0;var e=f.call(t,"constructor")&&t.constructor;return"function"==typeof e&&e instanceof e&&s.call(e)==l}},function(r,t,e){var o=e(135),n=e(138),a=e(140);r.exports=function(r){return a(n(r,void 0,o),r+"")}},function(r,t,e){var o=e(136);r.exports=function(r){return null!=r&&r.length?o(r,1):[]}},function(r,t,e){var o=e(19),n=e(137);r.exports=function r(t,e,a,c,i){var u=-1,s=t.length;for(a||(a=n),i||(i=[]);++u<s;){var f=t[u];e>0&&a(f)?e>1?r(f,e-1,a,c,i):o(i,f):c||(i[i.length]=f)}return i}},function(r,t,e){var o=e(5),n=e(35),a=e(3),c=o?o.isConcatSpreadable:void 0;r.exports=function(r){return a(r)||n(r)||!!(c&&r&&r[c])}},function(r,t,e){var o=e(139),n=Math.max;r.exports=function(r,t,e){return t=n(void 0===t?r.length-1:t,0),function(){for(var a=arguments,c=-1,i=n(a.length-t,0),u=Array(i);++c<i;)u[c]=a[t+c];c=-1;for(var s=Array(t+1);++c<t;)s[c]=a[c];return s[t]=e(u),o(r,this,s)}}},function(r,t){r.exports=function(r,t,e){switch(e.length){case 0:return r.call(t);case 1:return r.call(t,e[0]);case 2:return r.call(t,e[0],e[1]);case 3:return r.call(t,e[0],e[1],e[2])}return r.apply(t,e)}},function(r,t,e){var o=e(141),n=e(144)(o);r.exports=n},function(r,t,e){var o=e(142),n=e(33),a=e(143),c=n?function(r,t){return n(r,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:a;r.exports=c},function(r,t){r.exports=function(r){return function(){return r}}},function(r,t){r.exports=function(r){return r}},function(r,t){var e=800,o=16,n=Date.now;r.exports=function(r){var t=0,a=0;return function(){var c=n(),i=o-(c-a);if(a=c,i>0){if(++t>=e)return arguments[0]}else t=0;return r.apply(void 0,arguments)}}}])});
//# sourceMappingURL=index.js.map
{
"name": "@leafygreen-ui/button",
"version": "2.2.6",
"version": "2.3.0",
"description": "leafyGreen UI Kit Button",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "../../node_modules/.bin/webpack --config ../../webpack.config.js"
"build": "../../node_modules/.bin/webpack --config ../../webpack.config.js",
"ts:emit": "tsc --project ./tsconfig.json"
},

@@ -14,6 +16,6 @@ "license": "Apache-2.0",

"dependencies": {
"@leafygreen-ui/lib": "^2.1.7",
"@leafygreen-ui/theme": "^1.1.7"
"@leafygreen-ui/lib": "^3.0.0",
"@leafygreen-ui/theme": "^1.2.0"
},
"gitHead": "06423f1e61a63751332ed421a70ca2921abd5a1a"
"gitHead": "e237f95550d3c42d14455b1ab94c7dade22e0691"
}

@@ -8,2 +8,4 @@ # Button

```Javascript
import Button from '@leafygreen-ui/button';
<Button

@@ -10,0 +12,0 @@ variant='primary'

Sorry, the diff of this file is not supported yet

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