@gem-sdk/swiper 0.0.11 → 0.0.12-dev.1

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.11
2
+ * Swiper 0.0.12-dev.1
3
3
  * Gem SDK - Swiper, Customized of swiper
4
4
  * https://swiperjs.com
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: March 9, 2026
10
+ * Released on: March 18, 2026
11
11
  */
12
12
 
13
13
  import{S as Swiper}from"./shared/swiper-core.min.mjs";import Virtual from"./modules/virtual.min.mjs";import Keyboard from"./modules/keyboard.min.mjs";import Mousewheel from"./modules/mousewheel.min.mjs";import Navigation from"./modules/navigation.min.mjs";import Pagination from"./modules/pagination.min.mjs";import Scrollbar from"./modules/scrollbar.min.mjs";import Parallax from"./modules/parallax.min.mjs";import Zoom from"./modules/zoom.min.mjs";import Controller from"./modules/controller.min.mjs";import A11y from"./modules/a11y.min.mjs";import History from"./modules/history.min.mjs";import HashNavigation from"./modules/hash-navigation.min.mjs";import Autoplay from"./modules/autoplay.min.mjs";import Thumb from"./modules/thumbs.min.mjs";import freeMode from"./modules/free-mode.min.mjs";import Grid from"./modules/grid.min.mjs";import Manipulation from"./modules/manipulation.min.mjs";import EffectFade from"./modules/effect-fade.min.mjs";import EffectCube from"./modules/effect-cube.min.mjs";import EffectFlip from"./modules/effect-flip.min.mjs";import EffectCoverflow from"./modules/effect-coverflow.min.mjs";import EffectCreative from"./modules/effect-creative.min.mjs";import EffectCards from"./modules/effect-cards.min.mjs";const modules=[Virtual,Keyboard,Mousewheel,Navigation,Pagination,Scrollbar,Parallax,Zoom,Controller,A11y,History,HashNavigation,Autoplay,Thumb,freeMode,Grid,Manipulation,EffectFade,EffectCube,EffectFlip,EffectCoverflow,EffectCreative,EffectCards];Swiper.use(modules);export{Swiper,Swiper as default};
package/swiper-bundle.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper 0.0.11
2
+ * Swiper 0.0.12-dev.1
3
3
  * Gem SDK - Swiper, Customized of swiper
4
4
  * https://swiperjs.com
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: March 9, 2026
10
+ * Released on: March 18, 2026
11
11
  */
12
12
 
13
13
  import { S as Swiper } from './shared/swiper-core.mjs';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper 0.0.11
2
+ * Swiper 0.0.12-dev.1
3
3
  * Gem SDK - Swiper, Customized of swiper
4
4
  * https://swiperjs.com
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: March 9, 2026
10
+ * Released on: March 18, 2026
11
11
  */
12
12
 
13
13
  export{c as createShadow}from"./shared/create-shadow.min.mjs";export{e as effectInit}from"./shared/effect-init.min.mjs";export{e as effectTarget}from"./shared/effect-target.min.mjs";export{e as effectVirtualTransitionEnd}from"./shared/effect-virtual-transition-end.min.mjs";export{g as getSlideTransformEl}from"./shared/utils.min.mjs";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper 0.0.11
2
+ * Swiper 0.0.12-dev.1
3
3
  * Gem SDK - Swiper, Customized of swiper
4
4
  * https://swiperjs.com
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: March 9, 2026
10
+ * Released on: March 18, 2026
11
11
  */
12
12
 
13
13
  export { c as createShadow } from './shared/create-shadow.mjs';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper Custom Element 0.0.11
2
+ * Swiper Custom Element 0.0.12-dev.1
3
3
  * Gem SDK - Swiper, Customized of swiper
4
4
  * https://swiperjs.com
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: March 9, 2026
10
+ * Released on: March 18, 2026
11
11
  */
12
12
 
13
13
  (function () {
@@ -3652,9 +3652,10 @@
3652
3652
  if (swiper.params.cssMode || swiper.params.slidesPerView !== 'auto' && !swiper.params.autoHeight) {
3653
3653
  return;
3654
3654
  }
3655
- if (e?.target?.tagName !== 'IMG') {
3656
- return;
3657
- }
3655
+ const el = e?.target;
3656
+ // IMG, IFRAME, EMBED with width/height attributes don't change slide size — no need to call swiper.update()
3657
+ if (!el || !['IMG', 'IFRAME', 'EMBED'].includes(el.tagName)) return;
3658
+ if (el.hasAttribute('width') && el.hasAttribute('height')) return;
3658
3659
  swiper.update();
3659
3660
  }
3660
3661
 
@@ -10225,7 +10226,7 @@
10225
10226
  }
10226
10227
 
10227
10228
  /**
10228
- * Swiper 0.0.11
10229
+ * Swiper 0.0.12-dev.1
10229
10230
  * Gem SDK - Swiper, Customized of swiper
10230
10231
  * https://swiperjs.com
10231
10232
  *
@@ -10233,7 +10234,7 @@
10233
10234
  *
10234
10235
  * Released under the MIT License
10235
10236
  *
10236
- * Released on: March 9, 2026
10237
+ * Released on: March 18, 2026
10237
10238
  */
10238
10239
 
10239
10240
 
@@ -10567,7 +10568,7 @@
10567
10568
  }
10568
10569
 
10569
10570
  /**
10570
- * Swiper Custom Element 0.0.11
10571
+ * Swiper Custom Element 0.0.12-dev.1
10571
10572
  * Gem SDK - Swiper, Customized of swiper
10572
10573
  * https://swiperjs.com
10573
10574
  *
@@ -10575,7 +10576,7 @@
10575
10576
  *
10576
10577
  * Released under the MIT License
10577
10578
  *
10578
- * Released on: March 9, 2026
10579
+ * Released on: March 18, 2026
10579
10580
  */
10580
10581
 
10581
10582