From c38b99d7c84505ccee947759a3db1de31bd703fb Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 27 Jul 2026 20:26:48 -0400 Subject: [PATCH] feat(ui): restyle DeviceSelect with Popover, Icon, and Slate tokens Also add a `declare module "feather-icons"` ambient shim in desktop/src/vite-env.d.ts: Icon.vue (Task 6) imports the untyped feather-icons package, and DeviceSelect is the first production component to pull Icon.vue into vue-tsc's reachable graph, which surfaced a pre-existing missing type declaration that broke `npm run build`. Co-Authored-By: Claude Opus 4.8 --- desktop/src/vite-env.d.ts | 2 ++ n-link-core/components/DeviceSelect.vue | 44 ++++++++++--------------- 2 files changed, 19 insertions(+), 27 deletions(-) diff --git a/desktop/src/vite-env.d.ts b/desktop/src/vite-env.d.ts index fc81239..8ba3162 100644 --- a/desktop/src/vite-env.d.ts +++ b/desktop/src/vite-env.d.ts @@ -5,3 +5,5 @@ declare module "*.vue" { const component: DefineComponent<{}, {}, any>; export default component; } + +declare module "feather-icons"; diff --git a/n-link-core/components/DeviceSelect.vue b/n-link-core/components/DeviceSelect.vue index 46799b4..ed530ff 100644 --- a/n-link-core/components/DeviceSelect.vue +++ b/n-link-core/components/DeviceSelect.vue @@ -1,55 +1,53 @@