bulma-extensions
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "bulma-calendar", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Display a calendar for date selection or for planning management, in different colors and sizes", | ||
@@ -5,0 +5,0 @@ "main": "calendar.sass", |
@@ -240,10 +240,13 @@ let fetchStyle = function(url) { | ||
if (typeof iconPickerOptions === undefined || iconPickerOptions === null) { | ||
let iconPickerOptions = {}; | ||
} | ||
console.log(iconPickerOptions); | ||
let iconPickers = document.querySelectorAll('[data-action="iconPicker"]'); | ||
let iconPickerOptions = {}; | ||
if (iconPickers) { | ||
iconPickers.forEach(element => { | ||
if (!element.dataset.iconPicker) { | ||
element.dataset.iconPicker = new IconPicker(element, iconPickerOptions); | ||
element.dataset.iconPicker = new IconPicker(element, iconPickerOptions || {}); | ||
} | ||
}) | ||
} |
@@ -27,3 +27,3 @@ var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,d){if(d.get||d.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=d.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_"; | ||
b.target.parentNode.classList.add("is-active");a.drawIcons(a.icons[b.target.dataset.iconset]);a.filter(a.modalHeaderSearch.value)});c.appendChild(d);a.modalSetTabs.appendChild(c)});g.appendChild(this.modalSetTabs);d.appendChild(g)}this.iconsList=document.createElement("div");this.iconsList.className="iconpicker-icons";c.appendChild(e);c.appendChild(this.modalHeaderSearch);c.appendChild(f);this.modalBody.appendChild(this.iconsList);d.appendChild(this.modalBody);this.modal.appendChild(b);this.modal.appendChild(d); | ||
document.body.appendChild(this.modal)};IconPicker.prototype.filter=function(a){a=void 0===a?"":a;""===a?this.iconsList.querySelectorAll("[data-filter]").forEach(function(a){a.classList.remove("is-hidden")}):(this.iconsList.querySelectorAll("[data-filter]").forEach(function(a){a.classList.remove("is-hidden")}),this.iconsList.querySelectorAll('[data-filter]:not([data-filter*="'+a+'"])').forEach(function(a){a.classList.add("is-hidden")}))}; | ||
var iconPickers=document.querySelectorAll('[data-action="iconPicker"]'),iconPickerOptions={};iconPickers&&iconPickers.forEach(function(a){a.dataset.iconPicker||(a.dataset.iconPicker=new IconPicker(a,iconPickerOptions))}); | ||
document.body.appendChild(this.modal)};IconPicker.prototype.filter=function(a){a=void 0===a?"":a;""===a?this.iconsList.querySelectorAll("[data-filter]").forEach(function(a){a.classList.remove("is-hidden")}):(this.iconsList.querySelectorAll("[data-filter]").forEach(function(a){a.classList.remove("is-hidden")}),this.iconsList.querySelectorAll('[data-filter]:not([data-filter*="'+a+'"])').forEach(function(a){a.classList.add("is-hidden")}))};if(null===iconPickerOptions)var iconPickerOptions$1={};console.log(iconPickerOptions); | ||
var iconPickers=document.querySelectorAll('[data-action="iconPicker"]');iconPickers&&iconPickers.forEach(function(a){a.dataset.iconPicker||(a.dataset.iconPicker=new IconPicker(a,iconPickerOptions))}); |
{ | ||
"name": "bulma-extensions", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Set of extensions for Bulma.io CSS Framework", | ||
@@ -5,0 +5,0 @@ "main": "extensions.sass", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
584450
1053