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

@vaadin/button

Package Overview
Dependencies
Maintainers
19
Versions
411
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/button - npm Package Compare versions

Comparing version 22.0.0-alpha5 to 22.0.0-alpha6

17

package.json
{
"name": "@vaadin/button",
"version": "22.0.0-alpha5",
"version": "22.0.0-alpha6",
"description": "vaadin-button",

@@ -28,12 +28,11 @@ "main": "vaadin-button.js",

"@polymer/polymer": "^3.0.0",
"@vaadin/field-base": "^22.0.0-alpha5",
"@vaadin/vaadin-control-state-mixin": "^22.0.0-alpha5",
"@vaadin/vaadin-element-mixin": "^22.0.0-alpha5",
"@vaadin/vaadin-lumo-styles": "^22.0.0-alpha5",
"@vaadin/vaadin-material-styles": "^22.0.0-alpha5",
"@vaadin/vaadin-themable-mixin": "^22.0.0-alpha5"
"@vaadin/component-base": "^22.0.0-alpha6",
"@vaadin/vaadin-element-mixin": "^22.0.0-alpha6",
"@vaadin/vaadin-lumo-styles": "^22.0.0-alpha6",
"@vaadin/vaadin-material-styles": "^22.0.0-alpha6",
"@vaadin/vaadin-themable-mixin": "^22.0.0-alpha6"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4",
"@vaadin/testing-helpers": "^0.2.1",
"@vaadin/testing-helpers": "^0.3.0",
"sinon": "^9.2.4"

@@ -44,3 +43,3 @@ },

},
"gitHead": "012f658db6f81375be8889f63ee15e3f660fe9ec"
"gitHead": "4b136b1c7da8942960e7255f40c27859125b3a45"
}

@@ -8,4 +8,5 @@ /**

import { ElementMixin } from '@vaadin/vaadin-element-mixin/vaadin-element-mixin.js';
import { ActiveMixin } from '@vaadin/field-base/src/active-mixin.js';
import { ControlStateMixin } from '@vaadin/vaadin-control-state-mixin/vaadin-control-state-mixin.js';
import { ActiveMixin } from '@vaadin/component-base/src/active-mixin.js';
import { FocusMixin } from '@vaadin/component-base/src/focus-mixin.js';
import { TabindexMixin } from '@vaadin/component-base/src/tabindex-mixin.js';

@@ -40,3 +41,3 @@ /**

*/
declare class Button extends ControlStateMixin(ActiveMixin(ElementMixin(ThemableMixin(HTMLElement)))) {}
declare class Button extends ActiveMixin(TabindexMixin(FocusMixin(ElementMixin(ThemableMixin(HTMLElement))))) {}

@@ -43,0 +44,0 @@ declare global {

@@ -9,5 +9,5 @@ /**

import { ElementMixin } from '@vaadin/vaadin-element-mixin/vaadin-element-mixin.js';
import { TabindexMixin } from '@vaadin/field-base/src/tabindex-mixin.js';
import { ActiveMixin } from '@vaadin/field-base/src/active-mixin.js';
import { FocusMixin } from '@vaadin/field-base/src/focus-mixin.js';
import { ActiveMixin } from '@vaadin/component-base/src/active-mixin.js';
import { FocusMixin } from '@vaadin/component-base/src/focus-mixin.js';
import { TabindexMixin } from '@vaadin/component-base/src/tabindex-mixin.js';

@@ -161,2 +161,4 @@ /**

if (this._activeKeys.includes(event.key)) {
event.preventDefault();
// `DisabledMixin` overrides the standard `click()` method

@@ -163,0 +165,0 @@ // so that it doesn't fire the `click` event when the element is disabled.

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