@titelmedia/bricks-age-gate
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 @@ |
@@ -21,3 +21,4 @@ "use strict"; | ||
colorMode, | ||
backgroundColor | ||
backgroundColor, | ||
customCss | ||
}) => { | ||
@@ -61,2 +62,3 @@ const containerRef = (0, _react.useRef)(null); | ||
background: backgroundColor?.hex || backgroundColor, | ||
customCss: customCss, | ||
className: "age-gate" | ||
@@ -63,0 +65,0 @@ }, _react.default.createElement(_styles.Content, null, _react.default.createElement(_bricksTheme.default, null), fluid && _react.default.createElement(_styles.Image, { |
@@ -13,3 +13,4 @@ "use strict"; | ||
const Container = _styledComponents.default.div` | ||
background-color: ${props => props.background ? props.background : 'white'}; | ||
${props => props.customCss}; | ||
background-color: ${props => props.background ? props.background : 'white'}; | ||
position: fixed; | ||
@@ -16,0 +17,0 @@ top: 0; |
@@ -21,2 +21,3 @@ import React, { useEffect, useRef, useState } from 'react'; | ||
backgroundColor, | ||
customCss, | ||
}) => { | ||
@@ -71,2 +72,3 @@ const containerRef = useRef(null); | ||
background={backgroundColor?.hex || backgroundColor} | ||
customCss={customCss} | ||
className="age-gate" | ||
@@ -73,0 +75,0 @@ > |
@@ -7,3 +7,4 @@ import styled from 'styled-components'; | ||
export const Container = styled.div` | ||
background-color: ${props => (props.background ? props.background : 'white')}; | ||
${props => props.customCss}; | ||
background-color: ${props => (props.background ? props.background : 'white')}; | ||
position: fixed; | ||
@@ -10,0 +11,0 @@ top: 0; |
{ | ||
"name": "@titelmedia/bricks-age-gate", | ||
"version": "2.7.0", | ||
"version": "2.8.0", | ||
"description": "Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM", | ||
@@ -32,3 +32,3 @@ "keywords": [], | ||
"homepage": "https://github.com/titel-media/bricks-lerna#readme", | ||
"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
40980
352