@sanity/vision 6.18.0-next.35 → 6.18.0-next.62

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +10 -10
package/README.md CHANGED
@@ -16,9 +16,9 @@ Vision is a plugin for Sanity Studio for testing GROQ queries. It features:
16
16
  ### Configuring
17
17
 
18
18
  ```ts
19
+ import {visionTool} from '@sanity/vision'
19
20
  // `sanity.config.ts` / `sanity.config.js`:
20
21
  import {defineConfig} from 'sanity'
21
- import {visionTool} from '@sanity/vision'
22
22
 
23
23
  export default defineConfig({
24
24
  // ...
@@ -37,9 +37,9 @@ export default defineConfig({
37
37
  If you only want the Vision tool available in development (e.g., not in deployed studios), you can import and use the `isDev` constant from the `sanity` package:
38
38
 
39
39
  ```ts
40
+ import {visionTool} from '@sanity/vision'
40
41
  // `sanity.config.ts` / `sanity.config.js`:
41
42
  import {defineConfig, isDev} from 'sanity'
42
- import {visionTool} from '@sanity/vision'
43
43
 
44
44
  const devOnlyPlugins = [visionTool()]
45
45
 
@@ -57,9 +57,9 @@ export default defineConfig({
57
57
  If you only want the Vision tool available to administrators, you can use the [Tool API](https://www.sanity.io/docs/studio-tools) to filter out the tool based on role:
58
58
 
59
59
  ```ts
60
+ import {visionTool} from '@sanity/vision'
60
61
  // `sanity.config.ts` / `sanity.config.js`:
61
62
  import {defineConfig} from 'sanity'
62
- import {visionTool} from '@sanity/vision'
63
63
 
64
64
  export default defineConfig({
65
65
  // ... name, title, projectId, dataset, etc.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/vision",
3
- "version": "6.18.0-next.35",
3
+ "version": "6.18.0-next.62",
4
4
  "description": "Sanity plugin for running/debugging GROQ-queries against Sanity datasets",
5
5
  "keywords": [
6
6
  "admin",
@@ -52,11 +52,11 @@
52
52
  "@lezer/highlight": "^1.2.3",
53
53
  "@rexxars/react-json-inspector": "^9.0.1",
54
54
  "@rexxars/react-split-pane": "^1.0.0",
55
- "@sanity/client": "^8.7.0",
55
+ "@sanity/client": "^8.9.0",
56
56
  "@sanity/color": "^3.0.9",
57
57
  "@sanity/icons": "^5.2.3",
58
58
  "@sanity/lezer-groq": "^1.0.4",
59
- "@sanity/ui": "^4.3.0",
59
+ "@sanity/ui": "^4.3.1",
60
60
  "@sanity/uuid": "^3.0.3",
61
61
  "@uiw/react-codemirror": "^4.25.12",
62
62
  "@vanilla-extract/dynamic": "^2.1.5",
@@ -68,7 +68,7 @@
68
68
  "quick-lru": "^7.3.0",
69
69
  "react-rx": "^7.0.1",
70
70
  "rxjs": "^7.8.2",
71
- "ui5": "npm:@sanity/ui@5.0.0-alpha.12",
71
+ "ui5": "npm:@sanity/ui@5.0.0-alpha.14",
72
72
  "use-effect-event": "^2.0.4"
73
73
  },
74
74
  "devDependencies": {
@@ -76,22 +76,22 @@
76
76
  "@repo/test-config": "6.9.2",
77
77
  "@repo/tsconfig": "6.9.2",
78
78
  "@repo/tsdown.config": "6.9.2",
79
- "@sanity/vanilla-extract-vite-plugin": "^0.2.21",
79
+ "@sanity/vanilla-extract-vite-plugin": "^0.2.23",
80
80
  "@testing-library/react": "^16.3.3",
81
81
  "@types/lodash-es": "^4.17.12",
82
82
  "@types/react": "^19.3.0",
83
83
  "@vanilla-extract/css": "^1.21.2",
84
- "@vitejs/plugin-react": "^6.1.1",
84
+ "@vitejs/plugin-react": "^6.1.2",
85
85
  "jsdom": "^29.1.1",
86
- "oxc-transform-react": "^0.152.0",
86
+ "oxc-transform-react": "^0.153.0",
87
87
  "react": "^19.3.0",
88
88
  "react-dom": "^19.3.0",
89
- "sanity": "6.18.0-next.35+8f3e8666ad",
89
+ "sanity": "6.18.0-next.62+c7b0c0364b",
90
90
  "styled-components": "^6.5.3",
91
91
  "tsdown": "^0.23.0",
92
92
  "typescript": "^7.0.2",
93
- "vite": "^8.3.2",
94
- "vitest": "^5.0.1"
93
+ "vite": "^8.3.3",
94
+ "vitest": "^5.0.3"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "react": "^19.2.2",