@tanstack/query-devtools 5.13.3 → 5.13.5
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/build/Devtools/{VWYHBKXD.js → JDX7DFYK.js} +19 -0
- package/build/Devtools/{HI6IFUTD.jsx → KEJBG6PF.jsx} +20 -0
- package/build/Devtools/{XEIAQO4C.js → N66J3ZXT.js} +19 -0
- package/build/Devtools/{EN5OW4QY.jsx → YGZHNM6M.jsx} +20 -0
- package/build/dev.cjs +19 -0
- package/build/dev.js +1 -1
- package/build/dev.jsx +1 -1
- package/build/index.cjs +19 -0
- package/build/index.js +1 -1
- package/build/index.jsx +1 -1
- package/package.json +2 -2
- package/src/Devtools.tsx +22 -0
|
@@ -10236,6 +10236,9 @@ var ContentView = (props) => {
|
|
|
10236
10236
|
const _v$6 = clsx(styles().queriesContainer, panelWidth() < secondBreakpoint && (selectedQueryHash() || selectedMutationId()) && u`
|
|
10237
10237
|
height: 50%;
|
|
10238
10238
|
max-height: 50%;
|
|
10239
|
+
`, panelWidth() < secondBreakpoint && !(selectedQueryHash() || selectedMutationId()) && u`
|
|
10240
|
+
height: 100%;
|
|
10241
|
+
max-height: 100%;
|
|
10239
10242
|
`, "tsqd-queries-container"), _v$7 = clsx(styles().row, "tsqd-header"), _v$8 = styles().logoAndToggleContainer, _v$9 = clsx(styles().logo, "tsqd-text-logo-container"), _v$10 = clsx(styles().tanstackLogo, "tsqd-text-logo-tanstack"), _v$11 = clsx(styles().queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$12 = clsx(styles().row, "tsqd-filters-actions-container"), _v$13 = clsx(styles().filtersContainer, "tsqd-filters-container"), _v$14 = clsx(styles().filterInput, "tsqd-query-filter-textfield-container"), _v$15 = clsx(styles().filterSelect, "tsqd-query-filter-sort-container"), _v$16 = `Sort order ${(selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1 ? "descending" : "ascending"}`, _v$17 = (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1, _v$18 = clsx(styles().actionsContainer, "tsqd-actions-container"), _v$19 = clsx(styles().actionsBtn, "tsqd-actions-btn", "tsqd-action-clear-cache"), _v$20 = `Clear ${selectedView()} cache`, _v$21 = clsx(styles().actionsBtn, offline() && styles().actionsBtnOffline, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), _v$22 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$23 = offline(), _v$24 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`;
|
|
10240
10243
|
_v$6 !== _p$._v$6 && className(_el$8, _p$._v$6 = _v$6);
|
|
10241
10244
|
_v$7 !== _p$._v$7 && className(_el$9, _p$._v$7 = _v$7);
|
|
@@ -11252,6 +11255,22 @@ var stylesFactory2 = (theme) => {
|
|
|
11252
11255
|
box-sizing: border-box;
|
|
11253
11256
|
text-transform: none;
|
|
11254
11257
|
}
|
|
11258
|
+
|
|
11259
|
+
& *::-webkit-scrollbar {
|
|
11260
|
+
width: 7px;
|
|
11261
|
+
}
|
|
11262
|
+
|
|
11263
|
+
& *::-webkit-scrollbar-track {
|
|
11264
|
+
background: transparent;
|
|
11265
|
+
}
|
|
11266
|
+
|
|
11267
|
+
& *::-webkit-scrollbar-thumb {
|
|
11268
|
+
background: ${t2(colors.gray[300], colors.darkGray[200])};
|
|
11269
|
+
}
|
|
11270
|
+
|
|
11271
|
+
& *::-webkit-scrollbar-thumb:hover {
|
|
11272
|
+
background: ${t2(colors.gray[400], colors.darkGray[300])};
|
|
11273
|
+
}
|
|
11255
11274
|
`,
|
|
11256
11275
|
"devtoolsBtn-position-bottom-right": u`
|
|
11257
11276
|
bottom: 12px;
|
|
@@ -10793,6 +10793,10 @@ var ContentView = (props) => {
|
|
|
10793
10793
|
height: 50%;
|
|
10794
10794
|
max-height: 50%;
|
|
10795
10795
|
`,
|
|
10796
|
+
panelWidth() < secondBreakpoint && !(selectedQueryHash() || selectedMutationId()) && u`
|
|
10797
|
+
height: 100%;
|
|
10798
|
+
max-height: 100%;
|
|
10799
|
+
`,
|
|
10796
10800
|
"tsqd-queries-container"
|
|
10797
10801
|
)}
|
|
10798
10802
|
ref={containerRef}
|
|
@@ -12058,6 +12062,22 @@ var stylesFactory2 = (theme) => {
|
|
|
12058
12062
|
box-sizing: border-box;
|
|
12059
12063
|
text-transform: none;
|
|
12060
12064
|
}
|
|
12065
|
+
|
|
12066
|
+
& *::-webkit-scrollbar {
|
|
12067
|
+
width: 7px;
|
|
12068
|
+
}
|
|
12069
|
+
|
|
12070
|
+
& *::-webkit-scrollbar-track {
|
|
12071
|
+
background: transparent;
|
|
12072
|
+
}
|
|
12073
|
+
|
|
12074
|
+
& *::-webkit-scrollbar-thumb {
|
|
12075
|
+
background: ${t2(colors.gray[300], colors.darkGray[200])};
|
|
12076
|
+
}
|
|
12077
|
+
|
|
12078
|
+
& *::-webkit-scrollbar-thumb:hover {
|
|
12079
|
+
background: ${t2(colors.gray[400], colors.darkGray[300])};
|
|
12080
|
+
}
|
|
12061
12081
|
`,
|
|
12062
12082
|
"devtoolsBtn-position-bottom-right": u`
|
|
12063
12083
|
bottom: 12px;
|
|
@@ -10235,6 +10235,9 @@ var ContentView = (props) => {
|
|
|
10235
10235
|
const _v$6 = clsx(styles().queriesContainer, panelWidth() < secondBreakpoint && (selectedQueryHash() || selectedMutationId()) && u`
|
|
10236
10236
|
height: 50%;
|
|
10237
10237
|
max-height: 50%;
|
|
10238
|
+
`, panelWidth() < secondBreakpoint && !(selectedQueryHash() || selectedMutationId()) && u`
|
|
10239
|
+
height: 100%;
|
|
10240
|
+
max-height: 100%;
|
|
10238
10241
|
`, "tsqd-queries-container"), _v$7 = clsx(styles().row, "tsqd-header"), _v$8 = styles().logoAndToggleContainer, _v$9 = clsx(styles().logo, "tsqd-text-logo-container"), _v$10 = clsx(styles().tanstackLogo, "tsqd-text-logo-tanstack"), _v$11 = clsx(styles().queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$12 = clsx(styles().row, "tsqd-filters-actions-container"), _v$13 = clsx(styles().filtersContainer, "tsqd-filters-container"), _v$14 = clsx(styles().filterInput, "tsqd-query-filter-textfield-container"), _v$15 = clsx(styles().filterSelect, "tsqd-query-filter-sort-container"), _v$16 = `Sort order ${(selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1 ? "descending" : "ascending"}`, _v$17 = (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1, _v$18 = clsx(styles().actionsContainer, "tsqd-actions-container"), _v$19 = clsx(styles().actionsBtn, "tsqd-actions-btn", "tsqd-action-clear-cache"), _v$20 = `Clear ${selectedView()} cache`, _v$21 = clsx(styles().actionsBtn, offline() && styles().actionsBtnOffline, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), _v$22 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$23 = offline(), _v$24 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`;
|
|
10239
10242
|
_v$6 !== _p$._v$6 && className(_el$8, _p$._v$6 = _v$6);
|
|
10240
10243
|
_v$7 !== _p$._v$7 && className(_el$9, _p$._v$7 = _v$7);
|
|
@@ -11251,6 +11254,22 @@ var stylesFactory2 = (theme) => {
|
|
|
11251
11254
|
box-sizing: border-box;
|
|
11252
11255
|
text-transform: none;
|
|
11253
11256
|
}
|
|
11257
|
+
|
|
11258
|
+
& *::-webkit-scrollbar {
|
|
11259
|
+
width: 7px;
|
|
11260
|
+
}
|
|
11261
|
+
|
|
11262
|
+
& *::-webkit-scrollbar-track {
|
|
11263
|
+
background: transparent;
|
|
11264
|
+
}
|
|
11265
|
+
|
|
11266
|
+
& *::-webkit-scrollbar-thumb {
|
|
11267
|
+
background: ${t2(colors.gray[300], colors.darkGray[200])};
|
|
11268
|
+
}
|
|
11269
|
+
|
|
11270
|
+
& *::-webkit-scrollbar-thumb:hover {
|
|
11271
|
+
background: ${t2(colors.gray[400], colors.darkGray[300])};
|
|
11272
|
+
}
|
|
11254
11273
|
`,
|
|
11255
11274
|
"devtoolsBtn-position-bottom-right": u`
|
|
11256
11275
|
bottom: 12px;
|
|
@@ -10794,6 +10794,10 @@ var ContentView = (props) => {
|
|
|
10794
10794
|
height: 50%;
|
|
10795
10795
|
max-height: 50%;
|
|
10796
10796
|
`,
|
|
10797
|
+
panelWidth() < secondBreakpoint && !(selectedQueryHash() || selectedMutationId()) && u`
|
|
10798
|
+
height: 100%;
|
|
10799
|
+
max-height: 100%;
|
|
10800
|
+
`,
|
|
10797
10801
|
"tsqd-queries-container"
|
|
10798
10802
|
)}
|
|
10799
10803
|
ref={containerRef}
|
|
@@ -12059,6 +12063,22 @@ var stylesFactory2 = (theme) => {
|
|
|
12059
12063
|
box-sizing: border-box;
|
|
12060
12064
|
text-transform: none;
|
|
12061
12065
|
}
|
|
12066
|
+
|
|
12067
|
+
& *::-webkit-scrollbar {
|
|
12068
|
+
width: 7px;
|
|
12069
|
+
}
|
|
12070
|
+
|
|
12071
|
+
& *::-webkit-scrollbar-track {
|
|
12072
|
+
background: transparent;
|
|
12073
|
+
}
|
|
12074
|
+
|
|
12075
|
+
& *::-webkit-scrollbar-thumb {
|
|
12076
|
+
background: ${t2(colors.gray[300], colors.darkGray[200])};
|
|
12077
|
+
}
|
|
12078
|
+
|
|
12079
|
+
& *::-webkit-scrollbar-thumb:hover {
|
|
12080
|
+
background: ${t2(colors.gray[400], colors.darkGray[300])};
|
|
12081
|
+
}
|
|
12062
12082
|
`,
|
|
12063
12083
|
"devtoolsBtn-position-bottom-right": u`
|
|
12064
12084
|
bottom: 12px;
|
package/build/dev.cjs
CHANGED
|
@@ -13759,6 +13759,9 @@ var init_Devtools = __esm({
|
|
|
13759
13759
|
const _v$6 = clsx(styles().queriesContainer, panelWidth() < secondBreakpoint && (selectedQueryHash() || selectedMutationId()) && u`
|
|
13760
13760
|
height: 50%;
|
|
13761
13761
|
max-height: 50%;
|
|
13762
|
+
`, panelWidth() < secondBreakpoint && !(selectedQueryHash() || selectedMutationId()) && u`
|
|
13763
|
+
height: 100%;
|
|
13764
|
+
max-height: 100%;
|
|
13762
13765
|
`, "tsqd-queries-container"), _v$7 = clsx(styles().row, "tsqd-header"), _v$8 = styles().logoAndToggleContainer, _v$9 = clsx(styles().logo, "tsqd-text-logo-container"), _v$10 = clsx(styles().tanstackLogo, "tsqd-text-logo-tanstack"), _v$11 = clsx(styles().queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$12 = clsx(styles().row, "tsqd-filters-actions-container"), _v$13 = clsx(styles().filtersContainer, "tsqd-filters-container"), _v$14 = clsx(styles().filterInput, "tsqd-query-filter-textfield-container"), _v$15 = clsx(styles().filterSelect, "tsqd-query-filter-sort-container"), _v$16 = `Sort order ${(selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1 ? "descending" : "ascending"}`, _v$17 = (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1, _v$18 = clsx(styles().actionsContainer, "tsqd-actions-container"), _v$19 = clsx(styles().actionsBtn, "tsqd-actions-btn", "tsqd-action-clear-cache"), _v$20 = `Clear ${selectedView()} cache`, _v$21 = clsx(styles().actionsBtn, offline() && styles().actionsBtnOffline, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), _v$22 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$23 = offline(), _v$24 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`;
|
|
13763
13766
|
_v$6 !== _p$._v$6 && className(_el$8, _p$._v$6 = _v$6);
|
|
13764
13767
|
_v$7 !== _p$._v$7 && className(_el$9, _p$._v$7 = _v$7);
|
|
@@ -14775,6 +14778,22 @@ var init_Devtools = __esm({
|
|
|
14775
14778
|
box-sizing: border-box;
|
|
14776
14779
|
text-transform: none;
|
|
14777
14780
|
}
|
|
14781
|
+
|
|
14782
|
+
& *::-webkit-scrollbar {
|
|
14783
|
+
width: 7px;
|
|
14784
|
+
}
|
|
14785
|
+
|
|
14786
|
+
& *::-webkit-scrollbar-track {
|
|
14787
|
+
background: transparent;
|
|
14788
|
+
}
|
|
14789
|
+
|
|
14790
|
+
& *::-webkit-scrollbar-thumb {
|
|
14791
|
+
background: ${t2(colors.gray[300], colors.darkGray[200])};
|
|
14792
|
+
}
|
|
14793
|
+
|
|
14794
|
+
& *::-webkit-scrollbar-thumb:hover {
|
|
14795
|
+
background: ${t2(colors.gray[400], colors.darkGray[300])};
|
|
14796
|
+
}
|
|
14778
14797
|
`,
|
|
14779
14798
|
"devtoolsBtn-position-bottom-right": u`
|
|
14780
14799
|
bottom: 12px;
|
package/build/dev.js
CHANGED
|
@@ -65,7 +65,7 @@ var TanstackQueryDevtools = class {
|
|
|
65
65
|
if (this.#Component) {
|
|
66
66
|
Devtools = this.#Component;
|
|
67
67
|
} else {
|
|
68
|
-
Devtools = lazy(() => import('./Devtools/
|
|
68
|
+
Devtools = lazy(() => import('./Devtools/JDX7DFYK.js'));
|
|
69
69
|
this.#Component = Devtools;
|
|
70
70
|
}
|
|
71
71
|
setupStyleSheet(this.#styleNonce);
|
package/build/dev.jsx
CHANGED
|
@@ -70,7 +70,7 @@ var TanstackQueryDevtools = class {
|
|
|
70
70
|
if (this.#Component) {
|
|
71
71
|
Devtools = this.#Component;
|
|
72
72
|
} else {
|
|
73
|
-
Devtools = lazy(() => import("./Devtools/
|
|
73
|
+
Devtools = lazy(() => import("./Devtools/YGZHNM6M.jsx"));
|
|
74
74
|
this.#Component = Devtools;
|
|
75
75
|
}
|
|
76
76
|
setupStyleSheet(this.#styleNonce);
|
package/build/index.cjs
CHANGED
|
@@ -13757,6 +13757,9 @@ var init_Devtools = __esm({
|
|
|
13757
13757
|
const _v$6 = clsx(styles().queriesContainer, panelWidth() < secondBreakpoint && (selectedQueryHash() || selectedMutationId()) && u`
|
|
13758
13758
|
height: 50%;
|
|
13759
13759
|
max-height: 50%;
|
|
13760
|
+
`, panelWidth() < secondBreakpoint && !(selectedQueryHash() || selectedMutationId()) && u`
|
|
13761
|
+
height: 100%;
|
|
13762
|
+
max-height: 100%;
|
|
13760
13763
|
`, "tsqd-queries-container"), _v$7 = clsx(styles().row, "tsqd-header"), _v$8 = styles().logoAndToggleContainer, _v$9 = clsx(styles().logo, "tsqd-text-logo-container"), _v$10 = clsx(styles().tanstackLogo, "tsqd-text-logo-tanstack"), _v$11 = clsx(styles().queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$12 = clsx(styles().row, "tsqd-filters-actions-container"), _v$13 = clsx(styles().filtersContainer, "tsqd-filters-container"), _v$14 = clsx(styles().filterInput, "tsqd-query-filter-textfield-container"), _v$15 = clsx(styles().filterSelect, "tsqd-query-filter-sort-container"), _v$16 = `Sort order ${(selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1 ? "descending" : "ascending"}`, _v$17 = (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1, _v$18 = clsx(styles().actionsContainer, "tsqd-actions-container"), _v$19 = clsx(styles().actionsBtn, "tsqd-actions-btn", "tsqd-action-clear-cache"), _v$20 = `Clear ${selectedView()} cache`, _v$21 = clsx(styles().actionsBtn, offline() && styles().actionsBtnOffline, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), _v$22 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$23 = offline(), _v$24 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`;
|
|
13761
13764
|
_v$6 !== _p$._v$6 && className(_el$8, _p$._v$6 = _v$6);
|
|
13762
13765
|
_v$7 !== _p$._v$7 && className(_el$9, _p$._v$7 = _v$7);
|
|
@@ -14773,6 +14776,22 @@ var init_Devtools = __esm({
|
|
|
14773
14776
|
box-sizing: border-box;
|
|
14774
14777
|
text-transform: none;
|
|
14775
14778
|
}
|
|
14779
|
+
|
|
14780
|
+
& *::-webkit-scrollbar {
|
|
14781
|
+
width: 7px;
|
|
14782
|
+
}
|
|
14783
|
+
|
|
14784
|
+
& *::-webkit-scrollbar-track {
|
|
14785
|
+
background: transparent;
|
|
14786
|
+
}
|
|
14787
|
+
|
|
14788
|
+
& *::-webkit-scrollbar-thumb {
|
|
14789
|
+
background: ${t2(colors.gray[300], colors.darkGray[200])};
|
|
14790
|
+
}
|
|
14791
|
+
|
|
14792
|
+
& *::-webkit-scrollbar-thumb:hover {
|
|
14793
|
+
background: ${t2(colors.gray[400], colors.darkGray[300])};
|
|
14794
|
+
}
|
|
14776
14795
|
`,
|
|
14777
14796
|
"devtoolsBtn-position-bottom-right": u`
|
|
14778
14797
|
bottom: 12px;
|
package/build/index.js
CHANGED
|
@@ -65,7 +65,7 @@ var TanstackQueryDevtools = class {
|
|
|
65
65
|
if (this.#Component) {
|
|
66
66
|
Devtools = this.#Component;
|
|
67
67
|
} else {
|
|
68
|
-
Devtools = lazy(() => import('./Devtools/
|
|
68
|
+
Devtools = lazy(() => import('./Devtools/N66J3ZXT.js'));
|
|
69
69
|
this.#Component = Devtools;
|
|
70
70
|
}
|
|
71
71
|
setupStyleSheet(this.#styleNonce);
|
package/build/index.jsx
CHANGED
|
@@ -70,7 +70,7 @@ var TanstackQueryDevtools = class {
|
|
|
70
70
|
if (this.#Component) {
|
|
71
71
|
Devtools = this.#Component;
|
|
72
72
|
} else {
|
|
73
|
-
Devtools = lazy(() => import("./Devtools/
|
|
73
|
+
Devtools = lazy(() => import("./Devtools/KEJBG6PF.jsx"));
|
|
74
74
|
this.#Component = Devtools;
|
|
75
75
|
}
|
|
76
76
|
setupStyleSheet(this.#styleNonce);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/query-devtools",
|
|
3
|
-
"version": "5.13.
|
|
3
|
+
"version": "5.13.5",
|
|
4
4
|
"description": "Developer tools to interact with and visualize the TanStack Query cache",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"superjson": "^1.12.4",
|
|
51
51
|
"tsup-preset-solid": "^2.1.0",
|
|
52
52
|
"vite-plugin-solid": "^2.7.2",
|
|
53
|
-
"@tanstack/query-core": "5.
|
|
53
|
+
"@tanstack/query-core": "5.13.4"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"clean": "rimraf ./build && rimraf ./coverage",
|
package/src/Devtools.tsx
CHANGED
|
@@ -601,6 +601,12 @@ const ContentView: Component<DevtoolsPanelProps> = (props) => {
|
|
|
601
601
|
height: 50%;
|
|
602
602
|
max-height: 50%;
|
|
603
603
|
`,
|
|
604
|
+
panelWidth() < secondBreakpoint &&
|
|
605
|
+
!(selectedQueryHash() || selectedMutationId()) &&
|
|
606
|
+
css`
|
|
607
|
+
height: 100%;
|
|
608
|
+
max-height: 100%;
|
|
609
|
+
`,
|
|
604
610
|
'tsqd-queries-container',
|
|
605
611
|
)}
|
|
606
612
|
ref={containerRef}
|
|
@@ -2233,6 +2239,22 @@ const stylesFactory = (theme: 'light' | 'dark') => {
|
|
|
2233
2239
|
box-sizing: border-box;
|
|
2234
2240
|
text-transform: none;
|
|
2235
2241
|
}
|
|
2242
|
+
|
|
2243
|
+
& *::-webkit-scrollbar {
|
|
2244
|
+
width: 7px;
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
& *::-webkit-scrollbar-track {
|
|
2248
|
+
background: transparent;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
& *::-webkit-scrollbar-thumb {
|
|
2252
|
+
background: ${t(colors.gray[300], colors.darkGray[200])};
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
& *::-webkit-scrollbar-thumb:hover {
|
|
2256
|
+
background: ${t(colors.gray[400], colors.darkGray[300])};
|
|
2257
|
+
}
|
|
2236
2258
|
`,
|
|
2237
2259
|
'devtoolsBtn-position-bottom-right': css`
|
|
2238
2260
|
bottom: 12px;
|