From 4ef364ac3d21881d9137e1ebdfb0172add17ae18 Mon Sep 17 00:00:00 2001 From: Dami Oyeniyi Date: Wed, 29 Apr 2026 15:29:29 +0100 Subject: [PATCH 1/2] docs(devtools): add 'relative' to Vue/Solid 'buttonPosition' and fix Vue 'style' type (#10608) docs(devtools): align Vue and Solid option types --- docs/framework/solid/devtools.md | 2 +- docs/framework/vue/devtools.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/framework/solid/devtools.md b/docs/framework/solid/devtools.md index 97b465d6727..68f6fcf1160 100644 --- a/docs/framework/solid/devtools.md +++ b/docs/framework/solid/devtools.md @@ -70,7 +70,7 @@ function App() { - `initialIsOpen: boolean` - Set this `true` if you want the dev tools to default to being open -- `buttonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right"` +- `buttonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "relative"` - Defaults to `bottom-right` - The position of the Solid Query logo to open and close the devtools panel - `position?: "top" | "bottom" | "left" | "right"` diff --git a/docs/framework/vue/devtools.md b/docs/framework/vue/devtools.md index 091d9f280b5..add5f8bdbfd 100644 --- a/docs/framework/vue/devtools.md +++ b/docs/framework/vue/devtools.md @@ -65,7 +65,7 @@ import { VueQueryDevtools } from '@tanstack/vue-query-devtools' - `initialIsOpen: boolean` - Set this `true` if you want the dev tools to default to being open. -- `buttonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right"` +- `buttonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "relative"` - Defaults to `bottom-right`. - The position of the React Query logo to open and close the devtools panel. - `position?: "top" | "bottom" | "left" | "right"` @@ -105,7 +105,7 @@ function toggleDevtools() { ### Options -- `style?: React.CSSProperties` +- `style?: Partial` - Custom styles for the devtools panel - Default: `{ height: '500px' }` - Example: `{ height: '100%' }` From 0694696025ba86459eb03a563bed4a3ee219dc53 Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Wed, 29 Apr 2026 23:41:15 +0900 Subject: [PATCH 2/2] docs(preact-query/devtools): add missing 'relative' to 'buttonPosition' (#10611) --- docs/framework/preact/devtools.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/preact/devtools.md b/docs/framework/preact/devtools.md index 4ea851d0fa6..951c57cbaac 100644 --- a/docs/framework/preact/devtools.md +++ b/docs/framework/preact/devtools.md @@ -70,7 +70,7 @@ function App() { - `initialIsOpen: boolean` - Set this `true` if you want the dev tools to default to being open -- `buttonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right"` +- `buttonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "relative"` - Defaults to `bottom-right` - The position of the Preact Query logo to open and close the devtools panel - `position?: "top" | "bottom" | "left" | "right"`