@debtcollective/dc-header-component
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.3.2](https://github.com/debtcollective/packages/compare/v1.3.1...v1.3.2) (2020-10-01) | ||
### Bug Fixes | ||
* **dc-menu:** use fixed position to keep the menu in the screen while scrolling ([bc30f2a](https://github.com/debtcollective/packages/commit/bc30f2a)) | ||
## [1.3.1](https://github.com/debtcollective/packages/compare/v1.3.0...v1.3.1) (2020-10-01) | ||
@@ -8,0 +19,0 @@ |
@@ -68,3 +68,3 @@ 'use strict'; | ||
const dcMenuCss = ":host .menu-container.open .menu{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host .menu-container.hidden .menu{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}:host .menu{-webkit-backface-visibility:hidden;-ms-flex-align:start;align-items:flex-start;backface-visibility:hidden;background-color:var(--main-bg-color);-webkit-box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:var(--main-font);height:100vh;-ms-flex-pack:start;justify-content:flex-start;left:0;padding:0;position:absolute;top:0;-webkit-transition:-webkit-transform ease 0.216s;transition:-webkit-transform ease 0.216s;transition:transform ease 0.216s;transition:transform ease 0.216s, -webkit-transform ease 0.216s;width:75%;z-index:var(--z-index)}:host .menu-cloak{height:100vh;width:100vw;position:fixed;background-color:black;opacity:0.5;top:0;left:0;z-index:var(--z-index)}:host .menu-container.open .menu-cloak{display:block}:host .menu-container.hidden .menu-cloak{display:none}:host .menu-close{-ms-flex-align:center;align-items:center;background:rgba(57,57,57,0.07);border-radius:50%;display:-ms-flexbox;display:flex;font-size:1rem;padding:0.5rem}:host .menu-logo{width:50%}:host .nav-header{-ms-flex-align:center;align-items:center;border-bottom:0.0625rem solid #e8e8e8;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:1rem;padding:1.5rem var(--column-gap);width:100%}:host .menu-nav .nav-item{margin-bottom:1rem}"; | ||
const dcMenuCss = ":host .menu-container.open .menu{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host .menu-container.hidden .menu{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}:host .menu{-webkit-backface-visibility:hidden;-ms-flex-align:start;align-items:flex-start;backface-visibility:hidden;background-color:var(--main-bg-color);-webkit-box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:var(--main-font);height:100vh;-ms-flex-pack:start;justify-content:flex-start;left:0;padding:0;position:fixed;top:0;-webkit-transition:-webkit-transform ease 0.216s;transition:-webkit-transform ease 0.216s;transition:transform ease 0.216s;transition:transform ease 0.216s, -webkit-transform ease 0.216s;width:75%;z-index:var(--z-index)}:host .menu-cloak{height:100vh;width:100vw;position:fixed;background-color:black;opacity:0.5;top:0;left:0;z-index:var(--z-index)}:host .menu-container.open .menu-cloak{display:block}:host .menu-container.hidden .menu-cloak{display:none}:host .menu-close{-ms-flex-align:center;align-items:center;background:rgba(57,57,57,0.07);border-radius:50%;display:-ms-flexbox;display:flex;font-size:1rem;padding:0.5rem}:host .menu-logo{width:50%}:host .nav-header{-ms-flex-align:center;align-items:center;border-bottom:0.0625rem solid #e8e8e8;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:1rem;padding:1.5rem var(--column-gap);width:100%}:host .menu-nav .nav-item{margin-bottom:1rem}"; | ||
@@ -71,0 +71,0 @@ const Menu = class { |
@@ -145,3 +145,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}); }; | ||
var dcMenuCss = ":host .menu-container.open .menu{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host .menu-container.hidden .menu{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}:host .menu{-webkit-backface-visibility:hidden;-ms-flex-align:start;align-items:flex-start;backface-visibility:hidden;background-color:var(--main-bg-color);-webkit-box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:var(--main-font);height:100vh;-ms-flex-pack:start;justify-content:flex-start;left:0;padding:0;position:absolute;top:0;-webkit-transition:-webkit-transform ease 0.216s;transition:-webkit-transform ease 0.216s;transition:transform ease 0.216s;transition:transform ease 0.216s, -webkit-transform ease 0.216s;width:75%;z-index:var(--z-index)}:host .menu-cloak{height:100vh;width:100vw;position:fixed;background-color:black;opacity:0.5;top:0;left:0;z-index:var(--z-index)}:host .menu-container.open .menu-cloak{display:block}:host .menu-container.hidden .menu-cloak{display:none}:host .menu-close{-ms-flex-align:center;align-items:center;background:rgba(57,57,57,0.07);border-radius:50%;display:-ms-flexbox;display:flex;font-size:1rem;padding:0.5rem}:host .menu-logo{width:50%}:host .nav-header{-ms-flex-align:center;align-items:center;border-bottom:0.0625rem solid #e8e8e8;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:1rem;padding:1.5rem var(--column-gap);width:100%}:host .menu-nav .nav-item{margin-bottom:1rem}"; | ||
var dcMenuCss = ":host .menu-container.open .menu{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host .menu-container.hidden .menu{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}:host .menu{-webkit-backface-visibility:hidden;-ms-flex-align:start;align-items:flex-start;backface-visibility:hidden;background-color:var(--main-bg-color);-webkit-box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:var(--main-font);height:100vh;-ms-flex-pack:start;justify-content:flex-start;left:0;padding:0;position:fixed;top:0;-webkit-transition:-webkit-transform ease 0.216s;transition:-webkit-transform ease 0.216s;transition:transform ease 0.216s;transition:transform ease 0.216s, -webkit-transform ease 0.216s;width:75%;z-index:var(--z-index)}:host .menu-cloak{height:100vh;width:100vw;position:fixed;background-color:black;opacity:0.5;top:0;left:0;z-index:var(--z-index)}:host .menu-container.open .menu-cloak{display:block}:host .menu-container.hidden .menu-cloak{display:none}:host .menu-close{-ms-flex-align:center;align-items:center;background:rgba(57,57,57,0.07);border-radius:50%;display:-ms-flexbox;display:flex;font-size:1rem;padding:0.5rem}:host .menu-logo{width:50%}:host .nav-header{-ms-flex-align:center;align-items:center;border-bottom:0.0625rem solid #e8e8e8;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:1rem;padding:1.5rem var(--column-gap);width:100%}:host .menu-nav .nav-item{margin-bottom:1rem}"; | ||
var Menu = /** @class */ (function () { | ||
@@ -148,0 +148,0 @@ function Menu(hostRef) { |
@@ -64,3 +64,3 @@ import { r as registerInstance, c as createEvent, h, g as getAssetPath, H as Host } from './index-491ec3cf.js'; | ||
const dcMenuCss = ":host .menu-container.open .menu{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host .menu-container.hidden .menu{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}:host .menu{-webkit-backface-visibility:hidden;-ms-flex-align:start;align-items:flex-start;backface-visibility:hidden;background-color:var(--main-bg-color);-webkit-box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:var(--main-font);height:100vh;-ms-flex-pack:start;justify-content:flex-start;left:0;padding:0;position:absolute;top:0;-webkit-transition:-webkit-transform ease 0.216s;transition:-webkit-transform ease 0.216s;transition:transform ease 0.216s;transition:transform ease 0.216s, -webkit-transform ease 0.216s;width:75%;z-index:var(--z-index)}:host .menu-cloak{height:100vh;width:100vw;position:fixed;background-color:black;opacity:0.5;top:0;left:0;z-index:var(--z-index)}:host .menu-container.open .menu-cloak{display:block}:host .menu-container.hidden .menu-cloak{display:none}:host .menu-close{-ms-flex-align:center;align-items:center;background:rgba(57,57,57,0.07);border-radius:50%;display:-ms-flexbox;display:flex;font-size:1rem;padding:0.5rem}:host .menu-logo{width:50%}:host .nav-header{-ms-flex-align:center;align-items:center;border-bottom:0.0625rem solid #e8e8e8;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:1rem;padding:1.5rem var(--column-gap);width:100%}:host .menu-nav .nav-item{margin-bottom:1rem}"; | ||
const dcMenuCss = ":host .menu-container.open .menu{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host .menu-container.hidden .menu{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}:host .menu{-webkit-backface-visibility:hidden;-ms-flex-align:start;align-items:flex-start;backface-visibility:hidden;background-color:var(--main-bg-color);-webkit-box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);box-shadow:0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.25);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:var(--main-font);height:100vh;-ms-flex-pack:start;justify-content:flex-start;left:0;padding:0;position:fixed;top:0;-webkit-transition:-webkit-transform ease 0.216s;transition:-webkit-transform ease 0.216s;transition:transform ease 0.216s;transition:transform ease 0.216s, -webkit-transform ease 0.216s;width:75%;z-index:var(--z-index)}:host .menu-cloak{height:100vh;width:100vw;position:fixed;background-color:black;opacity:0.5;top:0;left:0;z-index:var(--z-index)}:host .menu-container.open .menu-cloak{display:block}:host .menu-container.hidden .menu-cloak{display:none}:host .menu-close{-ms-flex-align:center;align-items:center;background:rgba(57,57,57,0.07);border-radius:50%;display:-ms-flexbox;display:flex;font-size:1rem;padding:0.5rem}:host .menu-logo{width:50%}:host .nav-header{-ms-flex-align:center;align-items:center;border-bottom:0.0625rem solid #e8e8e8;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:1rem;padding:1.5rem var(--column-gap);width:100%}:host .menu-nav .nav-item{margin-bottom:1rem}"; | ||
@@ -67,0 +67,0 @@ const Menu = class { |
@@ -1,1 +0,1 @@ | ||
import{b as e}from"./p-fda4441b.js";import{p as o}from"./p-79b6293a.js";o().then(o=>e([["p-9a728e4a",[[0,"dc-collapser",{label:[1],items:[16],open:[32]}]]],["p-36548087",[[0,"dc-dropdown",{label:[1],items:[16],open:[32]},[[4,"click","handleClickOutside"],[4,"keydown","handleEscapeKey"]]]]],["p-04d679df",[[1,"dc-header",{links:[1],donateurl:[1],community:[1],memberhuburl:[1],host:[1],logo:[1],logosmall:[1],user:[32],isMenuOpen:[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[0,"dc-user-items",{community:[1],user:[16]}],[4,"dc-menu",{open:[4],logo:[1]}],[0,"dc-user-dropdown",{community:[1],user:[16],open:[32]},[[4,"click","handleClickOutside"],[4,"keydown","handleEscapeKey"]]]]]],o)); | ||
import{b as e}from"./p-fda4441b.js";import{p as o}from"./p-79b6293a.js";o().then(o=>e([["p-9a728e4a",[[0,"dc-collapser",{label:[1],items:[16],open:[32]}]]],["p-36548087",[[0,"dc-dropdown",{label:[1],items:[16],open:[32]},[[4,"click","handleClickOutside"],[4,"keydown","handleEscapeKey"]]]]],["p-c0d5457b",[[1,"dc-header",{links:[1],donateurl:[1],community:[1],memberhuburl:[1],host:[1],logo:[1],logosmall:[1],user:[32],isMenuOpen:[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[0,"dc-user-items",{community:[1],user:[16]}],[4,"dc-menu",{open:[4],logo:[1]}],[0,"dc-user-dropdown",{community:[1],user:[16],open:[32]},[[4,"click","handleClickOutside"],[4,"keydown","handleEscapeKey"]]]]]],o)); |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-cf24986c.system.js","./p-3a231e41.system.js"],(function(){"use strict";var e,n;return{setters:[function(n){e=n.b},function(e){n=e.p}],execute:function(){n().then((function(n){return e([["p-96646821.system",[[0,"dc-collapser",{label:[1],items:[16],open:[32]}]]],["p-64b15ce8.system",[[0,"dc-dropdown",{label:[1],items:[16],open:[32]},[[4,"click","handleClickOutside"],[4,"keydown","handleEscapeKey"]]]]],["p-c15268a1.system",[[1,"dc-header",{links:[1],donateurl:[1],community:[1],memberhuburl:[1],host:[1],logo:[1],logosmall:[1],user:[32],isMenuOpen:[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[0,"dc-user-items",{community:[1],user:[16]}],[4,"dc-menu",{open:[4],logo:[1]}],[0,"dc-user-dropdown",{community:[1],user:[16],open:[32]},[[4,"click","handleClickOutside"],[4,"keydown","handleEscapeKey"]]]]]],n)}))}}})); | ||
System.register(["./p-cf24986c.system.js","./p-3a231e41.system.js"],(function(){"use strict";var e,n;return{setters:[function(n){e=n.b},function(e){n=e.p}],execute:function(){n().then((function(n){return e([["p-96646821.system",[[0,"dc-collapser",{label:[1],items:[16],open:[32]}]]],["p-64b15ce8.system",[[0,"dc-dropdown",{label:[1],items:[16],open:[32]},[[4,"click","handleClickOutside"],[4,"keydown","handleEscapeKey"]]]]],["p-50b926cd.system",[[1,"dc-header",{links:[1],donateurl:[1],community:[1],memberhuburl:[1],host:[1],logo:[1],logosmall:[1],user:[32],isMenuOpen:[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[0,"dc-user-items",{community:[1],user:[16]}],[4,"dc-menu",{open:[4],logo:[1]}],[0,"dc-user-dropdown",{community:[1],user:[16],open:[32]},[[4,"click","handleClickOutside"],[4,"keydown","handleEscapeKey"]]]]]],n)}))}}})); |
{ | ||
"name": "@debtcollective/dc-header-component", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Stencil header component for debtcollective web apps", | ||
@@ -40,3 +40,3 @@ "main": "dist/index.js", | ||
"license": "MIT", | ||
"gitHead": "8eb81d3ee6f414834b66f7204838856f2e65e548" | ||
"gitHead": "544b04e917b3afd37c2802751ec7ab52d0f4abbd" | ||
} |
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
980813