@gem-sdk/swiper 0.0.11 → 0.0.12
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/package.json +1 -1
- package/shared/swiper-core.min.mjs +1 -1
- package/shared/swiper-core.min.mjs.map +1 -1
- package/shared/swiper-core.mjs +4 -3
- package/swiper-bundle.css +1 -1
- package/swiper-bundle.js +6 -5
- package/swiper-bundle.min.css +1 -1
- package/swiper-bundle.min.js +2 -2
- package/swiper-bundle.min.js.map +1 -1
- package/swiper-bundle.min.mjs +1 -1
- package/swiper-bundle.mjs +1 -1
- package/swiper-effect-utils.min.mjs +1 -1
- package/swiper-effect-utils.mjs +1 -1
- package/swiper-element-bundle.js +7 -6
- package/swiper-element-bundle.min.js +2 -2
- package/swiper-element-bundle.min.js.map +1 -1
- package/swiper-element-bundle.min.mjs +1 -1
- package/swiper-element-bundle.mjs +1 -1
- package/swiper-element.js +6 -5
- package/swiper-element.min.js +2 -2
- package/swiper-element.min.js.map +1 -1
- package/swiper-element.min.mjs +1 -1
- package/swiper-element.mjs +1 -1
- package/swiper-react.mjs +1 -1
- package/swiper-vue.mjs +1 -1
- package/swiper.css +1 -1
- package/swiper.js +5 -4
- package/swiper.less +1 -1
- package/swiper.min.css +1 -1
- package/swiper.min.js +2 -2
- package/swiper.min.js.map +1 -1
- package/swiper.min.mjs +1 -1
- package/swiper.mjs +1 -1
- package/swiper.scss +1 -1
package/swiper-bundle.min.mjs
CHANGED
package/swiper-bundle.mjs
CHANGED
package/swiper-effect-utils.mjs
CHANGED
package/swiper-element-bundle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Swiper Custom Element 0.0.
|
|
2
|
+
* Swiper Custom Element 0.0.12
|
|
3
3
|
* Gem SDK - Swiper, Customized of swiper
|
|
4
4
|
* https://swiperjs.com
|
|
5
5
|
*
|
|
@@ -3652,9 +3652,10 @@
|
|
|
3652
3652
|
if (swiper.params.cssMode || swiper.params.slidesPerView !== 'auto' && !swiper.params.autoHeight) {
|
|
3653
3653
|
return;
|
|
3654
3654
|
}
|
|
3655
|
-
|
|
3656
|
-
|
|
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.
|
|
10229
|
+
* Swiper 0.0.12
|
|
10229
10230
|
* Gem SDK - Swiper, Customized of swiper
|
|
10230
10231
|
* https://swiperjs.com
|
|
10231
10232
|
*
|
|
@@ -10567,7 +10568,7 @@
|
|
|
10567
10568
|
}
|
|
10568
10569
|
|
|
10569
10570
|
/**
|
|
10570
|
-
* Swiper Custom Element 0.0.
|
|
10571
|
+
* Swiper Custom Element 0.0.12
|
|
10571
10572
|
* Gem SDK - Swiper, Customized of swiper
|
|
10572
10573
|
* https://swiperjs.com
|
|
10573
10574
|
*
|