@titelmedia/bricks-marquee
Advanced tools
Comparing version 2.7.0 to 2.8.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [2.8.0](https://github.com/titel-media/bricks-lerna/compare/v2.7.4...v2.8.0) (2024-05-10) | ||
### Features | ||
- added customCss to each component ([f4c92ef](https://github.com/titel-media/bricks-lerna/commit/f4c92efdb17166243d63446e95287d0198006db3)) | ||
# [2.7.0](https://github.com/titel-media/bricks-lerna/compare/v2.6.0...v2.7.0) (2024-04-25) | ||
@@ -8,0 +14,0 @@ |
@@ -53,3 +53,4 @@ "use strict"; | ||
marqueeDuration = 30, | ||
triggerScrub | ||
triggerScrub, | ||
customCss | ||
}) => { | ||
@@ -173,3 +174,4 @@ const containerRef = (0, _react.useRef)(null); | ||
ref: wrapperRef, | ||
backgroundColor: backgroundColor?.hex || backgroundColor | ||
backgroundColor: backgroundColor?.hex || backgroundColor, | ||
customCss: customCss | ||
}, _react.default.createElement(_bricksTheme.default, null), _react.default.createElement(_styles.Container, { | ||
@@ -176,0 +178,0 @@ ref: containerRef, |
@@ -12,2 +12,3 @@ "use strict"; | ||
const Wrapper = _styledComponents.default.div` | ||
${props => props.customCss}; | ||
background-color: ${props => props.backgroundColor || 'transparent'}; | ||
@@ -14,0 +15,0 @@ width: 100%; |
@@ -68,2 +68,3 @@ import React, { useEffect, useRef, createRef, forwardRef } from 'react'; | ||
triggerScrub, | ||
customCss, | ||
}) => { | ||
@@ -219,2 +220,3 @@ const containerRef = useRef(null); | ||
backgroundColor={backgroundColor?.hex || backgroundColor} | ||
customCss={customCss} | ||
> | ||
@@ -221,0 +223,0 @@ <GlobalFonts /> |
@@ -10,2 +10,3 @@ import styled from 'styled-components'; | ||
export const Wrapper = styled.div` | ||
${props => props.customCss}; | ||
background-color: ${props => props.backgroundColor || 'transparent'}; | ||
@@ -12,0 +13,0 @@ width: 100%; |
{ | ||
"name": "@titelmedia/bricks-marquee", | ||
"version": "2.7.0", | ||
"version": "2.8.0", | ||
"description": "> TODO: description", | ||
@@ -31,3 +31,3 @@ "author": "highsnob", | ||
}, | ||
"gitHead": "6170642b883c98c32c5ae678a08ac6f66aa12bf9" | ||
"gitHead": "cd450ba1a3f420b2a08a822bfb0f5f73c9b0aee7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53394
577