ricokahler / sanity-super-pane

The Sanity Desk Tool Pane with Super Powers
sanity-super-pane.vercel.app
MIT License
101 stars 12 forks source link

chore(deps): update sanity monorepo #61

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/base (source) 2.23.2 -> 2.25.4 age adoption passing confidence
@sanity/cli (source) 2.23.2 -> 2.25.0 age adoption passing confidence
@sanity/core (source) 2.23.2 -> 2.25.0 age adoption passing confidence
@sanity/default-layout (source) 2.23.2 -> 2.25.4 age adoption passing confidence
@sanity/default-login (source) 2.23.2 -> 2.24.1 age adoption passing confidence
@sanity/desk-tool (source) 2.23.2 -> 2.25.4 age adoption passing confidence
@sanity/google-maps-input (source) 2.23.2 -> 2.25.4 age adoption passing confidence
@sanity/vision (source) 2.23.2 -> 2.25.4 age adoption passing confidence

Release Notes

sanity-io/sanity ### [`v2.25.4`](https://togithub.com/sanity-io/sanity/releases/v2.25.4) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.25.1...v2.25.4) Upgrade the Command Line Interface (CLI) with: npm install --global @​sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### 🐛 Notable bugfixes - Fixes a bug in the Portable Text Editor where opening inline objects of type reference would not open the editing interface if the reference was set already - Fixes issue where document preview images weren't updating when changed - Fixes issue where array items with initial value were overriding set values when duplicating ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Per-Kristian Nordnes | fix(form-builder): fix issue with editing inline object references in PTE | [`a9ba0a0`](https://togithub.com/sanity-io/sanity/commit/a9ba0a022) Marius Lundgård | fix(base): remove use of `useMemo` when rendering preview media | [`07c9d08`](https://togithub.com/sanity-io/sanity/commit/07c9d08d2) Bjørge Næss | fix(form-builder): skip initial value resolution when inserting non-empty array items | [`f77b4de`](https://togithub.com/sanity-io/sanity/commit/f77b4def9) ### [`v2.25.1`](https://togithub.com/sanity-io/sanity/releases/v2.25.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.25.0...v2.25.1) Upgrade the Command Line Interface (CLI) with: npm install --global @​sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### 🐛 Notable bugfixes - Fixes some permission issues where users weren't able to edit documents when they should be - Fixes a bug where placeholder text in an empty Portable Text Editor would be stuck for a split second when it should not be - Fixes a bug where splitting lines in the Portable Text Editor including an inline object would corrupt the inline object data - Fixes an issue in Vision where controls and result were cut off in smaller viewports ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Per-Kristian Nordnes | test(example-studio): add hotkey example to customized editor | [`7996e15`](https://togithub.com/sanity-io/sanity/commit/7996e1529) Per-Kristian Nordnes | chore: upgrade [@​types/node](https://togithub.com/types/node) | [`4d811f5`](https://togithub.com/sanity-io/sanity/commit/4d811f532) Bjørge Næss | chore: remove --force flag when running tsc/type check | [`f95468b`](https://togithub.com/sanity-io/sanity/commit/f95468b87) Per-Kristian Nordnes | fix(portable-text-editor): fix types and robustify fromSlateValue | [`2323c8f`](https://togithub.com/sanity-io/sanity/commit/2323c8fce) Per-Kristian Nordnes | fix(portable-text-editor): fix type issue and remove obsolete code | [`36fc821`](https://togithub.com/sanity-io/sanity/commit/36fc82143) Per-Kristian Nordnes | fix(portable-text-editor): fix bugs and type issues in operationToPatches | [`d4705d4`](https://togithub.com/sanity-io/sanity/commit/d4705d406) Simeon Griggs | update readme for consistency with [@​sanity/document-internationalization](https://togithub.com/sanity/document-internationalization) | [`f259505`](https://togithub.com/sanity-io/sanity/commit/f25950590) Marius Lundgård | refactor(base): organize preview components | [`d22c199`](https://togithub.com/sanity-io/sanity/commit/d22c1990a) Marius Lundgård | refactor(base): improve preview components | [`2850294`](https://togithub.com/sanity-io/sanity/commit/2850294b2) Marius Lundgård | test(base): improve preview workshop | [`52e4be3`](https://togithub.com/sanity-io/sanity/commit/52e4be3e1) Marius Lundgård | refactor: move progress components to base | [`04b9eea`](https://togithub.com/sanity-io/sanity/commit/04b9eea3f) Marius Lundgård | refactor(test-studio): pass text as preview media | [`f08907c`](https://togithub.com/sanity-io/sanity/commit/f08907cc4) Marius Lundgård | refactor(base): simplify preview constants | [`8fb6d3c`](https://togithub.com/sanity-io/sanity/commit/8fb6d3c53) Marius Lundgård | refactor(form-builder): adjust preview action padding | [`c562932`](https://togithub.com/sanity-io/sanity/commit/c562932fd) Marius Lundgård | refactor(base): remove unused components | [`b413287`](https://togithub.com/sanity-io/sanity/commit/b413287fc) Marius Lundgård | refactor(base): rename to `TemplatePreview` | [`fb23f8f`](https://togithub.com/sanity-io/sanity/commit/fb23f8f23) Marius Lundgård | test(base): rename to `TemplatePreview` | [`6d87ae1`](https://togithub.com/sanity-io/sanity/commit/6d87ae10e) Marius Lundgård | refactor(desk-tool): use `TemplatePreview` component | [`c875309`](https://togithub.com/sanity-io/sanity/commit/c875309d9) Marius Lundgård | refactor(base): re-add deprecated components (for backwards compatibility) | [`2a2f902`](https://togithub.com/sanity-io/sanity/commit/2a2f90253) RitaDias | feat(desk-tool): make inspect dialog pane specific ([#​3090](https://togithub.com/sanity-io/sanity/issues/3090)) | [`2955437`](https://togithub.com/sanity-io/sanity/commit/29554378d) RitaDias | Fix permission issue panel ([#​3087](https://togithub.com/sanity-io/sanity/issues/3087)) | [`835bff3`](https://togithub.com/sanity-io/sanity/commit/835bff3cc) Fred Carlsen | fix(vision): fix min and max pane sizes so controls or results is never cut off ([#​2902](https://togithub.com/sanity-io/sanity/issues/2902)) | [`94fac97`](https://togithub.com/sanity-io/sanity/commit/94fac97b2) Fred Carlsen | fix(vision): fix z-index issues between CodeMirror and resizer | [`875fbc9`](https://togithub.com/sanity-io/sanity/commit/875fbc979) Fred Carlsen | refactor(form-builder): use context for conditional read only ([#​3072](https://togithub.com/sanity-io/sanity/issues/3072)) | [`01d5b1f`](https://togithub.com/sanity-io/sanity/commit/01d5b1f12) Per-Kristian Nordnes | fix(portable-text-editor): fix glitch in placeholder rendering | [`de7796b`](https://togithub.com/sanity-io/sanity/commit/de7796bdb) ### [`v2.25.0`](https://togithub.com/sanity-io/sanity/releases/v2.25.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.24.1...v2.25.0) Upgrade the Command Line Interface (CLI) with: npm install --global @​sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights ##### Maintainance update to the Portable Text Editor This update brings fixes for several bugs and improvements to the Portable Text Editor's performance and reliability. It also includes: - Better keyboard accessibility when editing embedded objects - Better tracking of validation errors within the editor - Better Android and IME support ##### Default .eslintrc file when creating new projects with the CLI New projects bootstrapped with the CLI will now contain a default `.eslintrc` that extends our new shared ESLint config [@​sanity/eslint-config-studio](https://togithub.com/sanity/eslint-config-studio). ##### 🐛 Notable bugfixes - Fixed an issue where the `mode` parameter for the code input would be incorrectly interpreted (Thanks [Tommy](https://togithub.com/ISnackable) for the PR!) - Fixed an issue where `sanity upgrade` would fail if `@sanity/code-input` was installed. - Fixed an issue where `sanity upgrade`, `sanity versions` and `sanity debug` would fail if running without any dependencies installed. - Removed third party dependency causing security warnings with `npm audit` (`immer.js`) ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Bjørge Næss | fix(base): make presence store debug use debugparams | [`9583d75`](https://togithub.com/sanity-io/sanity/commit/9583d759e5) Tommy | fix(code-input): ace mode variable is interpreted wrongly ([#​3077](https://togithub.com/sanity-io/sanity/issues/3077)) | [`2522cde`](https://togithub.com/sanity-io/sanity/commit/2522cde042) Bjørge Næss | chore(test-studio): fix lint error | [`dad4c2d`](https://togithub.com/sanity-io/sanity/commit/dad4c2dfb5) Espen Hovlandsdal | fix(core): provide ace globals when mocking browser env | [`3e90892`](https://togithub.com/sanity-io/sanity/commit/3e90892283) Rico Kahler | feat(cli): create .eslintrc when bootstrapping new projects ([#​3055](https://togithub.com/sanity-io/sanity/issues/3055)) | [`822ed41`](https://togithub.com/sanity-io/sanity/commit/822ed4114a) Espen Hovlandsdal | chore: upgrade webpack-hot-middleware | [`19cca36`](https://togithub.com/sanity-io/sanity/commit/19cca369cf) Per-Kristian Nordnes | chore(portable-text-editor): upgrade package versions | [`e7a20f9`](https://togithub.com/sanity-io/sanity/commit/e7a20f98e5) Per-Kristian Nordnes | feat(portable-text-editor): define CustomTypes for slate | [`95014e8`](https://togithub.com/sanity-io/sanity/commit/95014e8f5d) Per-Kristian Nordnes | refactor(portable-text-editor): use new types and determinators | [`2438731`](https://togithub.com/sanity-io/sanity/commit/2438731655) Per-Kristian Nordnes | fix(portable-text-editor): fix selection issues | [`cf302f3`](https://togithub.com/sanity-io/sanity/commit/cf302f3e8a) Per-Kristian Nordnes | feat(portable-text-editor): add new plugin that emits PT selections | [`213db47`](https://togithub.com/sanity-io/sanity/commit/213db4797a) Per-Kristian Nordnes | refactor(portable-text-editor): refactor the Editable component (see list) | [`1e38300`](https://togithub.com/sanity-io/sanity/commit/1e3830017b) Per-Kristian Nordnes | refactor(portable-text-editor): use better typings with toPortableTextRange | [`3694281`](https://togithub.com/sanity-io/sanity/commit/3694281b78) Per-Kristian Nordnes | fix(portable-text-editor): change default listItem value | [`1d98eff`](https://togithub.com/sanity-io/sanity/commit/1d98eff9bc) Per-Kristian Nordnes | fix(portable-text-editor): fix bug with adding marks | [`826267e`](https://togithub.com/sanity-io/sanity/commit/826267e6f2) Per-Kristian Nordnes | refactor(portable-text-editor): don't emit or change editor in pt-list plugin | [`6388eb3`](https://togithub.com/sanity-io/sanity/commit/6388eb3223) Per-Kristian Nordnes | chore(portable-text-editor): remove unused code | [`ac11f26`](https://togithub.com/sanity-io/sanity/commit/ac11f26e5e) Per-Kristian Nordnes | refactor(portable-text-editor): don't emit selections or change editor in patching plugin | [`5a23c01`](https://togithub.com/sanity-io/sanity/commit/5a23c01c8f) Per-Kristian Nordnes | chore(portable-text-editor): remove unused code | [`f7d3cb1`](https://togithub.com/sanity-io/sanity/commit/f7d3cb1f13) Per-Kristian Nordnes | refactor(portable-text-editor): use shared fn to create new block | [`69e6aa9`](https://togithub.com/sanity-io/sanity/commit/69e6aa9266) Per-Kristian Nordnes | feat(portable-text-editor): reset block style on enter | [`abc9f96`](https://togithub.com/sanity-io/sanity/commit/abc9f9632f) Per-Kristian Nordnes | refactor(portable-text-editor): fix issues and remove code from InsertData plugin | [`a88524c`](https://togithub.com/sanity-io/sanity/commit/a88524c379) Per-Kristian Nordnes | refactor(portable-text-editor): fix and clean up clipboard handling | [`851d072`](https://togithub.com/sanity-io/sanity/commit/851d072469) Per-Kristian Nordnes | refactor(portable-text-editor): refactor selection adjustments for unset child | [`6418fc2`](https://togithub.com/sanity-io/sanity/commit/6418fc2649) Per-Kristian Nordnes | refactor(portable-text-editor): move hasEditableTarget util to Editable | [`caa1e00`](https://togithub.com/sanity-io/sanity/commit/caa1e00e47) Per-Kristian Nordnes | test(portable-text-editor): refactor and add component tests for PortableTextEditor | [`5ed1c84`](https://togithub.com/sanity-io/sanity/commit/5ed1c847de) Per-Kristian Nordnes | test(portable-text-editor): update test in regard to new key generator used | [`86ca12f`](https://togithub.com/sanity-io/sanity/commit/86ca12fb7a) Per-Kristian Nordnes | test(portable-text-editor): make collaborative test environment more reliable | [`018b51b`](https://togithub.com/sanity-io/sanity/commit/018b51b2a9) Per-Kristian Nordnes | test(portable-text-editor): add selection adjustment collab test | [`b5467b7`](https://togithub.com/sanity-io/sanity/commit/b5467b7f93) Per-Kristian Nordnes | test(form-builder): streamline container props with other PTE Workshop stories | [`35f1fb1`](https://togithub.com/sanity-io/sanity/commit/35f1fb1754) Per-Kristian Nordnes | refactor(form-builder): refactor wrapping of the PTE components | [`8c32868`](https://togithub.com/sanity-io/sanity/commit/8c32868076) Per-Kristian Nordnes | fix(form-builder): fix Android breakage in PTE | [`702a9d9`](https://togithub.com/sanity-io/sanity/commit/702a9d94b3) Per-Kristian Nordnes | fix(form-builder): fix zIndex issue with VisibleOnFocusButton | [`f1305e4`](https://togithub.com/sanity-io/sanity/commit/f1305e4361) Per-Kristian Nordnes | fix(form-builder): fix several issues causing selection issues in the PTE | [`10aa766`](https://togithub.com/sanity-io/sanity/commit/10aa7668d6) Per-Kristian Nordnes | test(portable-text-edior): increase timeouts as CI struggles with Win testing | [`24dcddd`](https://togithub.com/sanity-io/sanity/commit/24dcdddf18) Per-Kristian Nordnes | fix(portable-text-editor): check for child path before checking for marks | [`1ec2b0f`](https://togithub.com/sanity-io/sanity/commit/1ec2b0f327) Per-Kristian Nordnes | refactor(portable-text-editor): expect empty blocks to have default (first) style | [`1f73940`](https://togithub.com/sanity-io/sanity/commit/1f739400d7) Per-Kristian Nordnes | fix(portable-text-editor): prefer unknown over any type | [`0ca1d41`](https://togithub.com/sanity-io/sanity/commit/0ca1d4135d) Per-Kristian Nordnes | fix(portable-text-editor): always emit the new value | [`aa519e6`](https://togithub.com/sanity-io/sanity/commit/aa519e65e1) Per-Kristian Nordnes | fix(portable-text-editor): make a default selection when focusing | [`7a4bdfb`](https://togithub.com/sanity-io/sanity/commit/7a4bdfb992) Per-Kristian Nordnes | fix(portable-text-editor): enter hotkey: only reset style when in end of line | [`a5130be`](https://togithub.com/sanity-io/sanity/commit/a5130be5d1) Per-Kristian Nordnes | refactor(portable-text-editor): clean up selection adjustment fn | [`feb4f12`](https://togithub.com/sanity-io/sanity/commit/feb4f128a7) Per-Kristian Nordnes | chore(portable-text-editor): add [@​types/node](https://togithub.com/types/node) | [`90896ac`](https://togithub.com/sanity-io/sanity/commit/90896acfd4) Per-Kristian Nordnes | test(portable-text-editor): make a more special test selection | [`75b0a8b`](https://togithub.com/sanity-io/sanity/commit/75b0a8b483) Per-Kristian Nordnes | fix(form-builder): PTE toolbar must respect readOnly | [`5d3a1af`](https://togithub.com/sanity-io/sanity/commit/5d3a1afd7c) Per-Kristian Nordnes | refactor(form-builder): fix and refactor PTE input selection and focus handling | [`2065fe8`](https://togithub.com/sanity-io/sanity/commit/2065fe810d) Per-Kristian Nordnes | test(form-builder): fix focusPath issue with TestInput | [`7835089`](https://togithub.com/sanity-io/sanity/commit/7835089bbd) Per-Kristian Nordnes | fix(form-builder): fix contentEditable issue with TextBlock | [`8ec0485`](https://togithub.com/sanity-io/sanity/commit/8ec0485570) Per-Kristian Nordnes | fix(portable-text-editor): fix broken typings for patchToOperations | [`5b6b6d3`](https://togithub.com/sanity-io/sanity/commit/5b6b6d3873) Per-Kristian Nordnes | refactor(portable-text-editor): change plugin chain ordering | [`c4b3692`](https://togithub.com/sanity-io/sanity/commit/c4b3692f9f) Per-Kristian Nordnes | feature(portable-text-editor): add some convenience methods | [`c4dae64`](https://togithub.com/sanity-io/sanity/commit/c4dae64d41) Per-Kristian Nordnes | refactor(portable-text-editor): remove sel. state and keep object equality | [`328f152`](https://togithub.com/sanity-io/sanity/commit/328f1522d1) Per-Kristian Nordnes | fix(portable-text-editor): fix broken delete fn and add test | [`6e819ab`](https://togithub.com/sanity-io/sanity/commit/6e819ab1a1) Per-Kristian Nordnes | test(portable-text-editor): move tests into own plugin test folder | [`00ba26f`](https://togithub.com/sanity-io/sanity/commit/00ba26fb7f) Per-Kristian Nordnes | test(portable-text-editor): try to lower limits after selection refactor | [`8b0b12c`](https://togithub.com/sanity-io/sanity/commit/8b0b12c1d3) Per-Kristian Nordnes | fix(portable-text-editor): normalize plain text fragment too | [`3ebc72f`](https://togithub.com/sanity-io/sanity/commit/3ebc72f545) Per-Kristian Nordnes | fix(form-builder): pte wrap block extras in own conatiner | [`c38fdf7`](https://togithub.com/sanity-io/sanity/commit/c38fdf7574) Per-Kristian Nordnes | refactor(form-builder): PTE: refactor selection and focus handling | [`124cfdf`](https://togithub.com/sanity-io/sanity/commit/124cfdfc85) Per-Kristian Nordnes | feature(form-builder): PTE make inline objects editable by keyboard | [`8e7d86c`](https://togithub.com/sanity-io/sanity/commit/8e7d86c6c3) Per-Kristian Nordnes | fix(form-builder): PTE make annotation edit toolbar work with keyboard | [`205781c`](https://togithub.com/sanity-io/sanity/commit/205781cc53) Per-Kristian Nordnes | test(form-builder): Tweak PTE Workshop values | [`8da6118`](https://togithub.com/sanity-io/sanity/commit/8da6118f13) Per-Kristian Nordnes | refactor(form-builder): rename files: Input > Compositor | [`e08d26a`](https://togithub.com/sanity-io/sanity/commit/e08d26a700) Per-Kristian Nordnes | refactor(portable-text-editor): don't manipulate focus in EditableAPI | [`79a963c`](https://togithub.com/sanity-io/sanity/commit/79a963cd8f) Per-Kristian Nordnes | fix(form-builder): PTE: fix focus issues when edting modals | [`80948f9`](https://togithub.com/sanity-io/sanity/commit/80948f9344) Per-Kristian Nordnes | docs(form-builder): add some comments for what the hooks are for | [`049857b`](https://togithub.com/sanity-io/sanity/commit/049857b369) Per-Kristian Nordnes | feature(form-builder): add single simple hook to scroll to editor elments when focus from outside | [`51faec3`](https://togithub.com/sanity-io/sanity/commit/51faec3514) Per-Kristian Nordnes | refactor(form-builder): split helper func. into two and export | [`f00dd10`](https://togithub.com/sanity-io/sanity/commit/f00dd10545) Per-Kristian Nordnes | test(test-studio): add validation rules to test schema | [`9b65776`](https://togithub.com/sanity-io/sanity/commit/9b65776d9f) Per-Kristian Nordnes | feature(portable-text-editor): add convenience method: isObjectPath | [`6199c3b`](https://togithub.com/sanity-io/sanity/commit/6199c3bb39) Per-Kristian Nordnes | refactor(form-builder): use path function on PortableTextEditor instead | [`98e5c45`](https://togithub.com/sanity-io/sanity/commit/98e5c4597d) Per-Kristian Nordnes | refactor(form-builder): turn off global spellcheck | [`7a86951`](https://togithub.com/sanity-io/sanity/commit/7a86951290) Per-Kristian Nordnes | feature(form-builder): open modals when double clicking on block/inline objnect | [`1a2dc8a`](https://togithub.com/sanity-io/sanity/commit/1a2dc8a993) Per-Kristian Nordnes | refactor(portable-text-editor): refactor withInsertData plugin | [`7ab5985`](https://togithub.com/sanity-io/sanity/commit/7ab5985df3) Per-Kristian Nordnes | chore(portable-text-editor): remove unused code + update comment | [`3dbf8bb`](https://togithub.com/sanity-io/sanity/commit/3dbf8bb376) Per-Kristian Nordnes | test(portable-text-editor): separate the PortableTextEditorTester com. and tests. | [`f640157`](https://togithub.com/sanity-io/sanity/commit/f6401577cb) Per-Kristian Nordnes | fix(portable-text-editor): call .onChange on all manipulating EditableAPI functions | [`35441f6`](https://togithub.com/sanity-io/sanity/commit/35441f6caf) Per-Kristian Nordnes | feature(form-builder): make easier keyboard access to focused block object | [`99cf8ea`](https://togithub.com/sanity-io/sanity/commit/99cf8eabbd) Per-Kristian Nordnes | fix(form-builder): avoid elm. focus tangling with menu button on BlockObjectPreview | [`eeed45c`](https://togithub.com/sanity-io/sanity/commit/eeed45caec) Per-Kristian Nordnes | refactor(form-builder): remove redundant user-select styles | [`478c005`](https://togithub.com/sanity-io/sanity/commit/478c005738) Per-Kristian Nordnes | fix(form-builder): fix some cross browser issues with object toolbars | [`142a3a6`](https://togithub.com/sanity-io/sanity/commit/142a3a6ff5) Per-Kristian Nordnes | refactor(form-builder): tune focusPath and selection handling | [`2332554`](https://togithub.com/sanity-io/sanity/commit/233255423e) Per-Kristian Nordnes | test(form-builder): add focusPath inspector to workshop story | [`a6c2a7c`](https://togithub.com/sanity-io/sanity/commit/a6c2a7c07b) Per-Kristian Nordnes | refactor(portable-text-editor): clean up loose ends in copy/paste | [`4ce2ec4`](https://togithub.com/sanity-io/sanity/commit/4ce2ec401b) Per-Kristian Nordnes | fix(portable-text-editor): fix bug in isObjectPath determinator fn | [`9e3f6e7`](https://togithub.com/sanity-io/sanity/commit/9e3f6e7c38) Per-Kristian Nordnes | refactor(portable-text-editor): work around introducing breaking change | [`fb0a8cf`](https://togithub.com/sanity-io/sanity/commit/fb0a8cffb3) Per-Kristian Nordnes | refactor(form-builder): add descriptive convenience method | [`15a5e10`](https://togithub.com/sanity-io/sanity/commit/15a5e10027) Per-Kristian Nordnes | refactor(form-builder): fix issues with scroll to focus from outside | [`8a7401a`](https://togithub.com/sanity-io/sanity/commit/8a7401ae0e) Per-Kristian Nordnes | fix(form-builder): only use 'is-needed' for scrollIntoView | [`83a2fcf`](https://togithub.com/sanity-io/sanity/commit/83a2fcf0ba) Per-Kristian Nordnes | fix(portable-text-editor): fix bug in isObjectPath | [`e3cbdfd`](https://togithub.com/sanity-io/sanity/commit/e3cbdfd163) Per-Kristian Nordnes | test(portable-text-editor): add selection adjustment test | [`861c11c`](https://togithub.com/sanity-io/sanity/commit/861c11c9c1) Per-Kristian Nordnes | fix(portable-text-editor): fix bug in object path determinator | [`1054159`](https://togithub.com/sanity-io/sanity/commit/10541594e6) Per-Kristian Nordnes | refactor(portable-text-editor): always emit selection when changed | [`92d1973`](https://togithub.com/sanity-io/sanity/commit/92d1973278) Per-Kristian Nordnes | refactor(portable-text-editor): dirty-check props value | [`a84ad64`](https://togithub.com/sanity-io/sanity/commit/a84ad6445f) Per-Kristian Nordnes | fix(portable-text-editor): change plugin order | [`725fa7e`](https://togithub.com/sanity-io/sanity/commit/725fa7e7d4) Per-Kristian Nordnes | fix(portable-text-editor): call onChange where needed | [`de0ffee`](https://togithub.com/sanity-io/sanity/commit/de0ffeefe3) Per-Kristian Nordnes | refactor(portable-text-editor): refactor / fix issues with selection adjustment | [`471c816`](https://togithub.com/sanity-io/sanity/commit/471c8167af) Per-Kristian Nordnes | test(form-builder): update workshop files | [`268b816`](https://togithub.com/sanity-io/sanity/commit/268b8163ab) Per-Kristian Nordnes | test(form-builder): increase jest timeout on test | [`bc0f56c`](https://togithub.com/sanity-io/sanity/commit/bc0f56cf14) Per-Kristian Nordnes | fix(form-builder): fix reference element issue with popover | [`68a517f`](https://togithub.com/sanity-io/sanity/commit/68a517f84b) Per-Kristian Nordnes | refactor(form-builder): memo useObjectEditData hook result | [`6a20dcd`](https://togithub.com/sanity-io/sanity/commit/6a20dcdf54) Per-Kristian Nordnes | fix(form-builder): fix blur and foucus issue with hooks | [`b53e808`](https://togithub.com/sanity-io/sanity/commit/b53e808c2d) Per-Kristian Nordnes | test(form-builder): increase jest timeout for test | [`2a35113`](https://togithub.com/sanity-io/sanity/commit/2a35113b15) Per-Kristian Nordnes | fix(form-builder): fix issues with popover object editing | [`29db1e6`](https://togithub.com/sanity-io/sanity/commit/29db1e6b0b) Per-Kristian Nordnes | fix(form-builder): fix possible undefined error | [`0206dc5`](https://togithub.com/sanity-io/sanity/commit/0206dc5091) Per-Kristian Nordnes | test(form-builder): update workshop story | [`7401f66`](https://togithub.com/sanity-io/sanity/commit/7401f66a3a) Per-Kristian Nordnes | fix(portable-text-editor): fix bug in onPaste handler | [`39557cd`](https://togithub.com/sanity-io/sanity/commit/39557cd3f7) Per-Kristian Nordnes | fix(form-builder): don't close object edit modal if not top layer | [`3dfa672`](https://togithub.com/sanity-io/sanity/commit/3dfa6724f1) Per-Kristian Nordnes | fix(portable-text-editor): put selection in state to force update context provider | [`be4dded`](https://togithub.com/sanity-io/sanity/commit/be4dded4a5) Per-Kristian Nordnes | refactor(portable-text-editor): rename function and simplify | [`2bab799`](https://togithub.com/sanity-io/sanity/commit/2bab799fa3) Per-Kristian Nordnes | fix(form-builder): fix browser comp. issues with dragging block objects | [`077dfa9`](https://togithub.com/sanity-io/sanity/commit/077dfa9d6e) Per-Kristian Nordnes | fix(form-builder): add cursor css to inline object | [`b14439d`](https://togithub.com/sanity-io/sanity/commit/b14439dcdd) Per-Kristian Nordnes | test(form-builder): add ReviewChangesContextProvider | [`d71d7d2`](https://togithub.com/sanity-io/sanity/commit/d71d7d2293) Per-Kristian Nordnes | fix(portable-text-editor): don't break API signature | [`0fb1c2a`](https://togithub.com/sanity-io/sanity/commit/0fb1c2a0a0) Per-Kristian Nordnes | fix(portable-text-editor): upgrade [@​sanity/slate-react](https://togithub.com/sanity/slate-react) | [`95b8f47`](https://togithub.com/sanity-io/sanity/commit/95b8f47dba) Per-Kristian Nordnes | fix(portable-text-editor): add missing value change emission | [`cd0e54f`](https://togithub.com/sanity-io/sanity/commit/cd0e54f82d) Per-Kristian Nordnes | fix(portable-text-editor): fix issues with dragging selections around | [`fddd1c6`](https://togithub.com/sanity-io/sanity/commit/fddd1c62cd) Per-Kristian Nordnes | fix(portable-text-editor): fix issues with restoring value from props | [`60fc9fb`](https://togithub.com/sanity-io/sanity/commit/60fc9fb382) Per-Kristian Nordnes | refactor(form-builder): remove obsolete hook | [`e93067b`](https://togithub.com/sanity-io/sanity/commit/e93067b46d) Per-Kristian Nordnes | fix(portable-text-editor): emit selection as new object | [`a292cb1`](https://togithub.com/sanity-io/sanity/commit/a292cb1f1e) Per-Kristian Nordnes | feature(portable-text-editor): put basic plainText and HTML on clipboard | [`95494bf`](https://togithub.com/sanity-io/sanity/commit/95494bfa4f) Per-Kristian Nordnes | fix(form-builder): remove obsolete style | [`678015b`](https://togithub.com/sanity-io/sanity/commit/678015b592) Per-Kristian Nordnes | chore(portable-text-editor): upgrade package | [`3e26008`](https://togithub.com/sanity-io/sanity/commit/3e26008bad) Per-Kristian Nordnes | refactor(form-builder): rename callback fn | [`49ad1b9`](https://togithub.com/sanity-io/sanity/commit/49ad1b98bf) Per-Kristian Nordnes | refactor(form-builder): add typings to React ref + optimize cb | [`84df66e`](https://togithub.com/sanity-io/sanity/commit/84df66ecd5) Marius Lundgård | fix(form-builder): make sure dialogs open in full-pane mode | [`5739590`](https://togithub.com/sanity-io/sanity/commit/5739590e19) Per-Kristian Nordnes | test(portable-text-editor): add test for marks normalization | [`a68bc84`](https://togithub.com/sanity-io/sanity/commit/a68bc844ca) Per-Kristian Nordnes | fix(portable-text-editor): fix normalization bug | [`a8918d5`](https://togithub.com/sanity-io/sanity/commit/a8918d5fed) Per-Kristian Nordnes | fix(portable-text-editor): call onChange when new selection from props | [`3132abe`](https://togithub.com/sanity-io/sanity/commit/3132abea65) Per-Kristian Nordnes | refactor(form-builder): change var into global const | [`042a1c2`](https://togithub.com/sanity-io/sanity/commit/042a1c2895) Per-Kristian Nordnes | refactor(form-builder): rename export to match filename | [`596f8fb`](https://togithub.com/sanity-io/sanity/commit/596f8fb875) Per-Kristian Nordnes | chore(portable-text-editor): don't specify types | [`90fd15d`](https://togithub.com/sanity-io/sanity/commit/90fd15d074) Per-Kristian Nordnes | fix(portable-text-editor): remove obsolete typecast | [`c23a540`](https://togithub.com/sanity-io/sanity/commit/c23a540598) Per-Kristian Nordnes | fix(portable-text-editor): add missing useCallback | [`5a8620b`](https://togithub.com/sanity-io/sanity/commit/5a8620bc4d) Per-Kristian Nordnes | test(portable-text-editor): move schema test file to test root | [`c08a5f5`](https://togithub.com/sanity-io/sanity/commit/c08a5f5a93) Per-Kristian Nordnes | fix(portable-text-editor): make void childs draggable only | [`802cca8`](https://togithub.com/sanity-io/sanity/commit/802cca8e21) Per-Kristian Nordnes | fix(form-builder): remove redundant CSS that breaks layout on Webkit | [`809f4fb`](https://togithub.com/sanity-io/sanity/commit/809f4fbbb6) Per-Kristian Nordnes | refactor(portable-text-editor): Implement our own placeholder rendring | [`8f17166`](https://togithub.com/sanity-io/sanity/commit/8f17166aeb) Per-Kristian Nordnes | refactor(form-builder): render our own placeholder element | [`8b535cb`](https://togithub.com/sanity-io/sanity/commit/8b535cbd00) Per-Kristian Nordnes | fix(form-builder): fix styled components syntax | [`3f4a6c7`](https://togithub.com/sanity-io/sanity/commit/3f4a6c7a1f) Per-Kristian Nordnes | chore(portable-text-editor): upgrade packages | [`90f8f3e`](https://togithub.com/sanity-io/sanity/commit/90f8f3ef9d) Per-Kristian Nordnes | test(portable-text-editor): allow for serving over network | [`3d3e9bc`](https://togithub.com/sanity-io/sanity/commit/3d3e9bc9f6) Rico Kahler | fix(desk-tool): prevent stale `actionHandlers` ([#​3081](https://togithub.com/sanity-io/sanity/issues/3081)) | [`ee6021d`](https://togithub.com/sanity-io/sanity/commit/ee6021d0dd) Espen Hovlandsdal | fix(cli): delete react-ace before upgrade if going from 8.x to 9.x | [`91f16be`](https://togithub.com/sanity-io/sanity/commit/91f16be06a) Espen Hovlandsdal | fix(cli): fix crash when running upgrade/debug/versions without dependencies | [`e025d04`](https://togithub.com/sanity-io/sanity/commit/e025d04c30) Espen Hovlandsdal | fix(cli): add missing await | [`3df83a4`](https://togithub.com/sanity-io/sanity/commit/3df83a43df) Bjørge Næss | fix(code-input): fallback to 'text' if unable to resolve language mode in preview | [`e3a8486`](https://togithub.com/sanity-io/sanity/commit/e3a84862db) ### [`v2.24.1`](https://togithub.com/sanity-io/sanity/releases/v2.24.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.24.0...v2.24.1) Upgrade the Command Line Interface (CLI) with: npm install --global @​sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### New features - Allow loading more syntaxes for the `@sanity/code-input` programmatically, see the [code input README](https://togithub.com/sanity-io/sanity/tree/next/packages/%40sanity/code-input#add-support-for-more-languages) for more details - You can now specify coupon codes when creating a new project using the CLI, by using the `--coupon` flag, eg `sanity init --coupon ` ##### 🐛 Notable bugfixes - Fixes bug where initial values would no longer work when inserting in arrays - Fixes a bug that caused some false warnings with duplicate and update permissions ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Fred Carlsen | fix(form-builder): fix dark mode in FormBuilder workshop | [`0238189`](https://togithub.com/sanity-io/sanity/commit/0238189f0) Bjørge Næss | feat(code-input): upgrade ace and add support for custom modes | [`6121832`](https://togithub.com/sanity-io/sanity/commit/6121832bb) Bjørge Næss | chore(code-input): add example of custom rust language support | [`625c06a`](https://togithub.com/sanity-io/sanity/commit/625c06a17) Bjørge Næss | chore(code-input): remove lodash | [`5caea42`](https://togithub.com/sanity-io/sanity/commit/5caea42c5) Marius Lundgård | build: update `@sanity/ui` | [`0d000dc`](https://togithub.com/sanity-io/sanity/commit/0d000dcf9) Marius Lundgård | build: update `@sanity/ui-workshop` | [`81a3b37`](https://togithub.com/sanity-io/sanity/commit/81a3b3776) shur | feat(cli): allow `--coupon` for sanity init ([#​3061](https://togithub.com/sanity-io/sanity/issues/3061)) | [`22aca18`](https://togithub.com/sanity-io/sanity/commit/22aca18ff) Bjørge Næss | fix(form-builder): fix initial value not resolved when adding array items | [`6c88963`](https://togithub.com/sanity-io/sanity/commit/6c889631b) Rico Kahler | fix(base): fix permissions bugs by fallbacking back to published variant | [`8fbf2e5`](https://togithub.com/sanity-io/sanity/commit/8fbf2e560) Espen Hovlandsdal | fix(cli): disallow --project and --coupon both being used | [`a99ad97`](https://togithub.com/sanity-io/sanity/commit/a99ad9721) Espen Hovlandsdal | fix(cli): give more descriptive error when coupon check fails | [`79d72ce`](https://togithub.com/sanity-io/sanity/commit/79d72ce58) Espen Hovlandsdal | fix(cli): skip project selection when using a coupon | [`b50db53`](https://togithub.com/sanity-io/sanity/commit/b50db53f8) Espen Hovlandsdal | fix(cli): dont require a user to validate coupon | [`e72bf3e`](https://togithub.com/sanity-io/sanity/commit/e72bf3eb1) ### [`v2.24.0`](https://togithub.com/sanity-io/sanity/releases/v2.24.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.23.3...v2.24.0) Upgrade the Command Line Interface (CLI) with: npm install --global @​sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights ##### Field groups Added Field Groups to schemas and document view. Read more about the feature here https://www.sanity.io/docs/field-groups. ![Field groups](https://i.imgur.com/IOLCBUq.png) ##### New array item menus Arrays now supports adding new items before/after existing array items, and also duplicating existing items ![New array item menus](https://i.imgur.com/hC7cLPs.png) ##### New and improved document status indicator Updated document status indicator with saving state and animation. ![Saving indicator](https://i.imgur.com/Dep0tXq.gif) ##### Other features - Added `SANITY_STUDIO_PROJECT_NAME` environment config variable ##### 🐛 Notable bugfixes - Fixed an issue that could in some cases cause matching documents to be excluded from the search results - Made the default title of referenced document types more user friendly - Fixes an issue that could occasionally cause a query error during publish of a new document created directly from the reference input - Fixes an issue that caused singleton documents to never load if no schemaType was provided. - Fixes UI issue in Portable Text toolbar ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- hermanwikner | feat(desk-tool): add updated `ReviewChangesButton` | [`53c3233`](https://togithub.com/sanity-io/sanity/commit/53c32336f) hermanwikner | test(desk-tool): add `ReviewChangesButton` workshop story | [`6335477`](https://togithub.com/sanity-io/sanity/commit/633547746) hermanwikner | feat(desk-tool): add updated `ReviewChangesButton` in `DocumentSparkline` | [`947f71e`](https://togithub.com/sanity-io/sanity/commit/947f71e9c) hermanwikner | chore(desk-tool): add framer-motion dependency | [`a0c85b0`](https://togithub.com/sanity-io/sanity/commit/a0c85b0fa) Herman Wikner | feat(desk-tool): add collapsed state to `PublishStatus` | [`e0640d4`](https://togithub.com/sanity-io/sanity/commit/e0640d43b) Herman Wikner | refactor(desk-tool): remove deprecated `AnimatedSyncIcon` | [`7e0eab2`](https://togithub.com/sanity-io/sanity/commit/7e0eab28d) Espen Hovlandsdal | fix(cli): use correct property when comparing against latest | [`cb6f7a5`](https://togithub.com/sanity-io/sanity/commit/cb6f7a53a) Bjørge Næss | chore(base): improve typings for preview observer | [`4821a5e`](https://togithub.com/sanity-io/sanity/commit/4821a5e16) Bjørge Næss | chore(form-builder): remove unused code and fix typo | [`2dd66ea`](https://togithub.com/sanity-io/sanity/commit/2dd66eaed) Rune Botten | feat(util): add SANITY_STUDIO_PROJECT_NAME env variable ([#​3047](https://togithub.com/sanity-io/sanity/issues/3047)) | [`e347bb6`](https://togithub.com/sanity-io/sanity/commit/e347bb6e8) Bjørge Næss | fix(base): restore default limit for weighted search | [`7abc8c3`](https://togithub.com/sanity-io/sanity/commit/7abc8c315) Bjørge Næss | fix(form-builder): bump number of displayed search results for reference inputs | [`32b4ff2`](https://togithub.com/sanity-io/sanity/commit/32b4ff2cf) Bjørge Næss | chore: upgrade [@​sanity/ui](https://togithub.com/sanity/ui) to 0.37.1 | [`d1611da`](https://togithub.com/sanity-io/sanity/commit/d1611da2e) Bjørge Næss | fix(desk-tool): fix ts error | [`e6ffed2`](https://togithub.com/sanity-io/sanity/commit/e6ffed27f) Victoria Bergquist | feat(form-builder): add field groups ([#​3006](https://togithub.com/sanity-io/sanity/issues/3006)) | [`33ed59e`](https://togithub.com/sanity-io/sanity/commit/33ed59eec) Bjørge Næss | test: upgrade [@​sanity/client](https://togithub.com/sanity/client) used by tests | [`401bb23`](https://togithub.com/sanity-io/sanity/commit/401bb23aa) Bjørge Næss | chore: upgrade depcheck and remove extraneous dependency | [`c4c79ff`](https://togithub.com/sanity-io/sanity/commit/c4c79ff0f) Bjørge Næss | fix(schema): improve default title resolution for references ([#​3049](https://togithub.com/sanity-io/sanity/issues/3049)) | [`680cc9f`](https://togithub.com/sanity-io/sanity/commit/680cc9f85) Herman Wikner | fix(form-builder): fix ui issues in PTE toolbar | [`f35a010`](https://togithub.com/sanity-io/sanity/commit/f35a01003) Bjørge Næss | feat(form-builder): add insert/duplicate menu items for array items | [`b833de8`](https://togithub.com/sanity-io/sanity/commit/b833de8e9) Bjørge Næss | feat(form-builder): add insert menu to array of primitive values | [`c156a41`](https://togithub.com/sanity-io/sanity/commit/c156a4124) Bjørge Næss | fix(form-builder): restore focus/cursor after array change | [`f36bd4a`](https://togithub.com/sanity-io/sanity/commit/f36bd4a7a) Bjørge Næss | refactor(form-builder): make InsertMenu a memo component and use stable callbacks for inserting and duplicating items | [`42275cb`](https://togithub.com/sanity-io/sanity/commit/42275cbf7) Bjørge Næss | chore(form-builder): clarify focus handling when removing an item | [`8fc2b11`](https://togithub.com/sanity-io/sanity/commit/8fc2b11c1) Bjørge Næss | chore(form-builder): remove unused code | [`f73c4f0`](https://togithub.com/sanity-io/sanity/commit/f73c4f04b) Fred Carlsen | fix(form-builder): fix switching to all fields tab in modal on open | [`90bd5f7`](https://togithub.com/sanity-io/sanity/commit/90bd5f716f) Fred Carlsen | fix(form-builder): fix columns support for nested object fields | [`14abb94`](https://togithub.com/sanity-io/sanity/commit/14abb940d2) Bjørge Næss | fix(form-builder): fix autofocus issues | [`3b85af8`](https://togithub.com/sanity-io/sanity/commit/3b85af8f5f) ### [`v2.23.3`](https://togithub.com/sanity-io/sanity/releases/v2.23.3) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.23.2...v2.23.3) Upgrade the Command Line Interface (CLI) with: npm install --global @​sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights ##### Changes to `sanity upgrade` `sanity upgrade` now behaves slightly different: 1. It now respects the version ranges and pinned versions declared in your `package.json` 2. Tries not to upgrade non-studio modules such as `@sanity/block-content-to-html` 3. Shows a more prominent message if there are major updates available with a link to the changelog ##### 🐛 Notable bugfixes - Fixes an issue that caused a crash instead of a warning screen when omitting schemaType from `S.documentList()` ([#​3022](https://togithub.com/sanity-io/sanity/issues/3022)) - Fixes an issue that caused singleton documents to never load if no schemaType was provided ([#​3043](https://togithub.com/sanity-io/sanity/issues/3043)) ##### 📓 Full changelog | Author | Message | Commit | | ----------------- | -------------------------------------------------------------------------------- | ---------- | | Rico Kahler | fix(base): prevent crash if type `*` is provided to structure ([#​3022](https://togithub.com/sanity-io/sanity/issues/3022)) | [`976e622`](https://togithub.com/sanity-io/sanity/commit/976e622544) | | Fred Carlsen | fix(cypress): fix flaky e2e test for review changes ([#​3021](https://togithub.com/sanity-io/sanity/issues/3021)) | [`75fbfc1`](https://togithub.com/sanity-io/sanity/commit/75fbfc16af) | | Fred Carlsen | fix(cypress): improve e2e test speed ([#​3027](https://togithub.com/sanity-io/sanity/issues/3027)) | [`3b3dc27`](https://togithub.com/sanity-io/sanity/commit/3b3dc27d22) | | Fred Carlsen | feat(form-builder): add workshop for FormBuilderInput ([#​3012](https://togithub.com/sanity-io/sanity/issues/3012)) | [`490258d`](https://togithub.com/sanity-io/sanity/commit/490258dfc8) | | Bjørge Næss | build(gulpfile): add jsx pattern | [`a5f4410`](https://togithub.com/sanity-io/sanity/commit/a5f4410b24) | | Espen Hovlandsdal | fix: monorepo validator crashing on no dev dependencies | [`bb99977`](https://togithub.com/sanity-io/sanity/commit/bb999777d6) | | Espen Hovlandsdal | chore(cli): upgrade get-latest-version to v3.0.1 | [`1ce1bdc`](https://togithub.com/sanity-io/sanity/commit/1ce1bdc96b) | | Espen Hovlandsdal | feat(cli): respect specified ranges when upgrading | [`86a285d`](https://togithub.com/sanity-io/sanity/commit/86a285dbc7) | | Bjørge Næss | fix(form-builder): add prop for passing item component to array of objects input | [`abcde02`](https://togithub.com/sanity-io/sanity/commit/abcde02b1a) | | Rico Kahler | feat(desk-tool): experimental `__preserveInstance` prop ([#​3042](https://togithub.com/sanity-io/sanity/issues/3042)) | [`e92d804`](https://togithub.com/sanity-io/sanity/commit/e92d8049d1) | | Rico Kahler | fix(desk-tool): fix issue with singletons with no type not loading ([#​3043](https://togithub.com/sanity-io/sanity/issues/3043)) | [`2915cfa`](https://togithub.com/sanity-io/sanity/commit/2915cfa1b5) |

Configuration

📅 Schedule: "before 3am on the first day of the month" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/ricokahler/sanity-super-pane/AE6bNeerfRTckdMurrzgo4ADKeei
✅ Preview: https://sanity-super-pane-git-renovate-sanity-monorepo-ricokahler.vercel.app