From bd9e7960af18d00735ef60e8b7d1d33cc9605187 Mon Sep 17 00:00:00 2001
From: Thomas Erbe
Date: Sat, 25 Jun 2022 17:50:46 +0100
Subject: [PATCH] Prep for 0.12.2
---
dist/bulma.js | 2 +-
dist/navbar.js | 2 +-
package.json | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dist/bulma.js b/dist/bulma.js
index d9b923c..ddb525c 100644
--- a/dist/bulma.js
+++ b/dist/bulma.js
@@ -1 +1 @@
-!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(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},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=14)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};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.1",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",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=e.querySelector(t);if(!r){0===o.length&&(o=t.split(".").filter((function(t){return t})));var i=a.createElement(n,o);return e.appendChild(i),i}return r},a.each=function(t,e){var n=void 0;for(n=0;n=200&&o.status<400?e(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(t){var e=document.createElement("div");e.innerHTML=t;for(var n=e.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);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 o=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(o({},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 r(t,null,[{key:"defaultConfig",value:function(){return{}}}]),r(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":o(e)))throw new TypeError("initialConfig must be of type object.");this._items=e}return r(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});var 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 o=t>this.hideOffset;n&&o&&this.root.classList.add("is-hidden-scroll")}else{var r=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},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Message=void 0;var o="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},r=function(){function t(t,e){for(var n=0;n"+this.title+"
",this.title=t,this.root.insertBefore(this.title,this.root.firstChild)}},{key:"setSize",value:function(){this.root.classList.add("is-"+this.size)}},{key:"insertBody",value:function(){var t=document.createElement("div");t.classList.add("message-body"),t.innerHTML=this.body,this.root.appendChild(t)}},{key:"prependCloseButton",value:function(){this.title.appendChild(this.closeButton)}}]),e}(a.default);i.default.registerPlugin("message",l),e.default=i.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Dropdown=void 0;var o="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},r=function(){function t(t,e){for(var n=0;n1&&this.setFileName(t.target.files.length+" files"),this.trigger("changed",t)}},{key:"clearFileName",value:function(){this.filename.innerHTML=""}},{key:"getFilename",value:function(){return this.filename.innerHTML}},{key:"setFileName",value:function(t){this.filename.innerHTML=t}},{key:"addHoverClass",value:function(){this.root.classList.add("is-hovered")}},{key:"removeHoverClass",value:function(){this.root.classList.remove("is-hovered")}}]),e}(a.default);i.default.registerPlugin("file",l),e.default=i.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Tabs=void 0;var o="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},r=function(){function t(t,e){for(var n=0;n ul > li")}},{key:"setupNavEvents",value:function(){var t=this;i.default.each(this.navItems,(function(e,n){e.addEventListener("click",(function(){t.setActive(n)})),t.hover&&e.addEventListener("mouseover",(function(){t.setActive(n)}))}))}},{key:"setActive",value:function(t){i.default.each(this.navItems,(function(t){t.classList.remove("is-active")})),i.default.each(this.contentItems,(function(t){t.classList.remove("is-active")})),this.navItems[t].classList.add("is-active"),this.contentItems[t].classList.add("is-active")}}]),e}(a.default);i.default.registerPlugin("tabs",l),e.default=i.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PanelTabs=void 0;var o="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},r=function(){function t(t,e){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}),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(!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.1",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/package.json b/package.json
index f9930ef..54005f3 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@vizuaalog/bulmajs",
- "version": "0.12.1",
+ "version": "0.12.2",
"description": "Unofficial javascript extension to the awesome Bulma CSS framework.",
"main": "src/bulma.js",
"author": "Thomas Erbe ",