@decky/ui 4.16.4 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +4 -1
  2. package/dist/class-mapper.d.ts +1 -1
  3. package/dist/class-mapper.js +3 -3
  4. package/dist/common-modules.d.ts +3 -0
  5. package/dist/common-modules.js +12 -0
  6. package/dist/components/ButtonItem.js +3 -3
  7. package/dist/components/Carousel.js +2 -2
  8. package/dist/components/ControlsList.js +2 -2
  9. package/dist/components/Dialog.js +10 -9
  10. package/dist/components/DialogCheckbox.js +2 -3
  11. package/dist/components/Dropdown.js +1 -1
  12. package/dist/components/ErrorBoundary.js +1 -1
  13. package/dist/components/Field.js +2 -2
  14. package/dist/components/FocusRing.js +1 -1
  15. package/dist/components/Focusable.js +1 -1
  16. package/dist/components/Marquee.js +2 -2
  17. package/dist/components/Menu.js +7 -5
  18. package/dist/components/Modal.js +9 -4
  19. package/dist/components/Panel.d.ts +2 -4
  20. package/dist/components/Panel.js +5 -4
  21. package/dist/components/ProgressBar.d.ts +3 -3
  22. package/dist/components/ProgressBar.js +4 -4
  23. package/dist/components/Scroll.js +3 -3
  24. package/dist/components/SidebarNavigation.js +2 -2
  25. package/dist/components/SliderField.js +2 -2
  26. package/dist/components/Spinner.js +2 -2
  27. package/dist/components/SteamSpinner.js +2 -2
  28. package/dist/components/Tabs.d.ts +2 -2
  29. package/dist/components/Tabs.js +4 -3
  30. package/dist/components/TextField.js +1 -1
  31. package/dist/components/Toggle.js +1 -1
  32. package/dist/components/ToggleField.js +2 -2
  33. package/dist/components/Wrappers.d.ts +2 -0
  34. package/dist/components/Wrappers.js +3 -0
  35. package/dist/components/index.d.ts +1 -0
  36. package/dist/components/index.js +1 -0
  37. package/dist/custom-components/ColorPickerModal.js +5 -6
  38. package/dist/deck-hooks/useParams.js +1 -1
  39. package/dist/globals/stores/appstore.d.ts +1 -1
  40. package/dist/index.d.ts +3 -1
  41. package/dist/index.js +3 -1
  42. package/dist/{webpack.d.ts → module-system.d.ts} +12 -3
  43. package/dist/module-system.js +244 -0
  44. package/dist/modules/Router.js +1 -1
  45. package/dist/tsconfig.tsbuildinfo +1 -1
  46. package/dist/utils/classData/index.d.ts +811 -0
  47. package/dist/utils/classData/index.js +1645 -0
  48. package/dist/utils/react/react.js +1 -1
  49. package/dist/utils/react/treepatcher.js +1 -1
  50. package/dist/utils/static-classes.d.ts +1 -46
  51. package/dist/utils/static-classes.js +1 -24
  52. package/package.json +1 -1
  53. package/src/class-mapper.ts +3 -3
  54. package/src/common-modules.ts +15 -0
  55. package/src/components/ButtonItem.ts +3 -3
  56. package/src/components/Carousel.ts +2 -2
  57. package/src/components/ControlsList.ts +2 -2
  58. package/src/components/Dialog.ts +12 -14
  59. package/src/components/DialogCheckbox.ts +2 -5
  60. package/src/components/Dropdown.tsx +1 -1
  61. package/src/components/ErrorBoundary.ts +1 -1
  62. package/src/components/Field.ts +2 -2
  63. package/src/components/FocusRing.ts +1 -1
  64. package/src/components/Focusable.ts +1 -1
  65. package/src/components/Marquee.ts +3 -3
  66. package/src/components/Menu.ts +20 -6
  67. package/src/components/Modal.ts +23 -7
  68. package/src/components/Panel.ts +12 -10
  69. package/src/components/ProgressBar.ts +12 -15
  70. package/src/components/Scroll.ts +3 -3
  71. package/src/components/SidebarNavigation.ts +3 -3
  72. package/src/components/SliderField.ts +2 -3
  73. package/src/components/Spinner.ts +2 -2
  74. package/src/components/SteamSpinner.ts +3 -3
  75. package/src/components/Tabs.ts +4 -3
  76. package/src/components/TextField.ts +2 -1
  77. package/src/components/Toggle.ts +1 -1
  78. package/src/components/ToggleField.ts +2 -3
  79. package/src/components/Wrappers.ts +12 -0
  80. package/src/components/index.ts +1 -0
  81. package/src/custom-components/ColorPickerModal.tsx +5 -6
  82. package/src/deck-hooks/useParams.ts +1 -1
  83. package/src/globals/stores/appstore.ts +1 -1
  84. package/src/index.ts +3 -1
  85. package/src/module-system.ts +309 -0
  86. package/src/modules/Router.ts +1 -1
  87. package/src/utils/classData/index.ts +1680 -0
  88. package/src/utils/react/react.ts +1 -1
  89. package/src/utils/react/treepatcher.ts +1 -1
  90. package/src/utils/static-classes.ts +1 -984
  91. package/dist/webpack.js +0 -121
  92. package/src/webpack.ts +0 -160
@@ -1,421 +1,4 @@
1
1
  import { findClassModule } from '../class-mapper';
2
- // TODO document how to generate these?
3
- type QuickAccessMenuClasses = Record<
4
- | 'ActiveTab'
5
- | 'AllTabContents'
6
- | 'BackgroundAnimation'
7
- | 'BatteryDetailsLabels'
8
- | 'BatteryIcon'
9
- | 'BatteryPercentageLabel'
10
- | 'BatteryProjectedLabel'
11
- | 'BatteryProjectedValue'
12
- | 'BatterySectionContainer'
13
- | 'Blocked'
14
- | 'ComingSoon'
15
- | 'Container'
16
- | 'ContentTransition'
17
- | 'Down'
18
- | 'EmptyNotifications'
19
- | 'Enter'
20
- | 'EnterActive'
21
- | 'Exit'
22
- | 'ExitActive'
23
- | 'FooterBoxShadow'
24
- | 'FriendsListTabPanel'
25
- | 'FriendsTitle'
26
- | 'FullHeight'
27
- | 'HeaderAndFooterVisible'
28
- | 'HeaderContainer'
29
- | 'ItemFocusAnim-darkGrey'
30
- | 'ItemFocusAnim-darkerGrey'
31
- | 'ItemFocusAnim-darkerGrey-nocolor'
32
- | 'ItemFocusAnim-green'
33
- | 'ItemFocusAnim-grey'
34
- | 'ItemFocusAnim-translucent-white-10'
35
- | 'ItemFocusAnim-translucent-white-20'
36
- | 'ItemFocusAnimBorder-darkGrey'
37
- | 'KeyboardButton'
38
- | 'Label'
39
- | 'LowBattery'
40
- | 'LowBatteryGauge'
41
- | 'Menu'
42
- | 'Open'
43
- | 'PanelExitAnchor'
44
- | 'PanelOuterNav'
45
- | 'PanelSection'
46
- | 'PanelSectionRow'
47
- | 'PanelSectionTitle'
48
- | 'PopupBody'
49
- | 'QuickAccessMenu'
50
- | 'QuickAccessNotifications'
51
- | 'ReallyLow'
52
- | 'Remaining'
53
- | 'Selected'
54
- | 'Tab'
55
- | 'TabContentColumn'
56
- | 'TabGroupPanel'
57
- | 'TabPanelHidden'
58
- | 'Tabs'
59
- | 'TabsWithFooter'
60
- | 'Text'
61
- | 'Title'
62
- | 'TransitionMenuDelay'
63
- | 'Up'
64
- | 'VR'
65
- | 'ViewPlaceholder'
66
- | 'VoiceTab'
67
- | 'duration-app-launch'
68
- | 'focusAnimation'
69
- | 'hoverAnimation'
70
- | 'vrgamepadui-floating-bar-popup-panel-height'
71
- | 'vrgamepadui-floating-bar-popup-panel-width'
72
- | 'vrgamepadui-floating-keyboard-height'
73
- | 'vrgamepadui-floating-keyboard-width'
74
- | 'vrgamepadui-floating-side-panel-height'
75
- | 'vrgamepadui-floating-side-panel-width',
76
- string
77
- >;
78
-
79
- type ScrollPanelClasses = Record<'ScrollBoth' | 'ScrollPanel' | 'ScrollX' | 'ScrollY', string>;
80
-
81
- type GamepadDialogClasses = Record<
82
- | 'ActiveAndUnfocused'
83
- | 'AlignCenter'
84
- | 'AlignLeft'
85
- | 'AlignRight'
86
- | 'BackgroundAnimation'
87
- | 'BasicTextInput'
88
- | 'BeforeChildren'
89
- | 'BottomButtons'
90
- | 'Button'
91
- | 'ChildrenWidthFixed'
92
- | 'ChildrenWidthGrow'
93
- | 'Clickable'
94
- | 'CompactPadding'
95
- | 'ControlsListChild'
96
- | 'ControlsListOuterPanel'
97
- | 'Disabled'
98
- | 'DropDownControlButtonContents'
99
- | 'DropDownRow'
100
- | 'ExtraPaddingOnChildrenBelow'
101
- | 'ExtraSpacing'
102
- | 'Field'
103
- | 'FieldChildrenInner'
104
- | 'FieldChildrenWithIcon'
105
- | 'FieldClickTarget'
106
- | 'FieldDescription'
107
- | 'FieldIcon'
108
- | 'FieldLabel'
109
- | 'FieldLabelRow'
110
- | 'FieldLabelValue'
111
- | 'FieldLeftColumn'
112
- | 'Front'
113
- | 'FullWidth'
114
- | 'GamepadDialogContent'
115
- | 'GamepadDialogContent_InnerWidth'
116
- | 'HighlightOnFocus'
117
- | 'IconContainer'
118
- | 'InlineWrapShiftsChildrenBelow'
119
- | 'ItemFocusAnim-darkGrey'
120
- | 'ItemFocusAnim-darkerGrey'
121
- | 'ItemFocusAnim-darkerGrey-nocolor'
122
- | 'ItemFocusAnim-green'
123
- | 'ItemFocusAnim-grey'
124
- | 'ItemFocusAnim-translucent-white-10'
125
- | 'ItemFocusAnim-translucent-white-20'
126
- | 'ItemFocusAnimBorder-darkGrey'
127
- | 'ItemMaxSizeDesktop'
128
- | 'Label'
129
- | 'LabelFieldValue'
130
- | 'ModalClickToDismiss'
131
- | 'ModalPosition'
132
- | 'NoHeaderPadding'
133
- | 'NoMinWidth'
134
- | 'On'
135
- | 'QuickAccess-Menu'
136
- | 'ScrollWithin'
137
- | 'Spacer'
138
- | 'StandaloneFieldSeparator'
139
- | 'StandardPadding'
140
- | 'StandardSpacing'
141
- | 'Toggle'
142
- | 'ToggleRail'
143
- | 'ToggleSwitch'
144
- | 'VR'
145
- | 'VerticalAlignCenter'
146
- | 'WithBottomSeparator'
147
- | 'WithBottomSeparatorStandard'
148
- | 'WithBottomSeparatorThick'
149
- | 'WithChildrenBelow'
150
- | 'WithDescription'
151
- | 'WithFirstRow'
152
- | 'WithStandardPadding'
153
- | 'duration-app-launch'
154
- | 'focusAnimation'
155
- | 'hoverAnimation'
156
- | 'slideInAnimation',
157
- string
158
- >;
159
-
160
- type QuickAccessControlsClasses = Record<
161
- | 'BackgroundAnimation'
162
- | 'BatteryDetailsLabels'
163
- | 'BatteryIcon'
164
- | 'BatteryPercentageLabel'
165
- | 'BatteryProjectedLabel'
166
- | 'BatteryProjectedValue'
167
- | 'BatterySectionContainer'
168
- | 'ComingSoon'
169
- | 'EmptyNotifications'
170
- | 'ItemFocusAnim-darkGrey'
171
- | 'ItemFocusAnim-darkerGrey'
172
- | 'ItemFocusAnim-darkerGrey-nocolor'
173
- | 'ItemFocusAnim-green'
174
- | 'ItemFocusAnim-grey'
175
- | 'ItemFocusAnim-translucent-white-10'
176
- | 'ItemFocusAnim-translucent-white-20'
177
- | 'ItemFocusAnimBorder-darkGrey'
178
- | 'Label'
179
- | 'LowBattery'
180
- | 'LowBatteryGauge'
181
- | 'PanelSection'
182
- | 'PanelSectionRow'
183
- | 'PanelSectionTitle'
184
- | 'QuickAccessNotifications'
185
- | 'ReallyLow'
186
- | 'Remaining'
187
- | 'Text'
188
- | 'VR'
189
- | 'duration-app-launch'
190
- | 'focusAnimation'
191
- | 'hoverAnimation',
192
- string
193
- >;
194
-
195
- type UpdaterFieldClasses = Record<
196
- | 'ApplyingText'
197
- | 'BackgroundAnimation'
198
- | 'BatteryLowWarning'
199
- | 'Body'
200
- | 'CurrentStatus'
201
- | 'Denominator'
202
- | 'EventDetailTitle'
203
- | 'EventDetailsBody'
204
- | 'EventDetailsSubTitle'
205
- | 'InsufficientBatteryText'
206
- | 'ItemFocusAnim-darkGrey'
207
- | 'ItemFocusAnim-darkerGrey'
208
- | 'ItemFocusAnim-darkerGrey-nocolor'
209
- | 'ItemFocusAnim-green'
210
- | 'ItemFocusAnim-grey'
211
- | 'ItemFocusAnim-translucent-white-10'
212
- | 'ItemFocusAnim-translucent-white-20'
213
- | 'ItemFocusAnimBorder-darkGrey'
214
- | 'Label'
215
- | 'Numerator'
216
- | 'OOBEUpdateStatusContainer'
217
- | 'PatchNotes'
218
- | 'PostedTime'
219
- | 'ProgressInfoContainer'
220
- | 'ProgressStatus'
221
- | 'Separator'
222
- | 'Text'
223
- | 'TextContainer'
224
- | 'TimeRemaining'
225
- | 'Title'
226
- | 'TotalUpdateSize'
227
- | 'UnsupportedHardwareWarning'
228
- | 'UpdateBytesRemaining'
229
- | 'UpdatePanel'
230
- | 'UpdateScreen'
231
- | 'UpdateStatusContainer'
232
- | 'UpdaterFieldStatusApplying'
233
- | 'UpdaterFieldStatusSuccess'
234
- | 'duration-app-launch'
235
- | 'fadeInAnimation'
236
- | 'focusAnimation'
237
- | 'hoverAnimation',
238
- string
239
- >;
240
-
241
- type PlaySectionClasses = Record<
242
- | 'AchievementCountLabel'
243
- | 'AchievementProgressRow'
244
- | 'AchievementSVG'
245
- | 'ActionSection'
246
- | 'AppButtonsContainer'
247
- | 'Arrow'
248
- | 'AvatarAndPersona'
249
- | 'BackgroundAnimation'
250
- | 'BreakNarrow'
251
- | 'BreakShort'
252
- | 'BreakTall'
253
- | 'BreakUltraWide'
254
- | 'BreakWide'
255
- | 'ButtonChild'
256
- | 'ButtonText'
257
- | 'ChooseButton'
258
- | 'ClaimButton'
259
- | 'ClaimButtonContainer'
260
- | 'ClickablePlayBarItem'
261
- | 'CloudIconSVG'
262
- | 'CloudStatusIcon'
263
- | 'CloudStatusLabel'
264
- | 'CloudStatusRow'
265
- | 'CloudStatusSyncFail'
266
- | 'CloudSyncProblem'
267
- | 'CloudSynching'
268
- | 'ComingSoon'
269
- | 'Container'
270
- | 'ControllerConfigButton'
271
- | 'ControllerSupportInfo'
272
- | 'ControllerSupportRow'
273
- | 'DetailsProgressBar'
274
- | 'DetailsProgressContainer'
275
- | 'DetailsSection'
276
- | 'DetailsSectionExtra'
277
- | 'DetailsSectionStatus'
278
- | 'Disabled'
279
- | 'DotDotDot'
280
- | 'DownloadPaused'
281
- | 'DownloadProgressBar'
282
- | 'Downloading'
283
- | 'FavoriteButton'
284
- | 'Favorited'
285
- | 'FeatureHidden'
286
- | 'GameInfoButton'
287
- | 'GameStat'
288
- | 'GameStatIcon'
289
- | 'GameStatIconForced'
290
- | 'GameStatRight'
291
- | 'GameStatsSection'
292
- | 'GamepadUIBreakNarrow'
293
- | 'GamepadUIBreakShort'
294
- | 'GamepadUIBreakWide'
295
- | 'Glassy'
296
- | 'HideWhenNarrow'
297
- | 'Icon'
298
- | 'Icons'
299
- | 'InPage'
300
- | 'InnerContainer'
301
- | 'InvalidPlatform'
302
- | 'ItemFocusAnim-darkGrey'
303
- | 'ItemFocusAnim-darkerGrey'
304
- | 'ItemFocusAnim-darkerGrey-nocolor'
305
- | 'ItemFocusAnim-green'
306
- | 'ItemFocusAnim-grey'
307
- | 'ItemFocusAnim-translucent-white-10'
308
- | 'ItemFocusAnim-translucent-white-20'
309
- | 'ItemFocusAnimBorder-darkGrey'
310
- | 'LastPlayed'
311
- | 'LastPlayedInfo'
312
- | 'LaunchOptionCallout'
313
- | 'LaunchOptionCalloutMessage'
314
- | 'LaunchOptionCalloutMessageContainer'
315
- | 'LongButton'
316
- | 'MenuActive'
317
- | 'MenuButton'
318
- | 'MenuButtonContainer'
319
- | 'MiniAchievements'
320
- | 'OfflineMode'
321
- | 'OnlyDownloadBar'
322
- | 'PermanentlyUnavailable'
323
- | 'PlayBar'
324
- | 'PlayBarCloudStatusContainer'
325
- | 'PlayBarDetailLabel'
326
- | 'PlayBarGameIcon'
327
- | 'PlayBarGameName'
328
- | 'PlayBarIconAndGame'
329
- | 'PlayBarLabel'
330
- | 'Playtime'
331
- | 'PlaytimeIcon'
332
- | 'PlaytimeIconForced'
333
- | 'PortraitBar'
334
- | 'PrivateAppActiveIndicator'
335
- | 'RecentlyUpdated'
336
- | 'RecentlyUpdatedIcon'
337
- | 'RecentlyUpdatedLink'
338
- | 'RecentlyUpdatedText'
339
- | 'RightBreakNarrow'
340
- | 'RightBreakUltraNarrow'
341
- | 'RightBreakUltraWide'
342
- | 'RightBreakWide'
343
- | 'RightControls'
344
- | 'Row'
345
- | 'SharedLibrary'
346
- | 'ShowStreaming'
347
- | 'StatusAndStats'
348
- | 'StatusNameContainer'
349
- | 'StickyHeader'
350
- | 'StickyHeaderShadow'
351
- | 'SuperimposedGridItems'
352
- | 'SyncAnim'
353
- | 'Visible'
354
- | 'duration-app-launch'
355
- | 'favorited'
356
- | 'focusAnimation'
357
- | 'hoverAnimation',
358
- string
359
- >;
360
-
361
- type GamepadSliderClasses = Record<
362
- | 'AlignToEnds'
363
- | 'AlignToLeft'
364
- | 'AlignToRight'
365
- | 'BackgroundAnimation'
366
- | 'CompoundSlider'
367
- | 'CompoundSliderSubSlider'
368
- | 'CompoundSliderSubSliderLabel'
369
- | 'CompoundSliderSubSliderLabelContainer'
370
- | 'CompoundSliderSubSliderLabelInternal'
371
- | 'CompoundSliderSubSliderLabelPositioner'
372
- | 'DefaultValueColorLeft'
373
- | 'DefaultValueColorRight'
374
- | 'DefaultValueIsColorRange'
375
- | 'DefaultValueTick'
376
- | 'DefaultValueTickContainer'
377
- | 'DescriptionValue'
378
- | 'Disabled'
379
- | 'EditableValue'
380
- | 'ErrorShake'
381
- | 'FakeEditableValue'
382
- | 'Icon'
383
- | 'ItemFocusAnim-darkGrey'
384
- | 'ItemFocusAnim-darkerGrey'
385
- | 'ItemFocusAnim-darkerGrey-nocolor'
386
- | 'ItemFocusAnim-green'
387
- | 'ItemFocusAnim-grey'
388
- | 'ItemFocusAnim-translucent-white-10'
389
- | 'ItemFocusAnim-translucent-white-20'
390
- | 'ItemFocusAnimBorder-darkGrey'
391
- | 'LabelText'
392
- | 'Left'
393
- | 'ParenSliderHandle'
394
- | 'ParenSliderHandleContainer'
395
- | 'RedBorder'
396
- | 'Right'
397
- | 'SliderControl'
398
- | 'SliderControlAndNotches'
399
- | 'SliderControlPanelGroup'
400
- | 'SliderHandle'
401
- | 'SliderHandleContainer'
402
- | 'SliderHandleFocusPop'
403
- | 'SliderHasNotches'
404
- | 'SliderNotch'
405
- | 'SliderNotchContainer'
406
- | 'SliderNotchLabel'
407
- | 'SliderNotchTick'
408
- | 'SliderTrack'
409
- | 'SliderTrackDark'
410
- | 'TickActive'
411
- | 'VerticalLineSliderHandle'
412
- | 'VerticalLineSliderHandleContainer'
413
- | 'WithDefaultValue'
414
- | 'duration-app-launch'
415
- | 'error-shake'
416
- | 'error-shake-duration',
417
- string
418
- >;
419
2
 
420
3
  type AppDetailsHeaderClasses = Record<
421
4
  | 'AddBoxSizer'
@@ -473,46 +56,6 @@ type AppDetailsHeaderClasses = Record<
473
56
  string
474
57
  >;
475
58
 
476
- type AppDetailsClasses = Record<
477
- | 'AppDetailsOverviewPanel'
478
- | 'BackgroundAnimation'
479
- | 'BreakNarrow'
480
- | 'BreakShort'
481
- | 'BreakTall'
482
- | 'BreakUltraWide'
483
- | 'BreakWide'
484
- | 'Container'
485
- | 'GamepadUIBreakNarrow'
486
- | 'GamepadUIBreakShort'
487
- | 'GamepadUIBreakWide'
488
- | 'Glassy'
489
- | 'Header'
490
- | 'HeaderLoaded'
491
- | 'InnerContainer'
492
- | 'ItemFocusAnim-darkGrey'
493
- | 'ItemFocusAnim-darkerGrey'
494
- | 'ItemFocusAnim-darkerGrey-nocolor'
495
- | 'ItemFocusAnim-green'
496
- | 'ItemFocusAnim-grey'
497
- | 'ItemFocusAnim-translucent-white-10'
498
- | 'ItemFocusAnim-translucent-white-20'
499
- | 'ItemFocusAnimBorder-darkGrey'
500
- | 'PlayBar'
501
- | 'PreventScrolling'
502
- | 'RightBreakNarrow'
503
- | 'RightBreakUltraNarrow'
504
- | 'RightBreakUltraWide'
505
- | 'RightBreakWide'
506
- | 'ScrollContainer'
507
- | 'ShowPlayBar'
508
- | 'Throbber'
509
- | 'duration-app-launch'
510
- | 'fadein'
511
- | 'focusAnimation'
512
- | 'hoverAnimation',
513
- string
514
- >;
515
-
516
59
  type GamepadUIClasses = Record<
517
60
  | 'BackgroundAnimation'
518
61
  | 'BasicHome'
@@ -650,535 +193,9 @@ type GamepadContextMenuClasses = Record<
650
193
  string
651
194
  >;
652
195
 
653
- type AchievementListClasses = Record<
654
- | 'AchievementContent'
655
- | 'AchievementDescription'
656
- | 'AchievementGlobalPercentage'
657
- | 'AchievementList'
658
- | 'AchievementListItemBase'
659
- | 'AchievementTitle'
660
- | 'AlignEnd'
661
- | 'Avatar'
662
- | 'AvatarContainer'
663
- | 'ComparisonAchieverColumn'
664
- | 'ComparisonAchieverInfo'
665
- | 'Container'
666
- | 'Content'
667
- | 'Description'
668
- | 'Footer'
669
- | 'FriendAchievementFooter'
670
- | 'GlobalAchievementListItem'
671
- | 'GlobalAchievementsListHeader'
672
- | 'GlobalPercentage'
673
- | 'HeaderText'
674
- | 'Hidden'
675
- | 'HiddenAchievementContent'
676
- | 'ImageContainer'
677
- | 'InBody'
678
- | 'Info'
679
- | 'ListTitle'
680
- | 'Percent'
681
- | 'ProgressBar'
682
- | 'ProgressContainer'
683
- | 'ProgressCount'
684
- | 'ProgressFill'
685
- | 'ProgressLabel'
686
- | 'Right'
687
- | 'SearchField'
688
- | 'Secondary'
689
- | 'SpoilerWarning'
690
- | 'Title'
691
- | 'Unachieved'
692
- | 'UnlockContainer'
693
- | 'UnlockDate'
694
- | 'UserUnlockDateTime'
695
- | 'VerticalContent'
696
- | 'duration-app-launch'
697
- | 'nAchievementGap'
698
- | 'nAchievementHeight'
699
- | 'nAchievementsListTitleHeight'
700
- | 'nGlobalAchievementHeight',
701
- string
702
- >;
703
-
704
- type AchievementPageClasses = Record<
705
- | 'AchievementContent'
706
- | 'AchievementDescription'
707
- | 'AchievementGlobalPercentage'
708
- | 'AchievementList'
709
- | 'AchievementListItemBase'
710
- | 'AchievementTabs'
711
- | 'AchievementTitle'
712
- | 'AlignEnd'
713
- | 'Avatar'
714
- | 'AvatarContainer'
715
- | 'Background'
716
- | 'Blur'
717
- | 'CompareButtonContainer'
718
- | 'ComparisonAchieverColumn'
719
- | 'ComparisonAchieverInfo'
720
- | 'Container'
721
- | 'Content'
722
- | 'Description'
723
- | 'DragHandle'
724
- | 'ErrorButtons'
725
- | 'ErrorContainer'
726
- | 'ErrorTitle'
727
- | 'Footer'
728
- | 'FriendAchievementFooter'
729
- | 'FriendAchievementsListHeader'
730
- | 'GlobalAchievementListItem'
731
- | 'GlobalAchievementsListHeader'
732
- | 'GlobalButton'
733
- | 'GlobalPercentage'
734
- | 'HeaderContainer'
735
- | 'HeaderImage'
736
- | 'HeaderText'
737
- | 'Hidden'
738
- | 'HiddenAchievementContent'
739
- | 'ImageContainer'
740
- | 'InBody'
741
- | 'Info'
742
- | 'Label'
743
- | 'List'
744
- | 'ListTitle'
745
- | 'LoadingContainer'
746
- | 'MyAchievementsHeader'
747
- | 'Nav'
748
- | 'NotOwnedMessage'
749
- | 'Page'
750
- | 'Percent'
751
- | 'PerfectGame'
752
- | 'PinnedView'
753
- | 'PinnedViewTabs'
754
- | 'ProgressBar'
755
- | 'ProgressContainer'
756
- | 'ProgressCount'
757
- | 'ProgressFill'
758
- | 'ProgressLabel'
759
- | 'Right'
760
- | 'SearchField'
761
- | 'Secondary'
762
- | 'SortableAchievementsList'
763
- | 'SortableUserAchievement'
764
- | 'SortableUserAchievementInner'
765
- | 'SpoilerWarning'
766
- | 'Text'
767
- | 'Throbber'
768
- | 'Title'
769
- | 'ToggleContainer'
770
- | 'Unachieved'
771
- | 'UnlockContainer'
772
- | 'UnlockDate'
773
- | 'UserContext'
774
- | 'UserUnlockDateTime'
775
- | 'VerticalContent'
776
- | 'duration-app-launch'
777
- | 'headerPadding'
778
- | 'nAchievementGap'
779
- | 'nAchievementHeight'
780
- | 'nAchievementsListTitleHeight'
781
- | 'nGlobalAchievementHeight',
782
- string
783
- >;
784
-
785
- type MainMenuAppRunningClasses = Record<
786
- | 'Active'
787
- | 'ActiveContent'
788
- | 'ActiveDot'
789
- | 'AppColumn'
790
- | 'AppColumnContent'
791
- | 'AppRunningControls'
792
- | 'BackgroundAnimation'
793
- | 'Collapsible'
794
- | 'Container'
795
- | 'ControllerColumnFocused'
796
- | 'CurrentGameBackground'
797
- | 'CurrentGameLogo'
798
- | 'Disabled'
799
- | 'FocusedColumn'
800
- | 'HideMask'
801
- | 'ItemFocusAnim-darkGrey'
802
- | 'ItemFocusAnim-darkerGrey'
803
- | 'ItemFocusAnim-darkerGrey-nocolor'
804
- | 'ItemFocusAnim-green'
805
- | 'ItemFocusAnim-grey'
806
- | 'ItemFocusAnim-translucent-white-10'
807
- | 'ItemFocusAnim-translucent-white-20'
808
- | 'ItemFocusAnimBorder-darkGrey'
809
- | 'KeyBoardVisible'
810
- | 'NavColumnFocused'
811
- | 'NavigationBox'
812
- | 'NavigationColumn'
813
- | 'NavigationMenuItem'
814
- | 'NavigationMenuItemSeparator'
815
- | 'OverlayAchievements'
816
- | 'OverlayGuides'
817
- | 'OverlayInplaceBrowser'
818
- | 'OverlayNotes'
819
- | 'ScrollMask'
820
- | 'SelectableAppWindow'
821
- | 'SwitchAppsTitle'
822
- | 'Visible'
823
- | 'duration-app-launch'
824
- | 'focusAnimation'
825
- | 'hoverAnimation',
826
- string
827
- >;
828
-
829
- type BasicAppDetailsSectionStylerClasses = Record<
830
- | 'ActionButtonAndStatusPanel'
831
- | 'ActionRow'
832
- | 'AppActionButton'
833
- | 'AppButtons'
834
- | 'AppDetailSectionList'
835
- | 'AppDetailsContainer'
836
- | 'AppDetailsContent'
837
- | 'AppDetailsRoot'
838
- | 'CollectionsHeader'
839
- | 'DeckVerifiedFeedbackButton'
840
- | 'DeckVerifiedFeedbackConfirmation'
841
- | 'DeckVerifiedFeedbackConfirmationContainer'
842
- | 'DeckVerifiedFeedbackContainer'
843
- | 'DeckVerifiedFeedbackQuestion'
844
- | 'GameInfoCollections'
845
- | 'GameInfoContainer'
846
- | 'GameInfoQuickLinks'
847
- | 'Header'
848
- | 'InvertFocusedIcon'
849
- | 'PlaySection'
850
- | 'duration-app-launch'
851
- | 'headerPadding',
852
- string
853
- >;
854
-
855
- type SteamSpinnerClasses = Record<
856
- | 'BackgroundAnimation'
857
- | 'Black'
858
- | 'Container'
859
- | 'ContainerBackground'
860
- | 'ExtraSpace'
861
- | 'ItemFocusAnim-darkGrey'
862
- | 'ItemFocusAnim-darkerGrey'
863
- | 'ItemFocusAnim-darkerGrey-nocolor'
864
- | 'ItemFocusAnim-green'
865
- | 'ItemFocusAnim-grey'
866
- | 'ItemFocusAnim-translucent-white-10'
867
- | 'ItemFocusAnim-translucent-white-20'
868
- | 'ItemFocusAnimBorder-darkGrey'
869
- | 'LoadingStatus'
870
- | 'Medium'
871
- | 'Small'
872
- | 'Spacer'
873
- | 'SpinnerLoaderContainer'
874
- | 'focusAnimation'
875
- | 'hoverAnimation',
876
- string
877
- >;
878
-
879
- type FooterClasses = Record<
880
- | 'BackgroundAnimation'
881
- | 'BasicFooter'
882
- | 'FooterLegend'
883
- | 'ItemFocusAnim-darkGrey'
884
- | 'ItemFocusAnim-darkerGrey'
885
- | 'ItemFocusAnim-darkerGrey-nocolor'
886
- | 'ItemFocusAnim-green'
887
- | 'ItemFocusAnim-grey'
888
- | 'ItemFocusAnim-translucent-white-10'
889
- | 'ItemFocusAnim-translucent-white-20'
890
- | 'ItemFocusAnimBorder-darkGrey'
891
- | 'Opaque'
892
- | 'PillShapedIcon'
893
- | 'QuickAccessFooter'
894
- | 'Relative'
895
- | 'Spacer'
896
- | 'WithKeyboard'
897
- | 'duration-app-launch'
898
- | 'focusAnimation'
899
- | 'hoverAnimation',
900
- string
901
- >;
902
-
903
- type AppActionButtonClasses = Record<
904
- | 'BackgroundAnimation'
905
- | 'BreakNarrow'
906
- | 'BreakShort'
907
- | 'BreakTall'
908
- | 'BreakUltraWide'
909
- | 'BreakWide'
910
- | 'ButtonChild'
911
- | 'ButtonText'
912
- | 'ButtonThrobberPadding'
913
- | 'Disabled'
914
- | 'ForceShutdownButton'
915
- | 'GamepadUIBreakNarrow'
916
- | 'GamepadUIBreakShort'
917
- | 'GamepadUIBreakWide'
918
- | 'Green'
919
- | 'ItemFocusAnim-darkGrey'
920
- | 'ItemFocusAnim-darkerGrey'
921
- | 'ItemFocusAnim-darkerGrey-nocolor'
922
- | 'ItemFocusAnim-green'
923
- | 'ItemFocusAnim-grey'
924
- | 'ItemFocusAnim-translucent-white-10'
925
- | 'ItemFocusAnim-translucent-white-20'
926
- | 'ItemFocusAnimBorder-darkGrey'
927
- | 'LongButton'
928
- | 'NoAction'
929
- | 'PlayButton'
930
- | 'PlayButtonContainer'
931
- | 'RightBreakNarrow'
932
- | 'RightBreakUltraNarrow'
933
- | 'RightBreakUltraWide'
934
- | 'RightBreakWide'
935
- | 'ShowStreaming'
936
- | 'ShowingStreaming'
937
- | 'ShutdownAppButton'
938
- | 'StreamingCallout'
939
- | 'StreamingCalloutMessage'
940
- | 'StreamingCalloutMessageContainer'
941
- | 'StreamingContextMenuItem'
942
- | 'StreamingSelector'
943
- | 'Throbber'
944
- | 'ThrobberContainer'
945
- | 'WaitingForForceShutdown'
946
- | 'WaitingForShutdownSpinner'
947
- | 'duration-app-launch'
948
- | 'focusAnimation'
949
- | 'hoverAnimation'
950
- | 'rotate',
951
- string
952
- >;
953
-
954
- type LibraryAssetImageClasses = Record<
955
- | 'Container'
956
- | 'GreyBackground'
957
- | 'Hidden'
958
- | 'Image'
959
- | 'LandscapeImage'
960
- | 'LongTitles'
961
- | 'NoTransitions'
962
- | 'PortraitImage'
963
- | 'Short'
964
- | 'Title'
965
- | 'Visibility'
966
- | 'Visible'
967
- | 'duration-app-launch',
968
- string
969
- >;
970
-
971
- type GamepadLibraryClasses = Record<
972
- | 'AppGridFilterHeader'
973
- | 'AppGridFilterHeaderAsButton'
974
- | 'AppGridFilterText'
975
- | 'BackgroundAnimation'
976
- | 'BreakNarrow'
977
- | 'BreakShort'
978
- | 'BreakTall'
979
- | 'BreakUltraWide'
980
- | 'BreakWide'
981
- | 'CollectionContents'
982
- | 'CollectionHeader'
983
- | 'ComingSoon'
984
- | 'GamepadLibrary'
985
- | 'GamepadUIBreakNarrow'
986
- | 'GamepadUIBreakShort'
987
- | 'GamepadUIBreakWide'
988
- | 'ItemFocusAnim-darkGrey'
989
- | 'ItemFocusAnim-darkerGrey'
990
- | 'ItemFocusAnim-darkerGrey-nocolor'
991
- | 'ItemFocusAnim-green'
992
- | 'ItemFocusAnim-grey'
993
- | 'ItemFocusAnim-translucent-white-10'
994
- | 'ItemFocusAnim-translucent-white-20'
995
- | 'ItemFocusAnimBorder-darkGrey'
996
- | 'RightBreakNarrow'
997
- | 'RightBreakUltraNarrow'
998
- | 'RightBreakUltraWide'
999
- | 'RightBreakWide'
1000
- | 'duration-app-launch'
1001
- | 'focusAnimation'
1002
- | 'hoverAnimation',
1003
- string
1004
- >;
1005
-
1006
- type FocusRingClasses = Record<
1007
- | 'DebugFocusRing'
1008
- | 'FocusRing'
1009
- | 'FocusRingOnHiddenItem'
1010
- | 'FocusRingRoot'
1011
- | 'blinker'
1012
- | 'fadeOutline'
1013
- | 'flash'
1014
- | 'growOutline',
1015
- string
1016
- >;
1017
-
1018
- type SearchBarClasses = Record<
1019
- | 'BackgroundAnimation'
1020
- | 'ForceExpanded'
1021
- | 'IconMovesOnHover'
1022
- | 'ItemFocusAnim-darkGrey'
1023
- | 'ItemFocusAnim-darkerGrey'
1024
- | 'ItemFocusAnim-darkerGrey-nocolor'
1025
- | 'ItemFocusAnim-green'
1026
- | 'ItemFocusAnim-grey'
1027
- | 'ItemFocusAnim-translucent-white-10'
1028
- | 'ItemFocusAnim-translucent-white-20'
1029
- | 'ItemFocusAnimBorder-darkGrey'
1030
- | 'SearchAndTitleContainer'
1031
- | 'SearchBox'
1032
- | 'SearchFieldBackground'
1033
- | 'SearchIconLeft'
1034
- | 'SearchIconRight'
1035
- | 'ShowingSearch'
1036
- | 'ShowingTitle'
1037
- | 'VR'
1038
- | 'Visible'
1039
- | 'WhiteBackground'
1040
- | 'duration-app-launch',
1041
- string
1042
- >;
1043
-
1044
- type MainBrowserClasses = Record<
1045
- | 'Browser'
1046
- | 'BrowserContainer'
1047
- | 'BrowserNavRoot'
1048
- | 'Disabled'
1049
- | 'ExternalBrowserContainer'
1050
- | 'InputSupportLevel'
1051
- | 'MainBrowser'
1052
- | 'MainBrowserContainer'
1053
- | 'MicroTxnContainer'
1054
- | 'NavigationButton'
1055
- | 'RequireTouchscreenLabel'
1056
- | 'StatusIcon'
1057
- | 'Toggled'
1058
- | 'URL'
1059
- | 'URLBar'
1060
- | 'URLInput'
1061
- | 'Visible'
1062
- | 'duration-app-launch'
1063
- | 'showSupportLevel',
1064
- string
1065
- >;
1066
-
1067
- type VRDashboardClasses = Record<
1068
- | 'duration-app-launch'
1069
- | 'vrgamepadui-floating-side-panel-width'
1070
- | 'vrgamepadui-floating-side-panel-height'
1071
- | 'vrgamepadui-floating-bar-popup-panel-width'
1072
- | 'vrgamepadui-floating-bar-popup-panel-height'
1073
- | 'vrgamepadui-floating-keyboard-width'
1074
- | 'vrgamepadui-floating-keyboard-height'
1075
- | 'vrgamepadui-dashboard-bar-side-button-click-animation-duration'
1076
- | 'PopupBody'
1077
- | 'DashboardBar'
1078
- | 'DynamicWidth'
1079
- | 'BarSurface'
1080
- | 'Bookend'
1081
- | 'BarSurfaceSection'
1082
- | 'SmallButtonSection'
1083
- | 'Tabs'
1084
- | 'Right'
1085
- | 'Tray'
1086
- | 'SmallBarButtons'
1087
- | 'EmptySpace'
1088
- | 'Item'
1089
- | 'Clickable'
1090
- | 'Highlight'
1091
- | 'Inner'
1092
- | 'BatteryIconHeaderItem'
1093
- | 'Active'
1094
- | 'AddWindowButton'
1095
- | 'AvatarButton'
1096
- | 'MenuVisible'
1097
- | 'FocusRingHint'
1098
- | 'Avatar'
1099
- | 'ClickAnimation'
1100
- | 'ClickPop'
1101
- | 'BarTabs'
1102
- | 'FadeLeft'
1103
- | 'FadeRight'
1104
- | 'BarTab'
1105
- | 'Selected'
1106
- | 'OldColors'
1107
- | 'Badge'
1108
- | 'Icon'
1109
- | 'OverlayIcon'
1110
- | 'AppIcon'
1111
- | 'SteamSVG'
1112
- | 'DashboardBarPopupContents'
1113
- | 'FullHeight'
1114
- | 'QuickAccessPopupContents'
1115
- | 'VolumePopup'
1116
- | 'ExitVRIcon'
1117
- | 'ExitVRText'
1118
- | 'QuickAccessPopupTitle'
1119
- | 'QuickAccessPopupPanel'
1120
- | 'BottomFade'
1121
- | 'ClickableSliderIcon'
1122
- | 'DashboardBarPopupList'
1123
- | 'DashboardBarPopupListHeader'
1124
- | 'DashboardBarPopupListScrollRegion'
1125
- | 'FadeTop'
1126
- | 'FadeBottom'
1127
- | 'DashboardBarPopupSectionStack'
1128
- | 'DashboardBarPopupListScrollPanel'
1129
- | 'DashboardBarPopupListItem'
1130
- | 'BarPopupStack'
1131
- | 'FullWidth'
1132
- | 'QuickAccessButton'
1133
- | 'HasAvatar'
1134
- | 'Time'
1135
- | 'Icons'
1136
- | 'StatusItem'
1137
- | 'Friends'
1138
- | 'flash'
1139
- | 'growOutline'
1140
- | 'fadeOutline'
1141
- | 'blinker',
1142
- string
1143
- >
1144
-
1145
- export const quickAccessMenuClasses = findClassModule((m) => m.Title && m.QuickAccessMenu) as QuickAccessMenuClasses;
1146
- export const scrollPanelClasses = findClassModule((m) => m.ScrollPanel) as ScrollPanelClasses;
1147
- export const gamepadDialogClasses = findClassModule((m) => m.GamepadDialogContent && !m.BindingButtons) as GamepadDialogClasses;
1148
- export const quickAccessControlsClasses = findClassModule((m) => m.BatteryPercentageLabel && m.PanelSection && !m['vr-dashboard-bar-height'] && !m.QuickAccessMenu && !m.QuickAccess && !m.PerfProfileInfo) as QuickAccessControlsClasses;
1149
- export const updaterFieldClasses = findClassModule((m) => m.OOBEUpdateStatusContainer) as UpdaterFieldClasses;
1150
- export const playSectionClasses = findClassModule((m) => m.PlayBarDetailLabel) as PlaySectionClasses;
1151
- export const gamepadSliderClasses = findClassModule((m) => m.SliderControlPanelGroup) as GamepadSliderClasses;
1152
196
  export const appDetailsHeaderClasses = findClassModule((m) => m.TopCapsule) as AppDetailsHeaderClasses;
1153
- export const appDetailsClasses = findClassModule((m) => m.HeaderLoaded) as AppDetailsClasses;
1154
197
  export const gamepadUIClasses = findClassModule((m) => m.BasicUiRoot) as GamepadUIClasses;
1155
198
  export const gamepadTabbedPageClasses = findClassModule((m) => m.GamepadTabbedPage) as GamepadTabbedPageClasses;
1156
199
  export const gamepadContextMenuClasses = findClassModule((m) => m.BasicContextMenuModal) as GamepadContextMenuClasses;
1157
- export const achievementListClasses = findClassModule((m) => m.AchievementListItemBase && !m.Page) as AchievementListClasses;
1158
- export const achievementPageClasses = findClassModule((m) => m.AchievementListItemBase && m.Page) as AchievementPageClasses;
1159
- export const mainMenuAppRunningClasses = findClassModule((m) => m.AppRunningControls && m.OverlayAchievements) as MainMenuAppRunningClasses;
1160
- export const basicAppDetailsSectionStylerClasses = findClassModule((m) => m.AppDetailsRoot) as BasicAppDetailsSectionStylerClasses;
1161
- export const steamSpinnerClasses = findClassModule(m => m.SpinnerLoaderContainer) as SteamSpinnerClasses;
1162
- export const footerClasses = findClassModule(m => m.QuickAccessFooter) as FooterClasses;
1163
- export const appActionButtonClasses = findClassModule(m => m.PlayButtonContainer) as AppActionButtonClasses;
1164
- export const libraryAssetImageClasses = findClassModule(m => m.LongTitles && m.GreyBackground) as LibraryAssetImageClasses;
1165
- export const gamepadLibraryClasses = findClassModule(m => m.GamepadLibrary) as GamepadLibraryClasses;
1166
- export const focusRingClasses = findClassModule(m => m.FocusRingRoot) as FocusRingClasses;
1167
- export const searchBarClasses = findClassModule(m => m.SearchAndTitleContainer) as SearchBarClasses;
1168
- export const mainBrowserClasses = findClassModule(m => m.MainBrowserContainer) as MainBrowserClasses;
1169
- export const vrDashboardClasses = findClassModule(m => m.DashboardBarPopupContents && m.DashboardBar) as VRDashboardClasses;
1170
-
1171
- /**
1172
- * @deprecated please use quickAccessMenuClasses instead
1173
- */
1174
- export const staticClasses = quickAccessMenuClasses;
1175
-
1176
- /**
1177
- * @deprecated please use scrollPanelClasses instead
1178
- */
1179
- export const scrollClasses = scrollPanelClasses;
1180
200
 
1181
- /**
1182
- * @deprecated please use achievementListClasses instead
1183
- */
1184
- export const achievementClasses = achievementListClasses;
201
+ export * from "./classData";