@tanstack/svelte-query-devtools 6.3.4 → 6.3.6

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.
@@ -53,7 +53,8 @@
53
53
  hideDisabledQueries?: boolean
54
54
  /**
55
55
  * Set this to 'light', 'dark', or 'system' to change the theme of the devtools panel.
56
- * Defaults to 'system'.
56
+ * This overrides the theme selected in the devtools Settings menu. When omitted, the
57
+ * selected theme is used, or `'system'` if none is selected.
57
58
  */
58
59
  theme?: Theme
59
60
  }
@@ -67,7 +68,7 @@
67
68
  styleNonce = undefined,
68
69
  shadowDOMTarget = undefined,
69
70
  hideDisabledQueries = false,
70
- theme = 'system',
71
+ theme,
71
72
  }: DevtoolsOptions = $props()
72
73
 
73
74
  let ref: HTMLDivElement
@@ -42,7 +42,8 @@ interface DevtoolsOptions {
42
42
  hideDisabledQueries?: boolean;
43
43
  /**
44
44
  * Set this to 'light', 'dark', or 'system' to change the theme of the devtools panel.
45
- * Defaults to 'system'.
45
+ * This overrides the theme selected in the devtools Settings menu. When omitted, the
46
+ * selected theme is used, or `'system'` if none is selected.
46
47
  */
47
48
  theme?: Theme;
48
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Devtools.svelte.d.ts","sourceRoot":"","sources":["../src/Devtools.svelte.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,EACR,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAEhB,KAAK,EACN,MAAM,0BAA0B,CAAC;AAGlC,UAAU,eAAe;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAA;IACvC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAA;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB;;OAEG;IACH,UAA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eAAe,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/svelte-query-devtools",
3
- "version": "6.3.4",
3
+ "version": "6.3.6",
4
4
  "description": "Developer tools to interact with and visualize the TanStack/svelte-query cache",
5
5
  "author": "Lachlan Collins",
6
6
  "license": "MIT",
@@ -38,22 +38,22 @@
38
38
  "!src/__tests__"
39
39
  ],
40
40
  "dependencies": {
41
- "@tanstack/query-devtools": "5.104.4",
41
+ "@tanstack/query-devtools": "5.105.0",
42
42
  "esm-env": "^1.2.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@sveltejs/package": "^2.5.8",
46
46
  "@sveltejs/vite-plugin-svelte": "^7.3.1",
47
- "@tanstack/svelte-query": "6.3.4",
47
+ "@tanstack/svelte-query": "6.3.6",
48
48
  "@testing-library/svelte": "^5.2.8",
49
- "@typescript-eslint/parser": "^8.71.1",
49
+ "@typescript-eslint/parser": "^8.72.0",
50
50
  "eslint-plugin-svelte": "^3.23.0",
51
51
  "svelte": "^5.57.1",
52
52
  "svelte-check": "^4.4.5",
53
53
  "typescript": "6.0.3"
54
54
  },
55
55
  "peerDependencies": {
56
- "@tanstack/svelte-query": "^6.3.4",
56
+ "@tanstack/svelte-query": "^6.3.6",
57
57
  "svelte": "^5.25.0"
58
58
  },
59
59
  "scripts": {
@@ -53,7 +53,8 @@
53
53
  hideDisabledQueries?: boolean
54
54
  /**
55
55
  * Set this to 'light', 'dark', or 'system' to change the theme of the devtools panel.
56
- * Defaults to 'system'.
56
+ * This overrides the theme selected in the devtools Settings menu. When omitted, the
57
+ * selected theme is used, or `'system'` if none is selected.
57
58
  */
58
59
  theme?: Theme
59
60
  }
@@ -67,7 +68,7 @@
67
68
  styleNonce = undefined,
68
69
  shadowDOMTarget = undefined,
69
70
  hideDisabledQueries = false,
70
- theme = 'system',
71
+ theme,
71
72
  }: DevtoolsOptions = $props()
72
73
 
73
74
  let ref: HTMLDivElement