decky-frontend-lib
Advanced tools
Comparing version 3.11.0 to 3.12.0
@@ -33,7 +33,7 @@ export declare enum GamepadButton { | ||
export declare enum NavEntryPositionPreferences { | ||
FIRST = 0, | ||
LAST = 1, | ||
MAINTAIN_X = 2, | ||
MAINTAIN_Y = 3, | ||
PREFERRED_CHILD = 4 | ||
FIRST, | ||
LAST, | ||
MAINTAIN_X, | ||
MAINTAIN_Y, | ||
PREFERRED_CHILD | ||
} | ||
@@ -45,5 +45,8 @@ export interface GamepadEventDetail { | ||
} | ||
export declare type ActionDescriptionMap = { | ||
[key in GamepadButton]?: string; | ||
}; | ||
export declare type GamepadEvent = CustomEvent<GamepadEventDetail>; | ||
export interface FooterLegendProps { | ||
actionDescriptionMap?: unknown; | ||
actionDescriptionMap?: ActionDescriptionMap; | ||
onOKActionDescription?: string; | ||
@@ -50,0 +53,0 @@ onCancelActionDescription?: string; |
@@ -33,9 +33,1 @@ export var GamepadButton; | ||
})(GamepadButton || (GamepadButton = {})); | ||
export var NavEntryPositionPreferences; | ||
(function (NavEntryPositionPreferences) { | ||
NavEntryPositionPreferences[NavEntryPositionPreferences["FIRST"] = 0] = "FIRST"; | ||
NavEntryPositionPreferences[NavEntryPositionPreferences["LAST"] = 1] = "LAST"; | ||
NavEntryPositionPreferences[NavEntryPositionPreferences["MAINTAIN_X"] = 2] = "MAINTAIN_X"; | ||
NavEntryPositionPreferences[NavEntryPositionPreferences["MAINTAIN_Y"] = 3] = "MAINTAIN_Y"; | ||
NavEntryPositionPreferences[NavEntryPositionPreferences["PREFERRED_CHILD"] = 4] = "PREFERRED_CHILD"; | ||
})(NavEntryPositionPreferences || (NavEntryPositionPreferences = {})); |
@@ -17,3 +17,7 @@ import { FC, ReactNode } from 'react'; | ||
export interface MenuItemProps { | ||
onSelected?(): void; | ||
bInteractableItem?: boolean; | ||
onClick?(evt: Event): void; | ||
onSelected?(evt: Event): void; | ||
onMouseEnter?(evt: MouseEvent): void; | ||
onMoveRight?(): void; | ||
disabled?: boolean; | ||
@@ -20,0 +24,0 @@ children?: ReactNode; |
{ | ||
"name": "decky-frontend-lib", | ||
"version": "3.11.0", | ||
"version": "3.12.0", | ||
"description": "A library for building decky plugins", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -32,4 +32,3 @@ export enum GamepadButton { | ||
} | ||
export enum NavEntryPositionPreferences { | ||
export declare enum NavEntryPositionPreferences { | ||
FIRST, | ||
@@ -39,5 +38,4 @@ LAST, | ||
MAINTAIN_Y, | ||
PREFERRED_CHILD, | ||
PREFERRED_CHILD | ||
} | ||
export interface GamepadEventDetail { | ||
@@ -48,7 +46,8 @@ button: number; | ||
} | ||
export type GamepadEvent = CustomEvent<GamepadEventDetail>; | ||
export declare type ActionDescriptionMap = { | ||
[key in GamepadButton]?: string | ||
} | ||
export declare type GamepadEvent = CustomEvent<GamepadEventDetail>; | ||
export interface FooterLegendProps { | ||
actionDescriptionMap?: unknown; | ||
actionDescriptionMap?: ActionDescriptionMap; | ||
onOKActionDescription?: string; | ||
@@ -55,0 +54,0 @@ onCancelActionDescription?: string; |
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
4399
185202