@atlaskit/editor-core 209.0.0 → 209.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/create-editor/ReactEditorView.js +2 -10
  3. package/dist/cjs/version-wrapper.js +1 -1
  4. package/dist/es2019/create-editor/ReactEditorView.js +2 -10
  5. package/dist/es2019/version-wrapper.js +1 -1
  6. package/dist/esm/create-editor/ReactEditorView.js +2 -10
  7. package/dist/esm/version-wrapper.js +1 -1
  8. package/dist/types/composable-editor/editor-internal.d.ts +0 -1
  9. package/dist/types/create-editor/ReactEditorView/useDispatchTransaction.d.ts +1 -1
  10. package/dist/types/create-editor/create-universal-preset.d.ts +79 -920
  11. package/dist/types/create-editor/editorStateNotificationPlugin.d.ts +2 -2
  12. package/dist/types/create-editor/get-ui-component.d.ts +0 -1
  13. package/dist/types/presets/universal.d.ts +79 -925
  14. package/dist/types/presets/useUniversalPreset.d.ts +79 -920
  15. package/dist/types/test-utils.d.ts +1 -1
  16. package/dist/types/types/with-appearance-component.d.ts +0 -1
  17. package/dist/types/ui/Addon/types.d.ts +0 -1
  18. package/dist/types/ui/Appearance/Chromeless.d.ts +7 -7
  19. package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +7 -7
  20. package/dist/types/ui/Appearance/FullPage/getEditorViewModeSync.d.ts +1 -1
  21. package/dist/types/ui/CollapsedEditor/index.d.ts +1 -1
  22. package/dist/types/ui/ContentStyles/ai-panels.d.ts +1 -1
  23. package/dist/types/ui/ContentStyles/layout.d.ts +1 -1
  24. package/dist/types/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.d.ts +0 -1
  25. package/dist/types/ui/Toolbar/Toolbar.d.ts +0 -1
  26. package/dist/types/utils/is-full-page.d.ts +1 -1
  27. package/dist/types/utils/prepare-extension-provider.d.ts +1 -1
  28. package/dist/types/utils/prepare-quick-insert-provider.d.ts +0 -1
  29. package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +0 -1
  30. package/dist/types-ts4.5/create-editor/ReactEditorView/useDispatchTransaction.d.ts +1 -1
  31. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +104 -1073
  32. package/dist/types-ts4.5/create-editor/editorStateNotificationPlugin.d.ts +2 -2
  33. package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +0 -1
  34. package/dist/types-ts4.5/presets/universal.d.ts +104 -1078
  35. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +104 -1073
  36. package/dist/types-ts4.5/test-utils.d.ts +1 -1
  37. package/dist/types-ts4.5/types/with-appearance-component.d.ts +0 -1
  38. package/dist/types-ts4.5/ui/Addon/types.d.ts +0 -1
  39. package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +7 -7
  40. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +7 -7
  41. package/dist/types-ts4.5/ui/Appearance/FullPage/getEditorViewModeSync.d.ts +1 -1
  42. package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +1 -1
  43. package/dist/types-ts4.5/ui/ContentStyles/ai-panels.d.ts +1 -1
  44. package/dist/types-ts4.5/ui/ContentStyles/layout.d.ts +1 -1
  45. package/dist/types-ts4.5/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.d.ts +0 -1
  46. package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +0 -1
  47. package/dist/types-ts4.5/utils/is-full-page.d.ts +1 -1
  48. package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +1 -1
  49. package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +0 -1
  50. package/package.json +5 -5
@@ -7,7 +7,7 @@ export type EditorStateNotificationPluginState = {
7
7
  export declare const createEditorStateNotificationPlugin: (onEditorStateUpdated: (props: {
8
8
  oldEditorState: EditorState;
9
9
  newEditorState: EditorState;
10
- }) => void, onEditorViewStateUpdatedCallbacks: {
10
+ }) => void, onEditorViewStateUpdatedCallbacks: Array<{
11
11
  pluginName: string;
12
12
  callback: (props: EditorViewStateUpdatedCallbackProps) => void;
13
- }[]) => SafePlugin<EditorStateNotificationPluginState>;
13
+ }>) => SafePlugin<EditorStateNotificationPluginState>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { EditorAppearance } from '@atlaskit/editor-common/types';
3
2
  import type { EditorAppearanceComponentProps } from '../types';
4
3
  type ReturnType = React.ComponentType<React.PropsWithChildren<EditorAppearanceComponentProps<any[]>>>;