@egjs/flicking
Advanced tools
Comparing version 4.9.0 to 4.9.1
@@ -63,3 +63,3 @@ import Flicking from "../../Flicking"; | ||
size: number; | ||
height: number; | ||
height?: number; | ||
margin: { | ||
@@ -66,0 +66,0 @@ prev: number; |
{ | ||
"name": "@egjs/flicking", | ||
"version": "4.9.0", | ||
"version": "4.9.1", | ||
"description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.", | ||
@@ -26,3 +26,3 @@ "main": "dist/flicking.js", | ||
"test:cfc": "npm run test --prefix test/cfc", | ||
"lint": "eslint 'src/**/*.ts'", | ||
"lint": "eslint src/**/*.ts", | ||
"lint:test": "eslint 'test/unit/**/*.ts'", | ||
@@ -140,3 +140,3 @@ "jsdoc": "jsdoc -c jsdoc.json", | ||
"dependencies": { | ||
"@egjs/axes": "^3.2.2", | ||
"@egjs/axes": "^3.4.0", | ||
"@egjs/component": "^3.0.1", | ||
@@ -143,0 +143,0 @@ "@egjs/imready": "^1.1.3", |
@@ -311,3 +311,3 @@ /* | ||
size: number; | ||
height: number; | ||
height?: number; | ||
margin: { prev: number; next: number }; | ||
@@ -325,3 +325,9 @@ }): this { | ||
this._margin = { ...cached.margin }; | ||
this._height = cached.height; | ||
this._height = cached.height ?? getElementSize({ | ||
el, | ||
horizontal: false, | ||
useFractionalSize, | ||
useOffset: true, | ||
style: getStyle(el) | ||
}); | ||
} else { | ||
@@ -328,0 +334,0 @@ const elStyle = getStyle(el); |
@@ -499,4 +499,4 @@ /* | ||
size: panelSize, | ||
height: referencePanel.height, | ||
margin: referencePanel.margin | ||
margin: referencePanel.margin, | ||
...(!flicking.horizontal && { height: referencePanel.height}) | ||
}; | ||
@@ -503,0 +503,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
37530
3822153
143
Updated@egjs/axes@^3.4.0