@creative-web-solution/front-library 7.1.39 → 7.1.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 7.1.40
4
+
5
+ * [Slider]: Improve auto slide function
6
+
3
7
  ## 7.1.39
4
8
 
5
9
  * [DragSlider]: Fix end positioning
@@ -388,6 +388,10 @@ export default class SliderControls {
388
388
 
389
389
  clearTimeout( this.#autoslideTimeoutId );
390
390
 
391
+ if (!currentSlide) {
392
+ return;
393
+ }
394
+
391
395
  this.#autoslideTimeoutId = setTimeout(
392
396
  this.#makeAutoslide,
393
397
  ( currentSlide.delay as number || this.#options.autoslide as number ) * 1000
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Front Library
2
2
 
3
- @version: 7.1.39
3
+ @version: 7.1.40
4
4
 
5
5
 
6
6
  ## Use
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@creative-web-solution/front-library",
3
3
  "title": "Frontend library",
4
4
  "description": "Frontend functions and modules",
5
- "version": "7.1.39",
5
+ "version": "7.1.40",
6
6
  "homepage": "https://github.com/creative-web-solution/front-library",
7
7
  "author": "Creative Web Solution <contact@cws-studio.com> (https://www.cws-studio.com)",
8
8
  "keywords": [],