diff --git a/src/deck-components/static-classes.ts b/src/deck-components/static-classes.ts index 7cc080b..0940df3 100644 --- a/src/deck-components/static-classes.ts +++ b/src/deck-components/static-classes.ts @@ -63,6 +63,100 @@ type StaticClasses = Record< string >; +type GamepadDialogClasses = Record< + | 'duration-app-launch' + | 'GamepadDialogContent' + | 'GamepadDialogContent_InnerWidth' + | 'Field' + | 'Button' + | 'NoMinWidth' + | 'ActiveAndUnfocused' + | 'StandaloneFieldSeparator' + | 'StandardPadding' + | 'CompactPadding' + | 'WithDescription' + | 'WithBottomSeparatorStandard' + | 'WithBottomSeparatorThick' + | 'HighlightOnFocus' + | 'ItemFocusAnim-darkerGrey' + | 'ItemFocusAnim-darkGrey' + | 'WithBottomSeparator' + | 'Disabled' + | 'Clickable' + | 'FieldClickTarget' + | 'FieldChildren' + | 'FieldLeadIcon' + | 'FieldLabelRow' + | 'VerticalAlignCenter' + | 'InlineWrapShiftsChildrenBelow' + | 'ExtraPaddingOnChildrenBelow' + | 'ChildrenWidthFixed' + | 'ChildrenWidthGrow' + | 'WithFirstRow' + | 'WithChildrenBelow' + | 'FieldLabel' + | 'FieldLabelValue' + | 'FieldDescription' + | 'ModalPosition' + | 'WithStandardPadding' + | 'slideInAnimation' + | 'BasicTextInput' + | 'Toggle' + | 'ToggleRail' + | 'On' + | 'ToggleSwitch' + | 'LabelFieldValue' + | 'DropDownControlButtonContents' + | 'Spacer' + | 'ControlsListOuterPanel' + | 'StandardSpacing' + | 'ExtraSpacing' + | 'AlignRight' + | 'AlignLeft' + | 'AlignCenter' + | 'ControlsListChild' + | 'QuickAccess-Menu' + | 'BigButtons' + | 'BottomButtons' + | 'ItemFocusAnim-darkerGrey-nocolor' + | 'ItemFocusAnim-grey' + | 'ItemFocusAnimBorder-darkGrey' + | 'ItemFocusAnim-green' + | 'focusAnimation' + | 'hoverAnimation', + string +>; + +type QuickAccessControlsClasses = Record< + | 'duration-app-launch' + | 'PanelSection' + | 'PanelSectionTitle' + | 'Text' + | 'PanelSectionRow' + | 'Label' + | 'ComingSoon' + | 'LowBattery' + | 'ReallyLow' + | 'LowBatteryGauge' + | 'Remaining' + | 'EmptyNotifications' + | 'BatterySectionContainer' + | 'BatteryIcon' + | 'BatteryPercentageLabel' + | 'BatteryDetailsLabels' + | 'BatteryProjectedValue' + | 'BatteryProjectedLabel' + | 'ItemFocusAnim-darkerGrey-nocolor' + | 'ItemFocusAnim-darkerGrey' + | 'ItemFocusAnim-darkGrey' + | 'ItemFocusAnim-grey' + | 'ItemFocusAnimBorder-darkGrey' + | 'ItemFocusAnim-green' + | 'focusAnimation' + | 'hoverAnimation', + string +>; + export const staticClasses: StaticClasses = findModuleChild((mod) => { if (typeof mod !== 'object') return false; @@ -70,3 +164,19 @@ export const staticClasses: StaticClasses = findModuleChild((mod) => { return mod; } }); + +export const gamepadDialogClasses: GamepadDialogClasses = findModuleChild((mod) => { + if (typeof mod !== 'object') return false; + + if (mod.WithFirstRow) { + return mod; + } +}); + +export const quickAccessControlsClasses: QuickAccessControlsClasses = findModuleChild((mod) => { + if (typeof mod !== 'object') return false; + + if (mod.PanelSectionRow) { + return mod; + } +});