@vaadin/button
Advanced tools
Comparing version 22.0.0-alpha5 to 22.0.0-alpha6
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31711
6
596
- Removed@vaadin/field-base@^22.0.0-alpha5
- Removed@vaadin/field-base@22.1.0(transitive)
- Removed@vaadin/vaadin-control-state-mixin@22.0.0-alpha6(transitive)