diff --git a/dev/test-studio/package.json b/dev/test-studio/package.json index 5ed6944713ce..614386731be9 100644 --- a/dev/test-studio/package.json +++ b/dev/test-studio/package.json @@ -57,6 +57,7 @@ "rxjs": "^7.8.0", "sanity": "workspace:*", "sanity-plugin-hotspot-array": "^2.0.0", + "sanity-plugin-markdown": "^4.1.2", "sanity-plugin-media": "^2.3.1", "sanity-plugin-mux-input": "^2.2.1", "styled-components": "^6.1.11" diff --git a/dev/test-studio/sanity.config.ts b/dev/test-studio/sanity.config.ts index 43eefde3dc48..1a6340900300 100644 --- a/dev/test-studio/sanity.config.ts +++ b/dev/test-studio/sanity.config.ts @@ -14,6 +14,7 @@ import {defineConfig, definePlugin, type WorkspaceOptions} from 'sanity' import {presentationTool} from 'sanity/presentation' import {structureTool} from 'sanity/structure' import {imageHotspotArrayPlugin} from 'sanity-plugin-hotspot-array' +import {markdownSchema} from 'sanity-plugin-markdown' import {media} from 'sanity-plugin-media' import {muxInput} from 'sanity-plugin-mux-input' @@ -144,6 +145,7 @@ const sharedSettings = definePlugin({ errorReportingTestPlugin(), tsdoc(), media(), + markdownSchema(), ], }) diff --git a/dev/test-studio/schema/externalPlugins/markdown.ts b/dev/test-studio/schema/externalPlugins/markdown.ts index f77a8fbec88d..10df9867d380 100644 --- a/dev/test-studio/schema/externalPlugins/markdown.ts +++ b/dev/test-studio/schema/externalPlugins/markdown.ts @@ -10,10 +10,10 @@ export default defineType({ name: 'title', title: 'Title', }, - // { - // type: 'markdown', - // name: 'markdown', - // title: 'Markdown', - // }, + { + type: 'markdown', + name: 'markdown', + title: 'Markdown', + }, ], }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3bcf6b177c81..45ca042eeca6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -558,6 +558,9 @@ importers: sanity-plugin-hotspot-array: specifier: ^2.0.0 version: 2.0.0(@sanity/ui@2.8.8(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + sanity-plugin-markdown: + specifier: ^4.1.2 + version: 4.1.2(easymde@2.18.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) sanity-plugin-media: specifier: ^2.3.1 version: 2.3.2(@sanity/ui@2.8.8(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) @@ -737,7 +740,7 @@ importers: dependencies: '@babel/traverse': specifier: ^7.23.5 - version: 7.25.3 + version: 7.25.3(supports-color@5.5.0) '@sanity/client': specifier: ^6.21.2 version: 6.21.2(debug@4.3.6) @@ -755,7 +758,7 @@ importers: version: 4.1.2 debug: specifier: ^4.3.4 - version: 4.3.6(supports-color@9.4.0) + version: 4.3.6(supports-color@5.5.0) decompress: specifier: ^4.2.0 version: 4.2.1 @@ -975,13 +978,13 @@ importers: version: 7.24.6(@babel/core@7.25.2) '@babel/traverse': specifier: ^7.23.5 - version: 7.25.3 + version: 7.25.3(supports-color@5.5.0) '@babel/types': specifier: ^7.23.9 version: 7.25.6 debug: specifier: ^4.3.4 - version: 4.3.6(supports-color@9.4.0) + version: 4.3.6(supports-color@5.5.0) globby: specifier: ^10.0.0 version: 10.0.2 @@ -1058,7 +1061,7 @@ importers: version: 2.0.1 debug: specifier: ^4.3.4 - version: 4.3.6(supports-color@9.4.0) + version: 4.3.6(supports-color@5.5.0) fast-fifo: specifier: ^1.3.2 version: 1.3.2 @@ -1098,7 +1101,7 @@ importers: version: 3.0.2 debug: specifier: ^4.3.4 - version: 4.3.6(supports-color@9.4.0) + version: 4.3.6(supports-color@5.5.0) lodash: specifier: ^4.17.21 version: 4.17.21 @@ -1511,7 +1514,7 @@ importers: version: 2.30.0 debug: specifier: ^4.3.4 - version: 4.3.6(supports-color@9.4.0) + version: 4.3.6(supports-color@5.5.0) esbuild: specifier: 0.21.5 version: 0.21.5 @@ -3323,6 +3326,12 @@ packages: '@floating-ui/dom@1.6.10': resolution: {integrity: sha512-fskgCFv8J8OamCmyun8MfjB1Olfn+uZKjOKZ0vhYF3gRmEUXcGOjxWL8bBr7i4kIuPZ2KD2S3EUIOxnjC8kl2A==} + '@floating-ui/react-dom@2.0.0': + resolution: {integrity: sha512-Ke0oU3SeuABC2C4OFu2mSAwHIP5WUiV98O9YWoHV4Q5aT6E9k06DV0Khi5uYspR8xmmBk08t8ZDcz3TR3ARkEg==} + peerDependencies: + react: '>=16.8.0' + react-dom: '>=16.8.0' + '@floating-ui/react-dom@2.1.1': resolution: {integrity: sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg==} peerDependencies: @@ -4307,6 +4316,9 @@ packages: resolution: {integrity: sha512-+kpIBCJMmqc1tMOsMS5YgI8Q6QQ/HnQbBFwYiPHMWYRGd1gRpHiX/sTbsbqcGkbgzKM8LDMuwymFuJie/V+eNg==} engines: {node: '>=14.18'} + '@sanity/color@2.2.5': + resolution: {integrity: sha512-tTi22KoKuER3sldXYl4c1Dq2zU7tMLDkljFiaUKVkBbu4PBvRGCFw75kXZnD2b4Bsp6vin+7sI+AKdCKRhfRuw==} + '@sanity/color@3.0.6': resolution: {integrity: sha512-2TjYEvOftD0v7ukx3Csdh9QIu44P2z7NDJtlC3qITJRYV36J7R6Vfd3trVhFnN77/7CZrGjqngrtohv8VqO5nw==} engines: {node: '>=18.0.0'} @@ -4499,6 +4511,15 @@ packages: react-dom: ^18 styled-components: ^5.2 || ^6 + '@sanity/ui@1.9.3': + resolution: {integrity: sha512-AdWEVFaK0Snk6xxP0lGPVP3QQYKwzkfGFpFZnL9d6UtWt8yeuS8BMLVAzmXzg14hrqH50ex9nvNl3eq6a0MWiw==} + engines: {node: '>=14.0.0'} + peerDependencies: + react: ^18 + react-dom: ^18 + react-is: ^18 + styled-components: ^5.2 || ^6 + '@sanity/ui@2.8.8': resolution: {integrity: sha512-LeYpcng9fakvwgCtAV4b/2koCsm7TTDQNwK+r2MnVghH23ln0iblvBdO4+T1Q10E+m2Vr2dcy3+HErdTu8f8Ag==} engines: {node: '>=14.0.0'} @@ -4747,6 +4768,9 @@ packages: '@types/caseless@0.12.5': resolution: {integrity: sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==} + '@types/codemirror@5.60.15': + resolution: {integrity: sha512-dTOvwEQ+ouKJ/rE9LT1Ue2hmP6H1mZv5+CCnNWu2qtiOe2LQa9lCprEY20HxiDmV/Bxh+dXjywmy5aKvoGjULA==} + '@types/configstore@5.0.1': resolution: {integrity: sha512-c/QCznvk7bLKGhHETj29rqKufui3jaAxjBhK4R2zUrMG5UG0qTwfWYxBoUbH8JCyDjdCWMIxPJ7/Fdz1UcAnWg==} @@ -4822,6 +4846,9 @@ packages: '@types/log-symbols@2.0.0': resolution: {integrity: sha512-YJhbp0sz3egFFKl3BcCNPQKzuGFOP4PACcsifhK6ROGnJUW9ViYLuLybQ9GQZm7Zejy3tkGuiXYMq3GiyGkU4g==} + '@types/marked@4.3.2': + resolution: {integrity: sha512-a79Yc3TOk6dGdituy8hmTTJXjOkZ7zsFYV10L337ttq/rec8lRMDBpV7fL3uLx6TgbFCa5DU/h8FmIBQPSbU0w==} + '@types/mime@1.3.5': resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} @@ -4940,6 +4967,9 @@ packages: '@types/tar@6.1.13': resolution: {integrity: sha512-IznnlmU5f4WcGTh2ltRu/Ijpmk8wiWXfF0VA4s+HPjHZgvFggk1YaIkbo5krX/zUCzWF8N/l4+W/LNxnvAJ8nw==} + '@types/tern@0.23.9': + resolution: {integrity: sha512-ypzHFE/wBzh+BlH6rrBgS5I/Z7RD21pGhZ2rltb/+ZrVM1awdZwjx7hE5XfuYgHWk9uvV5HLZN3SloevCAp3Bw==} + '@types/through@0.0.33': resolution: {integrity: sha512-HsJ+z3QuETzP3cswwtzt2vEIiHBk/dCcHGhbmG5X3ecnwFD/lPrMpliGXxSCg03L9AhrdwA4Oz/qfspkDW+xGQ==} @@ -5782,6 +5812,12 @@ packages: resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} + codemirror-spell-checker@1.1.2: + resolution: {integrity: sha512-2Tl6n0v+GJRsC9K3MLCdLaMOmvWL0uukajNJseorZJsslaxZyZMgENocPU8R0DyoTAiKsyqiemSOZo7kjGV0LQ==} + + codemirror@5.65.17: + resolution: {integrity: sha512-1zOsUx3lzAOu/gnMAZkQ9kpIHcPYOc9y1Fbm2UVk5UBPkdq380nhkelG0qUwm1f7wPvTbndu9ZYlug35EwAZRQ==} + codemirror@6.0.1: resolution: {integrity: sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==} @@ -6390,6 +6426,9 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + easymde@2.18.0: + resolution: {integrity: sha512-IxVVUxNWIoXLeqtBU4BLc+eS/ScYhT1Dcb6yF5Wchoj1iXAV+TIIDWx+NCaZhY7RcSHqDPKllbYq7nwGKILnoA==} + ecdsa-sig-formatter@1.0.11: resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==} @@ -7039,6 +7078,17 @@ packages: resolution: {integrity: sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==} engines: {node: '>=0.10.0'} + framer-motion@10.18.0: + resolution: {integrity: sha512-oGlDh1Q1XqYPksuTD/usb0I70hq95OUzmL9+6Zd+Hs4XV0oaISBa/UUMSjYiq6m8EUF32132mOJ8xVZS+I0S6w==} + peerDependencies: + react: ^18.0.0 + react-dom: ^18.0.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + framer-motion@11.0.8: resolution: {integrity: sha512-1KSGNuqe1qZkS/SWQlDnqK2VCVzRVEoval379j0FiUBJAZoqgwyvqFkfvJbgW2IPFo4wX16K+M0k5jO23lCIjA==} peerDependencies: @@ -8506,6 +8556,11 @@ packages: resolution: {integrity: sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==} engines: {node: '>=0.10.0'} + marked@4.3.0: + resolution: {integrity: sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==} + engines: {node: '>= 12'} + hasBin: true + math-random@1.0.4: resolution: {integrity: sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==} @@ -9726,6 +9781,13 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-simplemde-editor@5.2.0: + resolution: {integrity: sha512-GkTg1MlQHVK2Rks++7sjuQr/GVS/xm6y+HchZ4GPBWrhcgLieh4CjK04GTKbsfYorSRYKa0n37rtNSJmOzEDkQ==} + peerDependencies: + easymde: '>= 2.0.0 < 3.0.0' + react: '>=16.8.2' + react-dom: '>=16.8.2' + react-style-proptype@3.2.2: resolution: {integrity: sha512-ywYLSjNkxKHiZOqNlso9PZByNEY+FTyh3C+7uuziK0xFXu9xzdyfHwg4S9iyiRRoPCR4k2LqaBBsWVmSBwCWYQ==} @@ -10084,6 +10146,15 @@ packages: sanity: ^3.0.0 styled-components: ^6.1 + sanity-plugin-markdown@4.1.2: + resolution: {integrity: sha512-sPCwB3O1xcylOeG6l8pZPn9aqV4vcLa6Z9LBysCuEk0sc27JqqmdLpZcmAI8B8J809LCsMNPdECLraAoNuS/XQ==} + engines: {node: '>=14'} + peerDependencies: + easymde: ^2 + react: ^18 + sanity: ^3 + styled-components: ^5.2 || ^6 + sanity-plugin-media@2.3.2: resolution: {integrity: sha512-5RZJyKuN2SuatWjUEr9x+DOZOPg6+ga/6RD+pc8RK3PgviP+945M+E8k93XwnIzSGNFtix8jf0mUbdbCO7HpjA==} engines: {node: '>=14'} @@ -10092,7 +10163,7 @@ packages: react: ^18 react-dom: ^18 sanity: ^3.0.0 - styled-components: ^5.0 || ^6.0 + styled-components: npm:speedy-styled-components@6.1.14 sanity-plugin-mux-input@2.3.6: resolution: {integrity: sha512-qBiQE6VuVgJ42mfWbw+9T6UVsr5VyRZvs41Qew32XSb0vPlP19yb3eI2Vxxv5ENNTyhaXD5CxMQZOsv+OFADDA==} @@ -10944,6 +11015,9 @@ packages: engines: {node: '>=14.17'} hasBin: true + typo-js@1.2.4: + resolution: {integrity: sha512-Oy/k+tFle5NAA3J/yrrYGfvEnPVrDZ8s8/WCwjUE75k331QyKIsFss7byQ/PzBmXLY6h1moRnZbnaxWBe3I3CA==} + uglify-js@3.19.2: resolution: {integrity: sha512-S8KA6DDI47nQXJSi2ctQ629YzwOVs+bQML6DAtvy0wgNdpi+0ySpQK0g2pxBq2xfF2z3YCscu7NNA8nXT9PlIQ==} engines: {node: '>=0.8.0'} @@ -11516,10 +11590,10 @@ snapshots: '@babel/helpers': 7.25.0 '@babel/parser': 7.25.3 '@babel/template': 7.25.0 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) '@babel/types': 7.25.6 convert-source-map: 2.0.0 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -11555,7 +11629,7 @@ snapshots: '@babel/helper-builder-binary-assignment-operator-visitor@7.24.7': dependencies: - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) '@babel/types': 7.25.6 transitivePeerDependencies: - supports-color @@ -11576,7 +11650,7 @@ snapshots: '@babel/helper-optimise-call-expression': 7.24.7 '@babel/helper-replace-supers': 7.25.0(@babel/core@7.25.2) '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -11593,7 +11667,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) lodash.debounce: 4.0.8 resolve: 1.22.8 transitivePeerDependencies: @@ -11601,14 +11675,7 @@ snapshots: '@babel/helper-member-expression-to-functions@7.24.8': dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.6 - transitivePeerDependencies: - - supports-color - - '@babel/helper-module-imports@7.24.7': - dependencies: - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) '@babel/types': 7.25.6 transitivePeerDependencies: - supports-color @@ -11623,10 +11690,10 @@ snapshots: '@babel/helper-module-transforms@7.25.2(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-module-imports': 7.24.7 + '@babel/helper-module-imports': 7.24.7(supports-color@5.5.0) '@babel/helper-simple-access': 7.24.7 '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -11641,7 +11708,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.24.7 '@babel/helper-wrap-function': 7.25.0 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -11650,20 +11717,20 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-member-expression-to-functions': 7.24.8 '@babel/helper-optimise-call-expression': 7.24.7 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) transitivePeerDependencies: - supports-color '@babel/helper-simple-access@7.24.7': dependencies: - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) '@babel/types': 7.25.6 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.24.7': dependencies: - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) '@babel/types': 7.25.6 transitivePeerDependencies: - supports-color @@ -11677,7 +11744,7 @@ snapshots: '@babel/helper-wrap-function@7.25.0': dependencies: '@babel/template': 7.25.0 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) '@babel/types': 7.25.6 transitivePeerDependencies: - supports-color @@ -11702,7 +11769,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -11729,7 +11796,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -11870,14 +11937,14 @@ snapshots: '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-remap-async-to-generator': 7.25.0(@babel/core@7.25.2) '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.25.2) - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) transitivePeerDependencies: - supports-color '@babel/plugin-transform-async-to-generator@7.24.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-module-imports': 7.24.7 + '@babel/helper-module-imports': 7.24.7(supports-color@5.5.0) '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-remap-async-to-generator': 7.25.0(@babel/core@7.25.2) transitivePeerDependencies: @@ -11917,7 +11984,7 @@ snapshots: '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-replace-supers': 7.25.0(@babel/core@7.25.2) - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -11983,7 +12050,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -12032,7 +12099,7 @@ snapshots: '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -12152,7 +12219,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.24.7 - '@babel/helper-module-imports': 7.24.7 + '@babel/helper-module-imports': 7.24.7(supports-color@5.5.0) '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) '@babel/types': 7.25.6 @@ -12378,18 +12445,6 @@ snapshots: '@babel/parser': 7.25.3 '@babel/types': 7.25.6 - '@babel/traverse@7.25.3': - dependencies: - '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.0 - '@babel/parser': 7.25.3 - '@babel/template': 7.25.0 - '@babel/types': 7.25.6 - debug: 4.3.6(supports-color@9.4.0) - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - '@babel/traverse@7.25.3(supports-color@5.5.0)': dependencies: '@babel/code-frame': 7.24.7 @@ -12521,7 +12576,7 @@ snapshots: '@emotion/babel-plugin@11.12.0': dependencies: - '@babel/helper-module-imports': 7.24.7 + '@babel/helper-module-imports': 7.24.7(supports-color@5.5.0) '@babel/runtime': 7.25.0 '@emotion/hash': 0.9.2 '@emotion/memoize': 0.9.0 @@ -12889,7 +12944,7 @@ snapshots: '@eslint/eslintrc@2.1.4': dependencies: ajv: 6.12.6 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) espree: 9.6.1 globals: 13.24.0 ignore: 5.3.2 @@ -12913,6 +12968,12 @@ snapshots: '@floating-ui/core': 1.6.7 '@floating-ui/utils': 0.2.7 + '@floating-ui/react-dom@2.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@floating-ui/dom': 1.6.10 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + '@floating-ui/react-dom@2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@floating-ui/dom': 1.6.10 @@ -12970,7 +13031,7 @@ snapshots: '@humanwhocodes/config-array@0.11.14': dependencies: '@humanwhocodes/object-schema': 2.0.3 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -13898,7 +13959,7 @@ snapshots: '@sanity/schema': link:packages/@sanity/schema '@sanity/types': link:packages/@sanity/types '@sanity/util': link:packages/@sanity/util - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) is-hotkey-esm: 1.0.0 lodash: 4.17.21 react: 18.3.1 @@ -13971,7 +14032,7 @@ snapshots: '@rollup/plugin-babel@6.0.4(@babel/core@7.25.2)(@types/babel__core@7.20.5)(rollup@4.21.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-module-imports': 7.24.7 + '@babel/helper-module-imports': 7.24.7(supports-color@5.5.0) '@rollup/pluginutils': 5.1.0(rollup@4.21.2) optionalDependencies: '@types/babel__core': 7.20.5 @@ -14179,6 +14240,8 @@ snapshots: transitivePeerDependencies: - debug + '@sanity/color@2.2.5': {} + '@sanity/color@3.0.6': {} '@sanity/core-loader@1.6.22(@sanity/client@6.21.2)': @@ -14230,7 +14293,7 @@ snapshots: '@sanity/client': 6.21.2(debug@4.3.6) '@sanity/util': 3.37.2(debug@4.3.6) archiver: 7.0.1 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) get-it: 8.6.5(debug@4.3.6) lodash: 4.17.21 mississippi: 4.0.0 @@ -14281,7 +14344,7 @@ snapshots: '@sanity/generate-help-url': 3.0.0 '@sanity/mutator': 3.37.2 '@sanity/uuid': 3.0.2 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) file-url: 2.0.2 get-it: 8.6.5(debug@4.3.6) get-uri: 2.0.4 @@ -14372,7 +14435,7 @@ snapshots: dependencies: '@sanity/diff-match-patch': 3.1.1 '@sanity/uuid': 3.0.2 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) lodash: 4.17.21 transitivePeerDependencies: - supports-color @@ -14769,6 +14832,19 @@ snapshots: - supports-color - terser + '@sanity/ui@1.9.3(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + dependencies: + '@floating-ui/react-dom': 2.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@sanity/color': 2.2.5 + '@sanity/icons': 2.11.8(react@18.3.1) + csstype: 3.1.3 + framer-motion: 10.18.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-is: 19.0.0-rc-a7d1240c-20240731 + react-refractor: 2.2.0(react@18.3.1) + styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@sanity/ui@2.8.8(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@floating-ui/react-dom': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -15105,6 +15181,10 @@ snapshots: '@types/caseless@0.12.5': {} + '@types/codemirror@5.60.15': + dependencies: + '@types/tern': 0.23.9 + '@types/configstore@5.0.1': {} '@types/connect-history-api-fallback@1.5.4': @@ -15199,6 +15279,8 @@ snapshots: '@types/log-symbols@2.0.0': {} + '@types/marked@4.3.2': {} + '@types/mime@1.3.5': {} '@types/minimatch@3.0.5': {} @@ -15322,6 +15404,10 @@ snapshots: '@types/node': 18.19.44 minipass: 4.2.8 + '@types/tern@0.23.9': + dependencies: + '@types/estree': 1.0.5 + '@types/through@0.0.33': dependencies: '@types/node': 18.19.44 @@ -15372,7 +15458,7 @@ snapshots: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) eslint: 8.57.0 optionalDependencies: typescript: 5.5.4 @@ -15388,7 +15474,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: @@ -15402,7 +15488,7 @@ snapshots: dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.5 @@ -15588,13 +15674,13 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) transitivePeerDependencies: - supports-color agent-base@7.1.1: dependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -16363,6 +16449,12 @@ snapshots: co@4.6.0: {} + codemirror-spell-checker@1.1.2: + dependencies: + typo-js: 1.2.4 + + codemirror@5.65.17: {} + codemirror@6.0.1(@lezer/common@1.2.1): dependencies: '@codemirror/autocomplete': 6.18.0(@codemirror/language@6.10.2)(@codemirror/state@6.4.1)(@codemirror/view@6.33.0)(@lezer/common@1.2.1) @@ -16894,12 +16986,12 @@ snapshots: depcheck@1.4.7: dependencies: '@babel/parser': 7.25.3 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.3(supports-color@5.5.0) '@vue/compiler-sfc': 3.4.37 callsite: 1.0.0 camelcase: 6.3.0 cosmiconfig: 7.1.0 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) deps-regex: 0.2.0 findup-sync: 5.0.0 ignore: 5.3.2 @@ -17035,6 +17127,14 @@ snapshots: eastasianwidth@0.2.0: {} + easymde@2.18.0: + dependencies: + '@types/codemirror': 5.60.15 + '@types/marked': 4.3.2 + codemirror: 5.65.17 + codemirror-spell-checker: 1.1.2 + marked: 4.3.0 + ecdsa-sig-formatter@1.0.11: dependencies: safe-buffer: 5.2.1 @@ -17201,21 +17301,21 @@ snapshots: esbuild-register@3.6.0(esbuild@0.19.12): dependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) esbuild: 0.19.12 transitivePeerDependencies: - supports-color esbuild-register@3.6.0(esbuild@0.21.5): dependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) esbuild: 0.21.5 transitivePeerDependencies: - supports-color esbuild-register@3.6.0(esbuild@0.23.1): dependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) esbuild: 0.23.1 transitivePeerDependencies: - supports-color @@ -17372,7 +17472,7 @@ snapshots: eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-import@2.29.1)(eslint@8.57.0): dependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) enhanced-resolve: 5.17.1 eslint: 8.57.0 eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) @@ -17582,7 +17682,7 @@ snapshots: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -17958,7 +18058,7 @@ snapshots: follow-redirects@1.15.6(debug@4.3.6): optionalDependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) for-each@0.3.3: dependencies: @@ -17993,6 +18093,14 @@ snapshots: dependencies: map-cache: 0.2.2 + framer-motion@10.18.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + dependencies: + tslib: 2.7.0 + optionalDependencies: + '@emotion/is-prop-valid': 0.8.8 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + framer-motion@11.0.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: tslib: 2.7.0 @@ -18387,7 +18495,7 @@ snapshots: groq-js@1.13.0: dependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -18539,28 +18647,28 @@ snapshots: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) transitivePeerDependencies: - supports-color http-proxy-agent@7.0.2: dependencies: agent-base: 7.1.1 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) transitivePeerDependencies: - supports-color https-proxy-agent@5.0.1: dependencies: agent-base: 6.0.2 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) transitivePeerDependencies: - supports-color https-proxy-agent@7.0.5: dependencies: agent-base: 7.1.1 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -19005,7 +19113,7 @@ snapshots: istanbul-lib-source-maps@4.0.1: dependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: @@ -19868,6 +19976,8 @@ snapshots: dependencies: object-visit: 1.0.1 + marked@4.3.0: {} + math-random@1.0.4: {} md5-o-matic@0.1.1: {} @@ -21233,6 +21343,13 @@ snapshots: - '@types/react' - supports-color + react-simplemde-editor@5.2.0(easymde@2.18.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + dependencies: + '@types/codemirror': 5.60.15 + easymde: 2.18.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-style-proptype@3.2.2: dependencies: prop-types: 15.8.1 @@ -21543,7 +21660,7 @@ snapshots: rollup-plugin-esbuild@6.1.1(esbuild@0.23.1)(rollup@4.21.2): dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.21.2) - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) es-module-lexer: 1.5.4 esbuild: 0.23.1 get-tsconfig: 4.7.6 @@ -21645,6 +21762,19 @@ snapshots: transitivePeerDependencies: - react-dom + sanity-plugin-markdown@4.1.2(easymde@2.18.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)): + dependencies: + '@sanity/incompatible-plugin': 1.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@sanity/ui': 1.9.3(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + easymde: 2.18.0 + react: 18.3.1 + react-simplemde-editor: 5.2.0(easymde@2.18.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + sanity: link:packages/sanity + styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + transitivePeerDependencies: + - react-dom + - react-is + sanity-plugin-media@2.3.2(@sanity/ui@2.8.8(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)): dependencies: '@hookform/resolvers': 3.9.0(react-hook-form@7.52.2(react@18.3.1)) @@ -21958,7 +22088,7 @@ snapshots: socks-proxy-agent@8.0.4: dependencies: agent-base: 7.1.1 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) socks: 2.8.3 transitivePeerDependencies: - supports-color @@ -22586,7 +22716,7 @@ snapshots: tuf-js@2.2.1: dependencies: '@tufjs/models': 2.0.1 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) make-fetch-happen: 13.0.1 transitivePeerDependencies: - supports-color @@ -22695,6 +22825,8 @@ snapshots: typescript@5.5.4: {} + typo-js@1.2.4: {} + uglify-js@3.19.2: optional: true @@ -22881,7 +23013,7 @@ snapshots: vite-tsconfig-paths@4.3.2(typescript@5.5.4)(vite@4.5.3(@types/node@18.19.44)(terser@5.31.6)): dependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6(supports-color@5.5.0) globrex: 0.1.2 tsconfck: 3.1.1(typescript@5.5.4) optionalDependencies: