New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-tabs

Package Overview
Dependencies
Maintainers
14
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-tabs - npm Package Compare versions

Comparing version 2.1.2 to 3.0.0-alpha1

2

package.json

@@ -13,3 +13,3 @@ {

"name": "@vaadin/vaadin-tabs",
"version": "2.1.2",
"version": "3.0.0-alpha1",
"main": "vaadin-tabs.js",

@@ -16,0 +16,0 @@ "author": "Vaadin Ltd",

@@ -51,3 +51,3 @@ /**

static get version() {
return '2.1.2';
return '3.0.0-alpha1';
}

@@ -59,2 +59,15 @@

}
_onKeyup(event) {
const willClick = this.hasAttribute('active');
super._onKeyup(event);
if (willClick) {
const anchor = this.querySelector('a');
if (anchor) {
anchor.click();
}
}
}
}

@@ -61,0 +74,0 @@

@@ -145,3 +145,3 @@ /**

static get version() {
return '2.1.2';
return '3.0.0-alpha1';
}

@@ -148,0 +148,0 @@

@@ -114,2 +114,20 @@ import '@vaadin/vaadin-lumo-styles/color.js';

:host ::slotted(a[href]) {
display: flex;
width: 100%;
justify-content: center;
align-items: center;
height: 100%;
margin: -0.5rem -0.75rem;
padding: 0.5rem 0.75rem;
text-decoration: none;
color: inherit;
outline: none;
}
:host ::slotted(a[href]:hover),
:host ::slotted(a[href]:focus) {
color: inherit;
}
:host ::slotted(iron-icon) {

@@ -145,2 +163,9 @@ margin: 0 4px;

:host([theme~="icon-on-top"]) ::slotted(a) {
flex-direction: column;
align-items: center;
margin-top: -0.25rem;
padding-top: 0.25rem;
}
:host([theme~="icon-on-top"]) ::slotted(iron-icon) {

@@ -147,0 +172,0 @@ margin: 0;

@@ -28,3 +28,2 @@ import '@vaadin/vaadin-lumo-styles/font-icons.js';

box-shadow: -1px 0 0 0 var(--lumo-contrast-10pct);
display: inline-flex;
}

@@ -31,0 +30,0 @@

@@ -100,2 +100,15 @@ import '@vaadin/vaadin-material-styles/color.js';

:host ::slotted(a) {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
margin: -12px -16px;
padding: 12px 16px;
text-decoration: none;
color: inherit;
outline: none;
}
/* Touch device adjustments */

@@ -102,0 +115,0 @@ @media (pointer: coarse) {

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