decky-frontend-lib
Advanced tools
Comparing version 0.3.0 to 0.4.0
import { FC } from 'react'; | ||
interface ButtonProps { | ||
export interface ButtonProps { | ||
className?: string; | ||
@@ -19,2 +19,1 @@ noFocusRing?: boolean; | ||
export declare const Button: FC<ButtonProps>; | ||
export {}; |
import { FC } from 'react'; | ||
interface ButtonItemProps { | ||
export interface ButtonItemProps { | ||
label?: string; | ||
@@ -12,2 +12,1 @@ description?: string; | ||
export declare const ButtonItem: FC<ButtonItemProps>; | ||
export {}; |
@@ -11,2 +11,3 @@ export * from './Button'; | ||
export * from './SteamSpinner'; | ||
export * from './TextField'; | ||
export * from './Toggle'; |
@@ -11,2 +11,3 @@ export * from './Button'; | ||
export * from './SteamSpinner'; | ||
export * from './TextField'; | ||
export * from './Toggle'; |
import { FC, ReactNode } from 'react'; | ||
export declare const showContextMenu: (children: ReactNode, parent?: EventTarget) => void; | ||
interface MenuProps { | ||
export interface MenuProps { | ||
label: string; | ||
@@ -9,6 +9,5 @@ onCancel?(): void; | ||
export declare const Menu: FC<MenuProps>; | ||
interface MenuItemProps { | ||
export interface MenuItemProps { | ||
onSelected?(): void; | ||
} | ||
export declare const MenuItem: FC<MenuItemProps>; | ||
export {}; |
import { FC, ReactNode } from 'react'; | ||
export declare const showModal: (children: ReactNode, parent?: EventTarget) => void; | ||
interface ModalRootProps { | ||
export interface ModalRootProps { | ||
onMiddleButton?(): void; | ||
@@ -10,2 +10,1 @@ onCancel?(): void; | ||
export declare const ModalRoot: FC<ModalRootProps>; | ||
export {}; |
@@ -12,4 +12,4 @@ import { findModuleChild } from '../webpack'; | ||
}); | ||
export const ModalRoot = findModuleChild(m => { | ||
if (typeof m !== "object") | ||
export const ModalRoot = findModuleChild((m) => { | ||
if (typeof m !== 'object') | ||
return undefined; | ||
@@ -16,0 +16,0 @@ for (let prop in m) { |
import { FC } from 'react'; | ||
interface PanelSectionProps { | ||
export interface PanelSectionProps { | ||
title?: string; | ||
@@ -8,2 +8,1 @@ spinner?: boolean; | ||
export declare const PanelSectionRow: FC<{}>; | ||
export {}; |
@@ -16,3 +16,3 @@ export declare enum SideMenu { | ||
} | ||
interface Router { | ||
export interface Router { | ||
CloseSideMenus(): void; | ||
@@ -30,2 +30,1 @@ OpenQuickAccessMenu(quickAccessTab: QuickAccessTab): void; | ||
export declare const Router: Router; | ||
export {}; |
import { FC } from 'react'; | ||
interface NotchLabel { | ||
export interface NotchLabel { | ||
notchIndex: number; | ||
@@ -7,3 +7,3 @@ label: string; | ||
} | ||
interface SliderProps { | ||
export interface SliderProps { | ||
label?: string; | ||
@@ -21,2 +21,1 @@ value: number; | ||
export declare const Slider: FC<SliderProps>; | ||
export {}; |
import { FC } from 'react'; | ||
interface ToggleProps { | ||
export interface ToggleProps { | ||
label?: string; | ||
@@ -11,2 +11,1 @@ description?: string; | ||
export declare const Toggle: FC<ToggleProps>; | ||
export {}; |
{ | ||
"name": "decky-frontend-lib", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "A library for building decky plugins", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -11,2 +11,3 @@ export * from './Button'; | ||
export * from './SteamSpinner'; | ||
export * from './TextField'; | ||
export * from './Toggle'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
53178
54
988