Socket
Socket
Sign inDemoInstall

@spectrum-web-components/reactive-controllers

Package Overview
Dependencies
Maintainers
7
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/reactive-controllers - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6-react.62

4

package.json
{
"name": "@spectrum-web-components/reactive-controllers",
"version": "0.3.5",
"version": "0.3.6-react.62+342d768c5",
"publishConfig": {

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

],
"gitHead": "02534b6685ff89a21dba86c09b2169f5b30a46f2"
"gitHead": "342d768c58d0a2790117f7625db6085210bb7f17"
}

@@ -149,2 +149,3 @@ "use strict";

}
/* c8 ignore next 3 */
get value() {

@@ -151,0 +152,0 @@ return this.color;

@@ -26,5 +26,9 @@ "use strict";

this._focused = false;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
this._focusInIndex = (_elements) => 0;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
this.isFocusableElement = (_el) => true;
this._listenerScope = () => this.host;
// When elements are virtualized, the delta between the first element
// and the first rendered element.
this.offset = 0;

@@ -170,3 +174,6 @@ this.handleFocusin = (event) => {

let nextIndex = (length + this.currentIndex + diff) % length;
while (steps && this.elements[nextIndex] && !this.isFocusableElement(this.elements[nextIndex])) {
while (
// don't cycle the elements more than once
steps && this.elements[nextIndex] && !this.isFocusableElement(this.elements[nextIndex])
) {
nextIndex = (length + nextIndex + diff) % length;

@@ -173,0 +180,0 @@ steps -= 1;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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