@tanstack/router-devtools
Advanced tools
Comparing version 1.40.0 to 1.41.0
@@ -6,3 +6,3 @@ import * as React from 'react'; | ||
}; | ||
export declare const Expander: ({ expanded, style }: ExpanderProps) => React.JSX.Element; | ||
export declare const Expander: ({ expanded, style }: ExpanderProps) => import("react/jsx-runtime").JSX.Element; | ||
type Entry = { | ||
@@ -9,0 +9,0 @@ label: string; |
@@ -1,3 +0,1 @@ | ||
import { default as React } from 'react'; | ||
export declare function TanStackLogo(): React.JSX.Element; | ||
export declare function TanStackLogo(): import("react/jsx-runtime").JSX.Element; |
@@ -21,3 +21,3 @@ import { default as React } from 'react'; | ||
} | ||
export declare function ThemeProvider({ theme, ...rest }: ProviderProps): React.JSX.Element; | ||
export declare function ThemeProvider({ theme, ...rest }: ProviderProps): import("react/jsx-runtime").JSX.Element; | ||
export declare function useTheme(): { | ||
@@ -24,0 +24,0 @@ readonly background: "#222222"; |
{ | ||
"name": "@tanstack/router-devtools", | ||
"version": "1.40.0", | ||
"version": "1.41.0", | ||
"description": "", | ||
@@ -62,7 +62,7 @@ "author": "Tanner Linsley", | ||
"peerDependencies": { | ||
"react": ">=16.8", | ||
"react-dom": ">=16.8", | ||
"@tanstack/react-router": "^1.40.0" | ||
"react": ">=18", | ||
"react-dom": ">=18", | ||
"@tanstack/react-router": "^1.41.0" | ||
}, | ||
"scripts": {} | ||
} |
@@ -7,3 +7,3 @@ import React from 'react' | ||
if (typeof window !== 'undefined') { | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
return window.matchMedia && window.matchMedia(query).matches | ||
@@ -17,3 +17,3 @@ } | ||
if (typeof window !== 'undefined') { | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
if (!window.matchMedia) { | ||
@@ -20,0 +20,0 @@ return |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
623312
9531