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
407
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 23.1.0-alpha1 to 23.1.0-alpha2

src/polylit-mixin.d.ts

4

package.json
{
"name": "@vaadin/component-base",
"version": "23.1.0-alpha1",
"version": "23.1.0-alpha2",
"publishConfig": {

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

},
"gitHead": "5d0cdee069f866037c507265fafb4d0476795333"
"gitHead": "6842dcb8b163d4512fae8d3d12a6559077a4aee6"
}

@@ -42,3 +42,3 @@ /**

static get version() {
return '23.1.0-alpha1';
return '23.1.0-alpha2';
}

@@ -45,0 +45,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