Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump slate from 0.82.1 to 0.94.0 #803

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 21, 2023

Bumps slate from 0.82.1 to 0.94.0.

Release notes

Sourced from slate's releases.

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,
    }: {
    iteration: number
    initialDirtyPathsLength: number
    dirtyPaths: Path[]
    operation?: Operation
    }) => boolean

... (truncated)

Commits
  • 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)
  • 3c4e4b6 Remove export from EditableProps in docs
  • 20cff0e Add props. prefix to Slate component docs where it was missing
  • 34776c6 Normalize Slat and Editable component documentation. Add under construction m...
  • 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)

Bumps [slate](https://github.com/ianstormtaylor/slate) from 0.82.1 to 0.94.0.
- [Release notes](https://github.com/ianstormtaylor/slate/releases)
- [Commits](https://github.com/ianstormtaylor/slate/compare/slate@0.82.1...slate@0.94.0)

---
updated-dependencies:
- dependency-name: slate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 21, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 7, 2023

Looks like slate is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this May 7, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/slate-0.94.0 branch May 7, 2023 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants