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
180
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.3.0-alpha1 to 24.3.0-alpha10

18

package.json
{
"name": "@vaadin/side-nav",
"version": "24.3.0-alpha1",
"version": "24.3.0-alpha10",
"publishConfig": {

@@ -37,12 +37,12 @@ "access": "public"

"dependencies": {
"@vaadin/component-base": "24.3.0-alpha1",
"@vaadin/vaadin-lumo-styles": "24.3.0-alpha1",
"@vaadin/vaadin-material-styles": "24.3.0-alpha1",
"@vaadin/vaadin-themable-mixin": "24.3.0-alpha1",
"lit": "^2.0.0"
"@vaadin/component-base": "24.3.0-alpha10",
"@vaadin/vaadin-lumo-styles": "24.3.0-alpha10",
"@vaadin/vaadin-material-styles": "24.3.0-alpha10",
"@vaadin/vaadin-themable-mixin": "24.3.0-alpha10",
"lit": "^3.0.0"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4",
"@vaadin/testing-helpers": "^0.5.0",
"lit": "^2.0.0",
"@vaadin/testing-helpers": "^0.6.0",
"lit": "^3.0.0",
"sinon": "^13.0.2"

@@ -54,3 +54,3 @@ },

],
"gitHead": "9ca6f3ca220a777e8eea181a1f5717e39a732240"
"gitHead": "0271523d93fe5df0425ff64206886614f3c6f401"
}

@@ -202,3 +202,3 @@ /**

?disabled="${this.disabled}"
tabindex="${this.disabled || !this.path ? '-1' : '0'}"
tabindex="${this.disabled || this.path == null ? '-1' : '0'}"
href="${ifDefined(this.disabled ? null : this.path)}"

@@ -205,0 +205,0 @@ part="link"

@@ -148,12 +148,19 @@ /**

return html`
<button
part="label"
@click="${this._onLabelClick}"
aria-expanded="${ifDefined(this.collapsible ? !this.collapsed : null)}"
aria-hidden="${ifDefined(this.collapsible === false ? true : null)}"
aria-controls="children"
>
<slot name="label" @slotchange="${this._onLabelSlotChange}"></slot>
<span part="toggle-button" aria-hidden="true"></span>
</button>
${this.collapsible
? html`
<button
part="label"
@click="${this._onLabelClick}"
aria-expanded="${!this.collapsed}"
aria-controls="children"
>
<slot name="label" @slotchange="${this._onLabelSlotChange}"></slot>
<span part="toggle-button" aria-hidden="true"></span>
</button>
`
: html`
<div part="label">
<slot name="label" @slotchange="${this._onLabelSlotChange}"></slot>
</div>
`}
<ul

@@ -160,0 +167,0 @@ id="children"

@@ -11,2 +11,7 @@ import '@vaadin/vaadin-lumo-styles/color.js';

export const sideNavItemStyles = css`
:host {
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
}
[part='link'] {

@@ -78,3 +83,3 @@ width: 100%;

border-radius: var(--lumo-border-radius-m);
box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
}

@@ -115,3 +120,3 @@ }

background-color: var(--lumo-primary-color-10pct);
color: var(--lumo-primary-text-color);
color: var(--vaadin-selection-color-text, var(--lumo-primary-text-color));
border-radius: var(--lumo-border-radius-m);

@@ -118,0 +123,0 @@ }

@@ -17,2 +17,4 @@ import '@vaadin/vaadin-lumo-styles/color.js';

-webkit-tap-highlight-color: transparent;
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
}

@@ -39,3 +41,3 @@

:host([focus-ring]) [part='label'] {
box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
}

@@ -42,0 +44,0 @@

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

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

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/side-nav",
"version": "24.3.0-alpha1",
"version": "24.3.0-alpha10",
"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