@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.
- package/dist/cjs/devtools.d.cts +3 -2
- package/dist/cjs/logo.d.cts +2 -1
- package/dist/cjs/theme.d.cts +2 -1
- package/dist/cjs/utils.d.cts +4 -3
- package/dist/esm/devtools.d.ts +3 -2
- package/dist/esm/logo.d.ts +2 -1
- package/dist/esm/theme.d.ts +2 -1
- package/dist/esm/utils.d.ts +4 -3
- package/package.json +3 -9
package/dist/cjs/devtools.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
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
|
package/dist/cjs/logo.d.cts
CHANGED
package/dist/cjs/theme.d.cts
CHANGED
package/dist/cjs/utils.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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";
|
package/dist/esm/devtools.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
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
|
package/dist/esm/logo.d.ts
CHANGED
package/dist/esm/theme.d.ts
CHANGED
package/dist/esm/utils.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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.
|
|
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.
|
|
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
|
}
|