@raf-query/react 0.5.0 → 0.5.2
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 +12 -2
- package/dist/devtools-panel.mjs +9 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.2](https://github.com/KATT/raf-query/compare/0.5.1...0.5.2) (2026-10-14)
|
|
4
|
+
|
|
5
|
+
* fix demo header on mobile, explain prefetch vs ensure more concisely ([#71](https://github.com/KATT/raf-query/issues/71)) ([3909b22](https://github.com/KATT/raf-query/commit/3909b224296921aa36424c2f942b28aa8f0b3e7e))
|
|
6
|
+
|
|
7
|
+
## [0.5.1](https://github.com/KATT/raf-query/compare/0.5.0...0.5.1) (2026-10-14)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- 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))
|
|
12
|
+
|
|
3
13
|
## [0.5.0](https://github.com/KATT/raf-query/compare/0.4.5...0.5.0) (2026-10-14)
|
|
4
14
|
|
|
5
15
|
### ⚠ BREAKING CHANGES
|
|
6
16
|
|
|
7
|
-
|
|
17
|
+
- type options by a bag instead of positional type arguments ([#69](https://github.com/KATT/raf-query/issues/69))
|
|
8
18
|
|
|
9
19
|
### Features
|
|
10
20
|
|
|
11
|
-
|
|
21
|
+
- 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
22
|
|
|
13
23
|
## [0.4.5](https://github.com/KATT/raf-query/compare/0.4.4...0.4.5) (2026-10-14)
|
|
14
24
|
|
package/dist/devtools-panel.mjs
CHANGED
|
@@ -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: "#
|
|
11
|
+
accent: "#978bff",
|
|
12
12
|
background: "#0f172a",
|
|
13
|
-
boolean: "#
|
|
13
|
+
boolean: "#f472b6",
|
|
14
14
|
border: "#334155",
|
|
15
15
|
muted: "#94a3b8",
|
|
16
16
|
number: "#fbbf24",
|
|
17
17
|
raised: "#1e293b",
|
|
18
|
-
selected: "#
|
|
18
|
+
selected: "#2b2653",
|
|
19
19
|
string: "#4ade80",
|
|
20
20
|
text: "#e2e8f0"
|
|
21
21
|
},
|
|
22
22
|
light: {
|
|
23
|
-
accent: "#
|
|
23
|
+
accent: "#6c48ea",
|
|
24
24
|
background: "#ffffff",
|
|
25
|
-
boolean: "#
|
|
25
|
+
boolean: "#be185d",
|
|
26
26
|
border: "#cbd5e1",
|
|
27
27
|
muted: "#64748b",
|
|
28
28
|
number: "#b45309",
|
|
29
29
|
raised: "#f1f5f9",
|
|
30
|
-
selected: "#
|
|
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:
|
|
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.
|
|
3
|
+
"version": "0.5.2",
|
|
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.
|
|
50
|
+
"@raf-query/core": "0.5.2"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@tanstack/react-router": "^1.170.0",
|