File tree Expand file tree Collapse file tree 6 files changed +170
-125
lines changed
Expand file tree Collapse file tree 6 files changed +170
-125
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @tanstack/react-form-devtools ' : patch
3+ ' @tanstack/solid-form-devtools ' : patch
4+ ' @tanstack/form-devtools ' : patch
5+ ---
6+
7+ Extract devtools theme to form devtools
Original file line number Diff line number Diff line change 7272 " src"
7373 ],
7474 "dependencies" : {
75- "@tanstack/devtools-ui" : " ^0.5.0 " ,
76- "@tanstack/devtools-utils" : " ^0.3.2 " ,
75+ "@tanstack/devtools-ui" : " ^0.5.1 " ,
76+ "@tanstack/devtools-utils" : " ^0.4.0 " ,
7777 "@tanstack/form-core" : " workspace:*" ,
7878 "clsx" : " ^2.1.1" ,
7979 "dayjs" : " ^1.11.18" ,
Original file line number Diff line number Diff line change 1+ import { ThemeContextProvider } from '@tanstack/devtools-ui'
2+
13import { FormEventClientProvider } from '../contexts/eventClientContext'
24import { Shell } from './Shell'
35
4- export default function Devtools ( ) {
6+ import type { TanStackDevtoolsTheme } from '@tanstack/devtools-ui'
7+
8+ interface DevtoolsProps {
9+ theme : TanStackDevtoolsTheme
10+ }
11+
12+ export default function Devtools ( props : DevtoolsProps ) {
513 return (
6- < FormEventClientProvider >
7- < Shell />
8- </ FormEventClientProvider >
14+ < ThemeContextProvider theme = { props . theme } >
15+ < FormEventClientProvider >
16+ < Shell />
17+ </ FormEventClientProvider >
18+ </ ThemeContextProvider >
919 )
1020}
Original file line number Diff line number Diff line change 5252 " src"
5353 ],
5454 "dependencies" : {
55- "@tanstack/devtools-utils" : " ^0.3.2 " ,
55+ "@tanstack/devtools-utils" : " ^0.4.0 " ,
5656 "@tanstack/form-devtools" : " workspace:*"
5757 },
5858 "devDependencies" : {
Original file line number Diff line number Diff line change 5454 "solid-js" : " >=1.9.7"
5555 },
5656 "dependencies" : {
57- "@tanstack/devtools-utils" : " ^0.3.2 " ,
57+ "@tanstack/devtools-utils" : " ^0.4.0 " ,
5858 "@tanstack/form-devtools" : " workspace:*"
5959 },
6060 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments