@titelmedia/bricks-gallery
Advanced tools
Comparing version 0.4.73 to 0.4.74
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.4.74](https://github.com/titel-media/bricks-lerna/compare/v0.4.73...v0.4.74) (2022-02-26) | ||
**Note:** Version bump only for package @titelmedia/bricks-gallery | ||
## [0.4.73](https://github.com/titel-media/bricks-lerna/compare/v0.4.72...v0.4.73) (2022-02-26) | ||
@@ -8,0 +16,0 @@ |
@@ -43,3 +43,3 @@ "use strict"; | ||
buildTimeline(); | ||
}, 300); | ||
}, 400); | ||
} | ||
@@ -49,3 +49,3 @@ }, [initTl]); | ||
const buildTimeline = () => { | ||
var _containerRef$current, _containerRef$current2, _containerRef$current3; | ||
var _containerRef$current, _containerRef$current2; | ||
@@ -75,4 +75,4 @@ if (tlRef.current) { | ||
}).to(containerRef.current, { | ||
x: `-${(containerRef === null || containerRef === void 0 ? void 0 : (_containerRef$current3 = containerRef.current) === null || _containerRef$current3 === void 0 ? void 0 : _containerRef$current3.offsetWidth) - window.innerWidth}px`, | ||
ease: 'power1.inOut' | ||
x: offset, | ||
ease: 'power2.inOut' | ||
}); | ||
@@ -79,0 +79,0 @@ }; |
@@ -31,3 +31,3 @@ import React, { useRef, useEffect } from 'react'; | ||
buildTimeline(); | ||
}, 300); | ||
}, 400); | ||
} | ||
@@ -66,4 +66,4 @@ }, [initTl]); | ||
.to(containerRef.current, { | ||
x: `-${containerRef?.current?.offsetWidth - window.innerWidth}px`, | ||
ease: 'power1.inOut', | ||
x: offset, | ||
ease: 'power2.inOut', | ||
}); | ||
@@ -70,0 +70,0 @@ }; |
{ | ||
"name": "@titelmedia/bricks-gallery", | ||
"version": "0.4.73", | ||
"version": "0.4.74", | ||
"description": "> TODO: description", | ||
@@ -33,3 +33,3 @@ "author": "highsnob", | ||
}, | ||
"gitHead": "e164d6b395ac6d473eb0a92f1ae09b547149dad6" | ||
"gitHead": "3a40790677d7fec54170202a7ddd9a4ca8aa179a" | ||
} |
Sorry, the diff of this file is not supported yet
55271