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

@vaadin/component-base

Package Overview
Dependencies
Maintainers
14
Versions
388
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/component-base - npm Package Compare versions

Comparing version 22.0.11 to 22.0.12

4

package.json
{
"name": "@vaadin/component-base",
"version": "22.0.11",
"version": "22.0.12",
"publishConfig": {

@@ -44,3 +44,3 @@ "access": "public"

},
"gitHead": "a905b1ef7af885ce5536646e818fe76574407237"
"gitHead": "ba1b2b04365d6cc9d5c05376b6d1f1402bc314ec"
}

@@ -35,3 +35,3 @@ /**

static get version() {
return '22.0.11';
return '22.0.12';
}

@@ -38,0 +38,0 @@

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

*
* By default, the attribute is set to 0 that makes the element focusable.
*
* The attribute is set to -1 whenever the user disables the element

@@ -29,2 +27,7 @@ * and restored with the last known value once the element is enabled.

/**
* Stores the last known tabindex since the element has been disabled.
*/
protected _lastTabIndex: number | undefined | null;
/**
* When the user has changed tabindex while the element is disabled,

@@ -31,0 +34,0 @@ * the observer reverts tabindex to -1 and rather saves the new tabindex value to apply it later.

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

*
* By default, the attribute is set to 0 that makes the element focusable.
*
* The attribute is set to -1 whenever the user disables the element

@@ -26,2 +24,3 @@ * and restored with the last known value once the element is enabled.

* Indicates whether the element can be focused and where it participates in sequential keyboard navigation.
*
* @protected

@@ -31,3 +30,2 @@ */

type: Number,
value: 0,
reflectToAttribute: true,

@@ -40,7 +38,6 @@ observer: '_tabindexChanged'

*
* @private
* @protected
*/
__lastTabIndex: {
type: Number,
value: 0
_lastTabIndex: {
type: Number
}

@@ -64,7 +61,7 @@ };

if (this.tabindex !== undefined) {
this.__lastTabIndex = this.tabindex;
this._lastTabIndex = this.tabindex;
}
this.tabindex = -1;
} else if (oldDisabled) {
this.tabindex = this.__lastTabIndex;
this.tabindex = this._lastTabIndex;
}

@@ -82,3 +79,3 @@ }

if (this.disabled && tabindex !== -1) {
this.__lastTabIndex = tabindex;
this._lastTabIndex = tabindex;
this.tabindex = -1;

@@ -85,0 +82,0 @@ }

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