sanity 5.0.0-next-major.14 → 5.0.0-next-major.6
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/bin/sanity +2 -1
- package/lib/_chunks-es/LiveQueries.js +1 -1
- package/lib/_chunks-es/LiveQueries.js.map +1 -1
- package/lib/_chunks-es/MenuGroup.js +3 -3
- package/lib/_chunks-es/MenuGroup.js.map +1 -1
- package/lib/_chunks-es/PostMessagePreviewSnapshots.js +2 -2
- package/lib/_chunks-es/PostMessagePreviewSnapshots.js.map +1 -1
- package/lib/_chunks-es/PresentationToolGrantsCheck.js +54 -54
- package/lib/_chunks-es/PresentationToolGrantsCheck.js.map +1 -1
- package/lib/_chunks-es/QRCodeSVG.js +1 -1
- package/lib/_chunks-es/QRCodeSVG.js.map +1 -1
- package/lib/_chunks-es/StructureToolProvider.js +1 -1
- package/lib/_chunks-es/StructureToolProvider.js.map +1 -1
- package/lib/_chunks-es/VideoPlayer.js +1 -1
- package/lib/_chunks-es/VideoPlayer.js.map +1 -1
- package/lib/_chunks-es/ViteDevServerStopped.js +6 -6
- package/lib/_chunks-es/ViteDevServerStopped.js.map +1 -1
- package/lib/_chunks-es/_internal.js +1 -1
- package/lib/_chunks-es/_internal.js.map +1 -1
- package/lib/_chunks-es/deployApiAction.js +1 -1
- package/lib/_chunks-es/deployApiAction.js.map +1 -1
- package/lib/_chunks-es/execScript.js +2 -1
- package/lib/_chunks-es/execScript.js.map +1 -1
- package/lib/_chunks-es/exportAssetsAction.js +1 -1
- package/lib/_chunks-es/exportAssetsAction.js.map +1 -1
- package/lib/_chunks-es/extractAction.js +2 -1
- package/lib/_chunks-es/extractAction.js.map +1 -1
- package/lib/_chunks-es/extractManifestAction.js +2 -1
- package/lib/_chunks-es/extractManifestAction.js.map +1 -1
- package/lib/_chunks-es/generate-help-url.esm.js +1 -1
- package/lib/_chunks-es/generate-help-url.esm.js.map +1 -1
- package/lib/_chunks-es/getGraphQLAPIs.js +2 -1
- package/lib/_chunks-es/getGraphQLAPIs.js.map +1 -1
- package/lib/_chunks-es/helpers.js +2 -1
- package/lib/_chunks-es/helpers.js.map +1 -1
- package/lib/_chunks-es/index2.js +1 -1
- package/lib/_chunks-es/index2.js.map +1 -1
- package/lib/_chunks-es/index3.js +8 -8
- package/lib/_chunks-es/index3.js.map +1 -1
- package/lib/_chunks-es/package.js +1 -1
- package/lib/_chunks-es/pane.js +140 -140
- package/lib/_chunks-es/pane.js.map +1 -1
- package/lib/_chunks-es/presentation.js +4 -4
- package/lib/_chunks-es/presentation.js.map +1 -1
- package/lib/_chunks-es/previewServer.js +2 -1
- package/lib/_chunks-es/previewServer.js.map +1 -1
- package/lib/_chunks-es/runtime.js +14 -13
- package/lib/_chunks-es/runtime.js.map +1 -1
- package/lib/_chunks-es/validateAction.js +2 -1
- package/lib/_chunks-es/validateAction.js.map +1 -1
- package/lib/_chunks-es/validateAction2.js +2 -1
- package/lib/_chunks-es/validateAction2.js.map +1 -1
- package/lib/_chunks-es/version.js +1 -1
- package/lib/_internal/cli/threads/validateDocuments.cjs +1 -1
- package/lib/_internal/cli/threads/validateDocuments.cjs.map +1 -1
- package/lib/_singletons.d.ts +82 -2
- package/lib/_singletons.js +6 -2
- package/lib/_singletons.js.map +1 -1
- package/lib/desk.d.ts +28 -2
- package/lib/index.d.ts +30 -1
- package/lib/index.js +3573 -3172
- package/lib/index.js.map +1 -1
- package/lib/presentation.d.ts +14 -1
- package/lib/structure.d.ts +14 -1
- package/package.json +32 -32
package/lib/presentation.d.ts
CHANGED
|
@@ -282,7 +282,11 @@ declare interface ArrayOfObjectsInputProps<
|
|
|
282
282
|
/**
|
|
283
283
|
* @hidden
|
|
284
284
|
* @beta */
|
|
285
|
-
onUpload
|
|
285
|
+
onUpload?: (event: UploadEvent) => void
|
|
286
|
+
/**
|
|
287
|
+
* @hidden
|
|
288
|
+
* @beta */
|
|
289
|
+
onSelectFile?: (props: InputOnSelectFileFunctionProps) => void
|
|
286
290
|
/**
|
|
287
291
|
* @hidden
|
|
288
292
|
* @beta */
|
|
@@ -2647,6 +2651,15 @@ declare interface InitialValueSuccessMsg {
|
|
|
2647
2651
|
|
|
2648
2652
|
declare type Input = Omit<SetPreviewSearchParamEvent, 'type'>
|
|
2649
2653
|
|
|
2654
|
+
/**
|
|
2655
|
+
* @hidden
|
|
2656
|
+
* @beta */
|
|
2657
|
+
declare interface InputOnSelectFileFunctionProps {
|
|
2658
|
+
assetSource: AssetSource
|
|
2659
|
+
schemaType: SchemaType
|
|
2660
|
+
file: File
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2650
2663
|
/**
|
|
2651
2664
|
* @hidden
|
|
2652
2665
|
* @public */
|
package/lib/structure.d.ts
CHANGED
|
@@ -284,7 +284,11 @@ declare interface ArrayOfObjectsInputProps<
|
|
|
284
284
|
/**
|
|
285
285
|
* @hidden
|
|
286
286
|
* @beta */
|
|
287
|
-
onUpload
|
|
287
|
+
onUpload?: (event: UploadEvent) => void
|
|
288
|
+
/**
|
|
289
|
+
* @hidden
|
|
290
|
+
* @beta */
|
|
291
|
+
onSelectFile?: (props: InputOnSelectFileFunctionProps) => void
|
|
288
292
|
/**
|
|
289
293
|
* @hidden
|
|
290
294
|
* @beta */
|
|
@@ -4175,6 +4179,15 @@ export declare class InitialValueTemplateItemBuilder implements Serializable<Ini
|
|
|
4175
4179
|
clone(withSpec?: Partial<InitialValueTemplateItem>): InitialValueTemplateItemBuilder
|
|
4176
4180
|
}
|
|
4177
4181
|
|
|
4182
|
+
/**
|
|
4183
|
+
* @hidden
|
|
4184
|
+
* @beta */
|
|
4185
|
+
declare interface InputOnSelectFileFunctionProps {
|
|
4186
|
+
assetSource: AssetSource
|
|
4187
|
+
schemaType: SchemaType
|
|
4188
|
+
file: File
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4178
4191
|
/**
|
|
4179
4192
|
* @hidden
|
|
4180
4193
|
* @public */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity",
|
|
3
|
-
"version": "5.0.0-next-major.
|
|
3
|
+
"version": "5.0.0-next-major.6+555be27666",
|
|
4
4
|
"description": "Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -120,12 +120,12 @@
|
|
|
120
120
|
"@isaacs/ttlcache": "^1.4.1",
|
|
121
121
|
"@juggle/resize-observer": "^3.4.0",
|
|
122
122
|
"@mux/mux-player-react": "^3.8.0",
|
|
123
|
-
"@portabletext/block-tools": "^4.1.
|
|
124
|
-
"@portabletext/editor": "^3.
|
|
125
|
-
"@portabletext/patches": "^2.0.
|
|
126
|
-
"@portabletext/plugin-markdown-shortcuts": "^4.0.
|
|
127
|
-
"@portabletext/plugin-one-line": "^3.0.
|
|
128
|
-
"@portabletext/plugin-typography": "^4.0.
|
|
123
|
+
"@portabletext/block-tools": "^4.1.9",
|
|
124
|
+
"@portabletext/editor": "^3.3.5",
|
|
125
|
+
"@portabletext/patches": "^2.0.1",
|
|
126
|
+
"@portabletext/plugin-markdown-shortcuts": "^4.0.25",
|
|
127
|
+
"@portabletext/plugin-one-line": "^3.0.25",
|
|
128
|
+
"@portabletext/plugin-typography": "^4.0.25",
|
|
129
129
|
"@portabletext/react": "^5.0.0",
|
|
130
130
|
"@portabletext/toolkit": "^4.0.0",
|
|
131
131
|
"@rexxars/react-json-inspector": "^9.0.1",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"@sanity/diff-match-patch": "^3.2.0",
|
|
138
138
|
"@sanity/diff-patch": "^5.0.0",
|
|
139
139
|
"@sanity/eventsource": "^5.0.2",
|
|
140
|
-
"@sanity/export": "^
|
|
140
|
+
"@sanity/export": "^5.0.1",
|
|
141
141
|
"@sanity/icons": "^3.7.4",
|
|
142
142
|
"@sanity/id-utils": "^1.0.0",
|
|
143
143
|
"@sanity/image-url": "^2.0.1",
|
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
"exif-component": "^1.0.1",
|
|
182
182
|
"fast-deep-equal": "3.1.3",
|
|
183
183
|
"form-data": "^4.0.5",
|
|
184
|
-
"get-it": "^8.
|
|
185
|
-
"groq-js": "^1.
|
|
184
|
+
"get-it": "^8.7.0",
|
|
185
|
+
"groq-js": "^1.23.0",
|
|
186
186
|
"gunzip-maybe": "^1.4.2",
|
|
187
187
|
"history": "^5.3.0",
|
|
188
188
|
"i18next": "^23.16.8",
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"log-symbols": "^2.2.0",
|
|
200
200
|
"mendoza": "^3.0.8",
|
|
201
201
|
"module-alias": "^2.2.3",
|
|
202
|
-
"motion": "^12.23.
|
|
202
|
+
"motion": "^12.23.25",
|
|
203
203
|
"nano-pubsub": "^3.0.0",
|
|
204
204
|
"nanoid": "^3.3.11",
|
|
205
205
|
"node-html-parser": "^6.1.13",
|
|
@@ -219,9 +219,9 @@
|
|
|
219
219
|
"raf": "^3.4.1",
|
|
220
220
|
"react-compiler-runtime": "1.0.0",
|
|
221
221
|
"react-fast-compare": "^3.2.2",
|
|
222
|
-
"react-focus-lock": "^2.13.
|
|
222
|
+
"react-focus-lock": "^2.13.7",
|
|
223
223
|
"react-i18next": "15.6.1",
|
|
224
|
-
"react-is": "^19.2.
|
|
224
|
+
"react-is": "^19.2.1",
|
|
225
225
|
"react-refractor": "^4.0.0",
|
|
226
226
|
"react-rx": "^4.2.2",
|
|
227
227
|
"read-pkg-up": "^7.0.1",
|
|
@@ -246,25 +246,25 @@
|
|
|
246
246
|
"use-hot-module-reload": "^2.0.0",
|
|
247
247
|
"use-sync-external-store": "^1.6.0",
|
|
248
248
|
"uuid": "^11.1.0",
|
|
249
|
-
"vite": "^7.2.
|
|
249
|
+
"vite": "^7.2.6",
|
|
250
250
|
"which": "^5.0.0",
|
|
251
251
|
"xstate": "^5.24.0",
|
|
252
252
|
"yargs": "^17.7.2",
|
|
253
|
-
"@sanity/cli": "5.0.0-next-major.
|
|
254
|
-
"@sanity/migrate": "5.0.0-next-major.
|
|
255
|
-
"@sanity/
|
|
256
|
-
"@sanity/
|
|
257
|
-
"@sanity/
|
|
258
|
-
"@sanity/util": "5.0.0-next-major.
|
|
259
|
-
"@sanity/types": "5.0.0-next-major.
|
|
253
|
+
"@sanity/cli": "5.0.0-next-major.6+555be27666",
|
|
254
|
+
"@sanity/migrate": "5.0.0-next-major.6+555be27666",
|
|
255
|
+
"@sanity/schema": "5.0.0-next-major.6+555be27666",
|
|
256
|
+
"@sanity/diff": "5.0.0-next-major.6+555be27666",
|
|
257
|
+
"@sanity/mutator": "5.0.0-next-major.6+555be27666",
|
|
258
|
+
"@sanity/util": "5.0.0-next-major.6+555be27666",
|
|
259
|
+
"@sanity/types": "5.0.0-next-major.6+555be27666"
|
|
260
260
|
},
|
|
261
261
|
"devDependencies": {
|
|
262
262
|
"@playwright/experimental-ct-react": "1.56.1",
|
|
263
263
|
"@playwright/test": "1.56.1",
|
|
264
264
|
"@sanity/descriptors": "^1.2.1",
|
|
265
265
|
"@sanity/eslint-config-i18n": "^2.0.0",
|
|
266
|
-
"@sanity/generate-help-url": "^3.0.
|
|
267
|
-
"@sanity/pkg-utils": "^10.
|
|
266
|
+
"@sanity/generate-help-url": "^3.0.1",
|
|
267
|
+
"@sanity/pkg-utils": "^10.1.2",
|
|
268
268
|
"@sanity/ui-workshop": "^3.4.0",
|
|
269
269
|
"@sanity/visual-editing-csm": "^2.0.26",
|
|
270
270
|
"@sentry/types": "^8.55.0",
|
|
@@ -295,20 +295,20 @@
|
|
|
295
295
|
"eslint-plugin-boundaries": "^5.3.0",
|
|
296
296
|
"eslint-plugin-testing-library": "^7.13.5",
|
|
297
297
|
"globals": "^16.2.0",
|
|
298
|
-
"react": "^19.2.
|
|
299
|
-
"react-dom": "^19.2.
|
|
298
|
+
"react": "^19.2.1",
|
|
299
|
+
"react-dom": "^19.2.1",
|
|
300
300
|
"rxjs-etc": "^10.6.2",
|
|
301
301
|
"styled-components": "npm:@sanity/styled-components@^6.1.24",
|
|
302
302
|
"swr": "2.2.5",
|
|
303
303
|
"vitest": "^3.2.4",
|
|
304
304
|
"vitest-package-exports": "^0.1.1",
|
|
305
|
-
"@repo/
|
|
306
|
-
"@repo/
|
|
307
|
-
"@repo/
|
|
308
|
-
"@repo/
|
|
309
|
-
"@
|
|
310
|
-
"@
|
|
311
|
-
"@repo/
|
|
305
|
+
"@repo/eslint-config": "5.0.0-next-major.6+555be27666",
|
|
306
|
+
"@repo/package.bundle": "5.0.0-next-major.6+555be27666",
|
|
307
|
+
"@repo/dev-aliases": "5.0.0-next-major.6+555be27666",
|
|
308
|
+
"@repo/test-config": "5.0.0-next-major.6+555be27666",
|
|
309
|
+
"@repo/package.config": "5.0.0-next-major.6+555be27666",
|
|
310
|
+
"@sanity/codegen": "5.0.0-next-major.6+555be27666",
|
|
311
|
+
"@repo/tsconfig": "5.0.0-next-major.6+555be27666"
|
|
312
312
|
},
|
|
313
313
|
"peerDependencies": {
|
|
314
314
|
"react": "^19.2",
|