diff --git a/apps/v1/package.json b/apps/v1/package.json index 9bcb9258..56790d24 100644 --- a/apps/v1/package.json +++ b/apps/v1/package.json @@ -32,7 +32,7 @@ "json5": "2.2.3", "motion": "10.16.2", "next": "14.0.0", - "next-sanity": "6.0.0", + "next-sanity": "7.1.4", "polished": "4.2.2", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/next-dynamic/package.json b/examples/next-dynamic/package.json index 2385f39b..01f08da5 100644 --- a/examples/next-dynamic/package.json +++ b/examples/next-dynamic/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "next": "14.0.0", - "next-sanity": "6.0.0", + "next-sanity": "7.1.4", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "5.0.1", diff --git a/examples/next-static/package.json b/examples/next-static/package.json index 6d34d42d..9a17808e 100644 --- a/examples/next-static/package.json +++ b/examples/next-static/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "next": "14.1.4", - "next-sanity": "6.0.0", + "next-sanity": "7.1.4", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "5.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 52790be6..3d0ce473 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,8 +57,8 @@ importers: specifier: 14.0.0 version: 14.0.0(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) next-sanity: - specifier: 6.0.0 - version: 6.0.0(@sanity/client@6.4.0)(@sanity/icons@2.4.1)(@sanity/types@3.37.1)(@sanity/ui@2.0.0)(next@14.0.0)(react@18.2.0)(sanity@3.25.0)(styled-components@6.1.8) + specifier: 7.1.4 + version: 7.1.4(@sanity/client@6.4.0)(@sanity/icons@2.4.1)(@sanity/types@3.37.1)(@sanity/ui@2.0.0)(next@14.0.0)(react@18.2.0)(sanity@3.25.0)(styled-components@6.1.8) polished: specifier: 4.2.2 version: 4.2.2 @@ -268,8 +268,8 @@ importers: specifier: 14.0.0 version: 14.0.0(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) next-sanity: - specifier: 6.0.0 - version: 6.0.0(@sanity/client@6.15.11)(@sanity/icons@2.4.1)(@sanity/types@3.37.1)(@sanity/ui@1.9.3)(next@14.0.0)(react@18.2.0)(sanity@3.37.1)(styled-components@6.1.8) + specifier: 7.1.4 + version: 7.1.4(@sanity/client@6.15.11)(@sanity/icons@2.11.7)(@sanity/types@3.37.1)(@sanity/ui@2.0.0)(next@14.0.0)(react@18.2.0)(sanity@3.37.1)(styled-components@6.1.8) react: specifier: 18.2.0 version: 18.2.0 @@ -308,8 +308,8 @@ importers: specifier: 14.1.4 version: 14.1.4(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) next-sanity: - specifier: 6.0.0 - version: 6.0.0(@sanity/client@6.15.11)(@sanity/icons@2.4.1)(@sanity/types@3.37.1)(@sanity/ui@1.9.3)(next@14.1.4)(react@18.2.0)(sanity@3.25.0)(styled-components@6.1.8) + specifier: 7.1.4 + version: 7.1.4(@sanity/client@6.15.11)(@sanity/icons@2.11.7)(@sanity/types@3.37.1)(@sanity/ui@2.0.0)(next@14.1.4)(react@18.2.0)(sanity@3.25.0)(styled-components@6.1.8) react: specifier: 18.2.0 version: 18.2.0 @@ -2431,17 +2431,6 @@ packages: '@floating-ui/utils': 0.2.1 dev: false - /@floating-ui/react-dom@2.0.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Ke0oU3SeuABC2C4OFu2mSAwHIP5WUiV98O9YWoHV4Q5aT6E9k06DV0Khi5uYspR8xmmBk08t8ZDcz3TR3ARkEg==} - peerDependencies: - react: '>=16.8.0' - react-dom: '>=16.8.0' - dependencies: - '@floating-ui/dom': 1.6.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - /@floating-ui/react-dom@2.0.8(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-HOdqOt3R3OGeTKidaLvJKcgg75S6tibQ3Tif4eyd91QnIJWr0NLvoXFpJA/j8HqkFSL68GDca9AuyWEHlhyClw==} peerDependencies: @@ -3387,23 +3376,6 @@ packages: resolution: {integrity: sha512-wtMYcV5GIDIhVyF/jjmdwq1GdlK07dRL40XMns73VbrFI7FteRltxv48bhYVZPcLkRXb0SHjpDS/icj9/yzbVA==} dev: false - /@sanity/groq-store@4.1.3: - resolution: {integrity: sha512-Yh3zbCkpnrowIG8+tMoZHGxV9HFMWVlZ4zhNfF1Y2rygi14SJteV+ildrlq3/OFq9/Y/cc6iXSD/+U6dErIpNw==} - engines: {node: '>= 18'} - dependencies: - '@sanity/eventsource': 5.0.1 - '@sanity/types': 3.37.1 - fast-deep-equal: 3.1.3 - groq: 3.37.1 - groq-js: 1.3.0 - mendoza: 3.0.3 - simple-get: 4.0.1 - split2: 4.2.0 - throttle-debounce: 5.0.0 - transitivePeerDependencies: - - supports-color - dev: false - /@sanity/icons@1.3.10(react@18.2.0): resolution: {integrity: sha512-5wVG/vIiGuGrSmq+Bl3PY7XDgQrGv0fyHdJI64FSulnr2wH3NMqZ6C59UFxnrZ93sr7kOt0zQFoNv2lkPBi0Cg==} peerDependencies: @@ -3647,54 +3619,66 @@ packages: - react-dom dev: false - /@sanity/preview-kit@3.2.6(@sanity/client@6.15.11)(react@18.2.0): - resolution: {integrity: sha512-TsqAbw/YikixLQ6Brphc8fkldBS3aTRWU5i+pAW4Lk9ywNCYqarKyXfMXGHjhb8eK7QQBnKQoQ93sPzKB9tz3w==} - engines: {node: '>=14'} + /@sanity/preview-kit-compat@1.4.4(@sanity/client@6.15.11)(react@18.2.0): + resolution: {integrity: sha512-CYO/qFIc2fqV8cpAIYay43SfPIs/SFzT8ke+XgXYlzwXmShdDnKXNttfLDUWvxk6+nJiPRgzRN9kokC8ineP2g==} + engines: {node: '>=18'} + peerDependencies: + '@sanity/client': ^6.12.3 + react: ^18.2.0 + dependencies: + '@sanity/client': 6.15.11 + react: 18.2.0 + dev: false + + /@sanity/preview-kit-compat@1.4.4(@sanity/client@6.4.0)(react@18.2.0): + resolution: {integrity: sha512-CYO/qFIc2fqV8cpAIYay43SfPIs/SFzT8ke+XgXYlzwXmShdDnKXNttfLDUWvxk6+nJiPRgzRN9kokC8ineP2g==} + engines: {node: '>=18'} + peerDependencies: + '@sanity/client': ^6.12.3 + react: ^18.2.0 + dependencies: + '@sanity/client': 6.4.0 + react: 18.2.0 + dev: false + + /@sanity/preview-kit@5.0.20(@sanity/client@6.15.11)(react@18.2.0): + resolution: {integrity: sha512-UYNDCyLPMZ5QfPi3oBryPV6rJXvgocZ8ilH8rJsuR3hgRrVrSdV2bnYSrMRVdIQtd32PeFPnJqxtYNu6aXc4HA==} + engines: {node: '>=18'} peerDependencies: - '@sanity/client': ^6.7.0 + '@sanity/client': ^6.12.4 react: ^18.0.0 peerDependenciesMeta: react: optional: true dependencies: '@sanity/client': 6.15.11 - '@sanity/eventsource': 5.0.1 - '@sanity/groq-store': 4.1.3 + '@sanity/preview-kit-compat': 1.4.4(@sanity/client@6.15.11)(react@18.2.0) '@vercel/stega': 0.1.0 - lodash.get: 4.4.2 - lodash.isplainobject: 4.0.6 - lru-cache: 10.0.1 - mendoza: 3.0.3 + lru-cache: 10.2.0 + mendoza: 3.0.4 react: 18.2.0 react-fast-compare: 3.2.2 use-sync-external-store: 1.2.0(react@18.2.0) - transitivePeerDependencies: - - supports-color dev: false - /@sanity/preview-kit@3.2.6(@sanity/client@6.4.0)(react@18.2.0): - resolution: {integrity: sha512-TsqAbw/YikixLQ6Brphc8fkldBS3aTRWU5i+pAW4Lk9ywNCYqarKyXfMXGHjhb8eK7QQBnKQoQ93sPzKB9tz3w==} - engines: {node: '>=14'} + /@sanity/preview-kit@5.0.20(@sanity/client@6.4.0)(react@18.2.0): + resolution: {integrity: sha512-UYNDCyLPMZ5QfPi3oBryPV6rJXvgocZ8ilH8rJsuR3hgRrVrSdV2bnYSrMRVdIQtd32PeFPnJqxtYNu6aXc4HA==} + engines: {node: '>=18'} peerDependencies: - '@sanity/client': ^6.7.0 + '@sanity/client': ^6.12.4 react: ^18.0.0 peerDependenciesMeta: react: optional: true dependencies: '@sanity/client': 6.4.0 - '@sanity/eventsource': 5.0.1 - '@sanity/groq-store': 4.1.3 + '@sanity/preview-kit-compat': 1.4.4(@sanity/client@6.4.0)(react@18.2.0) '@vercel/stega': 0.1.0 - lodash.get: 4.4.2 - lodash.isplainobject: 4.0.6 - lru-cache: 10.0.1 - mendoza: 3.0.3 + lru-cache: 10.2.0 + mendoza: 3.0.4 react: 18.2.0 react-fast-compare: 3.2.2 use-sync-external-store: 1.2.0(react@18.2.0) - transitivePeerDependencies: - - supports-color dev: false /@sanity/preview-url-secret@1.6.7(@sanity/client@6.15.11): @@ -3765,27 +3749,6 @@ packages: - supports-color dev: false - /@sanity/ui@1.9.3(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8): - resolution: {integrity: sha512-AdWEVFaK0Snk6xxP0lGPVP3QQYKwzkfGFpFZnL9d6UtWt8yeuS8BMLVAzmXzg14hrqH50ex9nvNl3eq6a0MWiw==} - engines: {node: '>=14.0.0'} - peerDependencies: - react: ^18 - react-dom: ^18 - react-is: ^18 - styled-components: ^5.2 || ^6 - dependencies: - '@floating-ui/react-dom': 2.0.0(react-dom@18.2.0)(react@18.2.0) - '@sanity/color': 2.2.5 - '@sanity/icons': 2.4.1(react@18.2.0) - csstype: 3.1.3 - framer-motion: 10.18.0(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-is: 18.2.0 - react-refractor: 2.1.7(react@18.2.0) - styled-components: 6.1.8(react-dom@18.2.0)(react@18.2.0) - dev: false - /@sanity/ui@2.0.0(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8): resolution: {integrity: sha512-y+vRMc74DnH2FH8BBqkjiDu5eGfy1CYKRzkKRepftKFDsUoJIdQeUPl3ULq+paeN4FqKJRzKT1j4++o8HwhmmQ==} engines: {node: '>=14.0.0'} @@ -3896,11 +3859,49 @@ packages: - react-is dev: false - /@sanity/webhook@3.0.1: - resolution: {integrity: sha512-2eTDg/+TR8lSX2OH6wH7M8UUwZUsD/i8Raw9mFH9myt2mkPY3ns77cU6K1QL2ZhwIIDJT5tttTELURF7RjlzVg==} - engines: {node: '>=12.0.0'} + /@sanity/visual-editing@1.2.2(next@14.0.0): + resolution: {integrity: sha512-iR1stYfPPhBJLjwKY3MBgr0DcRADgnRaTJvZ3nUJ2puGVniPoSxJ9Zj4PkspferU8997RKKtupN9m9spFYskXg==} + engines: {node: '>=18'} + peerDependencies: + '@remix-run/react': '>= 2' + next: '>= 13' + peerDependenciesMeta: + '@remix-run/react': + optional: true + next: + optional: true dependencies: - base64url: 3.0.1 + '@vercel/stega': 0.1.0 + next: 14.0.0(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-is: 18.2.0 + scroll-into-view-if-needed: 3.1.0 + dev: false + + /@sanity/visual-editing@1.2.2(next@14.1.4): + resolution: {integrity: sha512-iR1stYfPPhBJLjwKY3MBgr0DcRADgnRaTJvZ3nUJ2puGVniPoSxJ9Zj4PkspferU8997RKKtupN9m9spFYskXg==} + engines: {node: '>=18'} + peerDependencies: + '@remix-run/react': '>= 2' + next: '>= 13' + peerDependenciesMeta: + '@remix-run/react': + optional: true + next: + optional: true + dependencies: + '@vercel/stega': 0.1.0 + next: 14.1.4(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-is: 18.2.0 + scroll-into-view-if-needed: 3.1.0 + dev: false + + /@sanity/webhook@4.0.0: + resolution: {integrity: sha512-IRjtj17tHSmxHWZvgRnLZbWj8J8G4jqOWOYC25eV4EcfVn1yZCs0x+km6+PSiJgOphSX6Nm1+X6UJOT+GnWIFw==} + engines: {node: '>=18.0.0'} dev: false /@sinclair/typebox@0.27.8: @@ -4829,11 +4830,6 @@ packages: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} dev: false - /base64url@3.0.1: - resolution: {integrity: sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A==} - engines: {node: '>=6.0.0'} - dev: false - /bidi-js@1.0.3: resolution: {integrity: sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==} dependencies: @@ -5437,13 +5433,6 @@ packages: resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} dev: false - /decompress-response@6.0.0: - resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==} - engines: {node: '>=10'} - dependencies: - mimic-response: 3.1.0 - dev: false - /decompress-response@7.0.0: resolution: {integrity: sha512-6IvPrADQyyPGLpMnUh6kfKiqy7SrbXbjoUuZ90WMBJKErzv2pCiwlGEXjRX9/54OnTq+XFVnkOnOMzclLI5aEA==} engines: {node: '>=10'} @@ -6828,11 +6817,6 @@ packages: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} dev: true - /groq-js@1.3.0: - resolution: {integrity: sha512-J7+JcxM0OvoowSkhNZAabCLueldEMkKzd9ufCEDRjKvkD1PcBUwyfsGvxUI59UojRCqFqp0y76LLzPzwSZTetw==} - engines: {node: '>= 14'} - dev: false - /groq-js@1.7.0: resolution: {integrity: sha512-K+yhiPIBW7gkPYKCdqGB6xnC7qkxf4Kuweh/tDNlOgP2fzLEtSI/XWqLDDGfHRUutdYCFXuOUgbIwDbtyyLACg==} engines: {node: '>= 14'} @@ -8079,10 +8063,6 @@ packages: resolution: {integrity: sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==} dev: false - /lodash.get@4.4.2: - resolution: {integrity: sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==} - dev: false - /lodash.isequal@4.5.0: resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} dev: false @@ -8116,11 +8096,6 @@ packages: dependencies: js-tokens: 4.0.0 - /lru-cache@10.0.1: - resolution: {integrity: sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==} - engines: {node: 14 || >=16.14} - dev: false - /lru-cache@10.2.0: resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==} engines: {node: 14 || >=16.14} @@ -8202,6 +8177,11 @@ packages: engines: {node: '>=14.18'} dev: false + /mendoza@3.0.4: + resolution: {integrity: sha512-kGlLhn1HF57oUK9DzJpqiqxHS9KJ0JcFRtNKBM8l970nepx3/GKs1uAIlBfq5mjmndk7IGa4vQ2ofcqMKMPTiA==} + engines: {node: '>=14.18'} + dev: false + /mendoza@3.0.6: resolution: {integrity: sha512-oTwuDUEiUjiffiWm1BHEw3E50x4tiyhm9CO0ximOKXyeLOIcEkbXltHCCOtTRcQ9eCkmjmfz4E9f9TSSQBI9Mw==} engines: {node: '>=14.18'} @@ -8382,88 +8362,91 @@ packages: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true - /next-sanity@6.0.0(@sanity/client@6.15.11)(@sanity/icons@2.4.1)(@sanity/types@3.37.1)(@sanity/ui@1.9.3)(next@14.0.0)(react@18.2.0)(sanity@3.37.1)(styled-components@6.1.8): - resolution: {integrity: sha512-+t5hT5PUYRYXiREKYB4B53fUY8Z3+Pp+ADziCXiqhjoE+8P2iDey44azeuZSi5HKGQBjIlTXftk7srn4IqY+zg==} - engines: {node: '>=18'} + /next-sanity@7.1.4(@sanity/client@6.15.11)(@sanity/icons@2.11.7)(@sanity/types@3.37.1)(@sanity/ui@2.0.0)(next@14.0.0)(react@18.2.0)(sanity@3.37.1)(styled-components@6.1.8): + resolution: {integrity: sha512-bq/VkejvPgV95mi5fxR01rALG1QURe0nO2g3HyUuiZRyTd0teFgYvCVf1b5PBndKhD15Cd3UK/WwcLKRxxEr3A==} + engines: {node: '>=18.17'} peerDependencies: - '@sanity/client': ^6.7.1 - '@sanity/icons': ^2.0 - '@sanity/types': ^3.19 - '@sanity/ui': ^1.8 - next: ^14.0 + '@sanity/client': ^6.12.4 + '@sanity/icons': ^2.8 + '@sanity/types': ^3.25 + '@sanity/ui': ^1.8 || ^2.0.0-beta || ^2.0 + next: ^14.1 react: ^18.2 - sanity: ^3.19 + sanity: ^3.25 styled-components: ^5.2 || ^6.0 dependencies: '@sanity/client': 6.15.11 - '@sanity/icons': 2.4.1(react@18.2.0) - '@sanity/preview-kit': 3.2.6(@sanity/client@6.15.11)(react@18.2.0) + '@sanity/icons': 2.11.7(react@18.2.0) + '@sanity/preview-kit': 5.0.20(@sanity/client@6.15.11)(react@18.2.0) '@sanity/types': 3.37.1 - '@sanity/ui': 1.9.3(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) - '@sanity/webhook': 3.0.1 + '@sanity/ui': 2.0.0(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) + '@sanity/visual-editing': 1.2.2(next@14.0.0) + '@sanity/webhook': 4.0.0 groq: 3.37.1 next: 14.0.0(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 sanity: 3.37.1(@types/node@18.17.11)(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0)(styled-components@6.1.8) styled-components: 6.1.8(react-dom@18.2.0)(react@18.2.0) transitivePeerDependencies: - - supports-color + - '@remix-run/react' dev: false - /next-sanity@6.0.0(@sanity/client@6.15.11)(@sanity/icons@2.4.1)(@sanity/types@3.37.1)(@sanity/ui@1.9.3)(next@14.1.4)(react@18.2.0)(sanity@3.25.0)(styled-components@6.1.8): - resolution: {integrity: sha512-+t5hT5PUYRYXiREKYB4B53fUY8Z3+Pp+ADziCXiqhjoE+8P2iDey44azeuZSi5HKGQBjIlTXftk7srn4IqY+zg==} - engines: {node: '>=18'} + /next-sanity@7.1.4(@sanity/client@6.15.11)(@sanity/icons@2.11.7)(@sanity/types@3.37.1)(@sanity/ui@2.0.0)(next@14.1.4)(react@18.2.0)(sanity@3.25.0)(styled-components@6.1.8): + resolution: {integrity: sha512-bq/VkejvPgV95mi5fxR01rALG1QURe0nO2g3HyUuiZRyTd0teFgYvCVf1b5PBndKhD15Cd3UK/WwcLKRxxEr3A==} + engines: {node: '>=18.17'} peerDependencies: - '@sanity/client': ^6.7.1 - '@sanity/icons': ^2.0 - '@sanity/types': ^3.19 - '@sanity/ui': ^1.8 - next: ^14.0 + '@sanity/client': ^6.12.4 + '@sanity/icons': ^2.8 + '@sanity/types': ^3.25 + '@sanity/ui': ^1.8 || ^2.0.0-beta || ^2.0 + next: ^14.1 react: ^18.2 - sanity: ^3.19 + sanity: ^3.25 styled-components: ^5.2 || ^6.0 dependencies: '@sanity/client': 6.15.11 - '@sanity/icons': 2.4.1(react@18.2.0) - '@sanity/preview-kit': 3.2.6(@sanity/client@6.15.11)(react@18.2.0) + '@sanity/icons': 2.11.7(react@18.2.0) + '@sanity/preview-kit': 5.0.20(@sanity/client@6.15.11)(react@18.2.0) '@sanity/types': 3.37.1 - '@sanity/ui': 1.9.3(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) - '@sanity/webhook': 3.0.1 + '@sanity/ui': 2.0.0(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) + '@sanity/visual-editing': 1.2.2(next@14.1.4) + '@sanity/webhook': 4.0.0 groq: 3.37.1 next: 14.1.4(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 sanity: 3.25.0(@types/node@18.17.11)(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0)(styled-components@6.1.8) styled-components: 6.1.8(react-dom@18.2.0)(react@18.2.0) transitivePeerDependencies: - - supports-color + - '@remix-run/react' dev: false - /next-sanity@6.0.0(@sanity/client@6.4.0)(@sanity/icons@2.4.1)(@sanity/types@3.37.1)(@sanity/ui@2.0.0)(next@14.0.0)(react@18.2.0)(sanity@3.25.0)(styled-components@6.1.8): - resolution: {integrity: sha512-+t5hT5PUYRYXiREKYB4B53fUY8Z3+Pp+ADziCXiqhjoE+8P2iDey44azeuZSi5HKGQBjIlTXftk7srn4IqY+zg==} - engines: {node: '>=18'} + /next-sanity@7.1.4(@sanity/client@6.4.0)(@sanity/icons@2.4.1)(@sanity/types@3.37.1)(@sanity/ui@2.0.0)(next@14.0.0)(react@18.2.0)(sanity@3.25.0)(styled-components@6.1.8): + resolution: {integrity: sha512-bq/VkejvPgV95mi5fxR01rALG1QURe0nO2g3HyUuiZRyTd0teFgYvCVf1b5PBndKhD15Cd3UK/WwcLKRxxEr3A==} + engines: {node: '>=18.17'} peerDependencies: - '@sanity/client': ^6.7.1 - '@sanity/icons': ^2.0 - '@sanity/types': ^3.19 - '@sanity/ui': ^1.8 - next: ^14.0 + '@sanity/client': ^6.12.4 + '@sanity/icons': ^2.8 + '@sanity/types': ^3.25 + '@sanity/ui': ^1.8 || ^2.0.0-beta || ^2.0 + next: ^14.1 react: ^18.2 - sanity: ^3.19 + sanity: ^3.25 styled-components: ^5.2 || ^6.0 dependencies: '@sanity/client': 6.4.0 '@sanity/icons': 2.4.1(react@18.2.0) - '@sanity/preview-kit': 3.2.6(@sanity/client@6.4.0)(react@18.2.0) + '@sanity/preview-kit': 5.0.20(@sanity/client@6.4.0)(react@18.2.0) '@sanity/types': 3.37.1 '@sanity/ui': 2.0.0(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) - '@sanity/webhook': 3.0.1 + '@sanity/visual-editing': 1.2.2(next@14.0.0) + '@sanity/webhook': 4.0.0 groq: 3.37.1 next: 14.0.0(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 sanity: 3.25.0(@types/node@18.17.11)(@types/react@18.2.75)(react-dom@18.2.0)(react@18.2.0)(styled-components@6.1.8) styled-components: 6.1.8(react-dom@18.2.0)(react@18.2.0) transitivePeerDependencies: - - supports-color + - '@remix-run/react' dev: false /next@14.0.0(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0): @@ -10185,18 +10168,6 @@ packages: resolution: {integrity: sha512-V3vShUiLRVPMu9aSWpU5kLDoU/HO7muJKE236EO663po3YxivAkMLbRg+amV/FhbIfF5bWXX5TVX+VYmRaOBFA==} dev: false - /simple-concat@1.0.1: - resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==} - dev: false - - /simple-get@4.0.1: - resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==} - dependencies: - decompress-response: 6.0.0 - once: 1.4.0 - simple-concat: 1.0.1 - dev: false - /simple-wcswidth@1.0.1: resolution: {integrity: sha512-xMO/8eNREtaROt7tJvWJqHBDTMFN4eiQ5I4JRMuilwfnFcV5W9u7RUkueNkdw0jPqGMX36iCywelS5yilTuOxg==} dev: false @@ -10660,11 +10631,6 @@ packages: engines: {node: '>=8'} dev: false - /throttle-debounce@5.0.0: - resolution: {integrity: sha512-2iQTSgkkc1Zyk0MeVrt/3BvuOXYPl/R8Z0U2xxo9rjwNciaHDG3R+Lm6dh4EeUci49DanvBnuqI6jshoQQRGEg==} - engines: {node: '>=12.22'} - dev: false - /through2@2.0.5: resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} dependencies: