@lightningjs/solid-primitives
Advanced tools
Comparing version 0.6.4 to 0.6.5
import { type Accessor } from 'solid-js'; | ||
import { ElementNode } from '@lightningjs/solid'; | ||
export interface DefaultKeyMap { | ||
Left: string | string[]; | ||
Right: string | string[]; | ||
Up: string | string[]; | ||
Down: string | string[]; | ||
Enter: string | string[]; | ||
Last: string | string[]; | ||
Left: string | number | (string | number)[]; | ||
Right: string | number | (string | number)[]; | ||
Up: string | number | (string | number)[]; | ||
Down: string | number | (string | number)[]; | ||
Enter: string | number | (string | number)[]; | ||
Last: string | number | (string | number)[]; | ||
} | ||
@@ -11,0 +11,0 @@ export interface KeyMap extends DefaultKeyMap { |
@@ -92,3 +92,3 @@ /* | ||
else { | ||
console.log(`Unhandled key event: ${e.key}`); | ||
console.log(`Unhandled key event: ${e.key || e.keyCode}`); | ||
} | ||
@@ -95,0 +95,0 @@ if (isFunc(elm.onKeyPress)) { |
{ | ||
"name": "@lightningjs/solid-primitives", | ||
"version": "0.6.4", | ||
"version": "0.6.5", | ||
"description": "Lightning Primitives for Solid Lightning", | ||
@@ -43,3 +43,3 @@ "type": "module", | ||
"@typescript-eslint/parser": "^7.6.0", | ||
"eslint": "^9.0.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
@@ -46,0 +46,0 @@ "husky": "^9.0.11", |
@@ -30,8 +30,8 @@ /* | ||
export interface DefaultKeyMap { | ||
Left: string | string[]; | ||
Right: string | string[]; | ||
Up: string | string[]; | ||
Down: string | string[]; | ||
Enter: string | string[]; | ||
Last: string | string[]; | ||
Left: string | number | (string | number)[]; | ||
Right: string | number | (string | number)[]; | ||
Up: string | number | (string | number)[]; | ||
Down: string | number | (string | number)[]; | ||
Enter: string | number | (string | number)[]; | ||
Last: string | number | (string | number)[]; | ||
} | ||
@@ -191,3 +191,3 @@ | ||
} else { | ||
console.log(`Unhandled key event: ${e.key}`); | ||
console.log(`Unhandled key event: ${e.key || e.keyCode}`); | ||
} | ||
@@ -194,0 +194,0 @@ |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
137088
0