@spectrum-web-components/reactive-controllers
Advanced tools
Comparing version 0.3.5 to 0.3.6-overlay.266
{ | ||
"name": "@spectrum-web-components/reactive-controllers", | ||
"version": "0.3.5", | ||
"version": "0.3.6-overlay.266+eef228d8d", | ||
"publishConfig": { | ||
@@ -82,3 +82,3 @@ "access": "public" | ||
], | ||
"gitHead": "02534b6685ff89a21dba86c09b2169f5b30a46f2" | ||
"gitHead": "eef228d8defcf04fe32713c7232fd0873828752b" | ||
} |
@@ -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
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 3 instances 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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 3 instances in 1 package
173896
1128
1