next-sanity 9.8.32 → 9.8.34
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/dist/index.edge-light.d.ts +26 -2
- package/package.json +15 -15
|
@@ -7,7 +7,7 @@ import {default as groq} from 'groq'
|
|
|
7
7
|
import {stegaClean} from '@sanity/client/stega'
|
|
8
8
|
import {unstable__adapter} from '@sanity/client'
|
|
9
9
|
import {unstable__environment} from '@sanity/client'
|
|
10
|
-
import {
|
|
10
|
+
import {VisualEditingOptions} from '@sanity/visual-editing/react'
|
|
11
11
|
|
|
12
12
|
export {createClient}
|
|
13
13
|
|
|
@@ -29,7 +29,31 @@ export {unstable__environment}
|
|
|
29
29
|
|
|
30
30
|
export declare function VisualEditing(_props: VisualEditingProps): React.ReactNode
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare interface VisualEditingProps extends Omit<VisualEditingOptions, 'history'> {
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated The histoy adapter is already implemented
|
|
38
|
+
*/
|
|
39
|
+
history?: never
|
|
40
|
+
/**
|
|
41
|
+
* If next.config.ts is configured with a basePath we try to configure it automatically,
|
|
42
|
+
* you can disable this by setting basePath to ''.
|
|
43
|
+
* @example basePath="/my-custom-base-path"
|
|
44
|
+
* @alpha experimental and may change without notice
|
|
45
|
+
* @defaultValue process.env.__NEXT_ROUTER_BASEPATH || ''
|
|
46
|
+
*/
|
|
47
|
+
basePath?: string
|
|
48
|
+
/**
|
|
49
|
+
* If next.config.ts is configured with a `trailingSlash` we try to detect it automatically,
|
|
50
|
+
* it can be controlled manually by passing a boolean.
|
|
51
|
+
* @example trailingSlash={true}
|
|
52
|
+
* @alpha experimental and may change without notice
|
|
53
|
+
* @defaultValue Boolean(process.env.__NEXT_TRAILING_SLASH)
|
|
54
|
+
*/
|
|
55
|
+
trailingSlash?: boolean
|
|
56
|
+
}
|
|
33
57
|
|
|
34
58
|
export * from '@portabletext/react'
|
|
35
59
|
export * from '@sanity/client'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-sanity",
|
|
3
|
-
"version": "9.8.
|
|
3
|
+
"version": "9.8.34",
|
|
4
4
|
"description": "Sanity.io toolkit for Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -138,20 +138,20 @@
|
|
|
138
138
|
"browserslist": "extends @sanity/browserslist-config",
|
|
139
139
|
"dependencies": {
|
|
140
140
|
"@portabletext/react": "^3.2.0",
|
|
141
|
-
"@sanity/client": "^6.24.
|
|
142
|
-
"@sanity/next-loader": "1.2.
|
|
143
|
-
"@sanity/preview-kit": "5.1.
|
|
144
|
-
"@sanity/preview-url-secret": "2.0.
|
|
145
|
-
"@sanity/visual-editing": "2.11.
|
|
146
|
-
"groq": "^3.
|
|
141
|
+
"@sanity/client": "^6.24.3",
|
|
142
|
+
"@sanity/next-loader": "1.2.11",
|
|
143
|
+
"@sanity/preview-kit": "5.1.27",
|
|
144
|
+
"@sanity/preview-url-secret": "2.0.7",
|
|
145
|
+
"@sanity/visual-editing": "2.11.8",
|
|
146
|
+
"groq": "^3.69.0",
|
|
147
147
|
"history": "^5.3.0"
|
|
148
148
|
},
|
|
149
149
|
"devDependencies": {
|
|
150
150
|
"@sanity/browserslist-config": "^1.0.5",
|
|
151
151
|
"@sanity/eslint-config-studio": "^5.0.1",
|
|
152
|
-
"@sanity/pkg-utils": "^
|
|
152
|
+
"@sanity/pkg-utils": "^7.0.1",
|
|
153
153
|
"@sanity/webhook": "4.0.4",
|
|
154
|
-
"@types/react": "^19.0.
|
|
154
|
+
"@types/react": "^19.0.4",
|
|
155
155
|
"@types/react-dom": "^19.0.2",
|
|
156
156
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
157
157
|
"@vitest/coverage-v8": "^2.1.8",
|
|
@@ -163,23 +163,23 @@
|
|
|
163
163
|
"eslint-plugin-react-compiler": "beta",
|
|
164
164
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
165
165
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
166
|
-
"next": "15.1.
|
|
166
|
+
"next": "15.1.4",
|
|
167
167
|
"react": "19.0.0",
|
|
168
168
|
"react-dom": "19.0.0",
|
|
169
169
|
"styled-components": "^6.1.14",
|
|
170
|
-
"typescript": "5.7.
|
|
170
|
+
"typescript": "5.7.3",
|
|
171
171
|
"vite-tsconfig-paths": "^5.1.4",
|
|
172
172
|
"vitest": "^2.1.8",
|
|
173
173
|
"vitest-github-actions-reporter": "^0.11.1"
|
|
174
174
|
},
|
|
175
175
|
"peerDependencies": {
|
|
176
|
-
"@sanity/client": "^6.24.
|
|
176
|
+
"@sanity/client": "^6.24.3",
|
|
177
177
|
"@sanity/icons": "^3.5.6",
|
|
178
|
-
"@sanity/types": "^3.
|
|
179
|
-
"@sanity/ui": "^2.
|
|
178
|
+
"@sanity/types": "^3.69.0",
|
|
179
|
+
"@sanity/ui": "^2.11.1",
|
|
180
180
|
"next": "^14.2 || ^15.0.0-0",
|
|
181
181
|
"react": "^18.3 || ^19.0.0-0",
|
|
182
|
-
"sanity": "^3.
|
|
182
|
+
"sanity": "^3.69.0",
|
|
183
183
|
"styled-components": "^6.1"
|
|
184
184
|
},
|
|
185
185
|
"engines": {
|