@tanstack/router-devtools 1.32.0 → 1.32.3

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,6 @@
1
- import React from 'react';
2
- import type { AnyRouter } from '@tanstack/react-router';
1
+ import { default as React } from 'react';
2
+ import { AnyRouter } from '@tanstack/react-router';
3
+
3
4
  interface DevtoolsOptions {
4
5
  /**
5
6
  * Set this true if you want the dev tools to default to being open
@@ -1,2 +1,3 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export declare function TanStackLogo(): React.JSX.Element;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export declare const defaultTheme: {
3
4
  readonly background: "#222222";
4
5
  readonly backgroundAlt: "#292929";
@@ -1,6 +1,7 @@
1
- import React from 'react';
2
- import type { AnyRootRoute, AnyRoute, AnyRouteMatch } from '@tanstack/react-router';
3
- import type { Theme } from './theme.cjs';
1
+ import { default as React } from 'react';
2
+ import { AnyRootRoute, AnyRoute, AnyRouteMatch } from '@tanstack/react-router';
3
+ import { Theme } from './theme.cjs';
4
+
4
5
  export declare const isServer: boolean;
5
6
  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;
6
7
  export declare function getStatusColor(match: AnyRouteMatch): "blue" | "yellow" | "red" | "green" | "gray";
@@ -1,5 +1,6 @@
1
- import React from 'react';
2
- import type { AnyRouter } from '@tanstack/react-router';
1
+ import { default as React } from 'react';
2
+ import { AnyRouter } from '@tanstack/react-router';
3
+
3
4
  interface DevtoolsOptions {
4
5
  /**
5
6
  * Set this true if you want the dev tools to default to being open
@@ -1,2 +1,3 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export declare function TanStackLogo(): React.JSX.Element;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export declare const defaultTheme: {
3
4
  readonly background: "#222222";
4
5
  readonly backgroundAlt: "#292929";
@@ -1,6 +1,7 @@
1
- import React from 'react';
2
- import type { AnyRootRoute, AnyRoute, AnyRouteMatch } from '@tanstack/react-router';
3
- import type { Theme } from './theme.js';
1
+ import { default as React } from 'react';
2
+ import { AnyRootRoute, AnyRoute, AnyRouteMatch } from '@tanstack/react-router';
3
+ import { Theme } from './theme.js';
4
+
4
5
  export declare const isServer: boolean;
5
6
  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;
6
7
  export declare function getStatusColor(match: AnyRouteMatch): "blue" | "yellow" | "red" | "green" | "gray";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/router-devtools",
3
- "version": "1.32.0",
3
+ "version": "1.32.3",
4
4
  "description": "",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -52,7 +52,7 @@
52
52
  "clsx": "^2.1.0",
53
53
  "date-fns": "^2.29.1",
54
54
  "goober": "^2.1.14",
55
- "@tanstack/react-router": "1.32.0"
55
+ "@tanstack/react-router": "1.32.3"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@vitejs/plugin-react": "^4.2.1",
@@ -63,11 +63,5 @@
63
63
  "react": ">=16.8",
64
64
  "react-dom": ">=16.8"
65
65
  },
66
- "scripts": {
67
- "clean": "rimraf ./dist && rimraf ./coverage",
68
- "test:eslint": "eslint --ext .ts,.tsx ./src",
69
- "test:types": "tsc --noEmit",
70
- "test:build": "publint --strict",
71
- "build": "vite build"
72
- }
66
+ "scripts": {}
73
67
  }