From 17c2625f2c7a9b65fda18be83e59f5f0425d4b3d Mon Sep 17 00:00:00 2001 From: Harry Whorlow Date: Mon, 16 Mar 2026 09:19:22 +0100 Subject: [PATCH 1/2] fix(a11y): extract theme and fix pnpm overides --- .changeset/fuzzy-mice-hunt.md | 5 +++++ examples/react/a11y-devtools/package.json | 2 +- package.json | 1 + .../src/core/components/index.tsx | 18 +++++++++++++----- pnpm-lock.yaml | 2 +- 5 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 .changeset/fuzzy-mice-hunt.md diff --git a/.changeset/fuzzy-mice-hunt.md b/.changeset/fuzzy-mice-hunt.md new file mode 100644 index 00000000..a65b18e2 --- /dev/null +++ b/.changeset/fuzzy-mice-hunt.md @@ -0,0 +1,5 @@ +--- +'@tanstack/devtools-a11y': patch +--- + +Extract theme provider and fix pnpm overides diff --git a/examples/react/a11y-devtools/package.json b/examples/react/a11y-devtools/package.json index 61cb871f..00f32812 100644 --- a/examples/react/a11y-devtools/package.json +++ b/examples/react/a11y-devtools/package.json @@ -9,7 +9,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/devtools-a11y": "workspace:*", + "@tanstack/devtools-a11y": "^0.1.1", "@tanstack/react-devtools": "^0.10.0", "react": "^19.2.0", "react-dom": "^19.2.0" diff --git a/package.json b/package.json index 12c73e9d..1c064e45 100644 --- a/package.json +++ b/package.json @@ -84,6 +84,7 @@ }, "overrides": { "@tanstack/devtools": "workspace:*", + "@tanstack/devtools-a11y": "workspace:*", "@tanstack/react-devtools": "workspace:*", "@tanstack/preact-devtools": "workspace:*", "@tanstack/solid-devtools": "workspace:*", diff --git a/packages/devtools-a11y/src/core/components/index.tsx b/packages/devtools-a11y/src/core/components/index.tsx index 715f0dc7..f3fda357 100644 --- a/packages/devtools-a11y/src/core/components/index.tsx +++ b/packages/devtools-a11y/src/core/components/index.tsx @@ -1,12 +1,20 @@ /** @jsxImportSource solid-js */ - +import { ThemeContextProvider } from '@tanstack/devtools-ui' import { AllyProvider } from '../contexts/allyContext' import { Shell } from './Shell' -export default function Devtools() { +import type { TanStackDevtoolsTheme } from '@tanstack/devtools-ui' + +interface DevtoolsProps { + theme: TanStackDevtoolsTheme +} + +export default function Devtools(props: DevtoolsProps) { return ( - - - + + + + + ) } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c071a589..10010ae7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -148,7 +148,7 @@ importers: examples/react/a11y-devtools: dependencies: '@tanstack/devtools-a11y': - specifier: workspace:* + specifier: ^0.1.1 version: link:../../../packages/devtools-a11y '@tanstack/react-devtools': specifier: ^0.10.0 From 4fb96fd96dcc40a42289ecd3407efd1d770041cb Mon Sep 17 00:00:00 2001 From: Harry Whorlow Date: Mon, 16 Mar 2026 09:31:02 +0100 Subject: [PATCH 2/2] fix: spelling --- .changeset/fuzzy-mice-hunt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/fuzzy-mice-hunt.md b/.changeset/fuzzy-mice-hunt.md index a65b18e2..32cd1152 100644 --- a/.changeset/fuzzy-mice-hunt.md +++ b/.changeset/fuzzy-mice-hunt.md @@ -2,4 +2,4 @@ '@tanstack/devtools-a11y': patch --- -Extract theme provider and fix pnpm overides +Extract theme provider and fix pnpm overrides