decky-frontend-lib
Advanced tools
Comparing version 3.21.8 to 3.22.0
@@ -28,2 +28,3 @@ export * from './Button'; | ||
export * from './SteamClient'; | ||
export * from './Scroll'; | ||
import { AppDetails, LogoPosition, SteamAppOverview, SteamClient } from './SteamClient'; | ||
@@ -30,0 +31,0 @@ declare global { |
@@ -28,1 +28,2 @@ export * from './Button'; | ||
export * from './SteamClient'; | ||
export * from './Scroll'; |
@@ -46,1 +46,8 @@ import { FC, ReactNode } from 'react'; | ||
export declare const ModalRoot: FC<ModalRootProps>; | ||
interface SimpleModalProps { | ||
active?: boolean; | ||
children: ReactNode; | ||
} | ||
export declare const SimpleModal: FC<SimpleModalProps>; | ||
export declare const ModalPosition: FC<SimpleModalProps>; | ||
export {}; |
@@ -80,1 +80,9 @@ import { findSP } from '../utils'; | ||
})); | ||
const ModalModule = findModule((mod) => { | ||
if (typeof mod !== 'object' || !mod.__esModule) | ||
return undefined; | ||
if (mod.SimpleModal && mod.ModalPosition) | ||
return mod; | ||
}); | ||
export const SimpleModal = ModalModule.SimpleModal; | ||
export const ModalPosition = ModalModule.ModalPosition; |
import { FC, ReactNode } from 'react'; | ||
export declare const Panel: FC<{ | ||
children?: ReactNode; | ||
}>; | ||
export interface PanelSectionProps { | ||
@@ -3,0 +6,0 @@ title?: string; |
import { findModuleChild } from '../webpack'; | ||
export const Panel = findModuleChild((mod) => { | ||
if (typeof mod !== 'object' || !mod.__esModule) | ||
return undefined; | ||
return mod.Panel; | ||
}); | ||
const [panelSection, mod] = findModuleChild((mod) => { | ||
@@ -3,0 +8,0 @@ for (let prop in mod) { |
{ | ||
"name": "decky-frontend-lib", | ||
"version": "3.21.8", | ||
"version": "3.22.0", | ||
"description": "A library for building decky plugins", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -28,2 +28,3 @@ export * from './Button'; | ||
export * from './SteamClient'; | ||
export * from './Scroll'; | ||
@@ -30,0 +31,0 @@ import { AppDetails, LogoPosition, SteamAppOverview, SteamClient } from './SteamClient'; |
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
224366
135
5404