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

@vaadin/side-nav

Package Overview
Dependencies
Maintainers
12
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/side-nav - npm Package Compare versions

Comparing version 24.4.0-alpha16 to 24.4.0-alpha17

14

package.json
{
"name": "@vaadin/side-nav",
"version": "24.4.0-alpha16",
"version": "24.4.0-alpha17",
"publishConfig": {

@@ -38,7 +38,7 @@ "access": "public"

"@open-wc/dedupe-mixin": "^1.3.0",
"@vaadin/a11y-base": "24.4.0-alpha16",
"@vaadin/component-base": "24.4.0-alpha16",
"@vaadin/vaadin-lumo-styles": "24.4.0-alpha16",
"@vaadin/vaadin-material-styles": "24.4.0-alpha16",
"@vaadin/vaadin-themable-mixin": "24.4.0-alpha16",
"@vaadin/a11y-base": "24.4.0-alpha17",
"@vaadin/component-base": "24.4.0-alpha17",
"@vaadin/vaadin-lumo-styles": "24.4.0-alpha17",
"@vaadin/vaadin-material-styles": "24.4.0-alpha17",
"@vaadin/vaadin-themable-mixin": "24.4.0-alpha17",
"lit": "^3.0.0"

@@ -56,3 +56,3 @@ },

],
"gitHead": "2d797855c2b3a3828ee7b0d90aeb227b56c32e76"
"gitHead": "eb6b4dac66be1c0ddc77757bed5f84a6d355e5cf"
}

@@ -8,3 +8,2 @@ # @vaadin/side-nav

[![npm version](https://badgen.net/npm/v/@vaadin/vaadin-side-nav)](https://www.npmjs.com/package/@vaadin/vaadin-side-nav)
[![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)

@@ -11,0 +10,0 @@ ```html

@@ -265,2 +265,3 @@ /**

if (this.current) {
this.__expandParentItems();
this.expanded = this._items.length > 0;

@@ -271,2 +272,16 @@ }

/** @private */
__expandParentItems() {
const parentItem = this.__getParentItem();
if (parentItem) {
parentItem.__expandParentItems();
}
this.expanded = true;
}
/** @private */
__getParentItem() {
return this.parentElement instanceof SideNavItem ? this.parentElement : null;
}
/** @private */
__isCurrent() {

@@ -273,0 +288,0 @@ if (this.path == null) {

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/side-nav",
"version": "24.4.0-alpha16",
"version": "24.4.0-alpha17",
"description-markup": "markdown",

@@ -6,0 +6,0 @@ "contributions": {

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/side-nav",
"version": "24.4.0-alpha16",
"version": "24.4.0-alpha17",
"description-markup": "markdown",

@@ -6,0 +6,0 @@ "framework": "lit",

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