diff --git a/changelog.md b/changelog.md
index 1878319..a0ef4ae 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,6 +1,7 @@
# 0.12.0 (unreleased)
+ **Feature** [107](https://github.com/VizuaaLOG/BulmaJS/issues/107) Add support for the navbar dropdown
+ **Feature** [94](https://github.com/VizuaaLOG/BulmaJS/issues/94) Add a new global `onLoaded` callback that can be defined within the `window.bulmaOptions` object. This is called once the library has been loaded and the `DOMContentLoaded` event has been fired.
++ **Feature** [102](https://github.com/VizuaaLOG/BulmaJS/issues/102) Add support for panel tabs.
+ **Tweak** [95](https://github.com/VizuaaLOG/BulmaJS/issues/95) The `parseDocument` method will now check the given context against the internal plugins
+ **Refactor** Add a `Bulma.getGlobalConfig(key: string, default: mixed)` method to the core. This allows easy access to properties within the `window.bulmaOptions` object and accepts a default as it's second parameter, this is `null` by default.
diff --git a/dist/alert.js b/dist/alert.js
index 0008653..c5c7d18 100644
--- a/dist/alert.js
+++ b/dist/alert.js
@@ -1 +1 @@
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.11.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=a.createElement(n,o);return t.appendChild(i),i}return r},a.each=function(e,t){var n=void 0;for(n=0;n=200&&o.status<400?t(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(u(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=a.createElement(n,o);return t.appendChild(i),i}return r},a.each=function(e,t){var n=void 0;for(n=0;n=200&&o.status<400?t(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(u(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=a.createElement(n,o);return t.appendChild(i),i}return r},a.each=function(e,t){var n=void 0;for(n=0;n=200&&o.status<400?t(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;nthis.stickyOffset?(this.root.classList.add("is-fixed-top"),document.body.classList.add("has-navbar-fixed-top"),this.shadow&&this.root.classList.add("has-shadow")):(this.root.classList.remove("is-fixed-top"),document.body.classList.remove("has-navbar-fixed-top"),this.shadow&&this.root.classList.remove("has-shadow")),this.hideOnScroll){var t=this.calculateScrollDirection(e,this.lastScrollY),n=this.difference(e,this.lastScrollY)>=this.tolerance;if("down"===t){var o=e>this.hideOffset;n&&o&&this.root.classList.add("is-hidden-scroll")}else{var r=et?e-t:t-e}},{key:"calculateScrollDirection",value:function(e,t){return e>=t?"down":"up"}}]),t}(a.default);i.default.registerPlugin("navbar",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n"+this.title+"
",this.title=e,this.root.insertBefore(this.title,this.root.firstChild)}},{key:"setSize",value:function(){this.root.classList.add("is-"+this.size)}},{key:"insertBody",value:function(){var e=document.createElement("div");e.classList.add("message-body"),e.innerHTML=this.body,this.root.appendChild(e)}},{key:"prependCloseButton",value:function(){this.title.appendChild(this.closeButton)}}]),t}(a.default);i.default.registerPlugin("message",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n1&&this.setFileName(e.target.files.length+" files"),this.trigger("changed",e)}},{key:"clearFileName",value:function(){this.filename.innerHTML=""}},{key:"getFilename",value:function(){return this.filename.innerHTML}},{key:"setFileName",value:function(e){this.filename.innerHTML=e}},{key:"addHoverClass",value:function(){this.root.classList.add("is-hovered")}},{key:"removeHoverClass",value:function(){this.root.classList.remove("is-hovered")}}]),t}(a.default);i.default.registerPlugin("file",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n ul > li")}},{key:"setupNavEvents",value:function(){var e=this;i.default.each(this.navItems,(function(t,n){t.addEventListener("click",(function(){e.setActive(n)})),e.hover&&t.addEventListener("mouseover",(function(){e.setActive(n)}))}))}},{key:"setActive",value:function(e){i.default.each(this.navItems,(function(e){e.classList.remove("is-active")})),i.default.each(this.contentItems,(function(e){e.classList.remove("is-active")})),this.navItems[e].classList.add("is-active"),this.contentItems[e].classList.add("is-active")}}]),t}(a.default);i.default.registerPlugin("tabs",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(0),i=(o=r)&&o.__esModule?o:{default:o};n(6),n(7),n(8),n(9),n(5),n(10),n(11),n(12);t.default=i.default}]).default}));
\ No newline at end of file
+!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=14)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.12.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=a.createElement(n,o);return t.appendChild(i),i}return r},a.each=function(e,t){var n=void 0;for(n=0;n=200&&o.status<400?t(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;nthis.stickyOffset?(this.root.classList.add("is-fixed-top"),document.body.classList.add("has-navbar-fixed-top"),this.shadow&&this.root.classList.add("has-shadow")):(this.root.classList.remove("is-fixed-top"),document.body.classList.remove("has-navbar-fixed-top"),this.shadow&&this.root.classList.remove("has-shadow")),this.hideOnScroll){var t=this.calculateScrollDirection(e,this.lastScrollY),n=this.difference(e,this.lastScrollY)>=this.tolerance;if("down"===t){var o=e>this.hideOffset;n&&o&&this.root.classList.add("is-hidden-scroll")}else{var r=et?e-t:t-e}},{key:"calculateScrollDirection",value:function(e,t){return e>=t?"down":"up"}}]),t}(a.default);i.default.registerPlugin("navbar",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n"+this.title+"",this.title=e,this.root.insertBefore(this.title,this.root.firstChild)}},{key:"setSize",value:function(){this.root.classList.add("is-"+this.size)}},{key:"insertBody",value:function(){var e=document.createElement("div");e.classList.add("message-body"),e.innerHTML=this.body,this.root.appendChild(e)}},{key:"prependCloseButton",value:function(){this.title.appendChild(this.closeButton)}}]),t}(a.default);i.default.registerPlugin("message",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n1&&this.setFileName(e.target.files.length+" files"),this.trigger("changed",e)}},{key:"clearFileName",value:function(){this.filename.innerHTML=""}},{key:"getFilename",value:function(){return this.filename.innerHTML}},{key:"setFileName",value:function(e){this.filename.innerHTML=e}},{key:"addHoverClass",value:function(){this.root.classList.add("is-hovered")}},{key:"removeHoverClass",value:function(){this.root.classList.remove("is-hovered")}}]),t}(a.default);i.default.registerPlugin("file",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n ul > li")}},{key:"setupNavEvents",value:function(){var e=this;i.default.each(this.navItems,(function(t,n){t.addEventListener("click",(function(){e.setActive(n)})),e.hover&&t.addEventListener("mouseover",(function(){e.setActive(n)}))}))}},{key:"setActive",value:function(e){i.default.each(this.navItems,(function(e){e.classList.remove("is-active")})),i.default.each(this.contentItems,(function(e){e.classList.remove("is-active")})),this.navItems[e].classList.add("is-active"),this.contentItems[e].classList.add("is-active")}}]),t}(a.default);i.default.registerPlugin("tabs",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PanelTabs=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=u.createElement(n,r);return t.appendChild(i),i}return o},u.each=function(e,t){var n=void 0;for(n=0;n=200&&r.status<400?t(u._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},u.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){u.getGlobalConfig("autoParseDocument",!0)&&u.parseDocument(),u.getGlobalConfig("onLoaded")&&u.getGlobalConfig("onLoaded")()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=u.createElement(n,r);return t.appendChild(i),i}return o},u.each=function(e,t){var n=void 0;for(n=0;n=200&&r.status<400?t(u._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},u.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){u.getGlobalConfig("autoParseDocument",!0)&&u.parseDocument(),u.getGlobalConfig("onLoaded")&&u.getGlobalConfig("onLoaded")()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=a.createElement(n,r);return t.appendChild(i),i}return o},a.each=function(e,t){var n=void 0;for(n=0;n=200&&r.status<400?t(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n1&&this.setFileName(e.target.files.length+" files"),this.trigger("changed",e)}},{key:"clearFileName",value:function(){this.filename.innerHTML=""}},{key:"getFilename",value:function(){return this.filename.innerHTML}},{key:"setFileName",value:function(e){this.filename.innerHTML=e}},{key:"addHoverClass",value:function(){this.root.classList.add("is-hovered")}},{key:"removeHoverClass",value:function(){this.root.classList.remove("is-hovered")}}]),t}(a.default);i.default.registerPlugin("file",l),t.default=i.default}]).default}));
\ No newline at end of file
+!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.12.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=a.createElement(n,r);return t.appendChild(i),i}return o},a.each=function(e,t){var n=void 0;for(n=0;n=200&&r.status<400?t(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n1&&this.setFileName(e.target.files.length+" files"),this.trigger("changed",e)}},{key:"clearFileName",value:function(){this.filename.innerHTML=""}},{key:"getFilename",value:function(){return this.filename.innerHTML}},{key:"setFileName",value:function(e){this.filename.innerHTML=e}},{key:"addHoverClass",value:function(){this.root.classList.add("is-hovered")}},{key:"removeHoverClass",value:function(){this.root.classList.remove("is-hovered")}}]),t}(a.default);i.default.registerPlugin("file",l),t.default=i.default}]).default}));
\ No newline at end of file
diff --git a/dist/message.js b/dist/message.js
index d67a929..935d1cb 100644
--- a/dist/message.js
+++ b/dist/message.js
@@ -1 +1 @@
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function s(e){return this instanceof s?e instanceof s?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(s.id)||(this._elem[s.id]=i.default.uid++),this):new s(e)}s.VERSION="0.11.0",s.id="bulma-"+(new Date).getTime(),s.cache=new i.default,s.plugins={},s.create=function(e,t){if(!e||!s.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new s.plugins[e].handler(t)},s.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");s.plugins[e]={priority:n,handler:t},s.prototype[e]=function(t){return new s.plugins[e].handler(t,this)}},s.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(s.plugins).sort((function(e,t){return s.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=s.createElement(n,o);return t.appendChild(i),i}return r},s.each=function(e,t){var n=void 0;for(n=0;n=200&&o.status<400?t(s._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},s._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},s.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},s.prototype.data=function(e,t){return t?(s.cache.set(this._elem[s.id],e,t),this):s.cache.get(this._elem[s.id],e)},s.prototype.destroyData=function(){return s.cache.destroy(this._elem[s.id]),this},s.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){s.getGlobalConfig("autoParseDocument",!0)&&s.parseDocument(),s.getGlobalConfig("onLoaded")&&s.getGlobalConfig("onLoaded")()})),t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(u(this,e),t.root=n instanceof s.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n"+this.title+"",this.title=e,this.root.insertBefore(this.title,this.root.firstChild)}},{key:"setSize",value:function(){this.root.classList.add("is-"+this.size)}},{key:"insertBody",value:function(){var e=document.createElement("div");e.classList.add("message-body"),e.innerHTML=this.body,this.root.appendChild(e)}},{key:"prependCloseButton",value:function(){this.title.appendChild(this.closeButton)}}]),t}(s.default);i.default.registerPlugin("message",u),t.default=i.default}]).default}));
\ No newline at end of file
+!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function s(e){return this instanceof s?e instanceof s?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(s.id)||(this._elem[s.id]=i.default.uid++),this):new s(e)}s.VERSION="0.12.0",s.id="bulma-"+(new Date).getTime(),s.cache=new i.default,s.plugins={},s.create=function(e,t){if(!e||!s.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new s.plugins[e].handler(t)},s.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");s.plugins[e]={priority:n,handler:t},s.prototype[e]=function(t){return new s.plugins[e].handler(t,this)}},s.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(s.plugins).sort((function(e,t){return s.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=s.createElement(n,o);return t.appendChild(i),i}return r},s.each=function(e,t){var n=void 0;for(n=0;n=200&&o.status<400?t(s._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},s._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},s.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},s.prototype.data=function(e,t){return t?(s.cache.set(this._elem[s.id],e,t),this):s.cache.get(this._elem[s.id],e)},s.prototype.destroyData=function(){return s.cache.destroy(this._elem[s.id]),this},s.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){s.getGlobalConfig("autoParseDocument",!0)&&s.parseDocument(),s.getGlobalConfig("onLoaded")&&s.getGlobalConfig("onLoaded")()})),t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(u(this,e),t.root=n instanceof s.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n"+this.title+"",this.title=e,this.root.insertBefore(this.title,this.root.firstChild)}},{key:"setSize",value:function(){this.root.classList.add("is-"+this.size)}},{key:"insertBody",value:function(){var e=document.createElement("div");e.classList.add("message-body"),e.innerHTML=this.body,this.root.appendChild(e)}},{key:"prependCloseButton",value:function(){this.title.appendChild(this.closeButton)}}]),t}(s.default);i.default.registerPlugin("message",u),t.default=i.default}]).default}));
\ No newline at end of file
diff --git a/dist/modal.js b/dist/modal.js
index 926ad8d..f09ad5f 100644
--- a/dist/modal.js
+++ b/dist/modal.js
@@ -1 +1 @@
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.11.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=a.createElement(n,o);return t.appendChild(i),i}return r},a.each=function(e,t){var n=void 0;for(n=0;n=200&&o.status<400?t(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=a.createElement(n,o);return t.appendChild(i),i}return r},a.each=function(e,t){var n=void 0;for(n=0;n=200&&o.status<400?t(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0;if(!t)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[t]={priority:n,handler:e},a.prototype[t]=function(e){return new a.plugins[t].handler(e,this)}},a.parseDocument=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=Object.keys(a.plugins).sort((function(t,e){return a.plugins[t].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=e.querySelector(t);if(!o){0===r.length&&(r=t.split(".").filter((function(t){return t})));var i=a.createElement(n,r);return e.appendChild(i),i}return o},a.each=function(t,e){var n=void 0;for(n=0;n=200&&r.status<400?e(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(t){var e=document.createElement("div");e.innerHTML=t;for(var n=e.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return e.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(t)?window.bulmaOptions[t]:e},a.prototype.data=function(t,e){return e?(a.cache.set(this._elem[a.id],t,e),this):a.cache.get(this._elem[a.id],t)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,t),e.root=n instanceof a.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),e)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",e.root?e.root.parentNode:null),this._events={}}return o(t,null,[{key:"defaultConfig",value:function(){return{}}}]),o(t,[{key:"on",value:function(t,e){this._events.hasOwnProperty(t)||(this._events[t]=[]),this._events[t].push(e)}},{key:"trigger",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(t))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,t),"object"!==(void 0===e?"undefined":r(e)))throw new TypeError("initialConfig must be of type object.");this._items=e}return o(t,[{key:"set",value:function(t,e){if(!t||!e)throw new Error("A key and value must be provided when setting a new option.");this._items[t]=e}},{key:"has",value:function(t){if(!t)throw new Error("A key must be provided.");return this._items.hasOwnProperty(t)&&this._items[t]}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e&&!this.has(t)?"function"==typeof e?e():e:this._items[t]}}]),t}();e.default=a},,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Navbar=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;nthis.stickyOffset?(this.root.classList.add("is-fixed-top"),document.body.classList.add("has-navbar-fixed-top"),this.shadow&&this.root.classList.add("has-shadow")):(this.root.classList.remove("is-fixed-top"),document.body.classList.remove("has-navbar-fixed-top"),this.shadow&&this.root.classList.remove("has-shadow")),this.hideOnScroll){var e=this.calculateScrollDirection(t,this.lastScrollY),n=this.difference(t,this.lastScrollY)>=this.tolerance;if("down"===e){var r=t>this.hideOffset;n&&r&&this.root.classList.add("is-hidden-scroll")}else{var o=te?t-e:e-t}},{key:"calculateScrollDirection",value:function(t,e){return t>=e?"down":"up"}}]),e}(a.default);i.default.registerPlugin("navbar",l),e.default=i.default}]).default}));
\ No newline at end of file
+!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Bulma",[],e):"object"==typeof exports?exports.Bulma=e():t.Bulma=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=7)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function a(t){return this instanceof a?t instanceof a?t:(t instanceof HTMLElement?this._elem=t:this._elem=document.querySelector(t),t||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(t)}a.VERSION="0.12.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(t,e){if(!t||!a.plugins.hasOwnProperty(t))throw new Error("[BulmaJS] A plugin with the key '"+t+"' has not been registered.");return new a.plugins[t].handler(e)},a.registerPlugin=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!t)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[t]={priority:n,handler:e},a.prototype[t]=function(e){return new a.plugins[t].handler(e,this)}},a.parseDocument=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=Object.keys(a.plugins).sort((function(t,e){return a.plugins[t].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=e.querySelector(t);if(!o){0===r.length&&(r=t.split(".").filter((function(t){return t})));var i=a.createElement(n,r);return e.appendChild(i),i}return o},a.each=function(t,e){var n=void 0;for(n=0;n=200&&r.status<400?e(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(t){var e=document.createElement("div");e.innerHTML=t;for(var n=e.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return e.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(t)?window.bulmaOptions[t]:e},a.prototype.data=function(t,e){return e?(a.cache.set(this._elem[a.id],t,e),this):a.cache.get(this._elem[a.id],t)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,t),e.root=n instanceof a.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),e)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",e.root?e.root.parentNode:null),this._events={}}return o(t,null,[{key:"defaultConfig",value:function(){return{}}}]),o(t,[{key:"on",value:function(t,e){this._events.hasOwnProperty(t)||(this._events[t]=[]),this._events[t].push(e)}},{key:"trigger",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(t))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,t),"object"!==(void 0===e?"undefined":r(e)))throw new TypeError("initialConfig must be of type object.");this._items=e}return o(t,[{key:"set",value:function(t,e){if(!t||!e)throw new Error("A key and value must be provided when setting a new option.");this._items[t]=e}},{key:"has",value:function(t){if(!t)throw new Error("A key must be provided.");return this._items.hasOwnProperty(t)&&this._items[t]}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e&&!this.has(t)?"function"==typeof e?e():e:this._items[t]}}]),t}();e.default=a},,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Navbar=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;nthis.stickyOffset?(this.root.classList.add("is-fixed-top"),document.body.classList.add("has-navbar-fixed-top"),this.shadow&&this.root.classList.add("has-shadow")):(this.root.classList.remove("is-fixed-top"),document.body.classList.remove("has-navbar-fixed-top"),this.shadow&&this.root.classList.remove("has-shadow")),this.hideOnScroll){var e=this.calculateScrollDirection(t,this.lastScrollY),n=this.difference(t,this.lastScrollY)>=this.tolerance;if("down"===e){var r=t>this.hideOffset;n&&r&&this.root.classList.add("is-hidden-scroll")}else{var o=te?t-e:e-t}},{key:"calculateScrollDirection",value:function(t,e){return t>=e?"down":"up"}}]),e}(a.default);i.default.registerPlugin("navbar",l),e.default=i.default}]).default}));
\ No newline at end of file
diff --git a/dist/notification.js b/dist/notification.js
index efc758b..925d22f 100644
--- a/dist/notification.js
+++ b/dist/notification.js
@@ -1 +1 @@
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function u(e){return this instanceof u?e instanceof u?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(u.id)||(this._elem[u.id]=i.default.uid++),this):new u(e)}u.VERSION="0.11.0",u.id="bulma-"+(new Date).getTime(),u.cache=new i.default,u.plugins={},u.create=function(e,t){if(!e||!u.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new u.plugins[e].handler(t)},u.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=u.createElement(n,o);return t.appendChild(i),i}return r},u.each=function(e,t){var n=void 0;for(n=0;n=200&&o.status<400?t(u._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},u.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){u.getGlobalConfig("autoParseDocument",!0)&&u.parseDocument(),u.getGlobalConfig("onLoaded")&&u.getGlobalConfig("onLoaded")()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(s(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=u.createElement(n,o);return t.appendChild(i),i}return r},u.each=function(e,t){var n=void 0;for(n=0;n=200&&o.status<400?t(u._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},u.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){u.getGlobalConfig("autoParseDocument",!0)&&u.parseDocument(),u.getGlobalConfig("onLoaded")&&u.getGlobalConfig("onLoaded")()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(s(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=a.createElement(n,r);return t.appendChild(i),i}return o},a.each=function(e,t){var n=void 0;for(n=0;n=200&&r.status<400?t(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PanelTabs=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=u.createElement(n,r);return t.appendChild(i),i}return o},u.each=function(e,t){var n=void 0;for(n=0;n=200&&r.status<400?t(u._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},u.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){u.getGlobalConfig("autoParseDocument",!0)&&u.parseDocument(),u.getGlobalConfig("onLoaded")&&u.getGlobalConfig("onLoaded")()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(s(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n ul > li")}},{key:"setupNavEvents",value:function(){var e=this;i.default.each(this.navItems,(function(t,n){t.addEventListener("click",(function(){e.setActive(n)})),e.hover&&t.addEventListener("mouseover",(function(){e.setActive(n)}))}))}},{key:"setActive",value:function(e){i.default.each(this.navItems,(function(e){e.classList.remove("is-active")})),i.default.each(this.contentItems,(function(e){e.classList.remove("is-active")})),this.navItems[e].classList.add("is-active"),this.contentItems[e].classList.add("is-active")}}]),t}(u.default);i.default.registerPlugin("tabs",s),t.default=i.default}]).default}));
\ No newline at end of file
+!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=12)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function u(e){return this instanceof u?e instanceof u?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(u.id)||(this._elem[u.id]=i.default.uid++),this):new u(e)}u.VERSION="0.12.0",u.id="bulma-"+(new Date).getTime(),u.cache=new i.default,u.plugins={},u.create=function(e,t){if(!e||!u.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new u.plugins[e].handler(t)},u.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=u.createElement(n,r);return t.appendChild(i),i}return o},u.each=function(e,t){var n=void 0;for(n=0;n=200&&r.status<400?t(u._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},u.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){u.getGlobalConfig("autoParseDocument",!0)&&u.parseDocument(),u.getGlobalConfig("onLoaded")&&u.getGlobalConfig("onLoaded")()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(s(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n ul > li")}},{key:"setupNavEvents",value:function(){var e=this;i.default.each(this.navItems,(function(t,n){t.addEventListener("click",(function(){e.setActive(n)})),e.hover&&t.addEventListener("mouseover",(function(){e.setActive(n)}))}))}},{key:"setActive",value:function(e){i.default.each(this.navItems,(function(e){e.classList.remove("is-active")})),i.default.each(this.contentItems,(function(e){e.classList.remove("is-active")})),this.navItems[e].classList.add("is-active"),this.contentItems[e].classList.add("is-active")}}]),t}(u.default);i.default.registerPlugin("tabs",s),t.default=i.default}]).default}));
\ No newline at end of file