@tanstack/router-devtools 1.51.2 → 1.51.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare const ShadowDomTargetContext: React.Context<ShadowRoot | undefined>;
4
3
  export declare const DevtoolsOnCloseContext: React.Context<{
5
4
  onCloseClick: (e: React.MouseEvent<HTMLButtonElement>) => void;
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { AnyRouter } from '@tanstack/react-router';
3
-
4
3
  interface DevtoolsOptions {
5
4
  /**
6
5
  * Set this true if you want the dev tools to default to being open
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare const defaultTheme: {
4
3
  readonly background: "#222222";
5
4
  readonly backgroundAlt: "#292929";
@@ -1,7 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { AnyRootRoute, AnyRoute, AnyRouteMatch } from '@tanstack/react-router';
3
3
  import { Theme } from './theme.cjs';
4
-
5
4
  export declare const isServer: boolean;
6
5
  type StyledComponent<T> = T extends 'button' ? React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> : T extends 'input' ? React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> : T extends 'select' ? React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement> : T extends keyof HTMLElementTagNameMap ? React.HTMLAttributes<HTMLElementTagNameMap[T]> : never;
7
6
  export declare function getStatusColor(match: AnyRouteMatch): "yellow" | "green" | "red" | "purple" | "gray" | "blue";
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare const ShadowDomTargetContext: React.Context<ShadowRoot | undefined>;
4
3
  export declare const DevtoolsOnCloseContext: React.Context<{
5
4
  onCloseClick: (e: React.MouseEvent<HTMLButtonElement>) => void;
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { AnyRouter } from '@tanstack/react-router';
3
-
4
3
  interface DevtoolsOptions {
5
4
  /**
6
5
  * Set this true if you want the dev tools to default to being open
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare const defaultTheme: {
4
3
  readonly background: "#222222";
5
4
  readonly backgroundAlt: "#292929";
@@ -1,7 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { AnyRootRoute, AnyRoute, AnyRouteMatch } from '@tanstack/react-router';
3
3
  import { Theme } from './theme.js';
4
-
5
4
  export declare const isServer: boolean;
6
5
  type StyledComponent<T> = T extends 'button' ? React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> : T extends 'input' ? React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> : T extends 'select' ? React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement> : T extends keyof HTMLElementTagNameMap ? React.HTMLAttributes<HTMLElementTagNameMap[T]> : never;
7
6
  export declare function getStatusColor(match: AnyRouteMatch): "yellow" | "green" | "red" | "purple" | "gray" | "blue";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/router-devtools",
3
- "version": "1.51.2",
3
+ "version": "1.51.4",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -60,7 +60,7 @@
60
60
  "peerDependencies": {
61
61
  "react": ">=18",
62
62
  "react-dom": ">=18",
63
- "@tanstack/react-router": "^1.51.2"
63
+ "@tanstack/react-router": "^1.51.4"
64
64
  },
65
65
  "scripts": {}
66
66
  }