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.3 to 1.0.4

45

bulma-carousel/CHANGELOG.md

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

<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>

@@ -2,0 +47,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) {

4

bulma-carousel/dist/bulma-carousel.min.js

@@ -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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjBDQUFlLEFBQU0sQUFBUSxPQUFDLENBQzVCLEFBQVcsQUFBQyxBQUFRLGNBQUUsQ0FNcEIsR0FKQSxBQUFJLEtBQUMsQUFBVyxZQUFJLEFBQWMsZ0JBQUksQUFBTSxPQUF6QixDQUE2QixBQUFZLGFBQUcsQUFBTyxBQUFDLFFBRXZFLEFBQUksS0FBQyxBQUFPLFFBQXVCLEFBQVEsUUFBNUIsQUFBTyxBQUFRLFdBQW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TG9hZGVkJywgZnVuY3Rpb24oKSB7XHJcbiAgdmFyIGNhcm91c2VscyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5jYXJvdXNlbCwgLmhlcm8tY2Fyb3VzZWwnKTtcclxuICBbXS5mb3JFYWNoLmNhbGwoY2Fyb3VzZWxzLCBmdW5jdGlvbihjYXJvdXNlbCkge1xyXG4gICAgbmV3IENhcm91c2VsKGNhcm91c2VsKTtcclxuICB9KTtcclxufSk7XHJcbiJdfQ==
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjBDQUFlLEFBQU0sQUFBUSxPQUFDLENBQzVCLEFBQVcsQUFBQyxBQUFRLGNBQUUsQ0FNcEIsR0FKQSxBQUFJLEtBQUMsQUFBVyxZQUFJL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fYXV0b1BsYXlcclxuICAgKiBAcGFyYW0gIHtOdW1iZXJ9ICBbZGVsYXk9NTAwMF0gRGVsYXkgYmV0d2VlbiBzbGlkZXMgaW4gbWlsbGlzZWNvbmRzXHJcbiAgICogQHJldHVybiB7dm9pZH1cclxuICAgKi9cclxuICBfYXV0b1BsYXkoZGVsYXkgPSA1MDAwKSB7XHJcbiAgICB0aGlzLl9hdXRvUGxheUludGVydmFsID0gc2V0SW50ZXJ2YWwoKCkgPT4ge1xyXG4gICAgICB0aGlzLl9zbGlkZSgnbmV4dCcpO1xyXG4gICAgfSwgZGVsYXkpO1xyXG4gIH1cclxufVxyXG5cclxuLyoqXHJcbiAqIEluaXRpYXRlIGFsbCBET00gZWxlbWVudCBjb250YWluaW5nIGNhcm91c2VsIGNsYXNzXHJcbiAqIEBtZXRob2RcclxuICogQHJldHVybiB7W3R5cGVdfSBbZGVzY3JpcHRpb25dXHJcbiAqL1xyXG5kb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCdET01Db250ZW50TG9hZGVkJywgZnVuY3Rpb24oKSB7XHJcbiAgdmFyIGNhcm91c2VscyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5jYXJvdXNlbCwgLmhlcm8tY2Fyb3VzZWwnKTtcclxuICBbXS5mb3JFYWNoLmNhbGwoY2Fyb3VzZWxzLCBmdW5jdGlvbihjYXJvdXNlbCkge1xyXG4gICAgbmV3IENhcm91c2VsKGNhcm91c2VsKTtcclxuICB9KTtcclxufSk7XHJcbiJdfQ==
{
"name": "bulma-carousel",
"version": "1.0.4",
"version": "1.0.11",
"description": "Display a Image / Content carousel",

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

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

<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>

@@ -2,0 +12,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.0",
"version": "1.0.1",
"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,1 +1,18 @@

<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>

@@ -2,0 +19,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);

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

@@ -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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IllBQUEsYUFDQSxBQUFTLEFBQW1CLEFBQUMsQUFBTyxhQUFFLENBQ3BDLEdBQUksQUFBSyxHQUFHLEFBQU8sRUFBQyxBQUFFLEFBQUMsR0FDdkIsQUFBTyxRQUFHLEFBQVEsU0FBQyxBQUFvQixxQkFBQyxBQUFRLEFBQUMsQUFBQyxVQUNsRCxJQUFLLEdBQUksQUFBQyxHQUFHLEFBQUMsRUFBRSxBQUFDLEVBQUcsQUFBTyxRQUFDLEFBQU0sT0FBRSxBQUFDLEFBQUUsQUFBRSxJQUN2QyxHQUFJLEFBQU8sQUFBQyxBQUFDLEFBQUMsV0FBQyxBQUFPLEFBQUksQUFBSyxXQUM3QixNQUFPLEFBQU8sQUFBQyxBQUFDLEFBQUMsQUFBQyxBQUNuQixXQUNGLENBRUgsQUFBUyxBQUF1QixBQUFDLEFBQU0sYUFBRSxDQUV2QyxHQUFJLEFBQVEsR0FDVixBQUFRLEFBQUMsQUFFWCxFQUFJLEFBQUssRUFBRyxBQUFNLE9BQUMsQUFBZ0IsQUFBQyxBQUFNLG1CQUFFLEFBQUksQUFBQyxBQUFDLE1BRWxELEFBQVcsWUFBRyxBQUFRLFNBQUMsQUFBSyxFQUFDLEFBQWdCLGlCQUFDLEFBQU8sQUFBQyxTQUFFLEFBQUUsQUFBQyxBQUFDLEF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ICAgICB2YXIgbmV3UG9zaXRpb24gPSBnZXRTbGlkZXJPdXRwdXRQb3NpdGlvbihldmVudC50YXJnZXQpO1xuXG4gICAgICAgICAgLy8gU2V0IG91dHB1dCBwb3NpdGlvblxuICAgICAgICAgIG91dHB1dC5zdHlsZVsnbGVmdCddID0gbmV3UG9zaXRpb24ucG9zaXRpb247XG4gICAgICAgIH1cblxuICAgICAgICAvLyBVcGRhdGUgb3V0cHV0IHdpdGggc2xpZGVyIHZhbHVlXG4gICAgICAgIG91dHB1dC52YWx1ZSA9IGV2ZW50LnRhcmdldC52YWx1ZTtcbiAgICAgIH0pO1xuICAgIH1cbiAgfSk7XG59KTtcbiJdfQ==
(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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9leHRlbnNpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IllBQUEsYUFDQSxBQUFTLEFBQW1CLEFBQUMsQUFBTyxhQUFFLEFBQ3BDLENBRUEsQUFBSyxPQUZELEFBQUssR0FBRyxBQUFPLEVBQUMsQUFBRSxBQUFDLEFBQ3ZCLEdBQUksQUFBTyxFQUFHLEFBQVEsU0FBQyxBQUFvQixxQkFBQyxBQUFRLEFBQU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uICAgICAgICAvLyBHZXQgbmV3IG91dHB1dCBwb3NpdGlvblxuICAgICAgICB2YXIgbmV3UG9zaXRpb24gPSBnZXRTbGlkZXJPdXRwdXRQb3NpdGlvbihzbGlkZXIpO1xuXG4gICAgICAgIC8vIFNldCBvdXRwdXQgcG9zaXRpb25cbiAgICAgICAgb3V0cHV0LnN0eWxlWydsZWZ0J10gPSBuZXdQb3NpdGlvbi5wb3NpdGlvbjtcbiAgICAgIH1cblxuICAgICAgLy8gQWRkIGV2ZW50IGxpc3RlbmVyIHRvIHVwZGF0ZSBvdXRwdXQgd2hlbiBzbGlkZXIgdmFsdWUgY2hhbmdlXG4gICAgICBzbGlkZXIuYWRkRXZlbnRMaXN0ZW5lcignaW5wdXQnLCBmdW5jdGlvbihldmVudCkge1xuICAgICAgICBpZiAoZXZlbnQudGFyZ2V0LmNsYXNzTGlzdC5jb250YWlucygnaGFzLW91dHB1dC10b29sdGlwJykpIHtcbiAgICAgICAgICAvLyBHZXQgbmV3IG91dHB1dCBwb3NpdGlvblxuICAgICAgICAgIHZhciBuZXdQb3NpdGlvbiA9IGdldFNsaWRlck91dHB1dFBvc2l0aW9uKGV2ZW50LnRhcmdldCk7XG5cbiAgICAgICAgICAvLyBTZXQgb3V0cHV0IHBvc2l0aW9uXG4gICAgICAgICAgb3V0cHV0LnN0eWxlWydsZWZ0J10gPSBuZXdQb3NpdGlvbi5wb3NpdGlvbjtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIFVwZGF0ZSBvdXRwdXQgd2l0aCBzbGlkZXIgdmFsdWVcbiAgICAgICAgb3V0cHV0LnZhbHVlID0gZXZlbnQudGFyZ2V0LnZhbHVlO1xuICAgICAgfSk7XG4gICAgfVxuICB9KTtcbn0pO1xuIl19
{
"name": "bulma-slider",
"version": "1.0.1",
"version": "1.0.3",
"description": "Display classic slider more sexy, in different colors, sizes, and states ",

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

@@ -0,1 +1,12 @@

<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>

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

{
"name": "bulma-extensions",
"version": "1.0.3",
"version": "1.0.4",
"description": "Set of extensions for Bulma.io CSS Framework",

@@ -5,0 +5,0 @@ "main": "extensions.sass",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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