@titelmedia/bricks-headline
Advanced tools
Comparing version 1.10.1 to 1.11.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [1.11.0](https://github.com/titel-media/bricks-lerna/compare/v1.10.5...v1.11.0) (2023-03-31) | ||
### Features | ||
- Updated Headline to now have configurable fade in timing ([1dc3748](https://github.com/titel-media/bricks-lerna/commit/1dc3748a5f24952e0dcc4da5bf4f324129f9ba88)) | ||
## [1.10.1](https://github.com/titel-media/bricks-lerna/compare/v2.0.0...v1.10.1) (2023-03-22) | ||
@@ -8,0 +14,0 @@ |
@@ -23,3 +23,4 @@ "use strict"; | ||
customFontSizeDesktop, | ||
customFontSizeMobile | ||
customFontSizeMobile, | ||
durationNumber | ||
}) => { | ||
@@ -31,2 +32,3 @@ const containerRef = (0, _react.useRef)(null); | ||
_bricksUtils.gsap.effects.fade(containerRef.current, { | ||
duration: durationNumber ? durationNumber : 0.75, | ||
trigger: wrapperRef.current | ||
@@ -33,0 +35,0 @@ }); |
@@ -16,2 +16,3 @@ import React, { useEffect, useRef } from 'react'; | ||
customFontSizeMobile, | ||
durationNumber | ||
}) => { | ||
@@ -24,2 +25,3 @@ const containerRef = useRef(null); | ||
gsap.effects.fade(containerRef.current, { | ||
duration: durationNumber ? durationNumber : 0.75, | ||
trigger: wrapperRef.current, | ||
@@ -26,0 +28,0 @@ }); |
{ | ||
"name": "@titelmedia/bricks-headline", | ||
"version": "1.10.1", | ||
"version": "1.11.0", | ||
"description": "> TODO: description", | ||
@@ -28,6 +28,6 @@ "author": "highsnob", | ||
"dependencies": { | ||
"@titelmedia/bricks-theme": "^1.9.0", | ||
"@titelmedia/bricks-utils": "^1.10.1" | ||
"@titelmedia/bricks-theme": "^1.11.0", | ||
"@titelmedia/bricks-utils": "^1.11.0" | ||
}, | ||
"gitHead": "297a1aeee58cdde9945537be329c145ef44f7740" | ||
"gitHead": "c8cbffd7ad6abf4ec097a0ef38f0c91f26c4156c" | ||
} |
Sorry, the diff of this file is not supported yet
42310
413