bulma-extensions
Advanced tools
Comparing version 1.0.13 to 1.0.14
{ | ||
"name": "bulma-calendar", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "Display a calendar for date selection or for planning management, in different colors and sizes", | ||
@@ -5,0 +5,0 @@ "main": "dist/bulma-calendar.sass", |
@@ -0,1 +1,56 @@ | ||
<a name="1.0.12"></a> | ||
## [1.0.12](https://github.com/Wikiki/bulma-carousel/compare/1.0.7...1.0.12) (2018-03-29) | ||
<a name="1.0.11"></a> | ||
## [1.0.11](https://github.com/Wikiki/bulma-carousel/compare/1.0.7...1.0.11) (2018-03-29) | ||
<a name="1.0.10"></a> | ||
## [1.0.10](https://github.com/Wikiki/bulma-carousel/compare/1.0.7...1.0.10) (2018-03-29) | ||
<a name="1.0.9"></a> | ||
## [1.0.9](https://github.com/Wikiki/bulma-carousel/compare/1.0.7...1.0.9) (2018-03-29) | ||
<a name="1.0.8"></a> | ||
## [1.0.8](https://github.com/Wikiki/bulma-carousel/compare/1.0.7...1.0.8) (2018-03-29) | ||
<a name="1.0.7"></a> | ||
## [1.0.7](https://github.com/Wikiki/bulma-carousel/compare/1.0.5...1.0.7) (2018-03-29) | ||
### 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.6"></a> | ||
## [1.0.6](https://github.com/Wikiki/bulma-carousel/compare/1.0.5...1.0.6) (2018-03-29) | ||
### 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.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> | ||
@@ -2,0 +57,0 @@ ## [1.0.4](https://github.com/Wikiki/bulma-carousel/compare/1.0.3...1.0.4) (2018-02-11) |
@@ -33,2 +33,14 @@ 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'; | ||
} | ||
} | ||
@@ -93,2 +105,6 @@ 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); | ||
@@ -95,0 +111,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(){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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5nc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O1xyXG4gICAgfSwgZGVsYXkpO1xyXG4gIH1cclxufVxyXG5cclxuLyoqXHJcbiAqIEluaXRpYXRlIGFsbCBET00gZWxlbWVudCBjb250YWluaW5nIGNhcm91c2VsIGNsYXNzXHJcbiAqIEBtZXRob2RcclxuICogQHJldHVybiB7W3R5cGVdfSBbZGVzY3JpcHRpb25dXHJcbiAqL1xyXG5kb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCdET01Db250ZW50TG9hZGVkJywgZnVuY3Rpb24oKSB7XHJcbiAgdmFyIGNhcm91c2VscyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5jYXJvdXNlbCwgLmhlcm8tY2Fyb3VzZWwnKTtcclxuICBbXS5mb3JFYWNoLmNhbGwoY2Fyb3VzZWxzLCBmdW5jdGlvbihjYXJvdXNlbCkge1xyXG4gICAgbmV3IENhcm91c2VsKGNhcm91c2VsKTtcclxuICB9KTtcclxufSk7XHJcbiJdfQ== | ||
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');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XHJcbiJdfQ== |
{ | ||
"name": "bulma-carousel", | ||
"version": "1.0.4", | ||
"version": "1.0.12", | ||
"description": "Display a Image / Content carousel", | ||
@@ -5,0 +5,0 @@ "main": "dist/bulma-carousel.sass", |
@@ -0,1 +1,28 @@ | ||
<a name="1.0.4"></a> | ||
## [1.0.4](https://github.com/Wikiki/bulma-slider/compare/1.0.1...1.0.4) (2018-03-29) | ||
### Bug Fixes | ||
* **js:** Not defined variable ([7f6bde6](https://github.com/Wikiki/bulma-slider/commit/7f6bde6)) | ||
<a name="1.0.3"></a> | ||
## [1.0.3](https://github.com/Wikiki/bulma-slider/compare/1.0.1...1.0.3) (2018-03-29) | ||
### 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> | ||
@@ -2,0 +29,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; | ||
outputs = document.getElementsByTagName('output'); | ||
var outputs = document.getElementsByTagName('output'); | ||
for (var i = 0; i < outputs.length; i++) { | ||
@@ -17,8 +17,7 @@ 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 | ||
sliderWidth = parseInt(style.getPropertyValue('width'), 10); | ||
var sliderWidth = parseInt(style.getPropertyValue('width'), 10); | ||
@@ -71,4 +70,8 @@ // Figure out placement percentage between left and right of input | ||
// Check for prefix and postfix | ||
var prefix = (output.hasAttribute('data-prefix') ? output.getAttribute('data-prefix') : ''); | ||
var postfix = (output.hasAttribute('data-postfix') ? output.getAttribute('data-postfix') : ''); | ||
// Update output with slider value | ||
output.value = event.target.value; | ||
output.value = prefix + event.target.value + postfix; | ||
}); | ||
@@ -75,0 +78,0 @@ } |
@@ -1,2 +0,2 @@ | ||
(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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IllBQUEsYUFDQSxBQUFTLEFBQW1CLEFBQUMsQUFBTyxhQUFFLENBQ3BDLEdBQUksQUFBSyxHQUFHLEFBQU8sRUFBQyxBQUFFLEFBQUMsR0FDdkIsQUFBTyxRQUFHLEFBQVEsU0FBQyxBQUFvQixxQkFBQyxBQUFRLEFBQUMsQUFBQyxVQUNsRCxJQUFLLEdBQUksQUFBQyxHQUFHLEFBQUMsRUFBRSxBQUFDLEVBQUcsQUFBTyxRQUFDLEFBQU0sT0FBRSxBQUFDLEFBQUUsQUFBRSxJQUN2QyxHQUFJLEFBQU8sQUFBQyxBQUFDLEFBQUMsV0FBQyxBQUFPLEFBQUksQUFBSyxXQUM3Q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XRpb247XG4gICAgICB9XG5cbiAgICAgIC8vIEFkZCBldmVudCBsaXN0ZW5lciB0byB1cGRhdGUgb3V0cHV0IHdoZW4gc2xpZGVyIHZhbHVlIGNoYW5nZVxuICAgICAgc2xpZGVyLmFkZEV2ZW50TGlzdGVuZXIoJ2lucHV0JywgZnVuY3Rpb24oZXZlbnQpIHtcbiAgICAgICAgaWYgKGV2ZW50LnRhcmdldC5jbGFzc0xpc3QuY29udGFpbnMoJ2hhcy1vdXRwdXQtdG9vbHRpcCcpKSB7XG4gICAgICAgICAgLy8gR2V0IG5ldyBvdXRwdXQgcG9zaXRpb25cbiAgICAgICAgICB2YXIgbmV3UG9zaXRpb24gPSBnZXRTbGlkZXJPdXRwdXRQb3NpdGlvbihldmVudC50YXJnZXQpO1xuXG4gICAgICAgICAgLy8gU2V0IG91dHB1dCBwb3NpdGlvblxuICAgICAgICAgIG91dHB1dC5zdHlsZVsnbGVmdCddID0gbmV3UG9zaXRpb24ucG9zaXRpb247XG4gICAgICAgIH1cblxuICAgICAgICAvLyBVcGRhdGUgb3V0cHV0IHdpdGggc2xpZGVyIHZhbHVlXG4gICAgICAgIG91dHB1dC52YWx1ZSA9IGV2ZW50LnRhcmdldC52YWx1ZTtcbiAgICAgIH0pO1xuICAgIH1cbiAgfSk7XG59KTtcbiJdfQ== | ||
(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}var e=d.hasAttribute('data-prefix')?d.getAttribute('data-prefix'):'',f=d.hasAttribute('data-postfix')?d.getAttribute('data-postfix'):'';d.value=e+a.target.value+f})}})})})(); | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IllBQUEsYUFDQSxBQUFTLEFBQW1CLEFBQUMsQUFBTyxhQUFFLEFBQ3BDLENBRUEsQUFBSyxPQUZELEFBQUssR0FBRyxBQUFPLEVBQUMsQUFBRSxBQUFDLEFBQ3ZCLEdBQUksQUFBTyxFQUFHLEFBQVEsU0FBQyxBQUFvQixxQkFBQyxBQUFRLEFBQUMsQUFBQyxVQUM3QyxBQUFDLEVBQUcsQUFBQyxFQUFFLEFBQUMsRUFBRyxBQUFPLEVBQUMsQUFBTSxPQUFFLEFBQUMsQUFBRSxBQUFFLElBQ3ZDLEdBQUksQUFBTyxBQUFDLEFBQUMsQUFBQyxLQUFDLEFBQU8sQUFBSSxBQUFLLFdBQzdCLE1BQU8sQUFBTyxBQUFDLEFBQUMsQUFBQyxBQUFDLEFBQ25CLEtBQ0YsQ0FFSCxBQUFTLEFBQXVCLEFBQUMsQUFBTSxhQUFFLENBRXZDLEdBQUksQUFBUSxHQUFFLEFBQVEsQUFBQyxBQUV2QixFQUFJLEFBQUssRUFBRyxBQUFNLE9BQUMsQUFBZ0IsQUFBQyxBQUFNLG1CQUFFLEFBQUksQUFBQyxBQUFDLEFBRWxELE1BQUksQUFBVyxFQUFHLEFBQVEsU0FBQyxBQUFLLEVBQUMsQUFBZ0IsaUJBQUMsQUFBTyxBQUFDLFNBQUUsQUFBRSxBQUFDLEFBQUMsQUFHaEUsQUFBSSxNQUFDLEFBQU0sRUFBQyxBQUFZLGFBQUMsQUFBSyxBQUFDLEFBQUUsQUFDL0IsQUFBUSxPQUVHLEFBQU0sRUFB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biBzbGlkZXIgdmFsdWUgY2hhbmdlXG4gICAgICBzbGlkZXIuYWRkRXZlbnRMaXN0ZW5lcignaW5wdXQnLCBmdW5jdGlvbihldmVudCkge1xuICAgICAgICBpZiAoZXZlbnQudGFyZ2V0LmNsYXNzTGlzdC5jb250YWlucygnaGFzLW91dHB1dC10b29sdGlwJykpIHtcbiAgICAgICAgICAvLyBHZXQgbmV3IG91dHB1dCBwb3NpdGlvblxuICAgICAgICAgIHZhciBuZXdQb3NpdGlvbiA9IGdldFNsaWRlck91dHB1dFBvc2l0aW9uKGV2ZW50LnRhcmdldCk7XG5cbiAgICAgICAgICAvLyBTZXQgb3V0cHV0IHBvc2l0aW9uXG4gICAgICAgICAgb3V0cHV0LnN0eWxlWydsZWZ0J10gPSBuZXdQb3NpdGlvbi5wb3NpdGlvbjtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIENoZWNrIGZvciBwcmVmaXggYW5kIHBvc3RmaXhcbiAgICAgICAgdmFyIHByZWZpeCA9IChvdXRwdXQuaGFzQXR0cmlidXRlKCdkYXRhLXByZWZpeCcpID8gb3V0cHV0LmdldEF0dHJpYnV0ZSgnZGF0YS1wcmVmaXgnKSA6ICcnKTtcbiAgICAgICAgdmFyIHBvc3RmaXggPSAob3V0cHV0Lmhhc0F0dHJpYnV0ZSgnZGF0YS1wb3N0Zml4JykgPyBvdXRwdXQuZ2V0QXR0cmlidXRlKCdkYXRhLXBvc3RmaXgnKSA6ICcnKTtcbiAgICAgICAgXG4gICAgICAgIC8vIFVwZGF0ZSBvdXRwdXQgd2l0aCBzbGlkZXIgdmFsdWVcbiAgICAgICAgb3V0cHV0LnZhbHVlID0gcHJlZml4ICsgZXZlbnQudGFyZ2V0LnZhbHVlICsgcG9zdGZpeDtcbiAgICAgIH0pO1xuICAgIH1cbiAgfSk7XG59KTtcbiJdfQ== |
{ | ||
"name": "bulma-slider", | ||
"version": "1.0.1", | ||
"version": "1.0.4", | ||
"description": "Display classic slider more sexy, in different colors, sizes, and states ", | ||
@@ -5,0 +5,0 @@ "main": "dist/bulma-slider.sass", |
@@ -0,1 +1,6 @@ | ||
<a name="1.0.2"></a> | ||
## [1.0.2](https://github.com/Wikiki/bulma-steps/compare/1.0.1...1.0.2) (2018-03-29) | ||
<a name="1.0.1"></a> | ||
@@ -2,0 +7,0 @@ ## [1.0.1](https://github.com/Wikiki/bulma-steps/compare/1.0.0...1.0.1) (2018-02-11) |
{ | ||
"name": "bulma-steps", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Display steps for a process (like sign-up, or order, form), in different colors, sizes, and states ", | ||
"main": "dist/bulma-steps.sass", | ||
"scripts": { | ||
"build": "gulp", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
@@ -27,5 +28,2 @@ }, | ||
"homepage": "https://github.com/Wikiki/bulma-steps#readme", | ||
"scripts": { | ||
"build": "gulp" | ||
}, | ||
"devDependencies": { | ||
@@ -32,0 +30,0 @@ "@babel/core": "^7.0.0-beta.39", |
@@ -0,1 +1,31 @@ | ||
<a name="1.0.7"></a> | ||
## [1.0.7](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.6...1.0.7) (2018-03-29) | ||
<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> | ||
@@ -2,0 +32,0 @@ ## [1.0.1](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.0...1.0.1) (2018-02-11) |
@@ -1,3 +0,6 @@ | ||
var bulmaTagsinput = (function () { | ||
'use strict'; | ||
(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'; | ||
@@ -366,2 +369,2 @@ if (typeof Object.assign != 'function') { | ||
}()); | ||
}))); |
@@ -1,2 +0,2 @@ | ||
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjhCQUFBLGFBQTRCLEFBQVUsQUFBRSxVQUFwQyxRQUFPLEFBQU0sUUFBQyxBQUFNLFFBRXRCLEFBQU0sT0FBQyxBQUFjLGVBQUMsQUFBTSxPQUFFLEFBQVEsU0FBRSxDQUN0QyxBQUFLLE1BQUUsQUFBUyxBQUFNLEFBQUMsQUFBTSxBQUFFLEFBQU8sV0FBRSxBQUN0QyxBQUFZLEFBQUMsQ0FDYixHQUFjLEFBQUksQUFBRSxJQUFoQixBQUFNLElBQ1IsS0FBTSxJQUFJLEFBQVMsV0FBQyxBQUE0QyxBQUFDLEFBQUMsQUFDbkUsQUFFRCw4Q0FFQSxBQUFLLFVBRkQsQUFBRSxFQUFHLEFBQU0sQUFBQyxBQUFNLEFBQUMsQUFBQyxVQUVmLEFBQUssRUFBRyxBQUFDLEVBQUUsQUFBSyxFQUFHLEFBQVMsVUFBQyxBQUFNLE9BQUUsQUFBSyxBQUFFLEFBQUUsQUFDckQsQUFBSSxBQUFVLElBRWQsS0FGaUIsQUFBUyxBQUFDLEFBQUssQUFBQyxBQUFDLGFBRWhCLEFBQUksQUFBRSxJQUFwQixBQUFVLElBQ1osSUFBSyxHQUFJLEFBQU8sQUFBSSxBQUFVLEFBQUUsQUFFOUIsUUFBSSxBQUFNLE9BQUMs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GlzLnRhZ3MgPSBbXTtcbiAgfVxuXG4gIGRlc3Ryb3koKSB7XG4gICAgdGhpcy5kaXNhYmxlKCk7XG4gICAgdGhpcy5yZXNldCgpO1xuICAgIHRoaXMuZWxlbWVudCA9IG51bGw7XG4gIH1cbn1cblxuZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lciggJ0RPTUNvbnRlbnRMb2FkZWQnLCBmdW5jdGlvbiAoKSB7XG4gIGxldCB0YWdJbnB1dHMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCdpbnB1dFt0eXBlPVwidGFnc1wiXScpO1xuICBbXS5mb3JFYWNoLmNhbGwodGFnSW5wdXRzLCBmdW5jdGlvbih0YWdJbnB1dCkge1xuICAgICAgbmV3IFRhZ2lmeSh0YWdJbnB1dCk7XG4gIH0pO1xufSk7XG4iXX0= | ||
(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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IitMQUFBLGFBQTRCLEFBQVUsQUFBRSxVQUFwQyxRQUFPLEFBQU0sUUFBQyxBQUFNLFFBRXRCLEFBQU0sT0FBQyxBQUFjLGVBQUMsQUFBTSxPQUFFLEFBQVEsU0FBRSxDQUN0QyxBQUFLLE1BQUUsQUFBUyxBQUFNLEFBQUMsQUFBTSxBQUFFLEFBQU8sV0FBRSxBQUN0QyxBQUFZLEFBQUMsQ0FDYixHQUFjLEFBQUksQUFBRSxJQUFoQixBQUFNLElBQ1IsS0FBTSxJQUFJLEFBQVMsV0FBQyxBQUE0QyxBQUFDLEFBQUMsQUFDbkUsQUFFRCw4Q0FFQSxBQUFLLFVBRkQsQUFBRSxFQUFHLEFBQU0sQUFBQyxBQUFNLEFBQUMsQUFBQyxVQUVmLEFBQUssRUFBRyxBQUFDLEVBQUUsQUFBS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UudGFyZ2V0KTtcbiAgICB9XG5cdFx0aWYgKGUudGFyZ2V0ID09PSB0aGlzLmlucHV0KSB7XG4gICAgICByZXR1cm4gdGhpcy5zZWxlY3QoKTtcbiAgICB9XG5cdFx0dGhpcy5pbnB1dC5mb2N1cygpO1xuXHRcdGUucHJldmVudERlZmF1bHQoKTtcblx0XHRyZXR1cm4gZmFsc2U7XG4gIH1cblxuICByZXNldCgpIHtcbiAgICB0aGlzLnRhZ3MgPSBbXTtcbiAgfVxuXG4gIGRlc3Ryb3koKSB7XG4gICAgdGhpcy5kaXNhYmxlKCk7XG4gICAgdGhpcy5yZXNldCgpO1xuICAgIHRoaXMuZWxlbWVudCA9IG51bGw7XG4gIH1cbn1cblxuZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lciggJ0RPTUNvbnRlbnRMb2FkZWQnLCBmdW5jdGlvbiAoKSB7XG4gIGxldCB0YWdJbnB1dHMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCdpbnB1dFt0eXBlPVwidGFnc1wiXScpO1xuICBbXS5mb3JFYWNoLmNhbGwodGFnSW5wdXRzLCBmdW5jdGlvbih0YWdJbnB1dCkge1xuICAgICAgbmV3IFRhZ2lmeSh0YWdJbnB1dCk7XG4gIH0pO1xufSk7XG4iXX0= |
{ | ||
"name": "bulma-tagsinput", | ||
"version": "1.0.1", | ||
"version": "1.0.7", | ||
"description": "Bulma.io extension to add interaction on input tags", | ||
@@ -5,0 +5,0 @@ "main": "dist/bulma-tagsinput.sass", |
@@ -0,1 +1,26 @@ | ||
<a name="1.0.4"></a> | ||
## [1.0.4](https://github.com/Wikiki/bulma-tooltip/compare/1.0.3...1.0.4) (2018-03-29) | ||
<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> | ||
@@ -2,0 +27,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.1", | ||
"version": "1.0.4", | ||
"description": "Display a tooltip attached to any kind of element, in different position.", | ||
@@ -5,0 +5,0 @@ "main": "dist/bulma-tooltip.sass", |
@@ -0,1 +1,6 @@ | ||
<a name="1.0.14"></a> | ||
## [1.0.14](https://github.com/Wikiki/bulma-extensions/compare/1.0.13...1.0.14) (2018-03-29) | ||
<a name="1.0.13"></a> | ||
@@ -2,0 +7,0 @@ ## [1.0.13](https://github.com/Wikiki/bulma-extensions/compare/1.0.12...1.0.13) (2018-03-16) |
{ | ||
"name": "bulma-extensions", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "Set of extensions for Bulma.io CSS Framework", | ||
@@ -5,0 +5,0 @@ "main": "dist/extensions.sass", |
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
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
803003
2846