Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@debtcollective/dc-header-component

Package Overview
Dependencies
Maintainers
6
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@debtcollective/dc-header-component - npm Package Compare versions

Comparing version 3.5.2 to 3.5.3

dist/header/p-101c8df4.entry.js

11

CHANGELOG.md

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

## [3.5.3](https://github.com/debtcollective/packages/compare/@debtcollective/dc-header-component@3.5.2...@debtcollective/dc-header-component@3.5.3) (2021-06-24)
### Bug Fixes
* **header:** missing links to able to toggle on click ([f6476ef](https://github.com/debtcollective/packages/commit/f6476ef))
## [3.5.2](https://github.com/debtcollective/packages/compare/@debtcollective/dc-header-component@3.5.1...@debtcollective/dc-header-component@3.5.2) (2021-06-24)

@@ -8,0 +19,0 @@

4

dist/cjs/dc-header_4.cjs.entry.js

@@ -503,5 +503,5 @@ 'use strict';

"profile-collapsed": !this.expanded,
} }, index.h("div", { class: "profile-dropdown-section" }, index.h("p", { class: "text-underlined m-0" }, this.user.username), index.h("div", { class: "section-links" }, this.config.profile.items.map((item) => (index.h("dc-link", { onClick: () => this.toggleDropdown(), class: "link-text-icon", namespace: "profile", to: item.url }, index.h("span", { "aria-hidden": "true", class: "material-icons mb-1" }, item.figure), item.text))))), index.h("div", { class: "profile-dropdown-section mb-1" }, index.h("p", { class: "text-underlined mb-0" }, "Community"), index.h("div", { class: "section-links" }, index.h("dc-link", { class: "link-text-icon", namespace: "profile", to: preffixCommunityURL(this.community, `u/${this.user.username}/notifications`) }, index.h("span", { "aria-hidden": "true", class: `material-icons mb-1 ${this._hasNotifications ? "notification-color" : ""}` }, this._hasNotifications
} }, index.h("div", { class: "profile-dropdown-section" }, index.h("p", { class: "text-underlined m-0" }, this.user.username), index.h("div", { class: "section-links" }, this.config.profile.items.map((item) => (index.h("dc-link", { onClick: () => this.toggleDropdown(), class: "link-text-icon", namespace: "profile", to: item.url }, index.h("span", { "aria-hidden": "true", class: "material-icons mb-1" }, item.figure), item.text))))), index.h("div", { class: "profile-dropdown-section mb-1" }, index.h("p", { class: "text-underlined mb-0" }, "Community"), index.h("div", { class: "section-links" }, index.h("dc-link", { onClick: () => this.toggleDropdown(), class: "link-text-icon", namespace: "profile", to: preffixCommunityURL(this.community, `u/${this.user.username}/notifications`) }, index.h("span", { "aria-hidden": "true", class: `material-icons mb-1 ${this._hasNotifications ? "notification-color" : ""}` }, this._hasNotifications
? "notifications_active"
: "notifications"), "Notifications"), this.config.community.items.map((item) => (index.h("dc-link", { class: "link-text-icon", namespace: "profile", to: item.url }, index.h("span", { "aria-hidden": "true", class: "material-icons mb-1" }, item.figure), item.text))))), index.h("div", { class: "profile-dropdown-footer" }, this.config.footer.items.map((item) => (index.h("dc-link", { class: "btn btn-transparent text-sm link-text-icon-horizontal", to: item.url }, index.h("span", { class: "material-icons mr-1" }, item.figure), item.text))), index.h("button", { class: "btn btn-transparent text-sm link-text-icon-horizontal", onClick: this.handleLogout.bind(this) }, index.h("span", { class: "material-icons mr-1" }, "exit_to_app"), "Logout"))), index.h("div", { class: "connector" })));
: "notifications"), "Notifications"), this.config.community.items.map((item) => (index.h("dc-link", { onClick: () => this.toggleDropdown(), class: "link-text-icon", namespace: "profile", to: item.url }, index.h("span", { "aria-hidden": "true", class: "material-icons mb-1" }, item.figure), item.text))))), index.h("div", { class: "profile-dropdown-footer" }, this.config.footer.items.map((item) => (index.h("dc-link", { class: "btn btn-transparent text-sm link-text-icon-horizontal", to: item.url }, index.h("span", { class: "material-icons mr-1" }, item.figure), item.text))), index.h("button", { class: "btn btn-transparent text-sm link-text-icon-horizontal", onClick: this.handleLogout.bind(this) }, index.h("span", { class: "material-icons mr-1" }, "exit_to_app"), "Logout"))), index.h("div", { class: "connector" })));
}

@@ -508,0 +508,0 @@ static get assetsDirs() { return ["assets"]; }

@@ -59,3 +59,3 @@ import { Component, h, Prop, Listen, Event } from "@stencil/core";

h("div", { class: "section-links" },
h("dc-link", { class: "link-text-icon", namespace: "profile", to: preffixCommunityURL(this.community, `u/${this.user.username}/notifications`) },
h("dc-link", { onClick: () => this.toggleDropdown(), class: "link-text-icon", namespace: "profile", to: preffixCommunityURL(this.community, `u/${this.user.username}/notifications`) },
h("span", { "aria-hidden": "true", class: `material-icons mb-1 ${this._hasNotifications ? "notification-color" : ""}` }, this._hasNotifications

@@ -65,3 +65,3 @@ ? "notifications_active"

"Notifications"),
this.config.community.items.map((item) => (h("dc-link", { class: "link-text-icon", namespace: "profile", to: item.url },
this.config.community.items.map((item) => (h("dc-link", { onClick: () => this.toggleDropdown(), class: "link-text-icon", namespace: "profile", to: item.url },
h("span", { "aria-hidden": "true", class: "material-icons mb-1" }, item.figure),

@@ -68,0 +68,0 @@ item.text))))),

@@ -499,5 +499,5 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getAssetPath } from './index-8956c047.js';

"profile-collapsed": !this.expanded,
} }, h("div", { class: "profile-dropdown-section" }, h("p", { class: "text-underlined m-0" }, this.user.username), h("div", { class: "section-links" }, this.config.profile.items.map((item) => (h("dc-link", { onClick: () => this.toggleDropdown(), class: "link-text-icon", namespace: "profile", to: item.url }, h("span", { "aria-hidden": "true", class: "material-icons mb-1" }, item.figure), item.text))))), h("div", { class: "profile-dropdown-section mb-1" }, h("p", { class: "text-underlined mb-0" }, "Community"), h("div", { class: "section-links" }, h("dc-link", { class: "link-text-icon", namespace: "profile", to: preffixCommunityURL(this.community, `u/${this.user.username}/notifications`) }, h("span", { "aria-hidden": "true", class: `material-icons mb-1 ${this._hasNotifications ? "notification-color" : ""}` }, this._hasNotifications
} }, h("div", { class: "profile-dropdown-section" }, h("p", { class: "text-underlined m-0" }, this.user.username), h("div", { class: "section-links" }, this.config.profile.items.map((item) => (h("dc-link", { onClick: () => this.toggleDropdown(), class: "link-text-icon", namespace: "profile", to: item.url }, h("span", { "aria-hidden": "true", class: "material-icons mb-1" }, item.figure), item.text))))), h("div", { class: "profile-dropdown-section mb-1" }, h("p", { class: "text-underlined mb-0" }, "Community"), h("div", { class: "section-links" }, h("dc-link", { onClick: () => this.toggleDropdown(), class: "link-text-icon", namespace: "profile", to: preffixCommunityURL(this.community, `u/${this.user.username}/notifications`) }, h("span", { "aria-hidden": "true", class: `material-icons mb-1 ${this._hasNotifications ? "notification-color" : ""}` }, this._hasNotifications
? "notifications_active"
: "notifications"), "Notifications"), this.config.community.items.map((item) => (h("dc-link", { class: "link-text-icon", namespace: "profile", to: item.url }, h("span", { "aria-hidden": "true", class: "material-icons mb-1" }, item.figure), item.text))))), h("div", { class: "profile-dropdown-footer" }, this.config.footer.items.map((item) => (h("dc-link", { class: "btn btn-transparent text-sm link-text-icon-horizontal", to: item.url }, h("span", { class: "material-icons mr-1" }, item.figure), item.text))), h("button", { class: "btn btn-transparent text-sm link-text-icon-horizontal", onClick: this.handleLogout.bind(this) }, h("span", { class: "material-icons mr-1" }, "exit_to_app"), "Logout"))), h("div", { class: "connector" })));
: "notifications"), "Notifications"), this.config.community.items.map((item) => (h("dc-link", { onClick: () => this.toggleDropdown(), class: "link-text-icon", namespace: "profile", to: item.url }, h("span", { "aria-hidden": "true", class: "material-icons mb-1" }, item.figure), item.text))))), h("div", { class: "profile-dropdown-footer" }, this.config.footer.items.map((item) => (h("dc-link", { class: "btn btn-transparent text-sm link-text-icon-horizontal", to: item.url }, h("span", { class: "material-icons mr-1" }, item.figure), item.text))), h("button", { class: "btn btn-transparent text-sm link-text-icon-horizontal", onClick: this.handleLogout.bind(this) }, h("span", { class: "material-icons mr-1" }, "exit_to_app"), "Logout"))), h("div", { class: "connector" })));
}

@@ -504,0 +504,0 @@ static get assetsDirs() { return ["assets"]; }

@@ -1,1 +0,1 @@

import{p as e,b as l}from"./p-1822b0d8.js";(()=>{const l=import.meta.url,o={};return""!==l&&(o.resourcesUrl=new URL(".",l).href),e(o)})().then((e=>l([["p-1ed0f900",[[1,"dc-header",{homepage:[1],community:[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],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 l}from"./p-1822b0d8.js";(()=>{const l=import.meta.url,o={};return""!==l&&(o.resourcesUrl=new URL(".",l).href),e(o)})().then((e=>l([["p-101c8df4",[[1,"dc-header",{homepage:[1],community:[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],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": "3.5.2",
"version": "3.5.3",
"description": "Stencil header component for debtcollective web apps",

@@ -42,3 +42,3 @@ "main": "dist/index.cjs.js",

"license": "BSD-3-Clause",
"gitHead": "b4a8fcd4694c2dcdb4d533a0d14965f5fd661592"
"gitHead": "0b38d42e31e698df12fc2584351894ae915b5fca"
}
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