decky-frontend-lib
Advanced tools
Comparing version 3.8.0 to 3.9.0
@@ -8,4 +8,28 @@ import { CSSProperties, FC, RefAttributes } from 'react'; | ||
export interface DialogButtonProps extends DialogCommonProps, FooterLegendProps { | ||
/** | ||
* Enables/disables the focus around the button. | ||
* | ||
* @note | ||
* Default value depends on context, so setting it to `false` will enable it. | ||
*/ | ||
noFocusRing?: boolean; | ||
/** | ||
* Disables the button - assigned `on*` methods will not be invoked if clicked. | ||
* | ||
* @note | ||
* Depending on where it is, it might still get focus. In such case it can be | ||
* partially disabled separately. | ||
* | ||
* @see focusable. | ||
*/ | ||
disabled?: boolean; | ||
/** | ||
* Enables/disables the navigation based focus on button - you won't be able to navigate to | ||
* it via the gamepad or keyboard. | ||
* | ||
* @note | ||
* If set to `false`, it still can be clicked and **WILL** become focused until navigated away. | ||
* Depending on the context of where the button is, even a disabled button can focused. | ||
*/ | ||
focusable?: boolean; | ||
onClick?(e: MouseEvent): void; | ||
@@ -12,0 +36,0 @@ onPointerDown?(e: PointerEvent): void; |
{ | ||
"name": "decky-frontend-lib", | ||
"version": "3.8.0", | ||
"version": "3.9.0", | ||
"description": "A library for building decky plugins", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
181226
4286