unageek / graphest

A faithful graphing calculator
MIT License
94 stars 1 forks source link

Bump slate from 0.87.0 to 0.94.1 #963

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps slate from 0.87.0 to 0.94.1.

Release notes

Sourced from slate's releases.

slate@0.94.1

Patch Changes

  • #5415 01f0210b Thanks @​zbeyens! - Editor.insertFragment, Editor.insertNode, Editor.insertText now accept options. For all insert methods, the default location is now the editor selection if at is not defined, or the end of document if editor.selection is not defined.

slate-react@0.94.0

Patch Changes

slate@0.94.0

Minor Changes

  • #5307 3243c7e3 Thanks @​zbeyens! - New Features:

    • All Editor and Transforms methods now call editor methods. For example: Transforms.insertBreak now calls editor.insertBreak.
    • editor.setNodes now calls setNodes, an exported function that implements the default editor behavior.
    • You can now override editor.setNodes with your own implementation.
    • You can use either Editor.setNodes or editor.setNodes in your code, and both will use your overridden behavior.

    The editor object now has many more methods:

    export interface BaseEditor {
      // Core state.
    

    children: Descendant[] selection: Selection operations: Operation[] marks: EditorMarks | null

    // Overrideable core methods.

    apply: (operation: Operation) => void getDirtyPaths: (operation: Operation) => Path[] getFragment: () => Descendant[] isElementReadOnly: (element: Element) => boolean isSelectable: (element: Element) => boolean markableVoid: (element: Element) => boolean normalizeNode: ( entry: NodeEntry, options?: { operation?: Operation } ) => void onChange: (options?: { operation?: Operation }) => void shouldNormalize: ({ iteration, dirtyPaths, operation, }: {

... (truncated)

Commits
  • 9a51198 Version Packages (#5416)
  • 01f0210 Consistent insert* methods (#5415)
  • 48c18b5 docs(walkthroughs): fix broken code example (#5409)
  • 33a1e9b Version Packages (#5397)
  • 3243c7e Refactor editor methods and fix JSDoc (#5307)
  • 161af4c Update 01-installing-slate.md (#5388)
  • 00bce4c docs(walkthroughs): fix incomplete code block keyboard shortcut example (#5392)
  • bc945eb Take previously added/removed nodes into account when fetching child node in ...
  • 832e75f docs: Add details about the scrollSelectionIntoView prop for the Editable com...
  • ce5428b Remove unnecessary dollar sign from Chromium bug fix (#5394)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)