embla-carousel-vue
Advanced tools
Comparing version 8.0.0-rc04 to 8.0.0-rc05
@@ -551,3 +551,3 @@ (function (global, factory) { | ||
const scrollBounds = Limit(-contentSize + viewSize, snapsAligned[0]); | ||
const snapsBounded = snapsAligned.map(scrollBounds.constrain); | ||
const snapsBounded = measureBounded(); | ||
const snapsContained = measureContained(); | ||
@@ -561,2 +561,5 @@ function findDuplicates() { | ||
} | ||
function measureBounded() { | ||
return snapsAligned.map(scrollBounds.constrain).map(scrollBound => parseFloat(scrollBound.toFixed(3))); | ||
} | ||
function measureContained() { | ||
@@ -563,0 +566,0 @@ if (contentSize <= viewSize) return [scrollBounds.max]; |
{ | ||
"name": "embla-carousel-vue", | ||
"version": "8.0.0-rc04", | ||
"version": "8.0.0-rc05", | ||
"author": "David Jerleke", | ||
@@ -59,4 +59,4 @@ "description": "A lightweight carousel library with fluid motion and great swipe precision", | ||
"dependencies": { | ||
"embla-carousel": "8.0.0-rc04", | ||
"embla-carousel-reactive-utils": "8.0.0-rc04" | ||
"embla-carousel": "8.0.0-rc05", | ||
"embla-carousel-reactive-utils": "8.0.0-rc05" | ||
}, | ||
@@ -63,0 +63,0 @@ "peerDependencies": { |
56794
1613
+ Addedembla-carousel@8.0.0-rc05(transitive)
+ Addedembla-carousel-reactive-utils@8.0.0-rc05(transitive)
- Removedembla-carousel@8.0.0-rc04(transitive)
- Removedembla-carousel-reactive-utils@8.0.0-rc04(transitive)
Updatedembla-carousel@8.0.0-rc05