@sanity/vision 6.20.0-next.41 → 6.20.0-next.58
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/bundle.css
CHANGED
|
@@ -1 +1,350 @@
|
|
|
1
|
-
#sanity
|
|
1
|
+
#sanity {
|
|
2
|
+
--static-css-file-loaded-vision: true;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
._1o4e43l3 {
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
display: flex;
|
|
10
|
+
position: relative;
|
|
11
|
+
overflow: clip;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
._1o4e43l3 .cm-theme {
|
|
15
|
+
width: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
._1o4e43l3 .cm-editor {
|
|
19
|
+
height: 100%;
|
|
20
|
+
font-size: 16px;
|
|
21
|
+
line-height: 21px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
._1o4e43l3 .cm-line {
|
|
25
|
+
padding-left: var(--_1o4e43l0);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
._1o4e43l3 .cm-content {
|
|
29
|
+
padding-top: var(--_1o4e43l2);
|
|
30
|
+
border-right-width: var(--_1o4e43l1) !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.phmces0 .sidebarPanes .Pane {
|
|
34
|
+
overflow: hidden auto;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.phmces1 {
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.phmces2 {
|
|
43
|
+
min-height: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.phmces0 .Resizer {
|
|
47
|
+
background: var(--card-border-color);
|
|
48
|
+
opacity: 1;
|
|
49
|
+
z-index: 1;
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
background-clip: padding-box;
|
|
52
|
+
border: solid #0000;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.phmces0 .Resizer:hover {
|
|
56
|
+
border-color: var(--card-shadow-ambient-color);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.phmces0 .Resizer.horizontal {
|
|
60
|
+
cursor: row-resize;
|
|
61
|
+
z-index: 4;
|
|
62
|
+
border-width: 5px 0;
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 11px;
|
|
65
|
+
margin: -5px 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.phmces0 .Resizer.vertical {
|
|
69
|
+
cursor: col-resize;
|
|
70
|
+
z-index: 2;
|
|
71
|
+
border-width: 0 5px;
|
|
72
|
+
width: 11px;
|
|
73
|
+
margin: 0 -5px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.phmces0 .Resizer.disabled {
|
|
77
|
+
cursor: not-allowed;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.phmces0 .Resizer.disabled:hover {
|
|
81
|
+
border-color: #0000;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.phmces3 {
|
|
85
|
+
z-index: 6;
|
|
86
|
+
border-bottom: 1px solid var(--card-border-color);
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
position: relative;
|
|
89
|
+
overflow: visible;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.phmces3.phmces3 {
|
|
93
|
+
background: var(--card-bg-color);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.phmces4 {
|
|
97
|
+
flex: 1;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.phmces5 {
|
|
101
|
+
z-index: 1;
|
|
102
|
+
min-height: 0;
|
|
103
|
+
position: relative;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.phmces6 {
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
margin-right: auto;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.phmces7 {
|
|
112
|
+
z-index: 10;
|
|
113
|
+
margin: 0;
|
|
114
|
+
padding: 0;
|
|
115
|
+
position: absolute;
|
|
116
|
+
top: 1rem;
|
|
117
|
+
left: 0;
|
|
118
|
+
right: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.phmces7 .phmces4 {
|
|
122
|
+
-webkit-user-select: none;
|
|
123
|
+
user-select: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.phmces8 {
|
|
127
|
+
left: 33px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.phmces9 {
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
width: 100%;
|
|
133
|
+
height: 100%;
|
|
134
|
+
position: relative;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.phmcesa {
|
|
138
|
+
height: 100%;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.phmcesb {
|
|
142
|
+
position: relative;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.phmcesc {
|
|
146
|
+
width: 100%;
|
|
147
|
+
max-width: 100%;
|
|
148
|
+
height: 100%;
|
|
149
|
+
position: absolute;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.phmcesd.phmcesd:after {
|
|
153
|
+
content: "";
|
|
154
|
+
background-color: var(--card-bg-color);
|
|
155
|
+
width: 100%;
|
|
156
|
+
position: absolute;
|
|
157
|
+
top: 0;
|
|
158
|
+
bottom: 0;
|
|
159
|
+
left: 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.phmcese {
|
|
163
|
+
z-index: 20;
|
|
164
|
+
width: 100%;
|
|
165
|
+
height: 100%;
|
|
166
|
+
position: relative;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.phmcesf {
|
|
170
|
+
border-top: 1px solid var(--card-border-color);
|
|
171
|
+
flex-wrap: wrap;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.phmcesg {
|
|
175
|
+
position: relative;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.phmcesi {
|
|
179
|
+
height: 100%;
|
|
180
|
+
min-height: var(--phmcesh);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.phmcesj {
|
|
184
|
+
position: relative;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.phmcesl.phmcesl {
|
|
188
|
+
transform: initial;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.phmcesl.phmcesl:before, .phmcesl.phmcesl:after {
|
|
192
|
+
content: none;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.phmcesl > span {
|
|
196
|
+
gap: var(--phmcesk);
|
|
197
|
+
flex-wrap: wrap;
|
|
198
|
+
align-items: center;
|
|
199
|
+
display: flex !important;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.phmcesm {
|
|
203
|
+
border-top: 1px solid var(--card-border-color);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
._116oler0 {
|
|
207
|
+
background: var(--card-bg-color);
|
|
208
|
+
z-index: 1;
|
|
209
|
+
flex-shrink: 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
._116oler1 {
|
|
213
|
+
width: 100%;
|
|
214
|
+
min-width: 0;
|
|
215
|
+
min-height: 0;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
._116oler2 {
|
|
219
|
+
min-height: 0;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
._1mjpm8q0 {
|
|
223
|
+
max-width: 240px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
._1mjpm8q1 {
|
|
227
|
+
cursor: pointer;
|
|
228
|
+
margin-right: auto;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
._1mjpm8q2 {
|
|
232
|
+
width: 4px;
|
|
233
|
+
height: 4px;
|
|
234
|
+
box-shadow: 0 0 0 1px var(--card-bg-color);
|
|
235
|
+
border-radius: 3px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.qq7z3z0.qq7z3z0 {
|
|
239
|
+
color: var(--card-muted-fg-color);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.ujs8fmc .json-inspector, .ujs8fmc .json-inspector .json-inspector__selection {
|
|
243
|
+
font-family: var(--ujs8fm0);
|
|
244
|
+
font-size: var(--ujs8fm1);
|
|
245
|
+
line-height: var(--ujs8fm2);
|
|
246
|
+
color: var(--card-code-fg-color);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.ujs8fmc .json-inspector .json-inspector__leaf {
|
|
250
|
+
padding-left: var(--ujs8fm5);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.ujs8fmc .json-inspector .json-inspector__leaf.json-inspector__leaf_root {
|
|
254
|
+
padding-top: var(--ujs8fm3);
|
|
255
|
+
padding-left: 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.ujs8fmc .json-inspector > .json-inspector__leaf_root > .json-inspector__line > .json-inspector__key {
|
|
259
|
+
display: none;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.ujs8fmc .json-inspector .json-inspector__line {
|
|
263
|
+
cursor: default;
|
|
264
|
+
display: block;
|
|
265
|
+
position: relative;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.ujs8fmc .json-inspector .json-inspector__line:after {
|
|
269
|
+
content: "";
|
|
270
|
+
z-index: -1;
|
|
271
|
+
pointer-events: none;
|
|
272
|
+
position: absolute;
|
|
273
|
+
inset: 0 -50px 0 -200px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.ujs8fmc .json-inspector .json-inspector__line:hover:after {
|
|
277
|
+
background: var(--card-code-bg-color);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.ujs8fmc .json-inspector .json-inspector__leaf_composite > .json-inspector__line {
|
|
281
|
+
cursor: pointer;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.ujs8fmc .json-inspector .json-inspector__leaf_composite > .json-inspector__line:before {
|
|
285
|
+
content: "▸ ";
|
|
286
|
+
margin-left: calc(0px - var(--ujs8fm5));
|
|
287
|
+
font-size: var(--ujs8fm1);
|
|
288
|
+
line-height: var(--ujs8fm2);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.ujs8fmc .json-inspector .json-inspector__leaf_expanded.json-inspector__leaf_composite > .json-inspector__line:before {
|
|
292
|
+
content: "▾ ";
|
|
293
|
+
font-size: var(--ujs8fm1);
|
|
294
|
+
line-height: var(--ujs8fm2);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.ujs8fmc .json-inspector .json-inspector__radio, .ujs8fmc .json-inspector .json-inspector__flatpath {
|
|
298
|
+
display: none;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.ujs8fmc .json-inspector .json-inspector__value {
|
|
302
|
+
margin-left: var(--ujs8fm6);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.ujs8fmc .json-inspector > .json-inspector__leaf_root > .json-inspector__line > .json-inspector__key + .json-inspector__value {
|
|
306
|
+
margin: 0;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.ujs8fmc .json-inspector .json-inspector__key {
|
|
310
|
+
color: var(--ujs8fm7);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.ujs8fmc .json-inspector .json-inspector__value_helper, .ujs8fmc .json-inspector .json-inspector__value_null {
|
|
314
|
+
color: var(--ujs8fm8);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.ujs8fmc .json-inspector .json-inspector__not-found {
|
|
318
|
+
padding-top: var(--ujs8fm4);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.ujs8fmc .json-inspector .json-inspector__value_string {
|
|
322
|
+
color: var(--ujs8fm9);
|
|
323
|
+
word-break: break-word;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.ujs8fmc .json-inspector .json-inspector__value_boolean {
|
|
327
|
+
color: var(--ujs8fma);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.ujs8fmc .json-inspector .json-inspector__value_number {
|
|
331
|
+
color: var(--ujs8fmb);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.ujs8fmc .json-inspector .json-inspector__show-original {
|
|
335
|
+
cursor: pointer;
|
|
336
|
+
padding: 0 6px;
|
|
337
|
+
display: inline-block;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.ujs8fmc .json-inspector .json-inspector__show-original:hover {
|
|
341
|
+
color: inherit;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.ujs8fmc .json-inspector .json-inspector__show-original:before {
|
|
345
|
+
content: "↔";
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.ujs8fmc .json-inspector .json-inspector__show-original:hover:after {
|
|
349
|
+
content: " expand";
|
|
350
|
+
}
|
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-CzPeT0iH.js")),
|
|
16
16
|
options: config,
|
|
17
17
|
router: route.create("/*"),
|
|
18
18
|
__internalApplicationType: "sanity/vision"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/vision",
|
|
3
|
-
"version": "6.20.0-next.
|
|
3
|
+
"version": "6.20.0-next.58",
|
|
4
4
|
"description": "Sanity plugin for running/debugging GROQ-queries against Sanity datasets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"admin",
|
|
@@ -56,7 +56,7 @@
|
|
|
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.4.
|
|
59
|
+
"@sanity/ui": "^4.4.9",
|
|
60
60
|
"@sanity/uuid": "^3.0.3",
|
|
61
61
|
"@uiw/react-codemirror": "^4.25.12",
|
|
62
62
|
"@vanilla-extract/dynamic": "^2.1.5",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"json5": "^2.2.3",
|
|
67
67
|
"lodash-es": "^4.18.1",
|
|
68
68
|
"quick-lru": "^7.3.0",
|
|
69
|
-
"react-rx": "^7.0
|
|
69
|
+
"react-rx": "^7.1.0",
|
|
70
70
|
"rxjs": "^7.8.2",
|
|
71
71
|
"ui5": "npm:@sanity/ui@5.0.0-alpha.14",
|
|
72
72
|
"use-effect-event": "^2.0.4"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"oxc-transform-react": "^0.154.0",
|
|
87
87
|
"react": "^19.3.1",
|
|
88
88
|
"react-dom": "^19.3.1",
|
|
89
|
-
"sanity": "6.20.0-next.
|
|
89
|
+
"sanity": "6.20.0-next.58+5b64bab347",
|
|
90
90
|
"styled-components": "^6.6.0",
|
|
91
91
|
"tsdown": "^0.23.1",
|
|
92
92
|
"typescript": "^7.0.2",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
97
|
"react": "^19.2.2",
|
|
98
|
-
"sanity": "^6.20.0-next.
|
|
98
|
+
"sanity": "^6.20.0-next.58+5b64bab347"
|
|
99
99
|
},
|
|
100
100
|
"browserslist": [
|
|
101
101
|
"node >=22.12",
|