@raf-query/react 0.5.0 → 0.5.1

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/CHANGELOG.md CHANGED
@@ -1,14 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.1](https://github.com/KATT/raf-query/compare/0.5.0...0.5.1) (2026-10-14)
4
+
5
+ ### Features
6
+
7
+ * raf-query logo, brand colors, and a system / light / dark switcher ([#68](https://github.com/KATT/raf-query/issues/68)) ([9ae09c6](https://github.com/KATT/raf-query/commit/9ae09c63b4f60f4109a8fa6389b8b4f7adfd2ab8))
8
+
3
9
  ## [0.5.0](https://github.com/KATT/raf-query/compare/0.4.5...0.5.0) (2026-10-14)
4
10
 
5
11
  ### ⚠ BREAKING CHANGES
6
12
 
7
- * type options by a bag instead of positional type arguments ([#69](https://github.com/KATT/raf-query/issues/69))
13
+ - type options by a bag instead of positional type arguments ([#69](https://github.com/KATT/raf-query/issues/69))
8
14
 
9
15
  ### Features
10
16
 
11
- * type options by a bag instead of positional type arguments ([#69](https://github.com/KATT/raf-query/issues/69)) ([df7ef81](https://github.com/KATT/raf-query/commit/df7ef816d33039166686cfe1113333bb6c444a27))
17
+ - type options by a bag instead of positional type arguments ([#69](https://github.com/KATT/raf-query/issues/69)) ([df7ef81](https://github.com/KATT/raf-query/commit/df7ef816d33039166686cfe1113333bb6c444a27))
12
18
 
13
19
  ## [0.4.5](https://github.com/KATT/raf-query/compare/0.4.4...0.4.5) (2026-10-14)
14
20
 
@@ -8,30 +8,32 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/devtools-panel.tsx
9
9
  const palettes = {
10
10
  dark: {
11
- accent: "#38bdf8",
11
+ accent: "#978bff",
12
12
  background: "#0f172a",
13
- boolean: "#c084fc",
13
+ boolean: "#f472b6",
14
14
  border: "#334155",
15
15
  muted: "#94a3b8",
16
16
  number: "#fbbf24",
17
17
  raised: "#1e293b",
18
- selected: "#1e3a5f",
18
+ selected: "#2b2653",
19
19
  string: "#4ade80",
20
20
  text: "#e2e8f0"
21
21
  },
22
22
  light: {
23
- accent: "#0369a1",
23
+ accent: "#6c48ea",
24
24
  background: "#ffffff",
25
- boolean: "#7e22ce",
25
+ boolean: "#be185d",
26
26
  border: "#cbd5e1",
27
27
  muted: "#64748b",
28
28
  number: "#b45309",
29
29
  raised: "#f1f5f9",
30
- selected: "#dbeafe",
30
+ selected: "#e9e8ff",
31
31
  string: "#15803d",
32
32
  text: "#0f172a"
33
33
  }
34
34
  };
35
+ /** The logo's gradient: blue through violet to coral. */
36
+ const brandGradient = "linear-gradient(135deg, #3b8eea, #7b5cff, #ff4d6d)";
35
37
  const statusColors = {
36
38
  error: "#dc2626",
37
39
  fetching: "#2563eb",
@@ -766,7 +768,7 @@ function DockedDevtools(props) {
766
768
  children: [/* @__PURE__ */ jsx("span", {
767
769
  "aria-hidden": true,
768
770
  style: {
769
- background: palette.accent,
771
+ background: brandGradient,
770
772
  borderRadius: 999,
771
773
  height: 8,
772
774
  width: 8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raf-query/react",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "React bindings for raf-query, a render-as-you-fetch query library",
5
5
  "keywords": [
6
6
  "query",
@@ -47,7 +47,7 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@raf-query/core": "0.5.0"
50
+ "@raf-query/core": "0.5.1"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@tanstack/react-router": "^1.170.0",