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

@lightningjs/solid-primitives

Package Overview
Dependencies
Maintainers
7
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/solid-primitives - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

12

dist/packages/useFocusManager.d.ts
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

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