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

bulma-extensions

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bulma-extensions - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

0

bulma-accordion/CHANGELOG.md

@@ -0,0 +0,0 @@ <a name="1.0.1"></a>

@@ -0,0 +0,0 @@ (function () {

(function(){'use strict';const a=['click','touchstart'];document.addEventListener('DOMContentLoaded',function(){var b=document.querySelectorAll('.accordions');[].forEach.call(b,function(b){var c=b.querySelectorAll('.accordion');[].forEach.call(c,function(c){a.forEach((a)=>{c.querySelector('.toggle, [data-action="toggle"]').addEventListener(a,(a)=>{if(a.preventDefault(),!c.classList.contains('is-active')){let a=b.querySelector('.accordion.is-active');a&&a.classList.remove('is-active'),c.classList.add('is-active')}else c.classList.remove('is-active')})})})})})})();
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6InlCQUFBLEtBQU0sQUFBWSxHQUFHLENBQUMsQUFBTyxRQUFFLEFBQVksQUFBQyxBQUFDLGNBRTdDLEFBQVEsU0FBQyxBQUFnQixpQkFBRSxBQUFrQixtQkFBRSxVQUFZLENBQ3pELEdBQUksQUFBVSxHQUFHLEFBQVEsU0FBQyxBQUFnQixpQkFBQyxBQUFhLEFBQUMsQUFBQyxlQUMxRCxBQUFFLEdBQUMsQUFBTyxRQUFDLEFBQUksQUFBQyxBQUFVLE9BQUUsQUFBUyxBQUFTLFdBQUUsQ0FDOUMsR0FBSSxBQUFLLEdBQUcsQUFBUyxFQUFDLEFBQWdCLGlCQUFDLEFBQVksQUFBQyxBQUFDLGNBQ3JELEFBQUUsR0FBQyxBQUFPLFFBQUMsQUFBSSxBQUFDLEFBQUssT0FBRSxBQUFT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OG.md

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

<a name="1.1.0"></a>
# [1.1.0](https://github.com/Wikiki/bulma-calendar/compare/1.0.5...1.1.0) (2018-02-13)
<a name="1.0.5"></a>
## [1.0.5](https://github.com/Wikiki/bulma-calendar/compare/1.0.4...1.0.5) (2018-02-13)
<a name="1.0.4"></a>
## [1.0.4](https://github.com/Wikiki/bulma-calendar/compare/1.0.3...1.0.4) (2018-02-13)
### Features
* **MinMaxDate:** Add minDate maxDate options ([62a8ae2](https://github.com/Wikiki/bulma-calendar/commit/62a8ae2))
<a name="1.0.3"></a>

@@ -22,0 +2,0 @@ ## [1.0.3](https://github.com/Wikiki/bulma-calendar/compare/1.0.2...1.0.3) (2018-02-11)

181

bulma-calendar/dist/bulma-calendar.js

@@ -1,6 +0,3 @@

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define('bulmaCalendar', factory) :
(global.bulmaCalendar = factory());
}(this, (function () { 'use strict';
var bulmaCalendar = (function () {
'use strict';

@@ -123,4 +120,2 @@ var datepicker_langs = {

startDate: new Date(),
minDate: null,
maxDate: null,
dateFormat: 'yyyy-mm-dd', // the default data format `field` value

@@ -154,12 +149,4 @@ lang: 'en', // internationalization

}
// Transform start date according to dateFormat option
// Transform date format according to dateFormat option
this.options.startDate = this._parseDate(this._getFormatedDate(this.options.startDate, this.options.dateFormat));
if (this.options.minDate) {
this.options.minDate = this._parseDate(this._getFormatedDate(this.options.minDate, this.options.dateFormat));
}
if (this.options.maxDate) {
this.options.maxDate = this._parseDate(this._getFormatedDate(this.options.maxDate, this.options.dateFormat));
}
this.month = this.options.startDate.getMonth();

@@ -189,12 +176,13 @@ this.year = this.options.startDate.getFullYear();

<div class="calendar-nav-month">
<button class="calendar-nav-previous-month button is-small is-text">
<svg viewBox="0 0 50 80" xml:space="preserve">
<polyline fill="none" stroke-width=".5em" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "/>
</svg>
</button>
<div class="calendar-nav-previous-month">
<button class="button is-small is-text">
<i class="fa fa-chevron-left"></i>
</button>
</div>
<div class="calendar-month">${datepicker_langs[this.options.lang].months[this.month]}</div>
<button class="calendar-nav-next-month button is-small is-text">
<svg viewBox="0 0 50 80" xml:space="preserve">
<polyline fill="none" stroke-width=".5em" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "/>
</button>
<div class="calendar-nav-next-month">
<button class="button is-small is-text">
<i class="fa fa-chevron-right"></i>
</button>
</div>
</div>

@@ -205,12 +193,13 @@ <div class="calendar-nav-day">

<div class="calendar-nav-year">
<button class="calendar-nav-previous-year button is-small is-text">
<svg viewBox="0 0 50 80" xml:space="preserve">
<polyline fill="none" stroke-width=".5em" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "/>
</svg>
</button>
<div class="calendar-nav-previous-year">
<button class="button is-small is-text">
<i class="fa fa-chevron-left"></i>
</button>
</div>
<div class="calendar-year">${this.year}</div>
<button class="calendar-nav-next-year button is-small is-text">
<svg viewBox="0 0 50 80" xml:space="preserve">
<polyline fill="none" stroke-width=".5em" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "/>
</button>
<div class="calendar-nav-next-year">
<button class="button is-small is-text">
<i class="fa fa-chevron-right"></i>
</button>
</div>
</div>

@@ -320,15 +309,13 @@ </div>

e.preventDefault();
if (!e.currentTarget.classList.contains('is-disabled')) {
let date = e.currentTarget.dataset.date.split('-');
let [year, month, day] = date;
if (typeof this.options.onSelect != 'undefined' &&
this.options.onSelect != null &&
this.options.onSelect) {
this.options.onSelect(new Date(year, month, day));
}
this.element.value = this._getFormatedDate((new Date(year, month, day)), this.options.dateFormat);
if (this.options.closeOnSelect) {
this.hide();
}
let date = e.currentTarget.dataset.date.split('-');
let [year, month, day] = date;
if (typeof this.options.onSelect != 'undefined' &&
this.options.onSelect != null &&
this.options.onSelect) {
this.options.onSelect(new Date(year, month, day));
}
this.element.value = this._getFormatedDate((new Date(year, month, day)), this.options.dateFormat);
if (this.options.closeOnSelect) {
this.hide();
}
});

@@ -401,4 +388,2 @@ });

day.setHours(0, 0, 0, 0);
if (!isSelected) {

@@ -409,4 +394,3 @@ isSelectedIn = false;

if (day.getMonth() !== this.month || (this.options.minDate &&
(day.getTime() < this.options.minDate.getTime() || day.getTime() > this.options.maxDate.getTime()))) {
if (day.getMonth() !== this.month) {
isDisabled = true;

@@ -430,13 +414,5 @@ }

this.month -= 1;
this._refreshCalendar();
this._adjustCalendar();
}
_disablePrevMonth() {
this.datePickerCalendarNavPreviousMonth.setAttribute('disabled', 'disabled');
}
_enablePrevMonth() {
this.datePickerCalendarNavPreviousMonth.removeAttribute('disabled');
}
/**

@@ -449,13 +425,5 @@ * Navigate to the next month and regenerate calendar

this.month += 1;
this._refreshCalendar();
this._adjustCalendar();
}
_disableNextMonth() {
this.datePickerCalendarNavNextMonth.setAttribute('disabled', 'disabled');
}
_enableNextMonth() {
this.datePickerCalendarNavNextMonth.removeAttribute('disabled');
}
/**

@@ -468,13 +436,5 @@ * Navigate to the previous year and regenerate calendar

this.year -= 1;
this._refreshCalendar();
this._adjustCalendar();
}
_disablePrevYear() {
this.datePickerCalendarNavPreviousYear.setAttribute('disabled', 'disabled');
}
_enablePrevYear() {
this.datePickerCalendarNavPreviousYear.removeAttribute('disabled');
}
/**

@@ -487,13 +447,5 @@ * Navigate to the previous year and regenerate calendar

this.year += 1;
this._refreshCalendar();
this._adjustCalendar();
}
_disableNextYear() {
this.datePickerCalendarNavNextYear.setAttribute('disabled', 'disabled');
}
_enableNextYear() {
this.datePickerCalendarNavNextYear.removeAttribute('disabled');
}
/**

@@ -512,3 +464,3 @@ * Show datePicker HTML Component

this.day = this.options.startDate.getDate();
this._refreshCalendar();
this._adjustCalendar();

@@ -543,8 +495,3 @@ if (typeof this.options.onOpen != 'undefined' &&

/**
* Refresh calendar with new year/month days
* @method _refreshCalendar
* @return {[type]} [description]
*/
_refreshCalendar() {
_adjustCalendar() {
if (this.month < 0) {

@@ -562,41 +509,2 @@ this.year -= Math.ceil(Math.abs(this.month) / 12);

this.datePickerCalendarBody.innerHTML = '';
let minMonth = 0,
minYear = 0,
maxMonth = 12,
maxYear = 9999;
if (this.options.minDate) {
minMonth = this.options.minDate.getMonth();
minYear = this.options.minDate.getFullYear();
}
if (this.options.maxDate) {
maxMonth = this.options.maxDate.getMonth();
maxYear = this.options.maxDate.getFullYear();
}
if (this.year <= minYear) {
this._disablePrevYear();
} else {
this._enablePrevYear();
}
if (this.year >= maxYear) {
this._disableNextYear();
} else {
this._enableNextYear();
}
if (this.year <= minYear && this.month <= minMonth) {
this._disablePrevMonth();
} else {
this._enablePrevMonth();
}
if (this.year >= maxYear && this.month >= maxMonth) {
this._disableNextMonth();
} else {
this._enableNextMonth();
}
this._renderDays();

@@ -685,9 +593,2 @@ return this;

/**
* Parse Date string based on the Date Format given
* @method _parseDate
* @param {String} dateString Date string to parse
* @param {[String} [format=undefined] Date Format
* @return {Date} Date Object initialized with Date String based on the Date Format
*/
_parseDate(dateString, format = undefined) {

@@ -788,2 +689,2 @@ const date = new Date();

})));
}());
{
"name": "bulma-calendar",
"version": "1.1.2",
"version": "1.0.3",
"description": "Display a calendar for date selection or for planning management, in different colors and sizes",

@@ -31,2 +31,3 @@ "main": "dist/bulma-calendar.sass",

"camelcase": "^4.1.0",
"conventional-github-releaser": "^2.0.0",
"del": "^3.0.0",

@@ -43,3 +44,2 @@ "gulp": "^3.9.1",

"gulp-git": "^2.5.1",
"gulp-modular-release": "^0.5.3",
"gulp-postcss": "^7.0.1",

@@ -46,0 +46,0 @@ "gulp-sass": "^3.1.0",

@@ -0,0 +0,0 @@ # bulma-calendar

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

<a name="1.0.11"></a>
## [1.0.11](https://github.com/Wikiki/bulma-carousel/compare/1.0.10...1.0.11) (2018-03-05)
### Bug Fixes
* **navigation:** [#17](https://github.com/Wikiki/bulma-carousel/issues/17) ([1355319](https://github.com/Wikiki/bulma-carousel/commit/1355319))
<a name="1.0.10"></a>
## [1.0.10](https://github.com/Wikiki/bulma-carousel/compare/1.0.9...1.0.10) (2018-02-22)
<a name="1.0.9"></a>
## [1.0.9](https://github.com/Wikiki/bulma-carousel/compare/1.0.8...1.0.9) (2018-02-22)
<a name="1.0.8"></a>
## [1.0.8](https://github.com/Wikiki/bulma-carousel/compare/1.0.6...1.0.8) (2018-02-22)
<a name="1.0.7"></a>
## [1.0.7](https://github.com/Wikiki/bulma-carousel/compare/1.0.6...1.0.7) (2018-02-22)
<a name="1.0.6"></a>
## [1.0.6](https://github.com/Wikiki/bulma-carousel/compare/1.0.5...1.0.6) (2018-02-22)
<a name="1.0.5"></a>
## [1.0.5](https://github.com/Wikiki/bulma-carousel/compare/1.0.4...1.0.5) (2018-02-22)
### Bug Fixes
* **display:** One Image display ([c1a667a](https://github.com/Wikiki/bulma-carousel/commit/c1a667a))
<a name="1.0.4"></a>

@@ -47,0 +2,0 @@ ## [1.0.4](https://github.com/Wikiki/bulma-carousel/compare/1.0.3...1.0.4) (2018-02-11)

@@ -33,14 +33,2 @@ var bulmaCarousel = (function () {

this.nextControl = this.element.querySelector('.carousel-nav-right');
if (this.items.length <= 1) {
const carouselContainer = this.element.querySelector('.carousel-container');
if (carouselContainer) {
carouselContainer.style.left = '0';
}
if (this.previousControl) {
this.previousControl.style.display = 'none';
}
if (this.nextControl) {
this.nextControl.style.display = 'none';
}
}

@@ -105,6 +93,2 @@ this._bindEvents();

const currentActiveItem = this.element.querySelector('.carousel-item.is-active');
if (!currentActiveItem) {
this.items[0].classList.add('is-active');
currentActiveItem = this.items[0];
}
const currentActiveItemPos = this.items.indexOf(currentActiveItem);

@@ -111,0 +95,0 @@ if (currentActiveItemPos) {

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

var bulmaCarousel=function(){'use strict';class a{constructor(a){if(this._clickEvent='ontouchstart'in window?'touchstart':'click',this.element='string'==typeof a?document.querySelector(a):a,!this.element)throw new Error('An invalid selector or non-DOM node has been provided.');this.init()}init(){if(this.items=Array.from(this.element.querySelectorAll('.carousel-item')),this.items.forEach((a)=>{let b=a.querySelector('img');b.setAttribute('draggable',!1)}),this.computedStyle=window.getComputedStyle(this.element),this.previousControl=this.element.querySelector('.carousel-nav-left'),this.nextControl=this.element.querySelector('.carousel-nav-right'),1>=this.items.length){const a=this.element.querySelector('.carousel-container');a&&(a.style.left='0'),this.previousControl&&(this.previousControl.style.display='none'),this.nextControl&&(this.nextControl.style.display='none')}this._bindEvents(),this._initOrder(),this.element.dataset.autoplay&&'true'==this.element.dataset.autoplay&&this._autoPlay(this.element.dataset.delay||5e3)}_bindEvents(){this.previousControl&&this.previousControl.addEventListener(this._clickEvent,(a)=>{a.preventDefault(),this._slide('previous'),this._autoPlayInterval&&(clearInterval(this._autoPlayInterval),this._autoPlay(this.element.dataset.delay||5e3))},!1),this.nextControl&&this.nextControl.addEventListener(this._clickEvent,(a)=>{a.preventDefault(),this._slide('next'),this._autoPlayInterval&&(clearInterval(this._autoPlayInterval),this._autoPlay(this.element.dataset.delay||5e3))},!1),this.element.addEventListener('touchstart',(a)=>{this._swipeStart(a)}),this.element.addEventListener('mousedown',(a)=>{this._swipeStart(a)}),this.element.addEventListener('touchend',(a)=>{this._swipeEnd(a)}),this.element.addEventListener('mouseup',(a)=>{this._swipeEnd(a)})}_initOrder(){const a=this.element.querySelector('.carousel-item.is-active');a||(this.items[0].classList.add('is-active'),a=this.items[0]);const b=this.items.indexOf(a);b?this.items.push(this.items.splice(0,b)):this.items.unshift(this.items.pop()),this._setOrder()}_setOrder(){this.items.forEach((a,b)=>{a.style['z-index']=1===b?'1':'0',a.style.order=b})}_swipeStart(a){this._touch={start:{x:a.clientX,y:a.clientY},end:{x:a.clientX,y:a.clientY}}}_swipeEnd(a){this._touch.end={x:a.clientX,y:a.clientY},this._handleGesture()}_handleGesture(){const a={horizontal:(this._touch.end.x-this._touch.start.x)/parseInt(this.computedStyle.getPropertyValue('width')),vertical:(this._touch.end.y-this._touch.start.y)/parseInt(this.computedStyle.getPropertyValue('height'))};a.horizontal>a.vertical&&.25<a.horizontal&&this._slide('previous'),a.horizontal<a.vertical&&-.25>a.horizontal&&this._slide('next')}_slide(a='next'){if(this.items.length){const b=this.element.querySelector('.carousel-item.is-active');let c;b.classList.remove('is-active'),'previous'===a?(this.items.unshift(this.items.pop()),this.element.classList.add('is-reversing')):(this.items.push(this.items.shift()),this.element.classList.remove('is-reversing')),c=1<=this.items.length?this.items[1]:this.items[0],c.classList.add('is-active'),this._setOrder(),this.element.classList.toggle('carousel-animated'),setTimeout(()=>{this.element.classList.toggle('carousel-animated')},50)}}_autoPlay(a=5e3){this._autoPlayInterval=setInterval(()=>{this._slide('next')},a)}}return document.addEventListener('DOMContentLoaded',function(){var b=document.querySelectorAll('.carousel, .hero-carousel');[].forEach.call(b,function(b){new a(b)})}),a}();
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjBDQUFlLEFBQU0sQUFBUSxPQUFDLENBQzVCLEFBQVcsQUFBQyxBQUFRLGNBQUUsQ0FNcEIsR0FKQSxBQUFJLEtBQUMsQUFBVyxZQUFJLEFBQWMsZ0JBQUksQUFBTSxPQUF6QixDQUE2QixBQUFZLGFBQUcsQUFBTyxBQUFDLFFBRXZFLEFBQUksS0FBQyxBQUFPLFFBQXVCLEFBQVEsUUFBNUIsQUFBTyxBQUFRLFdBQWdCLEFBQVEsU0FBQyxBQUFhLEFBQUMsQUFBUSxBQUFDLEFBQUcsQUFBUSxBQUFDLG1CQUV0RixDQUFDLEFBQUksS0FBQyxBQUFPLEFBQUUsUUFDakIsS0FBTSxJQUFJLEFBQUssT0FBQyxBQUF3RCxBQUFDLEFBQUMsQUFDM0UsMERBRUQsQUFBSSxLQUFDLEFBQUksQUFBRSxBQUFDLE1BQ2IsQ0FPRCxB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aXRpYXRlIGFsbCBET00gZWxlbWVudCBjb250YWluaW5nIGNhcm91c2VsIGNsYXNzXHJcbiAqIEBtZXRob2RcclxuICogQHJldHVybiB7W3R5cGVdfSBbZGVzY3JpcHRpb25dXHJcbiAqL1xyXG5kb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCdET01Db250ZW50TG9hZGVkJywgZnVuY3Rpb24oKSB7XHJcbiAgdmFyIGNhcm91c2VscyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5jYXJvdXNlbCwgLmhlcm8tY2Fyb3VzZWwnKTtcclxuICBbXS5mb3JFYWNoLmNhbGwoY2Fyb3VzZWxzLCBmdW5jdGlvbihjYXJvdXNlbCkge1xyXG4gICAgbmV3IENhcm91c2VsKGNhcm91c2VsKTtcclxuICB9KTtcclxufSk7XHJcbiJdfQ==
var bulmaCarousel=function(){'use strict';class a{constructor(a){if(this._clickEvent='ontouchstart'in window?'touchstart':'click',this.element='string'==typeof a?document.querySelector(a):a,!this.element)throw new Error('An invalid selector or non-DOM node has been provided.');this.init()}init(){this.items=Array.from(this.element.querySelectorAll('.carousel-item')),this.items.forEach((a)=>{let b=a.querySelector('img');b.setAttribute('draggable',!1)}),this.computedStyle=window.getComputedStyle(this.element),this.previousControl=this.element.querySelector('.carousel-nav-left'),this.nextControl=this.element.querySelector('.carousel-nav-right'),this._bindEvents(),this._initOrder(),this.element.dataset.autoplay&&'true'==this.element.dataset.autoplay&&this._autoPlay(this.element.dataset.delay||5e3)}_bindEvents(){this.previousControl&&this.previousControl.addEventListener(this._clickEvent,(a)=>{a.preventDefault(),this._slide('previous'),this._autoPlayInterval&&(clearInterval(this._autoPlayInterval),this._autoPlay(this.element.dataset.delay||5e3))},!1),this.nextControl&&this.nextControl.addEventListener(this._clickEvent,(a)=>{a.preventDefault(),this._slide('next'),this._autoPlayInterval&&(clearInterval(this._autoPlayInterval),this._autoPlay(this.element.dataset.delay||5e3))},!1),this.element.addEventListener('touchstart',(a)=>{this._swipeStart(a)}),this.element.addEventListener('mousedown',(a)=>{this._swipeStart(a)}),this.element.addEventListener('touchend',(a)=>{this._swipeEnd(a)}),this.element.addEventListener('mouseup',(a)=>{this._swipeEnd(a)})}_initOrder(){const a=this.element.querySelector('.carousel-item.is-active'),b=this.items.indexOf(a);b?this.items.push(this.items.splice(0,b)):this.items.unshift(this.items.pop()),this._setOrder()}_setOrder(){this.items.forEach((a,b)=>{a.style['z-index']=1===b?'1':'0',a.style.order=b})}_swipeStart(a){this._touch={start:{x:a.clientX,y:a.clientY},end:{x:a.clientX,y:a.clientY}}}_swipeEnd(a){this._touch.end={x:a.clientX,y:a.clientY},this._handleGesture()}_handleGesture(){const a={horizontal:(this._touch.end.x-this._touch.start.x)/parseInt(this.computedStyle.getPropertyValue('width')),vertical:(this._touch.end.y-this._touch.start.y)/parseInt(this.computedStyle.getPropertyValue('height'))};a.horizontal>a.vertical&&.25<a.horizontal&&this._slide('previous'),a.horizontal<a.vertical&&-.25>a.horizontal&&this._slide('next')}_slide(a='next'){if(this.items.length){const b=this.element.querySelector('.carousel-item.is-active');let c;b.classList.remove('is-active'),'previous'===a?(this.items.unshift(this.items.pop()),this.element.classList.add('is-reversing')):(this.items.push(this.items.shift()),this.element.classList.remove('is-reversing')),c=1<=this.items.length?this.items[1]:this.items[0],c.classList.add('is-active'),this._setOrder(),this.element.classList.toggle('carousel-animated'),setTimeout(()=>{this.element.classList.toggle('carousel-animated')},50)}}_autoPlay(a=5e3){this._autoPlayInterval=setInterval(()=>{this._slide('next')},a)}}return document.addEventListener('DOMContentLoaded',function(){var b=document.querySelectorAll('.carousel, .hero-carousel');[].forEach.call(b,function(b){new a(b)})}),a}();
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjBDQUFlLEFBQU0sQUFBUSxPQUFDLENBQzVCLEFBQVcsQUFB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oqXHJcbiAqIEluaXRpYXRlIGFsbCBET00gZWxlbWVudCBjb250YWluaW5nIGNhcm91c2VsIGNsYXNzXHJcbiAqIEBtZXRob2RcclxuICogQHJldHVybiB7W3R5cGVdfSBbZGVzY3JpcHRpb25dXHJcbiAqL1xyXG5kb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCdET01Db250ZW50TG9hZGVkJywgZnVuY3Rpb24oKSB7XHJcbiAgdmFyIGNhcm91c2VscyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5jYXJvdXNlbCwgLmhlcm8tY2Fyb3VzZWwnKTtcclxuICBbXS5mb3JFYWNoLmNhbGwoY2Fyb3VzZWxzLCBmdW5jdGlvbihjYXJvdXNlbCkge1xyXG4gICAgbmV3IENhcm91c2VsKGNhcm91c2VsKTtcclxuICB9KTtcclxufSk7XHJcbiJdfQ==
{
"name": "bulma-carousel",
"version": "1.0.11",
"version": "1.0.4",
"description": "Display a Image / Content carousel",

@@ -5,0 +5,0 @@ "main": "dist/bulma-carousel.sass",

@@ -0,0 +0,0 @@ # bulma-carousel

@@ -0,0 +0,0 @@ <a name="1.0.1"></a>

@@ -0,0 +0,0 @@ # bulma-checkradio

@@ -0,0 +0,0 @@ <a name="1.0.1"></a>

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ # bulma-divider

@@ -0,0 +0,0 @@ <a name="1.0.1"></a>

@@ -0,0 +0,0 @@ var bulmaIconpicker = (function () {

var bulmaIconpicker=function(){'use strict';const a=['click','touchstart'];let b=function(a){return new Promise((b)=>{let c=document.createElement('link');if(c.type='text/css',c.rel='stylesheet',c.onload=function(){b()},c.href=a,!document.querySelector('link[href="'+a+'"]')){let a=document.querySelector('head');a.append(c)}})};class c{constructor(a,b={}){this.element=a,this.options=Object.assign({},{iconSets:[{name:'simpleLine',css:'https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.css',prefix:'icon-',displayPrefix:''},{name:'fontAwesome',css:'https://opensource.keycdn.com/fontawesome/4.7.0/font-awesome.min.css',prefix:'fa-',displayPrefix:'fa fa-icon'}]},b),this.icons=[],this.id='iconPicker'+new Date().getTime(),this.init()}init(){this.createModal(),this.createPreview(),this.options.iconSets.forEach((a)=>{b(a.css),fetch(a.css,{mode:'cors'}).then((a)=>a.text()).then((b)=>{this.icons[a.name]=this.parseCSS(b,a.prefix||'fa-',a.displayPrefix||''),this.modalSetTabs.querySelector('a').click();var c=new Event('touchstart');this.modalSetTabs.querySelector('a').dispatchEvent(c)})})}createPreview(){this.preview=document.createElement('div'),this.preview.className='icon is-large',this.preview.classList.add('iconpicker-preview');let b=document.createElement('i');if(b.className='iconpicker-icon-preview',this.element.value.length){let a=this.element.value.split(' ');a.forEach((a)=>{b.classList.add(a)})}this.preview.appendChild(b),a.forEach((a)=>{this.preview.addEventListener(a,(a)=>{a.preventDefault(),this.modal.classList.add('is-active')})}),this.element.parentNode.insertBefore(this.preview,this.element.nextSibling)}parseCSS(a,b='fa-',c=''){const d=new RegExp('\\.'+b+'([^\\.!:]*)::?before\\s*{\\s*content:\\s*["|\']\\\\[^\'|"]*["|\'];?\\s*}','g'),e=1;let f,g,h=[];for(;g=d.exec(a);)f={prefix:b,selector:b+g[e].trim(':'),name:this.ucwords(g[e]).trim(':'),filter:g[e].trim(':'),displayPrefix:c},h[g[e]]=f;return 0==Object.getOwnPropertyNames(this.icons).length&&console.warn('No icons found in CSS file'),h}ucwords(a){return(a+'').replace(/^(.)|\s+(.)/g,function(a){return a.toUpperCase()})}drawIcons(a){if(this.iconsList.innerHTML='',a)for(let[b,c]of Object.entries(a))this.iconsList.appendChild(this.createIconPreview(c))}createIconPreview(b,c='fa-'){let d=document.createElement('a');d.dataset.title=b.name,d.setAttribute('title',b.name),d.dataset.icon=b.selector,d.dataset.filter=b.filter;let e=document.createElement('i');return e.className='iconpicker-icon-preview',b.displayPrefix.length&&(c=b.displayPrefix.split(' '),c.forEach((a)=>{e.classList.add(a)})),e.classList.add(b.selector),d.appendChild(e),a.forEach((a)=>{d.addEventListener(a,(a)=>{a.preventDefault(),this.preview.innerHTML='',this.element.value=a.target.classList,this.preview.appendChild(a.target.cloneNode(!0)),this.modal.classList.remove('is-active')})}),d}createModal(){this.modal=document.createElement('div'),this.modal.className='modal',this.modal.classList.add('iconpicker-modal'),this.modal.id=this.id;let b=document.createElement('div');b.className='modal-background';let c=document.createElement('div');c.className='modal-card';let d=document.createElement('header');d.className='modal-card-head';let e=document.createElement('p');e.className='modal-card-title',e.innerHTML='iconPicker',this.modalHeaderSearch=document.createElement('input'),this.modalHeaderSearch.setAttribute('type','search'),this.modalHeaderSearch.setAttribute('placeholder','Search'),this.modalHeaderSearch.className='iconpicker-search',this.modalHeaderSearch.addEventListener('input',(a)=>{this.filter(a.target.value)});let f=document.createElement('button');if(f.className='delete',a.forEach((a)=>{f.addEventListener(a,(a)=>{a.preventDefault(),this.modal.classList.remove('is-active')})}),c.appendChild(d),this.modalBody=document.createElement('section'),this.modalBody.className='modal-card-body',1<=this.options.iconSets.length){let b=document.createElement('div');b.className='iconpicker-sets',b.classList.add('tabs'),this.modalSetTabs=document.createElement('ul'),this.options.iconSets.forEach((b)=>{let c=document.createElement('li'),d=document.createElement('a');d.dataset.iconset=b.name,d.innerHTML=b.name,a.forEach((a)=>{d.addEventListener(a,(a)=>{a.preventDefault();var b=this.modalSetTabs.querySelectorAll('.is-active');[].forEach.call(b,function(a){a.classList.remove('is-active')}),a.target.parentNode.classList.add('is-active'),this.drawIcons(this.icons[a.target.dataset.iconset]),this.filter(this.modalHeaderSearch.value)})}),c.appendChild(d),this.modalSetTabs.appendChild(c)}),b.appendChild(this.modalSetTabs),c.appendChild(b)}this.iconsList=document.createElement('div'),this.iconsList.className='iconpicker-icons',d.appendChild(e),d.appendChild(this.modalHeaderSearch),d.appendChild(f),this.modalBody.appendChild(this.iconsList),c.appendChild(this.modalBody),this.modal.appendChild(b),this.modal.appendChild(c),document.body.appendChild(this.modal)}filter(a=''){return''===a?void this.iconsList.querySelectorAll('[data-filter]').forEach((a)=>{a.classList.remove('is-hidden')}):void(this.iconsList.querySelectorAll('[data-filter]').forEach((a)=>{a.classList.remove('is-hidden')}),this.iconsList.querySelectorAll('[data-filter]:not([data-filter*="'+a+'"])').forEach((a)=>{a.classList.add('is-hidden')}))}}return document.addEventListener('DOMContentLoaded',function(){let a=document.querySelectorAll('[data-action="iconPicker"]'),b={};[].forEach.call(a,function(a){a.dataset.iconPicker||(a.dataset.iconPicker=new c(a,b))})}),c}();
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjRDQUFBLEtBQU0sQUFBWSxHQUFHLENBQUMsQUFBTyxRQUFFLEFBQVksQUFBQyxBQUFDLGNBRTdDLEdBQUksQUFBVSxHQUFHLEFBQVMsQUFBRyxXQUFFLENBQzdCLE1BQU8sSUFBSSxBQUFPLFNBQUMsQUFBQyxBQUFPLEFBQUUsQUFBTSxLQUFLLENBQ3RDLEdBQUksQUFBSSxHQUFHLEFBQVEsU0FBQyxBQUFhLGNBQUMsQUFBTSxBQUFDLEFBQUMsUUFNMUMsR0FMQSxBQUFJLEVBQUMsQUFBSSxLQUFHLEFBQVUsQUFBQyxXQUN2QixBQUFJLEVBQUMsQUFBRyxJQUFHLEFBQVksQUFBQyxhQUN4QixBQUFJLEVBQUMsQUFBTSxPQUFHLFVBQVcsQ0FBRSxBQUFPLEFBQUUsQUFBQyxHQUFFLEFBQUMsRUFDeEMsQUFBSSxFQUFDLEFBQUksQUFBRyxBQUFHLEFBQUMsT0FFWixDQUFDLEFBQVEsU0FBQyxBQUFhLGNBQUMsQUFBYSxBQUFHLEFBQUcsZ0JBQUcsQUFBSSxBQUFDLE1BQUUsQ0FDdkQsR0FBSSxBQUFVLEdBQUcsQUFBUSxTQUFDLEFBQWEsY0FBQyxBQUFNLEFBQUMsQUFB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IH0pO1xuICB9XG5cbiAgZHJhd0ljb25zKGljb25TZXQpIHtcbiAgICB0aGlzLmljb25zTGlzdC5pbm5lckhUTUwgPSAnJztcblxuICAgIGlmIChpY29uU2V0KSB7XG4gICAgICBmb3IgKGxldCBbaWNvbk5hbWUsIGljb25dIG9mIE9iamVjdC5lbnRyaWVzKGljb25TZXQpKSB7XG4gICAgICAgIHRoaXMuaWNvbnNMaXN0LmFwcGVuZENoaWxkKHRoaXMuY3JlYXRlSWNvblByZXZpZXcoaWNvbikpO1xuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIGNyZWF0ZUljb25QcmV2aWV3KGljb24sIHByZWZpeCA9ICdmYS0nKSB7XG4gICAgbGV0IGljb25MaW5rID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnYScpO1xuICAgIGljb25MaW5rLmRhdGFzZXQudGl0bGUgPSBpY29uWyduYW1lJ107XG4gICAgaWNvbkxpbmsuc2V0QXR0cmlidXRlKCd0aXRsZScsIGljb25bJ25hbWUnXSk7XG4gICAgaWNvbkxpbmsuZGF0YXNldC5pY29uID0gaWNvblsnc2VsZWN0b3InXTtcbiAgICBpY29uTGluay5kYXRhc2V0LmZpbHRlciA9IGljb25bJ2ZpbHRlciddO1xuICAgIGxldCBpY29uUHJldmlldyA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2knKTtcbiAgICBpY29uUHJldmlldy5jbGFzc05hbWUgPSAnaWNvbnBpY2tlci1pY29uLXByZXZpZXcnO1xuICAgIGlmIChpY29uWydkaXNwbGF5UHJlZml4J10ubGVuZ3RoKSB7XG4gICAgICBwcmVmaXggPSBpY29uWydkaXNwbGF5UHJlZml4J10uc3BsaXQoJyAnKTtcbiAgICAgIHByZWZpeC5mb3JFYWNoKCBwZnggPT4ge1xuICAgICAgICBpY29uUHJldmlldy5jbGFzc0xpc3QuYWRkKCBwZnggKTtcbiAgICAgIH0pO1xuICAgIH1cbiAgICBpY29uUHJldmlldy5jbGFzc0xpc3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XRhLWZpbHRlcl06bm90KFtkYXRhLWZpbHRlcio9XCInICsgdmFsdWUgKyAnXCJdKScpLmZvckVhY2goIGVsID0+IHtcbiAgICAgIGVsLmNsYXNzTGlzdC5hZGQoJ2lzLWhpZGRlbicpO1xuICAgIH0pO1xuICB9XG59XG5cbmRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoICdET01Db250ZW50TG9hZGVkJywgZnVuY3Rpb24gKCkge1xuICBsZXQgaWNvblBpY2tlcnMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCdbZGF0YS1hY3Rpb249XCJpY29uUGlja2VyXCJdJyk7XG4gIGxldCBpY29uUGlja2VyT3B0aW9ucyA9IHt9O1xuICBbXS5mb3JFYWNoLmNhbGwoaWNvblBpY2tlcnMsIGZ1bmN0aW9uKGljb25QaWNrZXIpIHtcbiAgICBpZiAoIWljb25QaWNrZXIuZGF0YXNldC5pY29uUGlja2VyKSB7XG4gICAgICBpY29uUGlja2VyLmRhdGFzZXQuaWNvblBpY2tlciA9IG5ldyBJY29uUGlja2VyKGljb25QaWNrZXIsIGljb25QaWNrZXJPcHRpb25zKTtcbiAgICB9XG4gIH0pO1xufSk7XG4iXX0=

@@ -0,0 +0,0 @@ # bulma-iconpicker

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

<a name="1.0.1"></a>
## [1.0.1](https://github.com/Wikiki/bulma-pageloader/compare/1.0.0...1.0.1) (2018-02-23)
### Bug Fixes
* **gulp:** Remove Bulma’s important from dist’sass ([8a460d1](https://github.com/Wikiki/bulma-pageloader/commit/8a460d1))
<a name="1.0.0"></a>

@@ -12,0 +2,0 @@ # [1.0.0](https://github.com/Wikiki/bulma-pageloader/compare/0.1.7...1.0.0) (2018-02-10)

{
"name": "bulma-pageloader",
"version": "1.0.1",
"version": "1.0.0",
"description": "Display a page-loader to inform user that content is loading, in different colors. ",

@@ -5,0 +5,0 @@ "main": "dist/bulma-pageloader.sass",

@@ -0,0 +0,0 @@ # bulma-pageloader

@@ -0,0 +0,0 @@ <a name="0.1.8"></a>

@@ -0,0 +0,0 @@ # bulma-pricingtable

@@ -0,0 +0,0 @@ <a name="1.0.1"></a>

@@ -0,0 +0,0 @@ (function () {

(function(){'use strict';function a(a,b){var c;['matches','webkitMatchesSelector','mozMatchesSelector','msMatchesSelector','oMatchesSelector'].some(function(a){return!('function'!=typeof document.body[a])&&(c=a,!0)});for(var d;a;){if(d=a.parentElement,d&&d[c](b))return d;a=d}return null}const b=['click','touchstart'];document.addEventListener('DOMContentLoaded',function(){var c=document.querySelectorAll('[data-show="quickview"]');[].forEach.call(c,function(a){var c=document.getElementById(a.dataset.target);c&&b.forEach((b)=>{a.addEventListener(b,function(a){a.preventDefault(),c.classList.add('is-active')})})});var d=document.querySelectorAll('[data-dismiss="quickview"]');[].forEach.call(d,function(c){var d=a(c,'.quickview');d&&b.forEach((a)=>{c.addEventListener(a,function(){d.classList.remove('is-active')})})})})})();
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6InlCQUVBLEFBQVMsQUFBTyxBQUFDLEFBQUUsQUFBRSxBQUFRLGVBQUUsQ0FDN0IsR0FBSSxBQUFTLEFBQUMsR0FHZCxDQUFDLEFBQVMsVUFBRSxBQUF1Qix3QkFBRSxBQUFvQixxQkFBRSxBQUFtQixvQkFBRSxBQUFrQixBQUFDLG9CQUFDLEFBQUksS0FBQyxBQUFTLEFBQUUsV0FBRSxBQUNwSCxTQUFnQyxBQUFVLEFBQUUsVUFBeEMsUUFBTyxBQUFRLFVBQUMsQUFBSSxBQUFDLEFBQUUsQUFBQyxXQUMxQixBQUFTLEFBQUcsQUFBRSxBQUFDLEFBQ2YsQUFBTyxBQUFJLEFBQUMsQUFDYixBQUNELEFBQU8sQUFBSyxBQUFDLE9BQ2QsQUFBQyxBQUFDLE9BRUgsR0FBSSxBQUFNLEFBQUMsQUFHWC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BHZXQgYWxsIGRvY3VtZW50IHNsaWRlcnNcbiAgdmFyIGRpc21pc3NRdWlja1ZpZXcgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCdbZGF0YS1kaXNtaXNzPVwicXVpY2t2aWV3XCJdJyk7XG4gIFtdLmZvckVhY2guY2FsbChkaXNtaXNzUXVpY2tWaWV3LCBmdW5jdGlvbihkaXNtaXNzKSB7XG4gICAgdmFyIHF1aWNrdmlldyA9IGNsb3Nlc3QoZGlzbWlzcywgJy5xdWlja3ZpZXcnKTtcbiAgICBpZiAocXVpY2t2aWV3KSB7XG4gICAgICAvLyBBZGQgZXZlbnQgbGlzdGVuZXIgdG8gdXBkYXRlIG91dHB1dCB3aGVuIHNsaWRlciB2YWx1ZSBjaGFuZ2VcbiAgICAgIE1PVVNFX0VWRU5UUy5mb3JFYWNoKChldmVudCkgPT4ge1xuICAgICAgICBkaXNtaXNzLmFkZEV2ZW50TGlzdGVuZXIoZXZlbnQsIGZ1bmN0aW9uKGUpIHtcbiAgICAgICAgICBxdWlja3ZpZXcuY2xhc3NMaXN0LnJlbW92ZSgnaXMtYWN0aXZlJyk7XG4gICAgICAgIH0pO1xuICAgICAgfSk7XG4gICAgfVxuICB9KTtcbn0pO1xuIl19

@@ -0,0 +0,0 @@ # bulma-quickview

@@ -0,0 +0,0 @@ <a name="1.0.1"></a>

{
"name": "bulma-ribbon",
"version": "1.0.2",
"version": "1.0.1",
"description": "Display a ribbon on bulma element",
"main": "dist/bulma-ribbon.sass",
"scripts": {
"build": "gulp"
"test": "echo \"Error: no test specified\" && exit 1"
},

@@ -25,2 +25,5 @@ "repository": {

"homepage": "https://github.com/Wikiki/bulma-ribbon#readme",
"scripts": {
"build": "gulp"
},
"devDependencies": {

@@ -32,2 +35,3 @@ "@babel/core": "^7.0.0-beta.39",

"camelcase": "^4.1.0",
"conventional-github-releaser": "^2.0.0",
"del": "^3.0.0",

@@ -44,3 +48,2 @@ "gulp": "^3.9.1",

"gulp-git": "^2.5.1",
"gulp-modular-release": "^0.5.3",
"gulp-postcss": "^7.0.1",

@@ -47,0 +50,0 @@ "gulp-sass": "^3.1.0",

@@ -0,0 +0,0 @@ # bulma-ribbon

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

<a name="1.0.3"></a>
## [1.0.3](https://github.com/Wikiki/bulma-slider/compare/1.0.1...1.0.3) (2018-03-05)
### Bug Fixes
* **js:** Not defined variable ([7f6bde6](https://github.com/Wikiki/bulma-slider/commit/7f6bde6))
<a name="1.0.2"></a>
## [1.0.2](https://github.com/Wikiki/bulma-slider/compare/1.0.1...1.0.2) (2018-03-03)
### Bug Fixes
* **js:** fixed a variable not being declared ([f6bb4ba](https://github.com/enesaktay/bulma-slider/commit/f6bb4ba6cb4616a5b127ed03935e748b1d44df03))
<a name="1.0.1"></a>

@@ -19,0 +2,0 @@ ## [1.0.1](https://github.com/Wikiki/bulma-slider/compare/1.0.0...1.0.1) (2018-02-11)

@@ -7,3 +7,3 @@ (function () {

var idVal = element.id;
var outputs = document.getElementsByTagName('output');
outputs = document.getElementsByTagName('output');
for (var i = 0; i < outputs.length; i++) {

@@ -17,7 +17,8 @@ if (outputs[i].htmlFor == idVal)

// Update output position
var newPlace, minValue;
var newPlace,
minValue;
var style = window.getComputedStyle(slider, null);
// Measure width of range input
var sliderWidth = parseInt(style.getPropertyValue('width'), 10);
sliderWidth = parseInt(style.getPropertyValue('width'), 10);

@@ -24,0 +25,0 @@ // Figure out placement percentage between left and right of input

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

(function(){'use strict';function a(a){for(var b=a.id,c=document.getElementsByTagName('output'),d=0;d<c.length;d++)if(c[d].htmlFor==b)return c[d]}function b(a){var b,c,d=window.getComputedStyle(a,null),e=parseInt(d.getPropertyValue('width'),10);c=a.getAttribute('min')?a.getAttribute('min'):0;var f=(a.value-c)/(a.getAttribute('max')-c);return b=0>f?0:1<f?e:e*f,{position:b+'px'}}document.addEventListener('DOMContentLoaded',function(){var c=document.querySelectorAll('input[type="range"].slider');[].forEach.call(c,function(c){var d=a(c);if(d){if(c.classList.contains('has-output-tooltip')){var e=b(c);d.style.left=e.position}c.addEventListener('input',function(a){if(a.target.classList.contains('has-output-tooltip')){var c=b(a.target);d.style.left=c.position}d.value=a.target.value})}})})})();
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IllBQUEsYUFDQSxBQUFTLEFBQW1CLEFBQUMsQUFBTyxhQUFFLEFBQ3BDLENBRUEsQUFBSyxPQUZELEFBQUssR0FBRyxBQUFPLEVBQUMsQUFBRSxBQUFDLEFBQ3ZCLEdBQUksQUFBTyxFQUFHLEFBQVEsU0FBQyxBQUFvQixxQkFBQyxBQUFRLEFBQUMsQUFBQyxVQUM3QyxBQUFDLEVBQUcsQUFBQyxFQUFFLEFBQUMsRUFBRyxBQUFPLEVBQUMsQUFBTSxPQUFFLEFBQUMsQUFBRSxBQUFFLElBQ3ZDLEdBQUksQUFBTyxBQUFDLEFBQUMsQUFBQyxLQUFDLEFBQU8sQUFBSSxBQUFLLFdBQzdCLE1BQU8sQUFBTyxBQUFDLEFBQUMsQUFBQyxBQUFDLEFBQ25CLEtBQ0YsQ0FFSCxBQUFTLEFBQXVCLEFBQUMsQUFBTSxhQUFFLENBRXZDLEdBQUksQUFBUSxHQUFFLEFBQVEsQUFBQyxBQUV2QixFQUFJLEFBQUssRUFBRyxBQUFNLE9BQUMsQUFBZ0IsQUFBQyxBQUFNLG1CQUFFLEFBQUksQUFBQyxBQUFDLEFBRWxELE1BQUksQUFBVyxFQUFHLEFBQVEsU0FBQyxBQUFLLEVBQUMsQUFBZ0IsaUJBQUMsQUFBTyxBQUFDLFNBQUUsQUFBRSxBQUFDLEFBQUMsQUFHaEUsQUFBSSxNQUFDLEFBQU0sRUFBQyxBQUFZLGFBQUMsQUFBSyxBQUFDLEFBQUUsQUFDL0IsQUFBUSxPQUVHLEFBQU0sR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k7XG5cbiAgICAgICAgICAvLyBTZXQgb3V0cHV0IHBvc2l0aW9uXG4gICAgICAgICAgb3V0cHV0LnN0eWxlWydsZWZ0J10gPSBuZXdQb3NpdGlvbi5wb3NpdGlvbjtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIFVwZGF0ZSBvdXRwdXQgd2l0aCBzbGlkZXIgdmFsdWVcbiAgICAgICAgb3V0cHV0LnZhbHVlID0gZXZlbnQudGFyZ2V0LnZhbHVlO1xuICAgICAgfSk7XG4gICAgfVxuICB9KTtcbn0pO1xuIl19
(function(){'use strict';function a(a){var b=a.id;outputs=document.getElementsByTagName('output');for(var c=0;c<outputs.length;c++)if(outputs[c].htmlFor==b)return outputs[c]}function b(a){var b,c,d=window.getComputedStyle(a,null);sliderWidth=parseInt(d.getPropertyValue('width'),10),c=a.getAttribute('min')?a.getAttribute('min'):0;var e=(a.value-c)/(a.getAttribute('max')-c);return b=0>e?0:1<e?sliderWidth:sliderWidth*e,{position:b+'px'}}document.addEventListener('DOMContentLoaded',function(){var c=document.querySelectorAll('input[type="range"].slider');[].forEach.call(c,function(c){var d=a(c);if(d){if(c.classList.contains('has-output-tooltip')){var e=b(c);d.style.left=e.position}c.addEventListener('input',function(a){if(a.target.classList.contains('has-output-tooltip')){var c=b(a.target);d.style.left=c.position}d.value=a.target.value})}})})})();
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IllBQUEsYUFDQSxBQUFTLEFBQW1CLEFBQUMsQUFBTyxhQUFFLENBQ3BDLEdBQUksQUFBSyxHQUFHLEFBQU8sRUFBQyxBQUFFLEFBQUMsR0FDdkIsQUFBTyxRQUFHLEFBQVEsU0FBQyxBQUFvQixxQkFBQyxBQUFRLEFBQUMsQUFBQyxVQUNsRCxJQUFLLEdBQUksQUFBQyxHQUFHLEFBQUMsRUFBRSxBQUFDL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0cHV0UG9zaXRpb24oc2xpZGVyKTtcblxuICAgICAgICAvLyBTZXQgb3V0cHV0IHBvc2l0aW9uXG4gICAgICAgIG91dHB1dC5zdHlsZVsnbGVmdCddID0gbmV3UG9zaXRpb24ucG9zaXRpb247XG4gICAgICB9XG5cbiAgICAgIC8vIEFkZCBldmVudCBsaXN0ZW5lciB0byB1cGRhdGUgb3V0cHV0IHdoZW4gc2xpZGVyIHZhbHVlIGNoYW5nZVxuICAgICAgc2xpZGVyLmFkZEV2ZW50TGlzdGVuZXIoJ2lucHV0JywgZnVuY3Rpb24oZXZlbnQpIHtcbiAgICAgICAgaWYgKGV2ZW50LnRhcmdldC5jbGFzc0xpc3QuY29udGFpbnMoJ2hhcy1vdXRwdXQtdG9vbHRpcCcpKSB7XG4gICAgICAgICAgLy8gR2V0IG5ldyBvdXRwdXQgcG9zaXRpb25cbiAgICAgICAgICB2YXIgbmV3UG9zaXRpb24gPSBnZXRTbGlkZXJPdXRwdXRQb3NpdGlvbihldmVudC50YXJnZXQpO1xuXG4gICAgICAgICAgLy8gU2V0IG91dHB1dCBwb3NpdGlvblxuICAgICAgICAgIG91dHB1dC5zdHlsZVsnbGVmdCddID0gbmV3UG9zaXRpb24ucG9zaXRpb247XG4gICAgICAgIH1cblxuICAgICAgICAvLyBVcGRhdGUgb3V0cHV0IHdpdGggc2xpZGVyIHZhbHVlXG4gICAgICAgIG91dHB1dC52YWx1ZSA9IGV2ZW50LnRhcmdldC52YWx1ZTtcbiAgICAgIH0pO1xuICAgIH1cbiAgfSk7XG59KTtcbiJdfQ==
{
"name": "bulma-slider",
"version": "1.0.3",
"version": "1.0.1",
"description": "Display classic slider more sexy, in different colors, sizes, and states ",

@@ -5,0 +5,0 @@ "main": "dist/bulma-slider.sass",

@@ -0,0 +0,0 @@ # bulma-slider

@@ -0,0 +0,0 @@ <a name="1.0.1"></a>

@@ -0,0 +0,0 @@ var bulmaSteps = (function () {

var bulmaSteps=function(){'use strict';const a=['click','touchstart'];class b{constructor(a=null,b={}){this.options=Object.assign({},{selector:'.step-item',selector_content:'.step-content',previous_selector:'[data-nav="previous"]',next_selector:'[data-nav="next"]',active_class:'is-active',completed_class:'is-completed',beforeNext:null,onShow:null,onFinish:null,onError:null},b),this.element=a,this.steps=a.querySelectorAll(this.options.selector),this.contents=a.querySelectorAll(this.options.selector_content),this.previous_btn=a.querySelector(this.options.previous_selector),this.next_btn=a.querySelector(this.options.next_selector),this.init()}init(){for(var a,b=0;b<this.steps.length;b++)a=this.steps[b],a.setAttribute('data-step-id',b);this.bind(),this.start()}bind(){var b=this;null!=this.previous_btn&&a.forEach((a)=>{this.previous_btn.addEventListener(a,function(a){a.preventDefault(),a.target.getAttribute('disabled')||b.previous_step()})}),null!=this.next_btn&&a.forEach((a)=>{this.next_btn.addEventListener(a,function(a){a.preventDefault(),a.target.getAttribute('disabled')||b.next_step()})})}start(){this.activate_step(0),this.updateActions(this.steps[0])}get_current_step_id(){for(var a,b=0;b<this.steps.length;b++)if(a=this.steps[b],a.classList.contains(this.options.active_class))return parseInt(a.getAttribute('data-step-id'));return null}updateActions(a){var b=parseInt(a.getAttribute('data-step-id'));0==b?(null!=this.previous_btn&&this.previous_btn.setAttribute('disabled','disabled'),null!=this.next_btn&&this.next_btn.removeAttribute('disabled','disabled')):b==this.steps.length-1?(null!=this.previous_btn&&this.previous_btn.removeAttribute('disabled','disabled'),null!=this.next_btn&&this.next_btn.setAttribute('disabled','disabled')):(null!=this.previous_btn&&this.previous_btn.removeAttribute('disabled','disabled'),null!=this.next_btn&&this.next_btn.removeAttribute('disabled','disabled'))}next_step(){var a=this.get_current_step_id();if(null!=a){var b=a+1,c=[];if('undefined'!=typeof this.options.beforeNext&&null!=this.options.beforeNext&&this.options.beforeNext&&(c=this.options.beforeNext(a)),'undefined'==typeof c&&(c=[]),0<c.length){for(var d=0;d<c.length;d++)'undefined'!=typeof this.options.onError&&null!=this.options.onError&&this.options.onError&&this.options.onError(c[d]);return}b>=this.steps.length?('undefined'!=typeof this.options.onFinish&&null!=this.options.onFinish&&this.options.onFinish&&this.options.onFinish(a),this.deactivate_step(a)):(this.complete_step(a),this.activate_step(b))}}previous_step(){var a=this.get_current_step_id();null==a||(this.uncomplete_step(a-1),this.activate_step(a-1))}activate_step(a){this.updateActions(this.steps[a]);for(var b,c=0;c<this.steps.length;c++)(b=this.steps[c],b!=this.steps[a])&&this.deactivate_step(c);this.steps[a].classList.add(this.options.active_class),'undefined'!=typeof this.contents[a]&&this.contents[a].classList.add(this.options.active_class),'undefined'!=typeof this.options.onShow&&null!=this.options.onShow&&this.options.onShow&&this.options.onShow(a)}complete_step(a){this.steps[a].classList.add(this.options.completed_class)}uncomplete_step(a){this.steps[a].classList.remove(this.options.completed_class)}deactivate_step(a){this.steps[a].classList.remove(this.options.active_class),'undefined'!=typeof this.contents[a]&&this.contents[a].classList.remove(this.options.active_class)}}return document.addEventListener('DOMContentLoaded',function(){var a=document.querySelectorAll('.steps');[].forEach.call(a,(a)=>{new b(a)})}),b}();
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6InVDQUFBLEtBQU0sQUFBWSxHQUFHLENBQUMsQUFBTyxRQUFFLEFBQVksQUFBQyxBQUFDLGNBRTdDLEFBQWUsQUFBTSxBQUFXLE9BQUMsQ0FDL0IsQUFBVyxZQUFDLEFBQU8sRUFBRyxBQUFJLEtBQUUsQUFBTyxFQUFHLEFBQUUsR0FBRSxDQUN4QyxBQUFJLEtBQUMsQUFBTyxRQUFHLEFBQU0sT0FBQyxBQUFNLE9BQUMsQUFBRSxHQUFFLENBQy9CLEFBQVUsU0FBRSxBQUFZLGFBQ3hCLEFBQWtCLGlCQUFFLEFBQWUsZ0JBQ25DLEFBQW1CLGtCQUFFLEFBQXVCLHdCQUM1QyxBQUFlLGNBQUUsQUFBbUIsb0JBQ3BDLEFBQWMsYUFBRSx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KHR5cGVvZiB0aGlzLmNvbnRlbnRzW3N0ZXBfaWRdICE9PSAndW5kZWZpbmVkJykge1xuICAgICAgdGhpcy5jb250ZW50c1tzdGVwX2lkXS5jbGFzc0xpc3QucmVtb3ZlKHRoaXMub3B0aW9ucy5hY3RpdmVfY2xhc3MpO1xuICAgIH1cbiAgfVxufVxuXG5kb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCdET01Db250ZW50TG9hZGVkJywgZnVuY3Rpb24oKSB7XG4gIHZhciBzdGVwc0NvbnRhaW5lcnMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuc3RlcHMnKTtcbiAgW10uZm9yRWFjaC5jYWxsKHN0ZXBzQ29udGFpbmVycywgKHN0ZXBzQ29udGFpbmVyKSA9PiB7XG4gICAgdmFyIHN0ZXBzV2l6YXJkID0gbmV3IFN0ZXBzV2l6YXJkKHN0ZXBzQ29udGFpbmVyKTtcbiAgfSk7XG59KTtcbiJdfQ==

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ # bulma-steps

@@ -0,0 +0,0 @@ <a name="1.0.1"></a>

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ # bulma-switch

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

<a name="1.0.6"></a>
## [1.0.6](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.1...1.0.6) (2018-02-21)
<a name="1.0.5"></a>
## [1.0.5](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.1...1.0.5) (2018-02-21)
<a name="1.0.4"></a>
## [1.0.4](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.3...1.0.4) (2018-02-21)
<a name="1.0.3"></a>
## [1.0.3](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.2...1.0.3) (2018-02-21)
<a name="1.0.2"></a>
## [1.0.2](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.1...1.0.2) (2018-02-20)
<a name="1.0.1"></a>

@@ -27,0 +2,0 @@ ## [1.0.1](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.0...1.0.1) (2018-02-11)

@@ -1,6 +0,3 @@

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define('bulmaTagsinput', factory) :
(global.bulmaTagsinput = factory());
}(this, (function () { 'use strict';
var bulmaTagsinput = (function () {
'use strict';

@@ -369,2 +366,2 @@ if (typeof Object.assign != 'function') {

})));
}());

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

(function(a,b){'object'==typeof exports&&'undefined'!=typeof module?module.exports=b():'function'==typeof define&&define.amd?define('bulmaTagsinput',b):a.bulmaTagsinput=b()})(this,function(){'use strict';'function'!=typeof Object.assign&&Object.defineProperty(Object,'assign',{value:function(a){if(null==a)throw new TypeError('Cannot convert undefined or null to object');for(var b,c=Object(a),d=1;d<arguments.length;d++)if(b=arguments[d],null!=b)for(var e in b)Object.prototype.hasOwnProperty.call(b,e)&&(c[e]=b[e]);return c},writable:!0,configurable:!0});const a=['click','touchstart'],b=188;class c{constructor(a,b={}){this.element=a,this.options=Object.assign({},{disabled:!1,delimiter:',',allowDelete:!0,lowercase:!1,uppercase:!1,duplicates:!0},b),this.init()}init(){if(!this.options.disabled){this.tags=[],this.container=document.createElement('div'),this.container.className='tagsinput',this.container.classList.add('field'),this.container.classList.add('is-grouped'),this.container.classList.add('is-grouped-multiline'),this.container.classList.add('input');let a=this.element.getAttribute('type');a&&'tags'!==a||(a='text'),this.input=document.createElement('input'),this.input.setAttribute('type',a),this.element.getAttribute('placeholder')?this.input.setAttribute('placeholder',this.element.getAttribute('placeholder')):this.input.setAttribute('placeholder','Add a Tag'),this.container.appendChild(this.input);let b=this.element.nextSibling;this.element.parentNode[b?'insertBefore':'appendChild'](this.container,b),this.element.style.cssText='position:absolute;left:0;top:0;width:1px;height:1px;opacity:0.01;',this.element.tabIndex=-1,this.enable()}}enable(){this.enabled||this.options.disabled||(this.element.addEventListener('focus',()=>{this.container.classList.add('is-focused'),this.select(Array.prototype.slice.call(this.container.querySelectorAll('.tag:not(.is-delete)')).pop())}),this.input.addEventListener('focus',()=>{this.container.classList.add('is-focused'),this.select(Array.prototype.slice.call(this.container.querySelectorAll('.tag:not(.is-delete)')).pop())}),this.input.addEventListener('blur',()=>{this.container.classList.remove('is-focused'),this.select(Array.prototype.slice.call(this.container.querySelectorAll('.tag:not(.is-delete)')).pop()),this.savePartial()}),this.input.addEventListener('keydown',(a)=>{let c,d=a.charCode||a.keyCode||a.which,e=this.container.querySelector('.tag.is-active'),f=Array.prototype.slice.call(this.container.querySelectorAll('.tag:not(.is-delete)')).pop(),g=this.caretAtStart(this.input);if(e&&(c=this.container.querySelector('[data-tag="'+e.innerHTML.trim()+'"]')),this.setInputWidth(),d===13||d===this.options.delimiter.charCodeAt(0)||d===b||d===9){if(!this.input.value&&(d!==this.options.delimiter.charCodeAt(0)||d===b))return;this.savePartial()}else if(d===46&&c)c.nextSibling?this.select(c.nextSibling.querySelector('.tag')):c.previousSibling&&this.select(c.previousSibling.querySelector('.tag')),this.container.removeChild(c),delete this.tags[this.tags.indexOf(c.getAttribute('data-tag'))],this.setInputWidth(),this.save();else if(d===8){if(c)c.previousSibling?this.select(c.previousSibling.querySelector('.tag')):c.nextSibling&&this.select(c.nextSibling.querySelector('.tag')),this.container.removeChild(c),delete this.tags[this.tags.indexOf(c.getAttribute('data-tag'))],this.setInputWidth(),this.save();else if(f&&g)this.select(f);else return;}else if(d===37){if(c)c.previousSibling&&this.select(c.previousSibling.querySelector('.tag'));else{if(!g)return;this.select(f)}}else if(d===39){if(!c)return;this.select(c.nextSibling.querySelector('.tag'))}else return this.select();return a.preventDefault(),!1}),this.input.addEventListener('input',()=>{this.element.value=this.getValue(),this.element.dispatchEvent(new Event('input'))}),this.input.addEventListener('paste',()=>setTimeout(savePartial,0)),this.container.addEventListener('mousedown',(a)=>{this.refocus(a)}),this.container.addEventListener('touchstart',(a)=>{this.refocus(a)}),this.savePartial(this.element.value),this.enabled=!0)}disable(){this.enabled&&!this.options.disabled&&(this.reset(),this.enabled=!1)}select(a){let b=this.container.querySelector('.is-active');b&&b.classList.remove('is-active'),a&&a.classList.add('is-active')}addTag(b){if(~b.indexOf(this.options.delimiter)&&(b=b.split(this.options.delimiter)),Array.isArray(b))return b.forEach((a)=>{this.addTag(a)});let c=b&&b.trim();if(!c)return!1;if((this.element.getAttribute('lowercase')||'true'==this.options.lowercase)&&(c=c.toLowerCase()),(this.element.getAttribute('uppercase')||'true'==this.options.uppercase)&&(c=c.toUpperCase()),'true'==this.element.getAttribute('duplicates')||this.options.duplicates||-1===this.tags.indexOf(c)){this.tags.push(c);let b=document.createElement('div');b.className='control',b.setAttribute('data-tag',c);let d=document.createElement('div');d.className='tags',d.classList.add('has-addons');let e=document.createElement('span');if(e.className='tag',e.classList.add('is-active'),this.select(e),e.innerHTML=c,d.appendChild(e),this.options.allowDelete){let b=document.createElement('a');b.className='tag',b.classList.add('is-delete'),a.forEach((a)=>{b.addEventListener(a,(a)=>{let b,c=a.target.parentNode,d=Array.prototype.slice.call(this.container.querySelectorAll('.tag')).pop(),e=this.caretAtStart(this.input);if(c&&(b=this.container.querySelector('[data-tag="'+c.innerText.trim()+'"]')),b)this.select(b.previousSibling),this.container.removeChild(b),delete this.tags[this.tags.indexOf(b.getAttribute('data-tag'))],this.setInputWidth(),this.save();else if(d&&e)this.select(d);else return})}),d.appendChild(b)}b.appendChild(d),this.container.insertBefore(b,this.input)}}getValue(){return this.tags.join(this.options.delimiter)}setValue(a){Array.prototype.slice.call(this.container.querySelectorAll('.tag')).forEach((a)=>{delete this.tags[this.tags.indexOf(a.innerHTML)],this.container.removeChild(a)}),this.savePartial(a)}setInputWidth(){let a=Array.prototype.slice.call(this.container.querySelectorAll('.control')).pop();this.container.offsetWidth&&(this.input.style.width=Math.max(this.container.offsetWidth-(a?a.offsetLeft+a.offsetWidth:30)-30,this.container.offsetWidth/4)+'px')}savePartial(a){'string'==typeof a||Array.isArray(a)||(a=this.input.value),!1!==this.addTag(a)&&(this.input.value='',this.save(),this.setInputWidth())}save(){this.element.value=this.tags.join(this.options.delimiter),this.element.dispatchEvent(new Event('change'))}caretAtStart(a){try{return 0===a.selectionStart&&0===a.selectionEnd}catch(b){return''===a.value}}refocus(a){return(a.target.classList.contains('tag')&&this.select(a.target),a.target===this.input)?this.select():(this.input.focus(),a.preventDefault(),!1)}reset(){this.tags=[]}destroy(){this.disable(),this.reset(),this.element=null}}return document.addEventListener('DOMContentLoaded',function(){let a=document.querySelectorAll('input[type="tags"]');[].forEach.call(a,function(a){new c(a)})}),c});
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IitMQUFBLGFBQTRCLEFBQVUsQUFBRSxVQUFwQyxRQUFPLEFBQU0sUUFBQyxBQUFNLFFBRXRCLEFBQU0sT0FBQyxBQUFjLGVBQUMsQUFBTSxPQUFFLEFBQVEsU0FBRSxDQUN0QyxBQUFLLE1BQUUsQUFBUyxBQUFNLEFBQUMsQUFBTSxBQUFFLEFBQU8sV0FBRSxBQUN0QyxBQUFZLEFBQUMsQ0FDYixHQUFjLEFBQUksQUFBRSxJQUFoQixBQUFNLElBQ1IsS0FBTSxJQUFJLEFBQVMsV0FBQyxBQUE0QyxBQUFDLEFBQUMsQUFDbkUsQUFFRCw4Q0FFQSxBQUFLLFVBRkQsQUFBRSxFQUFHLEFBQU0sQUFBQyxBQUFNLEFBQUMsQUFBQyxVQUVmLEFBQUssRUFBRyxBQUFDLEVBQUUsQUFBSyxFQUFHLEFBQVMsVUFBQyxBQUFNLE9BQUUsQUFBSyxBQUFFLEFBQUUsQUFDckQsQUFBSSxBQUFVLElBRWQsS0FGaUIsQUFBUyxBQUFDLEFBQUssQUFBQyxBQUFDLGFBRWhCLEFBQUksQUFBRSxJQUFwQixBQUFVLElBQ1osSUFBSyxHQUFJLEFBQU8sQUFBSSxBQUFVLEFBQUUsQUFFOUI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ICByZXNldCgpIHtcbiAgICB0aGlzLnRhZ3MgPSBbXTtcbiAgfVxuXG4gIGRlc3Ryb3koKSB7XG4gICAgdGhpcy5kaXNhYmxlKCk7XG4gICAgdGhpcy5yZXNldCgpO1xuICAgIHRoaXMuZWxlbWVudCA9IG51bGw7XG4gIH1cbn1cblxuZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lciggJ0RPTUNvbnRlbnRMb2FkZWQnLCBmdW5jdGlvbiAoKSB7XG4gIGxldCB0YWdJbnB1dHMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCdpbnB1dFt0eXBlPVwidGFnc1wiXScpO1xuICBbXS5mb3JFYWNoLmNhbGwodGFnSW5wdXRzLCBmdW5jdGlvbih0YWdJbnB1dCkge1xuICAgICAgbmV3IFRhZ2lmeSh0YWdJbnB1dCk7XG4gIH0pO1xufSk7XG4iXX0=
var bulmaTagsinput=function(){'use strict';'function'!=typeof Object.assign&&Object.defineProperty(Object,'assign',{value:function(a){if(null==a)throw new TypeError('Cannot convert undefined or null to object');for(var b,c=Object(a),d=1;d<arguments.length;d++)if(b=arguments[d],null!=b)for(var e in b)Object.prototype.hasOwnProperty.call(b,e)&&(c[e]=b[e]);return c},writable:!0,configurable:!0});const a=['click','touchstart'],b=188;class c{constructor(a,b={}){this.element=a,this.options=Object.assign({},{disabled:!1,delimiter:',',allowDelete:!0,lowercase:!1,uppercase:!1,duplicates:!0},b),this.init()}init(){if(!this.options.disabled){this.tags=[],this.container=document.createElement('div'),this.container.className='tagsinput',this.container.classList.add('field'),this.container.classList.add('is-grouped'),this.container.classList.add('is-grouped-multiline'),this.container.classList.add('input');let a=this.element.getAttribute('type');a&&'tags'!==a||(a='text'),this.input=document.createElement('input'),this.input.setAttribute('type',a),this.element.getAttribute('placeholder')?this.input.setAttribute('placeholder',this.element.getAttribute('placeholder')):this.input.setAttribute('placeholder','Add a Tag'),this.container.appendChild(this.input);let b=this.element.nextSibling;this.element.parentNode[b?'insertBefore':'appendChild'](this.container,b),this.element.style.cssText='position:absolute;left:0;top:0;width:1px;height:1px;opacity:0.01;',this.element.tabIndex=-1,this.enable()}}enable(){this.enabled||this.options.disabled||(this.element.addEventListener('focus',()=>{this.container.classList.add('is-focused'),this.select(Array.prototype.slice.call(this.container.querySelectorAll('.tag:not(.is-delete)')).pop())}),this.input.addEventListener('focus',()=>{this.container.classList.add('is-focused'),this.select(Array.prototype.slice.call(this.container.querySelectorAll('.tag:not(.is-delete)')).pop())}),this.input.addEventListener('blur',()=>{this.container.classList.remove('is-focused'),this.select(Array.prototype.slice.call(this.container.querySelectorAll('.tag:not(.is-delete)')).pop()),this.savePartial()}),this.input.addEventListener('keydown',(a)=>{let c,d=a.charCode||a.keyCode||a.which,e=this.container.querySelector('.tag.is-active'),f=Array.prototype.slice.call(this.container.querySelectorAll('.tag:not(.is-delete)')).pop(),g=this.caretAtStart(this.input);if(e&&(c=this.container.querySelector('[data-tag="'+e.innerHTML.trim()+'"]')),this.setInputWidth(),d===13||d===this.options.delimiter.charCodeAt(0)||d===b||d===9){if(!this.input.value&&(d!==this.options.delimiter.charCodeAt(0)||d===b))return;this.savePartial()}else if(d===46&&c)c.nextSibling?this.select(c.nextSibling.querySelector('.tag')):c.previousSibling&&this.select(c.previousSibling.querySelector('.tag')),this.container.removeChild(c),delete this.tags[this.tags.indexOf(c.getAttribute('data-tag'))],this.setInputWidth(),this.save();else if(d===8){if(c)c.previousSibling?this.select(c.previousSibling.querySelector('.tag')):c.nextSibling&&this.select(c.nextSibling.querySelector('.tag')),this.container.removeChild(c),delete this.tags[this.tags.indexOf(c.getAttribute('data-tag'))],this.setInputWidth(),this.save();else if(f&&g)this.select(f);else return;}else if(d===37){if(c)c.previousSibling&&this.select(c.previousSibling.querySelector('.tag'));else{if(!g)return;this.select(f)}}else if(d===39){if(!c)return;this.select(c.nextSibling.querySelector('.tag'))}else return this.select();return a.preventDefault(),!1}),this.input.addEventListener('input',()=>{this.element.value=this.getValue(),this.element.dispatchEvent(new Event('input'))}),this.input.addEventListener('paste',()=>setTimeout(savePartial,0)),this.container.addEventListener('mousedown',(a)=>{this.refocus(a)}),this.container.addEventListener('touchstart',(a)=>{this.refocus(a)}),this.savePartial(this.element.value),this.enabled=!0)}disable(){this.enabled&&!this.options.disabled&&(this.reset(),this.enabled=!1)}select(a){let b=this.container.querySelector('.is-active');b&&b.classList.remove('is-active'),a&&a.classList.add('is-active')}addTag(b){if(~b.indexOf(this.options.delimiter)&&(b=b.split(this.options.delimiter)),Array.isArray(b))return b.forEach((a)=>{this.addTag(a)});let c=b&&b.trim();if(!c)return!1;if((this.element.getAttribute('lowercase')||'true'==this.options.lowercase)&&(c=c.toLowerCase()),(this.element.getAttribute('uppercase')||'true'==this.options.uppercase)&&(c=c.toUpperCase()),'true'==this.element.getAttribute('duplicates')||this.options.duplicates||-1===this.tags.indexOf(c)){this.tags.push(c);let b=document.createElement('div');b.className='control',b.setAttribute('data-tag',c);let d=document.createElement('div');d.className='tags',d.classList.add('has-addons');let e=document.createElement('span');if(e.className='tag',e.classList.add('is-active'),this.select(e),e.innerHTML=c,d.appendChild(e),this.options.allowDelete){let b=document.createElement('a');b.className='tag',b.classList.add('is-delete'),a.forEach((a)=>{b.addEventListener(a,(a)=>{let b,c=a.target.parentNode,d=Array.prototype.slice.call(this.container.querySelectorAll('.tag')).pop(),e=this.caretAtStart(this.input);if(c&&(b=this.container.querySelector('[data-tag="'+c.innerText.trim()+'"]')),b)this.select(b.previousSibling),this.container.removeChild(b),delete this.tags[this.tags.indexOf(b.getAttribute('data-tag'))],this.setInputWidth(),this.save();else if(d&&e)this.select(d);else return})}),d.appendChild(b)}b.appendChild(d),this.container.insertBefore(b,this.input)}}getValue(){return this.tags.join(this.options.delimiter)}setValue(a){Array.prototype.slice.call(this.container.querySelectorAll('.tag')).forEach((a)=>{delete this.tags[this.tags.indexOf(a.innerHTML)],this.container.removeChild(a)}),this.savePartial(a)}setInputWidth(){let a=Array.prototype.slice.call(this.container.querySelectorAll('.control')).pop();this.container.offsetWidth&&(this.input.style.width=Math.max(this.container.offsetWidth-(a?a.offsetLeft+a.offsetWidth:30)-30,this.container.offsetWidth/4)+'px')}savePartial(a){'string'==typeof a||Array.isArray(a)||(a=this.input.value),!1!==this.addTag(a)&&(this.input.value='',this.save(),this.setInputWidth())}save(){this.element.value=this.tags.join(this.options.delimiter),this.element.dispatchEvent(new Event('change'))}caretAtStart(a){try{return 0===a.selectionStart&&0===a.selectionEnd}catch(b){return''===a.value}}refocus(a){return(a.target.classList.contains('tag')&&this.select(a.target),a.target===this.input)?this.select():(this.input.focus(),a.preventDefault(),!1)}reset(){this.tags=[]}destroy(){this.disable(),this.reset(),this.element=null}}return document.addEventListener('DOMContentLoaded',function(){let a=document.querySelectorAll('input[type="tags"]');[].forEach.call(a,function(a){new c(a)})}),c}();
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjhCQUFBLGFBQTRCLEFBQVUsQUFBRSxVQUFwQyxRQUFPLEFBQU0sUUFBQyxBQUFNLFFBRXRCLEFBQU0sT0FBQyxBQUFjLGVBQUMsQUFBTSxPQUFFLEFBQVEsU0FBRSxDQUN0QyxBQUFLLE1BQUUsQUFBUyxBQUFNLEFBQUMsQUFBTSxBQUFFLEFBQU8sV0FBRSxBQUN0QyxBQUFZLEFBQUMsQ0FDYixHQUFjLEFBQUksQUFBRSxJQUFoQixBQUFNLElBQ1IsS0FBTSxJQUFJLEFBQVMsV0FBQyxBQUE0QyxBQUFDLEFBQUMsQUFDbkUsQUFFRCw4Q0FFQSxBQUFLLFVBRkQsQUFBRSxFQUFHLEFBQU0sQUFBQyxBQUFNLEFBQUMsQUFBQyxVQUVmLEFBQUssRUFBRyxBQUFDLEVBQUUsQUFBSyxFQUFHLEFBQVMsVUFBQyxBQUFNLE9BQUUsQUFBSyxBQUFFLEFBQUUsQU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mlucHV0KSB7XG4gICAgICByZXR1cm4gdGhpcy5zZWxlY3QoKTtcbiAgICB9XG5cdFx0dGhpcy5pbnB1dC5mb2N1cygpO1xuXHRcdGUucHJldmVudERlZmF1bHQoKTtcblx0XHRyZXR1cm4gZmFsc2U7XG4gIH1cblxuICByZXNldCgpIHtcbiAgICB0aGlzLnRhZ3MgPSBbXTtcbiAgfVxuXG4gIGRlc3Ryb3koKSB7XG4gICAgdGhpcy5kaXNhYmxlKCk7XG4gICAgdGhpcy5yZXNldCgpO1xuICAgIHRoaXMuZWxlbWVudCA9IG51bGw7XG4gIH1cbn1cblxuZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lciggJ0RPTUNvbnRlbnRMb2FkZWQnLCBmdW5jdGlvbiAoKSB7XG4gIGxldCB0YWdJbnB1dHMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCdpbnB1dFt0eXBlPVwidGFnc1wiXScpO1xuICBbXS5mb3JFYWNoLmNhbGwodGFnSW5wdXRzLCBmdW5jdGlvbih0YWdJbnB1dCkge1xuICAgICAgbmV3IFRhZ2lmeSh0YWdJbnB1dCk7XG4gIH0pO1xufSk7XG4iXX0=
{
"name": "bulma-tagsinput",
"version": "1.0.6",
"version": "1.0.1",
"description": "Bulma.io extension to add interaction on input tags",

@@ -5,0 +5,0 @@ "main": "dist/bulma-tagsinput.sass",

@@ -0,0 +0,0 @@ # bulma-taginputs

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ # bulma-timeline

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

<a name="1.0.3"></a>
## [1.0.3](https://github.com/Wikiki/bulma-tooltip/compare/1.0.2...1.0.3) (2018-02-13)
### Bug Fixes
* **loading:** Better code ([5fc73fb](https://github.com/Wikiki/bulma-tooltip/commit/5fc73fb))
<a name="1.0.2"></a>
## [1.0.2](https://github.com/Wikiki/bulma-tooltip/compare/1.0.1...1.0.2) (2018-02-13)
### Bug Fixes
* **loading:** Keep loading style ([a910196](https://github.com/Wikiki/bulma-tooltip/commit/a910196))
<a name="1.0.1"></a>

@@ -22,0 +2,0 @@ ## [1.0.1](https://github.com/Wikiki/bulma-tooltip/compare/1.0.0...1.0.1) (2018-02-11)

{
"name": "bulma-tooltip",
"version": "1.0.3",
"version": "1.0.1",
"description": "Display a tooltip attached to any kind of element, in different position.",

@@ -5,0 +5,0 @@ "main": "dist/bulma-tooltip.sass",

@@ -0,0 +0,0 @@ # bulma-tooltip

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

<a name="1.0.4"></a>
## [1.0.4](https://github.com/Wikiki/bulma-extensions/compare/1.0.3...1.0.4) (2018-03-05)
### Bug Fixes
* **js:** Not defined variable ([ef8158d](https://github.com/Wikiki/bulma-extensions/commit/ef8158d))
* **navigation:** Previous makes jump ([36dd13d](https://github.com/Wikiki/bulma-extensions/commit/36dd13d))
<a name="1.0.3"></a>
## [1.0.3](https://github.com/Wikiki/bulma-extensions/compare/1.0.2...1.0.3) (2018-02-22)
### Bug Fixes
* **babel:** ES6 Transpilation output format ([c5383b4](https://github.com/Wikiki/bulma-extensions/commit/c5383b4))
<a name="1.0.2"></a>
## [1.0.2](https://github.com/Wikiki/bulma-extensions/compare/1.0.1...1.0.2) (2018-02-13)
### Bug Fixes
* **loading:** Don’t touch to is-loading mode ([6568ef5](https://github.com/Wikiki/bulma-extensions/commit/6568ef5))
<a name="1.0.1"></a>

@@ -33,0 +2,0 @@ ## [1.0.1](https://github.com/Wikiki/bulma-extensions/compare/1.0.0...1.0.1) (2018-02-11)

{
"name": "bulma-extensions",
"version": "1.0.4",
"version": "1.0.5",
"description": "Set of extensions for Bulma.io CSS Framework",
"main": "extensions.sass",
"main": "dist/extensions.sass",
"scripts": {

@@ -53,65 +53,65 @@ "build": "gulp"

"dist/bulma-extensions.min.css",
"bulma-accordion/dist/accordion.sass",
"bulma-accordion/dist/bulma-accordion.sass",
"bulma-accordion/dist/bulma-accordion.css",
"bulma-accordion/dist/bulma-accordion.min.css",
"bulma-accordion/dist/accordion.js",
"bulma-accordion/dist/accordion.min.js",
"bulma-badge/dist/badge.sass",
"bulma-accordion/dist/bulma-accordion.js",
"bulma-accordion/dist/bulma-accordion.min.js",
"bulma-badge/dist/bulma-badge.sass",
"bulma-badge/dist/bulma-badge.css",
"bulma-badge/dist/bulma-badge.min.css",
"bulma-calendar/dist/calendar.sass",
"bulma-calendar/dist/bulma-calendar.sass",
"bulma-calendar/dist/bulma-calendar.css",
"bulma-calendar/dist/bulma-calendar.min.css",
"bulma-calendar/dist/datepicker.js",
"bulma-calendar/dist/datepicker.min.js",
"bulma-carousel/dist/carousel.sass",
"bulma-calendar/dist/bulma-calendar.js",
"bulma-calendar/dist/bulma-calendar.min.js",
"bulma-carousel/dist/bulma-carousel.sass",
"bulma-carousel/dist/bulma-carousel.css",
"bulma-carousel/dist/bulma-carousel.min.css",
"bulma-carousel/dist/carousel.js",
"bulma-carousel/dist/carousel.min.js",
"bulma-checkradio/dist/checkradio.sass",
"bulma-carousel/dist/bulma-carousel.js",
"bulma-carousel/dist/bulma-carousel.min.js",
"bulma-checkradio/dist/bulma-checkradio.sass",
"bulma-checkradio/dist/bulma-checkradio.css",
"bulma-checkradio/dist/bulma-checkradio.min.css",
"bulma-divider/dist/divider.sass",
"bulma-divider/dist/bulma-divider.sass",
"bulma-divider/dist/bulma-divider.css",
"bulma-divider/dist/bulma-divider.min.css",
"bulma-iconpicker/dist/iconPicker.sass",
"bulma-iconpicker/dist/bulma-iconPicker.css",
"bulma-iconpicker/dist/bulma-iconPicker.min.css",
"bulma-iconpicker/dist/iconPicker.js",
"bulma-iconpicker/dist/iconPicker.min.js",
"bulma-pageloader/dist/pageloader.sass",
"bulma-iconpicker/dist/bulma-iconpicker.sass",
"bulma-iconpicker/dist/bulma-iconpicker.css",
"bulma-iconpicker/dist/bulma-iconpicker.min.css",
"bulma-iconpicker/dist/bulma-iconpicker.js",
"bulma-iconpicker/dist/bulma-iconpicker.min.js",
"bulma-pageloader/dist/bulma-pageloader.sass",
"bulma-pageloader/dist/bulma-pageloader.css",
"bulma-pageloader/dist/bulma-pageloader.min.css",
"bulma-pricingtable/dist/pricing-table.sass",
"bulma-pricingtable/dist/bulma-pricing-table.css",
"bulma-pricingtable/dist/bulma-pricing-table.min.css",
"bulma-quickview/dist/quickview.sass",
"bulma-pricingtable/dist/bulma-pricingtable.sass",
"bulma-pricingtable/dist/bulma-pricingtable.css",
"bulma-pricingtable/dist/bulma-pricingtable.min.css",
"bulma-quickview/dist/bulma-quickview.sass",
"bulma-quickview/dist/bulma-quickview.css",
"bulma-quickview/dist/bulma-quickview.min.css",
"bulma-quickview/dist/quickview.js",
"bulma-quickview/dist/quickview.min.js",
"bulma-ribbon/dist/ribbon.sass",
"bulma-quickview/dist/bulma-quickview.js",
"bulma-quickview/dist/bulma-quickview.min.js",
"bulma-ribbon/dist/bulma-ribbon.sass",
"bulma-ribbon/dist/bulma-ribbon.css",
"bulma-ribbon/dist/bulma-ribbon.min.css",
"bulma-slider/dist/slider.sass",
"bulma-slider/dist/bulma-slider.sass",
"bulma-slider/dist/bulma-slider.css",
"bulma-slider/dist/bulma-slider.min.css",
"bulma-steps/dist/steps.sass",
"bulma-steps/dist/bulma-steps.sass",
"bulma-steps/dist/bulma-steps.css",
"bulma-steps/dist/bulma-steps.min.css",
"bulma-steps/dist/steps.js",
"bulma-steps/dist/steps.min.js",
"bulma-switch/dist/switch.sass",
"bulma-steps/dist/bulma-steps.js",
"bulma-steps/dist/bulma-steps.min.js",
"bulma-switch/dist/bulma-switch.sass",
"bulma-switch/dist/bulma-switch.css",
"bulma-switch/dist/bulma-switch.min.css",
"bulma-tagsinput/dist/tagsinput.sass",
"bulma-tagsinput/dist/bulma-tagsinput.sass",
"bulma-tagsinput/dist/bulma-tagsinput.css",
"bulma-tagsinput/dist/bulma-tagsinput.min.css",
"bulma-tagsinput/dist/tagsinput.js",
"bulma-tagsinput/dist/tagsinput.min.js",
"bulma-timeline/dist/timeline.sass",
"bulma-tagsinput/dist/bulma-tagsinput.js",
"bulma-tagsinput/dist/bulma-tagsinput.min.js",
"bulma-timeline/dist/bulma-timeline.sass",
"bulma-timeline/dist/bulma-timeline.css",
"bulma-timeline/dist/bulma-timeline.min.css",
"bulma-tooltip/dist/tooltip.sass",
"bulma-tooltip/dist/bulma-tooltip.sass",
"bulma-tooltip/dist/bulma-tooltip.css",

@@ -118,0 +118,0 @@ "bulma-tooltip/dist/bulma-tooltip.min.css",

@@ -0,0 +0,0 @@ # Bulma extensions - All

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc