@sanity/vision 6.9.0-next.9 → 6.9.0
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/lib/index.js
CHANGED
|
@@ -12,7 +12,7 @@ const visionTool = definePlugin((options) => {
|
|
|
12
12
|
name: name || "vision",
|
|
13
13
|
title: title || "Vision",
|
|
14
14
|
icon: icon || EyeOpenIcon,
|
|
15
|
-
component: lazy(() => import("./SanityVision-
|
|
15
|
+
component: lazy(() => import("./SanityVision-CQ0yUM4l.js")),
|
|
16
16
|
options: config,
|
|
17
17
|
router: route.create("/*"),
|
|
18
18
|
__internalApplicationType: "sanity/vision"
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/visionTool.ts"],"sourcesContent":["import './styles.css'\n\nimport {EyeOpenIcon} from '@sanity/icons/EyeOpen'\nimport {lazy} from 'react'\nimport {definePlugin} from 'sanity'\nimport {route} from 'sanity/router'\n\nimport {visionUsEnglishLocaleBundle} from './i18n'\nimport {type VisionToolConfig} from './types'\n\nexport const visionTool = definePlugin<VisionToolConfig | void>((options) => {\n const {name, title, icon, ...config} = options || {}\n return {\n name: '@sanity/vision',\n tools: [\n {\n name: name || 'vision',\n title: title || 'Vision',\n icon: icon || EyeOpenIcon,\n component: lazy(() => import('./SanityVision')),\n options: config,\n router: route.create('/*'),\n __internalApplicationType: 'sanity/vision',\n },\n ],\n i18n: {\n bundles: [visionUsEnglishLocaleBundle],\n },\n }\n})\n"],"mappings":";;;;;;AAUA,MAAA,aAAA,cAAA,YAAA;CACE,IAAA,EAAA,MAAA,OAAA,MAAA,GAAA,WAAA,WAAA,CAAA;CACA,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","names":["EyeOpenIcon","lazy","definePlugin","route","visionUsEnglishLocaleBundle","VisionToolConfig","visionTool","options","name","title","icon","config","tools","component","router","create","__internalApplicationType","i18n","bundles"],"sources":["../src/visionTool.ts"],"sourcesContent":["import './styles.css'\n\nimport {EyeOpenIcon} from '@sanity/icons/EyeOpen'\nimport {lazy} from 'react'\nimport {definePlugin} from 'sanity'\nimport {route} from 'sanity/router'\n\nimport {visionUsEnglishLocaleBundle} from './i18n'\nimport {type VisionToolConfig} from './types'\n\nexport const visionTool = definePlugin<VisionToolConfig | void>((options) => {\n const {name, title, icon, ...config} = options || {}\n return {\n name: '@sanity/vision',\n tools: [\n {\n name: name || 'vision',\n title: title || 'Vision',\n icon: icon || EyeOpenIcon,\n component: lazy(() => import('./SanityVision')),\n options: config,\n router: route.create('/*'),\n __internalApplicationType: 'sanity/vision',\n },\n ],\n i18n: {\n bundles: [visionUsEnglishLocaleBundle],\n },\n }\n})\n"],"mappings":";;;;;;AAUA,MAAA,aAAA,cAAA,YAAA;CACE,IAAA,EAAA,MAAA,OAAA,MAAA,GAAA,WAAA,WAAA,CAAA;CACA,OAAA;EACEQ,MAAAA;EACAI,OAAAA,CAAAA;GAEIJ,MAAAA,QAAAA;GACAC,OAAAA,SAAAA;GACAC,MAAAA,QAAAA;GACAG,WAAAA,WAAAA,OAAAA,6BAAAA;GACAN,SAAAA;GACAO,QAAAA,MAAAA,OAAAA,IAAAA;GACAE,2BAAAA;EACF,CAAA;EAEFC,MAAAA,EAAAA,SAAAA,CAAAA,2BAAAA,EAAAA;CAGF;AACF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/vision",
|
|
3
|
-
"version": "6.9.0
|
|
3
|
+
"version": "6.9.0",
|
|
4
4
|
"description": "Sanity plugin for running/debugging GROQ-queries against Sanity datasets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"admin",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"@lezer/highlight": "^1.2.3",
|
|
52
52
|
"@rexxars/react-json-inspector": "^9.0.1",
|
|
53
53
|
"@rexxars/react-split-pane": "^1.0.0",
|
|
54
|
-
"@sanity/client": "^7.
|
|
54
|
+
"@sanity/client": "^7.26.0",
|
|
55
55
|
"@sanity/color": "^3.0.8",
|
|
56
56
|
"@sanity/icons": "^5.2.1",
|
|
57
57
|
"@sanity/lezer-groq": "^1.0.4",
|
|
58
|
-
"@sanity/ui": "^3.5.
|
|
58
|
+
"@sanity/ui": "^3.5.1",
|
|
59
59
|
"@sanity/uuid": "^3.0.3",
|
|
60
60
|
"@uiw/react-codemirror": "^4.25.11",
|
|
61
61
|
"@vanilla-extract/dynamic": "^2.1.5",
|
|
@@ -64,17 +64,18 @@
|
|
|
64
64
|
"json5": "^2.2.3",
|
|
65
65
|
"lodash-es": "^4.18.1",
|
|
66
66
|
"quick-lru": "^7.3.0",
|
|
67
|
-
"react-rx": "^
|
|
68
|
-
"rxjs": "^7.8.2"
|
|
67
|
+
"react-rx": "^5.1.1",
|
|
68
|
+
"rxjs": "^7.8.2",
|
|
69
|
+
"use-effect-event": "^2.0.3"
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|
|
71
72
|
"@rolldown/plugin-babel": "^0.2.3",
|
|
72
73
|
"@sanity/vanilla-extract-vite-plugin": "^0.2.8",
|
|
73
74
|
"@testing-library/react": "^16.3.2",
|
|
74
75
|
"@types/lodash-es": "^4.17.12",
|
|
75
|
-
"@types/react": "^19.2.
|
|
76
|
-
"@vanilla-extract/css": "^1.21.
|
|
77
|
-
"@vitejs/plugin-react": "^6.0.
|
|
76
|
+
"@types/react": "^19.2.18",
|
|
77
|
+
"@vanilla-extract/css": "^1.21.2",
|
|
78
|
+
"@vitejs/plugin-react": "^6.0.5",
|
|
78
79
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
79
80
|
"jsdom": "^29.1.1",
|
|
80
81
|
"react": "^19.2.8",
|
|
@@ -82,13 +83,13 @@
|
|
|
82
83
|
"styled-components": "^6.4.4",
|
|
83
84
|
"tsdown": "^0.22.14",
|
|
84
85
|
"typescript": "^7.0.2",
|
|
85
|
-
"vite": "^8.
|
|
86
|
+
"vite": "^8.2.0",
|
|
86
87
|
"vitest": "^4.1.10",
|
|
87
|
-
"@repo/package.bundle": "6.9.0
|
|
88
|
-
"@repo/
|
|
89
|
-
"@repo/
|
|
90
|
-
"@repo/
|
|
91
|
-
"sanity": "6.9.0
|
|
88
|
+
"@repo/package.bundle": "6.9.0",
|
|
89
|
+
"@repo/tsdown.config": "6.9.0",
|
|
90
|
+
"@repo/test-config": "6.9.0",
|
|
91
|
+
"@repo/tsconfig": "6.9.0",
|
|
92
|
+
"sanity": "6.9.0"
|
|
92
93
|
},
|
|
93
94
|
"peerDependencies": {
|
|
94
95
|
"react": "^19.2.2",
|