@tanstack/query-devtools
Advanced tools
Comparing version 5.17.7 to 5.17.21
@@ -68,3 +68,3 @@ import { createSignal, render, lazy, setupStyleSheet, createComponent, mergeProps } from './chunk/UF7WX6DB.js'; | ||
} else { | ||
Devtools = lazy(() => import('./Devtools/A6DP7BKI.js')); | ||
Devtools = lazy(() => import('./Devtools/EJGC42YZ.js')); | ||
this.#Component = Devtools; | ||
@@ -71,0 +71,0 @@ } |
@@ -73,3 +73,3 @@ import { | ||
} else { | ||
Devtools = lazy(() => import("./Devtools/5J6EBFZD.jsx")); | ||
Devtools = lazy(() => import("./Devtools/TBWOHJON.jsx")); | ||
this.#Component = Devtools; | ||
@@ -76,0 +76,0 @@ } |
@@ -68,3 +68,3 @@ import { createSignal, render, lazy, setupStyleSheet, createComponent, mergeProps } from './chunk/6MVECHXQ.js'; | ||
} else { | ||
Devtools = lazy(() => import('./Devtools/BSBCIQID.js')); | ||
Devtools = lazy(() => import('./Devtools/2DAFLIRC.js')); | ||
this.#Component = Devtools; | ||
@@ -71,0 +71,0 @@ } |
@@ -73,3 +73,3 @@ import { | ||
} else { | ||
Devtools = lazy(() => import("./Devtools/TCSAOOE4.jsx")); | ||
Devtools = lazy(() => import("./Devtools/XOPUKKPX.jsx")); | ||
this.#Component = Devtools; | ||
@@ -76,0 +76,0 @@ } |
{ | ||
"name": "@tanstack/query-devtools", | ||
"version": "5.17.7", | ||
"version": "5.17.21", | ||
"description": "Developer tools to interact with and visualize the TanStack Query cache", | ||
@@ -53,3 +53,3 @@ "author": "tannerlinsley", | ||
"vite-plugin-solid": "^2.8.0", | ||
"@tanstack/query-core": "5.17.7" | ||
"@tanstack/query-core": "5.17.19" | ||
}, | ||
@@ -56,0 +56,0 @@ "scripts": { |
@@ -1,29 +0,1 @@ | ||
const ShadowVariants = { | ||
xs: '0 1px 2px 0 rgb(0 0 0 / 0.05)', | ||
sm: '0 1px 3px 0 color, 0 1px 2px -1px color', | ||
md: '0 4px 6px -1px color, 0 2px 4px -2px color', | ||
lg: '0 10px 15px -3px color, 0 4px 6px -4px color', | ||
xl: '0 20px 25px -5px color, 0 8px 10px -6px color', | ||
'2xl': '0 25px 50px -12px color', | ||
inner: 'inset 0 2px 4px 0 color', | ||
none: 'none', | ||
} | ||
type ShadowVariantType = keyof typeof ShadowVariants | ||
const getShadow = (variant: ShadowVariantType, color: string = ''): string => { | ||
return ShadowVariants[variant].replace(/color/g, color) | ||
} | ||
const Shadow = { | ||
xs: (color: string = 'rgb(0 0 0 / 0.1)') => getShadow('xs', color), | ||
sm: (color: string = 'rgb(0 0 0 / 0.1)') => getShadow('sm', color), | ||
md: (color: string = 'rgb(0 0 0 / 0.1)') => getShadow('md', color), | ||
lg: (color: string = 'rgb(0 0 0 / 0.1)') => getShadow('lg', color), | ||
xl: (color: string = 'rgb(0 0 0 / 0.1)') => getShadow('xl', color), | ||
'2xl': (color: string = 'rgb(0 0 0 / 0.25)') => getShadow('2xl', color), | ||
inner: (color: string = 'rgb(0 0 0 / 0.05)') => getShadow('inner', color), | ||
none: () => getShadow('none'), | ||
} | ||
export const tokens = { | ||
@@ -295,3 +267,19 @@ colors: { | ||
}, | ||
shadow: Shadow, | ||
shadow: { | ||
xs: (_: string = 'rgb(0 0 0 / 0.1)') => | ||
`0 1px 2px 0 rgb(0 0 0 / 0.05)` as const, | ||
sm: (color: string = 'rgb(0 0 0 / 0.1)') => | ||
`0 1px 3px 0 ${color}, 0 1px 2px -1px ${color}` as const, | ||
md: (color: string = 'rgb(0 0 0 / 0.1)') => | ||
`0 4px 6px -1px ${color}, 0 2px 4px -2px ${color}` as const, | ||
lg: (color: string = 'rgb(0 0 0 / 0.1)') => | ||
`0 10px 15px -3px ${color}, 0 4px 6px -4px ${color}` as const, | ||
xl: (color: string = 'rgb(0 0 0 / 0.1)') => | ||
`0 20px 25px -5px ${color}, 0 8px 10px -6px ${color}` as const, | ||
'2xl': (color: string = 'rgb(0 0 0 / 0.25)') => | ||
`0 25px 50px -12px ${color}` as const, | ||
inner: (color: string = 'rgb(0 0 0 / 0.05)') => | ||
`inset 0 2px 4px 0 ${color}` as const, | ||
none: () => `none` as const, | ||
}, | ||
zIndices: { | ||
@@ -312,2 +300,2 @@ hide: -1, | ||
}, | ||
} | ||
} as const |
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
5
3437420
104457