@gem-sdk/swiper 0.0.14-dev.1 → 0.0.14

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper 0.0.14-dev.1
2
+ * Swiper 0.0.14
3
3
  * Gem SDK - Swiper, Customized of swiper
4
4
  * https://swiperjs.com
5
5
  *
package/swiper-bundle.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper 0.0.14-dev.1
2
+ * Swiper 0.0.14
3
3
  * Gem SDK - Swiper, Customized of swiper
4
4
  * https://swiperjs.com
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper 0.0.14-dev.1
2
+ * Swiper 0.0.14
3
3
  * Gem SDK - Swiper, Customized of swiper
4
4
  * https://swiperjs.com
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper 0.0.14-dev.1
2
+ * Swiper 0.0.14
3
3
  * Gem SDK - Swiper, Customized of swiper
4
4
  * https://swiperjs.com
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper Custom Element 0.0.14-dev.1
2
+ * Swiper Custom Element 0.0.14
3
3
  * Gem SDK - Swiper, Customized of swiper
4
4
  * https://swiperjs.com
5
5
  *
@@ -2233,7 +2233,7 @@
2233
2233
  const lastSnapGridIndex = swiper.snapGrid.length - 1;
2234
2234
  const gap = Math.abs(swiper.snapGrid[lastSnapGridIndex] - swiper.snapGrid[lastSnapGridIndex - 1]);
2235
2235
  const swiperTranslate = structuredClone(swiper.snapGrid[lastSnapGridIndex - 1]);
2236
- if (!swiper.params.loop) return;
2236
+
2237
2237
  // Move first item to last position only if active slide is the last slide
2238
2238
  const firstSlide = slides[0];
2239
2239
  firstSlide.swiperLoopMoveDOM = true;
@@ -2326,7 +2326,6 @@
2326
2326
  const swiperTranslate = JSON.parse(JSON.stringify(swiper.snapGrid[1]));
2327
2327
 
2328
2328
  // Move last item to first position only if active slide is the first slide
2329
- if (!swiper.params.loop) return;
2330
2329
  const lastSlide = slides[slides.length - 1];
2331
2330
  lastSlide.swiperLoopMoveDOM = true;
2332
2331
  swiper.slidesEl.prepend(lastSlide);
@@ -3653,10 +3652,6 @@
3653
3652
  if (swiper.params.cssMode || swiper.params.slidesPerView !== 'auto' && !swiper.params.autoHeight) {
3654
3653
  return;
3655
3654
  }
3656
- const el = e?.target;
3657
- // IMG, IFRAME, EMBED with width/height attributes don't change slide size — no need to call swiper.update()
3658
- if (!el || !['IMG', 'IFRAME', 'EMBED'].includes(el.tagName)) return;
3659
- if (el.hasAttribute('width') && el.hasAttribute('height')) return;
3660
3655
  swiper.update();
3661
3656
  }
3662
3657
 
@@ -10227,7 +10222,7 @@
10227
10222
  }
10228
10223
 
10229
10224
  /**
10230
- * Swiper 0.0.14-dev.1
10225
+ * Swiper 0.0.14
10231
10226
  * Gem SDK - Swiper, Customized of swiper
10232
10227
  * https://swiperjs.com
10233
10228
  *
@@ -10569,7 +10564,7 @@
10569
10564
  }
10570
10565
 
10571
10566
  /**
10572
- * Swiper Custom Element 0.0.14-dev.1
10567
+ * Swiper Custom Element 0.0.14
10573
10568
  * Gem SDK - Swiper, Customized of swiper
10574
10569
  * https://swiperjs.com
10575
10570
  *