@tanstack/query-devtools 5.27.8 → 5.28.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/build/Devtools/{NISTJ3CZ.js → BPGFTGZB.js} +1 -1
- package/build/Devtools/{HPBPMTAC.jsx → IATLRCG5.jsx} +3 -1
- package/build/Devtools/{A63KNBMQ.jsx → MTC7LE5I.jsx} +3 -1
- package/build/Devtools/{HSODRENB.js → TCDAW7I4.js} +1 -1
- package/build/dev.cjs +1 -1
- package/build/dev.js +1 -1
- package/build/dev.jsx +1 -1
- package/build/index.cjs +1 -1
- package/build/index.js +1 -1
- package/build/index.jsx +1 -1
- package/package.json +2 -2
- package/src/Devtools.tsx +3 -1
|
@@ -9584,7 +9584,7 @@ var PiPProvider = (props) => {
|
|
|
9584
9584
|
props.setLocalStore("pip_open", "false");
|
|
9585
9585
|
setPipWindow(null);
|
|
9586
9586
|
});
|
|
9587
|
-
[...document.styleSheets].forEach((styleSheet) => {
|
|
9587
|
+
[...(useQueryDevtoolsContext().shadowDOMTarget || document).styleSheets].forEach((styleSheet) => {
|
|
9588
9588
|
try {
|
|
9589
9589
|
const cssRules = [...styleSheet.cssRules].map((rule) => rule.cssText).join("");
|
|
9590
9590
|
const style2 = document.createElement("style");
|
|
@@ -10495,7 +10495,9 @@ var PiPProvider = (props) => {
|
|
|
10495
10495
|
props.setLocalStore("pip_open", "false");
|
|
10496
10496
|
setPipWindow(null);
|
|
10497
10497
|
});
|
|
10498
|
-
[
|
|
10498
|
+
[
|
|
10499
|
+
...(useQueryDevtoolsContext().shadowDOMTarget || document).styleSheets
|
|
10500
|
+
].forEach((styleSheet) => {
|
|
10499
10501
|
try {
|
|
10500
10502
|
const cssRules = [...styleSheet.cssRules].map((rule) => rule.cssText).join("");
|
|
10501
10503
|
const style2 = document.createElement("style");
|
|
@@ -10494,7 +10494,9 @@ var PiPProvider = (props) => {
|
|
|
10494
10494
|
props.setLocalStore("pip_open", "false");
|
|
10495
10495
|
setPipWindow(null);
|
|
10496
10496
|
});
|
|
10497
|
-
[
|
|
10497
|
+
[
|
|
10498
|
+
...(useQueryDevtoolsContext().shadowDOMTarget || document).styleSheets
|
|
10499
|
+
].forEach((styleSheet) => {
|
|
10498
10500
|
try {
|
|
10499
10501
|
const cssRules = [...styleSheet.cssRules].map((rule) => rule.cssText).join("");
|
|
10500
10502
|
const style2 = document.createElement("style");
|
|
@@ -9585,7 +9585,7 @@ var PiPProvider = (props) => {
|
|
|
9585
9585
|
props.setLocalStore("pip_open", "false");
|
|
9586
9586
|
setPipWindow(null);
|
|
9587
9587
|
});
|
|
9588
|
-
[...document.styleSheets].forEach((styleSheet) => {
|
|
9588
|
+
[...(useQueryDevtoolsContext().shadowDOMTarget || document).styleSheets].forEach((styleSheet) => {
|
|
9589
9589
|
try {
|
|
9590
9590
|
const cssRules = [...styleSheet.cssRules].map((rule) => rule.cssText).join("");
|
|
9591
9591
|
const style2 = document.createElement("style");
|
package/build/dev.cjs
CHANGED
|
@@ -13014,7 +13014,7 @@ var init_Devtools = __esm({
|
|
|
13014
13014
|
props.setLocalStore("pip_open", "false");
|
|
13015
13015
|
setPipWindow(null);
|
|
13016
13016
|
});
|
|
13017
|
-
[...document.styleSheets].forEach((styleSheet) => {
|
|
13017
|
+
[...(useQueryDevtoolsContext().shadowDOMTarget || document).styleSheets].forEach((styleSheet) => {
|
|
13018
13018
|
try {
|
|
13019
13019
|
const cssRules = [...styleSheet.cssRules].map((rule) => rule.cssText).join("");
|
|
13020
13020
|
const style2 = document.createElement("style");
|
package/build/dev.js
CHANGED
|
@@ -69,7 +69,7 @@ var TanstackQueryDevtools = class {
|
|
|
69
69
|
if (this.#Component) {
|
|
70
70
|
Devtools = this.#Component;
|
|
71
71
|
} else {
|
|
72
|
-
Devtools = lazy(() => import('./Devtools/
|
|
72
|
+
Devtools = lazy(() => import('./Devtools/TCDAW7I4.js'));
|
|
73
73
|
this.#Component = Devtools;
|
|
74
74
|
}
|
|
75
75
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
package/build/dev.jsx
CHANGED
|
@@ -73,7 +73,7 @@ var TanstackQueryDevtools = class {
|
|
|
73
73
|
if (this.#Component) {
|
|
74
74
|
Devtools = this.#Component;
|
|
75
75
|
} else {
|
|
76
|
-
Devtools = lazy(() => import("./Devtools/
|
|
76
|
+
Devtools = lazy(() => import("./Devtools/IATLRCG5.jsx"));
|
|
77
77
|
this.#Component = Devtools;
|
|
78
78
|
}
|
|
79
79
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
package/build/index.cjs
CHANGED
|
@@ -13012,7 +13012,7 @@ var init_Devtools = __esm({
|
|
|
13012
13012
|
props.setLocalStore("pip_open", "false");
|
|
13013
13013
|
setPipWindow(null);
|
|
13014
13014
|
});
|
|
13015
|
-
[...document.styleSheets].forEach((styleSheet) => {
|
|
13015
|
+
[...(useQueryDevtoolsContext().shadowDOMTarget || document).styleSheets].forEach((styleSheet) => {
|
|
13016
13016
|
try {
|
|
13017
13017
|
const cssRules = [...styleSheet.cssRules].map((rule) => rule.cssText).join("");
|
|
13018
13018
|
const style2 = document.createElement("style");
|
package/build/index.js
CHANGED
|
@@ -69,7 +69,7 @@ var TanstackQueryDevtools = class {
|
|
|
69
69
|
if (this.#Component) {
|
|
70
70
|
Devtools = this.#Component;
|
|
71
71
|
} else {
|
|
72
|
-
Devtools = lazy(() => import('./Devtools/
|
|
72
|
+
Devtools = lazy(() => import('./Devtools/BPGFTGZB.js'));
|
|
73
73
|
this.#Component = Devtools;
|
|
74
74
|
}
|
|
75
75
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
package/build/index.jsx
CHANGED
|
@@ -73,7 +73,7 @@ var TanstackQueryDevtools = class {
|
|
|
73
73
|
if (this.#Component) {
|
|
74
74
|
Devtools = this.#Component;
|
|
75
75
|
} else {
|
|
76
|
-
Devtools = lazy(() => import("./Devtools/
|
|
76
|
+
Devtools = lazy(() => import("./Devtools/MTC7LE5I.jsx"));
|
|
77
77
|
this.#Component = Devtools;
|
|
78
78
|
}
|
|
79
79
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/query-devtools",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.28.3",
|
|
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.13.3",
|
|
51
51
|
"tsup-preset-solid": "^2.2.0",
|
|
52
52
|
"vite-plugin-solid": "^2.9.1",
|
|
53
|
-
"@tanstack/query-core": "5.
|
|
53
|
+
"@tanstack/query-core": "5.28.2"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"clean": "rimraf ./build && rimraf ./coverage",
|
package/src/Devtools.tsx
CHANGED
|
@@ -182,7 +182,9 @@ const PiPProvider = (props: PiPProviderProps) => {
|
|
|
182
182
|
|
|
183
183
|
// It is important to copy all parent window styles. Otherwise, there would be no CSS available at all
|
|
184
184
|
// https://developer.chrome.com/docs/web-platform/document-picture-in-picture/#copy-style-sheets-to-the-picture-in-picture-window
|
|
185
|
-
;[
|
|
185
|
+
;[
|
|
186
|
+
...(useQueryDevtoolsContext().shadowDOMTarget || document).styleSheets,
|
|
187
|
+
].forEach((styleSheet) => {
|
|
186
188
|
try {
|
|
187
189
|
const cssRules = [...styleSheet.cssRules]
|
|
188
190
|
.map((rule) => rule.cssText)
|