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

Version Packages (next) #684

Merged
merged 1 commit into from
May 8, 2021
Merged

Version Packages (next) #684

merged 1 commit into from
May 8, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 8, 2021

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@udecode/slate-plugins-core@1.0.0-next.29

Major Changes

  • #687 dfbde8bd Thanks @zbeyens! - changes:
    • renamed:
      • useTSlate to useEditorState
      • useTSlateStatic to useEditorRef
      • useStoreEditor to useStoreEditorRef
    • removed:
      • useEditorId in favor of useEditorRef().id
      • useEditorOptions in favor of useEditorRef().options
      • useSlatePluginOptions in favor of getSlatePluginOptions(useEditorRef(), pluginKey)
      • useSlatePluginType in favor of getSlatePluginType(useEditorRef(), pluginKey)
      • pipeOnDOMBeforeInput in favor of pipeHandler
      • pipeOnKeyDown in favor of pipeHandler
    • types:
      • renamed:
        • SlatePluginsState to SlatePluginsStates
        • State to SlatePluginsState
      • removed:
        • OnDOMBeforeInput in favor of
        • OnKeyDown in favor of KeyboardHandler

Minor Changes

  • #687 dfbde8bd Thanks @zbeyens! - changes:
    • useEditableProps (used by SlatePlugins):
      • new fields returned: all handler props from the plugins (if defined)
      • new core plugins with the following fields:
        • onFocus: setEventEditorId('focus', id)
        • onBlur: setEventEditorId('blur', id)
        • You can add your own handlers in a plugin
    • EditorStateEffect: a new component used by SlatePlugins to update the editor state.
    • setEventEditorId: a new action. Set an editor id by event key.
    • eventEditorStore, useEventEditorStore: a new store. Store where the keys are event names and the values are editor ids.
    • useEventEditorId: a new selector. Get the editor id by event key.
    • useStoreEditorSelection: a new selector. Get the editor selection which is updated on editor change.
    • useStoreEditorState: a new selector. Get editor state which is updated on editor change. Similar to useSlate.
    • SlatePlugin: the previous plugin could implement the following handlers: onChange, onDOMBeforeInput and onKeyDown. The plugins now implement all DOM handlers: clipboard, composition, focus, form, image, keyboard, media, mouse, selection, touch, pointer, ui, wheel animation and transition events.
    • SlatePluginsState (store interface):
      • a new field keyChange incremented by SlatePlugins on useSlate update.
      • a new field selection = editor.selection updated on useSlate update.
    • pipeHandler: a new function. Generic pipe for handlers.

@udecode/slate-plugins-dnd@1.0.0-next.29

Minor Changes

  • #668 f1e6107c Thanks @zbeyens! - The components/hooks can now be outside SlatePlugins and need the
    editor to be focused once to be functional.

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29
    • @udecode/slate-plugins-ui-fluent@1.0.0-next.29

@udecode/slate-plugins-alignment-ui@1.0.0-next.29

Minor Changes

  • #668 f1e6107c Thanks @zbeyens! - The components/hooks can now be outside SlatePlugins and need the
    editor to be focused once to be functional.

Patch Changes

  • Updated dependencies [f1e6107c]:
    • @udecode/slate-plugins-toolbar@1.0.0-next.29
    • @udecode/slate-plugins-alignment@1.0.0-next.29

@udecode/slate-plugins-code-block-ui@1.0.0-next.29

Minor Changes

  • #668 f1e6107c Thanks @zbeyens! - The components/hooks can now be outside SlatePlugins and need the
    editor to be focused once to be functional.

Patch Changes

  • Updated dependencies [f1e6107c]:
    • @udecode/slate-plugins-toolbar@1.0.0-next.29
    • @udecode/slate-plugins-code-block@1.0.0-next.29

@udecode/slate-plugins-image-ui@1.0.0-next.29

Minor Changes

  • #668 f1e6107c Thanks @zbeyens! - The components/hooks can now be outside SlatePlugins and need the
    editor to be focused once to be functional.

Patch Changes

  • Updated dependencies [f1e6107c]:
    • @udecode/slate-plugins-toolbar@1.0.0-next.29
    • @udecode/slate-plugins-image@1.0.0-next.29

@udecode/slate-plugins-link-ui@1.0.0-next.29

Minor Changes

  • #668 f1e6107c Thanks @zbeyens! - The components/hooks can now be outside SlatePlugins and need the
    editor to be focused once to be functional.

Patch Changes

  • Updated dependencies [f1e6107c]:
    • @udecode/slate-plugins-toolbar@1.0.0-next.29
    • @udecode/slate-plugins-link@1.0.0-next.29

@udecode/slate-plugins-list-ui@1.0.0-next.29

Minor Changes

  • #668 f1e6107c Thanks @zbeyens! - The components/hooks can now be outside SlatePlugins and need the
    editor to be focused once to be functional.

Patch Changes

  • Updated dependencies [f1e6107c]:
    • @udecode/slate-plugins-toolbar@1.0.0-next.29
    • @udecode/slate-plugins-list@1.0.0-next.29

@udecode/slate-plugins-media-embed-ui@1.0.0-next.29

Minor Changes

  • #668 f1e6107c Thanks @zbeyens! - The components/hooks can now be outside SlatePlugins and need the
    editor to be focused once to be functional.

Patch Changes

  • Updated dependencies []:
    • @udecode/slate-plugins-media-embed@1.0.0-next.29
    • @udecode/slate-plugins-ui-fluent@1.0.0-next.29

@udecode/slate-plugins-mention-ui@1.0.0-next.29

Minor Changes

  • #668 f1e6107c Thanks @zbeyens! - The components/hooks can now be outside SlatePlugins and need the
    editor to be focused once to be functional.

Patch Changes

  • Updated dependencies []:
    • @udecode/slate-plugins-mention@1.0.0-next.29
    • @udecode/slate-plugins-ui-fluent@1.0.0-next.29

@udecode/slate-plugins-table-ui@1.0.0-next.29

Minor Changes

  • #668 f1e6107c Thanks @zbeyens! - The components/hooks can now be outside SlatePlugins and need the
    editor to be focused once to be functional.

Patch Changes

  • Updated dependencies [f1e6107c]:
    • @udecode/slate-plugins-toolbar@1.0.0-next.29
    • @udecode/slate-plugins-table@1.0.0-next.29

@udecode/slate-plugins-toolbar@1.0.0-next.29

Minor Changes

  • #668 f1e6107c Thanks @zbeyens! - The components/hooks can now be outside SlatePlugins and need the
    editor to be focused once to be functional.

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29
    • @udecode/slate-plugins-ui-fluent@1.0.0-next.29

@udecode/slate-plugins-autoformat@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-break@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-common@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29

@udecode/slate-plugins-alignment@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-basic-elements@1.0.0-next.29

Patch Changes

  • Updated dependencies []:
    • @udecode/slate-plugins-block-quote@1.0.0-next.29
    • @udecode/slate-plugins-code-block@1.0.0-next.29
    • @udecode/slate-plugins-heading@1.0.0-next.29
    • @udecode/slate-plugins-paragraph@1.0.0-next.29

@udecode/slate-plugins-block-quote@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-block-quote-ui@1.0.0-next.29

Patch Changes

  • Updated dependencies []:
    • @udecode/slate-plugins-block-quote@1.0.0-next.29
    • @udecode/slate-plugins-ui-fluent@1.0.0-next.29

@udecode/slate-plugins-code-block@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-heading@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-image@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-link@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29
    • @udecode/slate-plugins-normalizers@1.0.0-next.29

@udecode/slate-plugins-list@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29
    • @udecode/slate-plugins-reset-node@1.0.0-next.29

@udecode/slate-plugins-media-embed@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-mention@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-paragraph@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-table@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-find-replace@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-find-replace-ui@1.0.0-next.29

Patch Changes

  • Updated dependencies [f1e6107c]:
    • @udecode/slate-plugins-toolbar@1.0.0-next.29
    • @udecode/slate-plugins-find-replace@1.0.0-next.29

@udecode/slate-plugins-basic-marks@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-highlight@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-kbd@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-node-id@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-normalizers@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-placeholder@1.0.0-next.29

Patch Changes

  • #668 f1e6107c Thanks @zbeyens! - Set the cursor to text when hovering the placeholder

  • Updated dependencies [dfbde8bd, dfbde8bd]:

    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-ui-fluent@1.0.0-next.29

@udecode/slate-plugins-reset-node@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-select@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-html-serializer@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-md-serializer@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29
    • @udecode/slate-plugins-block-quote@1.0.0-next.29
    • @udecode/slate-plugins-code-block@1.0.0-next.29
    • @udecode/slate-plugins-heading@1.0.0-next.29
    • @udecode/slate-plugins-link@1.0.0-next.29
    • @udecode/slate-plugins-list@1.0.0-next.29
    • @udecode/slate-plugins-paragraph@1.0.0-next.29

@udecode/slate-plugins@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd, f1e6107c, f1e6107c]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-placeholder@1.0.0-next.29
    • @udecode/slate-plugins-alignment-ui@1.0.0-next.29
    • @udecode/slate-plugins-code-block-ui@1.0.0-next.29
    • @udecode/slate-plugins-dnd@1.0.0-next.29
    • @udecode/slate-plugins-image-ui@1.0.0-next.29
    • @udecode/slate-plugins-link-ui@1.0.0-next.29
    • @udecode/slate-plugins-list-ui@1.0.0-next.29
    • @udecode/slate-plugins-media-embed-ui@1.0.0-next.29
    • @udecode/slate-plugins-mention-ui@1.0.0-next.29
    • @udecode/slate-plugins-table-ui@1.0.0-next.29
    • @udecode/slate-plugins-toolbar@1.0.0-next.29
    • @udecode/slate-plugins-autoformat@1.0.0-next.29
    • @udecode/slate-plugins-break@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29
    • @udecode/slate-plugins-alignment@1.0.0-next.29
    • @udecode/slate-plugins-block-quote@1.0.0-next.29
    • @udecode/slate-plugins-code-block@1.0.0-next.29
    • @udecode/slate-plugins-heading@1.0.0-next.29
    • @udecode/slate-plugins-image@1.0.0-next.29
    • @udecode/slate-plugins-link@1.0.0-next.29
    • @udecode/slate-plugins-list@1.0.0-next.29
    • @udecode/slate-plugins-media-embed@1.0.0-next.29
    • @udecode/slate-plugins-mention@1.0.0-next.29
    • @udecode/slate-plugins-paragraph@1.0.0-next.29
    • @udecode/slate-plugins-table@1.0.0-next.29
    • @udecode/slate-plugins-find-replace@1.0.0-next.29
    • @udecode/slate-plugins-basic-marks@1.0.0-next.29
    • @udecode/slate-plugins-highlight@1.0.0-next.29
    • @udecode/slate-plugins-kbd@1.0.0-next.29
    • @udecode/slate-plugins-node-id@1.0.0-next.29
    • @udecode/slate-plugins-normalizers@1.0.0-next.29
    • @udecode/slate-plugins-reset-node@1.0.0-next.29
    • @udecode/slate-plugins-select@1.0.0-next.29
    • @udecode/slate-plugins-html-serializer@1.0.0-next.29
    • @udecode/slate-plugins-md-serializer@1.0.0-next.29
    • @udecode/slate-plugins-trailing-block@1.0.0-next.29
    • @udecode/slate-plugins-ui-fluent@1.0.0-next.29
    • @udecode/slate-plugins-find-replace-ui@1.0.0-next.29
    • @udecode/slate-plugins-basic-elements@1.0.0-next.29
    • @udecode/slate-plugins-block-quote-ui@1.0.0-next.29

@udecode/slate-plugins-trailing-block@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@udecode/slate-plugins-ui-fluent@1.0.0-next.29

Patch Changes

  • Updated dependencies [dfbde8bd, dfbde8bd]:
    • @udecode/slate-plugins-core@1.0.0-next.29
    • @udecode/slate-plugins-common@1.0.0-next.29

@github-actions github-actions bot requested a review from zbeyens as a code owner May 8, 2021 20:40
@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from cd160fd to 955ef52 Compare May 8, 2021 23:16
@zbeyens zbeyens merged commit 4c5a97d into main May 8, 2021
@zbeyens zbeyens deleted the changeset-release/main branch May 8, 2021 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant