mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-21 18:38:47 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
245dd0f3cf | ||
|
|
7161e757e9 |
@@ -1,3 +1,10 @@
|
||||
## [3.5.2](https://github.com/SteamDeckHomebrew/decky-frontend-lib/compare/v3.5.1...v3.5.2) (2022-10-08)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **Tabs:** make onShowTab required ([7161e75](https://github.com/SteamDeckHomebrew/decky-frontend-lib/commit/7161e757e9c98d677510e03eb2606ce58152f3b1))
|
||||
|
||||
## [3.5.1](https://github.com/SteamDeckHomebrew/decky-frontend-lib/compare/v3.5.0...v3.5.1) (2022-10-08)
|
||||
|
||||
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "decky-frontend-lib",
|
||||
"version": "3.5.1",
|
||||
"version": "3.5.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "decky-frontend-lib",
|
||||
"version": "3.5.1",
|
||||
"version": "3.5.2",
|
||||
"license": "LGPL-2.1",
|
||||
"dependencies": {
|
||||
"minimist": "^1.2.6"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "decky-frontend-lib",
|
||||
"version": "3.5.1",
|
||||
"version": "3.5.2",
|
||||
"description": "A library for building decky plugins",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
@@ -24,14 +24,14 @@ export interface Tab {
|
||||
*
|
||||
* @property tabs array of {@link Tab}
|
||||
* @property activeTab tab to automatically focus, {@link Tab.id}
|
||||
* @property onShowTab Currently unknown.
|
||||
* @property onShowTab Currently unknown, but required.
|
||||
* @property autoFocusContents Whether to automatically focus the tab contents or not.
|
||||
* @property footer Sets up button handlers and labels
|
||||
*/
|
||||
export interface TabsProps {
|
||||
tabs: Tab[];
|
||||
activeTab?: string;
|
||||
onShowTab?: (...args: unknown[]) => void;
|
||||
onShowTab: (...args: unknown[]) => void;
|
||||
autoFocusContents?: boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user