Socket
Socket
Sign inDemoInstall

@titelmedia/bricks-age-gate

Package Overview
Dependencies
Maintainers
0
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@titelmedia/bricks-age-gate - npm Package Compare versions

Comparing version 2.8.1 to 2.14.0

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

# [2.14.0](https://github.com/titel-media/bricks-lerna/compare/v2.13.2...v2.14.0) (2024-09-12)
**Note:** Version bump only for package @titelmedia/bricks-age-gate
## [2.8.1](https://github.com/titel-media/bricks-lerna/compare/v2.8.0...v2.8.1) (2024-05-16)

@@ -8,0 +12,0 @@

6

dist/index.js

@@ -11,5 +11,5 @@ "use strict";

var _bricksUtils = require("@titelmedia/bricks-utils");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
const AgeGate = ({

@@ -16,0 +16,0 @@ logo,

@@ -11,4 +11,4 @@ "use strict";

var _breakpoints = require("@titelmedia/bricks-theme/lib/variables/breakpoints");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const Container = _styledComponents.default.div`
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const Container = exports.Container = _styledComponents.default.div`
background-color: ${props => props.background ? props.background : 'white'};

@@ -27,4 +27,3 @@ position: fixed;

`;
exports.Container = Container;
const Content = _styledComponents.default.div`
const Content = exports.Content = _styledComponents.default.div`
display: flex;

@@ -38,4 +37,3 @@ align-items: center;

`;
exports.Content = Content;
const Image = _styledComponents.default.img`
const Image = exports.Image = _styledComponents.default.img`
width: 100px;

@@ -49,4 +47,3 @@ @media (min-width: ${_breakpoints.BREAKPOINTS.sm}px) {

`;
exports.Image = Image;
const Title = _styledComponents.default.h3`
const Title = exports.Title = _styledComponents.default.h3`
color: ${props => props.colorMode === 'dark' ? 'white' : 'inherit'};

@@ -61,4 +58,3 @@ font-family: 'univers-cond', sans-serif;

`;
exports.Title = Title;
const ButtonsContainer = _styledComponents.default.div`
const ButtonsContainer = exports.ButtonsContainer = _styledComponents.default.div`
display: flex;

@@ -80,4 +76,3 @@ align-items: center;

`;
exports.ButtonsContainer = ButtonsContainer;
const Button = _styledComponents.default.button`
const Button = exports.Button = _styledComponents.default.button`
font-family: 'univers-black', sans-serif;

@@ -114,3 +109,2 @@ padding: 15px 20px;

`;
exports.Button = Button;
//# sourceMappingURL=styles.js.map
{
"name": "@titelmedia/bricks-age-gate",
"version": "2.8.1",
"version": "2.14.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",

@@ -29,6 +29,6 @@ "keywords": [],

"@titelmedia/bricks-theme": "^2.7.0",
"@titelmedia/bricks-utils": "^2.3.0"
"@titelmedia/bricks-utils": "^2.14.0"
},
"homepage": "https://github.com/titel-media/bricks-lerna#readme",
"gitHead": "12573f2bc3f1a6f94ebef79b4b1ff8b68c30ddef"
"gitHead": "f2af3020533bf583877f55d81bb639f656743a8b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc