Update dependency slate-react to v0.124.0#159
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/github56/react-jsonschema-form-material-ui/7W5Z9Ceqf4VhTYAitNtsukWHMF5L |
dd4ab2e to
35615bc
Compare
35615bc to
cfceb66
Compare
cfceb66 to
a201aed
Compare
a201aed to
f84bd8d
Compare
f84bd8d to
69ec480
Compare
69ec480 to
b7df9d2
Compare
b7df9d2 to
e4b562e
Compare
e4b562e to
e596d67
Compare
e596d67 to
33f13b9
Compare
6e7b1bb to
41e10a3
Compare
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
|
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json |
Codecov Report
@@ Coverage Diff @@
## main #159 +/- ##
=======================================
Coverage 85.05% 85.05%
=======================================
Files 66 66
Lines 1619 1619
Branches 570 570
=======================================
Hits 1377 1377
Misses 237 237
Partials 5 5 Continue to review full report at Codecov.
|
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
|
Deployment failed with the following error: |
This PR contains the following updates:
0.22.9→0.124.0Release Notes
ianstormtaylor/slate (slate-react)
v0.124.0Compare Source
Minor Changes
72e4f025Thanks @skorenb! - Addedforceproperty tonormalizeNodepassed fromnormalizemethodPatch Changes
#6018
91321bdcThanks @12joan! - Do not allow paths to contain strings when getting nodes#6024
a1729221Thanks @juliankrispel! - Fix normalization hanging when merging text under non-selectable elementsv0.123.0Compare Source
v0.120.0Compare Source
Patch Changes
addf0c51Thanks @nabbydude! - Removed the last traces of immer and eliminated it as a dependencyv0.119.0Compare Source
Minor Changes
33e74a82Thanks @iperzic! - Fixes an editor crash that happens when editor is placed inside Shadow DOM and the user is typing on Androidv0.118.2Compare Source
Patch Changes
#5957
bd66bfa2Thanks @scrapooo! - Fix:onValueChangewas not triggered when replacing text after selecting it from right to left.#5965
cc5a9d8cThanks @hiteshshetty-dev! - Ignores composition events when fired from nested input or textarea#5959
622fb115Thanks @hiteshshetty-dev! - Adds translate='no' to Editable component to skip DOM from translationv0.117.4Compare Source
Patch Changes
#5919
e029a87aThanks @12joan! - Do not apply WeChat-related workarounds on recent versions of Chrome#5916
f2ea1e1eThanks @delijah! - Do not retry focusing editor after it has been unmountedv0.117.3Compare Source
Patch Changes
5a20ea3aThanks @bibixx! - Fix Android cursor jumping to word start after autocorrectv0.117.2Compare Source
Patch Changes
94fb04a4Thanks @12joan! - Fix:editor.selectionis sometimes replaced with a new object even if the selection did not changev0.117.1Compare Source
Patch Changes
47da9bf4Thanks @zbeyens! - Fixes #5900v0.116.0Compare Source
Patch Changes
fb87646eThanks @12joan! - - PERF: Use pure JS instead of Immer for applying operations and transforming points and ranges. Immer is now used only for producing fragments.v0.115.0Compare Source
v0.114.2Compare Source
Patch Changes
ec367fb0Thanks @zbeyens! - FixrenderTextprop not appliedv0.114.0Compare Source
Minor Changes
22a3dda3Thanks @zbeyens! - - UpdateText.decorationsto return the positions in addition to the leaf nodes:{ leaf: Text, position?: { start: number, end: number, isFirst: boolean, isLast: boolean } }[].v0.113.0Compare Source
v0.112.1Compare Source
Patch Changes
f456dfbfThanks @12joan! - Ignore selectionchange events originating from input and textarea elements (addresses Chrome bug https://issues.chromium.org/issues/389368412)v0.112.0Compare Source
Minor Changes
5a1c728cThanks @yf-yang! - Addmergeoptional function to decorations and change related type signatures toDecoratedRange. Now developers can specify how two decoration object with the same key but different value are merged together if they overlap"Patch Changes
4bc552f7Thanks @ahoisl! - Keep data in normalization when blocks are not allowedv0.111.0Compare Source
Minor Changes
9a212512Thanks @bmingles! - Split out slate-dom packagev0.110.3Compare Source
Patch Changes
0e1e4b4dThanks @zbeyens! - AddHistoryEditor.withNewBatchv0.110.2Compare Source
Patch Changes
#5723
ee2c4540Thanks @RavenColEvol! - feat: add Node.getIf method#5725
f31167cfThanks @WindRunnerMax! - fix marks at the start of the selection#5729
b1a10216Thanks @electroluxcode! - feat: add prop surrounds with rangev0.110.1Compare Source
Patch Changes
10abeff8Thanks @TyMick! - Fix selections with non-void non-editable focusv0.110.0Compare Source
Minor Changes
f9e83b80Thanks @yf-yang! - Expose useComposing hookv0.109.0Compare Source
Minor Changes
6cb38e37Thanks @yf-yang! - feat: Add useComposing hook"v0.108.0Compare Source
Minor Changes
b8bf92dcThanks @yf-yang! - Forward ref from Editable componentv0.107.1Compare Source
Patch Changes
a9a70405Thanks @WindrunnerMax! - fix unexpected event triggered when usingReactEditor.focusv0.107.0Compare Source
Minor Changes
ec9e5f0aThanks @ivan-sysoi! - Changed behaviour of ReactEditor.findDocumentOrShadowRoot. It returns shadow root or document without checking for the existence of the getSelection method.v0.106.0Compare Source
Minor Changes
e6254f70Thanks @MahmoudElsayad! - Enable Shadow DOM fix for all Safari versions.Patch Changes
0016f984Thanks @12joan! - Fix:state.isDraggingInternallyis stale if a drop handler outside the editor causes the dragged DOM element to unmountv0.105.0Compare Source
Minor Changes
2a8b4e95Thanks @alex-starostin! - Make capitalizing work for iOSv0.104.0Compare Source
Minor Changes
0bb7be54Thanks @MahmoudElsayad! - Fix Safari selection inside Shadow DOM.v0.102.0Compare Source
Minor Changes
3aaf3b51Thanks @mainhanu! - Transform.insertNodes & Transform.insertFragment performance optimizev0.101.6Compare Source
Patch Changes
54594d0fThanks @12joan! - Fix: CallingReactEditor.focusdoesn't updateuseFocusedwhen running in @testing-library/reactv0.101.5Compare Source
Patch Changes
8ba3a9c0Thanks @GeneralChauhan! - Punctuation Mark "+" Support Addedv0.101.3Compare Source
Patch Changes
8ce52fd4Thanks @qirong77! - fix onCompositionEnd update error.v0.101.2Compare Source
Patch Changes
07f59e36Thanks @timagixe! - Fix cursor position on selection collapse for RTL directionv0.101.1Compare Source
Patch Changes
91400a8eThanks @YaoKaiLun! - Fix the 'select' parameter of the insertNodes function has been overriddenv0.101.0Compare Source
Minor Changes
fc081816Thanks @skogsmaskin! - Fixes a bug withReactEditor.focuswhere it would throw an error if the editor was in the middle of applying pending operations.With this change, setting focus will be retried until the editor no longer has any pending operations.
Calling
ReactEditor.focuson a editor without a current selection, will now make a selection in the top of the document.Patch Changes
#5549
f9cca97fThanks @12joan! - Firefox compat: Fix incorrect focus.offset when text node ends with \n#5556
22495e14Thanks @dylans! - Revert #5542v0.100.1Compare Source
Patch Changes
8688ed5cThanks @hellsan631! - Fix Memory Leak when switching between focused editablesv0.100.0Compare Source
Minor Changes
c4c14882Thanks @dylans! - Update dependencies to React 18, Node 20, TS 5.2, etc.v0.99.0Compare Source
Minor Changes
300dc57aThanks @josephmr! - Retain editor selection when using ReactEditor.focus()Patch Changes
ff7db221Thanks @YaoKaiLun! - Fix move_node triggers nodes re-renderv0.98.4Compare Source
Patch Changes
13c7d271Thanks @e1himself! - Remove an unused React refv0.98.3Compare Source
Patch Changes
e308cd66Thanks @janpaepke! - bugfix: slate breaks on load on safari < 16.4v0.98.2Compare Source
Patch Changes
76ba3759Thanks @Dimitri-WEI-Lingfeng! - fix the bug that user cannot input chinese on mac wechat browser.v0.98.1Compare Source
Patch Changes
a5576e56Thanks @WcaleNieWolny! - Fix firefox table selection if table is contentedtiablev0.98.0Compare Source
Minor Changes
8b548fb5Thanks @WcaleNieWolny! - Fix invalid usage of the selection API in firefoxv0.97.2Compare Source
Patch Changes
#5462
a6b606d8Thanks @Ben-Wormald! - Update hotkeys util to use isHotkey for better support for non-latin keyboards#5470
4bd15ed3Thanks @josephmr! - Fix Android caret placement regression when inputting into empty editorv0.97.1Compare Source
Patch Changes
53395449Thanks @12joan! - Do not attempt to batch updates manually in React >= 18v0.97.0Compare Source
Minor Changes
12ff246eThanks @gtluszcz! - Fixed occasional crashes when selecting void elements in ChromePatch Changes
cde0a155Thanks @Shiba-ligo! - fix regular expression for testing Webkit based browser.v0.96.0Compare Source
Minor Changes
3ad13d60Thanks @josephmr! - Detect all WebKit based browsers for COMPAT behaviorPatch Changes
eb7f5987Thanks @OldDream! - fix wrong caret position during composition.v0.95.0Compare Source
Minor Changes
#5422
0b179909Thanks @Chudesnov! - Prevents default focus styles from being removed in Editable#5421
91e388ecThanks @e1himself! - Rename<Slate>component prop fromvaluetoinitialValueto emphasize uncontrolled nature of itv0.94.2Compare Source
Patch Changes
042bca16Thanks @horacioh! - fix placeholder position in Safari 16.xv0.94.0Compare Source
Minor Changes
#5307
3243c7e3Thanks @zbeyens! - New Features:EditorandTransformsmethods now calleditormethods. For example:Transforms.insertBreaknow callseditor.insertBreak.editor.setNodesnow callssetNodes, an exported function that implements the default editor behavior.editor.setNodeswith your own implementation.Editor.setNodesoreditor.setNodesin your code, and both will use your overridden behavior.The
editorobject now has many more methods:Note:
getMarksis an exception, as there is alreadyeditor.marksthat stores the current marks.Transforms.insertTexthas not been moved toeditoryet: there is already aneditor.insertTextmethod with extended behavior. This may change in a future release, but this release is trying to avoid any breaking changes.editor.insertTexthas a new argument (third):options?: TextInsertTextOptionsto matchTransforms.insertText.Bug Fixes:
Patch Changes
bc945eb1Thanks @Moerphy! - Correct core normalization that could cause wrong nodes to be removedv0.93.0Compare Source
Minor Changes
#5374
b52e08b0Thanks @12joan! - - AddisSelectabletoeditor(default true). A non-selectable element is skipped over when navigating using arrow keys.ignoreNonSelectabletoEditor.nodes,Editor.positions,Editor.afterandEditor.before(default false)Transforms.moveignores non-selectable elements#5374
b52e08b0Thanks @12joan! - - AddisElementReadOnlytoeditor. A read-only element behaves much like a void with regard to selection and deletion, but renders itschildrenthe same as any other non-void node.v0.92.0Compare Source
Minor Changes
#5363
d42cd005Thanks @aciccarello! - update dependencies on react hooks to be more senstive to changesThe code should now meet eslint react hook standards
This could result in more renders
closes #3886
Patch Changes
556a4565Thanks @alex-vladut! - Allow copying from editable void inputv0.91.11Compare Source
Patch Changes
#5362
43999356Thanks @jason0x43! - Fix an issue where pastes in Safari wouldn't include application/x-slate-fragment data#5359
9825d29bThanks @jason0x43! - Fix an issue on Android where content containing a newline wouldn't be pasted properlyv0.91.10Compare Source
Patch Changes
#5346
a5e833f6Thanks @edhager! - Fix a problem with Editable not calling the decorate function passed as a prop when it should.#5343
f7f02a8bThanks @12joan! - Fix error when triple-clicking a word preceding acontenteditable="false"DOM node in Chromev0.91.9Compare Source
Patch Changes
62f8ddd9Thanks @12joan! - Fixes #5335. To prevent performance issues, make sure to wrap customrenderPlaceholdervalues inuseCallback.v0.91.8Compare Source
Patch Changes
#5325
af3f828bThanks @clauderic! - Fix edge-cases in the Android input manager when text leaf nodes are deleted, such as when deleting text leaf nodes adjacent to inline void nodes.#5327
4205e0f0Thanks @YasinChan! - Fix the issue of composition API and beforeinput event triggering between Chrome versions 60-75 on the Android platform.v0.91.7Compare Source
Patch Changes
836f6600Thanks @edhager! - Add checks to Editable selection change handler to avoid errorsv0.91.6Compare Source
Patch Changes
#5315
5784a38bThanks @clauderic! - TheRestoreDOMmanager that is used Android no longer restores the DOM to its previous state for text mutations. This allows the editor state to be reconciled during a composition without interrupting the composition, as programatically updating thetextContentof a text node ends the current composition.#5315
5784a38bThanks @clauderic! - Fixed consumer definedonInputevent handler not being invoked when passed to the<Editable>component.v0.91.5Compare Source
Patch Changes
#5313
3bf568edThanks @edhager! - Some code clean-up in Editable.#5306
213edbbfThanks @clauderic! - Use memoization to avoid unnecessarytextContentupdates in<TextString>component.v0.91.4Compare Source
Patch Changes
0ac72a62Thanks @zbeyens! - Fix #5295 regression.editor.shouldNormalizenew option:initialDirtyPathsLength: numberv0.91.3Compare Source
Patch Changes
#5295
84f811a7Thanks @zbeyens! - Neweditormethod that can be overridden to control when the normalization should stop. Default behavior (unchanged) is to throw an error when it iterates over 42 times the dirty paths length.editor.onChangesignature change:(options?: { operation?: Operation }) => voidwhereoperationis triggering the function.editor.normalizeNodesignature change:(entry: NodeEntry, options?: { operation?: Operation }) => voidwhereoperationis triggering the function.EditorNormalizeOptionsnew optionoperation?: Operationwhereoperationis triggering the function.v0.91.2Compare Source
Patch Changes
967d99ebThanks @edhager! - Fix memory leaks by adding clean-up code that looks for ref resets in Editable and Text.v0.91.1Compare Source
Patch Changes
6fa4b954Thanks @YaoKaiLun! - Fix the cursor jump to an unexpected position after deleting in androidv0.91.0Compare Source
Minor Changes
#5267
463edbd2Thanks @ilya2204! - Allow to change clipboard fragment format name#5271
9635b992Thanks @dsvgit! - If TextComponent decorations keep the same offsets and only paths are changed, prevent re-rendering because only decoration offsets matter when leaves are calculated.v0.90.0Compare Source
Patch Changes
9c4097a2Thanks @kylemclean! - Revert to using inline styles for default editor stylesv0.89.0Compare Source
Minor Changes
5bc69d8dThanks @12joan! - Firefox: fix wrong text highlighting with double-clickPatch Changes
3cf51f4dThanks @kylemclean! - Improve compatibility for browsers that do not support ResizeObserver or :where selectorv0.88.2Compare Source
Patch Changes
#5259
d7de564dThanks @Jacfem! - Updates the selection correctly in readonly shadowdom#5252
179d5c92Thanks @frellica! - remove qq browser frombeforeinputcompat list because it had updated its chromium core to version 94v0.88.0Compare Source
Minor Changes
0141f683Thanks @laufeyrut! - Check if getBoundingClientRect exist before trying to call bind on it. Makes unit testing experience agains Editable nicerv0.87.1Compare Source
Patch Changes
120437d6Thanks @alex-vladut! - Fix issue preventing editing and copy/paste into editable voidsv0.87.0Compare Source
Minor Changes
96b7fcdbThanks [@kylemclean](https://redirect.github.com/kConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.