decky-frontend-lib
Advanced tools
Comparing version 3.16.0 to 3.16.1
@@ -0,1 +1,2 @@ | ||
import { ReactNode } from 'react'; | ||
export declare enum GamepadButton { | ||
@@ -45,3 +46,3 @@ INVALID = 0, | ||
export declare type ActionDescriptionMap = { | ||
[key in GamepadButton]?: string; | ||
[key in GamepadButton]?: ReactNode; | ||
}; | ||
@@ -51,7 +52,7 @@ export declare type GamepadEvent = CustomEvent<GamepadEventDetail>; | ||
actionDescriptionMap?: ActionDescriptionMap; | ||
onOKActionDescription?: string; | ||
onCancelActionDescription?: string; | ||
onSecondaryActionDescription?: string; | ||
onOptionsActionDescription?: string; | ||
onMenuActionDescription?: string; | ||
onOKActionDescription?: ReactNode; | ||
onCancelActionDescription?: ReactNode; | ||
onSecondaryActionDescription?: ReactNode; | ||
onOptionsActionDescription?: ReactNode; | ||
onMenuActionDescription?: ReactNode; | ||
onButtonDown?: (evt: GamepadEvent) => void; | ||
@@ -58,0 +59,0 @@ onButtonUp?: (evt: GamepadEvent) => void; |
{ | ||
"name": "decky-frontend-lib", | ||
"version": "3.16.0", | ||
"version": "3.16.1", | ||
"description": "A library for building decky plugins", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,1 +1,3 @@ | ||
import { ReactNode } from 'react'; | ||
export enum GamepadButton { | ||
@@ -45,3 +47,3 @@ INVALID, | ||
export declare type ActionDescriptionMap = { | ||
[key in GamepadButton]?: string | ||
[key in GamepadButton]?: ReactNode | ||
} | ||
@@ -51,7 +53,7 @@ export declare type GamepadEvent = CustomEvent<GamepadEventDetail>; | ||
actionDescriptionMap?: ActionDescriptionMap; | ||
onOKActionDescription?: string; | ||
onCancelActionDescription?: string; | ||
onSecondaryActionDescription?: string; | ||
onOptionsActionDescription?: string; | ||
onMenuActionDescription?: string; | ||
onOKActionDescription?: ReactNode; | ||
onCancelActionDescription?: ReactNode; | ||
onSecondaryActionDescription?: ReactNode; | ||
onOptionsActionDescription?: ReactNode; | ||
onMenuActionDescription?: ReactNode; | ||
onButtonDown?: (evt: GamepadEvent) => void; | ||
@@ -58,0 +60,0 @@ onButtonUp?: (evt: GamepadEvent) => void; |
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
187479
4473