-
-
Notifications
You must be signed in to change notification settings - Fork 34
feat(devtools):Extract devtools theme #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@tanstack/hotkeys-devtools': patch | ||
| --- | ||
|
|
||
| Moves devtools theme to the component to avoid theme miss-match. | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| import { ThemeContextProvider } from '@tanstack/devtools-ui' | ||
| import { HotkeysContextProvider } from '../HotkeysContextProvider' | ||
| import { Shell } from './Shell' | ||
|
|
||
| import type { TanStackDevtoolsTheme } from '@tanstack/devtools-ui' | ||
|
|
||
| interface DevtoolsProps { | ||
| theme: TanStackDevtoolsTheme | ||
| } | ||
|
|
||
| export default function HotkeysDevtools(props: DevtoolsProps) { | ||
| return ( | ||
| <ThemeContextProvider theme={props.theme}> | ||
| <HotkeysContextProvider> | ||
| <Shell /> | ||
| </HotkeysContextProvider> | ||
| </ThemeContextProvider> | ||
| ) | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,7 +54,7 @@ | |
| "react-dom": ">=16.8" | ||
| }, | ||
| "dependencies": { | ||
| "@tanstack/devtools-utils": "^0.3.2", | ||
| "@tanstack/devtools-utils": "^0.4.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: There isn’t an If you meant a different package (e.g. Sources: [1] https://socket.dev/npm/package/%40tanstack/devtools-utils 🏁 Script executed: cat -n packages/react-hotkeys-devtools/package.json | sed -n '50,65p'Repository: TanStack/hotkeys Length of output: 661 Remove or update The specified version 🤖 Prompt for AI Agents |
||
| "@tanstack/hotkeys-devtools": "workspace:*" | ||
| }, | ||
| "devDependencies": { | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor typo: "miss-match" should be "mismatch".
📝 Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents