@debtcollective/dc-header-component
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.1.1](https://github.com/debtcollective/packages/compare/v1.1.0...v1.1.1) (2020-09-18) | ||
### Bug Fixes | ||
* **header-component:** remove test dropdown from header ([f9e0705](https://github.com/debtcollective/packages/commit/f9e0705)) | ||
# [1.1.0](https://github.com/debtcollective/packages/compare/v1.0.1...v1.1.0) (2020-09-18) | ||
@@ -8,0 +19,0 @@ |
@@ -7,3 +7,3 @@ 'use strict'; | ||
patch.patchBrowser().then(options => { | ||
return index.bootstrapLazy([["dc-collapser.cjs",[[0,"dc-collapser",{"label":[1],"items":[16],"open":[32]}]]],["dc-dropdown_4.cjs",[[1,"dc-header",{"links":[1],"donateURL":[1,"donate-u-r-l"],"community":[1],"host":[1],"logo":[1],"logoSmall":[1,"logo-small"],"user":[32],"isMenuOpen":[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[0,"dc-dropdown",{"label":[1],"items":[16],"open":[32]},[[4,"click","handleClickOutside"]]],[4,"dc-menu",{"open":[4]}],[0,"dc-user-items",{"community":[1],"user":[16]}]]]], options); | ||
return index.bootstrapLazy([["dc-collapser.cjs",[[0,"dc-collapser",{"label":[1],"items":[16],"open":[32]}]]],["dc-dropdown.cjs",[[0,"dc-dropdown",{"label":[1],"items":[16],"open":[32]},[[4,"click","handleClickOutside"]]]]],["dc-header_3.cjs",[[1,"dc-header",{"links":[1],"donateURL":[1,"donate-u-r-l"],"community":[1],"host":[1],"logo":[1],"logoSmall":[1,"logo-small"],"user":[32],"isMenuOpen":[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[4,"dc-menu",{"open":[4]}],[0,"dc-user-items",{"community":[1],"user":[16]}]]]], options); | ||
}); |
@@ -11,3 +11,3 @@ 'use strict'; | ||
return patch.patchEsm().then(() => { | ||
return index.bootstrapLazy([["dc-collapser.cjs",[[0,"dc-collapser",{"label":[1],"items":[16],"open":[32]}]]],["dc-dropdown_4.cjs",[[1,"dc-header",{"links":[1],"donateURL":[1,"donate-u-r-l"],"community":[1],"host":[1],"logo":[1],"logoSmall":[1,"logo-small"],"user":[32],"isMenuOpen":[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[0,"dc-dropdown",{"label":[1],"items":[16],"open":[32]},[[4,"click","handleClickOutside"]]],[4,"dc-menu",{"open":[4]}],[0,"dc-user-items",{"community":[1],"user":[16]}]]]], options); | ||
return index.bootstrapLazy([["dc-collapser.cjs",[[0,"dc-collapser",{"label":[1],"items":[16],"open":[32]}]]],["dc-dropdown.cjs",[[0,"dc-dropdown",{"label":[1],"items":[16],"open":[32]},[[4,"click","handleClickOutside"]]]]],["dc-header_3.cjs",[[1,"dc-header",{"links":[1],"donateURL":[1,"donate-u-r-l"],"community":[1],"host":[1],"logo":[1],"logoSmall":[1,"logo-small"],"user":[32],"isMenuOpen":[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[4,"dc-menu",{"open":[4]}],[0,"dc-user-items",{"community":[1],"user":[16]}]]]], options); | ||
}); | ||
@@ -14,0 +14,0 @@ }; |
@@ -5,3 +5,2 @@ import { Component, Prop, State, h, Watch, getAssetPath, Host, Listen } from "@stencil/core"; | ||
import "./dc-user-items"; | ||
import "./dc-dropdown"; | ||
import { loginURL } from "../../utils/community"; | ||
@@ -56,14 +55,4 @@ export class Header { | ||
h("nav", { class: "nav" }, | ||
h("slot", { name: "header" }, | ||
this._links.map(({ text, href }) => (h("div", { class: "nav-item d-md-flex" }, | ||
h("a", { class: "nav-link", href: href }, text)))), | ||
h("dc-dropdown", { label: "Hey there", items: [{ | ||
text: 'Hey', | ||
href: '/', | ||
description: 'This is a description' | ||
}, { | ||
text: 'Hey', | ||
href: '/', | ||
description: 'This is a description' | ||
}] }))), | ||
h("slot", { name: "header" }, this._links.map(({ text, href }) => (h("div", { class: "nav-item d-md-flex" }, | ||
h("a", { class: "nav-link", href: href }, text)))))), | ||
h("div", { class: "session-items" }, user ? (h("dc-user-items", { user: user, community: this.community })) : (h("div", { class: "session-links" }, | ||
@@ -70,0 +59,0 @@ h("a", { href: loginURL({ community: this.community, host: this.host }), class: "btn btn-outline" }, |
@@ -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-377c9b2d",[[1,"dc-header",{links:[1],donateURL:[1,"donate-u-r-l"],community:[1],host:[1],logo:[1],logoSmall:[1,"logo-small"],user:[32],isMenuOpen:[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[0,"dc-dropdown",{label:[1],items:[16],open:[32]},[[4,"click","handleClickOutside"]]],[4,"dc-menu",{open:[4]}],[0,"dc-user-items",{community:[1],user:[16]}]]]],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-fbf49d6c",[[0,"dc-dropdown",{label:[1],items:[16],open:[32]},[[4,"click","handleClickOutside"]]]]],["p-838ca98e",[[1,"dc-header",{links:[1],donateURL:[1,"donate-u-r-l"],community:[1],host:[1],logo:[1],logoSmall:[1,"logo-small"],user:[32],isMenuOpen:[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[4,"dc-menu",{open:[4]}],[0,"dc-user-items",{community:[1],user:[16]}]]]],o)); |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-cf24986c.system.js","./p-3a231e41.system.js"],(function(){"use strict";var e,t;return{setters:[function(t){e=t.b},function(e){t=e.p}],execute:function(){t().then((function(t){return e([["p-96646821.system",[[0,"dc-collapser",{label:[1],items:[16],open:[32]}]]],["p-0d328900.system",[[1,"dc-header",{links:[1],donateURL:[1,"donate-u-r-l"],community:[1],host:[1],logo:[1],logoSmall:[1,"logo-small"],user:[32],isMenuOpen:[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[0,"dc-dropdown",{label:[1],items:[16],open:[32]},[[4,"click","handleClickOutside"]]],[4,"dc-menu",{open:[4]}],[0,"dc-user-items",{community:[1],user:[16]}]]]],t)}))}}})); | ||
System.register(["./p-cf24986c.system.js","./p-3a231e41.system.js"],(function(){"use strict";var e,t;return{setters:[function(t){e=t.b},function(e){t=e.p}],execute:function(){t().then((function(t){return e([["p-96646821.system",[[0,"dc-collapser",{label:[1],items:[16],open:[32]}]]],["p-2c3dc090.system",[[0,"dc-dropdown",{label:[1],items:[16],open:[32]},[[4,"click","handleClickOutside"]]]]],["p-7fc65122.system",[[1,"dc-header",{links:[1],donateURL:[1,"donate-u-r-l"],community:[1],host:[1],logo:[1],logoSmall:[1,"logo-small"],user:[32],isMenuOpen:[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[4,"dc-menu",{open:[4]}],[0,"dc-user-items",{community:[1],user:[16]}]]]],t)}))}}})); |
import "./dc-menu"; | ||
import "./dc-user-items"; | ||
import "./dc-dropdown"; | ||
declare type User = { | ||
@@ -5,0 +4,0 @@ id: number; |
{ | ||
"name": "@debtcollective/dc-header-component", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Stencil header component for debtcollective web apps", | ||
@@ -40,3 +40,3 @@ "main": "dist/index.js", | ||
"license": "MIT", | ||
"gitHead": "4184fa9b81a58ef69e8d67f6cfc8251c30e933fd" | ||
"gitHead": "b0610a979ae0889191faba35d74617619818f530" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
102
25
939117
12260