@debtcollective/dc-header-component
Advanced tools
Comparing version 4.1.5 to 4.1.6
@@ -6,2 +6,10 @@ # Change Log | ||
## [4.1.6](https://github.com/debtcollective/packages/compare/@debtcollective/dc-header-component@4.1.5...@debtcollective/dc-header-component@4.1.6) (2022-06-17) | ||
**Note:** Version bump only for package @debtcollective/dc-header-component | ||
## [4.1.5](https://github.com/debtcollective/packages/compare/@debtcollective/dc-header-component@4.1.4...@debtcollective/dc-header-component@4.1.5) (2022-03-10) | ||
@@ -8,0 +16,0 @@ |
@@ -528,3 +528,3 @@ 'use strict'; | ||
render() { | ||
return (index.h(index.Host, null, index.h("header", { class: `navbar-top navbar l-header ${this.isMenuOpen ? "is-moved" : ""} ${this.isShrink ? "is-shrink" : ""}` }, index.h("div", { class: "l-header-item btn-container navbar-item" }, index.h("button", { class: "btn-transparent", onClick: this.toggleMenuHandler.bind(this) }, index.h("span", { class: "material-icons" }, "menu"))), index.h("div", { class: "l-header-item logo-container navbar-item" }, index.h("a", { class: `logo ${this.isShrink ? "logo-shrink" : ""}`, href: this.homepage }, index.h("img", { class: "d-sm-none", src: this._logoSmall, alt: "The Debtcollective" }), index.h("img", { class: "d-none d-sm-block ml-2 fixed-size", src: this._logo, alt: "The Debtcollective" }))), index.h("div", { class: "l-header-item session-container navbar-item" }, this.user ? (index.h("dc-profile", { shrank: this.isShrink, user: this.user, homepage: this.homepage, community: this.community, expanded: this.isProfileMenuOpen })) : (index.h("span", { class: "d-none d-sm-flex ml-auto" }, index.h("a", { href: this.config.login.url, class: "btn-outline" }, this.config.login.text), index.h("a", { href: this.config.join.url, class: "btn-primary ml-1" }, this.config.join.text))))), this.user ? null : (index.h("div", { class: `navbar-bottom navbar d-sm-none ${this.isMenuOpen ? "is-moved" : ""} ${this.isShrink ? "is-shrink" : ""}` }, index.h("a", { href: this.config.login.url, class: "btn-outline" }, this.config.login.text), index.h("a", { href: this.config.join.url, class: "btn-primary ml-1" }, this.config.join.text))), index.h("dc-menu", { open: this.isMenuOpen, user: this.user, homepage: this.homepage, community: this.community, wordpress: this.wordpress }), index.h("div", { class: `document-cloak ${this.isMenuOpen || this.isProfileMenuOpen ? "d-block" : "hidden"}`, onClick: this.closeAll.bind(this), hidden: !this.isMenuOpen }))); | ||
return (index.h(index.Host, null, index.h("header", { class: `navbar-top navbar l-header ${this.isMenuOpen ? "is-moved" : ""} ${this.isShrink ? "is-shrink" : ""}` }, index.h("div", { class: "l-header-item btn-container navbar-item" }, index.h("button", { class: "btn-transparent", onClick: this.toggleMenuHandler.bind(this) }, index.h("span", { class: "material-icons notranslate" }, "menu"))), index.h("div", { class: "l-header-item logo-container navbar-item" }, index.h("a", { class: `logo ${this.isShrink ? "logo-shrink" : ""}`, href: this.homepage }, index.h("img", { class: "d-sm-none", src: this._logoSmall, alt: "The Debtcollective" }), index.h("img", { class: "d-none d-sm-block ml-2 fixed-size", src: this._logo, alt: "The Debtcollective" }))), index.h("div", { class: "l-header-item session-container navbar-item" }, this.user ? (index.h("dc-profile", { shrank: this.isShrink, user: this.user, homepage: this.homepage, community: this.community, expanded: this.isProfileMenuOpen })) : (index.h("span", { class: "d-none d-sm-flex ml-auto" }, index.h("a", { href: this.config.login.url, class: "btn-outline" }, this.config.login.text), index.h("a", { href: this.config.join.url, class: "btn-primary ml-1" }, this.config.join.text))))), this.user ? null : (index.h("div", { class: `navbar-bottom navbar d-sm-none ${this.isMenuOpen ? "is-moved" : ""} ${this.isShrink ? "is-shrink" : ""}` }, index.h("a", { href: this.config.login.url, class: "btn-outline" }, this.config.login.text), index.h("a", { href: this.config.join.url, class: "btn-primary ml-1" }, this.config.join.text))), index.h("dc-menu", { open: this.isMenuOpen, user: this.user, homepage: this.homepage, community: this.community, wordpress: this.wordpress }), index.h("div", { class: `document-cloak ${this.isMenuOpen || this.isProfileMenuOpen ? "d-block" : "hidden"}`, onClick: this.closeAll.bind(this), hidden: !this.isMenuOpen }))); | ||
} | ||
@@ -531,0 +531,0 @@ static get assetsDirs() { return ["assets"]; } |
@@ -79,3 +79,3 @@ import "./menu"; | ||
h("button", { class: "btn-transparent", onClick: this.toggleMenuHandler.bind(this) }, | ||
h("span", { class: "material-icons" }, "menu"))), | ||
h("span", { class: "material-icons notranslate" }, "menu"))), | ||
h("div", { class: "l-header-item logo-container navbar-item" }, | ||
@@ -82,0 +82,0 @@ h("a", { class: `logo ${this.isShrink ? "logo-shrink" : ""}`, href: this.homepage }, |
@@ -524,3 +524,3 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getAssetPath } from './index-8956c047.js'; | ||
render() { | ||
return (h(Host, null, h("header", { class: `navbar-top navbar l-header ${this.isMenuOpen ? "is-moved" : ""} ${this.isShrink ? "is-shrink" : ""}` }, h("div", { class: "l-header-item btn-container navbar-item" }, h("button", { class: "btn-transparent", onClick: this.toggleMenuHandler.bind(this) }, h("span", { class: "material-icons" }, "menu"))), h("div", { class: "l-header-item logo-container navbar-item" }, h("a", { class: `logo ${this.isShrink ? "logo-shrink" : ""}`, href: this.homepage }, h("img", { class: "d-sm-none", src: this._logoSmall, alt: "The Debtcollective" }), h("img", { class: "d-none d-sm-block ml-2 fixed-size", src: this._logo, alt: "The Debtcollective" }))), h("div", { class: "l-header-item session-container navbar-item" }, this.user ? (h("dc-profile", { shrank: this.isShrink, user: this.user, homepage: this.homepage, community: this.community, expanded: this.isProfileMenuOpen })) : (h("span", { class: "d-none d-sm-flex ml-auto" }, h("a", { href: this.config.login.url, class: "btn-outline" }, this.config.login.text), h("a", { href: this.config.join.url, class: "btn-primary ml-1" }, this.config.join.text))))), this.user ? null : (h("div", { class: `navbar-bottom navbar d-sm-none ${this.isMenuOpen ? "is-moved" : ""} ${this.isShrink ? "is-shrink" : ""}` }, h("a", { href: this.config.login.url, class: "btn-outline" }, this.config.login.text), h("a", { href: this.config.join.url, class: "btn-primary ml-1" }, this.config.join.text))), h("dc-menu", { open: this.isMenuOpen, user: this.user, homepage: this.homepage, community: this.community, wordpress: this.wordpress }), h("div", { class: `document-cloak ${this.isMenuOpen || this.isProfileMenuOpen ? "d-block" : "hidden"}`, onClick: this.closeAll.bind(this), hidden: !this.isMenuOpen }))); | ||
return (h(Host, null, h("header", { class: `navbar-top navbar l-header ${this.isMenuOpen ? "is-moved" : ""} ${this.isShrink ? "is-shrink" : ""}` }, h("div", { class: "l-header-item btn-container navbar-item" }, h("button", { class: "btn-transparent", onClick: this.toggleMenuHandler.bind(this) }, h("span", { class: "material-icons notranslate" }, "menu"))), h("div", { class: "l-header-item logo-container navbar-item" }, h("a", { class: `logo ${this.isShrink ? "logo-shrink" : ""}`, href: this.homepage }, h("img", { class: "d-sm-none", src: this._logoSmall, alt: "The Debtcollective" }), h("img", { class: "d-none d-sm-block ml-2 fixed-size", src: this._logo, alt: "The Debtcollective" }))), h("div", { class: "l-header-item session-container navbar-item" }, this.user ? (h("dc-profile", { shrank: this.isShrink, user: this.user, homepage: this.homepage, community: this.community, expanded: this.isProfileMenuOpen })) : (h("span", { class: "d-none d-sm-flex ml-auto" }, h("a", { href: this.config.login.url, class: "btn-outline" }, this.config.login.text), h("a", { href: this.config.join.url, class: "btn-primary ml-1" }, this.config.join.text))))), this.user ? null : (h("div", { class: `navbar-bottom navbar d-sm-none ${this.isMenuOpen ? "is-moved" : ""} ${this.isShrink ? "is-shrink" : ""}` }, h("a", { href: this.config.login.url, class: "btn-outline" }, this.config.login.text), h("a", { href: this.config.join.url, class: "btn-primary ml-1" }, this.config.join.text))), h("dc-menu", { open: this.isMenuOpen, user: this.user, homepage: this.homepage, community: this.community, wordpress: this.wordpress }), h("div", { class: `document-cloak ${this.isMenuOpen || this.isProfileMenuOpen ? "d-block" : "hidden"}`, onClick: this.closeAll.bind(this), hidden: !this.isMenuOpen }))); | ||
} | ||
@@ -527,0 +527,0 @@ static get assetsDirs() { return ["assets"]; } |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as o}from"./p-1822b0d8.js";(()=>{const o=import.meta.url,l={};return""!==o&&(l.resourcesUrl=new URL(".",o).href),e(l)})().then((e=>o([["p-d8da64b6",[[1,"dc-header",{homepage:[1],community:[1],wordpress:[1],returnurl:[1],logo:[8],logosmall:[8],user:[32],isShrink:[32],scrollTop:[32],isMenuOpen:[32],isProfileMenuOpen:[32]},[[9,"scroll","handleScroll"],[0,"toggleMenu","toggleMenuHandler"],[0,"toggleProfileMenu","toggleProfileMenuHandler"],[0,"closeAll","closeAll"]]],[1,"dc-menu",{open:[4],community:[1],homepage:[1],wordpress:[1],host:[1],user:[16]},[[4,"keydown","handleEscapeKey"]]],[1,"dc-profile",{shrank:[4],expanded:[4],community:[1],homepage:[1],host:[1],user:[16]},[[4,"keydown","handleEscapeKey"]]],[4,"dc-link",{to:[1],target:[1],namespace:[1]},[[2,"click","handleClick"]]]]]],e))); | ||
import{p as e,b as o}from"./p-1822b0d8.js";(()=>{const o=import.meta.url,l={};return""!==o&&(l.resourcesUrl=new URL(".",o).href),e(l)})().then((e=>o([["p-7f16df7e",[[1,"dc-header",{homepage:[1],community:[1],wordpress:[1],returnurl:[1],logo:[8],logosmall:[8],user:[32],isShrink:[32],scrollTop:[32],isMenuOpen:[32],isProfileMenuOpen:[32]},[[9,"scroll","handleScroll"],[0,"toggleMenu","toggleMenuHandler"],[0,"toggleProfileMenu","toggleProfileMenuHandler"],[0,"closeAll","closeAll"]]],[1,"dc-menu",{open:[4],community:[1],homepage:[1],wordpress:[1],host:[1],user:[16]},[[4,"keydown","handleEscapeKey"]]],[1,"dc-profile",{shrank:[4],expanded:[4],community:[1],homepage:[1],host:[1],user:[16]},[[4,"keydown","handleEscapeKey"]]],[4,"dc-link",{to:[1],target:[1],namespace:[1]},[[2,"click","handleClick"]]]]]],e))); |
{ | ||
"name": "@debtcollective/dc-header-component", | ||
"version": "4.1.5", | ||
"version": "4.1.6", | ||
"description": "Stencil header component for debtcollective web apps", | ||
@@ -42,3 +42,3 @@ "main": "dist/index.cjs.js", | ||
"license": "BSD-3-Clause", | ||
"gitHead": "d4b8a514434ba421d42dac66e96f0d6846a46eb0" | ||
"gitHead": "8528a0085e08e5c06fcfafe60fce4fb010ceac24" | ||
} |
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
615384