Socket
Socket
Sign inDemoInstall

@washingtonpost/site-footer

Package Overview
Dependencies
Maintainers
193
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@washingtonpost/site-footer - npm Package Compare versions

Comparing version 0.2.0 to 0.2.2

27

dist/index.js
var $bih2O$react = require("react");
var $bih2O$proptypes = require("prop-types");
var $bih2O$washingtonpostsitecomponentscorehooks = require("@washingtonpost/site-components/core/hooks");
var $bih2O$washingtonpostsitecomponentscoreutilities = require("@washingtonpost/site-components/core/utilities");
var $bih2O$washingtonpostsitecomponentscorehooks = require("@washingtonpost/site-components/core/hooks");

@@ -18,3 +18,10 @@ function $parcel$export(e, n, v, s) {

const $396f9ed978a969cf$var$getClasses = (defaultClassNames = "", conditionalClassNames = {
})=>{
let classes = defaultClassNames;
Object.entries(conditionalClassNames).forEach(([classname, shouldApply])=>{
if (shouldApply) classes += ` ${classname}`;
});
return classes.trim();
};
const $396f9ed978a969cf$export$ef2184bd89960b14 = ({ as: as , children: children })=>{

@@ -46,3 +53,3 @@ const ComponentAsElement = as ? as : "div";

const $396f9ed978a969cf$export$816b5d811295e6bc = ({ as: as , children: children , className: className = "" , span: span , start: start , end: end , spanMedium: spanMedium , startMedium: startMedium , endMedium: endMedium , spanLarge: spanLarge , startLarge: startLarge , endLarge: endLarge , ...otherProps })=>{
const columnClassName = $bih2O$washingtonpostsitecomponentscoreutilities.getClasses(`mw-100 border-box ${className}`, {
const columnClassName = $396f9ed978a969cf$var$getClasses(`mw-100 border-box ${className}`, {
[`col-span-${span}`]: span,

@@ -84,2 +91,10 @@ [`col-start-${start}`]: start,

const $d417da00a8dbecf8$var$getClasses = (defaultClassNames = "", conditionalClassNames = {
})=>{
let classes = defaultClassNames;
Object.entries(conditionalClassNames).forEach(([classname, shouldApply])=>{
if (shouldApply) classes += ` ${classname}`;
});
return classes.trim();
};
const $d417da00a8dbecf8$export$97fc2a18d9188811 = [

@@ -385,3 +400,3 @@ {

const $d417da00a8dbecf8$var$DesktopFooter = ({ children: children , className: className })=>/*#__PURE__*/ $bih2O$react.createElement("footer", {
className: $bih2O$washingtonpostsitecomponentscoreutilities.getClasses("dn flex-ns flex-column w-100 b bt", {
className: $d417da00a8dbecf8$var$getClasses("dn flex-ns flex-column w-100 b bt", {
[className]: className

@@ -415,3 +430,3 @@ })

href: url,
className: $bih2O$washingtonpostsitecomponentscoreutilities.getClasses("hover-blue", {
className: $d417da00a8dbecf8$var$getClasses("hover-blue", {
[className]: className

@@ -528,3 +543,3 @@ }),

})), /*#__PURE__*/ $bih2O$react.createElement("div", {
className: $bih2O$washingtonpostsitecomponentscoreutilities.getClasses("dn-ns", {
className: $d417da00a8dbecf8$var$getClasses("dn-ns", {
[className]: className

@@ -531,0 +546,0 @@ })

import $90n8G$react, {createElement as $90n8G$createElement, useState as $90n8G$useState, useEffect as $90n8G$useEffect, Fragment as $90n8G$Fragment} from "react";
import $90n8G$proptypes from "prop-types";
import {getClasses as $90n8G$getClasses, isSubscriber as $90n8G$isSubscriber} from "@washingtonpost/site-components/core/utilities";
import {useUserData as $90n8G$useUserData} from "@washingtonpost/site-components/core/hooks";
import {isSubscriber as $90n8G$isSubscriber} from "@washingtonpost/site-components/core/utilities";
const $b3ef2a3a8824b031$var$getClasses = (defaultClassNames = "", conditionalClassNames = {
})=>{
let classes = defaultClassNames;
Object.entries(conditionalClassNames).forEach(([classname, shouldApply])=>{
if (shouldApply) classes += ` ${classname}`;
});
return classes.trim();
};
const $b3ef2a3a8824b031$export$ef2184bd89960b14 = ({ as: as , children: children })=>{

@@ -35,3 +42,3 @@ const ComponentAsElement = as ? as : "div";

const $b3ef2a3a8824b031$export$816b5d811295e6bc = ({ as: as , children: children , className: className = "" , span: span , start: start , end: end , spanMedium: spanMedium , startMedium: startMedium , endMedium: endMedium , spanLarge: spanLarge , startLarge: startLarge , endLarge: endLarge , ...otherProps })=>{
const columnClassName = $90n8G$getClasses(`mw-100 border-box ${className}`, {
const columnClassName = $b3ef2a3a8824b031$var$getClasses(`mw-100 border-box ${className}`, {
[`col-span-${span}`]: span,

@@ -73,2 +80,10 @@ [`col-start-${start}`]: start,

const $f930d8c47f420a49$var$getClasses = (defaultClassNames = "", conditionalClassNames = {
})=>{
let classes = defaultClassNames;
Object.entries(conditionalClassNames).forEach(([classname, shouldApply])=>{
if (shouldApply) classes += ` ${classname}`;
});
return classes.trim();
};
const $f930d8c47f420a49$export$97fc2a18d9188811 = [

@@ -374,3 +389,3 @@ {

const $f930d8c47f420a49$var$DesktopFooter = ({ children: children , className: className })=>/*#__PURE__*/ $90n8G$createElement("footer", {
className: $90n8G$getClasses("dn flex-ns flex-column w-100 b bt", {
className: $f930d8c47f420a49$var$getClasses("dn flex-ns flex-column w-100 b bt", {
[className]: className

@@ -404,3 +419,3 @@ })

href: url,
className: $90n8G$getClasses("hover-blue", {
className: $f930d8c47f420a49$var$getClasses("hover-blue", {
[className]: className

@@ -517,3 +532,3 @@ }),

})), /*#__PURE__*/ $90n8G$createElement("div", {
className: $90n8G$getClasses("dn-ns", {
className: $f930d8c47f420a49$var$getClasses("dn-ns", {
[className]: className

@@ -520,0 +535,0 @@ })

{
"name": "@washingtonpost/site-footer",
"version": "0.2.0",
"version": "0.2.2",
"description": "> TODO: description",

@@ -34,5 +34,5 @@ "author": "artmsilva <artmsilva@gmail.com>",

"@babel/runtime": "^7.13.10",
"@washingtonpost/site-components": "^6.2.0"
"@washingtonpost/site-components": "^6.2.2"
},
"gitHead": "b51b73eb1728cf8906b5ebfca9359f34a93e8f82"
"gitHead": "4005b148d502814181a142e12d39eb6447da4a76"
}

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