diff --git a/package.json b/package.json index 570eae3..0b7d8c2 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "typescript": "^4.7.4" }, "dependencies": { - "decky-frontend-lib": "^3.21.1", + "decky-frontend-lib": "^3.24.5", "react-icons": "^4.4.0" }, "pnpm": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ba88465..e37b140 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,9 +1,13 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + dependencies: decky-frontend-lib: - specifier: ^3.21.1 - version: 3.21.1 + specifier: ^3.24.5 + version: 3.24.5 react-icons: specifier: ^4.4.0 version: 4.9.0 @@ -430,8 +434,8 @@ packages: resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} dev: true - /decky-frontend-lib@3.21.1: - resolution: {integrity: sha512-30605ET9qqZ6St6I9WmMmLGgSrTIdMwo7xy85+lRaF1miUd2icOGEJjwnbVcZDdkal+1fJ3tNEDXlchVfG4TrA==} + /decky-frontend-lib@3.24.5: + resolution: {integrity: sha512-eYlbKDOOcIBPI0b76Rqvlryq2ym/QNiry4xf2pFrXmBa1f95dflqbQAb2gTq9uHEa5gFmeV4lUcMPGJ3M14Xqw==} dev: false /deepmerge@4.3.1: @@ -514,8 +518,8 @@ packages: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true - /fsevents@2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + /fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] requiresBuild: true @@ -739,7 +743,7 @@ packages: engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: 2.3.2 + fsevents: 2.3.3 dev: true /safe-buffer@5.2.1: @@ -936,7 +940,3 @@ packages: /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: true - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false diff --git a/src/index.tsx b/src/index.tsx index a1f4bc5..b43e86a 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -4,9 +4,9 @@ import { DialogButton, Menu, MenuItem, + Navigation, PanelSection, PanelSectionRow, - Router, ServerAPI, showContextMenu, staticClasses, @@ -67,8 +67,8 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({serverAPI}) => { { - Router.CloseSideMenus(); - Router.Navigate("/decky-plugin-test"); + Navigation.CloseSideMenus(); + Navigation.Navigate("/decky-plugin-test"); }} > Router @@ -82,7 +82,7 @@ const DeckyPluginRouterTest: VFC = () => { return (
Hello World! - Router.NavigateToLibraryTab()}> + Navigation.NavigateToLibraryTab()}> Go to Library