next-sanity 1.0.0 → 1.0.1

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 +2 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -235,7 +235,7 @@ import config from '../sanity.config'
235
235
  import {NextStudio} from 'next-sanity/studio'
236
236
 
237
237
  export default function StudioPage() {
238
- // Loads the Studio, with all the needed neta tags and global CSS reqiired for it to render correctly
238
+ // Loads the Studio, with all the needed meta tags and global CSS required for it to render correctly
239
239
  return <NextStudio config={config} />
240
240
  }
241
241
  ```
@@ -336,7 +336,7 @@ import {
336
336
  NextStudio,
337
337
  NextStudioGlobalStyle,
338
338
  NextStudioHead,
339
- useThem,
339
+ useTheme,
340
340
  useBackgroundColorsFromTheme,
341
341
  } from 'next-sanity/studio'
342
342
  import {Studio} from 'sanity'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-sanity",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Sanity.io toolkit for Next.js",
5
5
  "keywords": [
6
6
  "sanity",
@@ -95,7 +95,7 @@
95
95
  "@types/react": "^18.0.21",
96
96
  "@types/react-dom": "^18.0.6",
97
97
  "@types/styled-components": "^5.1.26",
98
- "@typescript-eslint/eslint-plugin": "^5.39.0",
98
+ "@typescript-eslint/eslint-plugin": "^5.40.0",
99
99
  "eslint": "^8.25.0",
100
100
  "eslint-config-next": "^12.3.1",
101
101
  "eslint-config-prettier": "^8.5.0",
@@ -112,12 +112,12 @@
112
112
  "react-dom": "^18.2.0",
113
113
  "react-is": "^18.2.0",
114
114
  "rollup": "^2.79.1",
115
- "sanity": "3.0.0-purple-unicorn.6",
115
+ "sanity": "3.0.0-dev-preview.22",
116
116
  "styled-components": "^5.3.6",
117
117
  "typescript": "^4.8.4"
118
118
  },
119
119
  "peerDependencies": {
120
- "next": "^12",
120
+ "next": "^12 || ^13",
121
121
  "react": "^16.3 || ^17 || ^18",
122
122
  "sanity": "dev-preview",
123
123
  "styled-components": "^5.2"